@quidgest/ui 0.15.8 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/manifest/components.json +4 -1
  2. package/dist/ui.css +9 -6
  3. package/dist/ui.esm.js +3559 -3456
  4. package/dist/ui.js +26 -26
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +738 -731
  7. package/dist/ui.scss +11 -7
  8. package/esm/components/QAccordion/QAccordion.d.ts +4 -3
  9. package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
  10. package/esm/components/QAccordion/QAccordion.vue.js +21 -17
  11. package/esm/components/QAccordion/QAccordionItem.d.ts +19 -0
  12. package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -0
  13. package/esm/components/QAccordion/QAccordionItem.vue.js +42 -0
  14. package/esm/components/QAccordion/QAccordionItem.vue2.js +4 -0
  15. package/esm/components/QAccordion/index.d.ts +35 -15
  16. package/esm/components/QAccordion/index.d.ts.map +1 -1
  17. package/esm/components/QAccordion/index.js +6 -4
  18. package/esm/components/QAccordion/types.d.ts +25 -5
  19. package/esm/components/QAccordion/types.d.ts.map +1 -1
  20. package/esm/components/QButton/QButton.d.ts.map +1 -1
  21. package/esm/components/QButton/QButton.vue.js +9 -11
  22. package/esm/components/QButton/types.d.ts +0 -4
  23. package/esm/components/QButton/types.d.ts.map +1 -1
  24. package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
  25. package/esm/components/QCollapsible/QCollapsible.vue.js +60 -65
  26. package/esm/components/QCollapsible/index.d.ts +14 -14
  27. package/esm/components/QCollapsible/index.d.ts.map +1 -1
  28. package/esm/components/QCombobox/QCombobox.d.ts +44 -49
  29. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  30. package/esm/components/QCombobox/QCombobox.vue.js +71 -71
  31. package/esm/components/QCombobox/index.d.ts +40 -59
  32. package/esm/components/QCombobox/index.d.ts.map +1 -1
  33. package/esm/components/QCombobox/types.d.ts +4 -9
  34. package/esm/components/QCombobox/types.d.ts.map +1 -1
  35. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +2 -3
  36. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  37. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +45 -46
  38. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  39. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +24 -24
  40. package/esm/components/QDropdownMenu/index.d.ts +2 -2
  41. package/esm/components/QList/QList.d.ts +15 -16
  42. package/esm/components/QList/QList.d.ts.map +1 -1
  43. package/esm/components/QList/QList.vue.js +46 -46
  44. package/esm/components/QList/QListItem.d.ts +1 -1
  45. package/esm/components/QList/QListItem.vue.js +19 -19
  46. package/esm/components/QList/index.d.ts +24 -24
  47. package/esm/components/QList/types.d.ts +3 -4
  48. package/esm/components/QList/types.d.ts.map +1 -1
  49. package/esm/components/QRadioGroup/QRadioButton.vue.js +3 -3
  50. package/esm/components/QRadioGroup/QRadioGroup.d.ts +3 -4
  51. package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
  52. package/esm/components/QRadioGroup/QRadioGroup.vue.js +8 -8
  53. package/esm/components/QRadioGroup/index.d.ts +8 -8
  54. package/esm/components/QSelect/QSelect.d.ts +44 -47
  55. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  56. package/esm/components/QSelect/QSelect.vue.js +49 -49
  57. package/esm/components/QSelect/index.d.ts +40 -58
  58. package/esm/components/QSelect/index.d.ts.map +1 -1
  59. package/esm/components/QSelect/types.d.ts +4 -9
  60. package/esm/components/QSelect/types.d.ts.map +1 -1
  61. package/esm/components/{QButtonToggle/QButtonToggle.d.ts → QToggle/QToggle.d.ts} +11 -9
  62. package/esm/components/QToggle/QToggle.d.ts.map +1 -0
  63. package/esm/components/QToggle/QToggle.vue.js +40 -0
  64. package/esm/components/QToggle/QToggle.vue2.js +4 -0
  65. package/esm/components/QToggle/index.d.ts +71 -0
  66. package/esm/components/QToggle/index.d.ts.map +1 -0
  67. package/esm/components/{QButtonToggle → QToggle}/index.js +3 -3
  68. package/esm/components/QToggle/types.d.ts +3 -0
  69. package/esm/components/QToggle/types.d.ts.map +1 -0
  70. package/esm/components/QToggleGroup/QToggleGroup.d.ts +28 -0
  71. package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -0
  72. package/esm/components/QToggleGroup/QToggleGroup.vue.js +49 -0
  73. package/esm/components/QToggleGroup/QToggleGroup.vue2.js +4 -0
  74. package/esm/components/QToggleGroup/QToggleGroupItem.d.ts +19 -0
  75. package/esm/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -0
  76. package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +44 -0
  77. package/esm/components/QToggleGroup/QToggleGroupItem.vue2.js +4 -0
  78. package/esm/components/QToggleGroup/index.d.ts +75 -0
  79. package/esm/components/QToggleGroup/index.d.ts.map +1 -0
  80. package/esm/components/QToggleGroup/index.js +8 -0
  81. package/esm/components/QToggleGroup/types.d.ts +19 -0
  82. package/esm/components/QToggleGroup/types.d.ts.map +1 -0
  83. package/esm/components/index.d.ts +2 -1
  84. package/esm/components/index.d.ts.map +1 -1
  85. package/esm/components/index.js +83 -79
  86. package/esm/composables/{group.d.ts → useGroup/index.d.ts} +11 -3
  87. package/esm/composables/useGroup/index.d.ts.map +1 -0
  88. package/esm/composables/useGroup/index.js +38 -0
  89. package/esm/index.d.ts +4 -1
  90. package/package.json +1 -1
  91. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +0 -1
  92. package/esm/components/QButtonToggle/QButtonToggle.vue.js +0 -62
  93. package/esm/components/QButtonToggle/QButtonToggle.vue2.js +0 -4
  94. package/esm/components/QButtonToggle/index.d.ts +0 -51
  95. package/esm/components/QButtonToggle/index.d.ts.map +0 -1
  96. package/esm/components/QButtonToggle/types.d.ts +0 -29
  97. package/esm/components/QButtonToggle/types.d.ts.map +0 -1
  98. package/esm/composables/group.d.ts.map +0 -1
  99. package/esm/composables/group.js +0 -31
