yc-pro-components 0.0.64 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +20 -20
- package/es/components/date-picker/src/index.vue.d.ts +12 -12
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +65 -65
- package/es/components/drawer-form/src/index.vue.d.ts +15 -15
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +48 -48
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +344 -344
- package/es/components/page/src/index.vue.d.ts +118 -118
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +154 -154
- package/es/components/search/src/index.vue.d.ts +50 -50
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +30 -68
- package/es/components/yc-plus-page/src/index.vue.d.ts +235 -235
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +8 -8
- package/index.css +6 -6
- package/index.js +35 -73
- package/index.min.css +1 -1
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +35 -73
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +20 -20
- package/lib/components/date-picker/src/index.vue.d.ts +12 -12
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +65 -65
- package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +48 -48
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +344 -344
- package/lib/components/page/src/index.vue.d.ts +118 -118
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +154 -154
- package/lib/components/search/src/index.vue.d.ts +50 -50
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +29 -67
- package/lib/components/yc-plus-page/src/index.vue.d.ts +235 -235
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +9 -9
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
3
3
|
import { FormItemRule, RowProps, ColProps, CardProps, FormInstance, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
4
|
import { Arrayable, EpPropMergeType } from 'element-plus/es/utils';
|
|
5
5
|
import { PlusFormGroupRow } from './src/type';
|
|
6
|
-
import {
|
|
6
|
+
import { FieldValues, PlusColumn, Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
7
7
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, ComputedRef, Component } from 'vue';
|
|
8
8
|
import { default as Form } from './src/index.vue';
|
|
9
9
|
|
|
@@ -11,6 +11,10 @@ export type PlusFormInstance = InstanceType<typeof Form>;
|
|
|
11
11
|
export * from './src/type';
|
|
12
12
|
export declare const PlusForm: {
|
|
13
13
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: PropType<FieldValues>;
|
|
16
|
+
default: () => {};
|
|
17
|
+
};
|
|
14
18
|
collapseDuration: {
|
|
15
19
|
type: PropType<number>;
|
|
16
20
|
default: undefined;
|
|
@@ -31,10 +35,6 @@ export declare const PlusForm: {
|
|
|
31
35
|
type: PropType<"grid" | "flex">;
|
|
32
36
|
default: undefined;
|
|
33
37
|
};
|
|
34
|
-
modelValue: {
|
|
35
|
-
type: PropType<FieldValues>;
|
|
36
|
-
default: () => {};
|
|
37
|
-
};
|
|
38
38
|
rules: {
|
|
39
39
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
40
40
|
default: () => {};
|
|
@@ -98,7 +98,7 @@ export declare const PlusForm: {
|
|
|
98
98
|
default: boolean;
|
|
99
99
|
};
|
|
100
100
|
footerAlign: {
|
|
101
|
-
type: PropType<"
|
|
101
|
+
type: PropType<"center" | "right" | "left">;
|
|
102
102
|
default: string;
|
|
103
103
|
};
|
|
104
104
|
cardProps: {
|
|
@@ -117,10 +117,10 @@ export declare const PlusForm: {
|
|
|
117
117
|
default: boolean;
|
|
118
118
|
};
|
|
119
119
|
}>> & {
|
|
120
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
120
121
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
121
122
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
122
123
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
123
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
124
124
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
125
125
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
126
126
|
}, {
|
|
@@ -135,6 +135,10 @@ export declare const PlusForm: {
|
|
|
135
135
|
submitError: (errors: unknown) => void;
|
|
136
136
|
validate: (...args: any[]) => void;
|
|
137
137
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
138
|
+
modelValue: {
|
|
139
|
+
type: PropType<FieldValues>;
|
|
140
|
+
default: () => {};
|
|
141
|
+
};
|
|
138
142
|
collapseDuration: {
|
|
139
143
|
type: PropType<number>;
|
|
140
144
|
default: undefined;
|
|
@@ -155,10 +159,6 @@ export declare const PlusForm: {
|
|
|
155
159
|
type: PropType<"grid" | "flex">;
|
|
156
160
|
default: undefined;
|
|
157
161
|
};
|
|
158
|
-
modelValue: {
|
|
159
|
-
type: PropType<FieldValues>;
|
|
160
|
-
default: () => {};
|
|
161
|
-
};
|
|
162
162
|
rules: {
|
|
163
163
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
164
164
|
default: () => {};
|
|
@@ -222,7 +222,7 @@ export declare const PlusForm: {
|
|
|
222
222
|
default: boolean;
|
|
223
223
|
};
|
|
224
224
|
footerAlign: {
|
|
225
|
-
type: PropType<"
|
|
225
|
+
type: PropType<"center" | "right" | "left">;
|
|
226
226
|
default: string;
|
|
227
227
|
};
|
|
228
228
|
cardProps: {
|
|
@@ -241,19 +241,19 @@ export declare const PlusForm: {
|
|
|
241
241
|
default: boolean;
|
|
242
242
|
};
|
|
243
243
|
}>> & {
|
|
244
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
244
245
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
245
246
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
246
247
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
247
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
248
248
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
249
249
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
250
250
|
}, {
|
|
251
|
+
modelValue: FieldValues;
|
|
251
252
|
collapseDuration: number;
|
|
252
253
|
collapseTransition: boolean;
|
|
253
254
|
columns: PlusColumn[];
|
|
254
255
|
group: false | PlusFormGroupRow[];
|
|
255
256
|
layout: "grid" | "flex";
|
|
256
|
-
modelValue: FieldValues;
|
|
257
257
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
258
258
|
labelPosition: "top" | "right" | "left";
|
|
259
259
|
labelWidth: string | number;
|
|
@@ -274,7 +274,7 @@ export declare const PlusForm: {
|
|
|
274
274
|
submitText: string;
|
|
275
275
|
resetText: string;
|
|
276
276
|
submitLoading: boolean;
|
|
277
|
-
footerAlign: "
|
|
277
|
+
footerAlign: "center" | "right" | "left";
|
|
278
278
|
cardProps: Partial< Mutable<CardProps> & {
|
|
279
279
|
style?: CSSProperties | undefined;
|
|
280
280
|
class?: any;
|
|
@@ -289,6 +289,10 @@ export declare const PlusForm: {
|
|
|
289
289
|
M: {};
|
|
290
290
|
Defaults: {};
|
|
291
291
|
}, Readonly< ExtractPropTypes<{
|
|
292
|
+
modelValue: {
|
|
293
|
+
type: PropType<FieldValues>;
|
|
294
|
+
default: () => {};
|
|
295
|
+
};
|
|
292
296
|
collapseDuration: {
|
|
293
297
|
type: PropType<number>;
|
|
294
298
|
default: undefined;
|
|
@@ -309,10 +313,6 @@ export declare const PlusForm: {
|
|
|
309
313
|
type: PropType<"grid" | "flex">;
|
|
310
314
|
default: undefined;
|
|
311
315
|
};
|
|
312
|
-
modelValue: {
|
|
313
|
-
type: PropType<FieldValues>;
|
|
314
|
-
default: () => {};
|
|
315
|
-
};
|
|
316
316
|
rules: {
|
|
317
317
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
318
318
|
default: () => {};
|
|
@@ -376,7 +376,7 @@ export declare const PlusForm: {
|
|
|
376
376
|
default: boolean;
|
|
377
377
|
};
|
|
378
378
|
footerAlign: {
|
|
379
|
-
type: PropType<"
|
|
379
|
+
type: PropType<"center" | "right" | "left">;
|
|
380
380
|
default: string;
|
|
381
381
|
};
|
|
382
382
|
cardProps: {
|
|
@@ -395,10 +395,10 @@ export declare const PlusForm: {
|
|
|
395
395
|
default: boolean;
|
|
396
396
|
};
|
|
397
397
|
}>> & {
|
|
398
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
398
399
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
399
400
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
400
401
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
401
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
402
402
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
403
403
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
404
404
|
}, {
|
|
@@ -406,12 +406,12 @@ export declare const PlusForm: {
|
|
|
406
406
|
handleSubmit: () => void;
|
|
407
407
|
handleReset: () => void;
|
|
408
408
|
}, {}, {}, {}, {
|
|
409
|
+
modelValue: FieldValues;
|
|
409
410
|
collapseDuration: number;
|
|
410
411
|
collapseTransition: boolean;
|
|
411
412
|
columns: PlusColumn[];
|
|
412
413
|
group: false | PlusFormGroupRow[];
|
|
413
414
|
layout: "grid" | "flex";
|
|
414
|
-
modelValue: FieldValues;
|
|
415
415
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
416
416
|
labelPosition: "top" | "right" | "left";
|
|
417
417
|
labelWidth: string | number;
|
|
@@ -432,7 +432,7 @@ export declare const PlusForm: {
|
|
|
432
432
|
submitText: string;
|
|
433
433
|
resetText: string;
|
|
434
434
|
submitLoading: boolean;
|
|
435
|
-
footerAlign: "
|
|
435
|
+
footerAlign: "center" | "right" | "left";
|
|
436
436
|
cardProps: Partial< Mutable<CardProps> & {
|
|
437
437
|
style?: CSSProperties | undefined;
|
|
438
438
|
class?: any;
|
|
@@ -444,6 +444,10 @@ export declare const PlusForm: {
|
|
|
444
444
|
__isTeleport?: undefined;
|
|
445
445
|
__isSuspense?: undefined;
|
|
446
446
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
447
|
+
modelValue: {
|
|
448
|
+
type: PropType<FieldValues>;
|
|
449
|
+
default: () => {};
|
|
450
|
+
};
|
|
447
451
|
collapseDuration: {
|
|
448
452
|
type: PropType<number>;
|
|
449
453
|
default: undefined;
|
|
@@ -464,10 +468,6 @@ export declare const PlusForm: {
|
|
|
464
468
|
type: PropType<"grid" | "flex">;
|
|
465
469
|
default: undefined;
|
|
466
470
|
};
|
|
467
|
-
modelValue: {
|
|
468
|
-
type: PropType<FieldValues>;
|
|
469
|
-
default: () => {};
|
|
470
|
-
};
|
|
471
471
|
rules: {
|
|
472
472
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
473
473
|
default: () => {};
|
|
@@ -531,7 +531,7 @@ export declare const PlusForm: {
|
|
|
531
531
|
default: boolean;
|
|
532
532
|
};
|
|
533
533
|
footerAlign: {
|
|
534
|
-
type: PropType<"
|
|
534
|
+
type: PropType<"center" | "right" | "left">;
|
|
535
535
|
default: string;
|
|
536
536
|
};
|
|
537
537
|
cardProps: {
|
|
@@ -550,10 +550,10 @@ export declare const PlusForm: {
|
|
|
550
550
|
default: boolean;
|
|
551
551
|
};
|
|
552
552
|
}>> & {
|
|
553
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
553
554
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
554
555
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
555
556
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
556
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
557
557
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
558
558
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
559
559
|
}, {
|
|
@@ -568,12 +568,12 @@ export declare const PlusForm: {
|
|
|
568
568
|
submitError: (errors: unknown) => void;
|
|
569
569
|
validate: (...args: any[]) => void;
|
|
570
570
|
}, string, {
|
|
571
|
+
modelValue: FieldValues;
|
|
571
572
|
collapseDuration: number;
|
|
572
573
|
collapseTransition: boolean;
|
|
573
574
|
columns: PlusColumn[];
|
|
574
575
|
group: false | PlusFormGroupRow[];
|
|
575
576
|
layout: "grid" | "flex";
|
|
576
|
-
modelValue: FieldValues;
|
|
577
577
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
578
578
|
labelPosition: "top" | "right" | "left";
|
|
579
579
|
labelWidth: string | number;
|
|
@@ -594,7 +594,7 @@ export declare const PlusForm: {
|
|
|
594
594
|
submitText: string;
|
|
595
595
|
resetText: string;
|
|
596
596
|
submitLoading: boolean;
|
|
597
|
-
footerAlign: "
|
|
597
|
+
footerAlign: "center" | "right" | "left";
|
|
598
598
|
cardProps: Partial< Mutable<CardProps> & {
|
|
599
599
|
style?: CSSProperties | undefined;
|
|
600
600
|
class?: any;
|
|
@@ -614,14 +614,14 @@ export declare const PlusForm: {
|
|
|
614
614
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
615
615
|
columns?: PlusColumn[] | undefined;
|
|
616
616
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
617
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
617
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
618
618
|
readonly label: string | ComputedRef<string>;
|
|
619
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
619
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
620
620
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
621
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
621
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
622
622
|
style?: CSSProperties | undefined;
|
|
623
623
|
class?: any;
|
|
624
|
-
} & RecordType> | ComputedRef<
|
|
624
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
625
625
|
style?: CSSProperties | undefined;
|
|
626
626
|
class?: any;
|
|
627
627
|
} & RecordType>>;
|
|
@@ -688,12 +688,12 @@ export declare const PlusForm: {
|
|
|
688
688
|
fieldInstance?: any;
|
|
689
689
|
valueIsReady?: Ref<boolean> | undefined;
|
|
690
690
|
prop: string;
|
|
691
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
691
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
692
692
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
693
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
693
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
694
694
|
style?: CSSProperties | undefined;
|
|
695
695
|
class?: any;
|
|
696
|
-
} & RecordType> | ComputedRef<
|
|
696
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
697
697
|
style?: CSSProperties | undefined;
|
|
698
698
|
class?: any;
|
|
699
699
|
} & RecordType>>;
|
|
@@ -722,14 +722,14 @@ export declare const PlusForm: {
|
|
|
722
722
|
clearable: boolean;
|
|
723
723
|
index: number;
|
|
724
724
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
725
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
725
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
726
726
|
readonly label: string | ComputedRef<string>;
|
|
727
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
727
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
728
728
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
729
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
729
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
730
730
|
style?: CSSProperties | undefined;
|
|
731
731
|
class?: any;
|
|
732
|
-
} & RecordType> | ComputedRef<
|
|
732
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
733
733
|
style?: CSSProperties | undefined;
|
|
734
734
|
class?: any;
|
|
735
735
|
} & RecordType>>;
|
|
@@ -796,12 +796,12 @@ export declare const PlusForm: {
|
|
|
796
796
|
fieldInstance?: any;
|
|
797
797
|
valueIsReady?: Ref<boolean> | undefined;
|
|
798
798
|
prop: string;
|
|
799
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
799
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
800
800
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
801
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
801
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
802
802
|
style?: CSSProperties | undefined;
|
|
803
803
|
class?: any;
|
|
804
|
-
} & RecordType> | ComputedRef<
|
|
804
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
805
805
|
style?: CSSProperties | undefined;
|
|
806
806
|
class?: any;
|
|
807
807
|
} & RecordType>>;
|
|
@@ -62,14 +62,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
62
62
|
collapseTransition: undefined;
|
|
63
63
|
clearable: boolean;
|
|
64
64
|
}>>> & {
|
|
65
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
66
65
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
66
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
67
67
|
}, {
|
|
68
|
+
modelValue: FieldValues;
|
|
68
69
|
collapseDuration: number;
|
|
69
70
|
collapseTransition: boolean;
|
|
70
71
|
columns: PlusColumn[];
|
|
71
72
|
layout: "grid" | "flex";
|
|
72
|
-
modelValue: FieldValues;
|
|
73
73
|
rowProps: Partial< Mutable<RowProps> & {
|
|
74
74
|
style?: CSSProperties | undefined;
|
|
75
75
|
class?: any;
|
|
@@ -103,10 +103,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
103
103
|
value: string | number;
|
|
104
104
|
row: RecordType;
|
|
105
105
|
}) => OptionsRow<undefined>) | undefined;
|
|
106
|
-
tooltip?: string | Partial< Mutable<ElTooltipProps> & {
|
|
106
|
+
tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
107
107
|
style?: CSSProperties | undefined;
|
|
108
108
|
class?: any;
|
|
109
|
-
} & RecordType> | ComputedRef<
|
|
109
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
110
110
|
style?: CSSProperties | undefined;
|
|
111
111
|
class?: any;
|
|
112
112
|
} & RecordType>> | undefined;
|
|
@@ -210,14 +210,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
210
210
|
label?: string | undefined;
|
|
211
211
|
}) => RenderTypes) | undefined;
|
|
212
212
|
}) => any>> & Partial<Record<string, (_: {
|
|
213
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
213
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
214
214
|
readonly label: string | ComputedRef<string>;
|
|
215
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
215
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
216
216
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
217
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
217
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
218
218
|
style?: CSSProperties | undefined;
|
|
219
219
|
class?: any;
|
|
220
|
-
} & RecordType> | ComputedRef<
|
|
220
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
221
221
|
style?: CSSProperties | undefined;
|
|
222
222
|
class?: any;
|
|
223
223
|
} & RecordType>>;
|
|
@@ -284,12 +284,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
284
284
|
fieldInstance?: any;
|
|
285
285
|
valueIsReady?: Ref<boolean> | undefined;
|
|
286
286
|
prop: string;
|
|
287
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
287
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
288
288
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
289
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
289
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
290
290
|
style?: CSSProperties | undefined;
|
|
291
291
|
class?: any;
|
|
292
|
-
} & RecordType> | ComputedRef<
|
|
292
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
293
293
|
style?: CSSProperties | undefined;
|
|
294
294
|
class?: any;
|
|
295
295
|
} & RecordType>>;
|
|
@@ -318,14 +318,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
318
318
|
clearable: boolean;
|
|
319
319
|
index: number;
|
|
320
320
|
}) => any>> & Partial<Record<string, (_: {
|
|
321
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
321
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
322
322
|
readonly label: string | ComputedRef<string>;
|
|
323
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
323
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
324
324
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
325
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
325
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
326
326
|
style?: CSSProperties | undefined;
|
|
327
327
|
class?: any;
|
|
328
|
-
} & RecordType> | ComputedRef<
|
|
328
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
329
329
|
style?: CSSProperties | undefined;
|
|
330
330
|
class?: any;
|
|
331
331
|
} & RecordType>>;
|
|
@@ -392,12 +392,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
392
392
|
fieldInstance?: any;
|
|
393
393
|
valueIsReady?: Ref<boolean> | undefined;
|
|
394
394
|
prop: string;
|
|
395
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
395
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
396
396
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
397
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
397
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
398
398
|
style?: CSSProperties | undefined;
|
|
399
399
|
class?: any;
|
|
400
|
-
} & RecordType> | ComputedRef<
|
|
400
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
401
401
|
style?: CSSProperties | undefined;
|
|
402
402
|
class?: any;
|
|
403
403
|
} & RecordType>>;
|
|
@@ -448,10 +448,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
448
448
|
value: string | number;
|
|
449
449
|
row: RecordType;
|
|
450
450
|
}) => OptionsRow<undefined>) | undefined;
|
|
451
|
-
tooltip?: string | Partial< Mutable<ElTooltipProps> & {
|
|
451
|
+
tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
452
452
|
style?: CSSProperties | undefined;
|
|
453
453
|
class?: any;
|
|
454
|
-
} & RecordType> | ComputedRef<
|
|
454
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
455
455
|
style?: CSSProperties | undefined;
|
|
456
456
|
class?: any;
|
|
457
457
|
} & RecordType>> | undefined;
|
|
@@ -68,19 +68,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
68
68
|
collapseTransition: undefined;
|
|
69
69
|
clearable: boolean;
|
|
70
70
|
}>>> & {
|
|
71
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
71
72
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
72
73
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
73
74
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
74
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
75
75
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
76
76
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
77
77
|
}, {
|
|
78
|
+
modelValue: FieldValues;
|
|
78
79
|
collapseDuration: number;
|
|
79
80
|
collapseTransition: boolean;
|
|
80
81
|
columns: PlusColumn[];
|
|
81
82
|
group: false | PlusFormGroupRow[];
|
|
82
83
|
layout: "grid" | "flex";
|
|
83
|
-
modelValue: FieldValues;
|
|
84
84
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
85
85
|
labelPosition: "top" | "right" | "left";
|
|
86
86
|
labelWidth: string | number;
|
|
@@ -101,7 +101,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
101
101
|
submitText: string;
|
|
102
102
|
resetText: string;
|
|
103
103
|
submitLoading: boolean;
|
|
104
|
-
footerAlign: "
|
|
104
|
+
footerAlign: "center" | "right" | "left";
|
|
105
105
|
cardProps: Partial< Mutable<CardProps> & {
|
|
106
106
|
style?: CSSProperties | undefined;
|
|
107
107
|
class?: any;
|
|
@@ -120,14 +120,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
120
120
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
121
121
|
columns?: PlusColumn[] | undefined;
|
|
122
122
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
123
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
123
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
124
124
|
readonly label: string | ComputedRef<string>;
|
|
125
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
125
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
126
126
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
127
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
127
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
128
128
|
style?: CSSProperties | undefined;
|
|
129
129
|
class?: any;
|
|
130
|
-
} & RecordType> | ComputedRef<
|
|
130
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
131
131
|
style?: CSSProperties | undefined;
|
|
132
132
|
class?: any;
|
|
133
133
|
} & RecordType>>;
|
|
@@ -194,12 +194,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
194
194
|
fieldInstance?: any;
|
|
195
195
|
valueIsReady?: Ref<boolean> | undefined;
|
|
196
196
|
prop: string;
|
|
197
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
197
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
198
198
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
199
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
199
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
200
200
|
style?: CSSProperties | undefined;
|
|
201
201
|
class?: any;
|
|
202
|
-
} & RecordType> | ComputedRef<
|
|
202
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
203
203
|
style?: CSSProperties | undefined;
|
|
204
204
|
class?: any;
|
|
205
205
|
} & RecordType>>;
|
|
@@ -228,14 +228,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
228
228
|
clearable: boolean;
|
|
229
229
|
index: number;
|
|
230
230
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
231
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
231
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
232
232
|
readonly label: string | ComputedRef<string>;
|
|
233
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
233
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
234
234
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
235
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
235
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
236
236
|
style?: CSSProperties | undefined;
|
|
237
237
|
class?: any;
|
|
238
|
-
} & RecordType> | ComputedRef<
|
|
238
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
239
239
|
style?: CSSProperties | undefined;
|
|
240
240
|
class?: any;
|
|
241
241
|
} & RecordType>>;
|
|
@@ -302,12 +302,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
302
302
|
fieldInstance?: any;
|
|
303
303
|
valueIsReady?: Ref<boolean> | undefined;
|
|
304
304
|
prop: string;
|
|
305
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
305
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
306
306
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
307
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
307
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
308
308
|
style?: CSSProperties | undefined;
|
|
309
309
|
class?: any;
|
|
310
|
-
} & RecordType> | ComputedRef<
|
|
310
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
311
311
|
style?: CSSProperties | undefined;
|
|
312
312
|
class?: any;
|
|
313
313
|
} & RecordType>>;
|