yc-pro-components 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +50 -50
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/index.mjs +3 -1
- package/es/components/input-tag/index.d.ts +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +452 -452
- package/es/components/page/src/index.vue.d.ts +154 -154
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +154 -154
- package/es/components/search/src/index.vue.d.ts +50 -50
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/index.d.ts +5 -1
- package/es/components/yc-plus-page/index.mjs +5 -1
- package/es/components/yc-plus-page/src/constants.d.ts +22 -0
- package/es/components/yc-plus-page/src/constants.mjs +41 -0
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +85 -0
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +6 -0
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +354 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +681 -377
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +126 -8
- package/es/components/yc-plus-page/src/type.d.ts +112 -0
- package/es/components/yc-plus-page/src/use-header-filter.d.ts +55 -0
- package/es/components/yc-plus-page/src/use-header-filter.mjs +172 -0
- 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/directive.d.ts +0 -4
- package/es/components/yc-select-v2/src/directive.mjs +70 -17
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-select-v2/src/index.vue2.mjs +18 -6
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +3 -1
- package/es/index.mjs +3 -1
- package/index.css +24 -6
- package/index.js +931 -183
- package/index.min.css +3 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +926 -184
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +50 -50
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/index.js +8 -0
- package/lib/components/input-tag/index.d.ts +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +452 -452
- package/lib/components/page/src/index.vue.d.ts +154 -154
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +154 -154
- package/lib/components/search/src/index.vue.d.ts +50 -50
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/index.d.ts +5 -1
- package/lib/components/yc-plus-page/index.js +10 -0
- package/lib/components/yc-plus-page/src/constants.d.ts +22 -0
- package/lib/components/yc-plus-page/src/constants.js +46 -0
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +85 -0
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +10 -0
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +358 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +681 -377
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +125 -7
- package/lib/components/yc-plus-page/src/type.d.ts +112 -0
- package/lib/components/yc-plus-page/src/use-header-filter.d.ts +55 -0
- package/lib/components/yc-plus-page/src/use-header-filter.js +174 -0
- 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/directive.d.ts +0 -4
- package/lib/components/yc-select-v2/src/directive.js +70 -17
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-select-v2/src/index.vue2.js +17 -5
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +3 -1
- package/lib/index.js +8 -0
- 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 { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
4
4
|
import { RowProps, ColProps, FormItemRule, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
5
|
-
import {
|
|
5
|
+
import { PlusColumn, FieldValues, Mutable, RecordType, PlusFormGroupRow, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Component, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
7
7
|
import { default as Search } from './src/index.vue';
|
|
8
8
|
|
|
@@ -10,14 +10,14 @@ export type PlusSearchInstance = InstanceType<typeof Search>;
|
|
|
10
10
|
export * from './src/type';
|
|
11
11
|
export declare const PlusSearch: {
|
|
12
12
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
13
|
-
modelValue: {
|
|
14
|
-
type: PropType<FieldValues>;
|
|
15
|
-
default: () => {};
|
|
16
|
-
};
|
|
17
13
|
columns: {
|
|
18
14
|
type: PropType< PlusColumn[]>;
|
|
19
15
|
default: () => never[];
|
|
20
16
|
};
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: PropType<FieldValues>;
|
|
19
|
+
default: () => {};
|
|
20
|
+
};
|
|
21
21
|
labelPosition: {
|
|
22
22
|
type: PropType<"top" | "right" | "left">;
|
|
23
23
|
default: undefined;
|
|
@@ -105,9 +105,9 @@ export declare const PlusSearch: {
|
|
|
105
105
|
default: undefined;
|
|
106
106
|
};
|
|
107
107
|
}>> & {
|
|
108
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
109
108
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
110
109
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
110
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
111
111
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
112
112
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
113
113
|
}, {
|
|
@@ -115,11 +115,11 @@ export declare const PlusSearch: {
|
|
|
115
115
|
$: ComponentInternalInstance;
|
|
116
116
|
$data: {};
|
|
117
117
|
$props: Partial<{
|
|
118
|
-
modelValue: FieldValues;
|
|
119
118
|
collapseDuration: number;
|
|
120
119
|
collapseTransition: boolean;
|
|
121
120
|
columns: PlusColumn[];
|
|
122
121
|
group: false | PlusFormGroupRow[];
|
|
122
|
+
modelValue: FieldValues;
|
|
123
123
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
124
124
|
labelPosition: "top" | "right" | "left";
|
|
125
125
|
labelWidth: string | number;
|
|
@@ -140,7 +140,7 @@ export declare const PlusSearch: {
|
|
|
140
140
|
submitText: string;
|
|
141
141
|
resetText: string;
|
|
142
142
|
submitLoading: boolean;
|
|
143
|
-
footerAlign: "
|
|
143
|
+
footerAlign: "right" | "left" | "center";
|
|
144
144
|
cardProps: Partial< Mutable<CardProps> & {
|
|
145
145
|
style?: CSSProperties | undefined;
|
|
146
146
|
class?: any;
|
|
@@ -148,9 +148,9 @@ export declare const PlusSearch: {
|
|
|
148
148
|
prevent: boolean;
|
|
149
149
|
clearable: boolean;
|
|
150
150
|
}> & Omit<{
|
|
151
|
-
readonly modelValue: FieldValues;
|
|
152
151
|
readonly columns: PlusColumn[];
|
|
153
152
|
readonly group: false | PlusFormGroupRow[];
|
|
153
|
+
readonly modelValue: FieldValues;
|
|
154
154
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
155
155
|
readonly labelPosition: "top" | "right" | "left";
|
|
156
156
|
readonly labelWidth: string | number;
|
|
@@ -171,7 +171,7 @@ export declare const PlusSearch: {
|
|
|
171
171
|
readonly submitText: string;
|
|
172
172
|
readonly resetText: string;
|
|
173
173
|
readonly submitLoading: boolean;
|
|
174
|
-
readonly footerAlign: "
|
|
174
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
175
175
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
176
176
|
style?: CSSProperties | undefined;
|
|
177
177
|
class?: any;
|
|
@@ -180,17 +180,13 @@ export declare const PlusSearch: {
|
|
|
180
180
|
readonly clearable: boolean;
|
|
181
181
|
readonly collapseDuration?: number | undefined;
|
|
182
182
|
readonly collapseTransition?: boolean | undefined;
|
|
183
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
184
183
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
185
184
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
186
185
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
186
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
187
187
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
188
188
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
189
189
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
190
|
-
modelValue: {
|
|
191
|
-
type: PropType<FieldValues>;
|
|
192
|
-
default: () => {};
|
|
193
|
-
};
|
|
194
190
|
collapseDuration: {
|
|
195
191
|
type: PropType<number>;
|
|
196
192
|
default: undefined;
|
|
@@ -207,6 +203,10 @@ export declare const PlusSearch: {
|
|
|
207
203
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
208
204
|
default: boolean;
|
|
209
205
|
};
|
|
206
|
+
modelValue: {
|
|
207
|
+
type: PropType<FieldValues>;
|
|
208
|
+
default: () => {};
|
|
209
|
+
};
|
|
210
210
|
rules: {
|
|
211
211
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
212
212
|
default: () => {};
|
|
@@ -270,7 +270,7 @@ export declare const PlusSearch: {
|
|
|
270
270
|
default: boolean;
|
|
271
271
|
};
|
|
272
272
|
footerAlign: {
|
|
273
|
-
type: PropType<"
|
|
273
|
+
type: PropType<"right" | "left" | "center">;
|
|
274
274
|
default: string;
|
|
275
275
|
};
|
|
276
276
|
cardProps: {
|
|
@@ -289,13 +289,13 @@ export declare const PlusSearch: {
|
|
|
289
289
|
default: boolean;
|
|
290
290
|
};
|
|
291
291
|
}>> & {
|
|
292
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
293
292
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
294
293
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
295
294
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
295
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
296
296
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
297
297
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
298
|
-
}, "
|
|
298
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
299
299
|
$attrs: {
|
|
300
300
|
[x: string]: unknown;
|
|
301
301
|
};
|
|
@@ -307,13 +307,9 @@ export declare const PlusSearch: {
|
|
|
307
307
|
}>;
|
|
308
308
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
309
309
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
310
|
-
$emit: ((event: "
|
|
310
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
311
311
|
$el: any;
|
|
312
312
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
313
|
-
modelValue: {
|
|
314
|
-
type: PropType<FieldValues>;
|
|
315
|
-
default: () => {};
|
|
316
|
-
};
|
|
317
313
|
collapseDuration: {
|
|
318
314
|
type: PropType<number>;
|
|
319
315
|
default: undefined;
|
|
@@ -330,6 +326,10 @@ export declare const PlusSearch: {
|
|
|
330
326
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
331
327
|
default: boolean;
|
|
332
328
|
};
|
|
329
|
+
modelValue: {
|
|
330
|
+
type: PropType<FieldValues>;
|
|
331
|
+
default: () => {};
|
|
332
|
+
};
|
|
333
333
|
rules: {
|
|
334
334
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
335
335
|
default: () => {};
|
|
@@ -393,7 +393,7 @@ export declare const PlusSearch: {
|
|
|
393
393
|
default: boolean;
|
|
394
394
|
};
|
|
395
395
|
footerAlign: {
|
|
396
|
-
type: PropType<"
|
|
396
|
+
type: PropType<"right" | "left" | "center">;
|
|
397
397
|
default: string;
|
|
398
398
|
};
|
|
399
399
|
cardProps: {
|
|
@@ -412,10 +412,10 @@ export declare const PlusSearch: {
|
|
|
412
412
|
default: boolean;
|
|
413
413
|
};
|
|
414
414
|
}>> & {
|
|
415
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
416
415
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
417
416
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
418
417
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
418
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
419
419
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
420
420
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
421
421
|
}, {
|
|
@@ -711,11 +711,11 @@ export declare const PlusSearch: {
|
|
|
711
711
|
submitError: (errors: unknown) => void;
|
|
712
712
|
validate: (...args: any[]) => void;
|
|
713
713
|
}, string, {
|
|
714
|
-
modelValue: FieldValues;
|
|
715
714
|
collapseDuration: number;
|
|
716
715
|
collapseTransition: boolean;
|
|
717
716
|
columns: PlusColumn[];
|
|
718
717
|
group: false | PlusFormGroupRow[];
|
|
718
|
+
modelValue: FieldValues;
|
|
719
719
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
720
720
|
labelPosition: "top" | "right" | "left";
|
|
721
721
|
labelWidth: string | number;
|
|
@@ -736,7 +736,7 @@ export declare const PlusSearch: {
|
|
|
736
736
|
submitText: string;
|
|
737
737
|
resetText: string;
|
|
738
738
|
submitLoading: boolean;
|
|
739
|
-
footerAlign: "
|
|
739
|
+
footerAlign: "right" | "left" | "center";
|
|
740
740
|
cardProps: Partial< Mutable<CardProps> & {
|
|
741
741
|
style?: CSSProperties | undefined;
|
|
742
742
|
class?: any;
|
|
@@ -764,10 +764,6 @@ export declare const PlusSearch: {
|
|
|
764
764
|
$nextTick: nextTick;
|
|
765
765
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
766
766
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
767
|
-
modelValue: {
|
|
768
|
-
type: PropType<FieldValues>;
|
|
769
|
-
default: () => {};
|
|
770
|
-
};
|
|
771
767
|
collapseDuration: {
|
|
772
768
|
type: PropType<number>;
|
|
773
769
|
default: undefined;
|
|
@@ -784,6 +780,10 @@ export declare const PlusSearch: {
|
|
|
784
780
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
785
781
|
default: boolean;
|
|
786
782
|
};
|
|
783
|
+
modelValue: {
|
|
784
|
+
type: PropType<FieldValues>;
|
|
785
|
+
default: () => {};
|
|
786
|
+
};
|
|
787
787
|
rules: {
|
|
788
788
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
789
789
|
default: () => {};
|
|
@@ -847,7 +847,7 @@ export declare const PlusSearch: {
|
|
|
847
847
|
default: boolean;
|
|
848
848
|
};
|
|
849
849
|
footerAlign: {
|
|
850
|
-
type: PropType<"
|
|
850
|
+
type: PropType<"right" | "left" | "center">;
|
|
851
851
|
default: string;
|
|
852
852
|
};
|
|
853
853
|
cardProps: {
|
|
@@ -866,10 +866,10 @@ export declare const PlusSearch: {
|
|
|
866
866
|
default: boolean;
|
|
867
867
|
};
|
|
868
868
|
}>> & {
|
|
869
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
870
869
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
871
870
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
872
871
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
872
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
873
873
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
874
874
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
875
875
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1170,14 +1170,14 @@ export declare const PlusSearch: {
|
|
|
1170
1170
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1171
1171
|
columns?: PlusColumn[] | undefined;
|
|
1172
1172
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1173
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1173
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1174
1174
|
readonly label: string | ComputedRef<string>;
|
|
1175
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1175
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1176
1176
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1177
|
-
readonly tooltip: string |
|
|
1177
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1178
1178
|
style?: CSSProperties | undefined;
|
|
1179
1179
|
class?: any;
|
|
1180
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1180
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1181
1181
|
style?: CSSProperties | undefined;
|
|
1182
1182
|
class?: any;
|
|
1183
1183
|
} & RecordType>>;
|
|
@@ -1244,12 +1244,12 @@ export declare const PlusSearch: {
|
|
|
1244
1244
|
fieldInstance?: any;
|
|
1245
1245
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1246
1246
|
prop: string;
|
|
1247
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1247
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1248
1248
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1249
|
-
tooltip: string |
|
|
1249
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1250
1250
|
style?: CSSProperties | undefined;
|
|
1251
1251
|
class?: any;
|
|
1252
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1252
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1253
1253
|
style?: CSSProperties | undefined;
|
|
1254
1254
|
class?: any;
|
|
1255
1255
|
} & RecordType>>;
|
|
@@ -1278,14 +1278,14 @@ export declare const PlusSearch: {
|
|
|
1278
1278
|
clearable: boolean;
|
|
1279
1279
|
index: number;
|
|
1280
1280
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1281
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1281
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1282
1282
|
readonly label: string | ComputedRef<string>;
|
|
1283
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1283
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1284
1284
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1285
|
-
readonly tooltip: string |
|
|
1285
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1286
1286
|
style?: CSSProperties | undefined;
|
|
1287
1287
|
class?: any;
|
|
1288
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1288
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1289
1289
|
style?: CSSProperties | undefined;
|
|
1290
1290
|
class?: any;
|
|
1291
1291
|
} & RecordType>>;
|
|
@@ -1352,12 +1352,12 @@ export declare const PlusSearch: {
|
|
|
1352
1352
|
fieldInstance?: any;
|
|
1353
1353
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1354
1354
|
prop: string;
|
|
1355
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1355
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1356
1356
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1357
|
-
tooltip: string |
|
|
1357
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1358
1358
|
style?: CSSProperties | undefined;
|
|
1359
1359
|
class?: any;
|
|
1360
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1360
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1361
1361
|
style?: CSSProperties | undefined;
|
|
1362
1362
|
class?: any;
|
|
1363
1363
|
} & RecordType>>;
|
|
@@ -1409,14 +1409,14 @@ export declare const PlusSearch: {
|
|
|
1409
1409
|
reset: (values: FieldValues) => void;
|
|
1410
1410
|
collapse: (isShowUnfold: boolean) => void;
|
|
1411
1411
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1412
|
-
modelValue: {
|
|
1413
|
-
type: PropType<FieldValues>;
|
|
1414
|
-
default: () => {};
|
|
1415
|
-
};
|
|
1416
1412
|
columns: {
|
|
1417
1413
|
type: PropType< PlusColumn[]>;
|
|
1418
1414
|
default: () => never[];
|
|
1419
1415
|
};
|
|
1416
|
+
modelValue: {
|
|
1417
|
+
type: PropType<FieldValues>;
|
|
1418
|
+
default: () => {};
|
|
1419
|
+
};
|
|
1420
1420
|
labelPosition: {
|
|
1421
1421
|
type: PropType<"top" | "right" | "left">;
|
|
1422
1422
|
default: undefined;
|
|
@@ -1504,14 +1504,14 @@ export declare const PlusSearch: {
|
|
|
1504
1504
|
default: undefined;
|
|
1505
1505
|
};
|
|
1506
1506
|
}>> & {
|
|
1507
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1508
1507
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1509
1508
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1509
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1510
1510
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1511
1511
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1512
1512
|
}, {
|
|
1513
|
-
modelValue: FieldValues;
|
|
1514
1513
|
columns: PlusColumn[];
|
|
1514
|
+
modelValue: FieldValues;
|
|
1515
1515
|
labelPosition: "top" | "right" | "left";
|
|
1516
1516
|
inline: boolean;
|
|
1517
1517
|
showNumber: number;
|
|
@@ -1544,14 +1544,14 @@ export declare const PlusSearch: {
|
|
|
1544
1544
|
M: {};
|
|
1545
1545
|
Defaults: {};
|
|
1546
1546
|
}, Readonly< ExtractPropTypes<{
|
|
1547
|
-
modelValue: {
|
|
1548
|
-
type: PropType<FieldValues>;
|
|
1549
|
-
default: () => {};
|
|
1550
|
-
};
|
|
1551
1547
|
columns: {
|
|
1552
1548
|
type: PropType< PlusColumn[]>;
|
|
1553
1549
|
default: () => never[];
|
|
1554
1550
|
};
|
|
1551
|
+
modelValue: {
|
|
1552
|
+
type: PropType<FieldValues>;
|
|
1553
|
+
default: () => {};
|
|
1554
|
+
};
|
|
1555
1555
|
labelPosition: {
|
|
1556
1556
|
type: PropType<"top" | "right" | "left">;
|
|
1557
1557
|
default: undefined;
|
|
@@ -1639,9 +1639,9 @@ export declare const PlusSearch: {
|
|
|
1639
1639
|
default: undefined;
|
|
1640
1640
|
};
|
|
1641
1641
|
}>> & {
|
|
1642
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1643
1642
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1644
1643
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1644
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1645
1645
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1646
1646
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1647
1647
|
}, {
|
|
@@ -1649,11 +1649,11 @@ export declare const PlusSearch: {
|
|
|
1649
1649
|
$: ComponentInternalInstance;
|
|
1650
1650
|
$data: {};
|
|
1651
1651
|
$props: Partial<{
|
|
1652
|
-
modelValue: FieldValues;
|
|
1653
1652
|
collapseDuration: number;
|
|
1654
1653
|
collapseTransition: boolean;
|
|
1655
1654
|
columns: PlusColumn[];
|
|
1656
1655
|
group: false | PlusFormGroupRow[];
|
|
1656
|
+
modelValue: FieldValues;
|
|
1657
1657
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1658
1658
|
labelPosition: "top" | "right" | "left";
|
|
1659
1659
|
labelWidth: string | number;
|
|
@@ -1674,7 +1674,7 @@ export declare const PlusSearch: {
|
|
|
1674
1674
|
submitText: string;
|
|
1675
1675
|
resetText: string;
|
|
1676
1676
|
submitLoading: boolean;
|
|
1677
|
-
footerAlign: "
|
|
1677
|
+
footerAlign: "right" | "left" | "center";
|
|
1678
1678
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1679
1679
|
style?: CSSProperties | undefined;
|
|
1680
1680
|
class?: any;
|
|
@@ -1682,9 +1682,9 @@ export declare const PlusSearch: {
|
|
|
1682
1682
|
prevent: boolean;
|
|
1683
1683
|
clearable: boolean;
|
|
1684
1684
|
}> & Omit<{
|
|
1685
|
-
readonly modelValue: FieldValues;
|
|
1686
1685
|
readonly columns: PlusColumn[];
|
|
1687
1686
|
readonly group: false | PlusFormGroupRow[];
|
|
1687
|
+
readonly modelValue: FieldValues;
|
|
1688
1688
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1689
1689
|
readonly labelPosition: "top" | "right" | "left";
|
|
1690
1690
|
readonly labelWidth: string | number;
|
|
@@ -1705,7 +1705,7 @@ export declare const PlusSearch: {
|
|
|
1705
1705
|
readonly submitText: string;
|
|
1706
1706
|
readonly resetText: string;
|
|
1707
1707
|
readonly submitLoading: boolean;
|
|
1708
|
-
readonly footerAlign: "
|
|
1708
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1709
1709
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1710
1710
|
style?: CSSProperties | undefined;
|
|
1711
1711
|
class?: any;
|
|
@@ -1714,17 +1714,13 @@ export declare const PlusSearch: {
|
|
|
1714
1714
|
readonly clearable: boolean;
|
|
1715
1715
|
readonly collapseDuration?: number | undefined;
|
|
1716
1716
|
readonly collapseTransition?: boolean | undefined;
|
|
1717
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1718
1717
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1719
1718
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1720
1719
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1720
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1721
1721
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1722
1722
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1723
1723
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1724
|
-
modelValue: {
|
|
1725
|
-
type: PropType<FieldValues>;
|
|
1726
|
-
default: () => {};
|
|
1727
|
-
};
|
|
1728
1724
|
collapseDuration: {
|
|
1729
1725
|
type: PropType<number>;
|
|
1730
1726
|
default: undefined;
|
|
@@ -1741,6 +1737,10 @@ export declare const PlusSearch: {
|
|
|
1741
1737
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1742
1738
|
default: boolean;
|
|
1743
1739
|
};
|
|
1740
|
+
modelValue: {
|
|
1741
|
+
type: PropType<FieldValues>;
|
|
1742
|
+
default: () => {};
|
|
1743
|
+
};
|
|
1744
1744
|
rules: {
|
|
1745
1745
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1746
1746
|
default: () => {};
|
|
@@ -1804,7 +1804,7 @@ export declare const PlusSearch: {
|
|
|
1804
1804
|
default: boolean;
|
|
1805
1805
|
};
|
|
1806
1806
|
footerAlign: {
|
|
1807
|
-
type: PropType<"
|
|
1807
|
+
type: PropType<"right" | "left" | "center">;
|
|
1808
1808
|
default: string;
|
|
1809
1809
|
};
|
|
1810
1810
|
cardProps: {
|
|
@@ -1823,13 +1823,13 @@ export declare const PlusSearch: {
|
|
|
1823
1823
|
default: boolean;
|
|
1824
1824
|
};
|
|
1825
1825
|
}>> & {
|
|
1826
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1827
1826
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1828
1827
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1829
1828
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1829
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1830
1830
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1831
1831
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1832
|
-
}, "
|
|
1832
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1833
1833
|
$attrs: {
|
|
1834
1834
|
[x: string]: unknown;
|
|
1835
1835
|
};
|
|
@@ -1841,13 +1841,9 @@ export declare const PlusSearch: {
|
|
|
1841
1841
|
}>;
|
|
1842
1842
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1843
1843
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1844
|
-
$emit: ((event: "
|
|
1844
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1845
1845
|
$el: any;
|
|
1846
1846
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1847
|
-
modelValue: {
|
|
1848
|
-
type: PropType<FieldValues>;
|
|
1849
|
-
default: () => {};
|
|
1850
|
-
};
|
|
1851
1847
|
collapseDuration: {
|
|
1852
1848
|
type: PropType<number>;
|
|
1853
1849
|
default: undefined;
|
|
@@ -1864,6 +1860,10 @@ export declare const PlusSearch: {
|
|
|
1864
1860
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1865
1861
|
default: boolean;
|
|
1866
1862
|
};
|
|
1863
|
+
modelValue: {
|
|
1864
|
+
type: PropType<FieldValues>;
|
|
1865
|
+
default: () => {};
|
|
1866
|
+
};
|
|
1867
1867
|
rules: {
|
|
1868
1868
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1869
1869
|
default: () => {};
|
|
@@ -1927,7 +1927,7 @@ export declare const PlusSearch: {
|
|
|
1927
1927
|
default: boolean;
|
|
1928
1928
|
};
|
|
1929
1929
|
footerAlign: {
|
|
1930
|
-
type: PropType<"
|
|
1930
|
+
type: PropType<"right" | "left" | "center">;
|
|
1931
1931
|
default: string;
|
|
1932
1932
|
};
|
|
1933
1933
|
cardProps: {
|
|
@@ -1946,10 +1946,10 @@ export declare const PlusSearch: {
|
|
|
1946
1946
|
default: boolean;
|
|
1947
1947
|
};
|
|
1948
1948
|
}>> & {
|
|
1949
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1950
1949
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1951
1950
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1952
1951
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1952
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1953
1953
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1954
1954
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1955
1955
|
}, {
|
|
@@ -2245,11 +2245,11 @@ export declare const PlusSearch: {
|
|
|
2245
2245
|
submitError: (errors: unknown) => void;
|
|
2246
2246
|
validate: (...args: any[]) => void;
|
|
2247
2247
|
}, string, {
|
|
2248
|
-
modelValue: FieldValues;
|
|
2249
2248
|
collapseDuration: number;
|
|
2250
2249
|
collapseTransition: boolean;
|
|
2251
2250
|
columns: PlusColumn[];
|
|
2252
2251
|
group: false | PlusFormGroupRow[];
|
|
2252
|
+
modelValue: FieldValues;
|
|
2253
2253
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2254
2254
|
labelPosition: "top" | "right" | "left";
|
|
2255
2255
|
labelWidth: string | number;
|
|
@@ -2270,7 +2270,7 @@ export declare const PlusSearch: {
|
|
|
2270
2270
|
submitText: string;
|
|
2271
2271
|
resetText: string;
|
|
2272
2272
|
submitLoading: boolean;
|
|
2273
|
-
footerAlign: "
|
|
2273
|
+
footerAlign: "right" | "left" | "center";
|
|
2274
2274
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2275
2275
|
style?: CSSProperties | undefined;
|
|
2276
2276
|
class?: any;
|
|
@@ -2298,10 +2298,6 @@ export declare const PlusSearch: {
|
|
|
2298
2298
|
$nextTick: nextTick;
|
|
2299
2299
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2300
2300
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2301
|
-
modelValue: {
|
|
2302
|
-
type: PropType<FieldValues>;
|
|
2303
|
-
default: () => {};
|
|
2304
|
-
};
|
|
2305
2301
|
collapseDuration: {
|
|
2306
2302
|
type: PropType<number>;
|
|
2307
2303
|
default: undefined;
|
|
@@ -2318,6 +2314,10 @@ export declare const PlusSearch: {
|
|
|
2318
2314
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2319
2315
|
default: boolean;
|
|
2320
2316
|
};
|
|
2317
|
+
modelValue: {
|
|
2318
|
+
type: PropType<FieldValues>;
|
|
2319
|
+
default: () => {};
|
|
2320
|
+
};
|
|
2321
2321
|
rules: {
|
|
2322
2322
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2323
2323
|
default: () => {};
|
|
@@ -2381,7 +2381,7 @@ export declare const PlusSearch: {
|
|
|
2381
2381
|
default: boolean;
|
|
2382
2382
|
};
|
|
2383
2383
|
footerAlign: {
|
|
2384
|
-
type: PropType<"
|
|
2384
|
+
type: PropType<"right" | "left" | "center">;
|
|
2385
2385
|
default: string;
|
|
2386
2386
|
};
|
|
2387
2387
|
cardProps: {
|
|
@@ -2400,10 +2400,10 @@ export declare const PlusSearch: {
|
|
|
2400
2400
|
default: boolean;
|
|
2401
2401
|
};
|
|
2402
2402
|
}>> & {
|
|
2403
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2404
2403
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2405
2404
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2406
2405
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2406
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2407
2407
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2408
2408
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2409
2409
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2704,14 +2704,14 @@ export declare const PlusSearch: {
|
|
|
2704
2704
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2705
2705
|
columns?: PlusColumn[] | undefined;
|
|
2706
2706
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2707
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2707
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2708
2708
|
readonly label: string | ComputedRef<string>;
|
|
2709
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2709
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2710
2710
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2711
|
-
readonly tooltip: string |
|
|
2711
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2712
2712
|
style?: CSSProperties | undefined;
|
|
2713
2713
|
class?: any;
|
|
2714
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2714
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2715
2715
|
style?: CSSProperties | undefined;
|
|
2716
2716
|
class?: any;
|
|
2717
2717
|
} & RecordType>>;
|
|
@@ -2778,12 +2778,12 @@ export declare const PlusSearch: {
|
|
|
2778
2778
|
fieldInstance?: any;
|
|
2779
2779
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2780
2780
|
prop: string;
|
|
2781
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2781
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2782
2782
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2783
|
-
tooltip: string |
|
|
2783
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2784
2784
|
style?: CSSProperties | undefined;
|
|
2785
2785
|
class?: any;
|
|
2786
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2786
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2787
2787
|
style?: CSSProperties | undefined;
|
|
2788
2788
|
class?: any;
|
|
2789
2789
|
} & RecordType>>;
|
|
@@ -2812,14 +2812,14 @@ export declare const PlusSearch: {
|
|
|
2812
2812
|
clearable: boolean;
|
|
2813
2813
|
index: number;
|
|
2814
2814
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2815
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2815
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2816
2816
|
readonly label: string | ComputedRef<string>;
|
|
2817
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2817
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2818
2818
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2819
|
-
readonly tooltip: string |
|
|
2819
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2820
2820
|
style?: CSSProperties | undefined;
|
|
2821
2821
|
class?: any;
|
|
2822
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2822
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2823
2823
|
style?: CSSProperties | undefined;
|
|
2824
2824
|
class?: any;
|
|
2825
2825
|
} & RecordType>>;
|
|
@@ -2886,12 +2886,12 @@ export declare const PlusSearch: {
|
|
|
2886
2886
|
fieldInstance?: any;
|
|
2887
2887
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2888
2888
|
prop: string;
|
|
2889
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2889
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2890
2890
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2891
|
-
tooltip: string |
|
|
2891
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2892
2892
|
style?: CSSProperties | undefined;
|
|
2893
2893
|
class?: any;
|
|
2894
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2894
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2895
2895
|
style?: CSSProperties | undefined;
|
|
2896
2896
|
class?: any;
|
|
2897
2897
|
} & RecordType>>;
|
|
@@ -2937,8 +2937,8 @@ export declare const PlusSearch: {
|
|
|
2937
2937
|
handleSearch: () => void;
|
|
2938
2938
|
handleUnfold: (e: MouseEvent) => void;
|
|
2939
2939
|
}, {}, {}, {}, {
|
|
2940
|
-
modelValue: FieldValues;
|
|
2941
2940
|
columns: PlusColumn[];
|
|
2941
|
+
modelValue: FieldValues;
|
|
2942
2942
|
labelPosition: "top" | "right" | "left";
|
|
2943
2943
|
inline: boolean;
|
|
2944
2944
|
showNumber: number;
|
|
@@ -2968,14 +2968,14 @@ export declare const PlusSearch: {
|
|
|
2968
2968
|
__isTeleport?: undefined;
|
|
2969
2969
|
__isSuspense?: undefined;
|
|
2970
2970
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2971
|
-
modelValue: {
|
|
2972
|
-
type: PropType<FieldValues>;
|
|
2973
|
-
default: () => {};
|
|
2974
|
-
};
|
|
2975
2971
|
columns: {
|
|
2976
2972
|
type: PropType< PlusColumn[]>;
|
|
2977
2973
|
default: () => never[];
|
|
2978
2974
|
};
|
|
2975
|
+
modelValue: {
|
|
2976
|
+
type: PropType<FieldValues>;
|
|
2977
|
+
default: () => {};
|
|
2978
|
+
};
|
|
2979
2979
|
labelPosition: {
|
|
2980
2980
|
type: PropType<"top" | "right" | "left">;
|
|
2981
2981
|
default: undefined;
|
|
@@ -3063,9 +3063,9 @@ export declare const PlusSearch: {
|
|
|
3063
3063
|
default: undefined;
|
|
3064
3064
|
};
|
|
3065
3065
|
}>> & {
|
|
3066
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3067
3066
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3068
3067
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3068
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3069
3069
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
3070
3070
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
3071
3071
|
}, {
|
|
@@ -3073,11 +3073,11 @@ export declare const PlusSearch: {
|
|
|
3073
3073
|
$: ComponentInternalInstance;
|
|
3074
3074
|
$data: {};
|
|
3075
3075
|
$props: Partial<{
|
|
3076
|
-
modelValue: FieldValues;
|
|
3077
3076
|
collapseDuration: number;
|
|
3078
3077
|
collapseTransition: boolean;
|
|
3079
3078
|
columns: PlusColumn[];
|
|
3080
3079
|
group: false | PlusFormGroupRow[];
|
|
3080
|
+
modelValue: FieldValues;
|
|
3081
3081
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3082
3082
|
labelPosition: "top" | "right" | "left";
|
|
3083
3083
|
labelWidth: string | number;
|
|
@@ -3098,7 +3098,7 @@ export declare const PlusSearch: {
|
|
|
3098
3098
|
submitText: string;
|
|
3099
3099
|
resetText: string;
|
|
3100
3100
|
submitLoading: boolean;
|
|
3101
|
-
footerAlign: "
|
|
3101
|
+
footerAlign: "right" | "left" | "center";
|
|
3102
3102
|
cardProps: Partial< Mutable<CardProps> & {
|
|
3103
3103
|
style?: CSSProperties | undefined;
|
|
3104
3104
|
class?: any;
|
|
@@ -3106,9 +3106,9 @@ export declare const PlusSearch: {
|
|
|
3106
3106
|
prevent: boolean;
|
|
3107
3107
|
clearable: boolean;
|
|
3108
3108
|
}> & Omit<{
|
|
3109
|
-
readonly modelValue: FieldValues;
|
|
3110
3109
|
readonly columns: PlusColumn[];
|
|
3111
3110
|
readonly group: false | PlusFormGroupRow[];
|
|
3111
|
+
readonly modelValue: FieldValues;
|
|
3112
3112
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3113
3113
|
readonly labelPosition: "top" | "right" | "left";
|
|
3114
3114
|
readonly labelWidth: string | number;
|
|
@@ -3129,7 +3129,7 @@ export declare const PlusSearch: {
|
|
|
3129
3129
|
readonly submitText: string;
|
|
3130
3130
|
readonly resetText: string;
|
|
3131
3131
|
readonly submitLoading: boolean;
|
|
3132
|
-
readonly footerAlign: "
|
|
3132
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
3133
3133
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
3134
3134
|
style?: CSSProperties | undefined;
|
|
3135
3135
|
class?: any;
|
|
@@ -3138,17 +3138,13 @@ export declare const PlusSearch: {
|
|
|
3138
3138
|
readonly clearable: boolean;
|
|
3139
3139
|
readonly collapseDuration?: number | undefined;
|
|
3140
3140
|
readonly collapseTransition?: boolean | undefined;
|
|
3141
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3142
3141
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3143
3142
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3144
3143
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3144
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3145
3145
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3146
3146
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3147
3147
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3148
|
-
modelValue: {
|
|
3149
|
-
type: PropType<FieldValues>;
|
|
3150
|
-
default: () => {};
|
|
3151
|
-
};
|
|
3152
3148
|
collapseDuration: {
|
|
3153
3149
|
type: PropType<number>;
|
|
3154
3150
|
default: undefined;
|
|
@@ -3165,6 +3161,10 @@ export declare const PlusSearch: {
|
|
|
3165
3161
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3166
3162
|
default: boolean;
|
|
3167
3163
|
};
|
|
3164
|
+
modelValue: {
|
|
3165
|
+
type: PropType<FieldValues>;
|
|
3166
|
+
default: () => {};
|
|
3167
|
+
};
|
|
3168
3168
|
rules: {
|
|
3169
3169
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3170
3170
|
default: () => {};
|
|
@@ -3228,7 +3228,7 @@ export declare const PlusSearch: {
|
|
|
3228
3228
|
default: boolean;
|
|
3229
3229
|
};
|
|
3230
3230
|
footerAlign: {
|
|
3231
|
-
type: PropType<"
|
|
3231
|
+
type: PropType<"right" | "left" | "center">;
|
|
3232
3232
|
default: string;
|
|
3233
3233
|
};
|
|
3234
3234
|
cardProps: {
|
|
@@ -3247,13 +3247,13 @@ export declare const PlusSearch: {
|
|
|
3247
3247
|
default: boolean;
|
|
3248
3248
|
};
|
|
3249
3249
|
}>> & {
|
|
3250
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3251
3250
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3252
3251
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3253
3252
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3253
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3254
3254
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3255
3255
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3256
|
-
}, "
|
|
3256
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
3257
3257
|
$attrs: {
|
|
3258
3258
|
[x: string]: unknown;
|
|
3259
3259
|
};
|
|
@@ -3265,13 +3265,9 @@ export declare const PlusSearch: {
|
|
|
3265
3265
|
}>;
|
|
3266
3266
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3267
3267
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3268
|
-
$emit: ((event: "
|
|
3268
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
3269
3269
|
$el: any;
|
|
3270
3270
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3271
|
-
modelValue: {
|
|
3272
|
-
type: PropType<FieldValues>;
|
|
3273
|
-
default: () => {};
|
|
3274
|
-
};
|
|
3275
3271
|
collapseDuration: {
|
|
3276
3272
|
type: PropType<number>;
|
|
3277
3273
|
default: undefined;
|
|
@@ -3288,6 +3284,10 @@ export declare const PlusSearch: {
|
|
|
3288
3284
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3289
3285
|
default: boolean;
|
|
3290
3286
|
};
|
|
3287
|
+
modelValue: {
|
|
3288
|
+
type: PropType<FieldValues>;
|
|
3289
|
+
default: () => {};
|
|
3290
|
+
};
|
|
3291
3291
|
rules: {
|
|
3292
3292
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3293
3293
|
default: () => {};
|
|
@@ -3351,7 +3351,7 @@ export declare const PlusSearch: {
|
|
|
3351
3351
|
default: boolean;
|
|
3352
3352
|
};
|
|
3353
3353
|
footerAlign: {
|
|
3354
|
-
type: PropType<"
|
|
3354
|
+
type: PropType<"right" | "left" | "center">;
|
|
3355
3355
|
default: string;
|
|
3356
3356
|
};
|
|
3357
3357
|
cardProps: {
|
|
@@ -3370,10 +3370,10 @@ export declare const PlusSearch: {
|
|
|
3370
3370
|
default: boolean;
|
|
3371
3371
|
};
|
|
3372
3372
|
}>> & {
|
|
3373
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3374
3373
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3375
3374
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3376
3375
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3376
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3377
3377
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3378
3378
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3379
3379
|
}, {
|
|
@@ -3669,11 +3669,11 @@ export declare const PlusSearch: {
|
|
|
3669
3669
|
submitError: (errors: unknown) => void;
|
|
3670
3670
|
validate: (...args: any[]) => void;
|
|
3671
3671
|
}, string, {
|
|
3672
|
-
modelValue: FieldValues;
|
|
3673
3672
|
collapseDuration: number;
|
|
3674
3673
|
collapseTransition: boolean;
|
|
3675
3674
|
columns: PlusColumn[];
|
|
3676
3675
|
group: false | PlusFormGroupRow[];
|
|
3676
|
+
modelValue: FieldValues;
|
|
3677
3677
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3678
3678
|
labelPosition: "top" | "right" | "left";
|
|
3679
3679
|
labelWidth: string | number;
|
|
@@ -3694,7 +3694,7 @@ export declare const PlusSearch: {
|
|
|
3694
3694
|
submitText: string;
|
|
3695
3695
|
resetText: string;
|
|
3696
3696
|
submitLoading: boolean;
|
|
3697
|
-
footerAlign: "
|
|
3697
|
+
footerAlign: "right" | "left" | "center";
|
|
3698
3698
|
cardProps: Partial< Mutable<CardProps> & {
|
|
3699
3699
|
style?: CSSProperties | undefined;
|
|
3700
3700
|
class?: any;
|
|
@@ -3722,10 +3722,6 @@ export declare const PlusSearch: {
|
|
|
3722
3722
|
$nextTick: nextTick;
|
|
3723
3723
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
3724
3724
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
3725
|
-
modelValue: {
|
|
3726
|
-
type: PropType<FieldValues>;
|
|
3727
|
-
default: () => {};
|
|
3728
|
-
};
|
|
3729
3725
|
collapseDuration: {
|
|
3730
3726
|
type: PropType<number>;
|
|
3731
3727
|
default: undefined;
|
|
@@ -3742,6 +3738,10 @@ export declare const PlusSearch: {
|
|
|
3742
3738
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3743
3739
|
default: boolean;
|
|
3744
3740
|
};
|
|
3741
|
+
modelValue: {
|
|
3742
|
+
type: PropType<FieldValues>;
|
|
3743
|
+
default: () => {};
|
|
3744
|
+
};
|
|
3745
3745
|
rules: {
|
|
3746
3746
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3747
3747
|
default: () => {};
|
|
@@ -3805,7 +3805,7 @@ export declare const PlusSearch: {
|
|
|
3805
3805
|
default: boolean;
|
|
3806
3806
|
};
|
|
3807
3807
|
footerAlign: {
|
|
3808
|
-
type: PropType<"
|
|
3808
|
+
type: PropType<"right" | "left" | "center">;
|
|
3809
3809
|
default: string;
|
|
3810
3810
|
};
|
|
3811
3811
|
cardProps: {
|
|
@@ -3824,10 +3824,10 @@ export declare const PlusSearch: {
|
|
|
3824
3824
|
default: boolean;
|
|
3825
3825
|
};
|
|
3826
3826
|
}>> & {
|
|
3827
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3828
3827
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3829
3828
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3830
3829
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3830
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3831
3831
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3832
3832
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3833
3833
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -4128,14 +4128,14 @@ export declare const PlusSearch: {
|
|
|
4128
4128
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
4129
4129
|
columns?: PlusColumn[] | undefined;
|
|
4130
4130
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4131
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4131
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4132
4132
|
readonly label: string | ComputedRef<string>;
|
|
4133
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4133
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4134
4134
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4135
|
-
readonly tooltip: string |
|
|
4135
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4136
4136
|
style?: CSSProperties | undefined;
|
|
4137
4137
|
class?: any;
|
|
4138
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4138
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4139
4139
|
style?: CSSProperties | undefined;
|
|
4140
4140
|
class?: any;
|
|
4141
4141
|
} & RecordType>>;
|
|
@@ -4202,12 +4202,12 @@ export declare const PlusSearch: {
|
|
|
4202
4202
|
fieldInstance?: any;
|
|
4203
4203
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4204
4204
|
prop: string;
|
|
4205
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4205
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4206
4206
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4207
|
-
tooltip: string |
|
|
4207
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4208
4208
|
style?: CSSProperties | undefined;
|
|
4209
4209
|
class?: any;
|
|
4210
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4210
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4211
4211
|
style?: CSSProperties | undefined;
|
|
4212
4212
|
class?: any;
|
|
4213
4213
|
} & RecordType>>;
|
|
@@ -4236,14 +4236,14 @@ export declare const PlusSearch: {
|
|
|
4236
4236
|
clearable: boolean;
|
|
4237
4237
|
index: number;
|
|
4238
4238
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4239
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4239
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4240
4240
|
readonly label: string | ComputedRef<string>;
|
|
4241
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4241
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4242
4242
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4243
|
-
readonly tooltip: string |
|
|
4243
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4244
4244
|
style?: CSSProperties | undefined;
|
|
4245
4245
|
class?: any;
|
|
4246
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4246
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4247
4247
|
style?: CSSProperties | undefined;
|
|
4248
4248
|
class?: any;
|
|
4249
4249
|
} & RecordType>>;
|
|
@@ -4310,12 +4310,12 @@ export declare const PlusSearch: {
|
|
|
4310
4310
|
fieldInstance?: any;
|
|
4311
4311
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4312
4312
|
prop: string;
|
|
4313
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4313
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4314
4314
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4315
|
-
tooltip: string |
|
|
4315
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4316
4316
|
style?: CSSProperties | undefined;
|
|
4317
4317
|
class?: any;
|
|
4318
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4318
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4319
4319
|
style?: CSSProperties | undefined;
|
|
4320
4320
|
class?: any;
|
|
4321
4321
|
} & RecordType>>;
|
|
@@ -4367,8 +4367,8 @@ export declare const PlusSearch: {
|
|
|
4367
4367
|
reset: (values: FieldValues) => void;
|
|
4368
4368
|
collapse: (isShowUnfold: boolean) => void;
|
|
4369
4369
|
}, string, {
|
|
4370
|
-
modelValue: FieldValues;
|
|
4371
4370
|
columns: PlusColumn[];
|
|
4371
|
+
modelValue: FieldValues;
|
|
4372
4372
|
labelPosition: "top" | "right" | "left";
|
|
4373
4373
|
inline: boolean;
|
|
4374
4374
|
showNumber: number;
|
|
@@ -4395,14 +4395,14 @@ export declare const PlusSearch: {
|
|
|
4395
4395
|
resetIcon: Component | null;
|
|
4396
4396
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
4397
4397
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
4398
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4398
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4399
4399
|
readonly label: string | ComputedRef<string>;
|
|
4400
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4400
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4401
4401
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4402
|
-
readonly tooltip: string |
|
|
4402
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4403
4403
|
style?: CSSProperties | undefined;
|
|
4404
4404
|
class?: any;
|
|
4405
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4405
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4406
4406
|
style?: CSSProperties | undefined;
|
|
4407
4407
|
class?: any;
|
|
4408
4408
|
} & RecordType>>;
|
|
@@ -4469,12 +4469,12 @@ export declare const PlusSearch: {
|
|
|
4469
4469
|
fieldInstance?: any;
|
|
4470
4470
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4471
4471
|
prop: string;
|
|
4472
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4472
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4473
4473
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4474
|
-
tooltip: string |
|
|
4474
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4475
4475
|
style?: CSSProperties | undefined;
|
|
4476
4476
|
class?: any;
|
|
4477
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4477
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4478
4478
|
style?: CSSProperties | undefined;
|
|
4479
4479
|
class?: any;
|
|
4480
4480
|
} & RecordType>>;
|