@factorialco/f0-react 16.31.1 → 16.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/{ArchiveThumbnail-snnCL51c.js → ArchiveThumbnail-BuNA4UrO.js} +4 -4
  2. package/dist/{ArchiveViewer-qrPGzl45.js → ArchiveViewer-W103xRky.js} +6 -6
  3. package/dist/{ChatPostComposerDialog-C7FQ5zej.js → ChatPostComposerDialog-BCXfHgyD.js} +3 -3
  4. package/dist/{Check-B2Oii9hT.js → Check-DSKdy4lh.js} +1 -1
  5. package/dist/{CoachmarkProvider-CqkPfWAF.js → CoachmarkProvider-CXRAZo57.js} +9455 -9455
  6. package/dist/{CodeThumbnail-jrNjbGFK.js → CodeThumbnail-CrMWds9n.js} +1 -1
  7. package/dist/{CodeViewer-rskCF-XU.js → CodeViewer-BYY3y3VG.js} +6 -6
  8. package/dist/{DocumentToolbar-C7f4MplQ.js → DocumentToolbar-CipRq68O.js} +5 -5
  9. package/dist/{DocxViewer-Md9lijeE.js → DocxViewer-8dEvcQjH.js} +3 -3
  10. package/dist/{Ellipsis-C36nOldJ.js → Ellipsis-D5UwpzSY.js} +1 -1
  11. package/dist/{ExternalLink-oako7DEE.js → ExternalLink-DOVErzVl.js} +1 -1
  12. package/dist/{F0AiProcessingOverlay-Bz5bf3ZA.js → F0AiProcessingOverlay-CelAhVN1.js} +147 -147
  13. package/dist/{F0Alert-Ctib1gD6.js → F0Alert-CjoArzBk.js} +5 -5
  14. package/dist/F0AudioPlayer-_zrcaPAA.js +2 -0
  15. package/dist/{F0Button-DVbQTicD.js → F0Button-B9tE57M3.js} +4 -4
  16. package/dist/{F0CanvasPanel-CZKTFPP7.js → F0CanvasPanel-B7AXL0XT.js} +10076 -10085
  17. package/dist/{F0DocumentViewer-BgIPKW21.js → F0DocumentViewer-DVByu4vb.js} +1 -1
  18. package/dist/{F0DocumentViewer-D9HXGXr_.js → F0DocumentViewer-DcNc-yXR.js} +4 -4
  19. package/dist/{F0Map-C4p4mly7.js → F0Map-BN8BQzMZ.js} +34 -34
  20. package/dist/{F0Select-D6mxgb1s.js → F0Select-CtRlKRnL.js} +212 -212
  21. package/dist/{F0Text-CcpTiEit.js → F0Text-BDmNaecR.js} +2 -2
  22. package/dist/F0VideoPlayer-CB52ikkB.js +1 -0
  23. package/dist/{F0VideoPlayer-D6cgKhcQ.js → F0VideoPlayer-THvSQSCu.js} +8 -8
  24. package/dist/{HtmlThumbnail-fMq9VsQi.js → HtmlThumbnail-BakLalKI.js} +1 -1
  25. package/dist/{HtmlViewer-BVitdvD6.js → HtmlViewer-ClgjG-H_.js} +9 -9
  26. package/dist/{LayoutGroup-FkYOcIJ1.js → LayoutGroup-CuWgJO_W.js} +14 -14
  27. package/dist/{LockLocked-B3KX44wv.js → LockLocked-FmZAbVxB.js} +1 -1
  28. package/dist/{Map-ZXcjPt4S.js → Map-CdRcz8MV.js} +10 -10
  29. package/dist/{PdfThumbnail-CwkqbqHx.js → PdfThumbnail-CXYyO2sc.js} +1 -1
  30. package/dist/{PdfViewer-Cytnm1Ks.js → PdfViewer-BNPz0po0.js} +8 -8
  31. package/dist/{SandboxedHtmlFrame-BT6LThaT.js → SandboxedHtmlFrame-SKujax-U.js} +3 -3
  32. package/dist/{SheetViewer-DFLeOh69.js → SheetViewer-BV4RjCqC.js} +5 -5
  33. package/dist/{TextViewer-C9Ds2dE7.js → TextViewer-B-a77tb9.js} +4 -4
  34. package/dist/ai.d.ts +3 -3
  35. package/dist/ai.js +4 -4
  36. package/dist/component-status.js +1 -1
  37. package/dist/{createIcon-B-z7hPQg.js → createIcon-l_kbsdJi.js} +1 -1
  38. package/dist/{dist-C691Abhf.js → dist-BjlY6-o5.js} +4 -4
  39. package/dist/{dist-BwlC-i6M.js → dist-C1RZo6kP.js} +2 -2
  40. package/dist/{dist-_ts6SUAW.js → dist-CiU6Cp6n.js} +1 -1
  41. package/dist/{dist-CiC2ZqiK.js → dist-D0tUIJ0v.js} +2 -2
  42. package/dist/{dist-DN0nDQy0.js → dist-MPgX6tx_.js} +1 -1
  43. package/dist/experimental.d.ts +5 -3
  44. package/dist/experimental.js +5677 -5651
  45. package/dist/{exports-D-3BWR9h.d.ts → exports-DxWkQJMl.d.ts} +1 -1
  46. package/dist/f0.d.ts +4 -4
  47. package/dist/f0.js +47 -51
  48. package/dist/{highlight-CT0Gl0kj.js → highlight-B3C1rkLK.js} +1 -1
  49. package/dist/{i18n-provider-kdMqj3iD.js → i18n-provider-DEmElb7u.js} +1 -1
  50. package/dist/{i18n-provider-defaults-BRl6Z_VM.js → i18n-provider-defaults-CTH1Ugiz.js} +2 -1
  51. package/dist/{i18n-provider-defaults-BuHela-5.d.ts → i18n-provider-defaults-SQ7US7M7.d.ts} +2 -0
  52. package/dist/i18n-provider-defaults.d.ts +1 -1
  53. package/dist/i18n-provider-defaults.js +1 -1
  54. package/dist/{index-BACLk6eB.d.ts → index-CZ-TTSgT.d.ts} +2 -2
  55. package/dist/{index-BYvzhQWm.d.ts → index-MQOQkW-2.d.ts} +8 -2
  56. package/dist/{localized-D19oXKkk.js → localized-D86_eL7B.js} +1 -1
  57. package/dist/{maplibre-B3l6Byv4.js → maplibre-D5u_EpGf.js} +1 -1
  58. package/dist/{pdfWorker-BwmWYP-K.js → pdfWorker-allMZ4J8.js} +1 -1
  59. package/dist/{popover-BgQJIZoe.js → popover-B7-MjlA_.js} +1 -1
  60. package/dist/{skeleton-9cd4VWq0.js → skeleton-cJaQYsv6.js} +1 -1
  61. package/dist/styles.css +1 -1
  62. package/dist/{toolbarStyles-CusTVVsH.js → toolbarStyles-DKWFaPuE.js} +1 -1
  63. package/dist/{useData-XExWuz7o.js → useData-Clrt5l2P.js} +8 -8
  64. package/package.json +1 -1
  65. package/dist/F0AudioPlayer-B4YvRRgo.js +0 -2
  66. package/dist/F0VideoPlayer-DV84zT9b.js +0 -1
@@ -1,17 +1,17 @@
1
1
  import { o as e, r as t, t as n } from "./rolldown-runtime-BItFwnF5.js";
2
- import { a as r, i, r as a } from "./i18n-provider-kdMqj3iD.js";
3
- import { n as o, t as s } from "./skeleton-9cd4VWq0.js";
2
+ import { a as r, i, r as a } from "./i18n-provider-DEmElb7u.js";
3
+ import { n as o, t as s } from "./skeleton-cJaQYsv6.js";
4
4
  import { L as c, R as l, d as u, i as d, n as f, r as p, t as m } from "./tooltip-NXXT56H4.js";
5
- import { E as h, I as g, K as _, O as v, R as y, Y as b, d as x, h as S, k as C, n as w, r as T, t as E } from "./F0Button-DVbQTicD.js";
6
- import { a as D, o as O, t as k, u as A } from "./createIcon-B-z7hPQg.js";
7
- import { B as j, F as ee, H as te, L as ne, P as re, U as ie, W as ae, a as oe, f as M, h as se, i as N, m as P, o as ce, u as le, x as ue, y as de, z as fe } from "./useData-XExWuz7o.js";
8
- import { t as pe } from "./Check-B2Oii9hT.js";
9
- import { a as me, i as he, r as ge, t as _e } from "./dist-BwlC-i6M.js";
10
- import { t as ve } from "./ExternalLink-oako7DEE.js";
11
- import { n as ye, t as be } from "./LockLocked-B3KX44wv.js";
5
+ import { A as h, E as g, L as _, X as v, d as y, h as b, k as x, n as S, q as C, r as w, t as T, z as E } from "./F0Button-B9tE57M3.js";
6
+ import { a as D, o as O, t as k, u as A } from "./createIcon-l_kbsdJi.js";
7
+ import { B as j, F as ee, H as te, L as ne, P as re, U as ie, W as ae, a as oe, f as M, h as se, i as N, m as P, o as ce, u as le, x as ue, y as de, z as fe } from "./useData-Clrt5l2P.js";
8
+ import { t as pe } from "./Check-DSKdy4lh.js";
9
+ import { a as me, i as he, r as ge, t as _e } from "./dist-C1RZo6kP.js";
10
+ import { t as ve } from "./ExternalLink-DOVErzVl.js";
11
+ import { n as ye, t as be } from "./LockLocked-FmZAbVxB.js";
12
12
  import "./purify.es-CJ7gZxxn.js";
13
- import { $ as xe, A as Se, B as Ce, D as we, E as Te, F as Ee, G as De, H as Oe, I as ke, J as Ae, L as je, M as Me, N as Ne, O as Pe, P as Fe, Q as Ie, R as Le, U as Re, V as ze, W as Be, Y as Ve, Z as He, a as Ue, i as We, j as Ge, k as Ke, q as qe, t as Je, z as Ye } from "./popover-BgQJIZoe.js";
14
- import { b as Xe, c as Ze, d as Qe, g as $e, h as et, n as tt, r as F, t as nt, u as rt, v as it, y as at } from "./dist-CiC2ZqiK.js";
13
+ import { $ as xe, A as Se, B as Ce, D as we, E as Te, F as Ee, G as De, H as Oe, I as ke, J as Ae, L as je, M as Me, N as Ne, O as Pe, P as Fe, Q as Ie, R as Le, U as Re, V as ze, W as Be, Y as Ve, Z as He, a as Ue, i as We, j as Ge, k as Ke, q as qe, t as Je, z as Ye } from "./popover-B7-MjlA_.js";
14
+ import { b as Xe, c as Ze, d as Qe, g as $e, h as et, n as tt, r as F, t as nt, u as rt, v as it, y as at } from "./dist-D0tUIJ0v.js";
15
15
  import { t as ot } from "./dist-DMTFO2gF.js";
16
16
  import * as I from "react";
17
17
  import st, { Component as ct, Fragment as lt, cloneElement as ut, createContext as dt, forwardRef as L, useCallback as R, useContext as ft, useEffect as z, useId as pt, useImperativeHandle as mt, useLayoutEffect as ht, useMemo as B, useReducer as gt, useRef as V, useState as H } from "react";
