{"version":3,"file":"types2.mjs","sources":["../../../../../../../packages/components/config-provider/src/types.ts"],"sourcesContent":["import type { ExtractPropTypes, PropType } from 'vue'\ntype I18nGlobalTranslation = {\n  (key: string): string\n  (key: string, locale: string): string\n  (key: string, locale: string, list: unknown[]): string\n  (key: string, locale: string, named: Record<string, unknown>): string\n  (key: string, list: unknown[]): string\n  (key: string, named: Record<string, unknown>): string\n}\nexport const configProviderProps = {\n  appId: {\n    type: String,\n    required: true,\n  },\n  userInfo: {\n    type: Object as PropType<Record<string, any>>,\n    required: true,\n  },\n  permissions: {\n    type: Object as PropType<Record<string, any>>,\n    default: () => ({}),\n  },\n  components: {\n    type: Object as PropType<Record<string, any>>,\n    default: () => ({}),\n  },\n  i18nFun: {\n    type: Object as PropType<{ t: I18nGlobalTranslation; locale?: string }>,\n    defult: () => ({}),\n  },\n  uploadVarsJson: {\n    type: String,\n    default: '{}',\n  },\n}\n\nexport type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>\n"],"names":[],"mappings":"AAAY,MAAC,mBAAmB,GAAG;AACnC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,OAAO,EAAE,CAAC;AACvB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,OAAO,EAAE,CAAC;AACvB,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,OAAO,EAAE,CAAC;AACtB,GAAG;AACH,EAAE,cAAc,EAAE;AAClB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH;;;;"}