yc-pro-components 0.0.78 → 0.0.79
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 +30 -30
- package/es/components/date-picker/src/index.vue.d.ts +22 -22
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +32 -32
- package/es/components/dialog-form/src/index.vue.d.ts +10 -10
- package/es/components/display-item/index.d.ts +44 -44
- package/es/components/display-item/src/index.vue.d.ts +25 -25
- package/es/components/drawer-form/index.d.ts +84 -84
- package/es/components/drawer-form/src/index.vue.d.ts +22 -22
- package/es/components/form/index.d.ts +73 -73
- package/es/components/form/src/form-content.vue.d.ts +25 -25
- package/es/components/form/src/index.vue.d.ts +21 -21
- package/es/components/form-item/index.d.ts +80 -80
- package/es/components/form-item/src/index.vue.d.ts +24 -24
- 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 +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +574 -574
- package/es/components/page/src/index.vue.d.ts +190 -190
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +250 -250
- package/es/components/search/src/index.vue.d.ts +76 -76
- package/es/components/sidebar/index.d.ts +31 -31
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +24 -24
- package/es/components/steps-form/src/index.vue.d.ts +3 -3
- package/es/components/table/src/index.vue2.mjs +20 -3
- package/es/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +40 -40
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-count-to/index.d.ts +2 -2
- package/es/components/yc-count-to/src/normal/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 +392 -392
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -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 +4 -4
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- 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/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/usePlusFormReset.d.ts +286 -286
- package/es/hooks/useTableScrollbarTooltip.d.ts +29 -0
- package/es/hooks/useTableScrollbarTooltip.mjs +122 -0
- package/es/index.css +9 -9
- package/es/index.mjs +1 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +1 -1
- package/index.js +139 -4
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +139 -4
- 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 +30 -30
- package/lib/components/date-picker/src/index.vue.d.ts +22 -22
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +32 -32
- package/lib/components/dialog-form/src/index.vue.d.ts +10 -10
- package/lib/components/display-item/index.d.ts +44 -44
- package/lib/components/display-item/src/index.vue.d.ts +25 -25
- package/lib/components/drawer-form/index.d.ts +84 -84
- package/lib/components/drawer-form/src/index.vue.d.ts +22 -22
- package/lib/components/form/index.d.ts +73 -73
- package/lib/components/form/src/form-content.vue.d.ts +25 -25
- package/lib/components/form/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/index.d.ts +80 -80
- package/lib/components/form-item/src/index.vue.d.ts +24 -24
- 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 +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +574 -574
- package/lib/components/page/src/index.vue.d.ts +190 -190
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +250 -250
- package/lib/components/search/src/index.vue.d.ts +76 -76
- package/lib/components/sidebar/index.d.ts +31 -31
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +24 -24
- package/lib/components/steps-form/src/index.vue.d.ts +3 -3
- package/lib/components/table/src/index.vue2.js +19 -2
- package/lib/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +40 -40
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-count-to/index.d.ts +2 -2
- package/lib/components/yc-count-to/src/normal/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 +392 -392
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -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 +4 -4
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- 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/index.d.ts +1 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/usePlusFormReset.d.ts +286 -286
- package/lib/hooks/useTableScrollbarTooltip.d.ts +29 -0
- package/lib/hooks/useTableScrollbarTooltip.js +124 -0
- package/lib/index.css +9 -9
- package/lib/index.js +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-table.css +1 -1
- package/theme-chalk/src/table.scss +315 -301
|
@@ -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;
|
|
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
65
65
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
66
66
|
readonly uniqueOpened: BooleanConstructor;
|
|
67
67
|
readonly router: BooleanConstructor;
|
|
68
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
68
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
69
69
|
readonly collapse: BooleanConstructor;
|
|
70
70
|
readonly backgroundColor: StringConstructor;
|
|
71
71
|
readonly textColor: StringConstructor;
|
|
@@ -99,7 +99,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
99
99
|
readonly hideTimeout: number;
|
|
100
100
|
readonly defaultActive: string;
|
|
101
101
|
readonly defaultOpeneds: string[];
|
|
102
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
102
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
103
103
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
104
104
|
readonly popperOffset: number;
|
|
105
105
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
@@ -120,7 +120,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
120
120
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
121
121
|
readonly uniqueOpened: BooleanConstructor;
|
|
122
122
|
readonly router: BooleanConstructor;
|
|
123
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
123
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
124
124
|
readonly collapse: BooleanConstructor;
|
|
125
125
|
readonly backgroundColor: StringConstructor;
|
|
126
126
|
readonly textColor: StringConstructor;
|
|
@@ -156,7 +156,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
156
156
|
readonly hideTimeout: number;
|
|
157
157
|
readonly defaultActive: string;
|
|
158
158
|
readonly defaultOpeneds: string[];
|
|
159
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
159
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
160
160
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
161
161
|
readonly popperOffset: number;
|
|
162
162
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
|
@@ -7,10 +7,6 @@ export type { PlusStepsFormProps } from './src/index.vue';
|
|
|
7
7
|
export * from './src/type';
|
|
8
8
|
export declare const PlusStepsForm: {
|
|
9
9
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
10
|
-
modelValue: {
|
|
11
|
-
type: PropType<number>;
|
|
12
|
-
default: number;
|
|
13
|
-
};
|
|
14
10
|
data: {
|
|
15
11
|
type: PropType< PlusStepFromRow[]>;
|
|
16
12
|
default: () => never[];
|
|
@@ -19,6 +15,10 @@ export declare const PlusStepsForm: {
|
|
|
19
15
|
type: PropType<string>;
|
|
20
16
|
default: undefined;
|
|
21
17
|
};
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: PropType<number>;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
22
|
submitText: {
|
|
23
23
|
type: PropType<string>;
|
|
24
24
|
default: undefined;
|
|
@@ -28,9 +28,9 @@ export declare const PlusStepsForm: {
|
|
|
28
28
|
default: undefined;
|
|
29
29
|
};
|
|
30
30
|
}>> & {
|
|
31
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
32
31
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
33
32
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
33
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
34
34
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
35
35
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
36
36
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -40,10 +40,6 @@ export declare const PlusStepsForm: {
|
|
|
40
40
|
"update:modelValue": (active: number) => void;
|
|
41
41
|
change: (values: FieldValues, column: PlusColumn) => void;
|
|
42
42
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
43
|
-
modelValue: {
|
|
44
|
-
type: PropType<number>;
|
|
45
|
-
default: number;
|
|
46
|
-
};
|
|
47
43
|
data: {
|
|
48
44
|
type: PropType< PlusStepFromRow[]>;
|
|
49
45
|
default: () => never[];
|
|
@@ -52,6 +48,10 @@ export declare const PlusStepsForm: {
|
|
|
52
48
|
type: PropType<string>;
|
|
53
49
|
default: undefined;
|
|
54
50
|
};
|
|
51
|
+
modelValue: {
|
|
52
|
+
type: PropType<number>;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
55
|
submitText: {
|
|
56
56
|
type: PropType<string>;
|
|
57
57
|
default: undefined;
|
|
@@ -61,15 +61,15 @@ export declare const PlusStepsForm: {
|
|
|
61
61
|
default: undefined;
|
|
62
62
|
};
|
|
63
63
|
}>> & {
|
|
64
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
65
64
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
66
65
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
66
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
67
67
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
68
68
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
69
69
|
}, {
|
|
70
|
-
modelValue: number;
|
|
71
70
|
data: PlusStepFromRow[];
|
|
72
71
|
nextText: string;
|
|
72
|
+
modelValue: number;
|
|
73
73
|
submitText: string;
|
|
74
74
|
preText: string;
|
|
75
75
|
}, true, {}, {}, {
|
|
@@ -80,10 +80,6 @@ export declare const PlusStepsForm: {
|
|
|
80
80
|
M: {};
|
|
81
81
|
Defaults: {};
|
|
82
82
|
}, Readonly< ExtractPropTypes<{
|
|
83
|
-
modelValue: {
|
|
84
|
-
type: PropType<number>;
|
|
85
|
-
default: number;
|
|
86
|
-
};
|
|
87
83
|
data: {
|
|
88
84
|
type: PropType< PlusStepFromRow[]>;
|
|
89
85
|
default: () => never[];
|
|
@@ -92,6 +88,10 @@ export declare const PlusStepsForm: {
|
|
|
92
88
|
type: PropType<string>;
|
|
93
89
|
default: undefined;
|
|
94
90
|
};
|
|
91
|
+
modelValue: {
|
|
92
|
+
type: PropType<number>;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
95
|
submitText: {
|
|
96
96
|
type: PropType<string>;
|
|
97
97
|
default: undefined;
|
|
@@ -101,15 +101,15 @@ export declare const PlusStepsForm: {
|
|
|
101
101
|
default: undefined;
|
|
102
102
|
};
|
|
103
103
|
}>> & {
|
|
104
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
105
104
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
106
105
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
106
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
107
107
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
108
108
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
109
109
|
}, {}, {}, {}, {}, {
|
|
110
|
-
modelValue: number;
|
|
111
110
|
data: PlusStepFromRow[];
|
|
112
111
|
nextText: string;
|
|
112
|
+
modelValue: number;
|
|
113
113
|
submitText: string;
|
|
114
114
|
preText: string;
|
|
115
115
|
}>;
|
|
@@ -117,10 +117,6 @@ export declare const PlusStepsForm: {
|
|
|
117
117
|
__isTeleport?: undefined;
|
|
118
118
|
__isSuspense?: undefined;
|
|
119
119
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
120
|
-
modelValue: {
|
|
121
|
-
type: PropType<number>;
|
|
122
|
-
default: number;
|
|
123
|
-
};
|
|
124
120
|
data: {
|
|
125
121
|
type: PropType< PlusStepFromRow[]>;
|
|
126
122
|
default: () => never[];
|
|
@@ -129,6 +125,10 @@ export declare const PlusStepsForm: {
|
|
|
129
125
|
type: PropType<string>;
|
|
130
126
|
default: undefined;
|
|
131
127
|
};
|
|
128
|
+
modelValue: {
|
|
129
|
+
type: PropType<number>;
|
|
130
|
+
default: number;
|
|
131
|
+
};
|
|
132
132
|
submitText: {
|
|
133
133
|
type: PropType<string>;
|
|
134
134
|
default: undefined;
|
|
@@ -138,9 +138,9 @@ export declare const PlusStepsForm: {
|
|
|
138
138
|
default: undefined;
|
|
139
139
|
};
|
|
140
140
|
}>> & {
|
|
141
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
142
141
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
143
142
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
143
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
144
144
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
145
145
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
146
146
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -150,9 +150,9 @@ export declare const PlusStepsForm: {
|
|
|
150
150
|
"update:modelValue": (active: number) => void;
|
|
151
151
|
change: (values: FieldValues, column: PlusColumn) => void;
|
|
152
152
|
}, string, {
|
|
153
|
-
modelValue: number;
|
|
154
153
|
data: PlusStepFromRow[];
|
|
155
154
|
nextText: string;
|
|
155
|
+
modelValue: number;
|
|
156
156
|
submitText: string;
|
|
157
157
|
preText: string;
|
|
158
158
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
@@ -161,7 +161,7 @@ export declare const PlusStepsForm: {
|
|
|
161
161
|
form?: PlusFormProps | undefined;
|
|
162
162
|
description?: string | undefined;
|
|
163
163
|
icon?: 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> | undefined;
|
|
164
|
-
status?: EpPropMergeType<StringConstructor, "" | "success" | "
|
|
164
|
+
status?: EpPropMergeType<StringConstructor, "" | "success" | "process" | "error" | "wait" | "finish", unknown> | undefined;
|
|
165
165
|
}) => any>> & {
|
|
166
166
|
icon?(_: {
|
|
167
167
|
icon: 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> | undefined;
|
|
@@ -66,15 +66,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
66
66
|
nextText: undefined;
|
|
67
67
|
preText: undefined;
|
|
68
68
|
}>>> & {
|
|
69
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
70
69
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
71
70
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
71
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
72
72
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
73
73
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
74
74
|
}, {
|
|
75
|
-
modelValue: number;
|
|
76
75
|
data: PlusStepFromRow[];
|
|
77
76
|
nextText: string;
|
|
77
|
+
modelValue: number;
|
|
78
78
|
submitText: string;
|
|
79
79
|
preText: string;
|
|
80
80
|
}, {}>, Partial<Record<string, (_: {
|
|
@@ -82,7 +82,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
82
82
|
form?: PlusFormProps | undefined;
|
|
83
83
|
description?: string | undefined;
|
|
84
84
|
icon?: 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> | undefined;
|
|
85
|
-
status?: EpPropMergeType<StringConstructor, "" | "success" | "
|
|
85
|
+
status?: EpPropMergeType<StringConstructor, "" | "success" | "process" | "error" | "wait" | "finish", unknown> | undefined;
|
|
86
86
|
}) => any>> & {
|
|
87
87
|
icon?(_: {
|
|
88
88
|
icon: 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> | undefined;
|
|
@@ -3,7 +3,8 @@ import { PlusPagination } from '../../pagination/index.mjs';
|
|
|
3
3
|
import { PlusRadio } from '../../radio/index.mjs';
|
|
4
4
|
import { DefaultPageInfo } from '../../../constants/page.mjs';
|
|
5
5
|
import { TableFormRefInjectionKey, TableFormFieldRefInjectionKey, TableColumnsEmptyTextInjectionKey } from '../../../constants/form.mjs';
|
|
6
|
-
import { ElTable, ElTableColumn, vLoading } from 'element-plus';
|
|
6
|
+
import { ElTable, ElTableColumn, vLoading, ElTooltip } from 'element-plus';
|
|
7
|
+
import { useTableScrollbarTooltip } from '../../../hooks/useTableScrollbarTooltip.mjs';
|
|
7
8
|
import { debounce, isEqual } from 'lodash-es';
|
|
8
9
|
import PlusTableActionBar from './table-action-bar.vue.mjs';
|
|
9
10
|
import PlusTableColumn from './table-column.vue.mjs';
|
|
@@ -65,6 +66,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
66
|
const columnsIsChange = ref(false);
|
|
66
67
|
const filterColumns = ref([]);
|
|
67
68
|
const tableInstance = shallowRef(null);
|
|
69
|
+
const {
|
|
70
|
+
triggerRef: scrollbarTooltipTrigger,
|
|
71
|
+
tooltipContent: scrollbarTooltipContent,
|
|
72
|
+
tooltipVisible: scrollbarTooltipVisible
|
|
73
|
+
} = useTableScrollbarTooltip(tableInstance);
|
|
68
74
|
const tableWrapperInstance = ref(null);
|
|
69
75
|
const paginationInstance = ref(null);
|
|
70
76
|
const state = reactive({
|
|
@@ -435,13 +441,24 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
435
441
|
}, 16, ["data", "height", "header-cell-style", "size", "row-key"])), [
|
|
436
442
|
[unref(vLoading), _ctx.loadingStatus]
|
|
437
443
|
]),
|
|
444
|
+
unref(scrollbarTooltipTrigger) ? (openBlock(), createBlock(unref(ElTooltip), {
|
|
445
|
+
key: 1,
|
|
446
|
+
visible: unref(scrollbarTooltipVisible),
|
|
447
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(scrollbarTooltipVisible) ? scrollbarTooltipVisible.value = $event : null),
|
|
448
|
+
"virtual-triggering": "",
|
|
449
|
+
"virtual-ref": unref(scrollbarTooltipTrigger),
|
|
450
|
+
content: unref(scrollbarTooltipContent),
|
|
451
|
+
placement: "top",
|
|
452
|
+
"show-after": 0,
|
|
453
|
+
"hide-after": 0
|
|
454
|
+
}, null, 8, ["visible", "virtual-ref", "content"])) : createCommentVNode("v-if", true),
|
|
438
455
|
createCommentVNode(" \u5206\u9875 "),
|
|
439
456
|
_ctx.pagination ? (openBlock(), createBlock(unref(PlusPagination), mergeProps({
|
|
440
|
-
key:
|
|
457
|
+
key: 2,
|
|
441
458
|
ref_key: "paginationInstance",
|
|
442
459
|
ref: paginationInstance,
|
|
443
460
|
modelValue: unref(subPageInfo),
|
|
444
|
-
"onUpdate:modelValue": _cache[
|
|
461
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(subPageInfo) ? subPageInfo.value = $event : null)
|
|
445
462
|
}, _ctx.pagination, { onChange: handlePaginationChange }), createSlots({
|
|
446
463
|
_: 2
|
|
447
464
|
/* DYNAMIC */
|
|
@@ -40,9 +40,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
40
40
|
fixed: string;
|
|
41
41
|
label: string | ComputedRef<string>;
|
|
42
42
|
width: string | number;
|
|
43
|
+
buttons: ActionBarButtonsRow[];
|
|
43
44
|
showNumber: number | ((row: RecordType, index: number) => number);
|
|
44
45
|
showLimitIncludeMore: boolean;
|
|
45
|
-
buttons: ActionBarButtonsRow[];
|
|
46
46
|
actionBarTableColumnProps: Partial< TableColumnCtx<RecordType>>;
|
|
47
47
|
confirmType: "messageBox" | "popconfirm";
|
|
48
48
|
moreType: "text" | "icon";
|
|
@@ -26,15 +26,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
26
26
|
$data: {};
|
|
27
27
|
$props: Partial<{
|
|
28
28
|
index: number;
|
|
29
|
-
formProps: PlusFormProps;
|
|
30
29
|
rest: RecordType;
|
|
30
|
+
formProps: PlusFormProps;
|
|
31
31
|
column: PlusColumn;
|
|
32
32
|
row: RecordType;
|
|
33
33
|
editable: boolean | "click" | "dblclick";
|
|
34
34
|
}> & Omit<{
|
|
35
35
|
readonly index: number;
|
|
36
|
-
readonly formProps: PlusFormProps;
|
|
37
36
|
readonly rest: RecordType;
|
|
37
|
+
readonly formProps: PlusFormProps;
|
|
38
38
|
readonly column: PlusColumn;
|
|
39
39
|
readonly row: RecordType;
|
|
40
40
|
readonly editable: boolean | "click" | "dblclick";
|
|
@@ -48,14 +48,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
48
48
|
type: PropType<number>;
|
|
49
49
|
default: number;
|
|
50
50
|
};
|
|
51
|
-
formProps: {
|
|
52
|
-
type: PropType<PlusFormProps>;
|
|
53
|
-
default: () => {};
|
|
54
|
-
};
|
|
55
51
|
rest: {
|
|
56
52
|
type: PropType<RecordType>;
|
|
57
53
|
default: () => {};
|
|
58
54
|
};
|
|
55
|
+
formProps: {
|
|
56
|
+
type: PropType<PlusFormProps>;
|
|
57
|
+
default: () => {};
|
|
58
|
+
};
|
|
59
59
|
column: {
|
|
60
60
|
type: PropType<PlusColumn>;
|
|
61
61
|
required: true;
|
|
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
79
79
|
prop: string;
|
|
80
80
|
row: RecordType;
|
|
81
81
|
}) => any) | undefined;
|
|
82
|
-
}, "index" | "
|
|
82
|
+
}, "index" | "rest" | "formProps" | "column" | "row" | "editable">;
|
|
83
83
|
$attrs: {
|
|
84
84
|
[x: string]: unknown;
|
|
85
85
|
};
|
|
@@ -102,14 +102,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
102
102
|
type: PropType<number>;
|
|
103
103
|
default: number;
|
|
104
104
|
};
|
|
105
|
-
formProps: {
|
|
106
|
-
type: PropType<PlusFormProps>;
|
|
107
|
-
default: () => {};
|
|
108
|
-
};
|
|
109
105
|
rest: {
|
|
110
106
|
type: PropType<RecordType>;
|
|
111
107
|
default: () => {};
|
|
112
108
|
};
|
|
109
|
+
formProps: {
|
|
110
|
+
type: PropType<PlusFormProps>;
|
|
111
|
+
default: () => {};
|
|
112
|
+
};
|
|
113
113
|
column: {
|
|
114
114
|
type: PropType<PlusColumn>;
|
|
115
115
|
required: true;
|
|
@@ -152,8 +152,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
152
152
|
}) => void;
|
|
153
153
|
}, string, {
|
|
154
154
|
index: number;
|
|
155
|
-
formProps: PlusFormProps;
|
|
156
155
|
rest: RecordType;
|
|
156
|
+
formProps: PlusFormProps;
|
|
157
157
|
column: PlusColumn;
|
|
158
158
|
row: RecordType;
|
|
159
159
|
editable: boolean | "click" | "dblclick";
|
|
@@ -182,14 +182,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
182
182
|
type: PropType<number>;
|
|
183
183
|
default: number;
|
|
184
184
|
};
|
|
185
|
-
formProps: {
|
|
186
|
-
type: PropType<PlusFormProps>;
|
|
187
|
-
default: () => {};
|
|
188
|
-
};
|
|
189
185
|
rest: {
|
|
190
186
|
type: PropType<RecordType>;
|
|
191
187
|
default: () => {};
|
|
192
188
|
};
|
|
189
|
+
formProps: {
|
|
190
|
+
type: PropType<PlusFormProps>;
|
|
191
|
+
default: () => {};
|
|
192
|
+
};
|
|
193
193
|
column: {
|
|
194
194
|
type: PropType<PlusColumn>;
|
|
195
195
|
required: true;
|
|
@@ -226,14 +226,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
226
226
|
};
|
|
227
227
|
}> & {} & ComponentCustomProperties & {} & {
|
|
228
228
|
$slots: Partial<Record<string, (_: {
|
|
229
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
229
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
230
230
|
readonly label: string | ComputedRef<string>;
|
|
231
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
231
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
232
232
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
233
|
-
readonly tooltip: string |
|
|
233
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
234
234
|
style?: CSSProperties | undefined;
|
|
235
235
|
class?: any;
|
|
236
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
236
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
237
237
|
style?: CSSProperties | undefined;
|
|
238
238
|
class?: any;
|
|
239
239
|
} & RecordType>>;
|
|
@@ -255,7 +255,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
255
255
|
};
|
|
256
256
|
rows: number;
|
|
257
257
|
autocomplete: string;
|
|
258
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "
|
|
258
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
259
259
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
260
260
|
step: string | number;
|
|
261
261
|
format: string | ProgressFn | undefined;
|
|
@@ -300,12 +300,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
300
300
|
fieldInstance?: any;
|
|
301
301
|
valueIsReady?: Ref<boolean> | undefined;
|
|
302
302
|
prop: string;
|
|
303
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
303
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
304
304
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
305
|
-
tooltip: string |
|
|
305
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
306
306
|
style?: CSSProperties | undefined;
|
|
307
307
|
class?: any;
|
|
308
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
308
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
309
309
|
style?: CSSProperties | undefined;
|
|
310
310
|
class?: any;
|
|
311
311
|
} & RecordType>>;
|
|
@@ -334,14 +334,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
334
334
|
clearable: boolean;
|
|
335
335
|
index: number;
|
|
336
336
|
}) => any>> & Partial<Record<string, (_: {
|
|
337
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
337
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
338
338
|
readonly label: string | ComputedRef<string>;
|
|
339
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
339
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
340
340
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
341
|
-
readonly tooltip: string |
|
|
341
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
342
342
|
style?: CSSProperties | undefined;
|
|
343
343
|
class?: any;
|
|
344
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
344
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
345
345
|
style?: CSSProperties | undefined;
|
|
346
346
|
class?: any;
|
|
347
347
|
} & RecordType>>;
|
|
@@ -363,7 +363,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
363
363
|
};
|
|
364
364
|
rows: number;
|
|
365
365
|
autocomplete: string;
|
|
366
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "
|
|
366
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
367
367
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
368
368
|
step: string | number;
|
|
369
369
|
format: string | ProgressFn | undefined;
|
|
@@ -408,12 +408,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
408
408
|
fieldInstance?: any;
|
|
409
409
|
valueIsReady?: Ref<boolean> | undefined;
|
|
410
410
|
prop: string;
|
|
411
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
411
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
412
412
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
413
|
-
tooltip: string |
|
|
413
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
414
414
|
style?: CSSProperties | undefined;
|
|
415
415
|
class?: any;
|
|
416
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
416
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
417
417
|
style?: CSSProperties | undefined;
|
|
418
418
|
class?: any;
|
|
419
419
|
} & RecordType>>;
|
|
@@ -442,14 +442,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
442
442
|
clearable: boolean;
|
|
443
443
|
index: number;
|
|
444
444
|
}) => any>> & Partial<Record<string, (_: {
|
|
445
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
445
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
446
446
|
readonly label: string | ComputedRef<string>;
|
|
447
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
447
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
448
448
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
449
|
-
readonly tooltip: string |
|
|
449
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
450
450
|
style?: CSSProperties | undefined;
|
|
451
451
|
class?: any;
|
|
452
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
452
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
453
453
|
style?: CSSProperties | undefined;
|
|
454
454
|
class?: any;
|
|
455
455
|
} & RecordType>>;
|
|
@@ -471,7 +471,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
471
471
|
};
|
|
472
472
|
rows: number;
|
|
473
473
|
autocomplete: string;
|
|
474
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "
|
|
474
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
475
475
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
476
476
|
step: string | number;
|
|
477
477
|
format: string | ProgressFn | undefined;
|
|
@@ -516,12 +516,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
516
516
|
fieldInstance?: any;
|
|
517
517
|
valueIsReady?: Ref<boolean> | undefined;
|
|
518
518
|
prop: string;
|
|
519
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
519
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
520
520
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
521
|
-
tooltip: string |
|
|
521
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
522
522
|
style?: CSSProperties | undefined;
|
|
523
523
|
class?: any;
|
|
524
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
524
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
525
525
|
style?: CSSProperties | undefined;
|
|
526
526
|
class?: any;
|
|
527
527
|
} & RecordType>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RouteRecordName, RouteLocationNormalized,
|
|
1
|
+
import { RouteRecordName, RouteLocationNormalized, RouteMeta, RouteComponent, RouteRecordRedirectOption, NavigationGuardWithThis } from 'vue-router';
|
|
2
2
|
import { SetupContext, VNode, RendererNode, RendererElement, Component } from 'vue';
|
|
3
3
|
import { FieldValueType, RecordType, PlusColumn, PlusRouteRecordRaw } from 'yc-pro-components/es/types';
|
|
4
4
|
|
|
@@ -120,7 +120,6 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
|
120
120
|
__children: PlusRouteRecordRaw[] | undefined;
|
|
121
121
|
name?: RouteRecordName | undefined;
|
|
122
122
|
props?: (boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)) | Record<string, boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)> | undefined;
|
|
123
|
-
components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
|
|
124
123
|
meta?: ( RouteMeta & {
|
|
125
124
|
title?: string | undefined;
|
|
126
125
|
icon?: VNode<RendererNode, RendererElement, {
|
|
@@ -138,6 +137,7 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
|
138
137
|
end?: boolean | undefined;
|
|
139
138
|
sensitive?: boolean | undefined;
|
|
140
139
|
strict?: boolean | undefined;
|
|
140
|
+
components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
|
|
141
141
|
redirect?: RouteRecordRedirectOption | undefined;
|
|
142
142
|
alias?: string | string[] | undefined;
|
|
143
143
|
beforeEnter?: NavigationGuardWithThis<undefined> | NavigationGuardWithThis<undefined>[] | undefined;
|
|
@@ -128,10 +128,10 @@ declare const YcCountTo: SFCWithInstall<DefineComponent<{
|
|
|
128
128
|
}, {
|
|
129
129
|
duration: number;
|
|
130
130
|
color: string;
|
|
131
|
+
prefix: string;
|
|
132
|
+
fontSize: string;
|
|
131
133
|
separator: string;
|
|
132
134
|
decimal: string;
|
|
133
|
-
fontSize: string;
|
|
134
|
-
prefix: string;
|
|
135
135
|
startVal: number;
|
|
136
136
|
endVal: number;
|
|
137
137
|
autoplay: boolean;
|
|
@@ -121,10 +121,10 @@ declare const _default: DefineComponent<{
|
|
|
121
121
|
}, {
|
|
122
122
|
duration: number;
|
|
123
123
|
color: string;
|
|
124
|
+
prefix: string;
|
|
125
|
+
fontSize: string;
|
|
124
126
|
separator: string;
|
|
125
127
|
decimal: string;
|
|
126
|
-
fontSize: string;
|
|
127
|
-
prefix: string;
|
|
128
128
|
startVal: number;
|
|
129
129
|
endVal: number;
|
|
130
130
|
autoplay: boolean;
|