yc-pro-components 0.0.50 → 0.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +20 -20
- package/es/components/date-picker/src/index.vue.d.ts +12 -12
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +65 -65
- package/es/components/drawer-form/src/index.vue.d.ts +15 -15
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +48 -48
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +344 -344
- package/es/components/page/src/index.vue.d.ts +118 -118
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +154 -154
- package/es/components/search/src/index.vue.d.ts +50 -50
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +235 -235
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/defaults.mjs +4 -1
- package/es/directives/dist/index.mjs +14 -0
- package/es/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +8 -8
- package/es/index.d.ts +1 -0
- package/es/index.mjs +1 -0
- package/es/make-installer.d.ts +7 -2
- package/es/make-installer.mjs +7 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/index.d.ts +1 -0
- package/es/yc-components/make-installer.d.ts +7 -2
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +28 -9
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +25 -6
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +20 -20
- package/lib/components/date-picker/src/index.vue.d.ts +12 -12
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +65 -65
- package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +48 -48
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +344 -344
- package/lib/components/page/src/index.vue.d.ts +118 -118
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +154 -154
- package/lib/components/search/src/index.vue.d.ts +50 -50
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +235 -235
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/defaults.js +4 -1
- package/lib/directives/dist/index.js +16 -0
- package/lib/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +9 -9
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -0
- package/lib/make-installer.d.ts +7 -2
- package/lib/make-installer.js +7 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/index.d.ts +1 -0
- package/lib/yc-components/make-installer.d.ts +7 -2
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LooseRequired } from '@vue/shared';
|
|
2
2
|
import { Arrayable, EpPropMergeType } from 'element-plus/es/utils';
|
|
3
3
|
import { RowProps, ColProps, FormItemRule, CardProps, FormInstance, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
|
-
import {
|
|
4
|
+
import { FieldValues, PlusColumn, Mutable, RecordType, PlusFormGroupRow, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
5
5
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Component, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ComputedRef } from 'vue';
|
|
6
6
|
import { default as Search } from './src/index.vue';
|
|
7
7
|
|
|
@@ -9,6 +9,10 @@ export type PlusSearchInstance = InstanceType<typeof Search>;
|
|
|
9
9
|
export * from './src/type';
|
|
10
10
|
export declare const PlusSearch: {
|
|
11
11
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: PropType<FieldValues>;
|
|
14
|
+
default: () => {};
|
|
15
|
+
};
|
|
12
16
|
columns: {
|
|
13
17
|
type: PropType< PlusColumn[]>;
|
|
14
18
|
default: () => never[];
|
|
@@ -17,10 +21,6 @@ export declare const PlusSearch: {
|
|
|
17
21
|
type: PropType<"grid" | "flex">;
|
|
18
22
|
default: "flex";
|
|
19
23
|
};
|
|
20
|
-
modelValue: {
|
|
21
|
-
type: PropType<FieldValues>;
|
|
22
|
-
default: () => {};
|
|
23
|
-
};
|
|
24
24
|
labelPosition: {
|
|
25
25
|
type: PropType<"top" | "right" | "left">;
|
|
26
26
|
default: undefined;
|
|
@@ -108,9 +108,9 @@ export declare const PlusSearch: {
|
|
|
108
108
|
default: undefined;
|
|
109
109
|
};
|
|
110
110
|
}>> & {
|
|
111
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
111
112
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
112
113
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
113
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
114
114
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
115
115
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
116
116
|
}, {
|
|
@@ -118,12 +118,12 @@ export declare const PlusSearch: {
|
|
|
118
118
|
$: ComponentInternalInstance;
|
|
119
119
|
$data: {};
|
|
120
120
|
$props: Partial<{
|
|
121
|
+
modelValue: FieldValues;
|
|
121
122
|
collapseDuration: number;
|
|
122
123
|
collapseTransition: boolean;
|
|
123
124
|
columns: PlusColumn[];
|
|
124
125
|
group: false | PlusFormGroupRow[];
|
|
125
126
|
layout: "grid" | "flex";
|
|
126
|
-
modelValue: FieldValues;
|
|
127
127
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
128
128
|
labelPosition: "top" | "right" | "left";
|
|
129
129
|
labelWidth: string | number;
|
|
@@ -144,7 +144,7 @@ export declare const PlusSearch: {
|
|
|
144
144
|
submitText: string;
|
|
145
145
|
resetText: string;
|
|
146
146
|
submitLoading: boolean;
|
|
147
|
-
footerAlign: "
|
|
147
|
+
footerAlign: "center" | "right" | "left";
|
|
148
148
|
cardProps: Partial< Mutable<CardProps> & {
|
|
149
149
|
style?: CSSProperties | undefined;
|
|
150
150
|
class?: any;
|
|
@@ -152,9 +152,9 @@ export declare const PlusSearch: {
|
|
|
152
152
|
prevent: boolean;
|
|
153
153
|
clearable: boolean;
|
|
154
154
|
}> & Omit<{
|
|
155
|
+
readonly modelValue: FieldValues;
|
|
155
156
|
readonly columns: PlusColumn[];
|
|
156
157
|
readonly group: false | PlusFormGroupRow[];
|
|
157
|
-
readonly modelValue: FieldValues;
|
|
158
158
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
159
159
|
readonly labelPosition: "top" | "right" | "left";
|
|
160
160
|
readonly labelWidth: string | number;
|
|
@@ -175,7 +175,7 @@ export declare const PlusSearch: {
|
|
|
175
175
|
readonly submitText: string;
|
|
176
176
|
readonly resetText: string;
|
|
177
177
|
readonly submitLoading: boolean;
|
|
178
|
-
readonly footerAlign: "
|
|
178
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
179
179
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
180
180
|
style?: CSSProperties | undefined;
|
|
181
181
|
class?: any;
|
|
@@ -185,13 +185,17 @@ export declare const PlusSearch: {
|
|
|
185
185
|
readonly collapseDuration?: number | undefined;
|
|
186
186
|
readonly collapseTransition?: boolean | undefined;
|
|
187
187
|
readonly layout?: "grid" | "flex" | undefined;
|
|
188
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
188
189
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
189
190
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
190
191
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
191
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
192
192
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
193
193
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
194
194
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
195
|
+
modelValue: {
|
|
196
|
+
type: PropType<FieldValues>;
|
|
197
|
+
default: () => {};
|
|
198
|
+
};
|
|
195
199
|
collapseDuration: {
|
|
196
200
|
type: PropType<number>;
|
|
197
201
|
default: undefined;
|
|
@@ -212,10 +216,6 @@ export declare const PlusSearch: {
|
|
|
212
216
|
type: PropType<"grid" | "flex">;
|
|
213
217
|
default: undefined;
|
|
214
218
|
};
|
|
215
|
-
modelValue: {
|
|
216
|
-
type: PropType<FieldValues>;
|
|
217
|
-
default: () => {};
|
|
218
|
-
};
|
|
219
219
|
rules: {
|
|
220
220
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
221
221
|
default: () => {};
|
|
@@ -279,7 +279,7 @@ export declare const PlusSearch: {
|
|
|
279
279
|
default: boolean;
|
|
280
280
|
};
|
|
281
281
|
footerAlign: {
|
|
282
|
-
type: PropType<"
|
|
282
|
+
type: PropType<"center" | "right" | "left">;
|
|
283
283
|
default: string;
|
|
284
284
|
};
|
|
285
285
|
cardProps: {
|
|
@@ -298,13 +298,13 @@ export declare const PlusSearch: {
|
|
|
298
298
|
default: boolean;
|
|
299
299
|
};
|
|
300
300
|
}>> & {
|
|
301
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
301
302
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
302
303
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
303
304
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
304
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
305
305
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
306
306
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
307
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
307
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
308
308
|
$attrs: {
|
|
309
309
|
[x: string]: unknown;
|
|
310
310
|
};
|
|
@@ -316,9 +316,13 @@ export declare const PlusSearch: {
|
|
|
316
316
|
}>;
|
|
317
317
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
318
318
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
319
|
-
$emit: ((event: "
|
|
319
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
320
320
|
$el: any;
|
|
321
321
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
322
|
+
modelValue: {
|
|
323
|
+
type: PropType<FieldValues>;
|
|
324
|
+
default: () => {};
|
|
325
|
+
};
|
|
322
326
|
collapseDuration: {
|
|
323
327
|
type: PropType<number>;
|
|
324
328
|
default: undefined;
|
|
@@ -339,10 +343,6 @@ export declare const PlusSearch: {
|
|
|
339
343
|
type: PropType<"grid" | "flex">;
|
|
340
344
|
default: undefined;
|
|
341
345
|
};
|
|
342
|
-
modelValue: {
|
|
343
|
-
type: PropType<FieldValues>;
|
|
344
|
-
default: () => {};
|
|
345
|
-
};
|
|
346
346
|
rules: {
|
|
347
347
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
348
348
|
default: () => {};
|
|
@@ -406,7 +406,7 @@ export declare const PlusSearch: {
|
|
|
406
406
|
default: boolean;
|
|
407
407
|
};
|
|
408
408
|
footerAlign: {
|
|
409
|
-
type: PropType<"
|
|
409
|
+
type: PropType<"center" | "right" | "left">;
|
|
410
410
|
default: string;
|
|
411
411
|
};
|
|
412
412
|
cardProps: {
|
|
@@ -425,10 +425,10 @@ export declare const PlusSearch: {
|
|
|
425
425
|
default: boolean;
|
|
426
426
|
};
|
|
427
427
|
}>> & {
|
|
428
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
428
429
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
429
430
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
430
431
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
431
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
432
432
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
433
433
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
434
434
|
}, {
|
|
@@ -443,12 +443,12 @@ export declare const PlusSearch: {
|
|
|
443
443
|
submitError: (errors: unknown) => void;
|
|
444
444
|
validate: (...args: any[]) => void;
|
|
445
445
|
}, string, {
|
|
446
|
+
modelValue: FieldValues;
|
|
446
447
|
collapseDuration: number;
|
|
447
448
|
collapseTransition: boolean;
|
|
448
449
|
columns: PlusColumn[];
|
|
449
450
|
group: false | PlusFormGroupRow[];
|
|
450
451
|
layout: "grid" | "flex";
|
|
451
|
-
modelValue: FieldValues;
|
|
452
452
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
453
453
|
labelPosition: "top" | "right" | "left";
|
|
454
454
|
labelWidth: string | number;
|
|
@@ -469,7 +469,7 @@ export declare const PlusSearch: {
|
|
|
469
469
|
submitText: string;
|
|
470
470
|
resetText: string;
|
|
471
471
|
submitLoading: boolean;
|
|
472
|
-
footerAlign: "
|
|
472
|
+
footerAlign: "center" | "right" | "left";
|
|
473
473
|
cardProps: Partial< Mutable<CardProps> & {
|
|
474
474
|
style?: CSSProperties | undefined;
|
|
475
475
|
class?: any;
|
|
@@ -497,6 +497,10 @@ export declare const PlusSearch: {
|
|
|
497
497
|
$nextTick: nextTick;
|
|
498
498
|
$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;
|
|
499
499
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
500
|
+
modelValue: {
|
|
501
|
+
type: PropType<FieldValues>;
|
|
502
|
+
default: () => {};
|
|
503
|
+
};
|
|
500
504
|
collapseDuration: {
|
|
501
505
|
type: PropType<number>;
|
|
502
506
|
default: undefined;
|
|
@@ -517,10 +521,6 @@ export declare const PlusSearch: {
|
|
|
517
521
|
type: PropType<"grid" | "flex">;
|
|
518
522
|
default: undefined;
|
|
519
523
|
};
|
|
520
|
-
modelValue: {
|
|
521
|
-
type: PropType<FieldValues>;
|
|
522
|
-
default: () => {};
|
|
523
|
-
};
|
|
524
524
|
rules: {
|
|
525
525
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
526
526
|
default: () => {};
|
|
@@ -584,7 +584,7 @@ export declare const PlusSearch: {
|
|
|
584
584
|
default: boolean;
|
|
585
585
|
};
|
|
586
586
|
footerAlign: {
|
|
587
|
-
type: PropType<"
|
|
587
|
+
type: PropType<"center" | "right" | "left">;
|
|
588
588
|
default: string;
|
|
589
589
|
};
|
|
590
590
|
cardProps: {
|
|
@@ -603,10 +603,10 @@ export declare const PlusSearch: {
|
|
|
603
603
|
default: boolean;
|
|
604
604
|
};
|
|
605
605
|
}>> & {
|
|
606
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
606
607
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
607
608
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
608
609
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
609
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
610
610
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
611
611
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
612
612
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -626,14 +626,14 @@ export declare const PlusSearch: {
|
|
|
626
626
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
627
627
|
columns?: PlusColumn[] | undefined;
|
|
628
628
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
629
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
629
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
630
630
|
readonly label: string | ComputedRef<string>;
|
|
631
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
631
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
632
632
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
633
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
633
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
634
634
|
style?: CSSProperties | undefined;
|
|
635
635
|
class?: any;
|
|
636
|
-
} & RecordType> | ComputedRef<
|
|
636
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
637
637
|
style?: CSSProperties | undefined;
|
|
638
638
|
class?: any;
|
|
639
639
|
} & RecordType>>;
|
|
@@ -700,12 +700,12 @@ export declare const PlusSearch: {
|
|
|
700
700
|
fieldInstance?: any;
|
|
701
701
|
valueIsReady?: Ref<boolean> | undefined;
|
|
702
702
|
prop: string;
|
|
703
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
703
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
704
704
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
705
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
705
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
706
706
|
style?: CSSProperties | undefined;
|
|
707
707
|
class?: any;
|
|
708
|
-
} & RecordType> | ComputedRef<
|
|
708
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
709
709
|
style?: CSSProperties | undefined;
|
|
710
710
|
class?: any;
|
|
711
711
|
} & RecordType>>;
|
|
@@ -734,14 +734,14 @@ export declare const PlusSearch: {
|
|
|
734
734
|
clearable: boolean;
|
|
735
735
|
index: number;
|
|
736
736
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
737
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
737
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
738
738
|
readonly label: string | ComputedRef<string>;
|
|
739
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
739
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
740
740
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
741
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
741
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
742
742
|
style?: CSSProperties | undefined;
|
|
743
743
|
class?: any;
|
|
744
|
-
} & RecordType> | ComputedRef<
|
|
744
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
745
745
|
style?: CSSProperties | undefined;
|
|
746
746
|
class?: any;
|
|
747
747
|
} & RecordType>>;
|
|
@@ -808,12 +808,12 @@ export declare const PlusSearch: {
|
|
|
808
808
|
fieldInstance?: any;
|
|
809
809
|
valueIsReady?: Ref<boolean> | undefined;
|
|
810
810
|
prop: string;
|
|
811
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
811
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
812
812
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
813
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
813
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
814
814
|
style?: CSSProperties | undefined;
|
|
815
815
|
class?: any;
|
|
816
|
-
} & RecordType> | ComputedRef<
|
|
816
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
817
817
|
style?: CSSProperties | undefined;
|
|
818
818
|
class?: any;
|
|
819
819
|
} & RecordType>>;
|
|
@@ -865,6 +865,10 @@ export declare const PlusSearch: {
|
|
|
865
865
|
reset: (values: FieldValues) => void;
|
|
866
866
|
collapse: (isShowUnfold: boolean) => void;
|
|
867
867
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
868
|
+
modelValue: {
|
|
869
|
+
type: PropType<FieldValues>;
|
|
870
|
+
default: () => {};
|
|
871
|
+
};
|
|
868
872
|
columns: {
|
|
869
873
|
type: PropType< PlusColumn[]>;
|
|
870
874
|
default: () => never[];
|
|
@@ -873,10 +877,6 @@ export declare const PlusSearch: {
|
|
|
873
877
|
type: PropType<"grid" | "flex">;
|
|
874
878
|
default: "flex";
|
|
875
879
|
};
|
|
876
|
-
modelValue: {
|
|
877
|
-
type: PropType<FieldValues>;
|
|
878
|
-
default: () => {};
|
|
879
|
-
};
|
|
880
880
|
labelPosition: {
|
|
881
881
|
type: PropType<"top" | "right" | "left">;
|
|
882
882
|
default: undefined;
|
|
@@ -964,15 +964,15 @@ export declare const PlusSearch: {
|
|
|
964
964
|
default: undefined;
|
|
965
965
|
};
|
|
966
966
|
}>> & {
|
|
967
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
967
968
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
968
969
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
969
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
970
970
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
971
971
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
972
972
|
}, {
|
|
973
|
+
modelValue: FieldValues;
|
|
973
974
|
columns: PlusColumn[];
|
|
974
975
|
layout: "grid" | "flex";
|
|
975
|
-
modelValue: FieldValues;
|
|
976
976
|
labelPosition: "top" | "right" | "left";
|
|
977
977
|
inline: boolean;
|
|
978
978
|
showNumber: number;
|
|
@@ -1005,6 +1005,10 @@ export declare const PlusSearch: {
|
|
|
1005
1005
|
M: {};
|
|
1006
1006
|
Defaults: {};
|
|
1007
1007
|
}, Readonly< ExtractPropTypes<{
|
|
1008
|
+
modelValue: {
|
|
1009
|
+
type: PropType<FieldValues>;
|
|
1010
|
+
default: () => {};
|
|
1011
|
+
};
|
|
1008
1012
|
columns: {
|
|
1009
1013
|
type: PropType< PlusColumn[]>;
|
|
1010
1014
|
default: () => never[];
|
|
@@ -1013,10 +1017,6 @@ export declare const PlusSearch: {
|
|
|
1013
1017
|
type: PropType<"grid" | "flex">;
|
|
1014
1018
|
default: "flex";
|
|
1015
1019
|
};
|
|
1016
|
-
modelValue: {
|
|
1017
|
-
type: PropType<FieldValues>;
|
|
1018
|
-
default: () => {};
|
|
1019
|
-
};
|
|
1020
1020
|
labelPosition: {
|
|
1021
1021
|
type: PropType<"top" | "right" | "left">;
|
|
1022
1022
|
default: undefined;
|
|
@@ -1104,9 +1104,9 @@ export declare const PlusSearch: {
|
|
|
1104
1104
|
default: undefined;
|
|
1105
1105
|
};
|
|
1106
1106
|
}>> & {
|
|
1107
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1107
1108
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1108
1109
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1109
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1110
1110
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1111
1111
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1112
1112
|
}, {
|
|
@@ -1114,12 +1114,12 @@ export declare const PlusSearch: {
|
|
|
1114
1114
|
$: ComponentInternalInstance;
|
|
1115
1115
|
$data: {};
|
|
1116
1116
|
$props: Partial<{
|
|
1117
|
+
modelValue: FieldValues;
|
|
1117
1118
|
collapseDuration: number;
|
|
1118
1119
|
collapseTransition: boolean;
|
|
1119
1120
|
columns: PlusColumn[];
|
|
1120
1121
|
group: false | PlusFormGroupRow[];
|
|
1121
1122
|
layout: "grid" | "flex";
|
|
1122
|
-
modelValue: FieldValues;
|
|
1123
1123
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1124
1124
|
labelPosition: "top" | "right" | "left";
|
|
1125
1125
|
labelWidth: string | number;
|
|
@@ -1140,7 +1140,7 @@ export declare const PlusSearch: {
|
|
|
1140
1140
|
submitText: string;
|
|
1141
1141
|
resetText: string;
|
|
1142
1142
|
submitLoading: boolean;
|
|
1143
|
-
footerAlign: "
|
|
1143
|
+
footerAlign: "center" | "right" | "left";
|
|
1144
1144
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1145
1145
|
style?: CSSProperties | undefined;
|
|
1146
1146
|
class?: any;
|
|
@@ -1148,9 +1148,9 @@ export declare const PlusSearch: {
|
|
|
1148
1148
|
prevent: boolean;
|
|
1149
1149
|
clearable: boolean;
|
|
1150
1150
|
}> & Omit<{
|
|
1151
|
+
readonly modelValue: FieldValues;
|
|
1151
1152
|
readonly columns: PlusColumn[];
|
|
1152
1153
|
readonly group: false | PlusFormGroupRow[];
|
|
1153
|
-
readonly modelValue: FieldValues;
|
|
1154
1154
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1155
1155
|
readonly labelPosition: "top" | "right" | "left";
|
|
1156
1156
|
readonly labelWidth: string | number;
|
|
@@ -1171,7 +1171,7 @@ export declare const PlusSearch: {
|
|
|
1171
1171
|
readonly submitText: string;
|
|
1172
1172
|
readonly resetText: string;
|
|
1173
1173
|
readonly submitLoading: boolean;
|
|
1174
|
-
readonly footerAlign: "
|
|
1174
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
1175
1175
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1176
1176
|
style?: CSSProperties | undefined;
|
|
1177
1177
|
class?: any;
|
|
@@ -1181,13 +1181,17 @@ export declare const PlusSearch: {
|
|
|
1181
1181
|
readonly collapseDuration?: number | undefined;
|
|
1182
1182
|
readonly collapseTransition?: boolean | undefined;
|
|
1183
1183
|
readonly layout?: "grid" | "flex" | undefined;
|
|
1184
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1184
1185
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1185
1186
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1186
1187
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1187
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1188
1188
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1189
1189
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1190
1190
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1191
|
+
modelValue: {
|
|
1192
|
+
type: PropType<FieldValues>;
|
|
1193
|
+
default: () => {};
|
|
1194
|
+
};
|
|
1191
1195
|
collapseDuration: {
|
|
1192
1196
|
type: PropType<number>;
|
|
1193
1197
|
default: undefined;
|
|
@@ -1208,10 +1212,6 @@ export declare const PlusSearch: {
|
|
|
1208
1212
|
type: PropType<"grid" | "flex">;
|
|
1209
1213
|
default: undefined;
|
|
1210
1214
|
};
|
|
1211
|
-
modelValue: {
|
|
1212
|
-
type: PropType<FieldValues>;
|
|
1213
|
-
default: () => {};
|
|
1214
|
-
};
|
|
1215
1215
|
rules: {
|
|
1216
1216
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1217
1217
|
default: () => {};
|
|
@@ -1275,7 +1275,7 @@ export declare const PlusSearch: {
|
|
|
1275
1275
|
default: boolean;
|
|
1276
1276
|
};
|
|
1277
1277
|
footerAlign: {
|
|
1278
|
-
type: PropType<"
|
|
1278
|
+
type: PropType<"center" | "right" | "left">;
|
|
1279
1279
|
default: string;
|
|
1280
1280
|
};
|
|
1281
1281
|
cardProps: {
|
|
@@ -1294,13 +1294,13 @@ export declare const PlusSearch: {
|
|
|
1294
1294
|
default: boolean;
|
|
1295
1295
|
};
|
|
1296
1296
|
}>> & {
|
|
1297
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1297
1298
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1298
1299
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1299
1300
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1300
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1301
1301
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1302
1302
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1303
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
1303
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1304
1304
|
$attrs: {
|
|
1305
1305
|
[x: string]: unknown;
|
|
1306
1306
|
};
|
|
@@ -1312,9 +1312,13 @@ export declare const PlusSearch: {
|
|
|
1312
1312
|
}>;
|
|
1313
1313
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1314
1314
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1315
|
-
$emit: ((event: "
|
|
1315
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1316
1316
|
$el: any;
|
|
1317
1317
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1318
|
+
modelValue: {
|
|
1319
|
+
type: PropType<FieldValues>;
|
|
1320
|
+
default: () => {};
|
|
1321
|
+
};
|
|
1318
1322
|
collapseDuration: {
|
|
1319
1323
|
type: PropType<number>;
|
|
1320
1324
|
default: undefined;
|
|
@@ -1335,10 +1339,6 @@ export declare const PlusSearch: {
|
|
|
1335
1339
|
type: PropType<"grid" | "flex">;
|
|
1336
1340
|
default: undefined;
|
|
1337
1341
|
};
|
|
1338
|
-
modelValue: {
|
|
1339
|
-
type: PropType<FieldValues>;
|
|
1340
|
-
default: () => {};
|
|
1341
|
-
};
|
|
1342
1342
|
rules: {
|
|
1343
1343
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1344
1344
|
default: () => {};
|
|
@@ -1402,7 +1402,7 @@ export declare const PlusSearch: {
|
|
|
1402
1402
|
default: boolean;
|
|
1403
1403
|
};
|
|
1404
1404
|
footerAlign: {
|
|
1405
|
-
type: PropType<"
|
|
1405
|
+
type: PropType<"center" | "right" | "left">;
|
|
1406
1406
|
default: string;
|
|
1407
1407
|
};
|
|
1408
1408
|
cardProps: {
|
|
@@ -1421,10 +1421,10 @@ export declare const PlusSearch: {
|
|
|
1421
1421
|
default: boolean;
|
|
1422
1422
|
};
|
|
1423
1423
|
}>> & {
|
|
1424
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1424
1425
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1425
1426
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1426
1427
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1427
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1428
1428
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1429
1429
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1430
1430
|
}, {
|
|
@@ -1439,12 +1439,12 @@ export declare const PlusSearch: {
|
|
|
1439
1439
|
submitError: (errors: unknown) => void;
|
|
1440
1440
|
validate: (...args: any[]) => void;
|
|
1441
1441
|
}, string, {
|
|
1442
|
+
modelValue: FieldValues;
|
|
1442
1443
|
collapseDuration: number;
|
|
1443
1444
|
collapseTransition: boolean;
|
|
1444
1445
|
columns: PlusColumn[];
|
|
1445
1446
|
group: false | PlusFormGroupRow[];
|
|
1446
1447
|
layout: "grid" | "flex";
|
|
1447
|
-
modelValue: FieldValues;
|
|
1448
1448
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1449
1449
|
labelPosition: "top" | "right" | "left";
|
|
1450
1450
|
labelWidth: string | number;
|
|
@@ -1465,7 +1465,7 @@ export declare const PlusSearch: {
|
|
|
1465
1465
|
submitText: string;
|
|
1466
1466
|
resetText: string;
|
|
1467
1467
|
submitLoading: boolean;
|
|
1468
|
-
footerAlign: "
|
|
1468
|
+
footerAlign: "center" | "right" | "left";
|
|
1469
1469
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1470
1470
|
style?: CSSProperties | undefined;
|
|
1471
1471
|
class?: any;
|
|
@@ -1493,6 +1493,10 @@ export declare const PlusSearch: {
|
|
|
1493
1493
|
$nextTick: nextTick;
|
|
1494
1494
|
$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;
|
|
1495
1495
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1496
|
+
modelValue: {
|
|
1497
|
+
type: PropType<FieldValues>;
|
|
1498
|
+
default: () => {};
|
|
1499
|
+
};
|
|
1496
1500
|
collapseDuration: {
|
|
1497
1501
|
type: PropType<number>;
|
|
1498
1502
|
default: undefined;
|
|
@@ -1513,10 +1517,6 @@ export declare const PlusSearch: {
|
|
|
1513
1517
|
type: PropType<"grid" | "flex">;
|
|
1514
1518
|
default: undefined;
|
|
1515
1519
|
};
|
|
1516
|
-
modelValue: {
|
|
1517
|
-
type: PropType<FieldValues>;
|
|
1518
|
-
default: () => {};
|
|
1519
|
-
};
|
|
1520
1520
|
rules: {
|
|
1521
1521
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1522
1522
|
default: () => {};
|
|
@@ -1580,7 +1580,7 @@ export declare const PlusSearch: {
|
|
|
1580
1580
|
default: boolean;
|
|
1581
1581
|
};
|
|
1582
1582
|
footerAlign: {
|
|
1583
|
-
type: PropType<"
|
|
1583
|
+
type: PropType<"center" | "right" | "left">;
|
|
1584
1584
|
default: string;
|
|
1585
1585
|
};
|
|
1586
1586
|
cardProps: {
|
|
@@ -1599,10 +1599,10 @@ export declare const PlusSearch: {
|
|
|
1599
1599
|
default: boolean;
|
|
1600
1600
|
};
|
|
1601
1601
|
}>> & {
|
|
1602
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1602
1603
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1603
1604
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1604
1605
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1605
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1606
1606
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1607
1607
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1608
1608
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1622,14 +1622,14 @@ export declare const PlusSearch: {
|
|
|
1622
1622
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1623
1623
|
columns?: PlusColumn[] | undefined;
|
|
1624
1624
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1625
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1625
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1626
1626
|
readonly label: string | ComputedRef<string>;
|
|
1627
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1627
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1628
1628
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1629
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1629
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1630
1630
|
style?: CSSProperties | undefined;
|
|
1631
1631
|
class?: any;
|
|
1632
|
-
} & RecordType> | ComputedRef<
|
|
1632
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1633
1633
|
style?: CSSProperties | undefined;
|
|
1634
1634
|
class?: any;
|
|
1635
1635
|
} & RecordType>>;
|
|
@@ -1696,12 +1696,12 @@ export declare const PlusSearch: {
|
|
|
1696
1696
|
fieldInstance?: any;
|
|
1697
1697
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1698
1698
|
prop: string;
|
|
1699
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1699
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1700
1700
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1701
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1701
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1702
1702
|
style?: CSSProperties | undefined;
|
|
1703
1703
|
class?: any;
|
|
1704
|
-
} & RecordType> | ComputedRef<
|
|
1704
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1705
1705
|
style?: CSSProperties | undefined;
|
|
1706
1706
|
class?: any;
|
|
1707
1707
|
} & RecordType>>;
|
|
@@ -1730,14 +1730,14 @@ export declare const PlusSearch: {
|
|
|
1730
1730
|
clearable: boolean;
|
|
1731
1731
|
index: number;
|
|
1732
1732
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1733
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1733
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1734
1734
|
readonly label: string | ComputedRef<string>;
|
|
1735
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1735
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1736
1736
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1737
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1737
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1738
1738
|
style?: CSSProperties | undefined;
|
|
1739
1739
|
class?: any;
|
|
1740
|
-
} & RecordType> | ComputedRef<
|
|
1740
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1741
1741
|
style?: CSSProperties | undefined;
|
|
1742
1742
|
class?: any;
|
|
1743
1743
|
} & RecordType>>;
|
|
@@ -1804,12 +1804,12 @@ export declare const PlusSearch: {
|
|
|
1804
1804
|
fieldInstance?: any;
|
|
1805
1805
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1806
1806
|
prop: string;
|
|
1807
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1807
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1808
1808
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1809
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1809
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1810
1810
|
style?: CSSProperties | undefined;
|
|
1811
1811
|
class?: any;
|
|
1812
|
-
} & RecordType> | ComputedRef<
|
|
1812
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1813
1813
|
style?: CSSProperties | undefined;
|
|
1814
1814
|
class?: any;
|
|
1815
1815
|
} & RecordType>>;
|
|
@@ -1855,9 +1855,9 @@ export declare const PlusSearch: {
|
|
|
1855
1855
|
handleSearch: () => void;
|
|
1856
1856
|
handleUnfold: (e: MouseEvent) => void;
|
|
1857
1857
|
}, {}, {}, {}, {
|
|
1858
|
+
modelValue: FieldValues;
|
|
1858
1859
|
columns: PlusColumn[];
|
|
1859
1860
|
layout: "grid" | "flex";
|
|
1860
|
-
modelValue: FieldValues;
|
|
1861
1861
|
labelPosition: "top" | "right" | "left";
|
|
1862
1862
|
inline: boolean;
|
|
1863
1863
|
showNumber: number;
|
|
@@ -1887,6 +1887,10 @@ export declare const PlusSearch: {
|
|
|
1887
1887
|
__isTeleport?: undefined;
|
|
1888
1888
|
__isSuspense?: undefined;
|
|
1889
1889
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1890
|
+
modelValue: {
|
|
1891
|
+
type: PropType<FieldValues>;
|
|
1892
|
+
default: () => {};
|
|
1893
|
+
};
|
|
1890
1894
|
columns: {
|
|
1891
1895
|
type: PropType< PlusColumn[]>;
|
|
1892
1896
|
default: () => never[];
|
|
@@ -1895,10 +1899,6 @@ export declare const PlusSearch: {
|
|
|
1895
1899
|
type: PropType<"grid" | "flex">;
|
|
1896
1900
|
default: "flex";
|
|
1897
1901
|
};
|
|
1898
|
-
modelValue: {
|
|
1899
|
-
type: PropType<FieldValues>;
|
|
1900
|
-
default: () => {};
|
|
1901
|
-
};
|
|
1902
1902
|
labelPosition: {
|
|
1903
1903
|
type: PropType<"top" | "right" | "left">;
|
|
1904
1904
|
default: undefined;
|
|
@@ -1986,9 +1986,9 @@ export declare const PlusSearch: {
|
|
|
1986
1986
|
default: undefined;
|
|
1987
1987
|
};
|
|
1988
1988
|
}>> & {
|
|
1989
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1989
1990
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1990
1991
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1991
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1992
1992
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1993
1993
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1994
1994
|
}, {
|
|
@@ -1996,12 +1996,12 @@ export declare const PlusSearch: {
|
|
|
1996
1996
|
$: ComponentInternalInstance;
|
|
1997
1997
|
$data: {};
|
|
1998
1998
|
$props: Partial<{
|
|
1999
|
+
modelValue: FieldValues;
|
|
1999
2000
|
collapseDuration: number;
|
|
2000
2001
|
collapseTransition: boolean;
|
|
2001
2002
|
columns: PlusColumn[];
|
|
2002
2003
|
group: false | PlusFormGroupRow[];
|
|
2003
2004
|
layout: "grid" | "flex";
|
|
2004
|
-
modelValue: FieldValues;
|
|
2005
2005
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2006
2006
|
labelPosition: "top" | "right" | "left";
|
|
2007
2007
|
labelWidth: string | number;
|
|
@@ -2022,7 +2022,7 @@ export declare const PlusSearch: {
|
|
|
2022
2022
|
submitText: string;
|
|
2023
2023
|
resetText: string;
|
|
2024
2024
|
submitLoading: boolean;
|
|
2025
|
-
footerAlign: "
|
|
2025
|
+
footerAlign: "center" | "right" | "left";
|
|
2026
2026
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2027
2027
|
style?: CSSProperties | undefined;
|
|
2028
2028
|
class?: any;
|
|
@@ -2030,9 +2030,9 @@ export declare const PlusSearch: {
|
|
|
2030
2030
|
prevent: boolean;
|
|
2031
2031
|
clearable: boolean;
|
|
2032
2032
|
}> & Omit<{
|
|
2033
|
+
readonly modelValue: FieldValues;
|
|
2033
2034
|
readonly columns: PlusColumn[];
|
|
2034
2035
|
readonly group: false | PlusFormGroupRow[];
|
|
2035
|
-
readonly modelValue: FieldValues;
|
|
2036
2036
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2037
2037
|
readonly labelPosition: "top" | "right" | "left";
|
|
2038
2038
|
readonly labelWidth: string | number;
|
|
@@ -2053,7 +2053,7 @@ export declare const PlusSearch: {
|
|
|
2053
2053
|
readonly submitText: string;
|
|
2054
2054
|
readonly resetText: string;
|
|
2055
2055
|
readonly submitLoading: boolean;
|
|
2056
|
-
readonly footerAlign: "
|
|
2056
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
2057
2057
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
2058
2058
|
style?: CSSProperties | undefined;
|
|
2059
2059
|
class?: any;
|
|
@@ -2063,13 +2063,17 @@ export declare const PlusSearch: {
|
|
|
2063
2063
|
readonly collapseDuration?: number | undefined;
|
|
2064
2064
|
readonly collapseTransition?: boolean | undefined;
|
|
2065
2065
|
readonly layout?: "grid" | "flex" | undefined;
|
|
2066
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2066
2067
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2067
2068
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2068
2069
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2069
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2070
2070
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2071
2071
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2072
2072
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2073
|
+
modelValue: {
|
|
2074
|
+
type: PropType<FieldValues>;
|
|
2075
|
+
default: () => {};
|
|
2076
|
+
};
|
|
2073
2077
|
collapseDuration: {
|
|
2074
2078
|
type: PropType<number>;
|
|
2075
2079
|
default: undefined;
|
|
@@ -2090,10 +2094,6 @@ export declare const PlusSearch: {
|
|
|
2090
2094
|
type: PropType<"grid" | "flex">;
|
|
2091
2095
|
default: undefined;
|
|
2092
2096
|
};
|
|
2093
|
-
modelValue: {
|
|
2094
|
-
type: PropType<FieldValues>;
|
|
2095
|
-
default: () => {};
|
|
2096
|
-
};
|
|
2097
2097
|
rules: {
|
|
2098
2098
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2099
2099
|
default: () => {};
|
|
@@ -2157,7 +2157,7 @@ export declare const PlusSearch: {
|
|
|
2157
2157
|
default: boolean;
|
|
2158
2158
|
};
|
|
2159
2159
|
footerAlign: {
|
|
2160
|
-
type: PropType<"
|
|
2160
|
+
type: PropType<"center" | "right" | "left">;
|
|
2161
2161
|
default: string;
|
|
2162
2162
|
};
|
|
2163
2163
|
cardProps: {
|
|
@@ -2176,13 +2176,13 @@ export declare const PlusSearch: {
|
|
|
2176
2176
|
default: boolean;
|
|
2177
2177
|
};
|
|
2178
2178
|
}>> & {
|
|
2179
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2179
2180
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2180
2181
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2181
2182
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2182
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2183
2183
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2184
2184
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2185
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
2185
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2186
2186
|
$attrs: {
|
|
2187
2187
|
[x: string]: unknown;
|
|
2188
2188
|
};
|
|
@@ -2194,9 +2194,13 @@ export declare const PlusSearch: {
|
|
|
2194
2194
|
}>;
|
|
2195
2195
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2196
2196
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2197
|
-
$emit: ((event: "
|
|
2197
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2198
2198
|
$el: any;
|
|
2199
2199
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2200
|
+
modelValue: {
|
|
2201
|
+
type: PropType<FieldValues>;
|
|
2202
|
+
default: () => {};
|
|
2203
|
+
};
|
|
2200
2204
|
collapseDuration: {
|
|
2201
2205
|
type: PropType<number>;
|
|
2202
2206
|
default: undefined;
|
|
@@ -2217,10 +2221,6 @@ export declare const PlusSearch: {
|
|
|
2217
2221
|
type: PropType<"grid" | "flex">;
|
|
2218
2222
|
default: undefined;
|
|
2219
2223
|
};
|
|
2220
|
-
modelValue: {
|
|
2221
|
-
type: PropType<FieldValues>;
|
|
2222
|
-
default: () => {};
|
|
2223
|
-
};
|
|
2224
2224
|
rules: {
|
|
2225
2225
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2226
2226
|
default: () => {};
|
|
@@ -2284,7 +2284,7 @@ export declare const PlusSearch: {
|
|
|
2284
2284
|
default: boolean;
|
|
2285
2285
|
};
|
|
2286
2286
|
footerAlign: {
|
|
2287
|
-
type: PropType<"
|
|
2287
|
+
type: PropType<"center" | "right" | "left">;
|
|
2288
2288
|
default: string;
|
|
2289
2289
|
};
|
|
2290
2290
|
cardProps: {
|
|
@@ -2303,10 +2303,10 @@ export declare const PlusSearch: {
|
|
|
2303
2303
|
default: boolean;
|
|
2304
2304
|
};
|
|
2305
2305
|
}>> & {
|
|
2306
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2306
2307
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2307
2308
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2308
2309
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2309
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2310
2310
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2311
2311
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2312
2312
|
}, {
|
|
@@ -2321,12 +2321,12 @@ export declare const PlusSearch: {
|
|
|
2321
2321
|
submitError: (errors: unknown) => void;
|
|
2322
2322
|
validate: (...args: any[]) => void;
|
|
2323
2323
|
}, string, {
|
|
2324
|
+
modelValue: FieldValues;
|
|
2324
2325
|
collapseDuration: number;
|
|
2325
2326
|
collapseTransition: boolean;
|
|
2326
2327
|
columns: PlusColumn[];
|
|
2327
2328
|
group: false | PlusFormGroupRow[];
|
|
2328
2329
|
layout: "grid" | "flex";
|
|
2329
|
-
modelValue: FieldValues;
|
|
2330
2330
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2331
2331
|
labelPosition: "top" | "right" | "left";
|
|
2332
2332
|
labelWidth: string | number;
|
|
@@ -2347,7 +2347,7 @@ export declare const PlusSearch: {
|
|
|
2347
2347
|
submitText: string;
|
|
2348
2348
|
resetText: string;
|
|
2349
2349
|
submitLoading: boolean;
|
|
2350
|
-
footerAlign: "
|
|
2350
|
+
footerAlign: "center" | "right" | "left";
|
|
2351
2351
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2352
2352
|
style?: CSSProperties | undefined;
|
|
2353
2353
|
class?: any;
|
|
@@ -2375,6 +2375,10 @@ export declare const PlusSearch: {
|
|
|
2375
2375
|
$nextTick: nextTick;
|
|
2376
2376
|
$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;
|
|
2377
2377
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2378
|
+
modelValue: {
|
|
2379
|
+
type: PropType<FieldValues>;
|
|
2380
|
+
default: () => {};
|
|
2381
|
+
};
|
|
2378
2382
|
collapseDuration: {
|
|
2379
2383
|
type: PropType<number>;
|
|
2380
2384
|
default: undefined;
|
|
@@ -2395,10 +2399,6 @@ export declare const PlusSearch: {
|
|
|
2395
2399
|
type: PropType<"grid" | "flex">;
|
|
2396
2400
|
default: undefined;
|
|
2397
2401
|
};
|
|
2398
|
-
modelValue: {
|
|
2399
|
-
type: PropType<FieldValues>;
|
|
2400
|
-
default: () => {};
|
|
2401
|
-
};
|
|
2402
2402
|
rules: {
|
|
2403
2403
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2404
2404
|
default: () => {};
|
|
@@ -2462,7 +2462,7 @@ export declare const PlusSearch: {
|
|
|
2462
2462
|
default: boolean;
|
|
2463
2463
|
};
|
|
2464
2464
|
footerAlign: {
|
|
2465
|
-
type: PropType<"
|
|
2465
|
+
type: PropType<"center" | "right" | "left">;
|
|
2466
2466
|
default: string;
|
|
2467
2467
|
};
|
|
2468
2468
|
cardProps: {
|
|
@@ -2481,10 +2481,10 @@ export declare const PlusSearch: {
|
|
|
2481
2481
|
default: boolean;
|
|
2482
2482
|
};
|
|
2483
2483
|
}>> & {
|
|
2484
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2484
2485
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2485
2486
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2486
2487
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2487
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2488
2488
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2489
2489
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2490
2490
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2504,14 +2504,14 @@ export declare const PlusSearch: {
|
|
|
2504
2504
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2505
2505
|
columns?: PlusColumn[] | undefined;
|
|
2506
2506
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2507
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2507
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2508
2508
|
readonly label: string | ComputedRef<string>;
|
|
2509
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2509
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2510
2510
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2511
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2511
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2512
2512
|
style?: CSSProperties | undefined;
|
|
2513
2513
|
class?: any;
|
|
2514
|
-
} & RecordType> | ComputedRef<
|
|
2514
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2515
2515
|
style?: CSSProperties | undefined;
|
|
2516
2516
|
class?: any;
|
|
2517
2517
|
} & RecordType>>;
|
|
@@ -2578,12 +2578,12 @@ export declare const PlusSearch: {
|
|
|
2578
2578
|
fieldInstance?: any;
|
|
2579
2579
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2580
2580
|
prop: string;
|
|
2581
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2581
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2582
2582
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2583
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2583
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2584
2584
|
style?: CSSProperties | undefined;
|
|
2585
2585
|
class?: any;
|
|
2586
|
-
} & RecordType> | ComputedRef<
|
|
2586
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2587
2587
|
style?: CSSProperties | undefined;
|
|
2588
2588
|
class?: any;
|
|
2589
2589
|
} & RecordType>>;
|
|
@@ -2612,14 +2612,14 @@ export declare const PlusSearch: {
|
|
|
2612
2612
|
clearable: boolean;
|
|
2613
2613
|
index: number;
|
|
2614
2614
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2615
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2615
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2616
2616
|
readonly label: string | ComputedRef<string>;
|
|
2617
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2617
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2618
2618
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2619
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2619
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2620
2620
|
style?: CSSProperties | undefined;
|
|
2621
2621
|
class?: any;
|
|
2622
|
-
} & RecordType> | ComputedRef<
|
|
2622
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2623
2623
|
style?: CSSProperties | undefined;
|
|
2624
2624
|
class?: any;
|
|
2625
2625
|
} & RecordType>>;
|
|
@@ -2686,12 +2686,12 @@ export declare const PlusSearch: {
|
|
|
2686
2686
|
fieldInstance?: any;
|
|
2687
2687
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2688
2688
|
prop: string;
|
|
2689
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2689
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2690
2690
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2691
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2691
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2692
2692
|
style?: CSSProperties | undefined;
|
|
2693
2693
|
class?: any;
|
|
2694
|
-
} & RecordType> | ComputedRef<
|
|
2694
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2695
2695
|
style?: CSSProperties | undefined;
|
|
2696
2696
|
class?: any;
|
|
2697
2697
|
} & RecordType>>;
|
|
@@ -2743,9 +2743,9 @@ export declare const PlusSearch: {
|
|
|
2743
2743
|
reset: (values: FieldValues) => void;
|
|
2744
2744
|
collapse: (isShowUnfold: boolean) => void;
|
|
2745
2745
|
}, string, {
|
|
2746
|
+
modelValue: FieldValues;
|
|
2746
2747
|
columns: PlusColumn[];
|
|
2747
2748
|
layout: "grid" | "flex";
|
|
2748
|
-
modelValue: FieldValues;
|
|
2749
2749
|
labelPosition: "top" | "right" | "left";
|
|
2750
2750
|
inline: boolean;
|
|
2751
2751
|
showNumber: number;
|
|
@@ -2772,14 +2772,14 @@ export declare const PlusSearch: {
|
|
|
2772
2772
|
resetIcon: Component | null;
|
|
2773
2773
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2774
2774
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2775
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2775
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2776
2776
|
readonly label: string | ComputedRef<string>;
|
|
2777
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2777
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2778
2778
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2779
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2779
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2780
2780
|
style?: CSSProperties | undefined;
|
|
2781
2781
|
class?: any;
|
|
2782
|
-
} & RecordType> | ComputedRef<
|
|
2782
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2783
2783
|
style?: CSSProperties | undefined;
|
|
2784
2784
|
class?: any;
|
|
2785
2785
|
} & RecordType>>;
|
|
@@ -2846,12 +2846,12 @@ export declare const PlusSearch: {
|
|
|
2846
2846
|
fieldInstance?: any;
|
|
2847
2847
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2848
2848
|
prop: string;
|
|
2849
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2849
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2850
2850
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2851
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2851
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2852
2852
|
style?: CSSProperties | undefined;
|
|
2853
2853
|
class?: any;
|
|
2854
|
-
} & RecordType> | ComputedRef<
|
|
2854
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2855
2855
|
style?: CSSProperties | undefined;
|
|
2856
2856
|
class?: any;
|
|
2857
2857
|
} & RecordType>>;
|