@quidgest/ui 0.15.7 → 0.15.8

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 (101) hide show
  1. package/dist/manifest/components.json +1 -0
  2. package/dist/ui.css +90 -1
  3. package/dist/ui.esm.js +4453 -4433
  4. package/dist/ui.js +18 -18
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +755 -754
  7. package/dist/ui.scss +31 -2
  8. package/esm/components/QAccordion/types.d.ts.map +1 -1
  9. package/esm/components/QBadge/types.d.ts.map +1 -1
  10. package/esm/components/QBadgeIndicator/types.d.ts.map +1 -1
  11. package/esm/components/QButton/QButton.d.ts.map +1 -1
  12. package/esm/components/QButton/QButton.vue.js +34 -32
  13. package/esm/components/QButton/types.d.ts +1 -1
  14. package/esm/components/QButton/types.d.ts.map +1 -1
  15. package/esm/components/QButtonGroup/types.d.ts.map +1 -1
  16. package/esm/components/QButtonToggle/types.d.ts.map +1 -1
  17. package/esm/components/QCard/types.d.ts.map +1 -1
  18. package/esm/components/QCheckbox/QCheckbox.vue.js +28 -28
  19. package/esm/components/QCheckbox/index.d.ts +18 -1
  20. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  21. package/esm/components/QCheckbox/index.js +6 -4
  22. package/esm/components/QCheckbox/types.d.ts.map +1 -1
  23. package/esm/components/QCollapsible/types.d.ts.map +1 -1
  24. package/esm/components/QColorPicker/types.d.ts.map +1 -1
  25. package/esm/components/QCombobox/QCombobox.d.ts +53 -25
  26. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  27. package/esm/components/QCombobox/QCombobox.vue.js +37 -37
  28. package/esm/components/QCombobox/index.d.ts +24 -10
  29. package/esm/components/QCombobox/index.d.ts.map +1 -1
  30. package/esm/components/QCombobox/types.d.ts.map +1 -1
  31. package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
  32. package/esm/components/QDialog/types.d.ts.map +1 -1
  33. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +4 -0
  34. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  35. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +15 -10
  36. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +66 -34
  37. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  38. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +36 -35
  39. package/esm/components/QDropdownMenu/index.d.ts +7 -4
  40. package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
  41. package/esm/components/QDropdownMenu/types.d.ts +4 -21
  42. package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
  43. package/esm/components/QFileUpload/QFileUpload.d.ts +1 -1
  44. package/esm/components/QFileUpload/types.d.ts.map +1 -1
  45. package/esm/components/QIcon/types.d.ts.map +1 -1
  46. package/esm/components/QInputGroup/QInputGroup.d.ts +1 -1
  47. package/esm/components/QInputGroup/types.d.ts.map +1 -1
  48. package/esm/components/QLabel/types.d.ts.map +1 -1
  49. package/esm/components/QLineLoader/types.d.ts.map +1 -1
  50. package/esm/components/QList/QList.d.ts +39 -18
  51. package/esm/components/QList/QList.d.ts.map +1 -1
  52. package/esm/components/QList/QList.vue.js +98 -94
  53. package/esm/components/QList/QListItem.d.ts +12 -6
  54. package/esm/components/QList/QListItem.d.ts.map +1 -1
  55. package/esm/components/QList/QListItem.vue.js +52 -50
  56. package/esm/components/QList/index.d.ts +48 -19
  57. package/esm/components/QList/index.d.ts.map +1 -1
  58. package/esm/components/QList/types.d.ts +0 -4
  59. package/esm/components/QList/types.d.ts.map +1 -1
  60. package/esm/components/QMeter/types.d.ts.map +1 -1
  61. package/esm/components/QOverlay/types.d.ts.map +1 -1
  62. package/esm/components/QPasswordField/index.d.ts.map +1 -1
  63. package/esm/components/QPopover/types.d.ts.map +1 -1
  64. package/esm/components/QPropertyList/index.d.ts.map +1 -1
  65. package/esm/components/QPropertyList/types.d.ts.map +1 -1
  66. package/esm/components/QSelect/QSelect.d.ts +61 -33
  67. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  68. package/esm/components/QSelect/QSelect.vue.js +14 -14
  69. package/esm/components/QSelect/index.d.ts +24 -10
  70. package/esm/components/QSelect/index.d.ts.map +1 -1
  71. package/esm/components/QSelect/types.d.ts.map +1 -1
  72. package/esm/components/QSkeletonLoader/types.d.ts.map +1 -1
  73. package/esm/components/QSpinnerLoader/types.d.ts.map +1 -1
  74. package/esm/components/QTextArea/types.d.ts.map +1 -1
  75. package/esm/components/QTextField/QTextField.d.ts +10 -10
  76. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  77. package/esm/components/QTextField/index.d.ts.map +1 -1
  78. package/esm/components/QTextField/types.d.ts.map +1 -1
  79. package/esm/components/QThemeProvider/types.d.ts.map +1 -1
  80. package/esm/components/QTooltip/types.d.ts.map +1 -1
  81. package/esm/components/__internal__/QChevron/types.d.ts.map +1 -1
  82. package/esm/components/__internal__/QClearButton/QClearButton.vue.js +8 -8
  83. package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -1
  84. package/esm/components/index.js +63 -62
  85. package/esm/composables/defaults.js +4 -4
  86. package/esm/composables/theme.d.ts.map +1 -1
  87. package/esm/composables/theme.js +5 -5
  88. package/esm/composables/useColor/index.d.ts.map +1 -1
  89. package/esm/composables/useColor/index.js +27 -25
  90. package/esm/composables/useColor/types.d.ts +9 -1
  91. package/esm/composables/useColor/types.d.ts.map +1 -1
  92. package/esm/framework.d.ts +1 -1
  93. package/esm/framework.d.ts.map +1 -1
  94. package/esm/index.d.ts +1 -0
  95. package/esm/templates/theme.d.ts.map +1 -1
  96. package/esm/utils/color.d.ts +6 -0
  97. package/esm/utils/color.d.ts.map +1 -1
  98. package/esm/utils/color.js +16 -12
  99. package/esm/utils/theme.d.ts +1 -1
  100. package/esm/utils/theme.d.ts.map +1 -1
  101. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"QDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenu.vue"],"names":[],"mappings":"AAKA;AAuBC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAEjD,KAAK,WAAW,GAAG,kBAAkB,CAAC;AAQvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;AAoDhB,wBAQG"}
