@tempots/beatui 0.67.0 → 0.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/auth/index.cjs.js +1 -1
  2. package/dist/auth/index.es.js +2 -2
  3. package/dist/{index-CWuw5oBV.cjs → index-B7lXSIXm.cjs} +4 -2
  4. package/dist/{index-BaNgZ2Pb.js → index-CzuXAuLZ.js} +575 -570
  5. package/dist/{index-CdyjO-u1.js → index-GLoRnI6r.js} +1 -1
  6. package/dist/{index-CmNppgrA.cjs → index-gSTSk9KZ.cjs} +1 -1
  7. package/dist/index.cjs.js +2 -2
  8. package/dist/index.es.js +122 -119
  9. package/dist/json-schema/index.cjs.js +4 -4
  10. package/dist/json-schema/index.es.js +2495 -2507
  11. package/dist/{modal-D9LzHK9g.js → modal-DJWj5M5e.js} +1 -1
  12. package/dist/{modal-BFmCVPI6.cjs → modal-D_paG9Sr.cjs} +1 -1
  13. package/dist/{notice-BuSRMaZb.cjs → notice-CgT9ma2m.cjs} +2 -2
  14. package/dist/{notice-CTONCH2t.js → notice-Um1LwKBF.js} +52 -55
  15. package/dist/prosemirror/index.cjs.js +1 -1
  16. package/dist/prosemirror/index.es.js +1 -1
  17. package/dist/types/components/form/controller/union-controller.d.ts +1 -1
  18. package/dist/types/components/form/use-form.d.ts +2 -2
  19. package/dist/types/components/json-schema/controls/generic-control.d.ts +2 -1
  20. package/dist/types/components/json-schema/controls/shared-utils.d.ts +17 -1
  21. package/dist/types/components/json-schema/index.d.ts +1 -0
  22. package/dist/types/components/json-schema/json-schema-form.d.ts +5 -2
  23. package/dist/types/components/json-schema/schema-context.d.ts +3 -0
  24. package/dist/types/components/json-schema/widgets/widget-customization.d.ts +55 -0
  25. package/dist/types/index.d.ts +1 -0
  26. package/dist/widget-customization-BcbRhAAR.cjs +1 -0
  27. package/dist/widget-customization-D6Y_Qm7o.js +2788 -0
  28. package/package.json +1 -1
  29. package/dist/utils-BbvrUmvw.js +0 -2554
  30. package/dist/utils-CIHYei1q.cjs +0 -1
package/dist/index.es.js CHANGED
@@ -1,22 +1,22 @@
1
- import { prop as G, html as d, attr as o, computedOf as I, Fragment as U, OnDispose as oe, style as C, on as P, WithElement as ne, When as Q, Value as h, Use as ae, Empty as W, input as pe, emitValue as X, aria as M, OneOfValue as bn, Unless as gn, coalesce as Le, ForEach as Pe, Ensure as Ue, OneOfType as Et, dataAttr as lt, NotEmpty as mn, emitValueAsDate as hn, Portal as st, makeProviderMark as Ot, WithBrowserCtx as vn, renderWithContext as yn, WithProvider as wn, Task as xn, Provide as Nt, MapSignal as Rt, svg as mt, svgAttr as ht, delaySignal as kn } from "@tempots/dom";
1
+ import { prop as G, html as d, attr as o, computedOf as I, Fragment as U, OnDispose as oe, style as C, on as P, WithElement as ne, When as X, Value as h, Use as ae, Empty as W, input as pe, emitValue as Q, aria as M, OneOfValue as bn, Unless as gn, coalesce as Le, ForEach as Pe, Ensure as Ue, OneOfType as Et, dataAttr as lt, NotEmpty as mn, emitValueAsDate as hn, Portal as st, makeProviderMark as Ot, WithBrowserCtx as vn, renderWithContext as yn, WithProvider as wn, Task as xn, Provide as Nt, MapSignal as Rt, svg as mt, svgAttr as ht, delaySignal as kn } from "@tempots/dom";
2
2
  import { Use as Lo } from "@tempots/dom";
3
3
  import { PopOver as Sn, ElementRect as Be, WindowSize as Cn, Query as Ut, Location as Ne, NavigationService as In, Anchor as it } from "@tempots/ui";
4
4
  import { i as le, t as Se, h as vt, e as ue, a as ie, I as ee, b as ce, C as fe, B as yt, c as Ye, L as ct, j as wt, k as xt } from "./translations-BUTBIDsS.js";
5
5
  import { x as Do, T as Ao, l as Vo, d as Bo, f as Mo, g as Eo, u as Oo, q as No, o as Ro, w as Uo, y as Fo, n as jo, v as Ho, m as Wo, p as zo, r as Yo, s as Zo } from "./translations-BUTBIDsS.js";
6
6
  import { g as ut } from "./colors-pQZlNrwM.js";
7
- import { b as qo, e as Jo, i as Ko, a as Qo, c as Xo, o as el, l as tl, m as nl, k as al, j as rl, n as ol, r as ll, s as sl, d as il, h as cl, t as ul } from "./colors-pQZlNrwM.js";
7
+ import { b as qo, e as Jo, i as Ko, a as Xo, c as Qo, o as el, l as tl, m as nl, k as al, j as rl, n as ol, r as ll, s as sl, d as il, h as cl, t as ul } from "./colors-pQZlNrwM.js";
8
8
  import { b as Tn } from "./index-CpZh_Snx.js";
