zhihao-ui 1.2.29 → 1.2.30

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 (54) hide show
  1. package/dist/es/{BaseInfo-XETJaruy.js → BaseInfo-CAuR2Id0.js} +1 -1
  2. package/dist/es/BaseItem-CQzBP1WX.js +129 -0
  3. package/dist/es/{Button-CzjgaPIL.js → Button-D-R-2Fix.js} +4 -4
  4. package/dist/es/DatePicker-BDz_yTX2.js +36 -0
  5. package/dist/es/{DetailHeader-C7L01g9Z.js → DetailHeader-CBN9CqAp.js} +3 -3
  6. package/dist/es/{DetailSubTitle-ChWfR3qA.js → DetailSubTitle-DsnSxPKH.js} +2 -2
  7. package/dist/es/{Dialog-Cky8TKRM.js → Dialog-C_hAbDgU.js} +3 -3
  8. package/dist/es/{DiyDataTable-D1s7-cdV.js → DiyDataTable-CXSUoapn.js} +10 -10
  9. package/dist/es/{EditInfoPair-C0EG8kUd.js → EditInfoPair-C0Ielr4q.js} +3 -3
  10. package/dist/es/{FileWrapper-CmvheBNp.js → FileWrapper-DFqY2SD_.js} +4 -4
  11. package/dist/es/Grid-CLg9sn2Y.js +198 -0
  12. package/dist/es/{InfoPair-JA1pAAyP.js → InfoPair-6agPuvqq.js} +3 -3
  13. package/dist/es/{Input-12ajHBoj.js → Input-CzlIXSCf.js} +3 -3
  14. package/dist/es/{Loading-CHji9tKE.js → Loading-ClE8eADM.js} +2 -2
  15. package/dist/es/{Map-Bq9kPMot.js → Map-Ch7K-0xC.js} +173 -179
  16. package/dist/es/{MessageBox-1NCCwju7.js → MessageBox-CBMAgp6C.js} +2 -2
  17. package/dist/es/{MoneyInput-PI2K9BeH.js → MoneyInput-EODuzFjO.js} +17 -18
  18. package/dist/es/{PageHeadPanel-CBDItYUC.js → PageHeadPanel-DDnMIqmC.js} +2 -2
  19. package/dist/es/{Table-BBWU5wYF.js → Table-D7YUOcI0.js} +132 -130
  20. package/dist/es/{ToolTips-BBCd543g.js → ToolTips-BpZo8gsa.js} +3 -3
  21. package/dist/es/index.js +66 -60
  22. package/dist/es/utils-BbWQLYZL.js +52 -0
  23. package/dist/es/{vendor-BhAIOWbw.js → vendor-Cq716b5Q.js} +2034 -2019
  24. package/dist/index.css +1 -1
  25. package/dist/types/components/BaseItem/BaseItem.test.d.ts +1 -0
  26. package/dist/types/components/BaseItem/BaseItem.vue.d.ts +50 -0
  27. package/dist/types/components/BaseItem/index.d.ts +209 -0
  28. package/dist/types/components/BaseItem/types.d.ts +39 -0
  29. package/dist/types/components/DatePicker/DatePicker.vue.d.ts +2 -2
  30. package/dist/types/components/DatePicker/index.d.ts +5 -5
  31. package/dist/types/components/Dialog/Dialog.vue.d.ts +29 -29
  32. package/dist/types/components/Dialog/index.d.ts +45 -45
  33. package/dist/types/components/FileWrapper/FileWrapper.vue.d.ts +2 -2
  34. package/dist/types/components/FileWrapper/index.d.ts +6 -6
  35. package/dist/types/components/Grid/Grid.vue.d.ts +7 -9
  36. package/dist/types/components/Grid/components/GridItem.vue.d.ts +71 -0
  37. package/dist/types/components/Grid/components/MultiGrid.vue.d.ts +11 -0
  38. package/dist/types/components/Grid/components/collectGridItems.d.ts +9 -0
  39. package/dist/types/components/Grid/index.d.ts +187 -0
  40. package/dist/types/components/Grid/types.d.ts +14 -1
  41. package/dist/types/components/Map/interface/entity/render.d.ts +2 -0
  42. package/dist/types/components/Map/render/renderPoint.d.ts +1 -2
  43. package/dist/types/components/Table/components/ColSetting.vue.d.ts +2 -2
  44. package/dist/types/components/Table/components/SearchForm.vue.d.ts +2 -2
  45. package/dist/types/components/ToolTips/ToolTips.vue.d.ts +1 -1
  46. package/dist/types/components/ToolTips/index.d.ts +3 -3
  47. package/dist/types/components/index.d.ts +1 -0
  48. package/dist/types/components/utils/color.d.ts +1 -0
  49. package/dist/umd/index.css +1 -1
  50. package/dist/umd/index.umd.cjs +19 -19
  51. package/package.json +1 -1
  52. package/dist/es/DatePicker-DNgii92T.js +0 -58
  53. package/dist/es/Grid-CfJ_U3gi.js +0 -96
  54. package/dist/es/utils-BIGjF-zg.js +0 -14
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,50 @@
1
+ import { ZhBaseItemProp } from './types.ts';
2
+
3
+ declare function __VLS_template(): {
4
+ value?(_: {
5
+ content: string | number | undefined;
6
+ }): any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ZhBaseItemProp>, {
9
+ infoDirection: string;
10
+ defaultValue: string;
11
+ span: number;
12
+ showFileName: boolean;
13
+ colon: boolean;
14
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ZhBaseItemProp>, {
15
+ infoDirection: string;
16
+ defaultValue: string;
17
+ span: number;
18
+ showFileName: boolean;
19
+ colon: boolean;
20
+ }>>> & Readonly<{}>, {
21
+ infoDirection: "horizontal" | "vertical";
22
+ span: number;
23
+ defaultValue: string;
24
+ colon: boolean;
25
+ showFileName: boolean;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
28
+ export default _default;
29
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
+ type __VLS_TypePropsToRuntimeProps<T> = {
31
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
+ } : {
34
+ type: import('vue').PropType<T[K]>;
35
+ required: true;
36
+ };
37
+ };
38
+ type __VLS_WithDefaults<P, D> = {
39
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
+ default: D[K];
41
+ }> : P[K];
42
+ };
43
+ type __VLS_Prettify<T> = {
44
+ [K in keyof T]: T[K];
45
+ } & {};
46
+ type __VLS_WithTemplateSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
@@ -0,0 +1,209 @@
1
+ export declare const ZhBaseItem: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ labelWidth: {
4
+ type: import('vue').PropType<string | number>;
5
+ };
6
+ infoDirection: {
7
+ type: import('vue').PropType<"horizontal" | "vertical">;
8
+ default: string;
9
+ };
10
+ label: {
11
+ type: import('vue').PropType<string>;
12
+ };
13
+ span: {
14
+ type: import('vue').PropType<number>;
15
+ default: number;
16
+ };
17
+ onClick: {
18
+ type: import('vue').PropType<(value?: string | number) => void>;
19
+ };
20
+ className: {
21
+ type: import('vue').PropType<string>;
22
+ };
23
+ labelClassName: {
24
+ type: import('vue').PropType<string>;
25
+ };
26
+ value: {
27
+ type: import('vue').PropType<string | number>;
28
+ };
29
+ defaultValue: {
30
+ type: import('vue').PropType<string>;
31
+ default: string;
32
+ };
33
+ labelRender: {
34
+ type: import('vue').PropType<() => import('vue').VNode>;
35
+ };
36
+ colon: {
37
+ type: import('vue').PropType<boolean>;
38
+ default: boolean;
39
+ };
40
+ fileId: {
41
+ type: import('vue').PropType<number>;
42
+ };
43
+ rewriteFileName: {
44
+ type: import('vue').PropType<string>;
45
+ };
46
+ valueRender: {
47
+ type: import('vue').PropType<() => import('vue').VNode>;
48
+ };
49
+ valueClassName: {
50
+ type: import('vue').PropType<string>;
51
+ };
52
+ showFileName: {
53
+ type: import('vue').PropType<boolean>;
54
+ default: boolean;
55
+ };
56
+ fetchFileById: {
57
+ type: import('vue').PropType<(fileId: number) => Promise<import('./types.ts').ZhBaseItemFileEntity>>;
58
+ };
59
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
60
+ infoDirection: "horizontal" | "vertical";
61
+ span: number;
62
+ defaultValue: string;
63
+ colon: boolean;
64
+ showFileName: boolean;
65
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
66
+ P: {};
67
+ B: {};
68
+ D: {};
69
+ C: {};
70
+ M: {};
71
+ Defaults: {};
72
+ }, Readonly<import('vue').ExtractPropTypes<{
73
+ labelWidth: {
74
+ type: import('vue').PropType<string | number>;
75
+ };
76
+ infoDirection: {
77
+ type: import('vue').PropType<"horizontal" | "vertical">;
78
+ default: string;
79
+ };
80
+ label: {
81
+ type: import('vue').PropType<string>;
82
+ };
83
+ span: {
84
+ type: import('vue').PropType<number>;
85
+ default: number;
86
+ };
87
+ onClick: {
88
+ type: import('vue').PropType<(value?: string | number) => void>;
89
+ };
90
+ className: {
91
+ type: import('vue').PropType<string>;
92
+ };
93
+ labelClassName: {
94
+ type: import('vue').PropType<string>;
95
+ };
96
+ value: {
97
+ type: import('vue').PropType<string | number>;
98
+ };
99
+ defaultValue: {
100
+ type: import('vue').PropType<string>;
101
+ default: string;
102
+ };
103
+ labelRender: {
104
+ type: import('vue').PropType<() => import('vue').VNode>;
105
+ };
106
+ colon: {
107
+ type: import('vue').PropType<boolean>;
108
+ default: boolean;
109
+ };
110
+ fileId: {
111
+ type: import('vue').PropType<number>;
112
+ };
113
+ rewriteFileName: {
114
+ type: import('vue').PropType<string>;
115
+ };
116
+ valueRender: {
117
+ type: import('vue').PropType<() => import('vue').VNode>;
118
+ };
119
+ valueClassName: {
120
+ type: import('vue').PropType<string>;
121
+ };
122
+ showFileName: {
123
+ type: import('vue').PropType<boolean>;
124
+ default: boolean;
125
+ };
126
+ fetchFileById: {
127
+ type: import('vue').PropType<(fileId: number) => Promise<import('./types.ts').ZhBaseItemFileEntity>>;
128
+ };
129
+ }>> & Readonly<{}>, {}, {}, {}, {}, {
130
+ infoDirection: "horizontal" | "vertical";
131
+ span: number;
132
+ defaultValue: string;
133
+ colon: boolean;
134
+ showFileName: boolean;
135
+ }>;
136
+ __isFragment?: never;
137
+ __isTeleport?: never;
138
+ __isSuspense?: never;
139
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
140
+ labelWidth: {
141
+ type: import('vue').PropType<string | number>;
142
+ };
143
+ infoDirection: {
144
+ type: import('vue').PropType<"horizontal" | "vertical">;
145
+ default: string;
146
+ };
147
+ label: {
148
+ type: import('vue').PropType<string>;
149
+ };
150
+ span: {
151
+ type: import('vue').PropType<number>;
152
+ default: number;
153
+ };
154
+ onClick: {
155
+ type: import('vue').PropType<(value?: string | number) => void>;
156
+ };
157
+ className: {
158
+ type: import('vue').PropType<string>;
159
+ };
160
+ labelClassName: {
161
+ type: import('vue').PropType<string>;
162
+ };
163
+ value: {
164
+ type: import('vue').PropType<string | number>;
165
+ };
166
+ defaultValue: {
167
+ type: import('vue').PropType<string>;
168
+ default: string;
169
+ };
170
+ labelRender: {
171
+ type: import('vue').PropType<() => import('vue').VNode>;
172
+ };
173
+ colon: {
174
+ type: import('vue').PropType<boolean>;
175
+ default: boolean;
176
+ };
177
+ fileId: {
178
+ type: import('vue').PropType<number>;
179
+ };
180
+ rewriteFileName: {
181
+ type: import('vue').PropType<string>;
182
+ };
183
+ valueRender: {
184
+ type: import('vue').PropType<() => import('vue').VNode>;
185
+ };
186
+ valueClassName: {
187
+ type: import('vue').PropType<string>;
188
+ };
189
+ showFileName: {
190
+ type: import('vue').PropType<boolean>;
191
+ default: boolean;
192
+ };
193
+ fetchFileById: {
194
+ type: import('vue').PropType<(fileId: number) => Promise<import('./types.ts').ZhBaseItemFileEntity>>;
195
+ };
196
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
197
+ infoDirection: "horizontal" | "vertical";
198
+ span: number;
199
+ defaultValue: string;
200
+ colon: boolean;
201
+ showFileName: boolean;
202
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
203
+ $slots: {
204
+ value?(_: {
205
+ content: string | number | undefined;
206
+ }): any;
207
+ };
208
+ }) & import('vue').Plugin;
209
+ export * from './types.ts';
@@ -0,0 +1,39 @@
1
+ import { VNode } from 'vue';
2
+
3
+ export interface ZhBaseItemProp {
4
+ label?: string;
5
+ labelRender?: () => VNode;
6
+ colon?: boolean;
7
+ value?: string | number;
8
+ fileId?: number;
9
+ rewriteFileName?: string;
10
+ valueRender?: () => VNode;
11
+ onClick?: (value?: string | number) => void;
12
+ labelWidth?: string | number;
13
+ infoDirection?: "horizontal" | "vertical";
14
+ defaultValue?: string;
15
+ className?: string;
16
+ labelClassName?: string;
17
+ valueClassName?: string;
18
+ span?: number;
19
+ showFileName?: boolean;
20
+ fetchFileById?: (fileId: number) => Promise<ZhBaseItemFileEntity>;
21
+ }
22
+ export interface ZhBaseItemFileEntity {
23
+ /**
24
+ * 文件名
25
+ */
26
+ name: string;
27
+ /**
28
+ * 保存附件路径
29
+ */
30
+ path: string;
31
+ /**
32
+ * 附件后缀名
33
+ */
34
+ type: string;
35
+ /**
36
+ * 状态
37
+ */
38
+ state: number;
39
+ }
@@ -5,16 +5,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
5
5
  class?: any;
