yc-pro-components 0.0.50 → 0.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +20 -20
- package/es/components/date-picker/src/index.vue.d.ts +12 -12
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +65 -65
- package/es/components/drawer-form/src/index.vue.d.ts +15 -15
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +48 -48
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- 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 +344 -344
- package/es/components/page/src/index.vue.d.ts +118 -118
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +154 -154
- package/es/components/search/src/index.vue.d.ts +50 -50
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +235 -235
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/defaults.mjs +4 -1
- package/es/directives/dist/index.mjs +14 -0
- package/es/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +8 -8
- package/es/index.d.ts +1 -0
- package/es/index.mjs +1 -0
- package/es/make-installer.d.ts +7 -2
- package/es/make-installer.mjs +7 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/index.d.ts +1 -0
- package/es/yc-components/make-installer.d.ts +7 -2
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +28 -9
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +25 -6
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +20 -20
- package/lib/components/date-picker/src/index.vue.d.ts +12 -12
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +65 -65
- package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +48 -48
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- 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 +344 -344
- package/lib/components/page/src/index.vue.d.ts +118 -118
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +154 -154
- package/lib/components/search/src/index.vue.d.ts +50 -50
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +235 -235
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/defaults.js +4 -1
- package/lib/directives/dist/index.js +16 -0
- package/lib/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +9 -9
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -0
- package/lib/make-installer.d.ts +7 -2
- package/lib/make-installer.js +7 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/index.d.ts +1 -0
- package/lib/yc-components/make-installer.d.ts +7 -2
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EpPropMergeType } from 'element-plus/es/utils';
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { FormInstance, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
|
-
import { PlusDialogProps, PlusFormProps,
|
|
4
|
+
import { FieldValues, PlusDialogProps, PlusFormProps, PlusColumn, PlusFormItemProps, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
5
5
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Ref, CSSProperties, Component } from 'vue';
|
|
6
6
|
import { default as DialogForm } from './src/index.vue';
|
|
7
7
|
|
|
@@ -9,6 +9,10 @@ export type { PlusDialogFormProps } from './src/index.vue';
|
|
|
9
9
|
export type PlusDialogFormInstance = InstanceType<typeof DialogForm>;
|
|
10
10
|
export declare const PlusDialogForm: {
|
|
11
11
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: PropType<FieldValues>;
|
|
14
|
+
default: () => {};
|
|
15
|
+
};
|
|
12
16
|
dialog: {
|
|
13
17
|
type: PropType<PlusDialogProps>;
|
|
14
18
|
default: () => {};
|
|
@@ -21,18 +25,14 @@ export declare const PlusDialogForm: {
|
|
|
21
25
|
type: PropType<boolean>;
|
|
22
26
|
default: boolean;
|
|
23
27
|
};
|
|
24
|
-
modelValue: {
|
|
25
|
-
type: PropType<FieldValues>;
|
|
26
|
-
default: () => {};
|
|
27
|
-
};
|
|
28
28
|
hasErrorTip: {
|
|
29
29
|
type: PropType<boolean>;
|
|
30
30
|
default: boolean;
|
|
31
31
|
};
|
|
32
32
|
}>> & {
|
|
33
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
33
34
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
34
35
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
35
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
36
36
|
onClose?: (() => any) | undefined;
|
|
37
37
|
onCancel?: (() => any) | undefined;
|
|
38
38
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -50,6 +50,10 @@ export declare const PlusDialogForm: {
|
|
|
50
50
|
close: () => void;
|
|
51
51
|
confirmError: (errors: unknown) => void;
|
|
52
52
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
53
|
+
modelValue: {
|
|
54
|
+
type: PropType<FieldValues>;
|
|
55
|
+
default: () => {};
|
|
56
|
+
};
|
|
53
57
|
dialog: {
|
|
54
58
|
type: PropType<PlusDialogProps>;
|
|
55
59
|
default: () => {};
|
|
@@ -62,27 +66,23 @@ export declare const PlusDialogForm: {
|
|
|
62
66
|
type: PropType<boolean>;
|
|
63
67
|
default: boolean;
|
|
64
68
|
};
|
|
65
|
-
modelValue: {
|
|
66
|
-
type: PropType<FieldValues>;
|
|
67
|
-
default: () => {};
|
|
68
|
-
};
|
|
69
69
|
hasErrorTip: {
|
|
70
70
|
type: PropType<boolean>;
|
|
71
71
|
default: boolean;
|
|
72
72
|
};
|
|
73
73
|
}>> & {
|
|
74
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
74
75
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
75
76
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
76
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
77
77
|
onClose?: (() => any) | undefined;
|
|
78
78
|
onCancel?: (() => any) | undefined;
|
|
79
79
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
80
80
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
81
81
|
}, {
|
|
82
|
+
modelValue: FieldValues;
|
|
82
83
|
dialog: PlusDialogProps;
|
|
83
84
|
form: PlusFormProps;
|
|
84
85
|
visible: boolean;
|
|
85
|
-
modelValue: FieldValues;
|
|
86
86
|
hasErrorTip: boolean;
|
|
87
87
|
}, true, {}, {}, {
|
|
88
88
|
P: {};
|
|
@@ -92,6 +92,10 @@ export declare const PlusDialogForm: {
|
|
|
92
92
|
M: {};
|
|
93
93
|
Defaults: {};
|
|
94
94
|
}, Readonly< ExtractPropTypes<{
|
|
95
|
+
modelValue: {
|
|
96
|
+
type: PropType<FieldValues>;
|
|
97
|
+
default: () => {};
|
|
98
|
+
};
|
|
95
99
|
dialog: {
|
|
96
100
|
type: PropType<PlusDialogProps>;
|
|
97
101
|
default: () => {};
|
|
@@ -104,18 +108,14 @@ export declare const PlusDialogForm: {
|
|
|
104
108
|
type: PropType<boolean>;
|
|
105
109
|
default: boolean;
|
|
106
110
|
};
|
|
107
|
-
modelValue: {
|
|
108
|
-
type: PropType<FieldValues>;
|
|
109
|
-
default: () => {};
|
|
110
|
-
};
|
|
111
111
|
hasErrorTip: {
|
|
112
112
|
type: PropType<boolean>;
|
|
113
113
|
default: boolean;
|
|
114
114
|
};
|
|
115
115
|
}>> & {
|
|
116
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
116
117
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
117
118
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
118
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
119
119
|
onClose?: (() => any) | undefined;
|
|
120
120
|
onCancel?: (() => any) | undefined;
|
|
121
121
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -125,16 +125,20 @@ export declare const PlusDialogForm: {
|
|
|
125
125
|
handleCancel: () => void;
|
|
126
126
|
formInstance: ComputedRef<FormInstance>;
|
|
127
127
|
}, {}, {}, {}, {
|
|
128
|
+
modelValue: FieldValues;
|
|
128
129
|
dialog: PlusDialogProps;
|
|
129
130
|
form: PlusFormProps;
|
|
130
131
|
visible: boolean;
|
|
131
|
-
modelValue: FieldValues;
|
|
132
132
|
hasErrorTip: boolean;
|
|
133
133
|
}>;
|
|
134
134
|
__isFragment?: undefined;
|
|
135
135
|
__isTeleport?: undefined;
|
|
136
136
|
__isSuspense?: undefined;
|
|
137
137
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
138
|
+
modelValue: {
|
|
139
|
+
type: PropType<FieldValues>;
|
|
140
|
+
default: () => {};
|
|
141
|
+
};
|
|
138
142
|
dialog: {
|
|
139
143
|
type: PropType<PlusDialogProps>;
|
|
140
144
|
default: () => {};
|
|
@@ -147,18 +151,14 @@ export declare const PlusDialogForm: {
|
|
|
147
151
|
type: PropType<boolean>;
|
|
148
152
|
default: boolean;
|
|
149
153
|
};
|
|
150
|
-
modelValue: {
|
|
151
|
-
type: PropType<FieldValues>;
|
|
152
|
-
default: () => {};
|
|
153
|
-
};
|
|
154
154
|
hasErrorTip: {
|
|
155
155
|
type: PropType<boolean>;
|
|
156
156
|
default: boolean;
|
|
157
157
|
};
|
|
158
158
|
}>> & {
|
|
159
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
159
160
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
160
161
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
161
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
162
162
|
onClose?: (() => any) | undefined;
|
|
163
163
|
onCancel?: (() => any) | undefined;
|
|
164
164
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -176,21 +176,21 @@ export declare const PlusDialogForm: {
|
|
|
176
176
|
close: () => void;
|
|
177
177
|
confirmError: (errors: unknown) => void;
|
|
178
178
|
}, string, {
|
|
179
|
+
modelValue: FieldValues;
|
|
179
180
|
dialog: PlusDialogProps;
|
|
180
181
|
form: PlusFormProps;
|
|
181
182
|
visible: boolean;
|
|
182
|
-
modelValue: FieldValues;
|
|
183
183
|
hasErrorTip: boolean;
|
|
184
184
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
185
185
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
186
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
186
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
187
187
|
readonly label: string | ComputedRef<string>;
|
|
188
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
188
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
189
189
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
190
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
190
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
191
191
|
style?: CSSProperties | undefined;
|
|
192
192
|
class?: any;
|
|
193
|
-
} & RecordType> | ComputedRef<
|
|
193
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
194
194
|
style?: CSSProperties | undefined;
|
|
195
195
|
class?: any;
|
|
196
196
|
} & RecordType>>;
|
|
@@ -257,12 +257,12 @@ export declare const PlusDialogForm: {
|
|
|
257
257
|
fieldInstance?: any;
|
|
258
258
|
valueIsReady?: Ref<boolean> | undefined;
|
|
259
259
|
prop: string;
|
|
260
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
260
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
261
261
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
262
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
262
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
263
263
|
style?: CSSProperties | undefined;
|
|
264
264
|
class?: any;
|
|
265
|
-
} & RecordType> | ComputedRef<
|
|
265
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
266
266
|
style?: CSSProperties | undefined;
|
|
267
267
|
class?: any;
|
|
268
268
|
} & RecordType>>;
|
|
@@ -48,28 +48,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
48
48
|
dialog: () => {};
|
|
49
49
|
form: () => {};
|
|
50
50
|
}>>> & {
|
|
51
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
51
52
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
52
53
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
53
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
54
54
|
onClose?: (() => any) | undefined;
|
|
55
55
|
onCancel?: (() => any) | undefined;
|
|
56
56
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
57
57
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
58
58
|
}, {
|
|
59
|
+
modelValue: FieldValues;
|
|
59
60
|
dialog: PlusDialogProps;
|
|
60
61
|
form: PlusFormProps;
|
|
61
62
|
visible: boolean;
|
|
62
|
-
modelValue: FieldValues;
|
|
63
63
|
hasErrorTip: boolean;
|
|
64
64
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
65
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
65
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
66
66
|
readonly label: string | ComputedRef<string>;
|
|
67
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
67
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
68
68
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
69
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
69
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
70
70
|
style?: CSSProperties | undefined;
|
|
71
71
|
class?: any;
|
|
72
|
-
} & RecordType> | ComputedRef<
|
|
72
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
73
73
|
style?: CSSProperties | undefined;
|
|
74
74
|
class?: any;
|
|
75
75
|
} & RecordType>>;
|
|
@@ -136,12 +136,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
136
136
|
fieldInstance?: any;
|
|
137
137
|
valueIsReady?: Ref<boolean> | undefined;
|
|
138
138
|
prop: string;
|
|
139
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
139
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
140
140
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
141
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
141
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
142
142
|
style?: CSSProperties | undefined;
|
|
143
143
|
class?: any;
|
|
144
|
-
} & RecordType> | ComputedRef<
|
|
144
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
145
145
|
style?: CSSProperties | undefined;
|
|
146
146
|
class?: any;
|
|
147
147
|
} & RecordType>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EpPropMergeType } from 'element-plus/es/utils';
|
|
2
2
|
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 } from 'element-plus';
|
|
3
3
|
import { LooseRequired } from '@vue/shared';
|
|
4
|
-
import {
|
|
4
|
+
import { PlusFormProps, RecordType, PlusColumn, FieldValueType, PlusFormItemProps, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'packages/yc-components';
|
|
5
5
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, CSSProperties } from 'vue';
|
|
6
6
|
import { default as DisplayItem } from './src/index.vue';
|
|
7
7
|
|
|
@@ -13,14 +13,14 @@ export declare const PlusDisplayItem: {
|
|
|
13
13
|
type: PropType<number>;
|
|
14
14
|
default: number;
|
|
15
15
|
};
|
|
16
|
-
rest: {
|
|
17
|
-
type: PropType<RecordType>;
|
|
18
|
-
default: () => {};
|
|
19
|
-
};
|
|
20
16
|
formProps: {
|
|
21
17
|
type: PropType<PlusFormProps>;
|
|
22
18
|
default: () => {};
|
|
23
19
|
};
|
|
20
|
+
rest: {
|
|
21
|
+
type: PropType<RecordType>;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
24
24
|
column: {
|
|
25
25
|
type: PropType<PlusColumn>;
|
|
26
26
|
required: true;
|
|
@@ -66,14 +66,14 @@ export declare const PlusDisplayItem: {
|
|
|
66
66
|
type: PropType<number>;
|
|
67
67
|
default: number;
|
|
68
68
|
};
|
|
69
|
-
rest: {
|
|
70
|
-
type: PropType<RecordType>;
|
|
71
|
-
default: () => {};
|
|
72
|
-
};
|
|
73
69
|
formProps: {
|
|
74
70
|
type: PropType<PlusFormProps>;
|
|
75
71
|
default: () => {};
|
|
76
72
|
};
|
|
73
|
+
rest: {
|
|
74
|
+
type: PropType<RecordType>;
|
|
75
|
+
default: () => {};
|
|
76
|
+
};
|
|
77
77
|
column: {
|
|
78
78
|
type: PropType<PlusColumn>;
|
|
79
79
|
required: true;
|
|
@@ -99,8 +99,8 @@ export declare const PlusDisplayItem: {
|
|
|
99
99
|
}) => any) | undefined;
|
|
100
100
|
}, {
|
|
101
101
|
index: number;
|
|
102
|
-
rest: RecordType;
|
|
103
102
|
formProps: PlusFormProps;
|
|
103
|
+
rest: RecordType;
|
|
104
104
|
column: PlusColumn;
|
|
105
105
|
row: RecordType;
|
|
106
106
|
editable: boolean | "click" | "dblclick";
|
|
@@ -116,14 +116,14 @@ export declare const PlusDisplayItem: {
|
|
|
116
116
|
type: PropType<number>;
|
|
117
117
|
default: number;
|
|
118
118
|
};
|
|
119
|
-
rest: {
|
|
120
|
-
type: PropType<RecordType>;
|
|
121
|
-
default: () => {};
|
|
122
|
-
};
|
|
123
119
|
formProps: {
|
|
124
120
|
type: PropType<PlusFormProps>;
|
|
125
121
|
default: () => {};
|
|
126
122
|
};
|
|
123
|
+
rest: {
|
|
124
|
+
type: PropType<RecordType>;
|
|
125
|
+
default: () => {};
|
|
126
|
+
};
|
|
127
127
|
column: {
|
|
128
128
|
type: PropType<PlusColumn>;
|
|
129
129
|
required: true;
|
|
@@ -160,8 +160,8 @@ export declare const PlusDisplayItem: {
|
|
|
160
160
|
};
|
|
161
161
|
}, {}, {}, {}, {
|
|
162
162
|
index: number;
|
|
163
|
-
rest: RecordType;
|
|
164
163
|
formProps: PlusFormProps;
|
|
164
|
+
rest: RecordType;
|
|
165
165
|
column: PlusColumn;
|
|
166
166
|
row: RecordType;
|
|
167
167
|
editable: boolean | "click" | "dblclick";
|
|
@@ -174,14 +174,14 @@ export declare const PlusDisplayItem: {
|
|
|
174
174
|
type: PropType<number>;
|
|
175
175
|
default: number;
|
|
176
176
|
};
|
|
177
|
-
rest: {
|
|
178
|
-
type: PropType<RecordType>;
|
|
179
|
-
default: () => {};
|
|
180
|
-
};
|
|
181
177
|
formProps: {
|
|
182
178
|
type: PropType<PlusFormProps>;
|
|
183
179
|
default: () => {};
|
|
184
180
|
};
|
|
181
|
+
rest: {
|
|
182
|
+
type: PropType<RecordType>;
|
|
183
|
+
default: () => {};
|
|
184
|
+
};
|
|
185
185
|
column: {
|
|
186
186
|
type: PropType<PlusColumn>;
|
|
187
187
|
required: true;
|
|
@@ -224,21 +224,21 @@ export declare const PlusDisplayItem: {
|
|
|
224
224
|
}) => void;
|
|
225
225
|
}, string, {
|
|
226
226
|
index: number;
|
|
227
|
-
rest: RecordType;
|
|
228
227
|
formProps: PlusFormProps;
|
|
228
|
+
rest: RecordType;
|
|
229
229
|
column: PlusColumn;
|
|
230
230
|
row: RecordType;
|
|
231
231
|
editable: boolean | "click" | "dblclick";
|
|
232
232
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
233
233
|
$slots: Partial<Record<string, (_: {
|
|
234
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
234
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
235
235
|
readonly label: string | ComputedRef<string>;
|
|
236
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
236
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
237
237
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
238
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
238
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
239
239
|
style?: CSSProperties | undefined;
|
|
240
240
|
class?: any;
|
|
241
|
-
} & RecordType> | ComputedRef<
|
|
241
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
242
242
|
style?: CSSProperties | undefined;
|
|
243
243
|
class?: any;
|
|
244
244
|
} & RecordType>>;
|
|
@@ -305,12 +305,12 @@ export declare const PlusDisplayItem: {
|
|
|
305
305
|
fieldInstance?: any;
|
|
306
306
|
valueIsReady?: Ref<boolean> | undefined;
|
|
307
307
|
prop: string;
|
|
308
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
308
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
309
309
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
310
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
310
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
311
311
|
style?: CSSProperties | undefined;
|
|
312
312
|
class?: any;
|
|
313
|
-
} & RecordType> | ComputedRef<
|
|
313
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
314
314
|
style?: CSSProperties | undefined;
|
|
315
315
|
class?: any;
|
|
316
316
|
} & RecordType>>;
|
|
@@ -339,14 +339,14 @@ export declare const PlusDisplayItem: {
|
|
|
339
339
|
clearable: boolean;
|
|
340
340
|
index: number;
|
|
341
341
|
}) => any>> & Partial<Record<string, (_: {
|
|
342
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
342
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
343
343
|
readonly label: string | ComputedRef<string>;
|
|
344
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
344
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
345
345
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
346
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
346
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
347
347
|
style?: CSSProperties | undefined;
|
|
348
348
|
class?: any;
|
|
349
|
-
} & RecordType> | ComputedRef<
|
|
349
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
350
350
|
style?: CSSProperties | undefined;
|
|
351
351
|
class?: any;
|
|
352
352
|
} & RecordType>>;
|
|
@@ -413,12 +413,12 @@ export declare const PlusDisplayItem: {
|
|
|
413
413
|
fieldInstance?: any;
|
|
414
414
|
valueIsReady?: Ref<boolean> | undefined;
|
|
415
415
|
prop: string;
|
|
416
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
416
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
417
417
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
418
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
418
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
419
419
|
style?: CSSProperties | undefined;
|
|
420
420
|
class?: any;
|
|
421
|
-
} & RecordType> | ComputedRef<
|
|
421
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
422
422
|
style?: CSSProperties | undefined;
|
|
423
423
|
class?: any;
|
|
424
424
|
} & RecordType>>;
|
|
@@ -447,14 +447,14 @@ export declare const PlusDisplayItem: {
|
|
|
447
447
|
clearable: boolean;
|
|
448
448
|
index: number;
|
|
449
449
|
}) => any>> & Partial<Record<string, (_: {
|
|
450
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
450
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
451
451
|
readonly label: string | ComputedRef<string>;
|
|
452
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
452
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
453
453
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
454
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
454
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
455
455
|
style?: CSSProperties | undefined;
|
|
456
456
|
class?: any;
|
|
457
|
-
} & RecordType> | ComputedRef<
|
|
457
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
458
458
|
style?: CSSProperties | undefined;
|
|
459
459
|
class?: any;
|
|
460
460
|
} & RecordType>>;
|
|
@@ -521,12 +521,12 @@ export declare const PlusDisplayItem: {
|
|
|
521
521
|
fieldInstance?: any;
|
|
522
522
|
valueIsReady?: Ref<boolean> | undefined;
|
|
523
523
|
prop: string;
|
|
524
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
524
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
525
525
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
526
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
526
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
527
527
|
style?: CSSProperties | undefined;
|
|
528
528
|
class?: any;
|
|
529
|
-
} & RecordType> | ComputedRef<
|
|
529
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
530
530
|
style?: CSSProperties | undefined;
|
|
531
531
|
class?: any;
|
|
532
532
|
} & RecordType>>;
|
|
@@ -70,20 +70,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
70
70
|
}) => any) | undefined;
|
|
71
71
|
}, {
|
|
72
72
|
index: number;
|
|
73
|
-
rest: RecordType;
|
|
74
73
|
formProps: PlusFormProps;
|
|
74
|
+
rest: RecordType;
|
|
75
75
|
column: PlusColumn;
|
|
76
76
|
row: RecordType;
|
|
77
77
|
editable: boolean | "click" | "dblclick";
|
|
78
78
|
}, {}>, Partial<Record<string, (_: {
|
|
79
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
79
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
80
80
|
readonly label: string | ComputedRef<string>;
|
|
81
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
81
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
82
82
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
83
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
83
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
84
84
|
style?: CSSProperties | undefined;
|
|
85
85
|
class?: any;
|
|
86
|
-
} & RecordType> | ComputedRef<
|
|
86
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
87
87
|
style?: CSSProperties | undefined;
|
|
88
88
|
class?: any;
|
|
89
89
|
} & RecordType>>;
|
|
@@ -150,12 +150,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
150
150
|
fieldInstance?: any;
|
|
151
151
|
valueIsReady?: Ref<boolean> | undefined;
|
|
152
152
|
prop: string;
|
|
153
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
153
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
154
154
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
155
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
155
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
156
156
|
style?: CSSProperties | undefined;
|
|
157
157
|
class?: any;
|
|
158
|
-
} & RecordType> | ComputedRef<
|
|
158
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
159
159
|
style?: CSSProperties | undefined;
|
|
160
160
|
class?: any;
|
|
161
161
|
} & RecordType>>;
|
|
@@ -184,14 +184,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
184
184
|
clearable: boolean;
|
|
185
185
|
index: number;
|
|
186
186
|
}) => any>> & Partial<Record<string, (_: {
|
|
187
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
187
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
188
188
|
readonly label: string | ComputedRef<string>;
|
|
189
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
189
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
190
190
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
191
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
191
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
192
192
|
style?: CSSProperties | undefined;
|
|
193
193
|
class?: any;
|
|
194
|
-
} & RecordType> | ComputedRef<
|
|
194
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
195
195
|
style?: CSSProperties | undefined;
|
|
196
196
|
class?: any;
|
|
197
197
|
} & RecordType>>;
|
|
@@ -258,12 +258,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
258
258
|
fieldInstance?: any;
|
|
259
259
|
valueIsReady?: Ref<boolean> | undefined;
|
|
260
260
|
prop: string;
|
|
261
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
261
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
262
262
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
263
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
263
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
264
264
|
style?: CSSProperties | undefined;
|
|
265
265
|
class?: any;
|
|
266
|
-
} & RecordType> | ComputedRef<
|
|
266
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
267
267
|
style?: CSSProperties | undefined;
|
|
268
268
|
class?: any;
|
|
269
269
|
} & RecordType>>;
|
|
@@ -292,14 +292,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
292
292
|
clearable: boolean;
|
|
293
293
|
index: number;
|
|
294
294
|
}) => any>> & Partial<Record<string, (_: {
|
|
295
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
295
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
296
296
|
readonly label: string | ComputedRef<string>;
|
|
297
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
297
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
298
298
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
299
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
299
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
300
300
|
style?: CSSProperties | undefined;
|
|
301
301
|
class?: any;
|
|
302
|
-
} & RecordType> | ComputedRef<
|
|
302
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
303
303
|
style?: CSSProperties | undefined;
|
|
304
304
|
class?: any;
|
|
305
305
|
} & RecordType>>;
|
|
@@ -366,12 +366,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
366
366
|
fieldInstance?: any;
|
|
367
367
|
valueIsReady?: Ref<boolean> | undefined;
|
|
368
368
|
prop: string;
|
|
369
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
369
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
370
370
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
371
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
371
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
372
372
|
style?: CSSProperties | undefined;
|
|
373
373
|
class?: any;
|
|
374
|
-
} & RecordType> | ComputedRef<
|
|
374
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
375
375
|
style?: CSSProperties | undefined;
|
|
376
376
|
class?: any;
|
|
377
377
|
} & RecordType>>;
|