@@ -2315,7 +2315,7 @@ var Cc = (e) => typeof e == "string" ? e : [e.title, e.description].filter(Boole
2315
2315
  if (r?.length) return { items: r };
2316
2316
  }, Dc = ({ tooltip: e, children: t }) => {
2317
2317
  let n = Ec(e);
2318
- return n ? /* @__PURE__ */ U(y, {
2318
+ return n ? /* @__PURE__ */ U(E, {
2319
2319
  instant: !0,
2320
2320
  ...n,
2321
2321
  children: t
@@ -2329,7 +2329,7 @@ var Cc = (e) => typeof e == "string" ? e : [e.title, e.description].filter(Boole
2329
2329
  className: c("inline-flex w-fit max-w-full flex-row items-center justify-start gap-1 py-0.5 pr-2 font-medium text-f1-foreground", l === "md" && "text-base", l === "sm" && "text-sm", !t && "aspect-square w-6 items-center justify-center p-1", e ? "pl-1" : "pl-2", s === "rounded" && "rounded-full", s === "square" && "rounded-sm", i),
2330
2330
  children: [
2331
2331
  e,
2332
- t && !u ? /* @__PURE__ */ U(T, {
2332
+ t && !u ? /* @__PURE__ */ U(w, {
2333
2333
  tag: "span",
2334
2334
  lines: 1,
2335
2335
  className: d ? "text-f1-foreground-disabled" : void 0,
@@ -2346,7 +2346,7 @@ var Cc = (e) => typeof e == "string" ? e : [e.title, e.description].filter(Boole
2346
2346
  className: "text-base font-medium text-f1-foreground-secondary",
2347
2347
  children: a
2348
2348
  }) : null,
2349
- o ? /* @__PURE__ */ U(g, {
2349
+ o ? /* @__PURE__ */ U(_, {
2350
2350
  description: o,
2351
2351
  children: /* @__PURE__ */ U(D, {
2352
2352
  icon: En,
@@ -2358,7 +2358,7 @@ var Cc = (e) => typeof e == "string" ? e : [e.title, e.description].filter(Boole
2358
2358
  Oc.displayName = "BaseTag";
2359
2359
  //#endregion
2360
2360
  //#region src/elements/tags/F0TagRaw/F0TagRaw.tsx
2361
- var kc = L(({ text: e, additionalAccessibleText: t, icon: n, onlyIcon: r, info: i, className: a, size: o }, s) => (x(e, { disallowEmpty: !0 }, { componentName: "F0TagRaw" }), /* @__PURE__ */ U(Oc, {
2361
+ var kc = L(({ text: e, additionalAccessibleText: t, icon: n, onlyIcon: r, info: i, className: a, size: o }, s) => (y(e, { disallowEmpty: !0 }, { componentName: "F0TagRaw" }), /* @__PURE__ */ U(Oc, {
2362
2362
  ref: s,
2363
2363
  className: c("border-[1px] border-solid border-f1-border-secondary", a),
2364
2364
  size: o,
@@ -2396,7 +2396,7 @@ var Mc = {
2396
2396
  critical: Ut,
2397
2397
  positive: me
2398
2398
  }, Nc = L(({ text: e, level: t, info: n }, r) => {
2399
- x(e, {
2399
+ y(e, {
2400
2400
  disallowEmpty: !0,
2401
2401
  disallowEmojis: !0
2402
2402
  }, { componentName: "F0TagAlert" });
@@ -2425,7 +2425,7 @@ var Mc = {
2425
2425
  });
2426
2426
  });
2427
2427
  Nc.displayName = "F0TagAlert";
2428
- var Pc = r(Nc), Fc = L(({ text: e, additionalAccessibleText: t, variant: n, icon: r }, i) => (x(e, { disallowEmpty: !0 }, { componentName: "F0TagStatus" }), /* @__PURE__ */ U(Oc, {
2428
+ var Pc = r(Nc), Fc = L(({ text: e, additionalAccessibleText: t, variant: n, icon: r }, i) => (y(e, { disallowEmpty: !0 }, { componentName: "F0TagStatus" }), /* @__PURE__ */ U(Oc, {
2429
2429
  ref: i,
2430
2430
  className: c({
2431
2431
  neutral: "bg-f1-background-secondary text-f1-foreground-secondary",
@@ -48838,7 +48838,7 @@ var jw = (e) => e == null || typeof e == "object" && "value" in e && (e.value ==
48838
48838
  });
48839
48839
  });
48840
48840
  zw.displayName = "F0TagBalance";
48841
- var Bw = r(zw), Vw = L(({ avatar: e, text: t, deactivated: n }, r) => (x(t, { disallowEmpty: !0 }, { componentName: "F0TagAvatar" }), /* @__PURE__ */ U(Oc, {
48841
+ var Bw = r(zw), Vw = L(({ avatar: e, text: t, deactivated: n }, r) => (y(t, { disallowEmpty: !0 }, { componentName: "F0TagAvatar" }), /* @__PURE__ */ U(Oc, {
48842
48842
  ref: r,
48843
48843
  deactivated: n,
48844
48844
  className: "border-[1px] border-solid border-f1-border-secondary py-[1px] pl-[1px]",
@@ -48863,7 +48863,7 @@ var Hw = L(({ name: e, src: t }, n) => /* @__PURE__ */ U(Vw, {
48863
48863
  }));
48864
48864
  Hw.displayName = "F0TagCompany";
48865
48865
  var Uw = r(Hw), Ww = L(({ text: e, info: t, ...n }, r) => {
48866
- x(e, { disallowEmpty: !0 }, { componentName: "F0TagDot" });
48866
+ y(e, { disallowEmpty: !0 }, { componentName: "F0TagDot" });
48867
48867
  let i = "color" in n && n.color ? `hsl(${ot[n.color][50]})` : "customColor" in n && n.customColor;
48868
48868
  return i ? /* @__PURE__ */ U(Oc, {
48869
48869
  ref: r,
@@ -48938,7 +48938,7 @@ function eT({ size: e, className: t }) {
48938
48938
  cy: "16",
48939
48939
  r: "12",
48940
48940
  className: "stroke-f1-background-secondary"
48941
- }), /* @__PURE__ */ U(_.circle, {
48941
+ }), /* @__PURE__ */ U(C.circle, {
48942
48942
  cx: "16",
48943
48943
  cy: "16",
48944
48944
  r: "12",
@@ -49073,8 +49073,8 @@ var tT = r(o("Spinner", eT)), nT = A({
49073
49073
  sm: "text-xs",
49074
49074
  md: "text-sm",
49075
49075
  lg: "text-sm"
49076
- } } }), cT = L(({ onSelectedChange: e, selected: t, label: n, disabled: r = !1, icon: i, size: a = "md", variant: o = "compact", tooltip: s, color: u, withBorder: d = !1, className: f, defaultSelected: p = !1, ...m }, h) => {
49077
- let g = !Array.isArray(i), [x, S] = g ? [i, i] : i, [w, T] = Array.isArray(n) ? n : [n, n], E = B(() => g ? void 0 : {
49076
+ } } }), cT = L(({ onSelectedChange: e, selected: t, label: n, disabled: r = !1, icon: i, size: a = "md", variant: o = "compact", tooltip: s, color: u, withBorder: d = !1, className: f, defaultSelected: p = !1, ...m }, g) => {
49077
+ let _ = !Array.isArray(i), [y, b] = _ ? [i, i] : i, [S, w] = Array.isArray(n) ? n : [n, n], T = B(() => _ ? void 0 : {
49078
49078
  initial: {
49079
49079
  opacity: 0,
49080
49080
  scale: .8
@@ -49091,17 +49091,17 @@ var tT = r(o("Spinner", eT)), nT = A({
49091
49091
  duration: .25,
49092
49092
  ease: "easeOut"
49093
49093
  }
49094
- }, [g]), [O, k] = H(p), A = t !== void 0, j = {
49094
+ }, [_]), [O, k] = H(p), A = t !== void 0, j = {
49095
49095
  selected: A ? t : O,
49096
49096
  onSelectedChange: A ? e : k
49097
- }, ee = j.selected ? T : w, te = B(() => o === "expanded" && a === "lg" ? (console.warn("F0ButtonToggle: lg size is not supported for expanded variant"), "md") : a, [a, o]), ne = typeof s == "object" ? s : s ? { description: s } : void 0, re = /* @__PURE__ */ W(_e, {
49098
- ref: h,
49097
+ }, ee = j.selected ? w : S, te = B(() => o === "expanded" && a === "lg" ? (console.warn("F0ButtonToggle: lg size is not supported for expanded variant"), "md") : a, [a, o]), ne = typeof s == "object" ? s : s ? { description: s } : void 0, re = /* @__PURE__ */ W(_e, {
49098
+ ref: g,
49099
49099
  pressed: j.selected,
49100
49100
  onPressedChange: j.onSelectedChange,
49101
49101
  disabled: r,
49102
49102
  "aria-label": ee,
49103
49103
  title: ee,
49104
- className: c("aspect-square px-0", "flex flex-col items-center justify-center gap-2", l(), v({ variant: j.selected ? "selected" : "ghost" }), C({ size: te }), iT({
49104
+ className: c("aspect-square px-0", "flex flex-col items-center justify-center gap-2", l(), x({ variant: j.selected ? "selected" : "ghost" }), h({ size: te }), iT({
49105
49105
  size: te,
49106
49106
  variant: o,
49107
49107
  withBorder: d,
@@ -49109,27 +49109,27 @@ var tT = r(o("Spinner", eT)), nT = A({
49109
49109
  }), u && (j.selected ? aT[u] : oT), f),
49110
49110
  ...m,
49111
49111
  "data-state": j.selected ? "on" : "off",
49112
- children: [/* @__PURE__ */ U(b, {
49112
+ children: [/* @__PURE__ */ U(v, {
49113
49113
  initial: !1,
49114
49114
  children: /* @__PURE__ */ U("div", {
49115
49115
  className: "main relative flex flex-col items-center justify-center",
49116
- children: j.selected ? /* @__PURE__ */ U(_.div, {
49116
+ children: j.selected ? /* @__PURE__ */ U(C.div, {
49117
49117
  className: "absolute flex items-center justify-center",
49118
- ...E,
49118
+ ...T,
49119
49119
  children: /* @__PURE__ */ U(D, {
49120
- icon: S,
49120
+ icon: b,
49121
49121
  size: te
49122
49122
  })
49123
- }, "icon-on") : /* @__PURE__ */ U(_.div, {
49123
+ }, "icon-on") : /* @__PURE__ */ U(C.div, {
49124
49124
  className: "absolute flex items-center justify-center",
49125
- ...E,
49125
+ ...T,
49126
49126
  children: /* @__PURE__ */ U(D, {
49127
- icon: x,
49127
+ icon: y,
49128
49128
  size: te
49129
49129
  })
49130
49130
  }, "icon-off")
49131
49131
  })
49132
- }), o === "expanded" ? /* @__PURE__ */ U(b, {
49132
+ }), o === "expanded" ? /* @__PURE__ */ U(v, {
49133
49133
  initial: !1,
49134
49134
  children: /* @__PURE__ */ U("span", {
49135
49135
  className: c("max-w-full truncate", sT({ size: te })),
@@ -49137,7 +49137,7 @@ var tT = r(o("Spinner", eT)), nT = A({
49137
49137
  })
49138
49138
  }) : null]
49139
49139
  });
49140
- return ne ? /* @__PURE__ */ U(y, {
49140
+ return ne ? /* @__PURE__ */ U(E, {
49141
49141
  ...ne,
49142
49142
  openOnPointer: r,
49143
49143
  children: re
@@ -49560,7 +49560,7 @@ var lE = (e, t) => {
49560
49560
  src: e.src
49561
49561
  },
49562
49562
  size: "xs"
49563
- }), /* @__PURE__ */ U(T, {
49563
+ }), /* @__PURE__ */ U(w, {
49564
49564
  className: c("min-w-0 flex-1 text-f1-foreground", i && "break-words"),
49565
49565
  tag: "span",
49566
49566
  lines: n,
@@ -49669,7 +49669,7 @@ var lE = (e, t) => {
49669
49669
  size: "xs",
49670
49670
  flag: e.code,
49671
49671
  "aria-label": n
49672
- }), /* @__PURE__ */ U(T, {
49672
+ }), /* @__PURE__ */ U(w, {
49673
49673
  className: "min-w-0 flex-1 text-f1-foreground",
49674
49674
  tag: "span",
49675
49675
  children: n
@@ -49785,7 +49785,7 @@ var IE = (e, t) => {
49785
49785
  }) : tE(FE(e), t);
49786
49786
  }, LE = (e) => typeof e == "object" && e && "lines" in e ? e.lines : void 0, RE = (e) => (typeof e == "object" && !!e && "full" in e && e.full) ?? !1, zE = (e, t) => {
49787
49787
  let n = gT(e, "text")?.toString() || "", r = hT(e, "text"), i = RE(e), a = t.visualization === "editableTable" && t.maxWidth !== void 0, o = a ? 1 : LE(e) || 3;
49788
- return /* @__PURE__ */ U(T, {
49788
+ return /* @__PURE__ */ U(w, {
49789
49789
  className: c(a ? "whitespace-nowrap text-f1-foreground" : "whitespace-pre-wrap break-words text-f1-foreground", r && "text-f1-foreground-secondary", t.visualization === "table" && pT.multiline),
49790
49790
  lines: o,
49791
49791
  disabled: i && !a,
@@ -49839,7 +49839,7 @@ var IE = (e, t) => {
49839
49839
  lastName: e.lastName.toString()
49840
49840
  },
49841
49841
  size: "xs"
49842
- }), /* @__PURE__ */ U(T, {
49842
+ }), /* @__PURE__ */ U(w, {
49843
49843
  className: c("min-w-0 flex-1", e.deactivated ? "text-f1-foreground/[0.61]" : "text-f1-foreground"),
49844
49844
  tag: "span",
49845
49845
  children: n
@@ -50231,7 +50231,7 @@ var qD = ({ count: e, list: t }) => {
50231
50231
  className: "flex max-h-[220px] w-fit flex-col",
50232
50232
  children: t.map((e, t) => /* @__PURE__ */ U("div", {
50233
50233
  className: "flex w-max max-w-72 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
50234
- children: e.description ? /* @__PURE__ */ U(g, {
50234
+ children: e.description ? /* @__PURE__ */ U(_, {
50235
50235
  label: e.description,
50236
50236
  children: /* @__PURE__ */ U("div", { children: /* @__PURE__ */ U(Zw, { tag: e }) })
50237
50237
  }) : /* @__PURE__ */ U(Zw, { tag: e })
@@ -50279,7 +50279,7 @@ var YD = r(JD), XD = (e) => /* @__PURE__ */ U(YD, {
50279
50279
  src: e.src
50280
50280
  },
50281
50281
  size: "xs"
50282
- }), /* @__PURE__ */ U(T, {
50282
+ }), /* @__PURE__ */ U(w, {
50283
50283
  className: c("min-w-0 flex-1 text-f1-foreground", i && "break-words"),
50284
50284
  tag: "span",
50285
50285
  lines: n,
@@ -50290,7 +50290,7 @@ var YD = r(JD), XD = (e) => /* @__PURE__ */ U(YD, {
50290
50290
  }, $D = (e) => gT(e, "text")?.toString() ?? "", eO = {
50291
50291
  text: (e, t) => {
50292
50292
  let n = hT(e, "text"), r = $D(e);
50293
- return /* @__PURE__ */ U(T, {
50293
+ return /* @__PURE__ */ U(w, {
50294
50294
  lines: 1,
50295
50295
  tag: "span",
50296
50296
  className: c("text-f1-foreground", n && "text-f1-foreground-secondary", t.visualization === "table" && pT.text),
@@ -50491,7 +50491,7 @@ var gO = uO, _O = fO, vO = (e, t) => t && e ? "indeterminate" : e, yO = (e, t) =
50491
50491
  checked: m,
50492
50492
  onCheckedChange: yO(o.onCheckedChange, m),
50493
50493
  disabled: n,
50494
- children: /* @__PURE__ */ U(b, { children: /* @__PURE__ */ U(_O, {
50494
+ children: /* @__PURE__ */ U(v, { children: /* @__PURE__ */ U(_O, {
50495
50495
  className: "absolute inset-0 z-[2] flex items-center justify-center text-current transition-none",
50496
50496
  children: t ? /* @__PURE__ */ U(D, {
50497
50497
  icon: j,
@@ -51873,7 +51873,7 @@ function QA({ mode: e, selected: t, onSelect: n, month: r, onMonthChange: i, mot
51873
51873
  minDate: o,
51874
51874
  maxDate: s,
51875
51875
  disabledDates: c
51876
- }), g = l ? { highlighted: l } : void 0, v = R((e) => {
51876
+ }), g = l ? { highlighted: l } : void 0, _ = R((e) => {
51877
51877
  if (!n) return;
51878
51878
  let r = t;
51879
51879
  if (ZA(r) && e?.from) {
@@ -51900,11 +51900,11 @@ function QA({ mode: e, selected: t, onSelect: n, month: r, onMonthChange: i, mot
51900
51900
  x: e === 1 ? -40 : 40
51901
51901
  })
51902
51902
  };
51903
- return e === "single" ? /* @__PURE__ */ U(b, {
51903
+ return e === "single" ? /* @__PURE__ */ U(v, {
51904
51904
  mode: "popLayout",
51905
51905
  initial: !1,
51906
51906
  custom: a,
51907
- children: /* @__PURE__ */ U(_.div, {
51907
+ children: /* @__PURE__ */ U(C.div, {
51908
51908
  variants: y,
51909
51909
  custom: a,
51910
51910
  initial: "hidden",
@@ -51931,11 +51931,11 @@ function QA({ mode: e, selected: t, onSelect: n, month: r, onMonthChange: i, mot
51931
51931
  modifiers: g
51932
51932
  })
51933
51933
  }, r.toISOString())
51934
- }) : /* @__PURE__ */ U(b, {
51934
+ }) : /* @__PURE__ */ U(v, {
51935
51935
  mode: "popLayout",
51936
51936
  initial: !1,
51937
51937
  custom: a,
51938
- children: /* @__PURE__ */ U(_.div, {
51938
+ children: /* @__PURE__ */ U(C.div, {
51939
51939
  variants: y,
51940
51940
  custom: a,
51941
51941
  initial: "hidden",
@@ -51954,7 +51954,7 @@ function QA({ mode: e, selected: t, onSelect: n, month: r, onMonthChange: i, mot
51954
51954
  mode: "range",
51955
51955
  disabled: h,
51956
51956
  selected: t,
51957
- onSelect: v,
51957
+ onSelect: _,
51958
51958
  month: r,
51959
51959
  onMonthChange: i,
51960
51960
  locale: p,
@@ -52101,20 +52101,20 @@ var oj = (e) => e < 6 ? 1 : 2, sj = (e, t) => {
52101
52101
  start: i,
52102
52102
  end: a
52103
52103
  }) || mu(r.from, i) && !!r.to && pu(r.to, a) : i ? oj(i.getMonth()) === e && i.getFullYear() === n : !1;
52104
- }, v = (e, t) => e === f && t === d, y = (e, n) => {
52104
+ }, _ = (e, t) => e === f && t === d, y = (e, n) => {
52105
52105
  if (!t || !ij(t) || !t.from) return !1;
52106
52106
  let r = t.from;
52107
52107
  return oj(r.getMonth()) === e && r.getFullYear() === n;
52108
- }, x = (e, n) => {
52108
+ }, b = (e, n) => {
52109
52109
  if (!t || !ij(t) || !t.to) return !1;
52110
52110
  let r = t.to;
52111
52111
  return oj(r.getMonth()) === e && r.getFullYear() === n;
52112
52112
  };
52113
- return /* @__PURE__ */ U(b, {
52113
+ return /* @__PURE__ */ U(v, {
52114
52114
  mode: "popLayout",
52115
52115
  initial: !1,
52116
52116
  custom: o,
52117
- children: /* @__PURE__ */ U(_.div, {
52117
+ children: /* @__PURE__ */ U(C.div, {
52118
52118
  className: "flex flex-col gap-4",
52119
52119
  custom: o,
52120
52120
  variants: {
@@ -52151,7 +52151,7 @@ var oj = (e) => e < 6 ? 1 : 2, sj = (e, t) => {
52151
52151
  }), /* @__PURE__ */ U("div", {
52152
52152
  className: "flex flex-1",
52153
52153
  children: s.map((n) => {
52154
- let r = g(n, t), o = v(n, t), s = y(n, t), u = x(n, t), d = sj(n, t), f = i && mu(d.from, i) || a && d.to && pu(d.to, a);
52154
+ let r = g(n, t), o = _(n, t), s = y(n, t), u = b(n, t), d = sj(n, t), f = i && mu(d.from, i) || a && d.to && pu(d.to, a);
52155
52155
  return /* @__PURE__ */ W("button", {
52156
52156
  onClick: () => h(n, t),
52157
52157
  disabled: f,
@@ -52829,12 +52829,12 @@ function _M({ mode: e, selected: t, onSelect: n, year: r, motionDirection: i = 1
52829
52829
  }, m = (e) => e === f.getMonth() && r === f.getFullYear(), h = (e) => t ? ij(t) ? t.from && t.to ? Ad(new Date(r, e, 15), {
52830
52830
  start: t.from,
52831
52831
  end: t.to
52832
- }) : t.from ? t.from.getMonth() === e && t.from.getFullYear() === r : !1 : t.getMonth() === e && t.getFullYear() === r : !1, g = (e) => !t || !ij(t) || !t.from ? !1 : t.from.getMonth() === e && t.from.getFullYear() === r, v = (e) => !t || !ij(t) || !t.to ? !1 : t.to.getMonth() === e && t.to.getFullYear() === r;
52833
- return /* @__PURE__ */ U(b, {
52832
+ }) : t.from ? t.from.getMonth() === e && t.from.getFullYear() === r : !1 : t.getMonth() === e && t.getFullYear() === r : !1, g = (e) => !t || !ij(t) || !t.from ? !1 : t.from.getMonth() === e && t.from.getFullYear() === r, _ = (e) => !t || !ij(t) || !t.to ? !1 : t.to.getMonth() === e && t.to.getFullYear() === r;
52833
+ return /* @__PURE__ */ U(v, {
52834
52834
  mode: "popLayout",
52835
52835
  initial: !1,
52836
52836
  custom: i,
52837
- children: /* @__PURE__ */ U(_.div, {
52837
+ children: /* @__PURE__ */ U(C.div, {
52838
52838
  className: c("grid gap-y-3", l ? "grid-cols-2 gap-y-2" : "grid-cols-3"),
52839
52839
  custom: i,
52840
52840
  variants: {
@@ -52864,14 +52864,14 @@ function _M({ mode: e, selected: t, onSelect: n, year: r, motionDirection: i = 1
52864
52864
  ]
52865
52865
  },
52866
52866
  children: d.map((t) => {
52867
- let n = m(t.index), i = h(t.index), a = g(t.index), c = v(t.index), u = new Date(r, t.index, 1), d = _l(u), f = PA(u), _ = o && mu(d, o) || s && pu(f, s);
52867
+ let n = m(t.index), i = h(t.index), a = g(t.index), c = _(t.index), u = new Date(r, t.index, 1), d = _l(u), f = PA(u), v = o && mu(d, o) || s && pu(f, s);
52868
52868
  return /* @__PURE__ */ W("button", {
52869
52869
  type: "button",
52870
52870
  onClick: () => p(t.index),
52871
- disabled: _,
52871
+ disabled: v,
52872
52872
  className: hM({
52873
52873
  compact: l,
52874
- disabled: _,
52874
+ disabled: v,
52875
52875
  mode: e,
52876
52876
  isSelected: i,
52877
52877
  isStart: a,
@@ -53102,11 +53102,11 @@ function WM({ periods: e, header: t, year: n, motionDirection: r = 1, selected:
53102
53102
  children: [t ? /* @__PURE__ */ U("div", {
53103
53103
  className: "px-2 font-medium text-f1-foreground-secondary",
53104
53104
  children: t
53105
- }) : null, /* @__PURE__ */ U(b, {
53105
+ }) : null, /* @__PURE__ */ U(v, {
53106
53106
  mode: "popLayout",
53107
53107
  initial: !1,
53108
53108
  custom: r,
53109
- children: /* @__PURE__ */ U(_.div, {
53109
+ children: /* @__PURE__ */ U(C.div, {
53110
53110
  className: c("grid max-h-72 grid-cols-2 overflow-y-auto", d ? "gap-0.5" : "gap-1"),
53111
53111
  custom: r,
53112
53112
  variants: {
@@ -53270,20 +53270,20 @@ var qM = (e) => {
53270
53270
  start: i,
53271
53271
  end: a
53272
53272
  }) || mu(r.from, i) && pu(r.to, a) : i ? YM(i.getMonth()) === e && i.getFullYear() === n : !1;
53273
- }, v = (e, t) => e === f && t === d, y = (e, n) => {
53273
+ }, _ = (e, t) => e === f && t === d, y = (e, n) => {
53274
53274
  if (!t || !ij(t) || !t.from) return !1;
53275
53275
  let r = t.from;
53276
53276
  return YM(r.getMonth()) === e && r.getFullYear() === n;
53277
- }, x = (e, n) => {
53277
+ }, b = (e, n) => {
53278
53278
  if (!t || !ij(t) || !t.to) return !1;
53279
53279
  let r = t.to;
53280
53280
  return YM(r.getMonth()) === e && r.getFullYear() === n;
53281
53281
  };
53282
- return /* @__PURE__ */ U(b, {
53282
+ return /* @__PURE__ */ U(v, {
53283
53283
  mode: "popLayout",
53284
53284
  initial: !1,
53285
53285
  custom: i,
53286
- children: /* @__PURE__ */ U(_.div, {
53286
+ children: /* @__PURE__ */ U(C.div, {
53287
53287
  className: "flex flex-col gap-4",
53288
53288
  custom: i,
53289
53289
  variants: {
@@ -53320,7 +53320,7 @@ var qM = (e) => {
53320
53320
  }), /* @__PURE__ */ U("div", {
53321
53321
  className: "flex flex-1",
53322
53322
  children: s.map((n) => {
53323
- let r = g(n, t), i = v(n, t), s = y(n, t), u = x(n, t), d = ZM(n, t), f = a && mu(d.from, a) || o && d.to && pu(d.to, o);
53323
+ let r = g(n, t), i = _(n, t), s = y(n, t), u = b(n, t), d = ZM(n, t), f = a && mu(d.from, a) || o && d.to && pu(d.to, o);
53324
53324
  return /* @__PURE__ */ W("button", {
53325
53325
  onClick: () => h(n, t),
53326
53326
  disabled: f,
@@ -53491,15 +53491,15 @@ function dN({ selected: e, onSelect: t, month: n, onMonthChange: r, motionDirect
53491
53491
  e,
53492
53492
  p,
53493
53493
  d
53494
- ]), v = JA({
53494
+ ]), _ = JA({
53495
53495
  minDate: a,
53496
53496
  maxDate: o
53497
53497
  });
53498
- return /* @__PURE__ */ U(b, {
53498
+ return /* @__PURE__ */ U(v, {
53499
53499
  mode: "popLayout",
53500
53500
  initial: !1,
53501
53501
  custom: i,
53502
- children: /* @__PURE__ */ U(_.div, {
53502
+ children: /* @__PURE__ */ U(C.div, {
53503
53503
  variants: f,
53504
53504
  custom: i,
53505
53505
  initial: "hidden",
@@ -53516,7 +53516,7 @@ function dN({ selected: e, onSelect: t, month: n, onMonthChange: r, motionDirect
53516
53516
  },
53517
53517
  children: /* @__PURE__ */ U(XA, {
53518
53518
  mode: "range",
53519
- disabled: v,
53519
+ disabled: _,
53520
53520
  selected: g,
53521
53521
  onDayClick: m,
53522
53522
  onSelect: h,
@@ -53661,12 +53661,12 @@ function bN({ mode: e, selected: t, onSelect: n, decade: r, motionDirection: i =
53661
53661
  }, p = (e) => t ? ij(t) ? t.from && t.to ? Ad(new Date(e, 6, 1), {
53662
53662
  start: t.from,
53663
53663
  end: t.to
53664
- }) : t.from ? t.from.getFullYear() === e : !1 : t.getFullYear() === e : !1, m = (e) => e === s.getFullYear(), h = (e) => !t || !ij(t) || !t.from ? !1 : t.from.getFullYear() === e, g = (e) => !t || !ij(t) || !t.to ? !1 : t.to.getFullYear() === e, v = (e) => e < u || e >= u + 10;
53665
- return /* @__PURE__ */ U(b, {
53664
+ }) : t.from ? t.from.getFullYear() === e : !1 : t.getFullYear() === e : !1, m = (e) => e === s.getFullYear(), h = (e) => !t || !ij(t) || !t.from ? !1 : t.from.getFullYear() === e, g = (e) => !t || !ij(t) || !t.to ? !1 : t.to.getFullYear() === e, _ = (e) => e < u || e >= u + 10;
53665
+ return /* @__PURE__ */ U(v, {
53666
53666
  mode: "popLayout",
53667
53667
  initial: !1,
53668
53668
  custom: i,
53669
- children: /* @__PURE__ */ U(_.div, {
53669
+ children: /* @__PURE__ */ U(C.div, {
53670
53670
  className: "grid grid-cols-4 gap-y-3",
53671
53671
  custom: i,
53672
53672
  variants: {
@@ -53696,11 +53696,11 @@ function bN({ mode: e, selected: t, onSelect: n, decade: r, motionDirection: i =
53696
53696
  ]
53697
53697
  },
53698
53698
  children: d.map((t) => {
53699
- let n = p(t), r = h(t), i = g(t), s = v(t), u = m(t), d = new Date(t, 0, 1), _ = a && mu(vl(d), a) || o && pu(IA(d), o);
53699
+ let n = p(t), r = h(t), i = g(t), s = _(t), u = m(t), d = new Date(t, 0, 1), v = a && mu(vl(d), a) || o && pu(IA(d), o);
53700
53700
  return /* @__PURE__ */ W("button", {
53701
53701
  onClick: () => f(t),
53702
- disabled: _,
53703
- className: c("relative isolate flex h-10 items-center justify-center rounded-md font-medium text-f1-foreground transition-colors duration-100 after:absolute after:inset-0 after:z-0 after:rounded-md after:bg-f1-background-selected-bold after:opacity-0 after:transition-all after:duration-100 after:content-['']", !_ && "hover:bg-f1-background-hover hover:after:bg-f1-background-selected-bold-hover", _ && "cursor-not-allowed text-f1-foreground-secondary", l(), s && "[&>span]:font-normal [&>span]:text-f1-foreground-secondary", n && e === "single" && "bg-f1-background-selected-bold after:opacity-100 hover:bg-f1-background-selected-bold-hover [&>span]:z-10 [&>span]:text-f1-foreground-inverse [&>span]:opacity-100", n && e === "range" && "rounded-none bg-f1-background-selected hover:bg-f1-background-selected [&:nth-child(4n+1)]:rounded-s-md [&:nth-child(4n+4)]:rounded-e-md [&>span]:text-f1-foreground-selected [&>span]:opacity-100", (r || i) && e === "range" && "rounded-none bg-f1-background-selected after:opacity-100 [&>span]:z-10 [&>span]:text-f1-foreground-inverse [&>span]:opacity-100", r && e === "range" && i && "rounded-s-md", i && e === "range" && "rounded-e-md"),
53702
+ disabled: v,
53703
+ className: c("relative isolate flex h-10 items-center justify-center rounded-md font-medium text-f1-foreground transition-colors duration-100 after:absolute after:inset-0 after:z-0 after:rounded-md after:bg-f1-background-selected-bold after:opacity-0 after:transition-all after:duration-100 after:content-['']", !v && "hover:bg-f1-background-hover hover:after:bg-f1-background-selected-bold-hover", v && "cursor-not-allowed text-f1-foreground-secondary", l(), s && "[&>span]:font-normal [&>span]:text-f1-foreground-secondary", n && e === "single" && "bg-f1-background-selected-bold after:opacity-100 hover:bg-f1-background-selected-bold-hover [&>span]:z-10 [&>span]:text-f1-foreground-inverse [&>span]:opacity-100", n && e === "range" && "rounded-none bg-f1-background-selected hover:bg-f1-background-selected [&:nth-child(4n+1)]:rounded-s-md [&:nth-child(4n+4)]:rounded-e-md [&>span]:text-f1-foreground-selected [&>span]:opacity-100", (r || i) && e === "range" && "rounded-none bg-f1-background-selected after:opacity-100 [&>span]:z-10 [&>span]:text-f1-foreground-inverse [&>span]:opacity-100", r && e === "range" && i && "rounded-s-md", i && e === "range" && "rounded-e-md"),
53704
53704
  children: [/* @__PURE__ */ U("span", { children: t }), u ? /* @__PURE__ */ U("div", { className: c("absolute inset-x-0 bottom-1 z-20 mx-auto h-0.5 w-1.5 rounded-full bg-f1-background-selected-bold transition-colors duration-100", n && e === "single" && "bg-f1-background", (r || i) && "bg-f1-background", !r && !i && n && e === "range" && "bg-f1-background-selected-bold") }) : null]
53705
53705
  }, t);
53706
53706
  })
@@ -53818,7 +53818,7 @@ function AN(e) {
53818
53818
  //#region src/elements/F0InputField/AppendTag.tsx
53819
53819
  var jN = ({ text: e }) => /* @__PURE__ */ U("div", {
53820
53820
  className: c("flex h-[24px] max-w-20 items-center gap-2 rounded-sm border border-solid border-f1-border px-2 py-0.5 font-medium text-f1-foreground-secondary"),
53821
- children: /* @__PURE__ */ U(T, {
53821
+ children: /* @__PURE__ */ U(w, {
53822
53822
  tag: "span",
53823
53823
  children: e
53824
53824
  })
@@ -53936,7 +53936,7 @@ var jN = ({ text: e }) => /* @__PURE__ */ U("div", {
53936
53936
  icon: a,
53937
53937
  size: "sm"
53938
53938
  }) : null,
53939
- /* @__PURE__ */ U(T, {
53939
+ /* @__PURE__ */ U(w, {
53940
53940
  className: "shrink-1 min-w-0",
53941
53941
  children: e
53942
53942
  }),
@@ -53988,7 +53988,7 @@ var jN = ({ text: e }) => /* @__PURE__ */ U("div", {
53988
53988
  class: "hover:border-f1-border-critical-bold"
53989
53989
  }
53990
53990
  ]
53991
- }), WN = L(({ children: e, disabled: t, readonly: n, label: r, labelIcon: i, hideLabel: a = !1, className: o, required: s, error: u, status: d, hint: f, size: p, icon: m, canGrow: h = !1, value: g, loading: v = !1, loadingIndicator: y, placeholder: x, clearable: S = !1, isEmpty: C = BN, emptyValue: w = zN, lengthProvider: T = VN, maxLength: E, hideMaxLength: O = !1, append: k, hidePlaceholder: A = !1, valueSlot: j, clearKeepsText: ee = !1, canClear: ne, onClickPlaceholder: re, onClickChildren: ie, onClickContent: ae, name: oe, role: M, appendTag: N, avatar: P, "aria-controls": ce, "aria-expanded": le, "aria-activedescendant": ue, "aria-autocomplete": de, "aria-describedby": fe, buttonToggle: pe, transparent: me, variant: he = "field", editing: ge = !1, inlineText: _e, onBlurWithin: ve, ...ye }, be) => {
53991
+ }), WN = L(({ children: e, disabled: t, readonly: n, label: r, labelIcon: i, hideLabel: a = !1, className: o, required: s, error: u, status: d, hint: f, size: p, icon: m, canGrow: h = !1, value: g, loading: _ = !1, loadingIndicator: y, placeholder: b, clearable: x = !1, isEmpty: S = BN, emptyValue: w = zN, lengthProvider: T = VN, maxLength: E, hideMaxLength: O = !1, append: k, hidePlaceholder: A = !1, valueSlot: j, clearKeepsText: ee = !1, canClear: ne, onClickPlaceholder: re, onClickChildren: ie, onClickContent: ae, name: oe, role: M, appendTag: N, avatar: P, "aria-controls": ce, "aria-expanded": le, "aria-activedescendant": ue, "aria-autocomplete": de, "aria-describedby": fe, buttonToggle: pe, transparent: me, variant: he = "field", editing: ge = !1, inlineText: _e, onBlurWithin: ve, ...ye }, be) => {
53992
53992
  let Se = he === "inline", Ce = p ?? (Se ? "md" : "sm"), we = pt(), Te = ye.id ?? we, Ee = t || n, [De, Oe] = H(g);
53993
53993
  f && (d = {
53994
53994
  type: "default",
@@ -54027,7 +54027,7 @@ var jN = ({ text: e }) => /* @__PURE__ */ U("div", {
54027
54027
  }, 100)), () => {
54028
54028
  Le.current &&= (clearInterval(Le.current), null);
54029
54029
  }), [Pe, ze]);
54030
- let Be = d?.message ? `${Te}-messages` : void 0, Ve = [fe ?? e.props["aria-describedby"], Be].filter(Boolean).join(" ") || void 0, He = k || N || pe, Ue = ne ?? !C(De), We = j != null && BN(De) && !Pe;
54030
+ let Be = d?.message ? `${Te}-messages` : void 0, Ve = [fe ?? e.props["aria-describedby"], Be].filter(Boolean).join(" ") || void 0, He = k || N || pe, Ue = ne ?? !S(De), We = j != null && BN(De) && !Pe;
54031
54031
  return Se && !ge ? /* @__PURE__ */ W("div", {
54032
54032
  className: c("flex h-full w-full flex-col gap-2", o),
54033
54033
  ref: be,
@@ -54044,7 +54044,7 @@ var jN = ({ text: e }) => /* @__PURE__ */ U("div", {
54044
54044
  label: r,
54045
54045
  hideLabel: a,
54046
54046
  text: De == null || De === "" ? "" : _e ?? De,
54047
- placeholder: x,
54047
+ placeholder: b,
54048
54048
  size: Ce
54049
54049
  }),
54050
54050
  /* @__PURE__ */ U(LN, {
@@ -54135,8 +54135,8 @@ var jN = ({ text: e }) => /* @__PURE__ */ U("div", {
54135
54135
  ...d?.type === "error" && { "aria-invalid": !0 },
54136
54136
  id: Te,
54137
54137
  value: De ?? "",
54138
- "aria-label": r || x || "no-label",
54139
- "aria-busy": v,
54138
+ "aria-label": r || b || "no-label",
54139
+ "aria-busy": _,
54140
54140
  "aria-disabled": Ee,
54141
54141
  name: oe,
54142
54142
  className: c("h-full w-full min-w-0 px-3 text-f1-foreground", "[&::-webkit-search-cancel-button]:hidden", (m || P) && "pl-8", (m || P) && Ce === "md" && "pl-9", We && "pl-0", t && "cursor-not-allowed", e.props.className, NN({ size: Ce }))
@@ -54144,21 +54144,21 @@ var jN = ({ text: e }) => /* @__PURE__ */ U("div", {
54144
54144
  }),
54145
54145
  /* @__PURE__ */ U("div", {
54146
54146
  "data-slot": "placeholder",
54147
- className: c("pointer-events-none absolute inset-x-0 top-[1px] z-10 flex flex-1 justify-start overflow-hidden px-3 text-f1-foreground-secondary transition-opacity", !h && "bottom-0", h && "items-start", (m || P) && "pl-8", (m || P) && Ce === "md" && "pl-9", NN({ size: Ce }), x && !A && !We && C(De) && !Pe ? "opacity-100" : "opacity-0"),
54147
+ className: c("pointer-events-none absolute inset-x-0 top-[1px] z-10 flex flex-1 justify-start overflow-hidden px-3 text-f1-foreground-secondary transition-opacity", !h && "bottom-0", h && "items-start", (m || P) && "pl-8", (m || P) && Ce === "md" && "pl-9", NN({ size: Ce }), b && !A && !We && S(De) && !Pe ? "opacity-100" : "opacity-0"),
54148
54148
  onClick: Ne,
54149
54149
  "aria-hidden": "true",
54150
- title: x,
54150
+ title: b,
54151
54151
  children: /* @__PURE__ */ U("span", {
54152
54152
  className: "min-w-0 truncate",
54153
- children: x
54153
+ children: b
54154
54154
  })
54155
54155
  }),
54156
- S || He || v ? /* @__PURE__ */ W("div", {
54156
+ x || He || _ ? /* @__PURE__ */ W("div", {
54157
54157
  className: c("flex h-fit min-w-6 items-center gap-1.5 self-center pr-[3px]", Ce === "md" && "pr-[7px]", "relative"),
54158
54158
  children: [
54159
- S && !Ee ? /* @__PURE__ */ U(b, {
54159
+ x && !Ee ? /* @__PURE__ */ U(v, {
54160
54160
  initial: Ue,
54161
- children: Ue ? /* @__PURE__ */ U(_.button, {
54161
+ children: Ue ? /* @__PURE__ */ U(C.button, {
54162
54162
  initial: { opacity: 0 },
54163
54163
  animate: { opacity: 1 },
54164
54164
  exit: { opacity: 0 },
@@ -54196,7 +54196,7 @@ var jN = ({ text: e }) => /* @__PURE__ */ U("div", {
54196
54196
  }) : null
54197
54197
  ]
54198
54198
  }) : null,
54199
- /* @__PURE__ */ U(b, { children: v ? /* @__PURE__ */ U("div", {
54199
+ /* @__PURE__ */ U(v, { children: _ ? /* @__PURE__ */ U("div", {
54200
54200
  className: c("pointer-events-none flex h-6 w-6 items-center justify-center", y?.asOverlay && c("absolute right-2 top-1/2 -translate-y-1/2", "bg-gradient-to-l from-[#FFFFFF] from-0% dark:from-[#192231]", "via-[#FFFFFF] via-60% dark:via-[#192231]", "to-transparent to-100%", Ce === "md" && "right-3"), NN({ size: Ce })),
54201
54201
  style: { right: typeof y?.offset == "number" ? y?.offset + (Ce === "md" ? 6 : 0) : void 0 },
54202
54202
  children: /* @__PURE__ */ U(tT, {
@@ -54819,7 +54819,7 @@ function sP({ data: e, paginationInfo: t, source: n, selectionMode: r = "multi",
54819
54819
  //#endregion
54820
54820
  //#region src/elements/ChevronToggle/ChevronToggle.tsx
54821
54821
  var cP = ({ open: e, className: t, disabled: n, size: r = "xs", closedRotation: i = 0, openRotation: a = 180 }) => {
54822
- let o = S();
54822
+ let o = b();
54823
54823
  return /* @__PURE__ */ U("div", {
54824
54824
  style: {
54825
54825
  transform: `rotate(${e ? a : i}deg)`,
@@ -54862,14 +54862,14 @@ var cP = ({ open: e, className: t, disabled: n, size: r = "xs", closedRotation:
54862
54862
  dataTestId: a,
54863
54863
  children: r(o)
54864
54864
  });
54865
- }, uP = ({ label: e, itemCount: t, avatar: n, metadata: r, description: i, open: o = !1, onOpenChange: u, showOpenChange: d, selectable: f, select: p, onSelectChange: m, className: g, chevronPosition: _ = "trailing", closedRotation: v, openRotation: y }) => {
54865
+ }, uP = ({ label: e, itemCount: t, avatar: n, metadata: r, description: i, open: o = !1, onOpenChange: u, showOpenChange: d, selectable: f, select: p, onSelectChange: m, className: h, chevronPosition: _ = "trailing", closedRotation: v, openRotation: y }) => {
54866
54866
  let b = a(), [x, S] = H(o);
54867
54867
  z(() => {
54868
54868
  S(o);
54869
54869
  }, [o]);
54870
54870
  let C = () => {
54871
54871
  S(!x), u?.(!x);
54872
- }, w = () => {
54872
+ }, T = () => {
54873
54873
  d ? C() : f && m?.(!p);
54874
54874
  }, E = d && /* @__PURE__ */ U("span", {
54875
54875
  className: "text-f1-icon-secondary",
@@ -54881,11 +54881,11 @@ var cP = ({ open: e, className: t, disabled: n, size: r = "xs", closedRotation:
54881
54881
  openRotation: y
54882
54882
  })
54883
54883
  }), D = (e) => {
54884
- (e.key === "Enter" || e.key === " ") && (e.key === " " && e.preventDefault(), w());
54884
+ (e.key === "Enter" || e.key === " ") && (e.key === " " && e.preventDefault(), T());
54885
54885
  }, O = d || f;
54886
54886
  return /* @__PURE__ */ W("div", {
54887
- className: c("pointer-events-auto flex items-center gap-2", O && l("rounded"), g),
54888
- onClick: w,
54887
+ className: c("pointer-events-auto flex items-center gap-2", O && l("rounded"), h),
54888
+ onClick: T,
54889
54889
  ...O && {
54890
54890
  role: "button",
54891
54891
  tabIndex: 0,
@@ -54921,7 +54921,7 @@ var cP = ({ open: e, className: t, disabled: n, size: r = "xs", closedRotation:
54921
54921
  /* @__PURE__ */ U(lP, {
54922
54922
  resolve: t,
54923
54923
  fallback: /* @__PURE__ */ U(s, { className: "h-4 w-5" }),
54924
- children: (e) => e !== void 0 && /* @__PURE__ */ U(h, { value: e })
54924
+ children: (e) => e !== void 0 && /* @__PURE__ */ U(g, { value: e })
54925
54925
  }),
54926
54926
  r === void 0 ? null : /* @__PURE__ */ U(lP, {
54927
54927
  resolve: r,
@@ -54945,7 +54945,7 @@ var cP = ({ open: e, className: t, disabled: n, size: r = "xs", closedRotation:
54945
54945
  i === void 0 ? null : /* @__PURE__ */ U(lP, {
54946
54946
  resolve: i,
54947
54947
  fallback: /* @__PURE__ */ U(s, { className: "h-4 w-32" }),
54948
- children: (e) => e ? /* @__PURE__ */ U(T, {
54948
+ children: (e) => e ? /* @__PURE__ */ U(w, {
54949
54949
  className: "flex-1 text-base text-f1-foreground-secondary",
54950
54950
  children: e
54951
54951
  }) : null
@@ -56642,12 +56642,12 @@ var bI = 8, xI = [
56642
56642
  "select:not([disabled])",
56643
56643
  "textarea:not([disabled])",
56644
56644
  "[tabindex]:not([tabindex=\"-1\"])"
56645
- ].join(","), SI = (e) => Array.from(e.querySelectorAll(xI)).filter((e) => (e.tabIndex >= 0 || e.getAttribute("role") === "searchbox") && !e.matches("[data-radix-scroll-area-viewport]") && !e.closest("[hidden], [aria-hidden=\"true\"], [inert], [role=\"listbox\"]")), CI = L(({ items: e = void 0, className: t, children: n, position: r = "popper", taller: i = !1, emptyMessage: a, emptyAction: o, spaciousEmptyState: s, onScrollBottom: l, onScrollTop: u, isLoadingMore: d, isLoading: f, scrollMargin: p, forceMinHeight: m, fitContentWidth: h = !1, showLoadingIndicator: g, asChild: _, portalContainer: v, bottom: y, "aria-label": b, "aria-labelledby": x, "aria-describedby": C, ...w }, T) => {
56645
+ ].join(","), SI = (e) => Array.from(e.querySelectorAll(xI)).filter((e) => (e.tabIndex >= 0 || e.getAttribute("role") === "searchbox") && !e.matches("[data-radix-scroll-area-viewport]") && !e.closest("[hidden], [aria-hidden=\"true\"], [inert], [role=\"listbox\"]")), CI = L(({ items: e = void 0, className: t, children: n, position: r = "popper", taller: i = !1, emptyMessage: a, emptyAction: o, spaciousEmptyState: s, onScrollBottom: l, onScrollTop: u, isLoadingMore: d, isLoading: f, scrollMargin: p, forceMinHeight: m, fitContentWidth: h = !1, showLoadingIndicator: g, asChild: _, portalContainer: v, bottom: y, "aria-label": x, "aria-labelledby": S, "aria-describedby": C, ...w }, T) => {
56646
56646
  let E = ft(GN), D = E.portalContainer && (E.position === "center" || E.position === "fullscreen"), O = v === void 0 ? D ? E.portalContainer : void 0 : v, k = V(null), A = V(null), j = Array.isArray(e), ee = B(() => j ? e.every((e) => !e.value && e.type !== "group-header") : !n, [
56647
56647
  j,
56648
56648
  e,
56649
56649
  n
56650
- ]), te = S(), [ne, re] = H(te), [ie, ae] = H(!1), { value: oe, open: M, as: se } = ft(fP), N = se === "list", P = B(() => new Set((Array.isArray(oe) ? oe : [oe]).filter((e) => e !== void 0)), [oe]), ce = B(() => e?.findIndex((e) => e.value !== void 0 && P.has(e.value)) ?? -1, [e, P]), le = N || te || ie, ue = yI({
56650
+ ]), te = b(), [ne, re] = H(te), [ie, ae] = H(!1), { value: oe, open: M, as: se } = ft(fP), N = se === "list", P = B(() => new Set((Array.isArray(oe) ? oe : [oe]).filter((e) => e !== void 0)), [oe]), ce = B(() => e?.findIndex((e) => e.value !== void 0 && P.has(e.value)) ?? -1, [e, P]), le = N || te || ie, ue = yI({
56651
56651
  count: e?.length || 0,
56652
56652
  getScrollElement: () => k.current,
56653
56653
  estimateSize: (t) => e?.[t]?.height || 0,
@@ -56779,8 +56779,8 @@ var bI = 8, xI = [
56779
56779
  scrollMargin: p,
56780
56780
  children: N ? /* @__PURE__ */ U(VF, {
56781
56781
  asChild: !0,
56782
- "aria-label": b,
56783
- "aria-labelledby": x,
56782
+ "aria-label": x,
56783
+ "aria-labelledby": S,
56784
56784
  "aria-describedby": C,
56785
56785
  children: /* @__PURE__ */ U("div", {
56786
56786
  className: "min-h-0 p-1",
@@ -56788,8 +56788,8 @@ var bI = 8, xI = [
56788
56788
  })
56789
56789
  }) : /* @__PURE__ */ U(VF, {
56790
56790
  asChild: !0,
56791
- "aria-label": b,
56792
- "aria-labelledby": x,
56791
+ "aria-label": x,
56792
+ "aria-labelledby": S,
56793
56793
  "aria-describedby": C,
56794
56794
  children: /* @__PURE__ */ U(HF, {
56795
56795
  asChild: !0,
@@ -56865,13 +56865,13 @@ var EI = dt(null), DI = L(function({ disabled: e, open: t, size: n = "sm", class
56865
56865
  fallback: /* @__PURE__ */ U(s, { className: "h-4 w-4" }),
56866
56866
  children: (e) => /* @__PURE__ */ U("div", {
56867
56867
  className: "flex h-[24px] items-center",
56868
- children: /* @__PURE__ */ U(T, {
56868
+ children: /* @__PURE__ */ U(w, {
56869
56869
  className: "text-f1-foreground-secondary",
56870
56870
  children: f(e)
56871
56871
  })
56872
56872
  })
56873
56873
  })
56874
- }), i ? o && /* @__PURE__ */ U(w, {
56874
+ }), i ? o && /* @__PURE__ */ U(S, {
56875
56875
  variant: "ghost",
56876
56876
  size: "sm",
56877
56877
  label: u.actions.clear,
@@ -56896,21 +56896,21 @@ var EI = dt(null), DI = L(function({ disabled: e, open: t, size: n = "sm", class
56896
56896
  return !e && !t ? null : /* @__PURE__ */ W("div", {
56897
56897
  className: "flex w-full flex-row justify-between items-center gap-2 border-0 border-t border-solid border-f1-border-secondary p-2",
56898
56898
  children: [
56899
- e?.map((e) => /* @__PURE__ */ U(E, {
56899
+ e?.map((e) => /* @__PURE__ */ U(T, {
56900
56900
  variant: e.variant,
56901
56901
  onClick: e.onClick,
56902
56902
  icon: e.icon,
56903
56903
  label: e.label,
56904
56904
  disabled: e.disabled
56905
56905
  }, e.label)),
56906
- i ? /* @__PURE__ */ U(E, {
56906
+ i ? /* @__PURE__ */ U(T, {
56907
56907
  onClick: r,
56908
56908
  label: s.filters.cancel,
56909
56909
  variant: "ghost"
56910
56910
  }) : null,
56911
56911
  t ? /* @__PURE__ */ U("div", {
56912
56912
  className: i ? "" : "ml-auto",
56913
- children: /* @__PURE__ */ U(E, {
56913
+ children: /* @__PURE__ */ U(T, {
56914
56914
  onClick: n,
56915
56915
  label: o ?? s.select.applySelection
56916
56916
  })
@@ -56999,7 +56999,7 @@ function RI({ count: e, noTooltip: t, onSpelledOutChange: n }) {
56999
56999
  let r = a();
57000
57000
  return LI(n, !1), /* @__PURE__ */ U("div", {
57001
57001
  className: "flex w-full items-center gap-1 text-left",
57002
- children: /* @__PURE__ */ U(T, {
57002
+ children: /* @__PURE__ */ U(w, {
57003
57003
  className: "min-w-0 flex-1 text-f1-foreground",
57004
57004
  noTooltip: t,
57005
57005
  children: `${e} ${e === 1 ? r.status.selected.singular : r.status.selected.plural}`.toLowerCase()
@@ -57028,7 +57028,7 @@ function BI({ selection: e, totalSelectedCount: t, allSelected: n, noTooltip: r,
57028
57028
  let o = a(), s = t ?? e.length;
57029
57029
  return LI(i, s === 0 && e.length === 0 || n !== !0 && null), s === 0 && e.length === 0 ? null : n === !0 ? /* @__PURE__ */ U("div", {
57030
57030
  className: "flex w-full items-center gap-1 text-left",
57031
- children: /* @__PURE__ */ U(T, {
57031
+ children: /* @__PURE__ */ U(w, {
57032
57032
  className: "min-w-0 flex-1 text-f1-foreground",
57033
57033
  noTooltip: r,
57034
57034
  children: `${o.status.selected.all} (${s})`
@@ -57061,7 +57061,7 @@ var UI = L(function({ selection: e, multiple: t, totalSelectedCount: n, allSelec
57061
57061
  }) : !c && n && n > 0 ? /* @__PURE__ */ U("div", {
57062
57062
  className: "flex min-w-0 flex-1 justify-start gap-1.5",
57063
57063
  ref: s,
57064
- children: /* @__PURE__ */ U(T, {
57064
+ children: /* @__PURE__ */ U(w, {
57065
57065
  tag: "span",
57066
57066
  className: "text-left text-f1-foreground-secondary",
57067
57067
  noTooltip: a,
@@ -57089,7 +57089,7 @@ var UI = L(function({ selection: e, multiple: t, totalSelectedCount: n, allSelec
57089
57089
  className: "h-5 shrink-0 text-f1-icon",
57090
57090
  children: /* @__PURE__ */ U(D, { icon: c.icon })
57091
57091
  }) : null,
57092
- /* @__PURE__ */ U(T, {
57092
+ /* @__PURE__ */ U(w, {
57093
57093
  ref: u,
57094
57094
  tag: "span",
57095
57095
  className: "text-left text-f1-foreground",
@@ -57114,7 +57114,7 @@ function GI({ item: e, onDeselect: t }) {
57114
57114
  size: "sm",
57115
57115
  className: "shrink-0 text-f1-icon"
57116
57116
  }) : null,
57117
- /* @__PURE__ */ U(T, {
57117
+ /* @__PURE__ */ U(w, {
57118
57118
  className: "text-sm",
57119
57119
  children: e.label
57120
57120
  })
@@ -57230,7 +57230,7 @@ var JI = /^\+\d{1,4}$/, YI = /* @__PURE__ */ new Set(), XI = (e) => e.type === "
57230
57230
  className: "flex min-w-0 flex-1 flex-col",
57231
57231
  children: [/* @__PURE__ */ W("div", {
57232
57232
  className: "flex min-w-0 items-baseline gap-1.5",
57233
- children: [/* @__PURE__ */ U(T, {
57233
+ children: [/* @__PURE__ */ U(w, {
57234
57234
  lines: 2,
57235
57235
  className: "font-medium",
57236
57236
  children: e.label
@@ -57238,7 +57238,7 @@ var JI = /^\+\d{1,4}$/, YI = /* @__PURE__ */ new Set(), XI = (e) => e.type === "
57238
57238
  className: "whitespace-nowrap text-f1-foreground-secondary",
57239
57239
  children: XI(e.metadata)
57240
57240
  }) : null]
57241
- }), e.description ? /* @__PURE__ */ U(T, {
57241
+ }), e.description ? /* @__PURE__ */ U(w, {
57242
57242
  lines: 2,
57243
57243
  className: "text-f1-foreground-secondary",
57244
57244
  children: e.description
@@ -57287,7 +57287,7 @@ var JI = /^\+\d{1,4}$/, YI = /* @__PURE__ */ new Set(), XI = (e) => e.type === "
57287
57287
  order: e.groupBy[r]?.defaultDirection ?? t?.order ?? "asc"
57288
57288
  })
57289
57289
  })
57290
- }), t?.field ? /* @__PURE__ */ U(E, {
57290
+ }), t?.field ? /* @__PURE__ */ U(T, {
57291
57291
  hideLabel: !0,
57292
57292
  label: i.collections.grouping.toggleDirection,
57293
57293
  variant: "outline",
@@ -57565,7 +57565,7 @@ var pL = 366, mL = (e) => {
57565
57565
  children: e
57566
57566
  }), /* @__PURE__ */ W("div", {
57567
57567
  className: c("flex items-center", s ? "gap-1" : "gap-2"),
57568
- children: [/* @__PURE__ */ U(E, {
57568
+ children: [/* @__PURE__ */ U(T, {
57569
57569
  onClick: () => u(-1),
57570
57570
  variant: "outline",
57571
57571
  label: d.navigation.previous,
@@ -57573,7 +57573,7 @@ var pL = 366, mL = (e) => {
57573
57573
  icon: $t,
57574
57574
  size: "sm",
57575
57575
  disabled: !l(-1)
57576
- }), /* @__PURE__ */ U(E, {
57576
+ }), /* @__PURE__ */ U(T, {
57577
57577
  onClick: () => u(1),
57578
57578
  variant: "outline",
57579
57579
  label: d.navigation.next,
@@ -57756,7 +57756,7 @@ function SL({ value: e, onChange: t, schema: n, isCompactMode: r }) {
57756
57756
  })
57757
57757
  }), r ? null : /* @__PURE__ */ U("div", {
57758
57758
  className: "sticky bottom-0 left-0 right-0 z-20 flex items-center justify-end gap-2 border border-solid border-transparent border-t-f1-border-secondary bg-f1-background/80 p-2 backdrop-blur-[8px]",
57759
- children: /* @__PURE__ */ U(E, {
57759
+ children: /* @__PURE__ */ U(T, {
57760
57760
  variant: "ghost",
57761
57761
  label: "Clear",
57762
57762
  onClick: () => a(),
@@ -57873,7 +57873,7 @@ function AL({ option: e, isSelected: t, onToggle: n, isCompactMode: r, disabled:
57873
57873
  onClick: i ? void 0 : n,
57874
57874
  children: [/* @__PURE__ */ U("span", {
57875
57875
  className: "min-w-0 flex-1",
57876
- children: /* @__PURE__ */ U(T, { children: e.label })
57876
+ children: /* @__PURE__ */ U(w, { children: e.label })
57877
57877
  }), /* @__PURE__ */ U(kL, {
57878
57878
  label: e.label,
57879
57879
  isSelected: t,
@@ -57999,7 +57999,7 @@ var qL = ({ label: e, expanded: t, hasSelectedDescendant: n, onToggle: r }) => {
57999
57999
  let i = a(), o = n ? `${e}. ${i.status.selected.singular}` : e;
58000
58000
  return /* @__PURE__ */ W("div", {
58001
58001
  className: "relative shrink-0",
58002
- children: [/* @__PURE__ */ U(E, {
58002
+ children: [/* @__PURE__ */ U(T, {
58003
58003
  variant: "ghost",
58004
58004
  size: "sm",
58005
58005
  onClick: r,
@@ -58015,7 +58015,7 @@ var qL = ({ label: e, expanded: t, hasSelectedDescendant: n, onToggle: r }) => {
58015
58015
  });
58016
58016
  };
58017
58017
  function JL({ option: e, isSelected: t, onToggle: n, isCompactMode: r, depth: i, onFilterChange: o, allFiltersValue: s, cacheKey: u, searchTerm: d, searchRevision: f, ancestorMatchesSearch: p = !1, disabled: m, disabledHintId: h }) {
58018
- let [g, _] = H(!1), [v, y] = H(null), b = a(), x = (e.children?.options ?? []).length > 0, { subtreeMatchesSearch: S, visibleChildren: C, hasMatchingChild: w } = HL(e, d, p), E = v?.revision === f ? v.expanded : w, D = d ? E : g, O = () => {
58018
+ let [g, _] = H(!1), [v, y] = H(null), b = a(), x = (e.children?.options ?? []).length > 0, { subtreeMatchesSearch: S, visibleChildren: C, hasMatchingChild: T } = HL(e, d, p), E = v?.revision === f ? v.expanded : T, D = d ? E : g, O = () => {
58019
58019
  d ? y({
58020
58020
  revision: f,
58021
58021
  expanded: !D
@@ -58056,7 +58056,7 @@ function JL({ option: e, isSelected: t, onToggle: n, isCompactMode: r, depth: i,
58056
58056
  onClick: m ? void 0 : n,
58057
58057
  children: [/* @__PURE__ */ U("span", {
58058
58058
  className: "min-w-0 flex-1",
58059
- children: /* @__PURE__ */ U(T, { children: e.label })
58059
+ children: /* @__PURE__ */ U(w, { children: e.label })
58060
58060
  }), /* @__PURE__ */ U(kL, {
58061
58061
  label: e.label,
58062
58062
  isSelected: t,
@@ -58097,7 +58097,7 @@ function YL({ selectedCount: e, totalSelected: t, maxSelected: n, allFilteredSel
58097
58097
  className: c("flex w-full items-center justify-between gap-1 pb-1", d),
58098
58098
  children: [/* @__PURE__ */ U("span", {
58099
58099
  className: "min-w-0 flex-1",
58100
- children: /* @__PURE__ */ U(T, {
58100
+ children: /* @__PURE__ */ U(w, {
58101
58101
  className: "text-f1-foreground-secondary",
58102
58102
  children: h
58103
58103
  })
@@ -58455,7 +58455,7 @@ function pR({ children: e, extraContent: t, inputWidth: n, trailingAction: r })
58455
58455
  ]
58456
58456
  });
58457
58457
  }
58458
- var mR = L(function({ locale: e, id: t, value: n, maxDecimals: r, grouping: i = !1, step: o, min: s, max: l, onChange: u, units: d, extraContent: f, inputWidth: p, popover: m, label: h, hint: g, error: _, status: v, hideLabel: y = !1, disabled: b, readonly: x, loading: S, onBlur: C, variant: w, editing: T = !1, onBlurWithin: D, onPressEnter: O, onPressEscape: k, ...A }, j) {
58458
+ var mR = L(function({ locale: e, id: t, value: n, maxDecimals: r, grouping: i = !1, step: o, min: s, max: l, onChange: u, units: d, extraContent: f, inputWidth: p, popover: m, label: h, hint: g, error: _, status: v, hideLabel: y = !1, disabled: b, readonly: x, loading: S, onBlur: C, variant: w, editing: E = !1, onBlurWithin: D, onPressEnter: O, onPressEscape: k, ...A }, j) {
58459
58459
  let ee = a(), te = pt(), ne = t ?? te, [re, ie] = Ae({
58460
58460
  prop: m?.open,
58461
58461
  defaultProp: !1,
@@ -58536,7 +58536,7 @@ var mR = L(function({ locale: e, id: t, value: n, maxDecimals: r, grouping: i =
58536
58536
  onChange: Ce,
58537
58537
  ...A,
58538
58538
  variant: w,
58539
- editing: T,
58539
+ editing: E,
58540
58540
  inlineText: be,
58541
58541
  onKeyDown: lR(ce, O, k),
58542
58542
  onBlurWithin: D,
@@ -58568,7 +58568,7 @@ var mR = L(function({ locale: e, id: t, value: n, maxDecimals: r, grouping: i =
58568
58568
  onOpenChange: ve,
58569
58569
  children: [/* @__PURE__ */ U(Ue, {
58570
58570
  asChild: !0,
58571
- children: /* @__PURE__ */ U(E, {
58571
+ children: /* @__PURE__ */ U(T, {
58572
58572
  variant: "outline",
58573
58573
  icon: e,
58574
58574
  disabled: _e,
@@ -58590,7 +58590,7 @@ var mR = L(function({ locale: e, id: t, value: n, maxDecimals: r, grouping: i =
58590
58590
  /* @__PURE__ */ U(pR, {
58591
58591
  extraContent: f,
58592
58592
  inputWidth: p,
58593
- trailingAction: a ? /* @__PURE__ */ U(E, {
58593
+ trailingAction: a ? /* @__PURE__ */ U(T, {
58594
58594
  variant: "default",
58595
58595
  icon: s,
58596
58596
  label: o,
@@ -58747,7 +58747,7 @@ function hR({ value: e, onChange: t, schema: n, isCompactMode: r }) {
58747
58747
  }) : null]
58748
58748
  }), r ? null : /* @__PURE__ */ U("div", {
58749
58749
  className: "sticky bottom-0 left-0 right-0 z-20 flex items-center justify-end gap-2 border border-solid border-transparent border-t-f1-border-secondary bg-f1-background/80 p-2 backdrop-blur-[8px]",
58750
- children: /* @__PURE__ */ U(E, {
58750
+ children: /* @__PURE__ */ U(T, {
58751
58751
  variant: "ghost",
58752
58752
  label: o.actions.clear,
58753
58753
  onClick: () => c(),
@@ -58915,7 +58915,7 @@ var CR = {
58915
58915
  //#endregion
58916
58916
  //#region src/blocks/OneFilterPicker/components/FilterChipButton.tsx
58917
58917
  function ER({ filter: e, filterKey: t, value: n, onSelect: r, onRemove: i, disabled: o = !1 }) {
58918
- let [c, l] = H(!0), u = S(), d = wR(e.type), f = a(), [p, m] = H({ label: "" });
58918
+ let [c, l] = H(!0), u = b(), d = wR(e.type), f = a(), [p, m] = H({ label: "" });
58919
58919
  return z(() => {
58920
58920
  (async () => {
58921
58921
  if (n === void 0) return;
@@ -58939,7 +58939,7 @@ function ER({ filter: e, filterKey: t, value: n, onSelect: r, onRemove: i, disab
58939
58939
  n,
58940
58940
  d,
58941
58941
  e
58942
- ]), /* @__PURE__ */ U(_.div, {
58942
+ ]), /* @__PURE__ */ U(C.div, {
58943
58943
  layout: !0,
58944
58944
  initial: !u && {
58945
58945
  opacity: 0,
@@ -58969,11 +58969,11 @@ function ER({ filter: e, filterKey: t, value: n, onSelect: r, onRemove: i, disab
58969
58969
  //#region src/blocks/OneFilterPicker/components/FiltersChipsList.tsx
58970
58970
  var DR = (e, t) => e ? {} : t;
58971
58971
  function OR({ filters: e, value: t = {}, onFilterSelect: n, onFilterRemove: r, onClearAll: i, hideChips: o = !1, resultCount: s, quickFilterChip: c, onQuickFilterChipSelect: l, disabled: u = !1 }) {
58972
- let d = a(), f = S(), p = TR(e, t, d), m = !o && p.length > 0, h = m || c !== void 0;
58972
+ let d = a(), f = b(), p = TR(e, t, d), m = !o && p.length > 0, h = m || c !== void 0;
58973
58973
  if (!h) return null;
58974
58974
  let g = () => {
58975
58975
  c?.onRemove(), i();
58976
- }, v = DR(u, {
58976
+ }, _ = DR(u, {
58977
58977
  onClose: c?.onRemove,
58978
58978
  onClick: l
58979
58979
  });
@@ -58981,10 +58981,10 @@ function OR({ filters: e, value: t = {}, onFilterSelect: n, onFilterRemove: r, o
58981
58981
  className: "mt-2 flex items-center gap-2",
58982
58982
  children: [/* @__PURE__ */ W("div", {
58983
58983
  className: "flex flex-wrap items-center gap-2",
58984
- children: [s !== void 0 && h ? /* @__PURE__ */ U(Ac, { text: d.t(s === 1 ? "filters.resultsFor.one" : "filters.resultsFor.other", { count: s }) }) : null, /* @__PURE__ */ W(b, {
58984
+ children: [s !== void 0 && h ? /* @__PURE__ */ U(Ac, { text: d.t(s === 1 ? "filters.resultsFor.one" : "filters.resultsFor.other", { count: s }) }) : null, /* @__PURE__ */ W(v, {
58985
58985
  presenceAffectsLayout: !0,
58986
58986
  initial: !1,
58987
- children: [c ? /* @__PURE__ */ U(_.div, {
58987
+ children: [c ? /* @__PURE__ */ U(C.div, {
58988
58988
  layout: !0,
58989
58989
  initial: !f && {
58990
58990
  opacity: 0,
@@ -59005,7 +59005,7 @@ function OR({ filters: e, value: t = {}, onFilterSelect: n, onFilterRemove: r, o
59005
59005
  children: /* @__PURE__ */ U(rT, {
59006
59006
  variant: "selected",
59007
59007
  label: c.label,
59008
- ...v
59008
+ ..._
59009
59009
  })
59010
59010
  }, "quick-filter-chip") : null, m ? p.map((i) => {
59011
59011
  let a = e[i];
@@ -59024,7 +59024,7 @@ function OR({ filters: e, value: t = {}, onFilterSelect: n, onFilterRemove: r, o
59024
59024
  }, `filter-${String(i)}`);
59025
59025
  }) : null]
59026
59026
  })]
59027
- }), u ? null : /* @__PURE__ */ U(E, {
59027
+ }), u ? null : /* @__PURE__ */ U(T, {
59028
59028
  variant: "neutral",
59029
59029
  label: d.actions.clear,
59030
59030
  size: "sm",
@@ -59068,7 +59068,7 @@ function kR({ selectedFilterKey: e, definition: t, tempFilters: n, onFilterChang
59068
59068
  //#endregion
59069
59069
  //#region src/blocks/OneFilterPicker/components/FilterListItem.tsx
59070
59070
  function AR({ label: e, isActive: t, isSelected: n, isCompactMode: r, activeDescriptionId: i, onSelect: o }) {
59071
- let s = a(), u = S();
59071
+ let s = a(), u = b();
59072
59072
  return /* @__PURE__ */ W("button", {
59073
59073
  className: c("group relative flex w-full appearance-none items-center justify-between rounded px-2 py-1.5 font-medium transition-colors", "hover:bg-f1-background-secondary", n && "bg-f1-background-secondary", l()),
59074
59074
  onClick: o,
@@ -59077,11 +59077,11 @@ function AR({ label: e, isActive: t, isSelected: n, isCompactMode: r, activeDesc
59077
59077
  children: [/* @__PURE__ */ W("div", {
59078
59078
  className: "flex w-full items-center justify-start gap-2.5 overflow-hidden",
59079
59079
  children: [
59080
- /* @__PURE__ */ U(T, {
59080
+ /* @__PURE__ */ U(w, {
59081
59081
  className: "flex-1 text-left text-f1-foreground",
59082
59082
  children: e
59083
59083
  }),
59084
- /* @__PURE__ */ U(b, { children: t ? /* @__PURE__ */ U(_.span, {
59084
+ /* @__PURE__ */ U(v, { children: t ? /* @__PURE__ */ U(C.span, {
59085
59085
  className: "h-2 w-2 shrink-0 rounded-full bg-f1-background-selected-bold",
59086
59086
  initial: !u && {
59087
59087
  opacity: 0,
@@ -59153,7 +59153,7 @@ function jR({ definition: e, tempFilters: t, selectedFilterKey: n, onFilterSelec
59153
59153
  className: "flex w-full items-center justify-start gap-2.5 overflow-hidden",
59154
59154
  children: [
59155
59155
  u ? /* @__PURE__ */ U(D, { icon: u }) : null,
59156
- /* @__PURE__ */ U(T, {
59156
+ /* @__PURE__ */ U(w, {
59157
59157
  className: "flex-1 text-left text-f1-foreground",
59158
59158
  children: s
59159
59159
  }),
@@ -59186,7 +59186,7 @@ function jR({ definition: e, tempFilters: t, selectedFilterKey: n, onFilterSelec
59186
59186
  }),
59187
59187
  i ? /* @__PURE__ */ U("div", {
59188
59188
  className: "-mx-2 flex items-center justify-end gap-2 border border-solid border-transparent border-t-f1-border-secondary p-2",
59189
- children: /* @__PURE__ */ U(E, {
59189
+ children: /* @__PURE__ */ U(T, {
59190
59190
  onClick: o,
59191
59191
  label: p.filters.applyFilters
59192
59192
  })
@@ -59232,11 +59232,11 @@ function MR({ filters: e, tempFilters: t, selectedFilterKey: n, onFilterSelect:
59232
59232
  ]
59233
59233
  }), u || s ? /* @__PURE__ */ W("div", {
59234
59234
  className: "flex items-center justify-end gap-2 border border-solid border-transparent border-t-f1-border-secondary p-2",
59235
- children: [s ? /* @__PURE__ */ U(E, {
59235
+ children: [s ? /* @__PURE__ */ U(T, {
59236
59236
  onClick: s,
59237
59237
  label: _.collections.emptyStates.noResults.clearFilters,
59238
59238
  variant: "outline"
59239
- }) : null, u ? /* @__PURE__ */ U(E, {
59239
+ }) : null, u ? /* @__PURE__ */ U(T, {
59240
59240
  onClick: o,
59241
59241
  label: d ?? _.filters.applyFilters
59242
59242
  }) : null]
@@ -59271,22 +59271,22 @@ function LR({ id: e, text: t }) {
59271
59271
  className: "sr-only"
59272
59272
  });
59273
59273
  }
59274
- var RR = L((e, t) => /* @__PURE__ */ U(w, {
59274
+ var RR = L((e, t) => /* @__PURE__ */ U(S, {
59275
59275
  ...e,
59276
59276
  ref: t
59277
59277
  }));
59278
59278
  RR.displayName = "DescribedFilterButton";
59279
59279
  function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpenChange: o, hideLabel: s, mode: c = "default", displayCounter: l = !1, quickFilter: u, disabled: d = !1 }) {
59280
- let f = t ?? e, p = Object.keys(e)[0] ?? null, [m, h] = H(c === "compact" ? null : p), [g, v] = H(!1), y = () => {
59281
- h(null), v(!0);
59282
- }, x = (e) => {
59280
+ let f = t ?? e, p = Object.keys(e)[0] ?? null, [m, h] = H(c === "compact" ? null : p), [g, _] = H(!1), y = () => {
59281
+ h(null), _(!0);
59282
+ }, b = (e) => {
59283
59283
  j((t) => ({
59284
59284
  ...t,
59285
59285
  ...e
59286
59286
  }));
59287
- }, S = (e) => {
59288
- v(!1), h(e);
59289
- }, C = a(), T = ft(GN), D = T.portalContainer && (T.position === "center" || T.position === "fullscreen") ? T.portalContainer : void 0, [O, k] = Ae({
59287
+ }, x = (e) => {
59288
+ _(!1), h(e);
59289
+ }, w = a(), E = ft(GN), D = E.portalContainer && (E.position === "center" || E.position === "fullscreen") ? E.portalContainer : void 0, [O, k] = Ae({
59290
59290
  prop: i,
59291
59291
  defaultProp: !1,
59292
59292
  onChange: o
@@ -59318,11 +59318,11 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59318
59318
  [e]: t
59319
59319
  }));
59320
59320
  }, M = () => {
59321
- g && u?.onApply?.() === !1 || (r(NR(f, A, C)), ne(!1, !0));
59321
+ g && u?.onApply?.() === !1 || (r(NR(f, A, w)), ne(!1, !0));
59322
59322
  }, se = () => {
59323
59323
  j(PR(f)), u?.chip?.onRemove();
59324
59324
  }, N = () => {
59325
- m ? h(null) : (r(NR(f, A, C)), ne(!1, !0));
59325
+ m ? h(null) : (r(NR(f, A, w)), ne(!1, !0));
59326
59326
  }, P = () => {
59327
59327
  j(n), re(!1);
59328
59328
  }, ce = () => {
@@ -59333,15 +59333,15 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59333
59333
  O && (ie.current = !1);
59334
59334
  let n = () => Object.entries(A || {}).find(([t, n]) => e[t] ? !wR(e[t].type).isEmpty(n, {
59335
59335
  schema: e[t],
59336
- i18n: C
59336
+ i18n: w
59337
59337
  }) : !1);
59338
59338
  if (O && c === "default") {
59339
59339
  let r = n();
59340
59340
  if (u && (t || u.active || !r)) {
59341
- v(!0), h(null);
59341
+ _(!0), h(null);
59342
59342
  return;
59343
59343
  }
59344
- if (v(!1), r) h(r[0]);
59344
+ if (_(!1), r) h(r[0]);
59345
59345
  else {
59346
59346
  let t = Object.keys(e)[0];
59347
59347
  h(t);
@@ -59351,11 +59351,11 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59351
59351
  let le = B(() => Object.entries(e).reduce((e, [t, n]) => {
59352
59352
  let r = wR(n.type);
59353
59353
  return Math.max(e, r?.formHeight || IR);
59354
- }, 0), [e]), ue = pt(), de = `${ue}-active-filters-description`, fe = B(() => TR(f, n, C), [
59354
+ }, 0), [e]), ue = pt(), de = `${ue}-active-filters-description`, fe = B(() => TR(f, n, w), [
59355
59355
  f,
59356
59356
  n,
59357
- C
59358
- ]), pe = fe.length === 0 ? void 0 : fe.length, me = B(() => fe.length > 0 ? C.t("filters.activeFilters", { filters: fe.map((e) => f[e].label).join(", ") }) : void 0, [fe, f]);
59357
+ w
59358
+ ]), pe = fe.length === 0 ? void 0 : fe.length, me = B(() => fe.length > 0 ? w.t("filters.activeFilters", { filters: fe.map((e) => f[e].label).join(", ") }) : void 0, [fe, f]);
59359
59359
  if (c === "inline") {
59360
59360
  let t = !!Object.values(A).length;
59361
59361
  return /* @__PURE__ */ W("div", {
@@ -59364,7 +59364,7 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59364
59364
  className: "relative",
59365
59365
  children: [/* @__PURE__ */ U(RR, {
59366
59366
  variant: "outline",
59367
- label: C.filters.label,
59367
+ label: w.filters.label,
59368
59368
  "aria-describedby": me ? de : void 0,
59369
59369
  append: me ? /* @__PURE__ */ U(LR, {
59370
59370
  id: de,
@@ -59378,10 +59378,10 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59378
59378
  hideLabel: !0,
59379
59379
  tooltip: me
59380
59380
  }), t ? /* @__PURE__ */ U("div", { className: "absolute right-0 top-0 aspect-square w-2 rounded-full border border-solid border-f1-background bg-f1-background-selected-bold" }) : null]
59381
- }), /* @__PURE__ */ U(b, {
59381
+ }), /* @__PURE__ */ U(v, {
59382
59382
  mode: "popLayout",
59383
59383
  propagate: !1,
59384
- children: O ? /* @__PURE__ */ U(_.div, {
59384
+ children: O ? /* @__PURE__ */ U(C.div, {
59385
59385
  initial: {
59386
59386
  opacity: 0,
59387
59387
  y: 8
@@ -59405,16 +59405,16 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59405
59405
  children: [
59406
59406
  /* @__PURE__ */ W("div", {
59407
59407
  className: "flex shrink-0 items-center gap-2 border-0 border-b border-solid border-f1-border-secondary px-2 py-1.5",
59408
- children: [/* @__PURE__ */ U(w, {
59408
+ children: [/* @__PURE__ */ U(S, {
59409
59409
  variant: "ghost",
59410
59410
  icon: qt,
59411
- label: C.filters.label,
59411
+ label: w.filters.label,
59412
59412
  hideLabel: !0,
59413
59413
  size: "sm",
59414
59414
  onClick: P
59415
59415
  }), /* @__PURE__ */ U("span", {
59416
59416
  className: "text-base font-medium text-f1-foreground",
59417
- children: C.filters.label
59417
+ children: w.filters.label
59418
59418
  })]
59419
59419
  }),
59420
59420
  /* @__PURE__ */ W("div", {
@@ -59424,7 +59424,7 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59424
59424
  definition: e,
59425
59425
  tempFilters: A,
59426
59426
  selectedFilterKey: m,
59427
- onFilterSelect: S,
59427
+ onFilterSelect: x,
59428
59428
  onClickApplyFilters: M,
59429
59429
  quickFilterLabel: u?.label,
59430
59430
  quickFilterIcon: u?.icon,
@@ -59433,7 +59433,7 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59433
59433
  }),
59434
59434
  g && u ? /* @__PURE__ */ U("div", {
59435
59435
  className: "flex-1 min-w-0 overflow-hidden p-3",
59436
- children: u.render({ stage: x })
59436
+ children: u.render({ stage: b })
59437
59437
  }) : null,
59438
59438
  m ? /* @__PURE__ */ U("div", {
59439
59439
  className: "flex-1 min-w-0 overflow-hidden",
@@ -59448,9 +59448,9 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59448
59448
  }),
59449
59449
  /* @__PURE__ */ U("div", {
59450
59450
  className: "flex items-center justify-end gap-2 border border-solid border-transparent border-t-f1-border-secondary p-2 bg-f1-background",
59451
- children: /* @__PURE__ */ U(E, {
59451
+ children: /* @__PURE__ */ U(T, {
59452
59452
  onClick: M,
59453
- label: C.filters.applyFilters
59453
+ label: w.filters.applyFilters
59454
59454
  })
59455
59455
  })
59456
59456
  ]
@@ -59460,9 +59460,9 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59460
59460
  });
59461
59461
  }
59462
59462
  if (c === "compact") {
59463
- let t = !!Object.values(A).length, n = m ? C.t("filters.filteringBy", { label: e[m].label }) : C.t("filters.availableFilters"), r = /* @__PURE__ */ W("div", {
59463
+ let t = !!Object.values(A).length, n = m ? w.t("filters.filteringBy", { label: e[m].label }) : w.t("filters.availableFilters"), r = /* @__PURE__ */ W("div", {
59464
59464
  className: "flex items-center gap-2 pl-1.5 py-1.5",
59465
- children: [/* @__PURE__ */ U(E, {
59465
+ children: [/* @__PURE__ */ U(T, {
59466
59466
  label: "Back",
59467
59467
  icon: qt,
59468
59468
  hideLabel: !0,
@@ -59472,9 +59472,9 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59472
59472
  }), n]
59473
59473
  }), i = /* @__PURE__ */ U(_t, { children: m ? /* @__PURE__ */ U("div", {
59474
59474
  className: "sticky bottom-0 left-0 right-0 z-30 flex items-center justify-end gap-2 border border-solid border-transparent border-t-f1-border-secondary p-2 bg-f1-background",
59475
- children: /* @__PURE__ */ U(E, {
59475
+ children: /* @__PURE__ */ U(T, {
59476
59476
  onClick: ce,
59477
- label: C.filters.applySelection
59477
+ label: w.filters.applySelection
59478
59478
  })
59479
59479
  }) : null });
59480
59480
  return /* @__PURE__ */ W("div", {
@@ -59483,7 +59483,7 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59483
59483
  className: "relative",
59484
59484
  children: [/* @__PURE__ */ U(RR, {
59485
59485
  variant: "outline",
59486
- label: C.filters.label,
59486
+ label: w.filters.label,
59487
59487
  "aria-describedby": me ? de : void 0,
59488
59488
  append: me ? /* @__PURE__ */ U(LR, {
59489
59489
  id: de,
@@ -59497,10 +59497,10 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59497
59497
  hideLabel: !0,
59498
59498
  tooltip: me
59499
59499
  }), t ? /* @__PURE__ */ U("div", { className: "absolute right-0 top-0 aspect-square w-2 rounded-full border border-solid border-f1-background bg-f1-background-selected-bold" }) : null]
59500
- }), /* @__PURE__ */ U(b, {
59500
+ }), /* @__PURE__ */ U(v, {
59501
59501
  mode: "popLayout",
59502
59502
  propagate: !1,
59503
- children: O ? /* @__PURE__ */ U(_.div, {
59503
+ children: O ? /* @__PURE__ */ U(C.div, {
59504
59504
  initial: {
59505
59505
  opacity: 0,
59506
59506
  y: 8
@@ -59525,7 +59525,7 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59525
59525
  r,
59526
59526
  /* @__PURE__ */ U("div", {
59527
59527
  className: "flex flex-1 min-h-0 max-h-full",
59528
- children: m ? /* @__PURE__ */ U(_.div, {
59528
+ children: m ? /* @__PURE__ */ U(C.div, {
59529
59529
  initial: { opacity: 0 },
59530
59530
  animate: { opacity: 1 },
59531
59531
  exit: { opacity: 0 },
@@ -59538,7 +59538,7 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59538
59538
  onFilterChange: oe,
59539
59539
  isCompactMode: !0
59540
59540
  })
59541
- }, "filter-content") : /* @__PURE__ */ U(_.div, {
59541
+ }, "filter-content") : /* @__PURE__ */ U(C.div, {
59542
59542
  initial: { opacity: 0 },
59543
59543
  animate: { opacity: 1 },
59544
59544
  exit: { opacity: 0 },
@@ -59571,7 +59571,7 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59571
59571
  asChild: !0,
59572
59572
  children: /* @__PURE__ */ U(RR, {
59573
59573
  variant: "outline",
59574
- label: C.filters.label,
59574
+ label: w.filters.label,
59575
59575
  "aria-describedby": me ? de : void 0,
59576
59576
  append: me ? /* @__PURE__ */ U(LR, {
59577
59577
  id: de,
@@ -59589,17 +59589,17 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59589
59589
  align: "start",
59590
59590
  side: "bottom",
59591
59591
  id: ue,
59592
- "aria-label": C.filters.label,
59592
+ "aria-label": w.filters.label,
59593
59593
  container: D,
59594
59594
  children: /* @__PURE__ */ U(MR, {
59595
59595
  filters: e,
59596
59596
  tempFilters: A,
59597
59597
  selectedFilterKey: m,
59598
- onFilterSelect: S,
59598
+ onFilterSelect: x,
59599
59599
  quickFilter: u,
59600
59600
  quickFilterSelected: g,
59601
59601
  onQuickFilterSelect: y,
59602
- onStageFilters: x,
59602
+ onStageFilters: b,
59603
59603
  onFilterChange: oe,
59604
59604
  onApply: M,
59605
59605
  onClear: se,
@@ -59610,7 +59610,7 @@ function zR({ filters: e, allFilters: t, value: n, onChange: r, isOpen: i, onOpe
59610
59610
  });
59611
59611
  }
59612
59612
  var BR = o("Preset", ({ label: e, number: t, onClick: n, selected: r, description: i, onEdit: o, disabled: l = !1 }) => {
59613
- let u = a(), f = !!o && !l, g = !!n && !l, [v, y] = H(!1), x = /* @__PURE__ */ W(_.label, {
59613
+ let u = a(), f = !!o && !l, h = !!n && !l, [_, y] = H(!1), b = /* @__PURE__ */ W(C.label, {
59614
59614
  layout: !0,
59615
59615
  transition: {
59616
59616
  duration: .15,
@@ -59618,7 +59618,7 @@ var BR = o("Preset", ({ label: e, number: t, onClick: n, selected: r, descriptio
59618
59618
  },
59619
59619
  onMouseEnter: f ? () => y(!0) : void 0,
59620
59620
  onMouseLeave: f ? () => y(!1) : void 0,
59621
- className: c("group flex min-w-0 cursor-default appearance-none items-center gap-2 rounded px-2.5 py-1.5 font-medium text-f1-foreground outline outline-1 outline-f1-border transition-all", g && "focus-within:ring-2 focus-within:ring-f1-border-selected focus-within:ring-offset-2", t && "pr-1.5", g && "cursor-pointer hover:outline-f1-border-hover", r && "bg-f1-background-selected-secondary text-f1-foreground-selected outline-f1-border-selected", r && g && "hover:outline-f1-border-selected"),
59621
+ className: c("group flex min-w-0 cursor-default appearance-none items-center gap-2 rounded px-2.5 py-1.5 font-medium text-f1-foreground outline outline-1 outline-f1-border transition-all", h && "focus-within:ring-2 focus-within:ring-f1-border-selected focus-within:ring-offset-2", t && "pr-1.5", h && "cursor-pointer hover:outline-f1-border-hover", r && "bg-f1-background-selected-secondary text-f1-foreground-selected outline-f1-border-selected", r && h && "hover:outline-f1-border-selected"),
59622
59622
  children: [
59623
59623
  /* @__PURE__ */ U("input", {
59624
59624
  type: "checkbox",
@@ -59634,14 +59634,14 @@ var BR = o("Preset", ({ label: e, number: t, onClick: n, selected: r, descriptio
59634
59634
  t === void 0 ? null : /* @__PURE__ */ U(lP, {
59635
59635
  resolve: t,
59636
59636
  fallback: /* @__PURE__ */ U(s, { className: "h-4 w-4" }),
59637
- children: (e) => e !== void 0 && /* @__PURE__ */ U(h, {
59637
+ children: (e) => e !== void 0 && /* @__PURE__ */ U(g, {
59638
59638
  value: e,
59639
59639
  type: r ? "selected" : "default"
59640
59640
  })
59641
59641
  }),
59642
- f ? /* @__PURE__ */ U(b, {
59642
+ f ? /* @__PURE__ */ U(v, {
59643
59643
  initial: !1,
59644
- children: v ? /* @__PURE__ */ U(_.span, {
59644
+ children: _ ? /* @__PURE__ */ U(C.span, {
59645
59645
  className: "-my-0.5 -ml-1.5 -mr-1 flex items-center gap-0.5 overflow-hidden",
59646
59646
  initial: {
59647
59647
  opacity: 0,
@@ -59659,7 +59659,7 @@ var BR = o("Preset", ({ label: e, number: t, onClick: n, selected: r, descriptio
59659
59659
  duration: .15,
59660
59660
  ease: "easeOut"
59661
59661
  },
59662
- children: o ? /* @__PURE__ */ U(E, {
59662
+ children: o ? /* @__PURE__ */ U(T, {
59663
59663
  variant: "ghost",
59664
59664
  size: "sm",
59665
59665
  hideLabel: !0,
@@ -59675,21 +59675,21 @@ var BR = o("Preset", ({ label: e, number: t, onClick: n, selected: r, descriptio
59675
59675
  });
59676
59676
  return i ? /* @__PURE__ */ W(p, { children: [/* @__PURE__ */ U(d, {
59677
59677
  delay: 400,
59678
- render: x
59678
+ render: b
59679
59679
  }), /* @__PURE__ */ U(m, {
59680
59680
  className: "max-w-xs",
59681
59681
  children: /* @__PURE__ */ U("p", {
59682
59682
  className: "font-normal",
59683
59683
  children: i
59684
59684
  })
59685
- })] }) : x;
59685
+ })] }) : b;
59686
59686
  }), VR = (e, t) => {
59687
59687
  let n = e.filter;
59688
59688
  if (typeof n != "object" || !n || Array.isArray(n)) return !1;
59689
59689
  let r = Object.keys(n).filter((e) => n[e] !== void 0), i = Object.keys(t).filter((e) => t[e] !== void 0);
59690
59690
  return r.length === i.length && Object.entries(n).filter(([, e]) => e !== void 0).every(([e, n]) => (0, FR.default)(t[e], n));
59691
59691
  }, HR = 4, UR = ({ presets: e, value: t, onPresetsChange: n, presetsLoading: r = !1, selectedPresetId: i, onSelectPreset: o, editablePresetIds: u, onEditPreset: d, presetActionState: f = "none", onPresetAction: p, disabled: m = !1 }) => {
59692
- let g = a(), _ = B(() => typeof t == "object" && t && !Array.isArray(t) ? t : {}, [t]), v = (e, t) => {
59692
+ let h = a(), _ = B(() => typeof t == "object" && t && !Array.isArray(t) ? t : {}, [t]), v = (e, t) => {
59693
59693
  if (o) return {
59694
59694
  isSelected: t === i,
59695
59695
  handleClick: () => o(t)
@@ -59736,7 +59736,7 @@ var BR = o("Preset", ({ label: e, number: t, onClick: n, selected: r, descriptio
59736
59736
  children: [/* @__PURE__ */ U(D, {
59737
59737
  icon: ae,
59738
59738
  size: "sm"
59739
- }), g.actions.saveAsPreset]
59739
+ }), h.actions.saveAsPreset]
59740
59740
  });
59741
59741
  let { preset: r, presetId: i } = e, { isSelected: a, handleClick: o } = v(r, i), s = r.itemsCount?.(_), f = u?.includes(i) ?? !1;
59742
59742
  return /* @__PURE__ */ U(BR, {
@@ -59758,7 +59758,7 @@ var BR = o("Preset", ({ label: e, number: t, onClick: n, selected: r, descriptio
59758
59758
  children: [/* @__PURE__ */ U(D, {
59759
59759
  icon: ae,
59760
59760
  size: "sm"
59761
- }), g.actions.saveAsPreset]
59761
+ }), h.actions.saveAsPreset]
59762
59762
  });
59763
59763
  let { preset: t, presetId: n } = e, { isSelected: r, handleClick: i } = v(t, n), a = t.itemsCount?.(_);
59764
59764
  return /* @__PURE__ */ W("button", {
@@ -59769,7 +59769,7 @@ var BR = o("Preset", ({ label: e, number: t, onClick: n, selected: r, descriptio
59769
59769
  children: [t.label, a === void 0 ? null : /* @__PURE__ */ U(lP, {
59770
59770
  resolve: a,
59771
59771
  fallback: /* @__PURE__ */ U(s, { className: "h-4 w-6" }),
59772
- children: (e) => e !== void 0 && /* @__PURE__ */ U(h, {
59772
+ children: (e) => e !== void 0 && /* @__PURE__ */ U(g, {
59773
59773
  value: e,
59774
59774
  type: r ? "selected" : "default"
59775
59775
  })
@@ -60017,9 +60017,9 @@ var QR = ZR, $R = ({ filters: e, currentFilters: t, onFiltersChange: n }) => {
60017
60017
  };
60018
60018
  return /* @__PURE__ */ U(F, { children: /* @__PURE__ */ U("div", {
60019
60019
  className: "flex gap-1 border-0 p-2",
60020
- children: /* @__PURE__ */ U(b, {
60020
+ children: /* @__PURE__ */ U(v, {
60021
60021
  mode: "popLayout",
60022
- children: r.map((e) => /* @__PURE__ */ U(_.div, {
60022
+ children: r.map((e) => /* @__PURE__ */ U(C.div, {
60023
60023
  layout: !0,
60024
60024
  initial: {
60025
60025
  opacity: 0,
@@ -60051,7 +60051,7 @@ $R.displayName = "ActiveFiltersChips";
60051
60051
  //#endregion
60052
60052
  //#region src/blocks/F0Select/components/SelectTopActions.tsx
60053
60053
  var ez = ({ showSearchBox: e, searchBoxPlaceholder: t, onSearchChange: n, searchValue: r, grouping: i, currentGrouping: o, onGroupingChange: s, filters: c, currentFilters: l, onFiltersChange: u, asList: d = !1, onFiltersOpenChange: f, showPreview: p = !1 }) => {
60054
- let m = a(), [h, g] = H(!1), v = R((e) => {
60054
+ let m = a(), [h, g] = H(!1), _ = R((e) => {
60055
60055
  g(e), f?.(e);
60056
60056
  }, [f]);
60057
60057
  return !e && !c && !$I(i) ? null : /* @__PURE__ */ W("div", {
@@ -60075,7 +60075,7 @@ var ez = ({ showSearchBox: e, searchBoxPlaceholder: t, onSearchChange: n, search
60075
60075
  value: l,
60076
60076
  onChange: u,
60077
60077
  mode: p ? "inline" : d ? "simple" : "compact",
60078
- onOpenChange: v
60078
+ onOpenChange: _
60079
60079
  }) : null]
60080
60080
  }), /* @__PURE__ */ U(eL, {
60081
60081
  hideLabel: !0,
@@ -60083,7 +60083,7 @@ var ez = ({ showSearchBox: e, searchBoxPlaceholder: t, onSearchChange: n, search
60083
60083
  currentGrouping: o,
60084
60084
  onGroupingChange: s
60085
60085
  })]
60086
- }), /* @__PURE__ */ U(b, { children: c && tz(l) ? /* @__PURE__ */ U(_.div, {
60086
+ }), /* @__PURE__ */ U(v, { children: c && tz(l) ? /* @__PURE__ */ U(C.div, {
60087
60087
  initial: {
60088
60088
  opacity: 0,
60089
60089
  height: 0
@@ -60250,8 +60250,8 @@ var ez = ({ showSearchBox: e, searchBoxPlaceholder: t, onSearchChange: n, search
60250
60250
  });
60251
60251
  });
60252
60252
  lz.displayName = "InlineSelectTrigger";
60253
- var uz = L(function({ variant: e = "field", placeholder: t, onChange: n, withApplySelection: r = !1, applySelectionLabel: o, onChangeSelectedOption: s, value: l, options: u = [], mapOptions: d, children: f, disabled: p, open: m, defaultOpen: h, hideLabel: g, onOpenChange: _, showSearchBox: v, onSearchChange: b, searchBoxPlaceholder: x, searchEmptyMessage: S, searchEmptyAction: C, spaciousEmptyState: w, size: T, actions: D, onCreate: O, onFiltersChange: k, source: A, label: j, icon: ee, labelIcon: te, clearable: ne, loading: re, name: ie, error: ae, status: M, hint: se, required: N, multiple: P, portalContainer: ce, asList: le = !1, showPreview: ue = !1, hideArrow: de = !1, preserveSelectionOnDatasetChange: fe = !0, fitContentWidth: pe, getSelectedLabel: me, dataTestId: he, ...ge }, _e) {
60254
- let ve = pt(), ye = T ?? "sm", be = ft(GN), Se = be.portalContainer && (be.position === "center" || be.position === "fullscreen"), Ce = ce === void 0 ? Se ? be.portalContainer : void 0 : ce, we = "onSelectItems" in ge ? ge.onSelectItems : void 0, Te = "disableSelectAll" in ge && ge.disableSelectAll, [Ee, De] = Ae({
60253
+ var uz = L(function({ variant: e = "field", placeholder: t, onChange: n, withApplySelection: r = !1, applySelectionLabel: o, onChangeSelectedOption: s, value: l, options: u = [], mapOptions: d, children: f, disabled: p, open: m, defaultOpen: h, hideLabel: g, onOpenChange: _, showSearchBox: v, onSearchChange: y, searchBoxPlaceholder: b, searchEmptyMessage: x, searchEmptyAction: S, spaciousEmptyState: C, size: w, actions: D, onCreate: O, onFiltersChange: k, source: A, label: j, icon: ee, labelIcon: te, clearable: ne, loading: re, name: ie, error: ae, status: M, hint: se, required: N, multiple: P, portalContainer: ce, asList: le = !1, showPreview: ue = !1, hideArrow: de = !1, preserveSelectionOnDatasetChange: fe = !0, fitContentWidth: pe, getSelectedLabel: me, dataTestId: he, ...ge }, _e) {
60254
+ let ve = pt(), ye = w ?? "sm", be = ft(GN), Se = be.portalContainer && (be.position === "center" || be.position === "fullscreen"), Ce = ce === void 0 ? Se ? be.portalContainer : void 0 : ce, we = "onSelectItems" in ge ? ge.onSelectItems : void 0, Te = "disableSelectAll" in ge && ge.disableSelectAll, [Ee, De] = Ae({
60255
60255
  prop: m,
60256
60256
  defaultProp: h,
60257
60257
  caller: "F0Select"
@@ -60383,7 +60383,7 @@ var uz = L(function({ variant: e = "field", placeholder: t, onChange: n, withApp
60383
60383
  qe,
60384
60384
  mt
60385
60385
  ]) ? "md" : ye, gt = pe ?? e === "inline", vt = (e) => {
60386
- tt(e), b?.(e);
60386
+ tt(e), y?.(e);
60387
60387
  }, yt = V(null), bt = R(() => {
60388
60388
  yt.current !== null && (clearTimeout(yt.current), yt.current = null);
60389
60389
  }, []);
@@ -60669,7 +60669,7 @@ var uz = L(function({ variant: e = "field", placeholder: t, onChange: n, withApp
60669
60669
  onBackspaceOnEmpty: ln,
60670
60670
  onSearchChange: xt,
60671
60671
  onSearchReset: () => {
60672
- bt(), tt(void 0), b?.("");
60672
+ bt(), tt(void 0), y?.("");
60673
60673
  },
60674
60674
  closeWasRequested: () => Oe.current === !1,
60675
60675
  onCloseEmpty: () => {
@@ -60691,9 +60691,9 @@ var uz = L(function({ variant: e = "field", placeholder: t, onChange: n, withApp
60691
60691
  n && typeof n.then == "function" ? n.then(t, (e) => {
60692
60692
  console.warn("[F0Select] onCreate failed:", e);
60693
60693
  }) : t();
60694
- } : void 0, wn = et ? tn.t("select.createWithValue", { value: et }) : tn.select.create, Tn = C ?? (Cn && et?.trim() ? /* @__PURE__ */ U("div", {
60694
+ } : void 0, wn = et ? tn.t("select.createWithValue", { value: et }) : tn.select.create, Tn = S ?? (Cn && et?.trim() ? /* @__PURE__ */ U("div", {
60695
60695
  className: "flex w-full",
60696
- children: /* @__PURE__ */ U(E, {
60696
+ children: /* @__PURE__ */ U(T, {
60697
60697
  type: "button",
60698
60698
  variant: "outline",
60699
60699
  onClick: () => Cn(et.trim()),
@@ -60715,9 +60715,9 @@ var uz = L(function({ variant: e = "field", placeholder: t, onChange: n, withApp
60715
60715
  } : void 0,
60716
60716
  fitContentWidth: gt,
60717
60717
  taller: !!A?.filters,
60718
- emptyMessage: S ?? (O && et?.trim() ? tn.select.createEmptyMessage ?? tn.select.noResults : tn.select.noResults),
60718
+ emptyMessage: x ?? (O && et?.trim() ? tn.select.createEmptyMessage ?? tn.select.noResults : tn.select.noResults),
60719
60719
  emptyAction: Tn,
60720
- spaciousEmptyState: w,
60720
+ spaciousEmptyState: C,
60721
60721
  bottom: Ht ? null : /* @__PURE__ */ U(kI, {
60722
60722
  actions: Bt,
60723
60723
  showApplyButton: St,
@@ -60729,7 +60729,7 @@ var uz = L(function({ variant: e = "field", placeholder: t, onChange: n, withApp
60729
60729
  top: /* @__PURE__ */ W(_t, { children: [/* @__PURE__ */ U(ez, {
60730
60730
  searchValue: et,
60731
60731
  onSearchChange: vt,
60732
- searchBoxPlaceholder: x,
60732
+ searchBoxPlaceholder: b,
60733
60733
  showSearchBox: nt,
60734
60734
  grouping: Ke.grouping,
60735
60735
  currentGrouping: Ke.currentGrouping,
@@ -60778,7 +60778,7 @@ var uz = L(function({ variant: e = "field", placeholder: t, onChange: n, withApp
60778
60778
  className: c("w-full min-w-0", !!f && "h-full", F && Ee && "relative z-50"),
60779
60779
  children: e
60780
60780
  });
60781
- return /* @__PURE__ */ U(y, {
60781
+ return /* @__PURE__ */ U(E, {
60782
60782
  label: g ? j : void 0,
60783
60783
  description: On || F && Ee ? "" : Mn,
60784
60784
  children: t
@@ -60848,7 +60848,7 @@ var uz = L(function({ variant: e = "field", placeholder: t, onChange: n, withApp
60848
60848
  children: jn
60849
60849
  }) : void 0,
60850
60850
  onClear: pn,
60851
- placeholder: (F ? t || x || tn.toc.search : t) || "",
60851
+ placeholder: (F ? t || b || tn.toc.search : t) || "",
60852
60852
  disabled: p,
60853
60853
  clearable: ne,
60854
60854
  size: ht,