9
- import { t as pl, am as fl, h as bl, J as gl, c as ml, N as hl, I as vl, K as yl, e as wl, l as xl, d as kl, a as Sl, ab as Cl, o as Il, a0 as Tl, ae as $l, q as _l, H as Ll, A as Pl, al as Dl, g as Al, E as Vl, x as Bl, aj as Ml, $ as El, a4 as Ol, k as Nl, j as Rl, i as Ul, Y as Fl, X as jl, Q as Hl, P as Wl, S as zl, R as Yl, W as Zl, V as Gl, U as ql, T as Jl, a8 as Kl, a7 as Ql, aa as Xl, a9 as es, n as ts, m as ns, _ as as, Z as rs, ad as os, p as ls, G as ss, z as is, ak as cs, D as us, C as ds, w as ps, v as fs, ai as bs, ah as gs, f as ms, a3 as hs, a2 as vs, M as ys, L as ws, a5 as xs, a6 as ks, r as Ss, O as Cs, ac as Is, s as Ts, F as $s, y as _s, ag as Ls, B as Ps, u as Ds, af as As, a1 as Vs } from "./index-CpZh_Snx.js";
10
- import { C as Fe, s as he, m as Ft, d as jt, I as dt, B as Ht, c as Wt, S as pt, e as $n } from "./notice-CTONCH2t.js";
11
- import { A as Ms, g as Es, b as Os, D as Ns, E as Rs, v as Us, L as Fs, M as js, x as Hs, N as Ws, i as zs, P as Ys, R as Zs, n as Gs, q as qs, o as Js, k as Ks, j as Qs, f as Xs, p as ei, h as ti, r as ni, t as ai, l as ri, u as oi, w as li } from "./notice-CTONCH2t.js";
12
- import { u as Re, A as ot, a as _n, O as zt, F as Ln } from "./modal-D9LzHK9g.js";
13
- import { B as ii, C as ci, M as ui, c as di, S as pi, b as fi, d as bi, o as gi, s as mi, f as hi, e as vi, g as yi } from "./modal-D9LzHK9g.js";
9
+ import { t as pl, am as fl, h as bl, J as gl, c as ml, N as hl, I as vl, K as yl, e as wl, l as xl, d as kl, a as Sl, ab as Cl, o as Il, a0 as Tl, ae as $l, q as _l, H as Ll, A as Pl, al as Dl, g as Al, E as Vl, x as Bl, aj as Ml, $ as El, a4 as Ol, k as Nl, j as Rl, i as Ul, Y as Fl, X as jl, Q as Hl, P as Wl, S as zl, R as Yl, W as Zl, V as Gl, U as ql, T as Jl, a8 as Kl, a7 as Xl, aa as Ql, a9 as es, n as ts, m as ns, _ as as, Z as rs, ad as os, p as ls, G as ss, z as is, ak as cs, D as us, C as ds, w as ps, v as fs, ai as bs, ah as gs, f as ms, a3 as hs, a2 as vs, M as ys, L as ws, a5 as xs, a6 as ks, r as Ss, O as Cs, ac as Is, s as Ts, F as $s, y as _s, ag as Ls, B as Ps, u as Ds, af as As, a1 as Vs } from "./index-CpZh_Snx.js";
10
+ import { C as Fe, s as he, m as Ft, d as jt, I as dt, B as Ht, c as Wt, S as pt, e as $n } from "./notice-Um1LwKBF.js";
11
+ import { A as Ms, g as Es, b as Os, D as Ns, E as Rs, v as Us, L as Fs, M as js, x as Hs, N as Ws, i as zs, P as Ys, R as Zs, n as Gs, q as qs, o as Js, k as Ks, j as Xs, f as Qs, p as ei, h as ti, r as ni, t as ai, l as ri, u as oi, w as li } from "./notice-Um1LwKBF.js";
12
+ import { u as Re, A as ot, a as _n, O as zt, F as Ln } from "./modal-DJWj5M5e.js";
13
+ import { B as ii, C as ci, M as ui, c as di, S as pi, b as fi, d as bi, o as gi, s as mi, f as hi, e as vi, g as yi } from "./modal-DJWj5M5e.js";
14
14
  import { T as Yt, a as Pn } from "./theme-B5pmbvQ_.js";
15
- import { S as Dn, G as Zt, E as An, F as Vn, N as Gt, a as Me, M as Ee, e as kt, n as Bn, W as ve, d as Mn, i as En, b as St, c as Ve } from "./utils-BbvrUmvw.js";
16
- import { j as xi, l as ki, B as Si, p as Ci, V as Ii, C as Ti, m as $i, L as _i, o as Li, q as Pi, r as Di, s as Ai, O as Vi, u as Bi, z as Mi, v as Ei, I as Oi, K as Ni, w as Ri, x as Ui, H as Fi, Q as ji, y as Hi, R as Wi, J as zi, A as Yi, T as Zi, D as Gi, f as qi, U as Ji, P as Ki, X as Qi, Y as Xi, ag as ec, k as tc, ae as nc, a2 as ac, a1 as rc, a6 as oc, a7 as lc, $ as sc, Z as ic, _ as cc, ab as uc, a5 as dc, ac as pc, a3 as fc, af as bc, a0 as gc, a8 as mc, a9 as hc, ad as vc, aa as yc, a4 as wc, g as xc, t as kc, h as Sc } from "./utils-BbvrUmvw.js";
15
+ import { S as Dn, G as Zt, E as An, F as Vn, N as Gt, a as Me, M as Ee, e as kt, n as Bn, W as ve, d as Mn, i as En, b as St, c as Ve } from "./widget-customization-D6Y_Qm7o.js";
16
+ import { m as xi, p as ki, B as Si, s as Ci, Z as Ii, C as Ti, q as $i, L as _i, r as Li, u as Pi, v as Di, w as Ai, V as Vi, x as Bi, H as Mi, y as Ei, O as Oi, Q as Ni, z as Ri, A as Ui, K as Fi, Y as ji, D as Hi, R as Wi, P as zi, I as Yi, T as Zi, J as Gi, j as qi, U as Ji, X as Ki, _ as Xi, $ as Qi, aj as ec, o as tc, g as nc, h as ac, f as rc, ah as oc, a5 as lc, a4 as sc, a9 as ic, aa as cc, a2 as uc, a0 as dc, a1 as pc, ae as fc, a8 as bc, af as gc, a6 as mc, ai as hc, a3 as vc, ab as yc, ac as wc, ag as xc, ad as kc, a7 as Sc, k as Cc, t as Ic, l as Tc } from "./widget-customization-D6Y_Qm7o.js";
17
17
  import { g as Ze, x as Ct } from "./timer-DzWb416P.js";
