@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 1.48 kB
Source Map (JSON)
{"version":3,"file":"props.mjs","sources":["../../../components/config-provider/props.ts"],"sourcesContent":["import { wrapProps } from '@vexip-ui/config'\n\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport type { IconsOptions, LocaleOptions } from '@vexip-ui/config'\nimport type { PropsOptions } from '@/components/props'\n\nexport const configProviderProps = wrapProps({\n props: {\n type: Object as PropType<PropsOptions>,\n default: () => ({})\n },\n locale: {\n type: Object as PropType<LocaleOptions>,\n default: () => ({})\n },\n icons: {\n type: Object as PropType<IconsOptions>,\n default: () => ({})\n },\n zIndex: {\n type: Number,\n default: null\n },\n theme: {\n // eslint-disable-next-line @typescript-eslint/ban-types\n type: String as PropType<'base' | 'dark' | (string & {})>,\n default: null\n },\n hoverDelay: {\n type: Number,\n default: null\n }\n})\n\nexport type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>\n"],"names":["configProviderProps","wrapProps"],"mappings":";AAMO,MAAMA,IAAsBC,EAAU;AAAA,EAC3C,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS,OAAO,CAAC;AAAA,EACnB;AAAA,EACA,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,SAAS,OAAO,CAAC;AAAA,EACnB;AAAA,EACA,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS,OAAO,CAAC;AAAA,EACnB;AAAA,EACA,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,EACX;AAAA,EACA,OAAO;AAAA;AAAA,IAEL,MAAM;AAAA,IACN,SAAS;AAAA,EACX;AAAA,EACA,YAAY;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb,CAAC;"}