@quidgest/ui 0.13.3 → 0.14.1

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.
Files changed (187) hide show
  1. package/dist/manifest/components.json +4 -0
  2. package/dist/ui.css +81 -0
  3. package/dist/ui.esm.js +1163 -935
  4. package/dist/ui.js +6 -6
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +110 -101
  7. package/dist/ui.scss +1059 -973
  8. package/esm/components/QBadge/QBadge.d.ts +16 -68
  9. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  10. package/esm/components/QBadge/QBadge.vue.js +29 -32
  11. package/esm/components/QBadge/index.d.ts +2 -139
  12. package/esm/components/QBadge/index.d.ts.map +1 -1
  13. package/esm/components/QBadge/types.d.ts +29 -0
  14. package/esm/components/QBadge/types.d.ts.map +1 -0
  15. package/esm/components/QBadge/types.js +8 -0
  16. package/esm/components/QButton/QButton.d.ts +15 -80
  17. package/esm/components/QButton/QButton.d.ts.map +1 -1
  18. package/esm/components/QButton/index.d.ts +3 -198
  19. package/esm/components/QButton/index.d.ts.map +1 -1
  20. package/esm/components/QButton/types.d.ts +47 -0
  21. package/esm/components/QButton/types.d.ts.map +1 -0
  22. package/esm/components/QButtonGroup/QButtonGroup.d.ts +11 -42
  23. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  24. package/esm/components/QButtonGroup/index.d.ts +2 -79
  25. package/esm/components/QButtonGroup/index.d.ts.map +1 -1
  26. package/esm/components/QButtonGroup/types.d.ts +19 -0
  27. package/esm/components/QButtonGroup/types.d.ts.map +1 -0
  28. package/esm/components/QButtonToggle/QButtonToggle.d.ts +16 -73
  29. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
  30. package/esm/components/QButtonToggle/index.d.ts +2 -115
  31. package/esm/components/QButtonToggle/index.d.ts.map +1 -1
  32. package/esm/components/QButtonToggle/types.d.ts +32 -0
  33. package/esm/components/QButtonToggle/types.d.ts.map +1 -0
  34. package/esm/components/QCombobox/QCombobox.d.ts +445 -435
  35. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  36. package/esm/components/QCombobox/QCombobox.vue.js +121 -126
  37. package/esm/components/QCombobox/index.d.ts +2 -1075
  38. package/esm/components/QCombobox/index.d.ts.map +1 -1
  39. package/esm/components/QCombobox/types.d.ts +93 -0
  40. package/esm/components/QCombobox/types.d.ts.map +1 -0
  41. package/esm/components/QCombobox/types.js +16 -0
  42. package/esm/components/QDialog/QDialog.d.ts +23 -186
  43. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  44. package/esm/components/QDialog/QDialog.vue.js +48 -64
  45. package/esm/components/QDialog/index.d.ts +3 -268
  46. package/esm/components/QDialog/index.d.ts.map +1 -1
  47. package/esm/components/QDialog/types.d.ts +80 -0
  48. package/esm/components/QDialog/types.d.ts.map +1 -0
  49. package/esm/components/QDialog/types.js +23 -0
  50. package/esm/components/QField/QField.d.ts +22 -77
  51. package/esm/components/QField/QField.d.ts.map +1 -1
  52. package/esm/components/QField/index.d.ts +3 -169
  53. package/esm/components/QField/index.d.ts.map +1 -1
  54. package/esm/components/QField/types.d.ts +37 -0
  55. package/esm/components/QField/types.d.ts.map +1 -0
  56. package/esm/components/QIcon/InlineSvg.d.ts +6 -6
  57. package/esm/components/QIcon/InlineSvg.d.ts.map +1 -1
  58. package/esm/components/QIcon/InlineSvg.js +6 -13
  59. package/esm/components/QIcon/QIcon.d.ts +4 -46
  60. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  61. package/esm/components/QIcon/QIcon.vue.js +2 -2
  62. package/esm/components/QIcon/QIconFont.d.ts +3 -51
  63. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  64. package/esm/components/QIcon/QIconFont.vue.js +9 -9
  65. package/esm/components/QIcon/QIconImg.d.ts +2 -36
  66. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  67. package/esm/components/QIcon/QIconImg.vue.js +3 -3
  68. package/esm/components/QIcon/QIconSvg.d.ts +7 -65
  69. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  70. package/esm/components/QIcon/QIconSvg.vue.js +9 -9
  71. package/esm/components/QIcon/index.d.ts +9 -157
  72. package/esm/components/QIcon/index.d.ts.map +1 -1
  73. package/esm/components/QIcon/types.d.ts +40 -0
  74. package/esm/components/QIcon/types.d.ts.map +1 -0
  75. package/esm/components/QInputGroup/QInputGroup.d.ts +17 -74
  76. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  77. package/esm/components/QInputGroup/index.d.ts +2 -153
  78. package/esm/components/QInputGroup/index.d.ts.map +1 -1
  79. package/esm/components/QInputGroup/types.d.ts +34 -0
  80. package/esm/components/QInputGroup/types.d.ts.map +1 -0
  81. package/esm/components/QLineLoader/QLineLoader.d.ts +3 -29
  82. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  83. package/esm/components/QLineLoader/index.d.ts +2 -13
  84. package/esm/components/QLineLoader/index.d.ts.map +1 -1
  85. package/esm/components/QLineLoader/types.d.ts +7 -0
  86. package/esm/components/QLineLoader/types.d.ts.map +1 -0
  87. package/esm/components/QList/QList.d.ts +25 -116
  88. package/esm/components/QList/QList.d.ts.map +1 -1
  89. package/esm/components/QList/QListItem.d.ts +16 -84
  90. package/esm/components/QList/QListItem.d.ts.map +1 -1
  91. package/esm/components/QList/QListItem.vue.js +25 -31
  92. package/esm/components/QList/QListItemGroup.d.ts +11 -34
  93. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  94. package/esm/components/QList/index.d.ts +7 -453
  95. package/esm/components/QList/index.d.ts.map +1 -1
  96. package/esm/components/QList/types.d.ts +100 -0
  97. package/esm/components/QList/types.d.ts.map +1 -0
  98. package/esm/components/QList/types.js +11 -0
  99. package/esm/components/QOverlay/QOverlay.d.ts +31 -234
  100. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  101. package/esm/components/QOverlay/QOverlay.vue.js +1 -2
  102. package/esm/components/QOverlay/index.d.ts +2 -339
  103. package/esm/components/QOverlay/index.d.ts.map +1 -1
  104. package/esm/components/QOverlay/types.d.ts +87 -0
  105. package/esm/components/QOverlay/types.d.ts.map +1 -0
  106. package/esm/components/QPopover/QPopover.d.ts +21 -120
  107. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  108. package/esm/components/QPopover/index.d.ts +2 -180
  109. package/esm/components/QPopover/index.d.ts.map +1 -1
  110. package/esm/components/QPopover/types.d.ts +43 -0
  111. package/esm/components/QPopover/types.d.ts.map +1 -0
  112. package/esm/components/QPropertyList/QPropertyList.d.ts +42 -0
  113. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -0
  114. package/esm/components/QPropertyList/QPropertyList.vue.js +145 -0
  115. package/esm/components/QPropertyList/QPropertyList.vue2.js +4 -0
  116. package/esm/components/QPropertyList/QPropertyListGroup.d.ts +11 -0
  117. package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -0
  118. package/esm/components/QPropertyList/QPropertyListGroup.vue.js +68 -0
  119. package/esm/components/QPropertyList/QPropertyListGroup.vue2.js +4 -0
  120. package/esm/components/QPropertyList/QPropertyListPanel.d.ts +21 -0
  121. package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -0
  122. package/esm/components/QPropertyList/QPropertyListPanel.vue.js +43 -0
  123. package/esm/components/QPropertyList/QPropertyListPanel.vue2.js +4 -0
  124. package/esm/components/QPropertyList/QPropertyListRow.d.ts +24 -0
  125. package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -0
  126. package/esm/components/QPropertyList/QPropertyListRow.vue.js +64 -0
  127. package/esm/components/QPropertyList/QPropertyListRow.vue2.js +4 -0
  128. package/esm/components/QPropertyList/index.d.ts +12 -0
  129. package/esm/components/QPropertyList/index.d.ts.map +1 -0
  130. package/esm/components/QPropertyList/index.js +12 -0
  131. package/esm/components/QPropertyList/types.d.ts +137 -0
  132. package/esm/components/QPropertyList/types.d.ts.map +1 -0
  133. package/esm/components/QPropertyList/types.js +14 -0
  134. package/esm/components/QSelect/QSelect.d.ts +202 -227
  135. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  136. package/esm/components/QSelect/QSelect.vue.js +140 -146
  137. package/esm/components/QSelect/index.d.ts +2 -369
  138. package/esm/components/QSelect/index.d.ts.map +1 -1
  139. package/esm/components/QSelect/types.d.ts +81 -0
  140. package/esm/components/QSelect/types.d.ts.map +1 -0
  141. package/esm/components/QSelect/types.js +16 -0
  142. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +3 -41
  143. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  144. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +19 -19
  145. package/esm/components/QSkeletonLoader/index.d.ts +2 -31
  146. package/esm/components/QSkeletonLoader/index.d.ts.map +1 -1
  147. package/esm/components/QSkeletonLoader/types.d.ts +15 -0
  148. package/esm/components/QSkeletonLoader/types.d.ts.map +1 -0
  149. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +3 -35
  150. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  151. package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +6 -6
  152. package/esm/components/QSpinnerLoader/index.d.ts +2 -22
  153. package/esm/components/QSpinnerLoader/index.d.ts.map +1 -1
  154. package/esm/components/QSpinnerLoader/types.d.ts +11 -0
  155. package/esm/components/QSpinnerLoader/types.d.ts.map +1 -0
  156. package/esm/components/QTextField/QTextField.d.ts +103 -147
  157. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  158. package/esm/components/QTextField/index.d.ts +2 -229
  159. package/esm/components/QTextField/index.d.ts.map +1 -1
  160. package/esm/components/QTextField/types.d.ts +50 -0
  161. package/esm/components/QTextField/types.d.ts.map +1 -0
  162. package/esm/components/QThemeProvider/QThemeProvider.d.ts +10 -17
  163. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  164. package/esm/components/QThemeProvider/index.d.ts +2 -37
  165. package/esm/components/QThemeProvider/index.d.ts.map +1 -1
  166. package/esm/components/QThemeProvider/types.d.ts +7 -0
  167. package/esm/components/QThemeProvider/types.d.ts.map +1 -0
  168. package/esm/components/QTooltip/QTooltip.d.ts +28 -190
  169. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  170. package/esm/components/QTooltip/index.d.ts +2 -279
  171. package/esm/components/QTooltip/index.d.ts.map +1 -1
  172. package/esm/components/QTooltip/types.d.ts +66 -0
  173. package/esm/components/QTooltip/types.d.ts.map +1 -0
  174. package/esm/components/index.d.ts +1 -0
  175. package/esm/components/index.d.ts.map +1 -1
  176. package/esm/components/index.js +42 -37
  177. package/esm/composables/defaults.d.ts +0 -1
  178. package/esm/composables/defaults.js +3 -6
  179. package/esm/composables/theme.d.ts +0 -1
  180. package/esm/framework.d.ts +0 -1
  181. package/esm/index.d.ts +4 -0
  182. package/esm/templates/theme.d.ts +0 -1
  183. package/esm/utils/color.js +1 -2
  184. package/esm/utils/setupPropsProxy.d.ts +0 -1
  185. package/esm/utils/setupPropsProxy.js +2 -4
  186. package/esm/utils/theme.d.ts +0 -1
  187. package/package.json +40 -41