18
- import { L as Ic } from "./link-portal-Cr2l9f3k.js";
19
- import { T as $c, a as _c, c as Lc, b as Pc, d as Dc } from "./toolbar-Bk5-22ln.js";
18
+ import { L as _c } from "./link-portal-Cr2l9f3k.js";
19
+ import { T as Pc, a as Dc, c as Ac, b as Vc, d as Bc } from "./toolbar-Bk5-22ln.js";
20
20
  function cr(e, t = 0, n = () => !0) {
21
21
  let a = null, r;
22
22
  const s = G(e.value);
@@ -89,13 +89,13 @@ const qt = async (e, t = "") => {
89
89
  t && t.addEventListener("abort", () => {
90
90
  clearTimeout(r), a(new DOMException("Aborted", "AbortError"));
91
91
  });
92
- }), Xe = ["xs", "sm", "md", "lg", "xl"];
92
+ }), Qe = ["xs", "sm", "md", "lg", "xl"];
93
93
  function fr(e, t = 1) {
94
- const n = Xe.indexOf(e);
94
+ const n = Qe.indexOf(e);
95
95
  if (n === -1)
96
96
  throw new Error(`Invalid size: ${e}`);
97
- const a = Math.min(Math.max(n + t, 0), Xe.length - 1);
98
- return Xe[a];
97
+ const a = Math.min(Math.max(n + t, 0), Qe.length - 1);
98
+ return Qe[a];
99
99
  }
100
100
  function Nn(e, t, n, a) {
101
101
  const r = [
@@ -265,7 +265,7 @@ function gr({
265
265
  })))
266
266
  ),
267
267
  // Render overlay content to body when dragging (if content is provided)
268
- n != null ? Q(i, () => n({ files: c })) : null,
268
+ n != null ? X(i, () => n({ files: c })) : null,
269
269
  a != null ? a({ isDragging: i, files: c, selectFiles: x }) : null
270
270
  );
271
271
  }
@@ -427,8 +427,8 @@ function zn({
427
427
  o.value(e),
428
428
  C.width("4px"),
429
429
  C.height("4px"),
430
- t != null ? P.change(X(t)) : W,
431
- n != null ? P.input(X(n)) : W
430
+ t != null ? P.change(Q(t)) : W,
431
+ n != null ? P.input(Q(n)) : W
432
432
  ),
433
433
  o.style(h.map(e, (r) => `background-color: ${r}`))
434
434
  )
@@ -442,9 +442,9 @@ function vr(e) {
442
442
  input: pe.text(
443
443
  fe(e),
444
444
  o.value(t),
445
- n != null ? P.blur(X(n)) : W,
446
- a != null ? P.change(X(a)) : W,
447
- r != null ? P.input(X(r)) : W
445
+ n != null ? P.blur(Q(n)) : W,
446
+ a != null ? P.change(Q(a)) : W,
447
+ r != null ? P.input(Q(r)) : W
448
448
  )
449
449
  },
450
450
  o.class("bc-color-input"),
@@ -649,7 +649,7 @@ function yr({
649
649
  (y, b, k, x) => Gn(y, b, k, x)
650
650
  )
651
651
  ),
