vuiii 1.0.0-beta.95 → 1.0.0-beta.97

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.
package/dist/vuiii.js CHANGED
@@ -27,8 +27,8 @@ var ce = /* #__PURE__ */ Object.assign({
27
27
  "../assets/icons/triangle-right.svg": () => import("./triangle-right-BX2x9rEh.js").then((e) => e.default),
28
28
  "../assets/icons/triangle-up.svg": () => import("./triangle-up-CYsKYAty.js").then((e) => e.default),
29
29
  "../assets/icons/x.svg": () => import("./x-dlwYWrtl.js").then((e) => e.default)
30
- }), V, le = /* @__PURE__ */ new Map();
31
- function ue(e) {
30
+ }), le, ue = /* @__PURE__ */ new Map();
31
+ function de(e) {
32
32
  let t = Object.keys(ce).find((t) => t.endsWith(`/${e}.svg`)), n = t ? ce[t] : void 0;
33
33
  if (n) return f(async () => {
34
34
  let t = await n();
@@ -43,17 +43,17 @@ function ue(e) {
43
43
  };
44
44
  });
45
45
  }
46
- function de(e) {
47
- V = e;
48
- }
49
46
  function fe(e) {
50
- if (le.has(e)) return le.get(e);
47
+ le = e;
48
+ }
49
+ function pe(e) {
50
+ if (ue.has(e)) return ue.get(e);
51
51
  let t;
52
- return V && (t = V(e)), t ||= ue(e), t ? le.set(e, t) : console.error("Unable to resolve icon component for name: " + e), t;
52
+ return le && (t = le(e)), t ||= de(e), t && ue.set(e, t), t;
53
53
  }
54
54
  //#endregion
55
55
  //#region src/components/Icon.vue?vue&type=script&setup=true&lang.ts
