{"version":3,"file":"rounded-c9b65bfc.js","sources":["../../../node_modules/vuetify/lib/composables/rounded.mjs"],"sourcesContent":["// Utilities\nimport { computed, isRef } from 'vue';\nimport { getCurrentInstanceName, propsFactory } from \"../util/index.mjs\"; // Types\n// Composables\nexport const makeRoundedProps = propsFactory({\n rounded: {\n type: [Boolean, Number, String],\n default: undefined\n }\n}, 'rounded');\nexport function useRounded(props) {\n let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();\n const roundedClasses = computed(() => {\n const rounded = isRef(props) ? props.value : props.rounded;\n const classes = [];\n if (rounded === true || rounded === '') {\n classes.push(`${name}--rounded`);\n } else if (typeof rounded === 'string' || rounded === 0) {\n for (const value of String(rounded).split(' ')) {\n classes.push(`rounded-${value}`);\n }\n }\n return classes;\n });\n return {\n roundedClasses\n };\n}\n//# sourceMappingURL=rounded.mjs.map"],"names":["makeRoundedProps","propsFactory","useRounded","props","name","getCurrentInstanceName","computed","rounded","isRef","classes","value"],"mappings":"+DAIY,MAACA,EAAmBC,EAAa,CAC3C,QAAS,CACP,KAAM,CAAC,QAAS,OAAQ,MAAM,EAC9B,QAAS,MACV,CACH,EAAG,SAAS,EACL,SAASC,EAAWC,EAAO,CAChC,IAAIC,EAAO,UAAU,OAAS,GAAK,UAAU,CAAC,IAAM,OAAY,UAAU,CAAC,EAAIC,EAAsB,EAarG,MAAO,CACL,eAbqBC,EAAS,IAAM,CACpC,MAAMC,EAAUC,EAAML,CAAK,EAAIA,EAAM,MAAQA,EAAM,QAC7CM,EAAU,CAAA,EAChB,GAAIF,IAAY,IAAQA,IAAY,GAClCE,EAAQ,KAAK,GAAGL,YAAe,UACtB,OAAOG,GAAY,UAAYA,IAAY,EACpD,UAAWG,KAAS,OAAOH,CAAO,EAAE,MAAM,GAAG,EAC3CE,EAAQ,KAAK,WAAWC,GAAO,EAGnC,OAAOD,CACX,CAAG,CAGH,CACA","x_google_ignoreList":[0]}