{"version":3,"file":"useZindex.mjs","sources":["../../../../../../packages/components/masker/src/useZindex.ts"],"sourcesContent":["import { ref } from 'vue'\n\nlet currentZIndex = 1000\n\nexport const useZIndex = () => {\n  const zIndex = ref(currentZIndex++)\n\n  return {\n    zIndex,\n    nextZIndex: () => {\n      zIndex.value = currentZIndex++\n      return zIndex.value\n    },\n  }\n}\n"],"names":[],"mappings":";;AACA,IAAI,aAAa,GAAG,GAAG,CAAC;AACZ,MAAC,SAAS,GAAG,MAAM;AAC/B,EAAE,MAAM,MAAM,GAAG,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;AACtC,EAAE,OAAO;AACT,IAAI,MAAM;AACV,IAAI,UAAU,EAAE,MAAM;AACtB,MAAM,MAAM,CAAC,KAAK,GAAG,aAAa,EAAE,CAAC;AACrC,MAAM,OAAO,MAAM,CAAC,KAAK,CAAC;AAC1B,KAAK;AACL,GAAG,CAAC;AACJ;;;;"}