qy-ui-for-ls 0.4.70 → 0.4.72
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/dist/components/card/index.d.ts +3 -3
- package/dist/components/card/src/index.vue.d.ts +2 -2
- package/dist/components/descriptions/index.d.ts +12 -12
- package/dist/components/descriptions/src/index.vue.d.ts +6 -6
- package/dist/components/form/index.d.ts +9 -3
- package/dist/components/form/src/index.vue.d.ts +3 -1
- package/dist/components/pagination/index.d.ts +3 -3
- package/dist/components/player/index.d.ts +7 -1
- package/dist/components/table-plus/index.d.ts +30 -30
- package/dist/components/table-plus/src/components/PaginationIcon.vue.d.ts +15 -0
- package/dist/components/table-plus/src/components/Tree.vue.d.ts +2 -2
- package/dist/components/table-plus/src/index.vue.d.ts +2 -2
- package/dist/components/text-buttons/index.d.ts +194 -0
- package/dist/components/text-buttons/src/index.vue.d.ts +4 -4
- package/dist/components/tree/index.d.ts +3 -3
- package/dist/components/tree/src/index.vue.d.ts +1 -1
- package/dist/qy-ui-for-ls.es.js +23586 -23424
- package/dist/qy-ui-for-ls.es2.js +8 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/table-plus/src/hooks/useApi.d.ts +0 -10
- /package/dist/components/{table-plus/src/components/ButtonIcon.vue.d.ts → pagination/src/components/PaginationIcon.vue.d.ts} +0 -0
|
@@ -18,7 +18,7 @@ declare const QyCard: ({
|
|
|
18
18
|
};
|
|
19
19
|
titlePorps: {
|
|
20
20
|
type: PropType<TitlePorps>;
|
|
21
|
-
default: {
|
|
21
|
+
default: () => {
|
|
22
22
|
text: string;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
@@ -86,7 +86,7 @@ declare const QyCard: ({
|
|
|
86
86
|
};
|
|
87
87
|
titlePorps: {
|
|
88
88
|
type: PropType<TitlePorps>;
|
|
89
|
-
default: {
|
|
89
|
+
default: () => {
|
|
90
90
|
text: string;
|
|
91
91
|
};
|
|
92
92
|
};
|
|
@@ -151,7 +151,7 @@ declare const QyCard: ({
|
|
|
151
151
|
};
|
|
152
152
|
titlePorps: {
|
|
153
153
|
type: PropType<TitlePorps>;
|
|
154
|
-
default: {
|
|
154
|
+
default: () => {
|
|
155
155
|
text: string;
|
|
156
156
|
};
|
|
157
157
|
};
|
|
@@ -21,7 +21,7 @@ declare function __VLS_template(): {
|
|
|
21
21
|
footer?(_: {}): any;
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<cardProps>, {
|
|
24
|
-
titlePorps: {
|
|
24
|
+
titlePorps: () => {
|
|
25
25
|
text: string;
|
|
26
26
|
};
|
|
27
27
|
bodyStyle: string;
|
|
@@ -37,7 +37,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
37
37
|
cardPadding: number[];
|
|
38
38
|
bottomBorder: boolean;
|
|
39
39
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<cardProps>, {
|
|
40
|
-
titlePorps: {
|
|
40
|
+
titlePorps: () => {
|
|
41
41
|
text: string;
|
|
42
42
|
};
|
|
43
43
|
bodyStyle: string;
|
|
@@ -18,7 +18,7 @@ declare const QyDescriptions: ({
|
|
|
18
18
|
default: () => {};
|
|
19
19
|
};
|
|
20
20
|
descData: {
|
|
21
|
-
type: any
|
|
21
|
+
type: any;
|
|
22
22
|
default: () => never[];
|
|
23
23
|
};
|
|
24
24
|
labelColor: {
|
|
@@ -42,7 +42,7 @@ declare const QyDescriptions: ({
|
|
|
42
42
|
default: number;
|
|
43
43
|
};
|
|
44
44
|
labelAlign: {
|
|
45
|
-
type:
|
|
45
|
+
type: () => "left" | "right" | "center";
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
48
|
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
@@ -51,12 +51,12 @@ declare const QyDescriptions: ({
|
|
|
51
51
|
colon: boolean;
|
|
52
52
|
dataList: Record<string, any>;
|
|
53
53
|
listTypeInfo: Record<string, any>;
|
|
54
|
-
descData:
|
|
54
|
+
descData: any;
|
|
55
55
|
labelColor: string;
|
|
56
56
|
color: string;
|
|
57
57
|
offsetX: number;
|
|
58
58
|
columnX: number;
|
|
59
|
-
labelAlign:
|
|
59
|
+
labelAlign: "left" | "right" | "center";
|
|
60
60
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
61
61
|
P: {};
|
|
62
62
|
B: {};
|
|
@@ -82,7 +82,7 @@ declare const QyDescriptions: ({
|
|
|
82
82
|
default: () => {};
|
|
83
83
|
};
|
|
84
84
|
descData: {
|
|
85
|
-
type: any
|
|
85
|
+
type: any;
|
|
86
86
|
default: () => never[];
|
|
87
87
|
};
|
|
88
88
|
labelColor: {
|
|
@@ -106,7 +106,7 @@ declare const QyDescriptions: ({
|
|
|
106
106
|
default: number;
|
|
107
107
|
};
|
|
108
108
|
labelAlign: {
|
|
109
|
-
type:
|
|
109
|
+
type: () => "left" | "right" | "center";
|
|
110
110
|
default: string;
|
|
111
111
|
};
|
|
112
112
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
@@ -115,12 +115,12 @@ declare const QyDescriptions: ({
|
|
|
115
115
|
colon: boolean;
|
|
116
116
|
dataList: Record<string, any>;
|
|
117
117
|
listTypeInfo: Record<string, any>;
|
|
118
|
-
descData:
|
|
118
|
+
descData: any;
|
|
119
119
|
labelColor: string;
|
|
120
120
|
color: string;
|
|
121
121
|
offsetX: number;
|
|
122
122
|
columnX: number;
|
|
123
|
-
labelAlign:
|
|
123
|
+
labelAlign: "left" | "right" | "center";
|
|
124
124
|
}>;
|
|
125
125
|
__isFragment?: never;
|
|
126
126
|
__isTeleport?: never;
|
|
@@ -143,7 +143,7 @@ declare const QyDescriptions: ({
|
|
|
143
143
|
default: () => {};
|
|
144
144
|
};
|
|
145
145
|
descData: {
|
|
146
|
-
type: any
|
|
146
|
+
type: any;
|
|
147
147
|
default: () => never[];
|
|
148
148
|
};
|
|
149
149
|
labelColor: {
|
|
@@ -167,7 +167,7 @@ declare const QyDescriptions: ({
|
|
|
167
167
|
default: number;
|
|
168
168
|
};
|
|
169
169
|
labelAlign: {
|
|
170
|
-
type:
|
|
170
|
+
type: () => "left" | "right" | "center";
|
|
171
171
|
default: string;
|
|
172
172
|
};
|
|
173
173
|
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
@@ -176,12 +176,12 @@ declare const QyDescriptions: ({
|
|
|
176
176
|
colon: boolean;
|
|
177
177
|
dataList: Record<string, any>;
|
|
178
178
|
listTypeInfo: Record<string, any>;
|
|
179
|
-
descData:
|
|
179
|
+
descData: any;
|
|
180
180
|
labelColor: string;
|
|
181
181
|
color: string;
|
|
182
182
|
offsetX: number;
|
|
183
183
|
columnX: number;
|
|
184
|
-
labelAlign:
|
|
184
|
+
labelAlign: "left" | "right" | "center";
|
|
185
185
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
186
186
|
$slots: Partial<Record<any, (_: {}) => any>>;
|
|
187
187
|
}) & Plugin) & Record<string, any>;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
18
18
|
default: () => {};
|
|
19
19
|
};
|
|
20
20
|
descData: {
|
|
21
|
-
type: any
|
|
21
|
+
type: any;
|
|
22
22
|
default: () => never[];
|
|
23
23
|
};
|
|
24
24
|
labelColor: {
|
|
@@ -42,7 +42,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
42
42
|
default: number;
|
|
43
43
|
};
|
|
44
44
|
labelAlign: {
|
|
45
|
-
type:
|
|
45
|
+
type: () => "left" | "right" | "center";
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
48
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
@@ -63,7 +63,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
63
63
|
default: () => {};
|
|
64
64
|
};
|
|
65
65
|
descData: {
|
|
66
|
-
type: any
|
|
66
|
+
type: any;
|
|
67
67
|
default: () => never[];
|
|
68
68
|
};
|
|
69
69
|
labelColor: {
|
|
@@ -87,7 +87,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
87
87
|
default: number;
|
|
88
88
|
};
|
|
89
89
|
labelAlign: {
|
|
90
|
-
type:
|
|
90
|
+
type: () => "left" | "right" | "center";
|
|
91
91
|
default: string;
|
|
92
92
|
};
|
|
93
93
|
}>> & Readonly<{}>, {
|
|
@@ -96,12 +96,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
96
96
|
colon: boolean;
|
|
97
97
|
dataList: Record<string, any>;
|
|
98
98
|
listTypeInfo: Record<string, any>;
|
|
99
|
-
descData:
|
|
99
|
+
descData: any;
|
|
100
100
|
labelColor: string;
|
|
101
101
|
color: string;
|
|
102
102
|
offsetX: number;
|
|
103
103
|
columnX: number;
|
|
104
|
-
labelAlign:
|
|
104
|
+
labelAlign: "left" | "right" | "center";
|
|
105
105
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
106
106
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
107
107
|
export default _default;
|
|
@@ -48,7 +48,9 @@ declare const QyForm: ({
|
|
|
48
48
|
};
|
|
49
49
|
}>> & Readonly<{
|
|
50
50
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
}>, {
|
|
51
|
+
}>, {
|
|
52
|
+
formRef: any;
|
|
53
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
52
54
|
"update:modelValue": (...args: any[]) => void;
|
|
53
55
|
}, PublicProps, {
|
|
54
56
|
modelValue: Record<string, any>;
|
|
@@ -114,7 +116,9 @@ declare const QyForm: ({
|
|
|
114
116
|
};
|
|
115
117
|
}>> & Readonly<{
|
|
116
118
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
117
|
-
}>, {
|
|
119
|
+
}>, {
|
|
120
|
+
formRef: any;
|
|
121
|
+
}, {}, {}, {}, {
|
|
118
122
|
modelValue: Record<string, any>;
|
|
119
123
|
columnX: number;
|
|
120
124
|
column: number;
|
|
@@ -175,7 +179,9 @@ declare const QyForm: ({
|
|
|
175
179
|
};
|
|
176
180
|
}>> & Readonly<{
|
|
177
181
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
178
|
-
}>, {
|
|
182
|
+
}>, {
|
|
183
|
+
formRef: any;
|
|
184
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
179
185
|
"update:modelValue": (...args: any[]) => void;
|
|
180
186
|
}, string, {
|
|
181
187
|
modelValue: Record<string, any>;
|
|
@@ -45,7 +45,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
45
45
|
type: ObjectConstructor;
|
|
46
46
|
default: () => {};
|
|
47
47
|
};
|
|
48
|
-
}>, {
|
|
48
|
+
}>, {
|
|
49
|
+
formRef: any;
|
|
50
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
49
51
|
"update:modelValue": (...args: any[]) => void;
|
|
50
52
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
51
53
|
configOptions: {
|
|
@@ -2,7 +2,7 @@ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, Co
|
|
|
2
2
|
declare const QyPagination: ({
|
|
3
3
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
4
4
|
align: {
|
|
5
|
-
type: PropType<"
|
|
5
|
+
type: PropType<"left" | "right" | "center">;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
8
|
forTable: {
|
|
@@ -50,7 +50,7 @@ declare const QyPagination: ({
|
|
|
50
50
|
Defaults: {};
|
|
51
51
|
}, Readonly< ExtractPropTypes<{
|
|
52
52
|
align: {
|
|
53
|
-
type: PropType<"
|
|
53
|
+
type: PropType<"left" | "right" | "center">;
|
|
54
54
|
default: string;
|
|
55
55
|
};
|
|
56
56
|
forTable: {
|
|
@@ -91,7 +91,7 @@ declare const QyPagination: ({
|
|
|
91
91
|
__isSuspense?: never;
|
|
92
92
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
93
93
|
align: {
|
|
94
|
-
type: PropType<"
|
|
94
|
+
type: PropType<"left" | "right" | "center">;
|
|
95
95
|
default: string;
|
|
96
96
|
};
|
|
97
97
|
forTable: {
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentOptionsBase, ExtractPropTypes, ComputedOptions, MethodOptions, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
|
+
declare const QyPlayer: ({
|
|
3
|
+
new (...args: any[]): any;
|
|
4
|
+
__isFragment?: never;
|
|
5
|
+
__isTeleport?: never;
|
|
6
|
+
__isSuspense?: never;
|
|
7
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{}>>, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin) & Record<string, any>;
|
|
2
8
|
export default QyPlayer;
|
|
@@ -48,14 +48,6 @@ declare const QyTablePlus: ({
|
|
|
48
48
|
type: PropType<boolean>;
|
|
49
49
|
default: boolean;
|
|
50
50
|
};
|
|
51
|
-
rowKey: {
|
|
52
|
-
type: PropType<string>;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
showSearch: {
|
|
56
|
-
type: PropType<boolean>;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
51
|
requestAuto: {
|
|
60
52
|
type: PropType<boolean>;
|
|
61
53
|
default: boolean;
|
|
@@ -71,6 +63,14 @@ declare const QyTablePlus: ({
|
|
|
71
63
|
type: PropType<any>;
|
|
72
64
|
default: {};
|
|
73
65
|
};
|
|
66
|
+
rowKey: {
|
|
67
|
+
type: PropType<string>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
showSearch: {
|
|
71
|
+
type: PropType<boolean>;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
74
|
showTable: {
|
|
75
75
|
type: PropType<boolean>;
|
|
76
76
|
default: boolean;
|
|
@@ -1031,11 +1031,11 @@ declare const QyTablePlus: ({
|
|
|
1031
1031
|
toolButton: ("download" | "reset")[] | boolean;
|
|
1032
1032
|
beforeReset: () => void;
|
|
1033
1033
|
border: boolean;
|
|
1034
|
-
rowKey: string;
|
|
1035
|
-
showSearch: boolean;
|
|
1036
1034
|
requestAuto: boolean;
|
|
1037
1035
|
pagination: boolean;
|
|
1038
1036
|
initParam: any;
|
|
1037
|
+
rowKey: string;
|
|
1038
|
+
showSearch: boolean;
|
|
1039
1039
|
showTable: boolean;
|
|
1040
1040
|
showHeadersearch: boolean;
|
|
1041
1041
|
tabsOptions: TabsProps;
|
|
@@ -1091,14 +1091,6 @@ declare const QyTablePlus: ({
|
|
|
1091
1091
|
type: PropType<boolean>;
|
|
1092
1092
|
default: boolean;
|
|
1093
1093
|
};
|
|
1094
|
-
rowKey: {
|
|
1095
|
-
type: PropType<string>;
|
|
1096
|
-
default: string;
|
|
1097
|
-
};
|
|
1098
|
-
showSearch: {
|
|
1099
|
-
type: PropType<boolean>;
|
|
1100
|
-
default: boolean;
|
|
1101
|
-
};
|
|
1102
1094
|
requestAuto: {
|
|
1103
1095
|
type: PropType<boolean>;
|
|
1104
1096
|
default: boolean;
|
|
@@ -1114,6 +1106,14 @@ declare const QyTablePlus: ({
|
|
|
1114
1106
|
type: PropType<any>;
|
|
1115
1107
|
default: {};
|
|
1116
1108
|
};
|
|
1109
|
+
rowKey: {
|
|
1110
|
+
type: PropType<string>;
|
|
1111
|
+
default: string;
|
|
1112
|
+
};
|
|
1113
|
+
showSearch: {
|
|
1114
|
+
type: PropType<boolean>;
|
|
1115
|
+
default: boolean;
|
|
1116
|
+
};
|
|
1117
1117
|
showTable: {
|
|
1118
1118
|
type: PropType<boolean>;
|
|
1119
1119
|
default: boolean;
|
|
@@ -2064,11 +2064,11 @@ declare const QyTablePlus: ({
|
|
|
2064
2064
|
toolButton: ("download" | "reset")[] | boolean;
|
|
2065
2065
|
beforeReset: () => void;
|
|
2066
2066
|
border: boolean;
|
|
2067
|
-
rowKey: string;
|
|
2068
|
-
showSearch: boolean;
|
|
2069
2067
|
requestAuto: boolean;
|
|
2070
2068
|
pagination: boolean;
|
|
2071
2069
|
initParam: any;
|
|
2070
|
+
rowKey: string;
|
|
2071
|
+
showSearch: boolean;
|
|
2072
2072
|
showTable: boolean;
|
|
2073
2073
|
showHeadersearch: boolean;
|
|
2074
2074
|
tabsOptions: TabsProps;
|
|
@@ -2121,14 +2121,6 @@ declare const QyTablePlus: ({
|
|
|
2121
2121
|
type: PropType<boolean>;
|
|
2122
2122
|
default: boolean;
|
|
2123
2123
|
};
|
|
2124
|
-
rowKey: {
|
|
2125
|
-
type: PropType<string>;
|
|
2126
|
-
default: string;
|
|
2127
|
-
};
|
|
2128
|
-
showSearch: {
|
|
2129
|
-
type: PropType<boolean>;
|
|
2130
|
-
default: boolean;
|
|
2131
|
-
};
|
|
2132
2124
|
requestAuto: {
|
|
2133
2125
|
type: PropType<boolean>;
|
|
2134
2126
|
default: boolean;
|
|
@@ -2144,6 +2136,14 @@ declare const QyTablePlus: ({
|
|
|
2144
2136
|
type: PropType<any>;
|
|
2145
2137
|
default: {};
|
|
2146
2138
|
};
|
|
2139
|
+
rowKey: {
|
|
2140
|
+
type: PropType<string>;
|
|
2141
|
+
default: string;
|
|
2142
|
+
};
|
|
2143
|
+
showSearch: {
|
|
2144
|
+
type: PropType<boolean>;
|
|
2145
|
+
default: boolean;
|
|
2146
|
+
};
|
|
2147
2147
|
showTable: {
|
|
2148
2148
|
type: PropType<boolean>;
|
|
2149
2149
|
default: boolean;
|
|
@@ -3104,11 +3104,11 @@ declare const QyTablePlus: ({
|
|
|
3104
3104
|
toolButton: ("download" | "reset")[] | boolean;
|
|
3105
3105
|
beforeReset: () => void;
|
|
3106
3106
|
border: boolean;
|
|
3107
|
-
rowKey: string;
|
|
3108
|
-
showSearch: boolean;
|
|
3109
3107
|
requestAuto: boolean;
|
|
3110
3108
|
pagination: boolean;
|
|
3111
3109
|
initParam: any;
|
|
3110
|
+
rowKey: string;
|
|
3111
|
+
showSearch: boolean;
|
|
3112
3112
|
showTable: boolean;
|
|
3113
3113
|
showHeadersearch: boolean;
|
|
3114
3114
|
tabsOptions: TabsProps;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
type: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
8
|
+
type: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {
|
|
13
|
+
type: string;
|
|
14
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -203,12 +203,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
203
203
|
height: string;
|
|
204
204
|
offsetY: string;
|
|
205
205
|
placeholder: string;
|
|
206
|
+
showSearch: boolean;
|
|
207
|
+
maxHeight: string | number;
|
|
206
208
|
indent: number;
|
|
207
209
|
leafKey: string;
|
|
208
210
|
dashColor: string;
|
|
209
|
-
showSearch: boolean;
|
|
210
211
|
showExpand: boolean;
|
|
211
212
|
treeAttrs: Record<string, any>;
|
|
212
|
-
maxHeight: string | number;
|
|
213
213
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
214
214
|
export default _default;
|
|
@@ -1025,11 +1025,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
1025
1025
|
toolButton: ("download" | "reset")[] | boolean;
|
|
1026
1026
|
beforeReset: () => void;
|
|
1027
1027
|
border: boolean;
|
|
1028
|
-
rowKey: string;
|
|
1029
|
-
showSearch: boolean;
|
|
1030
1028
|
requestAuto: boolean;
|
|
1031
1029
|
pagination: boolean;
|
|
1032
1030
|
initParam: any;
|
|
1031
|
+
rowKey: string;
|
|
1032
|
+
showSearch: boolean;
|
|
1033
1033
|
showTable: boolean;
|
|
1034
1034
|
showHeadersearch: boolean;
|
|
1035
1035
|
tabsOptions: TabsProps;
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
|
+
import { TextButton } from './src/index.vue';
|
|
3
|
+
declare const QyTextButtons: ({
|
|
4
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
5
|
+
type: {
|
|
6
|
+
type: PropType<"primary" | "danger" | "success" | "warning" | "info">;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
fontSize: {
|
|
10
|
+
type: PropType<string | number>;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
color: {
|
|
14
|
+
type: PropType<string>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
gutter: {
|
|
18
|
+
type: PropType<number>;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
list: {
|
|
22
|
+
type: PropType< TextButton[]>;
|
|
23
|
+
required: true;
|
|
24
|
+
default: () => never[];
|
|
25
|
+
};
|
|
26
|
+
maxNumber: {
|
|
27
|
+
type: PropType<number>;
|
|
28
|
+
required: true;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
moreText: {
|
|
32
|
+
type: PropType<string>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
moreColor: {
|
|
36
|
+
type: PropType<string>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
hiddens: {
|
|
40
|
+
type: PropType<boolean | any[]>;
|
|
41
|
+
required: true;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
disableds: {
|
|
45
|
+
type: PropType<boolean | any[]>;
|
|
46
|
+
required: true;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{
|
|
50
|
+
onItemClick?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
52
|
+
itemClick: (...args: any[]) => void;
|
|
53
|
+
}, PublicProps, {
|
|
54
|
+
type: "primary" | "danger" | "warning" | "success" | "info";
|
|
55
|
+
fontSize: number | string;
|
|
56
|
+
color: string;
|
|
57
|
+
gutter: number;
|
|
58
|
+
list: Array< TextButton>;
|
|
59
|
+
maxNumber: number;
|
|
60
|
+
moreText: string;
|
|
61
|
+
moreColor: string;
|
|
62
|
+
hiddens: boolean | Array<any>;
|
|
63
|
+
disableds: boolean | Array<any>;
|
|
64
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
65
|
+
P: {};
|
|
66
|
+
B: {};
|
|
67
|
+
D: {};
|
|
68
|
+
C: {};
|
|
69
|
+
M: {};
|
|
70
|
+
Defaults: {};
|
|
71
|
+
}, Readonly< ExtractPropTypes<{
|
|
72
|
+
type: {
|
|
73
|
+
type: PropType<"primary" | "danger" | "success" | "warning" | "info">;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
fontSize: {
|
|
77
|
+
type: PropType<string | number>;
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
80
|
+
color: {
|
|
81
|
+
type: PropType<string>;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
gutter: {
|
|
85
|
+
type: PropType<number>;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
|
+
list: {
|
|
89
|
+
type: PropType< TextButton[]>;
|
|
90
|
+
required: true;
|
|
91
|
+
default: () => never[];
|
|
92
|
+
};
|
|
93
|
+
maxNumber: {
|
|
94
|
+
type: PropType<number>;
|
|
95
|
+
required: true;
|
|
96
|
+
default: number;
|
|
97
|
+
};
|
|
98
|
+
moreText: {
|
|
99
|
+
type: PropType<string>;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
moreColor: {
|
|
103
|
+
type: PropType<string>;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
hiddens: {
|
|
107
|
+
type: PropType<boolean | any[]>;
|
|
108
|
+
required: true;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
disableds: {
|
|
112
|
+
type: PropType<boolean | any[]>;
|
|
113
|
+
required: true;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
}>> & Readonly<{
|
|
117
|
+
onItemClick?: ((...args: any[]) => any) | undefined;
|
|
118
|
+
}>, {}, {}, {}, {}, {
|
|
119
|
+
type: "primary" | "danger" | "warning" | "success" | "info";
|
|
120
|
+
fontSize: number | string;
|
|
121
|
+
color: string;
|
|
122
|
+
gutter: number;
|
|
123
|
+
list: Array< TextButton>;
|
|
124
|
+
maxNumber: number;
|
|
125
|
+
moreText: string;
|
|
126
|
+
moreColor: string;
|
|
127
|
+
hiddens: boolean | Array<any>;
|
|
128
|
+
disableds: boolean | Array<any>;
|
|
129
|
+
}>;
|
|
130
|
+
__isFragment?: never;
|
|
131
|
+
__isTeleport?: never;
|
|
132
|
+
__isSuspense?: never;
|
|
133
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
134
|
+
type: {
|
|
135
|
+
type: PropType<"primary" | "danger" | "success" | "warning" | "info">;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
fontSize: {
|
|
139
|
+
type: PropType<string | number>;
|
|
140
|
+
default: number;
|
|
141
|
+
};
|
|
142
|
+
color: {
|
|
143
|
+
type: PropType<string>;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
gutter: {
|
|
147
|
+
type: PropType<number>;
|
|
148
|
+
default: number;
|
|
149
|
+
};
|
|
150
|
+
list: {
|
|
151
|
+
type: PropType< TextButton[]>;
|
|
152
|
+
required: true;
|
|
153
|
+
default: () => never[];
|
|
154
|
+
};
|
|
155
|
+
maxNumber: {
|
|
156
|
+
type: PropType<number>;
|
|
157
|
+
required: true;
|
|
158
|
+
default: number;
|
|
159
|
+
};
|
|
160
|
+
moreText: {
|
|
161
|
+
type: PropType<string>;
|
|
162
|
+
default: string;
|
|
163
|
+
};
|
|
164
|
+
moreColor: {
|
|
165
|
+
type: PropType<string>;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
hiddens: {
|
|
169
|
+
type: PropType<boolean | any[]>;
|
|
170
|
+
required: true;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
173
|
+
disableds: {
|
|
174
|
+
type: PropType<boolean | any[]>;
|
|
175
|
+
required: true;
|
|
176
|
+
default: boolean;
|
|
177
|
+
};
|
|
178
|
+
}>> & Readonly<{
|
|
179
|
+
onItemClick?: ((...args: any[]) => any) | undefined;
|
|
180
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
181
|
+
itemClick: (...args: any[]) => void;
|
|
182
|
+
}, string, {
|
|
183
|
+
type: "primary" | "danger" | "warning" | "success" | "info";
|
|
184
|
+
fontSize: number | string;
|
|
185
|
+
color: string;
|
|
186
|
+
gutter: number;
|
|
187
|
+
list: Array< TextButton>;
|
|
188
|
+
maxNumber: number;
|
|
189
|
+
moreText: string;
|
|
190
|
+
moreColor: string;
|
|
191
|
+
hiddens: boolean | Array<any>;
|
|
192
|
+
disableds: boolean | Array<any>;
|
|
193
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin) & Record<string, any>;
|
|
194
|
+
export default QyTextButtons;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
2
|
-
interface TextButton {
|
|
3
|
-
label:
|
|
4
|
-
key:
|
|
2
|
+
export interface TextButton {
|
|
3
|
+
label: string;
|
|
4
|
+
key: string;
|
|
5
5
|
type?: 'primary' | 'danger' | 'warning' | 'success' | 'info';
|
|
6
6
|
color?: string;
|
|
7
7
|
[key: string]: any;
|
|
8
8
|
}
|
|
9
|
-
interface TextButtonsProps {
|
|
9
|
+
export interface TextButtonsProps {
|
|
10
10
|
list: Array<TextButton>;
|
|
11
11
|
type?: 'primary' | 'danger' | 'warning' | 'success' | 'info';
|
|
12
12
|
color?: string;
|