yc-pro-components 0.0.64 → 0.0.65
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 +20 -20
- package/es/components/date-picker/src/index.vue.d.ts +12 -12
- 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 +65 -65
- package/es/components/drawer-form/src/index.vue.d.ts +15 -15
- 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 +48 -48
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- 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 +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +344 -344
- package/es/components/page/src/index.vue.d.ts +118 -118
- 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/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/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +30 -68
- package/es/components/yc-plus-page/src/index.vue.d.ts +235 -235
- 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/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +8 -8
- package/index.css +6 -6
- package/index.js +35 -73
- package/index.min.css +1 -1
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +35 -73
- 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 +20 -20
- package/lib/components/date-picker/src/index.vue.d.ts +12 -12
- 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 +65 -65
- package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
- 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 +48 -48
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- 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 +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +344 -344
- package/lib/components/page/src/index.vue.d.ts +118 -118
- 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/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/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +29 -67
- package/lib/components/yc-plus-page/src/index.vue.d.ts +235 -235
- 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/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +9 -9
- 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
|
@@ -139,9 +139,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
139
139
|
$: ComponentInternalInstance;
|
|
140
140
|
$data: {};
|
|
141
141
|
$props: Partial<{
|
|
142
|
+
modelValue: FieldValues;
|
|
142
143
|
columns: PlusColumn[];
|
|
143
144
|
layout: "grid" | "flex";
|
|
144
|
-
modelValue: FieldValues;
|
|
145
145
|
labelPosition: "top" | "right" | "left";
|
|
146
146
|
inline: boolean;
|
|
147
147
|
showNumber: number;
|
|
@@ -167,9 +167,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
167
167
|
searchIcon: Component | null;
|
|
168
168
|
resetIcon: Component | null;
|
|
169
169
|
}> & Omit<{
|
|
170
|
+
readonly modelValue: FieldValues;
|
|
170
171
|
readonly columns: PlusColumn[];
|
|
171
172
|
readonly layout: "grid" | "flex";
|
|
172
|
-
readonly modelValue: FieldValues;
|
|
173
173
|
readonly inline: boolean;
|
|
174
174
|
readonly showNumber: number;
|
|
175
175
|
readonly defaultValues: FieldValues;
|
|
@@ -194,12 +194,16 @@ 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;
|
|
197
198
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
198
199
|
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
|
+
};
|
|
203
207
|
columns: {
|
|
204
208
|
type: PropType<PlusColumn[]>;
|
|
205
209
|
default: () => never[];
|
|
@@ -208,10 +212,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
208
212
|
type: PropType<"grid" | "flex">;
|
|
209
213
|
default: "grid";
|
|
210
214
|
};
|
|
211
|
-
modelValue: {
|
|
212
|
-
type: PropType<FieldValues>;
|
|
213
|
-
default: () => {};
|
|
214
|
-
};
|
|
215
215
|
labelPosition: {
|
|
216
216
|
type: PropType<"top" | "right" | "left">;
|
|
217
217
|
default: undefined;
|
|
@@ -299,12 +299,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
299
299
|
default: undefined;
|
|
300
300
|
};
|
|
301
301
|
}>> & {
|
|
302
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
302
303
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
303
304
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
304
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
305
305
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
306
306
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
307
|
-
}, "
|
|
307
|
+
}, "modelValue" | "columns" | "layout" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
308
308
|
$attrs: {
|
|
309
309
|
[x: string]: unknown;
|
|
310
310
|
};
|
|
@@ -316,9 +316,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
316
316
|
}>;
|
|
317
317
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
318
318
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
319
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
319
|
+
$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);
|
|
320
320
|
$el: any;
|
|
321
321
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
322
|
+
modelValue: {
|
|
323
|
+
type: PropType<FieldValues>;
|
|
324
|
+
default: () => {};
|
|
325
|
+
};
|
|
322
326
|
columns: {
|
|
323
327
|
type: PropType<PlusColumn[]>;
|
|
324
328
|
default: () => never[];
|
|
@@ -327,10 +331,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
327
331
|
type: PropType<"grid" | "flex">;
|
|
328
332
|
default: "grid";
|
|
329
333
|
};
|
|
330
|
-
modelValue: {
|
|
331
|
-
type: PropType<FieldValues>;
|
|
332
|
-
default: () => {};
|
|
333
|
-
};
|
|
334
334
|
labelPosition: {
|
|
335
335
|
type: PropType<"top" | "right" | "left">;
|
|
336
336
|
default: undefined;
|
|
@@ -418,9 +418,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
418
418
|
default: undefined;
|
|
419
419
|
};
|
|
420
420
|
}>> & {
|
|
421
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
421
422
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
422
423
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
423
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
424
424
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
425
425
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
426
426
|
}, {
|
|
@@ -428,12 +428,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
428
428
|
$: ComponentInternalInstance;
|
|
429
429
|
$data: {};
|
|
430
430
|
$props: Partial<{
|
|
431
|
+
modelValue: FieldValues;
|
|
431
432
|
collapseDuration: number;
|
|
432
433
|
collapseTransition: boolean;
|
|
433
434
|
columns: PlusColumn[];
|
|
434
435
|
group: false | PlusFormGroupRow[];
|
|
435
436
|
layout: "grid" | "flex";
|
|
436
|
-
modelValue: FieldValues;
|
|
437
437
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
438
438
|
labelPosition: "top" | "right" | "left";
|
|
439
439
|
labelWidth: string | number;
|
|
@@ -454,7 +454,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
454
454
|
submitText: string;
|
|
455
455
|
resetText: string;
|
|
456
456
|
submitLoading: boolean;
|
|
457
|
-
footerAlign: "
|
|
457
|
+
footerAlign: "center" | "right" | "left";
|
|
458
458
|
cardProps: Partial< Mutable<CardProps> & {
|
|
459
459
|
style?: CSSProperties | undefined;
|
|
460
460
|
class?: any;
|
|
@@ -462,9 +462,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
462
462
|
prevent: boolean;
|
|
463
463
|
clearable: boolean;
|
|
464
464
|
}> & Omit<{
|
|
465
|
+
readonly modelValue: FieldValues;
|
|
465
466
|
readonly columns: PlusColumn[];
|
|
466
467
|
readonly group: false | PlusFormGroupRow[];
|
|
467
|
-
readonly modelValue: FieldValues;
|
|
468
468
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
469
469
|
readonly labelPosition: "top" | "right" | "left";
|
|
470
470
|
readonly labelWidth: string | number;
|
|
@@ -485,7 +485,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
485
485
|
readonly submitText: string;
|
|
486
486
|
readonly resetText: string;
|
|
487
487
|
readonly submitLoading: boolean;
|
|
488
|
-
readonly footerAlign: "
|
|
488
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
489
489
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
490
490
|
style?: CSSProperties | undefined;
|
|
491
491
|
class?: any;
|
|
@@ -495,13 +495,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
495
495
|
readonly collapseDuration?: number | undefined;
|
|
496
496
|
readonly collapseTransition?: boolean | undefined;
|
|
497
497
|
readonly layout?: "grid" | "flex" | undefined;
|
|
498
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
498
499
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
499
500
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
500
501
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
501
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
502
502
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
503
503
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
504
504
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
505
|
+
modelValue: {
|
|
506
|
+
type: PropType<FieldValues>;
|
|
507
|
+
default: () => {};
|
|
508
|
+
};
|
|
505
509
|
collapseDuration: {
|
|
506
510
|
type: PropType<number>;
|
|
507
511
|
default: undefined;
|
|
@@ -522,10 +526,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
522
526
|
type: PropType<"grid" | "flex">;
|
|
523
527
|
default: undefined;
|
|
524
528
|
};
|
|
525
|
-
modelValue: {
|
|
526
|
-
type: PropType<FieldValues>;
|
|
527
|
-
default: () => {};
|
|
528
|
-
};
|
|
529
529
|
rules: {
|
|
530
530
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
531
531
|
default: () => {};
|
|
@@ -589,7 +589,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
589
589
|
default: boolean;
|
|
590
590
|
};
|
|
591
591
|
footerAlign: {
|
|
592
|
-
type: PropType<"
|
|
592
|
+
type: PropType<"center" | "right" | "left">;
|
|
593
593
|
default: string;
|
|
594
594
|
};
|
|
595
595
|
cardProps: {
|
|
@@ -608,13 +608,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
608
608
|
default: boolean;
|
|
609
609
|
};
|
|
610
610
|
}>> & {
|
|
611
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
611
612
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
612
613
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
613
614
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
614
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
615
615
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
616
616
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
617
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
617
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
618
618
|
$attrs: {
|
|
619
619
|
[x: string]: unknown;
|
|
620
620
|
};
|
|
@@ -626,9 +626,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
626
626
|
}>;
|
|
627
627
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
628
628
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
629
|
-
$emit: ((event: "
|
|
629
|
+
$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);
|
|
630
630
|
$el: any;
|
|
631
631
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
632
|
+
modelValue: {
|
|
633
|
+
type: PropType<FieldValues>;
|
|
634
|
+
default: () => {};
|
|
635
|
+
};
|
|
632
636
|
collapseDuration: {
|
|
633
637
|
type: PropType<number>;
|
|
634
638
|
default: undefined;
|
|
@@ -649,10 +653,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
649
653
|
type: PropType<"grid" | "flex">;
|
|
650
654
|
default: undefined;
|
|
651
655
|
};
|
|
652
|
-
modelValue: {
|
|
653
|
-
type: PropType<FieldValues>;
|
|
654
|
-
default: () => {};
|
|
655
|
-
};
|
|
656
656
|
rules: {
|
|
657
657
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
658
658
|
default: () => {};
|
|
@@ -716,7 +716,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
716
716
|
default: boolean;
|
|
717
717
|
};
|
|
718
718
|
footerAlign: {
|
|
719
|
-
type: PropType<"
|
|
719
|
+
type: PropType<"center" | "right" | "left">;
|
|
720
720
|
default: string;
|
|
721
721
|
};
|
|
722
722
|
cardProps: {
|
|
@@ -735,10 +735,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
735
735
|
default: boolean;
|
|
736
736
|
};
|
|
737
737
|
}>> & {
|
|
738
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
738
739
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
739
740
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
740
741
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
741
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
742
742
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
743
743
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
744
744
|
}, {
|
|
@@ -753,12 +753,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
753
753
|
submitError: (errors: unknown) => void;
|
|
754
754
|
validate: (...args: any[]) => void;
|
|
755
755
|
}, string, {
|
|
756
|
+
modelValue: FieldValues;
|
|
756
757
|
collapseDuration: number;
|
|
757
758
|
collapseTransition: boolean;
|
|
758
759
|
columns: PlusColumn[];
|
|
759
760
|
group: false | PlusFormGroupRow[];
|
|
760
761
|
layout: "grid" | "flex";
|
|
761
|
-
modelValue: FieldValues;
|
|
762
762
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
763
763
|
labelPosition: "top" | "right" | "left";
|
|
764
764
|
labelWidth: string | number;
|
|
@@ -779,7 +779,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
779
779
|
submitText: string;
|
|
780
780
|
resetText: string;
|
|
781
781
|
submitLoading: boolean;
|
|
782
|
-
footerAlign: "
|
|
782
|
+
footerAlign: "center" | "right" | "left";
|
|
783
783
|
cardProps: Partial< Mutable<CardProps> & {
|
|
784
784
|
style?: CSSProperties | undefined;
|
|
785
785
|
class?: any;
|
|
@@ -807,6 +807,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
807
807
|
$nextTick: nextTick;
|
|
808
808
|
$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;
|
|
809
809
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
810
|
+
modelValue: {
|
|
811
|
+
type: PropType<FieldValues>;
|
|
812
|
+
default: () => {};
|
|
813
|
+
};
|
|
810
814
|
collapseDuration: {
|
|
811
815
|
type: PropType<number>;
|
|
812
816
|
default: undefined;
|
|
@@ -827,10 +831,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
827
831
|
type: PropType<"grid" | "flex">;
|
|
828
832
|
default: undefined;
|
|
829
833
|
};
|
|
830
|
-
modelValue: {
|
|
831
|
-
type: PropType<FieldValues>;
|
|
832
|
-
default: () => {};
|
|
833
|
-
};
|
|
834
834
|
rules: {
|
|
835
835
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
836
836
|
default: () => {};
|
|
@@ -894,7 +894,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
894
894
|
default: boolean;
|
|
895
895
|
};
|
|
896
896
|
footerAlign: {
|
|
897
|
-
type: PropType<"
|
|
897
|
+
type: PropType<"center" | "right" | "left">;
|
|
898
898
|
default: string;
|
|
899
899
|
};
|
|
900
900
|
cardProps: {
|
|
@@ -913,10 +913,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
913
913
|
default: boolean;
|
|
914
914
|
};
|
|
915
915
|
}>> & {
|
|
916
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
916
917
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
917
918
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
918
919
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
919
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
920
920
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
921
921
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
922
922
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -936,14 +936,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
936
936
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
937
937
|
columns?: PlusColumn[] | undefined;
|
|
938
938
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
939
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
939
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
940
940
|
readonly label: string | ComputedRef<string>;
|
|
941
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
941
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
942
942
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
943
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
943
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
944
944
|
style?: CSSProperties | undefined;
|
|
945
945
|
class?: any;
|
|
946
|
-
} & RecordType> | ComputedRef<
|
|
946
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
947
947
|
style?: CSSProperties | undefined;
|
|
948
948
|
class?: any;
|
|
949
949
|
} & RecordType>>;
|
|
@@ -1018,12 +1018,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1018
1018
|
fieldInstance?: any;
|
|
1019
1019
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1020
1020
|
prop: string;
|
|
1021
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1021
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1022
1022
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1023
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1023
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1024
1024
|
style?: CSSProperties | undefined;
|
|
1025
1025
|
class?: any;
|
|
1026
|
-
} & RecordType> | ComputedRef<
|
|
1026
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1027
1027
|
style?: CSSProperties | undefined;
|
|
1028
1028
|
class?: any;
|
|
1029
1029
|
} & RecordType>>;
|
|
@@ -1052,14 +1052,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1052
1052
|
clearable: boolean;
|
|
1053
1053
|
index: number;
|
|
1054
1054
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1055
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1055
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1056
1056
|
readonly label: string | ComputedRef<string>;
|
|
1057
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1057
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1058
1058
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1059
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1059
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1060
1060
|
style?: CSSProperties | undefined;
|
|
1061
1061
|
class?: any;
|
|
1062
|
-
} & RecordType> | ComputedRef<
|
|
1062
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1063
1063
|
style?: CSSProperties | undefined;
|
|
1064
1064
|
class?: any;
|
|
1065
1065
|
} & RecordType>>;
|
|
@@ -1134,12 +1134,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1134
1134
|
fieldInstance?: any;
|
|
1135
1135
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1136
1136
|
prop: string;
|
|
1137
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1137
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1138
1138
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1139
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1139
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1140
1140
|
style?: CSSProperties | undefined;
|
|
1141
1141
|
class?: any;
|
|
1142
|
-
} & RecordType> | ComputedRef<
|
|
1142
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1143
1143
|
style?: CSSProperties | undefined;
|
|
1144
1144
|
class?: any;
|
|
1145
1145
|
} & RecordType>>;
|
|
@@ -1191,9 +1191,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1191
1191
|
reset: (values: FieldValues) => void;
|
|
1192
1192
|
collapse: (isShowUnfold: boolean) => void;
|
|
1193
1193
|
}, string, {
|
|
1194
|
+
modelValue: FieldValues;
|
|
1194
1195
|
columns: PlusColumn[];
|
|
1195
1196
|
layout: "grid" | "flex";
|
|
1196
|
-
modelValue: FieldValues;
|
|
1197
1197
|
labelPosition: "top" | "right" | "left";
|
|
1198
1198
|
inline: boolean;
|
|
1199
1199
|
showNumber: number;
|
|
@@ -1239,6 +1239,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1239
1239
|
$nextTick: nextTick;
|
|
1240
1240
|
$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;
|
|
1241
1241
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1242
|
+
modelValue: {
|
|
1243
|
+
type: PropType<FieldValues>;
|
|
1244
|
+
default: () => {};
|
|
1245
|
+
};
|
|
1242
1246
|
columns: {
|
|
1243
1247
|
type: PropType<PlusColumn[]>;
|
|
1244
1248
|
default: () => never[];
|
|
@@ -1247,10 +1251,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1247
1251
|
type: PropType<"grid" | "flex">;
|
|
1248
1252
|
default: "grid";
|
|
1249
1253
|
};
|
|
1250
|
-
modelValue: {
|
|
1251
|
-
type: PropType<FieldValues>;
|
|
1252
|
-
default: () => {};
|
|
1253
|
-
};
|
|
1254
1254
|
labelPosition: {
|
|
1255
1255
|
type: PropType<"top" | "right" | "left">;
|
|
1256
1256
|
default: undefined;
|
|
@@ -1338,9 +1338,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1338
1338
|
default: undefined;
|
|
1339
1339
|
};
|
|
1340
1340
|
}>> & {
|
|
1341
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1341
1342
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1342
1343
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1343
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1344
1344
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1345
1345
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1346
1346
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1348,12 +1348,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1348
1348
|
$: ComponentInternalInstance;
|
|
1349
1349
|
$data: {};
|
|
1350
1350
|
$props: Partial<{
|
|
1351
|
+
modelValue: FieldValues;
|
|
1351
1352
|
collapseDuration: number;
|
|
1352
1353
|
collapseTransition: boolean;
|
|
1353
1354
|
columns: PlusColumn[];
|
|
1354
1355
|
group: false | PlusFormGroupRow[];
|
|
1355
1356
|
layout: "grid" | "flex";
|
|
1356
|
-
modelValue: FieldValues;
|
|
1357
1357
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1358
1358
|
labelPosition: "top" | "right" | "left";
|
|
1359
1359
|
labelWidth: string | number;
|
|
@@ -1374,7 +1374,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1374
1374
|
submitText: string;
|
|
1375
1375
|
resetText: string;
|
|
1376
1376
|
submitLoading: boolean;
|
|
1377
|
-
footerAlign: "
|
|
1377
|
+
footerAlign: "center" | "right" | "left";
|
|
1378
1378
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1379
1379
|
style?: CSSProperties | undefined;
|
|
1380
1380
|
class?: any;
|
|
@@ -1382,9 +1382,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1382
1382
|
prevent: boolean;
|
|
1383
1383
|
clearable: boolean;
|
|
1384
1384
|
}> & Omit<{
|
|
1385
|
+
readonly modelValue: FieldValues;
|
|
1385
1386
|
readonly columns: PlusColumn[];
|
|
1386
1387
|
readonly group: false | PlusFormGroupRow[];
|
|
1387
|
-
readonly modelValue: FieldValues;
|
|
1388
1388
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1389
1389
|
readonly labelPosition: "top" | "right" | "left";
|
|
1390
1390
|
readonly labelWidth: string | number;
|
|
@@ -1405,7 +1405,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1405
1405
|
readonly submitText: string;
|
|
1406
1406
|
readonly resetText: string;
|
|
1407
1407
|
readonly submitLoading: boolean;
|
|
1408
|
-
readonly footerAlign: "
|
|
1408
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
1409
1409
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1410
1410
|
style?: CSSProperties | undefined;
|
|
1411
1411
|
class?: any;
|
|
@@ -1415,13 +1415,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1415
1415
|
readonly collapseDuration?: number | undefined;
|
|
1416
1416
|
readonly collapseTransition?: boolean | undefined;
|
|
1417
1417
|
readonly layout?: "grid" | "flex" | undefined;
|
|
1418
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1418
1419
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1419
1420
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1420
1421
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1421
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1422
1422
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1423
1423
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1424
1424
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1425
|
+
modelValue: {
|
|
1426
|
+
type: PropType<FieldValues>;
|
|
1427
|
+
default: () => {};
|
|
1428
|
+
};
|
|
1425
1429
|
collapseDuration: {
|
|
1426
1430
|
type: PropType<number>;
|
|
1427
1431
|
default: undefined;
|
|
@@ -1442,10 +1446,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1442
1446
|
type: PropType<"grid" | "flex">;
|
|
1443
1447
|
default: undefined;
|
|
1444
1448
|
};
|
|
1445
|
-
modelValue: {
|
|
1446
|
-
type: PropType<FieldValues>;
|
|
1447
|
-
default: () => {};
|
|
1448
|
-
};
|
|
1449
1449
|
rules: {
|
|
1450
1450
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1451
1451
|
default: () => {};
|
|
@@ -1509,7 +1509,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1509
1509
|
default: boolean;
|
|
1510
1510
|
};
|
|
1511
1511
|
footerAlign: {
|
|
1512
|
-
type: PropType<"
|
|
1512
|
+
type: PropType<"center" | "right" | "left">;
|
|
1513
1513
|
default: string;
|
|
1514
1514
|
};
|
|
1515
1515
|
cardProps: {
|
|
@@ -1528,13 +1528,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1528
1528
|
default: boolean;
|
|
1529
1529
|
};
|
|
1530
1530
|
}>> & {
|
|
1531
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1531
1532
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1532
1533
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1533
1534
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1534
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1535
1535
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1536
1536
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1537
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
1537
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1538
1538
|
$attrs: {
|
|
1539
1539
|
[x: string]: unknown;
|
|
1540
1540
|
};
|
|
@@ -1546,9 +1546,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1546
1546
|
}>;
|
|
1547
1547
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1548
1548
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1549
|
-
$emit: ((event: "
|
|
1549
|
+
$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);
|
|
1550
1550
|
$el: any;
|
|
1551
1551
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1552
|
+
modelValue: {
|
|
1553
|
+
type: PropType<FieldValues>;
|
|
1554
|
+
default: () => {};
|
|
1555
|
+
};
|
|
1552
1556
|
collapseDuration: {
|
|
1553
1557
|
type: PropType<number>;
|
|
1554
1558
|
default: undefined;
|
|
@@ -1569,10 +1573,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1569
1573
|
type: PropType<"grid" | "flex">;
|
|
1570
1574
|
default: undefined;
|
|
1571
1575
|
};
|
|
1572
|
-
modelValue: {
|
|
1573
|
-
type: PropType<FieldValues>;
|
|
1574
|
-
default: () => {};
|
|
1575
|
-
};
|
|
1576
1576
|
rules: {
|
|
1577
1577
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1578
1578
|
default: () => {};
|
|
@@ -1636,7 +1636,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1636
1636
|
default: boolean;
|
|
1637
1637
|
};
|
|
1638
1638
|
footerAlign: {
|
|
1639
|
-
type: PropType<"
|
|
1639
|
+
type: PropType<"center" | "right" | "left">;
|
|
1640
1640
|
default: string;
|
|
1641
1641
|
};
|
|
1642
1642
|
cardProps: {
|
|
@@ -1655,10 +1655,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1655
1655
|
default: boolean;
|
|
1656
1656
|
};
|
|
1657
1657
|
}>> & {
|
|
1658
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1658
1659
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1659
1660
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1660
1661
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1661
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1662
1662
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1663
1663
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1664
1664
|
}, {
|
|
@@ -1673,12 +1673,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1673
1673
|
submitError: (errors: unknown) => void;
|
|
1674
1674
|
validate: (...args: any[]) => void;
|
|
1675
1675
|
}, string, {
|
|
1676
|
+
modelValue: FieldValues;
|
|
1676
1677
|
collapseDuration: number;
|
|
1677
1678
|
collapseTransition: boolean;
|
|
1678
1679
|
columns: PlusColumn[];
|
|
1679
1680
|
group: false | PlusFormGroupRow[];
|
|
1680
1681
|
layout: "grid" | "flex";
|
|
1681
|
-
modelValue: FieldValues;
|
|
1682
1682
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1683
1683
|
labelPosition: "top" | "right" | "left";
|
|
1684
1684
|
labelWidth: string | number;
|
|
@@ -1699,7 +1699,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1699
1699
|
submitText: string;
|
|
1700
1700
|
resetText: string;
|
|
1701
1701
|
submitLoading: boolean;
|
|
1702
|
-
footerAlign: "
|
|
1702
|
+
footerAlign: "center" | "right" | "left";
|
|
1703
1703
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1704
1704
|
style?: CSSProperties | undefined;
|
|
1705
1705
|
class?: any;
|
|
@@ -1727,6 +1727,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1727
1727
|
$nextTick: nextTick;
|
|
1728
1728
|
$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;
|
|
1729
1729
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1730
|
+
modelValue: {
|
|
1731
|
+
type: PropType<FieldValues>;
|
|
1732
|
+
default: () => {};
|
|
1733
|
+
};
|
|
1730
1734
|
collapseDuration: {
|
|
1731
1735
|
type: PropType<number>;
|
|
1732
1736
|
default: undefined;
|
|
@@ -1747,10 +1751,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1747
1751
|
type: PropType<"grid" | "flex">;
|
|
1748
1752
|
default: undefined;
|
|
1749
1753
|
};
|
|
1750
|
-
modelValue: {
|
|
1751
|
-
type: PropType<FieldValues>;
|
|
1752
|
-
default: () => {};
|
|
1753
|
-
};
|
|
1754
1754
|
rules: {
|
|
1755
1755
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1756
1756
|
default: () => {};
|
|
@@ -1814,7 +1814,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1814
1814
|
default: boolean;
|
|
1815
1815
|
};
|
|
1816
1816
|
footerAlign: {
|
|
1817
|
-
type: PropType<"
|
|
1817
|
+
type: PropType<"center" | "right" | "left">;
|
|
1818
1818
|
default: string;
|
|
1819
1819
|
};
|
|
1820
1820
|
cardProps: {
|
|
@@ -1833,10 +1833,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1833
1833
|
default: boolean;
|
|
1834
1834
|
};
|
|
1835
1835
|
}>> & {
|
|
1836
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1836
1837
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1837
1838
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1838
1839
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1839
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1840
1840
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1841
1841
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1842
1842
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1856,14 +1856,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1856
1856
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1857
1857
|
columns?: PlusColumn[] | undefined;
|
|
1858
1858
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1859
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1859
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1860
1860
|
readonly label: string | ComputedRef<string>;
|
|
1861
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1861
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1862
1862
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1863
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1863
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1864
1864
|
style?: CSSProperties | undefined;
|
|
1865
1865
|
class?: any;
|
|
1866
|
-
} & RecordType> | ComputedRef<
|
|
1866
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1867
1867
|
style?: CSSProperties | undefined;
|
|
1868
1868
|
class?: any;
|
|
1869
1869
|
} & RecordType>>;
|
|
@@ -1938,12 +1938,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1938
1938
|
fieldInstance?: any;
|
|
1939
1939
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1940
1940
|
prop: string;
|
|
1941
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1941
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1942
1942
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1943
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1943
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1944
1944
|
style?: CSSProperties | undefined;
|
|
1945
1945
|
class?: any;
|
|
1946
|
-
} & RecordType> | ComputedRef<
|
|
1946
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1947
1947
|
style?: CSSProperties | undefined;
|
|
1948
1948
|
class?: any;
|
|
1949
1949
|
} & RecordType>>;
|
|
@@ -1972,14 +1972,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1972
1972
|
clearable: boolean;
|
|
1973
1973
|
index: number;
|
|
1974
1974
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1975
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1975
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1976
1976
|
readonly label: string | ComputedRef<string>;
|
|
1977
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1977
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1978
1978
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1979
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1979
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1980
1980
|
style?: CSSProperties | undefined;
|
|
1981
1981
|
class?: any;
|
|
1982
|
-
} & RecordType> | ComputedRef<
|
|
1982
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1983
1983
|
style?: CSSProperties | undefined;
|
|
1984
1984
|
class?: any;
|
|
1985
1985
|
} & RecordType>>;
|
|
@@ -2054,12 +2054,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2054
2054
|
fieldInstance?: any;
|
|
2055
2055
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2056
2056
|
prop: string;
|
|
2057
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2057
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2058
2058
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2059
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2059
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2060
2060
|
style?: CSSProperties | undefined;
|
|
2061
2061
|
class?: any;
|
|
2062
|
-
} & RecordType> | ComputedRef<
|
|
2062
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2063
2063
|
style?: CSSProperties | undefined;
|
|
2064
2064
|
class?: any;
|
|
2065
2065
|
} & RecordType>>;
|
|
@@ -2106,14 +2106,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2106
2106
|
handleUnfold: (e: MouseEvent) => void;
|
|
2107
2107
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2108
2108
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2109
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2109
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2110
2110
|
readonly label: string | ComputedRef<string>;
|
|
2111
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2111
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2112
2112
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2113
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2113
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2114
2114
|
style?: CSSProperties | undefined;
|
|
2115
2115
|
class?: any;
|
|
2116
|
-
} & RecordType> | ComputedRef<
|
|
2116
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2117
2117
|
style?: CSSProperties | undefined;
|
|
2118
2118
|
class?: any;
|
|
2119
2119
|
} & RecordType>>;
|
|
@@ -2188,12 +2188,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2188
2188
|
fieldInstance?: any;
|
|
2189
2189
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2190
2190
|
prop: string;
|
|
2191
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2191
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2192
2192
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2193
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2193
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2194
2194
|
style?: CSSProperties | undefined;
|
|
2195
2195
|
class?: any;
|
|
2196
|
-
} & RecordType> | ComputedRef<
|
|
2196
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2197
2197
|
style?: CSSProperties | undefined;
|
|
2198
2198
|
class?: any;
|
|
2199
2199
|
} & RecordType>>;
|
|
@@ -3519,7 +3519,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3519
3519
|
columns: PlusColumn[];
|
|
3520
3520
|
immediate: boolean;
|
|
3521
3521
|
params: RecordType;
|
|
3522
|
-
pagination: false | Omit<PlusPaginationProps, "
|
|
3522
|
+
pagination: false | Omit<PlusPaginationProps, "modelValue" | "total" | "pageSizeList">;
|
|
3523
3523
|
columnsEmptyText: string;
|
|
3524
3524
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
3525
3525
|
beforeSearchSubmit: <T_2 = RecordType>(params: T_2) => T_2;
|
|
@@ -3541,14 +3541,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3541
3541
|
};
|
|
3542
3542
|
searchSlot: boolean;
|
|
3543
3543
|
}, {}>, Partial<Record<never, (_: {
|
|
3544
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
3544
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3545
3545
|
readonly label: string | ComputedRef<string>;
|
|
3546
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3546
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3547
3547
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3548
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3548
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3549
3549
|
style?: CSSProperties | undefined;
|
|
3550
3550
|
class?: any;
|
|
3551
|
-
} & RecordType> | ComputedRef<
|
|
3551
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3552
3552
|
style?: CSSProperties | undefined;
|
|
3553
3553
|
class?: any;
|
|
3554
3554
|
} & RecordType>>;
|
|
@@ -3623,12 +3623,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3623
3623
|
fieldInstance?: any;
|
|
3624
3624
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3625
3625
|
prop: string;
|
|
3626
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3626
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3627
3627
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3628
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3628
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3629
3629
|
style?: CSSProperties | undefined;
|
|
3630
3630
|
class?: any;
|
|
3631
|
-
} & RecordType> | ComputedRef<
|
|
3631
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3632
3632
|
style?: CSSProperties | undefined;
|
|
3633
3633
|
class?: any;
|
|
3634
3634
|
} & RecordType>>;
|