yc-agent-ui 1.1.0 → 1.1.2
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/data-table/src/data-table-pagination.vue.d.ts +3 -3
- package/es/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
- package/es/components/data-table/src/data-table.vue.d.ts +3 -3
- package/es/components/display-item/index.d.ts +3 -3
- package/es/components/display-item/src/index.vue.d.ts +1 -1
- package/es/components/drawer-form/index.d.ts +6 -6
- package/es/components/drawer-form/src/index.vue.d.ts +2 -2
- package/es/components/form/index.d.ts +28 -28
- package/es/components/form/src/form-content.vue.d.ts +7 -7
- package/es/components/form/src/index.vue.d.ts +10 -10
- package/es/components/form-item/index.d.ts +31 -31
- package/es/components/form-item/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +725 -725
- package/es/components/page/src/index.vue.d.ts +242 -242
- package/es/components/search/index.d.ts +190 -190
- package/es/components/search/src/index.vue.d.ts +64 -64
- package/es/components/table/index.d.ts +18 -18
- package/es/components/table/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +10 -10
- package/es/components/virtual-table/index.d.ts +10 -10
- package/es/components/virtual-table/src/index.vue.d.ts +3 -3
- package/es/components/yc-coss-table/src/coss-table.vue.d.ts +2 -2
- package/es/components/yc-coss-table/src/table-head.vue.d.ts +1 -1
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-input/src/input.vue.d.ts +1 -1
- package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
- package/es/components/yc-plus-page/src/index.vue.d.ts +742 -742
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-property-table/src/bill-table.vue.d.ts +1 -1
- package/es/components/yc-property-table/src/property-table.vue.d.ts +3 -3
- package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +18 -18
- package/es/index.css +15 -15
- package/es/packages/components/chart/index.mjs +36 -36
- package/es/packages/components/utils/index.mjs +1 -1
- package/es/packages/components/yc-lens/capability.mjs +10 -2
- package/es/packages/registry/load.mjs +21 -5
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +5 -5
- package/index.js +64254 -62414
- package/index.min.css +5 -5
- package/index.min.js +39 -32
- package/index.min.mjs +33 -26
- package/index.mjs +64241 -62401
- package/lib/components/data-table/src/data-table-pagination.vue.d.ts +3 -3
- package/lib/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
- package/lib/components/data-table/src/data-table.vue.d.ts +3 -3
- package/lib/components/display-item/index.d.ts +3 -3
- package/lib/components/display-item/src/index.vue.d.ts +1 -1
- package/lib/components/drawer-form/index.d.ts +6 -6
- package/lib/components/drawer-form/src/index.vue.d.ts +2 -2
- package/lib/components/form/index.d.ts +28 -28
- package/lib/components/form/src/form-content.vue.d.ts +7 -7
- package/lib/components/form/src/index.vue.d.ts +10 -10
- package/lib/components/form-item/index.d.ts +31 -31
- package/lib/components/form-item/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +725 -725
- package/lib/components/page/src/index.vue.d.ts +242 -242
- package/lib/components/search/index.d.ts +190 -190
- package/lib/components/search/src/index.vue.d.ts +64 -64
- package/lib/components/table/index.d.ts +18 -18
- package/lib/components/table/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +10 -10
- package/lib/components/virtual-table/index.d.ts +10 -10
- package/lib/components/virtual-table/src/index.vue.d.ts +3 -3
- package/lib/components/yc-coss-table/src/coss-table.vue.d.ts +2 -2
- package/lib/components/yc-coss-table/src/table-head.vue.d.ts +1 -1
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-input/src/input.vue.d.ts +1 -1
- package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
- package/lib/components/yc-plus-page/src/index.vue.d.ts +742 -742
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-property-table/src/bill-table.vue.d.ts +1 -1
- package/lib/components/yc-property-table/src/property-table.vue.d.ts +3 -3
- package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +18 -18
- package/lib/index.css +14 -14
- package/lib/packages/components/yc-lens/capability.js +10 -2
- package/lib/packages/registry/load.js +21 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +5 -5
|
@@ -2,7 +2,7 @@ import { default as Search } from './src/index.vue';
|
|
|
2
2
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, ComputedRef, Component, PublicProps } from 'vue';
|
|
3
3
|
import { FieldValues, PlusColumn, Mutable, RecordType, PropsItemType, InputType, CascaderProps, OmitTypes, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow, PlusCardProps } from '../../types';
|
|
4
4
|
import { PlusFormGroupRow, ElementPlusFormProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from '../../agent-ui';
|
|
5
|
-
import {
|
|
5
|
+
import { RowProps, ColProps, CardProps, FormInstance, UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps } from 'element-plus';
|
|
6
6
|
import { OnCleanup } from '@vue/reactivity';
|
|
7
7
|
|
|
8
8
|
export type PlusSearchInstance = InstanceType<typeof Search>;
|
|
@@ -23,27 +23,26 @@ export declare const PlusSearch: {
|
|
|
23
23
|
layout: "grid" | "flex";
|
|
24
24
|
columns: PlusColumn[];
|
|
25
25
|
modelValue: FieldValues;
|
|
26
|
+
collapseDuration: number;
|
|
27
|
+
collapseTransition: boolean;
|
|
26
28
|
group: false | PlusFormGroupRow[];
|
|
27
|
-
clearable: boolean;
|
|
28
29
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
29
30
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
31
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
30
32
|
rules: ElementPlusFormProps["rules"];
|
|
31
|
-
|
|
33
|
+
defaultValues: FieldValues;
|
|
34
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
32
35
|
style?: CSSProperties;
|
|
33
36
|
class?: any;
|
|
34
37
|
} & RecordType>;
|
|
35
|
-
|
|
36
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
37
|
-
collapseDuration: number;
|
|
38
|
-
collapseTransition: boolean;
|
|
39
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
38
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
40
39
|
style?: CSSProperties;
|
|
41
40
|
class?: any;
|
|
42
41
|
} & RecordType>;
|
|
43
|
-
defaultValues: FieldValues;
|
|
44
42
|
hasErrorTip: boolean;
|
|
45
43
|
hasFooter: boolean;
|
|
46
44
|
hasReset: boolean;
|
|
45
|
+
hasLabel: boolean;
|
|
47
46
|
submitText: string;
|
|
48
47
|
resetText: string;
|
|
49
48
|
submitLoading: boolean;
|
|
@@ -53,14 +52,15 @@ export declare const PlusSearch: {
|
|
|
53
52
|
class?: any;
|
|
54
53
|
} & RecordType>;
|
|
55
54
|
prevent: boolean;
|
|
55
|
+
clearable: boolean;
|
|
56
56
|
}> & Omit<{
|
|
57
57
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
58
58
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
59
59
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
60
60
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
61
|
-
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
62
61
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
63
|
-
|
|
62
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
64
64
|
$attrs: Attrs;
|
|
65
65
|
$refs: {
|
|
66
66
|
[x: string]: unknown;
|
|
@@ -71,15 +71,15 @@ export declare const PlusSearch: {
|
|
|
71
71
|
$root: ComponentPublicInstance | null;
|
|
72
72
|
$parent: ComponentPublicInstance | null;
|
|
73
73
|
$host: Element | null;
|
|
74
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
74
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => void);
|
|
75
75
|
$el: any;
|
|
76
76
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
77
77
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
78
78
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
79
79
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
80
80
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
81
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
82
81
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
82
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
83
83
|
}>, {
|
|
84
84
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
85
85
|
handleSubmit: () => void;
|
|
@@ -96,27 +96,26 @@ export declare const PlusSearch: {
|
|
|
96
96
|
layout: "grid" | "flex";
|
|
97
97
|
columns: PlusColumn[];
|
|
98
98
|
modelValue: FieldValues;
|
|
99
|
+
collapseDuration: number;
|
|
100
|
+
collapseTransition: boolean;
|
|
99
101
|
group: false | PlusFormGroupRow[];
|
|
100
|
-
clearable: boolean;
|
|
101
102
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
102
103
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
104
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
103
105
|
rules: ElementPlusFormProps["rules"];
|
|
104
|
-
|
|
106
|
+
defaultValues: FieldValues;
|
|
107
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
105
108
|
style?: CSSProperties;
|
|
106
109
|
class?: any;
|
|
107
110
|
} & RecordType>;
|
|
108
|
-
|
|
109
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
110
|
-
collapseDuration: number;
|
|
111
|
-
collapseTransition: boolean;
|
|
112
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
111
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
113
112
|
style?: CSSProperties;
|
|
114
113
|
class?: any;
|
|
115
114
|
} & RecordType>;
|
|
116
|
-
defaultValues: FieldValues;
|
|
117
115
|
hasErrorTip: boolean;
|
|
118
116
|
hasFooter: boolean;
|
|
119
117
|
hasReset: boolean;
|
|
118
|
+
hasLabel: boolean;
|
|
120
119
|
submitText: string;
|
|
121
120
|
resetText: string;
|
|
122
121
|
submitLoading: boolean;
|
|
@@ -126,6 +125,7 @@ export declare const PlusSearch: {
|
|
|
126
125
|
class?: any;
|
|
127
126
|
} & RecordType>;
|
|
128
127
|
prevent: boolean;
|
|
128
|
+
clearable: boolean;
|
|
129
129
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
130
130
|
beforeCreate?: (() => void) | (() => void)[];
|
|
131
131
|
created?: (() => void) | (() => void)[];
|
|
@@ -151,27 +151,26 @@ export declare const PlusSearch: {
|
|
|
151
151
|
layout: "grid" | "flex";
|
|
152
152
|
columns: PlusColumn[];
|
|
153
153
|
modelValue: FieldValues;
|
|
154
|
+
collapseDuration: number;
|
|
155
|
+
collapseTransition: boolean;
|
|
154
156
|
group: false | PlusFormGroupRow[];
|
|
155
|
-
clearable: boolean;
|
|
156
157
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
157
158
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
159
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
158
160
|
rules: ElementPlusFormProps["rules"];
|
|
159
|
-
|
|
161
|
+
defaultValues: FieldValues;
|
|
162
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
160
163
|
style?: CSSProperties;
|
|
161
164
|
class?: any;
|
|
162
165
|
} & RecordType>;
|
|
163
|
-
|
|
164
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
165
|
-
collapseDuration: number;
|
|
166
|
-
collapseTransition: boolean;
|
|
167
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
166
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
168
167
|
style?: CSSProperties;
|
|
169
168
|
class?: any;
|
|
170
169
|
} & RecordType>;
|
|
171
|
-
defaultValues: FieldValues;
|
|
172
170
|
hasErrorTip: boolean;
|
|
173
171
|
hasFooter: boolean;
|
|
174
172
|
hasReset: boolean;
|
|
173
|
+
hasLabel: boolean;
|
|
175
174
|
submitText: string;
|
|
176
175
|
resetText: string;
|
|
177
176
|
submitLoading: boolean;
|
|
@@ -181,14 +180,15 @@ export declare const PlusSearch: {
|
|
|
181
180
|
class?: any;
|
|
182
181
|
} & RecordType>;
|
|
183
182
|
prevent: boolean;
|
|
183
|
+
clearable: boolean;
|
|
184
184
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
185
185
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
186
186
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
187
187
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
188
188
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
189
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
190
189
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
191
|
-
|
|
190
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
191
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
192
192
|
formInstance: FormInstance | null;
|
|
193
193
|
handleSubmit: () => void;
|
|
194
194
|
handleReset: () => void;
|
|
@@ -451,27 +451,26 @@ export declare const PlusSearch: {
|
|
|
451
451
|
layout: "grid" | "flex";
|
|
452
452
|
columns: PlusColumn[];
|
|
453
453
|
modelValue: FieldValues;
|
|
454
|
+
collapseDuration: number;
|
|
455
|
+
collapseTransition: boolean;
|
|
454
456
|
group: false | PlusFormGroupRow[];
|
|
455
|
-
clearable: boolean;
|
|
456
457
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
457
458
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
459
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
458
460
|
rules: ElementPlusFormProps["rules"];
|
|
459
|
-
|
|
461
|
+
defaultValues: FieldValues;
|
|
462
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
460
463
|
style?: CSSProperties;
|
|
461
464
|
class?: any;
|
|
462
465
|
} & RecordType>;
|
|
463
|
-
|
|
464
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
465
|
-
collapseDuration: number;
|
|
466
|
-
collapseTransition: boolean;
|
|
467
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
466
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
468
467
|
style?: CSSProperties;
|
|
469
468
|
class?: any;
|
|
470
469
|
} & RecordType>;
|
|
471
|
-
defaultValues: FieldValues;
|
|
472
470
|
hasErrorTip: boolean;
|
|
473
471
|
hasFooter: boolean;
|
|
474
472
|
hasReset: boolean;
|
|
473
|
+
hasLabel: boolean;
|
|
475
474
|
submitText: string;
|
|
476
475
|
resetText: string;
|
|
477
476
|
submitLoading: boolean;
|
|
@@ -481,14 +480,15 @@ export declare const PlusSearch: {
|
|
|
481
480
|
class?: any;
|
|
482
481
|
} & RecordType>;
|
|
483
482
|
prevent: boolean;
|
|
483
|
+
clearable: boolean;
|
|
484
484
|
}> & Omit<{
|
|
485
485
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
486
486
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
487
487
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
488
488
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
489
|
-
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
490
489
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
491
|
-
|
|
490
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
491
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
492
492
|
$attrs: Attrs;
|
|
493
493
|
$refs: {
|
|
494
494
|
[x: string]: unknown;
|
|
@@ -499,15 +499,15 @@ export declare const PlusSearch: {
|
|
|
499
499
|
$root: ComponentPublicInstance | null;
|
|
500
500
|
$parent: ComponentPublicInstance | null;
|
|
501
501
|
$host: Element | null;
|
|
502
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
502
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => void);
|
|
503
503
|
$el: any;
|
|
504
504
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
505
505
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
506
506
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
507
507
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
508
508
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
509
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
510
509
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
510
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
511
511
|
}>, {
|
|
512
512
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
513
513
|
handleSubmit: () => void;
|
|
@@ -524,27 +524,26 @@ export declare const PlusSearch: {
|
|
|
524
524
|
layout: "grid" | "flex";
|
|
525
525
|
columns: PlusColumn[];
|
|
526
526
|
modelValue: FieldValues;
|
|
527
|
+
collapseDuration: number;
|
|
528
|
+
collapseTransition: boolean;
|
|
527
529
|
group: false | PlusFormGroupRow[];
|
|
528
|
-
clearable: boolean;
|
|
529
530
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
530
531
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
532
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
531
533
|
rules: ElementPlusFormProps["rules"];
|
|
532
|
-
|
|
534
|
+
defaultValues: FieldValues;
|
|
535
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
533
536
|
style?: CSSProperties;
|
|
534
537
|
class?: any;
|
|
535
538
|
} & RecordType>;
|
|
536
|
-
|
|
537
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
538
|
-
collapseDuration: number;
|
|
539
|
-
collapseTransition: boolean;
|
|
540
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
539
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
541
540
|
style?: CSSProperties;
|
|
542
541
|
class?: any;
|
|
543
542
|
} & RecordType>;
|
|
544
|
-
defaultValues: FieldValues;
|
|
545
543
|
hasErrorTip: boolean;
|
|
546
544
|
hasFooter: boolean;
|
|
547
545
|
hasReset: boolean;
|
|
546
|
+
hasLabel: boolean;
|
|
548
547
|
submitText: string;
|
|
549
548
|
resetText: string;
|
|
550
549
|
submitLoading: boolean;
|
|
@@ -554,6 +553,7 @@ export declare const PlusSearch: {
|
|
|
554
553
|
class?: any;
|
|
555
554
|
} & RecordType>;
|
|
556
555
|
prevent: boolean;
|
|
556
|
+
clearable: boolean;
|
|
557
557
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
558
558
|
beforeCreate?: (() => void) | (() => void)[];
|
|
559
559
|
created?: (() => void) | (() => void)[];
|
|
@@ -579,27 +579,26 @@ export declare const PlusSearch: {
|
|
|
579
579
|
layout: "grid" | "flex";
|
|
580
580
|
columns: PlusColumn[];
|
|
581
581
|
modelValue: FieldValues;
|
|
582
|
+
collapseDuration: number;
|
|
583
|
+
collapseTransition: boolean;
|
|
582
584
|
group: false | PlusFormGroupRow[];
|
|
583
|
-
clearable: boolean;
|
|
584
585
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
585
586
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
587
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
586
588
|
rules: ElementPlusFormProps["rules"];
|
|
587
|
-
|
|
589
|
+
defaultValues: FieldValues;
|
|
590
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
588
591
|
style?: CSSProperties;
|
|
589
592
|
class?: any;
|
|
590
593
|
} & RecordType>;
|
|
591
|
-
|
|
592
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
593
|
-
collapseDuration: number;
|
|
594
|
-
collapseTransition: boolean;
|
|
595
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
594
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
596
595
|
style?: CSSProperties;
|
|
597
596
|
class?: any;
|
|
598
597
|
} & RecordType>;
|
|
599
|
-
defaultValues: FieldValues;
|
|
600
598
|
hasErrorTip: boolean;
|
|
601
599
|
hasFooter: boolean;
|
|
602
600
|
hasReset: boolean;
|
|
601
|
+
hasLabel: boolean;
|
|
603
602
|
submitText: string;
|
|
604
603
|
resetText: string;
|
|
605
604
|
submitLoading: boolean;
|
|
@@ -609,14 +608,15 @@ export declare const PlusSearch: {
|
|
|
609
608
|
class?: any;
|
|
610
609
|
} & RecordType>;
|
|
611
610
|
prevent: boolean;
|
|
611
|
+
clearable: boolean;
|
|
612
612
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
613
613
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
614
614
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
615
615
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
616
616
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
617
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
618
617
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
619
|
-
|
|
618
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
619
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
620
620
|
formInstance: FormInstance | null;
|
|
621
621
|
handleSubmit: () => void;
|
|
622
622
|
handleReset: () => void;
|
|
@@ -888,15 +888,15 @@ export declare const PlusSearch: {
|
|
|
888
888
|
columns: PlusColumn[];
|
|
889
889
|
modelValue: FieldValues;
|
|
890
890
|
labelPosition: "left" | "right" | "top";
|
|
891
|
-
|
|
891
|
+
defaultValues: FieldValues;
|
|
892
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
892
893
|
style?: CSSProperties;
|
|
893
894
|
class?: any;
|
|
894
895
|
} & RecordType>;
|
|
895
|
-
|
|
896
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
896
897
|
style?: CSSProperties;
|
|
897
898
|
class?: any;
|
|
898
899
|
} & RecordType>;
|
|
899
|
-
defaultValues: FieldValues;
|
|
900
900
|
hasFooter: boolean;
|
|
901
901
|
hasReset: boolean;
|
|
902
902
|
resetText: string;
|
|
@@ -932,27 +932,26 @@ export declare const PlusSearch: {
|
|
|
932
932
|
layout: "grid" | "flex";
|
|
933
933
|
columns: PlusColumn[];
|
|
934
934
|
modelValue: FieldValues;
|
|
935
|
+
collapseDuration: number;
|
|
936
|
+
collapseTransition: boolean;
|
|
935
937
|
group: false | PlusFormGroupRow[];
|
|
936
|
-
clearable: boolean;
|
|
937
938
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
938
939
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
940
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
939
941
|
rules: ElementPlusFormProps["rules"];
|
|
940
|
-
|
|
942
|
+
defaultValues: FieldValues;
|
|
943
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
941
944
|
style?: CSSProperties;
|
|
942
945
|
class?: any;
|
|
943
946
|
} & RecordType>;
|
|
944
|
-
|
|
945
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
946
|
-
collapseDuration: number;
|
|
947
|
-
collapseTransition: boolean;
|
|
948
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
947
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
949
948
|
style?: CSSProperties;
|
|
950
949
|
class?: any;
|
|
951
950
|
} & RecordType>;
|
|
952
|
-
defaultValues: FieldValues;
|
|
953
951
|
hasErrorTip: boolean;
|
|
954
952
|
hasFooter: boolean;
|
|
955
953
|
hasReset: boolean;
|
|
954
|
+
hasLabel: boolean;
|
|
956
955
|
submitText: string;
|
|
957
956
|
resetText: string;
|
|
958
957
|
submitLoading: boolean;
|
|
@@ -962,14 +961,15 @@ export declare const PlusSearch: {
|
|
|
962
961
|
class?: any;
|
|
963
962
|
} & RecordType>;
|
|
964
963
|
prevent: boolean;
|
|
964
|
+
clearable: boolean;
|
|
965
965
|
}> & Omit<{
|
|
966
966
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
967
967
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
968
968
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
969
969
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
970
|
-
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
971
970
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
972
|
-
|
|
971
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
972
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
973
973
|
$attrs: Attrs;
|
|
974
974
|
$refs: {
|
|
975
975
|
[x: string]: unknown;
|
|
@@ -980,15 +980,15 @@ export declare const PlusSearch: {
|
|
|
980
980
|
$root: ComponentPublicInstance | null;
|
|
981
981
|
$parent: ComponentPublicInstance | null;
|
|
982
982
|
$host: Element | null;
|
|
983
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
983
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => void);
|
|
984
984
|
$el: any;
|
|
985
985
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
986
986
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
987
987
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
988
988
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
989
989
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
990
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
991
990
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
991
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
992
992
|
}>, {
|
|
993
993
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
994
994
|
handleSubmit: () => void;
|
|
@@ -1005,27 +1005,26 @@ export declare const PlusSearch: {
|
|
|
1005
1005
|
layout: "grid" | "flex";
|
|
1006
1006
|
columns: PlusColumn[];
|
|
1007
1007
|
modelValue: FieldValues;
|
|
1008
|
+
collapseDuration: number;
|
|
1009
|
+
collapseTransition: boolean;
|
|
1008
1010
|
group: false | PlusFormGroupRow[];
|
|
1009
|
-
clearable: boolean;
|
|
1010
1011
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1011
1012
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1013
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1012
1014
|
rules: ElementPlusFormProps["rules"];
|
|
1013
|
-
|
|
1015
|
+
defaultValues: FieldValues;
|
|
1016
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1014
1017
|
style?: CSSProperties;
|
|
1015
1018
|
class?: any;
|
|
1016
1019
|
} & RecordType>;
|
|
1017
|
-
|
|
1018
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1019
|
-
collapseDuration: number;
|
|
1020
|
-
collapseTransition: boolean;
|
|
1021
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1020
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1022
1021
|
style?: CSSProperties;
|
|
1023
1022
|
class?: any;
|
|
1024
1023
|
} & RecordType>;
|
|
1025
|
-
defaultValues: FieldValues;
|
|
1026
1024
|
hasErrorTip: boolean;
|
|
1027
1025
|
hasFooter: boolean;
|
|
1028
1026
|
hasReset: boolean;
|
|
1027
|
+
hasLabel: boolean;
|
|
1029
1028
|
submitText: string;
|
|
1030
1029
|
resetText: string;
|
|
1031
1030
|
submitLoading: boolean;
|
|
@@ -1035,6 +1034,7 @@ export declare const PlusSearch: {
|
|
|
1035
1034
|
class?: any;
|
|
1036
1035
|
} & RecordType>;
|
|
1037
1036
|
prevent: boolean;
|
|
1037
|
+
clearable: boolean;
|
|
1038
1038
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1039
1039
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1040
1040
|
created?: (() => void) | (() => void)[];
|
|
@@ -1060,27 +1060,26 @@ export declare const PlusSearch: {
|
|
|
1060
1060
|
layout: "grid" | "flex";
|
|
1061
1061
|
columns: PlusColumn[];
|
|
1062
1062
|
modelValue: FieldValues;
|
|
1063
|
+
collapseDuration: number;
|
|
1064
|
+
collapseTransition: boolean;
|
|
1063
1065
|
group: false | PlusFormGroupRow[];
|
|
1064
|
-
clearable: boolean;
|
|
1065
1066
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1066
1067
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1068
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1067
1069
|
rules: ElementPlusFormProps["rules"];
|
|
1068
|
-
|
|
1070
|
+
defaultValues: FieldValues;
|
|
1071
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1069
1072
|
style?: CSSProperties;
|
|
1070
1073
|
class?: any;
|
|
1071
1074
|
} & RecordType>;
|
|
1072
|
-
|
|
1073
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1074
|
-
collapseDuration: number;
|
|
1075
|
-
collapseTransition: boolean;
|
|
1076
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1075
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1077
1076
|
style?: CSSProperties;
|
|
1078
1077
|
class?: any;
|
|
1079
1078
|
} & RecordType>;
|
|
1080
|
-
defaultValues: FieldValues;
|
|
1081
1079
|
hasErrorTip: boolean;
|
|
1082
1080
|
hasFooter: boolean;
|
|
1083
1081
|
hasReset: boolean;
|
|
1082
|
+
hasLabel: boolean;
|
|
1084
1083
|
submitText: string;
|
|
1085
1084
|
resetText: string;
|
|
1086
1085
|
submitLoading: boolean;
|
|
@@ -1090,14 +1089,15 @@ export declare const PlusSearch: {
|
|
|
1090
1089
|
class?: any;
|
|
1091
1090
|
} & RecordType>;
|
|
1092
1091
|
prevent: boolean;
|
|
1092
|
+
clearable: boolean;
|
|
1093
1093
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
1094
1094
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1095
1095
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1096
1096
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1097
1097
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1098
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1099
1098
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1100
|
-
|
|
1099
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1100
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
1101
1101
|
formInstance: FormInstance | null;
|
|
1102
1102
|
handleSubmit: () => void;
|
|
1103
1103
|
handleReset: () => void;
|
|
@@ -1360,27 +1360,26 @@ export declare const PlusSearch: {
|
|
|
1360
1360
|
layout: "grid" | "flex";
|
|
1361
1361
|
columns: PlusColumn[];
|
|
1362
1362
|
modelValue: FieldValues;
|
|
1363
|
+
collapseDuration: number;
|
|
1364
|
+
collapseTransition: boolean;
|
|
1363
1365
|
group: false | PlusFormGroupRow[];
|
|
1364
|
-
clearable: boolean;
|
|
1365
1366
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1366
1367
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1368
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1367
1369
|
rules: ElementPlusFormProps["rules"];
|
|
1368
|
-
|
|
1370
|
+
defaultValues: FieldValues;
|
|
1371
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1369
1372
|
style?: CSSProperties;
|
|
1370
1373
|
class?: any;
|
|
1371
1374
|
} & RecordType>;
|
|
1372
|
-
|
|
1373
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1374
|
-
collapseDuration: number;
|
|
1375
|
-
collapseTransition: boolean;
|
|
1376
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1375
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1377
1376
|
style?: CSSProperties;
|
|
1378
1377
|
class?: any;
|
|
1379
1378
|
} & RecordType>;
|
|
1380
|
-
defaultValues: FieldValues;
|
|
1381
1379
|
hasErrorTip: boolean;
|
|
1382
1380
|
hasFooter: boolean;
|
|
1383
1381
|
hasReset: boolean;
|
|
1382
|
+
hasLabel: boolean;
|
|
1384
1383
|
submitText: string;
|
|
1385
1384
|
resetText: string;
|
|
1386
1385
|
submitLoading: boolean;
|
|
@@ -1390,14 +1389,15 @@ export declare const PlusSearch: {
|
|
|
1390
1389
|
class?: any;
|
|
1391
1390
|
} & RecordType>;
|
|
1392
1391
|
prevent: boolean;
|
|
1392
|
+
clearable: boolean;
|
|
1393
1393
|
}> & Omit<{
|
|
1394
1394
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1395
1395
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
1396
1396
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1397
1397
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1398
|
-
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1399
1398
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1400
|
-
|
|
1399
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1400
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1401
1401
|
$attrs: Attrs;
|
|
1402
1402
|
$refs: {
|
|
1403
1403
|
[x: string]: unknown;
|
|
@@ -1408,15 +1408,15 @@ export declare const PlusSearch: {
|
|
|
1408
1408
|
$root: ComponentPublicInstance | null;
|
|
1409
1409
|
$parent: ComponentPublicInstance | null;
|
|
1410
1410
|
$host: Element | null;
|
|
1411
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
1411
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => void);
|
|
1412
1412
|
$el: any;
|
|
1413
1413
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
1414
1414
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1415
1415
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1416
1416
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1417
1417
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1418
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1419
1418
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1419
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1420
1420
|
}>, {
|
|
1421
1421
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
1422
1422
|
handleSubmit: () => void;
|
|
@@ -1433,27 +1433,26 @@ export declare const PlusSearch: {
|
|
|
1433
1433
|
layout: "grid" | "flex";
|
|
1434
1434
|
columns: PlusColumn[];
|
|
1435
1435
|
modelValue: FieldValues;
|
|
1436
|
+
collapseDuration: number;
|
|
1437
|
+
collapseTransition: boolean;
|
|
1436
1438
|
group: false | PlusFormGroupRow[];
|
|
1437
|
-
clearable: boolean;
|
|
1438
1439
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1439
1440
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1441
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1440
1442
|
rules: ElementPlusFormProps["rules"];
|
|
1441
|
-
|
|
1443
|
+
defaultValues: FieldValues;
|
|
1444
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1442
1445
|
style?: CSSProperties;
|
|
1443
1446
|
class?: any;
|
|
1444
1447
|
} & RecordType>;
|
|
1445
|
-
|
|
1446
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1447
|
-
collapseDuration: number;
|
|
1448
|
-
collapseTransition: boolean;
|
|
1449
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1448
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1450
1449
|
style?: CSSProperties;
|
|
1451
1450
|
class?: any;
|
|
1452
1451
|
} & RecordType>;
|
|
1453
|
-
defaultValues: FieldValues;
|
|
1454
1452
|
hasErrorTip: boolean;
|
|
1455
1453
|
hasFooter: boolean;
|
|
1456
1454
|
hasReset: boolean;
|
|
1455
|
+
hasLabel: boolean;
|
|
1457
1456
|
submitText: string;
|
|
1458
1457
|
resetText: string;
|
|
1459
1458
|
submitLoading: boolean;
|
|
@@ -1463,6 +1462,7 @@ export declare const PlusSearch: {
|
|
|
1463
1462
|
class?: any;
|
|
1464
1463
|
} & RecordType>;
|
|
1465
1464
|
prevent: boolean;
|
|
1465
|
+
clearable: boolean;
|
|
1466
1466
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1467
1467
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1468
1468
|
created?: (() => void) | (() => void)[];
|
|
@@ -1488,27 +1488,26 @@ export declare const PlusSearch: {
|
|
|
1488
1488
|
layout: "grid" | "flex";
|
|
1489
1489
|
columns: PlusColumn[];
|
|
1490
1490
|
modelValue: FieldValues;
|
|
1491
|
+
collapseDuration: number;
|
|
1492
|
+
collapseTransition: boolean;
|
|
1491
1493
|
group: false | PlusFormGroupRow[];
|
|
1492
|
-
clearable: boolean;
|
|
1493
1494
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1494
1495
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1496
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1495
1497
|
rules: ElementPlusFormProps["rules"];
|
|
1496
|
-
|
|
1498
|
+
defaultValues: FieldValues;
|
|
1499
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1497
1500
|
style?: CSSProperties;
|
|
1498
1501
|
class?: any;
|
|
1499
1502
|
} & RecordType>;
|
|
1500
|
-
|
|
1501
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1502
|
-
collapseDuration: number;
|
|
1503
|
-
collapseTransition: boolean;
|
|
1504
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1503
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1505
1504
|
style?: CSSProperties;
|
|
1506
1505
|
class?: any;
|
|
1507
1506
|
} & RecordType>;
|
|
1508
|
-
defaultValues: FieldValues;
|
|
1509
1507
|
hasErrorTip: boolean;
|
|
1510
1508
|
hasFooter: boolean;
|
|
1511
1509
|
hasReset: boolean;
|
|
1510
|
+
hasLabel: boolean;
|
|
1512
1511
|
submitText: string;
|
|
1513
1512
|
resetText: string;
|
|
1514
1513
|
submitLoading: boolean;
|
|
@@ -1518,14 +1517,15 @@ export declare const PlusSearch: {
|
|
|
1518
1517
|
class?: any;
|
|
1519
1518
|
} & RecordType>;
|
|
1520
1519
|
prevent: boolean;
|
|
1520
|
+
clearable: boolean;
|
|
1521
1521
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
1522
1522
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1523
1523
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1524
1524
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1525
1525
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1526
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1527
1526
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1528
|
-
|
|
1527
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1528
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
1529
1529
|
formInstance: FormInstance | null;
|
|
1530
1530
|
handleSubmit: () => void;
|
|
1531
1531
|
handleReset: () => void;
|
|
@@ -1791,15 +1791,15 @@ export declare const PlusSearch: {
|
|
|
1791
1791
|
columns: PlusColumn[];
|
|
1792
1792
|
modelValue: FieldValues;
|
|
1793
1793
|
labelPosition: "left" | "right" | "top";
|
|
1794
|
-
|
|
1794
|
+
defaultValues: FieldValues;
|
|
1795
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1795
1796
|
style?: CSSProperties;
|
|
1796
1797
|
class?: any;
|
|
1797
1798
|
} & RecordType>;
|
|
1798
|
-
|
|
1799
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1799
1800
|
style?: CSSProperties;
|
|
1800
1801
|
class?: any;
|
|
1801
1802
|
} & RecordType>;
|
|
1802
|
-
defaultValues: FieldValues;
|
|
1803
1803
|
hasFooter: boolean;
|
|
1804
1804
|
hasReset: boolean;
|
|
1805
1805
|
resetText: string;
|
|
@@ -1832,27 +1832,26 @@ export declare const PlusSearch: {
|
|
|
1832
1832
|
layout: "grid" | "flex";
|
|
1833
1833
|
columns: PlusColumn[];
|
|
1834
1834
|
modelValue: FieldValues;
|
|
1835
|
+
collapseDuration: number;
|
|
1836
|
+
collapseTransition: boolean;
|
|
1835
1837
|
group: false | PlusFormGroupRow[];
|
|
1836
|
-
clearable: boolean;
|
|
1837
1838
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1838
1839
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1840
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1839
1841
|
rules: ElementPlusFormProps["rules"];
|
|
1840
|
-
|
|
1842
|
+
defaultValues: FieldValues;
|
|
1843
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1841
1844
|
style?: CSSProperties;
|
|
1842
1845
|
class?: any;
|
|
1843
1846
|
} & RecordType>;
|
|
1844
|
-
|
|
1845
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1846
|
-
collapseDuration: number;
|
|
1847
|
-
collapseTransition: boolean;
|
|
1848
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1847
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1849
1848
|
style?: CSSProperties;
|
|
1850
1849
|
class?: any;
|
|
1851
1850
|
} & RecordType>;
|
|
1852
|
-
defaultValues: FieldValues;
|
|
1853
1851
|
hasErrorTip: boolean;
|
|
1854
1852
|
hasFooter: boolean;
|
|
1855
1853
|
hasReset: boolean;
|
|
1854
|
+
hasLabel: boolean;
|
|
1856
1855
|
submitText: string;
|
|
1857
1856
|
resetText: string;
|
|
1858
1857
|
submitLoading: boolean;
|
|
@@ -1862,14 +1861,15 @@ export declare const PlusSearch: {
|
|
|
1862
1861
|
class?: any;
|
|
1863
1862
|
} & RecordType>;
|
|
1864
1863
|
prevent: boolean;
|
|
1864
|
+
clearable: boolean;
|
|
1865
1865
|
}> & Omit<{
|
|
1866
1866
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1867
1867
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
1868
1868
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1869
1869
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1870
|
-
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1871
1870
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1872
|
-
|
|
1871
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1872
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1873
1873
|
$attrs: Attrs;
|
|
1874
1874
|
$refs: {
|
|
1875
1875
|
[x: string]: unknown;
|
|
@@ -1880,15 +1880,15 @@ export declare const PlusSearch: {
|
|
|
1880
1880
|
$root: ComponentPublicInstance | null;
|
|
1881
1881
|
$parent: ComponentPublicInstance | null;
|
|
1882
1882
|
$host: Element | null;
|
|
1883
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
1883
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => void);
|
|
1884
1884
|
$el: any;
|
|
1885
1885
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
1886
1886
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1887
1887
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1888
1888
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1889
1889
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1890
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1891
1890
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1891
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1892
1892
|
}>, {
|
|
1893
1893
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
1894
1894
|
handleSubmit: () => void;
|
|
@@ -1905,27 +1905,26 @@ export declare const PlusSearch: {
|
|
|
1905
1905
|
layout: "grid" | "flex";
|
|
1906
1906
|
columns: PlusColumn[];
|
|
1907
1907
|
modelValue: FieldValues;
|
|
1908
|
+
collapseDuration: number;
|
|
1909
|
+
collapseTransition: boolean;
|
|
1908
1910
|
group: false | PlusFormGroupRow[];
|
|
1909
|
-
clearable: boolean;
|
|
1910
1911
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1911
1912
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1913
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1912
1914
|
rules: ElementPlusFormProps["rules"];
|
|
1913
|
-
|
|
1915
|
+
defaultValues: FieldValues;
|
|
1916
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1914
1917
|
style?: CSSProperties;
|
|
1915
1918
|
class?: any;
|
|
1916
1919
|
} & RecordType>;
|
|
1917
|
-
|
|
1918
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1919
|
-
collapseDuration: number;
|
|
1920
|
-
collapseTransition: boolean;
|
|
1921
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1920
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1922
1921
|
style?: CSSProperties;
|
|
1923
1922
|
class?: any;
|
|
1924
1923
|
} & RecordType>;
|
|
1925
|
-
defaultValues: FieldValues;
|
|
1926
1924
|
hasErrorTip: boolean;
|
|
1927
1925
|
hasFooter: boolean;
|
|
1928
1926
|
hasReset: boolean;
|
|
1927
|
+
hasLabel: boolean;
|
|
1929
1928
|
submitText: string;
|
|
1930
1929
|
resetText: string;
|
|
1931
1930
|
submitLoading: boolean;
|
|
@@ -1935,6 +1934,7 @@ export declare const PlusSearch: {
|
|
|
1935
1934
|
class?: any;
|
|
1936
1935
|
} & RecordType>;
|
|
1937
1936
|
prevent: boolean;
|
|
1937
|
+
clearable: boolean;
|
|
1938
1938
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1939
1939
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1940
1940
|
created?: (() => void) | (() => void)[];
|
|
@@ -1960,27 +1960,26 @@ export declare const PlusSearch: {
|
|
|
1960
1960
|
layout: "grid" | "flex";
|
|
1961
1961
|
columns: PlusColumn[];
|
|
1962
1962
|
modelValue: FieldValues;
|
|
1963
|
+
collapseDuration: number;
|
|
1964
|
+
collapseTransition: boolean;
|
|
1963
1965
|
group: false | PlusFormGroupRow[];
|
|
1964
|
-
clearable: boolean;
|
|
1965
1966
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1966
1967
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1968
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1967
1969
|
rules: ElementPlusFormProps["rules"];
|
|
1968
|
-
|
|
1970
|
+
defaultValues: FieldValues;
|
|
1971
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1969
1972
|
style?: CSSProperties;
|
|
1970
1973
|
class?: any;
|
|
1971
1974
|
} & RecordType>;
|
|
1972
|
-
|
|
1973
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1974
|
-
collapseDuration: number;
|
|
1975
|
-
collapseTransition: boolean;
|
|
1976
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1975
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1977
1976
|
style?: CSSProperties;
|
|
1978
1977
|
class?: any;
|
|
1979
1978
|
} & RecordType>;
|
|
1980
|
-
defaultValues: FieldValues;
|
|
1981
1979
|
hasErrorTip: boolean;
|
|
1982
1980
|
hasFooter: boolean;
|
|
1983
1981
|
hasReset: boolean;
|
|
1982
|
+
hasLabel: boolean;
|
|
1984
1983
|
submitText: string;
|
|
1985
1984
|
resetText: string;
|
|
1986
1985
|
submitLoading: boolean;
|
|
@@ -1990,14 +1989,15 @@ export declare const PlusSearch: {
|
|
|
1990
1989
|
class?: any;
|
|
1991
1990
|
} & RecordType>;
|
|
1992
1991
|
prevent: boolean;
|
|
1992
|
+
clearable: boolean;
|
|
1993
1993
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
1994
1994
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1995
1995
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1996
1996
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1997
1997
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1998
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1999
1998
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2000
|
-
|
|
1999
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2000
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
2001
2001
|
formInstance: FormInstance | null;
|
|
2002
2002
|
handleSubmit: () => void;
|
|
2003
2003
|
handleReset: () => void;
|
|
@@ -2257,27 +2257,26 @@ export declare const PlusSearch: {
|
|
|
2257
2257
|
layout: "grid" | "flex";
|
|
2258
2258
|
columns: PlusColumn[];
|
|
2259
2259
|
modelValue: FieldValues;
|
|
2260
|
+
collapseDuration: number;
|
|
2261
|
+
collapseTransition: boolean;
|
|
2260
2262
|
group: false | PlusFormGroupRow[];
|
|
2261
|
-
clearable: boolean;
|
|
2262
2263
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2263
2264
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2265
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2264
2266
|
rules: ElementPlusFormProps["rules"];
|
|
2265
|
-
|
|
2267
|
+
defaultValues: FieldValues;
|
|
2268
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2266
2269
|
style?: CSSProperties;
|
|
2267
2270
|
class?: any;
|
|
2268
2271
|
} & RecordType>;
|
|
2269
|
-
|
|
2270
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2271
|
-
collapseDuration: number;
|
|
2272
|
-
collapseTransition: boolean;
|
|
2273
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2272
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2274
2273
|
style?: CSSProperties;
|
|
2275
2274
|
class?: any;
|
|
2276
2275
|
} & RecordType>;
|
|
2277
|
-
defaultValues: FieldValues;
|
|
2278
2276
|
hasErrorTip: boolean;
|
|
2279
2277
|
hasFooter: boolean;
|
|
2280
2278
|
hasReset: boolean;
|
|
2279
|
+
hasLabel: boolean;
|
|
2281
2280
|
submitText: string;
|
|
2282
2281
|
resetText: string;
|
|
2283
2282
|
submitLoading: boolean;
|
|
@@ -2287,14 +2286,15 @@ export declare const PlusSearch: {
|
|
|
2287
2286
|
class?: any;
|
|
2288
2287
|
} & RecordType>;
|
|
2289
2288
|
prevent: boolean;
|
|
2289
|
+
clearable: boolean;
|
|
2290
2290
|
}> & Omit<{
|
|
2291
2291
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2292
2292
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
2293
2293
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2294
2294
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2295
|
-
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
2296
2295
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2297
|
-
|
|
2296
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
2297
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2298
2298
|
$attrs: Attrs;
|
|
2299
2299
|
$refs: {
|
|
2300
2300
|
[x: string]: unknown;
|
|
@@ -2305,15 +2305,15 @@ export declare const PlusSearch: {
|
|
|
2305
2305
|
$root: ComponentPublicInstance | null;
|
|
2306
2306
|
$parent: ComponentPublicInstance | null;
|
|
2307
2307
|
$host: Element | null;
|
|
2308
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
2308
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => void);
|
|
2309
2309
|
$el: any;
|
|
2310
2310
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
2311
2311
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2312
2312
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2313
2313
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2314
2314
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2315
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2316
2315
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2316
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2317
2317
|
}>, {
|
|
2318
2318
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
2319
2319
|
handleSubmit: () => void;
|
|
@@ -2330,27 +2330,26 @@ export declare const PlusSearch: {
|
|
|
2330
2330
|
layout: "grid" | "flex";
|
|
2331
2331
|
columns: PlusColumn[];
|
|
2332
2332
|
modelValue: FieldValues;
|
|
2333
|
+
collapseDuration: number;
|
|
2334
|
+
collapseTransition: boolean;
|
|
2333
2335
|
group: false | PlusFormGroupRow[];
|
|
2334
|
-
clearable: boolean;
|
|
2335
2336
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2336
2337
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2338
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2337
2339
|
rules: ElementPlusFormProps["rules"];
|
|
2338
|
-
|
|
2340
|
+
defaultValues: FieldValues;
|
|
2341
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2339
2342
|
style?: CSSProperties;
|
|
2340
2343
|
class?: any;
|
|
2341
2344
|
} & RecordType>;
|
|
2342
|
-
|
|
2343
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2344
|
-
collapseDuration: number;
|
|
2345
|
-
collapseTransition: boolean;
|
|
2346
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2345
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2347
2346
|
style?: CSSProperties;
|
|
2348
2347
|
class?: any;
|
|
2349
2348
|
} & RecordType>;
|
|
2350
|
-
defaultValues: FieldValues;
|
|
2351
2349
|
hasErrorTip: boolean;
|
|
2352
2350
|
hasFooter: boolean;
|
|
2353
2351
|
hasReset: boolean;
|
|
2352
|
+
hasLabel: boolean;
|
|
2354
2353
|
submitText: string;
|
|
2355
2354
|
resetText: string;
|
|
2356
2355
|
submitLoading: boolean;
|
|
@@ -2360,6 +2359,7 @@ export declare const PlusSearch: {
|
|
|
2360
2359
|
class?: any;
|
|
2361
2360
|
} & RecordType>;
|
|
2362
2361
|
prevent: boolean;
|
|
2362
|
+
clearable: boolean;
|
|
2363
2363
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2364
2364
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2365
2365
|
created?: (() => void) | (() => void)[];
|
|
@@ -2385,27 +2385,26 @@ export declare const PlusSearch: {
|
|
|
2385
2385
|
layout: "grid" | "flex";
|
|
2386
2386
|
columns: PlusColumn[];
|
|
2387
2387
|
modelValue: FieldValues;
|
|
2388
|
+
collapseDuration: number;
|
|
2389
|
+
collapseTransition: boolean;
|
|
2388
2390
|
group: false | PlusFormGroupRow[];
|
|
2389
|
-
clearable: boolean;
|
|
2390
2391
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2391
2392
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2393
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2392
2394
|
rules: ElementPlusFormProps["rules"];
|
|
2393
|
-
|
|
2395
|
+
defaultValues: FieldValues;
|
|
2396
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2394
2397
|
style?: CSSProperties;
|
|
2395
2398
|
class?: any;
|
|
2396
2399
|
} & RecordType>;
|
|
2397
|
-
|
|
2398
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2399
|
-
collapseDuration: number;
|
|
2400
|
-
collapseTransition: boolean;
|
|
2401
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2400
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2402
2401
|
style?: CSSProperties;
|
|
2403
2402
|
class?: any;
|
|
2404
2403
|
} & RecordType>;
|
|
2405
|
-
defaultValues: FieldValues;
|
|
2406
2404
|
hasErrorTip: boolean;
|
|
2407
2405
|
hasFooter: boolean;
|
|
2408
2406
|
hasReset: boolean;
|
|
2407
|
+
hasLabel: boolean;
|
|
2409
2408
|
submitText: string;
|
|
2410
2409
|
resetText: string;
|
|
2411
2410
|
submitLoading: boolean;
|
|
@@ -2415,14 +2414,15 @@ export declare const PlusSearch: {
|
|
|
2415
2414
|
class?: any;
|
|
2416
2415
|
} & RecordType>;
|
|
2417
2416
|
prevent: boolean;
|
|
2417
|
+
clearable: boolean;
|
|
2418
2418
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
2419
2419
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2420
2420
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2421
2421
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2422
2422
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2423
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2424
2423
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2425
|
-
|
|
2424
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2425
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
2426
2426
|
formInstance: FormInstance | null;
|
|
2427
2427
|
handleSubmit: () => void;
|
|
2428
2428
|
handleReset: () => void;
|
|
@@ -2691,15 +2691,15 @@ export declare const PlusSearch: {
|
|
|
2691
2691
|
columns: PlusColumn[];
|
|
2692
2692
|
modelValue: FieldValues;
|
|
2693
2693
|
labelPosition: "left" | "right" | "top";
|
|
2694
|
-
|
|
2694
|
+
defaultValues: FieldValues;
|
|
2695
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2695
2696
|
style?: CSSProperties;
|
|
2696
2697
|
class?: any;
|
|
2697
2698
|
} & RecordType>;
|
|
2698
|
-
|
|
2699
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2699
2700
|
style?: CSSProperties;
|
|
2700
2701
|
class?: any;
|
|
2701
2702
|
} & RecordType>;
|
|
2702
|
-
defaultValues: FieldValues;
|
|
2703
2703
|
hasFooter: boolean;
|
|
2704
2704
|
hasReset: boolean;
|
|
2705
2705
|
resetText: string;
|