yc-pro-components 0.0.74 → 0.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +30 -30
- package/es/components/date-picker/src/index.vue.d.ts +22 -22
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +68 -68
- package/es/components/drawer-form/src/index.vue.d.ts +16 -16
- package/es/components/form/index.d.ts +71 -71
- package/es/components/form/src/form-content.vue.d.ts +21 -21
- package/es/components/form/src/index.vue.d.ts +19 -19
- package/es/components/form-item/index.d.ts +69 -69
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- package/es/components/form-item/src/index.vue2.mjs +2 -2
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +533 -533
- package/es/components/page/src/index.vue.d.ts +181 -181
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +243 -243
- package/es/components/search/src/index.vue.d.ts +73 -73
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +361 -361
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +244 -244
- package/es/index.css +9 -8
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +4 -4
- package/index.min.css +1 -0
- package/index.min.js +3 -3
- package/index.min.mjs +3 -3
- package/index.mjs +4 -4
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +30 -30
- package/lib/components/date-picker/src/index.vue.d.ts +22 -22
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +68 -68
- package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
- package/lib/components/form/index.d.ts +71 -71
- package/lib/components/form/src/form-content.vue.d.ts +21 -21
- package/lib/components/form/src/index.vue.d.ts +19 -19
- package/lib/components/form-item/index.d.ts +69 -69
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/src/index.vue2.js +2 -2
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +533 -533
- package/lib/components/page/src/index.vue.d.ts +181 -181
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +243 -243
- package/lib/components/search/src/index.vue.d.ts +73 -73
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +361 -361
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +244 -244
- package/lib/index.css +7 -6
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
3
3
|
import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
|
|
4
4
|
import { EpPropMergeType, Arrayable, EpPropFinalized } from 'element-plus/es/utils';
|
|
5
5
|
import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, FormItemProp, FormItemRule, FormValidateCallback, FormValidationResult } from 'element-plus';
|
|
6
|
-
import {
|
|
6
|
+
import { RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, OptionsRow, TableValueType, FieldValueType, PlusColumn, FormItemValueType } from 'yc-pro-components';
|
|
7
7
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
8
8
|
export type { PlusFormItemProps } from './src/index.vue';
|
|
9
9
|
export declare const PlusFormItem: {
|
|
@@ -12,6 +12,10 @@ export declare const PlusFormItem: {
|
|
|
12
12
|
type: PropType<number>;
|
|
13
13
|
default: number;
|
|
14
14
|
};
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
15
19
|
label: {
|
|
16
20
|
type: PropType<string | ComputedRef<string>>;
|
|
17
21
|
default: string;
|
|
@@ -21,10 +25,10 @@ export declare const PlusFormItem: {
|
|
|
21
25
|
required: true;
|
|
22
26
|
};
|
|
23
27
|
tooltip: {
|
|
24
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
28
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
25
29
|
style?: CSSProperties | undefined;
|
|
26
30
|
class?: any;
|
|
27
|
-
} & RecordType> | ComputedRef<
|
|
31
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
28
32
|
style?: CSSProperties | undefined;
|
|
29
33
|
class?: any;
|
|
30
34
|
} & RecordType>>>;
|
|
@@ -68,10 +72,6 @@ export declare const PlusFormItem: {
|
|
|
68
72
|
type: PropType<OptionsType>;
|
|
69
73
|
default: () => never[];
|
|
70
74
|
};
|
|
71
|
-
modelValue: {
|
|
72
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
73
|
-
default: string;
|
|
74
|
-
};
|
|
75
75
|
fieldSlots: {
|
|
76
76
|
type: PropType<{
|
|
77
77
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -127,24 +127,24 @@ export declare const PlusFormItem: {
|
|
|
127
127
|
default: undefined;
|
|
128
128
|
};
|
|
129
129
|
}>> & {
|
|
130
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
131
130
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
131
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
132
132
|
}, {
|
|
133
133
|
formItemInstance: Ref<({
|
|
134
134
|
$: ComponentInternalInstance;
|
|
135
135
|
$data: {};
|
|
136
136
|
$props: Partial<{
|
|
137
137
|
readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
138
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
138
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
139
139
|
readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
140
140
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
141
141
|
}> & Omit<{
|
|
142
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
142
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
143
143
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
144
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
145
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
144
146
|
readonly label?: string | undefined;
|
|
145
147
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
146
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
147
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
148
148
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
149
149
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
150
150
|
readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const PlusFormItem: {
|
|
|
159
159
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
160
160
|
__epPropKey: true;
|
|
161
161
|
};
|
|
162
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
162
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
163
163
|
readonly prop: {
|
|
164
164
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
165
165
|
readonly required: false;
|
|
@@ -189,7 +189,7 @@ export declare const PlusFormItem: {
|
|
|
189
189
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
190
190
|
__epPropKey: true;
|
|
191
191
|
};
|
|
192
|
-
}>>, "
|
|
192
|
+
}>>, "labelPosition" | "required" | "inlineMessage" | "showMessage">;
|
|
193
193
|
$attrs: {
|
|
194
194
|
[x: string]: unknown;
|
|
195
195
|
};
|
|
@@ -211,7 +211,7 @@ export declare const PlusFormItem: {
|
|
|
211
211
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
212
212
|
__epPropKey: true;
|
|
213
213
|
};
|
|
214
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
214
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
215
215
|
readonly prop: {
|
|
216
216
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
217
217
|
readonly required: false;
|
|
@@ -250,7 +250,7 @@ export declare const PlusFormItem: {
|
|
|
250
250
|
resetField: () => void;
|
|
251
251
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
252
252
|
readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
253
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
253
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
254
254
|
readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
255
255
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
256
256
|
}, {}, string, {}> & {
|
|
@@ -281,7 +281,7 @@ export declare const PlusFormItem: {
|
|
|
281
281
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
282
282
|
__epPropKey: true;
|
|
283
283
|
};
|
|
284
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
284
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
285
285
|
readonly prop: {
|
|
286
286
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
287
287
|
readonly required: false;
|
|
@@ -340,6 +340,10 @@ export declare const PlusFormItem: {
|
|
|
340
340
|
type: PropType<number>;
|
|
341
341
|
default: number;
|
|
342
342
|
};
|
|
343
|
+
modelValue: {
|
|
344
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
345
|
+
default: string;
|
|
346
|
+
};
|
|
343
347
|
label: {
|
|
344
348
|
type: PropType<string | ComputedRef<string>>;
|
|
345
349
|
default: string;
|
|
@@ -349,10 +353,10 @@ export declare const PlusFormItem: {
|
|
|
349
353
|
required: true;
|
|
350
354
|
};
|
|
351
355
|
tooltip: {
|
|
352
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
356
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
353
357
|
style?: CSSProperties | undefined;
|
|
354
358
|
class?: any;
|
|
355
|
-
} & RecordType> | ComputedRef<
|
|
359
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
356
360
|
style?: CSSProperties | undefined;
|
|
357
361
|
class?: any;
|
|
358
362
|
} & RecordType>>>;
|
|
@@ -396,10 +400,6 @@ export declare const PlusFormItem: {
|
|
|
396
400
|
type: PropType<OptionsType>;
|
|
397
401
|
default: () => never[];
|
|
398
402
|
};
|
|
399
|
-
modelValue: {
|
|
400
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
401
|
-
default: string;
|
|
402
|
-
};
|
|
403
403
|
fieldSlots: {
|
|
404
404
|
type: PropType<{
|
|
405
405
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -455,10 +455,11 @@ export declare const PlusFormItem: {
|
|
|
455
455
|
default: undefined;
|
|
456
456
|
};
|
|
457
457
|
}>> & {
|
|
458
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
459
458
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
459
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
460
460
|
}, {
|
|
461
461
|
index: number;
|
|
462
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
462
463
|
label: string | ComputedRef<string>;
|
|
463
464
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
464
465
|
style?: CSSProperties | undefined;
|
|
@@ -496,7 +497,6 @@ export declare const PlusFormItem: {
|
|
|
496
497
|
autosize: InputAutoSize;
|
|
497
498
|
} & 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< SelectProps, 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>>>>;
|
|
498
499
|
options: OptionsType;
|
|
499
|
-
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
500
500
|
fieldSlots: {
|
|
501
501
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
502
502
|
};
|
|
@@ -533,6 +533,10 @@ export declare const PlusFormItem: {
|
|
|
533
533
|
type: PropType<number>;
|
|
534
534
|
default: number;
|
|
535
535
|
};
|
|
536
|
+
modelValue: {
|
|
537
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
538
|
+
default: string;
|
|
539
|
+
};
|
|
536
540
|
label: {
|
|
537
541
|
type: PropType<string | ComputedRef<string>>;
|
|
538
542
|
default: string;
|
|
@@ -542,10 +546,10 @@ export declare const PlusFormItem: {
|
|
|
542
546
|
required: true;
|
|
543
547
|
};
|
|
544
548
|
tooltip: {
|
|
545
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
549
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
546
550
|
style?: CSSProperties | undefined;
|
|
547
551
|
class?: any;
|
|
548
|
-
} & RecordType> | ComputedRef<
|
|
552
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
549
553
|
style?: CSSProperties | undefined;
|
|
550
554
|
class?: any;
|
|
551
555
|
} & RecordType>>>;
|
|
@@ -589,10 +593,6 @@ export declare const PlusFormItem: {
|
|
|
589
593
|
type: PropType<OptionsType>;
|
|
590
594
|
default: () => never[];
|
|
591
595
|
};
|
|
592
|
-
modelValue: {
|
|
593
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
594
|
-
default: string;
|
|
595
|
-
};
|
|
596
596
|
fieldSlots: {
|
|
597
597
|
type: PropType<{
|
|
598
598
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -648,24 +648,24 @@ export declare const PlusFormItem: {
|
|
|
648
648
|
default: undefined;
|
|
649
649
|
};
|
|
650
650
|
}>> & {
|
|
651
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
652
651
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
652
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
653
653
|
}, {
|
|
654
654
|
formItemInstance: Ref<({
|
|
655
655
|
$: ComponentInternalInstance;
|
|
656
656
|
$data: {};
|
|
657
657
|
$props: Partial<{
|
|
658
658
|
readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
659
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
659
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
660
660
|
readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
661
661
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
662
662
|
}> & Omit<{
|
|
663
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
663
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
664
664
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
665
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
666
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
665
667
|
readonly label?: string | undefined;
|
|
666
668
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
667
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
668
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
669
669
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
670
670
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
671
671
|
readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -680,7 +680,7 @@ export declare const PlusFormItem: {
|
|
|
680
680
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
681
681
|
__epPropKey: true;
|
|
682
682
|
};
|
|
683
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
683
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
684
684
|
readonly prop: {
|
|
685
685
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
686
686
|
readonly required: false;
|
|
@@ -710,7 +710,7 @@ export declare const PlusFormItem: {
|
|
|
710
710
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
711
711
|
__epPropKey: true;
|
|
712
712
|
};
|
|
713
|
-
}>>, "
|
|
713
|
+
}>>, "labelPosition" | "required" | "inlineMessage" | "showMessage">;
|
|
714
714
|
$attrs: {
|
|
715
715
|
[x: string]: unknown;
|
|
716
716
|
};
|
|
@@ -732,7 +732,7 @@ export declare const PlusFormItem: {
|
|
|
732
732
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
733
733
|
__epPropKey: true;
|
|
734
734
|
};
|
|
735
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
735
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
736
736
|
readonly prop: {
|
|
737
737
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
738
738
|
readonly required: false;
|
|
@@ -771,7 +771,7 @@ export declare const PlusFormItem: {
|
|
|
771
771
|
resetField: () => void;
|
|
772
772
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
773
773
|
readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
774
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
774
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
775
775
|
readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
776
776
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
777
777
|
}, {}, string, {}> & {
|
|
@@ -802,7 +802,7 @@ export declare const PlusFormItem: {
|
|
|
802
802
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
803
803
|
__epPropKey: true;
|
|
804
804
|
};
|
|
805
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
805
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
806
806
|
readonly prop: {
|
|
807
807
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
808
808
|
readonly required: false;
|
|
@@ -855,6 +855,7 @@ export declare const PlusFormItem: {
|
|
|
855
855
|
fieldInstance: Ref<any>;
|
|
856
856
|
}, {}, {}, {}, {
|
|
857
857
|
index: number;
|
|
858
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
858
859
|
label: string | ComputedRef<string>;
|
|
859
860
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
860
861
|
style?: CSSProperties | undefined;
|
|
@@ -892,7 +893,6 @@ export declare const PlusFormItem: {
|
|
|
892
893
|
autosize: InputAutoSize;
|
|
893
894
|
} & 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< SelectProps, 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>>>>;
|
|
894
895
|
options: OptionsType;
|
|
895
|
-
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
896
896
|
fieldSlots: {
|
|
897
897
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
898
898
|
};
|
|
@@ -926,6 +926,10 @@ export declare const PlusFormItem: {
|
|
|
926
926
|
type: PropType<number>;
|
|
927
927
|
default: number;
|
|
928
928
|
};
|
|
929
|
+
modelValue: {
|
|
930
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
931
|
+
default: string;
|
|
932
|
+
};
|
|
929
933
|
label: {
|
|
930
934
|
type: PropType<string | ComputedRef<string>>;
|
|
931
935
|
default: string;
|
|
@@ -935,10 +939,10 @@ export declare const PlusFormItem: {
|
|
|
935
939
|
required: true;
|
|
936
940
|
};
|
|
937
941
|
tooltip: {
|
|
938
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
942
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
939
943
|
style?: CSSProperties | undefined;
|
|
940
944
|
class?: any;
|
|
941
|
-
} & RecordType> | ComputedRef<
|
|
945
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
942
946
|
style?: CSSProperties | undefined;
|
|
943
947
|
class?: any;
|
|
944
948
|
} & RecordType>>>;
|
|
@@ -982,10 +986,6 @@ export declare const PlusFormItem: {
|
|
|
982
986
|
type: PropType<OptionsType>;
|
|
983
987
|
default: () => never[];
|
|
984
988
|
};
|
|
985
|
-
modelValue: {
|
|
986
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
987
|
-
default: string;
|
|
988
|
-
};
|
|
989
989
|
fieldSlots: {
|
|
990
990
|
type: PropType<{
|
|
991
991
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -1041,24 +1041,24 @@ export declare const PlusFormItem: {
|
|
|
1041
1041
|
default: undefined;
|
|
1042
1042
|
};
|
|
1043
1043
|
}>> & {
|
|
1044
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1045
1044
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1045
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1046
1046
|
}, {
|
|
1047
1047
|
formItemInstance: Ref<({
|
|
1048
1048
|
$: ComponentInternalInstance;
|
|
1049
1049
|
$data: {};
|
|
1050
1050
|
$props: Partial<{
|
|
1051
1051
|
readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1052
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
1052
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
1053
1053
|
readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1054
1054
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1055
1055
|
}> & Omit<{
|
|
1056
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
1056
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
1057
1057
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1058
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
1059
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1058
1060
|
readonly label?: string | undefined;
|
|
1059
1061
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
1060
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1061
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
1062
1062
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
1063
1063
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
1064
1064
|
readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -1073,7 +1073,7 @@ export declare const PlusFormItem: {
|
|
|
1073
1073
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1074
1074
|
__epPropKey: true;
|
|
1075
1075
|
};
|
|
1076
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
1076
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
1077
1077
|
readonly prop: {
|
|
1078
1078
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
1079
1079
|
readonly required: false;
|
|
@@ -1103,7 +1103,7 @@ export declare const PlusFormItem: {
|
|
|
1103
1103
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1104
1104
|
__epPropKey: true;
|
|
1105
1105
|
};
|
|
1106
|
-
}>>, "
|
|
1106
|
+
}>>, "labelPosition" | "required" | "inlineMessage" | "showMessage">;
|
|
1107
1107
|
$attrs: {
|
|
1108
1108
|
[x: string]: unknown;
|
|
1109
1109
|
};
|
|
@@ -1125,7 +1125,7 @@ export declare const PlusFormItem: {
|
|
|
1125
1125
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1126
1126
|
__epPropKey: true;
|
|
1127
1127
|
};
|
|
1128
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
1128
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
1129
1129
|
readonly prop: {
|
|
1130
1130
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
1131
1131
|
readonly required: false;
|
|
@@ -1164,7 +1164,7 @@ export declare const PlusFormItem: {
|
|
|
1164
1164
|
resetField: () => void;
|
|
1165
1165
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1166
1166
|
readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1167
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
1167
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
1168
1168
|
readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1169
1169
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1170
1170
|
}, {}, string, {}> & {
|
|
@@ -1195,7 +1195,7 @@ export declare const PlusFormItem: {
|
|
|
1195
1195
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1196
1196
|
__epPropKey: true;
|
|
1197
1197
|
};
|
|
1198
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
1198
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
1199
1199
|
readonly prop: {
|
|
1200
1200
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
1201
1201
|
readonly required: false;
|
|
@@ -1251,6 +1251,7 @@ export declare const PlusFormItem: {
|
|
|
1251
1251
|
change: (value: FieldValueType) => void;
|
|
1252
1252
|
}, string, {
|
|
1253
1253
|
index: number;
|
|
1254
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1254
1255
|
label: string | ComputedRef<string>;
|
|
1255
1256
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1256
1257
|
style?: CSSProperties | undefined;
|
|
@@ -1288,7 +1289,6 @@ export declare const PlusFormItem: {
|
|
|
1288
1289
|
autosize: InputAutoSize;
|
|
1289
1290
|
} & 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< SelectProps, 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>>>>;
|
|
1290
1291
|
options: OptionsType;
|
|
1291
|
-
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1292
1292
|
fieldSlots: {
|
|
1293
1293
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1294
1294
|
};
|
|
@@ -1322,12 +1322,12 @@ export declare const PlusFormItem: {
|
|
|
1322
1322
|
fieldInstance?: any;
|
|
1323
1323
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1324
1324
|
prop: string;
|
|
1325
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1325
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1326
1326
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1327
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1327
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1328
1328
|
style?: CSSProperties | undefined;
|
|
1329
1329
|
class?: any;
|
|
1330
|
-
} & RecordType> | ComputedRef<
|
|
1330
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1331
1331
|
style?: CSSProperties | undefined;
|
|
1332
1332
|
class?: any;
|
|
1333
1333
|
} & RecordType>>;
|
|
@@ -1356,14 +1356,14 @@ export declare const PlusFormItem: {
|
|
|
1356
1356
|
clearable: boolean;
|
|
1357
1357
|
index: number;
|
|
1358
1358
|
}) => any>> & Partial<Record<string, (_: {
|
|
1359
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1359
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1360
1360
|
readonly label: string | ComputedRef<string>;
|
|
1361
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1361
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1362
1362
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1363
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1363
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1364
1364
|
style?: CSSProperties | undefined;
|
|
1365
1365
|
class?: any;
|
|
1366
|
-
} & RecordType> | ComputedRef<
|
|
1366
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1367
1367
|
style?: CSSProperties | undefined;
|
|
1368
1368
|
class?: any;
|
|
1369
1369
|
} & RecordType>>;
|
|
@@ -1430,12 +1430,12 @@ export declare const PlusFormItem: {
|
|
|
1430
1430
|
fieldInstance?: any;
|
|
1431
1431
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1432
1432
|
prop: string;
|
|
1433
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1433
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1434
1434
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1435
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1435
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1436
1436
|
style?: CSSProperties | undefined;
|
|
1437
1437
|
class?: any;
|
|
1438
|
-
} & RecordType> | ComputedRef<
|
|
1438
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1439
1439
|
style?: CSSProperties | undefined;
|
|
1440
1440
|
class?: any;
|
|
1441
1441
|
} & RecordType>>;
|
|
@@ -65,16 +65,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
65
65
|
$data: {};
|
|
66
66
|
$props: Partial<{
|
|
67
67
|
readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
68
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
68
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
69
69
|
readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
70
70
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
71
71
|
}> & Omit<{
|
|
72
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
72
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
73
73
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
74
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
75
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
74
76
|
readonly label?: string | undefined;
|
|
75
77
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
76
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
77
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
78
78
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
79
79
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
80
80
|
readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -89,7 +89,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
89
89
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
90
90
|
__epPropKey: true;
|
|
91
91
|
};
|
|
92
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
92
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
93
93
|
readonly prop: {
|
|
94
94
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
95
95
|
readonly required: false;
|
|
@@ -119,7 +119,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
119
119
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
120
120
|
__epPropKey: true;
|
|
121
121
|
};
|
|
122
|
-
}>>, "
|
|
122
|
+
}>>, "labelPosition" | "required" | "inlineMessage" | "showMessage">;
|
|
123
123
|
$attrs: {
|
|
124
124
|
[x: string]: unknown;
|
|
125
125
|
};
|
|
@@ -141,7 +141,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
141
141
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
142
142
|
__epPropKey: true;
|
|
143
143
|
};
|
|
144
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
144
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
145
145
|
readonly prop: {
|
|
146
146
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
147
147
|
readonly required: false;
|
|
@@ -180,7 +180,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
180
180
|
resetField: () => void;
|
|
181
181
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
182
182
|
readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
183
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "
|
|
183
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
|
|
184
184
|
readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
185
185
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
186
186
|
}, {}, string, {}> & {
|
|
@@ -211,7 +211,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
211
211
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
212
212
|
__epPropKey: true;
|
|
213
213
|
};
|
|
214
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "
|
|
214
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
215
215
|
readonly prop: {
|
|
216
216
|
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
|
|
217
217
|
readonly required: false;
|
|
@@ -284,10 +284,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
284
284
|
clearable: boolean;
|
|
285
285
|
index: number;
|
|
286
286
|
}>>> & {
|
|
287
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
288
287
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
288
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
289
289
|
}, {
|
|
290
290
|
index: number;
|
|
291
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
291
292
|
label: string | ComputedRef<string>;
|
|
292
293
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
293
294
|
style?: CSSProperties | undefined;
|
|
@@ -325,7 +326,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
325
326
|
autosize: InputAutoSize;
|
|
326
327
|
} & 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< SelectProps, 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>>>>;
|
|
327
328
|
options: OptionsType;
|
|
328
|
-
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
329
329
|
fieldSlots: {
|
|
330
330
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
331
331
|
};
|
|
@@ -358,12 +358,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
358
358
|
fieldInstance?: any;
|
|
359
359
|
valueIsReady?: Ref<boolean> | undefined;
|
|
360
360
|
prop: string;
|
|
361
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
361
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
362
362
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
363
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
363
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
364
364
|
style?: CSSProperties | undefined;
|
|
365
365
|
class?: any;
|
|
366
|
-
} & RecordType> | ComputedRef<
|
|
366
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
367
367
|
style?: CSSProperties | undefined;
|
|
368
368
|
class?: any;
|
|
369
369
|
} & RecordType>>;
|
|
@@ -392,14 +392,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
392
392
|
clearable: boolean;
|
|
393
393
|
index: number;
|
|
394
394
|
}) => any>> & Partial<Record<string, (_: {
|
|
395
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
395
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
396
396
|
readonly label: string | ComputedRef<string>;
|
|
397
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
397
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
398
398
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
399
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
399
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
400
400
|
style?: CSSProperties | undefined;
|
|
401
401
|
class?: any;
|
|
402
|
-
} & RecordType> | ComputedRef<
|
|
402
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
403
403
|
style?: CSSProperties | undefined;
|
|
404
404
|
class?: any;
|
|
405
405
|
} & RecordType>>;
|
|
@@ -466,12 +466,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
466
466
|
fieldInstance?: any;
|
|
467
467
|
valueIsReady?: Ref<boolean> | undefined;
|
|
468
468
|
prop: string;
|
|
469
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
469
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
470
470
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
471
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
471
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
472
472
|
style?: CSSProperties | undefined;
|
|
473
473
|
class?: any;
|
|
474
|
-
} & RecordType> | ComputedRef<
|
|
474
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
475
475
|
style?: CSSProperties | undefined;
|
|
476
476
|
class?: any;
|
|
477
477
|
} & RecordType>>;
|