@@ -1,9 +1,9 @@
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";
@@ -13,7 +13,7 @@ const we = ["data-key"], xe = {
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 we = ["data-key"], xe = {
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: {},
@@ -49,134 +49,134 @@ const we = ["data-key"], xe = {
49
49
  }),
50
50
  emits: /* @__PURE__ */ H(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
51
51
  setup(w, { expose: W, emit: X }) {
52
- const l = w, x = X, d = S(w, "modelValue"), i = S(w, "open"), u = S(w, "search"), a = g(void 0), c = g(null), s = g(null), V = g(null), L = g(null);
53
- ue(h);
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(() => {
63
- const e = a.value;
62
+ }), Q = m(() => h.value === void 0), C = m(() => {
63
+ const e = o.value;
64
64
  if (e !== void 0 && p.value[e])
65
65
  return p.value[e];
66
66
  }), G = m(() => {
67
67
  var t;
68
- if (a.value === void 0)
68
+ if (o.value === void 0)
69
69
  return;
70
- const e = (t = s.value) == null ? void 0 : t.getItem(a.value);
70
+ const e = (t = s.value) == null ? void 0 : t.getItem(o.value);
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
85
  i.value || l.readonly || l.disabled || (x("before-show"), i.value = !0, E());
86
86
  }
87
87
  function F() {
88
- i.value && (x("before-hide"), i.value = !1, a.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();
92
92
  }
93
93
  function Z() {
94
- q.value && (d.value = l.emptyValue, a.value = void 0, E());
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
- var t, o;
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
- if (a.value === void 0)
109
+ if (o.value === void 0)
110
110
  $();
111
111
  else {
112
112
  const n = e.key === "ArrowDown" ? "next" : "prev";
113
- te(a.value, n);
113
+ te(o.value, n);
114
114
  }
115
115
  }) : (D(), I(() => {
116
116
  e.key === "ArrowDown" ? $() : le();
117
117
  }));
118
118
  else if (e.key === "Enter") {
119
119
  if (C.value === void 0) return;
120
- Q(C.value[l.itemValue]);
121
- } else e.key === "Home" ? a.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex() : e.key === "End" ? a.value = (o = s.value) == null ? void 0 : o.getLastFocusableItemIndex() : (/^[a-z]$/i.test(e.key) || e.key === "Backspace") && D();
120
+ S(C.value[l.itemValue]);
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)
126
- a.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex();
125
+ if (Q.value)
126
+ o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex();
127
127
  else {
128
- const o = p.value.findIndex(
128
+ const a = p.value.findIndex(
129
129
  (n) => n[l.itemValue] === d.value
130
130
  );
131
- o === -1 ? a.value = (e = s.value) == null ? void 0 : e.getFirstFocusableItemIndex() : a.value = o;
131
+ a === -1 ? o.value = (e = s.value) == null ? void 0 : e.getFirstFocusableItemIndex() : o.value = a;
132
132
  }
133
133
  }
134
134
  function le() {
135
135
  var e;
136
- a.value = (e = s.value) == null ? void 0 : e.getLastFocusableItemIndex();
136
+ o.value = (e = s.value) == null ? void 0 : e.getLastFocusableItemIndex();
137
137
  }
138
138
  function te(e, t) {
139
- var o;
140
- a.value = (o = s.value) == null ? void 0 : o.getAdjacentItemIndex(e, t);
139
+ var a;
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, o = (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);
145
- if (t || n || o) {
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
+ 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;
153
153
  (t = (e = c.value) == null ? void 0 : e.inputRef) == null || t.focus();
154
154
  }
155
- function oe() {
155
+ function ae() {
156
156
  E();
157
157
  }
158
- function ae() {
158
+ function oe() {
159
159
  x("show");
160
160
  }
161
161
  function ne() {
162
162
  x("hide");
163
163
  }
164
- function O(e) {
165
- var o;
166
- const t = (o = s.value) == null ? void 0 : o.getItem(e);
164
+ function z(e) {
165
+ var a;
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) {
173
- const o = t == null ? void 0 : t.find((n) => n[l.itemValue] === d.value);
174
- u.value === (o == null ? void 0 : o[l.itemLabel]) && h();
172
+ if (!Q.value) {
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]) && y();
175
175
  }
176
176
  },
177
177
  { deep: !0 }
178
- ), k(a, (e) => {
179
- e !== void 0 && O(e);
178
+ ), k(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(
@@ -187,12 +187,12 @@ const we = ["data-key"], xe = {
187
187
  ), W({
188
188
  triggerEl: c
189
189
  }), (e, t) => {
190
- var o;
191
- return b(), T(
190
+ var a;
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 we = ["data-key"], xe = {
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,13 +232,13 @@ const we = ["data-key"], xe = {
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,
@@ -252,7 +252,7 @@ const we = ["data-key"], xe = {
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 we = ["data-key"], xe = {
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: "",
@@ -288,8 +288,8 @@ const we = ["data-key"], xe = {
288
288
  placement: "bottom-start",
289
289
  width: "anchor",
290
290
  offset: 4,
291
- anchor: (o = c.value) == null ? void 0 : o.$el,
292
- onEnter: ae,
291
+ anchor: (a = c.value) == null ? void 0 : a.$el,
292
+ onEnter: oe,
293
293
  onLeave: ne
294
294
  }, {
295
295
  default: r(() => {
@@ -301,12 +301,12 @@ const we = ["data-key"], xe = {
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", xe, [
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,
@@ -318,15 +318,15 @@ const we = ["data-key"], xe = {
318
318
  groups: e.groups,
319
319
  "item-label": l.itemLabel,
320
320
  "item-value": l.itemValue,
321
- onMouseup: oe,
322
- "onUpdate:modelValue": Q
321
+ onMouseup: ae,
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),
@@ -348,5 +348,5 @@ const we = ["data-key"], xe = {
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";
@@ -644,7 +638,6 @@ declare const QCombobox: {
644
638
  readonly loading?: boolean | undefined;
645
639
  readonly size?: import('../QButton/types').QButtonSize | undefined;
646
640
  readonly iconPos?: import('../QButton/types').QButtonIconPosition | undefined;
647
- readonly active?: boolean | undefined;
648
641
  readonly pill?: boolean | undefined;
649
642
  readonly onClick?: ((event: Event) => any) | undefined;
650
643
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -708,18 +701,18 @@ declare const QCombobox: {
708
701
  $: import('vue').ComponentInternalInstance;
709
702
  $data: {};
710
703
  $props: {
711
- readonly modelValue?: import('../../types/primitive').Primitive | undefined;
704
+ readonly modelValue?: any;
712
705
  readonly id?: string | undefined;
713
706
  readonly class?: string | unknown[] | undefined;
714
- readonly highlighted?: import('../../types/primitive').Primitive | undefined;
707
+ readonly highlighted?: any;
715
708
  readonly items?: import('../QList/types').Item[] | undefined;
716
709
  readonly groups?: import('../QList/types').Group[] | undefined;
717
710
  readonly itemValue?: string | undefined;
718
711
  readonly itemLabel?: string | undefined;
719
712
  readonly disabled?: boolean | undefined;
720
713
  readonly selectable?: boolean | undefined;
721
- readonly "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
722
- readonly onClick?: ((key: import('../../types/primitive').Primitive) => any) | undefined;
714
+ readonly onClick?: ((key: any) => any) | undefined;
715
+ readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
723
716
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
724
717
  $attrs: {
725
718
  [x: string]: unknown;
@@ -733,7 +726,7 @@ declare const QCombobox: {
733
726
  $data: {};
734
727
  $props: {
735
728
  readonly modelValue?: boolean | undefined;
736
- readonly value: import('../../types/primitive').Primitive;
729
+ readonly value: any;
737
730
  readonly label: string;
738
731
  readonly icon?: import('..').Icon | undefined;
739
732
  readonly selectable?: boolean | undefined;
@@ -741,8 +734,8 @@ declare const QCombobox: {
741
734
  readonly disabled?: boolean | undefined;
742
735
  readonly description?: string | undefined;
743
736
  readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
744
- readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
745
737
  readonly onClick?: (() => any) | undefined;
738
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
746
739
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
747
740
  $attrs: {
748
741
  [x: string]: unknown;
@@ -756,13 +749,13 @@ declare const QCombobox: {
756
749
  $root: import('vue').ComponentPublicInstance | null;
757
750
  $parent: import('vue').ComponentPublicInstance | null;
758
751
  $host: Element | null;
759
- $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click") => void);
752
+ $emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
760
753
  $el: HTMLLIElement;
761
754
  $options: import('vue').ComponentOptionsBase<Readonly<{
762
755
  modelValue?: boolean;
763
756
  } & import('..').QListItemProps> & Readonly<{
764
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
765
757
  onClick?: (() => any) | undefined;
758
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
766
759
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
767
760
  "update:modelValue": (value: boolean) => any;
768
761
  } & {
@@ -794,8 +787,8 @@ declare const QCombobox: {
794
787
  }> & Omit<Readonly<{
795
788
  modelValue?: boolean;
796
789
  } & import('..').QListItemProps> & Readonly<{
797
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
798
790
  onClick?: (() => any) | undefined;
791
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
799
792
  }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
800
793
  $slots: {
801
794
  prepend?(_: {}): any;
@@ -810,12 +803,12 @@ declare const QCombobox: {
810
803
  $root: import('vue').ComponentPublicInstance | null;
811
804
  $parent: import('vue').ComponentPublicInstance | null;
812
805
  $host: Element | null;
813
- $emit: ((event: "update:modelValue", value: import('../../types/primitive').Primitive) => void) & ((event: "click", key: import('../../types/primitive').Primitive) => void);
806
+ $emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
814
807
  $el: any;
815
808
  $options: import('vue').ComponentOptionsBase<Readonly<{
816
- modelValue?: import('../../types/primitive').Primitive;
809
+ modelValue?: any;
817
810
  } & import('../../types/component').QBaseComponentProps & {
818
- highlighted?: import('../../types/primitive').Primitive;
811
+ highlighted?: any;
819
812
  items?: import('../QList/types').Item[];
820
813
  groups?: import('../QList/types').Group[];
821
814
  itemValue?: string;
@@ -823,17 +816,17 @@ declare const QCombobox: {
823
816
  disabled?: boolean;
824
817
  selectable?: boolean;
825
818
  }> & Readonly<{
826
- "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
827
- onClick?: ((key: import('../../types/primitive').Primitive) => any) | undefined;
819
+ onClick?: ((key: any) => any) | undefined;
820
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
828
821
  }>, {
829
822
  getItem: (idx: number) => HTMLElement | undefined;
830
823
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
831
824
  getFirstFocusableItemIndex: () => number;
832
825
  getLastFocusableItemIndex: () => number;
833
826
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
834
- "update:modelValue": (value: import('../../types/primitive').Primitive) => any;
827
+ "update:modelValue": (value: any) => any;
835
828
  } & {
836
- click: (key: import('../../types/primitive').Primitive) => any;
829
+ click: (key: any) => any;
837
830
  }, string, {
838
831
  groups: import('../QList/types').Group[];
839
832
  itemValue: string;
@@ -863,9 +856,9 @@ declare const QCombobox: {
863
856
  itemValue: string;
864
857
  itemLabel: string;
865
858
  }> & Omit<Readonly<{
866
- modelValue?: import('../../types/primitive').Primitive;
859
+ modelValue?: any;
867
860
  } & import('../../types/component').QBaseComponentProps & {
868
- highlighted?: import('../../types/primitive').Primitive;
861
+ highlighted?: any;
869
862
  items?: import('../QList/types').Item[];
870
863
  groups?: import('../QList/types').Group[];
871
864
  itemValue?: string;
@@ -873,8 +866,8 @@ declare const QCombobox: {
873
866
  disabled?: boolean;
874
867
  selectable?: boolean;
875
868
  }> & Readonly<{
876
- "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
877
- onClick?: ((key: import('../../types/primitive').Primitive) => any) | undefined;
869
+ onClick?: ((key: any) => any) | undefined;
870
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
878
871
  }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
879
872
  getItem: (idx: number) => HTMLElement | undefined;
880
873
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
@@ -900,26 +893,22 @@ declare const QCombobox: {
900
893
  M: {};
901
894
  Defaults: {};
902
895
  }, Readonly<{
903
- modelValue?: import('../../types/primitive').Primitive;
896
+ modelValue?: any;
904
897
  open?: boolean;
905
898
  search?: string;
906
899
  } & Omit<import('..').QTextFieldProps, "type"> & {
907
- items?: (Omit<import('..').QListItemProps, "value" | "label"> & {
908
- [key: string]: any;
909
- })[];
910
- groups?: (import('..').QListItemGroupProps & {
911
- id: string;
912
- })[];
900
+ items?: import('../QList/types').Item[];
901
+ groups?: import('../QList/types').Group[];
913
902
  itemValue?: string;
914
903
  itemLabel?: string;
915
904
  selectionMode?: "manual" | "automatic";
916
905
  filterMode?: "builtin" | "manual";
917
906
  loading?: boolean;
918
- emptyValue?: import('../../types/primitive').Primitive;
907
+ emptyValue?: any;
919
908
  icons?: typeof import('./types').DEFAULT_ICONS;
920
909
  texts?: typeof import('./types').DEFAULT_TEXTS;
921
910
  }> & Readonly<{
922
- "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
911
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
923
912
  "onBefore-show"?: (() => any) | undefined;
924
913
  "onBefore-hide"?: (() => any) | undefined;
925
914
  onShow?: (() => any) | undefined;
@@ -1319,9 +1308,7 @@ declare const QCombobox: {
1319
1308
  showOptions: string;
1320
1309
  clearValue: string;
1321
1310
  };
1322
- groups: (import('..').QListItemGroupProps & {
1323
- id: string;
1324
- })[];
1311
+ groups: import('../QList/types').Group[];
1325
1312
  itemValue: string;
1326
1313
  itemLabel: string;
1327
1314
  selectionMode: "manual" | "automatic";
@@ -1331,26 +1318,22 @@ declare const QCombobox: {
1331
1318
  __isTeleport?: never;
1332
1319
  __isSuspense?: never;
1333
1320
  } & import('vue').ComponentOptionsBase<Readonly<{
1334
- modelValue?: import('../../types/primitive').Primitive;
1321
+ modelValue?: any;
1335
1322
  open?: boolean;
1336
1323
  search?: string;
1337
1324
  } & Omit<import('..').QTextFieldProps, "type"> & {
1338
- items?: (Omit<import('..').QListItemProps, "value" | "label"> & {
1339
- [key: string]: any;
1340
- })[];
1341
- groups?: (import('..').QListItemGroupProps & {
1342
- id: string;
1343
- })[];
1325
+ items?: import('../QList/types').Item[];
1326
+ groups?: import('../QList/types').Group[];
1344
1327
  itemValue?: string;
1345
1328
  itemLabel?: string;
1346
1329
  selectionMode?: "manual" | "automatic";
1347
1330
  filterMode?: "builtin" | "manual";
1348
1331
  loading?: boolean;
1349
- emptyValue?: import('../../types/primitive').Primitive;
1332
+ emptyValue?: any;
1350
1333
  icons?: typeof import('./types').DEFAULT_ICONS;
1351
1334
  texts?: typeof import('./types').DEFAULT_TEXTS;
1352
1335
  }> & Readonly<{
1353
- "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
1336
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
1354
1337
  "onBefore-show"?: (() => any) | undefined;
1355
1338
  "onBefore-hide"?: (() => any) | undefined;
1356
1339
  onShow?: (() => any) | undefined;
@@ -1742,7 +1725,7 @@ declare const QCombobox: {
1742
1725
  };
1743
1726
  }) | null>;
1744
1727
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1745
- "update:modelValue": (value: import('../../types/primitive').Primitive) => any;
1728
+ "update:modelValue": (value: any) => any;
1746
1729
  "update:open": (value: boolean) => any;
1747
1730
  "update:search": (value: string) => any;
1748
1731
  } & {
@@ -1759,9 +1742,7 @@ declare const QCombobox: {
1759
1742
  showOptions: string;
1760
1743
  clearValue: string;
1761
1744
  };
1762
- groups: (import('..').QListItemGroupProps & {
1763
- id: string;
1764
- })[];
1745
+ groups: import('../QList/types').Group[];
1765
1746
  itemValue: string;
1766
1747
  itemLabel: string;
1767
1748
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAI2vzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAJn1zB,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,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
  */