yc-pro-components 0.0.18 → 0.0.19
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.
- package/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/display-item/src/index.vue2.mjs +18 -5
- package/es/components/drawer-form/index.d.ts +50 -50
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +22 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +519 -455
- package/es/components/page/src/index.vue.d.ts +198 -203
- package/es/components/page/src/index.vue2.mjs +4 -2
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +154 -154
- package/es/components/search/src/index.vue.d.ts +50 -50
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +73 -54
- package/es/components/table/src/index.vue.d.ts +21 -18
- package/es/components/table/src/index.vue2.mjs +4 -2
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/table/src/type.d.ts +9 -0
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +424 -364
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/constants/form.d.ts +5 -0
- package/es/constants/form.mjs +2 -1
- package/es/constants/index.mjs +1 -1
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.mjs +1 -1
- package/es/types/plus.d.ts +29 -0
- package/index.js +26 -7
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +26 -8
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/display-item/src/index.vue2.js +16 -3
- package/lib/components/drawer-form/index.d.ts +50 -50
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +22 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +519 -455
- package/lib/components/page/src/index.vue.d.ts +198 -203
- package/lib/components/page/src/index.vue2.js +4 -2
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +154 -154
- package/lib/components/search/src/index.vue.d.ts +50 -50
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +73 -54
- package/lib/components/table/src/index.vue.d.ts +21 -18
- package/lib/components/table/src/index.vue2.js +3 -1
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/table/src/type.d.ts +9 -0
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +424 -364
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/constants/form.d.ts +5 -0
- package/lib/constants/form.js +2 -0
- package/lib/constants/index.js +1 -0
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.js +1 -0
- package/lib/types/plus.d.ts +29 -0
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -86,6 +86,15 @@ export interface PlusPageProps {
|
|
|
86
86
|
* @default false
|
|
87
87
|
*/
|
|
88
88
|
searchSlot?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* 所有列字段为空时显示的默认文本(全局配置)
|
|
91
|
+
* @version v0.2.0
|
|
92
|
+
* @default "-"
|
|
93
|
+
* @desc 当字段值为 null、undefined 或空字符串时,显示此文本
|
|
94
|
+
* @desc 优先级:列级别的 emptyText > columnsEmptyText > 默认 "-"
|
|
95
|
+
* @desc 仅对未定义 render/renderHTML 的字段生效
|
|
96
|
+
*/
|
|
97
|
+
columnsEmptyText?: string;
|
|
89
98
|
}
|
|
90
99
|
export interface PlusPageEmits {
|
|
91
100
|
(e: 'search', data: FieldValues): void;
|
|
@@ -126,13 +135,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
126
135
|
pageSize: string;
|
|
127
136
|
};
|
|
128
137
|
searchSlot: boolean;
|
|
138
|
+
columnsEmptyText: string;
|
|
129
139
|
}>, {
|
|
130
140
|
plusSearchInstance: Ref<({
|
|
131
141
|
$: ComponentInternalInstance;
|
|
132
142
|
$data: {};
|
|
133
143
|
$props: Partial<{
|
|
134
|
-
columns: PlusColumn[];
|
|
135
144
|
modelValue: FieldValues;
|
|
145
|
+
columns: PlusColumn[];
|
|
136
146
|
labelPosition: "top" | "right" | "left";
|
|
137
147
|
inline: boolean;
|
|
138
148
|
showNumber: number;
|
|
@@ -158,8 +168,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
158
168
|
searchIcon: Component | null;
|
|
159
169
|
resetIcon: Component | null;
|
|
160
170
|
}> & Omit<{
|
|
161
|
-
readonly columns: PlusColumn[];
|
|
162
171
|
readonly modelValue: FieldValues;
|
|
172
|
+
readonly columns: PlusColumn[];
|
|
163
173
|
readonly inline: boolean;
|
|
164
174
|
readonly showNumber: number;
|
|
165
175
|
readonly defaultValues: FieldValues;
|
|
@@ -184,20 +194,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
184
194
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
185
195
|
readonly searchIcon?: Component | null | undefined;
|
|
186
196
|
readonly resetIcon?: Component | null | undefined;
|
|
197
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
187
198
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
188
199
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
189
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
190
200
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
191
201
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
192
202
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
193
|
-
columns: {
|
|
194
|
-
type: PropType<PlusColumn[]>;
|
|
195
|
-
default: () => never[];
|
|
196
|
-
};
|
|
197
203
|
modelValue: {
|
|
198
204
|
type: PropType<FieldValues>;
|
|
199
205
|
default: () => {};
|
|
200
206
|
};
|
|
207
|
+
columns: {
|
|
208
|
+
type: PropType<PlusColumn[]>;
|
|
209
|
+
default: () => never[];
|
|
210
|
+
};
|
|
201
211
|
labelPosition: {
|
|
202
212
|
type: PropType<"top" | "right" | "left">;
|
|
203
213
|
default: undefined;
|
|
@@ -285,12 +295,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
285
295
|
default: undefined;
|
|
286
296
|
};
|
|
287
297
|
}>> & {
|
|
298
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
288
299
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
289
300
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
290
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
291
301
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
292
302
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
293
|
-
}, "
|
|
303
|
+
}, "modelValue" | "columns" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
294
304
|
$attrs: {
|
|
295
305
|
[x: string]: unknown;
|
|
296
306
|
};
|
|
@@ -302,17 +312,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
302
312
|
}>;
|
|
303
313
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
304
314
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
305
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
315
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
306
316
|
$el: any;
|
|
307
317
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
308
|
-
columns: {
|
|
309
|
-
type: PropType<PlusColumn[]>;
|
|
310
|
-
default: () => never[];
|
|
311
|
-
};
|
|
312
318
|
modelValue: {
|
|
313
319
|
type: PropType<FieldValues>;
|
|
314
320
|
default: () => {};
|
|
315
321
|
};
|
|
322
|
+
columns: {
|
|
323
|
+
type: PropType<PlusColumn[]>;
|
|
324
|
+
default: () => never[];
|
|
325
|
+
};
|
|
316
326
|
labelPosition: {
|
|
317
327
|
type: PropType<"top" | "right" | "left">;
|
|
318
328
|
default: undefined;
|
|
@@ -400,9 +410,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
400
410
|
default: undefined;
|
|
401
411
|
};
|
|
402
412
|
}>> & {
|
|
413
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
403
414
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
404
415
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
405
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
406
416
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
407
417
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
408
418
|
}, {
|
|
@@ -410,11 +420,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
410
420
|
$: ComponentInternalInstance;
|
|
411
421
|
$data: {};
|
|
412
422
|
$props: Partial<{
|
|
423
|
+
modelValue: FieldValues;
|
|
413
424
|
collapseDuration: number;
|
|
414
425
|
collapseTransition: boolean;
|
|
415
426
|
columns: PlusColumn[];
|
|
416
427
|
group: false | PlusFormGroupRow[];
|
|
417
|
-
modelValue: FieldValues;
|
|
418
428
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
419
429
|
labelPosition: "top" | "right" | "left";
|
|
420
430
|
labelWidth: string | number;
|
|
@@ -435,7 +445,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
435
445
|
submitText: string;
|
|
436
446
|
resetText: string;
|
|
437
447
|
submitLoading: boolean;
|
|
438
|
-
footerAlign: "
|
|
448
|
+
footerAlign: "center" | "right" | "left";
|
|
439
449
|
cardProps: Partial< Mutable<CardProps> & {
|
|
440
450
|
style?: CSSProperties | undefined;
|
|
441
451
|
class?: any;
|
|
@@ -443,9 +453,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
443
453
|
prevent: boolean;
|
|
444
454
|
clearable: boolean;
|
|
445
455
|
}> & Omit<{
|
|
456
|
+
readonly modelValue: FieldValues;
|
|
446
457
|
readonly columns: PlusColumn[];
|
|
447
458
|
readonly group: false | PlusFormGroupRow[];
|
|
448
|
-
readonly modelValue: FieldValues;
|
|
449
459
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
450
460
|
readonly labelPosition: "top" | "right" | "left";
|
|
451
461
|
readonly labelWidth: string | number;
|
|
@@ -466,7 +476,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
466
476
|
readonly submitText: string;
|
|
467
477
|
readonly resetText: string;
|
|
468
478
|
readonly submitLoading: boolean;
|
|
469
|
-
readonly footerAlign: "
|
|
479
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
470
480
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
471
481
|
style?: CSSProperties | undefined;
|
|
472
482
|
class?: any;
|
|
@@ -475,13 +485,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
475
485
|
readonly clearable: boolean;
|
|
476
486
|
readonly collapseDuration?: number | undefined;
|
|
477
487
|
readonly collapseTransition?: boolean | undefined;
|
|
488
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
478
489
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
479
490
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
480
491
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
481
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
482
492
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
483
493
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
484
494
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
495
|
+
modelValue: {
|
|
496
|
+
type: PropType<FieldValues>;
|
|
497
|
+
default: () => {};
|
|
498
|
+
};
|
|
485
499
|
collapseDuration: {
|
|
486
500
|
type: PropType<number>;
|
|
487
501
|
default: undefined;
|
|
@@ -498,10 +512,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
498
512
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
499
513
|
default: boolean;
|
|
500
514
|
};
|
|
501
|
-
modelValue: {
|
|
502
|
-
type: PropType<FieldValues>;
|
|
503
|
-
default: () => {};
|
|
504
|
-
};
|
|
505
515
|
rules: {
|
|
506
516
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
507
517
|
default: () => {};
|
|
@@ -565,7 +575,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
565
575
|
default: boolean;
|
|
566
576
|
};
|
|
567
577
|
footerAlign: {
|
|
568
|
-
type: PropType<"
|
|
578
|
+
type: PropType<"center" | "right" | "left">;
|
|
569
579
|
default: string;
|
|
570
580
|
};
|
|
571
581
|
cardProps: {
|
|
@@ -584,13 +594,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
584
594
|
default: boolean;
|
|
585
595
|
};
|
|
586
596
|
}>> & {
|
|
597
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
587
598
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
588
599
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
589
600
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
590
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
591
601
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
592
602
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
593
|
-
}, "
|
|
603
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
594
604
|
$attrs: {
|
|
595
605
|
[x: string]: unknown;
|
|
596
606
|
};
|
|
@@ -602,9 +612,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
602
612
|
}>;
|
|
603
613
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
604
614
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
605
|
-
$emit: ((event: "
|
|
615
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
606
616
|
$el: any;
|
|
607
617
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
618
|
+
modelValue: {
|
|
619
|
+
type: PropType<FieldValues>;
|
|
620
|
+
default: () => {};
|
|
621
|
+
};
|
|
608
622
|
collapseDuration: {
|
|
609
623
|
type: PropType<number>;
|
|
610
624
|
default: undefined;
|
|
@@ -621,10 +635,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
621
635
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
622
636
|
default: boolean;
|
|
623
637
|
};
|
|
624
|
-
modelValue: {
|
|
625
|
-
type: PropType<FieldValues>;
|
|
626
|
-
default: () => {};
|
|
627
|
-
};
|
|
628
638
|
rules: {
|
|
629
639
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
630
640
|
default: () => {};
|
|
@@ -688,7 +698,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
688
698
|
default: boolean;
|
|
689
699
|
};
|
|
690
700
|
footerAlign: {
|
|
691
|
-
type: PropType<"
|
|
701
|
+
type: PropType<"center" | "right" | "left">;
|
|
692
702
|
default: string;
|
|
693
703
|
};
|
|
694
704
|
cardProps: {
|
|
@@ -707,10 +717,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
707
717
|
default: boolean;
|
|
708
718
|
};
|
|
709
719
|
}>> & {
|
|
720
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
710
721
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
711
722
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
712
723
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
713
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
714
724
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
715
725
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
716
726
|
}, {
|
|
@@ -812,10 +822,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
812
822
|
getField: (prop: string) => FormItemContext | undefined;
|
|
813
823
|
addField: (field: FormItemContext) => void;
|
|
814
824
|
removeField: (field: FormItemContext) => void;
|
|
815
|
-
/**
|
|
816
|
-
* 设置搜索的值
|
|
817
|
-
* @version v0.1.17
|
|
818
|
-
*/
|
|
819
825
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
820
826
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
821
827
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -825,9 +831,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
825
831
|
validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
|
|
826
832
|
scrollToField: (prop: FormItemProp) => void;
|
|
827
833
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
828
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
829
|
-
* TODO: 将会在v0.2.0中移除
|
|
830
|
-
*/
|
|
834
|
+
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
831
835
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
832
836
|
readonly model: ObjectConstructor;
|
|
833
837
|
readonly rules: {
|
|
@@ -980,10 +984,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
980
984
|
getField: (prop: string) => FormItemContext | undefined;
|
|
981
985
|
addField: (field: FormItemContext) => void;
|
|
982
986
|
removeField: (field: FormItemContext) => void;
|
|
983
|
-
/**
|
|
984
|
-
* 设置搜索的值
|
|
985
|
-
* @version v0.1.17
|
|
986
|
-
*/
|
|
987
987
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
988
988
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
989
989
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -1016,11 +1016,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1016
1016
|
submitError: (errors: unknown) => void;
|
|
1017
1017
|
validate: (...args: any[]) => void;
|
|
1018
1018
|
}, string, {
|
|
1019
|
+
modelValue: FieldValues;
|
|
1019
1020
|
collapseDuration: number;
|
|
1020
1021
|
collapseTransition: boolean;
|
|
1021
1022
|
columns: PlusColumn[];
|
|
1022
1023
|
group: false | PlusFormGroupRow[];
|
|
1023
|
-
modelValue: FieldValues;
|
|
1024
1024
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1025
1025
|
labelPosition: "top" | "right" | "left";
|
|
1026
1026
|
labelWidth: string | number;
|
|
@@ -1041,7 +1041,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1041
1041
|
submitText: string;
|
|
1042
1042
|
resetText: string;
|
|
1043
1043
|
submitLoading: boolean;
|
|
1044
|
-
footerAlign: "
|
|
1044
|
+
footerAlign: "center" | "right" | "left";
|
|
1045
1045
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1046
1046
|
style?: CSSProperties | undefined;
|
|
1047
1047
|
class?: any;
|
|
@@ -1069,6 +1069,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1069
1069
|
$nextTick: nextTick;
|
|
1070
1070
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1071
1071
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1072
|
+
modelValue: {
|
|
1073
|
+
type: PropType<FieldValues>;
|
|
1074
|
+
default: () => {};
|
|
1075
|
+
};
|
|
1072
1076
|
collapseDuration: {
|
|
1073
1077
|
type: PropType<number>;
|
|
1074
1078
|
default: undefined;
|
|
@@ -1085,10 +1089,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1085
1089
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1086
1090
|
default: boolean;
|
|
1087
1091
|
};
|
|
1088
|
-
modelValue: {
|
|
1089
|
-
type: PropType<FieldValues>;
|
|
1090
|
-
default: () => {};
|
|
1091
|
-
};
|
|
1092
1092
|
rules: {
|
|
1093
1093
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1094
1094
|
default: () => {};
|
|
@@ -1152,7 +1152,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1152
1152
|
default: boolean;
|
|
1153
1153
|
};
|
|
1154
1154
|
footerAlign: {
|
|
1155
|
-
type: PropType<"
|
|
1155
|
+
type: PropType<"center" | "right" | "left">;
|
|
1156
1156
|
default: string;
|
|
1157
1157
|
};
|
|
1158
1158
|
cardProps: {
|
|
@@ -1171,10 +1171,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1171
1171
|
default: boolean;
|
|
1172
1172
|
};
|
|
1173
1173
|
}>> & {
|
|
1174
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1174
1175
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1175
1176
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1176
1177
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1177
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1178
1178
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1179
1179
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1180
1180
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1276,10 +1276,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1276
1276
|
getField: (prop: string) => FormItemContext | undefined;
|
|
1277
1277
|
addField: (field: FormItemContext) => void;
|
|
1278
1278
|
removeField: (field: FormItemContext) => void;
|
|
1279
|
-
/**
|
|
1280
|
-
* 设置搜索的值
|
|
1281
|
-
* @version v0.1.17
|
|
1282
|
-
*/
|
|
1283
1279
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
1284
1280
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
1285
1281
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -1289,9 +1285,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1289
1285
|
validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
|
|
1290
1286
|
scrollToField: (prop: FormItemProp) => void;
|
|
1291
1287
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1292
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
1293
|
-
* TODO: 将会在v0.2.0中移除
|
|
1294
|
-
*/
|
|
1288
|
+
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
1295
1289
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1296
1290
|
readonly model: ObjectConstructor;
|
|
1297
1291
|
readonly rules: {
|
|
@@ -1444,10 +1438,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1444
1438
|
getField: (prop: string) => FormItemContext | undefined;
|
|
1445
1439
|
addField: (field: FormItemContext) => void;
|
|
1446
1440
|
removeField: (field: FormItemContext) => void;
|
|
1447
|
-
/**
|
|
1448
|
-
* 设置搜索的值
|
|
1449
|
-
* @version v0.1.17
|
|
1450
|
-
*/
|
|
1451
1441
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
1452
1442
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
1453
1443
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -1485,14 +1475,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1485
1475
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1486
1476
|
columns?: PlusColumn[] | undefined;
|
|
1487
1477
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1488
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1478
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1489
1479
|
readonly label: string | ComputedRef<string>;
|
|
1490
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1480
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1491
1481
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1492
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1482
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1493
1483
|
style?: CSSProperties | undefined;
|
|
1494
1484
|
class?: any;
|
|
1495
|
-
} & RecordType> | ComputedRef<
|
|
1485
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1496
1486
|
style?: CSSProperties | undefined;
|
|
1497
1487
|
class?: any;
|
|
1498
1488
|
} & RecordType>>;
|
|
@@ -1559,12 +1549,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1559
1549
|
fieldInstance?: any;
|
|
1560
1550
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1561
1551
|
prop: string;
|
|
1562
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1552
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1563
1553
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1564
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1554
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1565
1555
|
style?: CSSProperties | undefined;
|
|
1566
1556
|
class?: any;
|
|
1567
|
-
} & RecordType> | ComputedRef<
|
|
1557
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1568
1558
|
style?: CSSProperties | undefined;
|
|
1569
1559
|
class?: any;
|
|
1570
1560
|
} & RecordType>>;
|
|
@@ -1593,14 +1583,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1593
1583
|
clearable: boolean;
|
|
1594
1584
|
index: number;
|
|
1595
1585
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1596
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1586
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1597
1587
|
readonly label: string | ComputedRef<string>;
|
|
1598
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1588
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1599
1589
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1600
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1590
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1601
1591
|
style?: CSSProperties | undefined;
|
|
1602
1592
|
class?: any;
|
|
1603
|
-
} & RecordType> | ComputedRef<
|
|
1593
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1604
1594
|
style?: CSSProperties | undefined;
|
|
1605
1595
|
class?: any;
|
|
1606
1596
|
} & RecordType>>;
|
|
@@ -1667,12 +1657,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1667
1657
|
fieldInstance?: any;
|
|
1668
1658
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1669
1659
|
prop: string;
|
|
1670
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1660
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1671
1661
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1672
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1662
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1673
1663
|
style?: CSSProperties | undefined;
|
|
1674
1664
|
class?: any;
|
|
1675
|
-
} & RecordType> | ComputedRef<
|
|
1665
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1676
1666
|
style?: CSSProperties | undefined;
|
|
1677
1667
|
class?: any;
|
|
1678
1668
|
} & RecordType>>;
|
|
@@ -1724,8 +1714,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1724
1714
|
reset: (values: FieldValues) => void;
|
|
1725
1715
|
collapse: (isShowUnfold: boolean) => void;
|
|
1726
1716
|
}, string, {
|
|
1727
|
-
columns: PlusColumn[];
|
|
1728
1717
|
modelValue: FieldValues;
|
|
1718
|
+
columns: PlusColumn[];
|
|
1729
1719
|
labelPosition: "top" | "right" | "left";
|
|
1730
1720
|
inline: boolean;
|
|
1731
1721
|
showNumber: number;
|
|
@@ -1771,14 +1761,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1771
1761
|
$nextTick: nextTick;
|
|
1772
1762
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1773
1763
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1774
|
-
columns: {
|
|
1775
|
-
type: PropType<PlusColumn[]>;
|
|
1776
|
-
default: () => never[];
|
|
1777
|
-
};
|
|
1778
1764
|
modelValue: {
|
|
1779
1765
|
type: PropType<FieldValues>;
|
|
1780
1766
|
default: () => {};
|
|
1781
1767
|
};
|
|
1768
|
+
columns: {
|
|
1769
|
+
type: PropType<PlusColumn[]>;
|
|
1770
|
+
default: () => never[];
|
|
1771
|
+
};
|
|
1782
1772
|
labelPosition: {
|
|
1783
1773
|
type: PropType<"top" | "right" | "left">;
|
|
1784
1774
|
default: undefined;
|
|
@@ -1866,9 +1856,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1866
1856
|
default: undefined;
|
|
1867
1857
|
};
|
|
1868
1858
|
}>> & {
|
|
1859
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1869
1860
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1870
1861
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1871
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1872
1862
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1873
1863
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1874
1864
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1876,11 +1866,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1876
1866
|
$: ComponentInternalInstance;
|
|
1877
1867
|
$data: {};
|
|
1878
1868
|
$props: Partial<{
|
|
1869
|
+
modelValue: FieldValues;
|
|
1879
1870
|
collapseDuration: number;
|
|
1880
1871
|
collapseTransition: boolean;
|
|
1881
1872
|
columns: PlusColumn[];
|
|
1882
1873
|
group: false | PlusFormGroupRow[];
|
|
1883
|
-
modelValue: FieldValues;
|
|
1884
1874
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1885
1875
|
labelPosition: "top" | "right" | "left";
|
|
1886
1876
|
labelWidth: string | number;
|
|
@@ -1901,7 +1891,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1901
1891
|
submitText: string;
|
|
1902
1892
|
resetText: string;
|
|
1903
1893
|
submitLoading: boolean;
|
|
1904
|
-
footerAlign: "
|
|
1894
|
+
footerAlign: "center" | "right" | "left";
|
|
1905
1895
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1906
1896
|
style?: CSSProperties | undefined;
|
|
1907
1897
|
class?: any;
|
|
@@ -1909,9 +1899,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1909
1899
|
prevent: boolean;
|
|
1910
1900
|
clearable: boolean;
|
|
1911
1901
|
}> & Omit<{
|
|
1902
|
+
readonly modelValue: FieldValues;
|
|
1912
1903
|
readonly columns: PlusColumn[];
|
|
1913
1904
|
readonly group: false | PlusFormGroupRow[];
|
|
1914
|
-
readonly modelValue: FieldValues;
|
|
1915
1905
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1916
1906
|
readonly labelPosition: "top" | "right" | "left";
|
|
1917
1907
|
readonly labelWidth: string | number;
|
|
@@ -1932,7 +1922,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1932
1922
|
readonly submitText: string;
|
|
1933
1923
|
readonly resetText: string;
|
|
1934
1924
|
readonly submitLoading: boolean;
|
|
1935
|
-
readonly footerAlign: "
|
|
1925
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
1936
1926
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1937
1927
|
style?: CSSProperties | undefined;
|
|
1938
1928
|
class?: any;
|
|
@@ -1941,13 +1931,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1941
1931
|
readonly clearable: boolean;
|
|
1942
1932
|
readonly collapseDuration?: number | undefined;
|
|
1943
1933
|
readonly collapseTransition?: boolean | undefined;
|
|
1934
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1944
1935
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1945
1936
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1946
1937
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1947
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1948
1938
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1949
1939
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1950
1940
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1941
|
+
modelValue: {
|
|
1942
|
+
type: PropType<FieldValues>;
|
|
1943
|
+
default: () => {};
|
|
1944
|
+
};
|
|
1951
1945
|
collapseDuration: {
|
|
1952
1946
|
type: PropType<number>;
|
|
1953
1947
|
default: undefined;
|
|
@@ -1964,10 +1958,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1964
1958
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1965
1959
|
default: boolean;
|
|
1966
1960
|
};
|
|
1967
|
-
modelValue: {
|
|
1968
|
-
type: PropType<FieldValues>;
|
|
1969
|
-
default: () => {};
|
|
1970
|
-
};
|
|
1971
1961
|
rules: {
|
|
1972
1962
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1973
1963
|
default: () => {};
|
|
@@ -2031,7 +2021,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2031
2021
|
default: boolean;
|
|
2032
2022
|
};
|
|
2033
2023
|
footerAlign: {
|
|
2034
|
-
type: PropType<"
|
|
2024
|
+
type: PropType<"center" | "right" | "left">;
|
|
2035
2025
|
default: string;
|
|
2036
2026
|
};
|
|
2037
2027
|
cardProps: {
|
|
@@ -2050,13 +2040,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2050
2040
|
default: boolean;
|
|
2051
2041
|
};
|
|
2052
2042
|
}>> & {
|
|
2043
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2053
2044
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2054
2045
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2055
2046
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2056
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2057
2047
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2058
2048
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2059
|
-
}, "
|
|
2049
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2060
2050
|
$attrs: {
|
|
2061
2051
|
[x: string]: unknown;
|
|
2062
2052
|
};
|
|
@@ -2068,9 +2058,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2068
2058
|
}>;
|
|
2069
2059
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2070
2060
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2071
|
-
$emit: ((event: "
|
|
2061
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2072
2062
|
$el: any;
|
|
2073
2063
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2064
|
+
modelValue: {
|
|
2065
|
+
type: PropType<FieldValues>;
|
|
2066
|
+
default: () => {};
|
|
2067
|
+
};
|
|
2074
2068
|
collapseDuration: {
|
|
2075
2069
|
type: PropType<number>;
|
|
2076
2070
|
default: undefined;
|
|
@@ -2087,10 +2081,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2087
2081
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2088
2082
|
default: boolean;
|
|
2089
2083
|
};
|
|
2090
|
-
modelValue: {
|
|
2091
|
-
type: PropType<FieldValues>;
|
|
2092
|
-
default: () => {};
|
|
2093
|
-
};
|
|
2094
2084
|
rules: {
|
|
2095
2085
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2096
2086
|
default: () => {};
|
|
@@ -2154,7 +2144,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2154
2144
|
default: boolean;
|
|
2155
2145
|
};
|
|
2156
2146
|
footerAlign: {
|
|
2157
|
-
type: PropType<"
|
|
2147
|
+
type: PropType<"center" | "right" | "left">;
|
|
2158
2148
|
default: string;
|
|
2159
2149
|
};
|
|
2160
2150
|
cardProps: {
|
|
@@ -2173,10 +2163,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2173
2163
|
default: boolean;
|
|
2174
2164
|
};
|
|
2175
2165
|
}>> & {
|
|
2166
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2176
2167
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2177
2168
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2178
2169
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2179
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2180
2170
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2181
2171
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2182
2172
|
}, {
|
|
@@ -2278,10 +2268,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2278
2268
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2279
2269
|
addField: (field: FormItemContext) => void;
|
|
2280
2270
|
removeField: (field: FormItemContext) => void;
|
|
2281
|
-
/**
|
|
2282
|
-
* 设置搜索的值
|
|
2283
|
-
* @version v0.1.17
|
|
2284
|
-
*/
|
|
2285
2271
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2286
2272
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2287
2273
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -2291,9 +2277,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2291
2277
|
validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
|
|
2292
2278
|
scrollToField: (prop: FormItemProp) => void;
|
|
2293
2279
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2294
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
2295
|
-
* TODO: 将会在v0.2.0中移除
|
|
2296
|
-
*/
|
|
2280
|
+
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
2297
2281
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2298
2282
|
readonly model: ObjectConstructor;
|
|
2299
2283
|
readonly rules: {
|
|
@@ -2446,10 +2430,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2446
2430
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2447
2431
|
addField: (field: FormItemContext) => void;
|
|
2448
2432
|
removeField: (field: FormItemContext) => void;
|
|
2449
|
-
/**
|
|
2450
|
-
* 设置搜索的值
|
|
2451
|
-
* @version v0.1.17
|
|
2452
|
-
*/
|
|
2453
2433
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2454
2434
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2455
2435
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -2482,11 +2462,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2482
2462
|
submitError: (errors: unknown) => void;
|
|
2483
2463
|
validate: (...args: any[]) => void;
|
|
2484
2464
|
}, string, {
|
|
2465
|
+
modelValue: FieldValues;
|
|
2485
2466
|
collapseDuration: number;
|
|
2486
2467
|
collapseTransition: boolean;
|
|
2487
2468
|
columns: PlusColumn[];
|
|
2488
2469
|
group: false | PlusFormGroupRow[];
|
|
2489
|
-
modelValue: FieldValues;
|
|
2490
2470
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2491
2471
|
labelPosition: "top" | "right" | "left";
|
|
2492
2472
|
labelWidth: string | number;
|
|
@@ -2507,7 +2487,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2507
2487
|
submitText: string;
|
|
2508
2488
|
resetText: string;
|
|
2509
2489
|
submitLoading: boolean;
|
|
2510
|
-
footerAlign: "
|
|
2490
|
+
footerAlign: "center" | "right" | "left";
|
|
2511
2491
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2512
2492
|
style?: CSSProperties | undefined;
|
|
2513
2493
|
class?: any;
|
|
@@ -2535,6 +2515,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2535
2515
|
$nextTick: nextTick;
|
|
2536
2516
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2537
2517
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2518
|
+
modelValue: {
|
|
2519
|
+
type: PropType<FieldValues>;
|
|
2520
|
+
default: () => {};
|
|
2521
|
+
};
|
|
2538
2522
|
collapseDuration: {
|
|
2539
2523
|
type: PropType<number>;
|
|
2540
2524
|
default: undefined;
|
|
@@ -2551,10 +2535,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2551
2535
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2552
2536
|
default: boolean;
|
|
2553
2537
|
};
|
|
2554
|
-
modelValue: {
|
|
2555
|
-
type: PropType<FieldValues>;
|
|
2556
|
-
default: () => {};
|
|
2557
|
-
};
|
|
2558
2538
|
rules: {
|
|
2559
2539
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2560
2540
|
default: () => {};
|
|
@@ -2618,7 +2598,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2618
2598
|
default: boolean;
|
|
2619
2599
|
};
|
|
2620
2600
|
footerAlign: {
|
|
2621
|
-
type: PropType<"
|
|
2601
|
+
type: PropType<"center" | "right" | "left">;
|
|
2622
2602
|
default: string;
|
|
2623
2603
|
};
|
|
2624
2604
|
cardProps: {
|
|
@@ -2637,10 +2617,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2637
2617
|
default: boolean;
|
|
2638
2618
|
};
|
|
2639
2619
|
}>> & {
|
|
2620
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2640
2621
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2641
2622
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2642
2623
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2643
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2644
2624
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2645
2625
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2646
2626
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2742,10 +2722,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2742
2722
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2743
2723
|
addField: (field: FormItemContext) => void;
|
|
2744
2724
|
removeField: (field: FormItemContext) => void;
|
|
2745
|
-
/**
|
|
2746
|
-
* 设置搜索的值
|
|
2747
|
-
* @version v0.1.17
|
|
2748
|
-
*/
|
|
2749
2725
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2750
2726
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2751
2727
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -2755,9 +2731,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2755
2731
|
validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
|
|
2756
2732
|
scrollToField: (prop: FormItemProp) => void;
|
|
2757
2733
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2758
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
2759
|
-
* TODO: 将会在v0.2.0中移除
|
|
2760
|
-
*/
|
|
2734
|
+
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
2761
2735
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2762
2736
|
readonly model: ObjectConstructor;
|
|
2763
2737
|
readonly rules: {
|
|
@@ -2910,10 +2884,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2910
2884
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2911
2885
|
addField: (field: FormItemContext) => void;
|
|
2912
2886
|
removeField: (field: FormItemContext) => void;
|
|
2913
|
-
/**
|
|
2914
|
-
* 设置搜索的值
|
|
2915
|
-
* @version v0.1.17
|
|
2916
|
-
*/
|
|
2917
2887
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2918
2888
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2919
2889
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -2951,14 +2921,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2951
2921
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2952
2922
|
columns?: PlusColumn[] | undefined;
|
|
2953
2923
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2954
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2924
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2955
2925
|
readonly label: string | ComputedRef<string>;
|
|
2956
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2926
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2957
2927
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2958
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2928
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2959
2929
|
style?: CSSProperties | undefined;
|
|
2960
2930
|
class?: any;
|
|
2961
|
-
} & RecordType> | ComputedRef<
|
|
2931
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2962
2932
|
style?: CSSProperties | undefined;
|
|
2963
2933
|
class?: any;
|
|
2964
2934
|
} & RecordType>>;
|
|
@@ -3025,12 +2995,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3025
2995
|
fieldInstance?: any;
|
|
3026
2996
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3027
2997
|
prop: string;
|
|
3028
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2998
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3029
2999
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3030
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3000
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3031
3001
|
style?: CSSProperties | undefined;
|
|
3032
3002
|
class?: any;
|
|
3033
|
-
} & RecordType> | ComputedRef<
|
|
3003
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3034
3004
|
style?: CSSProperties | undefined;
|
|
3035
3005
|
class?: any;
|
|
3036
3006
|
} & RecordType>>;
|
|
@@ -3059,14 +3029,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3059
3029
|
clearable: boolean;
|
|
3060
3030
|
index: number;
|
|
3061
3031
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
3062
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
3032
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3063
3033
|
readonly label: string | ComputedRef<string>;
|
|
3064
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3034
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3065
3035
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3066
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3036
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3067
3037
|
style?: CSSProperties | undefined;
|
|
3068
3038
|
class?: any;
|
|
3069
|
-
} & RecordType> | ComputedRef<
|
|
3039
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3070
3040
|
style?: CSSProperties | undefined;
|
|
3071
3041
|
class?: any;
|
|
3072
3042
|
} & RecordType>>;
|
|
@@ -3133,12 +3103,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3133
3103
|
fieldInstance?: any;
|
|
3134
3104
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3135
3105
|
prop: string;
|
|
3136
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3106
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3137
3107
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3138
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3108
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3139
3109
|
style?: CSSProperties | undefined;
|
|
3140
3110
|
class?: any;
|
|
3141
|
-
} & RecordType> | ComputedRef<
|
|
3111
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3142
3112
|
style?: CSSProperties | undefined;
|
|
3143
3113
|
class?: any;
|
|
3144
3114
|
} & RecordType>>;
|
|
@@ -3185,14 +3155,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3185
3155
|
handleUnfold: (e: MouseEvent) => void;
|
|
3186
3156
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3187
3157
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3188
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
3158
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3189
3159
|
readonly label: string | ComputedRef<string>;
|
|
3190
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3160
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3191
3161
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3192
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3162
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3193
3163
|
style?: CSSProperties | undefined;
|
|
3194
3164
|
class?: any;
|
|
3195
|
-
} & RecordType> | ComputedRef<
|
|
3165
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3196
3166
|
style?: CSSProperties | undefined;
|
|
3197
3167
|
class?: any;
|
|
3198
3168
|
} & RecordType>>;
|
|
@@ -3259,12 +3229,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3259
3229
|
fieldInstance?: any;
|
|
3260
3230
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3261
3231
|
prop: string;
|
|
3262
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3232
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3263
3233
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3264
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3234
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3265
3235
|
style?: CSSProperties | undefined;
|
|
3266
3236
|
class?: any;
|
|
3267
|
-
} & RecordType> | ComputedRef<
|
|
3237
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3268
3238
|
style?: CSSProperties | undefined;
|
|
3269
3239
|
class?: any;
|
|
3270
3240
|
} & RecordType>>;
|
|
@@ -3351,6 +3321,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3351
3321
|
offsetBottom?: number | undefined;
|
|
3352
3322
|
timeout?: number | undefined;
|
|
3353
3323
|
};
|
|
3324
|
+
columnsEmptyText: string;
|
|
3354
3325
|
}> & Omit<{
|
|
3355
3326
|
readonly data: RecordType[];
|
|
3356
3327
|
readonly columns: PlusColumn[];
|
|
@@ -3392,6 +3363,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3392
3363
|
offsetBottom?: number | undefined;
|
|
3393
3364
|
timeout?: number | undefined;
|
|
3394
3365
|
};
|
|
3366
|
+
readonly columnsEmptyText: string;
|
|
3395
3367
|
readonly height?: string | number | undefined;
|
|
3396
3368
|
readonly radioProps?: Partial< PlusRadioProps & {
|
|
3397
3369
|
style?: CSSProperties | undefined;
|
|
@@ -3543,6 +3515,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3543
3515
|
filterTableHeaderOverflowLabelLength: {
|
|
3544
3516
|
type: PropType<number>;
|
|
3545
3517
|
};
|
|
3518
|
+
columnsEmptyText: {
|
|
3519
|
+
type: PropType<string>;
|
|
3520
|
+
default: string;
|
|
3521
|
+
};
|
|
3546
3522
|
}>> & {
|
|
3547
3523
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3548
3524
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
@@ -3555,7 +3531,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3555
3531
|
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3556
3532
|
onEdited?: (() => any) | undefined;
|
|
3557
3533
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3558
|
-
}, "data" | "columns" | "headerCellStyle" | "rowKey" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "pagination" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive">;
|
|
3534
|
+
}, "data" | "columns" | "headerCellStyle" | "rowKey" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "pagination" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive" | "columnsEmptyText">;
|
|
3559
3535
|
$attrs: {
|
|
3560
3536
|
[x: string]: unknown;
|
|
3561
3537
|
};
|
|
@@ -3702,6 +3678,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3702
3678
|
filterTableHeaderOverflowLabelLength: {
|
|
3703
3679
|
type: PropType<number>;
|
|
3704
3680
|
};
|
|
3681
|
+
columnsEmptyText: {
|
|
3682
|
+
type: PropType<string>;
|
|
3683
|
+
default: string;
|
|
3684
|
+
};
|
|
3705
3685
|
}>> & {
|
|
3706
3686
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3707
3687
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
@@ -3727,9 +3707,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3727
3707
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3728
3708
|
__epPropKey: true;
|
|
3729
3709
|
};
|
|
3730
|
-
width: (
|
|
3731
|
-
height: (
|
|
3732
|
-
maxHeight: (
|
|
3710
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
3711
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
3712
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
3733
3713
|
fit: {
|
|
3734
3714
|
type: BooleanConstructor;
|
|
3735
3715
|
default: boolean;
|
|
@@ -3753,13 +3733,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3753
3733
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3754
3734
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3755
3735
|
highlightCurrentRow: BooleanConstructor;
|
|
3756
|
-
currentRowKey: (
|
|
3736
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
3757
3737
|
emptyText: StringConstructor;
|
|
3758
3738
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3759
3739
|
defaultExpandAll: BooleanConstructor;
|
|
3760
3740
|
defaultSort: PropType< Sort | undefined>;
|
|
3761
3741
|
tooltipEffect: StringConstructor;
|
|
3762
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3742
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3763
3743
|
spanMethod: PropType<((data: {
|
|
3764
3744
|
row: any;
|
|
3765
3745
|
rowIndex: number;
|
|
@@ -3803,7 +3783,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3803
3783
|
};
|
|
3804
3784
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3805
3785
|
flexible: BooleanConstructor;
|
|
3806
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3786
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3807
3787
|
}>> & {
|
|
3808
3788
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3809
3789
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3882,7 +3862,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3882
3862
|
setDragVisible: (visible: boolean) => void;
|
|
3883
3863
|
context: Table<any>;
|
|
3884
3864
|
computedSumText: ComputedRef<string>;
|
|
3885
|
-
computedEmptyText: ComputedRef<string>;
|
|
3865
|
+
computedEmptyText: ComputedRef<string>; /**
|
|
3866
|
+
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
3867
|
+
*/
|
|
3886
3868
|
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
3887
3869
|
scrollbarViewStyle: {
|
|
3888
3870
|
display: string;
|
|
@@ -3923,9 +3905,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3923
3905
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3924
3906
|
__epPropKey: true;
|
|
3925
3907
|
};
|
|
3926
|
-
width: (
|
|
3927
|
-
height: (
|
|
3928
|
-
maxHeight: (
|
|
3908
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
3909
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
3910
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
3929
3911
|
fit: {
|
|
3930
3912
|
type: BooleanConstructor;
|
|
3931
3913
|
default: boolean;
|
|
@@ -3949,13 +3931,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3949
3931
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3950
3932
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3951
3933
|
highlightCurrentRow: BooleanConstructor;
|
|
3952
|
-
currentRowKey: (
|
|
3934
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
3953
3935
|
emptyText: StringConstructor;
|
|
3954
3936
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3955
3937
|
defaultExpandAll: BooleanConstructor;
|
|
3956
3938
|
defaultSort: PropType< Sort | undefined>;
|
|
3957
3939
|
tooltipEffect: StringConstructor;
|
|
3958
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3940
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3959
3941
|
spanMethod: PropType<((data: {
|
|
3960
3942
|
row: any;
|
|
3961
3943
|
rowIndex: number;
|
|
@@ -3999,7 +3981,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3999
3981
|
};
|
|
4000
3982
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4001
3983
|
flexible: BooleanConstructor;
|
|
4002
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3984
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4003
3985
|
}>> & {
|
|
4004
3986
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4005
3987
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4058,9 +4040,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4058
4040
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4059
4041
|
__epPropKey: true;
|
|
4060
4042
|
};
|
|
4061
|
-
width: (
|
|
4062
|
-
height: (
|
|
4063
|
-
maxHeight: (
|
|
4043
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
4044
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
4045
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
4064
4046
|
fit: {
|
|
4065
4047
|
type: BooleanConstructor;
|
|
4066
4048
|
default: boolean;
|
|
@@ -4084,13 +4066,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4084
4066
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4085
4067
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4086
4068
|
highlightCurrentRow: BooleanConstructor;
|
|
4087
|
-
currentRowKey: (
|
|
4069
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
4088
4070
|
emptyText: StringConstructor;
|
|
4089
4071
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4090
4072
|
defaultExpandAll: BooleanConstructor;
|
|
4091
4073
|
defaultSort: PropType< Sort | undefined>;
|
|
4092
4074
|
tooltipEffect: StringConstructor;
|
|
4093
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4075
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4094
4076
|
spanMethod: PropType<((data: {
|
|
4095
4077
|
row: any;
|
|
4096
4078
|
rowIndex: number;
|
|
@@ -4134,7 +4116,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4134
4116
|
};
|
|
4135
4117
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4136
4118
|
flexible: BooleanConstructor;
|
|
4137
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4119
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4138
4120
|
}>> & {
|
|
4139
4121
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4140
4122
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4213,7 +4195,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4213
4195
|
setDragVisible: (visible: boolean) => void;
|
|
4214
4196
|
context: Table<any>;
|
|
4215
4197
|
computedSumText: ComputedRef<string>;
|
|
4216
|
-
computedEmptyText: ComputedRef<string>;
|
|
4198
|
+
computedEmptyText: ComputedRef<string>; /**
|
|
4199
|
+
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
4200
|
+
*/
|
|
4217
4201
|
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
4218
4202
|
scrollbarViewStyle: {
|
|
4219
4203
|
display: string;
|
|
@@ -4323,6 +4307,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4323
4307
|
offsetBottom?: number | undefined;
|
|
4324
4308
|
timeout?: number | undefined;
|
|
4325
4309
|
};
|
|
4310
|
+
columnsEmptyText: string;
|
|
4326
4311
|
}, {}, string, {}> & {
|
|
4327
4312
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
4328
4313
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -4476,6 +4461,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4476
4461
|
filterTableHeaderOverflowLabelLength: {
|
|
4477
4462
|
type: PropType<number>;
|
|
4478
4463
|
};
|
|
4464
|
+
columnsEmptyText: {
|
|
4465
|
+
type: PropType<string>;
|
|
4466
|
+
default: string;
|
|
4467
|
+
};
|
|
4479
4468
|
}>> & {
|
|
4480
4469
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4481
4470
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
@@ -4501,9 +4490,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4501
4490
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4502
4491
|
__epPropKey: true;
|
|
4503
4492
|
};
|
|
4504
|
-
width: (
|
|
4505
|
-
height: (
|
|
4506
|
-
maxHeight: (
|
|
4493
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
4494
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
4495
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
4507
4496
|
fit: {
|
|
4508
4497
|
type: BooleanConstructor;
|
|
4509
4498
|
default: boolean;
|
|
@@ -4527,13 +4516,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4527
4516
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4528
4517
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4529
4518
|
highlightCurrentRow: BooleanConstructor;
|
|
4530
|
-
currentRowKey: (
|
|
4519
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
4531
4520
|
emptyText: StringConstructor;
|
|
4532
4521
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4533
4522
|
defaultExpandAll: BooleanConstructor;
|
|
4534
4523
|
defaultSort: PropType< Sort | undefined>;
|
|
4535
4524
|
tooltipEffect: StringConstructor;
|
|
4536
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4525
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4537
4526
|
spanMethod: PropType<((data: {
|
|
4538
4527
|
row: any;
|
|
4539
4528
|
rowIndex: number;
|
|
@@ -4577,7 +4566,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4577
4566
|
};
|
|
4578
4567
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4579
4568
|
flexible: BooleanConstructor;
|
|
4580
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4569
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4581
4570
|
}>> & {
|
|
4582
4571
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4583
4572
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4656,7 +4645,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4656
4645
|
setDragVisible: (visible: boolean) => void;
|
|
4657
4646
|
context: Table<any>;
|
|
4658
4647
|
computedSumText: ComputedRef<string>;
|
|
4659
|
-
computedEmptyText: ComputedRef<string>;
|
|
4648
|
+
computedEmptyText: ComputedRef<string>; /**
|
|
4649
|
+
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
4650
|
+
*/
|
|
4660
4651
|
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
4661
4652
|
scrollbarViewStyle: {
|
|
4662
4653
|
display: string;
|
|
@@ -4697,9 +4688,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4697
4688
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4698
4689
|
__epPropKey: true;
|
|
4699
4690
|
};
|
|
4700
|
-
width: (
|
|
4701
|
-
height: (
|
|
4702
|
-
maxHeight: (
|
|
4691
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
4692
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
4693
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
4703
4694
|
fit: {
|
|
4704
4695
|
type: BooleanConstructor;
|
|
4705
4696
|
default: boolean;
|
|
@@ -4723,13 +4714,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4723
4714
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4724
4715
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4725
4716
|
highlightCurrentRow: BooleanConstructor;
|
|
4726
|
-
currentRowKey: (
|
|
4717
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
4727
4718
|
emptyText: StringConstructor;
|
|
4728
4719
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4729
4720
|
defaultExpandAll: BooleanConstructor;
|
|
4730
4721
|
defaultSort: PropType< Sort | undefined>;
|
|
4731
4722
|
tooltipEffect: StringConstructor;
|
|
4732
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4723
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4733
4724
|
spanMethod: PropType<((data: {
|
|
4734
4725
|
row: any;
|
|
4735
4726
|
rowIndex: number;
|
|
@@ -4773,7 +4764,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4773
4764
|
};
|
|
4774
4765
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4775
4766
|
flexible: BooleanConstructor;
|
|
4776
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4767
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4777
4768
|
}>> & {
|
|
4778
4769
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4779
4770
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4832,9 +4823,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4832
4823
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4833
4824
|
__epPropKey: true;
|
|
4834
4825
|
};
|
|
4835
|
-
width: (
|
|
4836
|
-
height: (
|
|
4837
|
-
maxHeight: (
|
|
4826
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
4827
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
4828
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
4838
4829
|
fit: {
|
|
4839
4830
|
type: BooleanConstructor;
|
|
4840
4831
|
default: boolean;
|
|
@@ -4858,13 +4849,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4858
4849
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4859
4850
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4860
4851
|
highlightCurrentRow: BooleanConstructor;
|
|
4861
|
-
currentRowKey: (
|
|
4852
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
4862
4853
|
emptyText: StringConstructor;
|
|
4863
4854
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4864
4855
|
defaultExpandAll: BooleanConstructor;
|
|
4865
4856
|
defaultSort: PropType< Sort | undefined>;
|
|
4866
4857
|
tooltipEffect: StringConstructor;
|
|
4867
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4858
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4868
4859
|
spanMethod: PropType<((data: {
|
|
4869
4860
|
row: any;
|
|
4870
4861
|
rowIndex: number;
|
|
@@ -4908,7 +4899,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4908
4899
|
};
|
|
4909
4900
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4910
4901
|
flexible: BooleanConstructor;
|
|
4911
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4902
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4912
4903
|
}>> & {
|
|
4913
4904
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4914
4905
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4987,7 +4978,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4987
4978
|
setDragVisible: (visible: boolean) => void;
|
|
4988
4979
|
context: Table<any>;
|
|
4989
4980
|
computedSumText: ComputedRef<string>;
|
|
4990
|
-
computedEmptyText: ComputedRef<string>;
|
|
4981
|
+
computedEmptyText: ComputedRef<string>; /**
|
|
4982
|
+
* 分页组件的其他参数,不包含total,modelValue,pageSizeList
|
|
4983
|
+
*/
|
|
4991
4984
|
tableLayout: ComputedRef<"fixed" | "auto" | undefined>;
|
|
4992
4985
|
scrollbarViewStyle: {
|
|
4993
4986
|
display: string;
|
|
@@ -5110,6 +5103,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5110
5103
|
pageSize: string;
|
|
5111
5104
|
};
|
|
5112
5105
|
searchSlot: boolean;
|
|
5106
|
+
columnsEmptyText: string;
|
|
5113
5107
|
}>>> & {
|
|
5114
5108
|
onReset?: ((data: FieldValues) => any) | undefined;
|
|
5115
5109
|
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
@@ -5128,7 +5122,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5128
5122
|
columns: PlusColumn[];
|
|
5129
5123
|
immediate: boolean;
|
|
5130
5124
|
params: RecordType;
|
|
5131
|
-
pagination: false | Omit<PlusPaginationProps, "
|
|
5125
|
+
pagination: false | Omit<PlusPaginationProps, "modelValue" | "total" | "pageSizeList">;
|
|
5126
|
+
columnsEmptyText: string;
|
|
5132
5127
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
5133
5128
|
beforeSearchSubmit: <T_2 = RecordType>(params: T_2) => T_2;
|
|
5134
5129
|
isCard: boolean;
|
|
@@ -5149,14 +5144,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5149
5144
|
};
|
|
5150
5145
|
searchSlot: boolean;
|
|
5151
5146
|
}, {}>, Partial<Record<never, (_: {
|
|
5152
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
5147
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5153
5148
|
readonly label: string | ComputedRef<string>;
|
|
5154
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5149
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5155
5150
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5156
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5151
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5157
5152
|
style?: CSSProperties | undefined;
|
|
5158
5153
|
class?: any;
|
|
5159
|
-
} & RecordType> | ComputedRef<
|
|
5154
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5160
5155
|
style?: CSSProperties | undefined;
|
|
5161
5156
|
class?: any;
|
|
5162
5157
|
} & RecordType>>;
|
|
@@ -5223,12 +5218,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5223
5218
|
fieldInstance?: any;
|
|
5224
5219
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5225
5220
|
prop: string;
|
|
5226
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5221
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5227
5222
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5228
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5223
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5229
5224
|
style?: CSSProperties | undefined;
|
|
5230
5225
|
class?: any;
|
|
5231
|
-
} & RecordType> | ComputedRef<
|
|
5226
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5232
5227
|
style?: CSSProperties | undefined;
|
|
5233
5228
|
class?: any;
|
|
5234
5229
|
} & RecordType>>;
|