yc-pro-components 0.0.52 → 0.0.53
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 +20 -20
- package/es/components/date-picker/src/index.vue.d.ts +12 -12
- 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 +65 -65
- package/es/components/drawer-form/src/index.vue.d.ts +15 -15
- 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 +48 -48
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +344 -344
- package/es/components/page/src/index.vue.d.ts +118 -118
- 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/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +235 -235
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/defaults.mjs +9 -2
- package/es/directives/dist/fn-perm.mjs +12 -0
- package/es/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +12 -12
- package/es/index.mjs +8 -1
- package/es/utils/dist/permission.mjs +3 -0
- package/index.js +10 -17
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +6 -14
- 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 +20 -20
- package/lib/components/date-picker/src/index.vue.d.ts +12 -12
- 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 +65 -65
- package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
- 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 +48 -48
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +344 -344
- package/lib/components/page/src/index.vue.d.ts +118 -118
- 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/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +235 -235
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/defaults.js +9 -2
- package/lib/directives/dist/fn-perm.js +14 -0
- package/lib/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +8 -8
- package/lib/index.js +9 -2
- package/lib/utils/dist/permission.js +5 -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
- package/es/directives/dist/index.mjs +0 -14
- package/lib/directives/dist/index.js +0 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LooseRequired } from '@vue/shared';
|
|
2
2
|
import { Arrayable, EpPropMergeType } from 'element-plus/es/utils';
|
|
3
3
|
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';
|
|
4
|
-
import {
|
|
4
|
+
import { PlusColumn, FieldValues, Mutable, RecordType, PlusFormGroupRow, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
5
5
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Component, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ComputedRef } from 'vue';
|
|
6
6
|
import { default as Search } from './src/index.vue';
|
|
7
7
|
|
|
@@ -9,10 +9,6 @@ export type PlusSearchInstance = InstanceType<typeof Search>;
|
|
|
9
9
|
export * from './src/type';
|
|
10
10
|
export declare const PlusSearch: {
|
|
11
11
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
12
|
-
modelValue: {
|
|
13
|
-
type: PropType<FieldValues>;
|
|
14
|
-
default: () => {};
|
|
15
|
-
};
|
|
16
12
|
columns: {
|
|
17
13
|
type: PropType< PlusColumn[]>;
|
|
18
14
|
default: () => never[];
|
|
@@ -21,6 +17,10 @@ export declare const PlusSearch: {
|
|
|
21
17
|
type: PropType<"grid" | "flex">;
|
|
22
18
|
default: "flex";
|
|
23
19
|
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: PropType<FieldValues>;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
24
24
|
labelPosition: {
|
|
25
25
|
type: PropType<"top" | "right" | "left">;
|
|
26
26
|
default: undefined;
|
|
@@ -108,9 +108,9 @@ export declare const PlusSearch: {
|
|
|
108
108
|
default: undefined;
|
|
109
109
|
};
|
|
110
110
|
}>> & {
|
|
111
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
112
111
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
113
112
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
113
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
114
114
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
115
115
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
116
116
|
}, {
|
|
@@ -118,12 +118,12 @@ export declare const PlusSearch: {
|
|
|
118
118
|
$: ComponentInternalInstance;
|
|
119
119
|
$data: {};
|
|
120
120
|
$props: Partial<{
|
|
121
|
-
modelValue: FieldValues;
|
|
122
121
|
collapseDuration: number;
|
|
123
122
|
collapseTransition: boolean;
|
|
124
123
|
columns: PlusColumn[];
|
|
125
124
|
group: false | PlusFormGroupRow[];
|
|
126
125
|
layout: "grid" | "flex";
|
|
126
|
+
modelValue: FieldValues;
|
|
127
127
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
128
128
|
labelPosition: "top" | "right" | "left";
|
|
129
129
|
labelWidth: string | number;
|
|
@@ -144,7 +144,7 @@ export declare const PlusSearch: {
|
|
|
144
144
|
submitText: string;
|
|
145
145
|
resetText: string;
|
|
146
146
|
submitLoading: boolean;
|
|
147
|
-
footerAlign: "
|
|
147
|
+
footerAlign: "right" | "left" | "center";
|
|
148
148
|
cardProps: Partial< Mutable<CardProps> & {
|
|
149
149
|
style?: CSSProperties | undefined;
|
|
150
150
|
class?: any;
|
|
@@ -152,9 +152,9 @@ export declare const PlusSearch: {
|
|
|
152
152
|
prevent: boolean;
|
|
153
153
|
clearable: boolean;
|
|
154
154
|
}> & Omit<{
|
|
155
|
-
readonly modelValue: FieldValues;
|
|
156
155
|
readonly columns: PlusColumn[];
|
|
157
156
|
readonly group: false | PlusFormGroupRow[];
|
|
157
|
+
readonly modelValue: FieldValues;
|
|
158
158
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
159
159
|
readonly labelPosition: "top" | "right" | "left";
|
|
160
160
|
readonly labelWidth: string | number;
|
|
@@ -175,7 +175,7 @@ export declare const PlusSearch: {
|
|
|
175
175
|
readonly submitText: string;
|
|
176
176
|
readonly resetText: string;
|
|
177
177
|
readonly submitLoading: boolean;
|
|
178
|
-
readonly footerAlign: "
|
|
178
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
179
179
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
180
180
|
style?: CSSProperties | undefined;
|
|
181
181
|
class?: any;
|
|
@@ -185,17 +185,13 @@ export declare const PlusSearch: {
|
|
|
185
185
|
readonly collapseDuration?: number | undefined;
|
|
186
186
|
readonly collapseTransition?: boolean | undefined;
|
|
187
187
|
readonly layout?: "grid" | "flex" | undefined;
|
|
188
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
189
188
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
190
189
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
191
190
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
191
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
192
192
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
193
193
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
194
194
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
195
|
-
modelValue: {
|
|
196
|
-
type: PropType<FieldValues>;
|
|
197
|
-
default: () => {};
|
|
198
|
-
};
|
|
199
195
|
collapseDuration: {
|
|
200
196
|
type: PropType<number>;
|
|
201
197
|
default: undefined;
|
|
@@ -216,6 +212,10 @@ export declare const PlusSearch: {
|
|
|
216
212
|
type: PropType<"grid" | "flex">;
|
|
217
213
|
default: undefined;
|
|
218
214
|
};
|
|
215
|
+
modelValue: {
|
|
216
|
+
type: PropType<FieldValues>;
|
|
217
|
+
default: () => {};
|
|
218
|
+
};
|
|
219
219
|
rules: {
|
|
220
220
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
221
221
|
default: () => {};
|
|
@@ -279,7 +279,7 @@ export declare const PlusSearch: {
|
|
|
279
279
|
default: boolean;
|
|
280
280
|
};
|
|
281
281
|
footerAlign: {
|
|
282
|
-
type: PropType<"
|
|
282
|
+
type: PropType<"right" | "left" | "center">;
|
|
283
283
|
default: string;
|
|
284
284
|
};
|
|
285
285
|
cardProps: {
|
|
@@ -298,13 +298,13 @@ export declare const PlusSearch: {
|
|
|
298
298
|
default: boolean;
|
|
299
299
|
};
|
|
300
300
|
}>> & {
|
|
301
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
302
301
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
303
302
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
304
303
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
304
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
305
305
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
306
306
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
307
|
-
}, "
|
|
307
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
308
308
|
$attrs: {
|
|
309
309
|
[x: string]: unknown;
|
|
310
310
|
};
|
|
@@ -316,13 +316,9 @@ export declare const PlusSearch: {
|
|
|
316
316
|
}>;
|
|
317
317
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
318
318
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
319
|
-
$emit: ((event: "
|
|
319
|
+
$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);
|
|
320
320
|
$el: any;
|
|
321
321
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
322
|
-
modelValue: {
|
|
323
|
-
type: PropType<FieldValues>;
|
|
324
|
-
default: () => {};
|
|
325
|
-
};
|
|
326
322
|
collapseDuration: {
|
|
327
323
|
type: PropType<number>;
|
|
328
324
|
default: undefined;
|
|
@@ -343,6 +339,10 @@ export declare const PlusSearch: {
|
|
|
343
339
|
type: PropType<"grid" | "flex">;
|
|
344
340
|
default: undefined;
|
|
345
341
|
};
|
|
342
|
+
modelValue: {
|
|
343
|
+
type: PropType<FieldValues>;
|
|
344
|
+
default: () => {};
|
|
345
|
+
};
|
|
346
346
|
rules: {
|
|
347
347
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
348
348
|
default: () => {};
|
|
@@ -406,7 +406,7 @@ export declare const PlusSearch: {
|
|
|
406
406
|
default: boolean;
|
|
407
407
|
};
|
|
408
408
|
footerAlign: {
|
|
409
|
-
type: PropType<"
|
|
409
|
+
type: PropType<"right" | "left" | "center">;
|
|
410
410
|
default: string;
|
|
411
411
|
};
|
|
412
412
|
cardProps: {
|
|
@@ -425,10 +425,10 @@ export declare const PlusSearch: {
|
|
|
425
425
|
default: boolean;
|
|
426
426
|
};
|
|
427
427
|
}>> & {
|
|
428
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
429
428
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
430
429
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
431
430
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
431
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
432
432
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
433
433
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
434
434
|
}, {
|
|
@@ -443,12 +443,12 @@ export declare const PlusSearch: {
|
|
|
443
443
|
submitError: (errors: unknown) => void;
|
|
444
444
|
validate: (...args: any[]) => void;
|
|
445
445
|
}, string, {
|
|
446
|
-
modelValue: FieldValues;
|
|
447
446
|
collapseDuration: number;
|
|
448
447
|
collapseTransition: boolean;
|
|
449
448
|
columns: PlusColumn[];
|
|
450
449
|
group: false | PlusFormGroupRow[];
|
|
451
450
|
layout: "grid" | "flex";
|
|
451
|
+
modelValue: FieldValues;
|
|
452
452
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
453
453
|
labelPosition: "top" | "right" | "left";
|
|
454
454
|
labelWidth: string | number;
|
|
@@ -469,7 +469,7 @@ export declare const PlusSearch: {
|
|
|
469
469
|
submitText: string;
|
|
470
470
|
resetText: string;
|
|
471
471
|
submitLoading: boolean;
|
|
472
|
-
footerAlign: "
|
|
472
|
+
footerAlign: "right" | "left" | "center";
|
|
473
473
|
cardProps: Partial< Mutable<CardProps> & {
|
|
474
474
|
style?: CSSProperties | undefined;
|
|
475
475
|
class?: any;
|
|
@@ -497,10 +497,6 @@ export declare const PlusSearch: {
|
|
|
497
497
|
$nextTick: nextTick;
|
|
498
498
|
$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;
|
|
499
499
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
500
|
-
modelValue: {
|
|
501
|
-
type: PropType<FieldValues>;
|
|
502
|
-
default: () => {};
|
|
503
|
-
};
|
|
504
500
|
collapseDuration: {
|
|
505
501
|
type: PropType<number>;
|
|
506
502
|
default: undefined;
|
|
@@ -521,6 +517,10 @@ export declare const PlusSearch: {
|
|
|
521
517
|
type: PropType<"grid" | "flex">;
|
|
522
518
|
default: undefined;
|
|
523
519
|
};
|
|
520
|
+
modelValue: {
|
|
521
|
+
type: PropType<FieldValues>;
|
|
522
|
+
default: () => {};
|
|
523
|
+
};
|
|
524
524
|
rules: {
|
|
525
525
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
526
526
|
default: () => {};
|
|
@@ -584,7 +584,7 @@ export declare const PlusSearch: {
|
|
|
584
584
|
default: boolean;
|
|
585
585
|
};
|
|
586
586
|
footerAlign: {
|
|
587
|
-
type: PropType<"
|
|
587
|
+
type: PropType<"right" | "left" | "center">;
|
|
588
588
|
default: string;
|
|
589
589
|
};
|
|
590
590
|
cardProps: {
|
|
@@ -603,10 +603,10 @@ export declare const PlusSearch: {
|
|
|
603
603
|
default: boolean;
|
|
604
604
|
};
|
|
605
605
|
}>> & {
|
|
606
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
607
606
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
608
607
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
609
608
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
609
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
610
610
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
611
611
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
612
612
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -626,14 +626,14 @@ export declare const PlusSearch: {
|
|
|
626
626
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
627
627
|
columns?: PlusColumn[] | undefined;
|
|
628
628
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
629
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
629
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
630
630
|
readonly label: string | ComputedRef<string>;
|
|
631
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
631
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
632
632
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
633
|
-
readonly tooltip: string |
|
|
633
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
634
634
|
style?: CSSProperties | undefined;
|
|
635
635
|
class?: any;
|
|
636
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
636
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
637
637
|
style?: CSSProperties | undefined;
|
|
638
638
|
class?: any;
|
|
639
639
|
} & RecordType>>;
|
|
@@ -700,12 +700,12 @@ export declare const PlusSearch: {
|
|
|
700
700
|
fieldInstance?: any;
|
|
701
701
|
valueIsReady?: Ref<boolean> | undefined;
|
|
702
702
|
prop: string;
|
|
703
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
703
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
704
704
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
705
|
-
tooltip: string |
|
|
705
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
706
706
|
style?: CSSProperties | undefined;
|
|
707
707
|
class?: any;
|
|
708
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
708
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
709
709
|
style?: CSSProperties | undefined;
|
|
710
710
|
class?: any;
|
|
711
711
|
} & RecordType>>;
|
|
@@ -734,14 +734,14 @@ export declare const PlusSearch: {
|
|
|
734
734
|
clearable: boolean;
|
|
735
735
|
index: number;
|
|
736
736
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
737
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
737
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
738
738
|
readonly label: string | ComputedRef<string>;
|
|
739
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
739
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
740
740
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
741
|
-
readonly tooltip: string |
|
|
741
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
742
742
|
style?: CSSProperties | undefined;
|
|
743
743
|
class?: any;
|
|
744
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
744
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
745
745
|
style?: CSSProperties | undefined;
|
|
746
746
|
class?: any;
|
|
747
747
|
} & RecordType>>;
|
|
@@ -808,12 +808,12 @@ export declare const PlusSearch: {
|
|
|
808
808
|
fieldInstance?: any;
|
|
809
809
|
valueIsReady?: Ref<boolean> | undefined;
|
|
810
810
|
prop: string;
|
|
811
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
811
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
812
812
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
813
|
-
tooltip: string |
|
|
813
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
814
814
|
style?: CSSProperties | undefined;
|
|
815
815
|
class?: any;
|
|
816
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
816
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
817
817
|
style?: CSSProperties | undefined;
|
|
818
818
|
class?: any;
|
|
819
819
|
} & RecordType>>;
|
|
@@ -865,10 +865,6 @@ export declare const PlusSearch: {
|
|
|
865
865
|
reset: (values: FieldValues) => void;
|
|
866
866
|
collapse: (isShowUnfold: boolean) => void;
|
|
867
867
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
868
|
-
modelValue: {
|
|
869
|
-
type: PropType<FieldValues>;
|
|
870
|
-
default: () => {};
|
|
871
|
-
};
|
|
872
868
|
columns: {
|
|
873
869
|
type: PropType< PlusColumn[]>;
|
|
874
870
|
default: () => never[];
|
|
@@ -877,6 +873,10 @@ export declare const PlusSearch: {
|
|
|
877
873
|
type: PropType<"grid" | "flex">;
|
|
878
874
|
default: "flex";
|
|
879
875
|
};
|
|
876
|
+
modelValue: {
|
|
877
|
+
type: PropType<FieldValues>;
|
|
878
|
+
default: () => {};
|
|
879
|
+
};
|
|
880
880
|
labelPosition: {
|
|
881
881
|
type: PropType<"top" | "right" | "left">;
|
|
882
882
|
default: undefined;
|
|
@@ -964,15 +964,15 @@ export declare const PlusSearch: {
|
|
|
964
964
|
default: undefined;
|
|
965
965
|
};
|
|
966
966
|
}>> & {
|
|
967
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
968
967
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
969
968
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
969
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
970
970
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
971
971
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
972
972
|
}, {
|
|
973
|
-
modelValue: FieldValues;
|
|
974
973
|
columns: PlusColumn[];
|
|
975
974
|
layout: "grid" | "flex";
|
|
975
|
+
modelValue: FieldValues;
|
|
976
976
|
labelPosition: "top" | "right" | "left";
|
|
977
977
|
inline: boolean;
|
|
978
978
|
showNumber: number;
|
|
@@ -1005,10 +1005,6 @@ export declare const PlusSearch: {
|
|
|
1005
1005
|
M: {};
|
|
1006
1006
|
Defaults: {};
|
|
1007
1007
|
}, Readonly< ExtractPropTypes<{
|
|
1008
|
-
modelValue: {
|
|
1009
|
-
type: PropType<FieldValues>;
|
|
1010
|
-
default: () => {};
|
|
1011
|
-
};
|
|
1012
1008
|
columns: {
|
|
1013
1009
|
type: PropType< PlusColumn[]>;
|
|
1014
1010
|
default: () => never[];
|
|
@@ -1017,6 +1013,10 @@ export declare const PlusSearch: {
|
|
|
1017
1013
|
type: PropType<"grid" | "flex">;
|
|
1018
1014
|
default: "flex";
|
|
1019
1015
|
};
|
|
1016
|
+
modelValue: {
|
|
1017
|
+
type: PropType<FieldValues>;
|
|
1018
|
+
default: () => {};
|
|
1019
|
+
};
|
|
1020
1020
|
labelPosition: {
|
|
1021
1021
|
type: PropType<"top" | "right" | "left">;
|
|
1022
1022
|
default: undefined;
|
|
@@ -1104,9 +1104,9 @@ export declare const PlusSearch: {
|
|
|
1104
1104
|
default: undefined;
|
|
1105
1105
|
};
|
|
1106
1106
|
}>> & {
|
|
1107
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1108
1107
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1109
1108
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1109
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1110
1110
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1111
1111
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1112
1112
|
}, {
|
|
@@ -1114,12 +1114,12 @@ export declare const PlusSearch: {
|
|
|
1114
1114
|
$: ComponentInternalInstance;
|
|
1115
1115
|
$data: {};
|
|
1116
1116
|
$props: Partial<{
|
|
1117
|
-
modelValue: FieldValues;
|
|
1118
1117
|
collapseDuration: number;
|
|
1119
1118
|
collapseTransition: boolean;
|
|
1120
1119
|
columns: PlusColumn[];
|
|
1121
1120
|
group: false | PlusFormGroupRow[];
|
|
1122
1121
|
layout: "grid" | "flex";
|
|
1122
|
+
modelValue: FieldValues;
|
|
1123
1123
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1124
1124
|
labelPosition: "top" | "right" | "left";
|
|
1125
1125
|
labelWidth: string | number;
|
|
@@ -1140,7 +1140,7 @@ export declare const PlusSearch: {
|
|
|
1140
1140
|
submitText: string;
|
|
1141
1141
|
resetText: string;
|
|
1142
1142
|
submitLoading: boolean;
|
|
1143
|
-
footerAlign: "
|
|
1143
|
+
footerAlign: "right" | "left" | "center";
|
|
1144
1144
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1145
1145
|
style?: CSSProperties | undefined;
|
|
1146
1146
|
class?: any;
|
|
@@ -1148,9 +1148,9 @@ export declare const PlusSearch: {
|
|
|
1148
1148
|
prevent: boolean;
|
|
1149
1149
|
clearable: boolean;
|
|
1150
1150
|
}> & Omit<{
|
|
1151
|
-
readonly modelValue: FieldValues;
|
|
1152
1151
|
readonly columns: PlusColumn[];
|
|
1153
1152
|
readonly group: false | PlusFormGroupRow[];
|
|
1153
|
+
readonly modelValue: FieldValues;
|
|
1154
1154
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1155
1155
|
readonly labelPosition: "top" | "right" | "left";
|
|
1156
1156
|
readonly labelWidth: string | number;
|
|
@@ -1171,7 +1171,7 @@ export declare const PlusSearch: {
|
|
|
1171
1171
|
readonly submitText: string;
|
|
1172
1172
|
readonly resetText: string;
|
|
1173
1173
|
readonly submitLoading: boolean;
|
|
1174
|
-
readonly footerAlign: "
|
|
1174
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1175
1175
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1176
1176
|
style?: CSSProperties | undefined;
|
|
1177
1177
|
class?: any;
|
|
@@ -1181,17 +1181,13 @@ export declare const PlusSearch: {
|
|
|
1181
1181
|
readonly collapseDuration?: number | undefined;
|
|
1182
1182
|
readonly collapseTransition?: boolean | undefined;
|
|
1183
1183
|
readonly layout?: "grid" | "flex" | undefined;
|
|
1184
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1185
1184
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1186
1185
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1187
1186
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1187
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1188
1188
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1189
1189
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1190
1190
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1191
|
-
modelValue: {
|
|
1192
|
-
type: PropType<FieldValues>;
|
|
1193
|
-
default: () => {};
|
|
1194
|
-
};
|
|
1195
1191
|
collapseDuration: {
|
|
1196
1192
|
type: PropType<number>;
|
|
1197
1193
|
default: undefined;
|
|
@@ -1212,6 +1208,10 @@ export declare const PlusSearch: {
|
|
|
1212
1208
|
type: PropType<"grid" | "flex">;
|
|
1213
1209
|
default: undefined;
|
|
1214
1210
|
};
|
|
1211
|
+
modelValue: {
|
|
1212
|
+
type: PropType<FieldValues>;
|
|
1213
|
+
default: () => {};
|
|
1214
|
+
};
|
|
1215
1215
|
rules: {
|
|
1216
1216
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1217
1217
|
default: () => {};
|
|
@@ -1275,7 +1275,7 @@ export declare const PlusSearch: {
|
|
|
1275
1275
|
default: boolean;
|
|
1276
1276
|
};
|
|
1277
1277
|
footerAlign: {
|
|
1278
|
-
type: PropType<"
|
|
1278
|
+
type: PropType<"right" | "left" | "center">;
|
|
1279
1279
|
default: string;
|
|
1280
1280
|
};
|
|
1281
1281
|
cardProps: {
|
|
@@ -1294,13 +1294,13 @@ export declare const PlusSearch: {
|
|
|
1294
1294
|
default: boolean;
|
|
1295
1295
|
};
|
|
1296
1296
|
}>> & {
|
|
1297
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1298
1297
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1299
1298
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1300
1299
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1300
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1301
1301
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1302
1302
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1303
|
-
}, "
|
|
1303
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1304
1304
|
$attrs: {
|
|
1305
1305
|
[x: string]: unknown;
|
|
1306
1306
|
};
|
|
@@ -1312,13 +1312,9 @@ export declare const PlusSearch: {
|
|
|
1312
1312
|
}>;
|
|
1313
1313
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1314
1314
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1315
|
-
$emit: ((event: "
|
|
1315
|
+
$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);
|
|
1316
1316
|
$el: any;
|
|
1317
1317
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1318
|
-
modelValue: {
|
|
1319
|
-
type: PropType<FieldValues>;
|
|
1320
|
-
default: () => {};
|
|
1321
|
-
};
|
|
1322
1318
|
collapseDuration: {
|
|
1323
1319
|
type: PropType<number>;
|
|
1324
1320
|
default: undefined;
|
|
@@ -1339,6 +1335,10 @@ export declare const PlusSearch: {
|
|
|
1339
1335
|
type: PropType<"grid" | "flex">;
|
|
1340
1336
|
default: undefined;
|
|
1341
1337
|
};
|
|
1338
|
+
modelValue: {
|
|
1339
|
+
type: PropType<FieldValues>;
|
|
1340
|
+
default: () => {};
|
|
1341
|
+
};
|
|
1342
1342
|
rules: {
|
|
1343
1343
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1344
1344
|
default: () => {};
|
|
@@ -1402,7 +1402,7 @@ export declare const PlusSearch: {
|
|
|
1402
1402
|
default: boolean;
|
|
1403
1403
|
};
|
|
1404
1404
|
footerAlign: {
|
|
1405
|
-
type: PropType<"
|
|
1405
|
+
type: PropType<"right" | "left" | "center">;
|
|
1406
1406
|
default: string;
|
|
1407
1407
|
};
|
|
1408
1408
|
cardProps: {
|
|
@@ -1421,10 +1421,10 @@ export declare const PlusSearch: {
|
|
|
1421
1421
|
default: boolean;
|
|
1422
1422
|
};
|
|
1423
1423
|
}>> & {
|
|
1424
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1425
1424
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1426
1425
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1427
1426
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1427
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1428
1428
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1429
1429
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1430
1430
|
}, {
|
|
@@ -1439,12 +1439,12 @@ export declare const PlusSearch: {
|
|
|
1439
1439
|
submitError: (errors: unknown) => void;
|
|
1440
1440
|
validate: (...args: any[]) => void;
|
|
1441
1441
|
}, string, {
|
|
1442
|
-
modelValue: FieldValues;
|
|
1443
1442
|
collapseDuration: number;
|
|
1444
1443
|
collapseTransition: boolean;
|
|
1445
1444
|
columns: PlusColumn[];
|
|
1446
1445
|
group: false | PlusFormGroupRow[];
|
|
1447
1446
|
layout: "grid" | "flex";
|
|
1447
|
+
modelValue: FieldValues;
|
|
1448
1448
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1449
1449
|
labelPosition: "top" | "right" | "left";
|
|
1450
1450
|
labelWidth: string | number;
|
|
@@ -1465,7 +1465,7 @@ export declare const PlusSearch: {
|
|
|
1465
1465
|
submitText: string;
|
|
1466
1466
|
resetText: string;
|
|
1467
1467
|
submitLoading: boolean;
|
|
1468
|
-
footerAlign: "
|
|
1468
|
+
footerAlign: "right" | "left" | "center";
|
|
1469
1469
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1470
1470
|
style?: CSSProperties | undefined;
|
|
1471
1471
|
class?: any;
|
|
@@ -1493,10 +1493,6 @@ export declare const PlusSearch: {
|
|
|
1493
1493
|
$nextTick: nextTick;
|
|
1494
1494
|
$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;
|
|
1495
1495
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1496
|
-
modelValue: {
|
|
1497
|
-
type: PropType<FieldValues>;
|
|
1498
|
-
default: () => {};
|
|
1499
|
-
};
|
|
1500
1496
|
collapseDuration: {
|
|
1501
1497
|
type: PropType<number>;
|
|
1502
1498
|
default: undefined;
|
|
@@ -1517,6 +1513,10 @@ export declare const PlusSearch: {
|
|
|
1517
1513
|
type: PropType<"grid" | "flex">;
|
|
1518
1514
|
default: undefined;
|
|
1519
1515
|
};
|
|
1516
|
+
modelValue: {
|
|
1517
|
+
type: PropType<FieldValues>;
|
|
1518
|
+
default: () => {};
|
|
1519
|
+
};
|
|
1520
1520
|
rules: {
|
|
1521
1521
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1522
1522
|
default: () => {};
|
|
@@ -1580,7 +1580,7 @@ export declare const PlusSearch: {
|
|
|
1580
1580
|
default: boolean;
|
|
1581
1581
|
};
|
|
1582
1582
|
footerAlign: {
|
|
1583
|
-
type: PropType<"
|
|
1583
|
+
type: PropType<"right" | "left" | "center">;
|
|
1584
1584
|
default: string;
|
|
1585
1585
|
};
|
|
1586
1586
|
cardProps: {
|
|
@@ -1599,10 +1599,10 @@ export declare const PlusSearch: {
|
|
|
1599
1599
|
default: boolean;
|
|
1600
1600
|
};
|
|
1601
1601
|
}>> & {
|
|
1602
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1603
1602
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1604
1603
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1605
1604
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1605
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1606
1606
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1607
1607
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1608
1608
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1622,14 +1622,14 @@ export declare const PlusSearch: {
|
|
|
1622
1622
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1623
1623
|
columns?: PlusColumn[] | undefined;
|
|
1624
1624
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1625
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1625
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1626
1626
|
readonly label: string | ComputedRef<string>;
|
|
1627
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1627
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1628
1628
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1629
|
-
readonly tooltip: string |
|
|
1629
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1630
1630
|
style?: CSSProperties | undefined;
|
|
1631
1631
|
class?: any;
|
|
1632
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1632
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1633
1633
|
style?: CSSProperties | undefined;
|
|
1634
1634
|
class?: any;
|
|
1635
1635
|
} & RecordType>>;
|
|
@@ -1696,12 +1696,12 @@ export declare const PlusSearch: {
|
|
|
1696
1696
|
fieldInstance?: any;
|
|
1697
1697
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1698
1698
|
prop: string;
|
|
1699
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1699
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1700
1700
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1701
|
-
tooltip: string |
|
|
1701
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1702
1702
|
style?: CSSProperties | undefined;
|
|
1703
1703
|
class?: any;
|
|
1704
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1704
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1705
1705
|
style?: CSSProperties | undefined;
|
|
1706
1706
|
class?: any;
|
|
1707
1707
|
} & RecordType>>;
|
|
@@ -1730,14 +1730,14 @@ export declare const PlusSearch: {
|
|
|
1730
1730
|
clearable: boolean;
|
|
1731
1731
|
index: number;
|
|
1732
1732
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1733
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1733
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1734
1734
|
readonly label: string | ComputedRef<string>;
|
|
1735
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1735
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1736
1736
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1737
|
-
readonly tooltip: string |
|
|
1737
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1738
1738
|
style?: CSSProperties | undefined;
|
|
1739
1739
|
class?: any;
|
|
1740
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1740
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1741
1741
|
style?: CSSProperties | undefined;
|
|
1742
1742
|
class?: any;
|
|
1743
1743
|
} & RecordType>>;
|
|
@@ -1804,12 +1804,12 @@ export declare const PlusSearch: {
|
|
|
1804
1804
|
fieldInstance?: any;
|
|
1805
1805
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1806
1806
|
prop: string;
|
|
1807
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1807
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1808
1808
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1809
|
-
tooltip: string |
|
|
1809
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1810
1810
|
style?: CSSProperties | undefined;
|
|
1811
1811
|
class?: any;
|
|
1812
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1812
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1813
1813
|
style?: CSSProperties | undefined;
|
|
1814
1814
|
class?: any;
|
|
1815
1815
|
} & RecordType>>;
|
|
@@ -1855,9 +1855,9 @@ export declare const PlusSearch: {
|
|
|
1855
1855
|
handleSearch: () => void;
|
|
1856
1856
|
handleUnfold: (e: MouseEvent) => void;
|
|
1857
1857
|
}, {}, {}, {}, {
|
|
1858
|
-
modelValue: FieldValues;
|
|
1859
1858
|
columns: PlusColumn[];
|
|
1860
1859
|
layout: "grid" | "flex";
|
|
1860
|
+
modelValue: FieldValues;
|
|
1861
1861
|
labelPosition: "top" | "right" | "left";
|
|
1862
1862
|
inline: boolean;
|
|
1863
1863
|
showNumber: number;
|
|
@@ -1887,10 +1887,6 @@ export declare const PlusSearch: {
|
|
|
1887
1887
|
__isTeleport?: undefined;
|
|
1888
1888
|
__isSuspense?: undefined;
|
|
1889
1889
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1890
|
-
modelValue: {
|
|
1891
|
-
type: PropType<FieldValues>;
|
|
1892
|
-
default: () => {};
|
|
1893
|
-
};
|
|
1894
1890
|
columns: {
|
|
1895
1891
|
type: PropType< PlusColumn[]>;
|
|
1896
1892
|
default: () => never[];
|
|
@@ -1899,6 +1895,10 @@ export declare const PlusSearch: {
|
|
|
1899
1895
|
type: PropType<"grid" | "flex">;
|
|
1900
1896
|
default: "flex";
|
|
1901
1897
|
};
|
|
1898
|
+
modelValue: {
|
|
1899
|
+
type: PropType<FieldValues>;
|
|
1900
|
+
default: () => {};
|
|
1901
|
+
};
|
|
1902
1902
|
labelPosition: {
|
|
1903
1903
|
type: PropType<"top" | "right" | "left">;
|
|
1904
1904
|
default: undefined;
|
|
@@ -1986,9 +1986,9 @@ export declare const PlusSearch: {
|
|
|
1986
1986
|
default: undefined;
|
|
1987
1987
|
};
|
|
1988
1988
|
}>> & {
|
|
1989
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1990
1989
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1991
1990
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1991
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1992
1992
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1993
1993
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1994
1994
|
}, {
|
|
@@ -1996,12 +1996,12 @@ export declare const PlusSearch: {
|
|
|
1996
1996
|
$: ComponentInternalInstance;
|
|
1997
1997
|
$data: {};
|
|
1998
1998
|
$props: Partial<{
|
|
1999
|
-
modelValue: FieldValues;
|
|
2000
1999
|
collapseDuration: number;
|
|
2001
2000
|
collapseTransition: boolean;
|
|
2002
2001
|
columns: PlusColumn[];
|
|
2003
2002
|
group: false | PlusFormGroupRow[];
|
|
2004
2003
|
layout: "grid" | "flex";
|
|
2004
|
+
modelValue: FieldValues;
|
|
2005
2005
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2006
2006
|
labelPosition: "top" | "right" | "left";
|
|
2007
2007
|
labelWidth: string | number;
|
|
@@ -2022,7 +2022,7 @@ export declare const PlusSearch: {
|
|
|
2022
2022
|
submitText: string;
|
|
2023
2023
|
resetText: string;
|
|
2024
2024
|
submitLoading: boolean;
|
|
2025
|
-
footerAlign: "
|
|
2025
|
+
footerAlign: "right" | "left" | "center";
|
|
2026
2026
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2027
2027
|
style?: CSSProperties | undefined;
|
|
2028
2028
|
class?: any;
|
|
@@ -2030,9 +2030,9 @@ export declare const PlusSearch: {
|
|
|
2030
2030
|
prevent: boolean;
|
|
2031
2031
|
clearable: boolean;
|
|
2032
2032
|
}> & Omit<{
|
|
2033
|
-
readonly modelValue: FieldValues;
|
|
2034
2033
|
readonly columns: PlusColumn[];
|
|
2035
2034
|
readonly group: false | PlusFormGroupRow[];
|
|
2035
|
+
readonly modelValue: FieldValues;
|
|
2036
2036
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2037
2037
|
readonly labelPosition: "top" | "right" | "left";
|
|
2038
2038
|
readonly labelWidth: string | number;
|
|
@@ -2053,7 +2053,7 @@ export declare const PlusSearch: {
|
|
|
2053
2053
|
readonly submitText: string;
|
|
2054
2054
|
readonly resetText: string;
|
|
2055
2055
|
readonly submitLoading: boolean;
|
|
2056
|
-
readonly footerAlign: "
|
|
2056
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
2057
2057
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
2058
2058
|
style?: CSSProperties | undefined;
|
|
2059
2059
|
class?: any;
|
|
@@ -2063,17 +2063,13 @@ export declare const PlusSearch: {
|
|
|
2063
2063
|
readonly collapseDuration?: number | undefined;
|
|
2064
2064
|
readonly collapseTransition?: boolean | undefined;
|
|
2065
2065
|
readonly layout?: "grid" | "flex" | undefined;
|
|
2066
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2067
2066
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2068
2067
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2069
2068
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2069
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2070
2070
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2071
2071
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2072
2072
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2073
|
-
modelValue: {
|
|
2074
|
-
type: PropType<FieldValues>;
|
|
2075
|
-
default: () => {};
|
|
2076
|
-
};
|
|
2077
2073
|
collapseDuration: {
|
|
2078
2074
|
type: PropType<number>;
|
|
2079
2075
|
default: undefined;
|
|
@@ -2094,6 +2090,10 @@ export declare const PlusSearch: {
|
|
|
2094
2090
|
type: PropType<"grid" | "flex">;
|
|
2095
2091
|
default: undefined;
|
|
2096
2092
|
};
|
|
2093
|
+
modelValue: {
|
|
2094
|
+
type: PropType<FieldValues>;
|
|
2095
|
+
default: () => {};
|
|
2096
|
+
};
|
|
2097
2097
|
rules: {
|
|
2098
2098
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2099
2099
|
default: () => {};
|
|
@@ -2157,7 +2157,7 @@ export declare const PlusSearch: {
|
|
|
2157
2157
|
default: boolean;
|
|
2158
2158
|
};
|
|
2159
2159
|
footerAlign: {
|
|
2160
|
-
type: PropType<"
|
|
2160
|
+
type: PropType<"right" | "left" | "center">;
|
|
2161
2161
|
default: string;
|
|
2162
2162
|
};
|
|
2163
2163
|
cardProps: {
|
|
@@ -2176,13 +2176,13 @@ export declare const PlusSearch: {
|
|
|
2176
2176
|
default: boolean;
|
|
2177
2177
|
};
|
|
2178
2178
|
}>> & {
|
|
2179
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2180
2179
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2181
2180
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2182
2181
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2182
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2183
2183
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2184
2184
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2185
|
-
}, "
|
|
2185
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2186
2186
|
$attrs: {
|
|
2187
2187
|
[x: string]: unknown;
|
|
2188
2188
|
};
|
|
@@ -2194,13 +2194,9 @@ export declare const PlusSearch: {
|
|
|
2194
2194
|
}>;
|
|
2195
2195
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2196
2196
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2197
|
-
$emit: ((event: "
|
|
2197
|
+
$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);
|
|
2198
2198
|
$el: any;
|
|
2199
2199
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2200
|
-
modelValue: {
|
|
2201
|
-
type: PropType<FieldValues>;
|
|
2202
|
-
default: () => {};
|
|
2203
|
-
};
|
|
2204
2200
|
collapseDuration: {
|
|
2205
2201
|
type: PropType<number>;
|
|
2206
2202
|
default: undefined;
|
|
@@ -2221,6 +2217,10 @@ export declare const PlusSearch: {
|
|
|
2221
2217
|
type: PropType<"grid" | "flex">;
|
|
2222
2218
|
default: undefined;
|
|
2223
2219
|
};
|
|
2220
|
+
modelValue: {
|
|
2221
|
+
type: PropType<FieldValues>;
|
|
2222
|
+
default: () => {};
|
|
2223
|
+
};
|
|
2224
2224
|
rules: {
|
|
2225
2225
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2226
2226
|
default: () => {};
|
|
@@ -2284,7 +2284,7 @@ export declare const PlusSearch: {
|
|
|
2284
2284
|
default: boolean;
|
|
2285
2285
|
};
|
|
2286
2286
|
footerAlign: {
|
|
2287
|
-
type: PropType<"
|
|
2287
|
+
type: PropType<"right" | "left" | "center">;
|
|
2288
2288
|
default: string;
|
|
2289
2289
|
};
|
|
2290
2290
|
cardProps: {
|
|
@@ -2303,10 +2303,10 @@ export declare const PlusSearch: {
|
|
|
2303
2303
|
default: boolean;
|
|
2304
2304
|
};
|
|
2305
2305
|
}>> & {
|
|
2306
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2307
2306
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2308
2307
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2309
2308
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2309
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2310
2310
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2311
2311
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2312
2312
|
}, {
|
|
@@ -2321,12 +2321,12 @@ export declare const PlusSearch: {
|
|
|
2321
2321
|
submitError: (errors: unknown) => void;
|
|
2322
2322
|
validate: (...args: any[]) => void;
|
|
2323
2323
|
}, string, {
|
|
2324
|
-
modelValue: FieldValues;
|
|
2325
2324
|
collapseDuration: number;
|
|
2326
2325
|
collapseTransition: boolean;
|
|
2327
2326
|
columns: PlusColumn[];
|
|
2328
2327
|
group: false | PlusFormGroupRow[];
|
|
2329
2328
|
layout: "grid" | "flex";
|
|
2329
|
+
modelValue: FieldValues;
|
|
2330
2330
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2331
2331
|
labelPosition: "top" | "right" | "left";
|
|
2332
2332
|
labelWidth: string | number;
|
|
@@ -2347,7 +2347,7 @@ export declare const PlusSearch: {
|
|
|
2347
2347
|
submitText: string;
|
|
2348
2348
|
resetText: string;
|
|
2349
2349
|
submitLoading: boolean;
|
|
2350
|
-
footerAlign: "
|
|
2350
|
+
footerAlign: "right" | "left" | "center";
|
|
2351
2351
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2352
2352
|
style?: CSSProperties | undefined;
|
|
2353
2353
|
class?: any;
|
|
@@ -2375,10 +2375,6 @@ export declare const PlusSearch: {
|
|
|
2375
2375
|
$nextTick: nextTick;
|
|
2376
2376
|
$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;
|
|
2377
2377
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2378
|
-
modelValue: {
|
|
2379
|
-
type: PropType<FieldValues>;
|
|
2380
|
-
default: () => {};
|
|
2381
|
-
};
|
|
2382
2378
|
collapseDuration: {
|
|
2383
2379
|
type: PropType<number>;
|
|
2384
2380
|
default: undefined;
|
|
@@ -2399,6 +2395,10 @@ export declare const PlusSearch: {
|
|
|
2399
2395
|
type: PropType<"grid" | "flex">;
|
|
2400
2396
|
default: undefined;
|
|
2401
2397
|
};
|
|
2398
|
+
modelValue: {
|
|
2399
|
+
type: PropType<FieldValues>;
|
|
2400
|
+
default: () => {};
|
|
2401
|
+
};
|
|
2402
2402
|
rules: {
|
|
2403
2403
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2404
2404
|
default: () => {};
|
|
@@ -2462,7 +2462,7 @@ export declare const PlusSearch: {
|
|
|
2462
2462
|
default: boolean;
|
|
2463
2463
|
};
|
|
2464
2464
|
footerAlign: {
|
|
2465
|
-
type: PropType<"
|
|
2465
|
+
type: PropType<"right" | "left" | "center">;
|
|
2466
2466
|
default: string;
|
|
2467
2467
|
};
|
|
2468
2468
|
cardProps: {
|
|
@@ -2481,10 +2481,10 @@ export declare const PlusSearch: {
|
|
|
2481
2481
|
default: boolean;
|
|
2482
2482
|
};
|
|
2483
2483
|
}>> & {
|
|
2484
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2485
2484
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2486
2485
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2487
2486
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2487
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2488
2488
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2489
2489
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2490
2490
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2504,14 +2504,14 @@ export declare const PlusSearch: {
|
|
|
2504
2504
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2505
2505
|
columns?: PlusColumn[] | undefined;
|
|
2506
2506
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2507
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2507
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2508
2508
|
readonly label: string | ComputedRef<string>;
|
|
2509
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2509
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2510
2510
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2511
|
-
readonly tooltip: string |
|
|
2511
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2512
2512
|
style?: CSSProperties | undefined;
|
|
2513
2513
|
class?: any;
|
|
2514
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2514
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2515
2515
|
style?: CSSProperties | undefined;
|
|
2516
2516
|
class?: any;
|
|
2517
2517
|
} & RecordType>>;
|
|
@@ -2578,12 +2578,12 @@ export declare const PlusSearch: {
|
|
|
2578
2578
|
fieldInstance?: any;
|
|
2579
2579
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2580
2580
|
prop: string;
|
|
2581
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2581
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2582
2582
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2583
|
-
tooltip: string |
|
|
2583
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2584
2584
|
style?: CSSProperties | undefined;
|
|
2585
2585
|
class?: any;
|
|
2586
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2586
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2587
2587
|
style?: CSSProperties | undefined;
|
|
2588
2588
|
class?: any;
|
|
2589
2589
|
} & RecordType>>;
|
|
@@ -2612,14 +2612,14 @@ export declare const PlusSearch: {
|
|
|
2612
2612
|
clearable: boolean;
|
|
2613
2613
|
index: number;
|
|
2614
2614
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2615
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2615
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2616
2616
|
readonly label: string | ComputedRef<string>;
|
|
2617
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2617
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2618
2618
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2619
|
-
readonly tooltip: string |
|
|
2619
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2620
2620
|
style?: CSSProperties | undefined;
|
|
2621
2621
|
class?: any;
|
|
2622
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2622
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2623
2623
|
style?: CSSProperties | undefined;
|
|
2624
2624
|
class?: any;
|
|
2625
2625
|
} & RecordType>>;
|
|
@@ -2686,12 +2686,12 @@ export declare const PlusSearch: {
|
|
|
2686
2686
|
fieldInstance?: any;
|
|
2687
2687
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2688
2688
|
prop: string;
|
|
2689
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2689
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2690
2690
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2691
|
-
tooltip: string |
|
|
2691
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2692
2692
|
style?: CSSProperties | undefined;
|
|
2693
2693
|
class?: any;
|
|
2694
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2694
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2695
2695
|
style?: CSSProperties | undefined;
|
|
2696
2696
|
class?: any;
|
|
2697
2697
|
} & RecordType>>;
|
|
@@ -2743,9 +2743,9 @@ export declare const PlusSearch: {
|
|
|
2743
2743
|
reset: (values: FieldValues) => void;
|
|
2744
2744
|
collapse: (isShowUnfold: boolean) => void;
|
|
2745
2745
|
}, string, {
|
|
2746
|
-
modelValue: FieldValues;
|
|
2747
2746
|
columns: PlusColumn[];
|
|
2748
2747
|
layout: "grid" | "flex";
|
|
2748
|
+
modelValue: FieldValues;
|
|
2749
2749
|
labelPosition: "top" | "right" | "left";
|
|
2750
2750
|
inline: boolean;
|
|
2751
2751
|
showNumber: number;
|
|
@@ -2772,14 +2772,14 @@ export declare const PlusSearch: {
|
|
|
2772
2772
|
resetIcon: Component | null;
|
|
2773
2773
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2774
2774
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2775
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2775
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2776
2776
|
readonly label: string | ComputedRef<string>;
|
|
2777
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2777
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2778
2778
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2779
|
-
readonly tooltip: string |
|
|
2779
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2780
2780
|
style?: CSSProperties | undefined;
|
|
2781
2781
|
class?: any;
|
|
2782
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2782
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2783
2783
|
style?: CSSProperties | undefined;
|
|
2784
2784
|
class?: any;
|
|
2785
2785
|
} & RecordType>>;
|
|
@@ -2846,12 +2846,12 @@ export declare const PlusSearch: {
|
|
|
2846
2846
|
fieldInstance?: any;
|
|
2847
2847
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2848
2848
|
prop: string;
|
|
2849
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2849
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2850
2850
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2851
|
-
tooltip: string |
|
|
2851
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2852
2852
|
style?: CSSProperties | undefined;
|
|
2853
2853
|
class?: any;
|
|
2854
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2854
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2855
2855
|
style?: CSSProperties | undefined;
|
|
2856
2856
|
class?: any;
|
|
2857
2857
|
} & RecordType>>;
|