yc-pro-components 0.0.81 → 0.0.82
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 +39 -39
- package/es/components/check-card-group/src/index.vue.d.ts +2 -2
- package/es/components/date-picker/index.d.ts +29 -29
- package/es/components/date-picker/src/index.vue.d.ts +21 -21
- package/es/components/dialog/index.d.ts +57 -57
- package/es/components/dialog/src/index.vue.d.ts +5 -5
- package/es/components/dialog-form/index.d.ts +18 -18
- package/es/components/dialog-form/src/index.vue.d.ts +12 -12
- package/es/components/display-item/index.d.ts +50 -50
- package/es/components/display-item/src/index.vue.d.ts +31 -31
- package/es/components/drawer-form/index.d.ts +121 -121
- package/es/components/drawer-form/src/index.vue.d.ts +33 -33
- package/es/components/form/index.d.ts +47 -47
- package/es/components/form/src/form-content.vue.d.ts +39 -39
- package/es/components/form/src/index.vue.d.ts +22 -22
- package/es/components/form-item/index.d.ts +62 -62
- package/es/components/form-item/src/index.vue.d.ts +19 -19
- 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 +347 -347
- package/es/components/page/src/index.vue.d.ts +121 -121
- package/es/components/pagination/index.d.ts +38 -38
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/popover/index.d.ts +42 -42
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +33 -33
- package/es/components/radio/src/index.vue.d.ts +25 -25
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +156 -156
- package/es/components/search/src/index.vue.d.ts +53 -53
- 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 +19 -19
- package/es/components/steps-form/src/index.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +46 -46
- package/es/components/yc-card/index.d.ts +19 -19
- package/es/components/yc-card/src/index.vue.d.ts +1 -1
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-drawer/store.d.ts +5 -5
- package/es/components/yc-more-actions/index.d.ts +36 -36
- package/es/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +17 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +236 -236
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +345 -345
- package/es/index.css +11 -11
- 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 +20 -3
- package/index.min.css +1 -1
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +20 -3
- 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 +39 -39
- package/lib/components/check-card-group/src/index.vue.d.ts +2 -2
- package/lib/components/date-picker/index.d.ts +29 -29
- package/lib/components/date-picker/src/index.vue.d.ts +21 -21
- package/lib/components/dialog/index.d.ts +57 -57
- package/lib/components/dialog/src/index.vue.d.ts +5 -5
- package/lib/components/dialog-form/index.d.ts +18 -18
- package/lib/components/dialog-form/src/index.vue.d.ts +12 -12
- package/lib/components/display-item/index.d.ts +50 -50
- package/lib/components/display-item/src/index.vue.d.ts +31 -31
- package/lib/components/drawer-form/index.d.ts +121 -121
- package/lib/components/drawer-form/src/index.vue.d.ts +33 -33
- package/lib/components/form/index.d.ts +47 -47
- package/lib/components/form/src/form-content.vue.d.ts +39 -39
- package/lib/components/form/src/index.vue.d.ts +22 -22
- package/lib/components/form-item/index.d.ts +62 -62
- package/lib/components/form-item/src/index.vue.d.ts +19 -19
- 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 +347 -347
- package/lib/components/page/src/index.vue.d.ts +121 -121
- package/lib/components/pagination/index.d.ts +38 -38
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/popover/index.d.ts +42 -42
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +33 -33
- package/lib/components/radio/src/index.vue.d.ts +25 -25
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +156 -156
- package/lib/components/search/src/index.vue.d.ts +53 -53
- 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 +19 -19
- package/lib/components/steps-form/src/index.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +46 -46
- package/lib/components/yc-card/index.d.ts +19 -19
- package/lib/components/yc-card/src/index.vue.d.ts +1 -1
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-drawer/store.d.ts +5 -5
- package/lib/components/yc-more-actions/index.d.ts +36 -36
- package/lib/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +17 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +236 -236
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +345 -345
- package/lib/index.css +10 -10
- 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: {
|
|
@@ -16,15 +16,19 @@ export declare const PlusFormItem: {
|
|
|
16
16
|
type: PropType<string | ComputedRef<string>>;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
19
23
|
prop: {
|
|
20
24
|
type: PropType<string>;
|
|
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>>>;
|
|
@@ -52,7 +56,7 @@ export declare const PlusFormItem: {
|
|
|
52
56
|
};
|
|
53
57
|
rows: number;
|
|
54
58
|
autocomplete: string;
|
|
55
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
59
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
56
60
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
57
61
|
step: string | number;
|
|
58
62
|
format: string | ProgressFn | undefined;
|
|
@@ -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;
|
|
@@ -83,7 +83,7 @@ export declare const PlusFormItem: {
|
|
|
83
83
|
default: undefined;
|
|
84
84
|
};
|
|
85
85
|
hasLabel: {
|
|
86
|
-
type: PropType<boolean |
|
|
86
|
+
type: PropType<boolean | ComputedRef<boolean> | Ref<boolean>>;
|
|
87
87
|
default: boolean;
|
|
88
88
|
};
|
|
89
89
|
clearable: {
|
|
@@ -141,10 +141,10 @@ export declare const PlusFormItem: {
|
|
|
141
141
|
}> & Omit<{
|
|
142
142
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", 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 error?: string | undefined;
|
|
150
150
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -344,15 +344,19 @@ export declare const PlusFormItem: {
|
|
|
344
344
|
type: PropType<string | ComputedRef<string>>;
|
|
345
345
|
default: string;
|
|
346
346
|
};
|
|
347
|
+
modelValue: {
|
|
348
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
349
|
+
default: string;
|
|
350
|
+
};
|
|
347
351
|
prop: {
|
|
348
352
|
type: PropType<string>;
|
|
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>>>;
|
|
@@ -380,7 +384,7 @@ export declare const PlusFormItem: {
|
|
|
380
384
|
};
|
|
381
385
|
rows: number;
|
|
382
386
|
autocomplete: string;
|
|
383
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
387
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
384
388
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
385
389
|
step: string | number;
|
|
386
390
|
format: string | ProgressFn | undefined;
|
|
@@ -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;
|
|
@@ -411,7 +411,7 @@ export declare const PlusFormItem: {
|
|
|
411
411
|
default: undefined;
|
|
412
412
|
};
|
|
413
413
|
hasLabel: {
|
|
414
|
-
type: PropType<boolean |
|
|
414
|
+
type: PropType<boolean | ComputedRef<boolean> | Ref<boolean>>;
|
|
415
415
|
default: boolean;
|
|
416
416
|
};
|
|
417
417
|
clearable: {
|
|
@@ -460,6 +460,7 @@ export declare const PlusFormItem: {
|
|
|
460
460
|
}, {
|
|
461
461
|
index: number;
|
|
462
462
|
label: string | ComputedRef<string>;
|
|
463
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
463
464
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
464
465
|
style?: CSSProperties | undefined;
|
|
465
466
|
class?: any;
|
|
@@ -485,7 +486,7 @@ export declare const PlusFormItem: {
|
|
|
485
486
|
};
|
|
486
487
|
rows: number;
|
|
487
488
|
autocomplete: string;
|
|
488
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
489
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
489
490
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
490
491
|
step: string | number;
|
|
491
492
|
format: string | ProgressFn | undefined;
|
|
@@ -496,12 +497,11 @@ 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
|
};
|
|
503
503
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
504
|
-
hasLabel: boolean |
|
|
504
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
505
505
|
clearable: boolean;
|
|
506
506
|
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
507
507
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
@@ -537,15 +537,19 @@ export declare const PlusFormItem: {
|
|
|
537
537
|
type: PropType<string | ComputedRef<string>>;
|
|
538
538
|
default: string;
|
|
539
539
|
};
|
|
540
|
+
modelValue: {
|
|
541
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
542
|
+
default: string;
|
|
543
|
+
};
|
|
540
544
|
prop: {
|
|
541
545
|
type: PropType<string>;
|
|
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>>>;
|
|
@@ -573,7 +577,7 @@ export declare const PlusFormItem: {
|
|
|
573
577
|
};
|
|
574
578
|
rows: number;
|
|
575
579
|
autocomplete: string;
|
|
576
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
580
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
577
581
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
578
582
|
step: string | number;
|
|
579
583
|
format: string | ProgressFn | undefined;
|
|
@@ -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;
|
|
@@ -604,7 +604,7 @@ export declare const PlusFormItem: {
|
|
|
604
604
|
default: undefined;
|
|
605
605
|
};
|
|
606
606
|
hasLabel: {
|
|
607
|
-
type: PropType<boolean |
|
|
607
|
+
type: PropType<boolean | ComputedRef<boolean> | Ref<boolean>>;
|
|
608
608
|
default: boolean;
|
|
609
609
|
};
|
|
610
610
|
clearable: {
|
|
@@ -662,10 +662,10 @@ export declare const PlusFormItem: {
|
|
|
662
662
|
}> & Omit<{
|
|
663
663
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", 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 error?: string | undefined;
|
|
671
671
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -856,6 +856,7 @@ export declare const PlusFormItem: {
|
|
|
856
856
|
}, {}, {}, {}, {
|
|
857
857
|
index: number;
|
|
858
858
|
label: string | ComputedRef<string>;
|
|
859
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
859
860
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
860
861
|
style?: CSSProperties | undefined;
|
|
861
862
|
class?: any;
|
|
@@ -881,7 +882,7 @@ export declare const PlusFormItem: {
|
|
|
881
882
|
};
|
|
882
883
|
rows: number;
|
|
883
884
|
autocomplete: string;
|
|
884
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
885
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
885
886
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
886
887
|
step: string | number;
|
|
887
888
|
format: string | ProgressFn | undefined;
|
|
@@ -892,12 +893,11 @@ 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
|
};
|
|
899
899
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
900
|
-
hasLabel: boolean |
|
|
900
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
901
901
|
clearable: boolean;
|
|
902
902
|
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
903
903
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
@@ -930,15 +930,19 @@ export declare const PlusFormItem: {
|
|
|
930
930
|
type: PropType<string | ComputedRef<string>>;
|
|
931
931
|
default: string;
|
|
932
932
|
};
|
|
933
|
+
modelValue: {
|
|
934
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
935
|
+
default: string;
|
|
936
|
+
};
|
|
933
937
|
prop: {
|
|
934
938
|
type: PropType<string>;
|
|
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>>>;
|
|
@@ -966,7 +970,7 @@ export declare const PlusFormItem: {
|
|
|
966
970
|
};
|
|
967
971
|
rows: number;
|
|
968
972
|
autocomplete: string;
|
|
969
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
973
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
970
974
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
971
975
|
step: string | number;
|
|
972
976
|
format: string | ProgressFn | undefined;
|
|
@@ -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;
|
|
@@ -997,7 +997,7 @@ export declare const PlusFormItem: {
|
|
|
997
997
|
default: undefined;
|
|
998
998
|
};
|
|
999
999
|
hasLabel: {
|
|
1000
|
-
type: PropType<boolean |
|
|
1000
|
+
type: PropType<boolean | ComputedRef<boolean> | Ref<boolean>>;
|
|
1001
1001
|
default: boolean;
|
|
1002
1002
|
};
|
|
1003
1003
|
clearable: {
|
|
@@ -1055,10 +1055,10 @@ export declare const PlusFormItem: {
|
|
|
1055
1055
|
}> & Omit<{
|
|
1056
1056
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", 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 error?: string | undefined;
|
|
1064
1064
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -1252,6 +1252,7 @@ export declare const PlusFormItem: {
|
|
|
1252
1252
|
}, string, {
|
|
1253
1253
|
index: number;
|
|
1254
1254
|
label: string | ComputedRef<string>;
|
|
1255
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1255
1256
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1256
1257
|
style?: CSSProperties | undefined;
|
|
1257
1258
|
class?: any;
|
|
@@ -1277,7 +1278,7 @@ export declare const PlusFormItem: {
|
|
|
1277
1278
|
};
|
|
1278
1279
|
rows: number;
|
|
1279
1280
|
autocomplete: string;
|
|
1280
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1281
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1281
1282
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1282
1283
|
step: string | number;
|
|
1283
1284
|
format: string | ProgressFn | undefined;
|
|
@@ -1288,12 +1289,11 @@ 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
|
};
|
|
1295
1295
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
1296
|
-
hasLabel: boolean |
|
|
1296
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1297
1297
|
clearable: boolean;
|
|
1298
1298
|
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
1299
1299
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
@@ -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] |
|
|
1326
|
-
hasLabel: boolean |
|
|
1327
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1325
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1326
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
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" | "
|
|
1359
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "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] |
|
|
1362
|
-
readonly hasLabel: boolean |
|
|
1363
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1361
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1362
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
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>>;
|
|
@@ -1385,7 +1385,7 @@ export declare const PlusFormItem: {
|
|
|
1385
1385
|
};
|
|
1386
1386
|
rows: number;
|
|
1387
1387
|
autocomplete: string;
|
|
1388
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1388
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1389
1389
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1390
1390
|
step: string | number;
|
|
1391
1391
|
format: string | ProgressFn | undefined;
|
|
@@ -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] |
|
|
1434
|
-
hasLabel: boolean |
|
|
1435
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1433
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1434
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
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>>;
|
|
@@ -71,10 +71,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
71
71
|
}> & Omit<{
|
|
72
72
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", 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 error?: string | undefined;
|
|
80
80
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -289,6 +289,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
289
289
|
}, {
|
|
290
290
|
index: number;
|
|
291
291
|
label: string | ComputedRef<string>;
|
|
292
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
292
293
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
293
294
|
style?: CSSProperties | undefined;
|
|
294
295
|
class?: any;
|
|
@@ -314,7 +315,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
314
315
|
};
|
|
315
316
|
rows: number;
|
|
316
317
|
autocomplete: string;
|
|
317
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
318
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
318
319
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
319
320
|
step: string | number;
|
|
320
321
|
format: string | ProgressFn | undefined;
|
|
@@ -325,12 +326,11 @@ 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
|
};
|
|
332
332
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
333
|
-
hasLabel: boolean |
|
|
333
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
334
334
|
clearable: boolean;
|
|
335
335
|
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
336
336
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
@@ -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] |
|
|
362
|
-
hasLabel: boolean |
|
|
363
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
361
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
362
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
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" | "
|
|
395
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "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] |
|
|
398
|
-
readonly hasLabel: boolean |
|
|
399
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
397
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
398
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
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>>;
|
|
@@ -421,7 +421,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
421
421
|
};
|
|
422
422
|
rows: number;
|
|
423
423
|
autocomplete: string;
|
|
424
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
424
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
425
425
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
426
426
|
step: string | number;
|
|
427
427
|
format: string | ProgressFn | undefined;
|
|
@@ -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] |
|
|
470
|
-
hasLabel: boolean |
|
|
471
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
469
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
470
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
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>>;
|