yc-pro-components 0.0.80 → 0.0.82
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 +38 -38
- package/es/components/check-card/src/index.vue.d.ts +3 -3
- package/es/components/check-card-group/index.d.ts +4 -4
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +11 -11
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/dialog/index.d.ts +83 -83
- package/es/components/dialog/src/index.vue.d.ts +7 -7
- package/es/components/dialog-form/index.d.ts +38 -38
- package/es/components/dialog-form/src/index.vue.d.ts +10 -10
- package/es/components/display-item/index.d.ts +18 -18
- package/es/components/display-item/src/index.vue.d.ts +18 -18
- package/es/components/drawer-form/index.d.ts +126 -126
- package/es/components/drawer-form/src/index.vue.d.ts +29 -29
- package/es/components/form/index.d.ts +49 -49
- package/es/components/form/src/form-content.vue.d.ts +28 -28
- package/es/components/form/src/index.vue.d.ts +16 -16
- package/es/components/form-item/index.d.ts +66 -66
- package/es/components/form-item/src/index.vue.d.ts +19 -19
- package/es/components/input-tag/index.d.ts +1 -1
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/index.d.ts +390 -378
- package/es/components/page/src/index.vue.d.ts +134 -130
- package/es/components/pagination/index.d.ts +11 -11
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/popover/index.d.ts +42 -42
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +22 -22
- package/es/components/radio/src/index.vue.d.ts +22 -22
- 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 +171 -171
- package/es/components/search/src/index.vue.d.ts +54 -54
- 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 +6 -0
- package/es/components/table/src/index.vue.d.ts +2 -0
- package/es/components/table/src/index.vue2.mjs +30 -1
- package/es/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +18 -18
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-card/index.d.ts +19 -19
- package/es/components/yc-card/src/index.vue.d.ts +1 -1
- 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-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +5 -5
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +16 -16
- package/es/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +17 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- 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 +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +402 -402
- package/es/index.css +11 -11
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +50 -4
- package/index.min.css +1 -1
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +50 -4
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +3 -3
- package/lib/components/check-card-group/index.d.ts +4 -4
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +11 -11
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/dialog/index.d.ts +83 -83
- package/lib/components/dialog/src/index.vue.d.ts +7 -7
- package/lib/components/dialog-form/index.d.ts +38 -38
- package/lib/components/dialog-form/src/index.vue.d.ts +10 -10
- package/lib/components/display-item/index.d.ts +18 -18
- package/lib/components/display-item/src/index.vue.d.ts +18 -18
- package/lib/components/drawer-form/index.d.ts +126 -126
- package/lib/components/drawer-form/src/index.vue.d.ts +29 -29
- package/lib/components/form/index.d.ts +49 -49
- package/lib/components/form/src/form-content.vue.d.ts +28 -28
- package/lib/components/form/src/index.vue.d.ts +16 -16
- package/lib/components/form-item/index.d.ts +66 -66
- package/lib/components/form-item/src/index.vue.d.ts +19 -19
- package/lib/components/input-tag/index.d.ts +1 -1
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/index.d.ts +390 -378
- package/lib/components/page/src/index.vue.d.ts +134 -130
- package/lib/components/pagination/index.d.ts +11 -11
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/popover/index.d.ts +42 -42
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +22 -22
- package/lib/components/radio/src/index.vue.d.ts +22 -22
- 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 +171 -171
- package/lib/components/search/src/index.vue.d.ts +54 -54
- 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 +6 -0
- package/lib/components/table/src/index.vue.d.ts +2 -0
- package/lib/components/table/src/index.vue2.js +30 -1
- package/lib/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +18 -18
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-card/index.d.ts +19 -19
- package/lib/components/yc-card/src/index.vue.d.ts +1 -1
- 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-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +5 -5
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +16 -16
- package/lib/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +17 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- 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 +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +402 -402
- package/lib/index.css +10 -10
- package/lib/version.d.ts +1 -1
- package/lib/version.js +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
|
@@ -10,10 +10,6 @@ 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
|
-
labelPosition: {
|
|
14
|
-
type: PropType<"left" | "right" | "top">;
|
|
15
|
-
default: undefined;
|
|
16
|
-
};
|
|
17
13
|
modelValue: {
|
|
18
14
|
type: PropType<FieldValues>;
|
|
19
15
|
default: () => {};
|
|
@@ -23,9 +19,13 @@ export declare const PlusSearch: {
|
|
|
23
19
|
default: () => never[];
|
|
24
20
|
};
|
|
25
21
|
layout: {
|
|
26
|
-
type: PropType<"
|
|
22
|
+
type: PropType<"grid" | "flex">;
|
|
27
23
|
default: "grid";
|
|
28
24
|
};
|
|
25
|
+
labelPosition: {
|
|
26
|
+
type: PropType<"top" | "right" | "left">;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
29
|
inline: {
|
|
30
30
|
type: PropType<boolean>;
|
|
31
31
|
default: boolean;
|
|
@@ -109,9 +109,9 @@ export declare const PlusSearch: {
|
|
|
109
109
|
default: undefined;
|
|
110
110
|
};
|
|
111
111
|
}>> & {
|
|
112
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
113
112
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
114
113
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
114
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
115
115
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
116
116
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
117
117
|
}, {
|
|
@@ -119,14 +119,14 @@ export declare const PlusSearch: {
|
|
|
119
119
|
$: ComponentInternalInstance;
|
|
120
120
|
$data: {};
|
|
121
121
|
$props: Partial<{
|
|
122
|
-
labelPosition: "left" | "right" | "top";
|
|
123
122
|
modelValue: FieldValues;
|
|
124
123
|
collapseDuration: number;
|
|
125
124
|
collapseTransition: boolean;
|
|
126
125
|
columns: PlusColumn[];
|
|
127
126
|
group: false | PlusFormGroupRow[];
|
|
128
|
-
layout: "
|
|
127
|
+
layout: "grid" | "flex";
|
|
129
128
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
129
|
+
labelPosition: "top" | "right" | "left";
|
|
130
130
|
labelWidth: string | number;
|
|
131
131
|
labelSuffix: string;
|
|
132
132
|
defaultValues: FieldValues;
|
|
@@ -145,7 +145,7 @@ export declare const PlusSearch: {
|
|
|
145
145
|
submitText: string;
|
|
146
146
|
resetText: string;
|
|
147
147
|
submitLoading: boolean;
|
|
148
|
-
footerAlign: "
|
|
148
|
+
footerAlign: "center" | "right" | "left";
|
|
149
149
|
cardProps: Partial< Mutable<CardProps> & {
|
|
150
150
|
style?: CSSProperties | undefined;
|
|
151
151
|
class?: any;
|
|
@@ -153,11 +153,11 @@ export declare const PlusSearch: {
|
|
|
153
153
|
prevent: boolean;
|
|
154
154
|
clearable: boolean;
|
|
155
155
|
}> & Omit<{
|
|
156
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
157
156
|
readonly modelValue: FieldValues;
|
|
158
157
|
readonly columns: PlusColumn[];
|
|
159
158
|
readonly group: false | PlusFormGroupRow[];
|
|
160
159
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
160
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
161
161
|
readonly labelWidth: string | number;
|
|
162
162
|
readonly labelSuffix: string;
|
|
163
163
|
readonly defaultValues: FieldValues;
|
|
@@ -176,7 +176,7 @@ export declare const PlusSearch: {
|
|
|
176
176
|
readonly submitText: string;
|
|
177
177
|
readonly resetText: string;
|
|
178
178
|
readonly submitLoading: boolean;
|
|
179
|
-
readonly footerAlign: "
|
|
179
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
180
180
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
181
181
|
style?: CSSProperties | undefined;
|
|
182
182
|
class?: any;
|
|
@@ -185,18 +185,14 @@ export declare const PlusSearch: {
|
|
|
185
185
|
readonly clearable: boolean;
|
|
186
186
|
readonly collapseDuration?: number | undefined;
|
|
187
187
|
readonly collapseTransition?: boolean | undefined;
|
|
188
|
-
readonly layout?: "
|
|
189
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
188
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
190
189
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
191
190
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
192
191
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
192
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
193
193
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
194
194
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
195
195
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
196
|
-
labelPosition: {
|
|
197
|
-
type: PropType<"left" | "right" | "top">;
|
|
198
|
-
default: string;
|
|
199
|
-
};
|
|
200
196
|
modelValue: {
|
|
201
197
|
type: PropType<FieldValues>;
|
|
202
198
|
default: () => {};
|
|
@@ -218,13 +214,17 @@ export declare const PlusSearch: {
|
|
|
218
214
|
default: boolean;
|
|
219
215
|
};
|
|
220
216
|
layout: {
|
|
221
|
-
type: PropType<"
|
|
217
|
+
type: PropType<"grid" | "flex">;
|
|
222
218
|
default: undefined;
|
|
223
219
|
};
|
|
224
220
|
rules: {
|
|
225
221
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
226
222
|
default: () => {};
|
|
227
223
|
};
|
|
224
|
+
labelPosition: {
|
|
225
|
+
type: PropType<"top" | "right" | "left">;
|
|
226
|
+
default: string;
|
|
227
|
+
};
|
|
228
228
|
labelWidth: {
|
|
229
229
|
type: PropType<string | number>;
|
|
230
230
|
default: string;
|
|
@@ -280,7 +280,7 @@ export declare const PlusSearch: {
|
|
|
280
280
|
default: boolean;
|
|
281
281
|
};
|
|
282
282
|
footerAlign: {
|
|
283
|
-
type: PropType<"
|
|
283
|
+
type: PropType<"center" | "right" | "left">;
|
|
284
284
|
default: string;
|
|
285
285
|
};
|
|
286
286
|
cardProps: {
|
|
@@ -299,13 +299,13 @@ export declare const PlusSearch: {
|
|
|
299
299
|
default: boolean;
|
|
300
300
|
};
|
|
301
301
|
}>> & {
|
|
302
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
303
302
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
304
303
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
305
304
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
305
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
306
306
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
307
307
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
308
|
-
}, "
|
|
308
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
309
309
|
$attrs: {
|
|
310
310
|
[x: string]: unknown;
|
|
311
311
|
};
|
|
@@ -317,13 +317,9 @@ export declare const PlusSearch: {
|
|
|
317
317
|
}>;
|
|
318
318
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
319
319
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
320
|
-
$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);
|
|
321
321
|
$el: any;
|
|
322
322
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
323
|
-
labelPosition: {
|
|
324
|
-
type: PropType<"left" | "right" | "top">;
|
|
325
|
-
default: string;
|
|
326
|
-
};
|
|
327
323
|
modelValue: {
|
|
328
324
|
type: PropType<FieldValues>;
|
|
329
325
|
default: () => {};
|
|
@@ -345,13 +341,17 @@ export declare const PlusSearch: {
|
|
|
345
341
|
default: boolean;
|
|
346
342
|
};
|
|
347
343
|
layout: {
|
|
348
|
-
type: PropType<"
|
|
344
|
+
type: PropType<"grid" | "flex">;
|
|
349
345
|
default: undefined;
|
|
350
346
|
};
|
|
351
347
|
rules: {
|
|
352
348
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
353
349
|
default: () => {};
|
|
354
350
|
};
|
|
351
|
+
labelPosition: {
|
|
352
|
+
type: PropType<"top" | "right" | "left">;
|
|
353
|
+
default: string;
|
|
354
|
+
};
|
|
355
355
|
labelWidth: {
|
|
356
356
|
type: PropType<string | number>;
|
|
357
357
|
default: string;
|
|
@@ -407,7 +407,7 @@ export declare const PlusSearch: {
|
|
|
407
407
|
default: boolean;
|
|
408
408
|
};
|
|
409
409
|
footerAlign: {
|
|
410
|
-
type: PropType<"
|
|
410
|
+
type: PropType<"center" | "right" | "left">;
|
|
411
411
|
default: string;
|
|
412
412
|
};
|
|
413
413
|
cardProps: {
|
|
@@ -426,10 +426,10 @@ export declare const PlusSearch: {
|
|
|
426
426
|
default: boolean;
|
|
427
427
|
};
|
|
428
428
|
}>> & {
|
|
429
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
430
429
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
431
430
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
432
431
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
432
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
433
433
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
434
434
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
435
435
|
}, {
|
|
@@ -444,14 +444,14 @@ export declare const PlusSearch: {
|
|
|
444
444
|
submitError: (errors: unknown) => void;
|
|
445
445
|
validate: (...args: any[]) => void;
|
|
446
446
|
}, string, {
|
|
447
|
-
labelPosition: "left" | "right" | "top";
|
|
448
447
|
modelValue: FieldValues;
|
|
449
448
|
collapseDuration: number;
|
|
450
449
|
collapseTransition: boolean;
|
|
451
450
|
columns: PlusColumn[];
|
|
452
451
|
group: false | PlusFormGroupRow[];
|
|
453
|
-
layout: "
|
|
452
|
+
layout: "grid" | "flex";
|
|
454
453
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
454
|
+
labelPosition: "top" | "right" | "left";
|
|
455
455
|
labelWidth: string | number;
|
|
456
456
|
labelSuffix: string;
|
|
457
457
|
defaultValues: FieldValues;
|
|
@@ -470,7 +470,7 @@ export declare const PlusSearch: {
|
|
|
470
470
|
submitText: string;
|
|
471
471
|
resetText: string;
|
|
472
472
|
submitLoading: boolean;
|
|
473
|
-
footerAlign: "
|
|
473
|
+
footerAlign: "center" | "right" | "left";
|
|
474
474
|
cardProps: Partial< Mutable<CardProps> & {
|
|
475
475
|
style?: CSSProperties | undefined;
|
|
476
476
|
class?: any;
|
|
@@ -498,10 +498,6 @@ export declare const PlusSearch: {
|
|
|
498
498
|
$nextTick: nextTick;
|
|
499
499
|
$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;
|
|
500
500
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
501
|
-
labelPosition: {
|
|
502
|
-
type: PropType<"left" | "right" | "top">;
|
|
503
|
-
default: string;
|
|
504
|
-
};
|
|
505
501
|
modelValue: {
|
|
506
502
|
type: PropType<FieldValues>;
|
|
507
503
|
default: () => {};
|
|
@@ -523,13 +519,17 @@ export declare const PlusSearch: {
|
|
|
523
519
|
default: boolean;
|
|
524
520
|
};
|
|
525
521
|
layout: {
|
|
526
|
-
type: PropType<"
|
|
522
|
+
type: PropType<"grid" | "flex">;
|
|
527
523
|
default: undefined;
|
|
528
524
|
};
|
|
529
525
|
rules: {
|
|
530
526
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
531
527
|
default: () => {};
|
|
532
528
|
};
|
|
529
|
+
labelPosition: {
|
|
530
|
+
type: PropType<"top" | "right" | "left">;
|
|
531
|
+
default: string;
|
|
532
|
+
};
|
|
533
533
|
labelWidth: {
|
|
534
534
|
type: PropType<string | number>;
|
|
535
535
|
default: string;
|
|
@@ -585,7 +585,7 @@ export declare const PlusSearch: {
|
|
|
585
585
|
default: boolean;
|
|
586
586
|
};
|
|
587
587
|
footerAlign: {
|
|
588
|
-
type: PropType<"
|
|
588
|
+
type: PropType<"center" | "right" | "left">;
|
|
589
589
|
default: string;
|
|
590
590
|
};
|
|
591
591
|
cardProps: {
|
|
@@ -604,10 +604,10 @@ export declare const PlusSearch: {
|
|
|
604
604
|
default: boolean;
|
|
605
605
|
};
|
|
606
606
|
}>> & {
|
|
607
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
608
607
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
609
608
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
610
609
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
610
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
611
611
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
612
612
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
613
613
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -627,10 +627,10 @@ export declare const PlusSearch: {
|
|
|
627
627
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
628
628
|
columns?: PlusColumn[] | undefined;
|
|
629
629
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
630
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
630
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
631
631
|
readonly label: string | ComputedRef<string>;
|
|
632
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
633
|
-
readonly hasLabel: boolean |
|
|
632
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
633
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
634
634
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
635
635
|
style?: CSSProperties | undefined;
|
|
636
636
|
class?: any;
|
|
@@ -656,7 +656,7 @@ export declare const PlusSearch: {
|
|
|
656
656
|
};
|
|
657
657
|
rows: number;
|
|
658
658
|
autocomplete: string;
|
|
659
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
659
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
660
660
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
661
661
|
step: string | number;
|
|
662
662
|
format: string | ProgressFn | undefined;
|
|
@@ -701,8 +701,8 @@ export declare const PlusSearch: {
|
|
|
701
701
|
fieldInstance?: any;
|
|
702
702
|
valueIsReady?: Ref<boolean> | undefined;
|
|
703
703
|
prop: string;
|
|
704
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
705
|
-
hasLabel: boolean |
|
|
704
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
705
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
706
706
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
707
707
|
style?: CSSProperties | undefined;
|
|
708
708
|
class?: any;
|
|
@@ -735,10 +735,10 @@ export declare const PlusSearch: {
|
|
|
735
735
|
clearable: boolean;
|
|
736
736
|
index: number;
|
|
737
737
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
738
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
738
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
739
739
|
readonly label: string | ComputedRef<string>;
|
|
740
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
741
|
-
readonly hasLabel: boolean |
|
|
740
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
741
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
742
742
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
743
743
|
style?: CSSProperties | undefined;
|
|
744
744
|
class?: any;
|
|
@@ -764,7 +764,7 @@ export declare const PlusSearch: {
|
|
|
764
764
|
};
|
|
765
765
|
rows: number;
|
|
766
766
|
autocomplete: string;
|
|
767
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
767
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
768
768
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
769
769
|
step: string | number;
|
|
770
770
|
format: string | ProgressFn | undefined;
|
|
@@ -809,8 +809,8 @@ export declare const PlusSearch: {
|
|
|
809
809
|
fieldInstance?: any;
|
|
810
810
|
valueIsReady?: Ref<boolean> | undefined;
|
|
811
811
|
prop: string;
|
|
812
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
813
|
-
hasLabel: boolean |
|
|
812
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
813
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
814
814
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
815
815
|
style?: CSSProperties | undefined;
|
|
816
816
|
class?: any;
|
|
@@ -866,10 +866,6 @@ export declare const PlusSearch: {
|
|
|
866
866
|
reset: (values: FieldValues) => void;
|
|
867
867
|
collapse: (isShowUnfold: boolean) => void;
|
|
868
868
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
869
|
-
labelPosition: {
|
|
870
|
-
type: PropType<"left" | "right" | "top">;
|
|
871
|
-
default: undefined;
|
|
872
|
-
};
|
|
873
869
|
modelValue: {
|
|
874
870
|
type: PropType<FieldValues>;
|
|
875
871
|
default: () => {};
|
|
@@ -879,9 +875,13 @@ export declare const PlusSearch: {
|
|
|
879
875
|
default: () => never[];
|
|
880
876
|
};
|
|
881
877
|
layout: {
|
|
882
|
-
type: PropType<"
|
|
878
|
+
type: PropType<"grid" | "flex">;
|
|
883
879
|
default: "grid";
|
|
884
880
|
};
|
|
881
|
+
labelPosition: {
|
|
882
|
+
type: PropType<"top" | "right" | "left">;
|
|
883
|
+
default: undefined;
|
|
884
|
+
};
|
|
885
885
|
inline: {
|
|
886
886
|
type: PropType<boolean>;
|
|
887
887
|
default: boolean;
|
|
@@ -965,16 +965,16 @@ export declare const PlusSearch: {
|
|
|
965
965
|
default: undefined;
|
|
966
966
|
};
|
|
967
967
|
}>> & {
|
|
968
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
969
968
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
970
969
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
970
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
971
971
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
972
972
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
973
973
|
}, {
|
|
974
|
-
labelPosition: "left" | "right" | "top";
|
|
975
974
|
modelValue: FieldValues;
|
|
976
975
|
columns: PlusColumn[];
|
|
977
|
-
layout: "
|
|
976
|
+
layout: "grid" | "flex";
|
|
977
|
+
labelPosition: "top" | "right" | "left";
|
|
978
978
|
inline: boolean;
|
|
979
979
|
showNumber: number;
|
|
980
980
|
defaultValues: FieldValues;
|
|
@@ -1006,10 +1006,6 @@ export declare const PlusSearch: {
|
|
|
1006
1006
|
M: {};
|
|
1007
1007
|
Defaults: {};
|
|
1008
1008
|
}, Readonly< ExtractPropTypes<{
|
|
1009
|
-
labelPosition: {
|
|
1010
|
-
type: PropType<"left" | "right" | "top">;
|
|
1011
|
-
default: undefined;
|
|
1012
|
-
};
|
|
1013
1009
|
modelValue: {
|
|
1014
1010
|
type: PropType<FieldValues>;
|
|
1015
1011
|
default: () => {};
|
|
@@ -1019,9 +1015,13 @@ export declare const PlusSearch: {
|
|
|
1019
1015
|
default: () => never[];
|
|
1020
1016
|
};
|
|
1021
1017
|
layout: {
|
|
1022
|
-
type: PropType<"
|
|
1018
|
+
type: PropType<"grid" | "flex">;
|
|
1023
1019
|
default: "grid";
|
|
1024
1020
|
};
|
|
1021
|
+
labelPosition: {
|
|
1022
|
+
type: PropType<"top" | "right" | "left">;
|
|
1023
|
+
default: undefined;
|
|
1024
|
+
};
|
|
1025
1025
|
inline: {
|
|
1026
1026
|
type: PropType<boolean>;
|
|
1027
1027
|
default: boolean;
|
|
@@ -1105,9 +1105,9 @@ export declare const PlusSearch: {
|
|
|
1105
1105
|
default: undefined;
|
|
1106
1106
|
};
|
|
1107
1107
|
}>> & {
|
|
1108
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1109
1108
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1110
1109
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1110
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1111
1111
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1112
1112
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1113
1113
|
}, {
|
|
@@ -1115,14 +1115,14 @@ export declare const PlusSearch: {
|
|
|
1115
1115
|
$: ComponentInternalInstance;
|
|
1116
1116
|
$data: {};
|
|
1117
1117
|
$props: Partial<{
|
|
1118
|
-
labelPosition: "left" | "right" | "top";
|
|
1119
1118
|
modelValue: FieldValues;
|
|
1120
1119
|
collapseDuration: number;
|
|
1121
1120
|
collapseTransition: boolean;
|
|
1122
1121
|
columns: PlusColumn[];
|
|
1123
1122
|
group: false | PlusFormGroupRow[];
|
|
1124
|
-
layout: "
|
|
1123
|
+
layout: "grid" | "flex";
|
|
1125
1124
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1125
|
+
labelPosition: "top" | "right" | "left";
|
|
1126
1126
|
labelWidth: string | number;
|
|
1127
1127
|
labelSuffix: string;
|
|
1128
1128
|
defaultValues: FieldValues;
|
|
@@ -1141,7 +1141,7 @@ export declare const PlusSearch: {
|
|
|
1141
1141
|
submitText: string;
|
|
1142
1142
|
resetText: string;
|
|
1143
1143
|
submitLoading: boolean;
|
|
1144
|
-
footerAlign: "
|
|
1144
|
+
footerAlign: "center" | "right" | "left";
|
|
1145
1145
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1146
1146
|
style?: CSSProperties | undefined;
|
|
1147
1147
|
class?: any;
|
|
@@ -1149,11 +1149,11 @@ export declare const PlusSearch: {
|
|
|
1149
1149
|
prevent: boolean;
|
|
1150
1150
|
clearable: boolean;
|
|
1151
1151
|
}> & Omit<{
|
|
1152
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
1153
1152
|
readonly modelValue: FieldValues;
|
|
1154
1153
|
readonly columns: PlusColumn[];
|
|
1155
1154
|
readonly group: false | PlusFormGroupRow[];
|
|
1156
1155
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1156
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
1157
1157
|
readonly labelWidth: string | number;
|
|
1158
1158
|
readonly labelSuffix: string;
|
|
1159
1159
|
readonly defaultValues: FieldValues;
|
|
@@ -1172,7 +1172,7 @@ export declare const PlusSearch: {
|
|
|
1172
1172
|
readonly submitText: string;
|
|
1173
1173
|
readonly resetText: string;
|
|
1174
1174
|
readonly submitLoading: boolean;
|
|
1175
|
-
readonly footerAlign: "
|
|
1175
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
1176
1176
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1177
1177
|
style?: CSSProperties | undefined;
|
|
1178
1178
|
class?: any;
|
|
@@ -1181,18 +1181,14 @@ export declare const PlusSearch: {
|
|
|
1181
1181
|
readonly clearable: boolean;
|
|
1182
1182
|
readonly collapseDuration?: number | undefined;
|
|
1183
1183
|
readonly collapseTransition?: boolean | undefined;
|
|
1184
|
-
readonly layout?: "
|
|
1185
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1184
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
1186
1185
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1187
1186
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1188
1187
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1188
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1189
1189
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1190
1190
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1191
1191
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1192
|
-
labelPosition: {
|
|
1193
|
-
type: PropType<"left" | "right" | "top">;
|
|
1194
|
-
default: string;
|
|
1195
|
-
};
|
|
1196
1192
|
modelValue: {
|
|
1197
1193
|
type: PropType<FieldValues>;
|
|
1198
1194
|
default: () => {};
|
|
@@ -1214,13 +1210,17 @@ export declare const PlusSearch: {
|
|
|
1214
1210
|
default: boolean;
|
|
1215
1211
|
};
|
|
1216
1212
|
layout: {
|
|
1217
|
-
type: PropType<"
|
|
1213
|
+
type: PropType<"grid" | "flex">;
|
|
1218
1214
|
default: undefined;
|
|
1219
1215
|
};
|
|
1220
1216
|
rules: {
|
|
1221
1217
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1222
1218
|
default: () => {};
|
|
1223
1219
|
};
|
|
1220
|
+
labelPosition: {
|
|
1221
|
+
type: PropType<"top" | "right" | "left">;
|
|
1222
|
+
default: string;
|
|
1223
|
+
};
|
|
1224
1224
|
labelWidth: {
|
|
1225
1225
|
type: PropType<string | number>;
|
|
1226
1226
|
default: string;
|
|
@@ -1276,7 +1276,7 @@ export declare const PlusSearch: {
|
|
|
1276
1276
|
default: boolean;
|
|
1277
1277
|
};
|
|
1278
1278
|
footerAlign: {
|
|
1279
|
-
type: PropType<"
|
|
1279
|
+
type: PropType<"center" | "right" | "left">;
|
|
1280
1280
|
default: string;
|
|
1281
1281
|
};
|
|
1282
1282
|
cardProps: {
|
|
@@ -1295,13 +1295,13 @@ export declare const PlusSearch: {
|
|
|
1295
1295
|
default: boolean;
|
|
1296
1296
|
};
|
|
1297
1297
|
}>> & {
|
|
1298
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1299
1298
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1300
1299
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1301
1300
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1301
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1302
1302
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1303
1303
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1304
|
-
}, "
|
|
1304
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1305
1305
|
$attrs: {
|
|
1306
1306
|
[x: string]: unknown;
|
|
1307
1307
|
};
|
|
@@ -1313,13 +1313,9 @@ export declare const PlusSearch: {
|
|
|
1313
1313
|
}>;
|
|
1314
1314
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1315
1315
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1316
|
-
$emit: ((event: "
|
|
1316
|
+
$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);
|
|
1317
1317
|
$el: any;
|
|
1318
1318
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1319
|
-
labelPosition: {
|
|
1320
|
-
type: PropType<"left" | "right" | "top">;
|
|
1321
|
-
default: string;
|
|
1322
|
-
};
|
|
1323
1319
|
modelValue: {
|
|
1324
1320
|
type: PropType<FieldValues>;
|
|
1325
1321
|
default: () => {};
|
|
@@ -1341,13 +1337,17 @@ export declare const PlusSearch: {
|
|
|
1341
1337
|
default: boolean;
|
|
1342
1338
|
};
|
|
1343
1339
|
layout: {
|
|
1344
|
-
type: PropType<"
|
|
1340
|
+
type: PropType<"grid" | "flex">;
|
|
1345
1341
|
default: undefined;
|
|
1346
1342
|
};
|
|
1347
1343
|
rules: {
|
|
1348
1344
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1349
1345
|
default: () => {};
|
|
1350
1346
|
};
|
|
1347
|
+
labelPosition: {
|
|
1348
|
+
type: PropType<"top" | "right" | "left">;
|
|
1349
|
+
default: string;
|
|
1350
|
+
};
|
|
1351
1351
|
labelWidth: {
|
|
1352
1352
|
type: PropType<string | number>;
|
|
1353
1353
|
default: string;
|
|
@@ -1403,7 +1403,7 @@ export declare const PlusSearch: {
|
|
|
1403
1403
|
default: boolean;
|
|
1404
1404
|
};
|
|
1405
1405
|
footerAlign: {
|
|
1406
|
-
type: PropType<"
|
|
1406
|
+
type: PropType<"center" | "right" | "left">;
|
|
1407
1407
|
default: string;
|
|
1408
1408
|
};
|
|
1409
1409
|
cardProps: {
|
|
@@ -1422,10 +1422,10 @@ export declare const PlusSearch: {
|
|
|
1422
1422
|
default: boolean;
|
|
1423
1423
|
};
|
|
1424
1424
|
}>> & {
|
|
1425
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1426
1425
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1427
1426
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1428
1427
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1428
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1429
1429
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1430
1430
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1431
1431
|
}, {
|
|
@@ -1440,14 +1440,14 @@ export declare const PlusSearch: {
|
|
|
1440
1440
|
submitError: (errors: unknown) => void;
|
|
1441
1441
|
validate: (...args: any[]) => void;
|
|
1442
1442
|
}, string, {
|
|
1443
|
-
labelPosition: "left" | "right" | "top";
|
|
1444
1443
|
modelValue: FieldValues;
|
|
1445
1444
|
collapseDuration: number;
|
|
1446
1445
|
collapseTransition: boolean;
|
|
1447
1446
|
columns: PlusColumn[];
|
|
1448
1447
|
group: false | PlusFormGroupRow[];
|
|
1449
|
-
layout: "
|
|
1448
|
+
layout: "grid" | "flex";
|
|
1450
1449
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1450
|
+
labelPosition: "top" | "right" | "left";
|
|
1451
1451
|
labelWidth: string | number;
|
|
1452
1452
|
labelSuffix: string;
|
|
1453
1453
|
defaultValues: FieldValues;
|
|
@@ -1466,7 +1466,7 @@ export declare const PlusSearch: {
|
|
|
1466
1466
|
submitText: string;
|
|
1467
1467
|
resetText: string;
|
|
1468
1468
|
submitLoading: boolean;
|
|
1469
|
-
footerAlign: "
|
|
1469
|
+
footerAlign: "center" | "right" | "left";
|
|
1470
1470
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1471
1471
|
style?: CSSProperties | undefined;
|
|
1472
1472
|
class?: any;
|
|
@@ -1494,10 +1494,6 @@ export declare const PlusSearch: {
|
|
|
1494
1494
|
$nextTick: nextTick;
|
|
1495
1495
|
$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;
|
|
1496
1496
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1497
|
-
labelPosition: {
|
|
1498
|
-
type: PropType<"left" | "right" | "top">;
|
|
1499
|
-
default: string;
|
|
1500
|
-
};
|
|
1501
1497
|
modelValue: {
|
|
1502
1498
|
type: PropType<FieldValues>;
|
|
1503
1499
|
default: () => {};
|
|
@@ -1519,13 +1515,17 @@ export declare const PlusSearch: {
|
|
|
1519
1515
|
default: boolean;
|
|
1520
1516
|
};
|
|
1521
1517
|
layout: {
|
|
1522
|
-
type: PropType<"
|
|
1518
|
+
type: PropType<"grid" | "flex">;
|
|
1523
1519
|
default: undefined;
|
|
1524
1520
|
};
|
|
1525
1521
|
rules: {
|
|
1526
1522
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1527
1523
|
default: () => {};
|
|
1528
1524
|
};
|
|
1525
|
+
labelPosition: {
|
|
1526
|
+
type: PropType<"top" | "right" | "left">;
|
|
1527
|
+
default: string;
|
|
1528
|
+
};
|
|
1529
1529
|
labelWidth: {
|
|
1530
1530
|
type: PropType<string | number>;
|
|
1531
1531
|
default: string;
|
|
@@ -1581,7 +1581,7 @@ export declare const PlusSearch: {
|
|
|
1581
1581
|
default: boolean;
|
|
1582
1582
|
};
|
|
1583
1583
|
footerAlign: {
|
|
1584
|
-
type: PropType<"
|
|
1584
|
+
type: PropType<"center" | "right" | "left">;
|
|
1585
1585
|
default: string;
|
|
1586
1586
|
};
|
|
1587
1587
|
cardProps: {
|
|
@@ -1600,10 +1600,10 @@ export declare const PlusSearch: {
|
|
|
1600
1600
|
default: boolean;
|
|
1601
1601
|
};
|
|
1602
1602
|
}>> & {
|
|
1603
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1604
1603
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1605
1604
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1606
1605
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1606
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1607
1607
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1608
1608
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1609
1609
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1623,10 +1623,10 @@ export declare const PlusSearch: {
|
|
|
1623
1623
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1624
1624
|
columns?: PlusColumn[] | undefined;
|
|
1625
1625
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1626
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1626
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1627
1627
|
readonly label: string | ComputedRef<string>;
|
|
1628
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1629
|
-
readonly hasLabel: boolean |
|
|
1628
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1629
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1630
1630
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1631
1631
|
style?: CSSProperties | undefined;
|
|
1632
1632
|
class?: any;
|
|
@@ -1652,7 +1652,7 @@ export declare const PlusSearch: {
|
|
|
1652
1652
|
};
|
|
1653
1653
|
rows: number;
|
|
1654
1654
|
autocomplete: string;
|
|
1655
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1655
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1656
1656
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1657
1657
|
step: string | number;
|
|
1658
1658
|
format: string | ProgressFn | undefined;
|
|
@@ -1697,8 +1697,8 @@ export declare const PlusSearch: {
|
|
|
1697
1697
|
fieldInstance?: any;
|
|
1698
1698
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1699
1699
|
prop: string;
|
|
1700
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1701
|
-
hasLabel: boolean |
|
|
1700
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1701
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1702
1702
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1703
1703
|
style?: CSSProperties | undefined;
|
|
1704
1704
|
class?: any;
|
|
@@ -1731,10 +1731,10 @@ export declare const PlusSearch: {
|
|
|
1731
1731
|
clearable: boolean;
|
|
1732
1732
|
index: number;
|
|
1733
1733
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1734
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1734
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1735
1735
|
readonly label: string | ComputedRef<string>;
|
|
1736
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1737
|
-
readonly hasLabel: boolean |
|
|
1736
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1737
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1738
1738
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1739
1739
|
style?: CSSProperties | undefined;
|
|
1740
1740
|
class?: any;
|
|
@@ -1760,7 +1760,7 @@ export declare const PlusSearch: {
|
|
|
1760
1760
|
};
|
|
1761
1761
|
rows: number;
|
|
1762
1762
|
autocomplete: string;
|
|
1763
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1763
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1764
1764
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1765
1765
|
step: string | number;
|
|
1766
1766
|
format: string | ProgressFn | undefined;
|
|
@@ -1805,8 +1805,8 @@ export declare const PlusSearch: {
|
|
|
1805
1805
|
fieldInstance?: any;
|
|
1806
1806
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1807
1807
|
prop: string;
|
|
1808
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1809
|
-
hasLabel: boolean |
|
|
1808
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1809
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1810
1810
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1811
1811
|
style?: CSSProperties | undefined;
|
|
1812
1812
|
class?: any;
|
|
@@ -1856,10 +1856,10 @@ export declare const PlusSearch: {
|
|
|
1856
1856
|
handleSearch: () => void;
|
|
1857
1857
|
handleUnfold: (e: MouseEvent) => void;
|
|
1858
1858
|
}, {}, {}, {}, {
|
|
1859
|
-
labelPosition: "left" | "right" | "top";
|
|
1860
1859
|
modelValue: FieldValues;
|
|
1861
1860
|
columns: PlusColumn[];
|
|
1862
|
-
layout: "
|
|
1861
|
+
layout: "grid" | "flex";
|
|
1862
|
+
labelPosition: "top" | "right" | "left";
|
|
1863
1863
|
inline: boolean;
|
|
1864
1864
|
showNumber: number;
|
|
1865
1865
|
defaultValues: FieldValues;
|
|
@@ -1888,10 +1888,6 @@ export declare const PlusSearch: {
|
|
|
1888
1888
|
__isTeleport?: undefined;
|
|
1889
1889
|
__isSuspense?: undefined;
|
|
1890
1890
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1891
|
-
labelPosition: {
|
|
1892
|
-
type: PropType<"left" | "right" | "top">;
|
|
1893
|
-
default: undefined;
|
|
1894
|
-
};
|
|
1895
1891
|
modelValue: {
|
|
1896
1892
|
type: PropType<FieldValues>;
|
|
1897
1893
|
default: () => {};
|
|
@@ -1901,9 +1897,13 @@ export declare const PlusSearch: {
|
|
|
1901
1897
|
default: () => never[];
|
|
1902
1898
|
};
|
|
1903
1899
|
layout: {
|
|
1904
|
-
type: PropType<"
|
|
1900
|
+
type: PropType<"grid" | "flex">;
|
|
1905
1901
|
default: "grid";
|
|
1906
1902
|
};
|
|
1903
|
+
labelPosition: {
|
|
1904
|
+
type: PropType<"top" | "right" | "left">;
|
|
1905
|
+
default: undefined;
|
|
1906
|
+
};
|
|
1907
1907
|
inline: {
|
|
1908
1908
|
type: PropType<boolean>;
|
|
1909
1909
|
default: boolean;
|
|
@@ -1987,9 +1987,9 @@ export declare const PlusSearch: {
|
|
|
1987
1987
|
default: undefined;
|
|
1988
1988
|
};
|
|
1989
1989
|
}>> & {
|
|
1990
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1991
1990
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1992
1991
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1992
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1993
1993
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1994
1994
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1995
1995
|
}, {
|
|
@@ -1997,14 +1997,14 @@ export declare const PlusSearch: {
|
|
|
1997
1997
|
$: ComponentInternalInstance;
|
|
1998
1998
|
$data: {};
|
|
1999
1999
|
$props: Partial<{
|
|
2000
|
-
labelPosition: "left" | "right" | "top";
|
|
2001
2000
|
modelValue: FieldValues;
|
|
2002
2001
|
collapseDuration: number;
|
|
2003
2002
|
collapseTransition: boolean;
|
|
2004
2003
|
columns: PlusColumn[];
|
|
2005
2004
|
group: false | PlusFormGroupRow[];
|
|
2006
|
-
layout: "
|
|
2005
|
+
layout: "grid" | "flex";
|
|
2007
2006
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2007
|
+
labelPosition: "top" | "right" | "left";
|
|
2008
2008
|
labelWidth: string | number;
|
|
2009
2009
|
labelSuffix: string;
|
|
2010
2010
|
defaultValues: FieldValues;
|
|
@@ -2023,7 +2023,7 @@ export declare const PlusSearch: {
|
|
|
2023
2023
|
submitText: string;
|
|
2024
2024
|
resetText: string;
|
|
2025
2025
|
submitLoading: boolean;
|
|
2026
|
-
footerAlign: "
|
|
2026
|
+
footerAlign: "center" | "right" | "left";
|
|
2027
2027
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2028
2028
|
style?: CSSProperties | undefined;
|
|
2029
2029
|
class?: any;
|
|
@@ -2031,11 +2031,11 @@ export declare const PlusSearch: {
|
|
|
2031
2031
|
prevent: boolean;
|
|
2032
2032
|
clearable: boolean;
|
|
2033
2033
|
}> & Omit<{
|
|
2034
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
2035
2034
|
readonly modelValue: FieldValues;
|
|
2036
2035
|
readonly columns: PlusColumn[];
|
|
2037
2036
|
readonly group: false | PlusFormGroupRow[];
|
|
2038
2037
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2038
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
2039
2039
|
readonly labelWidth: string | number;
|
|
2040
2040
|
readonly labelSuffix: string;
|
|
2041
2041
|
readonly defaultValues: FieldValues;
|
|
@@ -2054,7 +2054,7 @@ export declare const PlusSearch: {
|
|
|
2054
2054
|
readonly submitText: string;
|
|
2055
2055
|
readonly resetText: string;
|
|
2056
2056
|
readonly submitLoading: boolean;
|
|
2057
|
-
readonly footerAlign: "
|
|
2057
|
+
readonly footerAlign: "center" | "right" | "left";
|
|
2058
2058
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
2059
2059
|
style?: CSSProperties | undefined;
|
|
2060
2060
|
class?: any;
|
|
@@ -2063,18 +2063,14 @@ export declare const PlusSearch: {
|
|
|
2063
2063
|
readonly clearable: boolean;
|
|
2064
2064
|
readonly collapseDuration?: number | undefined;
|
|
2065
2065
|
readonly collapseTransition?: boolean | undefined;
|
|
2066
|
-
readonly layout?: "
|
|
2067
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2066
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
2068
2067
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2069
2068
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2070
2069
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2070
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2071
2071
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2072
2072
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2073
2073
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2074
|
-
labelPosition: {
|
|
2075
|
-
type: PropType<"left" | "right" | "top">;
|
|
2076
|
-
default: string;
|
|
2077
|
-
};
|
|
2078
2074
|
modelValue: {
|
|
2079
2075
|
type: PropType<FieldValues>;
|
|
2080
2076
|
default: () => {};
|
|
@@ -2096,13 +2092,17 @@ export declare const PlusSearch: {
|
|
|
2096
2092
|
default: boolean;
|
|
2097
2093
|
};
|
|
2098
2094
|
layout: {
|
|
2099
|
-
type: PropType<"
|
|
2095
|
+
type: PropType<"grid" | "flex">;
|
|
2100
2096
|
default: undefined;
|
|
2101
2097
|
};
|
|
2102
2098
|
rules: {
|
|
2103
2099
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2104
2100
|
default: () => {};
|
|
2105
2101
|
};
|
|
2102
|
+
labelPosition: {
|
|
2103
|
+
type: PropType<"top" | "right" | "left">;
|
|
2104
|
+
default: string;
|
|
2105
|
+
};
|
|
2106
2106
|
labelWidth: {
|
|
2107
2107
|
type: PropType<string | number>;
|
|
2108
2108
|
default: string;
|
|
@@ -2158,7 +2158,7 @@ export declare const PlusSearch: {
|
|
|
2158
2158
|
default: boolean;
|
|
2159
2159
|
};
|
|
2160
2160
|
footerAlign: {
|
|
2161
|
-
type: PropType<"
|
|
2161
|
+
type: PropType<"center" | "right" | "left">;
|
|
2162
2162
|
default: string;
|
|
2163
2163
|
};
|
|
2164
2164
|
cardProps: {
|
|
@@ -2177,13 +2177,13 @@ export declare const PlusSearch: {
|
|
|
2177
2177
|
default: boolean;
|
|
2178
2178
|
};
|
|
2179
2179
|
}>> & {
|
|
2180
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2181
2180
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2182
2181
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2183
2182
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2183
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2184
2184
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2185
2185
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2186
|
-
}, "
|
|
2186
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2187
2187
|
$attrs: {
|
|
2188
2188
|
[x: string]: unknown;
|
|
2189
2189
|
};
|
|
@@ -2195,13 +2195,9 @@ export declare const PlusSearch: {
|
|
|
2195
2195
|
}>;
|
|
2196
2196
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2197
2197
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2198
|
-
$emit: ((event: "
|
|
2198
|
+
$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);
|
|
2199
2199
|
$el: any;
|
|
2200
2200
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2201
|
-
labelPosition: {
|
|
2202
|
-
type: PropType<"left" | "right" | "top">;
|
|
2203
|
-
default: string;
|
|
2204
|
-
};
|
|
2205
2201
|
modelValue: {
|
|
2206
2202
|
type: PropType<FieldValues>;
|
|
2207
2203
|
default: () => {};
|
|
@@ -2223,13 +2219,17 @@ export declare const PlusSearch: {
|
|
|
2223
2219
|
default: boolean;
|
|
2224
2220
|
};
|
|
2225
2221
|
layout: {
|
|
2226
|
-
type: PropType<"
|
|
2222
|
+
type: PropType<"grid" | "flex">;
|
|
2227
2223
|
default: undefined;
|
|
2228
2224
|
};
|
|
2229
2225
|
rules: {
|
|
2230
2226
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2231
2227
|
default: () => {};
|
|
2232
2228
|
};
|
|
2229
|
+
labelPosition: {
|
|
2230
|
+
type: PropType<"top" | "right" | "left">;
|
|
2231
|
+
default: string;
|
|
2232
|
+
};
|
|
2233
2233
|
labelWidth: {
|
|
2234
2234
|
type: PropType<string | number>;
|
|
2235
2235
|
default: string;
|
|
@@ -2285,7 +2285,7 @@ export declare const PlusSearch: {
|
|
|
2285
2285
|
default: boolean;
|
|
2286
2286
|
};
|
|
2287
2287
|
footerAlign: {
|
|
2288
|
-
type: PropType<"
|
|
2288
|
+
type: PropType<"center" | "right" | "left">;
|
|
2289
2289
|
default: string;
|
|
2290
2290
|
};
|
|
2291
2291
|
cardProps: {
|
|
@@ -2304,10 +2304,10 @@ export declare const PlusSearch: {
|
|
|
2304
2304
|
default: boolean;
|
|
2305
2305
|
};
|
|
2306
2306
|
}>> & {
|
|
2307
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2308
2307
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2309
2308
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2310
2309
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2310
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2311
2311
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2312
2312
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2313
2313
|
}, {
|
|
@@ -2322,14 +2322,14 @@ export declare const PlusSearch: {
|
|
|
2322
2322
|
submitError: (errors: unknown) => void;
|
|
2323
2323
|
validate: (...args: any[]) => void;
|
|
2324
2324
|
}, string, {
|
|
2325
|
-
labelPosition: "left" | "right" | "top";
|
|
2326
2325
|
modelValue: FieldValues;
|
|
2327
2326
|
collapseDuration: number;
|
|
2328
2327
|
collapseTransition: boolean;
|
|
2329
2328
|
columns: PlusColumn[];
|
|
2330
2329
|
group: false | PlusFormGroupRow[];
|
|
2331
|
-
layout: "
|
|
2330
|
+
layout: "grid" | "flex";
|
|
2332
2331
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2332
|
+
labelPosition: "top" | "right" | "left";
|
|
2333
2333
|
labelWidth: string | number;
|
|
2334
2334
|
labelSuffix: string;
|
|
2335
2335
|
defaultValues: FieldValues;
|
|
@@ -2348,7 +2348,7 @@ export declare const PlusSearch: {
|
|
|
2348
2348
|
submitText: string;
|
|
2349
2349
|
resetText: string;
|
|
2350
2350
|
submitLoading: boolean;
|
|
2351
|
-
footerAlign: "
|
|
2351
|
+
footerAlign: "center" | "right" | "left";
|
|
2352
2352
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2353
2353
|
style?: CSSProperties | undefined;
|
|
2354
2354
|
class?: any;
|
|
@@ -2376,10 +2376,6 @@ export declare const PlusSearch: {
|
|
|
2376
2376
|
$nextTick: nextTick;
|
|
2377
2377
|
$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;
|
|
2378
2378
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2379
|
-
labelPosition: {
|
|
2380
|
-
type: PropType<"left" | "right" | "top">;
|
|
2381
|
-
default: string;
|
|
2382
|
-
};
|
|
2383
2379
|
modelValue: {
|
|
2384
2380
|
type: PropType<FieldValues>;
|
|
2385
2381
|
default: () => {};
|
|
@@ -2401,13 +2397,17 @@ export declare const PlusSearch: {
|
|
|
2401
2397
|
default: boolean;
|
|
2402
2398
|
};
|
|
2403
2399
|
layout: {
|
|
2404
|
-
type: PropType<"
|
|
2400
|
+
type: PropType<"grid" | "flex">;
|
|
2405
2401
|
default: undefined;
|
|
2406
2402
|
};
|
|
2407
2403
|
rules: {
|
|
2408
2404
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2409
2405
|
default: () => {};
|
|
2410
2406
|
};
|
|
2407
|
+
labelPosition: {
|
|
2408
|
+
type: PropType<"top" | "right" | "left">;
|
|
2409
|
+
default: string;
|
|
2410
|
+
};
|
|
2411
2411
|
labelWidth: {
|
|
2412
2412
|
type: PropType<string | number>;
|
|
2413
2413
|
default: string;
|
|
@@ -2463,7 +2463,7 @@ export declare const PlusSearch: {
|
|
|
2463
2463
|
default: boolean;
|
|
2464
2464
|
};
|
|
2465
2465
|
footerAlign: {
|
|
2466
|
-
type: PropType<"
|
|
2466
|
+
type: PropType<"center" | "right" | "left">;
|
|
2467
2467
|
default: string;
|
|
2468
2468
|
};
|
|
2469
2469
|
cardProps: {
|
|
@@ -2482,10 +2482,10 @@ export declare const PlusSearch: {
|
|
|
2482
2482
|
default: boolean;
|
|
2483
2483
|
};
|
|
2484
2484
|
}>> & {
|
|
2485
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2486
2485
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2487
2486
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2488
2487
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2488
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2489
2489
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2490
2490
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2491
2491
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2505,10 +2505,10 @@ export declare const PlusSearch: {
|
|
|
2505
2505
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2506
2506
|
columns?: PlusColumn[] | undefined;
|
|
2507
2507
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2508
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2508
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2509
2509
|
readonly label: string | ComputedRef<string>;
|
|
2510
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
2511
|
-
readonly hasLabel: boolean |
|
|
2510
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2511
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2512
2512
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2513
2513
|
style?: CSSProperties | undefined;
|
|
2514
2514
|
class?: any;
|
|
@@ -2534,7 +2534,7 @@ export declare const PlusSearch: {
|
|
|
2534
2534
|
};
|
|
2535
2535
|
rows: number;
|
|
2536
2536
|
autocomplete: string;
|
|
2537
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2537
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2538
2538
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2539
2539
|
step: string | number;
|
|
2540
2540
|
format: string | ProgressFn | undefined;
|
|
@@ -2579,8 +2579,8 @@ export declare const PlusSearch: {
|
|
|
2579
2579
|
fieldInstance?: any;
|
|
2580
2580
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2581
2581
|
prop: string;
|
|
2582
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
2583
|
-
hasLabel: boolean |
|
|
2582
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2583
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2584
2584
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2585
2585
|
style?: CSSProperties | undefined;
|
|
2586
2586
|
class?: any;
|
|
@@ -2613,10 +2613,10 @@ export declare const PlusSearch: {
|
|
|
2613
2613
|
clearable: boolean;
|
|
2614
2614
|
index: number;
|
|
2615
2615
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2616
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2616
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2617
2617
|
readonly label: string | ComputedRef<string>;
|
|
2618
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
2619
|
-
readonly hasLabel: boolean |
|
|
2618
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2619
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2620
2620
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2621
2621
|
style?: CSSProperties | undefined;
|
|
2622
2622
|
class?: any;
|
|
@@ -2642,7 +2642,7 @@ export declare const PlusSearch: {
|
|
|
2642
2642
|
};
|
|
2643
2643
|
rows: number;
|
|
2644
2644
|
autocomplete: string;
|
|
2645
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2645
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2646
2646
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2647
2647
|
step: string | number;
|
|
2648
2648
|
format: string | ProgressFn | undefined;
|
|
@@ -2687,8 +2687,8 @@ export declare const PlusSearch: {
|
|
|
2687
2687
|
fieldInstance?: any;
|
|
2688
2688
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2689
2689
|
prop: string;
|
|
2690
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
2691
|
-
hasLabel: boolean |
|
|
2690
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2691
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2692
2692
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2693
2693
|
style?: CSSProperties | undefined;
|
|
2694
2694
|
class?: any;
|
|
@@ -2744,10 +2744,10 @@ export declare const PlusSearch: {
|
|
|
2744
2744
|
reset: (values: FieldValues) => void;
|
|
2745
2745
|
collapse: (isShowUnfold: boolean) => void;
|
|
2746
2746
|
}, string, {
|
|
2747
|
-
labelPosition: "left" | "right" | "top";
|
|
2748
2747
|
modelValue: FieldValues;
|
|
2749
2748
|
columns: PlusColumn[];
|
|
2750
|
-
layout: "
|
|
2749
|
+
layout: "grid" | "flex";
|
|
2750
|
+
labelPosition: "top" | "right" | "left";
|
|
2751
2751
|
inline: boolean;
|
|
2752
2752
|
showNumber: number;
|
|
2753
2753
|
defaultValues: FieldValues;
|
|
@@ -2773,10 +2773,10 @@ export declare const PlusSearch: {
|
|
|
2773
2773
|
resetIcon: Component | null;
|
|
2774
2774
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2775
2775
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2776
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2776
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2777
2777
|
readonly label: string | ComputedRef<string>;
|
|
2778
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
2779
|
-
readonly hasLabel: boolean |
|
|
2778
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2779
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2780
2780
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2781
2781
|
style?: CSSProperties | undefined;
|
|
2782
2782
|
class?: any;
|
|
@@ -2802,7 +2802,7 @@ export declare const PlusSearch: {
|
|
|
2802
2802
|
};
|
|
2803
2803
|
rows: number;
|
|
2804
2804
|
autocomplete: string;
|
|
2805
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2805
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2806
2806
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2807
2807
|
step: string | number;
|
|
2808
2808
|
format: string | ProgressFn | undefined;
|
|
@@ -2847,8 +2847,8 @@ export declare const PlusSearch: {
|
|
|
2847
2847
|
fieldInstance?: any;
|
|
2848
2848
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2849
2849
|
prop: string;
|
|
2850
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
2851
|
-
hasLabel: boolean |
|
|
2850
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2851
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2852
2852
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2853
2853
|
style?: CSSProperties | undefined;
|
|
2854
2854
|
class?: any;
|