6
6
  modelValue: string | number | undefined;
7
7
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
- "update:modelValue": (...args: any[]) => void;
9
8
  change: (...args: any[]) => void;
9
+ "update:modelValue": (...args: any[]) => void;
10
10
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
11
  [key: string]: any;
12
12
  style?: any;
13
13
  class?: any;
14
14
  modelValue: string | number | undefined;
15
15
  }>>> & Readonly<{
16
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
17
16
  onChange?: ((...args: any[]) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
19
  export default _default;
20
20
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -14,11 +14,11 @@ export declare const ZhDatePicker: {
14
14
  required: true;
15
15
  };
16
16
  }>> & Readonly<{
17
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
18
17
  onChange?: ((...args: any[]) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
19
19
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- "update:modelValue": (...args: any[]) => void;
21
20
  change: (...args: any[]) => void;
21
+ "update:modelValue": (...args: any[]) => void;
22
22
  }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
23
23
  P: {};
24
24
  B: {};
@@ -41,8 +41,8 @@ export declare const ZhDatePicker: {
41
41
  required: true;
42
42
  };
43
43
  }>> & Readonly<{
44
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
45
44
  onChange?: ((...args: any[]) => any) | undefined;
45
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
46
46
  }>, {}, {}, {}, {}, {}>;
47
47
  __isFragment?: never;
48
48
  __isTeleport?: never;
@@ -62,9 +62,9 @@ export declare const ZhDatePicker: {
62
62
  required: true;
63
63
  };
64
64
  }>> & Readonly<{
65
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
66
65
  onChange?: ((...args: any[]) => any) | undefined;
66
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
67
67
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
68
- "update:modelValue": (...args: any[]) => void;
69
68
  change: (...args: any[]) => void;
69
+ "update:modelValue": (...args: any[]) => void;
70
70
  }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
