{"version":3,"file":"position-60ad5481.js","sources":["../../../node_modules/vuetify/lib/composables/position.mjs"],"sourcesContent":["// Utilities\nimport { computed } from 'vue';\nimport { getCurrentInstanceName, propsFactory } from \"../util/index.mjs\"; // Types\nconst positionValues = ['static', 'relative', 'fixed', 'absolute', 'sticky'];\n// Composables\nexport const makePositionProps = propsFactory({\n position: {\n type: String,\n validator: /* istanbul ignore next */v => positionValues.includes(v)\n }\n}, 'position');\nexport function usePosition(props) {\n let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();\n const positionClasses = computed(() => {\n return props.position ? `${name}--${props.position}` : undefined;\n });\n return {\n positionClasses\n };\n}\n//# sourceMappingURL=position.mjs.map"],"names":["positionValues","makePositionProps","propsFactory","v","usePosition","props","name","getCurrentInstanceName","computed"],"mappings":"wDAGA,MAAMA,EAAiB,CAAC,SAAU,WAAY,QAAS,WAAY,QAAQ,EAE9DC,EAAoBC,EAAa,CAC5C,SAAU,CACR,KAAM,OACN,UAAqCC,GAAKH,EAAe,SAASG,CAAC,CACpE,CACH,EAAG,UAAU,EACN,SAASC,EAAYC,EAAO,CACjC,IAAIC,EAAO,UAAU,OAAS,GAAK,UAAU,CAAC,IAAM,OAAY,UAAU,CAAC,EAAIC,EAAsB,EAIrG,MAAO,CACL,gBAJsBC,EAAS,IACxBH,EAAM,SAAW,GAAGC,MAASD,EAAM,WAAa,MACxD,CAGH,CACA","x_google_ignoreList":[0]}