@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,271 +1,6 @@
1
- import { DialogButton } from './QDialog';
2
-
3
- declare const QDialog: {
4
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
5
- modelValue: import('vue').PropType<boolean>;
6
- class: {
7
- type: import('vue').PropType<string | unknown[]>;
8
- default: undefined;
9
- };
10
- html: {
11
- type: import('vue').PropType<boolean>;
12
- default: boolean;
13
- };
14
- title: {
15
- type: import('vue').PropType<string>;
16
- default: string;
17
- };
18
- text: {
19
- type: import('vue').PropType<string>;
20
- default: string;
21
- };
22
- icon: {
23
- type: import('vue').PropType<import('..').Icon>;
24
- default: () => import('..').Icon;
25
- };
26
- internals: {
27
- type: import('vue').PropType<{
28
- icons: Record<string, import('..').Icon>;
29
- }>;
30
- default: () => {
31
- icons: Record<string, import('..').Icon>;
32
- };
33
- };
34
- id: {
35
- type: import('vue').PropType<string>;
36
- default: undefined;
37
- };
38
- attach: {
39
- type: import('vue').PropType<string>;
40
- default: string;
41
- };
42
- inline: {
43
- type: import('vue').PropType<boolean>;
44
- };
45
- backdropBlur: {
46
- type: import('vue').PropType<boolean>;
47
- default: boolean;
48
- };
49
- buttons: {
50
- type: import('vue').PropType<DialogButton[]>;
51
- default: () => DialogButton[];
52
- };
53
- dismissible: {
54
- type: import('vue').PropType<boolean>;
55
- };
56
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
57
- modelValue: import('vue').PropType<boolean>;
58
- class: {
59
- type: import('vue').PropType<string | unknown[]>;
60
- default: undefined;
61
- };
62
- html: {
63
- type: import('vue').PropType<boolean>;
64
- default: boolean;
65
- };
66
- title: {
67
- type: import('vue').PropType<string>;
68
- default: string;
69
- };
70
- text: {
71
- type: import('vue').PropType<string>;
72
- default: string;
73
- };
74
- icon: {
75
- type: import('vue').PropType<import('..').Icon>;
76
- default: () => import('..').Icon;
77
- };
78
- internals: {
79
- type: import('vue').PropType<{
80
- icons: Record<string, import('..').Icon>;
81
- }>;
82
- default: () => {
83
- icons: Record<string, import('..').Icon>;
84
- };
85
- };
86
- id: {
87
- type: import('vue').PropType<string>;
88
- default: undefined;
89
- };
90
- attach: {
91
- type: import('vue').PropType<string>;
92
- default: string;
93
- };
94
- inline: {
95
- type: import('vue').PropType<boolean>;
96
- };
97
- backdropBlur: {
98
- type: import('vue').PropType<boolean>;
99
- default: boolean;
100
- };
101
- buttons: {
102
- type: import('vue').PropType<DialogButton[]>;
103
- default: () => DialogButton[];
104
- };
105
- dismissible: {
106
- type: import('vue').PropType<boolean>;
107
- };
108
- }>>, {
109
- class: string | unknown[];
110
- html: boolean;
111
- title: string;
112
- text: string;
113
- icon: import('..').Icon;
114
- internals: {
115
- icons: Record<string, import('..').Icon>;
116
- };
117
- id: string;
118
- attach: string;
119
- backdropBlur: boolean;
120
- buttons: DialogButton[];
121
- }, true, {}, {}, {
122
- P: {};
123
- B: {};
124
- D: {};
125
- C: {};
126
- M: {};
127
- Defaults: {};
128
- }, Readonly<import('vue').ExtractPropTypes<{
129
- modelValue: import('vue').PropType<boolean>;
130
- class: {
131
- type: import('vue').PropType<string | unknown[]>;
132
- default: undefined;
133
- };
134
- html: {
135
- type: import('vue').PropType<boolean>;
136
- default: boolean;
137
- };
138
- title: {
139
- type: import('vue').PropType<string>;
140
- default: string;
141
- };
142
- text: {
143
- type: import('vue').PropType<string>;
144
- default: string;
145
- };
146
- icon: {
147
- type: import('vue').PropType<import('..').Icon>;
148
- default: () => import('..').Icon;
149
- };
150
- internals: {
151
- type: import('vue').PropType<{
152
- icons: Record<string, import('..').Icon>;
153
- }>;
154
- default: () => {
155
- icons: Record<string, import('..').Icon>;
156
- };
157
- };
158
- id: {
159
- type: import('vue').PropType<string>;
160
- default: undefined;
161
- };
162
- attach: {
163
- type: import('vue').PropType<string>;
164
- default: string;
165
- };
166
- inline: {
167
- type: import('vue').PropType<boolean>;
168
- };
169
- backdropBlur: {
170
- type: import('vue').PropType<boolean>;
171
- default: boolean;
172
- };
173
- buttons: {
174
- type: import('vue').PropType<DialogButton[]>;
175
- default: () => DialogButton[];
176
- };
177
- dismissible: {
178
- type: import('vue').PropType<boolean>;
179
- };
180
- }>>, {}, {}, {}, {}, {
181
- class: string | unknown[];
182
- html: boolean;
183
- title: string;
184
- text: string;
185
- icon: import('..').Icon;
186
- internals: {
187
- icons: Record<string, import('..').Icon>;
188
- };
189
- id: string;
190
- attach: string;
191
- backdropBlur: boolean;
192
- buttons: DialogButton[];
193
- }>;
194
- __isFragment?: undefined;
195
- __isTeleport?: undefined;
196
- __isSuspense?: undefined;
197
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
198
- modelValue: import('vue').PropType<boolean>;
199
- class: {
200
- type: import('vue').PropType<string | unknown[]>;
201
- default: undefined;
202
- };
203
- html: {
204
- type: import('vue').PropType<boolean>;
205
- default: boolean;
206
- };
207
- title: {
208
- type: import('vue').PropType<string>;
209
- default: string;
210
- };
211
- text: {
212
- type: import('vue').PropType<string>;
213
- default: string;
214
- };
215
- icon: {
216
- type: import('vue').PropType<import('..').Icon>;
217
- default: () => import('..').Icon;
218
- };
219
- internals: {
220
- type: import('vue').PropType<{
221
- icons: Record<string, import('..').Icon>;
222
- }>;
223
- default: () => {
224
- icons: Record<string, import('..').Icon>;
225
- };
226
- };
227
- id: {
228
- type: import('vue').PropType<string>;
229
- default: undefined;
230
- };
231
- attach: {
232
- type: import('vue').PropType<string>;
233
- default: string;
234
- };
235
- inline: {
236
- type: import('vue').PropType<boolean>;
237
- };
238
- backdropBlur: {
239
- type: import('vue').PropType<boolean>;
240
- default: boolean;
241
- };
242
- buttons: {
243
- type: import('vue').PropType<DialogButton[]>;
244
- default: () => DialogButton[];
245
- };
246
- dismissible: {
247
- type: import('vue').PropType<boolean>;
248
- };
249
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
250
- class: string | unknown[];
251
- html: boolean;
252
- title: string;
253
- text: string;
254
- icon: import('..').Icon;
255
- internals: {
256
- icons: Record<string, import('..').Icon>;
257
- };
258
- id: string;
259
- attach: string;
260
- backdropBlur: boolean;
261
- buttons: DialogButton[];
262
- }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
263
- $slots: {
264
- "body.content"?(_: {}): any;
265
- "body.icon"?(_: {}): any;
266
- "body.append"?(_: {}): any;
267
- };
268
- });
1
+ import { default as _QDialog } from './QDialog';
2
+ import { DialogButton } from './types';
3
+ declare const QDialog: typeof _QDialog;
269
4
  export { QDialog };
