@aures5g/vue-component-library 3.74.0 → 3.76.0

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,4 +1,4 @@
1
- import { A as e, C as t, D as n, E as r, M as i, N as a, O as o, S as s, T as c, _ as l, a as u, b as d, c as f, d as p, f as m, g as h, h as g, i as _, j as v, k as y, l as ee, m as b, n as x, o as te, p as ne, r as re, s as ie, t as ae, u as S, v as oe, w as se, x as ce, y as le } from "./UIMenu-BOUmpwbY.js";
1
+ import { A as e, C as t, D as n, E as r, M as i, N as a, O as o, S as s, T as c, _ as l, a as u, b as d, c as f, d as p, f as m, g as ee, h, i as g, j as _, k as v, l as y, m as te, n as b, o as x, p as ne, r as re, s as ie, t as ae, u as S, v as oe, w as se, x as ce, y as le } from "./UIMenu-BOUmpwbY.js";
2
2
  import { n as ue, t as de } from "./UICheckbox-CO51kllT.js";
3
3
  import { Fragment as C, Teleport as fe, Transition as pe, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, createSlots as me, createTextVNode as he, createVNode as k, defineAsyncComponent as ge, defineComponent as A, effectScope as _e, h as ve, isRef as ye, mergeDefaults as be, mergeModels as j, mergeProps as M, nextTick as xe, normalizeClass as N, normalizeStyle as Se, onActivated as Ce, onDeactivated as we, onUpdated as Te, onWatcherCleanup as Ee, openBlock as P, reactive as De, ref as F, renderList as I, renderSlot as L, resolveComponent as Oe, resolveDirective as ke, resolveDynamicComponent as Ae, shallowRef as je, toDisplayString as R, toRefs as Me, toValue as Ne, unref as z, useAttrs as Pe, useId as Fe, useModel as B, useSlots as Ie, useTemplateRef as Le, vModelDynamic as Re, vModelText as ze, vShow as Be, watch as V, withCtx as H, withDirectives as Ve, withKeys as He, withModifiers as Ue } from "vue";
4
4
  import { FontAwesomeIcon as U } from "@fortawesome/vue-fontawesome";
@@ -57,17 +57,17 @@ var Wt = {
57
57
  label: { default: "" },
58
58
  leadingIcon: { default: void 0 },
59
59
  trailingIcon: { default: void 0 },
60
- placement: { default: _.LIGHT }
60
+ placement: { default: g.LIGHT }
61
61
  },