1
+ {"version":3,"file":"QDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenu.vue"],"names":[],"mappings":"AAMA;AA2CC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAEjD,KAAK,WAAW,GAAG,kBAAkB,CAAC;AA2BvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;;;;AA2DhB,wBAOG"}
@@ -1,8 +1,9 @@
1
- import { defineComponent as n, mergeModels as m, useModel as r, createBlock as s, openBlock as d, mergeProps as i } from "vue";
2
- import p from "./QDropdownMenuContent.vue.js";
3
- const V = /* @__PURE__ */ n({
1
+ import { defineComponent as u, mergeModels as n, useModel as d, createBlock as p, openBlock as c, mergeProps as f } from "vue";
2
+ import V from "./QDropdownMenuContent.vue.js";
3
+ const _ = /* @__PURE__ */ u({
4
+ inheritAttrs: !1,
4
5
  __name: "QDropdownMenu",
5
- props: /* @__PURE__ */ m({
6
+ props: /* @__PURE__ */ n({
6
7
  id: {},
7
8
  class: {},
8
9
  activator: {},
@@ -20,15 +21,19 @@ const V = /* @__PURE__ */ n({
20
21
  modelValue: { type: Boolean },
21
22
  modelModifiers: {}
22
23
  }),
23
- emits: ["update:modelValue"],
24
- setup(e) {
25
- const a = e, o = r(e, "modelValue");
26
- return (u, l) => (d(), s(p, i(a, {
24
+ emits: /* @__PURE__ */ n(["select"], ["update:modelValue"]),
25
+ setup(e, { emit: a }) {
26
+ const m = e, s = a, o = d(e, "modelValue");
27
+ function i(t) {
28
+ s("select", t);
29
+ }
30
+ return (t, l) => (c(), p(V, f(m, {
27
31
  modelValue: o.value,
28
- "onUpdate:modelValue": l[0] || (l[0] = (t) => o.value = t)
32
+ "onUpdate:modelValue": l[0] || (l[0] = (r) => o.value = r),
33
+ onSelect: i
29
34
  }), null, 16, ["modelValue"]));
30
35
  }
31
36
  });
32
37
  export {
33
- V as default
38
+ _ as default
34
39
  };
@@ -1,5 +1,6 @@
1
- import { QDropdownMenuContentProps, DEFAULT_ICONS } from './types';
2
1
  import { Primitive } from '../../types/primitive';
2
+ import { Item } from '../QList/types';
3
+ import { QDropdownMenuContentProps, DEFAULT_ICONS } from './types';
3
4
  import { nextTick } from 'vue';
4
5
  type __VLS_Props = QDropdownMenuContentProps;
5
6
  type __VLS_PublicProps = {
@@ -10,10 +11,10 @@ declare function __VLS_template(): {
10
11
  attrs: Partial<{}>;
11
12
  slots: {
12
13
  item?(_: {
13
- item: import('../QList/types').Item;
14
+ item: Item;
14
15
  }): any;
15
16
  'item.append'?(_: {
16
- item: import('../QList/types').Item;
17
+ item: Item;
17
18
  }): any;
18
19
  };
19
20
  refs: {
@@ -25,13 +26,14 @@ declare function __VLS_template(): {
25
26
  readonly id?: string | undefined;
26
27
  readonly class?: string | unknown[] | undefined;
27
28
  readonly highlighted?: Primitive | undefined;
28
- readonly items?: import('../QList/types').Item[] | undefined;
29
+ readonly items?: Item[] | undefined;
29
30
  readonly groups?: import('../QList/types').Group[] | undefined;
30
31
  readonly itemValue?: string | undefined;
31
32
  readonly itemLabel?: string | undefined;
32
33
  readonly disabled?: boolean | undefined;
33
34
  readonly selectable?: boolean | undefined;
34
35
  readonly "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
36
+ readonly onClick?: ((key: Primitive) => any) | undefined;
35
37
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
36
38
  $attrs: {
37
39
  [x: string]: unknown;
@@ -44,16 +46,17 @@ declare function __VLS_template(): {
44
46
  $: import('vue').ComponentInternalInstance;
45
47
  $data: {};
46
48
  $props: {
49
+ readonly modelValue?: boolean | undefined;
47
50
  readonly value: Primitive;
48
51
  readonly label: string;
49
52
  readonly icon?: import('..').Icon | undefined;
50
53
  readonly selectable?: boolean | undefined;
51
- readonly selected?: boolean | undefined;
52
54
  readonly highlighted?: boolean | undefined;
53
55
  readonly disabled?: boolean | undefined;
54
56
  readonly description?: string | undefined;
55
57
  readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
56
- readonly onSelect?: ((value: Primitive) => any) | undefined;
58
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
59
+ readonly onClick?: (() => any) | undefined;
57
60
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
58
61
  $attrs: {
59
62
  [x: string]: unknown;
@@ -67,12 +70,17 @@ declare function __VLS_template(): {
67
70
  $root: import('vue').ComponentPublicInstance | null;
68
71
  $parent: import('vue').ComponentPublicInstance | null;
69
72
  $host: Element | null;
70
- $emit: (event: "select", value: Primitive) => void;
73
+ $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
71
74
  $el: HTMLLIElement;
72
- $options: import('vue').ComponentOptionsBase<Readonly<import('../QList').QListItemProps> & Readonly<{
73
- onSelect?: ((value: Primitive) => any) | undefined;
74
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
75
- select: (value: Primitive) => any;
75
+ $options: import('vue').ComponentOptionsBase<Readonly<{
76
+ modelValue?: boolean;
77
+ } & import('..').QListItemProps> & Readonly<{
78
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
79
+ onClick?: (() => any) | undefined;
80
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
81
+ "update:modelValue": (value: boolean) => any;
82
+ } & {
83
+ click: () => any;
76
84
  }, string, {
77
85
  icons: typeof import('../QList/types').DEFAULT_ICONS;
78
86
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -97,8 +105,11 @@ declare function __VLS_template(): {
97
105
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
98
106
  } & Readonly<{
99
107
  icons: typeof import('../QList/types').DEFAULT_ICONS;
100
- }> & Omit<Readonly<import('../QList').QListItemProps> & Readonly<{
101
- onSelect?: ((value: Primitive) => any) | undefined;
108
+ }> & Omit<Readonly<{
109
+ modelValue?: boolean;
110
+ } & import('..').QListItemProps> & Readonly<{
111
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
112
+ onClick?: (() => any) | undefined;
102
113
  }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
103
114
  $slots: {
104
115
  prepend?(_: {}): any;
@@ -113,13 +124,13 @@ declare function __VLS_template(): {
113
124
  $root: import('vue').ComponentPublicInstance | null;
114
125
  $parent: import('vue').ComponentPublicInstance | null;
115
126
  $host: Element | null;
116
- $emit: (event: "update:modelValue", value: Primitive) => void;
127
+ $emit: ((event: "update:modelValue", value: Primitive) => void) & ((event: "click", key: Primitive) => void);
117
128
  $el: any;
118
129
  $options: import('vue').ComponentOptionsBase<Readonly<{
119
130
  modelValue?: Primitive;
120
131
  } & import('../../types/component').QBaseComponentProps & {
121
132
  highlighted?: Primitive;
122
- items?: import('../QList/types').Item[];
133
+ items?: Item[];
123
134
  groups?: import('../QList/types').Group[];
124
135
  itemValue?: string;
125
136
  itemLabel?: string;
@@ -127,6 +138,7 @@ declare function __VLS_template(): {
127
138
  selectable?: boolean;
128
139
  }> & Readonly<{
129
140
  "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
141
+ onClick?: ((key: Primitive) => any) | undefined;
130
142
  }>, {
131
143
  getItem: (idx: number) => HTMLElement | undefined;
132
144
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
@@ -134,6 +146,8 @@ declare function __VLS_template(): {
134
146
  getLastFocusableItemIndex: () => number;
135
147
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
136
148
  "update:modelValue": (value: Primitive) => any;
149
+ } & {
150
+ click: (key: Primitive) => any;
137
151
  }, string, {
138
152
  groups: import('../QList/types').Group[];
139
153
  itemValue: string;
@@ -166,7 +180,7 @@ declare function __VLS_template(): {
166
180
  modelValue?: Primitive;
167
181
  } & import('../../types/component').QBaseComponentProps & {
168
182
  highlighted?: Primitive;
169
- items?: import('../QList/types').Item[];
183
+ items?: Item[];
170
184
  groups?: import('../QList/types').Group[];
171
185
  itemValue?: string;
172
186
  itemLabel?: string;
@@ -174,6 +188,7 @@ declare function __VLS_template(): {
174
188
  selectable?: boolean;
175
189
  }> & Readonly<{
176
190
  "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
191
+ onClick?: ((key: Primitive) => any) | undefined;
177
192
  }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
178
193
  getItem: (idx: number) => HTMLElement | undefined;
179
194
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
@@ -182,11 +197,11 @@ declare function __VLS_template(): {
182
197
  }> & {} & import('vue').ComponentCustomProperties & {} & {
183
198
  $slots: {
184
199
  item?(_: {
185
- item: import('../QList/types').Item;
200
+ item: Item;
186
201
  element: HTMLLIElement | undefined;
187
202
  }): any;
188
203
  'item.append'?(_: {
189
- item: import('../QList/types').Item;
204
+ item: Item;
190
205
  element: HTMLLIElement | undefined;
191
206
  }): any;
192
207
  };
@@ -198,14 +213,17 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
198
213
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
199
214
  "update:modelValue": (value: boolean) => any;
200
215
  "update:selected": (value: Primitive) => any;
216
+ } & {
217
+ select: (item: Primitive) => any;
201
218
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
219
+ onSelect?: ((item: Primitive) => any) | undefined;
202
220
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
203
221
  "onUpdate:selected"?: ((value: Primitive) => any) | undefined;
204
222
  }>, {
205
223
  transition: string;
206
224
  icons: typeof DEFAULT_ICONS;
207
225
  placement: import('../../composables/overlay').Placement;
208
- groups: import('./types').QDropdownMenuGroupProps[];
226
+ groups: import('../QList/types').Group[];
209
227
  itemValue: string;
210
228
  itemLabel: string;
211
229
  appearance: import('../../composables/overlay').Appearance;
@@ -223,13 +241,14 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
223
241
  readonly id?: string | undefined;
224
242
  readonly class?: string | unknown[] | undefined;
225
243
  readonly highlighted?: Primitive | undefined;
226
- readonly items?: import('../QList/types').Item[] | undefined;
244
+ readonly items?: Item[] | undefined;
227
245
  readonly groups?: import('../QList/types').Group[] | undefined;
228
246
  readonly itemValue?: string | undefined;
229
247
  readonly itemLabel?: string | undefined;
230
248
  readonly disabled?: boolean | undefined;
231
249
  readonly selectable?: boolean | undefined;
232
250
  readonly "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
251
+ readonly onClick?: ((key: Primitive) => any) | undefined;
233
252
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
234
253
  $attrs: {
235
254
  [x: string]: unknown;
@@ -242,16 +261,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
242
261
  $: import('vue').ComponentInternalInstance;
243
262
  $data: {};
244
263
  $props: {
264
+ readonly modelValue?: boolean | undefined;
245
265
  readonly value: Primitive;
246
266
  readonly label: string;
247
267
  readonly icon?: import('..').Icon | undefined;
248
268
  readonly selectable?: boolean | undefined;
249
- readonly selected?: boolean | undefined;
250
269
  readonly highlighted?: boolean | undefined;
251
270
  readonly disabled?: boolean | undefined;
252
271
  readonly description?: string | undefined;
253
272
  readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
254
- readonly onSelect?: ((value: Primitive) => any) | undefined;
273
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
274
+ readonly onClick?: (() => any) | undefined;
255
275
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
256
276
  $attrs: {
257
277
  [x: string]: unknown;
@@ -265,12 +285,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
265
285
  $root: import('vue').ComponentPublicInstance | null;
266
286
  $parent: import('vue').ComponentPublicInstance | null;
267
287
  $host: Element | null;
268
- $emit: (event: "select", value: Primitive) => void;
288
+ $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
269
289
  $el: HTMLLIElement;
270
- $options: import('vue').ComponentOptionsBase<Readonly<import('../QList').QListItemProps> & Readonly<{
271
- onSelect?: ((value: Primitive) => any) | undefined;
272
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
273
- select: (value: Primitive) => any;
290
+ $options: import('vue').ComponentOptionsBase<Readonly<{
291
+ modelValue?: boolean;
292
+ } & import('..').QListItemProps> & Readonly<{
293
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
294
+ onClick?: (() => any) | undefined;
295
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
296
+ "update:modelValue": (value: boolean) => any;
297
+ } & {
298
+ click: () => any;
274
299
  }, string, {
275
300
  icons: typeof import('../QList/types').DEFAULT_ICONS;
276
301
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -295,8 +320,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
295
320
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
296
321
  } & Readonly<{
297
322
  icons: typeof import('../QList/types').DEFAULT_ICONS;
298
- }> & Omit<Readonly<import('../QList').QListItemProps> & Readonly<{
299
- onSelect?: ((value: Primitive) => any) | undefined;
323
+ }> & Omit<Readonly<{
324
+ modelValue?: boolean;
325
+ } & import('..').QListItemProps> & Readonly<{
326
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
327
+ onClick?: (() => any) | undefined;
300
328
  }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
301
329
  $slots: {
302
330
  prepend?(_: {}): any;
@@ -311,13 +339,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
311
339
  $root: import('vue').ComponentPublicInstance | null;
312
340
  $parent: import('vue').ComponentPublicInstance | null;
313
341
  $host: Element | null;
314
- $emit: (event: "update:modelValue", value: Primitive) => void;
342
+ $emit: ((event: "update:modelValue", value: Primitive) => void) & ((event: "click", key: Primitive) => void);
315
343
  $el: any;
316
344
  $options: import('vue').ComponentOptionsBase<Readonly<{
317
345
  modelValue?: Primitive;
318
346
  } & import('../../types/component').QBaseComponentProps & {
319
347
  highlighted?: Primitive;
320
- items?: import('../QList/types').Item[];
348
+ items?: Item[];
321
349
  groups?: import('../QList/types').Group[];
322
350
  itemValue?: string;
323
351
  itemLabel?: string;
@@ -325,6 +353,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
325
353
  selectable?: boolean;
326
354
  }> & Readonly<{
327
355
  "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
356
+ onClick?: ((key: Primitive) => any) | undefined;
328
357
  }>, {
329
358
  getItem: (idx: number) => HTMLElement | undefined;
330
359
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
@@ -332,6 +361,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
332
361
  getLastFocusableItemIndex: () => number;
333
362
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
334
363
  "update:modelValue": (value: Primitive) => any;
364
+ } & {
365
+ click: (key: Primitive) => any;
335
366
  }, string, {
336
367
  groups: import('../QList/types').Group[];
337
368
  itemValue: string;
@@ -364,7 +395,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
364
395
  modelValue?: Primitive;
365
396
  } & import('../../types/component').QBaseComponentProps & {
366
397
  highlighted?: Primitive;
367
- items?: import('../QList/types').Item[];
398
+ items?: Item[];
368
399
  groups?: import('../QList/types').Group[];
369
400
  itemValue?: string;
370
401
  itemLabel?: string;
@@ -372,6 +403,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
372
403
  selectable?: boolean;
373
404
  }> & Readonly<{
374
405
  "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
406
+ onClick?: ((key: Primitive) => any) | undefined;
375
407
  }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
376
408
  getItem: (idx: number) => HTMLElement | undefined;
377
409
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
@@ -380,11 +412,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
380
412
  }> & {} & import('vue').ComponentCustomProperties & {} & {
381
413
  $slots: {
382
414
  item?(_: {
383
- item: import('../QList/types').Item;
415
+ item: Item;
384
416
  element: HTMLLIElement | undefined;
385
417
  }): any;
386
418
  'item.append'?(_: {
387
- item: import('../QList/types').Item;
419
+ item: Item;
388
420
  element: HTMLLIElement | undefined;
389
421
  }): any;
390
422
  };
@@ -1 +1 @@
1
- {"version":3,"file":"QDropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenuContent.vue"],"names":[],"mappings":"AAiDA;AAkIC,OAAO,KAAK,EAAE,yBAAyB,EAA0B,MAAM,SAAS,CAAA;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAGlD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAiB,QAAQ,EAAE,MAAM,KAAK,CAAA;AAE7C,KAAK,WAAW,GAAG,yBAAyB,CAAC;AA8E9C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WA8HT,OAAO,IAA6B;;;;YAZvB,GAAG;;;YACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAmE61a,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAnDz/a;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA+B+2a,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArBx/a,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QDropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenuContent.vue"],"names":[],"mappings":"AAiDA;AAyIC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAGxD,OAAO,EAAY,QAAQ,EAAO,MAAM,KAAK,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,KAAK,WAAW,GAAG,yBAAyB,CAAC;AAqF9C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WA8HT,OAAO,IAA6B;;;;YAZvB,GAAG;;;YACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAmE4ra,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAnDx1a;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA+B8sa,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArBv1a,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,17 +1,17 @@
1
- import { defineComponent as S, mergeModels as x, useModel as f, ref as c, computed as m, createBlock as B, openBlock as p, unref as g, normalizeClass as C, withCtx as n, createElementVNode as w, createVNode as L, renderSlot as v, createElementBlock as M, createCommentVNode as N, toDisplayString as O, nextTick as E } from "vue";
2
- import { QList as I } from "../QList/index.js";
3
- import { QOverlay as q } from "../QOverlay/index.js";
4
- import { DEFAULT_ICONS as D } from "./types.js";
5
- const Q = {
1
+ import { defineComponent as B, mergeModels as f, useModel as m, ref as p, computed as g, createBlock as S, openBlock as h, unref as v, normalizeClass as L, withCtx as n, createElementVNode as M, createVNode as N, renderSlot as y, createElementBlock as O, createCommentVNode as E, toDisplayString as I, nextTick as q } from "vue";
2
+ import { QList as D } from "../QList/index.js";
3
+ import { QOverlay as Q } from "../QOverlay/index.js";
4
+ import { DEFAULT_ICONS as $ } from "./types.js";
5
+ const R = {
6
6
  class: "q-dropdown-menu__body",
7
7
  "data-testid": "dropdown-content",
8
8
  tabindex: "-1"
9
- }, U = {
9
+ }, T = {
10
10
  key: 0,
11
11
  class: "q-dropdown-menu__extra"
12
- }, A = /* @__PURE__ */ S({
12
+ }, j = /* @__PURE__ */ B({
13
13
  __name: "QDropdownMenuContent",
14
- props: /* @__PURE__ */ x({
14
+ props: /* @__PURE__ */ f({
15
15
  id: {},
16
16
  class: {},
17
17
  activator: {},
@@ -24,7 +24,7 @@ const Q = {
24
24
  groups: { default: () => [] },
25
25
  itemValue: { default: "key" },
26
26
  itemLabel: { default: "label" },
27
- icons: { default: () => D },
27
+ icons: { default: () => $ },
28
28
  trigger: { default: "click" },
29
29
  offset: { default: 0 },
30
30
  crossOffset: { default: -5 },
@@ -35,45 +35,46 @@ const Q = {
35
35
  selected: { type: [String, Number, Boolean, Symbol] },
36
36
  selectedModifiers: {}
37
37
  }),
38
- emits: ["update:modelValue", "update:selected"],
39
- setup(l) {
40
- const e = l, s = f(l, "modelValue"), i = f(l, "selected"), d = c([]), h = m(() => e.depth !== 0 ? e.offset : 4), y = m(() => e.depth !== 0 ? e.crossOffset : void 0), r = c(null);
41
- function b(o) {
38
+ emits: /* @__PURE__ */ f(["select"], ["update:modelValue", "update:selected"]),
39
+ setup(a, { emit: b }) {
40
+ const e = a, V = b, s = m(a, "modelValue"), i = m(a, "selected"), d = p([]), _ = g(() => e.depth !== 0 ? e.offset : 4), k = g(() => e.depth !== 0 ? e.crossOffset : void 0), r = p(null);
41
+ function C(o) {
42
42
  var u;
43
- const a = (u = e.items) == null ? void 0 : u.find((k) => k[e.itemValue] === o);
44
- d.value = (a == null ? void 0 : a.items) ?? [];
43
+ V("select", o);
44
+ const l = (u = e.items) == null ? void 0 : u.find((c) => c[e.itemValue] === c);
45
+ d.value = (l == null ? void 0 : l.items) ?? [];
45
46
  const t = d.value.length > 0;
46
- i.value = t ? o : void 0, t || V();
47
+ i.value = t ? o : void 0, t || w();
47
48
  }
48
- function V() {
49
+ function w() {
49
50
  s.value = !1;
50
51
  }
51
- function _() {
52
- E(() => {
52
+ function x() {
53
+ q(() => {
53
54
  var o;
54
55
  return (o = r.value) == null ? void 0 : o.$el.focus();
55
56
  });
56
57
  }
57
- return (o, a) => (p(), B(g(q), {
58
+ return (o, l) => (h(), S(v(Q), {
58
59
  id: e.id,
59
60
  modelValue: s.value,
60
- "onUpdate:modelValue": a[0] || (a[0] = (t) => s.value = t),
61
+ "onUpdate:modelValue": l[0] || (l[0] = (t) => s.value = t),
61
62
  anchor: e.activator,
62
63
  appearance: e.appearance,
63
64
  inline: e.inline,
64
65
  delay: e.delay,
65
- offset: h.value,
66
- "cross-offset": y.value,
66
+ offset: _.value,
67
+ "cross-offset": k.value,
67
68
  placement: e.placement,
68
69
  transition: e.transition,
69
- class: C(e.class),
70
+ class: L(e.class),
70
71
  trigger: e.trigger,
71
72
  "scroll-lock": "",
72
- onEnter: _
73
+ onEnter: x
73
74
  }, {
74
75
  default: n(() => [
75
- w("div", Q, [
76
- L(g(I), {
76
+ M("div", R, [
77
+ N(v(D), {
77
78
  ref_key: "listRef",
78
79
  ref: r,
79
80
  class: "q-dropdown-menu__items",
@@ -82,20 +83,20 @@ const Q = {
82
83
  groups: e.groups,
83
84
  "item-label": e.itemLabel,
84
85
  "item-value": e.itemValue,
85
- "onUpdate:modelValue": b
86
+ onClick: C
86
87
  }, {
87
88
  item: n(({ item: t }) => [
88
- v(o.$slots, "item", { item: t })
89
+ y(o.$slots, "item", { item: t })
89
90
  ]),
90
91
  "item.append": n(({ item: t }) => [
91
- v(o.$slots, "item.append", { item: t }, () => [
92
- t.extraInfo ? (p(), M(
92
+ y(o.$slots, "item.append", { item: t }, () => [
93
+ t.extraInfo ? (h(), O(
93
94
  "span",
94
- U,
95
- O(t.extraInfo),
95
+ T,
96
+ I(t.extraInfo),
96
97
  1
97
98
  /* TEXT */
98
- )) : N("v-if", !0)
99
+ )) : E("v-if", !0)
99
100
  ])
100
101
  ]),
101
102
  _: 3
@@ -109,5 +110,5 @@ const Q = {
109
110
  }
110
111
  });
111
112
  export {
112
- A as default
113
+ j as default
113
114
  };
@@ -7,13 +7,15 @@ declare const QDropdownMenu: import('vue').DefineComponent<{
7
7
  delay?: number;
8
8
  placement?: import('../../composables/overlay').Placement;
9
9
  transition?: string;
10
- items?: import('./types').QDropdownMenuItemProps[];
11
- groups?: import('./types').QDropdownMenuGroupProps[];
10
+ items?: import('../QList/types').Item[];
11
+ groups?: import('../QList/types').Group[];
12
12
  itemValue?: string;
13
13
  itemLabel?: string;
14
14
  icons?: typeof import('./types').DEFAULT_ICONS;
15
15
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
16
  "update:modelValue": (value: boolean) => any;
17
+ } & {
18
+ select: (item: import('../../types/primitive').Primitive) => any;
17
19
  }, string, import('vue').PublicProps, Readonly<{
18
20
  modelValue?: boolean;
19
21
  } & import('../../types/component').QBaseComponentProps & {
@@ -23,12 +25,13 @@ declare const QDropdownMenu: import('vue').DefineComponent<{
23
25
  delay?: number;
24
26
  placement?: import('../../composables/overlay').Placement;
25
27
  transition?: string;
26
- items?: import('./types').QDropdownMenuItemProps[];
27
- groups?: import('./types').QDropdownMenuGroupProps[];
28
+ items?: import('../QList/types').Item[];
29
+ groups?: import('../QList/types').Group[];
28
30
  itemValue?: string;
29
31
  itemLabel?: string;
30
32
  icons?: typeof import('./types').DEFAULT_ICONS;
31
33
  }> & Readonly<{
34
+ onSelect?: ((item: import('../../types/primitive').Primitive) => any) | undefined;
32
35
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
33
36
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
34
37
  export { QDropdownMenu };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAAkC,CAAA;AAGrD,OAAO,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAAkC,CAAA;AAGrD,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -1,7 +1,7 @@
1
- import { QListItemGroupProps, QListItemProps } from '../QList';
2
1
  import { Appearance, Placement, Trigger } from '../../composables/overlay';
3
- import { Selector } from '../../utils/getElement';
4
2
  import { QBaseComponentProps } from '../../types/component';
3
+ import { Selector } from '../../utils/getElement';
4
+ import { Group, Item } from '../QList/types';
5
5
  export type QDropdownMenuProps = QBaseComponentProps & {
6
6
  /**
7
7
  * The DOM element used to activate the dropdown menu.
@@ -32,11 +32,11 @@ export type QDropdownMenuProps = QBaseComponentProps & {
32
32
  /**
33
33
  * The list of available items for selection.
34
34
  */
35
- items?: QDropdownMenuItemProps[];
35
+ items?: Item[];
36
36
  /**
37
37
  * The item groups used for organizing the available items.
38
38
  */
39
- groups?: QDropdownMenuGroupProps[];
39
+ groups?: Group[];
40
40
  /**
41
41
  * Property on each item that contains its value.
42
42
  */
@@ -68,23 +68,6 @@ export type QDropdownMenuContentProps = QDropdownMenuProps & {
68
68
  */
69
69
  depth?: number;
70
70
  };
71
- export type QDropdownMenuItemProps = Omit<QListItemProps, 'value' | 'label'> & {
72
- /**
73
- * The list of available items for selection.
74
- */
75
- items?: QDropdownMenuItemProps[];
76
- /**
77
- * The item groups used for organizing the available items.
78
- */
79
- groups?: QDropdownMenuGroupProps[];
80
- [key: string]: any;
81
- };
82
- export type QDropdownMenuGroupProps = QListItemGroupProps & {
83
- /**
84
- * Whether the entire item group is disabled.
85
- */
86
- disabled?: boolean;
87
- };
88
71
  export declare const DEFAULT_ICONS: {
89
72
  expand: {
90
73
  icon: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAC7E,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG;IACtD;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAA;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,sBAAsB,EAAE,CAAA;IAEhC;;OAEG;IACH,MAAM,CAAC,EAAE,uBAAuB,EAAE,CAAA;IAElC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,GAAG;IAC5D;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;IAC9E;;OAEG;IACH,KAAK,CAAC,EAAE,sBAAsB,EAAE,CAAA;IAEhC;;OAEG;IACH,MAAM,CAAC,EAAE,uBAAuB,EAAE,CAAA;IAIlC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,GAAG;IAC3D;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIM,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEtD,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAEjD,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG;IACtD;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAA;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,GAAG;IAC5D;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIM,CAAA"}
@@ -20,7 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
20
20
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
21
  "onUpdate:modelValue"?: ((value: File) => any) | undefined;
22
22
  }>, {
23
- size: import('../QField').QFieldSize;
23
+ size: import('..').QFieldSize;
24
24
  icons: typeof DEFAULT_ICONS;
25
25
  texts: typeof DEFAULT_TEXTS;
26
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QFileUpload/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAGtD,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAEtE,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,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;;;;;;;;;;;;;;;;CAgBM,CAAA;AAGhC,eAAO,MAAM,aAAa;;;;;;;CAOQ,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QFileUpload/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAEtE,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,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;;;;;;;;;;;;;;;;CAgBM,CAAA;AAGhC,eAAO,MAAM,aAAa;;;;;;;CAOQ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG;IAClD;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG;IACzC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,CAAA;IAE7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,cAAc,CAAA;AAE1C,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CACf,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG;IAClD;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG;IACzC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,CAAA;IAE7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,cAAc,CAAA;AAE1C,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CACf,CAAA"}
@@ -14,7 +14,7 @@ declare function __VLS_template(): {
14
14
  };
15
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
16
  declare const __VLS_component: import('vue').DefineComponent<QInputGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QInputGroupProps> & Readonly<{}>, {
17
- size: import('../QField').QFieldSize;
17
+ size: import('..').QFieldSize;
18
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
20
  export default _default;