yc-pro-components 0.0.24 → 0.0.25
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 +64 -45
- package/es/components/form/src/form-content.vue.d.ts +24 -20
- package/es/components/form/src/form-content.vue2.mjs +106 -96
- package/es/components/form/src/index.vue.d.ts +20 -17
- package/es/components/form/src/index.vue2.mjs +5 -2
- package/es/components/form/src/type.d.ts +4 -0
- 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/form-item/src/index.vue2.mjs +22 -18
- 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 +587 -452
- package/es/components/page/src/index.vue.d.ts +199 -154
- 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 +218 -154
- package/es/components/search/src/index.vue.d.ts +68 -50
- package/es/components/search/src/index.vue2.mjs +3 -1
- package/es/components/search/src/type.d.ts +7 -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 +450 -360
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +2 -15
- 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 +6 -6
- package/index.js +140 -134
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +140 -134
- 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 +64 -45
- package/lib/components/form/src/form-content.vue.d.ts +24 -20
- package/lib/components/form/src/form-content.vue2.js +105 -95
- package/lib/components/form/src/index.vue.d.ts +20 -17
- package/lib/components/form/src/index.vue2.js +5 -2
- package/lib/components/form/src/type.d.ts +4 -0
- 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/form-item/src/index.vue2.js +21 -17
- 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 +587 -452
- package/lib/components/page/src/index.vue.d.ts +199 -154
- 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 +218 -154
- package/lib/components/search/src/index.vue.d.ts +68 -50
- package/lib/components/search/src/index.vue2.js +3 -1
- package/lib/components/search/src/type.d.ts +7 -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 +450 -360
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +2 -15
- 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-form.css +1 -1
- package/theme-chalk/plus-search.css +1 -1
- package/theme-chalk/src/form.scss +20 -0
- package/theme-chalk/src/search.scss +125 -0
|
@@ -2,7 +2,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { 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 {
|
|
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
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
|
|
|
@@ -10,14 +10,18 @@ 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
|
+
layout: {
|
|
18
|
+
type: PropType<"grid" | "flex">;
|
|
19
|
+
default: "flex";
|
|
20
|
+
};
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: PropType<FieldValues>;
|
|
23
|
+
default: () => {};
|
|
24
|
+
};
|
|
21
25
|
labelPosition: {
|
|
22
26
|
type: PropType<"top" | "right" | "left">;
|
|
23
27
|
default: undefined;
|
|
@@ -105,9 +109,9 @@ export declare const PlusSearch: {
|
|
|
105
109
|
default: undefined;
|
|
106
110
|
};
|
|
107
111
|
}>> & {
|
|
108
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
109
112
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
110
113
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
114
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
111
115
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
112
116
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
113
117
|
}, {
|
|
@@ -115,11 +119,12 @@ export declare const PlusSearch: {
|
|
|
115
119
|
$: ComponentInternalInstance;
|
|
116
120
|
$data: {};
|
|
117
121
|
$props: Partial<{
|
|
118
|
-
modelValue: FieldValues;
|
|
119
122
|
collapseDuration: number;
|
|
120
123
|
collapseTransition: boolean;
|
|
121
124
|
columns: PlusColumn[];
|
|
122
125
|
group: false | PlusFormGroupRow[];
|
|
126
|
+
layout: "grid" | "flex";
|
|
127
|
+
modelValue: FieldValues;
|
|
123
128
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
124
129
|
labelPosition: "top" | "right" | "left";
|
|
125
130
|
labelWidth: string | number;
|
|
@@ -140,7 +145,7 @@ export declare const PlusSearch: {
|
|
|
140
145
|
submitText: string;
|
|
141
146
|
resetText: string;
|
|
142
147
|
submitLoading: boolean;
|
|
143
|
-
footerAlign: "
|
|
148
|
+
footerAlign: "right" | "left" | "center";
|
|
144
149
|
cardProps: Partial< Mutable<CardProps> & {
|
|
145
150
|
style?: CSSProperties | undefined;
|
|
146
151
|
class?: any;
|
|
@@ -148,9 +153,10 @@ export declare const PlusSearch: {
|
|
|
148
153
|
prevent: boolean;
|
|
149
154
|
clearable: boolean;
|
|
150
155
|
}> & Omit<{
|
|
151
|
-
readonly modelValue: FieldValues;
|
|
152
156
|
readonly columns: PlusColumn[];
|
|
153
157
|
readonly group: false | PlusFormGroupRow[];
|
|
158
|
+
readonly layout: "grid" | "flex";
|
|
159
|
+
readonly modelValue: FieldValues;
|
|
154
160
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
155
161
|
readonly labelPosition: "top" | "right" | "left";
|
|
156
162
|
readonly labelWidth: string | number;
|
|
@@ -171,7 +177,7 @@ export declare const PlusSearch: {
|
|
|
171
177
|
readonly submitText: string;
|
|
172
178
|
readonly resetText: string;
|
|
173
179
|
readonly submitLoading: boolean;
|
|
174
|
-
readonly footerAlign: "
|
|
180
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
175
181
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
176
182
|
style?: CSSProperties | undefined;
|
|
177
183
|
class?: any;
|
|
@@ -180,17 +186,13 @@ export declare const PlusSearch: {
|
|
|
180
186
|
readonly clearable: boolean;
|
|
181
187
|
readonly collapseDuration?: number | undefined;
|
|
182
188
|
readonly collapseTransition?: boolean | undefined;
|
|
183
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
184
189
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
185
190
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
186
191
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
192
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
187
193
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
188
194
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
189
195
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
190
|
-
modelValue: {
|
|
191
|
-
type: PropType<FieldValues>;
|
|
192
|
-
default: () => {};
|
|
193
|
-
};
|
|
194
196
|
collapseDuration: {
|
|
195
197
|
type: PropType<number>;
|
|
196
198
|
default: undefined;
|
|
@@ -207,6 +209,14 @@ export declare const PlusSearch: {
|
|
|
207
209
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
208
210
|
default: boolean;
|
|
209
211
|
};
|
|
212
|
+
layout: {
|
|
213
|
+
type: PropType<"grid" | "flex">;
|
|
214
|
+
default: string;
|
|
215
|
+
};
|
|
216
|
+
modelValue: {
|
|
217
|
+
type: PropType<FieldValues>;
|
|
218
|
+
default: () => {};
|
|
219
|
+
};
|
|
210
220
|
rules: {
|
|
211
221
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
212
222
|
default: () => {};
|
|
@@ -270,7 +280,7 @@ export declare const PlusSearch: {
|
|
|
270
280
|
default: boolean;
|
|
271
281
|
};
|
|
272
282
|
footerAlign: {
|
|
273
|
-
type: PropType<"
|
|
283
|
+
type: PropType<"right" | "left" | "center">;
|
|
274
284
|
default: string;
|
|
275
285
|
};
|
|
276
286
|
cardProps: {
|
|
@@ -289,13 +299,13 @@ export declare const PlusSearch: {
|
|
|
289
299
|
default: boolean;
|
|
290
300
|
};
|
|
291
301
|
}>> & {
|
|
292
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
293
302
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
294
303
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
295
304
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
305
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
296
306
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
297
307
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
298
|
-
}, "
|
|
308
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
299
309
|
$attrs: {
|
|
300
310
|
[x: string]: unknown;
|
|
301
311
|
};
|
|
@@ -307,13 +317,9 @@ export declare const PlusSearch: {
|
|
|
307
317
|
}>;
|
|
308
318
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
309
319
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
310
|
-
$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);
|
|
311
321
|
$el: any;
|
|
312
322
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
313
|
-
modelValue: {
|
|
314
|
-
type: PropType<FieldValues>;
|
|
315
|
-
default: () => {};
|
|
316
|
-
};
|
|
317
323
|
collapseDuration: {
|
|
318
324
|
type: PropType<number>;
|
|
319
325
|
default: undefined;
|
|
@@ -330,6 +336,14 @@ export declare const PlusSearch: {
|
|
|
330
336
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
331
337
|
default: boolean;
|
|
332
338
|
};
|
|
339
|
+
layout: {
|
|
340
|
+
type: PropType<"grid" | "flex">;
|
|
341
|
+
default: string;
|
|
342
|
+
};
|
|
343
|
+
modelValue: {
|
|
344
|
+
type: PropType<FieldValues>;
|
|
345
|
+
default: () => {};
|
|
346
|
+
};
|
|
333
347
|
rules: {
|
|
334
348
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
335
349
|
default: () => {};
|
|
@@ -393,7 +407,7 @@ export declare const PlusSearch: {
|
|
|
393
407
|
default: boolean;
|
|
394
408
|
};
|
|
395
409
|
footerAlign: {
|
|
396
|
-
type: PropType<"
|
|
410
|
+
type: PropType<"right" | "left" | "center">;
|
|
397
411
|
default: string;
|
|
398
412
|
};
|
|
399
413
|
cardProps: {
|
|
@@ -412,10 +426,10 @@ export declare const PlusSearch: {
|
|
|
412
426
|
default: boolean;
|
|
413
427
|
};
|
|
414
428
|
}>> & {
|
|
415
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
416
429
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
417
430
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
418
431
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
432
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
419
433
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
420
434
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
421
435
|
}, {
|
|
@@ -711,11 +725,12 @@ export declare const PlusSearch: {
|
|
|
711
725
|
submitError: (errors: unknown) => void;
|
|
712
726
|
validate: (...args: any[]) => void;
|
|
713
727
|
}, string, {
|
|
714
|
-
modelValue: FieldValues;
|
|
715
728
|
collapseDuration: number;
|
|
716
729
|
collapseTransition: boolean;
|
|
717
730
|
columns: PlusColumn[];
|
|
718
731
|
group: false | PlusFormGroupRow[];
|
|
732
|
+
layout: "grid" | "flex";
|
|
733
|
+
modelValue: FieldValues;
|
|
719
734
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
720
735
|
labelPosition: "top" | "right" | "left";
|
|
721
736
|
labelWidth: string | number;
|
|
@@ -736,7 +751,7 @@ export declare const PlusSearch: {
|
|
|
736
751
|
submitText: string;
|
|
737
752
|
resetText: string;
|
|
738
753
|
submitLoading: boolean;
|
|
739
|
-
footerAlign: "
|
|
754
|
+
footerAlign: "right" | "left" | "center";
|
|
740
755
|
cardProps: Partial< Mutable<CardProps> & {
|
|
741
756
|
style?: CSSProperties | undefined;
|
|
742
757
|
class?: any;
|
|
@@ -764,10 +779,6 @@ export declare const PlusSearch: {
|
|
|
764
779
|
$nextTick: nextTick;
|
|
765
780
|
$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;
|
|
766
781
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
767
|
-
modelValue: {
|
|
768
|
-
type: PropType<FieldValues>;
|
|
769
|
-
default: () => {};
|
|
770
|
-
};
|
|
771
782
|
collapseDuration: {
|
|
772
783
|
type: PropType<number>;
|
|
773
784
|
default: undefined;
|
|
@@ -784,6 +795,14 @@ export declare const PlusSearch: {
|
|
|
784
795
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
785
796
|
default: boolean;
|
|
786
797
|
};
|
|
798
|
+
layout: {
|
|
799
|
+
type: PropType<"grid" | "flex">;
|
|
800
|
+
default: string;
|
|
801
|
+
};
|
|
802
|
+
modelValue: {
|
|
803
|
+
type: PropType<FieldValues>;
|
|
804
|
+
default: () => {};
|
|
805
|
+
};
|
|
787
806
|
rules: {
|
|
788
807
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
789
808
|
default: () => {};
|
|
@@ -847,7 +866,7 @@ export declare const PlusSearch: {
|
|
|
847
866
|
default: boolean;
|
|
848
867
|
};
|
|
849
868
|
footerAlign: {
|
|
850
|
-
type: PropType<"
|
|
869
|
+
type: PropType<"right" | "left" | "center">;
|
|
851
870
|
default: string;
|
|
852
871
|
};
|
|
853
872
|
cardProps: {
|
|
@@ -866,10 +885,10 @@ export declare const PlusSearch: {
|
|
|
866
885
|
default: boolean;
|
|
867
886
|
};
|
|
868
887
|
}>> & {
|
|
869
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
870
888
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
871
889
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
872
890
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
891
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
873
892
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
874
893
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
875
894
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1170,14 +1189,14 @@ export declare const PlusSearch: {
|
|
|
1170
1189
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1171
1190
|
columns?: PlusColumn[] | undefined;
|
|
1172
1191
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1173
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1192
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1174
1193
|
readonly label: string | ComputedRef<string>;
|
|
1175
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1194
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1176
1195
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1177
|
-
readonly tooltip: string |
|
|
1196
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1178
1197
|
style?: CSSProperties | undefined;
|
|
1179
1198
|
class?: any;
|
|
1180
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1199
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1181
1200
|
style?: CSSProperties | undefined;
|
|
1182
1201
|
class?: any;
|
|
1183
1202
|
} & RecordType>>;
|
|
@@ -1244,12 +1263,12 @@ export declare const PlusSearch: {
|
|
|
1244
1263
|
fieldInstance?: any;
|
|
1245
1264
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1246
1265
|
prop: string;
|
|
1247
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1266
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1248
1267
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1249
|
-
tooltip: string |
|
|
1268
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1250
1269
|
style?: CSSProperties | undefined;
|
|
1251
1270
|
class?: any;
|
|
1252
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1271
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1253
1272
|
style?: CSSProperties | undefined;
|
|
1254
1273
|
class?: any;
|
|
1255
1274
|
} & RecordType>>;
|
|
@@ -1278,14 +1297,14 @@ export declare const PlusSearch: {
|
|
|
1278
1297
|
clearable: boolean;
|
|
1279
1298
|
index: number;
|
|
1280
1299
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1281
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1300
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1282
1301
|
readonly label: string | ComputedRef<string>;
|
|
1283
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1302
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1284
1303
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1285
|
-
readonly tooltip: string |
|
|
1304
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1286
1305
|
style?: CSSProperties | undefined;
|
|
1287
1306
|
class?: any;
|
|
1288
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1307
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1289
1308
|
style?: CSSProperties | undefined;
|
|
1290
1309
|
class?: any;
|
|
1291
1310
|
} & RecordType>>;
|
|
@@ -1352,12 +1371,12 @@ export declare const PlusSearch: {
|
|
|
1352
1371
|
fieldInstance?: any;
|
|
1353
1372
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1354
1373
|
prop: string;
|
|
1355
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1374
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1356
1375
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1357
|
-
tooltip: string |
|
|
1376
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1358
1377
|
style?: CSSProperties | undefined;
|
|
1359
1378
|
class?: any;
|
|
1360
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1379
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1361
1380
|
style?: CSSProperties | undefined;
|
|
1362
1381
|
class?: any;
|
|
1363
1382
|
} & RecordType>>;
|
|
@@ -1409,14 +1428,18 @@ export declare const PlusSearch: {
|
|
|
1409
1428
|
reset: (values: FieldValues) => void;
|
|
1410
1429
|
collapse: (isShowUnfold: boolean) => void;
|
|
1411
1430
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1412
|
-
modelValue: {
|
|
1413
|
-
type: PropType<FieldValues>;
|
|
1414
|
-
default: () => {};
|
|
1415
|
-
};
|
|
1416
1431
|
columns: {
|
|
1417
1432
|
type: PropType< PlusColumn[]>;
|
|
1418
1433
|
default: () => never[];
|
|
1419
1434
|
};
|
|
1435
|
+
layout: {
|
|
1436
|
+
type: PropType<"grid" | "flex">;
|
|
1437
|
+
default: "flex";
|
|
1438
|
+
};
|
|
1439
|
+
modelValue: {
|
|
1440
|
+
type: PropType<FieldValues>;
|
|
1441
|
+
default: () => {};
|
|
1442
|
+
};
|
|
1420
1443
|
labelPosition: {
|
|
1421
1444
|
type: PropType<"top" | "right" | "left">;
|
|
1422
1445
|
default: undefined;
|
|
@@ -1504,14 +1527,15 @@ export declare const PlusSearch: {
|
|
|
1504
1527
|
default: undefined;
|
|
1505
1528
|
};
|
|
1506
1529
|
}>> & {
|
|
1507
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1508
1530
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1509
1531
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1532
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1510
1533
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1511
1534
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1512
1535
|
}, {
|
|
1513
|
-
modelValue: FieldValues;
|
|
1514
1536
|
columns: PlusColumn[];
|
|
1537
|
+
layout: "grid" | "flex";
|
|
1538
|
+
modelValue: FieldValues;
|
|
1515
1539
|
labelPosition: "top" | "right" | "left";
|
|
1516
1540
|
inline: boolean;
|
|
1517
1541
|
showNumber: number;
|
|
@@ -1544,14 +1568,18 @@ export declare const PlusSearch: {
|
|
|
1544
1568
|
M: {};
|
|
1545
1569
|
Defaults: {};
|
|
1546
1570
|
}, Readonly< ExtractPropTypes<{
|
|
1547
|
-
modelValue: {
|
|
1548
|
-
type: PropType<FieldValues>;
|
|
1549
|
-
default: () => {};
|
|
1550
|
-
};
|
|
1551
1571
|
columns: {
|
|
1552
1572
|
type: PropType< PlusColumn[]>;
|
|
1553
1573
|
default: () => never[];
|
|
1554
1574
|
};
|
|
1575
|
+
layout: {
|
|
1576
|
+
type: PropType<"grid" | "flex">;
|
|
1577
|
+
default: "flex";
|
|
1578
|
+
};
|
|
1579
|
+
modelValue: {
|
|
1580
|
+
type: PropType<FieldValues>;
|
|
1581
|
+
default: () => {};
|
|
1582
|
+
};
|
|
1555
1583
|
labelPosition: {
|
|
1556
1584
|
type: PropType<"top" | "right" | "left">;
|
|
1557
1585
|
default: undefined;
|
|
@@ -1639,9 +1667,9 @@ export declare const PlusSearch: {
|
|
|
1639
1667
|
default: undefined;
|
|
1640
1668
|
};
|
|
1641
1669
|
}>> & {
|
|
1642
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1643
1670
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1644
1671
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1672
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1645
1673
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1646
1674
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1647
1675
|
}, {
|
|
@@ -1649,11 +1677,12 @@ export declare const PlusSearch: {
|
|
|
1649
1677
|
$: ComponentInternalInstance;
|
|
1650
1678
|
$data: {};
|
|
1651
1679
|
$props: Partial<{
|
|
1652
|
-
modelValue: FieldValues;
|
|
1653
1680
|
collapseDuration: number;
|
|
1654
1681
|
collapseTransition: boolean;
|
|
1655
1682
|
columns: PlusColumn[];
|
|
1656
1683
|
group: false | PlusFormGroupRow[];
|
|
1684
|
+
layout: "grid" | "flex";
|
|
1685
|
+
modelValue: FieldValues;
|
|
1657
1686
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1658
1687
|
labelPosition: "top" | "right" | "left";
|
|
1659
1688
|
labelWidth: string | number;
|
|
@@ -1674,7 +1703,7 @@ export declare const PlusSearch: {
|
|
|
1674
1703
|
submitText: string;
|
|
1675
1704
|
resetText: string;
|
|
1676
1705
|
submitLoading: boolean;
|
|
1677
|
-
footerAlign: "
|
|
1706
|
+
footerAlign: "right" | "left" | "center";
|
|
1678
1707
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1679
1708
|
style?: CSSProperties | undefined;
|
|
1680
1709
|
class?: any;
|
|
@@ -1682,9 +1711,10 @@ export declare const PlusSearch: {
|
|
|
1682
1711
|
prevent: boolean;
|
|
1683
1712
|
clearable: boolean;
|
|
1684
1713
|
}> & Omit<{
|
|
1685
|
-
readonly modelValue: FieldValues;
|
|
1686
1714
|
readonly columns: PlusColumn[];
|
|
1687
1715
|
readonly group: false | PlusFormGroupRow[];
|
|
1716
|
+
readonly layout: "grid" | "flex";
|
|
1717
|
+
readonly modelValue: FieldValues;
|
|
1688
1718
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1689
1719
|
readonly labelPosition: "top" | "right" | "left";
|
|
1690
1720
|
readonly labelWidth: string | number;
|
|
@@ -1705,7 +1735,7 @@ export declare const PlusSearch: {
|
|
|
1705
1735
|
readonly submitText: string;
|
|
1706
1736
|
readonly resetText: string;
|
|
1707
1737
|
readonly submitLoading: boolean;
|
|
1708
|
-
readonly footerAlign: "
|
|
1738
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1709
1739
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1710
1740
|
style?: CSSProperties | undefined;
|
|
1711
1741
|
class?: any;
|
|
@@ -1714,17 +1744,13 @@ export declare const PlusSearch: {
|
|
|
1714
1744
|
readonly clearable: boolean;
|
|
1715
1745
|
readonly collapseDuration?: number | undefined;
|
|
1716
1746
|
readonly collapseTransition?: boolean | undefined;
|
|
1717
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1718
1747
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1719
1748
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1720
1749
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1750
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1721
1751
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1722
1752
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1723
1753
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1724
|
-
modelValue: {
|
|
1725
|
-
type: PropType<FieldValues>;
|
|
1726
|
-
default: () => {};
|
|
1727
|
-
};
|
|
1728
1754
|
collapseDuration: {
|
|
1729
1755
|
type: PropType<number>;
|
|
1730
1756
|
default: undefined;
|
|
@@ -1741,6 +1767,14 @@ export declare const PlusSearch: {
|
|
|
1741
1767
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1742
1768
|
default: boolean;
|
|
1743
1769
|
};
|
|
1770
|
+
layout: {
|
|
1771
|
+
type: PropType<"grid" | "flex">;
|
|
1772
|
+
default: string;
|
|
1773
|
+
};
|
|
1774
|
+
modelValue: {
|
|
1775
|
+
type: PropType<FieldValues>;
|
|
1776
|
+
default: () => {};
|
|
1777
|
+
};
|
|
1744
1778
|
rules: {
|
|
1745
1779
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1746
1780
|
default: () => {};
|
|
@@ -1804,7 +1838,7 @@ export declare const PlusSearch: {
|
|
|
1804
1838
|
default: boolean;
|
|
1805
1839
|
};
|
|
1806
1840
|
footerAlign: {
|
|
1807
|
-
type: PropType<"
|
|
1841
|
+
type: PropType<"right" | "left" | "center">;
|
|
1808
1842
|
default: string;
|
|
1809
1843
|
};
|
|
1810
1844
|
cardProps: {
|
|
@@ -1823,13 +1857,13 @@ export declare const PlusSearch: {
|
|
|
1823
1857
|
default: boolean;
|
|
1824
1858
|
};
|
|
1825
1859
|
}>> & {
|
|
1826
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1827
1860
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1828
1861
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1829
1862
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1863
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1830
1864
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1831
1865
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1832
|
-
}, "
|
|
1866
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1833
1867
|
$attrs: {
|
|
1834
1868
|
[x: string]: unknown;
|
|
1835
1869
|
};
|
|
@@ -1841,13 +1875,9 @@ export declare const PlusSearch: {
|
|
|
1841
1875
|
}>;
|
|
1842
1876
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1843
1877
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1844
|
-
$emit: ((event: "
|
|
1878
|
+
$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);
|
|
1845
1879
|
$el: any;
|
|
1846
1880
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1847
|
-
modelValue: {
|
|
1848
|
-
type: PropType<FieldValues>;
|
|
1849
|
-
default: () => {};
|
|
1850
|
-
};
|
|
1851
1881
|
collapseDuration: {
|
|
1852
1882
|
type: PropType<number>;
|
|
1853
1883
|
default: undefined;
|
|
@@ -1864,6 +1894,14 @@ export declare const PlusSearch: {
|
|
|
1864
1894
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1865
1895
|
default: boolean;
|
|
1866
1896
|
};
|
|
1897
|
+
layout: {
|
|
1898
|
+
type: PropType<"grid" | "flex">;
|
|
1899
|
+
default: string;
|
|
1900
|
+
};
|
|
1901
|
+
modelValue: {
|
|
1902
|
+
type: PropType<FieldValues>;
|
|
1903
|
+
default: () => {};
|
|
1904
|
+
};
|
|
1867
1905
|
rules: {
|
|
1868
1906
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1869
1907
|
default: () => {};
|
|
@@ -1927,7 +1965,7 @@ export declare const PlusSearch: {
|
|
|
1927
1965
|
default: boolean;
|
|
1928
1966
|
};
|
|
1929
1967
|
footerAlign: {
|
|
1930
|
-
type: PropType<"
|
|
1968
|
+
type: PropType<"right" | "left" | "center">;
|
|
1931
1969
|
default: string;
|
|
1932
1970
|
};
|
|
1933
1971
|
cardProps: {
|
|
@@ -1946,10 +1984,10 @@ export declare const PlusSearch: {
|
|
|
1946
1984
|
default: boolean;
|
|
1947
1985
|
};
|
|
1948
1986
|
}>> & {
|
|
1949
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1950
1987
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1951
1988
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1952
1989
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1990
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1953
1991
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1954
1992
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1955
1993
|
}, {
|
|
@@ -2245,11 +2283,12 @@ export declare const PlusSearch: {
|
|
|
2245
2283
|
submitError: (errors: unknown) => void;
|
|
2246
2284
|
validate: (...args: any[]) => void;
|
|
2247
2285
|
}, string, {
|
|
2248
|
-
modelValue: FieldValues;
|
|
2249
2286
|
collapseDuration: number;
|
|
2250
2287
|
collapseTransition: boolean;
|
|
2251
2288
|
columns: PlusColumn[];
|
|
2252
2289
|
group: false | PlusFormGroupRow[];
|
|
2290
|
+
layout: "grid" | "flex";
|
|
2291
|
+
modelValue: FieldValues;
|
|
2253
2292
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2254
2293
|
labelPosition: "top" | "right" | "left";
|
|
2255
2294
|
labelWidth: string | number;
|
|
@@ -2270,7 +2309,7 @@ export declare const PlusSearch: {
|
|
|
2270
2309
|
submitText: string;
|
|
2271
2310
|
resetText: string;
|
|
2272
2311
|
submitLoading: boolean;
|
|
2273
|
-
footerAlign: "
|
|
2312
|
+
footerAlign: "right" | "left" | "center";
|
|
2274
2313
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2275
2314
|
style?: CSSProperties | undefined;
|
|
2276
2315
|
class?: any;
|
|
@@ -2298,10 +2337,6 @@ export declare const PlusSearch: {
|
|
|
2298
2337
|
$nextTick: nextTick;
|
|
2299
2338
|
$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;
|
|
2300
2339
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2301
|
-
modelValue: {
|
|
2302
|
-
type: PropType<FieldValues>;
|
|
2303
|
-
default: () => {};
|
|
2304
|
-
};
|
|
2305
2340
|
collapseDuration: {
|
|
2306
2341
|
type: PropType<number>;
|
|
2307
2342
|
default: undefined;
|
|
@@ -2318,6 +2353,14 @@ export declare const PlusSearch: {
|
|
|
2318
2353
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2319
2354
|
default: boolean;
|
|
2320
2355
|
};
|
|
2356
|
+
layout: {
|
|
2357
|
+
type: PropType<"grid" | "flex">;
|
|
2358
|
+
default: string;
|
|
2359
|
+
};
|
|
2360
|
+
modelValue: {
|
|
2361
|
+
type: PropType<FieldValues>;
|
|
2362
|
+
default: () => {};
|
|
2363
|
+
};
|
|
2321
2364
|
rules: {
|
|
2322
2365
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2323
2366
|
default: () => {};
|
|
@@ -2381,7 +2424,7 @@ export declare const PlusSearch: {
|
|
|
2381
2424
|
default: boolean;
|
|
2382
2425
|
};
|
|
2383
2426
|
footerAlign: {
|
|
2384
|
-
type: PropType<"
|
|
2427
|
+
type: PropType<"right" | "left" | "center">;
|
|
2385
2428
|
default: string;
|
|
2386
2429
|
};
|
|
2387
2430
|
cardProps: {
|
|
@@ -2400,10 +2443,10 @@ export declare const PlusSearch: {
|
|
|
2400
2443
|
default: boolean;
|
|
2401
2444
|
};
|
|
2402
2445
|
}>> & {
|
|
2403
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2404
2446
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2405
2447
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2406
2448
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2449
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2407
2450
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2408
2451
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2409
2452
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2704,14 +2747,14 @@ export declare const PlusSearch: {
|
|
|
2704
2747
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2705
2748
|
columns?: PlusColumn[] | undefined;
|
|
2706
2749
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2707
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2750
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2708
2751
|
readonly label: string | ComputedRef<string>;
|
|
2709
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2752
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2710
2753
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2711
|
-
readonly tooltip: string |
|
|
2754
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2712
2755
|
style?: CSSProperties | undefined;
|
|
2713
2756
|
class?: any;
|
|
2714
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2757
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2715
2758
|
style?: CSSProperties | undefined;
|
|
2716
2759
|
class?: any;
|
|
2717
2760
|
} & RecordType>>;
|
|
@@ -2778,12 +2821,12 @@ export declare const PlusSearch: {
|
|
|
2778
2821
|
fieldInstance?: any;
|
|
2779
2822
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2780
2823
|
prop: string;
|
|
2781
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2824
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2782
2825
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2783
|
-
tooltip: string |
|
|
2826
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2784
2827
|
style?: CSSProperties | undefined;
|
|
2785
2828
|
class?: any;
|
|
2786
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2829
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2787
2830
|
style?: CSSProperties | undefined;
|
|
2788
2831
|
class?: any;
|
|
2789
2832
|
} & RecordType>>;
|
|
@@ -2812,14 +2855,14 @@ export declare const PlusSearch: {
|
|
|
2812
2855
|
clearable: boolean;
|
|
2813
2856
|
index: number;
|
|
2814
2857
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2815
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2858
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2816
2859
|
readonly label: string | ComputedRef<string>;
|
|
2817
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2860
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2818
2861
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2819
|
-
readonly tooltip: string |
|
|
2862
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2820
2863
|
style?: CSSProperties | undefined;
|
|
2821
2864
|
class?: any;
|
|
2822
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2865
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2823
2866
|
style?: CSSProperties | undefined;
|
|
2824
2867
|
class?: any;
|
|
2825
2868
|
} & RecordType>>;
|
|
@@ -2886,12 +2929,12 @@ export declare const PlusSearch: {
|
|
|
2886
2929
|
fieldInstance?: any;
|
|
2887
2930
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2888
2931
|
prop: string;
|
|
2889
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2932
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2890
2933
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2891
|
-
tooltip: string |
|
|
2934
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2892
2935
|
style?: CSSProperties | undefined;
|
|
2893
2936
|
class?: any;
|
|
2894
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2937
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2895
2938
|
style?: CSSProperties | undefined;
|
|
2896
2939
|
class?: any;
|
|
2897
2940
|
} & RecordType>>;
|
|
@@ -2937,8 +2980,9 @@ export declare const PlusSearch: {
|
|
|
2937
2980
|
handleSearch: () => void;
|
|
2938
2981
|
handleUnfold: (e: MouseEvent) => void;
|
|
2939
2982
|
}, {}, {}, {}, {
|
|
2940
|
-
modelValue: FieldValues;
|
|
2941
2983
|
columns: PlusColumn[];
|
|
2984
|
+
layout: "grid" | "flex";
|
|
2985
|
+
modelValue: FieldValues;
|
|
2942
2986
|
labelPosition: "top" | "right" | "left";
|
|
2943
2987
|
inline: boolean;
|
|
2944
2988
|
showNumber: number;
|
|
@@ -2968,14 +3012,18 @@ export declare const PlusSearch: {
|
|
|
2968
3012
|
__isTeleport?: undefined;
|
|
2969
3013
|
__isSuspense?: undefined;
|
|
2970
3014
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2971
|
-
modelValue: {
|
|
2972
|
-
type: PropType<FieldValues>;
|
|
2973
|
-
default: () => {};
|
|
2974
|
-
};
|
|
2975
3015
|
columns: {
|
|
2976
3016
|
type: PropType< PlusColumn[]>;
|
|
2977
3017
|
default: () => never[];
|
|
2978
3018
|
};
|
|
3019
|
+
layout: {
|
|
3020
|
+
type: PropType<"grid" | "flex">;
|
|
3021
|
+
default: "flex";
|
|
3022
|
+
};
|
|
3023
|
+
modelValue: {
|
|
3024
|
+
type: PropType<FieldValues>;
|
|
3025
|
+
default: () => {};
|
|
3026
|
+
};
|
|
2979
3027
|
labelPosition: {
|
|
2980
3028
|
type: PropType<"top" | "right" | "left">;
|
|
2981
3029
|
default: undefined;
|
|
@@ -3063,9 +3111,9 @@ export declare const PlusSearch: {
|
|
|
3063
3111
|
default: undefined;
|
|
3064
3112
|
};
|
|
3065
3113
|
}>> & {
|
|
3066
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3067
3114
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3068
3115
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3116
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3069
3117
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
3070
3118
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
3071
3119
|
}, {
|
|
@@ -3073,11 +3121,12 @@ export declare const PlusSearch: {
|
|
|
3073
3121
|
$: ComponentInternalInstance;
|
|
3074
3122
|
$data: {};
|
|
3075
3123
|
$props: Partial<{
|
|
3076
|
-
modelValue: FieldValues;
|
|
3077
3124
|
collapseDuration: number;
|
|
3078
3125
|
collapseTransition: boolean;
|
|
3079
3126
|
columns: PlusColumn[];
|
|
3080
3127
|
group: false | PlusFormGroupRow[];
|
|
3128
|
+
layout: "grid" | "flex";
|
|
3129
|
+
modelValue: FieldValues;
|
|
3081
3130
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3082
3131
|
labelPosition: "top" | "right" | "left";
|
|
3083
3132
|
labelWidth: string | number;
|
|
@@ -3098,7 +3147,7 @@ export declare const PlusSearch: {
|
|
|
3098
3147
|
submitText: string;
|
|
3099
3148
|
resetText: string;
|
|
3100
3149
|
submitLoading: boolean;
|
|
3101
|
-
footerAlign: "
|
|
3150
|
+
footerAlign: "right" | "left" | "center";
|
|
3102
3151
|
cardProps: Partial< Mutable<CardProps> & {
|
|
3103
3152
|
style?: CSSProperties | undefined;
|
|
3104
3153
|
class?: any;
|
|
@@ -3106,9 +3155,10 @@ export declare const PlusSearch: {
|
|
|
3106
3155
|
prevent: boolean;
|
|
3107
3156
|
clearable: boolean;
|
|
3108
3157
|
}> & Omit<{
|
|
3109
|
-
readonly modelValue: FieldValues;
|
|
3110
3158
|
readonly columns: PlusColumn[];
|
|
3111
3159
|
readonly group: false | PlusFormGroupRow[];
|
|
3160
|
+
readonly layout: "grid" | "flex";
|
|
3161
|
+
readonly modelValue: FieldValues;
|
|
3112
3162
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3113
3163
|
readonly labelPosition: "top" | "right" | "left";
|
|
3114
3164
|
readonly labelWidth: string | number;
|
|
@@ -3129,7 +3179,7 @@ export declare const PlusSearch: {
|
|
|
3129
3179
|
readonly submitText: string;
|
|
3130
3180
|
readonly resetText: string;
|
|
3131
3181
|
readonly submitLoading: boolean;
|
|
3132
|
-
readonly footerAlign: "
|
|
3182
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
3133
3183
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
3134
3184
|
style?: CSSProperties | undefined;
|
|
3135
3185
|
class?: any;
|
|
@@ -3138,17 +3188,13 @@ export declare const PlusSearch: {
|
|
|
3138
3188
|
readonly clearable: boolean;
|
|
3139
3189
|
readonly collapseDuration?: number | undefined;
|
|
3140
3190
|
readonly collapseTransition?: boolean | undefined;
|
|
3141
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3142
3191
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3143
3192
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3144
3193
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3194
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3145
3195
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3146
3196
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3147
3197
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3148
|
-
modelValue: {
|
|
3149
|
-
type: PropType<FieldValues>;
|
|
3150
|
-
default: () => {};
|
|
3151
|
-
};
|
|
3152
3198
|
collapseDuration: {
|
|
3153
3199
|
type: PropType<number>;
|
|
3154
3200
|
default: undefined;
|
|
@@ -3165,6 +3211,14 @@ export declare const PlusSearch: {
|
|
|
3165
3211
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3166
3212
|
default: boolean;
|
|
3167
3213
|
};
|
|
3214
|
+
layout: {
|
|
3215
|
+
type: PropType<"grid" | "flex">;
|
|
3216
|
+
default: string;
|
|
3217
|
+
};
|
|
3218
|
+
modelValue: {
|
|
3219
|
+
type: PropType<FieldValues>;
|
|
3220
|
+
default: () => {};
|
|
3221
|
+
};
|
|
3168
3222
|
rules: {
|
|
3169
3223
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3170
3224
|
default: () => {};
|
|
@@ -3228,7 +3282,7 @@ export declare const PlusSearch: {
|
|
|
3228
3282
|
default: boolean;
|
|
3229
3283
|
};
|
|
3230
3284
|
footerAlign: {
|
|
3231
|
-
type: PropType<"
|
|
3285
|
+
type: PropType<"right" | "left" | "center">;
|
|
3232
3286
|
default: string;
|
|
3233
3287
|
};
|
|
3234
3288
|
cardProps: {
|
|
@@ -3247,13 +3301,13 @@ export declare const PlusSearch: {
|
|
|
3247
3301
|
default: boolean;
|
|
3248
3302
|
};
|
|
3249
3303
|
}>> & {
|
|
3250
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3251
3304
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3252
3305
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3253
3306
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3307
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3254
3308
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3255
3309
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3256
|
-
}, "
|
|
3310
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
3257
3311
|
$attrs: {
|
|
3258
3312
|
[x: string]: unknown;
|
|
3259
3313
|
};
|
|
@@ -3265,13 +3319,9 @@ export declare const PlusSearch: {
|
|
|
3265
3319
|
}>;
|
|
3266
3320
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3267
3321
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3268
|
-
$emit: ((event: "
|
|
3322
|
+
$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);
|
|
3269
3323
|
$el: any;
|
|
3270
3324
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3271
|
-
modelValue: {
|
|
3272
|
-
type: PropType<FieldValues>;
|
|
3273
|
-
default: () => {};
|
|
3274
|
-
};
|
|
3275
3325
|
collapseDuration: {
|
|
3276
3326
|
type: PropType<number>;
|
|
3277
3327
|
default: undefined;
|
|
@@ -3288,6 +3338,14 @@ export declare const PlusSearch: {
|
|
|
3288
3338
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3289
3339
|
default: boolean;
|
|
3290
3340
|
};
|
|
3341
|
+
layout: {
|
|
3342
|
+
type: PropType<"grid" | "flex">;
|
|
3343
|
+
default: string;
|
|
3344
|
+
};
|
|
3345
|
+
modelValue: {
|
|
3346
|
+
type: PropType<FieldValues>;
|
|
3347
|
+
default: () => {};
|
|
3348
|
+
};
|
|
3291
3349
|
rules: {
|
|
3292
3350
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3293
3351
|
default: () => {};
|
|
@@ -3351,7 +3409,7 @@ export declare const PlusSearch: {
|
|
|
3351
3409
|
default: boolean;
|
|
3352
3410
|
};
|
|
3353
3411
|
footerAlign: {
|
|
3354
|
-
type: PropType<"
|
|
3412
|
+
type: PropType<"right" | "left" | "center">;
|
|
3355
3413
|
default: string;
|
|
3356
3414
|
};
|
|
3357
3415
|
cardProps: {
|
|
@@ -3370,10 +3428,10 @@ export declare const PlusSearch: {
|
|
|
3370
3428
|
default: boolean;
|
|
3371
3429
|
};
|
|
3372
3430
|
}>> & {
|
|
3373
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3374
3431
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3375
3432
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3376
3433
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3434
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3377
3435
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3378
3436
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3379
3437
|
}, {
|
|
@@ -3669,11 +3727,12 @@ export declare const PlusSearch: {
|
|
|
3669
3727
|
submitError: (errors: unknown) => void;
|
|
3670
3728
|
validate: (...args: any[]) => void;
|
|
3671
3729
|
}, string, {
|
|
3672
|
-
modelValue: FieldValues;
|
|
3673
3730
|
collapseDuration: number;
|
|
3674
3731
|
collapseTransition: boolean;
|
|
3675
3732
|
columns: PlusColumn[];
|
|
3676
3733
|
group: false | PlusFormGroupRow[];
|
|
3734
|
+
layout: "grid" | "flex";
|
|
3735
|
+
modelValue: FieldValues;
|
|
3677
3736
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3678
3737
|
labelPosition: "top" | "right" | "left";
|
|
3679
3738
|
labelWidth: string | number;
|
|
@@ -3694,7 +3753,7 @@ export declare const PlusSearch: {
|
|
|
3694
3753
|
submitText: string;
|
|
3695
3754
|
resetText: string;
|
|
3696
3755
|
submitLoading: boolean;
|
|
3697
|
-
footerAlign: "
|
|
3756
|
+
footerAlign: "right" | "left" | "center";
|
|
3698
3757
|
cardProps: Partial< Mutable<CardProps> & {
|
|
3699
3758
|
style?: CSSProperties | undefined;
|
|
3700
3759
|
class?: any;
|
|
@@ -3722,10 +3781,6 @@ export declare const PlusSearch: {
|
|
|
3722
3781
|
$nextTick: nextTick;
|
|
3723
3782
|
$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;
|
|
3724
3783
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
3725
|
-
modelValue: {
|
|
3726
|
-
type: PropType<FieldValues>;
|
|
3727
|
-
default: () => {};
|
|
3728
|
-
};
|
|
3729
3784
|
collapseDuration: {
|
|
3730
3785
|
type: PropType<number>;
|
|
3731
3786
|
default: undefined;
|
|
@@ -3742,6 +3797,14 @@ export declare const PlusSearch: {
|
|
|
3742
3797
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3743
3798
|
default: boolean;
|
|
3744
3799
|
};
|
|
3800
|
+
layout: {
|
|
3801
|
+
type: PropType<"grid" | "flex">;
|
|
3802
|
+
default: string;
|
|
3803
|
+
};
|
|
3804
|
+
modelValue: {
|
|
3805
|
+
type: PropType<FieldValues>;
|
|
3806
|
+
default: () => {};
|
|
3807
|
+
};
|
|
3745
3808
|
rules: {
|
|
3746
3809
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3747
3810
|
default: () => {};
|
|
@@ -3805,7 +3868,7 @@ export declare const PlusSearch: {
|
|
|
3805
3868
|
default: boolean;
|
|
3806
3869
|
};
|
|
3807
3870
|
footerAlign: {
|
|
3808
|
-
type: PropType<"
|
|
3871
|
+
type: PropType<"right" | "left" | "center">;
|
|
3809
3872
|
default: string;
|
|
3810
3873
|
};
|
|
3811
3874
|
cardProps: {
|
|
@@ -3824,10 +3887,10 @@ export declare const PlusSearch: {
|
|
|
3824
3887
|
default: boolean;
|
|
3825
3888
|
};
|
|
3826
3889
|
}>> & {
|
|
3827
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3828
3890
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3829
3891
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3830
3892
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3893
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3831
3894
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3832
3895
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3833
3896
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -4128,14 +4191,14 @@ export declare const PlusSearch: {
|
|
|
4128
4191
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
4129
4192
|
columns?: PlusColumn[] | undefined;
|
|
4130
4193
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4131
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4194
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4132
4195
|
readonly label: string | ComputedRef<string>;
|
|
4133
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4196
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4134
4197
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4135
|
-
readonly tooltip: string |
|
|
4198
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4136
4199
|
style?: CSSProperties | undefined;
|
|
4137
4200
|
class?: any;
|
|
4138
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4201
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4139
4202
|
style?: CSSProperties | undefined;
|
|
4140
4203
|
class?: any;
|
|
4141
4204
|
} & RecordType>>;
|
|
@@ -4202,12 +4265,12 @@ export declare const PlusSearch: {
|
|
|
4202
4265
|
fieldInstance?: any;
|
|
4203
4266
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4204
4267
|
prop: string;
|
|
4205
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4268
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4206
4269
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4207
|
-
tooltip: string |
|
|
4270
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4208
4271
|
style?: CSSProperties | undefined;
|
|
4209
4272
|
class?: any;
|
|
4210
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4273
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4211
4274
|
style?: CSSProperties | undefined;
|
|
4212
4275
|
class?: any;
|
|
4213
4276
|
} & RecordType>>;
|
|
@@ -4236,14 +4299,14 @@ export declare const PlusSearch: {
|
|
|
4236
4299
|
clearable: boolean;
|
|
4237
4300
|
index: number;
|
|
4238
4301
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4239
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4302
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4240
4303
|
readonly label: string | ComputedRef<string>;
|
|
4241
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4304
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4242
4305
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4243
|
-
readonly tooltip: string |
|
|
4306
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4244
4307
|
style?: CSSProperties | undefined;
|
|
4245
4308
|
class?: any;
|
|
4246
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4309
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4247
4310
|
style?: CSSProperties | undefined;
|
|
4248
4311
|
class?: any;
|
|
4249
4312
|
} & RecordType>>;
|
|
@@ -4310,12 +4373,12 @@ export declare const PlusSearch: {
|
|
|
4310
4373
|
fieldInstance?: any;
|
|
4311
4374
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4312
4375
|
prop: string;
|
|
4313
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4376
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4314
4377
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4315
|
-
tooltip: string |
|
|
4378
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4316
4379
|
style?: CSSProperties | undefined;
|
|
4317
4380
|
class?: any;
|
|
4318
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4381
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4319
4382
|
style?: CSSProperties | undefined;
|
|
4320
4383
|
class?: any;
|
|
4321
4384
|
} & RecordType>>;
|
|
@@ -4367,8 +4430,9 @@ export declare const PlusSearch: {
|
|
|
4367
4430
|
reset: (values: FieldValues) => void;
|
|
4368
4431
|
collapse: (isShowUnfold: boolean) => void;
|
|
4369
4432
|
}, string, {
|
|
4370
|
-
modelValue: FieldValues;
|
|
4371
4433
|
columns: PlusColumn[];
|
|
4434
|
+
layout: "grid" | "flex";
|
|
4435
|
+
modelValue: FieldValues;
|
|
4372
4436
|
labelPosition: "top" | "right" | "left";
|
|
4373
4437
|
inline: boolean;
|
|
4374
4438
|
showNumber: number;
|
|
@@ -4395,14 +4459,14 @@ export declare const PlusSearch: {
|
|
|
4395
4459
|
resetIcon: Component | null;
|
|
4396
4460
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
4397
4461
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
4398
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4462
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4399
4463
|
readonly label: string | ComputedRef<string>;
|
|
4400
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4464
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4401
4465
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4402
|
-
readonly tooltip: string |
|
|
4466
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4403
4467
|
style?: CSSProperties | undefined;
|
|
4404
4468
|
class?: any;
|
|
4405
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4469
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4406
4470
|
style?: CSSProperties | undefined;
|
|
4407
4471
|
class?: any;
|
|
4408
4472
|
} & RecordType>>;
|
|
@@ -4469,12 +4533,12 @@ export declare const PlusSearch: {
|
|
|
4469
4533
|
fieldInstance?: any;
|
|
4470
4534
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4471
4535
|
prop: string;
|
|
4472
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4536
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4473
4537
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4474
|
-
tooltip: string |
|
|
4538
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4475
4539
|
style?: CSSProperties | undefined;
|
|
4476
4540
|
class?: any;
|
|
4477
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4541
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4478
4542
|
style?: CSSProperties | undefined;
|
|
4479
4543
|
class?: any;
|
|
4480
4544
|
} & RecordType>>;
|