@quidgest/ui 0.32.0 → 0.32.1

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 (68) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/json/api.json +198 -28
  3. package/dist/ui.css +291 -108
  4. package/dist/ui.esm.js +989 -966
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.scss +433 -105
  7. package/lib/components/QAlert/QAlert.d.ts.map +1 -1
  8. package/lib/components/QAlert/QAlert.vue.js +13 -3
  9. package/lib/components/QAlert/types.d.ts +12 -0
  10. package/lib/components/QAlert/types.d.ts.map +1 -1
  11. package/lib/components/QBadge/QBadge.d.ts.map +1 -1
  12. package/lib/components/QBadge/QBadge.vue.js +20 -12
  13. package/lib/components/QBadge/types.d.ts +11 -0
  14. package/lib/components/QBadge/types.d.ts.map +1 -1
  15. package/lib/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
  16. package/lib/components/QDateTimePicker/QDateTimePicker.vue.js +596 -574
  17. package/lib/components/QDefaultsProvider/QDefaultsProvider.vue.js +4 -2
  18. package/lib/components/QDefaultsProvider/types.d.ts +10 -0
  19. package/lib/components/QDefaultsProvider/types.d.ts.map +1 -1
  20. package/lib/components/QDrawer/QDrawer.d.ts.map +1 -1
  21. package/lib/components/QDrawer/QDrawer.vue.js +204 -201
  22. package/lib/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  23. package/lib/components/QDropdownMenu/QDropdownMenuContent.vue.js +95 -83
  24. package/lib/components/QField/types.d.ts +4 -4
  25. package/lib/components/QGauge/QGauge.d.ts.map +1 -1
  26. package/lib/components/QGauge/QGauge.vue.js +149 -121
  27. package/lib/components/QGauge/types.d.ts +16 -1
  28. package/lib/components/QGauge/types.d.ts.map +1 -1
  29. package/lib/components/QInputGroup/QInputGroup.d.ts +8 -7
  30. package/lib/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  31. package/lib/components/QInputGroup/QInputGroup.vue.js +82 -43
  32. package/lib/components/QLabel/QLabel.d.ts.map +1 -1
  33. package/lib/components/QLabel/QLabel.vue.js +1 -0
  34. package/lib/components/QList/QListItem.d.ts.map +1 -1
  35. package/lib/components/QList/QListItem.vue.js +39 -32
  36. package/lib/components/QMeter/types.d.ts +3 -0
  37. package/lib/components/QMeter/types.d.ts.map +1 -1
  38. package/lib/components/QOverlay/QOverlay.d.ts.map +1 -1
  39. package/lib/components/QOverlay/QOverlay.vue.js +88 -85
  40. package/lib/components/QPhoneField/QPhoneField.d.ts +6 -0
  41. package/lib/components/QPhoneField/QPhoneField.d.ts.map +1 -1
  42. package/lib/components/QPhoneField/QPhoneField.vue.js +1 -1
  43. package/lib/components/QPhoneField/index.d.ts +3 -0
  44. package/lib/components/QPhoneField/index.d.ts.map +1 -1
  45. package/lib/components/QProgress/QProgress.d.ts.map +1 -1
  46. package/lib/components/QProgress/QProgress.vue.js +66 -47
  47. package/lib/components/QProgress/types.d.ts +3 -0
  48. package/lib/components/QProgress/types.d.ts.map +1 -1
  49. package/lib/components/QRadioGroup/QRadioGroup.d.ts +1 -1
  50. package/lib/components/QRadioGroup/index.d.ts +3 -3
  51. package/lib/components/QSelect/QSelect.d.ts +6 -0
  52. package/lib/components/QSelect/QSelect.d.ts.map +1 -1
  53. package/lib/components/QSelect/index.d.ts +3 -0
  54. package/lib/components/QSelect/index.d.ts.map +1 -1
  55. package/lib/components/QToast/QToaster.d.ts.map +1 -1
  56. package/lib/components/QToast/QToaster.vue.js +61 -58
  57. package/lib/composables/defaults.d.ts +25 -1
  58. package/lib/composables/defaults.d.ts.map +1 -1
  59. package/lib/composables/defaults.js +15 -7
  60. package/lib/composables/useColor/index.d.ts +2 -0
  61. package/lib/composables/useColor/index.d.ts.map +1 -1
  62. package/lib/composables/useColor/index.js +25 -19
  63. package/lib/composables/useColor/types.d.ts +12 -0
  64. package/lib/composables/useColor/types.d.ts.map +1 -1
  65. package/lib/utils/bidi.d.ts +27 -0
  66. package/lib/utils/bidi.d.ts.map +1 -0
  67. package/lib/utils/bidi.js +15 -0
  68. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"QDropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenuContent.vue"],"names":[],"mappings":"AAkHA;AA2tBC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAY3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,KAAK,EAA+B,yBAAyB,EAAE,MAAM,GAAG,CAAA;AAC/E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAA;AAGlD,OAAO,EAAiB,QAAQ,EAAgC,MAAM,KAAK,CAAA;AAO3E;;;GAGG;AACH,KAAK,kBAAkB,GAAG,UAAU,GAAG,MAAM,CAAA;AAE7C,KAAK,WAAW,GAAG,yBAAyB,CAAC;AAqS7C;;;;;;;GAOG;AACH,iBAAS,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,QAQ3D;AAyTF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,GAAG,CAAC;CACnB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WA+QT,OAAO,IAA6B;;mBA32BrC,IAAI;kBACL,IAAI;oBACF;YAAE,IAAI,EAAE,aAAa,CAAA;SAAE,GAAG,IAAI;8BACpB;YAAE,IAAI,EAAE,aAAa,CAAA;SAAE,GAAG,IAAI;;mBAHzC,IAAI;kBACL,IAAI;oBACF;YAAE,IAAI,EAAE,aAAa,CAAA;SAAE,GAAG,IAAI;8BACpB;YAAE,IAAI,EAAE,aAAa,CAAA;SAAE,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDA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;;;;;;;;;;;EAs4BzC;AA6CD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;wCA3gCpB,oBA5rBe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA+wBI,GAAG,8CAEjB,GAAG,yBAER,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAJtB,GAAG,8CAEjB,GAAG,yBAER,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+7BxC,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"}
