UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

1 lines 1.49 kB
{"version":3,"file":"props.mjs","sources":["../../../components/config-provider/props.ts"],"sourcesContent":["import { wrapProps } from '@vexip-ui/config'\r\n\r\nimport type { ExtractPropTypes, PropType } from 'vue'\r\nimport type { IconsOptions, LocaleOptions } from '@vexip-ui/config'\r\nimport type { PropsOptions } from '@/components/props'\r\n\r\nexport const configProviderProps = wrapProps({\r\n props: {\r\n type: Object as PropType<PropsOptions>,\r\n default: () => ({}),\r\n },\r\n locale: {\r\n type: Object as PropType<LocaleOptions>,\r\n default: () => ({}),\r\n },\r\n icons: {\r\n type: Object as PropType<IconsOptions>,\r\n default: () => ({}),\r\n },\r\n zIndex: {\r\n type: Number,\r\n default: null,\r\n },\r\n theme: {\r\n type: String as PropType<'base' | 'dark' | (string & {})>,\r\n default: null,\r\n },\r\n hoverDelay: {\r\n type: Number,\r\n default: null,\r\n },\r\n})\r\n\r\nexport type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>\r\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,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EACX;AAAA,EACA,YAAY;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb,CAAC;"}