yc-pro-components 0.0.82 → 0.0.83
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/index.vue2.mjs +11 -5
- package/es/components/table/src/table-column.vue.d.ts +46 -46
- package/es/components/table/src/use-table-density.d.ts +8 -0
- package/es/components/table/src/use-table-density.mjs +24 -0
- 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/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 +9 -9
- 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 +32 -6
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +32 -6
- 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/index.vue2.js +10 -4
- package/lib/components/table/src/table-column.vue.d.ts +46 -46
- package/lib/components/table/src/use-table-density.d.ts +8 -0
- package/lib/components/table/src/use-table-density.js +28 -0
- 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/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 +9 -9
- 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 { Mutable, RecordType, 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,19 +16,15 @@ 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
|
-
};
|
|
23
19
|
prop: {
|
|
24
20
|
type: PropType<string>;
|
|
25
21
|
required: true;
|
|
26
22
|
};
|
|
27
23
|
tooltip: {
|
|
28
|
-
type: PropType<string |
|
|
24
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
29
25
|
style?: CSSProperties | undefined;
|
|
30
26
|
class?: any;
|
|
31
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
27
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
32
28
|
style?: CSSProperties | undefined;
|
|
33
29
|
class?: any;
|
|
34
30
|
} & RecordType>>>;
|
|
@@ -56,7 +52,7 @@ export declare const PlusFormItem: {
|
|
|
56
52
|
};
|
|
57
53
|
rows: number;
|
|
58
54
|
autocomplete: string;
|
|
59
|
-
type: "" | "number" | "default" | "
|
|
55
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
60
56
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
61
57
|
step: string | number;
|
|
62
58
|
format: string | ProgressFn | undefined;
|
|
@@ -72,6 +68,10 @@ export declare const PlusFormItem: {
|
|
|
72
68
|
type: PropType<OptionsType>;
|
|
73
69
|
default: () => never[];
|
|
74
70
|
};
|
|
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 | Ref<boolean> | ComputedRef<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;
|
|
146
144
|
readonly label?: string | undefined;
|
|
147
145
|
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,19 +344,15 @@ 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
|
-
};
|
|
351
347
|
prop: {
|
|
352
348
|
type: PropType<string>;
|
|
353
349
|
required: true;
|
|
354
350
|
};
|
|
355
351
|
tooltip: {
|
|
356
|
-
type: PropType<string |
|
|
352
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
357
353
|
style?: CSSProperties | undefined;
|
|
358
354
|
class?: any;
|
|
359
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
355
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
360
356
|
style?: CSSProperties | undefined;
|
|
361
357
|
class?: any;
|
|
362
358
|
} & RecordType>>>;
|
|
@@ -384,7 +380,7 @@ export declare const PlusFormItem: {
|
|
|
384
380
|
};
|
|
385
381
|
rows: number;
|
|
386
382
|
autocomplete: string;
|
|
387
|
-
type: "" | "number" | "default" | "
|
|
383
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
388
384
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
389
385
|
step: string | number;
|
|
390
386
|
format: string | ProgressFn | undefined;
|
|
@@ -400,6 +396,10 @@ export declare const PlusFormItem: {
|
|
|
400
396
|
type: PropType<OptionsType>;
|
|
401
397
|
default: () => never[];
|
|
402
398
|
};
|
|
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 | Ref<boolean> | ComputedRef<boolean>>;
|
|
415
415
|
default: boolean;
|
|
416
416
|
};
|
|
417
417
|
clearable: {
|
|
@@ -460,7 +460,6 @@ 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;
|
|
464
463
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
465
464
|
style?: CSSProperties | undefined;
|
|
466
465
|
class?: any;
|
|
@@ -486,7 +485,7 @@ export declare const PlusFormItem: {
|
|
|
486
485
|
};
|
|
487
486
|
rows: number;
|
|
488
487
|
autocomplete: string;
|
|
489
|
-
type: "" | "number" | "default" | "
|
|
488
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
490
489
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
491
490
|
step: string | number;
|
|
492
491
|
format: string | ProgressFn | undefined;
|
|
@@ -497,11 +496,12 @@ export declare const PlusFormItem: {
|
|
|
497
496
|
autosize: InputAutoSize;
|
|
498
497
|
} & 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>>>>;
|
|
499
498
|
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 | Ref<boolean> | ComputedRef<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,19 +537,15 @@ 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
|
-
};
|
|
544
540
|
prop: {
|
|
545
541
|
type: PropType<string>;
|
|
546
542
|
required: true;
|
|
547
543
|
};
|
|
548
544
|
tooltip: {
|
|
549
|
-
type: PropType<string |
|
|
545
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
550
546
|
style?: CSSProperties | undefined;
|
|
551
547
|
class?: any;
|
|
552
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
548
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
553
549
|
style?: CSSProperties | undefined;
|
|
554
550
|
class?: any;
|
|
555
551
|
} & RecordType>>>;
|
|
@@ -577,7 +573,7 @@ export declare const PlusFormItem: {
|
|
|
577
573
|
};
|
|
578
574
|
rows: number;
|
|
579
575
|
autocomplete: string;
|
|
580
|
-
type: "" | "number" | "default" | "
|
|
576
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
581
577
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
582
578
|
step: string | number;
|
|
583
579
|
format: string | ProgressFn | undefined;
|
|
@@ -593,6 +589,10 @@ export declare const PlusFormItem: {
|
|
|
593
589
|
type: PropType<OptionsType>;
|
|
594
590
|
default: () => never[];
|
|
595
591
|
};
|
|
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 | Ref<boolean> | ComputedRef<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;
|
|
667
665
|
readonly label?: string | undefined;
|
|
668
666
|
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,7 +856,6 @@ 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;
|
|
860
859
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
861
860
|
style?: CSSProperties | undefined;
|
|
862
861
|
class?: any;
|
|
@@ -882,7 +881,7 @@ export declare const PlusFormItem: {
|
|
|
882
881
|
};
|
|
883
882
|
rows: number;
|
|
884
883
|
autocomplete: string;
|
|
885
|
-
type: "" | "number" | "default" | "
|
|
884
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
886
885
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
887
886
|
step: string | number;
|
|
888
887
|
format: string | ProgressFn | undefined;
|
|
@@ -893,11 +892,12 @@ export declare const PlusFormItem: {
|
|
|
893
892
|
autosize: InputAutoSize;
|
|
894
893
|
} & 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>>>>;
|
|
895
894
|
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 | Ref<boolean> | ComputedRef<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,19 +930,15 @@ 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
|
-
};
|
|
937
933
|
prop: {
|
|
938
934
|
type: PropType<string>;
|
|
939
935
|
required: true;
|
|
940
936
|
};
|
|
941
937
|
tooltip: {
|
|
942
|
-
type: PropType<string |
|
|
938
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
943
939
|
style?: CSSProperties | undefined;
|
|
944
940
|
class?: any;
|
|
945
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
941
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
946
942
|
style?: CSSProperties | undefined;
|
|
947
943
|
class?: any;
|
|
948
944
|
} & RecordType>>>;
|
|
@@ -970,7 +966,7 @@ export declare const PlusFormItem: {
|
|
|
970
966
|
};
|
|
971
967
|
rows: number;
|
|
972
968
|
autocomplete: string;
|
|
973
|
-
type: "" | "number" | "default" | "
|
|
969
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
974
970
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
975
971
|
step: string | number;
|
|
976
972
|
format: string | ProgressFn | undefined;
|
|
@@ -986,6 +982,10 @@ export declare const PlusFormItem: {
|
|
|
986
982
|
type: PropType<OptionsType>;
|
|
987
983
|
default: () => never[];
|
|
988
984
|
};
|
|
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 | Ref<boolean> | ComputedRef<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;
|
|
1060
1058
|
readonly label?: string | undefined;
|
|
1061
1059
|
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,7 +1252,6 @@ 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;
|
|
1256
1255
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1257
1256
|
style?: CSSProperties | undefined;
|
|
1258
1257
|
class?: any;
|
|
@@ -1278,7 +1277,7 @@ export declare const PlusFormItem: {
|
|
|
1278
1277
|
};
|
|
1279
1278
|
rows: number;
|
|
1280
1279
|
autocomplete: string;
|
|
1281
|
-
type: "" | "number" | "default" | "
|
|
1280
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1282
1281
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1283
1282
|
step: string | number;
|
|
1284
1283
|
format: string | ProgressFn | undefined;
|
|
@@ -1289,11 +1288,12 @@ export declare const PlusFormItem: {
|
|
|
1289
1288
|
autosize: InputAutoSize;
|
|
1290
1289
|
} & 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>>>>;
|
|
1291
1290
|
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 | Ref<boolean> | ComputedRef<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 |
|
|
1325
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1326
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1327
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1328
1328
|
style?: CSSProperties | undefined;
|
|
1329
1329
|
class?: any;
|
|
1330
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1330
|
+
} & RecordType> | ComputedRef<string> | 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" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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 |
|
|
1361
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1362
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1363
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1364
1364
|
style?: CSSProperties | undefined;
|
|
1365
1365
|
class?: any;
|
|
1366
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1366
|
+
} & RecordType> | ComputedRef<string> | 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" | "
|
|
1388
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "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 |
|
|
1433
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1434
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1435
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1436
1436
|
style?: CSSProperties | undefined;
|
|
1437
1437
|
class?: any;
|
|
1438
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1438
|
+
} & RecordType> | ComputedRef<string> | 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;
|
|
76
74
|
readonly label?: string | undefined;
|
|
77
75
|
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,7 +289,6 @@ 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;
|
|
293
292
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
294
293
|
style?: CSSProperties | undefined;
|
|
295
294
|
class?: any;
|
|
@@ -315,7 +314,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
315
314
|
};
|
|
316
315
|
rows: number;
|
|
317
316
|
autocomplete: string;
|
|
318
|
-
type: "" | "number" | "default" | "
|
|
317
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
319
318
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
320
319
|
step: string | number;
|
|
321
320
|
format: string | ProgressFn | undefined;
|
|
@@ -326,11 +325,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
326
325
|
autosize: InputAutoSize;
|
|
327
326
|
} & 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>>>>;
|
|
328
327
|
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 | Ref<boolean> | ComputedRef<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 |
|
|
361
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
362
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
363
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
364
364
|
style?: CSSProperties | undefined;
|
|
365
365
|
class?: any;
|
|
366
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
366
|
+
} & RecordType> | ComputedRef<string> | 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" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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 |
|
|
397
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
398
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
399
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
400
400
|
style?: CSSProperties | undefined;
|
|
401
401
|
class?: any;
|
|
402
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
402
|
+
} & RecordType> | ComputedRef<string> | 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" | "
|
|
424
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "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 |
|
|
469
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
470
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
471
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
472
472
|
style?: CSSProperties | undefined;
|
|
473
473
|
class?: any;
|
|
474
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
474
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
475
475
|
style?: CSSProperties | undefined;
|
|
476
476
|
class?: any;
|
|
477
477
|
} & RecordType>>;
|