yc-pro-components 0.0.75 → 0.0.76
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 +30 -30
- package/es/components/date-picker/src/index.vue.d.ts +22 -22
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- 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 +68 -68
- package/es/components/drawer-form/src/index.vue.d.ts +16 -16
- package/es/components/form/index.d.ts +71 -71
- package/es/components/form/src/form-content.vue.d.ts +21 -21
- package/es/components/form/src/index.vue.d.ts +19 -19
- package/es/components/form-item/index.d.ts +69 -69
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- 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 +533 -533
- package/es/components/page/src/index.vue.d.ts +181 -181
- 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 +243 -243
- package/es/components/search/src/index.vue.d.ts +73 -73
- 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/table/src/table-title-bar.vue.mjs +1 -1
- package/es/components/table/src/table-title-bar.vue2.mjs +79 -40
- package/es/components/table/src/type.d.ts +17 -0
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +2 -3
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +361 -361
- 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 +244 -244
- package/es/index.css +10 -9
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +84 -46
- package/index.min.css +2 -1
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +85 -47
- 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 +30 -30
- package/lib/components/date-picker/src/index.vue.d.ts +22 -22
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- 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 +68 -68
- package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
- package/lib/components/form/index.d.ts +71 -71
- package/lib/components/form/src/form-content.vue.d.ts +21 -21
- package/lib/components/form/src/index.vue.d.ts +19 -19
- package/lib/components/form-item/index.d.ts +69 -69
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- 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 +533 -533
- package/lib/components/page/src/index.vue.d.ts +181 -181
- 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 +243 -243
- package/lib/components/search/src/index.vue.d.ts +73 -73
- 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/table/src/table-title-bar.vue.js +1 -1
- package/lib/components/table/src/table-title-bar.vue2.js +78 -39
- package/lib/components/table/src/type.d.ts +17 -0
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +2 -3
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +361 -361
- 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 +244 -244
- package/lib/index.css +13 -12
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- 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,10 +139,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
139
139
|
$: ComponentInternalInstance;
|
|
140
140
|
$data: {};
|
|
141
141
|
$props: Partial<{
|
|
142
|
-
labelPosition: "left" | "right" | "top";
|
|
143
|
-
modelValue: FieldValues;
|
|
144
142
|
columns: PlusColumn[];
|
|
145
|
-
layout: "
|
|
143
|
+
layout: "grid" | "flex";
|
|
144
|
+
modelValue: FieldValues;
|
|
145
|
+
labelPosition: "top" | "right" | "left";
|
|
146
146
|
inline: boolean;
|
|
147
147
|
showNumber: number;
|
|
148
148
|
defaultValues: FieldValues;
|
|
@@ -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
|
-
readonly layout: "
|
|
171
|
+
readonly layout: "grid" | "flex";
|
|
172
|
+
readonly modelValue: FieldValues;
|
|
173
173
|
readonly inline: boolean;
|
|
174
174
|
readonly showNumber: number;
|
|
175
175
|
readonly defaultValues: FieldValues;
|
|
@@ -191,31 +191,31 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
191
191
|
readonly expandText: string;
|
|
192
192
|
readonly searchLoading: boolean;
|
|
193
193
|
readonly needValidate: boolean;
|
|
194
|
-
readonly labelPosition?: "
|
|
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
|
-
labelPosition: {
|
|
204
|
-
type: PropType<"left" | "right" | "top">;
|
|
205
|
-
default: undefined;
|
|
206
|
-
};
|
|
207
|
-
modelValue: {
|
|
208
|
-
type: PropType<FieldValues>;
|
|
209
|
-
default: () => {};
|
|
210
|
-
};
|
|
211
203
|
columns: {
|
|
212
204
|
type: PropType<PlusColumn[]>;
|
|
213
205
|
default: () => never[];
|
|
214
206
|
};
|
|
215
207
|
layout: {
|
|
216
|
-
type: PropType<"
|
|
208
|
+
type: PropType<"grid" | "flex">;
|
|
217
209
|
default: "grid";
|
|
218
210
|
};
|
|
211
|
+
modelValue: {
|
|
212
|
+
type: PropType<FieldValues>;
|
|
213
|
+
default: () => {};
|
|
214
|
+
};
|
|
215
|
+
labelPosition: {
|
|
216
|
+
type: PropType<"top" | "right" | "left">;
|
|
217
|
+
default: undefined;
|
|
218
|
+
};
|
|
219
219
|
inline: {
|
|
220
220
|
type: PropType<boolean>;
|
|
221
221
|
default: boolean;
|
|
@@ -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,25 +316,25 @@ 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
|
-
labelPosition: {
|
|
323
|
-
type: PropType<"left" | "right" | "top">;
|
|
324
|
-
default: undefined;
|
|
325
|
-
};
|
|
326
|
-
modelValue: {
|
|
327
|
-
type: PropType<FieldValues>;
|
|
328
|
-
default: () => {};
|
|
329
|
-
};
|
|
330
322
|
columns: {
|
|
331
323
|
type: PropType<PlusColumn[]>;
|
|
332
324
|
default: () => never[];
|
|
333
325
|
};
|
|
334
326
|
layout: {
|
|
335
|
-
type: PropType<"
|
|
327
|
+
type: PropType<"grid" | "flex">;
|
|
336
328
|
default: "grid";
|
|
337
329
|
};
|
|
330
|
+
modelValue: {
|
|
331
|
+
type: PropType<FieldValues>;
|
|
332
|
+
default: () => {};
|
|
333
|
+
};
|
|
334
|
+
labelPosition: {
|
|
335
|
+
type: PropType<"top" | "right" | "left">;
|
|
336
|
+
default: undefined;
|
|
337
|
+
};
|
|
338
338
|
inline: {
|
|
339
339
|
type: PropType<boolean>;
|
|
340
340
|
default: boolean;
|
|
@@ -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,14 +428,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
428
428
|
$: ComponentInternalInstance;
|
|
429
429
|
$data: {};
|
|
430
430
|
$props: Partial<{
|
|
431
|
-
labelPosition: "left" | "right" | "top";
|
|
432
|
-
modelValue: FieldValues;
|
|
433
431
|
collapseDuration: number;
|
|
434
432
|
collapseTransition: boolean;
|
|
435
433
|
columns: PlusColumn[];
|
|
436
434
|
group: false | PlusFormGroupRow[];
|
|
437
|
-
layout: "
|
|
435
|
+
layout: "grid" | "flex";
|
|
436
|
+
modelValue: FieldValues;
|
|
438
437
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
438
|
+
labelPosition: "top" | "right" | "left";
|
|
439
439
|
labelWidth: string | number;
|
|
440
440
|
labelSuffix: string;
|
|
441
441
|
defaultValues: FieldValues;
|
|
@@ -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,11 +462,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
462
462
|
prevent: boolean;
|
|
463
463
|
clearable: boolean;
|
|
464
464
|
}> & Omit<{
|
|
465
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
466
|
-
readonly modelValue: FieldValues;
|
|
467
465
|
readonly columns: PlusColumn[];
|
|
468
466
|
readonly group: false | PlusFormGroupRow[];
|
|
467
|
+
readonly modelValue: FieldValues;
|
|
469
468
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
469
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
470
470
|
readonly labelWidth: string | number;
|
|
471
471
|
readonly labelSuffix: string;
|
|
472
472
|
readonly defaultValues: FieldValues;
|
|
@@ -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;
|
|
@@ -494,22 +494,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
494
494
|
readonly clearable: boolean;
|
|
495
495
|
readonly collapseDuration?: number | undefined;
|
|
496
496
|
readonly collapseTransition?: boolean | undefined;
|
|
497
|
-
readonly layout?: "
|
|
498
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
497
|
+
readonly layout?: "grid" | "flex" | 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
|
-
labelPosition: {
|
|
506
|
-
type: PropType<"left" | "right" | "top">;
|
|
507
|
-
default: string;
|
|
508
|
-
};
|
|
509
|
-
modelValue: {
|
|
510
|
-
type: PropType<FieldValues>;
|
|
511
|
-
default: () => {};
|
|
512
|
-
};
|
|
513
505
|
collapseDuration: {
|
|
514
506
|
type: PropType<number>;
|
|
515
507
|
default: undefined;
|
|
@@ -527,13 +519,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
527
519
|
default: boolean;
|
|
528
520
|
};
|
|
529
521
|
layout: {
|
|
530
|
-
type: PropType<"
|
|
522
|
+
type: PropType<"grid" | "flex">;
|
|
531
523
|
default: undefined;
|
|
532
524
|
};
|
|
525
|
+
modelValue: {
|
|
526
|
+
type: PropType<FieldValues>;
|
|
527
|
+
default: () => {};
|
|
528
|
+
};
|
|
533
529
|
rules: {
|
|
534
530
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
535
531
|
default: () => {};
|
|
536
532
|
};
|
|
533
|
+
labelPosition: {
|
|
534
|
+
type: PropType<"top" | "right" | "left">;
|
|
535
|
+
default: string;
|
|
536
|
+
};
|
|
537
537
|
labelWidth: {
|
|
538
538
|
type: PropType<string | number>;
|
|
539
539
|
default: string;
|
|
@@ -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,17 +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
|
-
labelPosition: {
|
|
633
|
-
type: PropType<"left" | "right" | "top">;
|
|
634
|
-
default: string;
|
|
635
|
-
};
|
|
636
|
-
modelValue: {
|
|
637
|
-
type: PropType<FieldValues>;
|
|
638
|
-
default: () => {};
|
|
639
|
-
};
|
|
640
632
|
collapseDuration: {
|
|
641
633
|
type: PropType<number>;
|
|
642
634
|
default: undefined;
|
|
@@ -654,13 +646,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
654
646
|
default: boolean;
|
|
655
647
|
};
|
|
656
648
|
layout: {
|
|
657
|
-
type: PropType<"
|
|
649
|
+
type: PropType<"grid" | "flex">;
|
|
658
650
|
default: undefined;
|
|
659
651
|
};
|
|
652
|
+
modelValue: {
|
|
653
|
+
type: PropType<FieldValues>;
|
|
654
|
+
default: () => {};
|
|
655
|
+
};
|
|
660
656
|
rules: {
|
|
661
657
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
662
658
|
default: () => {};
|
|
663
659
|
};
|
|
660
|
+
labelPosition: {
|
|
661
|
+
type: PropType<"top" | "right" | "left">;
|
|
662
|
+
default: string;
|
|
663
|
+
};
|
|
664
664
|
labelWidth: {
|
|
665
665
|
type: PropType<string | number>;
|
|
666
666
|
default: string;
|
|
@@ -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,14 +753,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
753
753
|
submitError: (errors: unknown) => void;
|
|
754
754
|
validate: (...args: any[]) => void;
|
|
755
755
|
}, string, {
|
|
756
|
-
labelPosition: "left" | "right" | "top";
|
|
757
|
-
modelValue: FieldValues;
|
|
758
756
|
collapseDuration: number;
|
|
759
757
|
collapseTransition: boolean;
|
|
760
758
|
columns: PlusColumn[];
|
|
761
759
|
group: false | PlusFormGroupRow[];
|
|
762
|
-
layout: "
|
|
760
|
+
layout: "grid" | "flex";
|
|
761
|
+
modelValue: FieldValues;
|
|
763
762
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
763
|
+
labelPosition: "top" | "right" | "left";
|
|
764
764
|
labelWidth: string | number;
|
|
765
765
|
labelSuffix: string;
|
|
766
766
|
defaultValues: FieldValues;
|
|
@@ -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,14 +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
|
-
labelPosition: {
|
|
811
|
-
type: PropType<"left" | "right" | "top">;
|
|
812
|
-
default: string;
|
|
813
|
-
};
|
|
814
|
-
modelValue: {
|
|
815
|
-
type: PropType<FieldValues>;
|
|
816
|
-
default: () => {};
|
|
817
|
-
};
|
|
818
810
|
collapseDuration: {
|
|
819
811
|
type: PropType<number>;
|
|
820
812
|
default: undefined;
|
|
@@ -832,13 +824,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
832
824
|
default: boolean;
|
|
833
825
|
};
|
|
834
826
|
layout: {
|
|
835
|
-
type: PropType<"
|
|
827
|
+
type: PropType<"grid" | "flex">;
|
|
836
828
|
default: undefined;
|
|
837
829
|
};
|
|
830
|
+
modelValue: {
|
|
831
|
+
type: PropType<FieldValues>;
|
|
832
|
+
default: () => {};
|
|
833
|
+
};
|
|
838
834
|
rules: {
|
|
839
835
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
840
836
|
default: () => {};
|
|
841
837
|
};
|
|
838
|
+
labelPosition: {
|
|
839
|
+
type: PropType<"top" | "right" | "left">;
|
|
840
|
+
default: string;
|
|
841
|
+
};
|
|
842
842
|
labelWidth: {
|
|
843
843
|
type: PropType<string | number>;
|
|
844
844
|
default: string;
|
|
@@ -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,10 +1191,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1191
1191
|
reset: (values: FieldValues) => void;
|
|
1192
1192
|
collapse: (isShowUnfold: boolean) => void;
|
|
1193
1193
|
}, string, {
|
|
1194
|
-
labelPosition: "left" | "right" | "top";
|
|
1195
|
-
modelValue: FieldValues;
|
|
1196
1194
|
columns: PlusColumn[];
|
|
1197
|
-
layout: "
|
|
1195
|
+
layout: "grid" | "flex";
|
|
1196
|
+
modelValue: FieldValues;
|
|
1197
|
+
labelPosition: "top" | "right" | "left";
|
|
1198
1198
|
inline: boolean;
|
|
1199
1199
|
showNumber: number;
|
|
1200
1200
|
defaultValues: FieldValues;
|
|
@@ -1239,22 +1239,22 @@ 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
|
-
labelPosition: {
|
|
1243
|
-
type: PropType<"left" | "right" | "top">;
|
|
1244
|
-
default: undefined;
|
|
1245
|
-
};
|
|
1246
|
-
modelValue: {
|
|
1247
|
-
type: PropType<FieldValues>;
|
|
1248
|
-
default: () => {};
|
|
1249
|
-
};
|
|
1250
1242
|
columns: {
|
|
1251
1243
|
type: PropType<PlusColumn[]>;
|
|
1252
1244
|
default: () => never[];
|
|
1253
1245
|
};
|
|
1254
1246
|
layout: {
|
|
1255
|
-
type: PropType<"
|
|
1247
|
+
type: PropType<"grid" | "flex">;
|
|
1256
1248
|
default: "grid";
|
|
1257
1249
|
};
|
|
1250
|
+
modelValue: {
|
|
1251
|
+
type: PropType<FieldValues>;
|
|
1252
|
+
default: () => {};
|
|
1253
|
+
};
|
|
1254
|
+
labelPosition: {
|
|
1255
|
+
type: PropType<"top" | "right" | "left">;
|
|
1256
|
+
default: undefined;
|
|
1257
|
+
};
|
|
1258
1258
|
inline: {
|
|
1259
1259
|
type: PropType<boolean>;
|
|
1260
1260
|
default: boolean;
|
|
@@ -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,14 +1348,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1348
1348
|
$: ComponentInternalInstance;
|
|
1349
1349
|
$data: {};
|
|
1350
1350
|
$props: Partial<{
|
|
1351
|
-
labelPosition: "left" | "right" | "top";
|
|
1352
|
-
modelValue: FieldValues;
|
|
1353
1351
|
collapseDuration: number;
|
|
1354
1352
|
collapseTransition: boolean;
|
|
1355
1353
|
columns: PlusColumn[];
|
|
1356
1354
|
group: false | PlusFormGroupRow[];
|
|
1357
|
-
layout: "
|
|
1355
|
+
layout: "grid" | "flex";
|
|
1356
|
+
modelValue: FieldValues;
|
|
1358
1357
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1358
|
+
labelPosition: "top" | "right" | "left";
|
|
1359
1359
|
labelWidth: string | number;
|
|
1360
1360
|
labelSuffix: string;
|
|
1361
1361
|
defaultValues: FieldValues;
|
|
@@ -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,11 +1382,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1382
1382
|
prevent: boolean;
|
|
1383
1383
|
clearable: boolean;
|
|
1384
1384
|
}> & Omit<{
|
|
1385
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
1386
|
-
readonly modelValue: FieldValues;
|
|
1387
1385
|
readonly columns: PlusColumn[];
|
|
1388
1386
|
readonly group: false | PlusFormGroupRow[];
|
|
1387
|
+
readonly modelValue: FieldValues;
|
|
1389
1388
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1389
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
1390
1390
|
readonly labelWidth: string | number;
|
|
1391
1391
|
readonly labelSuffix: string;
|
|
1392
1392
|
readonly defaultValues: FieldValues;
|
|
@@ -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;
|
|
@@ -1414,22 +1414,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1414
1414
|
readonly clearable: boolean;
|
|
1415
1415
|
readonly collapseDuration?: number | undefined;
|
|
1416
1416
|
readonly collapseTransition?: boolean | undefined;
|
|
1417
|
-
readonly layout?: "
|
|
1418
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1417
|
+
readonly layout?: "grid" | "flex" | 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
|
-
labelPosition: {
|
|
1426
|
-
type: PropType<"left" | "right" | "top">;
|
|
1427
|
-
default: string;
|
|
1428
|
-
};
|
|
1429
|
-
modelValue: {
|
|
1430
|
-
type: PropType<FieldValues>;
|
|
1431
|
-
default: () => {};
|
|
1432
|
-
};
|
|
1433
1425
|
collapseDuration: {
|
|
1434
1426
|
type: PropType<number>;
|
|
1435
1427
|
default: undefined;
|
|
@@ -1447,13 +1439,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1447
1439
|
default: boolean;
|
|
1448
1440
|
};
|
|
1449
1441
|
layout: {
|
|
1450
|
-
type: PropType<"
|
|
1442
|
+
type: PropType<"grid" | "flex">;
|
|
1451
1443
|
default: undefined;
|
|
1452
1444
|
};
|
|
1445
|
+
modelValue: {
|
|
1446
|
+
type: PropType<FieldValues>;
|
|
1447
|
+
default: () => {};
|
|
1448
|
+
};
|
|
1453
1449
|
rules: {
|
|
1454
1450
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1455
1451
|
default: () => {};
|
|
1456
1452
|
};
|
|
1453
|
+
labelPosition: {
|
|
1454
|
+
type: PropType<"top" | "right" | "left">;
|
|
1455
|
+
default: string;
|
|
1456
|
+
};
|
|
1457
1457
|
labelWidth: {
|
|
1458
1458
|
type: PropType<string | number>;
|
|
1459
1459
|
default: string;
|
|
@@ -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,17 +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
|
-
labelPosition: {
|
|
1553
|
-
type: PropType<"left" | "right" | "top">;
|
|
1554
|
-
default: string;
|
|
1555
|
-
};
|
|
1556
|
-
modelValue: {
|
|
1557
|
-
type: PropType<FieldValues>;
|
|
1558
|
-
default: () => {};
|
|
1559
|
-
};
|
|
1560
1552
|
collapseDuration: {
|
|
1561
1553
|
type: PropType<number>;
|
|
1562
1554
|
default: undefined;
|
|
@@ -1574,13 +1566,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1574
1566
|
default: boolean;
|
|
1575
1567
|
};
|
|
1576
1568
|
layout: {
|
|
1577
|
-
type: PropType<"
|
|
1569
|
+
type: PropType<"grid" | "flex">;
|
|
1578
1570
|
default: undefined;
|
|
1579
1571
|
};
|
|
1572
|
+
modelValue: {
|
|
1573
|
+
type: PropType<FieldValues>;
|
|
1574
|
+
default: () => {};
|
|
1575
|
+
};
|
|
1580
1576
|
rules: {
|
|
1581
1577
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1582
1578
|
default: () => {};
|
|
1583
1579
|
};
|
|
1580
|
+
labelPosition: {
|
|
1581
|
+
type: PropType<"top" | "right" | "left">;
|
|
1582
|
+
default: string;
|
|
1583
|
+
};
|
|
1584
1584
|
labelWidth: {
|
|
1585
1585
|
type: PropType<string | number>;
|
|
1586
1586
|
default: string;
|
|
@@ -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,14 +1673,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1673
1673
|
submitError: (errors: unknown) => void;
|
|
1674
1674
|
validate: (...args: any[]) => void;
|
|
1675
1675
|
}, string, {
|
|
1676
|
-
labelPosition: "left" | "right" | "top";
|
|
1677
|
-
modelValue: FieldValues;
|
|
1678
1676
|
collapseDuration: number;
|
|
1679
1677
|
collapseTransition: boolean;
|
|
1680
1678
|
columns: PlusColumn[];
|
|
1681
1679
|
group: false | PlusFormGroupRow[];
|
|
1682
|
-
layout: "
|
|
1680
|
+
layout: "grid" | "flex";
|
|
1681
|
+
modelValue: FieldValues;
|
|
1683
1682
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1683
|
+
labelPosition: "top" | "right" | "left";
|
|
1684
1684
|
labelWidth: string | number;
|
|
1685
1685
|
labelSuffix: string;
|
|
1686
1686
|
defaultValues: FieldValues;
|
|
@@ -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,14 +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
|
-
labelPosition: {
|
|
1731
|
-
type: PropType<"left" | "right" | "top">;
|
|
1732
|
-
default: string;
|
|
1733
|
-
};
|
|
1734
|
-
modelValue: {
|
|
1735
|
-
type: PropType<FieldValues>;
|
|
1736
|
-
default: () => {};
|
|
1737
|
-
};
|
|
1738
1730
|
collapseDuration: {
|
|
1739
1731
|
type: PropType<number>;
|
|
1740
1732
|
default: undefined;
|
|
@@ -1752,13 +1744,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1752
1744
|
default: boolean;
|
|
1753
1745
|
};
|
|
1754
1746
|
layout: {
|
|
1755
|
-
type: PropType<"
|
|
1747
|
+
type: PropType<"grid" | "flex">;
|
|
1756
1748
|
default: undefined;
|
|
1757
1749
|
};
|
|
1750
|
+
modelValue: {
|
|
1751
|
+
type: PropType<FieldValues>;
|
|
1752
|
+
default: () => {};
|
|
1753
|
+
};
|
|
1758
1754
|
rules: {
|
|
1759
1755
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1760
1756
|
default: () => {};
|
|
1761
1757
|
};
|
|
1758
|
+
labelPosition: {
|
|
1759
|
+
type: PropType<"top" | "right" | "left">;
|
|
1760
|
+
default: string;
|
|
1761
|
+
};
|
|
1762
1762
|
labelWidth: {
|
|
1763
1763
|
type: PropType<string | number>;
|
|
1764
1764
|
default: string;
|
|
@@ -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>>;
|