yc-pro-components 0.0.65 → 0.0.66
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/filter-strategies.mjs +2 -2
- 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 +0 -1
- 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 +11 -11
- package/index.css +6 -6
- package/index.js +4 -5
- package/index.min.css +1 -1
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +4 -5
- 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/filter-strategies.js +2 -2
- 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 +0 -1
- 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 +10 -10
- 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;
|
|
143
142
|
columns: PlusColumn[];
|
|
144
143
|
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;
|
|
171
170
|
readonly columns: PlusColumn[];
|
|
172
171
|
readonly layout: "grid" | "flex";
|
|
172
|
+
readonly modelValue: FieldValues;
|
|
173
173
|
readonly inline: boolean;
|
|
174
174
|
readonly showNumber: number;
|
|
175
175
|
readonly defaultValues: FieldValues;
|
|
@@ -194,16 +194,12 @@ 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[];
|
|
@@ -212,6 +208,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
212
208
|
type: PropType<"grid" | "flex">;
|
|
213
209
|
default: "grid";
|
|
214
210
|
};
|
|
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;
|
|
303
302
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
304
303
|
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
|
+
}, "columns" | "layout" | "modelValue" | "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,13 +316,9 @@ 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: "reset", values: FieldValues) => void) & ((event: "update:modelValue", 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
|
-
};
|
|
326
322
|
columns: {
|
|
327
323
|
type: PropType<PlusColumn[]>;
|
|
328
324
|
default: () => never[];
|
|
@@ -331,6 +327,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
331
327
|
type: PropType<"grid" | "flex">;
|
|
332
328
|
default: "grid";
|
|
333
329
|
};
|
|
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;
|
|
422
421
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
423
422
|
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;
|
|
432
431
|
collapseDuration: number;
|
|
433
432
|
collapseTransition: boolean;
|
|
434
433
|
columns: PlusColumn[];
|
|
435
434
|
group: false | PlusFormGroupRow[];
|
|
436
435
|
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: "right" | "left" | "center";
|
|
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;
|
|
466
465
|
readonly columns: PlusColumn[];
|
|
467
466
|
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: "right" | "left" | "center";
|
|
489
489
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
490
490
|
style?: CSSProperties | undefined;
|
|
491
491
|
class?: any;
|
|
@@ -495,17 +495,13 @@ 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;
|
|
499
498
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
500
499
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
501
500
|
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
|
-
};
|
|
509
505
|
collapseDuration: {
|
|
510
506
|
type: PropType<number>;
|
|
511
507
|
default: undefined;
|
|
@@ -526,6 +522,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
526
522
|
type: PropType<"grid" | "flex">;
|
|
527
523
|
default: undefined;
|
|
528
524
|
};
|
|
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<"right" | "left" | "center">;
|
|
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;
|
|
612
611
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
613
612
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
614
613
|
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
|
-
}, "
|
|
617
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "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,13 +626,9 @@ 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: "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);
|
|
630
630
|
$el: any;
|
|
631
631
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
632
|
-
modelValue: {
|
|
633
|
-
type: PropType<FieldValues>;
|
|
634
|
-
default: () => {};
|
|
635
|
-
};
|
|
636
632
|
collapseDuration: {
|
|
637
633
|
type: PropType<number>;
|
|
638
634
|
default: undefined;
|
|
@@ -653,6 +649,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
653
649
|
type: PropType<"grid" | "flex">;
|
|
654
650
|
default: undefined;
|
|
655
651
|
};
|
|
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<"right" | "left" | "center">;
|
|
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;
|
|
739
738
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
740
739
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
741
740
|
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;
|
|
757
756
|
collapseDuration: number;
|
|
758
757
|
collapseTransition: boolean;
|
|
759
758
|
columns: PlusColumn[];
|
|
760
759
|
group: false | PlusFormGroupRow[];
|
|
761
760
|
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: "right" | "left" | "center";
|
|
783
783
|
cardProps: Partial< Mutable<CardProps> & {
|
|
784
784
|
style?: CSSProperties | undefined;
|
|
785
785
|
class?: any;
|
|
@@ -807,10 +807,6 @@ 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
|
-
};
|
|
814
810
|
collapseDuration: {
|
|
815
811
|
type: PropType<number>;
|
|
816
812
|
default: undefined;
|
|
@@ -831,6 +827,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
831
827
|
type: PropType<"grid" | "flex">;
|
|
832
828
|
default: undefined;
|
|
833
829
|
};
|
|
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<"right" | "left" | "center">;
|
|
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;
|
|
917
916
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
918
917
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
919
918
|
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" | "
|
|
939
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
942
942
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
943
|
-
readonly tooltip: string |
|
|
943
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
944
944
|
style?: CSSProperties | undefined;
|
|
945
945
|
class?: any;
|
|
946
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
946
|
+
} & RecordType> | ComputedRef<string> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1022
1022
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1023
|
-
tooltip: string |
|
|
1023
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1024
1024
|
style?: CSSProperties | undefined;
|
|
1025
1025
|
class?: any;
|
|
1026
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1026
|
+
} & RecordType> | ComputedRef<string> | 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" | "
|
|
1055
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1058
1058
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1059
|
-
readonly tooltip: string |
|
|
1059
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1060
1060
|
style?: CSSProperties | undefined;
|
|
1061
1061
|
class?: any;
|
|
1062
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1062
|
+
} & RecordType> | ComputedRef<string> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1138
1138
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1139
|
-
tooltip: string |
|
|
1139
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1140
1140
|
style?: CSSProperties | undefined;
|
|
1141
1141
|
class?: any;
|
|
1142
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1142
|
+
} & RecordType> | ComputedRef<string> | 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;
|
|
1195
1194
|
columns: PlusColumn[];
|
|
1196
1195
|
layout: "grid" | "flex";
|
|
1196
|
+
modelValue: FieldValues;
|
|
1197
1197
|
labelPosition: "top" | "right" | "left";
|
|
1198
1198
|
inline: boolean;
|
|
1199
1199
|
showNumber: number;
|
|
@@ -1239,10 +1239,6 @@ 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
|
-
};
|
|
1246
1242
|
columns: {
|
|
1247
1243
|
type: PropType<PlusColumn[]>;
|
|
1248
1244
|
default: () => never[];
|
|
@@ -1251,6 +1247,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1251
1247
|
type: PropType<"grid" | "flex">;
|
|
1252
1248
|
default: "grid";
|
|
1253
1249
|
};
|
|
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;
|
|
1342
1341
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1343
1342
|
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;
|
|
1352
1351
|
collapseDuration: number;
|
|
1353
1352
|
collapseTransition: boolean;
|
|
1354
1353
|
columns: PlusColumn[];
|
|
1355
1354
|
group: false | PlusFormGroupRow[];
|
|
1356
1355
|
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: "right" | "left" | "center";
|
|
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;
|
|
1386
1385
|
readonly columns: PlusColumn[];
|
|
1387
1386
|
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: "right" | "left" | "center";
|
|
1409
1409
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1410
1410
|
style?: CSSProperties | undefined;
|
|
1411
1411
|
class?: any;
|
|
@@ -1415,17 +1415,13 @@ 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;
|
|
1419
1418
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1420
1419
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1421
1420
|
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
|
-
};
|
|
1429
1425
|
collapseDuration: {
|
|
1430
1426
|
type: PropType<number>;
|
|
1431
1427
|
default: undefined;
|
|
@@ -1446,6 +1442,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1446
1442
|
type: PropType<"grid" | "flex">;
|
|
1447
1443
|
default: undefined;
|
|
1448
1444
|
};
|
|
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<"right" | "left" | "center">;
|
|
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;
|
|
1532
1531
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1533
1532
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1534
1533
|
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
|
-
}, "
|
|
1537
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "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,13 +1546,9 @@ 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: "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);
|
|
1550
1550
|
$el: any;
|
|
1551
1551
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1552
|
-
modelValue: {
|
|
1553
|
-
type: PropType<FieldValues>;
|
|
1554
|
-
default: () => {};
|
|
1555
|
-
};
|
|
1556
1552
|
collapseDuration: {
|
|
1557
1553
|
type: PropType<number>;
|
|
1558
1554
|
default: undefined;
|
|
@@ -1573,6 +1569,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1573
1569
|
type: PropType<"grid" | "flex">;
|
|
1574
1570
|
default: undefined;
|
|
1575
1571
|
};
|
|
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<"right" | "left" | "center">;
|
|
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;
|
|
1659
1658
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1660
1659
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1661
1660
|
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;
|
|
1677
1676
|
collapseDuration: number;
|
|
1678
1677
|
collapseTransition: boolean;
|
|
1679
1678
|
columns: PlusColumn[];
|
|
1680
1679
|
group: false | PlusFormGroupRow[];
|
|
1681
1680
|
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: "right" | "left" | "center";
|
|
1703
1703
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1704
1704
|
style?: CSSProperties | undefined;
|
|
1705
1705
|
class?: any;
|
|
@@ -1727,10 +1727,6 @@ 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
|
-
};
|
|
1734
1730
|
collapseDuration: {
|
|
1735
1731
|
type: PropType<number>;
|
|
1736
1732
|
default: undefined;
|
|
@@ -1751,6 +1747,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1751
1747
|
type: PropType<"grid" | "flex">;
|
|
1752
1748
|
default: undefined;
|
|
1753
1749
|
};
|
|
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<"right" | "left" | "center">;
|
|
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;
|
|
1837
1836
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1838
1837
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1839
1838
|
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" | "
|
|
1859
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1862
1862
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1863
|
-
readonly tooltip: string |
|
|
1863
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1864
1864
|
style?: CSSProperties | undefined;
|
|
1865
1865
|
class?: any;
|
|
1866
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1866
|
+
} & RecordType> | ComputedRef<string> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1942
1942
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1943
|
-
tooltip: string |
|
|
1943
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1944
1944
|
style?: CSSProperties | undefined;
|
|
1945
1945
|
class?: any;
|
|
1946
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1946
|
+
} & RecordType> | ComputedRef<string> | 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" | "
|
|
1975
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1978
1978
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1979
|
-
readonly tooltip: string |
|
|
1979
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1980
1980
|
style?: CSSProperties | undefined;
|
|
1981
1981
|
class?: any;
|
|
1982
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1982
|
+
} & RecordType> | ComputedRef<string> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2058
2058
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2059
|
-
tooltip: string |
|
|
2059
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2060
2060
|
style?: CSSProperties | undefined;
|
|
2061
2061
|
class?: any;
|
|
2062
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2062
|
+
} & RecordType> | ComputedRef<string> | 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" | "
|
|
2109
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2112
2112
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2113
|
-
readonly tooltip: string |
|
|
2113
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2114
2114
|
style?: CSSProperties | undefined;
|
|
2115
2115
|
class?: any;
|
|
2116
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2116
|
+
} & RecordType> | ComputedRef<string> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2192
2192
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2193
|
-
tooltip: string |
|
|
2193
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2194
2194
|
style?: CSSProperties | undefined;
|
|
2195
2195
|
class?: any;
|
|
2196
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2196
|
+
} & RecordType> | ComputedRef<string> | 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, "total" | "modelValue" | "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" | "
|
|
3544
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3547
3547
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3548
|
-
readonly tooltip: string |
|
|
3548
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3549
3549
|
style?: CSSProperties | undefined;
|
|
3550
3550
|
class?: any;
|
|
3551
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3551
|
+
} & RecordType> | ComputedRef<string> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3627
3627
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3628
|
-
tooltip: string |
|
|
3628
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3629
3629
|
style?: CSSProperties | undefined;
|
|
3630
3630
|
class?: any;
|
|
3631
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3631
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3632
3632
|
style?: CSSProperties | undefined;
|
|
3633
3633
|
class?: any;
|
|
3634
3634
|
} & RecordType>>;
|