@quidgest/ui 0.3.2 → 0.5.0
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/index.d.ts +1590 -0
- package/{lib/styles → dist}/ui.css +238 -10
- package/dist/ui.esm.js +1078 -1374
- package/dist/ui.esm.js.map +1 -1
- package/dist/ui.js +4 -4
- package/dist/ui.js.map +1 -1
- package/dist/ui.min.css +1 -0
- package/dist/ui.min.js +161 -313
- package/dist/ui.min.js.map +1 -1
- package/{lib/styles → dist}/ui.scss +270 -23
- package/package.json +24 -25
- package/lib/components/QButton/QButton.vue.d.ts +0 -128
- package/lib/components/QButton/QButton.vue.d.ts.map +0 -1
- package/lib/components/QButton/index.d.ts +0 -3
- package/lib/components/QButton/index.d.ts.map +0 -1
- package/lib/components/QButtonGroup/QButtonGroup.vue.d.ts +0 -36
- package/lib/components/QButtonGroup/QButtonGroup.vue.d.ts.map +0 -1
- package/lib/components/QButtonGroup/index.d.ts +0 -3
- package/lib/components/QButtonGroup/index.d.ts.map +0 -1
- package/lib/components/QButtonToggle/QButtonToggle.vue.d.ts +0 -57
- package/lib/components/QButtonToggle/QButtonToggle.vue.d.ts.map +0 -1
- package/lib/components/QButtonToggle/index.d.ts +0 -3
- package/lib/components/QButtonToggle/index.d.ts.map +0 -1
- package/lib/components/QIcon/InlineSvg.d.ts +0 -72
- package/lib/components/QIcon/InlineSvg.d.ts.map +0 -1
- package/lib/components/QIcon/QIcon.vue.d.ts +0 -42
- package/lib/components/QIcon/QIcon.vue.d.ts.map +0 -1
- package/lib/components/QIcon/QIconFont.vue.d.ts +0 -59
- package/lib/components/QIcon/QIconFont.vue.d.ts.map +0 -1
- package/lib/components/QIcon/QIconImg.vue.d.ts +0 -19
- package/lib/components/QIcon/QIconImg.vue.d.ts.map +0 -1
- package/lib/components/QIcon/QIconSvg.vue.d.ts +0 -38
- package/lib/components/QIcon/QIconSvg.vue.d.ts.map +0 -1
- package/lib/components/QIcon/index.d.ts +0 -6
- package/lib/components/QIcon/index.d.ts.map +0 -1
- package/lib/components/QLineLoader/QLineLoader.vue.d.ts +0 -3
- package/lib/components/QLineLoader/QLineLoader.vue.d.ts.map +0 -1
- package/lib/components/QLineLoader/index.d.ts +0 -3
- package/lib/components/QLineLoader/index.d.ts.map +0 -1
- package/lib/components/QOverlay/QOverlay.vue.d.ts +0 -125
- package/lib/components/QOverlay/QOverlay.vue.d.ts.map +0 -1
- package/lib/components/QOverlay/index.d.ts +0 -3
- package/lib/components/QOverlay/index.d.ts.map +0 -1
- package/lib/components/QPopover/QPopover.vue.d.ts +0 -97
- package/lib/components/QPopover/QPopover.vue.d.ts.map +0 -1
- package/lib/components/QPopover/index.d.ts +0 -3
- package/lib/components/QPopover/index.d.ts.map +0 -1
- package/lib/components/QSpinnerLoader/QSpinnerLoader.vue.d.ts +0 -15
- package/lib/components/QSpinnerLoader/QSpinnerLoader.vue.d.ts.map +0 -1
- package/lib/components/QSpinnerLoader/index.d.ts +0 -3
- package/lib/components/QSpinnerLoader/index.d.ts.map +0 -1
- package/lib/components/QTooltip/QTooltip.vue.d.ts +0 -99
- package/lib/components/QTooltip/QTooltip.vue.d.ts.map +0 -1
- package/lib/components/QTooltip/index.d.ts +0 -3
- package/lib/components/QTooltip/index.d.ts.map +0 -1
- package/lib/components/index.d.ts +0 -10
- package/lib/components/index.d.ts.map +0 -1
- package/lib/composables/defaults.d.ts +0 -7
- package/lib/composables/defaults.d.ts.map +0 -1
- package/lib/composables/index.d.ts +0 -4
- package/lib/composables/index.d.ts.map +0 -1
- package/lib/composables/overlay.d.ts +0 -13
- package/lib/composables/overlay.d.ts.map +0 -1
- package/lib/composables/theme.d.ts +0 -26
- package/lib/composables/theme.d.ts.map +0 -1
- package/lib/framework.d.ts +0 -9
- package/lib/framework.d.ts.map +0 -1
- package/lib/index.d.ts +0 -5
- package/lib/index.d.ts.map +0 -1
- package/lib/styles/ui.min.css +0 -1
- package/lib/templates/index.d.ts +0 -2
- package/lib/templates/index.d.ts.map +0 -1
- package/lib/templates/theme.d.ts +0 -4
- package/lib/templates/theme.d.ts.map +0 -1
- package/lib/utils/color.d.ts +0 -74
- package/lib/utils/color.d.ts.map +0 -1
- package/lib/utils/defineComponent.d.ts +0 -4
- package/lib/utils/defineComponent.d.ts.map +0 -1
- package/lib/utils/getCurrentInstance.d.ts +0 -2
- package/lib/utils/getCurrentInstance.d.ts.map +0 -1
- package/lib/utils/getElement.d.ts +0 -7
- package/lib/utils/getElement.d.ts.map +0 -1
- package/lib/utils/getUid.d.ts +0 -5
- package/lib/utils/getUid.d.ts.map +0 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1590 @@
|
|
|
1
|
+
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import type { Component } from 'vue';
|
|
3
|
+
import { ComponentCustomProps } from 'vue';
|
|
4
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
5
|
+
import { ComponentPublicInstance } from 'vue';
|
|
6
|
+
import { DefineComponent } from 'vue';
|
|
7
|
+
import type { Directive } from 'vue';
|
|
8
|
+
import { ExtractPropTypes } from 'vue';
|
|
9
|
+
import { ObjectDirective } from 'vue';
|
|
10
|
+
import type { Plugin as Plugin_2 } from 'vue';
|
|
11
|
+
import { PropType } from 'vue';
|
|
12
|
+
import { VNodeProps } from 'vue';
|
|
13
|
+
|
|
14
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
|
|
16
|
+
declare type __VLS_NonUndefinedable_10<T> = T extends undefined ? never : T;
|
|
17
|
+
|
|
18
|
+
declare type __VLS_NonUndefinedable_11<T> = T extends undefined ? never : T;
|
|
19
|
+
|
|
20
|
+
declare type __VLS_NonUndefinedable_12<T> = T extends undefined ? never : T;
|
|
21
|
+
|
|
22
|
+
declare type __VLS_NonUndefinedable_13<T> = T extends undefined ? never : T;
|
|
23
|
+
|
|
24
|
+
declare type __VLS_NonUndefinedable_14<T> = T extends undefined ? never : T;
|
|
25
|
+
|
|
26
|
+
declare type __VLS_NonUndefinedable_15<T> = T extends undefined ? never : T;
|
|
27
|
+
|
|
28
|
+
declare type __VLS_NonUndefinedable_16<T> = T extends undefined ? never : T;
|
|
29
|
+
|
|
30
|
+
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
31
|
+
|
|
32
|
+
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
33
|
+
|
|
34
|
+
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
35
|
+
|
|
36
|
+
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
37
|
+
|
|
38
|
+
declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
|
|
39
|
+
|
|
40
|
+
declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
41
|
+
|
|
42
|
+
declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
|
|
43
|
+
|
|
44
|
+
declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
|
|
45
|
+
|
|
46
|
+
declare type __VLS_Prettify<T> = {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} & {};
|
|
49
|
+
|
|
50
|
+
declare type __VLS_Prettify_10<T> = {
|
|
51
|
+
[K in keyof T]: T[K];
|
|
52
|
+
} & {};
|
|
53
|
+
|
|
54
|
+
declare type __VLS_Prettify_11<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|
|
57
|
+
|
|
58
|
+
declare type __VLS_Prettify_12<T> = {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} & {};
|
|
61
|
+
|
|
62
|
+
declare type __VLS_Prettify_13<T> = {
|
|
63
|
+
[K in keyof T]: T[K];
|
|
64
|
+
} & {};
|
|
65
|
+
|
|
66
|
+
declare type __VLS_Prettify_2<T> = {
|
|
67
|
+
[K in keyof T]: T[K];
|
|
68
|
+
} & {};
|
|
69
|
+
|
|
70
|
+
declare type __VLS_Prettify_3<T> = {
|
|
71
|
+
[K in keyof T]: T[K];
|
|
72
|
+
} & {};
|
|
73
|
+
|
|
74
|
+
declare type __VLS_Prettify_4<T> = {
|
|
75
|
+
[K in keyof T]: T[K];
|
|
76
|
+
} & {};
|
|
77
|
+
|
|
78
|
+
declare type __VLS_Prettify_5<T> = {
|
|
79
|
+
[K in keyof T]: T[K];
|
|
80
|
+
} & {};
|
|
81
|
+
|
|
82
|
+
declare type __VLS_Prettify_6<T> = {
|
|
83
|
+
[K in keyof T]: T[K];
|
|
84
|
+
} & {};
|
|
85
|
+
|
|
86
|
+
declare type __VLS_Prettify_7<T> = {
|
|
87
|
+
[K in keyof T]: T[K];
|
|
88
|
+
} & {};
|
|
89
|
+
|
|
90
|
+
declare type __VLS_Prettify_8<T> = {
|
|
91
|
+
[K in keyof T]: T[K];
|
|
92
|
+
} & {};
|
|
93
|
+
|
|
94
|
+
declare type __VLS_Prettify_9<T> = {
|
|
95
|
+
[K in keyof T]: T[K];
|
|
96
|
+
} & {};
|
|
97
|
+
|
|
98
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
99
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
100
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
101
|
+
} : {
|
|
102
|
+
type: PropType<T[K]>;
|
|
103
|
+
required: true;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
declare type __VLS_TypePropsToRuntimeProps_10<T> = {
|
|
108
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
109
|
+
type: PropType<__VLS_NonUndefinedable_10<T[K]>>;
|
|
110
|
+
} : {
|
|
111
|
+
type: PropType<T[K]>;
|
|
112
|
+
required: true;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
declare type __VLS_TypePropsToRuntimeProps_11<T> = {
|
|
117
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
118
|
+
type: PropType<__VLS_NonUndefinedable_11<T[K]>>;
|
|
119
|
+
} : {
|
|
120
|
+
type: PropType<T[K]>;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
declare type __VLS_TypePropsToRuntimeProps_12<T> = {
|
|
126
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
127
|
+
type: PropType<__VLS_NonUndefinedable_12<T[K]>>;
|
|
128
|
+
} : {
|
|
129
|
+
type: PropType<T[K]>;
|
|
130
|
+
required: true;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
declare type __VLS_TypePropsToRuntimeProps_13<T> = {
|
|
135
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
136
|
+
type: PropType<__VLS_NonUndefinedable_13<T[K]>>;
|
|
137
|
+
} : {
|
|
138
|
+
type: PropType<T[K]>;
|
|
139
|
+
required: true;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
declare type __VLS_TypePropsToRuntimeProps_14<T> = {
|
|
144
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
145
|
+
type: PropType<__VLS_NonUndefinedable_14<T[K]>>;
|
|
146
|
+
} : {
|
|
147
|
+
type: PropType<T[K]>;
|
|
148
|
+
required: true;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
declare type __VLS_TypePropsToRuntimeProps_15<T> = {
|
|
153
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
154
|
+
type: PropType<__VLS_NonUndefinedable_15<T[K]>>;
|
|
155
|
+
} : {
|
|
156
|
+
type: PropType<T[K]>;
|
|
157
|
+
required: true;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
declare type __VLS_TypePropsToRuntimeProps_16<T> = {
|
|
162
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
163
|
+
type: PropType<__VLS_NonUndefinedable_16<T[K]>>;
|
|
164
|
+
} : {
|
|
165
|
+
type: PropType<T[K]>;
|
|
166
|
+
required: true;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
171
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
172
|
+
type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
|
|
173
|
+
} : {
|
|
174
|
+
type: PropType<T[K]>;
|
|
175
|
+
required: true;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
180
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
181
|
+
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
182
|
+
} : {
|
|
183
|
+
type: PropType<T[K]>;
|
|
184
|
+
required: true;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
189
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
190
|
+
type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
|
|
191
|
+
} : {
|
|
192
|
+
type: PropType<T[K]>;
|
|
193
|
+
required: true;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
declare type __VLS_TypePropsToRuntimeProps_5<T> = {
|
|
198
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
199
|
+
type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
|
|
200
|
+
} : {
|
|
201
|
+
type: PropType<T[K]>;
|
|
202
|
+
required: true;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
207
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
208
|
+
type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
|
|
209
|
+
} : {
|
|
210
|
+
type: PropType<T[K]>;
|
|
211
|
+
required: true;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
declare type __VLS_TypePropsToRuntimeProps_7<T> = {
|
|
216
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
217
|
+
type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
|
|
218
|
+
} : {
|
|
219
|
+
type: PropType<T[K]>;
|
|
220
|
+
required: true;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
declare type __VLS_TypePropsToRuntimeProps_8<T> = {
|
|
225
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
226
|
+
type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
|
|
227
|
+
} : {
|
|
228
|
+
type: PropType<T[K]>;
|
|
229
|
+
required: true;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
declare type __VLS_TypePropsToRuntimeProps_9<T> = {
|
|
234
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
235
|
+
type: PropType<__VLS_NonUndefinedable_9<T[K]>>;
|
|
236
|
+
} : {
|
|
237
|
+
type: PropType<T[K]>;
|
|
238
|
+
required: true;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
243
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
244
|
+
default: D[K];
|
|
245
|
+
}> : P[K];
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
declare type __VLS_WithDefaults_10<P, D> = {
|
|
249
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_10<P[K] & {
|
|
250
|
+
default: D[K];
|
|
251
|
+
}> : P[K];
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
declare type __VLS_WithDefaults_11<P, D> = {
|
|
255
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_11<P[K] & {
|
|
256
|
+
default: D[K];
|
|
257
|
+
}> : P[K];
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
declare type __VLS_WithDefaults_12<P, D> = {
|
|
261
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_12<P[K] & {
|
|
262
|
+
default: D[K];
|
|
263
|
+
}> : P[K];
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
declare type __VLS_WithDefaults_13<P, D> = {
|
|
267
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_13<P[K] & {
|
|
268
|
+
default: D[K];
|
|
269
|
+
}> : P[K];
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
declare type __VLS_WithDefaults_2<P, D> = {
|
|
273
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
|
|
274
|
+
default: D[K];
|
|
275
|
+
}> : P[K];
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
declare type __VLS_WithDefaults_3<P, D> = {
|
|
279
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_3<P[K] & {
|
|
280
|
+
default: D[K];
|
|
281
|
+
}> : P[K];
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
declare type __VLS_WithDefaults_4<P, D> = {
|
|
285
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_4<P[K] & {
|
|
286
|
+
default: D[K];
|
|
287
|
+
}> : P[K];
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
declare type __VLS_WithDefaults_5<P, D> = {
|
|
291
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
|
|
292
|
+
default: D[K];
|
|
293
|
+
}> : P[K];
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
declare type __VLS_WithDefaults_6<P, D> = {
|
|
297
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_6<P[K] & {
|
|
298
|
+
default: D[K];
|
|
299
|
+
}> : P[K];
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
declare type __VLS_WithDefaults_7<P, D> = {
|
|
303
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_7<P[K] & {
|
|
304
|
+
default: D[K];
|
|
305
|
+
}> : P[K];
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
declare type __VLS_WithDefaults_8<P, D> = {
|
|
309
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_8<P[K] & {
|
|
310
|
+
default: D[K];
|
|
311
|
+
}> : P[K];
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
declare type __VLS_WithDefaults_9<P, D> = {
|
|
315
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_9<P[K] & {
|
|
316
|
+
default: D[K];
|
|
317
|
+
}> : P[K];
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
321
|
+
new (): {
|
|
322
|
+
$slots: S;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
327
|
+
new (): {
|
|
328
|
+
$slots: S;
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
333
|
+
new (): {
|
|
334
|
+
$slots: S;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
339
|
+
new (): {
|
|
340
|
+
$slots: S;
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
345
|
+
new (): {
|
|
346
|
+
$slots: S;
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
351
|
+
new (): {
|
|
352
|
+
$slots: S;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
357
|
+
new (): {
|
|
358
|
+
$slots: S;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
363
|
+
new (): {
|
|
364
|
+
$slots: S;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
declare type Appearance = 'regular' | 'inverted';
|
|
369
|
+
|
|
370
|
+
declare type AppThemes = {
|
|
371
|
+
defaultTheme: string;
|
|
372
|
+
themes: Array<{
|
|
373
|
+
name: string;
|
|
374
|
+
mode: ThemeMode;
|
|
375
|
+
colors?: Partial<ColorScheme>;
|
|
376
|
+
}>;
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
export declare const clickOutside: ObjectDirective<HTMLElementWithClickOutsideEvent>;
|
|
380
|
+
|
|
381
|
+
declare type ColorScheme = {
|
|
382
|
+
primary: string;
|
|
383
|
+
primaryLight: string;
|
|
384
|
+
primaryDark: string;
|
|
385
|
+
onPrimary: string;
|
|
386
|
+
secondary: string;
|
|
387
|
+
secondaryLight: string;
|
|
388
|
+
secondaryDark: string;
|
|
389
|
+
onSecondary: string;
|
|
390
|
+
highlight: string;
|
|
391
|
+
onHighlight: string;
|
|
392
|
+
background: string;
|
|
393
|
+
onBackground: string;
|
|
394
|
+
container: string;
|
|
395
|
+
info: string;
|
|
396
|
+
infoLight: string;
|
|
397
|
+
infoDark: string;
|
|
398
|
+
onInfo: string;
|
|
399
|
+
success: string;
|
|
400
|
+
successLight: string;
|
|
401
|
+
successDark: string;
|
|
402
|
+
onSuccess: string;
|
|
403
|
+
warning: string;
|
|
404
|
+
warningLight: string;
|
|
405
|
+
warningDark: string;
|
|
406
|
+
onWarning: string;
|
|
407
|
+
danger: string;
|
|
408
|
+
dangerLight: string;
|
|
409
|
+
dangerDark: string;
|
|
410
|
+
onDanger: string;
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
declare type ComponentDefaults = Record<string | symbol, unknown>;
|
|
414
|
+
|
|
415
|
+
export declare function createFramework(config?: FrameworkConfig): Plugin_2;
|
|
416
|
+
|
|
417
|
+
export declare const defaultDarkColorScheme: ColorScheme;
|
|
418
|
+
|
|
419
|
+
export declare const defaultLightColorScheme: ColorScheme;
|
|
420
|
+
|
|
421
|
+
declare type Defaults = Record<string | symbol, ComponentDefaults>;
|
|
422
|
+
|
|
423
|
+
declare function focusItem(itemIdx: number): void;
|
|
424
|
+
|
|
425
|
+
declare type FrameworkConfig = {
|
|
426
|
+
components?: Record<string, Component>;
|
|
427
|
+
directives?: Record<string, Directive>;
|
|
428
|
+
themes?: AppThemes;
|
|
429
|
+
defaults?: Defaults;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
declare interface HTMLElementWithClickOutsideEvent extends HTMLElement {
|
|
433
|
+
clickOutsideEvent: (event: Event) => void;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export declare type Icon = {
|
|
437
|
+
/**
|
|
438
|
+
* The name of the icon.
|
|
439
|
+
*/
|
|
440
|
+
name: string;
|
|
441
|
+
/**
|
|
442
|
+
* The type of resource.
|
|
443
|
+
*/
|
|
444
|
+
type?: 'svg' | 'font' | 'img';
|
|
445
|
+
/**
|
|
446
|
+
* The size of the icon, in pixels.
|
|
447
|
+
*/
|
|
448
|
+
size?: number;
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
export declare type InputSize = 'mini' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'block';
|
|
452
|
+
|
|
453
|
+
export declare type ListItem = {
|
|
454
|
+
[key: string]: any;
|
|
455
|
+
icon?: Icon;
|
|
456
|
+
selected?: boolean;
|
|
457
|
+
group?: string;
|
|
458
|
+
disabled?: boolean;
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
declare type Placement = 'top' | 'bottom' | 'left' | 'right';
|
|
462
|
+
|
|
463
|
+
declare type Primitive = string | number | boolean | symbol;
|
|
464
|
+
|
|
465
|
+
export declare const QButton: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
466
|
+
/**
|
|
467
|
+
* Whether the button is in an active state.
|
|
468
|
+
*/
|
|
469
|
+
active?: boolean | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* The style of the button.
|
|
472
|
+
*/
|
|
473
|
+
bStyle?: "primary" | "secondary" | "tertiary" | "danger" | "plain" | undefined;
|
|
474
|
+
/**
|
|
475
|
+
* The label of the button.
|
|
476
|
+
*/
|
|
477
|
+
label?: string | undefined;
|
|
478
|
+
/**
|
|
479
|
+
* Indicates if the button is disabled.
|
|
480
|
+
*/
|
|
481
|
+
disabled?: boolean | undefined;
|
|
482
|
+
/**
|
|
483
|
+
* Indicates if the icon should be displayed on the right side.
|
|
484
|
+
*/
|
|
485
|
+
iconOnRight?: boolean | undefined;
|
|
486
|
+
/**
|
|
487
|
+
* Indicates if the button's border should be removed.
|
|
488
|
+
*/
|
|
489
|
+
borderless?: boolean | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* Indicates if the button should have an elevated appearance.
|
|
492
|
+
*/
|
|
493
|
+
elevated?: boolean | undefined;
|
|
494
|
+
/**
|
|
495
|
+
* Indicates if the button should span the full width of its container.
|
|
496
|
+
*/
|
|
497
|
+
block?: boolean | undefined;
|
|
498
|
+
/**
|
|
499
|
+
* Indicates whether the button is in a loading state.
|
|
500
|
+
*/
|
|
501
|
+
loading?: boolean | undefined;
|
|
502
|
+
/**
|
|
503
|
+
* The size of the button.
|
|
504
|
+
*/
|
|
505
|
+
size?: "small" | "regular" | undefined;
|
|
506
|
+
}>, {
|
|
507
|
+
bStyle: string;
|
|
508
|
+
label: string;
|
|
509
|
+
size: string;
|
|
510
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
511
|
+
click: (event: Event) => void;
|
|
512
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
513
|
+
/**
|
|
514
|
+
* Whether the button is in an active state.
|
|
515
|
+
*/
|
|
516
|
+
active?: boolean | undefined;
|
|
517
|
+
/**
|
|
518
|
+
* The style of the button.
|
|
519
|
+
*/
|
|
520
|
+
bStyle?: "primary" | "secondary" | "tertiary" | "danger" | "plain" | undefined;
|
|
521
|
+
/**
|
|
522
|
+
* The label of the button.
|
|
523
|
+
*/
|
|
524
|
+
label?: string | undefined;
|
|
525
|
+
/**
|
|
526
|
+
* Indicates if the button is disabled.
|
|
527
|
+
*/
|
|
528
|
+
disabled?: boolean | undefined;
|
|
529
|
+
/**
|
|
530
|
+
* Indicates if the icon should be displayed on the right side.
|
|
531
|
+
*/
|
|
532
|
+
iconOnRight?: boolean | undefined;
|
|
533
|
+
/**
|
|
534
|
+
* Indicates if the button's border should be removed.
|
|
535
|
+
*/
|
|
536
|
+
borderless?: boolean | undefined;
|
|
537
|
+
/**
|
|
538
|
+
* Indicates if the button should have an elevated appearance.
|
|
539
|
+
*/
|
|
540
|
+
elevated?: boolean | undefined;
|
|
541
|
+
/**
|
|
542
|
+
* Indicates if the button should span the full width of its container.
|
|
543
|
+
*/
|
|
544
|
+
block?: boolean | undefined;
|
|
545
|
+
/**
|
|
546
|
+
* Indicates whether the button is in a loading state.
|
|
547
|
+
*/
|
|
548
|
+
loading?: boolean | undefined;
|
|
549
|
+
/**
|
|
550
|
+
* The size of the button.
|
|
551
|
+
*/
|
|
552
|
+
size?: "small" | "regular" | undefined;
|
|
553
|
+
}>, {
|
|
554
|
+
bStyle: string;
|
|
555
|
+
label: string;
|
|
556
|
+
size: string;
|
|
557
|
+
}>>> & {
|
|
558
|
+
onClick?: ((event: Event) => any) | undefined;
|
|
559
|
+
}, {
|
|
560
|
+
size: "small" | "regular";
|
|
561
|
+
label: string;
|
|
562
|
+
bStyle: "primary" | "secondary" | "tertiary" | "danger" | "plain";
|
|
563
|
+
}, {}>, {
|
|
564
|
+
default?(_: {}): any;
|
|
565
|
+
}>;
|
|
566
|
+
|
|
567
|
+
export declare const QButtonGroup: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_TypePropsToRuntimeProps_2<{
|
|
568
|
+
/**
|
|
569
|
+
* The default style of the buttons.
|
|
570
|
+
*/
|
|
571
|
+
bStyle?: "primary" | "secondary" | "danger" | undefined;
|
|
572
|
+
/**
|
|
573
|
+
* Indicates if the button group is disabled.
|
|
574
|
+
*/
|
|
575
|
+
disabled?: boolean | undefined;
|
|
576
|
+
/**
|
|
577
|
+
* Indicates if the buttons' border should be removed.
|
|
578
|
+
*/
|
|
579
|
+
borderless?: boolean | undefined;
|
|
580
|
+
/**
|
|
581
|
+
* Indicates if the buttons should have an elevated appearance.
|
|
582
|
+
*/
|
|
583
|
+
elevated?: boolean | undefined;
|
|
584
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_2<{
|
|
585
|
+
/**
|
|
586
|
+
* The default style of the buttons.
|
|
587
|
+
*/
|
|
588
|
+
bStyle?: "primary" | "secondary" | "danger" | undefined;
|
|
589
|
+
/**
|
|
590
|
+
* Indicates if the button group is disabled.
|
|
591
|
+
*/
|
|
592
|
+
disabled?: boolean | undefined;
|
|
593
|
+
/**
|
|
594
|
+
* Indicates if the buttons' border should be removed.
|
|
595
|
+
*/
|
|
596
|
+
borderless?: boolean | undefined;
|
|
597
|
+
/**
|
|
598
|
+
* Indicates if the buttons should have an elevated appearance.
|
|
599
|
+
*/
|
|
600
|
+
elevated?: boolean | undefined;
|
|
601
|
+
}>>>, {}, {}>, {
|
|
602
|
+
default?(_: {}): any;
|
|
603
|
+
}>;
|
|
604
|
+
|
|
605
|
+
export declare const QButtonToggle: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_TypePropsToRuntimeProps_3<{
|
|
606
|
+
/**
|
|
607
|
+
* The key of the selected option.
|
|
608
|
+
*/
|
|
609
|
+
modelValue?: string | undefined;
|
|
610
|
+
/**
|
|
611
|
+
* The list of available options to display
|
|
612
|
+
*/
|
|
613
|
+
options: QButtonToggleOption[];
|
|
614
|
+
/**
|
|
615
|
+
* Indicates if the button toggle is disabled.
|
|
616
|
+
*/
|
|
617
|
+
disabled?: boolean | undefined;
|
|
618
|
+
/**
|
|
619
|
+
* Indicates if the buttons' border should be removed.
|
|
620
|
+
*/
|
|
621
|
+
borderless?: boolean | undefined;
|
|
622
|
+
/**
|
|
623
|
+
* Indicates if the buttons should have an elevated appearance.
|
|
624
|
+
*/
|
|
625
|
+
elevated?: boolean | undefined;
|
|
626
|
+
/**
|
|
627
|
+
* Indicates if options can be deselected.
|
|
628
|
+
*/
|
|
629
|
+
mandatory?: boolean | undefined;
|
|
630
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
631
|
+
"update:modelValue": (value: unknown) => void;
|
|
632
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_3<{
|
|
633
|
+
/**
|
|
634
|
+
* The key of the selected option.
|
|
635
|
+
*/
|
|
636
|
+
modelValue?: string | undefined;
|
|
637
|
+
/**
|
|
638
|
+
* The list of available options to display
|
|
639
|
+
*/
|
|
640
|
+
options: QButtonToggleOption[];
|
|
641
|
+
/**
|
|
642
|
+
* Indicates if the button toggle is disabled.
|
|
643
|
+
*/
|
|
644
|
+
disabled?: boolean | undefined;
|
|
645
|
+
/**
|
|
646
|
+
* Indicates if the buttons' border should be removed.
|
|
647
|
+
*/
|
|
648
|
+
borderless?: boolean | undefined;
|
|
649
|
+
/**
|
|
650
|
+
* Indicates if the buttons should have an elevated appearance.
|
|
651
|
+
*/
|
|
652
|
+
elevated?: boolean | undefined;
|
|
653
|
+
/**
|
|
654
|
+
* Indicates if options can be deselected.
|
|
655
|
+
*/
|
|
656
|
+
mandatory?: boolean | undefined;
|
|
657
|
+
}>>> & {
|
|
658
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
659
|
+
}, {}, {}>, Partial<Record<string, (_: {}) => any>>>;
|
|
660
|
+
|
|
661
|
+
declare type QButtonToggleOption = {
|
|
662
|
+
key: string;
|
|
663
|
+
title?: string;
|
|
664
|
+
label?: string;
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
export declare const QIcon: DefineComponent<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_4<Icon>, {
|
|
668
|
+
type: string;
|
|
669
|
+
size: undefined;
|
|
670
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_4<Icon>, {
|
|
671
|
+
type: string;
|
|
672
|
+
size: undefined;
|
|
673
|
+
}>>>, {
|
|
674
|
+
size: number;
|
|
675
|
+
type: "img" | "svg" | "font";
|
|
676
|
+
}, {}>;
|
|
677
|
+
|
|
678
|
+
export declare const QIconFont: DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_5<QIconFontProps>, {
|
|
679
|
+
library: string;
|
|
680
|
+
variant: string;
|
|
681
|
+
size: undefined;
|
|
682
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_5<QIconFontProps>, {
|
|
683
|
+
library: string;
|
|
684
|
+
variant: string;
|
|
685
|
+
size: undefined;
|
|
686
|
+
}>>>, {
|
|
687
|
+
size: number;
|
|
688
|
+
library: string;
|
|
689
|
+
variant: string;
|
|
690
|
+
}, {}>;
|
|
691
|
+
|
|
692
|
+
declare type QIconFontProps = {
|
|
693
|
+
/**
|
|
694
|
+
* The name of the font icon.
|
|
695
|
+
*/
|
|
696
|
+
icon: string;
|
|
697
|
+
/**
|
|
698
|
+
* The name of the icon library.
|
|
699
|
+
*/
|
|
700
|
+
library?: string;
|
|
701
|
+
/**
|
|
702
|
+
* The icon variant.
|
|
703
|
+
*/
|
|
704
|
+
variant?: string;
|
|
705
|
+
/**
|
|
706
|
+
* The size of the icon, in pixels.
|
|
707
|
+
*/
|
|
708
|
+
size?: number;
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
export declare const QIconImg: DefineComponent<__VLS_TypePropsToRuntimeProps_6<{
|
|
712
|
+
/**
|
|
713
|
+
* The URL of an image to be used as the icon.
|
|
714
|
+
*/
|
|
715
|
+
icon: string;
|
|
716
|
+
/**
|
|
717
|
+
* The size of the icon, in pixels.
|
|
718
|
+
*/
|
|
719
|
+
size?: number | undefined;
|
|
720
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_6<{
|
|
721
|
+
/**
|
|
722
|
+
* The URL of an image to be used as the icon.
|
|
723
|
+
*/
|
|
724
|
+
icon: string;
|
|
725
|
+
/**
|
|
726
|
+
* The size of the icon, in pixels.
|
|
727
|
+
*/
|
|
728
|
+
size?: number | undefined;
|
|
729
|
+
}>>>, {}, {}>;
|
|
730
|
+
|
|
731
|
+
export declare const QIconSvg: DefineComponent<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_7<{
|
|
732
|
+
/**
|
|
733
|
+
* The name of the font icon.
|
|
734
|
+
*/
|
|
735
|
+
icon: string;
|
|
736
|
+
/**
|
|
737
|
+
* The name of the icon bundle.
|
|
738
|
+
*/
|
|
739
|
+
bundle?: string | undefined;
|
|
740
|
+
/**
|
|
741
|
+
* The size of the icon, in pixels.
|
|
742
|
+
*/
|
|
743
|
+
size?: number | undefined;
|
|
744
|
+
}>, {
|
|
745
|
+
bundle: string;
|
|
746
|
+
size: undefined;
|
|
747
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
748
|
+
loaded: (value: unknown) => void;
|
|
749
|
+
unloaded: (value: unknown) => void;
|
|
750
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_7<{
|
|
751
|
+
/**
|
|
752
|
+
* The name of the font icon.
|
|
753
|
+
*/
|
|
754
|
+
icon: string;
|
|
755
|
+
/**
|
|
756
|
+
* The name of the icon bundle.
|
|
757
|
+
*/
|
|
758
|
+
bundle?: string | undefined;
|
|
759
|
+
/**
|
|
760
|
+
* The size of the icon, in pixels.
|
|
761
|
+
*/
|
|
762
|
+
size?: number | undefined;
|
|
763
|
+
}>, {
|
|
764
|
+
bundle: string;
|
|
765
|
+
size: undefined;
|
|
766
|
+
}>>> & {
|
|
767
|
+
onLoaded?: ((value: unknown) => any) | undefined;
|
|
768
|
+
onUnloaded?: ((value: unknown) => any) | undefined;
|
|
769
|
+
}, {
|
|
770
|
+
size: number;
|
|
771
|
+
bundle: string;
|
|
772
|
+
}, {}>;
|
|
773
|
+
|
|
774
|
+
export declare const QInput: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_8<{
|
|
775
|
+
/**
|
|
776
|
+
* The size category of the input.
|
|
777
|
+
*/
|
|
778
|
+
size?: InputSize | undefined;
|
|
779
|
+
/**
|
|
780
|
+
* Whether the input is readonly.
|
|
781
|
+
*/
|
|
782
|
+
readonly?: boolean | undefined;
|
|
783
|
+
/**
|
|
784
|
+
* Whether the input is disabled.
|
|
785
|
+
*/
|
|
786
|
+
disabled?: boolean | undefined;
|
|
787
|
+
}>, {
|
|
788
|
+
modelValue: undefined;
|
|
789
|
+
type: string;
|
|
790
|
+
size: string;
|
|
791
|
+
placeholder: string;
|
|
792
|
+
readonly: boolean;
|
|
793
|
+
disabled: boolean;
|
|
794
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_8<{
|
|
795
|
+
/**
|
|
796
|
+
* The size category of the input.
|
|
797
|
+
*/
|
|
798
|
+
size?: InputSize | undefined;
|
|
799
|
+
/**
|
|
800
|
+
* Whether the input is readonly.
|
|
801
|
+
*/
|
|
802
|
+
readonly?: boolean | undefined;
|
|
803
|
+
/**
|
|
804
|
+
* Whether the input is disabled.
|
|
805
|
+
*/
|
|
806
|
+
disabled?: boolean | undefined;
|
|
807
|
+
}>, {
|
|
808
|
+
modelValue: undefined;
|
|
809
|
+
type: string;
|
|
810
|
+
size: string;
|
|
811
|
+
placeholder: string;
|
|
812
|
+
readonly: boolean;
|
|
813
|
+
disabled: boolean;
|
|
814
|
+
}>>>, {
|
|
815
|
+
size: InputSize;
|
|
816
|
+
disabled: boolean;
|
|
817
|
+
readonly: boolean;
|
|
818
|
+
}, {}>, {
|
|
819
|
+
prepend?(_: {}): any;
|
|
820
|
+
default?(_: {}): any;
|
|
821
|
+
append?(_: {}): any;
|
|
822
|
+
}>;
|
|
823
|
+
|
|
824
|
+
export declare const QLineLoader: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
825
|
+
|
|
826
|
+
export declare const QList: DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_9<{
|
|
827
|
+
/**
|
|
828
|
+
* The value of the currently selected item.
|
|
829
|
+
*/
|
|
830
|
+
modelValue?: Primitive | undefined;
|
|
831
|
+
/**
|
|
832
|
+
* The list of available items for selection.
|
|
833
|
+
*/
|
|
834
|
+
items: ListItem[];
|
|
835
|
+
/**
|
|
836
|
+
* The item groups used for organizing the available items.
|
|
837
|
+
*/
|
|
838
|
+
groups?: QListItemGroupProps[] | undefined;
|
|
839
|
+
/**
|
|
840
|
+
* The property of each item object that holds its value.
|
|
841
|
+
*/
|
|
842
|
+
itemValue?: string | undefined;
|
|
843
|
+
/**
|
|
844
|
+
* The property of each item object that holds its title.
|
|
845
|
+
*/
|
|
846
|
+
itemLabel?: string | undefined;
|
|
847
|
+
/**
|
|
848
|
+
* Indicates whether the list is disabled.
|
|
849
|
+
*/
|
|
850
|
+
disabled?: boolean | undefined;
|
|
851
|
+
}>, {
|
|
852
|
+
modelValue: undefined;
|
|
853
|
+
groups: () => never[];
|
|
854
|
+
itemValue: string;
|
|
855
|
+
itemLabel: string;
|
|
856
|
+
}>, {
|
|
857
|
+
focusItem: typeof focusItem;
|
|
858
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
859
|
+
"update:modelValue": (value: Primitive) => void;
|
|
860
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_9<{
|
|
861
|
+
/**
|
|
862
|
+
* The value of the currently selected item.
|
|
863
|
+
*/
|
|
864
|
+
modelValue?: Primitive | undefined;
|
|
865
|
+
/**
|
|
866
|
+
* The list of available items for selection.
|
|
867
|
+
*/
|
|
868
|
+
items: ListItem[];
|
|
869
|
+
/**
|
|
870
|
+
* The item groups used for organizing the available items.
|
|
871
|
+
*/
|
|
872
|
+
groups?: QListItemGroupProps[] | undefined;
|
|
873
|
+
/**
|
|
874
|
+
* The property of each item object that holds its value.
|
|
875
|
+
*/
|
|
876
|
+
itemValue?: string | undefined;
|
|
877
|
+
/**
|
|
878
|
+
* The property of each item object that holds its title.
|
|
879
|
+
*/
|
|
880
|
+
itemLabel?: string | undefined;
|
|
881
|
+
/**
|
|
882
|
+
* Indicates whether the list is disabled.
|
|
883
|
+
*/
|
|
884
|
+
disabled?: boolean | undefined;
|
|
885
|
+
}>, {
|
|
886
|
+
modelValue: undefined;
|
|
887
|
+
groups: () => never[];
|
|
888
|
+
itemValue: string;
|
|
889
|
+
itemLabel: string;
|
|
890
|
+
}>>> & {
|
|
891
|
+
"onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
892
|
+
}, {
|
|
893
|
+
modelValue: Primitive;
|
|
894
|
+
groups: QListItemGroupProps[];
|
|
895
|
+
itemValue: string;
|
|
896
|
+
itemLabel: string;
|
|
897
|
+
}, {}>;
|
|
898
|
+
|
|
899
|
+
export declare const QListItem: DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_10<{
|
|
900
|
+
/**
|
|
901
|
+
* The value of the item.
|
|
902
|
+
*/
|
|
903
|
+
value: Primitive;
|
|
904
|
+
/**
|
|
905
|
+
* The label of the item.
|
|
906
|
+
*/
|
|
907
|
+
label: string;
|
|
908
|
+
/**
|
|
909
|
+
* The icon of the item.
|
|
910
|
+
*/
|
|
911
|
+
icon?: Icon | undefined;
|
|
912
|
+
/**
|
|
913
|
+
* Whether this item is selected.
|
|
914
|
+
*/
|
|
915
|
+
selected?: boolean | undefined;
|
|
916
|
+
/**
|
|
917
|
+
* Whether this item is highlighted.
|
|
918
|
+
*/
|
|
919
|
+
highlighted?: boolean | undefined;
|
|
920
|
+
/**
|
|
921
|
+
* The icons of the component.
|
|
922
|
+
*/
|
|
923
|
+
icons?: Record<string, Icon> | undefined;
|
|
924
|
+
/**
|
|
925
|
+
* Whether the item is disabled.
|
|
926
|
+
*/
|
|
927
|
+
disabled?: boolean | undefined;
|
|
928
|
+
}>, {
|
|
929
|
+
icon: undefined;
|
|
930
|
+
selected: boolean;
|
|
931
|
+
highlighted: boolean;
|
|
932
|
+
icons: () => Record<string, Icon>;
|
|
933
|
+
disabled: boolean;
|
|
934
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
935
|
+
select: (value: Primitive) => void;
|
|
936
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_10<{
|
|
937
|
+
/**
|
|
938
|
+
* The value of the item.
|
|
939
|
+
*/
|
|
940
|
+
value: Primitive;
|
|
941
|
+
/**
|
|
942
|
+
* The label of the item.
|
|
943
|
+
*/
|
|
944
|
+
label: string;
|
|
945
|
+
/**
|
|
946
|
+
* The icon of the item.
|
|
947
|
+
*/
|
|
948
|
+
icon?: Icon | undefined;
|
|
949
|
+
/**
|
|
950
|
+
* Whether this item is selected.
|
|
951
|
+
*/
|
|
952
|
+
selected?: boolean | undefined;
|
|
953
|
+
/**
|
|
954
|
+
* Whether this item is highlighted.
|
|
955
|
+
*/
|
|
956
|
+
highlighted?: boolean | undefined;
|
|
957
|
+
/**
|
|
958
|
+
* The icons of the component.
|
|
959
|
+
*/
|
|
960
|
+
icons?: Record<string, Icon> | undefined;
|
|
961
|
+
/**
|
|
962
|
+
* Whether the item is disabled.
|
|
963
|
+
*/
|
|
964
|
+
disabled?: boolean | undefined;
|
|
965
|
+
}>, {
|
|
966
|
+
icon: undefined;
|
|
967
|
+
selected: boolean;
|
|
968
|
+
highlighted: boolean;
|
|
969
|
+
icons: () => Record<string, Icon>;
|
|
970
|
+
disabled: boolean;
|
|
971
|
+
}>>> & {
|
|
972
|
+
onSelect?: ((value: Primitive) => any) | undefined;
|
|
973
|
+
}, {
|
|
974
|
+
disabled: boolean;
|
|
975
|
+
icon: Icon;
|
|
976
|
+
selected: boolean;
|
|
977
|
+
highlighted: boolean;
|
|
978
|
+
icons: Record<string, Icon>;
|
|
979
|
+
}, {}>;
|
|
980
|
+
|
|
981
|
+
export declare const QListItemGroup: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_11<QListItemGroupProps>, {
|
|
982
|
+
id: () => string;
|
|
983
|
+
title: string;
|
|
984
|
+
disabled: boolean;
|
|
985
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_11<QListItemGroupProps>, {
|
|
986
|
+
id: () => string;
|
|
987
|
+
title: string;
|
|
988
|
+
disabled: boolean;
|
|
989
|
+
}>>>, {
|
|
990
|
+
title: string;
|
|
991
|
+
disabled: boolean;
|
|
992
|
+
id: string;
|
|
993
|
+
}, {}>, {
|
|
994
|
+
default?(_: {}): any;
|
|
995
|
+
}>;
|
|
996
|
+
|
|
997
|
+
export declare type QListItemGroupProps = {
|
|
998
|
+
/**
|
|
999
|
+
* The identifier of the list item group.
|
|
1000
|
+
*/
|
|
1001
|
+
id?: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* The title of the group.
|
|
1004
|
+
*/
|
|
1005
|
+
title?: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* Whether the entire list group is disabled.
|
|
1008
|
+
*/
|
|
1009
|
+
disabled?: boolean;
|
|
1010
|
+
};
|
|
1011
|
+
|
|
1012
|
+
export declare const QOverlay: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_12<{
|
|
1013
|
+
/**
|
|
1014
|
+
* Determines whether the overlay is open or not.
|
|
1015
|
+
*/
|
|
1016
|
+
modelValue?: boolean | undefined;
|
|
1017
|
+
/**
|
|
1018
|
+
* The DOM element the overlay should be anchored to.
|
|
1019
|
+
*/
|
|
1020
|
+
anchor: Selector;
|
|
1021
|
+
/**
|
|
1022
|
+
* The appearance of the overlay.
|
|
1023
|
+
* 'regular' uses body text color for background and body background color for text.
|
|
1024
|
+
* 'inverted' matches body color scheme.
|
|
1025
|
+
*/
|
|
1026
|
+
appearance?: Appearance | undefined;
|
|
1027
|
+
/**
|
|
1028
|
+
* Whether the overlay has an arrow pointing to the target.
|
|
1029
|
+
*/
|
|
1030
|
+
arrow?: boolean | undefined;
|
|
1031
|
+
/**
|
|
1032
|
+
* The DOM element the overlay should be teleported to.
|
|
1033
|
+
* Defaults to the body of the document.
|
|
1034
|
+
*/
|
|
1035
|
+
attach?: string | undefined;
|
|
1036
|
+
/**
|
|
1037
|
+
* Optional additional set of classes to apply to the overlay content.
|
|
1038
|
+
*/
|
|
1039
|
+
contentClasses?: string[] | undefined;
|
|
1040
|
+
/**
|
|
1041
|
+
* The delay in milliseconds before showing the overlay.
|
|
1042
|
+
*/
|
|
1043
|
+
delay?: number | undefined;
|
|
1044
|
+
/**
|
|
1045
|
+
* Whether the overlay is disabled.
|
|
1046
|
+
*/
|
|
1047
|
+
disabled?: boolean | undefined;
|
|
1048
|
+
/**
|
|
1049
|
+
* Offset the overlay in the given amount of pixels.
|
|
1050
|
+
*/
|
|
1051
|
+
offset?: number | undefined;
|
|
1052
|
+
/**
|
|
1053
|
+
* The placement of the overlay.
|
|
1054
|
+
*/
|
|
1055
|
+
placement?: Placement | undefined;
|
|
1056
|
+
/**
|
|
1057
|
+
* Whether to spy on the real-time position of the anchor,
|
|
1058
|
+
* to keep the position of the overlay up-to-date at all times.
|
|
1059
|
+
*/
|
|
1060
|
+
spy?: boolean | undefined;
|
|
1061
|
+
/**
|
|
1062
|
+
* The name of the transition to apply.
|
|
1063
|
+
*/
|
|
1064
|
+
transition?: string | undefined;
|
|
1065
|
+
/**
|
|
1066
|
+
* The method to trigger the overlay.
|
|
1067
|
+
*/
|
|
1068
|
+
trigger?: Trigger | undefined;
|
|
1069
|
+
/**
|
|
1070
|
+
* The width of the overlay.
|
|
1071
|
+
* Either is automatic, based on the overlay content,
|
|
1072
|
+
* or matches the overlay's anchor.
|
|
1073
|
+
*/
|
|
1074
|
+
width?: "anchor" | "auto" | undefined;
|
|
1075
|
+
}>, {
|
|
1076
|
+
appearance: string;
|
|
1077
|
+
arrow: boolean;
|
|
1078
|
+
attach: string;
|
|
1079
|
+
contentClasses: () => never[];
|
|
1080
|
+
delay: number;
|
|
1081
|
+
offset: number;
|
|
1082
|
+
placement: string;
|
|
1083
|
+
spy: boolean;
|
|
1084
|
+
transition: string;
|
|
1085
|
+
trigger: string;
|
|
1086
|
+
width: string;
|
|
1087
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1088
|
+
enter: () => void;
|
|
1089
|
+
leave: () => void;
|
|
1090
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_12<{
|
|
1091
|
+
/**
|
|
1092
|
+
* Determines whether the overlay is open or not.
|
|
1093
|
+
*/
|
|
1094
|
+
modelValue?: boolean | undefined;
|
|
1095
|
+
/**
|
|
1096
|
+
* The DOM element the overlay should be anchored to.
|
|
1097
|
+
*/
|
|
1098
|
+
anchor: Selector;
|
|
1099
|
+
/**
|
|
1100
|
+
* The appearance of the overlay.
|
|
1101
|
+
* 'regular' uses body text color for background and body background color for text.
|
|
1102
|
+
* 'inverted' matches body color scheme.
|
|
1103
|
+
*/
|
|
1104
|
+
appearance?: Appearance | undefined;
|
|
1105
|
+
/**
|
|
1106
|
+
* Whether the overlay has an arrow pointing to the target.
|
|
1107
|
+
*/
|
|
1108
|
+
arrow?: boolean | undefined;
|
|
1109
|
+
/**
|
|
1110
|
+
* The DOM element the overlay should be teleported to.
|
|
1111
|
+
* Defaults to the body of the document.
|
|
1112
|
+
*/
|
|
1113
|
+
attach?: string | undefined;
|
|
1114
|
+
/**
|
|
1115
|
+
* Optional additional set of classes to apply to the overlay content.
|
|
1116
|
+
*/
|
|
1117
|
+
contentClasses?: string[] | undefined;
|
|
1118
|
+
/**
|
|
1119
|
+
* The delay in milliseconds before showing the overlay.
|
|
1120
|
+
*/
|
|
1121
|
+
delay?: number | undefined;
|
|
1122
|
+
/**
|
|
1123
|
+
* Whether the overlay is disabled.
|
|
1124
|
+
*/
|
|
1125
|
+
disabled?: boolean | undefined;
|
|
1126
|
+
/**
|
|
1127
|
+
* Offset the overlay in the given amount of pixels.
|
|
1128
|
+
*/
|
|
1129
|
+
offset?: number | undefined;
|
|
1130
|
+
/**
|
|
1131
|
+
* The placement of the overlay.
|
|
1132
|
+
*/
|
|
1133
|
+
placement?: Placement | undefined;
|
|
1134
|
+
/**
|
|
1135
|
+
* Whether to spy on the real-time position of the anchor,
|
|
1136
|
+
* to keep the position of the overlay up-to-date at all times.
|
|
1137
|
+
*/
|
|
1138
|
+
spy?: boolean | undefined;
|
|
1139
|
+
/**
|
|
1140
|
+
* The name of the transition to apply.
|
|
1141
|
+
*/
|
|
1142
|
+
transition?: string | undefined;
|
|
1143
|
+
/**
|
|
1144
|
+
* The method to trigger the overlay.
|
|
1145
|
+
*/
|
|
1146
|
+
trigger?: Trigger | undefined;
|
|
1147
|
+
/**
|
|
1148
|
+
* The width of the overlay.
|
|
1149
|
+
* Either is automatic, based on the overlay content,
|
|
1150
|
+
* or matches the overlay's anchor.
|
|
1151
|
+
*/
|
|
1152
|
+
width?: "anchor" | "auto" | undefined;
|
|
1153
|
+
}>, {
|
|
1154
|
+
appearance: string;
|
|
1155
|
+
arrow: boolean;
|
|
1156
|
+
attach: string;
|
|
1157
|
+
contentClasses: () => never[];
|
|
1158
|
+
delay: number;
|
|
1159
|
+
offset: number;
|
|
1160
|
+
placement: string;
|
|
1161
|
+
spy: boolean;
|
|
1162
|
+
transition: string;
|
|
1163
|
+
trigger: string;
|
|
1164
|
+
width: string;
|
|
1165
|
+
}>>> & {
|
|
1166
|
+
onEnter?: (() => any) | undefined;
|
|
1167
|
+
onLeave?: (() => any) | undefined;
|
|
1168
|
+
}, {
|
|
1169
|
+
transition: string;
|
|
1170
|
+
width: "anchor" | "auto";
|
|
1171
|
+
appearance: Appearance;
|
|
1172
|
+
arrow: boolean;
|
|
1173
|
+
attach: string;
|
|
1174
|
+
contentClasses: string[];
|
|
1175
|
+
delay: number;
|
|
1176
|
+
offset: number;
|
|
1177
|
+
placement: Placement;
|
|
1178
|
+
spy: boolean;
|
|
1179
|
+
trigger: Trigger;
|
|
1180
|
+
}, {}>, {
|
|
1181
|
+
trigger?(_: {
|
|
1182
|
+
open: boolean;
|
|
1183
|
+
}): any;
|
|
1184
|
+
default?(_: {}): any;
|
|
1185
|
+
}>;
|
|
1186
|
+
|
|
1187
|
+
export declare const QPopover: __VLS_WithTemplateSlots_7<DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_13<{
|
|
1188
|
+
/**
|
|
1189
|
+
* Determines whether the popover is open or not.
|
|
1190
|
+
*/
|
|
1191
|
+
modelValue?: boolean | undefined;
|
|
1192
|
+
/**
|
|
1193
|
+
* The DOM element the popover should be anchored to.
|
|
1194
|
+
*/
|
|
1195
|
+
anchor: Selector;
|
|
1196
|
+
/**
|
|
1197
|
+
* Whether the popover has an arrow pointing to the target.
|
|
1198
|
+
*/
|
|
1199
|
+
arrow?: boolean | undefined;
|
|
1200
|
+
/**
|
|
1201
|
+
* The DOM element the popover should be teleported to.
|
|
1202
|
+
* Defaults to the body of the document.
|
|
1203
|
+
*/
|
|
1204
|
+
attach?: string | undefined;
|
|
1205
|
+
/**
|
|
1206
|
+
* Whether the popover is disabled.
|
|
1207
|
+
*/
|
|
1208
|
+
disabled?: boolean | undefined;
|
|
1209
|
+
/**
|
|
1210
|
+
* Whether the popover's content is treated as HTML.
|
|
1211
|
+
*/
|
|
1212
|
+
html?: boolean | undefined;
|
|
1213
|
+
/**
|
|
1214
|
+
* The placement of the popover.
|
|
1215
|
+
*/
|
|
1216
|
+
placement?: Placement | undefined;
|
|
1217
|
+
/**
|
|
1218
|
+
* Whether to spy on the real-time position of the anchor,
|
|
1219
|
+
* to keep the position of the popover up-to-date at all times.
|
|
1220
|
+
*/
|
|
1221
|
+
spy?: boolean | undefined;
|
|
1222
|
+
/**
|
|
1223
|
+
* The text of the popover.
|
|
1224
|
+
*/
|
|
1225
|
+
text: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* The title of the popover.
|
|
1228
|
+
*/
|
|
1229
|
+
title: string;
|
|
1230
|
+
}>, {
|
|
1231
|
+
arrow: boolean;
|
|
1232
|
+
attach: string;
|
|
1233
|
+
html: boolean;
|
|
1234
|
+
placement: string;
|
|
1235
|
+
spy: boolean;
|
|
1236
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_13<{
|
|
1237
|
+
/**
|
|
1238
|
+
* Determines whether the popover is open or not.
|
|
1239
|
+
*/
|
|
1240
|
+
modelValue?: boolean | undefined;
|
|
1241
|
+
/**
|
|
1242
|
+
* The DOM element the popover should be anchored to.
|
|
1243
|
+
*/
|
|
1244
|
+
anchor: Selector;
|
|
1245
|
+
/**
|
|
1246
|
+
* Whether the popover has an arrow pointing to the target.
|
|
1247
|
+
*/
|
|
1248
|
+
arrow?: boolean | undefined;
|
|
1249
|
+
/**
|
|
1250
|
+
* The DOM element the popover should be teleported to.
|
|
1251
|
+
* Defaults to the body of the document.
|
|
1252
|
+
*/
|
|
1253
|
+
attach?: string | undefined;
|
|
1254
|
+
/**
|
|
1255
|
+
* Whether the popover is disabled.
|
|
1256
|
+
*/
|
|
1257
|
+
disabled?: boolean | undefined;
|
|
1258
|
+
/**
|
|
1259
|
+
* Whether the popover's content is treated as HTML.
|
|
1260
|
+
*/
|
|
1261
|
+
html?: boolean | undefined;
|
|
1262
|
+
/**
|
|
1263
|
+
* The placement of the popover.
|
|
1264
|
+
*/
|
|
1265
|
+
placement?: Placement | undefined;
|
|
1266
|
+
/**
|
|
1267
|
+
* Whether to spy on the real-time position of the anchor,
|
|
1268
|
+
* to keep the position of the popover up-to-date at all times.
|
|
1269
|
+
*/
|
|
1270
|
+
spy?: boolean | undefined;
|
|
1271
|
+
/**
|
|
1272
|
+
* The text of the popover.
|
|
1273
|
+
*/
|
|
1274
|
+
text: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* The title of the popover.
|
|
1277
|
+
*/
|
|
1278
|
+
title: string;
|
|
1279
|
+
}>, {
|
|
1280
|
+
arrow: boolean;
|
|
1281
|
+
attach: string;
|
|
1282
|
+
html: boolean;
|
|
1283
|
+
placement: string;
|
|
1284
|
+
spy: boolean;
|
|
1285
|
+
}>>>, {
|
|
1286
|
+
html: boolean;
|
|
1287
|
+
arrow: boolean;
|
|
1288
|
+
attach: string;
|
|
1289
|
+
placement: Placement;
|
|
1290
|
+
spy: boolean;
|
|
1291
|
+
}, {}>, {
|
|
1292
|
+
header?(_: {}): any;
|
|
1293
|
+
body?(_: {}): any;
|
|
1294
|
+
}>;
|
|
1295
|
+
|
|
1296
|
+
export declare const QSelect: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_14<{
|
|
1297
|
+
/**
|
|
1298
|
+
* The value of the component.
|
|
1299
|
+
*/
|
|
1300
|
+
modelValue?: Primitive | undefined;
|
|
1301
|
+
/**
|
|
1302
|
+
* Whether the value of the component can be cleared.
|
|
1303
|
+
*/
|
|
1304
|
+
clearable?: boolean | undefined;
|
|
1305
|
+
/**
|
|
1306
|
+
* Whether the select is readonly.
|
|
1307
|
+
*/
|
|
1308
|
+
readonly?: boolean | undefined;
|
|
1309
|
+
/**
|
|
1310
|
+
* Whether the select is disabled.
|
|
1311
|
+
*/
|
|
1312
|
+
disabled?: boolean | undefined;
|
|
1313
|
+
/**
|
|
1314
|
+
* Whether the items of the list are being loaded.
|
|
1315
|
+
*/
|
|
1316
|
+
loading?: boolean | undefined;
|
|
1317
|
+
/**
|
|
1318
|
+
* The icons of the component.
|
|
1319
|
+
*/
|
|
1320
|
+
icons?: Record<string, Icon> | undefined;
|
|
1321
|
+
/**
|
|
1322
|
+
* The list of available items for selection.
|
|
1323
|
+
*/
|
|
1324
|
+
items: ListItem[];
|
|
1325
|
+
/**
|
|
1326
|
+
* The item groups used for organizing the available items.
|
|
1327
|
+
*/
|
|
1328
|
+
groups?: QListItemGroupProps[] | undefined;
|
|
1329
|
+
/**
|
|
1330
|
+
* Property on each item that contains its value.
|
|
1331
|
+
*/
|
|
1332
|
+
itemValue?: string | undefined;
|
|
1333
|
+
/**
|
|
1334
|
+
* Property on each item that contains its title.
|
|
1335
|
+
*/
|
|
1336
|
+
itemLabel?: string | undefined;
|
|
1337
|
+
/**
|
|
1338
|
+
* The size category of the input.
|
|
1339
|
+
*/
|
|
1340
|
+
size?: InputSize | undefined;
|
|
1341
|
+
/**
|
|
1342
|
+
* Necessary strings to be used in labels and buttons of the component.
|
|
1343
|
+
*/
|
|
1344
|
+
texts?: Record<string, string> | undefined;
|
|
1345
|
+
}>, {
|
|
1346
|
+
modelValue: undefined;
|
|
1347
|
+
clearable: boolean;
|
|
1348
|
+
disabled: boolean;
|
|
1349
|
+
loading: boolean;
|
|
1350
|
+
icons: () => Record<string, Icon>;
|
|
1351
|
+
groups: () => never[];
|
|
1352
|
+
itemValue: string;
|
|
1353
|
+
itemLabel: string;
|
|
1354
|
+
size: string;
|
|
1355
|
+
texts: () => Record<string, string>;
|
|
1356
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1357
|
+
"update:modelValue": (value: Primitive | undefined) => void;
|
|
1358
|
+
"before-show": () => void;
|
|
1359
|
+
"before-hide": () => void;
|
|
1360
|
+
show: () => void;
|
|
1361
|
+
hide: () => void;
|
|
1362
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_14<{
|
|
1363
|
+
/**
|
|
1364
|
+
* The value of the component.
|
|
1365
|
+
*/
|
|
1366
|
+
modelValue?: Primitive | undefined;
|
|
1367
|
+
/**
|
|
1368
|
+
* Whether the value of the component can be cleared.
|
|
1369
|
+
*/
|
|
1370
|
+
clearable?: boolean | undefined;
|
|
1371
|
+
/**
|
|
1372
|
+
* Whether the select is readonly.
|
|
1373
|
+
*/
|
|
1374
|
+
readonly?: boolean | undefined;
|
|
1375
|
+
/**
|
|
1376
|
+
* Whether the select is disabled.
|
|
1377
|
+
*/
|
|
1378
|
+
disabled?: boolean | undefined;
|
|
1379
|
+
/**
|
|
1380
|
+
* Whether the items of the list are being loaded.
|
|
1381
|
+
*/
|
|
1382
|
+
loading?: boolean | undefined;
|
|
1383
|
+
/**
|
|
1384
|
+
* The icons of the component.
|
|
1385
|
+
*/
|
|
1386
|
+
icons?: Record<string, Icon> | undefined;
|
|
1387
|
+
/**
|
|
1388
|
+
* The list of available items for selection.
|
|
1389
|
+
*/
|
|
1390
|
+
items: ListItem[];
|
|
1391
|
+
/**
|
|
1392
|
+
* The item groups used for organizing the available items.
|
|
1393
|
+
*/
|
|
1394
|
+
groups?: QListItemGroupProps[] | undefined;
|
|
1395
|
+
/**
|
|
1396
|
+
* Property on each item that contains its value.
|
|
1397
|
+
*/
|
|
1398
|
+
itemValue?: string | undefined;
|
|
1399
|
+
/**
|
|
1400
|
+
* Property on each item that contains its title.
|
|
1401
|
+
*/
|
|
1402
|
+
itemLabel?: string | undefined;
|
|
1403
|
+
/**
|
|
1404
|
+
* The size category of the input.
|
|
1405
|
+
*/
|
|
1406
|
+
size?: InputSize | undefined;
|
|
1407
|
+
/**
|
|
1408
|
+
* Necessary strings to be used in labels and buttons of the component.
|
|
1409
|
+
*/
|
|
1410
|
+
texts?: Record<string, string> | undefined;
|
|
1411
|
+
}>, {
|
|
1412
|
+
modelValue: undefined;
|
|
1413
|
+
clearable: boolean;
|
|
1414
|
+
disabled: boolean;
|
|
1415
|
+
loading: boolean;
|
|
1416
|
+
icons: () => Record<string, Icon>;
|
|
1417
|
+
groups: () => never[];
|
|
1418
|
+
itemValue: string;
|
|
1419
|
+
itemLabel: string;
|
|
1420
|
+
size: string;
|
|
1421
|
+
texts: () => Record<string, string>;
|
|
1422
|
+
}>>> & {
|
|
1423
|
+
"onUpdate:modelValue"?: ((value: Primitive | undefined) => any) | undefined;
|
|
1424
|
+
"onBefore-show"?: (() => any) | undefined;
|
|
1425
|
+
"onBefore-hide"?: (() => any) | undefined;
|
|
1426
|
+
onShow?: (() => any) | undefined;
|
|
1427
|
+
onHide?: (() => any) | undefined;
|
|
1428
|
+
}, {
|
|
1429
|
+
size: InputSize;
|
|
1430
|
+
disabled: boolean;
|
|
1431
|
+
loading: boolean;
|
|
1432
|
+
modelValue: Primitive;
|
|
1433
|
+
icons: Record<string, Icon>;
|
|
1434
|
+
groups: QListItemGroupProps[];
|
|
1435
|
+
itemValue: string;
|
|
1436
|
+
itemLabel: string;
|
|
1437
|
+
clearable: boolean;
|
|
1438
|
+
texts: Record<string, string>;
|
|
1439
|
+
}, {}>, {
|
|
1440
|
+
"body.prepend"?(_: {}): any;
|
|
1441
|
+
"body.append"?(_: {}): any;
|
|
1442
|
+
}>;
|
|
1443
|
+
|
|
1444
|
+
export declare const QSpinnerLoader: DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_15<{
|
|
1445
|
+
/**
|
|
1446
|
+
* The size of the loader, in pixels.
|
|
1447
|
+
*/
|
|
1448
|
+
size?: number | undefined;
|
|
1449
|
+
}>, {
|
|
1450
|
+
size: number;
|
|
1451
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_15<{
|
|
1452
|
+
/**
|
|
1453
|
+
* The size of the loader, in pixels.
|
|
1454
|
+
*/
|
|
1455
|
+
size?: number | undefined;
|
|
1456
|
+
}>, {
|
|
1457
|
+
size: number;
|
|
1458
|
+
}>>>, {
|
|
1459
|
+
size: number;
|
|
1460
|
+
}, {}>;
|
|
1461
|
+
|
|
1462
|
+
export declare const QTooltip: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_16<{
|
|
1463
|
+
/**
|
|
1464
|
+
* Determines whether the tooltip is open or not.
|
|
1465
|
+
*/
|
|
1466
|
+
modelValue?: boolean | undefined;
|
|
1467
|
+
/**
|
|
1468
|
+
* The DOM element the tooltip should be anchored to.
|
|
1469
|
+
*/
|
|
1470
|
+
anchor: Selector;
|
|
1471
|
+
/**
|
|
1472
|
+
* The appearance of the tooltip.
|
|
1473
|
+
* 'regular' uses body text color for background and body background color for text.
|
|
1474
|
+
* 'inverted' matches body color scheme.
|
|
1475
|
+
*/
|
|
1476
|
+
appearance?: Appearance | undefined;
|
|
1477
|
+
/**
|
|
1478
|
+
* Whether the tooltip has an arrow pointing to the target.
|
|
1479
|
+
*/
|
|
1480
|
+
arrow?: boolean | undefined;
|
|
1481
|
+
/**
|
|
1482
|
+
* The DOM element the tooltip should be teleported to.
|
|
1483
|
+
* Defaults to the body of the document.
|
|
1484
|
+
*/
|
|
1485
|
+
attach?: string | undefined;
|
|
1486
|
+
/**
|
|
1487
|
+
* The delay in milliseconds before showing the tooltip.
|
|
1488
|
+
*/
|
|
1489
|
+
delay?: number | undefined;
|
|
1490
|
+
/**
|
|
1491
|
+
* Whether the tooltip is disabled.
|
|
1492
|
+
*/
|
|
1493
|
+
disabled?: boolean | undefined;
|
|
1494
|
+
/**
|
|
1495
|
+
* Whether the tooltip's content is treated as HTML.
|
|
1496
|
+
*/
|
|
1497
|
+
html?: boolean | undefined;
|
|
1498
|
+
/**
|
|
1499
|
+
* The placement of the tooltip.
|
|
1500
|
+
*/
|
|
1501
|
+
placement?: Placement | undefined;
|
|
1502
|
+
/**
|
|
1503
|
+
* The text of the tooltip.
|
|
1504
|
+
*/
|
|
1505
|
+
text: string;
|
|
1506
|
+
/**
|
|
1507
|
+
* The method to trigger the overlay.
|
|
1508
|
+
*/
|
|
1509
|
+
trigger?: Trigger | undefined;
|
|
1510
|
+
}>, {
|
|
1511
|
+
appearance: string;
|
|
1512
|
+
arrow: boolean;
|
|
1513
|
+
attach: string;
|
|
1514
|
+
delay: number;
|
|
1515
|
+
html: boolean;
|
|
1516
|
+
placement: string;
|
|
1517
|
+
trigger: string;
|
|
1518
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_16<{
|
|
1519
|
+
/**
|
|
1520
|
+
* Determines whether the tooltip is open or not.
|
|
1521
|
+
*/
|
|
1522
|
+
modelValue?: boolean | undefined;
|
|
1523
|
+
/**
|
|
1524
|
+
* The DOM element the tooltip should be anchored to.
|
|
1525
|
+
*/
|
|
1526
|
+
anchor: Selector;
|
|
1527
|
+
/**
|
|
1528
|
+
* The appearance of the tooltip.
|
|
1529
|
+
* 'regular' uses body text color for background and body background color for text.
|
|
1530
|
+
* 'inverted' matches body color scheme.
|
|
1531
|
+
*/
|
|
1532
|
+
appearance?: Appearance | undefined;
|
|
1533
|
+
/**
|
|
1534
|
+
* Whether the tooltip has an arrow pointing to the target.
|
|
1535
|
+
*/
|
|
1536
|
+
arrow?: boolean | undefined;
|
|
1537
|
+
/**
|
|
1538
|
+
* The DOM element the tooltip should be teleported to.
|
|
1539
|
+
* Defaults to the body of the document.
|
|
1540
|
+
*/
|
|
1541
|
+
attach?: string | undefined;
|
|
1542
|
+
/**
|
|
1543
|
+
* The delay in milliseconds before showing the tooltip.
|
|
1544
|
+
*/
|
|
1545
|
+
delay?: number | undefined;
|
|
1546
|
+
/**
|
|
1547
|
+
* Whether the tooltip is disabled.
|
|
1548
|
+
*/
|
|
1549
|
+
disabled?: boolean | undefined;
|
|
1550
|
+
/**
|
|
1551
|
+
* Whether the tooltip's content is treated as HTML.
|
|
1552
|
+
*/
|
|
1553
|
+
html?: boolean | undefined;
|
|
1554
|
+
/**
|
|
1555
|
+
* The placement of the tooltip.
|
|
1556
|
+
*/
|
|
1557
|
+
placement?: Placement | undefined;
|
|
1558
|
+
/**
|
|
1559
|
+
* The text of the tooltip.
|
|
1560
|
+
*/
|
|
1561
|
+
text: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* The method to trigger the overlay.
|
|
1564
|
+
*/
|
|
1565
|
+
trigger?: Trigger | undefined;
|
|
1566
|
+
}>, {
|
|
1567
|
+
appearance: string;
|
|
1568
|
+
arrow: boolean;
|
|
1569
|
+
attach: string;
|
|
1570
|
+
delay: number;
|
|
1571
|
+
html: boolean;
|
|
1572
|
+
placement: string;
|
|
1573
|
+
trigger: string;
|
|
1574
|
+
}>>>, {
|
|
1575
|
+
html: boolean;
|
|
1576
|
+
appearance: Appearance;
|
|
1577
|
+
arrow: boolean;
|
|
1578
|
+
attach: string;
|
|
1579
|
+
delay: number;
|
|
1580
|
+
placement: Placement;
|
|
1581
|
+
trigger: Trigger;
|
|
1582
|
+
}, {}>;
|
|
1583
|
+
|
|
1584
|
+
declare type Selector = string | Element | ComponentPublicInstance;
|
|
1585
|
+
|
|
1586
|
+
declare type ThemeMode = 'light' | 'dark';
|
|
1587
|
+
|
|
1588
|
+
declare type Trigger = 'hover' | 'click' | 'manual';
|
|
1589
|
+
|
|
1590
|
+
export { }
|