yc-pro-components 0.0.7 → 0.0.9
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 +76 -76
- package/es/components/check-card/src/index.vue.d.ts +14 -14
- package/es/components/check-card-group/index.d.ts +57 -57
- package/es/components/check-card-group/src/index.vue.d.ts +20 -20
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +39 -39
- package/es/components/descriptions/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +47 -47
- package/es/components/dialog-form/src/index.vue.d.ts +11 -11
- package/es/components/display-item/index.d.ts +24 -24
- package/es/components/display-item/src/index.vue.d.ts +24 -24
- package/es/components/drawer-form/index.d.ts +31 -31
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +138 -138
- package/es/components/form/src/form-content.vue.d.ts +29 -29
- package/es/components/form/src/index.vue.d.ts +25 -25
- package/es/components/form-item/index.d.ts +128 -128
- 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 +16 -16
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- 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 +1035 -1035
- package/es/components/page/src/index.vue.d.ts +337 -337
- package/es/components/pagination/index.d.ts +38 -38
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/radio/index.d.ts +34 -34
- package/es/components/radio/src/index.vue.d.ts +26 -26
- package/es/components/render/index.d.ts +17 -17
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +426 -426
- package/es/components/search/src/index.vue.d.ts +125 -125
- 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/index.d.ts +38 -38
- package/es/components/table/src/index.vue.d.ts +7 -7
- package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/utils/index.d.ts +15 -15
- 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 +6 -6
- package/es/components/yc-more-actions/index.d.ts +6 -6
- package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +735 -735
- 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 +1 -1
- package/es/components/yc-status-dialog/src/index.vue.mjs +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +1 -1
- package/index.css +8 -7
- package/index.js +2 -2
- package/index.min.css +1 -1
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +2 -2
- package/lib/components/check-card/index.d.ts +76 -76
- package/lib/components/check-card/src/index.vue.d.ts +14 -14
- package/lib/components/check-card-group/index.d.ts +57 -57
- package/lib/components/check-card-group/src/index.vue.d.ts +20 -20
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +39 -39
- package/lib/components/descriptions/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +47 -47
- package/lib/components/dialog-form/src/index.vue.d.ts +11 -11
- package/lib/components/display-item/index.d.ts +24 -24
- package/lib/components/display-item/src/index.vue.d.ts +24 -24
- package/lib/components/drawer-form/index.d.ts +31 -31
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +138 -138
- package/lib/components/form/src/form-content.vue.d.ts +29 -29
- package/lib/components/form/src/index.vue.d.ts +25 -25
- package/lib/components/form-item/index.d.ts +128 -128
- 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 +16 -16
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- 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 +1035 -1035
- package/lib/components/page/src/index.vue.d.ts +337 -337
- package/lib/components/pagination/index.d.ts +38 -38
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/radio/index.d.ts +34 -34
- package/lib/components/radio/src/index.vue.d.ts +26 -26
- package/lib/components/render/index.d.ts +17 -17
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +426 -426
- package/lib/components/search/src/index.vue.d.ts +125 -125
- 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/index.d.ts +38 -38
- package/lib/components/table/src/index.vue.d.ts +7 -7
- package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/utils/index.d.ts +15 -15
- 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 +6 -6
- package/lib/components/yc-more-actions/index.d.ts +6 -6
- package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +735 -735
- 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 +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.js +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-yc-status-dialog.css +1 -1
- package/theme-chalk/src/yc-status-dialog.scss +1 -0
|
@@ -4,28 +4,32 @@ import { LooseRequired } from '@vue/shared';
|
|
|
4
4
|
import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
|
|
5
5
|
import { EpPropMergeType, EpPropFinalized, Arrayable } from 'element-plus/es/utils';
|
|
6
6
|
import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, FormItemProp, FormItemRule, FormContext, FormItemContext, FormValidateFailure, FormValidateCallback, FormValidationResult } from 'element-plus';
|
|
7
|
-
import {
|
|
7
|
+
import { RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, OptionsRow, TableValueType, FieldValueType, PlusColumn, FormItemValueType } from 'packages/yc-components';
|
|
8
8
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, Slot, DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
9
9
|
export type { PlusFormItemProps } from './src/index.vue';
|
|
10
10
|
export declare const PlusFormItem: {
|
|
11
11
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
12
|
-
|
|
13
|
-
type: PropType<
|
|
14
|
-
|
|
12
|
+
index: {
|
|
13
|
+
type: PropType<number>;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
18
|
+
default: string;
|
|
15
19
|
};
|
|
16
20
|
label: {
|
|
17
21
|
type: PropType<string | ComputedRef<string>>;
|
|
18
22
|
default: string;
|
|
19
23
|
};
|
|
20
|
-
|
|
21
|
-
type: PropType<
|
|
22
|
-
|
|
24
|
+
prop: {
|
|
25
|
+
type: PropType<string>;
|
|
26
|
+
required: true;
|
|
23
27
|
};
|
|
24
28
|
tooltip: {
|
|
25
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
29
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
26
30
|
style?: CSSProperties | undefined;
|
|
27
31
|
class?: any;
|
|
28
|
-
} & RecordType> | ComputedRef<
|
|
32
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
29
33
|
style?: CSSProperties | undefined;
|
|
30
34
|
class?: any;
|
|
31
35
|
} & RecordType>>>;
|
|
@@ -53,7 +57,7 @@ export declare const PlusFormItem: {
|
|
|
53
57
|
};
|
|
54
58
|
rows: number;
|
|
55
59
|
autocomplete: string;
|
|
56
|
-
type: "" | "number" | "default" | "
|
|
60
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
57
61
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
58
62
|
step: string | number;
|
|
59
63
|
format: string | ProgressFn | undefined;
|
|
@@ -69,10 +73,6 @@ export declare const PlusFormItem: {
|
|
|
69
73
|
type: PropType<OptionsType>;
|
|
70
74
|
default: () => never[];
|
|
71
75
|
};
|
|
72
|
-
modelValue: {
|
|
73
|
-
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
76
|
fieldSlots: {
|
|
77
77
|
type: PropType<{
|
|
78
78
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -91,19 +91,12 @@ export declare const PlusFormItem: {
|
|
|
91
91
|
type: PropType<boolean>;
|
|
92
92
|
default: boolean;
|
|
93
93
|
};
|
|
94
|
-
renderField: {
|
|
95
|
-
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
96
|
-
default: undefined;
|
|
97
|
-
};
|
|
98
94
|
valueType: {
|
|
99
|
-
type: PropType< TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "
|
|
95
|
+
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
100
96
|
default: undefined;
|
|
101
97
|
};
|
|
102
|
-
|
|
103
|
-
type: PropType<
|
|
104
|
-
label?: string | undefined;
|
|
105
|
-
value?: string | undefined;
|
|
106
|
-
}>;
|
|
98
|
+
renderField: {
|
|
99
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
107
100
|
default: undefined;
|
|
108
101
|
};
|
|
109
102
|
renderLabel: {
|
|
@@ -118,6 +111,13 @@ export declare const PlusFormItem: {
|
|
|
118
111
|
}) => RenderTypes>;
|
|
119
112
|
default: undefined;
|
|
120
113
|
};
|
|
114
|
+
optionsMap: {
|
|
115
|
+
type: PropType<{
|
|
116
|
+
label?: string | undefined;
|
|
117
|
+
value?: string | undefined;
|
|
118
|
+
}>;
|
|
119
|
+
default: undefined;
|
|
120
|
+
};
|
|
121
121
|
}>> & {
|
|
122
122
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
123
123
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
@@ -459,23 +459,27 @@ export declare const PlusFormItem: {
|
|
|
459
459
|
"update:modelValue": (value: FieldValueType) => void;
|
|
460
460
|
change: (value: FieldValueType) => void;
|
|
461
461
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
462
|
-
|
|
463
|
-
type: PropType<
|
|
464
|
-
|
|
462
|
+
index: {
|
|
463
|
+
type: PropType<number>;
|
|
464
|
+
default: number;
|
|
465
|
+
};
|
|
466
|
+
modelValue: {
|
|
467
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
468
|
+
default: string;
|
|
465
469
|
};
|
|
466
470
|
label: {
|
|
467
471
|
type: PropType<string | ComputedRef<string>>;
|
|
468
472
|
default: string;
|
|
469
473
|
};
|
|
470
|
-
|
|
471
|
-
type: PropType<
|
|
472
|
-
|
|
474
|
+
prop: {
|
|
475
|
+
type: PropType<string>;
|
|
476
|
+
required: true;
|
|
473
477
|
};
|
|
474
478
|
tooltip: {
|
|
475
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
479
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
476
480
|
style?: CSSProperties | undefined;
|
|
477
481
|
class?: any;
|
|
478
|
-
} & RecordType> | ComputedRef<
|
|
482
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
479
483
|
style?: CSSProperties | undefined;
|
|
480
484
|
class?: any;
|
|
481
485
|
} & RecordType>>>;
|
|
@@ -503,7 +507,7 @@ export declare const PlusFormItem: {
|
|
|
503
507
|
};
|
|
504
508
|
rows: number;
|
|
505
509
|
autocomplete: string;
|
|
506
|
-
type: "" | "number" | "default" | "
|
|
510
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
507
511
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
508
512
|
step: string | number;
|
|
509
513
|
format: string | ProgressFn | undefined;
|
|
@@ -519,10 +523,6 @@ export declare const PlusFormItem: {
|
|
|
519
523
|
type: PropType<OptionsType>;
|
|
520
524
|
default: () => never[];
|
|
521
525
|
};
|
|
522
|
-
modelValue: {
|
|
523
|
-
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
524
|
-
default: string;
|
|
525
|
-
};
|
|
526
526
|
fieldSlots: {
|
|
527
527
|
type: PropType<{
|
|
528
528
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -541,19 +541,12 @@ export declare const PlusFormItem: {
|
|
|
541
541
|
type: PropType<boolean>;
|
|
542
542
|
default: boolean;
|
|
543
543
|
};
|
|
544
|
-
renderField: {
|
|
545
|
-
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
546
|
-
default: undefined;
|
|
547
|
-
};
|
|
548
544
|
valueType: {
|
|
549
|
-
type: PropType< TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "
|
|
545
|
+
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
550
546
|
default: undefined;
|
|
551
547
|
};
|
|
552
|
-
|
|
553
|
-
type: PropType<
|
|
554
|
-
label?: string | undefined;
|
|
555
|
-
value?: string | undefined;
|
|
556
|
-
}>;
|
|
548
|
+
renderField: {
|
|
549
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
557
550
|
default: undefined;
|
|
558
551
|
};
|
|
559
552
|
renderLabel: {
|
|
@@ -568,12 +561,20 @@ export declare const PlusFormItem: {
|
|
|
568
561
|
}) => RenderTypes>;
|
|
569
562
|
default: undefined;
|
|
570
563
|
};
|
|
564
|
+
optionsMap: {
|
|
565
|
+
type: PropType<{
|
|
566
|
+
label?: string | undefined;
|
|
567
|
+
value?: string | undefined;
|
|
568
|
+
}>;
|
|
569
|
+
default: undefined;
|
|
570
|
+
};
|
|
571
571
|
}>> & {
|
|
572
572
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
573
573
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
574
574
|
}, {
|
|
575
|
-
label: string | ComputedRef<string>;
|
|
576
575
|
index: number;
|
|
576
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
577
|
+
label: string | ComputedRef<string>;
|
|
577
578
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
578
579
|
style?: CSSProperties | undefined;
|
|
579
580
|
class?: any;
|
|
@@ -599,7 +600,7 @@ export declare const PlusFormItem: {
|
|
|
599
600
|
};
|
|
600
601
|
rows: number;
|
|
601
602
|
autocomplete: string;
|
|
602
|
-
type: "" | "number" | "default" | "
|
|
603
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
603
604
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
604
605
|
step: string | number;
|
|
605
606
|
format: string | ProgressFn | undefined;
|
|
@@ -610,25 +611,24 @@ export declare const PlusFormItem: {
|
|
|
610
611
|
autosize: InputAutoSize;
|
|
611
612
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
612
613
|
options: OptionsType;
|
|
613
|
-
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
614
614
|
fieldSlots: {
|
|
615
615
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
616
616
|
};
|
|
617
617
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
618
618
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
619
619
|
clearable: boolean;
|
|
620
|
+
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
620
621
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
621
|
-
valueType: TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
622
|
-
optionsMap: {
|
|
623
|
-
label?: string | undefined;
|
|
624
|
-
value?: string | undefined;
|
|
625
|
-
};
|
|
626
622
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
627
623
|
renderErrorMessage: (props: PlusColumn & {
|
|
628
624
|
value?: FieldValueType;
|
|
629
625
|
error?: string | undefined;
|
|
630
626
|
label?: string | undefined;
|
|
631
627
|
}) => RenderTypes;
|
|
628
|
+
optionsMap: {
|
|
629
|
+
label?: string | undefined;
|
|
630
|
+
value?: string | undefined;
|
|
631
|
+
};
|
|
632
632
|
}, true, {}, {}, {
|
|
633
633
|
P: {};
|
|
634
634
|
B: {};
|
|
@@ -637,23 +637,27 @@ export declare const PlusFormItem: {
|
|
|
637
637
|
M: {};
|
|
638
638
|
Defaults: {};
|
|
639
639
|
}, Readonly< ExtractPropTypes<{
|
|
640
|
-
|
|
641
|
-
type: PropType<
|
|
642
|
-
|
|
640
|
+
index: {
|
|
641
|
+
type: PropType<number>;
|
|
642
|
+
default: number;
|
|
643
|
+
};
|
|
644
|
+
modelValue: {
|
|
645
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
646
|
+
default: string;
|
|
643
647
|
};
|
|
644
648
|
label: {
|
|
645
649
|
type: PropType<string | ComputedRef<string>>;
|
|
646
650
|
default: string;
|
|
647
651
|
};
|
|
648
|
-
|
|
649
|
-
type: PropType<
|
|
650
|
-
|
|
652
|
+
prop: {
|
|
653
|
+
type: PropType<string>;
|
|
654
|
+
required: true;
|
|
651
655
|
};
|
|
652
656
|
tooltip: {
|
|
653
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
657
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
654
658
|
style?: CSSProperties | undefined;
|
|
655
659
|
class?: any;
|
|
656
|
-
} & RecordType> | ComputedRef<
|
|
660
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
657
661
|
style?: CSSProperties | undefined;
|
|
658
662
|
class?: any;
|
|
659
663
|
} & RecordType>>>;
|
|
@@ -681,7 +685,7 @@ export declare const PlusFormItem: {
|
|
|
681
685
|
};
|
|
682
686
|
rows: number;
|
|
683
687
|
autocomplete: string;
|
|
684
|
-
type: "" | "number" | "default" | "
|
|
688
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
685
689
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
686
690
|
step: string | number;
|
|
687
691
|
format: string | ProgressFn | undefined;
|
|
@@ -697,10 +701,6 @@ export declare const PlusFormItem: {
|
|
|
697
701
|
type: PropType<OptionsType>;
|
|
698
702
|
default: () => never[];
|
|
699
703
|
};
|
|
700
|
-
modelValue: {
|
|
701
|
-
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
702
|
-
default: string;
|
|
703
|
-
};
|
|
704
704
|
fieldSlots: {
|
|
705
705
|
type: PropType<{
|
|
706
706
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -719,19 +719,12 @@ export declare const PlusFormItem: {
|
|
|
719
719
|
type: PropType<boolean>;
|
|
720
720
|
default: boolean;
|
|
721
721
|
};
|
|
722
|
-
renderField: {
|
|
723
|
-
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
724
|
-
default: undefined;
|
|
725
|
-
};
|
|
726
722
|
valueType: {
|
|
727
|
-
type: PropType< TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "
|
|
723
|
+
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
728
724
|
default: undefined;
|
|
729
725
|
};
|
|
730
|
-
|
|
731
|
-
type: PropType<
|
|
732
|
-
label?: string | undefined;
|
|
733
|
-
value?: string | undefined;
|
|
734
|
-
}>;
|
|
726
|
+
renderField: {
|
|
727
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
735
728
|
default: undefined;
|
|
736
729
|
};
|
|
737
730
|
renderLabel: {
|
|
@@ -746,6 +739,13 @@ export declare const PlusFormItem: {
|
|
|
746
739
|
}) => RenderTypes>;
|
|
747
740
|
default: undefined;
|
|
748
741
|
};
|
|
742
|
+
optionsMap: {
|
|
743
|
+
type: PropType<{
|
|
744
|
+
label?: string | undefined;
|
|
745
|
+
value?: string | undefined;
|
|
746
|
+
}>;
|
|
747
|
+
default: undefined;
|
|
748
|
+
};
|
|
749
749
|
}>> & {
|
|
750
750
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
751
751
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
@@ -1084,8 +1084,9 @@ export declare const PlusFormItem: {
|
|
|
1084
1084
|
}> | null | undefined>;
|
|
1085
1085
|
fieldInstance: Ref<any>;
|
|
1086
1086
|
}, {}, {}, {}, {
|
|
1087
|
-
label: string | ComputedRef<string>;
|
|
1088
1087
|
index: number;
|
|
1088
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1089
|
+
label: string | ComputedRef<string>;
|
|
1089
1090
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1090
1091
|
style?: CSSProperties | undefined;
|
|
1091
1092
|
class?: any;
|
|
@@ -1111,7 +1112,7 @@ export declare const PlusFormItem: {
|
|
|
1111
1112
|
};
|
|
1112
1113
|
rows: number;
|
|
1113
1114
|
autocomplete: string;
|
|
1114
|
-
type: "" | "number" | "default" | "
|
|
1115
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1115
1116
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1116
1117
|
step: string | number;
|
|
1117
1118
|
format: string | ProgressFn | undefined;
|
|
@@ -1122,47 +1123,50 @@ export declare const PlusFormItem: {
|
|
|
1122
1123
|
autosize: InputAutoSize;
|
|
1123
1124
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
1124
1125
|
options: OptionsType;
|
|
1125
|
-
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1126
1126
|
fieldSlots: {
|
|
1127
1127
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1128
1128
|
};
|
|
1129
1129
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
1130
1130
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1131
1131
|
clearable: boolean;
|
|
1132
|
+
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
1132
1133
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1133
|
-
valueType: TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
1134
|
-
optionsMap: {
|
|
1135
|
-
label?: string | undefined;
|
|
1136
|
-
value?: string | undefined;
|
|
1137
|
-
};
|
|
1138
1134
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
1139
1135
|
renderErrorMessage: (props: PlusColumn & {
|
|
1140
1136
|
value?: FieldValueType;
|
|
1141
1137
|
error?: string | undefined;
|
|
1142
1138
|
label?: string | undefined;
|
|
1143
1139
|
}) => RenderTypes;
|
|
1140
|
+
optionsMap: {
|
|
1141
|
+
label?: string | undefined;
|
|
1142
|
+
value?: string | undefined;
|
|
1143
|
+
};
|
|
1144
1144
|
}>;
|
|
1145
1145
|
__isFragment?: undefined;
|
|
1146
1146
|
__isTeleport?: undefined;
|
|
1147
1147
|
__isSuspense?: undefined;
|
|
1148
1148
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1149
|
-
|
|
1150
|
-
type: PropType<
|
|
1151
|
-
|
|
1149
|
+
index: {
|
|
1150
|
+
type: PropType<number>;
|
|
1151
|
+
default: number;
|
|
1152
|
+
};
|
|
1153
|
+
modelValue: {
|
|
1154
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1155
|
+
default: string;
|
|
1152
1156
|
};
|
|
1153
1157
|
label: {
|
|
1154
1158
|
type: PropType<string | ComputedRef<string>>;
|
|
1155
1159
|
default: string;
|
|
1156
1160
|
};
|
|
1157
|
-
|
|
1158
|
-
type: PropType<
|
|
1159
|
-
|
|
1161
|
+
prop: {
|
|
1162
|
+
type: PropType<string>;
|
|
1163
|
+
required: true;
|
|
1160
1164
|
};
|
|
1161
1165
|
tooltip: {
|
|
1162
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
1166
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1163
1167
|
style?: CSSProperties | undefined;
|
|
1164
1168
|
class?: any;
|
|
1165
|
-
} & RecordType> | ComputedRef<
|
|
1169
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1166
1170
|
style?: CSSProperties | undefined;
|
|
1167
1171
|
class?: any;
|
|
1168
1172
|
} & RecordType>>>;
|
|
@@ -1190,7 +1194,7 @@ export declare const PlusFormItem: {
|
|
|
1190
1194
|
};
|
|
1191
1195
|
rows: number;
|
|
1192
1196
|
autocomplete: string;
|
|
1193
|
-
type: "" | "number" | "default" | "
|
|
1197
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1194
1198
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1195
1199
|
step: string | number;
|
|
1196
1200
|
format: string | ProgressFn | undefined;
|
|
@@ -1206,10 +1210,6 @@ export declare const PlusFormItem: {
|
|
|
1206
1210
|
type: PropType<OptionsType>;
|
|
1207
1211
|
default: () => never[];
|
|
1208
1212
|
};
|
|
1209
|
-
modelValue: {
|
|
1210
|
-
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
1211
|
-
default: string;
|
|
1212
|
-
};
|
|
1213
1213
|
fieldSlots: {
|
|
1214
1214
|
type: PropType<{
|
|
1215
1215
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -1228,19 +1228,12 @@ export declare const PlusFormItem: {
|
|
|
1228
1228
|
type: PropType<boolean>;
|
|
1229
1229
|
default: boolean;
|
|
1230
1230
|
};
|
|
1231
|
-
renderField: {
|
|
1232
|
-
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
1233
|
-
default: undefined;
|
|
1234
|
-
};
|
|
1235
1231
|
valueType: {
|
|
1236
|
-
type: PropType< TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "
|
|
1232
|
+
type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
1237
1233
|
default: undefined;
|
|
1238
1234
|
};
|
|
1239
|
-
|
|
1240
|
-
type: PropType<
|
|
1241
|
-
label?: string | undefined;
|
|
1242
|
-
value?: string | undefined;
|
|
1243
|
-
}>;
|
|
1235
|
+
renderField: {
|
|
1236
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
1244
1237
|
default: undefined;
|
|
1245
1238
|
};
|
|
1246
1239
|
renderLabel: {
|
|
@@ -1255,6 +1248,13 @@ export declare const PlusFormItem: {
|
|
|
1255
1248
|
}) => RenderTypes>;
|
|
1256
1249
|
default: undefined;
|
|
1257
1250
|
};
|
|
1251
|
+
optionsMap: {
|
|
1252
|
+
type: PropType<{
|
|
1253
|
+
label?: string | undefined;
|
|
1254
|
+
value?: string | undefined;
|
|
1255
|
+
}>;
|
|
1256
|
+
default: undefined;
|
|
1257
|
+
};
|
|
1258
1258
|
}>> & {
|
|
1259
1259
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1260
1260
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
@@ -1596,8 +1596,9 @@ export declare const PlusFormItem: {
|
|
|
1596
1596
|
"update:modelValue": (value: FieldValueType) => void;
|
|
1597
1597
|
change: (value: FieldValueType) => void;
|
|
1598
1598
|
}, string, {
|
|
1599
|
-
label: string | ComputedRef<string>;
|
|
1600
1599
|
index: number;
|
|
1600
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1601
|
+
label: string | ComputedRef<string>;
|
|
1601
1602
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1602
1603
|
style?: CSSProperties | undefined;
|
|
1603
1604
|
class?: any;
|
|
@@ -1623,7 +1624,7 @@ export declare const PlusFormItem: {
|
|
|
1623
1624
|
};
|
|
1624
1625
|
rows: number;
|
|
1625
1626
|
autocomplete: string;
|
|
1626
|
-
type: "" | "number" | "default" | "
|
|
1627
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1627
1628
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1628
1629
|
step: string | number;
|
|
1629
1630
|
format: string | ProgressFn | undefined;
|
|
@@ -1634,25 +1635,24 @@ export declare const PlusFormItem: {
|
|
|
1634
1635
|
autosize: InputAutoSize;
|
|
1635
1636
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
1636
1637
|
options: OptionsType;
|
|
1637
|
-
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1638
1638
|
fieldSlots: {
|
|
1639
1639
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1640
1640
|
};
|
|
1641
1641
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
1642
1642
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1643
1643
|
clearable: boolean;
|
|
1644
|
+
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
1644
1645
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1645
|
-
valueType: TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
1646
|
-
optionsMap: {
|
|
1647
|
-
label?: string | undefined;
|
|
1648
|
-
value?: string | undefined;
|
|
1649
|
-
};
|
|
1650
1646
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
1651
1647
|
renderErrorMessage: (props: PlusColumn & {
|
|
1652
1648
|
value?: FieldValueType;
|
|
1653
1649
|
error?: string | undefined;
|
|
1654
1650
|
label?: string | undefined;
|
|
1655
1651
|
}) => RenderTypes;
|
|
1652
|
+
optionsMap: {
|
|
1653
|
+
label?: string | undefined;
|
|
1654
|
+
value?: string | undefined;
|
|
1655
|
+
};
|
|
1656
1656
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1657
1657
|
$slots: Partial<Record<string, (_: {
|
|
1658
1658
|
label: string;
|
|
@@ -1662,12 +1662,12 @@ export declare const PlusFormItem: {
|
|
|
1662
1662
|
fieldInstance?: any;
|
|
1663
1663
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1664
1664
|
prop: string;
|
|
1665
|
-
modelValue: string | number | boolean |
|
|
1665
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1666
1666
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1667
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1667
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1668
1668
|
style?: CSSProperties | undefined;
|
|
1669
1669
|
class?: any;
|
|
1670
|
-
} & RecordType> | ComputedRef<
|
|
1670
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1671
1671
|
style?: CSSProperties | undefined;
|
|
1672
1672
|
class?: any;
|
|
1673
1673
|
} & RecordType>>;
|
|
@@ -1690,14 +1690,14 @@ export declare const PlusFormItem: {
|
|
|
1690
1690
|
clearable: boolean;
|
|
1691
1691
|
index: number;
|
|
1692
1692
|
}) => any>> & Partial<Record<string, (_: {
|
|
1693
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1693
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1694
1694
|
readonly label: string | ComputedRef<string>;
|
|
1695
|
-
readonly modelValue: string | number | boolean |
|
|
1695
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1696
1696
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1697
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1697
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1698
1698
|
style?: CSSProperties | undefined;
|
|
1699
1699
|
class?: any;
|
|
1700
|
-
} & RecordType> | ComputedRef<
|
|
1700
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1701
1701
|
style?: CSSProperties | undefined;
|
|
1702
1702
|
class?: any;
|
|
1703
1703
|
} & RecordType>>;
|
|
@@ -1719,7 +1719,7 @@ export declare const PlusFormItem: {
|
|
|
1719
1719
|
};
|
|
1720
1720
|
rows: number;
|
|
1721
1721
|
autocomplete: string;
|
|
1722
|
-
type: "" | "number" | "default" | "
|
|
1722
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1723
1723
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1724
1724
|
step: string | number;
|
|
1725
1725
|
format: string | ProgressFn | undefined;
|
|
@@ -1758,12 +1758,12 @@ export declare const PlusFormItem: {
|
|
|
1758
1758
|
fieldInstance?: any;
|
|
1759
1759
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1760
1760
|
prop: string;
|
|
1761
|
-
modelValue: string | number | boolean |
|
|
1761
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1762
1762
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1763
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1763
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1764
1764
|
style?: CSSProperties | undefined;
|
|
1765
1765
|
class?: any;
|
|
1766
|
-
} & RecordType> | ComputedRef<
|
|
1766
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1767
1767
|
style?: CSSProperties | undefined;
|
|
1768
1768
|
class?: any;
|
|
1769
1769
|
} & RecordType>>;
|