yc-pro-components 0.0.11 → 0.0.12
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 +45 -45
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- 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/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 +543 -453
- package/es/components/page/src/index.vue.d.ts +185 -155
- 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 +193 -155
- package/es/components/search/src/index.vue.d.ts +56 -50
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-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 +445 -518
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +1 -1
- package/index.css +9 -5
- package/index.js +23 -7
- package/index.min.css +1 -1
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +23 -7
- 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 +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- 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/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 +543 -453
- package/lib/components/page/src/index.vue.d.ts +185 -155
- 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 +193 -155
- package/lib/components/search/src/index.vue.d.ts +56 -50
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-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 +445 -518
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/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-page.css +1 -1
- package/theme-chalk/src/page.scss +1 -1
|
@@ -35,16 +35,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
35
35
|
xl: number;
|
|
36
36
|
};
|
|
37
37
|
needValidate: boolean;
|
|
38
|
+
searchIcon: undefined;
|
|
39
|
+
resetIcon: undefined;
|
|
38
40
|
}>, {
|
|
39
41
|
plusFormInstance: Ref<({
|
|
40
42
|
$: ComponentInternalInstance;
|
|
41
43
|
$data: {};
|
|
42
44
|
$props: Partial<{
|
|
43
|
-
modelValue: FieldValues;
|
|
44
45
|
collapseDuration: number;
|
|
45
46
|
collapseTransition: boolean;
|
|
46
47
|
columns: PlusColumn[];
|
|
47
48
|
group: false | PlusFormGroupRow[];
|
|
49
|
+
modelValue: FieldValues;
|
|
48
50
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
49
51
|
labelPosition: "top" | "right" | "left";
|
|
50
52
|
labelWidth: string | number;
|
|
@@ -65,7 +67,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
65
67
|
submitText: string;
|
|
66
68
|
resetText: string;
|
|
67
69
|
submitLoading: boolean;
|
|
68
|
-
footerAlign: "
|
|
70
|
+
footerAlign: "right" | "left" | "center";
|
|
69
71
|
cardProps: Partial< Mutable<CardProps> & {
|
|
70
72
|
style?: CSSProperties | undefined;
|
|
71
73
|
class?: any;
|
|
@@ -73,9 +75,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
73
75
|
prevent: boolean;
|
|
74
76
|
clearable: boolean;
|
|
75
77
|
}> & Omit<{
|
|
76
|
-
readonly modelValue: FieldValues;
|
|
77
78
|
readonly columns: PlusColumn[];
|
|
78
79
|
readonly group: false | PlusFormGroupRow[];
|
|
80
|
+
readonly modelValue: FieldValues;
|
|
79
81
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
80
82
|
readonly labelPosition: "top" | "right" | "left";
|
|
81
83
|
readonly labelWidth: string | number;
|
|
@@ -96,7 +98,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
96
98
|
readonly submitText: string;
|
|
97
99
|
readonly resetText: string;
|
|
98
100
|
readonly submitLoading: boolean;
|
|
99
|
-
readonly footerAlign: "
|
|
101
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
100
102
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
101
103
|
style?: CSSProperties | undefined;
|
|
102
104
|
class?: any;
|
|
@@ -105,17 +107,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
105
107
|
readonly clearable: boolean;
|
|
106
108
|
readonly collapseDuration?: number | undefined;
|
|
107
109
|
readonly collapseTransition?: boolean | undefined;
|
|
108
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
109
110
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
110
111
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
111
112
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
113
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
112
114
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
113
115
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
114
116
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
115
|
-
modelValue: {
|
|
116
|
-
type: PropType<FieldValues>;
|
|
117
|
-
default: () => {};
|
|
118
|
-
};
|
|
119
117
|
collapseDuration: {
|
|
120
118
|
type: PropType<number>;
|
|
121
119
|
default: undefined;
|
|
@@ -132,6 +130,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
132
130
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
133
131
|
default: boolean;
|
|
134
132
|
};
|
|
133
|
+
modelValue: {
|
|
134
|
+
type: PropType<FieldValues>;
|
|
135
|
+
default: () => {};
|
|
136
|
+
};
|
|
135
137
|
rules: {
|
|
136
138
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
137
139
|
default: () => {};
|
|
@@ -195,7 +197,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
195
197
|
default: boolean;
|
|
196
198
|
};
|
|
197
199
|
footerAlign: {
|
|
198
|
-
type: PropType<"
|
|
200
|
+
type: PropType<"right" | "left" | "center">;
|
|
199
201
|
default: string;
|
|
200
202
|
};
|
|
201
203
|
cardProps: {
|
|
@@ -214,13 +216,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
214
216
|
default: boolean;
|
|
215
217
|
};
|
|
216
218
|
}>> & {
|
|
217
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
218
219
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
219
220
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
220
221
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
222
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
221
223
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
222
224
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
223
|
-
}, "
|
|
225
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
224
226
|
$attrs: {
|
|
225
227
|
[x: string]: unknown;
|
|
226
228
|
};
|
|
@@ -232,13 +234,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
232
234
|
}>;
|
|
233
235
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
234
236
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
235
|
-
$emit: ((event: "
|
|
237
|
+
$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);
|
|
236
238
|
$el: any;
|
|
237
239
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
238
|
-
modelValue: {
|
|
239
|
-
type: PropType<FieldValues>;
|
|
240
|
-
default: () => {};
|
|
241
|
-
};
|
|
242
240
|
collapseDuration: {
|
|
243
241
|
type: PropType<number>;
|
|
244
242
|
default: undefined;
|
|
@@ -255,6 +253,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
255
253
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
256
254
|
default: boolean;
|
|
257
255
|
};
|
|
256
|
+
modelValue: {
|
|
257
|
+
type: PropType<FieldValues>;
|
|
258
|
+
default: () => {};
|
|
259
|
+
};
|
|
258
260
|
rules: {
|
|
259
261
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
260
262
|
default: () => {};
|
|
@@ -318,7 +320,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
318
320
|
default: boolean;
|
|
319
321
|
};
|
|
320
322
|
footerAlign: {
|
|
321
|
-
type: PropType<"
|
|
323
|
+
type: PropType<"right" | "left" | "center">;
|
|
322
324
|
default: string;
|
|
323
325
|
};
|
|
324
326
|
cardProps: {
|
|
@@ -337,10 +339,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
337
339
|
default: boolean;
|
|
338
340
|
};
|
|
339
341
|
}>> & {
|
|
340
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
341
342
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
342
343
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
343
344
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
345
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
344
346
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
345
347
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
346
348
|
}, {
|
|
@@ -636,11 +638,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
636
638
|
submitError: (errors: unknown) => void;
|
|
637
639
|
validate: (...args: any[]) => void;
|
|
638
640
|
}, string, {
|
|
639
|
-
modelValue: FieldValues;
|
|
640
641
|
collapseDuration: number;
|
|
641
642
|
collapseTransition: boolean;
|
|
642
643
|
columns: PlusColumn[];
|
|
643
644
|
group: false | PlusFormGroupRow[];
|
|
645
|
+
modelValue: FieldValues;
|
|
644
646
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
645
647
|
labelPosition: "top" | "right" | "left";
|
|
646
648
|
labelWidth: string | number;
|
|
@@ -661,7 +663,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
661
663
|
submitText: string;
|
|
662
664
|
resetText: string;
|
|
663
665
|
submitLoading: boolean;
|
|
664
|
-
footerAlign: "
|
|
666
|
+
footerAlign: "right" | "left" | "center";
|
|
665
667
|
cardProps: Partial< Mutable<CardProps> & {
|
|
666
668
|
style?: CSSProperties | undefined;
|
|
667
669
|
class?: any;
|
|
@@ -689,10 +691,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
689
691
|
$nextTick: nextTick;
|
|
690
692
|
$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;
|
|
691
693
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
692
|
-
modelValue: {
|
|
693
|
-
type: PropType<FieldValues>;
|
|
694
|
-
default: () => {};
|
|
695
|
-
};
|
|
696
694
|
collapseDuration: {
|
|
697
695
|
type: PropType<number>;
|
|
698
696
|
default: undefined;
|
|
@@ -709,6 +707,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
709
707
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
710
708
|
default: boolean;
|
|
711
709
|
};
|
|
710
|
+
modelValue: {
|
|
711
|
+
type: PropType<FieldValues>;
|
|
712
|
+
default: () => {};
|
|
713
|
+
};
|
|
712
714
|
rules: {
|
|
713
715
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
714
716
|
default: () => {};
|
|
@@ -772,7 +774,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
772
774
|
default: boolean;
|
|
773
775
|
};
|
|
774
776
|
footerAlign: {
|
|
775
|
-
type: PropType<"
|
|
777
|
+
type: PropType<"right" | "left" | "center">;
|
|
776
778
|
default: string;
|
|
777
779
|
};
|
|
778
780
|
cardProps: {
|
|
@@ -791,10 +793,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
791
793
|
default: boolean;
|
|
792
794
|
};
|
|
793
795
|
}>> & {
|
|
794
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
795
796
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
796
797
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
797
798
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
799
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
798
800
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
799
801
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
800
802
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1095,14 +1097,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1095
1097
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1096
1098
|
columns?: PlusColumn[] | undefined;
|
|
1097
1099
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1098
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1100
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1099
1101
|
readonly label: string | ComputedRef<string>;
|
|
1100
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1102
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1101
1103
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1102
|
-
readonly tooltip: string |
|
|
1104
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1103
1105
|
style?: CSSProperties | undefined;
|
|
1104
1106
|
class?: any;
|
|
1105
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1107
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1106
1108
|
style?: CSSProperties | undefined;
|
|
1107
1109
|
class?: any;
|
|
1108
1110
|
} & RecordType>>;
|
|
@@ -1163,12 +1165,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1163
1165
|
fieldInstance?: any;
|
|
1164
1166
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1165
1167
|
prop: string;
|
|
1166
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1168
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1167
1169
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1168
|
-
tooltip: string |
|
|
1170
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1169
1171
|
style?: CSSProperties | undefined;
|
|
1170
1172
|
class?: any;
|
|
1171
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1173
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1172
1174
|
style?: CSSProperties | undefined;
|
|
1173
1175
|
class?: any;
|
|
1174
1176
|
} & RecordType>>;
|
|
@@ -1191,14 +1193,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1191
1193
|
clearable: boolean;
|
|
1192
1194
|
index: number;
|
|
1193
1195
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1194
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1196
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1195
1197
|
readonly label: string | ComputedRef<string>;
|
|
1196
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1198
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1197
1199
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1198
|
-
readonly tooltip: string |
|
|
1200
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1199
1201
|
style?: CSSProperties | undefined;
|
|
1200
1202
|
class?: any;
|
|
1201
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1203
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1202
1204
|
style?: CSSProperties | undefined;
|
|
1203
1205
|
class?: any;
|
|
1204
1206
|
} & RecordType>>;
|
|
@@ -1259,12 +1261,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1259
1261
|
fieldInstance?: any;
|
|
1260
1262
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1261
1263
|
prop: string;
|
|
1262
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1264
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1263
1265
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1264
|
-
tooltip: string |
|
|
1266
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1265
1267
|
style?: CSSProperties | undefined;
|
|
1266
1268
|
class?: any;
|
|
1267
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1269
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1268
1270
|
style?: CSSProperties | undefined;
|
|
1269
1271
|
class?: any;
|
|
1270
1272
|
} & RecordType>>;
|
|
@@ -1336,15 +1338,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1336
1338
|
xl: number;
|
|
1337
1339
|
};
|
|
1338
1340
|
needValidate: boolean;
|
|
1341
|
+
searchIcon: undefined;
|
|
1342
|
+
resetIcon: undefined;
|
|
1339
1343
|
}>>> & {
|
|
1340
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1341
1344
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1342
1345
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1346
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1343
1347
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1344
1348
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1345
1349
|
}, {
|
|
1346
|
-
modelValue: FieldValues;
|
|
1347
1350
|
columns: PlusColumn[];
|
|
1351
|
+
modelValue: FieldValues;
|
|
1348
1352
|
labelPosition: "top" | "right" | "left";
|
|
1349
1353
|
inline: boolean;
|
|
1350
1354
|
showNumber: number;
|
|
@@ -1367,15 +1371,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1367
1371
|
expandText: string;
|
|
1368
1372
|
searchLoading: boolean;
|
|
1369
1373
|
needValidate: boolean;
|
|
1374
|
+
searchIcon: Component | null;
|
|
1375
|
+
resetIcon: Component | null;
|
|
1370
1376
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
1371
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1377
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1372
1378
|
readonly label: string | ComputedRef<string>;
|
|
1373
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1379
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1374
1380
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1375
|
-
readonly tooltip: string |
|
|
1381
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1376
1382
|
style?: CSSProperties | undefined;
|
|
1377
1383
|
class?: any;
|
|
1378
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1384
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1379
1385
|
style?: CSSProperties | undefined;
|
|
1380
1386
|
class?: any;
|
|
1381
1387
|
} & RecordType>>;
|
|
@@ -1436,12 +1442,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1436
1442
|
fieldInstance?: any;
|
|
1437
1443
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1438
1444
|
prop: string;
|
|
1439
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1445
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1440
1446
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1441
|
-
tooltip: string |
|
|
1447
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1442
1448
|
style?: CSSProperties | undefined;
|
|
1443
1449
|
class?: any;
|
|
1444
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1450
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1445
1451
|
style?: CSSProperties | undefined;
|
|
1446
1452
|
class?: any;
|
|
1447
1453
|
} & RecordType>>;
|
|
@@ -42,7 +42,9 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
42
42
|
lg: 8,
|
|
43
43
|
xl: 6
|
|
44
44
|
}) },
|
|
45
|
-
needValidate: { type: Boolean, default: false }
|
|
45
|
+
needValidate: { type: Boolean, default: false },
|
|
46
|
+
searchIcon: { default: void 0 },
|
|
47
|
+
resetIcon: { default: void 0 }
|
|
46
48
|
},
|
|
47
49
|
emits: ["update:modelValue", "search", "change", "reset", "collapse"],
|
|
48
50
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -60,6 +62,14 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
60
62
|
const unfoldText = vue.computed(
|
|
61
63
|
() => isShowUnfold.value ? props.retractText || t("plus.search.retract") : props.expandText || t("plus.search.expand")
|
|
62
64
|
);
|
|
65
|
+
const computedSearchIcon = vue.computed(() => {
|
|
66
|
+
if (props.searchIcon === null) return void 0;
|
|
67
|
+
return props.searchIcon !== void 0 ? props.searchIcon : ElementPlusIconsVue.Search;
|
|
68
|
+
});
|
|
69
|
+
const computedResetIcon = vue.computed(() => {
|
|
70
|
+
if (props.resetIcon === null) return void 0;
|
|
71
|
+
return props.resetIcon !== void 0 ? props.resetIcon : ElementPlusIconsVue.RefreshRight;
|
|
72
|
+
});
|
|
63
73
|
const originData = vue.computed(() => {
|
|
64
74
|
const filterData = props.columns.filter((item) => vue.unref(item.hideInSearch) !== true).map((item) => ({ ...item, hideInForm: false })).map((item) => ({ ...item, order: (item == null ? void 0 : item.order) ? vue.unref(item.order) : 0 }));
|
|
65
75
|
return lodashEs.orderBy(filterData, ["order"], ["desc"]);
|
|
@@ -146,7 +156,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
146
156
|
}, () => [
|
|
147
157
|
_ctx.hasReset ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElButton), {
|
|
148
158
|
key: 0,
|
|
149
|
-
icon:
|
|
159
|
+
icon: computedResetIcon.value,
|
|
150
160
|
onClick: handleReset
|
|
151
161
|
}, {
|
|
152
162
|
default: vue.withCtx(() => [
|
|
@@ -162,7 +172,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
162
172
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
163
173
|
type: "primary",
|
|
164
174
|
loading: _ctx.searchLoading,
|
|
165
|
-
icon:
|
|
175
|
+
icon: computedSearchIcon.value,
|
|
166
176
|
onClick: handleSearch.value
|
|
167
177
|
}, {
|
|
168
178
|
default: vue.withCtx(() => [
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PlusFormProps } from 'yc-pro-components/es/components';
|
|
2
2
|
import { PlusColumn, FieldValues, PlusColProps, PlusRowProps } from 'yc-pro-components/es/types';
|
|
3
|
+
import { Component } from 'vue';
|
|
3
4
|
|
|
4
5
|
export type PlusSearchSelfProps = {
|
|
5
6
|
modelValue?: FieldValues;
|
|
@@ -30,6 +31,14 @@ export type PlusSearchSelfProps = {
|
|
|
30
31
|
* @default false
|
|
31
32
|
*/
|
|
32
33
|
needValidate?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* 搜索按钮图标,传入 undefined 或 null 隐藏图标
|
|
36
|
+
*/
|
|
37
|
+
searchIcon?: Component | undefined | null;
|
|
38
|
+
/**
|
|
39
|
+
* 重置按钮图标,传入 undefined 或 null 隐藏图标
|
|
40
|
+
*/
|
|
41
|
+
resetIcon?: Component | undefined | null;
|
|
33
42
|
};
|
|
34
43
|
export type PlusSearchProps = PlusSearchSelfProps & PlusFormProps;
|
|
35
44
|
export interface PlusSearchEmits {
|
|
@@ -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>;
|