yc-pro-components 0.0.60 → 0.0.62
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 +23 -23
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +24 -24
- package/es/components/check-card-group/src/index.vue.d.ts +2 -2
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +28 -28
- package/es/components/dialog-form/src/index.vue.d.ts +6 -6
- package/es/components/display-item/index.d.ts +12 -12
- package/es/components/display-item/src/index.vue.d.ts +12 -12
- package/es/components/drawer-form/index.d.ts +40 -40
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +39 -39
- package/es/components/form/src/form-content.vue.d.ts +12 -12
- package/es/components/form/src/index.vue.d.ts +11 -11
- package/es/components/form-item/index.d.ts +36 -36
- package/es/components/form-item/src/index.vue.d.ts +8 -8
- package/es/components/header/index.d.ts +7 -7
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +10 -10
- package/es/components/input-tag/src/index.vue.d.ts +2 -2
- 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 +305 -305
- package/es/components/page/src/index.vue.d.ts +103 -103
- 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 +14 -14
- package/es/components/radio/src/index.vue.d.ts +6 -6
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +137 -137
- package/es/components/search/src/index.vue.d.ts +43 -43
- package/es/components/search/src/index.vue2.mjs +1 -1
- 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 +12 -12
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- 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 +6 -6
- package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +0 -6
- package/es/components/yc-plus-page/src/index.vue.d.ts +208 -208
- 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 +2 -2
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/hooks/usePlusFormReset.d.ts +169 -169
- package/es/index.css +10 -10
- package/index.css +6 -6
- package/index.js +3 -9
- package/index.min.css +1 -1
- package/index.min.js +3 -3
- package/index.min.mjs +10 -10
- package/index.mjs +3 -9
- package/lib/components/check-card/index.d.ts +23 -23
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +24 -24
- package/lib/components/check-card-group/src/index.vue.d.ts +2 -2
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +28 -28
- package/lib/components/dialog-form/src/index.vue.d.ts +6 -6
- package/lib/components/display-item/index.d.ts +12 -12
- package/lib/components/display-item/src/index.vue.d.ts +12 -12
- package/lib/components/drawer-form/index.d.ts +40 -40
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +39 -39
- package/lib/components/form/src/form-content.vue.d.ts +12 -12
- package/lib/components/form/src/index.vue.d.ts +11 -11
- package/lib/components/form-item/index.d.ts +36 -36
- package/lib/components/form-item/src/index.vue.d.ts +8 -8
- package/lib/components/header/index.d.ts +7 -7
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +10 -10
- package/lib/components/input-tag/src/index.vue.d.ts +2 -2
- 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 +305 -305
- package/lib/components/page/src/index.vue.d.ts +103 -103
- 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 +14 -14
- package/lib/components/radio/src/index.vue.d.ts +6 -6
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +137 -137
- package/lib/components/search/src/index.vue.d.ts +43 -43
- package/lib/components/search/src/index.vue2.js +1 -1
- 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 +12 -12
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- 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 +6 -6
- package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +0 -6
- package/lib/components/yc-plus-page/src/index.vue.d.ts +208 -208
- 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 +2 -2
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/hooks/usePlusFormReset.d.ts +169 -169
- package/lib/index.css +10 -10
- 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,17 +10,17 @@ export type PlusSearchInstance = InstanceType<typeof Search>;
|
|
|
10
10
|
export * from './src/type';
|
|
11
11
|
export declare const PlusSearch: {
|
|
12
12
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: PropType<FieldValues>;
|
|
15
|
+
default: () => {};
|
|
16
|
+
};
|
|
13
17
|
columns: {
|
|
14
18
|
type: PropType< PlusColumn[]>;
|
|
15
19
|
default: () => never[];
|
|
16
20
|
};
|
|
17
21
|
layout: {
|
|
18
22
|
type: PropType<"grid" | "flex">;
|
|
19
|
-
default: "
|
|
20
|
-
};
|
|
21
|
-
modelValue: {
|
|
22
|
-
type: PropType<FieldValues>;
|
|
23
|
-
default: () => {};
|
|
23
|
+
default: "grid";
|
|
24
24
|
};
|
|
25
25
|
labelPosition: {
|
|
26
26
|
type: PropType<"top" | "right" | "left">;
|
|
@@ -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,12 +119,12 @@ export declare const PlusSearch: {
|
|
|
119
119
|
$: ComponentInternalInstance;
|
|
120
120
|
$data: {};
|
|
121
121
|
$props: Partial<{
|
|
122
|
+
modelValue: FieldValues;
|
|
122
123
|
collapseDuration: number;
|
|
123
124
|
collapseTransition: boolean;
|
|
124
125
|
columns: PlusColumn[];
|
|
125
126
|
group: false | PlusFormGroupRow[];
|
|
126
127
|
layout: "grid" | "flex";
|
|
127
|
-
modelValue: FieldValues;
|
|
128
128
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
129
129
|
labelPosition: "top" | "right" | "left";
|
|
130
130
|
labelWidth: string | number;
|
|
@@ -145,7 +145,7 @@ export declare const PlusSearch: {
|
|
|
145
145
|
submitText: string;
|
|
146
146
|
resetText: string;
|
|
147
147
|
submitLoading: boolean;
|
|
148
|
-
footerAlign: "
|
|
148
|
+
footerAlign: "center" | "right" | "left";
|
|
149
149
|
cardProps: Partial< Mutable<CardProps> & {
|
|
150
150
|
style?: CSSProperties | undefined;
|
|
151
151
|
class?: any;
|
|
@@ -153,9 +153,9 @@ export declare const PlusSearch: {
|
|
|
153
153
|
prevent: boolean;
|
|
154
154
|
clearable: boolean;
|
|
155
155
|
}> & Omit<{
|
|
156
|
+
readonly modelValue: FieldValues;
|
|
156
157
|
readonly columns: PlusColumn[];
|
|
157
158
|
readonly group: false | PlusFormGroupRow[];
|
|
158
|
-
readonly modelValue: FieldValues;
|
|
159
159
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
160
160
|
readonly labelPosition: "top" | "right" | "left";
|
|
161
161
|
readonly labelWidth: string | number;
|
|
@@ -176,7 +176,7 @@ export declare const PlusSearch: {
|
|
|
176
176
|
readonly submitText: string;
|
|
177
177
|
readonly resetText: string;
|
|
178
178
|
readonly submitLoading: boolean;
|
|
179
|
-
readonly footerAlign: "
|
|
179
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
180
180
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
181
181
|
style?: CSSProperties | undefined;
|
|
182
182
|
class?: any;
|
|
@@ -186,13 +186,17 @@ export declare const PlusSearch: {
|
|
|
186
186
|
readonly collapseDuration?: number | undefined;
|
|
187
187
|
readonly collapseTransition?: boolean | undefined;
|
|
188
188
|
readonly layout?: "grid" | "flex" | undefined;
|
|
189
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
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
|
+
modelValue: {
|
|
197
|
+
type: PropType<FieldValues>;
|
|
198
|
+
default: () => {};
|
|
199
|
+
};
|
|
196
200
|
collapseDuration: {
|
|
197
201
|
type: PropType<number>;
|
|
198
202
|
default: undefined;
|
|
@@ -213,10 +217,6 @@ export declare const PlusSearch: {
|
|
|
213
217
|
type: PropType<"grid" | "flex">;
|
|
214
218
|
default: undefined;
|
|
215
219
|
};
|
|
216
|
-
modelValue: {
|
|
217
|
-
type: PropType<FieldValues>;
|
|
218
|
-
default: () => {};
|
|
219
|
-
};
|
|
220
220
|
rules: {
|
|
221
221
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
222
222
|
default: () => {};
|
|
@@ -280,7 +280,7 @@ export declare const PlusSearch: {
|
|
|
280
280
|
default: boolean;
|
|
281
281
|
};
|
|
282
282
|
footerAlign: {
|
|
283
|
-
type: PropType<"
|
|
283
|
+
type: PropType<"center" | "right" | "left">;
|
|
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
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
308
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "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,9 +317,13 @@ 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
|
+
modelValue: {
|
|
324
|
+
type: PropType<FieldValues>;
|
|
325
|
+
default: () => {};
|
|
326
|
+
};
|
|
323
327
|
collapseDuration: {
|
|
324
328
|
type: PropType<number>;
|
|
325
329
|
default: undefined;
|
|
@@ -340,10 +344,6 @@ export declare const PlusSearch: {
|
|
|
340
344
|
type: PropType<"grid" | "flex">;
|
|
341
345
|
default: undefined;
|
|
342
346
|
};
|
|
343
|
-
modelValue: {
|
|
344
|
-
type: PropType<FieldValues>;
|
|
345
|
-
default: () => {};
|
|
346
|
-
};
|
|
347
347
|
rules: {
|
|
348
348
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
349
349
|
default: () => {};
|
|
@@ -407,7 +407,7 @@ export declare const PlusSearch: {
|
|
|
407
407
|
default: boolean;
|
|
408
408
|
};
|
|
409
409
|
footerAlign: {
|
|
410
|
-
type: PropType<"
|
|
410
|
+
type: PropType<"center" | "right" | "left">;
|
|
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,12 +444,12 @@ export declare const PlusSearch: {
|
|
|
444
444
|
submitError: (errors: unknown) => void;
|
|
445
445
|
validate: (...args: any[]) => void;
|
|
446
446
|
}, string, {
|
|
447
|
+
modelValue: FieldValues;
|
|
447
448
|
collapseDuration: number;
|
|
448
449
|
collapseTransition: boolean;
|
|
449
450
|
columns: PlusColumn[];
|
|
450
451
|
group: false | PlusFormGroupRow[];
|
|
451
452
|
layout: "grid" | "flex";
|
|
452
|
-
modelValue: FieldValues;
|
|
453
453
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
454
454
|
labelPosition: "top" | "right" | "left";
|
|
455
455
|
labelWidth: string | number;
|
|
@@ -470,7 +470,7 @@ export declare const PlusSearch: {
|
|
|
470
470
|
submitText: string;
|
|
471
471
|
resetText: string;
|
|
472
472
|
submitLoading: boolean;
|
|
473
|
-
footerAlign: "
|
|
473
|
+
footerAlign: "center" | "right" | "left";
|
|
474
474
|
cardProps: Partial< Mutable<CardProps> & {
|
|
475
475
|
style?: CSSProperties | undefined;
|
|
476
476
|
class?: any;
|
|
@@ -498,6 +498,10 @@ export declare const PlusSearch: {
|
|
|
498
498
|
$nextTick: nextTick;
|
|
499
499
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
500
500
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
501
|
+
modelValue: {
|
|
502
|
+
type: PropType<FieldValues>;
|
|
503
|
+
default: () => {};
|
|
504
|
+
};
|
|
501
505
|
collapseDuration: {
|
|
502
506
|
type: PropType<number>;
|
|
503
507
|
default: undefined;
|
|
@@ -518,10 +522,6 @@ export declare const PlusSearch: {
|
|
|
518
522
|
type: PropType<"grid" | "flex">;
|
|
519
523
|
default: undefined;
|
|
520
524
|
};
|
|
521
|
-
modelValue: {
|
|
522
|
-
type: PropType<FieldValues>;
|
|
523
|
-
default: () => {};
|
|
524
|
-
};
|
|
525
525
|
rules: {
|
|
526
526
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
527
527
|
default: () => {};
|
|
@@ -585,7 +585,7 @@ export declare const PlusSearch: {
|
|
|
585
585
|
default: boolean;
|
|
586
586
|
};
|
|
587
587
|
footerAlign: {
|
|
588
|
-
type: PropType<"
|
|
588
|
+
type: PropType<"center" | "right" | "left">;
|
|
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,9 +627,9 @@ 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
634
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
635
635
|
style?: CSSProperties | undefined;
|
|
@@ -656,7 +656,7 @@ export declare const PlusSearch: {
|
|
|
656
656
|
};
|
|
657
657
|
rows: number;
|
|
658
658
|
autocomplete: string;
|
|
659
|
-
type: "" | "number" | "default" | "
|
|
659
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
660
660
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
661
661
|
step: string | number;
|
|
662
662
|
format: string | ProgressFn | undefined;
|
|
@@ -701,7 +701,7 @@ 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
706
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
707
707
|
style?: CSSProperties | undefined;
|
|
@@ -735,9 +735,9 @@ 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
742
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
743
743
|
style?: CSSProperties | undefined;
|
|
@@ -764,7 +764,7 @@ export declare const PlusSearch: {
|
|
|
764
764
|
};
|
|
765
765
|
rows: number;
|
|
766
766
|
autocomplete: string;
|
|
767
|
-
type: "" | "number" | "default" | "
|
|
767
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
768
768
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
769
769
|
step: string | number;
|
|
770
770
|
format: string | ProgressFn | undefined;
|
|
@@ -809,7 +809,7 @@ 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
814
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
815
815
|
style?: CSSProperties | undefined;
|
|
@@ -866,17 +866,17 @@ export declare const PlusSearch: {
|
|
|
866
866
|
reset: (values: FieldValues) => void;
|
|
867
867
|
collapse: (isShowUnfold: boolean) => void;
|
|
868
868
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
869
|
+
modelValue: {
|
|
870
|
+
type: PropType<FieldValues>;
|
|
871
|
+
default: () => {};
|
|
872
|
+
};
|
|
869
873
|
columns: {
|
|
870
874
|
type: PropType< PlusColumn[]>;
|
|
871
875
|
default: () => never[];
|
|
872
876
|
};
|
|
873
877
|
layout: {
|
|
874
878
|
type: PropType<"grid" | "flex">;
|
|
875
|
-
default: "
|
|
876
|
-
};
|
|
877
|
-
modelValue: {
|
|
878
|
-
type: PropType<FieldValues>;
|
|
879
|
-
default: () => {};
|
|
879
|
+
default: "grid";
|
|
880
880
|
};
|
|
881
881
|
labelPosition: {
|
|
882
882
|
type: PropType<"top" | "right" | "left">;
|
|
@@ -965,15 +965,15 @@ 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
|
+
modelValue: FieldValues;
|
|
974
975
|
columns: PlusColumn[];
|
|
975
976
|
layout: "grid" | "flex";
|
|
976
|
-
modelValue: FieldValues;
|
|
977
977
|
labelPosition: "top" | "right" | "left";
|
|
978
978
|
inline: boolean;
|
|
979
979
|
showNumber: number;
|
|
@@ -1006,17 +1006,17 @@ export declare const PlusSearch: {
|
|
|
1006
1006
|
M: {};
|
|
1007
1007
|
Defaults: {};
|
|
1008
1008
|
}, Readonly< ExtractPropTypes<{
|
|
1009
|
+
modelValue: {
|
|
1010
|
+
type: PropType<FieldValues>;
|
|
1011
|
+
default: () => {};
|
|
1012
|
+
};
|
|
1009
1013
|
columns: {
|
|
1010
1014
|
type: PropType< PlusColumn[]>;
|
|
1011
1015
|
default: () => never[];
|
|
1012
1016
|
};
|
|
1013
1017
|
layout: {
|
|
1014
1018
|
type: PropType<"grid" | "flex">;
|
|
1015
|
-
default: "
|
|
1016
|
-
};
|
|
1017
|
-
modelValue: {
|
|
1018
|
-
type: PropType<FieldValues>;
|
|
1019
|
-
default: () => {};
|
|
1019
|
+
default: "grid";
|
|
1020
1020
|
};
|
|
1021
1021
|
labelPosition: {
|
|
1022
1022
|
type: PropType<"top" | "right" | "left">;
|
|
@@ -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,12 +1115,12 @@ export declare const PlusSearch: {
|
|
|
1115
1115
|
$: ComponentInternalInstance;
|
|
1116
1116
|
$data: {};
|
|
1117
1117
|
$props: Partial<{
|
|
1118
|
+
modelValue: FieldValues;
|
|
1118
1119
|
collapseDuration: number;
|
|
1119
1120
|
collapseTransition: boolean;
|
|
1120
1121
|
columns: PlusColumn[];
|
|
1121
1122
|
group: false | PlusFormGroupRow[];
|
|
1122
1123
|
layout: "grid" | "flex";
|
|
1123
|
-
modelValue: FieldValues;
|
|
1124
1124
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1125
1125
|
labelPosition: "top" | "right" | "left";
|
|
1126
1126
|
labelWidth: string | number;
|
|
@@ -1141,7 +1141,7 @@ export declare const PlusSearch: {
|
|
|
1141
1141
|
submitText: string;
|
|
1142
1142
|
resetText: string;
|
|
1143
1143
|
submitLoading: boolean;
|
|
1144
|
-
footerAlign: "
|
|
1144
|
+
footerAlign: "center" | "right" | "left";
|
|
1145
1145
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1146
1146
|
style?: CSSProperties | undefined;
|
|
1147
1147
|
class?: any;
|
|
@@ -1149,9 +1149,9 @@ export declare const PlusSearch: {
|
|
|
1149
1149
|
prevent: boolean;
|
|
1150
1150
|
clearable: boolean;
|
|
1151
1151
|
}> & Omit<{
|
|
1152
|
+
readonly modelValue: FieldValues;
|
|
1152
1153
|
readonly columns: PlusColumn[];
|
|
1153
1154
|
readonly group: false | PlusFormGroupRow[];
|
|
1154
|
-
readonly modelValue: FieldValues;
|
|
1155
1155
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1156
1156
|
readonly labelPosition: "top" | "right" | "left";
|
|
1157
1157
|
readonly labelWidth: string | number;
|
|
@@ -1172,7 +1172,7 @@ export declare const PlusSearch: {
|
|
|
1172
1172
|
readonly submitText: string;
|
|
1173
1173
|
readonly resetText: string;
|
|
1174
1174
|
readonly submitLoading: boolean;
|
|
1175
|
-
readonly footerAlign: "
|
|
1175
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
1176
1176
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1177
1177
|
style?: CSSProperties | undefined;
|
|
1178
1178
|
class?: any;
|
|
@@ -1182,13 +1182,17 @@ export declare const PlusSearch: {
|
|
|
1182
1182
|
readonly collapseDuration?: number | undefined;
|
|
1183
1183
|
readonly collapseTransition?: boolean | undefined;
|
|
1184
1184
|
readonly layout?: "grid" | "flex" | undefined;
|
|
1185
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
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
|
+
modelValue: {
|
|
1193
|
+
type: PropType<FieldValues>;
|
|
1194
|
+
default: () => {};
|
|
1195
|
+
};
|
|
1192
1196
|
collapseDuration: {
|
|
1193
1197
|
type: PropType<number>;
|
|
1194
1198
|
default: undefined;
|
|
@@ -1209,10 +1213,6 @@ export declare const PlusSearch: {
|
|
|
1209
1213
|
type: PropType<"grid" | "flex">;
|
|
1210
1214
|
default: undefined;
|
|
1211
1215
|
};
|
|
1212
|
-
modelValue: {
|
|
1213
|
-
type: PropType<FieldValues>;
|
|
1214
|
-
default: () => {};
|
|
1215
|
-
};
|
|
1216
1216
|
rules: {
|
|
1217
1217
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1218
1218
|
default: () => {};
|
|
@@ -1276,7 +1276,7 @@ export declare const PlusSearch: {
|
|
|
1276
1276
|
default: boolean;
|
|
1277
1277
|
};
|
|
1278
1278
|
footerAlign: {
|
|
1279
|
-
type: PropType<"
|
|
1279
|
+
type: PropType<"center" | "right" | "left">;
|
|
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
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
1304
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "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,9 +1313,13 @@ 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
|
+
modelValue: {
|
|
1320
|
+
type: PropType<FieldValues>;
|
|
1321
|
+
default: () => {};
|
|
1322
|
+
};
|
|
1319
1323
|
collapseDuration: {
|
|
1320
1324
|
type: PropType<number>;
|
|
1321
1325
|
default: undefined;
|
|
@@ -1336,10 +1340,6 @@ export declare const PlusSearch: {
|
|
|
1336
1340
|
type: PropType<"grid" | "flex">;
|
|
1337
1341
|
default: undefined;
|
|
1338
1342
|
};
|
|
1339
|
-
modelValue: {
|
|
1340
|
-
type: PropType<FieldValues>;
|
|
1341
|
-
default: () => {};
|
|
1342
|
-
};
|
|
1343
1343
|
rules: {
|
|
1344
1344
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1345
1345
|
default: () => {};
|
|
@@ -1403,7 +1403,7 @@ export declare const PlusSearch: {
|
|
|
1403
1403
|
default: boolean;
|
|
1404
1404
|
};
|
|
1405
1405
|
footerAlign: {
|
|
1406
|
-
type: PropType<"
|
|
1406
|
+
type: PropType<"center" | "right" | "left">;
|
|
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,12 +1440,12 @@ export declare const PlusSearch: {
|
|
|
1440
1440
|
submitError: (errors: unknown) => void;
|
|
1441
1441
|
validate: (...args: any[]) => void;
|
|
1442
1442
|
}, string, {
|
|
1443
|
+
modelValue: FieldValues;
|
|
1443
1444
|
collapseDuration: number;
|
|
1444
1445
|
collapseTransition: boolean;
|
|
1445
1446
|
columns: PlusColumn[];
|
|
1446
1447
|
group: false | PlusFormGroupRow[];
|
|
1447
1448
|
layout: "grid" | "flex";
|
|
1448
|
-
modelValue: FieldValues;
|
|
1449
1449
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1450
1450
|
labelPosition: "top" | "right" | "left";
|
|
1451
1451
|
labelWidth: string | number;
|
|
@@ -1466,7 +1466,7 @@ export declare const PlusSearch: {
|
|
|
1466
1466
|
submitText: string;
|
|
1467
1467
|
resetText: string;
|
|
1468
1468
|
submitLoading: boolean;
|
|
1469
|
-
footerAlign: "
|
|
1469
|
+
footerAlign: "center" | "right" | "left";
|
|
1470
1470
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1471
1471
|
style?: CSSProperties | undefined;
|
|
1472
1472
|
class?: any;
|
|
@@ -1494,6 +1494,10 @@ export declare const PlusSearch: {
|
|
|
1494
1494
|
$nextTick: nextTick;
|
|
1495
1495
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1496
1496
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1497
|
+
modelValue: {
|
|
1498
|
+
type: PropType<FieldValues>;
|
|
1499
|
+
default: () => {};
|
|
1500
|
+
};
|
|
1497
1501
|
collapseDuration: {
|
|
1498
1502
|
type: PropType<number>;
|
|
1499
1503
|
default: undefined;
|
|
@@ -1514,10 +1518,6 @@ export declare const PlusSearch: {
|
|
|
1514
1518
|
type: PropType<"grid" | "flex">;
|
|
1515
1519
|
default: undefined;
|
|
1516
1520
|
};
|
|
1517
|
-
modelValue: {
|
|
1518
|
-
type: PropType<FieldValues>;
|
|
1519
|
-
default: () => {};
|
|
1520
|
-
};
|
|
1521
1521
|
rules: {
|
|
1522
1522
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1523
1523
|
default: () => {};
|
|
@@ -1581,7 +1581,7 @@ export declare const PlusSearch: {
|
|
|
1581
1581
|
default: boolean;
|
|
1582
1582
|
};
|
|
1583
1583
|
footerAlign: {
|
|
1584
|
-
type: PropType<"
|
|
1584
|
+
type: PropType<"center" | "right" | "left">;
|
|
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,9 +1623,9 @@ 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
1630
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1631
1631
|
style?: CSSProperties | undefined;
|
|
@@ -1652,7 +1652,7 @@ export declare const PlusSearch: {
|
|
|
1652
1652
|
};
|
|
1653
1653
|
rows: number;
|
|
1654
1654
|
autocomplete: string;
|
|
1655
|
-
type: "" | "number" | "default" | "
|
|
1655
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1656
1656
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1657
1657
|
step: string | number;
|
|
1658
1658
|
format: string | ProgressFn | undefined;
|
|
@@ -1697,7 +1697,7 @@ 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
1702
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1703
1703
|
style?: CSSProperties | undefined;
|
|
@@ -1731,9 +1731,9 @@ 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
1738
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1739
1739
|
style?: CSSProperties | undefined;
|
|
@@ -1760,7 +1760,7 @@ export declare const PlusSearch: {
|
|
|
1760
1760
|
};
|
|
1761
1761
|
rows: number;
|
|
1762
1762
|
autocomplete: string;
|
|
1763
|
-
type: "" | "number" | "default" | "
|
|
1763
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1764
1764
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1765
1765
|
step: string | number;
|
|
1766
1766
|
format: string | ProgressFn | undefined;
|
|
@@ -1805,7 +1805,7 @@ 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
1810
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1811
1811
|
style?: CSSProperties | undefined;
|
|
@@ -1856,9 +1856,9 @@ export declare const PlusSearch: {
|
|
|
1856
1856
|
handleSearch: () => void;
|
|
1857
1857
|
handleUnfold: (e: MouseEvent) => void;
|
|
1858
1858
|
}, {}, {}, {}, {
|
|
1859
|
+
modelValue: FieldValues;
|
|
1859
1860
|
columns: PlusColumn[];
|
|
1860
1861
|
layout: "grid" | "flex";
|
|
1861
|
-
modelValue: FieldValues;
|
|
1862
1862
|
labelPosition: "top" | "right" | "left";
|
|
1863
1863
|
inline: boolean;
|
|
1864
1864
|
showNumber: number;
|
|
@@ -1888,17 +1888,17 @@ export declare const PlusSearch: {
|
|
|
1888
1888
|
__isTeleport?: undefined;
|
|
1889
1889
|
__isSuspense?: undefined;
|
|
1890
1890
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1891
|
+
modelValue: {
|
|
1892
|
+
type: PropType<FieldValues>;
|
|
1893
|
+
default: () => {};
|
|
1894
|
+
};
|
|
1891
1895
|
columns: {
|
|
1892
1896
|
type: PropType< PlusColumn[]>;
|
|
1893
1897
|
default: () => never[];
|
|
1894
1898
|
};
|
|
1895
1899
|
layout: {
|
|
1896
1900
|
type: PropType<"grid" | "flex">;
|
|
1897
|
-
default: "
|
|
1898
|
-
};
|
|
1899
|
-
modelValue: {
|
|
1900
|
-
type: PropType<FieldValues>;
|
|
1901
|
-
default: () => {};
|
|
1901
|
+
default: "grid";
|
|
1902
1902
|
};
|
|
1903
1903
|
labelPosition: {
|
|
1904
1904
|
type: PropType<"top" | "right" | "left">;
|
|
@@ -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,12 +1997,12 @@ export declare const PlusSearch: {
|
|
|
1997
1997
|
$: ComponentInternalInstance;
|
|
1998
1998
|
$data: {};
|
|
1999
1999
|
$props: Partial<{
|
|
2000
|
+
modelValue: FieldValues;
|
|
2000
2001
|
collapseDuration: number;
|
|
2001
2002
|
collapseTransition: boolean;
|
|
2002
2003
|
columns: PlusColumn[];
|
|
2003
2004
|
group: false | PlusFormGroupRow[];
|
|
2004
2005
|
layout: "grid" | "flex";
|
|
2005
|
-
modelValue: FieldValues;
|
|
2006
2006
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2007
2007
|
labelPosition: "top" | "right" | "left";
|
|
2008
2008
|
labelWidth: string | number;
|
|
@@ -2023,7 +2023,7 @@ export declare const PlusSearch: {
|
|
|
2023
2023
|
submitText: string;
|
|
2024
2024
|
resetText: string;
|
|
2025
2025
|
submitLoading: boolean;
|
|
2026
|
-
footerAlign: "
|
|
2026
|
+
footerAlign: "center" | "right" | "left";
|
|
2027
2027
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2028
2028
|
style?: CSSProperties | undefined;
|
|
2029
2029
|
class?: any;
|
|
@@ -2031,9 +2031,9 @@ export declare const PlusSearch: {
|
|
|
2031
2031
|
prevent: boolean;
|
|
2032
2032
|
clearable: boolean;
|
|
2033
2033
|
}> & Omit<{
|
|
2034
|
+
readonly modelValue: FieldValues;
|
|
2034
2035
|
readonly columns: PlusColumn[];
|
|
2035
2036
|
readonly group: false | PlusFormGroupRow[];
|
|
2036
|
-
readonly modelValue: FieldValues;
|
|
2037
2037
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2038
2038
|
readonly labelPosition: "top" | "right" | "left";
|
|
2039
2039
|
readonly labelWidth: string | number;
|
|
@@ -2054,7 +2054,7 @@ export declare const PlusSearch: {
|
|
|
2054
2054
|
readonly submitText: string;
|
|
2055
2055
|
readonly resetText: string;
|
|
2056
2056
|
readonly submitLoading: boolean;
|
|
2057
|
-
readonly footerAlign: "
|
|
2057
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
2058
2058
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
2059
2059
|
style?: CSSProperties | undefined;
|
|
2060
2060
|
class?: any;
|
|
@@ -2064,13 +2064,17 @@ export declare const PlusSearch: {
|
|
|
2064
2064
|
readonly collapseDuration?: number | undefined;
|
|
2065
2065
|
readonly collapseTransition?: boolean | undefined;
|
|
2066
2066
|
readonly layout?: "grid" | "flex" | undefined;
|
|
2067
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
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
|
+
modelValue: {
|
|
2075
|
+
type: PropType<FieldValues>;
|
|
2076
|
+
default: () => {};
|
|
2077
|
+
};
|
|
2074
2078
|
collapseDuration: {
|
|
2075
2079
|
type: PropType<number>;
|
|
2076
2080
|
default: undefined;
|
|
@@ -2091,10 +2095,6 @@ export declare const PlusSearch: {
|
|
|
2091
2095
|
type: PropType<"grid" | "flex">;
|
|
2092
2096
|
default: undefined;
|
|
2093
2097
|
};
|
|
2094
|
-
modelValue: {
|
|
2095
|
-
type: PropType<FieldValues>;
|
|
2096
|
-
default: () => {};
|
|
2097
|
-
};
|
|
2098
2098
|
rules: {
|
|
2099
2099
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2100
2100
|
default: () => {};
|
|
@@ -2158,7 +2158,7 @@ export declare const PlusSearch: {
|
|
|
2158
2158
|
default: boolean;
|
|
2159
2159
|
};
|
|
2160
2160
|
footerAlign: {
|
|
2161
|
-
type: PropType<"
|
|
2161
|
+
type: PropType<"center" | "right" | "left">;
|
|
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
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
2186
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "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,9 +2195,13 @@ 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
|
+
modelValue: {
|
|
2202
|
+
type: PropType<FieldValues>;
|
|
2203
|
+
default: () => {};
|
|
2204
|
+
};
|
|
2201
2205
|
collapseDuration: {
|
|
2202
2206
|
type: PropType<number>;
|
|
2203
2207
|
default: undefined;
|
|
@@ -2218,10 +2222,6 @@ export declare const PlusSearch: {
|
|
|
2218
2222
|
type: PropType<"grid" | "flex">;
|
|
2219
2223
|
default: undefined;
|
|
2220
2224
|
};
|
|
2221
|
-
modelValue: {
|
|
2222
|
-
type: PropType<FieldValues>;
|
|
2223
|
-
default: () => {};
|
|
2224
|
-
};
|
|
2225
2225
|
rules: {
|
|
2226
2226
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2227
2227
|
default: () => {};
|
|
@@ -2285,7 +2285,7 @@ export declare const PlusSearch: {
|
|
|
2285
2285
|
default: boolean;
|
|
2286
2286
|
};
|
|
2287
2287
|
footerAlign: {
|
|
2288
|
-
type: PropType<"
|
|
2288
|
+
type: PropType<"center" | "right" | "left">;
|
|
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,12 +2322,12 @@ export declare const PlusSearch: {
|
|
|
2322
2322
|
submitError: (errors: unknown) => void;
|
|
2323
2323
|
validate: (...args: any[]) => void;
|
|
2324
2324
|
}, string, {
|
|
2325
|
+
modelValue: FieldValues;
|
|
2325
2326
|
collapseDuration: number;
|
|
2326
2327
|
collapseTransition: boolean;
|
|
2327
2328
|
columns: PlusColumn[];
|
|
2328
2329
|
group: false | PlusFormGroupRow[];
|
|
2329
2330
|
layout: "grid" | "flex";
|
|
2330
|
-
modelValue: FieldValues;
|
|
2331
2331
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2332
2332
|
labelPosition: "top" | "right" | "left";
|
|
2333
2333
|
labelWidth: string | number;
|
|
@@ -2348,7 +2348,7 @@ export declare const PlusSearch: {
|
|
|
2348
2348
|
submitText: string;
|
|
2349
2349
|
resetText: string;
|
|
2350
2350
|
submitLoading: boolean;
|
|
2351
|
-
footerAlign: "
|
|
2351
|
+
footerAlign: "center" | "right" | "left";
|
|
2352
2352
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2353
2353
|
style?: CSSProperties | undefined;
|
|
2354
2354
|
class?: any;
|
|
@@ -2376,6 +2376,10 @@ export declare const PlusSearch: {
|
|
|
2376
2376
|
$nextTick: nextTick;
|
|
2377
2377
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2378
2378
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2379
|
+
modelValue: {
|
|
2380
|
+
type: PropType<FieldValues>;
|
|
2381
|
+
default: () => {};
|
|
2382
|
+
};
|
|
2379
2383
|
collapseDuration: {
|
|
2380
2384
|
type: PropType<number>;
|
|
2381
2385
|
default: undefined;
|
|
@@ -2396,10 +2400,6 @@ export declare const PlusSearch: {
|
|
|
2396
2400
|
type: PropType<"grid" | "flex">;
|
|
2397
2401
|
default: undefined;
|
|
2398
2402
|
};
|
|
2399
|
-
modelValue: {
|
|
2400
|
-
type: PropType<FieldValues>;
|
|
2401
|
-
default: () => {};
|
|
2402
|
-
};
|
|
2403
2403
|
rules: {
|
|
2404
2404
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2405
2405
|
default: () => {};
|
|
@@ -2463,7 +2463,7 @@ export declare const PlusSearch: {
|
|
|
2463
2463
|
default: boolean;
|
|
2464
2464
|
};
|
|
2465
2465
|
footerAlign: {
|
|
2466
|
-
type: PropType<"
|
|
2466
|
+
type: PropType<"center" | "right" | "left">;
|
|
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,9 +2505,9 @@ 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
2512
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2513
2513
|
style?: CSSProperties | undefined;
|
|
@@ -2534,7 +2534,7 @@ export declare const PlusSearch: {
|
|
|
2534
2534
|
};
|
|
2535
2535
|
rows: number;
|
|
2536
2536
|
autocomplete: string;
|
|
2537
|
-
type: "" | "number" | "default" | "
|
|
2537
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2538
2538
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2539
2539
|
step: string | number;
|
|
2540
2540
|
format: string | ProgressFn | undefined;
|
|
@@ -2579,7 +2579,7 @@ 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
2584
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2585
2585
|
style?: CSSProperties | undefined;
|
|
@@ -2613,9 +2613,9 @@ 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
2620
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2621
2621
|
style?: CSSProperties | undefined;
|
|
@@ -2642,7 +2642,7 @@ export declare const PlusSearch: {
|
|
|
2642
2642
|
};
|
|
2643
2643
|
rows: number;
|
|
2644
2644
|
autocomplete: string;
|
|
2645
|
-
type: "" | "number" | "default" | "
|
|
2645
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2646
2646
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2647
2647
|
step: string | number;
|
|
2648
2648
|
format: string | ProgressFn | undefined;
|
|
@@ -2687,7 +2687,7 @@ 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
2692
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2693
2693
|
style?: CSSProperties | undefined;
|
|
@@ -2744,9 +2744,9 @@ export declare const PlusSearch: {
|
|
|
2744
2744
|
reset: (values: FieldValues) => void;
|
|
2745
2745
|
collapse: (isShowUnfold: boolean) => void;
|
|
2746
2746
|
}, string, {
|
|
2747
|
+
modelValue: FieldValues;
|
|
2747
2748
|
columns: PlusColumn[];
|
|
2748
2749
|
layout: "grid" | "flex";
|
|
2749
|
-
modelValue: FieldValues;
|
|
2750
2750
|
labelPosition: "top" | "right" | "left";
|
|
2751
2751
|
inline: boolean;
|
|
2752
2752
|
showNumber: number;
|
|
@@ -2773,9 +2773,9 @@ 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
2780
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2781
2781
|
style?: CSSProperties | undefined;
|
|
@@ -2802,7 +2802,7 @@ export declare const PlusSearch: {
|
|
|
2802
2802
|
};
|
|
2803
2803
|
rows: number;
|
|
2804
2804
|
autocomplete: string;
|
|
2805
|
-
type: "" | "number" | "default" | "
|
|
2805
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2806
2806
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2807
2807
|
step: string | number;
|
|
2808
2808
|
format: string | ProgressFn | undefined;
|
|
@@ -2847,7 +2847,7 @@ 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
2852
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2853
2853
|
style?: CSSProperties | undefined;
|