@maxax/ui 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/component.d.ts.map +1 -1
  2. package/dist/components/basic-button-action/BasicButtonCreate.vue.d.ts.map +1 -1
  3. package/dist/components/basic-button-action/BasicButtonDelete.vue.d.ts.map +1 -1
  4. package/dist/components/basic-button-action/BasicButtonEdit.vue.d.ts.map +1 -1
  5. package/dist/components/basic-button-action/BasicButtonExport.vue.d.ts.map +1 -1
  6. package/dist/components/basic-button-action/BasicButtonImport.vue.d.ts.map +1 -1
  7. package/dist/components/basic-button-action/BasicButtonPrint.vue.d.ts.map +1 -1
  8. package/dist/components/basic-loading/index.d.ts +37 -0
  9. package/dist/components/basic-loading/index.d.ts.map +1 -0
  10. package/dist/components/basic-loading/interface.d.ts +1 -1
  11. package/dist/components/basic-loading/interface.d.ts.map +1 -1
  12. package/dist/components/basic-loading/loading.d.ts +26 -0
  13. package/dist/components/basic-loading/loading.d.ts.map +1 -0
  14. package/dist/components/basic-message-box/BasicMessageBox.vue.d.ts +2605 -0
  15. package/dist/components/basic-message-box/BasicMessageBox.vue.d.ts.map +1 -0
  16. package/dist/components/basic-region/BasicRegion.d.ts +44 -0
  17. package/dist/components/basic-region/BasicRegion.d.ts.map +1 -0
  18. package/dist/components/basic-region/context.d.ts +6 -0
  19. package/dist/components/basic-region/context.d.ts.map +1 -0
  20. package/dist/components/basic-region/index.d.ts +7 -0
  21. package/dist/components/basic-region/index.d.ts.map +1 -0
  22. package/dist/components/basic-region/interface.d.ts +73 -0
  23. package/dist/components/basic-region/interface.d.ts.map +1 -0
  24. package/dist/components/basic-region/use-region-data.d.ts +9 -0
  25. package/dist/components/basic-region/use-region-data.d.ts.map +1 -0
  26. package/dist/components/basic-region-select/BasicRegionSelect.d.ts +50 -0
  27. package/dist/components/basic-region-select/BasicRegionSelect.d.ts.map +1 -0
  28. package/dist/components/basic-region-select/context.d.ts +6 -0
  29. package/dist/components/basic-region-select/context.d.ts.map +1 -0
  30. package/dist/components/basic-region-select/index.d.ts +7 -0
  31. package/dist/components/basic-region-select/index.d.ts.map +1 -0
  32. package/dist/components/basic-region-select/interface.d.ts +84 -0
  33. package/dist/components/basic-region-select/interface.d.ts.map +1 -0
  34. package/dist/components/basic-svg-icon/BasicSvgIcon.vue.d.ts.map +1 -1
  35. package/dist/components/config-provider/ConfigProvider.d.ts +0 -15
  36. package/dist/components/config-provider/ConfigProvider.d.ts.map +1 -1
  37. package/dist/components/config-provider/hooks/use-global-config.d.ts +2 -3
  38. package/dist/components/config-provider/hooks/use-global-config.d.ts.map +1 -1
  39. package/dist/components/config-provider/interface.d.ts +1 -9
  40. package/dist/components/config-provider/interface.d.ts.map +1 -1
  41. package/dist/components/index.d.ts +2 -0
  42. package/dist/components/index.d.ts.map +1 -1
  43. package/dist/composable/index.d.ts +1 -1
  44. package/dist/composable/index.d.ts.map +1 -1
  45. package/dist/composable/use-local-icon.d.ts +3 -0
  46. package/dist/composable/use-local-icon.d.ts.map +1 -0
  47. package/dist/constants/app.d.ts +1 -1
  48. package/dist/constants/app.d.ts.map +1 -1
  49. package/dist/constants/context.d.ts +2 -3
  50. package/dist/constants/context.d.ts.map +1 -1
  51. package/dist/index.cjs +3900 -31
  52. package/dist/index.cjs.map +1 -1
  53. package/dist/index.mjs +3900 -31
  54. package/dist/index.mjs.map +1 -1
  55. package/dist/locale/lang/en.d.ts.map +1 -1
  56. package/dist/locale/lang/zh-cn.d.ts.map +1 -1
  57. package/dist/locale/utils.d.ts +1 -1
  58. package/dist/locale/utils.d.ts.map +1 -1
  59. package/dist/locales.cjs +13 -2
  60. package/dist/locales.cjs.map +1 -1
  61. package/dist/locales.mjs +13 -2
  62. package/dist/locales.mjs.map +1 -1
  63. package/dist/ui.css +1 -1
  64. package/dist/{utils-Cz4cXLO4.js → utils-B_OywAVi.js} +13 -2
  65. package/dist/utils-B_OywAVi.js.map +1 -0
  66. package/dist/{utils-fuChD8nl.cjs → utils-dGhmZ9rs.cjs} +13 -2
  67. package/dist/utils-dGhmZ9rs.cjs.map +1 -0
  68. package/package.json +4 -4
  69. package/dist/composable/use-table-config.d.ts +0 -5
  70. package/dist/composable/use-table-config.d.ts.map +0 -1
  71. package/dist/utils-Cz4cXLO4.js.map +0 -1
  72. package/dist/utils-fuChD8nl.cjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BasicMessageBox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-message-box/BasicMessageBox.vue"],"names":[],"mappings":"AA2UA,OAAO,KAAK,EAAE,uBAAuB,EAAU,MAAM,KAAK,CAAA;AAQ1D,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4NxB,aAAa,GAAG,KAAK;2BApGrB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
