yc-pro-components 0.0.65 → 0.0.67
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/filter-strategies.mjs +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +8 -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/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +9 -9
- package/index.css +6 -6
- package/index.js +12 -7
- package/index.min.css +1 -1
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +12 -7
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +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/filter-strategies.js +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +8 -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/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +11 -11
- 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 { LooseRequired } from '@vue/shared';
|
|
|
2
2
|
import { Arrayable, EpPropMergeType } from 'element-plus/es/utils';
|
|
3
3
|
import { PlusFormGroupRow, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
|
|
4
4
|
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';
|
|
5
|
-
import {
|
|
5
|
+
import { PlusColumn, FieldValues, Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Component, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ComputedRef } from 'vue';
|
|
7
7
|
import { default as Search } from './src/index.vue';
|
|
8
8
|
|
|
@@ -10,10 +10,6 @@ export type PlusSearchInstance = InstanceType<typeof Search>;
|
|
|
10
10
|
export * from './src/type';
|
|
11
11
|
export declare const PlusSearch: {
|
|
12
12
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
13
|
-
modelValue: {
|
|
14
|
-
type: PropType<FieldValues>;
|
|
15
|
-
default: () => {};
|
|
16
|
-
};
|
|
17
13
|
columns: {
|
|
18
14
|
type: PropType< PlusColumn[]>;
|
|
19
15
|
default: () => never[];
|
|
@@ -22,6 +18,10 @@ export declare const PlusSearch: {
|
|
|
22
18
|
type: PropType<"grid" | "flex">;
|
|
23
19
|
default: "grid";
|
|
24
20
|
};
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: PropType<FieldValues>;
|
|
23
|
+
default: () => {};
|
|
24
|
+
};
|
|
25
25
|
labelPosition: {
|
|
26
26
|
type: PropType<"top" | "right" | "left">;
|
|
27
27
|
default: undefined;
|
|
@@ -109,9 +109,9 @@ export declare const PlusSearch: {
|
|
|
109
109
|
default: undefined;
|
|
110
110
|
};
|
|
111
111
|
}>> & {
|
|
112
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
113
112
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
114
113
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
114
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
115
115
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
116
116
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
117
117
|
}, {
|
|
@@ -119,12 +119,12 @@ export declare const PlusSearch: {
|
|
|
119
119
|
$: ComponentInternalInstance;
|
|
120
120
|
$data: {};
|
|
121
121
|
$props: Partial<{
|
|
122
|
-
modelValue: FieldValues;
|
|
123
122
|
collapseDuration: number;
|
|
124
123
|
collapseTransition: boolean;
|
|
125
124
|
columns: PlusColumn[];
|
|
126
125
|
group: false | PlusFormGroupRow[];
|
|
127
126
|
layout: "grid" | "flex";
|
|
127
|
+
modelValue: FieldValues;
|
|
128
128
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
129
129
|
labelPosition: "top" | "right" | "left";
|
|
130
130
|
labelWidth: string | number;
|
|
@@ -145,7 +145,7 @@ export declare const PlusSearch: {
|
|
|
145
145
|
submitText: string;
|
|
146
146
|
resetText: string;
|
|
147
147
|
submitLoading: boolean;
|
|
148
|
-
footerAlign: "
|
|
148
|
+
footerAlign: "right" | "left" | "center";
|
|
149
149
|
cardProps: Partial< Mutable<CardProps> & {
|
|
150
150
|
style?: CSSProperties | undefined;
|
|
151
151
|
class?: any;
|
|
@@ -153,9 +153,9 @@ export declare const PlusSearch: {
|
|
|
153
153
|
prevent: boolean;
|
|
154
154
|
clearable: boolean;
|
|
155
155
|
}> & Omit<{
|
|
156
|
-
readonly modelValue: FieldValues;
|
|
157
156
|
readonly columns: PlusColumn[];
|
|
158
157
|
readonly group: false | PlusFormGroupRow[];
|
|
158
|
+
readonly modelValue: FieldValues;
|
|
159
159
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
160
160
|
readonly labelPosition: "top" | "right" | "left";
|
|
161
161
|
readonly labelWidth: string | number;
|
|
@@ -176,7 +176,7 @@ export declare const PlusSearch: {
|
|
|
176
176
|
readonly submitText: string;
|
|
177
177
|
readonly resetText: string;
|
|
178
178
|
readonly submitLoading: boolean;
|
|
179
|
-
readonly footerAlign: "
|
|
179
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
180
180
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
181
181
|
style?: CSSProperties | undefined;
|
|
182
182
|
class?: any;
|
|
@@ -186,17 +186,13 @@ export declare const PlusSearch: {
|
|
|
186
186
|
readonly collapseDuration?: number | undefined;
|
|
187
187
|
readonly collapseTransition?: boolean | undefined;
|
|
188
188
|
readonly layout?: "grid" | "flex" | undefined;
|
|
189
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
190
189
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
191
190
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
192
191
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
192
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
193
193
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
194
194
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
195
195
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
196
|
-
modelValue: {
|
|
197
|
-
type: PropType<FieldValues>;
|
|
198
|
-
default: () => {};
|
|
199
|
-
};
|
|
200
196
|
collapseDuration: {
|
|
201
197
|
type: PropType<number>;
|
|
202
198
|
default: undefined;
|
|
@@ -217,6 +213,10 @@ export declare const PlusSearch: {
|
|
|
217
213
|
type: PropType<"grid" | "flex">;
|
|
218
214
|
default: undefined;
|
|
219
215
|
};
|
|
216
|
+
modelValue: {
|
|
217
|
+
type: PropType<FieldValues>;
|
|
218
|
+
default: () => {};
|
|
219
|
+
};
|
|
220
220
|
rules: {
|
|
221
221
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
222
222
|
default: () => {};
|
|
@@ -280,7 +280,7 @@ export declare const PlusSearch: {
|
|
|
280
280
|
default: boolean;
|
|
281
281
|
};
|
|
282
282
|
footerAlign: {
|
|
283
|
-
type: PropType<"
|
|
283
|
+
type: PropType<"right" | "left" | "center">;
|
|
284
284
|
default: string;
|
|
285
285
|
};
|
|
286
286
|
cardProps: {
|
|
@@ -299,13 +299,13 @@ export declare const PlusSearch: {
|
|
|
299
299
|
default: boolean;
|
|
300
300
|
};
|
|
301
301
|
}>> & {
|
|
302
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
303
302
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
304
303
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
305
304
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
305
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
306
306
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
307
307
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
308
|
-
}, "
|
|
308
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
309
309
|
$attrs: {
|
|
310
310
|
[x: string]: unknown;
|
|
311
311
|
};
|
|
@@ -317,13 +317,9 @@ export declare const PlusSearch: {
|
|
|
317
317
|
}>;
|
|
318
318
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
319
319
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
320
|
-
$emit: ((event: "
|
|
320
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
321
321
|
$el: any;
|
|
322
322
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
323
|
-
modelValue: {
|
|
324
|
-
type: PropType<FieldValues>;
|
|
325
|
-
default: () => {};
|
|
326
|
-
};
|
|
327
323
|
collapseDuration: {
|
|
328
324
|
type: PropType<number>;
|
|
329
325
|
default: undefined;
|
|
@@ -344,6 +340,10 @@ export declare const PlusSearch: {
|
|
|
344
340
|
type: PropType<"grid" | "flex">;
|
|
345
341
|
default: undefined;
|
|
346
342
|
};
|
|
343
|
+
modelValue: {
|
|
344
|
+
type: PropType<FieldValues>;
|
|
345
|
+
default: () => {};
|
|
346
|
+
};
|
|
347
347
|
rules: {
|
|
348
348
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
349
349
|
default: () => {};
|
|
@@ -407,7 +407,7 @@ export declare const PlusSearch: {
|
|
|
407
407
|
default: boolean;
|
|
408
408
|
};
|
|
409
409
|
footerAlign: {
|
|
410
|
-
type: PropType<"
|
|
410
|
+
type: PropType<"right" | "left" | "center">;
|
|
411
411
|
default: string;
|
|
412
412
|
};
|
|
413
413
|
cardProps: {
|
|
@@ -426,10 +426,10 @@ export declare const PlusSearch: {
|
|
|
426
426
|
default: boolean;
|
|
427
427
|
};
|
|
428
428
|
}>> & {
|
|
429
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
430
429
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
431
430
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
432
431
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
432
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
433
433
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
434
434
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
435
435
|
}, {
|
|
@@ -444,12 +444,12 @@ export declare const PlusSearch: {
|
|
|
444
444
|
submitError: (errors: unknown) => void;
|
|
445
445
|
validate: (...args: any[]) => void;
|
|
446
446
|
}, string, {
|
|
447
|
-
modelValue: FieldValues;
|
|
448
447
|
collapseDuration: number;
|
|
449
448
|
collapseTransition: boolean;
|
|
450
449
|
columns: PlusColumn[];
|
|
451
450
|
group: false | PlusFormGroupRow[];
|
|
452
451
|
layout: "grid" | "flex";
|
|
452
|
+
modelValue: FieldValues;
|
|
453
453
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
454
454
|
labelPosition: "top" | "right" | "left";
|
|
455
455
|
labelWidth: string | number;
|
|
@@ -470,7 +470,7 @@ export declare const PlusSearch: {
|
|
|
470
470
|
submitText: string;
|
|
471
471
|
resetText: string;
|
|
472
472
|
submitLoading: boolean;
|
|
473
|
-
footerAlign: "
|
|
473
|
+
footerAlign: "right" | "left" | "center";
|
|
474
474
|
cardProps: Partial< Mutable<CardProps> & {
|
|
475
475
|
style?: CSSProperties | undefined;
|
|
476
476
|
class?: any;
|
|
@@ -498,10 +498,6 @@ export declare const PlusSearch: {
|
|
|
498
498
|
$nextTick: nextTick;
|
|
499
499
|
$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;
|
|
500
500
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
501
|
-
modelValue: {
|
|
502
|
-
type: PropType<FieldValues>;
|
|
503
|
-
default: () => {};
|
|
504
|
-
};
|
|
505
501
|
collapseDuration: {
|
|
506
502
|
type: PropType<number>;
|
|
507
503
|
default: undefined;
|
|
@@ -522,6 +518,10 @@ export declare const PlusSearch: {
|
|
|
522
518
|
type: PropType<"grid" | "flex">;
|
|
523
519
|
default: undefined;
|
|
524
520
|
};
|
|
521
|
+
modelValue: {
|
|
522
|
+
type: PropType<FieldValues>;
|
|
523
|
+
default: () => {};
|
|
524
|
+
};
|
|
525
525
|
rules: {
|
|
526
526
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
527
527
|
default: () => {};
|
|
@@ -585,7 +585,7 @@ export declare const PlusSearch: {
|
|
|
585
585
|
default: boolean;
|
|
586
586
|
};
|
|
587
587
|
footerAlign: {
|
|
588
|
-
type: PropType<"
|
|
588
|
+
type: PropType<"right" | "left" | "center">;
|
|
589
589
|
default: string;
|
|
590
590
|
};
|
|
591
591
|
cardProps: {
|
|
@@ -604,10 +604,10 @@ export declare const PlusSearch: {
|
|
|
604
604
|
default: boolean;
|
|
605
605
|
};
|
|
606
606
|
}>> & {
|
|
607
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
608
607
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
609
608
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
610
609
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
610
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
611
611
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
612
612
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
613
613
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -627,14 +627,14 @@ export declare const PlusSearch: {
|
|
|
627
627
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
628
628
|
columns?: PlusColumn[] | undefined;
|
|
629
629
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
630
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
630
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
631
631
|
readonly label: string | ComputedRef<string>;
|
|
632
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
632
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
633
633
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
634
|
-
readonly tooltip: string |
|
|
634
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
635
635
|
style?: CSSProperties | undefined;
|
|
636
636
|
class?: any;
|
|
637
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
637
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
638
638
|
style?: CSSProperties | undefined;
|
|
639
639
|
class?: any;
|
|
640
640
|
} & RecordType>>;
|
|
@@ -701,12 +701,12 @@ export declare const PlusSearch: {
|
|
|
701
701
|
fieldInstance?: any;
|
|
702
702
|
valueIsReady?: Ref<boolean> | undefined;
|
|
703
703
|
prop: string;
|
|
704
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
704
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
705
705
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
706
|
-
tooltip: string |
|
|
706
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
707
707
|
style?: CSSProperties | undefined;
|
|
708
708
|
class?: any;
|
|
709
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
709
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
710
710
|
style?: CSSProperties | undefined;
|
|
711
711
|
class?: any;
|
|
712
712
|
} & RecordType>>;
|
|
@@ -735,14 +735,14 @@ export declare const PlusSearch: {
|
|
|
735
735
|
clearable: boolean;
|
|
736
736
|
index: number;
|
|
737
737
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
738
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
738
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
739
739
|
readonly label: string | ComputedRef<string>;
|
|
740
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
740
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
741
741
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
742
|
-
readonly tooltip: string |
|
|
742
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
743
743
|
style?: CSSProperties | undefined;
|
|
744
744
|
class?: any;
|
|
745
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
745
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
746
746
|
style?: CSSProperties | undefined;
|
|
747
747
|
class?: any;
|
|
748
748
|
} & RecordType>>;
|
|
@@ -809,12 +809,12 @@ export declare const PlusSearch: {
|
|
|
809
809
|
fieldInstance?: any;
|
|
810
810
|
valueIsReady?: Ref<boolean> | undefined;
|
|
811
811
|
prop: string;
|
|
812
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
812
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
813
813
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
814
|
-
tooltip: string |
|
|
814
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
815
815
|
style?: CSSProperties | undefined;
|
|
816
816
|
class?: any;
|
|
817
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
817
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
818
818
|
style?: CSSProperties | undefined;
|
|
819
819
|
class?: any;
|
|
820
820
|
} & RecordType>>;
|
|
@@ -866,10 +866,6 @@ export declare const PlusSearch: {
|
|
|
866
866
|
reset: (values: FieldValues) => void;
|
|
867
867
|
collapse: (isShowUnfold: boolean) => void;
|
|
868
868
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
869
|
-
modelValue: {
|
|
870
|
-
type: PropType<FieldValues>;
|
|
871
|
-
default: () => {};
|
|
872
|
-
};
|
|
873
869
|
columns: {
|
|
874
870
|
type: PropType< PlusColumn[]>;
|
|
875
871
|
default: () => never[];
|
|
@@ -878,6 +874,10 @@ export declare const PlusSearch: {
|
|
|
878
874
|
type: PropType<"grid" | "flex">;
|
|
879
875
|
default: "grid";
|
|
880
876
|
};
|
|
877
|
+
modelValue: {
|
|
878
|
+
type: PropType<FieldValues>;
|
|
879
|
+
default: () => {};
|
|
880
|
+
};
|
|
881
881
|
labelPosition: {
|
|
882
882
|
type: PropType<"top" | "right" | "left">;
|
|
883
883
|
default: undefined;
|
|
@@ -965,15 +965,15 @@ export declare const PlusSearch: {
|
|
|
965
965
|
default: undefined;
|
|
966
966
|
};
|
|
967
967
|
}>> & {
|
|
968
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
969
968
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
970
969
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
970
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
971
971
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
972
972
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
973
973
|
}, {
|
|
974
|
-
modelValue: FieldValues;
|
|
975
974
|
columns: PlusColumn[];
|
|
976
975
|
layout: "grid" | "flex";
|
|
976
|
+
modelValue: FieldValues;
|
|
977
977
|
labelPosition: "top" | "right" | "left";
|
|
978
978
|
inline: boolean;
|
|
979
979
|
showNumber: number;
|
|
@@ -1006,10 +1006,6 @@ export declare const PlusSearch: {
|
|
|
1006
1006
|
M: {};
|
|
1007
1007
|
Defaults: {};
|
|
1008
1008
|
}, Readonly< ExtractPropTypes<{
|
|
1009
|
-
modelValue: {
|
|
1010
|
-
type: PropType<FieldValues>;
|
|
1011
|
-
default: () => {};
|
|
1012
|
-
};
|
|
1013
1009
|
columns: {
|
|
1014
1010
|
type: PropType< PlusColumn[]>;
|
|
1015
1011
|
default: () => never[];
|
|
@@ -1018,6 +1014,10 @@ export declare const PlusSearch: {
|
|
|
1018
1014
|
type: PropType<"grid" | "flex">;
|
|
1019
1015
|
default: "grid";
|
|
1020
1016
|
};
|
|
1017
|
+
modelValue: {
|
|
1018
|
+
type: PropType<FieldValues>;
|
|
1019
|
+
default: () => {};
|
|
1020
|
+
};
|
|
1021
1021
|
labelPosition: {
|
|
1022
1022
|
type: PropType<"top" | "right" | "left">;
|
|
1023
1023
|
default: undefined;
|
|
@@ -1105,9 +1105,9 @@ export declare const PlusSearch: {
|
|
|
1105
1105
|
default: undefined;
|
|
1106
1106
|
};
|
|
1107
1107
|
}>> & {
|
|
1108
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1109
1108
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1110
1109
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1110
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1111
1111
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1112
1112
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1113
1113
|
}, {
|
|
@@ -1115,12 +1115,12 @@ export declare const PlusSearch: {
|
|
|
1115
1115
|
$: ComponentInternalInstance;
|
|
1116
1116
|
$data: {};
|
|
1117
1117
|
$props: Partial<{
|
|
1118
|
-
modelValue: FieldValues;
|
|
1119
1118
|
collapseDuration: number;
|
|
1120
1119
|
collapseTransition: boolean;
|
|
1121
1120
|
columns: PlusColumn[];
|
|
1122
1121
|
group: false | PlusFormGroupRow[];
|
|
1123
1122
|
layout: "grid" | "flex";
|
|
1123
|
+
modelValue: FieldValues;
|
|
1124
1124
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1125
1125
|
labelPosition: "top" | "right" | "left";
|
|
1126
1126
|
labelWidth: string | number;
|
|
@@ -1141,7 +1141,7 @@ export declare const PlusSearch: {
|
|
|
1141
1141
|
submitText: string;
|
|
1142
1142
|
resetText: string;
|
|
1143
1143
|
submitLoading: boolean;
|
|
1144
|
-
footerAlign: "
|
|
1144
|
+
footerAlign: "right" | "left" | "center";
|
|
1145
1145
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1146
1146
|
style?: CSSProperties | undefined;
|
|
1147
1147
|
class?: any;
|
|
@@ -1149,9 +1149,9 @@ export declare const PlusSearch: {
|
|
|
1149
1149
|
prevent: boolean;
|
|
1150
1150
|
clearable: boolean;
|
|
1151
1151
|
}> & Omit<{
|
|
1152
|
-
readonly modelValue: FieldValues;
|
|
1153
1152
|
readonly columns: PlusColumn[];
|
|
1154
1153
|
readonly group: false | PlusFormGroupRow[];
|
|
1154
|
+
readonly modelValue: FieldValues;
|
|
1155
1155
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1156
1156
|
readonly labelPosition: "top" | "right" | "left";
|
|
1157
1157
|
readonly labelWidth: string | number;
|
|
@@ -1172,7 +1172,7 @@ export declare const PlusSearch: {
|
|
|
1172
1172
|
readonly submitText: string;
|
|
1173
1173
|
readonly resetText: string;
|
|
1174
1174
|
readonly submitLoading: boolean;
|
|
1175
|
-
readonly footerAlign: "
|
|
1175
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1176
1176
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1177
1177
|
style?: CSSProperties | undefined;
|
|
1178
1178
|
class?: any;
|
|
@@ -1182,17 +1182,13 @@ export declare const PlusSearch: {
|
|
|
1182
1182
|
readonly collapseDuration?: number | undefined;
|
|
1183
1183
|
readonly collapseTransition?: boolean | undefined;
|
|
1184
1184
|
readonly layout?: "grid" | "flex" | undefined;
|
|
1185
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1186
1185
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1187
1186
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1188
1187
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1188
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1189
1189
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1190
1190
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1191
1191
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1192
|
-
modelValue: {
|
|
1193
|
-
type: PropType<FieldValues>;
|
|
1194
|
-
default: () => {};
|
|
1195
|
-
};
|
|
1196
1192
|
collapseDuration: {
|
|
1197
1193
|
type: PropType<number>;
|
|
1198
1194
|
default: undefined;
|
|
@@ -1213,6 +1209,10 @@ export declare const PlusSearch: {
|
|
|
1213
1209
|
type: PropType<"grid" | "flex">;
|
|
1214
1210
|
default: undefined;
|
|
1215
1211
|
};
|
|
1212
|
+
modelValue: {
|
|
1213
|
+
type: PropType<FieldValues>;
|
|
1214
|
+
default: () => {};
|
|
1215
|
+
};
|
|
1216
1216
|
rules: {
|
|
1217
1217
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1218
1218
|
default: () => {};
|
|
@@ -1276,7 +1276,7 @@ export declare const PlusSearch: {
|
|
|
1276
1276
|
default: boolean;
|
|
1277
1277
|
};
|
|
1278
1278
|
footerAlign: {
|
|
1279
|
-
type: PropType<"
|
|
1279
|
+
type: PropType<"right" | "left" | "center">;
|
|
1280
1280
|
default: string;
|
|
1281
1281
|
};
|
|
1282
1282
|
cardProps: {
|
|
@@ -1295,13 +1295,13 @@ export declare const PlusSearch: {
|
|
|
1295
1295
|
default: boolean;
|
|
1296
1296
|
};
|
|
1297
1297
|
}>> & {
|
|
1298
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1299
1298
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1300
1299
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1301
1300
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1301
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1302
1302
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1303
1303
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1304
|
-
}, "
|
|
1304
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1305
1305
|
$attrs: {
|
|
1306
1306
|
[x: string]: unknown;
|
|
1307
1307
|
};
|
|
@@ -1313,13 +1313,9 @@ export declare const PlusSearch: {
|
|
|
1313
1313
|
}>;
|
|
1314
1314
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1315
1315
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1316
|
-
$emit: ((event: "
|
|
1316
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1317
1317
|
$el: any;
|
|
1318
1318
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1319
|
-
modelValue: {
|
|
1320
|
-
type: PropType<FieldValues>;
|
|
1321
|
-
default: () => {};
|
|
1322
|
-
};
|
|
1323
1319
|
collapseDuration: {
|
|
1324
1320
|
type: PropType<number>;
|
|
1325
1321
|
default: undefined;
|
|
@@ -1340,6 +1336,10 @@ export declare const PlusSearch: {
|
|
|
1340
1336
|
type: PropType<"grid" | "flex">;
|
|
1341
1337
|
default: undefined;
|
|
1342
1338
|
};
|
|
1339
|
+
modelValue: {
|
|
1340
|
+
type: PropType<FieldValues>;
|
|
1341
|
+
default: () => {};
|
|
1342
|
+
};
|
|
1343
1343
|
rules: {
|
|
1344
1344
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1345
1345
|
default: () => {};
|
|
@@ -1403,7 +1403,7 @@ export declare const PlusSearch: {
|
|
|
1403
1403
|
default: boolean;
|
|
1404
1404
|
};
|
|
1405
1405
|
footerAlign: {
|
|
1406
|
-
type: PropType<"
|
|
1406
|
+
type: PropType<"right" | "left" | "center">;
|
|
1407
1407
|
default: string;
|
|
1408
1408
|
};
|
|
1409
1409
|
cardProps: {
|
|
@@ -1422,10 +1422,10 @@ export declare const PlusSearch: {
|
|
|
1422
1422
|
default: boolean;
|
|
1423
1423
|
};
|
|
1424
1424
|
}>> & {
|
|
1425
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1426
1425
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1427
1426
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1428
1427
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1428
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1429
1429
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1430
1430
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1431
1431
|
}, {
|
|
@@ -1440,12 +1440,12 @@ export declare const PlusSearch: {
|
|
|
1440
1440
|
submitError: (errors: unknown) => void;
|
|
1441
1441
|
validate: (...args: any[]) => void;
|
|
1442
1442
|
}, string, {
|
|
1443
|
-
modelValue: FieldValues;
|
|
1444
1443
|
collapseDuration: number;
|
|
1445
1444
|
collapseTransition: boolean;
|
|
1446
1445
|
columns: PlusColumn[];
|
|
1447
1446
|
group: false | PlusFormGroupRow[];
|
|
1448
1447
|
layout: "grid" | "flex";
|
|
1448
|
+
modelValue: FieldValues;
|
|
1449
1449
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1450
1450
|
labelPosition: "top" | "right" | "left";
|
|
1451
1451
|
labelWidth: string | number;
|
|
@@ -1466,7 +1466,7 @@ export declare const PlusSearch: {
|
|
|
1466
1466
|
submitText: string;
|
|
1467
1467
|
resetText: string;
|
|
1468
1468
|
submitLoading: boolean;
|
|
1469
|
-
footerAlign: "
|
|
1469
|
+
footerAlign: "right" | "left" | "center";
|
|
1470
1470
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1471
1471
|
style?: CSSProperties | undefined;
|
|
1472
1472
|
class?: any;
|
|
@@ -1494,10 +1494,6 @@ export declare const PlusSearch: {
|
|
|
1494
1494
|
$nextTick: nextTick;
|
|
1495
1495
|
$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;
|
|
1496
1496
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1497
|
-
modelValue: {
|
|
1498
|
-
type: PropType<FieldValues>;
|
|
1499
|
-
default: () => {};
|
|
1500
|
-
};
|
|
1501
1497
|
collapseDuration: {
|
|
1502
1498
|
type: PropType<number>;
|
|
1503
1499
|
default: undefined;
|
|
@@ -1518,6 +1514,10 @@ export declare const PlusSearch: {
|
|
|
1518
1514
|
type: PropType<"grid" | "flex">;
|
|
1519
1515
|
default: undefined;
|
|
1520
1516
|
};
|
|
1517
|
+
modelValue: {
|
|
1518
|
+
type: PropType<FieldValues>;
|
|
1519
|
+
default: () => {};
|
|
1520
|
+
};
|
|
1521
1521
|
rules: {
|
|
1522
1522
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1523
1523
|
default: () => {};
|
|
@@ -1581,7 +1581,7 @@ export declare const PlusSearch: {
|
|
|
1581
1581
|
default: boolean;
|
|
1582
1582
|
};
|
|
1583
1583
|
footerAlign: {
|
|
1584
|
-
type: PropType<"
|
|
1584
|
+
type: PropType<"right" | "left" | "center">;
|
|
1585
1585
|
default: string;
|
|
1586
1586
|
};
|
|
1587
1587
|
cardProps: {
|
|
@@ -1600,10 +1600,10 @@ export declare const PlusSearch: {
|
|
|
1600
1600
|
default: boolean;
|
|
1601
1601
|
};
|
|
1602
1602
|
}>> & {
|
|
1603
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1604
1603
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1605
1604
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1606
1605
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1606
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1607
1607
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1608
1608
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1609
1609
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1623,14 +1623,14 @@ export declare const PlusSearch: {
|
|
|
1623
1623
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1624
1624
|
columns?: PlusColumn[] | undefined;
|
|
1625
1625
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1626
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1626
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1627
1627
|
readonly label: string | ComputedRef<string>;
|
|
1628
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1628
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1629
1629
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1630
|
-
readonly tooltip: string |
|
|
1630
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1631
1631
|
style?: CSSProperties | undefined;
|
|
1632
1632
|
class?: any;
|
|
1633
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1633
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1634
1634
|
style?: CSSProperties | undefined;
|
|
1635
1635
|
class?: any;
|
|
1636
1636
|
} & RecordType>>;
|
|
@@ -1697,12 +1697,12 @@ export declare const PlusSearch: {
|
|
|
1697
1697
|
fieldInstance?: any;
|
|
1698
1698
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1699
1699
|
prop: string;
|
|
1700
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1700
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1701
1701
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1702
|
-
tooltip: string |
|
|
1702
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1703
1703
|
style?: CSSProperties | undefined;
|
|
1704
1704
|
class?: any;
|
|
1705
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1705
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1706
1706
|
style?: CSSProperties | undefined;
|
|
1707
1707
|
class?: any;
|
|
1708
1708
|
} & RecordType>>;
|
|
@@ -1731,14 +1731,14 @@ export declare const PlusSearch: {
|
|
|
1731
1731
|
clearable: boolean;
|
|
1732
1732
|
index: number;
|
|
1733
1733
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1734
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1734
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1735
1735
|
readonly label: string | ComputedRef<string>;
|
|
1736
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1736
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1737
1737
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1738
|
-
readonly tooltip: string |
|
|
1738
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1739
1739
|
style?: CSSProperties | undefined;
|
|
1740
1740
|
class?: any;
|
|
1741
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1741
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1742
1742
|
style?: CSSProperties | undefined;
|
|
1743
1743
|
class?: any;
|
|
1744
1744
|
} & RecordType>>;
|
|
@@ -1805,12 +1805,12 @@ export declare const PlusSearch: {
|
|
|
1805
1805
|
fieldInstance?: any;
|
|
1806
1806
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1807
1807
|
prop: string;
|
|
1808
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1808
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1809
1809
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1810
|
-
tooltip: string |
|
|
1810
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1811
1811
|
style?: CSSProperties | undefined;
|
|
1812
1812
|
class?: any;
|
|
1813
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1813
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1814
1814
|
style?: CSSProperties | undefined;
|
|
1815
1815
|
class?: any;
|
|
1816
1816
|
} & RecordType>>;
|
|
@@ -1856,9 +1856,9 @@ export declare const PlusSearch: {
|
|
|
1856
1856
|
handleSearch: () => void;
|
|
1857
1857
|
handleUnfold: (e: MouseEvent) => void;
|
|
1858
1858
|
}, {}, {}, {}, {
|
|
1859
|
-
modelValue: FieldValues;
|
|
1860
1859
|
columns: PlusColumn[];
|
|
1861
1860
|
layout: "grid" | "flex";
|
|
1861
|
+
modelValue: FieldValues;
|
|
1862
1862
|
labelPosition: "top" | "right" | "left";
|
|
1863
1863
|
inline: boolean;
|
|
1864
1864
|
showNumber: number;
|
|
@@ -1888,10 +1888,6 @@ export declare const PlusSearch: {
|
|
|
1888
1888
|
__isTeleport?: undefined;
|
|
1889
1889
|
__isSuspense?: undefined;
|
|
1890
1890
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1891
|
-
modelValue: {
|
|
1892
|
-
type: PropType<FieldValues>;
|
|
1893
|
-
default: () => {};
|
|
1894
|
-
};
|
|
1895
1891
|
columns: {
|
|
1896
1892
|
type: PropType< PlusColumn[]>;
|
|
1897
1893
|
default: () => never[];
|
|
@@ -1900,6 +1896,10 @@ export declare const PlusSearch: {
|
|
|
1900
1896
|
type: PropType<"grid" | "flex">;
|
|
1901
1897
|
default: "grid";
|
|
1902
1898
|
};
|
|
1899
|
+
modelValue: {
|
|
1900
|
+
type: PropType<FieldValues>;
|
|
1901
|
+
default: () => {};
|
|
1902
|
+
};
|
|
1903
1903
|
labelPosition: {
|
|
1904
1904
|
type: PropType<"top" | "right" | "left">;
|
|
1905
1905
|
default: undefined;
|
|
@@ -1987,9 +1987,9 @@ export declare const PlusSearch: {
|
|
|
1987
1987
|
default: undefined;
|
|
1988
1988
|
};
|
|
1989
1989
|
}>> & {
|
|
1990
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1991
1990
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1992
1991
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1992
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1993
1993
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1994
1994
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1995
1995
|
}, {
|
|
@@ -1997,12 +1997,12 @@ export declare const PlusSearch: {
|
|
|
1997
1997
|
$: ComponentInternalInstance;
|
|
1998
1998
|
$data: {};
|
|
1999
1999
|
$props: Partial<{
|
|
2000
|
-
modelValue: FieldValues;
|
|
2001
2000
|
collapseDuration: number;
|
|
2002
2001
|
collapseTransition: boolean;
|
|
2003
2002
|
columns: PlusColumn[];
|
|
2004
2003
|
group: false | PlusFormGroupRow[];
|
|
2005
2004
|
layout: "grid" | "flex";
|
|
2005
|
+
modelValue: FieldValues;
|
|
2006
2006
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2007
2007
|
labelPosition: "top" | "right" | "left";
|
|
2008
2008
|
labelWidth: string | number;
|
|
@@ -2023,7 +2023,7 @@ export declare const PlusSearch: {
|
|
|
2023
2023
|
submitText: string;
|
|
2024
2024
|
resetText: string;
|
|
2025
2025
|
submitLoading: boolean;
|
|
2026
|
-
footerAlign: "
|
|
2026
|
+
footerAlign: "right" | "left" | "center";
|
|
2027
2027
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2028
2028
|
style?: CSSProperties | undefined;
|
|
2029
2029
|
class?: any;
|
|
@@ -2031,9 +2031,9 @@ export declare const PlusSearch: {
|
|
|
2031
2031
|
prevent: boolean;
|
|
2032
2032
|
clearable: boolean;
|
|
2033
2033
|
}> & Omit<{
|
|
2034
|
-
readonly modelValue: FieldValues;
|
|
2035
2034
|
readonly columns: PlusColumn[];
|
|
2036
2035
|
readonly group: false | PlusFormGroupRow[];
|
|
2036
|
+
readonly modelValue: FieldValues;
|
|
2037
2037
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2038
2038
|
readonly labelPosition: "top" | "right" | "left";
|
|
2039
2039
|
readonly labelWidth: string | number;
|
|
@@ -2054,7 +2054,7 @@ export declare const PlusSearch: {
|
|
|
2054
2054
|
readonly submitText: string;
|
|
2055
2055
|
readonly resetText: string;
|
|
2056
2056
|
readonly submitLoading: boolean;
|
|
2057
|
-
readonly footerAlign: "
|
|
2057
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
2058
2058
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
2059
2059
|
style?: CSSProperties | undefined;
|
|
2060
2060
|
class?: any;
|
|
@@ -2064,17 +2064,13 @@ export declare const PlusSearch: {
|
|
|
2064
2064
|
readonly collapseDuration?: number | undefined;
|
|
2065
2065
|
readonly collapseTransition?: boolean | undefined;
|
|
2066
2066
|
readonly layout?: "grid" | "flex" | undefined;
|
|
2067
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2068
2067
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2069
2068
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2070
2069
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2070
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2071
2071
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2072
2072
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2073
2073
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2074
|
-
modelValue: {
|
|
2075
|
-
type: PropType<FieldValues>;
|
|
2076
|
-
default: () => {};
|
|
2077
|
-
};
|
|
2078
2074
|
collapseDuration: {
|
|
2079
2075
|
type: PropType<number>;
|
|
2080
2076
|
default: undefined;
|
|
@@ -2095,6 +2091,10 @@ export declare const PlusSearch: {
|
|
|
2095
2091
|
type: PropType<"grid" | "flex">;
|
|
2096
2092
|
default: undefined;
|
|
2097
2093
|
};
|
|
2094
|
+
modelValue: {
|
|
2095
|
+
type: PropType<FieldValues>;
|
|
2096
|
+
default: () => {};
|
|
2097
|
+
};
|
|
2098
2098
|
rules: {
|
|
2099
2099
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2100
2100
|
default: () => {};
|
|
@@ -2158,7 +2158,7 @@ export declare const PlusSearch: {
|
|
|
2158
2158
|
default: boolean;
|
|
2159
2159
|
};
|
|
2160
2160
|
footerAlign: {
|
|
2161
|
-
type: PropType<"
|
|
2161
|
+
type: PropType<"right" | "left" | "center">;
|
|
2162
2162
|
default: string;
|
|
2163
2163
|
};
|
|
2164
2164
|
cardProps: {
|
|
@@ -2177,13 +2177,13 @@ export declare const PlusSearch: {
|
|
|
2177
2177
|
default: boolean;
|
|
2178
2178
|
};
|
|
2179
2179
|
}>> & {
|
|
2180
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2181
2180
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2182
2181
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2183
2182
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2183
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2184
2184
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2185
2185
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2186
|
-
}, "
|
|
2186
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2187
2187
|
$attrs: {
|
|
2188
2188
|
[x: string]: unknown;
|
|
2189
2189
|
};
|
|
@@ -2195,13 +2195,9 @@ export declare const PlusSearch: {
|
|
|
2195
2195
|
}>;
|
|
2196
2196
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2197
2197
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2198
|
-
$emit: ((event: "
|
|
2198
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2199
2199
|
$el: any;
|
|
2200
2200
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2201
|
-
modelValue: {
|
|
2202
|
-
type: PropType<FieldValues>;
|
|
2203
|
-
default: () => {};
|
|
2204
|
-
};
|
|
2205
2201
|
collapseDuration: {
|
|
2206
2202
|
type: PropType<number>;
|
|
2207
2203
|
default: undefined;
|
|
@@ -2222,6 +2218,10 @@ export declare const PlusSearch: {
|
|
|
2222
2218
|
type: PropType<"grid" | "flex">;
|
|
2223
2219
|
default: undefined;
|
|
2224
2220
|
};
|
|
2221
|
+
modelValue: {
|
|
2222
|
+
type: PropType<FieldValues>;
|
|
2223
|
+
default: () => {};
|
|
2224
|
+
};
|
|
2225
2225
|
rules: {
|
|
2226
2226
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2227
2227
|
default: () => {};
|
|
@@ -2285,7 +2285,7 @@ export declare const PlusSearch: {
|
|
|
2285
2285
|
default: boolean;
|
|
2286
2286
|
};
|
|
2287
2287
|
footerAlign: {
|
|
2288
|
-
type: PropType<"
|
|
2288
|
+
type: PropType<"right" | "left" | "center">;
|
|
2289
2289
|
default: string;
|
|
2290
2290
|
};
|
|
2291
2291
|
cardProps: {
|
|
@@ -2304,10 +2304,10 @@ export declare const PlusSearch: {
|
|
|
2304
2304
|
default: boolean;
|
|
2305
2305
|
};
|
|
2306
2306
|
}>> & {
|
|
2307
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2308
2307
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2309
2308
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2310
2309
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2310
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2311
2311
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2312
2312
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2313
2313
|
}, {
|
|
@@ -2322,12 +2322,12 @@ export declare const PlusSearch: {
|
|
|
2322
2322
|
submitError: (errors: unknown) => void;
|
|
2323
2323
|
validate: (...args: any[]) => void;
|
|
2324
2324
|
}, string, {
|
|
2325
|
-
modelValue: FieldValues;
|
|
2326
2325
|
collapseDuration: number;
|
|
2327
2326
|
collapseTransition: boolean;
|
|
2328
2327
|
columns: PlusColumn[];
|
|
2329
2328
|
group: false | PlusFormGroupRow[];
|
|
2330
2329
|
layout: "grid" | "flex";
|
|
2330
|
+
modelValue: FieldValues;
|
|
2331
2331
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2332
2332
|
labelPosition: "top" | "right" | "left";
|
|
2333
2333
|
labelWidth: string | number;
|
|
@@ -2348,7 +2348,7 @@ export declare const PlusSearch: {
|
|
|
2348
2348
|
submitText: string;
|
|
2349
2349
|
resetText: string;
|
|
2350
2350
|
submitLoading: boolean;
|
|
2351
|
-
footerAlign: "
|
|
2351
|
+
footerAlign: "right" | "left" | "center";
|
|
2352
2352
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2353
2353
|
style?: CSSProperties | undefined;
|
|
2354
2354
|
class?: any;
|
|
@@ -2376,10 +2376,6 @@ export declare const PlusSearch: {
|
|
|
2376
2376
|
$nextTick: nextTick;
|
|
2377
2377
|
$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;
|
|
2378
2378
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2379
|
-
modelValue: {
|
|
2380
|
-
type: PropType<FieldValues>;
|
|
2381
|
-
default: () => {};
|
|
2382
|
-
};
|
|
2383
2379
|
collapseDuration: {
|
|
2384
2380
|
type: PropType<number>;
|
|
2385
2381
|
default: undefined;
|
|
@@ -2400,6 +2396,10 @@ export declare const PlusSearch: {
|
|
|
2400
2396
|
type: PropType<"grid" | "flex">;
|
|
2401
2397
|
default: undefined;
|
|
2402
2398
|
};
|
|
2399
|
+
modelValue: {
|
|
2400
|
+
type: PropType<FieldValues>;
|
|
2401
|
+
default: () => {};
|
|
2402
|
+
};
|
|
2403
2403
|
rules: {
|
|
2404
2404
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2405
2405
|
default: () => {};
|
|
@@ -2463,7 +2463,7 @@ export declare const PlusSearch: {
|
|
|
2463
2463
|
default: boolean;
|
|
2464
2464
|
};
|
|
2465
2465
|
footerAlign: {
|
|
2466
|
-
type: PropType<"
|
|
2466
|
+
type: PropType<"right" | "left" | "center">;
|
|
2467
2467
|
default: string;
|
|
2468
2468
|
};
|
|
2469
2469
|
cardProps: {
|
|
@@ -2482,10 +2482,10 @@ export declare const PlusSearch: {
|
|
|
2482
2482
|
default: boolean;
|
|
2483
2483
|
};
|
|
2484
2484
|
}>> & {
|
|
2485
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2486
2485
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2487
2486
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2488
2487
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2488
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2489
2489
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2490
2490
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2491
2491
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2505,14 +2505,14 @@ export declare const PlusSearch: {
|
|
|
2505
2505
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2506
2506
|
columns?: PlusColumn[] | undefined;
|
|
2507
2507
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2508
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2508
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2509
2509
|
readonly label: string | ComputedRef<string>;
|
|
2510
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2510
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2511
2511
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2512
|
-
readonly tooltip: string |
|
|
2512
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2513
2513
|
style?: CSSProperties | undefined;
|
|
2514
2514
|
class?: any;
|
|
2515
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2515
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2516
2516
|
style?: CSSProperties | undefined;
|
|
2517
2517
|
class?: any;
|
|
2518
2518
|
} & RecordType>>;
|
|
@@ -2579,12 +2579,12 @@ export declare const PlusSearch: {
|
|
|
2579
2579
|
fieldInstance?: any;
|
|
2580
2580
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2581
2581
|
prop: string;
|
|
2582
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2582
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2583
2583
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2584
|
-
tooltip: string |
|
|
2584
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2585
2585
|
style?: CSSProperties | undefined;
|
|
2586
2586
|
class?: any;
|
|
2587
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2587
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2588
2588
|
style?: CSSProperties | undefined;
|
|
2589
2589
|
class?: any;
|
|
2590
2590
|
} & RecordType>>;
|
|
@@ -2613,14 +2613,14 @@ export declare const PlusSearch: {
|
|
|
2613
2613
|
clearable: boolean;
|
|
2614
2614
|
index: number;
|
|
2615
2615
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2616
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2616
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2617
2617
|
readonly label: string | ComputedRef<string>;
|
|
2618
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2618
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2619
2619
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2620
|
-
readonly tooltip: string |
|
|
2620
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2621
2621
|
style?: CSSProperties | undefined;
|
|
2622
2622
|
class?: any;
|
|
2623
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2623
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2624
2624
|
style?: CSSProperties | undefined;
|
|
2625
2625
|
class?: any;
|
|
2626
2626
|
} & RecordType>>;
|
|
@@ -2687,12 +2687,12 @@ export declare const PlusSearch: {
|
|
|
2687
2687
|
fieldInstance?: any;
|
|
2688
2688
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2689
2689
|
prop: string;
|
|
2690
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2690
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2691
2691
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2692
|
-
tooltip: string |
|
|
2692
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2693
2693
|
style?: CSSProperties | undefined;
|
|
2694
2694
|
class?: any;
|
|
2695
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2695
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2696
2696
|
style?: CSSProperties | undefined;
|
|
2697
2697
|
class?: any;
|
|
2698
2698
|
} & RecordType>>;
|
|
@@ -2744,9 +2744,9 @@ export declare const PlusSearch: {
|
|
|
2744
2744
|
reset: (values: FieldValues) => void;
|
|
2745
2745
|
collapse: (isShowUnfold: boolean) => void;
|
|
2746
2746
|
}, string, {
|
|
2747
|
-
modelValue: FieldValues;
|
|
2748
2747
|
columns: PlusColumn[];
|
|
2749
2748
|
layout: "grid" | "flex";
|
|
2749
|
+
modelValue: FieldValues;
|
|
2750
2750
|
labelPosition: "top" | "right" | "left";
|
|
2751
2751
|
inline: boolean;
|
|
2752
2752
|
showNumber: number;
|
|
@@ -2773,14 +2773,14 @@ export declare const PlusSearch: {
|
|
|
2773
2773
|
resetIcon: Component | null;
|
|
2774
2774
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2775
2775
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2776
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2776
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2777
2777
|
readonly label: string | ComputedRef<string>;
|
|
2778
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2778
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2779
2779
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2780
|
-
readonly tooltip: string |
|
|
2780
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2781
2781
|
style?: CSSProperties | undefined;
|
|
2782
2782
|
class?: any;
|
|
2783
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2783
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2784
2784
|
style?: CSSProperties | undefined;
|
|
2785
2785
|
class?: any;
|
|
2786
2786
|
} & RecordType>>;
|
|
@@ -2847,12 +2847,12 @@ export declare const PlusSearch: {
|
|
|
2847
2847
|
fieldInstance?: any;
|
|
2848
2848
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2849
2849
|
prop: string;
|
|
2850
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2850
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2851
2851
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2852
|
-
tooltip: string |
|
|
2852
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2853
2853
|
style?: CSSProperties | undefined;
|
|
2854
2854
|
class?: any;
|
|
2855
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2855
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2856
2856
|
style?: CSSProperties | undefined;
|
|
2857
2857
|
class?: any;
|
|
2858
2858
|
} & RecordType>>;
|