yc-pro-components 0.0.23 → 0.0.25
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 +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +50 -50
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +64 -45
- package/es/components/form/src/form-content.vue.d.ts +24 -20
- package/es/components/form/src/form-content.vue2.mjs +106 -96
- package/es/components/form/src/index.vue.d.ts +20 -17
- package/es/components/form/src/index.vue2.mjs +5 -2
- package/es/components/form/src/type.d.ts +4 -0
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- package/es/components/form-item/src/index.vue2.mjs +22 -18
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +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 +587 -452
- package/es/components/page/src/index.vue.d.ts +199 -154
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +218 -154
- package/es/components/search/src/index.vue.d.ts +68 -50
- package/es/components/search/src/index.vue2.mjs +3 -1
- package/es/components/search/src/type.d.ts +7 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +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-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +450 -360
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +2 -15
- package/es/components/yc-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/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +1 -1
- package/index.css +6 -6
- package/index.js +140 -134
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +140 -134
- 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 +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +50 -50
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +64 -45
- package/lib/components/form/src/form-content.vue.d.ts +24 -20
- package/lib/components/form/src/form-content.vue2.js +105 -95
- package/lib/components/form/src/index.vue.d.ts +20 -17
- package/lib/components/form/src/index.vue2.js +5 -2
- package/lib/components/form/src/type.d.ts +4 -0
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- package/lib/components/form-item/src/index.vue2.js +21 -17
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +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 +587 -452
- package/lib/components/page/src/index.vue.d.ts +199 -154
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +218 -154
- package/lib/components/search/src/index.vue.d.ts +68 -50
- package/lib/components/search/src/index.vue2.js +3 -1
- package/lib/components/search/src/type.d.ts +7 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +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-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +450 -360
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +2 -15
- package/lib/components/yc-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/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +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-form.css +1 -1
- package/theme-chalk/plus-search.css +1 -1
- package/theme-chalk/plus-yc-plus-tree.css +1 -1
- package/theme-chalk/src/form.scss +20 -0
- package/theme-chalk/src/search.scss +125 -0
- package/theme-chalk/src/yc-plus-tree.scss +25 -0
|
@@ -11,6 +11,7 @@ import { ComputedRef, DefineComponent, Ref, ComponentInternalInstance, CSSProper
|
|
|
11
11
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusSearchProps>, {
|
|
12
12
|
modelValue: () => {};
|
|
13
13
|
defaultValues: () => {};
|
|
14
|
+
layout: "flex";
|
|
14
15
|
hasFooter: boolean;
|
|
15
16
|
hasReset: boolean;
|
|
16
17
|
hasUnfold: boolean;
|
|
@@ -42,11 +43,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
42
43
|
$: ComponentInternalInstance;
|
|
43
44
|
$data: {};
|
|
44
45
|
$props: Partial<{
|
|
45
|
-
modelValue: FieldValues;
|
|
46
46
|
collapseDuration: number;
|
|
47
47
|
collapseTransition: boolean;
|
|
48
48
|
columns: PlusColumn[];
|
|
49
49
|
group: false | PlusFormGroupRow[];
|
|
50
|
+
layout: "grid" | "flex";
|
|
51
|
+
modelValue: FieldValues;
|
|
50
52
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
51
53
|
labelPosition: "top" | "right" | "left";
|
|
52
54
|
labelWidth: string | number;
|
|
@@ -67,7 +69,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
67
69
|
submitText: string;
|
|
68
70
|
resetText: string;
|
|
69
71
|
submitLoading: boolean;
|
|
70
|
-
footerAlign: "
|
|
72
|
+
footerAlign: "right" | "left" | "center";
|
|
71
73
|
cardProps: Partial< Mutable<CardProps> & {
|
|
72
74
|
style?: CSSProperties | undefined;
|
|
73
75
|
class?: any;
|
|
@@ -75,9 +77,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
75
77
|
prevent: boolean;
|
|
76
78
|
clearable: boolean;
|
|
77
79
|
}> & Omit<{
|
|
78
|
-
readonly modelValue: FieldValues;
|
|
79
80
|
readonly columns: PlusColumn[];
|
|
80
81
|
readonly group: false | PlusFormGroupRow[];
|
|
82
|
+
readonly layout: "grid" | "flex";
|
|
83
|
+
readonly modelValue: FieldValues;
|
|
81
84
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
82
85
|
readonly labelPosition: "top" | "right" | "left";
|
|
83
86
|
readonly labelWidth: string | number;
|
|
@@ -98,7 +101,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
98
101
|
readonly submitText: string;
|
|
99
102
|
readonly resetText: string;
|
|
100
103
|
readonly submitLoading: boolean;
|
|
101
|
-
readonly footerAlign: "
|
|
104
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
102
105
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
103
106
|
style?: CSSProperties | undefined;
|
|
104
107
|
class?: any;
|
|
@@ -107,17 +110,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
107
110
|
readonly clearable: boolean;
|
|
108
111
|
readonly collapseDuration?: number | undefined;
|
|
109
112
|
readonly collapseTransition?: boolean | undefined;
|
|
110
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
111
113
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
112
114
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
113
115
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
116
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
114
117
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
115
118
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
116
119
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
117
|
-
modelValue: {
|
|
118
|
-
type: PropType<FieldValues>;
|
|
119
|
-
default: () => {};
|
|
120
|
-
};
|
|
121
120
|
collapseDuration: {
|
|
122
121
|
type: PropType<number>;
|
|
123
122
|
default: undefined;
|
|
@@ -134,6 +133,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
134
133
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
135
134
|
default: boolean;
|
|
136
135
|
};
|
|
136
|
+
layout: {
|
|
137
|
+
type: PropType<"grid" | "flex">;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
modelValue: {
|
|
141
|
+
type: PropType<FieldValues>;
|
|
142
|
+
default: () => {};
|
|
143
|
+
};
|
|
137
144
|
rules: {
|
|
138
145
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
139
146
|
default: () => {};
|
|
@@ -197,7 +204,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
197
204
|
default: boolean;
|
|
198
205
|
};
|
|
199
206
|
footerAlign: {
|
|
200
|
-
type: PropType<"
|
|
207
|
+
type: PropType<"right" | "left" | "center">;
|
|
201
208
|
default: string;
|
|
202
209
|
};
|
|
203
210
|
cardProps: {
|
|
@@ -216,13 +223,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
216
223
|
default: boolean;
|
|
217
224
|
};
|
|
218
225
|
}>> & {
|
|
219
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
220
226
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
221
227
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
222
228
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
229
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
223
230
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
224
231
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
225
|
-
}, "
|
|
232
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
226
233
|
$attrs: {
|
|
227
234
|
[x: string]: unknown;
|
|
228
235
|
};
|
|
@@ -234,13 +241,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
234
241
|
}>;
|
|
235
242
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
236
243
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
237
|
-
$emit: ((event: "
|
|
244
|
+
$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);
|
|
238
245
|
$el: any;
|
|
239
246
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
240
|
-
modelValue: {
|
|
241
|
-
type: PropType<FieldValues>;
|
|
242
|
-
default: () => {};
|
|
243
|
-
};
|
|
244
247
|
collapseDuration: {
|
|
245
248
|
type: PropType<number>;
|
|
246
249
|
default: undefined;
|
|
@@ -257,6 +260,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
257
260
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
258
261
|
default: boolean;
|
|
259
262
|
};
|
|
263
|
+
layout: {
|
|
264
|
+
type: PropType<"grid" | "flex">;
|
|
265
|
+
default: string;
|
|
266
|
+
};
|
|
267
|
+
modelValue: {
|
|
268
|
+
type: PropType<FieldValues>;
|
|
269
|
+
default: () => {};
|
|
270
|
+
};
|
|
260
271
|
rules: {
|
|
261
272
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
262
273
|
default: () => {};
|
|
@@ -320,7 +331,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
320
331
|
default: boolean;
|
|
321
332
|
};
|
|
322
333
|
footerAlign: {
|
|
323
|
-
type: PropType<"
|
|
334
|
+
type: PropType<"right" | "left" | "center">;
|
|
324
335
|
default: string;
|
|
325
336
|
};
|
|
326
337
|
cardProps: {
|
|
@@ -339,10 +350,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
339
350
|
default: boolean;
|
|
340
351
|
};
|
|
341
352
|
}>> & {
|
|
342
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
343
353
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
344
354
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
345
355
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
356
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
346
357
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
347
358
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
348
359
|
}, {
|
|
@@ -638,11 +649,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
638
649
|
submitError: (errors: unknown) => void;
|
|
639
650
|
validate: (...args: any[]) => void;
|
|
640
651
|
}, string, {
|
|
641
|
-
modelValue: FieldValues;
|
|
642
652
|
collapseDuration: number;
|
|
643
653
|
collapseTransition: boolean;
|
|
644
654
|
columns: PlusColumn[];
|
|
645
655
|
group: false | PlusFormGroupRow[];
|
|
656
|
+
layout: "grid" | "flex";
|
|
657
|
+
modelValue: FieldValues;
|
|
646
658
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
647
659
|
labelPosition: "top" | "right" | "left";
|
|
648
660
|
labelWidth: string | number;
|
|
@@ -663,7 +675,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
663
675
|
submitText: string;
|
|
664
676
|
resetText: string;
|
|
665
677
|
submitLoading: boolean;
|
|
666
|
-
footerAlign: "
|
|
678
|
+
footerAlign: "right" | "left" | "center";
|
|
667
679
|
cardProps: Partial< Mutable<CardProps> & {
|
|
668
680
|
style?: CSSProperties | undefined;
|
|
669
681
|
class?: any;
|
|
@@ -691,10 +703,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
691
703
|
$nextTick: nextTick;
|
|
692
704
|
$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;
|
|
693
705
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
694
|
-
modelValue: {
|
|
695
|
-
type: PropType<FieldValues>;
|
|
696
|
-
default: () => {};
|
|
697
|
-
};
|
|
698
706
|
collapseDuration: {
|
|
699
707
|
type: PropType<number>;
|
|
700
708
|
default: undefined;
|
|
@@ -711,6 +719,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
711
719
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
712
720
|
default: boolean;
|
|
713
721
|
};
|
|
722
|
+
layout: {
|
|
723
|
+
type: PropType<"grid" | "flex">;
|
|
724
|
+
default: string;
|
|
725
|
+
};
|
|
726
|
+
modelValue: {
|
|
727
|
+
type: PropType<FieldValues>;
|
|
728
|
+
default: () => {};
|
|
729
|
+
};
|
|
714
730
|
rules: {
|
|
715
731
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
716
732
|
default: () => {};
|
|
@@ -774,7 +790,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
774
790
|
default: boolean;
|
|
775
791
|
};
|
|
776
792
|
footerAlign: {
|
|
777
|
-
type: PropType<"
|
|
793
|
+
type: PropType<"right" | "left" | "center">;
|
|
778
794
|
default: string;
|
|
779
795
|
};
|
|
780
796
|
cardProps: {
|
|
@@ -793,10 +809,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
793
809
|
default: boolean;
|
|
794
810
|
};
|
|
795
811
|
}>> & {
|
|
796
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
797
812
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
798
813
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
799
814
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
815
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
800
816
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
801
817
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
802
818
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1097,14 +1113,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1097
1113
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1098
1114
|
columns?: PlusColumn[] | undefined;
|
|
1099
1115
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1100
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1116
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1101
1117
|
readonly label: string | ComputedRef<string>;
|
|
1102
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1118
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1103
1119
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1104
|
-
readonly tooltip: string |
|
|
1120
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1105
1121
|
style?: CSSProperties | undefined;
|
|
1106
1122
|
class?: any;
|
|
1107
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1123
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1108
1124
|
style?: CSSProperties | undefined;
|
|
1109
1125
|
class?: any;
|
|
1110
1126
|
} & RecordType>>;
|
|
@@ -1171,12 +1187,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1171
1187
|
fieldInstance?: any;
|
|
1172
1188
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1173
1189
|
prop: string;
|
|
1174
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1190
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1175
1191
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1176
|
-
tooltip: string |
|
|
1192
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1177
1193
|
style?: CSSProperties | undefined;
|
|
1178
1194
|
class?: any;
|
|
1179
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1195
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1180
1196
|
style?: CSSProperties | undefined;
|
|
1181
1197
|
class?: any;
|
|
1182
1198
|
} & RecordType>>;
|
|
@@ -1205,14 +1221,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1205
1221
|
clearable: boolean;
|
|
1206
1222
|
index: number;
|
|
1207
1223
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1208
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1224
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1209
1225
|
readonly label: string | ComputedRef<string>;
|
|
1210
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1226
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1211
1227
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1212
|
-
readonly tooltip: string |
|
|
1228
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1213
1229
|
style?: CSSProperties | undefined;
|
|
1214
1230
|
class?: any;
|
|
1215
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1231
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1216
1232
|
style?: CSSProperties | undefined;
|
|
1217
1233
|
class?: any;
|
|
1218
1234
|
} & RecordType>>;
|
|
@@ -1279,12 +1295,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1279
1295
|
fieldInstance?: any;
|
|
1280
1296
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1281
1297
|
prop: string;
|
|
1282
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1298
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1283
1299
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1284
|
-
tooltip: string |
|
|
1300
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1285
1301
|
style?: CSSProperties | undefined;
|
|
1286
1302
|
class?: any;
|
|
1287
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1303
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1288
1304
|
style?: CSSProperties | undefined;
|
|
1289
1305
|
class?: any;
|
|
1290
1306
|
} & RecordType>>;
|
|
@@ -1338,6 +1354,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1338
1354
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusSearchProps>, {
|
|
1339
1355
|
modelValue: () => {};
|
|
1340
1356
|
defaultValues: () => {};
|
|
1357
|
+
layout: "flex";
|
|
1341
1358
|
hasFooter: boolean;
|
|
1342
1359
|
hasReset: boolean;
|
|
1343
1360
|
hasUnfold: boolean;
|
|
@@ -1365,14 +1382,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1365
1382
|
searchIcon: undefined;
|
|
1366
1383
|
resetIcon: undefined;
|
|
1367
1384
|
}>>> & {
|
|
1368
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1369
1385
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1370
1386
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1387
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1371
1388
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1372
1389
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1373
1390
|
}, {
|
|
1374
|
-
modelValue: FieldValues;
|
|
1375
1391
|
columns: PlusColumn[];
|
|
1392
|
+
layout: "grid" | "flex";
|
|
1393
|
+
modelValue: FieldValues;
|
|
1376
1394
|
labelPosition: "top" | "right" | "left";
|
|
1377
1395
|
inline: boolean;
|
|
1378
1396
|
showNumber: number;
|
|
@@ -1398,14 +1416,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1398
1416
|
searchIcon: Component | null;
|
|
1399
1417
|
resetIcon: Component | null;
|
|
1400
1418
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
1401
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1419
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1402
1420
|
readonly label: string | ComputedRef<string>;
|
|
1403
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1421
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1404
1422
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1405
|
-
readonly tooltip: string |
|
|
1423
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1406
1424
|
style?: CSSProperties | undefined;
|
|
1407
1425
|
class?: any;
|
|
1408
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1426
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1409
1427
|
style?: CSSProperties | undefined;
|
|
1410
1428
|
class?: any;
|
|
1411
1429
|
} & RecordType>>;
|
|
@@ -1472,12 +1490,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1472
1490
|
fieldInstance?: any;
|
|
1473
1491
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1474
1492
|
prop: string;
|
|
1475
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1493
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1476
1494
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1477
|
-
tooltip: string |
|
|
1495
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1478
1496
|
style?: CSSProperties | undefined;
|
|
1479
1497
|
class?: any;
|
|
1480
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1498
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1481
1499
|
style?: CSSProperties | undefined;
|
|
1482
1500
|
class?: any;
|
|
1483
1501
|
} & RecordType>>;
|
|
@@ -16,6 +16,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
modelValue: { default: () => ({}) },
|
|
17
17
|
defaultValues: { default: () => ({}) },
|
|
18
18
|
columns: { default: () => [] },
|
|
19
|
+
layout: { default: "flex" },
|
|
19
20
|
hasFooter: { type: Boolean, default: true },
|
|
20
21
|
hasReset: { type: Boolean, default: true },
|
|
21
22
|
hasUnfold: { type: Boolean, default: true },
|
|
@@ -132,6 +133,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
132
133
|
"row-props": _ctx.rowProps,
|
|
133
134
|
"col-props": _ctx.colProps,
|
|
134
135
|
columns: subColumns.value,
|
|
136
|
+
layout: _ctx.layout,
|
|
135
137
|
class: "plus-search",
|
|
136
138
|
"has-footer": false,
|
|
137
139
|
onChange: handleChange
|
|
@@ -223,7 +225,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
223
225
|
])
|
|
224
226
|
};
|
|
225
227
|
})
|
|
226
|
-
]), 1040, ["modelValue", "inline", "rules", "label-position", "row-props", "col-props", "columns"]);
|
|
228
|
+
]), 1040, ["modelValue", "inline", "rules", "label-position", "row-props", "col-props", "columns", "layout"]);
|
|
227
229
|
};
|
|
228
230
|
}
|
|
229
231
|
});
|
|
@@ -6,6 +6,13 @@ export type PlusSearchSelfProps = {
|
|
|
6
6
|
modelValue?: FieldValues;
|
|
7
7
|
defaultValues?: FieldValues;
|
|
8
8
|
columns?: PlusColumn[];
|
|
9
|
+
/**
|
|
10
|
+
* 布局模式
|
|
11
|
+
* - flex: 传统 flexbox 布局,表单项固定宽度
|
|
12
|
+
* - grid: CSS Grid 响应式布局,表单项自动填充
|
|
13
|
+
* @default 'flex'
|
|
14
|
+
*/
|
|
15
|
+
layout?: 'flex' | 'grid';
|
|
9
16
|
hasFooter?: boolean;
|
|
10
17
|
hasReset?: boolean;
|
|
11
18
|
hasUnfold?: boolean;
|
|
@@ -60,7 +60,7 @@ export declare const PlusSidebar: {
|
|
|
60
60
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
61
61
|
readonly uniqueOpened: BooleanConstructor;
|
|
62
62
|
readonly router: BooleanConstructor;
|
|
63
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
63
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
64
64
|
readonly collapse: BooleanConstructor;
|
|
65
65
|
readonly backgroundColor: StringConstructor;
|
|
66
66
|
readonly textColor: StringConstructor;
|
|
@@ -90,7 +90,7 @@ export declare const PlusSidebar: {
|
|
|
90
90
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
91
91
|
readonly uniqueOpened: BooleanConstructor;
|
|
92
92
|
readonly router: BooleanConstructor;
|
|
93
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
93
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
94
94
|
readonly collapse: BooleanConstructor;
|
|
95
95
|
readonly backgroundColor: StringConstructor;
|
|
96
96
|
readonly textColor: StringConstructor;
|
|
@@ -116,7 +116,7 @@ export declare const PlusSidebar: {
|
|
|
116
116
|
readonly hideTimeout: number;
|
|
117
117
|
readonly defaultActive: string;
|
|
118
118
|
readonly defaultOpeneds: string[];
|
|
119
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
119
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
120
120
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
121
121
|
readonly popperOffset: number;
|
|
122
122
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|
|
@@ -137,7 +137,7 @@ export declare const PlusSidebar: {
|
|
|
137
137
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
138
138
|
readonly uniqueOpened: BooleanConstructor;
|
|
139
139
|
readonly router: BooleanConstructor;
|
|
140
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
140
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
141
141
|
readonly collapse: BooleanConstructor;
|
|
142
142
|
readonly backgroundColor: StringConstructor;
|
|
143
143
|
readonly textColor: StringConstructor;
|
|
@@ -165,7 +165,7 @@ export declare const PlusSidebar: {
|
|
|
165
165
|
readonly hideTimeout: number;
|
|
166
166
|
readonly defaultActive: string;
|
|
167
167
|
readonly defaultOpeneds: string[];
|
|
168
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
168
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
169
169
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
170
170
|
readonly popperOffset: number;
|
|
171
171
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|
|
@@ -292,7 +292,7 @@ export declare const PlusSidebar: {
|
|
|
292
292
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
293
293
|
readonly uniqueOpened: BooleanConstructor;
|
|
294
294
|
readonly router: BooleanConstructor;
|
|
295
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
295
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
296
296
|
readonly collapse: BooleanConstructor;
|
|
297
297
|
readonly backgroundColor: StringConstructor;
|
|
298
298
|
readonly textColor: StringConstructor;
|
|
@@ -322,7 +322,7 @@ export declare const PlusSidebar: {
|
|
|
322
322
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
323
323
|
readonly uniqueOpened: BooleanConstructor;
|
|
324
324
|
readonly router: BooleanConstructor;
|
|
325
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
325
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
326
326
|
readonly collapse: BooleanConstructor;
|
|
327
327
|
readonly backgroundColor: StringConstructor;
|
|
328
328
|
readonly textColor: StringConstructor;
|
|
@@ -348,7 +348,7 @@ export declare const PlusSidebar: {
|
|
|
348
348
|
readonly hideTimeout: number;
|
|
349
349
|
readonly defaultActive: string;
|
|
350
350
|
readonly defaultOpeneds: string[];
|
|
351
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
351
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
352
352
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
353
353
|
readonly popperOffset: number;
|
|
354
354
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|
|
@@ -369,7 +369,7 @@ export declare const PlusSidebar: {
|
|
|
369
369
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
370
370
|
readonly uniqueOpened: BooleanConstructor;
|
|
371
371
|
readonly router: BooleanConstructor;
|
|
372
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
372
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
373
373
|
readonly collapse: BooleanConstructor;
|
|
374
374
|
readonly backgroundColor: StringConstructor;
|
|
375
375
|
readonly textColor: StringConstructor;
|
|
@@ -397,7 +397,7 @@ export declare const PlusSidebar: {
|
|
|
397
397
|
readonly hideTimeout: number;
|
|
398
398
|
readonly defaultActive: string;
|
|
399
399
|
readonly defaultOpeneds: string[];
|
|
400
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
400
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
401
401
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
402
402
|
readonly popperOffset: number;
|
|
403
403
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|
|
@@ -475,7 +475,7 @@ export declare const PlusSidebar: {
|
|
|
475
475
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
476
476
|
readonly uniqueOpened: BooleanConstructor;
|
|
477
477
|
readonly router: BooleanConstructor;
|
|
478
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
478
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
479
479
|
readonly collapse: BooleanConstructor;
|
|
480
480
|
readonly backgroundColor: StringConstructor;
|
|
481
481
|
readonly textColor: StringConstructor;
|
|
@@ -505,7 +505,7 @@ export declare const PlusSidebar: {
|
|
|
505
505
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
506
506
|
readonly uniqueOpened: BooleanConstructor;
|
|
507
507
|
readonly router: BooleanConstructor;
|
|
508
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
508
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
509
509
|
readonly collapse: BooleanConstructor;
|
|
510
510
|
readonly backgroundColor: StringConstructor;
|
|
511
511
|
readonly textColor: StringConstructor;
|
|
@@ -531,7 +531,7 @@ export declare const PlusSidebar: {
|
|
|
531
531
|
readonly hideTimeout: number;
|
|
532
532
|
readonly defaultActive: string;
|
|
533
533
|
readonly defaultOpeneds: string[];
|
|
534
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
534
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
535
535
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
536
536
|
readonly popperOffset: number;
|
|
537
537
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|
|
@@ -552,7 +552,7 @@ export declare const PlusSidebar: {
|
|
|
552
552
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
553
553
|
readonly uniqueOpened: BooleanConstructor;
|
|
554
554
|
readonly router: BooleanConstructor;
|
|
555
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
555
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
556
556
|
readonly collapse: BooleanConstructor;
|
|
557
557
|
readonly backgroundColor: StringConstructor;
|
|
558
558
|
readonly textColor: StringConstructor;
|
|
@@ -580,7 +580,7 @@ export declare const PlusSidebar: {
|
|
|
580
580
|
readonly hideTimeout: number;
|
|
581
581
|
readonly defaultActive: string;
|
|
582
582
|
readonly defaultOpeneds: string[];
|
|
583
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
583
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
584
584
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
585
585
|
readonly popperOffset: number;
|
|
586
586
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|
|
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
28
28
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
29
29
|
readonly uniqueOpened: BooleanConstructor;
|
|
30
30
|
readonly router: BooleanConstructor;
|
|
31
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
31
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
32
32
|
readonly collapse: BooleanConstructor;
|
|
33
33
|
readonly backgroundColor: StringConstructor;
|
|
34
34
|
readonly textColor: StringConstructor;
|
|
@@ -58,7 +58,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
58
58
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
59
59
|
readonly uniqueOpened: BooleanConstructor;
|
|
60
60
|
readonly router: BooleanConstructor;
|
|
61
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
61
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
62
62
|
readonly collapse: BooleanConstructor;
|
|
63
63
|
readonly backgroundColor: StringConstructor;
|
|
64
64
|
readonly textColor: StringConstructor;
|
|
@@ -84,7 +84,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
84
84
|
readonly hideTimeout: number;
|
|
85
85
|
readonly defaultActive: string;
|
|
86
86
|
readonly defaultOpeneds: string[];
|
|
87
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
87
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
88
88
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
89
89
|
readonly popperOffset: number;
|
|
90
90
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|
|
@@ -105,7 +105,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
105
105
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
106
106
|
readonly uniqueOpened: BooleanConstructor;
|
|
107
107
|
readonly router: BooleanConstructor;
|
|
108
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
108
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
109
109
|
readonly collapse: BooleanConstructor;
|
|
110
110
|
readonly backgroundColor: StringConstructor;
|
|
111
111
|
readonly textColor: StringConstructor;
|
|
@@ -133,7 +133,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
133
133
|
readonly hideTimeout: number;
|
|
134
134
|
readonly defaultActive: string;
|
|
135
135
|
readonly defaultOpeneds: string[];
|
|
136
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
136
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
137
137
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
138
138
|
readonly popperOffset: number;
|
|
139
139
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
|