yc-pro-components 0.0.24 → 0.0.26
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 +76 -76
- package/es/components/check-card/src/index.vue.d.ts +14 -14
- package/es/components/check-card-group/index.d.ts +57 -57
- package/es/components/check-card-group/src/index.vue.d.ts +20 -20
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +39 -39
- package/es/components/descriptions/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +47 -47
- package/es/components/dialog-form/src/index.vue.d.ts +11 -11
- package/es/components/display-item/index.d.ts +24 -24
- package/es/components/display-item/src/index.vue.d.ts +24 -24
- package/es/components/drawer-form/index.d.ts +31 -31
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +157 -138
- package/es/components/form/src/form-content.vue.d.ts +33 -29
- package/es/components/form/src/form-content.vue2.mjs +106 -96
- package/es/components/form/src/index.vue.d.ts +28 -25
- package/es/components/form/src/index.vue2.mjs +5 -2
- package/es/components/form/src/type.d.ts +4 -0
- package/es/components/form-item/index.d.ts +150 -150
- package/es/components/form-item/src/form-item.mjs +2 -1
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- package/es/components/form-item/src/index.vue2.mjs +22 -18
- 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 +16 -16
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +1175 -1040
- package/es/components/page/src/index.vue.d.ts +383 -338
- package/es/components/pagination/index.d.ts +38 -38
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/radio/index.d.ts +34 -34
- package/es/components/radio/src/index.vue.d.ts +26 -26
- package/es/components/render/index.d.ts +17 -17
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +494 -430
- package/es/components/search/src/index.vue.d.ts +143 -125
- package/es/components/search/src/index.vue2.mjs +3 -1
- package/es/components/search/src/type.d.ts +7 -0
- 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 +19 -19
- package/es/components/steps-form/src/index.vue.d.ts +1 -1
- package/es/components/table/index.d.ts +38 -38
- package/es/components/table/src/index.vue.d.ts +7 -7
- package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/table/src/table-title-bar.vue2.mjs +1 -0
- package/es/components/utils/index.d.ts +15 -15
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-dialog/src/index.vue2.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +1 -1
- package/es/components/yc-drawer/store.d.ts +6 -6
- package/es/components/yc-more-actions/index.d.ts +6 -6
- package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +826 -736
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +2 -15
- package/es/components/yc-plus-tree/src/index.vue.d.ts +6 -1
- package/es/components/yc-plus-tree/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-tree/src/index.vue2.mjs +14 -6
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- 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/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +3 -3
- package/index.css +54 -54
- package/index.js +160 -144
- package/index.min.css +3 -3
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +160 -144
- package/lib/components/check-card/index.d.ts +76 -76
- package/lib/components/check-card/src/index.vue.d.ts +14 -14
- package/lib/components/check-card-group/index.d.ts +57 -57
- package/lib/components/check-card-group/src/index.vue.d.ts +20 -20
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +39 -39
- package/lib/components/descriptions/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +47 -47
- package/lib/components/dialog-form/src/index.vue.d.ts +11 -11
- package/lib/components/display-item/index.d.ts +24 -24
- package/lib/components/display-item/src/index.vue.d.ts +24 -24
- package/lib/components/drawer-form/index.d.ts +31 -31
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +157 -138
- package/lib/components/form/src/form-content.vue.d.ts +33 -29
- package/lib/components/form/src/form-content.vue2.js +105 -95
- package/lib/components/form/src/index.vue.d.ts +28 -25
- package/lib/components/form/src/index.vue2.js +5 -2
- package/lib/components/form/src/type.d.ts +4 -0
- package/lib/components/form-item/index.d.ts +150 -150
- package/lib/components/form-item/src/form-item.js +2 -1
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/src/index.vue2.js +21 -17
- 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 +16 -16
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +1175 -1040
- package/lib/components/page/src/index.vue.d.ts +383 -338
- package/lib/components/pagination/index.d.ts +38 -38
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/radio/index.d.ts +34 -34
- package/lib/components/radio/src/index.vue.d.ts +26 -26
- package/lib/components/render/index.d.ts +17 -17
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +494 -430
- package/lib/components/search/src/index.vue.d.ts +143 -125
- package/lib/components/search/src/index.vue2.js +3 -1
- package/lib/components/search/src/type.d.ts +7 -0
- 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 +19 -19
- package/lib/components/steps-form/src/index.vue.d.ts +1 -1
- package/lib/components/table/index.d.ts +38 -38
- package/lib/components/table/src/index.vue.d.ts +7 -7
- package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/table/src/table-title-bar.vue2.js +1 -0
- package/lib/components/utils/index.d.ts +15 -15
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-dialog/src/index.vue2.js +1 -1
- package/lib/components/yc-drawer/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +1 -1
- package/lib/components/yc-drawer/store.d.ts +6 -6
- package/lib/components/yc-more-actions/index.d.ts +6 -6
- package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +826 -736
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +2 -15
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +6 -1
- package/lib/components/yc-plus-tree/src/index.vue.js +1 -1
- package/lib/components/yc-plus-tree/src/index.vue2.js +13 -5
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- 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/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +3 -3
- 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 +1 -1
- package/theme-chalk/plus-dialog.css +1 -1
- package/theme-chalk/plus-display-item.css +1 -1
- package/theme-chalk/plus-form.css +1 -1
- package/theme-chalk/plus-search.css +1 -1
- package/theme-chalk/plus-table.css +1 -1
- package/theme-chalk/plus-yc-dialog.css +1 -1
- package/theme-chalk/plus-yc-drawer.css +1 -1
- package/theme-chalk/plus-yc-plus-tree.css +1 -1
- package/theme-chalk/src/dialog.scss +45 -0
- package/theme-chalk/src/display-item.scss +1 -0
- package/theme-chalk/src/form.scss +20 -0
- package/theme-chalk/src/search.scss +125 -0
- package/theme-chalk/src/table.scss +10 -0
- package/theme-chalk/src/yc-dialog.scss +50 -0
- package/theme-chalk/src/yc-drawer.scss +1 -1
- package/theme-chalk/src/yc-plus-tree.scss +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { ColProps, RowProps, FormItemRule, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
5
|
+
import { PlusColumn, FieldValues, Mutable, RecordType, PlusFormGroupRow, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Component, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
7
7
|
import { default as Search } from './src/index.vue';
|
|
8
8
|
|
|
@@ -10,14 +10,18 @@ export type PlusSearchInstance = InstanceType<typeof Search>;
|
|
|
10
10
|
export * from './src/type';
|
|
11
11
|
export declare const PlusSearch: {
|
|
12
12
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
13
|
-
modelValue: {
|
|
14
|
-
type: PropType<FieldValues>;
|
|
15
|
-
default: () => {};
|
|
16
|
-
};
|
|
17
13
|
columns: {
|
|
18
14
|
type: PropType< PlusColumn[]>;
|
|
19
15
|
default: () => never[];
|
|
20
16
|
};
|
|
17
|
+
layout: {
|
|
18
|
+
type: PropType<"grid" | "flex">;
|
|
19
|
+
default: "flex";
|
|
20
|
+
};
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: PropType<FieldValues>;
|
|
23
|
+
default: () => {};
|
|
24
|
+
};
|
|
21
25
|
labelPosition: {
|
|
22
26
|
type: PropType<"top" | "right" | "left">;
|
|
23
27
|
default: undefined;
|
|
@@ -30,19 +34,6 @@ export declare const PlusSearch: {
|
|
|
30
34
|
type: PropType<number>;
|
|
31
35
|
default: number;
|
|
32
36
|
};
|
|
33
|
-
defaultValues: {
|
|
34
|
-
type: PropType<FieldValues>;
|
|
35
|
-
default: () => {};
|
|
36
|
-
};
|
|
37
|
-
rowProps: {
|
|
38
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
39
|
-
style?: CSSProperties | undefined;
|
|
40
|
-
class?: any;
|
|
41
|
-
} & RecordType>>;
|
|
42
|
-
default: () => {
|
|
43
|
-
gutter: number;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
37
|
colProps: {
|
|
47
38
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
48
39
|
style?: CSSProperties | undefined;
|
|
@@ -56,6 +47,19 @@ export declare const PlusSearch: {
|
|
|
56
47
|
xl: number;
|
|
57
48
|
};
|
|
58
49
|
};
|
|
50
|
+
rowProps: {
|
|
51
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
52
|
+
style?: CSSProperties | undefined;
|
|
53
|
+
class?: any;
|
|
54
|
+
} & RecordType>>;
|
|
55
|
+
default: () => {
|
|
56
|
+
gutter: number;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
defaultValues: {
|
|
60
|
+
type: PropType<FieldValues>;
|
|
61
|
+
default: () => {};
|
|
62
|
+
};
|
|
59
63
|
hasFooter: {
|
|
60
64
|
type: PropType<boolean>;
|
|
61
65
|
default: boolean;
|
|
@@ -115,69 +119,71 @@ export declare const PlusSearch: {
|
|
|
115
119
|
$: ComponentInternalInstance;
|
|
116
120
|
$data: {};
|
|
117
121
|
$props: Partial<{
|
|
118
|
-
modelValue: FieldValues;
|
|
119
|
-
collapseDuration: number;
|
|
120
|
-
collapseTransition: boolean;
|
|
121
122
|
columns: PlusColumn[];
|
|
122
123
|
group: false | PlusFormGroupRow[];
|
|
124
|
+
layout: "grid" | "flex";
|
|
125
|
+
modelValue: FieldValues;
|
|
123
126
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
124
127
|
labelPosition: "top" | "right" | "left";
|
|
125
128
|
labelWidth: string | number;
|
|
126
129
|
labelSuffix: string;
|
|
127
130
|
hasLabel: boolean;
|
|
128
|
-
|
|
129
|
-
|
|
131
|
+
clearable: boolean;
|
|
132
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
130
133
|
style?: CSSProperties | undefined;
|
|
131
134
|
class?: any;
|
|
132
135
|
} & RecordType>;
|
|
133
|
-
|
|
136
|
+
collapseDuration: number;
|
|
137
|
+
collapseTransition: boolean;
|
|
138
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
134
139
|
style?: CSSProperties | undefined;
|
|
135
140
|
class?: any;
|
|
136
141
|
} & RecordType>;
|
|
142
|
+
defaultValues: FieldValues;
|
|
137
143
|
hasErrorTip: boolean;
|
|
138
144
|
hasFooter: boolean;
|
|
139
145
|
hasReset: boolean;
|
|
140
146
|
submitText: string;
|
|
141
147
|
resetText: string;
|
|
142
148
|
submitLoading: boolean;
|
|
143
|
-
footerAlign: "
|
|
149
|
+
footerAlign: "right" | "left" | "center";
|
|
144
150
|
cardProps: Partial< Mutable<CardProps> & {
|
|
145
151
|
style?: CSSProperties | undefined;
|
|
146
152
|
class?: any;
|
|
147
153
|
} & RecordType>;
|
|
148
154
|
prevent: boolean;
|
|
149
|
-
clearable: boolean;
|
|
150
155
|
}> & Omit<{
|
|
151
|
-
readonly modelValue: FieldValues;
|
|
152
156
|
readonly columns: PlusColumn[];
|
|
153
157
|
readonly group: false | PlusFormGroupRow[];
|
|
158
|
+
readonly layout: "grid" | "flex";
|
|
159
|
+
readonly modelValue: FieldValues;
|
|
154
160
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
155
161
|
readonly labelPosition: "top" | "right" | "left";
|
|
156
162
|
readonly labelWidth: string | number;
|
|
157
163
|
readonly labelSuffix: string;
|
|
158
164
|
readonly hasLabel: boolean;
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
165
|
+
readonly clearable: boolean;
|
|
166
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
161
167
|
style?: CSSProperties | undefined;
|
|
162
168
|
class?: any;
|
|
163
169
|
} & RecordType>;
|
|
164
|
-
readonly
|
|
170
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
165
171
|
style?: CSSProperties | undefined;
|
|
166
172
|
class?: any;
|
|
167
173
|
} & RecordType>;
|
|
174
|
+
readonly defaultValues: FieldValues;
|
|
168
175
|
readonly hasErrorTip: boolean;
|
|
169
176
|
readonly hasFooter: boolean;
|
|
170
177
|
readonly hasReset: boolean;
|
|
171
178
|
readonly submitText: string;
|
|
172
179
|
readonly resetText: string;
|
|
173
180
|
readonly submitLoading: boolean;
|
|
174
|
-
readonly footerAlign: "
|
|
181
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
175
182
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
176
183
|
style?: CSSProperties | undefined;
|
|
177
184
|
class?: any;
|
|
178
185
|
} & RecordType>;
|
|
179
186
|
readonly prevent: boolean;
|
|
180
|
-
readonly clearable: boolean;
|
|
181
187
|
readonly collapseDuration?: number | undefined;
|
|
182
188
|
readonly collapseTransition?: boolean | undefined;
|
|
183
189
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -187,18 +193,6 @@ export declare const PlusSearch: {
|
|
|
187
193
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
188
194
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
189
195
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
190
|
-
modelValue: {
|
|
191
|
-
type: PropType<FieldValues>;
|
|
192
|
-
default: () => {};
|
|
193
|
-
};
|
|
194
|
-
collapseDuration: {
|
|
195
|
-
type: PropType<number>;
|
|
196
|
-
default: undefined;
|
|
197
|
-
};
|
|
198
|
-
collapseTransition: {
|
|
199
|
-
type: PropType<boolean>;
|
|
200
|
-
default: undefined;
|
|
201
|
-
};
|
|
202
196
|
columns: {
|
|
203
197
|
type: PropType< PlusColumn[]>;
|
|
204
198
|
default: () => never[];
|
|
@@ -207,6 +201,14 @@ export declare const PlusSearch: {
|
|
|
207
201
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
208
202
|
default: boolean;
|
|
209
203
|
};
|
|
204
|
+
layout: {
|
|
205
|
+
type: PropType<"grid" | "flex">;
|
|
206
|
+
default: string;
|
|
207
|
+
};
|
|
208
|
+
modelValue: {
|
|
209
|
+
type: PropType<FieldValues>;
|
|
210
|
+
default: () => {};
|
|
211
|
+
};
|
|
210
212
|
rules: {
|
|
211
213
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
212
214
|
default: () => {};
|
|
@@ -227,24 +229,36 @@ export declare const PlusSearch: {
|
|
|
227
229
|
type: PropType<boolean>;
|
|
228
230
|
default: boolean;
|
|
229
231
|
};
|
|
230
|
-
|
|
231
|
-
type: PropType<
|
|
232
|
-
default:
|
|
232
|
+
clearable: {
|
|
233
|
+
type: PropType<boolean>;
|
|
234
|
+
default: boolean;
|
|
233
235
|
};
|
|
234
|
-
|
|
235
|
-
type: PropType<Partial< Mutable<
|
|
236
|
+
colProps: {
|
|
237
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
236
238
|
style?: CSSProperties | undefined;
|
|
237
239
|
class?: any;
|
|
238
240
|
} & RecordType>>;
|
|
239
241
|
default: () => {};
|
|
240
242
|
};
|
|
241
|
-
|
|
242
|
-
type: PropType<
|
|
243
|
+
collapseDuration: {
|
|
244
|
+
type: PropType<number>;
|
|
245
|
+
default: undefined;
|
|
246
|
+
};
|
|
247
|
+
collapseTransition: {
|
|
248
|
+
type: PropType<boolean>;
|
|
249
|
+
default: undefined;
|
|
250
|
+
};
|
|
251
|
+
rowProps: {
|
|
252
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
243
253
|
style?: CSSProperties | undefined;
|
|
244
254
|
class?: any;
|
|
245
255
|
} & RecordType>>;
|
|
246
256
|
default: () => {};
|
|
247
257
|
};
|
|
258
|
+
defaultValues: {
|
|
259
|
+
type: PropType<FieldValues>;
|
|
260
|
+
default: () => {};
|
|
261
|
+
};
|
|
248
262
|
hasErrorTip: {
|
|
249
263
|
type: PropType<boolean>;
|
|
250
264
|
default: boolean;
|
|
@@ -270,7 +284,7 @@ export declare const PlusSearch: {
|
|
|
270
284
|
default: boolean;
|
|
271
285
|
};
|
|
272
286
|
footerAlign: {
|
|
273
|
-
type: PropType<"
|
|
287
|
+
type: PropType<"right" | "left" | "center">;
|
|
274
288
|
default: string;
|
|
275
289
|
};
|
|
276
290
|
cardProps: {
|
|
@@ -284,10 +298,6 @@ export declare const PlusSearch: {
|
|
|
284
298
|
type: PropType<boolean>;
|
|
285
299
|
default: boolean;
|
|
286
300
|
};
|
|
287
|
-
clearable: {
|
|
288
|
-
type: PropType<boolean>;
|
|
289
|
-
default: boolean;
|
|
290
|
-
};
|
|
291
301
|
}>> & {
|
|
292
302
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
293
303
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -295,7 +305,7 @@ export declare const PlusSearch: {
|
|
|
295
305
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
296
306
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
297
307
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
298
|
-
}, "
|
|
308
|
+
}, "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
299
309
|
$attrs: {
|
|
300
310
|
[x: string]: unknown;
|
|
301
311
|
};
|
|
@@ -307,21 +317,9 @@ export declare const PlusSearch: {
|
|
|
307
317
|
}>;
|
|
308
318
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
309
319
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
310
|
-
$emit: ((event: "
|
|
320
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
311
321
|
$el: any;
|
|
312
322
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
313
|
-
modelValue: {
|
|
314
|
-
type: PropType<FieldValues>;
|
|
315
|
-
default: () => {};
|
|
316
|
-
};
|
|
317
|
-
collapseDuration: {
|
|
318
|
-
type: PropType<number>;
|
|
319
|
-
default: undefined;
|
|
320
|
-
};
|
|
321
|
-
collapseTransition: {
|
|
322
|
-
type: PropType<boolean>;
|
|
323
|
-
default: undefined;
|
|
324
|
-
};
|
|
325
323
|
columns: {
|
|
326
324
|
type: PropType< PlusColumn[]>;
|
|
327
325
|
default: () => never[];
|
|
@@ -330,6 +328,14 @@ export declare const PlusSearch: {
|
|
|
330
328
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
331
329
|
default: boolean;
|
|
332
330
|
};
|
|
331
|
+
layout: {
|
|
332
|
+
type: PropType<"grid" | "flex">;
|
|
333
|
+
default: string;
|
|
334
|
+
};
|
|
335
|
+
modelValue: {
|
|
336
|
+
type: PropType<FieldValues>;
|
|
337
|
+
default: () => {};
|
|
338
|
+
};
|
|
333
339
|
rules: {
|
|
334
340
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
335
341
|
default: () => {};
|
|
@@ -350,24 +356,36 @@ export declare const PlusSearch: {
|
|
|
350
356
|
type: PropType<boolean>;
|
|
351
357
|
default: boolean;
|
|
352
358
|
};
|
|
353
|
-
|
|
354
|
-
type: PropType<
|
|
355
|
-
default:
|
|
359
|
+
clearable: {
|
|
360
|
+
type: PropType<boolean>;
|
|
361
|
+
default: boolean;
|
|
356
362
|
};
|
|
357
|
-
|
|
358
|
-
type: PropType<Partial< Mutable<
|
|
363
|
+
colProps: {
|
|
364
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
359
365
|
style?: CSSProperties | undefined;
|
|
360
366
|
class?: any;
|
|
361
367
|
} & RecordType>>;
|
|
362
368
|
default: () => {};
|
|
363
369
|
};
|
|
364
|
-
|
|
365
|
-
type: PropType<
|
|
370
|
+
collapseDuration: {
|
|
371
|
+
type: PropType<number>;
|
|
372
|
+
default: undefined;
|
|
373
|
+
};
|
|
374
|
+
collapseTransition: {
|
|
375
|
+
type: PropType<boolean>;
|
|
376
|
+
default: undefined;
|
|
377
|
+
};
|
|
378
|
+
rowProps: {
|
|
379
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
366
380
|
style?: CSSProperties | undefined;
|
|
367
381
|
class?: any;
|
|
368
382
|
} & RecordType>>;
|
|
369
383
|
default: () => {};
|
|
370
384
|
};
|
|
385
|
+
defaultValues: {
|
|
386
|
+
type: PropType<FieldValues>;
|
|
387
|
+
default: () => {};
|
|
388
|
+
};
|
|
371
389
|
hasErrorTip: {
|
|
372
390
|
type: PropType<boolean>;
|
|
373
391
|
default: boolean;
|
|
@@ -393,7 +411,7 @@ export declare const PlusSearch: {
|
|
|
393
411
|
default: boolean;
|
|
394
412
|
};
|
|
395
413
|
footerAlign: {
|
|
396
|
-
type: PropType<"
|
|
414
|
+
type: PropType<"right" | "left" | "center">;
|
|
397
415
|
default: string;
|
|
398
416
|
};
|
|
399
417
|
cardProps: {
|
|
@@ -407,10 +425,6 @@ export declare const PlusSearch: {
|
|
|
407
425
|
type: PropType<boolean>;
|
|
408
426
|
default: boolean;
|
|
409
427
|
};
|
|
410
|
-
clearable: {
|
|
411
|
-
type: PropType<boolean>;
|
|
412
|
-
default: boolean;
|
|
413
|
-
};
|
|
414
428
|
}>> & {
|
|
415
429
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
416
430
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -711,38 +725,39 @@ export declare const PlusSearch: {
|
|
|
711
725
|
submitError: (errors: unknown) => void;
|
|
712
726
|
validate: (...args: any[]) => void;
|
|
713
727
|
}, string, {
|
|
714
|
-
modelValue: FieldValues;
|
|
715
|
-
collapseDuration: number;
|
|
716
|
-
collapseTransition: boolean;
|
|
717
728
|
columns: PlusColumn[];
|
|
718
729
|
group: false | PlusFormGroupRow[];
|
|
730
|
+
layout: "grid" | "flex";
|
|
731
|
+
modelValue: FieldValues;
|
|
719
732
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
720
733
|
labelPosition: "top" | "right" | "left";
|
|
721
734
|
labelWidth: string | number;
|
|
722
735
|
labelSuffix: string;
|
|
723
736
|
hasLabel: boolean;
|
|
724
|
-
|
|
725
|
-
|
|
737
|
+
clearable: boolean;
|
|
738
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
726
739
|
style?: CSSProperties | undefined;
|
|
727
740
|
class?: any;
|
|
728
741
|
} & RecordType>;
|
|
729
|
-
|
|
742
|
+
collapseDuration: number;
|
|
743
|
+
collapseTransition: boolean;
|
|
744
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
730
745
|
style?: CSSProperties | undefined;
|
|
731
746
|
class?: any;
|
|
732
747
|
} & RecordType>;
|
|
748
|
+
defaultValues: FieldValues;
|
|
733
749
|
hasErrorTip: boolean;
|
|
734
750
|
hasFooter: boolean;
|
|
735
751
|
hasReset: boolean;
|
|
736
752
|
submitText: string;
|
|
737
753
|
resetText: string;
|
|
738
754
|
submitLoading: boolean;
|
|
739
|
-
footerAlign: "
|
|
755
|
+
footerAlign: "right" | "left" | "center";
|
|
740
756
|
cardProps: Partial< Mutable<CardProps> & {
|
|
741
757
|
style?: CSSProperties | undefined;
|
|
742
758
|
class?: any;
|
|
743
759
|
} & RecordType>;
|
|
744
760
|
prevent: boolean;
|
|
745
|
-
clearable: boolean;
|
|
746
761
|
}, {}, string, {}> & {
|
|
747
762
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
748
763
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -764,18 +779,6 @@ export declare const PlusSearch: {
|
|
|
764
779
|
$nextTick: nextTick;
|
|
765
780
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
766
781
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
767
|
-
modelValue: {
|
|
768
|
-
type: PropType<FieldValues>;
|
|
769
|
-
default: () => {};
|
|
770
|
-
};
|
|
771
|
-
collapseDuration: {
|
|
772
|
-
type: PropType<number>;
|
|
773
|
-
default: undefined;
|
|
774
|
-
};
|
|
775
|
-
collapseTransition: {
|
|
776
|
-
type: PropType<boolean>;
|
|
777
|
-
default: undefined;
|
|
778
|
-
};
|
|
779
782
|
columns: {
|
|
780
783
|
type: PropType< PlusColumn[]>;
|
|
781
784
|
default: () => never[];
|
|
@@ -784,6 +787,14 @@ export declare const PlusSearch: {
|
|
|
784
787
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
785
788
|
default: boolean;
|
|
786
789
|
};
|
|
790
|
+
layout: {
|
|
791
|
+
type: PropType<"grid" | "flex">;
|
|
792
|
+
default: string;
|
|
793
|
+
};
|
|
794
|
+
modelValue: {
|
|
795
|
+
type: PropType<FieldValues>;
|
|
796
|
+
default: () => {};
|
|
797
|
+
};
|
|
787
798
|
rules: {
|
|
788
799
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
789
800
|
default: () => {};
|
|
@@ -804,24 +815,36 @@ export declare const PlusSearch: {
|
|
|
804
815
|
type: PropType<boolean>;
|
|
805
816
|
default: boolean;
|
|
806
817
|
};
|
|
807
|
-
|
|
808
|
-
type: PropType<
|
|
809
|
-
default:
|
|
818
|
+
clearable: {
|
|
819
|
+
type: PropType<boolean>;
|
|
820
|
+
default: boolean;
|
|
810
821
|
};
|
|
811
|
-
|
|
812
|
-
type: PropType<Partial< Mutable<
|
|
822
|
+
colProps: {
|
|
823
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
813
824
|
style?: CSSProperties | undefined;
|
|
814
825
|
class?: any;
|
|
815
826
|
} & RecordType>>;
|
|
816
827
|
default: () => {};
|
|
817
828
|
};
|
|
818
|
-
|
|
819
|
-
type: PropType<
|
|
829
|
+
collapseDuration: {
|
|
830
|
+
type: PropType<number>;
|
|
831
|
+
default: undefined;
|
|
832
|
+
};
|
|
833
|
+
collapseTransition: {
|
|
834
|
+
type: PropType<boolean>;
|
|
835
|
+
default: undefined;
|
|
836
|
+
};
|
|
837
|
+
rowProps: {
|
|
838
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
820
839
|
style?: CSSProperties | undefined;
|
|
821
840
|
class?: any;
|
|
822
841
|
} & RecordType>>;
|
|
823
842
|
default: () => {};
|
|
824
843
|
};
|
|
844
|
+
defaultValues: {
|
|
845
|
+
type: PropType<FieldValues>;
|
|
846
|
+
default: () => {};
|
|
847
|
+
};
|
|
825
848
|
hasErrorTip: {
|
|
826
849
|
type: PropType<boolean>;
|
|
827
850
|
default: boolean;
|
|
@@ -847,7 +870,7 @@ export declare const PlusSearch: {
|
|
|
847
870
|
default: boolean;
|
|
848
871
|
};
|
|
849
872
|
footerAlign: {
|
|
850
|
-
type: PropType<"
|
|
873
|
+
type: PropType<"right" | "left" | "center">;
|
|
851
874
|
default: string;
|
|
852
875
|
};
|
|
853
876
|
cardProps: {
|
|
@@ -861,10 +884,6 @@ export declare const PlusSearch: {
|
|
|
861
884
|
type: PropType<boolean>;
|
|
862
885
|
default: boolean;
|
|
863
886
|
};
|
|
864
|
-
clearable: {
|
|
865
|
-
type: PropType<boolean>;
|
|
866
|
-
default: boolean;
|
|
867
|
-
};
|
|
868
887
|
}>> & {
|
|
869
888
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
870
889
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -1170,14 +1189,14 @@ export declare const PlusSearch: {
|
|
|
1170
1189
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1171
1190
|
columns?: PlusColumn[] | undefined;
|
|
1172
1191
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1173
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1192
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
1174
1193
|
readonly label: string | ComputedRef<string>;
|
|
1175
|
-
readonly modelValue: string | number | boolean |
|
|
1194
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1176
1195
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1177
|
-
readonly tooltip: string |
|
|
1196
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1178
1197
|
style?: CSSProperties | undefined;
|
|
1179
1198
|
class?: any;
|
|
1180
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1199
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1181
1200
|
style?: CSSProperties | undefined;
|
|
1182
1201
|
class?: any;
|
|
1183
1202
|
} & RecordType>>;
|
|
@@ -1199,7 +1218,7 @@ export declare const PlusSearch: {
|
|
|
1199
1218
|
};
|
|
1200
1219
|
rows: number;
|
|
1201
1220
|
autocomplete: string;
|
|
1202
|
-
type: "" | "number" | "default" | "
|
|
1221
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1203
1222
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1204
1223
|
step: string | number;
|
|
1205
1224
|
format: string | ProgressFn | undefined;
|
|
@@ -1244,12 +1263,12 @@ export declare const PlusSearch: {
|
|
|
1244
1263
|
fieldInstance?: any;
|
|
1245
1264
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1246
1265
|
prop: string;
|
|
1247
|
-
modelValue: string | number | boolean |
|
|
1266
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1248
1267
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1249
|
-
tooltip: string |
|
|
1268
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1250
1269
|
style?: CSSProperties | undefined;
|
|
1251
1270
|
class?: any;
|
|
1252
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1271
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1253
1272
|
style?: CSSProperties | undefined;
|
|
1254
1273
|
class?: any;
|
|
1255
1274
|
} & RecordType>>;
|
|
@@ -1278,14 +1297,14 @@ export declare const PlusSearch: {
|
|
|
1278
1297
|
clearable: boolean;
|
|
1279
1298
|
index: number;
|
|
1280
1299
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1281
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1300
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
1282
1301
|
readonly label: string | ComputedRef<string>;
|
|
1283
|
-
readonly modelValue: string | number | boolean |
|
|
1302
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1284
1303
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1285
|
-
readonly tooltip: string |
|
|
1304
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1286
1305
|
style?: CSSProperties | undefined;
|
|
1287
1306
|
class?: any;
|
|
1288
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1307
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1289
1308
|
style?: CSSProperties | undefined;
|
|
1290
1309
|
class?: any;
|
|
1291
1310
|
} & RecordType>>;
|
|
@@ -1307,7 +1326,7 @@ export declare const PlusSearch: {
|
|
|
1307
1326
|
};
|
|
1308
1327
|
rows: number;
|
|
1309
1328
|
autocomplete: string;
|
|
1310
|
-
type: "" | "number" | "default" | "
|
|
1329
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1311
1330
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1312
1331
|
step: string | number;
|
|
1313
1332
|
format: string | ProgressFn | undefined;
|
|
@@ -1352,12 +1371,12 @@ export declare const PlusSearch: {
|
|
|
1352
1371
|
fieldInstance?: any;
|
|
1353
1372
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1354
1373
|
prop: string;
|
|
1355
|
-
modelValue: string | number | boolean |
|
|
1374
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1356
1375
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1357
|
-
tooltip: string |
|
|
1376
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1358
1377
|
style?: CSSProperties | undefined;
|
|
1359
1378
|
class?: any;
|
|
1360
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1379
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1361
1380
|
style?: CSSProperties | undefined;
|
|
1362
1381
|
class?: any;
|
|
1363
1382
|
} & RecordType>>;
|
|
@@ -1409,14 +1428,18 @@ export declare const PlusSearch: {
|
|
|
1409
1428
|
reset: (values: FieldValues) => void;
|
|
1410
1429
|
collapse: (isShowUnfold: boolean) => void;
|
|
1411
1430
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1412
|
-
modelValue: {
|
|
1413
|
-
type: PropType<FieldValues>;
|
|
1414
|
-
default: () => {};
|
|
1415
|
-
};
|
|
1416
1431
|
columns: {
|
|
1417
1432
|
type: PropType< PlusColumn[]>;
|
|
1418
1433
|
default: () => never[];
|
|
1419
1434
|
};
|
|
1435
|
+
layout: {
|
|
1436
|
+
type: PropType<"grid" | "flex">;
|
|
1437
|
+
default: "flex";
|
|
1438
|
+
};
|
|
1439
|
+
modelValue: {
|
|
1440
|
+
type: PropType<FieldValues>;
|
|
1441
|
+
default: () => {};
|
|
1442
|
+
};
|
|
1420
1443
|
labelPosition: {
|
|
1421
1444
|
type: PropType<"top" | "right" | "left">;
|
|
1422
1445
|
default: undefined;
|
|
@@ -1429,19 +1452,6 @@ export declare const PlusSearch: {
|
|
|
1429
1452
|
type: PropType<number>;
|
|
1430
1453
|
default: number;
|
|
1431
1454
|
};
|
|
1432
|
-
defaultValues: {
|
|
1433
|
-
type: PropType<FieldValues>;
|
|
1434
|
-
default: () => {};
|
|
1435
|
-
};
|
|
1436
|
-
rowProps: {
|
|
1437
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
1438
|
-
style?: CSSProperties | undefined;
|
|
1439
|
-
class?: any;
|
|
1440
|
-
} & RecordType>>;
|
|
1441
|
-
default: () => {
|
|
1442
|
-
gutter: number;
|
|
1443
|
-
};
|
|
1444
|
-
};
|
|
1445
1455
|
colProps: {
|
|
1446
1456
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
1447
1457
|
style?: CSSProperties | undefined;
|
|
@@ -1455,6 +1465,19 @@ export declare const PlusSearch: {
|
|
|
1455
1465
|
xl: number;
|
|
1456
1466
|
};
|
|
1457
1467
|
};
|
|
1468
|
+
rowProps: {
|
|
1469
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1470
|
+
style?: CSSProperties | undefined;
|
|
1471
|
+
class?: any;
|
|
1472
|
+
} & RecordType>>;
|
|
1473
|
+
default: () => {
|
|
1474
|
+
gutter: number;
|
|
1475
|
+
};
|
|
1476
|
+
};
|
|
1477
|
+
defaultValues: {
|
|
1478
|
+
type: PropType<FieldValues>;
|
|
1479
|
+
default: () => {};
|
|
1480
|
+
};
|
|
1458
1481
|
hasFooter: {
|
|
1459
1482
|
type: PropType<boolean>;
|
|
1460
1483
|
default: boolean;
|
|
@@ -1510,20 +1533,21 @@ export declare const PlusSearch: {
|
|
|
1510
1533
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1511
1534
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1512
1535
|
}, {
|
|
1513
|
-
modelValue: FieldValues;
|
|
1514
1536
|
columns: PlusColumn[];
|
|
1537
|
+
layout: "grid" | "flex";
|
|
1538
|
+
modelValue: FieldValues;
|
|
1515
1539
|
labelPosition: "top" | "right" | "left";
|
|
1516
1540
|
inline: boolean;
|
|
1517
1541
|
showNumber: number;
|
|
1518
|
-
|
|
1519
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1542
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1520
1543
|
style?: CSSProperties | undefined;
|
|
1521
1544
|
class?: any;
|
|
1522
1545
|
} & RecordType>;
|
|
1523
|
-
|
|
1546
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1524
1547
|
style?: CSSProperties | undefined;
|
|
1525
1548
|
class?: any;
|
|
1526
1549
|
} & RecordType>;
|
|
1550
|
+
defaultValues: FieldValues;
|
|
1527
1551
|
hasFooter: boolean;
|
|
1528
1552
|
hasReset: boolean;
|
|
1529
1553
|
resetText: string;
|
|
@@ -1544,14 +1568,18 @@ export declare const PlusSearch: {
|
|
|
1544
1568
|
M: {};
|
|
1545
1569
|
Defaults: {};
|
|
1546
1570
|
}, Readonly< ExtractPropTypes<{
|
|
1547
|
-
modelValue: {
|
|
1548
|
-
type: PropType<FieldValues>;
|
|
1549
|
-
default: () => {};
|
|
1550
|
-
};
|
|
1551
1571
|
columns: {
|
|
1552
1572
|
type: PropType< PlusColumn[]>;
|
|
1553
1573
|
default: () => never[];
|
|
1554
1574
|
};
|
|
1575
|
+
layout: {
|
|
1576
|
+
type: PropType<"grid" | "flex">;
|
|
1577
|
+
default: "flex";
|
|
1578
|
+
};
|
|
1579
|
+
modelValue: {
|
|
1580
|
+
type: PropType<FieldValues>;
|
|
1581
|
+
default: () => {};
|
|
1582
|
+
};
|
|
1555
1583
|
labelPosition: {
|
|
1556
1584
|
type: PropType<"top" | "right" | "left">;
|
|
1557
1585
|
default: undefined;
|
|
@@ -1564,19 +1592,6 @@ export declare const PlusSearch: {
|
|
|
1564
1592
|
type: PropType<number>;
|
|
1565
1593
|
default: number;
|
|
1566
1594
|
};
|
|
1567
|
-
defaultValues: {
|
|
1568
|
-
type: PropType<FieldValues>;
|
|
1569
|
-
default: () => {};
|
|
1570
|
-
};
|
|
1571
|
-
rowProps: {
|
|
1572
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
1573
|
-
style?: CSSProperties | undefined;
|
|
1574
|
-
class?: any;
|
|
1575
|
-
} & RecordType>>;
|
|
1576
|
-
default: () => {
|
|
1577
|
-
gutter: number;
|
|
1578
|
-
};
|
|
1579
|
-
};
|
|
1580
1595
|
colProps: {
|
|
1581
1596
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
1582
1597
|
style?: CSSProperties | undefined;
|
|
@@ -1590,6 +1605,19 @@ export declare const PlusSearch: {
|
|
|
1590
1605
|
xl: number;
|
|
1591
1606
|
};
|
|
1592
1607
|
};
|
|
1608
|
+
rowProps: {
|
|
1609
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1610
|
+
style?: CSSProperties | undefined;
|
|
1611
|
+
class?: any;
|
|
1612
|
+
} & RecordType>>;
|
|
1613
|
+
default: () => {
|
|
1614
|
+
gutter: number;
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
defaultValues: {
|
|
1618
|
+
type: PropType<FieldValues>;
|
|
1619
|
+
default: () => {};
|
|
1620
|
+
};
|
|
1593
1621
|
hasFooter: {
|
|
1594
1622
|
type: PropType<boolean>;
|
|
1595
1623
|
default: boolean;
|
|
@@ -1649,69 +1677,71 @@ export declare const PlusSearch: {
|
|
|
1649
1677
|
$: ComponentInternalInstance;
|
|
1650
1678
|
$data: {};
|
|
1651
1679
|
$props: Partial<{
|
|
1652
|
-
modelValue: FieldValues;
|
|
1653
|
-
collapseDuration: number;
|
|
1654
|
-
collapseTransition: boolean;
|
|
1655
1680
|
columns: PlusColumn[];
|
|
1656
1681
|
group: false | PlusFormGroupRow[];
|
|
1682
|
+
layout: "grid" | "flex";
|
|
1683
|
+
modelValue: FieldValues;
|
|
1657
1684
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1658
1685
|
labelPosition: "top" | "right" | "left";
|
|
1659
1686
|
labelWidth: string | number;
|
|
1660
1687
|
labelSuffix: string;
|
|
1661
1688
|
hasLabel: boolean;
|
|
1662
|
-
|
|
1663
|
-
|
|
1689
|
+
clearable: boolean;
|
|
1690
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1664
1691
|
style?: CSSProperties | undefined;
|
|
1665
1692
|
class?: any;
|
|
1666
1693
|
} & RecordType>;
|
|
1667
|
-
|
|
1694
|
+
collapseDuration: number;
|
|
1695
|
+
collapseTransition: boolean;
|
|
1696
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1668
1697
|
style?: CSSProperties | undefined;
|
|
1669
1698
|
class?: any;
|
|
1670
1699
|
} & RecordType>;
|
|
1700
|
+
defaultValues: FieldValues;
|
|
1671
1701
|
hasErrorTip: boolean;
|
|
1672
1702
|
hasFooter: boolean;
|
|
1673
1703
|
hasReset: boolean;
|
|
1674
1704
|
submitText: string;
|
|
1675
1705
|
resetText: string;
|
|
1676
1706
|
submitLoading: boolean;
|
|
1677
|
-
footerAlign: "
|
|
1707
|
+
footerAlign: "right" | "left" | "center";
|
|
1678
1708
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1679
1709
|
style?: CSSProperties | undefined;
|
|
1680
1710
|
class?: any;
|
|
1681
1711
|
} & RecordType>;
|
|
1682
1712
|
prevent: boolean;
|
|
1683
|
-
clearable: boolean;
|
|
1684
1713
|
}> & Omit<{
|
|
1685
|
-
readonly modelValue: FieldValues;
|
|
1686
1714
|
readonly columns: PlusColumn[];
|
|
1687
1715
|
readonly group: false | PlusFormGroupRow[];
|
|
1716
|
+
readonly layout: "grid" | "flex";
|
|
1717
|
+
readonly modelValue: FieldValues;
|
|
1688
1718
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1689
1719
|
readonly labelPosition: "top" | "right" | "left";
|
|
1690
1720
|
readonly labelWidth: string | number;
|
|
1691
1721
|
readonly labelSuffix: string;
|
|
1692
1722
|
readonly hasLabel: boolean;
|
|
1693
|
-
readonly
|
|
1694
|
-
readonly
|
|
1723
|
+
readonly clearable: boolean;
|
|
1724
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
1695
1725
|
style?: CSSProperties | undefined;
|
|
1696
1726
|
class?: any;
|
|
1697
1727
|
} & RecordType>;
|
|
1698
|
-
readonly
|
|
1728
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
1699
1729
|
style?: CSSProperties | undefined;
|
|
1700
1730
|
class?: any;
|
|
1701
1731
|
} & RecordType>;
|
|
1732
|
+
readonly defaultValues: FieldValues;
|
|
1702
1733
|
readonly hasErrorTip: boolean;
|
|
1703
1734
|
readonly hasFooter: boolean;
|
|
1704
1735
|
readonly hasReset: boolean;
|
|
1705
1736
|
readonly submitText: string;
|
|
1706
1737
|
readonly resetText: string;
|
|
1707
1738
|
readonly submitLoading: boolean;
|
|
1708
|
-
readonly footerAlign: "
|
|
1739
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1709
1740
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1710
1741
|
style?: CSSProperties | undefined;
|
|
1711
1742
|
class?: any;
|
|
1712
1743
|
} & RecordType>;
|
|
1713
1744
|
readonly prevent: boolean;
|
|
1714
|
-
readonly clearable: boolean;
|
|
1715
1745
|
readonly collapseDuration?: number | undefined;
|
|
1716
1746
|
readonly collapseTransition?: boolean | undefined;
|
|
1717
1747
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -1721,18 +1751,6 @@ export declare const PlusSearch: {
|
|
|
1721
1751
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1722
1752
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1723
1753
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1724
|
-
modelValue: {
|
|
1725
|
-
type: PropType<FieldValues>;
|
|
1726
|
-
default: () => {};
|
|
1727
|
-
};
|
|
1728
|
-
collapseDuration: {
|
|
1729
|
-
type: PropType<number>;
|
|
1730
|
-
default: undefined;
|
|
1731
|
-
};
|
|
1732
|
-
collapseTransition: {
|
|
1733
|
-
type: PropType<boolean>;
|
|
1734
|
-
default: undefined;
|
|
1735
|
-
};
|
|
1736
1754
|
columns: {
|
|
1737
1755
|
type: PropType< PlusColumn[]>;
|
|
1738
1756
|
default: () => never[];
|
|
@@ -1741,6 +1759,14 @@ export declare const PlusSearch: {
|
|
|
1741
1759
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1742
1760
|
default: boolean;
|
|
1743
1761
|
};
|
|
1762
|
+
layout: {
|
|
1763
|
+
type: PropType<"grid" | "flex">;
|
|
1764
|
+
default: string;
|
|
1765
|
+
};
|
|
1766
|
+
modelValue: {
|
|
1767
|
+
type: PropType<FieldValues>;
|
|
1768
|
+
default: () => {};
|
|
1769
|
+
};
|
|
1744
1770
|
rules: {
|
|
1745
1771
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1746
1772
|
default: () => {};
|
|
@@ -1761,24 +1787,36 @@ export declare const PlusSearch: {
|
|
|
1761
1787
|
type: PropType<boolean>;
|
|
1762
1788
|
default: boolean;
|
|
1763
1789
|
};
|
|
1764
|
-
|
|
1765
|
-
type: PropType<
|
|
1766
|
-
default:
|
|
1790
|
+
clearable: {
|
|
1791
|
+
type: PropType<boolean>;
|
|
1792
|
+
default: boolean;
|
|
1767
1793
|
};
|
|
1768
|
-
|
|
1769
|
-
type: PropType<Partial< Mutable<
|
|
1794
|
+
colProps: {
|
|
1795
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1770
1796
|
style?: CSSProperties | undefined;
|
|
1771
1797
|
class?: any;
|
|
1772
1798
|
} & RecordType>>;
|
|
1773
1799
|
default: () => {};
|
|
1774
1800
|
};
|
|
1775
|
-
|
|
1776
|
-
type: PropType<
|
|
1801
|
+
collapseDuration: {
|
|
1802
|
+
type: PropType<number>;
|
|
1803
|
+
default: undefined;
|
|
1804
|
+
};
|
|
1805
|
+
collapseTransition: {
|
|
1806
|
+
type: PropType<boolean>;
|
|
1807
|
+
default: undefined;
|
|
1808
|
+
};
|
|
1809
|
+
rowProps: {
|
|
1810
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1777
1811
|
style?: CSSProperties | undefined;
|
|
1778
1812
|
class?: any;
|
|
1779
1813
|
} & RecordType>>;
|
|
1780
1814
|
default: () => {};
|
|
1781
1815
|
};
|
|
1816
|
+
defaultValues: {
|
|
1817
|
+
type: PropType<FieldValues>;
|
|
1818
|
+
default: () => {};
|
|
1819
|
+
};
|
|
1782
1820
|
hasErrorTip: {
|
|
1783
1821
|
type: PropType<boolean>;
|
|
1784
1822
|
default: boolean;
|
|
@@ -1804,7 +1842,7 @@ export declare const PlusSearch: {
|
|
|
1804
1842
|
default: boolean;
|
|
1805
1843
|
};
|
|
1806
1844
|
footerAlign: {
|
|
1807
|
-
type: PropType<"
|
|
1845
|
+
type: PropType<"right" | "left" | "center">;
|
|
1808
1846
|
default: string;
|
|
1809
1847
|
};
|
|
1810
1848
|
cardProps: {
|
|
@@ -1818,10 +1856,6 @@ export declare const PlusSearch: {
|
|
|
1818
1856
|
type: PropType<boolean>;
|
|
1819
1857
|
default: boolean;
|
|
1820
1858
|
};
|
|
1821
|
-
clearable: {
|
|
1822
|
-
type: PropType<boolean>;
|
|
1823
|
-
default: boolean;
|
|
1824
|
-
};
|
|
1825
1859
|
}>> & {
|
|
1826
1860
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1827
1861
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -1829,7 +1863,7 @@ export declare const PlusSearch: {
|
|
|
1829
1863
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1830
1864
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1831
1865
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1832
|
-
}, "
|
|
1866
|
+
}, "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
1833
1867
|
$attrs: {
|
|
1834
1868
|
[x: string]: unknown;
|
|
1835
1869
|
};
|
|
@@ -1841,21 +1875,9 @@ export declare const PlusSearch: {
|
|
|
1841
1875
|
}>;
|
|
1842
1876
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1843
1877
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1844
|
-
$emit: ((event: "
|
|
1878
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1845
1879
|
$el: any;
|
|
1846
1880
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1847
|
-
modelValue: {
|
|
1848
|
-
type: PropType<FieldValues>;
|
|
1849
|
-
default: () => {};
|
|
1850
|
-
};
|
|
1851
|
-
collapseDuration: {
|
|
1852
|
-
type: PropType<number>;
|
|
1853
|
-
default: undefined;
|
|
1854
|
-
};
|
|
1855
|
-
collapseTransition: {
|
|
1856
|
-
type: PropType<boolean>;
|
|
1857
|
-
default: undefined;
|
|
1858
|
-
};
|
|
1859
1881
|
columns: {
|
|
1860
1882
|
type: PropType< PlusColumn[]>;
|
|
1861
1883
|
default: () => never[];
|
|
@@ -1864,6 +1886,14 @@ export declare const PlusSearch: {
|
|
|
1864
1886
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1865
1887
|
default: boolean;
|
|
1866
1888
|
};
|
|
1889
|
+
layout: {
|
|
1890
|
+
type: PropType<"grid" | "flex">;
|
|
1891
|
+
default: string;
|
|
1892
|
+
};
|
|
1893
|
+
modelValue: {
|
|
1894
|
+
type: PropType<FieldValues>;
|
|
1895
|
+
default: () => {};
|
|
1896
|
+
};
|
|
1867
1897
|
rules: {
|
|
1868
1898
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1869
1899
|
default: () => {};
|
|
@@ -1884,24 +1914,36 @@ export declare const PlusSearch: {
|
|
|
1884
1914
|
type: PropType<boolean>;
|
|
1885
1915
|
default: boolean;
|
|
1886
1916
|
};
|
|
1887
|
-
|
|
1888
|
-
type: PropType<
|
|
1889
|
-
default:
|
|
1917
|
+
clearable: {
|
|
1918
|
+
type: PropType<boolean>;
|
|
1919
|
+
default: boolean;
|
|
1890
1920
|
};
|
|
1891
|
-
|
|
1892
|
-
type: PropType<Partial< Mutable<
|
|
1921
|
+
colProps: {
|
|
1922
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1893
1923
|
style?: CSSProperties | undefined;
|
|
1894
1924
|
class?: any;
|
|
1895
1925
|
} & RecordType>>;
|
|
1896
1926
|
default: () => {};
|
|
1897
1927
|
};
|
|
1898
|
-
|
|
1899
|
-
type: PropType<
|
|
1928
|
+
collapseDuration: {
|
|
1929
|
+
type: PropType<number>;
|
|
1930
|
+
default: undefined;
|
|
1931
|
+
};
|
|
1932
|
+
collapseTransition: {
|
|
1933
|
+
type: PropType<boolean>;
|
|
1934
|
+
default: undefined;
|
|
1935
|
+
};
|
|
1936
|
+
rowProps: {
|
|
1937
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1900
1938
|
style?: CSSProperties | undefined;
|
|
1901
1939
|
class?: any;
|
|
1902
1940
|
} & RecordType>>;
|
|
1903
1941
|
default: () => {};
|
|
1904
1942
|
};
|
|
1943
|
+
defaultValues: {
|
|
1944
|
+
type: PropType<FieldValues>;
|
|
1945
|
+
default: () => {};
|
|
1946
|
+
};
|
|
1905
1947
|
hasErrorTip: {
|
|
1906
1948
|
type: PropType<boolean>;
|
|
1907
1949
|
default: boolean;
|
|
@@ -1927,7 +1969,7 @@ export declare const PlusSearch: {
|
|
|
1927
1969
|
default: boolean;
|
|
1928
1970
|
};
|
|
1929
1971
|
footerAlign: {
|
|
1930
|
-
type: PropType<"
|
|
1972
|
+
type: PropType<"right" | "left" | "center">;
|
|
1931
1973
|
default: string;
|
|
1932
1974
|
};
|
|
1933
1975
|
cardProps: {
|
|
@@ -1941,10 +1983,6 @@ export declare const PlusSearch: {
|
|
|
1941
1983
|
type: PropType<boolean>;
|
|
1942
1984
|
default: boolean;
|
|
1943
1985
|
};
|
|
1944
|
-
clearable: {
|
|
1945
|
-
type: PropType<boolean>;
|
|
1946
|
-
default: boolean;
|
|
1947
|
-
};
|
|
1948
1986
|
}>> & {
|
|
1949
1987
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1950
1988
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -2245,38 +2283,39 @@ export declare const PlusSearch: {
|
|
|
2245
2283
|
submitError: (errors: unknown) => void;
|
|
2246
2284
|
validate: (...args: any[]) => void;
|
|
2247
2285
|
}, string, {
|
|
2248
|
-
modelValue: FieldValues;
|
|
2249
|
-
collapseDuration: number;
|
|
2250
|
-
collapseTransition: boolean;
|
|
2251
2286
|
columns: PlusColumn[];
|
|
2252
2287
|
group: false | PlusFormGroupRow[];
|
|
2288
|
+
layout: "grid" | "flex";
|
|
2289
|
+
modelValue: FieldValues;
|
|
2253
2290
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2254
2291
|
labelPosition: "top" | "right" | "left";
|
|
2255
2292
|
labelWidth: string | number;
|
|
2256
2293
|
labelSuffix: string;
|
|
2257
2294
|
hasLabel: boolean;
|
|
2258
|
-
|
|
2259
|
-
|
|
2295
|
+
clearable: boolean;
|
|
2296
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2260
2297
|
style?: CSSProperties | undefined;
|
|
2261
2298
|
class?: any;
|
|
2262
2299
|
} & RecordType>;
|
|
2263
|
-
|
|
2300
|
+
collapseDuration: number;
|
|
2301
|
+
collapseTransition: boolean;
|
|
2302
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2264
2303
|
style?: CSSProperties | undefined;
|
|
2265
2304
|
class?: any;
|
|
2266
2305
|
} & RecordType>;
|
|
2306
|
+
defaultValues: FieldValues;
|
|
2267
2307
|
hasErrorTip: boolean;
|
|
2268
2308
|
hasFooter: boolean;
|
|
2269
2309
|
hasReset: boolean;
|
|
2270
2310
|
submitText: string;
|
|
2271
2311
|
resetText: string;
|
|
2272
2312
|
submitLoading: boolean;
|
|
2273
|
-
footerAlign: "
|
|
2313
|
+
footerAlign: "right" | "left" | "center";
|
|
2274
2314
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2275
2315
|
style?: CSSProperties | undefined;
|
|
2276
2316
|
class?: any;
|
|
2277
2317
|
} & RecordType>;
|
|
2278
2318
|
prevent: boolean;
|
|
2279
|
-
clearable: boolean;
|
|
2280
2319
|
}, {}, string, {}> & {
|
|
2281
2320
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2282
2321
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -2298,18 +2337,6 @@ export declare const PlusSearch: {
|
|
|
2298
2337
|
$nextTick: nextTick;
|
|
2299
2338
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2300
2339
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2301
|
-
modelValue: {
|
|
2302
|
-
type: PropType<FieldValues>;
|
|
2303
|
-
default: () => {};
|
|
2304
|
-
};
|
|
2305
|
-
collapseDuration: {
|
|
2306
|
-
type: PropType<number>;
|
|
2307
|
-
default: undefined;
|
|
2308
|
-
};
|
|
2309
|
-
collapseTransition: {
|
|
2310
|
-
type: PropType<boolean>;
|
|
2311
|
-
default: undefined;
|
|
2312
|
-
};
|
|
2313
2340
|
columns: {
|
|
2314
2341
|
type: PropType< PlusColumn[]>;
|
|
2315
2342
|
default: () => never[];
|
|
@@ -2318,6 +2345,14 @@ export declare const PlusSearch: {
|
|
|
2318
2345
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2319
2346
|
default: boolean;
|
|
2320
2347
|
};
|
|
2348
|
+
layout: {
|
|
2349
|
+
type: PropType<"grid" | "flex">;
|
|
2350
|
+
default: string;
|
|
2351
|
+
};
|
|
2352
|
+
modelValue: {
|
|
2353
|
+
type: PropType<FieldValues>;
|
|
2354
|
+
default: () => {};
|
|
2355
|
+
};
|
|
2321
2356
|
rules: {
|
|
2322
2357
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2323
2358
|
default: () => {};
|
|
@@ -2334,13 +2369,28 @@ export declare const PlusSearch: {
|
|
|
2334
2369
|
type: PropType<string>;
|
|
2335
2370
|
default: string;
|
|
2336
2371
|
};
|
|
2337
|
-
hasLabel: {
|
|
2338
|
-
type: PropType<boolean>;
|
|
2339
|
-
default: boolean;
|
|
2372
|
+
hasLabel: {
|
|
2373
|
+
type: PropType<boolean>;
|
|
2374
|
+
default: boolean;
|
|
2375
|
+
};
|
|
2376
|
+
clearable: {
|
|
2377
|
+
type: PropType<boolean>;
|
|
2378
|
+
default: boolean;
|
|
2379
|
+
};
|
|
2380
|
+
colProps: {
|
|
2381
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2382
|
+
style?: CSSProperties | undefined;
|
|
2383
|
+
class?: any;
|
|
2384
|
+
} & RecordType>>;
|
|
2385
|
+
default: () => {};
|
|
2386
|
+
};
|
|
2387
|
+
collapseDuration: {
|
|
2388
|
+
type: PropType<number>;
|
|
2389
|
+
default: undefined;
|
|
2340
2390
|
};
|
|
2341
|
-
|
|
2342
|
-
type: PropType<
|
|
2343
|
-
default:
|
|
2391
|
+
collapseTransition: {
|
|
2392
|
+
type: PropType<boolean>;
|
|
2393
|
+
default: undefined;
|
|
2344
2394
|
};
|
|
2345
2395
|
rowProps: {
|
|
2346
2396
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
@@ -2349,11 +2399,8 @@ export declare const PlusSearch: {
|
|
|
2349
2399
|
} & RecordType>>;
|
|
2350
2400
|
default: () => {};
|
|
2351
2401
|
};
|
|
2352
|
-
|
|
2353
|
-
type: PropType<
|
|
2354
|
-
style?: CSSProperties | undefined;
|
|
2355
|
-
class?: any;
|
|
2356
|
-
} & RecordType>>;
|
|
2402
|
+
defaultValues: {
|
|
2403
|
+
type: PropType<FieldValues>;
|
|
2357
2404
|
default: () => {};
|
|
2358
2405
|
};
|
|
2359
2406
|
hasErrorTip: {
|
|
@@ -2381,7 +2428,7 @@ export declare const PlusSearch: {
|
|
|
2381
2428
|
default: boolean;
|
|
2382
2429
|
};
|
|
2383
2430
|
footerAlign: {
|
|
2384
|
-
type: PropType<"
|
|
2431
|
+
type: PropType<"right" | "left" | "center">;
|
|
2385
2432
|
default: string;
|
|
2386
2433
|
};
|
|
2387
2434
|
cardProps: {
|
|
@@ -2395,10 +2442,6 @@ export declare const PlusSearch: {
|
|
|
2395
2442
|
type: PropType<boolean>;
|
|
2396
2443
|
default: boolean;
|
|
2397
2444
|
};
|
|
2398
|
-
clearable: {
|
|
2399
|
-
type: PropType<boolean>;
|
|
2400
|
-
default: boolean;
|
|
2401
|
-
};
|
|
2402
2445
|
}>> & {
|
|
2403
2446
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2404
2447
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -2704,14 +2747,14 @@ export declare const PlusSearch: {
|
|
|
2704
2747
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2705
2748
|
columns?: PlusColumn[] | undefined;
|
|
2706
2749
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2707
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
2750
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
2708
2751
|
readonly label: string | ComputedRef<string>;
|
|
2709
|
-
readonly modelValue: string | number | boolean |
|
|
2752
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2710
2753
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2711
|
-
readonly tooltip: string |
|
|
2754
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2712
2755
|
style?: CSSProperties | undefined;
|
|
2713
2756
|
class?: any;
|
|
2714
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2757
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2715
2758
|
style?: CSSProperties | undefined;
|
|
2716
2759
|
class?: any;
|
|
2717
2760
|
} & RecordType>>;
|
|
@@ -2733,7 +2776,7 @@ export declare const PlusSearch: {
|
|
|
2733
2776
|
};
|
|
2734
2777
|
rows: number;
|
|
2735
2778
|
autocomplete: string;
|
|
2736
|
-
type: "" | "number" | "default" | "
|
|
2779
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2737
2780
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2738
2781
|
step: string | number;
|
|
2739
2782
|
format: string | ProgressFn | undefined;
|
|
@@ -2778,12 +2821,12 @@ export declare const PlusSearch: {
|
|
|
2778
2821
|
fieldInstance?: any;
|
|
2779
2822
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2780
2823
|
prop: string;
|
|
2781
|
-
modelValue: string | number | boolean |
|
|
2824
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2782
2825
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2783
|
-
tooltip: string |
|
|
2826
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2784
2827
|
style?: CSSProperties | undefined;
|
|
2785
2828
|
class?: any;
|
|
2786
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2829
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2787
2830
|
style?: CSSProperties | undefined;
|
|
2788
2831
|
class?: any;
|
|
2789
2832
|
} & RecordType>>;
|
|
@@ -2812,14 +2855,14 @@ export declare const PlusSearch: {
|
|
|
2812
2855
|
clearable: boolean;
|
|
2813
2856
|
index: number;
|
|
2814
2857
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2815
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
2858
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
2816
2859
|
readonly label: string | ComputedRef<string>;
|
|
2817
|
-
readonly modelValue: string | number | boolean |
|
|
2860
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2818
2861
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2819
|
-
readonly tooltip: string |
|
|
2862
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2820
2863
|
style?: CSSProperties | undefined;
|
|
2821
2864
|
class?: any;
|
|
2822
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2865
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2823
2866
|
style?: CSSProperties | undefined;
|
|
2824
2867
|
class?: any;
|
|
2825
2868
|
} & RecordType>>;
|
|
@@ -2841,7 +2884,7 @@ export declare const PlusSearch: {
|
|
|
2841
2884
|
};
|
|
2842
2885
|
rows: number;
|
|
2843
2886
|
autocomplete: string;
|
|
2844
|
-
type: "" | "number" | "default" | "
|
|
2887
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2845
2888
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2846
2889
|
step: string | number;
|
|
2847
2890
|
format: string | ProgressFn | undefined;
|
|
@@ -2886,12 +2929,12 @@ export declare const PlusSearch: {
|
|
|
2886
2929
|
fieldInstance?: any;
|
|
2887
2930
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2888
2931
|
prop: string;
|
|
2889
|
-
modelValue: string | number | boolean |
|
|
2932
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2890
2933
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2891
|
-
tooltip: string |
|
|
2934
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2892
2935
|
style?: CSSProperties | undefined;
|
|
2893
2936
|
class?: any;
|
|
2894
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2937
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2895
2938
|
style?: CSSProperties | undefined;
|
|
2896
2939
|
class?: any;
|
|
2897
2940
|
} & RecordType>>;
|
|
@@ -2937,20 +2980,21 @@ export declare const PlusSearch: {
|
|
|
2937
2980
|
handleSearch: () => void;
|
|
2938
2981
|
handleUnfold: (e: MouseEvent) => void;
|
|
2939
2982
|
}, {}, {}, {}, {
|
|
2940
|
-
modelValue: FieldValues;
|
|
2941
2983
|
columns: PlusColumn[];
|
|
2984
|
+
layout: "grid" | "flex";
|
|
2985
|
+
modelValue: FieldValues;
|
|
2942
2986
|
labelPosition: "top" | "right" | "left";
|
|
2943
2987
|
inline: boolean;
|
|
2944
2988
|
showNumber: number;
|
|
2945
|
-
|
|
2946
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2989
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2947
2990
|
style?: CSSProperties | undefined;
|
|
2948
2991
|
class?: any;
|
|
2949
2992
|
} & RecordType>;
|
|
2950
|
-
|
|
2993
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2951
2994
|
style?: CSSProperties | undefined;
|
|
2952
2995
|
class?: any;
|
|
2953
2996
|
} & RecordType>;
|
|
2997
|
+
defaultValues: FieldValues;
|
|
2954
2998
|
hasFooter: boolean;
|
|
2955
2999
|
hasReset: boolean;
|
|
2956
3000
|
resetText: string;
|
|
@@ -2968,14 +3012,18 @@ export declare const PlusSearch: {
|
|
|
2968
3012
|
__isTeleport?: undefined;
|
|
2969
3013
|
__isSuspense?: undefined;
|
|
2970
3014
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2971
|
-
modelValue: {
|
|
2972
|
-
type: PropType<FieldValues>;
|
|
2973
|
-
default: () => {};
|
|
2974
|
-
};
|
|
2975
3015
|
columns: {
|
|
2976
3016
|
type: PropType< PlusColumn[]>;
|
|
2977
3017
|
default: () => never[];
|
|
2978
3018
|
};
|
|
3019
|
+
layout: {
|
|
3020
|
+
type: PropType<"grid" | "flex">;
|
|
3021
|
+
default: "flex";
|
|
3022
|
+
};
|
|
3023
|
+
modelValue: {
|
|
3024
|
+
type: PropType<FieldValues>;
|
|
3025
|
+
default: () => {};
|
|
3026
|
+
};
|
|
2979
3027
|
labelPosition: {
|
|
2980
3028
|
type: PropType<"top" | "right" | "left">;
|
|
2981
3029
|
default: undefined;
|
|
@@ -2988,19 +3036,6 @@ export declare const PlusSearch: {
|
|
|
2988
3036
|
type: PropType<number>;
|
|
2989
3037
|
default: number;
|
|
2990
3038
|
};
|
|
2991
|
-
defaultValues: {
|
|
2992
|
-
type: PropType<FieldValues>;
|
|
2993
|
-
default: () => {};
|
|
2994
|
-
};
|
|
2995
|
-
rowProps: {
|
|
2996
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
2997
|
-
style?: CSSProperties | undefined;
|
|
2998
|
-
class?: any;
|
|
2999
|
-
} & RecordType>>;
|
|
3000
|
-
default: () => {
|
|
3001
|
-
gutter: number;
|
|
3002
|
-
};
|
|
3003
|
-
};
|
|
3004
3039
|
colProps: {
|
|
3005
3040
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
3006
3041
|
style?: CSSProperties | undefined;
|
|
@@ -3014,6 +3049,19 @@ export declare const PlusSearch: {
|
|
|
3014
3049
|
xl: number;
|
|
3015
3050
|
};
|
|
3016
3051
|
};
|
|
3052
|
+
rowProps: {
|
|
3053
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
3054
|
+
style?: CSSProperties | undefined;
|
|
3055
|
+
class?: any;
|
|
3056
|
+
} & RecordType>>;
|
|
3057
|
+
default: () => {
|
|
3058
|
+
gutter: number;
|
|
3059
|
+
};
|
|
3060
|
+
};
|
|
3061
|
+
defaultValues: {
|
|
3062
|
+
type: PropType<FieldValues>;
|
|
3063
|
+
default: () => {};
|
|
3064
|
+
};
|
|
3017
3065
|
hasFooter: {
|
|
3018
3066
|
type: PropType<boolean>;
|
|
3019
3067
|
default: boolean;
|
|
@@ -3073,69 +3121,71 @@ export declare const PlusSearch: {
|
|
|
3073
3121
|
$: ComponentInternalInstance;
|
|
3074
3122
|
$data: {};
|
|
3075
3123
|
$props: Partial<{
|
|
3076
|
-
modelValue: FieldValues;
|
|
3077
|
-
collapseDuration: number;
|
|
3078
|
-
collapseTransition: boolean;
|
|
3079
3124
|
columns: PlusColumn[];
|
|
3080
3125
|
group: false | PlusFormGroupRow[];
|
|
3126
|
+
layout: "grid" | "flex";
|
|
3127
|
+
modelValue: FieldValues;
|
|
3081
3128
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3082
3129
|
labelPosition: "top" | "right" | "left";
|
|
3083
3130
|
labelWidth: string | number;
|
|
3084
3131
|
labelSuffix: string;
|
|
3085
3132
|
hasLabel: boolean;
|
|
3086
|
-
|
|
3087
|
-
|
|
3133
|
+
clearable: boolean;
|
|
3134
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
3088
3135
|
style?: CSSProperties | undefined;
|
|
3089
3136
|
class?: any;
|
|
3090
3137
|
} & RecordType>;
|
|
3091
|
-
|
|
3138
|
+
collapseDuration: number;
|
|
3139
|
+
collapseTransition: boolean;
|
|
3140
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
3092
3141
|
style?: CSSProperties | undefined;
|
|
3093
3142
|
class?: any;
|
|
3094
3143
|
} & RecordType>;
|
|
3144
|
+
defaultValues: FieldValues;
|
|
3095
3145
|
hasErrorTip: boolean;
|
|
3096
3146
|
hasFooter: boolean;
|
|
3097
3147
|
hasReset: boolean;
|
|
3098
3148
|
submitText: string;
|
|
3099
3149
|
resetText: string;
|
|
3100
3150
|
submitLoading: boolean;
|
|
3101
|
-
footerAlign: "
|
|
3151
|
+
footerAlign: "right" | "left" | "center";
|
|
3102
3152
|
cardProps: Partial< Mutable<CardProps> & {
|
|
3103
3153
|
style?: CSSProperties | undefined;
|
|
3104
3154
|
class?: any;
|
|
3105
3155
|
} & RecordType>;
|
|
3106
3156
|
prevent: boolean;
|
|
3107
|
-
clearable: boolean;
|
|
3108
3157
|
}> & Omit<{
|
|
3109
|
-
readonly modelValue: FieldValues;
|
|
3110
3158
|
readonly columns: PlusColumn[];
|
|
3111
3159
|
readonly group: false | PlusFormGroupRow[];
|
|
3160
|
+
readonly layout: "grid" | "flex";
|
|
3161
|
+
readonly modelValue: FieldValues;
|
|
3112
3162
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3113
3163
|
readonly labelPosition: "top" | "right" | "left";
|
|
3114
3164
|
readonly labelWidth: string | number;
|
|
3115
3165
|
readonly labelSuffix: string;
|
|
3116
3166
|
readonly hasLabel: boolean;
|
|
3117
|
-
readonly
|
|
3118
|
-
readonly
|
|
3167
|
+
readonly clearable: boolean;
|
|
3168
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
3119
3169
|
style?: CSSProperties | undefined;
|
|
3120
3170
|
class?: any;
|
|
3121
3171
|
} & RecordType>;
|
|
3122
|
-
readonly
|
|
3172
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
3123
3173
|
style?: CSSProperties | undefined;
|
|
3124
3174
|
class?: any;
|
|
3125
3175
|
} & RecordType>;
|
|
3176
|
+
readonly defaultValues: FieldValues;
|
|
3126
3177
|
readonly hasErrorTip: boolean;
|
|
3127
3178
|
readonly hasFooter: boolean;
|
|
3128
3179
|
readonly hasReset: boolean;
|
|
3129
3180
|
readonly submitText: string;
|
|
3130
3181
|
readonly resetText: string;
|
|
3131
3182
|
readonly submitLoading: boolean;
|
|
3132
|
-
readonly footerAlign: "
|
|
3183
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
3133
3184
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
3134
3185
|
style?: CSSProperties | undefined;
|
|
3135
3186
|
class?: any;
|
|
3136
3187
|
} & RecordType>;
|
|
3137
3188
|
readonly prevent: boolean;
|
|
3138
|
-
readonly clearable: boolean;
|
|
3139
3189
|
readonly collapseDuration?: number | undefined;
|
|
3140
3190
|
readonly collapseTransition?: boolean | undefined;
|
|
3141
3191
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -3145,18 +3195,6 @@ export declare const PlusSearch: {
|
|
|
3145
3195
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3146
3196
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3147
3197
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3148
|
-
modelValue: {
|
|
3149
|
-
type: PropType<FieldValues>;
|
|
3150
|
-
default: () => {};
|
|
3151
|
-
};
|
|
3152
|
-
collapseDuration: {
|
|
3153
|
-
type: PropType<number>;
|
|
3154
|
-
default: undefined;
|
|
3155
|
-
};
|
|
3156
|
-
collapseTransition: {
|
|
3157
|
-
type: PropType<boolean>;
|
|
3158
|
-
default: undefined;
|
|
3159
|
-
};
|
|
3160
3198
|
columns: {
|
|
3161
3199
|
type: PropType< PlusColumn[]>;
|
|
3162
3200
|
default: () => never[];
|
|
@@ -3165,6 +3203,14 @@ export declare const PlusSearch: {
|
|
|
3165
3203
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3166
3204
|
default: boolean;
|
|
3167
3205
|
};
|
|
3206
|
+
layout: {
|
|
3207
|
+
type: PropType<"grid" | "flex">;
|
|
3208
|
+
default: string;
|
|
3209
|
+
};
|
|
3210
|
+
modelValue: {
|
|
3211
|
+
type: PropType<FieldValues>;
|
|
3212
|
+
default: () => {};
|
|
3213
|
+
};
|
|
3168
3214
|
rules: {
|
|
3169
3215
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3170
3216
|
default: () => {};
|
|
@@ -3185,24 +3231,36 @@ export declare const PlusSearch: {
|
|
|
3185
3231
|
type: PropType<boolean>;
|
|
3186
3232
|
default: boolean;
|
|
3187
3233
|
};
|
|
3188
|
-
|
|
3189
|
-
type: PropType<
|
|
3190
|
-
default:
|
|
3234
|
+
clearable: {
|
|
3235
|
+
type: PropType<boolean>;
|
|
3236
|
+
default: boolean;
|
|
3191
3237
|
};
|
|
3192
|
-
|
|
3193
|
-
type: PropType<Partial< Mutable<
|
|
3238
|
+
colProps: {
|
|
3239
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
3194
3240
|
style?: CSSProperties | undefined;
|
|
3195
3241
|
class?: any;
|
|
3196
3242
|
} & RecordType>>;
|
|
3197
3243
|
default: () => {};
|
|
3198
3244
|
};
|
|
3199
|
-
|
|
3200
|
-
type: PropType<
|
|
3245
|
+
collapseDuration: {
|
|
3246
|
+
type: PropType<number>;
|
|
3247
|
+
default: undefined;
|
|
3248
|
+
};
|
|
3249
|
+
collapseTransition: {
|
|
3250
|
+
type: PropType<boolean>;
|
|
3251
|
+
default: undefined;
|
|
3252
|
+
};
|
|
3253
|
+
rowProps: {
|
|
3254
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
3201
3255
|
style?: CSSProperties | undefined;
|
|
3202
3256
|
class?: any;
|
|
3203
3257
|
} & RecordType>>;
|
|
3204
3258
|
default: () => {};
|
|
3205
3259
|
};
|
|
3260
|
+
defaultValues: {
|
|
3261
|
+
type: PropType<FieldValues>;
|
|
3262
|
+
default: () => {};
|
|
3263
|
+
};
|
|
3206
3264
|
hasErrorTip: {
|
|
3207
3265
|
type: PropType<boolean>;
|
|
3208
3266
|
default: boolean;
|
|
@@ -3228,7 +3286,7 @@ export declare const PlusSearch: {
|
|
|
3228
3286
|
default: boolean;
|
|
3229
3287
|
};
|
|
3230
3288
|
footerAlign: {
|
|
3231
|
-
type: PropType<"
|
|
3289
|
+
type: PropType<"right" | "left" | "center">;
|
|
3232
3290
|
default: string;
|
|
3233
3291
|
};
|
|
3234
3292
|
cardProps: {
|
|
@@ -3242,10 +3300,6 @@ export declare const PlusSearch: {
|
|
|
3242
3300
|
type: PropType<boolean>;
|
|
3243
3301
|
default: boolean;
|
|
3244
3302
|
};
|
|
3245
|
-
clearable: {
|
|
3246
|
-
type: PropType<boolean>;
|
|
3247
|
-
default: boolean;
|
|
3248
|
-
};
|
|
3249
3303
|
}>> & {
|
|
3250
3304
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3251
3305
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -3253,7 +3307,7 @@ export declare const PlusSearch: {
|
|
|
3253
3307
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3254
3308
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3255
3309
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3256
|
-
}, "
|
|
3310
|
+
}, "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
3257
3311
|
$attrs: {
|
|
3258
3312
|
[x: string]: unknown;
|
|
3259
3313
|
};
|
|
@@ -3265,21 +3319,9 @@ export declare const PlusSearch: {
|
|
|
3265
3319
|
}>;
|
|
3266
3320
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3267
3321
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3268
|
-
$emit: ((event: "
|
|
3322
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
3269
3323
|
$el: any;
|
|
3270
3324
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3271
|
-
modelValue: {
|
|
3272
|
-
type: PropType<FieldValues>;
|
|
3273
|
-
default: () => {};
|
|
3274
|
-
};
|
|
3275
|
-
collapseDuration: {
|
|
3276
|
-
type: PropType<number>;
|
|
3277
|
-
default: undefined;
|
|
3278
|
-
};
|
|
3279
|
-
collapseTransition: {
|
|
3280
|
-
type: PropType<boolean>;
|
|
3281
|
-
default: undefined;
|
|
3282
|
-
};
|
|
3283
3325
|
columns: {
|
|
3284
3326
|
type: PropType< PlusColumn[]>;
|
|
3285
3327
|
default: () => never[];
|
|
@@ -3288,6 +3330,14 @@ export declare const PlusSearch: {
|
|
|
3288
3330
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3289
3331
|
default: boolean;
|
|
3290
3332
|
};
|
|
3333
|
+
layout: {
|
|
3334
|
+
type: PropType<"grid" | "flex">;
|
|
3335
|
+
default: string;
|
|
3336
|
+
};
|
|
3337
|
+
modelValue: {
|
|
3338
|
+
type: PropType<FieldValues>;
|
|
3339
|
+
default: () => {};
|
|
3340
|
+
};
|
|
3291
3341
|
rules: {
|
|
3292
3342
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3293
3343
|
default: () => {};
|
|
@@ -3308,24 +3358,36 @@ export declare const PlusSearch: {
|
|
|
3308
3358
|
type: PropType<boolean>;
|
|
3309
3359
|
default: boolean;
|
|
3310
3360
|
};
|
|
3311
|
-
|
|
3312
|
-
type: PropType<
|
|
3313
|
-
default:
|
|
3361
|
+
clearable: {
|
|
3362
|
+
type: PropType<boolean>;
|
|
3363
|
+
default: boolean;
|
|
3314
3364
|
};
|
|
3315
|
-
|
|
3316
|
-
type: PropType<Partial< Mutable<
|
|
3365
|
+
colProps: {
|
|
3366
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
3317
3367
|
style?: CSSProperties | undefined;
|
|
3318
3368
|
class?: any;
|
|
3319
3369
|
} & RecordType>>;
|
|
3320
3370
|
default: () => {};
|
|
3321
3371
|
};
|
|
3322
|
-
|
|
3323
|
-
type: PropType<
|
|
3372
|
+
collapseDuration: {
|
|
3373
|
+
type: PropType<number>;
|
|
3374
|
+
default: undefined;
|
|
3375
|
+
};
|
|
3376
|
+
collapseTransition: {
|
|
3377
|
+
type: PropType<boolean>;
|
|
3378
|
+
default: undefined;
|
|
3379
|
+
};
|
|
3380
|
+
rowProps: {
|
|
3381
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
3324
3382
|
style?: CSSProperties | undefined;
|
|
3325
3383
|
class?: any;
|
|
3326
3384
|
} & RecordType>>;
|
|
3327
3385
|
default: () => {};
|
|
3328
3386
|
};
|
|
3387
|
+
defaultValues: {
|
|
3388
|
+
type: PropType<FieldValues>;
|
|
3389
|
+
default: () => {};
|
|
3390
|
+
};
|
|
3329
3391
|
hasErrorTip: {
|
|
3330
3392
|
type: PropType<boolean>;
|
|
3331
3393
|
default: boolean;
|
|
@@ -3351,7 +3413,7 @@ export declare const PlusSearch: {
|
|
|
3351
3413
|
default: boolean;
|
|
3352
3414
|
};
|
|
3353
3415
|
footerAlign: {
|
|
3354
|
-
type: PropType<"
|
|
3416
|
+
type: PropType<"right" | "left" | "center">;
|
|
3355
3417
|
default: string;
|
|
3356
3418
|
};
|
|
3357
3419
|
cardProps: {
|
|
@@ -3365,10 +3427,6 @@ export declare const PlusSearch: {
|
|
|
3365
3427
|
type: PropType<boolean>;
|
|
3366
3428
|
default: boolean;
|
|
3367
3429
|
};
|
|
3368
|
-
clearable: {
|
|
3369
|
-
type: PropType<boolean>;
|
|
3370
|
-
default: boolean;
|
|
3371
|
-
};
|
|
3372
3430
|
}>> & {
|
|
3373
3431
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3374
3432
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -3669,38 +3727,39 @@ export declare const PlusSearch: {
|
|
|
3669
3727
|
submitError: (errors: unknown) => void;
|
|
3670
3728
|
validate: (...args: any[]) => void;
|
|
3671
3729
|
}, string, {
|
|
3672
|
-
modelValue: FieldValues;
|
|
3673
|
-
collapseDuration: number;
|
|
3674
|
-
collapseTransition: boolean;
|
|
3675
3730
|
columns: PlusColumn[];
|
|
3676
3731
|
group: false | PlusFormGroupRow[];
|
|
3732
|
+
layout: "grid" | "flex";
|
|
3733
|
+
modelValue: FieldValues;
|
|
3677
3734
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3678
3735
|
labelPosition: "top" | "right" | "left";
|
|
3679
3736
|
labelWidth: string | number;
|
|
3680
3737
|
labelSuffix: string;
|
|
3681
3738
|
hasLabel: boolean;
|
|
3682
|
-
|
|
3683
|
-
|
|
3739
|
+
clearable: boolean;
|
|
3740
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
3684
3741
|
style?: CSSProperties | undefined;
|
|
3685
3742
|
class?: any;
|
|
3686
3743
|
} & RecordType>;
|
|
3687
|
-
|
|
3744
|
+
collapseDuration: number;
|
|
3745
|
+
collapseTransition: boolean;
|
|
3746
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
3688
3747
|
style?: CSSProperties | undefined;
|
|
3689
3748
|
class?: any;
|
|
3690
3749
|
} & RecordType>;
|
|
3750
|
+
defaultValues: FieldValues;
|
|
3691
3751
|
hasErrorTip: boolean;
|
|
3692
3752
|
hasFooter: boolean;
|
|
3693
3753
|
hasReset: boolean;
|
|
3694
3754
|
submitText: string;
|
|
3695
3755
|
resetText: string;
|
|
3696
3756
|
submitLoading: boolean;
|
|
3697
|
-
footerAlign: "
|
|
3757
|
+
footerAlign: "right" | "left" | "center";
|
|
3698
3758
|
cardProps: Partial< Mutable<CardProps> & {
|
|
3699
3759
|
style?: CSSProperties | undefined;
|
|
3700
3760
|
class?: any;
|
|
3701
3761
|
} & RecordType>;
|
|
3702
3762
|
prevent: boolean;
|
|
3703
|
-
clearable: boolean;
|
|
3704
3763
|
}, {}, string, {}> & {
|
|
3705
3764
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
3706
3765
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -3722,18 +3781,6 @@ export declare const PlusSearch: {
|
|
|
3722
3781
|
$nextTick: nextTick;
|
|
3723
3782
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
3724
3783
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
3725
|
-
modelValue: {
|
|
3726
|
-
type: PropType<FieldValues>;
|
|
3727
|
-
default: () => {};
|
|
3728
|
-
};
|
|
3729
|
-
collapseDuration: {
|
|
3730
|
-
type: PropType<number>;
|
|
3731
|
-
default: undefined;
|
|
3732
|
-
};
|
|
3733
|
-
collapseTransition: {
|
|
3734
|
-
type: PropType<boolean>;
|
|
3735
|
-
default: undefined;
|
|
3736
|
-
};
|
|
3737
3784
|
columns: {
|
|
3738
3785
|
type: PropType< PlusColumn[]>;
|
|
3739
3786
|
default: () => never[];
|
|
@@ -3742,6 +3789,14 @@ export declare const PlusSearch: {
|
|
|
3742
3789
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3743
3790
|
default: boolean;
|
|
3744
3791
|
};
|
|
3792
|
+
layout: {
|
|
3793
|
+
type: PropType<"grid" | "flex">;
|
|
3794
|
+
default: string;
|
|
3795
|
+
};
|
|
3796
|
+
modelValue: {
|
|
3797
|
+
type: PropType<FieldValues>;
|
|
3798
|
+
default: () => {};
|
|
3799
|
+
};
|
|
3745
3800
|
rules: {
|
|
3746
3801
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3747
3802
|
default: () => {};
|
|
@@ -3762,24 +3817,36 @@ export declare const PlusSearch: {
|
|
|
3762
3817
|
type: PropType<boolean>;
|
|
3763
3818
|
default: boolean;
|
|
3764
3819
|
};
|
|
3765
|
-
|
|
3766
|
-
type: PropType<
|
|
3767
|
-
default:
|
|
3820
|
+
clearable: {
|
|
3821
|
+
type: PropType<boolean>;
|
|
3822
|
+
default: boolean;
|
|
3768
3823
|
};
|
|
3769
|
-
|
|
3770
|
-
type: PropType<Partial< Mutable<
|
|
3824
|
+
colProps: {
|
|
3825
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
3771
3826
|
style?: CSSProperties | undefined;
|
|
3772
3827
|
class?: any;
|
|
3773
3828
|
} & RecordType>>;
|
|
3774
3829
|
default: () => {};
|
|
3775
3830
|
};
|
|
3776
|
-
|
|
3777
|
-
type: PropType<
|
|
3831
|
+
collapseDuration: {
|
|
3832
|
+
type: PropType<number>;
|
|
3833
|
+
default: undefined;
|
|
3834
|
+
};
|
|
3835
|
+
collapseTransition: {
|
|
3836
|
+
type: PropType<boolean>;
|
|
3837
|
+
default: undefined;
|
|
3838
|
+
};
|
|
3839
|
+
rowProps: {
|
|
3840
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
3778
3841
|
style?: CSSProperties | undefined;
|
|
3779
3842
|
class?: any;
|
|
3780
3843
|
} & RecordType>>;
|
|
3781
3844
|
default: () => {};
|
|
3782
3845
|
};
|
|
3846
|
+
defaultValues: {
|
|
3847
|
+
type: PropType<FieldValues>;
|
|
3848
|
+
default: () => {};
|
|
3849
|
+
};
|
|
3783
3850
|
hasErrorTip: {
|
|
3784
3851
|
type: PropType<boolean>;
|
|
3785
3852
|
default: boolean;
|
|
@@ -3805,7 +3872,7 @@ export declare const PlusSearch: {
|
|
|
3805
3872
|
default: boolean;
|
|
3806
3873
|
};
|
|
3807
3874
|
footerAlign: {
|
|
3808
|
-
type: PropType<"
|
|
3875
|
+
type: PropType<"right" | "left" | "center">;
|
|
3809
3876
|
default: string;
|
|
3810
3877
|
};
|
|
3811
3878
|
cardProps: {
|
|
@@ -3819,10 +3886,6 @@ export declare const PlusSearch: {
|
|
|
3819
3886
|
type: PropType<boolean>;
|
|
3820
3887
|
default: boolean;
|
|
3821
3888
|
};
|
|
3822
|
-
clearable: {
|
|
3823
|
-
type: PropType<boolean>;
|
|
3824
|
-
default: boolean;
|
|
3825
|
-
};
|
|
3826
3889
|
}>> & {
|
|
3827
3890
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3828
3891
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -4128,14 +4191,14 @@ export declare const PlusSearch: {
|
|
|
4128
4191
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
4129
4192
|
columns?: PlusColumn[] | undefined;
|
|
4130
4193
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4131
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
4194
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
4132
4195
|
readonly label: string | ComputedRef<string>;
|
|
4133
|
-
readonly modelValue: string | number | boolean |
|
|
4196
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
4134
4197
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4135
|
-
readonly tooltip: string |
|
|
4198
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4136
4199
|
style?: CSSProperties | undefined;
|
|
4137
4200
|
class?: any;
|
|
4138
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4201
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4139
4202
|
style?: CSSProperties | undefined;
|
|
4140
4203
|
class?: any;
|
|
4141
4204
|
} & RecordType>>;
|
|
@@ -4157,7 +4220,7 @@ export declare const PlusSearch: {
|
|
|
4157
4220
|
};
|
|
4158
4221
|
rows: number;
|
|
4159
4222
|
autocomplete: string;
|
|
4160
|
-
type: "" | "number" | "default" | "
|
|
4223
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
4161
4224
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4162
4225
|
step: string | number;
|
|
4163
4226
|
format: string | ProgressFn | undefined;
|
|
@@ -4202,12 +4265,12 @@ export declare const PlusSearch: {
|
|
|
4202
4265
|
fieldInstance?: any;
|
|
4203
4266
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4204
4267
|
prop: string;
|
|
4205
|
-
modelValue: string | number | boolean |
|
|
4268
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
4206
4269
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4207
|
-
tooltip: string |
|
|
4270
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4208
4271
|
style?: CSSProperties | undefined;
|
|
4209
4272
|
class?: any;
|
|
4210
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4273
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4211
4274
|
style?: CSSProperties | undefined;
|
|
4212
4275
|
class?: any;
|
|
4213
4276
|
} & RecordType>>;
|
|
@@ -4236,14 +4299,14 @@ export declare const PlusSearch: {
|
|
|
4236
4299
|
clearable: boolean;
|
|
4237
4300
|
index: number;
|
|
4238
4301
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4239
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
4302
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
4240
4303
|
readonly label: string | ComputedRef<string>;
|
|
4241
|
-
readonly modelValue: string | number | boolean |
|
|
4304
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
4242
4305
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4243
|
-
readonly tooltip: string |
|
|
4306
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4244
4307
|
style?: CSSProperties | undefined;
|
|
4245
4308
|
class?: any;
|
|
4246
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4309
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4247
4310
|
style?: CSSProperties | undefined;
|
|
4248
4311
|
class?: any;
|
|
4249
4312
|
} & RecordType>>;
|
|
@@ -4265,7 +4328,7 @@ export declare const PlusSearch: {
|
|
|
4265
4328
|
};
|
|
4266
4329
|
rows: number;
|
|
4267
4330
|
autocomplete: string;
|
|
4268
|
-
type: "" | "number" | "default" | "
|
|
4331
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
4269
4332
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4270
4333
|
step: string | number;
|
|
4271
4334
|
format: string | ProgressFn | undefined;
|
|
@@ -4310,12 +4373,12 @@ export declare const PlusSearch: {
|
|
|
4310
4373
|
fieldInstance?: any;
|
|
4311
4374
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4312
4375
|
prop: string;
|
|
4313
|
-
modelValue: string | number | boolean |
|
|
4376
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
4314
4377
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4315
|
-
tooltip: string |
|
|
4378
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4316
4379
|
style?: CSSProperties | undefined;
|
|
4317
4380
|
class?: any;
|
|
4318
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4381
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4319
4382
|
style?: CSSProperties | undefined;
|
|
4320
4383
|
class?: any;
|
|
4321
4384
|
} & RecordType>>;
|
|
@@ -4367,20 +4430,21 @@ export declare const PlusSearch: {
|
|
|
4367
4430
|
reset: (values: FieldValues) => void;
|
|
4368
4431
|
collapse: (isShowUnfold: boolean) => void;
|
|
4369
4432
|
}, string, {
|
|
4370
|
-
modelValue: FieldValues;
|
|
4371
4433
|
columns: PlusColumn[];
|
|
4434
|
+
layout: "grid" | "flex";
|
|
4435
|
+
modelValue: FieldValues;
|
|
4372
4436
|
labelPosition: "top" | "right" | "left";
|
|
4373
4437
|
inline: boolean;
|
|
4374
4438
|
showNumber: number;
|
|
4375
|
-
|
|
4376
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
4439
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
4377
4440
|
style?: CSSProperties | undefined;
|
|
4378
4441
|
class?: any;
|
|
4379
4442
|
} & RecordType>;
|
|
4380
|
-
|
|
4443
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
4381
4444
|
style?: CSSProperties | undefined;
|
|
4382
4445
|
class?: any;
|
|
4383
4446
|
} & RecordType>;
|
|
4447
|
+
defaultValues: FieldValues;
|
|
4384
4448
|
hasFooter: boolean;
|
|
4385
4449
|
hasReset: boolean;
|
|
4386
4450
|
resetText: string;
|
|
@@ -4395,14 +4459,14 @@ export declare const PlusSearch: {
|
|
|
4395
4459
|
resetIcon: Component | null;
|
|
4396
4460
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
4397
4461
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
4398
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
4462
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
4399
4463
|
readonly label: string | ComputedRef<string>;
|
|
4400
|
-
readonly modelValue: string | number | boolean |
|
|
4464
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
4401
4465
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4402
|
-
readonly tooltip: string |
|
|
4466
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4403
4467
|
style?: CSSProperties | undefined;
|
|
4404
4468
|
class?: any;
|
|
4405
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4469
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4406
4470
|
style?: CSSProperties | undefined;
|
|
4407
4471
|
class?: any;
|
|
4408
4472
|
} & RecordType>>;
|
|
@@ -4424,7 +4488,7 @@ export declare const PlusSearch: {
|
|
|
4424
4488
|
};
|
|
4425
4489
|
rows: number;
|
|
4426
4490
|
autocomplete: string;
|
|
4427
|
-
type: "" | "number" | "default" | "
|
|
4491
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
4428
4492
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4429
4493
|
step: string | number;
|
|
4430
4494
|
format: string | ProgressFn | undefined;
|
|
@@ -4469,12 +4533,12 @@ export declare const PlusSearch: {
|
|
|
4469
4533
|
fieldInstance?: any;
|
|
4470
4534
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4471
4535
|
prop: string;
|
|
4472
|
-
modelValue: string | number | boolean |
|
|
4536
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
4473
4537
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4474
|
-
tooltip: string |
|
|
4538
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4475
4539
|
style?: CSSProperties | undefined;
|
|
4476
4540
|
class?: any;
|
|
4477
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4541
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4478
4542
|
style?: CSSProperties | undefined;
|
|
4479
4543
|
class?: any;
|
|
4480
4544
|
} & RecordType>>;
|