1
+ import { BasicRegionValue, RegionOption } from './interface';
2
+ declare const _default: import('vue').DefineComponent<{
3
+ readonly title: string;
4
+ readonly placeholder: string;
5
+ readonly defaultValue: BasicRegionValue;
6
+ readonly disabled: boolean;
7
+ readonly clearable: boolean;
8
+ readonly level: 1 | 2 | 3;
9
+ readonly data?: Record<string, string> | undefined;
10
+ readonly modelValue?: BasicRegionValue | undefined;
11
+ readonly tabLabels?: string[] | undefined;
12
+ }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ 'update:modelValue': (_value: BasicRegionValue) => true;
14
+ /**
15
+ * @zh 选中值变更时触发
16
+ * @param {string[]} _value 按层级的行政区划代码
17
+ * @param {RegionOption[]} _options 对应的区域节点
18
+ */
19
+ change: (_value: BasicRegionValue, _options: RegionOption[]) => true;
20
+ }, string, import('vue').PublicProps, Readonly<{
21
+ readonly title: string;
22
+ readonly placeholder: string;
23
+ readonly defaultValue: BasicRegionValue;
24
+ readonly disabled: boolean;
25
+ readonly clearable: boolean;
26
+ readonly level: 1 | 2 | 3;
27
+ readonly data?: Record<string, string> | undefined;
28
+ readonly modelValue?: BasicRegionValue | undefined;
29
+ readonly tabLabels?: string[] | undefined;
30
+ }> & Readonly<{
31
+ onChange?: ((_value: BasicRegionValue, _options: RegionOption[]) => any) | undefined;
32
+ "onUpdate:modelValue"?: ((_value: BasicRegionValue) => any) | undefined;
33
+ }>, {
34
+ readonly data: Record<string, string>;
35
+ readonly title: string;
36
+ readonly placeholder: string;
37
+ readonly defaultValue: BasicRegionValue;
38
+ readonly disabled: boolean;
39
+ readonly clearable: boolean;
40
+ readonly level: 1 | 2 | 3;
41
+ readonly tabLabels: string[];
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
43
+ export default _default;
44
+ //# sourceMappingURL=BasicRegion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BasicRegion.d.ts","sourceRoot":"","sources":["../../../src/components/basic-region/BasicRegion.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAoB,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;IAW/E;;;;OAIG;iDAC0C,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;AAV/D,wBAyIE"}
@@ -0,0 +1,6 @@
1
+ import { InjectionKey } from 'vue';
2
+ import { BasicRegionContext } from './interface';
3
+ export declare const basicRegionKey: InjectionKey<BasicRegionContext>;
4
+ export declare const createBasicRegionContext: (props: BasicRegionContext) => void;
5
+ export declare const useBasicRegionContext: () => BasicRegionContext;
6
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/basic-region/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD,eAAO,MAAM,cAAc,EAAE,YAAY,CAAC,kBAAkB,CAA0B,CAAA;AAEtF,eAAO,MAAM,wBAAwB,UAAW,kBAAkB,SAEjE,CAAA;AAED,eAAO,MAAM,qBAAqB,0BAEjC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { SFCWithInstall } from '@maxax/utils';
2
+ import { default as BasicRegion } from './BasicRegion';
3
+ export declare const XBasicRegion: SFCWithInstall<typeof BasicRegion>;
4
+ export type BasicRegionInstance = InstanceType<typeof BasicRegion>;
5
+ export default XBasicRegion;
6
+ export * from './interface';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/basic-region/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElD,OAAO,WAAW,MAAM,eAAe,CAAA;AAEvC,eAAO,MAAM,YAAY,EAAE,cAAc,CAAC,OAAO,WAAW,CAA4B,CAAA;AACxF,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAA;AAElE,eAAe,YAAY,CAAA;AAE3B,cAAc,aAAa,CAAA"}
@@ -0,0 +1,73 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ export interface RegionOption {
3
+ code: string;
4
+ name: string;
5
+ }
6
+ export type BasicRegionValue = string[];
7
+ export declare const basicRegionProps: {
8
+ /**
9
+ * 受控值,按层级依次存储省/市/区的行政区划代码
10
+ */
11
+ readonly modelValue: PropType<BasicRegionValue>;
12
+ /**
13
+ * 非受控默认值
14
+ */
15
+ readonly defaultValue: {
16
+ readonly type: PropType<BasicRegionValue>;
17
+ readonly default: () => never[];
18
+ };
19
+ /**
20
+ * 层级数量,默认 3 级(省、市、区/县)
21
+ */
22
+ readonly level: {
23
+ readonly type: PropType<1 | 2 | 3>;
24
+ readonly default: 3;
25
+ };
26
+ /**
27
+ * 面板标题,未传时展示当前选中路径或占位文案
28
+ */
29
+ readonly title: {
30
+ readonly type: StringConstructor;
31
+ readonly default: "";
32
+ };
33
+ /**
34
+ * 自定义占位文案
35
+ */
36
+ readonly placeholder: {
37
+ readonly type: StringConstructor;
38
+ readonly default: "";
39
+ };
40
+ /**
41
+ * 是否展示清除按钮
42
+ */
43
+ readonly clearable: {
44
+ readonly type: BooleanConstructor;
45
+ readonly default: true;
46
+ };
47
+ /**
48
+ * 禁用状态
49
+ */
50
+ readonly disabled: {
51
+ readonly type: BooleanConstructor;
52
+ readonly default: false;
53
+ };
54
+ /**
55
+ * 自定义行政区划数据源,key 为 6 位行政区划代码,value 为名称
56
+ */
57
+ readonly data: {
58
+ readonly type: PropType<Record<string, string>>;
59
+ readonly default: undefined;
60
+ };
61
+ /**
62
+ * 自定义标签文案,按顺序对应层级
63
+ */
64
+ readonly tabLabels: {
65
+ readonly type: PropType<string[]>;
66
+ readonly default: undefined;
67
+ };
68
+ };
69
+ export type BasicRegionProps = ExtractPropTypes<typeof basicRegionProps>;
70
+ export interface BasicRegionContext {
71
+ name: string;
72
+ }
73
+ //# sourceMappingURL=interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/basic-region/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAErD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,EAAE,CAAA;AAEvC,eAAO,MAAM,gBAAgB;IAC3B;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;CAKK,CAAA;AAEV,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAExE,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;CACb"}
@@ -0,0 +1,9 @@
1
+ import { RegionOption } from './interface';
2
+ export interface RegionSource {
3
+ provinces: RegionOption[];
4
+ cities: Record<string, RegionOption[]>;
5
+ districts: Record<string, RegionOption[]>;
6
+ map: Record<string, RegionOption>;
7
+ }
8
+ export declare const useRegionData: (data: Record<string, string>) => import('vue').ComputedRef<RegionSource>;
9
+ //# sourceMappingURL=use-region-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-region-data.d.ts","sourceRoot":"","sources":["../../../src/components/basic-region/use-region-data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE/C,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,YAAY,EAAE,CAAA;IACzB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAA;IACtC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAA;IACzC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;CAClC;AAqED,eAAO,MAAM,aAAa,SAAU,OAAO,MAAM,EAAE,MAAM,CAAC,4CAGzD,CAAA"}
@@ -0,0 +1,50 @@
1
+ import { BasicRegionValue, RegionOption } from './interface';
2
+ declare const _default: import('vue').DefineComponent<{
3
+ readonly placeholder: string;
4
+ readonly defaultValue: BasicRegionValue;
5
+ readonly disabled: boolean;
6
+ readonly clearable: boolean;
7
+ readonly placement: "bottom" | "left" | "right" | "top";
8
+ readonly trigger: "click" | "hover";
9
+ readonly level: 1 | 2 | 3;
10
+ readonly popoverWidth: string | number;
11
+ readonly data?: Record<string, string> | undefined;
12
+ readonly modelValue?: BasicRegionValue | undefined;
13
+ readonly tabLabels?: string[] | undefined;
14
+ }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ 'update:modelValue': (_value: BasicRegionValue) => true;
16
+ /**
17
+ * @zh 选中值变更时触发
18
+ * @param {string[]} _value 按层级的行政区划代码
19
+ * @param {RegionOption[]} _options 对应的区域节点
20
+ */
21
+ change: (_value: BasicRegionValue, _options: RegionOption[]) => true;
22
+ }, string, import('vue').PublicProps, Readonly<{
23
+ readonly placeholder: string;
24
+ readonly defaultValue: BasicRegionValue;
25
+ readonly disabled: boolean;
26
+ readonly clearable: boolean;
27
+ readonly placement: "bottom" | "left" | "right" | "top";
28
+ readonly trigger: "click" | "hover";
29
+ readonly level: 1 | 2 | 3;
30
+ readonly popoverWidth: string | number;
31
+ readonly data?: Record<string, string> | undefined;
32
+ readonly modelValue?: BasicRegionValue | undefined;
33
+ readonly tabLabels?: string[] | undefined;
34
+ }> & Readonly<{
35
+ onChange?: ((_value: BasicRegionValue, _options: RegionOption[]) => any) | undefined;
36
+ "onUpdate:modelValue"?: ((_value: BasicRegionValue) => any) | undefined;
37
+ }>, {
38
+ readonly data: Record<string, string>;
39
+ readonly placeholder: string;
40
+ readonly defaultValue: BasicRegionValue;
41
+ readonly disabled: boolean;
42
+ readonly clearable: boolean;
43
+ readonly placement: "bottom" | "left" | "right" | "top";
44
+ readonly trigger: "click" | "hover";
45
+ readonly level: 1 | 2 | 3;
46
+ readonly tabLabels: string[];
47
+ readonly popoverWidth: string | number;
48
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
49
+ export default _default;
50
+ //# sourceMappingURL=BasicRegionSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BasicRegionSelect.d.ts","sourceRoot":"","sources":["../../../src/components/basic-region-select/BasicRegionSelect.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAA0B,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;IAUrF;;;;OAIG;iDAC0C,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAV/D,wBAqFE"}
@@ -0,0 +1,6 @@
1
+ import { InjectionKey } from 'vue';
2
+ import { BasicRegionSelectContext } from './interface';
3
+ export declare const basicRegionSelectKey: InjectionKey<BasicRegionSelectContext>;
4
+ export declare const createBasicRegionSelectContext: (props: BasicRegionSelectContext) => void;
5
+ export declare const useBasicRegionSelectContext: () => BasicRegionSelectContext;
6
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/basic-region-select/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AAE3D,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,wBAAwB,CAAiC,CAAA;AAEzG,eAAO,MAAM,8BAA8B,UAAW,wBAAwB,SAE7E,CAAA;AAED,eAAO,MAAM,2BAA2B,gCAEvC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { SFCWithInstall } from '@maxax/utils';
2
+ import { default as BasicRegionSelect } from './BasicRegionSelect';
3
+ export declare const XBasicRegionSelect: SFCWithInstall<typeof BasicRegionSelect>;
4
+ export type BasicRegionSelectInstance = InstanceType<typeof BasicRegionSelect>;
5
+ export default XBasicRegionSelect;
6
+ export * from './interface';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/basic-region-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElD,OAAO,iBAAiB,MAAM,qBAAqB,CAAA;AAEnD,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,OAAO,iBAAiB,CAAkC,CAAA;AAC1G,MAAM,MAAM,yBAAyB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE9E,eAAe,kBAAkB,CAAA;AAEjC,cAAc,aAAa,CAAA"}
@@ -0,0 +1,84 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ import { BasicRegionValue, RegionOption } from '../basic-region/interface';
3
+ export type { BasicRegionValue, RegionOption };
4
+ export declare const basicRegionSelectProps: {
5
+ /**
6
+ * 受控值,按层级依次存储省/市/区的行政区划代码
7
+ */
8
+ readonly modelValue: PropType<BasicRegionValue>;
9
+ /**
10
+ * 非受控默认值
11
+ */
12
+ readonly defaultValue: {
13
+ readonly type: PropType<BasicRegionValue>;
14
+ readonly default: () => never[];
15
+ };
16
+ /**
17
+ * 层级数量,默认 3 级(省、市、区/县)
18
+ */
19
+ readonly level: {
20
+ readonly type: PropType<1 | 2 | 3>;
21
+ readonly default: 3;
22
+ };
23
+ /**
24
+ * 自定义占位文案
25
+ */
26
+ readonly placeholder: {
27
+ readonly type: StringConstructor;
28
+ readonly default: "";
29
+ };
30
+ /**
31
+ * 是否展示清除按钮
32
+ */
33
+ readonly clearable: {
34
+ readonly type: BooleanConstructor;
35
+ readonly default: true;
36
+ };
37
+ /**
38
+ * 禁用状态
39
+ */
40
+ readonly disabled: {
41
+ readonly type: BooleanConstructor;
42
+ readonly default: false;
43
+ };
44
+ /**
45
+ * 自定义行政区划数据源,key 为 6 位行政区划代码,value 为名称
46
+ */
47
+ readonly data: {
48
+ readonly type: PropType<Record<string, string>>;
49
+ readonly default: undefined;
50
+ };
51
+ /**
52
+ * 自定义标签文案,按顺序对应层级
53
+ */
54
+ readonly tabLabels: {
55
+ readonly type: PropType<string[]>;
56
+ readonly default: undefined;
57
+ };
58
+ /**
59
+ * Popover 宽度
60
+ */
61
+ readonly popoverWidth: {
62
+ readonly type: PropType<string | number>;
63
+ readonly default: 400;
64
+ };
65
+ /**
66
+ * Popover 触发方式
67
+ */
68
+ readonly trigger: {
69
+ readonly type: PropType<"click" | "hover">;
70
+ readonly default: "click";
71
+ };
72
+ /**
73
+ * Popover 位置
74
+ */
75
+ readonly placement: {
76
+ readonly type: PropType<"bottom" | "left" | "right" | "top">;
77
+ readonly default: "bottom";
78
+ };
79
+ };
80
+ export type BasicRegionSelectProps = ExtractPropTypes<typeof basicRegionSelectProps>;
81
+ export interface BasicRegionSelectContext {
82
+ name: string;
83
+ }
84
+ //# sourceMappingURL=interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/basic-region-select/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE/E,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,CAAA;AAE9C,eAAO,MAAM,sBAAsB;IACjC;;OAEG;;IAEH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;CAKK,CAAA;AAEV,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAEpF,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAA;CACb"}
@@ -1 +1 @@
1
- {"version":3,"file":"BasicSvgIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-svg-icon/BasicSvgIcon.vue"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;;AA8FpD,wBAMG"}
1
+ {"version":3,"file":"BasicSvgIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-svg-icon/BasicSvgIcon.vue"],"names":[],"mappings":"AA+CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;;AAgGpD,wBAMG"}
@@ -7,17 +7,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
- iconRemotePrefix: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
10
  iconLocalPrefix: {
15
11
  type: StringConstructor;
16
12
  default: string;
17
13
  };
18
- table: {
19
- type: ObjectConstructor;
20
- };
21
14
  themeOverrides: {
22
15
  type: import('vue').PropType<import('naive-ui').GlobalThemeOverrides>;
23
16
  };
@@ -30,23 +23,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
30
23
  type: StringConstructor;
31
24
  default: string;
32
25
  };
