yc-pro-components 0.0.80 → 0.0.82
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 +38 -38
- package/es/components/check-card/src/index.vue.d.ts +3 -3
- package/es/components/check-card-group/index.d.ts +4 -4
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +11 -11
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/dialog/index.d.ts +83 -83
- package/es/components/dialog/src/index.vue.d.ts +7 -7
- package/es/components/dialog-form/index.d.ts +38 -38
- package/es/components/dialog-form/src/index.vue.d.ts +10 -10
- package/es/components/display-item/index.d.ts +18 -18
- package/es/components/display-item/src/index.vue.d.ts +18 -18
- package/es/components/drawer-form/index.d.ts +126 -126
- package/es/components/drawer-form/src/index.vue.d.ts +29 -29
- package/es/components/form/index.d.ts +49 -49
- package/es/components/form/src/form-content.vue.d.ts +28 -28
- package/es/components/form/src/index.vue.d.ts +16 -16
- package/es/components/form-item/index.d.ts +66 -66
- package/es/components/form-item/src/index.vue.d.ts +19 -19
- package/es/components/input-tag/index.d.ts +1 -1
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/index.d.ts +390 -378
- package/es/components/page/src/index.vue.d.ts +134 -130
- package/es/components/pagination/index.d.ts +11 -11
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/popover/index.d.ts +42 -42
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +22 -22
- package/es/components/radio/src/index.vue.d.ts +22 -22
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +171 -171
- package/es/components/search/src/index.vue.d.ts +54 -54
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +6 -0
- package/es/components/table/src/index.vue.d.ts +2 -0
- package/es/components/table/src/index.vue2.mjs +30 -1
- package/es/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +18 -18
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-card/index.d.ts +19 -19
- package/es/components/yc-card/src/index.vue.d.ts +1 -1
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- 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/store.d.ts +5 -5
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +16 -16
- package/es/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +17 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/es/components/yc-svg-icon/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 +402 -402
- package/es/index.css +11 -11
- 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 +50 -4
- package/index.min.css +1 -1
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +50 -4
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +3 -3
- package/lib/components/check-card-group/index.d.ts +4 -4
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +11 -11
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/dialog/index.d.ts +83 -83
- package/lib/components/dialog/src/index.vue.d.ts +7 -7
- package/lib/components/dialog-form/index.d.ts +38 -38
- package/lib/components/dialog-form/src/index.vue.d.ts +10 -10
- package/lib/components/display-item/index.d.ts +18 -18
- package/lib/components/display-item/src/index.vue.d.ts +18 -18
- package/lib/components/drawer-form/index.d.ts +126 -126
- package/lib/components/drawer-form/src/index.vue.d.ts +29 -29
- package/lib/components/form/index.d.ts +49 -49
- package/lib/components/form/src/form-content.vue.d.ts +28 -28
- package/lib/components/form/src/index.vue.d.ts +16 -16
- package/lib/components/form-item/index.d.ts +66 -66
- package/lib/components/form-item/src/index.vue.d.ts +19 -19
- package/lib/components/input-tag/index.d.ts +1 -1
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/index.d.ts +390 -378
- package/lib/components/page/src/index.vue.d.ts +134 -130
- package/lib/components/pagination/index.d.ts +11 -11
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/popover/index.d.ts +42 -42
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +22 -22
- package/lib/components/radio/src/index.vue.d.ts +22 -22
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +171 -171
- package/lib/components/search/src/index.vue.d.ts +54 -54
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +6 -0
- package/lib/components/table/src/index.vue.d.ts +2 -0
- package/lib/components/table/src/index.vue2.js +30 -1
- package/lib/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +18 -18
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-card/index.d.ts +19 -19
- package/lib/components/yc-card/src/index.vue.d.ts +1 -1
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- 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/store.d.ts +5 -5
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +16 -16
- package/lib/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +17 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/lib/components/yc-svg-icon/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 +402 -402
- package/lib/index.css +10 -10
- 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
142
|
modelValue: FieldValues;
|
|
144
143
|
columns: PlusColumn[];
|
|
145
|
-
layout: "
|
|
144
|
+
layout: "grid" | "flex";
|
|
145
|
+
labelPosition: "top" | "right" | "left";
|
|
146
146
|
inline: boolean;
|
|
147
147
|
showNumber: number;
|
|
148
148
|
defaultValues: FieldValues;
|
|
@@ -169,7 +169,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
169
169
|
}> & Omit<{
|
|
170
170
|
readonly modelValue: FieldValues;
|
|
171
171
|
readonly columns: PlusColumn[];
|
|
172
|
-
readonly layout: "
|
|
172
|
+
readonly layout: "grid" | "flex";
|
|
173
173
|
readonly inline: boolean;
|
|
174
174
|
readonly showNumber: number;
|
|
175
175
|
readonly defaultValues: FieldValues;
|
|
@@ -191,19 +191,15 @@ 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
203
|
modelValue: {
|
|
208
204
|
type: PropType<FieldValues>;
|
|
209
205
|
default: () => {};
|
|
@@ -213,9 +209,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
213
209
|
default: () => never[];
|
|
214
210
|
};
|
|
215
211
|
layout: {
|
|
216
|
-
type: PropType<"
|
|
212
|
+
type: PropType<"grid" | "flex">;
|
|
217
213
|
default: "grid";
|
|
218
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
|
+
}, "modelValue" | "columns" | "layout" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
308
308
|
$attrs: {
|
|
309
309
|
[x: string]: unknown;
|
|
310
310
|
};
|
|
@@ -316,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
|
-
labelPosition: {
|
|
323
|
-
type: PropType<"left" | "right" | "top">;
|
|
324
|
-
default: undefined;
|
|
325
|
-
};
|
|
326
322
|
modelValue: {
|
|
327
323
|
type: PropType<FieldValues>;
|
|
328
324
|
default: () => {};
|
|
@@ -332,9 +328,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
332
328
|
default: () => never[];
|
|
333
329
|
};
|
|
334
330
|
layout: {
|
|
335
|
-
type: PropType<"
|
|
331
|
+
type: PropType<"grid" | "flex">;
|
|
336
332
|
default: "grid";
|
|
337
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
431
|
modelValue: FieldValues;
|
|
433
432
|
collapseDuration: number;
|
|
434
433
|
collapseTransition: boolean;
|
|
435
434
|
columns: PlusColumn[];
|
|
436
435
|
group: false | PlusFormGroupRow[];
|
|
437
|
-
layout: "
|
|
436
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
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
465
|
readonly modelValue: FieldValues;
|
|
467
466
|
readonly columns: PlusColumn[];
|
|
468
467
|
readonly group: false | PlusFormGroupRow[];
|
|
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: "center" | "right" | "left";
|
|
489
489
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
490
490
|
style?: CSSProperties | undefined;
|
|
491
491
|
class?: any;
|
|
@@ -494,18 +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
505
|
modelValue: {
|
|
510
506
|
type: PropType<FieldValues>;
|
|
511
507
|
default: () => {};
|
|
@@ -527,13 +523,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
527
523
|
default: boolean;
|
|
528
524
|
};
|
|
529
525
|
layout: {
|
|
530
|
-
type: PropType<"
|
|
526
|
+
type: PropType<"grid" | "flex">;
|
|
531
527
|
default: undefined;
|
|
532
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<"center" | "right" | "left">;
|
|
593
593
|
default: string;
|
|
594
594
|
};
|
|
595
595
|
cardProps: {
|
|
@@ -608,13 +608,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
608
608
|
default: boolean;
|
|
609
609
|
};
|
|
610
610
|
}>> & {
|
|
611
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
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
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
618
618
|
$attrs: {
|
|
619
619
|
[x: string]: unknown;
|
|
620
620
|
};
|
|
@@ -626,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
|
-
labelPosition: {
|
|
633
|
-
type: PropType<"left" | "right" | "top">;
|
|
634
|
-
default: string;
|
|
635
|
-
};
|
|
636
632
|
modelValue: {
|
|
637
633
|
type: PropType<FieldValues>;
|
|
638
634
|
default: () => {};
|
|
@@ -654,13 +650,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
654
650
|
default: boolean;
|
|
655
651
|
};
|
|
656
652
|
layout: {
|
|
657
|
-
type: PropType<"
|
|
653
|
+
type: PropType<"grid" | "flex">;
|
|
658
654
|
default: undefined;
|
|
659
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<"center" | "right" | "left">;
|
|
720
720
|
default: string;
|
|
721
721
|
};
|
|
722
722
|
cardProps: {
|
|
@@ -735,10 +735,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
735
735
|
default: boolean;
|
|
736
736
|
};
|
|
737
737
|
}>> & {
|
|
738
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
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
756
|
modelValue: FieldValues;
|
|
758
757
|
collapseDuration: number;
|
|
759
758
|
collapseTransition: boolean;
|
|
760
759
|
columns: PlusColumn[];
|
|
761
760
|
group: false | PlusFormGroupRow[];
|
|
762
|
-
layout: "
|
|
761
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
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
|
-
labelPosition: {
|
|
811
|
-
type: PropType<"left" | "right" | "top">;
|
|
812
|
-
default: string;
|
|
813
|
-
};
|
|
814
810
|
modelValue: {
|
|
815
811
|
type: PropType<FieldValues>;
|
|
816
812
|
default: () => {};
|
|
@@ -832,13 +828,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
832
828
|
default: boolean;
|
|
833
829
|
};
|
|
834
830
|
layout: {
|
|
835
|
-
type: PropType<"
|
|
831
|
+
type: PropType<"grid" | "flex">;
|
|
836
832
|
default: undefined;
|
|
837
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<"center" | "right" | "left">;
|
|
898
898
|
default: string;
|
|
899
899
|
};
|
|
900
900
|
cardProps: {
|
|
@@ -913,10 +913,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
913
913
|
default: boolean;
|
|
914
914
|
};
|
|
915
915
|
}>> & {
|
|
916
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
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,10 +936,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
940
940
|
readonly label: string | ComputedRef<string>;
|
|
941
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
942
|
-
readonly hasLabel: boolean |
|
|
941
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
942
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
943
943
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
944
944
|
style?: CSSProperties | undefined;
|
|
945
945
|
class?: any;
|
|
@@ -965,7 +965,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
965
965
|
};
|
|
966
966
|
rows: number;
|
|
967
967
|
autocomplete: string;
|
|
968
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
968
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
969
969
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
970
970
|
step: string | number;
|
|
971
971
|
/**
|
|
@@ -1018,8 +1018,8 @@ 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] | boolean[] |
|
|
1022
|
-
hasLabel: boolean |
|
|
1021
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1022
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1023
1023
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1024
1024
|
style?: CSSProperties | undefined;
|
|
1025
1025
|
class?: any;
|
|
@@ -1052,10 +1052,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1056
1056
|
readonly label: string | ComputedRef<string>;
|
|
1057
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1058
|
-
readonly hasLabel: boolean |
|
|
1057
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1058
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1059
1059
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1060
1060
|
style?: CSSProperties | undefined;
|
|
1061
1061
|
class?: any;
|
|
@@ -1081,7 +1081,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1081
1081
|
};
|
|
1082
1082
|
rows: number;
|
|
1083
1083
|
autocomplete: string;
|
|
1084
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1084
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1085
1085
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1086
1086
|
step: string | number;
|
|
1087
1087
|
/**
|
|
@@ -1134,8 +1134,8 @@ 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] | boolean[] |
|
|
1138
|
-
hasLabel: boolean |
|
|
1137
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1138
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1139
1139
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1140
1140
|
style?: CSSProperties | undefined;
|
|
1141
1141
|
class?: any;
|
|
@@ -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
1194
|
modelValue: FieldValues;
|
|
1196
1195
|
columns: PlusColumn[];
|
|
1197
|
-
layout: "
|
|
1196
|
+
layout: "grid" | "flex";
|
|
1197
|
+
labelPosition: "top" | "right" | "left";
|
|
1198
1198
|
inline: boolean;
|
|
1199
1199
|
showNumber: number;
|
|
1200
1200
|
defaultValues: FieldValues;
|
|
@@ -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
|
-
labelPosition: {
|
|
1243
|
-
type: PropType<"left" | "right" | "top">;
|
|
1244
|
-
default: undefined;
|
|
1245
|
-
};
|
|
1246
1242
|
modelValue: {
|
|
1247
1243
|
type: PropType<FieldValues>;
|
|
1248
1244
|
default: () => {};
|
|
@@ -1252,9 +1248,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1252
1248
|
default: () => never[];
|
|
1253
1249
|
};
|
|
1254
1250
|
layout: {
|
|
1255
|
-
type: PropType<"
|
|
1251
|
+
type: PropType<"grid" | "flex">;
|
|
1256
1252
|
default: "grid";
|
|
1257
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
1351
|
modelValue: FieldValues;
|
|
1353
1352
|
collapseDuration: number;
|
|
1354
1353
|
collapseTransition: boolean;
|
|
1355
1354
|
columns: PlusColumn[];
|
|
1356
1355
|
group: false | PlusFormGroupRow[];
|
|
1357
|
-
layout: "
|
|
1356
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
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
1385
|
readonly modelValue: FieldValues;
|
|
1387
1386
|
readonly columns: PlusColumn[];
|
|
1388
1387
|
readonly group: false | PlusFormGroupRow[];
|
|
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: "center" | "right" | "left";
|
|
1409
1409
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1410
1410
|
style?: CSSProperties | undefined;
|
|
1411
1411
|
class?: any;
|
|
@@ -1414,18 +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
1425
|
modelValue: {
|
|
1430
1426
|
type: PropType<FieldValues>;
|
|
1431
1427
|
default: () => {};
|
|
@@ -1447,13 +1443,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1447
1443
|
default: boolean;
|
|
1448
1444
|
};
|
|
1449
1445
|
layout: {
|
|
1450
|
-
type: PropType<"
|
|
1446
|
+
type: PropType<"grid" | "flex">;
|
|
1451
1447
|
default: undefined;
|
|
1452
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<"center" | "right" | "left">;
|
|
1513
1513
|
default: string;
|
|
1514
1514
|
};
|
|
1515
1515
|
cardProps: {
|
|
@@ -1528,13 +1528,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1528
1528
|
default: boolean;
|
|
1529
1529
|
};
|
|
1530
1530
|
}>> & {
|
|
1531
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
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
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1538
1538
|
$attrs: {
|
|
1539
1539
|
[x: string]: unknown;
|
|
1540
1540
|
};
|
|
@@ -1546,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
|
-
labelPosition: {
|
|
1553
|
-
type: PropType<"left" | "right" | "top">;
|
|
1554
|
-
default: string;
|
|
1555
|
-
};
|
|
1556
1552
|
modelValue: {
|
|
1557
1553
|
type: PropType<FieldValues>;
|
|
1558
1554
|
default: () => {};
|
|
@@ -1574,13 +1570,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1574
1570
|
default: boolean;
|
|
1575
1571
|
};
|
|
1576
1572
|
layout: {
|
|
1577
|
-
type: PropType<"
|
|
1573
|
+
type: PropType<"grid" | "flex">;
|
|
1578
1574
|
default: undefined;
|
|
1579
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<"center" | "right" | "left">;
|
|
1640
1640
|
default: string;
|
|
1641
1641
|
};
|
|
1642
1642
|
cardProps: {
|
|
@@ -1655,10 +1655,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1655
1655
|
default: boolean;
|
|
1656
1656
|
};
|
|
1657
1657
|
}>> & {
|
|
1658
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
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
1676
|
modelValue: FieldValues;
|
|
1678
1677
|
collapseDuration: number;
|
|
1679
1678
|
collapseTransition: boolean;
|
|
1680
1679
|
columns: PlusColumn[];
|
|
1681
1680
|
group: false | PlusFormGroupRow[];
|
|
1682
|
-
layout: "
|
|
1681
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
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
|
-
labelPosition: {
|
|
1731
|
-
type: PropType<"left" | "right" | "top">;
|
|
1732
|
-
default: string;
|
|
1733
|
-
};
|
|
1734
1730
|
modelValue: {
|
|
1735
1731
|
type: PropType<FieldValues>;
|
|
1736
1732
|
default: () => {};
|
|
@@ -1752,13 +1748,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1752
1748
|
default: boolean;
|
|
1753
1749
|
};
|
|
1754
1750
|
layout: {
|
|
1755
|
-
type: PropType<"
|
|
1751
|
+
type: PropType<"grid" | "flex">;
|
|
1756
1752
|
default: undefined;
|
|
1757
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<"center" | "right" | "left">;
|
|
1818
1818
|
default: string;
|
|
1819
1819
|
};
|
|
1820
1820
|
cardProps: {
|
|
@@ -1833,10 +1833,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1833
1833
|
default: boolean;
|
|
1834
1834
|
};
|
|
1835
1835
|
}>> & {
|
|
1836
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
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,10 +1856,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1860
1860
|
readonly label: string | ComputedRef<string>;
|
|
1861
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1862
|
-
readonly hasLabel: boolean |
|
|
1861
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1862
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1863
1863
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1864
1864
|
style?: CSSProperties | undefined;
|
|
1865
1865
|
class?: any;
|
|
@@ -1885,7 +1885,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1885
1885
|
};
|
|
1886
1886
|
rows: number;
|
|
1887
1887
|
autocomplete: string;
|
|
1888
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1888
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1889
1889
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1890
1890
|
step: string | number;
|
|
1891
1891
|
/**
|
|
@@ -1938,8 +1938,8 @@ 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] | boolean[] |
|
|
1942
|
-
hasLabel: boolean |
|
|
1941
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1942
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1943
1943
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1944
1944
|
style?: CSSProperties | undefined;
|
|
1945
1945
|
class?: any;
|
|
@@ -1972,10 +1972,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1976
1976
|
readonly label: string | ComputedRef<string>;
|
|
1977
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1978
|
-
readonly hasLabel: boolean |
|
|
1977
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1978
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1979
1979
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1980
1980
|
style?: CSSProperties | undefined;
|
|
1981
1981
|
class?: any;
|
|
@@ -2001,7 +2001,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2001
2001
|
};
|
|
2002
2002
|
rows: number;
|
|
2003
2003
|
autocomplete: string;
|
|
2004
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2004
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2005
2005
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2006
2006
|
step: string | number;
|
|
2007
2007
|
/**
|
|
@@ -2054,8 +2054,8 @@ 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] | boolean[] |
|
|
2058
|
-
hasLabel: boolean |
|
|
2057
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2058
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2059
2059
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2060
2060
|
style?: CSSProperties | undefined;
|
|
2061
2061
|
class?: any;
|
|
@@ -2106,10 +2106,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2110
2110
|
readonly label: string | ComputedRef<string>;
|
|
2111
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
2112
|
-
readonly hasLabel: boolean |
|
|
2111
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2112
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2113
2113
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2114
2114
|
style?: CSSProperties | undefined;
|
|
2115
2115
|
class?: any;
|
|
@@ -2135,7 +2135,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2135
2135
|
};
|
|
2136
2136
|
rows: number;
|
|
2137
2137
|
autocomplete: string;
|
|
2138
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2138
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2139
2139
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2140
2140
|
step: string | number;
|
|
2141
2141
|
/**
|
|
@@ -2188,8 +2188,8 @@ 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] | boolean[] |
|
|
2192
|
-
hasLabel: boolean |
|
|
2191
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2192
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2193
2193
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2194
2194
|
style?: CSSProperties | undefined;
|
|
2195
2195
|
class?: any;
|
|
@@ -2656,6 +2656,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2656
2656
|
}, {
|
|
2657
2657
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
2658
2658
|
tableInstance: ShallowRef< TableInstance | null>;
|
|
2659
|
+
startRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
|
|
2660
|
+
stopRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
|
|
2659
2661
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2660
2662
|
paginationChange: (pageInfo: PageInfo) => void;
|
|
2661
2663
|
clickAction: (data: ButtonsCallBackParams) => void;
|
|
@@ -2884,9 +2886,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2884
2886
|
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
2885
2887
|
onEdited?: (() => any) | undefined;
|
|
2886
2888
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
2887
|
-
}, "tableInstance" | "formRefs"> & ShallowUnwrapRef<{
|
|
2889
|
+
}, "tableInstance" | "formRefs" | "startRowEdit" | "stopRowEdit"> & ShallowUnwrapRef<{
|
|
2888
2890
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
2889
2891
|
tableInstance: ShallowRef< TableInstance | null>;
|
|
2892
|
+
startRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
|
|
2893
|
+
stopRowEdit: (rowIndex: number, prop?: string | undefined) => Promise<boolean>;
|
|
2890
2894
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2891
2895
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2892
2896
|
column: any;
|
|
@@ -3541,10 +3545,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3541
3545
|
};
|
|
3542
3546
|
searchSlot: boolean;
|
|
3543
3547
|
}, {}>, Partial<Record<never, (_: {
|
|
3544
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3548
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3545
3549
|
readonly label: string | ComputedRef<string>;
|
|
3546
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
3547
|
-
readonly hasLabel: boolean |
|
|
3550
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3551
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
3548
3552
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3549
3553
|
style?: CSSProperties | undefined;
|
|
3550
3554
|
class?: any;
|
|
@@ -3570,7 +3574,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3570
3574
|
};
|
|
3571
3575
|
rows: number;
|
|
3572
3576
|
autocomplete: string;
|
|
3573
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
3577
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
3574
3578
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3575
3579
|
step: string | number;
|
|
3576
3580
|
/**
|
|
@@ -3623,8 +3627,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3623
3627
|
fieldInstance?: any;
|
|
3624
3628
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3625
3629
|
prop: string;
|
|
3626
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
3627
|
-
hasLabel: boolean |
|
|
3630
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3631
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
3628
3632
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3629
3633
|
style?: CSSProperties | undefined;
|
|
3630
3634
|
class?: any;
|