yc-pro-components 0.0.8 → 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 +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 +21 -21
- package/es/components/display-item/src/index.vue.d.ts +21 -21
- 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 +21 -21
- 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/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/hooks/usePlusFormReset.d.ts +208 -208
- package/index.js +1 -1
- package/index.min.js +1 -1
- package/index.min.mjs +1 -1
- package/index.mjs +1 -1
- 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 +21 -21
- package/lib/components/display-item/src/index.vue.d.ts +21 -21
- 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 +21 -21
- 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/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/hooks/usePlusFormReset.d.ts +208 -208
- 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
|
@@ -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 { FieldValues, PlusFormProps, 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
|
-
form: {
|
|
12
|
-
type: PropType<PlusFormProps>;
|
|
13
|
-
default: () => {};
|
|
14
|
-
};
|
|
15
|
-
visible: {
|
|
16
|
-
type: PropType<boolean>;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
11
|
size: {
|
|
20
12
|
type: PropType<string | number>;
|
|
21
13
|
default: string;
|
|
@@ -24,6 +16,14 @@ export declare const PlusDrawerForm: {
|
|
|
24
16
|
type: PropType<FieldValues>;
|
|
25
17
|
default: () => {};
|
|
26
18
|
};
|
|
19
|
+
form: {
|
|
20
|
+
type: PropType<PlusFormProps>;
|
|
21
|
+
default: () => {};
|
|
22
|
+
};
|
|
23
|
+
visible: {
|
|
24
|
+
type: PropType<boolean>;
|
|
25
|
+
default: boolean;
|
|
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;
|
|
55
56
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
56
57
|
"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
|
-
form: {
|
|
1091
|
-
type: PropType<PlusFormProps>;
|
|
1092
|
-
default: () => {};
|
|
1093
|
-
};
|
|
1094
|
-
visible: {
|
|
1095
|
-
type: PropType<boolean>;
|
|
1096
|
-
default: boolean;
|
|
1097
|
-
};
|
|
1098
1090
|
size: {
|
|
1099
1091
|
type: PropType<string | number>;
|
|
1100
1092
|
default: string;
|
|
@@ -1103,6 +1095,14 @@ export declare const PlusDrawerForm: {
|
|
|
1103
1095
|
type: PropType<FieldValues>;
|
|
1104
1096
|
default: () => {};
|
|
1105
1097
|
};
|
|
1098
|
+
form: {
|
|
1099
|
+
type: PropType<PlusFormProps>;
|
|
1100
|
+
default: () => {};
|
|
1101
|
+
};
|
|
1102
|
+
visible: {
|
|
1103
|
+
type: PropType<boolean>;
|
|
1104
|
+
default: boolean;
|
|
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;
|
|
1134
1135
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1135
1136
|
"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
|
-
form: PlusFormProps;
|
|
1142
|
-
visible: boolean;
|
|
1143
1141
|
size: string | number;
|
|
1144
1142
|
modelValue: FieldValues;
|
|
1143
|
+
form: PlusFormProps;
|
|
1144
|
+
visible: boolean;
|
|
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
|
-
form: {
|
|
1163
|
-
type: PropType<PlusFormProps>;
|
|
1164
|
-
default: () => {};
|
|
1165
|
-
};
|
|
1166
|
-
visible: {
|
|
1167
|
-
type: PropType<boolean>;
|
|
1168
|
-
default: boolean;
|
|
1169
|
-
};
|
|
1170
1162
|
size: {
|
|
1171
1163
|
type: PropType<string | number>;
|
|
1172
1164
|
default: string;
|
|
@@ -1175,6 +1167,14 @@ export declare const PlusDrawerForm: {
|
|
|
1175
1167
|
type: PropType<FieldValues>;
|
|
1176
1168
|
default: () => {};
|
|
1177
1169
|
};
|
|
1170
|
+
form: {
|
|
1171
|
+
type: PropType<PlusFormProps>;
|
|
1172
|
+
default: () => {};
|
|
1173
|
+
};
|
|
1174
|
+
visible: {
|
|
1175
|
+
type: PropType<boolean>;
|
|
1176
|
+
default: boolean;
|
|
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;
|
|
1206
1207
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1207
1208
|
"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
|
-
form: PlusFormProps;
|
|
2235
|
-
visible: boolean;
|
|
2236
2234
|
size: string | number;
|
|
2237
2235
|
modelValue: FieldValues;
|
|
2236
|
+
form: PlusFormProps;
|
|
2237
|
+
visible: boolean;
|
|
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
|
-
form: {
|
|
2253
|
-
type: PropType<PlusFormProps>;
|
|
2254
|
-
default: () => {};
|
|
2255
|
-
};
|
|
2256
|
-
visible: {
|
|
2257
|
-
type: PropType<boolean>;
|
|
2258
|
-
default: boolean;
|
|
2259
|
-
};
|
|
2260
2252
|
size: {
|
|
2261
2253
|
type: PropType<string | number>;
|
|
2262
2254
|
default: string;
|
|
@@ -2265,6 +2257,14 @@ export declare const PlusDrawerForm: {
|
|
|
2265
2257
|
type: PropType<FieldValues>;
|
|
2266
2258
|
default: () => {};
|
|
2267
2259
|
};
|
|
2260
|
+
form: {
|
|
2261
|
+
type: PropType<PlusFormProps>;
|
|
2262
|
+
default: () => {};
|
|
2263
|
+
};
|
|
2264
|
+
visible: {
|
|
2265
|
+
type: PropType<boolean>;
|
|
2266
|
+
default: boolean;
|
|
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;
|
|
2296
2297
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2297
2298
|
"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
|
-
form: PlusFormProps;
|
|
3332
|
-
visible: boolean;
|
|
3333
3331
|
size: string | number;
|
|
3334
3332
|
modelValue: FieldValues;
|
|
3333
|
+
form: PlusFormProps;
|
|
3334
|
+
visible: boolean;
|
|
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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
3346
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3349
3349
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3350
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3350
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3351
3351
|
style?: CSSProperties | undefined;
|
|
3352
3352
|
class?: any;
|
|
3353
|
-
} & RecordType> | ComputedRef<
|
|
3353
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3354
3354
|
style?: CSSProperties | undefined;
|
|
3355
3355
|
class?: any;
|
|
3356
3356
|
} & RecordType>>;
|
|
@@ -3411,12 +3411,12 @@ export declare const PlusDrawerForm: {
|
|
|
3411
3411
|
fieldInstance?: any;
|
|
3412
3412
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3413
3413
|
prop: string;
|
|
3414
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3414
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3415
3415
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3416
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3416
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3417
3417
|
style?: CSSProperties | undefined;
|
|
3418
3418
|
class?: any;
|
|
3419
|
-
} & RecordType> | ComputedRef<
|
|
3419
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3420
3420
|
style?: CSSProperties | undefined;
|
|
3421
3421
|
class?: any;
|
|
3422
3422
|
} & 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;
|
|
1090
1091
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1091
1092
|
"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
|
-
form: PlusFormProps;
|
|
1098
|
-
visible: boolean;
|
|
1099
1097
|
size: string | number;
|
|
1100
1098
|
modelValue: FieldValues;
|
|
1099
|
+
form: PlusFormProps;
|
|
1100
|
+
visible: boolean;
|
|
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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1111
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1114
1114
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1115
|
-
readonly tooltip: string | Partial<Mutable< ElTooltipProps> & {
|
|
1115
|
+
readonly tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
|
|
1116
1116
|
style?: CSSProperties | undefined;
|
|
1117
1117
|
class?: any;
|
|
1118
|
-
} & RecordType> | ComputedRef<
|
|
1118
|
+
} & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
1119
1119
|
style?: CSSProperties | undefined;
|
|
1120
1120
|
class?: any;
|
|
1121
1121
|
} & RecordType>>;
|
|
@@ -1176,12 +1176,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1176
1176
|
fieldInstance?: any;
|
|
1177
1177
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1178
1178
|
prop: string;
|
|
1179
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1179
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1180
1180
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1181
|
-
tooltip: string | Partial<Mutable< ElTooltipProps> & {
|
|
1181
|
+
tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
|
|
1182
1182
|
style?: CSSProperties | undefined;
|
|
1183
1183
|
class?: any;
|
|
1184
|
-
} & RecordType> | ComputedRef<
|
|
1184
|
+
} & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
1185
1185
|
style?: CSSProperties | undefined;
|
|
1186
1186
|
class?: any;
|
|
1187
1187
|
} & RecordType>>;
|
|
@@ -3,7 +3,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
3
3
|
import { FormItemRule, RowProps, ColProps, CardProps, 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';
|
|
4
4
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
5
5
|
import { PlusFormGroupRow } from './src/type';
|
|
6
|
-
import {
|
|
6
|
+
import { FieldValues, PlusColumn, Mutable, RecordType, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
7
7
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Component } from 'vue';
|
|
8
8
|
import { default as Form } from './src/index.vue';
|
|
9
9
|
|
|
@@ -11,6 +11,10 @@ export type PlusFormInstance = InstanceType<typeof Form>;
|
|
|
11
11
|
export * from './src/type';
|
|
12
12
|
export declare const PlusForm: {
|
|
13
13
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: PropType<FieldValues>;
|
|
16
|
+
default: () => {};
|
|
17
|
+
};
|
|
14
18
|
collapseDuration: {
|
|
15
19
|
type: PropType<number>;
|
|
16
20
|
default: undefined;
|
|
@@ -27,10 +31,6 @@ export declare const PlusForm: {
|
|
|
27
31
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
28
32
|
default: boolean;
|
|
29
33
|
};
|
|
30
|
-
modelValue: {
|
|
31
|
-
type: PropType<FieldValues>;
|
|
32
|
-
default: () => {};
|
|
33
|
-
};
|
|
34
34
|
rules: {
|
|
35
35
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
36
36
|
default: () => {};
|
|
@@ -94,7 +94,7 @@ export declare const PlusForm: {
|
|
|
94
94
|
default: boolean;
|
|
95
95
|
};
|
|
96
96
|
footerAlign: {
|
|
97
|
-
type: PropType<"
|
|
97
|
+
type: PropType<"center" | "right" | "left">;
|
|
98
98
|
default: string;
|
|
99
99
|
};
|
|
100
100
|
cardProps: {
|
|
@@ -113,10 +113,10 @@ export declare const PlusForm: {
|
|
|
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
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
118
119
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
119
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
120
120
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
122
122
|
}, {
|
|
@@ -412,6 +412,10 @@ export declare const PlusForm: {
|
|
|
412
412
|
submitError: (errors: unknown) => void;
|
|
413
413
|
validate: (...args: any[]) => void;
|
|
414
414
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
415
|
+
modelValue: {
|
|
416
|
+
type: PropType<FieldValues>;
|
|
417
|
+
default: () => {};
|
|
418
|
+
};
|
|
415
419
|
collapseDuration: {
|
|
416
420
|
type: PropType<number>;
|
|
417
421
|
default: undefined;
|
|
@@ -428,10 +432,6 @@ export declare const PlusForm: {
|
|
|
428
432
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
429
433
|
default: boolean;
|
|
430
434
|
};
|
|
431
|
-
modelValue: {
|
|
432
|
-
type: PropType<FieldValues>;
|
|
433
|
-
default: () => {};
|
|
434
|
-
};
|
|
435
435
|
rules: {
|
|
436
436
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
437
437
|
default: () => {};
|
|
@@ -495,7 +495,7 @@ export declare const PlusForm: {
|
|
|
495
495
|
default: boolean;
|
|
496
496
|
};
|
|
497
497
|
footerAlign: {
|
|
498
|
-
type: PropType<"
|
|
498
|
+
type: PropType<"center" | "right" | "left">;
|
|
499
499
|
default: string;
|
|
500
500
|
};
|
|
501
501
|
cardProps: {
|
|
@@ -514,18 +514,18 @@ export declare const PlusForm: {
|
|
|
514
514
|
default: boolean;
|
|
515
515
|
};
|
|
516
516
|
}>> & {
|
|
517
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
517
518
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
518
519
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
519
520
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
520
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
521
521
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
522
522
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
523
523
|
}, {
|
|
524
|
+
modelValue: FieldValues;
|
|
524
525
|
collapseDuration: number;
|
|
525
526
|
collapseTransition: boolean;
|
|
526
527
|
columns: PlusColumn[];
|
|
527
528
|
group: false | PlusFormGroupRow[];
|
|
528
|
-
modelValue: FieldValues;
|
|
529
529
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
530
530
|
labelPosition: "top" | "right" | "left";
|
|
531
531
|
labelWidth: string | number;
|
|
@@ -546,7 +546,7 @@ export declare const PlusForm: {
|
|
|
546
546
|
submitText: string;
|
|
547
547
|
resetText: string;
|
|
548
548
|
submitLoading: boolean;
|
|
549
|
-
footerAlign: "
|
|
549
|
+
footerAlign: "center" | "right" | "left";
|
|
550
550
|
cardProps: Partial< Mutable<CardProps> & {
|
|
551
551
|
style?: CSSProperties | undefined;
|
|
552
552
|
class?: any;
|
|
@@ -561,6 +561,10 @@ export declare const PlusForm: {
|
|
|
561
561
|
M: {};
|
|
562
562
|
Defaults: {};
|
|
563
563
|
}, Readonly< ExtractPropTypes<{
|
|
564
|
+
modelValue: {
|
|
565
|
+
type: PropType<FieldValues>;
|
|
566
|
+
default: () => {};
|
|
567
|
+
};
|
|
564
568
|
collapseDuration: {
|
|
565
569
|
type: PropType<number>;
|
|
566
570
|
default: undefined;
|
|
@@ -577,10 +581,6 @@ export declare const PlusForm: {
|
|
|
577
581
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
578
582
|
default: boolean;
|
|
579
583
|
};
|
|
580
|
-
modelValue: {
|
|
581
|
-
type: PropType<FieldValues>;
|
|
582
|
-
default: () => {};
|
|
583
|
-
};
|
|
584
584
|
rules: {
|
|
585
585
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
586
586
|
default: () => {};
|
|
@@ -644,7 +644,7 @@ export declare const PlusForm: {
|
|
|
644
644
|
default: boolean;
|
|
645
645
|
};
|
|
646
646
|
footerAlign: {
|
|
647
|
-
type: PropType<"
|
|
647
|
+
type: PropType<"center" | "right" | "left">;
|
|
648
648
|
default: string;
|
|
649
649
|
};
|
|
650
650
|
cardProps: {
|
|
@@ -663,10 +663,10 @@ export declare const PlusForm: {
|
|
|
663
663
|
default: boolean;
|
|
664
664
|
};
|
|
665
665
|
}>> & {
|
|
666
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
666
667
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
667
668
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
668
669
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
669
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
670
670
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
671
671
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
672
672
|
}, {
|
|
@@ -955,11 +955,11 @@ export declare const PlusForm: {
|
|
|
955
955
|
handleSubmit: () => Promise<boolean>;
|
|
956
956
|
handleReset: () => void;
|
|
957
957
|
}, {}, {}, {}, {
|
|
958
|
+
modelValue: FieldValues;
|
|
958
959
|
collapseDuration: number;
|
|
959
960
|
collapseTransition: boolean;
|
|
960
961
|
columns: PlusColumn[];
|
|
961
962
|
group: false | PlusFormGroupRow[];
|
|
962
|
-
modelValue: FieldValues;
|
|
963
963
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
964
964
|
labelPosition: "top" | "right" | "left";
|
|
965
965
|
labelWidth: string | number;
|
|
@@ -980,7 +980,7 @@ export declare const PlusForm: {
|
|
|
980
980
|
submitText: string;
|
|
981
981
|
resetText: string;
|
|
982
982
|
submitLoading: boolean;
|
|
983
|
-
footerAlign: "
|
|
983
|
+
footerAlign: "center" | "right" | "left";
|
|
984
984
|
cardProps: Partial< Mutable<CardProps> & {
|
|
985
985
|
style?: CSSProperties | undefined;
|
|
986
986
|
class?: any;
|
|
@@ -992,6 +992,10 @@ export declare const PlusForm: {
|
|
|
992
992
|
__isTeleport?: undefined;
|
|
993
993
|
__isSuspense?: undefined;
|
|
994
994
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
995
|
+
modelValue: {
|
|
996
|
+
type: PropType<FieldValues>;
|
|
997
|
+
default: () => {};
|
|
998
|
+
};
|
|
995
999
|
collapseDuration: {
|
|
996
1000
|
type: PropType<number>;
|
|
997
1001
|
default: undefined;
|
|
@@ -1008,10 +1012,6 @@ export declare const PlusForm: {
|
|
|
1008
1012
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1009
1013
|
default: boolean;
|
|
1010
1014
|
};
|
|
1011
|
-
modelValue: {
|
|
1012
|
-
type: PropType<FieldValues>;
|
|
1013
|
-
default: () => {};
|
|
1014
|
-
};
|
|
1015
1015
|
rules: {
|
|
1016
1016
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1017
1017
|
default: () => {};
|
|
@@ -1075,7 +1075,7 @@ export declare const PlusForm: {
|
|
|
1075
1075
|
default: boolean;
|
|
1076
1076
|
};
|
|
1077
1077
|
footerAlign: {
|
|
1078
|
-
type: PropType<"
|
|
1078
|
+
type: PropType<"center" | "right" | "left">;
|
|
1079
1079
|
default: string;
|
|
1080
1080
|
};
|
|
1081
1081
|
cardProps: {
|
|
@@ -1094,10 +1094,10 @@ export declare const PlusForm: {
|
|
|
1094
1094
|
default: boolean;
|
|
1095
1095
|
};
|
|
1096
1096
|
}>> & {
|
|
1097
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1097
1098
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1098
1099
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1099
1100
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1100
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1101
1101
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1102
1102
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1103
1103
|
}, {
|
|
@@ -1393,11 +1393,11 @@ export declare const PlusForm: {
|
|
|
1393
1393
|
submitError: (errors: unknown) => void;
|
|
1394
1394
|
validate: (...args: any[]) => void;
|
|
1395
1395
|
}, string, {
|
|
1396
|
+
modelValue: FieldValues;
|
|
1396
1397
|
collapseDuration: number;
|
|
1397
1398
|
collapseTransition: boolean;
|
|
1398
1399
|
columns: PlusColumn[];
|
|
1399
1400
|
group: false | PlusFormGroupRow[];
|
|
1400
|
-
modelValue: FieldValues;
|
|
1401
1401
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1402
1402
|
labelPosition: "top" | "right" | "left";
|
|
1403
1403
|
labelWidth: string | number;
|
|
@@ -1418,7 +1418,7 @@ export declare const PlusForm: {
|
|
|
1418
1418
|
submitText: string;
|
|
1419
1419
|
resetText: string;
|
|
1420
1420
|
submitLoading: boolean;
|
|
1421
|
-
footerAlign: "
|
|
1421
|
+
footerAlign: "center" | "right" | "left";
|
|
1422
1422
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1423
1423
|
style?: CSSProperties | undefined;
|
|
1424
1424
|
class?: any;
|
|
@@ -1438,14 +1438,14 @@ export declare const PlusForm: {
|
|
|
1438
1438
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1439
1439
|
columns?: PlusColumn[] | undefined;
|
|
1440
1440
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1441
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1441
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1442
1442
|
readonly label: string | ComputedRef<string>;
|
|
1443
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1443
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1444
1444
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1445
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1445
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1446
1446
|
style?: CSSProperties | undefined;
|
|
1447
1447
|
class?: any;
|
|
1448
|
-
} & RecordType> | ComputedRef<
|
|
1448
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1449
1449
|
style?: CSSProperties | undefined;
|
|
1450
1450
|
class?: any;
|
|
1451
1451
|
} & RecordType>>;
|
|
@@ -1506,12 +1506,12 @@ export declare const PlusForm: {
|
|
|
1506
1506
|
fieldInstance?: any;
|
|
1507
1507
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1508
1508
|
prop: string;
|
|
1509
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1509
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1510
1510
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1511
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1511
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1512
1512
|
style?: CSSProperties | undefined;
|
|
1513
1513
|
class?: any;
|
|
1514
|
-
} & RecordType> | ComputedRef<
|
|
1514
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1515
1515
|
style?: CSSProperties | undefined;
|
|
1516
1516
|
class?: any;
|
|
1517
1517
|
} & RecordType>>;
|
|
@@ -1534,14 +1534,14 @@ export declare const PlusForm: {
|
|
|
1534
1534
|
clearable: boolean;
|
|
1535
1535
|
index: number;
|
|
1536
1536
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1537
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1537
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1538
1538
|
readonly label: string | ComputedRef<string>;
|
|
1539
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1539
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1540
1540
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1541
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1541
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1542
1542
|
style?: CSSProperties | undefined;
|
|
1543
1543
|
class?: any;
|
|
1544
|
-
} & RecordType> | ComputedRef<
|
|
1544
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1545
1545
|
style?: CSSProperties | undefined;
|
|
1546
1546
|
class?: any;
|
|
1547
1547
|
} & RecordType>>;
|
|
@@ -1602,12 +1602,12 @@ export declare const PlusForm: {
|
|
|
1602
1602
|
fieldInstance?: any;
|
|
1603
1603
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1604
1604
|
prop: string;
|
|
1605
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1605
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1606
1606
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1607
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1607
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1608
1608
|
style?: CSSProperties | undefined;
|
|
1609
1609
|
class?: any;
|
|
1610
|
-
} & RecordType> | ComputedRef<
|
|
1610
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1611
1611
|
style?: CSSProperties | undefined;
|
|
1612
1612
|
class?: any;
|
|
1613
1613
|
} & RecordType>>;
|