@@ -67,82 +67,88 @@ var pe = ["id"], T = /*@__PURE__*/ d({
67
67
  function P(e) {
68
68
  return T.items?.find((t) => t[T.itemValue] === e[T.itemValue]) ?? e;
69
69
  }
70
- let F = o(() => ee(T.items, T.groups)), I = o(() => T.depth === 0 ? "click" : "manual"), L = o(() => T.depth === 0 ? 4 : T.offset), _e = o(() => T.depth === 0 ? void 0 : T.crossOffset), R = S("list"), z = S("body"), B = v(null), ve = o(() => "right-start"), V = o(() => T.trigger !== "hover" || j.value === void 0 ? !1 : ((T.items?.find((e) => e[T.itemValue] === j.value))?.items?.length ?? 0) > 0);
71
- function ye(e) {
70
+ let F = o(() => ee(T.items, T.groups)), _e = o(() => T.depth === 0 ? "click" : "manual"), ve = o(() => T.depth === 0 ? 4 : T.offset), ye = o(() => T.depth === 0 ? void 0 : T.crossOffset), I = S("list"), L = S("body"), R = v(null), be = o(() => "right-start"), z = o(() => T.trigger !== "hover" || j.value === void 0 ? !1 : ((T.items?.find((e) => e[T.itemValue] === j.value))?.items?.length ?? 0) > 0);
71
+ function xe(e) {
72
72
  return "syncHoverFromPoint" in e && "getMenuRect" in e && "getMenuRoot" in e && "hasOpenSubmenu" in e;
73
73
  }
74
- function be(e, t) {
75
- if (e && j.value === t && ye(e)) {
76
- B.value = e;
74
+ function Se(e, t) {
75
+ if (e && j.value === t && xe(e)) {
76
+ R.value = e;
77
77
  return;
78
78
  }
79
- !e && j.value === t && (B.value = null);
79
+ !e && j.value === t && (R.value = null);
80
80
  }
81
- async function xe() {
82
- await m(), await m(), U();
83
- let { x: e, y: t } = Ae();
84
- B.value?.syncHoverFromPoint(e, t);
81
+ async function Ce() {
82
+ await m(), await m(), V();
83
+ let { x: e, y: t } = Me();
84
+ R.value?.syncHoverFromPoint(e, t);
85
85
  }
86
- function Se() {
87
- return B.value?.getMenuRect() ?? null;
88
- }
89
- function Ce() {
90
- return B.value?.getMenuRoot() ?? null;
86
+ function B() {
87
+ return R.value?.getMenuRect() ?? null;
91
88
  }
92
89
  function we() {
93
- return B.value?.hasOpenSubmenu() ?? !1;
94
- }
95
- let { visible: Te, top: Ee, left: De, width: Oe, height: H, path: ke, refresh: U, getLastPointer: Ae } = re({
96
- enabled: V,
97
- placement: ve,
98
- getParentRect: () => z.value?.getBoundingClientRect() ?? null,
99
- getContentRect: Se,
100
- getContentRoot: Ce,
101
- shouldSuppressLeave: we,
90
+ return R.value?.getMenuRoot() ?? null;
91
+ }
92
+ function Te() {
93
+ return R.value?.hasOpenSubmenu() ?? !1;
94
+ }
95
+ let { visible: Ee, top: De, left: Oe, width: ke, height: Ae, path: je, refresh: V, getLastPointer: Me } = re({
96
+ enabled: z,
97
+ placement: be,
98
+ getParentRect: () => L.value?.getBoundingClientRect() ?? null,
99
+ getContentRect: B,
100
+ getContentRoot: we,
101
+ shouldSuppressLeave: Te,
102
102
  onLeave: J,
103
103
  onEnterContent: (e, t) => {
104
- B.value?.syncHoverFromPoint(e, t);
104
+ R.value?.syncHoverFromPoint(e, t);
105
105
  }
106
106
  });
107
107
  C(j, (e, t) => {
108
- let n = B.value?.getMenuRoot();
109
- t !== void 0 && n?.contains(document.activeElement) && je(k.value ?? t), B.value = null;
108
+ let n = R.value?.getMenuRoot();
109
+ t !== void 0 && n?.contains(document.activeElement) && H(k.value ?? t), R.value = null;
110
110
  });
111
- function je(e) {
112
- let t = F.value.findIndex((t) => t[T.itemValue] === e);
113
- R.value?.getItem(t)?.focus();
114
- }
115
- function Me(e, t) {
116
- let n = z.value;
117
- if (!n) return;
118
- let r = document.elementsFromPoint(e, t);
119
- for (let e of r) {
120
- if (!(e instanceof Element)) continue;
121
- let t = e.closest(".q-list-item");
122
- if (!t || !n.contains(t) || t.closest(".q-dropdown-menu__body") !== n) continue;
123
- let r = t.getAttribute("data-key");
124
- if (r === null) continue;
125
- let i = T.items?.find((e) => String(e[T.itemValue]) === r);
126
- if (i) return i[T.itemValue];
111
+ function H(e, t = !1) {
112
+ let n = F.value.findIndex((t) => t[T.itemValue] === e);
113
+ I.value?.getItem(n)?.focus({ preventScroll: t });
114
+ }
115
+ function Ne(e, t) {
116
+ for (let n of document.elementsFromPoint(e, t)) {
117
+ let e = U(n);
118
+ if (e !== void 0) return e;
127
119
  }
128
120
  }
121
+ function U(e) {
122
+ let t = L.value;
123
+ if (!t || !(e instanceof Element)) return;
124
+ let n = e.closest(".q-list-item");
125
+ if (!n || n.closest(".q-dropdown-menu__body") !== t) return;
126
+ let r = n.getAttribute("data-key");
127
+ if (r !== null) return T.items?.find((e) => String(e[T.itemValue]) === r)?.[T.itemValue];
128
+ }
129
129
  function W(e, t) {
130
130
  if (T.trigger !== "hover") return;
131
- let n = Me(e, t);
131
+ let n = Ne(e, t);
132
132
  n !== void 0 && G(n);
133
133
  }
134
- function Ne(e) {
135
- U(e.clientX, e.clientY), W(e.clientX, e.clientY);
136
- }
137
134
  function Pe(e) {
138
- V.value && W(e.clientX, e.clientY), U(e.clientX, e.clientY);
135
+ V(e.clientX, e.clientY), W(e.clientX, e.clientY);
139
136
  }
140
137
  function Fe(e) {
138
+ z.value ? W(e.clientX, e.clientY) : Ie(e), V(e.clientX, e.clientY);
139
+ }
140
+ function Ie(e) {
141
+ let t = F.value[I.value?.getActiveItemIndex() ?? -1];
142
+ if (!t) return;
143
+ let n = U(e.target);
144
+ n === void 0 || n === t[T.itemValue] || G(n);
145
+ }
146
+ function Le(e) {
141
147
  M.value = T.items?.find((t) => t[T.itemValue] === e)?.items ?? [];
142
148
  let t = M.value.length > 0;
143
149
  k.value = e, t ? $(e) : K(e);
144
150
  }
145
- function Ie(e) {
151
+ function Re(e) {
146
152
  if (!(e.altKey || e.ctrlKey || e.metaKey)) switch ([
147
153
  "Enter",
148
154
  "ArrowDown",
@@ -151,10 +157,11 @@ var pe = ["id"], T = /*@__PURE__*/ d({
151
157
  "ArrowRight",
152
158
  "Tab"
153
159
  ].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key) {
154
- case "ArrowRight":
155
- let t = R.value?.getActiveItemIndex();
156
- (t || t === 0) && F.value[t] && (k.value = F.value[t].key, $(F.value[t].key));
160
+ case "ArrowRight": {
161
+ let e = F.value[I.value?.getActiveItemIndex() ?? -1];
162
+ e && (k.value = e[T.itemValue], $(e[T.itemValue]));
157
163
  break;
164
+ }
158
165
  case "ArrowLeft":
159
166
  T.depth > 0 && Y();
160
167
  break;
@@ -167,16 +174,20 @@ var pe = ["id"], T = /*@__PURE__*/ d({
167
174
  }
168
175
  }
169
176
  function G(e) {
170
- T.trigger === "hover" && (k.value = e, $(e));
177
+ T.trigger === "hover" && (k.value = e, $(e), j.value !== e && H(e, !0));
178
+ }
179
+ function ze() {
180
+ let e = F.value[I.value?.getActiveItemIndex() ?? -1];
181
+ e && e[T.itemValue] !== k.value && J();
171
182
  }
172
183
  function K(e) {
173
184
  E("select", e), X();
174
185
  }
175
- function Le() {
186
+ function Be() {
176
187
  q?.contains(document.activeElement) ? Y() : J();
177
188
  }
178
189
  let q = null;
179
- C(z, (e) => {
190
+ C(L, (e) => {
180
191
  e && (q = e);
181
192
  });
182
193
  function J() {
@@ -190,7 +201,7 @@ var pe = ["id"], T = /*@__PURE__*/ d({
190
201
  }
191
202
  function Z(e) {
192
203
  let t = e.target;
193
- z.value?.contains(t) || T.activator && n(T.activator)?.contains(t) || X();
204
+ L.value?.contains(t) || T.activator && n(T.activator)?.contains(t) || X();
194
205
  }
195
206
  let Q = ["mousedown", "touchstart"];
196
207
  T.depth === 0 && C(() => j.value !== void 0, (e, t, n) => {
@@ -202,22 +213,22 @@ var pe = ["id"], T = /*@__PURE__*/ d({
202
213
  function $(e) {
203
214
  j.value = (T.items?.find((t) => t[T.itemValue] === e))?.items?.length ? e : void 0;
204
215
  }
205
- function Re() {
206
- let e = F.value.findIndex((e) => e[T.itemValue] === j.value), t = R.value?.getItem(e);
216
+ function Ve() {
217
+ let e = F.value.findIndex((e) => e[T.itemValue] === j.value), t = I.value?.getItem(e);
207
218
  j.value = void 0, k.value = void 0, t?.focus();
208
219
  }
209
- function ze() {
210
- m(() => R.value?.$el.focus());
220
+ function He() {
221
+ m(() => I.value?.$el.focus());
211
222
  }
212
- function Be() {
213
- E("open"), ze();
223
+ function Ue() {
224
+ E("open"), He();
214
225
  }
215
226
  return d({
216
227
  getMenuRect: () => {
217
- let e = z.value;
228
+ let e = L.value;
218
229
  return e ? (e.closest(".q-overlay") ?? e).getBoundingClientRect() : null;
219
230
  },
220
- getMenuRoot: () => z.value?.closest(".q-overlay") ?? z.value,
231
+ getMenuRoot: () => L.value?.closest(".q-overlay") ?? L.value,
221
232
  hasOpenSubmenu: () => j.value === void 0 ? !1 : ((T.items?.find((e) => e[T.itemValue] === j.value))?.items?.length ?? 0) > 0,
222
233
  syncHoverFromPoint: W
223
234
  }), (e, n) => {
@@ -230,25 +241,26 @@ var pe = ["id"], T = /*@__PURE__*/ d({
230
241
  appearance: T.appearance,
231
242
  inline: T.inline,
232
243
  delay: T.delay,
233
- offset: L.value,
234
- "cross-offset": _e.value,
244
+ offset: ve.value,
245
+ "cross-offset": ye.value,
235
246
  placement: T.placement,
236
247
  transition: T.transition,
237
248
  class: h(T.class),
238
- trigger: I.value,
249
+ trigger: _e.value,
239
250
  "scroll-lock": "",
240
251
  "non-modal": "",
241
- onEnter: Be,
242
- onLeave: Le
252
+ onEnter: Ue,
253
+ onLeave: Be
243
254
  }, {
244
255
  default: w(() => [oe("div", {
245
256
  ref: "body",
246
257
  class: "q-dropdown-menu__body",
247
258
  "data-testid": "dropdown-content",
248
259
  tabindex: "-1",
249
- onPointerenter: Ne,
250
- onPointermove: Pe,
251
- onKeydown: fe(Ie, ["stop"])
260
+ onPointerenter: Pe,
261
+ onPointermove: Fe,
262
+ onFocusin: ze,
263
+ onKeydown: fe(Re, ["stop"])
252
264
  }, [
253
265
  y(e.$slots, "prepend"),
254
266
  u(b(te), {
@@ -265,7 +277,7 @@ var pe = ["id"], T = /*@__PURE__*/ d({
265
277
  selectable: !1,
266
278
  "select-on-tab": !1,
267
279
  icons: T.icons,
268
- onClick: Fe,
280
+ onClick: Le,
269
281
  "onMouseenter:item": G
270
282
  }, {
271
283
  item: w(({ item: t }) => [y(e.$slots, "item", { item: P(t) })]),
@@ -273,10 +285,10 @@ var pe = ["id"], T = /*@__PURE__*/ d({
273
285
  key: 0,
274
286
  id: N(n),
275
287
  class: "q-dropdown-menu__extra"
276
- }, le(n.extraInfo), 9, pe)) : c("", !0)]), n.items?.length > 0 ? (_(), l(ae, { key: 0 }, [u(b(t), g(f(T.icons.expand)), null, 16), j.value === n.key ? (_(), s(i, {
288
+ }, le(n.extraInfo), 9, pe)) : c("", !0)]), n.items?.length > 0 ? (_(), l(ae, { key: 0 }, [u(b(t), g(f(T.icons.expand)), null, 16), j.value === n[T.itemValue] ? (_(), s(i, {
277
289
  key: 0,
278
290
  id: `${b(A)}_submenu`,
279
- ref: (e) => be(e, n.key),
291
+ ref: (e) => Se(e, n[T.itemValue]),
280
292
  "model-value": "",
281
293
  class: h(T.class),
282
294
  activator: r,
@@ -293,10 +305,10 @@ var pe = ["id"], T = /*@__PURE__*/ d({
293
305
  placement: "right-start",
294
306
  "non-modal": "",
295
307
  inline: "",
296
- onOpen: xe,
308
+ onOpen: Ce,
297
309
  onHide: X,
298
310
  onSelect: K,
299
- onFocusPrevious: Re
311
+ onFocusPrevious: Ve
300
312
  }, se({
301
313
  item: w((t) => [y(e.$slots, "item", g(f(t)))]),
302
314
  _: 2
@@ -331,13 +343,13 @@ var pe = ["id"], T = /*@__PURE__*/ d({
331
343
  "icons"
332
344
  ]),
333
345
  y(e.$slots, "append")
334
- ], 544), b(Te) ? (_(), s(b(ne), {
346
+ ], 544), b(Ee) ? (_(), s(b(ne), {
335
347
  key: 0,
336
- top: b(Ee),
337
- left: b(De),
338
- width: b(Oe),
339
- height: b(H),
340
- path: b(ke)
348
+ top: b(De),
349
+ left: b(Oe),
350
+ width: b(ke),
351
+ height: b(Ae),
352
+ path: b(je)
341
353
  }, null, 8, [
342
354
  "top",
343
355
  "left",
@@ -68,10 +68,10 @@ export type QFieldProps = QLabelProps & QFieldHelpProps & {
68
68
  */
69
69
  required?: boolean;
70
70
  /**
71
- * Whether the input is invalid. Shows a danger border and sets `aria-invalid` on the
72
- * control. Put the message in the `errors` slot: it shows under the control, after an
73
- * icon and `texts.error`, and describes the control, only while `invalid` is true.
74
- * Without a message, the field shows only the border.
71
+ * Whether the input is invalid. Shows a danger border with a shadow of its color, and sets
72
+ * `aria-invalid` on the control. Put the message in the `errors` slot: it shows under the
73
+ * control, after an icon and `texts.error`, and describes the control, only while
74
+ * `invalid` is true. Without a message, the field shows only the border and its shadow.
75
75
  *
76
76
  * @category State
77
77
  */
@@ -1 +1 @@
1
- {"version":3,"file":"QGauge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGauge/QGauge.vue"],"names":[],"mappings":"AA+JA;AAsgBC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAO3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AA6BpC,KAAK,WAAW,GAAG,WAAW,CAAC;AA2UhC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA6LT,OAAO,IAA6B;;QAjgBhD;;;;WAIG;gBACK,CAAC,KAAK,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;QALvE;;;;WAIG;gBACK,CAAC,KAAK,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;;;EAigBxE;AAkCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;wFASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QGauge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGauge/QGauge.vue"],"names":[],"mappings":"AA8LA;AAklBC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAO3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AA8BpC,KAAK,WAAW,GAAG,WAAW,CAAC;AAuXhC,KAAK,iBA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