yc-pro-components 0.0.19 → 0.0.20
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/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 +20 -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 +452 -452
- package/es/components/page/src/index.vue.d.ts +154 -154
- 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 +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- 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/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 +360 -360
- 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/directive.d.ts +0 -4
- package/es/components/yc-select-v2/src/directive.mjs +70 -17
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-select-v2/src/index.vue2.mjs +18 -6
- 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/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +1 -0
- package/index.css +14 -0
- package/index.js +88 -21
- package/index.min.css +1 -0
- package/index.min.js +4 -4
- package/index.min.mjs +5 -5
- package/index.mjs +88 -21
- 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/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 +20 -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 +452 -452
- package/lib/components/page/src/index.vue.d.ts +154 -154
- 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 +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- 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/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 +360 -360
- 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/directive.d.ts +0 -4
- package/lib/components/yc-select-v2/src/directive.js +70 -17
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-select-v2/src/index.vue2.js +17 -5
- 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/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +1 -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
|
@@ -141,8 +141,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
141
141
|
$: ComponentInternalInstance;
|
|
142
142
|
$data: {};
|
|
143
143
|
$props: Partial<{
|
|
144
|
-
modelValue: FieldValues;
|
|
145
144
|
columns: PlusColumn[];
|
|
145
|
+
modelValue: FieldValues;
|
|
146
146
|
labelPosition: "top" | "right" | "left";
|
|
147
147
|
inline: boolean;
|
|
148
148
|
showNumber: number;
|
|
@@ -168,8 +168,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
168
168
|
searchIcon: Component | null;
|
|
169
169
|
resetIcon: Component | null;
|
|
170
170
|
}> & Omit<{
|
|
171
|
-
readonly modelValue: FieldValues;
|
|
172
171
|
readonly columns: PlusColumn[];
|
|
172
|
+
readonly modelValue: FieldValues;
|
|
173
173
|
readonly inline: boolean;
|
|
174
174
|
readonly showNumber: number;
|
|
175
175
|
readonly defaultValues: FieldValues;
|
|
@@ -194,20 +194,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
194
194
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
195
195
|
readonly searchIcon?: Component | null | undefined;
|
|
196
196
|
readonly resetIcon?: Component | null | undefined;
|
|
197
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
198
197
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
199
198
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
199
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
200
200
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
201
201
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
202
202
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
203
|
-
modelValue: {
|
|
204
|
-
type: PropType<FieldValues>;
|
|
205
|
-
default: () => {};
|
|
206
|
-
};
|
|
207
203
|
columns: {
|
|
208
204
|
type: PropType<PlusColumn[]>;
|
|
209
205
|
default: () => never[];
|
|
210
206
|
};
|
|
207
|
+
modelValue: {
|
|
208
|
+
type: PropType<FieldValues>;
|
|
209
|
+
default: () => {};
|
|
210
|
+
};
|
|
211
211
|
labelPosition: {
|
|
212
212
|
type: PropType<"top" | "right" | "left">;
|
|
213
213
|
default: undefined;
|
|
@@ -295,12 +295,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
295
295
|
default: undefined;
|
|
296
296
|
};
|
|
297
297
|
}>> & {
|
|
298
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
299
298
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
300
299
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
300
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
301
301
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
302
302
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
303
|
-
}, "
|
|
303
|
+
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
304
304
|
$attrs: {
|
|
305
305
|
[x: string]: unknown;
|
|
306
306
|
};
|
|
@@ -312,17 +312,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
312
312
|
}>;
|
|
313
313
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
314
314
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
315
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
315
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
316
316
|
$el: any;
|
|
317
317
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
318
|
-
modelValue: {
|
|
319
|
-
type: PropType<FieldValues>;
|
|
320
|
-
default: () => {};
|
|
321
|
-
};
|
|
322
318
|
columns: {
|
|
323
319
|
type: PropType<PlusColumn[]>;
|
|
324
320
|
default: () => never[];
|
|
325
321
|
};
|
|
322
|
+
modelValue: {
|
|
323
|
+
type: PropType<FieldValues>;
|
|
324
|
+
default: () => {};
|
|
325
|
+
};
|
|
326
326
|
labelPosition: {
|
|
327
327
|
type: PropType<"top" | "right" | "left">;
|
|
328
328
|
default: undefined;
|
|
@@ -410,9 +410,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
410
410
|
default: undefined;
|
|
411
411
|
};
|
|
412
412
|
}>> & {
|
|
413
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
414
413
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
415
414
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
415
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
416
416
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
417
417
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
418
418
|
}, {
|
|
@@ -420,11 +420,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
420
420
|
$: ComponentInternalInstance;
|
|
421
421
|
$data: {};
|
|
422
422
|
$props: Partial<{
|
|
423
|
-
modelValue: FieldValues;
|
|
424
423
|
collapseDuration: number;
|
|
425
424
|
collapseTransition: boolean;
|
|
426
425
|
columns: PlusColumn[];
|
|
427
426
|
group: false | PlusFormGroupRow[];
|
|
427
|
+
modelValue: FieldValues;
|
|
428
428
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
429
429
|
labelPosition: "top" | "right" | "left";
|
|
430
430
|
labelWidth: string | number;
|
|
@@ -445,7 +445,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
445
445
|
submitText: string;
|
|
446
446
|
resetText: string;
|
|
447
447
|
submitLoading: boolean;
|
|
448
|
-
footerAlign: "
|
|
448
|
+
footerAlign: "right" | "left" | "center";
|
|
449
449
|
cardProps: Partial< Mutable<CardProps> & {
|
|
450
450
|
style?: CSSProperties | undefined;
|
|
451
451
|
class?: any;
|
|
@@ -453,9 +453,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
453
453
|
prevent: boolean;
|
|
454
454
|
clearable: boolean;
|
|
455
455
|
}> & Omit<{
|
|
456
|
-
readonly modelValue: FieldValues;
|
|
457
456
|
readonly columns: PlusColumn[];
|
|
458
457
|
readonly group: false | PlusFormGroupRow[];
|
|
458
|
+
readonly modelValue: FieldValues;
|
|
459
459
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
460
460
|
readonly labelPosition: "top" | "right" | "left";
|
|
461
461
|
readonly labelWidth: string | number;
|
|
@@ -476,7 +476,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
476
476
|
readonly submitText: string;
|
|
477
477
|
readonly resetText: string;
|
|
478
478
|
readonly submitLoading: boolean;
|
|
479
|
-
readonly footerAlign: "
|
|
479
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
480
480
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
481
481
|
style?: CSSProperties | undefined;
|
|
482
482
|
class?: any;
|
|
@@ -485,17 +485,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
485
485
|
readonly clearable: boolean;
|
|
486
486
|
readonly collapseDuration?: number | undefined;
|
|
487
487
|
readonly collapseTransition?: boolean | undefined;
|
|
488
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
489
488
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
490
489
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
491
490
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
491
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
492
492
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
493
493
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
494
494
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
495
|
-
modelValue: {
|
|
496
|
-
type: PropType<FieldValues>;
|
|
497
|
-
default: () => {};
|
|
498
|
-
};
|
|
499
495
|
collapseDuration: {
|
|
500
496
|
type: PropType<number>;
|
|
501
497
|
default: undefined;
|
|
@@ -512,6 +508,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
512
508
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
513
509
|
default: boolean;
|
|
514
510
|
};
|
|
511
|
+
modelValue: {
|
|
512
|
+
type: PropType<FieldValues>;
|
|
513
|
+
default: () => {};
|
|
514
|
+
};
|
|
515
515
|
rules: {
|
|
516
516
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
517
517
|
default: () => {};
|
|
@@ -575,7 +575,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
575
575
|
default: boolean;
|
|
576
576
|
};
|
|
577
577
|
footerAlign: {
|
|
578
|
-
type: PropType<"
|
|
578
|
+
type: PropType<"right" | "left" | "center">;
|
|
579
579
|
default: string;
|
|
580
580
|
};
|
|
581
581
|
cardProps: {
|
|
@@ -594,13 +594,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
594
594
|
default: boolean;
|
|
595
595
|
};
|
|
596
596
|
}>> & {
|
|
597
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
598
597
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
599
598
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
600
599
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
600
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
601
601
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
602
602
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
603
|
-
}, "
|
|
603
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
604
604
|
$attrs: {
|
|
605
605
|
[x: string]: unknown;
|
|
606
606
|
};
|
|
@@ -612,13 +612,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
612
612
|
}>;
|
|
613
613
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
614
614
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
615
|
-
$emit: ((event: "
|
|
615
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
616
616
|
$el: any;
|
|
617
617
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
618
|
-
modelValue: {
|
|
619
|
-
type: PropType<FieldValues>;
|
|
620
|
-
default: () => {};
|
|
621
|
-
};
|
|
622
618
|
collapseDuration: {
|
|
623
619
|
type: PropType<number>;
|
|
624
620
|
default: undefined;
|
|
@@ -635,6 +631,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
635
631
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
636
632
|
default: boolean;
|
|
637
633
|
};
|
|
634
|
+
modelValue: {
|
|
635
|
+
type: PropType<FieldValues>;
|
|
636
|
+
default: () => {};
|
|
637
|
+
};
|
|
638
638
|
rules: {
|
|
639
639
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
640
640
|
default: () => {};
|
|
@@ -698,7 +698,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
698
698
|
default: boolean;
|
|
699
699
|
};
|
|
700
700
|
footerAlign: {
|
|
701
|
-
type: PropType<"
|
|
701
|
+
type: PropType<"right" | "left" | "center">;
|
|
702
702
|
default: string;
|
|
703
703
|
};
|
|
704
704
|
cardProps: {
|
|
@@ -717,10 +717,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
717
717
|
default: boolean;
|
|
718
718
|
};
|
|
719
719
|
}>> & {
|
|
720
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
721
720
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
722
721
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
723
722
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
723
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
724
724
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
725
725
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
726
726
|
}, {
|
|
@@ -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;
|
|
1020
1019
|
collapseDuration: number;
|
|
1021
1020
|
collapseTransition: boolean;
|
|
1022
1021
|
columns: PlusColumn[];
|
|
1023
1022
|
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: "right" | "left" | "center";
|
|
1045
1045
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1046
1046
|
style?: CSSProperties | undefined;
|
|
1047
1047
|
class?: any;
|
|
@@ -1069,10 +1069,6 @@ 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
|
-
};
|
|
1076
1072
|
collapseDuration: {
|
|
1077
1073
|
type: PropType<number>;
|
|
1078
1074
|
default: undefined;
|
|
@@ -1089,6 +1085,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1089
1085
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1090
1086
|
default: boolean;
|
|
1091
1087
|
};
|
|
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<"right" | "left" | "center">;
|
|
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;
|
|
1175
1174
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1176
1175
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1177
1176
|
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<{
|
|
@@ -1475,14 +1475,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1475
1475
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1476
1476
|
columns?: PlusColumn[] | undefined;
|
|
1477
1477
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1478
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1478
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1479
1479
|
readonly label: string | ComputedRef<string>;
|
|
1480
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1480
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1481
1481
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1482
|
-
readonly tooltip: string |
|
|
1482
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1483
1483
|
style?: CSSProperties | undefined;
|
|
1484
1484
|
class?: any;
|
|
1485
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1485
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1486
1486
|
style?: CSSProperties | undefined;
|
|
1487
1487
|
class?: any;
|
|
1488
1488
|
} & RecordType>>;
|
|
@@ -1549,12 +1549,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1549
1549
|
fieldInstance?: any;
|
|
1550
1550
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1551
1551
|
prop: string;
|
|
1552
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1552
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1553
1553
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1554
|
-
tooltip: string |
|
|
1554
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1555
1555
|
style?: CSSProperties | undefined;
|
|
1556
1556
|
class?: any;
|
|
1557
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1557
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1558
1558
|
style?: CSSProperties | undefined;
|
|
1559
1559
|
class?: any;
|
|
1560
1560
|
} & RecordType>>;
|
|
@@ -1583,14 +1583,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1583
1583
|
clearable: boolean;
|
|
1584
1584
|
index: number;
|
|
1585
1585
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1586
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1586
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1587
1587
|
readonly label: string | ComputedRef<string>;
|
|
1588
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1588
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1589
1589
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1590
|
-
readonly tooltip: string |
|
|
1590
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1591
1591
|
style?: CSSProperties | undefined;
|
|
1592
1592
|
class?: any;
|
|
1593
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1593
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1594
1594
|
style?: CSSProperties | undefined;
|
|
1595
1595
|
class?: any;
|
|
1596
1596
|
} & RecordType>>;
|
|
@@ -1657,12 +1657,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1657
1657
|
fieldInstance?: any;
|
|
1658
1658
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1659
1659
|
prop: string;
|
|
1660
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1660
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1661
1661
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1662
|
-
tooltip: string |
|
|
1662
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1663
1663
|
style?: CSSProperties | undefined;
|
|
1664
1664
|
class?: any;
|
|
1665
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1665
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1666
1666
|
style?: CSSProperties | undefined;
|
|
1667
1667
|
class?: any;
|
|
1668
1668
|
} & RecordType>>;
|
|
@@ -1714,8 +1714,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1714
1714
|
reset: (values: FieldValues) => void;
|
|
1715
1715
|
collapse: (isShowUnfold: boolean) => void;
|
|
1716
1716
|
}, string, {
|
|
1717
|
-
modelValue: FieldValues;
|
|
1718
1717
|
columns: PlusColumn[];
|
|
1718
|
+
modelValue: FieldValues;
|
|
1719
1719
|
labelPosition: "top" | "right" | "left";
|
|
1720
1720
|
inline: boolean;
|
|
1721
1721
|
showNumber: number;
|
|
@@ -1761,14 +1761,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1761
1761
|
$nextTick: nextTick;
|
|
1762
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;
|
|
1763
1763
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1764
|
-
modelValue: {
|
|
1765
|
-
type: PropType<FieldValues>;
|
|
1766
|
-
default: () => {};
|
|
1767
|
-
};
|
|
1768
1764
|
columns: {
|
|
1769
1765
|
type: PropType<PlusColumn[]>;
|
|
1770
1766
|
default: () => never[];
|
|
1771
1767
|
};
|
|
1768
|
+
modelValue: {
|
|
1769
|
+
type: PropType<FieldValues>;
|
|
1770
|
+
default: () => {};
|
|
1771
|
+
};
|
|
1772
1772
|
labelPosition: {
|
|
1773
1773
|
type: PropType<"top" | "right" | "left">;
|
|
1774
1774
|
default: undefined;
|
|
@@ -1856,9 +1856,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1856
1856
|
default: undefined;
|
|
1857
1857
|
};
|
|
1858
1858
|
}>> & {
|
|
1859
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1860
1859
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1861
1860
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1861
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1862
1862
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1863
1863
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1864
1864
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1866,11 +1866,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1866
1866
|
$: ComponentInternalInstance;
|
|
1867
1867
|
$data: {};
|
|
1868
1868
|
$props: Partial<{
|
|
1869
|
-
modelValue: FieldValues;
|
|
1870
1869
|
collapseDuration: number;
|
|
1871
1870
|
collapseTransition: boolean;
|
|
1872
1871
|
columns: PlusColumn[];
|
|
1873
1872
|
group: false | PlusFormGroupRow[];
|
|
1873
|
+
modelValue: FieldValues;
|
|
1874
1874
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1875
1875
|
labelPosition: "top" | "right" | "left";
|
|
1876
1876
|
labelWidth: string | number;
|
|
@@ -1891,7 +1891,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1891
1891
|
submitText: string;
|
|
1892
1892
|
resetText: string;
|
|
1893
1893
|
submitLoading: boolean;
|
|
1894
|
-
footerAlign: "
|
|
1894
|
+
footerAlign: "right" | "left" | "center";
|
|
1895
1895
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1896
1896
|
style?: CSSProperties | undefined;
|
|
1897
1897
|
class?: any;
|
|
@@ -1899,9 +1899,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1899
1899
|
prevent: boolean;
|
|
1900
1900
|
clearable: boolean;
|
|
1901
1901
|
}> & Omit<{
|
|
1902
|
-
readonly modelValue: FieldValues;
|
|
1903
1902
|
readonly columns: PlusColumn[];
|
|
1904
1903
|
readonly group: false | PlusFormGroupRow[];
|
|
1904
|
+
readonly modelValue: FieldValues;
|
|
1905
1905
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1906
1906
|
readonly labelPosition: "top" | "right" | "left";
|
|
1907
1907
|
readonly labelWidth: string | number;
|
|
@@ -1922,7 +1922,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1922
1922
|
readonly submitText: string;
|
|
1923
1923
|
readonly resetText: string;
|
|
1924
1924
|
readonly submitLoading: boolean;
|
|
1925
|
-
readonly footerAlign: "
|
|
1925
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1926
1926
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1927
1927
|
style?: CSSProperties | undefined;
|
|
1928
1928
|
class?: any;
|
|
@@ -1931,17 +1931,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1931
1931
|
readonly clearable: boolean;
|
|
1932
1932
|
readonly collapseDuration?: number | undefined;
|
|
1933
1933
|
readonly collapseTransition?: boolean | undefined;
|
|
1934
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1935
1934
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1936
1935
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1937
1936
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1937
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1938
1938
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1939
1939
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1940
1940
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1941
|
-
modelValue: {
|
|
1942
|
-
type: PropType<FieldValues>;
|
|
1943
|
-
default: () => {};
|
|
1944
|
-
};
|
|
1945
1941
|
collapseDuration: {
|
|
1946
1942
|
type: PropType<number>;
|
|
1947
1943
|
default: undefined;
|
|
@@ -1958,6 +1954,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1958
1954
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1959
1955
|
default: boolean;
|
|
1960
1956
|
};
|
|
1957
|
+
modelValue: {
|
|
1958
|
+
type: PropType<FieldValues>;
|
|
1959
|
+
default: () => {};
|
|
1960
|
+
};
|
|
1961
1961
|
rules: {
|
|
1962
1962
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1963
1963
|
default: () => {};
|
|
@@ -2021,7 +2021,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2021
2021
|
default: boolean;
|
|
2022
2022
|
};
|
|
2023
2023
|
footerAlign: {
|
|
2024
|
-
type: PropType<"
|
|
2024
|
+
type: PropType<"right" | "left" | "center">;
|
|
2025
2025
|
default: string;
|
|
2026
2026
|
};
|
|
2027
2027
|
cardProps: {
|
|
@@ -2040,13 +2040,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2040
2040
|
default: boolean;
|
|
2041
2041
|
};
|
|
2042
2042
|
}>> & {
|
|
2043
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2044
2043
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2045
2044
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2046
2045
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2046
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2047
2047
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2048
2048
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2049
|
-
}, "
|
|
2049
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2050
2050
|
$attrs: {
|
|
2051
2051
|
[x: string]: unknown;
|
|
2052
2052
|
};
|
|
@@ -2058,13 +2058,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2058
2058
|
}>;
|
|
2059
2059
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2060
2060
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2061
|
-
$emit: ((event: "
|
|
2061
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2062
2062
|
$el: any;
|
|
2063
2063
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2064
|
-
modelValue: {
|
|
2065
|
-
type: PropType<FieldValues>;
|
|
2066
|
-
default: () => {};
|
|
2067
|
-
};
|
|
2068
2064
|
collapseDuration: {
|
|
2069
2065
|
type: PropType<number>;
|
|
2070
2066
|
default: undefined;
|
|
@@ -2081,6 +2077,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2081
2077
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2082
2078
|
default: boolean;
|
|
2083
2079
|
};
|
|
2080
|
+
modelValue: {
|
|
2081
|
+
type: PropType<FieldValues>;
|
|
2082
|
+
default: () => {};
|
|
2083
|
+
};
|
|
2084
2084
|
rules: {
|
|
2085
2085
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2086
2086
|
default: () => {};
|
|
@@ -2144,7 +2144,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2144
2144
|
default: boolean;
|
|
2145
2145
|
};
|
|
2146
2146
|
footerAlign: {
|
|
2147
|
-
type: PropType<"
|
|
2147
|
+
type: PropType<"right" | "left" | "center">;
|
|
2148
2148
|
default: string;
|
|
2149
2149
|
};
|
|
2150
2150
|
cardProps: {
|
|
@@ -2163,10 +2163,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2163
2163
|
default: boolean;
|
|
2164
2164
|
};
|
|
2165
2165
|
}>> & {
|
|
2166
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2167
2166
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2168
2167
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2169
2168
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2169
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2170
2170
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2171
2171
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2172
2172
|
}, {
|
|
@@ -2462,11 +2462,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2462
2462
|
submitError: (errors: unknown) => void;
|
|
2463
2463
|
validate: (...args: any[]) => void;
|
|
2464
2464
|
}, string, {
|
|
2465
|
-
modelValue: FieldValues;
|
|
2466
2465
|
collapseDuration: number;
|
|
2467
2466
|
collapseTransition: boolean;
|
|
2468
2467
|
columns: PlusColumn[];
|
|
2469
2468
|
group: false | PlusFormGroupRow[];
|
|
2469
|
+
modelValue: FieldValues;
|
|
2470
2470
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2471
2471
|
labelPosition: "top" | "right" | "left";
|
|
2472
2472
|
labelWidth: string | number;
|
|
@@ -2487,7 +2487,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2487
2487
|
submitText: string;
|
|
2488
2488
|
resetText: string;
|
|
2489
2489
|
submitLoading: boolean;
|
|
2490
|
-
footerAlign: "
|
|
2490
|
+
footerAlign: "right" | "left" | "center";
|
|
2491
2491
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2492
2492
|
style?: CSSProperties | undefined;
|
|
2493
2493
|
class?: any;
|
|
@@ -2515,10 +2515,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2515
2515
|
$nextTick: nextTick;
|
|
2516
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;
|
|
2517
2517
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2518
|
-
modelValue: {
|
|
2519
|
-
type: PropType<FieldValues>;
|
|
2520
|
-
default: () => {};
|
|
2521
|
-
};
|
|
2522
2518
|
collapseDuration: {
|
|
2523
2519
|
type: PropType<number>;
|
|
2524
2520
|
default: undefined;
|
|
@@ -2535,6 +2531,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2535
2531
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2536
2532
|
default: boolean;
|
|
2537
2533
|
};
|
|
2534
|
+
modelValue: {
|
|
2535
|
+
type: PropType<FieldValues>;
|
|
2536
|
+
default: () => {};
|
|
2537
|
+
};
|
|
2538
2538
|
rules: {
|
|
2539
2539
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2540
2540
|
default: () => {};
|
|
@@ -2598,7 +2598,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2598
2598
|
default: boolean;
|
|
2599
2599
|
};
|
|
2600
2600
|
footerAlign: {
|
|
2601
|
-
type: PropType<"
|
|
2601
|
+
type: PropType<"right" | "left" | "center">;
|
|
2602
2602
|
default: string;
|
|
2603
2603
|
};
|
|
2604
2604
|
cardProps: {
|
|
@@ -2617,10 +2617,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2617
2617
|
default: boolean;
|
|
2618
2618
|
};
|
|
2619
2619
|
}>> & {
|
|
2620
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2621
2620
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2622
2621
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2623
2622
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2623
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2624
2624
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2625
2625
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2626
2626
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2921,14 +2921,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2921
2921
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2922
2922
|
columns?: PlusColumn[] | undefined;
|
|
2923
2923
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2924
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2924
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2925
2925
|
readonly label: string | ComputedRef<string>;
|
|
2926
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2926
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2927
2927
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2928
|
-
readonly tooltip: string |
|
|
2928
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2929
2929
|
style?: CSSProperties | undefined;
|
|
2930
2930
|
class?: any;
|
|
2931
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2931
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2932
2932
|
style?: CSSProperties | undefined;
|
|
2933
2933
|
class?: any;
|
|
2934
2934
|
} & RecordType>>;
|
|
@@ -2995,12 +2995,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2995
2995
|
fieldInstance?: any;
|
|
2996
2996
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2997
2997
|
prop: string;
|
|
2998
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2998
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2999
2999
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3000
|
-
tooltip: string |
|
|
3000
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3001
3001
|
style?: CSSProperties | undefined;
|
|
3002
3002
|
class?: any;
|
|
3003
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3003
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3004
3004
|
style?: CSSProperties | undefined;
|
|
3005
3005
|
class?: any;
|
|
3006
3006
|
} & RecordType>>;
|
|
@@ -3029,14 +3029,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3029
3029
|
clearable: boolean;
|
|
3030
3030
|
index: number;
|
|
3031
3031
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
3032
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3032
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3033
3033
|
readonly label: string | ComputedRef<string>;
|
|
3034
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3034
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3035
3035
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3036
|
-
readonly tooltip: string |
|
|
3036
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3037
3037
|
style?: CSSProperties | undefined;
|
|
3038
3038
|
class?: any;
|
|
3039
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3039
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3040
3040
|
style?: CSSProperties | undefined;
|
|
3041
3041
|
class?: any;
|
|
3042
3042
|
} & RecordType>>;
|
|
@@ -3103,12 +3103,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3103
3103
|
fieldInstance?: any;
|
|
3104
3104
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3105
3105
|
prop: string;
|
|
3106
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3106
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3107
3107
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3108
|
-
tooltip: string |
|
|
3108
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3109
3109
|
style?: CSSProperties | undefined;
|
|
3110
3110
|
class?: any;
|
|
3111
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3111
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3112
3112
|
style?: CSSProperties | undefined;
|
|
3113
3113
|
class?: any;
|
|
3114
3114
|
} & RecordType>>;
|
|
@@ -3155,14 +3155,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3155
3155
|
handleUnfold: (e: MouseEvent) => void;
|
|
3156
3156
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3157
3157
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3158
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3158
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3159
3159
|
readonly label: string | ComputedRef<string>;
|
|
3160
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3160
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3161
3161
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3162
|
-
readonly tooltip: string |
|
|
3162
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3163
3163
|
style?: CSSProperties | undefined;
|
|
3164
3164
|
class?: any;
|
|
3165
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3165
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3166
3166
|
style?: CSSProperties | undefined;
|
|
3167
3167
|
class?: any;
|
|
3168
3168
|
} & RecordType>>;
|
|
@@ -3229,12 +3229,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3229
3229
|
fieldInstance?: any;
|
|
3230
3230
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3231
3231
|
prop: string;
|
|
3232
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3232
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3233
3233
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3234
|
-
tooltip: string |
|
|
3234
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3235
3235
|
style?: CSSProperties | undefined;
|
|
3236
3236
|
class?: any;
|
|
3237
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3237
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3238
3238
|
style?: CSSProperties | undefined;
|
|
3239
3239
|
class?: any;
|
|
3240
3240
|
} & RecordType>>;
|
|
@@ -3707,9 +3707,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3707
3707
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3708
3708
|
__epPropKey: true;
|
|
3709
3709
|
};
|
|
3710
|
-
width: (
|
|
3711
|
-
height: (
|
|
3712
|
-
maxHeight: (
|
|
3710
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3711
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3712
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3713
3713
|
fit: {
|
|
3714
3714
|
type: BooleanConstructor;
|
|
3715
3715
|
default: boolean;
|
|
@@ -3733,13 +3733,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3733
3733
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3734
3734
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3735
3735
|
highlightCurrentRow: BooleanConstructor;
|
|
3736
|
-
currentRowKey: (
|
|
3736
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3737
3737
|
emptyText: StringConstructor;
|
|
3738
3738
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3739
3739
|
defaultExpandAll: BooleanConstructor;
|
|
3740
3740
|
defaultSort: PropType< Sort | undefined>;
|
|
3741
3741
|
tooltipEffect: StringConstructor;
|
|
3742
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3742
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3743
3743
|
spanMethod: PropType<((data: {
|
|
3744
3744
|
row: any;
|
|
3745
3745
|
rowIndex: number;
|
|
@@ -3783,7 +3783,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3783
3783
|
};
|
|
3784
3784
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3785
3785
|
flexible: BooleanConstructor;
|
|
3786
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3786
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3787
3787
|
}>> & {
|
|
3788
3788
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3789
3789
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3905,9 +3905,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3905
3905
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3906
3906
|
__epPropKey: true;
|
|
3907
3907
|
};
|
|
3908
|
-
width: (
|
|
3909
|
-
height: (
|
|
3910
|
-
maxHeight: (
|
|
3908
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3909
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3910
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3911
3911
|
fit: {
|
|
3912
3912
|
type: BooleanConstructor;
|
|
3913
3913
|
default: boolean;
|
|
@@ -3931,13 +3931,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3931
3931
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3932
3932
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3933
3933
|
highlightCurrentRow: BooleanConstructor;
|
|
3934
|
-
currentRowKey: (
|
|
3934
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3935
3935
|
emptyText: StringConstructor;
|
|
3936
3936
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3937
3937
|
defaultExpandAll: BooleanConstructor;
|
|
3938
3938
|
defaultSort: PropType< Sort | undefined>;
|
|
3939
3939
|
tooltipEffect: StringConstructor;
|
|
3940
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3940
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3941
3941
|
spanMethod: PropType<((data: {
|
|
3942
3942
|
row: any;
|
|
3943
3943
|
rowIndex: number;
|
|
@@ -3981,7 +3981,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3981
3981
|
};
|
|
3982
3982
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3983
3983
|
flexible: BooleanConstructor;
|
|
3984
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3984
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3985
3985
|
}>> & {
|
|
3986
3986
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3987
3987
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4040,9 +4040,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4040
4040
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4041
4041
|
__epPropKey: true;
|
|
4042
4042
|
};
|
|
4043
|
-
width: (
|
|
4044
|
-
height: (
|
|
4045
|
-
maxHeight: (
|
|
4043
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4044
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4045
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4046
4046
|
fit: {
|
|
4047
4047
|
type: BooleanConstructor;
|
|
4048
4048
|
default: boolean;
|
|
@@ -4066,13 +4066,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4066
4066
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4067
4067
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4068
4068
|
highlightCurrentRow: BooleanConstructor;
|
|
4069
|
-
currentRowKey: (
|
|
4069
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4070
4070
|
emptyText: StringConstructor;
|
|
4071
4071
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4072
4072
|
defaultExpandAll: BooleanConstructor;
|
|
4073
4073
|
defaultSort: PropType< Sort | undefined>;
|
|
4074
4074
|
tooltipEffect: StringConstructor;
|
|
4075
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4075
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4076
4076
|
spanMethod: PropType<((data: {
|
|
4077
4077
|
row: any;
|
|
4078
4078
|
rowIndex: number;
|
|
@@ -4116,7 +4116,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4116
4116
|
};
|
|
4117
4117
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4118
4118
|
flexible: BooleanConstructor;
|
|
4119
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4119
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4120
4120
|
}>> & {
|
|
4121
4121
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4122
4122
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4490,9 +4490,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4490
4490
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4491
4491
|
__epPropKey: true;
|
|
4492
4492
|
};
|
|
4493
|
-
width: (
|
|
4494
|
-
height: (
|
|
4495
|
-
maxHeight: (
|
|
4493
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4494
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4495
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4496
4496
|
fit: {
|
|
4497
4497
|
type: BooleanConstructor;
|
|
4498
4498
|
default: boolean;
|
|
@@ -4516,13 +4516,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4516
4516
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4517
4517
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4518
4518
|
highlightCurrentRow: BooleanConstructor;
|
|
4519
|
-
currentRowKey: (
|
|
4519
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4520
4520
|
emptyText: StringConstructor;
|
|
4521
4521
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4522
4522
|
defaultExpandAll: BooleanConstructor;
|
|
4523
4523
|
defaultSort: PropType< Sort | undefined>;
|
|
4524
4524
|
tooltipEffect: StringConstructor;
|
|
4525
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4525
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4526
4526
|
spanMethod: PropType<((data: {
|
|
4527
4527
|
row: any;
|
|
4528
4528
|
rowIndex: number;
|
|
@@ -4566,7 +4566,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4566
4566
|
};
|
|
4567
4567
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4568
4568
|
flexible: BooleanConstructor;
|
|
4569
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4569
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4570
4570
|
}>> & {
|
|
4571
4571
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4572
4572
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4688,9 +4688,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4688
4688
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4689
4689
|
__epPropKey: true;
|
|
4690
4690
|
};
|
|
4691
|
-
width: (
|
|
4692
|
-
height: (
|
|
4693
|
-
maxHeight: (
|
|
4691
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4692
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4693
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4694
4694
|
fit: {
|
|
4695
4695
|
type: BooleanConstructor;
|
|
4696
4696
|
default: boolean;
|
|
@@ -4714,13 +4714,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4714
4714
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4715
4715
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4716
4716
|
highlightCurrentRow: BooleanConstructor;
|
|
4717
|
-
currentRowKey: (
|
|
4717
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4718
4718
|
emptyText: StringConstructor;
|
|
4719
4719
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4720
4720
|
defaultExpandAll: BooleanConstructor;
|
|
4721
4721
|
defaultSort: PropType< Sort | undefined>;
|
|
4722
4722
|
tooltipEffect: StringConstructor;
|
|
4723
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4723
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4724
4724
|
spanMethod: PropType<((data: {
|
|
4725
4725
|
row: any;
|
|
4726
4726
|
rowIndex: number;
|
|
@@ -4764,7 +4764,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4764
4764
|
};
|
|
4765
4765
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4766
4766
|
flexible: BooleanConstructor;
|
|
4767
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4767
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4768
4768
|
}>> & {
|
|
4769
4769
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4770
4770
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4823,9 +4823,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4823
4823
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4824
4824
|
__epPropKey: true;
|
|
4825
4825
|
};
|
|
4826
|
-
width: (
|
|
4827
|
-
height: (
|
|
4828
|
-
maxHeight: (
|
|
4826
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4827
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4828
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4829
4829
|
fit: {
|
|
4830
4830
|
type: BooleanConstructor;
|
|
4831
4831
|
default: boolean;
|
|
@@ -4849,13 +4849,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4849
4849
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4850
4850
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4851
4851
|
highlightCurrentRow: BooleanConstructor;
|
|
4852
|
-
currentRowKey: (
|
|
4852
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4853
4853
|
emptyText: StringConstructor;
|
|
4854
4854
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4855
4855
|
defaultExpandAll: BooleanConstructor;
|
|
4856
4856
|
defaultSort: PropType< Sort | undefined>;
|
|
4857
4857
|
tooltipEffect: StringConstructor;
|
|
4858
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4858
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4859
4859
|
spanMethod: PropType<((data: {
|
|
4860
4860
|
row: any;
|
|
4861
4861
|
rowIndex: number;
|
|
@@ -4899,7 +4899,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4899
4899
|
};
|
|
4900
4900
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4901
4901
|
flexible: BooleanConstructor;
|
|
4902
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4902
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4903
4903
|
}>> & {
|
|
4904
4904
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4905
4905
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5122,7 +5122,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5122
5122
|
columns: PlusColumn[];
|
|
5123
5123
|
immediate: boolean;
|
|
5124
5124
|
params: RecordType;
|
|
5125
|
-
pagination: false | Omit<PlusPaginationProps, "
|
|
5125
|
+
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
5126
5126
|
columnsEmptyText: string;
|
|
5127
5127
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
5128
5128
|
beforeSearchSubmit: <T_2 = RecordType>(params: T_2) => T_2;
|
|
@@ -5144,14 +5144,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5144
5144
|
};
|
|
5145
5145
|
searchSlot: boolean;
|
|
5146
5146
|
}, {}>, Partial<Record<never, (_: {
|
|
5147
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5147
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5148
5148
|
readonly label: string | ComputedRef<string>;
|
|
5149
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5149
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5150
5150
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5151
|
-
readonly tooltip: string |
|
|
5151
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5152
5152
|
style?: CSSProperties | undefined;
|
|
5153
5153
|
class?: any;
|
|
5154
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5154
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5155
5155
|
style?: CSSProperties | undefined;
|
|
5156
5156
|
class?: any;
|
|
5157
5157
|
} & RecordType>>;
|
|
@@ -5218,12 +5218,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5218
5218
|
fieldInstance?: any;
|
|
5219
5219
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5220
5220
|
prop: string;
|
|
5221
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5221
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5222
5222
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5223
|
-
tooltip: string |
|
|
5223
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5224
5224
|
style?: CSSProperties | undefined;
|
|
5225
5225
|
class?: any;
|
|
5226
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5226
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5227
5227
|
style?: CSSProperties | undefined;
|
|
5228
5228
|
class?: any;
|
|
5229
5229
|
} & RecordType>>;
|