yc-pro-components 0.0.10 → 0.0.11
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/hooks/usePlusFormReset.d.ts +487 -487
- package/index.js +1 -1
- package/index.min.js +1 -1
- package/index.min.mjs +1 -1
- package/index.mjs +1 -1
- 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/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
- package/theme-chalk/src/mixins/mixins.scss +4 -0
|
@@ -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 { RecordType, Mutable, 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,6 +13,10 @@ 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
|
+
};
|
|
16
20
|
label: {
|
|
17
21
|
type: PropType<string | ComputedRef<string>>;
|
|
18
22
|
default: string;
|
|
@@ -22,10 +26,10 @@ export declare const PlusFormItem: {
|
|
|
22
26
|
required: true;
|
|
23
27
|
};
|
|
24
28
|
tooltip: {
|
|
25
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
29
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
26
30
|
style?: CSSProperties | undefined;
|
|
27
31
|
class?: any;
|
|
28
|
-
} & RecordType> | ComputedRef<
|
|
32
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
29
33
|
style?: CSSProperties | undefined;
|
|
30
34
|
class?: any;
|
|
31
35
|
} & RecordType>>>;
|
|
@@ -53,7 +57,7 @@ export declare const PlusFormItem: {
|
|
|
53
57
|
};
|
|
54
58
|
rows: number;
|
|
55
59
|
autocomplete: string;
|
|
56
|
-
type: "" | "number" | "
|
|
60
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
57
61
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
58
62
|
step: string | number;
|
|
59
63
|
format: string | ProgressFn | undefined;
|
|
@@ -69,10 +73,6 @@ export declare const PlusFormItem: {
|
|
|
69
73
|
type: PropType<OptionsType>;
|
|
70
74
|
default: () => never[];
|
|
71
75
|
};
|
|
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<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "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
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
123
122
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
123
|
+
onChange?: ((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, "" | "default" | "small" | "large", 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, "" | "default" | "small" | "large", 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<"" | "default" | "small" | "large">;
|
|
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, "" | "default" | "small" | "large", 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, "" | "default" | "small" | "large", 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, "" | "default" | "small" | "large", 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<"" | "default" | "small" | "large">;
|
|
384
384
|
ns: {
|
|
385
385
|
namespace: ComputedRef<string>;
|
|
386
386
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -463,6 +463,10 @@ 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
|
+
};
|
|
466
470
|
label: {
|
|
467
471
|
type: PropType<string | ComputedRef<string>>;
|
|
468
472
|
default: string;
|
|
@@ -472,10 +476,10 @@ export declare const PlusFormItem: {
|
|
|
472
476
|
required: true;
|
|
473
477
|
};
|
|
474
478
|
tooltip: {
|
|
475
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
479
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
476
480
|
style?: CSSProperties | undefined;
|
|
477
481
|
class?: any;
|
|
478
|
-
} & RecordType> | ComputedRef<
|
|
482
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
479
483
|
style?: CSSProperties | undefined;
|
|
480
484
|
class?: any;
|
|
481
485
|
} & RecordType>>>;
|
|
@@ -503,7 +507,7 @@ export declare const PlusFormItem: {
|
|
|
503
507
|
};
|
|
504
508
|
rows: number;
|
|
505
509
|
autocomplete: string;
|
|
506
|
-
type: "" | "number" | "
|
|
510
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
507
511
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
508
512
|
step: string | number;
|
|
509
513
|
format: string | ProgressFn | undefined;
|
|
@@ -519,10 +523,6 @@ export declare const PlusFormItem: {
|
|
|
519
523
|
type: PropType<OptionsType>;
|
|
520
524
|
default: () => never[];
|
|
521
525
|
};
|
|
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<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "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,10 +569,11 @@ export declare const PlusFormItem: {
|
|
|
569
569
|
default: undefined;
|
|
570
570
|
};
|
|
571
571
|
}>> & {
|
|
572
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
573
572
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
573
|
+
onChange?: ((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;
|
|
576
577
|
label: string | ComputedRef<string>;
|
|
577
578
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
578
579
|
style?: CSSProperties | undefined;
|
|
@@ -599,7 +600,7 @@ export declare const PlusFormItem: {
|
|
|
599
600
|
};
|
|
600
601
|
rows: number;
|
|
601
602
|
autocomplete: string;
|
|
602
|
-
type: "" | "number" | "
|
|
603
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
603
604
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
604
605
|
step: string | number;
|
|
605
606
|
format: string | ProgressFn | undefined;
|
|
@@ -610,14 +611,13 @@ export declare const PlusFormItem: {
|
|
|
610
611
|
autosize: InputAutoSize;
|
|
611
612
|
} & 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>>>>;
|
|
612
613
|
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: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "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,6 +641,10 @@ 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
|
+
};
|
|
644
648
|
label: {
|
|
645
649
|
type: PropType<string | ComputedRef<string>>;
|
|
646
650
|
default: string;
|
|
@@ -650,10 +654,10 @@ export declare const PlusFormItem: {
|
|
|
650
654
|
required: true;
|
|
651
655
|
};
|
|
652
656
|
tooltip: {
|
|
653
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
657
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
654
658
|
style?: CSSProperties | undefined;
|
|
655
659
|
class?: any;
|
|
656
|
-
} & RecordType> | ComputedRef<
|
|
660
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
657
661
|
style?: CSSProperties | undefined;
|
|
658
662
|
class?: any;
|
|
659
663
|
} & RecordType>>>;
|
|
@@ -681,7 +685,7 @@ export declare const PlusFormItem: {
|
|
|
681
685
|
};
|
|
682
686
|
rows: number;
|
|
683
687
|
autocomplete: string;
|
|
684
|
-
type: "" | "number" | "
|
|
688
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
685
689
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
686
690
|
step: string | number;
|
|
687
691
|
format: string | ProgressFn | undefined;
|
|
@@ -697,10 +701,6 @@ export declare const PlusFormItem: {
|
|
|
697
701
|
type: PropType<OptionsType>;
|
|
698
702
|
default: () => never[];
|
|
699
703
|
};
|
|
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<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "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
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
751
750
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
751
|
+
onChange?: ((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, "" | "default" | "small" | "large", 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, "" | "default" | "small" | "large", 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<"" | "default" | "small" | "large">;
|
|
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, "" | "default" | "small" | "large", 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, "" | "default" | "small" | "large", 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, "" | "default" | "small" | "large", 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<"" | "default" | "small" | "large">;
|
|
1012
1012
|
ns: {
|
|
1013
1013
|
namespace: ComputedRef<string>;
|
|
1014
1014
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1085,6 +1085,7 @@ 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;
|
|
1088
1089
|
label: string | ComputedRef<string>;
|
|
1089
1090
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1090
1091
|
style?: CSSProperties | undefined;
|
|
@@ -1111,7 +1112,7 @@ export declare const PlusFormItem: {
|
|
|
1111
1112
|
};
|
|
1112
1113
|
rows: number;
|
|
1113
1114
|
autocomplete: string;
|
|
1114
|
-
type: "" | "number" | "
|
|
1115
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1115
1116
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1116
1117
|
step: string | number;
|
|
1117
1118
|
format: string | ProgressFn | undefined;
|
|
@@ -1122,14 +1123,13 @@ export declare const PlusFormItem: {
|
|
|
1122
1123
|
autosize: InputAutoSize;
|
|
1123
1124
|
} & 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>>>>;
|
|
1124
1125
|
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: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "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,6 +1150,10 @@ 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
|
+
};
|
|
1153
1157
|
label: {
|
|
1154
1158
|
type: PropType<string | ComputedRef<string>>;
|
|
1155
1159
|
default: string;
|
|
@@ -1159,10 +1163,10 @@ export declare const PlusFormItem: {
|
|
|
1159
1163
|
required: true;
|
|
1160
1164
|
};
|
|
1161
1165
|
tooltip: {
|
|
1162
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
1166
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1163
1167
|
style?: CSSProperties | undefined;
|
|
1164
1168
|
class?: any;
|
|
1165
|
-
} & RecordType> | ComputedRef<
|
|
1169
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1166
1170
|
style?: CSSProperties | undefined;
|
|
1167
1171
|
class?: any;
|
|
1168
1172
|
} & RecordType>>>;
|
|
@@ -1190,7 +1194,7 @@ export declare const PlusFormItem: {
|
|
|
1190
1194
|
};
|
|
1191
1195
|
rows: number;
|
|
1192
1196
|
autocomplete: string;
|
|
1193
|
-
type: "" | "number" | "
|
|
1197
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1194
1198
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1195
1199
|
step: string | number;
|
|
1196
1200
|
format: string | ProgressFn | undefined;
|
|
@@ -1206,10 +1210,6 @@ export declare const PlusFormItem: {
|
|
|
1206
1210
|
type: PropType<OptionsType>;
|
|
1207
1211
|
default: () => never[];
|
|
1208
1212
|
};
|
|
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<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "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
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1260
1259
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1260
|
+
onChange?: ((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, "" | "default" | "small" | "large", 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, "" | "default" | "small" | "large", 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<"" | "default" | "small" | "large">;
|
|
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, "" | "default" | "small" | "large", 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, "" | "default" | "small" | "large", 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, "" | "default" | "small" | "large", 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<"" | "default" | "small" | "large">;
|
|
1521
1521
|
ns: {
|
|
1522
1522
|
namespace: ComputedRef<string>;
|
|
1523
1523
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1597,6 +1597,7 @@ 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;
|
|
1600
1601
|
label: string | ComputedRef<string>;
|
|
1601
1602
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1602
1603
|
style?: CSSProperties | undefined;
|
|
@@ -1623,7 +1624,7 @@ export declare const PlusFormItem: {
|
|
|
1623
1624
|
};
|
|
1624
1625
|
rows: number;
|
|
1625
1626
|
autocomplete: string;
|
|
1626
|
-
type: "" | "number" | "
|
|
1627
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1627
1628
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1628
1629
|
step: string | number;
|
|
1629
1630
|
format: string | ProgressFn | undefined;
|
|
@@ -1634,14 +1635,13 @@ export declare const PlusFormItem: {
|
|
|
1634
1635
|
autosize: InputAutoSize;
|
|
1635
1636
|
} & 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>>>>;
|
|
1636
1637
|
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: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "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[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1666
1666
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1667
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1667
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1668
1668
|
style?: CSSProperties | undefined;
|
|
1669
1669
|
class?: any;
|
|
1670
|
-
} & RecordType> | ComputedRef<
|
|
1670
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1693
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1696
1696
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1697
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1697
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1698
1698
|
style?: CSSProperties | undefined;
|
|
1699
1699
|
class?: any;
|
|
1700
|
-
} & RecordType> | ComputedRef<
|
|
1700
|
+
} & RecordType> | 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" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "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[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1762
1762
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1763
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1763
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1764
1764
|
style?: CSSProperties | undefined;
|
|
1765
1765
|
class?: any;
|
|
1766
|
-
} & RecordType> | ComputedRef<
|
|
1766
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1767
1767
|
style?: CSSProperties | undefined;
|
|
1768
1768
|
class?: any;
|
|
1769
1769
|
} & RecordType>>;
|