270
5
  export type { DialogButton };
271
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAKjD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+C,CAAA;AAG5D,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,YAAY,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,eAAe,CAAA;AAGpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAK3C,QAAA,MAAM,OAAO,EAAgC,OAAO,QAAQ,CAAA;AAG5D,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,YAAY,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,80 @@
1
+ import { QButtonProps } from '../QButton';
2
+ import { Icon } from '../QIcon';
3
+ export type QDialogProps = {
4
+ /**
5
+ * The text of the dialog window.
6
+ */
7
+ text?: string;
8
+ /**
9
+ * The DOM element the tooltip should be teleported to.
10
+ * Defaults to the body of the document.
11
+ */
12
+ attach?: string;
13
+ /**
14
+ * Whether to disable teleport.
15
+ * If enabled, the prop `attach` is ignored.
16
+ */
17
+ inline?: boolean;
18
+ /**
19
+ * Applies a backdrop blur effect behind the dialog window.
20
+ */
21
+ backdropBlur?: boolean;
22
+ /**
23
+ * The buttons to interact with the dialog window.
24
+ */
25
+ buttons?: DialogButton[];
26
+ /**
27
+ * True if the dialog window can be closed, false otherwise
28
+ */
29
+ dismissible?: boolean;
30
+ /**
31
+ * Whether the window's content is treated as HTML.
32
+ */
33
+ html?: boolean;
34
+ /**
35
+ * The icon of the dialog window.
36
+ */
37
+ icon?: Icon;
38
+ /**
39
+ * The dialog window unique identifier.
40
+ */
41
+ id?: string;
42
+ /**
43
+ * The title of the dialog window.
44
+ */
45
+ title?: string;
46
+ /**
47
+ * Custom set of classes to apply to the component.
48
+ */
49
+ class?: string | unknown[];
50
+ /**
51
+ * Custom icon configurations.
52
+ */
53
+ icons?: typeof DEFAULT_ICONS;
54
+ };
55
+ export type DialogButton = {
56
+ /**
57
+ * The id of the button.
58
+ */
59
+ id: string;
60
+ /**
61
+ * The icon of the button.
62
+ */
63
+ icon?: Icon;
64
+ /**
65
+ * The action that the button performs when clicked.
66
+ */
67
+ action?: {
68
+ (): void;
69
+ };
70
+ /**
71
+ * The generic button props.
72
+ */
73
+ props: QButtonProps;
74
+ };
75
+ export declare const DEFAULT_BUTTONS: Array<DialogButton>;
76
+ export declare const DEFAULT_ICON: Icon;
77
+ type IconKeys = 'close';
78
+ export declare const DEFAULT_ICONS: Record<IconKeys, Icon>;
79
+ export {};
80
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAE9C,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IAExB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,IAAI,IAAI,CAAA;KAAE,CAAA;IAErB;;OAEG;IACH,KAAK,EAAE,YAAY,CAAA;CACnB,CAAA;AAGD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,YAAY,CAW/C,CAAA;AAGD,eAAO,MAAM,YAAY,EAAE,IAE1B,CAAA;AAED,KAAK,QAAQ,GAAG,OAAO,CAAA;AAGvB,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,QAAQ,EAAE,IAAI,CAIhD,CAAA"}
@@ -0,0 +1,23 @@
1
+ const c = [
2
+ {
3
+ id: "button",
4
+ icon: {
5
+ icon: "check"
6
+ },
7
+ props: {
8
+ bStyle: "primary",
9
+ label: "Ok"
10
+ }
11
+ }
12
+ ], o = {
13
+ icon: "check-circle-outline"
14
+ }, e = {
15
+ close: {
16
+ icon: "close"
17
+ }
18
+ };
19
+ export {
20
+ c as DEFAULT_BUTTONS,
21
+ o as DEFAULT_ICON,
22
+ e as DEFAULT_ICONS
23
+ };
@@ -1,86 +1,31 @@
1
- export type QFieldSize = 'mini' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'block';
2
- export type QFieldProps = {
3
- /**
4
- * The field unique identifier.
5
- */
6
- id?: string;
7
- /**
8
- * The label of the input.
9
- */
10
- label?: string;
11
- /**
12
- * The form field associated with the label.
13
- */
14
- for?: string;
15
- /**
16
- * The size category of the field.
17
- */
18
- size?: QFieldSize;
19
- /**
20
- * Whether the input is readonly.
21
- */
22
- readonly?: boolean;
23
- /**
24
- * Whether the input is disabled.
25
- */
26
- disabled?: boolean;
27
- /**
28
- * If set to true, an asterisk (*) is displayed
29
- * to indicate that the field is required.
30
- */
31
- required?: boolean;
32
- /**
33
- * Custom set of classes to apply to the component.
34
- */
35
- class?: string | unknown[];
1
+ import { QFieldProps } from './types';
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ "label.prepend"?(_: {}): any;
5
+ "label.append"?(_: {}): any;
6
+ control?(_: {}): any;
7
+ prepend?(_: {}): any;
8
+ default?(_: {}): any;
9
+ append?(_: {}): any;
10
+ extras?(_: {}): any;
11
+ };
12
+ refs: {
13
+ fieldRef: HTMLDivElement;
14
+ };
15
+ attrs: Partial<{}>;
36
16
  };
