yc-pro-components 0.0.9 → 0.0.10
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 +49 -49
- 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 +17 -17
- package/es/components/date-picker/src/index.vue.d.ts +9 -9
- package/es/components/dialog/index.d.ts +41 -41
- package/es/components/dialog/src/index.vue.d.ts +4 -4
- package/es/components/dialog-form/index.d.ts +109 -109
- package/es/components/dialog-form/src/index.vue.d.ts +35 -35
- package/es/components/display-item/index.d.ts +24 -24
- package/es/components/display-item/src/index.vue.d.ts +24 -24
- package/es/components/drawer-form/index.d.ts +105 -105
- package/es/components/drawer-form/src/index.vue.d.ts +34 -34
- package/es/components/form/index.d.ts +123 -123
- package/es/components/form/src/form-content.vue.d.ts +24 -24
- package/es/components/form/src/index.vue.d.ts +43 -43
- package/es/components/form-item/index.d.ts +78 -78
- package/es/components/form-item/src/index.vue.d.ts +22 -22
- 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 +48 -48
- package/es/components/input-tag/src/index.vue.d.ts +36 -36
- package/es/components/layout/index.d.ts +60 -60
- package/es/components/layout/src/index.vue.d.ts +20 -20
- package/es/components/page/index.d.ts +846 -846
- package/es/components/page/src/index.vue.d.ts +286 -286
- 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 +47 -47
- package/es/components/radio/src/index.vue.d.ts +39 -39
- package/es/components/render/index.d.ts +12 -12
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +324 -324
- package/es/components/search/src/index.vue.d.ts +106 -106
- package/es/components/sidebar/index.d.ts +30 -30
- package/es/components/sidebar/src/index.vue.d.ts +10 -10
- 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 +76 -76
- package/es/components/table/src/index.vue.d.ts +24 -24
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/utils/index.d.ts +6 -6
- package/es/components/yc-count-to/index.d.ts +2 -2
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +13 -13
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +86 -86
- package/es/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/es/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-segmented/index.d.ts +6 -6
- package/es/components/yc-segmented/src/index.d.ts +6 -6
- 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/components/yc-text/src/index.vue2.mjs +31 -4
- package/es/hooks/usePlusFormReset.d.ts +487 -487
- package/index.js +31 -4
- package/index.min.js +2 -2
- package/index.min.mjs +3 -3
- package/index.mjs +31 -4
- package/lib/components/check-card/index.d.ts +49 -49
- 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 +17 -17
- package/lib/components/date-picker/src/index.vue.d.ts +9 -9
- package/lib/components/dialog/index.d.ts +41 -41
- package/lib/components/dialog/src/index.vue.d.ts +4 -4
- package/lib/components/dialog-form/index.d.ts +109 -109
- package/lib/components/dialog-form/src/index.vue.d.ts +35 -35
- package/lib/components/display-item/index.d.ts +24 -24
- package/lib/components/display-item/src/index.vue.d.ts +24 -24
- package/lib/components/drawer-form/index.d.ts +105 -105
- package/lib/components/drawer-form/src/index.vue.d.ts +34 -34
- package/lib/components/form/index.d.ts +123 -123
- package/lib/components/form/src/form-content.vue.d.ts +24 -24
- package/lib/components/form/src/index.vue.d.ts +43 -43
- package/lib/components/form-item/index.d.ts +78 -78
- package/lib/components/form-item/src/index.vue.d.ts +22 -22
- 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 +48 -48
- package/lib/components/input-tag/src/index.vue.d.ts +36 -36
- package/lib/components/layout/index.d.ts +60 -60
- package/lib/components/layout/src/index.vue.d.ts +20 -20
- package/lib/components/page/index.d.ts +846 -846
- package/lib/components/page/src/index.vue.d.ts +286 -286
- 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 +47 -47
- package/lib/components/radio/src/index.vue.d.ts +39 -39
- package/lib/components/render/index.d.ts +12 -12
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +324 -324
- package/lib/components/search/src/index.vue.d.ts +106 -106
- package/lib/components/sidebar/index.d.ts +30 -30
- package/lib/components/sidebar/src/index.vue.d.ts +10 -10
- 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 +76 -76
- package/lib/components/table/src/index.vue.d.ts +24 -24
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/utils/index.d.ts +6 -6
- package/lib/components/yc-count-to/index.d.ts +2 -2
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +13 -13
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +86 -86
- package/lib/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/lib/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-segmented/index.d.ts +6 -6
- package/lib/components/yc-segmented/src/index.d.ts +6 -6
- 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/components/yc-text/src/index.vue2.js +30 -3
- package/lib/hooks/usePlusFormReset.d.ts +487 -487
- 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
|
@@ -4,7 +4,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
4
4
|
import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
|
|
5
5
|
import { EpPropMergeType, EpPropFinalized, Arrayable } from 'element-plus/es/utils';
|
|
6
6
|
import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, FormItemProp, FormItemRule, FormContext, FormItemContext, FormValidateFailure, FormValidateCallback, FormValidationResult } from 'element-plus';
|
|
7
|
-
import {
|
|
7
|
+
import { Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, OptionsRow, TableValueType, FieldValueType, PlusColumn, FormItemValueType } from 'packages/yc-components';
|
|
8
8
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, Slot, DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
9
9
|
export type { PlusFormItemProps } from './src/index.vue';
|
|
10
10
|
export declare const PlusFormItem: {
|
|
@@ -13,10 +13,6 @@ export declare const PlusFormItem: {
|
|
|
13
13
|
type: PropType<number>;
|
|
14
14
|
default: number;
|
|
15
15
|
};
|
|
16
|
-
modelValue: {
|
|
17
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
16
|
label: {
|
|
21
17
|
type: PropType<string | ComputedRef<string>>;
|
|
22
18
|
default: string;
|
|
@@ -26,10 +22,10 @@ export declare const PlusFormItem: {
|
|
|
26
22
|
required: true;
|
|
27
23
|
};
|
|
28
24
|
tooltip: {
|
|
29
|
-
type: PropType<string |
|
|
25
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
30
26
|
style?: CSSProperties | undefined;
|
|
31
27
|
class?: any;
|
|
32
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
28
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
33
29
|
style?: CSSProperties | undefined;
|
|
34
30
|
class?: any;
|
|
35
31
|
} & RecordType>>>;
|
|
@@ -57,7 +53,7 @@ export declare const PlusFormItem: {
|
|
|
57
53
|
};
|
|
58
54
|
rows: number;
|
|
59
55
|
autocomplete: string;
|
|
60
|
-
type: "" | "number" | "
|
|
56
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
61
57
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
62
58
|
step: string | number;
|
|
63
59
|
format: string | ProgressFn | undefined;
|
|
@@ -73,6 +69,10 @@ export declare const PlusFormItem: {
|
|
|
73
69
|
type: PropType<OptionsType>;
|
|
74
70
|
default: () => never[];
|
|
75
71
|
};
|
|
72
|
+
modelValue: {
|
|
73
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
76
|
fieldSlots: {
|
|
77
77
|
type: PropType<{
|
|
78
78
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -92,7 +92,7 @@ export declare const PlusFormItem: {
|
|
|
92
92
|
default: boolean;
|
|
93
93
|
};
|
|
94
94
|
valueType: {
|
|
95
|
-
type: PropType<"
|
|
95
|
+
type: PropType<"text" | "input" | "select" | "textarea" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "switch" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
96
96
|
default: undefined;
|
|
97
97
|
};
|
|
98
98
|
renderField: {
|
|
@@ -119,8 +119,8 @@ export declare const PlusFormItem: {
|
|
|
119
119
|
default: undefined;
|
|
120
120
|
};
|
|
121
121
|
}>> & {
|
|
122
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
123
122
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
123
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
124
124
|
}, {
|
|
125
125
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
126
126
|
readonly label: StringConstructor;
|
|
@@ -149,7 +149,7 @@ export declare const PlusFormItem: {
|
|
|
149
149
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
150
150
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
151
151
|
readonly size: {
|
|
152
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
152
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
153
153
|
readonly required: false;
|
|
154
154
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
155
155
|
__epPropKey: true;
|
|
@@ -182,7 +182,7 @@ export declare const PlusFormItem: {
|
|
|
182
182
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
183
183
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
184
184
|
readonly size: {
|
|
185
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
185
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
186
186
|
readonly required: false;
|
|
187
187
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
188
188
|
__epPropKey: true;
|
|
@@ -195,7 +195,7 @@ export declare const PlusFormItem: {
|
|
|
195
195
|
}>;
|
|
196
196
|
formContext: FormContext | undefined;
|
|
197
197
|
parentFormItemContext: FormItemContext | undefined;
|
|
198
|
-
_size: ComputedRef<"" | "
|
|
198
|
+
_size: ComputedRef<"" | "large" | "default" | "small">;
|
|
199
199
|
ns: {
|
|
200
200
|
namespace: ComputedRef<string>;
|
|
201
201
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -290,7 +290,7 @@ export declare const PlusFormItem: {
|
|
|
290
290
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
291
291
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
292
292
|
readonly size: {
|
|
293
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
293
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
294
294
|
readonly required: false;
|
|
295
295
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
296
296
|
__epPropKey: true;
|
|
@@ -334,7 +334,7 @@ export declare const PlusFormItem: {
|
|
|
334
334
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
335
335
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
336
336
|
readonly size: {
|
|
337
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
337
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
338
338
|
readonly required: false;
|
|
339
339
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
340
340
|
__epPropKey: true;
|
|
@@ -367,7 +367,7 @@ export declare const PlusFormItem: {
|
|
|
367
367
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
368
368
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
369
369
|
readonly size: {
|
|
370
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
370
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
371
371
|
readonly required: false;
|
|
372
372
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
373
373
|
__epPropKey: true;
|
|
@@ -380,7 +380,7 @@ export declare const PlusFormItem: {
|
|
|
380
380
|
}>;
|
|
381
381
|
formContext: FormContext | undefined;
|
|
382
382
|
parentFormItemContext: FormItemContext | undefined;
|
|
383
|
-
_size: ComputedRef<"" | "
|
|
383
|
+
_size: ComputedRef<"" | "large" | "default" | "small">;
|
|
384
384
|
ns: {
|
|
385
385
|
namespace: ComputedRef<string>;
|
|
386
386
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -463,10 +463,6 @@ export declare const PlusFormItem: {
|
|
|
463
463
|
type: PropType<number>;
|
|
464
464
|
default: number;
|
|
465
465
|
};
|
|
466
|
-
modelValue: {
|
|
467
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
468
|
-
default: string;
|
|
469
|
-
};
|
|
470
466
|
label: {
|
|
471
467
|
type: PropType<string | ComputedRef<string>>;
|
|
472
468
|
default: string;
|
|
@@ -476,10 +472,10 @@ export declare const PlusFormItem: {
|
|
|
476
472
|
required: true;
|
|
477
473
|
};
|
|
478
474
|
tooltip: {
|
|
479
|
-
type: PropType<string |
|
|
475
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
480
476
|
style?: CSSProperties | undefined;
|
|
481
477
|
class?: any;
|
|
482
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
478
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
483
479
|
style?: CSSProperties | undefined;
|
|
484
480
|
class?: any;
|
|
485
481
|
} & RecordType>>>;
|
|
@@ -507,7 +503,7 @@ export declare const PlusFormItem: {
|
|
|
507
503
|
};
|
|
508
504
|
rows: number;
|
|
509
505
|
autocomplete: string;
|
|
510
|
-
type: "" | "number" | "
|
|
506
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
511
507
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
512
508
|
step: string | number;
|
|
513
509
|
format: string | ProgressFn | undefined;
|
|
@@ -523,6 +519,10 @@ export declare const PlusFormItem: {
|
|
|
523
519
|
type: PropType<OptionsType>;
|
|
524
520
|
default: () => never[];
|
|
525
521
|
};
|
|
522
|
+
modelValue: {
|
|
523
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
524
|
+
default: string;
|
|
525
|
+
};
|
|
526
526
|
fieldSlots: {
|
|
527
527
|
type: PropType<{
|
|
528
528
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -542,7 +542,7 @@ export declare const PlusFormItem: {
|
|
|
542
542
|
default: boolean;
|
|
543
543
|
};
|
|
544
544
|
valueType: {
|
|
545
|
-
type: PropType<"
|
|
545
|
+
type: PropType<"text" | "input" | "select" | "textarea" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "switch" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
546
546
|
default: undefined;
|
|
547
547
|
};
|
|
548
548
|
renderField: {
|
|
@@ -569,11 +569,10 @@ export declare const PlusFormItem: {
|
|
|
569
569
|
default: undefined;
|
|
570
570
|
};
|
|
571
571
|
}>> & {
|
|
572
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
573
572
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
573
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
574
574
|
}, {
|
|
575
575
|
index: number;
|
|
576
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
577
576
|
label: string | ComputedRef<string>;
|
|
578
577
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
579
578
|
style?: CSSProperties | undefined;
|
|
@@ -600,7 +599,7 @@ export declare const PlusFormItem: {
|
|
|
600
599
|
};
|
|
601
600
|
rows: number;
|
|
602
601
|
autocomplete: string;
|
|
603
|
-
type: "" | "number" | "
|
|
602
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
604
603
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
605
604
|
step: string | number;
|
|
606
605
|
format: string | ProgressFn | undefined;
|
|
@@ -611,13 +610,14 @@ export declare const PlusFormItem: {
|
|
|
611
610
|
autosize: InputAutoSize;
|
|
612
611
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
613
612
|
options: OptionsType;
|
|
613
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
614
614
|
fieldSlots: {
|
|
615
615
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
616
616
|
};
|
|
617
617
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
618
618
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
619
619
|
clearable: boolean;
|
|
620
|
-
valueType: "
|
|
620
|
+
valueType: "text" | "input" | "select" | "textarea" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "switch" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
621
621
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
622
622
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
623
623
|
renderErrorMessage: (props: PlusColumn & {
|
|
@@ -641,10 +641,6 @@ export declare const PlusFormItem: {
|
|
|
641
641
|
type: PropType<number>;
|
|
642
642
|
default: number;
|
|
643
643
|
};
|
|
644
|
-
modelValue: {
|
|
645
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
646
|
-
default: string;
|
|
647
|
-
};
|
|
648
644
|
label: {
|
|
649
645
|
type: PropType<string | ComputedRef<string>>;
|
|
650
646
|
default: string;
|
|
@@ -654,10 +650,10 @@ export declare const PlusFormItem: {
|
|
|
654
650
|
required: true;
|
|
655
651
|
};
|
|
656
652
|
tooltip: {
|
|
657
|
-
type: PropType<string |
|
|
653
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
658
654
|
style?: CSSProperties | undefined;
|
|
659
655
|
class?: any;
|
|
660
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
656
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
661
657
|
style?: CSSProperties | undefined;
|
|
662
658
|
class?: any;
|
|
663
659
|
} & RecordType>>>;
|
|
@@ -685,7 +681,7 @@ export declare const PlusFormItem: {
|
|
|
685
681
|
};
|
|
686
682
|
rows: number;
|
|
687
683
|
autocomplete: string;
|
|
688
|
-
type: "" | "number" | "
|
|
684
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
689
685
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
690
686
|
step: string | number;
|
|
691
687
|
format: string | ProgressFn | undefined;
|
|
@@ -701,6 +697,10 @@ export declare const PlusFormItem: {
|
|
|
701
697
|
type: PropType<OptionsType>;
|
|
702
698
|
default: () => never[];
|
|
703
699
|
};
|
|
700
|
+
modelValue: {
|
|
701
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
702
|
+
default: string;
|
|
703
|
+
};
|
|
704
704
|
fieldSlots: {
|
|
705
705
|
type: PropType<{
|
|
706
706
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -720,7 +720,7 @@ export declare const PlusFormItem: {
|
|
|
720
720
|
default: boolean;
|
|
721
721
|
};
|
|
722
722
|
valueType: {
|
|
723
|
-
type: PropType<"
|
|
723
|
+
type: PropType<"text" | "input" | "select" | "textarea" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "switch" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
724
724
|
default: undefined;
|
|
725
725
|
};
|
|
726
726
|
renderField: {
|
|
@@ -747,8 +747,8 @@ export declare const PlusFormItem: {
|
|
|
747
747
|
default: undefined;
|
|
748
748
|
};
|
|
749
749
|
}>> & {
|
|
750
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
751
750
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
751
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
752
752
|
}, {
|
|
753
753
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
754
754
|
readonly label: StringConstructor;
|
|
@@ -777,7 +777,7 @@ export declare const PlusFormItem: {
|
|
|
777
777
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
778
778
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
779
779
|
readonly size: {
|
|
780
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
780
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
781
781
|
readonly required: false;
|
|
782
782
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
783
783
|
__epPropKey: true;
|
|
@@ -810,7 +810,7 @@ export declare const PlusFormItem: {
|
|
|
810
810
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
811
811
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
812
812
|
readonly size: {
|
|
813
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
813
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
814
814
|
readonly required: false;
|
|
815
815
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
816
816
|
__epPropKey: true;
|
|
@@ -823,7 +823,7 @@ export declare const PlusFormItem: {
|
|
|
823
823
|
}>;
|
|
824
824
|
formContext: FormContext | undefined;
|
|
825
825
|
parentFormItemContext: FormItemContext | undefined;
|
|
826
|
-
_size: ComputedRef<"" | "
|
|
826
|
+
_size: ComputedRef<"" | "large" | "default" | "small">;
|
|
827
827
|
ns: {
|
|
828
828
|
namespace: ComputedRef<string>;
|
|
829
829
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -918,7 +918,7 @@ export declare const PlusFormItem: {
|
|
|
918
918
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
919
919
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
920
920
|
readonly size: {
|
|
921
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
921
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
922
922
|
readonly required: false;
|
|
923
923
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
924
924
|
__epPropKey: true;
|
|
@@ -962,7 +962,7 @@ export declare const PlusFormItem: {
|
|
|
962
962
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
963
963
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
964
964
|
readonly size: {
|
|
965
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
965
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
966
966
|
readonly required: false;
|
|
967
967
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
968
968
|
__epPropKey: true;
|
|
@@ -995,7 +995,7 @@ export declare const PlusFormItem: {
|
|
|
995
995
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
996
996
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
997
997
|
readonly size: {
|
|
998
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
998
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
999
999
|
readonly required: false;
|
|
1000
1000
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1001
1001
|
__epPropKey: true;
|
|
@@ -1008,7 +1008,7 @@ export declare const PlusFormItem: {
|
|
|
1008
1008
|
}>;
|
|
1009
1009
|
formContext: FormContext | undefined;
|
|
1010
1010
|
parentFormItemContext: FormItemContext | undefined;
|
|
1011
|
-
_size: ComputedRef<"" | "
|
|
1011
|
+
_size: ComputedRef<"" | "large" | "default" | "small">;
|
|
1012
1012
|
ns: {
|
|
1013
1013
|
namespace: ComputedRef<string>;
|
|
1014
1014
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1085,7 +1085,6 @@ export declare const PlusFormItem: {
|
|
|
1085
1085
|
fieldInstance: Ref<any>;
|
|
1086
1086
|
}, {}, {}, {}, {
|
|
1087
1087
|
index: number;
|
|
1088
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1089
1088
|
label: string | ComputedRef<string>;
|
|
1090
1089
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1091
1090
|
style?: CSSProperties | undefined;
|
|
@@ -1112,7 +1111,7 @@ export declare const PlusFormItem: {
|
|
|
1112
1111
|
};
|
|
1113
1112
|
rows: number;
|
|
1114
1113
|
autocomplete: string;
|
|
1115
|
-
type: "" | "number" | "
|
|
1114
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1116
1115
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1117
1116
|
step: string | number;
|
|
1118
1117
|
format: string | ProgressFn | undefined;
|
|
@@ -1123,13 +1122,14 @@ export declare const PlusFormItem: {
|
|
|
1123
1122
|
autosize: InputAutoSize;
|
|
1124
1123
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
1125
1124
|
options: OptionsType;
|
|
1125
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1126
1126
|
fieldSlots: {
|
|
1127
1127
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1128
1128
|
};
|
|
1129
1129
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
1130
1130
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1131
1131
|
clearable: boolean;
|
|
1132
|
-
valueType: "
|
|
1132
|
+
valueType: "text" | "input" | "select" | "textarea" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "switch" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
1133
1133
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1134
1134
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
1135
1135
|
renderErrorMessage: (props: PlusColumn & {
|
|
@@ -1150,10 +1150,6 @@ export declare const PlusFormItem: {
|
|
|
1150
1150
|
type: PropType<number>;
|
|
1151
1151
|
default: number;
|
|
1152
1152
|
};
|
|
1153
|
-
modelValue: {
|
|
1154
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1155
|
-
default: string;
|
|
1156
|
-
};
|
|
1157
1153
|
label: {
|
|
1158
1154
|
type: PropType<string | ComputedRef<string>>;
|
|
1159
1155
|
default: string;
|
|
@@ -1163,10 +1159,10 @@ export declare const PlusFormItem: {
|
|
|
1163
1159
|
required: true;
|
|
1164
1160
|
};
|
|
1165
1161
|
tooltip: {
|
|
1166
|
-
type: PropType<string |
|
|
1162
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
1167
1163
|
style?: CSSProperties | undefined;
|
|
1168
1164
|
class?: any;
|
|
1169
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1165
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1170
1166
|
style?: CSSProperties | undefined;
|
|
1171
1167
|
class?: any;
|
|
1172
1168
|
} & RecordType>>>;
|
|
@@ -1194,7 +1190,7 @@ export declare const PlusFormItem: {
|
|
|
1194
1190
|
};
|
|
1195
1191
|
rows: number;
|
|
1196
1192
|
autocomplete: string;
|
|
1197
|
-
type: "" | "number" | "
|
|
1193
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1198
1194
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1199
1195
|
step: string | number;
|
|
1200
1196
|
format: string | ProgressFn | undefined;
|
|
@@ -1210,6 +1206,10 @@ export declare const PlusFormItem: {
|
|
|
1210
1206
|
type: PropType<OptionsType>;
|
|
1211
1207
|
default: () => never[];
|
|
1212
1208
|
};
|
|
1209
|
+
modelValue: {
|
|
1210
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1211
|
+
default: string;
|
|
1212
|
+
};
|
|
1213
1213
|
fieldSlots: {
|
|
1214
1214
|
type: PropType<{
|
|
1215
1215
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -1229,7 +1229,7 @@ export declare const PlusFormItem: {
|
|
|
1229
1229
|
default: boolean;
|
|
1230
1230
|
};
|
|
1231
1231
|
valueType: {
|
|
1232
|
-
type: PropType<"
|
|
1232
|
+
type: PropType<"text" | "input" | "select" | "textarea" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "switch" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
1233
1233
|
default: undefined;
|
|
1234
1234
|
};
|
|
1235
1235
|
renderField: {
|
|
@@ -1256,8 +1256,8 @@ export declare const PlusFormItem: {
|
|
|
1256
1256
|
default: undefined;
|
|
1257
1257
|
};
|
|
1258
1258
|
}>> & {
|
|
1259
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1260
1259
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1260
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1261
1261
|
}, {
|
|
1262
1262
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
1263
1263
|
readonly label: StringConstructor;
|
|
@@ -1286,7 +1286,7 @@ export declare const PlusFormItem: {
|
|
|
1286
1286
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
1287
1287
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1288
1288
|
readonly size: {
|
|
1289
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1289
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1290
1290
|
readonly required: false;
|
|
1291
1291
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1292
1292
|
__epPropKey: true;
|
|
@@ -1319,7 +1319,7 @@ export declare const PlusFormItem: {
|
|
|
1319
1319
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
1320
1320
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1321
1321
|
readonly size: {
|
|
1322
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1322
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1323
1323
|
readonly required: false;
|
|
1324
1324
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1325
1325
|
__epPropKey: true;
|
|
@@ -1332,7 +1332,7 @@ export declare const PlusFormItem: {
|
|
|
1332
1332
|
}>;
|
|
1333
1333
|
formContext: FormContext | undefined;
|
|
1334
1334
|
parentFormItemContext: FormItemContext | undefined;
|
|
1335
|
-
_size: ComputedRef<"" | "
|
|
1335
|
+
_size: ComputedRef<"" | "large" | "default" | "small">;
|
|
1336
1336
|
ns: {
|
|
1337
1337
|
namespace: ComputedRef<string>;
|
|
1338
1338
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1427,7 +1427,7 @@ export declare const PlusFormItem: {
|
|
|
1427
1427
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
1428
1428
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1429
1429
|
readonly size: {
|
|
1430
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1430
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1431
1431
|
readonly required: false;
|
|
1432
1432
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1433
1433
|
__epPropKey: true;
|
|
@@ -1471,7 +1471,7 @@ export declare const PlusFormItem: {
|
|
|
1471
1471
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
1472
1472
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1473
1473
|
readonly size: {
|
|
1474
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1474
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1475
1475
|
readonly required: false;
|
|
1476
1476
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1477
1477
|
__epPropKey: true;
|
|
@@ -1504,7 +1504,7 @@ export declare const PlusFormItem: {
|
|
|
1504
1504
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
1505
1505
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1506
1506
|
readonly size: {
|
|
1507
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1507
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1508
1508
|
readonly required: false;
|
|
1509
1509
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1510
1510
|
__epPropKey: true;
|
|
@@ -1517,7 +1517,7 @@ export declare const PlusFormItem: {
|
|
|
1517
1517
|
}>;
|
|
1518
1518
|
formContext: FormContext | undefined;
|
|
1519
1519
|
parentFormItemContext: FormItemContext | undefined;
|
|
1520
|
-
_size: ComputedRef<"" | "
|
|
1520
|
+
_size: ComputedRef<"" | "large" | "default" | "small">;
|
|
1521
1521
|
ns: {
|
|
1522
1522
|
namespace: ComputedRef<string>;
|
|
1523
1523
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1597,7 +1597,6 @@ export declare const PlusFormItem: {
|
|
|
1597
1597
|
change: (value: FieldValueType) => void;
|
|
1598
1598
|
}, string, {
|
|
1599
1599
|
index: number;
|
|
1600
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1601
1600
|
label: string | ComputedRef<string>;
|
|
1602
1601
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1603
1602
|
style?: CSSProperties | undefined;
|
|
@@ -1624,7 +1623,7 @@ export declare const PlusFormItem: {
|
|
|
1624
1623
|
};
|
|
1625
1624
|
rows: number;
|
|
1626
1625
|
autocomplete: string;
|
|
1627
|
-
type: "" | "number" | "
|
|
1626
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1628
1627
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1629
1628
|
step: string | number;
|
|
1630
1629
|
format: string | ProgressFn | undefined;
|
|
@@ -1635,13 +1634,14 @@ export declare const PlusFormItem: {
|
|
|
1635
1634
|
autosize: InputAutoSize;
|
|
1636
1635
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
1637
1636
|
options: OptionsType;
|
|
1637
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1638
1638
|
fieldSlots: {
|
|
1639
1639
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1640
1640
|
};
|
|
1641
1641
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
1642
1642
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1643
1643
|
clearable: boolean;
|
|
1644
|
-
valueType: "
|
|
1644
|
+
valueType: "text" | "input" | "select" | "textarea" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "switch" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
1645
1645
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1646
1646
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
1647
1647
|
renderErrorMessage: (props: PlusColumn & {
|
|
@@ -1662,12 +1662,12 @@ export declare const PlusFormItem: {
|
|
|
1662
1662
|
fieldInstance?: any;
|
|
1663
1663
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1664
1664
|
prop: string;
|
|
1665
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1665
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1666
1666
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1667
|
-
tooltip: string |
|
|
1667
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1668
1668
|
style?: CSSProperties | undefined;
|
|
1669
1669
|
class?: any;
|
|
1670
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1670
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1671
1671
|
style?: CSSProperties | undefined;
|
|
1672
1672
|
class?: any;
|
|
1673
1673
|
} & RecordType>>;
|
|
@@ -1690,14 +1690,14 @@ export declare const PlusFormItem: {
|
|
|
1690
1690
|
clearable: boolean;
|
|
1691
1691
|
index: number;
|
|
1692
1692
|
}) => any>> & Partial<Record<string, (_: {
|
|
1693
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1693
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1694
1694
|
readonly label: string | ComputedRef<string>;
|
|
1695
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1695
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1696
1696
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1697
|
-
readonly tooltip: string |
|
|
1697
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1698
1698
|
style?: CSSProperties | undefined;
|
|
1699
1699
|
class?: any;
|
|
1700
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1700
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1701
1701
|
style?: CSSProperties | undefined;
|
|
1702
1702
|
class?: any;
|
|
1703
1703
|
} & RecordType>>;
|
|
@@ -1719,7 +1719,7 @@ export declare const PlusFormItem: {
|
|
|
1719
1719
|
};
|
|
1720
1720
|
rows: number;
|
|
1721
1721
|
autocomplete: string;
|
|
1722
|
-
type: "" | "number" | "
|
|
1722
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1723
1723
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1724
1724
|
step: string | number;
|
|
1725
1725
|
format: string | ProgressFn | undefined;
|
|
@@ -1758,12 +1758,12 @@ export declare const PlusFormItem: {
|
|
|
1758
1758
|
fieldInstance?: any;
|
|
1759
1759
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1760
1760
|
prop: string;
|
|
1761
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1761
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1762
1762
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1763
|
-
tooltip: string |
|
|
1763
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1764
1764
|
style?: CSSProperties | undefined;
|
|
1765
1765
|
class?: any;
|
|
1766
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1766
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1767
1767
|
style?: CSSProperties | undefined;
|
|
1768
1768
|
class?: any;
|
|
1769
1769
|
} & RecordType>>;
|