@tempots/beatui 0.28.0 → 0.30.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.
- package/dist/{2019-DW6_Kz35.cjs → 2019-Bl1mhxeM.cjs} +1 -1
- package/dist/{2019-Dv7Pffuv.js → 2019-Cd9nHhvg.js} +2 -2
- package/dist/{2020-hZ6sv71V.cjs → 2020-BKqFJLj6.cjs} +1 -1
- package/dist/{2020-Dad_EL5J.js → 2020-CyKJpuK6.js} +2 -2
- package/dist/{ar-Xt0B1GBx.cjs → ar-CbsALGhG.cjs} +1 -1
- package/dist/{ar-L29B4drg.js → ar-Dz8Mg5la.js} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +3 -3
- package/dist/beatui.css +26 -20
- package/dist/beatui.tailwind.css +26 -20
- package/dist/{de-BBH6Q1uM.cjs → de-MO-u5hoD.cjs} +1 -1
- package/dist/{de-BL9YMCWJ.js → de-ToWTQGEo.js} +1 -1
- package/dist/{es-3mljmytv.cjs → es-CqkWVfis.cjs} +1 -1
- package/dist/{es-CS4u7MZp.js → es-CruxS0Tz.js} +1 -1
- package/dist/{fa-_5IxCXGI.js → fa-Cf0NZLWA.js} +1 -1
- package/dist/{fa-C06uowfA.cjs → fa-DR8j7v-l.cjs} +1 -1
- package/dist/{fr-ZoJsA1s0.cjs → fr-ClK0mWTO.cjs} +1 -1
- package/dist/{fr-B-ZWm43Y.js → fr-YKXmqMGr.js} +1 -1
- package/dist/{he-J-Bcrgy9.js → he-D8ZOduPw.js} +1 -1
- package/dist/{he-D-_HCjOB.cjs → he-DeJMBRTP.cjs} +1 -1
- package/dist/{hi-B9yNE6-J.cjs → hi-C9Anq8Ae.cjs} +1 -1
- package/dist/{hi-ClGaIH71.js → hi-CIamzVEf.js} +1 -1
- package/dist/{index-B8jOeOOB.js → index-0dpJGQbC.js} +2 -2
- package/dist/{index-zvVNcjMi.cjs → index-52kzSRNb.cjs} +1 -1
- package/dist/{index-CflXJ8xJ.cjs → index-5a6_6F3Z.cjs} +1 -1
- package/dist/{index-BCaOVY88.js → index-BGHGZg_7.js} +2 -2
- package/dist/{index-BICIDfB6.js → index-BMn-7Ble.js} +1 -1
- package/dist/{index-BSfK-Qwf.cjs → index-BR0F2BVZ.cjs} +1 -1
- package/dist/{index-DXB8LND-.cjs → index-BlCmv2EJ.cjs} +1 -1
- package/dist/{index-CiwYKSUt.js → index-BlamLFdS.js} +2 -2
- package/dist/{index-Cwsc5H7D.js → index-C0sjoDdy.js} +2 -2
- package/dist/{index-Bk0BtvLD.cjs → index-C9RMQY3t.cjs} +1 -1
- package/dist/{index-CN4vYjXL.js → index-CDBeAhhM.js} +2 -2
- package/dist/{index-ZuS9yWom.cjs → index-CH2HgQJF.cjs} +1 -1
- package/dist/{index-SPJ46EtH.js → index-CT9YDHSn.js} +4 -4
- package/dist/{index-BzaR8uM1.cjs → index-CUZnWZnQ.cjs} +1 -1
- package/dist/{index-DAdi5JJz.js → index-CVNvgkJN.js} +2 -2
- package/dist/{index-uOI0LXHI.cjs → index-C_NT6gCL.cjs} +1 -1
- package/dist/{index-4MNPHZD0.cjs → index-CafCsH0Z.cjs} +1 -1
- package/dist/{index-BPzL4PSC.cjs → index-Cei6J0b_.cjs} +6 -6
- package/dist/{index-Dvc6ZVJ3.cjs → index-CesoPnvj.cjs} +1 -1
- package/dist/{index-C5uZbosj.js → index-CmcOKNW2.js} +3 -3
- package/dist/{index-C7NeFFtL.js → index-CvpdOKX2.js} +3 -3
- package/dist/{index-DKyf2VGu.cjs → index-CxE1PN5L.cjs} +1 -1
- package/dist/{index-CGAE3ijj.cjs → index-D2BpI4Zz.cjs} +1 -1
- package/dist/{index-DrNo6z9a.cjs → index-D40RPDMJ.cjs} +1 -1
- package/dist/{index-Dsgj-jNd.cjs → index-D5iq4kyE.cjs} +1 -1
- package/dist/{index-dbCnnvOq.js → index-DDpjzV7E.js} +137 -134
- package/dist/{index-wZUL7eqW.js → index-DFJed4ks.js} +1 -1
- package/dist/{index-BvXl7BJD.cjs → index-DFzKuRY8.cjs} +1 -1
- package/dist/{index-ljok1ep6.cjs → index-DIO9qaw5.cjs} +1 -1
- package/dist/{index-CPUSDEhf.cjs → index-DIR2rO5B.cjs} +1 -1
- package/dist/{index-OrV7N-wE.js → index-DJJ67-RV.js} +6 -6
- package/dist/{index-BKHqr1z2.js → index-DPnQDm6f.js} +2 -2
- package/dist/{index-C7L2gKXf.cjs → index-DU0jpFGR.cjs} +1 -1
- package/dist/{index-Bc-5l3Cz.cjs → index-DUvVsNDG.cjs} +1 -1
- package/dist/{index-Dr0vUVGJ.js → index-DVZnPL32.js} +4 -4
- package/dist/{index-CJIznGSs.js → index-DiYfLAVQ.js} +2 -2
- package/dist/{index-5kvan4pZ.js → index-DnIheaHS.js} +3 -3
- package/dist/{index-CTiwmXQv.cjs → index-Dp2K8q6O.cjs} +1 -1
- package/dist/{index-CEvEqrWz.js → index-DrlNzz-e.js} +2 -2
- package/dist/{index-0nXL1jt0.cjs → index-Dx9UDsJi.cjs} +1 -1
- package/dist/{index-8xL7lFvb.js → index-DxY-AOQA.js} +2 -2
- package/dist/{index-DZRUtuQ1.js → index-Mmd0YHPJ.js} +2 -2
- package/dist/{index-CKRtOTlW.js → index-NyiYUSW3.js} +4 -4
- package/dist/{index-LrfuEyEh.cjs → index-O9BwR_8P.cjs} +1 -1
- package/dist/{index-D6aavhaa.js → index-alBMysbQ.js} +2 -2
- package/dist/{index-DqP1O6vK.js → index-lEkIbMCl.js} +2 -2
- package/dist/{index-BSaEXg56.js → index-qwDdlmIi.js} +3 -3
- package/dist/{index-4pbqdHdu.cjs → index-x3mhc_C_.cjs} +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +686 -677
- package/dist/{it-D-bh7RoG.cjs → it-5n3LuTHe.cjs} +1 -1
- package/dist/{it-Dv8tmKm5.js → it-Bn7tG_KC.js} +1 -1
- package/dist/{ja-B4rdImcD.cjs → ja-Bdp4_B8-.cjs} +1 -1
- package/dist/{ja-BpqiZN5f.js → ja-i1ULXeiu.js} +1 -1
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +1 -1
- package/dist/{ko-C43-vhJF.cjs → ko-B5SwKB-j.cjs} +1 -1
- package/dist/{ko-Bpa6y038.js → ko-BpKDmtvY.js} +1 -1
- package/dist/milkdown/index.cjs.js +1 -1
- package/dist/milkdown/index.es.js +1 -1
- package/dist/milkdown-input-Bkgdi-Bv.cjs +944 -0
- package/dist/{milkdown-input-BI5TwGax.js → milkdown-input-CciSI_a5.js} +14905 -13249
- package/dist/milkdown.css +1 -1
- package/dist/{modal-DKWKUrDF.cjs → modal-CAKAT7wv.cjs} +1 -1
- package/dist/{modal-Fect9dc4.js → modal-DvGSDVSv.js} +1 -1
- package/dist/{nl-DDjoZpiU.cjs → nl-Cenl4nr6.cjs} +1 -1
- package/dist/{nl-B5HYWGRz.js → nl-Cs4PDWCJ.js} +1 -1
- package/dist/{notice-DrmHRjLV.cjs → notice-DBME6bFw.cjs} +2 -2
- package/dist/{notice-DKO4C8y2.js → notice-DVEacWKt.js} +2 -1
- package/dist/{pl-CXYiY-nR.cjs → pl-7xYNCk-v.cjs} +1 -1
- package/dist/{pl-DksXqLHk.js → pl-BFLNf991.js} +1 -1
- package/dist/{pt-7-6UhRtW.js → pt-BRZeOkcE.js} +1 -1
- package/dist/{pt-CnC1YN5K.cjs → pt-DOLL0Jpj.cjs} +1 -1
- package/dist/{ru-_1DUTMUW.cjs → ru-DoS9XuqG.cjs} +1 -1
- package/dist/{ru-I676X0Bt.js → ru-KI7Gowz-.js} +1 -1
- package/dist/tailwind/index.cjs.js +1 -1
- package/dist/tailwind/index.es.js +1 -1
- package/dist/tailwind/preset.cjs.js +1 -1
- package/dist/tailwind/preset.es.js +1 -1
- package/dist/tailwind/vite-plugin.cjs.js +1 -1
- package/dist/tailwind/vite-plugin.es.js +1 -1
- package/dist/{tr-DA-8X7MK.cjs → tr-BVmoz40w.cjs} +1 -1
- package/dist/{tr-CssmRZfH.js → tr-CYk8Fua5.js} +1 -1
- package/dist/{translations-BBguPjg9.js → translations-DdNHXAWr.js} +1 -1
- package/dist/{translations-CrqWcCGM.cjs → translations-Dv56lQia.cjs} +1 -1
- package/dist/types/tokens/spacing.d.ts +6 -6
- package/dist/{ur-BCWL2ev1.js → ur-BIcZGLWt.js} +1 -1
- package/dist/{ur-B1YkWWDx.cjs → ur-orNTOdMP.cjs} +1 -1
- package/dist/{utils-BPYkWAVv.js → utils-D1op9R8_.js} +721 -718
- package/dist/utils-Dobqjl2y.cjs +1 -0
- package/dist/{vi-DA-qqgHJ.cjs → vi-BWyUDP07.cjs} +1 -1
- package/dist/{vi-D5K4x_hN.js → vi-BeK62QeB.js} +1 -1
- package/dist/{zh-HUwi9F-w.js → zh-Dt6yWDu2.js} +1 -1
- package/dist/{zh-B4HcAg-5.cjs → zh-RVJj1NQq.cjs} +1 -1
- package/package.json +18 -18
- package/dist/milkdown-input-CdJ7N_YZ.cjs +0 -941
- package/dist/utils-CeIsP9xh.cjs +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import { prop as U, html as m, attr as s, computedOf as y, Use as Y, Empty as O, Value as S, WithElement as X, Fragment as M, aria as A, OnDispose as z, OneOfValue as
|
|
2
|
-
import { Use as
|
|
3
|
-
import { PopOver as Kt, ElementRect as
|
|
4
|
-
import { B as ne, C as
|
|
5
|
-
import { R as
|
|
6
|
-
import { T as
|
|
7
|
-
import { t as
|
|
8
|
-
import { S as
|
|
9
|
-
import { g as
|
|
10
|
-
import { g as
|
|
11
|
-
import { u as
|
|
12
|
-
import { B as
|
|
13
|
-
import { L as
|
|
14
|
-
import { b as
|
|
15
|
-
function
|
|
1
|
+
import { prop as U, html as m, attr as s, computedOf as y, Use as Y, Empty as O, Value as S, WithElement as X, Fragment as M, aria as A, OnDispose as z, OneOfValue as zt, on as $, style as h, coalesce as Pe, When as te, ForEach as pe, Ensure as De, OneOfType as mt, dataAttr as He, NotEmpty as Wt, input as J, emitValue as P, emitValueAsDate as qt, Portal as bt, WithProvider as Zt, Task as Yt, Provide as ft, makeProviderMark as Gt, MapSignal as gt, svg as Ge, svgAttr as Ke } from "@tempots/dom";
|
|
2
|
+
import { Use as vs } from "@tempots/dom";
|
|
3
|
+
import { PopOver as Kt, ElementRect as ve, WindowSize as Xt, Query as Jt, Location as ge, NavigationService as Qt, Anchor as Re } from "@tempots/ui";
|
|
4
|
+
import { B as ne, C as ht, n as $e, r as Xe, I as j, s as re, a as Ee, e as q, g as G, h as vt, i as xt, j as Ue, v as yt, d as wt, S as je, p as en, l as ze, w as Je, x as Qe, y as et } from "./notice-DVEacWKt.js";
|
|
5
|
+
import { R as ys, G as ws, c as Ss, a3 as Cs, E as ks, a1 as Is, aa as $s, L as _s, M as Ts, a2 as Ds, N as As, Q as Vs, P as Ls, U as Bs, T as Ms, Y as Os, $ as Ns, Z as Ps, W as Es, V as Fs, z as Hs, k as Rs, f as Us, a7 as js, a5 as zs, F as Ws, a9 as qs, ab as Zs, A as Ys, a8 as Gs, m as Ks, q as Xs, a4 as Js, H as Qs, K as el, a6 as tl, a0 as nl, D as al, t as sl, X as ll, u as rl, J as ol } from "./notice-DVEacWKt.js";
|
|
6
|
+
import { T as St, a as tn } from "./theme-CJVt8QIc.js";
|
|
7
|
+
import { t as ul, am as cl, f as dl, J as pl, c as ml, N as bl, I as fl, K as gl, d as hl, k as vl, b as xl, a as yl, ab as wl, o as Sl, a0 as Cl, ae as kl, q as Il, H as $l, A as _l, al as Tl, g as Dl, E as Al, x as Vl, aj as Ll, $ as Bl, a4 as Ml, j as Ol, i as Nl, h as Pl, Y as El, X as Fl, Q as Hl, P as Rl, S as Ul, R as jl, W as zl, V as Wl, U as ql, T as Zl, a8 as Yl, a7 as Gl, aa as Kl, a9 as Xl, n as Jl, m as Ql, l as er, _ as tr, Z as nr, ad as ar, p as sr, G as lr, z as rr, ak as or, D as ir, C as ur, w as cr, v as dr, ai as pr, ah as mr, e as br, a3 as fr, a2 as gr, M as hr, L as vr, a5 as xr, a6 as yr, r as wr, O as Sr, ac as Cr, s as kr, F as Ir, y as $r, ag as _r, B as Tr, u as Dr, af as Ar, a1 as Vr } from "./index-DJJ67-RV.js";
|
|
8
|
+
import { S as nn, G as Ct, E as an, F as sn, N as kt, a as oe, M as me, e as tt, n as ln, W as Q, d as rn } from "./utils-D1op9R8_.js";
|
|
9
|
+
import { g as Br, i as Mr, B as Or, l as Nr, O as Pr, C as Er, j as Fr, L as Hr, k as Rr, m as Ur, o as jr, p as zr, I as Wr, q as qr, w as Zr, r as Yr, A as Gr, H as Kr, s as Xr, u as Jr, z as Qr, K as eo, v as to, R as no, D as ao, x as so, T as lo, y as ro, b as oo, U as io, J as uo, P as co, Q as po, V as mo, h as bo, c as fo, t as go, f as ho } from "./utils-D1op9R8_.js";
|
|
10
|
+
import { g as _e } from "./timer-CQlK5LhW.js";
|
|
11
|
+
import { u as he, A as Fe, O as on, F as un } from "./modal-DvGSDVSv.js";
|
|
12
|
+
import { B as xo, C as yo, M as wo, a as So, S as Co, b as ko, c as Io, o as $o, s as _o, e as To, d as Do, f as Ao } from "./modal-DvGSDVSv.js";
|
|
13
|
+
import { L as Lo } from "./link-portal-Cr2l9f3k.js";
|
|
14
|
+
import { b as Mo, e as Oo, i as No, a as Po, c as Eo, o as Fo, l as Ho, m as Ro, g as Uo, k as jo, j as zo, n as Wo, r as qo, s as Zo, d as Yo, h as Go, t as Ko } from "./colors-WfmhQ5e1.js";
|
|
15
|
+
function Te(e) {
|
|
16
16
|
if (typeof e != "string") return !1;
|
|
17
17
|
const n = e.startsWith("#") ? e.slice(1) : e;
|
|
18
18
|
return /^[0-9A-Fa-f]{3}$|^[0-9A-Fa-f]{6}$/.test(n);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function cn(e) {
|
|
21
21
|
if (typeof e != "string") return !1;
|
|
22
22
|
const n = /^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i, t = e.match(n);
|
|
23
23
|
if (!t) return !1;
|
|
24
24
|
const [, a, l, r] = t, i = parseInt(a, 10), c = parseInt(l, 10), u = parseInt(r, 10);
|
|
25
25
|
return i >= 0 && i <= 255 && c >= 0 && c <= 255 && u >= 0 && u <= 255;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function dn(e) {
|
|
28
28
|
if (typeof e != "string") return !1;
|
|
29
29
|
const n = /^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0|1|0?\.\d+)\s*\)$/i, t = e.match(n);
|
|
30
30
|
if (!t) return !1;
|
|
31
31
|
const [, a, l, r, i] = t, c = parseInt(a, 10), u = parseInt(l, 10), o = parseInt(r, 10), d = parseFloat(i);
|
|
32
32
|
return c >= 0 && c <= 255 && u >= 0 && u <= 255 && o >= 0 && o <= 255 && d >= 0 && d <= 1;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function pn(e) {
|
|
35
35
|
if (typeof e != "string") return !1;
|
|
36
36
|
const n = /^hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*\)$/i, t = e.match(n);
|
|
37
37
|
if (!t) return !1;
|
|
38
38
|
const [, a, l, r] = t, i = parseInt(a, 10), c = parseInt(l, 10), u = parseInt(r, 10);
|
|
39
39
|
return i >= 0 && i <= 360 && c >= 0 && c <= 100 && u >= 0 && u <= 100;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
41
|
+
function mn(e) {
|
|
42
|
+
return Te(e) || cn(e) || dn(e) || pn(e);
|
|
43
43
|
}
|
|
44
44
|
function ce(e) {
|
|
45
|
-
if (!
|
|
45
|
+
if (!Te(e)) return null;
|
|
46
46
|
let n = e.startsWith("#") ? e.slice(1) : e;
|
|
47
47
|
return n.length === 3 && (n = n.split("").map((t) => t + t).join("")), `#${n.toLowerCase()}`;
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function oa(e, n, t) {
|
|
50
50
|
const a = (l) => {
|
|
51
51
|
const r = Math.round(Math.max(0, Math.min(255, l))).toString(16);
|
|
52
52
|
return r.length === 1 ? "0" + r : r;
|
|
53
53
|
};
|
|
54
54
|
return `#${a(e)}${a(n)}${a(t)}`;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function nt(e) {
|
|
57
57
|
const n = ce(e);
|
|
58
58
|
if (!n) return null;
|
|
59
59
|
const t = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);
|
|
@@ -63,8 +63,8 @@ function tt(e) {
|
|
|
63
63
|
b: parseInt(t[3], 16)
|
|
64
64
|
} : null;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
const t =
|
|
66
|
+
function ia(e, n) {
|
|
67
|
+
const t = nt(e), a = nt(n);
|
|
68
68
|
if (!t || !a) return null;
|
|
69
69
|
const l = (o, d, b) => {
|
|
70
70
|
const [x, p, g] = [o, d, b].map((v) => (v = v / 255, v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4)));
|
|
@@ -72,7 +72,7 @@ function oa(e, n) {
|
|
|
72
72
|
}, r = l(t.r, t.g, t.b), i = l(a.r, a.g, a.b), c = Math.max(r, i), u = Math.min(r, i);
|
|
73
73
|
return (c + 0.05) / (u + 0.05);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function ua(e, n = 0, t = () => !0) {
|
|
76
76
|
let a = null, l;
|
|
77
77
|
const r = U(e.value);
|
|
78
78
|
return e.on((i) => {
|
|
@@ -83,20 +83,20 @@ function ia(e, n = 0, t = () => !0) {
|
|
|
83
83
|
a != null && clearTimeout(a);
|
|
84
84
|
}), r;
|
|
85
85
|
}
|
|
86
|
-
const
|
|
87
|
-
function
|
|
86
|
+
const at = (e, n) => e < n ? e : n, Ce = (e, n) => e > n ? e : n, Me = ["xs", "sm", "md", "lg", "xl"];
|
|
87
|
+
function ca(e, n = 1) {
|
|
88
88
|
const t = Me.indexOf(e);
|
|
89
89
|
if (t === -1)
|
|
90
90
|
throw new Error(`Invalid size: ${e}`);
|
|
91
91
|
const a = Math.min(Math.max(t + n, 0), Me.length - 1);
|
|
92
92
|
return Me[a];
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function bn(e, n) {
|
|
95
95
|
const t = ["bc-tag"];
|
|
96
96
|
return e !== "md" && t.push(`bc-tag--${e}`), n && t.push("bc-tag--disabled"), t.join(" ");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
const n =
|
|
98
|
+
function fn(e) {
|
|
99
|
+
const n = $e(e, "light", "light"), t = $e(e, "light", "dark"), a = Xe(e, "light", "light"), l = Xe(e, "light", "dark");
|
|
100
100
|
return [
|
|
101
101
|
`--tag-bg: ${n.backgroundColor}`,
|
|
102
102
|
`--tag-text: ${n.textColor}`,
|
|
@@ -108,7 +108,7 @@ function bn(e) {
|
|
|
108
108
|
`--tag-text-hover-dark: ${l.textColor}`
|
|
109
109
|
].join("; ");
|
|
110
110
|
}
|
|
111
|
-
const
|
|
111
|
+
const It = ({
|
|
112
112
|
value: e,
|
|
113
113
|
color: n = "base",
|
|
114
114
|
onClose: t,
|
|
@@ -120,11 +120,11 @@ const kt = ({
|
|
|
120
120
|
y(
|
|
121
121
|
a ?? "md",
|
|
122
122
|
r ?? !1
|
|
123
|
-
)((i, c) =>
|
|
123
|
+
)((i, c) => bn(i, c))
|
|
124
124
|
),
|
|
125
125
|
s.style(
|
|
126
126
|
y(n)(
|
|
127
|
-
(i) =>
|
|
127
|
+
(i) => fn(i ?? "base")
|
|
128
128
|
)
|
|
129
129
|
),
|
|
130
130
|
// Allow external classes like bc-tag--disabled to be applied
|
|
@@ -132,7 +132,7 @@ const kt = ({
|
|
|
132
132
|
m.span(e),
|
|
133
133
|
t != null ? Y(
|
|
134
134
|
ne,
|
|
135
|
-
(i) =>
|
|
135
|
+
(i) => ht(
|
|
136
136
|
{
|
|
137
137
|
size: "xs",
|
|
138
138
|
label: i.$.removeItem,
|
|
@@ -144,12 +144,12 @@ const kt = ({
|
|
|
144
144
|
)
|
|
145
145
|
) : O
|
|
146
146
|
);
|
|
147
|
-
function
|
|
147
|
+
function gn({
|
|
148
148
|
value: e,
|
|
149
149
|
onChange: n,
|
|
150
150
|
disabled: t
|
|
151
151
|
}) {
|
|
152
|
-
return
|
|
152
|
+
return nn({
|
|
153
153
|
size: "sm",
|
|
154
154
|
value: e,
|
|
155
155
|
disabled: t,
|
|
@@ -173,16 +173,16 @@ function fn({
|
|
|
173
173
|
onChange: n
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function da() {
|
|
177
177
|
return Y(
|
|
178
|
-
|
|
179
|
-
({ appearancePreference: e, setAppearancePreference: n }) =>
|
|
178
|
+
St,
|
|
179
|
+
({ appearancePreference: e, setAppearancePreference: n }) => gn({
|
|
180
180
|
value: e,
|
|
181
181
|
onChange: n
|
|
182
182
|
})
|
|
183
183
|
);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function hn(e) {
|
|
186
186
|
return e.startsWith("top") ? "flyout-top" : e.startsWith("bottom") ? "flyout-bottom" : e.startsWith("left") ? "flyout-left" : e.startsWith("right") ? "flyout-right" : "scale-fade";
|
|
187
187
|
}
|
|
188
188
|
function Ae(e) {
|
|
@@ -200,7 +200,7 @@ function Ae(e) {
|
|
|
200
200
|
hasPopup: b = "dialog"
|
|
201
201
|
} = e;
|
|
202
202
|
return Kt((x, p) => {
|
|
203
|
-
const g =
|
|
203
|
+
const g = he({
|
|
204
204
|
initialStatus: "closed"
|
|
205
205
|
}), v = re("flyout"), _ = U(!1);
|
|
206
206
|
let C = null, f = null, w = null, D = !1;
|
|
@@ -219,7 +219,7 @@ function Ae(e) {
|
|
|
219
219
|
},
|
|
220
220
|
arrow: o,
|
|
221
221
|
content: X((H) => {
|
|
222
|
-
g.setElement(H), w =
|
|
222
|
+
g.setElement(H), w = _e(() => {
|
|
223
223
|
g.open(), w = null;
|
|
224
224
|
});
|
|
225
225
|
const F = (W) => {
|
|
@@ -233,8 +233,8 @@ function Ae(e) {
|
|
|
233
233
|
s.id(v),
|
|
234
234
|
s.tabindex(-1),
|
|
235
235
|
// Make focusable for screen readers
|
|
236
|
-
|
|
237
|
-
S.map(t,
|
|
236
|
+
Fe(
|
|
237
|
+
S.map(t, hn),
|
|
238
238
|
g.status
|
|
239
239
|
),
|
|
240
240
|
d ? s.role(d) : s.role("dialog"),
|
|
@@ -275,7 +275,7 @@ function Ae(e) {
|
|
|
275
275
|
T(), _.set(!0);
|
|
276
276
|
}, W = () => {
|
|
277
277
|
N(), _.set(!1);
|
|
278
|
-
},
|
|
278
|
+
}, xe = M(
|
|
279
279
|
A.expanded(_),
|
|
280
280
|
A.controls(v),
|
|
281
281
|
A.haspopup(
|
|
@@ -284,16 +284,16 @@ function Ae(e) {
|
|
|
284
284
|
);
|
|
285
285
|
if (typeof c == "function")
|
|
286
286
|
return M(
|
|
287
|
-
|
|
287
|
+
xe,
|
|
288
288
|
c(F, W)
|
|
289
289
|
);
|
|
290
290
|
const be = c;
|
|
291
291
|
return M(
|
|
292
|
-
|
|
292
|
+
xe,
|
|
293
293
|
z(() => {
|
|
294
294
|
g.dispose();
|
|
295
295
|
}),
|
|
296
|
-
|
|
296
|
+
zt(be, {
|
|
297
297
|
"hover-focus": () => M(
|
|
298
298
|
$.mouseenter(() => F()),
|
|
299
299
|
$.mouseleave(() => W()),
|
|
@@ -309,16 +309,16 @@ function Ae(e) {
|
|
|
309
309
|
$.blur(() => W())
|
|
310
310
|
),
|
|
311
311
|
click: () => {
|
|
312
|
-
function
|
|
312
|
+
function ye() {
|
|
313
313
|
document.removeEventListener("click", de);
|
|
314
314
|
}
|
|
315
315
|
function de() {
|
|
316
|
-
|
|
316
|
+
ye(), W();
|
|
317
317
|
}
|
|
318
318
|
return M(
|
|
319
|
-
z(
|
|
319
|
+
z(ye),
|
|
320
320
|
$.click(() => {
|
|
321
|
-
F(),
|
|
321
|
+
F(), _e(() => {
|
|
322
322
|
document.addEventListener("click", de, {
|
|
323
323
|
once: !0
|
|
324
324
|
});
|
|
@@ -332,15 +332,15 @@ function Ae(e) {
|
|
|
332
332
|
});
|
|
333
333
|
});
|
|
334
334
|
}
|
|
335
|
-
const
|
|
336
|
-
function
|
|
337
|
-
for (const n of
|
|
335
|
+
const vn = ["!=", "<=", ">=", "<", ">", "="];
|
|
336
|
+
function xn(e) {
|
|
337
|
+
for (const n of vn)
|
|
338
338
|
if (typeof e == "string" && e.startsWith(n))
|
|
339
339
|
return [n, e.slice(n.length)];
|
|
340
340
|
return ["=", e];
|
|
341
341
|
}
|
|
342
|
-
function
|
|
343
|
-
const [a, l] =
|
|
342
|
+
function yn(e, n, t) {
|
|
343
|
+
const [a, l] = xn(n), r = e.findIndex((u) => u[1] === l);
|
|
344
344
|
if (r === -1)
|
|
345
345
|
throw new Error(`Breakpoint ${String(l)} not found`);
|
|
346
346
|
const i = e[r][0], c = r < e.length - 1 ? e[r + 1][0] : 1 / 0;
|
|
@@ -361,11 +361,11 @@ function xn(e, n, t) {
|
|
|
361
361
|
return !1;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function pa(e, n) {
|
|
365
365
|
const t = e.findIndex((a) => a[0] > n) - 1;
|
|
366
366
|
return t >= 0 ? e[t][1] : (e.length > 0 && n >= e[0][0], e[0][1]);
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function $t(e, { breakpoints: n, mode: t = "viewport" }) {
|
|
369
369
|
const l = [...Object.entries(n).map(
|
|
370
370
|
([i, c]) => [c, i]
|
|
371
371
|
)].sort((i, c) => i[0] - c[0]), r = (i) => {
|
|
@@ -377,19 +377,19 @@ function It(e, { breakpoints: n, mode: t = "viewport" }) {
|
|
|
377
377
|
value: c,
|
|
378
378
|
breakpoints: n,
|
|
379
379
|
asList: l,
|
|
380
|
-
is: (o, d) =>
|
|
380
|
+
is: (o, d) => yn(l, o, d)
|
|
381
381
|
});
|
|
382
382
|
};
|
|
383
|
-
return t === "element" ?
|
|
383
|
+
return t === "element" ? ve(r) : Xt(r);
|
|
384
384
|
}
|
|
385
385
|
let Oe = NaN;
|
|
386
|
-
function
|
|
386
|
+
function wn(e, n) {
|
|
387
387
|
return e ? (isNaN(Oe) && (Oe = parseFloat(getComputedStyle(document.documentElement).fontSize)), parseFloat(e) * Oe) : n;
|
|
388
388
|
}
|
|
389
389
|
function Z(e, n, t) {
|
|
390
|
-
return
|
|
390
|
+
return wn(e.getPropertyValue(n), t);
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function Sn(e) {
|
|
393
393
|
return X((n) => {
|
|
394
394
|
const t = getComputedStyle(n), a = {
|
|
395
395
|
zero: 0,
|
|
@@ -399,10 +399,10 @@ function wn(e) {
|
|
|
399
399
|
lg: Z(t, "--breakpoint-lg", 1280),
|
|
400
400
|
xl: Z(t, "--breakpoint-xl", 1536)
|
|
401
401
|
};
|
|
402
|
-
return
|
|
402
|
+
return $t(e, { breakpoints: a });
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function ma(e) {
|
|
406
406
|
return X((n) => {
|
|
407
407
|
const t = getComputedStyle(n), a = {
|
|
408
408
|
zero: 0,
|
|
@@ -419,7 +419,7 @@ function pa(e) {
|
|
|
419
419
|
"5xl": Z(t, "--container-5xl", 1536),
|
|
420
420
|
"6xl": Z(t, "--container-6xl", 2048)
|
|
421
421
|
};
|
|
422
|
-
return
|
|
422
|
+
return $t(e, {
|
|
423
423
|
breakpoints: a,
|
|
424
424
|
mode: "element"
|
|
425
425
|
});
|
|
@@ -430,9 +430,9 @@ function ae(e, n) {
|
|
|
430
430
|
}
|
|
431
431
|
function ie(e) {
|
|
432
432
|
const n = S.toSignal(e).map(
|
|
433
|
-
(a) =>
|
|
433
|
+
(a) => $e(a, "lighter", "light")
|
|
434
434
|
), t = S.toSignal(e).map(
|
|
435
|
-
(a) =>
|
|
435
|
+
(a) => $e(a, "lighter", "dark")
|
|
436
436
|
);
|
|
437
437
|
return M(
|
|
438
438
|
h.variable("--panel-bg", n.$.backgroundColor),
|
|
@@ -499,7 +499,7 @@ const se = {
|
|
|
499
499
|
xl: 280
|
|
500
500
|
}
|
|
501
501
|
};
|
|
502
|
-
function
|
|
502
|
+
function st(e, n) {
|
|
503
503
|
if (typeof e == "number")
|
|
504
504
|
return {
|
|
505
505
|
zero: e,
|
|
@@ -525,7 +525,7 @@ function Ne(e) {
|
|
|
525
525
|
e.every((t) => t[n] == null || t[n].startsWith("?")) && (e = e.map((t) => t.filter((a, l) => l !== n)), n--);
|
|
526
526
|
return e = e.map((n) => n.map((t) => t?.startsWith("?") ? t.slice(1) : t)), e;
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function Cn({
|
|
529
529
|
smallBreakpoint: e,
|
|
530
530
|
mediumBreakpoint: n,
|
|
531
531
|
vertical: t,
|
|
@@ -610,43 +610,43 @@ function Sn({
|
|
|
610
610
|
breakpoint: o
|
|
611
611
|
}) => l(`<=${e}`, u) ? r(o) : l(`<=${n}`, u) ? i(o) : c(o);
|
|
612
612
|
}
|
|
613
|
-
const
|
|
613
|
+
const kn = ["menu", "aside"], In = [
|
|
614
614
|
"banner",
|
|
615
615
|
"header",
|
|
616
616
|
"mainHeader",
|
|
617
617
|
"mainFooter",
|
|
618
618
|
"footer"
|
|
619
619
|
];
|
|
620
|
-
function
|
|
620
|
+
function $n(e, { displayMenu: n }, t) {
|
|
621
621
|
return e ? n ? "block" : t ? "float" : "none" : "none";
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function _n(e, { displayAside: n }, t) {
|
|
624
624
|
return e ? n ? "block" : t ? "float" : "none" : "none";
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function ba({
|
|
627
627
|
smallBreakpoint: e = "sm",
|
|
628
628
|
mediumBreakpoint: n = "md",
|
|
629
629
|
...t
|
|
630
630
|
}) {
|
|
631
631
|
const a = Object.fromEntries(
|
|
632
|
-
|
|
632
|
+
kn.filter((r) => t[r]).map(
|
|
633
633
|
(r) => [
|
|
634
634
|
r,
|
|
635
|
-
|
|
635
|
+
st(t[r].width ?? {}, se[r])
|
|
636
636
|
]
|
|
637
637
|
)
|
|
638
638
|
), l = Object.fromEntries(
|
|
639
|
-
|
|
639
|
+
In.filter((r) => t[r]).map(
|
|
640
640
|
(r) => [
|
|
641
641
|
r,
|
|
642
|
-
|
|
642
|
+
st(t[r].height ?? {}, se[r])
|
|
643
643
|
]
|
|
644
644
|
)
|
|
645
645
|
);
|
|
646
646
|
return Y(
|
|
647
647
|
ne,
|
|
648
|
-
(r) =>
|
|
649
|
-
const u =
|
|
648
|
+
(r) => Sn(({ value: i, is: c }) => {
|
|
649
|
+
const u = Cn({
|
|
650
650
|
smallBreakpoint: e,
|
|
651
651
|
mediumBreakpoint: n,
|
|
652
652
|
vertical: a,
|
|
@@ -658,15 +658,15 @@ function ma({
|
|
|
658
658
|
)((f, { displayAside: w }) => f && !w), x = y(
|
|
659
659
|
a.menu != null,
|
|
660
660
|
o
|
|
661
|
-
)((f, { displayMenu: w }) => f && !w), p =
|
|
661
|
+
)((f, { displayMenu: w }) => f && !w), p = he(), g = he(), v = U(0), _ = y(
|
|
662
662
|
a.menu != null,
|
|
663
663
|
o,
|
|
664
664
|
p.display
|
|
665
|
-
)(
|
|
665
|
+
)($n), C = y(
|
|
666
666
|
a.aside != null,
|
|
667
667
|
o,
|
|
668
668
|
g.display
|
|
669
|
-
)(
|
|
669
|
+
)(_n);
|
|
670
670
|
return m.div(
|
|
671
671
|
z(() => {
|
|
672
672
|
v.dispose(), p.dispose(), g.dispose();
|
|
@@ -696,7 +696,7 @@ function ma({
|
|
|
696
696
|
h.zIndex("20"),
|
|
697
697
|
h.display(d ? "block" : "none"),
|
|
698
698
|
h.gridArea("header"),
|
|
699
|
-
|
|
699
|
+
ve((f) => (f.$.bottom.feedProp(v), null)),
|
|
700
700
|
m.div(
|
|
701
701
|
h.display("flex"),
|
|
702
702
|
h.height("100%"),
|
|
@@ -708,7 +708,7 @@ function ma({
|
|
|
708
708
|
h.justifyContent("center"),
|
|
709
709
|
h.height("100%"),
|
|
710
710
|
h.width("60px"),
|
|
711
|
-
|
|
711
|
+
Ee(
|
|
712
712
|
{
|
|
713
713
|
onClick: () => p.toggle(),
|
|
714
714
|
variant: "light",
|
|
@@ -735,7 +735,7 @@ function ma({
|
|
|
735
735
|
h.display(
|
|
736
736
|
b.map((f) => f ? "flex" : "none")
|
|
737
737
|
),
|
|
738
|
-
|
|
738
|
+
Ee(
|
|
739
739
|
{
|
|
740
740
|
onClick: () => g.toggle(),
|
|
741
741
|
roundedness: "full",
|
|
@@ -795,14 +795,14 @@ function ma({
|
|
|
795
795
|
)((f, w) => f === "float" || f === "none" && w !== "closed" ? "fixed" : "initial")
|
|
796
796
|
),
|
|
797
797
|
h.top(v.map((f) => `${f}px`)),
|
|
798
|
-
|
|
798
|
+
Fe(
|
|
799
799
|
"slide-right",
|
|
800
800
|
y(
|
|
801
801
|
_,
|
|
802
802
|
p.status
|
|
803
803
|
)((f, w) => f === "block" ? "opened" : w)
|
|
804
804
|
),
|
|
805
|
-
h.width(o.$.menuWidth),
|
|
805
|
+
h.width(Pe(t.menu?.width, o.$.menuWidth)),
|
|
806
806
|
h.bottom("0"),
|
|
807
807
|
t.menu?.content
|
|
808
808
|
) : null,
|
|
@@ -869,14 +869,16 @@ function ma({
|
|
|
869
869
|
)((f, w) => f === "float" || f === "none" && w !== "closed" ? "fixed" : "initial")
|
|
870
870
|
),
|
|
871
871
|
h.top(v.map((f) => `${f}px`)),
|
|
872
|
-
|
|
872
|
+
Fe(
|
|
873
873
|
"slide-left",
|
|
874
874
|
y(
|
|
875
875
|
C,
|
|
876
876
|
g.status
|
|
877
877
|
)((f, w) => f === "block" ? "opened" : w)
|
|
878
878
|
),
|
|
879
|
-
h.width(
|
|
879
|
+
h.width(
|
|
880
|
+
Pe(t.aside?.width, o.$.asideWidth)
|
|
881
|
+
),
|
|
880
882
|
h.bottom(v.map((f) => `${f}px`)),
|
|
881
883
|
t.aside.content
|
|
882
884
|
) : null,
|
|
@@ -891,29 +893,29 @@ function ma({
|
|
|
891
893
|
})
|
|
892
894
|
);
|
|
893
895
|
}
|
|
894
|
-
function
|
|
896
|
+
function fa(...e) {
|
|
895
897
|
return m.div(
|
|
896
898
|
s.class("bc-center-h"),
|
|
897
899
|
m.div(s.class("bc-center__content"), ...e)
|
|
898
900
|
);
|
|
899
901
|
}
|
|
900
|
-
function
|
|
902
|
+
function Tn(e) {
|
|
901
903
|
const n = ["bc-center"];
|
|
902
904
|
return e !== "lg" && n.push(`bc-center--gap-${e}`), n.join(" ");
|
|
903
905
|
}
|
|
904
|
-
function
|
|
906
|
+
function ga({ gap: e = "lg" } = {}, ...n) {
|
|
905
907
|
return m.div(
|
|
906
|
-
s.class(y(e)((t) =>
|
|
908
|
+
s.class(y(e)((t) => Tn(t ?? "lg"))),
|
|
907
909
|
...n
|
|
908
910
|
);
|
|
909
911
|
}
|
|
910
|
-
function
|
|
912
|
+
function Dn({ open: e }, ...n) {
|
|
911
913
|
return X((t) => {
|
|
912
|
-
const { status: a, setOpen: l, dispose: r } =
|
|
914
|
+
const { status: a, setOpen: l, dispose: r } = he({
|
|
913
915
|
initialStatus: S.get(e) ? "opened" : "closed",
|
|
914
916
|
element: t
|
|
915
917
|
});
|
|
916
|
-
return S.on(e, l),
|
|
918
|
+
return S.on(e, l), ve((i) => {
|
|
917
919
|
const c = U(null);
|
|
918
920
|
return y(
|
|
919
921
|
a,
|
|
@@ -939,13 +941,13 @@ function Tn({ open: e }, ...n) {
|
|
|
939
941
|
});
|
|
940
942
|
});
|
|
941
943
|
}
|
|
942
|
-
function
|
|
944
|
+
function An(e) {
|
|
943
945
|
return `${e}px`;
|
|
944
946
|
}
|
|
945
|
-
function
|
|
946
|
-
return S.map(e,
|
|
947
|
+
function lt(e) {
|
|
948
|
+
return S.map(e, An);
|
|
947
949
|
}
|
|
948
|
-
function
|
|
950
|
+
function ha({
|
|
949
951
|
body: e,
|
|
950
952
|
contentWidth: n,
|
|
951
953
|
contentHeight: t,
|
|
@@ -963,7 +965,7 @@ function ga({
|
|
|
963
965
|
sidebarEndWidth: g = 0,
|
|
964
966
|
anchorMode: v = "container-edge"
|
|
965
967
|
}) {
|
|
966
|
-
const _ = U(0n), C = U(0n), f =
|
|
968
|
+
const _ = U(0n), C = U(0n), f = lt(l), w = lt(x), D = U(16);
|
|
967
969
|
return m.div(
|
|
968
970
|
z(
|
|
969
971
|
_.dispose,
|
|
@@ -971,7 +973,7 @@ function ga({
|
|
|
971
973
|
D.dispose
|
|
972
974
|
),
|
|
973
975
|
s.class("bc-nine-slice-container"),
|
|
974
|
-
|
|
976
|
+
ve((V) => {
|
|
975
977
|
const E = y(
|
|
976
978
|
V.$.width,
|
|
977
979
|
x,
|
|
@@ -1000,11 +1002,11 @@ function ga({
|
|
|
1000
1002
|
)((I, B) => Number(I / BigInt(Math.max(1, B)))), W = y(
|
|
1001
1003
|
t,
|
|
1002
1004
|
H
|
|
1003
|
-
)((I, B) => Number(I / BigInt(Math.max(1, B)))),
|
|
1005
|
+
)((I, B) => Number(I / BigInt(Math.max(1, B)))), xe = S.map(
|
|
1004
1006
|
v,
|
|
1005
1007
|
(I) => I === "body-end" || I === "body-end-bottom"
|
|
1006
1008
|
), be = te(
|
|
1007
|
-
|
|
1009
|
+
xe,
|
|
1008
1010
|
() => h.left(
|
|
1009
1011
|
y(
|
|
1010
1012
|
x,
|
|
@@ -1017,11 +1019,11 @@ function ga({
|
|
|
1017
1019
|
})
|
|
1018
1020
|
),
|
|
1019
1021
|
() => h.right("0")
|
|
1020
|
-
),
|
|
1022
|
+
), ye = S.map(
|
|
1021
1023
|
v,
|
|
1022
1024
|
(I) => I === "body-bottom" || I === "body-end-bottom"
|
|
1023
1025
|
), de = te(
|
|
1024
|
-
|
|
1026
|
+
ye,
|
|
1025
1027
|
() => h.top(
|
|
1026
1028
|
y(
|
|
1027
1029
|
l,
|
|
@@ -1034,13 +1036,13 @@ function ga({
|
|
|
1034
1036
|
})
|
|
1035
1037
|
),
|
|
1036
1038
|
() => h.bottom("0")
|
|
1037
|
-
),
|
|
1039
|
+
), Ht = y(
|
|
1038
1040
|
L,
|
|
1039
1041
|
D
|
|
1040
|
-
)((I, B) => I ? `${B}px` : "0"),
|
|
1042
|
+
)((I, B) => I ? `${B}px` : "0"), Rt = y(
|
|
1041
1043
|
T,
|
|
1042
1044
|
D
|
|
1043
|
-
)((I, B) => I ? `${B}px` : "0"),
|
|
1045
|
+
)((I, B) => I ? `${B}px` : "0"), Ut = h.transform(
|
|
1044
1046
|
y(
|
|
1045
1047
|
C,
|
|
1046
1048
|
_,
|
|
@@ -1050,9 +1052,9 @@ function ga({
|
|
|
1050
1052
|
const ee = R ? `translateX(-${I}px)` : "", le = K ? `translateY(-${B}px)` : "";
|
|
1051
1053
|
return `${ee} ${le}`.trim() || "none";
|
|
1052
1054
|
})
|
|
1053
|
-
), qe = h.transform(
|
|
1054
|
-
C.map((I) => `translateX(-${I}px)`)
|
|
1055
1055
|
), Ze = h.transform(
|
|
1056
|
+
C.map((I) => `translateX(-${I}px)`)
|
|
1057
|
+
), Ye = h.transform(
|
|
1056
1058
|
_.map((I) => `translateY(-${I}px)`)
|
|
1057
1059
|
), Ve = y(
|
|
1058
1060
|
t,
|
|
@@ -1061,30 +1063,30 @@ function ga({
|
|
|
1061
1063
|
n,
|
|
1062
1064
|
N
|
|
1063
1065
|
)((I, B) => I - BigInt(Math.max(1, B)));
|
|
1064
|
-
let fe = null,
|
|
1065
|
-
const
|
|
1066
|
+
let fe = null, we = 0, Se = 0;
|
|
1067
|
+
const jt = () => {
|
|
1066
1068
|
const I = Ve.value, B = Le.value, R = L.value, K = T.value;
|
|
1067
|
-
if (R &&
|
|
1068
|
-
const ee =
|
|
1069
|
-
|
|
1070
|
-
|
|
1069
|
+
if (R && Se !== 0) {
|
|
1070
|
+
const ee = at(
|
|
1071
|
+
Ce(0n, I),
|
|
1072
|
+
Ce(
|
|
1071
1073
|
0n,
|
|
1072
|
-
_.value + BigInt(Math.round(
|
|
1074
|
+
_.value + BigInt(Math.round(Se))
|
|
1073
1075
|
)
|
|
1074
1076
|
);
|
|
1075
1077
|
_.set(ee);
|
|
1076
1078
|
}
|
|
1077
|
-
if (K &&
|
|
1078
|
-
const ee =
|
|
1079
|
-
|
|
1080
|
-
|
|
1079
|
+
if (K && we !== 0) {
|
|
1080
|
+
const ee = at(
|
|
1081
|
+
Ce(0n, B),
|
|
1082
|
+
Ce(
|
|
1081
1083
|
0n,
|
|
1082
|
-
C.value + BigInt(Math.round(
|
|
1084
|
+
C.value + BigInt(Math.round(we))
|
|
1083
1085
|
)
|
|
1084
1086
|
);
|
|
1085
1087
|
C.set(ee);
|
|
1086
1088
|
}
|
|
1087
|
-
|
|
1089
|
+
we = 0, Se = 0, fe = null;
|
|
1088
1090
|
};
|
|
1089
1091
|
return M(
|
|
1090
1092
|
z(
|
|
@@ -1103,12 +1105,12 @@ function ga({
|
|
|
1103
1105
|
$.wheel((I) => {
|
|
1104
1106
|
I.preventDefault();
|
|
1105
1107
|
const { deltaX: B, deltaY: R } = I;
|
|
1106
|
-
|
|
1108
|
+
we += B, Se += R, fe || (fe = setTimeout(jt, 16));
|
|
1107
1109
|
}),
|
|
1108
1110
|
m.div(
|
|
1109
1111
|
s.class("bc-nine-slice-pane-container"),
|
|
1110
|
-
h.right(
|
|
1111
|
-
h.bottom(
|
|
1112
|
+
h.right(Ht),
|
|
1113
|
+
h.bottom(Rt),
|
|
1112
1114
|
// top-start corner
|
|
1113
1115
|
r != null ? m.div(
|
|
1114
1116
|
s.class("bc-nine-slice-pane bc-nine-slice-top-start"),
|
|
@@ -1127,7 +1129,7 @@ function ga({
|
|
|
1127
1129
|
// style.width(visibleAreaWidthPx),
|
|
1128
1130
|
m.div(
|
|
1129
1131
|
s.class("bc-nine-slice-pane-content"),
|
|
1130
|
-
|
|
1132
|
+
Ze,
|
|
1131
1133
|
a
|
|
1132
1134
|
)
|
|
1133
1135
|
) : null,
|
|
@@ -1149,7 +1151,7 @@ function ga({
|
|
|
1149
1151
|
// style.width(sidebarStartWidthPx),
|
|
1150
1152
|
m.div(
|
|
1151
1153
|
s.class("bc-nine-slice-pane-content"),
|
|
1152
|
-
|
|
1154
|
+
Ye,
|
|
1153
1155
|
b
|
|
1154
1156
|
)
|
|
1155
1157
|
) : null,
|
|
@@ -1162,7 +1164,7 @@ function ga({
|
|
|
1162
1164
|
// style.height(visibleAreaHeight.map(toPx)),
|
|
1163
1165
|
m.div(
|
|
1164
1166
|
s.class("bc-nine-slice-pane-content"),
|
|
1165
|
-
|
|
1167
|
+
Ut,
|
|
1166
1168
|
e
|
|
1167
1169
|
)
|
|
1168
1170
|
),
|
|
@@ -1175,7 +1177,7 @@ function ga({
|
|
|
1175
1177
|
// style.width(sidebarEndWidthPx),
|
|
1176
1178
|
m.div(
|
|
1177
1179
|
s.class("bc-nine-slice-pane-content"),
|
|
1178
|
-
|
|
1180
|
+
Ye,
|
|
1179
1181
|
p
|
|
1180
1182
|
)
|
|
1181
1183
|
) : null,
|
|
@@ -1197,7 +1199,7 @@ function ga({
|
|
|
1197
1199
|
// style.width(visibleAreaWidthPx),
|
|
1198
1200
|
m.div(
|
|
1199
1201
|
s.class("bc-nine-slice-pane-content"),
|
|
1200
|
-
|
|
1202
|
+
Ze,
|
|
1201
1203
|
c
|
|
1202
1204
|
)
|
|
1203
1205
|
) : null,
|
|
@@ -1294,7 +1296,7 @@ function ga({
|
|
|
1294
1296
|
})
|
|
1295
1297
|
);
|
|
1296
1298
|
}
|
|
1297
|
-
function
|
|
1299
|
+
function rt({ header: e, footer: n, body: t, shadowOnScroll: a = !0 }, ...l) {
|
|
1298
1300
|
const r = U("none");
|
|
1299
1301
|
function i(u) {
|
|
1300
1302
|
const o = u.scrollTop === 0, d = u.scrollTop + u.clientHeight >= u.scrollHeight - 1;
|
|
@@ -1325,7 +1327,7 @@ function lt({ header: e, footer: n, body: t, shadowOnScroll: a = !0 }, ...l) {
|
|
|
1325
1327
|
m.div(
|
|
1326
1328
|
s.class("bc-scrollable-panel__body"),
|
|
1327
1329
|
X(
|
|
1328
|
-
(u) => z(
|
|
1330
|
+
(u) => z(_e(() => i(u)))
|
|
1329
1331
|
),
|
|
1330
1332
|
$.scroll((u) => {
|
|
1331
1333
|
const o = u.target;
|
|
@@ -1338,11 +1340,11 @@ function lt({ header: e, footer: n, body: t, shadowOnScroll: a = !0 }, ...l) {
|
|
|
1338
1340
|
...l
|
|
1339
1341
|
);
|
|
1340
1342
|
}
|
|
1341
|
-
function
|
|
1343
|
+
function Vn(e, n, t) {
|
|
1342
1344
|
const a = ["bc-sink"];
|
|
1343
1345
|
return e !== "default" && a.push(`bc-sink--${e}`), n !== "md" && a.push(`bc-sink--padding-${n}`), t !== "lg" && a.push(`bc-sink--rounded-${t}`), a.join(" ");
|
|
1344
1346
|
}
|
|
1345
|
-
function
|
|
1347
|
+
function va({ variant: e = "default", size: n = "md", roundedness: t = "lg" } = {}, ...a) {
|
|
1346
1348
|
return m.div(
|
|
1347
1349
|
s.class(
|
|
1348
1350
|
y(
|
|
@@ -1350,7 +1352,7 @@ function ha({ variant: e = "default", size: n = "md", roundedness: t = "lg" } =
|
|
|
1350
1352
|
n,
|
|
1351
1353
|
t
|
|
1352
1354
|
)(
|
|
1353
|
-
(l, r, i) =>
|
|
1355
|
+
(l, r, i) => Vn(
|
|
1354
1356
|
l ?? "default",
|
|
1355
1357
|
r ?? "md",
|
|
1356
1358
|
i ?? "lg"
|
|
@@ -1390,7 +1392,7 @@ const ue = {
|
|
|
1390
1392
|
(n) => n.type === "group" ? ue.getValues(n.options) : n.type === "break" ? [] : [n.value]
|
|
1391
1393
|
),
|
|
1392
1394
|
contains: (e, n, t = (a, l) => a === l) => ue.getValues(e).some((a) => t(a, n))
|
|
1393
|
-
},
|
|
1395
|
+
}, _t = (e) => {
|
|
1394
1396
|
const {
|
|
1395
1397
|
onChange: n,
|
|
1396
1398
|
onBlur: t,
|
|
@@ -1455,7 +1457,7 @@ const ue = {
|
|
|
1455
1457
|
return q(
|
|
1456
1458
|
{
|
|
1457
1459
|
...e,
|
|
1458
|
-
input:
|
|
1460
|
+
input: Ct(
|
|
1459
1461
|
s.class("bc-dropdown__trigger"),
|
|
1460
1462
|
m.span(s.class("bc-dropdown__display"), l),
|
|
1461
1463
|
j(
|
|
@@ -1464,7 +1466,7 @@ const ue = {
|
|
|
1464
1466
|
)
|
|
1465
1467
|
)
|
|
1466
1468
|
},
|
|
1467
|
-
|
|
1469
|
+
ve((w) => M(
|
|
1468
1470
|
X((D) => (v = D, D.addEventListener("keydown", f), z(
|
|
1469
1471
|
() => D.removeEventListener("keydown", f)
|
|
1470
1472
|
))),
|
|
@@ -1531,9 +1533,9 @@ const ue = {
|
|
|
1531
1533
|
})
|
|
1532
1534
|
))
|
|
1533
1535
|
);
|
|
1534
|
-
},
|
|
1536
|
+
}, Tt = (e, n, t, a, l) => De(
|
|
1535
1537
|
e,
|
|
1536
|
-
(r) =>
|
|
1538
|
+
(r) => mt(r, {
|
|
1537
1539
|
value: (i) => {
|
|
1538
1540
|
const c = y(
|
|
1539
1541
|
i,
|
|
@@ -1559,7 +1561,7 @@ const ue = {
|
|
|
1559
1561
|
s.role("option"),
|
|
1560
1562
|
s.id(i.map((o) => `dropdown-option-${String(o.value)}`)),
|
|
1561
1563
|
A.selected(c),
|
|
1562
|
-
|
|
1564
|
+
an("value", i.$.value),
|
|
1563
1565
|
te(
|
|
1564
1566
|
i.map((o) => !o.disabled),
|
|
1565
1567
|
() => $.click(() => a(i.value.value)),
|
|
@@ -1586,7 +1588,7 @@ const ue = {
|
|
|
1586
1588
|
m.div(s.class("bc-dropdown__group-label"), i.$.group),
|
|
1587
1589
|
pe(
|
|
1588
1590
|
i.$.options,
|
|
1589
|
-
(c) =>
|
|
1591
|
+
(c) => Tt(
|
|
1590
1592
|
c,
|
|
1591
1593
|
n,
|
|
1592
1594
|
t,
|
|
@@ -1597,7 +1599,7 @@ const ue = {
|
|
|
1597
1599
|
),
|
|
1598
1600
|
break: () => m.hr(s.class("bc-dropdown__separator"))
|
|
1599
1601
|
})
|
|
1600
|
-
),
|
|
1602
|
+
), Ln = (e) => {
|
|
1601
1603
|
const {
|
|
1602
1604
|
value: n,
|
|
1603
1605
|
options: t,
|
|
@@ -1622,7 +1624,7 @@ const ue = {
|
|
|
1622
1624
|
};
|
|
1623
1625
|
return b(d) || String(o);
|
|
1624
1626
|
}), u = y(i)((o) => !o);
|
|
1625
|
-
return
|
|
1627
|
+
return _t({
|
|
1626
1628
|
...e,
|
|
1627
1629
|
role: "dropdown",
|
|
1628
1630
|
display: te(
|
|
@@ -1630,30 +1632,30 @@ const ue = {
|
|
|
1630
1632
|
() => c,
|
|
1631
1633
|
() => Y(
|
|
1632
1634
|
ne,
|
|
1633
|
-
(o) =>
|
|
1635
|
+
(o) => Pe(r, a, o.$.selectOne)
|
|
1634
1636
|
)
|
|
1635
1637
|
),
|
|
1636
1638
|
optionsSource: t,
|
|
1637
1639
|
allowSpaceToggle: u,
|
|
1638
1640
|
buildListboxContent: ({ focusedValue: o, onSelect: d }) => pe(
|
|
1639
1641
|
t,
|
|
1640
|
-
(b) =>
|
|
1642
|
+
(b) => Tt(b, l, n, d, o)
|
|
1641
1643
|
)
|
|
1642
1644
|
});
|
|
1643
|
-
},
|
|
1645
|
+
}, Bn = (e) => {
|
|
1644
1646
|
const { controller: n, onChange: t, onBlur: a, ...l } = e;
|
|
1645
|
-
return
|
|
1647
|
+
return Ln({
|
|
1646
1648
|
...l,
|
|
1647
1649
|
value: n.value,
|
|
1648
|
-
onChange:
|
|
1649
|
-
onBlur:
|
|
1650
|
+
onChange: xt(n, t),
|
|
1651
|
+
onBlur: vt(n, a)
|
|
1650
1652
|
});
|
|
1651
|
-
},
|
|
1653
|
+
}, xa = (e) => Ue({
|
|
1652
1654
|
...e,
|
|
1653
|
-
content:
|
|
1654
|
-
}),
|
|
1655
|
+
content: Bn(e)
|
|
1656
|
+
}), Dt = (e, n, t, a, l, r) => De(
|
|
1655
1657
|
e,
|
|
1656
|
-
(i) =>
|
|
1658
|
+
(i) => mt(i, {
|
|
1657
1659
|
value: (c) => {
|
|
1658
1660
|
const u = y(
|
|
1659
1661
|
c,
|
|
@@ -1710,7 +1712,7 @@ const ue = {
|
|
|
1710
1712
|
m.div(s.class("bc-dropdown__group-label"), c.$.group),
|
|
1711
1713
|
pe(
|
|
1712
1714
|
c.$.options,
|
|
1713
|
-
(u) =>
|
|
1715
|
+
(u) => Dt(
|
|
1714
1716
|
u,
|
|
1715
1717
|
n,
|
|
1716
1718
|
t,
|
|
@@ -1722,7 +1724,7 @@ const ue = {
|
|
|
1722
1724
|
),
|
|
1723
1725
|
break: () => m.hr(s.class("bc-dropdown__separator"))
|
|
1724
1726
|
})
|
|
1725
|
-
),
|
|
1727
|
+
), Mn = (e) => {
|
|
1726
1728
|
const {
|
|
1727
1729
|
value: n,
|
|
1728
1730
|
loadOptions: t,
|
|
@@ -1750,7 +1752,7 @@ const ue = {
|
|
|
1750
1752
|
Math.max(0, u)
|
|
1751
1753
|
);
|
|
1752
1754
|
};
|
|
1753
|
-
return
|
|
1755
|
+
return _t({
|
|
1754
1756
|
...e,
|
|
1755
1757
|
role: "combobox",
|
|
1756
1758
|
display: te(
|
|
@@ -1796,7 +1798,7 @@ const ue = {
|
|
|
1796
1798
|
),
|
|
1797
1799
|
() => pe(
|
|
1798
1800
|
b,
|
|
1799
|
-
(V) =>
|
|
1801
|
+
(V) => Dt(
|
|
1800
1802
|
V,
|
|
1801
1803
|
r,
|
|
1802
1804
|
p,
|
|
@@ -1808,19 +1810,19 @@ const ue = {
|
|
|
1808
1810
|
)
|
|
1809
1811
|
)
|
|
1810
1812
|
});
|
|
1811
|
-
},
|
|
1813
|
+
}, On = (e) => {
|
|
1812
1814
|
const { controller: n, onChange: t, onBlur: a, ...l } = e;
|
|
1813
|
-
return
|
|
1815
|
+
return Mn({
|
|
1814
1816
|
...l,
|
|
1815
1817
|
value: n.value,
|
|
1816
|
-
onChange:
|
|
1817
|
-
onBlur:
|
|
1818
|
+
onChange: xt(n, t),
|
|
1819
|
+
onBlur: vt(n, a)
|
|
1818
1820
|
});
|
|
1819
|
-
},
|
|
1821
|
+
}, ya = (e) => Ue({
|
|
1820
1822
|
...e,
|
|
1821
|
-
content:
|
|
1823
|
+
content: On(e)
|
|
1822
1824
|
});
|
|
1823
|
-
function
|
|
1825
|
+
function At(e) {
|
|
1824
1826
|
const {
|
|
1825
1827
|
items: n,
|
|
1826
1828
|
placement: t = "bottom-start",
|
|
@@ -1962,7 +1964,7 @@ function Dt(e) {
|
|
|
1962
1964
|
role: "menu"
|
|
1963
1965
|
});
|
|
1964
1966
|
}
|
|
1965
|
-
function
|
|
1967
|
+
function wa(e) {
|
|
1966
1968
|
const {
|
|
1967
1969
|
key: n,
|
|
1968
1970
|
content: t,
|
|
@@ -1983,7 +1985,7 @@ function ya(e) {
|
|
|
1983
1985
|
s.id(b),
|
|
1984
1986
|
s.role("menuitem"),
|
|
1985
1987
|
s.tabindex(-1),
|
|
1986
|
-
|
|
1988
|
+
He.key(d),
|
|
1987
1989
|
A.disabled(r),
|
|
1988
1990
|
A.selected(!1),
|
|
1989
1991
|
// Will be updated by focus management
|
|
@@ -2020,7 +2022,7 @@ function ya(e) {
|
|
|
2020
2022
|
}) : M()
|
|
2021
2023
|
);
|
|
2022
2024
|
}
|
|
2023
|
-
function
|
|
2025
|
+
function Vt(e = {}) {
|
|
2024
2026
|
const { label: n } = e;
|
|
2025
2027
|
return m.div(
|
|
2026
2028
|
s.class("bc-menu-separator"),
|
|
@@ -2029,21 +2031,21 @@ function At(e = {}) {
|
|
|
2029
2031
|
n && m.span(s.class("bc-menu-separator__label"), n)
|
|
2030
2032
|
);
|
|
2031
2033
|
}
|
|
2032
|
-
function
|
|
2034
|
+
function Lt(e, n, t) {
|
|
2033
2035
|
return e.some((l) => t(l, n)) ? e.filter((l) => !t(l, n)) : [...e, n];
|
|
2034
2036
|
}
|
|
2035
|
-
function
|
|
2037
|
+
function Bt(e, n, t) {
|
|
2036
2038
|
return e.filter((a) => !t(a, n));
|
|
2037
2039
|
}
|
|
2038
|
-
function
|
|
2040
|
+
function Mt(e, n, t) {
|
|
2039
2041
|
return e.some((a) => t(a, n));
|
|
2040
2042
|
}
|
|
2041
|
-
function
|
|
2043
|
+
function Ot(e, n, t) {
|
|
2042
2044
|
for (const a of e)
|
|
2043
2045
|
if (a.type === "value") {
|
|
2044
2046
|
if (t(a.value, n)) return { label: a.label };
|
|
2045
2047
|
} else if (a.type === "group") {
|
|
2046
|
-
const l =
|
|
2048
|
+
const l = Ot(
|
|
2047
2049
|
a.options,
|
|
2048
2050
|
n,
|
|
2049
2051
|
t
|
|
@@ -2051,10 +2053,10 @@ function Mt(e, n, t) {
|
|
|
2051
2053
|
if (l != null) return l;
|
|
2052
2054
|
}
|
|
2053
2055
|
}
|
|
2054
|
-
function
|
|
2055
|
-
return
|
|
2056
|
+
function Nn(e, n, t) {
|
|
2057
|
+
return Ot(e, n, t)?.label ?? String(n);
|
|
2056
2058
|
}
|
|
2057
|
-
function
|
|
2059
|
+
function Nt(e, n, t) {
|
|
2058
2060
|
const a = n.trim().toLowerCase(), l = t ?? ((i, c) => c.label.toLowerCase().includes(i));
|
|
2059
2061
|
if (a === "") return e;
|
|
2060
2062
|
const r = [];
|
|
@@ -2062,7 +2064,7 @@ function Ot(e, n, t) {
|
|
|
2062
2064
|
if (i.type === "value")
|
|
2063
2065
|
l(a, { label: i.label }) && r.push(i);
|
|
2064
2066
|
else if (i.type === "group") {
|
|
2065
|
-
const c =
|
|
2067
|
+
const c = Nt(
|
|
2066
2068
|
i.options,
|
|
2067
2069
|
a,
|
|
2068
2070
|
l
|
|
@@ -2071,17 +2073,17 @@ function Ot(e, n, t) {
|
|
|
2071
2073
|
}
|
|
2072
2074
|
return r;
|
|
2073
2075
|
}
|
|
2074
|
-
function
|
|
2076
|
+
function Pt(e) {
|
|
2075
2077
|
const { values: n, options: t, equality: a, disabled: l, onRemove: r } = e;
|
|
2076
2078
|
return Wt(
|
|
2077
2079
|
n,
|
|
2078
2080
|
() => pe(
|
|
2079
2081
|
n,
|
|
2080
|
-
(i) =>
|
|
2082
|
+
(i) => It({
|
|
2081
2083
|
value: y(
|
|
2082
2084
|
i,
|
|
2083
2085
|
t
|
|
2084
|
-
)((c, u) =>
|
|
2086
|
+
)((c, u) => Nn(u, c, a)),
|
|
2085
2087
|
onClose: () => r(i.value),
|
|
2086
2088
|
disabled: l
|
|
2087
2089
|
})
|
|
@@ -2089,7 +2091,7 @@ function Nt(e) {
|
|
|
2089
2091
|
() => m.span(s.class("bc-input-container__placeholder"), e.placeholder)
|
|
2090
2092
|
);
|
|
2091
2093
|
}
|
|
2092
|
-
function
|
|
2094
|
+
function Et(e) {
|
|
2093
2095
|
const {
|
|
2094
2096
|
value: n,
|
|
2095
2097
|
options: t,
|
|
@@ -2097,11 +2099,11 @@ function Pt(e) {
|
|
|
2097
2099
|
placeholder: l
|
|
2098
2100
|
} = e, r = (o) => {
|
|
2099
2101
|
const d = S.get(n);
|
|
2100
|
-
e.onChange?.(
|
|
2102
|
+
e.onChange?.(Bt(d, o, a));
|
|
2101
2103
|
}, i = (o) => {
|
|
2102
2104
|
const d = S.get(n);
|
|
2103
|
-
e.onChange?.(
|
|
2104
|
-
}, c = (o) => y(n)((d) =>
|
|
2105
|
+
e.onChange?.(Lt(d, o, a));
|
|
2106
|
+
}, c = (o) => y(n)((d) => Mt(d, o, a)), u = At({
|
|
2105
2107
|
items: () => {
|
|
2106
2108
|
const o = S.get(t), d = [];
|
|
2107
2109
|
for (const b of o)
|
|
@@ -2138,7 +2140,7 @@ function Pt(e) {
|
|
|
2138
2140
|
return M();
|
|
2139
2141
|
})
|
|
2140
2142
|
)
|
|
2141
|
-
) : d.push(
|
|
2143
|
+
) : d.push(Vt());
|
|
2142
2144
|
return d;
|
|
2143
2145
|
},
|
|
2144
2146
|
placement: "bottom-start",
|
|
@@ -2152,7 +2154,7 @@ function Pt(e) {
|
|
|
2152
2154
|
before: e.before ?? j({ icon: "tabler:tags", color: "neutral" }),
|
|
2153
2155
|
input: M(
|
|
2154
2156
|
s.class("bc-input-container__tags"),
|
|
2155
|
-
|
|
2157
|
+
Pt({
|
|
2156
2158
|
values: n,
|
|
2157
2159
|
placeholder: l,
|
|
2158
2160
|
options: t,
|
|
@@ -2172,13 +2174,13 @@ function Pt(e) {
|
|
|
2172
2174
|
)
|
|
2173
2175
|
});
|
|
2174
2176
|
}
|
|
2175
|
-
function wa(e) {
|
|
2176
|
-
return xt(Pt, e);
|
|
2177
|
-
}
|
|
2178
2177
|
function Sa(e) {
|
|
2179
|
-
return yt(
|
|
2178
|
+
return yt(Et, e);
|
|
2180
2179
|
}
|
|
2181
|
-
function
|
|
2180
|
+
function Ca(e) {
|
|
2181
|
+
return wt(Et, e);
|
|
2182
|
+
}
|
|
2183
|
+
function Ft(e) {
|
|
2182
2184
|
const {
|
|
2183
2185
|
value: n,
|
|
2184
2186
|
options: t,
|
|
@@ -2188,14 +2190,14 @@ function Et(e) {
|
|
|
2188
2190
|
filter: i
|
|
2189
2191
|
} = e, c = U(""), u = (p) => {
|
|
2190
2192
|
const g = S.get(n);
|
|
2191
|
-
e.onChange?.(
|
|
2193
|
+
e.onChange?.(Bt(g, p, a));
|
|
2192
2194
|
}, o = (p) => {
|
|
2193
2195
|
const g = S.get(n);
|
|
2194
|
-
e.onChange?.(
|
|
2195
|
-
}, d = (p) => y(n)((g) =>
|
|
2196
|
+
e.onChange?.(Lt(g, p, a));
|
|
2197
|
+
}, d = (p) => y(n)((g) => Mt(g, p, a)), b = y(
|
|
2196
2198
|
t,
|
|
2197
2199
|
c
|
|
2198
|
-
)((p, g) =>
|
|
2200
|
+
)((p, g) => Nt(p, g, i)), x = At({
|
|
2199
2201
|
items: () => {
|
|
2200
2202
|
const p = [], g = S.get(b);
|
|
2201
2203
|
if (g.length === 0)
|
|
@@ -2239,7 +2241,7 @@ function Et(e) {
|
|
|
2239
2241
|
return M();
|
|
2240
2242
|
})
|
|
2241
2243
|
)
|
|
2242
|
-
) : p.push(
|
|
2244
|
+
) : p.push(Vt());
|
|
2243
2245
|
return p;
|
|
2244
2246
|
},
|
|
2245
2247
|
placement: "bottom-start",
|
|
@@ -2267,7 +2269,7 @@ function Et(e) {
|
|
|
2267
2269
|
before: e.before ?? j({ icon: "tabler:tags", color: "neutral" }),
|
|
2268
2270
|
input: M(
|
|
2269
2271
|
s.class("bc-input-container__tags"),
|
|
2270
|
-
|
|
2272
|
+
Pt({
|
|
2271
2273
|
values: n,
|
|
2272
2274
|
options: t,
|
|
2273
2275
|
placeholder: l,
|
|
@@ -2301,13 +2303,13 @@ function Et(e) {
|
|
|
2301
2303
|
)
|
|
2302
2304
|
});
|
|
2303
2305
|
}
|
|
2304
|
-
function Ca(e) {
|
|
2305
|
-
return xt(Et, e);
|
|
2306
|
-
}
|
|
2307
2306
|
function ka(e) {
|
|
2308
|
-
return yt(
|
|
2307
|
+
return yt(Ft, e);
|
|
2308
|
+
}
|
|
2309
|
+
function Ia(e) {
|
|
2310
|
+
return wt(Ft, e);
|
|
2309
2311
|
}
|
|
2310
|
-
const
|
|
2312
|
+
const $a = (e) => {
|
|
2311
2313
|
const { value: n, onBlur: t, onChange: a } = e;
|
|
2312
2314
|
return q({
|
|
2313
2315
|
...e,
|
|
@@ -2319,29 +2321,29 @@ const Ia = (e) => {
|
|
|
2319
2321
|
a != null ? $.change(qt(a)) : O
|
|
2320
2322
|
)
|
|
2321
2323
|
});
|
|
2322
|
-
},
|
|
2324
|
+
}, Pn = (e) => {
|
|
2323
2325
|
const n = e.getFullYear(), t = (e.getMonth() + 1).toString().padStart(2, "0"), a = e.getDate().toString().padStart(2, "0"), l = e.getHours().toString().padStart(2, "0"), r = e.getMinutes().toString().padStart(2, "0");
|
|
2324
2326
|
return `${n}-${t}-${a}T${l}:${r}`;
|
|
2325
|
-
},
|
|
2327
|
+
}, _a = (e) => {
|
|
2326
2328
|
const { value: n, onBlur: t, onChange: a } = e;
|
|
2327
2329
|
return q({
|
|
2328
2330
|
...e,
|
|
2329
2331
|
input: J["datetime-local"](
|
|
2330
2332
|
G(e),
|
|
2331
|
-
s.value(S.map(n,
|
|
2333
|
+
s.value(S.map(n, Pn)),
|
|
2332
2334
|
s.class("bc-input"),
|
|
2333
2335
|
t != null ? $.blur(P(t)) : O,
|
|
2334
2336
|
a != null ? $.change(P((l) => a(new Date(l)))) : O
|
|
2335
2337
|
)
|
|
2336
2338
|
});
|
|
2337
|
-
},
|
|
2339
|
+
}, Ta = (e) => {
|
|
2338
2340
|
const {
|
|
2339
2341
|
value: n,
|
|
2340
2342
|
onInput: t,
|
|
2341
2343
|
onChange: a,
|
|
2342
2344
|
...l
|
|
2343
2345
|
} = e;
|
|
2344
|
-
return
|
|
2346
|
+
return sn({
|
|
2345
2347
|
...l,
|
|
2346
2348
|
maxFiles: 1,
|
|
2347
2349
|
value: S.map(n, (r) => r == null ? [] : [r]),
|
|
@@ -2352,7 +2354,7 @@ const Ia = (e) => {
|
|
|
2352
2354
|
t?.(r[0]);
|
|
2353
2355
|
}
|
|
2354
2356
|
});
|
|
2355
|
-
},
|
|
2357
|
+
}, Da = (e) => Jt({
|
|
2356
2358
|
request: e.request,
|
|
2357
2359
|
load: e.load,
|
|
2358
2360
|
convertError: String,
|
|
@@ -2360,7 +2362,7 @@ const Ia = (e) => {
|
|
|
2360
2362
|
const t = n.map(
|
|
2361
2363
|
(a) => a.map((l) => typeof l == "object" && "id" in l && "label" in l ? ue.value(l.id, l.label) : l)
|
|
2362
2364
|
);
|
|
2363
|
-
return
|
|
2365
|
+
return kt({
|
|
2364
2366
|
...e,
|
|
2365
2367
|
options: t,
|
|
2366
2368
|
unselectedLabel: e.unselectedLabel,
|
|
@@ -2376,23 +2378,23 @@ const Ia = (e) => {
|
|
|
2376
2378
|
})
|
|
2377
2379
|
)
|
|
2378
2380
|
)
|
|
2379
|
-
}),
|
|
2381
|
+
}), Aa = (e) => {
|
|
2380
2382
|
const { value: n, onBlur: t, onChange: a, onInput: l, after: r, disabled: i, ...c } = e, u = oe(n, i, a);
|
|
2381
2383
|
return me({
|
|
2382
2384
|
...c,
|
|
2383
|
-
value: S.map(n,
|
|
2384
|
-
onChange: a != null ? (o) => a(
|
|
2385
|
-
onInput: l != null ? (o) => l(
|
|
2385
|
+
value: S.map(n, ln),
|
|
2386
|
+
onChange: a != null ? (o) => a(tt(o)) : void 0,
|
|
2387
|
+
onInput: l != null ? (o) => l(tt(o)) : void 0,
|
|
2386
2388
|
onBlur: t,
|
|
2387
2389
|
after: r != null ? M(u, r) : u
|
|
2388
2390
|
});
|
|
2389
|
-
},
|
|
2391
|
+
}, ot = (e) => {
|
|
2390
2392
|
try {
|
|
2391
2393
|
return BigInt(e);
|
|
2392
2394
|
} catch {
|
|
2393
2395
|
return null;
|
|
2394
2396
|
}
|
|
2395
|
-
},
|
|
2397
|
+
}, Va = (e) => {
|
|
2396
2398
|
const { value: n, step: t, min: a, max: l, onChange: r, onInput: i, after: c } = e, u = (p) => {
|
|
2397
2399
|
const g = a != null ? S.get(a) : void 0, v = l != null ? S.get(l) : void 0;
|
|
2398
2400
|
return g != null && p < g ? g : v != null && p > v ? v : p;
|
|
@@ -2409,9 +2411,10 @@ const Ia = (e) => {
|
|
|
2409
2411
|
const L = u(E);
|
|
2410
2412
|
L !== w && r && r(L);
|
|
2411
2413
|
};
|
|
2412
|
-
return
|
|
2414
|
+
return je(
|
|
2413
2415
|
s.class("bc-number-input-steppers"),
|
|
2414
2416
|
m.button(
|
|
2417
|
+
s.type("button"),
|
|
2415
2418
|
s.class(
|
|
2416
2419
|
"bc-button bc-number-input-steppers-button bc-number-input-steppers-button--increment"
|
|
2417
2420
|
),
|
|
@@ -2426,6 +2429,7 @@ const Ia = (e) => {
|
|
|
2426
2429
|
j({ icon: "line-md:plus", size: "xs" })
|
|
2427
2430
|
),
|
|
2428
2431
|
m.button(
|
|
2432
|
+
s.type("button"),
|
|
2429
2433
|
s.class(
|
|
2430
2434
|
"bc-button bc-number-input-steppers-button bc-number-input-steppers-button--decrement"
|
|
2431
2435
|
),
|
|
@@ -2441,10 +2445,10 @@ const Ia = (e) => {
|
|
|
2441
2445
|
)
|
|
2442
2446
|
);
|
|
2443
2447
|
}) : null, d = c != null && o != null ? M(o, c) : c ?? o, b = r ? (p) => {
|
|
2444
|
-
const g =
|
|
2448
|
+
const g = ot(p);
|
|
2445
2449
|
g != null && r(u(g));
|
|
2446
2450
|
} : void 0, x = i ? (p) => {
|
|
2447
|
-
const g =
|
|
2451
|
+
const g = ot(p);
|
|
2448
2452
|
g != null && i(u(g));
|
|
2449
2453
|
} : void 0;
|
|
2450
2454
|
return me({
|
|
@@ -2457,14 +2461,14 @@ const Ia = (e) => {
|
|
|
2457
2461
|
allowMode: "digits",
|
|
2458
2462
|
class: "bc-number-input"
|
|
2459
2463
|
});
|
|
2460
|
-
},
|
|
2464
|
+
}, it = (e) => {
|
|
2461
2465
|
if (e == null || e === "") return null;
|
|
2462
2466
|
try {
|
|
2463
2467
|
return BigInt(e);
|
|
2464
2468
|
} catch {
|
|
2465
2469
|
return null;
|
|
2466
2470
|
}
|
|
2467
|
-
},
|
|
2471
|
+
}, La = (e) => {
|
|
2468
2472
|
const { value: n, step: t, min: a, max: l, onChange: r, onInput: i, after: c } = e, u = (g) => {
|
|
2469
2473
|
const v = a != null ? S.get(a) : void 0, _ = l != null ? S.get(l) : void 0;
|
|
2470
2474
|
return v != null && g < v ? v : _ != null && g > _ ? _ : g;
|
|
@@ -2487,8 +2491,9 @@ const Ia = (e) => {
|
|
|
2487
2491
|
const N = u(k);
|
|
2488
2492
|
N !== D && r && r(N);
|
|
2489
2493
|
};
|
|
2490
|
-
return
|
|
2494
|
+
return je(
|
|
2491
2495
|
s.class("bc-number-input-steppers"),
|
|
2496
|
+
s.type("button"),
|
|
2492
2497
|
m.button(
|
|
2493
2498
|
s.class(
|
|
2494
2499
|
"bc-button bc-number-input-steppers-button bc-number-input-steppers-button--increment"
|
|
@@ -2504,6 +2509,7 @@ const Ia = (e) => {
|
|
|
2504
2509
|
j({ icon: "line-md:plus", size: "xs" })
|
|
2505
2510
|
),
|
|
2506
2511
|
m.button(
|
|
2512
|
+
s.type("button"),
|
|
2507
2513
|
s.class(
|
|
2508
2514
|
"bc-button bc-number-input-steppers-button bc-number-input-steppers-button--decrement"
|
|
2509
2515
|
),
|
|
@@ -2519,10 +2525,10 @@ const Ia = (e) => {
|
|
|
2519
2525
|
)
|
|
2520
2526
|
);
|
|
2521
2527
|
}) : null, d = oe(n, e.disabled, r), b = c != null && o != null ? M(o, d, c) : c != null ? M(d, c) : o != null ? M(o, d) : d, x = r ? (g) => {
|
|
2522
|
-
const v =
|
|
2528
|
+
const v = it(g);
|
|
2523
2529
|
r(v === null ? null : u(v));
|
|
2524
2530
|
} : void 0, p = i ? (g) => {
|
|
2525
|
-
const v =
|
|
2531
|
+
const v = it(g);
|
|
2526
2532
|
i(v === null ? null : u(v));
|
|
2527
2533
|
} : void 0;
|
|
2528
2534
|
return me({
|
|
@@ -2535,7 +2541,7 @@ const Ia = (e) => {
|
|
|
2535
2541
|
allowMode: "digits",
|
|
2536
2542
|
class: "bc-number-input"
|
|
2537
2543
|
});
|
|
2538
|
-
},
|
|
2544
|
+
}, Ba = (e) => {
|
|
2539
2545
|
const { value: n, onChange: t, onBlur: a, before: l } = e, r = U(""), i = (u) => {
|
|
2540
2546
|
t?.(S.get(n).filter((o) => o !== u));
|
|
2541
2547
|
}, c = () => {
|
|
@@ -2555,7 +2561,7 @@ const Ia = (e) => {
|
|
|
2555
2561
|
s.class("bc-input-container__tags"),
|
|
2556
2562
|
pe(
|
|
2557
2563
|
n,
|
|
2558
|
-
(u) =>
|
|
2564
|
+
(u) => It({
|
|
2559
2565
|
value: u,
|
|
2560
2566
|
onClose: () => i(u.value),
|
|
2561
2567
|
disabled: e.disabled
|
|
@@ -2571,7 +2577,7 @@ const Ia = (e) => {
|
|
|
2571
2577
|
)
|
|
2572
2578
|
)
|
|
2573
2579
|
});
|
|
2574
|
-
},
|
|
2580
|
+
}, Ma = (e) => {
|
|
2575
2581
|
const { value: n, onBlur: t, onChange: a } = e;
|
|
2576
2582
|
return Q(
|
|
2577
2583
|
(l) => q({
|
|
@@ -2585,7 +2591,7 @@ const Ia = (e) => {
|
|
|
2585
2591
|
)
|
|
2586
2592
|
})
|
|
2587
2593
|
);
|
|
2588
|
-
},
|
|
2594
|
+
}, Oa = (e) => {
|
|
2589
2595
|
const { value: n, onBlur: t, onChange: a, after: l, disabled: r } = e, i = oe(n, r, a);
|
|
2590
2596
|
return Q(
|
|
2591
2597
|
(c) => q({
|
|
@@ -2604,7 +2610,7 @@ const Ia = (e) => {
|
|
|
2604
2610
|
after: l != null ? M(i, l) : i
|
|
2605
2611
|
})
|
|
2606
2612
|
);
|
|
2607
|
-
},
|
|
2613
|
+
}, Na = (e) => {
|
|
2608
2614
|
const { value: n, onBlur: t, onChange: a } = e;
|
|
2609
2615
|
return Q(
|
|
2610
2616
|
(l) => q({
|
|
@@ -2618,7 +2624,7 @@ const Ia = (e) => {
|
|
|
2618
2624
|
)
|
|
2619
2625
|
})
|
|
2620
2626
|
);
|
|
2621
|
-
},
|
|
2627
|
+
}, Pa = (e) => {
|
|
2622
2628
|
const { value: n, onBlur: t, onChange: a, after: l, disabled: r } = e, i = oe(n, r, a);
|
|
2623
2629
|
return Q(
|
|
2624
2630
|
(c) => q({
|
|
@@ -2637,7 +2643,7 @@ const Ia = (e) => {
|
|
|
2637
2643
|
after: l != null ? M(i, l) : i
|
|
2638
2644
|
})
|
|
2639
2645
|
);
|
|
2640
|
-
},
|
|
2646
|
+
}, Ea = (e) => {
|
|
2641
2647
|
const { value: n, onBlur: t, onChange: a } = e;
|
|
2642
2648
|
return Q(
|
|
2643
2649
|
(l) => q({
|
|
@@ -2651,7 +2657,7 @@ const Ia = (e) => {
|
|
|
2651
2657
|
)
|
|
2652
2658
|
})
|
|
2653
2659
|
);
|
|
2654
|
-
},
|
|
2660
|
+
}, Fa = (e) => {
|
|
2655
2661
|
const { value: n, onBlur: t, onChange: a, after: l, disabled: r } = e, i = oe(n, r, a);
|
|
2656
2662
|
return Q(
|
|
2657
2663
|
(c) => q({
|
|
@@ -2670,10 +2676,10 @@ const Ia = (e) => {
|
|
|
2670
2676
|
after: l != null ? M(i, l) : i
|
|
2671
2677
|
})
|
|
2672
2678
|
);
|
|
2673
|
-
},
|
|
2679
|
+
}, En = (e) => {
|
|
2674
2680
|
const n = new Date(e), t = n.getFullYear().toString().padStart(4, "0"), a = (n.getMonth() + 1).toString().padStart(2, "0"), l = n.getDate().toString().padStart(2, "0"), r = n.getHours().toString().padStart(2, "0"), i = n.getMinutes().toString().padStart(2, "0");
|
|
2675
2681
|
return `${t}-${a}-${l}T${r}:${i}`;
|
|
2676
|
-
},
|
|
2682
|
+
}, Ha = (e) => {
|
|
2677
2683
|
const { value: n, onBlur: t, onChange: a } = e;
|
|
2678
2684
|
return Q(
|
|
2679
2685
|
(l) => q({
|
|
@@ -2681,7 +2687,7 @@ const Ia = (e) => {
|
|
|
2681
2687
|
input: J["datetime-local"](
|
|
2682
2688
|
G(e),
|
|
2683
2689
|
s.value(
|
|
2684
|
-
S.map(n, (r) =>
|
|
2690
|
+
S.map(n, (r) => En(Number(r.epochMilliseconds)))
|
|
2685
2691
|
),
|
|
2686
2692
|
s.class("bc-input"),
|
|
2687
2693
|
t != null ? $.blur(P(t)) : O,
|
|
@@ -2693,10 +2699,10 @@ const Ia = (e) => {
|
|
|
2693
2699
|
)
|
|
2694
2700
|
})
|
|
2695
2701
|
);
|
|
2696
|
-
},
|
|
2702
|
+
}, Fn = (e) => {
|
|
2697
2703
|
const n = new Date(e), t = n.getFullYear().toString().padStart(4, "0"), a = (n.getMonth() + 1).toString().padStart(2, "0"), l = n.getDate().toString().padStart(2, "0"), r = n.getHours().toString().padStart(2, "0"), i = n.getMinutes().toString().padStart(2, "0");
|
|
2698
2704
|
return `${t}-${a}-${l}T${r}:${i}`;
|
|
2699
|
-
},
|
|
2705
|
+
}, Ra = (e) => {
|
|
2700
2706
|
const { value: n, onBlur: t, onChange: a, after: l, disabled: r } = e, i = oe(n, r, a);
|
|
2701
2707
|
return Q(
|
|
2702
2708
|
(c) => q({
|
|
@@ -2706,7 +2712,7 @@ const Ia = (e) => {
|
|
|
2706
2712
|
s.value(
|
|
2707
2713
|
S.map(
|
|
2708
2714
|
n,
|
|
2709
|
-
(u) => u == null ? null :
|
|
2715
|
+
(u) => u == null ? null : Fn(Number(u.epochMilliseconds))
|
|
2710
2716
|
)
|
|
2711
2717
|
),
|
|
2712
2718
|
s.class("bc-input"),
|
|
@@ -2720,7 +2726,7 @@ const Ia = (e) => {
|
|
|
2720
2726
|
after: l != null ? M(i, l) : i
|
|
2721
2727
|
})
|
|
2722
2728
|
);
|
|
2723
|
-
},
|
|
2729
|
+
}, Ua = (e) => {
|
|
2724
2730
|
const { value: n, onBlur: t, onChange: a } = e;
|
|
2725
2731
|
return Q(
|
|
2726
2732
|
(l) => q({
|
|
@@ -2739,7 +2745,7 @@ const Ia = (e) => {
|
|
|
2739
2745
|
)
|
|
2740
2746
|
})
|
|
2741
2747
|
);
|
|
2742
|
-
},
|
|
2748
|
+
}, ja = (e) => {
|
|
2743
2749
|
const { value: n, onBlur: t, onChange: a, after: l, disabled: r } = e, i = oe(n, r, a);
|
|
2744
2750
|
return Q(
|
|
2745
2751
|
(c) => q({
|
|
@@ -2760,7 +2766,7 @@ const Ia = (e) => {
|
|
|
2760
2766
|
after: l != null ? M(i, l) : i
|
|
2761
2767
|
})
|
|
2762
2768
|
);
|
|
2763
|
-
},
|
|
2769
|
+
}, za = (e) => {
|
|
2764
2770
|
const { value: n, onBlur: t, onChange: a } = e;
|
|
2765
2771
|
return Q(
|
|
2766
2772
|
(l) => q({
|
|
@@ -2774,7 +2780,7 @@ const Ia = (e) => {
|
|
|
2774
2780
|
)
|
|
2775
2781
|
})
|
|
2776
2782
|
);
|
|
2777
|
-
},
|
|
2783
|
+
}, Wa = (e) => {
|
|
2778
2784
|
const { value: n, onBlur: t, onChange: a, after: l, disabled: r } = e, i = oe(n, r, a);
|
|
2779
2785
|
return Q(
|
|
2780
2786
|
(c) => q({
|
|
@@ -2793,7 +2799,7 @@ const Ia = (e) => {
|
|
|
2793
2799
|
after: l != null ? M(i, l) : i
|
|
2794
2800
|
})
|
|
2795
2801
|
);
|
|
2796
|
-
},
|
|
2802
|
+
}, qa = (e) => {
|
|
2797
2803
|
const { value: n, onChange: t } = e;
|
|
2798
2804
|
return Q(
|
|
2799
2805
|
(a) => me({
|
|
@@ -2806,7 +2812,7 @@ const Ia = (e) => {
|
|
|
2806
2812
|
placeholder: "MM-DD"
|
|
2807
2813
|
})
|
|
2808
2814
|
);
|
|
2809
|
-
},
|
|
2815
|
+
}, Za = (e) => {
|
|
2810
2816
|
const { value: n, onChange: t, after: a, disabled: l } = e, r = oe(n, l, t);
|
|
2811
2817
|
return Q(
|
|
2812
2818
|
(i) => me({
|
|
@@ -2819,7 +2825,7 @@ const Ia = (e) => {
|
|
|
2819
2825
|
after: a != null ? M(r, a) : r
|
|
2820
2826
|
})
|
|
2821
2827
|
);
|
|
2822
|
-
},
|
|
2828
|
+
}, Ya = (e) => {
|
|
2823
2829
|
const { value: n, onChange: t } = e;
|
|
2824
2830
|
return Q(
|
|
2825
2831
|
(a) => me({
|
|
@@ -2827,13 +2833,13 @@ const Ia = (e) => {
|
|
|
2827
2833
|
value: S.map(n, (l) => l.toString()),
|
|
2828
2834
|
onChange: t ? (l) => t(a.Duration.from(l)) : void 0,
|
|
2829
2835
|
onInput: void 0,
|
|
2830
|
-
...
|
|
2836
|
+
...rn(a.Duration.from),
|
|
2831
2837
|
placeholder: "P0DT0H0M0S"
|
|
2832
2838
|
})
|
|
2833
2839
|
);
|
|
2834
2840
|
};
|
|
2835
|
-
function
|
|
2836
|
-
return
|
|
2841
|
+
function Ga(e, n, t) {
|
|
2842
|
+
return De(
|
|
2837
2843
|
e.value,
|
|
2838
2844
|
() => {
|
|
2839
2845
|
const a = e.transform(
|
|
@@ -2848,24 +2854,24 @@ function Ya(e, n, t) {
|
|
|
2848
2854
|
t
|
|
2849
2855
|
);
|
|
2850
2856
|
}
|
|
2851
|
-
const
|
|
2857
|
+
const Ka = {
|
|
2852
2858
|
filling: { type: "filling" },
|
|
2853
2859
|
submitting: { type: "submitting" },
|
|
2854
2860
|
error: (e) => ({ type: "error", error: e }),
|
|
2855
2861
|
success: { type: "success" }
|
|
2856
2862
|
};
|
|
2857
|
-
class
|
|
2863
|
+
class Hn extends en {
|
|
2858
2864
|
constructor(n, t, a, l, r) {
|
|
2859
2865
|
super(n, t, a, l, r);
|
|
2860
2866
|
}
|
|
2861
2867
|
/**
|
|
2862
2868
|
* Validates that the current value is a valid color
|
|
2863
2869
|
*/
|
|
2864
|
-
isValidColor = this.value.map(
|
|
2870
|
+
isValidColor = this.value.map(mn);
|
|
2865
2871
|
/**
|
|
2866
2872
|
* Validates that the current value is a valid hex color
|
|
2867
2873
|
*/
|
|
2868
|
-
isValidHex = this.value.map(
|
|
2874
|
+
isValidHex = this.value.map(Te);
|
|
2869
2875
|
/**
|
|
2870
2876
|
* Gets the normalized hex color (always 6 characters with # prefix)
|
|
2871
2877
|
*/
|
|
@@ -2877,7 +2883,7 @@ class Fn extends Qt {
|
|
|
2877
2883
|
* @param color - The color value to set
|
|
2878
2884
|
*/
|
|
2879
2885
|
setColor = (n) => {
|
|
2880
|
-
if (
|
|
2886
|
+
if (Te(n)) {
|
|
2881
2887
|
const t = ce(n);
|
|
2882
2888
|
if (t) {
|
|
2883
2889
|
this.change(t);
|
|
@@ -2943,8 +2949,8 @@ class Fn extends Qt {
|
|
|
2943
2949
|
return this.transform(t, a, [`format-${n}`]);
|
|
2944
2950
|
};
|
|
2945
2951
|
}
|
|
2946
|
-
function
|
|
2947
|
-
return new
|
|
2952
|
+
function Xa(e) {
|
|
2953
|
+
return new Hn(
|
|
2948
2954
|
e.path,
|
|
2949
2955
|
e.change,
|
|
2950
2956
|
e.value,
|
|
@@ -2952,7 +2958,7 @@ function Ka(e) {
|
|
|
2952
2958
|
{ disabled: e.disabled }
|
|
2953
2959
|
);
|
|
2954
2960
|
}
|
|
2955
|
-
function
|
|
2961
|
+
function Ja(e) {
|
|
2956
2962
|
return {
|
|
2957
2963
|
id: e.name,
|
|
2958
2964
|
disabled: e.disabled,
|
|
@@ -2962,16 +2968,16 @@ function Xa(e) {
|
|
|
2962
2968
|
onInput: e.setColor
|
|
2963
2969
|
};
|
|
2964
2970
|
}
|
|
2965
|
-
function
|
|
2971
|
+
function Qa({
|
|
2966
2972
|
locales: e,
|
|
2967
2973
|
onChange: n,
|
|
2968
2974
|
updateLocale: t = !0
|
|
2969
2975
|
}) {
|
|
2970
2976
|
return Y(
|
|
2971
2977
|
ne,
|
|
2972
|
-
(a) => Y(
|
|
2978
|
+
(a) => Y(ze, ({ locale: l, setLocale: r }) => Ue({
|
|
2973
2979
|
horizontal: !0,
|
|
2974
|
-
content:
|
|
2980
|
+
content: Ct(
|
|
2975
2981
|
s.class("bc-group--align-center bc-group--gap-2"),
|
|
2976
2982
|
j({
|
|
2977
2983
|
icon: "ic:twotone-language",
|
|
@@ -2979,7 +2985,7 @@ function Ja({
|
|
|
2979
2985
|
color: "neutral",
|
|
2980
2986
|
title: a.$.locale
|
|
2981
2987
|
}),
|
|
2982
|
-
|
|
2988
|
+
kt({
|
|
2983
2989
|
options: S.map(
|
|
2984
2990
|
e,
|
|
2985
2991
|
(i) => i.map((c) => {
|
|
@@ -2996,21 +3002,21 @@ function Ja({
|
|
|
2996
3002
|
}))
|
|
2997
3003
|
);
|
|
2998
3004
|
}
|
|
2999
|
-
const
|
|
3000
|
-
|
|
3001
|
-
({ direction: e }) =>
|
|
3005
|
+
const Rn = () => Y(
|
|
3006
|
+
ze,
|
|
3007
|
+
({ direction: e }) => bt("body", s.class(e.map((n) => `b-${n}`)))
|
|
3002
3008
|
);
|
|
3003
|
-
function
|
|
3004
|
-
return Zt(({ set: t }) => {
|
|
3005
|
-
t(
|
|
3006
|
-
const
|
|
3009
|
+
function es({ includeAuthI18n: e = !1 }, ...n) {
|
|
3010
|
+
return Zt(({ set: t, use: a }) => {
|
|
3011
|
+
t(ge, {}), t(ze, {}), t(ne, {}), t(St, {}), Qt.attach(a(ge));
|
|
3012
|
+
const l = M(tn(), Rn(), ...n);
|
|
3007
3013
|
return e ? Yt(
|
|
3008
|
-
() => import("./translations-
|
|
3009
|
-
({ AuthI18n:
|
|
3010
|
-
) :
|
|
3014
|
+
() => import("./translations-DdNHXAWr.js"),
|
|
3015
|
+
({ AuthI18n: r }) => ft(r, {}, () => l)
|
|
3016
|
+
) : l;
|
|
3011
3017
|
});
|
|
3012
3018
|
}
|
|
3013
|
-
function
|
|
3019
|
+
function ts({ content: e }) {
|
|
3014
3020
|
const n = S.toSignal(e), t = y(n)((a) => a.arrayBuffer()).mapAsync(
|
|
3015
3021
|
async (a) => {
|
|
3016
3022
|
const l = new Blob([await a], { type: "application/pdf" });
|
|
@@ -3033,7 +3039,7 @@ function es({ content: e }) {
|
|
|
3033
3039
|
m.iframe(s.class("h-full w-full"), s.src(t))
|
|
3034
3040
|
);
|
|
3035
3041
|
}
|
|
3036
|
-
const
|
|
3042
|
+
const ns = ({ id: e, css: n }) => bt("head", m.style(s.id(e), s.innerHTML(n))), We = ({
|
|
3037
3043
|
viewTransition: e,
|
|
3038
3044
|
state: n,
|
|
3039
3045
|
scroll: t,
|
|
@@ -3042,7 +3048,7 @@ const ts = ({ id: e, css: n }) => mt("head", m.style(s.id(e), s.innerHTML(n))),
|
|
|
3042
3048
|
const l = {};
|
|
3043
3049
|
return n !== void 0 && (l.state = n), t !== void 0 && (l.scroll = t), a !== void 0 && (l.replace = a), e !== void 0 && (l.viewTransition = e), l;
|
|
3044
3050
|
};
|
|
3045
|
-
function
|
|
3051
|
+
function ut(e, n) {
|
|
3046
3052
|
const t = ["bc-link"];
|
|
3047
3053
|
if (n)
|
|
3048
3054
|
t.push("bc-link--disabled");
|
|
@@ -3061,8 +3067,8 @@ function it(e, n) {
|
|
|
3061
3067
|
}
|
|
3062
3068
|
return t.join(" ");
|
|
3063
3069
|
}
|
|
3064
|
-
function
|
|
3065
|
-
const n =
|
|
3070
|
+
function ct(e) {
|
|
3071
|
+
const n = Je(e, "light"), t = Je(e, "dark");
|
|
3066
3072
|
return [
|
|
3067
3073
|
`--link-color: ${n}`,
|
|
3068
3074
|
`--link-color-dark: ${t}`,
|
|
@@ -3070,7 +3076,7 @@ function ut(e) {
|
|
|
3070
3076
|
`--link-hover-color-dark: ${t}`
|
|
3071
3077
|
].join("; ");
|
|
3072
3078
|
}
|
|
3073
|
-
function
|
|
3079
|
+
function Un({
|
|
3074
3080
|
href: e,
|
|
3075
3081
|
variant: n = "default",
|
|
3076
3082
|
color: t = "primary",
|
|
@@ -3090,19 +3096,19 @@ function Rn({
|
|
|
3090
3096
|
y(
|
|
3091
3097
|
n,
|
|
3092
3098
|
l
|
|
3093
|
-
)((x, p) =>
|
|
3099
|
+
)((x, p) => ut(x, p))
|
|
3094
3100
|
),
|
|
3095
3101
|
s.style(
|
|
3096
3102
|
y(a)(
|
|
3097
|
-
(x) =>
|
|
3103
|
+
(x) => ct(x ?? "base")
|
|
3098
3104
|
)
|
|
3099
3105
|
),
|
|
3100
3106
|
...b
|
|
3101
3107
|
),
|
|
3102
|
-
() =>
|
|
3108
|
+
() => Re(
|
|
3103
3109
|
{
|
|
3104
3110
|
href: e,
|
|
3105
|
-
...
|
|
3111
|
+
...We({
|
|
3106
3112
|
viewTransition: r,
|
|
3107
3113
|
state: i,
|
|
3108
3114
|
scroll: c,
|
|
@@ -3113,10 +3119,10 @@ function Rn({
|
|
|
3113
3119
|
y(
|
|
3114
3120
|
n,
|
|
3115
3121
|
l
|
|
3116
|
-
)((x, p) =>
|
|
3122
|
+
)((x, p) => ut(x, p))
|
|
3117
3123
|
),
|
|
3118
3124
|
s.style(
|
|
3119
|
-
y(t)((x) =>
|
|
3125
|
+
y(t)((x) => ct(x ?? "primary"))
|
|
3120
3126
|
),
|
|
3121
3127
|
o ? s.target(o) : null,
|
|
3122
3128
|
d ? s.rel(d) : null,
|
|
@@ -3124,7 +3130,7 @@ function Rn({
|
|
|
3124
3130
|
)
|
|
3125
3131
|
);
|
|
3126
3132
|
}
|
|
3127
|
-
const
|
|
3133
|
+
const jn = (e) => e ? e.startsWith("#") ? e : `#${e}` : "", zn = (e) => {
|
|
3128
3134
|
if (!e) return new URLSearchParams();
|
|
3129
3135
|
if (typeof e == "string") {
|
|
3130
3136
|
const n = e.startsWith("?") ? e.slice(1) : e;
|
|
@@ -3132,8 +3138,8 @@ const Un = (e) => e ? e.startsWith("#") ? e : `#${e}` : "", jn = (e) => {
|
|
|
3132
3138
|
}
|
|
3133
3139
|
return e instanceof URLSearchParams ? new URLSearchParams(e) : new URLSearchParams(e);
|
|
3134
3140
|
};
|
|
3135
|
-
function
|
|
3136
|
-
const a =
|
|
3141
|
+
function Wn(e, n, t) {
|
|
3142
|
+
const a = zn(e.search), l = a.toString(), r = l ? `?${l}` : "", i = jn(e.hash);
|
|
3137
3143
|
switch (t) {
|
|
3138
3144
|
case "exact":
|
|
3139
3145
|
return e.pathname + r + i === n;
|
|
@@ -3158,25 +3164,25 @@ function zn(e, n, t) {
|
|
|
3158
3164
|
return !1;
|
|
3159
3165
|
}
|
|
3160
3166
|
}
|
|
3161
|
-
function
|
|
3167
|
+
function qe(e, n) {
|
|
3162
3168
|
return n === "exact" ? y(e)((t) => t) : y(e)(
|
|
3163
|
-
(t) => (a) =>
|
|
3169
|
+
(t) => (a) => Wn(a, t, n)
|
|
3164
3170
|
);
|
|
3165
3171
|
}
|
|
3166
|
-
function
|
|
3172
|
+
function as({
|
|
3167
3173
|
href: e,
|
|
3168
3174
|
matchMode: n = "exact",
|
|
3169
3175
|
disableWhenActive: t = !0,
|
|
3170
3176
|
...a
|
|
3171
3177
|
}, ...l) {
|
|
3172
|
-
return Y(
|
|
3178
|
+
return Y(ge, (r) => {
|
|
3173
3179
|
const i = r.matchSignal(
|
|
3174
|
-
|
|
3180
|
+
qe(e, n)
|
|
3175
3181
|
), c = y(
|
|
3176
3182
|
i,
|
|
3177
3183
|
t
|
|
3178
3184
|
)((u, o) => o ?? !0 ? u : !1);
|
|
3179
|
-
return
|
|
3185
|
+
return Un(
|
|
3180
3186
|
{
|
|
3181
3187
|
...a,
|
|
3182
3188
|
href: e,
|
|
@@ -3186,7 +3192,7 @@ function ns({
|
|
|
3186
3192
|
);
|
|
3187
3193
|
});
|
|
3188
3194
|
}
|
|
3189
|
-
function
|
|
3195
|
+
function ss({
|
|
3190
3196
|
href: e,
|
|
3191
3197
|
viewTransition: n = !0,
|
|
3192
3198
|
state: t,
|
|
@@ -3202,15 +3208,15 @@ function as({
|
|
|
3202
3208
|
roundedness: x = "sm",
|
|
3203
3209
|
disabled: p = !1
|
|
3204
3210
|
}, ...g) {
|
|
3205
|
-
return c !== void 0 || u !== void 0 ? Y(
|
|
3206
|
-
const _ = c !== void 0 ? v.matchSignal(
|
|
3211
|
+
return c !== void 0 || u !== void 0 ? Y(ge, (v) => {
|
|
3212
|
+
const _ = c !== void 0 ? v.matchSignal(qe(e, c)) : y(v.location)(() => !1), C = y(
|
|
3207
3213
|
_,
|
|
3208
3214
|
u
|
|
3209
3215
|
)((w, D) => !(D ?? !0) || !c ? !1 : w), f = y(
|
|
3210
3216
|
p,
|
|
3211
3217
|
C
|
|
3212
3218
|
)((w, D) => w || D);
|
|
3213
|
-
return
|
|
3219
|
+
return dt(
|
|
3214
3220
|
{
|
|
3215
3221
|
href: e,
|
|
3216
3222
|
viewTransition: n,
|
|
@@ -3227,7 +3233,7 @@ function as({
|
|
|
3227
3233
|
},
|
|
3228
3234
|
...g
|
|
3229
3235
|
);
|
|
3230
|
-
}) :
|
|
3236
|
+
}) : dt(
|
|
3231
3237
|
{
|
|
3232
3238
|
href: e,
|
|
3233
3239
|
viewTransition: n,
|
|
@@ -3245,7 +3251,7 @@ function as({
|
|
|
3245
3251
|
...g
|
|
3246
3252
|
);
|
|
3247
3253
|
}
|
|
3248
|
-
function
|
|
3254
|
+
function dt({
|
|
3249
3255
|
href: e,
|
|
3250
3256
|
viewTransition: n,
|
|
3251
3257
|
state: t,
|
|
@@ -3267,7 +3273,7 @@ function ct({
|
|
|
3267
3273
|
u,
|
|
3268
3274
|
d
|
|
3269
3275
|
)(
|
|
3270
|
-
(p, g) =>
|
|
3276
|
+
(p, g) => Qe(
|
|
3271
3277
|
p ?? "md",
|
|
3272
3278
|
g ?? "sm",
|
|
3273
3279
|
!1
|
|
@@ -3281,7 +3287,7 @@ function ct({
|
|
|
3281
3287
|
o,
|
|
3282
3288
|
b
|
|
3283
3289
|
)(
|
|
3284
|
-
(p, g, v) =>
|
|
3290
|
+
(p, g, v) => et(
|
|
3285
3291
|
p ?? "filled",
|
|
3286
3292
|
g ?? "base",
|
|
3287
3293
|
v
|
|
@@ -3290,10 +3296,10 @@ function ct({
|
|
|
3290
3296
|
),
|
|
3291
3297
|
...x
|
|
3292
3298
|
),
|
|
3293
|
-
() =>
|
|
3299
|
+
() => Re(
|
|
3294
3300
|
{
|
|
3295
3301
|
href: e,
|
|
3296
|
-
...
|
|
3302
|
+
...We({
|
|
3297
3303
|
viewTransition: n,
|
|
3298
3304
|
state: t,
|
|
3299
3305
|
scroll: a,
|
|
@@ -3305,7 +3311,7 @@ function ct({
|
|
|
3305
3311
|
u,
|
|
3306
3312
|
d
|
|
3307
3313
|
)(
|
|
3308
|
-
(p, g) =>
|
|
3314
|
+
(p, g) => Qe(
|
|
3309
3315
|
p ?? "md",
|
|
3310
3316
|
g ?? "sm",
|
|
3311
3317
|
!1
|
|
@@ -3319,7 +3325,7 @@ function ct({
|
|
|
3319
3325
|
o,
|
|
3320
3326
|
b
|
|
3321
3327
|
)(
|
|
3322
|
-
(p, g, v) =>
|
|
3328
|
+
(p, g, v) => et(
|
|
3323
3329
|
p ?? "filled",
|
|
3324
3330
|
g ?? "base",
|
|
3325
3331
|
v
|
|
@@ -3332,7 +3338,7 @@ function ct({
|
|
|
3332
3338
|
)
|
|
3333
3339
|
);
|
|
3334
3340
|
}
|
|
3335
|
-
const
|
|
3341
|
+
const qn = {
|
|
3336
3342
|
mark: Gt("SidebarContext"),
|
|
3337
3343
|
create: (e) => ({
|
|
3338
3344
|
value: {
|
|
@@ -3342,9 +3348,9 @@ const Wn = {
|
|
|
3342
3348
|
}
|
|
3343
3349
|
})
|
|
3344
3350
|
};
|
|
3345
|
-
function
|
|
3346
|
-
return
|
|
3347
|
-
|
|
3351
|
+
function ls({ backgroundMode: e = "light" }, ...n) {
|
|
3352
|
+
return ft(
|
|
3353
|
+
qn,
|
|
3348
3354
|
S.map(
|
|
3349
3355
|
e,
|
|
3350
3356
|
(t) => ({
|
|
@@ -3363,8 +3369,8 @@ function ss({ backgroundMode: e = "light" }, ...n) {
|
|
|
3363
3369
|
)
|
|
3364
3370
|
);
|
|
3365
3371
|
}
|
|
3366
|
-
function
|
|
3367
|
-
return
|
|
3372
|
+
function pt({ rail: e, header: n }, ...t) {
|
|
3373
|
+
return je(
|
|
3368
3374
|
n != null ? m.div(s.class("bc-sidebar-group__header"), n) : null,
|
|
3369
3375
|
m.div(
|
|
3370
3376
|
s.class(
|
|
@@ -3378,20 +3384,21 @@ function dt({ rail: e, header: n }, ...t) {
|
|
|
3378
3384
|
)
|
|
3379
3385
|
);
|
|
3380
3386
|
}
|
|
3381
|
-
function
|
|
3382
|
-
const t =
|
|
3387
|
+
function Zn(e, ...n) {
|
|
3388
|
+
const t = We({
|
|
3383
3389
|
viewTransition: e.viewTransition ?? !0,
|
|
3384
3390
|
state: e.state,
|
|
3385
3391
|
scroll: e.scroll,
|
|
3386
3392
|
replace: e.replace
|
|
3387
3393
|
});
|
|
3388
|
-
return
|
|
3394
|
+
return Re({ href: e.href, ...t }, ...n);
|
|
3389
3395
|
}
|
|
3390
|
-
function
|
|
3396
|
+
function Yn(...e) {
|
|
3391
3397
|
return m.span(...e);
|
|
3392
3398
|
}
|
|
3393
|
-
function
|
|
3399
|
+
function Gn(e, ...n) {
|
|
3394
3400
|
return m.button(
|
|
3401
|
+
s.type("button"),
|
|
3395
3402
|
$.click(e.onClick),
|
|
3396
3403
|
e.ariaExpanded != null ? A.expanded(
|
|
3397
3404
|
S.map(
|
|
@@ -3404,7 +3411,7 @@ function Yn(e, ...n) {
|
|
|
3404
3411
|
...n
|
|
3405
3412
|
);
|
|
3406
3413
|
}
|
|
3407
|
-
function
|
|
3414
|
+
function Kn(e) {
|
|
3408
3415
|
const n = [s.class("bc-sidebar-link")];
|
|
3409
3416
|
return e.icon != null && n.push(
|
|
3410
3417
|
m.span(
|
|
@@ -3417,15 +3424,16 @@ function Gn(e) {
|
|
|
3417
3424
|
m.span(s.class("bc-sidebar-link__right"), e.right)
|
|
3418
3425
|
), e.action != null && n.push(
|
|
3419
3426
|
m.button(
|
|
3427
|
+
s.type("button"),
|
|
3420
3428
|
s.class("bc-sidebar-link--action"),
|
|
3421
3429
|
$.click((t, a) => {
|
|
3422
3430
|
e.action?.onClick?.(a);
|
|
3423
3431
|
}),
|
|
3424
3432
|
j({ icon: e.action?.icon })
|
|
3425
3433
|
)
|
|
3426
|
-
), "onClick" in e ?
|
|
3434
|
+
), "onClick" in e ? Gn(e, ...n) : Y(ge, (t) => {
|
|
3427
3435
|
const a = t.matchSignal(
|
|
3428
|
-
|
|
3436
|
+
qe(e.href, "exact"),
|
|
3429
3437
|
{
|
|
3430
3438
|
includeSearch: !1,
|
|
3431
3439
|
includeHash: !1
|
|
@@ -3433,19 +3441,19 @@ function Gn(e) {
|
|
|
3433
3441
|
);
|
|
3434
3442
|
return te(
|
|
3435
3443
|
a,
|
|
3436
|
-
() =>
|
|
3437
|
-
() =>
|
|
3444
|
+
() => Yn(...n),
|
|
3445
|
+
() => Zn(e, ...n)
|
|
3438
3446
|
);
|
|
3439
3447
|
});
|
|
3440
3448
|
}
|
|
3441
|
-
function
|
|
3449
|
+
function rs({
|
|
3442
3450
|
rail: e = !0,
|
|
3443
3451
|
icon: n,
|
|
3444
3452
|
header: t,
|
|
3445
3453
|
startOpen: a = !0
|
|
3446
3454
|
}, ...l) {
|
|
3447
3455
|
const r = S.deriveProp(a), i = re("sidebar-group"), c = `${i}-content`;
|
|
3448
|
-
return
|
|
3456
|
+
return pt(
|
|
3449
3457
|
{},
|
|
3450
3458
|
s.class("bc-sidebar-group-collapsible"),
|
|
3451
3459
|
s.class(
|
|
@@ -3456,7 +3464,7 @@ function ls({
|
|
|
3456
3464
|
// Add ARIA attributes for group
|
|
3457
3465
|
s.role("group"),
|
|
3458
3466
|
s.id(i),
|
|
3459
|
-
|
|
3467
|
+
Kn({
|
|
3460
3468
|
icon: n,
|
|
3461
3469
|
onClick: () => r.update((u) => !u),
|
|
3462
3470
|
// Add ARIA attributes for the toggle button
|
|
@@ -3468,21 +3476,21 @@ function ls({
|
|
|
3468
3476
|
),
|
|
3469
3477
|
content: t
|
|
3470
3478
|
}),
|
|
3471
|
-
|
|
3479
|
+
pt({ rail: e }, s.id(c), Dn({ open: r }, ...l))
|
|
3472
3480
|
);
|
|
3473
3481
|
}
|
|
3474
|
-
function
|
|
3482
|
+
function os() {
|
|
3475
3483
|
return m.hr(s.class("bc-sidebar-separator"));
|
|
3476
3484
|
}
|
|
3477
|
-
function
|
|
3485
|
+
function Xn(e, n, t) {
|
|
3478
3486
|
const a = ["bc-tabs", `bc-tabs--${e}`, `bc-tabs--${n}`];
|
|
3479
3487
|
return t && a.push("bc-tabs--disabled"), a.join(" ");
|
|
3480
3488
|
}
|
|
3481
|
-
function
|
|
3489
|
+
function Jn(e, n, t) {
|
|
3482
3490
|
const a = ["bc-tab", `bc-tab--${e}`];
|
|
3483
3491
|
return n && a.push("bc-tab--active"), t && a.push("bc-tab--disabled"), a.join(" ");
|
|
3484
3492
|
}
|
|
3485
|
-
function
|
|
3493
|
+
function ke(e, n, t) {
|
|
3486
3494
|
const a = n.length;
|
|
3487
3495
|
let l = e + t;
|
|
3488
3496
|
l >= a ? l = 0 : l < 0 && (l = a - 1);
|
|
@@ -3495,7 +3503,7 @@ function Ce(e, n, t) {
|
|
|
3495
3503
|
}
|
|
3496
3504
|
return e;
|
|
3497
3505
|
}
|
|
3498
|
-
function
|
|
3506
|
+
function is(e) {
|
|
3499
3507
|
const {
|
|
3500
3508
|
items: n,
|
|
3501
3509
|
value: t,
|
|
@@ -3511,16 +3519,16 @@ function os(e) {
|
|
|
3511
3519
|
let C = v;
|
|
3512
3520
|
switch (p.key) {
|
|
3513
3521
|
case (_ ? "ArrowRight" : "ArrowDown"):
|
|
3514
|
-
p.preventDefault(), C =
|
|
3522
|
+
p.preventDefault(), C = ke(v, n, 1);
|
|
3515
3523
|
break;
|
|
3516
3524
|
case (_ ? "ArrowLeft" : "ArrowUp"):
|
|
3517
|
-
p.preventDefault(), C =
|
|
3525
|
+
p.preventDefault(), C = ke(v, n, -1);
|
|
3518
3526
|
break;
|
|
3519
3527
|
case "Home":
|
|
3520
|
-
p.preventDefault(), C =
|
|
3528
|
+
p.preventDefault(), C = ke(-1, n, 1);
|
|
3521
3529
|
break;
|
|
3522
3530
|
case "End":
|
|
3523
|
-
p.preventDefault(), C =
|
|
3531
|
+
p.preventDefault(), C = ke(n.length, n, -1);
|
|
3524
3532
|
break;
|
|
3525
3533
|
case "Enter":
|
|
3526
3534
|
case " ":
|
|
@@ -3544,7 +3552,7 @@ function os(e) {
|
|
|
3544
3552
|
i,
|
|
3545
3553
|
r
|
|
3546
3554
|
)(
|
|
3547
|
-
(p, g, v) =>
|
|
3555
|
+
(p, g, v) => Xn(
|
|
3548
3556
|
p ?? "md",
|
|
3549
3557
|
g ?? "horizontal",
|
|
3550
3558
|
v ?? !1
|
|
@@ -3567,13 +3575,14 @@ function os(e) {
|
|
|
3567
3575
|
p.disabled
|
|
3568
3576
|
)((w, D) => w || D), C = `${o}-tab-${p.key}`, f = `${o}-panel-${p.key}`;
|
|
3569
3577
|
return m.button(
|
|
3578
|
+
s.type("button"),
|
|
3570
3579
|
s.class(
|
|
3571
3580
|
y(
|
|
3572
3581
|
l,
|
|
3573
3582
|
v,
|
|
3574
3583
|
_
|
|
3575
3584
|
)(
|
|
3576
|
-
(w, D, V) =>
|
|
3585
|
+
(w, D, V) => Jn(
|
|
3577
3586
|
w ?? "md",
|
|
3578
3587
|
D ?? !1,
|
|
3579
3588
|
V ?? !1
|
|
@@ -3592,7 +3601,7 @@ function os(e) {
|
|
|
3592
3601
|
A.controls(f),
|
|
3593
3602
|
A.disabled(_),
|
|
3594
3603
|
s.disabled(_),
|
|
3595
|
-
|
|
3604
|
+
He["tab-index"](String(g)),
|
|
3596
3605
|
p.ariaLabel ? A.label(p.ariaLabel) : M(),
|
|
3597
3606
|
$.click((w) => {
|
|
3598
3607
|
w.preventDefault(), S.get(p.disabled ?? !1) || S.get(r) || (a?.(p.key), d.set(g));
|
|
@@ -3607,7 +3616,7 @@ function os(e) {
|
|
|
3607
3616
|
// Panel
|
|
3608
3617
|
te(
|
|
3609
3618
|
c ?? !0,
|
|
3610
|
-
() =>
|
|
3619
|
+
() => De(b, (p) => {
|
|
3611
3620
|
const g = p.$.key, v = g.map((C) => `${o}-tab-${C}`), _ = g.map((C) => `${o}-panel-${C}`);
|
|
3612
3621
|
return m.div(
|
|
3613
3622
|
s.class("bc-tabs__panels"),
|
|
@@ -3617,14 +3626,14 @@ function os(e) {
|
|
|
3617
3626
|
s.role("tabpanel"),
|
|
3618
3627
|
s.tabindex(0),
|
|
3619
3628
|
A.labelledby(v),
|
|
3620
|
-
|
|
3629
|
+
gt(p, (C) => C.content())
|
|
3621
3630
|
)
|
|
3622
3631
|
);
|
|
3623
3632
|
})
|
|
3624
3633
|
)
|
|
3625
3634
|
);
|
|
3626
3635
|
}
|
|
3627
|
-
const
|
|
3636
|
+
const Ie = [
|
|
3628
3637
|
"button:not([disabled])",
|
|
3629
3638
|
'[role="button"]:not([aria-disabled="true"])',
|
|
3630
3639
|
"a[href]",
|
|
@@ -3633,7 +3642,7 @@ const ke = [
|
|
|
3633
3642
|
"textarea:not([disabled])",
|
|
3634
3643
|
'[tabindex]:not([tabindex="-1"])'
|
|
3635
3644
|
].join(", ");
|
|
3636
|
-
function
|
|
3645
|
+
function us(...e) {
|
|
3637
3646
|
return m.div(
|
|
3638
3647
|
s.class("bc-toolbar"),
|
|
3639
3648
|
s.role("toolbar"),
|
|
@@ -3642,14 +3651,14 @@ function is(...e) {
|
|
|
3642
3651
|
X((n) => {
|
|
3643
3652
|
const t = () => {
|
|
3644
3653
|
const r = Array.from(
|
|
3645
|
-
n.querySelectorAll(
|
|
3654
|
+
n.querySelectorAll(Ie)
|
|
3646
3655
|
);
|
|
3647
3656
|
r.length !== 0 && r.forEach(
|
|
3648
3657
|
(i, c) => i.setAttribute("tabindex", c === 0 ? "0" : "-1")
|
|
3649
3658
|
);
|
|
3650
3659
|
}, a = (r) => {
|
|
3651
3660
|
const i = Array.from(
|
|
3652
|
-
n.querySelectorAll(
|
|
3661
|
+
n.querySelectorAll(Ie)
|
|
3653
3662
|
);
|
|
3654
3663
|
if (i.length === 0) return;
|
|
3655
3664
|
const c = i.findIndex(
|
|
@@ -3673,7 +3682,7 @@ function is(...e) {
|
|
|
3673
3682
|
r.preventDefault(), a(-1);
|
|
3674
3683
|
{
|
|
3675
3684
|
const i = Array.from(
|
|
3676
|
-
n.querySelectorAll(
|
|
3685
|
+
n.querySelectorAll(Ie)
|
|
3677
3686
|
);
|
|
3678
3687
|
if (i.length) {
|
|
3679
3688
|
i.forEach((u) => u.setAttribute("tabindex", "-1"));
|
|
@@ -3686,7 +3695,7 @@ function is(...e) {
|
|
|
3686
3695
|
r.preventDefault();
|
|
3687
3696
|
{
|
|
3688
3697
|
const i = Array.from(
|
|
3689
|
-
n.querySelectorAll(
|
|
3698
|
+
n.querySelectorAll(Ie)
|
|
3690
3699
|
);
|
|
3691
3700
|
if (i.length) {
|
|
3692
3701
|
i.forEach((u) => u.setAttribute("tabindex", "-1"));
|
|
@@ -3704,8 +3713,8 @@ function is(...e) {
|
|
|
3704
3713
|
...e
|
|
3705
3714
|
);
|
|
3706
3715
|
}
|
|
3707
|
-
function
|
|
3708
|
-
return
|
|
3716
|
+
function cs(e, ...n) {
|
|
3717
|
+
return Ee(
|
|
3709
3718
|
{
|
|
3710
3719
|
color: "neutral",
|
|
3711
3720
|
roundedness: "md",
|
|
@@ -3716,25 +3725,25 @@ function us(e, ...n) {
|
|
|
3716
3725
|
...n
|
|
3717
3726
|
);
|
|
3718
3727
|
}
|
|
3719
|
-
function
|
|
3728
|
+
function ds(...e) {
|
|
3720
3729
|
return m.div(
|
|
3721
3730
|
s.class("bc-toolbar__group"),
|
|
3722
3731
|
s.role("group"),
|
|
3723
3732
|
...e
|
|
3724
3733
|
);
|
|
3725
3734
|
}
|
|
3726
|
-
function
|
|
3735
|
+
function ps() {
|
|
3727
3736
|
return m.div(
|
|
3728
3737
|
s.class("bc-toolbar__divider"),
|
|
3729
3738
|
s.role("separator"),
|
|
3730
3739
|
A.orientation("vertical")
|
|
3731
3740
|
);
|
|
3732
3741
|
}
|
|
3733
|
-
function
|
|
3742
|
+
function ms() {
|
|
3734
3743
|
return m.div(s.class("bc-toolbar__spacer"));
|
|
3735
3744
|
}
|
|
3736
|
-
function
|
|
3737
|
-
return
|
|
3745
|
+
function bs(e) {
|
|
3746
|
+
return on((n, t) => {
|
|
3738
3747
|
let a = t;
|
|
3739
3748
|
const l = () => a();
|
|
3740
3749
|
return e((c) => {
|
|
@@ -3759,7 +3768,7 @@ function ms(e) {
|
|
|
3759
3768
|
v != null,
|
|
3760
3769
|
b
|
|
3761
3770
|
)((V, E) => V || E), D = X((V) => {
|
|
3762
|
-
const E =
|
|
3771
|
+
const E = he({
|
|
3763
3772
|
initialStatus: "closed",
|
|
3764
3773
|
element: V
|
|
3765
3774
|
});
|
|
@@ -3767,7 +3776,7 @@ function ms(e) {
|
|
|
3767
3776
|
E.close(), E.onClosed(() => {
|
|
3768
3777
|
t();
|
|
3769
3778
|
});
|
|
3770
|
-
},
|
|
3779
|
+
}, _e(() => E.open());
|
|
3771
3780
|
const T = re("drawer"), L = v != null ? `${T}-header` : void 0, N = `${T}-body`;
|
|
3772
3781
|
return m.div(
|
|
3773
3782
|
s.class(
|
|
@@ -3787,10 +3796,10 @@ function ms(e) {
|
|
|
3787
3796
|
s.tabindex(-1),
|
|
3788
3797
|
// Make drawer focusable for initial focus
|
|
3789
3798
|
s.id(T),
|
|
3790
|
-
|
|
3799
|
+
He.focusTrap("true"),
|
|
3791
3800
|
// Mark as focus trap container
|
|
3792
3801
|
// Focus trap for keyboard navigation
|
|
3793
|
-
|
|
3802
|
+
un({
|
|
3794
3803
|
active: !0,
|
|
3795
3804
|
escapeDeactivates: !1,
|
|
3796
3805
|
// Let Overlay handle escape key
|
|
@@ -3801,7 +3810,7 @@ function ms(e) {
|
|
|
3801
3810
|
$.mousedown((H) => H.stopPropagation()),
|
|
3802
3811
|
// Prevent overlay click-outside when clicking drawer content
|
|
3803
3812
|
// Drawer content container
|
|
3804
|
-
|
|
3813
|
+
gt(w, (H) => rt(H ? {
|
|
3805
3814
|
header: m.div(
|
|
3806
3815
|
s.class("bc-drawer__header"),
|
|
3807
3816
|
m.div(s.id(L), v),
|
|
@@ -3809,7 +3818,7 @@ function ms(e) {
|
|
|
3809
3818
|
b,
|
|
3810
3819
|
() => Y(
|
|
3811
3820
|
ne,
|
|
3812
|
-
(F) =>
|
|
3821
|
+
(F) => ht({
|
|
3813
3822
|
size: "sm",
|
|
3814
3823
|
onClick: l,
|
|
3815
3824
|
label: F.$.closeDrawer
|
|
@@ -3850,19 +3859,19 @@ function ms(e) {
|
|
|
3850
3859
|
});
|
|
3851
3860
|
});
|
|
3852
3861
|
}
|
|
3853
|
-
function
|
|
3862
|
+
function Qn(e) {
|
|
3854
3863
|
const n = {
|
|
3855
3864
|
up: "M0 16 L8 10 L16 16 Z",
|
|
3856
3865
|
down: "M0 0 L8 6 L16 0 Z",
|
|
3857
3866
|
left: "M16 0 L10 8 L16 16 Z",
|
|
3858
3867
|
right: "M0 0 L6 8 L0 16 Z"
|
|
3859
3868
|
};
|
|
3860
|
-
return
|
|
3861
|
-
|
|
3862
|
-
|
|
3869
|
+
return Ge.svg(
|
|
3870
|
+
Ke.viewBox("0 0 16 16"),
|
|
3871
|
+
Ge.path(Ke.d(e.map((t) => n[t])))
|
|
3863
3872
|
);
|
|
3864
3873
|
}
|
|
3865
|
-
function
|
|
3874
|
+
function fs(e) {
|
|
3866
3875
|
const {
|
|
3867
3876
|
content: n,
|
|
3868
3877
|
placement: t = "top",
|
|
@@ -3903,332 +3912,332 @@ function bs(e) {
|
|
|
3903
3912
|
h.transform(
|
|
3904
3913
|
o.map(({ x: b, y: x }) => b == null && x == null ? "" : b != null ? `translate(${b}px, 0)` : `translate(0, ${x}px)`)
|
|
3905
3914
|
),
|
|
3906
|
-
|
|
3915
|
+
Qn(d)
|
|
3907
3916
|
);
|
|
3908
3917
|
}
|
|
3909
3918
|
})
|
|
3910
3919
|
);
|
|
3911
3920
|
}
|
|
3912
3921
|
export {
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3922
|
+
Fe as AnimatedToggleClass,
|
|
3923
|
+
ba as AppShell,
|
|
3924
|
+
gn as AppearanceSelector,
|
|
3925
|
+
ys as ArrayController,
|
|
3926
|
+
Br as Base64Input,
|
|
3927
|
+
Mr as Base64sInput,
|
|
3928
|
+
On as BaseComboboxControl,
|
|
3929
|
+
ka as BaseComboboxTagsControl,
|
|
3930
|
+
yt as BaseControl,
|
|
3931
|
+
Bn as BaseDropdownControl,
|
|
3932
|
+
Or as BaseListControl,
|
|
3933
|
+
ws as BaseMappedControl,
|
|
3934
|
+
Nr as BaseNativeSelectControl,
|
|
3935
|
+
Sa as BaseSelectTagsControl,
|
|
3936
|
+
es as BeatUI,
|
|
3928
3937
|
ne as BeatUII18n,
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3938
|
+
Va as BigintInput,
|
|
3939
|
+
xo as BooleanValidator,
|
|
3940
|
+
Ee as Button,
|
|
3941
|
+
ss as ButtonLink,
|
|
3942
|
+
Pr as Card,
|
|
3943
|
+
ga as Center,
|
|
3944
|
+
fa as CenterH,
|
|
3945
|
+
Ss as CheckboxInput,
|
|
3946
|
+
Pt as Chips,
|
|
3947
|
+
ht as CloseButton,
|
|
3948
|
+
Dn as Collapse,
|
|
3949
|
+
rs as CollapsibleSidebarGroup,
|
|
3950
|
+
Hn as ColorController,
|
|
3951
|
+
Er as ColorInput,
|
|
3952
|
+
ya as ComboboxControl,
|
|
3953
|
+
Mn as ComboboxInput,
|
|
3954
|
+
Ia as ComboboxTagsControl,
|
|
3955
|
+
Ft as ComboboxTagsInput,
|
|
3947
3956
|
G as CommonInputAttributes,
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3957
|
+
yo as ConfirmModal,
|
|
3958
|
+
wt as Control,
|
|
3959
|
+
en as Controller,
|
|
3960
|
+
Cs as DangerLabel,
|
|
3961
|
+
$a as DateInput,
|
|
3962
|
+
_a as DateTimeInput,
|
|
3963
|
+
bs as Drawer,
|
|
3964
|
+
_t as DropdownBase,
|
|
3965
|
+
xa as DropdownControl,
|
|
3966
|
+
Ln as DropdownInput,
|
|
3967
|
+
Ya as DurationInput,
|
|
3968
|
+
Fr as EditableText,
|
|
3969
|
+
ks as EmailInput,
|
|
3970
|
+
Is as EmphasisLabel,
|
|
3971
|
+
Ga as EnsureControl,
|
|
3972
|
+
an as Expando,
|
|
3973
|
+
Ta as FileInput,
|
|
3974
|
+
sn as FilesInput,
|
|
3966
3975
|
Ae as Flyout,
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3976
|
+
un as FocusTrap,
|
|
3977
|
+
Ka as FormStatus,
|
|
3978
|
+
Ct as Group,
|
|
3970
3979
|
j as Icon,
|
|
3971
3980
|
q as InputContainer,
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3981
|
+
Ue as InputWrapper,
|
|
3982
|
+
Ha as InstantInput,
|
|
3983
|
+
$s as LOGICAL_PROPERTY_MAP,
|
|
3984
|
+
_s as Label,
|
|
3985
|
+
Da as LazyNativeSelect,
|
|
3986
|
+
Un as Link,
|
|
3987
|
+
Lo as LinkPortal,
|
|
3988
|
+
Hr as ListControl,
|
|
3989
|
+
Rr as ListInput,
|
|
3990
|
+
ze as Locale,
|
|
3991
|
+
Qa as LocaleSelector,
|
|
3992
|
+
Ts as MappedControl,
|
|
3984
3993
|
me as MaskInput,
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
3994
|
+
At as Menu,
|
|
3995
|
+
wa as MenuItem,
|
|
3996
|
+
Vt as MenuSeparator,
|
|
3997
|
+
wo as Modal,
|
|
3998
|
+
Ds as MutedLabel,
|
|
3999
|
+
ts as NativePdfPreview,
|
|
4000
|
+
kt as NativeSelect,
|
|
4001
|
+
Ur as NativeSelectControl,
|
|
4002
|
+
as as NavigationLink,
|
|
4003
|
+
ha as NineSliceScrollView,
|
|
4004
|
+
As as Notice,
|
|
4005
|
+
La as NullableBigintInput,
|
|
4006
|
+
jr as NullableDateInput,
|
|
4007
|
+
zr as NullableDateTimeInput,
|
|
4008
|
+
Wr as NullableDurationInput,
|
|
4009
|
+
qr as NullableEmailInput,
|
|
4010
|
+
Ra as NullableInstantInput,
|
|
4011
|
+
Aa as NullableMaskInput,
|
|
4012
|
+
Zr as NullableNumberInput,
|
|
4013
|
+
Yr as NullablePasswordInput,
|
|
4014
|
+
Oa as NullablePlainDateInput,
|
|
4015
|
+
Fa as NullablePlainDateTimeInput,
|
|
4016
|
+
Za as NullablePlainMonthDayInput,
|
|
4017
|
+
Pa as NullablePlainTimeInput,
|
|
4018
|
+
Wa as NullablePlainYearMonthInput,
|
|
4019
|
+
Gr as NullableRatingInput,
|
|
4020
|
+
Kr as NullableSliderInput,
|
|
4021
|
+
Xr as NullableTextArea,
|
|
4022
|
+
Jr as NullableTextInput,
|
|
4023
|
+
Qr as NullableUUIDInput,
|
|
4024
|
+
eo as NullableUrlInput,
|
|
4025
|
+
ja as NullableZonedDateTimeInput,
|
|
4026
|
+
to as NumberInput,
|
|
4027
|
+
Vs as ObjectController,
|
|
4028
|
+
So as ObjectValidator,
|
|
4020
4029
|
ue as Option,
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4030
|
+
on as Overlay,
|
|
4031
|
+
Ls as PasswordInput,
|
|
4032
|
+
Ma as PlainDateInput,
|
|
4033
|
+
Ea as PlainDateTimeInput,
|
|
4034
|
+
qa as PlainMonthDayInput,
|
|
4035
|
+
Na as PlainTimeInput,
|
|
4036
|
+
za as PlainYearMonthInput,
|
|
4037
|
+
no as RatingInput,
|
|
4038
|
+
Bs as RequiredSymbol,
|
|
4039
|
+
rt as ScrollablePanel,
|
|
4040
|
+
nn as SegmentedInput,
|
|
4041
|
+
Ca as SelectTagsControl,
|
|
4042
|
+
Et as SelectTagsInput,
|
|
4043
|
+
ls as Sidebar,
|
|
4044
|
+
Yn as SidebarActiveLink,
|
|
4045
|
+
Gn as SidebarClickLink,
|
|
4046
|
+
qn as SidebarContext,
|
|
4047
|
+
pt as SidebarGroup,
|
|
4048
|
+
Kn as SidebarLink,
|
|
4049
|
+
os as SidebarSeparator,
|
|
4050
|
+
Zn as SidebarUrlLink,
|
|
4051
|
+
va as Sink,
|
|
4052
|
+
ao as SliderInput,
|
|
4053
|
+
je as Stack,
|
|
4054
|
+
da as StandaloneAppearanceSelector,
|
|
4055
|
+
Co as StringValidator,
|
|
4056
|
+
ns as StylePortal,
|
|
4057
|
+
so as Switch,
|
|
4058
|
+
is as Tabs,
|
|
4059
|
+
It as Tag,
|
|
4060
|
+
Ba as TagsInput,
|
|
4061
|
+
lo as TextArea,
|
|
4062
|
+
Ms as TextInput,
|
|
4063
|
+
St as Theme,
|
|
4064
|
+
tn as ThemeAppearance,
|
|
4065
|
+
us as Toolbar,
|
|
4066
|
+
cs as ToolbarButton,
|
|
4067
|
+
ps as ToolbarDivider,
|
|
4068
|
+
ds as ToolbarGroup,
|
|
4069
|
+
ms as ToolbarSpacer,
|
|
4070
|
+
fs as Tooltip,
|
|
4071
|
+
ro as UUIDInput,
|
|
4072
|
+
oo as UnionController,
|
|
4073
|
+
io as UnstyledDropZone,
|
|
4074
|
+
uo as UrlInput,
|
|
4075
|
+
vs as Use,
|
|
4076
|
+
Sn as WithBeatUIBreakpoint,
|
|
4077
|
+
ma as WithBeatUIElementBreakpoint,
|
|
4078
|
+
$t as WithBreakpoint,
|
|
4070
4079
|
Q as WithTemporal,
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4080
|
+
Ua as ZonedDateTimeInput,
|
|
4081
|
+
Mo as backgroundConfig,
|
|
4082
|
+
ul as baseSpacing,
|
|
4083
|
+
cl as beatuiPreset,
|
|
4084
|
+
Oo as bgColors,
|
|
4085
|
+
ko as boolean,
|
|
4086
|
+
No as borderColors,
|
|
4087
|
+
dl as breakpoints,
|
|
4088
|
+
pl as changeFontSize,
|
|
4089
|
+
Ja as colorInputOptionsFromController,
|
|
4090
|
+
Po as colorShades,
|
|
4091
|
+
Eo as colors,
|
|
4092
|
+
yn as compareBreakpoint,
|
|
4093
|
+
Os as connectCommonAttributes,
|
|
4094
|
+
Ns as connectNumberInput,
|
|
4095
|
+
Ps as connectStringInput,
|
|
4096
|
+
Es as convertStandardSchemaIssues,
|
|
4097
|
+
Fs as convertStandardSchemaPathToPath,
|
|
4098
|
+
ml as createBeatuiPreset,
|
|
4099
|
+
Xa as createColorController,
|
|
4100
|
+
qe as createLocationMatcher,
|
|
4101
|
+
Io as createStandardSchema,
|
|
4102
|
+
Hs as defaultLocale,
|
|
4103
|
+
Rs as defaultMessages,
|
|
4104
|
+
ua as delaySignal,
|
|
4105
|
+
co as emitExpando,
|
|
4106
|
+
po as emitOptionExpando,
|
|
4107
|
+
tt as emptyToNull,
|
|
4108
|
+
mo as ensureTemporal,
|
|
4109
|
+
bo as fileToBase64,
|
|
4110
|
+
pa as findBreakpoint,
|
|
4111
|
+
bl as fontFamily,
|
|
4112
|
+
fl as fontSize,
|
|
4113
|
+
gl as fontWeight,
|
|
4114
|
+
Us as formatFileSize,
|
|
4115
|
+
hl as generateAllTokenVariables,
|
|
4116
|
+
vl as generateBreakpointVariables,
|
|
4117
|
+
Qe as generateButtonClasses,
|
|
4118
|
+
et as generateButtonStyles,
|
|
4119
|
+
Fo as generateColorVariables,
|
|
4120
|
+
Ho as generateCoreColorVariables,
|
|
4121
|
+
xl as generateCoreTokenVariables,
|
|
4122
|
+
yl as generateFontFamilyOverrideVariables,
|
|
4123
|
+
ut as generateLinkClasses,
|
|
4124
|
+
ct as generateLinkStyles,
|
|
4125
|
+
wl as generateMotionVariables,
|
|
4126
|
+
Sl as generateRadiusVariables,
|
|
4127
|
+
Ro as generateSemanticColorVariables,
|
|
4128
|
+
Cl as generateSemanticFontVariables,
|
|
4129
|
+
kl as generateSemanticMotionVariables,
|
|
4130
|
+
Il as generateSemanticRadiusVariables,
|
|
4131
|
+
$l as generateSemanticShadowVariables,
|
|
4132
|
+
_l as generateSemanticSpacingVariables,
|
|
4133
|
+
Tl as generateSemanticTextShadowVariables,
|
|
4134
|
+
Dl as generateSemanticTokenVariables,
|
|
4135
|
+
Al as generateShadowVariables,
|
|
4136
|
+
Vl as generateSpacingVariables,
|
|
4137
|
+
Ll as generateTextShadowVariables,
|
|
4138
|
+
Bl as generateTypographyVariables,
|
|
4139
|
+
Ml as generateZIndexVariables,
|
|
4140
|
+
Ol as getBreakpointMediaQuery,
|
|
4141
|
+
Nl as getBreakpointVar,
|
|
4142
|
+
Pl as getBreakpointVarName,
|
|
4143
|
+
Uo as getColorVar,
|
|
4144
|
+
jo as getColorVarName,
|
|
4145
|
+
ia as getContrastRatio,
|
|
4146
|
+
js as getDirectionClassName,
|
|
4147
|
+
zs as getDirectionFromLocale,
|
|
4148
|
+
El as getFontFamilyVar,
|
|
4149
|
+
Fl as getFontFamilyVarName,
|
|
4150
|
+
Hl as getFontSizeVar,
|
|
4151
|
+
Rl as getFontSizeVarName,
|
|
4152
|
+
Ul as getFontWeightVar,
|
|
4153
|
+
jl as getFontWeightVarName,
|
|
4154
|
+
Ws as getIconLocally,
|
|
4155
|
+
zl as getLetterSpacingVar,
|
|
4156
|
+
Wl as getLetterSpacingVarName,
|
|
4157
|
+
ql as getLineHeightVar,
|
|
4158
|
+
Zl as getLineHeightVarName,
|
|
4159
|
+
Yl as getMotionDurationVar,
|
|
4160
|
+
Gl as getMotionDurationVarName,
|
|
4161
|
+
Kl as getMotionEasingVar,
|
|
4162
|
+
Xl as getMotionEasingVarName,
|
|
4163
|
+
qs as getOppositeDirection,
|
|
4164
|
+
Zs as getPhysicalProperty,
|
|
4165
|
+
Jl as getRadiusMediaQuery,
|
|
4166
|
+
Ql as getRadiusVar,
|
|
4167
|
+
er as getRadiusVarName,
|
|
4168
|
+
tr as getSemanticFontVar,
|
|
4169
|
+
nr as getSemanticFontVarName,
|
|
4170
|
+
ar as getSemanticMotionVarName,
|
|
4171
|
+
sr as getSemanticRadiusVarName,
|
|
4172
|
+
lr as getSemanticShadowVarName,
|
|
4173
|
+
rr as getSemanticSpacingVarName,
|
|
4174
|
+
or as getSemanticTextShadowVarName,
|
|
4175
|
+
ir as getShadowVar,
|
|
4176
|
+
ur as getShadowVarName,
|
|
4177
|
+
cr as getSpacingVar,
|
|
4178
|
+
dr as getSpacingVarName,
|
|
4179
|
+
pr as getTextShadowVar,
|
|
4180
|
+
mr as getTextShadowVarName,
|
|
4181
|
+
br as getTokenValue,
|
|
4182
|
+
fr as getZIndexVar,
|
|
4183
|
+
gr as getZIndexVarName,
|
|
4184
|
+
nt as hexToRgb,
|
|
4185
|
+
ca as increaseSize,
|
|
4186
|
+
zo as interactiveColors,
|
|
4187
|
+
Ys as isIndexedDBAvailable,
|
|
4188
|
+
Gs as isRTLLocale,
|
|
4189
|
+
Wn as isUrlMatch,
|
|
4190
|
+
mn as isValidColor,
|
|
4191
|
+
Te as isValidHexColor,
|
|
4192
|
+
pn as isValidHslColor,
|
|
4193
|
+
cn as isValidRgbColor,
|
|
4194
|
+
dn as isValidRgbaColor,
|
|
4195
|
+
hr as letterSpacing,
|
|
4196
|
+
vr as lineHeight,
|
|
4197
|
+
Ks as makeI18nProvider,
|
|
4198
|
+
Xs as makeMapValidation,
|
|
4199
|
+
Js as makeMessages,
|
|
4200
|
+
vt as makeOnBlurHandler,
|
|
4201
|
+
xt as makeOnChangeHandler,
|
|
4202
|
+
xr as motionDurations,
|
|
4203
|
+
yr as motionEasings,
|
|
4204
|
+
Wo as normalizeColorName,
|
|
4196
4205
|
ce as normalizeHexColor,
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4206
|
+
ln as nullToEmpty,
|
|
4207
|
+
$o as object,
|
|
4208
|
+
Qs as parsePath,
|
|
4209
|
+
el as pathToString,
|
|
4210
|
+
wr as radius,
|
|
4211
|
+
tl as resolveDirection,
|
|
4212
|
+
qo as resolveSemanticColorMap,
|
|
4213
|
+
oa as rgbToHex,
|
|
4214
|
+
Zo as semanticColorNames,
|
|
4215
|
+
Yo as semanticColors,
|
|
4216
|
+
Sr as semanticFontNames,
|
|
4217
|
+
Cr as semanticMotionNames,
|
|
4218
|
+
kr as semanticRadiusNames,
|
|
4219
|
+
Ir as semanticShadowNames,
|
|
4220
|
+
$r as semanticSpacingNames,
|
|
4221
|
+
_r as semanticTextShadowNames,
|
|
4213
4222
|
re as sessionId,
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4223
|
+
Tr as shadows,
|
|
4224
|
+
Dr as spacing,
|
|
4225
|
+
nl as standardSchemaResultToValidation,
|
|
4226
|
+
al as storeIconLocally,
|
|
4227
|
+
_o as string,
|
|
4228
|
+
sl as taskToValidation,
|
|
4229
|
+
Go as textColors,
|
|
4230
|
+
Ar as textShadows,
|
|
4231
|
+
Ko as themeColorNames,
|
|
4232
|
+
fo as transformEmptyStringToUndefined,
|
|
4233
|
+
go as transformNullToUndefined,
|
|
4234
|
+
ho as transformUndefinedToNull,
|
|
4235
|
+
he as useAnimatedElementToggle,
|
|
4236
|
+
To as useAnimatedToggle,
|
|
4237
|
+
ll as useController,
|
|
4238
|
+
Do as useFocusTrap,
|
|
4239
|
+
rl as useForm,
|
|
4240
|
+
Ao as useTimedToggle,
|
|
4241
|
+
ol as wrapSegment,
|
|
4242
|
+
Vr as zIndex
|
|
4234
4243
|
};
|