@dazhicheng/ui 1.5.194 → 1.5.195

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.
@@ -7,357 +7,15 @@ import { FormItemDependencies, FormSchemaRuleType, MaybeComponentProps } from '.
7
7
  export declare function resolveValueByFieldName(values: Record<string, any>, fieldName: string): any;
8
8
  export default function useDependencies(getDependencies: () => FormItemDependencies | undefined): {
9
9
  dynamicComponentProps: import('vue').Ref<{
10
- [x: Record<never, never> & string]: any;
11
- style?: any;
12
- title?: any;
13
- contextmenu?: any;
14
- onInput?: any;
15
- onProgress?: any;
16
- onSelect?: any;
17
- onAbort?: any;
18
- onAnimationend?: any;
19
- onAnimationiteration?: any;
20
- onAnimationstart?: any;
21
- onAuxclick?: any;
22
- onBeforeinput?: any;
23
- onBlur?: any;
24
- onCanplay?: any;
25
- onCanplaythrough?: any;
26
- onChange?: any;
27
- onClick?: any;
28
- onCompositionend?: any;
29
- onCompositionstart?: any;
30
- onCompositionupdate?: any;
31
- onContextmenu?: any;
32
- onCopy?: any;
33
- onCut?: any;
34
- onDblclick?: any;
35
- onDrag?: any;
36
- onDragend?: any;
37
- onDragenter?: any;
38
- onDragleave?: any;
39
- onDragover?: any;
40
- onDragstart?: any;
41
- onDrop?: any;
42
- onDurationchange?: any;
43
- onEmptied?: any;
44
- onEnded?: any;
45
- onError?: any;
46
- onFocus?: any;
47
- onFocusin?: any;
48
- onFocusout?: any;
49
- onInvalid?: any;
50
- onKeydown?: any;
51
- onKeypress?: any;
52
- onKeyup?: any;
53
- onLoad?: any;
54
- onLoadeddata?: any;
55
- onLoadedmetadata?: any;
56
- onLoadstart?: any;
57
- onMousedown?: any;
58
- onMouseenter?: any;
59
- onMouseleave?: any;
60
- onMousemove?: any;
61
- onMouseout?: any;
62
- onMouseover?: any;
63
- onMouseup?: any;
64
- onPaste?: any;
65
- onPause?: any;
66
- onPlay?: any;
67
- onPlaying?: any;
68
- onPointercancel?: any;
69
- onPointerdown?: any;
70
- onPointerenter?: any;
71
- onPointerleave?: any;
72
- onPointermove?: any;
73
- onPointerout?: any;
74
- onPointerover?: any;
75
- onPointerup?: any;
76
- onRatechange?: any;
77
- onReset?: any;
78
- onScroll?: any;
79
- onScrollend?: any;
80
- onSeeked?: any;
81
- onSeeking?: any;
82
- onStalled?: any;
83
- onSubmit?: any;
84
- onSuspend?: any;
85
- onTimeupdate?: any;
86
- onTouchcancel?: any;
87
- onTouchend?: any;
88
- onTouchmove?: any;
89
- onTouchstart?: any;
90
- onTransitionend?: any;
91
- onTransitionstart?: any;
92
- onVolumechange?: any;
93
- onWaiting?: any;
94
- onWheel?: any;
95
- id?: any;
96
- role?: any;
97
- class?: any;
98
- dir?: any;
99
- color?: any;
100
- onDragexit?: any;
101
- onEncrypted?: any;
102
- "aria-hidden"?: any;
103
- hidden?: any;
104
- placeholder?: any;
105
- prefix?: any;
106
- innerHTML?: any;
107
- accesskey?: any;
108
- contenteditable?: any;
109
- draggable?: any;
110
- inert?: any;
111
- lang?: any;
112
- spellcheck?: any;
113
- tabindex?: any;
114
- translate?: any;
115
- radiogroup?: any;
116
- about?: any;
117
- datatype?: any;
118
- inlist?: any;
119
- property?: any;
120
- resource?: any;
121
- typeof?: any;
122
- vocab?: any;
123
- autocapitalize?: any;
124
- autocorrect?: any;
125
- autosave?: any;
126
- itemprop?: any;
127
- itemscope?: any;
128
- itemtype?: any;
129
- itemid?: any;
130
- itemref?: any;
131
- results?: any;
132
- security?: any;
133
- unselectable?: any;
134
- inputmode?: any;
135
- is?: any;
136
- "aria-activedescendant"?: any;
137
- "aria-atomic"?: any;
138
- "aria-autocomplete"?: any;
139
- "aria-busy"?: any;
140
- "aria-checked"?: any;
141
- "aria-colcount"?: any;
142
- "aria-colindex"?: any;
143
- "aria-colspan"?: any;
144
- "aria-controls"?: any;
145
- "aria-current"?: any;
146
- "aria-describedby"?: any;
147
- "aria-details"?: any;
148
- "aria-disabled"?: any;
149
- "aria-dropeffect"?: any;
150
- "aria-errormessage"?: any;
151
- "aria-expanded"?: any;
152
- "aria-flowto"?: any;
153
- "aria-grabbed"?: any;
154
- "aria-haspopup"?: any;
155
- "aria-invalid"?: any;
156
- "aria-keyshortcuts"?: any;
157
- "aria-label"?: any;
158
- "aria-labelledby"?: any;
159
- "aria-level"?: any;
160
- "aria-live"?: any;
161
- "aria-modal"?: any;
162
- "aria-multiline"?: any;
163
- "aria-multiselectable"?: any;
164
- "aria-orientation"?: any;
165
- "aria-owns"?: any;
166
- "aria-placeholder"?: any;
167
- "aria-posinset"?: any;
168
- "aria-pressed"?: any;
169
- "aria-readonly"?: any;
170
- "aria-relevant"?: any;
171
- "aria-required"?: any;
172
- "aria-roledescription"?: any;
173
- "aria-rowcount"?: any;
174
- "aria-rowindex"?: any;
175
- "aria-rowspan"?: any;
176
- "aria-selected"?: any;
177
- "aria-setsize"?: any;
178
- "aria-sort"?: any;
179
- "aria-valuemax"?: any;
180
- "aria-valuemin"?: any;
181
- "aria-valuenow"?: any;
182
- "aria-valuetext"?: any;
10
+ [x: string]: any;
183
11
  options?: any;
184
- manifest?: any;
185
- }, MaybeComponentProps | {
186
- [x: Record<never, never> & string]: any;
187
- style?: any;
188
- title?: any;
189
- contextmenu?: any;
190
- onInput?: any;
191
- onProgress?: any;
192
- onSelect?: any;
193
- onAbort?: any;
194
- onAnimationend?: any;
195
- onAnimationiteration?: any;
196
- onAnimationstart?: any;
197
- onAuxclick?: any;
198
- onBeforeinput?: any;
199
- onBlur?: any;
200
- onCanplay?: any;
201
- onCanplaythrough?: any;
202
- onChange?: any;
203
- onClick?: any;
204
- onCompositionend?: any;
205
- onCompositionstart?: any;
206
- onCompositionupdate?: any;
207
- onContextmenu?: any;
208
- onCopy?: any;
209
- onCut?: any;
210
- onDblclick?: any;
211
- onDrag?: any;
212
- onDragend?: any;
213
- onDragenter?: any;
214
- onDragleave?: any;
215
- onDragover?: any;
216
- onDragstart?: any;
217
- onDrop?: any;
218
- onDurationchange?: any;
219
- onEmptied?: any;
220
- onEnded?: any;
221
- onError?: any;
222
- onFocus?: any;
223
- onFocusin?: any;
224
- onFocusout?: any;
225
- onInvalid?: any;
226
- onKeydown?: any;
227
- onKeypress?: any;
228
- onKeyup?: any;
229
- onLoad?: any;
230
- onLoadeddata?: any;
231
- onLoadedmetadata?: any;
232
- onLoadstart?: any;
233
- onMousedown?: any;
234
- onMouseenter?: any;
235
- onMouseleave?: any;
236
- onMousemove?: any;
237
- onMouseout?: any;
238
- onMouseover?: any;
239
- onMouseup?: any;
240
- onPaste?: any;
241
- onPause?: any;
242
- onPlay?: any;
243
- onPlaying?: any;
244
- onPointercancel?: any;
245
- onPointerdown?: any;
246
- onPointerenter?: any;
247
- onPointerleave?: any;
248
- onPointermove?: any;
249
- onPointerout?: any;
250
- onPointerover?: any;
251
- onPointerup?: any;
252
- onRatechange?: any;
253
- onReset?: any;
254
- onScroll?: any;
255
- onScrollend?: any;
256
- onSeeked?: any;
257
- onSeeking?: any;
258
- onStalled?: any;
259
- onSubmit?: any;
260
- onSuspend?: any;
261
- onTimeupdate?: any;
262
- onTouchcancel?: any;
263
- onTouchend?: any;
264
- onTouchmove?: any;
265
- onTouchstart?: any;
266
- onTransitionend?: any;
267
- onTransitionstart?: any;
268
- onVolumechange?: any;
269
- onWaiting?: any;
270
- onWheel?: any;
271
- id?: any;
272
- role?: any;
273
- class?: any;
274
- dir?: any;
275
- color?: any;
276
- onDragexit?: any;
277
- onEncrypted?: any;
278
- "aria-hidden"?: any;
279
- hidden?: any;
280
12
  placeholder?: any;
281
- prefix?: any;
282
- innerHTML?: any;
283
- accesskey?: any;
284
- contenteditable?: any;
285
- draggable?: any;
286
- inert?: any;
287
- lang?: any;
288
- spellcheck?: any;
289
- tabindex?: any;
290
- translate?: any;
291
- radiogroup?: any;
292
- about?: any;
293
- datatype?: any;
294
- inlist?: any;
295
- property?: any;
296
- resource?: any;
297
- typeof?: any;
298
- vocab?: any;
299
- autocapitalize?: any;
300
- autocorrect?: any;
301
- autosave?: any;
302
- itemprop?: any;
303
- itemscope?: any;
304
- itemtype?: any;
305
- itemid?: any;
306
- itemref?: any;
307
- results?: any;
308
- security?: any;
309
- unselectable?: any;
310
- inputmode?: any;
311
- is?: any;
312
- "aria-activedescendant"?: any;
313
- "aria-atomic"?: any;
314
- "aria-autocomplete"?: any;
315
- "aria-busy"?: any;
316
- "aria-checked"?: any;
317
- "aria-colcount"?: any;
318
- "aria-colindex"?: any;
319
- "aria-colspan"?: any;
320
- "aria-controls"?: any;
321
- "aria-current"?: any;
322
- "aria-describedby"?: any;
323
- "aria-details"?: any;
324
- "aria-disabled"?: any;
325
- "aria-dropeffect"?: any;
326
- "aria-errormessage"?: any;
327
- "aria-expanded"?: any;
328
- "aria-flowto"?: any;
329
- "aria-grabbed"?: any;
330
- "aria-haspopup"?: any;
331
- "aria-invalid"?: any;
332
- "aria-keyshortcuts"?: any;
333
- "aria-label"?: any;
334
- "aria-labelledby"?: any;
335
- "aria-level"?: any;
336
- "aria-live"?: any;
337
- "aria-modal"?: any;
338
- "aria-multiline"?: any;
339
- "aria-multiselectable"?: any;
340
- "aria-orientation"?: any;
341
- "aria-owns"?: any;
342
- "aria-placeholder"?: any;
343
- "aria-posinset"?: any;
344
- "aria-pressed"?: any;
345
- "aria-readonly"?: any;
346
- "aria-relevant"?: any;
347
- "aria-required"?: any;
348
- "aria-roledescription"?: any;
349
- "aria-rowcount"?: any;
350
- "aria-rowindex"?: any;
351
- "aria-rowspan"?: any;
352
- "aria-selected"?: any;
353
- "aria-setsize"?: any;
354
- "aria-sort"?: any;
355
- "aria-valuemax"?: any;
356
- "aria-valuemin"?: any;
357
- "aria-valuenow"?: any;
358
- "aria-valuetext"?: any;
13
+ title?: any;
14
+ }, MaybeComponentProps | {
15
+ [x: string]: any;
359
16
  options?: any;
360
- manifest?: any;
17
+ placeholder?: any;
18
+ title?: any;
361
19
  }>;
362
20
  dynamicRules: import('vue').Ref<FormSchemaRuleType | undefined, FormSchemaRuleType | undefined>;
363
21
  isDisabled: import('vue').Ref<boolean, boolean>;
@@ -58,8 +58,10 @@ export interface FormShape {
58
58
  rules?: ZodTypeAny;
59
59
  }
60
60
  export type MaybeComponentPropKey = "options" | "placeholder" | "title" | keyof HtmlHTMLAttributes | (Record<never, never> & string);
61
- export type MaybeComponentProps = {
62
- [K in MaybeComponentPropKey]?: any;
61
+ export type MaybeComponentProps = Record<string, any> & {
62
+ options?: any;
63
+ placeholder?: any;
64
+ title?: any;
63
65
  };
64
66
  /** 数组操作方法 */
65
67
  export interface FormArrayActions {
@@ -315,7 +315,10 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
315
315
  default: () => string | undefined;
316
316
  };
317
317
  isHanderSubmit: any;
318
- columnsKey: any;
318
+ columnsKey: {
319
+ type: import('vue').PropType<string | (() => string)>;
320
+ default: string;
321
+ };
319
322
  useHttpCache: {
320
323
  type: BooleanConstructor;
321
324
  default: () => boolean | undefined;
@@ -431,7 +434,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
431
434
  useHttpCache: boolean;
432
435
  showSetting: boolean;
433
436
  showRefresh: boolean;
434
- columnsKey: any;
437
+ columnsKey: string | (() => string);
435
438
  showExpand: any;
436
439
  showRadio: any;
437
440
  showIndex: any;
@@ -944,7 +947,10 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
944
947
  default: () => string | undefined;
945
948
  };
946
949
  isHanderSubmit: any;
947
- columnsKey: any;
950
+ columnsKey: {
951
+ type: import('vue').PropType<string | (() => string)>;
952
+ default: string;
953
+ };
948
954
  useHttpCache: {
949
955
  type: BooleanConstructor;
950
956
  default: () => boolean | undefined;
@@ -1060,7 +1066,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
1060
1066
  useHttpCache: boolean;
1061
1067
  showSetting: boolean;
1062
1068
  showRefresh: boolean;
1063
- columnsKey: any;
1069
+ columnsKey: string | (() => string);
1064
1070
  showExpand: any;
1065
1071
  showRadio: any;
1066
1072
  showIndex: any;
@@ -1306,7 +1312,10 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
1306
1312
  default: () => string | undefined;
1307
1313
  };
1308
1314
  isHanderSubmit: any;
1309
- columnsKey: any;
1315
+ columnsKey: {
1316
+ type: import('vue').PropType<string | (() => string)>;
1317
+ default: string;
1318
+ };
1310
1319
  useHttpCache: {
1311
1320
  type: BooleanConstructor;
1312
1321
  default: () => boolean | undefined;
@@ -1422,7 +1431,7 @@ export declare const TtTable: import('../../../../utils/src').SFCWithInstall<{
1422
1431
  useHttpCache: boolean;
1423
1432
  showSetting: boolean;
1424
1433
  showRefresh: boolean;
1425
- columnsKey: any;
1434
+ columnsKey: string | (() => string);
1426
1435
  showExpand: any;
1427
1436
  showRadio: any;
1428
1437
  showIndex: any;
@@ -485,7 +485,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
485
485
  default: () => string | undefined;
486
486
  };
487
487
  isHanderSubmit: any;
488
- columnsKey: any;
488
+ columnsKey: {
489
+ type: import('vue').PropType<string | (() => string)>;
490
+ default: string;
491
+ };
489
492
  useHttpCache: {
490
493
  type: BooleanConstructor;
491
494
  default: () => boolean | undefined;
@@ -763,7 +766,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
763
766
  default: () => string | undefined;
764
767
  };
765
768
  isHanderSubmit: any;
766
- columnsKey: any;
769
+ columnsKey: {
770
+ type: import('vue').PropType<string | (() => string)>;
771
+ default: string;
772
+ };
767
773
  useHttpCache: {
768
774
  type: BooleanConstructor;
769
775
  default: () => boolean | undefined;
@@ -825,7 +831,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
825
831
  useHttpCache: boolean;
826
832
  showSetting: boolean;
827
833
  showRefresh: boolean;
828
- columnsKey: any;
834
+ columnsKey: string | (() => string);
829
835
  showExpand: any;
830
836
  showRadio: any;
831
837
  showIndex: any;
@@ -279,7 +279,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
279
279
  type: BooleanConstructor;
280
280
  default: boolean;
281
281
  };
282
- columnsKey: any;
282
+ columnsKey: {
283
+ type: import('vue').PropType<string | (() => string)>;
284
+ default: string;
285
+ };
283
286
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
284
287
  "on-refresh": () => any;
285
288
  "on-columns-setting": () => any;
@@ -301,7 +304,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
301
304
  type: BooleanConstructor;
302
305
  default: boolean;
303
306
  };
304
- columnsKey: any;
307
+ columnsKey: {
308
+ type: import('vue').PropType<string | (() => string)>;
309
+ default: string;
310
+ };
305
311
  }>> & Readonly<{
306
312
  "onOn-refresh"?: (() => any) | undefined;
307
313
  "onOn-columns-setting"?: (() => any) | undefined;
@@ -310,7 +316,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
310
316
  showSetting: boolean;
311
317
  showRefresh: boolean;
312
318
  showExport: boolean;
313
- columnsKey: any;
319
+ columnsKey: string | (() => string);
314
320
  showSetColumn: boolean;
315
321
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
316
322
  tooltipRef: (({
@@ -216,8 +216,11 @@ export declare const tableProps: {
216
216
  };
217
217
  /** 是否手动触发查询事件 */
218
218
  isHanderSubmit: any;
219
- /** 储存的key */
220
- columnsKey: any;
219
+ /** 储存的key值,支持函数动态获取 */
220
+ columnsKey: {
221
+ type: PropType<string | (() => string)>;
222
+ default: string;
223
+ };
221
224
  /** 是否开启服务端缓存 */
222
225
  useHttpCache: {
223
226
  type: BooleanConstructor;
@@ -1,3 +1,4 @@
1
+ import { PropType } from 'vue';
1
2
  export declare const toolProps: {
2
3
  /** 是否显示设置 */
3
4
  showSetting: {
@@ -19,6 +20,9 @@ export declare const toolProps: {
19
20
  type: BooleanConstructor;
20
21
  default: boolean;
21
22
  };
22
- /** 储存的key */
23
- columnsKey: any;
23
+ /** 储存的key,支持函数动态获取 */
24
+ columnsKey: {
25
+ type: PropType<string | (() => string)>;
26
+ default: string;
27
+ };
24
28
  };