@quidgest/ui 0.15.3 → 0.15.4

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 (70) hide show
  1. package/dist/manifest/components.json +2 -0
  2. package/dist/ui.css +1 -1
  3. package/dist/ui.esm.js +6782 -5929
  4. package/dist/ui.js +33 -26
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +1112 -967
  7. package/dist/ui.scss +2 -2
  8. package/esm/components/QCombobox/QCombobox.d.ts +2 -6
  9. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  10. package/esm/components/QCombobox/index.d.ts +1 -3
  11. package/esm/components/QCombobox/index.d.ts.map +1 -1
  12. package/esm/components/QDialog/QDialog.d.ts +2 -2
  13. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  14. package/esm/components/QDialog/QDialog.vue.js +51 -50
  15. package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts +35 -0
  16. package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts.map +1 -0
  17. package/esm/components/QDismissibleLayer/QDismissibleLayer.vue.js +50 -0
  18. package/esm/components/QDismissibleLayer/QDismissibleLayer.vue2.js +4 -0
  19. package/esm/components/QDismissibleLayer/index.d.ts +53 -0
  20. package/esm/components/QDismissibleLayer/index.d.ts.map +1 -0
  21. package/esm/components/QDismissibleLayer/index.js +6 -0
  22. package/esm/components/QDismissibleLayer/types.d.ts +25 -0
  23. package/esm/components/QDismissibleLayer/types.d.ts.map +1 -0
  24. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +0 -4
  25. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  26. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +10 -15
  27. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +10 -15
  28. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  29. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +72 -117
  30. package/esm/components/QDropdownMenu/index.d.ts +0 -3
  31. package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
  32. package/esm/components/QFocusTrap/QFocusTrap.d.ts +28 -0
  33. package/esm/components/QFocusTrap/QFocusTrap.d.ts.map +1 -0
  34. package/esm/components/QFocusTrap/QFocusTrap.vue.js +32 -0
  35. package/esm/components/QFocusTrap/QFocusTrap.vue2.js +4 -0
  36. package/esm/components/QFocusTrap/index.d.ts +38 -0
  37. package/esm/components/QFocusTrap/index.d.ts.map +1 -0
  38. package/esm/components/QFocusTrap/index.js +6 -0
  39. package/esm/components/QFocusTrap/types.d.ts +6 -0
  40. package/esm/components/QFocusTrap/types.d.ts.map +1 -0
  41. package/esm/components/QList/QList.d.ts +0 -9
  42. package/esm/components/QList/QList.d.ts.map +1 -1
  43. package/esm/components/QList/QList.vue.js +97 -82
  44. package/esm/components/QList/index.d.ts +0 -3
  45. package/esm/components/QList/index.d.ts.map +1 -1
  46. package/esm/components/QOverlay/QOverlay.d.ts +2 -0
  47. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  48. package/esm/components/QOverlay/QOverlay.vue.js +197 -148
  49. package/esm/components/QOverlay/index.d.ts +4 -0
  50. package/esm/components/QOverlay/index.d.ts.map +1 -1
  51. package/esm/components/QOverlay/types.d.ts +6 -1
  52. package/esm/components/QOverlay/types.d.ts.map +1 -1
  53. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +6 -5
  54. package/esm/components/QSelect/QSelect.d.ts +2 -6
  55. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  56. package/esm/components/QSelect/QSelect.vue.js +106 -125
  57. package/esm/components/QSelect/index.d.ts +1 -3
  58. package/esm/components/QSelect/index.d.ts.map +1 -1
  59. package/esm/components/index.d.ts +2 -0
  60. package/esm/components/index.d.ts.map +1 -1
  61. package/esm/components/index.js +69 -65
  62. package/esm/index.d.ts +2 -0
  63. package/esm/utils/merge.d.ts.map +1 -1
  64. package/esm/utils/merge.js +12 -16
  65. package/esm/vendors/@vueuse/core/index.js +173 -67
  66. package/esm/vendors/@vueuse/integrations/useFocusTrap/component.js +24 -0
  67. package/esm/vendors/@vueuse/shared/index.js +36 -15
  68. package/esm/vendors/focus-trap/dist/focus-trap.esm.js +473 -0
  69. package/esm/vendors/tabbable/dist/index.esm.js +202 -0
  70. package/package.json +3 -1
