{"version":3,"file":"createSimpleFunctional-1d7dd73e.js","sources":["../../../node_modules/vuetify/lib/util/createSimpleFunctional.mjs"],"sourcesContent":["// Composables\nimport { makeComponentProps } from \"../composables/component.mjs\"; // Utilities\nimport { camelize, capitalize, h } from 'vue';\nimport { genericComponent } from \"./defineComponent.mjs\";\nexport function createSimpleFunctional(klass) {\n let tag = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'div';\n let name = arguments.length > 2 ? arguments[2] : undefined;\n return genericComponent()({\n name: name ?? capitalize(camelize(klass.replace(/__/g, '-'))),\n props: {\n tag: {\n type: String,\n default: tag\n },\n ...makeComponentProps()\n },\n setup(props, _ref) {\n let {\n slots\n } = _ref;\n return () => {\n return h(props.tag, {\n class: [klass, props.class],\n style: props.style\n }, slots.default?.());\n };\n }\n });\n}\n//# sourceMappingURL=createSimpleFunctional.mjs.map"],"names":["createSimpleFunctional","klass","tag","name","genericComponent","capitalize","camelize","makeComponentProps","props","_ref","slots","h","_a"],"mappings":"yEAIO,SAASA,EAAuBC,EAAO,CAC5C,IAAIC,EAAM,UAAU,OAAS,GAAK,UAAU,CAAC,IAAM,OAAY,UAAU,CAAC,EAAI,MAC1EC,EAAO,UAAU,OAAS,EAAI,UAAU,CAAC,EAAI,OACjD,OAAOC,EAAgB,EAAG,CACxB,KAAMD,GAAQE,EAAWC,EAASL,EAAM,QAAQ,MAAO,GAAG,CAAC,CAAC,EAC5D,MAAO,CACL,IAAK,CACH,KAAM,OACN,QAASC,CACV,EACD,GAAGK,EAAoB,CACxB,EACD,MAAMC,EAAOC,EAAM,CACjB,GAAI,CACF,MAAAC,CACD,EAAGD,EACJ,MAAO,IAAM,OACX,OAAOE,EAAEH,EAAM,IAAK,CAClB,MAAO,CAACP,EAAOO,EAAM,KAAK,EAC1B,MAAOA,EAAM,KACvB,GAAWI,EAAAF,EAAM,UAAN,YAAAE,EAAA,KAAAF,EAAiB,CAC5B,CACK,CACL,CAAG,CACH","x_google_ignoreList":[0]}