qy-ui-for-ls 0.4.2 → 0.4.4
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/guide/index.d.ts +282 -0
- package/dist/components/guide/src/index.vue.d.ts +124 -0
- package/dist/components/h-scroll-box/index.d.ts +123 -0
- package/dist/components/h-scroll-box/src/index.vue.d.ts +77 -0
- package/dist/components/search-group/index.d.ts +3 -3
- package/dist/components/table-plus/index.d.ts +9 -9
- package/dist/components/table-plus/src/components/ButtonIcon.vue.d.ts +15 -0
- package/dist/components/table-plus/src/index.vue.d.ts +2 -2
- package/dist/components/upload/index.d.ts +15 -15
- package/dist/components/upload/src/index.vue.d.ts +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/qy-ui-for-ls.es.js +22533 -22008
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
|
+
import { GuideStep } from './src/index.vue';
|
|
3
|
+
declare const QyGuide: ({
|
|
4
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
5
|
+
minWidth: {
|
|
6
|
+
type: PropType<number>;
|
|
7
|
+
default: number;
|
|
8
|
+
};
|
|
9
|
+
showHeader: {
|
|
10
|
+
type: PropType<boolean>;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: PropType<boolean>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
steps: {
|
|
18
|
+
type: PropType< GuideStep[]>;
|
|
19
|
+
required: true;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
showFooter: {
|
|
23
|
+
type: PropType<boolean>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
showCounter: {
|
|
27
|
+
type: PropType<boolean>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
maskClosable: {
|
|
31
|
+
type: PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
zIndex: {
|
|
35
|
+
type: PropType<number>;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
maskColor: {
|
|
39
|
+
type: PropType<string>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
highlightBorderRadius: {
|
|
43
|
+
type: PropType<number>;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
defaultGap: {
|
|
47
|
+
type: PropType<number>;
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
overlapThreshold: {
|
|
51
|
+
type: PropType<number>;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
showSkipBtn: {
|
|
55
|
+
type: PropType<boolean>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
defaultWidth: {
|
|
59
|
+
type: PropType<number>;
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
defaultMaxWidth: {
|
|
63
|
+
type: PropType<number>;
|
|
64
|
+
default: number;
|
|
65
|
+
};
|
|
66
|
+
}>> & Readonly<{
|
|
67
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
68
|
+
onChange?: ((index: number) => any) | undefined;
|
|
69
|
+
onClose?: (() => any) | undefined;
|
|
70
|
+
onFinish?: (() => any) | undefined;
|
|
71
|
+
onSkip?: (() => any) | undefined;
|
|
72
|
+
onError?: ((message: string) => any) | undefined;
|
|
73
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
74
|
+
"update:modelValue": (value: boolean) => void;
|
|
75
|
+
finish: () => void;
|
|
76
|
+
close: () => void;
|
|
77
|
+
skip: () => void;
|
|
78
|
+
change: (index: number) => void;
|
|
79
|
+
error: (message: string) => void;
|
|
80
|
+
}, PublicProps, {
|
|
81
|
+
minWidth: number;
|
|
82
|
+
showHeader: boolean;
|
|
83
|
+
steps: GuideStep[];
|
|
84
|
+
showFooter: boolean;
|
|
85
|
+
showCounter: boolean;
|
|
86
|
+
maskClosable: boolean;
|
|
87
|
+
zIndex: number;
|
|
88
|
+
maskColor: string;
|
|
89
|
+
highlightBorderRadius: number;
|
|
90
|
+
defaultGap: number;
|
|
91
|
+
overlapThreshold: number;
|
|
92
|
+
showSkipBtn: boolean;
|
|
93
|
+
defaultWidth: number;
|
|
94
|
+
defaultMaxWidth: number;
|
|
95
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
96
|
+
P: {};
|
|
97
|
+
B: {};
|
|
98
|
+
D: {};
|
|
99
|
+
C: {};
|
|
100
|
+
M: {};
|
|
101
|
+
Defaults: {};
|
|
102
|
+
}, Readonly< ExtractPropTypes<{
|
|
103
|
+
minWidth: {
|
|
104
|
+
type: PropType<number>;
|
|
105
|
+
default: number;
|
|
106
|
+
};
|
|
107
|
+
showHeader: {
|
|
108
|
+
type: PropType<boolean>;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
modelValue: {
|
|
112
|
+
type: PropType<boolean>;
|
|
113
|
+
required: true;
|
|
114
|
+
};
|
|
115
|
+
steps: {
|
|
116
|
+
type: PropType< GuideStep[]>;
|
|
117
|
+
required: true;
|
|
118
|
+
default: () => never[];
|
|
119
|
+
};
|
|
120
|
+
showFooter: {
|
|
121
|
+
type: PropType<boolean>;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
showCounter: {
|
|
125
|
+
type: PropType<boolean>;
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
128
|
+
maskClosable: {
|
|
129
|
+
type: PropType<boolean>;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
zIndex: {
|
|
133
|
+
type: PropType<number>;
|
|
134
|
+
default: number;
|
|
135
|
+
};
|
|
136
|
+
maskColor: {
|
|
137
|
+
type: PropType<string>;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
highlightBorderRadius: {
|
|
141
|
+
type: PropType<number>;
|
|
142
|
+
default: number;
|
|
143
|
+
};
|
|
144
|
+
defaultGap: {
|
|
145
|
+
type: PropType<number>;
|
|
146
|
+
default: number;
|
|
147
|
+
};
|
|
148
|
+
overlapThreshold: {
|
|
149
|
+
type: PropType<number>;
|
|
150
|
+
default: number;
|
|
151
|
+
};
|
|
152
|
+
showSkipBtn: {
|
|
153
|
+
type: PropType<boolean>;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
defaultWidth: {
|
|
157
|
+
type: PropType<number>;
|
|
158
|
+
default: number;
|
|
159
|
+
};
|
|
160
|
+
defaultMaxWidth: {
|
|
161
|
+
type: PropType<number>;
|
|
162
|
+
default: number;
|
|
163
|
+
};
|
|
164
|
+
}>> & Readonly<{
|
|
165
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
166
|
+
onChange?: ((index: number) => any) | undefined;
|
|
167
|
+
onClose?: (() => any) | undefined;
|
|
168
|
+
onFinish?: (() => any) | undefined;
|
|
169
|
+
onSkip?: (() => any) | undefined;
|
|
170
|
+
onError?: ((message: string) => any) | undefined;
|
|
171
|
+
}>, {}, {}, {}, {}, {
|
|
172
|
+
minWidth: number;
|
|
173
|
+
showHeader: boolean;
|
|
174
|
+
steps: GuideStep[];
|
|
175
|
+
showFooter: boolean;
|
|
176
|
+
showCounter: boolean;
|
|
177
|
+
maskClosable: boolean;
|
|
178
|
+
zIndex: number;
|
|
179
|
+
maskColor: string;
|
|
180
|
+
highlightBorderRadius: number;
|
|
181
|
+
defaultGap: number;
|
|
182
|
+
overlapThreshold: number;
|
|
183
|
+
showSkipBtn: boolean;
|
|
184
|
+
defaultWidth: number;
|
|
185
|
+
defaultMaxWidth: number;
|
|
186
|
+
}>;
|
|
187
|
+
__isFragment?: never;
|
|
188
|
+
__isTeleport?: never;
|
|
189
|
+
__isSuspense?: never;
|
|
190
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
191
|
+
minWidth: {
|
|
192
|
+
type: PropType<number>;
|
|
193
|
+
default: number;
|
|
194
|
+
};
|
|
195
|
+
showHeader: {
|
|
196
|
+
type: PropType<boolean>;
|
|
197
|
+
default: boolean;
|
|
198
|
+
};
|
|
199
|
+
modelValue: {
|
|
200
|
+
type: PropType<boolean>;
|
|
201
|
+
required: true;
|
|
202
|
+
};
|
|
203
|
+
steps: {
|
|
204
|
+
type: PropType< GuideStep[]>;
|
|
205
|
+
required: true;
|
|
206
|
+
default: () => never[];
|
|
207
|
+
};
|
|
208
|
+
showFooter: {
|
|
209
|
+
type: PropType<boolean>;
|
|
210
|
+
default: boolean;
|
|
211
|
+
};
|
|
212
|
+
showCounter: {
|
|
213
|
+
type: PropType<boolean>;
|
|
214
|
+
default: boolean;
|
|
215
|
+
};
|
|
216
|
+
maskClosable: {
|
|
217
|
+
type: PropType<boolean>;
|
|
218
|
+
default: boolean;
|
|
219
|
+
};
|
|
220
|
+
zIndex: {
|
|
221
|
+
type: PropType<number>;
|
|
222
|
+
default: number;
|
|
223
|
+
};
|
|
224
|
+
maskColor: {
|
|
225
|
+
type: PropType<string>;
|
|
226
|
+
default: string;
|
|
227
|
+
};
|
|
228
|
+
highlightBorderRadius: {
|
|
229
|
+
type: PropType<number>;
|
|
230
|
+
default: number;
|
|
231
|
+
};
|
|
232
|
+
defaultGap: {
|
|
233
|
+
type: PropType<number>;
|
|
234
|
+
default: number;
|
|
235
|
+
};
|
|
236
|
+
overlapThreshold: {
|
|
237
|
+
type: PropType<number>;
|
|
238
|
+
default: number;
|
|
239
|
+
};
|
|
240
|
+
showSkipBtn: {
|
|
241
|
+
type: PropType<boolean>;
|
|
242
|
+
default: boolean;
|
|
243
|
+
};
|
|
244
|
+
defaultWidth: {
|
|
245
|
+
type: PropType<number>;
|
|
246
|
+
default: number;
|
|
247
|
+
};
|
|
248
|
+
defaultMaxWidth: {
|
|
249
|
+
type: PropType<number>;
|
|
250
|
+
default: number;
|
|
251
|
+
};
|
|
252
|
+
}>> & Readonly<{
|
|
253
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
254
|
+
onChange?: ((index: number) => any) | undefined;
|
|
255
|
+
onClose?: (() => any) | undefined;
|
|
256
|
+
onFinish?: (() => any) | undefined;
|
|
257
|
+
onSkip?: (() => any) | undefined;
|
|
258
|
+
onError?: ((message: string) => any) | undefined;
|
|
259
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
260
|
+
"update:modelValue": (value: boolean) => void;
|
|
261
|
+
finish: () => void;
|
|
262
|
+
close: () => void;
|
|
263
|
+
skip: () => void;
|
|
264
|
+
change: (index: number) => void;
|
|
265
|
+
error: (message: string) => void;
|
|
266
|
+
}, string, {
|
|
267
|
+
minWidth: number;
|
|
268
|
+
showHeader: boolean;
|
|
269
|
+
steps: GuideStep[];
|
|
270
|
+
showFooter: boolean;
|
|
271
|
+
showCounter: boolean;
|
|
272
|
+
maskClosable: boolean;
|
|
273
|
+
zIndex: number;
|
|
274
|
+
maskColor: string;
|
|
275
|
+
highlightBorderRadius: number;
|
|
276
|
+
defaultGap: number;
|
|
277
|
+
overlapThreshold: number;
|
|
278
|
+
showSkipBtn: boolean;
|
|
279
|
+
defaultWidth: number;
|
|
280
|
+
defaultMaxWidth: number;
|
|
281
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin) & Record<string, any>;
|
|
282
|
+
export default QyGuide;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
2
|
+
export interface GuideStep {
|
|
3
|
+
target: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
content: string;
|
|
6
|
+
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
7
|
+
width?: number;
|
|
8
|
+
offset?: [number, number];
|
|
9
|
+
highlightPadding?: number;
|
|
10
|
+
gap?: number;
|
|
11
|
+
avoidOverlap?: boolean;
|
|
12
|
+
arrowSize?: number;
|
|
13
|
+
maxWidth?: number;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
modelValue: boolean;
|
|
17
|
+
steps: GuideStep[];
|
|
18
|
+
showHeader?: boolean;
|
|
19
|
+
showFooter?: boolean;
|
|
20
|
+
showCounter?: boolean;
|
|
21
|
+
maskClosable?: boolean;
|
|
22
|
+
zIndex?: number;
|
|
23
|
+
maskColor?: string;
|
|
24
|
+
highlightBorderRadius?: number;
|
|
25
|
+
defaultGap?: number;
|
|
26
|
+
overlapThreshold?: number;
|
|
27
|
+
showSkipBtn?: boolean;
|
|
28
|
+
minWidth?: number;
|
|
29
|
+
defaultWidth?: number;
|
|
30
|
+
defaultMaxWidth?: number;
|
|
31
|
+
}>, {
|
|
32
|
+
steps: () => never[];
|
|
33
|
+
showHeader: boolean;
|
|
34
|
+
showFooter: boolean;
|
|
35
|
+
showCounter: boolean;
|
|
36
|
+
maskClosable: boolean;
|
|
37
|
+
zIndex: number;
|
|
38
|
+
maskColor: string;
|
|
39
|
+
highlightBorderRadius: number;
|
|
40
|
+
defaultGap: number;
|
|
41
|
+
overlapThreshold: number;
|
|
42
|
+
showSkipBtn: boolean;
|
|
43
|
+
minWidth: number;
|
|
44
|
+
defaultWidth: number;
|
|
45
|
+
defaultMaxWidth: number;
|
|
46
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
47
|
+
"update:modelValue": (value: boolean) => void;
|
|
48
|
+
finish: () => void;
|
|
49
|
+
close: () => void;
|
|
50
|
+
skip: () => void;
|
|
51
|
+
change: (index: number) => void;
|
|
52
|
+
error: (message: string) => void;
|
|
53
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
54
|
+
modelValue: boolean;
|
|
55
|
+
steps: GuideStep[];
|
|
56
|
+
showHeader?: boolean;
|
|
57
|
+
showFooter?: boolean;
|
|
58
|
+
showCounter?: boolean;
|
|
59
|
+
maskClosable?: boolean;
|
|
60
|
+
zIndex?: number;
|
|
61
|
+
maskColor?: string;
|
|
62
|
+
highlightBorderRadius?: number;
|
|
63
|
+
defaultGap?: number;
|
|
64
|
+
overlapThreshold?: number;
|
|
65
|
+
showSkipBtn?: boolean;
|
|
66
|
+
minWidth?: number;
|
|
67
|
+
defaultWidth?: number;
|
|
68
|
+
defaultMaxWidth?: number;
|
|
69
|
+
}>, {
|
|
70
|
+
steps: () => never[];
|
|
71
|
+
showHeader: boolean;
|
|
72
|
+
showFooter: boolean;
|
|
73
|
+
showCounter: boolean;
|
|
74
|
+
maskClosable: boolean;
|
|
75
|
+
zIndex: number;
|
|
76
|
+
maskColor: string;
|
|
77
|
+
highlightBorderRadius: number;
|
|
78
|
+
defaultGap: number;
|
|
79
|
+
overlapThreshold: number;
|
|
80
|
+
showSkipBtn: boolean;
|
|
81
|
+
minWidth: number;
|
|
82
|
+
defaultWidth: number;
|
|
83
|
+
defaultMaxWidth: number;
|
|
84
|
+
}>>> & Readonly<{
|
|
85
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
86
|
+
onChange?: ((index: number) => any) | undefined;
|
|
87
|
+
onClose?: (() => any) | undefined;
|
|
88
|
+
onFinish?: (() => any) | undefined;
|
|
89
|
+
onSkip?: (() => any) | undefined;
|
|
90
|
+
onError?: ((message: string) => any) | undefined;
|
|
91
|
+
}>, {
|
|
92
|
+
minWidth: number;
|
|
93
|
+
showHeader: boolean;
|
|
94
|
+
steps: GuideStep[];
|
|
95
|
+
showFooter: boolean;
|
|
96
|
+
showCounter: boolean;
|
|
97
|
+
maskClosable: boolean;
|
|
98
|
+
zIndex: number;
|
|
99
|
+
maskColor: string;
|
|
100
|
+
highlightBorderRadius: number;
|
|
101
|
+
defaultGap: number;
|
|
102
|
+
overlapThreshold: number;
|
|
103
|
+
showSkipBtn: boolean;
|
|
104
|
+
defaultWidth: number;
|
|
105
|
+
defaultMaxWidth: number;
|
|
106
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
107
|
+
export default _default;
|
|
108
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
109
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
110
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
111
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
112
|
+
} : {
|
|
113
|
+
type: PropType<T[K]>;
|
|
114
|
+
required: true;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
type __VLS_WithDefaults<P, D> = {
|
|
118
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
119
|
+
default: D[K];
|
|
120
|
+
}> : P[K];
|
|
121
|
+
};
|
|
122
|
+
type __VLS_Prettify<T> = {
|
|
123
|
+
[K in keyof T]: T[K];
|
|
124
|
+
} & {};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
|
+
declare const QyHScrollBox: ({
|
|
3
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
4
|
+
minWidth: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
showButtons: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
scrollStep: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
scrollSpeed: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
buttonSize: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
hoverShow: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
29
|
+
minWidth: number;
|
|
30
|
+
showButtons: boolean;
|
|
31
|
+
scrollStep: number;
|
|
32
|
+
scrollSpeed: number;
|
|
33
|
+
buttonSize: number;
|
|
34
|
+
hoverShow: boolean;
|
|
35
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
36
|
+
P: {};
|
|
37
|
+
B: {};
|
|
38
|
+
D: {};
|
|
39
|
+
C: {};
|
|
40
|
+
M: {};
|
|
41
|
+
Defaults: {};
|
|
42
|
+
}, Readonly< ExtractPropTypes<{
|
|
43
|
+
minWidth: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
showButtons: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
scrollStep: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
scrollSpeed: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
buttonSize: {
|
|
60
|
+
type: NumberConstructor;
|
|
61
|
+
default: number;
|
|
62
|
+
};
|
|
63
|
+
hoverShow: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
68
|
+
minWidth: number;
|
|
69
|
+
showButtons: boolean;
|
|
70
|
+
scrollStep: number;
|
|
71
|
+
scrollSpeed: number;
|
|
72
|
+
buttonSize: number;
|
|
73
|
+
hoverShow: boolean;
|
|
74
|
+
}>;
|
|
75
|
+
__isFragment?: never;
|
|
76
|
+
__isTeleport?: never;
|
|
77
|
+
__isSuspense?: never;
|
|
78
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
79
|
+
minWidth: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
showButtons: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
scrollStep: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
scrollSpeed: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
buttonSize: {
|
|
96
|
+
type: NumberConstructor;
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
hoverShow: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
104
|
+
minWidth: number;
|
|
105
|
+
showButtons: boolean;
|
|
106
|
+
scrollStep: number;
|
|
107
|
+
scrollSpeed: number;
|
|
108
|
+
buttonSize: number;
|
|
109
|
+
hoverShow: boolean;
|
|
110
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
111
|
+
$slots: {
|
|
112
|
+
"left-button"?(_: {
|
|
113
|
+
scrollLeft: () => void;
|
|
114
|
+
iconSize: number;
|
|
115
|
+
}): any;
|
|
116
|
+
default?(_: {}): any;
|
|
117
|
+
"right-button"?(_: {
|
|
118
|
+
scrollRight: () => void;
|
|
119
|
+
iconSize: number;
|
|
120
|
+
}): any;
|
|
121
|
+
};
|
|
122
|
+
}) & Plugin) & Record<string, any>;
|
|
123
|
+
export default QyHScrollBox;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
"left-button"?(_: {
|
|
4
|
+
scrollLeft: () => void;
|
|
5
|
+
iconSize: number;
|
|
6
|
+
}): any;
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
"right-button"?(_: {
|
|
9
|
+
scrollRight: () => void;
|
|
10
|
+
iconSize: number;
|
|
11
|
+
}): any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
14
|
+
minWidth: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
showButtons: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
scrollStep: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
scrollSpeed: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
buttonSize: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
hoverShow: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
39
|
+
minWidth: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
showButtons: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
scrollStep: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
scrollSpeed: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
buttonSize: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
hoverShow: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}>> & Readonly<{}>, {
|
|
64
|
+
minWidth: number;
|
|
65
|
+
showButtons: boolean;
|
|
66
|
+
scrollStep: number;
|
|
67
|
+
scrollSpeed: number;
|
|
68
|
+
buttonSize: number;
|
|
69
|
+
hoverShow: boolean;
|
|
70
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
71
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
72
|
+
export default _default;
|
|
73
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
|
+
new (): {
|
|
75
|
+
$slots: S;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
@@ -12,7 +12,7 @@ declare const QySearchGroup: ({
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
toolButton: {
|
|
15
|
-
type: PropType<boolean | ("
|
|
15
|
+
type: PropType<boolean | ("reset" | "download")[]>;
|
|
16
16
|
default: () => string[];
|
|
17
17
|
};
|
|
18
18
|
clolumns: {
|
|
@@ -54,7 +54,7 @@ declare const QySearchGroup: ({
|
|
|
54
54
|
required: true;
|
|
55
55
|
};
|
|
56
56
|
toolButton: {
|
|
57
|
-
type: PropType<boolean | ("
|
|
57
|
+
type: PropType<boolean | ("reset" | "download")[]>;
|
|
58
58
|
default: () => string[];
|
|
59
59
|
};
|
|
60
60
|
clolumns: {
|
|
@@ -89,7 +89,7 @@ declare const QySearchGroup: ({
|
|
|
89
89
|
required: true;
|
|
90
90
|
};
|
|
91
91
|
toolButton: {
|
|
92
|
-
type: PropType<boolean | ("
|
|
92
|
+
type: PropType<boolean | ("reset" | "download")[]>;
|
|
93
93
|
default: () => string[];
|
|
94
94
|
};
|
|
95
95
|
clolumns: {
|