@quidgest/ui 0.15.7 → 0.15.9

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 (107) hide show
  1. package/dist/manifest/components.json +1 -0
  2. package/dist/ui.css +90 -1
  3. package/dist/ui.esm.js +4463 -4443
  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 +78 -53
  26. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  27. package/esm/components/QCombobox/QCombobox.vue.js +53 -53
  28. package/esm/components/QCombobox/index.d.ts +55 -59
  29. package/esm/components/QCombobox/index.d.ts.map +1 -1
  30. package/esm/components/QCombobox/types.d.ts +4 -9
  31. package/esm/components/QCombobox/types.d.ts.map +1 -1
  32. package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
  33. package/esm/components/QDialog/types.d.ts.map +1 -1
  34. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +3 -0
  35. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  36. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +15 -10
  37. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +90 -59
  38. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  39. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +39 -38
  40. package/esm/components/QDropdownMenu/index.d.ts +7 -4
  41. package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
  42. package/esm/components/QDropdownMenu/types.d.ts +4 -21
  43. package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
  44. package/esm/components/QFileUpload/QFileUpload.d.ts +1 -1
  45. package/esm/components/QFileUpload/types.d.ts.map +1 -1
  46. package/esm/components/QIcon/types.d.ts.map +1 -1
  47. package/esm/components/QInputGroup/QInputGroup.d.ts +1 -1
  48. package/esm/components/QInputGroup/types.d.ts.map +1 -1
  49. package/esm/components/QLabel/types.d.ts.map +1 -1
  50. package/esm/components/QLineLoader/types.d.ts.map +1 -1
  51. package/esm/components/QList/QList.d.ts +44 -24
  52. package/esm/components/QList/QList.d.ts.map +1 -1
  53. package/esm/components/QList/QList.vue.js +97 -93
  54. package/esm/components/QList/QListItem.d.ts +12 -6
  55. package/esm/components/QList/QListItem.d.ts.map +1 -1
  56. package/esm/components/QList/QListItem.vue.js +51 -49
  57. package/esm/components/QList/index.d.ts +60 -31
  58. package/esm/components/QList/index.d.ts.map +1 -1
  59. package/esm/components/QList/types.d.ts +3 -8
  60. package/esm/components/QList/types.d.ts.map +1 -1
  61. package/esm/components/QMeter/types.d.ts.map +1 -1
  62. package/esm/components/QOverlay/types.d.ts.map +1 -1
  63. package/esm/components/QPasswordField/index.d.ts.map +1 -1
  64. package/esm/components/QPopover/types.d.ts.map +1 -1
  65. package/esm/components/QPropertyList/index.d.ts.map +1 -1
  66. package/esm/components/QPropertyList/types.d.ts.map +1 -1
  67. package/esm/components/QRadioGroup/QRadioGroup.d.ts +3 -4
  68. package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
  69. package/esm/components/QRadioGroup/QRadioGroup.vue.js +7 -7
  70. package/esm/components/QRadioGroup/index.d.ts +8 -8
  71. package/esm/components/QSelect/QSelect.d.ts +86 -61
  72. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  73. package/esm/components/QSelect/QSelect.vue.js +45 -45
  74. package/esm/components/QSelect/index.d.ts +55 -59
  75. package/esm/components/QSelect/index.d.ts.map +1 -1
  76. package/esm/components/QSelect/types.d.ts +4 -9
  77. package/esm/components/QSelect/types.d.ts.map +1 -1
  78. package/esm/components/QSkeletonLoader/types.d.ts.map +1 -1
  79. package/esm/components/QSpinnerLoader/types.d.ts.map +1 -1
  80. package/esm/components/QTextArea/types.d.ts.map +1 -1
  81. package/esm/components/QTextField/QTextField.d.ts +10 -10
  82. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  83. package/esm/components/QTextField/index.d.ts.map +1 -1
  84. package/esm/components/QTextField/types.d.ts.map +1 -1
  85. package/esm/components/QThemeProvider/types.d.ts.map +1 -1
  86. package/esm/components/QTooltip/types.d.ts.map +1 -1
  87. package/esm/components/__internal__/QChevron/types.d.ts.map +1 -1
  88. package/esm/components/__internal__/QClearButton/QClearButton.vue.js +8 -8
  89. package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -1
  90. package/esm/components/index.js +63 -62
  91. package/esm/composables/defaults.js +4 -4
  92. package/esm/composables/theme.d.ts.map +1 -1
  93. package/esm/composables/theme.js +5 -5
  94. package/esm/composables/useColor/index.d.ts.map +1 -1
  95. package/esm/composables/useColor/index.js +27 -25
  96. package/esm/composables/useColor/types.d.ts +9 -1
  97. package/esm/composables/useColor/types.d.ts.map +1 -1
  98. package/esm/framework.d.ts +1 -1
  99. package/esm/framework.d.ts.map +1 -1
  100. package/esm/index.d.ts +1 -0
  101. package/esm/templates/theme.d.ts.map +1 -1
  102. package/esm/utils/color.d.ts +6 -0
  103. package/esm/utils/color.d.ts.map +1 -1
  104. package/esm/utils/color.js +16 -12
  105. package/esm/utils/theme.d.ts +1 -1
  106. package/esm/utils/theme.d.ts.map +1 -1
  107. package/package.json +1 -1