56
- var pe = /*@__PURE__*/ p({
56
+ var me = /*@__PURE__*/ p({
57
57
  __name: "Icon",
58
58
  props: {
59
59
  name: {},
@@ -61,16 +61,16 @@ var pe = /*@__PURE__*/ p({
61
61
  },
62
62
  setup(e) {
63
63
  let t = e, n = te(void 0);
64
- return R(() => t.name, () => n.value = fe(t.name), { immediate: !0 }), (e, t) => (T(), a(A(n.value), {
64
+ return R(() => t.name, () => n.value = pe(t.name), { immediate: !0 }), (e, t) => (T(), a(A(n.value), {
65
65
  class: y(["Icon", { [`Icon--${e.$props.size}`]: e.$props.size }]),
66
66
  "aria-hidden": "true"
67
67
  }, null, 8, ["class"]));
68
68
  }
69
- }), H = (e, t) => {
69
+ }), V = (e, t) => {
70
70
  let n = e.__vccOpts || e;
71
71
  for (let [e, r] of t) n[e] = r;
72
72
  return n;
73
- }, U = /*#__PURE__*/ H(pe, [["__scopeId", "data-v-7168c666"]]), me = { key: 0 }, W = /* @__PURE__ */ p({
73
+ }, H = /*#__PURE__*/ V(me, [["__scopeId", "data-v-7168c666"]]), he = { key: 0 }, U = /* @__PURE__ */ p({
74
74
  __name: "Button",
75
75
  props: {
76
76
  disabled: { type: Boolean },
@@ -103,14 +103,14 @@ var pe = /*@__PURE__*/ p({
103
103
  type: n.value === "button" ? e.$props.type : void 0
104
104
  }), {
105
105
  default: z(() => [
106
- O(e.$slots, "prefix", {}, () => [e.$props.prefixIcon || e.$props.loading ? (T(), a(U, {
106
+ O(e.$slots, "prefix", {}, () => [e.$props.prefixIcon || e.$props.loading ? (T(), a(H, {
107
107
  key: 0,
108
108
  class: "vuiii-button__icon vuiii-button__icon--prefix",
109
109
  name: e.$props.loading ? "spinner" : e.$props.prefixIcon,
110
110
  size: e.$props.size
111
111
  }, null, 8, ["name", "size"])) : o("", !0)]),
112
- e.$slots.default || e.$props.label ? (T(), s("span", me, [O(e.$slots, "default", {}, () => [u(j(e.$props.label), 1)])])) : o("", !0),
113
- O(e.$slots, "suffix", {}, () => [e.$props.suffixIcon ? (T(), a(U, {
112
+ e.$slots.default || e.$props.label ? (T(), s("span", he, [O(e.$slots, "default", {}, () => [u(j(e.$props.label), 1)])])) : o("", !0),
113
+ O(e.$slots, "suffix", {}, () => [e.$props.suffixIcon ? (T(), a(H, {
114
114
  key: 0,
115
115
  class: "vuiii-button__icon vuiii-button__icon--suffix",
116
116
  name: e.$props.suffixIcon,
@@ -125,7 +125,7 @@ var pe = /*@__PURE__*/ p({
125
125
  "type"
126
126
  ]));
127
127
  }
128
- }), he = /* @__PURE__ */ p({
128
+ }), ge = /* @__PURE__ */ p({
129
129
  __name: "FadeTransition",
130
130
  props: { duration: { default: 300 } },
131
131
  setup(e) {
@@ -137,7 +137,7 @@ var pe = /*@__PURE__*/ p({
137
137
  });
138
138
  //#endregion
139
139
  //#region src/composables/useOnClickOutside.ts
140
- function ge(e, t) {
140
+ function _e(e, t) {
141
141
  let n = (n) => {
142
142
  e.value?.contains(n.target) || t(n);
143
143
  };
@@ -147,7 +147,7 @@ function ge(e, t) {
147
147
  }
148
148
  //#endregion
149
149
  //#region src/composables/useOnKeyPress.ts
150
- function _e(e, t, n) {
150
+ function ve(e, t, n) {
151
151
  let r = (n) => {
152
152
  n.key.toLowerCase() === e.toLowerCase() && t(n);
153
153
  };
@@ -159,7 +159,7 @@ function _e(e, t, n) {
159
159
  }
160
160
  //#endregion
161
161
  //#region src/components/Dropdown.vue?vue&type=script&setup=true&lang.ts
162
- var ve = { class: "Dropdown__trigger" }, ye = /* @__PURE__ */ p({
162
+ var ye = { class: "Dropdown__trigger" }, be = /* @__PURE__ */ p({
163
163
  __name: "Dropdown",
164
164
  props: {
165
165
  label: {},
@@ -181,9 +181,9 @@ var ve = { class: "Dropdown__trigger" }, ye = /* @__PURE__ */ p({
181
181
  function _(e) {
182
182
  e ?? !l.value ? h() : g();
183
183
  }
184
- return ge(u, (e) => {
184
+ return _e(u, (e) => {
185
185
  l.value && !e.defaultPrevented && (e.preventDefault(), g());
186
- }), _e("Escape", (e) => {
186
+ }), ve("Escape", (e) => {
187
187
  l.value && !e.defaultPrevented && (e.preventDefault(), g());
188
188
  }), t({
189
189
  open: h,
@@ -198,12 +198,12 @@ var ve = { class: "Dropdown__trigger" }, ye = /* @__PURE__ */ p({
198
198
  "--anchor-id": f,
199
199
  "--position-area": p.value
200
200
  })
201
- }, [c("div", ve, [O(t.$slots, "trigger", b(m({
201
+ }, [c("div", ye, [O(t.$slots, "trigger", b(m({
202
202
  open: h,
203
203
  close: g,
204
204
  toggle: _,
205
205
  isOpen: l.value
206
- })), () => [d(W, {
206
+ })), () => [d(U, {
207
207
  label: e.label,
208
208
  color: e.color,
209
209
  block: e.block,
@@ -218,7 +218,7 @@ var ve = { class: "Dropdown__trigger" }, ye = /* @__PURE__ */ p({
218
218
  "block",
219
219
  "prefixIcon",
220
220
  "aria-expanded"
221
- ])])]), d(he, { duration: 100 }, {
221
+ ])])]), d(ge, { duration: 100 }, {
222
222
  default: z(() => [l.value ? (T(), s("div", {
223
223
  key: 0,
224
224
  class: y(["Dropdown__dropdown", { "Dropdown__dropdown--fullWidth": e.fullDropdownWidth }])
@@ -226,15 +226,15 @@ var ve = { class: "Dropdown__trigger" }, ye = /* @__PURE__ */ p({
226
226
  _: 3
227
227
  })], 6));
228
228
  }
229
- }), be = { class: "DropdownMenu" }, xe = ["role", "id"], Se = [
229
+ }), xe = { class: "DropdownMenu" }, Se = ["role", "id"], Ce = [
230
230
  "id",
231
231
  "role",
232
232
  "aria-selected"
233
- ], Ce = [
233
+ ], we = [
234
234
  "onClick",
235
235
  "onMouseenter",
236
236
  "onMouseleave"
237
- ], we = /* @__PURE__ */ p({
237
+ ], Te = /* @__PURE__ */ p({
238
238
  __name: "DropdownMenu",
239
239
  props: {
240
240
  items: {},
@@ -255,7 +255,7 @@ var ve = { class: "Dropdown__trigger" }, ye = /* @__PURE__ */ p({
255
255
  block: "nearest",
256
256
  behavior: "smooth"
257
257
  });
258
- }), (n, r) => (T(), s("div", be, [t.items?.length ? (T(), s("ul", {
258
+ }), (n, r) => (T(), s("div", xe, [t.items?.length ? (T(), s("ul", {
259
259
  key: 0,
260
260
  class: "DropdownMenu__items",
261
261
  role: t.listRole,
@@ -264,7 +264,7 @@ var ve = { class: "Dropdown__trigger" }, ye = /* @__PURE__ */ p({
264
264
  key: r,
265
265
  class: y(["DropdownMenu__item", { "DropdownMenu__item--withCursor": t.cursorIndex === r }]),
266
266
  id: t.optionIdPrefix ? `${t.optionIdPrefix}-${r}` : void 0,
267
- role: t.listRole === "listbox" ? "option" : void 0,
267
+ role: t.listRole === "listbox" ? "option" : t.listRole === "menu" ? "menuitem" : void 0,
268
268
  "aria-selected": t.listRole === "listbox" ? t.cursorIndex === r : void 0,
269
269
  ref_for: !0,
270
270
  ref_key: "itemElements",
@@ -291,14 +291,16 @@ var ve = { class: "Dropdown__trigger" }, ye = /* @__PURE__ */ p({
291
291
  item: e,
292
292
  index: r,
293
293
  cursorIndex: t.cursorIndex
294
- }), () => [u(j(e), 1)])], 40, Ce)])], 10, Se))), 128))], 8, xe)) : o("", !0)]));
294
+ }), () => [u(j(e), 1)])], 40, we)])], 10, Ce))), 128))], 8, Se)) : o("", !0)]));
295
295
  }
296
- }), G = /*#__PURE__*/ H(/* @__PURE__ */ p({
296
+ }), W = /*#__PURE__*/ V(/* @__PURE__ */ p({
297
297
  inheritAttrs: !1,
298
298
  __name: "InputWrapper",
299
299
  props: {
300
300
  prefixIcon: {},
301
301
  suffixIcon: {},
302
+ prefixIconLabel: {},
303
+ suffixIconLabel: {},
302
304
  size: {},
303
305
  invalid: { type: Boolean },
304
306
  pill: { type: Boolean }
@@ -321,35 +323,45 @@ var ve = { class: "Dropdown__trigger" }, ye = /* @__PURE__ */ p({
321
323
  }, [
322
324
  M(r).prefix || t.prefixIcon ? O(e.$slots, "prefix", { key: 0 }, () => [(T(), a(A(c.value ? "button" : "div"), {
323
325
  class: y(["vuiii-input__prefix-icon", { InputWrapper__icon: c.value }]),
324
- tabindex: "-1",
326
+ type: c.value ? "button" : void 0,
327
+ "aria-label": c.value ? e.$props.prefixIconLabel || e.$props.prefixIcon : void 0,
325
328
  onClick: n[0] ||= B((t) => e.$emit("prefix-icon-click"), ["prevent"])
326
329
  }, {
327
- default: z(() => [e.$props.prefixIcon ? (T(), a(U, {
330
+ default: z(() => [e.$props.prefixIcon ? (T(), a(H, {
328
331
  key: 0,
329
332
  name: e.$props.prefixIcon || "",
330
333
  size: e.$props.size
331
334
  }, null, 8, ["name", "size"])) : o("", !0)]),
332
335
  _: 1
333
- }, 8, ["class"]))], !0) : o("", !0),
336
+ }, 8, [
337
+ "class",
338
+ "type",
339
+ "aria-label"
340
+ ]))], !0) : o("", !0),
334
341
  O(e.$slots, "default", {}, void 0, !0),
335
342
  M(r).suffix || t.suffixIcon ? O(e.$slots, "suffix", { key: 1 }, () => [(T(), a(A(l.value ? "button" : "div"), {
336
343
  class: y(["vuiii-input__suffix-icon", { InputWrapper__icon: l.value }]),
337
- tabindex: "-1",
344
+ type: l.value ? "button" : void 0,
345
+ "aria-label": l.value ? e.$props.suffixIconLabel || e.$props.suffixIcon : void 0,
338
346
  onClick: n[1] ||= B((t) => e.$emit("suffix-icon-click"), ["prevent"])
339
347
  }, {
340
- default: z(() => [e.$props.suffixIcon ? (T(), a(U, {
348
+ default: z(() => [e.$props.suffixIcon ? (T(), a(H, {
341
349
  key: 0,
342
350
  name: e.$props.suffixIcon || "",
343
351
  size: e.$props.size
344
352
  }, null, 8, ["name", "size"])) : o("", !0)]),
345
353
  _: 1
346
- }, 8, ["class"]))], !0) : o("", !0)
354
+ }, 8, [
355
+ "class",
356
+ "type",
357
+ "aria-label"
358
+ ]))], !0) : o("", !0)
347
359
  ], 2));
348
360
  }
349
- }), [["__scopeId", "data-v-036a7e24"]]);
361
+ }), [["__scopeId", "data-v-60a1c97a"]]);
350
362
  //#endregion
351
363
  //#region src/composables/useAttrsWithoutClass.ts
352
- function K() {
364
+ function G() {
353
365
  let e = N();
354
366
  return i(() => {
355
367
  let { class: t, ...n } = e;
@@ -358,7 +370,7 @@ function K() {
358
370
  }
359
371
  //#endregion
360
372
  //#region src/composables/useCursor.ts
361
- function Te(e, t = {}) {
373
+ function Ee(e, t = {}) {
362
374
  let n = t.initialIndex ?? 0, r = E(n), a = i(() => r.value === -1 ? void 0 : M(e)[r.value]), o = () => {
363
375
  let n = (r.value === -1 ? -1 : r.value) + 1, i = M(e).length;
364
376
  r.value = t.cycle ? n % i : Math.min(n, i - 1);
@@ -378,55 +390,57 @@ function Te(e, t = {}) {
378
390
  }
379
391
  //#endregion
380
392
  //#region src/utils/normalizeOptions.ts
381
- function q(e, t) {
393
+ function K(e, t) {
382
394
  return typeof t == "function" ? t(e) : t ? e[t] : e;
383
395
  }
384
- function Ee(e, t = {}, n) {
385
- let r = t.stringifyValue || String, i = r(q(e, t.value));
396
+ function De(e, t = {}, n) {
397
+ let r = t.stringifyValue || String, i = r(K(e, t.value));
386
398
  return {
387
399
  value: i,
388
- label: q(e, t.label),
389
- disabled: t.disabled && q(e, t.disabled),
390
- description: t.description && q(e, t.description),
391
- icon: t.icon && q(e, t.icon),
400
+ label: K(e, t.label),
401
+ disabled: t.disabled && K(e, t.disabled),
402
+ description: t.description && K(e, t.description),
403
+ icon: t.icon && K(e, t.icon),
392
404
  isSelected: n === void 0 ? void 0 : i === r(n),
393
405
  data: e
394
406
  };
395
407
  }
396
- function J(e, t = {}, n) {
397
- return Array.isArray(e) ? e.map((e) => Ee(e, t, n)) : typeof e == "object" && e ? Object.entries(e || {}).reduce((e, [r, i]) => e.concat({
398
- ...Ee(r, t, n),
408
+ function q(e, t = {}, n) {
409
+ return Array.isArray(e) ? e.map((e) => De(e, t, n)) : typeof e == "object" && e ? Object.entries(e || {}).reduce((e, [r, i]) => e.concat({
410
+ ...De(r, t, n),
399
411
  label: i,
400
412
  data: r
401
413
  }), []) : [];
402
414
  }
403
- function De(e, t = {}, n) {
415
+ function Oe(e, t = {}, n) {
404
416
  return Array.isArray(e) ? e.map((e) => ({
405
- label: q(e, t.groupLabel),
406
- options: J(q(e, t.groupOptions), t, n)
417
+ label: K(e, t.groupLabel),
418
+ options: q(K(e, t.groupOptions), t, n)
407
419
  })) : typeof e == "object" && e ? Object.entries(e || {}).reduce((e, [r, i]) => e.concat({
408
420
  label: r,
409
- options: J(i, t, n)
421
+ options: q(i, t, n)
410
422
  }), []) : [];
411
423
  }
412
424
  //#endregion
413
425
  //#region src/components/Autocomplete.vue?vue&type=script&setup=true&lang.ts
414
- var Oe = [
426
+ var ke = [
415
427
  "placeholder",
416
428
  "disabled",
417
429
  "value",
418
430
  "aria-expanded",
419
431
  "aria-controls",
420
432
  "aria-activedescendant"
421
- ], ke = { class: "Autocomplete__optionLabel" }, Ae = {
433
+ ], Ae = { class: "Autocomplete__optionLabel" }, je = {
422
434
  key: 0,
423
435
  class: "Autocomplete__optionDescription"
424
- }, je = /*#__PURE__*/ H(/* @__PURE__ */ p({
436
+ }, Me = /*#__PURE__*/ V(/* @__PURE__ */ p({
425
437
  inheritAttrs: !1,
426
438
  __name: "Autocomplete",
427
439
  props: /*@__PURE__*/ _({
428
440
  prefixIcon: {},
429
441
  suffixIcon: {},
442
+ prefixIconLabel: {},
443
+ suffixIconLabel: {},
430
444
  size: { default: "normal" },
431
445
  invalid: { type: Boolean },
432
446
  pill: { type: Boolean },
@@ -453,7 +467,7 @@ var Oe = [
453
467
  "select"
454
468
  ], ["update:modelValue"]),
455
469
  setup(e, { expose: t, emit: n }) {
456
- let r = F(e, "modelValue"), u = e, f = n, p = K(), m = E(), h = E(), g = i(() => m.value?.isOpen ?? !1), _ = P(), b = `${_}-option`, x = i(() => {
470
+ let r = F(e, "modelValue"), u = e, f = n, p = G(), m = E(), h = E(), g = i(() => m.value?.isOpen ?? !1), _ = P(), b = `${_}-option`, x = i(() => {
457
471
  let e = {
458
472
  value: u.optionValue,
459
473
  label: u.optionLabel,
@@ -461,11 +475,11 @@ var Oe = [
461
475
  description: u.optionDescription,
462
476
  icon: u.optionIcon
463
477
  };
464
- return u.groupOptions ? De(u.options, {
478
+ return u.groupOptions ? Oe(u.options, {
465
479
  groupLabel: u.groupLabel,
466
480
  groupOptions: u.groupOptions,
467
481
  ...e
468
- }, r.value).flatMap((e) => e.options) : J(u.options, e, r.value);
482
+ }, r.value).flatMap((e) => e.options) : q(u.options, e, r.value);
469
483
  });
470
484
  function S(e, t) {
471
485
  if (!t) return !0;
@@ -475,7 +489,7 @@ var Oe = [
475
489
  let C = i(() => {
476
490
  let e = u.filter || S;
477
491
  return x.value.filter((t) => e(t, r.value));
478
- }), w = i(() => C.value), { cursorIndex: D, cursorItem: k, moveCursorForward: A, moveCursorBack: te, resetCursor: N } = Te(w), ne = i(() => g.value && D.value >= 0 && D.value < w.value.length ? `${b}-${D.value}` : void 0);
492
+ }), w = i(() => C.value), { cursorIndex: D, cursorItem: k, moveCursorForward: A, moveCursorBack: te, resetCursor: N } = Ee(w), ne = i(() => g.value && D.value >= 0 && D.value < w.value.length ? `${b}-${D.value}` : void 0);
479
493
  function I() {
480
494
  u.disabled || m.value?.open();
481
495
  }
@@ -519,7 +533,7 @@ var Oe = [
519
533
  open: I,
520
534
  close: L,
521
535
  filter: S
522
- }), (t, n) => (T(), a(ye, {
536
+ }), (t, n) => (T(), a(be, {
523
537
  ref_key: "dropdownRef",
524
538
  ref: m,
525
539
  class: "Autocomplete",
@@ -528,7 +542,7 @@ var Oe = [
528
542
  block: "",
529
543
  onOpen: M(N)
530
544
  }, {
531
- trigger: z(({ open: i, close: a, isOpen: o }) => [d(G, {
545
+ trigger: z(({ open: i, close: a, isOpen: o }) => [d(W, {
532
546
  class: y(t.$attrs.class),
533
547
  size: t.$props.size,
534
548
  invalid: t.$props.invalid,
@@ -557,7 +571,7 @@ var Oe = [
557
571
  onInput: re,
558
572
  onClick: ie,
559
573
  onKeydown: R
560
- }), null, 16, Oe)]),
574
+ }), null, 16, ke)]),
561
575
  _: 2
562
576
  }, [t.$slots.prefix ? {
563
577
  name: "prefix",
@@ -576,7 +590,7 @@ var Oe = [
576
590
  "suffixIcon",
577
591
  "pill"
578
592
  ])]),
579
- default: z(({ close: e }) => [w.value.length > 0 ? (T(), a(we, {
593
+ default: z(({ close: e }) => [w.value.length > 0 ? (T(), a(Te, {
580
594
  key: 0,
581
595
  class: "Autocomplete__dropdownMenu",
582
596
  items: w.value,
@@ -591,7 +605,7 @@ var Oe = [
591
605
  option: e,
592
606
  index: n,
593
607
  isHighlighted: M(D) === n
594
- }, () => [c("div", ke, j(e.label), 1), e.description ? (T(), s("div", Ae, j(e.description), 1)) : o("", !0)], !0)]),
608
+ }, () => [c("div", Ae, j(e.label), 1), e.description ? (T(), s("div", je, j(e.description), 1)) : o("", !0)], !0)]),
595
609
  _: 3
596
610
  }, 8, [
597
611
  "items",
@@ -601,16 +615,16 @@ var Oe = [
601
615
  _: 3
602
616
  }, 8, ["dropdownPlacement", "onOpen"]));
603
617
  }
604
- }), [["__scopeId", "data-v-5d2c9079"]]), Me = {
618
+ }), [["__scopeId", "data-v-5d2c9079"]]), Ne = {
605
619
  class: "Breadcrumbs",
606
620
  "aria-label": "Breadcrumb"
607
- }, Ne = /*#__PURE__*/ H(/* @__PURE__ */ p({
621
+ }, Pe = /*#__PURE__*/ V(/* @__PURE__ */ p({
608
622
  __name: "Breadcrumbs",
609
623
  props: { breadcrumbs: { default: () => [] } },
610
624
  setup(t) {
611
625
  return (n, r) => {
612
626
  let i = k("router-link");
613
- return T(), s("nav", Me, [(T(!0), s(e, null, D(t.breadcrumbs, (e, n) => (T(), s("div", {
627
+ return T(), s("nav", Ne, [(T(!0), s(e, null, D(t.breadcrumbs, (e, n) => (T(), s("div", {
614
628
  key: n,
615
629
  class: "Breadcrumbs__breadcrumb"
616
630
  }, [d(i, {
@@ -620,7 +634,7 @@ var Oe = [
620
634
  }, {
621
635
  default: z(() => [u(j(e.label), 1)]),
622
636
  _: 2
623
- }, 1032, ["to", "aria-current"]), n < t.breadcrumbs.length - 1 ? (T(), a(U, {
637
+ }, 1032, ["to", "aria-current"]), n < t.breadcrumbs.length - 1 ? (T(), a(H, {
624
638
  key: 0,
625
639
  name: "chevron-right",
626
640
  class: "Breadcrumbs__arrow",
@@ -628,44 +642,44 @@ var Oe = [
628
642
  })) : o("", !0)]))), 128))]);
629
643
  };
630
644
  }
631
- }), [["__scopeId", "data-v-df2d38ab"]]), Pe = {}, Fe = { class: "ButtonGroup" };
632
- function Ie(e, t) {
633
- return T(), s("div", Fe, [O(e.$slots, "default", {}, void 0, !0)]);
645
+ }), [["__scopeId", "data-v-df2d38ab"]]), Fe = {}, Ie = { class: "ButtonGroup" };
646
+ function Le(e, t) {
647
+ return T(), s("div", Ie, [O(e.$slots, "default", {}, void 0, !0)]);
634
648
  }
635
- var Le = /*#__PURE__*/ H(Pe, [["render", Ie], ["__scopeId", "data-v-9ef2cf6f"]]), Re = {
649
+ var Re = /*#__PURE__*/ V(Fe, [["render", Le], ["__scopeId", "data-v-9ef2cf6f"]]), ze = {
636
650
  key: 0,
637
651
  class: "Card__header"
638
- }, ze = { class: "Card__headerMain" }, Be = { class: "Card__title" }, Ve = {
652
+ }, Be = { class: "Card__headerMain" }, Ve = { class: "Card__title" }, He = {
639
653
  key: 0,
640
654
  class: "Card__tools"
641
- }, He = { class: "Card__body" }, Ue = /*#__PURE__*/ H(/* @__PURE__ */ p({
655
+ }, Ue = { class: "Card__body" }, We = /*#__PURE__*/ V(/* @__PURE__ */ p({
642
656
  __name: "Card",
643
657
  props: { title: {} },
644
658
  setup(e) {
645
659
  let t = e, n = I(), r = i(() => !!(t.title || n.header || n.title || n.tools));
646
- return (e, t) => (T(), s("div", { class: y(["Card", { "Card--hasHeader": r.value }]) }, [r.value ? (T(), s("div", Re, [c("div", ze, [O(e.$slots, "header", {}, () => [c("div", Be, [O(e.$slots, "title", {}, () => [u(j(e.$props.title), 1)], !0)])], !0)]), e.$slots.tools ? (T(), s("div", Ve, [O(e.$slots, "tools", {}, void 0, !0)])) : o("", !0)])) : o("", !0), c("div", He, [O(e.$slots, "default", {}, void 0, !0)])], 2));
660
+ return (e, t) => (T(), s("div", { class: y(["Card", { "Card--hasHeader": r.value }]) }, [r.value ? (T(), s("div", ze, [c("div", Be, [O(e.$slots, "header", {}, () => [c("div", Ve, [O(e.$slots, "title", {}, () => [u(j(e.$props.title), 1)], !0)])], !0)]), e.$slots.tools ? (T(), s("div", He, [O(e.$slots, "tools", {}, void 0, !0)])) : o("", !0)])) : o("", !0), c("div", Ue, [O(e.$slots, "default", {}, void 0, !0)])], 2));
647
661
  }
648
- }), [["__scopeId", "data-v-eb5a3460"]]), We = [
662
+ }), [["__scopeId", "data-v-eb5a3460"]]), Ge = [
649
663
  "checked",
650
664
  "indeterminate",
651
665
  "required",
652
666
  "disabled"
653
- ], Ge = {
667
+ ], Ke = {
654
668
  key: 0,
655
669
  class: "Checkbox__switch"
656
- }, Ke = {
670
+ }, qe = {
657
671
  key: 1,
658
672
  class: "Checkbox__checkbox vuiii-input"
659
- }, qe = { key: 0 }, Je = {
673
+ }, Je = { key: 0 }, Ye = {
660
674
  key: 0,
661
675
  class: "Checkbox__label"
662
- }, Ye = {
676
+ }, Xe = {
663
677
  key: 0,
664
678
  class: "Checkbox__required"
665
- }, Xe = {
679
+ }, Ze = {
666
680
  key: 1,
667
681
  class: "Checkbox__description"
668
- }, Ze = /*#__PURE__*/ H(/* @__PURE__ */ p({
682
+ }, Qe = /*#__PURE__*/ V(/* @__PURE__ */ p({
669
683
  inheritAttrs: !1,
670
684
  __name: "Checkbox",
671
685
  props: /*@__PURE__*/ _({
@@ -683,7 +697,7 @@ var Le = /*#__PURE__*/ H(Pe, [["render", Ie], ["__scopeId", "data-v-9ef2cf6f"]])
683
697
  }),
684
698
  emits: ["update:modelValue"],
685
699
  setup(e) {
686
- let t = F(e, "modelValue"), n = K(), r = e, a = i(() => r.valueParser || {
700
+ let t = F(e, "modelValue"), n = G(), r = e, a = i(() => r.valueParser || {
687
701
  parse: Boolean,
688
702
  stringify: Boolean
689
703
  }), l = i(() => a.value.stringify(t.value));
@@ -701,28 +715,28 @@ var Le = /*#__PURE__*/ H(Pe, [["render", Ie], ["__scopeId", "data-v-9ef2cf6f"]])
701
715
  required: e.required,
702
716
  disabled: e.disabled,
703
717
  type: "checkbox"
704
- }, M(n), { onInput: r[0] ||= (e) => f(e) }), null, 16, We),
718
+ }, M(n), { onInput: r[0] ||= (e) => f(e) }), null, 16, Ge),
705
719
  O(t.$slots, "symbol", b(m({
706
720
  disabled: !!e.disabled,
707
721
  size: e.size,
708
722
  checked: l.value,
709
723
  indeterminate: !!e.indeterminate
710
- })), () => [t.$props.switch ? (T(), s("div", Ge, [...r[1] ||= [c("div", { class: "Checkbox__switchDot" }, null, -1)]])) : (T(), s("div", Ke, [d(U, {
724
+ })), () => [t.$props.switch ? (T(), s("div", Ke, [...r[1] ||= [c("div", { class: "Checkbox__switchDot" }, null, -1)]])) : (T(), s("div", qe, [d(H, {
711
725
  name: "check",
712
726
  class: "Checkbox__checkboxIcon Checkbox__checkboxIcon--check",
713
727
  size: t.$props.size
714
- }, null, 8, ["size"]), d(U, {
728
+ }, null, 8, ["size"]), d(H, {
715
729
  name: "minus",
716
730
  class: "Checkbox__checkboxIcon Checkbox__checkboxIcon--indeterminate",
717
731
  size: t.$props.size
718
732
  }, null, 8, ["size"])]))], !0),
719
- t.$slots.default || t.$props.label || t.$props.description ? (T(), s("div", qe, [t.$slots.default || t.$props.label ? (T(), s("div", Je, [t.$props.required ? (T(), s("span", Ye, "*")) : o("", !0), O(t.$slots, "default", {}, () => [u(j(t.$props.label), 1)], !0)])) : o("", !0), t.$props.description ? (T(), s("div", Xe, j(t.$props.description), 1)) : o("", !0)])) : o("", !0)
733
+ t.$slots.default || t.$props.label || t.$props.description ? (T(), s("div", Je, [t.$slots.default || t.$props.label ? (T(), s("div", Ye, [t.$props.required ? (T(), s("span", Xe, "*")) : o("", !0), O(t.$slots, "default", {}, () => [u(j(t.$props.label), 1)], !0)])) : o("", !0), t.$props.description ? (T(), s("div", Ze, j(t.$props.description), 1)) : o("", !0)])) : o("", !0)
720
734
  ], 2));
721
735
  }
722
736
  }), [["__scopeId", "data-v-15fdad06"]]);
723
737
  //#endregion
724
738
  //#region src/utils/createTypeParser.ts
725
- function Qe(e = "string") {
739
+ function $e(e = "string") {
726
740
  return {
727
741
  string: {
728
742
  stringify: (e) => e == null ? "" : String(e),
@@ -744,7 +758,7 @@ function Qe(e = "string") {
744
758
  }
745
759
  //#endregion
746
760
  //#region src/components/CheckboxGroup.vue
747
- var $e = /*#__PURE__*/ H(/* @__PURE__ */ p({
761
+ var et = /*#__PURE__*/ V(/* @__PURE__ */ p({
748
762
  __name: "CheckboxGroup",
749
763
  props: /*@__PURE__*/ _({
750
764
  options: {},
@@ -777,7 +791,7 @@ var $e = /*#__PURE__*/ H(/* @__PURE__ */ p({
777
791
  }),
778
792
  emits: ["update:modelValue"],
779
793
  setup(t) {
780
- let n = F(t, "modelValue"), r = t, a = i(() => r.valueParser || Qe(r.type)), o = i(() => J(r.options, {
794
+ let n = F(t, "modelValue"), r = t, a = i(() => r.valueParser || $e(r.type)), o = i(() => q(r.options, {
781
795
  value: r.optionValue,
782
796
  label: r.optionLabel,
783
797
  disabled: r.optionDisabled,
@@ -787,7 +801,10 @@ var $e = /*#__PURE__*/ H(/* @__PURE__ */ p({
787
801
  let r = new Set(c.value.values()), i = a.value.parse(e);
788
802
  t ? r.add(i) : r.delete(i), n.value = Array.from(r);
789
803
  };
790
- return (t, n) => (T(), s("div", { class: y(["CheckboxGroup", { "CheckboxGroup--inline": t.$props.inline }]) }, [(T(!0), s(e, null, D(o.value, (e) => (T(), s("div", { key: e.value }, [d(Ze, {
804
+ return (t, n) => (T(), s("div", {
805
+ class: y(["CheckboxGroup", { "CheckboxGroup--inline": t.$props.inline }]),
806
+ role: "group"
807
+ }, [(T(!0), s(e, null, D(o.value, (e) => (T(), s("div", { key: e.value }, [d(Qe, {
791
808
  disabled: e.disabled,
792
809
  "model-value": c.value.has(e.value),
793
810
  label: e.label,
@@ -808,7 +825,7 @@ var $e = /*#__PURE__*/ H(/* @__PURE__ */ p({
808
825
  "onUpdate:modelValue"
809
826
  ])]))), 128))], 2));
810
827
  }
811
- }), [["__scopeId", "data-v-427d982f"]]), et = [
828
+ }), [["__scopeId", "data-v-429ae404"]]), tt = [
812
829
  "a[href]",
813
830
  "button:not([disabled])",
814
831
  "input:not([disabled])",
@@ -816,10 +833,10 @@ var $e = /*#__PURE__*/ H(/* @__PURE__ */ p({
816
833
  "textarea:not([disabled])",
817
834
  "[tabindex]:not([tabindex=\"-1\"])"
818
835
  ].join(",");
819
- function tt(e, t = {}) {
836
+ function nt(e, t = {}) {
820
837
  let n = typeof document < "u" ? document.activeElement : null;
821
838
  function r() {
822
- return e.value ? Array.from(e.value.querySelectorAll(et)).filter((e) => e.offsetParent !== null || e === document.activeElement) : [];
839
+ return e.value ? Array.from(e.value.querySelectorAll(tt)).filter((e) => e.offsetParent !== null || e === document.activeElement) : [];
823
840
  }
824
841
  function i(t) {
825
842
  if (t.key !== "Tab" || !e.value) return;
@@ -839,26 +856,26 @@ function tt(e, t = {}) {
839
856
  }
840
857
  //#endregion
841
858
  //#region src/dialogStack.ts
842
- var nt = {
859
+ var rt = {
843
860
  cancelLabel: "Cancel",
844
861
  confirmLabel: "OK"
845
- }, rt = E(1), Y = E([]), X = i(() => Y.value[Y.value.length - 1]), it = () => rt.value++, at = (e, t, { modal: n } = {}) => {
862
+ }, it = E(1), J = E([]), Y = i(() => J.value[J.value.length - 1]), at = () => it.value++, ot = (e, t, { modal: n } = {}) => {
846
863
  let r = document.activeElement;
847
864
  return r.blur?.(), new Promise((i) => {
848
865
  let a = {
849
- id: it(),
866
+ id: at(),
850
867
  component: g(e),
851
868
  props: t,
852
869
  resolve: i,
853
870
  focusElement: r,
854
871
  modal: n
855
872
  };
856
- Y.value.push(a);
873
+ J.value.push(a);
857
874
  });
858
- }, ot = (e) => {
875
+ }, st = (e) => {
859
876
  typeof e == "string" && (e = { content: e });
860
- let { title: t, content: n, confirmColor: r, confirmLabel: i = nt.confirmLabel, confirmIcon: a, modal: o } = e;
861
- return at(yt, {
877
+ let { title: t, content: n, confirmColor: r, confirmLabel: i = rt.confirmLabel, confirmIcon: a, modal: o } = e;
878
+ return ot(Z, {
862
879
  title: t,
863
880
  content: n,
864
881
  modal: o,
@@ -868,10 +885,10 @@ var nt = {
868
885
  icon: a
869
886
  }]
870
887
  });
871
- }, st = (e) => {
888
+ }, ct = (e) => {
872
889
  typeof e == "string" && (e = { content: e });
873
- let { title: t, content: n, cancelLabel: r = nt.cancelLabel, cancelColor: i, cancelIcon: a, confirmLabel: o = nt.confirmLabel, confirmColor: s, confirmIcon: c, modal: l } = e;
874
- return at(yt, {
890
+ let { title: t, content: n, cancelLabel: r = rt.cancelLabel, cancelColor: i, cancelIcon: a, confirmLabel: o = rt.confirmLabel, confirmColor: s, confirmIcon: c, modal: l } = e;
891
+ return ot(Z, {
875
892
  title: t,
876
893
  content: n,
877
894
  modal: l,
@@ -887,29 +904,29 @@ var nt = {
887
904
  value: !0
888
905
  }]
889
906
  });
890
- }, ct = (e, t = void 0) => {
891
- Y.value = Y.value.filter((t) => t.id !== e.id), e.resolve(t), e.focusElement && e.focusElement.focus?.();
892
- }, Z = (e, t = void 0) => {
893
- e.onBeforeClose ? e.onBeforeClose(() => ct(e, t)) : ct(e, t);
894
- }, lt = (e) => (e && X.value && (X.value.onBeforeClose = e), (e) => {
895
- X.value && Z(X.value, e);
896
- }), ut = {
897
- open: at,
898
- alert: ot,
899
- confirm: st
907
+ }, lt = (e, t = void 0) => {
908
+ J.value = J.value.filter((t) => t.id !== e.id), e.resolve(t), e.focusElement && e.focusElement.focus?.();
909
+ }, X = (e, t = void 0) => {
910
+ e.onBeforeClose ? e.onBeforeClose(() => lt(e, t)) : lt(e, t);
911
+ }, ut = (e) => (e && Y.value && (Y.value.onBeforeClose = e), (e) => {
912
+ Y.value && X(Y.value, e);
913
+ }), dt = {
914
+ open: ot,
915
+ alert: st,
916
+ confirm: ct
900
917
  };
901
- function dt() {
902
- return ut;
918
+ function ft() {
919
+ return dt;
903
920
  }
904
921
  //#endregion
905
922
  //#region src/components/dialogStack/DialogLayout.vue?vue&type=script&setup=true&lang.ts
906
- var ft = ["aria-label"], pt = {
923
+ var pt = ["aria-label"], mt = {
907
924
  key: 1,
908
925
  class: "DialogLayout__header"
909
- }, mt = { class: "DialogLayout__title" }, ht = { class: "DialogLayout__body" }, gt = { class: "DialogLayout__content" }, _t = {
926
+ }, ht = { class: "DialogLayout__title" }, gt = { class: "DialogLayout__body" }, _t = { class: "DialogLayout__content" }, vt = {
910
927
  key: 2,
911
928
  class: "DialogLayout__footer"
912
- }, vt = { class: "DialogLayout__buttons" }, yt = /*#__PURE__*/ H(/* @__PURE__ */ p({
929
+ }, yt = { class: "DialogLayout__buttons" }, Z = /*#__PURE__*/ V(/* @__PURE__ */ p({
913
930
  __name: "DialogLayout",
914
931
  props: {
915
932
  title: { default: "" },
@@ -921,14 +938,14 @@ var ft = ["aria-label"], pt = {
921
938
  buttons: { default: () => [] }
922
939
  },
923
940
  setup(t) {
924
- let n = I(), r = lt(), a = E(), l = t, u = i(() => !!(n.header || l.title)), f = i(() => !!n.footer || !!l.buttons?.length), p = i(() => {
941
+ let n = I(), r = ut(), a = E(), l = t, u = i(() => !!(n.header || l.title)), f = i(() => !!n.footer || !!l.buttons?.length), p = i(() => {
925
942
  let e = l.width + (Number(l.width) ? "px" : "");
926
943
  return e && e !== "auto" ? {
927
944
  width: "100%",
928
945
  maxWidth: e
929
946
  } : {};
930
947
  });
931
- return tt(a, { initialFocus: () => {
948
+ return nt(a, { initialFocus: () => {
932
949
  let e = a.value?.querySelector("input");
933
950
  if (e) return e;
934
951
  let t = Array.from(a.value?.querySelectorAll("button") ?? []), n = t.filter((e) => !e.classList.contains("DialogLayout__close"));
@@ -955,16 +972,16 @@ var ft = ["aria-label"], pt = {
955
972
  class: "DialogLayout__close",
956
973
  "aria-label": "Close",
957
974
  onClick: n[0] ||= (e) => M(r)()
958
- }, [d(U, {
975
+ }, [d(H, {
959
976
  name: "x",
960
977
  class: "DialogLayout__closeIcon"
961
978
  })])) : o("", !0),
962
- u.value ? (T(), s("div", pt, [O(t.$slots, "header", {}, () => [c("div", mt, j(t.$props.title), 1)], !0)])) : o("", !0),
963
- c("div", ht, [O(t.$slots, "default", {}, () => [c("div", gt, j(t.$props.content), 1)], !0)]),
964
- f.value ? (T(), s("div", _t, [O(t.$slots, "footer", {}, () => [c("div", vt, [(T(!0), s(e, null, D(t.$props.buttons, (e, t) => (T(), s("span", {
979
+ u.value ? (T(), s("div", mt, [O(t.$slots, "header", {}, () => [c("div", ht, j(t.$props.title), 1)], !0)])) : o("", !0),
980
+ c("div", gt, [O(t.$slots, "default", {}, () => [c("div", _t, j(t.$props.content), 1)], !0)]),
981
+ f.value ? (T(), s("div", vt, [O(t.$slots, "footer", {}, () => [c("div", yt, [(T(!0), s(e, null, D(t.$props.buttons, (e, t) => (T(), s("span", {
965
982
  key: t,
966
983
  class: "DialogLayout__buttonWrapper"
967
- }, [d(W, {
984
+ }, [d(U, {
968
985
  type: "button",
969
986
  label: e.label,
970
987
  color: e.color,
@@ -982,31 +999,31 @@ var ft = ["aria-label"], pt = {
982
999
  "loading",
983
1000
  "onClick"
984
1001
  ])]))), 128))])], !0)])) : o("", !0)
985
- ], 14, ft));
1002
+ ], 14, pt));
986
1003
  }
987
1004
  }), [["__scopeId", "data-v-62fd9736"]]), bt = { class: "DialogStack" }, xt = {
988
1005
  key: 0,
989
1006
  class: "DialogStack__backdrop"
990
- }, St = ["onClick"], Ct = /*#__PURE__*/ H(/* @__PURE__ */ p({
1007
+ }, St = ["onClick"], Ct = /*#__PURE__*/ V(/* @__PURE__ */ p({
991
1008
  __name: "DialogStack",
992
1009
  setup(i) {
993
1010
  let l = (e, t) => {
994
- !t.modal && e.target === e.currentTarget && Z(t);
1011
+ !t.modal && e.target === e.currentTarget && X(t);
995
1012
  };
996
- return _e("Escape", (e) => {
997
- X.value && !X.value.modal && !e.defaultPrevented && (Z(X.value), e.preventDefault());
1013
+ return ve("Escape", (e) => {
1014
+ Y.value && !Y.value.modal && !e.defaultPrevented && (X(Y.value), e.preventDefault());
998
1015
  }), (i, u) => (T(), a(t, { to: "body" }, [c("div", bt, [d(n, { name: "DialogStack__backdrop" }, {
999
- default: z(() => [M(Y).length ? (T(), s("div", xt)) : o("", !0)]),
1016
+ default: z(() => [M(J).length ? (T(), s("div", xt)) : o("", !0)]),
1000
1017
  _: 1
1001
1018
  }), d(r, { name: "DialogStack__dialog" }, {
1002
- default: z(() => [(T(!0), s(e, null, D(M(Y), (e) => (T(), s("div", {
1019
+ default: z(() => [(T(!0), s(e, null, D(M(J), (e) => (T(), s("div", {
1003
1020
  key: e.id,
1004
1021
  class: "DialogStack__dialogWrapper",
1005
1022
  onClick: (t) => l(t, e)
1006
1023
  }, [(T(), a(A(e.component), v({ ref_for: !0 }, e.props, {
1007
1024
  "data-dialog-id": e.id,
1008
- class: ["DialogStack__dialog", { isActive: M(X)?.id === e.id }],
1009
- onClose: (t) => M(Z)(e, t)
1025
+ class: ["DialogStack__dialog", { isActive: M(Y)?.id === e.id }],
1026
+ onClose: (t) => M(X)(e, t)
1010
1027
  }), null, 16, [
1011
1028
  "data-dialog-id",
1012
1029
  "class",
@@ -1015,7 +1032,7 @@ var ft = ["aria-label"], pt = {
1015
1032
  _: 1
1016
1033
  })])]));
1017
1034
  }
1018
- }), [["__scopeId", "data-v-8b831c07"]]), wt = ["aria-orientation"], Tt = /*#__PURE__*/ H(/* @__PURE__ */ p({
1035
+ }), [["__scopeId", "data-v-8b831c07"]]), wt = ["aria-orientation"], Tt = /*#__PURE__*/ V(/* @__PURE__ */ p({
1019
1036
  __name: "Divider",
1020
1037
  props: { orientation: { default: "horizontal" } },
1021
1038
  setup(e) {
@@ -1085,7 +1102,7 @@ function At(e, t, n = {}) {
1085
1102
  }
1086
1103
  //#endregion
1087
1104
  //#region src/components/FilePicker.vue?vue&type=script&setup=true&lang.ts
1088
- var jt = ["multiple", "accept"], Mt = /*#__PURE__*/ H(/* @__PURE__ */ p({
1105
+ var jt = ["multiple", "accept"], Mt = /*#__PURE__*/ V(/* @__PURE__ */ p({
1089
1106
  __name: "FilePicker",
1090
1107
  props: {
1091
1108
  multiple: {
@@ -1114,7 +1131,7 @@ var jt = ["multiple", "accept"], Mt = /*#__PURE__*/ H(/* @__PURE__ */ p({
1114
1131
  onClick: f,
1115
1132
  ref_key: "pickerOpener",
1116
1133
  ref: o
1117
- }, n.$attrs), [O(n.$slots, "default", {}, () => [d(W, {
1134
+ }, n.$attrs), [O(n.$slots, "default", {}, () => [d(U, {
1118
1135
  "prefix-icon": "arrow-up-tray",
1119
1136
  label: t.label,
1120
1137
  color: "primary",
@@ -1144,7 +1161,7 @@ var jt = ["multiple", "accept"], Mt = /*#__PURE__*/ H(/* @__PURE__ */ p({
1144
1161
  }, Rt = {
1145
1162
  key: 3,
1146
1163
  class: "FormGroup__error"
1147
- }, zt = /*#__PURE__*/ H(/* @__PURE__ */ p({
1164
+ }, zt = /*#__PURE__*/ V(/* @__PURE__ */ p({
1148
1165
  __name: "FormGroup",
1149
1166
  props: {
1150
1167
  label: {},
@@ -1167,7 +1184,7 @@ var jt = ["multiple", "accept"], Mt = /*#__PURE__*/ H(/* @__PURE__ */ p({
1167
1184
  e.$props.error && typeof e.$props.error == "string" ? (T(), s("div", Rt, j(e.$props.error), 1)) : o("", !0)
1168
1185
  ], 2));
1169
1186
  }
1170
- }), [["__scopeId", "data-v-ca60e31d"]]), Bt = /*#__PURE__*/ H(/* @__PURE__ */ p({
1187
+ }), [["__scopeId", "data-v-ca60e31d"]]), Bt = /*#__PURE__*/ V(/* @__PURE__ */ p({
1171
1188
  __name: "FormFields",
1172
1189
  props: /*@__PURE__*/ _({
1173
1190
  fields: {},
@@ -1274,7 +1291,7 @@ var Ht = /* @__PURE__ */ p({
1274
1291
  emits: ["click"],
1275
1292
  setup(e, { emit: t }) {
1276
1293
  let n = Vt(e, ["icon"]), r = t;
1277
- return (t, i) => (T(), a(W, v({
1294
+ return (t, i) => (T(), a(U, v({
1278
1295
  class: "vuiii-icon-button",
1279
1296
  prefixIcon: e.icon,
1280
1297
  "aria-label": e.title || void 0
@@ -1284,12 +1301,14 @@ var Ht = /* @__PURE__ */ p({
1284
1301
  "aria-label",
1285
1302
  "type",
1286
1303
  "value"
1287
- ], Wt = /*#__PURE__*/ H(/* @__PURE__ */ p({
1304
+ ], Wt = /*#__PURE__*/ V(/* @__PURE__ */ p({
1288
1305
  inheritAttrs: !1,
1289
1306
  __name: "Input",
1290
1307
  props: /*@__PURE__*/ _({
1291
1308
  prefixIcon: {},
1292
1309
  suffixIcon: {},
1310
+ prefixIconLabel: {},
1311
+ suffixIconLabel: {},
1293
1312
  size: {},
1294
1313
  invalid: { type: Boolean },
1295
1314
  pill: { type: Boolean },
@@ -1302,7 +1321,7 @@ var Ht = /* @__PURE__ */ p({
1302
1321
  }),
1303
1322
  emits: /*@__PURE__*/ _(["prefix-icon-click", "suffix-icon-click"], ["update:modelValue"]),
1304
1323
  setup(e, { expose: t }) {
1305
- let n = F(e, "modelValue"), r = e, i = K(), o = I(), s = E();
1324
+ let n = F(e, "modelValue"), r = e, i = G(), o = I(), s = E();
1306
1325
  function u(e) {
1307
1326
  let t = e.target;
1308
1327
  return r.valueAsNumber ? t.valueAsNumber : r.valueAsDate ? t.valueAsDate : t.value;
@@ -1314,7 +1333,7 @@ var Ht = /* @__PURE__ */ p({
1314
1333
  input: s,
1315
1334
  focus: () => s.value.focus(),
1316
1335
  select: () => s.value.select()
1317
- }), (t, r) => (T(), a(G, {
1336
+ }), (t, r) => (T(), a(W, {
1318
1337
  "prefix-icon": t.$props.prefixIcon,
1319
1338
  "suffix-icon": t.$props.suffixIcon,
1320
1339
  size: t.$props.size,
@@ -1358,7 +1377,7 @@ var Ht = /* @__PURE__ */ p({
1358
1377
  "disabled"
1359
1378
  ]));
1360
1379
  }
1361
- }), [["__scopeId", "data-v-49c15f1d"]]), Gt = /*#__PURE__*/ H(/* @__PURE__ */ p({
1380
+ }), [["__scopeId", "data-v-49c15f1d"]]), Gt = /*#__PURE__*/ V(/* @__PURE__ */ p({
1362
1381
  __name: "RadioButtonGroup",
1363
1382
  props: /*@__PURE__*/ _({
1364
1383
  options: {},
@@ -1376,15 +1395,15 @@ var Ht = /* @__PURE__ */ p({
1376
1395
  }),
1377
1396
  emits: ["update:modelValue"],
1378
1397
  setup(t) {
1379
- let n = F(t, "modelValue"), r = t, o = i(() => J(r.options, {
1398
+ let n = F(t, "modelValue"), r = t, o = i(() => q(r.options, {
1380
1399
  value: r.optionValue,
1381
1400
  label: r.optionLabel,
1382
1401
  disabled: r.optionDisabled,
1383
1402
  description: r.optionDescription,
1384
1403
  icon: r.optionIcon
1385
1404
  }, n.value));
1386
- return (r, i) => (T(), a(Le, { role: "radiogroup" }, {
1387
- default: z(() => [(T(!0), s(e, null, D(o.value, (e) => (T(), a(W, {
1405
+ return (r, i) => (T(), a(Re, { role: "radiogroup" }, {
1406
+ default: z(() => [(T(!0), s(e, null, D(o.value, (e) => (T(), a(U, {
1388
1407
  key: e.value,
1389
1408
  role: "radio",
1390
1409
  "aria-checked": e.isSelected,
@@ -1410,7 +1429,7 @@ var Ht = /* @__PURE__ */ p({
1410
1429
  _: 1
1411
1430
  }));
1412
1431
  }
1413
- }), [["__scopeId", "data-v-b3f6d44d"]]), Kt = [
1432
+ }), [["__scopeId", "data-v-0fcd563b"]]), Kt = [
1414
1433
  "value",
1415
1434
  "name",
1416
1435
  "disabled",
@@ -1420,7 +1439,7 @@ var Ht = /* @__PURE__ */ p({
1420
1439
  ], qt = { key: 0 }, Jt = { class: "RadioGroup__label" }, Yt = {
1421
1440
  key: 0,
1422
1441
  class: "RadioGroup__description"
1423
- }, Xt = /*#__PURE__*/ H(/* @__PURE__ */ p({
1442
+ }, Xt = /*#__PURE__*/ V(/* @__PURE__ */ p({
1424
1443
  inheritAttrs: !1,
1425
1444
  __name: "RadioGroup",
1426
1445
  props: /*@__PURE__*/ _({
@@ -1440,7 +1459,7 @@ var Ht = /* @__PURE__ */ p({
1440
1459
  }),
1441
1460
  emits: ["update:modelValue"],
1442
1461
  setup(t) {
1443
- let n = F(t, "modelValue"), r = N(), a = K(), l = r.name || `RadioGroup-input-${P()}`, u = t, d = i(() => u.valueParser || Qe(u.type)), f = i(() => J(u.options, {
1462
+ let n = F(t, "modelValue"), r = N(), a = G(), l = r.name || `RadioGroup-input-${P()}`, u = t, d = i(() => u.valueParser || $e(u.type)), f = i(() => q(u.options, {
1444
1463
  value: u.optionValue,
1445
1464
  label: u.optionLabel,
1446
1465
  disabled: u.optionDisabled,
@@ -1474,7 +1493,7 @@ var Ht = /* @__PURE__ */ p({
1474
1493
  e.label || e.description || n.$slots.default ? (T(), s("div", qt, [O(n.$slots, "default", v({ ref_for: !0 }, { option: e }), () => [c("div", Jt, j(e.label), 1)], !0), e.description ? (T(), s("div", Yt, j(e.description), 1)) : o("", !0)])) : o("", !0)
1475
1494
  ], 2))), 128))], 2));
1476
1495
  }
1477
- }), [["__scopeId", "data-v-40249131"]]), Zt = ["value", "required"], Qt = ["disabled", "hidden"], $t = ["label"], en = [
1496
+ }), [["__scopeId", "data-v-8d78f539"]]), Zt = ["value", "required"], Qt = ["disabled", "hidden"], $t = ["label"], en = [
1478
1497
  "disabled",
1479
1498
  "value",
1480
1499
  "selected"
@@ -1482,7 +1501,7 @@ var Ht = /* @__PURE__ */ p({
1482
1501
  "disabled",
1483
1502
  "value",
1484
1503
  "selected"
1485
- ], nn = { class: "Select__dropdownIcon vuiii-input__suffix-icon" }, rn = /*#__PURE__*/ H(/* @__PURE__ */ p({
1504
+ ], nn = { class: "Select__dropdownIcon vuiii-input__suffix-icon" }, rn = /*#__PURE__*/ V(/* @__PURE__ */ p({
1486
1505
  inheritAttrs: !1,
1487
1506
  __name: "Select",
1488
1507
  props: /*@__PURE__*/ _({
@@ -1507,8 +1526,8 @@ var Ht = /* @__PURE__ */ p({
1507
1526
  }),
1508
1527
  emits: ["update:modelValue"],
1509
1528
  setup(t) {
1510
- let n = F(t, "modelValue"), r = K(), l = t, u = i(() => l.valueParser || Qe(l.type)), f = i(() => u.value.stringify(n.value)), p = i(() => {
1511
- if (l.groupOptions) return De(l.options, {
1529
+ let n = F(t, "modelValue"), r = G(), l = t, u = i(() => l.valueParser || $e(l.type)), f = i(() => u.value.stringify(n.value)), p = i(() => {
1530
+ if (l.groupOptions) return Oe(l.options, {
1512
1531
  groupLabel: l.groupLabel,
1513
1532
  groupOptions: l.groupOptions,
1514
1533
  value: l.optionValue,
@@ -1517,7 +1536,7 @@ var Ht = /* @__PURE__ */ p({
1517
1536
  stringifyValue: u.value.stringify
1518
1537
  }, n.value);
1519
1538
  }), m = i(() => {
1520
- if (!p.value) return J(l.options, {
1539
+ if (!p.value) return q(l.options, {
1521
1540
  value: l.optionValue,
1522
1541
  label: l.optionLabel,
1523
1542
  disabled: l.optionDisabled,
@@ -1527,14 +1546,14 @@ var Ht = /* @__PURE__ */ p({
1527
1546
  function h(e) {
1528
1547
  n.value = u.value.parse(e.target.value);
1529
1548
  }
1530
- return (n, i) => (T(), a(G, {
1549
+ return (n, i) => (T(), a(W, {
1531
1550
  class: y(["Select", n.$attrs.class]),
1532
1551
  size: n.$props.size,
1533
1552
  invalid: n.$props.invalid,
1534
1553
  disabled: n.$props.disabled,
1535
1554
  pill: n.$props.pill
1536
1555
  }, {
1537
- suffix: z(() => [c("div", nn, [d(U, {
1556
+ suffix: z(() => [c("div", nn, [d(H, {
1538
1557
  name: "triangle-down",
1539
1558
  size: n.$props.size
1540
1559
  }, null, 8, ["size"])])]),
@@ -1573,7 +1592,7 @@ var Ht = /* @__PURE__ */ p({
1573
1592
  "pill"
1574
1593
  ]));
1575
1594
  }
1576
- }), [["__scopeId", "data-v-2a10a9cb"]]), an = { class: "ShortcutIcon" }, on = /* @__PURE__ */ p({
1595
+ }), [["__scopeId", "data-v-ec6c7b89"]]), an = { class: "ShortcutIcon" }, on = /* @__PURE__ */ p({
1577
1596
  __name: "ShortcutIcon",
1578
1597
  props: { shortcut: {} },
1579
1598
  setup(t) {
@@ -1626,7 +1645,7 @@ var hn = {
1626
1645
  role: "status",
1627
1646
  "aria-live": "polite",
1628
1647
  "aria-atomic": "false"
1629
- }, gn = ["onClick"], _n = /*#__PURE__*/ H(/* @__PURE__ */ p({
1648
+ }, gn = ["onClick"], _n = /*#__PURE__*/ V(/* @__PURE__ */ p({
1630
1649
  __name: "SnackbarStack",
1631
1650
  setup(n) {
1632
1651
  let o = i(() => [...Q.value].reverse());
@@ -1642,14 +1661,14 @@ var hn = {
1642
1661
  class: "Snackbar__messageClose",
1643
1662
  "aria-label": "Close",
1644
1663
  onClick: (t) => M(dn)(e.id)
1645
- }, [d(U, {
1664
+ }, [d(H, {
1646
1665
  class: "Snackbar__messageCloseIcon",
1647
1666
  name: "x"
1648
1667
  })], 8, gn)], 2)], 4)]))), 128))]),
1649
1668
  _: 1
1650
1669
  })])]));
1651
1670
  }
1652
- }), [["__scopeId", "data-v-ef321a47"]]), vn = { key: 0 }, yn = ["width", "aria-sort"], bn = ["onClick", "onKeydown"], xn = { class: "vuiii-table__sortIcon" }, Sn = {
1671
+ }), [["__scopeId", "data-v-2b7e0d48"]]), vn = { key: 0 }, yn = ["width", "aria-sort"], bn = ["onClick", "onKeydown"], xn = { class: "vuiii-table__sortIcon" }, Sn = {
1653
1672
  key: 1,
1654
1673
  class: "vuiii-table__label"
1655
1674
  }, Cn = { key: 0 }, wn = [
@@ -1663,7 +1682,8 @@ var hn = {
1663
1682
  columns: {},
1664
1683
  rowClass: { type: [String, Function] },
1665
1684
  highlightOnHover: { type: Boolean },
1666
- noDataMessage: {}
1685
+ noDataMessage: {},
1686
+ size: {}
1667
1687
  }, {
1668
1688
  sortColumnName: { default: null },
1669
1689
  sortColumnNameModifiers: {},
@@ -1722,7 +1742,7 @@ var hn = {
1722
1742
  }
1723
1743
  return (n, i) => {
1724
1744
  let f = k("router-link");
1725
- return T(), s("table", { class: y(["vuiii-table", { "vuiii-table--hover": n.$props.highlightOnHover && t.items?.length }]) }, [h.value ? (T(), s("thead", vn, [c("tr", null, [(T(!0), s(e, null, D(m.value, (e, t) => (T(), s("th", {
1745
+ return T(), s("table", { class: y(["vuiii-table", [{ "vuiii-table--hover": n.$props.highlightOnHover && t.items?.length }, { [`vuiii-table--size-${n.$props.size}`]: n.$props.size }]]) }, [h.value ? (T(), s("thead", vn, [c("tr", null, [(T(!0), s(e, null, D(m.value, (e, t) => (T(), s("th", {
1726
1746
  key: t,
1727
1747
  style: x({ textAlign: e.align || "left" }),
1728
1748
  width: e.width,
@@ -1735,7 +1755,7 @@ var hn = {
1735
1755
  onKeydown: [ae(B((t) => b(e.name), ["prevent"]), ["enter"]), ae(B((t) => b(e.name), ["prevent"]), ["space"])],
1736
1756
  role: "button",
1737
1757
  tabindex: "0"
1738
- }, [u(j(e.label) + " ", 1), c("div", xn, [d(U, {
1758
+ }, [u(j(e.label) + " ", 1), c("div", xn, [d(H, {
1739
1759
  name: "caret-sort",
1740
1760
  size: "small"
1741
1761
  })])], 42, bn)) : (T(), s("div", Sn, j(e.label), 1))])], 14, yn))), 128)), n.$slots.tools ? (T(), s("th", Cn)) : o("", !0)])])) : o("", !0), c("tbody", null, [(T(!0), s(e, null, D(_.value, (t, r) => (T(), s("tr", {
@@ -1791,7 +1811,7 @@ var hn = {
1791
1811
  "disabled",
1792
1812
  "onClick",
1793
1813
  "onKeydown"
1794
- ], jn = { class: "TabsNav__label" }, Mn = /*#__PURE__*/ H(/* @__PURE__ */ p({
1814
+ ], jn = { class: "TabsNav__label" }, Mn = /*#__PURE__*/ V(/* @__PURE__ */ p({
1795
1815
  __name: "TabsNav",
1796
1816
  props: /*@__PURE__*/ _({
1797
1817
  tabs: {},
@@ -1863,7 +1883,7 @@ var hn = {
1863
1883
  }, [O(n.$slots, `label:${e.key}`, {
1864
1884
  tab: e,
1865
1885
  active: e.key === r.value
1866
- }, () => [e.icon ? (T(), a(U, {
1886
+ }, () => [e.icon ? (T(), a(H, {
1867
1887
  key: 0,
1868
1888
  name: e.icon,
1869
1889
  class: "TabsNav__icon"
@@ -1873,7 +1893,7 @@ var hn = {
1873
1893
  "id",
1874
1894
  "aria-labelledby",
1875
1895
  "tabindex"
1876
- ], In = /*#__PURE__*/ H(/* @__PURE__ */ p({
1896
+ ], In = /*#__PURE__*/ V(/* @__PURE__ */ p({
1877
1897
  __name: "Tabs",
1878
1898
  props: /*@__PURE__*/ _({
1879
1899
  tabs: {},
@@ -1917,11 +1937,13 @@ var hn = {
1917
1937
  "value",
1918
1938
  "disabled",
1919
1939
  "readonly"
1920
- ], Rn = /*#__PURE__*/ H(/* @__PURE__ */ p({
1940
+ ], Rn = /*#__PURE__*/ V(/* @__PURE__ */ p({
1921
1941
  inheritAttrs: !1,
1922
1942
  __name: "Textarea",
1923
1943
  props: /*@__PURE__*/ _({
1924
1944
  prefixIcon: {},
1945
+ prefixIconLabel: {},
1946
+ suffixIconLabel: {},
1925
1947
  size: {},
1926
1948
  invalid: { type: Boolean },
1927
1949
  pill: { type: Boolean },
@@ -1933,14 +1955,14 @@ var hn = {
1933
1955
  }),
1934
1956
  emits: /*@__PURE__*/ _(["prefix-icon-click"], ["update:modelValue"]),
1935
1957
  setup(e, { expose: t }) {
1936
- let n = F(e, "modelValue"), r = K(), i = I(), o = E();
1958
+ let n = F(e, "modelValue"), r = G(), i = I(), o = E();
1937
1959
  function s(e) {
1938
1960
  n.value = e.target.value;
1939
1961
  }
1940
1962
  return t({
1941
1963
  focus: () => o.value.focus(),
1942
1964
  select: () => o.value.select()
1943
- }), (e, t) => (T(), a(G, {
1965
+ }), (e, t) => (T(), a(W, {
1944
1966
  class: y(["Textarea", e.$attrs.class]),
1945
1967
  size: e.$props.size,
1946
1968
  invalid: e.$props.invalid,
@@ -1971,7 +1993,7 @@ var hn = {
1971
1993
  "prefix-icon"
1972
1994
  ]));
1973
1995
  }
1974
- }), [["__scopeId", "data-v-dde25ebf"]]), zn = { class: "Tooltip__trigger" }, Bn = /* @__PURE__ */ p({
1996
+ }), [["__scopeId", "data-v-dde25ebf"]]), zn = ["aria-describedby"], Bn = ["id"], Vn = /* @__PURE__ */ p({
1975
1997
  __name: "Tooltip",
1976
1998
  props: {
1977
1999
  title: {},
@@ -1982,7 +2004,7 @@ var hn = {
1982
2004
  offset: {}
1983
2005
  },
1984
2006
  setup(e) {
1985
- let t = e, n = `--anchor-${P()}`, r = i(() => {
2007
+ let t = e, n = I(), r = P(), a = i(() => !!(t.title || n.title)), l = `--anchor-${P()}`, d = i(() => {
1986
2008
  switch (t.placement) {
1987
2009
  case "top": return "top";
1988
2010
  case "bottom": return "bottom";
@@ -1991,36 +2013,40 @@ var hn = {
1991
2013
  default: return "top";
1992
2014
  }
1993
2015
  });
1994
- return (t, i) => (T(), s("div", {
2016
+ return (t, n) => (T(), s("div", {
1995
2017
  class: y(["Tooltip", { "Tooltip--showOnFocus": e.showOnFocus }]),
1996
2018
  style: x({
1997
- "--anchor-id": n,
1998
- "--position-area": r.value,
2019
+ "--anchor-id": l,
2020
+ "--position-area": d.value,
1999
2021
  "--offset": e.offset == null ? void 0 : `${e.offset}px`,
2000
2022
  "--delay": e.delay == null ? void 0 : `${e.delay}ms`
2001
2023
  })
2002
- }, [c("div", zn, [O(t.$slots, "default")]), e.title || t.$slots.title ? (T(), s("div", {
2024
+ }, [c("div", {
2025
+ class: "Tooltip__trigger",
2026
+ "aria-describedby": a.value ? M(r) : void 0
2027
+ }, [O(t.$slots, "default")], 8, zn), a.value ? (T(), s("div", {
2003
2028
  key: 0,
2029
+ id: M(r),
2004
2030
  class: y(["Tooltip__bubble", [`Tooltip__bubble--${e.placement}`, { "Tooltip__bubble--withArrow": e.withArrow }]]),
2005
2031
  role: "tooltip"
2006
- }, [O(t.$slots, "title", {}, () => [u(j(e.title), 1)])], 2)) : o("", !0)], 6));
2032
+ }, [O(t.$slots, "title", {}, () => [u(j(e.title), 1)])], 10, Bn)) : o("", !0)], 6));
2007
2033
  }
2008
- }), Vn = (e = document.body) => {
2009
- let t = (e) => {
2034
+ }), Hn = (e) => {
2035
+ let t, n = (e) => {
2010
2036
  e.defaultPrevented || (e.dataTransfer.dropEffect = "none", e.preventDefault());
2011
- }, n = (e) => {
2037
+ }, r = (e) => {
2012
2038
  e.preventDefault();
2013
2039
  };
2014
2040
  C(() => {
2015
- e.addEventListener("dragenter", n, !1), e.addEventListener("dragover", t, !1), e.addEventListener("dragleave", n, !1), e.addEventListener("drop", n, !1);
2041
+ t = e ?? document.body, t.addEventListener("dragenter", r, !1), t.addEventListener("dragover", n, !1), t.addEventListener("dragleave", r, !1), t.addEventListener("drop", r, !1);
2016
2042
  }), S(() => {
2017
- e.removeEventListener("dragenter", n, !1), e.removeEventListener("dragover", t, !1), e.removeEventListener("dragleave", n, !1), e.removeEventListener("drop", n, !1);
2043
+ t?.removeEventListener("dragenter", r, !1), t?.removeEventListener("dragover", n, !1), t?.removeEventListener("dragleave", r, !1), t?.removeEventListener("drop", r, !1);
2018
2044
  });
2019
2045
  };
2020
2046
  //#endregion
2021
2047
  //#region src/composables/useSubmitAction.ts
2022
- function Hn(e, t = {}) {
2023
- let n = mn(), r = dt(), i = se(), a = E(!1), o = E(!1), s = E(null), c = E(t.initialResultValue), l = async (...l) => {
2048
+ function Un(e, t = {}) {
2049
+ let n = mn(), r = ft(), i = se(), a = E(!1), o = E(!1), s = E(null), c = E(t.initialResultValue), l = async (...l) => {
2024
2050
  try {
2025
2051
  if (a.value = !0, s.value = null, t.onBeforeSubmit && await t.onBeforeSubmit({
2026
2052
  params: l,
@@ -2068,8 +2094,8 @@ function Hn(e, t = {}) {
2068
2094
  }
2069
2095
  //#endregion
2070
2096
  //#region src/composables/useLoadData.ts
2071
- var Un = (e, t = {}) => {
2072
- let { isSubmitting: n, hasSubmitted: r, submit: i, result: a, error: o } = Hn(e, {
2097
+ var Wn = (e, t = {}) => {
2098
+ let { isSubmitting: n, hasSubmitted: r, submit: i, result: a, error: o } = Un(e, {
2073
2099
  onBeforeSubmit: t.onBeforeLoad ? ({ params: e, dialog: n, snackbar: r }) => t.onBeforeLoad({
2074
2100
  params: e,
2075
2101
  dialog: n,
@@ -2104,8 +2130,8 @@ var Un = (e, t = {}) => {
2104
2130
  error: o
2105
2131
  };
2106
2132
  }, $ = 25;
2107
- function Wn(e, t = {}) {
2108
- let n = E([]), r = E(), { immediate: i, initialValue: a, ...o } = t, { isLoading: s, hasLoaded: c, load: l } = Un(e, o), u = async (e = 1) => {
2133
+ function Gn(e, t = {}) {
2134
+ let n = E([]), r = E(), { immediate: i, initialValue: a, ...o } = t, { isLoading: s, hasLoaded: c, load: l } = Wn(e, o), u = async (e = 1) => {
2109
2135
  let i = await l({
2110
2136
  page: e,
2111
2137
  itemsPerPage: t.itemsPerPage || $
@@ -2138,18 +2164,20 @@ function Wn(e, t = {}) {
2138
2164
  }
2139
2165
  //#endregion
2140
2166
  //#region src/composables/useOnFocusOutside.ts
2141
- function Gn(e, t) {
2167
+ function Kn(e, t) {
2142
2168
  let n = (n) => {
2143
2169
  e.value?.contains(n.target) || t(n);
2144
2170
  };
2145
- window.addEventListener("focus", n), w(() => {
2171
+ C(() => {
2172
+ window.addEventListener("focus", n);
2173
+ }), w(() => {
2146
2174
  window.removeEventListener("focus", n);
2147
2175
  });
2148
2176
  }
2149
2177
  //#endregion
2150
2178
  //#region src/composables/useRouteQuery.ts
2151
- var Kn = (e) => e !== "" && e != null && (Array.isArray(e) ? e.length > 0 : !0);
2152
- function qn(e) {
2179
+ var qn = (e) => e !== "" && e != null && (Array.isArray(e) ? e.length > 0 : !0);
2180
+ function Jn(e) {
2153
2181
  let t = se(), n = oe(), r = i(() => {
2154
2182
  let t = n.query;
2155
2183
  return e.filter?.length && (t = Object.fromEntries(Object.entries(t).filter(([t]) => e.filter?.includes(t)))), t = Object.fromEntries(Object.entries(t).map(([t, n]) => [t, decodeURIComponent(e.parse?.[t] ? e.parse[t](n) : n)])), e.defaults && Object.entries(e.defaults).forEach(([e, n]) => {
@@ -2159,19 +2187,19 @@ function qn(e) {
2159
2187
  return R(r, () => e.onChange?.(r.value), { immediate: e.immediate }), {
2160
2188
  queryParams: r,
2161
2189
  setQuery: (e) => {
2162
- let n = Object.fromEntries(Object.entries(e).filter(([e, t]) => Kn(t)).map(([e, t]) => [e, a(e, t)]));
2190
+ let n = Object.fromEntries(Object.entries(e).filter(([e, t]) => qn(t)).map(([e, t]) => [e, a(e, t)]));
2163
2191
  return t.push({ query: n });
2164
2192
  },
2165
2193
  setQueryParam: (e, r) => {
2166
2194
  let i = { ...n.query };
2167
- return i[e] = Kn(r) ? a(e, r) : void 0, t.push({ query: i });
2195
+ return i[e] = qn(r) ? a(e, r) : void 0, t.push({ query: i });
2168
2196
  }
2169
2197
  };
2170
2198
  }
2171
2199
  //#endregion
2172
2200
  //#region src/composables/usePageFromRouteQuery.ts
2173
- function Jn(e) {
2174
- let { queryParams: t, setQuery: n } = qn({
2201
+ function Yn(e) {
2202
+ let { queryParams: t, setQuery: n } = Jn({
2175
2203
  onChange: (t) => e.onChange?.(t.page),
2176
2204
  filter: ["page"],
2177
2205
  parse: { page: (e) => Number(e) || 1 },
@@ -2184,7 +2212,7 @@ function Jn(e) {
2184
2212
  }
2185
2213
  //#endregion
2186
2214
  //#region src/composables/useValidation.ts
2187
- function Yn(e) {
2215
+ function Xn(e) {
2188
2216
  let t = E(), n = E(!1), r = async (r) => {
2189
2217
  n.value = !0;
2190
2218
  try {
@@ -2204,18 +2232,18 @@ function Yn(e) {
2204
2232
  }
2205
2233
  //#endregion
2206
2234
  //#region src/utils/resolveFilesFromClipboardEvent.ts
2207
- function Xn(e, t = {}) {
2235
+ function Zn(e, t = {}) {
2208
2236
  let n = Array.from(e.clipboardData?.items || []).filter((e) => e.kind === "file").map((e) => e.getAsFile()).filter((e) => e !== null);
2209
2237
  return t.accept && (n = n.filter((e) => e.type.startsWith(t.accept + "/"))), t.multiple || (n = n.slice(0, 1)), n;
2210
2238
  }
2211
2239
  //#endregion
2212
2240
  //#region src/valueParsers/dateValueParser.ts
2213
- var Zn = {
2241
+ var Qn = {
2214
2242
  stringify: (e) => e.toISOString().slice(0, 10),
2215
2243
  parse: (e) => new Date(e)
2216
- }, Qn = {
2244
+ }, $n = {
2217
2245
  stringify: (e) => String(e),
2218
2246
  parse: (e) => Number(e)
2219
- }, $n = class extends Error {};
2247
+ }, er = class extends Error {};
2220
2248
  //#endregion
2221
- export { je as Autocomplete, Ne as Breadcrumbs, W as Button, Le as ButtonGroup, Ue as Card, Ze as Checkbox, $e as CheckboxGroup, Zn as DateValueParser, yt as DialogLayout, Ct as DialogStack, Tt as Divider, ye as Dropdown, we as DropdownMenu, he as FadeTransition, Mt as FilePicker, Bt as FormFields, zt as FormGroup, U as Icon, Ht as IconButton, Wt as Input, Qn as NumberValueParser, Gt as RadioButtonGroup, Xt as RadioGroup, rn as Select, on as ShortcutIcon, _n as SnackbarStack, On as Table, In as Tabs, Mn as TabsNav, Rn as Textarea, Bn as Tooltip, $n as ValidationError, J as normalizeOptions, de as registerCustomIconResolver, Xn as resolveFilesFromClipboardEvent, kt as retrieveFilesFromDataTransfer, Ot as retrieveMediaUrlFromHTML, lt as useCloseDialog, Te as useCursor, dt as useDialogStack, At as useDropArea, Un as useLoadData, Wn as useLoadPaginatedData, ge as useOnClickOutside, Gn as useOnFocusOutside, _e as useOnKeyPress, Jn as usePageFromRouteQuery, Vn as usePreventHandlingDrop, qn as useRouteQuery, mn as useSnackbar, Hn as useSubmitAction, Yn as useValidation };
2249
+ export { Me as Autocomplete, Pe as Breadcrumbs, U as Button, Re as ButtonGroup, We as Card, Qe as Checkbox, et as CheckboxGroup, Qn as DateValueParser, Z as DialogLayout, Ct as DialogStack, Tt as Divider, be as Dropdown, Te as DropdownMenu, ge as FadeTransition, Mt as FilePicker, Bt as FormFields, zt as FormGroup, H as Icon, Ht as IconButton, Wt as Input, $n as NumberValueParser, Gt as RadioButtonGroup, Xt as RadioGroup, rn as Select, on as ShortcutIcon, _n as SnackbarStack, On as Table, In as Tabs, Mn as TabsNav, Rn as Textarea, Vn as Tooltip, er as ValidationError, q as normalizeOptions, fe as registerCustomIconResolver, Zn as resolveFilesFromClipboardEvent, kt as retrieveFilesFromDataTransfer, Ot as retrieveMediaUrlFromHTML, ut as useCloseDialog, Ee as useCursor, ft as useDialogStack, At as useDropArea, nt as useFocusTrap, Wn as useLoadData, Gn as useLoadPaginatedData, _e as useOnClickOutside, Kn as useOnFocusOutside, ve as useOnKeyPress, Yn as usePageFromRouteQuery, Hn as usePreventHandlingDrop, Jn as useRouteQuery, mn as useSnackbar, Un as useSubmitAction, Xn as useValidation };