yc-pro-components 0.0.19 → 0.0.20
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 +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- 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 +50 -50
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- 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 +42 -42
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- 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 +20 -20
- 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 +452 -452
- package/es/components/page/src/index.vue.d.ts +154 -154
- 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/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- 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 +360 -360
- 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/directive.d.ts +0 -4
- package/es/components/yc-select-v2/src/directive.mjs +70 -17
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-select-v2/src/index.vue2.mjs +18 -6
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +1 -0
- package/index.css +14 -0
- package/index.js +88 -21
- package/index.min.css +1 -0
- package/index.min.js +4 -4
- package/index.min.mjs +5 -5
- package/index.mjs +88 -21
- 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 +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- 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 +50 -50
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- 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 +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- 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 +20 -20
- 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 +452 -452
- package/lib/components/page/src/index.vue.d.ts +154 -154
- 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/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- 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 +360 -360
- 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/directive.d.ts +0 -4
- package/lib/components/yc-select-v2/src/directive.js +70 -17
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-select-v2/src/index.vue2.js +17 -5
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +1 -0
- 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
|
@@ -2,7 +2,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { EpPropMergeType } from 'element-plus/es/utils';
|
|
3
3
|
import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
4
|
import { LooseRequired } from '@vue/shared';
|
|
5
|
-
import {
|
|
5
|
+
import { RecordType, PlusFormProps, PlusColumn, FieldValueType, PlusFormItemProps, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'packages/yc-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, CSSProperties } from 'vue';
|
|
7
7
|
import { default as DisplayItem } from './src/index.vue';
|
|
8
8
|
|
|
@@ -14,14 +14,14 @@ export declare const PlusDisplayItem: {
|
|
|
14
14
|
type: PropType<number>;
|
|
15
15
|
default: number;
|
|
16
16
|
};
|
|
17
|
-
formProps: {
|
|
18
|
-
type: PropType<PlusFormProps>;
|
|
19
|
-
default: () => {};
|
|
20
|
-
};
|
|
21
17
|
rest: {
|
|
22
18
|
type: PropType<RecordType>;
|
|
23
19
|
default: () => {};
|
|
24
20
|
};
|
|
21
|
+
formProps: {
|
|
22
|
+
type: PropType<PlusFormProps>;
|
|
23
|
+
default: () => {};
|
|
24
|
+
};
|
|
25
25
|
column: {
|
|
26
26
|
type: PropType<PlusColumn>;
|
|
27
27
|
required: true;
|
|
@@ -67,14 +67,14 @@ export declare const PlusDisplayItem: {
|
|
|
67
67
|
type: PropType<number>;
|
|
68
68
|
default: number;
|
|
69
69
|
};
|
|
70
|
-
formProps: {
|
|
71
|
-
type: PropType<PlusFormProps>;
|
|
72
|
-
default: () => {};
|
|
73
|
-
};
|
|
74
70
|
rest: {
|
|
75
71
|
type: PropType<RecordType>;
|
|
76
72
|
default: () => {};
|
|
77
73
|
};
|
|
74
|
+
formProps: {
|
|
75
|
+
type: PropType<PlusFormProps>;
|
|
76
|
+
default: () => {};
|
|
77
|
+
};
|
|
78
78
|
column: {
|
|
79
79
|
type: PropType<PlusColumn>;
|
|
80
80
|
required: true;
|
|
@@ -100,8 +100,8 @@ export declare const PlusDisplayItem: {
|
|
|
100
100
|
}) => any) | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
index: number;
|
|
103
|
-
formProps: PlusFormProps;
|
|
104
103
|
rest: RecordType;
|
|
104
|
+
formProps: PlusFormProps;
|
|
105
105
|
column: PlusColumn;
|
|
106
106
|
row: RecordType;
|
|
107
107
|
editable: boolean | "click" | "dblclick";
|
|
@@ -117,14 +117,14 @@ export declare const PlusDisplayItem: {
|
|
|
117
117
|
type: PropType<number>;
|
|
118
118
|
default: number;
|
|
119
119
|
};
|
|
120
|
-
formProps: {
|
|
121
|
-
type: PropType<PlusFormProps>;
|
|
122
|
-
default: () => {};
|
|
123
|
-
};
|
|
124
120
|
rest: {
|
|
125
121
|
type: PropType<RecordType>;
|
|
126
122
|
default: () => {};
|
|
127
123
|
};
|
|
124
|
+
formProps: {
|
|
125
|
+
type: PropType<PlusFormProps>;
|
|
126
|
+
default: () => {};
|
|
127
|
+
};
|
|
128
128
|
column: {
|
|
129
129
|
type: PropType<PlusColumn>;
|
|
130
130
|
required: true;
|
|
@@ -161,8 +161,8 @@ export declare const PlusDisplayItem: {
|
|
|
161
161
|
};
|
|
162
162
|
}, {}, {}, {}, {
|
|
163
163
|
index: number;
|
|
164
|
-
formProps: PlusFormProps;
|
|
165
164
|
rest: RecordType;
|
|
165
|
+
formProps: PlusFormProps;
|
|
166
166
|
column: PlusColumn;
|
|
167
167
|
row: RecordType;
|
|
168
168
|
editable: boolean | "click" | "dblclick";
|
|
@@ -175,14 +175,14 @@ export declare const PlusDisplayItem: {
|
|
|
175
175
|
type: PropType<number>;
|
|
176
176
|
default: number;
|
|
177
177
|
};
|
|
178
|
-
formProps: {
|
|
179
|
-
type: PropType<PlusFormProps>;
|
|
180
|
-
default: () => {};
|
|
181
|
-
};
|
|
182
178
|
rest: {
|
|
183
179
|
type: PropType<RecordType>;
|
|
184
180
|
default: () => {};
|
|
185
181
|
};
|
|
182
|
+
formProps: {
|
|
183
|
+
type: PropType<PlusFormProps>;
|
|
184
|
+
default: () => {};
|
|
185
|
+
};
|
|
186
186
|
column: {
|
|
187
187
|
type: PropType<PlusColumn>;
|
|
188
188
|
required: true;
|
|
@@ -225,21 +225,21 @@ export declare const PlusDisplayItem: {
|
|
|
225
225
|
}) => void;
|
|
226
226
|
}, string, {
|
|
227
227
|
index: number;
|
|
228
|
-
formProps: PlusFormProps;
|
|
229
228
|
rest: RecordType;
|
|
229
|
+
formProps: PlusFormProps;
|
|
230
230
|
column: PlusColumn;
|
|
231
231
|
row: RecordType;
|
|
232
232
|
editable: boolean | "click" | "dblclick";
|
|
233
233
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
234
234
|
$slots: Partial<Record<string, (_: {
|
|
235
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
235
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
236
236
|
readonly label: string | ComputedRef<string>;
|
|
237
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
237
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
238
238
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
239
|
-
readonly tooltip: string |
|
|
239
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
240
240
|
style?: CSSProperties | undefined;
|
|
241
241
|
class?: any;
|
|
242
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
242
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
243
243
|
style?: CSSProperties | undefined;
|
|
244
244
|
class?: any;
|
|
245
245
|
} & RecordType>>;
|
|
@@ -306,12 +306,12 @@ export declare const PlusDisplayItem: {
|
|
|
306
306
|
fieldInstance?: any;
|
|
307
307
|
valueIsReady?: Ref<boolean> | undefined;
|
|
308
308
|
prop: string;
|
|
309
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
309
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
310
310
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
311
|
-
tooltip: string |
|
|
311
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
312
312
|
style?: CSSProperties | undefined;
|
|
313
313
|
class?: any;
|
|
314
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
314
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
315
315
|
style?: CSSProperties | undefined;
|
|
316
316
|
class?: any;
|
|
317
317
|
} & RecordType>>;
|
|
@@ -340,14 +340,14 @@ export declare const PlusDisplayItem: {
|
|
|
340
340
|
clearable: boolean;
|
|
341
341
|
index: number;
|
|
342
342
|
}) => any>> & Partial<Record<string, (_: {
|
|
343
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
343
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
344
344
|
readonly label: string | ComputedRef<string>;
|
|
345
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
345
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
346
346
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
347
|
-
readonly tooltip: string |
|
|
347
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
348
348
|
style?: CSSProperties | undefined;
|
|
349
349
|
class?: any;
|
|
350
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
350
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
351
351
|
style?: CSSProperties | undefined;
|
|
352
352
|
class?: any;
|
|
353
353
|
} & RecordType>>;
|
|
@@ -414,12 +414,12 @@ export declare const PlusDisplayItem: {
|
|
|
414
414
|
fieldInstance?: any;
|
|
415
415
|
valueIsReady?: Ref<boolean> | undefined;
|
|
416
416
|
prop: string;
|
|
417
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
417
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
418
418
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
419
|
-
tooltip: string |
|
|
419
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
420
420
|
style?: CSSProperties | undefined;
|
|
421
421
|
class?: any;
|
|
422
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
422
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
423
423
|
style?: CSSProperties | undefined;
|
|
424
424
|
class?: any;
|
|
425
425
|
} & RecordType>>;
|
|
@@ -448,14 +448,14 @@ export declare const PlusDisplayItem: {
|
|
|
448
448
|
clearable: boolean;
|
|
449
449
|
index: number;
|
|
450
450
|
}) => any>> & Partial<Record<string, (_: {
|
|
451
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
451
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
452
452
|
readonly label: string | ComputedRef<string>;
|
|
453
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
453
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
454
454
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
455
|
-
readonly tooltip: string |
|
|
455
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
456
456
|
style?: CSSProperties | undefined;
|
|
457
457
|
class?: any;
|
|
458
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
458
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
459
459
|
style?: CSSProperties | undefined;
|
|
460
460
|
class?: any;
|
|
461
461
|
} & RecordType>>;
|
|
@@ -522,12 +522,12 @@ export declare const PlusDisplayItem: {
|
|
|
522
522
|
fieldInstance?: any;
|
|
523
523
|
valueIsReady?: Ref<boolean> | undefined;
|
|
524
524
|
prop: string;
|
|
525
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
525
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
526
526
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
527
|
-
tooltip: string |
|
|
527
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
528
528
|
style?: CSSProperties | undefined;
|
|
529
529
|
class?: any;
|
|
530
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
530
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
531
531
|
style?: CSSProperties | undefined;
|
|
532
532
|
class?: any;
|
|
533
533
|
} & RecordType>>;
|
|
@@ -71,20 +71,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
71
71
|
}) => any) | undefined;
|
|
72
72
|
}, {
|
|
73
73
|
index: number;
|
|
74
|
-
formProps: PlusFormProps;
|
|
75
74
|
rest: RecordType;
|
|
75
|
+
formProps: PlusFormProps;
|
|
76
76
|
column: PlusColumn;
|
|
77
77
|
row: RecordType;
|
|
78
78
|
editable: boolean | "click" | "dblclick";
|
|
79
79
|
}, {}>, Partial<Record<string, (_: {
|
|
80
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
80
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
81
81
|
readonly label: string | ComputedRef<string>;
|
|
82
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
82
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
83
83
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
84
|
-
readonly tooltip: string |
|
|
84
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
85
85
|
style?: CSSProperties | undefined;
|
|
86
86
|
class?: any;
|
|
87
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
87
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
88
88
|
style?: CSSProperties | undefined;
|
|
89
89
|
class?: any;
|
|
90
90
|
} & RecordType>>;
|
|
@@ -151,12 +151,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
151
151
|
fieldInstance?: any;
|
|
152
152
|
valueIsReady?: Ref<boolean> | undefined;
|
|
153
153
|
prop: string;
|
|
154
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
154
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
155
155
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
156
|
-
tooltip: string |
|
|
156
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
157
157
|
style?: CSSProperties | undefined;
|
|
158
158
|
class?: any;
|
|
159
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
159
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
160
160
|
style?: CSSProperties | undefined;
|
|
161
161
|
class?: any;
|
|
162
162
|
} & RecordType>>;
|
|
@@ -185,14 +185,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
185
185
|
clearable: boolean;
|
|
186
186
|
index: number;
|
|
187
187
|
}) => any>> & Partial<Record<string, (_: {
|
|
188
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
188
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
189
189
|
readonly label: string | ComputedRef<string>;
|
|
190
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
190
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
191
191
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
192
|
-
readonly tooltip: string |
|
|
192
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
193
193
|
style?: CSSProperties | undefined;
|
|
194
194
|
class?: any;
|
|
195
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
195
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
196
196
|
style?: CSSProperties | undefined;
|
|
197
197
|
class?: any;
|
|
198
198
|
} & RecordType>>;
|
|
@@ -259,12 +259,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
259
259
|
fieldInstance?: any;
|
|
260
260
|
valueIsReady?: Ref<boolean> | undefined;
|
|
261
261
|
prop: string;
|
|
262
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
262
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
263
263
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
264
|
-
tooltip: string |
|
|
264
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
265
265
|
style?: CSSProperties | undefined;
|
|
266
266
|
class?: any;
|
|
267
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
267
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
268
268
|
style?: CSSProperties | undefined;
|
|
269
269
|
class?: any;
|
|
270
270
|
} & RecordType>>;
|
|
@@ -293,14 +293,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
293
293
|
clearable: boolean;
|
|
294
294
|
index: number;
|
|
295
295
|
}) => any>> & Partial<Record<string, (_: {
|
|
296
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
296
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
297
297
|
readonly label: string | ComputedRef<string>;
|
|
298
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
298
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
299
299
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
300
|
-
readonly tooltip: string |
|
|
300
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
301
301
|
style?: CSSProperties | undefined;
|
|
302
302
|
class?: any;
|
|
303
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
303
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
304
304
|
style?: CSSProperties | undefined;
|
|
305
305
|
class?: any;
|
|
306
306
|
} & RecordType>>;
|
|
@@ -367,12 +367,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
367
367
|
fieldInstance?: any;
|
|
368
368
|
valueIsReady?: Ref<boolean> | undefined;
|
|
369
369
|
prop: string;
|
|
370
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
370
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
371
371
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
372
|
-
tooltip: string |
|
|
372
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
373
373
|
style?: CSSProperties | undefined;
|
|
374
374
|
class?: any;
|
|
375
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
375
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
376
376
|
style?: CSSProperties | undefined;
|
|
377
377
|
class?: any;
|
|
378
378
|
} & RecordType>>;
|
|
@@ -2,20 +2,12 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { EpPropFinalized, EpPropMergeType, SFCWithInstall, Arrayable } from 'element-plus/es/utils';
|
|
4
4
|
import { DrawerProps, DialogBeforeCloseFn, Translator, FormItemRule, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
5
|
-
import {
|
|
5
|
+
import { PlusFormProps, FieldValues, Mutable, RecordType, PlusColumn, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Ref, Component, ComputedOptions, MethodOptions, Slot, ComputedRef, DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
7
7
|
export type { PlusDrawerFormProps } from './src/index.vue';
|
|
8
8
|
export type PlusDrawerFormInstance = InstanceType<typeof PlusDrawerForm>;
|
|
9
9
|
export declare const PlusDrawerForm: {
|
|
10
10
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
11
|
-
size: {
|
|
12
|
-
type: PropType<string | number>;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
modelValue: {
|
|
16
|
-
type: PropType<FieldValues>;
|
|
17
|
-
default: () => {};
|
|
18
|
-
};
|
|
19
11
|
form: {
|
|
20
12
|
type: PropType<PlusFormProps>;
|
|
21
13
|
default: () => {};
|
|
@@ -24,6 +16,14 @@ export declare const PlusDrawerForm: {
|
|
|
24
16
|
type: PropType<boolean>;
|
|
25
17
|
default: boolean;
|
|
26
18
|
};
|
|
19
|
+
size: {
|
|
20
|
+
type: PropType<string | number>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
modelValue: {
|
|
24
|
+
type: PropType<FieldValues>;
|
|
25
|
+
default: () => {};
|
|
26
|
+
};
|
|
27
27
|
hasErrorTip: {
|
|
28
28
|
type: PropType<boolean>;
|
|
29
29
|
default: boolean;
|
|
@@ -52,9 +52,9 @@ export declare const PlusDrawerForm: {
|
|
|
52
52
|
default: () => {};
|
|
53
53
|
};
|
|
54
54
|
}>> & {
|
|
55
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
56
55
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
57
56
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
57
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
58
58
|
onCancel?: (() => any) | undefined;
|
|
59
59
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
60
60
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -1087,14 +1087,6 @@ export declare const PlusDrawerForm: {
|
|
|
1087
1087
|
cancel: () => void;
|
|
1088
1088
|
confirmError: (errors: unknown) => void;
|
|
1089
1089
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1090
|
-
size: {
|
|
1091
|
-
type: PropType<string | number>;
|
|
1092
|
-
default: string;
|
|
1093
|
-
};
|
|
1094
|
-
modelValue: {
|
|
1095
|
-
type: PropType<FieldValues>;
|
|
1096
|
-
default: () => {};
|
|
1097
|
-
};
|
|
1098
1090
|
form: {
|
|
1099
1091
|
type: PropType<PlusFormProps>;
|
|
1100
1092
|
default: () => {};
|
|
@@ -1103,6 +1095,14 @@ export declare const PlusDrawerForm: {
|
|
|
1103
1095
|
type: PropType<boolean>;
|
|
1104
1096
|
default: boolean;
|
|
1105
1097
|
};
|
|
1098
|
+
size: {
|
|
1099
|
+
type: PropType<string | number>;
|
|
1100
|
+
default: string;
|
|
1101
|
+
};
|
|
1102
|
+
modelValue: {
|
|
1103
|
+
type: PropType<FieldValues>;
|
|
1104
|
+
default: () => {};
|
|
1105
|
+
};
|
|
1106
1106
|
hasErrorTip: {
|
|
1107
1107
|
type: PropType<boolean>;
|
|
1108
1108
|
default: boolean;
|
|
@@ -1131,17 +1131,17 @@ export declare const PlusDrawerForm: {
|
|
|
1131
1131
|
default: () => {};
|
|
1132
1132
|
};
|
|
1133
1133
|
}>> & {
|
|
1134
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1135
1134
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1136
1135
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1136
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1137
1137
|
onCancel?: (() => any) | undefined;
|
|
1138
1138
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1139
1139
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1140
1140
|
}, {
|
|
1141
|
-
size: string | number;
|
|
1142
|
-
modelValue: FieldValues;
|
|
1143
1141
|
form: PlusFormProps;
|
|
1144
1142
|
visible: boolean;
|
|
1143
|
+
size: string | number;
|
|
1144
|
+
modelValue: FieldValues;
|
|
1145
1145
|
hasErrorTip: boolean;
|
|
1146
1146
|
hasFooter: boolean;
|
|
1147
1147
|
confirmLoading: boolean;
|
|
@@ -1159,14 +1159,6 @@ export declare const PlusDrawerForm: {
|
|
|
1159
1159
|
M: {};
|
|
1160
1160
|
Defaults: {};
|
|
1161
1161
|
}, Readonly< ExtractPropTypes<{
|
|
1162
|
-
size: {
|
|
1163
|
-
type: PropType<string | number>;
|
|
1164
|
-
default: string;
|
|
1165
|
-
};
|
|
1166
|
-
modelValue: {
|
|
1167
|
-
type: PropType<FieldValues>;
|
|
1168
|
-
default: () => {};
|
|
1169
|
-
};
|
|
1170
1162
|
form: {
|
|
1171
1163
|
type: PropType<PlusFormProps>;
|
|
1172
1164
|
default: () => {};
|
|
@@ -1175,6 +1167,14 @@ export declare const PlusDrawerForm: {
|
|
|
1175
1167
|
type: PropType<boolean>;
|
|
1176
1168
|
default: boolean;
|
|
1177
1169
|
};
|
|
1170
|
+
size: {
|
|
1171
|
+
type: PropType<string | number>;
|
|
1172
|
+
default: string;
|
|
1173
|
+
};
|
|
1174
|
+
modelValue: {
|
|
1175
|
+
type: PropType<FieldValues>;
|
|
1176
|
+
default: () => {};
|
|
1177
|
+
};
|
|
1178
1178
|
hasErrorTip: {
|
|
1179
1179
|
type: PropType<boolean>;
|
|
1180
1180
|
default: boolean;
|
|
@@ -1203,9 +1203,9 @@ export declare const PlusDrawerForm: {
|
|
|
1203
1203
|
default: () => {};
|
|
1204
1204
|
};
|
|
1205
1205
|
}>> & {
|
|
1206
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1207
1206
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1208
1207
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1208
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1209
1209
|
onCancel?: (() => any) | undefined;
|
|
1210
1210
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1211
1211
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -2231,10 +2231,10 @@ export declare const PlusDrawerForm: {
|
|
|
2231
2231
|
readonly scrollToError: boolean;
|
|
2232
2232
|
}>>;
|
|
2233
2233
|
}, {}, {}, {}, {
|
|
2234
|
-
size: string | number;
|
|
2235
|
-
modelValue: FieldValues;
|
|
2236
2234
|
form: PlusFormProps;
|
|
2237
2235
|
visible: boolean;
|
|
2236
|
+
size: string | number;
|
|
2237
|
+
modelValue: FieldValues;
|
|
2238
2238
|
hasErrorTip: boolean;
|
|
2239
2239
|
hasFooter: boolean;
|
|
2240
2240
|
confirmLoading: boolean;
|
|
@@ -2249,14 +2249,6 @@ export declare const PlusDrawerForm: {
|
|
|
2249
2249
|
__isTeleport?: undefined;
|
|
2250
2250
|
__isSuspense?: undefined;
|
|
2251
2251
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2252
|
-
size: {
|
|
2253
|
-
type: PropType<string | number>;
|
|
2254
|
-
default: string;
|
|
2255
|
-
};
|
|
2256
|
-
modelValue: {
|
|
2257
|
-
type: PropType<FieldValues>;
|
|
2258
|
-
default: () => {};
|
|
2259
|
-
};
|
|
2260
2252
|
form: {
|
|
2261
2253
|
type: PropType<PlusFormProps>;
|
|
2262
2254
|
default: () => {};
|
|
@@ -2265,6 +2257,14 @@ export declare const PlusDrawerForm: {
|
|
|
2265
2257
|
type: PropType<boolean>;
|
|
2266
2258
|
default: boolean;
|
|
2267
2259
|
};
|
|
2260
|
+
size: {
|
|
2261
|
+
type: PropType<string | number>;
|
|
2262
|
+
default: string;
|
|
2263
|
+
};
|
|
2264
|
+
modelValue: {
|
|
2265
|
+
type: PropType<FieldValues>;
|
|
2266
|
+
default: () => {};
|
|
2267
|
+
};
|
|
2268
2268
|
hasErrorTip: {
|
|
2269
2269
|
type: PropType<boolean>;
|
|
2270
2270
|
default: boolean;
|
|
@@ -2293,9 +2293,9 @@ export declare const PlusDrawerForm: {
|
|
|
2293
2293
|
default: () => {};
|
|
2294
2294
|
};
|
|
2295
2295
|
}>> & {
|
|
2296
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2297
2296
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2298
2297
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
2298
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2299
2299
|
onCancel?: (() => any) | undefined;
|
|
2300
2300
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
2301
2301
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -3328,10 +3328,10 @@ export declare const PlusDrawerForm: {
|
|
|
3328
3328
|
cancel: () => void;
|
|
3329
3329
|
confirmError: (errors: unknown) => void;
|
|
3330
3330
|
}, string, {
|
|
3331
|
-
size: string | number;
|
|
3332
|
-
modelValue: FieldValues;
|
|
3333
3331
|
form: PlusFormProps;
|
|
3334
3332
|
visible: boolean;
|
|
3333
|
+
size: string | number;
|
|
3334
|
+
modelValue: FieldValues;
|
|
3335
3335
|
hasErrorTip: boolean;
|
|
3336
3336
|
hasFooter: boolean;
|
|
3337
3337
|
confirmLoading: boolean;
|
|
@@ -3343,14 +3343,14 @@ export declare const PlusDrawerForm: {
|
|
|
3343
3343
|
} & RecordType>;
|
|
3344
3344
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3345
3345
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3346
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3346
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3347
3347
|
readonly label: string | ComputedRef<string>;
|
|
3348
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3348
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3349
3349
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3350
|
-
readonly tooltip: string |
|
|
3350
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3351
3351
|
style?: CSSProperties | undefined;
|
|
3352
3352
|
class?: any;
|
|
3353
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3353
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3354
3354
|
style?: CSSProperties | undefined;
|
|
3355
3355
|
class?: any;
|
|
3356
3356
|
} & RecordType>>;
|
|
@@ -3417,12 +3417,12 @@ export declare const PlusDrawerForm: {
|
|
|
3417
3417
|
fieldInstance?: any;
|
|
3418
3418
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3419
3419
|
prop: string;
|
|
3420
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3420
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3421
3421
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3422
|
-
tooltip: string |
|
|
3422
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3423
3423
|
style?: CSSProperties | undefined;
|
|
3424
3424
|
class?: any;
|
|
3425
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3425
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3426
3426
|
style?: CSSProperties | undefined;
|
|
3427
3427
|
class?: any;
|
|
3428
3428
|
} & RecordType>>;
|
|
@@ -1087,17 +1087,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1087
1087
|
drawer: () => {};
|
|
1088
1088
|
form: () => {};
|
|
1089
1089
|
}>>> & {
|
|
1090
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1091
1090
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1092
1091
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1092
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1093
1093
|
onCancel?: (() => any) | undefined;
|
|
1094
1094
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1095
1095
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1096
1096
|
}, {
|
|
1097
|
-
size: string | number;
|
|
1098
|
-
modelValue: FieldValues;
|
|
1099
1097
|
form: PlusFormProps;
|
|
1100
1098
|
visible: boolean;
|
|
1099
|
+
size: string | number;
|
|
1100
|
+
modelValue: FieldValues;
|
|
1101
1101
|
hasErrorTip: boolean;
|
|
1102
1102
|
hasFooter: boolean;
|
|
1103
1103
|
confirmLoading: boolean;
|
|
@@ -1108,14 +1108,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1108
1108
|
class?: any;
|
|
1109
1109
|
} & RecordType>;
|
|
1110
1110
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
1111
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1111
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1112
1112
|
readonly label: string | ComputedRef<string>;
|
|
1113
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1113
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1114
1114
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1115
|
-
readonly tooltip: string |
|
|
1115
|
+
readonly tooltip: string | Partial<Mutable< ElTooltipProps> & {
|
|
1116
1116
|
style?: CSSProperties | undefined;
|
|
1117
1117
|
class?: any;
|
|
1118
|
-
} & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
1118
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
1119
1119
|
style?: CSSProperties | undefined;
|
|
1120
1120
|
class?: any;
|
|
1121
1121
|
} & RecordType>>;
|
|
@@ -1182,12 +1182,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1182
1182
|
fieldInstance?: any;
|
|
1183
1183
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1184
1184
|
prop: string;
|
|
1185
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1185
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1186
1186
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1187
|
-
tooltip: string |
|
|
1187
|
+
tooltip: string | Partial<Mutable< ElTooltipProps> & {
|
|
1188
1188
|
style?: CSSProperties | undefined;
|
|
1189
1189
|
class?: any;
|
|
1190
|
-
} & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
1190
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
1191
1191
|
style?: CSSProperties | undefined;
|
|
1192
1192
|
class?: any;
|
|
1193
1193
|
} & RecordType>>;
|