yc-pro-components 0.0.75 → 0.0.76
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/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/table/src/table-title-bar.vue.mjs +1 -1
- package/es/components/table/src/table-title-bar.vue2.mjs +79 -40
- package/es/components/table/src/type.d.ts +17 -0
- 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-drawer/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +2 -3
- 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 +10 -9
- 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 +84 -46
- package/index.min.css +2 -1
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +85 -47
- 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/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/table/src/table-title-bar.vue.js +1 -1
- package/lib/components/table/src/table-title-bar.vue2.js +78 -39
- package/lib/components/table/src/type.d.ts +17 -0
- 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-drawer/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +2 -3
- 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 +13 -12
- 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 { PlusColumn, FieldValues, Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Component, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ComputedRef } from 'vue';
|
|
7
7
|
import { default as Search } from './src/index.vue';
|
|
8
8
|
|
|
@@ -10,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
|
-
};
|
|
21
13
|
columns: {
|
|
22
14
|
type: PropType< PlusColumn[]>;
|
|
23
15
|
default: () => never[];
|
|
24
16
|
};
|
|
25
17
|
layout: {
|
|
26
|
-
type: PropType<"
|
|
18
|
+
type: PropType<"grid" | "flex">;
|
|
27
19
|
default: "grid";
|
|
28
20
|
};
|
|
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;
|
|
113
112
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
114
113
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
114
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
115
115
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
116
116
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
117
117
|
}, {
|
|
@@ -119,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;
|
|
124
122
|
collapseDuration: number;
|
|
125
123
|
collapseTransition: boolean;
|
|
126
124
|
columns: PlusColumn[];
|
|
127
125
|
group: false | PlusFormGroupRow[];
|
|
128
|
-
layout: "
|
|
126
|
+
layout: "grid" | "flex";
|
|
127
|
+
modelValue: FieldValues;
|
|
129
128
|
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: "right" | "left" | "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;
|
|
158
156
|
readonly columns: PlusColumn[];
|
|
159
157
|
readonly group: false | PlusFormGroupRow[];
|
|
158
|
+
readonly modelValue: FieldValues;
|
|
160
159
|
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: "right" | "left" | "center";
|
|
180
180
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
181
181
|
style?: CSSProperties | undefined;
|
|
182
182
|
class?: any;
|
|
@@ -185,22 +185,14 @@ export declare const PlusSearch: {
|
|
|
185
185
|
readonly clearable: boolean;
|
|
186
186
|
readonly collapseDuration?: number | undefined;
|
|
187
187
|
readonly collapseTransition?: boolean | undefined;
|
|
188
|
-
readonly layout?: "
|
|
189
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
188
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
190
189
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
191
190
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
192
191
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
192
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
193
193
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
194
194
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
195
195
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
196
|
-
labelPosition: {
|
|
197
|
-
type: PropType<"left" | "right" | "top">;
|
|
198
|
-
default: string;
|
|
199
|
-
};
|
|
200
|
-
modelValue: {
|
|
201
|
-
type: PropType<FieldValues>;
|
|
202
|
-
default: () => {};
|
|
203
|
-
};
|
|
204
196
|
collapseDuration: {
|
|
205
197
|
type: PropType<number>;
|
|
206
198
|
default: undefined;
|
|
@@ -218,13 +210,21 @@ export declare const PlusSearch: {
|
|
|
218
210
|
default: boolean;
|
|
219
211
|
};
|
|
220
212
|
layout: {
|
|
221
|
-
type: PropType<"
|
|
213
|
+
type: PropType<"grid" | "flex">;
|
|
222
214
|
default: undefined;
|
|
223
215
|
};
|
|
216
|
+
modelValue: {
|
|
217
|
+
type: PropType<FieldValues>;
|
|
218
|
+
default: () => {};
|
|
219
|
+
};
|
|
224
220
|
rules: {
|
|
225
221
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
226
222
|
default: () => {};
|
|
227
223
|
};
|
|
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<"right" | "left" | "center">;
|
|
284
284
|
default: string;
|
|
285
285
|
};
|
|
286
286
|
cardProps: {
|
|
@@ -299,13 +299,13 @@ export declare const PlusSearch: {
|
|
|
299
299
|
default: boolean;
|
|
300
300
|
};
|
|
301
301
|
}>> & {
|
|
302
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
303
302
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
304
303
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
305
304
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
305
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
306
306
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
307
307
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
308
|
-
}, "
|
|
308
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
309
309
|
$attrs: {
|
|
310
310
|
[x: string]: unknown;
|
|
311
311
|
};
|
|
@@ -317,17 +317,9 @@ export declare const PlusSearch: {
|
|
|
317
317
|
}>;
|
|
318
318
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
319
319
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
320
|
-
$emit: ((event: "
|
|
320
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
321
321
|
$el: any;
|
|
322
322
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
323
|
-
labelPosition: {
|
|
324
|
-
type: PropType<"left" | "right" | "top">;
|
|
325
|
-
default: string;
|
|
326
|
-
};
|
|
327
|
-
modelValue: {
|
|
328
|
-
type: PropType<FieldValues>;
|
|
329
|
-
default: () => {};
|
|
330
|
-
};
|
|
331
323
|
collapseDuration: {
|
|
332
324
|
type: PropType<number>;
|
|
333
325
|
default: undefined;
|
|
@@ -345,13 +337,21 @@ export declare const PlusSearch: {
|
|
|
345
337
|
default: boolean;
|
|
346
338
|
};
|
|
347
339
|
layout: {
|
|
348
|
-
type: PropType<"
|
|
340
|
+
type: PropType<"grid" | "flex">;
|
|
349
341
|
default: undefined;
|
|
350
342
|
};
|
|
343
|
+
modelValue: {
|
|
344
|
+
type: PropType<FieldValues>;
|
|
345
|
+
default: () => {};
|
|
346
|
+
};
|
|
351
347
|
rules: {
|
|
352
348
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
353
349
|
default: () => {};
|
|
354
350
|
};
|
|
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<"right" | "left" | "center">;
|
|
411
411
|
default: string;
|
|
412
412
|
};
|
|
413
413
|
cardProps: {
|
|
@@ -426,10 +426,10 @@ export declare const PlusSearch: {
|
|
|
426
426
|
default: boolean;
|
|
427
427
|
};
|
|
428
428
|
}>> & {
|
|
429
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
430
429
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
431
430
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
432
431
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
432
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
433
433
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
434
434
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
435
435
|
}, {
|
|
@@ -444,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;
|
|
449
447
|
collapseDuration: number;
|
|
450
448
|
collapseTransition: boolean;
|
|
451
449
|
columns: PlusColumn[];
|
|
452
450
|
group: false | PlusFormGroupRow[];
|
|
453
|
-
layout: "
|
|
451
|
+
layout: "grid" | "flex";
|
|
452
|
+
modelValue: FieldValues;
|
|
454
453
|
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: "right" | "left" | "center";
|
|
474
474
|
cardProps: Partial< Mutable<CardProps> & {
|
|
475
475
|
style?: CSSProperties | undefined;
|
|
476
476
|
class?: any;
|
|
@@ -498,14 +498,6 @@ export declare const PlusSearch: {
|
|
|
498
498
|
$nextTick: nextTick;
|
|
499
499
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
500
500
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
501
|
-
labelPosition: {
|
|
502
|
-
type: PropType<"left" | "right" | "top">;
|
|
503
|
-
default: string;
|
|
504
|
-
};
|
|
505
|
-
modelValue: {
|
|
506
|
-
type: PropType<FieldValues>;
|
|
507
|
-
default: () => {};
|
|
508
|
-
};
|
|
509
501
|
collapseDuration: {
|
|
510
502
|
type: PropType<number>;
|
|
511
503
|
default: undefined;
|
|
@@ -523,13 +515,21 @@ export declare const PlusSearch: {
|
|
|
523
515
|
default: boolean;
|
|
524
516
|
};
|
|
525
517
|
layout: {
|
|
526
|
-
type: PropType<"
|
|
518
|
+
type: PropType<"grid" | "flex">;
|
|
527
519
|
default: undefined;
|
|
528
520
|
};
|
|
521
|
+
modelValue: {
|
|
522
|
+
type: PropType<FieldValues>;
|
|
523
|
+
default: () => {};
|
|
524
|
+
};
|
|
529
525
|
rules: {
|
|
530
526
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
531
527
|
default: () => {};
|
|
532
528
|
};
|
|
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<"right" | "left" | "center">;
|
|
589
589
|
default: string;
|
|
590
590
|
};
|
|
591
591
|
cardProps: {
|
|
@@ -604,10 +604,10 @@ export declare const PlusSearch: {
|
|
|
604
604
|
default: boolean;
|
|
605
605
|
};
|
|
606
606
|
}>> & {
|
|
607
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
608
607
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
609
608
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
610
609
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
610
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
611
611
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
612
612
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
613
613
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -627,14 +627,14 @@ export declare const PlusSearch: {
|
|
|
627
627
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
628
628
|
columns?: PlusColumn[] | undefined;
|
|
629
629
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
630
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
630
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
631
631
|
readonly label: string | ComputedRef<string>;
|
|
632
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
632
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
633
633
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
634
|
-
readonly tooltip: string |
|
|
634
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
635
635
|
style?: CSSProperties | undefined;
|
|
636
636
|
class?: any;
|
|
637
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
637
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
638
638
|
style?: CSSProperties | undefined;
|
|
639
639
|
class?: any;
|
|
640
640
|
} & RecordType>>;
|
|
@@ -701,12 +701,12 @@ export declare const PlusSearch: {
|
|
|
701
701
|
fieldInstance?: any;
|
|
702
702
|
valueIsReady?: Ref<boolean> | undefined;
|
|
703
703
|
prop: string;
|
|
704
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
704
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
705
705
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
706
|
-
tooltip: string |
|
|
706
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
707
707
|
style?: CSSProperties | undefined;
|
|
708
708
|
class?: any;
|
|
709
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
709
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
710
710
|
style?: CSSProperties | undefined;
|
|
711
711
|
class?: any;
|
|
712
712
|
} & RecordType>>;
|
|
@@ -735,14 +735,14 @@ export declare const PlusSearch: {
|
|
|
735
735
|
clearable: boolean;
|
|
736
736
|
index: number;
|
|
737
737
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
738
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
738
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
739
739
|
readonly label: string | ComputedRef<string>;
|
|
740
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
740
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
741
741
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
742
|
-
readonly tooltip: string |
|
|
742
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
743
743
|
style?: CSSProperties | undefined;
|
|
744
744
|
class?: any;
|
|
745
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
745
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
746
746
|
style?: CSSProperties | undefined;
|
|
747
747
|
class?: any;
|
|
748
748
|
} & RecordType>>;
|
|
@@ -809,12 +809,12 @@ export declare const PlusSearch: {
|
|
|
809
809
|
fieldInstance?: any;
|
|
810
810
|
valueIsReady?: Ref<boolean> | undefined;
|
|
811
811
|
prop: string;
|
|
812
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
812
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
813
813
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
814
|
-
tooltip: string |
|
|
814
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
815
815
|
style?: CSSProperties | undefined;
|
|
816
816
|
class?: any;
|
|
817
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
817
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
818
818
|
style?: CSSProperties | undefined;
|
|
819
819
|
class?: any;
|
|
820
820
|
} & RecordType>>;
|
|
@@ -866,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
|
-
};
|
|
877
869
|
columns: {
|
|
878
870
|
type: PropType< PlusColumn[]>;
|
|
879
871
|
default: () => never[];
|
|
880
872
|
};
|
|
881
873
|
layout: {
|
|
882
|
-
type: PropType<"
|
|
874
|
+
type: PropType<"grid" | "flex">;
|
|
883
875
|
default: "grid";
|
|
884
876
|
};
|
|
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;
|
|
969
968
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
970
969
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
970
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
971
971
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
972
972
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
973
973
|
}, {
|
|
974
|
-
labelPosition: "left" | "right" | "top";
|
|
975
|
-
modelValue: FieldValues;
|
|
976
974
|
columns: PlusColumn[];
|
|
977
|
-
layout: "
|
|
975
|
+
layout: "grid" | "flex";
|
|
976
|
+
modelValue: FieldValues;
|
|
977
|
+
labelPosition: "top" | "right" | "left";
|
|
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
|
-
};
|
|
1017
1009
|
columns: {
|
|
1018
1010
|
type: PropType< PlusColumn[]>;
|
|
1019
1011
|
default: () => never[];
|
|
1020
1012
|
};
|
|
1021
1013
|
layout: {
|
|
1022
|
-
type: PropType<"
|
|
1014
|
+
type: PropType<"grid" | "flex">;
|
|
1023
1015
|
default: "grid";
|
|
1024
1016
|
};
|
|
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;
|
|
1109
1108
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1110
1109
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1110
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1111
1111
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1112
1112
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1113
1113
|
}, {
|
|
@@ -1115,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;
|
|
1120
1118
|
collapseDuration: number;
|
|
1121
1119
|
collapseTransition: boolean;
|
|
1122
1120
|
columns: PlusColumn[];
|
|
1123
1121
|
group: false | PlusFormGroupRow[];
|
|
1124
|
-
layout: "
|
|
1122
|
+
layout: "grid" | "flex";
|
|
1123
|
+
modelValue: FieldValues;
|
|
1125
1124
|
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: "right" | "left" | "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;
|
|
1154
1152
|
readonly columns: PlusColumn[];
|
|
1155
1153
|
readonly group: false | PlusFormGroupRow[];
|
|
1154
|
+
readonly modelValue: FieldValues;
|
|
1156
1155
|
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: "right" | "left" | "center";
|
|
1176
1176
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1177
1177
|
style?: CSSProperties | undefined;
|
|
1178
1178
|
class?: any;
|
|
@@ -1181,22 +1181,14 @@ export declare const PlusSearch: {
|
|
|
1181
1181
|
readonly clearable: boolean;
|
|
1182
1182
|
readonly collapseDuration?: number | undefined;
|
|
1183
1183
|
readonly collapseTransition?: boolean | undefined;
|
|
1184
|
-
readonly layout?: "
|
|
1185
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1184
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
1186
1185
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1187
1186
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1188
1187
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1188
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1189
1189
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1190
1190
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1191
1191
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1192
|
-
labelPosition: {
|
|
1193
|
-
type: PropType<"left" | "right" | "top">;
|
|
1194
|
-
default: string;
|
|
1195
|
-
};
|
|
1196
|
-
modelValue: {
|
|
1197
|
-
type: PropType<FieldValues>;
|
|
1198
|
-
default: () => {};
|
|
1199
|
-
};
|
|
1200
1192
|
collapseDuration: {
|
|
1201
1193
|
type: PropType<number>;
|
|
1202
1194
|
default: undefined;
|
|
@@ -1214,13 +1206,21 @@ export declare const PlusSearch: {
|
|
|
1214
1206
|
default: boolean;
|
|
1215
1207
|
};
|
|
1216
1208
|
layout: {
|
|
1217
|
-
type: PropType<"
|
|
1209
|
+
type: PropType<"grid" | "flex">;
|
|
1218
1210
|
default: undefined;
|
|
1219
1211
|
};
|
|
1212
|
+
modelValue: {
|
|
1213
|
+
type: PropType<FieldValues>;
|
|
1214
|
+
default: () => {};
|
|
1215
|
+
};
|
|
1220
1216
|
rules: {
|
|
1221
1217
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1222
1218
|
default: () => {};
|
|
1223
1219
|
};
|
|
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<"right" | "left" | "center">;
|
|
1280
1280
|
default: string;
|
|
1281
1281
|
};
|
|
1282
1282
|
cardProps: {
|
|
@@ -1295,13 +1295,13 @@ export declare const PlusSearch: {
|
|
|
1295
1295
|
default: boolean;
|
|
1296
1296
|
};
|
|
1297
1297
|
}>> & {
|
|
1298
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1299
1298
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1300
1299
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1301
1300
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1301
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1302
1302
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1303
1303
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1304
|
-
}, "
|
|
1304
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1305
1305
|
$attrs: {
|
|
1306
1306
|
[x: string]: unknown;
|
|
1307
1307
|
};
|
|
@@ -1313,17 +1313,9 @@ export declare const PlusSearch: {
|
|
|
1313
1313
|
}>;
|
|
1314
1314
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1315
1315
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1316
|
-
$emit: ((event: "
|
|
1316
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1317
1317
|
$el: any;
|
|
1318
1318
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1319
|
-
labelPosition: {
|
|
1320
|
-
type: PropType<"left" | "right" | "top">;
|
|
1321
|
-
default: string;
|
|
1322
|
-
};
|
|
1323
|
-
modelValue: {
|
|
1324
|
-
type: PropType<FieldValues>;
|
|
1325
|
-
default: () => {};
|
|
1326
|
-
};
|
|
1327
1319
|
collapseDuration: {
|
|
1328
1320
|
type: PropType<number>;
|
|
1329
1321
|
default: undefined;
|
|
@@ -1341,13 +1333,21 @@ export declare const PlusSearch: {
|
|
|
1341
1333
|
default: boolean;
|
|
1342
1334
|
};
|
|
1343
1335
|
layout: {
|
|
1344
|
-
type: PropType<"
|
|
1336
|
+
type: PropType<"grid" | "flex">;
|
|
1345
1337
|
default: undefined;
|
|
1346
1338
|
};
|
|
1339
|
+
modelValue: {
|
|
1340
|
+
type: PropType<FieldValues>;
|
|
1341
|
+
default: () => {};
|
|
1342
|
+
};
|
|
1347
1343
|
rules: {
|
|
1348
1344
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1349
1345
|
default: () => {};
|
|
1350
1346
|
};
|
|
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<"right" | "left" | "center">;
|
|
1407
1407
|
default: string;
|
|
1408
1408
|
};
|
|
1409
1409
|
cardProps: {
|
|
@@ -1422,10 +1422,10 @@ export declare const PlusSearch: {
|
|
|
1422
1422
|
default: boolean;
|
|
1423
1423
|
};
|
|
1424
1424
|
}>> & {
|
|
1425
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1426
1425
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1427
1426
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1428
1427
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1428
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1429
1429
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1430
1430
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1431
1431
|
}, {
|
|
@@ -1440,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;
|
|
1445
1443
|
collapseDuration: number;
|
|
1446
1444
|
collapseTransition: boolean;
|
|
1447
1445
|
columns: PlusColumn[];
|
|
1448
1446
|
group: false | PlusFormGroupRow[];
|
|
1449
|
-
layout: "
|
|
1447
|
+
layout: "grid" | "flex";
|
|
1448
|
+
modelValue: FieldValues;
|
|
1450
1449
|
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: "right" | "left" | "center";
|
|
1470
1470
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1471
1471
|
style?: CSSProperties | undefined;
|
|
1472
1472
|
class?: any;
|
|
@@ -1494,14 +1494,6 @@ export declare const PlusSearch: {
|
|
|
1494
1494
|
$nextTick: nextTick;
|
|
1495
1495
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1496
1496
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1497
|
-
labelPosition: {
|
|
1498
|
-
type: PropType<"left" | "right" | "top">;
|
|
1499
|
-
default: string;
|
|
1500
|
-
};
|
|
1501
|
-
modelValue: {
|
|
1502
|
-
type: PropType<FieldValues>;
|
|
1503
|
-
default: () => {};
|
|
1504
|
-
};
|
|
1505
1497
|
collapseDuration: {
|
|
1506
1498
|
type: PropType<number>;
|
|
1507
1499
|
default: undefined;
|
|
@@ -1519,13 +1511,21 @@ export declare const PlusSearch: {
|
|
|
1519
1511
|
default: boolean;
|
|
1520
1512
|
};
|
|
1521
1513
|
layout: {
|
|
1522
|
-
type: PropType<"
|
|
1514
|
+
type: PropType<"grid" | "flex">;
|
|
1523
1515
|
default: undefined;
|
|
1524
1516
|
};
|
|
1517
|
+
modelValue: {
|
|
1518
|
+
type: PropType<FieldValues>;
|
|
1519
|
+
default: () => {};
|
|
1520
|
+
};
|
|
1525
1521
|
rules: {
|
|
1526
1522
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1527
1523
|
default: () => {};
|
|
1528
1524
|
};
|
|
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<"right" | "left" | "center">;
|
|
1585
1585
|
default: string;
|
|
1586
1586
|
};
|
|
1587
1587
|
cardProps: {
|
|
@@ -1600,10 +1600,10 @@ export declare const PlusSearch: {
|
|
|
1600
1600
|
default: boolean;
|
|
1601
1601
|
};
|
|
1602
1602
|
}>> & {
|
|
1603
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1604
1603
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1605
1604
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1606
1605
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1606
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1607
1607
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1608
1608
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1609
1609
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1623,14 +1623,14 @@ export declare const PlusSearch: {
|
|
|
1623
1623
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1624
1624
|
columns?: PlusColumn[] | undefined;
|
|
1625
1625
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1626
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1626
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1627
1627
|
readonly label: string | ComputedRef<string>;
|
|
1628
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1628
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1629
1629
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1630
|
-
readonly tooltip: string |
|
|
1630
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1631
1631
|
style?: CSSProperties | undefined;
|
|
1632
1632
|
class?: any;
|
|
1633
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1633
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1634
1634
|
style?: CSSProperties | undefined;
|
|
1635
1635
|
class?: any;
|
|
1636
1636
|
} & RecordType>>;
|
|
@@ -1697,12 +1697,12 @@ export declare const PlusSearch: {
|
|
|
1697
1697
|
fieldInstance?: any;
|
|
1698
1698
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1699
1699
|
prop: string;
|
|
1700
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1700
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1701
1701
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1702
|
-
tooltip: string |
|
|
1702
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1703
1703
|
style?: CSSProperties | undefined;
|
|
1704
1704
|
class?: any;
|
|
1705
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1705
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1706
1706
|
style?: CSSProperties | undefined;
|
|
1707
1707
|
class?: any;
|
|
1708
1708
|
} & RecordType>>;
|
|
@@ -1731,14 +1731,14 @@ export declare const PlusSearch: {
|
|
|
1731
1731
|
clearable: boolean;
|
|
1732
1732
|
index: number;
|
|
1733
1733
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1734
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1734
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1735
1735
|
readonly label: string | ComputedRef<string>;
|
|
1736
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1736
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1737
1737
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1738
|
-
readonly tooltip: string |
|
|
1738
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1739
1739
|
style?: CSSProperties | undefined;
|
|
1740
1740
|
class?: any;
|
|
1741
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1741
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1742
1742
|
style?: CSSProperties | undefined;
|
|
1743
1743
|
class?: any;
|
|
1744
1744
|
} & RecordType>>;
|
|
@@ -1805,12 +1805,12 @@ export declare const PlusSearch: {
|
|
|
1805
1805
|
fieldInstance?: any;
|
|
1806
1806
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1807
1807
|
prop: string;
|
|
1808
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1808
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1809
1809
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1810
|
-
tooltip: string |
|
|
1810
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1811
1811
|
style?: CSSProperties | undefined;
|
|
1812
1812
|
class?: any;
|
|
1813
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1813
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1814
1814
|
style?: CSSProperties | undefined;
|
|
1815
1815
|
class?: any;
|
|
1816
1816
|
} & RecordType>>;
|
|
@@ -1856,10 +1856,10 @@ export declare const PlusSearch: {
|
|
|
1856
1856
|
handleSearch: () => void;
|
|
1857
1857
|
handleUnfold: (e: MouseEvent) => void;
|
|
1858
1858
|
}, {}, {}, {}, {
|
|
1859
|
-
labelPosition: "left" | "right" | "top";
|
|
1860
|
-
modelValue: FieldValues;
|
|
1861
1859
|
columns: PlusColumn[];
|
|
1862
|
-
layout: "
|
|
1860
|
+
layout: "grid" | "flex";
|
|
1861
|
+
modelValue: FieldValues;
|
|
1862
|
+
labelPosition: "top" | "right" | "left";
|
|
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
|
-
};
|
|
1899
1891
|
columns: {
|
|
1900
1892
|
type: PropType< PlusColumn[]>;
|
|
1901
1893
|
default: () => never[];
|
|
1902
1894
|
};
|
|
1903
1895
|
layout: {
|
|
1904
|
-
type: PropType<"
|
|
1896
|
+
type: PropType<"grid" | "flex">;
|
|
1905
1897
|
default: "grid";
|
|
1906
1898
|
};
|
|
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;
|
|
1991
1990
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1992
1991
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1992
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1993
1993
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1994
1994
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1995
1995
|
}, {
|
|
@@ -1997,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;
|
|
2002
2000
|
collapseDuration: number;
|
|
2003
2001
|
collapseTransition: boolean;
|
|
2004
2002
|
columns: PlusColumn[];
|
|
2005
2003
|
group: false | PlusFormGroupRow[];
|
|
2006
|
-
layout: "
|
|
2004
|
+
layout: "grid" | "flex";
|
|
2005
|
+
modelValue: FieldValues;
|
|
2007
2006
|
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: "right" | "left" | "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;
|
|
2036
2034
|
readonly columns: PlusColumn[];
|
|
2037
2035
|
readonly group: false | PlusFormGroupRow[];
|
|
2036
|
+
readonly modelValue: FieldValues;
|
|
2038
2037
|
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: "right" | "left" | "center";
|
|
2058
2058
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
2059
2059
|
style?: CSSProperties | undefined;
|
|
2060
2060
|
class?: any;
|
|
@@ -2063,22 +2063,14 @@ export declare const PlusSearch: {
|
|
|
2063
2063
|
readonly clearable: boolean;
|
|
2064
2064
|
readonly collapseDuration?: number | undefined;
|
|
2065
2065
|
readonly collapseTransition?: boolean | undefined;
|
|
2066
|
-
readonly layout?: "
|
|
2067
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2066
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
2068
2067
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2069
2068
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2070
2069
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2070
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2071
2071
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2072
2072
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2073
2073
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2074
|
-
labelPosition: {
|
|
2075
|
-
type: PropType<"left" | "right" | "top">;
|
|
2076
|
-
default: string;
|
|
2077
|
-
};
|
|
2078
|
-
modelValue: {
|
|
2079
|
-
type: PropType<FieldValues>;
|
|
2080
|
-
default: () => {};
|
|
2081
|
-
};
|
|
2082
2074
|
collapseDuration: {
|
|
2083
2075
|
type: PropType<number>;
|
|
2084
2076
|
default: undefined;
|
|
@@ -2096,13 +2088,21 @@ export declare const PlusSearch: {
|
|
|
2096
2088
|
default: boolean;
|
|
2097
2089
|
};
|
|
2098
2090
|
layout: {
|
|
2099
|
-
type: PropType<"
|
|
2091
|
+
type: PropType<"grid" | "flex">;
|
|
2100
2092
|
default: undefined;
|
|
2101
2093
|
};
|
|
2094
|
+
modelValue: {
|
|
2095
|
+
type: PropType<FieldValues>;
|
|
2096
|
+
default: () => {};
|
|
2097
|
+
};
|
|
2102
2098
|
rules: {
|
|
2103
2099
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2104
2100
|
default: () => {};
|
|
2105
2101
|
};
|
|
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<"right" | "left" | "center">;
|
|
2162
2162
|
default: string;
|
|
2163
2163
|
};
|
|
2164
2164
|
cardProps: {
|
|
@@ -2177,13 +2177,13 @@ export declare const PlusSearch: {
|
|
|
2177
2177
|
default: boolean;
|
|
2178
2178
|
};
|
|
2179
2179
|
}>> & {
|
|
2180
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2181
2180
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2182
2181
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2183
2182
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2183
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2184
2184
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2185
2185
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2186
|
-
}, "
|
|
2186
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2187
2187
|
$attrs: {
|
|
2188
2188
|
[x: string]: unknown;
|
|
2189
2189
|
};
|
|
@@ -2195,17 +2195,9 @@ export declare const PlusSearch: {
|
|
|
2195
2195
|
}>;
|
|
2196
2196
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2197
2197
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2198
|
-
$emit: ((event: "
|
|
2198
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2199
2199
|
$el: any;
|
|
2200
2200
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2201
|
-
labelPosition: {
|
|
2202
|
-
type: PropType<"left" | "right" | "top">;
|
|
2203
|
-
default: string;
|
|
2204
|
-
};
|
|
2205
|
-
modelValue: {
|
|
2206
|
-
type: PropType<FieldValues>;
|
|
2207
|
-
default: () => {};
|
|
2208
|
-
};
|
|
2209
2201
|
collapseDuration: {
|
|
2210
2202
|
type: PropType<number>;
|
|
2211
2203
|
default: undefined;
|
|
@@ -2223,13 +2215,21 @@ export declare const PlusSearch: {
|
|
|
2223
2215
|
default: boolean;
|
|
2224
2216
|
};
|
|
2225
2217
|
layout: {
|
|
2226
|
-
type: PropType<"
|
|
2218
|
+
type: PropType<"grid" | "flex">;
|
|
2227
2219
|
default: undefined;
|
|
2228
2220
|
};
|
|
2221
|
+
modelValue: {
|
|
2222
|
+
type: PropType<FieldValues>;
|
|
2223
|
+
default: () => {};
|
|
2224
|
+
};
|
|
2229
2225
|
rules: {
|
|
2230
2226
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2231
2227
|
default: () => {};
|
|
2232
2228
|
};
|
|
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<"right" | "left" | "center">;
|
|
2289
2289
|
default: string;
|
|
2290
2290
|
};
|
|
2291
2291
|
cardProps: {
|
|
@@ -2304,10 +2304,10 @@ export declare const PlusSearch: {
|
|
|
2304
2304
|
default: boolean;
|
|
2305
2305
|
};
|
|
2306
2306
|
}>> & {
|
|
2307
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2308
2307
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2309
2308
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2310
2309
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2310
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2311
2311
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2312
2312
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2313
2313
|
}, {
|
|
@@ -2322,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;
|
|
2327
2325
|
collapseDuration: number;
|
|
2328
2326
|
collapseTransition: boolean;
|
|
2329
2327
|
columns: PlusColumn[];
|
|
2330
2328
|
group: false | PlusFormGroupRow[];
|
|
2331
|
-
layout: "
|
|
2329
|
+
layout: "grid" | "flex";
|
|
2330
|
+
modelValue: FieldValues;
|
|
2332
2331
|
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: "right" | "left" | "center";
|
|
2352
2352
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2353
2353
|
style?: CSSProperties | undefined;
|
|
2354
2354
|
class?: any;
|
|
@@ -2376,14 +2376,6 @@ export declare const PlusSearch: {
|
|
|
2376
2376
|
$nextTick: nextTick;
|
|
2377
2377
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2378
2378
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2379
|
-
labelPosition: {
|
|
2380
|
-
type: PropType<"left" | "right" | "top">;
|
|
2381
|
-
default: string;
|
|
2382
|
-
};
|
|
2383
|
-
modelValue: {
|
|
2384
|
-
type: PropType<FieldValues>;
|
|
2385
|
-
default: () => {};
|
|
2386
|
-
};
|
|
2387
2379
|
collapseDuration: {
|
|
2388
2380
|
type: PropType<number>;
|
|
2389
2381
|
default: undefined;
|
|
@@ -2401,13 +2393,21 @@ export declare const PlusSearch: {
|
|
|
2401
2393
|
default: boolean;
|
|
2402
2394
|
};
|
|
2403
2395
|
layout: {
|
|
2404
|
-
type: PropType<"
|
|
2396
|
+
type: PropType<"grid" | "flex">;
|
|
2405
2397
|
default: undefined;
|
|
2406
2398
|
};
|
|
2399
|
+
modelValue: {
|
|
2400
|
+
type: PropType<FieldValues>;
|
|
2401
|
+
default: () => {};
|
|
2402
|
+
};
|
|
2407
2403
|
rules: {
|
|
2408
2404
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2409
2405
|
default: () => {};
|
|
2410
2406
|
};
|
|
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<"right" | "left" | "center">;
|
|
2467
2467
|
default: string;
|
|
2468
2468
|
};
|
|
2469
2469
|
cardProps: {
|
|
@@ -2482,10 +2482,10 @@ export declare const PlusSearch: {
|
|
|
2482
2482
|
default: boolean;
|
|
2483
2483
|
};
|
|
2484
2484
|
}>> & {
|
|
2485
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2486
2485
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2487
2486
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2488
2487
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2488
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2489
2489
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2490
2490
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2491
2491
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2505,14 +2505,14 @@ export declare const PlusSearch: {
|
|
|
2505
2505
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2506
2506
|
columns?: PlusColumn[] | undefined;
|
|
2507
2507
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2508
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2508
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2509
2509
|
readonly label: string | ComputedRef<string>;
|
|
2510
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2510
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2511
2511
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2512
|
-
readonly tooltip: string |
|
|
2512
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2513
2513
|
style?: CSSProperties | undefined;
|
|
2514
2514
|
class?: any;
|
|
2515
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2515
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2516
2516
|
style?: CSSProperties | undefined;
|
|
2517
2517
|
class?: any;
|
|
2518
2518
|
} & RecordType>>;
|
|
@@ -2579,12 +2579,12 @@ export declare const PlusSearch: {
|
|
|
2579
2579
|
fieldInstance?: any;
|
|
2580
2580
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2581
2581
|
prop: string;
|
|
2582
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2582
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2583
2583
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2584
|
-
tooltip: string |
|
|
2584
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2585
2585
|
style?: CSSProperties | undefined;
|
|
2586
2586
|
class?: any;
|
|
2587
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2587
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2588
2588
|
style?: CSSProperties | undefined;
|
|
2589
2589
|
class?: any;
|
|
2590
2590
|
} & RecordType>>;
|
|
@@ -2613,14 +2613,14 @@ export declare const PlusSearch: {
|
|
|
2613
2613
|
clearable: boolean;
|
|
2614
2614
|
index: number;
|
|
2615
2615
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2616
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2616
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2617
2617
|
readonly label: string | ComputedRef<string>;
|
|
2618
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2618
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2619
2619
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2620
|
-
readonly tooltip: string |
|
|
2620
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2621
2621
|
style?: CSSProperties | undefined;
|
|
2622
2622
|
class?: any;
|
|
2623
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2623
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2624
2624
|
style?: CSSProperties | undefined;
|
|
2625
2625
|
class?: any;
|
|
2626
2626
|
} & RecordType>>;
|
|
@@ -2687,12 +2687,12 @@ export declare const PlusSearch: {
|
|
|
2687
2687
|
fieldInstance?: any;
|
|
2688
2688
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2689
2689
|
prop: string;
|
|
2690
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2690
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2691
2691
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2692
|
-
tooltip: string |
|
|
2692
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2693
2693
|
style?: CSSProperties | undefined;
|
|
2694
2694
|
class?: any;
|
|
2695
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2695
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2696
2696
|
style?: CSSProperties | undefined;
|
|
2697
2697
|
class?: any;
|
|
2698
2698
|
} & RecordType>>;
|
|
@@ -2744,10 +2744,10 @@ export declare const PlusSearch: {
|
|
|
2744
2744
|
reset: (values: FieldValues) => void;
|
|
2745
2745
|
collapse: (isShowUnfold: boolean) => void;
|
|
2746
2746
|
}, string, {
|
|
2747
|
-
labelPosition: "left" | "right" | "top";
|
|
2748
|
-
modelValue: FieldValues;
|
|
2749
2747
|
columns: PlusColumn[];
|
|
2750
|
-
layout: "
|
|
2748
|
+
layout: "grid" | "flex";
|
|
2749
|
+
modelValue: FieldValues;
|
|
2750
|
+
labelPosition: "top" | "right" | "left";
|
|
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" | "
|
|
2776
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2777
2777
|
readonly label: string | ComputedRef<string>;
|
|
2778
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2778
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2779
2779
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2780
|
-
readonly tooltip: string |
|
|
2780
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2781
2781
|
style?: CSSProperties | undefined;
|
|
2782
2782
|
class?: any;
|
|
2783
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2783
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2784
2784
|
style?: CSSProperties | undefined;
|
|
2785
2785
|
class?: any;
|
|
2786
2786
|
} & RecordType>>;
|
|
@@ -2847,12 +2847,12 @@ export declare const PlusSearch: {
|
|
|
2847
2847
|
fieldInstance?: any;
|
|
2848
2848
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2849
2849
|
prop: string;
|
|
2850
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2850
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2851
2851
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2852
|
-
tooltip: string |
|
|
2852
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2853
2853
|
style?: CSSProperties | undefined;
|
|
2854
2854
|
class?: any;
|
|
2855
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2855
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2856
2856
|
style?: CSSProperties | undefined;
|
|
2857
2857
|
class?: any;
|
|
2858
2858
|
} & RecordType>>;
|