@@ -5,21 +5,30 @@ declare function __VLS_template(): {
5
5
  };
6
6
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
7
  modelValue: import('vue').PropType<boolean>;
8
+ title: {
9
+ type: import('vue').PropType<string>;
10
+ };
8
11
  size: {
9
12
  type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
10
13
  default: string;
11
14
  };
15
+ width: {
16
+ type: import('vue').PropType<string | number>;
17
+ };
12
18
  top: {
13
19
  type: import('vue').PropType<string>;
14
20
  };
15
- title: {
16
- type: import('vue').PropType<string>;
21
+ appendTo: {
22
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
17
23
  };
18
- appendToBody: {
24
+ zIndex: {
25
+ type: import('vue').PropType<number>;
26
+ };
27
+ center: {
19
28
  type: import('vue').PropType<boolean>;
20
29
  };
21
- appendTo: {
22
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
30
+ appendToBody: {
31
+ type: import('vue').PropType<boolean>;
23
32
  };
24
33
  beforeClose: {
25
34
  type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
@@ -49,21 +58,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
49
58
  modalClass: {
50
59
  type: import('vue').PropType<string>;
51
60
  };
52
- width: {
53
- type: import('vue').PropType<string | number>;
54
- };
55
- zIndex: {
56
- type: import('vue').PropType<number>;
57
- };
58
61
  trapFocus: {
59
62
  type: import('vue').PropType<boolean>;
60
63
  };
61
64
  headerAriaLevel: {
62
65
  type: import('vue').PropType<string>;
63
66
  };
64
- center: {
65
- type: import('vue').PropType<boolean>;
66
- };
67
67
  alignCenter: {
68
68
  type: import('vue').PropType<boolean>;
69
69
  };
@@ -105,21 +105,30 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
105
105
  close: () => void;
106
106
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
107
107
  modelValue: import('vue').PropType<boolean>;
108
+ title: {
109
+ type: import('vue').PropType<string>;
110
+ };
108
111
  size: {
109
112
  type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
110
113
  default: string;
111
114
  };
115
+ width: {
116
+ type: import('vue').PropType<string | number>;
117
+ };
112
118
  top: {
113
119
  type: import('vue').PropType<string>;
114
120
  };
115
- title: {
116
- type: import('vue').PropType<string>;
121
+ appendTo: {
122
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
117
123
  };
118
- appendToBody: {
124
+ zIndex: {
125
+ type: import('vue').PropType<number>;
126
+ };
127
+ center: {
119
128
  type: import('vue').PropType<boolean>;
120
129
  };
121
- appendTo: {
122
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
130
+ appendToBody: {
131
+ type: import('vue').PropType<boolean>;
123
132
  };
124
133
  beforeClose: {
125
134
  type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
@@ -149,21 +158,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
149
158
  modalClass: {
150
159
  type: import('vue').PropType<string>;
151
160
  };
152
- width: {
153
- type: import('vue').PropType<string | number>;
154
- };
155
- zIndex: {
156
- type: import('vue').PropType<number>;
157
- };
158
161
  trapFocus: {
159
162
  type: import('vue').PropType<boolean>;
160
163
  };
161
164
  headerAriaLevel: {
162
165
  type: import('vue').PropType<string>;
163
166
  };
164
- center: {
165
- type: import('vue').PropType<boolean>;
166
- };
167
167
  alignCenter: {
168
168
  type: import('vue').PropType<boolean>;
169
169
  };
@@ -201,8 +201,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
201
201
  default: boolean;
202
202
  };
203
203
  }>> & Readonly<{
204
- onSubmit?: (() => any) | undefined;
205
204
  onClose?: (() => any) | undefined;
205
+ onSubmit?: (() => any) | undefined;
206
206
  }>, {
207
207
  size: "small" | "middle" | "large" | "extraLarge";
208
208
  closeOnClickModal: boolean;
@@ -1,21 +1,30 @@
1
1
  export declare const ZhDialog: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
3
  modelValue: import('vue').PropType<boolean>;
4
+ title: {
5
+ type: import('vue').PropType<string>;
6
+ };
4
7
  size: {
5
8
  type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
6
9
  default: string;
7
10
  };
11
+ width: {
12
+ type: import('vue').PropType<string | number>;
13
+ };
8
14
  top: {
9
15
  type: import('vue').PropType<string>;
10
16
  };
11
- title: {
12
- type: import('vue').PropType<string>;
17
+ appendTo: {
18
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
13
19
  };
14
- appendToBody: {
20
+ zIndex: {
21
+ type: import('vue').PropType<number>;
22
+ };
23
+ center: {
15
24
  type: import('vue').PropType<boolean>;
16
25
  };
17
- appendTo: {
18
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
26
+ appendToBody: {
27
+ type: import('vue').PropType<boolean>;
19
28
  };
20
29
  beforeClose: {
21
30
  type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
@@ -45,21 +54,12 @@ export declare const ZhDialog: {
45
54
  modalClass: {
46
55
  type: import('vue').PropType<string>;
47
56
  };
48
- width: {
49
- type: import('vue').PropType<string | number>;
50
- };
51
- zIndex: {
52
- type: import('vue').PropType<number>;
53
- };
54
57
  trapFocus: {
55
58
  type: import('vue').PropType<boolean>;
56
59
  };
57
60
  headerAriaLevel: {
58
61
  type: import('vue').PropType<string>;
59
62
  };
60
- center: {
61
- type: import('vue').PropType<boolean>;
62
- };
63
63
  alignCenter: {
64
64
  type: import('vue').PropType<boolean>;
65
65
  };
@@ -97,8 +97,8 @@ export declare const ZhDialog: {
97
97
  default: boolean;
98
98
  };
99
99
  }>> & Readonly<{
100
- onSubmit?: (() => any) | undefined;
101
100
  onClose?: (() => any) | undefined;
101
+ onSubmit?: (() => any) | undefined;
102
102
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
103
103
  submit: () => void;
104
104
  close: () => void;
@@ -117,21 +117,30 @@ export declare const ZhDialog: {
117
117
  Defaults: {};
118
118
  }, Readonly<import('vue').ExtractPropTypes<{
119
119
  modelValue: import('vue').PropType<boolean>;
120
+ title: {
121
+ type: import('vue').PropType<string>;
122
+ };
120
123
  size: {
121
124
  type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
122
125
  default: string;
123
126
  };
127
+ width: {
128
+ type: import('vue').PropType<string | number>;
129
+ };
124
130
  top: {
125
131
  type: import('vue').PropType<string>;
126
132
  };
127
- title: {
128
- type: import('vue').PropType<string>;
133
+ appendTo: {
134
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
129
135
  };
130
- appendToBody: {
136
+ zIndex: {
137
+ type: import('vue').PropType<number>;
138
+ };
139
+ center: {
131
140
  type: import('vue').PropType<boolean>;
132
141
  };
133
- appendTo: {
134
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
142
+ appendToBody: {
143
+ type: import('vue').PropType<boolean>;
135
144
  };
136
145
  beforeClose: {
137
146
  type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
@@ -161,21 +170,12 @@ export declare const ZhDialog: {
161
170
  modalClass: {
162
171
  type: import('vue').PropType<string>;
163
172
  };
164
- width: {
165
- type: import('vue').PropType<string | number>;
166
- };
167
- zIndex: {
168
- type: import('vue').PropType<number>;
169
- };
170
173
  trapFocus: {
171
174
  type: import('vue').PropType<boolean>;
172
175
  };
173
176
  headerAriaLevel: {
174
177
  type: import('vue').PropType<string>;
175
178
  };
176
- center: {
177
- type: import('vue').PropType<boolean>;
178
- };
179
179
  alignCenter: {
180
180
  type: import('vue').PropType<boolean>;
181
181
  };
@@ -213,8 +213,8 @@ export declare const ZhDialog: {
213
213
  default: boolean;
214
214
  };
215
215
  }>> & Readonly<{
216
- onSubmit?: (() => any) | undefined;
217
216
  onClose?: (() => any) | undefined;
217
+ onSubmit?: (() => any) | undefined;
218
218
  }>, {}, {}, {}, {}, {
219
219
  size: "small" | "middle" | "large" | "extraLarge";
220
220
  closeOnClickModal: boolean;
@@ -227,21 +227,30 @@ export declare const ZhDialog: {
227
227
  __isSuspense?: never;
228
228
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
229
229
  modelValue: import('vue').PropType<boolean>;
230
+ title: {
231
+ type: import('vue').PropType<string>;
232
+ };
230
233
  size: {
231
234
  type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
232
235
  default: string;
233
236
  };
237
+ width: {
238
+ type: import('vue').PropType<string | number>;
239
+ };
234
240
  top: {
235
241
  type: import('vue').PropType<string>;
236
242
  };
237
- title: {
238
- type: import('vue').PropType<string>;
243
+ appendTo: {
244
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
239
245
  };
240
- appendToBody: {
246
+ zIndex: {
247
+ type: import('vue').PropType<number>;
248
+ };
249
+ center: {
241
250
  type: import('vue').PropType<boolean>;
242
251
  };
243
- appendTo: {
244
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
252
+ appendToBody: {
253
+ type: import('vue').PropType<boolean>;
245
254
  };
246
255
  beforeClose: {
247
256
  type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
@@ -271,21 +280,12 @@ export declare const ZhDialog: {
271
280
  modalClass: {
272
281
  type: import('vue').PropType<string>;
273
282
  };
274
- width: {
275
- type: import('vue').PropType<string | number>;
276
- };
277
- zIndex: {
278
- type: import('vue').PropType<number>;
279
- };
280
283
  trapFocus: {
281
284
  type: import('vue').PropType<boolean>;
282
285
  };
283
286
  headerAriaLevel: {
284
287
  type: import('vue').PropType<string>;
285
288
  };
286
- center: {
287
- type: import('vue').PropType<boolean>;
288
- };
289
289
  alignCenter: {
290
290
  type: import('vue').PropType<boolean>;
291
291
  };
@@ -323,8 +323,8 @@ export declare const ZhDialog: {
323
323
  default: boolean;
324
324
  };
325
325
  }>> & Readonly<{
326
- onSubmit?: (() => any) | undefined;
327
326
  onClose?: (() => any) | undefined;
327
+ onSubmit?: (() => any) | undefined;
328
328
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
329
329
  submit: () => void;
330
330
  close: () => void;