@@ -1,19 +1,19 @@
1
- import { defineComponent as ie, mergeModels as H, useModel as S, ref as g, onMounted as ue, computed as m, watch as k, nextTick as I, createElementBlock as T, openBlock as b, Fragment as se, createVNode as M, unref as v, mergeProps as de, withModifiers as K, createSlots as re, withCtx as r, renderSlot as f, createBlock as A, createCommentVNode as j, createElementVNode as fe, toDisplayString as ce } from "vue";
1
+ import { defineComponent as ie, mergeModels as H, useModel as T, ref as g, onMounted as ue, computed as m, watch as k, nextTick as I, createElementBlock as A, openBlock as b, Fragment as se, createVNode as B, unref as v, mergeProps as de, withModifiers as K, createSlots as re, withCtx as r, renderSlot as f, createBlock as _, createCommentVNode as j, createElementVNode as fe, toDisplayString as ce } from "vue";
2
2
  import { DEFAULT_ICONS as me, DEFAULT_TEXTS as ve } from "./types.js";
3
3
  import { QButton as pe } from "../QButton/index.js";
4
4
  import { QList as be } from "../QList/index.js";
5
- import { QOverlay as ye } from "../QOverlay/index.js";
6
- import { QSpinnerLoader as he } from "../QSpinnerLoader/index.js";
5
+ import { QOverlay as he } from "../QOverlay/index.js";
6
+ import { QSpinnerLoader as ye } from "../QSpinnerLoader/index.js";
7
7
  import { QTextField as ge } from "../QTextField/index.js";
8
8
  import { QChevron as ke } from "../__internal__/QChevron/index.js";
9
9
  import { QClearButton as Ie } from "../__internal__/QClearButton/index.js";