@@ -1,371 +1,4 @@
1
- declare const QSelect: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
3
- modelValue: import('vue').PropType<any>;
4
- size: {
5
- type: import('vue').PropType<import('..').QFieldSize>;
6
- default: undefined;
7
- };
8
- class: {
9
- type: import('vue').PropType<string | unknown[]>;
10
- default: string;
11
- };
12
- label: {
13
- type: import('vue').PropType<string>;
14
- default: string;
15
- };
16
- disabled: {
17
- type: import('vue').PropType<boolean>;
18
- };
19
- loading: {
20
- type: import('vue').PropType<boolean>;
21
- };
22
- required: {
23
- type: import('vue').PropType<boolean>;
24
- };
25
- internals: {
26
- type: import('vue').PropType<{
27
- icons: Record<string, import('..').Icon>;
28
- texts: Record<string, string>;
29
- }>;
30
- default: () => {
31
- icons: Record<string, import('..').Icon>;
32
- texts: Record<string, string>;
33
- };
34
- };
35
- items: {
36
- type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
37
- [key: string]: any;
38
- })[]>;
39
- required: true;
40
- };
41
- groups: {
42
- type: import('vue').PropType<(import('..').QListItemGroupProps & {
43
- id: string;
44
- })[]>;
45
- default: () => never[];
46
- };
47
- itemValue: {
48
- type: import('vue').PropType<string>;
49
- default: string;
50
- };
51
- itemLabel: {
52
- type: import('vue').PropType<string>;
53
- default: string;
54
- };
55
- id: {
56
- type: import('vue').PropType<string>;
57
- default: undefined;
58
- };
59
- readonly: {
60
- type: import('vue').PropType<boolean>;
61
- };
62
- clearable: {
63
- type: import('vue').PropType<boolean>;
64
- };
65
- emptyValue: {
66
- type: import('vue').PropType<import('../../types/primitive').Primitive>;
67
- default: undefined;
68
- };
69
- }>> & {
70
- "onBefore-show"?: (() => any) | undefined;
71
- "onBefore-hide"?: (() => any) | undefined;
72
- onShow?: (() => any) | undefined;
73
- onHide?: (() => any) | undefined;
74
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
75
- "before-show": () => void;
76
- "before-hide": () => void;
77
- show: () => void;
78
- hide: () => void;
79
- }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
80
- modelValue: import('vue').PropType<any>;
81
- size: {
82
- type: import('vue').PropType<import('..').QFieldSize>;
83
- default: undefined;
84
- };
85
- class: {
86
- type: import('vue').PropType<string | unknown[]>;
87
- default: string;
88
- };
89
- label: {
90
- type: import('vue').PropType<string>;
91
- default: string;
92
- };
93
- disabled: {
94
- type: import('vue').PropType<boolean>;
95
- };
96
- loading: {
97
- type: import('vue').PropType<boolean>;
98
- };
99
- required: {
100
- type: import('vue').PropType<boolean>;
101
- };
102
- internals: {
103
- type: import('vue').PropType<{
104
- icons: Record<string, import('..').Icon>;
105
- texts: Record<string, string>;
106
- }>;
107
- default: () => {
108
- icons: Record<string, import('..').Icon>;
109
- texts: Record<string, string>;
110
- };
111
- };
112
- items: {
113
- type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
114
- [key: string]: any;
115
- })[]>;
116
- required: true;
117
- };
118
- groups: {
119
- type: import('vue').PropType<(import('..').QListItemGroupProps & {
120
- id: string;
121
- })[]>;
122
- default: () => never[];
123
- };
124
- itemValue: {
125
- type: import('vue').PropType<string>;
126
- default: string;
127
- };
128
- itemLabel: {
129
- type: import('vue').PropType<string>;
130
- default: string;
131
- };
132
- id: {
133
- type: import('vue').PropType<string>;
134
- default: undefined;
135
- };
136
- readonly: {
137
- type: import('vue').PropType<boolean>;
138
- };
139
- clearable: {
140
- type: import('vue').PropType<boolean>;
141
- };
142
- emptyValue: {
143
- type: import('vue').PropType<import('../../types/primitive').Primitive>;
144
- default: undefined;
145
- };
146
- }>> & {
147
- "onBefore-show"?: (() => any) | undefined;
148
- "onBefore-hide"?: (() => any) | undefined;
149
- onShow?: (() => any) | undefined;
150
- onHide?: (() => any) | undefined;
151
- }, {
152
- size: import('..').QFieldSize;
153
- class: string | unknown[];
154
- label: string;
155
- internals: {
156
- icons: Record<string, import('..').Icon>;
157
- texts: Record<string, string>;
158
- };
159
- groups: (import('..').QListItemGroupProps & {
160
- id: string;
161
- })[];
162
- itemValue: string;
163
- itemLabel: string;
164
- id: string;
165
- emptyValue: import('../../types/primitive').Primitive;
166
- }, true, {}, {}, {
167
- P: {};
168
- B: {};
169
- D: {};
170
- C: {};
171
- M: {};
172
- Defaults: {};
173
- }, Readonly<import('vue').ExtractPropTypes<{
174
- modelValue: import('vue').PropType<any>;
175
- size: {
176
- type: import('vue').PropType<import('..').QFieldSize>;
177
- default: undefined;
178
- };
179
- class: {
180
- type: import('vue').PropType<string | unknown[]>;
181
- default: string;
182
- };
183
- label: {
184
- type: import('vue').PropType<string>;
185
- default: string;
186
- };
187
- disabled: {
188
- type: import('vue').PropType<boolean>;
189
- };
190
- loading: {
191
- type: import('vue').PropType<boolean>;
192
- };
193
- required: {
194
- type: import('vue').PropType<boolean>;
195
- };
196
- internals: {
197
- type: import('vue').PropType<{
198
- icons: Record<string, import('..').Icon>;
199
- texts: Record<string, string>;
200
- }>;
201
- default: () => {
202
- icons: Record<string, import('..').Icon>;
203
- texts: Record<string, string>;
204
- };
205
- };
206
- items: {
207
- type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
208
- [key: string]: any;
209
- })[]>;
210
- required: true;
211
- };
212
- groups: {
213
- type: import('vue').PropType<(import('..').QListItemGroupProps & {
214
- id: string;
215
- })[]>;
216
- default: () => never[];
217
- };
218
- itemValue: {
219
- type: import('vue').PropType<string>;
220
- default: string;
221
- };
222
- itemLabel: {
223
- type: import('vue').PropType<string>;
224
- default: string;
225
- };
226
- id: {
227
- type: import('vue').PropType<string>;
228
- default: undefined;
229
- };
230
- readonly: {
231
- type: import('vue').PropType<boolean>;
232
- };
233
- clearable: {
234
- type: import('vue').PropType<boolean>;
235
- };
236
- emptyValue: {
237
- type: import('vue').PropType<import('../../types/primitive').Primitive>;
238
- default: undefined;
239
- };
240
- }>> & {
241
- "onBefore-show"?: (() => any) | undefined;
242
- "onBefore-hide"?: (() => any) | undefined;
243
- onShow?: (() => any) | undefined;
244
- onHide?: (() => any) | undefined;
245
- }, {}, {}, {}, {}, {
246
- size: import('..').QFieldSize;
247
- class: string | unknown[];
248
- label: string;
249
- internals: {
250
- icons: Record<string, import('..').Icon>;
251
- texts: Record<string, string>;
252
- };
253
- groups: (import('..').QListItemGroupProps & {
254
- id: string;
255
- })[];
256
- itemValue: string;
257
- itemLabel: string;
258
- id: string;
259
- emptyValue: import('../../types/primitive').Primitive;
260
- }>;
261
- __isFragment?: undefined;
262
- __isTeleport?: undefined;
263
- __isSuspense?: undefined;
264
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
265
- modelValue: import('vue').PropType<any>;
266
- size: {
267
- type: import('vue').PropType<import('..').QFieldSize>;
268
- default: undefined;
269
- };
270
- class: {
271
- type: import('vue').PropType<string | unknown[]>;
272
- default: string;
273
- };
274
- label: {
275
- type: import('vue').PropType<string>;
276
- default: string;
277
- };
278
- disabled: {
279
- type: import('vue').PropType<boolean>;
280
- };
281
- loading: {
282
- type: import('vue').PropType<boolean>;
283
- };
284
- required: {
285
- type: import('vue').PropType<boolean>;
286
- };
287
- internals: {
288
- type: import('vue').PropType<{
289
- icons: Record<string, import('..').Icon>;
290
- texts: Record<string, string>;
291
- }>;
292
- default: () => {
293
- icons: Record<string, import('..').Icon>;
294
- texts: Record<string, string>;
295
- };
296
- };
297
- items: {
298
- type: import('vue').PropType<(Omit<import('..').QListItemProps, "label" | "value"> & {
299
- [key: string]: any;
300
- })[]>;
301
- required: true;
302
- };
303
- groups: {
304
- type: import('vue').PropType<(import('..').QListItemGroupProps & {
305
- id: string;
306
- })[]>;
307
- default: () => never[];
308
- };
309
- itemValue: {
310
- type: import('vue').PropType<string>;
311
- default: string;
312
- };
313
- itemLabel: {
314
- type: import('vue').PropType<string>;
315
- default: string;
316
- };
317
- id: {
318
- type: import('vue').PropType<string>;
319
- default: undefined;
320
- };
321
- readonly: {
322
- type: import('vue').PropType<boolean>;
323
- };
324
- clearable: {
325
- type: import('vue').PropType<boolean>;
326
- };
327
- emptyValue: {
328
- type: import('vue').PropType<import('../../types/primitive').Primitive>;
329
- default: undefined;
330
- };
331
- }>> & {
332
- "onBefore-show"?: (() => any) | undefined;
333
- "onBefore-hide"?: (() => any) | undefined;
334
- onShow?: (() => any) | undefined;
335
- onHide?: (() => any) | undefined;
336
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
337
- "before-show": () => void;
338
- "before-hide": () => void;
339
- show: () => void;
340
- hide: () => void;
341
- }, string, {
342
- size: import('..').QFieldSize;
343
- class: string | unknown[];
344
- label: string;
345
- internals: {
346
- icons: Record<string, import('..').Icon>;
347
- texts: Record<string, string>;
348
- };
349
- groups: (import('..').QListItemGroupProps & {
350
- id: string;
351
- })[];
352
- itemValue: string;
353
- itemLabel: string;
354
- id: string;
355
- emptyValue: import('../../types/primitive').Primitive;
356
- }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
357
- $slots: {
358
- prepend?(_: {}): any;
359
- append?(_: {}): any;
360
- extras?(_: {}): any;
361
- "body.prepend"?(_: {}): any;
362
- item?(_: {
363
- item: Omit<import('..').QListItemProps, "label" | "value"> & {
364
- [key: string]: any;
365
- };
366
- }): any;
367
- "body.append"?(_: {}): any;
368
- };
369
- });
1
+ import { default as _QSelect } from './QSelect';
2
+ declare const QSelect: typeof _QSelect;
370
3
  export { QSelect };
