yc-pro-components 0.0.18 → 0.0.19
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/display-item/src/index.vue2.mjs +18 -5
- 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 +22 -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 +519 -455
- package/es/components/page/src/index.vue.d.ts +198 -203
- package/es/components/page/src/index.vue2.mjs +4 -2
- 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 +73 -54
- package/es/components/table/src/index.vue.d.ts +21 -18
- package/es/components/table/src/index.vue2.mjs +4 -2
- 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/table/src/type.d.ts +9 -0
- 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 +424 -364
- 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/constants/form.d.ts +5 -0
- package/es/constants/form.mjs +2 -1
- package/es/constants/index.mjs +1 -1
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.mjs +1 -1
- package/es/types/plus.d.ts +29 -0
- package/index.js +26 -7
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +26 -8
- 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/display-item/src/index.vue2.js +16 -3
- 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 +22 -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 +519 -455
- package/lib/components/page/src/index.vue.d.ts +198 -203
- package/lib/components/page/src/index.vue2.js +4 -2
- 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 +73 -54
- package/lib/components/table/src/index.vue.d.ts +21 -18
- package/lib/components/table/src/index.vue2.js +3 -1
- 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/table/src/type.d.ts +9 -0
- 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 +424 -364
- 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/constants/form.d.ts +5 -0
- package/lib/constants/form.js +2 -0
- package/lib/constants/index.js +1 -0
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.js +1 -0
- package/lib/types/plus.d.ts +29 -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 { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { 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, DrawerProps, DialogBeforeCloseFn, Translator } from 'element-plus';
|
|
4
4
|
import { Arrayable, EpPropFinalized, EpPropMergeType, SFCWithInstall } from 'element-plus/es/utils';
|
|
5
|
-
import { PlusDialogProps, PlusFormProps,
|
|
5
|
+
import { FieldValues, PlusDialogProps, PlusFormProps, PlusColumn, PlusFormItemProps, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-components';
|
|
6
6
|
import { nextTick, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, CreateComponentPublicInstance, ComponentOptionsMixin, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CSSProperties, Component, ComputedOptions, MethodOptions, DefineComponent, VNode, RendererNode, RendererElement } from 'vue';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -76,25 +76,29 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
76
76
|
$: ComponentInternalInstance;
|
|
77
77
|
$data: {};
|
|
78
78
|
$props: Partial<{
|
|
79
|
+
modelValue: FieldValues;
|
|
79
80
|
dialog: PlusDialogProps;
|
|
80
81
|
form: PlusFormProps;
|
|
81
82
|
visible: boolean;
|
|
82
|
-
modelValue: FieldValues;
|
|
83
83
|
hasErrorTip: boolean;
|
|
84
84
|
}> & Omit<{
|
|
85
|
+
readonly modelValue: FieldValues;
|
|
85
86
|
readonly dialog: PlusDialogProps;
|
|
86
87
|
readonly form: PlusFormProps;
|
|
87
88
|
readonly visible: boolean;
|
|
88
|
-
readonly modelValue: FieldValues;
|
|
89
89
|
readonly hasErrorTip: boolean;
|
|
90
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
90
91
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
91
92
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
92
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
93
93
|
onClose?: (() => any) | undefined;
|
|
94
94
|
onCancel?: (() => any) | undefined;
|
|
95
95
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
96
96
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
97
97
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
98
|
+
modelValue: {
|
|
99
|
+
type: PropType<FieldValues>;
|
|
100
|
+
default: () => {};
|
|
101
|
+
};
|
|
98
102
|
dialog: {
|
|
99
103
|
type: PropType<PlusDialogProps>;
|
|
100
104
|
default: () => {};
|
|
@@ -107,23 +111,19 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
107
111
|
type: PropType<boolean>;
|
|
108
112
|
default: boolean;
|
|
109
113
|
};
|
|
110
|
-
modelValue: {
|
|
111
|
-
type: PropType<FieldValues>;
|
|
112
|
-
default: () => {};
|
|
113
|
-
};
|
|
114
114
|
hasErrorTip: {
|
|
115
115
|
type: PropType<boolean>;
|
|
116
116
|
default: boolean;
|
|
117
117
|
};
|
|
118
118
|
}>> & {
|
|
119
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
119
120
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
120
121
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
121
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
122
122
|
onClose?: (() => any) | undefined;
|
|
123
123
|
onCancel?: (() => any) | undefined;
|
|
124
124
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
125
125
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
126
|
-
}, "
|
|
126
|
+
}, "modelValue" | "dialog" | "form" | "visible" | "hasErrorTip">;
|
|
127
127
|
$attrs: {
|
|
128
128
|
[x: string]: unknown;
|
|
129
129
|
};
|
|
@@ -138,6 +138,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
138
138
|
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "cancel") => void) & ((event: "close") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
139
139
|
$el: any;
|
|
140
140
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
141
|
+
modelValue: {
|
|
142
|
+
type: PropType<FieldValues>;
|
|
143
|
+
default: () => {};
|
|
144
|
+
};
|
|
141
145
|
dialog: {
|
|
142
146
|
type: PropType<PlusDialogProps>;
|
|
143
147
|
default: () => {};
|
|
@@ -150,18 +154,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
150
154
|
type: PropType<boolean>;
|
|
151
155
|
default: boolean;
|
|
152
156
|
};
|
|
153
|
-
modelValue: {
|
|
154
|
-
type: PropType<FieldValues>;
|
|
155
|
-
default: () => {};
|
|
156
|
-
};
|
|
157
157
|
hasErrorTip: {
|
|
158
158
|
type: PropType<boolean>;
|
|
159
159
|
default: boolean;
|
|
160
160
|
};
|
|
161
161
|
}>> & {
|
|
162
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
162
163
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
163
164
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
164
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
165
165
|
onClose?: (() => any) | undefined;
|
|
166
166
|
onCancel?: (() => any) | undefined;
|
|
167
167
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -460,10 +460,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
460
460
|
close: () => void;
|
|
461
461
|
confirmError: (errors: unknown) => void;
|
|
462
462
|
}, string, {
|
|
463
|
+
modelValue: FieldValues;
|
|
463
464
|
dialog: PlusDialogProps;
|
|
464
465
|
form: PlusFormProps;
|
|
465
466
|
visible: boolean;
|
|
466
|
-
modelValue: FieldValues;
|
|
467
467
|
hasErrorTip: boolean;
|
|
468
468
|
}, {}, string, {}> & {
|
|
469
469
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -486,6 +486,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
486
486
|
$nextTick: typeof nextTick;
|
|
487
487
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
488
488
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
489
|
+
modelValue: {
|
|
490
|
+
type: PropType<FieldValues>;
|
|
491
|
+
default: () => {};
|
|
492
|
+
};
|
|
489
493
|
dialog: {
|
|
490
494
|
type: PropType<PlusDialogProps>;
|
|
491
495
|
default: () => {};
|
|
@@ -498,18 +502,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
498
502
|
type: PropType<boolean>;
|
|
499
503
|
default: boolean;
|
|
500
504
|
};
|
|
501
|
-
modelValue: {
|
|
502
|
-
type: PropType<FieldValues>;
|
|
503
|
-
default: () => {};
|
|
504
|
-
};
|
|
505
505
|
hasErrorTip: {
|
|
506
506
|
type: PropType<boolean>;
|
|
507
507
|
default: boolean;
|
|
508
508
|
};
|
|
509
509
|
}>> & {
|
|
510
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
510
511
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
511
512
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
512
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
513
513
|
onClose?: (() => any) | undefined;
|
|
514
514
|
onCancel?: (() => any) | undefined;
|
|
515
515
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -801,14 +801,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
801
801
|
}>>;
|
|
802
802
|
}> & {} & ComponentCustomProperties & {} & {
|
|
803
803
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
804
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
804
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
805
805
|
readonly label: string | ComputedRef<string>;
|
|
806
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
806
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
807
807
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
808
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
808
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
809
809
|
style?: CSSProperties | undefined;
|
|
810
810
|
class?: any;
|
|
811
|
-
} & RecordType> | ComputedRef<
|
|
811
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
812
812
|
style?: CSSProperties | undefined;
|
|
813
813
|
class?: any;
|
|
814
814
|
} & RecordType>>;
|
|
@@ -875,12 +875,12 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
875
875
|
fieldInstance?: any;
|
|
876
876
|
valueIsReady?: Ref<boolean> | undefined;
|
|
877
877
|
prop: string;
|
|
878
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
878
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
879
879
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
880
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
880
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
881
881
|
style?: CSSProperties | undefined;
|
|
882
882
|
class?: any;
|
|
883
|
-
} & RecordType> | ComputedRef<
|
|
883
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
884
884
|
style?: CSSProperties | undefined;
|
|
885
885
|
class?: any;
|
|
886
886
|
} & RecordType>>;
|
|
@@ -929,10 +929,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
929
929
|
$: ComponentInternalInstance;
|
|
930
930
|
$data: {};
|
|
931
931
|
$props: Partial<{
|
|
932
|
-
form: PlusFormProps;
|
|
933
|
-
visible: boolean;
|
|
934
932
|
size: string | number;
|
|
935
933
|
modelValue: FieldValues;
|
|
934
|
+
form: PlusFormProps;
|
|
935
|
+
visible: boolean;
|
|
936
936
|
hasErrorTip: boolean;
|
|
937
937
|
hasFooter: boolean;
|
|
938
938
|
confirmLoading: boolean;
|
|
@@ -943,10 +943,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
943
943
|
class?: any;
|
|
944
944
|
} & RecordType>;
|
|
945
945
|
}> & Omit<{
|
|
946
|
-
readonly form: PlusFormProps;
|
|
947
|
-
readonly visible: boolean;
|
|
948
946
|
readonly size: string | number;
|
|
949
947
|
readonly modelValue: FieldValues;
|
|
948
|
+
readonly form: PlusFormProps;
|
|
949
|
+
readonly visible: boolean;
|
|
950
950
|
readonly hasErrorTip: boolean;
|
|
951
951
|
readonly hasFooter: boolean;
|
|
952
952
|
readonly confirmLoading: boolean;
|
|
@@ -956,21 +956,13 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
956
956
|
style?: CSSProperties | undefined;
|
|
957
957
|
class?: any;
|
|
958
958
|
} & RecordType>;
|
|
959
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
959
960
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
960
961
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
961
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
962
962
|
onCancel?: (() => any) | undefined;
|
|
963
963
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
964
964
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
965
965
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
966
|
-
form: {
|
|
967
|
-
type: PropType<PlusFormProps>;
|
|
968
|
-
default: () => {};
|
|
969
|
-
};
|
|
970
|
-
visible: {
|
|
971
|
-
type: PropType<boolean>;
|
|
972
|
-
default: boolean;
|
|
973
|
-
};
|
|
974
966
|
size: {
|
|
975
967
|
type: PropType<string | number>;
|
|
976
968
|
default: string;
|
|
@@ -979,6 +971,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
979
971
|
type: PropType<FieldValues>;
|
|
980
972
|
default: () => {};
|
|
981
973
|
};
|
|
974
|
+
form: {
|
|
975
|
+
type: PropType<PlusFormProps>;
|
|
976
|
+
default: () => {};
|
|
977
|
+
};
|
|
978
|
+
visible: {
|
|
979
|
+
type: PropType<boolean>;
|
|
980
|
+
default: boolean;
|
|
981
|
+
};
|
|
982
982
|
hasErrorTip: {
|
|
983
983
|
type: PropType<boolean>;
|
|
984
984
|
default: boolean;
|
|
@@ -1007,13 +1007,13 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1007
1007
|
default: () => {};
|
|
1008
1008
|
};
|
|
1009
1009
|
}>> & {
|
|
1010
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1010
1011
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1011
1012
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1012
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1013
1013
|
onCancel?: (() => any) | undefined;
|
|
1014
1014
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1015
1015
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1016
|
-
}, "
|
|
1016
|
+
}, "size" | "modelValue" | "form" | "visible" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
1017
1017
|
$attrs: {
|
|
1018
1018
|
[x: string]: unknown;
|
|
1019
1019
|
};
|
|
@@ -1028,14 +1028,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1028
1028
|
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "cancel") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
1029
1029
|
$el: any;
|
|
1030
1030
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1031
|
-
form: {
|
|
1032
|
-
type: PropType<PlusFormProps>;
|
|
1033
|
-
default: () => {};
|
|
1034
|
-
};
|
|
1035
|
-
visible: {
|
|
1036
|
-
type: PropType<boolean>;
|
|
1037
|
-
default: boolean;
|
|
1038
|
-
};
|
|
1039
1031
|
size: {
|
|
1040
1032
|
type: PropType<string | number>;
|
|
1041
1033
|
default: string;
|
|
@@ -1044,6 +1036,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1044
1036
|
type: PropType<FieldValues>;
|
|
1045
1037
|
default: () => {};
|
|
1046
1038
|
};
|
|
1039
|
+
form: {
|
|
1040
|
+
type: PropType<PlusFormProps>;
|
|
1041
|
+
default: () => {};
|
|
1042
|
+
};
|
|
1043
|
+
visible: {
|
|
1044
|
+
type: PropType<boolean>;
|
|
1045
|
+
default: boolean;
|
|
1046
|
+
};
|
|
1047
1047
|
hasErrorTip: {
|
|
1048
1048
|
type: PropType<boolean>;
|
|
1049
1049
|
default: boolean;
|
|
@@ -1072,9 +1072,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1072
1072
|
default: () => {};
|
|
1073
1073
|
};
|
|
1074
1074
|
}>> & {
|
|
1075
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1075
1076
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1076
1077
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1077
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1078
1078
|
onCancel?: (() => any) | undefined;
|
|
1079
1079
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1080
1080
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -2107,10 +2107,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2107
2107
|
cancel: () => void;
|
|
2108
2108
|
confirmError: (errors: unknown) => void;
|
|
2109
2109
|
}, string, {
|
|
2110
|
-
form: PlusFormProps;
|
|
2111
|
-
visible: boolean;
|
|
2112
2110
|
size: string | number;
|
|
2113
2111
|
modelValue: FieldValues;
|
|
2112
|
+
form: PlusFormProps;
|
|
2113
|
+
visible: boolean;
|
|
2114
2114
|
hasErrorTip: boolean;
|
|
2115
2115
|
hasFooter: boolean;
|
|
2116
2116
|
confirmLoading: boolean;
|
|
@@ -2141,14 +2141,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2141
2141
|
$nextTick: typeof nextTick;
|
|
2142
2142
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2143
2143
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2144
|
-
form: {
|
|
2145
|
-
type: PropType<PlusFormProps>;
|
|
2146
|
-
default: () => {};
|
|
2147
|
-
};
|
|
2148
|
-
visible: {
|
|
2149
|
-
type: PropType<boolean>;
|
|
2150
|
-
default: boolean;
|
|
2151
|
-
};
|
|
2152
2144
|
size: {
|
|
2153
2145
|
type: PropType<string | number>;
|
|
2154
2146
|
default: string;
|
|
@@ -2157,6 +2149,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2157
2149
|
type: PropType<FieldValues>;
|
|
2158
2150
|
default: () => {};
|
|
2159
2151
|
};
|
|
2152
|
+
form: {
|
|
2153
|
+
type: PropType<PlusFormProps>;
|
|
2154
|
+
default: () => {};
|
|
2155
|
+
};
|
|
2156
|
+
visible: {
|
|
2157
|
+
type: PropType<boolean>;
|
|
2158
|
+
default: boolean;
|
|
2159
|
+
};
|
|
2160
2160
|
hasErrorTip: {
|
|
2161
2161
|
type: PropType<boolean>;
|
|
2162
2162
|
default: boolean;
|
|
@@ -2185,9 +2185,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2185
2185
|
default: () => {};
|
|
2186
2186
|
};
|
|
2187
2187
|
}>> & {
|
|
2188
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2188
2189
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2189
2190
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
2190
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2191
2191
|
onCancel?: (() => any) | undefined;
|
|
2192
2192
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
2193
2193
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -3214,14 +3214,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3214
3214
|
}>>;
|
|
3215
3215
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3216
3216
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3217
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
3217
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3218
3218
|
readonly label: string | ComputedRef<string>;
|
|
3219
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3219
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3220
3220
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3221
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3221
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3222
3222
|
style?: CSSProperties | undefined;
|
|
3223
3223
|
class?: any;
|
|
3224
|
-
} & RecordType> | ComputedRef<
|
|
3224
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3225
3225
|
style?: CSSProperties | undefined;
|
|
3226
3226
|
class?: any;
|
|
3227
3227
|
} & RecordType>>;
|
|
@@ -3288,12 +3288,12 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3288
3288
|
fieldInstance?: any;
|
|
3289
3289
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3290
3290
|
prop: string;
|
|
3291
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3291
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3292
3292
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3293
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3293
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3294
3294
|
style?: CSSProperties | undefined;
|
|
3295
3295
|
class?: any;
|
|
3296
|
-
} & RecordType> | ComputedRef<
|
|
3296
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3297
3297
|
style?: CSSProperties | undefined;
|
|
3298
3298
|
class?: any;
|
|
3299
3299
|
} & RecordType>>;
|
|
@@ -3364,25 +3364,29 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3364
3364
|
$: ComponentInternalInstance;
|
|
3365
3365
|
$data: {};
|
|
3366
3366
|
$props: Partial<{
|
|
3367
|
+
modelValue: FieldValues;
|
|
3367
3368
|
dialog: PlusDialogProps;
|
|
3368
3369
|
form: PlusFormProps;
|
|
3369
3370
|
visible: boolean;
|
|
3370
|
-
modelValue: FieldValues;
|
|
3371
3371
|
hasErrorTip: boolean;
|
|
3372
3372
|
}> & Omit<{
|
|
3373
|
+
readonly modelValue: FieldValues;
|
|
3373
3374
|
readonly dialog: PlusDialogProps;
|
|
3374
3375
|
readonly form: PlusFormProps;
|
|
3375
3376
|
readonly visible: boolean;
|
|
3376
|
-
readonly modelValue: FieldValues;
|
|
3377
3377
|
readonly hasErrorTip: boolean;
|
|
3378
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3378
3379
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3379
3380
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3380
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3381
3381
|
onClose?: (() => any) | undefined;
|
|
3382
3382
|
onCancel?: (() => any) | undefined;
|
|
3383
3383
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3384
3384
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3385
3385
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3386
|
+
modelValue: {
|
|
3387
|
+
type: PropType<FieldValues>;
|
|
3388
|
+
default: () => {};
|
|
3389
|
+
};
|
|
3386
3390
|
dialog: {
|
|
3387
3391
|
type: PropType<PlusDialogProps>;
|
|
3388
3392
|
default: () => {};
|
|
@@ -3395,23 +3399,19 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3395
3399
|
type: PropType<boolean>;
|
|
3396
3400
|
default: boolean;
|
|
3397
3401
|
};
|
|
3398
|
-
modelValue: {
|
|
3399
|
-
type: PropType<FieldValues>;
|
|
3400
|
-
default: () => {};
|
|
3401
|
-
};
|
|
3402
3402
|
hasErrorTip: {
|
|
3403
3403
|
type: PropType<boolean>;
|
|
3404
3404
|
default: boolean;
|
|
3405
3405
|
};
|
|
3406
3406
|
}>> & {
|
|
3407
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3407
3408
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3408
3409
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3409
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3410
3410
|
onClose?: (() => any) | undefined;
|
|
3411
3411
|
onCancel?: (() => any) | undefined;
|
|
3412
3412
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3413
3413
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3414
|
-
}, "
|
|
3414
|
+
}, "modelValue" | "dialog" | "form" | "visible" | "hasErrorTip">;
|
|
3415
3415
|
$attrs: {
|
|
3416
3416
|
[x: string]: unknown;
|
|
3417
3417
|
};
|
|
@@ -3426,6 +3426,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3426
3426
|
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "cancel") => void) & ((event: "close") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
3427
3427
|
$el: any;
|
|
3428
3428
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3429
|
+
modelValue: {
|
|
3430
|
+
type: PropType<FieldValues>;
|
|
3431
|
+
default: () => {};
|
|
3432
|
+
};
|
|
3429
3433
|
dialog: {
|
|
3430
3434
|
type: PropType<PlusDialogProps>;
|
|
3431
3435
|
default: () => {};
|
|
@@ -3438,18 +3442,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3438
3442
|
type: PropType<boolean>;
|
|
3439
3443
|
default: boolean;
|
|
3440
3444
|
};
|
|
3441
|
-
modelValue: {
|
|
3442
|
-
type: PropType<FieldValues>;
|
|
3443
|
-
default: () => {};
|
|
3444
|
-
};
|
|
3445
3445
|
hasErrorTip: {
|
|
3446
3446
|
type: PropType<boolean>;
|
|
3447
3447
|
default: boolean;
|
|
3448
3448
|
};
|
|
3449
3449
|
}>> & {
|
|
3450
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3450
3451
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3451
3452
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3452
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3453
3453
|
onClose?: (() => any) | undefined;
|
|
3454
3454
|
onCancel?: (() => any) | undefined;
|
|
3455
3455
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -3748,10 +3748,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3748
3748
|
close: () => void;
|
|
3749
3749
|
confirmError: (errors: unknown) => void;
|
|
3750
3750
|
}, string, {
|
|
3751
|
+
modelValue: FieldValues;
|
|
3751
3752
|
dialog: PlusDialogProps;
|
|
3752
3753
|
form: PlusFormProps;
|
|
3753
3754
|
visible: boolean;
|
|
3754
|
-
modelValue: FieldValues;
|
|
3755
3755
|
hasErrorTip: boolean;
|
|
3756
3756
|
}, {}, string, {}> & {
|
|
3757
3757
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -3774,6 +3774,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3774
3774
|
$nextTick: typeof nextTick;
|
|
3775
3775
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
3776
3776
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
3777
|
+
modelValue: {
|
|
3778
|
+
type: PropType<FieldValues>;
|
|
3779
|
+
default: () => {};
|
|
3780
|
+
};
|
|
3777
3781
|
dialog: {
|
|
3778
3782
|
type: PropType<PlusDialogProps>;
|
|
3779
3783
|
default: () => {};
|
|
@@ -3786,18 +3790,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3786
3790
|
type: PropType<boolean>;
|
|
3787
3791
|
default: boolean;
|
|
3788
3792
|
};
|
|
3789
|
-
modelValue: {
|
|
3790
|
-
type: PropType<FieldValues>;
|
|
3791
|
-
default: () => {};
|
|
3792
|
-
};
|
|
3793
3793
|
hasErrorTip: {
|
|
3794
3794
|
type: PropType<boolean>;
|
|
3795
3795
|
default: boolean;
|
|
3796
3796
|
};
|
|
3797
3797
|
}>> & {
|
|
3798
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3798
3799
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3799
3800
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3800
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3801
3801
|
onClose?: (() => any) | undefined;
|
|
3802
3802
|
onCancel?: (() => any) | undefined;
|
|
3803
3803
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -4089,14 +4089,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4089
4089
|
}>>;
|
|
4090
4090
|
}> & {} & ComponentCustomProperties & {} & {
|
|
4091
4091
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
4092
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
4092
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4093
4093
|
readonly label: string | ComputedRef<string>;
|
|
4094
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4094
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4095
4095
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4096
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4096
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4097
4097
|
style?: CSSProperties | undefined;
|
|
4098
4098
|
class?: any;
|
|
4099
|
-
} & RecordType> | ComputedRef<
|
|
4099
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4100
4100
|
style?: CSSProperties | undefined;
|
|
4101
4101
|
class?: any;
|
|
4102
4102
|
} & RecordType>>;
|
|
@@ -4163,12 +4163,12 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4163
4163
|
fieldInstance?: any;
|
|
4164
4164
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4165
4165
|
prop: string;
|
|
4166
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4166
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4167
4167
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4168
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4168
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4169
4169
|
style?: CSSProperties | undefined;
|
|
4170
4170
|
class?: any;
|
|
4171
|
-
} & RecordType> | ComputedRef<
|
|
4171
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4172
4172
|
style?: CSSProperties | undefined;
|
|
4173
4173
|
class?: any;
|
|
4174
4174
|
} & RecordType>>;
|
|
@@ -4217,10 +4217,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4217
4217
|
$: ComponentInternalInstance;
|
|
4218
4218
|
$data: {};
|
|
4219
4219
|
$props: Partial<{
|
|
4220
|
-
form: PlusFormProps;
|
|
4221
|
-
visible: boolean;
|
|
4222
4220
|
size: string | number;
|
|
4223
4221
|
modelValue: FieldValues;
|
|
4222
|
+
form: PlusFormProps;
|
|
4223
|
+
visible: boolean;
|
|
4224
4224
|
hasErrorTip: boolean;
|
|
4225
4225
|
hasFooter: boolean;
|
|
4226
4226
|
confirmLoading: boolean;
|
|
@@ -4231,10 +4231,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4231
4231
|
class?: any;
|
|
4232
4232
|
} & RecordType>;
|
|
4233
4233
|
}> & Omit<{
|
|
4234
|
-
readonly form: PlusFormProps;
|
|
4235
|
-
readonly visible: boolean;
|
|
4236
4234
|
readonly size: string | number;
|
|
4237
4235
|
readonly modelValue: FieldValues;
|
|
4236
|
+
readonly form: PlusFormProps;
|
|
4237
|
+
readonly visible: boolean;
|
|
4238
4238
|
readonly hasErrorTip: boolean;
|
|
4239
4239
|
readonly hasFooter: boolean;
|
|
4240
4240
|
readonly confirmLoading: boolean;
|
|
@@ -4244,21 +4244,13 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4244
4244
|
style?: CSSProperties | undefined;
|
|
4245
4245
|
class?: any;
|
|
4246
4246
|
} & RecordType>;
|
|
4247
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4247
4248
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4248
4249
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
4249
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4250
4250
|
onCancel?: (() => any) | undefined;
|
|
4251
4251
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
4252
4252
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
4253
4253
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
4254
|
-
form: {
|
|
4255
|
-
type: PropType<PlusFormProps>;
|
|
4256
|
-
default: () => {};
|
|
4257
|
-
};
|
|
4258
|
-
visible: {
|
|
4259
|
-
type: PropType<boolean>;
|
|
4260
|
-
default: boolean;
|
|
4261
|
-
};
|
|
4262
4254
|
size: {
|
|
4263
4255
|
type: PropType<string | number>;
|
|
4264
4256
|
default: string;
|
|
@@ -4267,6 +4259,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4267
4259
|
type: PropType<FieldValues>;
|
|
4268
4260
|
default: () => {};
|
|
4269
4261
|
};
|
|
4262
|
+
form: {
|
|
4263
|
+
type: PropType<PlusFormProps>;
|
|
4264
|
+
default: () => {};
|
|
4265
|
+
};
|
|
4266
|
+
visible: {
|
|
4267
|
+
type: PropType<boolean>;
|
|
4268
|
+
default: boolean;
|
|
4269
|
+
};
|
|
4270
4270
|
hasErrorTip: {
|
|
4271
4271
|
type: PropType<boolean>;
|
|
4272
4272
|
default: boolean;
|
|
@@ -4295,13 +4295,13 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4295
4295
|
default: () => {};
|
|
4296
4296
|
};
|
|
4297
4297
|
}>> & {
|
|
4298
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4298
4299
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4299
4300
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
4300
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4301
4301
|
onCancel?: (() => any) | undefined;
|
|
4302
4302
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
4303
4303
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
4304
|
-
}, "
|
|
4304
|
+
}, "size" | "modelValue" | "form" | "visible" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
4305
4305
|
$attrs: {
|
|
4306
4306
|
[x: string]: unknown;
|
|
4307
4307
|
};
|
|
@@ -4316,14 +4316,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4316
4316
|
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "cancel") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
4317
4317
|
$el: any;
|
|
4318
4318
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4319
|
-
form: {
|
|
4320
|
-
type: PropType<PlusFormProps>;
|
|
4321
|
-
default: () => {};
|
|
4322
|
-
};
|
|
4323
|
-
visible: {
|
|
4324
|
-
type: PropType<boolean>;
|
|
4325
|
-
default: boolean;
|
|
4326
|
-
};
|
|
4327
4319
|
size: {
|
|
4328
4320
|
type: PropType<string | number>;
|
|
4329
4321
|
default: string;
|
|
@@ -4332,6 +4324,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4332
4324
|
type: PropType<FieldValues>;
|
|
4333
4325
|
default: () => {};
|
|
4334
4326
|
};
|
|
4327
|
+
form: {
|
|
4328
|
+
type: PropType<PlusFormProps>;
|
|
4329
|
+
default: () => {};
|
|
4330
|
+
};
|
|
4331
|
+
visible: {
|
|
4332
|
+
type: PropType<boolean>;
|
|
4333
|
+
default: boolean;
|
|
4334
|
+
};
|
|
4335
4335
|
hasErrorTip: {
|
|
4336
4336
|
type: PropType<boolean>;
|
|
4337
4337
|
default: boolean;
|
|
@@ -4360,9 +4360,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4360
4360
|
default: () => {};
|
|
4361
4361
|
};
|
|
4362
4362
|
}>> & {
|
|
4363
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4363
4364
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4364
4365
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
4365
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4366
4366
|
onCancel?: (() => any) | undefined;
|
|
4367
4367
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
4368
4368
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -5395,10 +5395,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5395
5395
|
cancel: () => void;
|
|
5396
5396
|
confirmError: (errors: unknown) => void;
|
|
5397
5397
|
}, string, {
|
|
5398
|
-
form: PlusFormProps;
|
|
5399
|
-
visible: boolean;
|
|
5400
5398
|
size: string | number;
|
|
5401
5399
|
modelValue: FieldValues;
|
|
5400
|
+
form: PlusFormProps;
|
|
5401
|
+
visible: boolean;
|
|
5402
5402
|
hasErrorTip: boolean;
|
|
5403
5403
|
hasFooter: boolean;
|
|
5404
5404
|
confirmLoading: boolean;
|
|
@@ -5429,14 +5429,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5429
5429
|
$nextTick: typeof nextTick;
|
|
5430
5430
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
5431
5431
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
5432
|
-
form: {
|
|
5433
|
-
type: PropType<PlusFormProps>;
|
|
5434
|
-
default: () => {};
|
|
5435
|
-
};
|
|
5436
|
-
visible: {
|
|
5437
|
-
type: PropType<boolean>;
|
|
5438
|
-
default: boolean;
|
|
5439
|
-
};
|
|
5440
5432
|
size: {
|
|
5441
5433
|
type: PropType<string | number>;
|
|
5442
5434
|
default: string;
|
|
@@ -5445,6 +5437,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5445
5437
|
type: PropType<FieldValues>;
|
|
5446
5438
|
default: () => {};
|
|
5447
5439
|
};
|
|
5440
|
+
form: {
|
|
5441
|
+
type: PropType<PlusFormProps>;
|
|
5442
|
+
default: () => {};
|
|
5443
|
+
};
|
|
5444
|
+
visible: {
|
|
5445
|
+
type: PropType<boolean>;
|
|
5446
|
+
default: boolean;
|
|
5447
|
+
};
|
|
5448
5448
|
hasErrorTip: {
|
|
5449
5449
|
type: PropType<boolean>;
|
|
5450
5450
|
default: boolean;
|
|
@@ -5473,9 +5473,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5473
5473
|
default: () => {};
|
|
5474
5474
|
};
|
|
5475
5475
|
}>> & {
|
|
5476
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5476
5477
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5477
5478
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
5478
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5479
5479
|
onCancel?: (() => any) | undefined;
|
|
5480
5480
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
5481
5481
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -6502,14 +6502,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6502
6502
|
}>>;
|
|
6503
6503
|
}> & {} & ComponentCustomProperties & {} & {
|
|
6504
6504
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
6505
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
6505
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
6506
6506
|
readonly label: string | ComputedRef<string>;
|
|
6507
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
6507
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
6508
6508
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
6509
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
6509
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
6510
6510
|
style?: CSSProperties | undefined;
|
|
6511
6511
|
class?: any;
|
|
6512
|
-
} & RecordType> | ComputedRef<
|
|
6512
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6513
6513
|
style?: CSSProperties | undefined;
|
|
6514
6514
|
class?: any;
|
|
6515
6515
|
} & RecordType>>;
|
|
@@ -6576,12 +6576,12 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6576
6576
|
fieldInstance?: any;
|
|
6577
6577
|
valueIsReady?: Ref<boolean> | undefined;
|
|
6578
6578
|
prop: string;
|
|
6579
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
6579
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
6580
6580
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
6581
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
6581
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
6582
6582
|
style?: CSSProperties | undefined;
|
|
6583
6583
|
class?: any;
|
|
6584
|
-
} & RecordType> | ComputedRef<
|
|
6584
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6585
6585
|
style?: CSSProperties | undefined;
|
|
6586
6586
|
class?: any;
|
|
6587
6587
|
} & RecordType>>;
|
|
@@ -6654,25 +6654,29 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6654
6654
|
$: ComponentInternalInstance;
|
|
6655
6655
|
$data: {};
|
|
6656
6656
|
$props: Partial<{
|
|
6657
|
+
modelValue: FieldValues;
|
|
6657
6658
|
dialog: PlusDialogProps;
|
|
6658
6659
|
form: PlusFormProps;
|
|
6659
6660
|
visible: boolean;
|
|
6660
|
-
modelValue: FieldValues;
|
|
6661
6661
|
hasErrorTip: boolean;
|
|
6662
6662
|
}> & Omit<{
|
|
6663
|
+
readonly modelValue: FieldValues;
|
|
6663
6664
|
readonly dialog: PlusDialogProps;
|
|
6664
6665
|
readonly form: PlusFormProps;
|
|
6665
6666
|
readonly visible: boolean;
|
|
6666
|
-
readonly modelValue: FieldValues;
|
|
6667
6667
|
readonly hasErrorTip: boolean;
|
|
6668
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
6668
6669
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
6669
6670
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
6670
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
6671
6671
|
onClose?: (() => any) | undefined;
|
|
6672
6672
|
onCancel?: (() => any) | undefined;
|
|
6673
6673
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
6674
6674
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
6675
6675
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
6676
|
+
modelValue: {
|
|
6677
|
+
type: PropType<FieldValues>;
|
|
6678
|
+
default: () => {};
|
|
6679
|
+
};
|
|
6676
6680
|
dialog: {
|
|
6677
6681
|
type: PropType<PlusDialogProps>;
|
|
6678
6682
|
default: () => {};
|
|
@@ -6685,23 +6689,19 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6685
6689
|
type: PropType<boolean>;
|
|
6686
6690
|
default: boolean;
|
|
6687
6691
|
};
|
|
6688
|
-
modelValue: {
|
|
6689
|
-
type: PropType<FieldValues>;
|
|
6690
|
-
default: () => {};
|
|
6691
|
-
};
|
|
6692
6692
|
hasErrorTip: {
|
|
6693
6693
|
type: PropType<boolean>;
|
|
6694
6694
|
default: boolean;
|
|
6695
6695
|
};
|
|
6696
6696
|
}>> & {
|
|
6697
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
6697
6698
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
6698
6699
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
6699
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
6700
6700
|
onClose?: (() => any) | undefined;
|
|
6701
6701
|
onCancel?: (() => any) | undefined;
|
|
6702
6702
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
6703
6703
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
6704
|
-
}, "
|
|
6704
|
+
}, "modelValue" | "dialog" | "form" | "visible" | "hasErrorTip">;
|
|
6705
6705
|
$attrs: {
|
|
6706
6706
|
[x: string]: unknown;
|
|
6707
6707
|
};
|
|
@@ -6716,6 +6716,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6716
6716
|
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "cancel") => void) & ((event: "close") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
6717
6717
|
$el: any;
|
|
6718
6718
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
6719
|
+
modelValue: {
|
|
6720
|
+
type: PropType<FieldValues>;
|
|
6721
|
+
default: () => {};
|
|
6722
|
+
};
|
|
6719
6723
|
dialog: {
|
|
6720
6724
|
type: PropType<PlusDialogProps>;
|
|
6721
6725
|
default: () => {};
|
|
@@ -6728,18 +6732,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6728
6732
|
type: PropType<boolean>;
|
|
6729
6733
|
default: boolean;
|
|
6730
6734
|
};
|
|
6731
|
-
modelValue: {
|
|
6732
|
-
type: PropType<FieldValues>;
|
|
6733
|
-
default: () => {};
|
|
6734
|
-
};
|
|
6735
6735
|
hasErrorTip: {
|
|
6736
6736
|
type: PropType<boolean>;
|
|
6737
6737
|
default: boolean;
|
|
6738
6738
|
};
|
|
6739
6739
|
}>> & {
|
|
6740
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
6740
6741
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
6741
6742
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
6742
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
6743
6743
|
onClose?: (() => any) | undefined;
|
|
6744
6744
|
onCancel?: (() => any) | undefined;
|
|
6745
6745
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -7038,10 +7038,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7038
7038
|
close: () => void;
|
|
7039
7039
|
confirmError: (errors: unknown) => void;
|
|
7040
7040
|
}, string, {
|
|
7041
|
+
modelValue: FieldValues;
|
|
7041
7042
|
dialog: PlusDialogProps;
|
|
7042
7043
|
form: PlusFormProps;
|
|
7043
7044
|
visible: boolean;
|
|
7044
|
-
modelValue: FieldValues;
|
|
7045
7045
|
hasErrorTip: boolean;
|
|
7046
7046
|
}, {}, string, {}> & {
|
|
7047
7047
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -7064,6 +7064,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7064
7064
|
$nextTick: typeof nextTick;
|
|
7065
7065
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
7066
7066
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
7067
|
+
modelValue: {
|
|
7068
|
+
type: PropType<FieldValues>;
|
|
7069
|
+
default: () => {};
|
|
7070
|
+
};
|
|
7067
7071
|
dialog: {
|
|
7068
7072
|
type: PropType<PlusDialogProps>;
|
|
7069
7073
|
default: () => {};
|
|
@@ -7076,18 +7080,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7076
7080
|
type: PropType<boolean>;
|
|
7077
7081
|
default: boolean;
|
|
7078
7082
|
};
|
|
7079
|
-
modelValue: {
|
|
7080
|
-
type: PropType<FieldValues>;
|
|
7081
|
-
default: () => {};
|
|
7082
|
-
};
|
|
7083
7083
|
hasErrorTip: {
|
|
7084
7084
|
type: PropType<boolean>;
|
|
7085
7085
|
default: boolean;
|
|
7086
7086
|
};
|
|
7087
7087
|
}>> & {
|
|
7088
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7088
7089
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7089
7090
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
7090
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7091
7091
|
onClose?: (() => any) | undefined;
|
|
7092
7092
|
onCancel?: (() => any) | undefined;
|
|
7093
7093
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -7379,14 +7379,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7379
7379
|
}>>;
|
|
7380
7380
|
}> & {} & ComponentCustomProperties & {} & {
|
|
7381
7381
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
7382
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
7382
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
7383
7383
|
readonly label: string | ComputedRef<string>;
|
|
7384
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
7384
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7385
7385
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7386
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7386
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7387
7387
|
style?: CSSProperties | undefined;
|
|
7388
7388
|
class?: any;
|
|
7389
|
-
} & RecordType> | ComputedRef<
|
|
7389
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7390
7390
|
style?: CSSProperties | undefined;
|
|
7391
7391
|
class?: any;
|
|
7392
7392
|
} & RecordType>>;
|
|
@@ -7453,12 +7453,12 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7453
7453
|
fieldInstance?: any;
|
|
7454
7454
|
valueIsReady?: Ref<boolean> | undefined;
|
|
7455
7455
|
prop: string;
|
|
7456
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
7456
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7457
7457
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7458
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7458
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7459
7459
|
style?: CSSProperties | undefined;
|
|
7460
7460
|
class?: any;
|
|
7461
|
-
} & RecordType> | ComputedRef<
|
|
7461
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7462
7462
|
style?: CSSProperties | undefined;
|
|
7463
7463
|
class?: any;
|
|
7464
7464
|
} & RecordType>>;
|
|
@@ -7507,10 +7507,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7507
7507
|
$: ComponentInternalInstance;
|
|
7508
7508
|
$data: {};
|
|
7509
7509
|
$props: Partial<{
|
|
7510
|
-
form: PlusFormProps;
|
|
7511
|
-
visible: boolean;
|
|
7512
7510
|
size: string | number;
|
|
7513
7511
|
modelValue: FieldValues;
|
|
7512
|
+
form: PlusFormProps;
|
|
7513
|
+
visible: boolean;
|
|
7514
7514
|
hasErrorTip: boolean;
|
|
7515
7515
|
hasFooter: boolean;
|
|
7516
7516
|
confirmLoading: boolean;
|
|
@@ -7521,10 +7521,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7521
7521
|
class?: any;
|
|
7522
7522
|
} & RecordType>;
|
|
7523
7523
|
}> & Omit<{
|
|
7524
|
-
readonly form: PlusFormProps;
|
|
7525
|
-
readonly visible: boolean;
|
|
7526
7524
|
readonly size: string | number;
|
|
7527
7525
|
readonly modelValue: FieldValues;
|
|
7526
|
+
readonly form: PlusFormProps;
|
|
7527
|
+
readonly visible: boolean;
|
|
7528
7528
|
readonly hasErrorTip: boolean;
|
|
7529
7529
|
readonly hasFooter: boolean;
|
|
7530
7530
|
readonly confirmLoading: boolean;
|
|
@@ -7534,21 +7534,13 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7534
7534
|
style?: CSSProperties | undefined;
|
|
7535
7535
|
class?: any;
|
|
7536
7536
|
} & RecordType>;
|
|
7537
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7537
7538
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7538
7539
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
7539
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7540
7540
|
onCancel?: (() => any) | undefined;
|
|
7541
7541
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
7542
7542
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
7543
7543
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
7544
|
-
form: {
|
|
7545
|
-
type: PropType<PlusFormProps>;
|
|
7546
|
-
default: () => {};
|
|
7547
|
-
};
|
|
7548
|
-
visible: {
|
|
7549
|
-
type: PropType<boolean>;
|
|
7550
|
-
default: boolean;
|
|
7551
|
-
};
|
|
7552
7544
|
size: {
|
|
7553
7545
|
type: PropType<string | number>;
|
|
7554
7546
|
default: string;
|
|
@@ -7557,6 +7549,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7557
7549
|
type: PropType<FieldValues>;
|
|
7558
7550
|
default: () => {};
|
|
7559
7551
|
};
|
|
7552
|
+
form: {
|
|
7553
|
+
type: PropType<PlusFormProps>;
|
|
7554
|
+
default: () => {};
|
|
7555
|
+
};
|
|
7556
|
+
visible: {
|
|
7557
|
+
type: PropType<boolean>;
|
|
7558
|
+
default: boolean;
|
|
7559
|
+
};
|
|
7560
7560
|
hasErrorTip: {
|
|
7561
7561
|
type: PropType<boolean>;
|
|
7562
7562
|
default: boolean;
|
|
@@ -7585,13 +7585,13 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7585
7585
|
default: () => {};
|
|
7586
7586
|
};
|
|
7587
7587
|
}>> & {
|
|
7588
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7588
7589
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7589
7590
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
7590
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7591
7591
|
onCancel?: (() => any) | undefined;
|
|
7592
7592
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
7593
7593
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
7594
|
-
}, "
|
|
7594
|
+
}, "size" | "modelValue" | "form" | "visible" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
7595
7595
|
$attrs: {
|
|
7596
7596
|
[x: string]: unknown;
|
|
7597
7597
|
};
|
|
@@ -7606,14 +7606,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7606
7606
|
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "cancel") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
7607
7607
|
$el: any;
|
|
7608
7608
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
7609
|
-
form: {
|
|
7610
|
-
type: PropType<PlusFormProps>;
|
|
7611
|
-
default: () => {};
|
|
7612
|
-
};
|
|
7613
|
-
visible: {
|
|
7614
|
-
type: PropType<boolean>;
|
|
7615
|
-
default: boolean;
|
|
7616
|
-
};
|
|
7617
7609
|
size: {
|
|
7618
7610
|
type: PropType<string | number>;
|
|
7619
7611
|
default: string;
|
|
@@ -7622,6 +7614,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7622
7614
|
type: PropType<FieldValues>;
|
|
7623
7615
|
default: () => {};
|
|
7624
7616
|
};
|
|
7617
|
+
form: {
|
|
7618
|
+
type: PropType<PlusFormProps>;
|
|
7619
|
+
default: () => {};
|
|
7620
|
+
};
|
|
7621
|
+
visible: {
|
|
7622
|
+
type: PropType<boolean>;
|
|
7623
|
+
default: boolean;
|
|
7624
|
+
};
|
|
7625
7625
|
hasErrorTip: {
|
|
7626
7626
|
type: PropType<boolean>;
|
|
7627
7627
|
default: boolean;
|
|
@@ -7650,9 +7650,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7650
7650
|
default: () => {};
|
|
7651
7651
|
};
|
|
7652
7652
|
}>> & {
|
|
7653
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7653
7654
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7654
7655
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
7655
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7656
7656
|
onCancel?: (() => any) | undefined;
|
|
7657
7657
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
7658
7658
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -8685,10 +8685,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8685
8685
|
cancel: () => void;
|
|
8686
8686
|
confirmError: (errors: unknown) => void;
|
|
8687
8687
|
}, string, {
|
|
8688
|
-
form: PlusFormProps;
|
|
8689
|
-
visible: boolean;
|
|
8690
8688
|
size: string | number;
|
|
8691
8689
|
modelValue: FieldValues;
|
|
8690
|
+
form: PlusFormProps;
|
|
8691
|
+
visible: boolean;
|
|
8692
8692
|
hasErrorTip: boolean;
|
|
8693
8693
|
hasFooter: boolean;
|
|
8694
8694
|
confirmLoading: boolean;
|
|
@@ -8719,14 +8719,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8719
8719
|
$nextTick: typeof nextTick;
|
|
8720
8720
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
8721
8721
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
8722
|
-
form: {
|
|
8723
|
-
type: PropType<PlusFormProps>;
|
|
8724
|
-
default: () => {};
|
|
8725
|
-
};
|
|
8726
|
-
visible: {
|
|
8727
|
-
type: PropType<boolean>;
|
|
8728
|
-
default: boolean;
|
|
8729
|
-
};
|
|
8730
8722
|
size: {
|
|
8731
8723
|
type: PropType<string | number>;
|
|
8732
8724
|
default: string;
|
|
@@ -8735,6 +8727,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8735
8727
|
type: PropType<FieldValues>;
|
|
8736
8728
|
default: () => {};
|
|
8737
8729
|
};
|
|
8730
|
+
form: {
|
|
8731
|
+
type: PropType<PlusFormProps>;
|
|
8732
|
+
default: () => {};
|
|
8733
|
+
};
|
|
8734
|
+
visible: {
|
|
8735
|
+
type: PropType<boolean>;
|
|
8736
|
+
default: boolean;
|
|
8737
|
+
};
|
|
8738
8738
|
hasErrorTip: {
|
|
8739
8739
|
type: PropType<boolean>;
|
|
8740
8740
|
default: boolean;
|
|
@@ -8763,9 +8763,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8763
8763
|
default: () => {};
|
|
8764
8764
|
};
|
|
8765
8765
|
}>> & {
|
|
8766
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
8766
8767
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
8767
8768
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
8768
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
8769
8769
|
onCancel?: (() => any) | undefined;
|
|
8770
8770
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
8771
8771
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -9792,14 +9792,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9792
9792
|
}>>;
|
|
9793
9793
|
}> & {} & ComponentCustomProperties & {} & {
|
|
9794
9794
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
9795
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
9795
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
9796
9796
|
readonly label: string | ComputedRef<string>;
|
|
9797
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
9797
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
9798
9798
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
9799
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
9799
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
9800
9800
|
style?: CSSProperties | undefined;
|
|
9801
9801
|
class?: any;
|
|
9802
|
-
} & RecordType> | ComputedRef<
|
|
9802
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
9803
9803
|
style?: CSSProperties | undefined;
|
|
9804
9804
|
class?: any;
|
|
9805
9805
|
} & RecordType>>;
|
|
@@ -9866,12 +9866,12 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9866
9866
|
fieldInstance?: any;
|
|
9867
9867
|
valueIsReady?: Ref<boolean> | undefined;
|
|
9868
9868
|
prop: string;
|
|
9869
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
9869
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
9870
9870
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
9871
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
9871
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
9872
9872
|
style?: CSSProperties | undefined;
|
|
9873
9873
|
class?: any;
|
|
9874
|
-
} & RecordType> | ComputedRef<
|
|
9874
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
9875
9875
|
style?: CSSProperties | undefined;
|
|
9876
9876
|
class?: any;
|
|
9877
9877
|
} & RecordType>>;
|