zhihao-ui 1.3.52 → 1.3.53

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 (46) hide show
  1. package/dist/es/{BaseInfo-Cu3ME-K_.js → BaseInfo-BZ34efZZ.js} +1 -1
  2. package/dist/es/{BaseItem-Co7KlYD6.js → BaseItem-DxfKmzHN.js} +3 -3
  3. package/dist/es/{Button-Dp3Eoz3O.js → Button-ByWikGvS.js} +2 -2
  4. package/dist/es/CascaderLoadMore-CF_J-i8H.js +261 -0
  5. package/dist/es/{DatePicker-BilQVlgi.js → DatePicker-BS2zGuNF.js} +6 -6
  6. package/dist/es/{DetailHeader-DTHE-pQa.js → DetailHeader-Bdjj2rT_.js} +3 -3
  7. package/dist/es/{DetailSubTitle-BG-q2NNN.js → DetailSubTitle-oDZVGEDj.js} +2 -2
  8. package/dist/es/{Dialog-B0N_UsO3.js → Dialog-6oittA9s.js} +3 -3
  9. package/dist/es/DiyDataTable-BzfRDF0J.js +366 -0
  10. package/dist/es/{EditInfoPair-DwrwCanm.js → EditInfoPair-CZXKGl2-.js} +3 -3
  11. package/dist/es/{FileWrapper-BDK8YvRB.js → FileWrapper-B4nZf2F1.js} +4 -4
  12. package/dist/es/{Grid-pVjqXcmJ.js → Grid-anvIeL2d.js} +2 -2
  13. package/dist/es/{InfoPair-lu2zDhpQ.js → InfoPair-C6PjunKe.js} +3 -3
  14. package/dist/es/{Input-Du4ztfNG.js → Input-v0wMSltt.js} +14 -14
  15. package/dist/es/{Loading-Dc9138dn.js → Loading-C86LqgY4.js} +2 -2
  16. package/dist/es/{Map-BTSSoA-T.js → Map-CGiEKZ7_.js} +3 -3
  17. package/dist/es/{MessageBox-CJMqwEqr.js → MessageBox-Mt0l51rJ.js} +2 -2
  18. package/dist/es/{MoneyInput-CJxSKPIk.js → MoneyInput-DU9wly48.js} +5 -5
  19. package/dist/es/{PageHeadPanel-BChW8Tal.js → PageHeadPanel-CJNtdEZb.js} +2 -2
  20. package/dist/es/Table-BgW-kh7S.js +1177 -0
  21. package/dist/es/{ToolTips-Y6yG2q7L.js → ToolTips-DtkJa3Ld.js} +3 -3
  22. package/dist/es/index.js +43 -40
  23. package/dist/es/{utils-Co2iJhr8.js → utils-BXhGHET2.js} +3 -3
  24. package/dist/es/{vendor-Crdostgq.js → vendor-DIFwbdTH.js} +12157 -11172
  25. package/dist/index.css +1 -1
  26. package/dist/types/components/BaseItem/BaseItem.vue.d.ts +1 -1
  27. package/dist/types/components/BaseItem/index.d.ts +10 -10
  28. package/dist/types/components/BaseItem/types.d.ts +1 -1
  29. package/dist/types/components/CascaderLoadMore/CascaderLoadMore.vue.d.ts +2 -0
  30. package/dist/types/components/CascaderLoadMore/index.d.ts +5 -0
  31. package/dist/types/components/DetailHeader/index.d.ts +3 -3
  32. package/dist/types/components/DetailHeader/types.d.ts +1 -1
  33. package/dist/types/components/Dialog/Dialog.vue.d.ts +12 -12
  34. package/dist/types/components/Dialog/index.d.ts +18 -18
  35. package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +386 -1
  36. package/dist/types/components/DiyDataTable/index.d.ts +1131 -0
  37. package/dist/types/components/DiyDataTable/type.d.ts +17 -1
  38. package/dist/types/components/Table/types.d.ts +1 -0
  39. package/dist/types/components/Table/utils.d.ts +4 -0
  40. package/dist/types/components/ToolTips/index.d.ts +12 -12
  41. package/dist/types/components/index.d.ts +1 -0
  42. package/dist/umd/index.css +1 -1
  43. package/dist/umd/index.umd.cjs +70 -50
  44. package/package.json +1 -1
  45. package/dist/es/DiyDataTable-BQaaClFf.js +0 -331
  46. package/dist/es/Table-CzNjEPnP.js +0 -1155