652
- Q(
652
+ X(
653
653
  g,
654
654
  () => U(
655
655
  gn(
@@ -727,13 +727,13 @@ function Kt(e, { breakpoints: t, mode: n = "viewport" }) {
727
727
  return n === "element" ? Be(s) : Cn(s);
728
728
  }
729
729
  let et = NaN;
730
- function Qn(e, t) {
730
+ function Xn(e, t) {
731
731
  return e ? (isNaN(et) && (et = parseFloat(getComputedStyle(document.documentElement).fontSize)), parseFloat(e) * et) : t;
732
732
  }
733
733
  function re(e, t, n) {
734
- return Qn(e.getPropertyValue(t), n);
734
+ return Xn(e.getPropertyValue(t), n);
735
735
  }
736
- function Xn(e) {
736
+ function Qn(e) {
737
737
  return ne((t) => {
738
738
  const n = getComputedStyle(t), a = {
739
739
  zero: 0,
@@ -989,7 +989,7 @@ function kr({
989
989
  );
990
990
  return ae(
991
991
  ie,
992
- (s) => Xn(({ value: i, is: c }) => {
992
+ (s) => Qn(({ value: i, is: c }) => {
993
993
  const u = ea({
994
994
  smallBreakpoint: e,
995
995
  mediumBreakpoint: t,
@@ -1340,7 +1340,7 @@ function Ir({
1340
1340
  )((A, R) => Number(A / BigInt(Math.max(1, R)))), H = h.map(
1341
1341
  b,
1342
1342
  (A) => A === "body-end" || A === "body-end-bottom"
1343
- ), F = Q(
1343
+ ), F = X(
1344
1344
  H,
1345
1345
  () => C.left(
1346
1346
  I(
@@ -1357,7 +1357,7 @@ function Ir({
1357
1357
  ), Y = h.map(
1358
1358
  b,
1359
1359
  (A) => A === "body-bottom" || A === "body-end-bottom"
1360
- ), se = Q(
1360
+ ), se = X(
1361
1361
  Y,
1362
1362
  () => C.top(
1363
1363
  I(
@@ -1721,7 +1721,7 @@ const Ce = {
1721
1721
  (t) => t.type === "group" ? Ce.getValues(t.options) : t.type === "break" ? [] : [t.value]
1722
1722
  ),
1723
1723
  contains: (e, t, n = (a, r) => a === r) => Ce.getValues(e).some((a) => n(a, t))
1724
- }, Qt = (e) => {
1724
+ }, Xt = (e) => {
1725
1725
  const {
1726
1726
  onChange: t,
1727
1727
  onBlur: n,
@@ -1862,7 +1862,7 @@ const Ce = {
1862
1862
  })
1863
1863
  ))
1864
1864
  );
1865
- }, Xt = (e, t, n, a, r) => Ue(
1865
+ }, Qt = (e, t, n, a, r) => Ue(
1866
1866
  e,
1867
1867
  (s) => Et(s, {
1868
1868
  value: (i) => {
@@ -1889,7 +1889,7 @@ const Ce = {
1889
1889
  o.id(i.map((l) => `dropdown-option-${String(l.value)}`)),
1890
1890
  M.selected(c),
1891
1891
  An("value", i.$.value),
1892
- Q(
1892
+ X(
1893
1893
  i.map((l) => !l.disabled),
1894
1894
  () => P.click(() => a(i.value.value)),
1895
1895
  () => W
@@ -1915,7 +1915,7 @@ const Ce = {
1915
1915
  d.div(o.class("bc-dropdown__group-label"), i.$.group),
1916
1916
  Pe(
1917
1917
  i.$.options,
1918
- (c) => Xt(
1918
+ (c) => Qt(
1919
1919
  c,
1920
1920
  t,
1921
1921
  n,
@@ -1951,10 +1951,10 @@ const Ce = {
1951
1951
  };
1952
1952
  return f(p) || String(l);
1953
1953
  }), u = I(i)((l) => !l);
1954
- return Qt({
1954
+ return Xt({
1955
1955
  ...e,
1956
1956
  role: "dropdown",
1957
- display: Q(
1957
+ display: X(
1958
1958
  c.map((l) => l.length > 0),
1959
1959
  () => c,
1960
1960
  () => ae(
@@ -1966,7 +1966,7 @@ const Ce = {
1966
1966
  allowSpaceToggle: u,
1967
1967
  buildListboxContent: ({ focusedValue: l, onSelect: p }) => Pe(
1968
1968
  n,
1969
- (f) => Xt(f, r, t, p, l)
1969
+ (f) => Qt(f, r, t, p, l)
1970
1970
  )
1971
1971
  });
1972
1972
  }, ua = (e) => {
@@ -2008,7 +2008,7 @@ const Ce = {
2008
2008
  o.role("option"),
2009
2009
  o.id(c.map((p) => `dropdown-option-${String(p.value)}`)),
2010
2010
  M.selected(u),
2011
- Q(
2011
+ X(
2012
2012
  c.map((p) => !p.disabled),
2013
2013
  () => P.click(() => a(c.value.value)),
2014
2014
  () => W
@@ -2077,10 +2077,10 @@ const Ce = {
2077
2077
  Math.max(0, u)
2078
2078
  );
2079
2079
  };
2080
- return Qt({
2080
+ return Xt({
2081
2081
  ...e,
2082
2082
  role: "combobox",
2083
- display: Q(
2083
+ display: X(
2084
2084
  I(t)((m) => m != null),
2085
2085
  y,
2086
2086
  () => ae(ie, (m) => m.$.selectOne)
@@ -2115,7 +2115,7 @@ const Ce = {
2115
2115
  P.keydown(v)
2116
2116
  )
2117
2117
  ),
2118
- Q(
2118
+ X(
2119
2119
  p,
2120
2120
  () => d.div(
2121
2121
  o.class("bc-dropdown__loading"),
@@ -2652,7 +2652,7 @@ const Br = (e) => {
2652
2652
  fe(e),
2653
2653
  o.valueAsDate(t),
2654
2654
  o.class("bc-input"),
2655
- n != null ? P.blur(X(n)) : W,
2655
+ n != null ? P.blur(Q(n)) : W,
2656
2656
  a != null ? P.change(hn(a)) : W
2657
2657
  )
2658
2658
  });
@@ -2667,8 +2667,8 @@ const Br = (e) => {
2667
2667
  fe(e),
2668
2668
  o.value(h.map(t, ba)),
2669
2669
  o.class("bc-input"),
2670
- n != null ? P.blur(X(n)) : W,
2671
- a != null ? P.change(X((r) => a(new Date(r)))) : W
2670
+ n != null ? P.blur(Q(n)) : W,
2671
+ a != null ? P.change(Q((r) => a(new Date(r)))) : W
2672
2672
  )
2673
2673
  });
2674
2674
  }, Er = (e) => {
@@ -2908,7 +2908,7 @@ const Br = (e) => {
2908
2908
  fe(e),
2909
2909
  o.value(s),
2910
2910
  o.class("bc-input bc-input-container__tags-input"),
2911
- P.input(X(s.set)),
2911
+ P.input(Q(s.set)),
2912
2912
  n != null ? P.change(c) : W,
2913
2913
  a != null ? P.blur(a) : W
2914
2914
  )
@@ -2925,8 +2925,8 @@ function qe(e) {
2925
2925
  fe(t),
2926
2926
  o.value(h.map(n, e.valueToString)),
2927
2927
  o.class("bc-input"),
2928
- a != null ? P.blur(X(a)) : W,
2929
- r != null ? P.change(X((i) => r(e.parseValue(s, i)))) : W
2928
+ a != null ? P.blur(Q(a)) : W,
2929
+ r != null ? P.change(Q((i) => r(e.parseValue(s, i)))) : W
2930
2930
  )
2931
2931
  })
2932
2932
  );
@@ -2944,14 +2944,14 @@ function Je(e) {
2944
2944
  h.map(n, (p) => p == null ? "" : e.valueToString(p))
2945
2945
  ),
2946
2946
  o.class("bc-input"),
2947
- a != null ? P.blur(X(a)) : W,
2947
+ a != null ? P.blur(Q(a)) : W,
2948
2948
  r != null ? P.change(
2949
- X(
2949
+ Q(
2950
2950
  (p) => r(p === "" ? null : e.parseValue(l, p))
2951
2951
  )
2952
2952
  ) : W,
2953
2953
  s != null ? P.input(
2954
- X(
2954
+ Q(
2955
2955
  (p) => s(p === "" ? null : e.parseValue(l, p))
2956
2956
  )
2957
2957
  ) : W
@@ -2999,9 +2999,9 @@ const jr = qe({
2999
2999
  h.map(t, (s) => ga(Number(s.epochMilliseconds)))
3000
3000
  ),
3001
3001
  o.class("bc-input"),
3002
- n != null ? P.blur(X(n)) : W,
3002
+ n != null ? P.blur(Q(n)) : W,
3003
3003
  a != null ? P.change(
3004
- X(
3004
+ Q(
3005
3005
  (s) => a(r.Instant.from(new Date(s).toISOString()))
3006
3006
  )
3007
3007
  ) : W
@@ -3025,14 +3025,14 @@ const jr = qe({
3025
3025
  )
3026
3026
  ),
3027
3027
  o.class("bc-input"),
3028
- n != null ? P.blur(X(n)) : W,
3028
+ n != null ? P.blur(Q(n)) : W,
3029
3029
  a != null ? P.change(
3030
- X(
3030
+ Q(
3031
3031
  (l) => a(l === "" ? null : u.Instant.from(new Date(l).toISOString()))
3032
3032
  )
3033
3033
  ) : W,
3034
3034
  r != null ? P.input(
3035
- X(
3035
+ Q(
3036
3036
  (l) => r(l === "" ? null : u.Instant.from(new Date(l).toISOString()))
3037
3037
  )
3038
3038
  ) : W
@@ -3049,9 +3049,9 @@ const jr = qe({
3049
3049
  fe(e),
3050
3050
  o.value(h.map(t, (s) => s.toJSON())),
3051
3051
  o.class("bc-input"),
3052
- n != null ? P.blur(X(n)) : W,
3052
+ n != null ? P.blur(Q(n)) : W,
3053
3053
  a != null ? P.change(
3054
- X((s) => {
3054
+ Q((s) => {
3055
3055
  const i = r.PlainDateTime.from(s), c = h.get(e.placeholder) ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
3056
3056
  return a(r.ZonedDateTime.from({ ...i, timeZone: c }));
3057
3057
  })
@@ -3068,16 +3068,16 @@ const jr = qe({
3068
3068
  fe(e),
3069
3069
  o.value(h.map(t, (l) => l?.toJSON())),
3070
3070
  o.class("bc-input"),
3071
- n != null ? P.blur(X(n)) : W,
3071
+ n != null ? P.blur(Q(n)) : W,
3072
3072
  a != null ? P.change(
3073
- X((l) => {
3073
+ Q((l) => {
3074
3074
  if (l === "") return a(null);
3075
3075
  const p = u.PlainDateTime.from(l), f = h.get(e.placeholder) ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
3076
3076
  return a(u.ZonedDateTime.from({ ...p, timeZone: f }));
3077
3077
  })
3078
3078
  ) : W,
3079
3079
  r != null ? P.input(
3080
- X((l) => {
3080
+ Q((l) => {
3081
3081
  if (l === "") return r(null);
3082
3082
  const p = u.PlainDateTime.from(l), f = h.get(e.placeholder) ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
3083
3083
  return r(u.ZonedDateTime.from({ ...p, timeZone: f }));
@@ -3087,11 +3087,11 @@ const jr = qe({
3087
3087
  after: s != null ? U(c, s) : c
3088
3088
  })
3089
3089
  );
3090
- }, Qr = qe({
3090
+ }, Xr = qe({
3091
3091
  inputType: "month",
3092
3092
  valueToString: (e) => e.toString(),
3093
3093
  parseValue: (e, t) => e.PlainYearMonth.from(t)
3094
- }), Xr = Je({
3094
+ }), Qr = Je({
3095
3095
  inputType: "month",
3096
3096
  valueToString: (e) => e.toString(),
3097
3097
  parseValue: (e, t) => e.PlainYearMonth.from(t)
@@ -3351,7 +3351,7 @@ function xa({
3351
3351
  ),
3352
3352
  M.live("polite"),
3353
3353
  M.busy(e),
3354
- Q(
3354
+ X(
3355
3355
  e,
3356
3356
  () => d.div(
3357
3357
  o.class("bc-notification__visual bc-notification__loader"),
@@ -3362,7 +3362,7 @@ function xa({
3362
3362
  accessibility: "decorative"
3363
3363
  })
3364
3364
  ),
3365
- () => Q(
3365
+ () => X(
3366
3366
  p,
3367
3367
  () => d.div(
3368
3368
  o.class("bc-notification__visual bc-notification__icon"),
@@ -3383,7 +3383,7 @@ function xa({
3383
3383
  s != null ? d.div(o.class("bc-notification__title"), s) : null,
3384
3384
  d.div(o.class("bc-notification__content"), ...l)
3385
3385
  ),
3386
- Q(
3386
+ X(
3387
3387
  t,
3388
3388
  () => d.div(
3389
3389
  o.class("bc-notification__meta"),
@@ -3702,7 +3702,7 @@ function ze(e, t) {
3702
3702
  return t == null ? null : Pe(t, (n) => Z(e, n));
3703
3703
  }
3704
3704
  function Ia(e, t) {
3705
- return t == null ? null : Q(
3705
+ return t == null ? null : X(
3706
3706
  h.map(t, (n) => Array.isArray(n)),
3707
3707
  () => ze(e, t),
3708
3708
  () => Z(e, t)
@@ -3787,7 +3787,7 @@ function Ta({
3787
3787
  target: l,
3788
3788
  rel: p
3789
3789
  }, ...f) {
3790
- return Q(
3790
+ return X(
3791
3791
  r,
3792
3792
  () => d.span(
3793
3793
  o.class(
@@ -3965,7 +3965,7 @@ function Vt({
3965
3965
  fullWidth: S = !1,
3966
3966
  loading: g = !1
3967
3967
  }, ...y) {
3968
- return Q(
3968
+ return X(
3969
3969
  f ?? !1,
3970
3970
  () => d.span(
3971
3971
  o.class(
@@ -4129,7 +4129,7 @@ function Ba(e) {
4129
4129
  includeHash: !1
4130
4130
  }
4131
4131
  );
4132
- return Q(
4132
+ return X(
4133
4133
  a,
4134
4134
  () => Aa(...t),
4135
4135
  () => Da(e, ...t)
@@ -4327,7 +4327,7 @@ function yo(e) {
4327
4327
  })
4328
4328
  ),
4329
4329
  // Panel
4330
- Q(
4330
+ X(
4331
4331
  l ?? !0,
4332
4332
  () => Ue(g, (b) => {
4333
4333
  const k = b.$.key, x = k.map((v) => `${f}-tab-${v}`), m = k.map((v) => `${f}-panel-${v}`);
@@ -4418,7 +4418,7 @@ function wo(e) {
4418
4418
  header: d.div(
4419
4419
  o.class("bc-drawer__header"),
4420
4420
  d.div(o.id(V), b),
4421
- Q(
4421
+ X(
4422
4422
  f,
4423
4423
  () => ae(
4424
4424
  ie,
@@ -4589,7 +4589,7 @@ function So(e, t) {
4589
4589
  const b = d.div(
4590
4590
  o.class("bc-lightbox"),
4591
4591
  // Close button (top-end)
4592
- Q(
4592
+ X(
4593
4593
  a,
4594
4594
  () => ae(
4595
4595
  ie,
@@ -4651,7 +4651,7 @@ function Co({
4651
4651
  class: r
4652
4652
  }, ...s) {
4653
4653
  const i = G(!0);
4654
- return Q(i, () => {
4654
+ return X(i, () => {
4655
4655
  const c = h.map(
4656
4656
  n,
4657
4657
  (u) => !!u || a != null
@@ -4668,7 +4668,7 @@ function Co({
4668
4668
  ),
4669
4669
  d.div(
4670
4670
  o.class("bc-announcement-bar__content"),
4671
- Q(
4671
+ X(
4672
4672
  h.map(t, (u) => u != null),
4673
4673
  () => d.div(
4674
4674
  o.class("bc-announcement-bar__icon"),
@@ -4680,7 +4680,7 @@ function Co({
4680
4680
  )
4681
4681
  ),
4682
4682
  d.div(o.class("bc-announcement-bar__text"), ...s),
4683
- Q(
4683
+ X(
4684
4684
  c,
4685
4685
  () => d.div(
4686
4686
  o.class("bc-announcement-bar__close"),
@@ -4797,8 +4797,8 @@ function Io(e) {
4797
4797
  L.load();
4798
4798
  } catch {
4799
4799
  }
4800
- const Qe = new xe(y?.hls);
4801
- se = Qe, Qe.attachMedia(L), Qe.loadSource(B);
4800
+ const Xe = new xe(y?.hls);
4801
+ se = Xe, Xe.attachMedia(L), Xe.loadSource(B);
4802
4802
  } else {
4803
4803
  L.setAttribute("src", B);
4804
4804
  try {
@@ -5034,7 +5034,7 @@ function Io(e) {
5034
5034
  C.height(
5035
5035
  h.map(f, we)
5036
5036
  ),
5037
- Q(
5037
+ X(
5038
5038
  h.map(H, (L) => L === "youtube"),
5039
5039
  () => R,
5040
5040
  () => De
@@ -5107,7 +5107,7 @@ function Ka(e, t) {
5107
5107
  if (c[l] !== u[l]) return !1;
5108
5108
  return !0;
5109
5109
  }
5110
- function Qa(e, t) {
5110
+ function Xa(e, t) {
5111
5111
  try {
5112
5112
  return typeof e == "string" && typeof t == "string" ? e === t : e instanceof Uint8Array && t instanceof Uint8Array ? Ja(e, t) : e instanceof ArrayBuffer && t instanceof ArrayBuffer ? Ka(e, t) : !1;
5113
5113
  } catch {
@@ -5180,7 +5180,7 @@ function To({
5180
5180
  })),
5181
5181
  load: async ({ request: w }) => {
5182
5182
  const $ = await f, D = w.source, _ = rt(D), T = rt(D);
5183
- (g == null || !Qa(S, _)) && (g != null && (g.destroy(), g = null), S = _, g = await $.getDocument(T).promise, l?.({ pdfDoc: g }));
5183
+ (g == null || !Xa(S, _)) && (g != null && (g.destroy(), g = null), S = _, g = await $.getDocument(T).promise, l?.({ pdfDoc: g }));
5184
5184
  const V = w.page < 1 || w.page > g.numPages ? 1 : w.page;
5185
5185
  u != null && V !== y && (y = V, u(V));
5186
5186
  const O = await g.getPage(V);
@@ -5333,7 +5333,7 @@ function To({
5333
5333
  d.div(
5334
5334
  o.class("bc-pdf-page-viewer__content"),
5335
5335
  // Only set fixed dimensions when fit is 'none'
5336
- Q(
5336
+ X(
5337
5337
  h.map(n, ($) => $ === "none"),
5338
5338
  () => o.style(
5339
5339
  w.$.canvasWidth.map(
@@ -5425,7 +5425,7 @@ export {
5425
5425
  Br as DateInput,
5426
5426
  Mr as DateTimeInput,
5427
5427
  wo as Drawer,
5428
- Qt as DropdownBase,
5428
+ Xt as DropdownBase,
5429
5429
  $r as DropdownControl,
5430
5430
  ca as DropdownInput,
5431
5431
  no as DurationInput,
@@ -5450,7 +5450,7 @@ export {
5450
5450
  Or as LazyNativeSelect,
5451
5451
  So as Lightbox,
5452
5452
  Ta as Link,
5453
- Ic as LinkPortal,
5453
+ _c as LinkPortal,
5454
5454
  _i as ListControl,
5455
5455
  Li as ListInput,
5456
5456
  ct as Locale,
@@ -5485,7 +5485,7 @@ export {
5485
5485
  Zr as NullablePlainDateTimeInput,
5486
5486
  to as NullablePlainMonthDayInput,
5487
5487
  zr as NullablePlainTimeInput,
5488
- Xr as NullablePlainYearMonthInput,
5488
+ Qr as NullablePlainYearMonthInput,
5489
5489
  Oi as NullableRatingInput,
5490
5490
  Ni as NullableSliderInput,
5491
5491
  Ri as NullableTextArea,
@@ -5507,7 +5507,7 @@ export {
5507
5507
  Yr as PlainDateTimeInput,
5508
5508
  eo as PlainMonthDayInput,
5509
5509
  Wr as PlainTimeInput,
5510
- Qr as PlainYearMonthInput,
5510
+ Xr as PlainYearMonthInput,
5511
5511
  Wi as RatingInput,
5512
5512
  Zs as RequiredSymbol,
5513
5513
  ko as Ribbon,
@@ -5538,18 +5538,18 @@ export {
5538
5538
  Ao as TextInput,
5539
5539
  Yt as Theme,
5540
5540
  Pn as ThemeAppearance,
5541
- $c as Toolbar,
5542
- _c as ToolbarButton,
5543
- Lc as ToolbarDivider,
5544
- Pc as ToolbarGroup,
5545
- Dc as ToolbarSpacer,
5541
+ Pc as Toolbar,
5542
+ Dc as ToolbarButton,
5543
+ Ac as ToolbarDivider,
5544
+ Vc as ToolbarGroup,
5545
+ Bc as ToolbarSpacer,
5546
5546
  xo as Tooltip,
5547
5547
  Gi as UUIDInput,
5548
5548
  qi as UnionController,
5549
5549
  Ji as UnstyledDropZone,
5550
5550
  Ki as UrlInput,
5551
5551
  Lo as Use,
5552
- Xn as WithBeatUIBreakpoint,
5552
+ Qn as WithBeatUIBreakpoint,
5553
5553
  xr as WithBeatUIElementBreakpoint,
5554
5554
  Kt as WithBreakpoint,
5555
5555
  ve as WithTemporal,
@@ -5563,14 +5563,14 @@ export {
5563
5563
  bl as breakpoints,
5564
5564
  gl as changeFontSize,
5565
5565
  lo as colorInputOptionsFromController,
5566
- Qo as colorShades,
5567
- Xo as colors,
5566
+ Xo as colorShades,
5567
+ Qo as colors,
5568
5568
  Kn as compareBreakpoint,
5569
5569
  Gs as connectCommonAttributes,
5570
5570
  qs as connectNumberInput,
5571
5571
  Js as connectStringInput,
5572
5572
  Ks as convertStandardSchemaIssues,
5573
- Qs as convertStandardSchemaPathToPath,
5573
+ Xs as convertStandardSchemaPathToPath,
5574
5574
  ml as createBeatuiPreset,
5575
5575
  oo as createColorController,
5576
5576
  bt as createLocationMatcher,
@@ -5582,8 +5582,8 @@ export {
5582
5582
  pr as downloadFile,
5583
5583
  qt as downloadUrl,
5584
5584
  dr as downloadUrlAndMonitor,
5585
- Qi as emitExpando,
5586
- Xi as emitOptionExpando,
5585
+ Xi as emitExpando,
5586
+ Qi as emitOptionExpando,
5587
5587
  kt as emptyToNull,
5588
5588
  ec as ensureTemporal,
5589
5589
  tc as fileToBase64,
@@ -5591,7 +5591,10 @@ export {
5591
5591
  hl as fontFamily,
5592
5592
  vl as fontSize,
5593
5593
  yl as fontWeight,
5594
- nc as formatColor,
5594
+ nc as forFormat,
5595
+ ac as forTypeAndFormat,
5596
+ rc as forXUI,
5597
+ oc as formatColor,
5595
5598
  Mo as formatFileSize,
5596
5599
  wl as generateAllTokenVariables,
5597
5600
  Nn as generateBadgeClasses,
@@ -5628,7 +5631,7 @@ export {
5628
5631
  Ul as getBreakpointVarName,
5629
5632
  ut as getColorVar,
5630
5633
  al as getColorVarName,
5631
- ac as getContrastRatio,
5634
+ lc as getContrastRatio,
5632
5635
  Oo as getDirectionClassName,
5633
5636
  No as getDirectionFromLocale,
5634
5637
  Fl as getFontFamilyVar,
@@ -5643,8 +5646,8 @@ export {
5643
5646
  ql as getLineHeightVar,
5644
5647
  Jl as getLineHeightVarName,
5645
5648
  Kl as getMotionDurationVar,
5646
- Ql as getMotionDurationVarName,
5647
- Xl as getMotionEasingVar,
5649
+ Xl as getMotionDurationVarName,
5650
+ Ql as getMotionEasingVar,
5648
5651
  es as getMotionEasingVarName,
5649
5652
  Uo as getOppositeDirection,
5650
5653
  Fo as getPhysicalProperty,
@@ -5667,9 +5670,9 @@ export {
5667
5670
  ms as getTokenValue,
5668
5671
  hs as getZIndexVar,
5669
5672
  vs as getZIndexVarName,
5670
- rc as hexToRgb,
5671
- oc as hslToRgb,
5672
- lc as hwbToRgb,
5673
+ sc as hexToRgb,
5674
+ ic as hslToRgb,
5675
+ cc as hwbToRgb,
5673
5676
  fr as increaseSize,
5674
5677
  rl as interactiveColors,
5675
5678
  jo as isIndexedDBAvailable,
@@ -5677,36 +5680,36 @@ export {
5677
5680
  La as isUrlMatch,
5678
5681
  En as isValidColor,
5679
5682
  St as isValidHexColor,
5680
- sc as isValidHslColor,
5681
- ic as isValidRgbColor,
5682
- cc as isValidRgbaColor,
5683
+ uc as isValidHslColor,
5684
+ dc as isValidRgbColor,
5685
+ pc as isValidRgbaColor,
5683
5686
  ys as letterSpacing,
5684
5687
  ws as lineHeight,
5685
- uc as linearToSrgb,
5688
+ fc as linearToSrgb,
5686
5689
  Wo as makeI18nProvider,
5687
- Xs as makeMapValidation,
5690
+ Qs as makeMapValidation,
5688
5691
  zo as makeMessages,
5689
5692
  Ft as makeOnBlurHandler,
5690
5693
  jt as makeOnChangeHandler,
5691
5694
  xs as motionDurations,
5692
5695
  ks as motionEasings,
5693
- dc as mulberry32,
5696
+ bc as mulberry32,
5694
5697
  ol as normalizeColorName,
5695
5698
  Ve as normalizeHexColor,
5696
5699
  Bn as nullToEmpty,
5697
5700
  gi as object,
5698
- pc as oklchToRgb,
5699
- fc as parseAnyColor,
5701
+ gc as oklchToRgb,
5702
+ mc as parseAnyColor,
5700
5703
  ei as parsePath,
5701
5704
  ti as pathToString,
5702
5705
  Ss as radius,
5703
5706
  Yo as resolveDirection,
5704
- bc as resolveEffectiveFormat,
5707
+ hc as resolveEffectiveFormat,
5705
5708
  ll as resolveSemanticColorMap,
5706
- gc as rgbToHex,
5707
- mc as rgbToHsl,
5708
- hc as rgbToHwb,
5709
- vc as rgbToOklch,
5709
+ vc as rgbToHex,
5710
+ yc as rgbToHsl,
5711
+ wc as rgbToHwb,
5712
+ xc as rgbToOklch,
5710
5713
  sl as semanticColorNames,
5711
5714
  il as semanticColors,
5712
5715
  Cs as semanticFontNames,
@@ -5718,7 +5721,7 @@ export {
5718
5721
  he as sessionId,
5719
5722
  Ps as shadows,
5720
5723
  Ds as spacing,
5721
- yc as srgbToLinear,
5724
+ kc as srgbToLinear,
5722
5725
  ni as standardSchemaResultToValidation,
5723
5726
  Zo as storeIconLocally,
5724
5727
  mi as string,
@@ -5726,10 +5729,10 @@ export {
5726
5729
  cl as textColors,
5727
5730
  As as textShadows,
5728
5731
  ul as themeColorNames,
5729
- wc as toRgbaString,
5730
- xc as transformEmptyStringToUndefined,
5731
- kc as transformNullToUndefined,
5732
- Sc as transformUndefinedToNull,
5732
+ Sc as toRgbaString,
5733
+ Cc as transformEmptyStringToUndefined,
5734
+ Ic as transformNullToUndefined,
5735
+ Tc as transformUndefinedToNull,
5733
5736
  Re as useAnimatedElementToggle,
5734
5737
  hi as useAnimatedToggle,
5735
5738
  ri as useController,