33
- iconRemotePrefix: {
34
- type: StringConstructor;
35
- default: string;
36
- };
37
26
  iconLocalPrefix: {
38
27
  type: StringConstructor;
39
28
  default: string;
40
29
  };
41
- table: {
42
- type: ObjectConstructor;
43
- };
44
30
  themeOverrides: {
45
31
  type: import('vue').PropType<import('naive-ui').GlobalThemeOverrides>;
46
32
  };
47
33
  }>> & Readonly<{}>, {
48
34
  namespace: string;
49
- iconRemotePrefix: string;
50
35
  iconLocalPrefix: string;
51
36
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
52
37
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigProvider.d.ts","sourceRoot":"","sources":["../../../src/components/config-provider/ConfigProvider.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAcE"}
1
+ {"version":3,"file":"ConfigProvider.d.ts","sourceRoot":"","sources":["../../../src/components/config-provider/ConfigProvider.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAcE"}
@@ -1,9 +1,8 @@
1
- import { App, Ref } from 'vue';
2
- import { MaybeRef } from '@maxax/types';
1
+ import { App, MaybeRef, Ref } from 'vue';
3
2
  import { ConfigProviderContext } from '../interface';
4
3
  export declare function useGlobalConfig<K extends keyof ConfigProviderContext, D extends ConfigProviderContext[K]>(key: K, defaultValue?: D): Ref<Exclude<ConfigProviderContext[K], undefined> | D>;
5
4
  export declare function useGlobalConfig(): Ref<ConfigProviderContext>;
6
- export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContext>, app?: App, global?: boolean) => import('vue').ComputedRef<Partial<import('../interface').ConfigProviderProps> | import('@vue/reactivity').Ref<Partial<import('../interface').ConfigProviderProps>, Partial<import('../interface').ConfigProviderProps>>> | undefined;
5
+ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContext>, app?: App, global?: boolean) => import('vue').ComputedRef<Partial<import('../interface').ConfigProviderProps>> | undefined;
7
6
  export declare const useConfigProvider: (block: string) => {
8
7
  ns: {
9
8
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"use-global-config.d.ts","sourceRoot":"","sources":["../../../../src/components/config-provider/hooks/use-global-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAK5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAIzD,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,qBAAqB,EAAE,CAAC,SAAS,qBAAqB,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,YAAY,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC,CAAA;AAC3L,wBAAgB,eAAe,IAAI,GAAG,CAAC,qBAAqB,CAAC,CAAA;AAS7D,eAAO,MAAM,mBAAmB,WAAY,SAAS,qBAAqB,CAAC,QAAQ,GAAG,2PA2CrF,CAAA;AAED,eAAO,MAAM,iBAAiB,UAAW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;CAmB9C,CAAA"}
1
+ {"version":3,"file":"use-global-config.d.ts","sourceRoot":"","sources":["../../../../src/components/config-provider/hooks/use-global-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAM7C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAIzD,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,qBAAqB,EAAE,CAAC,SAAS,qBAAqB,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,YAAY,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC,CAAA;AAC3L,wBAAgB,eAAe,IAAI,GAAG,CAAC,qBAAqB,CAAC,CAAA;AAS7D,eAAO,MAAM,mBAAmB,WAAY,SAAS,qBAAqB,CAAC,QAAQ,GAAG,iHA2CrF,CAAA;AAED,eAAO,MAAM,iBAAiB,UAAW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;CAoB9C,CAAA"}
@@ -13,20 +13,12 @@ export declare const configProviderProps: {
13
13
  type: StringConstructor;
14
14
  default: string;
15
15
  };
16
- /** 远程全局图标前缀 */
17
- iconRemotePrefix: {
18
- type: StringConstructor;
19
- default: string;
20
- };
21
16
  /** 本地全局图标前缀 */
22
17
  iconLocalPrefix: {
23
18
  type: StringConstructor;
24
19
  default: string;
25
20
  };
26
- /** 全局表格配置 */
27
- table: {
28
- type: ObjectConstructor;
29
- };
21
+ /** 全局主题覆盖 */
30
22
  themeOverrides: {
31
23
  type: PropType<GlobalThemeOverrides>;
32
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/config-provider/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAE1C,eAAO,MAAM,mBAAmB;IAC9B,mBAAmB;;IAEnB,WAAW;;;;IAIX,aAAa;;;;;IAKb,eAAe;;;;;IAKf,eAAe;;;;;IAKf,aAAa;;;;;;;CAOd,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE9E,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAA"}
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/config-provider/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAEpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAE1C,eAAO,MAAM,mBAAmB;IAC9B,mBAAmB;;IAEnB,WAAW;;;;IAIX,aAAa;;;;;IAKb,eAAe;;;;;IAKf,aAAa;;;;CAId,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE9E,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAA"}
@@ -31,6 +31,8 @@ export * from './basic-panel';
31
31
  export * from './basic-panel-page';
32
32
  export * from './basic-radio';
33
33
  export * from './basic-radio-group';
34
+ export * from './basic-region';
35
+ export * from './basic-region-select';
34
36
  export * from './basic-row';
35
37
  export * from './basic-scroll-text';
36
38
  export * from './basic-select';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAq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jC,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,sBAAsB,CAAA;AACpC,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA"}
@@ -1,13 +1,13 @@
1
1
  export * from './use-dragable';
2
2
  export * from './use-drawer';
3
3
  export * from './use-flex-gap-support';
4
+ export * from './use-local-icon';
4
5
  export * from './use-locale';
5
6
  export * from './use-lockscreen';
6
7
  export * from './use-merged-state';
7
8
  export * from './use-namespace';
8
9
  export * from './use-responsive-observe';
9
10
  export * from './use-same-target';
10
- export * from './use-table-config';
11
11
  export * from './use-theme-overrides';
12
12
  export * from './use-z-index';
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composable/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composable/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,eAAe,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { Ref } from 'vue';
2
+ export declare function useLocalIcon(localIcon?: Ref<string | undefined>): string | undefined;
3
+ //# sourceMappingURL=use-local-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-local-icon.d.ts","sourceRoot":"","sources":["../../src/composable/use-local-icon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAI9B,wBAAgB,YAAY,CAAC,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,MAAM,GAAG,SAAS,CAGpF"}
@@ -3,7 +3,7 @@ export declare const DEFAULT_ICON_PREFIX_CLS = "max";
3
3
  /** 默认命名空间 */
4
4
  export declare const DEFAULT_NAMESPACE = "max";
5
5
  /** 默认图标本地前缀 */
6
- export declare const DEFAULT_ICON_LOCAL_PREFIX = "icon-local";
6
+ export declare const DEFAULT_ICON_LOCAL_PREFIX = "max";
7
7
  /** 默认初始 z-index */
8
8
  export declare const DEFAULT_INITIAL_Z_INDEX = 2000;
9
9
  /** 安装标记 */
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,eAAO,MAAM,uBAAuB,QAAQ,CAAA;AAC5C,aAAa;AACb,eAAO,MAAM,iBAAiB,QAAQ,CAAA;AACtC,eAAe;AACf,eAAO,MAAM,yBAAyB,eAAe,CAAA;AACrD,mBAAmB;AACnB,eAAO,MAAM,uBAAuB,OAAO,CAAA;AAC3C,WAAW;AACX,eAAO,MAAM,aAAa,eAA0B,CAAA"}
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,eAAO,MAAM,uBAAuB,QAAQ,CAAA;AAC5C,aAAa;AACb,eAAO,MAAM,iBAAiB,QAAQ,CAAA;AACtC,eAAe;AACf,eAAO,MAAM,yBAAyB,QAAQ,CAAA;AAC9C,mBAAmB;AACnB,eAAO,MAAM,uBAAuB,OAAO,CAAA;AAC3C,WAAW;AACX,eAAO,MAAM,aAAa,eAA0B,CAAA"}
@@ -1,6 +1,5 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
2
  import { GlobalThemeOverrides } from 'naive-ui';
3
- import { VxeGlobalConfig } from 'vxe-pc-ui';
4
3
  import { Locale } from '../locale';
5
4
  /** 命名空间上下文 */
6
5
  export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
@@ -8,8 +7,8 @@ export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
8
7
  export declare const localeContextKey: InjectionKey<Ref<Locale | undefined>>;
9
8
  /** z-index 上下文 */
10
9
  export declare const zIndexContextKey: InjectionKey<Ref<number | undefined>>;
11
- /** 表格上下文 */
12
- export declare const tableContextKey: InjectionKey<Ref<VxeGlobalConfig | undefined>>;
13
10
  /** 主题覆盖上下文 */
14
11
  export declare const themeOverridesContextKey: InjectionKey<Ref<GlobalThemeOverrides | undefined>>;
12
+ /** 图标前缀上下文 */
13
+ export declare const iconLocalPrefixContextKey: InjectionKey<Ref<string | undefined>>;
15
14
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/constants/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC5C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAEvC,cAAc;AACd,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAiC,CAAA;AACvG,YAAY;AACZ,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAA8B,CAAA;AACjG,kBAAkB;AAClB,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAA8B,CAAA;AACjG,YAAY;AACZ,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,GAAG,CAAC,eAAe,GAAG,SAAS,CAAC,CAA6B,CAAA;AACxG,cAAc;AACd,eAAO,MAAM,wBAAwB,EAAE,YAAY,CAAC,GAAG,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAsC,CAAA"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/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