@factorialco/f0-react 2.21.0 → 2.22.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/ai.d.ts +11 -11
- package/dist/experimental.d.ts +11 -11
- package/dist/f0.d.ts +12 -12
- package/dist/f0.js +211 -202
- package/dist/i18n-provider-defaults.d.ts +11 -11
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/f0.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g4 as uk, aj as wt, bt as Tg, z as
|
|
1
|
+
import { g4 as uk, aj as wt, bt as Tg, z as ce, E as Pa, g1 as ck, A as gu, eF as _3, as as go, g5 as w3, at as fk, a2 as le, u as rt, V as dt, d9 as Vu, Q as S3, v as C3, Y as Hv, cX as mu, ak as Ur, ag as Dg, g6 as T3, g7 as Yb, g8 as D3, g9 as A3, ga as KC, dR as M3, gb as E3, gc as dk, gd as L3, aR as Aw, aS as Mw, K as pd, aT as Ew, az as hk, cg as Wv, ge as vk, gf as N3, fh as I3, aV as pk, dv as k3, bH as R3, b9 as gk, a0 as pt, a9 as Fu, gg as QC, gh as JC, gi as $m, gj as eT, gk as P3, gl as O3, au as B3, gm as Lw, gn as tT, fd as V3, go as F3, gp as z3, gq as G3, a7 as Nw, ae as mk, af as yu, gr as Oa, gs as el, gt as H3, gu as Iw, gv as kr, fY as bu, gw as fi, bX as kw, ff as W3, dL as Rw, aJ as iu, bY as yk, dj as Pw, gx as bk, gy as Ho, bm as Hs, gz as $3, al as Bn, aE as U3, cP as Xb, cO as xk, gA as Y3, gB as Ag, dk as Ow, fR as X3, ad as Bw, bO as q3, ar as Mg, gC as Z3, gD as j3, gE as K3, j as Q3, ep as J3, U as _k, cS as tl, dF as wk, bR as Vw, W as Eg, X as Lg, cF as Fw, $ as Ng, a6 as Ar, a8 as xu, fs as au, ft as ou, _ as su, fu as lu, fq as eH, fr as io, cI as Sk, aG as tH, dg as $v, gF as an, aQ as rH, gG as pn, gH as nH, gI as iH, gJ as Ck, gK as Ig, gL as aH, gM as oH, dn as Tk, dm as Dk, gN as sH, gO as lH, b1 as Ak, b7 as uH, fG as cH, fH, fI as dH, bu as zu, by as Gu, bF as gd, dM as hH, bv as vH, bg as pH, a1 as Mk, bn as gH, ab as mH, dd as rT, dE as Rf, an as yH, ao as bH, gP as xH, b6 as _H, bz as wH, cV as Ek, ah as SH, cN as CH, g2 as TH, gQ as DH, gR as AH, I as MH, gS as EH, gT as LH, gU as NH, d as IH, gV as kH } from "./F0CanvasPanel-v9tjaOnW.js";
|
|
2
2
|
import { ha as fme, C as dme, D as hme, b0 as vme, i as pme, F as gme, l as mme, m as yme, a as bme, o as xme, h3 as _me, p as wme, q as Sme, bh as Cme, bI as Tme, bs as Dme, ay as Ame, dQ as Mme, aH as Eme, bV as Lme, g as Nme, r as Ime, fT as kme, h as Rme, gZ as Pme, he as Ome, k as Bme, bA as Vme, h5 as Fme, bd as zme, h6 as Gme, h8 as Hme, h9 as Wme, ch as $me, hb as Ume, cc as Yme, cd as Xme, P as qme, h7 as Zme, ce as jme, hf as Kme, gW as Qme, gX as Jme, gY as eye, cf as tye, hd as rye, h4 as nye, h1 as iye, h0 as aye, fS as oye, hc as sye, b4 as lye, cb as uye, c8 as cye, ca as fye, c7 as dye, h2 as hye, fV as vye, fO as pye, b$ as gye, c9 as mye, g$ as yye, c as bye, n as xye, fN as _ye, g3 as wye, b2 as Sye, g_ as Cye, e as Tye, fQ as Dye, a$ as Aye, fP as Mye, f as Eye, b as Lye, hg as Nye } from "./F0CanvasPanel-v9tjaOnW.js";
|
|
3
3
|
import { jsx as w, jsxs as B, Fragment as kt } from "react/jsx-runtime";
|
|
4
4
|
import * as Yn from "react";
|
|
@@ -41,9 +41,9 @@ import './f0.css';const lW = {
|
|
|
41
41
|
"section",
|
|
42
42
|
{
|
|
43
43
|
ref: i,
|
|
44
|
-
className:
|
|
44
|
+
className: ce("relative flex-1 overflow-auto", t),
|
|
45
45
|
...n,
|
|
46
|
-
children: /* @__PURE__ */ w("div", { className:
|
|
46
|
+
children: /* @__PURE__ */ w("div", { className: ce(cW({ variant: e })), children: r })
|
|
47
47
|
}
|
|
48
48
|
) }));
|
|
49
49
|
Xk.displayName = "StandardLayout";
|
|
@@ -65,7 +65,7 @@ const fW = wt(
|
|
|
65
65
|
return /* @__PURE__ */ w("div", { ref: a, className: "h-full", children: /* @__PURE__ */ B(
|
|
66
66
|
"div",
|
|
67
67
|
{
|
|
68
|
-
className:
|
|
68
|
+
className: ce(
|
|
69
69
|
"flex h-full max-w-full overflow-auto text-f1-foreground md:flex-row",
|
|
70
70
|
"flex-col",
|
|
71
71
|
"overflow-y-auto",
|
|
@@ -75,7 +75,7 @@ const fW = wt(
|
|
|
75
75
|
/* @__PURE__ */ w(
|
|
76
76
|
"main",
|
|
77
77
|
{
|
|
78
|
-
className:
|
|
78
|
+
className: ce(
|
|
79
79
|
"sm:min-h-xs order-2 h-fit border-0 py-5 sm:flex-1 sm:border-solid md:order-2 px-page",
|
|
80
80
|
i ? "md:h-full md:max-h-full md:overflow-y-auto" : "min-h-full",
|
|
81
81
|
n === "right" ? "sm:border-l sm:border-l-f1-border-secondary" : "sm:border-r sm:border-r-f1-border-secondary",
|
|
@@ -88,7 +88,7 @@ const fW = wt(
|
|
|
88
88
|
vW,
|
|
89
89
|
{
|
|
90
90
|
sticky: i,
|
|
91
|
-
className:
|
|
91
|
+
className: ce(
|
|
92
92
|
"order-1",
|
|
93
93
|
n === "right" ? "md:order-1" : "md:order-3"
|
|
94
94
|
),
|
|
@@ -113,7 +113,7 @@ const fW = wt(
|
|
|
113
113
|
}) => /* @__PURE__ */ w(
|
|
114
114
|
"aside",
|
|
115
115
|
{
|
|
116
|
-
className:
|
|
116
|
+
className: ce(
|
|
117
117
|
"min-w-30 py-5 pl-page pr-page sm:basis-1/4 sm:pb-6 md:max-w-80 md:pl-2",
|
|
118
118
|
e
|
|
119
119
|
),
|
|
@@ -4197,7 +4197,7 @@ const AW = (r, e, t) => /* @__PURE__ */ w("div", { children: r }), Og = ({
|
|
|
4197
4197
|
]), /* @__PURE__ */ w(
|
|
4198
4198
|
Zw,
|
|
4199
4199
|
{
|
|
4200
|
-
className:
|
|
4200
|
+
className: ce(i && "h-full flex-1 overflow-auto"),
|
|
4201
4201
|
options: s,
|
|
4202
4202
|
onChange: b,
|
|
4203
4203
|
widgets: c
|
|
@@ -4292,7 +4292,7 @@ const MW = (r, e) => {
|
|
|
4292
4292
|
f,
|
|
4293
4293
|
{
|
|
4294
4294
|
...u,
|
|
4295
|
-
className:
|
|
4295
|
+
className: ce(
|
|
4296
4296
|
pc({ variant: e, align: t }),
|
|
4297
4297
|
n,
|
|
4298
4298
|
"inline-flex gap-0.5"
|
|
@@ -4318,7 +4318,7 @@ const MW = (r, e) => {
|
|
|
4318
4318
|
lines: h,
|
|
4319
4319
|
noTooltip: o,
|
|
4320
4320
|
tag: f,
|
|
4321
|
-
className:
|
|
4321
|
+
className: ce(pc({ variant: e, align: t }), n),
|
|
4322
4322
|
markdown: s,
|
|
4323
4323
|
...u,
|
|
4324
4324
|
children: r
|
|
@@ -4331,14 +4331,14 @@ const MW = (r, e) => {
|
|
|
4331
4331
|
f,
|
|
4332
4332
|
{
|
|
4333
4333
|
...u,
|
|
4334
|
-
className:
|
|
4334
|
+
className: ce(pc({ variant: e, align: t }), n),
|
|
4335
4335
|
ref: c
|
|
4336
4336
|
},
|
|
4337
4337
|
/* @__PURE__ */ w("span", { dangerouslySetInnerHTML: { __html: h } }),
|
|
4338
4338
|
d
|
|
4339
4339
|
) : Yd(f, {
|
|
4340
4340
|
...u,
|
|
4341
|
-
className:
|
|
4341
|
+
className: ce(pc({ variant: e, align: t }), n),
|
|
4342
4342
|
ref: c,
|
|
4343
4343
|
dangerouslySetInnerHTML: { __html: h }
|
|
4344
4344
|
});
|
|
@@ -4347,7 +4347,7 @@ const MW = (r, e) => {
|
|
|
4347
4347
|
f,
|
|
4348
4348
|
{
|
|
4349
4349
|
...u,
|
|
4350
|
-
className:
|
|
4350
|
+
className: ce(pc({ variant: e, align: t }), n),
|
|
4351
4351
|
ref: c
|
|
4352
4352
|
},
|
|
4353
4353
|
r,
|
|
@@ -4389,7 +4389,7 @@ const Bf = wt(Qk), gge = [
|
|
|
4389
4389
|
}, [i, n]), /* @__PURE__ */ B(
|
|
4390
4390
|
"div",
|
|
4391
4391
|
{
|
|
4392
|
-
className:
|
|
4392
|
+
className: ce(
|
|
4393
4393
|
"group relative flex h-full w-full flex-col overflow-hidden rounded-xl border border-solid border-f1-border bg-f1-background transition-all duration-200",
|
|
4394
4394
|
e && u ? "border-f1-border-hover" : e && "hover:border-f1-border-hover",
|
|
4395
4395
|
l && "border-f1-border-selected-bold shadow-[0_0_0_4px_hsl(var(--selected-50)/0.1)]",
|
|
@@ -4402,7 +4402,7 @@ const Bf = wt(Qk), gge = [
|
|
|
4402
4402
|
/* @__PURE__ */ B(
|
|
4403
4403
|
"div",
|
|
4404
4404
|
{
|
|
4405
|
-
className:
|
|
4405
|
+
className: ce(
|
|
4406
4406
|
"flex min-w-0 flex-1 items-center",
|
|
4407
4407
|
!e && "pl-4",
|
|
4408
4408
|
!o && !a && "pr-4"
|
|
@@ -4420,7 +4420,7 @@ const Bf = wt(Qk), gge = [
|
|
|
4420
4420
|
/* @__PURE__ */ w(
|
|
4421
4421
|
"div",
|
|
4422
4422
|
{
|
|
4423
|
-
className:
|
|
4423
|
+
className: ce(
|
|
4424
4424
|
"flex min-w-0 flex-1 items-center",
|
|
4425
4425
|
e && "-translate-x-1.5"
|
|
4426
4426
|
),
|
|
@@ -4433,7 +4433,7 @@ const Bf = wt(Qk), gge = [
|
|
|
4433
4433
|
/* @__PURE__ */ w(S3, { children: (a || o) && p && /* @__PURE__ */ B(
|
|
4434
4434
|
gu.div,
|
|
4435
4435
|
{
|
|
4436
|
-
className:
|
|
4436
|
+
className: ce(
|
|
4437
4437
|
"flex shrink-0 items-center gap-0.5 pr-2",
|
|
4438
4438
|
!o && "pr-4"
|
|
4439
4439
|
),
|
|
@@ -4584,7 +4584,7 @@ const RW = EW("Dashboard", eR), mge = wt(
|
|
|
4584
4584
|
"div",
|
|
4585
4585
|
{
|
|
4586
4586
|
ref: c,
|
|
4587
|
-
className:
|
|
4587
|
+
className: ce(PW({ variant: e }), "relative", t),
|
|
4588
4588
|
draggable: n,
|
|
4589
4589
|
onDragStart: i,
|
|
4590
4590
|
onDragEnd: a,
|
|
@@ -4620,12 +4620,12 @@ const VW = ({
|
|
|
4620
4620
|
}) => {
|
|
4621
4621
|
if (!r) return null;
|
|
4622
4622
|
const o = t;
|
|
4623
|
-
return /* @__PURE__ */ B(Bg, { ...a, className:
|
|
4623
|
+
return /* @__PURE__ */ B(Bg, { ...a, className: ce("space-y-4", i), children: [
|
|
4624
4624
|
/* @__PURE__ */ B("div", { className: "space-y-2", children: [
|
|
4625
4625
|
/* @__PURE__ */ w(
|
|
4626
4626
|
o,
|
|
4627
4627
|
{
|
|
4628
|
-
className:
|
|
4628
|
+
className: ce("font-semibold text-f1-foreground", {
|
|
4629
4629
|
"text-2xl": t === "h1",
|
|
4630
4630
|
"text-xl": t === "h2",
|
|
4631
4631
|
"text-lg": t === "h3",
|
|
@@ -6736,17 +6736,17 @@ const t$ = /* @__PURE__ */ Ik(function(e) {
|
|
|
6736
6736
|
dragging: S,
|
|
6737
6737
|
dependencies: [D.x, D.y],
|
|
6738
6738
|
config: z.droppable
|
|
6739
|
-
}),
|
|
6739
|
+
}), fe = R4(T, C), ue = ae(() => O ? ep(O) : null, [O]), X = Hm(), se = B4(fe, z.draggable.measure);
|
|
6740
6740
|
e$({
|
|
6741
6741
|
activeNode: C != null ? T.get(C) : null,
|
|
6742
6742
|
config: X.layoutShiftCompensation,
|
|
6743
6743
|
initialRect: se,
|
|
6744
6744
|
measure: z.draggable.measure
|
|
6745
6745
|
});
|
|
6746
|
-
const ne = hT(
|
|
6746
|
+
const ne = hT(fe, z.draggable.measure, se), re = hT(fe ? fe.parentElement : null), ie = oe({
|
|
6747
6747
|
activatorEvent: null,
|
|
6748
6748
|
active: null,
|
|
6749
|
-
activeNode:
|
|
6749
|
+
activeNode: fe,
|
|
6750
6750
|
collisionRect: null,
|
|
6751
6751
|
collisions: null,
|
|
6752
6752
|
droppableRects: W,
|
|
@@ -6759,7 +6759,7 @@ const t$ = /* @__PURE__ */ Ik(function(e) {
|
|
|
6759
6759
|
scrollAdjustedTranslate: null
|
|
6760
6760
|
}), Ue = A.getNodeFor((t = ie.current.over) == null ? void 0 : t.id), Re = Y4({
|
|
6761
6761
|
measure: z.dragOverlay.measure
|
|
6762
|
-
}), Ye = (n = Re.nodeRef.current) != null ? n :
|
|
6762
|
+
}), Ye = (n = Re.nodeRef.current) != null ? n : fe, tt = S ? (i = Re.rect) != null ? i : ne : null, mt = !!(Re.nodeRef.current && Re.rect), G = z4(mt ? null : ne), Y = gR(Ye ? en(Ye) : null), j = G4(S ? Ue ?? fe : null), be = U4(j), ge = xR(h, {
|
|
6763
6763
|
transform: {
|
|
6764
6764
|
x: D.x - G.x,
|
|
6765
6765
|
y: D.y - G.y,
|
|
@@ -6997,7 +6997,7 @@ const t$ = /* @__PURE__ */ Ik(function(e) {
|
|
|
6997
6997
|
ie.current = {
|
|
6998
6998
|
activatorEvent: O,
|
|
6999
6999
|
active: E,
|
|
7000
|
-
activeNode:
|
|
7000
|
+
activeNode: fe,
|
|
7001
7001
|
collisionRect: Cr,
|
|
7002
7002
|
collisions: vn,
|
|
7003
7003
|
droppableRects: W,
|
|
@@ -7012,7 +7012,7 @@ const t$ = /* @__PURE__ */ Ik(function(e) {
|
|
|
7012
7012
|
initial: tt,
|
|
7013
7013
|
translated: Cr
|
|
7014
7014
|
};
|
|
7015
|
-
}, [E,
|
|
7015
|
+
}, [E, fe, vn, Cr, T, Ye, tt, W, A, Er, j, bt]), N4({
|
|
7016
7016
|
...X,
|
|
7017
7017
|
delta: D,
|
|
7018
7018
|
draggingRect: Cr,
|
|
@@ -7022,7 +7022,7 @@ const t$ = /* @__PURE__ */ Ik(function(e) {
|
|
|
7022
7022
|
});
|
|
7023
7023
|
const $d = ae(() => ({
|
|
7024
7024
|
active: E,
|
|
7025
|
-
activeNode:
|
|
7025
|
+
activeNode: fe,
|
|
7026
7026
|
activeNodeRect: ne,
|
|
7027
7027
|
activatorEvent: O,
|
|
7028
7028
|
collisions: vn,
|
|
@@ -7038,7 +7038,7 @@ const t$ = /* @__PURE__ */ Ik(function(e) {
|
|
|
7038
7038
|
measuringConfiguration: z,
|
|
7039
7039
|
measuringScheduled: J,
|
|
7040
7040
|
windowRect: Y
|
|
7041
|
-
}), [E,
|
|
7041
|
+
}), [E, fe, ne, O, vn, re, Re, T, A, W, Er, Z, j, be, z, J, Y]), Ud = ae(() => ({
|
|
7042
7042
|
activatorEvent: O,
|
|
7043
7043
|
activators: Go,
|
|
7044
7044
|
active: E,
|
|
@@ -7920,7 +7920,7 @@ const bT = ({ id: r, children: e }) => {
|
|
|
7920
7920
|
return a1(v, p, g);
|
|
7921
7921
|
});
|
|
7922
7922
|
};
|
|
7923
|
-
return /* @__PURE__ */ w("div", { className:
|
|
7923
|
+
return /* @__PURE__ */ w("div", { className: ce("flex flex-wrap items-stretch gap-4", n && "flex-1"), children: /* @__PURE__ */ B(
|
|
7924
7924
|
t$,
|
|
7925
7925
|
{
|
|
7926
7926
|
sensors: l,
|
|
@@ -7939,7 +7939,7 @@ const O$ = hn(function({ children: e, aside: t, header: n, variant: i = "main-as
|
|
|
7939
7939
|
return process.env.NODE_ENV === "development" && tR("Page", e, ["block", "group"]), /* @__PURE__ */ w("div", { ref: a, className: "h-full", children: /* @__PURE__ */ B(
|
|
7940
7940
|
"div",
|
|
7941
7941
|
{
|
|
7942
|
-
className:
|
|
7942
|
+
className: ce(
|
|
7943
7943
|
"flex h-full max-w-full overflow-auto text-f1-foreground md:flex-row",
|
|
7944
7944
|
"flex-col",
|
|
7945
7945
|
"overflow-y-auto",
|
|
@@ -7949,7 +7949,7 @@ const O$ = hn(function({ children: e, aside: t, header: n, variant: i = "main-as
|
|
|
7949
7949
|
/* @__PURE__ */ B(
|
|
7950
7950
|
"main",
|
|
7951
7951
|
{
|
|
7952
|
-
className:
|
|
7952
|
+
className: ce(
|
|
7953
7953
|
"sm:min-h-xs h-fit border-0",
|
|
7954
7954
|
"order-1 flex flex-col sm:flex-1 sm:border-solid md:order-2",
|
|
7955
7955
|
"md:auto md:h-full md:max-h-full md:overflow-y-auto md:overflow-x-hidden",
|
|
@@ -7960,7 +7960,7 @@ const O$ = hn(function({ children: e, aside: t, header: n, variant: i = "main-as
|
|
|
7960
7960
|
n && /* @__PURE__ */ w(
|
|
7961
7961
|
"header",
|
|
7962
7962
|
{
|
|
7963
|
-
className:
|
|
7963
|
+
className: ce(
|
|
7964
7964
|
"sticky top-0 z-30 bg-f1-background"
|
|
7965
7965
|
),
|
|
7966
7966
|
children: n
|
|
@@ -7973,7 +7973,7 @@ const O$ = hn(function({ children: e, aside: t, header: n, variant: i = "main-as
|
|
|
7973
7973
|
t && /* @__PURE__ */ w(
|
|
7974
7974
|
"aside",
|
|
7975
7975
|
{
|
|
7976
|
-
className:
|
|
7976
|
+
className: ce(
|
|
7977
7977
|
"min-w-30 sm:basis-1/4 md:max-w-80",
|
|
7978
7978
|
"order-2",
|
|
7979
7979
|
i === "aside-main" ? "md:order-1" : "md:order-3"
|
|
@@ -13072,8 +13072,8 @@ function w6(r, e, t, n, i) {
|
|
|
13072
13072
|
}
|
|
13073
13073
|
v < o.length && Ty(a, o.substring(v, o.length), e, h);
|
|
13074
13074
|
var m = [], y = 0, b = 0, x = d === "truncate", _ = e.lineOverflow === "truncate", S = {};
|
|
13075
|
-
function C(
|
|
13076
|
-
|
|
13075
|
+
function C(fe, ue, X) {
|
|
13076
|
+
fe.width = ue, fe.lineHeight = X, y += X, b = Math.max(b, ue);
|
|
13077
13077
|
}
|
|
13078
13078
|
e: for (var T = 0; T < a.lines.length; T++) {
|
|
13079
13079
|
for (var D = a.lines[T], A = 0, M = 0, L = 0; L < D.tokens.length; L++) {
|
|
@@ -13619,12 +13619,12 @@ var Ji = (function() {
|
|
|
13619
13619
|
break;
|
|
13620
13620
|
}
|
|
13621
13621
|
case xt.A:
|
|
13622
|
-
var F = n[S++], H = n[S++], z = n[S++], W = n[S++], Z = n[S++], J = n[S++],
|
|
13622
|
+
var F = n[S++], H = n[S++], z = n[S++], W = n[S++], Z = n[S++], J = n[S++], fe = n[S++], ue = !n[S++], X = z > W ? z : W, se = la(z - W) > 1e-3, ne = Z + J, re = !1;
|
|
13623
13623
|
if (h) {
|
|
13624
13624
|
var M = v[m++];
|
|
13625
13625
|
g + M > y && (ne = Z + J * (y - g) / M, re = !0), g += M;
|
|
13626
13626
|
}
|
|
13627
|
-
if (se && e.ellipse ? e.ellipse(F, H, z, W,
|
|
13627
|
+
if (se && e.ellipse ? e.ellipse(F, H, z, W, fe, Z, ne, ue) : e.arc(F, H, X, Z, ne, ue), re)
|
|
13628
13628
|
break e;
|
|
13629
13629
|
T && (s = Jo(Z) * z + F, l = es(Z) * W + H), u = Jo(ne) * z + F, c = es(ne) * W + H;
|
|
13630
13630
|
break;
|
|
@@ -15024,7 +15024,7 @@ function EY(r, e) {
|
|
|
15024
15024
|
if (b = Ai(H, m), x = Ai(H, y), _ = Ai(H, p), S = Ai(H, g), D = C = nf(b, x), A = T = nf(_, S), (C > Qn || T > Qn) && (M = n * wl(u), L = n * rs(u), E = i * wl(l), R = i * rs(l), h < jP)) {
|
|
15025
15025
|
var z = AY(I, k, E, R, M, L, O, P);
|
|
15026
15026
|
if (z) {
|
|
15027
|
-
var W = I - z[0], Z = k - z[1], J = M - z[0],
|
|
15027
|
+
var W = I - z[0], Z = k - z[1], J = M - z[0], fe = L - z[1], ue = 1 / rs(DY((W * J + Z * fe) / (Cf(W * W + Z * Z) * Cf(J * J + fe * fe))) / 2), X = Cf(z[0] * z[0] + z[1] * z[1]);
|
|
15028
15028
|
D = Ai(C, (n - X) / (ue + 1)), A = Ai(T, (i - X) / (ue - 1));
|
|
15029
15029
|
}
|
|
15030
15030
|
}
|
|
@@ -21327,8 +21327,8 @@ function Au(r, e) {
|
|
|
21327
21327
|
if (H <= 0)
|
|
21328
21328
|
break;
|
|
21329
21329
|
if (V % 2 === 0) {
|
|
21330
|
-
var z = (1 - o.symbolSize) * 0.5, W = P + g[k][V] * z, Z = E + m[R] * z, J = g[k][V] * o.symbolSize,
|
|
21331
|
-
X(W, Z, J,
|
|
21330
|
+
var z = (1 - o.symbolSize) * 0.5, W = P + g[k][V] * z, Z = E + m[R] * z, J = g[k][V] * o.symbolSize, fe = m[R] * o.symbolSize, ue = F / 2 % y[O].length;
|
|
21331
|
+
X(W, Z, J, fe, y[O][ue]);
|
|
21332
21332
|
}
|
|
21333
21333
|
P += g[k][V], ++F, ++V, V === g[k].length && (V = 0);
|
|
21334
21334
|
}
|
|
@@ -25867,8 +25867,8 @@ function Sm(r, e, t, n) {
|
|
|
25867
25867
|
});
|
|
25868
25868
|
}
|
|
25869
25869
|
for (var z = Je(C), W = !0, Z, A = 1; A < z.length; A++) {
|
|
25870
|
-
var J = z[A - 1],
|
|
25871
|
-
if (C[J][ps] !== C[
|
|
25870
|
+
var J = z[A - 1], fe = z[A];
|
|
25871
|
+
if (C[J][ps] !== C[fe][ps]) {
|
|
25872
25872
|
W = !1;
|
|
25873
25873
|
break;
|
|
25874
25874
|
}
|
|
@@ -27217,8 +27217,8 @@ function Rj(r, e, t, n, i, a, o, s) {
|
|
|
27217
27217
|
}
|
|
27218
27218
|
_ && (h.push(x), v.push(v.length));
|
|
27219
27219
|
}
|
|
27220
|
-
v.sort(function(J,
|
|
27221
|
-
return p[J] - p[
|
|
27220
|
+
v.sort(function(J, fe) {
|
|
27221
|
+
return p[J] - p[fe];
|
|
27222
27222
|
});
|
|
27223
27223
|
for (var k = u.length, O = Gi(k), P = Gi(k), V = Gi(k), F = Gi(k), H = [], b = 0; b < v.length; b++) {
|
|
27224
27224
|
var z = v[b], W = b * 2, Z = z * 2;
|
|
@@ -27676,8 +27676,8 @@ var Yj = (
|
|
|
27676
27676
|
this.group.add(n.group), this._symbolDraw = n, this._lineGroup = t, this._changePolyState = ve(this._changePolyState, this);
|
|
27677
27677
|
}, e.prototype.render = function(t, n, i) {
|
|
27678
27678
|
var a = t.coordinateSystem, o = this.group, s = t.getData(), l = t.getModel("lineStyle"), u = t.getModel("areaStyle"), c = s.getLayout("points") || [], f = a.type === "polar", d = this._coordSys, h = this._symbolDraw, v = this._polyline, p = this._polygon, g = this._lineGroup, m = !n.ssr && t.get("animation"), y = !u.isEmpty(), b = u.get("origin"), x = WV(a, s, b), _ = y && Bj(a, s, x), S = t.get("showSymbol"), C = t.get("connectNulls"), T = S && !f && zj(t, s, a), D = this._data;
|
|
27679
|
-
D && D.eachItemGraphicEl(function(J,
|
|
27680
|
-
J.__temp && (o.remove(J), D.setItemGraphicEl(
|
|
27679
|
+
D && D.eachItemGraphicEl(function(J, fe) {
|
|
27680
|
+
J.__temp && (o.remove(J), D.setItemGraphicEl(fe, null));
|
|
27681
27681
|
}), S || h.remove(), o.add(g);
|
|
27682
27682
|
var A = f ? !1 : t.get("step"), M;
|
|
27683
27683
|
a && a.getArea && t.get("clip", !0) && (M = a.getArea(), M.width != null ? (M.x -= 0.1, M.y -= 0.1, M.width += 0.2, M.height += 0.2) : M.r0 && (M.r0 -= 0.5, M.r += 0.5)), this._clipShapeForSymbol = M;
|
|
@@ -28964,7 +28964,7 @@ function pK(r) {
|
|
|
28964
28964
|
return;
|
|
28965
28965
|
}
|
|
28966
28966
|
if (v(D)) {
|
|
28967
|
-
var H = (T.startAngle + T.endAngle) / 2, z = Math.cos(H), W = Math.sin(H), Z, J,
|
|
28967
|
+
var H = (T.startAngle + T.endAngle) / 2, z = Math.cos(H), W = Math.sin(H), Z, J, fe, ue;
|
|
28968
28968
|
n = T.cx, i = T.cy;
|
|
28969
28969
|
var X = E === "inside" || E === "inner";
|
|
28970
28970
|
if (E === "center")
|
|
@@ -28973,7 +28973,7 @@ function pK(r) {
|
|
|
28973
28973
|
var se = (X ? (T.r + T.r0) / 2 * z : T.r * z) + n, ne = (X ? (T.r + T.r0) / 2 * W : T.r * W) + i;
|
|
28974
28974
|
if (Z = se + z * 3, J = ne + W * 3, !X) {
|
|
28975
28975
|
var re = se + z * (V + l - T.r), ie = ne + W * (V + l - T.r), Ue = re + (z < 0 ? -1 : 1) * F, Re = ie;
|
|
28976
|
-
I === "edge" ? Z = z < 0 ? c + k : c + u - k : Z = Ue + (z < 0 ? -R : R), J = Re,
|
|
28976
|
+
I === "edge" ? Z = z < 0 ? c + k : c + u - k : Z = Ue + (z < 0 ? -R : R), J = Re, fe = [[se, ne], [re, ie], [Ue, Re]];
|
|
28977
28977
|
}
|
|
28978
28978
|
ue = X ? "center" : I === "edge" ? z > 0 ? "right" : "left" : z > 0 ? "left" : "right";
|
|
28979
28979
|
}
|
|
@@ -29010,7 +29010,7 @@ function pK(r) {
|
|
|
29010
29010
|
minTurnAngle: P.get("minTurnAngle"),
|
|
29011
29011
|
maxSurfaceAngle: P.get("maxSurfaceAngle"),
|
|
29012
29012
|
surfaceNormal: new Le(z, W),
|
|
29013
|
-
linePoints:
|
|
29013
|
+
linePoints: fe,
|
|
29014
29014
|
textAlign: ue,
|
|
29015
29015
|
labelDistance: R,
|
|
29016
29016
|
labelAlignTo: I,
|
|
@@ -35443,9 +35443,9 @@ function cee(r, e, t, n, i, a, o, s, l, u) {
|
|
|
35443
35443
|
}
|
|
35444
35444
|
function J(X, se, ne, re) {
|
|
35445
35445
|
var ie = y != null && t[X][y], Ue = i[X];
|
|
35446
|
-
return ie ? (t[X][y] = null,
|
|
35446
|
+
return ie ? (t[X][y] = null, fe(Ue, ie)) : g || (ie = new se(), ie instanceof Xn && (ie.z2 = fee(ne, re)), ue(Ue, ie)), e[X][m] = ie;
|
|
35447
35447
|
}
|
|
35448
|
-
function
|
|
35448
|
+
function fe(X, se) {
|
|
35449
35449
|
var ne = X[m] = {};
|
|
35450
35450
|
se instanceof I_ ? (ne.oldX = se.x, ne.oldY = se.y) : ne.oldShape = q({}, se.shape);
|
|
35451
35451
|
}
|
|
@@ -37763,10 +37763,10 @@ function ote(r, e) {
|
|
|
37763
37763
|
clockwise: p
|
|
37764
37764
|
}, !0), O[P.dataIndex] = k, k += (V + f) * g;
|
|
37765
37765
|
}), n.eachEdge(function(P) {
|
|
37766
|
-
var V = _ ? 1 : P.getValue("value"), F = D * (T ? V : 1) * g, H = P.node1.dataIndex, z = O[H] || 0, W = Math.abs((P.node1.getLayout().ratio || 1) * F), Z = z + W * g, J = [s + c * Math.cos(z), l + c * Math.sin(z)],
|
|
37766
|
+
var V = _ ? 1 : P.getValue("value"), F = D * (T ? V : 1) * g, H = P.node1.dataIndex, z = O[H] || 0, W = Math.abs((P.node1.getLayout().ratio || 1) * F), Z = z + W * g, J = [s + c * Math.cos(z), l + c * Math.sin(z)], fe = [s + c * Math.cos(Z), l + c * Math.sin(Z)], ue = P.node2.dataIndex, X = O[ue] || 0, se = Math.abs((P.node2.getLayout().ratio || 1) * F), ne = X + se * g, re = [s + c * Math.cos(X), l + c * Math.sin(X)], ie = [s + c * Math.cos(ne), l + c * Math.sin(ne)];
|
|
37767
37767
|
P.setLayout({
|
|
37768
37768
|
s1: J,
|
|
37769
|
-
s2:
|
|
37769
|
+
s2: fe,
|
|
37770
37770
|
sStartAngle: z,
|
|
37771
37771
|
sEndAngle: Z,
|
|
37772
37772
|
t1: re,
|
|
@@ -37925,7 +37925,7 @@ var fte = (
|
|
|
37925
37925
|
O = O ? O + c : c;
|
|
37926
37926
|
for (var J = 0; J <= _; J++) {
|
|
37927
37927
|
R = Math.cos(T), I = Math.sin(T);
|
|
37928
|
-
var
|
|
37928
|
+
var fe = new Xt({
|
|
37929
37929
|
shape: {
|
|
37930
37930
|
x1: R * (v - O) + d,
|
|
37931
37931
|
y1: I * (v - O) + h,
|
|
@@ -37935,9 +37935,9 @@ var fte = (
|
|
|
37935
37935
|
silent: !0,
|
|
37936
37936
|
style: L
|
|
37937
37937
|
});
|
|
37938
|
-
L.stroke === "auto" &&
|
|
37938
|
+
L.stroke === "auto" && fe.setStyle({
|
|
37939
37939
|
stroke: a((k + J / _) / x)
|
|
37940
|
-
}), f.add(
|
|
37940
|
+
}), f.add(fe), T += A;
|
|
37941
37941
|
}
|
|
37942
37942
|
T -= A;
|
|
37943
37943
|
} else
|
|
@@ -39702,10 +39702,10 @@ var pre = (
|
|
|
39702
39702
|
var H = "" + m.get("value"), z = ar(m, "edgeLabel");
|
|
39703
39703
|
dr(p, z, {
|
|
39704
39704
|
labelFetcher: {
|
|
39705
|
-
getFormattedLabel: function(J,
|
|
39705
|
+
getFormattedLabel: function(J, fe, ue, X, se, ne) {
|
|
39706
39706
|
return t.getFormattedLabel(
|
|
39707
39707
|
J,
|
|
39708
|
-
|
|
39708
|
+
fe,
|
|
39709
39709
|
"edge",
|
|
39710
39710
|
X,
|
|
39711
39711
|
// ensure edgeLabel formatter is provided
|
|
@@ -39722,8 +39722,8 @@ var pre = (
|
|
|
39722
39722
|
});
|
|
39723
39723
|
var W = m.getModel("emphasis");
|
|
39724
39724
|
ir(p, m, "lineStyle", function(J) {
|
|
39725
|
-
var
|
|
39726
|
-
return EL(
|
|
39725
|
+
var fe = J.getItemStyle();
|
|
39726
|
+
return EL(fe, h, v), fe;
|
|
39727
39727
|
}), s.add(p), d.setItemGraphicEl(v.dataIndex, p);
|
|
39728
39728
|
var Z = W.get("focus");
|
|
39729
39729
|
Mt(p, Z === "adjacency" ? v.getAdjacentDataIndices() : Z === "trajectory" ? v.getTrajectoryDataIndices() : Z, W.get("blurScope"), W.get("disabled"));
|
|
@@ -42782,8 +42782,8 @@ function rie(r, e, t) {
|
|
|
42782
42782
|
F < v && (F = v), P = O + M * F;
|
|
42783
42783
|
var H = k.depth - m - (S ? -1 : 1), z = f + T * H, W = f + T * (H + 1), Z = n.getLevelModel(k);
|
|
42784
42784
|
if (Z) {
|
|
42785
|
-
var J = Z.get("r0", !0),
|
|
42786
|
-
ue != null && (J = ue[0],
|
|
42785
|
+
var J = Z.get("r0", !0), fe = Z.get("r", !0), ue = Z.get("radius", !0);
|
|
42786
|
+
ue != null && (J = ue[0], fe = ue[1]), J != null && (z = de(J, l / 2)), fe != null && (W = de(fe, l / 2));
|
|
42787
42787
|
}
|
|
42788
42788
|
k.setLayout({
|
|
42789
42789
|
angle: F,
|
|
@@ -54404,8 +54404,8 @@ function uw(r) {
|
|
|
54404
54404
|
nu(E, I) && nu(R, k) || i.push(E, R, I, k, I, k);
|
|
54405
54405
|
}
|
|
54406
54406
|
function f(E, R, I, k, O, P) {
|
|
54407
|
-
var V = Math.abs(R - E), F = Math.tan(V / 4) * 4 / 3, H = R < E ? -1 : 1, z = Math.cos(E), W = Math.sin(E), Z = Math.cos(R), J = Math.sin(R),
|
|
54408
|
-
i.push(
|
|
54407
|
+
var V = Math.abs(R - E), F = Math.tan(V / 4) * 4 / 3, H = R < E ? -1 : 1, z = Math.cos(E), W = Math.sin(E), Z = Math.cos(R), J = Math.sin(R), fe = z * O + I, ue = W * P + k, X = Z * O + I, se = J * P + k, ne = O * F * H, re = P * F * H;
|
|
54408
|
+
i.push(fe - ne * W, ue + re * z, X + ne * J, se - re * Z, X, se);
|
|
54409
54409
|
}
|
|
54410
54410
|
for (var d, h, v, p, g = 0; g < t; ) {
|
|
54411
54411
|
var m = e[g++], y = g === 1;
|
|
@@ -55756,12 +55756,12 @@ function Lce(r, e, t, n, i) {
|
|
|
55756
55756
|
}
|
|
55757
55757
|
M = V(M), L = V(L);
|
|
55758
55758
|
for (var F = [], H = [], z = !0, W = n[Pe[O]], Z = 0; ; Z++) {
|
|
55759
|
-
var J = W === n[Pe[O]],
|
|
55760
|
-
|
|
55759
|
+
var J = W === n[Pe[O]], fe = W >= P;
|
|
55760
|
+
fe && (W = P);
|
|
55761
55761
|
var ue = [], X = [];
|
|
55762
|
-
ue[k] = M, X[k] = L, !J && !
|
|
55762
|
+
ue[k] = M, X[k] = L, !J && !fe && (ue[k] += z ? -l : l, X[k] -= z ? l : -l), ue[O] = W, X[O] = W, F.push(ue), H.push(X);
|
|
55763
55763
|
var se = void 0;
|
|
55764
|
-
if (Z < D.length ? se = D[Z] : (se = Math.random(), D.push(se)), W += se * (c - u) + u, z = !z,
|
|
55764
|
+
if (Z < D.length ? se = D[Z] : (se = Math.random(), D.push(se)), W += se * (c - u) + u, z = !z, fe)
|
|
55765
55765
|
break;
|
|
55766
55766
|
}
|
|
55767
55767
|
var ne = qt().serializeAxisBreakIdentifier(R.breakOption);
|
|
@@ -57281,10 +57281,10 @@ function tfe(r, {
|
|
|
57281
57281
|
W = `<div style="margin-top: 4px; color: ${L.foregroundTertiary}; font-size: 11px">Overall: ${Z}</div>`;
|
|
57282
57282
|
const J = z - 1;
|
|
57283
57283
|
if (J >= 0) {
|
|
57284
|
-
const
|
|
57285
|
-
if (
|
|
57286
|
-
const ue = pw(V,
|
|
57287
|
-
W += `<div style="color: ${L.foregroundTertiary}; font-size: 11px">From ${
|
|
57284
|
+
const fe = I[J];
|
|
57285
|
+
if (fe && fe.value > 0) {
|
|
57286
|
+
const ue = pw(V, fe.value);
|
|
57287
|
+
W += `<div style="color: ${L.foregroundTertiary}; font-size: 11px">From ${fe.name}: ${ue}</div>`;
|
|
57288
57288
|
}
|
|
57289
57289
|
}
|
|
57290
57290
|
}
|
|
@@ -58260,16 +58260,25 @@ const kge = wt(
|
|
|
58260
58260
|
"div",
|
|
58261
58261
|
{
|
|
58262
58262
|
role: a === "critical" || a === "warning" ? "alert" : "status",
|
|
58263
|
-
className:
|
|
58263
|
+
className: ce(Ife({ variant: a }), o && "pr-2"),
|
|
58264
58264
|
children: /* @__PURE__ */ B("div", { className: "flex flex-row gap-2", children: [
|
|
58265
58265
|
/* @__PURE__ */ B("div", { className: "flex flex-1 flex-col items-start gap-3 @xs:flex-row @xs:items-center @xs:justify-between", children: [
|
|
58266
|
-
/* @__PURE__ */ B(
|
|
58267
|
-
|
|
58268
|
-
|
|
58269
|
-
|
|
58270
|
-
|
|
58271
|
-
|
|
58272
|
-
|
|
58266
|
+
/* @__PURE__ */ B(
|
|
58267
|
+
"div",
|
|
58268
|
+
{
|
|
58269
|
+
className: ce(
|
|
58270
|
+
"flex flex-row gap-2",
|
|
58271
|
+
!e && "items-center"
|
|
58272
|
+
),
|
|
58273
|
+
children: [
|
|
58274
|
+
/* @__PURE__ */ w("div", { className: "h-6 w-6 flex-shrink-0", children: a === "neutral" ? /* @__PURE__ */ w(pk, { icon: i || k3, size: "sm" }) : /* @__PURE__ */ w(R3, { type: a, size: "sm" }) }),
|
|
58275
|
+
/* @__PURE__ */ B("div", { className: "flex flex-col gap-0.5", children: [
|
|
58276
|
+
/* @__PURE__ */ w("p", { className: kfe({ variant: a }), children: r }),
|
|
58277
|
+
e && /* @__PURE__ */ w("p", { className: "text-base text-f1-foreground-secondary", children: e })
|
|
58278
|
+
] })
|
|
58279
|
+
]
|
|
58280
|
+
}
|
|
58281
|
+
),
|
|
58273
58282
|
(t || n) && /* @__PURE__ */ B("div", { className: "flex flex-shrink-0 flex-row items-center gap-3 pl-8 @xs:pl-0", children: [
|
|
58274
58283
|
n && /* @__PURE__ */ w(
|
|
58275
58284
|
gk,
|
|
@@ -58430,9 +58439,9 @@ const kge = wt(
|
|
|
58430
58439
|
E({ ...C, [z]: 0 });
|
|
58431
58440
|
return;
|
|
58432
58441
|
}
|
|
58433
|
-
const
|
|
58434
|
-
if (
|
|
58435
|
-
const ue = parseInt(
|
|
58442
|
+
const fe = J.replace(/\D/g, "");
|
|
58443
|
+
if (fe === "") return;
|
|
58444
|
+
const ue = parseInt(fe, 10);
|
|
58436
58445
|
if (isNaN(ue)) return;
|
|
58437
58446
|
const X = P3(ue, W);
|
|
58438
58447
|
E({ ...C, [z]: X });
|
|
@@ -58469,7 +58478,7 @@ const kge = wt(
|
|
|
58469
58478
|
"div",
|
|
58470
58479
|
{
|
|
58471
58480
|
ref: m,
|
|
58472
|
-
className:
|
|
58481
|
+
className: ce(
|
|
58473
58482
|
"flex flex-col gap-2",
|
|
58474
58483
|
"pointer-events-none",
|
|
58475
58484
|
h && "cursor-not-allowed"
|
|
@@ -58490,7 +58499,7 @@ const kge = wt(
|
|
|
58490
58499
|
{
|
|
58491
58500
|
id: e,
|
|
58492
58501
|
"data-testid": "input-field-wrapper",
|
|
58493
|
-
className:
|
|
58502
|
+
className: ce(
|
|
58494
58503
|
"pointer-events-auto",
|
|
58495
58504
|
Ffe({
|
|
58496
58505
|
size: g,
|
|
@@ -58508,7 +58517,7 @@ const kge = wt(
|
|
|
58508
58517
|
"data-status": F,
|
|
58509
58518
|
"data-disabled": h ? "" : void 0,
|
|
58510
58519
|
children: _.map((z, W) => {
|
|
58511
|
-
const Z = f?.[z]?.max, J = C[z],
|
|
58520
|
+
const Z = f?.[z]?.max, J = C[z], fe = f?.[z]?.suffix ?? Ofe[z], ue = J > 0 ? String(J) : "", X = f?.[z]?.maxVisibleDigits, se = typeof X == "number" && Number.isFinite(X) ? Math.max(1, Math.floor(X)) : Vfe;
|
|
58512
58521
|
return /* @__PURE__ */ B(Nk, { children: [
|
|
58513
58522
|
W > 0 && /* @__PURE__ */ w(
|
|
58514
58523
|
dt,
|
|
@@ -58524,7 +58533,7 @@ const kge = wt(
|
|
|
58524
58533
|
{
|
|
58525
58534
|
ref: P(z),
|
|
58526
58535
|
id: `${y}-${z}`,
|
|
58527
|
-
className:
|
|
58536
|
+
className: ce(
|
|
58528
58537
|
"border-none bg-transparent p-0 text-inherit outline-none",
|
|
58529
58538
|
"font-inherit text-[length:inherit] leading-[inherit]",
|
|
58530
58539
|
"placeholder:text-f1-foreground-secondary",
|
|
@@ -58550,7 +58559,7 @@ const kge = wt(
|
|
|
58550
58559
|
"aria-readonly": p || void 0
|
|
58551
58560
|
}
|
|
58552
58561
|
),
|
|
58553
|
-
/* @__PURE__ */ w("span", { className: "text-f1-foreground-secondary", children:
|
|
58562
|
+
/* @__PURE__ */ w("span", { className: "text-f1-foreground-secondary", children: fe })
|
|
58554
58563
|
] }, z);
|
|
58555
58564
|
})
|
|
58556
58565
|
}
|
|
@@ -58615,7 +58624,7 @@ function aG({
|
|
|
58615
58624
|
return !r || Object.keys(r).length === 0 ? null : /* @__PURE__ */ w(V3, { dataTestId: l, children: /* @__PURE__ */ w(
|
|
58616
58625
|
"div",
|
|
58617
58626
|
{
|
|
58618
|
-
className:
|
|
58627
|
+
className: ce(
|
|
58619
58628
|
"overflow-hidden rounded-xl border border-solid border-f1-border-secondary bg-f1-background",
|
|
58620
58629
|
a
|
|
58621
58630
|
),
|
|
@@ -59309,7 +59318,7 @@ function ade(r = {}) {
|
|
|
59309
59318
|
}, M = () => {
|
|
59310
59319
|
for (const G of s.unMount) {
|
|
59311
59320
|
const Y = Ce(n, G);
|
|
59312
|
-
Y && (Y._f.refs ? Y._f.refs.every((j) => !Ib(j)) : !Ib(Y._f.ref)) &&
|
|
59321
|
+
Y && (Y._f.refs ? Y._f.refs.every((j) => !Ib(j)) : !Ib(Y._f.ref)) && fe(G);
|
|
59313
59322
|
}
|
|
59314
59323
|
s.unMount = /* @__PURE__ */ new Set();
|
|
59315
59324
|
}, L = (G, Y) => !e.disabled && (G && Y && _t(a, G, Y), !ao(H(), i)), E = (G, Y, j) => vG(G, s, {
|
|
@@ -59417,7 +59426,7 @@ function ade(r = {}) {
|
|
|
59417
59426
|
}), j && j.shouldFocus && be && be.focus && be.focus();
|
|
59418
59427
|
}, J = (G, Y) => Bi(G) ? f.values.subscribe({
|
|
59419
59428
|
next: (j) => G(E(void 0, Y), j)
|
|
59420
|
-
}) : E(G, Y, !0),
|
|
59429
|
+
}) : E(G, Y, !0), fe = (G, Y = {}) => {
|
|
59421
59430
|
for (const j of G ? If(G) : s.mount)
|
|
59422
59431
|
s.mount.delete(j), s.array.delete(j), Y.keepValue || (sr(n, j), sr(a, j)), !Y.keepError && sr(t.errors, j), !Y.keepDirty && sr(t.dirtyFields, j), !Y.keepTouched && sr(t.touchedFields, j), !Y.keepIsValidating && sr(t.validatingFields, j), !e.shouldUnregister && !Y.keepDefaultValue && sr(i, j);
|
|
59423
59432
|
f.values.next({
|
|
@@ -59576,7 +59585,7 @@ function ade(r = {}) {
|
|
|
59576
59585
|
return {
|
|
59577
59586
|
control: {
|
|
59578
59587
|
register: X,
|
|
59579
|
-
unregister:
|
|
59588
|
+
unregister: fe,
|
|
59580
59589
|
getFieldState: z,
|
|
59581
59590
|
handleSubmit: re,
|
|
59582
59591
|
setError: Z,
|
|
@@ -59650,7 +59659,7 @@ function ade(r = {}) {
|
|
|
59650
59659
|
reset: Re,
|
|
59651
59660
|
resetField: ie,
|
|
59652
59661
|
clearErrors: W,
|
|
59653
|
-
unregister:
|
|
59662
|
+
unregister: fe,
|
|
59654
59663
|
setError: Z,
|
|
59655
59664
|
setFocus: (G, Y = {}) => {
|
|
59656
59665
|
const j = Ce(n, G), be = j && j._f;
|
|
@@ -59808,7 +59817,7 @@ const _g = Yn.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ w(
|
|
|
59808
59817
|
CG,
|
|
59809
59818
|
{
|
|
59810
59819
|
ref: t,
|
|
59811
|
-
className:
|
|
59820
|
+
className: ce(
|
|
59812
59821
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
59813
59822
|
r
|
|
59814
59823
|
),
|
|
@@ -59846,7 +59855,7 @@ const TG = $fe, DG = Yn.createContext(
|
|
|
59846
59855
|
{}
|
|
59847
59856
|
), IC = Yn.forwardRef(({ className: r, ...e }, t) => {
|
|
59848
59857
|
const n = Yn.useId();
|
|
59849
|
-
return /* @__PURE__ */ w(AG.Provider, { value: { id: n }, children: /* @__PURE__ */ w("div", { ref: t, className:
|
|
59858
|
+
return /* @__PURE__ */ w(AG.Provider, { value: { id: n }, children: /* @__PURE__ */ w("div", { ref: t, className: ce("space-y-2", r), ...e }) });
|
|
59850
59859
|
});
|
|
59851
59860
|
IC.displayName = "FormItem";
|
|
59852
59861
|
const lde = Yn.forwardRef(({ className: r, ...e }, t) => {
|
|
@@ -59855,7 +59864,7 @@ const lde = Yn.forwardRef(({ className: r, ...e }, t) => {
|
|
|
59855
59864
|
_g,
|
|
59856
59865
|
{
|
|
59857
59866
|
ref: t,
|
|
59858
|
-
className:
|
|
59867
|
+
className: ce(n && "text-f1-foreground-critical", r),
|
|
59859
59868
|
htmlFor: i,
|
|
59860
59869
|
...e
|
|
59861
59870
|
}
|
|
@@ -59883,7 +59892,7 @@ const EG = Yn.forwardRef(({ className: r, ...e }, t) => {
|
|
|
59883
59892
|
{
|
|
59884
59893
|
ref: t,
|
|
59885
59894
|
id: n,
|
|
59886
|
-
className:
|
|
59895
|
+
className: ce("text-base text-f1-foreground-secondary", r),
|
|
59887
59896
|
...e
|
|
59888
59897
|
}
|
|
59889
59898
|
);
|
|
@@ -59897,7 +59906,7 @@ const Bm = Yn.forwardRef(
|
|
|
59897
59906
|
{
|
|
59898
59907
|
ref: i,
|
|
59899
59908
|
id: o,
|
|
59900
|
-
className:
|
|
59909
|
+
className: ce("flex gap-1", r),
|
|
59901
59910
|
...n,
|
|
59902
59911
|
children: [
|
|
59903
59912
|
/* @__PURE__ */ w(dt, { icon: Nw, color: "critical" }),
|
|
@@ -60563,7 +60572,7 @@ function Mde({
|
|
|
60563
60572
|
return /* @__PURE__ */ B(
|
|
60564
60573
|
"div",
|
|
60565
60574
|
{
|
|
60566
|
-
className:
|
|
60575
|
+
className: ce(
|
|
60567
60576
|
"flex items-center gap-[10px] border border-solid bg-f1-background p-3",
|
|
60568
60577
|
Ade[o],
|
|
60569
60578
|
p ? "border-f1-border-critical" : "border-f1-border-secondary",
|
|
@@ -60688,8 +60697,8 @@ function Ide({
|
|
|
60688
60697
|
() => Lde(r.accept),
|
|
60689
60698
|
[r.accept]
|
|
60690
60699
|
), A = te(
|
|
60691
|
-
(J) => r.accept && !r.accept.some((
|
|
60692
|
-
const ue = xw(
|
|
60700
|
+
(J) => r.accept && !r.accept.some((fe) => {
|
|
60701
|
+
const ue = xw(fe);
|
|
60693
60702
|
return ue.endsWith("/*") ? J.type.startsWith(ue.replace("/*", "/")) : J.type === ue;
|
|
60694
60703
|
}) ? x.invalidFileType.replace(
|
|
60695
60704
|
"{{types}}",
|
|
@@ -60714,16 +60723,16 @@ function Ide({
|
|
|
60714
60723
|
g([{ key: se, file: ue }]);
|
|
60715
60724
|
return;
|
|
60716
60725
|
}
|
|
60717
|
-
let
|
|
60726
|
+
let fe = null;
|
|
60718
60727
|
g((ue) => {
|
|
60719
60728
|
const X = r.maxFiles != null ? r.maxFiles - ue.length : 1 / 0;
|
|
60720
60729
|
if (X <= 0)
|
|
60721
|
-
return
|
|
60730
|
+
return fe = x.maxFilesReached.replace(
|
|
60722
60731
|
"{{maxFiles}}",
|
|
60723
60732
|
String(r.maxFiles)
|
|
60724
60733
|
), ue;
|
|
60725
60734
|
const se = J.slice(0, X);
|
|
60726
|
-
J.length > X && (
|
|
60735
|
+
J.length > X && (fe = x.maxFilesReached.replace(
|
|
60727
60736
|
"{{maxFiles}}",
|
|
60728
60737
|
String(r.maxFiles)
|
|
60729
60738
|
));
|
|
@@ -60731,7 +60740,7 @@ function Ide({
|
|
|
60731
60740
|
for (const re of se) {
|
|
60732
60741
|
const ie = A(re);
|
|
60733
60742
|
if (ie) {
|
|
60734
|
-
|
|
60743
|
+
fe = ie;
|
|
60735
60744
|
continue;
|
|
60736
60745
|
}
|
|
60737
60746
|
s || console.warn(
|
|
@@ -60742,7 +60751,7 @@ function Ide({
|
|
|
60742
60751
|
});
|
|
60743
60752
|
}
|
|
60744
60753
|
return [...ue, ...ne];
|
|
60745
|
-
}),
|
|
60754
|
+
}), fe !== null && b(fe);
|
|
60746
60755
|
},
|
|
60747
60756
|
[v, r.maxFiles, A, s, x]
|
|
60748
60757
|
), L = te(
|
|
@@ -60755,14 +60764,14 @@ function Ide({
|
|
|
60755
60764
|
}, []), R = te(
|
|
60756
60765
|
(J) => {
|
|
60757
60766
|
if (J.preventDefault(), J.stopPropagation(), h(!1), r.disabled) return;
|
|
60758
|
-
const
|
|
60759
|
-
|
|
60767
|
+
const fe = Array.from(J.dataTransfer.files);
|
|
60768
|
+
fe.length > 0 && M(fe);
|
|
60760
60769
|
},
|
|
60761
60770
|
[r.disabled, M]
|
|
60762
60771
|
), I = te(
|
|
60763
60772
|
(J) => {
|
|
60764
|
-
const
|
|
60765
|
-
|
|
60773
|
+
const fe = Array.from(J.target.files ?? []);
|
|
60774
|
+
fe.length > 0 && M(fe), f.current && (f.current.value = "");
|
|
60766
60775
|
},
|
|
60767
60776
|
[M]
|
|
60768
60777
|
), k = te(() => {
|
|
@@ -60773,33 +60782,33 @@ function Ide({
|
|
|
60773
60782
|
},
|
|
60774
60783
|
[k]
|
|
60775
60784
|
), P = te(
|
|
60776
|
-
(J,
|
|
60785
|
+
(J, fe) => {
|
|
60777
60786
|
if (g(
|
|
60778
|
-
(ue) => ue.map((X) => X.key === J ? { ...X, value:
|
|
60787
|
+
(ue) => ue.map((X) => X.key === J ? { ...X, value: fe } : X)
|
|
60779
60788
|
), v) {
|
|
60780
60789
|
const ue = Array.isArray(e.value) ? e.value : [];
|
|
60781
|
-
e.onChange([...ue,
|
|
60790
|
+
e.onChange([...ue, fe]);
|
|
60782
60791
|
} else
|
|
60783
|
-
e.onChange(
|
|
60792
|
+
e.onChange(fe);
|
|
60784
60793
|
},
|
|
60785
60794
|
[v, e]
|
|
60786
60795
|
), V = te(
|
|
60787
60796
|
(J) => {
|
|
60788
|
-
const
|
|
60789
|
-
if (g((ue) => ue.filter((X) => X.key !== J)),
|
|
60797
|
+
const fe = p.find((ue) => ue.key === J);
|
|
60798
|
+
if (g((ue) => ue.filter((X) => X.key !== J)), fe?.value)
|
|
60790
60799
|
if (v) {
|
|
60791
60800
|
const ue = Array.isArray(e.value) ? e.value : [];
|
|
60792
|
-
e.onChange(ue.filter((X) => X !==
|
|
60801
|
+
e.onChange(ue.filter((X) => X !== fe.value));
|
|
60793
60802
|
} else
|
|
60794
60803
|
e.onChange(void 0);
|
|
60795
60804
|
else v || e.onChange(void 0);
|
|
60796
60805
|
e.onBlur();
|
|
60797
60806
|
},
|
|
60798
60807
|
[p, v, e]
|
|
60799
|
-
), F = te((J,
|
|
60808
|
+
), F = te((J, fe) => {
|
|
60800
60809
|
g(
|
|
60801
60810
|
(ue) => ue.map(
|
|
60802
|
-
(X) => X.key === J ? { ...X, error:
|
|
60811
|
+
(X) => X.key === J ? { ...X, error: fe } : X
|
|
60803
60812
|
)
|
|
60804
60813
|
);
|
|
60805
60814
|
}, []), H = d ? x.dropzoneActive : r.description ?? (v ? x.dropzoneMultiple : x.dropzone), z = !!(t || y || n === "error"), W = z || n === "warning" || n === "info", Z = Nde({
|
|
@@ -60823,7 +60832,7 @@ function Ide({
|
|
|
60823
60832
|
onClick: k,
|
|
60824
60833
|
onKeyDown: O,
|
|
60825
60834
|
"aria-disabled": r.disabled,
|
|
60826
|
-
className:
|
|
60835
|
+
className: ce(
|
|
60827
60836
|
"flex cursor-pointer flex-col items-center justify-center gap-3 rounded-xl border-[1px] border-dashed px-4 py-10 transition-colors",
|
|
60828
60837
|
Z,
|
|
60829
60838
|
!r.disabled && !d && !W && "hover:border-f1-border-hover hover:bg-f1-background-secondary",
|
|
@@ -60860,12 +60869,12 @@ function Ide({
|
|
|
60860
60869
|
/* @__PURE__ */ w(dt, { icon: Nw, color: "critical" }),
|
|
60861
60870
|
/* @__PURE__ */ w("p", { className: "text-sm font-medium text-f1-foreground-critical", children: y })
|
|
60862
60871
|
] }),
|
|
60863
|
-
p.length > 0 && /* @__PURE__ */ w("div", { className: "flex flex-col", children: p.map((J,
|
|
60864
|
-
const ue = p.length, X = ue === 1 ? "single" :
|
|
60872
|
+
p.length > 0 && /* @__PURE__ */ w("div", { className: "flex flex-col", children: p.map((J, fe) => {
|
|
60873
|
+
const ue = p.length, X = ue === 1 ? "single" : fe === 0 ? "top" : fe === ue - 1 ? "bottom" : "middle";
|
|
60865
60874
|
return /* @__PURE__ */ w(
|
|
60866
60875
|
Mde,
|
|
60867
60876
|
{
|
|
60868
|
-
className:
|
|
60877
|
+
className: fe > 0 ? "-mt-px" : void 0,
|
|
60869
60878
|
entry: J,
|
|
60870
60879
|
useUpload: J.file ? s : void 0,
|
|
60871
60880
|
onUploadComplete: (se) => P(J.key, se),
|
|
@@ -62411,12 +62420,12 @@ function GG({
|
|
|
62411
62420
|
"form",
|
|
62412
62421
|
{
|
|
62413
62422
|
onSubmit: T.handleSubmit(I),
|
|
62414
|
-
className:
|
|
62423
|
+
className: ce("flex flex-col", l),
|
|
62415
62424
|
children: [
|
|
62416
62425
|
/* @__PURE__ */ B(
|
|
62417
62426
|
"div",
|
|
62418
62427
|
{
|
|
62419
|
-
className:
|
|
62428
|
+
className: ce(
|
|
62420
62429
|
"flex items-start justify-between py-5",
|
|
62421
62430
|
"[&>div]:px-0.5 [&>div]:mx-0 [&>div]:border-0"
|
|
62422
62431
|
),
|
|
@@ -62511,7 +62520,7 @@ function ehe({ section: r }) {
|
|
|
62511
62520
|
/* @__PURE__ */ B(
|
|
62512
62521
|
"div",
|
|
62513
62522
|
{
|
|
62514
|
-
className:
|
|
62523
|
+
className: ce(
|
|
62515
62524
|
"flex items-start justify-between py-5",
|
|
62516
62525
|
o && "px-5",
|
|
62517
62526
|
"[&>div]:px-0.5 [&>div]:mx-0 [&>div]:border-0"
|
|
@@ -62721,13 +62730,13 @@ function HG(r) {
|
|
|
62721
62730
|
onClick: () => {
|
|
62722
62731
|
b(S), m(S);
|
|
62723
62732
|
}
|
|
62724
|
-
})), [n, g, p, m]), _ = /* @__PURE__ */ w("div", { className:
|
|
62733
|
+
})), [n, g, p, m]), _ = /* @__PURE__ */ w("div", { className: ce("flex w-full flex-col max-w-content", s), children: g.map((S, C) => {
|
|
62725
62734
|
const T = t[S], D = n?.[S], A = i?.[S], M = D?.submitConfig ?? o;
|
|
62726
62735
|
return /* @__PURE__ */ w(
|
|
62727
62736
|
"div",
|
|
62728
62737
|
{
|
|
62729
62738
|
id: Js(e, S),
|
|
62730
|
-
className:
|
|
62739
|
+
className: ce("scroll-mt-4", C !== 0 && RG),
|
|
62731
62740
|
children: /* @__PURE__ */ w(
|
|
62732
62741
|
GG,
|
|
62733
62742
|
{
|
|
@@ -62957,12 +62966,12 @@ function WG(r) {
|
|
|
62957
62966
|
id: Be,
|
|
62958
62967
|
label: a[Be]?.title ?? Be,
|
|
62959
62968
|
onClick: () => W(Be)
|
|
62960
|
-
})), [a, V, b, W]), J = ae(() => zG(e), [e]),
|
|
62969
|
+
})), [a, V, b, W]), J = ae(() => zG(e), [e]), fe = she[c], ue = ae(
|
|
62961
62970
|
() => IG(i, { errorMap: J }),
|
|
62962
62971
|
[i, J]
|
|
62963
62972
|
), X = wG({
|
|
62964
62973
|
resolver: ue,
|
|
62965
|
-
mode:
|
|
62974
|
+
mode: fe,
|
|
62966
62975
|
defaultValues: o
|
|
62967
62976
|
}), se = oe(h);
|
|
62968
62977
|
_e(() => {
|
|
@@ -63148,7 +63157,7 @@ function WG(r) {
|
|
|
63148
63157
|
const Oe = document.activeElement;
|
|
63149
63158
|
Oe instanceof HTMLElement && (Oe.tagName === "BUTTON" || Oe.tagName === "INPUT" && Oe.type === "submit") || Er(), Lr(Be);
|
|
63150
63159
|
},
|
|
63151
|
-
className:
|
|
63160
|
+
className: ce(
|
|
63152
63161
|
"flex flex-col w-full mx-auto max-w-content",
|
|
63153
63162
|
u,
|
|
63154
63163
|
f?.showSectionsSidepanel && "[&>div:last-child]:pb-6"
|
|
@@ -63179,7 +63188,7 @@ function WG(r) {
|
|
|
63179
63188
|
return /* @__PURE__ */ w(
|
|
63180
63189
|
"div",
|
|
63181
63190
|
{
|
|
63182
|
-
className:
|
|
63191
|
+
className: ce(ht, "has-[>span.hidden]:hidden"),
|
|
63183
63192
|
children: Lt
|
|
63184
63193
|
},
|
|
63185
63194
|
Be.item.field.id
|
|
@@ -63517,7 +63526,7 @@ function yhe() {
|
|
|
63517
63526
|
},
|
|
63518
63527
|
disabled: !c && a !== e,
|
|
63519
63528
|
"aria-current": a === e ? "step" : void 0,
|
|
63520
|
-
className:
|
|
63529
|
+
className: ce(
|
|
63521
63530
|
pd(),
|
|
63522
63531
|
"flex cursor-pointer items-center gap-2 rounded p-2 text-left",
|
|
63523
63532
|
s === "active" && "bg-f1-background-selected",
|
|
@@ -63862,7 +63871,7 @@ function She({
|
|
|
63862
63871
|
h,
|
|
63863
63872
|
F
|
|
63864
63873
|
]
|
|
63865
|
-
), W = oe(null), { showSuccess: Z, ActionBar: J } = XG(),
|
|
63874
|
+
), W = oe(null), { showSuccess: Z, ActionBar: J } = XG(), fe = te(
|
|
63866
63875
|
(ne) => async (re) => {
|
|
63867
63876
|
A.current[ne] = re;
|
|
63868
63877
|
const ie = await b({
|
|
@@ -63934,7 +63943,7 @@ function She({
|
|
|
63934
63943
|
schema: Ue,
|
|
63935
63944
|
sectionConfig: Re,
|
|
63936
63945
|
defaultValues: Ye ?? tt,
|
|
63937
|
-
onSubmit:
|
|
63946
|
+
onSubmit: fe(ie),
|
|
63938
63947
|
submitConfig: x,
|
|
63939
63948
|
errorTriggerMode: _,
|
|
63940
63949
|
sectionForms: L,
|
|
@@ -64104,7 +64113,7 @@ function The({
|
|
|
64104
64113
|
}
|
|
64105
64114
|
f && n?.();
|
|
64106
64115
|
}
|
|
64107
|
-
}, [f, d, n, z]),
|
|
64116
|
+
}, [f, d, n, z]), fe = te(
|
|
64108
64117
|
(ue) => {
|
|
64109
64118
|
const X = A.getValues();
|
|
64110
64119
|
Object.assign(M.current, X), L.current = ue, u?.(ue);
|
|
@@ -64124,7 +64133,7 @@ function The({
|
|
|
64124
64133
|
previousLabel: l,
|
|
64125
64134
|
submitLabel: S,
|
|
64126
64135
|
onSubmit: J,
|
|
64127
|
-
onStepChanged:
|
|
64136
|
+
onStepChanged: fe,
|
|
64128
64137
|
allowStepSkipping: c,
|
|
64129
64138
|
children: ({ currentStep: ue }) => {
|
|
64130
64139
|
const X = vf(
|
|
@@ -64260,7 +64269,7 @@ const Hge = wt(jG), Dhe = ({
|
|
|
64260
64269
|
"aria-expanded": l,
|
|
64261
64270
|
"aria-controls": e,
|
|
64262
64271
|
onClick: u,
|
|
64263
|
-
className:
|
|
64272
|
+
className: ce(
|
|
64264
64273
|
"pointer-events-auto flex items-center gap-3 rounded-sm",
|
|
64265
64274
|
pd()
|
|
64266
64275
|
),
|
|
@@ -64268,7 +64277,7 @@ const Hge = wt(jG), Dhe = ({
|
|
|
64268
64277
|
/* @__PURE__ */ w(
|
|
64269
64278
|
"span",
|
|
64270
64279
|
{
|
|
64271
|
-
className:
|
|
64280
|
+
className: ce(
|
|
64272
64281
|
"text-base font-semibold text-f1-foreground whitespace-nowrap",
|
|
64273
64282
|
t === "completed" && "line-through"
|
|
64274
64283
|
),
|
|
@@ -64290,7 +64299,7 @@ const Hge = wt(jG), Dhe = ({
|
|
|
64290
64299
|
/* @__PURE__ */ w(
|
|
64291
64300
|
"span",
|
|
64292
64301
|
{
|
|
64293
|
-
className:
|
|
64302
|
+
className: ce(
|
|
64294
64303
|
"text-base font-semibold text-f1-foreground whitespace-nowrap",
|
|
64295
64304
|
t === "completed" && "line-through"
|
|
64296
64305
|
),
|
|
@@ -64312,7 +64321,7 @@ const Hge = wt(jG), Dhe = ({
|
|
|
64312
64321
|
"div",
|
|
64313
64322
|
{
|
|
64314
64323
|
"data-testid": "timeline-connector",
|
|
64315
|
-
className:
|
|
64324
|
+
className: ce(
|
|
64316
64325
|
"w-0.5 min-h-2 flex-1",
|
|
64317
64326
|
r === "completed" && "bg-f1-icon-positive",
|
|
64318
64327
|
r === "in-progress" && "bg-f1-border-secondary",
|
|
@@ -64348,7 +64357,7 @@ const Hge = wt(jG), Dhe = ({
|
|
|
64348
64357
|
/* @__PURE__ */ w(
|
|
64349
64358
|
"h4",
|
|
64350
64359
|
{
|
|
64351
|
-
className:
|
|
64360
|
+
className: ce(
|
|
64352
64361
|
"text-base font-semibold text-f1-foreground",
|
|
64353
64362
|
e === "completed" && "line-through"
|
|
64354
64363
|
),
|
|
@@ -64405,7 +64414,7 @@ const Hge = wt(jG), Dhe = ({
|
|
|
64405
64414
|
/* @__PURE__ */ w(
|
|
64406
64415
|
"h4",
|
|
64407
64416
|
{
|
|
64408
|
-
className:
|
|
64417
|
+
className: ce(
|
|
64409
64418
|
"text-base font-semibold text-f1-foreground",
|
|
64410
64419
|
e === "completed" && "line-through"
|
|
64411
64420
|
),
|
|
@@ -64539,7 +64548,7 @@ function zhe({
|
|
|
64539
64548
|
return /* @__PURE__ */ w(
|
|
64540
64549
|
"div",
|
|
64541
64550
|
{
|
|
64542
|
-
className:
|
|
64551
|
+
className: ce(
|
|
64543
64552
|
"flex flex-col justify-center gap-2 py-3",
|
|
64544
64553
|
n === "right" ? "items-end" : "items-start",
|
|
64545
64554
|
t
|
|
@@ -64626,7 +64635,7 @@ function t3({
|
|
|
64626
64635
|
/* @__PURE__ */ w(j3, { asChild: !0, children: /* @__PURE__ */ w(
|
|
64627
64636
|
"button",
|
|
64628
64637
|
{
|
|
64629
|
-
className:
|
|
64638
|
+
className: ce(
|
|
64630
64639
|
pd(),
|
|
64631
64640
|
"flex cursor-pointer items-center rounded-md px-1.5 py-1",
|
|
64632
64641
|
t
|
|
@@ -64651,7 +64660,7 @@ function t3({
|
|
|
64651
64660
|
align: "center",
|
|
64652
64661
|
sideOffset: -28,
|
|
64653
64662
|
container: f,
|
|
64654
|
-
className:
|
|
64663
|
+
className: ce(
|
|
64655
64664
|
$he({ size: u }),
|
|
64656
64665
|
!r && "pt-2",
|
|
64657
64666
|
"scrollbar-macos"
|
|
@@ -65507,7 +65516,7 @@ const Gb = ({
|
|
|
65507
65516
|
Ar,
|
|
65508
65517
|
{
|
|
65509
65518
|
onClick: t,
|
|
65510
|
-
className:
|
|
65519
|
+
className: ce(n ? "text-f1-foreground-critical" : void 0),
|
|
65511
65520
|
children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
|
|
65512
65521
|
/* @__PURE__ */ w(an, { icon: e }),
|
|
65513
65522
|
/* @__PURE__ */ w("span", { className: "flex-1", children: r })
|
|
@@ -65680,7 +65689,7 @@ const Y2 = {
|
|
|
65680
65689
|
"div",
|
|
65681
65690
|
{
|
|
65682
65691
|
id: `co-creation-question-${r}`,
|
|
65683
|
-
className:
|
|
65692
|
+
className: ce(
|
|
65684
65693
|
"group/question relative flex w-full flex-col rounded-xl border border-solid border-f1-border bg-f1-background px-3 py-4",
|
|
65685
65694
|
!S && !f && "hover:border-f1-border-hover",
|
|
65686
65695
|
!f || t ? "gap-4" : "gap-2"
|
|
@@ -65701,7 +65710,7 @@ const Y2 = {
|
|
|
65701
65710
|
placeholder: C("surveyFormBuilder.labels.titlePlaceholder"),
|
|
65702
65711
|
onChange: T,
|
|
65703
65712
|
disabled: P,
|
|
65704
|
-
className:
|
|
65713
|
+
className: ce(
|
|
65705
65714
|
"w-full resize-none px-2 py-1 text-lg font-semibold disabled:text-f1-foreground [&::-webkit-search-cancel-button]:hidden",
|
|
65706
65715
|
V && "cursor-not-allowed"
|
|
65707
65716
|
),
|
|
@@ -65713,7 +65722,7 @@ const Y2 = {
|
|
|
65713
65722
|
i && /* @__PURE__ */ B(
|
|
65714
65723
|
"span",
|
|
65715
65724
|
{
|
|
65716
|
-
className:
|
|
65725
|
+
className: ce(
|
|
65717
65726
|
"text-f1-foreground-critical",
|
|
65718
65727
|
!e && "text-f1-foreground-secondary"
|
|
65719
65728
|
),
|
|
@@ -65728,7 +65737,7 @@ const Y2 = {
|
|
|
65728
65737
|
!c && !f && !g && /* @__PURE__ */ w(
|
|
65729
65738
|
"div",
|
|
65730
65739
|
{
|
|
65731
|
-
className:
|
|
65740
|
+
className: ce(
|
|
65732
65741
|
"opacity-0 group-hover/question:opacity-100",
|
|
65733
65742
|
x && "opacity-100"
|
|
65734
65743
|
),
|
|
@@ -65756,7 +65765,7 @@ const Y2 = {
|
|
|
65756
65765
|
),
|
|
65757
65766
|
onChange: D,
|
|
65758
65767
|
disabled: P,
|
|
65759
|
-
className:
|
|
65768
|
+
className: ce(
|
|
65760
65769
|
"w-full resize-none px-2 text-f1-foreground-secondary placeholder:text-f1-foreground-tertiary disabled:text-f1-foreground-secondary [&::-webkit-search-cancel-button]:hidden",
|
|
65761
65770
|
V && "cursor-not-allowed"
|
|
65762
65771
|
),
|
|
@@ -65775,7 +65784,7 @@ const Y2 = {
|
|
|
65775
65784
|
!c && !f && !p?.locked && /* @__PURE__ */ w(
|
|
65776
65785
|
"div",
|
|
65777
65786
|
{
|
|
65778
|
-
className:
|
|
65787
|
+
className: ce(
|
|
65779
65788
|
"absolute bottom-0 left-1/2 translate-x-[-50%] translate-y-[50%] bg-f1-background opacity-0 group-hover/question:opacity-100",
|
|
65780
65789
|
y && "opacity-100"
|
|
65781
65790
|
),
|
|
@@ -65906,7 +65915,7 @@ const Y2 = {
|
|
|
65906
65915
|
});
|
|
65907
65916
|
},
|
|
65908
65917
|
disabled: !!l,
|
|
65909
|
-
className:
|
|
65918
|
+
className: ce(
|
|
65910
65919
|
"w-full resize-none bg-transparent pt-0.5 pl-2.5 text-f1-foreground-secondary outline-none placeholder:text-f1-foreground-tertiary",
|
|
65911
65920
|
l && "cursor-not-allowed opacity-50"
|
|
65912
65921
|
),
|
|
@@ -66136,7 +66145,7 @@ const Y2 = {
|
|
|
66136
66145
|
"div",
|
|
66137
66146
|
{
|
|
66138
66147
|
"data-testid": `score-edit-option-${o}`,
|
|
66139
|
-
className:
|
|
66148
|
+
className: ce(
|
|
66140
66149
|
"group relative flex h-10 min-w-20 flex-1 items-center justify-center rounded-md border border-solid border-f1-border text-center font-medium",
|
|
66141
66150
|
e && "border-f1-border-selected bg-f1-background-selected-secondary",
|
|
66142
66151
|
i ? "cursor-default" : "cursor-pointer"
|
|
@@ -66238,7 +66247,7 @@ function pve({
|
|
|
66238
66247
|
"div",
|
|
66239
66248
|
{
|
|
66240
66249
|
"aria-hidden": "true",
|
|
66241
|
-
className:
|
|
66250
|
+
className: ce(
|
|
66242
66251
|
"flex h-5 w-5 shrink-0 items-center justify-center rounded-full transition-colors",
|
|
66243
66252
|
r ? "bg-f1-background-selected-bold" : "border border-solid border-f1-border bg-f1-background",
|
|
66244
66253
|
e && "opacity-50"
|
|
@@ -66290,7 +66299,7 @@ const gve = {
|
|
|
66290
66299
|
children: /* @__PURE__ */ B(
|
|
66291
66300
|
"div",
|
|
66292
66301
|
{
|
|
66293
|
-
className:
|
|
66302
|
+
className: ce(
|
|
66294
66303
|
"group relative flex min-h-9 items-center gap-3 rounded-md bg-f1-background py-0.5 pl-2 pr-0.5 hover:bg-f1-background-hover",
|
|
66295
66304
|
(a || o) && "cursor-pointer",
|
|
66296
66305
|
h && "!cursor-grabbing active:!cursor-grabbing"
|
|
@@ -66300,7 +66309,7 @@ const gve = {
|
|
|
66300
66309
|
/* @__PURE__ */ w(
|
|
66301
66310
|
"div",
|
|
66302
66311
|
{
|
|
66303
|
-
className:
|
|
66312
|
+
className: ce(
|
|
66304
66313
|
"block",
|
|
66305
66314
|
A ? "group-hover:hidden" : "cursor-default",
|
|
66306
66315
|
h && "cursor-grabbing [&_button]:cursor-grabbing"
|
|
@@ -66327,7 +66336,7 @@ const gve = {
|
|
|
66327
66336
|
/* @__PURE__ */ w(
|
|
66328
66337
|
"div",
|
|
66329
66338
|
{
|
|
66330
|
-
className:
|
|
66339
|
+
className: ce(
|
|
66331
66340
|
"hidden scale-75 cursor-grab",
|
|
66332
66341
|
M && "active:cursor-grabbing",
|
|
66333
66342
|
A && "group-hover:block",
|
|
@@ -66337,7 +66346,7 @@ const gve = {
|
|
|
66337
66346
|
children: /* @__PURE__ */ w(
|
|
66338
66347
|
"div",
|
|
66339
66348
|
{
|
|
66340
|
-
className:
|
|
66349
|
+
className: ce(
|
|
66341
66350
|
"flex aspect-square scale-90 items-center justify-center",
|
|
66342
66351
|
c === "multi-select" ? "w-6" : "w-5"
|
|
66343
66352
|
),
|
|
@@ -66612,7 +66621,7 @@ const gve = {
|
|
|
66612
66621
|
dragControls: s,
|
|
66613
66622
|
layout: "position",
|
|
66614
66623
|
as: "div",
|
|
66615
|
-
className:
|
|
66624
|
+
className: ce(
|
|
66616
66625
|
t,
|
|
66617
66626
|
d && "invisible h-0 overflow-hidden"
|
|
66618
66627
|
),
|
|
@@ -66620,7 +66629,7 @@ const gve = {
|
|
|
66620
66629
|
/* @__PURE__ */ w("div", { className: "w-full", children: /* @__PURE__ */ B(
|
|
66621
66630
|
"div",
|
|
66622
66631
|
{
|
|
66623
|
-
className:
|
|
66632
|
+
className: ce(
|
|
66624
66633
|
"group/element flex flex-row items-start gap-1",
|
|
66625
66634
|
n && "cursor-grabbing"
|
|
66626
66635
|
),
|
|
@@ -66628,7 +66637,7 @@ const gve = {
|
|
|
66628
66637
|
!l && !u && /* @__PURE__ */ w(
|
|
66629
66638
|
"div",
|
|
66630
66639
|
{
|
|
66631
|
-
className:
|
|
66640
|
+
className: ce(
|
|
66632
66641
|
"mt-2 flex aspect-square w-6 scale-75 items-center opacity-0 hover:opacity-40 group-hover/element:opacity-40",
|
|
66633
66642
|
!n && "cursor-grab",
|
|
66634
66643
|
!g && "cursor-not-allowed"
|
|
@@ -66671,7 +66680,7 @@ const gve = {
|
|
|
66671
66680
|
children: /* @__PURE__ */ B(
|
|
66672
66681
|
"div",
|
|
66673
66682
|
{
|
|
66674
|
-
className:
|
|
66683
|
+
className: ce(
|
|
66675
66684
|
"group/question-element flex flex-row items-start gap-1",
|
|
66676
66685
|
e && "cursor-grabbing"
|
|
66677
66686
|
),
|
|
@@ -66680,7 +66689,7 @@ const gve = {
|
|
|
66680
66689
|
!a && !o && /* @__PURE__ */ w(
|
|
66681
66690
|
"div",
|
|
66682
66691
|
{
|
|
66683
|
-
className:
|
|
66692
|
+
className: ce(
|
|
66684
66693
|
"mt-2 flex aspect-square w-6 scale-75 items-center opacity-0 hover:opacity-40 group-hover/question-element:opacity-40",
|
|
66685
66694
|
!e && "cursor-grab",
|
|
66686
66695
|
!d && "cursor-not-allowed"
|
|
@@ -66771,7 +66780,7 @@ const gve = {
|
|
|
66771
66780
|
placeholder: h("surveyFormBuilder.labels.sectionTitlePlaceholder"),
|
|
66772
66781
|
onChange: p,
|
|
66773
66782
|
disabled: _,
|
|
66774
|
-
className:
|
|
66783
|
+
className: ce(
|
|
66775
66784
|
"w-full text-lg font-semibold disabled:text-f1-foreground [&::-webkit-search-cancel-button]:hidden",
|
|
66776
66785
|
_ && "cursor-not-allowed"
|
|
66777
66786
|
)
|
|
@@ -66780,7 +66789,7 @@ const gve = {
|
|
|
66780
66789
|
!s && !l && !i && /* @__PURE__ */ w(
|
|
66781
66790
|
"div",
|
|
66782
66791
|
{
|
|
66783
|
-
className:
|
|
66792
|
+
className: ce(
|
|
66784
66793
|
"opacity-0 group-hover/section:opacity-100",
|
|
66785
66794
|
f && "opacity-100"
|
|
66786
66795
|
),
|
|
@@ -66819,7 +66828,7 @@ const gve = {
|
|
|
66819
66828
|
onChange: g,
|
|
66820
66829
|
disabled: _,
|
|
66821
66830
|
style: wve,
|
|
66822
|
-
className:
|
|
66831
|
+
className: ce(
|
|
66823
66832
|
"w-full resize-none text-f1-foreground-secondary placeholder:text-f1-foreground-tertiary disabled:text-f1-foreground-secondary [&::-webkit-search-cancel-button]:hidden",
|
|
66824
66833
|
_ && "cursor-not-allowed"
|
|
66825
66834
|
)
|
|
@@ -66870,7 +66879,7 @@ const gve = {
|
|
|
66870
66879
|
/* @__PURE__ */ B(
|
|
66871
66880
|
"div",
|
|
66872
66881
|
{
|
|
66873
|
-
className:
|
|
66882
|
+
className: ce(
|
|
66874
66883
|
"flex flex-row items-start gap-1 w-full",
|
|
66875
66884
|
t && "cursor-grabbing"
|
|
66876
66885
|
),
|
|
@@ -66878,7 +66887,7 @@ const gve = {
|
|
|
66878
66887
|
!s && !l && /* @__PURE__ */ w(
|
|
66879
66888
|
"div",
|
|
66880
66889
|
{
|
|
66881
|
-
className:
|
|
66890
|
+
className: ce(
|
|
66882
66891
|
"mt-2 flex aspect-square w-6 scale-75 items-center opacity-0 hover:opacity-40 group-hover/element:opacity-40",
|
|
66883
66892
|
!t && "cursor-grab",
|
|
66884
66893
|
!d && "cursor-not-allowed"
|
|
@@ -67346,7 +67355,7 @@ function Nve({
|
|
|
67346
67355
|
}
|
|
67347
67356
|
function Ive({ children: r }) {
|
|
67348
67357
|
const { isDragging: e } = uc();
|
|
67349
|
-
return /* @__PURE__ */ w("div", { className:
|
|
67358
|
+
return /* @__PURE__ */ w("div", { className: ce("relative @container", e && "select-none"), children: r });
|
|
67350
67359
|
}
|
|
67351
67360
|
const kve = ({
|
|
67352
67361
|
elements: r,
|
|
@@ -67419,7 +67428,7 @@ const kve = ({
|
|
|
67419
67428
|
/* @__PURE__ */ B(
|
|
67420
67429
|
gu.div,
|
|
67421
67430
|
{
|
|
67422
|
-
className:
|
|
67431
|
+
className: ce(
|
|
67423
67432
|
"flex w-full max-w-[750px] self-center flex-col gap-6",
|
|
67424
67433
|
a && "pointer-events-none"
|
|
67425
67434
|
),
|
|
@@ -67686,7 +67695,7 @@ function Fve({
|
|
|
67686
67695
|
return /* @__PURE__ */ w("div", { className: "grid grid-cols-3 gap-3 md:grid-cols-5", children: i.map((s) => /* @__PURE__ */ w(
|
|
67687
67696
|
"div",
|
|
67688
67697
|
{
|
|
67689
|
-
className:
|
|
67698
|
+
className: ce(
|
|
67690
67699
|
"flex h-10 min-w-20 items-center justify-center rounded-md border border-solid border-f1-border text-center font-medium",
|
|
67691
67700
|
a ? "cursor-not-allowed" : "cursor-pointer",
|
|
67692
67701
|
r === s.value && "border-f1-border-selected bg-f1-background-selected-secondary"
|
|
@@ -67702,7 +67711,7 @@ function zve({ checked: r }) {
|
|
|
67702
67711
|
"div",
|
|
67703
67712
|
{
|
|
67704
67713
|
"aria-hidden": "true",
|
|
67705
|
-
className:
|
|
67714
|
+
className: ce(
|
|
67706
67715
|
"flex h-5 w-5 shrink-0 items-center justify-center rounded-full transition-colors",
|
|
67707
67716
|
r ? "bg-f1-background-selected-bold" : "border border-solid border-f1-border bg-f1-background"
|
|
67708
67717
|
),
|
|
@@ -67731,7 +67740,7 @@ function K2({
|
|
|
67731
67740
|
return /* @__PURE__ */ B(
|
|
67732
67741
|
"div",
|
|
67733
67742
|
{
|
|
67734
|
-
className:
|
|
67743
|
+
className: ce(
|
|
67735
67744
|
"flex min-h-9 w-full items-center gap-3 rounded-md bg-f1-background py-0.5 pl-2 pr-0.5",
|
|
67736
67745
|
s ? "cursor-not-allowed" : "cursor-pointer hover:bg-f1-background-hover"
|
|
67737
67746
|
),
|
|
@@ -68312,10 +68321,10 @@ function Xve({
|
|
|
68312
68321
|
P,
|
|
68313
68322
|
g,
|
|
68314
68323
|
m
|
|
68315
|
-
), Z = _ ? "fullscreen" : x, J = Z === "center" ? "xl" : void 0,
|
|
68324
|
+
), Z = _ ? "fullscreen" : x, J = Z === "center" ? "xl" : void 0, fe = oe(null), ue = te(
|
|
68316
68325
|
(G) => {
|
|
68317
|
-
|
|
68318
|
-
|
|
68326
|
+
fe.current && clearTimeout(fe.current), fe.current = setTimeout(() => {
|
|
68327
|
+
fe.current = null, s();
|
|
68319
68328
|
}, G);
|
|
68320
68329
|
},
|
|
68321
68330
|
[s]
|
|
@@ -68415,7 +68424,7 @@ function Xve({
|
|
|
68415
68424
|
children: /* @__PURE__ */ B(
|
|
68416
68425
|
"div",
|
|
68417
68426
|
{
|
|
68418
|
-
className:
|
|
68427
|
+
className: ce(
|
|
68419
68428
|
"relative flex h-full min-h-full flex-col @container",
|
|
68420
68429
|
k && !_ && "min-h-[600px]"
|
|
68421
68430
|
),
|
|
@@ -68432,7 +68441,7 @@ function Xve({
|
|
|
68432
68441
|
/* @__PURE__ */ B(
|
|
68433
68442
|
"div",
|
|
68434
68443
|
{
|
|
68435
|
-
className:
|
|
68444
|
+
className: ce(
|
|
68436
68445
|
"mx-auto flex w-full flex-1 justify-center flex-col @lg:w-[750px] max-w-full pt-0",
|
|
68437
68446
|
mt && "px-4 py-12"
|
|
68438
68447
|
),
|
|
@@ -68598,7 +68607,7 @@ const Zve = ({ benefits: r }) => /* @__PURE__ */ w("div", { className: "flex fle
|
|
|
68598
68607
|
"div",
|
|
68599
68608
|
{
|
|
68600
68609
|
ref: u,
|
|
68601
|
-
className:
|
|
68610
|
+
className: ce(
|
|
68602
68611
|
"bg-white flex flex-row rounded-xl border border-f1-border-secondary",
|
|
68603
68612
|
i && "shadow-md"
|
|
68604
68613
|
),
|
|
@@ -68884,7 +68893,7 @@ function rpe({
|
|
|
68884
68893
|
children: /* @__PURE__ */ B(
|
|
68885
68894
|
"div",
|
|
68886
68895
|
{
|
|
68887
|
-
className:
|
|
68896
|
+
className: ce(
|
|
68888
68897
|
"flex flex-1 flex-col items-start gap-3 @xs:flex-row @xs:justify-between",
|
|
68889
68898
|
t ? "@xs:items-start" : "@xs:items-center"
|
|
68890
68899
|
),
|
|
@@ -68892,7 +68901,7 @@ function rpe({
|
|
|
68892
68901
|
/* @__PURE__ */ B(
|
|
68893
68902
|
"div",
|
|
68894
68903
|
{
|
|
68895
|
-
className:
|
|
68904
|
+
className: ce(
|
|
68896
68905
|
"flex flex-row gap-2",
|
|
68897
68906
|
t ? "items-start" : "items-center"
|
|
68898
68907
|
),
|
|
@@ -68905,7 +68914,7 @@ function rpe({
|
|
|
68905
68914
|
]
|
|
68906
68915
|
}
|
|
68907
68916
|
),
|
|
68908
|
-
/* @__PURE__ */ w("div", { className:
|
|
68917
|
+
/* @__PURE__ */ w("div", { className: ce("flex flex-shrink-0 @xs:pl-0", r && "pl-8"), children: /* @__PURE__ */ w(
|
|
68909
68918
|
Yw,
|
|
68910
68919
|
{
|
|
68911
68920
|
label: n.label,
|
|
@@ -69070,7 +69079,7 @@ const Jge = wt(npe), eme = ({
|
|
|
69070
69079
|
/* @__PURE__ */ w(
|
|
69071
69080
|
"div",
|
|
69072
69081
|
{
|
|
69073
|
-
className:
|
|
69082
|
+
className: ce(
|
|
69074
69083
|
"overflow-hidden rounded-lg border border-f1-border",
|
|
69075
69084
|
"ring-1 ring-f1-border/50 bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary"
|
|
69076
69085
|
),
|
|
@@ -69105,7 +69114,7 @@ const Jge = wt(npe), eme = ({
|
|
|
69105
69114
|
}, ipe = ({ item: r, isExpanded: e, onToggle: t }) => /* @__PURE__ */ B(
|
|
69106
69115
|
"div",
|
|
69107
69116
|
{
|
|
69108
|
-
className:
|
|
69117
|
+
className: ce(
|
|
69109
69118
|
"flex flex-col rounded-lg px-3 -mx-3 transition-colors duration-200",
|
|
69110
69119
|
e && "bg-f1-background-secondary"
|
|
69111
69120
|
),
|
|
@@ -69125,7 +69134,7 @@ const Jge = wt(npe), eme = ({
|
|
|
69125
69134
|
{
|
|
69126
69135
|
icon: e ? yu : Mk,
|
|
69127
69136
|
size: "sm",
|
|
69128
|
-
className:
|
|
69137
|
+
className: ce(
|
|
69129
69138
|
"transition-transform duration-200",
|
|
69130
69139
|
e && "text-f1-foreground"
|
|
69131
69140
|
)
|
|
@@ -69140,7 +69149,7 @@ const Jge = wt(npe), eme = ({
|
|
|
69140
69149
|
id: `faq-answer-${r.id}`,
|
|
69141
69150
|
role: "region",
|
|
69142
69151
|
"aria-labelledby": `faq-question-${r.id}`,
|
|
69143
|
-
className:
|
|
69152
|
+
className: ce(
|
|
69144
69153
|
"overflow-hidden transition-all duration-200",
|
|
69145
69154
|
e ? "max-h-96 opacity-100" : "max-h-0 opacity-0"
|
|
69146
69155
|
),
|
|
@@ -69841,7 +69850,7 @@ const Epe = (r) => {
|
|
|
69841
69850
|
},
|
|
69842
69851
|
onValueChange: h,
|
|
69843
69852
|
disabled: l,
|
|
69844
|
-
className:
|
|
69853
|
+
className: ce(
|
|
69845
69854
|
"flex flex-wrap items-center justify-center gap-1",
|
|
69846
69855
|
c && "w-full"
|
|
69847
69856
|
),
|
|
@@ -69850,7 +69859,7 @@ const Epe = (r) => {
|
|
|
69850
69859
|
{
|
|
69851
69860
|
value: m.value,
|
|
69852
69861
|
asChild: !0,
|
|
69853
|
-
className:
|
|
69862
|
+
className: ce(c && "flex-1"),
|
|
69854
69863
|
children: /* @__PURE__ */ w(
|
|
69855
69864
|
xH,
|
|
69856
69865
|
{
|
|
@@ -69858,7 +69867,7 @@ const Epe = (r) => {
|
|
|
69858
69867
|
size: t,
|
|
69859
69868
|
withBorder: u,
|
|
69860
69869
|
variant: s,
|
|
69861
|
-
className:
|
|
69870
|
+
className: ce(c && "w-full"),
|
|
69862
69871
|
selected: !!p?.includes(m.value),
|
|
69863
69872
|
onSelectedChange: () => {
|
|
69864
69873
|
}
|
|
@@ -69939,7 +69948,7 @@ function Gm({
|
|
|
69939
69948
|
/* @__PURE__ */ B(
|
|
69940
69949
|
"div",
|
|
69941
69950
|
{
|
|
69942
|
-
className:
|
|
69951
|
+
className: ce(
|
|
69943
69952
|
"flex flex-shrink-0 gap-0.5",
|
|
69944
69953
|
!h && `opacity-100 transition-opacity delay-150 duration-150 focus-within:delay-0 group-hover/dashitem:delay-0 sm:opacity-0 focus-within:sm:opacity-100 group-hover/dashitem:sm:opacity-100 ${p ? "delay-0 sm:opacity-100" : ""}`
|
|
69945
69954
|
),
|
|
@@ -69979,7 +69988,7 @@ function Gm({
|
|
|
69979
69988
|
Ng,
|
|
69980
69989
|
{
|
|
69981
69990
|
align: "end",
|
|
69982
|
-
className:
|
|
69991
|
+
className: ce("py-1", m && "w-96 max-w-[90vw]"),
|
|
69983
69992
|
children: m && D ? /* @__PURE__ */ w("div", { className: "px-3 py-2 text-base text-f1-foreground [&>div]:flex [&>div]:flex-col [&>div]:gap-2", children: /* @__PURE__ */ w(
|
|
69984
69993
|
_H,
|
|
69985
69994
|
{
|
|
@@ -70043,7 +70052,7 @@ function Gm({
|
|
|
70043
70052
|
onClick: () => {
|
|
70044
70053
|
h && v?.(!1), u(c);
|
|
70045
70054
|
},
|
|
70046
|
-
className:
|
|
70055
|
+
className: ce("text-f1-foreground-critical"),
|
|
70047
70056
|
children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
|
|
70048
70057
|
/* @__PURE__ */ w(dt, { icon: Hs }),
|
|
70049
70058
|
/* @__PURE__ */ w("span", { className: "flex-1", children: b.actions.delete })
|
|
@@ -70601,7 +70610,7 @@ function $pe({
|
|
|
70601
70610
|
/* @__PURE__ */ B(
|
|
70602
70611
|
"span",
|
|
70603
70612
|
{
|
|
70604
|
-
className:
|
|
70613
|
+
className: ce(
|
|
70605
70614
|
"whitespace-nowrap text-base font-medium",
|
|
70606
70615
|
c.direction === "up" ? "text-f1-foreground-positive" : "text-f1-foreground-critical"
|
|
70607
70616
|
),
|
|
@@ -70809,7 +70818,7 @@ function qpe({
|
|
|
70809
70818
|
/* @__PURE__ */ w(
|
|
70810
70819
|
"div",
|
|
70811
70820
|
{
|
|
70812
|
-
className:
|
|
70821
|
+
className: ce(
|
|
70813
70822
|
"flex rounded-lg transition-colors duration-200",
|
|
70814
70823
|
O && "bg-f1-background-hover"
|
|
70815
70824
|
),
|
|
@@ -70898,7 +70907,7 @@ function Zpe({
|
|
|
70898
70907
|
onDragEnd: i ? () => {
|
|
70899
70908
|
l.current = !1, o();
|
|
70900
70909
|
} : void 0,
|
|
70901
|
-
className:
|
|
70910
|
+
className: ce(
|
|
70902
70911
|
"group/rowitem relative min-w-0 flex-1 transition-opacity duration-150",
|
|
70903
70912
|
e && "opacity-40 scale-[0.97]"
|
|
70904
70913
|
),
|
|
@@ -70935,7 +70944,7 @@ function ok({
|
|
|
70935
70944
|
return /* @__PURE__ */ w(
|
|
70936
70945
|
"div",
|
|
70937
70946
|
{
|
|
70938
|
-
className:
|
|
70947
|
+
className: ce(
|
|
70939
70948
|
"relative flex items-center justify-center transition-all",
|
|
70940
70949
|
e ? "py-4" : ""
|
|
70941
70950
|
),
|
|
@@ -70945,7 +70954,7 @@ function ok({
|
|
|
70945
70954
|
children: /* @__PURE__ */ w(
|
|
70946
70955
|
"div",
|
|
70947
70956
|
{
|
|
70948
|
-
className:
|
|
70957
|
+
className: ce(
|
|
70949
70958
|
"absolute inset-x-0 top-1/2 h-1 -translate-y-1/2 rounded-full transition-colors",
|
|
70950
70959
|
r ? "bg-f1-background-secondary-hover" : "bg-transparent"
|
|
70951
70960
|
)
|
|
@@ -71246,7 +71255,7 @@ const b3 = ({
|
|
|
71246
71255
|
return /* @__PURE__ */ B(
|
|
71247
71256
|
"div",
|
|
71248
71257
|
{
|
|
71249
|
-
className:
|
|
71258
|
+
className: ce("flex flex-col gap-5 pb-10", D && "h-full pb-0"),
|
|
71250
71259
|
children: [
|
|
71251
71260
|
(r || d || o || f) && /* @__PURE__ */ B("div", { className: "flex items-center justify-between gap-4 px-5", children: [
|
|
71252
71261
|
/* @__PURE__ */ w("div", { className: "w-full", children: r ? /* @__PURE__ */ w(
|
|
@@ -71279,7 +71288,7 @@ const b3 = ({
|
|
|
71279
71288
|
/* @__PURE__ */ w(
|
|
71280
71289
|
"div",
|
|
71281
71290
|
{
|
|
71282
|
-
className:
|
|
71291
|
+
className: ce(
|
|
71283
71292
|
"px-5",
|
|
71284
71293
|
D && "flex min-h-0 flex-1 flex-col pb-5"
|
|
71285
71294
|
),
|
|
@@ -71319,7 +71328,7 @@ const ame = Ur(
|
|
|
71319
71328
|
{
|
|
71320
71329
|
ref: t,
|
|
71321
71330
|
id: "f0-layout",
|
|
71322
|
-
className:
|
|
71331
|
+
className: ce({
|
|
71323
71332
|
"flex h-screen w-screen flex-col bg-[#F5F6F8] dark:bg-[#0D1625]": e
|
|
71324
71333
|
}),
|
|
71325
71334
|
children: r
|