yc-pro-components 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +44 -32
- package/es/components/dialog-form/src/index.vue.d.ts +22 -10
- package/es/components/display-item/index.d.ts +80 -44
- package/es/components/display-item/src/index.vue.d.ts +61 -25
- package/es/components/drawer-form/index.d.ts +63 -51
- package/es/components/drawer-form/src/index.vue.d.ts +23 -11
- package/es/components/form/index.d.ts +71 -47
- package/es/components/form/src/form-content.vue.d.ts +60 -24
- package/es/components/form/src/index.vue.d.ts +43 -19
- package/es/components/form-item/index.d.ts +129 -57
- package/es/components/form-item/src/index.vue.d.ts +46 -15
- package/es/components/form-item/src/index.vue2.mjs +1 -0
- 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 +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +751 -469
- package/es/components/page/src/index.vue.d.ts +263 -161
- package/es/components/page/src/index.vue2.mjs +1 -1
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +284 -162
- package/es/components/search/src/index.vue.d.ts +95 -53
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -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 +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-action-bar.vue2.mjs +1 -1
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +76 -40
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +588 -529
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/constants/dict.d.ts +78 -0
- package/es/constants/dict.mjs +3 -0
- package/es/constants/index.d.ts +1 -0
- package/es/constants/index.mjs +1 -0
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useDictInjection.d.ts +38 -0
- package/es/hooks/useDictInjection.mjs +18 -0
- package/es/hooks/useGetOptions.mjs +118 -30
- package/es/hooks/usePlusFormReset.d.ts +286 -214
- package/es/index.css +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +2 -0
- package/es/types/plus.d.ts +74 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/index.d.ts +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +9 -5
- package/index.js +187 -65
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +187 -67
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +44 -32
- package/lib/components/dialog-form/src/index.vue.d.ts +22 -10
- package/lib/components/display-item/index.d.ts +80 -44
- package/lib/components/display-item/src/index.vue.d.ts +61 -25
- package/lib/components/drawer-form/index.d.ts +63 -51
- package/lib/components/drawer-form/src/index.vue.d.ts +23 -11
- package/lib/components/form/index.d.ts +71 -47
- package/lib/components/form/src/form-content.vue.d.ts +60 -24
- package/lib/components/form/src/index.vue.d.ts +43 -19
- package/lib/components/form-item/index.d.ts +129 -57
- package/lib/components/form-item/src/index.vue.d.ts +46 -15
- package/lib/components/form-item/src/index.vue2.js +1 -0
- 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 +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +751 -469
- package/lib/components/page/src/index.vue.d.ts +263 -161
- package/lib/components/page/src/index.vue2.js +1 -1
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +284 -162
- package/lib/components/search/src/index.vue.d.ts +95 -53
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -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 +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-action-bar.vue2.js +1 -1
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +76 -40
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +588 -529
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/constants/dict.d.ts +78 -0
- package/lib/constants/dict.js +5 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +2 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/useDictInjection.d.ts +38 -0
- package/lib/hooks/useDictInjection.js +20 -0
- package/lib/hooks/useGetOptions.js +117 -29
- package/lib/hooks/usePlusFormReset.d.ts +286 -214
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +4 -0
- package/lib/types/plus.d.ts +74 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/index.d.ts +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-page.css +1 -1
- package/theme-chalk/src/page.scss +1 -1
|
@@ -2,22 +2,22 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
4
4
|
import { RowProps, ColProps, FormItemRule, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
5
|
-
import {
|
|
6
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties
|
|
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
|
+
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
|
|
|
9
9
|
export type PlusSearchInstance = InstanceType<typeof Search>;
|
|
10
10
|
export * from './src/type';
|
|
11
11
|
export declare const PlusSearch: {
|
|
12
12
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
13
|
-
modelValue: {
|
|
14
|
-
type: PropType<FieldValues>;
|
|
15
|
-
default: () => {};
|
|
16
|
-
};
|
|
17
13
|
columns: {
|
|
18
14
|
type: PropType< PlusColumn[]>;
|
|
19
15
|
default: () => never[];
|
|
20
16
|
};
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: PropType<FieldValues>;
|
|
19
|
+
default: () => {};
|
|
20
|
+
};
|
|
21
21
|
labelPosition: {
|
|
22
22
|
type: PropType<"top" | "right" | "left">;
|
|
23
23
|
default: undefined;
|
|
@@ -96,10 +96,18 @@ export declare const PlusSearch: {
|
|
|
96
96
|
type: PropType<boolean>;
|
|
97
97
|
default: boolean;
|
|
98
98
|
};
|
|
99
|
+
searchIcon: {
|
|
100
|
+
type: PropType< Component | null>;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
|
+
resetIcon: {
|
|
104
|
+
type: PropType< Component | null>;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
99
107
|
}>> & {
|
|
100
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
101
108
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
102
109
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
110
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
103
111
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
104
112
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
105
113
|
}, {
|
|
@@ -107,11 +115,11 @@ export declare const PlusSearch: {
|
|
|
107
115
|
$: ComponentInternalInstance;
|
|
108
116
|
$data: {};
|
|
109
117
|
$props: Partial<{
|
|
110
|
-
modelValue: FieldValues;
|
|
111
118
|
collapseDuration: number;
|
|
112
119
|
collapseTransition: boolean;
|
|
113
120
|
columns: PlusColumn[];
|
|
114
121
|
group: false | PlusFormGroupRow[];
|
|
122
|
+
modelValue: FieldValues;
|
|
115
123
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
116
124
|
labelPosition: "top" | "right" | "left";
|
|
117
125
|
labelWidth: string | number;
|
|
@@ -132,7 +140,7 @@ export declare const PlusSearch: {
|
|
|
132
140
|
submitText: string;
|
|
133
141
|
resetText: string;
|
|
134
142
|
submitLoading: boolean;
|
|
135
|
-
footerAlign: "
|
|
143
|
+
footerAlign: "right" | "left" | "center";
|
|
136
144
|
cardProps: Partial< Mutable<CardProps> & {
|
|
137
145
|
style?: CSSProperties | undefined;
|
|
138
146
|
class?: any;
|
|
@@ -140,9 +148,9 @@ export declare const PlusSearch: {
|
|
|
140
148
|
prevent: boolean;
|
|
141
149
|
clearable: boolean;
|
|
142
150
|
}> & Omit<{
|
|
143
|
-
readonly modelValue: FieldValues;
|
|
144
151
|
readonly columns: PlusColumn[];
|
|
145
152
|
readonly group: false | PlusFormGroupRow[];
|
|
153
|
+
readonly modelValue: FieldValues;
|
|
146
154
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
147
155
|
readonly labelPosition: "top" | "right" | "left";
|
|
148
156
|
readonly labelWidth: string | number;
|
|
@@ -163,7 +171,7 @@ export declare const PlusSearch: {
|
|
|
163
171
|
readonly submitText: string;
|
|
164
172
|
readonly resetText: string;
|
|
165
173
|
readonly submitLoading: boolean;
|
|
166
|
-
readonly footerAlign: "
|
|
174
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
167
175
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
168
176
|
style?: CSSProperties | undefined;
|
|
169
177
|
class?: any;
|
|
@@ -172,17 +180,13 @@ export declare const PlusSearch: {
|
|
|
172
180
|
readonly clearable: boolean;
|
|
173
181
|
readonly collapseDuration?: number | undefined;
|
|
174
182
|
readonly collapseTransition?: boolean | undefined;
|
|
175
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
176
183
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
177
184
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
178
185
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
186
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
179
187
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
180
188
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
181
189
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
182
|
-
modelValue: {
|
|
183
|
-
type: PropType<FieldValues>;
|
|
184
|
-
default: () => {};
|
|
185
|
-
};
|
|
186
190
|
collapseDuration: {
|
|
187
191
|
type: PropType<number>;
|
|
188
192
|
default: undefined;
|
|
@@ -199,6 +203,10 @@ export declare const PlusSearch: {
|
|
|
199
203
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
200
204
|
default: boolean;
|
|
201
205
|
};
|
|
206
|
+
modelValue: {
|
|
207
|
+
type: PropType<FieldValues>;
|
|
208
|
+
default: () => {};
|
|
209
|
+
};
|
|
202
210
|
rules: {
|
|
203
211
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
204
212
|
default: () => {};
|
|
@@ -262,7 +270,7 @@ export declare const PlusSearch: {
|
|
|
262
270
|
default: boolean;
|
|
263
271
|
};
|
|
264
272
|
footerAlign: {
|
|
265
|
-
type: PropType<"
|
|
273
|
+
type: PropType<"right" | "left" | "center">;
|
|
266
274
|
default: string;
|
|
267
275
|
};
|
|
268
276
|
cardProps: {
|
|
@@ -281,13 +289,13 @@ export declare const PlusSearch: {
|
|
|
281
289
|
default: boolean;
|
|
282
290
|
};
|
|
283
291
|
}>> & {
|
|
284
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
285
292
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
286
293
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
287
294
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
295
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
288
296
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
289
297
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
290
|
-
}, "
|
|
298
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
291
299
|
$attrs: {
|
|
292
300
|
[x: string]: unknown;
|
|
293
301
|
};
|
|
@@ -299,13 +307,9 @@ export declare const PlusSearch: {
|
|
|
299
307
|
}>;
|
|
300
308
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
301
309
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
302
|
-
$emit: ((event: "
|
|
310
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
303
311
|
$el: any;
|
|
304
312
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
305
|
-
modelValue: {
|
|
306
|
-
type: PropType<FieldValues>;
|
|
307
|
-
default: () => {};
|
|
308
|
-
};
|
|
309
313
|
collapseDuration: {
|
|
310
314
|
type: PropType<number>;
|
|
311
315
|
default: undefined;
|
|
@@ -322,6 +326,10 @@ export declare const PlusSearch: {
|
|
|
322
326
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
323
327
|
default: boolean;
|
|
324
328
|
};
|
|
329
|
+
modelValue: {
|
|
330
|
+
type: PropType<FieldValues>;
|
|
331
|
+
default: () => {};
|
|
332
|
+
};
|
|
325
333
|
rules: {
|
|
326
334
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
327
335
|
default: () => {};
|
|
@@ -385,7 +393,7 @@ export declare const PlusSearch: {
|
|
|
385
393
|
default: boolean;
|
|
386
394
|
};
|
|
387
395
|
footerAlign: {
|
|
388
|
-
type: PropType<"
|
|
396
|
+
type: PropType<"right" | "left" | "center">;
|
|
389
397
|
default: string;
|
|
390
398
|
};
|
|
391
399
|
cardProps: {
|
|
@@ -404,10 +412,10 @@ export declare const PlusSearch: {
|
|
|
404
412
|
default: boolean;
|
|
405
413
|
};
|
|
406
414
|
}>> & {
|
|
407
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
408
415
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
409
416
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
410
417
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
418
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
411
419
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
412
420
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
413
421
|
}, {
|
|
@@ -703,11 +711,11 @@ export declare const PlusSearch: {
|
|
|
703
711
|
submitError: (errors: unknown) => void;
|
|
704
712
|
validate: (...args: any[]) => void;
|
|
705
713
|
}, string, {
|
|
706
|
-
modelValue: FieldValues;
|
|
707
714
|
collapseDuration: number;
|
|
708
715
|
collapseTransition: boolean;
|
|
709
716
|
columns: PlusColumn[];
|
|
710
717
|
group: false | PlusFormGroupRow[];
|
|
718
|
+
modelValue: FieldValues;
|
|
711
719
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
712
720
|
labelPosition: "top" | "right" | "left";
|
|
713
721
|
labelWidth: string | number;
|
|
@@ -728,7 +736,7 @@ export declare const PlusSearch: {
|
|
|
728
736
|
submitText: string;
|
|
729
737
|
resetText: string;
|
|
730
738
|
submitLoading: boolean;
|
|
731
|
-
footerAlign: "
|
|
739
|
+
footerAlign: "right" | "left" | "center";
|
|
732
740
|
cardProps: Partial< Mutable<CardProps> & {
|
|
733
741
|
style?: CSSProperties | undefined;
|
|
734
742
|
class?: any;
|
|
@@ -756,10 +764,6 @@ export declare const PlusSearch: {
|
|
|
756
764
|
$nextTick: nextTick;
|
|
757
765
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
758
766
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
759
|
-
modelValue: {
|
|
760
|
-
type: PropType<FieldValues>;
|
|
761
|
-
default: () => {};
|
|
762
|
-
};
|
|
763
767
|
collapseDuration: {
|
|
764
768
|
type: PropType<number>;
|
|
765
769
|
default: undefined;
|
|
@@ -776,6 +780,10 @@ export declare const PlusSearch: {
|
|
|
776
780
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
777
781
|
default: boolean;
|
|
778
782
|
};
|
|
783
|
+
modelValue: {
|
|
784
|
+
type: PropType<FieldValues>;
|
|
785
|
+
default: () => {};
|
|
786
|
+
};
|
|
779
787
|
rules: {
|
|
780
788
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
781
789
|
default: () => {};
|
|
@@ -839,7 +847,7 @@ export declare const PlusSearch: {
|
|
|
839
847
|
default: boolean;
|
|
840
848
|
};
|
|
841
849
|
footerAlign: {
|
|
842
|
-
type: PropType<"
|
|
850
|
+
type: PropType<"right" | "left" | "center">;
|
|
843
851
|
default: string;
|
|
844
852
|
};
|
|
845
853
|
cardProps: {
|
|
@@ -858,10 +866,10 @@ export declare const PlusSearch: {
|
|
|
858
866
|
default: boolean;
|
|
859
867
|
};
|
|
860
868
|
}>> & {
|
|
861
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
862
869
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
863
870
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
864
871
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
872
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
865
873
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
866
874
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
867
875
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1162,14 +1170,14 @@ export declare const PlusSearch: {
|
|
|
1162
1170
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1163
1171
|
columns?: PlusColumn[] | undefined;
|
|
1164
1172
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1165
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1173
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1166
1174
|
readonly label: string | ComputedRef<string>;
|
|
1167
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1175
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1168
1176
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1169
|
-
readonly tooltip: string |
|
|
1177
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1170
1178
|
style?: CSSProperties | undefined;
|
|
1171
1179
|
class?: any;
|
|
1172
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1180
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1173
1181
|
style?: CSSProperties | undefined;
|
|
1174
1182
|
class?: any;
|
|
1175
1183
|
} & RecordType>>;
|
|
@@ -1191,7 +1199,7 @@ export declare const PlusSearch: {
|
|
|
1191
1199
|
};
|
|
1192
1200
|
rows: number;
|
|
1193
1201
|
autocomplete: string;
|
|
1194
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1202
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1195
1203
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1196
1204
|
step: string | number;
|
|
1197
1205
|
format: string | ProgressFn | undefined;
|
|
@@ -1218,6 +1226,12 @@ export declare const PlusSearch: {
|
|
|
1218
1226
|
label?: string | undefined;
|
|
1219
1227
|
value?: string | undefined;
|
|
1220
1228
|
} | undefined;
|
|
1229
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1230
|
+
store?: any;
|
|
1231
|
+
method?: string | undefined;
|
|
1232
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1233
|
+
dictCode?: string | undefined;
|
|
1234
|
+
} | undefined;
|
|
1221
1235
|
readonly clearable: boolean;
|
|
1222
1236
|
readonly index: number;
|
|
1223
1237
|
} & {
|
|
@@ -1230,12 +1244,12 @@ export declare const PlusSearch: {
|
|
|
1230
1244
|
fieldInstance?: any;
|
|
1231
1245
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1232
1246
|
prop: string;
|
|
1233
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1247
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1234
1248
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1235
|
-
tooltip: string |
|
|
1249
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1236
1250
|
style?: CSSProperties | undefined;
|
|
1237
1251
|
class?: any;
|
|
1238
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1252
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1239
1253
|
style?: CSSProperties | undefined;
|
|
1240
1254
|
class?: any;
|
|
1241
1255
|
} & RecordType>>;
|
|
@@ -1255,17 +1269,23 @@ export declare const PlusSearch: {
|
|
|
1255
1269
|
label?: string | undefined;
|
|
1256
1270
|
value?: string | undefined;
|
|
1257
1271
|
} | undefined;
|
|
1272
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1273
|
+
store?: any;
|
|
1274
|
+
method?: string | undefined;
|
|
1275
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1276
|
+
dictCode?: string | undefined;
|
|
1277
|
+
} | undefined;
|
|
1258
1278
|
clearable: boolean;
|
|
1259
1279
|
index: number;
|
|
1260
1280
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1261
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1281
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1262
1282
|
readonly label: string | ComputedRef<string>;
|
|
1263
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1283
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1264
1284
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1265
|
-
readonly tooltip: string |
|
|
1285
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1266
1286
|
style?: CSSProperties | undefined;
|
|
1267
1287
|
class?: any;
|
|
1268
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1288
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1269
1289
|
style?: CSSProperties | undefined;
|
|
1270
1290
|
class?: any;
|
|
1271
1291
|
} & RecordType>>;
|
|
@@ -1287,7 +1307,7 @@ export declare const PlusSearch: {
|
|
|
1287
1307
|
};
|
|
1288
1308
|
rows: number;
|
|
1289
1309
|
autocomplete: string;
|
|
1290
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1310
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1291
1311
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1292
1312
|
step: string | number;
|
|
1293
1313
|
format: string | ProgressFn | undefined;
|
|
@@ -1314,6 +1334,12 @@ export declare const PlusSearch: {
|
|
|
1314
1334
|
label?: string | undefined;
|
|
1315
1335
|
value?: string | undefined;
|
|
1316
1336
|
} | undefined;
|
|
1337
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1338
|
+
store?: any;
|
|
1339
|
+
method?: string | undefined;
|
|
1340
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1341
|
+
dictCode?: string | undefined;
|
|
1342
|
+
} | undefined;
|
|
1317
1343
|
readonly clearable: boolean;
|
|
1318
1344
|
readonly index: number;
|
|
1319
1345
|
} & {
|
|
@@ -1326,12 +1352,12 @@ export declare const PlusSearch: {
|
|
|
1326
1352
|
fieldInstance?: any;
|
|
1327
1353
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1328
1354
|
prop: string;
|
|
1329
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1355
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1330
1356
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1331
|
-
tooltip: string |
|
|
1357
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1332
1358
|
style?: CSSProperties | undefined;
|
|
1333
1359
|
class?: any;
|
|
1334
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1360
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1335
1361
|
style?: CSSProperties | undefined;
|
|
1336
1362
|
class?: any;
|
|
1337
1363
|
} & RecordType>>;
|
|
@@ -1351,6 +1377,12 @@ export declare const PlusSearch: {
|
|
|
1351
1377
|
label?: string | undefined;
|
|
1352
1378
|
value?: string | undefined;
|
|
1353
1379
|
} | undefined;
|
|
1380
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1381
|
+
store?: any;
|
|
1382
|
+
method?: string | undefined;
|
|
1383
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1384
|
+
dictCode?: string | undefined;
|
|
1385
|
+
} | undefined;
|
|
1354
1386
|
clearable: boolean;
|
|
1355
1387
|
index: number;
|
|
1356
1388
|
}) => any>> & {
|
|
@@ -1377,14 +1409,14 @@ export declare const PlusSearch: {
|
|
|
1377
1409
|
reset: (values: FieldValues) => void;
|
|
1378
1410
|
collapse: (isShowUnfold: boolean) => void;
|
|
1379
1411
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1380
|
-
modelValue: {
|
|
1381
|
-
type: PropType<FieldValues>;
|
|
1382
|
-
default: () => {};
|
|
1383
|
-
};
|
|
1384
1412
|
columns: {
|
|
1385
1413
|
type: PropType< PlusColumn[]>;
|
|
1386
1414
|
default: () => never[];
|
|
1387
1415
|
};
|
|
1416
|
+
modelValue: {
|
|
1417
|
+
type: PropType<FieldValues>;
|
|
1418
|
+
default: () => {};
|
|
1419
|
+
};
|
|
1388
1420
|
labelPosition: {
|
|
1389
1421
|
type: PropType<"top" | "right" | "left">;
|
|
1390
1422
|
default: undefined;
|
|
@@ -1463,15 +1495,23 @@ export declare const PlusSearch: {
|
|
|
1463
1495
|
type: PropType<boolean>;
|
|
1464
1496
|
default: boolean;
|
|
1465
1497
|
};
|
|
1498
|
+
searchIcon: {
|
|
1499
|
+
type: PropType< Component | null>;
|
|
1500
|
+
default: undefined;
|
|
1501
|
+
};
|
|
1502
|
+
resetIcon: {
|
|
1503
|
+
type: PropType< Component | null>;
|
|
1504
|
+
default: undefined;
|
|
1505
|
+
};
|
|
1466
1506
|
}>> & {
|
|
1467
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1468
1507
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1469
1508
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1509
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1470
1510
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1471
1511
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1472
1512
|
}, {
|
|
1473
|
-
modelValue: FieldValues;
|
|
1474
1513
|
columns: PlusColumn[];
|
|
1514
|
+
modelValue: FieldValues;
|
|
1475
1515
|
labelPosition: "top" | "right" | "left";
|
|
1476
1516
|
inline: boolean;
|
|
1477
1517
|
showNumber: number;
|
|
@@ -1494,6 +1534,8 @@ export declare const PlusSearch: {
|
|
|
1494
1534
|
expandText: string;
|
|
1495
1535
|
searchLoading: boolean;
|
|
1496
1536
|
needValidate: boolean;
|
|
1537
|
+
searchIcon: Component | null;
|
|
1538
|
+
resetIcon: Component | null;
|
|
1497
1539
|
}, true, {}, {}, {
|
|
1498
1540
|
P: {};
|
|
1499
1541
|
B: {};
|
|
@@ -1502,14 +1544,14 @@ export declare const PlusSearch: {
|
|
|
1502
1544
|
M: {};
|
|
1503
1545
|
Defaults: {};
|
|
1504
1546
|
}, Readonly< ExtractPropTypes<{
|
|
1505
|
-
modelValue: {
|
|
1506
|
-
type: PropType<FieldValues>;
|
|
1507
|
-
default: () => {};
|
|
1508
|
-
};
|
|
1509
1547
|
columns: {
|
|
1510
1548
|
type: PropType< PlusColumn[]>;
|
|
1511
1549
|
default: () => never[];
|
|
1512
1550
|
};
|
|
1551
|
+
modelValue: {
|
|
1552
|
+
type: PropType<FieldValues>;
|
|
1553
|
+
default: () => {};
|
|
1554
|
+
};
|
|
1513
1555
|
labelPosition: {
|
|
1514
1556
|
type: PropType<"top" | "right" | "left">;
|
|
1515
1557
|
default: undefined;
|
|
@@ -1588,10 +1630,18 @@ export declare const PlusSearch: {
|
|
|
1588
1630
|
type: PropType<boolean>;
|
|
1589
1631
|
default: boolean;
|
|
1590
1632
|
};
|
|
1633
|
+
searchIcon: {
|
|
1634
|
+
type: PropType< Component | null>;
|
|
1635
|
+
default: undefined;
|
|
1636
|
+
};
|
|
1637
|
+
resetIcon: {
|
|
1638
|
+
type: PropType< Component | null>;
|
|
1639
|
+
default: undefined;
|
|
1640
|
+
};
|
|
1591
1641
|
}>> & {
|
|
1592
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1593
1642
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1594
1643
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1644
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1595
1645
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1596
1646
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1597
1647
|
}, {
|
|
@@ -1599,11 +1649,11 @@ export declare const PlusSearch: {
|
|
|
1599
1649
|
$: ComponentInternalInstance;
|
|
1600
1650
|
$data: {};
|
|
1601
1651
|
$props: Partial<{
|
|
1602
|
-
modelValue: FieldValues;
|
|
1603
1652
|
collapseDuration: number;
|
|
1604
1653
|
collapseTransition: boolean;
|
|
1605
1654
|
columns: PlusColumn[];
|
|
1606
1655
|
group: false | PlusFormGroupRow[];
|
|
1656
|
+
modelValue: FieldValues;
|
|
1607
1657
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1608
1658
|
labelPosition: "top" | "right" | "left";
|
|
1609
1659
|
labelWidth: string | number;
|
|
@@ -1624,7 +1674,7 @@ export declare const PlusSearch: {
|
|
|
1624
1674
|
submitText: string;
|
|
1625
1675
|
resetText: string;
|
|
1626
1676
|
submitLoading: boolean;
|
|
1627
|
-
footerAlign: "
|
|
1677
|
+
footerAlign: "right" | "left" | "center";
|
|
1628
1678
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1629
1679
|
style?: CSSProperties | undefined;
|
|
1630
1680
|
class?: any;
|
|
@@ -1632,9 +1682,9 @@ export declare const PlusSearch: {
|
|
|
1632
1682
|
prevent: boolean;
|
|
1633
1683
|
clearable: boolean;
|
|
1634
1684
|
}> & Omit<{
|
|
1635
|
-
readonly modelValue: FieldValues;
|
|
1636
1685
|
readonly columns: PlusColumn[];
|
|
1637
1686
|
readonly group: false | PlusFormGroupRow[];
|
|
1687
|
+
readonly modelValue: FieldValues;
|
|
1638
1688
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1639
1689
|
readonly labelPosition: "top" | "right" | "left";
|
|
1640
1690
|
readonly labelWidth: string | number;
|
|
@@ -1655,7 +1705,7 @@ export declare const PlusSearch: {
|
|
|
1655
1705
|
readonly submitText: string;
|
|
1656
1706
|
readonly resetText: string;
|
|
1657
1707
|
readonly submitLoading: boolean;
|
|
1658
|
-
readonly footerAlign: "
|
|
1708
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1659
1709
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1660
1710
|
style?: CSSProperties | undefined;
|
|
1661
1711
|
class?: any;
|
|
@@ -1664,17 +1714,13 @@ export declare const PlusSearch: {
|
|
|
1664
1714
|
readonly clearable: boolean;
|
|
1665
1715
|
readonly collapseDuration?: number | undefined;
|
|
1666
1716
|
readonly collapseTransition?: boolean | undefined;
|
|
1667
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1668
1717
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1669
1718
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1670
1719
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1720
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1671
1721
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1672
1722
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1673
1723
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1674
|
-
modelValue: {
|
|
1675
|
-
type: PropType<FieldValues>;
|
|
1676
|
-
default: () => {};
|
|
1677
|
-
};
|
|
1678
1724
|
collapseDuration: {
|
|
1679
1725
|
type: PropType<number>;
|
|
1680
1726
|
default: undefined;
|
|
@@ -1691,6 +1737,10 @@ export declare const PlusSearch: {
|
|
|
1691
1737
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1692
1738
|
default: boolean;
|
|
1693
1739
|
};
|
|
1740
|
+
modelValue: {
|
|
1741
|
+
type: PropType<FieldValues>;
|
|
1742
|
+
default: () => {};
|
|
1743
|
+
};
|
|
1694
1744
|
rules: {
|
|
1695
1745
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1696
1746
|
default: () => {};
|
|
@@ -1754,7 +1804,7 @@ export declare const PlusSearch: {
|
|
|
1754
1804
|
default: boolean;
|
|
1755
1805
|
};
|
|
1756
1806
|
footerAlign: {
|
|
1757
|
-
type: PropType<"
|
|
1807
|
+
type: PropType<"right" | "left" | "center">;
|
|
1758
1808
|
default: string;
|
|
1759
1809
|
};
|
|
1760
1810
|
cardProps: {
|
|
@@ -1773,13 +1823,13 @@ export declare const PlusSearch: {
|
|
|
1773
1823
|
default: boolean;
|
|
1774
1824
|
};
|
|
1775
1825
|
}>> & {
|
|
1776
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1777
1826
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1778
1827
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1779
1828
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1829
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1780
1830
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1781
1831
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1782
|
-
}, "
|
|
1832
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1783
1833
|
$attrs: {
|
|
1784
1834
|
[x: string]: unknown;
|
|
1785
1835
|
};
|
|
@@ -1791,13 +1841,9 @@ export declare const PlusSearch: {
|
|
|
1791
1841
|
}>;
|
|
1792
1842
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1793
1843
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1794
|
-
$emit: ((event: "
|
|
1844
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1795
1845
|
$el: any;
|
|
1796
1846
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1797
|
-
modelValue: {
|
|
1798
|
-
type: PropType<FieldValues>;
|
|
1799
|
-
default: () => {};
|
|
1800
|
-
};
|
|
1801
1847
|
collapseDuration: {
|
|
1802
1848
|
type: PropType<number>;
|
|
1803
1849
|
default: undefined;
|
|
@@ -1814,6 +1860,10 @@ export declare const PlusSearch: {
|
|
|
1814
1860
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1815
1861
|
default: boolean;
|
|
1816
1862
|
};
|
|
1863
|
+
modelValue: {
|
|
1864
|
+
type: PropType<FieldValues>;
|
|
1865
|
+
default: () => {};
|
|
1866
|
+
};
|
|
1817
1867
|
rules: {
|
|
1818
1868
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1819
1869
|
default: () => {};
|
|
@@ -1877,7 +1927,7 @@ export declare const PlusSearch: {
|
|
|
1877
1927
|
default: boolean;
|
|
1878
1928
|
};
|
|
1879
1929
|
footerAlign: {
|
|
1880
|
-
type: PropType<"
|
|
1930
|
+
type: PropType<"right" | "left" | "center">;
|
|
1881
1931
|
default: string;
|
|
1882
1932
|
};
|
|
1883
1933
|
cardProps: {
|
|
@@ -1896,10 +1946,10 @@ export declare const PlusSearch: {
|
|
|
1896
1946
|
default: boolean;
|
|
1897
1947
|
};
|
|
1898
1948
|
}>> & {
|
|
1899
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1900
1949
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1901
1950
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1902
1951
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1952
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1903
1953
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1904
1954
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1905
1955
|
}, {
|
|
@@ -2195,11 +2245,11 @@ export declare const PlusSearch: {
|
|
|
2195
2245
|
submitError: (errors: unknown) => void;
|
|
2196
2246
|
validate: (...args: any[]) => void;
|
|
2197
2247
|
}, string, {
|
|
2198
|
-
modelValue: FieldValues;
|
|
2199
2248
|
collapseDuration: number;
|
|
2200
2249
|
collapseTransition: boolean;
|
|
2201
2250
|
columns: PlusColumn[];
|
|
2202
2251
|
group: false | PlusFormGroupRow[];
|
|
2252
|
+
modelValue: FieldValues;
|
|
2203
2253
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2204
2254
|
labelPosition: "top" | "right" | "left";
|
|
2205
2255
|
labelWidth: string | number;
|
|
@@ -2220,7 +2270,7 @@ export declare const PlusSearch: {
|
|
|
2220
2270
|
submitText: string;
|
|
2221
2271
|
resetText: string;
|
|
2222
2272
|
submitLoading: boolean;
|
|
2223
|
-
footerAlign: "
|
|
2273
|
+
footerAlign: "right" | "left" | "center";
|
|
2224
2274
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2225
2275
|
style?: CSSProperties | undefined;
|
|
2226
2276
|
class?: any;
|
|
@@ -2248,10 +2298,6 @@ export declare const PlusSearch: {
|
|
|
2248
2298
|
$nextTick: nextTick;
|
|
2249
2299
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2250
2300
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2251
|
-
modelValue: {
|
|
2252
|
-
type: PropType<FieldValues>;
|
|
2253
|
-
default: () => {};
|
|
2254
|
-
};
|
|
2255
2301
|
collapseDuration: {
|
|
2256
2302
|
type: PropType<number>;
|
|
2257
2303
|
default: undefined;
|
|
@@ -2268,6 +2314,10 @@ export declare const PlusSearch: {
|
|
|
2268
2314
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2269
2315
|
default: boolean;
|
|
2270
2316
|
};
|
|
2317
|
+
modelValue: {
|
|
2318
|
+
type: PropType<FieldValues>;
|
|
2319
|
+
default: () => {};
|
|
2320
|
+
};
|
|
2271
2321
|
rules: {
|
|
2272
2322
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2273
2323
|
default: () => {};
|
|
@@ -2331,7 +2381,7 @@ export declare const PlusSearch: {
|
|
|
2331
2381
|
default: boolean;
|
|
2332
2382
|
};
|
|
2333
2383
|
footerAlign: {
|
|
2334
|
-
type: PropType<"
|
|
2384
|
+
type: PropType<"right" | "left" | "center">;
|
|
2335
2385
|
default: string;
|
|
2336
2386
|
};
|
|
2337
2387
|
cardProps: {
|
|
@@ -2350,10 +2400,10 @@ export declare const PlusSearch: {
|
|
|
2350
2400
|
default: boolean;
|
|
2351
2401
|
};
|
|
2352
2402
|
}>> & {
|
|
2353
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2354
2403
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2355
2404
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2356
2405
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2406
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2357
2407
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2358
2408
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2359
2409
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2654,14 +2704,14 @@ export declare const PlusSearch: {
|
|
|
2654
2704
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2655
2705
|
columns?: PlusColumn[] | undefined;
|
|
2656
2706
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2657
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2707
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2658
2708
|
readonly label: string | ComputedRef<string>;
|
|
2659
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2709
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2660
2710
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2661
|
-
readonly tooltip: string |
|
|
2711
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2662
2712
|
style?: CSSProperties | undefined;
|
|
2663
2713
|
class?: any;
|
|
2664
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2714
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2665
2715
|
style?: CSSProperties | undefined;
|
|
2666
2716
|
class?: any;
|
|
2667
2717
|
} & RecordType>>;
|
|
@@ -2683,7 +2733,7 @@ export declare const PlusSearch: {
|
|
|
2683
2733
|
};
|
|
2684
2734
|
rows: number;
|
|
2685
2735
|
autocomplete: string;
|
|
2686
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2736
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2687
2737
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2688
2738
|
step: string | number;
|
|
2689
2739
|
format: string | ProgressFn | undefined;
|
|
@@ -2710,6 +2760,12 @@ export declare const PlusSearch: {
|
|
|
2710
2760
|
label?: string | undefined;
|
|
2711
2761
|
value?: string | undefined;
|
|
2712
2762
|
} | undefined;
|
|
2763
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
2764
|
+
store?: any;
|
|
2765
|
+
method?: string | undefined;
|
|
2766
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
2767
|
+
dictCode?: string | undefined;
|
|
2768
|
+
} | undefined;
|
|
2713
2769
|
readonly clearable: boolean;
|
|
2714
2770
|
readonly index: number;
|
|
2715
2771
|
} & {
|
|
@@ -2722,12 +2778,12 @@ export declare const PlusSearch: {
|
|
|
2722
2778
|
fieldInstance?: any;
|
|
2723
2779
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2724
2780
|
prop: string;
|
|
2725
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2781
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2726
2782
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2727
|
-
tooltip: string |
|
|
2783
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2728
2784
|
style?: CSSProperties | undefined;
|
|
2729
2785
|
class?: any;
|
|
2730
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2786
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2731
2787
|
style?: CSSProperties | undefined;
|
|
2732
2788
|
class?: any;
|
|
2733
2789
|
} & RecordType>>;
|
|
@@ -2747,17 +2803,23 @@ export declare const PlusSearch: {
|
|
|
2747
2803
|
label?: string | undefined;
|
|
2748
2804
|
value?: string | undefined;
|
|
2749
2805
|
} | undefined;
|
|
2806
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
2807
|
+
store?: any;
|
|
2808
|
+
method?: string | undefined;
|
|
2809
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
2810
|
+
dictCode?: string | undefined;
|
|
2811
|
+
} | undefined;
|
|
2750
2812
|
clearable: boolean;
|
|
2751
2813
|
index: number;
|
|
2752
2814
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2753
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2815
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2754
2816
|
readonly label: string | ComputedRef<string>;
|
|
2755
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2817
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2756
2818
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2757
|
-
readonly tooltip: string |
|
|
2819
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2758
2820
|
style?: CSSProperties | undefined;
|
|
2759
2821
|
class?: any;
|
|
2760
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2822
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2761
2823
|
style?: CSSProperties | undefined;
|
|
2762
2824
|
class?: any;
|
|
2763
2825
|
} & RecordType>>;
|
|
@@ -2779,7 +2841,7 @@ export declare const PlusSearch: {
|
|
|
2779
2841
|
};
|
|
2780
2842
|
rows: number;
|
|
2781
2843
|
autocomplete: string;
|
|
2782
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2844
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2783
2845
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2784
2846
|
step: string | number;
|
|
2785
2847
|
format: string | ProgressFn | undefined;
|
|
@@ -2806,6 +2868,12 @@ export declare const PlusSearch: {
|
|
|
2806
2868
|
label?: string | undefined;
|
|
2807
2869
|
value?: string | undefined;
|
|
2808
2870
|
} | undefined;
|
|
2871
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
2872
|
+
store?: any;
|
|
2873
|
+
method?: string | undefined;
|
|
2874
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
2875
|
+
dictCode?: string | undefined;
|
|
2876
|
+
} | undefined;
|
|
2809
2877
|
readonly clearable: boolean;
|
|
2810
2878
|
readonly index: number;
|
|
2811
2879
|
} & {
|
|
@@ -2818,12 +2886,12 @@ export declare const PlusSearch: {
|
|
|
2818
2886
|
fieldInstance?: any;
|
|
2819
2887
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2820
2888
|
prop: string;
|
|
2821
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2889
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2822
2890
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2823
|
-
tooltip: string |
|
|
2891
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2824
2892
|
style?: CSSProperties | undefined;
|
|
2825
2893
|
class?: any;
|
|
2826
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2894
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2827
2895
|
style?: CSSProperties | undefined;
|
|
2828
2896
|
class?: any;
|
|
2829
2897
|
} & RecordType>>;
|
|
@@ -2843,6 +2911,12 @@ export declare const PlusSearch: {
|
|
|
2843
2911
|
label?: string | undefined;
|
|
2844
2912
|
value?: string | undefined;
|
|
2845
2913
|
} | undefined;
|
|
2914
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
2915
|
+
store?: any;
|
|
2916
|
+
method?: string | undefined;
|
|
2917
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
2918
|
+
dictCode?: string | undefined;
|
|
2919
|
+
} | undefined;
|
|
2846
2920
|
clearable: boolean;
|
|
2847
2921
|
index: number;
|
|
2848
2922
|
}) => any>> & {
|
|
@@ -2863,8 +2937,8 @@ export declare const PlusSearch: {
|
|
|
2863
2937
|
handleSearch: () => void;
|
|
2864
2938
|
handleUnfold: (e: MouseEvent) => void;
|
|
2865
2939
|
}, {}, {}, {}, {
|
|
2866
|
-
modelValue: FieldValues;
|
|
2867
2940
|
columns: PlusColumn[];
|
|
2941
|
+
modelValue: FieldValues;
|
|
2868
2942
|
labelPosition: "top" | "right" | "left";
|
|
2869
2943
|
inline: boolean;
|
|
2870
2944
|
showNumber: number;
|
|
@@ -2887,19 +2961,21 @@ export declare const PlusSearch: {
|
|
|
2887
2961
|
expandText: string;
|
|
2888
2962
|
searchLoading: boolean;
|
|
2889
2963
|
needValidate: boolean;
|
|
2964
|
+
searchIcon: Component | null;
|
|
2965
|
+
resetIcon: Component | null;
|
|
2890
2966
|
}>;
|
|
2891
2967
|
__isFragment?: undefined;
|
|
2892
2968
|
__isTeleport?: undefined;
|
|
2893
2969
|
__isSuspense?: undefined;
|
|
2894
2970
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2895
|
-
modelValue: {
|
|
2896
|
-
type: PropType<FieldValues>;
|
|
2897
|
-
default: () => {};
|
|
2898
|
-
};
|
|
2899
2971
|
columns: {
|
|
2900
2972
|
type: PropType< PlusColumn[]>;
|
|
2901
2973
|
default: () => never[];
|
|
2902
2974
|
};
|
|
2975
|
+
modelValue: {
|
|
2976
|
+
type: PropType<FieldValues>;
|
|
2977
|
+
default: () => {};
|
|
2978
|
+
};
|
|
2903
2979
|
labelPosition: {
|
|
2904
2980
|
type: PropType<"top" | "right" | "left">;
|
|
2905
2981
|
default: undefined;
|
|
@@ -2978,10 +3054,18 @@ export declare const PlusSearch: {
|
|
|
2978
3054
|
type: PropType<boolean>;
|
|
2979
3055
|
default: boolean;
|
|
2980
3056
|
};
|
|
3057
|
+
searchIcon: {
|
|
3058
|
+
type: PropType< Component | null>;
|
|
3059
|
+
default: undefined;
|
|
3060
|
+
};
|
|
3061
|
+
resetIcon: {
|
|
3062
|
+
type: PropType< Component | null>;
|
|
3063
|
+
default: undefined;
|
|
3064
|
+
};
|
|
2981
3065
|
}>> & {
|
|
2982
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2983
3066
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2984
3067
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3068
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2985
3069
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
2986
3070
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
2987
3071
|
}, {
|
|
@@ -2989,11 +3073,11 @@ export declare const PlusSearch: {
|
|
|
2989
3073
|
$: ComponentInternalInstance;
|
|
2990
3074
|
$data: {};
|
|
2991
3075
|
$props: Partial<{
|
|
2992
|
-
modelValue: FieldValues;
|
|
2993
3076
|
collapseDuration: number;
|
|
2994
3077
|
collapseTransition: boolean;
|
|
2995
3078
|
columns: PlusColumn[];
|
|
2996
3079
|
group: false | PlusFormGroupRow[];
|
|
3080
|
+
modelValue: FieldValues;
|
|
2997
3081
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2998
3082
|
labelPosition: "top" | "right" | "left";
|
|
2999
3083
|
labelWidth: string | number;
|
|
@@ -3014,7 +3098,7 @@ export declare const PlusSearch: {
|
|
|
3014
3098
|
submitText: string;
|
|
3015
3099
|
resetText: string;
|
|
3016
3100
|
submitLoading: boolean;
|
|
3017
|
-
footerAlign: "
|
|
3101
|
+
footerAlign: "right" | "left" | "center";
|
|
3018
3102
|
cardProps: Partial< Mutable<CardProps> & {
|
|
3019
3103
|
style?: CSSProperties | undefined;
|
|
3020
3104
|
class?: any;
|
|
@@ -3022,9 +3106,9 @@ export declare const PlusSearch: {
|
|
|
3022
3106
|
prevent: boolean;
|
|
3023
3107
|
clearable: boolean;
|
|
3024
3108
|
}> & Omit<{
|
|
3025
|
-
readonly modelValue: FieldValues;
|
|
3026
3109
|
readonly columns: PlusColumn[];
|
|
3027
3110
|
readonly group: false | PlusFormGroupRow[];
|
|
3111
|
+
readonly modelValue: FieldValues;
|
|
3028
3112
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3029
3113
|
readonly labelPosition: "top" | "right" | "left";
|
|
3030
3114
|
readonly labelWidth: string | number;
|
|
@@ -3045,7 +3129,7 @@ export declare const PlusSearch: {
|
|
|
3045
3129
|
readonly submitText: string;
|
|
3046
3130
|
readonly resetText: string;
|
|
3047
3131
|
readonly submitLoading: boolean;
|
|
3048
|
-
readonly footerAlign: "
|
|
3132
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
3049
3133
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
3050
3134
|
style?: CSSProperties | undefined;
|
|
3051
3135
|
class?: any;
|
|
@@ -3054,17 +3138,13 @@ export declare const PlusSearch: {
|
|
|
3054
3138
|
readonly clearable: boolean;
|
|
3055
3139
|
readonly collapseDuration?: number | undefined;
|
|
3056
3140
|
readonly collapseTransition?: boolean | undefined;
|
|
3057
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3058
3141
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3059
3142
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3060
3143
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3144
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3061
3145
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3062
3146
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3063
3147
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3064
|
-
modelValue: {
|
|
3065
|
-
type: PropType<FieldValues>;
|
|
3066
|
-
default: () => {};
|
|
3067
|
-
};
|
|
3068
3148
|
collapseDuration: {
|
|
3069
3149
|
type: PropType<number>;
|
|
3070
3150
|
default: undefined;
|
|
@@ -3081,6 +3161,10 @@ export declare const PlusSearch: {
|
|
|
3081
3161
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3082
3162
|
default: boolean;
|
|
3083
3163
|
};
|
|
3164
|
+
modelValue: {
|
|
3165
|
+
type: PropType<FieldValues>;
|
|
3166
|
+
default: () => {};
|
|
3167
|
+
};
|
|
3084
3168
|
rules: {
|
|
3085
3169
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3086
3170
|
default: () => {};
|
|
@@ -3144,7 +3228,7 @@ export declare const PlusSearch: {
|
|
|
3144
3228
|
default: boolean;
|
|
3145
3229
|
};
|
|
3146
3230
|
footerAlign: {
|
|
3147
|
-
type: PropType<"
|
|
3231
|
+
type: PropType<"right" | "left" | "center">;
|
|
3148
3232
|
default: string;
|
|
3149
3233
|
};
|
|
3150
3234
|
cardProps: {
|
|
@@ -3163,13 +3247,13 @@ export declare const PlusSearch: {
|
|
|
3163
3247
|
default: boolean;
|
|
3164
3248
|
};
|
|
3165
3249
|
}>> & {
|
|
3166
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3167
3250
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3168
3251
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3169
3252
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3253
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3170
3254
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3171
3255
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3172
|
-
}, "
|
|
3256
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
3173
3257
|
$attrs: {
|
|
3174
3258
|
[x: string]: unknown;
|
|
3175
3259
|
};
|
|
@@ -3181,13 +3265,9 @@ export declare const PlusSearch: {
|
|
|
3181
3265
|
}>;
|
|
3182
3266
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3183
3267
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3184
|
-
$emit: ((event: "
|
|
3268
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
3185
3269
|
$el: any;
|
|
3186
3270
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3187
|
-
modelValue: {
|
|
3188
|
-
type: PropType<FieldValues>;
|
|
3189
|
-
default: () => {};
|
|
3190
|
-
};
|
|
3191
3271
|
collapseDuration: {
|
|
3192
3272
|
type: PropType<number>;
|
|
3193
3273
|
default: undefined;
|
|
@@ -3204,6 +3284,10 @@ export declare const PlusSearch: {
|
|
|
3204
3284
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3205
3285
|
default: boolean;
|
|
3206
3286
|
};
|
|
3287
|
+
modelValue: {
|
|
3288
|
+
type: PropType<FieldValues>;
|
|
3289
|
+
default: () => {};
|
|
3290
|
+
};
|
|
3207
3291
|
rules: {
|
|
3208
3292
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3209
3293
|
default: () => {};
|
|
@@ -3267,7 +3351,7 @@ export declare const PlusSearch: {
|
|
|
3267
3351
|
default: boolean;
|
|
3268
3352
|
};
|
|
3269
3353
|
footerAlign: {
|
|
3270
|
-
type: PropType<"
|
|
3354
|
+
type: PropType<"right" | "left" | "center">;
|
|
3271
3355
|
default: string;
|
|
3272
3356
|
};
|
|
3273
3357
|
cardProps: {
|
|
@@ -3286,10 +3370,10 @@ export declare const PlusSearch: {
|
|
|
3286
3370
|
default: boolean;
|
|
3287
3371
|
};
|
|
3288
3372
|
}>> & {
|
|
3289
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3290
3373
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3291
3374
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3292
3375
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3376
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3293
3377
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3294
3378
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3295
3379
|
}, {
|
|
@@ -3585,11 +3669,11 @@ export declare const PlusSearch: {
|
|
|
3585
3669
|
submitError: (errors: unknown) => void;
|
|
3586
3670
|
validate: (...args: any[]) => void;
|
|
3587
3671
|
}, string, {
|
|
3588
|
-
modelValue: FieldValues;
|
|
3589
3672
|
collapseDuration: number;
|
|
3590
3673
|
collapseTransition: boolean;
|
|
3591
3674
|
columns: PlusColumn[];
|
|
3592
3675
|
group: false | PlusFormGroupRow[];
|
|
3676
|
+
modelValue: FieldValues;
|
|
3593
3677
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
3594
3678
|
labelPosition: "top" | "right" | "left";
|
|
3595
3679
|
labelWidth: string | number;
|
|
@@ -3610,7 +3694,7 @@ export declare const PlusSearch: {
|
|
|
3610
3694
|
submitText: string;
|
|
3611
3695
|
resetText: string;
|
|
3612
3696
|
submitLoading: boolean;
|
|
3613
|
-
footerAlign: "
|
|
3697
|
+
footerAlign: "right" | "left" | "center";
|
|
3614
3698
|
cardProps: Partial< Mutable<CardProps> & {
|
|
3615
3699
|
style?: CSSProperties | undefined;
|
|
3616
3700
|
class?: any;
|
|
@@ -3638,10 +3722,6 @@ export declare const PlusSearch: {
|
|
|
3638
3722
|
$nextTick: nextTick;
|
|
3639
3723
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
3640
3724
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
3641
|
-
modelValue: {
|
|
3642
|
-
type: PropType<FieldValues>;
|
|
3643
|
-
default: () => {};
|
|
3644
|
-
};
|
|
3645
3725
|
collapseDuration: {
|
|
3646
3726
|
type: PropType<number>;
|
|
3647
3727
|
default: undefined;
|
|
@@ -3658,6 +3738,10 @@ export declare const PlusSearch: {
|
|
|
3658
3738
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
3659
3739
|
default: boolean;
|
|
3660
3740
|
};
|
|
3741
|
+
modelValue: {
|
|
3742
|
+
type: PropType<FieldValues>;
|
|
3743
|
+
default: () => {};
|
|
3744
|
+
};
|
|
3661
3745
|
rules: {
|
|
3662
3746
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
3663
3747
|
default: () => {};
|
|
@@ -3721,7 +3805,7 @@ export declare const PlusSearch: {
|
|
|
3721
3805
|
default: boolean;
|
|
3722
3806
|
};
|
|
3723
3807
|
footerAlign: {
|
|
3724
|
-
type: PropType<"
|
|
3808
|
+
type: PropType<"right" | "left" | "center">;
|
|
3725
3809
|
default: string;
|
|
3726
3810
|
};
|
|
3727
3811
|
cardProps: {
|
|
@@ -3740,10 +3824,10 @@ export declare const PlusSearch: {
|
|
|
3740
3824
|
default: boolean;
|
|
3741
3825
|
};
|
|
3742
3826
|
}>> & {
|
|
3743
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3744
3827
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3745
3828
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3746
3829
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
3830
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3747
3831
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
3748
3832
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
3749
3833
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -4044,14 +4128,14 @@ export declare const PlusSearch: {
|
|
|
4044
4128
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
4045
4129
|
columns?: PlusColumn[] | undefined;
|
|
4046
4130
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4047
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4131
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4048
4132
|
readonly label: string | ComputedRef<string>;
|
|
4049
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4133
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4050
4134
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4051
|
-
readonly tooltip: string |
|
|
4135
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4052
4136
|
style?: CSSProperties | undefined;
|
|
4053
4137
|
class?: any;
|
|
4054
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4138
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4055
4139
|
style?: CSSProperties | undefined;
|
|
4056
4140
|
class?: any;
|
|
4057
4141
|
} & RecordType>>;
|
|
@@ -4073,7 +4157,7 @@ export declare const PlusSearch: {
|
|
|
4073
4157
|
};
|
|
4074
4158
|
rows: number;
|
|
4075
4159
|
autocomplete: string;
|
|
4076
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
4160
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
4077
4161
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4078
4162
|
step: string | number;
|
|
4079
4163
|
format: string | ProgressFn | undefined;
|
|
@@ -4100,6 +4184,12 @@ export declare const PlusSearch: {
|
|
|
4100
4184
|
label?: string | undefined;
|
|
4101
4185
|
value?: string | undefined;
|
|
4102
4186
|
} | undefined;
|
|
4187
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
4188
|
+
store?: any;
|
|
4189
|
+
method?: string | undefined;
|
|
4190
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
4191
|
+
dictCode?: string | undefined;
|
|
4192
|
+
} | undefined;
|
|
4103
4193
|
readonly clearable: boolean;
|
|
4104
4194
|
readonly index: number;
|
|
4105
4195
|
} & {
|
|
@@ -4112,12 +4202,12 @@ export declare const PlusSearch: {
|
|
|
4112
4202
|
fieldInstance?: any;
|
|
4113
4203
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4114
4204
|
prop: string;
|
|
4115
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4205
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4116
4206
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4117
|
-
tooltip: string |
|
|
4207
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4118
4208
|
style?: CSSProperties | undefined;
|
|
4119
4209
|
class?: any;
|
|
4120
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4210
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4121
4211
|
style?: CSSProperties | undefined;
|
|
4122
4212
|
class?: any;
|
|
4123
4213
|
} & RecordType>>;
|
|
@@ -4137,17 +4227,23 @@ export declare const PlusSearch: {
|
|
|
4137
4227
|
label?: string | undefined;
|
|
4138
4228
|
value?: string | undefined;
|
|
4139
4229
|
} | undefined;
|
|
4230
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
4231
|
+
store?: any;
|
|
4232
|
+
method?: string | undefined;
|
|
4233
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
4234
|
+
dictCode?: string | undefined;
|
|
4235
|
+
} | undefined;
|
|
4140
4236
|
clearable: boolean;
|
|
4141
4237
|
index: number;
|
|
4142
4238
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4143
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4239
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4144
4240
|
readonly label: string | ComputedRef<string>;
|
|
4145
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4241
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4146
4242
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4147
|
-
readonly tooltip: string |
|
|
4243
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4148
4244
|
style?: CSSProperties | undefined;
|
|
4149
4245
|
class?: any;
|
|
4150
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4246
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4151
4247
|
style?: CSSProperties | undefined;
|
|
4152
4248
|
class?: any;
|
|
4153
4249
|
} & RecordType>>;
|
|
@@ -4169,7 +4265,7 @@ export declare const PlusSearch: {
|
|
|
4169
4265
|
};
|
|
4170
4266
|
rows: number;
|
|
4171
4267
|
autocomplete: string;
|
|
4172
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
4268
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
4173
4269
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4174
4270
|
step: string | number;
|
|
4175
4271
|
format: string | ProgressFn | undefined;
|
|
@@ -4196,6 +4292,12 @@ export declare const PlusSearch: {
|
|
|
4196
4292
|
label?: string | undefined;
|
|
4197
4293
|
value?: string | undefined;
|
|
4198
4294
|
} | undefined;
|
|
4295
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
4296
|
+
store?: any;
|
|
4297
|
+
method?: string | undefined;
|
|
4298
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
4299
|
+
dictCode?: string | undefined;
|
|
4300
|
+
} | undefined;
|
|
4199
4301
|
readonly clearable: boolean;
|
|
4200
4302
|
readonly index: number;
|
|
4201
4303
|
} & {
|
|
@@ -4208,12 +4310,12 @@ export declare const PlusSearch: {
|
|
|
4208
4310
|
fieldInstance?: any;
|
|
4209
4311
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4210
4312
|
prop: string;
|
|
4211
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4313
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4212
4314
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4213
|
-
tooltip: string |
|
|
4315
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4214
4316
|
style?: CSSProperties | undefined;
|
|
4215
4317
|
class?: any;
|
|
4216
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4318
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4217
4319
|
style?: CSSProperties | undefined;
|
|
4218
4320
|
class?: any;
|
|
4219
4321
|
} & RecordType>>;
|
|
@@ -4233,6 +4335,12 @@ export declare const PlusSearch: {
|
|
|
4233
4335
|
label?: string | undefined;
|
|
4234
4336
|
value?: string | undefined;
|
|
4235
4337
|
} | undefined;
|
|
4338
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
4339
|
+
store?: any;
|
|
4340
|
+
method?: string | undefined;
|
|
4341
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
4342
|
+
dictCode?: string | undefined;
|
|
4343
|
+
} | undefined;
|
|
4236
4344
|
clearable: boolean;
|
|
4237
4345
|
index: number;
|
|
4238
4346
|
}) => any>> & {
|
|
@@ -4259,8 +4367,8 @@ export declare const PlusSearch: {
|
|
|
4259
4367
|
reset: (values: FieldValues) => void;
|
|
4260
4368
|
collapse: (isShowUnfold: boolean) => void;
|
|
4261
4369
|
}, string, {
|
|
4262
|
-
modelValue: FieldValues;
|
|
4263
4370
|
columns: PlusColumn[];
|
|
4371
|
+
modelValue: FieldValues;
|
|
4264
4372
|
labelPosition: "top" | "right" | "left";
|
|
4265
4373
|
inline: boolean;
|
|
4266
4374
|
showNumber: number;
|
|
@@ -4283,16 +4391,18 @@ export declare const PlusSearch: {
|
|
|
4283
4391
|
expandText: string;
|
|
4284
4392
|
searchLoading: boolean;
|
|
4285
4393
|
needValidate: boolean;
|
|
4394
|
+
searchIcon: Component | null;
|
|
4395
|
+
resetIcon: Component | null;
|
|
4286
4396
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
4287
4397
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
4288
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4398
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4289
4399
|
readonly label: string | ComputedRef<string>;
|
|
4290
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4400
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4291
4401
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4292
|
-
readonly tooltip: string |
|
|
4402
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4293
4403
|
style?: CSSProperties | undefined;
|
|
4294
4404
|
class?: any;
|
|
4295
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4405
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4296
4406
|
style?: CSSProperties | undefined;
|
|
4297
4407
|
class?: any;
|
|
4298
4408
|
} & RecordType>>;
|
|
@@ -4314,7 +4424,7 @@ export declare const PlusSearch: {
|
|
|
4314
4424
|
};
|
|
4315
4425
|
rows: number;
|
|
4316
4426
|
autocomplete: string;
|
|
4317
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
4427
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
4318
4428
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4319
4429
|
step: string | number;
|
|
4320
4430
|
format: string | ProgressFn | undefined;
|
|
@@ -4341,6 +4451,12 @@ export declare const PlusSearch: {
|
|
|
4341
4451
|
label?: string | undefined;
|
|
4342
4452
|
value?: string | undefined;
|
|
4343
4453
|
} | undefined;
|
|
4454
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
4455
|
+
store?: any;
|
|
4456
|
+
method?: string | undefined;
|
|
4457
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
4458
|
+
dictCode?: string | undefined;
|
|
4459
|
+
} | undefined;
|
|
4344
4460
|
readonly clearable: boolean;
|
|
4345
4461
|
readonly index: number;
|
|
4346
4462
|
} & {
|
|
@@ -4353,12 +4469,12 @@ export declare const PlusSearch: {
|
|
|
4353
4469
|
fieldInstance?: any;
|
|
4354
4470
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4355
4471
|
prop: string;
|
|
4356
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4472
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4357
4473
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4358
|
-
tooltip: string |
|
|
4474
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4359
4475
|
style?: CSSProperties | undefined;
|
|
4360
4476
|
class?: any;
|
|
4361
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4477
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4362
4478
|
style?: CSSProperties | undefined;
|
|
4363
4479
|
class?: any;
|
|
4364
4480
|
} & RecordType>>;
|
|
@@ -4378,6 +4494,12 @@ export declare const PlusSearch: {
|
|
|
4378
4494
|
label?: string | undefined;
|
|
4379
4495
|
value?: string | undefined;
|
|
4380
4496
|
} | undefined;
|
|
4497
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
4498
|
+
store?: any;
|
|
4499
|
+
method?: string | undefined;
|
|
4500
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
4501
|
+
dictCode?: string | undefined;
|
|
4502
|
+
} | undefined;
|
|
4381
4503
|
clearable: boolean;
|
|
4382
4504
|
index: number;
|
|
4383
4505
|
}) => any>> & {
|