treqit-ui-library 1.4.20 → 1.4.27

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.
@@ -1,13 +1,13 @@
1
- import { computed as i, createElementBlock as r, openBlock as n, normalizeStyle as x, normalizeClass as y, renderSlot as b, createCommentVNode as u, toDisplayString as v, createElementVNode as c, resolveComponent as q, withModifiers as M, createVNode as _, defineComponent as T, createTextVNode as H, createBlock as V, watch as D, onUnmounted as A, Teleport as P, Transition as C, withCtx as B, ref as z, withDirectives as W, vShow as L, Fragment as F, renderList as O, inject as U, getCurrentInstance as X, onMounted as J } from "vue";
2
- const p = (e, t) => {
1
+ import { computed as u, createElementBlock as r, openBlock as n, normalizeStyle as w, normalizeClass as p, renderSlot as b, createCommentVNode as c, toDisplayString as g, createElementVNode as i, resolveComponent as D, withModifiers as M, createVNode as $, defineComponent as q, createTextVNode as U, createBlock as C, watch as T, onUnmounted as A, Teleport as X, Transition as B, withCtx as z, ref as k, withDirectives as P, vShow as O, onMounted as E, Fragment as F, renderList as R, inject as J, getCurrentInstance as K } from "vue";
2
+ const v = (e, t) => {
3
3
  const a = e.__vccOpts || e;
4
4
  for (const [l, o] of t)
5
5
  a[l] = o;
6
6
  return a;
7
- }, K = {
7
+ }, Q = {
8
8
  key: 0,
9
9
  class: "avatar-initials"
10
- }, Q = {
10
+ }, Y = {
11
11
  __name: "Avatar",
12
12
  props: {
13
13
  size: {
@@ -30,13 +30,13 @@ const p = (e, t) => {
30
30
  }
31
31
  },
32
32
  setup(e) {
33
- const t = e, a = i(() => [
33
+ const t = e, a = u(() => [
34
34
  "avatar",
35
35
  {
36
36
  "avatar--rounded-sm": t.rounded === "sm",
37
37
  "avatar--rounded-lg": t.rounded === "lg"
38
38
  }
39
- ]), l = i(() => {
39
+ ]), l = u(() => {
40
40
  const o = {
41
41
  width: `${t.size}px`,
42
42
  height: `${t.size}px`,
@@ -46,18 +46,18 @@ const p = (e, t) => {
46
46
  return t.rounded === !0 || t.rounded === "" ? o.borderRadius = "50%" : t.rounded === !1 || t.rounded === 0 || t.rounded === "0" ? o.borderRadius = "0px" : typeof t.rounded == "number" && (o.borderRadius = `${t.rounded}px`), o;
47
47
  });
48
48
  return (o, s) => (n(), r("div", {
49
- class: y(a.value),
50
- style: x(l.value)
49
+ class: p(a.value),
50
+ style: w(l.value)
51
51
  }, [
52
52
  b(o.$slots, "default", {}, () => [
53
- e.initials ? (n(), r("span", K, v(e.initials), 1)) : u("", !0)
53
+ e.initials ? (n(), r("span", Q, g(e.initials), 1)) : c("", !0)
54
54
  ], !0)
55
55
  ], 6));
56
56
  }
57
- }, Y = /* @__PURE__ */ p(Q, [["__scopeId", "data-v-b02c0c4e"]]), Z = ["type", "disabled"], ee = {
57
+ }, Z = /* @__PURE__ */ v(Y, [["__scopeId", "data-v-b02c0c4e"]]), ee = ["type", "disabled"], te = {
58
58
  key: 0,
59
59
  class: "btn-loader"
60
- }, te = {
60
+ }, ae = {
61
61
  __name: "Button",
62
62
  props: {
63
63
  variant: {
@@ -91,7 +91,7 @@ const p = (e, t) => {
91
91
  },
92
92
  emits: ["click"],
93
93
  setup(e) {
94
- const t = e, a = i(() => [
94
+ const t = e, a = u(() => [
95
95
  "btn",
96
96
  `btn--${t.variant}`,
97
97
  `btn--${t.size === "sm" ? "small" : t.size}`,
@@ -102,35 +102,34 @@ const p = (e, t) => {
102
102
  ]);
103
103
  return (l, o) => (n(), r("button", {
104
104
  type: e.type,
105
- class: y(a.value),
105
+ class: p(a.value),
106
106
  disabled: e.disabled || e.loading,
107
107
  onClick: o[0] || (o[0] = (s) => l.$emit("click"))
108
108
  }, [
109
- e.loading ? (n(), r("div", ee, [...o[1] || (o[1] = [
110
- c("div", { class: "simple-spinner" }, null, -1)
111
- ])])) : u("", !0),
112
- c("span", {
113
- class: y(["btn-content", { "content-hidden": e.loading }])
109
+ e.loading ? (n(), r("div", te, [...o[1] || (o[1] = [
110
+ i("div", { class: "simple-spinner" }, null, -1)
111
+ ])])) : c("", !0),
112
+ i("span", {
113
+ class: p(["btn-content", { "content-hidden": e.loading }])
114
114
  }, [
115
115
  b(l.$slots, "default", {}, void 0, !0)
116
116
  ], 2)
117
- ], 10, Z));
117
+ ], 10, ee));
118
118
  }
119
- }, ae = /* @__PURE__ */ p(te, [["__scopeId", "data-v-7e659005"]]), le = { class: "card" }, ne = {
119
+ }, le = /* @__PURE__ */ v(ae, [["__scopeId", "data-v-067910e7"]]), ne = { class: "card" }, oe = {
120
120
  __name: "Card",
121
121
  setup(e) {
122
- return (t, a) => (n(), r("div", le, [
122
+ return (t, a) => (n(), r("div", ne, [
123
123
  b(t.$slots, "default", {}, void 0, !0)
124
124
  ]));
125
125
  }
126
- }, oe = /* @__PURE__ */ p(ne, [["__scopeId", "data-v-82f14ba1"]]), se = {
126
+ }, re = /* @__PURE__ */ v(oe, [["__scopeId", "data-v-82f14ba1"]]), G = ["primary", "secondary", "success", "warning", "danger", "elevated"], se = G.map((e) => `outlined-${e}`), ie = [...G, ...se], de = {
127
127
  __name: "Chip",
128
128
  props: {
129
129
  variant: {
130
130
  type: String,
131
131
  default: "secondary",
132
- // 'primary', 'secondary', 'success', 'warning', 'danger'
133
- validator: (e) => ["primary", "secondary", "success", "warning", "danger"].includes(e)
132
+ validator: (e) => ie.includes(e)
134
133
  },
135
134
  removable: {
136
135
  type: Boolean,
@@ -139,14 +138,14 @@ const p = (e, t) => {
139
138
  },
140
139
  emits: ["remove"],
141
140
  setup(e) {
142
- const t = e, a = i(() => [
141
+ const t = e, a = u(() => [
143
142
  "chip",
144
143
  `chip--${t.variant}`
145
144
  ]);
146
145
  return (l, o) => {
147
- const s = q("Icon");
146
+ const s = D("Icon");
148
147
  return n(), r("div", {
149
- class: y(a.value)
148
+ class: p(a.value)
150
149
  }, [
151
150
  b(l.$slots, "default", {}, void 0, !0),
152
151
  e.removable ? (n(), r("button", {
@@ -155,16 +154,16 @@ const p = (e, t) => {
155
154
  onClick: o[0] || (o[0] = M((d) => l.$emit("remove"), ["stop"])),
156
155
  "aria-label": "Remove"
157
156
  }, [
158
- _(s, {
157
+ $(s, {
159
158
  name: "close",
160
159
  size: "14",
161
160
  "stroke-width": "2.5"
162
161
  })
163
- ])) : u("", !0)
162
+ ])) : c("", !0)
164
163
  ], 2);
165
164
  };
166
165
  }
167
- }, re = /* @__PURE__ */ p(se, [["__scopeId", "data-v-9815960f"]]), ie = /* @__PURE__ */ T({
166
+ }, ue = /* @__PURE__ */ v(de, [["__scopeId", "data-v-27452944"]]), ce = /* @__PURE__ */ q({
168
167
  __name: "Column",
169
168
  props: {
170
169
  cols: { type: [String, Number], default: null },
@@ -175,7 +174,7 @@ const p = (e, t) => {
175
174
  xl: { type: [String, Number], default: null }
176
175
  },
177
176
  setup(e) {
178
- const t = e, a = i(() => {
177
+ const t = e, a = u(() => {
179
178
  const l = ["col"], o = {
180
179
  cols: "col-",
181
180
  xs: "col-xs-",
@@ -189,12 +188,12 @@ const p = (e, t) => {
189
188
  return l;
190
189
  });
191
190
  return (l, o) => (n(), r("div", {
192
- class: y(a.value)
191
+ class: p(a.value)
193
192
  }, [
194
193
  b(l.$slots, "default", {}, void 0, !0)
195
194
  ], 2));
196
195
  }
197
- }), de = /* @__PURE__ */ p(ie, [["__scopeId", "data-v-a5db8165"]]), ue = {
196
+ }), fe = /* @__PURE__ */ v(ce, [["__scopeId", "data-v-a5db8165"]]), me = {
198
197
  __name: "Icon",
199
198
  props: {
200
199
  icon: {
@@ -217,7 +216,7 @@ const p = (e, t) => {
217
216
  medium: 24,
218
217
  large: 32,
219
218
  "x-large": 40
220
- }, l = i(() => t.icon ? ["icon", "mdi", t.icon] : ["icon"]), o = i(() => {
219
+ }, l = u(() => t.icon ? ["icon", "mdi", t.icon] : ["icon"]), o = u(() => {
221
220
  let s = t.size;
222
221
  typeof t.size == "string" && a[t.size] && (s = a[t.size]);
223
222
  const d = {
@@ -226,21 +225,21 @@ const p = (e, t) => {
226
225
  return t.color && (d.color = t.color), d;
227
226
  });
228
227
  return (s, d) => (n(), r("i", {
229
- class: y(l.value),
230
- style: x(o.value),
228
+ class: p(l.value),
229
+ style: w(o.value),
231
230
  "aria-hidden": "true"
232
231
  }, null, 6));
233
232
  }
234
- }, E = /* @__PURE__ */ p(ue, [["__scopeId", "data-v-7cd4d2d4"]]), ce = ["for"], me = {
233
+ }, j = /* @__PURE__ */ v(me, [["__scopeId", "data-v-7cd4d2d4"]]), ve = ["for"], pe = {
235
234
  key: 0,
236
235
  class: "date-picker__required"
237
- }, fe = { class: "date-picker__input-wrapper" }, pe = ["id", "value", "disabled", "readonly", "min", "max", "required"], ye = {
236
+ }, ye = { class: "date-picker__input-wrapper" }, he = ["id", "value", "disabled", "readonly", "min", "max", "required"], ge = {
238
237
  key: 1,
239
238
  class: "date-picker__error"
240
- }, ve = {
239
+ }, be = {
241
240
  key: 2,
242
241
  class: "date-picker__help"
243
- }, ge = /* @__PURE__ */ T({
242
+ }, xe = /* @__PURE__ */ q({
244
243
  __name: "DatePicker",
245
244
  props: {
246
245
  modelValue: { default: "" },
@@ -259,7 +258,7 @@ const p = (e, t) => {
259
258
  },
260
259
  emits: ["update:modelValue", "change", "blur", "focus"],
261
260
  setup(e, { emit: t }) {
262
- const a = e, l = t, o = i(() => `date-picker-${Math.random().toString(36).substr(2, 9)}`), s = i(() => [
261
+ const a = e, l = t, o = u(() => `date-picker-${Math.random().toString(36).substr(2, 9)}`), s = u(() => [
263
262
  "date-picker",
264
263
  `date-picker--${a.size}`,
265
264
  `date-picker--${a.variant}`,
@@ -269,35 +268,35 @@ const p = (e, t) => {
269
268
  "date-picker--error": a.errorMessage,
270
269
  "date-picker--required": a.required
271
270
  }
272
- ]), d = i(() => [
271
+ ]), d = u(() => [
273
272
  "date-picker__input",
274
273
  {
275
274
  "date-picker__input--with-icon": a.showIcon
276
275
  }
277
276
  ]), f = (h) => {
278
- const w = h.target;
279
- l("update:modelValue", w.value);
277
+ const S = h.target;
278
+ l("update:modelValue", S.value);
280
279
  }, m = (h) => {
281
- const w = h.target;
282
- l("change", w.value);
283
- }, g = (h) => {
280
+ const S = h.target;
281
+ l("change", S.value);
282
+ }, y = (h) => {
284
283
  l("blur", h);
285
- }, S = (h) => {
284
+ }, x = (h) => {
286
285
  l("focus", h);
287
286
  };
288
- return (h, w) => (n(), r("div", {
289
- class: y(["date-picker", s.value])
287
+ return (h, S) => (n(), r("div", {
288
+ class: p(["date-picker", s.value])
290
289
  }, [
291
290
  e.label ? (n(), r("label", {
292
291
  key: 0,
293
292
  for: o.value,
294
293
  class: "date-picker__label"
295
294
  }, [
296
- H(v(e.label) + " ", 1),
297
- e.required ? (n(), r("span", me, "*")) : u("", !0)
298
- ], 8, ce)) : u("", !0),
299
- c("div", fe, [
300
- c("input", {
295
+ U(g(e.label) + " ", 1),
296
+ e.required ? (n(), r("span", pe, "*")) : c("", !0)
297
+ ], 8, ve)) : c("", !0),
298
+ i("div", ye, [
299
+ i("input", {
301
300
  id: o.value,
302
301
  type: "date",
303
302
  value: e.modelValue,
@@ -306,29 +305,29 @@ const p = (e, t) => {
306
305
  min: e.min,
307
306
  max: e.max,
308
307
  required: e.required,
309
- class: y(d.value),
308
+ class: p(d.value),
310
309
  onInput: f,
311
310
  onChange: m,
312
- onBlur: g,
313
- onFocus: S
314
- }, null, 42, pe),
315
- e.showIcon ? (n(), V(E, {
311
+ onBlur: y,
312
+ onFocus: x
313
+ }, null, 42, he),
314
+ e.showIcon ? (n(), C(j, {
316
315
  key: 0,
317
316
  icon: "mdi-calendar",
318
317
  class: "date-picker__icon"
319
- })) : u("", !0)
318
+ })) : c("", !0)
320
319
  ]),
321
- e.errorMessage ? (n(), r("div", ye, v(e.errorMessage), 1)) : u("", !0),
322
- e.helpText && !e.errorMessage ? (n(), r("div", ve, v(e.helpText), 1)) : u("", !0)
320
+ e.errorMessage ? (n(), r("div", ge, g(e.errorMessage), 1)) : c("", !0),
321
+ e.helpText && !e.errorMessage ? (n(), r("div", be, g(e.helpText), 1)) : c("", !0)
323
322
  ], 2));
324
323
  }
325
- }), he = /* @__PURE__ */ p(ge, [["__scopeId", "data-v-44192e9d"]]), be = ["aria-labelledby"], xe = {
324
+ }), we = /* @__PURE__ */ v(xe, [["__scopeId", "data-v-44192e9d"]]), _e = ["aria-labelledby"], $e = {
326
325
  key: 0,
327
326
  class: "dialog-header"
328
- }, $e = {
327
+ }, ke = {
329
328
  id: "dialog-title",
330
329
  class: "dialog-title"
331
- }, _e = {
330
+ }, Se = {
332
331
  __name: "Dialog",
333
332
  props: {
334
333
  modelValue: {
@@ -371,61 +370,61 @@ const p = (e, t) => {
371
370
  l("update:modelValue", !1);
372
371
  }, s = () => {
373
372
  a.persistent || o();
374
- }, d = i(() => a.fullscreen || a.width ? "" : `dialog-content--${a.size}`), f = i(() => {
373
+ }, d = u(() => a.fullscreen || a.width ? "" : `dialog-content--${a.size}`), f = u(() => {
375
374
  if (a.fullscreen) return {};
376
375
  const m = {};
377
376
  return a.width && (m.maxWidth = typeof a.width == "number" || !isNaN(Number(a.width)) ? `${a.width}px` : a.width, m.width = m.maxWidth), m;
378
377
  });
379
- return D(() => a.modelValue, (m) => {
378
+ return T(() => a.modelValue, (m) => {
380
379
  typeof document < "u" && (document.body.style.overflow = m ? "hidden" : "");
381
380
  }), A(() => {
382
381
  typeof document < "u" && (document.body.style.overflow = "");
383
- }), (m, g) => {
384
- const S = q("Icon");
385
- return n(), V(P, { to: "body" }, [
386
- _(C, { name: "dialog-fade" }, {
387
- default: B(() => [
382
+ }), (m, y) => {
383
+ const x = D("Icon");
384
+ return n(), C(X, { to: "body" }, [
385
+ $(B, { name: "dialog-fade" }, {
386
+ default: z(() => [
388
387
  e.modelValue ? (n(), r("div", {
389
388
  key: 0,
390
389
  class: "dialog-overlay",
391
390
  onClick: s
392
391
  }, [
393
- c("div", {
394
- class: y(["dialog-content", [d.value, { "dialog-content--fullscreen": e.fullscreen }]]),
395
- style: x(f.value),
392
+ i("div", {
393
+ class: p(["dialog-content", [d.value, { "dialog-content--fullscreen": e.fullscreen }]]),
394
+ style: w(f.value),
396
395
  role: "dialog",
397
396
  "aria-modal": "true",
398
397
  "aria-labelledby": e.title ? "dialog-title" : void 0,
399
- onClick: g[0] || (g[0] = M(() => {
398
+ onClick: y[0] || (y[0] = M(() => {
400
399
  }, ["stop"]))
401
400
  }, [
402
- e.title ? (n(), r("header", xe, [
403
- c("h2", $e, v(e.title), 1),
404
- c("button", {
401
+ e.title ? (n(), r("header", $e, [
402
+ i("h2", ke, g(e.title), 1),
403
+ i("button", {
405
404
  onClick: o,
406
405
  class: "dialog-close-btn",
407
406
  "aria-label": "Close dialog"
408
407
  }, [
409
- _(S, {
408
+ $(x, {
410
409
  icon: "mdi-close",
411
410
  size: "24"
412
411
  })
413
412
  ])
414
- ])) : u("", !0),
415
- c("main", {
416
- class: y(["dialog-body", { scrollable: e.scrollable }])
413
+ ])) : c("", !0),
414
+ i("main", {
415
+ class: p(["dialog-body", { scrollable: e.scrollable }])
417
416
  }, [
418
417
  b(m.$slots, "default", {}, void 0, !0)
419
418
  ], 2)
420
- ], 14, be)
421
- ])) : u("", !0)
419
+ ], 14, _e)
420
+ ])) : c("", !0)
422
421
  ]),
423
422
  _: 3
424
423
  })
425
424
  ]);
426
425
  };
427
426
  }
428
- }, Se = /* @__PURE__ */ p(_e, [["__scopeId", "data-v-fcf7a3f1"]]), we = {
427
+ }, Ie = /* @__PURE__ */ v(Se, [["__scopeId", "data-v-fcf7a3f1"]]), Ve = {
429
428
  __name: "Divider",
430
429
  props: {
431
430
  vertical: {
@@ -438,26 +437,26 @@ const p = (e, t) => {
438
437
  }
439
438
  },
440
439
  setup(e) {
441
- const t = e, a = i(() => [
440
+ const t = e, a = u(() => [
442
441
  "divider",
443
442
  t.vertical ? "divider--vertical" : "divider--horizontal"
444
- ]), l = i(() => t.vertical ? {} : { height: `${t.height}px` });
443
+ ]), l = u(() => t.vertical ? {} : { height: `${t.height}px` });
445
444
  return (o, s) => (n(), r("hr", {
446
- class: y(a.value),
447
- style: x(l.value)
445
+ class: p(a.value),
446
+ style: w(l.value)
448
447
  }, null, 6));
449
448
  }
450
- }, ke = /* @__PURE__ */ p(we, [["__scopeId", "data-v-97348551"]]), Ve = { class: "spinner-container" }, Ie = {
449
+ }, Ce = /* @__PURE__ */ v(Ve, [["__scopeId", "data-v-97348551"]]), Be = { class: "spinner-container" }, ze = {
451
450
  __name: "ProgressSpinner",
452
451
  setup(e) {
453
- return (t, a) => (n(), r("div", Ve, [...a[0] || (a[0] = [
454
- c("div", { class: "spinner" }, null, -1)
452
+ return (t, a) => (n(), r("div", Be, [...a[0] || (a[0] = [
453
+ i("div", { class: "spinner" }, null, -1)
455
454
  ])]));
456
455
  }
457
- }, R = /* @__PURE__ */ p(Ie, [["__scopeId", "data-v-28112817"]]), Ce = {
456
+ }, H = /* @__PURE__ */ v(ze, [["__scopeId", "data-v-28112817"]]), Ne = {
458
457
  key: 0,
459
458
  class: "placeholder"
460
- }, Be = ["src", "alt"], ze = {
459
+ }, De = ["src", "alt"], Me = {
461
460
  __name: "Image",
462
461
  props: {
463
462
  src: {
@@ -487,15 +486,15 @@ const p = (e, t) => {
487
486
  }
488
487
  },
489
488
  setup(e) {
490
- const t = e, a = z(!0), l = z(!1), o = () => {
489
+ const t = e, a = k(!0), l = k(!1), o = () => {
491
490
  a.value = !1, l.value = !1;
492
491
  }, s = () => {
493
492
  a.value = !1, l.value = !0;
494
493
  };
495
- D(() => t.src, () => {
494
+ T(() => t.src, () => {
496
495
  a.value = !0, l.value = !1;
497
496
  }, { immediate: !0 });
498
- const d = i(() => ({
497
+ const d = u(() => ({
499
498
  width: t.width,
500
499
  height: t.height,
501
500
  minWidth: t.width,
@@ -503,33 +502,33 @@ const p = (e, t) => {
503
502
  maxHeight: t.maxHeight
504
503
  }));
505
504
  return (f, m) => {
506
- const g = q("Icon");
505
+ const y = D("Icon");
507
506
  return n(), r("div", {
508
507
  class: "image-container",
509
- style: x(d.value)
508
+ style: w(d.value)
510
509
  }, [
511
- a.value || l.value ? (n(), r("div", Ce, [
512
- a.value ? (n(), V(R, { key: 0 })) : u("", !0),
513
- l.value ? (n(), V(g, {
510
+ a.value || l.value ? (n(), r("div", Ne, [
511
+ a.value ? (n(), C(H, { key: 0 })) : c("", !0),
512
+ l.value ? (n(), C(y, {
514
513
  key: 1,
515
514
  name: "image-off",
516
515
  size: 48
517
- })) : u("", !0)
518
- ])) : u("", !0),
519
- W(c("img", {
516
+ })) : c("", !0)
517
+ ])) : c("", !0),
518
+ P(i("img", {
520
519
  src: e.src,
521
520
  alt: e.alt,
522
521
  class: "image",
523
- style: x({ objectFit: e.fit, maxHeight: e.maxHeight }),
522
+ style: w({ objectFit: e.fit, maxHeight: e.maxHeight }),
524
523
  onLoad: o,
525
524
  onError: s
526
- }, null, 44, Be), [
527
- [L, !a.value && !l.value]
525
+ }, null, 44, De), [
526
+ [O, !a.value && !l.value]
528
527
  ])
529
528
  ], 4);
530
529
  };
531
530
  }
532
- }, Ne = /* @__PURE__ */ p(ze, [["__scopeId", "data-v-a3997b8b"]]), qe = ["for"], De = { class: "input-container" }, Me = ["id", "type", "value", "placeholder", "disabled"], Te = {
531
+ }, qe = /* @__PURE__ */ v(Me, [["__scopeId", "data-v-a3997b8b"]]), Te = ["for"], Ae = { class: "input-container" }, Pe = ["id", "type", "value", "placeholder", "disabled"], Oe = {
533
532
  __name: "Input",
534
533
  props: {
535
534
  modelValue: {
@@ -567,15 +566,15 @@ const p = (e, t) => {
567
566
  l("update:modelValue", s.target.value);
568
567
  };
569
568
  return (s, d) => (n(), r("div", {
570
- class: y(["input-wrapper", a.class])
569
+ class: p(["input-wrapper", a.class])
571
570
  }, [
572
571
  e.label ? (n(), r("label", {
573
572
  key: 0,
574
573
  for: e.id,
575
574
  class: "input-label"
576
- }, v(e.label), 9, qe)) : u("", !0),
577
- c("div", De, [
578
- c("input", {
575
+ }, g(e.label), 9, Te)) : c("", !0),
576
+ i("div", Ae, [
577
+ i("input", {
579
578
  id: e.id,
580
579
  type: e.type,
581
580
  value: e.modelValue,
@@ -583,74 +582,157 @@ const p = (e, t) => {
583
582
  placeholder: e.placeholder,
584
583
  disabled: e.disabled,
585
584
  class: "input-field"
586
- }, null, 40, Me)
585
+ }, null, 40, Pe)
587
586
  ])
588
587
  ], 2));
589
588
  }
590
- }, Ae = /* @__PURE__ */ p(Te, [["__scopeId", "data-v-218a8bde"]]), Pe = {
589
+ }, Ee = /* @__PURE__ */ v(Oe, [["__scopeId", "data-v-11c0c78b"]]), Fe = {
590
+ width: "28",
591
+ height: "28",
592
+ viewBox: "0 0 24 24",
593
+ fill: "none"
594
+ }, Re = ["fill"], Ge = ["fill"], je = ["fill"], He = ["aria-modal"], Le = {
591
595
  __name: "NavigationDrawer",
592
596
  props: {
593
- modelValue: {
594
- type: Boolean,
595
- required: !0
596
- },
597
- location: {
598
- type: String,
599
- default: "left",
600
- // 'left' or 'right'
601
- validator: (e) => ["left", "right"].includes(e)
602
- },
603
597
  width: {
604
598
  type: [String, Number],
605
599
  default: 300
600
+ },
601
+ dark: {
602
+ type: Boolean,
603
+ default: !1
604
+ },
605
+ light: {
606
+ type: Boolean,
607
+ default: !1
606
608
  }
607
609
  },
608
- emits: ["update:modelValue"],
609
- setup(e, { emit: t }) {
610
- const a = e, l = t, o = () => {
611
- l("update:modelValue", !1);
612
- }, s = i(() => [
613
- "navigation-drawer",
614
- `navigation-drawer--${a.location}`
615
- ]), d = i(() => ({
616
- width: `${a.width}px`
617
- })), f = i(() => `slide-from-${a.location}`);
618
- return D(() => a.modelValue, (m) => {
619
- typeof document < "u" && (m ? document.body.style.overflow = "hidden" : document.body.style.overflow = "");
610
+ setup(e) {
611
+ const t = e, a = k(!1), l = k(!1), o = () => {
612
+ l.value = window.innerWidth <= 768, l.value || (a.value = !1);
613
+ };
614
+ E(() => {
615
+ o(), window.addEventListener("resize", o);
620
616
  }), A(() => {
621
- typeof document < "u" && (document.body.style.overflow = "");
622
- }), (m, g) => (n(), V(P, { to: "body" }, [
623
- _(C, { name: "fade" }, {
624
- default: B(() => [
625
- e.modelValue ? (n(), r("div", {
617
+ window.removeEventListener("resize", o), document.body.style.overflow = "";
618
+ });
619
+ const s = () => {
620
+ a.value = !0, l.value && (document.body.style.overflow = "hidden");
621
+ }, d = () => {
622
+ a.value = !1, l.value && (document.body.style.overflow = "");
623
+ }, f = u(() => [
624
+ "navigation-drawer",
625
+ t.dark ? "navigation-drawer--dark" : "",
626
+ t.light ? "navigation-drawer--light" : "",
627
+ l.value ? "navigation-drawer--mobile" : "navigation-drawer--desktop"
628
+ ]), m = u(() => ({
629
+ width: typeof t.width == "number" ? `${t.width}px` : t.width
630
+ })), y = u(
631
+ () => t.dark ? "var(--surface-color, #fff)" : "var(--text-color, #222)"
632
+ );
633
+ return (x, h) => (n(), r("div", null, [
634
+ l.value ? (n(), r("button", {
635
+ key: 0,
636
+ class: "navigation-drawer__toggle-btn",
637
+ onClick: s,
638
+ "aria-label": "Open navigation drawer"
639
+ }, [
640
+ b(x.$slots, "toggle", {}, () => [
641
+ (n(), r("svg", Fe, [
642
+ i("rect", {
643
+ y: "5",
644
+ width: "24",
645
+ height: "2",
646
+ rx: "1",
647
+ fill: y.value
648
+ }, null, 8, Re),
649
+ i("rect", {
650
+ y: "11",
651
+ width: "24",
652
+ height: "2",
653
+ rx: "1",
654
+ fill: y.value
655
+ }, null, 8, Ge),
656
+ i("rect", {
657
+ y: "17",
658
+ width: "24",
659
+ height: "2",
660
+ rx: "1",
661
+ fill: y.value
662
+ }, null, 8, je)
663
+ ]))
664
+ ], !0)
665
+ ])) : c("", !0),
666
+ $(B, { name: "fade" }, {
667
+ default: z(() => [
668
+ l.value && a.value ? (n(), r("div", {
626
669
  key: 0,
627
- class: "overlay",
628
- onClick: o,
670
+ class: "navigation-drawer__overlay",
671
+ onClick: d,
629
672
  "aria-hidden": "true"
630
- })) : u("", !0)
673
+ })) : c("", !0)
631
674
  ]),
632
675
  _: 1
633
676
  }),
634
- _(C, { name: f.value }, {
635
- default: B(() => [
636
- e.modelValue ? (n(), r("aside", {
637
- key: 0,
638
- class: y(s.value),
639
- style: x(d.value),
640
- role: "dialog",
641
- "aria-modal": "true"
677
+ $(B, {
678
+ name: l.value ? "slide-from-left" : null
679
+ }, {
680
+ default: z(() => [
681
+ P(i("aside", {
682
+ class: p([
683
+ ...f.value,
684
+ l.value && a.value ? "navigation-drawer--open" : ""
685
+ ]),
686
+ style: w(m.value),
687
+ role: "navigation",
688
+ "aria-modal": l.value ? "true" : void 0,
689
+ tabindex: "-1"
642
690
  }, [
643
- b(m.$slots, "default", {}, void 0, !0)
644
- ], 6)) : u("", !0)
691
+ l.value ? (n(), r("button", {
692
+ key: 0,
693
+ class: "navigation-drawer__close-btn",
694
+ onClick: d,
695
+ "aria-label": "Close navigation drawer"
696
+ }, [...h[0] || (h[0] = [
697
+ i("svg", {
698
+ width: "24",
699
+ height: "24",
700
+ viewBox: "0 0 24 24",
701
+ fill: "none"
702
+ }, [
703
+ i("line", {
704
+ x1: "6",
705
+ y1: "6",
706
+ x2: "18",
707
+ y2: "18",
708
+ stroke: "currentColor",
709
+ "stroke-width": "2",
710
+ "stroke-linecap": "round"
711
+ }),
712
+ i("line", {
713
+ x1: "18",
714
+ y1: "6",
715
+ x2: "6",
716
+ y2: "18",
717
+ stroke: "currentColor",
718
+ "stroke-width": "2",
719
+ "stroke-linecap": "round"
720
+ })
721
+ ], -1)
722
+ ])])) : c("", !0),
723
+ b(x.$slots, "default", {}, void 0, !0)
724
+ ], 14, He), [
725
+ [O, !l.value || a.value]
726
+ ])
645
727
  ]),
646
728
  _: 3
647
729
  }, 8, ["name"])
648
730
  ]));
649
731
  }
650
- }, Fe = /* @__PURE__ */ p(Pe, [["__scopeId", "data-v-a9459219"]]), Oe = ["aria-valuenow"], Ee = ["width", "height", "viewBox"], Re = ["cx", "cy", "r", "stroke-width"], Ge = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], je = {
732
+ }, We = /* @__PURE__ */ v(Le, [["__scopeId", "data-v-bd9dc140"]]), Ue = ["aria-valuenow"], Xe = ["width", "height", "viewBox"], Je = ["cx", "cy", "r", "stroke-width"], Ke = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Qe = {
651
733
  key: 0,
652
734
  class: "progress-circular__content"
653
- }, $ = 44, He = {
735
+ }, _ = 44, Ye = {
654
736
  __name: "Progress",
655
737
  props: {
656
738
  modelValue: {
@@ -676,14 +758,14 @@ const p = (e, t) => {
676
758
  }
677
759
  },
678
760
  setup(e) {
679
- const t = e, a = i(() => ($ - t.width) / 2), l = i(() => 2 * Math.PI * a.value), o = i(() => ({
761
+ const t = e, a = u(() => (_ - t.width) / 2), l = u(() => 2 * Math.PI * a.value), o = u(() => ({
680
762
  width: `${t.size}px`,
681
763
  height: `${t.size}px`,
682
764
  color: t.color === "primary" ? "var(--primary-color)" : t.color
683
- })), s = i(() => t.width / t.size * $), d = i(() => t.indeterminate ? null : l.value * (1 - t.modelValue / 100));
765
+ })), s = u(() => t.width / t.size * _), d = u(() => t.indeterminate ? null : l.value * (1 - t.modelValue / 100));
684
766
  return (f, m) => (n(), r("div", {
685
767
  class: "progress-circular",
686
- style: x(o.value),
768
+ style: w(o.value),
687
769
  role: "progressbar",
688
770
  "aria-valuemin": "0",
689
771
  "aria-valuemax": "100",
@@ -693,33 +775,33 @@ const p = (e, t) => {
693
775
  xmlns: "http://www.w3.org/2000/svg",
694
776
  width: e.size,
695
777
  height: e.size,
696
- viewBox: `0 0 ${$} ${$}`
778
+ viewBox: `0 0 ${_} ${_}`
697
779
  }, [
698
- c("circle", {
780
+ i("circle", {
699
781
  class: "progress-circular__underlay",
700
782
  fill: "transparent",
701
- cx: $ / 2,
702
- cy: $ / 2,
783
+ cx: _ / 2,
784
+ cy: _ / 2,
703
785
  r: a.value,
704
786
  "stroke-width": s.value
705
- }, null, 8, Re),
706
- c("circle", {
787
+ }, null, 8, Je),
788
+ i("circle", {
707
789
  class: "progress-circular__overlay",
708
790
  fill: "transparent",
709
- cx: $ / 2,
710
- cy: $ / 2,
791
+ cx: _ / 2,
792
+ cy: _ / 2,
711
793
  r: a.value,
712
794
  "stroke-width": s.value,
713
795
  "stroke-dasharray": l.value,
714
796
  "stroke-dashoffset": d.value
715
- }, null, 8, Ge)
716
- ], 8, Ee)),
717
- f.$slots.default ? (n(), r("div", je, [
797
+ }, null, 8, Ke)
798
+ ], 8, Xe)),
799
+ f.$slots.default ? (n(), r("div", Qe, [
718
800
  b(f.$slots, "default", {}, void 0, !0)
719
- ])) : u("", !0)
720
- ], 12, Oe));
801
+ ])) : c("", !0)
802
+ ], 12, Ue));
721
803
  }
722
- }, We = /* @__PURE__ */ p(He, [["__scopeId", "data-v-2e383161"]]), Le = {
804
+ }, Ze = /* @__PURE__ */ v(Ye, [["__scopeId", "data-v-2e383161"]]), et = {
723
805
  __name: "Row",
724
806
  props: {
725
807
  justify: {
@@ -743,7 +825,7 @@ const p = (e, t) => {
743
825
  }
744
826
  },
745
827
  setup(e) {
746
- const t = e, a = i(() => ({
828
+ const t = e, a = u(() => ({
747
829
  justifyContent: t.justify,
748
830
  alignItems: t.align,
749
831
  gap: t.gap,
@@ -751,16 +833,16 @@ const p = (e, t) => {
751
833
  }));
752
834
  return (l, o) => (n(), r("div", {
753
835
  class: "flex-row",
754
- style: x(a.value)
836
+ style: w(a.value)
755
837
  }, [
756
838
  b(l.$slots, "default", {}, void 0, !0)
757
839
  ], 4));
758
840
  }
759
- }, Ue = /* @__PURE__ */ p(Le, [["__scopeId", "data-v-fc69ad3e"]]), Xe = ["for"], Je = { class: "select-container" }, Ke = ["id", "value", "disabled", "multiple"], Qe = ["selected"], Ye = ["value"], Ze = {
841
+ }, tt = /* @__PURE__ */ v(et, [["__scopeId", "data-v-fc69ad3e"]]), at = ["for"], lt = { class: "select-container" }, nt = ["id", "value", "disabled", "multiple"], ot = ["selected"], rt = ["value"], st = {
760
842
  key: 0,
761
843
  class: "select-icon",
762
844
  "aria-hidden": "true"
763
- }, et = {
845
+ }, it = {
764
846
  __name: "Select",
765
847
  props: {
766
848
  modelValue: {
@@ -803,7 +885,7 @@ const p = (e, t) => {
803
885
  emits: ["update:modelValue"],
804
886
  setup(e, { emit: t }) {
805
887
  const a = e, l = t;
806
- i(() => !a.options || a.options.length === 0 ? [] : typeof a.options[0] == "string" ? a.options.map((s) => ({ text: s, value: s })) : a.options);
888
+ u(() => !a.options || a.options.length === 0 ? [] : typeof a.options[0] == "string" ? a.options.map((s) => ({ text: s, value: s })) : a.options);
807
889
  const o = (s) => {
808
890
  if (a.multiple) {
809
891
  const d = Array.from(s.target.selectedOptions).map((f) => f.value);
@@ -812,37 +894,37 @@ const p = (e, t) => {
812
894
  l("update:modelValue", s.target.value);
813
895
  };
814
896
  return (s, d) => {
815
- const f = q("Icon");
897
+ const f = D("Icon");
816
898
  return n(), r("div", {
817
- class: y(["select-wrapper", a.class])
899
+ class: p(["select-wrapper", a.class])
818
900
  }, [
819
901
  e.label ? (n(), r("label", {
820
902
  key: 0,
821
903
  for: e.id,
822
904
  class: "select-label"
823
- }, v(e.label), 9, Xe)) : u("", !0),
824
- c("div", Je, [
825
- c("select", {
905
+ }, g(e.label), 9, at)) : c("", !0),
906
+ i("div", lt, [
907
+ i("select", {
826
908
  id: e.id,
827
909
  value: e.modelValue,
828
910
  onChange: o,
829
911
  disabled: e.disabled,
830
912
  multiple: e.multiple,
831
- class: y([{ "no-arrow": e.hideArrow }, "select-input"])
913
+ class: p([{ "no-arrow": e.hideArrow }, "select-input"])
832
914
  }, [
833
915
  e.placeholder ? (n(), r("option", {
834
916
  key: 0,
835
917
  value: "",
836
918
  disabled: "",
837
919
  selected: !e.modelValue
838
- }, v(e.placeholder), 9, Qe)) : u("", !0),
839
- (n(!0), r(F, null, O(e.options, (m) => (n(), r("option", {
920
+ }, g(e.placeholder), 9, ot)) : c("", !0),
921
+ (n(!0), r(F, null, R(e.options, (m) => (n(), r("option", {
840
922
  key: m.value,
841
923
  value: m.value
842
- }, v(m.text), 9, Ye))), 128))
843
- ], 42, Ke),
844
- e.hideArrow ? u("", !0) : (n(), r("div", Ze, [
845
- _(f, {
924
+ }, g(m.text), 9, rt))), 128))
925
+ ], 42, nt),
926
+ e.hideArrow ? c("", !0) : (n(), r("div", st, [
927
+ $(f, {
846
928
  icon: "mdi-chevron-down",
847
929
  size: "20"
848
930
  })
@@ -851,15 +933,15 @@ const p = (e, t) => {
851
933
  ], 2);
852
934
  };
853
935
  }
854
- }, tt = /* @__PURE__ */ p(et, [["__scopeId", "data-v-a36629f1"]]), at = { class: "spacer" }, lt = {
936
+ }, dt = /* @__PURE__ */ v(it, [["__scopeId", "data-v-0e059790"]]), ut = { class: "spacer" }, ct = {
855
937
  __name: "Spacer",
856
938
  setup(e) {
857
- return (t, a) => (n(), r("div", at));
939
+ return (t, a) => (n(), r("div", ut));
858
940
  }
859
- }, nt = /* @__PURE__ */ p(lt, [["__scopeId", "data-v-370a82d1"]]), ot = { class: "textarea-wrapper" }, st = ["for"], rt = ["id", "value", "placeholder", "rows", "maxlength"], it = {
941
+ }, ft = /* @__PURE__ */ v(ct, [["__scopeId", "data-v-370a82d1"]]), mt = { class: "textarea-wrapper" }, vt = ["for"], pt = ["id", "value", "placeholder", "rows", "maxlength"], yt = {
860
942
  key: 1,
861
943
  class: "error-message"
862
- }, dt = {
944
+ }, ht = {
863
945
  __name: "TextArea",
864
946
  props: {
865
947
  id: {
@@ -893,26 +975,26 @@ const p = (e, t) => {
893
975
  },
894
976
  emits: ["update:modelValue"],
895
977
  setup(e) {
896
- return (t, a) => (n(), r("div", ot, [
978
+ return (t, a) => (n(), r("div", mt, [
897
979
  e.label ? (n(), r("label", {
898
980
  key: 0,
899
981
  for: e.id,
900
982
  class: "textarea-label"
901
- }, v(e.label), 9, st)) : u("", !0),
902
- c("textarea", {
983
+ }, g(e.label), 9, vt)) : c("", !0),
984
+ i("textarea", {
903
985
  id: e.id,
904
986
  value: e.modelValue,
905
987
  placeholder: e.placeholder,
906
988
  rows: e.rows,
907
989
  maxlength: e.maxlength,
908
990
  onInput: a[0] || (a[0] = (l) => t.$emit("update:modelValue", l.target.value)),
909
- class: y(["textarea-input", { "has-error": e.error }])
910
- }, null, 42, rt),
911
- e.error ? (n(), r("p", it, v(e.error), 1)) : u("", !0)
991
+ class: p(["textarea-input", { "has-error": e.error }])
992
+ }, null, 42, pt),
993
+ e.error ? (n(), r("p", yt, g(e.error), 1)) : c("", !0)
912
994
  ]));
913
995
  }
914
- }, ut = /* @__PURE__ */ p(dt, [["__scopeId", "data-v-99d40ec4"]]);
915
- class ct {
996
+ }, gt = /* @__PURE__ */ v(ht, [["__scopeId", "data-v-003408a6"]]);
997
+ class bt {
916
998
  static newGuid() {
917
999
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(t) {
918
1000
  const a = Math.random() * 16 | 0;
@@ -932,12 +1014,12 @@ class ct {
932
1014
  return "00000000-0000-0000-0000-000000000000";
933
1015
  }
934
1016
  }
935
- const mt = { class: "input-container" }, ft = ["id", "type", "value", "autocomplete", "maxlength"], pt = ["for"], yt = { class: "error-container" }, vt = /* @__PURE__ */ T({
1017
+ const xt = { class: "input-container" }, wt = ["id", "type", "value", "autocomplete", "maxlength"], _t = ["for"], $t = { class: "error-container" }, kt = /* @__PURE__ */ q({
936
1018
  __name: "TextField",
937
1019
  props: {
938
1020
  id: {
939
1021
  type: String,
940
- default: () => `textfield-${ct.newGuid()}`
1022
+ default: () => `textfield-${bt.newGuid()}`
941
1023
  },
942
1024
  label: {
943
1025
  type: String,
@@ -974,75 +1056,75 @@ const mt = { class: "input-container" }, ft = ["id", "type", "value", "autocompl
974
1056
  },
975
1057
  emits: ["update:modelValue"],
976
1058
  setup(e, { expose: t, emit: a }) {
977
- const l = e, o = a, s = z([]), d = z(!0), f = U("form", null), m = X(), g = async () => {
1059
+ const l = e, o = a, s = k([]), d = k(!0), f = J("form", null), m = K(), y = async () => {
978
1060
  s.value = [];
979
- let I = !0;
980
- for (const k of l.rules) {
981
- const N = k(l.modelValue);
982
- N !== !0 && (I = !1, s.value.push(N));
1061
+ let V = !0;
1062
+ for (const I of l.rules) {
1063
+ const N = I(l.modelValue);
1064
+ N !== !0 && (V = !1, s.value.push(N));
983
1065
  }
984
- return { valid: I, errors: s.value };
985
- }, S = () => {
1066
+ return { valid: V, errors: s.value };
1067
+ }, x = () => {
986
1068
  o("update:modelValue", ""), h();
987
1069
  }, h = () => {
988
1070
  s.value = [], d.value = !0;
989
- }, w = (I) => {
990
- const k = I.target;
991
- o("update:modelValue", k.value), d.value || g();
992
- }, G = () => {
993
- d.value = !1, l.trim && typeof l.modelValue == "string" && o("update:modelValue", l.modelValue.trim()), g();
1071
+ }, S = (V) => {
1072
+ const I = V.target;
1073
+ o("update:modelValue", I.value), d.value || y();
1074
+ }, L = () => {
1075
+ d.value = !1, l.trim && typeof l.modelValue == "string" && o("update:modelValue", l.modelValue.trim()), y();
994
1076
  };
995
- return J(() => {
1077
+ return E(() => {
996
1078
  f && m && f.register({
997
1079
  id: l.id,
998
- validate: g,
999
- reset: S,
1080
+ validate: y,
1081
+ reset: x,
1000
1082
  resetValidation: h
1001
1083
  });
1002
1084
  }), A(() => {
1003
1085
  f && m && f.unregister({ id: l.id });
1004
1086
  }), t({
1005
- validate: g,
1006
- reset: S,
1087
+ validate: y,
1088
+ reset: x,
1007
1089
  resetValidation: h,
1008
1090
  id: l.id,
1009
1091
  errors: s
1010
- }), (I, k) => (n(), r("div", {
1011
- class: y(["text-field-wrapper", { "has-value": e.modelValue }])
1092
+ }), (V, I) => (n(), r("div", {
1093
+ class: p(["text-field-wrapper", { "has-value": e.modelValue }])
1012
1094
  }, [
1013
- c("div", mt, [
1014
- c("input", {
1095
+ i("div", xt, [
1096
+ i("input", {
1015
1097
  id: e.id,
1016
1098
  type: e.type,
1017
1099
  value: e.modelValue,
1018
1100
  placeholder: " ",
1019
- onInput: w,
1020
- onBlur: G,
1101
+ onInput: S,
1102
+ onBlur: L,
1021
1103
  class: "text-field-input",
1022
1104
  autocomplete: e.autocomplete,
1023
1105
  maxlength: e.maxlength
1024
- }, null, 40, ft),
1106
+ }, null, 40, wt),
1025
1107
  e.label ? (n(), r("label", {
1026
1108
  key: 0,
1027
1109
  for: e.id,
1028
1110
  class: "text-field-label"
1029
- }, v(e.placeholder ? e.placeholder : e.label), 9, pt)) : u("", !0),
1030
- c("fieldset", {
1111
+ }, g(e.placeholder ? e.placeholder : e.label), 9, _t)) : c("", !0),
1112
+ i("fieldset", {
1031
1113
  "aria-hidden": "true",
1032
- class: y(["text-field-fieldset", { "has-error": s.value.length > 0 }])
1033
- }, [...k[0] || (k[0] = [
1034
- c("legend", { class: "text-field-legend" }, null, -1)
1114
+ class: p(["text-field-fieldset", { "has-error": s.value.length > 0 }])
1115
+ }, [...I[0] || (I[0] = [
1116
+ i("legend", { class: "text-field-legend" }, null, -1)
1035
1117
  ])], 2)
1036
1118
  ]),
1037
- c("div", yt, [
1038
- (n(!0), r(F, null, O(s.value, (N, j) => (n(), r("p", {
1039
- key: j,
1119
+ i("div", $t, [
1120
+ (n(!0), r(F, null, R(s.value, (N, W) => (n(), r("p", {
1121
+ key: W,
1040
1122
  class: "error-message"
1041
- }, v(N), 1))), 128))
1123
+ }, g(N), 1))), 128))
1042
1124
  ])
1043
1125
  ], 2));
1044
1126
  }
1045
- }), gt = /* @__PURE__ */ p(vt, [["__scopeId", "data-v-f4c602d7"]]), ht = ["aria-label"], bt = { class: "tooltip-content" }, xt = {
1127
+ }), St = /* @__PURE__ */ v(kt, [["__scopeId", "data-v-babd6e9f"]]), It = ["aria-label"], Vt = { class: "tooltip-content" }, Ct = {
1046
1128
  __name: "Tooltip",
1047
1129
  props: {
1048
1130
  text: {
@@ -1061,11 +1143,11 @@ const mt = { class: "input-container" }, ft = ["id", "type", "value", "autocompl
1061
1143
  }
1062
1144
  },
1063
1145
  setup(e) {
1064
- const t = e, a = z(!1), l = () => {
1146
+ const t = e, a = k(!1), l = () => {
1065
1147
  t.disabled || (a.value = !0);
1066
1148
  }, o = () => {
1067
1149
  a.value = !1;
1068
- }, s = i(() => [
1150
+ }, s = u(() => [
1069
1151
  "tooltip",
1070
1152
  `tooltip--${t.location}`
1071
1153
  ]);
@@ -1079,21 +1161,21 @@ const mt = { class: "input-container" }, ft = ["id", "type", "value", "autocompl
1079
1161
  "aria-label": e.text
1080
1162
  }, [
1081
1163
  b(d.$slots, "default", {}, void 0, !0),
1082
- _(C, { name: "tooltip-fade" }, {
1083
- default: B(() => [
1164
+ $(B, { name: "tooltip-fade" }, {
1165
+ default: z(() => [
1084
1166
  a.value ? (n(), r("div", {
1085
1167
  key: 0,
1086
- class: y(s.value)
1168
+ class: p(s.value)
1087
1169
  }, [
1088
- c("div", bt, v(e.text), 1),
1089
- f[0] || (f[0] = c("div", { class: "tooltip-arrow" }, null, -1))
1090
- ], 2)) : u("", !0)
1170
+ i("div", Vt, g(e.text), 1),
1171
+ f[0] || (f[0] = i("div", { class: "tooltip-arrow" }, null, -1))
1172
+ ], 2)) : c("", !0)
1091
1173
  ]),
1092
1174
  _: 1
1093
1175
  })
1094
- ], 40, ht));
1176
+ ], 40, It));
1095
1177
  }
1096
- }, $t = /* @__PURE__ */ p(xt, [["__scopeId", "data-v-66afe288"]]), _t = {
1178
+ }, Bt = /* @__PURE__ */ v(Ct, [["__scopeId", "data-v-66afe288"]]), zt = {
1097
1179
  __name: "Overlay",
1098
1180
  props: {
1099
1181
  modelValue: {
@@ -1111,46 +1193,46 @@ const mt = { class: "input-container" }, ft = ["id", "type", "value", "autocompl
1111
1193
  function o() {
1112
1194
  l("update:modelValue", !1);
1113
1195
  }
1114
- return D(() => a.modelValue, (s) => {
1196
+ return T(() => a.modelValue, (s) => {
1115
1197
  !a.contained && typeof document < "u" && (document.body.style.overflow = s ? "hidden" : "");
1116
- }), (s, d) => (n(), V(C, { name: "overlay-fade" }, {
1117
- default: B(() => [
1198
+ }), (s, d) => (n(), C(B, { name: "overlay-fade" }, {
1199
+ default: z(() => [
1118
1200
  e.modelValue ? (n(), r("div", {
1119
1201
  key: 0,
1120
- class: y(["overlay", { "overlay--contained": e.contained }]),
1202
+ class: p(["overlay", { "overlay--contained": e.contained }]),
1121
1203
  onClick: M(o, ["self"])
1122
1204
  }, [
1123
1205
  b(s.$slots, "default", {}, void 0, !0)
1124
- ], 2)) : u("", !0)
1206
+ ], 2)) : c("", !0)
1125
1207
  ]),
1126
1208
  _: 3
1127
1209
  }));
1128
1210
  }
1129
- }, St = /* @__PURE__ */ p(_t, [["__scopeId", "data-v-45f15f75"]]), wt = (e) => {
1130
- e.component("Avatar", Y), e.component("Button", ae), e.component("Card", oe), e.component("Chip", re), e.component("Column", de), e.component("DatePicker", he), e.component("Dialog", Se), e.component("Divider", ke), e.component("Icon", E), e.component("Overlay", St), e.component("Image", Ne), e.component("Input", Ae), e.component("NavigationDrawer", Fe), e.component("Progress", We), e.component("ProgressSpinner", R), e.component("Row", Ue), e.component("Select", tt), e.component("Spacer", nt), e.component("TextArea", ut), e.component("TextField", gt), e.component("Tooltip", $t);
1131
- }, Vt = { install: wt };
1211
+ }, Nt = /* @__PURE__ */ v(zt, [["__scopeId", "data-v-45f15f75"]]), Dt = (e) => {
1212
+ e.component("Avatar", Z), e.component("Button", le), e.component("Card", re), e.component("Chip", ue), e.component("Column", fe), e.component("DatePicker", we), e.component("Dialog", Ie), e.component("Divider", Ce), e.component("Icon", j), e.component("Overlay", Nt), e.component("Image", qe), e.component("Input", Ee), e.component("NavigationDrawer", We), e.component("Progress", Ze), e.component("ProgressSpinner", H), e.component("Row", tt), e.component("Select", dt), e.component("Spacer", ft), e.component("TextArea", gt), e.component("TextField", St), e.component("Tooltip", Bt);
1213
+ }, qt = { install: Dt };
1132
1214
  export {
1133
- Y as Avatar,
1134
- ae as Button,
1135
- oe as Card,
1136
- re as Chip,
1137
- de as Column,
1138
- he as DatePicker,
1139
- Se as Dialog,
1140
- ke as Divider,
1141
- E as Icon,
1142
- Ne as Image,
1143
- Ae as Input,
1144
- Fe as NavigationDrawer,
1145
- St as Overlay,
1146
- We as Progress,
1147
- R as ProgressSpinner,
1148
- Ue as Row,
1149
- tt as Select,
1150
- nt as Spacer,
1151
- ut as TextArea,
1152
- gt as TextField,
1153
- $t as Tooltip,
1154
- Vt as default,
1155
- wt as install
1215
+ Z as Avatar,
1216
+ le as Button,
1217
+ re as Card,
1218
+ ue as Chip,
1219
+ fe as Column,
1220
+ we as DatePicker,
1221
+ Ie as Dialog,
1222
+ Ce as Divider,
1223
+ j as Icon,
1224
+ qe as Image,
1225
+ Ee as Input,
1226
+ We as NavigationDrawer,
1227
+ Nt as Overlay,
1228
+ Ze as Progress,
1229
+ H as ProgressSpinner,
1230
+ tt as Row,
1231
+ dt as Select,
1232
+ ft as Spacer,
1233
+ gt as TextArea,
1234
+ St as TextField,
1235
+ Bt as Tooltip,
1236
+ qt as default,
1237
+ Dt as install
1156
1238
  };