yc-pro-components 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +38 -38
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +7 -7
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +16 -16
- package/es/components/date-picker/src/index.vue.d.ts +8 -8
- package/es/components/dialog/index.d.ts +30 -30
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +80 -80
- package/es/components/dialog-form/src/index.vue.d.ts +28 -28
- package/es/components/display-item/index.d.ts +29 -29
- package/es/components/display-item/src/index.vue.d.ts +10 -10
- package/es/components/drawer-form/index.d.ts +95 -95
- package/es/components/drawer-form/src/index.vue.d.ts +28 -28
- package/es/components/form/index.d.ts +89 -89
- package/es/components/form/src/form-content.vue.d.ts +8 -8
- package/es/components/form/src/index.vue.d.ts +31 -31
- package/es/components/form-item/index.d.ts +46 -46
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- package/es/components/input-tag/index.d.ts +28 -28
- package/es/components/input-tag/src/index.vue.d.ts +28 -28
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +601 -511
- package/es/components/page/src/index.vue.d.ts +203 -173
- package/es/components/pagination/index.d.ts +7 -7
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +37 -37
- package/es/components/radio/src/index.vue.d.ts +37 -37
- 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 +244 -206
- package/es/components/search/src/index.vue.d.ts +75 -69
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/table/index.d.ts +40 -40
- package/es/components/table/src/index.vue.d.ts +12 -12
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
- package/es/components/table/src/table-column.vue.d.ts +25 -25
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/utils/index.d.ts +5 -5
- 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-drawer/store.d.ts +13 -13
- package/es/components/yc-more-actions/index.d.ts +84 -84
- package/es/components/yc-more-actions/src/index.vue.d.ts +6 -6
- package/es/components/yc-plus-page/src/index.vue.d.ts +465 -538
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-segmented/index.d.ts +4 -4
- package/es/components/yc-segmented/src/index.d.ts +4 -4
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +384 -384
- package/es/index.css +1 -1
- package/index.css +9 -5
- package/index.js +23 -7
- package/index.min.css +1 -1
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +23 -7
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +7 -7
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +16 -16
- package/lib/components/date-picker/src/index.vue.d.ts +8 -8
- package/lib/components/dialog/index.d.ts +30 -30
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +80 -80
- package/lib/components/dialog-form/src/index.vue.d.ts +28 -28
- package/lib/components/display-item/index.d.ts +29 -29
- package/lib/components/display-item/src/index.vue.d.ts +10 -10
- package/lib/components/drawer-form/index.d.ts +95 -95
- package/lib/components/drawer-form/src/index.vue.d.ts +28 -28
- package/lib/components/form/index.d.ts +89 -89
- package/lib/components/form/src/form-content.vue.d.ts +8 -8
- package/lib/components/form/src/index.vue.d.ts +31 -31
- package/lib/components/form-item/index.d.ts +46 -46
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- package/lib/components/input-tag/index.d.ts +28 -28
- package/lib/components/input-tag/src/index.vue.d.ts +28 -28
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +601 -511
- package/lib/components/page/src/index.vue.d.ts +203 -173
- package/lib/components/pagination/index.d.ts +7 -7
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +37 -37
- package/lib/components/radio/src/index.vue.d.ts +37 -37
- 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 +244 -206
- package/lib/components/search/src/index.vue.d.ts +75 -69
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/table/index.d.ts +40 -40
- package/lib/components/table/src/index.vue.d.ts +12 -12
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
- package/lib/components/table/src/table-column.vue.d.ts +25 -25
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/utils/index.d.ts +5 -5
- 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-drawer/store.d.ts +13 -13
- package/lib/components/yc-more-actions/index.d.ts +84 -84
- package/lib/components/yc-more-actions/src/index.vue.d.ts +6 -6
- package/lib/components/yc-plus-page/src/index.vue.d.ts +465 -538
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-segmented/index.d.ts +4 -4
- package/lib/components/yc-segmented/src/index.d.ts +4 -4
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +384 -384
- package/lib/index.css +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-page.css +1 -1
- package/theme-chalk/src/mixins/mixins.scss +4 -0
- package/theme-chalk/src/page.scss +1 -1
|
@@ -53,7 +53,7 @@ export declare const PlusFormItem: {
|
|
|
53
53
|
};
|
|
54
54
|
rows: number;
|
|
55
55
|
autocomplete: string;
|
|
56
|
-
type: "" | "number" | "
|
|
56
|
+
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
57
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
58
58
|
step: string | number;
|
|
59
59
|
format: string | ProgressFn | undefined;
|
|
@@ -70,7 +70,7 @@ export declare const PlusFormItem: {
|
|
|
70
70
|
default: () => never[];
|
|
71
71
|
};
|
|
72
72
|
modelValue: {
|
|
73
|
-
type: PropType<string | number | boolean | string[] | [string, string] |
|
|
73
|
+
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
74
74
|
default: string;
|
|
75
75
|
};
|
|
76
76
|
fieldSlots: {
|
|
@@ -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: {
|
|
@@ -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;
|
|
@@ -503,7 +503,7 @@ export declare const PlusFormItem: {
|
|
|
503
503
|
};
|
|
504
504
|
rows: number;
|
|
505
505
|
autocomplete: string;
|
|
506
|
-
type: "" | "number" | "
|
|
506
|
+
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
507
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
508
508
|
step: string | number;
|
|
509
509
|
format: string | ProgressFn | undefined;
|
|
@@ -520,7 +520,7 @@ export declare const PlusFormItem: {
|
|
|
520
520
|
default: () => never[];
|
|
521
521
|
};
|
|
522
522
|
modelValue: {
|
|
523
|
-
type: PropType<string | number | boolean | string[] | [string, string] |
|
|
523
|
+
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
524
524
|
default: string;
|
|
525
525
|
};
|
|
526
526
|
fieldSlots: {
|
|
@@ -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: {
|
|
@@ -599,7 +599,7 @@ export declare const PlusFormItem: {
|
|
|
599
599
|
};
|
|
600
600
|
rows: number;
|
|
601
601
|
autocomplete: string;
|
|
602
|
-
type: "" | "number" | "
|
|
602
|
+
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
603
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
604
604
|
step: string | number;
|
|
605
605
|
format: string | ProgressFn | undefined;
|
|
@@ -610,14 +610,14 @@ export declare const PlusFormItem: {
|
|
|
610
610
|
autosize: InputAutoSize;
|
|
611
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>>>>;
|
|
612
612
|
options: OptionsType;
|
|
613
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
613
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | 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 & {
|
|
@@ -681,7 +681,7 @@ export declare const PlusFormItem: {
|
|
|
681
681
|
};
|
|
682
682
|
rows: number;
|
|
683
683
|
autocomplete: string;
|
|
684
|
-
type: "" | "number" | "
|
|
684
|
+
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
685
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
686
686
|
step: string | number;
|
|
687
687
|
format: string | ProgressFn | undefined;
|
|
@@ -698,7 +698,7 @@ export declare const PlusFormItem: {
|
|
|
698
698
|
default: () => never[];
|
|
699
699
|
};
|
|
700
700
|
modelValue: {
|
|
701
|
-
type: PropType<string | number | boolean | string[] | [string, string] |
|
|
701
|
+
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
702
702
|
default: string;
|
|
703
703
|
};
|
|
704
704
|
fieldSlots: {
|
|
@@ -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: {
|
|
@@ -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;
|
|
@@ -1111,7 +1111,7 @@ export declare const PlusFormItem: {
|
|
|
1111
1111
|
};
|
|
1112
1112
|
rows: number;
|
|
1113
1113
|
autocomplete: string;
|
|
1114
|
-
type: "" | "number" | "
|
|
1114
|
+
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
1115
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1116
1116
|
step: string | number;
|
|
1117
1117
|
format: string | ProgressFn | undefined;
|
|
@@ -1122,14 +1122,14 @@ export declare const PlusFormItem: {
|
|
|
1122
1122
|
autosize: InputAutoSize;
|
|
1123
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>>>>;
|
|
1124
1124
|
options: OptionsType;
|
|
1125
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1125
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | 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 & {
|
|
@@ -1190,7 +1190,7 @@ export declare const PlusFormItem: {
|
|
|
1190
1190
|
};
|
|
1191
1191
|
rows: number;
|
|
1192
1192
|
autocomplete: string;
|
|
1193
|
-
type: "" | "number" | "
|
|
1193
|
+
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
1194
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1195
1195
|
step: string | number;
|
|
1196
1196
|
format: string | ProgressFn | undefined;
|
|
@@ -1207,7 +1207,7 @@ export declare const PlusFormItem: {
|
|
|
1207
1207
|
default: () => never[];
|
|
1208
1208
|
};
|
|
1209
1209
|
modelValue: {
|
|
1210
|
-
type: PropType<string | number | boolean | string[] | [string, string] |
|
|
1210
|
+
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1211
1211
|
default: string;
|
|
1212
1212
|
};
|
|
1213
1213
|
fieldSlots: {
|
|
@@ -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: {
|
|
@@ -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;
|
|
@@ -1623,7 +1623,7 @@ export declare const PlusFormItem: {
|
|
|
1623
1623
|
};
|
|
1624
1624
|
rows: number;
|
|
1625
1625
|
autocomplete: string;
|
|
1626
|
-
type: "" | "number" | "
|
|
1626
|
+
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
1627
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1628
1628
|
step: string | number;
|
|
1629
1629
|
format: string | ProgressFn | undefined;
|
|
@@ -1634,14 +1634,14 @@ export declare const PlusFormItem: {
|
|
|
1634
1634
|
autosize: InputAutoSize;
|
|
1635
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>>>>;
|
|
1636
1636
|
options: OptionsType;
|
|
1637
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1637
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | 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,7 +1662,7 @@ 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] |
|
|
1665
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1666
1666
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1667
1667
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1668
1668
|
style?: CSSProperties | undefined;
|
|
@@ -1692,7 +1692,7 @@ export declare const PlusFormItem: {
|
|
|
1692
1692
|
}) => any>> & Partial<Record<string, (_: {
|
|
1693
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] |
|
|
1695
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1696
1696
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1697
1697
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1698
1698
|
style?: CSSProperties | undefined;
|
|
@@ -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,7 +1758,7 @@ 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] |
|
|
1761
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1762
1762
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1763
1763
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1764
1764
|
style?: CSSProperties | undefined;
|
|
@@ -83,7 +83,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
83
83
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
84
84
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
85
85
|
readonly size: {
|
|
86
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
86
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
87
87
|
readonly required: false;
|
|
88
88
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
89
89
|
__epPropKey: true;
|
|
@@ -116,7 +116,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
116
116
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
117
117
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
118
118
|
readonly size: {
|
|
119
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
119
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
120
120
|
readonly required: false;
|
|
121
121
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
122
122
|
__epPropKey: true;
|
|
@@ -129,7 +129,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
129
129
|
}>;
|
|
130
130
|
formContext: FormContext | undefined;
|
|
131
131
|
parentFormItemContext: FormItemContext | undefined;
|
|
132
|
-
_size: ComputedRef<"" | "
|
|
132
|
+
_size: ComputedRef<"" | "default" | "small" | "large">;
|
|
133
133
|
ns: {
|
|
134
134
|
namespace: ComputedRef<string>;
|
|
135
135
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -224,7 +224,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
224
224
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
225
225
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
226
226
|
readonly size: {
|
|
227
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
227
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
228
228
|
readonly required: false;
|
|
229
229
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
230
230
|
__epPropKey: true;
|
|
@@ -268,7 +268,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
268
268
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
269
269
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
270
270
|
readonly size: {
|
|
271
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
271
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
272
272
|
readonly required: false;
|
|
273
273
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
274
274
|
__epPropKey: true;
|
|
@@ -301,7 +301,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
301
301
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
302
302
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
303
303
|
readonly size: {
|
|
304
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
304
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
305
305
|
readonly required: false;
|
|
306
306
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
307
307
|
__epPropKey: true;
|
|
@@ -314,7 +314,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
314
314
|
}>;
|
|
315
315
|
formContext: FormContext | undefined;
|
|
316
316
|
parentFormItemContext: FormItemContext | undefined;
|
|
317
|
-
_size: ComputedRef<"" | "
|
|
317
|
+
_size: ComputedRef<"" | "default" | "small" | "large">;
|
|
318
318
|
ns: {
|
|
319
319
|
namespace: ComputedRef<string>;
|
|
320
320
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -440,7 +440,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
440
440
|
};
|
|
441
441
|
rows: number;
|
|
442
442
|
autocomplete: string;
|
|
443
|
-
type: "" | "number" | "
|
|
443
|
+
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";
|
|
444
444
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
445
445
|
step: string | number;
|
|
446
446
|
format: string | ProgressFn | undefined;
|
|
@@ -451,14 +451,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
451
451
|
autosize: InputAutoSize;
|
|
452
452
|
} & 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>>>>;
|
|
453
453
|
options: OptionsType;
|
|
454
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
454
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
455
455
|
fieldSlots: {
|
|
456
456
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
457
457
|
};
|
|
458
458
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
459
459
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
460
460
|
clearable: boolean;
|
|
461
|
-
valueType: "
|
|
461
|
+
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";
|
|
462
462
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
463
463
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
464
464
|
renderErrorMessage: (props: PlusColumn & {
|
|
@@ -478,7 +478,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
478
478
|
fieldInstance?: any;
|
|
479
479
|
valueIsReady?: Ref<boolean> | undefined;
|
|
480
480
|
prop: string;
|
|
481
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
481
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
482
482
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
483
483
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
484
484
|
style?: CSSProperties | undefined;
|
|
@@ -508,7 +508,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
508
508
|
}) => any>> & Partial<Record<string, (_: {
|
|
509
509
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
510
510
|
readonly label: string | ComputedRef<string>;
|
|
511
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
511
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
512
512
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
513
513
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
514
514
|
style?: CSSProperties | undefined;
|
|
@@ -535,7 +535,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
535
535
|
};
|
|
536
536
|
rows: number;
|
|
537
537
|
autocomplete: string;
|
|
538
|
-
type: "" | "number" | "
|
|
538
|
+
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";
|
|
539
539
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
540
540
|
step: string | number;
|
|
541
541
|
format: string | ProgressFn | undefined;
|
|
@@ -574,7 +574,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
574
574
|
fieldInstance?: any;
|
|
575
575
|
valueIsReady?: Ref<boolean> | undefined;
|
|
576
576
|
prop: string;
|
|
577
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
577
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
578
578
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
579
579
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
580
580
|
style?: CSSProperties | undefined;
|