@@ -2,7 +2,7 @@ import { ZhBaseItemProp } from './types.ts';
2
2
 
3
3
  declare function __VLS_template(): {
4
4
  value?(_: {
5
- content: string | number | undefined;
5
+ content: string | number | null | undefined;
6
6
  }): any;
7
7
  };
8
8
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ZhBaseItemProp>, {
@@ -17,15 +17,15 @@ export declare const ZhBaseItem: {
17
17
  onClick: {
18
18
  type: import('vue').PropType<(value?: string | number) => void>;
19
19
  };
20
+ value: {
21
+ type: import('vue').PropType<string | number | null>;
22
+ };
20
23
  className: {
21
24
  type: import('vue').PropType<string>;
22
25
  };
23
26
  labelClassName: {
24
27
  type: import('vue').PropType<string>;
25
28
  };
26
- value: {
27
- type: import('vue').PropType<string | number>;
28
- };
29
29
  defaultValue: {
30
30
  type: import('vue').PropType<string>;
31
31
  default: string;
@@ -87,15 +87,15 @@ export declare const ZhBaseItem: {
87
87
  onClick: {
88
88
  type: import('vue').PropType<(value?: string | number) => void>;
89
89
  };
90
+ value: {
91
+ type: import('vue').PropType<string | number | null>;
92
+ };
90
93
  className: {
91
94
  type: import('vue').PropType<string>;
92
95
  };
93
96
  labelClassName: {
94
97
  type: import('vue').PropType<string>;
95
98
  };
96
- value: {
97
- type: import('vue').PropType<string | number>;
98
- };
99
99
  defaultValue: {
100
100
  type: import('vue').PropType<string>;
101
101
  default: string;
@@ -154,15 +154,15 @@ export declare const ZhBaseItem: {
154
154
  onClick: {
155
155
  type: import('vue').PropType<(value?: string | number) => void>;
156
156
  };
157
+ value: {
158
+ type: import('vue').PropType<string | number | null>;
159
+ };
157
160
  className: {
158
161
  type: import('vue').PropType<string>;
159
162
  };
160
163
  labelClassName: {
161
164
  type: import('vue').PropType<string>;
162
165
  };
163
- value: {
164
- type: import('vue').PropType<string | number>;
165
- };
166
166
  defaultValue: {
167
167
  type: import('vue').PropType<string>;
168
168
  default: string;
@@ -202,7 +202,7 @@ export declare const ZhBaseItem: {
202
202
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
203
203
  $slots: {
204
204
  value?(_: {
205
- content: string | number | undefined;
205
+ content: string | number | null | undefined;
206
206
  }): any;
207
207
  };
208
208
  }) & import('vue').Plugin;
@@ -4,7 +4,7 @@ export interface ZhBaseItemProp {
4
4
  label?: string;
5
5
  labelRender?: () => VNode;
6
6
  colon?: boolean;
7
- value?: string | number;
7
+ value?: string | number | null;
8
8
  fileId?: number;
9
9
  rewriteFileName?: string;
10
10
  valueRender?: () => VNode;
@@ -106,6 +106,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
106
106
  data?: unknown;
107
107
  }[]>;
108
108
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
109
+ change: (value: unknown, selectedItem: unknown) => void;
109
110
  removeTag: (value: string | number) => void;
110
111
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
111
112
  modelValue: import('vue').PropType<string | []>;
@@ -179,6 +180,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
179
180
  default: string;
180
181
  };
181
182
  }>> & Readonly<{
183
+ onChange?: ((value: unknown, selectedItem: unknown) => any) | undefined;
182
184
  onRemoveTag?: ((value: string | number) => any) | undefined;
183
185
  }>, {
184
186
  pageSize: number;
@@ -72,6 +72,7 @@ export declare const ZhCascaderLoadMore: {
72
72
  default: string;
73
73
  };
74
74
  }>> & Readonly<{
75
+ onChange?: ((value: unknown, selectedItem: unknown) => any) | undefined;
75
76
  onRemoveTag?: ((value: string | number) => any) | undefined;
76
77
  }>, {
77
78
  reset: () => void;
@@ -105,6 +106,7 @@ export declare const ZhCascaderLoadMore: {
105
106
  data?: unknown;
106
107
  }[]>;
107
108
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
109
+ change: (value: unknown, selectedItem: unknown) => void;
108
110
  removeTag: (value: string | number) => void;
109
111
  }, import('vue').PublicProps, {
110
112
  pageSize: number;
@@ -198,6 +200,7 @@ export declare const ZhCascaderLoadMore: {
198
200
  default: string;
199
201
  };
200
202
  }>> & Readonly<{
203
+ onChange?: ((value: unknown, selectedItem: unknown) => any) | undefined;
201
204
  onRemoveTag?: ((value: string | number) => any) | undefined;
202
205
  }>, {
203
206
  reset: () => void;
@@ -319,6 +322,7 @@ export declare const ZhCascaderLoadMore: {
319
322
  default: string;
320
323
  };
321
324
  }>> & Readonly<{
325
+ onChange?: ((value: unknown, selectedItem: unknown) => any) | undefined;
322
326
  onRemoveTag?: ((value: string | number) => any) | undefined;
323
327
  }>, {
324
328
  reset: () => void;
@@ -352,6 +356,7 @@ export declare const ZhCascaderLoadMore: {
352
356
  data?: unknown;
353
357
  }[]>;
354
358
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
359
+ change: (value: unknown, selectedItem: unknown) => void;
355
360
  removeTag: (value: string | number) => void;
356
361
  }, string, {
357
362
  pageSize: number;
@@ -14,7 +14,7 @@ export declare const ZhDetailHeader: {
14
14
  type: import('vue').PropType<any>;
15
15
  };
16
16
  stateDesc: {
17
- type: import('vue').PropType<string>;
17
+ type: import('vue').PropType<string | number | null>;
18
18
  };
19
19
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
20
20
  P: {};
@@ -38,7 +38,7 @@ export declare const ZhDetailHeader: {
38
38
  type: import('vue').PropType<any>;
39
39
  };
40
40
  stateDesc: {
41
- type: import('vue').PropType<string>;
41
+ type: import('vue').PropType<string | number | null>;
42
42
  };
43
43
  }>> & Readonly<{}>, {}, {}, {}, {}, {}>;
44
44
  __isFragment?: never;
@@ -59,7 +59,7 @@ export declare const ZhDetailHeader: {
59
59
  type: import('vue').PropType<any>;
60
60
  };
61
61
  stateDesc: {
62
- type: import('vue').PropType<string>;
62
+ type: import('vue').PropType<string | number | null>;
63
63
  };
64
64
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
65
65
  $slots: {
@@ -7,5 +7,5 @@ export interface DetailHeaderProps {
7
7
  leftInfos?: Info[];
8
8
  rightInfos?: Info[];
9
9
  stateMeta?: any;
10
- stateDesc?: string;
10
+ stateDesc?: string | number | null;
11
11
  }
@@ -12,15 +12,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
12
12
  type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
13
13
  default: string;
14
14
  };
15
- width: {
16
- type: import('vue').PropType<string | number>;
17
- };
18
15
  top: {
19
16
  type: import('vue').PropType<string>;
20
17
  };
21
18
  appendTo: {
22
19
  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>>;
23
20
  };
21
+ showClose: {
22
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
23
+ };
24
+ width: {
25
+ type: import('vue').PropType<string | number>;
26
+ };
24
27
  zIndex: {
25
28
  type: import('vue').PropType<number>;
26
29
  };
@@ -79,9 +82,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
79
82
  fullscreen: {
80
83
  type: import('vue').PropType<boolean>;
81
84
  };
82
- showClose: {
83
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
84
- };
85
85
  ariaLevel: {
86
86
  type: import('vue').PropType<string>;
87
87
  };
@@ -112,15 +112,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
112
112
  type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
113
113
  default: string;
114
114
  };
115
- width: {
116
- type: import('vue').PropType<string | number>;
117
- };
118
115
  top: {
119
116
  type: import('vue').PropType<string>;
120
117
  };
121
118
  appendTo: {
122
119
  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>>;
123
120
  };
121
+ showClose: {
122
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
123
+ };
124
+ width: {
125
+ type: import('vue').PropType<string | number>;
126
+ };
124
127
  zIndex: {
125
128
  type: import('vue').PropType<number>;
126
129
  };
@@ -179,9 +182,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
179
182
  fullscreen: {
180
183
  type: import('vue').PropType<boolean>;
181
184
  };
182
- showClose: {
183
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
184
- };
185
185
  ariaLevel: {
186
186
  type: import('vue').PropType<string>;
187
187
  };
@@ -8,15 +8,18 @@ export declare const ZhDialog: {
8
8
  type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
9
9
  default: string;
10
10
  };
11
- width: {
12
- type: import('vue').PropType<string | number>;
13
- };
14
11
  top: {
15
12
  type: import('vue').PropType<string>;
16
13
  };
17
14
  appendTo: {
18
15
  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>>;
19
16
  };
17
+ showClose: {
18
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
19
+ };
20
+ width: {
21
+ type: import('vue').PropType<string | number>;
22
+ };
20
23
  zIndex: {
21
24
  type: import('vue').PropType<number>;
22
25
  };
@@ -75,9 +78,6 @@ export declare const ZhDialog: {
75
78
  fullscreen: {
76
79
  type: import('vue').PropType<boolean>;
77
80
  };
78
- showClose: {
79
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
80
- };
81
81
  ariaLevel: {
82
82
  type: import('vue').PropType<string>;
83
83
  };
@@ -124,15 +124,18 @@ export declare const ZhDialog: {
124
124
  type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
125
125
  default: string;
126
126
  };
127
- width: {
128
- type: import('vue').PropType<string | number>;
129
- };
130
127
  top: {
131
128
  type: import('vue').PropType<string>;
132
129
  };
133
130
  appendTo: {
134
131
  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>>;
135
132
  };
133
+ showClose: {
134
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
135
+ };
136
+ width: {
137
+ type: import('vue').PropType<string | number>;
138
+ };
136
139
  zIndex: {
137
140
  type: import('vue').PropType<number>;
138
141
  };
@@ -191,9 +194,6 @@ export declare const ZhDialog: {
191
194
  fullscreen: {
192
195
  type: import('vue').PropType<boolean>;
193
196
  };
194
- showClose: {
195
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
196
- };
197
197
  ariaLevel: {
198
198
  type: import('vue').PropType<string>;
199
199
  };
@@ -234,15 +234,18 @@ export declare const ZhDialog: {
234
234
  type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
235
235
  default: string;
236
236
  };
237
- width: {
238
- type: import('vue').PropType<string | number>;
239
- };
240
237
  top: {
241
238
  type: import('vue').PropType<string>;
242
239
  };
243
240
  appendTo: {
244
241
  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>>;
245
242
  };
243
+ showClose: {
244
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
245
+ };
246
+ width: {
247
+ type: import('vue').PropType<string | number>;
248
+ };
246
249
  zIndex: {
247
250
  type: import('vue').PropType<number>;
248
251
  };
@@ -301,9 +304,6 @@ export declare const ZhDialog: {
301
304
  fullscreen: {
302
305
  type: import('vue').PropType<boolean>;
303
306
  };
304
- showClose: {
305
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
306
- };
307
307
  ariaLevel: {
308
308
  type: import('vue').PropType<string>;
309
309
  };