10
- const xe = ["data-key"], we = {
10
+ const we = ["data-key"], xe = {
11
11
  key: 0,
12
12
  class: "q-select__loader"
13
13
  }, Ve = {
14
14
  key: 2,
15
15
  class: "q-select__loader"
16
- }, Se = /* @__PURE__ */ ie({
16
+ }, Te = /* @__PURE__ */ ie({
17
17
  inheritAttrs: !1,
18
18
  __name: "QCombobox",
19
19
  props: /* @__PURE__ */ H({
@@ -37,10 +37,10 @@ const xe = ["data-key"], we = {
37
37
  selectionMode: { default: "automatic" },
38
38
  filterMode: { default: "builtin" },
39
39
  loading: { type: Boolean },
40
- emptyValue: { type: [String, Number, Boolean, Symbol] },
40
+ emptyValue: {},
41
41
  icons: { default: () => me }
42
42
  }, {
43
- modelValue: { type: [String, Number, Boolean, Symbol] },
43
+ modelValue: {},
44
44
  modelModifiers: {},
45
45
  open: { type: Boolean },
46
46
  openModifiers: {},
@@ -48,18 +48,18 @@ const xe = ["data-key"], we = {
48
48
  searchModifiers: {}
49
49
  }),
50
50
  emits: /* @__PURE__ */ H(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
51
- setup(x, { expose: W, emit: X }) {
52
- const l = x, w = X, d = S(x, "modelValue"), i = S(x, "open"), u = S(x, "search"), o = g(void 0), c = g(null), s = g(null), V = g(null), L = g(null);
53
- ue(h);
51
+ setup(w, { expose: W, emit: X }) {
52
+ const l = w, x = X, d = T(w, "modelValue"), i = T(w, "open"), u = T(w, "search"), o = g(void 0), c = g(null), s = g(null), V = g(null), L = g(null);
53
+ ue(y);
54
54
  const q = m(() => l.clearable && !l.readonly && !l.disabled), p = m(() => {
55
55
  var e;
56
56
  return l.filterMode === "manual" || !J.value ? l.items ?? [] : ((e = l.items) == null ? void 0 : e.filter(
57
57
  (t) => t[l.itemLabel].toLowerCase().startsWith(u.value.toLowerCase())
58
58
  )) ?? [];
59
- }), y = m(() => {
59
+ }), h = m(() => {
60
60
  var e;
61
61
  return (e = l.items) == null ? void 0 : e.find((t) => t[l.itemValue] === d.value);
62
- }), _ = m(() => y.value === void 0), C = m(() => {
62
+ }), Q = m(() => h.value === void 0), C = m(() => {
63
63
  const e = o.value;
64
64
  if (e !== void 0 && p.value[e])
65
65
  return p.value[e];
@@ -71,21 +71,21 @@ const xe = ["data-key"], we = {
71
71
  return e == null ? void 0 : e.id;
72
72
  }), J = m(() => {
73
73
  var e;
74
- return u.value.length > 0 && u.value !== ((e = y.value) == null ? void 0 : e[l.itemLabel]);
74
+ return u.value.length > 0 && u.value !== ((e = h.value) == null ? void 0 : e[l.itemLabel]);
75
75
  });
76
- function Q(e) {
76
+ function S(e) {
77
77
  d.value = e, F();
78
78
  }
79
- function h() {
79
+ function y() {
80
80
  var t;
81
- const e = ((t = y.value) == null ? void 0 : t[l.itemLabel]) || "";
81
+ const e = ((t = h.value) == null ? void 0 : t[l.itemLabel]) || "";
82
82
  u.value !== e && (u.value = e);
83
83
  }
84
84
  function D() {
85
- i.value || l.readonly || l.disabled || (w("before-show"), i.value = !0, E());
85
+ i.value || l.readonly || l.disabled || (x("before-show"), i.value = !0, E());
86
86
  }
87
87
  function F() {
88
- i.value && (w("before-hide"), i.value = !1, o.value = void 0);
88
+ i.value && (x("before-hide"), i.value = !1, o.value = void 0);
89
89
  }
90
90
  function Y() {
91
91
  i.value ? F() : U();
@@ -94,16 +94,16 @@ const xe = ["data-key"], we = {
94
94
  q.value && (d.value = l.emptyValue, o.value = void 0, E());
95
95
  }
96
96
  function U() {
97
- if (D(), y.value !== void 0) {
98
- const e = p.value.indexOf(y.value);
99
- e !== -1 && I(() => O(e));
97
+ if (D(), h.value !== void 0) {
98
+ const e = p.value.indexOf(h.value);
99
+ e !== -1 && I(() => z(e));
100
100
  }
101
101
  }
102
102
  function ee(e) {
103
103
  var t, a;
104
104
  if (!(!e.key || l.readonly || l.disabled))
105
105
  if (["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "Escape")
106
- h(), i.value && F();
106
+ y(), i.value && F();
107
107
  else if (["ArrowDown", "ArrowUp"].includes(e.key))
108
108
  i.value ? I(() => {
109
109
  if (o.value === void 0)
@@ -117,12 +117,12 @@ const xe = ["data-key"], we = {
117
117
  }));
118
118
  else if (e.key === "Enter") {
119
119
  if (C.value === void 0) return;
120
- Q(C.value[l.itemValue]);
120
+ S(C.value[l.itemValue]);
121
121
  } else e.key === "Home" ? o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex() : e.key === "End" ? o.value = (a = s.value) == null ? void 0 : a.getLastFocusableItemIndex() : (/^[a-z]$/i.test(e.key) || e.key === "Backspace") && D();
122
122
  }
123
123
  function $() {
124
124
  var e, t;
125
- if (_.value)
125
+ if (Q.value)
126
126
  o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex();
127
127
  else {
128
128
  const a = p.value.findIndex(
@@ -139,14 +139,14 @@ const xe = ["data-key"], we = {
139
139
  var a;
140
140
  o.value = (a = s.value) == null ? void 0 : a.getAdjacentItemIndex(e, t);
141
141
  }
142
- function N(e) {
143
- var B, z, P, R;
144
- const t = ((B = V == null ? void 0 : V.value) == null ? void 0 : B.$el) === e.relatedTarget, a = (P = (z = c == null ? void 0 : c.value) == null ? void 0 : z.$el) == null ? void 0 : P.contains(e.relatedTarget), n = (R = L == null ? void 0 : L.value) == null ? void 0 : R.contains(e.relatedTarget);
142
+ function O(e) {
143
+ var M, N, P, R;
144
+ const t = ((M = V == null ? void 0 : V.value) == null ? void 0 : M.$el) === e.relatedTarget, a = (P = (N = c == null ? void 0 : c.value) == null ? void 0 : N.$el) == null ? void 0 : P.contains(e.relatedTarget), n = (R = L == null ? void 0 : L.value) == null ? void 0 : R.contains(e.relatedTarget);
145
145
  if (t || n || a) {
146
146
  e.preventDefault(), e.stopPropagation();
147
147
  return;
148
148
  }
149
- F(), q.value && !u.value && (d.value = l.emptyValue), h();
149
+ F(), q.value && !u.value && (d.value = l.emptyValue), y();
150
150
  }
151
151
  function E() {
152
152
  var e, t;
@@ -156,27 +156,27 @@ const xe = ["data-key"], we = {
156
156
  E();
157
157
  }
158
158
  function oe() {
159
- w("show");
159
+ x("show");
160
160
  }
161
161
  function ne() {
162
- w("hide");
162
+ x("hide");
163
163
  }
164
- function O(e) {
164
+ function z(e) {
165
165
  var a;
166
166
  const t = (a = s.value) == null ? void 0 : a.getItem(e);
167
167
  s.value && (s.value.$el.scrollTop = t == null ? void 0 : t.offsetTop);
168
168
  }
169
- return k(d, h), k(
169
+ return k(d, y), k(
170
170
  () => l.items,
171
171
  (e, t) => {
172
- if (!_.value) {
172
+ if (!Q.value) {
173
173
  const a = t == null ? void 0 : t.find((n) => n[l.itemValue] === d.value);
174
- u.value === (a == null ? void 0 : a[l.itemLabel]) && h();
174
+ u.value === (a == null ? void 0 : a[l.itemLabel]) && y();
175
175
  }
176
176
  },
177
177
  { deep: !0 }
178
178
  ), k(o, (e) => {
179
- e !== void 0 && O(e);
179
+ e !== void 0 && z(e);
180
180
  }), k(u, (e) => {
181
181
  e && i.value && l.selectionMode === "automatic" && I($);
182
182
  }), k(
@@ -188,11 +188,11 @@ const xe = ["data-key"], we = {
188
188
  triggerEl: c
189
189
  }), (e, t) => {
190
190
  var a;
191
- return b(), T(
191
+ return b(), A(
192
192
  se,
193
193
  null,
194
194
  [
195
- M(v(ge), de({
195
+ B(v(ge), de({
196
196
  id: l.id,
197
197
  ref_key: "triggerEl",
198
198
  ref: c,
@@ -221,7 +221,7 @@ const xe = ["data-key"], we = {
221
221
  size: l.size
222
222
  }, e.$attrs, {
223
223
  onClick: U,
224
- onFocusout: N,
224
+ onFocusout: O,
225
225
  onKeydown: K(ee, ["stop"])
226
226
  }), re({
227
227
  "label.prepend": r(() => [
@@ -232,19 +232,19 @@ const xe = ["data-key"], we = {
232
232
  ]),
233
233
  append: r(() => [
234
234
  f(e.$slots, "append"),
235
- q.value && u.value ? (b(), A(v(Ie), {
235
+ q.value && u.value ? (b(), _(v(Ie), {
236
236
  key: 0,
237
237
  icons: l.icons,
238
238
  texts: l.texts,
239
239
  onClick: Z
240
240
  }, null, 8, ["icons", "texts"])) : j("v-if", !0),
241
- l.readonly ? j("v-if", !0) : (b(), A(v(pe), {
241
+ l.readonly ? j("v-if", !0) : (b(), _(v(pe), {
242
242
  key: 1,
243
243
  ref_key: "toggleRef",
244
244
  ref: V,
245
245
  class: "q-combobox__chevron",
246
246
  "aria-label": l.texts.showOptions,
247
- variant: "text",
247
+ variant: "ghost",
248
248
  color: "neutral",
249
249
  borderless: "",
250
250
  tabindex: "-1",
@@ -252,7 +252,7 @@ const xe = ["data-key"], we = {
252
252
  onMousedown: K(Y, ["stop", "prevent"])
253
253
  }, {
254
254
  default: r(() => [
255
- M(v(ke), {
255
+ B(v(ke), {
256
256
  "model-value": i.value,
257
257
  icons: l.icons
258
258
  }, null, 8, ["model-value", "icons"])
@@ -279,7 +279,7 @@ const xe = ["data-key"], we = {
279
279
  key: "1"
280
280
  } : void 0
281
281
  ]), 1040, ["id", "modelValue", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
282
- M(v(ye), {
282
+ B(v(he), {
283
283
  modelValue: i.value,
284
284
  "onUpdate:modelValue": t[1] || (t[1] = (n) => i.value = n),
285
285
  spy: "",
@@ -301,12 +301,12 @@ const xe = ["data-key"], we = {
301
301
  class: "q-select__body",
302
302
  "data-testid": "combobox-dropdown",
303
303
  "data-key": l.id,
304
- onFocusout: N
304
+ onFocusout: O
305
305
  }, [
306
306
  f(e.$slots, "body.prepend"),
307
- l.loading ? (b(), T("div", we, [
308
- M(v(he), { size: 24 })
309
- ])) : p.value.length ? (b(), A(v(be), {
307
+ l.loading ? (b(), A("div", xe, [
308
+ B(v(ye), { size: 24 })
309
+ ])) : p.value.length ? (b(), _(v(be), {
310
310
  key: 1,
311
311
  ref_key: "listRef",
312
312
  ref: s,
@@ -319,14 +319,14 @@ const xe = ["data-key"], we = {
319
319
  "item-label": l.itemLabel,
320
320
  "item-value": l.itemValue,
321
321
  onMouseup: ae,
322
- "onUpdate:modelValue": Q
322
+ "onUpdate:modelValue": S
323
323
  }, {
324
- item: r(({ item: B }) => [
325
- f(e.$slots, "item", { item: B })
324
+ item: r(({ item: M }) => [
325
+ f(e.$slots, "item", { item: M })
326
326
  ]),
327
327
  _: 3
328
328
  /* FORWARDED */
329
- }, 8, ["model-value", "highlighted", "items", "groups", "item-label", "item-value"])) : (b(), T(
329
+ }, 8, ["model-value", "highlighted", "items", "groups", "item-label", "item-value"])) : (b(), A(
330
330
  "div",
331
331
  Ve,
332
332
  ce(l.texts.noData),
@@ -334,7 +334,7 @@ const xe = ["data-key"], we = {
334
334
  /* TEXT */
335
335
  )),
336
336
  f(e.$slots, "body.append")
337
- ], 40, xe)
337
+ ], 40, we)
338
338
  ];
339
339
  }),
340
340
  _: 3
@@ -348,5 +348,5 @@ const xe = ["data-key"], we = {
348
348
  }
349
349
  });
350
350
  export {
351
- Se as default
351
+ Te as default
352
352
  };
@@ -1,25 +1,21 @@
1
1
  declare const QCombobox: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
3
- modelValue?: import('../../types/primitive').Primitive;
3
+ modelValue?: any;
4
4
  open?: boolean;
5
5
  search?: string;
6
6
  } & Omit<import('..').QTextFieldProps, "type"> & {
7
- items?: (Omit<import('..').QListItemProps, "value" | "label"> & {
8
- [key: string]: any;
9
- })[];
10
- groups?: (import('..').QListItemGroupProps & {
11
- id: string;
12
- })[];
7
+ items?: import('../QList/types').Item[];
8
+ groups?: import('../QList/types').Group[];
13
9
  itemValue?: string;
14
10
  itemLabel?: string;
15
11
  selectionMode?: "manual" | "automatic";
16
12
  filterMode?: "builtin" | "manual";
17
13
  loading?: boolean;
18
- emptyValue?: import('../../types/primitive').Primitive;
14
+ emptyValue?: any;
19
15
  icons?: typeof import('./types').DEFAULT_ICONS;
20
16
  texts?: typeof import('./types').DEFAULT_TEXTS;
21
17
  }> & Readonly<{
22
- "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
23
19
  "onBefore-show"?: (() => any) | undefined;
24
20
  "onBefore-hide"?: (() => any) | undefined;
25
21
  onShow?: (() => any) | undefined;
@@ -411,7 +407,7 @@ declare const QCombobox: {
411
407
  };
412
408
  }) | null>;
413
409
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
414
- "update:modelValue": (value: import('../../types/primitive').Primitive) => any;
410
+ "update:modelValue": (value: any) => any;
415
411
  "update:open": (value: boolean) => any;
416
412
  "update:search": (value: string) => any;
417
413
  } & {
@@ -428,9 +424,7 @@ declare const QCombobox: {
428
424
  showOptions: string;
429
425
  clearValue: string;
430
426
  };
431
- groups: (import('..').QListItemGroupProps & {
432
- id: string;
433
- })[];
427
+ groups: import('../QList/types').Group[];
434
428
  itemValue: string;
435
429
  itemLabel: string;
436
430
  selectionMode: "manual" | "automatic";
@@ -708,17 +702,18 @@ declare const QCombobox: {
708
702
  $: import('vue').ComponentInternalInstance;
709
703
  $data: {};
710
704
  $props: {
711
- readonly modelValue?: import('../../types/primitive').Primitive | undefined;
705
+ readonly modelValue?: any;
712
706
  readonly id?: string | undefined;
713
707
  readonly class?: string | unknown[] | undefined;
714
- readonly highlighted?: import('../../types/primitive').Primitive | undefined;
708
+ readonly highlighted?: any;
715
709
  readonly items?: import('../QList/types').Item[] | undefined;
716
710
  readonly groups?: import('../QList/types').Group[] | undefined;
717
711
  readonly itemValue?: string | undefined;
718
712
  readonly itemLabel?: string | undefined;
719
713
  readonly disabled?: boolean | undefined;
720
714
  readonly selectable?: boolean | undefined;
721
- readonly "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
715
+ readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
716
+ readonly onClick?: ((key: any) => any) | undefined;
722
717
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
723
718
  $attrs: {
724
719
  [x: string]: unknown;
@@ -731,16 +726,17 @@ declare const QCombobox: {
731
726
  $: import('vue').ComponentInternalInstance;
732
727
  $data: {};
733
728
  $props: {
734
- readonly value: import('../../types/primitive').Primitive;
729
+ readonly modelValue?: boolean | undefined;
730
+ readonly value: any;
735
731
  readonly label: string;
736
732
  readonly icon?: import('..').Icon | undefined;
737
733
  readonly selectable?: boolean | undefined;
738
- readonly selected?: boolean | undefined;
739
734
  readonly highlighted?: boolean | undefined;
740
735
  readonly disabled?: boolean | undefined;
741
736
  readonly description?: string | undefined;
742
737
  readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
743
- readonly onSelect?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
738
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
739
+ readonly onClick?: (() => any) | undefined;
744
740
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
745
741
  $attrs: {
746
742
  [x: string]: unknown;
@@ -754,12 +750,17 @@ declare const QCombobox: {
754
750
  $root: import('vue').ComponentPublicInstance | null;
755
751
  $parent: import('vue').ComponentPublicInstance | null;
756
752
  $host: Element | null;
757
- $emit: (event: "select", value: import('../../types/primitive').Primitive) => void;
753
+ $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
758
754
  $el: HTMLLIElement;
759
- $options: import('vue').ComponentOptionsBase<Readonly<import('..').QListItemProps> & Readonly<{
760
- onSelect?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
761
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
762
- select: (value: import('../../types/primitive').Primitive) => any;
755
+ $options: import('vue').ComponentOptionsBase<Readonly<{
756
+ modelValue?: boolean;
757
+ } & import('..').QListItemProps> & Readonly<{
758
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
759
+ onClick?: (() => any) | undefined;
760
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
761
+ "update:modelValue": (value: boolean) => any;
762
+ } & {
763
+ click: () => any;
763
764
  }, string, {
764
765
  icons: typeof import('../QList/types').DEFAULT_ICONS;
765
766
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -784,8 +785,11 @@ declare const QCombobox: {
784
785
  $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;
785
786
  } & Readonly<{
786
787
  icons: typeof import('../QList/types').DEFAULT_ICONS;
787
- }> & Omit<Readonly<import('..').QListItemProps> & Readonly<{
788
- onSelect?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
788
+ }> & Omit<Readonly<{
789
+ modelValue?: boolean;
790
+ } & import('..').QListItemProps> & Readonly<{
791
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
792
+ onClick?: (() => any) | undefined;
789
793
  }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
790
794
  $slots: {
791
795
  prepend?(_: {}): any;
@@ -800,12 +804,12 @@ declare const QCombobox: {
800
804
  $root: import('vue').ComponentPublicInstance | null;
801
805
  $parent: import('vue').ComponentPublicInstance | null;
802
806
  $host: Element | null;
803
- $emit: (event: "update:modelValue", value: import('../../types/primitive').Primitive) => void;
807
+ $emit: ((event: "update:modelValue", value: any) => void) & ((event: "click", key: any) => void);
804
808
  $el: any;
805
809
  $options: import('vue').ComponentOptionsBase<Readonly<{
806
- modelValue?: import('../../types/primitive').Primitive;
810
+ modelValue?: any;
807
811
  } & import('../../types/component').QBaseComponentProps & {
808
- highlighted?: import('../../types/primitive').Primitive;
812
+ highlighted?: any;
809
813
  items?: import('../QList/types').Item[];
810
814
  groups?: import('../QList/types').Group[];
811
815
  itemValue?: string;
@@ -813,14 +817,17 @@ declare const QCombobox: {
813
817
  disabled?: boolean;
814
818
  selectable?: boolean;
815
819
  }> & Readonly<{
816
- "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
820
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
821
+ onClick?: ((key: any) => any) | undefined;
817
822
  }>, {
818
823
  getItem: (idx: number) => HTMLElement | undefined;
819
824
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
820
825
  getFirstFocusableItemIndex: () => number;
821
826
  getLastFocusableItemIndex: () => number;
822
827
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
823
- "update:modelValue": (value: import('../../types/primitive').Primitive) => any;
828
+ "update:modelValue": (value: any) => any;
829
+ } & {
830
+ click: (key: any) => any;
824
831
  }, string, {
825
832
  groups: import('../QList/types').Group[];
826
833
  itemValue: string;
@@ -850,9 +857,9 @@ declare const QCombobox: {
850
857
  itemValue: string;
851
858
  itemLabel: string;
852
859
  }> & Omit<Readonly<{
853
- modelValue?: import('../../types/primitive').Primitive;
860
+ modelValue?: any;
854
861
  } & import('../../types/component').QBaseComponentProps & {
855
- highlighted?: import('../../types/primitive').Primitive;
862
+ highlighted?: any;
856
863
  items?: import('../QList/types').Item[];
857
864
  groups?: import('../QList/types').Group[];
858
865
  itemValue?: string;
@@ -860,7 +867,8 @@ declare const QCombobox: {
860
867
  disabled?: boolean;
861
868
  selectable?: boolean;
862
869
  }> & Readonly<{
863
- "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
870
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
871
+ onClick?: ((key: any) => any) | undefined;
864
872
  }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
865
873
  getItem: (idx: number) => HTMLElement | undefined;
866
874
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
@@ -886,26 +894,22 @@ declare const QCombobox: {
886
894
  M: {};
887
895
  Defaults: {};
888
896
  }, Readonly<{
889
- modelValue?: import('../../types/primitive').Primitive;
897
+ modelValue?: any;
890
898
  open?: boolean;
891
899
  search?: string;
892
900
  } & Omit<import('..').QTextFieldProps, "type"> & {
893
- items?: (Omit<import('..').QListItemProps, "value" | "label"> & {
894
- [key: string]: any;
895
- })[];
896
- groups?: (import('..').QListItemGroupProps & {
897
- id: string;
898
- })[];
901
+ items?: import('../QList/types').Item[];
902
+ groups?: import('../QList/types').Group[];
899
903
  itemValue?: string;
900
904
  itemLabel?: string;
901
905
  selectionMode?: "manual" | "automatic";
902
906
  filterMode?: "builtin" | "manual";
903
907
  loading?: boolean;
904
- emptyValue?: import('../../types/primitive').Primitive;
908
+ emptyValue?: any;
905
909
  icons?: typeof import('./types').DEFAULT_ICONS;
906
910
  texts?: typeof import('./types').DEFAULT_TEXTS;
907
911
  }> & Readonly<{
908
- "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
912
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
909
913
  "onBefore-show"?: (() => any) | undefined;
910
914
  "onBefore-hide"?: (() => any) | undefined;
911
915
  onShow?: (() => any) | undefined;
@@ -1305,9 +1309,7 @@ declare const QCombobox: {
1305
1309
  showOptions: string;
1306
1310
  clearValue: string;
1307
1311
  };
1308
- groups: (import('..').QListItemGroupProps & {
1309
- id: string;
1310
- })[];
1312
+ groups: import('../QList/types').Group[];
1311
1313
  itemValue: string;
1312
1314
  itemLabel: string;
1313
1315
  selectionMode: "manual" | "automatic";
@@ -1317,26 +1319,22 @@ declare const QCombobox: {
1317
1319
  __isTeleport?: never;
1318
1320
  __isSuspense?: never;
1319
1321
  } & import('vue').ComponentOptionsBase<Readonly<{
1320
- modelValue?: import('../../types/primitive').Primitive;
1322
+ modelValue?: any;
1321
1323
  open?: boolean;
1322
1324
  search?: string;
1323
1325
  } & Omit<import('..').QTextFieldProps, "type"> & {
1324
- items?: (Omit<import('..').QListItemProps, "value" | "label"> & {
1325
- [key: string]: any;
1326
- })[];
1327
- groups?: (import('..').QListItemGroupProps & {
1328
- id: string;
1329
- })[];
1326
+ items?: import('../QList/types').Item[];
1327
+ groups?: import('../QList/types').Group[];
1330
1328
  itemValue?: string;
1331
1329
  itemLabel?: string;
1332
1330
  selectionMode?: "manual" | "automatic";
1333
1331
  filterMode?: "builtin" | "manual";
1334
1332
  loading?: boolean;
1335
- emptyValue?: import('../../types/primitive').Primitive;
1333
+ emptyValue?: any;
1336
1334
  icons?: typeof import('./types').DEFAULT_ICONS;
1337
1335
  texts?: typeof import('./types').DEFAULT_TEXTS;
1338
1336
  }> & Readonly<{
1339
- "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
1337
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
1340
1338
  "onBefore-show"?: (() => any) | undefined;
1341
1339
  "onBefore-hide"?: (() => any) | undefined;
1342
1340
  onShow?: (() => any) | undefined;
@@ -1728,7 +1726,7 @@ declare const QCombobox: {
1728
1726
  };
1729
1727
  }) | null>;
1730
1728
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1731
- "update:modelValue": (value: import('../../types/primitive').Primitive) => any;
1729
+ "update:modelValue": (value: any) => any;
1732
1730
  "update:open": (value: boolean) => any;
1733
1731
  "update:search": (value: string) => any;
1734
1732
  } & {
@@ -1745,9 +1743,7 @@ declare const QCombobox: {
1745
1743
  showOptions: string;
1746
1744
  clearValue: string;
1747
1745
  };
1748
- groups: (import('..').QListItemGroupProps & {
1749
- id: string;
1750
- })[];
1746
+ groups: import('../QList/types').Group[];
1751
1747
  itemValue: string;
1752
1748
  itemLabel: string;
1753
1749
  selectionMode: "manual" | "automatic";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAI+vzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;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,CAAA"}
@@ -1,19 +1,14 @@
1
- import { QListItemGroupProps, QListItemProps } from '../QList';
2
- import { Primitive } from '../../types/primitive';
1
+ import { Group, Item } from '../QList/types';
3
2
  import { QTextFieldProps } from '../QTextField/types';
4
3
  export type QComboboxProps = Omit<QTextFieldProps, 'type'> & {
5
4
  /**
6
5
  * The list of available items for selection.
7
6
  */
8
- items?: (Omit<QListItemProps, 'value' | 'label'> & {
9
- [key: string]: any;
10
- })[];
7
+ items?: Item[];
11
8
  /**
12
9
  * The item groups used for organizing the available items.
13
10
  */
14
- groups?: (QListItemGroupProps & {
15
- id: string;
16
- })[];
11
+ groups?: Group[];
17
12
  /**
18
13
  * Property on each item that contains its value.
19
14
  */
@@ -38,7 +33,7 @@ export type QComboboxProps = Omit<QTextFieldProps, 'type'> & {
38
33
  * The value to be used in comparisons,
39
34
  * used to check if the field has a selected item.
40
35
  */
41
- emptyValue?: Primitive;
36
+ emptyValue?: any;
42
37
  /**
43
38
  * Custom icon configurations.
44
39
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAC7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;QAGlD,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;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UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGM,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAGtD,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG;IAChD;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA;AAGhC,eAAO,MAAM,aAAa;;CAEQ,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG;IAChD;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,OAAO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