@orient-ai/aurora-ui 1.0.0-alpha.15 → 1.0.0-alpha.16

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/index.js CHANGED
@@ -12819,10 +12819,9 @@ function Sh({ icon: e, heading: t, actions: n = [], moreActions: r, border: i, o
12819
12819
  })]
12820
12820
  });
12821
12821
  }
12822
- var Ch = { root: "_root_1nhq1_1" };
12823
12822
  //#endregion
12824
12823
  //#region src/components/Page/components/Page/Page.tsx
12825
- function wh({ fullwidth: e, children: t, ...n }) {
12824
+ function Ch({ fullwidth: e, children: t, ...n }) {
12826
12825
  let r = h(null), i = h(null), [a, o] = g(!1);
12827
12826
  p(() => {
12828
12827
  let e = r.current?.parentElement ?? null;
@@ -12832,17 +12831,17 @@ function wh({ fullwidth: e, children: t, ...n }) {
12832
12831
  let { scrollY: s } = le({ container: i });
12833
12832
  return ce(s, "change", (e) => o(e > 0)), /* @__PURE__ */ x("div", {
12834
12833
  ref: r,
12835
- className: Ch.root,
12834
+ className: "flex min-h-full min-w-0 flex-col bg-(--p-color-bg-surface)",
12836
12835
  children: [/* @__PURE__ */ b(Sh, {
12837
12836
  ...n,
12838
12837
  border: a
12839
12838
  }), /* @__PURE__ */ b("div", {
12840
- className: v("w-full", !e && "max-w-6xl mx-auto"),
12839
+ className: v("flex w-full min-w-0 flex-1 flex-col", !e && "max-w-6xl mx-auto"),
12841
12840
  children: t
12842
12841
  })]
12843
12842
  });
12844
12843
  }
12845
- var Th = {
12844
+ var wh = {
12846
12845
  viewport: "_viewport_18aai_1",
12847
12846
  base: "_base_18aai_7",
12848
12847
  surface: "_surface_18aai_24",
@@ -12852,14 +12851,14 @@ var Th = {
12852
12851
  };
12853
12852
  //#endregion
12854
12853
  //#region src/components/Page/components/Surface/Surface.tsx
12855
- function Eh({ pageId: e, depth: t, offset: n, index: r, children: i }) {
12854
+ function Th({ pageId: e, depth: t, offset: n, index: r, children: i }) {
12856
12855
  let a = h(null), o = M(), s = se(), c = t === 0 && s;
12857
12856
  return u(() => {
12858
12857
  c && a.current?.focus({ preventScroll: !0 });
12859
12858
  }, [c]), /* @__PURE__ */ b(j.div, {
12860
12859
  role: "dialog",
12861
12860
  tabIndex: -1,
12862
- className: Th.surface,
12861
+ className: wh.surface,
12863
12862
  "data-page-stack-page": e,
12864
12863
  "data-page-stack-top": c ? "" : void 0,
12865
12864
  "data-covered": !c || void 0,
@@ -12884,7 +12883,7 @@ function Eh({ pageId: e, depth: t, offset: n, index: r, children: i }) {
12884
12883
  },
12885
12884
  children: /* @__PURE__ */ b("div", {
12886
12885
  ref: a,
12887
- className: Th.scrollable,
12886
+ className: wh.scrollable,
12888
12887
  tabIndex: -1,
12889
12888
  children: i
12890
12889
  })
@@ -12892,7 +12891,7 @@ function Eh({ pageId: e, depth: t, offset: n, index: r, children: i }) {
12892
12891
  }
12893
12892
  //#endregion
12894
12893
  //#region src/components/Page/utils.ts
12895
- function Dh(e) {
12894
+ function Eh(e) {
12896
12895
  let t = e.getBoundingClientRect(), n = window.visualViewport, r = Math.max(t.top, n?.offsetTop ?? 0), i = Math.max(t.left, n?.offsetLeft ?? 0), a = Math.min(t.right, (n?.offsetLeft ?? 0) + (n?.width ?? window.innerWidth)), o = (n?.offsetTop ?? 0) + (n?.height ?? window.innerHeight);
12897
12896
  for (let t = e.parentElement; t; t = t.parentElement) {
12898
12897
  if (t === document.body || t === document.documentElement) continue;
@@ -12916,11 +12915,11 @@ function Dh(e) {
12916
12915
  }
12917
12916
  //#endregion
12918
12917
  //#region src/components/Page/context.tsx
12919
- var Oh = a(null);
12920
- function kh() {
12921
- return l(Oh);
12918
+ var Dh = a(null);
12919
+ function Oh() {
12920
+ return l(Dh);
12922
12921
  }
12923
- function Ah({ children: e }) {
12922
+ function kh({ children: e }) {
12924
12923
  let [t, n] = g([]), r = h(t), i = h(null), a = h(null), o = M(), s = t.length > 0, l = c((e, t) => {
12925
12924
  r.current.some((t) => t.id === e) || (r.current = [...r.current, {
12926
12925
  id: e,
@@ -12936,7 +12935,7 @@ function Ah({ children: e }) {
12936
12935
  let e = a.current, t = i.current;
12937
12936
  if (!s || !e || !t) return;
12938
12937
  let n, r = () => {
12939
- for (let [n, r] of Object.entries(Dh(e))) t.style.setProperty(n, `${r}px`);
12938
+ for (let [n, r] of Object.entries(Eh(e))) t.style.setProperty(n, `${r}px`);
12940
12939
  }, o = () => {
12941
12940
  n === void 0 && (n = requestAnimationFrame(() => {
12942
12941
  n = void 0, r();
@@ -12951,16 +12950,16 @@ function Ah({ children: e }) {
12951
12950
  if (!s || !e) return;
12952
12951
  let t = (t) => {
12953
12952
  if (t.key !== "Escape" || t.defaultPrevented || t.repeat || t.isComposing) return;
12954
- let n = e.querySelector("[data-page-stack-top]"), r = t.target;
12955
- n && r instanceof Element && r.closest("[role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], [role=\"listbox\"]") === n && !r.closest("[data-popup-open]") && (t.preventDefault(), t.stopPropagation(), d());
12953
+ let n = e.querySelector("[data-page-stack-top]"), r = t.target, i = e.ownerDocument, a = (r === i.body || r === i.documentElement) && i.querySelectorAll("[data-page-stack-top]").length === 1;
12954
+ n && r instanceof Element && (a || r.closest("[role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], [role=\"listbox\"]") === n) && !r.closest("[data-popup-open]") && (t.preventDefault(), t.stopPropagation(), d());
12956
12955
  }, n = (e) => {
12957
12956
  let t = e.target;
12958
12957
  t instanceof Element && !t.closest("[data-page-stack-top]") && e.preventDefault();
12959
12958
  };
12960
- return window.addEventListener("keydown", t, !0), e.addEventListener("wheel", n, { passive: !1 }), e.addEventListener("touchmove", n, { passive: !1 }), () => {
12961
- window.removeEventListener("keydown", t, !0), e.removeEventListener("wheel", n), e.removeEventListener("touchmove", n);
12959
+ return window.addEventListener("keydown", t), e.addEventListener("wheel", n, { passive: !1 }), e.addEventListener("touchmove", n, { passive: !1 }), () => {
12960
+ window.removeEventListener("keydown", t), e.removeEventListener("wheel", n), e.removeEventListener("touchmove", n);
12962
12961
  };
12963
- }, [s, d]), /* @__PURE__ */ b(Oh.Provider, {
12962
+ }, [s, d]), /* @__PURE__ */ b(Dh.Provider, {
12964
12963
  value: {
12965
12964
  pages: t,
12966
12965
  portalRef: i,
@@ -12969,10 +12968,10 @@ function Ah({ children: e }) {
12969
12968
  },
12970
12969
  children: /* @__PURE__ */ x("div", {
12971
12970
  ref: a,
12972
- className: Th.viewport,
12971
+ className: wh.viewport,
12973
12972
  "data-page-viewport": "",
12974
12973
  children: [/* @__PURE__ */ b(j.div, {
12975
- className: Th.base,
12974
+ className: wh.base,
12976
12975
  "data-covered": s || void 0,
12977
12976
  "data-hidden": t.length > 2 || void 0,
12978
12977
  inert: s,
@@ -12986,12 +12985,12 @@ function Ah({ children: e }) {
12986
12985
  children: e
12987
12986
  }), /* @__PURE__ */ b("div", {
12988
12987
  ref: i,
12989
- className: `aurora-base ${Th.layer}`,
12988
+ className: `aurora-base ${wh.layer}`,
12990
12989
  style: { pointerEvents: s ? "auto" : "none" },
12991
12990
  "aria-hidden": !s || void 0,
12992
12991
  "data-page-stack-viewport": "",
12993
12992
  children: /* @__PURE__ */ b(j.div, {
12994
- className: Th.backdrop,
12993
+ className: wh.backdrop,
12995
12994
  "data-page-stack-backdrop": "",
12996
12995
  initial: !1,
12997
12996
  animate: { opacity: +!!s },
@@ -13001,8 +13000,8 @@ function Ah({ children: e }) {
13001
13000
  })
13002
13001
  });
13003
13002
  }
13004
- function jh({ onPageClose: e } = {}) {
13005
- let t = kh(), n = f(), r = h(e);
13003
+ function Ah({ onPageClose: e } = {}) {
13004
+ let t = Oh(), n = f(), r = h(e);
13006
13005
  return p(() => {
13007
13006
  r.current = e;
13008
13007
  }), m(() => t ? {
@@ -13013,13 +13012,13 @@ function jh({ onPageClose: e } = {}) {
13013
13012
  t.close(n);
13014
13013
  },
13015
13014
  Content({ children: e }) {
13016
- let t = kh(), r = t?.portalRef.current, i = t?.pages.findIndex((e) => e.id === n) ?? -1, a = (t?.pages.length ?? 0) - i - 1;
13015
+ let t = Oh(), r = t?.portalRef.current, i = t?.pages.findIndex((e) => e.id === n) ?? -1, a = (t?.pages.length ?? 0) - i - 1;
13017
13016
  return /* @__PURE__ */ b(oe, {
13018
13017
  propagate: !0,
13019
13018
  children: t && r && i >= 0 && /* @__PURE__ */ b(de.Root, {
13020
13019
  container: r,
13021
13020
  style: { borderRadius: "inherit" },
13022
- children: /* @__PURE__ */ b(Eh, {
13021
+ children: /* @__PURE__ */ b(Th, {
13023
13022
  pageId: n,
13024
13023
  depth: a,
13025
13024
  offset: (Math.min(t.pages.length, 2) - Math.min(a, 2)) * 12,
@@ -13037,13 +13036,13 @@ function jh({ onPageClose: e } = {}) {
13037
13036
  }
13038
13037
  //#endregion
13039
13038
  //#region src/components/Page/Page.tsx
13040
- function Mh(e) {
13041
- return kh() ? /* @__PURE__ */ b(wh, { ...e }) : /* @__PURE__ */ b(Ah, { children: /* @__PURE__ */ b(wh, { ...e }) });
13039
+ function jh(e) {
13040
+ return Oh() ? /* @__PURE__ */ b(Ch, { ...e }) : /* @__PURE__ */ b(kh, { children: /* @__PURE__ */ b(Ch, { ...e }) });
13042
13041
  }
13043
13042
  //#endregion
13044
13043
  //#region src/components/Filters/components/Trigger/Trigger.tsx
13045
- var Nh = "inline-flex min-w-0 items-center py-[var(--p-space-050)]", Ph = "group-data-disabled/filter-trigger:bg-(--p-color-bg-surface-disabled)";
13046
- function Fh({ label: e, segments: t = [], open: n, disabled: r = !1, onClear: i, renderTrigger: a, ref: o, className: s, onKeyDown: c, ...l }) {
13044
+ var Mh = "inline-flex min-w-0 items-center py-[var(--p-space-050)]", Nh = "group-data-disabled/filter-trigger:bg-(--p-color-bg-surface-disabled)";
13045
+ function Ph({ label: e, segments: t = [], open: n, disabled: r = !1, onClear: i, renderTrigger: a, ref: o, className: s, onKeyDown: c, ...l }) {
13047
13046
  let u = h(null), d = t.filter((e) => e.values.length > 0), f = d.length > 0;
13048
13047
  function p(e) {
13049
13048
  e.preventDefault(), e.stopPropagation(), !r && (i?.(), u.current?.focus());
@@ -13061,7 +13060,7 @@ function Fh({ label: e, segments: t = [], open: n, disabled: r = !1, onClear: i,
13061
13060
  "data-disabled": r || void 0,
13062
13061
  className: v("aurora-base", "aurora-button", "group/filter-trigger inline-flex min-h-[var(--p-height-700)] min-w-0 max-w-full items-stretch gap-[var(--p-space-050)] rounded-full align-middle text-[length:var(--p-font-size-300)]", "focus-visible:focus-ring", "data-disabled:text-(--p-color-text-disabled) data-disabled:[--s-icon-color:currentColor]", s),
13063
13062
  children: /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("span", {
13064
- className: v(Nh, "rounded-full px-(--p-space-200)", "bg-(--p-color-bg-surface-secondary) group-[:not([data-disabled]):hover]/filter-trigger:bg-(--p-color-bg-surface-secondary-hover)", "group-data-selected/filter-trigger:rounded-e-(--p-border-radius-tag-seam)", Ph),
13063
+ className: v(Mh, "rounded-full px-(--p-space-200)", "bg-(--p-color-bg-surface-secondary) group-[:not([data-disabled]):hover]/filter-trigger:bg-(--p-color-bg-surface-secondary-hover)", "group-data-selected/filter-trigger:rounded-e-(--p-border-radius-tag-seam)", Nh),
13065
13064
  children: [/* @__PURE__ */ b("span", {
13066
13065
  className: "truncate",
13067
13066
  children: e
@@ -13070,7 +13069,7 @@ function Fh({ label: e, segments: t = [], open: n, disabled: r = !1, onClear: i,
13070
13069
  size: "small"
13071
13070
  })]
13072
13071
  }), f && /* @__PURE__ */ x("span", {
13073
- className: v(Nh, "flex-1 rounded-s-(--p-border-radius-tag-seam) rounded-e-full ps-(--p-space-200) pe-(--p-space-100)", "bg-(--p-color-bg-surface-info)", "group-[:not([data-disabled]):hover]/filter-trigger:bg-(--p-color-bg-surface-info-hover)", "group-[:not([data-disabled]):active]/filter-trigger:bg-(--p-color-bg-surface-info-active)", Ph),
13072
+ className: v(Mh, "flex-1 rounded-s-(--p-border-radius-tag-seam) rounded-e-full ps-(--p-space-200) pe-(--p-space-100)", "bg-(--p-color-bg-surface-info)", "group-[:not([data-disabled]):hover]/filter-trigger:bg-(--p-color-bg-surface-info-hover)", "group-[:not([data-disabled]):active]/filter-trigger:bg-(--p-color-bg-surface-info-active)", Nh),
13074
13073
  children: [/* @__PURE__ */ b("span", {
13075
13074
  className: "truncate text-(--p-color-text-highlight)",
13076
13075
  children: d.map((e, t) => /* @__PURE__ */ x("span", {
@@ -13091,15 +13090,15 @@ function Fh({ label: e, segments: t = [], open: n, disabled: r = !1, onClear: i,
13091
13090
  }
13092
13091
  });
13093
13092
  }
13094
- var Ih = { pageContent: "_pageContent_w08ff_1" };
13093
+ var Fh = { pageContent: "_pageContent_w08ff_1" };
13095
13094
  //#endregion
13096
13095
  //#region src/components/Filters/components/Filter/Filter.tsx
13097
- function Lh({ open: e, onOpenChange: t, children: n, disabled: r = !1, ...i }) {
13096
+ function Ih({ open: e, onOpenChange: t, children: n, disabled: r = !1, ...i }) {
13098
13097
  let a = h(null), o = bm();
13099
13098
  function s(e) {
13100
13099
  r && e || t?.(e);
13101
13100
  }
13102
- let c = jh({ onPageClose: () => {
13101
+ let c = Ah({ onPageClose: () => {
13103
13102
  o && e && s(!1);
13104
13103
  } });
13105
13104
  return p(() => {
@@ -13108,24 +13107,24 @@ function Lh({ open: e, onOpenChange: t, children: n, disabled: r = !1, ...i }) {
13108
13107
  o,
13109
13108
  e,
13110
13109
  c
13111
- ]), o && c ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Fh, {
13110
+ ]), o && c ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Ph, {
13112
13111
  ...i,
13113
13112
  ref: a,
13114
13113
  open: e,
13115
13114
  disabled: r,
13116
13115
  onClick: () => s(!e)
13117
- }), /* @__PURE__ */ b(c.Content, { children: /* @__PURE__ */ b(Mh, {
13116
+ }), /* @__PURE__ */ b(c.Content, { children: /* @__PURE__ */ b(jh, {
13118
13117
  heading: i.label,
13119
13118
  fullwidth: !0,
13120
13119
  onBack: c.close,
13121
13120
  children: /* @__PURE__ */ b("div", {
13122
- className: Ih.pageContent,
13121
+ className: Fh.pageContent,
13123
13122
  children: n
13124
13123
  })
13125
13124
  }) })] }) : /* @__PURE__ */ x(Wm, {
13126
13125
  open: e,
13127
13126
  onOpenChange: s,
13128
- children: [/* @__PURE__ */ b(Fh, {
13127
+ children: [/* @__PURE__ */ b(Ph, {
13129
13128
  ...i,
13130
13129
  ref: a,
13131
13130
  open: e,
@@ -13138,22 +13137,22 @@ function Lh({ open: e, onOpenChange: t, children: n, disabled: r = !1, ...i }) {
13138
13137
  })]
13139
13138
  });
13140
13139
  }
13141
- var Rh = {
13140
+ var Lh = {
13142
13141
  panel: "_panel_vnd2i_1",
13143
13142
  "calendar-panel": "_calendar-panel_vnd2i_12",
13144
13143
  "range-panel": "_range-panel_vnd2i_16"
13145
13144
  };
13146
13145
  //#endregion
13147
13146
  //#region src/components/Filters/Date/components/Panel/Panel.tsx
13148
- function zh({ children: e, direction: t, type: n }) {
13147
+ function Rh({ children: e, direction: t, type: n }) {
13149
13148
  let r = h(null), i = se(), a = M(), o = a ? 0 : 12;
13150
13149
  return p(() => {
13151
13150
  r.current?.closest("[role=\"dialog\"]")?.focus({ preventScroll: !0 });
13152
13151
  }, [i]), /* @__PURE__ */ b(j.div, {
13153
13152
  ref: r,
13154
- className: v(Rh.panel, {
13155
- [Rh["calendar-panel"]]: n,
13156
- [Rh["range-panel"]]: n === "range"
13153
+ className: v(Lh.panel, {
13154
+ [Lh["calendar-panel"]]: n,
13155
+ [Lh["range-panel"]]: n === "range"
13157
13156
  }),
13158
13157
  inert: !i,
13159
13158
  custom: t,
@@ -13185,7 +13184,7 @@ function zh({ children: e, direction: t, type: n }) {
13185
13184
  children: e
13186
13185
  });
13187
13186
  }
13188
- var Bh = {
13187
+ var zh = {
13189
13188
  content: "_content_1g02u_1",
13190
13189
  options: "_options_1g02u_5",
13191
13190
  header: "_header_1g02u_11",
@@ -13193,7 +13192,7 @@ var Bh = {
13193
13192
  };
13194
13193
  //#endregion
13195
13194
  //#region src/components/Filters/Date/utilities.ts
13196
- function Vh(e, t = /* @__PURE__ */ new Date()) {
13195
+ function Bh(e, t = /* @__PURE__ */ new Date()) {
13197
13196
  let n = re(t), r = k(n, "uuuu-MM-dd");
13198
13197
  switch (e) {
13199
13198
  case "today": return [r];
@@ -13207,29 +13206,29 @@ function Vh(e, t = /* @__PURE__ */ new Date()) {
13207
13206
  }
13208
13207
  //#endregion
13209
13208
  //#region src/components/Filters/Date/Date.tsx
13210
- function Hh({ id: e, label: n = "Date", preset: r, onPresetsChange: i, value: a, onChange: o, open: s, onOpenChange: c, disabled: l = !1 }) {
13209
+ function Vh({ id: e, label: n = "Date", preset: r, onPresetsChange: i, value: a, onChange: o, open: s, onOpenChange: c, disabled: l = !1 }) {
13211
13210
  let d = gm(), f = t(), p = m(() => {
13212
13211
  let e = /* @__PURE__ */ new Date();
13213
13212
  return [
13214
13213
  {
13215
13214
  preset: "today",
13216
13215
  label: d("Today"),
13217
- value: Vh("today", e)
13216
+ value: Bh("today", e)
13218
13217
  },
13219
13218
  {
13220
13219
  preset: "3days",
13221
13220
  label: d("Last 3 Days"),
13222
- value: Vh("3days", e)
13221
+ value: Bh("3days", e)
13223
13222
  },
13224
13223
  {
13225
13224
  preset: "7days",
13226
13225
  label: d("Last 7 Days"),
13227
- value: Vh("7days", e)
13226
+ value: Bh("7days", e)
13228
13227
  },
13229
13228
  {
13230
13229
  preset: "month",
13231
13230
  label: d("Last Month"),
13232
- value: Vh("month", e)
13231
+ value: Bh("month", e)
13233
13232
  }
13234
13233
  ];
13235
13234
  }, [d]), h = p.find((e) => e.preset === r), _ = !a.length || h ? null : a.length === 1 ? "single" : "range", [v, S] = g(_);
@@ -13246,7 +13245,7 @@ function Hh({ id: e, label: n = "Date", preset: r, onPresetsChange: i, value: a,
13246
13245
  function O(e, t) {
13247
13246
  i?.(t), o?.(e, t), c?.(!1);
13248
13247
  }
13249
- return /* @__PURE__ */ b(Lh, {
13248
+ return /* @__PURE__ */ b(Ih, {
13250
13249
  id: e,
13251
13250
  label: n,
13252
13251
  segments: D,
@@ -13255,16 +13254,16 @@ function Hh({ id: e, label: n = "Date", preset: r, onPresetsChange: i, value: a,
13255
13254
  disabled: l,
13256
13255
  onClear: () => O([]),
13257
13256
  children: /* @__PURE__ */ b("div", {
13258
- className: Bh.content,
13257
+ className: zh.content,
13259
13258
  children: /* @__PURE__ */ b(oe, {
13260
13259
  initial: !1,
13261
13260
  mode: "wait",
13262
13261
  custom: C,
13263
- children: /* @__PURE__ */ b(zh, {
13262
+ children: /* @__PURE__ */ b(Rh, {
13264
13263
  direction: C,
13265
13264
  type: v,
13266
13265
  children: v ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
13267
- className: Bh.header,
13266
+ className: zh.header,
13268
13267
  children: /* @__PURE__ */ b(B, {
13269
13268
  icon: "arrow-left",
13270
13269
  variant: "tertiary",
@@ -13276,7 +13275,7 @@ function Hh({ id: e, label: n = "Date", preset: r, onPresetsChange: i, value: a,
13276
13275
  children: d("Back")
13277
13276
  })
13278
13277
  }), /* @__PURE__ */ b("div", {
13279
- className: Bh.calendar,
13278
+ className: zh.calendar,
13280
13279
  children: /* @__PURE__ */ b(zm, {
13281
13280
  type: v,
13282
13281
  visibleMonths: v === "range" ? "2" : "1",
@@ -13286,7 +13285,7 @@ function Hh({ id: e, label: n = "Date", preset: r, onPresetsChange: i, value: a,
13286
13285
  }
13287
13286
  }, v)
13288
13287
  })] }) : /* @__PURE__ */ x("div", {
13289
- className: Bh.options,
13288
+ className: zh.options,
13290
13289
  children: [
13291
13290
  p.map((e) => /* @__PURE__ */ b(Um, {
13292
13291
  selectable: !0,
@@ -13311,7 +13310,7 @@ function Hh({ id: e, label: n = "Date", preset: r, onPresetsChange: i, value: a,
13311
13310
  })
13312
13311
  });
13313
13312
  }
13314
- var Uh = {
13313
+ var Hh = {
13315
13314
  content: "_content_1kios_1",
13316
13315
  search: "_search_1kios_17",
13317
13316
  scroll: "_scroll_1kios_24",
@@ -13325,7 +13324,7 @@ var Uh = {
13325
13324
  };
13326
13325
  //#endregion
13327
13326
  //#region src/components/Filters/Select/Select.tsx
13328
- function Wh({ id: e, label: t, selectedOptions: n, options: r, value: i, onChange: a, inputValue: o, onInputChange: s, open: c, onOpenChange: l, searchPlaceholder: d = "Search options", emptyState: f = "No results found", loading: p = !1, hasMore: m = !1, loadMore: h, isLoadingMore: _ = !1, disabled: y = !1 }) {
13327
+ function Uh({ id: e, label: t, selectedOptions: n, options: r, value: i, onChange: a, inputValue: o, onInputChange: s, open: c, onOpenChange: l, searchPlaceholder: d = "Search options", emptyState: f = "No results found", loading: p = !1, hasMore: m = !1, loadMore: h, isLoadingMore: _ = !1, disabled: y = !1 }) {
13329
13328
  let [S, C] = g(null);
13330
13329
  return u(() => {
13331
13330
  if (!c || p || _ || !m || !h || !S) return;
@@ -13341,7 +13340,7 @@ function Wh({ id: e, label: t, selectedOptions: n, options: r, value: i, onChang
13341
13340
  h,
13342
13341
  S,
13343
13342
  r.length
13344
- ]), /* @__PURE__ */ b(Lh, {
13343
+ ]), /* @__PURE__ */ b(Ih, {
13345
13344
  id: e,
13346
13345
  label: t,
13347
13346
  segments: [{ values: n.map((e) => e.text) }],
@@ -13350,9 +13349,9 @@ function Wh({ id: e, label: t, selectedOptions: n, options: r, value: i, onChang
13350
13349
  disabled: y,
13351
13350
  onClear: () => a?.([]),
13352
13351
  children: /* @__PURE__ */ x("div", {
13353
- className: Uh.content,
13352
+ className: Hh.content,
13354
13353
  children: [/* @__PURE__ */ b("div", {
13355
- className: Uh.search,
13354
+ className: Hh.search,
13356
13355
  children: /* @__PURE__ */ b(nh, {
13357
13356
  value: o,
13358
13357
  onChange: (e) => s?.(e.currentTarget.value),
@@ -13360,41 +13359,41 @@ function Wh({ id: e, label: t, selectedOptions: n, options: r, value: i, onChang
13360
13359
  prefix: /* @__PURE__ */ b(z, { type: "search" })
13361
13360
  })
13362
13361
  }), /* @__PURE__ */ x("div", {
13363
- className: Uh.scroll,
13362
+ className: Hh.scroll,
13364
13363
  children: [r.length > 0 ? /* @__PURE__ */ b("div", {
13365
- className: Uh.options,
13364
+ className: Hh.options,
13366
13365
  children: r.map((e) => {
13367
13366
  let t = i.includes(e.value);
13368
13367
  return /* @__PURE__ */ x("button", {
13369
13368
  type: "button",
13370
13369
  disabled: p || e.disabled,
13371
13370
  "data-selected": t || void 0,
13372
- className: v("aurora-base", "aurora-button", Uh.option),
13371
+ className: v("aurora-base", "aurora-button", Hh.option),
13373
13372
  onClick: () => a?.(t ? i.filter((t) => t !== e.value) : [...i, e.value]),
13374
13373
  children: [/* @__PURE__ */ b("span", {
13375
- className: Uh.checkbox,
13374
+ className: Hh.checkbox,
13376
13375
  inert: !0,
13377
13376
  children: /* @__PURE__ */ b($m, {
13378
13377
  checked: t,
13379
13378
  disabled: p || e.disabled
13380
13379
  })
13381
13380
  }), /* @__PURE__ */ b("span", {
13382
- className: Uh["option-label"],
13381
+ className: Hh["option-label"],
13383
13382
  children: e.label
13384
13383
  })]
13385
13384
  }, e.value);
13386
13385
  })
13387
13386
  }) : p ? /* @__PURE__ */ b("div", {
13388
- className: Uh.loading,
13387
+ className: Hh.loading,
13389
13388
  children: /* @__PURE__ */ b(R, {})
13390
13389
  }) : _ ? null : /* @__PURE__ */ b("div", {
13391
- className: Uh.empty,
13390
+ className: Hh.empty,
13392
13391
  children: f
13393
13392
  }), (m || _) && /* @__PURE__ */ b("div", {
13394
13393
  ref: C,
13395
- className: Uh.loadMore,
13394
+ className: Hh.loadMore,
13396
13395
  children: _ && /* @__PURE__ */ b("div", {
13397
- className: Uh.loading,
13396
+ className: Hh.loading,
13398
13397
  role: "status",
13399
13398
  children: /* @__PURE__ */ b(R, {})
13400
13399
  })
@@ -13403,35 +13402,35 @@ function Wh({ id: e, label: t, selectedOptions: n, options: r, value: i, onChang
13403
13402
  })
13404
13403
  });
13405
13404
  }
13406
- var Gh = {
13405
+ var Wh = {
13407
13406
  root: "_root_5ekpf_1",
13408
13407
  toolbar: "_toolbar_5ekpf_8",
13409
13408
  saveAction: "_saveAction_5ekpf_43",
13410
13409
  saveButton: "_saveButton_5ekpf_53"
13411
- }, Kh = {
13410
+ }, Gh = {
13412
13411
  panel: "_panel_rq47c_1",
13413
13412
  filters: "_filters_rq47c_12"
13414
13413
  };
13415
13414
  //#endregion
13416
13415
  //#region src/components/Toolbar/components/Filter/Filter.tsx
13417
- function qh({ filters: e, filtersLayout: t = "wrap", showFilter: r = !1 }) {
13416
+ function Kh({ filters: e, filtersLayout: t = "wrap", showFilter: r = !1 }) {
13418
13417
  let i = n.toArray(e);
13419
13418
  return /* @__PURE__ */ b(pe.Root, {
13420
13419
  open: r && i.length > 0,
13421
13420
  children: /* @__PURE__ */ b(pe.Panel, {
13422
- className: Kh.panel,
13421
+ className: Gh.panel,
13423
13422
  children: /* @__PURE__ */ b("div", {
13424
- className: Kh.filters,
13423
+ className: Gh.filters,
13425
13424
  "data-layout": t,
13426
13425
  children: i
13427
13426
  })
13428
13427
  })
13429
13428
  });
13430
13429
  }
13431
- var Jh = { form: "_form_1jnhx_1" };
13430
+ var qh = { form: "_form_1jnhx_1" };
13432
13431
  //#endregion
13433
13432
  //#region src/components/Toolbar/components/SaveView/SaveView.tsx
13434
- function Yh({ selectedView: e, onViewUpdate: t, onViewCreate: n }) {
13433
+ function Jh({ selectedView: e, onViewUpdate: t, onViewCreate: n }) {
13435
13434
  let r = gm(), i = f(), a = `${i}-name`, [o, s] = g(!1), [c, l] = g("");
13436
13435
  return /* @__PURE__ */ x(lh, {
13437
13436
  open: o,
@@ -13470,7 +13469,7 @@ function Yh({ selectedView: e, onViewUpdate: t, onViewCreate: n }) {
13470
13469
  }),
13471
13470
  children: /* @__PURE__ */ x("form", {
13472
13471
  id: i,
13473
- className: Jh.form,
13472
+ className: qh.form,
13474
13473
  onSubmit: (e) => {
13475
13474
  e.preventDefault();
13476
13475
  let t = c.trim();
@@ -13490,7 +13489,7 @@ function Yh({ selectedView: e, onViewUpdate: t, onViewCreate: n }) {
13490
13489
  })]
13491
13490
  });
13492
13491
  }
13493
- var Xh = {
13492
+ var Yh = {
13494
13493
  column: "_column_71gsx_1",
13495
13494
  columnLabel: "_columnLabel_71gsx_15",
13496
13495
  dragHandle: "_dragHandle_71gsx_27",
@@ -13498,7 +13497,7 @@ var Xh = {
13498
13497
  };
13499
13498
  //#endregion
13500
13499
  //#region src/components/Toolbar/components/ColumnButton/ColumnButton.tsx
13501
- function Zh({ column: e, hidden: t, index: n, onVisibilityChange: r }) {
13500
+ function Xh({ column: e, hidden: t, index: n, onVisibilityChange: r }) {
13502
13501
  let i = M(), { ref: a, handleRef: o, isDragSource: s } = ge({
13503
13502
  id: e.id,
13504
13503
  index: n,
@@ -13506,30 +13505,30 @@ function Zh({ column: e, hidden: t, index: n, onVisibilityChange: r }) {
13506
13505
  });
13507
13506
  return /* @__PURE__ */ x("li", {
13508
13507
  ref: a,
13509
- className: v("aurora-base", Xh.column),
13508
+ className: v("aurora-base", Yh.column),
13510
13509
  "data-hidden": t || void 0,
13511
13510
  "data-dragging": s || void 0,
13512
13511
  children: [
13513
13512
  /* @__PURE__ */ b("button", {
13514
13513
  ref: o,
13515
13514
  type: "button",
13516
- className: v("aurora-base", "aurora-button", Xh.dragHandle),
13515
+ className: v("aurora-base", "aurora-button", Yh.dragHandle),
13517
13516
  children: /* @__PURE__ */ b(z, { type: "drag-handle" })
13518
13517
  }),
13519
13518
  /* @__PURE__ */ b("span", {
13520
- className: Xh.columnLabel,
13519
+ className: Yh.columnLabel,
13521
13520
  children: e.label
13522
13521
  }),
13523
13522
  /* @__PURE__ */ b("button", {
13524
13523
  type: "button",
13525
- className: v("aurora-base", "aurora-button", Xh.visibility),
13524
+ className: v("aurora-base", "aurora-button", Yh.visibility),
13526
13525
  onClick: r,
13527
13526
  children: /* @__PURE__ */ b(z, { type: t ? "hide" : "view" })
13528
13527
  })
13529
13528
  ]
13530
13529
  });
13531
13530
  }
13532
- var Qh = {
13531
+ var Zh = {
13533
13532
  sortRow: "_sortRow_7saxt_1",
13534
13533
  sortLabel: "_sortLabel_7saxt_11",
13535
13534
  heading: "_heading_7saxt_28",
@@ -13537,7 +13536,7 @@ var Qh = {
13537
13536
  };
13538
13537
  //#endregion
13539
13538
  //#region src/components/Toolbar/components/SortAndColumns/SortAndColumns.tsx
13540
- function $h({ sorts: e = [], sortState: t, onSortStateChange: n, columns: r = [], columnsState: i = [], onColumnsStateChange: a }) {
13539
+ function Qh({ sorts: e = [], sortState: t, onSortStateChange: n, columns: r = [], columnsState: i = [], onColumnsStateChange: a }) {
13541
13540
  let o = gm(), [s, c] = g(!1), l = new Map(r.map((e) => [e.id, e])), u = a ? i.flatMap((e) => {
13542
13541
  let t = l.get(e.id);
13543
13542
  return t && !t.fixed ? [{
@@ -13559,9 +13558,9 @@ function $h({ sorts: e = [], sortState: t, onSortStateChange: n, columns: r = []
13559
13558
  inlineSize: "276px",
13560
13559
  maxBlockSize: "480px",
13561
13560
  header: d ? /* @__PURE__ */ x("div", {
13562
- className: Qh.sortRow,
13561
+ className: Zh.sortRow,
13563
13562
  children: [/* @__PURE__ */ x("span", {
13564
- className: Qh.sortLabel,
13563
+ className: Zh.sortLabel,
13565
13564
  children: [/* @__PURE__ */ b(z, { type: "sort" }), o("Sort by")]
13566
13565
  }), /* @__PURE__ */ b(gh, {
13567
13566
  label: f?.label ?? o("Select field"),
@@ -13599,7 +13598,7 @@ function $h({ sorts: e = [], sortState: t, onSortStateChange: n, columns: r = []
13599
13598
  })]
13600
13599
  }) : void 0,
13601
13600
  children: u.length > 0 && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("p", {
13602
- className: Qh.heading,
13601
+ className: Zh.heading,
13603
13602
  children: o("Columns")
13604
13603
  }), /* @__PURE__ */ b(me, {
13605
13604
  onDragEnd: (e) => {
@@ -13615,8 +13614,8 @@ function $h({ sorts: e = [], sortState: t, onSortStateChange: n, columns: r = []
13615
13614
  }));
13616
13615
  },
13617
13616
  children: /* @__PURE__ */ b("ul", {
13618
- className: Qh.columns,
13619
- children: u.map(({ definition: e, state: t }, n) => /* @__PURE__ */ b(Zh, {
13617
+ className: Zh.columns,
13618
+ children: u.map(({ definition: e, state: t }, n) => /* @__PURE__ */ b(Xh, {
13620
13619
  column: e,
13621
13620
  hidden: t.hidden,
13622
13621
  index: n,
@@ -13632,7 +13631,7 @@ function $h({ sorts: e = [], sortState: t, onSortStateChange: n, columns: r = []
13632
13631
  }
13633
13632
  //#endregion
13634
13633
  //#region src/components/Toolbar/Toolbar.tsx
13635
- function eg({ searchPlacerholder: e, filters: t = [], filtersLayout: r = "wrap", ref: i, style: a, search: o, onSearchChange: s, sorts: c, sortState: l, onSortStateChange: u, columns: d, columnsState: f, onColumnsStateChange: p, views: m = [], isViewDirty: h = !1, selectedView: g, onViewChange: _, onViewUpdate: y, onViewCreate: S, onViewReset: C, showFilter: w = !1, onShowFilterChange: T }) {
13634
+ function $h({ searchPlacerholder: e, filters: t = [], filtersLayout: r = "wrap", ref: i, style: a, search: o, onSearchChange: s, sorts: c, sortState: l, onSortStateChange: u, columns: d, columnsState: f, onColumnsStateChange: p, views: m = [], isViewDirty: h = !1, selectedView: g, onViewChange: _, onViewUpdate: y, onViewCreate: S, onViewReset: C, showFilter: w = !1, onShowFilterChange: T }) {
13636
13635
  let E = gm(), D = M(), O = {
13637
13636
  duration: D ? 0 : .2,
13638
13637
  ease: [
@@ -13644,10 +13643,10 @@ function eg({ searchPlacerholder: e, filters: t = [], filtersLayout: r = "wrap",
13644
13643
  }, k = m.find((e) => e.id === g), ee = !!(k && h && C), te = !!((h || !k) && (S || k && y)), ne = n.toArray(t).length > 0;
13645
13644
  return /* @__PURE__ */ x("div", {
13646
13645
  ref: i,
13647
- className: v("aurora-base", Gh.root),
13646
+ className: v("aurora-base", Wh.root),
13648
13647
  style: a,
13649
13648
  children: [/* @__PURE__ */ x("div", {
13650
- className: Gh.toolbar,
13649
+ className: Wh.toolbar,
13651
13650
  "data-has-view": m.length > 0 || void 0,
13652
13651
  children: [
13653
13652
  m.length > 0 && /* @__PURE__ */ b(gh, {
@@ -13672,7 +13671,7 @@ function eg({ searchPlacerholder: e, filters: t = [], filtersLayout: r = "wrap",
13672
13671
  direction: "inline",
13673
13672
  gap: "small-500",
13674
13673
  children: [
13675
- /* @__PURE__ */ b($h, {
13674
+ /* @__PURE__ */ b(Qh, {
13676
13675
  sorts: c,
13677
13676
  sortState: l,
13678
13677
  onSortStateChange: u,
@@ -13689,13 +13688,13 @@ function eg({ searchPlacerholder: e, filters: t = [], filtersLayout: r = "wrap",
13689
13688
  /* @__PURE__ */ b(oe, {
13690
13689
  initial: !1,
13691
13690
  children: (te || ee) && /* @__PURE__ */ b(j.div, {
13692
- className: Gh.saveAction,
13691
+ className: Wh.saveAction,
13693
13692
  initial: { width: 0 },
13694
13693
  animate: { width: "auto" },
13695
13694
  exit: { width: 0 },
13696
13695
  transition: O,
13697
13696
  children: /* @__PURE__ */ x(j.div, {
13698
- className: Gh.saveButton,
13697
+ className: Wh.saveButton,
13699
13698
  initial: {
13700
13699
  x: D ? 0 : 16,
13701
13700
  opacity: 0
@@ -13715,7 +13714,7 @@ function eg({ searchPlacerholder: e, filters: t = [], filtersLayout: r = "wrap",
13715
13714
  icon: "clock-revert",
13716
13715
  title: E("Reset view"),
13717
13716
  onClick: C
13718
- }), te && /* @__PURE__ */ b(Yh, {
13717
+ }), te && /* @__PURE__ */ b(Jh, {
13719
13718
  selectedView: k?.id,
13720
13719
  onViewUpdate: y,
13721
13720
  onViewCreate: S
@@ -13726,31 +13725,31 @@ function eg({ searchPlacerholder: e, filters: t = [], filtersLayout: r = "wrap",
13726
13725
  ]
13727
13726
  })
13728
13727
  ]
13729
- }), /* @__PURE__ */ b(qh, {
13728
+ }), /* @__PURE__ */ b(Kh, {
13730
13729
  filters: t,
13731
13730
  filtersLayout: r,
13732
13731
  showFilter: w
13733
13732
  })]
13734
13733
  });
13735
13734
  }
13736
- var tg = {
13735
+ var eg = {
13737
13736
  bulkBar: "_bulkBar_yakmu_1",
13738
13737
  actions: "_actions_yakmu_22",
13739
13738
  visuallyHidden: "_visuallyHidden_yakmu_37"
13740
13739
  };
13741
13740
  //#endregion
13742
13741
  //#region src/components/Collection/DataTable/componnets/BulkActions/BulkActions.tsx
13743
- function ng(e) {
13742
+ function tg(e) {
13744
13743
  return () => {
13745
13744
  if (e.onAction?.(), !e.url) return;
13746
13745
  let t = e.target ?? (e.external ? "_blank" : "_self");
13747
13746
  t === "_self" ? window.location.assign(e.url) : window.open(e.url, t, "noopener,noreferrer");
13748
13747
  };
13749
13748
  }
13750
- function rg({ checkbox: e, checkboxOffset: t = 0, count: n, disabled: r = !1, onClear: i, promotedActions: a = [], actions: o = [] }) {
13749
+ function ng({ checkbox: e, checkboxOffset: t = 0, count: n, disabled: r = !1, onClear: i, promotedActions: a = [], actions: o = [] }) {
13751
13750
  let s = gm();
13752
13751
  return /* @__PURE__ */ x("div", {
13753
- className: v("aurora-base", tg.bulkBar),
13752
+ className: v("aurora-base", eg.bulkBar),
13754
13753
  role: "toolbar",
13755
13754
  "aria-label": s("Bulk actions"),
13756
13755
  style: { paddingInlineStart: t },
@@ -13766,7 +13765,7 @@ function rg({ checkbox: e, checkboxOffset: t = 0, count: n, disabled: r = !1, on
13766
13765
  }]
13767
13766
  }),
13768
13767
  (a.length > 0 || o.length > 0) && /* @__PURE__ */ x("div", {
13769
- className: tg.actions,
13768
+ className: eg.actions,
13770
13769
  "data-has-overflow": o.length > 0 || void 0,
13771
13770
  children: [a.map((e, t) => /* @__PURE__ */ b(B, {
13772
13771
  variant: "tertiary",
@@ -13774,13 +13773,13 @@ function rg({ checkbox: e, checkboxOffset: t = 0, count: n, disabled: r = !1, on
13774
13773
  disabled: r || e.disabled,
13775
13774
  loading: e.loading,
13776
13775
  icon: e.icon,
13777
- onClick: ng(e),
13776
+ onClick: tg(e),
13778
13777
  onMouseEnter: e.onMouseEnter,
13779
13778
  onTouchStart: e.onTouchStart,
13780
13779
  children: e.content
13781
13780
  }, e.id ?? t)), o.length > 0 && /* @__PURE__ */ b(gh, {
13782
13781
  label: /* @__PURE__ */ b("span", {
13783
- className: tg.visuallyHidden,
13782
+ className: eg.visuallyHidden,
13784
13783
  children: s("More actions")
13785
13784
  }),
13786
13785
  icon: "menu-horizontal",
@@ -13788,7 +13787,7 @@ function rg({ checkbox: e, checkboxOffset: t = 0, count: n, disabled: r = !1, on
13788
13787
  disabled: r,
13789
13788
  actions: o.map((e) => ({
13790
13789
  ...e,
13791
- onAction: ng(e)
13790
+ onAction: tg(e)
13792
13791
  }))
13793
13792
  })]
13794
13793
  })
@@ -13796,29 +13795,30 @@ function rg({ checkbox: e, checkboxOffset: t = 0, count: n, disabled: r = !1, on
13796
13795
  });
13797
13796
  }
13798
13797
  var J = {
13799
- Table: "_Table_17w21_1",
13800
- StickyHeader: "_StickyHeader_17w21_9",
13801
- Root: "_Root_17w21_16",
13802
- BulkCell: "_BulkCell_17w21_43",
13803
- PinnedCell: "_PinnedCell_17w21_51",
13804
- SelectionCell: "_SelectionCell_17w21_51",
13805
- ExpansionCell: "_ExpansionCell_17w21_51",
13806
- ExpandButton: "_ExpandButton_17w21_74",
13807
- ExpandIcon: "_ExpandIcon_17w21_87",
13808
- ExpandedCell: "_ExpandedCell_17w21_119",
13809
- ExpandedViewport: "_ExpandedViewport_17w21_124",
13810
- ExpandedContent: "_ExpandedContent_17w21_128",
13811
- HeaderViewport: "_HeaderViewport_17w21_168",
13812
- FooterViewport: "_FooterViewport_17w21_169",
13813
- Empty: "_Empty_17w21_186",
13814
- BodyFrame: "_BodyFrame_17w21_193",
13815
- LoadingOverlay: "_LoadingOverlay_17w21_199",
13816
- BodyViewport: "_BodyViewport_17w21_208",
13817
- BottomBar: "_BottomBar_17w21_216"
13798
+ Table: "_Table_1snky_1",
13799
+ StickyHeader: "_StickyHeader_1snky_9",
13800
+ Root: "_Root_1snky_16",
13801
+ BulkCell: "_BulkCell_1snky_43",
13802
+ PinnedCell: "_PinnedCell_1snky_51",
13803
+ SelectionCell: "_SelectionCell_1snky_51",
13804
+ ExpansionCell: "_ExpansionCell_1snky_51",
13805
+ ExpandButton: "_ExpandButton_1snky_74",
13806
+ ExpandIcon: "_ExpandIcon_1snky_87",
13807
+ ExpandedCell: "_ExpandedCell_1snky_119",
13808
+ ExpandedViewport: "_ExpandedViewport_1snky_124",
13809
+ ExpandedContent: "_ExpandedContent_1snky_128",
13810
+ Row: "_Row_1snky_147",
13811
+ HeaderViewport: "_HeaderViewport_1snky_168",
13812
+ FooterViewport: "_FooterViewport_1snky_169",
13813
+ Empty: "_Empty_1snky_186",
13814
+ BodyFrame: "_BodyFrame_1snky_193",
13815
+ LoadingOverlay: "_LoadingOverlay_1snky_199",
13816
+ BodyViewport: "_BodyViewport_1snky_208",
13817
+ BottomBar: "_BottomBar_1snky_217"
13818
13818
  };
13819
13819
  //#endregion
13820
13820
  //#region src/components/Collection/utils.ts
13821
- function ig(e) {
13821
+ function rg(e) {
13822
13822
  if (e && "alignment" in e) {
13823
13823
  let t = e.alignment;
13824
13824
  if (t === "center" || t === "end") return t;
@@ -13827,8 +13827,8 @@ function ig(e) {
13827
13827
  }
13828
13828
  //#endregion
13829
13829
  //#region src/components/Collection/DataTable/DataTable.tsx
13830
- var ag = 32, og = 32;
13831
- function sg({ ref: e, stickyHeader: t = !1, selectable: n = !1, renderExpandedContent: i, promotedBulkActions: a = [], bulkActions: o = [], footer: s, loading: c = !1, emptyState: l, ...u }) {
13830
+ var ig = 32, ag = 32;
13831
+ function og({ ref: e, stickyHeader: t = !1, selectable: n = !1, renderExpandedContent: i, promotedBulkActions: a = [], bulkActions: o = [], footer: s, loading: c = !1, emptyState: l, ...u }) {
13832
13832
  let d = gm(), f = M(), g = {
13833
13833
  type: "tween",
13834
13834
  duration: f ? 0 : .2,
@@ -13845,7 +13845,7 @@ function sg({ ref: e, stickyHeader: t = !1, selectable: n = !1, renderExpandedCo
13845
13845
  ...u,
13846
13846
  columns: y,
13847
13847
  defaultColumn: _
13848
- }), C = S, w = S, T = n ? w.getFilteredSelectedRowModel().flatRows.length : 0, E = n && T > 0, D = S.getRowModel().rows, O = i != null, k = O ? og : 0, ee = k + (n ? ag : 0), te = O ? `var(--p-table-expansion-width, ${k}px)` : 0, ne = { insetInlineStart: te }, re = We(C), ie = re ? [
13848
+ }), C = S, w = S, T = n ? w.getFilteredSelectedRowModel().flatRows.length : 0, E = n && T > 0, D = S.getRowModel().rows, O = i != null, k = O ? ag : 0, ee = k + (n ? ig : 0), te = O ? `var(--p-table-expansion-width, ${k}px)` : 0, ne = { insetInlineStart: te }, re = We(C), ie = re ? [
13849
13849
  Ge(C),
13850
13850
  He(C),
13851
13851
  Ue(C)
@@ -13932,7 +13932,7 @@ function sg({ ref: e, stickyHeader: t = !1, selectable: n = !1, renderExpandedCo
13932
13932
  role: "columnheader",
13933
13933
  colSpan: se,
13934
13934
  className: J.BulkCell,
13935
- children: /* @__PURE__ */ b(rg, {
13935
+ children: /* @__PURE__ */ b(ng, {
13936
13936
  checkbox: he,
13937
13937
  checkboxOffset: te,
13938
13938
  count: T,
@@ -13963,7 +13963,7 @@ function sg({ ref: e, stickyHeader: t = !1, selectable: n = !1, renderExpandedCo
13963
13963
  role: "columnheader",
13964
13964
  colSpan: e.colSpan,
13965
13965
  scope: e.column.columns.length ? "colgroup" : "col",
13966
- "data-alignment": ig(e.column.columnDef.meta),
13966
+ "data-alignment": rg(e.column.columnDef.meta),
13967
13967
  ...F(e),
13968
13968
  children: e.isPlaceholder ? null : /* @__PURE__ */ b(_e, { header: e })
13969
13969
  }, e.id))
@@ -13975,6 +13975,7 @@ function sg({ ref: e, stickyHeader: t = !1, selectable: n = !1, renderExpandedCo
13975
13975
  let t = e.getAllCellsByColumnId(), a = A.map(({ column: e }) => t[e.id]), o = O && Fe(e), s = o && Le(e);
13976
13976
  return /* @__PURE__ */ x(r, { children: [/* @__PURE__ */ x("tr", {
13977
13977
  role: "row",
13978
+ className: J.Row,
13978
13979
  "data-selected": n && Re(e) || void 0,
13979
13980
  children: [
13980
13981
  O && /* @__PURE__ */ b("td", {
@@ -14021,7 +14022,7 @@ function sg({ ref: e, stickyHeader: t = !1, selectable: n = !1, renderExpandedCo
14021
14022
  }),
14022
14023
  a.map((e) => /* @__PURE__ */ b("td", {
14023
14024
  role: "cell",
14024
- "data-alignment": ig(e.column.columnDef.meta),
14025
+ "data-alignment": rg(e.column.columnDef.meta),
14025
14026
  ...N(e.column.id),
14026
14027
  children: /* @__PURE__ */ b(_e, { cell: e })
14027
14028
  }, e.id))
@@ -14084,7 +14085,7 @@ function sg({ ref: e, stickyHeader: t = !1, selectable: n = !1, renderExpandedCo
14084
14085
  e.headers.map((e) => /* @__PURE__ */ b("td", {
14085
14086
  role: "cell",
14086
14087
  colSpan: e.colSpan,
14087
- "data-alignment": ig(e.column.columnDef.meta),
14088
+ "data-alignment": rg(e.column.columnDef.meta),
14088
14089
  ...F(e),
14089
14090
  children: e.isPlaceholder ? null : /* @__PURE__ */ b(_e, { footer: e })
14090
14091
  }, e.id))
@@ -14094,8 +14095,8 @@ function sg({ ref: e, stickyHeader: t = !1, selectable: n = !1, renderExpandedCo
14094
14095
  let t = xe != null && Object.hasOwn(xe, e.id) && xe[e.id] != null, n = e.columnDef;
14095
14096
  return t || n.size != null ? je(e) : void 0;
14096
14097
  }), Ce = Math.max(0, ...A.map(({ column: e }, t) => Se[t] == null ? e.columnDef.minSize ?? 20 : 0)), we = { minWidth: `max(100%, ${Se.reduce((e, t) => e + (t ?? Ce), ee)}px)` }, Te = /* @__PURE__ */ x("colgroup", { children: [
14097
- O && /* @__PURE__ */ b("col", { style: { width: og } }),
14098
- n && /* @__PURE__ */ b("col", { style: { width: ag } }),
14098
+ O && /* @__PURE__ */ b("col", { style: { width: ag } }),
14099
+ n && /* @__PURE__ */ b("col", { style: { width: ig } }),
14099
14100
  A.map((e, t) => /* @__PURE__ */ b("col", { style: { width: Se[t] } }, e.column.id))
14100
14101
  ] });
14101
14102
  return /* @__PURE__ */ x(P.Root, {
@@ -14118,7 +14119,7 @@ function sg({ ref: e, stickyHeader: t = !1, selectable: n = !1, renderExpandedCo
14118
14119
  children: [/* @__PURE__ */ b(P.Viewport, {
14119
14120
  ref: de,
14120
14121
  className: J.BodyViewport,
14121
- tabIndex: 0,
14122
+ tabIndex: -1,
14122
14123
  style: {
14123
14124
  overflowX: "auto",
14124
14125
  overflowY: "hidden"
@@ -14162,7 +14163,7 @@ function sg({ ref: e, stickyHeader: t = !1, selectable: n = !1, renderExpandedCo
14162
14163
  }
14163
14164
  //#endregion
14164
14165
  //#region src/components/Collection/DataReport/hooks/useColumnResizing.ts
14165
- function cg({ columns: e, onResizeStart: t, enabled: n, loading: r }) {
14166
+ function sg({ columns: e, onResizeStart: t, enabled: n, loading: r }) {
14166
14167
  let [i, a] = g(), o = n ? e.find(ke) : void 0;
14167
14168
  function s(i) {
14168
14169
  let { column: o } = i;
@@ -14186,7 +14187,7 @@ function cg({ columns: e, onResizeStart: t, enabled: n, loading: r }) {
14186
14187
  }
14187
14188
  //#endregion
14188
14189
  //#region src/components/Collection/DataReport/hooks/useColumnLayout.ts
14189
- function lg({ columns: e, viewportRef: t }) {
14190
+ function cg({ columns: e, viewportRef: t }) {
14190
14191
  let [n, r] = g(0), [i, a] = g(() => /* @__PURE__ */ new Map());
14191
14192
  p(() => {
14192
14193
  let e = t.current, n = e?.ownerDocument.defaultView;
@@ -14233,7 +14234,7 @@ function lg({ columns: e, viewportRef: t }) {
14233
14234
  }
14234
14235
  //#endregion
14235
14236
  //#region src/components/Collection/DataReport/hooks/useReportVirtualizer.ts
14236
- function ug({ contentRef: e, enabled: t, count: n, getItemKey: r }) {
14237
+ function lg({ contentRef: e, enabled: t, count: n, getItemKey: r }) {
14237
14238
  let i = e.current?.ownerDocument.defaultView, [a, o] = g(0), s = Xe({
14238
14239
  enabled: t,
14239
14240
  count: n,
@@ -14267,7 +14268,7 @@ function ug({ contentRef: e, enabled: t, count: n, getItemKey: r }) {
14267
14268
  }
14268
14269
  //#endregion
14269
14270
  //#region src/components/Collection/DataReport/hooks/useReportInfiniteLoading.ts
14270
- function dg({ triggerRef: e, hasMore: t, loading: n, isLoadingMore: r, onLoadMore: i, count: a }) {
14271
+ function ug({ triggerRef: e, hasMore: t, loading: n, isLoadingMore: r, onLoadMore: i, count: a }) {
14271
14272
  let o = d(() => i?.()), s = t && !n && !r && !!i;
14272
14273
  u(() => {
14273
14274
  let t = e.current, n = t?.ownerDocument.defaultView;
@@ -14313,7 +14314,7 @@ var Y = {
14313
14314
  };
14314
14315
  //#endregion
14315
14316
  //#region src/components/Collection/DataReport/DataReport.tsx
14316
- function fg({ virtual: e = !1, stickyHeader: n = !1, loading: i = !1, hasMore: a = !1, onLoadMore: o, isLoadingMore: s = !1, emptyState: l, footer: u, ref: d, style: f, className: g, ..._ }) {
14317
+ function dg({ virtual: e = !1, stickyHeader: n = !1, loading: i = !1, hasMore: a = !1, onLoadMore: o, isLoadingMore: s = !1, emptyState: l, footer: u, ref: d, style: f, className: g, ..._ }) {
14317
14318
  let y = gm(), S = t(), C = m(() => {
14318
14319
  let e = (t) => t.map((t) => ({
14319
14320
  minSize: void 0,
@@ -14327,7 +14328,7 @@ function fg({ virtual: e = !1, stickyHeader: n = !1, loading: i = !1, hasMore: a
14327
14328
  ..._,
14328
14329
  columns: C
14329
14330
  }), T = w, E = h(null), D = h(null), O = h(null), k = h(null), ee = m(() => [E, D], []);
14330
- dg({
14331
+ ug({
14331
14332
  triggerRef: k,
14332
14333
  hasMore: a,
14333
14334
  loading: i,
@@ -14354,7 +14355,7 @@ function fg({ virtual: e = !1, stickyHeader: n = !1, loading: i = !1, hasMore: a
14354
14355
  ] : void 0, re = w.getHeaderGroups().map((e, t) => ne ? {
14355
14356
  ...e,
14356
14357
  headers: ne.flatMap((e) => e[t]?.headers ?? [])
14357
- } : e), ie = re.at(-1)?.headers ?? [], ae = [...re].reverse().filter((e) => e.headers.some((e) => !e.isPlaceholder && e.column.columnDef.footer != null)), A = ie.map(({ column: e }) => e), { columnSizes: oe, onResizeStart: j } = lg({
14358
+ } : e), ie = re.at(-1)?.headers ?? [], ae = [...re].reverse().filter((e) => e.headers.some((e) => !e.isPlaceholder && e.column.columnDef.footer != null)), A = ie.map(({ column: e }) => e), { columnSizes: oe, onResizeStart: j } = cg({
14358
14359
  columns: A,
14359
14360
  viewportRef: D
14360
14361
  }), se = oe.reduce((e, t) => e + t, 0), ce = /* @__PURE__ */ new Map(), M = 0;
@@ -14372,12 +14373,12 @@ function fg({ virtual: e = !1, stickyHeader: n = !1, loading: i = !1, hasMore: a
14372
14373
  for (; n.subHeaders.length;) n = n.subHeaders.at(-1);
14373
14374
  return ce.get(Oe(t.column) === "end" ? n.column.id : t.column.id);
14374
14375
  }
14375
- let { resizing: ue, activeDivider: N, getResizeHandleProps: F } = cg({
14376
+ let { resizing: ue, activeDivider: N, getResizeHandleProps: F } = sg({
14376
14377
  columns: A,
14377
14378
  onResizeStart: j,
14378
14379
  enabled: !!_.features.columnResizingFeature,
14379
14380
  loading: i
14380
- }), I = w.getRowModel().rows, de = !!_.features.rowExpandingFeature, fe = c((e) => I[e].id, [I]), pe = ug({
14381
+ }), I = w.getRowModel().rows, de = !!_.features.rowExpandingFeature, fe = c((e) => I[e].id, [I]), pe = lg({
14381
14382
  contentRef: O,
14382
14383
  enabled: e,
14383
14384
  count: I.length,
@@ -14393,7 +14394,7 @@ function fg({ virtual: e = !1, stickyHeader: n = !1, loading: i = !1, hasMore: a
14393
14394
  let s = r[e.id], c = ce.get(e.id);
14394
14395
  return /* @__PURE__ */ x("div", {
14395
14396
  className: v(Y.cell, c && Y.pinned),
14396
- "data-alignment": ig(e.columnDef.meta),
14397
+ "data-alignment": rg(e.columnDef.meta),
14397
14398
  "data-resize-active": N === e.id || void 0,
14398
14399
  style: {
14399
14400
  ...t === 0 && de && _.getSubRows ? { paddingInlineStart: 12 + n.depth * 20 } : void 0,
@@ -14450,7 +14451,7 @@ function fg({ virtual: e = !1, stickyHeader: n = !1, loading: i = !1, hasMore: a
14450
14451
  ...s
14451
14452
  },
14452
14453
  "data-resize-active": N === t.id || void 0,
14453
- "data-alignment": ig(n.meta),
14454
+ "data-alignment": rg(n.meta),
14454
14455
  children: [r ? /* @__PURE__ */ b("button", {
14455
14456
  type: "button",
14456
14457
  className: Y.sortButton,
@@ -14482,7 +14483,7 @@ function fg({ virtual: e = !1, stickyHeader: n = !1, loading: i = !1, hasMore: a
14482
14483
  return /* @__PURE__ */ b("div", {
14483
14484
  className: v(Y.cell, t && Y.pinned),
14484
14485
  "data-resize-active": N === e.column.id || void 0,
14485
- "data-alignment": ig(e.column.columnDef.meta),
14486
+ "data-alignment": rg(e.column.columnDef.meta),
14486
14487
  style: {
14487
14488
  gridColumn: "span " + e.colSpan,
14488
14489
  ...t
@@ -14546,7 +14547,7 @@ function fg({ virtual: e = !1, stickyHeader: n = !1, loading: i = !1, hasMore: a
14546
14547
  ]
14547
14548
  });
14548
14549
  }
14549
- var pg = {
14550
+ var fg = {
14550
14551
  Cell: "_Cell_622ax_1",
14551
14552
  Content: "_Content_622ax_12",
14552
14553
  Value: "_Value_622ax_22",
@@ -14554,20 +14555,20 @@ var pg = {
14554
14555
  Prefix: "_Prefix_622ax_68",
14555
14556
  Suffix: "_Suffix_622ax_69",
14556
14557
  Spinner: "_Spinner_622ax_70"
14557
- }, mg = [
14558
+ }, pg = [
14558
14559
  "top",
14559
14560
  "bottom",
14560
14561
  "start",
14561
14562
  "end"
14562
14563
  ];
14563
- function hg({ selected: e = !1, readOnly: t, selectionEdges: n = mg, dirty: a = !1, busy: o, error: c, className: l, children: u, prefix: d, suffix: f, ...p }) {
14564
- let m = s(u) && u.type !== r ? i(u, { className: v(pg.Control, u.props.className) }) : /* @__PURE__ */ b("span", {
14565
- className: pg.Control,
14564
+ function mg({ selected: e = !1, readOnly: t, selectionEdges: n = pg, dirty: a = !1, busy: o, error: c, className: l, children: u, prefix: d, suffix: f, ...p }) {
14565
+ let m = s(u) && u.type !== r ? i(u, { className: v(fg.Control, u.props.className) }) : /* @__PURE__ */ b("span", {
14566
+ className: fg.Control,
14566
14567
  children: u
14567
14568
  });
14568
14569
  return /* @__PURE__ */ b("td", {
14569
14570
  ...p,
14570
- className: v("aurora-base", pg.Cell, l),
14571
+ className: v("aurora-base", fg.Cell, l),
14571
14572
  "data-grid-cell": "",
14572
14573
  "data-selected": e || void 0,
14573
14574
  "data-readonly": t || void 0,
@@ -14576,22 +14577,22 @@ function hg({ selected: e = !1, readOnly: t, selectionEdges: n = mg, dirty: a =
14576
14577
  "data-busy": o || void 0,
14577
14578
  "data-error": c || void 0,
14578
14579
  children: /* @__PURE__ */ x("div", {
14579
- className: pg.Content,
14580
+ className: fg.Content,
14580
14581
  children: [
14581
14582
  d != null && /* @__PURE__ */ b("span", {
14582
- className: pg.Prefix,
14583
+ className: fg.Prefix,
14583
14584
  children: d
14584
14585
  }),
14585
14586
  /* @__PURE__ */ b("div", {
14586
- className: pg.Value,
14587
+ className: fg.Value,
14587
14588
  children: m
14588
14589
  }),
14589
14590
  f != null && /* @__PURE__ */ b("span", {
14590
- className: pg.Suffix,
14591
+ className: fg.Suffix,
14591
14592
  children: f
14592
14593
  }),
14593
14594
  o && /* @__PURE__ */ b("span", {
14594
- className: pg.Spinner,
14595
+ className: fg.Spinner,
14595
14596
  children: /* @__PURE__ */ b(R, {})
14596
14597
  })
14597
14598
  ]
@@ -14600,7 +14601,7 @@ function hg({ selected: e = !1, readOnly: t, selectionEdges: n = mg, dirty: a =
14600
14601
  }
14601
14602
  //#endregion
14602
14603
  //#region src/components/Collection/DataGrid/hooks/useGridColumnResizing.ts
14603
- function gg({ table: e, enabled: t, direction: n }) {
14604
+ function hg({ table: e, enabled: t, direction: n }) {
14604
14605
  let [r, i] = g(), a = t ? e.getAllFlatColumns().find(ke) : void 0;
14605
14606
  function o(e) {
14606
14607
  let { column: r } = e;
@@ -14635,11 +14636,11 @@ function gg({ table: e, enabled: t, direction: n }) {
14635
14636
  }
14636
14637
  //#endregion
14637
14638
  //#region src/components/Collection/DataGrid/hooks/useGridDragSelection.ts
14638
- var _g = 24, vg = 18;
14639
- function yg(e, t) {
14640
- return e < _g ? -18 * Math.min(1, (_g - e) / _g) : e > t - _g ? vg * Math.min(1, (e - t + _g) / _g) : 0;
14639
+ var gg = 24, _g = 18;
14640
+ function vg(e, t) {
14641
+ return e < gg ? -18 * Math.min(1, (gg - e) / gg) : e > t - gg ? _g * Math.min(1, (e - t + gg) / gg) : 0;
14641
14642
  }
14642
- function bg({ tableRef: e, onExtend: t }) {
14643
+ function yg({ tableRef: e, onExtend: t }) {
14643
14644
  let [n, r] = g(!1), i = h(t), a = h(void 0);
14644
14645
  return u(() => {
14645
14646
  i.current = t;
@@ -14665,7 +14666,7 @@ function bg({ tableRef: e, onExtend: t }) {
14665
14666
  if (!f) return;
14666
14667
  let e = n.tBodies[0]?.getBoundingClientRect();
14667
14668
  if (e) {
14668
- let t = n.getBoundingClientRect(), r = Math.max(0, n.tHead?.getBoundingClientRect().bottom ?? 0), i = yg(c, s.innerWidth), a = yg(l, s.innerHeight), o = Math.max(Math.min(0, t.left), Math.min(Math.max(0, t.right - s.innerWidth), i)), u = Math.max(Math.min(0, e.top - r), Math.min(Math.max(0, e.bottom - s.innerHeight), a));
14669
+ let t = n.getBoundingClientRect(), r = Math.max(0, n.tHead?.getBoundingClientRect().bottom ?? 0), i = vg(c, s.innerWidth), a = vg(l, s.innerHeight), o = Math.max(Math.min(0, t.left), Math.min(Math.max(0, t.right - s.innerWidth), i)), u = Math.max(Math.min(0, e.top - r), Math.min(Math.max(0, e.bottom - s.innerHeight), a));
14669
14670
  (o || u) && s.scrollBy({
14670
14671
  left: o,
14671
14672
  top: u,
@@ -14686,12 +14687,12 @@ function bg({ tableRef: e, onExtend: t }) {
14686
14687
  }
14687
14688
  //#endregion
14688
14689
  //#region src/components/Collection/DataGrid/hooks/useGridSelection.ts
14689
- function xg(e) {
14690
+ function bg(e) {
14690
14691
  let t = e.querySelector("input:not(:disabled):not([readonly]), textarea:not(:disabled):not([readonly]), select:not(:disabled), [contenteditable=\"true\"]");
14691
14692
  t?.focus(), t?.matches("input, textarea") && t.select();
14692
14693
  }
14693
- function Sg({ table: e, tableRef: t }) {
14694
- let [n, r] = g(), [i, a] = g(), o = h(!1), s = bg({
14694
+ function xg({ table: e, tableRef: t }) {
14695
+ let [n, r] = g(), [i, a] = g(), o = h(!1), s = yg({
14695
14696
  tableRef: t,
14696
14697
  onExtend(t) {
14697
14698
  let n = e.getRowModel().rowsById[t.dataset.rowId ?? ""]?.getAllCellsByColumnId()[t.dataset.columnId ?? ""];
@@ -14730,10 +14731,10 @@ function Sg({ table: e, tableRef: t }) {
14730
14731
  o.current && e.detail > 0 && (o.current = !1, e.preventDefault(), e.stopPropagation());
14731
14732
  },
14732
14733
  onDoubleClick(e) {
14733
- !e.defaultPrevented && e.button === 0 && r && !e.target.closest("a, button, select, summary, [role=\"button\"], [role=\"combobox\"], input[type=\"checkbox\"], input[type=\"radio\"], input[type=\"range\"]") && xg(e.currentTarget);
14734
+ !e.defaultPrevented && e.button === 0 && r && !e.target.closest("a, button, select, summary, [role=\"button\"], [role=\"combobox\"], input[type=\"checkbox\"], input[type=\"radio\"], input[type=\"range\"]") && bg(e.currentTarget);
14734
14735
  },
14735
14736
  onKeyDown(t) {
14736
- t.defaultPrevented || t.nativeEvent.isComposing || (t.key === "Escape" ? (t.preventDefault(), t.target === t.currentTarget ? Ke(e.table, !0) : t.currentTarget.focus()) : t.target === t.currentTarget && (t.key === "Enter" || t.key === "F2") && (t.preventDefault(), xg(t.currentTarget)));
14737
+ t.defaultPrevented || t.nativeEvent.isComposing || (t.key === "Escape" ? (t.preventDefault(), t.target === t.currentTarget ? Ke(e.table, !0) : t.currentTarget.focus()) : t.target === t.currentTarget && (t.key === "Enter" || t.key === "F2") && (t.preventDefault(), bg(t.currentTarget)));
14737
14738
  }
14738
14739
  }
14739
14740
  };
@@ -14746,7 +14747,7 @@ function Sg({ table: e, tableRef: t }) {
14746
14747
  }
14747
14748
  //#endregion
14748
14749
  //#region src/components/Collection/DataGrid/hooks/useGridVirtualizer.ts
14749
- function Cg({ tableRef: e, enabled: t, count: n, getItemKey: r, focusedRowIndex: i }) {
14750
+ function Sg({ tableRef: e, enabled: t, count: n, getItemKey: r, focusedRowIndex: i }) {
14750
14751
  let a = e.current?.ownerDocument.defaultView, [o, s] = g(0), l = c((e) => {
14751
14752
  let t = new Set(Ye(e));
14752
14753
  if (i >= 0 && i < e.count) for (let n = Math.max(0, i - 1); n <= Math.min(e.count - 1, i + 1); n++) t.add(n);
@@ -14787,7 +14788,7 @@ function Cg({ tableRef: e, enabled: t, count: n, getItemKey: r, focusedRowIndex:
14787
14788
  }
14788
14789
  //#endregion
14789
14790
  //#region src/components/Collection/DataGrid/hooks/useGrid.ts
14790
- function wg(e) {
14791
+ function Cg(e) {
14791
14792
  let { virtual: n = !1, stickyHeader: r = !1, updates: i } = e, a = t(), o = m(() => ({
14792
14793
  ...e.features,
14793
14794
  cellSelectionFeature: ve
@@ -14801,16 +14802,16 @@ function wg(e) {
14801
14802
  ...e.defaultColumn
14802
14803
  },
14803
14804
  features: o
14804
- }), l = h(null), u = s.getRowModel().rows, d = Sg({
14805
+ }), l = h(null), u = s.getRowModel().rows, d = xg({
14805
14806
  table: s,
14806
14807
  tableRef: l
14807
- }), f = m(() => u.findIndex((e) => e.id === d.activeRowId), [u, d.activeRowId]), p = c((e) => u[e].id, [u]), g = Cg({
14808
+ }), f = m(() => u.findIndex((e) => e.id === d.activeRowId), [u, d.activeRowId]), p = c((e) => u[e].id, [u]), g = Sg({
14808
14809
  tableRef: l,
14809
14810
  enabled: n,
14810
14811
  count: u.length,
14811
14812
  getItemKey: p,
14812
14813
  focusedRowIndex: f
14813
- }), _ = gg({
14814
+ }), _ = hg({
14814
14815
  table: s,
14815
14816
  enabled: !!e.features.columnResizingFeature,
14816
14817
  direction: a
@@ -14860,7 +14861,7 @@ function wg(e) {
14860
14861
  getCell: C
14861
14862
  };
14862
14863
  }
14863
- var Tg = {
14864
+ var wg = {
14864
14865
  Table: "_Table_g0ck7_1",
14865
14866
  Header: "_Header_g0ck7_6",
14866
14867
  Cell: "_Cell_g0ck7_6",
@@ -14871,8 +14872,8 @@ var Tg = {
14871
14872
  };
14872
14873
  //#endregion
14873
14874
  //#region src/components/Collection/DataGrid/DataGrid.tsx
14874
- function Eg(e) {
14875
- let { virtual: t, stickyHeader: n, tableRef: i, rows: a, headerGroups: s, leafHeaders: c, columnWidths: l, tableWidth: u, footerGroups: d, virtualizer: f, virtualRows: p, scrollMargin: m, dragging: h, resizing: g, activeDivider: _, getCell: y, getResizeHandleProps: S } = wg(e);
14875
+ function Tg(e) {
14876
+ let { virtual: t, stickyHeader: n, tableRef: i, rows: a, headerGroups: s, leafHeaders: c, columnWidths: l, tableWidth: u, footerGroups: d, virtualizer: f, virtualRows: p, scrollMargin: m, dragging: h, resizing: g, activeDivider: _, getCell: y, getResizeHandleProps: S } = Cg(e);
14876
14877
  function C(e) {
14877
14878
  let n = a[e], r = "getVisibleCells" in n ? n.getVisibleCells() : n.getAllCells();
14878
14879
  return /* @__PURE__ */ b("tr", {
@@ -14880,11 +14881,11 @@ function Eg(e) {
14880
14881
  "data-index": t ? e : void 0,
14881
14882
  children: r.map((e) => {
14882
14883
  let { canSelect: t, renderedCell: n, props: r } = y(e);
14883
- return /* @__PURE__ */ o(hg, {
14884
+ return /* @__PURE__ */ o(mg, {
14884
14885
  ...r,
14885
14886
  key: e.id,
14886
- className: v(Tg.Cell, t && Tg.RangeCell),
14887
- "data-alignment": ig(e.column.columnDef.meta)
14887
+ className: v(wg.Cell, t && wg.RangeCell),
14888
+ "data-alignment": rg(e.column.columnDef.meta)
14888
14889
  }, /* @__PURE__ */ b(_e, { cell: n }));
14889
14890
  })
14890
14891
  }, n.id);
@@ -14899,7 +14900,7 @@ function Eg(e) {
14899
14900
  }) }) : null;
14900
14901
  return /* @__PURE__ */ x("table", {
14901
14902
  ref: i,
14902
- className: v("aurora-base", Tg.Table),
14903
+ className: v("aurora-base", wg.Table),
14903
14904
  "data-dragging": h || void 0,
14904
14905
  "data-resizing": g ? "" : void 0,
14905
14906
  style: {
@@ -14911,30 +14912,30 @@ function Eg(e) {
14911
14912
  children: [
14912
14913
  /* @__PURE__ */ b("colgroup", { children: c.map((e, t) => /* @__PURE__ */ b("col", { style: { width: l[t] } }, e.column.id)) }),
14913
14914
  /* @__PURE__ */ b("thead", {
14914
- className: n ? Tg.StickyHeader : void 0,
14915
+ className: n ? wg.StickyHeader : void 0,
14915
14916
  children: s.map((e) => /* @__PURE__ */ b("tr", { children: e.headers.map((e) => {
14916
14917
  let t = S(e);
14917
14918
  return /* @__PURE__ */ x("th", {
14918
- className: Tg.Header,
14919
+ className: wg.Header,
14919
14920
  colSpan: e.colSpan,
14920
14921
  scope: e.column.columns.length ? "colgroup" : "col",
14921
- "data-alignment": ig(e.column.columnDef.meta),
14922
+ "data-alignment": rg(e.column.columnDef.meta),
14922
14923
  "data-resize-active": _ === e.column.id || void 0,
14923
14924
  children: [/* @__PURE__ */ b("div", {
14924
- className: Tg.HeaderContent,
14925
+ className: wg.HeaderContent,
14925
14926
  children: /* @__PURE__ */ b("span", { children: e.isPlaceholder ? null : /* @__PURE__ */ b(_e, { header: e }) })
14926
14927
  }), t && /* @__PURE__ */ b("div", {
14927
14928
  ...t,
14928
- className: Tg.ResizeHandle
14929
+ className: wg.ResizeHandle
14929
14930
  })]
14930
14931
  }, e.id);
14931
14932
  }) }, e.id))
14932
14933
  }),
14933
14934
  /* @__PURE__ */ x("tbody", { children: [t ? p.map((e, t) => /* @__PURE__ */ x(r, { children: [w(e.start - (p[t - 1]?.end ?? m)), C(e.index)] }, e.key)) : a.map((e, t) => /* @__PURE__ */ b(r, { children: C(t) }, e.id)), t && w(f.getTotalSize() - ((p.at(-1)?.end ?? m) - m))] }),
14934
- d.length > 0 && /* @__PURE__ */ b("tfoot", { children: d.map((e) => /* @__PURE__ */ b("tr", { children: e.headers.map((e) => /* @__PURE__ */ b(hg, {
14935
- className: Tg.Cell,
14935
+ d.length > 0 && /* @__PURE__ */ b("tfoot", { children: d.map((e) => /* @__PURE__ */ b("tr", { children: e.headers.map((e) => /* @__PURE__ */ b(mg, {
14936
+ className: wg.Cell,
14936
14937
  colSpan: e.colSpan,
14937
- "data-alignment": ig(e.column.columnDef.meta),
14938
+ "data-alignment": rg(e.column.columnDef.meta),
14938
14939
  "data-resize-active": _ === e.column.id || void 0,
14939
14940
  children: e.isPlaceholder ? null : /* @__PURE__ */ b(_e, { footer: e })
14940
14941
  }, e.id)) }, e.id)) })
@@ -14943,7 +14944,7 @@ function Eg(e) {
14943
14944
  }
14944
14945
  //#endregion
14945
14946
  //#region src/components/Collection/Pagination/Pagination.tsx
14946
- function Dg({ total: e, pageNum: n, pageSize: r, onPageNumChange: i, onPageSizeChange: a, pageSizeOptions: o = [
14947
+ function Eg({ total: e, pageNum: n, pageSize: r, onPageNumChange: i, onPageSizeChange: a, pageSizeOptions: o = [
14947
14948
  10,
14948
14949
  20,
14949
14950
  50,
@@ -15003,165 +15004,165 @@ function Dg({ total: e, pageNum: n, pageSize: r, onPageNumChange: i, onPageSizeC
15003
15004
  }
15004
15005
  //#endregion
15005
15006
  //#region src/components/Avatar/Avatar.tsx
15006
- function Og(e) {
15007
+ function Dg(e) {
15007
15008
  return /* @__PURE__ */ b("s-avatar", { ...e });
15008
15009
  }
15009
15010
  //#endregion
15010
15011
  //#region src/components/Badge/Badge.tsx
15011
- function kg(e) {
15012
+ function Og(e) {
15012
15013
  return /* @__PURE__ */ b("s-badge", { ...e });
15013
15014
  }
15014
15015
  //#endregion
15015
15016
  //#region src/components/Banner/Banner.tsx
15016
- function Ag(e) {
15017
+ function kg(e) {
15017
15018
  return /* @__PURE__ */ b("s-banner", { ...e });
15018
15019
  }
15019
15020
  //#endregion
15020
15021
  //#region src/components/ButtonGroup/ButtonGroup.tsx
15021
- function jg(e) {
15022
+ function Ag(e) {
15022
15023
  return /* @__PURE__ */ b("s-button-group", { ...e });
15023
15024
  }
15024
15025
  //#endregion
15025
15026
  //#region src/components/Chip/Chip.tsx
15026
- function Mg(e) {
15027
+ function jg(e) {
15027
15028
  return /* @__PURE__ */ b("s-chip", { ...e });
15028
15029
  }
15029
15030
  //#endregion
15030
15031
  //#region src/components/Choice/Choice.tsx
15031
- function Ng(e) {
15032
+ function Mg(e) {
15032
15033
  return /* @__PURE__ */ b("s-choice", { ...e });
15033
15034
  }
15034
15035
  //#endregion
15035
15036
  //#region src/components/ChoiceList/ChoiceList.tsx
15036
- function Pg(e) {
15037
+ function Ng(e) {
15037
15038
  return /* @__PURE__ */ b("s-choice-list", { ...e });
15038
15039
  }
15039
15040
  //#endregion
15040
15041
  //#region src/components/Clickable/Clickable.tsx
15041
- function Fg(e) {
15042
+ function Pg(e) {
15042
15043
  return /* @__PURE__ */ b("s-clickable", { ...e });
15043
15044
  }
15044
15045
  //#endregion
15045
15046
  //#region src/components/ClickableChip/ClickableChip.tsx
15046
- function Ig(e) {
15047
+ function Fg(e) {
15047
15048
  return /* @__PURE__ */ b("s-clickable-chip", { ...e });
15048
15049
  }
15049
15050
  //#endregion
15050
15051
  //#region src/components/ColorField/ColorField.tsx
15051
- function Lg(e) {
15052
+ function Ig(e) {
15052
15053
  return /* @__PURE__ */ b("s-color-field", { ...e });
15053
15054
  }
15054
15055
  //#endregion
15055
15056
  //#region src/components/ColorPicker/ColorPicker.tsx
15056
- function Rg(e) {
15057
+ function Lg(e) {
15057
15058
  return /* @__PURE__ */ b("s-color-picker", { ...e });
15058
15059
  }
15059
15060
  //#endregion
15060
15061
  //#region src/components/DropZone/DropZone.tsx
15061
- function zg(e) {
15062
+ function Rg(e) {
15062
15063
  return /* @__PURE__ */ b("s-drop-zone", { ...e });
15063
15064
  }
15064
15065
  //#endregion
15065
15066
  //#region src/components/EmailField/EmailField.tsx
15066
- function Bg(e) {
15067
+ function zg(e) {
15067
15068
  return /* @__PURE__ */ b("s-email-field", { ...e });
15068
15069
  }
15069
15070
  //#endregion
15070
15071
  //#region src/components/EmptyState/EmptyState.tsx
15071
- function Vg(e) {
15072
+ function Bg(e) {
15072
15073
  return /* @__PURE__ */ b("s-empty-state", { ...e });
15073
15074
  }
15074
15075
  //#endregion
15075
15076
  //#region src/components/GridItem/GridItem.tsx
15076
- function Hg(e) {
15077
+ function Vg(e) {
15077
15078
  return /* @__PURE__ */ b("s-grid-item", { ...e });
15078
15079
  }
15079
15080
  //#endregion
15080
15081
  //#region src/components/Heading/Heading.tsx
15081
- function Ug(e) {
15082
+ function Hg(e) {
15082
15083
  return /* @__PURE__ */ b("s-heading", { ...e });
15083
15084
  }
15084
15085
  //#endregion
15085
15086
  //#region src/components/Image/Image.tsx
15086
- function Wg(e) {
15087
+ function Ug(e) {
15087
15088
  return /* @__PURE__ */ b("s-image", { ...e });
15088
15089
  }
15089
15090
  //#endregion
15090
15091
  //#region src/components/Link/Link.tsx
15091
- function Gg(e) {
15092
+ function Wg(e) {
15092
15093
  return /* @__PURE__ */ b("s-link", { ...e });
15093
15094
  }
15094
15095
  //#endregion
15095
15096
  //#region src/components/ListItem/ListItem.tsx
15096
- function Kg(e) {
15097
+ function Gg(e) {
15097
15098
  return /* @__PURE__ */ b("s-list-item", { ...e });
15098
15099
  }
15099
15100
  //#endregion
15100
15101
  //#region src/components/MoneyField/MoneyField.tsx
15101
- function qg(e) {
15102
+ function Kg(e) {
15102
15103
  return /* @__PURE__ */ b("s-money-field", { ...e });
15103
15104
  }
15104
15105
  //#endregion
15105
15106
  //#region src/components/Number/Number.tsx
15106
- function Jg(e) {
15107
+ function qg(e) {
15107
15108
  return /* @__PURE__ */ b("s-number", { ...e });
15108
15109
  }
15109
15110
  //#endregion
15110
15111
  //#region src/components/NumberField/NumberField.tsx
15111
- function Yg(e) {
15112
+ function Jg(e) {
15112
15113
  return /* @__PURE__ */ b("s-number-field", { ...e });
15113
15114
  }
15114
15115
  //#endregion
15115
15116
  //#region src/components/Option/Option.tsx
15116
- function Xg(e) {
15117
+ function Yg(e) {
15117
15118
  return /* @__PURE__ */ b("s-option", { ...e });
15118
15119
  }
15119
15120
  //#endregion
15120
15121
  //#region src/components/OptionGroup/OptionGroup.tsx
15121
- function Zg(e) {
15122
+ function Xg(e) {
15122
15123
  return /* @__PURE__ */ b("s-option-group", { ...e });
15123
15124
  }
15124
15125
  //#endregion
15125
15126
  //#region src/components/OrderedList/OrderedList.tsx
15126
- function Qg(e) {
15127
+ function Zg(e) {
15127
15128
  return /* @__PURE__ */ b("s-ordered-list", { ...e });
15128
15129
  }
15129
15130
  //#endregion
15130
15131
  //#region src/components/PasswordField/PasswordField.tsx
15131
- function $g(e) {
15132
+ function Qg(e) {
15132
15133
  return /* @__PURE__ */ b("s-password-field", { ...e });
15133
15134
  }
15134
15135
  //#endregion
15135
15136
  //#region src/components/PressButton/PressButton.tsx
15136
- function e_(e) {
15137
+ function $g(e) {
15137
15138
  return /* @__PURE__ */ b("s-press-button", { ...e });
15138
15139
  }
15139
15140
  //#endregion
15140
15141
  //#region src/components/Progress/Progress.tsx
15141
- function t_(e) {
15142
+ function e_(e) {
15142
15143
  return /* @__PURE__ */ b("s-progress", { ...e });
15143
15144
  }
15144
15145
  //#endregion
15145
15146
  //#region src/components/QueryContainer/QueryContainer.tsx
15146
- function n_(e) {
15147
+ function t_(e) {
15147
15148
  return /* @__PURE__ */ b("s-query-container", { ...e });
15148
15149
  }
15149
15150
  //#endregion
15150
15151
  //#region src/components/ScrollBox/ScrollBox.tsx
15151
- function r_(e) {
15152
+ function n_(e) {
15152
15153
  return /* @__PURE__ */ b("s-scroll-box", { ...e });
15153
15154
  }
15154
15155
  //#endregion
15155
15156
  //#region src/components/SearchField/SearchField.tsx
15156
- function i_(e) {
15157
+ function r_(e) {
15157
15158
  return /* @__PURE__ */ b("s-search-field", { ...e });
15158
15159
  }
15159
15160
  //#endregion
15160
15161
  //#region src/components/Select/Select.tsx
15161
- function a_(e) {
15162
+ function i_(e) {
15162
15163
  return /* @__PURE__ */ b("s-select", { ...e });
15163
15164
  }
15164
- var o_ = {
15165
+ var a_ = {
15165
15166
  skeleton: "_skeleton_1av3v_1",
15166
15167
  text: "_text_1av3v_14",
15167
15168
  circular: "_circular_1av3v_18",
@@ -15172,11 +15173,11 @@ var o_ = {
15172
15173
  };
15173
15174
  //#endregion
15174
15175
  //#region src/components/Skeleton/Skeleton.tsx
15175
- function s_({ variant: e = "text", width: t, height: n, animation: r = "pulse", className: i, style: a, ...o }) {
15176
+ function o_({ variant: e = "text", width: t, height: n, animation: r = "pulse", className: i, style: a, ...o }) {
15176
15177
  return /* @__PURE__ */ b("div", {
15177
15178
  ...o,
15178
15179
  "aria-hidden": "true",
15179
- className: v("aurora-base", o_.skeleton, o_[e], r && o_[r], i),
15180
+ className: v("aurora-base", a_.skeleton, a_[e], r && a_[r], i),
15180
15181
  style: {
15181
15182
  width: t,
15182
15183
  height: n,
@@ -15186,67 +15187,67 @@ function s_({ variant: e = "text", width: t, height: n, animation: r = "pulse",
15186
15187
  }
15187
15188
  //#endregion
15188
15189
  //#region src/components/Table/Table.tsx
15189
- function c_(e) {
15190
+ function s_(e) {
15190
15191
  return /* @__PURE__ */ b("s-table", { ...e });
15191
15192
  }
15192
15193
  //#endregion
15193
15194
  //#region src/components/TableBody/TableBody.tsx
15194
- function l_(e) {
15195
+ function c_(e) {
15195
15196
  return /* @__PURE__ */ b("s-table-body", { ...e });
15196
15197
  }
15197
15198
  //#endregion
15198
15199
  //#region src/components/TableCell/TableCell.tsx
15199
- function u_(e) {
15200
+ function l_(e) {
15200
15201
  return /* @__PURE__ */ b("s-table-cell", { ...e });
15201
15202
  }
15202
15203
  //#endregion
15203
15204
  //#region src/components/TableHeader/TableHeader.tsx
15204
- function d_(e) {
15205
+ function u_(e) {
15205
15206
  return /* @__PURE__ */ b("s-table-header", { ...e });
15206
15207
  }
15207
15208
  //#endregion
15208
15209
  //#region src/components/TableHeaderRow/TableHeaderRow.tsx
15209
- function f_(e) {
15210
+ function d_(e) {
15210
15211
  return /* @__PURE__ */ b("s-table-header-row", { ...e });
15211
15212
  }
15212
15213
  //#endregion
15213
15214
  //#region src/components/TableRow/TableRow.tsx
15214
- function p_(e) {
15215
+ function f_(e) {
15215
15216
  return /* @__PURE__ */ b("s-table-row", { ...e });
15216
15217
  }
15217
15218
  //#endregion
15218
15219
  //#region src/components/Text/Text.tsx
15219
- function m_(e) {
15220
+ function p_(e) {
15220
15221
  return /* @__PURE__ */ b("s-text", { ...e });
15221
15222
  }
15222
15223
  //#endregion
15223
15224
  //#region src/components/TextArea/TextArea.tsx
15224
- function h_(e) {
15225
+ function m_(e) {
15225
15226
  return /* @__PURE__ */ b("s-text-area", { ...e });
15226
15227
  }
15227
15228
  //#endregion
15228
15229
  //#region src/components/Thumbnail/Thumbnail.tsx
15229
- function g_(e) {
15230
+ function h_(e) {
15230
15231
  return /* @__PURE__ */ b("s-thumbnail", { ...e });
15231
15232
  }
15232
15233
  //#endregion
15233
15234
  //#region src/components/Tooltip/Tooltip.tsx
15234
- function __(e) {
15235
+ function g_(e) {
15235
15236
  return /* @__PURE__ */ b("s-tooltip", { ...e });
15236
15237
  }
15237
15238
  //#endregion
15238
15239
  //#region src/components/UnorderedList/UnorderedList.tsx
15239
- function v_(e) {
15240
+ function __(e) {
15240
15241
  return /* @__PURE__ */ b("s-unordered-list", { ...e });
15241
15242
  }
15242
15243
  //#endregion
15243
15244
  //#region src/components/URLField/URLField.tsx
15244
- function y_(e) {
15245
+ function v_(e) {
15245
15246
  return /* @__PURE__ */ b("s-url-field", { ...e });
15246
15247
  }
15247
15248
  //#endregion
15248
15249
  //#region src/utilities/command-key.ts
15249
- var b_ = navigator.platform.startsWith("Mac") ? "⌘" : "Ctrl", X = {
15250
+ var y_ = navigator.platform.startsWith("Mac") ? "⌘" : "Ctrl", X = {
15250
15251
  item: "_item_9fbfw_2",
15251
15252
  row: "_row_9fbfw_15",
15252
15253
  icon: "_icon_9fbfw_72",
@@ -15262,11 +15263,11 @@ var b_ = navigator.platform.startsWith("Mac") ? "⌘" : "Ctrl", X = {
15262
15263
  };
15263
15264
  //#endregion
15264
15265
  //#region src/components/Frame/components/Navigation/NavigationItem/NavigationItem.tsx
15265
- function x_(e = []) {
15266
- return e.some((e) => !!e.active || x_(e.children));
15266
+ function b_(e = []) {
15267
+ return e.some((e) => !!e.active || b_(e.children));
15267
15268
  }
15268
- function S_({ item: e, collapsed: t }) {
15269
- let { icon: n, children: r } = e, i = !!e.active, a = !!r?.length, o = x_(r), s = a && (i || o), c = [e, ...r ?? []], l = /* @__PURE__ */ x(y, { children: [
15269
+ function x_({ item: e, collapsed: t }) {
15270
+ let { icon: n, children: r } = e, i = !!e.active, a = !!r?.length, o = b_(r), s = a && (i || o), c = [e, ...r ?? []], l = /* @__PURE__ */ x(y, { children: [
15270
15271
  n && /* @__PURE__ */ b("span", {
15271
15272
  className: X.icon,
15272
15273
  children: /* @__PURE__ */ b(z, { type: n })
@@ -15337,7 +15338,7 @@ function S_({ item: e, collapsed: t }) {
15337
15338
  className: X.children,
15338
15339
  children: /* @__PURE__ */ b("ul", {
15339
15340
  className: X.childrenInner,
15340
- children: r?.map((e, n) => /* @__PURE__ */ b(S_, {
15341
+ children: r?.map((e, n) => /* @__PURE__ */ b(x_, {
15341
15342
  item: e,
15342
15343
  collapsed: t
15343
15344
  }, `${e.label}-${n}`))
@@ -15358,7 +15359,7 @@ var Z = {
15358
15359
  };
15359
15360
  //#endregion
15360
15361
  //#region src/components/Frame/components/Navigation/SiteSwitcher/SiteSwitcher.tsx
15361
- function C_({ sites: e, siteId: t, onSiteChange: n, onReload: r, collapsed: i }) {
15362
+ function S_({ sites: e, siteId: t, onSiteChange: n, onReload: r, collapsed: i }) {
15362
15363
  let a = e.find((e) => e.id === t);
15363
15364
  return e.length === 0 ? null : /* @__PURE__ */ b("div", {
15364
15365
  className: Z.root,
@@ -15424,11 +15425,11 @@ function C_({ sites: e, siteId: t, onSiteChange: n, onReload: r, collapsed: i })
15424
15425
  }
15425
15426
  //#endregion
15426
15427
  //#region src/components/Frame/components/Navigation/Notification/Badges.tsx
15427
- var w_ = "pointer-events-none inline-flex flex-none items-center justify-center rounded-lg border-0 bg-[#c70a24] text-white [font-weight:var(--p-font-weight-bold,600)] [&[hidden]]:hidden";
15428
- function T_({ children: e, hidden: t }) {
15428
+ var C_ = "pointer-events-none inline-flex flex-none items-center justify-center rounded-lg border-0 bg-[#c70a24] text-white [font-weight:var(--p-font-weight-bold,600)] [&[hidden]]:hidden";
15429
+ function w_({ children: e, hidden: t }) {
15429
15430
  let n = M();
15430
15431
  return /* @__PURE__ */ b(j.span, {
15431
- className: v(w_, "absolute inset-bs-[calc(50%-11px)] inset-e-1.25 z-1 h-3 min-w-3 px-0.75 py-0.5 text-[8px] leading-2"),
15432
+ className: v(C_, "absolute inset-bs-[calc(50%-11px)] inset-e-1.25 z-1 h-3 min-w-3 px-0.75 py-0.5 text-[8px] leading-2"),
15432
15433
  hidden: t,
15433
15434
  initial: !n && {
15434
15435
  opacity: 0,
@@ -15448,14 +15449,14 @@ function T_({ children: e, hidden: t }) {
15448
15449
  children: e
15449
15450
  });
15450
15451
  }
15451
- function E_({ children: e, hidden: t }) {
15452
+ function T_({ children: e, hidden: t }) {
15452
15453
  return /* @__PURE__ */ b("span", {
15453
- className: v(w_, "h-4 min-w-4 px-1 py-0.5 text-[10px] leading-2.5"),
15454
+ className: v(C_, "h-4 min-w-4 px-1 py-0.5 text-[10px] leading-2.5"),
15454
15455
  hidden: t,
15455
15456
  children: e
15456
15457
  });
15457
15458
  }
15458
- var D_ = {
15459
+ var E_ = {
15459
15460
  row: "_row_14xi8_1",
15460
15461
  item: "_item_14xi8_5",
15461
15462
  expandedContent: "_expandedContent_14xi8_14",
@@ -15470,35 +15471,35 @@ var D_ = {
15470
15471
  };
15471
15472
  //#endregion
15472
15473
  //#region src/components/Frame/components/Navigation/Notification/Notification.tsx
15473
- function O_({ collapsed: e, count: t = 0, label: n = "Notifications", onSelect: r }) {
15474
+ function D_({ collapsed: e, count: t = 0, label: n = "Notifications", onSelect: r }) {
15474
15475
  let i = Math.max(0, Math.floor(t)), a = i > 0, o = i > 99 ? "99+" : i;
15475
15476
  return /* @__PURE__ */ b("li", {
15476
- className: v(X.item, D_.item),
15477
+ className: v(X.item, E_.item),
15477
15478
  "data-collapsed": e,
15478
15479
  children: /* @__PURE__ */ x("button", {
15479
15480
  type: "button",
15480
- className: v("aurora-base", "aurora-button", X.row, D_.row),
15481
+ className: v("aurora-base", "aurora-button", X.row, E_.row),
15481
15482
  onClick: r,
15482
15483
  children: [
15483
15484
  /* @__PURE__ */ b("span", {
15484
15485
  className: X.icon,
15485
15486
  children: /* @__PURE__ */ x("svg", {
15486
- className: D_.icon,
15487
+ className: E_.icon,
15487
15488
  xmlns: "http://www.w3.org/2000/svg",
15488
15489
  viewBox: "0 0 16 16",
15489
15490
  focusable: "false",
15490
15491
  children: [/* @__PURE__ */ b("g", {
15491
15492
  transform: "translate(1.0752 0.5)",
15492
15493
  children: /* @__PURE__ */ b("g", {
15493
- className: D_.shell,
15494
+ className: E_.shell,
15494
15495
  children: /* @__PURE__ */ b("path", { d: "M6.9248 0.75C8.99587 0.75 10.6748 2.42893 10.6748 4.5V5.00977C10.6748 6.29017 11.3489 7.47646 12.4482 8.13281L12.5127 8.1709C13.4997 8.76015 13.1761 10.266 12.0342 10.3975L9.51367 10.6865L8.06641 10.75H5.69531L4.23926 10.6758L1.81641 10.3975C0.674456 10.2661 0.350866 8.76017 1.33789 8.1709L1.40234 8.13281C2.50173 7.47646 3.17478 6.29017 3.1748 5.00977V4.5C3.1748 2.42908 4.85394 0.750245 6.9248 0.75Z" })
15495
15496
  })
15496
15497
  }), /* @__PURE__ */ b("g", {
15497
15498
  transform: "translate(5.31836 10.75)",
15498
15499
  children: /* @__PURE__ */ b("g", {
15499
- className: D_.clapperTranslation,
15500
+ className: E_.clapperTranslation,
15500
15501
  children: /* @__PURE__ */ b("g", {
15501
- className: D_.clapperRotation,
15502
+ className: E_.clapperRotation,
15502
15503
  children: /* @__PURE__ */ b("path", { d: "M4.48926 0.75C4.50624 0.83121 4.52166 0.919096 4.53613 1.01074C4.58832 1.34113 4.61426 1.67011 4.61426 1.84961C4.61423 2.85179 3.77009 3.70215 2.68164 3.70215C1.59342 3.7019 0.750024 2.85165 0.75 1.84961C0.75 1.67011 0.775937 1.34113 0.828125 1.01074C0.842603 0.919093 0.858015 0.831212 0.875 0.75H4.48926Z" })
15503
15504
  })
15504
15505
  })
@@ -15506,16 +15507,16 @@ function O_({ collapsed: e, count: t = 0, label: n = "Notifications", onSelect:
15506
15507
  })
15507
15508
  }),
15508
15509
  /* @__PURE__ */ x("span", {
15509
- className: D_.expandedContent,
15510
+ className: E_.expandedContent,
15510
15511
  children: [/* @__PURE__ */ b("span", {
15511
- className: D_.label,
15512
+ className: E_.label,
15512
15513
  children: n
15513
- }), a && /* @__PURE__ */ b(E_, {
15514
+ }), a && /* @__PURE__ */ b(T_, {
15514
15515
  hidden: e,
15515
15516
  children: o
15516
15517
  })]
15517
15518
  }),
15518
- a && /* @__PURE__ */ b(T_, {
15519
+ a && /* @__PURE__ */ b(w_, {
15519
15520
  hidden: !e,
15520
15521
  children: o
15521
15522
  })
@@ -15539,7 +15540,7 @@ var Q = {
15539
15540
  };
15540
15541
  //#endregion
15541
15542
  //#region src/components/Frame/components/Navigation/index.tsx
15542
- function k_({ logoUrl: e, collapsed: t, onCollapsedChange: n, items: r = [], onSettingsSelect: i, onSearchSelect: a, notificationCount: o = 0, onNotificationSelect: s, sites: c, siteId: l, onSiteChange: u, onReload: d, logoAction: f }) {
15543
+ function O_({ logoUrl: e, collapsed: t, onCollapsedChange: n, items: r = [], onSettingsSelect: i, onSearchSelect: a, notificationCount: o = 0, onNotificationSelect: s, sites: c, siteId: l, onSiteChange: u, onReload: d, logoAction: f }) {
15543
15544
  return /* @__PURE__ */ x("aside", {
15544
15545
  className: Q.sidebar,
15545
15546
  "data-collapsed": t,
@@ -15577,7 +15578,7 @@ function k_({ logoUrl: e, collapsed: t, onCollapsedChange: n, items: r = [], onS
15577
15578
  }),
15578
15579
  /* @__PURE__ */ b("span", {
15579
15580
  className: Q.searchKey,
15580
- children: `${b_}K`
15581
+ children: `${y_}K`
15581
15582
  })
15582
15583
  ]
15583
15584
  })]
@@ -15586,18 +15587,18 @@ function k_({ logoUrl: e, collapsed: t, onCollapsedChange: n, items: r = [], onS
15586
15587
  children: [
15587
15588
  /* @__PURE__ */ b("ul", {
15588
15589
  className: Q.scroll,
15589
- children: r.map((e, n) => /* @__PURE__ */ b(S_, {
15590
+ children: r.map((e, n) => /* @__PURE__ */ b(x_, {
15590
15591
  item: e,
15591
15592
  collapsed: t
15592
15593
  }, `${e.label}-${n}`))
15593
15594
  }),
15594
15595
  /* @__PURE__ */ x("ul", {
15595
15596
  className: Q.footer,
15596
- children: [/* @__PURE__ */ b(O_, {
15597
+ children: [/* @__PURE__ */ b(D_, {
15597
15598
  collapsed: t,
15598
15599
  count: o,
15599
15600
  onSelect: s
15600
- }), /* @__PURE__ */ b(S_, {
15601
+ }), /* @__PURE__ */ b(x_, {
15601
15602
  item: {
15602
15603
  icon: "settings",
15603
15604
  label: "Settings",
@@ -15606,7 +15607,7 @@ function k_({ logoUrl: e, collapsed: t, onCollapsedChange: n, items: r = [], onS
15606
15607
  collapsed: t
15607
15608
  })]
15608
15609
  }),
15609
- /* @__PURE__ */ b(C_, {
15610
+ /* @__PURE__ */ b(S_, {
15610
15611
  sites: c,
15611
15612
  siteId: l,
15612
15613
  onSiteChange: u,
@@ -15626,18 +15627,18 @@ var $ = {
15626
15627
  notification: "_notification_1kfa4_94",
15627
15628
  backdrop: "_backdrop_1kfa4_105",
15628
15629
  drawer: "_drawer_1kfa4_112"
15629
- }, A_ = { viewport: "_viewport_jkjn8_1" };
15630
+ }, k_ = { viewport: "_viewport_jkjn8_1" };
15630
15631
  //#endregion
15631
15632
  //#region src/components/Frame/components/Viewport/Viewport.tsx
15632
- function j_({ children: e }) {
15633
+ function A_({ children: e }) {
15633
15634
  return /* @__PURE__ */ b("div", {
15634
- className: A_.viewport,
15635
+ className: k_.viewport,
15635
15636
  children: e
15636
15637
  });
15637
15638
  }
15638
15639
  //#endregion
15639
15640
  //#region src/components/Frame/Frame.tsx
15640
- function M_({ children: e, collapsed: t, onCollapsedChange: n, ...r }) {
15641
+ function j_({ children: e, collapsed: t, onCollapsedChange: n, ...r }) {
15641
15642
  let [i, a] = g(!1), [o, s] = g(null), [c, l] = g(!0), u = h(null), d = M(), { logoUrl: f, onSearchSelect: m, onNotificationSelect: _, notificationCount: y = 0 } = r, S = Math.max(0, Math.floor(y)), C = S > 0 ? `Notifications (${S} unread)` : "Notifications";
15642
15643
  return p(() => {
15643
15644
  if (!o) return;
@@ -15684,7 +15685,7 @@ function M_({ children: e, collapsed: t, onCollapsedChange: n, ...r }) {
15684
15685
  "aria-label": C,
15685
15686
  title: C,
15686
15687
  onClick: _,
15687
- children: [/* @__PURE__ */ b(xc, { "aria-hidden": "true" }), S > 0 && /* @__PURE__ */ b(T_, {
15688
+ children: [/* @__PURE__ */ b(xc, { "aria-hidden": "true" }), S > 0 && /* @__PURE__ */ b(w_, {
15688
15689
  hidden: !1,
15689
15690
  children: S > 99 ? "99+" : S
15690
15691
  })]
@@ -15716,7 +15717,7 @@ function M_({ children: e, collapsed: t, onCollapsedChange: n, ...r }) {
15716
15717
  damping: 40
15717
15718
  }
15718
15719
  }),
15719
- children: /* @__PURE__ */ b(k_, {
15720
+ children: /* @__PURE__ */ b(O_, {
15720
15721
  ...r,
15721
15722
  collapsed: !1,
15722
15723
  onCollapsedChange: () => u.current?.close(),
@@ -15733,12 +15734,12 @@ function M_({ children: e, collapsed: t, onCollapsedChange: n, ...r }) {
15733
15734
  }, "navigation")]
15734
15735
  })
15735
15736
  })]
15736
- }) : /* @__PURE__ */ b(k_, {
15737
+ }) : /* @__PURE__ */ b(O_, {
15737
15738
  ...r,
15738
15739
  collapsed: t,
15739
15740
  onCollapsedChange: n
15740
- }), /* @__PURE__ */ b(j_, { children: e }, "viewport")]
15741
+ }), /* @__PURE__ */ b(A_, { children: e }, "viewport")]
15741
15742
  });
15742
15743
  }
15743
15744
  //#endregion
15744
- export { Og as Avatar, kg as Badge, Ag as Banner, Ym as Box, B as Button, jg as ButtonGroup, $m as Checkbox, Mg as Chip, Ng as Choice, Pg as ChoiceList, Fg as Clickable, Ig as ClickableChip, Lg as ColorField, Rg as ColorPicker, rh as Combobox, Eg as DataGrid, fg as DataReport, sg as DataTable, Jm as DateField, Hh as DateFilter, zm as DatePicker, e as DirectionProvider, Zm as Divider, zg as DropZone, Bg as EmailField, Vg as EmptyState, Fh as FilterTrigger, M_ as Frame, Qm as Grid, hg as GridCell, Hg as GridItem, Ug as Heading, hm as I18nProvider, z as Icon, Wg as Image, Bm as InputBase, dm as Key, oh as Labelled, Gg as Link, Kg as ListItem, ym as MOBILE_BREAKPOINT, gh as Menu, ch as Modal, dh as ModalClose, lh as ModalRoot, uh as ModalTrigger, qg as MoneyField, ih as MultipleSelect, Jg as Number, Yg as NumberField, Xg as Option, Zg as OptionGroup, Qg as OrderedList, Mh as Page, Sh as PageHeader, Ah as PageStackProvider, Dg as Pagination, vh as Paragraph, $g as PasswordField, Vm as Popover, Km as PopoverClose, Um as PopoverOption, Wm as PopoverRoot, Gm as PopoverTrigger, e_ as PressButton, t_ as Progress, n_ as QueryContainer, r_ as ScrollBox, i_ as SearchField, bh as Section, a_ as Select, Wh as SelectFilter, s_ as Skeleton, R as Spinner, Xm as Stack, eh as Switch, c_ as Table, l_ as TableBody, u_ as TableCell, d_ as TableHeader, f_ as TableHeaderRow, p_ as TableRow, m_ as Text, h_ as TextArea, nh as TextField, g_ as Thumbnail, eg as Toolbar, __ as Tooltip, y_ as URLField, v_ as UnorderedList, lm as buttonsFrom, Vh as getDateFilterPresetValue, gm as useI18n, bm as useIsMobile, vm as useMediaQuery, jh as usePage, kh as usePageStack };
15745
+ export { Dg as Avatar, Og as Badge, kg as Banner, Ym as Box, B as Button, Ag as ButtonGroup, $m as Checkbox, jg as Chip, Mg as Choice, Ng as ChoiceList, Pg as Clickable, Fg as ClickableChip, Ig as ColorField, Lg as ColorPicker, rh as Combobox, Tg as DataGrid, dg as DataReport, og as DataTable, Jm as DateField, Vh as DateFilter, zm as DatePicker, e as DirectionProvider, Zm as Divider, Rg as DropZone, zg as EmailField, Bg as EmptyState, Ph as FilterTrigger, j_ as Frame, Qm as Grid, mg as GridCell, Vg as GridItem, Hg as Heading, hm as I18nProvider, z as Icon, Ug as Image, Bm as InputBase, dm as Key, oh as Labelled, Wg as Link, Gg as ListItem, ym as MOBILE_BREAKPOINT, gh as Menu, ch as Modal, dh as ModalClose, lh as ModalRoot, uh as ModalTrigger, Kg as MoneyField, ih as MultipleSelect, qg as Number, Jg as NumberField, Yg as Option, Xg as OptionGroup, Zg as OrderedList, jh as Page, Sh as PageHeader, kh as PageStackProvider, Eg as Pagination, vh as Paragraph, Qg as PasswordField, Vm as Popover, Km as PopoverClose, Um as PopoverOption, Wm as PopoverRoot, Gm as PopoverTrigger, $g as PressButton, e_ as Progress, t_ as QueryContainer, n_ as ScrollBox, r_ as SearchField, bh as Section, i_ as Select, Uh as SelectFilter, o_ as Skeleton, R as Spinner, Xm as Stack, eh as Switch, s_ as Table, c_ as TableBody, l_ as TableCell, u_ as TableHeader, d_ as TableHeaderRow, f_ as TableRow, p_ as Text, m_ as TextArea, nh as TextField, h_ as Thumbnail, $h as Toolbar, g_ as Tooltip, v_ as URLField, __ as UnorderedList, lm as buttonsFrom, Bh as getDateFilterPresetValue, gm as useI18n, bm as useIsMobile, vm as useMediaQuery, Ah as usePage, Oh as usePageStack };