37
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QFieldProps>, {
38
- id: undefined;
39
- label: string;
40
- for: undefined;
41
- size: string;
42
- class: undefined;
43
- }>, {
44
- fieldRef: import('vue').Ref<HTMLElement | null>;
45
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QFieldProps>, {
46
- id: undefined;
47
- label: string;
48
- for: undefined;
49
- size: string;
50
- class: undefined;
51
- }>>>, {
52
- size: QFieldSize;
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<QFieldProps, {
19
+ fieldRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QFieldProps> & Readonly<{}>, {
21
+ size: import('./types').QFieldSize;
53
22
  class: string | unknown[];
54
23
  label: string;
55
24
  id: string;
56
25
  for: string;
57
- }, {}>, {
58
- "label.prepend"?(_: {}): any;
59
- "label.append"?(_: {}): any;
60
- control?(_: {}): any;
61
- prepend?(_: {}): any;
62
- default?(_: {}): any;
63
- append?(_: {}): any;
64
- extras?(_: {}): any;
65
- }>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
66
28
  export default _default;
67
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
68
- type __VLS_TypePropsToRuntimeProps<T> = {
69
- [K in keyof T]-?: {} extends Pick<T, K> ? {
70
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
71
- } : {
72
- type: import('vue').PropType<T[K]>;
73
- required: true;
74
- };
75
- };
76
- type __VLS_WithDefaults<P, D> = {
77
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
78
- default: D[K];
79
- }> : P[K];
80
- };
81
- type __VLS_Prettify<T> = {
82
- [K in keyof T]: T[K];
83
- } & {};
84
29
  type __VLS_WithTemplateSlots<T, S> = T & {
85
30
  new (): {
86
31
  $slots: S;
@@ -1 +1 @@
1
- {"version":3,"file":"QField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QField/QField.vue"],"names":[],"mappings":"AA+CA;AAQC,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAE/F,MAAM,MAAM,WAAW,GAAG;IACzB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB;;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,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqPF,wBAAwG;AACxG,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;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"QField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QField/QField.vue"],"names":[],"mappings":"AAkFC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AA8C3C,iBAAS,cAAc;;iCAyEc,GAAG;gCACJ,GAAG;yBACV,GAAG;yBACH,GAAG;yBACH,GAAG;wBACJ,GAAG;wBACH,GAAG;;;;;WAUjB,OAAO,IAA6B;EAEjD;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;6EAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,172 +1,6 @@
1
- import { QFieldProps, QFieldSize } from './QField';
2
-
3
- declare const QField: {
4
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
5
- size: {
6
- type: import('vue').PropType<QFieldSize>;
7
- default: string;
8
- };
9
- class: {
10
- type: import('vue').PropType<string | unknown[]>;
11
- default: undefined;
12
- };
13
- label: {
14
- type: import('vue').PropType<string>;
15
- default: string;
16
- };
17
- disabled: {
18
- type: import('vue').PropType<boolean>;
19
- };
20
- required: {
21
- type: import('vue').PropType<boolean>;
22
- };
23
- id: {
24
- type: import('vue').PropType<string>;
25
- default: undefined;
26
- };
27
- for: {
28
- type: import('vue').PropType<string>;
29
- default: undefined;
30
- };
31
- readonly: {
32
- type: import('vue').PropType<boolean>;
33
- };
34
- }>>, {
35
- fieldRef: import('vue').Ref<HTMLElement | null>;
36
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
37
- size: {
38
- type: import('vue').PropType<QFieldSize>;
39
- default: string;
40
- };
41
- class: {
42
- type: import('vue').PropType<string | unknown[]>;
43
- default: undefined;
44
- };
45
- label: {
46
- type: import('vue').PropType<string>;
47
- default: string;
48
- };
49
- disabled: {
50
- type: import('vue').PropType<boolean>;
51
- };
52
- required: {
53
- type: import('vue').PropType<boolean>;
54
- };
55
- id: {
56
- type: import('vue').PropType<string>;
57
- default: undefined;
58
- };
59
- for: {
60
- type: import('vue').PropType<string>;
61
- default: undefined;
62
- };
63
- readonly: {
64
- type: import('vue').PropType<boolean>;
65
- };
66
- }>>, {
67
- size: QFieldSize;
68
- class: string | unknown[];
69
- label: string;
70
- id: string;
71
- for: string;
72
- }, true, {}, {}, {
73
- P: {};
74
- B: {};
75
- D: {};
76
- C: {};
77
- M: {};
78
- Defaults: {};
79
- }, Readonly<import('vue').ExtractPropTypes<{
80
- size: {
81
- type: import('vue').PropType<QFieldSize>;
82
- default: string;
83
- };
84
- class: {
85
- type: import('vue').PropType<string | unknown[]>;
86
- default: undefined;
87
- };
88
- label: {
89
- type: import('vue').PropType<string>;
90
- default: string;
91
- };
92
- disabled: {
93
- type: import('vue').PropType<boolean>;
94
- };
95
- required: {
96
- type: import('vue').PropType<boolean>;
97
- };
98
- id: {
99
- type: import('vue').PropType<string>;
100
- default: undefined;
101
- };
102
- for: {
103
- type: import('vue').PropType<string>;
104
- default: undefined;
105
- };
106
- readonly: {
107
- type: import('vue').PropType<boolean>;
108
- };
109
- }>>, {
110
- fieldRef: import('vue').Ref<HTMLElement | null>;
111
- }, {}, {}, {}, {
112
- size: QFieldSize;
113
- class: string | unknown[];
114
- label: string;
115
- id: string;
116
- for: string;
117
- }>;
118
- __isFragment?: undefined;
119
- __isTeleport?: undefined;
120
- __isSuspense?: undefined;
121
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
122
- size: {
123
- type: import('vue').PropType<QFieldSize>;
124
- default: string;
125
- };
126
- class: {
127
- type: import('vue').PropType<string | unknown[]>;
128
- default: undefined;
129
- };
130
- label: {
131
- type: import('vue').PropType<string>;
132
- default: string;
133
- };
134
- disabled: {
135
- type: import('vue').PropType<boolean>;
136
- };
137
- required: {
138
- type: import('vue').PropType<boolean>;
139
- };
140
- id: {
141
- type: import('vue').PropType<string>;
142
- default: undefined;
143
- };
144
- for: {
145
- type: import('vue').PropType<string>;
146
- default: undefined;
147
- };
148
- readonly: {
149
- type: import('vue').PropType<boolean>;
150
- };
151
- }>>, {
152
- fieldRef: import('vue').Ref<HTMLElement | null>;
153
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
154
- size: QFieldSize;
155
- class: string | unknown[];
156
- label: string;
157
- id: string;
158
- for: string;
159
- }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
160
- $slots: {
161
- "label.prepend"?(_: {}): any;
162
- "label.append"?(_: {}): any;
163
- control?(_: {}): any;
164
- prepend?(_: {}): any;
165
- default?(_: {}): any;
166
- append?(_: {}): any;
167
- extras?(_: {}): any;
168
- };
169
- });
1
+ import { default as _QField } from './QField';
2
+ import { QFieldProps, QFieldSize } from './types';
3
+ declare const QField: typeof _QField;
170
4
  export { QField };
171
5
  export type { QFieldProps, QFieldSize };
172
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QField/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAK3D,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6C,CAAA;AAGzD,OAAO,EAAE,MAAM,EAAE,CAAA;AAGjB,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QField/index.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,cAAc,CAAA;AAGlC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAKtD,QAAA,MAAM,MAAM,EAA+B,OAAO,OAAO,CAAA;AAGzD,OAAO,EAAE,MAAM,EAAE,CAAA;AAGjB,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,CAAA"}