@quidgest/ui 0.16.0 → 0.16.2

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 (35) hide show
  1. package/dist/ui.css +2 -6
  2. package/dist/ui.esm.js +374 -370
  3. package/dist/ui.js +7 -7
  4. package/dist/ui.min.css +1 -1
  5. package/dist/ui.min.js +107 -107
  6. package/dist/ui.scss +24 -25
  7. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  8. package/esm/components/QButtonGroup/QButtonGroup.vue.js +5 -4
  9. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  10. package/esm/components/QCombobox/QCombobox.vue.js +59 -57
  11. package/esm/components/QCombobox/index.d.ts +3 -0
  12. package/esm/components/QCombobox/index.d.ts.map +1 -1
  13. package/esm/components/QCombobox/types.d.ts +4 -0
  14. package/esm/components/QCombobox/types.d.ts.map +1 -1
  15. package/esm/components/QOverlay/QOverlay.vue.js +15 -16
  16. package/esm/components/QOverlay/index.d.ts +0 -3
  17. package/esm/components/QOverlay/index.d.ts.map +1 -1
  18. package/esm/components/QOverlay/types.d.ts +0 -4
  19. package/esm/components/QOverlay/types.d.ts.map +1 -1
  20. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +12 -13
  21. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  22. package/esm/components/QPopover/QPopover.vue.js +31 -34
  23. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  24. package/esm/components/QSelect/QSelect.vue.js +58 -56
  25. package/esm/components/QSelect/index.d.ts +3 -0
  26. package/esm/components/QSelect/index.d.ts.map +1 -1
  27. package/esm/components/QSelect/types.d.ts +4 -0
  28. package/esm/components/QSelect/types.d.ts.map +1 -1
  29. package/esm/components/QToggle/QToggle.d.ts.map +1 -1
  30. package/esm/components/QToggle/QToggle.vue.js +10 -7
  31. package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
  32. package/esm/components/QToggleGroup/QToggleGroup.vue.js +8 -9
  33. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  34. package/esm/components/QTooltip/QTooltip.vue.js +42 -40
  35. package/package.json +1 -1
package/dist/ui.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest UI v0.16.0
2
+ * Quidgest UI v0.16.2
3
3
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1750,7 +1750,7 @@ $arrow-tip-radius: 0.1rem;
1750
1750
  }
1751
1751
  }
1752
1752
  .q-popover {
1753
- .q-overlay__content {
1753
+ &__content {
1754
1754
  position: relative;
1755
1755
  display: flex;
1756
1756
  flex-direction: column;
@@ -2196,27 +2196,26 @@ $spinner-color: var(--q-theme-primary);
2196
2196
  }
2197
2197
  }
2198
2198
  }