@@ -1,26 +1,26 @@
1
- import { defineComponent as X, mergeModels as I, useModel as j, ref as f, computed as b, watch as G, nextTick as J, createElementBlock as m, openBlock as n, Fragment as N, createVNode as k, unref as i, mergeProps as A, withModifiers as F, createSlots as Y, withCtx as d, toDisplayString as O, createCommentVNode as g, createTextVNode as Z, renderSlot as c, createBlock as h, normalizeProps as ee, createElementVNode as le } from "vue";
2
- import { DEFAULT_TEXTS as oe, DEFAULT_ICONS as te } from "./types.js";
3
- import { QButton as ae } from "../QButton/index.js";
4
- import { QField as ne } from "../QField/index.js";
5
- import { QIcon as ie } from "../QIcon/index.js";
6
- import { QList as se } from "../QList/index.js";
7
- import { QOverlay as re } from "../QOverlay/index.js";
8
- import { QSpinnerLoader as de } from "../QSpinnerLoader/index.js";
9
- import { QChevron as ue } from "../__internal__/QChevron/index.js";
10
- import { QClearButton as ce } from "../__internal__/QClearButton/index.js";
11
- const fe = {
1
+ import { defineComponent as P, mergeModels as D, useModel as H, ref as y, computed as b, watch as X, nextTick as j, createElementBlock as f, openBlock as t, Fragment as N, createVNode as k, unref as n, mergeProps as z, withModifiers as A, createSlots as G, withCtx as i, toDisplayString as F, createCommentVNode as g, createTextVNode as J, renderSlot as d, createBlock as h, normalizeProps as W, createElementVNode as Y } from "vue";
2
+ import { DEFAULT_TEXTS as Z, DEFAULT_ICONS as ee } from "./types.js";
3
+ import { QButton as le } from "../QButton/index.js";
4
+ import { QField as oe } from "../QField/index.js";
5
+ import { QIcon as ae } from "../QIcon/index.js";
6
+ import { QList as te } from "../QList/index.js";
7
+ import { QOverlay as ne } from "../QOverlay/index.js";
8
+ import { QSpinnerLoader as ie } from "../QSpinnerLoader/index.js";
9
+ import { QChevron as se } from "../__internal__/QChevron/index.js";
10
+ import { QClearButton as re } from "../__internal__/QClearButton/index.js";
11
+ const de = {
12
12
  key: 0,
13
13
  class: "q-select__value"
14
- }, me = {
14
+ }, ue = {
15
15
  key: 1,
16
16
  class: "q-select__placeholder"
17
- }, pe = ["data-key"], ve = {
17
+ }, ce = ["data-key"], fe = {
18
18
  key: 0,
19
19
  class: "q-select__loader"
20
- }, Le = /* @__PURE__ */ X({
20
+ }, Ve = /* @__PURE__ */ P({
21
21
  inheritAttrs: !1,
22
22
  __name: "QSelect",
23
- props: /* @__PURE__ */ I({
23
+ props: /* @__PURE__ */ D({
24
24
  id: {},
25
25
  class: {},
26
26
  label: {},
@@ -37,95 +37,76 @@ const fe = {
37
37
  clearable: { type: Boolean },
38
38
  loading: { type: Boolean },
39
39
  emptyValue: { type: [String, Number, Boolean, Symbol] },
40
- icons: { default: () => te },
41
- texts: { default: () => oe }
40
+ icons: { default: () => ee },
41
+ texts: { default: () => Z }
42
42
  }, {
43
43
  modelValue: { type: [String, Number, Boolean, Symbol] },
44
44
  modelModifiers: {}
45
45
  }),
46
- emits: /* @__PURE__ */ I(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
47
- setup(q, { emit: R }) {
48
- const e = q, p = R, v = j(q, "modelValue"), t = f(!1), w = f(""), y = f(null), _ = f(null), V = f(null), M = b(() => u.value === void 0), u = b(
46
+ emits: /* @__PURE__ */ D(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
47
+ setup(x, { emit: O }) {
48
+ const e = x, m = O, p = H(x, "modelValue"), o = y(!1), v = y(null), q = y(null), _ = y(null), R = b(() => s.value === void 0), s = b(
49
49
  () => {
50
50
  var l;
51
- return (l = e.items) == null ? void 0 : l.find((o) => o[e.itemValue] === v.value);
51
+ return (l = e.items) == null ? void 0 : l.find((a) => a[e.itemValue] === p.value);
52
52
  }
53
- ), U = b(
54
- () => u.value ? u.value[e.itemLabel] : ""
55
- ), E = b(
53
+ ), M = b(
54
+ () => s.value ? s.value[e.itemLabel] : ""
55
+ ), w = b(
56
56
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
57
57
  );
58
58
  function B(l) {
59
- v.value = l, L();
59
+ p.value = l, E();
60
60
  }
61
- function x() {
62
- E.value && (B(e.emptyValue), Q());
61
+ function V() {
62
+ w.value && (B(e.emptyValue), C());
63
63
  }
64
- function K(l) {
65
- var o, s, a;
66
- !((o = V.value) != null && o.contains(l.relatedTarget)) && !((a = (s = y.value) == null ? void 0 : s.fieldRef) != null && a.contains(l.relatedTarget)) && L();
64
+ function U(l) {
65
+ var a, u, c;
66
+ !((a = _.value) != null && a.contains(l.relatedTarget)) && !((c = (u = v.value) == null ? void 0 : u.fieldRef) != null && c.contains(l.relatedTarget)) && E();
67
67
  }
68
- function C() {
69
- t.value || (p("before-show"), t.value = !0);
68
+ function S() {
69
+ o.value || (m("before-show"), o.value = !0);
70
70
  }
71
- function L() {
72
- t.value && (p("before-hide"), t.value = !1);
71
+ function E() {
72
+ o.value && (m("before-hide"), o.value = !1);
73
73
  }
74
- function S() {
75
- e.readonly || e.disabled || (t.value ? L() : C());
74
+ function L() {
75
+ e.readonly || e.disabled || (o.value ? E() : S());
76
76
  }
77
- let $;
78
- function T(l) {
79
- var o;
80
- if (!(!l.key || e.readonly || e.disabled)) {
81
- if (window.clearTimeout($), ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(l.key) && (l.preventDefault(), l.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(l.key) && C(), ["Escape", "Tab"].includes(l.key) && (t.value ? t.value = !1 : E.value && l.key === "Escape" && x()), l.key === "Delete" && e.clearable && x(), /^[a-z]$/i.test(l.key)) {
82
- w.value += l.key.toLowerCase();
83
- const s = ((o = e.items) == null ? void 0 : o.length) || 0;
84
- for (let a = 0; a < s; a++)
85
- if (e.items[a][e.itemLabel].toLowerCase().startsWith(w.value)) {
86
- W(a);
87
- break;
88
- }
89
- }
90
- $ = window.setTimeout(function() {
91
- w.value = "";
92
- }, 500);
93
- }
77
+ function $(l) {
78
+ !l.key || e.readonly || e.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(l.key) && (l.preventDefault(), l.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(l.key) && S(), ["Escape", "Tab"].includes(l.key) && (o.value ? o.value = !1 : w.value && l.key === "Escape" && V()), l.key === "Delete" && e.clearable && V());
94
79
  }
95
- function P() {
80
+ function I() {
96
81
  var l;
97
- e.loading ? (l = V.value) == null || l.focus() : z(), p("show");
82
+ e.loading ? (l = _.value) == null || l.focus() : Q(), m("show");
98
83
  }
99
- function H() {
100
- Q(), p("hide");
84
+ function K() {
85
+ C(), m("hide");
101
86
  }
102
- function Q() {
103
- var l, o;
104
- (o = (l = y.value) == null ? void 0 : l.fieldRef) == null || o.focus();
87
+ function C() {
88
+ var l, a;
89
+ (a = (l = v.value) == null ? void 0 : l.fieldRef) == null || a.focus();
105
90
  }
106
- function z() {
91
+ function Q() {
107
92
  var l;
108
- (l = _.value) == null || l.$el.focus();
109
- }
110
- function W(l) {
111
- var o;
112
- (o = _.value) == null || o.focusItem(l);
93
+ (l = q.value) == null || l.$el.focus();
113
94
  }
114
- return G(
95
+ return X(
115
96
  () => e.loading,
116
97
  (l) => {
117
- !l && t.value && J(z);
98
+ !l && o.value && j(Q);
118
99
  }
119
- ), (l, o) => {
120
- var s, a;
121
- return n(), m(
100
+ ), (l, a) => {
101
+ var u, c;
102
+ return t(), f(
122
103
  N,
123
104
  null,
124
105
  [
125
- k(i(ne), A({
106
+ k(n(oe), z({
126
107
  id: e.id,
127
108
  ref_key: "triggerEl",
128
- ref: y,
109
+ ref: v,
129
110
  label: e.label,
130
111
  required: e.required,
131
112
  role: "combobox",
@@ -141,23 +122,23 @@ const fe = {
141
122
  readonly: e.readonly,
142
123
  disabled: e.disabled,
143
124
  "data-loading": e.loading,
144
- "aria-expanded": t.value,
125
+ "aria-expanded": o.value,
145
126
  "aria-haspopup": "listbox",
146
127
  size: e.size,
147
128
  invalid: e.invalid
148
129
  }, l.$attrs, {
149
- onClick: S,
150
- onKeydown: F(T, ["stop"])
151
- }), Y({
152
- append: d(() => [
153
- c(l.$slots, "append"),
154
- E.value && v.value ? (n(), h(i(ce), {
130
+ onClick: L,
131
+ onKeydown: A($, ["stop"])
132
+ }), G({
133
+ append: i(() => [
134
+ d(l.$slots, "append"),
135
+ w.value && p.value ? (t(), h(n(re), {
155
136
  key: 0,
156
137
  icons: e.icons,
157
138
  texts: e.texts,
158
- onClick: x
139
+ onClick: V
159
140
  }, null, 8, ["icons", "texts"])) : g("v-if", !0),
160
- e.readonly ? g("v-if", !0) : (n(), h(i(ae), {
141
+ e.readonly ? g("v-if", !0) : (t(), h(n(le), {
161
142
  key: 1,
162
143
  class: "q-select__chevron",
163
144
  "aria-label": e.texts.showOptions,
@@ -166,11 +147,11 @@ const fe = {
166
147
  borderless: "",
167
148
  tabindex: "-1",
168
149
  disabled: e.disabled,
169
- onClick: S
150
+ onClick: L
170
151
  }, {
171
- default: d(() => [
172
- k(i(ue), {
173
- "model-value": t.value,
152
+ default: i(() => [
153
+ k(n(se), {
154
+ "model-value": o.value,
174
155
  icons: e.icons
175
156
  }, null, 8, ["model-value", "icons"])
176
157
  ]),
@@ -178,14 +159,14 @@ const fe = {
178
159
  /* STABLE */
179
160
  }, 8, ["aria-label", "disabled"]))
180
161
  ]),
181
- default: d(() => [
182
- M.value ? (n(), m("span", me, [
183
- !e.readonly && !e.disabled ? (n(), m(
162
+ default: i(() => [
163
+ R.value ? (t(), f("span", ue, [
164
+ !e.readonly && !e.disabled ? (t(), f(
184
165
  N,
185
166
  { key: 0 },
186
167
  [
187
- Z(
188
- O(e.texts.placeholder),
168
+ J(
169
+ F(e.texts.placeholder),
189
170
  1
190
171
  /* TEXT */
191
172
  )
@@ -193,10 +174,10 @@ const fe = {
193
174
  64
194
175
  /* STABLE_FRAGMENT */
195
176
  )) : g("v-if", !0)
196
- ])) : (n(), m(
177
+ ])) : (t(), f(
197
178
  "span",
198
- fe,
199
- O(U.value),
179
+ de,
180
+ F(M.value),
200
181
  1
201
182
  /* TEXT */
202
183
  ))
@@ -204,15 +185,15 @@ const fe = {
204
185
  _: 2
205
186
  /* DYNAMIC */
206
187
  }, [
207
- (s = u.value) != null && s.icon || l.$slots.prepend ? {
188
+ (u = s.value) != null && u.icon || l.$slots.prepend ? {
208
189
  name: "prepend",
209
- fn: d(() => {
210
- var r, D;
190
+ fn: i(() => {
191
+ var r, T;
211
192
  return [
212
- c(l.$slots, "prepend"),
213
- (r = u.value) != null && r.icon ? (n(), h(
214
- i(ie),
215
- ee(A({ key: 0 }, (D = u.value) == null ? void 0 : D.icon)),
193
+ d(l.$slots, "prepend"),
194
+ (r = s.value) != null && r.icon ? (t(), h(
195
+ n(ae),
196
+ W(z({ key: 0 }, (T = s.value) == null ? void 0 : T.icon)),
216
197
  null,
217
198
  16
218
199
  /* FULL_PROPS */
@@ -223,60 +204,60 @@ const fe = {
223
204
  } : void 0,
224
205
  l.$slots.extras ? {
225
206
  name: "extras",
226
- fn: d(() => [
227
- c(l.$slots, "extras")
207
+ fn: i(() => [
208
+ d(l.$slots, "extras")
228
209
  ]),
229
210
  key: "1"
230
211
  } : void 0
231
212
  ]), 1040, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size", "invalid"]),
232
- k(i(re), {
233
- modelValue: t.value,
234
- "onUpdate:modelValue": o[0] || (o[0] = (r) => t.value = r),
213
+ k(n(ne), {
214
+ modelValue: o.value,
215
+ "onUpdate:modelValue": a[0] || (a[0] = (r) => o.value = r),
235
216
  spy: "",
236
217
  trigger: "manual",
237
218
  placement: "bottom-start",
238
219
  width: "anchor",
239
220
  "scroll-lock": "",
240
- anchor: (a = y.value) == null ? void 0 : a.$el,
221
+ anchor: (c = v.value) == null ? void 0 : c.$el,
241
222
  offset: 2,
242
- onEnter: P,
243
- onLeave: H
223
+ onEnter: I,
224
+ onLeave: K
244
225
  }, {
245
- default: d(() => [
246
- le("div", {
226
+ default: i(() => [
227
+ Y("div", {
247
228
  ref_key: "contentRef",
248
- ref: V,
229
+ ref: _,
249
230
  "data-testid": "combobox-dropdown",
250
231
  "data-key": e.id,
251
232
  class: "q-select__body",
252
233
  tabindex: "-1",
253
- onFocusout: K,
254
- onKeydown: F(T, ["stop"])
234
+ onFocusout: U,
235
+ onKeydown: A($, ["stop"])
255
236
  }, [
256
- c(l.$slots, "body.prepend"),
257
- e.loading ? (n(), m("div", ve, [
258
- k(i(de), { size: 24 })
259
- ])) : (n(), h(i(se), {
237
+ d(l.$slots, "body.prepend"),
238
+ e.loading ? (t(), f("div", fe, [
239
+ k(n(ie), { size: 24 })
240
+ ])) : (t(), h(n(te), {
260
241
  key: 1,
261
242
  ref_key: "listRef",
262
- ref: _,
243
+ ref: q,
263
244
  class: "q-select__items",
264
245
  selectable: "",
265
- "model-value": v.value,
246
+ "model-value": p.value,
266
247
  items: e.items,
267
248
  groups: l.groups,
268
249
  "item-label": e.itemLabel,
269
250
  "item-value": e.itemValue,
270
251
  "onUpdate:modelValue": B
271
252
  }, {
272
- item: d(({ item: r }) => [
273
- c(l.$slots, "item", { item: r })
253
+ item: i(({ item: r }) => [
254
+ d(l.$slots, "item", { item: r })
274
255
  ]),
275
256
  _: 3
276
257
  /* FORWARDED */
277
258
  }, 8, ["model-value", "items", "groups", "item-label", "item-value"])),
278
- c(l.$slots, "body.append")
279
- ], 40, pe)
259
+ d(l.$slots, "body.append")
260
+ ], 40, ce)
280
261
  ]),
281
262
  _: 3
282
263
  /* FORWARDED */
@@ -289,5 +270,5 @@ const fe = {
289
270
  }
290
271
  });
291
272
  export {
292
- Le as default
273
+ Ve as default
293
274
  };
@@ -228,7 +228,6 @@ declare const QSelect: {
228
228
  }> & Readonly<{
229
229
  "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
230
230
  }>, {
231
- focusItem: (itemIdx: number, preventScroll?: boolean) => void;
232
231
  getItem: (idx: number) => HTMLElement | undefined;
233
232
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
234
233
  getFirstFocusableItemIndex: () => number;
@@ -275,8 +274,7 @@ declare const QSelect: {
275
274
  selectable?: boolean;
276
275
  }> & Readonly<{
277
276
  "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
278
- }>, "focusItem" | "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
279
- focusItem: (itemIdx: number, preventScroll?: boolean) => void;
277
+ }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
280
278
  getItem: (idx: number) => HTMLElement | undefined;
281
279
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
282
280
  getFirstFocusableItemIndex: () => number;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAI2wzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAJr2zB,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAI2wzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAJr2zB,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -11,9 +11,11 @@ export * from './QColorPicker';
11
11
  export * from './QCombobox';
12
12
  export * from './QDateTimePicker';
13
13
  export * from './QDialog';
14
+ export * from './QDismissibleLayer';
14
15
  export * from './QDropdownMenu';
15
16
  export * from './QField';
16
17
  export * from './QFileUpload';
18
+ export * from './QFocusTrap';
17
19
  export * from './QIcon';
18
20
  export * from './QInputGroup';
19
21
  export * from './QLabel';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA"}
@@ -2,78 +2,82 @@ import { QAccordion as e } from "./QAccordion/index.js";
2
2
  import { QBadge as p } from "./QBadge/index.js";
3
3
  import { QBadgeIndicator as m } from "./QBadgeIndicator/index.js";
4
4
  import { QButton as f } from "./QButton/index.js";
5
- import { QButtonGroup as n } from "./QButtonGroup/index.js";
6
- import { QButtonToggle as d } from "./QButtonToggle/index.js";
7
- import { QCard as L } from "./QCard/index.js";
8
- import { QCheckbox as u } from "./QCheckbox/index.js";
5
+ import { QButtonGroup as a } from "./QButtonGroup/index.js";
6
+ import { QButtonToggle as l } from "./QButtonToggle/index.js";
7
+ import { QCard as s } from "./QCard/index.js";
8
+ import { QCheckbox as c } from "./QCheckbox/index.js";
9
9
  import { QCollapsible as P } from "./QCollapsible/index.js";
10
10
  import { QColorPicker as g } from "./QColorPicker/index.js";
11
- import { QCombobox as T } from "./QCombobox/index.js";
12
- import { QDateTimePicker as y } from "./QDateTimePicker/index.js";
13
- import { QDialog as F } from "./QDialog/index.js";
14
- import { QDropdownMenu as k } from "./QDropdownMenu/index.js";
15
- import { QField as S } from "./QField/index.js";
16
- import { QFileUpload as D } from "./QFileUpload/index.js";
17
- import { QIcon as h, QIconFont as A, QIconImg as M, QIconSvg as O } from "./QIcon/index.js";
18
- import { QInputGroup as j } from "./QInputGroup/index.js";
19
- import { QLabel as z } from "./QLabel/index.js";
20
- import { QLineLoader as H } from "./QLineLoader/index.js";
21
- import { QList as K, QListItem as N, QListItemGroup as V } from "./QList/index.js";
22
- import { QMeter as X } from "./QMeter/index.js";
23
- import { QOverlay as Z } from "./QOverlay/index.js";
24
- import { QPasswordField as $ } from "./QPasswordField/index.js";
25
- import { QPopover as ro } from "./QPopover/index.js";
26
- import { QPropertyList as to, QPropertyListGroup as po, QPropertyListPanel as Qo, QPropertyListRow as mo } from "./QPropertyList/index.js";
27
- import { QRadioButton as fo, QRadioGroup as io } from "./QRadioGroup/index.js";
28
- import { QSelect as ao } from "./QSelect/index.js";
29
- import { QSkeletonLoader as Lo } from "./QSkeletonLoader/index.js";
30
- import { QSpinnerLoader as uo } from "./QSpinnerLoader/index.js";
31
- import { QTextArea as Po } from "./QTextArea/index.js";
32
- import { QTextField as go } from "./QTextField/index.js";
33
- import { QThemeProvider as To } from "./QThemeProvider/index.js";
34
- import { QTooltip as yo } from "./QTooltip/index.js";
11
+ import { QCombobox as b } from "./QCombobox/index.js";
12
+ import { QDateTimePicker as B } from "./QDateTimePicker/index.js";
13
+ import { QDialog as C } from "./QDialog/index.js";
14
+ import { QDismissibleLayer as k } from "./QDismissibleLayer/index.js";
15
+ import { QDropdownMenu as D } from "./QDropdownMenu/index.js";
16
+ import { QField as w } from "./QField/index.js";
17
+ import { QFileUpload as h } from "./QFileUpload/index.js";
18
+ import { QFocusTrap as M } from "./QFocusTrap/index.js";
19
+ import { QIcon as U, QIconFont as j, QIconImg as q, QIconSvg as z } from "./QIcon/index.js";
20
+ import { QInputGroup as H } from "./QInputGroup/index.js";
21
+ import { QLabel as K } from "./QLabel/index.js";
22
+ import { QLineLoader as V } from "./QLineLoader/index.js";
23
+ import { QList as X, QListItem as Y, QListItemGroup as Z } from "./QList/index.js";
24
+ import { QMeter as $ } from "./QMeter/index.js";
25
+ import { QOverlay as ro } from "./QOverlay/index.js";
26
+ import { QPasswordField as to } from "./QPasswordField/index.js";
27
+ import { QPopover as Qo } from "./QPopover/index.js";
28
+ import { QPropertyList as xo, QPropertyListGroup as fo, QPropertyListPanel as io, QPropertyListRow as ao } from "./QPropertyList/index.js";
29
+ import { QRadioButton as lo, QRadioGroup as so } from "./QRadioGroup/index.js";
30
+ import { QSelect as co } from "./QSelect/index.js";
31
+ import { QSkeletonLoader as Po } from "./QSkeletonLoader/index.js";
32
+ import { QSpinnerLoader as go } from "./QSpinnerLoader/index.js";
33
+ import { QTextArea as bo } from "./QTextArea/index.js";
34
+ import { QTextField as Bo } from "./QTextField/index.js";
35
+ import { QThemeProvider as Co } from "./QThemeProvider/index.js";
36
+ import { QTooltip as ko } from "./QTooltip/index.js";
35
37
  export {
36
38
  e as QAccordion,
37
39
  p as QBadge,
38
40
  m as QBadgeIndicator,
39
41
  f as QButton,
40
- n as QButtonGroup,
41
- d as QButtonToggle,
42
- L as QCard,
43
- u as QCheckbox,
42
+ a as QButtonGroup,
43
+ l as QButtonToggle,
44
+ s as QCard,
45
+ c as QCheckbox,
44
46
  P as QCollapsible,
45
47
  g as QColorPicker,
46
- T as QCombobox,
47
- y as QDateTimePicker,
48
- F as QDialog,
49
- k as QDropdownMenu,
50
- S as QField,
51
- D as QFileUpload,
52
- h as QIcon,
53
- A as QIconFont,
54
- M as QIconImg,
55
- O as QIconSvg,
56
- j as QInputGroup,
57
- z as QLabel,
58
- H as QLineLoader,
59
- K as QList,
60
- N as QListItem,
61
- V as QListItemGroup,
62
- X as QMeter,
63
- Z as QOverlay,
64
- $ as QPasswordField,
65
- ro as QPopover,
66
- to as QPropertyList,
67
- po as QPropertyListGroup,
68
- Qo as QPropertyListPanel,
69
- mo as QPropertyListRow,
70
- fo as QRadioButton,
71
- io as QRadioGroup,
72
- ao as QSelect,
73
- Lo as QSkeletonLoader,
74
- uo as QSpinnerLoader,
75
- Po as QTextArea,
76
- go as QTextField,
77
- To as QThemeProvider,
78
- yo as QTooltip
48
+ b as QCombobox,
49
+ B as QDateTimePicker,
50
+ C as QDialog,
51
+ k as QDismissibleLayer,
52
+ D as QDropdownMenu,
53
+ w as QField,
54
+ h as QFileUpload,
55
+ M as QFocusTrap,
56
+ U as QIcon,
57
+ j as QIconFont,
58
+ q as QIconImg,
59
+ z as QIconSvg,
60
+ H as QInputGroup,
61
+ K as QLabel,
62
+ V as QLineLoader,
63
+ X as QList,
64
+ Y as QListItem,
65
+ Z as QListItemGroup,
66
+ $ as QMeter,
67
+ ro as QOverlay,
68
+ to as QPasswordField,
69
+ Qo as QPopover,
70
+ xo as QPropertyList,
71
+ fo as QPropertyListGroup,
72
+ io as QPropertyListPanel,
73
+ ao as QPropertyListRow,
74
+ lo as QRadioButton,
75
+ so as QRadioGroup,
76
+ co as QSelect,
77
+ Po as QSkeletonLoader,
78
+ go as QSpinnerLoader,
79
+ bo as QTextArea,
80
+ Bo as QTextField,
81
+ Co as QThemeProvider,
82
+ ko as QTooltip
79
83
  };
package/esm/index.d.ts CHANGED
@@ -20,9 +20,11 @@ declare module '@vue/runtime-core' {
20
20
  QCombobox: typeof import('@quidgest/ui/components')['QCombobox']
21
21
  QDateTimePicker: typeof import('@quidgest/ui/components')['QDateTimePicker']
22
22
  QDialog: typeof import('@quidgest/ui/components')['QDialog']
23
+ QDismissibleLayer: typeof import('@quidgest/ui/components')['QDismissibleLayer']
23
24
  QDropdownMenu: typeof import('@quidgest/ui/components')['QDropdownMenu']
24
25
  QField: typeof import('@quidgest/ui/components')['QField']
25
26
  QFileUpload: typeof import('@quidgest/ui/components')['QFileUpload']
27
+ QFocusTrap: typeof import('@quidgest/ui/components')['QFocusTrap']
26
28
  QIcon: typeof import('@quidgest/ui/components')['QIcon']
27
29
  QIconFont: typeof import('@quidgest/ui/components')['QIconFont']
28
30
  QIconImg: typeof import('@quidgest/ui/components')['QIconImg']
@@ -1 +1 @@
1
- {"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/utils/merge.ts"],"names":[],"mappings":"AAEA,wBAAgB,KAAK,CAAC,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,EAAE,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,2BA0B/F"}
1
+ {"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/utils/merge.ts"],"names":[],"mappings":"AAEA,wBAAgB,KAAK,CACpB,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,EACpC,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GAClC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA2BzB"}
@@ -1,21 +1,17 @@
1
- import { isObject as i } from "./isObject.js";
2
- function f(n = {}, e = {}) {
3
- const t = {};
4
- for (const o in n)
5
- t[o] = n[o];
6
- for (const o in e) {
7
- const c = n[o], r = e[o];
8
- if (i(c) && i(r)) {
9
- t[o] = f(
10
- c,
11
- r
12
- );
1
+ import { isObject as s } from "./isObject.js";
2
+ function i(n = {}, c = {}) {
3
+ const o = {}, f = /* @__PURE__ */ new Set([...Object.keys(n), ...Object.keys(c)]);
4
+ for (const t of f) {
5
+ if (t === "__proto__" || t === "constructor" || t === "prototype")
13
6
  continue;
14
- }
15
- t[o] = r;
7
+ const r = n[t], e = c[t];
8
+ s(r) && s(e) ? o[t] = i(
9
+ r,
10
+ e
11
+ ) : o[t] = e !== void 0 ? e : r;
16
12
  }
17
- return t;
13
+ return o;
18
14
  }
19
15
  export {
20
- f as merge
16
+ i as merge
21
17
  };