62
62
  setup(e) {
63
63
  let t = e, n = w(() => ({
64
64
  [Wt.FILLED]: {
65
- root: [t.placement === _.LIGHT ? "bg-primary text-on-primary disabled:bg-on-surface/12 disabled:text-on-surface" : t.placement === _.PRIMARY ? "bg-on-primary text-primary disabled:bg-on-primary/12" : t.placement === _.ERROR ? "bg-on-error text-error disabled:bg-on-error/12" : "bg-surface-container-lowest text-on-surface-variant disabled:bg-surface-container-lowest/12 disabled:text-surface-container-lowest", "eh:shadow-1"],
66
- state: [t.placement === _.LIGHT ? "group-hover/button:group-enabled/button:bg-on-primary/8" : "group-hover/button:group-enabled/button:bg-on-surface-variant/8"]
65
+ root: [t.placement === g.LIGHT ? "bg-primary text-on-primary disabled:bg-on-surface/12 disabled:text-on-surface" : t.placement === g.PRIMARY ? "bg-on-primary text-primary disabled:bg-on-primary/12" : t.placement === g.ERROR ? "bg-on-error text-error disabled:bg-on-error/12" : "bg-surface-container-lowest text-on-surface-variant disabled:bg-surface-container-lowest/12 disabled:text-surface-container-lowest", "eh:shadow-1"],
66
+ state: [t.placement === g.LIGHT ? "group-hover/button:group-enabled/button:bg-on-primary/8" : "group-hover/button:group-enabled/button:bg-on-surface-variant/8"]
67
67
  },
68
68
  [Wt.OUTLINED]: {
69
- root: ["border", t.placement === _.LIGHT ? "border-outline text-primary disabled:border-on-surface/12 disabled:text-on-surface" : "border-surface-container-lowest/16 text-surface-container-lowest"],
70
- state: [t.placement === _.LIGHT ? "group-hover/button:group-enabled/button:bg-primary/8" : "group-hover/button:group-enabled/button:bg-surface-container-lowest/8"]
69
+ root: ["border", t.placement === g.LIGHT ? "border-outline text-primary disabled:border-on-surface/12 disabled:text-on-surface" : "border-surface-container-lowest/16 text-surface-container-lowest"],
70
+ state: [t.placement === g.LIGHT ? "group-hover/button:group-enabled/button:bg-primary/8" : "group-hover/button:group-enabled/button:bg-surface-container-lowest/8"]
71
71
  },
72
72
  [Wt.TEXT]: {
73
73
  root: ["text-current disabled:text-on-surface"],
@@ -336,12 +336,12 @@ var ln = {
336
336
  S.load(i?.css, W({ name: "primitive-variables" }, this.$styleOptions)), S.load(a?.css, W({ name: "semantic-variables" }, this.$styleOptions)), S.load(o?.css, W({ name: "global-variables" }, this.$styleOptions)), S.loadStyle(W({ name: "global-style" }, this.$styleOptions), s), m.setLoadedStyleName("common");
337
337
  }
338
338
  if (!m.isStyleNameLoaded(this.$style?.name) && (e = this.$style) != null && e.name) {
339
- var c, l, u, d, f = ((c = this.$style) == null || (l = c.getComponentTheme) == null ? void 0 : l.call(c)) || {}, p = f.css, h = f.style;
340
- (u = this.$style) == null || u.load(p, W({ name: `${this.$style.name}-variables` }, this.$styleOptions)), (d = this.$style) == null || d.loadStyle(W({ name: `${this.$style.name}-style` }, this.$styleOptions), h), m.setLoadedStyleName(this.$style.name);
339
+ var c, l, u, d, f = ((c = this.$style) == null || (l = c.getComponentTheme) == null ? void 0 : l.call(c)) || {}, p = f.css, ee = f.style;
340
+ (u = this.$style) == null || u.load(p, W({ name: `${this.$style.name}-variables` }, this.$styleOptions)), (d = this.$style) == null || d.loadStyle(W({ name: `${this.$style.name}-style` }, this.$styleOptions), ee), m.setLoadedStyleName(this.$style.name);
341
341
  }
342
342
  if (!m.isStyleNameLoaded("layer-order")) {
343
- var g, _, v = (g = this.$style) == null || (_ = g.getLayerOrderThemeCSS) == null ? void 0 : _.call(g);
344
- S.load(v, W({
343
+ var h, g, _ = (h = this.$style) == null || (g = h.getLayerOrderThemeCSS) == null ? void 0 : g.call(h);
344
+ S.load(_, W({
345
345
  name: "layer-order",
346
346
  first: !0
347
347
  }, this.$styleOptions)), m.setLoadedStyleName("layer-order");
@@ -443,13 +443,13 @@ var ln = {
443
443
  globalPT: function() {
444
444
  var e = this;
445
445
  return this._getPT(this.$primevueConfig?.pt, void 0, function(t) {
446
- return v(t, { instance: e });
446
+ return _(t, { instance: e });
447
447
  });
448
448
  },
449
449
  defaultPT: function() {
450
450
  var e = this;
451
451
  return this._getPT(this.$primevueConfig?.pt, void 0, function(t) {
452
- return e._getOptionValue(t, e.$name, W({}, e.$params)) || v(t, W({}, e.$params));
452
+ return e._getOptionValue(t, e.$name, W({}, e.$params)) || _(t, W({}, e.$params));
453
453
  });
454
454
  },
455
455
  isUnstyled: function() {
@@ -840,7 +840,7 @@ function Wn(e, t) {
840
840
  }
841
841
  var K = {
842
842
  _getMeta: function() {
843
- return [y(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], v(y(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
843
+ return [v(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], _(v(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
844
844
  },
845
845
  _getConfig: function(e, t) {
846
846
  var n, r;
@@ -851,8 +851,8 @@ var K = {
851
851
  var e, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "", a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = function() {
852
852
  var e = K._getOptionValue.apply(K, arguments);
853
853
  return r(e) || se(e) ? { class: e } : e;
854
- }, c = ((e = t.binding) == null || (e = e.value) == null ? void 0 : e.ptOptions) || t.$primevueConfig?.ptOptions || {}, l = c.mergeSections, u = l === void 0 || l, d = c.mergeProps, f = d !== void 0 && d, p = o ? K._useDefaultPT(t, t.defaultPT(), s, i, a) : void 0, m = K._usePT(t, K._getPT(n, t.$name), s, i, G(G({}, a), {}, { global: p || {} })), h = K._getPTDatasets(t, i);
855
- return u || !u && m ? f ? K._mergeProps(t, f, p, m, h) : G(G(G({}, p), m), h) : G(G({}, m), h);
854
+ }, c = ((e = t.binding) == null || (e = e.value) == null ? void 0 : e.ptOptions) || t.$primevueConfig?.ptOptions || {}, l = c.mergeSections, u = l === void 0 || l, d = c.mergeProps, f = d !== void 0 && d, p = o ? K._useDefaultPT(t, t.defaultPT(), s, i, a) : void 0, m = K._usePT(t, K._getPT(n, t.$name), s, i, G(G({}, a), {}, { global: p || {} })), ee = K._getPTDatasets(t, i);
855
+ return u || !u && m ? f ? K._mergeProps(t, f, p, m, ee) : G(G(G({}, p), m), ee) : G(G({}, m), ee);
856
856
  },
857
857
  _getPTDatasets: function() {
858
858
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", n = "data-pc-";
@@ -904,12 +904,12 @@ var K = {
904
904
  S.load(s?.css, G({ name: "primitive-variables" }, r)), S.load(c?.css, G({ name: "semantic-variables" }, r)), S.load(l?.css, G({ name: "global-variables" }, r)), S.loadStyle(G({ name: "global-style" }, r), u), m.setLoadedStyleName("common");
905
905
  }
906
906
  if (!m.isStyleNameLoaded(n.$style?.name) && (t = n.$style) != null && t.name) {
907
- var d, f, p, h, g = ((d = n.$style) == null || (f = d.getDirectiveTheme) == null ? void 0 : f.call(d)) || {}, _ = g.css, v = g.style;
908
- (p = n.$style) == null || p.load(_, G({ name: `${n.$style.name}-variables` }, r)), (h = n.$style) == null || h.loadStyle(G({ name: `${n.$style.name}-style` }, r), v), m.setLoadedStyleName(n.$style.name);
907
+ var d, f, p, ee, h = ((d = n.$style) == null || (f = d.getDirectiveTheme) == null ? void 0 : f.call(d)) || {}, g = h.css, _ = h.style;
908
+ (p = n.$style) == null || p.load(g, G({ name: `${n.$style.name}-variables` }, r)), (ee = n.$style) == null || ee.loadStyle(G({ name: `${n.$style.name}-style` }, r), _), m.setLoadedStyleName(n.$style.name);
909
909
  }
910
910
  if (!m.isStyleNameLoaded("layer-order")) {
911
- var y, ee, b = (y = n.$style) == null || (ee = y.getLayerOrderThemeCSS) == null ? void 0 : ee.call(y);
912
- S.load(b, G({
911
+ var v, y, te = (v = n.$style) == null || (y = v.getLayerOrderThemeCSS) == null ? void 0 : y.call(v);
912
+ S.load(te, G({
913
913
  name: "layer-order",
914
914
  first: !0
915
915
  }, r)), m.setLoadedStyleName("layer-order");
@@ -1014,10 +1014,10 @@ var K = {
1014
1014
  a.$watchersCallback = {
1015
1015
  config: s,
1016
1016
  "config.ripple": c
1017
- }, o == null || (n = o.config) == null || n.call(a, a?.$primevueConfig), ee.on("config:change", s), o == null || (r = o["config.ripple"]) == null || r.call(a, a == null || (i = a.$primevueConfig) == null ? void 0 : i.ripple), ee.on("config:ripple:change", c);
1017
+ }, o == null || (n = o.config) == null || n.call(a, a?.$primevueConfig), y.on("config:change", s), o == null || (r = o["config.ripple"]) == null || r.call(a, a == null || (i = a.$primevueConfig) == null ? void 0 : i.ripple), y.on("config:ripple:change", c);
1018
1018
  }, a = function(e) {
1019
1019
  var n = e._$instances[t].$watchersCallback;
1020
- n && (ee.off("config:change", n.config), ee.off("config:ripple:change", n["config.ripple"]), e._$instances[t].$watchersCallback = void 0);
1020
+ n && (y.off("config:change", n.config), y.off("config:ripple:change", n["config.ripple"]), e._$instances[t].$watchersCallback = void 0);
1021
1021
  };
1022
1022
  return {
1023
1023
  created: function(e, n, i, a) {
@@ -1146,22 +1146,22 @@ var rr = Kn.extend("ripple", {
1146
1146
  onMouseDown: function(e) {
1147
1147
  var t = this, n = e.currentTarget, r = this.getInk(n);
1148
1148
  if (!(!r || getComputedStyle(r, null).display === "none")) {
1149
- if (!this.isUnstyled() && g(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "false"), !oe(r) && !l(r)) {
1149
+ if (!this.isUnstyled() && h(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "false"), !oe(r) && !l(r)) {
1150
1150
  var i = Math.max(s(n), ne(n));
1151
1151
  r.style.height = i + "px", r.style.width = i + "px";
1152
1152
  }
1153
- var a = b(n), o = e.pageX - a.left + document.body.scrollTop - l(r) / 2, c = e.pageY - a.top + document.body.scrollLeft - oe(r) / 2;
1153
+ var a = te(n), o = e.pageX - a.left + document.body.scrollTop - l(r) / 2, c = e.pageY - a.top + document.body.scrollLeft - oe(r) / 2;
1154
1154
  r.style.top = c + "px", r.style.left = o + "px", !this.isUnstyled() && d(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
1155
- r && (!t.isUnstyled() && g(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "false"));
1155
+ r && (!t.isUnstyled() && h(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "false"));
1156
1156
  }, 401);
1157
1157
  }
1158
1158
  },
1159
1159
  onAnimationEnd: function(e) {
1160
- this.timeout && clearTimeout(this.timeout), !this.isUnstyled() && g(e.currentTarget, "p-ink-active"), e.currentTarget.setAttribute("data-p-ink-active", "false");
1160
+ this.timeout && clearTimeout(this.timeout), !this.isUnstyled() && h(e.currentTarget, "p-ink-active"), e.currentTarget.setAttribute("data-p-ink-active", "false");
1161
1161
  },
1162
1162
  getInk: function(e) {
1163
1163
  return e && e.children ? Jn(e.children).find(function(e) {
1164
- return h(e, "data-pc-name") === "ripple";
1164
+ return ee(e, "data-pc-name") === "ripple";
1165
1165
  }) : void 0;
1166
1166
  }
1167
1167
  }
@@ -1547,30 +1547,30 @@ function Sr(e, t) {
1547
1547
  });
1548
1548
  }
1549
1549
  let m = w(p);
1550
- function h() {
1550
+ function ee() {
1551
1551
  if (o.value === null || !a.value) return 0;
1552
1552
  let e = m.value[o.value];
1553
1553
  if (!e) return 0;
1554
1554
  let { top: t } = e, n = t.value - u.value;
1555
1555
  return n + f.value > d.value && (n = d.value - f.value), n;
1556
1556
  }
1557
- let g = w(h);
1558
- function _(e, n) {
1557
+ let h = w(ee);
1558
+ function g(e, n) {
1559
1559
  t.value[n] || (o.value = e);
1560
1560
  }
1561
- async function v(e) {
1561
+ async function _(e) {
1562
1562
  await new Promise((e) => setTimeout(e, yr)), !(l.value || o.value !== e) && (o.value = null);
1563
1563
  }
1564
- async function y() {
1564
+ async function v() {
1565
1565
  o.value = null;
1566
1566
  }
1567
- async function ee() {
1567
+ async function y() {
1568
1568
  l.value = !0;
1569
1569
  }
1570
- async function b() {
1570
+ async function te() {
1571
1571
  l.value = !1;
1572
1572
  }
1573
- return V(g, (e) => {
1573
+ return V(h, (e) => {
1574
1574
  a.value && (a.value.style.top = `${e}px`);
1575
1575
  }), Te(function() {
1576
1576
  i.forEach((e) => e());
@@ -1578,13 +1578,13 @@ function Sr(e, t) {
1578
1578
  activeFloatingMenuIndex: o,
1579
1579
  menuItemRefs: r,
1580
1580
  navbarRef: n,
1581
- enterFloatingTrigger: _,
1582
- leaveFloatingTrigger: v,
1581
+ enterFloatingTrigger: g,
1582
+ leaveFloatingTrigger: _,
1583
1583
  activeFloatingMenu: c,
1584
1584
  floatingMenuWrapperRef: a,
1585
- resetFloatingMenu: y,
1586
- focusFloatingMenu: ee,
1587
- blurFloatingMenu: b
1585
+ resetFloatingMenu: v,
1586
+ focusFloatingMenu: y,
1587
+ blurFloatingMenu: te
1588
1588
  };
1589
1589
  }
1590
1590
  function Cr() {
@@ -1626,9 +1626,9 @@ var wr = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-containe
1626
1626
  expandedRoutes: { default: () => [] }
1627
1627
  },
1628
1628
  setup(e) {
1629
- let t = ge(() => Promise.resolve().then(() => ni)), n = e, { isNavbarExpandedByDefault: r, isMenuOpen: i, onToggle: a, navbarClasses: o } = br(n.expandedRoutes), { menuCategories: s, onCategoryClick: c, menuCategoryClasses: l } = xr(n.mainMenuItems, n.landingRoute), { activeFloatingMenuIndex: u, menuItemRefs: d, navbarRef: f, enterFloatingTrigger: p, activeFloatingMenu: m, floatingMenuWrapperRef: h, leaveFloatingTrigger: g, resetFloatingMenu: _, focusFloatingMenu: v, blurFloatingMenu: y } = Sr(n.mainMenuItems, s), { getCategoryLinkComponent: ee, getCategoryLinkProps: b } = Cr();
1630
- return (n, x) => {
1631
- let te = ke("tooltip");
1629
+ let t = ge(() => Promise.resolve().then(() => ni)), n = e, { isNavbarExpandedByDefault: r, isMenuOpen: i, onToggle: a, navbarClasses: o } = br(n.expandedRoutes), { menuCategories: s, onCategoryClick: c, menuCategoryClasses: l } = xr(n.mainMenuItems, n.landingRoute), { activeFloatingMenuIndex: u, menuItemRefs: d, navbarRef: f, enterFloatingTrigger: p, activeFloatingMenu: m, floatingMenuWrapperRef: ee, leaveFloatingTrigger: h, resetFloatingMenu: g, focusFloatingMenu: _, blurFloatingMenu: v } = Sr(n.mainMenuItems, s), { getCategoryLinkComponent: y, getCategoryLinkProps: te } = Cr();
1630
+ return (n, b) => {
1631
+ let x = ke("tooltip");
1632
1632
  return P(), D("div", {
1633
1633
  ref_key: "navbarRef",
1634
1634
  ref: f,
@@ -1651,9 +1651,9 @@ var wr = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-containe
1651
1651
  ref: d,
1652
1652
  class: N(z(l)[e.name]),
1653
1653
  onMouseenter: (t) => z(p)(n, e.name),
1654
- onMouseleave: (e) => z(g)(n),
1655
- onClick: x[0] ||= (...e) => z(_) && z(_)(...e)
1656
- }, [(P(), T(Ae(z(ee)(e)), M({ ref_for: !0 }, z(b)(e), {
1654
+ onMouseleave: (e) => z(h)(n),
1655
+ onClick: b[0] ||= (...e) => z(g) && z(g)(...e)
1656
+ }, [(P(), T(Ae(z(y)(e)), M({ ref_for: !0 }, z(te)(e), {
1657
1657
  class: ["py-md px-lg h-[24px] box-content hover:bg-on-surface/16 text-on-surface-variant block", { "bg-on-surface/16": z(u) === n }],
1658
1658
  "active-class": "bg-inverse-surface! text-inverse-on-surface!"
1659
1659
  }), {
@@ -1688,7 +1688,7 @@ var wr = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-containe
1688
1688
  class: "absolute -bottom-[40%] left-[50%] -translate-x-1/2 -translate-y-1/2 py-[2px] px-[5px] text-[9px] leading-[9px] h-[unset]"
1689
1689
  }, null, 8, ["value"])) : E("", !0)]), O("span", Ir, R(n.title), 1)])]),
1690
1690
  _: 2
1691
- }, 1032, ["to"])), [[te, {
1691
+ }, 1032, ["to"])), [[x, {
1692
1692
  value: n.title,
1693
1693
  disabled: z(i) || !z(s)[e.name],
1694
1694
  position: "right"
@@ -1696,11 +1696,11 @@ var wr = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-containe
1696
1696
  z(m) ? (P(), D("div", {
1697
1697
  key: 0,
1698
1698
  ref_key: "floatingMenuWrapperRef",
1699
- ref: h,
1699
+ ref: ee,
1700
1700
  class: "absolute left-full bg-surface-container-low py-sm z-99",
1701
- onMouseenter: x[1] ||= (...e) => z(v) && z(v)(...e),
1702
- onMouseleave: x[2] ||= (...e) => z(y) && z(y)(...e),
1703
- onClick: x[3] ||= (...e) => z(y) && z(y)(...e)
1701
+ onMouseenter: b[1] ||= (...e) => z(_) && z(_)(...e),
1702
+ onMouseleave: b[2] ||= (...e) => z(v) && z(v)(...e),
1703
+ onClick: b[3] ||= (...e) => z(v) && z(v)(...e)
1704
1704
  }, [O("ul", { class: N({ "no-subcategory": (z(m).subMenuItems || []).length < 1 }) }, [
1705
1705
  O("li", Lr, [O("div", Rr, [O("span", zr, R(z(m).title), 1)])]),
1706
1706
  (z(m).subMenuItems || []).length > 0 ? (P(), D("hr", Br)) : E("", !0),
@@ -1722,7 +1722,7 @@ var wr = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-containe
1722
1722
  class: "absolute -bottom-[40%] left-[50%] -translate-x-1/2 -translate-y-1/2 py-[2px] px-[5px] text-[9px] leading-[9px] h-[unset]"
1723
1723
  }, null, 8, ["value"])) : E("", !0)]), O("span", Ur, R(e.title), 1)])]),
1724
1724
  _: 2
1725
- }, 1032, ["to"])), [[te, {
1725
+ }, 1032, ["to"])), [[x, {
1726
1726
  value: e.title,
1727
1727
  disabled: z(i) || !z(s)[z(m).name],
1728
1728
  position: "right"
@@ -1991,7 +1991,7 @@ var ui = {
1991
1991
  iconPosition: { default: ui.RIGHT }
1992
1992
  },
1993
1993
  setup(e) {
1994
- let t = e, n = te();
1994
+ let t = e, n = x();
1995
1995
  function r(e, r) {
1996
1996
  let i = z(n.locale?.copied);
1997
1997
  return {
@@ -2654,7 +2654,7 @@ var Hi = function() {
2654
2654
  function d() {
2655
2655
  a("focusInput");
2656
2656
  }
2657
- let f = { WRAPPER: `--field-wrapper-${o}` }, p = te();
2657
+ let f = { WRAPPER: `--field-wrapper-${o}` }, p = x();
2658
2658
  return t({
2659
2659
  inputId: o,
2660
2660
  anchors: f
@@ -2936,7 +2936,7 @@ var Hi = function() {
2936
2936
  setup(e, { emit: t }) {
2937
2937
  let n = t, r = Ie();
2938
2938
  return (t, i) => (P(), D("div", ro, [O("div", io, [L(t.$slots, "header", {}, () => [O("div", ao, [
2939
- e.showBackIcon ? (P(), T(x, {
2939
+ e.showBackIcon ? (P(), T(b, {
2940
2940
  key: 0,
2941
2941
  icon: z(We),
2942
2942
  color: "standard",
@@ -2947,7 +2947,7 @@ var Hi = function() {
2947
2947
  key: 0,
2948
2948
  icon: e.infoIcon
2949
2949
  }, null, 8, ["icon"])) : E("", !0)])])])) : E("", !0), O("div", uo, [O("span", fo, R(e.headline), 1), e.subHeadline ? (P(), D("span", po, R(e.subHeadline), 1)) : E("", !0)])]), r.tags ? (P(), D("div", mo, [L(t.$slots, "tags")])) : E("", !0)]),
2950
- e.showCloseIcon ? (P(), T(x, {
2950
+ e.showCloseIcon ? (P(), T(b, {
2951
2951
  key: 1,
2952
2952
  icon: z(tt),
2953
2953
  color: "standard",
@@ -3322,41 +3322,41 @@ var Qo = { class: "size-[1.5rem]" }, $o = { class: "truncate" }, es = {
3322
3322
  let n = o(e);
3323
3323
  return l(n) ? n : t;
3324
3324
  }
3325
- let d = B(e, "modelValue"), f = F(""), p = F(!1), m = w(() => new Map(n.options.map((e) => [o(e), e]))), h = w(() => {
3325
+ let d = B(e, "modelValue"), f = F(""), p = F(!1), m = w(() => new Map(n.options.map((e) => [o(e), e]))), ee = w(() => {
3326
3326
  if (!d.value) return null;
3327
3327
  let e = m.value.get(d.value);
3328
3328
  return e ? a(e) : null;
3329
- }), g = w({
3329
+ }), h = w({
3330
3330
  get() {
3331
- return p.value ? f.value : h.value;
3331
+ return p.value ? f.value : ee.value;
3332
3332
  },
3333
3333
  set(e) {
3334
3334
  f.value = e?.toString() || "";
3335
3335
  }
3336
- }), _ = Le("input");
3337
- function v() {
3338
- f.value = "", p.value = !0, _.value?.focus();
3336
+ }), g = Le("input");
3337
+ function _() {
3338
+ f.value = "", p.value = !0, g.value?.focus();
3339
3339
  }
3340
- function y() {
3340
+ function v() {
3341
3341
  p.value = !1;
3342
3342
  }
3343
- let ee = Ie(), b = Le("formFieldWrapper"), x = w(() => n.options.filter((e) => {
3343
+ let y = Ie(), te = Le("formFieldWrapper"), b = w(() => n.options.filter((e) => {
3344
3344
  let t = a(e);
3345
3345
  if (typeof t == "string") return Zo(t).startsWith(Zo(f.value));
3346
3346
  }));
3347
- function te(e, t) {
3348
- e.preventDefault(), d.value = o(t), _.value?.blur();
3347
+ function x(e, t) {
3348
+ e.preventDefault(), d.value = o(t), g.value?.blur();
3349
3349
  }
3350
3350
  let ne = F(-1);
3351
3351
  function re(e) {
3352
3352
  e.preventDefault(), e.stopPropagation();
3353
3353
  let t = ne.value;
3354
- e.code === "ArrowDown" ? t = t >= x.value.length - 1 ? x.value.length - 1 : t + 1 : e.code === "ArrowUp" && (t = t <= 0 ? 0 : t - 1), ne.value = t;
3354
+ e.code === "ArrowDown" ? t = t >= b.value.length - 1 ? b.value.length - 1 : t + 1 : e.code === "ArrowUp" && (t = t <= 0 ? 0 : t - 1), ne.value = t;
3355
3355
  }
3356
3356
  function ie() {
3357
3357
  if (ne.value < 0) return;
3358
- let e = x.value[ne.value];
3359
- e && (d.value = o(e), _.value?.blur(), ne.value = -1);
3358
+ let e = b.value[ne.value];
3359
+ e && (d.value = o(e), g.value?.blur(), ne.value = -1);
3360
3360
  }
3361
3361
  function ae(e) {
3362
3362
  switch (e.code) {
@@ -3364,7 +3364,7 @@ var Qo = { class: "size-[1.5rem]" }, $o = { class: "truncate" }, es = {
3364
3364
  ie();
3365
3365
  break;
3366
3366
  case "Escape":
3367
- _.value?.blur();
3367
+ g.value?.blur();
3368
3368
  break;
3369
3369
  case "ArrowDown":
3370
3370
  case "ArrowUp":
@@ -3376,43 +3376,43 @@ var Qo = { class: "size-[1.5rem]" }, $o = { class: "truncate" }, es = {
3376
3376
  let d = ke("tooltip");
3377
3377
  return P(), D(C, null, [k(Fa, M({ ref: "formFieldWrapper" }, n, {
3378
3378
  "trailing-icon": z(jt),
3379
- onFocusInput: v
3379
+ onFocusInput: _
3380
3380
  }), me({
3381
3381
  default: H((e) => [Ve(O("input", M({
3382
3382
  ref: "input",
3383
- "onUpdate:modelValue": l[0] ||= (e) => g.value = e
3383
+ "onUpdate:modelValue": l[0] ||= (e) => h.value = e
3384
3384
  }, {
3385
3385
  ...e,
3386
3386
  ...z(i)
3387
3387
  }, {
3388
- onFocus: v,
3389
- onBlur: y,
3388
+ onFocus: _,
3389
+ onBlur: v,
3390
3390
  onKeydown: l[1] ||= (e) => ae(e)
3391
- }), null, 16), [[Re, g.value]]), p.value && !f.value ? (P(), D("span", {
3391
+ }), null, 16), [[Re, h.value]]), p.value && !f.value ? (P(), D("span", {
3392
3392
  key: 0,
3393
- style: Se({ "position-anchor": b.value?.anchors.WRAPPER }),
3393
+ style: Se({ "position-anchor": te.value?.anchors.WRAPPER }),
3394
3394
  class: "absolute top-[anchor(top)] left-[anchor(left)] text-on-surface-variant text-body-large"
3395
- }, R(h.value), 5)) : E("", !0)]),
3395
+ }, R(ee.value), 5)) : E("", !0)]),
3396
3396
  _: 2
3397
3397
  }, [
3398
- ee.leadingIcon ? {
3398
+ y.leadingIcon ? {
3399
3399
  name: "leadingIcon",
3400
3400
  fn: H(() => [L(t.$slots, "leadingIcon")]),
3401
3401
  key: "0"
3402
3402
  } : void 0,
3403
- ee.trailingIcon ? {
3403
+ y.trailingIcon ? {
3404
3404
  name: "trailingIcon",
3405
3405
  fn: H(() => [L(t.$slots, "trailingIcon")]),
3406
3406
  key: "1"
3407
3407
  } : void 0,
3408
- ee.tags ? {
3408
+ y.tags ? {
3409
3409
  name: "tags",
3410
3410
  fn: H(() => [L(t.$slots, "tags")]),
3411
3411
  key: "2"
3412
3412
  } : void 0
3413
3413
  ]), 1040, ["trailing-icon"]), (P(), T(fe, { to: "body" }, [p.value ? (P(), D("ul", {
3414
3414
  key: 0,
3415
- style: Se({ "position-anchor": b.value?.anchors.WRAPPER }),
3415
+ style: Se({ "position-anchor": te.value?.anchors.WRAPPER }),
3416
3416
  class: "absolute top-[calc(anchor(bottom)+0.25rem)] left-[anchor(left)] bg-surface-container-low py-[0.5rem] w-[anchor-size(width)] rounded-extra-small shadow-2 max-h-[15rem] overflow-auto z-10"
3417
3417
  }, [L(t.$slots, "action", {}, () => [e.actionLabel ? (P(), D(C, { key: 0 }, [O("li", {
3418
3418
  class: "p-[0.5rem] gap-[0.5rem] text-body-large flex cursor-pointer hover:bg-on-surface/8",
@@ -3428,12 +3428,12 @@ var Qo = { class: "size-[1.5rem]" }, $o = { class: "truncate" }, es = {
3428
3428
  class: "text-[1rem]",
3429
3429
  icon: e.actionTrailingIcon
3430
3430
  }, null, 8, ["icon"])])) : E("", !0)
3431
- ], 32), l[3] ||= O("li", { class: "py-[0.5rem]" }, [O("div", { class: "bg-outline/16 w-full h-[0.0625rem]" })], -1)], 64)) : E("", !0)]), (P(!0), D(C, null, I(x.value, (t, n) => (P(), D("li", {
3431
+ ], 32), l[3] ||= O("li", { class: "py-[0.5rem]" }, [O("div", { class: "bg-outline/16 w-full h-[0.0625rem]" })], -1)], 64)) : E("", !0)]), (P(!0), D(C, null, I(b.value, (t, n) => (P(), D("li", {
3432
3432
  key: u(t, n),
3433
3433
  class: N(["p-[0.5rem] gap-[0.5rem] text-body-large flex cursor-pointer hover:bg-on-surface/8 h-[2.5rem]", { "bg-on-surface/8": ne.value === n }]),
3434
3434
  "data-cy": `${e.cyPrefix}option_${o(t)}`,
3435
3435
  "data-cy-text": `${e.cyPrefix}option_${a(t)}`,
3436
- onMousedown: (e) => te(e, t)
3436
+ onMousedown: (e) => x(e, t)
3437
3437
  }, [
3438
3438
  O("span", ns, [s(t) ? (P(), T(z(U), {
3439
3439
  key: 0,
@@ -3836,7 +3836,7 @@ var Qo = { class: "size-[1.5rem]" }, $o = { class: "truncate" }, es = {
3836
3836
  }),
3837
3837
  emits: ["update:selection"],
3838
3838
  setup(e) {
3839
- let t = ge(() => import("./TableSelectionCheckbox-Bd72Q-xQ.js")), n = F(!1), r = te(), i = Ie(), a = B(e, "selection");
3839
+ let t = ge(() => import("./TableSelectionCheckbox-Bd72Q-xQ.js")), n = F(!1), r = x(), i = Ie(), a = B(e, "selection");
3840
3840
  return (o, s) => (P(), D("div", Js, [
3841
3841
  i.cardTitle || i.cardSubtitle ? (P(), D("div", Ys, [i.cardTitle ? (P(), D("div", Xs, [L(o.$slots, "cardTitle")])) : E("", !0), i.cardSubtitle ? (P(), D("div", Zs, [L(o.$slots, "cardSubtitle")])) : E("", !0)])) : E("", !0),
3842
3842
  e.showSelection ? (P(), D("div", Qs, [k(z(t), {
@@ -3900,7 +3900,7 @@ var cc = {
3900
3900
  },
3901
3901
  emits: ["openFilterOverlay", "sort"],
3902
3902
  setup(e, { emit: t }) {
3903
- let n = te(), r = w(() => z(n.locale?.tableSortColumn) || "tableSortColumn"), i = w(() => z(n.locale?.tableFilterColumn) || "tableFilterColumn"), a = t, o = Le("labelRef"), s = F(!1);
3903
+ let n = x(), r = w(() => z(n.locale?.tableSortColumn) || "tableSortColumn"), i = w(() => z(n.locale?.tableFilterColumn) || "tableFilterColumn"), a = t, o = Le("labelRef"), s = F(!1);
3904
3904
  return wt(o, (e) => {
3905
3905
  let t = e[0];
3906
3906
  t && (t.target.clientWidth === 0 && t.target.scrollWidth === 0 || (s.value = ie(t.target)));
@@ -3932,7 +3932,7 @@ var cc = {
3932
3932
  "@max-[6.5rem]:grow @max-[6.5rem]:flex-col": e.isSortable && e.hasHeaderFilter,
3933
3933
  "@max-[4.5rem]:grow": !!e.isSortable ^ +!!e.hasHeaderFilter
3934
3934
  }])
3935
- }, [e.isSortable ? (P(), T(x, {
3935
+ }, [e.isSortable ? (P(), T(b, {
3936
3936
  key: 0,
3937
3937
  icon: e.sort ? e.sort === z(Ks).ASC ? z(Ze) : z(Xe) : z(Nt),
3938
3938
  class: N({
@@ -3949,7 +3949,7 @@ var cc = {
3949
3949
  "class",
3950
3950
  "title",
3951
3951
  "data-cy"
3952
- ])) : E("", !0), e.hasHeaderFilter ? (P(), D("div", cc, [k(x, {
3952
+ ])) : E("", !0), e.hasHeaderFilter ? (P(), D("div", cc, [k(b, {
3953
3953
  icon: z(Pt),
3954
3954
  class: N({ "@max-[6.5rem]:size-[1.5rem] @max-[6.5rem]:text-[0.875rem]": e.isSortable }),
3955
3955
  color: "standard",
@@ -4397,6 +4397,7 @@ var Nc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAA
4397
4397
  }, Bc = { class: "grow truncate @max-[3.625rem]:hidden" }, Vc = [
4398
4398
  "aria-rowindex",
4399
4399
  "data-row-index",
4400
+ "data-active-row",
4400
4401
  "onClick",
4401
4402
  "onDblclick",
4402
4403
  "onKeyup",
@@ -4467,7 +4468,7 @@ var Nc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAA
4467
4468
  let n = ge(() => import("./TableSelectionCheckbox-Bd72Q-xQ.js")), r = ge(() => import("./TableSelectionFilter-C8c6trKq.js")), i = e, a = t, o = Ie(), { headerFilterOverlayActive: s, handleOnClose: c, openFilterOverlay: l } = kc(Le("filterOverlay")), u = B(e, "sort"), d = Le("wrapper"), { handleMousedown: f, getColumnWidth: p } = Oc(() => i.fields, d, (e, t) => a("resize", {
4468
4469
  fieldName: e,
4469
4470
  width: t
4470
- })), m = B(e, "activeRow"), { handleUpAndDownMovement: h, focusActiveRow: g } = Ac(w(() => i.items.length), m), { isMobile: _, rowHeight: v } = Mc(), { groupedFields: y, hasCollapsedFields: ee } = Dc(() => i.fields), b = B(e, "selection"), { isSelectionNotEmptyOrAll: te, onRowSelect: ne, toggleSelection: re } = Ec(b, () => i.items, () => i.dataKey);
4471
+ })), m = B(e, "activeRow"), { handleUpAndDownMovement: ee, focusActiveRow: h } = Ac(w(() => i.items.length), m), { isMobile: g, rowHeight: _ } = Mc(), { groupedFields: v, hasCollapsedFields: y } = Dc(() => i.fields), te = B(e, "selection"), { isSelectionNotEmptyOrAll: x, onRowSelect: ne, toggleSelection: re } = Ec(te, () => i.items, () => i.dataKey);
4471
4472
  V([
4472
4473
  () => i.showLoadMore,
4473
4474
  Le("loadMore"),
@@ -4488,10 +4489,10 @@ var Nc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAA
4488
4489
  }), Tc(d);
4489
4490
  function ie() {
4490
4491
  xe(() => {
4491
- g();
4492
+ h();
4492
4493
  });
4493
4494
  }
4494
- return (t, i) => (P(), D("div", Pc, [z(_) ? E("", !0) : (P(), D("div", {
4495
+ return (t, i) => (P(), D("div", Pc, [z(g) ? E("", !0) : (P(), D("div", {
4495
4496
  key: 0,
4496
4497
  class: N(["flex flex-col basis-full gap-[0.25rem] sticky top-0 z-5 lg:p-[0.25rem]", {
4497
4498
  "rounded-t-[1rem] rounded-b-extra-small": e.mode === "divider-only",
@@ -4502,8 +4503,8 @@ var Nc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAA
4502
4503
  "rounded-[0.25rem]": e.mode === "divider-only",
4503
4504
  "rounded-tl-[0.75rem]": e.mode === "divider-only"
4504
4505
  }]) }, [k(z(U), {
4505
- icon: z(te) ? z(et) : z(It),
4506
- class: N(["cursor-pointer", { "text-primary": z(te) }]),
4506
+ icon: z(x) ? z(et) : z(It),
4507
+ class: N(["cursor-pointer", { "text-primary": z(x) }]),
4507
4508
  onClick: z(re)
4508
4509
  }, null, 8, [
4509
4510
  "icon",
@@ -4530,8 +4531,8 @@ var Nc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAA
4530
4531
  "show-selection"
4531
4532
  ])]),
4532
4533
  O("div", Lc, [e.showSelection ? (P(), D("div", Rc, [k(z(r), {
4533
- selection: b.value,
4534
- "onUpdate:selection": i[1] ||= (e) => b.value = e,
4534
+ selection: te.value,
4535
+ "onUpdate:selection": i[1] ||= (e) => te.value = e,
4535
4536
  "data-key": e.dataKey,
4536
4537
  items: e.items
4537
4538
  }, null, 8, [
@@ -4550,7 +4551,7 @@ var Nc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAA
4550
4551
  (P(), T(fe, { to: "body" }, [z(s) ? (P(), D("div", zc, [O("div", {
4551
4552
  class: "after:absolute after:left-0 after:-bottom-[0.5rem] after:w-full after:h-[1rem] after:z-20 z-15 after:bg-surface-container-high absolute left-[anchor(left)] top-[anchor(top)] w-[anchor-size(width)] h-[anchor-size(height)] shadow-1 bg-surface-container-high rounded-t text-title-medium flex items-center gap-[0.625rem] py-[0.25rem] pr-[0.5rem] pl-[0.75rem] @container justify-center",
4552
4553
  style: Se({ "position-anchor": `--header-cell-${z(s)}` })
4553
- }, [O("span", Bc, R(e.fields.find((e) => e.name === z(s))?.header), 1), k(x, {
4554
+ }, [O("span", Bc, R(e.fields.find((e) => e.name === z(s))?.header), 1), k(b, {
4554
4555
  class: "shrink-0",
4555
4556
  color: "tonal",
4556
4557
  icon: z(tt),
@@ -4571,23 +4572,24 @@ var Nc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAA
4571
4572
  }]),
4572
4573
  style: Se({ "--fallback-feature-bg": `url('${z(Nc)}')` }),
4573
4574
  items: e.items,
4574
- "item-size": z(v),
4575
+ "item-size": z(_),
4575
4576
  "key-field": e.dataKey,
4576
4577
  "page-mode": "",
4577
4578
  "flow-mode": "",
4578
4579
  "emit-update": "",
4579
4580
  "item-class": "static top-auto left-auto will-change-auto",
4580
4581
  "list-class": ["flex flex-col gap-[0.75rem] lg:block", { "h-full": (!e.items || e.items.length < 1) && !e.isLoading }],
4581
- onKeydown: i[5] ||= (e) => z(h)(e),
4582
+ onKeydown: i[5] ||= (e) => z(ee)(e),
4582
4583
  onVisible: ie
4583
4584
  }, me({
4584
4585
  default: H(({ item: r, index: s }) => [O("div", {
4585
- class: N(["lg:h-[calc(2.5rem+0.0625rem)] lg:after:h-[0.0625rem] lg:after:w-[calc(100%-2rem)] lg:after:bg-outline/12 lg:after:mx-[1rem] lg:after:absolute lg:after:bottom-0 relative flex flex-col lg:gap-[0.25rem] lg:flex-row max-lg:bg-surface hover:bg-(--row-hover-color,var(--row-default-hover-color)) hover:after:content-none focus:bg-(--row-focus-color,var(--row-default-hover-color)) focus:after:content-none outline-hidden cursor-pointer focus:before focus:before:lg:absolute focus:before:lg:left-[-0.125rem] focus:before:lg:w-[0.125rem] focus:before:lg:h-[2.5rem] focus:before:lg:bg-primary", [{ "bg-secondary-container after:content-none [--row-default-hover-color:#C3D4EE]": Array.isArray(b.value) && b.value.includes(r[e.dataKey]) }, e.getRowClass ? e.getRowClass(r) : null]]),
4586
+ class: N(["lg:h-[calc(2.5rem+0.0625rem)] lg:after:h-[0.0625rem] lg:after:w-[calc(100%-2rem)] lg:after:bg-outline/12 lg:after:mx-[1rem] lg:after:absolute lg:after:bottom-0 relative flex flex-col lg:gap-[0.25rem] lg:flex-row max-lg:bg-surface hover:bg-(--row-hover-color,var(--row-default-hover-color)) hover:after:content-none focus:bg-(--row-focus-color,var(--row-default-hover-color)) data-active-row:bg-(--row-focus-color,var(--row-default-hover-color)) focus:after:content-none data-active-row:after:content-none outline-hidden cursor-pointer focus:before focus:before:lg:absolute focus:before:lg:left-[-0.125rem] focus:before:lg:w-[0.125rem] focus:before:lg:h-[2.5rem] focus:before:lg:bg-primary data-active-row:before data-active-row:before:lg:absolute data-active-row:before:lg:left-[-0.125rem] data-active-row:before:lg:w-[0.125rem] data-active-row:before:lg:h-[2.5rem] data-active-row:before:lg:bg-primary", [{ "bg-secondary-container after:content-none [--row-default-hover-color:#C3D4EE]": Array.isArray(te.value) && te.value.includes(r[e.dataKey]) }, e.getRowClass ? e.getRowClass(r) : null]]),
4586
4587
  style: Se(e.getRowStyle ? e.getRowStyle(r) : null),
4587
4588
  tabindex: "-1",
4588
4589
  role: "row",
4589
4590
  "aria-rowindex": s,
4590
4591
  "data-row-index": s,
4592
+ "data-active-row": s === m.value || void 0,
4591
4593
  onClick: (e) => a("rowClick", {
4592
4594
  originalEvent: e,
4593
4595
  data: r,
@@ -4609,16 +4611,16 @@ var Nc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAA
4609
4611
  data: r,
4610
4612
  index: s
4611
4613
  })
4612
- }, [z(_) ? (P(), T(ic, {
4614
+ }, [z(g) ? (P(), T(ic, {
4613
4615
  key: 0,
4614
4616
  id: r[e.dataKey],
4615
- selection: b.value,
4616
- "onUpdate:selection": i[2] ||= (e) => b.value = e,
4617
- "show-collapse-button": z(ee),
4617
+ selection: te.value,
4618
+ "onUpdate:selection": i[2] ||= (e) => te.value = e,
4619
+ "show-collapse-button": z(y),
4618
4620
  "show-selection": e.showSelection
4619
4621
  }, me({
4620
4622
  list: H(({ showCollapsed: n }) => [Ve(k(bc, null, {
4621
- default: H(() => [(P(!0), D(C, null, I(z(y).list, (n, i) => (P(), T(wc, {
4623
+ default: H(() => [(P(!0), D(C, null, I(z(v).list, (n, i) => (P(), T(wc, {
4622
4624
  key: `table-cell-${r[e.dataKey]}-${n.name}`,
4623
4625
  label: n.header
4624
4626
  }, {
@@ -4652,7 +4654,7 @@ var Nc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAA
4652
4654
  } : void 0,
4653
4655
  o.feature ? {
4654
4656
  name: "feature",
4655
- fn: H(() => [(P(!0), D(C, null, I(z(y).features, (n, i) => L(t.$slots, "feature", {
4657
+ fn: H(() => [(P(!0), D(C, null, I(z(v).features, (n, i) => L(t.$slots, "feature", {
4656
4658
  key: `table-feature-${r[e.dataKey]}-${n.name}`,
4657
4659
  field: n.name,
4658
4660
  rowIndex: s,
@@ -4663,7 +4665,7 @@ var Nc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAA
4663
4665
  } : void 0,
4664
4666
  o.cardMajor ? {
4665
4667
  name: "major",
4666
- fn: H(() => [(P(!0), D(C, null, I(z(y).majors, (n, i) => L(t.$slots, "cardMajor", {
4668
+ fn: H(() => [(P(!0), D(C, null, I(z(v).majors, (n, i) => L(t.$slots, "cardMajor", {
4667
4669
  key: `table-major-${r[e.dataKey]}-${n.name}`,
4668
4670
  field: n.name,
4669
4671
  rowIndex: s,
@@ -4686,8 +4688,8 @@ var Nc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAA
4686
4688
  "show-collapse-button",
4687
4689
  "show-selection"
4688
4690
  ])) : (P(), D(C, { key: 1 }, [e.showSelection ? (P(), D("div", Hc, [O("div", Uc, [k(z(n), {
4689
- modelValue: b.value,
4690
- "onUpdate:modelValue": i[3] ||= (e) => b.value = e,
4691
+ modelValue: te.value,
4692
+ "onUpdate:modelValue": i[3] ||= (e) => te.value = e,
4691
4693
  value: r[e.dataKey]
4692
4694
  }, null, 8, ["modelValue", "value"])])])) : E("", !0), k(_c, {
4693
4695
  "data-key": e.dataKey,
@@ -7720,22 +7722,22 @@ var Dm, Om = /* @__PURE__ */ new Map(), $ = class e {
7720
7722
  let i = J.fromObject(n), a = Vd(t, Sm), { minDaysInFirstWeek: o, startOfWeek: s } = ld(a, i), c = Y.now(), l = X(n.specificOffset) ? r.offset(c) : n.specificOffset, u = !X(a.ordinal), d = !X(a.year), f = !X(a.month) || !X(a.day), p = d || f, m = a.weekYear || a.weekNumber;
7721
7723
  if ((p || u) && m) throw new wl("Can't mix weekYear/weekNumber units with year/month/day or ordinals");
7722
7724
  if (f && u) throw new wl("Can't mix ordinal dates with month/day");
7723
- let h = m || a.weekday && !p, g, _, v = cm(c, l);
7724
- h ? (g = ym, _ = gm, v = ad(v, o, s)) : u ? (g = bm, _ = _m, v = sd(v)) : (g = vm, _ = hm);
7725
- let y = !1;
7726
- for (let e of g) {
7725
+ let ee = m || a.weekday && !p, h, g, _ = cm(c, l);
7726
+ ee ? (h = ym, g = gm, _ = ad(_, o, s)) : u ? (h = bm, g = _m, _ = sd(_)) : (h = vm, g = hm);
7727
+ let v = !1;
7728
+ for (let e of h) {
7727
7729
  let t = a[e];
7728
- X(t) ? y ? a[e] = _[e] : a[e] = v[e] : y = !0;
7730
+ X(t) ? v ? a[e] = g[e] : a[e] = _[e] : v = !0;
7729
7731
  }
7730
- let ee = (h ? ud(a, o, s) : u ? dd(a) : fd(a)) || pd(a);
7731
- if (ee) return e.invalid(ee);
7732
- let [b, x] = lm(h ? od(a, o, s) : u ? cd(a) : a, l, r), te = new e({
7733
- ts: b,
7732
+ let y = (ee ? ud(a, o, s) : u ? dd(a) : fd(a)) || pd(a);
7733
+ if (y) return e.invalid(y);
7734
+ let [te, b] = lm(ee ? od(a, o, s) : u ? cd(a) : a, l, r), x = new e({
7735
+ ts: te,
7734
7736
  zone: r,
7735
- o: x,
7737
+ o: b,
7736
7738
  loc: i
7737
7739
  });
7738
- return a.weekday && p && t.weekday !== te.weekday ? e.invalid("mismatched weekday", `you can't specify both a weekday of ${a.weekday} and a date of ${te.toISO()}`) : te.isValid ? te : e.invalid(te.invalid);
7740
+ return a.weekday && p && t.weekday !== x.weekday ? e.invalid("mismatched weekday", `you can't specify both a weekday of ${a.weekday} and a date of ${x.toISO()}`) : x.isValid ? x : e.invalid(x.invalid);
7739
7741
  }
7740
7742
  static fromISO(e, t = {}) {
7741
7743
  let [n, r] = np(e);
@@ -8277,7 +8279,7 @@ var Am = { class: "text-body-large" }, jm = {
8277
8279
  setup(e, { emit: t }) {
8278
8280
  let n = t;
8279
8281
  return (t, r) => (P(), D("div", { class: N(["flex items-center", { "opacity-38": e.disabled }]) }, [
8280
- e.showArrows ? (P(), T(x, {
8282
+ e.showArrows ? (P(), T(b, {
8281
8283
  key: 0,
8282
8284
  color: "standard",
8283
8285
  size: "48x48",
@@ -8288,7 +8290,7 @@ var Am = { class: "text-body-large" }, jm = {
8288
8290
  class: "flex gap-[0.5rem] items-center rounded-full h-[2.5rem] pr-[0.25rem] pl-[0.5rem] text-on-surface-variant hover:bg-on-surface-variant/8 cursor-pointer",
8289
8291
  onClick: r[1] ||= (e) => n("open")
8290
8292
  }, [O("span", Am, R(e.label), 1), e.showDropdown ? (P(), D("div", jm, [k(z(U), { icon: z(Ge) }, null, 8, ["icon"])])) : E("", !0)]),
8291
- e.showArrows ? (P(), T(x, {
8293
+ e.showArrows ? (P(), T(b, {
8292
8294
  key: 1,
8293
8295
  color: "standard",
8294
8296
  size: "48x48",
@@ -8345,47 +8347,47 @@ var Am = { class: "text-body-large" }, jm = {
8345
8347
  }),
8346
8348
  emits: ["update:modelValue"],
8347
8349
  setup(e) {
8348
- let t = Pe(), n = B(e, "modelValue"), r = $.now().startOf("day"), i = w(() => $.fromISO(n.value)), a = F(i.value.isValid ? i.value.startOf("month") : $.now().startOf("month")), o = F("calendar");
8349
- function s(e) {
8350
- a.value = a.value.set({ month: e }), o.value = "calendar";
8351
- }
8350
+ let t = Pe(), n = B(e, "modelValue"), r = $.now().startOf("day"), i = w(() => $.fromISO(n.value)), a = F(!1), o = F(i.value.isValid ? i.value.startOf("month") : $.now().startOf("month")), s = F("calendar");
8352
8351
  function c(e) {
8353
- a.value = a.value.set({ year: e }), o.value = "calendar";
8352
+ o.value = o.value.set({ month: e }), s.value = "calendar";
8354
8353
  }
8355
- let l = w(() => ({
8356
- month: a.value.month,
8357
- year: a.value.year,
8358
- interval: Dp.fromDateTimes(a.value.startOf("month").startOf("week"), a.value.endOf("month").endOf("week"))
8354
+ function l(e) {
8355
+ o.value = o.value.set({ year: e }), s.value = "calendar";
8356
+ }
8357
+ let u = w(() => ({
8358
+ month: o.value.month,
8359
+ year: o.value.year,
8360
+ interval: Dp.fromDateTimes(o.value.startOf("month").startOf("week"), o.value.endOf("month").endOf("week"))
8359
8361
  }));
8360
- function* u(e) {
8362
+ function* d(e) {
8361
8363
  if (!e.start || !e.end) return;
8362
8364
  let t = e.start.startOf("day");
8363
8365
  for (; t < e.end;) yield t, t = t.plus({ days: 1 });
8364
8366
  }
8365
- let d = w(() => {
8367
+ let f = w(() => {
8366
8368
  let e = /* @__PURE__ */ new Map();
8367
- for (let t of u(l.value.interval)) {
8369
+ for (let t of d(u.value.interval)) {
8368
8370
  let n = e.getOrInsert(t.weekNumber, []);
8369
8371
  n[t.weekday - 1] = t;
8370
8372
  }
8371
8373
  return [...e.values()];
8372
- }), f = Op.months("short"), p = w(() => {
8374
+ }), p = Op.months("short"), m = w(() => {
8373
8375
  let e = [];
8374
8376
  for (let t = Km; t < qm; t++) e.push(t);
8375
8377
  return e;
8376
- }), m = w(() => o.value === "month" ? Op.months().map((e, t) => ({
8378
+ }), ee = w(() => s.value === "month" ? Op.months().map((e, t) => ({
8377
8379
  label: e,
8378
8380
  value: t + 1
8379
- })) : p.value.map((e) => ({
8381
+ })) : m.value.map((e) => ({
8380
8382
  label: `${e}`,
8381
8383
  value: e
8382
8384
  }))), h = w({
8383
8385
  get() {
8384
- return o.value === "month" ? l.value.month : l.value.year;
8386
+ return s.value === "month" ? u.value.month : u.value.year;
8385
8387
  },
8386
8388
  set(e) {
8387
- if (o.value === "month") return s(e);
8388
- c(e);
8389
+ if (s.value === "month") return c(e);
8390
+ l(e);
8389
8391
  }
8390
8392
  }), g = Le("pickerDialog"), _ = !1;
8391
8393
  function v() {
@@ -8400,11 +8402,11 @@ var Am = { class: "text-body-large" }, jm = {
8400
8402
  _ = !1;
8401
8403
  });
8402
8404
  }
8403
- function ee() {
8405
+ function te() {
8404
8406
  g.value?.open && y();
8405
8407
  }
8406
8408
  bt(document, "keydown", (e) => {
8407
- e.key === "Escape" && ee();
8409
+ e.key === "Escape" && te();
8408
8410
  });
8409
8411
  function b() {
8410
8412
  g.value?.open && y();
@@ -8413,12 +8415,28 @@ var Am = { class: "text-body-large" }, jm = {
8413
8415
  ut(x, () => {
8414
8416
  g.value?.open && y();
8415
8417
  });
8416
- function te(e) {
8417
- n.value = e.toISO() || "", y();
8418
+ function ne(e) {
8419
+ e && e.isValid && (n.value = e?.toISO() || ""), a.value = !(!e || e.isValid);
8418
8420
  }
8419
- let ne = w(() => i.value.isValid ? i.value.toLocaleString() : "");
8420
- function re(e) {
8421
- let t = e.hasSame(r, "day"), n = e.hasSame(i.value, "day"), a = e.month === l.value.month;
8421
+ function re() {
8422
+ n.value = "";
8423
+ }
8424
+ function ie(e) {
8425
+ ne(e), y();
8426
+ }
8427
+ let ae = F("");
8428
+ V(ae, (e) => {
8429
+ if (typeof e == "string" && e.length < 1) {
8430
+ ne(), re();
8431
+ return;
8432
+ }
8433
+ let t = $.fromFormat(e, "D");
8434
+ t.isValid || (t = $.fromFormat(e, "d.L.yyyy")), ne(t);
8435
+ }), V(i, (e) => {
8436
+ ae.value = e.isValid ? e.toLocaleString() : "";
8437
+ }, { immediate: !0 });
8438
+ function S(e) {
8439
+ let t = e.hasSame(r, "day"), n = e.hasSame(i.value, "day"), a = e.month === u.value.month;
8422
8440
  return {
8423
8441
  "text-primary border border-primary hover:bg-primary/8": t && !n,
8424
8442
  "bg-primary text-on-primary hover:bg-[color-mix(in_oklab,var(--color-primary),rgba(from_var(--color-on-primary)_r_g_b/8%))]": n,
@@ -8430,63 +8448,66 @@ var Am = { class: "text-body-large" }, jm = {
8430
8448
  ref: x,
8431
8449
  class: "relative"
8432
8450
  }, [k(Ia, M({
8451
+ modelValue: ae.value,
8452
+ "onUpdate:modelValue": r[0] ||= (e) => ae.value = e,
8433
8453
  color: e.color,
8434
8454
  label: e.label,
8435
- "model-value": ne.value,
8436
- "trailing-icon": z(Dt)
8455
+ "trailing-icon": z(Dt),
8456
+ invalid: a.value
8437
8457
  }, z(t), { onFocus: v }), null, 16, [
8458
+ "modelValue",
8438
8459
  "color",
8439
8460
  "label",
8440
- "model-value",
8441
- "trailing-icon"
8461
+ "trailing-icon",
8462
+ "invalid"
8442
8463
  ]), O("dialog", {
8443
8464
  ref: "pickerDialog",
8444
8465
  class: "select-none absolute top-full left-0 bg-surface-container-high rounded-extra-large z-5 w-[22.5rem] min-h-[22.75rem]",
8445
8466
  onClose: b
8446
- }, [o.value === "calendar" ? (P(), D("div", Rm, [O("div", zm, [k(Mm, {
8447
- label: z(f)[l.value.month - 1] ?? "??",
8448
- onMoveLeft: r[0] ||= (e) => s(l.value.month - 1),
8449
- onMoveRight: r[1] ||= (e) => s(l.value.month + 1),
8450
- onOpen: r[2] ||= (e) => o.value = "month"
8467
+ }, [s.value === "calendar" ? (P(), D("div", Rm, [O("div", zm, [k(Mm, {
8468
+ label: z(p)[u.value.month - 1] ?? "??",
8469
+ onMoveLeft: r[1] ||= (e) => c(u.value.month - 1),
8470
+ onMoveRight: r[2] ||= (e) => c(u.value.month + 1),
8471
+ onOpen: r[3] ||= (e) => s.value = "month"
8451
8472
  }, null, 8, ["label"]), k(Mm, {
8452
- label: `${l.value.year}`,
8453
- onMoveLeft: r[3] ||= (e) => c(l.value.year - 1),
8454
- onMoveRight: r[4] ||= (e) => c(l.value.year + 1),
8455
- onOpen: r[5] ||= (e) => o.value = "year"
8473
+ label: `${u.value.year}`,
8474
+ onMoveLeft: r[4] ||= (e) => l(u.value.year - 1),
8475
+ onMoveRight: r[5] ||= (e) => l(u.value.year + 1),
8476
+ onOpen: r[6] ||= (e) => s.value = "year"
8456
8477
  }, null, 8, ["label"])]), O("div", Bm, [O("div", Vm, [(P(!0), D(C, null, I(z(Op).weekdays("short"), (e) => (P(), D("div", {
8457
8478
  key: e,
8458
8479
  class: "p-[0.25rem] size-[3rem]"
8459
- }, [O("div", Hm, R(e), 1)]))), 128)), (P(!0), D(C, null, I(d.value, (e, t) => (P(), D(C, { key: t }, [(P(!0), D(C, null, I(e, (e) => (P(), D("div", {
8480
+ }, [O("div", Hm, R(e), 1)]))), 128)), (P(!0), D(C, null, I(f.value, (e, t) => (P(), D(C, { key: t }, [(P(!0), D(C, null, I(e, (e) => (P(), D("div", {
8460
8481
  key: `${t}-${e.day}`,
8461
- class: N(["p-[0.25rem] size-[3rem] cursor-pointer", { "opacity-38 hover:opacity-100": e.month !== l.value.month }])
8482
+ class: N(["p-[0.25rem] size-[3rem] cursor-pointer", { "opacity-38 hover:opacity-100": e.month !== u.value.month }])
8462
8483
  }, [O("div", {
8463
- class: N(["size-[2.5rem] inline-flex justify-center items-center rounded-full", re(e)]),
8464
- onClick: (t) => te(e)
8465
- }, R(e.day), 11, Um)], 2))), 128))], 64))), 128))])])])) : o.value === "month" || o.value === "year" ? (P(), D("div", Wm, [O("div", Gm, [k(Mm, {
8466
- label: z(f)[l.value.month - 1] ?? "??",
8484
+ class: N(["size-[2.5rem] inline-flex justify-center items-center rounded-full", S(e)]),
8485
+ onClick: (t) => ie(e)
8486
+ }, R(e.day), 11, Um)], 2))), 128))], 64))), 128))])])])) : s.value === "month" || s.value === "year" ? (P(), D("div", Wm, [O("div", Gm, [k(Mm, {
8487
+ label: z(p)[u.value.month - 1] ?? "??",
8467
8488
  "show-arrows": !1,
8468
- "show-dropdown": o.value === "month",
8469
- disabled: o.value === "year",
8470
- onOpen: r[6] ||= (e) => o.value = "calendar"
8489
+ "show-dropdown": s.value === "month",
8490
+ disabled: s.value === "year",
8491
+ onOpen: r[7] ||= (e) => s.value = "calendar"
8471
8492
  }, null, 8, [
8472
8493
  "label",
8473
8494
  "show-dropdown",
8474
8495
  "disabled"
8475
8496
  ]), k(Mm, {
8476
- label: `${l.value.year}`,
8497
+ label: `${u.value.year}`,
8477
8498
  "show-arrows": !1,
8478
- "show-dropdown": o.value === "year",
8479
- disabled: o.value === "month",
8480
- onOpen: r[7] ||= (e) => o.value = "calendar"
8499
+ "show-dropdown": s.value === "year",
8500
+ disabled: s.value === "month",
8501
+ onOpen: r[8] ||= (e) => s.value = "calendar"
8481
8502
  }, null, 8, [
8482
8503
  "label",
8483
8504
  "show-dropdown",
8484
8505
  "disabled"
8485
8506
  ])]), k(Lm, {
8486
8507
  modelValue: h.value,
8487
- "onUpdate:modelValue": r[8] ||= (e) => h.value = e,
8488
- list: m.value,
8489
- "big-row": o.value === "month"
8508
+ "onUpdate:modelValue": r[9] ||= (e) => h.value = e,
8509
+ list: ee.value,
8510
+ "big-row": s.value === "month"
8490
8511
  }, null, 8, [
8491
8512
  "modelValue",
8492
8513
  "list",
@@ -8495,4 +8516,4 @@ var Am = { class: "text-body-large" }, jm = {
8495
8516
  }
8496
8517
  });
8497
8518
  //#endregion
8498
- export { u as ACBSPlugin, f as OverflowTooltip, f as Tooltip, ri as UIBadge, zs as UIBrandLogo, Gt as UIButton, de as UICheckbox, _o as UIContextPanel, yi as UICopy, Jm as UIDatePicker, re as UIDivider, as as UIDropdown, Bs as UIFab, va as UIFilterChip, x as UIIconButton, ys as UIInfoStrip, Cs as UIInfoStripSecondaryBox, ha as UIInputChip, $c as UILabelSubValue, Yc as UILabelSubValueList, wc as UILabelValue, bc as UILabelValueList, Ao as UILanguagePicker, no as UIList, to as UIListItem, ae as UIMenu, Gr as UINavbar, ks as UIPersonList, pa as UIRadioButton, Ba as UIRichTooltip, fl as UISearchBar, Gs as UISegmentedButton, yl as UISlider, qa as UISnackbar, Xo as UISwitch, il as UITabButtons, qc as UITable, wi as UITabs, $r as UITag, La as UITextArea, Ia as UITextField, fa as UIToggleButton, bo as UIToolbar, ni as t, jc as useACBSBreakpoints, te as useACBSConfig };
8519
+ export { u as ACBSPlugin, f as OverflowTooltip, f as Tooltip, ri as UIBadge, zs as UIBrandLogo, Gt as UIButton, de as UICheckbox, _o as UIContextPanel, yi as UICopy, Jm as UIDatePicker, re as UIDivider, as as UIDropdown, Bs as UIFab, va as UIFilterChip, b as UIIconButton, ys as UIInfoStrip, Cs as UIInfoStripSecondaryBox, ha as UIInputChip, $c as UILabelSubValue, Yc as UILabelSubValueList, wc as UILabelValue, bc as UILabelValueList, Ao as UILanguagePicker, no as UIList, to as UIListItem, ae as UIMenu, Gr as UINavbar, ks as UIPersonList, pa as UIRadioButton, Ba as UIRichTooltip, fl as UISearchBar, Gs as UISegmentedButton, yl as UISlider, qa as UISnackbar, Xo as UISwitch, il as UITabButtons, qc as UITable, wi as UITabs, $r as UITag, La as UITextArea, Ia as UITextField, fa as UIToggleButton, bo as UIToolbar, ni as t, jc as useACBSBreakpoints, x as useACBSConfig };