371
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+C,CAAA;AAG5D,OAAO,EAAE,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,eAAe,CAAA;AAKpC,QAAA,MAAM,OAAO,EAAgC,OAAO,QAAQ,CAAA;AAG5D,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -0,0 +1,81 @@
1
+ import { QFieldSize } from '../QField';
2
+ import { Icon } from '../QIcon';
3
+ import { QListItemGroupProps, QListItemProps } from '../QList';
4
+ import { Primitive } from '../../types/primitive';
5
+ export type QSelectProps = {
6
+ /**
7
+ * The field unique identifier.
8
+ */
9
+ id?: string;
10
+ /**
11
+ * The label of the input.
12
+ */
13
+ label?: string;
14
+ /**
15
+ * Whether the value of the component can be cleared.
16
+ */
17
+ clearable?: boolean;
18
+ /**
19
+ * Whether the select is readonly.
20
+ */
21
+ readonly?: boolean;
22
+ /**
23
+ * Whether the select is disabled.
24
+ */
25
+ disabled?: boolean;
26
+ /**
27
+ * If set to true, an asterisk (*) is displayed
28
+ * to indicate that the field is required.
29
+ */
30
+ required?: boolean;
31
+ /**
32
+ * Whether the items of the list are being loaded.
33
+ */
34
+ loading?: boolean;
35
+ /**
36
+ * The list of available items for selection.
37
+ */
38
+ items: (Omit<QListItemProps, 'value' | 'label'> & {
39
+ [key: string]: any;
40
+ })[];
41
+ /**
42
+ * The item groups used for organizing the available items.
43
+ */
44
+ groups?: (QListItemGroupProps & {
45
+ id: string;
46
+ })[];
47
+ /**
48
+ * Property on each item that contains its value.
49
+ */
50
+ itemValue?: string;
51
+ /**
52
+ * Property on each item that contains its title.
53
+ */
54
+ itemLabel?: string;
55
+ /**
56
+ * The value to be used in comparisons,
57
+ * used to check if the field has a selected item.
58
+ */
59
+ emptyValue?: Primitive;
60
+ /**
61
+ * The size category of the input.
62
+ */
63
+ size?: QFieldSize;
64
+ /**
65
+ * Custom set of classes to apply to the component.
66
+ */
67
+ class?: string | unknown[];
68
+ /**
69
+ * Custom icon configurations.
70
+ */
71
+ icons?: typeof DEFAULT_ICONS;
72
+ /**
73
+ * Custom text configurations.
74
+ */
75
+ texts?: typeof DEFAULT_TEXTS;
76
+ };
77
+ export declare const DEFAULT_TEXTS: Record<string, string>;
78
+ type IconKeys = 'chevron' | 'clear';
79
+ export declare const DEFAULT_ICONS: Record<IconKeys, Icon>;
80
+ export {};
81
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAC7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAElD,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,KAAK,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;QAGjD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAClB,CAAC,EAAE,CAAA;IAEJ;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,mBAAmB,GAAG;QAC/B,EAAE,EAAE,MAAM,CAAA;KACV,CAAC,EAAE,CAAA;IAEJ;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIhD,CAAA;AAED,KAAK,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAGnC,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,QAAQ,EAAE,IAAI,CAOhD,CAAA"}
@@ -0,0 +1,16 @@
1
+ const o = {
2
+ placeholder: "Choose...",
3
+ clearValue: "Clear value",
4
+ showOptions: "Show options"
5
+ }, e = {
6
+ chevron: {
7
+ icon: "chevron-down"
8
+ },
9
+ clear: {
10
+ icon: "close"
11
+ }
12
+ };
13
+ export {
14
+ e as DEFAULT_ICONS,
15
+ o as DEFAULT_TEXTS
16
+ };
@@ -1,46 +1,8 @@
1
- export type QSkeletonLoaderProps = {
2
- /**
3
- * The type of the skeleton.
4
- */
5
- type?: 'text' | 'icon';
6
- /**
7
- * The width of the skeleton.
8
- */
9
- width?: string | number;
10
- /**
11
- * The height of the skeleton.
12
- */
13
- height?: string | number;
14
- };
15
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QSkeletonLoaderProps>, {
16
- type: undefined;
17
- width: undefined;
18
- height: undefined;
19
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QSkeletonLoaderProps>, {
20
- type: undefined;
21
- width: undefined;
22
- height: undefined;
23
- }>>>, {
1
+ import { QSkeletonLoaderProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<QSkeletonLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QSkeletonLoaderProps> & Readonly<{}>, {
24
3
  type: "text" | "icon";
25
4
  height: string | number;
26
5
  width: string | number;
27
- }, {}>;
6
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
7
  export default _default;
29
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToRuntimeProps<T> = {
31
- [K in keyof T]-?: {} extends Pick<T, K> ? {
32
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
- } : {
34
- type: import('vue').PropType<T[K]>;
35
- required: true;
36
- };
37
- };
38
- type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
- default: D[K];
41
- }> : P[K];
42
- };
43
- type __VLS_Prettify<T> = {
44
- [K in keyof T]: T[K];
45
- } & {};
46
8
  //# sourceMappingURL=QSkeletonLoader.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QSkeletonLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSkeletonLoader/QSkeletonLoader.vue"],"names":[],"mappings":"AAOA;AAIC,MAAM,MAAM,oBAAoB,GAAG;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB,CAAA;;;;;;;;;;;;;;AAgFF,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"QSkeletonLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSkeletonLoader/QSkeletonLoader.vue"],"names":[],"mappings":"AAoCC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;AAoFpD,wBAOG"}
@@ -1,39 +1,39 @@
1
- import { defineComponent as i, computed as n, openBlock as a, createElementBlock as r, normalizeClass as c, normalizeStyle as h, createElementVNode as p } from "vue";
2
- const u = /* @__PURE__ */ p(
3
- "div",
4
- { class: "q-skeleton-loader__bone" },
5
- null,
6
- -1
7
- /* HOISTED */
8
- ), m = [
9
- u
10
- ], f = /* @__PURE__ */ i({
1
+ import { defineComponent as i, computed as l, openBlock as r, createElementBlock as a, normalizeClass as p, normalizeStyle as h, createElementVNode as u } from "vue";
2
+ const m = /* @__PURE__ */ i({
11
3
  __name: "QSkeletonLoader",
12
4
  props: {
13
5
  type: { default: void 0 },
14
6
  width: { default: void 0 },
15
7
  height: { default: void 0 }
16
8
  },
17
- setup(l) {
18
- const e = l, s = n(() => e.type ? `q-skeleton-loader--${e.type}` : void 0), d = n(() => {
19
- const t = typeof e.width == "number" ? `${e.width}px` : e.width, o = typeof e.height == "number" ? `${e.height}px` : e.height;
9
+ setup(n) {
10
+ const e = n, s = l(() => e.type ? `q-skeleton-loader--${e.type}` : void 0), d = l(() => {
11
+ const o = typeof e.width == "number" ? `${e.width}px` : e.width, t = typeof e.height == "number" ? `${e.height}px` : e.height;
20
12
  return {
21
- width: t,
22
- height: o
13
+ width: o,
14
+ height: t
23
15
  };
24
16
  });
25
- return (t, o) => (a(), r(
17
+ return (o, t) => (r(), a(
26
18
  "div",
27
19
  {
28
- class: c(["q-skeleton-loader", s.value]),
20
+ class: p(["q-skeleton-loader", s.value]),
29
21
  style: h(d.value)
30
22
  },
31
- m,
23
+ t[0] || (t[0] = [
24
+ u(
25
+ "div",
26
+ { class: "q-skeleton-loader__bone" },
27
+ null,
28
+ -1
29
+ /* HOISTED */
30
+ )
31
+ ]),
32
32
  6
33
33
  /* CLASS, STYLE */
34
34
  ));
35
35
  }
36
36
  });
37
37
  export {
38
- f as default
38
+ m as default
39
39
  };
@@ -1,33 +1,4 @@
1
- declare const QSkeletonLoader: import('vue').DefineComponent<{
2
- type: {
3
- type: import('vue').PropType<"text" | "icon">;
4
- default: undefined;
5
- };
6
- height: {
7
- type: import('vue').PropType<string | number>;
8
- default: undefined;
9
- };
10
- width: {
11
- type: import('vue').PropType<string | number>;
12
- default: undefined;
13
- };
14
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
- type: {
16
- type: import('vue').PropType<"text" | "icon">;
17
- default: undefined;
18
- };
19
- height: {
20
- type: import('vue').PropType<string | number>;
21
- default: undefined;
22
- };
23
- width: {
24
- type: import('vue').PropType<string | number>;
25
- default: undefined;
26
- };
27
- }>>, {
28
- type: "text" | "icon";
29
- height: string | number;
30
- width: string | number;
31
- }, {}>;
1
+ import { default as _QSkeletonLoader } from './QSkeletonLoader';
2
+ declare const QSkeletonLoader: typeof _QSkeletonLoader;
32
3
  export { QSkeletonLoader };
33
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSkeletonLoader/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA+D,CAAA;AAGpF,OAAO,EAAE,eAAe,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSkeletonLoader/index.ts"],"names":[],"mappings":"AACA,OAAO,gBAAgB,MAAM,uBAAuB,CAAA;AAKpD,QAAA,MAAM,eAAe,EAAwC,OAAO,gBAAgB,CAAA;AAGpF,OAAO,EAAE,eAAe,EAAE,CAAA"}
@@ -0,0 +1,15 @@
1
+ export type QSkeletonLoaderProps = {
2
+ /**
3
+ * The type of the skeleton.
4
+ */
5
+ type?: 'text' | 'icon';
6
+ /**
7
+ * The width of the skeleton.
8
+ */
9
+ width?: string | number;
10
+ /**
11
+ * The height of the skeleton.
12
+ */
13
+ height?: string | number;
14
+ };
15
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSkeletonLoader/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB,CAAA"}