yc-pro-components 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +50 -50
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +543 -453
- package/es/components/page/src/index.vue.d.ts +185 -155
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +193 -155
- package/es/components/search/src/index.vue.d.ts +56 -50
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +445 -518
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +1 -1
- package/index.css +9 -5
- package/index.js +23 -7
- package/index.min.css +1 -1
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +23 -7
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +50 -50
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +543 -453
- package/lib/components/page/src/index.vue.d.ts +185 -155
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +193 -155
- package/lib/components/search/src/index.vue.d.ts +56 -50
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +445 -518
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-page.css +1 -1
- package/theme-chalk/src/page.scss +1 -1
|
@@ -2,22 +2,22 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
4
4
|
import { RowProps, ColProps, FormItemRule, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
5
|
-
import {
|
|
6
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties
|
|
5
|
+
import { PlusColumn, FieldValues, Mutable, RecordType, PlusFormGroupRow, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
6
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Component, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
7
7
|
import { default as Search } from './src/index.vue';
|
|
8
8
|
|
|
9
9
|
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[];
|
|
20
16
|
};
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: PropType<FieldValues>;
|
|
19
|
+
default: () => {};
|
|
20
|
+
};
|
|
21
21
|
labelPosition: {
|
|
22
22
|
type: PropType<"top" | "right" | "left">;
|
|
23
23
|
default: undefined;
|
|
@@ -96,10 +96,18 @@ export declare const PlusSearch: {
|
|
|
96
96
|
type: PropType<boolean>;
|
|
97
97
|
default: boolean;
|
|
98
98
|
};
|
|
99
|
+
searchIcon: {
|
|
100
|
+
type: PropType< Component | null>;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
|
+
resetIcon: {
|
|
104
|
+
type: PropType< Component | null>;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
99
107
|
}>> & {
|
|
100
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
101
108
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
102
109
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
110
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
103
111
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
104
112
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
105
113
|
}, {
|
|
@@ -107,11 +115,11 @@ export declare const PlusSearch: {
|
|
|
107
115
|
$: ComponentInternalInstance;
|
|
108
116
|
$data: {};
|
|
109
117
|
$props: Partial<{
|
|
110
|
-
modelValue: FieldValues;
|
|
111
118
|
collapseDuration: number;
|
|
112
119
|
collapseTransition: boolean;
|
|
113
120
|
columns: PlusColumn[];
|
|
114
121
|
group: false | PlusFormGroupRow[];
|
|
122
|
+
modelValue: FieldValues;
|
|
115
123
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
116
124
|
labelPosition: "top" | "right" | "left";
|
|
117
125
|
labelWidth: string | number;
|
|
@@ -132,7 +140,7 @@ export declare const PlusSearch: {
|
|
|
132
140
|
submitText: string;
|
|
133
141
|
resetText: string;
|
|
134
142
|
submitLoading: boolean;
|
|
135
|
-
footerAlign: "
|
|
143
|
+
footerAlign: "right" | "left" | "center";
|
|
136
144
|
cardProps: Partial< Mutable<CardProps> & {
|
|
137
145
|
style?: CSSProperties | undefined;
|
|
138
146
|
class?: any;
|
|
@@ -140,9 +148,9 @@ export declare const PlusSearch: {
|
|
|
140
148
|
prevent: boolean;
|
|
141
149
|
clearable: boolean;
|
|
142
150
|
}> & Omit<{
|
|
143
|
-
readonly modelValue: FieldValues;
|
|
144
151
|
readonly columns: PlusColumn[];
|
|
145
152
|
readonly group: false | PlusFormGroupRow[];
|
|
153
|
+
readonly modelValue: FieldValues;
|
|
146
154
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
147
155
|
readonly labelPosition: "top" | "right" | "left";
|
|
148
156
|
readonly labelWidth: string | number;
|
|
@@ -163,7 +171,7 @@ export declare const PlusSearch: {
|
|
|
163
171
|
readonly submitText: string;
|
|
164
172
|
readonly resetText: string;
|
|
165
173
|
readonly submitLoading: boolean;
|
|
166
|
-
readonly footerAlign: "
|
|
174
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
167
175
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
168
176
|
style?: CSSProperties | undefined;
|
|
169
177
|
class?: any;
|
|
@@ -172,17 +180,13 @@ export declare const PlusSearch: {
|
|
|
172
180
|
readonly clearable: boolean;
|
|
173
181
|
readonly collapseDuration?: number | undefined;
|
|
174
182
|
readonly collapseTransition?: boolean | undefined;
|
|
175
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
176
183
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
177
184
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
178
185
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
186
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
179
187
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
180
188
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
181
189
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
182
|
-
modelValue: {
|
|
183
|
-
type: PropType<FieldValues>;
|
|
184
|
-
default: () => {};
|
|
185
|
-
};
|
|
186
190
|
collapseDuration: {
|
|
187
191
|
type: PropType<number>;
|
|
188
192
|
default: undefined;
|
|
@@ -199,6 +203,10 @@ export declare const PlusSearch: {
|
|
|
199
203
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
200
204
|
default: boolean;
|
|
201
205
|
};
|
|
206
|
+
modelValue: {
|
|
207
|
+
type: PropType<FieldValues>;
|
|
208
|
+
default: () => {};
|
|
209
|
+
};
|
|
202
210
|
rules: {
|
|
203
211
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
204
212
|
default: () => {};
|
|
@@ -262,7 +270,7 @@ export declare const PlusSearch: {
|
|
|
262
270
|
default: boolean;
|
|
263
271
|
};
|
|
264
272
|
footerAlign: {
|
|
265
|
-
type: PropType<"
|
|
273
|
+
type: PropType<"right" | "left" | "center">;
|
|
266
274
|
default: string;
|
|
267
275
|
};
|
|
268
276
|
cardProps: {
|
|
@@ -281,13 +289,13 @@ export declare const PlusSearch: {
|
|
|
281
289
|
default: boolean;
|
|
282
290
|
};
|
|
283
291
|
}>> & {
|
|
284
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
285
292
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
286
293
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
287
294
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
295
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
288
296
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
289
297
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
290
|
-
}, "
|
|
298
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
291
299
|
$attrs: {
|
|
292
300
|
[x: string]: unknown;
|
|
293
301
|
};
|
|
@@ -299,13 +307,9 @@ export declare const PlusSearch: {
|
|
|
299
307
|
}>;
|
|
300
308
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
301
309
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
302
|
-
$emit: ((event: "
|
|
310
|
+
$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);
|
|
303
311
|
$el: any;
|
|
304
312
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
305
|
-
modelValue: {
|
|
306
|
-
type: PropType<FieldValues>;
|
|
307
|
-
default: () => {};
|
|
308
|
-
};
|
|
309
313
|
collapseDuration: {
|
|
310
314
|
type: PropType<number>;
|
|
311
315
|
default: undefined;
|
|
@@ -322,6 +326,10 @@ export declare const PlusSearch: {
|
|
|
322
326
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
323
327
|
default: boolean;
|
|
324
328
|
};
|
|
329
|
+
modelValue: {
|
|
330
|
+
type: PropType<FieldValues>;
|
|
331
|
+
default: () => {};
|
|
332
|
+
};
|
|
325
333
|
rules: {
|
|
326
334
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
327
335
|
default: () => {};
|
|
@@ -385,7 +393,7 @@ export declare const PlusSearch: {
|
|
|
385
393
|
default: boolean;
|
|
386
394
|
};
|
|
387
395
|
footerAlign: {
|
|
388
|
-
type: PropType<"
|
|
396
|
+
type: PropType<"right" | "left" | "center">;
|
|
389
397
|
default: string;
|
|
390
398
|
};
|
|
391
399
|
cardProps: {
|
|
@@ -404,10 +412,10 @@ export declare const PlusSearch: {
|
|
|
404
412
|
default: boolean;
|
|
405
413
|
};
|
|
406
414
|
}>> & {
|
|
407
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
408
415
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
409
416
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
410
417
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
418
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
411
419
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
412
420
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
413
421
|
}, {
|
|
@@ -703,11 +711,11 @@ export declare const PlusSearch: {
|
|
|
703
711
|
submitError: (errors: unknown) => void;
|
|
704
712
|
validate: (...args: any[]) => void;
|
|
705
713
|
}, string, {
|
|
706
|
-
modelValue: FieldValues;
|
|
707
714
|
collapseDuration: number;
|
|
708
715
|
collapseTransition: boolean;
|
|
709
716
|
columns: PlusColumn[];
|
|
710
717
|
group: false | PlusFormGroupRow[];
|
|
718
|
+
modelValue: FieldValues;
|
|
711
719
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
712
720
|
labelPosition: "top" | "right" | "left";
|
|
713
721
|
labelWidth: string | number;
|
|
@@ -728,7 +736,7 @@ export declare const PlusSearch: {
|
|
|
728
736
|
submitText: string;
|
|
729
737
|
resetText: string;
|
|
730
738
|
submitLoading: boolean;
|
|
731
|
-
footerAlign: "
|
|
739
|
+
footerAlign: "right" | "left" | "center";
|
|
732
740
|
cardProps: Partial< Mutable<CardProps> & {
|
|
733
741
|
style?: CSSProperties | undefined;
|
|
734
742
|
class?: any;
|
|
@@ -756,10 +764,6 @@ export declare const PlusSearch: {
|
|
|
756
764
|
$nextTick: nextTick;
|
|
757
765
|
$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;
|
|
758
766
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
759
|
-
modelValue: {
|
|
760
|
-
type: PropType<FieldValues>;
|
|
761
|
-
default: () => {};
|
|
762
|
-
};
|
|
763
767
|
collapseDuration: {
|
|
764
768
|
type: PropType<number>;
|
|
765
769
|
default: undefined;
|
|
@@ -776,6 +780,10 @@ export declare const PlusSearch: {
|
|
|
776
780
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
777
781
|
default: boolean;
|
|
778
782
|
};
|
|
783
|
+
modelValue: {
|
|
784
|
+
type: PropType<FieldValues>;
|
|
785
|
+
default: () => {};
|
|
786
|
+
};
|
|
779
787
|
rules: {
|
|
780
788
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
781
789
|
default: () => {};
|
|
@@ -839,7 +847,7 @@ export declare const PlusSearch: {
|
|
|
839
847
|
default: boolean;
|
|
840
848
|
};
|
|
841
849
|
footerAlign: {
|
|
842
|
-
type: PropType<"
|
|
850
|
+
type: PropType<"right" | "left" | "center">;
|
|
843
851
|
default: string;
|
|
844
852
|
};
|
|
845
853
|
cardProps: {
|
|
@@ -858,10 +866,10 @@ export declare const PlusSearch: {
|
|
|
858
866
|
default: boolean;
|
|
859
867
|
};
|
|
860
868
|
}>> & {
|
|
861
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
862
869
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
863
870
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
864
871
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
872
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
865
873
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
866
874
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
867
875
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1162,14 +1170,14 @@ export declare const PlusSearch: {
|
|
|
1162
1170
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1163
1171
|
columns?: PlusColumn[] | undefined;
|
|
1164
1172
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1165
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1173
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1166
1174
|
readonly label: string | ComputedRef<string>;
|
|
1167
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1175
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1168
1176
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1169
|
-
readonly tooltip: string |
|
|
1177
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1170
1178
|
style?: CSSProperties | undefined;
|
|
1171
1179
|
class?: any;
|
|
1172
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1180
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1173
1181
|
style?: CSSProperties | undefined;
|
|
1174
1182
|
class?: any;
|
|
1175
1183
|
} & RecordType>>;
|
|
@@ -1230,12 +1238,12 @@ export declare const PlusSearch: {
|
|
|
1230
1238
|
fieldInstance?: any;
|
|
1231
1239
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1232
1240
|
prop: string;
|
|
1233
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1241
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1234
1242
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1235
|
-
tooltip: string |
|
|
1243
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1236
1244
|
style?: CSSProperties | undefined;
|
|
1237
1245
|
class?: any;
|
|
1238
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1246
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1239
1247
|
style?: CSSProperties | undefined;
|
|
1240
1248
|
class?: any;
|
|
1241
1249
|
} & RecordType>>;
|
|
@@ -1258,14 +1266,14 @@ export declare const PlusSearch: {
|
|
|
1258
1266
|
clearable: boolean;
|
|
1259
1267
|
index: number;
|
|
1260
1268
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1261
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1269
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1262
1270
|
readonly label: string | ComputedRef<string>;
|
|
1263
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1271
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1264
1272
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1265
|
-
readonly tooltip: string |
|
|
1273
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1266
1274
|
style?: CSSProperties | undefined;
|
|
1267
1275
|
class?: any;
|
|
1268
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1276
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1269
1277
|
style?: CSSProperties | undefined;
|
|
1270
1278
|
class?: any;
|
|
1271
1279
|
} & RecordType>>;
|
|
@@ -1326,12 +1334,12 @@ export declare const PlusSearch: {
|
|
|
1326
1334
|
fieldInstance?: any;
|
|
1327
1335
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1328
1336
|
prop: string;
|
|
1329
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1337
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1330
1338
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1331
|
-
tooltip: string |
|
|
1339
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1332
1340
|
style?: CSSProperties | undefined;
|
|
1333
1341
|
class?: any;
|
|
1334
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1342
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1335
1343
|
style?: CSSProperties | undefined;
|
|
1336
1344
|
class?: any;
|
|
1337
1345
|
} & RecordType>>;
|
|
@@ -1377,14 +1385,14 @@ export declare const PlusSearch: {
|
|
|
1377
1385
|
reset: (values: FieldValues) => void;
|
|
1378
1386
|
collapse: (isShowUnfold: boolean) => void;
|
|
1379
1387
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1380
|
-
modelValue: {
|
|
1381
|
-
type: PropType<FieldValues>;
|
|
1382
|
-
default: () => {};
|
|
1383
|
-
};
|
|
1384
1388
|
columns: {
|
|
1385
1389
|
type: PropType< PlusColumn[]>;
|
|
1386
1390
|
default: () => never[];
|
|
1387
1391
|
};
|
|
1392
|
+
modelValue: {
|
|
1393
|
+
type: PropType<FieldValues>;
|
|
1394
|
+
default: () => {};
|
|
1395
|
+
};
|
|
1388
1396
|
labelPosition: {
|
|
1389
1397
|
type: PropType<"top" | "right" | "left">;
|
|
1390
1398
|
default: undefined;
|
|
@@ -1463,15 +1471,23 @@ export declare const PlusSearch: {
|
|
|
1463
1471
|
type: PropType<boolean>;
|
|
1464
1472
|
default: boolean;
|
|
1465
1473
|
};
|
|
1474
|
+
searchIcon: {
|
|
1475
|
+
type: PropType< Component | null>;
|
|
1476
|
+
default: undefined;
|
|
1477
|
+
};
|
|
1478
|
+
resetIcon: {
|
|
1479
|
+
type: PropType< Component | null>;
|
|
1480
|
+
default: undefined;
|
|
1481
|
+
};
|
|
1466
1482
|
}>> & {
|
|
1467
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1468
1483
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1469
1484
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1485
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1470
1486
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1471
1487
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1472
1488
|
}, {
|
|
1473
|
-
modelValue: FieldValues;
|
|
1474
1489
|
columns: PlusColumn[];
|
|
1490
|
+
modelValue: FieldValues;
|
|
1475
1491
|
labelPosition: "top" | "right" | "left";
|
|
1476
1492
|
inline: boolean;
|
|
1477
1493
|
showNumber: number;
|
|
@@ -1494,6 +1510,8 @@ export declare const PlusSearch: {
|
|
|
1494
1510
|
expandText: string;
|
|
1495
1511
|
searchLoading: boolean;
|
|
1496
1512
|
needValidate: boolean;
|
|
1513
|
+
searchIcon: Component | null;
|
|
1514
|
+
resetIcon: Component | null;
|
|
1497
1515
|
}, true, {}, {}, {
|
|
1498
1516
|
P: {};
|
|
1499
1517
|
B: {};
|
|
@@ -1502,14 +1520,14 @@ export declare const PlusSearch: {
|
|
|
1502
1520
|
M: {};
|
|
1503
1521
|
Defaults: {};
|
|
1504
1522
|
}, Readonly< ExtractPropTypes<{
|
|
1505
|
-
modelValue: {
|
|
1506
|
-
type: PropType<FieldValues>;
|
|
1507
|
-
default: () => {};
|
|
1508
|
-
};
|
|
1509
1523
|
columns: {
|
|
1510
1524
|
type: PropType< PlusColumn[]>;
|
|
1511
1525
|
default: () => never[];
|
|
1512
1526
|
};
|
|
1527
|
+
modelValue: {
|
|
1528
|
+
type: PropType<FieldValues>;
|
|
1529
|
+
default: () => {};
|
|
1530
|
+
};
|
|
1513
1531
|
labelPosition: {
|
|
1514
1532
|
type: PropType<"top" | "right" | "left">;
|
|
1515
1533
|
default: undefined;
|
|
@@ -1588,10 +1606,18 @@ export declare const PlusSearch: {
|
|
|
1588
1606
|
type: PropType<boolean>;
|
|
1589
1607
|
default: boolean;
|
|
1590
1608
|
};
|
|
1609
|
+
searchIcon: {
|
|
1610
|
+
type: PropType< Component | null>;
|
|
1611
|
+
default: undefined;
|
|
1612
|
+
};
|
|
1613
|
+
resetIcon: {
|
|
1614
|
+
type: PropType< Component | null>;
|
|
1615
|
+
default: undefined;
|
|
1616
|
+
};
|
|
1591
1617
|
}>> & {
|
|
1592
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1593
1618
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1594
1619
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1620
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1595
1621
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1596
1622
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1597
1623
|
}, {
|
|
@@ -1599,11 +1625,11 @@ export declare const PlusSearch: {
|
|
|
1599
1625
|
$: ComponentInternalInstance;
|
|
1600
1626
|
$data: {};
|
|
1601
1627
|
$props: Partial<{
|
|
1602
|
-
modelValue: FieldValues;
|
|
1603
1628
|
collapseDuration: number;
|
|
1604
1629
|
collapseTransition: boolean;
|
|
1605
1630
|
columns: PlusColumn[];
|
|
1606
1631
|
group: false | PlusFormGroupRow[];
|
|
1632
|
+
modelValue: FieldValues;
|
|
1607
1633
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1608
1634
|
labelPosition: "top" | "right" | "left";
|
|
1609
1635
|
labelWidth: string | number;
|
|
@@ -1624,7 +1650,7 @@ export declare const PlusSearch: {
|
|
|
1624
1650
|
submitText: string;
|
|
1625
1651
|
resetText: string;
|
|
1626
1652
|
submitLoading: boolean;
|
|
1627
|
-
footerAlign: "
|
|
1653
|
+
footerAlign: "right" | "left" | "center";
|
|
1628
1654
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1629
1655
|
style?: CSSProperties | undefined;
|
|
1630
1656
|
class?: any;
|
|
@@ -1632,9 +1658,9 @@ export declare const PlusSearch: {
|
|
|
1632
1658
|
prevent: boolean;
|
|
1633
1659
|
clearable: boolean;
|
|
1634
1660
|
}> & Omit<{
|
|
1635
|
-
readonly modelValue: FieldValues;
|
|
1636
1661
|
readonly columns: PlusColumn[];
|
|
1637
1662
|
readonly group: false | PlusFormGroupRow[];
|
|
1663
|
+
readonly modelValue: FieldValues;
|
|
1638
1664
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1639
1665
|
readonly labelPosition: "top" | "right" | "left";
|
|
1640
1666
|
readonly labelWidth: string | number;
|
|
@@ -1655,7 +1681,7 @@ export declare const PlusSearch: {
|
|
|
1655
1681
|
readonly submitText: string;
|
|
1656
1682
|
readonly resetText: string;
|
|
1657
1683
|
readonly submitLoading: boolean;
|
|
1658
|
-
readonly footerAlign: "
|
|
1684
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1659
1685
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1660
1686
|
style?: CSSProperties | undefined;
|
|
1661
1687
|
class?: any;
|
|
@@ -1664,17 +1690,13 @@ export declare const PlusSearch: {
|
|
|
1664
1690
|
readonly clearable: boolean;
|
|
1665
1691
|
readonly collapseDuration?: number | undefined;
|
|
1666
1692
|
readonly collapseTransition?: boolean | undefined;
|
|
1667
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1668
1693
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1669
1694
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1670
1695
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1696
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1671
1697
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1672
1698
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1673
1699
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1674
|
-
modelValue: {
|
|
1675
|
-
type: PropType<FieldValues>;
|
|
1676
|
-
default: () => {};
|
|
1677
|
-
};
|
|
1678
1700
|
collapseDuration: {
|
|
1679
1701
|
type: PropType<number>;
|
|
1680
1702
|
default: undefined;
|
|
@@ -1691,6 +1713,10 @@ export declare const PlusSearch: {
|
|
|
1691
1713
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1692
1714
|
default: boolean;
|
|
1693
1715
|
};
|
|
1716
|
+
modelValue: {
|
|
1717
|
+
type: PropType<FieldValues>;
|
|
1718
|
+
default: () => {};
|
|
1719
|
+
};
|
|
1694
1720
|
rules: {
|
|
1695
1721
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1696
1722
|
default: () => {};
|
|
@@ -1754,7 +1780,7 @@ export declare const PlusSearch: {
|
|
|
1754
1780
|
default: boolean;
|
|
1755
1781
|
};
|
|
1756
1782
|
footerAlign: {
|
|
1757
|
-
type: PropType<"
|
|
1783
|
+
type: PropType<"right" | "left" | "center">;
|
|
1758
1784
|
default: string;
|
|
1759
1785
|
};
|
|
1760
1786
|
cardProps: {
|
|
@@ -1773,13 +1799,13 @@ export declare const PlusSearch: {
|
|
|
1773
1799
|
default: boolean;
|
|
1774
1800
|
};
|
|
1775
1801
|
}>> & {
|
|
1776
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1777
1802
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1778
1803
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1779
1804
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1805
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1780
1806
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1781
1807
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1782
|
-
}, "
|
|
1808
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1783
1809
|
$attrs: {
|
|
1784
1810
|
[x: string]: unknown;
|
|
1785
1811
|
};
|
|
@@ -1791,13 +1817,9 @@ export declare const PlusSearch: {
|
|
|
1791
1817
|
}>;
|
|
1792
1818
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1793
1819
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1794
|
-
$emit: ((event: "
|
|
1820
|
+
$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);
|
|
1795
1821
|
$el: any;
|
|
1796
1822
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1797
|
-
modelValue: {
|
|
1798
|
-
type: PropType<FieldValues>;
|
|
1799
|
-
default: () => {};
|
|
1800
|
-
};
|
|
1801
1823
|
collapseDuration: {
|
|
1802
1824
|
type: PropType<number>;
|
|
1803
1825
|
default: undefined;
|
|
@@ -1814,6 +1836,10 @@ export declare const PlusSearch: {
|
|
|
1814
1836
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1815
1837
|
default: boolean;
|
|
1816
1838
|
};
|
|
1839
|
+
modelValue: {
|
|
1840
|
+
type: PropType<FieldValues>;
|
|
1841
|
+
default: () => {};
|
|
1842
|
+
};
|
|
1817
1843
|
rules: {
|
|
1818
1844
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1819
1845
|
default: () => {};
|
|
@@ -1877,7 +1903,7 @@ export declare const PlusSearch: {
|
|
|
1877
1903
|
default: boolean;
|
|
1878
1904
|
};
|
|
1879
1905
|
footerAlign: {
|
|
1880
|
-
type: PropType<"
|
|
1906
|
+
type: PropType<"right" | "left" | "center">;
|
|
1881
1907
|
default: string;
|
|
1882
1908
|
};
|
|
1883
1909
|
cardProps: {
|
|
@@ -1896,10 +1922,10 @@ export declare const PlusSearch: {
|
|
|
1896
1922
|
default: boolean;
|
|
1897
1923
|
};
|
|
1898
1924
|
}>> & {
|
|
1899
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1900
1925
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1901
1926
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1902
1927
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1928
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1903
1929
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1904
1930
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1905
1931
|
}, {
|
|
@@ -2195,11 +2221,11 @@ export declare const PlusSearch: {
|
|
|
2195
2221
|
submitError: (errors: unknown) => void;
|
|
2196
2222
|
validate: (...args: any[]) => void;
|
|
2197
2223
|
}, string, {
|
|
2198
|
-
modelValue: FieldValues;
|
|
2199
2224
|
collapseDuration: number;
|
|
2200
2225
|
collapseTransition: boolean;
|
|
2201
2226
|
columns: PlusColumn[];
|
|
2202
2227
|
group: false | PlusFormGroupRow[];
|
|
2228
|
+
modelValue: FieldValues;
|
|
2203
2229
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2204
2230
|
labelPosition: "top" | "right" | "left";
|
|
2205
2231
|
labelWidth: string | number;
|
|
@@ -2220,7 +2246,7 @@ export declare const PlusSearch: {
|
|
|
2220
2246
|
submitText: string;
|
|
2221
2247
|
resetText: string;
|
|
2222
2248
|
submitLoading: boolean;
|
|
2223
|
-
footerAlign: "
|
|
2249
|
+
footerAlign: "right" | "left" | "center";
|
|
2224
2250
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2225
2251
|
style?: CSSProperties | undefined;
|
|
2226
2252
|
class?: any;
|
|
@@ -2248,10 +2274,6 @@ export declare const PlusSearch: {
|
|
|
2248
2274
|
$nextTick: nextTick;
|
|
2249
2275
|
$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;
|
|
2250
2276
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2251
|
-
modelValue: {
|
|
2252
|
-
type: PropType<FieldValues>;
|
|
2253
|
-
default: () => {};
|
|
2254
|
-
};
|
|
2255
2277
|
collapseDuration: {
|
|
2256
2278
|
type: PropType<number>;
|
|
2257
2279
|
default: undefined;
|
|
@@ -2268,6 +2290,10 @@ export declare const PlusSearch: {
|
|
|
2268
2290
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2269
2291
|
default: boolean;
|
|
2270
2292
|
};
|
|
2293
|
+
modelValue: {
|
|
2294
|
+
type: PropType<FieldValues>;
|
|
2295
|
+
default: () => {};
|
|
2296
|
+
};
|
|
2271
2297
|
rules: {
|
|
2272
2298
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2273
2299
|
default: () => {};
|
|
@@ -2331,7 +2357,7 @@ export declare const PlusSearch: {
|
|
|
2331
2357
|
default: boolean;
|
|
2332
2358
|
};
|
|
2333
2359
|
footerAlign: {
|
|
2334
|
-
type: PropType<"
|
|
2360
|
+
type: PropType<"right" | "left" | "center">;
|
|
2335
2361
|
default: string;
|
|
2336
2362
|
};
|
|
2337
2363
|
cardProps: {
|
|
@@ -2350,10 +2376,10 @@ export declare const PlusSearch: {
|
|
|
2350
2376
|
default: boolean;
|
|
2351
2377
|
};
|
|
2352
2378
|
}>> & {
|
|
2353
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2354
2379
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2355
2380
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2356
2381
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2382
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2357
2383
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2358
2384
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2359
2385
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2654,14 +2680,14 @@ export declare const PlusSearch: {
|
|
|
2654
2680
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2655
2681
|
columns?: PlusColumn[] | undefined;
|
|
2656
2682
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2657
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2683
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
2658
2684
|
readonly label: string | ComputedRef<string>;
|
|
2659
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2685
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2660
2686
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2661
|
-
readonly tooltip: string |
|
|
2687
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2662
2688
|
style?: CSSProperties | undefined;
|
|
2663
2689
|
class?: any;
|
|
2664
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2690
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2665
2691
|
style?: CSSProperties | undefined;
|
|
2666
2692
|
class?: any;
|
|
2667
2693
|
} & RecordType>>;
|
|
@@ -2722,12 +2748,12 @@ export declare const PlusSearch: {
|
|
|
2722
2748
|
fieldInstance?: any;
|
|
2723
2749
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2724
2750
|
prop: string;
|
|
2725
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2751
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2726
2752
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2727
|
-
tooltip: string |
|
|
2753
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2728
2754
|
style?: CSSProperties | undefined;
|
|
2729
2755
|
class?: any;
|
|
2730
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2756
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2731
2757
|
style?: CSSProperties | undefined;
|
|
2732
2758
|
class?: any;
|
|
2733
2759
|
} & RecordType>>;
|
|
@@ -2750,14 +2776,14 @@ export declare const PlusSearch: {
|
|
|
2750
2776
|
clearable: boolean;
|
|
2751
2777
|
index: number;
|
|
2752
2778
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2753
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2779
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
2754
2780
|
readonly label: string | ComputedRef<string>;
|
|
2755
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2781
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2756
2782
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2757
|
-
readonly tooltip: string |
|
|
2783
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2758
2784
|
style?: CSSProperties | undefined;
|
|
2759
2785
|
class?: any;
|
|
2760
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2786
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2761
2787
|
style?: CSSProperties | undefined;
|
|
2762
2788
|
class?: any;
|
|
2763
2789
|
} & RecordType>>;
|
|
@@ -2818,12 +2844,12 @@ export declare const PlusSearch: {
|
|
|
2818
2844
|
fieldInstance?: any;
|
|
2819
2845
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2820
2846
|
prop: string;
|
|
2821
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2847
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2822
2848
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2823
|
-
tooltip: string |
|
|
2849
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2824
2850
|
style?: CSSProperties | undefined;
|
|
2825
2851
|
class?: any;
|
|
2826
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2852
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2827
2853
|
style?: CSSProperties | undefined;
|
|
2828
2854
|
class?: any;
|
|
2829
2855
|
} & RecordType>>;
|
|
@@ -2863,8 +2889,8 @@ export declare const PlusSearch: {
|
|
|
2863
2889
|
handleSearch: () => void;
|
|
2864
2890
|
handleUnfold: (e: MouseEvent) => void;
|
|
2865
2891
|
}, {}, {}, {}, {
|
|
2866
|
-
modelValue: FieldValues;
|
|
2867
2892
|
columns: PlusColumn[];
|
|
2893
|
+
modelValue: FieldValues;
|
|
2868
2894
|
labelPosition: "top" | "right" | "left";
|
|
2869
2895
|
inline: boolean;
|
|
2870
2896
|
showNumber: number;
|
|
@@ -2887,19 +2913,21 @@ export declare const PlusSearch: {
|
|
|
2887
2913
|
expandText: string;
|
|
2888
2914
|
searchLoading: boolean;
|
|
2889
2915
|
needValidate: boolean;
|
|
2916
|
+
searchIcon: Component | null;
|
|
2917
|
+
resetIcon: Component | null;
|
|
2890
2918
|
}>;
|
|
2891
2919
|
__isFragment?: undefined;
|
|
2892
2920
|
__isTeleport?: undefined;
|
|
2893
2921
|
__isSuspense?: undefined;
|
|
2894
2922
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2895
|
-
modelValue: {
|
|
2896
|
-
type: PropType<FieldValues>;
|
|
2897
|
-
default: () => {};
|
|
2898
|
-
};
|
|
2899
2923
|
columns: {
|
|
2900
2924
|
type: PropType< PlusColumn[]>;
|
|
2901
2925
|
default: () => never[];
|
|
2902
2926
|
};
|
|
2927
|
+
modelValue: {
|
|
2928
|
+
type: PropType<FieldValues>;
|
|
2929
|
+
default: () => {};
|
|
2930
|
+
};
|
|
2903
2931
|
labelPosition: {
|
|
2904
2932
|
type: PropType<"top" | "right" | "left">;
|
|
2905
2933
|
default: undefined;
|
|
@@ -2978,10 +3006,18 @@ export declare const PlusSearch: {
|
|
|
2978
3006
|
type: PropType<boolean>;
|
|
2979
3007
|
default: boolean;
|
|
2980
3008
|
};
|
|
3009
|
+
searchIcon: {
|
|
3010
|
+
type: PropType< Component | null>;
|
|
3011
|
+
default: undefined;
|
|
3012
|
+
};
|
|
3013
|
+
resetIcon: {
|
|
3014
|
+
type: PropType< Component | null>;
|
|
3015
|
+
default: undefined;
|
|
3016
|
+
};
|
|
2981
3017
|
}>> & {
|
|
2982
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2983
3018
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2984
3019
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3020
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2985
3021
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
2986
3022
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
2987
3023
|
}, {
|
|
@@ -2989,11 +3025,11 @@ export declare const PlusSearch: {
|
|
|
2989
3025
|
$: ComponentInternalInstance;
|
|
2990
3026
|
$data: {};
|
|
2991
3027
|
$props: Partial<{
|
|
2992
|
-
modelValue: FieldValues;
|
|
2993
3028
|
collapseDuration: number;
|
|
2994
3029
|
collapseTransition: boolean;
|
|
2995
3030
|
columns: PlusColumn[];
|
|
2996
3031
|
group: false | PlusFormGroupRow[];
|
|
3032
|
+
modelValue: FieldValues;
|
|
2997
3033
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2998
3034
|
labelPosition: "top" | "right" | "left";
|
|
2999
3035
|
labelWidth: string | number;
|
|
@@ -3014,7 +3050,7 @@ export declare const PlusSearch: {
|
|
|
3014
3050
|
submitText: string;
|
|
3015
3051
|
resetText: string;
|
|
3016
3052
|
submitLoading: boolean;
|
|
3017
|
-
footerAlign: "
|
|
3053
|
+
footerAlign: "right" | "left" | "center";
|
|
3018
3054
|
cardProps: Partial< Mutable<CardProps> & {
|
|
3019
3055
|
style?: CSSProperties | undefined;
|
|
3020
3056
|
class?: any;
|
|
@@ -3022,9 +3058,9 @@ export declare const PlusSearch: {
|
|
|
3022
3058
|
prevent: boolean;
|
|
3023
3059
|
clearable: boolean;
|
|
3024
3060
|
}> & Omit<{
|
|
3025
|
-
readonly modelValue: FieldValues;
|
|
3026
3061
|
readonly columns: PlusColumn[];
|
|
3027
3062
|
readonly group: false | PlusFormGroupRow[];
|
|
3063
|
+
readonly modelValue: FieldValues;
|
|
3028
3064
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3029
3065
|
readonly labelPosition: "top" | "right" | "left";
|
|
3030
3066
|
readonly labelWidth: string | number;
|
|
@@ -3045,7 +3081,7 @@ export declare const PlusSearch: {
|
|
|
3045
3081
|
readonly submitText: string;
|
|
3046
3082
|
readonly resetText: string;
|
|
3047
3083
|
readonly submitLoading: boolean;
|
|
3048
|
-
readonly footerAlign: "
|
|
3084
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
3049
3085
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
3050
3086
|
style?: CSSProperties | undefined;
|
|
3051
3087
|
class?: any;
|
|
@@ -3054,17 +3090,13 @@ export declare const PlusSearch: {
|
|
|
3054
3090
|
readonly clearable: boolean;
|
|
3055
3091
|
readonly collapseDuration?: number | undefined;
|
|
3056
3092
|
readonly collapseTransition?: boolean | undefined;
|
|
3057
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3058
3093
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3059
3094
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3060
3095
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3096
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3061
3097
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3062
3098
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3063
3099
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3064
|
-
modelValue: {
|
|
3065
|
-
type: PropType<FieldValues>;
|
|
3066
|
-
default: () => {};
|
|
3067
|
-
};
|
|
3068
3100
|
collapseDuration: {
|
|
3069
3101
|
type: PropType<number>;
|
|
3070
3102
|
default: undefined;
|
|
@@ -3081,6 +3113,10 @@ export declare const PlusSearch: {
|
|
|
3081
3113
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3082
3114
|
default: boolean;
|
|
3083
3115
|
};
|
|
3116
|
+
modelValue: {
|
|
3117
|
+
type: PropType<FieldValues>;
|
|
3118
|
+
default: () => {};
|
|
3119
|
+
};
|
|
3084
3120
|
rules: {
|
|
3085
3121
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3086
3122
|
default: () => {};
|
|
@@ -3144,7 +3180,7 @@ export declare const PlusSearch: {
|
|
|
3144
3180
|
default: boolean;
|
|
3145
3181
|
};
|
|
3146
3182
|
footerAlign: {
|
|
3147
|
-
type: PropType<"
|
|
3183
|
+
type: PropType<"right" | "left" | "center">;
|
|
3148
3184
|
default: string;
|
|
3149
3185
|
};
|
|
3150
3186
|
cardProps: {
|
|
@@ -3163,13 +3199,13 @@ export declare const PlusSearch: {
|
|
|
3163
3199
|
default: boolean;
|
|
3164
3200
|
};
|
|
3165
3201
|
}>> & {
|
|
3166
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3167
3202
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3168
3203
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3169
3204
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3205
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3170
3206
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3171
3207
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3172
|
-
}, "
|
|
3208
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
3173
3209
|
$attrs: {
|
|
3174
3210
|
[x: string]: unknown;
|
|
3175
3211
|
};
|
|
@@ -3181,13 +3217,9 @@ export declare const PlusSearch: {
|
|
|
3181
3217
|
}>;
|
|
3182
3218
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3183
3219
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3184
|
-
$emit: ((event: "
|
|
3220
|
+
$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);
|
|
3185
3221
|
$el: any;
|
|
3186
3222
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3187
|
-
modelValue: {
|
|
3188
|
-
type: PropType<FieldValues>;
|
|
3189
|
-
default: () => {};
|
|
3190
|
-
};
|
|
3191
3223
|
collapseDuration: {
|
|
3192
3224
|
type: PropType<number>;
|
|
3193
3225
|
default: undefined;
|
|
@@ -3204,6 +3236,10 @@ export declare const PlusSearch: {
|
|
|
3204
3236
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3205
3237
|
default: boolean;
|
|
3206
3238
|
};
|
|
3239
|
+
modelValue: {
|
|
3240
|
+
type: PropType<FieldValues>;
|
|
3241
|
+
default: () => {};
|
|
3242
|
+
};
|
|
3207
3243
|
rules: {
|
|
3208
3244
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3209
3245
|
default: () => {};
|
|
@@ -3267,7 +3303,7 @@ export declare const PlusSearch: {
|
|
|
3267
3303
|
default: boolean;
|
|
3268
3304
|
};
|
|
3269
3305
|
footerAlign: {
|
|
3270
|
-
type: PropType<"
|
|
3306
|
+
type: PropType<"right" | "left" | "center">;
|
|
3271
3307
|
default: string;
|
|
3272
3308
|
};
|
|
3273
3309
|
cardProps: {
|
|
@@ -3286,10 +3322,10 @@ export declare const PlusSearch: {
|
|
|
3286
3322
|
default: boolean;
|
|
3287
3323
|
};
|
|
3288
3324
|
}>> & {
|
|
3289
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3290
3325
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3291
3326
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3292
3327
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3328
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3293
3329
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3294
3330
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3295
3331
|
}, {
|
|
@@ -3585,11 +3621,11 @@ export declare const PlusSearch: {
|
|
|
3585
3621
|
submitError: (errors: unknown) => void;
|
|
3586
3622
|
validate: (...args: any[]) => void;
|
|
3587
3623
|
}, string, {
|
|
3588
|
-
modelValue: FieldValues;
|
|
3589
3624
|
collapseDuration: number;
|
|
3590
3625
|
collapseTransition: boolean;
|
|
3591
3626
|
columns: PlusColumn[];
|
|
3592
3627
|
group: false | PlusFormGroupRow[];
|
|
3628
|
+
modelValue: FieldValues;
|
|
3593
3629
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3594
3630
|
labelPosition: "top" | "right" | "left";
|
|
3595
3631
|
labelWidth: string | number;
|
|
@@ -3610,7 +3646,7 @@ export declare const PlusSearch: {
|
|
|
3610
3646
|
submitText: string;
|
|
3611
3647
|
resetText: string;
|
|
3612
3648
|
submitLoading: boolean;
|
|
3613
|
-
footerAlign: "
|
|
3649
|
+
footerAlign: "right" | "left" | "center";
|
|
3614
3650
|
cardProps: Partial< Mutable<CardProps> & {
|
|
3615
3651
|
style?: CSSProperties | undefined;
|
|
3616
3652
|
class?: any;
|
|
@@ -3638,10 +3674,6 @@ export declare const PlusSearch: {
|
|
|
3638
3674
|
$nextTick: nextTick;
|
|
3639
3675
|
$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;
|
|
3640
3676
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
3641
|
-
modelValue: {
|
|
3642
|
-
type: PropType<FieldValues>;
|
|
3643
|
-
default: () => {};
|
|
3644
|
-
};
|
|
3645
3677
|
collapseDuration: {
|
|
3646
3678
|
type: PropType<number>;
|
|
3647
3679
|
default: undefined;
|
|
@@ -3658,6 +3690,10 @@ export declare const PlusSearch: {
|
|
|
3658
3690
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3659
3691
|
default: boolean;
|
|
3660
3692
|
};
|
|
3693
|
+
modelValue: {
|
|
3694
|
+
type: PropType<FieldValues>;
|
|
3695
|
+
default: () => {};
|
|
3696
|
+
};
|
|
3661
3697
|
rules: {
|
|
3662
3698
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3663
3699
|
default: () => {};
|
|
@@ -3721,7 +3757,7 @@ export declare const PlusSearch: {
|
|
|
3721
3757
|
default: boolean;
|
|
3722
3758
|
};
|
|
3723
3759
|
footerAlign: {
|
|
3724
|
-
type: PropType<"
|
|
3760
|
+
type: PropType<"right" | "left" | "center">;
|
|
3725
3761
|
default: string;
|
|
3726
3762
|
};
|
|
3727
3763
|
cardProps: {
|
|
@@ -3740,10 +3776,10 @@ export declare const PlusSearch: {
|
|
|
3740
3776
|
default: boolean;
|
|
3741
3777
|
};
|
|
3742
3778
|
}>> & {
|
|
3743
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3744
3779
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3745
3780
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3746
3781
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3782
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3747
3783
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3748
3784
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3749
3785
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -4044,14 +4080,14 @@ export declare const PlusSearch: {
|
|
|
4044
4080
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
4045
4081
|
columns?: PlusColumn[] | undefined;
|
|
4046
4082
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4047
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4083
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
4048
4084
|
readonly label: string | ComputedRef<string>;
|
|
4049
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4085
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4050
4086
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4051
|
-
readonly tooltip: string |
|
|
4087
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4052
4088
|
style?: CSSProperties | undefined;
|
|
4053
4089
|
class?: any;
|
|
4054
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4090
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4055
4091
|
style?: CSSProperties | undefined;
|
|
4056
4092
|
class?: any;
|
|
4057
4093
|
} & RecordType>>;
|
|
@@ -4112,12 +4148,12 @@ export declare const PlusSearch: {
|
|
|
4112
4148
|
fieldInstance?: any;
|
|
4113
4149
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4114
4150
|
prop: string;
|
|
4115
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4151
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4116
4152
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4117
|
-
tooltip: string |
|
|
4153
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4118
4154
|
style?: CSSProperties | undefined;
|
|
4119
4155
|
class?: any;
|
|
4120
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4156
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4121
4157
|
style?: CSSProperties | undefined;
|
|
4122
4158
|
class?: any;
|
|
4123
4159
|
} & RecordType>>;
|
|
@@ -4140,14 +4176,14 @@ export declare const PlusSearch: {
|
|
|
4140
4176
|
clearable: boolean;
|
|
4141
4177
|
index: number;
|
|
4142
4178
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4143
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4179
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
4144
4180
|
readonly label: string | ComputedRef<string>;
|
|
4145
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4181
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4146
4182
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4147
|
-
readonly tooltip: string |
|
|
4183
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4148
4184
|
style?: CSSProperties | undefined;
|
|
4149
4185
|
class?: any;
|
|
4150
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4186
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4151
4187
|
style?: CSSProperties | undefined;
|
|
4152
4188
|
class?: any;
|
|
4153
4189
|
} & RecordType>>;
|
|
@@ -4208,12 +4244,12 @@ export declare const PlusSearch: {
|
|
|
4208
4244
|
fieldInstance?: any;
|
|
4209
4245
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4210
4246
|
prop: string;
|
|
4211
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4247
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4212
4248
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4213
|
-
tooltip: string |
|
|
4249
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4214
4250
|
style?: CSSProperties | undefined;
|
|
4215
4251
|
class?: any;
|
|
4216
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4252
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4217
4253
|
style?: CSSProperties | undefined;
|
|
4218
4254
|
class?: any;
|
|
4219
4255
|
} & RecordType>>;
|
|
@@ -4259,8 +4295,8 @@ export declare const PlusSearch: {
|
|
|
4259
4295
|
reset: (values: FieldValues) => void;
|
|
4260
4296
|
collapse: (isShowUnfold: boolean) => void;
|
|
4261
4297
|
}, string, {
|
|
4262
|
-
modelValue: FieldValues;
|
|
4263
4298
|
columns: PlusColumn[];
|
|
4299
|
+
modelValue: FieldValues;
|
|
4264
4300
|
labelPosition: "top" | "right" | "left";
|
|
4265
4301
|
inline: boolean;
|
|
4266
4302
|
showNumber: number;
|
|
@@ -4283,16 +4319,18 @@ export declare const PlusSearch: {
|
|
|
4283
4319
|
expandText: string;
|
|
4284
4320
|
searchLoading: boolean;
|
|
4285
4321
|
needValidate: boolean;
|
|
4322
|
+
searchIcon: Component | null;
|
|
4323
|
+
resetIcon: Component | null;
|
|
4286
4324
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
4287
4325
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
4288
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4326
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
4289
4327
|
readonly label: string | ComputedRef<string>;
|
|
4290
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4328
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4291
4329
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4292
|
-
readonly tooltip: string |
|
|
4330
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4293
4331
|
style?: CSSProperties | undefined;
|
|
4294
4332
|
class?: any;
|
|
4295
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4333
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4296
4334
|
style?: CSSProperties | undefined;
|
|
4297
4335
|
class?: any;
|
|
4298
4336
|
} & RecordType>>;
|
|
@@ -4353,12 +4391,12 @@ export declare const PlusSearch: {
|
|
|
4353
4391
|
fieldInstance?: any;
|
|
4354
4392
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4355
4393
|
prop: string;
|
|
4356
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4394
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4357
4395
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4358
|
-
tooltip: string |
|
|
4396
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4359
4397
|
style?: CSSProperties | undefined;
|
|
4360
4398
|
class?: any;
|
|
4361
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4399
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4362
4400
|
style?: CSSProperties | undefined;
|
|
4363
4401
|
class?: any;
|
|
4364
4402
|
} & RecordType>>;
|