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