yc-pro-components 0.0.11 → 0.0.12
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 +543 -453
- package/es/components/page/src/index.vue.d.ts +185 -155
- 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 +193 -155
- package/es/components/search/src/index.vue.d.ts +56 -50
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- 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 +445 -518
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- 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/es/index.css +1 -1
- package/index.css +9 -5
- package/index.js +23 -7
- package/index.min.css +1 -1
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +23 -7
- 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 +543 -453
- package/lib/components/page/src/index.vue.d.ts +185 -155
- 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 +193 -155
- package/lib/components/search/src/index.vue.d.ts +56 -50
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- 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 +445 -518
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- 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/lib/index.css +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-page.css +1 -1
- package/theme-chalk/src/page.scss +1 -1
|
@@ -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">> & {
|
|
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>>;
|
|
@@ -145,12 +145,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
145
145
|
fieldInstance?: any;
|
|
146
146
|
valueIsReady?: Ref<boolean> | undefined;
|
|
147
147
|
prop: string;
|
|
148
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
148
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
149
149
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
150
|
-
tooltip: string |
|
|
150
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
151
151
|
style?: CSSProperties | undefined;
|
|
152
152
|
class?: any;
|
|
153
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
153
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
154
154
|
style?: CSSProperties | undefined;
|
|
155
155
|
class?: any;
|
|
156
156
|
} & RecordType>>;
|
|
@@ -173,14 +173,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
173
173
|
clearable: boolean;
|
|
174
174
|
index: number;
|
|
175
175
|
}) => any>> & Partial<Record<string, (_: {
|
|
176
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
176
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
177
177
|
readonly label: string | ComputedRef<string>;
|
|
178
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
178
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
179
179
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
180
|
-
readonly tooltip: string |
|
|
180
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
181
181
|
style?: CSSProperties | undefined;
|
|
182
182
|
class?: any;
|
|
183
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
183
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
184
184
|
style?: CSSProperties | undefined;
|
|
185
185
|
class?: any;
|
|
186
186
|
} & RecordType>>;
|
|
@@ -241,12 +241,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
241
241
|
fieldInstance?: any;
|
|
242
242
|
valueIsReady?: Ref<boolean> | undefined;
|
|
243
243
|
prop: string;
|
|
244
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
244
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
245
245
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
246
|
-
tooltip: string |
|
|
246
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
247
247
|
style?: CSSProperties | undefined;
|
|
248
248
|
class?: any;
|
|
249
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
249
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
250
250
|
style?: CSSProperties | undefined;
|
|
251
251
|
class?: any;
|
|
252
252
|
} & RecordType>>;
|
|
@@ -269,14 +269,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
269
269
|
clearable: boolean;
|
|
270
270
|
index: number;
|
|
271
271
|
}) => any>> & Partial<Record<string, (_: {
|
|
272
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
272
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
273
273
|
readonly label: string | ComputedRef<string>;
|
|
274
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
274
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
275
275
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
276
|
-
readonly tooltip: string |
|
|
276
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
277
277
|
style?: CSSProperties | undefined;
|
|
278
278
|
class?: any;
|
|
279
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
279
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
280
280
|
style?: CSSProperties | undefined;
|
|
281
281
|
class?: any;
|
|
282
282
|
} & RecordType>>;
|
|
@@ -337,12 +337,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
337
337
|
fieldInstance?: any;
|
|
338
338
|
valueIsReady?: Ref<boolean> | undefined;
|
|
339
339
|
prop: string;
|
|
340
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
340
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
341
341
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
342
|
-
tooltip: string |
|
|
342
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
343
343
|
style?: CSSProperties | undefined;
|
|
344
344
|
class?: any;
|
|
345
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
345
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
346
346
|
style?: CSSProperties | undefined;
|
|
347
347
|
class?: any;
|
|
348
348
|
} & 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">> & {
|
|
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>>;
|
|
@@ -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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3415
3415
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3416
|
-
tooltip: string |
|
|
3416
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3417
3417
|
style?: CSSProperties | undefined;
|
|
3418
3418
|
class?: any;
|
|
3419
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3419
|
+
} & RecordType> | ComputedRef<string> | 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;
|
|
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">> & {
|
|
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>>;
|
|
@@ -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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1180
1180
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1181
|
-
tooltip: string |
|
|
1181
|
+
tooltip: string | Partial<Mutable< ElTooltipProps> & {
|
|
1182
1182
|
style?: CSSProperties | undefined;
|
|
1183
1183
|
class?: any;
|
|
1184
|
-
} & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
1184
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
1185
1185
|
style?: CSSProperties | undefined;
|
|
1186
1186
|
class?: any;
|
|
1187
1187
|
} & RecordType>>;
|