@tempots/beatui 0.29.0 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{2019-DWRjZU7G.cjs → 2019-Bl1mhxeM.cjs} +1 -1
- package/dist/{2019-CQWyTvCk.js → 2019-Cd9nHhvg.js} +2 -2
- package/dist/{2020-B5opG6JJ.cjs → 2020-BKqFJLj6.cjs} +1 -1
- package/dist/{2020-Dv6iZ0kg.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 +2 -1
- package/dist/beatui.tailwind.css +2 -1
- 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-C7gZW1I3.cjs → index-Cei6J0b_.cjs} +6 -6
- 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-CcPQViQa.js → index-DDpjzV7E.js} +137 -134
- package/dist/{index-BJfkb8o6.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-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-BbKQCvSw.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 +196 -187
- 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/{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/{ur-BCWL2ev1.js → ur-BIcZGLWt.js} +1 -1
- package/dist/{ur-B1YkWWDx.cjs → ur-orNTOdMP.cjs} +1 -1
- package/dist/{utils-BvhSkzHe.js → utils-D1op9R8_.js} +720 -714
- 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-Bc6SKJnK.cjs +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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
|
|
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
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
|
|
4
|
-
import { B as ne, C as
|
|
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-
|
|
6
|
-
import { T as
|
|
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
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
|
|
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-
|
|
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
10
|
import { g as _e } from "./timer-CQlK5LhW.js";
|
|
11
|
-
import { u as he, A as
|
|
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-
|
|
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
13
|
import { L as Lo } from "./link-portal-Cr2l9f3k.js";
|
|
14
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
15
|
function Te(e) {
|
|
@@ -53,7 +53,7 @@ function oa(e, n, t) {
|
|
|
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);
|
|
@@ -64,7 +64,7 @@ function tt(e) {
|
|
|
64
64
|
} : null;
|
|
65
65
|
}
|
|
66
66
|
function ia(e, n) {
|
|
67
|
-
const t =
|
|
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)));
|
|
@@ -83,7 +83,7 @@ function ua(e, n = 0, t = () => !0) {
|
|
|
83
83
|
a != null && clearTimeout(a);
|
|
84
84
|
}), r;
|
|
85
85
|
}
|
|
86
|
-
const
|
|
86
|
+
const at = (e, n) => e < n ? e : n, Ce = (e, n) => e > n ? e : n, Me = ["xs", "sm", "md", "lg", "xl"];
|
|
87
87
|
function ca(e, n = 1) {
|
|
88
88
|
const t = Me.indexOf(e);
|
|
89
89
|
if (t === -1)
|
|
@@ -96,7 +96,7 @@ function bn(e, n) {
|
|
|
96
96
|
return e !== "md" && t.push(`bc-tag--${e}`), n && t.push("bc-tag--disabled"), t.join(" ");
|
|
97
97
|
}
|
|
98
98
|
function fn(e) {
|
|
99
|
-
const n = $e(e, "light", "light"), t = $e(e, "light", "dark"), a =
|
|
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 fn(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,
|
|
@@ -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,
|
|
@@ -175,7 +175,7 @@ function gn({
|
|
|
175
175
|
}
|
|
176
176
|
function da() {
|
|
177
177
|
return Y(
|
|
178
|
-
|
|
178
|
+
St,
|
|
179
179
|
({ appearancePreference: e, setAppearancePreference: n }) => gn({
|
|
180
180
|
value: e,
|
|
181
181
|
onChange: n
|
|
@@ -233,7 +233,7 @@ function Ae(e) {
|
|
|
233
233
|
s.id(v),
|
|
234
234
|
s.tabindex(-1),
|
|
235
235
|
// Make focusable for screen readers
|
|
236
|
-
|
|
236
|
+
Fe(
|
|
237
237
|
S.map(t, hn),
|
|
238
238
|
g.status
|
|
239
239
|
),
|
|
@@ -293,7 +293,7 @@ function Ae(e) {
|
|
|
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()),
|
|
@@ -365,7 +365,7 @@ 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) => {
|
|
@@ -399,7 +399,7 @@ function Sn(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
405
|
function ma(e) {
|
|
@@ -419,7 +419,7 @@ function ma(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
|
});
|
|
@@ -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,
|
|
@@ -632,14 +632,14 @@ function ba({
|
|
|
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
|
);
|
|
@@ -708,7 +708,7 @@ function ba({
|
|
|
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 ba({
|
|
|
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 ba({
|
|
|
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 ba({
|
|
|
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,
|
|
@@ -942,7 +944,7 @@ function Dn({ open: e }, ...n) {
|
|
|
942
944
|
function An(e) {
|
|
943
945
|
return `${e}px`;
|
|
944
946
|
}
|
|
945
|
-
function
|
|
947
|
+
function lt(e) {
|
|
946
948
|
return S.map(e, An);
|
|
947
949
|
}
|
|
948
950
|
function ha({
|
|
@@ -963,7 +965,7 @@ function ha({
|
|
|
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,
|
|
@@ -1034,13 +1036,13 @@ function ha({
|
|
|
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 ha({
|
|
|
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,
|
|
@@ -1062,10 +1064,10 @@ function ha({
|
|
|
1062
1064
|
N
|
|
1063
1065
|
)((I, B) => I - BigInt(Math.max(1, B)));
|
|
1064
1066
|
let fe = null, we = 0, Se = 0;
|
|
1065
|
-
const
|
|
1067
|
+
const jt = () => {
|
|
1066
1068
|
const I = Ve.value, B = Le.value, R = L.value, K = T.value;
|
|
1067
1069
|
if (R && Se !== 0) {
|
|
1068
|
-
const ee =
|
|
1070
|
+
const ee = at(
|
|
1069
1071
|
Ce(0n, I),
|
|
1070
1072
|
Ce(
|
|
1071
1073
|
0n,
|
|
@@ -1075,7 +1077,7 @@ function ha({
|
|
|
1075
1077
|
_.set(ee);
|
|
1076
1078
|
}
|
|
1077
1079
|
if (K && we !== 0) {
|
|
1078
|
-
const ee =
|
|
1080
|
+
const ee = at(
|
|
1079
1081
|
Ce(0n, B),
|
|
1080
1082
|
Ce(
|
|
1081
1083
|
0n,
|
|
@@ -1103,12 +1105,12 @@ function ha({
|
|
|
1103
1105
|
$.wheel((I) => {
|
|
1104
1106
|
I.preventDefault();
|
|
1105
1107
|
const { deltaX: B, deltaY: R } = I;
|
|
1106
|
-
we += B, Se += R, fe || (fe = setTimeout(
|
|
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 ha({
|
|
|
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 ha({
|
|
|
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 ha({
|
|
|
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 ha({
|
|
|
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 ha({
|
|
|
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 ha({
|
|
|
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;
|
|
@@ -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(
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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,14 +1632,14 @@ 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) => {
|
|
@@ -1645,15 +1647,15 @@ const ue = {
|
|
|
1645
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
|
-
}, xa = (e) =>
|
|
1653
|
+
}, xa = (e) => Ue({
|
|
1652
1654
|
...e,
|
|
1653
1655
|
content: Bn(e)
|
|
1654
|
-
}),
|
|
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,
|
|
@@ -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,
|
|
@@ -1813,14 +1815,14 @@ const ue = {
|
|
|
1813
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
|
-
}, ya = (e) =>
|
|
1821
|
+
}, ya = (e) => Ue({
|
|
1820
1822
|
...e,
|
|
1821
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",
|
|
@@ -1983,7 +1985,7 @@ function wa(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 wa(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
|
|
@@ -2052,9 +2054,9 @@ function Mt(e, n, t) {
|
|
|
2052
2054
|
}
|
|
2053
2055
|
}
|
|
2054
2056
|
function Nn(e, n, t) {
|
|
2055
|
-
return
|
|
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,13 +2073,13 @@ 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
|
|
@@ -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,
|
|
@@ -2173,12 +2175,12 @@ function Pt(e) {
|
|
|
2173
2175
|
});
|
|
2174
2176
|
}
|
|
2175
2177
|
function Sa(e) {
|
|
2176
|
-
return
|
|
2178
|
+
return yt(Et, e);
|
|
2177
2179
|
}
|
|
2178
2180
|
function Ca(e) {
|
|
2179
|
-
return
|
|
2181
|
+
return wt(Et, e);
|
|
2180
2182
|
}
|
|
2181
|
-
function
|
|
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,
|
|
@@ -2302,10 +2304,10 @@ function Et(e) {
|
|
|
2302
2304
|
});
|
|
2303
2305
|
}
|
|
2304
2306
|
function ka(e) {
|
|
2305
|
-
return
|
|
2307
|
+
return yt(Ft, e);
|
|
2306
2308
|
}
|
|
2307
2309
|
function Ia(e) {
|
|
2308
|
-
return
|
|
2310
|
+
return wt(Ft, e);
|
|
2309
2311
|
}
|
|
2310
2312
|
const $a = (e) => {
|
|
2311
2313
|
const { value: n, onBlur: t, onChange: a } = e;
|
|
@@ -2360,7 +2362,7 @@ const $a = (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,
|
|
@@ -2381,12 +2383,12 @@ const $a = (e) => {
|
|
|
2381
2383
|
return me({
|
|
2382
2384
|
...c,
|
|
2383
2385
|
value: S.map(n, ln),
|
|
2384
|
-
onChange: a != null ? (o) => a(
|
|
2385
|
-
onInput: l != null ? (o) => l(
|
|
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 {
|
|
@@ -2409,9 +2411,10 @@ const $a = (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 $a = (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 $a = (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,7 +2461,7 @@ const $a = (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);
|
|
@@ -2487,8 +2491,9 @@ const $a = (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 $a = (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 $a = (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({
|
|
@@ -2555,7 +2561,7 @@ const $a = (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
|
|
@@ -2969,9 +2975,9 @@ function Qa({
|
|
|
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 Qa({
|
|
|
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) => {
|
|
@@ -2997,16 +3003,16 @@ function Qa({
|
|
|
2997
3003
|
);
|
|
2998
3004
|
}
|
|
2999
3005
|
const Rn = () => Y(
|
|
3000
|
-
|
|
3001
|
-
({ direction: e }) =>
|
|
3006
|
+
ze,
|
|
3007
|
+
({ direction: e }) => bt("body", s.class(e.map((n) => `b-${n}`)))
|
|
3002
3008
|
);
|
|
3003
3009
|
function es({ includeAuthI18n: e = !1 }, ...n) {
|
|
3004
3010
|
return Zt(({ set: t, use: a }) => {
|
|
3005
|
-
t(ge, {}), t(
|
|
3011
|
+
t(ge, {}), t(ze, {}), t(ne, {}), t(St, {}), Qt.attach(a(ge));
|
|
3006
3012
|
const l = M(tn(), Rn(), ...n);
|
|
3007
3013
|
return e ? Yt(
|
|
3008
|
-
() => import("./translations-
|
|
3009
|
-
({ AuthI18n: r }) =>
|
|
3014
|
+
() => import("./translations-DdNHXAWr.js"),
|
|
3015
|
+
({ AuthI18n: r }) => ft(r, {}, () => l)
|
|
3010
3016
|
) : l;
|
|
3011
3017
|
});
|
|
3012
3018
|
}
|
|
@@ -3033,7 +3039,7 @@ function ts({ content: e }) {
|
|
|
3033
3039
|
m.iframe(s.class("h-full w-full"), s.src(t))
|
|
3034
3040
|
);
|
|
3035
3041
|
}
|
|
3036
|
-
const ns = ({ id: e, css: n }) =>
|
|
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 ns = ({ 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}`,
|
|
@@ -3090,19 +3096,19 @@ function Un({
|
|
|
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 Un({
|
|
|
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,
|
|
@@ -3158,7 +3164,7 @@ function Wn(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
3169
|
(t) => (a) => Wn(a, t, n)
|
|
3164
3170
|
);
|
|
@@ -3171,7 +3177,7 @@ function as({
|
|
|
3171
3177
|
}, ...l) {
|
|
3172
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
|
|
@@ -3203,14 +3209,14 @@ function ss({
|
|
|
3203
3209
|
disabled: p = !1
|
|
3204
3210
|
}, ...g) {
|
|
3205
3211
|
return c !== void 0 || u !== void 0 ? Y(ge, (v) => {
|
|
3206
|
-
const _ = c !== void 0 ? v.matchSignal(
|
|
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 ss({
|
|
|
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 ss({
|
|
|
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
|
|
@@ -3343,7 +3349,7 @@ const qn = {
|
|
|
3343
3349
|
})
|
|
3344
3350
|
};
|
|
3345
3351
|
function ls({ backgroundMode: e = "light" }, ...n) {
|
|
3346
|
-
return
|
|
3352
|
+
return ft(
|
|
3347
3353
|
qn,
|
|
3348
3354
|
S.map(
|
|
3349
3355
|
e,
|
|
@@ -3363,8 +3369,8 @@ function ls({ 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(
|
|
@@ -3379,19 +3385,20 @@ function dt({ rail: e, header: n }, ...t) {
|
|
|
3379
3385
|
);
|
|
3380
3386
|
}
|
|
3381
3387
|
function Zn(e, ...n) {
|
|
3382
|
-
const t =
|
|
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
3396
|
function Yn(...e) {
|
|
3391
3397
|
return m.span(...e);
|
|
3392
3398
|
}
|
|
3393
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(
|
|
@@ -3417,6 +3424,7 @@ function Kn(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);
|
|
@@ -3425,7 +3433,7 @@ function Kn(e) {
|
|
|
3425
3433
|
)
|
|
3426
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
|
|
@@ -3445,7 +3453,7 @@ function rs({
|
|
|
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(
|
|
@@ -3468,7 +3476,7 @@ function rs({
|
|
|
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
3482
|
function os() {
|
|
@@ -3567,6 +3575,7 @@ function is(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,
|
|
@@ -3592,7 +3601,7 @@ function is(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));
|
|
@@ -3617,7 +3626,7 @@ function is(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
|
})
|
|
@@ -3705,7 +3714,7 @@ function us(...e) {
|
|
|
3705
3714
|
);
|
|
3706
3715
|
}
|
|
3707
3716
|
function cs(e, ...n) {
|
|
3708
|
-
return
|
|
3717
|
+
return Ee(
|
|
3709
3718
|
{
|
|
3710
3719
|
color: "neutral",
|
|
3711
3720
|
roundedness: "md",
|
|
@@ -3787,7 +3796,7 @@ function bs(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({
|
|
@@ -3801,7 +3810,7 @@ function bs(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 bs(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
|
|
@@ -3857,9 +3866,9 @@ function Qn(e) {
|
|
|
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
3874
|
function fs(e) {
|
|
@@ -3910,7 +3919,7 @@ function fs(e) {
|
|
|
3910
3919
|
);
|
|
3911
3920
|
}
|
|
3912
3921
|
export {
|
|
3913
|
-
|
|
3922
|
+
Fe as AnimatedToggleClass,
|
|
3914
3923
|
ba as AppShell,
|
|
3915
3924
|
gn as AppearanceSelector,
|
|
3916
3925
|
ys as ArrayController,
|
|
@@ -3918,7 +3927,7 @@ export {
|
|
|
3918
3927
|
Mr as Base64sInput,
|
|
3919
3928
|
On as BaseComboboxControl,
|
|
3920
3929
|
ka as BaseComboboxTagsControl,
|
|
3921
|
-
|
|
3930
|
+
yt as BaseControl,
|
|
3922
3931
|
Bn as BaseDropdownControl,
|
|
3923
3932
|
Or as BaseListControl,
|
|
3924
3933
|
ws as BaseMappedControl,
|
|
@@ -3928,14 +3937,14 @@ export {
|
|
|
3928
3937
|
ne as BeatUII18n,
|
|
3929
3938
|
Va as BigintInput,
|
|
3930
3939
|
xo as BooleanValidator,
|
|
3931
|
-
|
|
3940
|
+
Ee as Button,
|
|
3932
3941
|
ss as ButtonLink,
|
|
3933
3942
|
Pr as Card,
|
|
3934
3943
|
ga as Center,
|
|
3935
3944
|
fa as CenterH,
|
|
3936
3945
|
Ss as CheckboxInput,
|
|
3937
|
-
|
|
3938
|
-
|
|
3946
|
+
Pt as Chips,
|
|
3947
|
+
ht as CloseButton,
|
|
3939
3948
|
Dn as Collapse,
|
|
3940
3949
|
rs as CollapsibleSidebarGroup,
|
|
3941
3950
|
Hn as ColorController,
|
|
@@ -3943,16 +3952,16 @@ export {
|
|
|
3943
3952
|
ya as ComboboxControl,
|
|
3944
3953
|
Mn as ComboboxInput,
|
|
3945
3954
|
Ia as ComboboxTagsControl,
|
|
3946
|
-
|
|
3955
|
+
Ft as ComboboxTagsInput,
|
|
3947
3956
|
G as CommonInputAttributes,
|
|
3948
3957
|
yo as ConfirmModal,
|
|
3949
|
-
|
|
3958
|
+
wt as Control,
|
|
3950
3959
|
en as Controller,
|
|
3951
3960
|
Cs as DangerLabel,
|
|
3952
3961
|
$a as DateInput,
|
|
3953
3962
|
_a as DateTimeInput,
|
|
3954
3963
|
bs as Drawer,
|
|
3955
|
-
|
|
3964
|
+
_t as DropdownBase,
|
|
3956
3965
|
xa as DropdownControl,
|
|
3957
3966
|
Ln as DropdownInput,
|
|
3958
3967
|
Ya as DurationInput,
|
|
@@ -3966,10 +3975,10 @@ export {
|
|
|
3966
3975
|
Ae as Flyout,
|
|
3967
3976
|
un as FocusTrap,
|
|
3968
3977
|
Ka as FormStatus,
|
|
3969
|
-
|
|
3978
|
+
Ct as Group,
|
|
3970
3979
|
j as Icon,
|
|
3971
3980
|
q as InputContainer,
|
|
3972
|
-
|
|
3981
|
+
Ue as InputWrapper,
|
|
3973
3982
|
Ha as InstantInput,
|
|
3974
3983
|
$s as LOGICAL_PROPERTY_MAP,
|
|
3975
3984
|
_s as Label,
|
|
@@ -3978,17 +3987,17 @@ export {
|
|
|
3978
3987
|
Lo as LinkPortal,
|
|
3979
3988
|
Hr as ListControl,
|
|
3980
3989
|
Rr as ListInput,
|
|
3981
|
-
|
|
3990
|
+
ze as Locale,
|
|
3982
3991
|
Qa as LocaleSelector,
|
|
3983
3992
|
Ts as MappedControl,
|
|
3984
3993
|
me as MaskInput,
|
|
3985
|
-
|
|
3994
|
+
At as Menu,
|
|
3986
3995
|
wa as MenuItem,
|
|
3987
|
-
|
|
3996
|
+
Vt as MenuSeparator,
|
|
3988
3997
|
wo as Modal,
|
|
3989
3998
|
Ds as MutedLabel,
|
|
3990
3999
|
ts as NativePdfPreview,
|
|
3991
|
-
|
|
4000
|
+
kt as NativeSelect,
|
|
3992
4001
|
Ur as NativeSelectControl,
|
|
3993
4002
|
as as NavigationLink,
|
|
3994
4003
|
ha as NineSliceScrollView,
|
|
@@ -4027,31 +4036,31 @@ export {
|
|
|
4027
4036
|
za as PlainYearMonthInput,
|
|
4028
4037
|
no as RatingInput,
|
|
4029
4038
|
Bs as RequiredSymbol,
|
|
4030
|
-
|
|
4039
|
+
rt as ScrollablePanel,
|
|
4031
4040
|
nn as SegmentedInput,
|
|
4032
4041
|
Ca as SelectTagsControl,
|
|
4033
|
-
|
|
4042
|
+
Et as SelectTagsInput,
|
|
4034
4043
|
ls as Sidebar,
|
|
4035
4044
|
Yn as SidebarActiveLink,
|
|
4036
4045
|
Gn as SidebarClickLink,
|
|
4037
4046
|
qn as SidebarContext,
|
|
4038
|
-
|
|
4047
|
+
pt as SidebarGroup,
|
|
4039
4048
|
Kn as SidebarLink,
|
|
4040
4049
|
os as SidebarSeparator,
|
|
4041
4050
|
Zn as SidebarUrlLink,
|
|
4042
4051
|
va as Sink,
|
|
4043
4052
|
ao as SliderInput,
|
|
4044
|
-
|
|
4053
|
+
je as Stack,
|
|
4045
4054
|
da as StandaloneAppearanceSelector,
|
|
4046
4055
|
Co as StringValidator,
|
|
4047
4056
|
ns as StylePortal,
|
|
4048
4057
|
so as Switch,
|
|
4049
4058
|
is as Tabs,
|
|
4050
|
-
|
|
4059
|
+
It as Tag,
|
|
4051
4060
|
Ba as TagsInput,
|
|
4052
4061
|
lo as TextArea,
|
|
4053
4062
|
Ms as TextInput,
|
|
4054
|
-
|
|
4063
|
+
St as Theme,
|
|
4055
4064
|
tn as ThemeAppearance,
|
|
4056
4065
|
us as Toolbar,
|
|
4057
4066
|
cs as ToolbarButton,
|
|
@@ -4066,7 +4075,7 @@ export {
|
|
|
4066
4075
|
vs as Use,
|
|
4067
4076
|
Sn as WithBeatUIBreakpoint,
|
|
4068
4077
|
ma as WithBeatUIElementBreakpoint,
|
|
4069
|
-
|
|
4078
|
+
$t as WithBreakpoint,
|
|
4070
4079
|
Q as WithTemporal,
|
|
4071
4080
|
Ua as ZonedDateTimeInput,
|
|
4072
4081
|
Mo as backgroundConfig,
|
|
@@ -4088,14 +4097,14 @@ export {
|
|
|
4088
4097
|
Fs as convertStandardSchemaPathToPath,
|
|
4089
4098
|
ml as createBeatuiPreset,
|
|
4090
4099
|
Xa as createColorController,
|
|
4091
|
-
|
|
4100
|
+
qe as createLocationMatcher,
|
|
4092
4101
|
Io as createStandardSchema,
|
|
4093
4102
|
Hs as defaultLocale,
|
|
4094
4103
|
Rs as defaultMessages,
|
|
4095
4104
|
ua as delaySignal,
|
|
4096
4105
|
co as emitExpando,
|
|
4097
4106
|
po as emitOptionExpando,
|
|
4098
|
-
|
|
4107
|
+
tt as emptyToNull,
|
|
4099
4108
|
mo as ensureTemporal,
|
|
4100
4109
|
bo as fileToBase64,
|
|
4101
4110
|
pa as findBreakpoint,
|
|
@@ -4105,14 +4114,14 @@ export {
|
|
|
4105
4114
|
Us as formatFileSize,
|
|
4106
4115
|
hl as generateAllTokenVariables,
|
|
4107
4116
|
vl as generateBreakpointVariables,
|
|
4108
|
-
|
|
4109
|
-
|
|
4117
|
+
Qe as generateButtonClasses,
|
|
4118
|
+
et as generateButtonStyles,
|
|
4110
4119
|
Fo as generateColorVariables,
|
|
4111
4120
|
Ho as generateCoreColorVariables,
|
|
4112
4121
|
xl as generateCoreTokenVariables,
|
|
4113
4122
|
yl as generateFontFamilyOverrideVariables,
|
|
4114
|
-
|
|
4115
|
-
|
|
4123
|
+
ut as generateLinkClasses,
|
|
4124
|
+
ct as generateLinkStyles,
|
|
4116
4125
|
wl as generateMotionVariables,
|
|
4117
4126
|
Sl as generateRadiusVariables,
|
|
4118
4127
|
Ro as generateSemanticColorVariables,
|
|
@@ -4172,7 +4181,7 @@ export {
|
|
|
4172
4181
|
br as getTokenValue,
|
|
4173
4182
|
fr as getZIndexVar,
|
|
4174
4183
|
gr as getZIndexVarName,
|
|
4175
|
-
|
|
4184
|
+
nt as hexToRgb,
|
|
4176
4185
|
ca as increaseSize,
|
|
4177
4186
|
zo as interactiveColors,
|
|
4178
4187
|
Ys as isIndexedDBAvailable,
|
|
@@ -4188,8 +4197,8 @@ export {
|
|
|
4188
4197
|
Ks as makeI18nProvider,
|
|
4189
4198
|
Xs as makeMapValidation,
|
|
4190
4199
|
Js as makeMessages,
|
|
4191
|
-
|
|
4192
|
-
|
|
4200
|
+
vt as makeOnBlurHandler,
|
|
4201
|
+
xt as makeOnChangeHandler,
|
|
4193
4202
|
xr as motionDurations,
|
|
4194
4203
|
yr as motionEasings,
|
|
4195
4204
|
Wo as normalizeColorName,
|