2199
- .q-tooltip .q-overlay__content {
2200
- display: flex;
2201
- flex-direction: column;
2202
- gap: $space-base;
2203
- align-items: center;
2204
- padding: 0.5rem;
2205
- font-style: normal;
2206
- font-size: calc($font-size-base * 0.9);
2207
- font-weight: $font-weight-regular;
2208
- text-decoration: none;
2209
- text-shadow: none;
2210
- text-transform: none;
2211
- line-height: 1.5;
2212
- line-break: auto;
2213
- word-wrap: break-word;
2214
- word-break: normal;
2215
- word-spacing: normal;
2216
- white-space: normal;
2217
- letter-spacing: normal;
2218
- max-width: 200px;
2219
- }
2220
- .q-tooltip.q-overlay--inverted .q-overlay__content {
2221
- --q-overlay-border-color: var(--q-theme-on-background);
2199
+ .q-tooltip {
2200
+ &__content {
2201
+ display: flex;
2202
+ flex-direction: column;
2203
+ gap: $space-base;
2204
+ align-items: center;
2205
+ padding: 0.5rem;
2206
+ font-style: normal;
2207
+ font-size: calc($font-size-base * 0.9);
2208
+ font-weight: $font-weight-regular;
2209
+ text-decoration: none;
2210
+ text-shadow: none;
2211
+ text-transform: none;
2212
+ line-height: 1.5;
2213
+ line-break: auto;
2214
+ word-wrap: break-word;
2215
+ word-break: normal;
2216
+ word-spacing: normal;
2217
+ white-space: normal;
2218
+ letter-spacing: normal;
2219
+ max-width: 200px;
2220
+ }
2222
2221
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/QButtonGroup.vue"],"names":[],"mappings":"AAaA;AAuCC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAiBjD,iBAAS,cAAc;WA+BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,yTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/QButtonGroup.vue"],"names":[],"mappings":"AAcA;AAwCC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAiBjD,iBAAS,cAAc;WAgCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,yTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,6 +1,6 @@
1
- import { defineComponent as l, toRef as o, createElementBlock as r, openBlock as d, normalizeClass as a, renderSlot as n } from "vue";
1
+ import { defineComponent as r, toRef as o, createElementBlock as l, openBlock as d, normalizeClass as a, renderSlot as n } from "vue";
2
2
  import { provideDefaults as p } from "../../composables/defaults.js";
3
- const i = ["id"], b = /* @__PURE__ */ l({
3
+ const i = ["id"], b = /* @__PURE__ */ r({
4
4
  __name: "QButtonGroup",
5
5
  props: {
6
6
  id: {},
@@ -16,7 +16,7 @@ const i = ["id"], b = /* @__PURE__ */ l({
16
16
  disabled: o(e, "disabled"),
17
17
  borderless: o(e, "borderless")
18
18
  }
19
- }), (s, u) => (d(), r("div", {
19
+ }), (s, u) => (d(), l("div", {
20
20
  id: e.id,
21
21
  class: a([
22
22
  "q-button-group",
@@ -24,7 +24,8 @@ const i = ["id"], b = /* @__PURE__ */ l({
24
24
  "q-button-group--elevated": e.elevated
25
25
  },
26
26
  e.class
27
- ])
27
+ ]),
28
+ role: "group"
28
29
  }, [
29
30
  n(s.$slots, "default")
30
31
  ], 10, i));
@@ -1 +1 @@
1
- {"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"AA0HA;AAukBC,OAAO,EAAE,aAAa,EAAiB,MAAM,SAAS,CAAA;AAYtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAG7C,OAAO,EAAY,QAAQ,EAAyB,MAAM,KAAK,CAAA;AAE/D,KAAK,WAAW,GAAG,cAAc,CAAC;AAwcnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,WAAW,CAAC;AAOhB,iBAAS,cAAc;WA6UT,OAAO,IAA6B;;iCAtBZ,GAAG;gCACJ,GAAG;yBACV,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;Y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;;;;;;;;;;;;;;;;;4CARhD,GAAD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCARhD,GAAD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCARhD,GAAD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CARhD,GAAD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCARhD,GAAD,8CAIM,GAAG,yBAID,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAocnD,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,4 +1,4 @@
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";
1
+ import { defineComponent as ne, mergeModels as H, useModel as T, ref as g, onMounted as ie, computed as m, watch as k, nextTick as I, createElementBlock as A, openBlock as b, Fragment as ue, createVNode as M, unref as v, mergeProps as se, createSlots as de, withCtx as r, renderSlot as f, createBlock as _, createCommentVNode as j, withModifiers as re, 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";
@@ -7,13 +7,13 @@ 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 we = ["data-key"], xe = {
10
+ const xe = ["data-key"], we = {
11
11
  key: 0,
12
12
  class: "q-select__loader"
13
13
  }, Ve = {
14
14
  key: 2,
15
15
  class: "q-select__loader"
16
- }, Te = /* @__PURE__ */ ie({
16
+ }, Te = /* @__PURE__ */ ne({
17
17
  inheritAttrs: !1,
18
18
  __name: "QCombobox",
19
19
  props: /* @__PURE__ */ H({
@@ -38,6 +38,7 @@ const we = ["data-key"], xe = {
38
38
  filterMode: { default: "builtin" },
39
39
  loading: { type: Boolean },
40
40
  emptyValue: {},
41
+ inline: { type: Boolean },
41
42
  icons: { default: () => me }
42
43
  }, {
43
44
  modelValue: {},
@@ -48,28 +49,28 @@ const we = ["data-key"], xe = {
48
49
  searchModifiers: {}
49
50
  }),
50
51
  emits: /* @__PURE__ */ H(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
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
- const q = m(() => l.clearable && !l.readonly && !l.disabled), p = m(() => {
52
+ setup(x, { expose: K, emit: W }) {
53
+ const l = x, w = W, d = T(x, "modelValue"), i = T(x, "open"), u = T(x, "search"), o = g(void 0), c = g(null), s = g(null), V = g(null), L = g(null);
54
+ ie(y);
55
+ const D = m(() => l.clearable && !l.readonly && !l.disabled), p = m(() => {
55
56
  var e;
56
- return l.filterMode === "manual" || !J.value ? l.items ?? [] : ((e = l.items) == null ? void 0 : e.filter(
57
+ return l.filterMode === "manual" || !G.value ? l.items ?? [] : ((e = l.items) == null ? void 0 : e.filter(
57
58
  (t) => t[l.itemLabel].toLowerCase().startsWith(u.value.toLowerCase())
58
59
  )) ?? [];
59
60
  }), h = m(() => {
60
61
  var e;
61
62
  return (e = l.items) == null ? void 0 : e.find((t) => t[l.itemValue] === d.value);
62
- }), Q = m(() => h.value === void 0), C = m(() => {
63
+ }), Q = m(() => h.value === void 0), q = m(() => {
63
64
  const e = o.value;
64
65
  if (e !== void 0 && p.value[e])
65
66
  return p.value[e];
66
- }), G = m(() => {
67
+ }), X = m(() => {
67
68
  var t;
68
69
  if (o.value === void 0)
69
70
  return;
70
71
  const e = (t = s.value) == null ? void 0 : t.getItem(o.value);
71
72
  return e == null ? void 0 : e.id;
72
- }), J = m(() => {
73
+ }), G = m(() => {
73
74
  var e;
74
75
  return u.value.length > 0 && u.value !== ((e = h.value) == null ? void 0 : e[l.itemLabel]);
75
76
  });
@@ -81,44 +82,44 @@ const we = ["data-key"], xe = {
81
82
  const e = ((t = h.value) == null ? void 0 : t[l.itemLabel]) || "";
82
83
  u.value !== e && (u.value = e);
83
84
  }
84
- function D() {
85
- i.value || l.readonly || l.disabled || (x("before-show"), i.value = !0, E());
85
+ function C() {
86
+ i.value || l.readonly || l.disabled || (w("before-show"), i.value = !0, E());
86
87
  }
87
88
  function F() {
88
- i.value && (x("before-hide"), i.value = !1, o.value = void 0);
89
+ i.value && (w("before-hide"), i.value = !1, o.value = void 0);
89
90
  }
90
- function Y() {
91
+ function J() {
91
92
  i.value ? F() : U();
92
93
  }
93
- function Z() {
94
- q.value && (d.value = l.emptyValue, o.value = void 0, E());
94
+ function Y() {
95
+ D.value && (d.value = l.emptyValue, o.value = void 0, E());
95
96
  }
96
97
  function U() {
97
- if (D(), h.value !== void 0) {
98
+ if (C(), h.value !== void 0) {
98
99
  const e = p.value.indexOf(h.value);
99
100
  e !== -1 && I(() => z(e));
100
101
  }
101
102
  }
102
- function ee(e) {
103
+ function Z(e) {
103
104
  var t, a;
104
105
  if (!(!e.key || l.readonly || l.disabled))
105
106
  if (["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "Escape")
106
- y(), i.value && F();
107
+ y(), i.value && (e.preventDefault(), e.stopPropagation(), F());
107
108
  else if (["ArrowDown", "ArrowUp"].includes(e.key))
108
109
  i.value ? I(() => {
109
110
  if (o.value === void 0)
110
111
  $();
111
112
  else {
112
113
  const n = e.key === "ArrowDown" ? "next" : "prev";
113
- te(o.value, n);
114
+ le(o.value, n);
114
115
  }
115
- }) : (D(), I(() => {
116
- e.key === "ArrowDown" ? $() : le();
116
+ }) : (C(), I(() => {
117
+ e.key === "ArrowDown" ? $() : ee();
117
118
  }));
118
119
  else if (e.key === "Enter") {
119
- if (C.value === void 0) return;
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();
120
+ if (q.value === void 0) return;
121
+ S(q.value[l.itemValue]);
122
+ } 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") && C();
122
123
  }
123
124
  function $() {
124
125
  var e, t;
@@ -131,35 +132,35 @@ const we = ["data-key"], xe = {
131
132
  a === -1 ? o.value = (e = s.value) == null ? void 0 : e.getFirstFocusableItemIndex() : o.value = a;
132
133
  }
133
134
  }
134
- function le() {
135
+ function ee() {
135
136
  var e;
136
137
  o.value = (e = s.value) == null ? void 0 : e.getLastFocusableItemIndex();
137
138
  }
138
- function te(e, t) {
139
+ function le(e, t) {
139
140
  var a;
140
141
  o.value = (a = s.value) == null ? void 0 : a.getAdjacentItemIndex(e, t);
141
142
  }
142
143
  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);
144
+ var B, N, P, R;
145
+ const t = ((B = V == null ? void 0 : V.value) == null ? void 0 : B.$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
146
  if (t || n || a) {
146
147
  e.preventDefault(), e.stopPropagation();
147
148
  return;
148
149
  }
149
- F(), q.value && !u.value && (d.value = l.emptyValue), y();
150
+ F(), D.value && !u.value && (d.value = l.emptyValue), y();
150
151
  }
151
152
  function E() {
152
153
  var e, t;
153
154
  (t = (e = c.value) == null ? void 0 : e.inputRef) == null || t.focus();
154
155
  }
155
- function ae() {
156
+ function te() {
156
157
  E();
157
158
  }
158
- function oe() {
159
- x("show");
159
+ function ae() {
160
+ w("show");
160
161
  }
161
- function ne() {
162
- x("hide");
162
+ function oe() {
163
+ w("hide");
163
164
  }
164
165
  function z(e) {
165
166
  var a;
@@ -184,15 +185,15 @@ const we = ["data-key"], xe = {
184
185
  (e) => {
185
186
  !e && i.value && I($);
186
187
  }
187
- ), W({
188
+ ), K({
188
189
  triggerEl: c
189
190
  }), (e, t) => {
190
191
  var a;
191
192
  return b(), A(
192
- se,
193
+ ue,
193
194
  null,
194
195
  [
195
- B(v(ge), de({
196
+ M(v(ge), se({
196
197
  id: l.id,
197
198
  ref_key: "triggerEl",
198
199
  ref: c,
@@ -217,13 +218,13 @@ const we = ["data-key"], xe = {
217
218
  "aria-expanded": i.value,
218
219
  "aria-haspopup": "listbox",
219
220
  "aria-autocomplete": "list",
220
- "aria-activedescendant": G.value,
221
+ "aria-activedescendant": X.value,
221
222
  size: l.size
222
223
  }, e.$attrs, {
223
224
  onClick: U,
224
225
  onFocusout: O,
225
- onKeydown: K(ee, ["stop"])
226
- }), re({
226
+ onKeydown: Z
227
+ }), de({
227
228
  "label.prepend": r(() => [
228
229
  f(e.$slots, "label.prepend")
229
230
  ]),
@@ -232,11 +233,11 @@ const we = ["data-key"], xe = {
232
233
  ]),
233
234
  append: r(() => [
234
235
  f(e.$slots, "append"),
235
- q.value && u.value ? (b(), _(v(Ie), {
236
+ D.value && u.value ? (b(), _(v(Ie), {
236
237
  key: 0,
237
238
  icons: l.icons,
238
239
  texts: l.texts,
239
- onClick: Z
240
+ onClick: Y
240
241
  }, null, 8, ["icons", "texts"])) : j("v-if", !0),
241
242
  l.readonly ? j("v-if", !0) : (b(), _(v(pe), {
242
243
  key: 1,
@@ -249,10 +250,10 @@ const we = ["data-key"], xe = {
249
250
  borderless: "",
250
251
  tabindex: "-1",
251
252
  disabled: l.disabled,
252
- onMousedown: K(Y, ["stop", "prevent"])
253
+ onMousedown: re(J, ["stop", "prevent"])
253
254
  }, {
254
255
  default: r(() => [
255
- B(v(ke), {
256
+ M(v(ke), {
256
257
  "model-value": i.value,
257
258
  icons: l.icons
258
259
  }, null, 8, ["model-value", "icons"])
@@ -279,7 +280,7 @@ const we = ["data-key"], xe = {
279
280
  key: "1"
280
281
  } : void 0
281
282
  ]), 1040, ["id", "modelValue", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
282
- B(v(he), {
283
+ M(v(he), {
283
284
  modelValue: i.value,
284
285
  "onUpdate:modelValue": t[1] || (t[1] = (n) => i.value = n),
285
286
  spy: "",
@@ -288,9 +289,10 @@ const we = ["data-key"], xe = {
288
289
  placement: "bottom-start",
289
290
  width: "anchor",
290
291
  offset: 4,
292
+ inline: l.inline,
291
293
  anchor: (a = c.value) == null ? void 0 : a.$el,
292
- onEnter: oe,
293
- onLeave: ne
294
+ onEnter: ae,
295
+ onLeave: oe
294
296
  }, {
295
297
  default: r(() => {
296
298
  var n;
@@ -304,8 +306,8 @@ const we = ["data-key"], xe = {
304
306
  onFocusout: O
305
307
  }, [
306
308
  f(e.$slots, "body.prepend"),
307
- l.loading ? (b(), A("div", xe, [
308
- B(v(ye), { size: 24 })
309
+ l.loading ? (b(), A("div", we, [
310
+ M(v(ye), { size: 24 })
309
311
  ])) : p.value.length ? (b(), _(v(be), {
310
312
  key: 1,
311
313
  ref_key: "listRef",
@@ -313,16 +315,16 @@ const we = ["data-key"], xe = {
313
315
  "model-value": d.value,
314
316
  class: "q-select__items",
315
317
  selectable: "",
316
- highlighted: (n = C.value) == null ? void 0 : n[l.itemValue],
318
+ highlighted: (n = q.value) == null ? void 0 : n[l.itemValue],
317
319
  items: p.value,
318
320
  groups: e.groups,
319
321
  "item-label": l.itemLabel,
320
322
  "item-value": l.itemValue,
321
- onMouseup: ae,
323
+ onMouseup: te,
322
324
  "onUpdate:modelValue": S
323
325
  }, {
324
- item: r(({ item: M }) => [
325
- f(e.$slots, "item", { item: M })
326
+ item: r(({ item: B }) => [
327
+ f(e.$slots, "item", { item: B })
326
328
  ]),
327
329
  _: 3
328
330
  /* FORWARDED */
@@ -334,12 +336,12 @@ const we = ["data-key"], xe = {
334
336
  /* TEXT */
335
337
  )),
336
338
  f(e.$slots, "body.append")
337
- ], 40, we)
339
+ ], 40, xe)
338
340
  ];
339
341
  }),
340
342
  _: 3
341
343
  /* FORWARDED */
342
- }, 8, ["modelValue", "anchor"])
344
+ }, 8, ["modelValue", "inline", "anchor"])
343
345
  ],
344
346
  64
345
347
  /* STABLE_FRAGMENT */
@@ -12,6 +12,7 @@ declare const QCombobox: {
12
12
  filterMode?: "builtin" | "manual";
13
13
  loading?: boolean;
14
14
  emptyValue?: any;
15
+ inline?: boolean;
15
16
  icons?: typeof import('./types').DEFAULT_ICONS;
16
17
  texts?: typeof import('./types').DEFAULT_TEXTS;
17
18
  }> & Readonly<{
@@ -905,6 +906,7 @@ declare const QCombobox: {
905
906
  filterMode?: "builtin" | "manual";
906
907
  loading?: boolean;
907
908
  emptyValue?: any;
909
+ inline?: boolean;
908
910
  icons?: typeof import('./types').DEFAULT_ICONS;
909
911
  texts?: typeof import('./types').DEFAULT_TEXTS;
910
912
  }> & Readonly<{
@@ -1330,6 +1332,7 @@ declare const QCombobox: {
1330
1332
  filterMode?: "builtin" | "manual";
1331
1333
  loading?: boolean;
1332
1334
  emptyValue?: any;
1335
+ inline?: boolean;
1333
1336
  icons?: typeof import('./types').DEFAULT_ICONS;
1334
1337
  texts?: typeof import('./types').DEFAULT_TEXTS;
1335
1338
  }> & Readonly<{
@@ -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,yBAAy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;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,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"}
@@ -34,6 +34,10 @@ export type QComboboxProps = Omit<QTextFieldProps, 'type'> & {
34
34
  * used to check if the field has a selected item.
35
35
  */
36
36
  emptyValue?: any;
37
+ /**
38
+ * Whether to disable the teleport of the combobox overlay.
39
+ */
40
+ inline?: boolean;
37
41
  /**
38
42
  * Custom icon configurations.
39
43
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[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;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;IAEtC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAEjC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;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;;;;CAIQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGM,CAAA"}
@@ -1,11 +1,11 @@
1
- import { defineComponent as ue, mergeModels as I, useModel as ce, computed as d, reactive as P, watch as V, ref as _, nextTick as g, onMounted as fe, onBeforeUnmount as pe, createElementBlock as k, openBlock as u, Fragment as ve, createBlock as B, createCommentVNode as m, Teleport as me, createVNode as C, Transition as z, withCtx as L, normalizeClass as F, normalizeStyle as Q, unref as T, createElementVNode as ye, mergeProps as he, renderSlot as we } from "vue";
1
+ import { defineComponent as ue, mergeModels as I, useModel as ce, computed as d, reactive as P, watch as V, ref as _, nextTick as g, onMounted as fe, onBeforeUnmount as pe, createElementBlock as k, openBlock as u, Fragment as ve, createBlock as B, createCommentVNode as m, Teleport as me, createVNode as T, Transition as z, withCtx as L, normalizeClass as F, normalizeStyle as Q, unref as C, createElementVNode as ye, mergeProps as he, renderSlot as we } from "vue";
2
2
  import { QDismissibleLayer as ge } from "../QDismissibleLayer/index.js";
3
3
  import { QFocusTrap as ke } from "../QFocusTrap/index.js";
4
4
  import { QRemoveScrollBar as Le } from "../QRemoveScrollBar/index.js";
5
5
  import { getSideFromPlacement as Ee, computePosition as be } from "../../composables/overlay.js";
6
6
  import { useTheme as _e } from "../../composables/theme.js";
7
7
  import { getElement as Be } from "../../utils/getElement.js";
8
- const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
8
+ const Te = ["id"], Ce = ["role"], Ae = /* @__PURE__ */ ue({
9
9
  inheritAttrs: !1,
10
10
  __name: "QOverlay",
11
11
  props: /* @__PURE__ */ I({
@@ -28,7 +28,6 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
28
28
  spy: { type: Boolean },
29
29
  transition: { default: "fade" },
30
30
  trigger: { default: "click" },
31
- closeOnContentClick: { type: Boolean },
32
31
  width: { default: "auto" },
33
32
  focusTrap: { type: Boolean }
34
33
  }, {
@@ -46,7 +45,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
46
45
  "q-overlay--inverted": t.appearance === "inverted"
47
46
  },
48
47
  t.class
49
- ]), f = d(() => t.anchor === void 0), O = d(() => r.value && !t.nonModal), j = d(() => (r.value || o.animating) && t.scrollLock), G = d(() => !t.inline && (r.value || o.animating)), o = P({
48
+ ]), f = d(() => t.anchor === void 0), D = d(() => r.value && !t.nonModal), j = d(() => (r.value || o.animating) && t.scrollLock), G = d(() => !t.inline && (r.value || o.animating)), o = P({
50
49
  animating: !1,
51
50
  top: 0,
52
51
  left: 0,
@@ -100,7 +99,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
100
99
  function w() {
101
100
  R(0);
102
101
  }
103
- function D() {
102
+ function O() {
104
103
  R(t.delay);
105
104
  }
106
105
  function R(e) {
@@ -173,7 +172,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
173
172
  e.addEventListener("click", w);
174
173
  break;
175
174
  case "hover":
176
- e.addEventListener("mouseenter", D), e.addEventListener("mouseleave", c), e.addEventListener("focusin", w), e.addEventListener("focusout", c);
175
+ e.addEventListener("mouseenter", O), e.addEventListener("mouseleave", c), e.addEventListener("focusin", w), e.addEventListener("focusout", c);
177
176
  break;
178
177
  }
179
178
  }
@@ -185,7 +184,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
185
184
  e.removeEventListener("click", w);
186
185
  break;
187
186
  case "hover":
188
- e.removeEventListener("mouseenter", D), e.removeEventListener("mouseleave", c), e.removeEventListener("focusin", w), e.removeEventListener("focusout", c);
187
+ e.removeEventListener("mouseenter", O), e.removeEventListener("mouseleave", c), e.removeEventListener("focusin", w), e.removeEventListener("focusout", c);
189
188
  break;
190
189
  }
191
190
  }
@@ -216,12 +215,12 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
216
215
  disabled: !G.value,
217
216
  to: t.attach
218
217
  }, [
219
- C(z, {
218
+ T(z, {
220
219
  name: "fade",
221
220
  appear: ""
222
221
  }, {
223
222
  default: L(() => [
224
- O.value ? (u(), k(
223
+ D.value ? (u(), k(
225
224
  "div",
226
225
  {
227
226
  key: 0,
@@ -239,7 +238,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
239
238
  _: 1
240
239
  /* STABLE */
241
240
  }),
242
- C(z, {
241
+ T(z, {
243
242
  name: t.transition,
244
243
  appear: "",
245
244
  onEnter: K,
@@ -257,13 +256,13 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
257
256
  class: F(W.value),
258
257
  style: Q(H.value)
259
258
  }, [
260
- C(T(ge), {
259
+ T(C(ge), {
261
260
  onDismiss: oe,
262
261
  onInteractOutside: ne,
263
262
  onPointerDownOutside: te
264
263
  }, {
265
264
  default: L(() => [
266
- E.value ? (u(), B(T(ke), {
265
+ E.value ? (u(), B(C(ke), {
267
266
  key: 0,
268
267
  disabled: t.nonModal || !r.value,
269
268
  options: { fallbackFocus: E.value }
@@ -274,7 +273,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
274
273
  ref: h,
275
274
  class: "q-overlay__content",
276
275
  tabindex: "-1",
277
- role: O.value ? "dialog" : void 0
276
+ role: D.value ? "dialog" : void 0
278
277
  }, e.$attrs), [
279
278
  t.arrow ? (u(), k(
280
279
  "div",
@@ -291,7 +290,7 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
291
290
  /* STYLE */
292
291
  )) : m("v-if", !0),
293
292
  we(e.$slots, "default")
294
- ], 16, Te)
293
+ ], 16, Ce)
295
294
  ]),
296
295
  _: 3
297
296
  /* FORWARDED */
@@ -300,13 +299,13 @@ const Ce = ["id"], Te = ["role"], Ae = /* @__PURE__ */ ue({
300
299
  _: 3
301
300
  /* FORWARDED */
302
301
  })
303
- ], 14, Ce)) : m("v-if", !0)
302
+ ], 14, Te)) : m("v-if", !0)
304
303
  ]),
305
304
  _: 3
306
305
  /* FORWARDED */
307
306
  }, 8, ["name"])
308
307
  ], 8, ["disabled", "to"])),
309
- j.value ? (u(), B(T(Le), { key: 0 })) : m("v-if", !0)
308
+ j.value ? (u(), B(C(Le), { key: 0 })) : m("v-if", !0)
310
309
  ],
311
310
  64
312
311
  /* STABLE_FRAGMENT */
@@ -20,7 +20,6 @@ declare const QOverlay: {
20
20
  spy?: boolean;
21
21
  transition?: string;
22
22
  trigger?: import('../../composables/overlay').Trigger;
23
- closeOnContentClick?: boolean;
24
23
  width?: "auto" | "anchor";
25
24
  focusTrap?: boolean;
26
25
  }> & Readonly<{
@@ -73,7 +72,6 @@ declare const QOverlay: {
73
72
  spy?: boolean;
74
73
  transition?: string;
75
74
  trigger?: import('../../composables/overlay').Trigger;
76
- closeOnContentClick?: boolean;
77
75
  width?: "auto" | "anchor";
78
76
  focusTrap?: boolean;
79
77
  }> & Readonly<{
@@ -114,7 +112,6 @@ declare const QOverlay: {
114
112
  spy?: boolean;
115
113
  transition?: string;
116
114
  trigger?: import('../../composables/overlay').Trigger;
117
- closeOnContentClick?: boolean;
118
115
  width?: "auto" | "anchor";
119
116
  focusTrap?: boolean;
120
117
  }> & Readonly<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAK5C,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAA;AAG3C,OAAO,EAAE,QAAQ,EAAE,CAAA;AAGnB,YAAY,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAK5C,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAA;AAG3C,OAAO,EAAE,QAAQ,EAAE,CAAA;AAGnB,YAAY,EAAE,aAAa,EAAE,CAAA"}