@factorialco/f0-react 1.210.0 → 1.210.2
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/experimental.css +1 -1
- package/dist/experimental.d.ts +3 -1
- package/dist/experimental.js +610 -595
- package/package.json +1 -1
package/dist/experimental.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aN as S5, aO as N5, aP as iy, aQ as ul, aR as gC, aS as yC, aT as vC, aU as Ku, aV as bC, aW as kC, aX as xC, aY as ce, aZ as L5, a_ as wC, a$ as _C, b0 as CC, b1 as to, b2 as Ia, b3 as Hc, b4 as E5, b5 as Vl, b6 as SC, b7 as Gu, b8 as NC, b9 as LC, ba as Hl, bb as EC, bc as MC, bd as TC, be as ry, bf as AC, bg as sy, bh as OC, bi as M5, bj as T5, bk as IC, bl as Ro, q as Kt, a as
|
|
1
|
+
import { aN as S5, aO as N5, aP as iy, aQ as ul, aR as gC, aS as yC, aT as vC, aU as Ku, aV as bC, aW as kC, aX as xC, aY as ce, aZ as L5, a_ as wC, a$ as _C, b0 as CC, b1 as to, b2 as Ia, b3 as Hc, b4 as E5, b5 as Vl, b6 as SC, b7 as Gu, b8 as NC, b9 as LC, ba as Hl, bb as EC, bc as MC, bd as TC, be as ry, bf as AC, bg as sy, bh as OC, bi as M5, bj as T5, bk as IC, bl as Ro, q as Kt, a as M, bm as Ir, P as rt, bn as Xe, s as ye, j as mt, y as ue, bo as wf, bp as A5, bq as Ai, L as Gi, br as He, $ as O5, w as Zi, x as pi, bs as Ze, bt as I5, c as _f, bu as Po, bv as hl, bw as tn, bx as Xn, aJ as Ts, by as oy, bz as Vr, bA as Wc, bB as qc, bC as DC, n as Cf, bD as D5, bE as ie, bF as nr, bG as Ct, f as RC, bH as PC, bI as FC, bJ as zC, b as ay, bK as BC, bL as $C, bM as Ln, ac as Uc, az as ly, bN as As, bO as R5, bP as hm, bQ as jC, bR as pm, bS as VC, bT as HC, bU as P5, bV as WC, bW as mr, bX as qC, bY as UC, bZ as KC, b_ as GC, b$ as JC, c0 as F5, c1 as YC, c2 as cy, c3 as ZC, S as Qn, t as mm, c4 as z5, at as XC, av as B5, aq as $5, aw as Sf, c5 as gm, a0 as pl, r as ir, c6 as QC, c7 as ym, a9 as Oi, c8 as un, c9 as Nf, ca as Da, cb as eS, cc as j5, cd as tS, h as Lf, i as Ef, k as Mf, ce as vm, cf as nS, cg as V5, C as Pn, ch as H5, ci as iS, cj as rS, G as sS, ck as W5, cl as xh, cm as q5, a6 as Kc, cn as oS, co as aS, cp as lS, cq as cS, cr as dS, aK as Tf, a3 as wh, F as bm, aM as fS, cs as Jn, aL as uS, ct as U5, cu as _n, cv as hS, cw as pS, cx as Cn, cy as Gc, cz as K5, cA as mS, ah as Af, a7 as km, am as vs, cB as xm, cC as wm, cD as G5, cE as gS, aa as yS, a2 as J5, cF as vS, cG as Y5, cH as bS, cI as kS, cJ as xS, D as Z5, u as X5, cK as dy, cL as wS, cM as _S, cN as Of, K as CS, m as SS, cO as NS, cP as LS, cQ as ES, cR as MS, cS as TS, cT as AS, cU as OS, cV as IS, cW as DS, cX as RS, cY as PS, cZ as FS, p as zS, ao as BS, c_ as Q5, c$ as If, v as _h, d0 as fy, Z as e6, d1 as ml, d2 as t6, d3 as n6, d4 as $S, a1 as Fo, a4 as i6, I as jS, d5 as wt, d6 as uy, d7 as VS, d8 as HS, d9 as WS, da as Ju, db as qS, dc as US, ar as KS, ay as Df, z as Rf, dd as Pf, de as Ff, E as zf, ax as r6, ab as s6, df as GS, aD as JS, dg as Ch, dh as YS, di as Jc, dj as ZS, as as Yc, aE as XS, dk as QS, aC as o6, dl as eN, aB as tN, aA as nN, dm as iN, dn as rN, dp as sN, dq as oN, ad as aN, dr as lN, ds as cN, dt as dN, a5 as fN, du as gl, dv as _m, dw as Cm, dx as yl, dy as a6, dz as uN, dA as l6, dB as hN, aF as c6, dC as d6, ae as f6, dD as pN, dE as mN, dF as gN, H as yN, A as vN, B as bN, e as kN, g as xN, V as wN, d as _N, dG as hy, dH as CN, dI as SN, dJ as NN, dK as u6, dL as LN } from "./hooks-CXJxTgfZ.js";
|
|
2
2
|
import { J as Noe, dN as Loe, a8 as Eoe, dM as Moe } from "./hooks-CXJxTgfZ.js";
|
|
3
3
|
import { jsxs as b, jsx as f, Fragment as Te } from "react/jsx-runtime";
|
|
4
4
|
import * as F from "react";
|
|
@@ -2869,57 +2869,57 @@ const EM = Ro("TriangleAlert", [
|
|
|
2869
2869
|
base: "inline-flex items-center gap-1 text-base font-medium transition-colors",
|
|
2870
2870
|
variants: {
|
|
2871
2871
|
variant: {
|
|
2872
|
-
default:
|
|
2872
|
+
default: M(
|
|
2873
2873
|
dr,
|
|
2874
2874
|
"bg-f1-background-accent-bold text-f1-foreground-inverse shadow-[0_2px_6px_-1px_rgba(13,22,37,.10),inset_0_-2px_4px_rgba(13,22,37,.08)] after:pointer-events-none after:absolute after:inset-0 after:rounded after:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.25)] after:content-[''] hover:bg-f1-background-accent-bold-hover",
|
|
2875
2875
|
"active:bg-f1-background-accent-bold-hover active:shadow-[0_-2px_6px_-1px_rgba(13,22,37,.10)] active:after:shadow-[inset_0_3px_6px_0_rgba(13,22,37,.2)]",
|
|
2876
2876
|
"data-[pressed=true]:bg-f1-background-accent-bold-hover data-[pressed=true]:shadow-[0_-2px_6px_-1px_rgba(13,22,37,.10)] data-[pressed=true]:after:shadow-[inset_0_3px_6px_0_rgba(13,22,37,.2)]"
|
|
2877
2877
|
),
|
|
2878
|
-
outline:
|
|
2878
|
+
outline: M(
|
|
2879
2879
|
dr,
|
|
2880
2880
|
"bg-f1-background-inverse-secondary text-f1-foreground after:pointer-events-none after:absolute after:inset-0 after:rounded after:ring-1 after:ring-inset after:ring-f1-border after:transition-all after:content-[''] hover:bg-f1-background-tertiary hover:after:opacity-70 hover:after:ring-f1-border-hover",
|
|
2881
2881
|
"active:bg-f1-background-tertiary active:shadow-[inset_0_2px_6px_0_rgba(13,22,37,.15)] active:after:opacity-70 active:after:ring-f1-border-hover",
|
|
2882
2882
|
"data-[pressed=true]:bg-f1-background-tertiary data-[pressed=true]:shadow-[inset_0_2px_6px_0_rgba(13,22,37,.15)] data-[pressed=true]:after:opacity-70 data-[pressed=true]:after:ring-f1-border-hover"
|
|
2883
2883
|
),
|
|
2884
|
-
neutral:
|
|
2884
|
+
neutral: M(
|
|
2885
2885
|
dr,
|
|
2886
2886
|
"bg-f1-background-secondary text-f1-foreground hover:bg-f1-background-secondary-hover",
|
|
2887
2887
|
"active:bg-f1-background-secondary-hover active:shadow-[inset_0_2px_8px_0_rgba(13,22,37,.16)]",
|
|
2888
2888
|
"data-[pressed=true]:bg-f1-background-secondary-hover data-[pressed=true]:shadow-[inset_0_2px_8px_0_rgba(13,22,37,.16)]"
|
|
2889
2889
|
),
|
|
2890
|
-
critical:
|
|
2890
|
+
critical: M(
|
|
2891
2891
|
dr,
|
|
2892
2892
|
"bg-f1-background-secondary text-f1-foreground-critical after:pointer-events-none after:absolute after:inset-0 after:rounded after:ring-1 after:ring-inset after:ring-f1-border after:transition-all after:content-[''] hover:bg-f1-background-critical-bold hover:text-f1-foreground-inverse hover:after:ring-transparent dark:bg-transparent dark:hover:bg-f1-background-critical-bold",
|
|
2893
2893
|
"active:bg-f1-background-critical-bold active:text-f1-foreground-inverse active:after:shadow-[inset_0_3px_6px_0_rgba(13,22,37,.2)] active:after:ring-transparent",
|
|
2894
2894
|
"data-[pressed=true]:bg-f1-background-critical-bold data-[pressed=true]:text-f1-foreground-inverse data-[pressed=true]:after:shadow-[inset_0_3px_6px_0_rgba(13,22,37,.2)] data-[pressed=true]:after:ring-transparent"
|
|
2895
2895
|
),
|
|
2896
|
-
ghost:
|
|
2896
|
+
ghost: M(
|
|
2897
2897
|
dr,
|
|
2898
2898
|
"bg-transparent text-f1-foreground shadow-none hover:bg-f1-background-secondary-hover hover:shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_-2px_4px_rgba(13,22,37,.04)]",
|
|
2899
2899
|
"active:bg-f1-background-secondary-hover active:shadow-[inset_0_2px_4px_0_rgba(13,22,37,.1)]",
|
|
2900
2900
|
"data-[pressed=true]:bg-f1-background-secondary-hover data-[pressed=true]:shadow-[inset_0_2px_4px_0_rgba(13,22,37,.1)]"
|
|
2901
2901
|
),
|
|
2902
|
-
promote:
|
|
2902
|
+
promote: M(
|
|
2903
2903
|
dr,
|
|
2904
2904
|
"bg-f1-background-promote text-f1-foreground shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_-2px_4px_rgba(245,165,28,.15)] after:pointer-events-none after:absolute after:inset-0 after:rounded after:ring-1 after:ring-inset after:ring-f1-border-promote after:transition-all after:content-[''] hover:bg-f1-background-promote-hover dark:shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_-2px_4px_rgba(13,22,37,.30)]",
|
|
2905
2905
|
"active:shadow-[inset_0_2px_4px_0_rgba(206,139,24,.5)]",
|
|
2906
2906
|
"data-[pressed=true]:shadow-[inset_0_2px_4px_0_rgba(206,139,24,.5)]"
|
|
2907
2907
|
),
|
|
2908
|
-
outlinePromote:
|
|
2908
|
+
outlinePromote: M(
|
|
2909
2909
|
dr,
|
|
2910
2910
|
"bg-f1-background-inverse-secondary text-f1-foreground after:pointer-events-none after:absolute after:inset-0 after:rounded after:ring-1 after:ring-inset after:ring-f1-border after:transition-all after:content-[''] hover:bg-f1-background-tertiary hover:after:opacity-70 hover:after:ring-f1-border-hover",
|
|
2911
2911
|
"active:bg-f1-background-tertiary active:shadow-[inset_0_2px_6px_0_rgba(13,22,37,.15)] active:after:opacity-70 active:after:ring-f1-border-hover",
|
|
2912
2912
|
"data-[pressed=true]:bg-f1-background-tertiary data-[pressed=true]:shadow-[inset_0_2px_6px_0_rgba(13,22,37,.15)] data-[pressed=true]:after:opacity-70 data-[pressed=true]:after:ring-f1-border-hover"
|
|
2913
2913
|
),
|
|
2914
|
-
link:
|
|
2914
|
+
link: M(
|
|
2915
2915
|
My,
|
|
2916
2916
|
"text-f1-foreground underline decoration-f1-border-hover decoration-1 underline-offset-[5px] visited:text-f1-foreground hover:text-f1-foreground hover:decoration-f1-border-bold active:text-f1-foreground"
|
|
2917
2917
|
),
|
|
2918
|
-
mention:
|
|
2918
|
+
mention: M(
|
|
2919
2919
|
My,
|
|
2920
2920
|
"bg-f1-background-accent !px-1.5 font-medium text-f1-foreground-accent"
|
|
2921
2921
|
),
|
|
2922
|
-
selected:
|
|
2922
|
+
selected: M(
|
|
2923
2923
|
dr,
|
|
2924
2924
|
"bg-f1-background-selected text-f1-icon-selected shadow-none hover:bg-f1-background-selected-hover hover:text-f1-icon-selected-hover hover:shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_-2px_4px_rgba(13,22,37,.04)]",
|
|
2925
2925
|
"active:bg-f1-background-selected-hover active:shadow-[inset_0_2px_4px_0_rgba(13,22,37,.1)]",
|
|
@@ -3112,7 +3112,7 @@ const Hf = U(
|
|
|
3112
3112
|
onPressedChange: t,
|
|
3113
3113
|
disabled: i,
|
|
3114
3114
|
"aria-label": n,
|
|
3115
|
-
className:
|
|
3115
|
+
className: M(
|
|
3116
3116
|
"aspect-square px-0",
|
|
3117
3117
|
mt(),
|
|
3118
3118
|
Tm({ size: s }),
|
|
@@ -3228,7 +3228,7 @@ q6.displayName = "CheckCircleAnimated";
|
|
|
3228
3228
|
const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
3229
3229
|
"div",
|
|
3230
3230
|
{
|
|
3231
|
-
className:
|
|
3231
|
+
className: M(
|
|
3232
3232
|
"flex w-full gap-1 text-f1-foreground-secondary",
|
|
3233
3233
|
n ? "items-start" : "items-center"
|
|
3234
3234
|
),
|
|
@@ -3272,12 +3272,12 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3272
3272
|
]
|
|
3273
3273
|
}
|
|
3274
3274
|
), PM = {
|
|
3275
|
-
p: ({ children: t, ...e }) => /* @__PURE__ */ f("p", { ...e, className:
|
|
3275
|
+
p: ({ children: t, ...e }) => /* @__PURE__ */ f("p", { ...e, className: M("text-base font-normal", e.className), children: t }),
|
|
3276
3276
|
h1: ({ children: t, ...e }) => /* @__PURE__ */ f(
|
|
3277
3277
|
"h1",
|
|
3278
3278
|
{
|
|
3279
3279
|
...e,
|
|
3280
|
-
className:
|
|
3280
|
+
className: M(
|
|
3281
3281
|
"mb-2.5 mt-4 text-2xl font-medium first:mt-0 last:mb-0",
|
|
3282
3282
|
e.className
|
|
3283
3283
|
),
|
|
@@ -3288,7 +3288,7 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3288
3288
|
"h2",
|
|
3289
3289
|
{
|
|
3290
3290
|
...e,
|
|
3291
|
-
className:
|
|
3291
|
+
className: M(
|
|
3292
3292
|
"mb-2.5 mt-4 text-lg font-medium leading-6 first:mt-0 last:mb-0",
|
|
3293
3293
|
e.className
|
|
3294
3294
|
),
|
|
@@ -3299,7 +3299,7 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3299
3299
|
"h3",
|
|
3300
3300
|
{
|
|
3301
3301
|
...e,
|
|
3302
|
-
className:
|
|
3302
|
+
className: M(
|
|
3303
3303
|
"mb-2 mt-3.5 text-base font-semibold first:mt-0 last:mb-0",
|
|
3304
3304
|
e.className
|
|
3305
3305
|
),
|
|
@@ -3310,14 +3310,14 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3310
3310
|
children: t,
|
|
3311
3311
|
...e
|
|
3312
3312
|
}) => /* @__PURE__ */ f(Gi, { ...e, variant: "link", children: t }),
|
|
3313
|
-
strong: ({ children: t, ...e }) => /* @__PURE__ */ f("strong", { ...e, className:
|
|
3314
|
-
em: ({ children: t, ...e }) => /* @__PURE__ */ f("em", { ...e, className:
|
|
3315
|
-
li: ({ children: t, ...e }) => /* @__PURE__ */ f("li", { ...e, className:
|
|
3313
|
+
strong: ({ children: t, ...e }) => /* @__PURE__ */ f("strong", { ...e, className: M("font-semibold", e.className), children: t }),
|
|
3314
|
+
em: ({ children: t, ...e }) => /* @__PURE__ */ f("em", { ...e, className: M("italic", e.className), children: t }),
|
|
3315
|
+
li: ({ children: t, ...e }) => /* @__PURE__ */ f("li", { ...e, className: M("mb-2", e.className), children: t }),
|
|
3316
3316
|
pre: ({ children: t, ...e }) => /* @__PURE__ */ f(
|
|
3317
3317
|
"pre",
|
|
3318
3318
|
{
|
|
3319
3319
|
...e,
|
|
3320
|
-
className:
|
|
3320
|
+
className: M(
|
|
3321
3321
|
"relative mx-0 my-4 overflow-x-auto whitespace-pre-wrap rounded-md bg-f1-background-secondary p-2",
|
|
3322
3322
|
e.className
|
|
3323
3323
|
),
|
|
@@ -3331,7 +3331,7 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3331
3331
|
"blockquote",
|
|
3332
3332
|
{
|
|
3333
3333
|
...e,
|
|
3334
|
-
className:
|
|
3334
|
+
className: M(
|
|
3335
3335
|
"m-0 mb-2.5 border-0 border-l-4 border-solid border-f1-border pl-4",
|
|
3336
3336
|
e.className
|
|
3337
3337
|
),
|
|
@@ -3342,14 +3342,14 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3342
3342
|
"hr",
|
|
3343
3343
|
{
|
|
3344
3344
|
...t,
|
|
3345
|
-
className:
|
|
3345
|
+
className: M("my-3 border-0 border-t border-f1-border", t.className)
|
|
3346
3346
|
}
|
|
3347
3347
|
),
|
|
3348
3348
|
ul: ({ children: t, ...e }) => /* @__PURE__ */ f(
|
|
3349
3349
|
"ul",
|
|
3350
3350
|
{
|
|
3351
3351
|
...e,
|
|
3352
|
-
className:
|
|
3352
|
+
className: M(
|
|
3353
3353
|
"list-disc pl-5 [&>li>ol]:mt-2 [&>li>ul]:mt-2",
|
|
3354
3354
|
e.className
|
|
3355
3355
|
),
|
|
@@ -3360,7 +3360,7 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3360
3360
|
"ol",
|
|
3361
3361
|
{
|
|
3362
3362
|
...e,
|
|
3363
|
-
className:
|
|
3363
|
+
className: M(
|
|
3364
3364
|
"list-decimal pl-5 [&>li>ol]:mt-2 [&>li>ul]:mt-2",
|
|
3365
3365
|
e.className
|
|
3366
3366
|
),
|
|
@@ -3371,7 +3371,7 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3371
3371
|
"table",
|
|
3372
3372
|
{
|
|
3373
3373
|
...e,
|
|
3374
|
-
className:
|
|
3374
|
+
className: M(
|
|
3375
3375
|
"mb-2 w-full border-separate border-spacing-0 overflow-hidden rounded-md border border-solid border-f1-border-secondary",
|
|
3376
3376
|
e.className
|
|
3377
3377
|
),
|
|
@@ -3385,7 +3385,7 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3385
3385
|
"th",
|
|
3386
3386
|
{
|
|
3387
3387
|
...e,
|
|
3388
|
-
className:
|
|
3388
|
+
className: M(
|
|
3389
3389
|
"border-0 border-b border-solid border-f1-border-secondary px-3 py-2 text-left font-medium text-f1-foreground-secondary",
|
|
3390
3390
|
e.className
|
|
3391
3391
|
),
|
|
@@ -3399,7 +3399,7 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3399
3399
|
"td",
|
|
3400
3400
|
{
|
|
3401
3401
|
...e,
|
|
3402
|
-
className:
|
|
3402
|
+
className: M(
|
|
3403
3403
|
"border-0 border-b border-solid border-f1-border-secondary px-3 py-2",
|
|
3404
3404
|
e.className
|
|
3405
3405
|
),
|
|
@@ -3420,7 +3420,7 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3420
3420
|
...n,
|
|
3421
3421
|
src: t,
|
|
3422
3422
|
alt: e,
|
|
3423
|
-
className:
|
|
3423
|
+
className: M("max-w-full rounded-md", n.className)
|
|
3424
3424
|
}
|
|
3425
3425
|
),
|
|
3426
3426
|
/* @__PURE__ */ f("div", { className: "absolute right-2 top-2 rounded bg-f1-background-inverse-secondary", children: /* @__PURE__ */ f(
|
|
@@ -3480,7 +3480,7 @@ const RM = ({ title: t, status: e, inGroup: n }) => /* @__PURE__ */ b(
|
|
|
3480
3480
|
/* @__PURE__ */ f(
|
|
3481
3481
|
"div",
|
|
3482
3482
|
{
|
|
3483
|
-
className:
|
|
3483
|
+
className: M(
|
|
3484
3484
|
// add paddings to make the area bigger and avoid flickering when the mouse is over the actions
|
|
3485
3485
|
"invisible absolute left-0 top-full py-1 pr-4 focus-within:visible",
|
|
3486
3486
|
m && !t && "visible"
|
|
@@ -3601,7 +3601,7 @@ const jM = (t) => {
|
|
|
3601
3601
|
return /* @__PURE__ */ b(
|
|
3602
3602
|
"header",
|
|
3603
3603
|
{
|
|
3604
|
-
className:
|
|
3604
|
+
className: M(
|
|
3605
3605
|
"flex justify-between border-0 border-solid border-f1-border-secondary p-3"
|
|
3606
3606
|
),
|
|
3607
3607
|
children: [
|
|
@@ -3641,7 +3641,7 @@ const jM = (t) => {
|
|
|
3641
3641
|
layout: !0,
|
|
3642
3642
|
"aria-busy": t,
|
|
3643
3643
|
ref: a,
|
|
3644
|
-
className:
|
|
3644
|
+
className: M(
|
|
3645
3645
|
"relative isolate m-3 mt-2 flex flex-col gap-3 rounded-lg border border-solid border-f1-border hover:cursor-text",
|
|
3646
3646
|
"after:pointer-events-none after:absolute after:inset-0.5 after:z-[-2] after:rounded-[inherit] after:bg-f1-foreground-secondary after:opacity-0 after:blur-[5px] after:content-['']",
|
|
3647
3647
|
"from-[#E55619] via-[#A1ADE5] to-[#E51943] after:scale-90 after:bg-[conic-gradient(from_var(--gradient-angle),var(--tw-gradient-stops))]",
|
|
@@ -3687,7 +3687,7 @@ const jM = (t) => {
|
|
|
3687
3687
|
animate: { opacity: 0.5 },
|
|
3688
3688
|
exit: { opacity: 0 },
|
|
3689
3689
|
transition: { duration: 0.2, ease: "easeOut" },
|
|
3690
|
-
className:
|
|
3690
|
+
className: M(
|
|
3691
3691
|
"pointer-events-none absolute inset-x-0 z-10 h-3 rounded-t-xl after:absolute after:inset-x-0 after:h-px after:bg-f1-background-inverse after:opacity-[0.04] after:content-['']",
|
|
3692
3692
|
"-top-px bg-gradient-to-b from-f1-background-selected to-transparent after:-top-px"
|
|
3693
3693
|
)
|
|
@@ -3705,7 +3705,7 @@ const jM = (t) => {
|
|
|
3705
3705
|
},
|
|
3706
3706
|
onKeyDown: h,
|
|
3707
3707
|
placeholder: c.ai.inputPlaceholder,
|
|
3708
|
-
className:
|
|
3708
|
+
className: M(
|
|
3709
3709
|
"col-start-1 row-start-1",
|
|
3710
3710
|
"mx-3 mb-0 max-h-36 flex-1 resize-none overflow-y-scroll outline-none transition-all",
|
|
3711
3711
|
"bg-f1-background text-f1-foreground placeholder:text-f1-foreground-secondary",
|
|
@@ -3854,7 +3854,7 @@ const jM = (t) => {
|
|
|
3854
3854
|
return /* @__PURE__ */ f(
|
|
3855
3855
|
"div",
|
|
3856
3856
|
{
|
|
3857
|
-
className:
|
|
3857
|
+
className: M(qM({ size: e }), h),
|
|
3858
3858
|
style: {
|
|
3859
3859
|
background: "transparent",
|
|
3860
3860
|
perspective: t ? "10px" : void 0,
|
|
@@ -4141,7 +4141,7 @@ const Fm = YM, ZM = Y6, zm = Z6, XM = ({ messages: t }) => {
|
|
|
4141
4141
|
ce.div,
|
|
4142
4142
|
{
|
|
4143
4143
|
layout: !0,
|
|
4144
|
-
className:
|
|
4144
|
+
className: M(
|
|
4145
4145
|
"scrollbar-macos relative isolate flex-1 px-4 pt-3",
|
|
4146
4146
|
"overflow-y-scroll"
|
|
4147
4147
|
),
|
|
@@ -4218,8 +4218,8 @@ const Fm = YM, ZM = Y6, zm = Z6, XM = ({ messages: t }) => {
|
|
|
4218
4218
|
},
|
|
4219
4219
|
"welcome"
|
|
4220
4220
|
) }),
|
|
4221
|
-
L.map((C,
|
|
4222
|
-
const T =
|
|
4221
|
+
L.map((C, E) => {
|
|
4222
|
+
const T = E === L.length - 1;
|
|
4223
4223
|
return /* @__PURE__ */ f(
|
|
4224
4224
|
"div",
|
|
4225
4225
|
{
|
|
@@ -4232,7 +4232,7 @@ const Fm = YM, ZM = Y6, zm = Z6, XM = ({ messages: t }) => {
|
|
|
4232
4232
|
) : void 0
|
|
4233
4233
|
},
|
|
4234
4234
|
children: C.map((D, R) => {
|
|
4235
|
-
const z =
|
|
4235
|
+
const z = E === L.length - 1 && R === C.length - 1;
|
|
4236
4236
|
return Array.isArray(D) && !z ? /* @__PURE__ */ f(
|
|
4237
4237
|
XM,
|
|
4238
4238
|
{
|
|
@@ -4242,7 +4242,7 @@ const Fm = YM, ZM = Y6, zm = Z6, XM = ({ messages: t }) => {
|
|
|
4242
4242
|
RenderMessage: n,
|
|
4243
4243
|
AssistantMessage: i
|
|
4244
4244
|
},
|
|
4245
|
-
`${
|
|
4245
|
+
`${E}-${R}`
|
|
4246
4246
|
) : /* @__PURE__ */ f(
|
|
4247
4247
|
n,
|
|
4248
4248
|
{
|
|
@@ -4259,11 +4259,11 @@ const Fm = YM, ZM = Y6, zm = Z6, XM = ({ messages: t }) => {
|
|
|
4259
4259
|
onThumbsDown: c,
|
|
4260
4260
|
markdownTagRenderers: d
|
|
4261
4261
|
},
|
|
4262
|
-
`${
|
|
4262
|
+
`${E}-${R}`
|
|
4263
4263
|
);
|
|
4264
4264
|
})
|
|
4265
4265
|
},
|
|
4266
|
-
`turn-${
|
|
4266
|
+
`turn-${E}`
|
|
4267
4267
|
);
|
|
4268
4268
|
}),
|
|
4269
4269
|
p
|
|
@@ -4465,7 +4465,7 @@ const oT = ({ message: t, ImageRenderer: e }) => {
|
|
|
4465
4465
|
}), t ? /* @__PURE__ */ f(
|
|
4466
4466
|
FN,
|
|
4467
4467
|
{
|
|
4468
|
-
className:
|
|
4468
|
+
className: M("h-full", e && "py-1 xs:pr-1"),
|
|
4469
4469
|
defaultOpen: e,
|
|
4470
4470
|
onSetOpen: (i) => {
|
|
4471
4471
|
n(i);
|
|
@@ -8421,9 +8421,9 @@ function HI(t, e, n) {
|
|
|
8421
8421
|
let L = 0;
|
|
8422
8422
|
return C;
|
|
8423
8423
|
function C(z) {
|
|
8424
|
-
return _.enter("lineEnding"), _.consume(z), _.exit("lineEnding"),
|
|
8424
|
+
return _.enter("lineEnding"), _.consume(z), _.exit("lineEnding"), E;
|
|
8425
8425
|
}
|
|
8426
|
-
function
|
|
8426
|
+
function E(z) {
|
|
8427
8427
|
return _.enter("codeFencedFence"), Ge(z) ? Qe(_, T, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(z) : T(z);
|
|
8428
8428
|
}
|
|
8429
8429
|
function T(z) {
|
|
@@ -9135,10 +9135,10 @@ function bD(t, e, n) {
|
|
|
9135
9135
|
return I === 47 || I === 62 || Ge(I) ? x(I) : n(I);
|
|
9136
9136
|
}
|
|
9137
9137
|
function C(I) {
|
|
9138
|
-
return I === 62 ? (t.consume(I),
|
|
9138
|
+
return I === 62 ? (t.consume(I), E) : n(I);
|
|
9139
9139
|
}
|
|
9140
|
-
function
|
|
9141
|
-
return I === null || Ae(I) ? T(I) : Ge(I) ? (t.consume(I),
|
|
9140
|
+
function E(I) {
|
|
9141
|
+
return I === null || Ae(I) ? T(I) : Ge(I) ? (t.consume(I), E) : n(I);
|
|
9142
9142
|
}
|
|
9143
9143
|
function T(I) {
|
|
9144
9144
|
return I === 45 && r === 2 ? (t.consume(I), $) : I === 60 && r === 1 ? (t.consume(I), G) : I === 62 && r === 4 ? (t.consume(I), ve) : I === 63 && r === 3 ? (t.consume(I), O) : I === 93 && r === 5 ? (t.consume(I), K) : Ae(I) && (r === 6 || r === 7) ? (t.exit("htmlFlowData"), t.check(gD, Ce, D)(I)) : I === null || Ae(I) ? (t.exit("htmlFlowData"), D(I)) : (t.consume(I), T);
|
|
@@ -9261,10 +9261,10 @@ function _D(t, e, n) {
|
|
|
9261
9261
|
return O === 47 ? (t.consume(O), $) : O === 58 || O === 95 || an(O) ? (t.consume(O), C) : Ae(O) ? (o = L, G(O)) : Ge(O) ? (t.consume(O), L) : $(O);
|
|
9262
9262
|
}
|
|
9263
9263
|
function C(O) {
|
|
9264
|
-
return O === 45 || O === 46 || O === 58 || O === 95 || Zt(O) ? (t.consume(O), C) :
|
|
9264
|
+
return O === 45 || O === 46 || O === 58 || O === 95 || Zt(O) ? (t.consume(O), C) : E(O);
|
|
9265
9265
|
}
|
|
9266
|
-
function
|
|
9267
|
-
return O === 61 ? (t.consume(O), T) : Ae(O) ? (o =
|
|
9266
|
+
function E(O) {
|
|
9267
|
+
return O === 61 ? (t.consume(O), T) : Ae(O) ? (o = E, G(O)) : Ge(O) ? (t.consume(O), E) : L(O);
|
|
9268
9268
|
}
|
|
9269
9269
|
function T(O) {
|
|
9270
9270
|
return O === null || O === 60 || O === 61 || O === 62 || O === 96 ? n(O) : O === 34 || O === 39 ? (t.consume(O), r = O, D) : Ae(O) ? (o = T, G(O)) : Ge(O) ? (t.consume(O), T) : (t.consume(O), R);
|
|
@@ -9980,14 +9980,14 @@ function lR(t, e, n) {
|
|
|
9980
9980
|
let r = 0, s = 0, o;
|
|
9981
9981
|
return a;
|
|
9982
9982
|
function a(C) {
|
|
9983
|
-
let
|
|
9984
|
-
for (;
|
|
9985
|
-
const R = i.events[
|
|
9983
|
+
let E = i.events.length - 1;
|
|
9984
|
+
for (; E > -1; ) {
|
|
9985
|
+
const R = i.events[E][1].type;
|
|
9986
9986
|
if (R === "lineEnding" || // Note: markdown-rs uses `whitespace` instead of `linePrefix`
|
|
9987
|
-
R === "linePrefix")
|
|
9987
|
+
R === "linePrefix") E--;
|
|
9988
9988
|
else break;
|
|
9989
9989
|
}
|
|
9990
|
-
const T =
|
|
9990
|
+
const T = E > -1 ? i.events[E][1].type : null, D = T === "tableHead" || T === "tableRow" ? _ : l;
|
|
9991
9991
|
return D === _ && i.parser.lazy[i.now().line] ? n(C) : D(C);
|
|
9992
9992
|
}
|
|
9993
9993
|
function l(C) {
|
|
@@ -10525,69 +10525,69 @@ function zR(t, e, n) {
|
|
|
10525
10525
|
};
|
|
10526
10526
|
let d = e.tokenize.call(c, l);
|
|
10527
10527
|
return e.resolveAll && s.push(e), c;
|
|
10528
|
-
function u(
|
|
10529
|
-
return o = qn(o,
|
|
10528
|
+
function u(E) {
|
|
10529
|
+
return o = qn(o, E), y(), o[o.length - 1] !== null ? [] : (N(e, 0), c.events = Kf(s, c.events, c), c.events);
|
|
10530
10530
|
}
|
|
10531
|
-
function h(
|
|
10532
|
-
return $R(p(
|
|
10531
|
+
function h(E, T) {
|
|
10532
|
+
return $R(p(E), T);
|
|
10533
10533
|
}
|
|
10534
|
-
function p(
|
|
10535
|
-
return BR(o,
|
|
10534
|
+
function p(E) {
|
|
10535
|
+
return BR(o, E);
|
|
10536
10536
|
}
|
|
10537
10537
|
function m() {
|
|
10538
10538
|
const {
|
|
10539
|
-
_bufferIndex:
|
|
10539
|
+
_bufferIndex: E,
|
|
10540
10540
|
_index: T,
|
|
10541
10541
|
line: D,
|
|
10542
10542
|
column: R,
|
|
10543
10543
|
offset: z
|
|
10544
10544
|
} = i;
|
|
10545
10545
|
return {
|
|
10546
|
-
_bufferIndex:
|
|
10546
|
+
_bufferIndex: E,
|
|
10547
10547
|
_index: T,
|
|
10548
10548
|
line: D,
|
|
10549
10549
|
column: R,
|
|
10550
10550
|
offset: z
|
|
10551
10551
|
};
|
|
10552
10552
|
}
|
|
10553
|
-
function g(
|
|
10554
|
-
r[
|
|
10553
|
+
function g(E) {
|
|
10554
|
+
r[E.line] = E.column, C();
|
|
10555
10555
|
}
|
|
10556
10556
|
function y() {
|
|
10557
|
-
let
|
|
10557
|
+
let E;
|
|
10558
10558
|
for (; i._index < o.length; ) {
|
|
10559
10559
|
const T = o[i._index];
|
|
10560
10560
|
if (typeof T == "string")
|
|
10561
|
-
for (
|
|
10561
|
+
for (E = i._index, i._bufferIndex < 0 && (i._bufferIndex = 0); i._index === E && i._bufferIndex < T.length; )
|
|
10562
10562
|
v(T.charCodeAt(i._bufferIndex));
|
|
10563
10563
|
else
|
|
10564
10564
|
v(T);
|
|
10565
10565
|
}
|
|
10566
10566
|
}
|
|
10567
|
-
function v(
|
|
10568
|
-
d = d(
|
|
10567
|
+
function v(E) {
|
|
10568
|
+
d = d(E);
|
|
10569
10569
|
}
|
|
10570
|
-
function w(
|
|
10571
|
-
Ae(
|
|
10570
|
+
function w(E) {
|
|
10571
|
+
Ae(E) ? (i.line++, i.column = 1, i.offset += E === -3 ? 2 : 1, C()) : E !== -1 && (i.column++, i.offset++), i._bufferIndex < 0 ? i._index++ : (i._bufferIndex++, i._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
|
|
10572
10572
|
// strings.
|
|
10573
10573
|
/** @type {string} */
|
|
10574
|
-
o[i._index].length && (i._bufferIndex = -1, i._index++)), c.previous =
|
|
10574
|
+
o[i._index].length && (i._bufferIndex = -1, i._index++)), c.previous = E;
|
|
10575
10575
|
}
|
|
10576
|
-
function x(
|
|
10576
|
+
function x(E, T) {
|
|
10577
10577
|
const D = T || {};
|
|
10578
|
-
return D.type =
|
|
10578
|
+
return D.type = E, D.start = m(), c.events.push(["enter", D, c]), a.push(D), D;
|
|
10579
10579
|
}
|
|
10580
|
-
function k(
|
|
10580
|
+
function k(E) {
|
|
10581
10581
|
const T = a.pop();
|
|
10582
10582
|
return T.end = m(), c.events.push(["exit", T, c]), T;
|
|
10583
10583
|
}
|
|
10584
|
-
function S(
|
|
10585
|
-
N(
|
|
10584
|
+
function S(E, T) {
|
|
10585
|
+
N(E, T.from);
|
|
10586
10586
|
}
|
|
10587
|
-
function _(
|
|
10587
|
+
function _(E, T) {
|
|
10588
10588
|
T.restore();
|
|
10589
10589
|
}
|
|
10590
|
-
function A(
|
|
10590
|
+
function A(E, T) {
|
|
10591
10591
|
return D;
|
|
10592
10592
|
function D(R, z, $) {
|
|
10593
10593
|
let G, he, K, O;
|
|
@@ -10631,24 +10631,24 @@ function zR(t, e, n) {
|
|
|
10631
10631
|
}
|
|
10632
10632
|
}
|
|
10633
10633
|
function Pe(Le) {
|
|
10634
|
-
return
|
|
10634
|
+
return E(K, O), z;
|
|
10635
10635
|
}
|
|
10636
10636
|
function We(Le) {
|
|
10637
10637
|
return O.restore(), ++he < G.length ? I(G[he]) : $;
|
|
10638
10638
|
}
|
|
10639
10639
|
}
|
|
10640
10640
|
}
|
|
10641
|
-
function N(
|
|
10642
|
-
|
|
10641
|
+
function N(E, T) {
|
|
10642
|
+
E.resolveAll && !s.includes(E) && s.push(E), E.resolve && Dn(c.events, T, c.events.length - T, E.resolve(c.events.slice(T), c)), E.resolveTo && (c.events = E.resolveTo(c.events, c));
|
|
10643
10643
|
}
|
|
10644
10644
|
function L() {
|
|
10645
|
-
const
|
|
10645
|
+
const E = m(), T = c.previous, D = c.currentConstruct, R = c.events.length, z = Array.from(a);
|
|
10646
10646
|
return {
|
|
10647
10647
|
from: R,
|
|
10648
10648
|
restore: $
|
|
10649
10649
|
};
|
|
10650
10650
|
function $() {
|
|
10651
|
-
i =
|
|
10651
|
+
i = E, c.previous = T, c.currentConstruct = D, c.events.length = R, a = z, C();
|
|
10652
10652
|
}
|
|
10653
10653
|
}
|
|
10654
10654
|
function C() {
|
|
@@ -10870,7 +10870,7 @@ function qR(t) {
|
|
|
10870
10870
|
image: l(G),
|
|
10871
10871
|
label: K,
|
|
10872
10872
|
labelText: he,
|
|
10873
|
-
lineEnding:
|
|
10873
|
+
lineEnding: E,
|
|
10874
10874
|
link: l($),
|
|
10875
10875
|
listItem: l(),
|
|
10876
10876
|
listOrdered: l(),
|
|
@@ -11097,7 +11097,7 @@ function qR(t) {
|
|
|
11097
11097
|
const Y = this.stack.pop();
|
|
11098
11098
|
Y.value += this.sliceSerialize(H), Y.position.end = fr(H.end);
|
|
11099
11099
|
}
|
|
11100
|
-
function
|
|
11100
|
+
function E(H) {
|
|
11101
11101
|
const Y = this.stack[this.stack.length - 1];
|
|
11102
11102
|
if (this.data.atHardBreak) {
|
|
11103
11103
|
const te = Y.children[Y.children.length - 1];
|
|
@@ -13394,7 +13394,7 @@ const iF = QP().use(KR).use(gR).use(DP).use(EA), rF = U(
|
|
|
13394
13394
|
"div",
|
|
13395
13395
|
{
|
|
13396
13396
|
ref: s,
|
|
13397
|
-
className:
|
|
13397
|
+
className: M(
|
|
13398
13398
|
"rich-text-display-container",
|
|
13399
13399
|
!a && "whitespace-pre-wrap",
|
|
13400
13400
|
n
|
|
@@ -13432,7 +13432,7 @@ const iF = QP().use(KR).use(gR).use(DP).use(EA), rF = U(
|
|
|
13432
13432
|
/* @__PURE__ */ f(
|
|
13433
13433
|
"div",
|
|
13434
13434
|
{
|
|
13435
|
-
className:
|
|
13435
|
+
className: M(
|
|
13436
13436
|
"bg-f1-background px-4 py-3",
|
|
13437
13437
|
s || r ? "rounded-t-[13.25px]" : "rounded-[13.25px]"
|
|
13438
13438
|
),
|
|
@@ -13475,7 +13475,7 @@ const iF = QP().use(KR).use(gR).use(DP).use(EA), rF = U(
|
|
|
13475
13475
|
/* @__PURE__ */ f(
|
|
13476
13476
|
"div",
|
|
13477
13477
|
{
|
|
13478
|
-
className:
|
|
13478
|
+
className: M(
|
|
13479
13479
|
"rounded-t-[13.25px] bg-f1-background px-4 py-3",
|
|
13480
13480
|
t && "rounded-[13.25px]"
|
|
13481
13481
|
),
|
|
@@ -14114,7 +14114,7 @@ const rd = U(
|
|
|
14114
14114
|
"div",
|
|
14115
14115
|
{
|
|
14116
14116
|
ref: o,
|
|
14117
|
-
className:
|
|
14117
|
+
className: M("scrollbar-macos w-full overflow-auto", i),
|
|
14118
14118
|
style: {
|
|
14119
14119
|
height: `${t}px`
|
|
14120
14120
|
},
|
|
@@ -14159,7 +14159,7 @@ const kF = ({
|
|
|
14159
14159
|
{
|
|
14160
14160
|
animate: { rotate: t ? 180 : 0 },
|
|
14161
14161
|
transition: { duration: 0.2 },
|
|
14162
|
-
className:
|
|
14162
|
+
className: M(
|
|
14163
14163
|
"flex h-3 w-3 shrink-0 items-center justify-center",
|
|
14164
14164
|
i && "cursor-not-allowed opacity-50",
|
|
14165
14165
|
e
|
|
@@ -14190,7 +14190,7 @@ const kF = ({
|
|
|
14190
14190
|
return /* @__PURE__ */ b(
|
|
14191
14191
|
"div",
|
|
14192
14192
|
{
|
|
14193
|
-
className:
|
|
14193
|
+
className: M("pointer-events-auto flex items-center gap-2", l),
|
|
14194
14194
|
onClick: h,
|
|
14195
14195
|
children: [
|
|
14196
14196
|
s && /* @__PURE__ */ f(
|
|
@@ -14238,7 +14238,7 @@ var xF = [" ", "Enter", "ArrowUp", "ArrowDown"], wF = [" ", "Enter"], Cl = "Sele
|
|
|
14238
14238
|
prop: o,
|
|
14239
14239
|
defaultProp: a,
|
|
14240
14240
|
onChange: l
|
|
14241
|
-
}),
|
|
14241
|
+
}), E = F.useRef(null), T = y ? m || !!y.closest("form") : !0, [D, R] = F.useState(/* @__PURE__ */ new Set()), z = Array.from(D).map(($) => $.props.value).join(";");
|
|
14242
14242
|
return /* @__PURE__ */ f(jC, { ...g, children: /* @__PURE__ */ b(
|
|
14243
14243
|
CF,
|
|
14244
14244
|
{
|
|
@@ -14256,7 +14256,7 @@ var xF = [" ", "Enter", "ArrowUp", "ArrowDown"], wF = [" ", "Enter"], Cl = "Sele
|
|
|
14256
14256
|
open: A,
|
|
14257
14257
|
onOpenChange: N,
|
|
14258
14258
|
dir: _,
|
|
14259
|
-
triggerPointerDownPosRef:
|
|
14259
|
+
triggerPointerDownPosRef: E,
|
|
14260
14260
|
disabled: h,
|
|
14261
14261
|
children: [
|
|
14262
14262
|
/* @__PURE__ */ f(Yf.Provider, { scope: e, children: /* @__PURE__ */ f(
|
|
@@ -14407,7 +14407,7 @@ var oi = 10, [p9, qr] = Vo(ks), AF = "SelectContentImpl", m9 = F.forwardRef(
|
|
|
14407
14407
|
avoidCollisions: y,
|
|
14408
14408
|
//
|
|
14409
14409
|
...v
|
|
14410
|
-
} = t, w = Wr(ks, n), [x, k] = F.useState(null), [S, _] = F.useState(null), A = tn(e, (B) => k(B)), [N, L] = F.useState(null), [C,
|
|
14410
|
+
} = t, w = Wr(ks, n), [x, k] = F.useState(null), [S, _] = F.useState(null), A = tn(e, (B) => k(B)), [N, L] = F.useState(null), [C, E] = F.useState(
|
|
14411
14411
|
null
|
|
14412
14412
|
), T = Zf(n), [D, R] = F.useState(!1), z = F.useRef(!1);
|
|
14413
14413
|
F.useEffect(() => {
|
|
@@ -14462,7 +14462,7 @@ var oi = 10, [p9, qr] = Vo(ks), AF = "SelectContentImpl", m9 = F.forwardRef(
|
|
|
14462
14462
|
), I = F.useCallback(() => x == null ? void 0 : x.focus(), [x]), Pe = F.useCallback(
|
|
14463
14463
|
(B, Z, fe) => {
|
|
14464
14464
|
const J = !z.current && !fe;
|
|
14465
|
-
(w.value !== void 0 && w.value === Z || J) &&
|
|
14465
|
+
(w.value !== void 0 && w.value === Z || J) && E(B);
|
|
14466
14466
|
},
|
|
14467
14467
|
[w.value]
|
|
14468
14468
|
), We = i === "popper" ? $h : g9, Le = We === $h ? {
|
|
@@ -14578,9 +14578,9 @@ var OF = "SelectItemAlignedPosition", g9 = F.forwardRef((t, e) => {
|
|
|
14578
14578
|
]);
|
|
14579
14579
|
a.style.minWidth = ze + "px", a.style.right = gt + "px";
|
|
14580
14580
|
}
|
|
14581
|
-
const
|
|
14581
|
+
const E = h(), T = window.innerHeight - oi * 2, D = g.scrollHeight, R = window.getComputedStyle(c), z = parseInt(R.borderTopWidth, 10), $ = parseInt(R.paddingTop, 10), G = parseInt(R.borderBottomWidth, 10), he = parseInt(R.paddingBottom, 10), K = z + $ + D + he + G, O = Math.min(y.offsetHeight * 5, K), ve = window.getComputedStyle(g), Ce = parseInt(ve.paddingTop, 10), I = parseInt(ve.paddingBottom, 10), Pe = A.top + A.height / 2 - oi, We = T - Pe, Le = y.offsetHeight / 2, B = y.offsetTop + Le, Z = z + $ + B, fe = K - Z;
|
|
14582
14582
|
if (Z <= Pe) {
|
|
14583
|
-
const we =
|
|
14583
|
+
const we = E.length > 0 && y === E[E.length - 1].ref.current;
|
|
14584
14584
|
a.style.bottom = "0px";
|
|
14585
14585
|
const Ee = c.clientHeight - g.offsetTop - g.offsetHeight, De = Math.max(
|
|
14586
14586
|
We,
|
|
@@ -14589,7 +14589,7 @@ var OF = "SelectItemAlignedPosition", g9 = F.forwardRef((t, e) => {
|
|
|
14589
14589
|
), ze = Z + De;
|
|
14590
14590
|
a.style.height = ze + "px";
|
|
14591
14591
|
} else {
|
|
14592
|
-
const we =
|
|
14592
|
+
const we = E.length > 0 && y === E[0].ref.current;
|
|
14593
14593
|
a.style.top = "0px";
|
|
14594
14594
|
const De = Math.max(
|
|
14595
14595
|
Pe,
|
|
@@ -15075,10 +15075,10 @@ const JF = 8, eu = U(
|
|
|
15075
15075
|
}, [A]), se(() => {
|
|
15076
15076
|
C.measure(), C.scrollToIndex(L);
|
|
15077
15077
|
}, [C, L, k, N]);
|
|
15078
|
-
const
|
|
15078
|
+
const E = C.getVirtualItems(), T = y ? /* @__PURE__ */ f("p", { className: M("flex items-center justify-center p-2", "min-h-[80px]"), children: r || "-" }) : m ? /* @__PURE__ */ f(
|
|
15079
15079
|
"div",
|
|
15080
15080
|
{
|
|
15081
|
-
className:
|
|
15081
|
+
className: M(
|
|
15082
15082
|
!N && "transition-opacity delay-100",
|
|
15083
15083
|
N || w ? "" : "opacity-0"
|
|
15084
15084
|
),
|
|
@@ -15094,15 +15094,15 @@ const JF = 8, eu = U(
|
|
|
15094
15094
|
top: 0,
|
|
15095
15095
|
left: 0,
|
|
15096
15096
|
width: "100%",
|
|
15097
|
-
transform: `translateY(${((z =
|
|
15097
|
+
transform: `translateY(${((z = E[0]) == null ? void 0 : z.start) ?? 0}px)`
|
|
15098
15098
|
},
|
|
15099
|
-
children:
|
|
15099
|
+
children: E.map(($, G) => /* @__PURE__ */ f(
|
|
15100
15100
|
"div",
|
|
15101
15101
|
{
|
|
15102
15102
|
"data-index": $.index,
|
|
15103
15103
|
ref: C.measureElement,
|
|
15104
15104
|
tabIndex: $.index === L ? 0 : -1,
|
|
15105
|
-
children: a && G ===
|
|
15105
|
+
children: a && G === E.length - 1 ? /* @__PURE__ */ f("div", { className: "h-10 w-full py-2 text-center", children: g.select.loadingMore }) : t[$.index].item
|
|
15106
15106
|
},
|
|
15107
15107
|
$.key
|
|
15108
15108
|
))
|
|
@@ -15114,7 +15114,7 @@ const JF = 8, eu = U(
|
|
|
15114
15114
|
{
|
|
15115
15115
|
asChild: N,
|
|
15116
15116
|
ref: h,
|
|
15117
|
-
className:
|
|
15117
|
+
className: M(
|
|
15118
15118
|
"relative z-50 max-h-96 min-w-[8rem] overflow-hidden text-f1-foreground",
|
|
15119
15119
|
!N && "rounded-md border border-solid border-f1-border-secondary bg-f1-background shadow-md data-[state=closed]:fade-out-0 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 motion-safe:data-[state=open]:animate-in motion-safe:data-[state=closed]:animate-out motion-safe:data-[state=open]:fade-in-0 motion-safe:data-[state=closed]:zoom-out-95 motion-safe:data-[state=open]:zoom-in-95 motion-safe:data-[side=bottom]:slide-in-from-top-2",
|
|
15120
15120
|
!N && i === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
@@ -15145,7 +15145,7 @@ const JF = 8, eu = U(
|
|
|
15145
15145
|
Qn,
|
|
15146
15146
|
{
|
|
15147
15147
|
viewportRef: p,
|
|
15148
|
-
className:
|
|
15148
|
+
className: M(
|
|
15149
15149
|
"flex flex-col overflow-y-auto",
|
|
15150
15150
|
N ? "max-h-full" : "max-h-[300px]",
|
|
15151
15151
|
D && "select-none opacity-10 transition-opacity"
|
|
@@ -15157,7 +15157,7 @@ const JF = 8, eu = U(
|
|
|
15157
15157
|
UF,
|
|
15158
15158
|
{
|
|
15159
15159
|
asChild: !0,
|
|
15160
|
-
className:
|
|
15160
|
+
className: M(
|
|
15161
15161
|
"p-1",
|
|
15162
15162
|
!N && i === "popper" && "h-[var(--radix-select-trigger-height)] min-w-[var(--radix-select-trigger-width)]"
|
|
15163
15163
|
),
|
|
@@ -15179,7 +15179,7 @@ const Ba = F.forwardRef(({ className: t, children: e, withIndicator: n = !0, ...
|
|
|
15179
15179
|
D9,
|
|
15180
15180
|
{
|
|
15181
15181
|
ref: r,
|
|
15182
|
-
className:
|
|
15182
|
+
className: M(
|
|
15183
15183
|
"relative grid w-full cursor-default select-none gap-x-1.5 rounded px-3 py-2 outline-none transition-colors after:absolute after:inset-x-1 after:inset-y-0 after:z-0 after:h-full after:rounded after:bg-f1-background-hover after:opacity-0 after:transition-opacity after:duration-75 after:content-[''] first:pt-3 first:after:top-1 first:after:h-[calc(100%-0.25rem)] last:pb-3 last:after:bottom-1 last:after:h-[calc(100%-0.5rem)] hover:after:opacity-100 focus:after:bg-f1-background-hover focus:after:text-f1-foreground focus:after:opacity-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_*]:z-10",
|
|
15184
15184
|
"data-[state=checked]:after:bg-f1-background-selected-bold/10 data-[state=checked]:after:opacity-100 hover:data-[state=checked]:after:bg-f1-background-selected-bold/10 dark:data-[state=checked]:after:bg-f1-background-selected-bold/20 dark:hover:data-[state=checked]:after:bg-f1-background-selected-bold/20",
|
|
15185
15185
|
"focus:outline-none focus:ring-0 focus:ring-transparent",
|
|
@@ -15199,14 +15199,14 @@ const t0 = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
|
15199
15199
|
R9,
|
|
15200
15200
|
{
|
|
15201
15201
|
ref: n,
|
|
15202
|
-
className:
|
|
15202
|
+
className: M("-mx-1 my-1 h-px bg-f1-border-secondary", t),
|
|
15203
15203
|
...e
|
|
15204
15204
|
}
|
|
15205
15205
|
));
|
|
15206
15206
|
t0.displayName = R9.displayName;
|
|
15207
15207
|
const P9 = F.forwardRef(({ className: t, children: e, ...n }, i) => {
|
|
15208
15208
|
const { asList: r } = Sn(e0);
|
|
15209
|
-
return r ? null : /* @__PURE__ */ f(O9, { ref: i, className:
|
|
15209
|
+
return r ? null : /* @__PURE__ */ f(O9, { ref: i, className: M(t), ...n, children: e });
|
|
15210
15210
|
});
|
|
15211
15211
|
P9.displayName = O9.displayName;
|
|
15212
15212
|
const YF = ({ actions: t }) => t ? /* @__PURE__ */ f("div", { className: "flex w-full flex-row gap-2 border-0 border-t border-solid border-f1-border-secondary p-2", children: t.map((e) => /* @__PURE__ */ f(
|
|
@@ -15350,7 +15350,7 @@ const YF = ({ actions: t }) => t ? /* @__PURE__ */ f("div", { className: "flex w
|
|
|
15350
15350
|
loading: N,
|
|
15351
15351
|
name: L,
|
|
15352
15352
|
error: C,
|
|
15353
|
-
status:
|
|
15353
|
+
status: E,
|
|
15354
15354
|
hint: T,
|
|
15355
15355
|
...D
|
|
15356
15356
|
}, R) {
|
|
@@ -15520,7 +15520,7 @@ const YF = ({ actions: t }) => t ? /* @__PURE__ */ f("div", { className: "flex w
|
|
|
15520
15520
|
{
|
|
15521
15521
|
label: k,
|
|
15522
15522
|
error: C,
|
|
15523
|
-
status:
|
|
15523
|
+
status: E,
|
|
15524
15524
|
hint: T,
|
|
15525
15525
|
icon: S,
|
|
15526
15526
|
labelIcon: _,
|
|
@@ -15543,7 +15543,7 @@ const YF = ({ actions: t }) => t ? /* @__PURE__ */ f("div", { className: "flex w
|
|
|
15543
15543
|
append: /* @__PURE__ */ f(
|
|
15544
15544
|
"div",
|
|
15545
15545
|
{
|
|
15546
|
-
className:
|
|
15546
|
+
className: M(
|
|
15547
15547
|
"rounded-2xs bg-f1-background-secondary p-0.5",
|
|
15548
15548
|
"flex items-center justify-center",
|
|
15549
15549
|
!l && "cursor-pointer"
|
|
@@ -15551,7 +15551,7 @@ const YF = ({ actions: t }) => t ? /* @__PURE__ */ f("div", { className: "flex w
|
|
|
15551
15551
|
children: /* @__PURE__ */ f(
|
|
15552
15552
|
"div",
|
|
15553
15553
|
{
|
|
15554
|
-
className:
|
|
15554
|
+
className: M(
|
|
15555
15555
|
"origin-center transition-transform duration-200",
|
|
15556
15556
|
"flex items-center justify-center",
|
|
15557
15557
|
$ && "rotate-180"
|
|
@@ -15564,7 +15564,7 @@ const YF = ({ actions: t }) => t ? /* @__PURE__ */ f("div", { className: "flex w
|
|
|
15564
15564
|
},
|
|
15565
15565
|
icon: Ln,
|
|
15566
15566
|
size: "sm",
|
|
15567
|
-
className:
|
|
15567
|
+
className: M(
|
|
15568
15568
|
"rounded-2xs bg-f1-background-secondary p-0.5 transition-transform duration-200",
|
|
15569
15569
|
$ && "rotate-180",
|
|
15570
15570
|
!l && "cursor-pointer"
|
|
@@ -15622,16 +15622,16 @@ const YF = ({ actions: t }) => t ? /* @__PURE__ */ f("div", { className: "flex w
|
|
|
15622
15622
|
semiBold: i = !1
|
|
15623
15623
|
}) => {
|
|
15624
15624
|
if (!e)
|
|
15625
|
-
return /* @__PURE__ */ f("span", { className:
|
|
15625
|
+
return /* @__PURE__ */ f("span", { className: M("line-clamp-1", i ? "font-semibold" : ""), children: t });
|
|
15626
15626
|
if (t.toLowerCase().indexOf(e.toLowerCase()) === -1)
|
|
15627
15627
|
if (n.find(
|
|
15628
15628
|
(o) => o.toLowerCase().indexOf(e.toLowerCase().trim()) >= 0
|
|
15629
15629
|
))
|
|
15630
15630
|
e = t.split(" ")[0];
|
|
15631
15631
|
else
|
|
15632
|
-
return /* @__PURE__ */ f("span", { className:
|
|
15632
|
+
return /* @__PURE__ */ f("span", { className: M("line-clamp-1", i ? "font-semibold" : ""), children: t });
|
|
15633
15633
|
const r = new RegExp(`(${e})`, "gi"), s = t.split(r);
|
|
15634
|
-
return /* @__PURE__ */ f("span", { className:
|
|
15634
|
+
return /* @__PURE__ */ f("span", { className: M("line-clamp-1", i ? "font-semibold" : ""), children: s.map(
|
|
15635
15635
|
(o, a) => o.toLowerCase() === e.toLowerCase() ? /* @__PURE__ */ f(
|
|
15636
15636
|
"span",
|
|
15637
15637
|
{
|
|
@@ -15682,7 +15682,7 @@ const nz = ({
|
|
|
15682
15682
|
"label",
|
|
15683
15683
|
{
|
|
15684
15684
|
"aria-label": t.name,
|
|
15685
|
-
className:
|
|
15685
|
+
className: M(
|
|
15686
15686
|
r,
|
|
15687
15687
|
"flex flex-row flex-wrap items-center gap-2 rounded-[10px] border px-2 py-1.5 hover:cursor-pointer",
|
|
15688
15688
|
"focus-within:outline focus-within:outline-1 focus-within:-outline-offset-1 focus-within:outline-f1-border-selected-bold hover:bg-f1-background-hover",
|
|
@@ -15714,7 +15714,7 @@ const nz = ({
|
|
|
15714
15714
|
disabled: c,
|
|
15715
15715
|
onClick: m,
|
|
15716
15716
|
onKeyDown: g,
|
|
15717
|
-
className:
|
|
15717
|
+
className: M(
|
|
15718
15718
|
"pointer-events-none ml-auto",
|
|
15719
15719
|
l ? "opacity-0" : ""
|
|
15720
15720
|
)
|
|
@@ -15843,7 +15843,7 @@ const nz = ({
|
|
|
15843
15843
|
N.stopPropagation(), w(!1);
|
|
15844
15844
|
},
|
|
15845
15845
|
"data-avatarname-navigator-element": "true",
|
|
15846
|
-
className:
|
|
15846
|
+
className: M("ml-auto", m ? "opacity-0" : "")
|
|
15847
15847
|
}
|
|
15848
15848
|
)
|
|
15849
15849
|
]
|
|
@@ -15865,7 +15865,7 @@ const C2 = ({
|
|
|
15865
15865
|
"label",
|
|
15866
15866
|
{
|
|
15867
15867
|
"aria-label": t,
|
|
15868
|
-
className:
|
|
15868
|
+
className: M(
|
|
15869
15869
|
"flex flex-row flex-wrap items-center gap-1.5 rounded-[10px] border px-1.5 py-1.5 hover:cursor-pointer",
|
|
15870
15870
|
"focus-within:outline focus-within:outline-1 focus-within:-outline-offset-1 focus-within:outline-f1-border-selected-bold hover:bg-f1-background-hover",
|
|
15871
15871
|
"select-none"
|
|
@@ -15883,7 +15883,7 @@ const C2 = ({
|
|
|
15883
15883
|
variant: "outline"
|
|
15884
15884
|
}
|
|
15885
15885
|
),
|
|
15886
|
-
/* @__PURE__ */ f("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ f("div", { className: "flex flex-1 flex-row items-center gap-2 break-all", children: /* @__PURE__ */ f("span", { className:
|
|
15886
|
+
/* @__PURE__ */ f("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ f("div", { className: "flex flex-1 flex-row items-center gap-2 break-all", children: /* @__PURE__ */ f("span", { className: M("line-clamp-1"), children: t }) }) })
|
|
15887
15887
|
]
|
|
15888
15888
|
}
|
|
15889
15889
|
) }), B9 = ne.forwardRef(
|
|
@@ -15912,7 +15912,7 @@ const C2 = ({
|
|
|
15912
15912
|
/* @__PURE__ */ b(
|
|
15913
15913
|
"div",
|
|
15914
15914
|
{
|
|
15915
|
-
className:
|
|
15915
|
+
className: M(
|
|
15916
15916
|
"main flex items-center justify-center gap-1",
|
|
15917
15917
|
c && "opacity-0",
|
|
15918
15918
|
Ty({ variant: w })
|
|
@@ -15932,7 +15932,7 @@ const C2 = ({
|
|
|
15932
15932
|
animate: { opacity: 1, scale: 1 },
|
|
15933
15933
|
exit: { opacity: 0, scale: 0.7 },
|
|
15934
15934
|
transition: { duration: 0.1, ease: "easeInOut" },
|
|
15935
|
-
className:
|
|
15935
|
+
className: M(
|
|
15936
15936
|
"absolute inset-0 flex items-center justify-center",
|
|
15937
15937
|
Ty({ variant: w, mode: "only" })
|
|
15938
15938
|
),
|
|
@@ -15946,7 +15946,7 @@ const C2 = ({
|
|
|
15946
15946
|
onFocus: o,
|
|
15947
15947
|
onBlur: a,
|
|
15948
15948
|
disabled: l,
|
|
15949
|
-
className:
|
|
15949
|
+
className: M(x, S, mt(), u),
|
|
15950
15950
|
"aria-busy": c
|
|
15951
15951
|
}, N = v ? /* @__PURE__ */ f(
|
|
15952
15952
|
un,
|
|
@@ -16020,7 +16020,7 @@ const mo = ({
|
|
|
16020
16020
|
children: /* @__PURE__ */ f(
|
|
16021
16021
|
"button",
|
|
16022
16022
|
{
|
|
16023
|
-
className:
|
|
16023
|
+
className: M(
|
|
16024
16024
|
Mm({
|
|
16025
16025
|
variant: i.variant,
|
|
16026
16026
|
pressed: s && !i.disabled
|
|
@@ -16193,7 +16193,7 @@ const mo = ({
|
|
|
16193
16193
|
singleSelector: N = !1,
|
|
16194
16194
|
loading: L = !1,
|
|
16195
16195
|
disabled: C = !1,
|
|
16196
|
-
hiddenAvatar:
|
|
16196
|
+
hiddenAvatar: E = !1
|
|
16197
16197
|
}) => {
|
|
16198
16198
|
const T = ne.useRef(null), D = de(
|
|
16199
16199
|
() => t ? e.reduce(
|
|
@@ -16278,7 +16278,7 @@ const mo = ({
|
|
|
16278
16278
|
goToFirst: R,
|
|
16279
16279
|
goToLast: z,
|
|
16280
16280
|
disabled: C,
|
|
16281
|
-
hiddenAvatar:
|
|
16281
|
+
hiddenAvatar: E
|
|
16282
16282
|
},
|
|
16283
16283
|
fe.id
|
|
16284
16284
|
);
|
|
@@ -16293,7 +16293,7 @@ const mo = ({
|
|
|
16293
16293
|
z,
|
|
16294
16294
|
t,
|
|
16295
16295
|
n,
|
|
16296
|
-
|
|
16296
|
+
E,
|
|
16297
16297
|
o,
|
|
16298
16298
|
s,
|
|
16299
16299
|
m,
|
|
@@ -16387,7 +16387,7 @@ const mo = ({
|
|
|
16387
16387
|
goToLast: z,
|
|
16388
16388
|
hideLine: Z === K.length - 1,
|
|
16389
16389
|
disabled: C,
|
|
16390
|
-
hiddenAvatar:
|
|
16390
|
+
hiddenAvatar: E
|
|
16391
16391
|
}
|
|
16392
16392
|
);
|
|
16393
16393
|
}
|
|
@@ -16429,7 +16429,7 @@ const mo = ({
|
|
|
16429
16429
|
goToFirst: R,
|
|
16430
16430
|
goToLast: z,
|
|
16431
16431
|
isChild: !0,
|
|
16432
|
-
hiddenAvatar:
|
|
16432
|
+
hiddenAvatar: E
|
|
16433
16433
|
}
|
|
16434
16434
|
);
|
|
16435
16435
|
},
|
|
@@ -16448,7 +16448,7 @@ const mo = ({
|
|
|
16448
16448
|
i,
|
|
16449
16449
|
l,
|
|
16450
16450
|
a,
|
|
16451
|
-
|
|
16451
|
+
E,
|
|
16452
16452
|
_,
|
|
16453
16453
|
A
|
|
16454
16454
|
]
|
|
@@ -16483,7 +16483,7 @@ const mo = ({
|
|
|
16483
16483
|
return /* @__PURE__ */ b(
|
|
16484
16484
|
"div",
|
|
16485
16485
|
{
|
|
16486
|
-
className:
|
|
16486
|
+
className: M(
|
|
16487
16487
|
"flex w-full flex-col rounded-l-xl border-0",
|
|
16488
16488
|
N || L ? "rounded-r-xl" : "",
|
|
16489
16489
|
k
|
|
@@ -16492,7 +16492,7 @@ const mo = ({
|
|
|
16492
16492
|
/* @__PURE__ */ b(
|
|
16493
16493
|
"header",
|
|
16494
16494
|
{
|
|
16495
|
-
className:
|
|
16495
|
+
className: M(
|
|
16496
16496
|
"flex h-[48px] justify-between gap-2 rounded-tl-xl border-0 border-b-[1px] border-r-[1px] border-solid border-f1-border-secondary bg-f1-background/30 p-2 backdrop-blur-2xl",
|
|
16497
16497
|
N || L ? "rounded-t-xl border-r-0" : ""
|
|
16498
16498
|
),
|
|
@@ -16516,7 +16516,7 @@ const mo = ({
|
|
|
16516
16516
|
onChange: p,
|
|
16517
16517
|
options: n,
|
|
16518
16518
|
value: i,
|
|
16519
|
-
className:
|
|
16519
|
+
className: M(
|
|
16520
16520
|
"h-8 rounded-[10px] bg-transparent py-[5px]",
|
|
16521
16521
|
i === "all" ? "text-f1-foreground-secondary" : ""
|
|
16522
16522
|
)
|
|
@@ -16528,7 +16528,7 @@ const mo = ({
|
|
|
16528
16528
|
/* @__PURE__ */ b(
|
|
16529
16529
|
"section",
|
|
16530
16530
|
{
|
|
16531
|
-
className:
|
|
16531
|
+
className: M(
|
|
16532
16532
|
"flex-grow-1 flex h-96 flex-col justify-start gap-1 border-0 border-r-[1px] border-solid border-f1-border-secondary bg-f1-background",
|
|
16533
16533
|
Le ? "" : "rounded-b-xl border-r-0"
|
|
16534
16534
|
),
|
|
@@ -16603,7 +16603,7 @@ const mo = ({
|
|
|
16603
16603
|
}) => /* @__PURE__ */ f("div", { className: "pr-2 pt-1.5", children: /* @__PURE__ */ f(
|
|
16604
16604
|
eS,
|
|
16605
16605
|
{
|
|
16606
|
-
className:
|
|
16606
|
+
className: M(
|
|
16607
16607
|
"max-w-54 w-fit gap-1 text-ellipsis break-all border-[1px] border-solid border-f1-border-secondary py-[1px] pl-[1px]",
|
|
16608
16608
|
"rounded-full",
|
|
16609
16609
|
i ? "pl-2" : "pl-0"
|
|
@@ -16839,7 +16839,7 @@ const mo = ({
|
|
|
16839
16839
|
"span",
|
|
16840
16840
|
{
|
|
16841
16841
|
role: "button",
|
|
16842
|
-
className:
|
|
16842
|
+
className: M(
|
|
16843
16843
|
"my-auto flex items-center pr-1",
|
|
16844
16844
|
t && "text-f1-foreground-secondary",
|
|
16845
16845
|
k && "text-f1-foreground",
|
|
@@ -16878,18 +16878,18 @@ const mo = ({
|
|
|
16878
16878
|
return;
|
|
16879
16879
|
const C = new Set(
|
|
16880
16880
|
(L.subItems ?? []).map((R) => R.subId)
|
|
16881
|
-
),
|
|
16881
|
+
), E = /* @__PURE__ */ new Set([L.id]);
|
|
16882
16882
|
r.forEach((R) => {
|
|
16883
16883
|
R.id !== L.id && (R.subItems ?? []).some(
|
|
16884
16884
|
($) => C.has($.subId)
|
|
16885
|
-
) &&
|
|
16885
|
+
) && E.add(R.id);
|
|
16886
16886
|
});
|
|
16887
16887
|
const T = [...N];
|
|
16888
16888
|
function D(R) {
|
|
16889
16889
|
const z = T.findIndex(($) => $.id === R.id);
|
|
16890
16890
|
z >= 0 ? T[z] = R : T.push(R);
|
|
16891
16891
|
}
|
|
16892
|
-
|
|
16892
|
+
E.forEach((R) => {
|
|
16893
16893
|
var he;
|
|
16894
16894
|
const z = r.find((K) => K.id === R);
|
|
16895
16895
|
if (!z) return;
|
|
@@ -16916,7 +16916,7 @@ const mo = ({
|
|
|
16916
16916
|
if (t.singleSelector)
|
|
16917
16917
|
t.onSelect({ ...A, subItems: [{ ...N }] }), n(!1);
|
|
16918
16918
|
else {
|
|
16919
|
-
const L = t.selectedEntities ?? [], C = new Set(L.map((D) => D.id)),
|
|
16919
|
+
const L = t.selectedEntities ?? [], C = new Set(L.map((D) => D.id)), E = new Map(
|
|
16920
16920
|
L.map((D) => [D.id, D.subItems ?? []])
|
|
16921
16921
|
);
|
|
16922
16922
|
C.add(A.id), t.entities.forEach((D) => {
|
|
@@ -16929,7 +16929,7 @@ const mo = ({
|
|
|
16929
16929
|
t.entities.forEach((D) => {
|
|
16930
16930
|
var R;
|
|
16931
16931
|
if (C.has(D.id)) {
|
|
16932
|
-
let $ = [...
|
|
16932
|
+
let $ = [...E.get(D.id) ?? []];
|
|
16933
16933
|
((R = D.subItems) == null ? void 0 : R.some(
|
|
16934
16934
|
(K) => K.subId === N.subId
|
|
16935
16935
|
)) && ($.some(
|
|
@@ -16961,12 +16961,12 @@ const mo = ({
|
|
|
16961
16961
|
);
|
|
16962
16962
|
if (!C)
|
|
16963
16963
|
return;
|
|
16964
|
-
const
|
|
16964
|
+
const E = new Set(
|
|
16965
16965
|
(C.subItems ?? []).map((T) => T.subId)
|
|
16966
16966
|
);
|
|
16967
16967
|
for (const T of L) {
|
|
16968
16968
|
const D = (T.subItems ?? []).filter(
|
|
16969
|
-
(R) => !
|
|
16969
|
+
(R) => !E.has(R.subId)
|
|
16970
16970
|
);
|
|
16971
16971
|
D.length > 0 && N.push({
|
|
16972
16972
|
...T,
|
|
@@ -16983,15 +16983,15 @@ const mo = ({
|
|
|
16983
16983
|
t.onSelect(null);
|
|
16984
16984
|
return;
|
|
16985
16985
|
}
|
|
16986
|
-
const L = t.selectedEntities ?? [], C = N.subId,
|
|
16986
|
+
const L = t.selectedEntities ?? [], C = N.subId, E = [];
|
|
16987
16987
|
for (const D of L) {
|
|
16988
16988
|
const R = ((T = D.subItems) == null ? void 0 : T.filter((z) => z.subId !== C)) ?? [];
|
|
16989
|
-
R.length > 0 &&
|
|
16989
|
+
R.length > 0 && E.push({
|
|
16990
16990
|
...D,
|
|
16991
16991
|
subItems: R
|
|
16992
16992
|
});
|
|
16993
16993
|
}
|
|
16994
|
-
t.onSelect(
|
|
16994
|
+
t.onSelect(E);
|
|
16995
16995
|
}
|
|
16996
16996
|
function g() {
|
|
16997
16997
|
if (t.singleSelector) {
|
|
@@ -17003,16 +17003,16 @@ const mo = ({
|
|
|
17003
17003
|
if (d) {
|
|
17004
17004
|
const L = new Set(
|
|
17005
17005
|
r.flatMap(
|
|
17006
|
-
(C) => (C.subItems ?? []).map((
|
|
17006
|
+
(C) => (C.subItems ?? []).map((E) => E.subId)
|
|
17007
17007
|
)
|
|
17008
17008
|
);
|
|
17009
17009
|
for (const C of A) {
|
|
17010
|
-
const
|
|
17010
|
+
const E = (C.subItems ?? []).filter(
|
|
17011
17011
|
(T) => !L.has(T.subId)
|
|
17012
17012
|
);
|
|
17013
|
-
|
|
17013
|
+
E.length > 0 && N.push({
|
|
17014
17014
|
...C,
|
|
17015
|
-
subItems:
|
|
17015
|
+
subItems: E
|
|
17016
17016
|
});
|
|
17017
17017
|
}
|
|
17018
17018
|
} else {
|
|
@@ -17060,7 +17060,7 @@ const mo = ({
|
|
|
17060
17060
|
if (d && !t.applySearchToGroup) {
|
|
17061
17061
|
const N = t.entities.map((L) => {
|
|
17062
17062
|
var T;
|
|
17063
|
-
const C = uz(L, l),
|
|
17063
|
+
const C = uz(L, l), E = (T = L.subItems) == null ? void 0 : T.map((D) => ({
|
|
17064
17064
|
...D,
|
|
17065
17065
|
score: od(
|
|
17066
17066
|
l,
|
|
@@ -17070,8 +17070,8 @@ const mo = ({
|
|
|
17070
17070
|
return {
|
|
17071
17071
|
...L,
|
|
17072
17072
|
score: C,
|
|
17073
|
-
expanded: L.expanded ?? ((
|
|
17074
|
-
subItems:
|
|
17073
|
+
expanded: L.expanded ?? ((E == null ? void 0 : E.length) ?? 0) > 0,
|
|
17074
|
+
subItems: E
|
|
17075
17075
|
};
|
|
17076
17076
|
}).filter((L) => L.score < 1 / 0).sort((L, C) => L.score - C.score);
|
|
17077
17077
|
s(N);
|
|
@@ -17102,7 +17102,7 @@ const mo = ({
|
|
|
17102
17102
|
"div",
|
|
17103
17103
|
{
|
|
17104
17104
|
ref: x,
|
|
17105
|
-
className:
|
|
17105
|
+
className: M(
|
|
17106
17106
|
"scrollbar-macos relative overflow-auto rounded-xl border-[1px] border-solid border-f1-border-secondary bg-transparent p-0",
|
|
17107
17107
|
t.width ? "w-fit" : "w-full"
|
|
17108
17108
|
),
|
|
@@ -17175,7 +17175,7 @@ const mo = ({
|
|
|
17175
17175
|
/* @__PURE__ */ f(
|
|
17176
17176
|
Mf,
|
|
17177
17177
|
{
|
|
17178
|
-
className:
|
|
17178
|
+
className: M(
|
|
17179
17179
|
"scrollbar-macos relative w-full overflow-auto rounded-xl border-[1px] border-solid border-f1-border-secondary bg-transparent p-0"
|
|
17180
17180
|
),
|
|
17181
17181
|
children: /* @__PURE__ */ f(
|
|
@@ -17620,7 +17620,7 @@ const G9 = F.forwardRef(({ className: t, disabled: e, hideLabel: n, ...i }, r) =
|
|
|
17620
17620
|
id: o,
|
|
17621
17621
|
name: o,
|
|
17622
17622
|
"aria-label": i.title ?? "Switch",
|
|
17623
|
-
className:
|
|
17623
|
+
className: M(
|
|
17624
17624
|
"relative h-5 w-[1.875rem] rounded-full bg-f1-border hover:bg-f1-border-hover data-[state=checked]:bg-f1-background-selected-bold",
|
|
17625
17625
|
e && "cursor-not-allowed opacity-50",
|
|
17626
17626
|
mt(),
|
|
@@ -17630,7 +17630,7 @@ const G9 = F.forwardRef(({ className: t, disabled: e, hideLabel: n, ...i }, r) =
|
|
|
17630
17630
|
children: /* @__PURE__ */ f(
|
|
17631
17631
|
K9,
|
|
17632
17632
|
{
|
|
17633
|
-
className:
|
|
17633
|
+
className: M(
|
|
17634
17634
|
"block h-4 w-4 translate-x-[0.125rem] rounded-full bg-f1-background transition-transform duration-300 data-[state=checked]:translate-x-[0.75rem]"
|
|
17635
17635
|
)
|
|
17636
17636
|
}
|
|
@@ -17641,7 +17641,7 @@ const G9 = F.forwardRef(({ className: t, disabled: e, hideLabel: n, ...i }, r) =
|
|
|
17641
17641
|
"label",
|
|
17642
17642
|
{
|
|
17643
17643
|
htmlFor: o,
|
|
17644
|
-
className:
|
|
17644
|
+
className: M(
|
|
17645
17645
|
"flex items-center justify-center pl-2.5 text-current",
|
|
17646
17646
|
e && "cursor-not-allowed opacity-50 hover:cursor-not-allowed"
|
|
17647
17647
|
),
|
|
@@ -17718,7 +17718,7 @@ const Y9 = F.forwardRef(
|
|
|
17718
17718
|
children: /* @__PURE__ */ f(
|
|
17719
17719
|
"textarea",
|
|
17720
17720
|
{
|
|
17721
|
-
className:
|
|
17721
|
+
className: M("block w-full", t),
|
|
17722
17722
|
ref: v,
|
|
17723
17723
|
value: c,
|
|
17724
17724
|
cols: d,
|
|
@@ -17859,7 +17859,7 @@ var I2 = ne.forwardRef(
|
|
|
17859
17859
|
}
|
|
17860
17860
|
), ik = i0, rk = nk;
|
|
17861
17861
|
const sk = Kt({
|
|
17862
|
-
base:
|
|
17862
|
+
base: M(
|
|
17863
17863
|
"inline-flex items-center justify-center rounded-sm text-sm font-medium transition-colors hover:bg-f1-background-secondary hover:text-f1-foreground-secondary disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-f1-background-secondary data-[state=on]:text-f1-foreground",
|
|
17864
17864
|
mt()
|
|
17865
17865
|
),
|
|
@@ -17882,7 +17882,7 @@ const sk = Kt({
|
|
|
17882
17882
|
Om,
|
|
17883
17883
|
{
|
|
17884
17884
|
ref: r,
|
|
17885
|
-
className:
|
|
17885
|
+
className: M(sk({ variant: e, size: n, className: t })),
|
|
17886
17886
|
...i
|
|
17887
17887
|
}
|
|
17888
17888
|
));
|
|
@@ -17894,7 +17894,7 @@ const ok = F.createContext({
|
|
|
17894
17894
|
ik,
|
|
17895
17895
|
{
|
|
17896
17896
|
ref: s,
|
|
17897
|
-
className:
|
|
17897
|
+
className: M("flex items-center justify-center gap-1.5", t),
|
|
17898
17898
|
...r,
|
|
17899
17899
|
children: /* @__PURE__ */ f(ok.Provider, { value: { variant: e, size: n }, children: i })
|
|
17900
17900
|
}
|
|
@@ -17906,7 +17906,7 @@ const lk = F.forwardRef(({ className: t, children: e, variant: n, size: i, ...r
|
|
|
17906
17906
|
rk,
|
|
17907
17907
|
{
|
|
17908
17908
|
ref: s,
|
|
17909
|
-
className:
|
|
17909
|
+
className: M(
|
|
17910
17910
|
sk({
|
|
17911
17911
|
variant: o.variant || n,
|
|
17912
17912
|
size: o.size || i
|
|
@@ -18224,7 +18224,7 @@ var js = (t) => Mt(t) && !dd(t) ? t : {
|
|
|
18224
18224
|
return {};
|
|
18225
18225
|
const x = a ? a[0] : o, k = (T) => {
|
|
18226
18226
|
r && x.reportValidity && (x.setCustomValidity(Hn(T) ? "" : T || ""), x.reportValidity());
|
|
18227
|
-
}, S = {}, _ = l0(o), A = Sl(o), N = _ || A, L = (y || a0(o)) && Lt(o.value) && Lt(w) || cd(o) && o.value === "" || w === "" || Array.isArray(w) && !w.length, C = vk.bind(null, g, i, S),
|
|
18227
|
+
}, S = {}, _ = l0(o), A = Sl(o), N = _ || A, L = (y || a0(o)) && Lt(o.value) && Lt(w) || cd(o) && o.value === "" || w === "" || Array.isArray(w) && !w.length, C = vk.bind(null, g, i, S), E = (T, D, R, z = Fi.maxLength, $ = Fi.minLength) => {
|
|
18228
18228
|
const G = T ? D : R;
|
|
18229
18229
|
S[g] = {
|
|
18230
18230
|
type: T ? z : $,
|
|
@@ -18253,12 +18253,12 @@ var js = (t) => Mt(t) && !dd(t) ? t : {
|
|
|
18253
18253
|
const $ = o.valueAsDate || new Date(w), G = (O) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + O), he = o.type == "time", K = o.type == "week";
|
|
18254
18254
|
Ni(R.value) && w && (T = he ? G(w) > G(R.value) : K ? w > R.value : $ > new Date(R.value)), Ni(z.value) && w && (D = he ? G(w) < G(z.value) : K ? w < z.value : $ < new Date(z.value));
|
|
18255
18255
|
}
|
|
18256
|
-
if ((T || D) && (
|
|
18256
|
+
if ((T || D) && (E(!!T, R.message, z.message, Fi.max, Fi.min), !i))
|
|
18257
18257
|
return k(S[g].message), S;
|
|
18258
18258
|
}
|
|
18259
18259
|
if ((c || d) && !L && (Ni(w) || s && Array.isArray(w))) {
|
|
18260
18260
|
const T = js(c), D = js(d), R = !on(T.value) && w.length > +T.value, z = !on(D.value) && w.length < +D.value;
|
|
18261
|
-
if ((R || z) && (
|
|
18261
|
+
if ((R || z) && (E(R, T.message, D.message), !i))
|
|
18262
18262
|
return k(S[g].message), S;
|
|
18263
18263
|
}
|
|
18264
18264
|
if (p && !L && Ni(w)) {
|
|
@@ -18586,7 +18586,7 @@ function Yz(t = {}) {
|
|
|
18586
18586
|
}
|
|
18587
18587
|
}
|
|
18588
18588
|
return W.valid;
|
|
18589
|
-
},
|
|
18589
|
+
}, E = () => {
|
|
18590
18590
|
for (const P of a.unMount) {
|
|
18591
18591
|
const j = pe(i, P);
|
|
18592
18592
|
j && (j._f.refs ? j._f.refs.every((W) => !k1(W)) : !k1(j._f.ref)) && Le(P);
|
|
@@ -18864,7 +18864,7 @@ function Yz(t = {}) {
|
|
|
18864
18864
|
_getWatch: D,
|
|
18865
18865
|
_getDirty: T,
|
|
18866
18866
|
_updateValid: y,
|
|
18867
|
-
_removeUnmounted:
|
|
18867
|
+
_removeUnmounted: E,
|
|
18868
18868
|
_updateFieldArray: w,
|
|
18869
18869
|
_updateDisabledField: B,
|
|
18870
18870
|
_getFieldArray: R,
|
|
@@ -19012,7 +19012,7 @@ const Xz = Rz, Sk = F.createContext(
|
|
|
19012
19012
|
{}
|
|
19013
19013
|
), Lk = F.forwardRef(({ className: t, ...e }, n) => {
|
|
19014
19014
|
const i = F.useId();
|
|
19015
|
-
return /* @__PURE__ */ f(Nk.Provider, { value: { id: i }, children: /* @__PURE__ */ f("div", { ref: n, className:
|
|
19015
|
+
return /* @__PURE__ */ f(Nk.Provider, { value: { id: i }, children: /* @__PURE__ */ f("div", { ref: n, className: M("space-y-2", t), ...e }) });
|
|
19016
19016
|
});
|
|
19017
19017
|
Lk.displayName = "FormItem";
|
|
19018
19018
|
const Ek = F.forwardRef(({ className: t, ...e }, n) => {
|
|
@@ -19021,7 +19021,7 @@ const Ek = F.forwardRef(({ className: t, ...e }, n) => {
|
|
|
19021
19021
|
sS,
|
|
19022
19022
|
{
|
|
19023
19023
|
ref: n,
|
|
19024
|
-
className:
|
|
19024
|
+
className: M(i && "text-f1-foreground-critical", t),
|
|
19025
19025
|
htmlFor: r,
|
|
19026
19026
|
...e
|
|
19027
19027
|
}
|
|
@@ -19049,7 +19049,7 @@ const Tk = F.forwardRef(({ className: t, ...e }, n) => {
|
|
|
19049
19049
|
{
|
|
19050
19050
|
ref: n,
|
|
19051
19051
|
id: i,
|
|
19052
|
-
className:
|
|
19052
|
+
className: M("text-sm text-f1-foreground-secondary", t),
|
|
19053
19053
|
...e
|
|
19054
19054
|
}
|
|
19055
19055
|
);
|
|
@@ -19062,7 +19062,7 @@ const Ak = F.forwardRef(({ className: t, children: e, ...n }, i) => {
|
|
|
19062
19062
|
{
|
|
19063
19063
|
ref: i,
|
|
19064
19064
|
id: s,
|
|
19065
|
-
className:
|
|
19065
|
+
className: M(
|
|
19066
19066
|
"text-sm font-medium text-f1-foreground-critical",
|
|
19067
19067
|
t
|
|
19068
19068
|
),
|
|
@@ -19362,7 +19362,7 @@ const rB = ({
|
|
|
19362
19362
|
{
|
|
19363
19363
|
ref: r,
|
|
19364
19364
|
role: "alert",
|
|
19365
|
-
className:
|
|
19365
|
+
className: M(hB({ variant: e }), t),
|
|
19366
19366
|
...i,
|
|
19367
19367
|
children: /* @__PURE__ */ b("div", { className: "flex flex-row", children: [
|
|
19368
19368
|
s && /* @__PURE__ */ f("div", { className: "mr-2 flex h-6 items-center", children: /* @__PURE__ */ f(s, { size: 20 }) }),
|
|
@@ -19376,7 +19376,7 @@ const rB = ({
|
|
|
19376
19376
|
"h5",
|
|
19377
19377
|
{
|
|
19378
19378
|
ref: i,
|
|
19379
|
-
className:
|
|
19379
|
+
className: M("mb-1 text-base font-medium tracking-tight", e),
|
|
19380
19380
|
...n
|
|
19381
19381
|
}
|
|
19382
19382
|
);
|
|
@@ -19385,7 +19385,7 @@ const rB = ({
|
|
|
19385
19385
|
"div",
|
|
19386
19386
|
{
|
|
19387
19387
|
ref: i,
|
|
19388
|
-
className:
|
|
19388
|
+
className: M("[&_p]:leading-relaxed", e),
|
|
19389
19389
|
...n
|
|
19390
19390
|
}
|
|
19391
19391
|
);
|
|
@@ -22441,7 +22441,7 @@ function h$({
|
|
|
22441
22441
|
return /* @__PURE__ */ b(
|
|
22442
22442
|
"div",
|
|
22443
22443
|
{
|
|
22444
|
-
className:
|
|
22444
|
+
className: M(
|
|
22445
22445
|
"relative h-32 w-full overflow-hidden rounded-md bg-f1-background",
|
|
22446
22446
|
n ? "" : u$[cS(
|
|
22447
22447
|
[t, e].join("")
|
|
@@ -22477,7 +22477,7 @@ function h$({
|
|
|
22477
22477
|
"div",
|
|
22478
22478
|
{
|
|
22479
22479
|
ref: o,
|
|
22480
|
-
className:
|
|
22480
|
+
className: M(
|
|
22481
22481
|
"absolute -right-0.5",
|
|
22482
22482
|
n ? "bottom-0.5" : "-bottom-[3px]"
|
|
22483
22483
|
),
|
|
@@ -22557,7 +22557,7 @@ const m$ = ({
|
|
|
22557
22557
|
{
|
|
22558
22558
|
href: t,
|
|
22559
22559
|
onClick: r,
|
|
22560
|
-
className:
|
|
22560
|
+
className: M(
|
|
22561
22561
|
"relative flex flex-col rounded-xl border border-solid border-f1-border-secondary bg-f1-background-inverse-secondary no-underline transition-shadow hover:shadow",
|
|
22562
22562
|
mt()
|
|
22563
22563
|
),
|
|
@@ -22648,7 +22648,7 @@ function y$({
|
|
|
22648
22648
|
onClick: (m) => {
|
|
22649
22649
|
u(m, t);
|
|
22650
22650
|
},
|
|
22651
|
-
className:
|
|
22651
|
+
className: M(
|
|
22652
22652
|
"flex items-center gap-1 font-medium leading-tight shadow-none transition-all active:scale-90 motion-reduce:transition-none motion-reduce:active:scale-100 [&>button]:mx-[-3px]",
|
|
22653
22653
|
s && "border-f1-border-selected bg-f1-background-selected hover:border-f1-border-selected-bold"
|
|
22654
22654
|
),
|
|
@@ -22663,7 +22663,7 @@ function y$({
|
|
|
22663
22663
|
duration: 200,
|
|
22664
22664
|
easing: "cubic-bezier(0.175, 0.885, 0.32, 1.275)"
|
|
22665
22665
|
},
|
|
22666
|
-
className:
|
|
22666
|
+
className: M(
|
|
22667
22667
|
"tabular-nums",
|
|
22668
22668
|
s ? "text-f1-foreground-selected" : "text-f1-foreground"
|
|
22669
22669
|
)
|
|
@@ -22719,7 +22719,7 @@ const u3 = (t) => {
|
|
|
22719
22719
|
"div",
|
|
22720
22720
|
{
|
|
22721
22721
|
dangerouslySetInnerHTML: { __html: D5.sanitize(t) },
|
|
22722
|
-
className:
|
|
22722
|
+
className: M(n, e && "line-clamp-5")
|
|
22723
22723
|
}
|
|
22724
22724
|
);
|
|
22725
22725
|
}, k$ = () => /* @__PURE__ */ b("div", { className: "flex flex-col justify-around gap-3 py-2", children: [
|
|
@@ -22731,7 +22731,7 @@ const u3 = (t) => {
|
|
|
22731
22731
|
), h3 = ({ tags: t, right: e }) => /* @__PURE__ */ f(
|
|
22732
22732
|
"div",
|
|
22733
22733
|
{
|
|
22734
|
-
className:
|
|
22734
|
+
className: M(
|
|
22735
22735
|
"flex flex-1 flex-row items-center gap-1.5",
|
|
22736
22736
|
e && "justify-end"
|
|
22737
22737
|
),
|
|
@@ -22975,7 +22975,7 @@ const u3 = (t) => {
|
|
|
22975
22975
|
/* @__PURE__ */ f(
|
|
22976
22976
|
"span",
|
|
22977
22977
|
{
|
|
22978
|
-
className:
|
|
22978
|
+
className: M(
|
|
22979
22979
|
"text-f1-foreground-secondary",
|
|
22980
22980
|
!e && "capitalize"
|
|
22981
22981
|
),
|
|
@@ -23103,7 +23103,7 @@ const u3 = (t) => {
|
|
|
23103
23103
|
duration: i ? 0.15 : 0,
|
|
23104
23104
|
ease: [0.165, 0.84, 0.44, 1]
|
|
23105
23105
|
},
|
|
23106
|
-
className:
|
|
23106
|
+
className: M(
|
|
23107
23107
|
e ? "overflow-y-scroll" : "overflow-clip",
|
|
23108
23108
|
"relative max-h-80"
|
|
23109
23109
|
),
|
|
@@ -23121,7 +23121,7 @@ const u3 = (t) => {
|
|
|
23121
23121
|
"div",
|
|
23122
23122
|
{
|
|
23123
23123
|
ref: o,
|
|
23124
|
-
className:
|
|
23124
|
+
className: M(
|
|
23125
23125
|
"text-lg text-f1-foreground-secondary",
|
|
23126
23126
|
!e && "line-clamp-2"
|
|
23127
23127
|
),
|
|
@@ -23195,7 +23195,7 @@ function N1({
|
|
|
23195
23195
|
] }) : /* @__PURE__ */ f(
|
|
23196
23196
|
"div",
|
|
23197
23197
|
{
|
|
23198
|
-
className:
|
|
23198
|
+
className: M(
|
|
23199
23199
|
"flex flex-col gap-1 [&>div]:w-fit",
|
|
23200
23200
|
n.tags.length > 1 && "-mt-[3px]"
|
|
23201
23201
|
),
|
|
@@ -23246,7 +23246,7 @@ function A$({ item: t }) {
|
|
|
23246
23246
|
/* @__PURE__ */ b(
|
|
23247
23247
|
"div",
|
|
23248
23248
|
{
|
|
23249
|
-
className:
|
|
23249
|
+
className: M(
|
|
23250
23250
|
"flex w-28 items-center gap-1 truncate text-f1-foreground-secondary md:w-fit",
|
|
23251
23251
|
t.hideLabel && "md:hidden"
|
|
23252
23252
|
),
|
|
@@ -23278,7 +23278,7 @@ function A$({ item: t }) {
|
|
|
23278
23278
|
/* @__PURE__ */ f(
|
|
23279
23279
|
"div",
|
|
23280
23280
|
{
|
|
23281
|
-
className:
|
|
23281
|
+
className: M(
|
|
23282
23282
|
"hidden font-medium text-f1-foreground md:block",
|
|
23283
23283
|
!r && "block"
|
|
23284
23284
|
),
|
|
@@ -23299,7 +23299,7 @@ function A$({ item: t }) {
|
|
|
23299
23299
|
/* @__PURE__ */ f(Ze, { children: e && s && /* @__PURE__ */ b(
|
|
23300
23300
|
ce.div,
|
|
23301
23301
|
{
|
|
23302
|
-
className:
|
|
23302
|
+
className: M(
|
|
23303
23303
|
"absolute -left-1.5 -top-1.5 z-50 hidden max-h-[80vh] items-start justify-center gap-1.5 overflow-y-auto whitespace-nowrap rounded-sm bg-f1-background py-1 pl-1.5 shadow-md ring-1 ring-inset ring-f1-border-secondary md:flex",
|
|
23304
23304
|
!i && "h-8 items-start",
|
|
23305
23305
|
r ? "pr-1" : "pr-1.5"
|
|
@@ -23312,7 +23312,7 @@ function A$({ item: t }) {
|
|
|
23312
23312
|
/* @__PURE__ */ f(
|
|
23313
23313
|
"div",
|
|
23314
23314
|
{
|
|
23315
|
-
className:
|
|
23315
|
+
className: M(
|
|
23316
23316
|
"flex h-6 items-center font-medium text-f1-foreground",
|
|
23317
23317
|
i && "h-auto items-start pt-0.5"
|
|
23318
23318
|
),
|
|
@@ -23417,7 +23417,7 @@ function O$({
|
|
|
23417
23417
|
/* @__PURE__ */ b(
|
|
23418
23418
|
"div",
|
|
23419
23419
|
{
|
|
23420
|
-
className:
|
|
23420
|
+
className: M(
|
|
23421
23421
|
"flex flex-col items-start justify-start gap-4 md:flex-row",
|
|
23422
23422
|
!n && "md:items-center"
|
|
23423
23423
|
),
|
|
@@ -23425,7 +23425,7 @@ function O$({
|
|
|
23425
23425
|
/* @__PURE__ */ b(
|
|
23426
23426
|
"div",
|
|
23427
23427
|
{
|
|
23428
|
-
className:
|
|
23428
|
+
className: M(
|
|
23429
23429
|
"flex grow flex-col items-start justify-start gap-3 md:flex-row md:items-start",
|
|
23430
23430
|
!n && "md:items-center"
|
|
23431
23431
|
),
|
|
@@ -23562,7 +23562,7 @@ const Mse = ({
|
|
|
23562
23562
|
return /* @__PURE__ */ b(
|
|
23563
23563
|
"div",
|
|
23564
23564
|
{
|
|
23565
|
-
className:
|
|
23565
|
+
className: M(
|
|
23566
23566
|
"border-1 flex flex-col justify-between gap-4 border-dashed border-transparent px-6 pb-5 pt-5 first:pb-0 first:pt-0 md:flex-row md:gap-2",
|
|
23567
23567
|
s === "standard" && "-mx-6",
|
|
23568
23568
|
r === "top" && "border-t-f1-border first:pt-5",
|
|
@@ -23654,7 +23654,7 @@ const Mse = ({
|
|
|
23654
23654
|
{
|
|
23655
23655
|
type: "button",
|
|
23656
23656
|
"aria-label": n ? "Copied!" : `Copy ${t}`,
|
|
23657
|
-
className:
|
|
23657
|
+
className: M(
|
|
23658
23658
|
"group flex items-center gap-1.5 rounded p-1.5",
|
|
23659
23659
|
"focus-visible:outline focus-visible:outline-2 focus-visible:outline-f1-border-selected-bold",
|
|
23660
23660
|
"transition-colors duration-300 hover:bg-f1-background-hover active:bg-f1-background-secondary-hover",
|
|
@@ -23679,7 +23679,7 @@ const Mse = ({
|
|
|
23679
23679
|
size: "md",
|
|
23680
23680
|
"aria-hidden": !0,
|
|
23681
23681
|
color: "default",
|
|
23682
|
-
className:
|
|
23682
|
+
className: M(
|
|
23683
23683
|
"opacity-0 transition-opacity duration-300",
|
|
23684
23684
|
!n && "group-hover:opacity-100 group-focus-visible:opacity-100"
|
|
23685
23685
|
)
|
|
@@ -23703,7 +23703,7 @@ const Mse = ({
|
|
|
23703
23703
|
size: "md",
|
|
23704
23704
|
"aria-hidden": !0,
|
|
23705
23705
|
color: "positive",
|
|
23706
|
-
className:
|
|
23706
|
+
className: M(
|
|
23707
23707
|
"text-f1-icon-positive opacity-0 transition-opacity duration-300",
|
|
23708
23708
|
n && "group-hover:opacity-100 group-focus-visible:opacity-100"
|
|
23709
23709
|
)
|
|
@@ -23721,7 +23721,7 @@ const Mse = ({
|
|
|
23721
23721
|
un,
|
|
23722
23722
|
{
|
|
23723
23723
|
...n,
|
|
23724
|
-
className:
|
|
23724
|
+
className: M(
|
|
23725
23725
|
"text-inherit group flex items-center gap-1.5 rounded p-1.5 text-f1-foreground",
|
|
23726
23726
|
"no-underline hover:bg-f1-background-hover focus-visible:outline focus-visible:outline-2 focus-visible:outline-f1-border-selected-bold active:bg-f1-background-secondary-hover",
|
|
23727
23727
|
e
|
|
@@ -23759,7 +23759,7 @@ const Ll = U(
|
|
|
23759
23759
|
F$,
|
|
23760
23760
|
{
|
|
23761
23761
|
action: s,
|
|
23762
|
-
className:
|
|
23762
|
+
className: M("flex items-center gap-1.5 p-1.5", r),
|
|
23763
23763
|
children: [
|
|
23764
23764
|
i && (typeof i == "function" ? i({}) : /* @__PURE__ */ f(ye, { icon: i, size: "md", "aria-hidden": "true" })),
|
|
23765
23765
|
/* @__PURE__ */ f("div", { className: "line-clamp-5 flex-1 whitespace-pre-line text-left", children: n })
|
|
@@ -23791,14 +23791,14 @@ const F$ = ({
|
|
|
23791
23791
|
({ children: t, label: e, isHorizontal: n = !1 }, i) => /* @__PURE__ */ b(
|
|
23792
23792
|
"div",
|
|
23793
23793
|
{
|
|
23794
|
-
className:
|
|
23794
|
+
className: M(
|
|
23795
23795
|
n ? "flex min-h-12 flex-1 flex-col py-1.5 pl-3 pr-1.5 xs:flex-row" : "min-w-32 md:max-w-80"
|
|
23796
23796
|
),
|
|
23797
23797
|
children: [
|
|
23798
23798
|
e && /* @__PURE__ */ f(
|
|
23799
23799
|
"p",
|
|
23800
23800
|
{
|
|
23801
|
-
className:
|
|
23801
|
+
className: M(
|
|
23802
23802
|
"px-1.5 text-f1-foreground-secondary",
|
|
23803
23803
|
n ? "mt-1.5 w-44 xs:px-0" : "mb-0.5"
|
|
23804
23804
|
),
|
|
@@ -23894,7 +23894,7 @@ const lu = (t, e) => t && t.type === "copy" ? { type: "copy", text: t.text ?? e
|
|
|
23894
23894
|
"div",
|
|
23895
23895
|
{
|
|
23896
23896
|
ref: s,
|
|
23897
|
-
className:
|
|
23897
|
+
className: M(
|
|
23898
23898
|
"flex flex-col gap-0.5",
|
|
23899
23899
|
r && !i && "pb-3",
|
|
23900
23900
|
i && "xs:[&_ul>li]:p-0 [&_ul]:flex-1"
|
|
@@ -23909,7 +23909,7 @@ const lu = (t, e) => t && t.type === "copy" ? { type: "copy", text: t.text ?? e
|
|
|
23909
23909
|
/* @__PURE__ */ f(
|
|
23910
23910
|
"div",
|
|
23911
23911
|
{
|
|
23912
|
-
className:
|
|
23912
|
+
className: M(
|
|
23913
23913
|
"flex flex-col",
|
|
23914
23914
|
n ? "max-w-[580px] rounded-md border border-solid border-f1-border-secondary" : "gap-3"
|
|
23915
23915
|
),
|
|
@@ -23938,7 +23938,7 @@ const lu = (t, e) => t && t.type === "copy" ? { type: "copy", text: t.text ?? e
|
|
|
23938
23938
|
"div",
|
|
23939
23939
|
{
|
|
23940
23940
|
ref: i,
|
|
23941
|
-
className:
|
|
23941
|
+
className: M(
|
|
23942
23942
|
"flex w-full flex-row flex-wrap items-center gap-2 rounded-md border p-2 hover:bg-f1-background-hover focus:outline focus:outline-1 focus:outline-offset-1 focus:outline-f1-border-selected-bold",
|
|
23943
23943
|
n.withPointerCursor && "cursor-pointer"
|
|
23944
23944
|
),
|
|
@@ -24052,7 +24052,7 @@ const Ose = Ct(
|
|
|
24052
24052
|
o(h), h || n();
|
|
24053
24053
|
}, l = () => {
|
|
24054
24054
|
o(!1), n();
|
|
24055
|
-
}, c = y8(), d = e === "left" || e === "right", u = de(() => c && t ? "max-h-[95vh] bg-f1-background" : d ?
|
|
24055
|
+
}, c = y8(), d = e === "left" || e === "right", u = de(() => c && t ? "max-h-[95vh] bg-f1-background" : d ? M(
|
|
24056
24056
|
"w-full overflow-x-hidden flex flex-col absolute top-3 bottom-3 translate-y-0 translate-x-0 max-w-[539px] rounded-md border border-solid border-f1-border-secondary",
|
|
24057
24057
|
e === "left" && "left-3",
|
|
24058
24058
|
e === "right" && "left-auto right-3"
|
|
@@ -24104,8 +24104,8 @@ var Wo = "NavigationMenu", [h0, v8, V$] = pm(Wo), [tp, H$, W$] = pm(Wo), [p0, Is
|
|
|
24104
24104
|
} = t, [u, h] = F.useState(null), p = tn(e, (L) => h(L)), m = hm(c), g = F.useRef(0), y = F.useRef(0), v = F.useRef(0), [w, x] = F.useState(!0), [k = "", S] = Ir({
|
|
24105
24105
|
prop: i,
|
|
24106
24106
|
onChange: (L) => {
|
|
24107
|
-
const C = L !== "",
|
|
24108
|
-
C ? (window.clearTimeout(v.current),
|
|
24107
|
+
const C = L !== "", E = a > 0;
|
|
24108
|
+
C ? (window.clearTimeout(v.current), E && x(!1)) : (window.clearTimeout(v.current), v.current = window.setTimeout(
|
|
24109
24109
|
() => x(!0),
|
|
24110
24110
|
a
|
|
24111
24111
|
)), r == null || r(L);
|
|
@@ -24526,8 +24526,8 @@ var tj = F.forwardRef((t, e) => {
|
|
|
24526
24526
|
var _;
|
|
24527
24527
|
const k = x.altKey || x.ctrlKey || x.metaKey;
|
|
24528
24528
|
if (x.key === "Tab" && !k) {
|
|
24529
|
-
const A = ip(x.currentTarget), N = document.activeElement, L = A.findIndex((T) => T === N),
|
|
24530
|
-
y0(
|
|
24529
|
+
const A = ip(x.currentTarget), N = document.activeElement, L = A.findIndex((T) => T === N), E = x.shiftKey ? A.slice(0, L).reverse() : A.slice(L + 1, A.length);
|
|
24530
|
+
y0(E) ? x.preventDefault() : (_ = s.current) == null || _.focus();
|
|
24531
24531
|
}
|
|
24532
24532
|
}),
|
|
24533
24533
|
onEscapeKeyDown: Xe(t.onEscapeKeyDown, (x) => {
|
|
@@ -24689,7 +24689,7 @@ const uj = Kt({
|
|
|
24689
24689
|
/* @__PURE__ */ f(zo, { id: s, children: /* @__PURE__ */ f(
|
|
24690
24690
|
lj,
|
|
24691
24691
|
{
|
|
24692
|
-
className:
|
|
24692
|
+
className: M(uj({ secondary: n }), t),
|
|
24693
24693
|
children: e
|
|
24694
24694
|
}
|
|
24695
24695
|
) })
|
|
@@ -24719,7 +24719,7 @@ const hj = Kt({
|
|
|
24719
24719
|
{
|
|
24720
24720
|
"data-active": i ? "true" : void 0,
|
|
24721
24721
|
"aria-disabled": n || void 0,
|
|
24722
|
-
className:
|
|
24722
|
+
className: M(
|
|
24723
24723
|
"group relative flex shrink-0 select-none items-center justify-center rounded-md no-underline focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-f1-special-ring focus-visible:ring-offset-1",
|
|
24724
24724
|
n ? "pointer-events-none" : ""
|
|
24725
24725
|
),
|
|
@@ -24731,7 +24731,7 @@ const hj = Kt({
|
|
|
24731
24731
|
children: fj({ asChild: e, children: s }, (c) => /* @__PURE__ */ b(
|
|
24732
24732
|
"span",
|
|
24733
24733
|
{
|
|
24734
|
-
className:
|
|
24734
|
+
className: M(
|
|
24735
24735
|
"text-f1-foreground-secondary ring-1 ring-inset ring-transparent",
|
|
24736
24736
|
hj({ secondary: o, disabled: n }),
|
|
24737
24737
|
r
|
|
@@ -24760,7 +24760,7 @@ const hj = Kt({
|
|
|
24760
24760
|
}) => /* @__PURE__ */ f("li", { className: "list-none", children: /* @__PURE__ */ f(
|
|
24761
24761
|
ie,
|
|
24762
24762
|
{
|
|
24763
|
-
className:
|
|
24763
|
+
className: M(
|
|
24764
24764
|
"mr-4 w-20 rounded-md py-1.5 ring-1 ring-inset ring-transparent",
|
|
24765
24765
|
t
|
|
24766
24766
|
),
|
|
@@ -24858,7 +24858,7 @@ const hj = Kt({
|
|
|
24858
24858
|
/* @__PURE__ */ b(
|
|
24859
24859
|
Qn,
|
|
24860
24860
|
{
|
|
24861
|
-
className:
|
|
24861
|
+
className: M(
|
|
24862
24862
|
"[*[data-state=visible]_div]:bg-f1-background flex flex-1 flex-col",
|
|
24863
24863
|
"[&_.resource-header]:p-0 [&_.resource-header]:pr-1",
|
|
24864
24864
|
i && "px-5 py-3",
|
|
@@ -24885,7 +24885,7 @@ const k0 = U(({ className: t, children: e, ...n }, i) => {
|
|
|
24885
24885
|
"ol",
|
|
24886
24886
|
{
|
|
24887
24887
|
ref: i,
|
|
24888
|
-
className:
|
|
24888
|
+
className: M(
|
|
24889
24889
|
"flex h-8 list-none flex-nowrap items-center text-f1-foreground-secondary",
|
|
24890
24890
|
t
|
|
24891
24891
|
),
|
|
@@ -24898,7 +24898,7 @@ k0.displayName = "BreadcrumbList";
|
|
|
24898
24898
|
const x0 = ({ className: t, ...e }) => /* @__PURE__ */ f(
|
|
24899
24899
|
"li",
|
|
24900
24900
|
{
|
|
24901
|
-
className:
|
|
24901
|
+
className: M("inline-flex items-center gap-0.5 pr-1", t),
|
|
24902
24902
|
...e
|
|
24903
24903
|
}
|
|
24904
24904
|
);
|
|
@@ -24907,7 +24907,7 @@ const I8 = U(({ asChild: t, className: e, ...n }, i) => /* @__PURE__ */ f(
|
|
|
24907
24907
|
t ? W5 : un,
|
|
24908
24908
|
{
|
|
24909
24909
|
ref: i,
|
|
24910
|
-
className:
|
|
24910
|
+
className: M(
|
|
24911
24911
|
"rounded-sm px-1.5 py-0.5 font-medium text-f1-foreground no-underline transition-colors hover:bg-f1-background-secondary",
|
|
24912
24912
|
e
|
|
24913
24913
|
),
|
|
@@ -24922,7 +24922,7 @@ const D8 = U(({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
|
24922
24922
|
role: "link",
|
|
24923
24923
|
"aria-disabled": "true",
|
|
24924
24924
|
"aria-current": "page",
|
|
24925
|
-
className:
|
|
24925
|
+
className: M("truncate px-1.5 py-0.5 text-f1-foreground", t),
|
|
24926
24926
|
...e
|
|
24927
24927
|
}
|
|
24928
24928
|
));
|
|
@@ -25226,7 +25226,7 @@ const F8 = ({
|
|
|
25226
25226
|
},
|
|
25227
25227
|
checked: r,
|
|
25228
25228
|
"aria-label": r ? s.ai.closeChat : s.ai.openChat,
|
|
25229
|
-
className:
|
|
25229
|
+
className: M(
|
|
25230
25230
|
"group relative h-8 w-12 rounded-full border-none bg-f1-background-inverse-secondary transition-all hover:bg-f1-background-hover",
|
|
25231
25231
|
"shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_0_4px_rgba(13,22,37,.04)] data-[state=checked]:shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_0_4px_rgba(13,22,37,.6)]",
|
|
25232
25232
|
"after:pointer-events-none after:absolute after:inset-0 after:rounded-full after:ring-1 after:ring-inset after:ring-f1-border after:transition-all after:content-[''] data-[state=checked]:after:ring-f1-border-inverse",
|
|
@@ -25241,7 +25241,7 @@ const F8 = ({
|
|
|
25241
25241
|
children: /* @__PURE__ */ f(
|
|
25242
25242
|
K9,
|
|
25243
25243
|
{
|
|
25244
|
-
className:
|
|
25244
|
+
className: M(
|
|
25245
25245
|
"block h-[1.375rem] w-[1.375rem] translate-x-[0.3125rem] rounded-full transition-transform duration-300 data-[state=checked]:translate-x-[1.3125rem]"
|
|
25246
25246
|
),
|
|
25247
25247
|
style: {
|
|
@@ -25281,7 +25281,7 @@ const F8 = ({
|
|
|
25281
25281
|
return /* @__PURE__ */ f(Ze, { mode: "wait", children: /* @__PURE__ */ f(
|
|
25282
25282
|
"button",
|
|
25283
25283
|
{
|
|
25284
|
-
className:
|
|
25284
|
+
className: M(
|
|
25285
25285
|
"flex h-6 w-6 items-center justify-center rounded",
|
|
25286
25286
|
mt()
|
|
25287
25287
|
),
|
|
@@ -25454,7 +25454,7 @@ const F8 = ({
|
|
|
25454
25454
|
target: "_blank",
|
|
25455
25455
|
referrerPolicy: "no-referrer",
|
|
25456
25456
|
rel: "noopener noreferrer",
|
|
25457
|
-
className:
|
|
25457
|
+
className: M(o, "text-f1-foreground no-underline"),
|
|
25458
25458
|
children: [
|
|
25459
25459
|
/* @__PURE__ */ f("div", { className: "px-1 pt-1", children: a ? /* @__PURE__ */ f("div", { className: "overflow-clip rounded border border-solid border-f1-border-secondary", children: /* @__PURE__ */ f(
|
|
25460
25460
|
"video",
|
|
@@ -25493,7 +25493,7 @@ const F8 = ({
|
|
|
25493
25493
|
unread: i = !1,
|
|
25494
25494
|
onClick: r
|
|
25495
25495
|
}) => {
|
|
25496
|
-
const s =
|
|
25496
|
+
const s = M("flex flex-col items-stretch gap-3 w-full");
|
|
25497
25497
|
return /* @__PURE__ */ f(PS, { asChild: !0, className: s, onClick: r, children: /* @__PURE__ */ f(
|
|
25498
25498
|
un,
|
|
25499
25499
|
{
|
|
@@ -25501,7 +25501,7 @@ const F8 = ({
|
|
|
25501
25501
|
target: "_blank",
|
|
25502
25502
|
referrerPolicy: "no-referrer",
|
|
25503
25503
|
rel: "noopener noreferrer",
|
|
25504
|
-
className:
|
|
25504
|
+
className: M(
|
|
25505
25505
|
s,
|
|
25506
25506
|
"text-f1-foreground no-underline hover:cursor-pointer"
|
|
25507
25507
|
),
|
|
@@ -25549,7 +25549,7 @@ const F8 = ({
|
|
|
25549
25549
|
/* @__PURE__ */ f(
|
|
25550
25550
|
"div",
|
|
25551
25551
|
{
|
|
25552
|
-
className:
|
|
25552
|
+
className: M(
|
|
25553
25553
|
"grid size-14 place-items-center overflow-clip rounded border border-solid border-f1-border-secondary bg-f1-background-tertiary *:block",
|
|
25554
25554
|
r
|
|
25555
25555
|
),
|
|
@@ -25611,7 +25611,7 @@ const F8 = ({
|
|
|
25611
25611
|
"div",
|
|
25612
25612
|
{
|
|
25613
25613
|
"aria-hidden": "true",
|
|
25614
|
-
className:
|
|
25614
|
+
className: M("size-2 rounded bg-f1-background-selected-bold", t)
|
|
25615
25615
|
}
|
|
25616
25616
|
), Pj = ({
|
|
25617
25617
|
isVisible: t,
|
|
@@ -25726,7 +25726,7 @@ function Dse({
|
|
|
25726
25726
|
return /* @__PURE__ */ b(
|
|
25727
25727
|
"div",
|
|
25728
25728
|
{
|
|
25729
|
-
className:
|
|
25729
|
+
className: M(
|
|
25730
25730
|
"flex items-center justify-between px-5 py-4 xs:px-6",
|
|
25731
25731
|
r ? "h-12" : "h-16"
|
|
25732
25732
|
),
|
|
@@ -25757,7 +25757,7 @@ function Dse({
|
|
|
25757
25757
|
/* @__PURE__ */ b(
|
|
25758
25758
|
"div",
|
|
25759
25759
|
{
|
|
25760
|
-
className:
|
|
25760
|
+
className: M(
|
|
25761
25761
|
"flex flex-grow items-center gap-2",
|
|
25762
25762
|
r && h && "justify-center"
|
|
25763
25763
|
),
|
|
@@ -25904,7 +25904,7 @@ const $8 = U(
|
|
|
25904
25904
|
ce.div,
|
|
25905
25905
|
{
|
|
25906
25906
|
layoutId: `breadcrumb-${t.id}`,
|
|
25907
|
-
className:
|
|
25907
|
+
className: M(
|
|
25908
25908
|
"flex items-center gap-2 px-1.5",
|
|
25909
25909
|
i && "pl-0",
|
|
25910
25910
|
n && "text-2xl font-semibold"
|
|
@@ -25946,7 +25946,7 @@ const $8 = U(
|
|
|
25946
25946
|
{
|
|
25947
25947
|
ref: r,
|
|
25948
25948
|
layout: !0,
|
|
25949
|
-
className:
|
|
25949
|
+
className: M(s && "max-w-40"),
|
|
25950
25950
|
transition: { duration: 0.15 },
|
|
25951
25951
|
children: l[o]
|
|
25952
25952
|
}
|
|
@@ -25959,7 +25959,7 @@ const zj = ({
|
|
|
25959
25959
|
module: e,
|
|
25960
25960
|
otherActions: n
|
|
25961
25961
|
}) => {
|
|
25962
|
-
const { onClose: i, shownBottomSheet: r, position: s } = g8(), o =
|
|
25962
|
+
const { onClose: i, shownBottomSheet: r, position: s } = g8(), o = M(
|
|
25963
25963
|
"font-semibold text-f1-foreground",
|
|
25964
25964
|
s === "center" ? "text-lg" : "text-xl"
|
|
25965
25965
|
), a = () => /* @__PURE__ */ f("div", { className: "h-4 w-px self-center bg-f1-background-secondary" }), l = (n == null ? void 0 : n.filter((h) => h.type !== "separator")) ?? [], c = () => !l.length || !n ? null : l.length <= 2 ? /* @__PURE__ */ f("div", { className: "flex flex-row gap-2", children: l.map((h) => /* @__PURE__ */ f(
|
|
@@ -26005,7 +26005,7 @@ const zj = ({
|
|
|
26005
26005
|
)
|
|
26006
26006
|
] })
|
|
26007
26007
|
] }),
|
|
26008
|
-
!!t && /* @__PURE__ */ f(_h, { className:
|
|
26008
|
+
!!t && /* @__PURE__ */ f(_h, { className: M(o, "text-2xl"), children: t })
|
|
26009
26009
|
] }) : /* @__PURE__ */ b("div", { className: u, children: [
|
|
26010
26010
|
/* @__PURE__ */ b("div", { className: "flex flex-row items-center justify-between", children: [
|
|
26011
26011
|
r ? /* @__PURE__ */ f(Te, { children: e ? /* @__PURE__ */ f(d, {}) : /* @__PURE__ */ f(fy, { className: o, children: t }) }) : !!t && /* @__PURE__ */ f(_h, { className: o, children: t }),
|
|
@@ -26072,7 +26072,7 @@ function $j({
|
|
|
26072
26072
|
/* @__PURE__ */ f(Ze, { children: r === "unlocked" && /* @__PURE__ */ f(
|
|
26073
26073
|
ce.nav,
|
|
26074
26074
|
{
|
|
26075
|
-
className:
|
|
26075
|
+
className: M(
|
|
26076
26076
|
"fixed inset-0 z-[5] bg-f1-background-inverse",
|
|
26077
26077
|
{
|
|
26078
26078
|
hidden: !o
|
|
@@ -26088,7 +26088,7 @@ function $j({
|
|
|
26088
26088
|
/* @__PURE__ */ b(
|
|
26089
26089
|
"div",
|
|
26090
26090
|
{
|
|
26091
|
-
className:
|
|
26091
|
+
className: M(
|
|
26092
26092
|
{ "transition-all": !a },
|
|
26093
26093
|
r === "locked" ? "w-[240px] shrink-0 pl-3" : "w-0"
|
|
26094
26094
|
),
|
|
@@ -26106,7 +26106,7 @@ function $j({
|
|
|
26106
26106
|
{
|
|
26107
26107
|
id: "content",
|
|
26108
26108
|
layoutId: "main",
|
|
26109
|
-
className:
|
|
26109
|
+
className: M(
|
|
26110
26110
|
"relative flex max-w-full flex-1 overflow-auto xs:py-1 xs:pr-1",
|
|
26111
26111
|
r === "locked" ? "pl-0" : "xs:pl-1"
|
|
26112
26112
|
),
|
|
@@ -26324,7 +26324,7 @@ function Vj({
|
|
|
26324
26324
|
/* @__PURE__ */ b(
|
|
26325
26325
|
"div",
|
|
26326
26326
|
{
|
|
26327
|
-
className:
|
|
26327
|
+
className: M(
|
|
26328
26328
|
"flex flex-row items-center",
|
|
26329
26329
|
o ? "gap-1.5" : "gap-3"
|
|
26330
26330
|
),
|
|
@@ -26351,7 +26351,7 @@ function Vj({
|
|
|
26351
26351
|
/* @__PURE__ */ f(
|
|
26352
26352
|
"p",
|
|
26353
26353
|
{
|
|
26354
|
-
className:
|
|
26354
|
+
className: M(
|
|
26355
26355
|
o ? "text-lg" : "text-2xl",
|
|
26356
26356
|
"font-semibold text-f1-foreground"
|
|
26357
26357
|
),
|
|
@@ -26361,7 +26361,7 @@ function Vj({
|
|
|
26361
26361
|
e.description && /* @__PURE__ */ f(
|
|
26362
26362
|
"p",
|
|
26363
26363
|
{
|
|
26364
|
-
className:
|
|
26364
|
+
className: M(
|
|
26365
26365
|
o ? "text-md" : "text-lg",
|
|
26366
26366
|
"text-f1-foreground-secondary"
|
|
26367
26367
|
),
|
|
@@ -26378,7 +26378,7 @@ function Vj({
|
|
|
26378
26378
|
/* @__PURE__ */ f(
|
|
26379
26379
|
"div",
|
|
26380
26380
|
{
|
|
26381
|
-
className:
|
|
26381
|
+
className: M(
|
|
26382
26382
|
"isolate flex w-full flex-1 flex-col overflow-y-auto overflow-x-hidden [&>*]:flex-1",
|
|
26383
26383
|
o && "-mt-3"
|
|
26384
26384
|
),
|
|
@@ -26460,7 +26460,7 @@ function C3({
|
|
|
26460
26460
|
A.stopPropagation(), o == null || o(t.id);
|
|
26461
26461
|
},
|
|
26462
26462
|
"aria-label": p.actions.toggle,
|
|
26463
|
-
className:
|
|
26463
|
+
className: M(
|
|
26464
26464
|
"text-f1-icon transition-all",
|
|
26465
26465
|
!s && "-rotate-90"
|
|
26466
26466
|
),
|
|
@@ -26470,7 +26470,7 @@ function C3({
|
|
|
26470
26470
|
/* @__PURE__ */ b(
|
|
26471
26471
|
"div",
|
|
26472
26472
|
{
|
|
26473
|
-
className:
|
|
26473
|
+
className: M(
|
|
26474
26474
|
mt("focus:border-f1-border-focus"),
|
|
26475
26475
|
"relative flex h-[36px] min-w-0 flex-grow items-center gap-1 rounded-[10px] border border-solid border-transparent px-1.5 text-sm transition-colors",
|
|
26476
26476
|
n && "bg-f1-background-selected",
|
|
@@ -26527,7 +26527,7 @@ function C3({
|
|
|
26527
26527
|
nr,
|
|
26528
26528
|
{
|
|
26529
26529
|
lines: 1,
|
|
26530
|
-
className:
|
|
26530
|
+
className: M(
|
|
26531
26531
|
"flex-grow text-[14px] font-medium text-f1-foreground transition-all",
|
|
26532
26532
|
_ || y ? "pl-7" : "pl-0"
|
|
26533
26533
|
),
|
|
@@ -26663,23 +26663,24 @@ function Uj({
|
|
|
26663
26663
|
isActive: n,
|
|
26664
26664
|
isExpanded: i,
|
|
26665
26665
|
onToggleExpanded: r,
|
|
26666
|
-
sortable: s
|
|
26666
|
+
sortable: s,
|
|
26667
|
+
hideChildrenCounter: o
|
|
26667
26668
|
}) {
|
|
26668
|
-
var
|
|
26669
|
-
const
|
|
26669
|
+
var l;
|
|
26670
|
+
const a = Ts();
|
|
26670
26671
|
return /* @__PURE__ */ b(
|
|
26671
26672
|
Fm,
|
|
26672
26673
|
{
|
|
26673
26674
|
open: i,
|
|
26674
|
-
onOpenChange: (
|
|
26675
|
-
|
|
26675
|
+
onOpenChange: (c) => {
|
|
26676
|
+
c !== i && (r == null || r(t.id));
|
|
26676
26677
|
},
|
|
26677
26678
|
children: [
|
|
26678
26679
|
/* @__PURE__ */ f(
|
|
26679
26680
|
N0,
|
|
26680
26681
|
{
|
|
26681
26682
|
item: t,
|
|
26682
|
-
counter: ((
|
|
26683
|
+
counter: o ? void 0 : ((l = t.children) == null ? void 0 : l.length) ?? 0,
|
|
26683
26684
|
isActive: n,
|
|
26684
26685
|
collapsible: !0,
|
|
26685
26686
|
isExpanded: i,
|
|
@@ -26697,7 +26698,7 @@ function Uj({
|
|
|
26697
26698
|
visibility: i ? "visible" : "hidden"
|
|
26698
26699
|
},
|
|
26699
26700
|
transition: {
|
|
26700
|
-
duration:
|
|
26701
|
+
duration: a ? 0 : 0.15,
|
|
26701
26702
|
ease: [0.165, 0.84, 0.44, 1]
|
|
26702
26703
|
},
|
|
26703
26704
|
children: /* @__PURE__ */ f("div", { className: "ml-3 min-w-0 border-0 border-l border-solid border-f1-border-secondary pl-5", children: e })
|
|
@@ -26711,15 +26712,16 @@ function Kj({
|
|
|
26711
26712
|
item: t,
|
|
26712
26713
|
children: e,
|
|
26713
26714
|
isActive: n,
|
|
26714
|
-
sortable: i
|
|
26715
|
+
sortable: i,
|
|
26716
|
+
hideChildrenCounter: r
|
|
26715
26717
|
}) {
|
|
26716
|
-
var
|
|
26718
|
+
var s;
|
|
26717
26719
|
return /* @__PURE__ */ b(Te, { children: [
|
|
26718
26720
|
/* @__PURE__ */ f(
|
|
26719
26721
|
N0,
|
|
26720
26722
|
{
|
|
26721
26723
|
item: t,
|
|
26722
|
-
counter: ((
|
|
26724
|
+
counter: r ? void 0 : ((s = t.children) == null ? void 0 : s.length) ?? 0,
|
|
26723
26725
|
isActive: n,
|
|
26724
26726
|
collapsible: !1,
|
|
26725
26727
|
isExpanded: void 0,
|
|
@@ -26737,7 +26739,8 @@ function S3({
|
|
|
26737
26739
|
collapsible: i,
|
|
26738
26740
|
isExpanded: r,
|
|
26739
26741
|
onToggleExpanded: s,
|
|
26740
|
-
sortable: o
|
|
26742
|
+
sortable: o,
|
|
26743
|
+
hideChildrenCounter: a
|
|
26741
26744
|
}) {
|
|
26742
26745
|
return i ? /* @__PURE__ */ f(
|
|
26743
26746
|
Uj,
|
|
@@ -26747,6 +26750,7 @@ function S3({
|
|
|
26747
26750
|
isExpanded: r,
|
|
26748
26751
|
onToggleExpanded: s,
|
|
26749
26752
|
sortable: o,
|
|
26753
|
+
hideChildrenCounter: a,
|
|
26750
26754
|
children: e
|
|
26751
26755
|
}
|
|
26752
26756
|
) : /* @__PURE__ */ f(
|
|
@@ -26755,6 +26759,7 @@ function S3({
|
|
|
26755
26759
|
item: t,
|
|
26756
26760
|
isActive: n,
|
|
26757
26761
|
sortable: o,
|
|
26762
|
+
hideChildrenCounter: a,
|
|
26758
26763
|
children: e
|
|
26759
26764
|
}
|
|
26760
26765
|
);
|
|
@@ -26787,51 +26792,56 @@ function N3(t, e) {
|
|
|
26787
26792
|
}
|
|
26788
26793
|
return t.map(i).filter(Boolean);
|
|
26789
26794
|
}
|
|
26790
|
-
function kd(t, e, n, i, r, s, o) {
|
|
26791
|
-
const
|
|
26792
|
-
if (
|
|
26793
|
-
const
|
|
26794
|
-
|
|
26795
|
+
function kd(t, e, n, i, r, s, o, a, l) {
|
|
26796
|
+
const c = t.children ? S3 : N0, d = (o == null ? void 0 : o.has(t.id)) ?? !0, u = (h) => {
|
|
26797
|
+
if (l) {
|
|
26798
|
+
const p = { ...t, children: h };
|
|
26799
|
+
l(t.id, p);
|
|
26795
26800
|
}
|
|
26796
26801
|
};
|
|
26797
26802
|
return /* @__PURE__ */ f(
|
|
26798
|
-
|
|
26803
|
+
c,
|
|
26799
26804
|
{
|
|
26800
26805
|
item: t,
|
|
26801
|
-
isActive:
|
|
26802
|
-
collapsible:
|
|
26803
|
-
isExpanded:
|
|
26804
|
-
onToggleExpanded:
|
|
26806
|
+
isActive: i === t.id,
|
|
26807
|
+
collapsible: r && t.children && t.children.length > 0,
|
|
26808
|
+
isExpanded: d,
|
|
26809
|
+
onToggleExpanded: a,
|
|
26805
26810
|
sortable: e,
|
|
26806
|
-
|
|
26811
|
+
hideChildrenCounter: s,
|
|
26812
|
+
children: t.children && (c === S3 || d) && (e ? /* @__PURE__ */ f(
|
|
26807
26813
|
Ra,
|
|
26808
26814
|
{
|
|
26809
26815
|
as: "div",
|
|
26810
26816
|
values: t.children,
|
|
26811
|
-
onReorder:
|
|
26817
|
+
onReorder: u,
|
|
26812
26818
|
axis: "y",
|
|
26813
26819
|
className: "flex flex-col",
|
|
26814
26820
|
children: t.children.map(
|
|
26815
|
-
(
|
|
26816
|
-
|
|
26821
|
+
(h) => kd(
|
|
26822
|
+
h,
|
|
26817
26823
|
e,
|
|
26818
|
-
n,
|
|
26824
|
+
n + 1,
|
|
26819
26825
|
i,
|
|
26820
26826
|
r,
|
|
26821
26827
|
s,
|
|
26822
|
-
o
|
|
26828
|
+
o,
|
|
26829
|
+
a,
|
|
26830
|
+
l
|
|
26823
26831
|
)
|
|
26824
26832
|
)
|
|
26825
26833
|
}
|
|
26826
26834
|
) : t.children.map(
|
|
26827
|
-
(
|
|
26828
|
-
|
|
26835
|
+
(h) => kd(
|
|
26836
|
+
h,
|
|
26829
26837
|
e,
|
|
26830
|
-
n,
|
|
26838
|
+
n + 1,
|
|
26831
26839
|
i,
|
|
26832
26840
|
r,
|
|
26833
26841
|
s,
|
|
26834
|
-
o
|
|
26842
|
+
o,
|
|
26843
|
+
a,
|
|
26844
|
+
l
|
|
26835
26845
|
)
|
|
26836
26846
|
))
|
|
26837
26847
|
},
|
|
@@ -26847,52 +26857,53 @@ function Jj({
|
|
|
26847
26857
|
sortable: s = !1,
|
|
26848
26858
|
showSearchBox: o = !1,
|
|
26849
26859
|
searchPlaceholder: a,
|
|
26850
|
-
onReorder: l
|
|
26860
|
+
onReorder: l,
|
|
26861
|
+
hideChildrenCounter: c = !1
|
|
26851
26862
|
}) {
|
|
26852
|
-
const
|
|
26853
|
-
|
|
26854
|
-
},
|
|
26863
|
+
const d = He(), [u, h] = V(""), p = (L) => {
|
|
26864
|
+
h(L);
|
|
26865
|
+
}, m = de(() => N3(e, u), [e, u]), [g, y] = V(
|
|
26855
26866
|
Gj(e, i)
|
|
26856
|
-
), [
|
|
26857
|
-
id:
|
|
26858
|
-
...
|
|
26859
|
-
})), []),
|
|
26860
|
-
(
|
|
26861
|
-
|
|
26862
|
-
const
|
|
26863
|
-
return
|
|
26867
|
+
), [v, w] = V(e), x = me(null), k = Ie((L) => L.map((C) => ({
|
|
26868
|
+
id: C.id,
|
|
26869
|
+
...C.children && { children: k(C.children) }
|
|
26870
|
+
})), []), S = Ie(
|
|
26871
|
+
(L) => {
|
|
26872
|
+
y((C) => {
|
|
26873
|
+
const E = new Set(C);
|
|
26874
|
+
return E.has(L) ? E.delete(L) : E.add(L), E;
|
|
26864
26875
|
});
|
|
26865
26876
|
},
|
|
26866
|
-
[
|
|
26867
|
-
), S = Ie(
|
|
26868
|
-
(N) => {
|
|
26869
|
-
v(N), l && l(x(N));
|
|
26870
|
-
},
|
|
26871
|
-
[l, x]
|
|
26877
|
+
[y]
|
|
26872
26878
|
), _ = Ie(
|
|
26873
|
-
(
|
|
26874
|
-
|
|
26875
|
-
|
|
26879
|
+
(L) => {
|
|
26880
|
+
w(L), l && l(k(L));
|
|
26881
|
+
},
|
|
26882
|
+
[l, k]
|
|
26883
|
+
), A = Ie(
|
|
26884
|
+
(L, C) => {
|
|
26885
|
+
const E = (D) => D.map((R) => R.id === L ? C : R.children ? { ...R, children: E(R.children) } : R), T = E(v);
|
|
26886
|
+
w(T), l && l(k(T));
|
|
26876
26887
|
},
|
|
26877
|
-
[
|
|
26878
|
-
),
|
|
26888
|
+
[v, l, k]
|
|
26889
|
+
), N = de(() => N3(v, u), [v, u]);
|
|
26879
26890
|
return /* @__PURE__ */ b(
|
|
26880
26891
|
"nav",
|
|
26881
26892
|
{
|
|
26882
|
-
className:
|
|
26893
|
+
className: M(
|
|
26883
26894
|
"flex h-full w-[248px] flex-col overflow-hidden",
|
|
26884
26895
|
n
|
|
26885
26896
|
),
|
|
26886
26897
|
"aria-label": t,
|
|
26887
|
-
ref:
|
|
26898
|
+
ref: x,
|
|
26888
26899
|
children: [
|
|
26889
26900
|
/* @__PURE__ */ b("div", { className: "flex-shrink-0 pb-2 pl-5 pr-4 pt-5", children: [
|
|
26890
26901
|
o && /* @__PURE__ */ f("div", { className: "mb-4", children: /* @__PURE__ */ f(
|
|
26891
26902
|
z5,
|
|
26892
26903
|
{
|
|
26893
|
-
placeholder: a ??
|
|
26894
|
-
onChange:
|
|
26895
|
-
value:
|
|
26904
|
+
placeholder: a ?? d.toc.search,
|
|
26905
|
+
onChange: p,
|
|
26906
|
+
value: u,
|
|
26896
26907
|
clearable: !0
|
|
26897
26908
|
}
|
|
26898
26909
|
) }),
|
|
@@ -26910,32 +26921,36 @@ function Jj({
|
|
|
26910
26921
|
Ra,
|
|
26911
26922
|
{
|
|
26912
26923
|
as: "div",
|
|
26913
|
-
values:
|
|
26914
|
-
onReorder:
|
|
26924
|
+
values: v,
|
|
26925
|
+
onReorder: _,
|
|
26915
26926
|
axis: "y",
|
|
26916
26927
|
className: "flex flex-col gap-0.5",
|
|
26917
|
-
dragConstraints:
|
|
26918
|
-
children:
|
|
26919
|
-
(
|
|
26920
|
-
|
|
26928
|
+
dragConstraints: x,
|
|
26929
|
+
children: N.map(
|
|
26930
|
+
(L) => kd(
|
|
26931
|
+
L,
|
|
26921
26932
|
s,
|
|
26933
|
+
0,
|
|
26922
26934
|
i,
|
|
26923
26935
|
r,
|
|
26924
|
-
|
|
26925
|
-
|
|
26926
|
-
|
|
26936
|
+
c,
|
|
26937
|
+
g,
|
|
26938
|
+
S,
|
|
26939
|
+
A
|
|
26927
26940
|
)
|
|
26928
26941
|
)
|
|
26929
26942
|
}
|
|
26930
|
-
) :
|
|
26931
|
-
(
|
|
26932
|
-
|
|
26943
|
+
) : m.map(
|
|
26944
|
+
(L) => kd(
|
|
26945
|
+
L,
|
|
26933
26946
|
s,
|
|
26947
|
+
0,
|
|
26934
26948
|
i,
|
|
26935
26949
|
r,
|
|
26936
|
-
|
|
26937
|
-
|
|
26938
|
-
|
|
26950
|
+
c,
|
|
26951
|
+
g,
|
|
26952
|
+
S,
|
|
26953
|
+
A
|
|
26939
26954
|
)
|
|
26940
26955
|
) }) })
|
|
26941
26956
|
]
|
|
@@ -26965,7 +26980,7 @@ function Fse({ label: t, options: e, hasNewUpdate: n }) {
|
|
|
26965
26980
|
children: /* @__PURE__ */ f(Cn, { items: Yj(e), children: /* @__PURE__ */ b(
|
|
26966
26981
|
"button",
|
|
26967
26982
|
{
|
|
26968
|
-
className:
|
|
26983
|
+
className: M(
|
|
26969
26984
|
"relative flex h-6 w-6 items-center justify-center rounded-full bg-f1-background-inverse text-f1-foreground-inverse shadow-md transition-all",
|
|
26970
26985
|
mt()
|
|
26971
26986
|
),
|
|
@@ -27075,7 +27090,7 @@ const Qj = ({
|
|
|
27075
27090
|
children: /* @__PURE__ */ b(
|
|
27076
27091
|
"div",
|
|
27077
27092
|
{
|
|
27078
|
-
className:
|
|
27093
|
+
className: M(
|
|
27079
27094
|
"group flex w-fit max-w-full flex-nowrap items-center justify-center gap-1 rounded p-1.5 text-f1-foreground transition-colors hover:bg-f1-background-hover data-[state=open]:bg-f1-background-hover",
|
|
27080
27095
|
mt()
|
|
27081
27096
|
),
|
|
@@ -27105,7 +27120,7 @@ const Qj = ({
|
|
|
27105
27120
|
return /* @__PURE__ */ b(
|
|
27106
27121
|
"div",
|
|
27107
27122
|
{
|
|
27108
|
-
className:
|
|
27123
|
+
className: M(
|
|
27109
27124
|
"flex w-fit min-w-0 max-w-full items-center gap-2 rounded text-lg font-semibold text-f1-foreground transition-colors"
|
|
27110
27125
|
),
|
|
27111
27126
|
children: [
|
|
@@ -27137,7 +27152,7 @@ function zse({
|
|
|
27137
27152
|
/* @__PURE__ */ f("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ f(Cn, { items: e, children: /* @__PURE__ */ b(
|
|
27138
27153
|
"button",
|
|
27139
27154
|
{
|
|
27140
|
-
className:
|
|
27155
|
+
className: M(
|
|
27141
27156
|
"flex w-full max-w-full items-center gap-1.5 rounded p-1.5 font-medium transition-colors hover:bg-f1-background-secondary data-[state=open]:bg-f1-background-secondary",
|
|
27142
27157
|
mt("focus-visible:ring-inset")
|
|
27143
27158
|
),
|
|
@@ -27203,7 +27218,7 @@ function eV({ isExpanded: t }) {
|
|
|
27203
27218
|
strokeWidth: "1.3",
|
|
27204
27219
|
strokeLinecap: "round",
|
|
27205
27220
|
strokeLinejoin: "round",
|
|
27206
|
-
className:
|
|
27221
|
+
className: M(
|
|
27207
27222
|
"translate-x-0 stroke-current transition-all duration-200 ease-out motion-reduce:transition-none",
|
|
27208
27223
|
t ? "opacity-0 group-hover:-translate-x-1 group-hover:opacity-100" : "opacity-1 group-hover:translate-x-[3px]"
|
|
27209
27224
|
)
|
|
@@ -27216,7 +27231,7 @@ function eV({ isExpanded: t }) {
|
|
|
27216
27231
|
d: "M7.5 5L7.5 15",
|
|
27217
27232
|
strokeWidth: "1.3",
|
|
27218
27233
|
strokeLinecap: "round",
|
|
27219
|
-
className:
|
|
27234
|
+
className: M(
|
|
27220
27235
|
"stroke-current transition-all duration-200 ease-out motion-reduce:transition-none",
|
|
27221
27236
|
t ? "translate-x-0 opacity-100 group-hover:-translate-x-0.5 group-hover:opacity-0" : "-translate-x-0.5 opacity-0 group-hover:translate-x-0 group-hover:opacity-100"
|
|
27222
27237
|
)
|
|
@@ -27242,8 +27257,8 @@ function tV() {
|
|
|
27242
27257
|
title: "Close Sidebar",
|
|
27243
27258
|
ref: r,
|
|
27244
27259
|
children: [
|
|
27245
|
-
/* @__PURE__ */ f("div", { className:
|
|
27246
|
-
/* @__PURE__ */ f("div", { className:
|
|
27260
|
+
/* @__PURE__ */ f("div", { className: M("hidden", { flex: !i }), children: /* @__PURE__ */ f(eV, { isExpanded: e === "locked" }) }),
|
|
27261
|
+
/* @__PURE__ */ f("div", { className: M("hidden", { flex: i }), children: /* @__PURE__ */ f(ye, { icon: pi, size: "md" }) })
|
|
27247
27262
|
]
|
|
27248
27263
|
}
|
|
27249
27264
|
);
|
|
@@ -27302,7 +27317,7 @@ const rV = ({
|
|
|
27302
27317
|
{
|
|
27303
27318
|
icon: t.icon,
|
|
27304
27319
|
size: "md",
|
|
27305
|
-
className:
|
|
27320
|
+
className: M(
|
|
27306
27321
|
"transition-colors",
|
|
27307
27322
|
e ? "text-f1-icon-bold" : "text-f1-icon"
|
|
27308
27323
|
)
|
|
@@ -27317,7 +27332,7 @@ const rV = ({
|
|
|
27317
27332
|
un,
|
|
27318
27333
|
{
|
|
27319
27334
|
...r,
|
|
27320
|
-
className:
|
|
27335
|
+
className: M(
|
|
27321
27336
|
"flex cursor-pointer items-center rounded py-1.5 pl-1.5 pr-2 no-underline transition-colors",
|
|
27322
27337
|
mt("focus-visible:ring-inset"),
|
|
27323
27338
|
s ? "bg-f1-background-secondary text-f1-foreground" : "hover:bg-f1-background-secondary"
|
|
@@ -27359,7 +27374,7 @@ const rV = ({
|
|
|
27359
27374
|
y.current = !1;
|
|
27360
27375
|
}, 0);
|
|
27361
27376
|
}, L = d && h === t.href, C = de(
|
|
27362
|
-
() =>
|
|
27377
|
+
() => M(
|
|
27363
27378
|
"group relative cursor-pointer select-none list-none rounded backdrop-blur-sm active:cursor-grabbing",
|
|
27364
27379
|
l && "touch-none",
|
|
27365
27380
|
g ? "bg-f1-background-secondary text-f1-foreground" : "hover:bg-f1-background-secondary",
|
|
@@ -27367,14 +27382,14 @@ const rV = ({
|
|
|
27367
27382
|
L && "bg-f1-background-secondary"
|
|
27368
27383
|
),
|
|
27369
27384
|
[g, v, L, l]
|
|
27370
|
-
),
|
|
27385
|
+
), E = de(() => /* @__PURE__ */ b(Te, { children: [
|
|
27371
27386
|
/* @__PURE__ */ f("div", { className: "flex w-full items-center justify-between px-1.5 py-1.5", children: /* @__PURE__ */ f(lV, { tooltip: e, children: /* @__PURE__ */ b(
|
|
27372
27387
|
un,
|
|
27373
27388
|
{
|
|
27374
27389
|
onClick: t.onClick,
|
|
27375
27390
|
href: t.href,
|
|
27376
27391
|
exactMatch: t.exactMatch,
|
|
27377
|
-
className:
|
|
27392
|
+
className: M(
|
|
27378
27393
|
// w-[calc(100%-24px-2px)] - here 24px is the size of the dropdown button and 2 px is the gap
|
|
27379
27394
|
"flex w-[calc(100%-24px-2px)] items-center gap-1.5 no-underline",
|
|
27380
27395
|
L && "pointer-events-none"
|
|
@@ -27386,7 +27401,7 @@ const rV = ({
|
|
|
27386
27401
|
{
|
|
27387
27402
|
icon: t.icon,
|
|
27388
27403
|
size: "md",
|
|
27389
|
-
className:
|
|
27404
|
+
className: M(
|
|
27390
27405
|
"transition-colors",
|
|
27391
27406
|
g ? "text-f1-icon-bold" : "text-f1-icon"
|
|
27392
27407
|
)
|
|
@@ -27408,7 +27423,7 @@ const rV = ({
|
|
|
27408
27423
|
/* @__PURE__ */ f(
|
|
27409
27424
|
"div",
|
|
27410
27425
|
{
|
|
27411
|
-
className:
|
|
27426
|
+
className: M(
|
|
27412
27427
|
"absolute inset-y-1 right-1 z-10 flex h-6 w-6 items-center justify-center rounded-sm opacity-0 transition-opacity duration-100 hover:bg-f1-background-secondary group-hover:opacity-100",
|
|
27413
27428
|
v && "bg-f1-background-secondary opacity-100",
|
|
27414
27429
|
L && "opacity-100"
|
|
@@ -27438,9 +27453,9 @@ const rV = ({
|
|
|
27438
27453
|
whileDrag: {
|
|
27439
27454
|
scale: 1.05
|
|
27440
27455
|
},
|
|
27441
|
-
children:
|
|
27456
|
+
children: E
|
|
27442
27457
|
}
|
|
27443
|
-
) : /* @__PURE__ */ f("div", { className: C, children:
|
|
27458
|
+
) : /* @__PURE__ */ f("div", { className: C, children: E });
|
|
27444
27459
|
}, H8 = ({
|
|
27445
27460
|
title: t,
|
|
27446
27461
|
isOpen: e = !0,
|
|
@@ -27459,7 +27474,7 @@ const rV = ({
|
|
|
27459
27474
|
/* @__PURE__ */ f("div", { className: "group relative flex items-center", children: /* @__PURE__ */ b(
|
|
27460
27475
|
"div",
|
|
27461
27476
|
{
|
|
27462
|
-
className:
|
|
27477
|
+
className: M(
|
|
27463
27478
|
"group relative flex w-full select-none items-center gap-1 rounded px-1.5 py-2 text-sm font-medium text-f1-foreground-secondary transition-colors hover:cursor-pointer hover:bg-f1-background-secondary",
|
|
27464
27479
|
mt("focus-visible:ring-inset"),
|
|
27465
27480
|
n && "hidden"
|
|
@@ -27536,7 +27551,7 @@ const rV = ({
|
|
|
27536
27551
|
children: /* @__PURE__ */ f(
|
|
27537
27552
|
"div",
|
|
27538
27553
|
{
|
|
27539
|
-
className:
|
|
27554
|
+
className: M(
|
|
27540
27555
|
"flex flex-col gap-0.5",
|
|
27541
27556
|
o && !l.current && "pointer-events-none"
|
|
27542
27557
|
),
|
|
@@ -27670,7 +27685,7 @@ function aV({
|
|
|
27670
27685
|
{}
|
|
27671
27686
|
),
|
|
27672
27687
|
[y]
|
|
27673
|
-
),
|
|
27688
|
+
), E = de(
|
|
27674
27689
|
() => w && y.map((R, z) => /* @__PURE__ */ f(
|
|
27675
27690
|
oV,
|
|
27676
27691
|
{
|
|
@@ -27712,7 +27727,7 @@ function aV({
|
|
|
27712
27727
|
return /* @__PURE__ */ b(
|
|
27713
27728
|
"div",
|
|
27714
27729
|
{
|
|
27715
|
-
className:
|
|
27730
|
+
className: M(
|
|
27716
27731
|
"relative",
|
|
27717
27732
|
u && "cursor-grabbing [&_*]:cursor-grabbing"
|
|
27718
27733
|
),
|
|
@@ -27725,14 +27740,14 @@ function aV({
|
|
|
27725
27740
|
},
|
|
27726
27741
|
`fixed-${z}`
|
|
27727
27742
|
)) }),
|
|
27728
|
-
w && /* @__PURE__ */ f("div", { className: "mt-3 flex w-full flex-col gap-3 bg-transparent px-3", children: /* @__PURE__ */ f(H8, { title: d.favorites.favorites, children: /* @__PURE__ */ f("div", { ref: g, children: c ? /* @__PURE__ */ f("div", { className: L, children:
|
|
27743
|
+
w && /* @__PURE__ */ f("div", { className: "mt-3 flex w-full flex-col gap-3 bg-transparent px-3", children: /* @__PURE__ */ f(H8, { title: d.favorites.favorites, children: /* @__PURE__ */ f("div", { ref: g, children: c ? /* @__PURE__ */ f("div", { className: L, children: E }) : /* @__PURE__ */ f(
|
|
27729
27744
|
Ra,
|
|
27730
27745
|
{
|
|
27731
27746
|
axis: "y",
|
|
27732
27747
|
values: y,
|
|
27733
27748
|
onReorder: x,
|
|
27734
27749
|
className: L,
|
|
27735
|
-
children:
|
|
27750
|
+
children: E
|
|
27736
27751
|
}
|
|
27737
27752
|
) }) }) }),
|
|
27738
27753
|
p && /* @__PURE__ */ f("div", { className: "mt-3 flex w-full flex-col gap-3 bg-transparent px-3", children: t.filter((R) => !R.isRoot).map((R, z) => /* @__PURE__ */ f(
|
|
@@ -27746,7 +27761,7 @@ function aV({
|
|
|
27746
27761
|
m && /* @__PURE__ */ f(
|
|
27747
27762
|
"div",
|
|
27748
27763
|
{
|
|
27749
|
-
className:
|
|
27764
|
+
className: M(
|
|
27750
27765
|
"mt-3 flex w-full flex-col gap-3 bg-transparent px-3 [&_li]:list-none"
|
|
27751
27766
|
),
|
|
27752
27767
|
ref: i,
|
|
@@ -27781,7 +27796,7 @@ function jse({
|
|
|
27781
27796
|
"button",
|
|
27782
27797
|
{
|
|
27783
27798
|
onClick: t,
|
|
27784
|
-
className:
|
|
27799
|
+
className: M(
|
|
27785
27800
|
"mb-[calc(0.75rem-1px)] flex w-full cursor-pointer items-center justify-between rounded bg-f1-background-inverse-secondary p-1.5 text-f1-foreground-secondary ring-1 ring-inset ring-f1-border-secondary transition-all hover:ring-f1-border-hover",
|
|
27786
27801
|
mt()
|
|
27787
27802
|
),
|
|
@@ -27804,7 +27819,7 @@ const E3 = ({ position: t }) => /* @__PURE__ */ f(
|
|
|
27804
27819
|
animate: { opacity: 0.5 },
|
|
27805
27820
|
exit: { opacity: 0 },
|
|
27806
27821
|
transition: { duration: 0.2, ease: "easeOut" },
|
|
27807
|
-
className:
|
|
27822
|
+
className: M(
|
|
27808
27823
|
"pointer-events-none absolute inset-x-0 z-10 h-3 after:absolute after:inset-x-0 after:h-px after:bg-f1-background-inverse after:opacity-[0.04] after:content-['']",
|
|
27809
27824
|
t === "top" ? [
|
|
27810
27825
|
"top-0",
|
|
@@ -27843,9 +27858,9 @@ function Vse({
|
|
|
27843
27858
|
{
|
|
27844
27859
|
initial: !1,
|
|
27845
27860
|
"aria-label": u.navigation.sidebar,
|
|
27846
|
-
className:
|
|
27861
|
+
className: M(
|
|
27847
27862
|
"absolute bottom-0 left-0 top-0 z-10 flex w-[var(--ds-sidebar-width)] flex-col transition-[background-color]",
|
|
27848
|
-
r === "locked" ? "h-full" :
|
|
27863
|
+
r === "locked" ? "h-full" : M(
|
|
27849
27864
|
"shadow-lg ring-1 ring-f1-border-secondary backdrop-blur-2xl",
|
|
27850
27865
|
s ? "h-full border-y-transparent border-l-transparent bg-f1-background/90" : "h-[calc(100%-16px)] bg-f1-background/60"
|
|
27851
27866
|
)
|
|
@@ -28019,7 +28034,7 @@ const mV = ({
|
|
|
28019
28034
|
/* @__PURE__ */ f(
|
|
28020
28035
|
"div",
|
|
28021
28036
|
{
|
|
28022
|
-
className:
|
|
28037
|
+
className: M(
|
|
28023
28038
|
"flex size-5 items-center justify-center rounded-xs text-sm font-medium",
|
|
28024
28039
|
s < i ? "bg-f1-background-selected-bold text-f1-foreground-inverse" : "border border-solid border-f1-border-secondary bg-f1-background-secondary text-f1-foreground"
|
|
28025
28040
|
),
|
|
@@ -28104,7 +28119,7 @@ const A3 = ({ message: t }) => /* @__PURE__ */ b("div", { className: "flex w-ful
|
|
|
28104
28119
|
animate: { opacity: 1, y: 0, filter: "blur(0px)" },
|
|
28105
28120
|
exit: { opacity: 0, y: 32, filter: "blur(6px)" },
|
|
28106
28121
|
transition: { ease: [0.175, 0.885, 0.32, 1.275], duration: 0.3 },
|
|
28107
|
-
className:
|
|
28122
|
+
className: M(
|
|
28108
28123
|
"fixed bottom-2 left-2 right-2 z-50 flex h-fit w-[calc(100%-16px)] flex-col gap-2 rounded-xl bg-f1-background-inverse p-2 text-f1-foreground-inverse shadow-lg backdrop-blur-sm dark:bg-f1-background-inverse-secondary sm:bottom-5 sm:mx-auto sm:h-12 sm:w-max sm:flex-row sm:gap-8",
|
|
28109
28124
|
s && "sm:py-1 sm:pr-1"
|
|
28110
28125
|
),
|
|
@@ -28140,7 +28155,7 @@ const A3 = ({ message: t }) => /* @__PURE__ */ b("div", { className: "flex w-ful
|
|
|
28140
28155
|
/* @__PURE__ */ f(
|
|
28141
28156
|
"div",
|
|
28142
28157
|
{
|
|
28143
|
-
className:
|
|
28158
|
+
className: M(
|
|
28144
28159
|
"flex flex-col items-center gap-2 sm:hidden",
|
|
28145
28160
|
!s && "[&_button]:w-full [&_div]:w-full"
|
|
28146
28161
|
),
|
|
@@ -28413,7 +28428,7 @@ function SV({
|
|
|
28413
28428
|
}, N = de(
|
|
28414
28429
|
() => m.calendarView || "day",
|
|
28415
28430
|
[m]
|
|
28416
|
-
), [L, C] = V(o || void 0),
|
|
28431
|
+
), [L, C] = V(o || void 0), E = de(() => {
|
|
28417
28432
|
const D = (s ?? {})[p] || [];
|
|
28418
28433
|
if (!(u != null && u.value))
|
|
28419
28434
|
return [];
|
|
@@ -28450,9 +28465,9 @@ function SV({
|
|
|
28450
28465
|
return se(() => {
|
|
28451
28466
|
var D;
|
|
28452
28467
|
a == null || a(
|
|
28453
|
-
L ? (D =
|
|
28468
|
+
L ? (D = E[+L]) == null ? void 0 : D.dateValue : void 0
|
|
28454
28469
|
);
|
|
28455
|
-
}, [L, a,
|
|
28470
|
+
}, [L, a, E]), /* @__PURE__ */ b(Lf, { open: c.open, onOpenChange: c.onOpenChange, children: [
|
|
28456
28471
|
/* @__PURE__ */ f(Ef, { asChild: !0, children: r }),
|
|
28457
28472
|
/* @__PURE__ */ f(Mf, { className: "w-full overflow-auto", align: "start", children: _ ? /* @__PURE__ */ f(
|
|
28458
28473
|
CV,
|
|
@@ -28497,7 +28512,7 @@ function SV({
|
|
|
28497
28512
|
maxDate: c.maxDate
|
|
28498
28513
|
}
|
|
28499
28514
|
),
|
|
28500
|
-
|
|
28515
|
+
E.length > 0 && /* @__PURE__ */ b("div", { className: "mt-4 flex flex-col gap-2", children: [
|
|
28501
28516
|
/* @__PURE__ */ f("div", { className: "text-gray-500 text-sm", children: d.date.compareTo }),
|
|
28502
28517
|
/* @__PURE__ */ f(
|
|
28503
28518
|
Rr,
|
|
@@ -28505,7 +28520,7 @@ function SV({
|
|
|
28505
28520
|
label: d.date.compareTo,
|
|
28506
28521
|
hideLabel: !0,
|
|
28507
28522
|
placeholder: d.date.compareTo,
|
|
28508
|
-
options:
|
|
28523
|
+
options: E.map((D) => ({
|
|
28509
28524
|
label: D.label,
|
|
28510
28525
|
value: D.value,
|
|
28511
28526
|
description: D.description ?? ""
|
|
@@ -28542,7 +28557,7 @@ const q8 = U(
|
|
|
28542
28557
|
return [
|
|
28543
28558
|
t.value,
|
|
28544
28559
|
Array.isArray(e) ? e[0] : e
|
|
28545
|
-
].filter((C) => C !== void 0).sort((C,
|
|
28560
|
+
].filter((C) => C !== void 0).sort((C, E) => (C == null ? void 0 : C.from.getTime()) - (E == null ? void 0 : E.from.getTime())).map((C) => N.toString(C, p, "long"));
|
|
28546
28561
|
}, [t, p, e]), g = de(() => Object.values(m).join(" ⸱ "), [m]), y = (N) => {
|
|
28547
28562
|
N && (n == null || n(N));
|
|
28548
28563
|
}, v = de(() => {
|
|
@@ -28575,7 +28590,7 @@ const q8 = U(
|
|
|
28575
28590
|
"div",
|
|
28576
28591
|
{
|
|
28577
28592
|
ref: h,
|
|
28578
|
-
className:
|
|
28593
|
+
className: M(
|
|
28579
28594
|
"inline-flex cursor-auto appearance-none gap-1 rounded-md border-0 bg-f1-background px-1 ring-1 ring-inset ring-f1-border transition-all placeholder:text-f1-foreground-tertiary hover:ring-f1-border-hover",
|
|
28580
28595
|
"[%>*] py-1",
|
|
28581
28596
|
mt("focus:ring-f1-border-hover"),
|
|
@@ -28588,7 +28603,7 @@ const q8 = U(
|
|
|
28588
28603
|
/* @__PURE__ */ b(
|
|
28589
28604
|
"div",
|
|
28590
28605
|
{
|
|
28591
|
-
className:
|
|
28606
|
+
className: M(
|
|
28592
28607
|
"flex flex-1 gap-1",
|
|
28593
28608
|
l ? "justify-between" : "justify-center"
|
|
28594
28609
|
),
|
|
@@ -28613,7 +28628,7 @@ const q8 = U(
|
|
|
28613
28628
|
label: g,
|
|
28614
28629
|
onClick: a,
|
|
28615
28630
|
disabled: i,
|
|
28616
|
-
className:
|
|
28631
|
+
className: M(o && "bg-f1-background-secondary-hover")
|
|
28617
28632
|
}
|
|
28618
28633
|
),
|
|
28619
28634
|
l && /* @__PURE__ */ f(
|
|
@@ -28851,7 +28866,7 @@ const EV = (t) => "date" in t, MV = {
|
|
|
28851
28866
|
{
|
|
28852
28867
|
layout: !0,
|
|
28853
28868
|
ref: o,
|
|
28854
|
-
className:
|
|
28869
|
+
className: M(
|
|
28855
28870
|
"relative flex h-8 w-fit min-w-8 max-w-[180px] items-center justify-center",
|
|
28856
28871
|
(i || t) && "w-[180px]"
|
|
28857
28872
|
),
|
|
@@ -28897,7 +28912,7 @@ const EV = (t) => "date" in t, MV = {
|
|
|
28897
28912
|
ce.div,
|
|
28898
28913
|
{
|
|
28899
28914
|
tabIndex: 0,
|
|
28900
|
-
className:
|
|
28915
|
+
className: M(
|
|
28901
28916
|
"flex h-5 w-5 items-center justify-center rounded-full",
|
|
28902
28917
|
mt()
|
|
28903
28918
|
),
|
|
@@ -28928,7 +28943,7 @@ const EV = (t) => "date" in t, MV = {
|
|
|
28928
28943
|
tabIndex: 0,
|
|
28929
28944
|
layout: !0,
|
|
28930
28945
|
layoutId: "search-container",
|
|
28931
|
-
className:
|
|
28946
|
+
className: M(
|
|
28932
28947
|
"relative h-8 w-full bg-f1-border p-px transition-colors hover:bg-f1-border-hover",
|
|
28933
28948
|
mt()
|
|
28934
28949
|
),
|
|
@@ -28963,7 +28978,7 @@ const EV = (t) => "date" in t, MV = {
|
|
|
28963
28978
|
ce.div,
|
|
28964
28979
|
{
|
|
28965
28980
|
tabIndex: 0,
|
|
28966
|
-
className:
|
|
28981
|
+
className: M(
|
|
28967
28982
|
"flex h-5 w-5 items-center justify-center rounded-full",
|
|
28968
28983
|
mt()
|
|
28969
28984
|
),
|
|
@@ -29025,7 +29040,7 @@ const K8 = ({ className: t, ...e }) => /* @__PURE__ */ f(
|
|
|
29025
29040
|
{
|
|
29026
29041
|
role: "navigation",
|
|
29027
29042
|
"aria-label": "pagination",
|
|
29028
|
-
className:
|
|
29043
|
+
className: M("flex w-full justify-center", t),
|
|
29029
29044
|
...e
|
|
29030
29045
|
}
|
|
29031
29046
|
);
|
|
@@ -29034,12 +29049,12 @@ const G8 = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
|
29034
29049
|
"div",
|
|
29035
29050
|
{
|
|
29036
29051
|
ref: n,
|
|
29037
|
-
className:
|
|
29052
|
+
className: M("flex list-none flex-row items-center gap-1", t),
|
|
29038
29053
|
...e
|
|
29039
29054
|
}
|
|
29040
29055
|
));
|
|
29041
29056
|
G8.displayName = "PaginationContent";
|
|
29042
|
-
const Lc = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f("div", { ref: n, className:
|
|
29057
|
+
const Lc = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f("div", { ref: n, className: M("", t), ...e }));
|
|
29043
29058
|
Lc.displayName = "PaginationItem";
|
|
29044
29059
|
const du = ({
|
|
29045
29060
|
className: t,
|
|
@@ -29049,7 +29064,7 @@ const du = ({
|
|
|
29049
29064
|
"a",
|
|
29050
29065
|
{
|
|
29051
29066
|
"aria-current": e ? "page" : void 0,
|
|
29052
|
-
className:
|
|
29067
|
+
className: M(
|
|
29053
29068
|
"flex h-8 min-w-8 select-none items-center justify-center rounded px-1.5 font-medium text-f1-foreground-secondary transition-all hover:cursor-pointer hover:bg-f1-background-secondary-hover",
|
|
29054
29069
|
e && "bg-f1-background-selected-bold font-semibold text-f1-foreground-inverse hover:bg-f1-background-selected-bold-hover",
|
|
29055
29070
|
mt(),
|
|
@@ -29067,7 +29082,7 @@ const J8 = ({
|
|
|
29067
29082
|
{
|
|
29068
29083
|
role: "button",
|
|
29069
29084
|
"aria-label": "Go to previous page",
|
|
29070
|
-
className:
|
|
29085
|
+
className: M(
|
|
29071
29086
|
"border border-solid border-f1-border hover:border-f1-border-hover hover:bg-f1-background",
|
|
29072
29087
|
t
|
|
29073
29088
|
),
|
|
@@ -29084,7 +29099,7 @@ const Y8 = ({
|
|
|
29084
29099
|
{
|
|
29085
29100
|
role: "button",
|
|
29086
29101
|
"aria-label": "Go to next page",
|
|
29087
|
-
className:
|
|
29102
|
+
className: M(
|
|
29088
29103
|
"border border-solid border-f1-border hover:border-f1-border-hover hover:bg-f1-background",
|
|
29089
29104
|
t
|
|
29090
29105
|
),
|
|
@@ -29101,7 +29116,7 @@ const Z8 = ({
|
|
|
29101
29116
|
{
|
|
29102
29117
|
role: "presentation",
|
|
29103
29118
|
"aria-hidden": !0,
|
|
29104
|
-
className:
|
|
29119
|
+
className: M("flex h-9 w-9 items-center justify-center", t),
|
|
29105
29120
|
...e,
|
|
29106
29121
|
children: /* @__PURE__ */ f(ye, { icon: Gc })
|
|
29107
29122
|
}
|
|
@@ -29150,7 +29165,7 @@ function OV({
|
|
|
29150
29165
|
{
|
|
29151
29166
|
"aria-disabled": e === 1 || a,
|
|
29152
29167
|
tabIndex: e === 1 ? -1 : 0,
|
|
29153
|
-
className:
|
|
29168
|
+
className: M(
|
|
29154
29169
|
!l && "mr-1",
|
|
29155
29170
|
e === 1 || a ? "pointer-events-none opacity-50" : ""
|
|
29156
29171
|
),
|
|
@@ -29163,7 +29178,7 @@ function OV({
|
|
|
29163
29178
|
!l && d.map((u, h) => /* @__PURE__ */ f(
|
|
29164
29179
|
Lc,
|
|
29165
29180
|
{
|
|
29166
|
-
className:
|
|
29181
|
+
className: M(
|
|
29167
29182
|
"hidden sm:flex",
|
|
29168
29183
|
u === e && "flex",
|
|
29169
29184
|
a && "pointer-events-none opacity-50"
|
|
@@ -29189,7 +29204,7 @@ function OV({
|
|
|
29189
29204
|
{
|
|
29190
29205
|
"aria-disabled": (l ? !o : e === t) || a,
|
|
29191
29206
|
tabIndex: l ? o ? 0 : -1 : e === t ? -1 : 0,
|
|
29192
|
-
className:
|
|
29207
|
+
className: M(
|
|
29193
29208
|
!l && "ml-1",
|
|
29194
29209
|
!l && e === t || !o && l || a ? "pointer-events-none opacity-50" : ""
|
|
29195
29210
|
),
|
|
@@ -29210,7 +29225,7 @@ const E0 = ({
|
|
|
29210
29225
|
return KS(t) && /* @__PURE__ */ b(
|
|
29211
29226
|
"div",
|
|
29212
29227
|
{
|
|
29213
|
-
className:
|
|
29228
|
+
className: M(
|
|
29214
29229
|
"flex w-full items-center justify-between px-4",
|
|
29215
29230
|
n
|
|
29216
29231
|
),
|
|
@@ -29374,13 +29389,13 @@ const E0 = ({
|
|
|
29374
29389
|
return /* @__PURE__ */ b("div", { className: "flex min-h-0 flex-1 flex-col gap-4", children: [
|
|
29375
29390
|
/* @__PURE__ */ f("div", { className: "overflow-auto", children: m ? /* @__PURE__ */ f(X8, { children: Array.from({ length: 8 }).map((L, C) => /* @__PURE__ */ b(Rf, { children: [
|
|
29376
29391
|
/* @__PURE__ */ f(Pf, { children: /* @__PURE__ */ f(Ff, { "aria-label": "Loading card", children: /* @__PURE__ */ f(ie, { className: "h-4 w-3/4" }) }) }),
|
|
29377
|
-
/* @__PURE__ */ f(zf, { className: "space-y-2", children: t.map((
|
|
29392
|
+
/* @__PURE__ */ f(zf, { className: "space-y-2", children: t.map((E) => /* @__PURE__ */ b("div", { className: "space-y-1", children: [
|
|
29378
29393
|
/* @__PURE__ */ f(ie, { className: "h-3 w-1/4" }),
|
|
29379
29394
|
/* @__PURE__ */ f(ie, { className: "h-3 w-1/2" })
|
|
29380
|
-
] }, String(
|
|
29395
|
+
] }, String(E.label))) })
|
|
29381
29396
|
] }, C)) }) : /* @__PURE__ */ b(Te, { children: [
|
|
29382
29397
|
(u == null ? void 0 : u.type) === "grouped" && u.groups.map((L) => {
|
|
29383
|
-
var C,
|
|
29398
|
+
var C, E;
|
|
29384
29399
|
return /* @__PURE__ */ b(Te, { children: [
|
|
29385
29400
|
/* @__PURE__ */ f(
|
|
29386
29401
|
Jf,
|
|
@@ -29391,7 +29406,7 @@ const E0 = ({
|
|
|
29391
29406
|
open: S[L.key],
|
|
29392
29407
|
selectable: !!o.selectable,
|
|
29393
29408
|
showOpenChange: x,
|
|
29394
|
-
select: (C = y[L.key]) != null && C.checked ? !0 : (
|
|
29409
|
+
select: (C = y[L.key]) != null && C.checked ? !0 : (E = y[L.key]) != null && E.indeterminate ? "indeterminate" : !1,
|
|
29395
29410
|
onSelectChange: (T) => w(L, T),
|
|
29396
29411
|
className: "px-4 pb-2 pt-4"
|
|
29397
29412
|
}
|
|
@@ -29755,7 +29770,7 @@ function ZV({
|
|
|
29755
29770
|
"div",
|
|
29756
29771
|
{
|
|
29757
29772
|
ref: l,
|
|
29758
|
-
className:
|
|
29773
|
+
className: M(
|
|
29759
29774
|
"group relative my-1",
|
|
29760
29775
|
s && "cursor-grab active:cursor-grabbing",
|
|
29761
29776
|
h && "mt-1.5",
|
|
@@ -29772,7 +29787,7 @@ function ZV({
|
|
|
29772
29787
|
style: {
|
|
29773
29788
|
zIndex: 1
|
|
29774
29789
|
},
|
|
29775
|
-
className:
|
|
29790
|
+
className: M(
|
|
29776
29791
|
"z-1 pointer-events-none absolute inset-0 block rounded-xl",
|
|
29777
29792
|
mt()
|
|
29778
29793
|
),
|
|
@@ -29863,7 +29878,7 @@ function eH({
|
|
|
29863
29878
|
/* @__PURE__ */ f("div", { className: "flex min-h-0 flex-1 flex-col px-1 pb-1", children: l ? /* @__PURE__ */ b(
|
|
29864
29879
|
Qn,
|
|
29865
29880
|
{
|
|
29866
|
-
className:
|
|
29881
|
+
className: M(
|
|
29867
29882
|
"relative h-auto flex-1 rounded-lg",
|
|
29868
29883
|
l && "select-none opacity-50 transition-opacity"
|
|
29869
29884
|
),
|
|
@@ -29885,7 +29900,7 @@ function eH({
|
|
|
29885
29900
|
/* @__PURE__ */ f(Qn, { className: "h-auto flex-1", children: /* @__PURE__ */ b(
|
|
29886
29901
|
"div",
|
|
29887
29902
|
{
|
|
29888
|
-
className:
|
|
29903
|
+
className: M(
|
|
29889
29904
|
d && "select-none opacity-50 transition-opacity"
|
|
29890
29905
|
),
|
|
29891
29906
|
"aria-live": d ? "polite" : void 0,
|
|
@@ -30031,11 +30046,11 @@ function oH({
|
|
|
30031
30046
|
if (S) {
|
|
30032
30047
|
const _ = S.getBoundingClientRect(), A = (x = v.current.input) == null ? void 0 : x.clientY, N = (k = v.current.input) == null ? void 0 : k.clientX;
|
|
30033
30048
|
if (typeof A == "number" && typeof N == "number") {
|
|
30034
|
-
const L = _.top + _.height / 2, C = A - L,
|
|
30049
|
+
const L = _.top + _.height / 2, C = A - L, E = 24, T = 300, D = _.height / 2;
|
|
30035
30050
|
let R = 0;
|
|
30036
|
-
if (Math.abs(C) >
|
|
30051
|
+
if (Math.abs(C) > E) {
|
|
30037
30052
|
const $ = Math.min(
|
|
30038
|
-
Math.abs(C) -
|
|
30053
|
+
Math.abs(C) - E,
|
|
30039
30054
|
D
|
|
30040
30055
|
) / D;
|
|
30041
30056
|
R = Math.sign(C) * T * $;
|
|
@@ -30047,13 +30062,13 @@ function oH({
|
|
|
30047
30062
|
u.current = 0;
|
|
30048
30063
|
},
|
|
30049
30064
|
onDrop: async ({ location: v, source: w }) => {
|
|
30050
|
-
var
|
|
30065
|
+
var E, T, D;
|
|
30051
30066
|
const x = String(w.data.id);
|
|
30052
30067
|
w.data.data, i.items.findIndex(
|
|
30053
30068
|
(R) => R.id === x
|
|
30054
30069
|
);
|
|
30055
30070
|
const S = String(
|
|
30056
|
-
((
|
|
30071
|
+
((E = w.data.data) == null ? void 0 : E.laneId) ?? ""
|
|
30057
30072
|
) || String(
|
|
30058
30073
|
((D = (T = v.initial.dropTargets.find(
|
|
30059
30074
|
(R) => R.data.type === "list-droppable"
|
|
@@ -30126,7 +30141,7 @@ function oH({
|
|
|
30126
30141
|
"div",
|
|
30127
30142
|
{
|
|
30128
30143
|
ref: l,
|
|
30129
|
-
className:
|
|
30144
|
+
className: M(
|
|
30130
30145
|
"pointer-events-none absolute inset-0 z-[1]",
|
|
30131
30146
|
"bg-transparent"
|
|
30132
30147
|
),
|
|
@@ -30161,12 +30176,12 @@ function P3(t) {
|
|
|
30161
30176
|
const k = () => {
|
|
30162
30177
|
const N = performance.now(), L = v.current ?? N, C = (N - L) / 1e3;
|
|
30163
30178
|
v.current = N;
|
|
30164
|
-
const
|
|
30165
|
-
if (!d || !
|
|
30179
|
+
const E = m.current;
|
|
30180
|
+
if (!d || !E || y.current === 0) {
|
|
30166
30181
|
g.current != null && (window.cancelAnimationFrame(g.current), g.current = null), v.current = null;
|
|
30167
30182
|
return;
|
|
30168
30183
|
}
|
|
30169
|
-
|
|
30184
|
+
E.scrollLeft += y.current * C, g.current = window.requestAnimationFrame(k);
|
|
30170
30185
|
}, S = (N) => {
|
|
30171
30186
|
y.current = N, g.current == null && (v.current = null, g.current = window.requestAnimationFrame(k));
|
|
30172
30187
|
}, _ = () => {
|
|
@@ -30200,31 +30215,31 @@ function P3(t) {
|
|
|
30200
30215
|
}, x = async (k) => {
|
|
30201
30216
|
var he;
|
|
30202
30217
|
const { fromLaneId: S, toLaneId: _, sourceId: A, indexOfTarget: N, position: L } = k, C = l;
|
|
30203
|
-
let
|
|
30218
|
+
let E = C.findIndex((K) => K.id === S);
|
|
30204
30219
|
const T = C.findIndex((K) => K.id === _);
|
|
30205
30220
|
if (T === -1) return Promise.reject(new Error("Lane not found"));
|
|
30206
30221
|
let D = -1;
|
|
30207
|
-
if (
|
|
30222
|
+
if (E !== -1 && (D = C[E].items.findIndex((K, O) => String(i(K, O, S)) === String(A))), D === -1)
|
|
30208
30223
|
for (let K = 0; K < C.length; K++) {
|
|
30209
30224
|
const O = C[K].id, ve = C[K].items.findIndex((Ce, I) => String(i(Ce, I, O)) === String(A));
|
|
30210
30225
|
if (ve !== -1) {
|
|
30211
|
-
|
|
30226
|
+
E = K, D = ve;
|
|
30212
30227
|
break;
|
|
30213
30228
|
}
|
|
30214
30229
|
}
|
|
30215
|
-
if (
|
|
30230
|
+
if (E === -1 || D === -1)
|
|
30216
30231
|
return Promise.resolve(void 0);
|
|
30217
|
-
const R = C[
|
|
30232
|
+
const R = C[E].items[D];
|
|
30218
30233
|
let z = 0;
|
|
30219
30234
|
N == null ? z = 0 : z = N + (L === "below" ? 1 : 0);
|
|
30220
30235
|
const $ = S === _, G = C.map((K, O) => {
|
|
30221
|
-
if (O ===
|
|
30236
|
+
if (O === E && $) {
|
|
30222
30237
|
const ve = [...K.items];
|
|
30223
30238
|
ve.splice(D, 1);
|
|
30224
30239
|
const Ce = D < z ? z - 1 : z;
|
|
30225
30240
|
return ve.splice(Ce, 0, R), { ...K, items: ve };
|
|
30226
30241
|
}
|
|
30227
|
-
if (O ===
|
|
30242
|
+
if (O === E) {
|
|
30228
30243
|
const ve = [...K.items];
|
|
30229
30244
|
ve.splice(D, 1);
|
|
30230
30245
|
const Ce = typeof K.total == "number" && !$ ? Math.max(0, K.total - 1) : K.total;
|
|
@@ -30261,7 +30276,7 @@ function P3(t) {
|
|
|
30261
30276
|
throw c(C), K;
|
|
30262
30277
|
}
|
|
30263
30278
|
};
|
|
30264
|
-
return /* @__PURE__ */ b("div", { className:
|
|
30279
|
+
return /* @__PURE__ */ b("div", { className: M("relative w-full px-4", r), children: [
|
|
30265
30280
|
/* @__PURE__ */ f(Qn, { className: "w-full", viewportRef: m, children: /* @__PURE__ */ f("div", { className: "mb-2 flex gap-2", children: l.map(
|
|
30266
30281
|
(k, S) => {
|
|
30267
30282
|
const _ = k.total ?? k.items.length;
|
|
@@ -30299,7 +30314,7 @@ function P3(t) {
|
|
|
30299
30314
|
"div",
|
|
30300
30315
|
{
|
|
30301
30316
|
ref: h,
|
|
30302
|
-
className:
|
|
30317
|
+
className: M(
|
|
30303
30318
|
"pointer-events-none absolute left-0 top-0 z-[9999] h-full w-12 select-none",
|
|
30304
30319
|
d ? "pointer-events-auto" : "opacity-0"
|
|
30305
30320
|
),
|
|
@@ -30310,7 +30325,7 @@ function P3(t) {
|
|
|
30310
30325
|
"div",
|
|
30311
30326
|
{
|
|
30312
30327
|
ref: p,
|
|
30313
|
-
className:
|
|
30328
|
+
className: M(
|
|
30314
30329
|
"pointer-events-none absolute right-0 top-0 z-[9999] h-full w-12 select-none",
|
|
30315
30330
|
d ? "pointer-events-auto" : "opacity-0"
|
|
30316
30331
|
),
|
|
@@ -30332,29 +30347,29 @@ const lH = ({
|
|
|
30332
30347
|
onLoadData: c
|
|
30333
30348
|
}) => {
|
|
30334
30349
|
const { lanesProvider: d, lanesHooks: u } = FV(o, {
|
|
30335
|
-
onError: (
|
|
30350
|
+
onError: (E) => l(E)
|
|
30336
30351
|
}), h = eN();
|
|
30337
30352
|
if (o.currentGrouping && h)
|
|
30338
30353
|
throw new Error("Grouping is not supported in Kanban yet");
|
|
30339
30354
|
const [p] = V(() => Symbol("kanban-visualization")), m = o.idProvider, g = de(() => JSON.stringify(
|
|
30340
|
-
Object.values(u).map((
|
|
30341
|
-
), [u]), y = de(() => t.map((
|
|
30355
|
+
Object.values(u).map((E) => E.data)
|
|
30356
|
+
), [u]), y = de(() => t.map((E) => {
|
|
30342
30357
|
var T, D;
|
|
30343
30358
|
return {
|
|
30344
|
-
...
|
|
30345
|
-
items: ((D = (T = u[
|
|
30359
|
+
...E,
|
|
30360
|
+
items: ((D = (T = u[E.id]) == null ? void 0 : T.data) == null ? void 0 : D.records) || []
|
|
30346
30361
|
};
|
|
30347
|
-
}), [g]), v = (
|
|
30362
|
+
}), [g]), v = (E) => E.map(
|
|
30348
30363
|
({ icon: T, property: D }) => D.type === "file" ? { property: D } : { icon: T, property: D }
|
|
30349
|
-
), w = (
|
|
30350
|
-
lanes: y.map((
|
|
30364
|
+
), w = (E) => !!(E && E.type === "infinite-scroll"), x = {
|
|
30365
|
+
lanes: y.map((E) => {
|
|
30351
30366
|
var z, $;
|
|
30352
|
-
const T = u[
|
|
30367
|
+
const T = u[E.id], D = (z = T == null ? void 0 : T.paginationInfo) == null ? void 0 : z.total, R = w(T == null ? void 0 : T.paginationInfo) && (($ = T == null ? void 0 : T.paginationInfo) == null ? void 0 : $.hasMore);
|
|
30353
30368
|
return {
|
|
30354
|
-
id:
|
|
30355
|
-
title:
|
|
30356
|
-
items:
|
|
30357
|
-
variant:
|
|
30369
|
+
id: E.id,
|
|
30370
|
+
title: E.title,
|
|
30371
|
+
items: E.items,
|
|
30372
|
+
variant: E.variant,
|
|
30358
30373
|
total: D,
|
|
30359
30374
|
hasMore: R,
|
|
30360
30375
|
loading: (T == null ? void 0 : T.isLoading) || !1,
|
|
@@ -30363,38 +30378,38 @@ const lH = ({
|
|
|
30363
30378
|
};
|
|
30364
30379
|
}),
|
|
30365
30380
|
loading: Object.values(u).some(
|
|
30366
|
-
(
|
|
30381
|
+
(E) => E.isInitialLoading
|
|
30367
30382
|
),
|
|
30368
|
-
getKey: (
|
|
30369
|
-
if (m) return String(m(
|
|
30370
|
-
const D =
|
|
30383
|
+
getKey: (E, T) => {
|
|
30384
|
+
if (m) return String(m(E, T));
|
|
30385
|
+
const D = E == null ? void 0 : E.id;
|
|
30371
30386
|
return D != null ? String(D) : String(T);
|
|
30372
30387
|
},
|
|
30373
|
-
renderCard: (
|
|
30388
|
+
renderCard: (E, T, D, R) => {
|
|
30374
30389
|
const z = String(
|
|
30375
|
-
m ? m(
|
|
30376
|
-
), $ = o.selectable ? o.selectable(
|
|
30390
|
+
m ? m(E, T) : (E == null ? void 0 : E.id) ?? T
|
|
30391
|
+
), $ = o.selectable ? o.selectable(E) : E.id, G = C && R ? C.get(R) : void 0, he = (typeof $ == "string" || typeof $ == "number") && G && (G == null ? void 0 : G.selectedItems.has($)), K = o.itemUrl ? o.itemUrl(E) : void 0, O = o.itemOnClick ? o.itemOnClick(E) : void 0;
|
|
30377
30392
|
return /* @__PURE__ */ f(
|
|
30378
30393
|
ZV,
|
|
30379
30394
|
{
|
|
30380
|
-
drag: { id: z, type: "list-card", data: { ...
|
|
30381
|
-
id: String(
|
|
30395
|
+
drag: { id: z, type: "list-card", data: { ...E, laneId: R } },
|
|
30396
|
+
id: String(E.id),
|
|
30382
30397
|
index: T,
|
|
30383
30398
|
total: D,
|
|
30384
30399
|
laneId: R,
|
|
30385
30400
|
showIndicator: _,
|
|
30386
|
-
title: e ? e(
|
|
30387
|
-
description: n ? n(
|
|
30388
|
-
avatar: i ? i(
|
|
30401
|
+
title: e ? e(E) : String(T),
|
|
30402
|
+
description: n ? n(E) : void 0,
|
|
30403
|
+
avatar: i ? i(E) : void 0,
|
|
30389
30404
|
draggable: s !== void 0,
|
|
30390
|
-
metadata: r ? v(r(
|
|
30405
|
+
metadata: r ? v(r(E)) : void 0,
|
|
30391
30406
|
compact: !0,
|
|
30392
30407
|
forceVerticalMetadata: !0,
|
|
30393
30408
|
selectable: o.selectable !== void 0,
|
|
30394
30409
|
selected: he,
|
|
30395
|
-
"data-testid": `kanban-card-${String(
|
|
30410
|
+
"data-testid": `kanban-card-${String(E.id)}`,
|
|
30396
30411
|
onSelect: (ve) => {
|
|
30397
|
-
G && G.handleSelectItemChange(
|
|
30412
|
+
G && G.handleSelectItemChange(E, ve);
|
|
30398
30413
|
},
|
|
30399
30414
|
onClick: O,
|
|
30400
30415
|
link: K
|
|
@@ -30403,16 +30418,16 @@ const lH = ({
|
|
|
30403
30418
|
);
|
|
30404
30419
|
}
|
|
30405
30420
|
}, k = de(() => {
|
|
30406
|
-
const
|
|
30407
|
-
if (
|
|
30408
|
-
return
|
|
30421
|
+
const E = Object.values(u);
|
|
30422
|
+
if (E.length !== 0)
|
|
30423
|
+
return E.reduce((T, D) => {
|
|
30409
30424
|
var z;
|
|
30410
30425
|
const R = ((z = D.paginationInfo) == null ? void 0 : z.total) ?? D.data.records.length;
|
|
30411
30426
|
return T + (typeof R == "number" ? R : 0);
|
|
30412
30427
|
}, 0);
|
|
30413
30428
|
}, [u]), S = de(() => {
|
|
30414
|
-
const
|
|
30415
|
-
return
|
|
30429
|
+
const E = Object.values(u);
|
|
30430
|
+
return E.length === 0 ? !0 : E.some((T) => T.isInitialLoading);
|
|
30416
30431
|
}, [u]);
|
|
30417
30432
|
se(() => {
|
|
30418
30433
|
c({
|
|
@@ -30420,41 +30435,41 @@ const lH = ({
|
|
|
30420
30435
|
filters: o.currentFilters,
|
|
30421
30436
|
search: o.currentSearch,
|
|
30422
30437
|
isInitialLoading: S,
|
|
30423
|
-
data: Object.values(u).flatMap((
|
|
30438
|
+
data: Object.values(u).flatMap((E) => E.data.records)
|
|
30424
30439
|
});
|
|
30425
30440
|
}, [k, S]);
|
|
30426
30441
|
const _ = o.currentSortings === null, A = de(() => {
|
|
30427
|
-
const
|
|
30442
|
+
const E = /* @__PURE__ */ new Map();
|
|
30428
30443
|
return y.forEach((T) => {
|
|
30429
30444
|
const D = /* @__PURE__ */ new Map();
|
|
30430
30445
|
T.items.forEach((R, z) => {
|
|
30431
30446
|
const $ = m ? m(R, z) : (R == null ? void 0 : R.id) ?? z, G = String($);
|
|
30432
30447
|
D.set(G, z);
|
|
30433
|
-
}),
|
|
30434
|
-
}),
|
|
30448
|
+
}), E.set(T.id, D);
|
|
30449
|
+
}), E;
|
|
30435
30450
|
}, [y, m]);
|
|
30436
30451
|
x.dnd = {
|
|
30437
30452
|
instanceId: p,
|
|
30438
|
-
getIndexById: (
|
|
30453
|
+
getIndexById: (E, T) => {
|
|
30439
30454
|
var R;
|
|
30440
|
-
const D = ((R = A.get(
|
|
30455
|
+
const D = ((R = A.get(E)) == null ? void 0 : R.get(T)) ?? -1;
|
|
30441
30456
|
return _ ? D : -1;
|
|
30442
30457
|
},
|
|
30443
30458
|
onMove: s
|
|
30444
30459
|
};
|
|
30445
|
-
const N = de(() => t.map((
|
|
30460
|
+
const N = de(() => t.map((E) => {
|
|
30446
30461
|
var T, D;
|
|
30447
30462
|
return {
|
|
30448
|
-
id:
|
|
30449
|
-
data: ((T = u[
|
|
30463
|
+
id: E.id,
|
|
30464
|
+
data: ((T = u[E.id]) == null ? void 0 : T.data) || {
|
|
30450
30465
|
type: "flat",
|
|
30451
30466
|
records: [],
|
|
30452
30467
|
groups: []
|
|
30453
30468
|
},
|
|
30454
|
-
paginationInfo: ((D = u[
|
|
30469
|
+
paginationInfo: ((D = u[E.id]) == null ? void 0 : D.paginationInfo) || null
|
|
30455
30470
|
};
|
|
30456
|
-
}), [t, u]), { lanesSelectProvider: L, lanesUseSelectable: C } = $V(N, o, (
|
|
30457
|
-
a == null || a(
|
|
30471
|
+
}), [t, u]), { lanesSelectProvider: L, lanesUseSelectable: C } = $V(N, o, (E, T) => {
|
|
30472
|
+
a == null || a(E, T);
|
|
30458
30473
|
});
|
|
30459
30474
|
return /* @__PURE__ */ b(Te, { children: [
|
|
30460
30475
|
d,
|
|
@@ -30469,7 +30484,7 @@ const lH = ({
|
|
|
30469
30484
|
className: r
|
|
30470
30485
|
}) => {
|
|
30471
30486
|
const [s, o] = V(!1);
|
|
30472
|
-
return !t || t.length === 0 ? null : /* @__PURE__ */ f("div", { className:
|
|
30487
|
+
return !t || t.length === 0 ? null : /* @__PURE__ */ f("div", { className: M("pointer-events-auto", r), children: /* @__PURE__ */ f(
|
|
30473
30488
|
Cn,
|
|
30474
30489
|
{
|
|
30475
30490
|
align: n,
|
|
@@ -30498,7 +30513,7 @@ const lH = ({
|
|
|
30498
30513
|
items: t,
|
|
30499
30514
|
onOpenChange: e,
|
|
30500
30515
|
className: n
|
|
30501
|
-
}) => /* @__PURE__ */ f("div", { className:
|
|
30516
|
+
}) => /* @__PURE__ */ f("div", { className: M(n), children: /* @__PURE__ */ f(
|
|
30502
30517
|
e7,
|
|
30503
30518
|
{
|
|
30504
30519
|
label: "Mobile Actions",
|
|
@@ -30513,7 +30528,7 @@ const lH = ({
|
|
|
30513
30528
|
}) => /* @__PURE__ */ f(
|
|
30514
30529
|
"aside",
|
|
30515
30530
|
{
|
|
30516
|
-
className:
|
|
30531
|
+
className: M(
|
|
30517
30532
|
"absolute bottom-0 right-0 top-0 z-20 hidden items-center justify-end gap-2 py-2 pl-20 pr-3 opacity-0 transition-all group-hover:opacity-100 md:flex",
|
|
30518
30533
|
"bg-gradient-to-l from-[#F5F6F8] from-0% dark:from-[#192231]",
|
|
30519
30534
|
"via-[#F5F6F8] via-60% dark:via-[#192231]",
|
|
@@ -30579,7 +30594,7 @@ const lH = ({
|
|
|
30579
30594
|
primaryItemActions: e,
|
|
30580
30595
|
dropdownItemActions: n,
|
|
30581
30596
|
handleDropDownOpenChange: i
|
|
30582
|
-
}) => /* @__PURE__ */ b("aside", { className:
|
|
30597
|
+
}) => /* @__PURE__ */ b("aside", { className: M("items-center justify-end gap-2 md:flex", t), children: [
|
|
30583
30598
|
e.map((r) => /* @__PURE__ */ f(
|
|
30584
30599
|
ue,
|
|
30585
30600
|
{
|
|
@@ -30634,7 +30649,7 @@ const lH = ({
|
|
|
30634
30649
|
return /* @__PURE__ */ b(
|
|
30635
30650
|
"div",
|
|
30636
30651
|
{
|
|
30637
|
-
className:
|
|
30652
|
+
className: M(
|
|
30638
30653
|
"relative flex w-full flex-col justify-between gap-4 p-3 transition-colors md:flex-row md:p-2 md:pl-3 md:pr-4",
|
|
30639
30654
|
"group after:absolute after:inset-y-0 after:-right-px after:z-10 after:hidden after:h-full after:w-10 after:bg-gradient-to-r after:from-transparent after:via-f1-background after:via-75% after:to-f1-background after:transition-all after:content-[''] hover:after:via-[#F5F6F8] hover:after:to-[#F5F6F8] dark:hover:after:via-[#192231] dark:hover:after:to-[#192231] md:after:block hover:md:bg-f1-background-hover"
|
|
30640
30655
|
),
|
|
@@ -30708,7 +30723,7 @@ const lH = ({
|
|
|
30708
30723
|
t.selectable && d !== void 0 && /* @__PURE__ */ f(
|
|
30709
30724
|
"div",
|
|
30710
30725
|
{
|
|
30711
|
-
className:
|
|
30726
|
+
className: M(
|
|
30712
30727
|
"pointer-events-auto absolute right-3 top-3 flex h-8 w-8 items-center justify-center md:hidden",
|
|
30713
30728
|
t.itemActions && "right-12"
|
|
30714
30729
|
),
|
|
@@ -30737,7 +30752,7 @@ const lH = ({
|
|
|
30737
30752
|
}) => /* @__PURE__ */ f(
|
|
30738
30753
|
"div",
|
|
30739
30754
|
{
|
|
30740
|
-
className:
|
|
30755
|
+
className: M(
|
|
30741
30756
|
"flex flex-col overflow-hidden rounded-xl border border-solid border-f1-border-secondary [&>div:last-child]:border-b-transparent [&>div]:border [&>div]:border-solid [&>div]:border-transparent [&>div]:border-b-f1-border-secondary",
|
|
30742
30757
|
o && "rounded-b-none"
|
|
30743
30758
|
),
|
|
@@ -30763,7 +30778,7 @@ const lH = ({
|
|
|
30763
30778
|
}) => /* @__PURE__ */ f(
|
|
30764
30779
|
"div",
|
|
30765
30780
|
{
|
|
30766
|
-
className:
|
|
30781
|
+
className: M(
|
|
30767
30782
|
"flex flex-col overflow-hidden rounded-b-xl border border-solid border-f1-border-secondary [&>div:last-child]:border-b-transparent [&>div]:border [&>div]:border-solid [&>div]:border-transparent [&>div]:border-b-f1-border-secondary",
|
|
30768
30783
|
i ? "mx-4 mt-2 rounded-t-xl" : "border-t-0",
|
|
30769
30784
|
r
|
|
@@ -30792,7 +30807,7 @@ const lH = ({
|
|
|
30792
30807
|
t.selectable && /* @__PURE__ */ f(
|
|
30793
30808
|
"div",
|
|
30794
30809
|
{
|
|
30795
|
-
className:
|
|
30810
|
+
className: M(
|
|
30796
30811
|
"absolute right-3 top-3 flex h-8 w-8 items-center justify-center md:hidden",
|
|
30797
30812
|
t.itemActions && "right-12"
|
|
30798
30813
|
),
|
|
@@ -30874,7 +30889,7 @@ const lH = ({
|
|
|
30874
30889
|
/* @__PURE__ */ f(
|
|
30875
30890
|
"div",
|
|
30876
30891
|
{
|
|
30877
|
-
className:
|
|
30892
|
+
className: M(
|
|
30878
30893
|
"flex min-h-0 flex-1 flex-col gap-2",
|
|
30879
30894
|
_ && "select-none opacity-50 transition-opacity"
|
|
30880
30895
|
),
|
|
@@ -30884,7 +30899,7 @@ const lH = ({
|
|
|
30884
30899
|
/* @__PURE__ */ f(Ze, { children: c && /* @__PURE__ */ f(Ai, {}) }),
|
|
30885
30900
|
o.type === "grouped" && o.groups.map((L, C) => {
|
|
30886
30901
|
var T, D;
|
|
30887
|
-
const
|
|
30902
|
+
const E = L.itemCount;
|
|
30888
30903
|
return /* @__PURE__ */ b(
|
|
30889
30904
|
"div",
|
|
30890
30905
|
{
|
|
@@ -30899,7 +30914,7 @@ const lH = ({
|
|
|
30899
30914
|
onSelectChange: (R) => v(L, R),
|
|
30900
30915
|
showOpenChange: w,
|
|
30901
30916
|
label: L.label,
|
|
30902
|
-
itemCount:
|
|
30917
|
+
itemCount: E,
|
|
30903
30918
|
open: k[L.key],
|
|
30904
30919
|
onOpenChange: (R) => S(L.key, R)
|
|
30905
30920
|
},
|
|
@@ -31075,7 +31090,7 @@ const lH = ({
|
|
|
31075
31090
|
n && /* @__PURE__ */ f(
|
|
31076
31091
|
"div",
|
|
31077
31092
|
{
|
|
31078
|
-
className:
|
|
31093
|
+
className: M(
|
|
31079
31094
|
"flex shrink-0 items-center justify-center text-f1-icon",
|
|
31080
31095
|
t.sortable && "cursor-grab"
|
|
31081
31096
|
),
|
|
@@ -31089,7 +31104,7 @@ const lH = ({
|
|
|
31089
31104
|
/* @__PURE__ */ f(
|
|
31090
31105
|
"span",
|
|
31091
31106
|
{
|
|
31092
|
-
className:
|
|
31107
|
+
className: M(
|
|
31093
31108
|
"flex-1",
|
|
31094
31109
|
t.sortable ? "text-f1-foreground" : "text-f1-foreground-secondary"
|
|
31095
31110
|
),
|
|
@@ -31205,7 +31220,7 @@ const lH = ({
|
|
|
31205
31220
|
"table",
|
|
31206
31221
|
{
|
|
31207
31222
|
ref: n,
|
|
31208
|
-
className:
|
|
31223
|
+
className: M(
|
|
31209
31224
|
"w-full caption-bottom border-spacing-0 border-0 border-none text-base",
|
|
31210
31225
|
t
|
|
31211
31226
|
),
|
|
@@ -31217,7 +31232,7 @@ const l7 = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
|
31217
31232
|
"thead",
|
|
31218
31233
|
{
|
|
31219
31234
|
ref: n,
|
|
31220
|
-
className:
|
|
31235
|
+
className: M(
|
|
31221
31236
|
"relative min-h-10 [&_tr]:hover:bg-transparent",
|
|
31222
31237
|
"before:absolute before:inset-x-0 before:top-0 before:h-px before:w-full before:bg-f1-border-secondary before:content-['']",
|
|
31223
31238
|
t
|
|
@@ -31226,13 +31241,13 @@ const l7 = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
|
31226
31241
|
}
|
|
31227
31242
|
));
|
|
31228
31243
|
l7.displayName = "TableHeader";
|
|
31229
|
-
const c7 = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f("tbody", { ref: n, className:
|
|
31244
|
+
const c7 = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f("tbody", { ref: n, className: M("border-0", t), ...e }));
|
|
31230
31245
|
c7.displayName = "TableBody";
|
|
31231
31246
|
const d7 = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
31232
31247
|
"tfoot",
|
|
31233
31248
|
{
|
|
31234
31249
|
ref: n,
|
|
31235
|
-
className:
|
|
31250
|
+
className: M(
|
|
31236
31251
|
"bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",
|
|
31237
31252
|
t
|
|
31238
31253
|
),
|
|
@@ -31244,7 +31259,7 @@ const f7 = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
|
31244
31259
|
"tr",
|
|
31245
31260
|
{
|
|
31246
31261
|
ref: n,
|
|
31247
|
-
className:
|
|
31262
|
+
className: M(
|
|
31248
31263
|
"group relative transition-colors after:absolute after:inset-x-0 after:bottom-0 after:h-px after:w-full after:bg-f1-border-secondary after:content-[''] hover:bg-f1-background-hover",
|
|
31249
31264
|
t
|
|
31250
31265
|
),
|
|
@@ -31256,7 +31271,7 @@ const u7 = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
|
31256
31271
|
"th",
|
|
31257
31272
|
{
|
|
31258
31273
|
ref: n,
|
|
31259
|
-
className:
|
|
31274
|
+
className: M(
|
|
31260
31275
|
"relative px-3 py-2.5 text-left align-middle font-medium text-f1-foreground-secondary first:pl-6 last:pr-6",
|
|
31261
31276
|
"after:pointer-events-none after:absolute after:inset-x-0 after:inset-y-1 after:rounded after:bg-transparent after:transition-colors after:content-[''] first:after:left-3 last:after:right-3 hover:after:bg-f1-background-hover",
|
|
31262
31277
|
"[&:has([role=checkbox])]:px-2 [&:has([role=checkbox])]:py-2 [&:has([role=checkbox])]:hover:after:bg-transparent",
|
|
@@ -31270,7 +31285,7 @@ const h7 = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
|
31270
31285
|
"td",
|
|
31271
31286
|
{
|
|
31272
31287
|
ref: n,
|
|
31273
|
-
className:
|
|
31288
|
+
className: M(
|
|
31274
31289
|
"relative h-[48px] whitespace-nowrap p-3 align-top first:pl-6 last:pr-6",
|
|
31275
31290
|
"[&:has([role=checkbox])]:px-2 [&:has([role=checkbox])]:py-2.5",
|
|
31276
31291
|
"[&:has([data-cell-type=percentage])]:py-2",
|
|
@@ -31289,7 +31304,7 @@ const _H = F.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
|
31289
31304
|
"caption",
|
|
31290
31305
|
{
|
|
31291
31306
|
ref: n,
|
|
31292
|
-
className:
|
|
31307
|
+
className: M("text-muted-foreground mt-4 text-sm", t),
|
|
31293
31308
|
...e
|
|
31294
31309
|
}
|
|
31295
31310
|
));
|
|
@@ -31325,7 +31340,7 @@ function _i({
|
|
|
31325
31340
|
h7,
|
|
31326
31341
|
{
|
|
31327
31342
|
colSpan: o,
|
|
31328
|
-
className:
|
|
31343
|
+
className: M(
|
|
31329
31344
|
r && "peer font-medium",
|
|
31330
31345
|
p && l && "bg-f1-background before:absolute before:inset-0 before:z-[-1] before:h-[calc(100%-1px)] before:w-full before:bg-f1-background before:transition-all before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:h-px after:w-full after:bg-f1-border-secondary after:content-[''] group-hover:before:bg-f1-background-hover",
|
|
31331
31346
|
p && "sticky z-10",
|
|
@@ -31343,7 +31358,7 @@ function _i({
|
|
|
31343
31358
|
/* @__PURE__ */ f(Ze, { children: (u && l || h && c) && /* @__PURE__ */ f(
|
|
31344
31359
|
ce.div,
|
|
31345
31360
|
{
|
|
31346
|
-
className:
|
|
31361
|
+
className: M(
|
|
31347
31362
|
"absolute inset-y-0 h-full w-4 from-f1-foreground-secondary to-transparent",
|
|
31348
31363
|
u && "-right-4 bg-gradient-to-r",
|
|
31349
31364
|
h && "-left-4 bg-gradient-to-l"
|
|
@@ -31357,7 +31372,7 @@ function _i({
|
|
|
31357
31372
|
/* @__PURE__ */ f(
|
|
31358
31373
|
"div",
|
|
31359
31374
|
{
|
|
31360
|
-
className:
|
|
31375
|
+
className: M(
|
|
31361
31376
|
"[&:has([role=checkbox])]:relative [&:has([role=checkbox])]:z-[1]",
|
|
31362
31377
|
"[&:has([type=button])]:relative [&:has([type=button])]:z-[1]",
|
|
31363
31378
|
"[&:has(a)]:relative [&:has(a)]:z-[1]",
|
|
@@ -31366,7 +31381,7 @@ function _i({
|
|
|
31366
31381
|
children: /* @__PURE__ */ f(
|
|
31367
31382
|
"div",
|
|
31368
31383
|
{
|
|
31369
|
-
className: (
|
|
31384
|
+
className: (M(i !== "auto" && "overflow-hidden"), "relative z-[1]"),
|
|
31370
31385
|
children: t
|
|
31371
31386
|
}
|
|
31372
31387
|
)
|
|
@@ -31416,18 +31431,18 @@ function Ec({
|
|
|
31416
31431
|
const { isScrolled: d, isScrolledRight: u } = p7(), h = (o == null ? void 0 : o.left) !== void 0, p = (o == null ? void 0 : o.right) !== void 0, m = h || p, g = (o == null ? void 0 : o.left) ?? 0, y = (o == null ? void 0 : o.right) ?? 0, v = i || r, w = /* @__PURE__ */ f(Te, { children: /* @__PURE__ */ b(
|
|
31417
31432
|
"div",
|
|
31418
31433
|
{
|
|
31419
|
-
className:
|
|
31434
|
+
className: M(
|
|
31420
31435
|
"flex items-center whitespace-nowrap",
|
|
31421
31436
|
v && "gap-1",
|
|
31422
31437
|
l === "right" && "flex-row-reverse"
|
|
31423
31438
|
),
|
|
31424
31439
|
children: [
|
|
31425
|
-
/* @__PURE__ */ f("div", { className:
|
|
31440
|
+
/* @__PURE__ */ f("div", { className: M("truncate", e !== "auto" && "overflow-hidden"), children: t }),
|
|
31426
31441
|
v && /* @__PURE__ */ b("div", { className: "flex items-center", children: [
|
|
31427
31442
|
r && /* @__PURE__ */ f("div", { className: "flex h-6 w-6 items-center justify-center text-f1-foreground-secondary", children: /* @__PURE__ */ f(_n, { label: r, children: /* @__PURE__ */ f(
|
|
31428
31443
|
"div",
|
|
31429
31444
|
{
|
|
31430
|
-
className:
|
|
31445
|
+
className: M(
|
|
31431
31446
|
"flex h-5 w-5 items-center justify-center rounded-xs",
|
|
31432
31447
|
mt()
|
|
31433
31448
|
),
|
|
@@ -31439,7 +31454,7 @@ function Ec({
|
|
|
31439
31454
|
ce.button,
|
|
31440
31455
|
{
|
|
31441
31456
|
onClick: i,
|
|
31442
|
-
className:
|
|
31457
|
+
className: M(
|
|
31443
31458
|
"relative h-5 w-5 rounded-xs p-1 text-f1-foreground-secondary opacity-0 transition-all focus-within:opacity-100 hover:bg-f1-background-hover group-hover:opacity-100",
|
|
31444
31459
|
mt()
|
|
31445
31460
|
),
|
|
@@ -31490,7 +31505,7 @@ function Ec({
|
|
|
31490
31505
|
return /* @__PURE__ */ b(
|
|
31491
31506
|
u7,
|
|
31492
31507
|
{
|
|
31493
|
-
className:
|
|
31508
|
+
className: M(
|
|
31494
31509
|
"group",
|
|
31495
31510
|
"bg-f1-background",
|
|
31496
31511
|
m && (d || u) && "relative bg-f1-background before:absolute before:inset-x-0 before:bottom-0 before:h-px before:w-full before:bg-f1-border-secondary before:content-['']",
|
|
@@ -31513,7 +31528,7 @@ function Ec({
|
|
|
31513
31528
|
/* @__PURE__ */ f(Ze, { children: (h && d || p && u) && /* @__PURE__ */ f(
|
|
31514
31529
|
ce.div,
|
|
31515
31530
|
{
|
|
31516
|
-
className:
|
|
31531
|
+
className: M(
|
|
31517
31532
|
"absolute inset-y-0 h-full w-4 from-f1-foreground-secondary to-transparent",
|
|
31518
31533
|
h && "-right-4 bg-gradient-to-r",
|
|
31519
31534
|
p && "-left-4 bg-gradient-to-l"
|
|
@@ -31530,14 +31545,14 @@ function Ec({
|
|
|
31530
31545
|
);
|
|
31531
31546
|
}
|
|
31532
31547
|
function y7({ children: t, sticky: e = !1 }) {
|
|
31533
|
-
return /* @__PURE__ */ f(l7, { className:
|
|
31548
|
+
return /* @__PURE__ */ f(l7, { className: M(e && "sticky top-0 z-20"), children: t });
|
|
31534
31549
|
}
|
|
31535
31550
|
const _r = U(
|
|
31536
31551
|
({ children: t, selected: e, className: n, sticky: i }, r) => /* @__PURE__ */ f(
|
|
31537
31552
|
f7,
|
|
31538
31553
|
{
|
|
31539
31554
|
ref: r,
|
|
31540
|
-
className:
|
|
31555
|
+
className: M(
|
|
31541
31556
|
e && "bg-f1-background-selected hover:bg-f1-background-selected",
|
|
31542
31557
|
n,
|
|
31543
31558
|
"relative before:pointer-events-none before:absolute before:inset-0 before:z-10 before:content-['']",
|
|
@@ -31571,7 +31586,7 @@ function NH({ children: t, loading: e = !1 }) {
|
|
|
31571
31586
|
/* @__PURE__ */ f(
|
|
31572
31587
|
T0,
|
|
31573
31588
|
{
|
|
31574
|
-
className:
|
|
31589
|
+
className: M(e && "select-none opacity-50 transition-opacity"),
|
|
31575
31590
|
"aria-live": e ? "polite" : void 0,
|
|
31576
31591
|
"aria-busy": e ? "true" : void 0,
|
|
31577
31592
|
children: t
|
|
@@ -31623,7 +31638,7 @@ function EH({ children: t }) {
|
|
|
31623
31638
|
return /* @__PURE__ */ f(
|
|
31624
31639
|
d7,
|
|
31625
31640
|
{
|
|
31626
|
-
className:
|
|
31641
|
+
className: M(
|
|
31627
31642
|
"bg-f1-background-default sticky bottom-0 z-10 shadow-[0_-1px_0_0_var(--f1-border-secondary)]"
|
|
31628
31643
|
),
|
|
31629
31644
|
children: t
|
|
@@ -31670,7 +31685,7 @@ const v7 = (t, e, n) => {
|
|
|
31670
31685
|
_r,
|
|
31671
31686
|
{
|
|
31672
31687
|
ref: c,
|
|
31673
|
-
className:
|
|
31688
|
+
className: M(
|
|
31674
31689
|
"group transition-colors hover:bg-f1-background-hover",
|
|
31675
31690
|
"after:pointer-events-none after:absolute after:inset-x-0 after:bottom-0 after:h-px after:w-full after:bg-f1-border-secondary after:content-['']"
|
|
31676
31691
|
),
|
|
@@ -31695,7 +31710,7 @@ const v7 = (t, e, n) => {
|
|
|
31695
31710
|
children: /* @__PURE__ */ f(
|
|
31696
31711
|
"div",
|
|
31697
31712
|
{
|
|
31698
|
-
className:
|
|
31713
|
+
className: M(
|
|
31699
31714
|
S.align === "right" ? "justify-end" : "",
|
|
31700
31715
|
"flex"
|
|
31701
31716
|
),
|
|
@@ -31793,7 +31808,7 @@ const v7 = (t, e, n) => {
|
|
|
31793
31808
|
selectedItems: N,
|
|
31794
31809
|
allSelectedStatus: L,
|
|
31795
31810
|
groupAllSelectedStatus: C,
|
|
31796
|
-
handleSelectItemChange:
|
|
31811
|
+
handleSelectItemChange: E,
|
|
31797
31812
|
handleSelectAll: T,
|
|
31798
31813
|
handleSelectGroupChange: D
|
|
31799
31814
|
} = Df(
|
|
@@ -31940,7 +31955,7 @@ const v7 = (t, e, n) => {
|
|
|
31940
31955
|
item: J,
|
|
31941
31956
|
index: we,
|
|
31942
31957
|
groupIndex: Z,
|
|
31943
|
-
onCheckedChange: (Ee) =>
|
|
31958
|
+
onCheckedChange: (Ee) => E(J, Ee),
|
|
31944
31959
|
selectedItems: N,
|
|
31945
31960
|
columns: u,
|
|
31946
31961
|
frozenColumnsLeft: A,
|
|
@@ -31957,7 +31972,7 @@ const v7 = (t, e, n) => {
|
|
|
31957
31972
|
source: e,
|
|
31958
31973
|
item: B,
|
|
31959
31974
|
index: Z,
|
|
31960
|
-
onCheckedChange: (fe) =>
|
|
31975
|
+
onCheckedChange: (fe) => E(B, fe),
|
|
31961
31976
|
selectedItems: N,
|
|
31962
31977
|
columns: u,
|
|
31963
31978
|
frozenColumnsLeft: A,
|
|
@@ -31979,7 +31994,7 @@ const v7 = (t, e, n) => {
|
|
|
31979
31994
|
R && /* @__PURE__ */ f(EH, { children: /* @__PURE__ */ b(
|
|
31980
31995
|
_r,
|
|
31981
31996
|
{
|
|
31982
|
-
className:
|
|
31997
|
+
className: M(
|
|
31983
31998
|
R.sticky && "sticky bottom-0 z-10 bg-f1-background shadow-[0_-1px_0_0_var(--f1-border-secondary)] hover:bg-f1-background",
|
|
31984
31999
|
"font-medium"
|
|
31985
32000
|
),
|
|
@@ -31996,7 +32011,7 @@ const v7 = (t, e, n) => {
|
|
|
31996
32011
|
children: Z === 0 && !e.selectable && R.label ? /* @__PURE__ */ f("div", { className: "font-medium text-f1-foreground-secondary", children: R.label }) : /* @__PURE__ */ f(
|
|
31997
32012
|
"div",
|
|
31998
32013
|
{
|
|
31999
|
-
className:
|
|
32014
|
+
className: M(
|
|
32000
32015
|
B.align === "right" ? "justify-end" : "",
|
|
32001
32016
|
"flex"
|
|
32002
32017
|
),
|
|
@@ -32192,7 +32207,7 @@ const v7 = (t, e, n) => {
|
|
|
32192
32207
|
return /* @__PURE__ */ b(
|
|
32193
32208
|
"button",
|
|
32194
32209
|
{
|
|
32195
|
-
className:
|
|
32210
|
+
className: M(
|
|
32196
32211
|
"flex w-full flex-col items-center justify-center gap-1 rounded-sm p-2 font-medium text-f1-foreground-secondary transition-colors",
|
|
32197
32212
|
e === a && "bg-f1-background-secondary text-f1-foreground",
|
|
32198
32213
|
mt()
|
|
@@ -32266,8 +32281,8 @@ const v7 = (t, e, n) => {
|
|
|
32266
32281
|
[x]
|
|
32267
32282
|
), _ = de(
|
|
32268
32283
|
() => {
|
|
32269
|
-
var
|
|
32270
|
-
const L = (
|
|
32284
|
+
var E;
|
|
32285
|
+
const L = (E = t[e]) == null ? void 0 : E.type;
|
|
32271
32286
|
if (!L) return "-";
|
|
32272
32287
|
const C = c.collections.visualizations[L] ?? "-";
|
|
32273
32288
|
return c.collections.visualizations.settings.replace(
|
|
@@ -32279,8 +32294,8 @@ const v7 = (t, e, n) => {
|
|
|
32279
32294
|
[e]
|
|
32280
32295
|
), A = fu(), N = () => {
|
|
32281
32296
|
Object.values(Ml).forEach((L) => {
|
|
32282
|
-
var C,
|
|
32283
|
-
(
|
|
32297
|
+
var C, E;
|
|
32298
|
+
(E = (C = L.settings).resetHandler) == null || E.call(C, A);
|
|
32284
32299
|
});
|
|
32285
32300
|
};
|
|
32286
32301
|
return u ? /* @__PURE__ */ f("div", { className: "flex gap-2", children: /* @__PURE__ */ b(Lf, { open: h, onOpenChange: p, children: [
|
|
@@ -32345,9 +32360,9 @@ const v7 = (t, e, n) => {
|
|
|
32345
32360
|
onClick: N
|
|
32346
32361
|
}
|
|
32347
32362
|
) }, "reset")
|
|
32348
|
-
].filter(Boolean).map((L, C,
|
|
32363
|
+
].filter(Boolean).map((L, C, E) => /* @__PURE__ */ b("div", { children: [
|
|
32349
32364
|
L,
|
|
32350
|
-
C <
|
|
32365
|
+
C < E.length - 1 && /* @__PURE__ */ f("div", { className: "h-px w-full bg-f1-border-secondary" })
|
|
32351
32366
|
] }, C))
|
|
32352
32367
|
}
|
|
32353
32368
|
)
|
|
@@ -32473,15 +32488,15 @@ const v7 = (t, e, n) => {
|
|
|
32473
32488
|
currentGrouping: N,
|
|
32474
32489
|
setCurrentGrouping: L,
|
|
32475
32490
|
grouping: C,
|
|
32476
|
-
currentSortings:
|
|
32491
|
+
currentSortings: E,
|
|
32477
32492
|
setCurrentSortings: T,
|
|
32478
32493
|
sortings: D
|
|
32479
|
-
} = t, [R, z] = V(0), $ = me(
|
|
32494
|
+
} = t, [R, z] = V(0), $ = me(E), { emitSortingChange: G } = oN({
|
|
32480
32495
|
defaultSorting: $.current
|
|
32481
32496
|
});
|
|
32482
32497
|
se(() => {
|
|
32483
|
-
G(
|
|
32484
|
-
}, [G,
|
|
32498
|
+
G(E);
|
|
32499
|
+
}, [G, E]);
|
|
32485
32500
|
const he = de(
|
|
32486
32501
|
() => S && S(),
|
|
32487
32502
|
[S]
|
|
@@ -32554,7 +32569,7 @@ const v7 = (t, e, n) => {
|
|
|
32554
32569
|
setValue: Y
|
|
32555
32570
|
},
|
|
32556
32571
|
sortings: {
|
|
32557
|
-
value:
|
|
32572
|
+
value: E,
|
|
32558
32573
|
setValue: T
|
|
32559
32574
|
},
|
|
32560
32575
|
grouping: {
|
|
@@ -32582,7 +32597,7 @@ const v7 = (t, e, n) => {
|
|
|
32582
32597
|
return se(() => {
|
|
32583
32598
|
r == null || r({
|
|
32584
32599
|
filters: d,
|
|
32585
|
-
sortings:
|
|
32600
|
+
sortings: E,
|
|
32586
32601
|
visualization: R,
|
|
32587
32602
|
grouping: N,
|
|
32588
32603
|
search: w,
|
|
@@ -32594,14 +32609,14 @@ const v7 = (t, e, n) => {
|
|
|
32594
32609
|
d,
|
|
32595
32610
|
w,
|
|
32596
32611
|
m,
|
|
32597
|
-
|
|
32612
|
+
E,
|
|
32598
32613
|
R,
|
|
32599
32614
|
N,
|
|
32600
32615
|
H
|
|
32601
32616
|
]), /* @__PURE__ */ b(
|
|
32602
32617
|
"div",
|
|
32603
32618
|
{
|
|
32604
|
-
className:
|
|
32619
|
+
className: M(
|
|
32605
32620
|
"flex flex-col gap-4",
|
|
32606
32621
|
Le === "standard" && "-mx-6",
|
|
32607
32622
|
o && "h-full flex-1"
|
|
@@ -32630,7 +32645,7 @@ const v7 = (t, e, n) => {
|
|
|
32630
32645
|
/* @__PURE__ */ f(
|
|
32631
32646
|
"div",
|
|
32632
32647
|
{
|
|
32633
|
-
className:
|
|
32648
|
+
className: M("flex flex-col gap-4 px-4", o && "max-h-full"),
|
|
32634
32649
|
children: /* @__PURE__ */ b(
|
|
32635
32650
|
aN,
|
|
32636
32651
|
{
|
|
@@ -32663,7 +32678,7 @@ const v7 = (t, e, n) => {
|
|
|
32663
32678
|
currentGrouping: N,
|
|
32664
32679
|
onGroupingChange: L,
|
|
32665
32680
|
sortings: D,
|
|
32666
|
-
currentSortings:
|
|
32681
|
+
currentSortings: E,
|
|
32667
32682
|
onSortingsChange: T
|
|
32668
32683
|
}
|
|
32669
32684
|
),
|
|
@@ -32686,7 +32701,7 @@ const v7 = (t, e, n) => {
|
|
|
32686
32701
|
/* @__PURE__ */ f(
|
|
32687
32702
|
"div",
|
|
32688
32703
|
{
|
|
32689
|
-
className:
|
|
32704
|
+
className: M(
|
|
32690
32705
|
W && "hidden",
|
|
32691
32706
|
o && "h-full min-h-0 flex-1"
|
|
32692
32707
|
),
|
|
@@ -32826,7 +32841,7 @@ const Gse = Pn(
|
|
|
32826
32841
|
"div",
|
|
32827
32842
|
{
|
|
32828
32843
|
ref: s,
|
|
32829
|
-
className:
|
|
32844
|
+
className: M(
|
|
32830
32845
|
"flex w-fit max-w-40 flex-row items-center gap-2 overflow-hidden rounded-md bg-f1-background-tertiary p-0.5 pr-2",
|
|
32831
32846
|
i
|
|
32832
32847
|
),
|
|
@@ -32839,7 +32854,7 @@ const Gse = Pn(
|
|
|
32839
32854
|
{
|
|
32840
32855
|
size: "md",
|
|
32841
32856
|
icon: a.icon ?? Da,
|
|
32842
|
-
className:
|
|
32857
|
+
className: M(
|
|
32843
32858
|
"cursor-pointer text-f1-icon",
|
|
32844
32859
|
n ? "cursor-not-allowed" : "hover:text-f1-icon-bold",
|
|
32845
32860
|
a.critical && "text-f1-foreground-critical"
|
|
@@ -41171,8 +41186,8 @@ function fU(t, e, n, i, r) {
|
|
|
41171
41186
|
if (C && !t.state.selection.eq(C)) {
|
|
41172
41187
|
if (Xt && Ji && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (T) => T(t, ts(13, "Enter"))))
|
|
41173
41188
|
return;
|
|
41174
|
-
let
|
|
41175
|
-
L == "pointer" ?
|
|
41189
|
+
let E = t.state.tr.setSelection(C);
|
|
41190
|
+
L == "pointer" ? E.setMeta("pointer", !0) : L == "key" && E.scrollIntoView(), s && E.setMeta("composition", s), t.dispatch(E);
|
|
41176
41191
|
}
|
|
41177
41192
|
return;
|
|
41178
41193
|
}
|
|
@@ -45427,7 +45442,7 @@ function Xv(t) {
|
|
|
45427
45442
|
p -= C - i.width, p *= l ? 1 : -1;
|
|
45428
45443
|
}
|
|
45429
45444
|
}
|
|
45430
|
-
var
|
|
45445
|
+
var E = Object.assign({
|
|
45431
45446
|
position: a
|
|
45432
45447
|
}, c && oJ), T = d === !0 ? aJ({
|
|
45433
45448
|
x: p,
|
|
@@ -45438,9 +45453,9 @@ function Xv(t) {
|
|
|
45438
45453
|
};
|
|
45439
45454
|
if (p = T.x, g = T.y, l) {
|
|
45440
45455
|
var D;
|
|
45441
|
-
return Object.assign({},
|
|
45456
|
+
return Object.assign({}, E, (D = {}, D[k] = w ? "0" : "", D[x] = v ? "0" : "", D.transform = (S.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + g + "px)" : "translate3d(" + p + "px, " + g + "px, 0)", D));
|
|
45442
45457
|
}
|
|
45443
|
-
return Object.assign({},
|
|
45458
|
+
return Object.assign({}, E, (e = {}, e[k] = w ? g + "px" : "", e[x] = v ? p + "px" : "", e.transform = "", e));
|
|
45444
45459
|
}
|
|
45445
45460
|
function lJ(t) {
|
|
45446
45461
|
var e = t.state, n = t.options, i = n.gpuAcceleration, r = i === void 0 ? !0 : i, s = n.adaptive, o = s === void 0 ? !0 : s, a = n.roundOffsets, l = a === void 0 ? !0 : a, c = {
|
|
@@ -45649,9 +45664,9 @@ function Za(t, e) {
|
|
|
45649
45664
|
bottom: L.bottom - S.bottom + v.bottom,
|
|
45650
45665
|
left: S.left - L.left + v.left,
|
|
45651
45666
|
right: L.right - S.right + v.right
|
|
45652
|
-
},
|
|
45653
|
-
if (h === ra &&
|
|
45654
|
-
var T =
|
|
45667
|
+
}, E = t.modifiersData.offset;
|
|
45668
|
+
if (h === ra && E) {
|
|
45669
|
+
var T = E[r];
|
|
45655
45670
|
Object.keys(C).forEach(function(D) {
|
|
45656
45671
|
var R = [ni, ti].indexOf(D) >= 0 ? 1 : -1, z = [kn, ti].indexOf(D) >= 0 ? "y" : "x";
|
|
45657
45672
|
C[D] += T[z] * R;
|
|
@@ -45698,8 +45713,8 @@ function xJ(t) {
|
|
|
45698
45713
|
allowedAutoPlacements: g
|
|
45699
45714
|
}) : We);
|
|
45700
45715
|
}, []), S = e.rects.reference, _ = e.rects.popper, A = /* @__PURE__ */ new Map(), N = !0, L = k[0], C = 0; C < k.length; C++) {
|
|
45701
|
-
var
|
|
45702
|
-
placement:
|
|
45716
|
+
var E = k[C], T = Mi(E), D = Eo(E) === So, R = [kn, ti].indexOf(T) >= 0, z = R ? "width" : "height", $ = Za(e, {
|
|
45717
|
+
placement: E,
|
|
45703
45718
|
boundary: d,
|
|
45704
45719
|
rootBoundary: u,
|
|
45705
45720
|
altBoundary: h,
|
|
@@ -45710,10 +45725,10 @@ function xJ(t) {
|
|
|
45710
45725
|
if (s && K.push($[T] <= 0), a && K.push($[G] <= 0, $[he] <= 0), K.every(function(Pe) {
|
|
45711
45726
|
return Pe;
|
|
45712
45727
|
})) {
|
|
45713
|
-
L =
|
|
45728
|
+
L = E, N = !1;
|
|
45714
45729
|
break;
|
|
45715
45730
|
}
|
|
45716
|
-
A.set(
|
|
45731
|
+
A.set(E, K);
|
|
45717
45732
|
}
|
|
45718
45733
|
if (N)
|
|
45719
45734
|
for (var O = m ? 3 : 1, ve = function(We) {
|
|
@@ -45839,7 +45854,7 @@ function AJ(t) {
|
|
|
45839
45854
|
} : Object.assign({
|
|
45840
45855
|
mainAxis: 0,
|
|
45841
45856
|
altAxis: 0
|
|
45842
|
-
}, L),
|
|
45857
|
+
}, L), E = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, T = {
|
|
45843
45858
|
x: 0,
|
|
45844
45859
|
y: 0
|
|
45845
45860
|
};
|
|
@@ -45848,11 +45863,11 @@ function AJ(t) {
|
|
|
45848
45863
|
var D, R = k === "y" ? kn : xn, z = k === "y" ? ti : ni, $ = k === "y" ? "height" : "width", G = _[k], he = G + y[R], K = G - y[z], O = p ? -N[$] / 2 : 0, ve = w === So ? A[$] : N[$], Ce = w === So ? -N[$] : -A[$], I = e.elements.arrow, Pe = p && I ? ig(I) : {
|
|
45849
45864
|
width: 0,
|
|
45850
45865
|
height: 0
|
|
45851
|
-
}, We = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : hw(), Le = We[R], B = We[z], Z = _a(0, A[$], Pe[$]), fe = x ? A[$] / 2 - O - Z - Le - C.mainAxis : ve - Z - Le - C.mainAxis, J = x ? -A[$] / 2 + O + Z + B + C.mainAxis : Ce + Z + B + C.mainAxis, we = e.elements.arrow && Rl(e.elements.arrow), Ee = we ? k === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, De = (D =
|
|
45866
|
+
}, We = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : hw(), Le = We[R], B = We[z], Z = _a(0, A[$], Pe[$]), fe = x ? A[$] / 2 - O - Z - Le - C.mainAxis : ve - Z - Le - C.mainAxis, J = x ? -A[$] / 2 + O + Z + B + C.mainAxis : Ce + Z + B + C.mainAxis, we = e.elements.arrow && Rl(e.elements.arrow), Ee = we ? k === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, De = (D = E == null ? void 0 : E[k]) != null ? D : 0, ze = G + fe - De - Ee, st = G + J - De, bt = _a(p ? Id(he, ze) : he, G, p ? ps(K, st) : K);
|
|
45852
45867
|
_[k] = bt, T[k] = bt - G;
|
|
45853
45868
|
}
|
|
45854
45869
|
if (a) {
|
|
45855
|
-
var gt, P = k === "x" ? kn : xn, j = k === "x" ? ti : ni, W = _[S], oe = S === "y" ? "height" : "width", le = W + y[P], Q = W - y[j], xe = [kn, xn].indexOf(v) !== -1, Re = (gt =
|
|
45870
|
+
var gt, P = k === "x" ? kn : xn, j = k === "x" ? ti : ni, W = _[S], oe = S === "y" ? "height" : "width", le = W + y[P], Q = W - y[j], xe = [kn, xn].indexOf(v) !== -1, Re = (gt = E == null ? void 0 : E[S]) != null ? gt : 0, H = xe ? le : W - A[oe] - N[oe] - Re + C.altAxis, Y = xe ? W + A[oe] + N[oe] - Re - C.altAxis : Q, te = p && xe ? tJ(H, W, Y) : _a(p ? H : le, W, p ? Y : Q);
|
|
45856
45871
|
_[S] = te, T[S] = te - W;
|
|
45857
45872
|
}
|
|
45858
45873
|
e.modifiersData[i] = T;
|
|
@@ -46468,7 +46483,7 @@ function yY(t, e) {
|
|
|
46468
46483
|
var q = k.props.touch;
|
|
46469
46484
|
return Array.isArray(q) ? q : [q, 0];
|
|
46470
46485
|
}
|
|
46471
|
-
function
|
|
46486
|
+
function E() {
|
|
46472
46487
|
return C()[0] === "hold";
|
|
46473
46488
|
}
|
|
46474
46489
|
function T() {
|
|
@@ -46588,7 +46603,7 @@ function yY(t, e) {
|
|
|
46588
46603
|
});
|
|
46589
46604
|
}
|
|
46590
46605
|
function we() {
|
|
46591
|
-
|
|
46606
|
+
E() && (J("touchstart", De, {
|
|
46592
46607
|
passive: !0
|
|
46593
46608
|
}), J("touchend", st, {
|
|
46594
46609
|
passive: !0
|
|
@@ -46650,7 +46665,7 @@ function yY(t, e) {
|
|
|
46650
46665
|
k.props.trigger.indexOf("focusin") < 0 && q.target !== D() || k.props.interactive && q.relatedTarget && _.contains(q.relatedTarget) || Q(q);
|
|
46651
46666
|
}
|
|
46652
46667
|
function gt(q) {
|
|
46653
|
-
return Ci.isTouch ?
|
|
46668
|
+
return Ci.isTouch ? E() !== q.type.indexOf("touch") >= 0 : !1;
|
|
46654
46669
|
}
|
|
46655
46670
|
function P() {
|
|
46656
46671
|
j();
|
|
@@ -47092,12 +47107,12 @@ function xY() {
|
|
|
47092
47107
|
p(L) && C({
|
|
47093
47108
|
inst: L
|
|
47094
47109
|
});
|
|
47095
|
-
var
|
|
47110
|
+
var E = function() {
|
|
47096
47111
|
p(L) && C({
|
|
47097
47112
|
inst: L
|
|
47098
47113
|
});
|
|
47099
47114
|
};
|
|
47100
|
-
return x(
|
|
47115
|
+
return x(E);
|
|
47101
47116
|
}, [x]), c(_), _;
|
|
47102
47117
|
}
|
|
47103
47118
|
function p(x) {
|
|
@@ -47359,10 +47374,10 @@ function TY() {
|
|
|
47359
47374
|
return m !== void 0 && m($, G) ? $ : (_ = T, A = G, G);
|
|
47360
47375
|
}, L = h === void 0 ? null : h, C = function() {
|
|
47361
47376
|
return N(u());
|
|
47362
|
-
},
|
|
47377
|
+
}, E = L === null ? void 0 : function() {
|
|
47363
47378
|
return N(L());
|
|
47364
47379
|
};
|
|
47365
|
-
return [C,
|
|
47380
|
+
return [C, E];
|
|
47366
47381
|
}, [u, h, p, m]), w = v[0], x = v[1], k = r(d, w, x);
|
|
47367
47382
|
return o(function() {
|
|
47368
47383
|
y.hasValue = !0, y.value = k;
|
|
@@ -47897,7 +47912,7 @@ const VY = ({ editor: t, disabled: e, labels: n }) => {
|
|
|
47897
47912
|
/* @__PURE__ */ b(
|
|
47898
47913
|
"div",
|
|
47899
47914
|
{
|
|
47900
|
-
className:
|
|
47915
|
+
className: M(
|
|
47901
47916
|
"flex w-80 appearance-none items-center gap-2 rounded border-0 bg-f1-background py-1 pl-2 pr-1 ring-1 ring-inset ring-f1-border transition-all placeholder:text-f1-foreground-tertiary",
|
|
47902
47917
|
t.isActive("link") ? "cursor-auto" : mt("focus:ring-f1-border-hover") + "hover:ring-f1-border-hover"
|
|
47903
47918
|
),
|
|
@@ -47905,7 +47920,7 @@ const VY = ({ editor: t, disabled: e, labels: n }) => {
|
|
|
47905
47920
|
/* @__PURE__ */ f(
|
|
47906
47921
|
"div",
|
|
47907
47922
|
{
|
|
47908
|
-
className:
|
|
47923
|
+
className: M(
|
|
47909
47924
|
"flex items-center justify-center",
|
|
47910
47925
|
o.length > 0 ? "w-6" : "w-4"
|
|
47911
47926
|
),
|
|
@@ -47977,7 +47992,7 @@ const VY = ({ editor: t, disabled: e, labels: n }) => {
|
|
|
47977
47992
|
}, Mo = ({ hidden: t = !1 }) => /* @__PURE__ */ f(
|
|
47978
47993
|
"div",
|
|
47979
47994
|
{
|
|
47980
|
-
className:
|
|
47995
|
+
className: M(
|
|
47981
47996
|
"mx-1 h-4 w-[1px] flex-shrink-0 bg-f1-foreground-disabled",
|
|
47982
47997
|
t && "hidden"
|
|
47983
47998
|
)
|
|
@@ -48003,7 +48018,7 @@ const VY = ({ editor: t, disabled: e, labels: n }) => {
|
|
|
48003
48018
|
onClick: (d) => {
|
|
48004
48019
|
d.preventDefault(), i || t();
|
|
48005
48020
|
},
|
|
48006
|
-
className:
|
|
48021
|
+
className: M(
|
|
48007
48022
|
e ? "text-f1-icon-selected" : "text-f1-foreground",
|
|
48008
48023
|
"flex items-center gap-1 border border-solid font-medium leading-tight shadow-none transition-all active:scale-90 motion-reduce:transition-none motion-reduce:active:scale-100 [&>button]:m-[-1px] [&>button]:aspect-square [&>button]:px-0",
|
|
48009
48024
|
e ? "border-f1-border-selected bg-f1-background-selected hover:border-f1-border-selected-bold" : "border-f1-background bg-transparent hover:border-f1-background-secondary hover:bg-f1-background-secondary-hover",
|
|
@@ -48017,7 +48032,7 @@ const VY = ({ editor: t, disabled: e, labels: n }) => {
|
|
|
48017
48032
|
o && /* @__PURE__ */ f(
|
|
48018
48033
|
"span",
|
|
48019
48034
|
{
|
|
48020
|
-
className:
|
|
48035
|
+
className: M(
|
|
48021
48036
|
"text-sm",
|
|
48022
48037
|
e && "text-f1-background-selected-bold"
|
|
48023
48038
|
),
|
|
@@ -48078,7 +48093,7 @@ const w4 = ({
|
|
|
48078
48093
|
animate: { opacity: 1, scale: 1, y: 0 },
|
|
48079
48094
|
exit: { opacity: 0, scale: 0.95, y: 5 },
|
|
48080
48095
|
transition: { duration: 0.15 },
|
|
48081
|
-
className:
|
|
48096
|
+
className: M(
|
|
48082
48097
|
"flex w-40 flex-col gap-0.5 overflow-hidden rounded-md border border-solid border-f1-border-secondary bg-f1-background p-0.5 drop-shadow-sm",
|
|
48083
48098
|
i && "dark"
|
|
48084
48099
|
),
|
|
@@ -48334,7 +48349,7 @@ const w4 = ({
|
|
|
48334
48349
|
m,
|
|
48335
48350
|
g
|
|
48336
48351
|
]);
|
|
48337
|
-
return /* @__PURE__ */ b("div", { className:
|
|
48352
|
+
return /* @__PURE__ */ b("div", { className: M("flex flex-row items-start gap-2 overflow-hidden"), children: [
|
|
48338
48353
|
i && /* @__PURE__ */ f(
|
|
48339
48354
|
ue,
|
|
48340
48355
|
{
|
|
@@ -48354,7 +48369,7 @@ const w4 = ({
|
|
|
48354
48369
|
/* @__PURE__ */ f(
|
|
48355
48370
|
"div",
|
|
48356
48371
|
{
|
|
48357
|
-
className:
|
|
48372
|
+
className: M(
|
|
48358
48373
|
"flex grow flex-row items-center",
|
|
48359
48374
|
r ? "scrollbar-macos overflow-x-auto" : "overflow-hidden"
|
|
48360
48375
|
),
|
|
@@ -48802,7 +48817,7 @@ const w4 = ({
|
|
|
48802
48817
|
...e,
|
|
48803
48818
|
"data-type": this.name,
|
|
48804
48819
|
"data-checked": t.attrs.checked,
|
|
48805
|
-
class:
|
|
48820
|
+
class: M("f1-task-item", e.class)
|
|
48806
48821
|
},
|
|
48807
48822
|
[
|
|
48808
48823
|
"input",
|
|
@@ -49293,7 +49308,7 @@ const Rd = (t, e) => e.view.domAtPos(t).node.offsetParent !== null, IZ = (t, e,
|
|
|
49293
49308
|
return {
|
|
49294
49309
|
// Escape node on double enter
|
|
49295
49310
|
Enter: ({ editor: t }) => {
|
|
49296
|
-
const { state: e, view: n } = t, { selection: i } = e, { $from: r, empty: s } = i, o = Uo((
|
|
49311
|
+
const { state: e, view: n } = t, { selection: i } = e, { $from: r, empty: s } = i, o = Uo((E) => E.type === this.type)(i);
|
|
49297
49312
|
if (!s || !o || !o.node.childCount)
|
|
49298
49313
|
return !1;
|
|
49299
49314
|
const a = r.index(o.depth), { childCount: l } = o.node;
|
|
@@ -49943,7 +49958,7 @@ function GZ({
|
|
|
49943
49958
|
Ve(S, e, S), Ve(S, n, _), Ve(_, e, S), Ve(_, n, _), re(w, wi, S), re(k, wi, S);
|
|
49944
49959
|
const A = re(a, xr), N = re(l, xr), L = re(N, wi), C = re(L, wi);
|
|
49945
49960
|
Ve(a, t.domain, o), re(a, xi, v), re(a, jn, y), Ve(l, t.domain, o), re(l, xi, v), re(l, jn, y), Ve(A, t.domain, S), re(A, wi, S), re(A, Ta, S), Ve(C, t.domain, S), Ve(C, e, S), re(C, wi, S);
|
|
49946
|
-
const
|
|
49961
|
+
const E = [
|
|
49947
49962
|
[La, Ea],
|
|
49948
49963
|
// {}
|
|
49949
49964
|
[Pd, Fd],
|
|
@@ -49961,8 +49976,8 @@ function GZ({
|
|
|
49961
49976
|
[Gd, Jd]
|
|
49962
49977
|
// <>
|
|
49963
49978
|
];
|
|
49964
|
-
for (let T = 0; T <
|
|
49965
|
-
const [D, R] =
|
|
49979
|
+
for (let T = 0; T < E.length; T++) {
|
|
49980
|
+
const [D, R] = E[T], z = re(S, D);
|
|
49966
49981
|
re(_, D, z), re(z, R, S);
|
|
49967
49982
|
const $ = zn(hc);
|
|
49968
49983
|
Ve(z, e, $);
|
|
@@ -51721,10 +51736,10 @@ function Xw({ pluginKey: t = sQ, editor: e, char: n = "@", allowSpaces: i = !1,
|
|
|
51721
51736
|
return {
|
|
51722
51737
|
update: async (v, w) => {
|
|
51723
51738
|
var x, k, S, _, A, N, L;
|
|
51724
|
-
const C = (x = this.key) === null || x === void 0 ? void 0 : x.getState(w),
|
|
51739
|
+
const C = (x = this.key) === null || x === void 0 ? void 0 : x.getState(w), E = (k = this.key) === null || k === void 0 ? void 0 : k.getState(v.state), T = C.active && E.active && C.range.from !== E.range.from, D = !C.active && E.active, R = C.active && !E.active, z = !D && !R && C.query !== E.query, $ = D || T && z, G = z || T, he = R || T && z;
|
|
51725
51740
|
if (!$ && !G && !he)
|
|
51726
51741
|
return;
|
|
51727
|
-
const K = he && !$ ? C :
|
|
51742
|
+
const K = he && !$ ? C : E, O = v.dom.querySelector(`[data-decoration-id="${K.decorationId}"]`);
|
|
51728
51743
|
m = {
|
|
51729
51744
|
editor: e,
|
|
51730
51745
|
range: K.range,
|
|
@@ -51774,7 +51789,7 @@ function Xw({ pluginKey: t = sQ, editor: e, char: n = "@", allowSpaces: i = !1,
|
|
|
51774
51789
|
const { isEditable: S } = e, { composing: _ } = e.view, { selection: A } = v, { empty: N, from: L } = A, C = { ...w };
|
|
51775
51790
|
if (C.composing = _, S && (N || e.view.composing)) {
|
|
51776
51791
|
(L < w.range.from || L > w.range.to) && !_ && !w.composing && (C.active = !1);
|
|
51777
|
-
const
|
|
51792
|
+
const E = p({
|
|
51778
51793
|
char: n,
|
|
51779
51794
|
allowSpaces: i,
|
|
51780
51795
|
allowToIncludeChar: r,
|
|
@@ -51782,12 +51797,12 @@ function Xw({ pluginKey: t = sQ, editor: e, char: n = "@", allowSpaces: i = !1,
|
|
|
51782
51797
|
startOfLine: o,
|
|
51783
51798
|
$position: A.$from
|
|
51784
51799
|
}), T = `id_${Math.floor(Math.random() * 4294967295)}`;
|
|
51785
|
-
|
|
51800
|
+
E && h({
|
|
51786
51801
|
editor: e,
|
|
51787
51802
|
state: k,
|
|
51788
|
-
range:
|
|
51803
|
+
range: E.range,
|
|
51789
51804
|
isActive: w.active
|
|
51790
|
-
}) ? (C.active = !0, C.decorationId = w.decorationId ? w.decorationId : T, C.range =
|
|
51805
|
+
}) ? (C.active = !0, C.decorationId = w.decorationId ? w.decorationId : T, C.range = E.range, C.query = E.query, C.text = E.text) : C.active = !1;
|
|
51791
51806
|
} else
|
|
51792
51807
|
C.active = !1;
|
|
51793
51808
|
return C.active || (C.decorationId = null, C.range = { from: 0, to: 0 }, C.query = null, C.text = null), C;
|
|
@@ -51970,7 +51985,7 @@ var Qw = lQ();
|
|
|
51970
51985
|
const cQ = ({ item: t, selected: e }) => /* @__PURE__ */ b(
|
|
51971
51986
|
"div",
|
|
51972
51987
|
{
|
|
51973
|
-
className:
|
|
51988
|
+
className: M(
|
|
51974
51989
|
"flex items-center gap-2 rounded-md border border-solid p-1.5 hover:bg-f1-background-hover",
|
|
51975
51990
|
e ? "border-f1-border-selected-bold" : "border-f1-border-inverse"
|
|
51976
51991
|
),
|
|
@@ -53282,7 +53297,7 @@ const fQ = aQ.extend({
|
|
|
53282
53297
|
"div",
|
|
53283
53298
|
{
|
|
53284
53299
|
ref: S ? a : null,
|
|
53285
|
-
className:
|
|
53300
|
+
className: M(
|
|
53286
53301
|
"flex w-full cursor-pointer items-center gap-2 rounded px-2 py-1.5 text-left text-sm hover:bg-f1-background-hover",
|
|
53287
53302
|
S && "bg-f1-background-secondary"
|
|
53288
53303
|
),
|
|
@@ -60980,7 +60995,7 @@ const eie = (t) => {
|
|
|
60980
60995
|
x.current = T ? { pos: D, nodeSize: T.nodeSize } : null;
|
|
60981
60996
|
},
|
|
60982
60997
|
[]
|
|
60983
|
-
),
|
|
60998
|
+
), E = Ie(() => {
|
|
60984
60999
|
const T = x.current;
|
|
60985
61000
|
if (!T || !N) return;
|
|
60986
61001
|
const { pos: D, nodeSize: R } = T, z = N.state.doc.nodeAt(D);
|
|
@@ -61013,7 +61028,7 @@ const eie = (t) => {
|
|
|
61013
61028
|
(a || _) && /* @__PURE__ */ f(
|
|
61014
61029
|
"div",
|
|
61015
61030
|
{
|
|
61016
|
-
className:
|
|
61031
|
+
className: M(
|
|
61017
61032
|
"flex flex-col pb-5 pt-5 transition-all duration-300",
|
|
61018
61033
|
d ? "px-32" : "px-14"
|
|
61019
61034
|
),
|
|
@@ -61049,7 +61064,7 @@ const eie = (t) => {
|
|
|
61049
61064
|
variant: "ghost",
|
|
61050
61065
|
size: "sm",
|
|
61051
61066
|
className: "text-f1-foreground-tertiary",
|
|
61052
|
-
onClick:
|
|
61067
|
+
onClick: E,
|
|
61053
61068
|
children: /* @__PURE__ */ f(ye, { icon: O6, size: "sm" })
|
|
61054
61069
|
}
|
|
61055
61070
|
),
|
|
@@ -61072,7 +61087,7 @@ const eie = (t) => {
|
|
|
61072
61087
|
Tw,
|
|
61073
61088
|
{
|
|
61074
61089
|
editor: N,
|
|
61075
|
-
className:
|
|
61090
|
+
className: M(
|
|
61076
61091
|
"pb-28 [&>div]:w-full [&>div]:transition-[padding] [&>div]:duration-300",
|
|
61077
61092
|
d ? "[&>div]:px-32" : "[&>div]:px-14"
|
|
61078
61093
|
)
|
|
@@ -61132,7 +61147,7 @@ const eie = (t) => {
|
|
|
61132
61147
|
e && /* @__PURE__ */ f(
|
|
61133
61148
|
"div",
|
|
61134
61149
|
{
|
|
61135
|
-
className:
|
|
61150
|
+
className: M(
|
|
61136
61151
|
"flex flex-col pb-5 pt-5",
|
|
61137
61152
|
n ? "px-32" : "px-14"
|
|
61138
61153
|
),
|
|
@@ -61142,7 +61157,7 @@ const eie = (t) => {
|
|
|
61142
61157
|
/* @__PURE__ */ f("div", { className: "h-full", children: /* @__PURE__ */ f(
|
|
61143
61158
|
"div",
|
|
61144
61159
|
{
|
|
61145
|
-
className:
|
|
61160
|
+
className: M(
|
|
61146
61161
|
"pb-28 [&>div]:w-full",
|
|
61147
61162
|
n ? "[&>div]:px-32" : "[&>div]:px-14"
|
|
61148
61163
|
),
|
|
@@ -61215,7 +61230,7 @@ const eie = (t) => {
|
|
|
61215
61230
|
}, sie = ({ label: t, isFullscreen: e }) => /* @__PURE__ */ f(
|
|
61216
61231
|
"div",
|
|
61217
61232
|
{
|
|
61218
|
-
className:
|
|
61233
|
+
className: M(
|
|
61219
61234
|
"absolute left-0 top-0 z-50 flex h-full w-full items-center justify-center rounded-xl bg-f1-background p-2",
|
|
61220
61235
|
!e && "max-h-60"
|
|
61221
61236
|
),
|
|
@@ -61367,7 +61382,7 @@ const eie = (t) => {
|
|
|
61367
61382
|
"div",
|
|
61368
61383
|
{
|
|
61369
61384
|
onClick: () => e(t),
|
|
61370
|
-
className:
|
|
61385
|
+
className: M(
|
|
61371
61386
|
"flex cursor-pointer flex-row items-center gap-2 rounded-md bg-f1-background p-2 hover:bg-f1-background-secondary",
|
|
61372
61387
|
(n == null ? void 0 : n.id) === t.id && "bg-f1-background-secondary"
|
|
61373
61388
|
),
|
|
@@ -61497,7 +61512,7 @@ const eie = (t) => {
|
|
|
61497
61512
|
u(h);
|
|
61498
61513
|
},
|
|
61499
61514
|
disabled: r || n,
|
|
61500
|
-
className:
|
|
61515
|
+
className: M(
|
|
61501
61516
|
"bg-gradient-to-r from-[#f9f0dd80] to-[#d4ccfd80] text-[#6143a7] dark:from-[#6143a7] dark:to-[#7846ef] dark:text-f1-foreground [&>button>svg]:text-[#6143a7] dark:[&>button>svg]:text-f1-foreground",
|
|
61502
61517
|
s && "[&>button]:aspect-square [&>button]:px-0"
|
|
61503
61518
|
),
|
|
@@ -62089,7 +62104,7 @@ const Nie = ({
|
|
|
62089
62104
|
height: p = "auto",
|
|
62090
62105
|
plainHtmlMode: m = !1
|
|
62091
62106
|
}, g) {
|
|
62092
|
-
const y = Os(), v = me(null), w = me(null), x = me(null), [k, S] = V(!1), [_, A] = V(!0), [N, L] = V(!1), [C,
|
|
62107
|
+
const y = Os(), v = me(null), w = me(null), x = me(null), [k, S] = V(!1), [_, A] = V(!0), [N, L] = V(!1), [C, E] = V(!1), [T, D] = V(!1), [R, z] = V(!1), [$, G] = V(null), [he, K] = V(!1), [O, ve] = V(null), [Ce, I] = V((a == null ? void 0 : a.files) || []), [Pe, We] = V(
|
|
62093
62108
|
(e == null ? void 0 : e.users) || []
|
|
62094
62109
|
), [Le, B] = V({
|
|
62095
62110
|
html: (a == null ? void 0 : a.content) || "",
|
|
@@ -62116,7 +62131,7 @@ const Nie = ({
|
|
|
62116
62131
|
J && B({
|
|
62117
62132
|
...Le,
|
|
62118
62133
|
json: J.getJSON()
|
|
62119
|
-
}),
|
|
62134
|
+
}), E((De) => !De);
|
|
62120
62135
|
}, fe = !!(T || N || $), J = dg(
|
|
62121
62136
|
{
|
|
62122
62137
|
extensions: Nie({
|
|
@@ -62178,7 +62193,7 @@ const Nie = ({
|
|
|
62178
62193
|
{
|
|
62179
62194
|
ref: w,
|
|
62180
62195
|
id: y,
|
|
62181
|
-
className:
|
|
62196
|
+
className: M(
|
|
62182
62197
|
"rich-text-editor-container flex flex-col bg-f1-background",
|
|
62183
62198
|
C ? "fixed inset-0 z-50" : "relative w-full rounded-xl border border-solid border-f1-border"
|
|
62184
62199
|
),
|
|
@@ -62202,14 +62217,14 @@ const Nie = ({
|
|
|
62202
62217
|
"div",
|
|
62203
62218
|
{
|
|
62204
62219
|
ref: x,
|
|
62205
|
-
className:
|
|
62220
|
+
className: M(
|
|
62206
62221
|
"scrollbar-macos relative flex w-full items-start justify-center overflow-y-auto pb-1 pl-3 pr-10 pt-3",
|
|
62207
62222
|
C ? "h-full" : Mie(p)
|
|
62208
62223
|
),
|
|
62209
62224
|
children: /* @__PURE__ */ f(
|
|
62210
62225
|
ce.div,
|
|
62211
62226
|
{
|
|
62212
|
-
className:
|
|
62227
|
+
className: M(
|
|
62213
62228
|
"w-full overflow-hidden",
|
|
62214
62229
|
C && "max-w-4xl"
|
|
62215
62230
|
),
|
|
@@ -62252,7 +62267,7 @@ const Nie = ({
|
|
|
62252
62267
|
/* @__PURE__ */ b(
|
|
62253
62268
|
"div",
|
|
62254
62269
|
{
|
|
62255
|
-
className:
|
|
62270
|
+
className: M(
|
|
62256
62271
|
"rounded-b-lg bg-f1-background px-3",
|
|
62257
62272
|
k && !_ && "shadow-editor-tools"
|
|
62258
62273
|
),
|
|
@@ -62390,10 +62405,10 @@ const Nie = ({
|
|
|
62390
62405
|
gap: "4"
|
|
62391
62406
|
}
|
|
62392
62407
|
}), Pie = ne.forwardRef(function({ className: e, gap: n, children: i, tileSize: r, ...s }, o) {
|
|
62393
|
-
return /* @__PURE__ */ f("div", { className:
|
|
62408
|
+
return /* @__PURE__ */ f("div", { className: M("@container", "grow"), ref: o, ...s, children: /* @__PURE__ */ f(
|
|
62394
62409
|
"div",
|
|
62395
62410
|
{
|
|
62396
|
-
className:
|
|
62411
|
+
className: M(Rie({ gap: n, tileSize: r }), e),
|
|
62397
62412
|
ref: o,
|
|
62398
62413
|
...s,
|
|
62399
62414
|
children: i
|
|
@@ -62495,7 +62510,7 @@ const Nie = ({
|
|
|
62495
62510
|
return /* @__PURE__ */ f(
|
|
62496
62511
|
"div",
|
|
62497
62512
|
{
|
|
62498
|
-
className:
|
|
62513
|
+
className: M(
|
|
62499
62514
|
Fie({
|
|
62500
62515
|
paddingX: s,
|
|
62501
62516
|
basis: i,
|
|
@@ -62533,7 +62548,7 @@ const Nie = ({
|
|
|
62533
62548
|
return /* @__PURE__ */ f(
|
|
62534
62549
|
fC,
|
|
62535
62550
|
{
|
|
62536
|
-
className:
|
|
62551
|
+
className: M(zie({ gap: n, wrap: i }), e),
|
|
62537
62552
|
ref: s,
|
|
62538
62553
|
...r
|
|
62539
62554
|
}
|
|
@@ -62550,7 +62565,7 @@ const Nie = ({
|
|
|
62550
62565
|
return /* @__PURE__ */ f(
|
|
62551
62566
|
fC,
|
|
62552
62567
|
{
|
|
62553
|
-
className:
|
|
62568
|
+
className: M($ie({ gap: n }), e),
|
|
62554
62569
|
ref: s,
|
|
62555
62570
|
...r,
|
|
62556
62571
|
children: i
|
|
@@ -62579,7 +62594,7 @@ const Nie = ({
|
|
|
62579
62594
|
return /* @__PURE__ */ f(
|
|
62580
62595
|
"div",
|
|
62581
62596
|
{
|
|
62582
|
-
className:
|
|
62597
|
+
className: M(
|
|
62583
62598
|
"inline-flex ring-1 ring-inset ring-transparent transition-all duration-150",
|
|
62584
62599
|
e && "select-none overflow-hidden rounded-sm bg-f1-background-tertiary ring-f1-border-secondary"
|
|
62585
62600
|
),
|
|
@@ -62613,7 +62628,7 @@ const Nie = ({
|
|
|
62613
62628
|
return /* @__PURE__ */ b(
|
|
62614
62629
|
Rf,
|
|
62615
62630
|
{
|
|
62616
|
-
className:
|
|
62631
|
+
className: M(
|
|
62617
62632
|
a ? "h-full" : "",
|
|
62618
62633
|
"relative flex gap-3 border-f1-border-secondary"
|
|
62619
62634
|
),
|
|
@@ -62701,7 +62716,7 @@ const Nie = ({
|
|
|
62701
62716
|
return /* @__PURE__ */ b(
|
|
62702
62717
|
Rf,
|
|
62703
62718
|
{
|
|
62704
|
-
className:
|
|
62719
|
+
className: M(
|
|
62705
62720
|
"flex gap-4 border-f1-border-secondary",
|
|
62706
62721
|
n === "full" && "h-full"
|
|
62707
62722
|
),
|
|
@@ -62724,7 +62739,7 @@ const Nie = ({
|
|
|
62724
62739
|
zf,
|
|
62725
62740
|
{
|
|
62726
62741
|
"aria-hidden": !0,
|
|
62727
|
-
className:
|
|
62742
|
+
className: M(n !== "full" && qie({ height: n })),
|
|
62728
62743
|
children: [...Array(4)].map((r, s) => /* @__PURE__ */ f(
|
|
62729
62744
|
ie,
|
|
62730
62745
|
{
|
|
@@ -63165,18 +63180,18 @@ const Nie = ({
|
|
|
63165
63180
|
return /* @__PURE__ */ b(
|
|
63166
63181
|
Rf,
|
|
63167
63182
|
{
|
|
63168
|
-
className:
|
|
63183
|
+
className: M(
|
|
63169
63184
|
"relative flex gap-4 overflow-hidden border-dashed",
|
|
63170
63185
|
l
|
|
63171
63186
|
),
|
|
63172
63187
|
ref: a,
|
|
63173
63188
|
children: [
|
|
63174
63189
|
/* @__PURE__ */ f(Pf, { className: "-mt-0.5", children: /* @__PURE__ */ f(Ff, { children: e }) }),
|
|
63175
|
-
/* @__PURE__ */ b(zf, { className:
|
|
63190
|
+
/* @__PURE__ */ b(zf, { className: M("flex flex-col gap-4", c), children: [
|
|
63176
63191
|
/* @__PURE__ */ b(
|
|
63177
63192
|
"div",
|
|
63178
63193
|
{
|
|
63179
|
-
className:
|
|
63194
|
+
className: M(
|
|
63180
63195
|
"absolute -top-12 bottom-0 left-0 right-0 flex flex-col justify-end bg-gradient-to-b to-transparent opacity-30",
|
|
63181
63196
|
d
|
|
63182
63197
|
),
|
|
@@ -63279,7 +63294,7 @@ const Hu = function({
|
|
|
63279
63294
|
"div",
|
|
63280
63295
|
{
|
|
63281
63296
|
ref: a,
|
|
63282
|
-
className:
|
|
63297
|
+
className: M("relative flex h-full flex-col", i),
|
|
63283
63298
|
style: {
|
|
63284
63299
|
minHeight: `${s}px`
|
|
63285
63300
|
},
|
|
@@ -63355,7 +63370,7 @@ function foe({
|
|
|
63355
63370
|
!!i && /* @__PURE__ */ f("div", { className: r ? "mt-1" : "mt-2", children: /* @__PURE__ */ f(
|
|
63356
63371
|
"span",
|
|
63357
63372
|
{
|
|
63358
|
-
className:
|
|
63373
|
+
className: M(
|
|
63359
63374
|
"text-f1-foreground",
|
|
63360
63375
|
r ? "text-sm" : "text-base"
|
|
63361
63376
|
),
|
|
@@ -63528,7 +63543,7 @@ function pre({
|
|
|
63528
63543
|
/* @__PURE__ */ f(
|
|
63529
63544
|
"span",
|
|
63530
63545
|
{
|
|
63531
|
-
className:
|
|
63546
|
+
className: M(
|
|
63532
63547
|
"font-medium",
|
|
63533
63548
|
t ? "text-f1-foreground" : "text-f1-foreground-secondary"
|
|
63534
63549
|
),
|
|
@@ -63574,16 +63589,16 @@ function uoe({
|
|
|
63574
63589
|
label: O.duration ? `${O.name} · ${O.duration}` : O.name,
|
|
63575
63590
|
description: O.description,
|
|
63576
63591
|
tag: O.isPaid ? i.paid : i.unpaid
|
|
63577
|
-
}))) ?? [], [C,
|
|
63592
|
+
}))) ?? [], [C, E] = V(!1), T = () => {
|
|
63578
63593
|
var O;
|
|
63579
63594
|
if (L.length > 1)
|
|
63580
|
-
C ||
|
|
63595
|
+
C || E(!0);
|
|
63581
63596
|
else {
|
|
63582
63597
|
const ve = (O = L == null ? void 0 : L[0]) == null ? void 0 : O.value;
|
|
63583
63598
|
d == null || d(ve);
|
|
63584
63599
|
}
|
|
63585
63600
|
}, D = (O) => {
|
|
63586
|
-
h == null || h(O),
|
|
63601
|
+
h == null || h(O), E(!1), d == null || d(O);
|
|
63587
63602
|
}, R = N && s.length && !a && o, z = s.find((O) => O.id === r), $ = s.map((O) => ({
|
|
63588
63603
|
value: O.id,
|
|
63589
63604
|
label: O.name,
|
|
@@ -63644,7 +63659,7 @@ function uoe({
|
|
|
63644
63659
|
options: L,
|
|
63645
63660
|
onChange: D,
|
|
63646
63661
|
open: C,
|
|
63647
|
-
onOpenChange:
|
|
63662
|
+
onOpenChange: E,
|
|
63648
63663
|
selectContentClassName: "min-w-80",
|
|
63649
63664
|
children: /* @__PURE__ */ f("div", { "aria-label": "Select break type", children: /* @__PURE__ */ f(
|
|
63650
63665
|
ue,
|
|
@@ -63742,7 +63757,7 @@ const mre = ({ onClick: t, children: e }) => {
|
|
|
63742
63757
|
return t ? /* @__PURE__ */ f(
|
|
63743
63758
|
"a",
|
|
63744
63759
|
{
|
|
63745
|
-
className:
|
|
63760
|
+
className: M(
|
|
63746
63761
|
n,
|
|
63747
63762
|
"cursor-pointer focus:border-f1-background-selected-bold focus:outline-none"
|
|
63748
63763
|
),
|
|
@@ -63762,7 +63777,7 @@ function hoe({
|
|
|
63762
63777
|
return /* @__PURE__ */ f(mre, { onClick: r, children: /* @__PURE__ */ b(
|
|
63763
63778
|
"div",
|
|
63764
63779
|
{
|
|
63765
|
-
className:
|
|
63780
|
+
className: M(
|
|
63766
63781
|
"flex flex-col gap-0.5 rounded-md border border-solid border-f1-border-secondary px-3 py-2.5",
|
|
63767
63782
|
r && "hover:border-f1-border-hover"
|
|
63768
63783
|
),
|
|
@@ -63789,8 +63804,8 @@ const gre = U(
|
|
|
63789
63804
|
children: n
|
|
63790
63805
|
}
|
|
63791
63806
|
),
|
|
63792
|
-
"icon" in r && r.icon && /* @__PURE__ */ f("span", { className:
|
|
63793
|
-
"emoji" in r && r.emoji && /* @__PURE__ */ f("span", { className:
|
|
63807
|
+
"icon" in r && r.icon && /* @__PURE__ */ f("span", { className: M("flex", i), children: /* @__PURE__ */ f(ye, { icon: r.icon }) }),
|
|
63808
|
+
"emoji" in r && r.emoji && /* @__PURE__ */ f("span", { className: M("flex", i), children: /* @__PURE__ */ f(Tf, { emoji: r.emoji, size: "md" }) })
|
|
63794
63809
|
] })
|
|
63795
63810
|
] }, n);
|
|
63796
63811
|
}
|
|
@@ -63820,7 +63835,7 @@ const gre = U(
|
|
|
63820
63835
|
withPointerCursor: n,
|
|
63821
63836
|
children: i
|
|
63822
63837
|
}) => {
|
|
63823
|
-
const r =
|
|
63838
|
+
const r = M(
|
|
63824
63839
|
"flex flex-row items-center rounded-md border border-solid border-transparent p-2 text-f1-foreground",
|
|
63825
63840
|
e ? "gap-2" : "gap-2.5",
|
|
63826
63841
|
n ? "cursor-pointer" : "cursor-default",
|
|
@@ -63874,7 +63889,7 @@ function x5({
|
|
|
63874
63889
|
onClick: i,
|
|
63875
63890
|
module: r
|
|
63876
63891
|
}) {
|
|
63877
|
-
const s =
|
|
63892
|
+
const s = M(
|
|
63878
63893
|
"flex flex-row gap-2 rounded-md border border-solid border-transparent p-2 text-f1-foreground",
|
|
63879
63894
|
i ? "cursor-pointer hover:bg-f1-background-tertiary focus:border-f1-background-selected-bold focus:outline-none" : void 0
|
|
63880
63895
|
);
|
|
@@ -63901,7 +63916,7 @@ function um({
|
|
|
63901
63916
|
rightIconClassName: l = "text-f1-icon-secondary",
|
|
63902
63917
|
onClick: c
|
|
63903
63918
|
}) {
|
|
63904
|
-
const d =
|
|
63919
|
+
const d = M(
|
|
63905
63920
|
"flex flex-row items-start gap-1 rounded-md border border-solid border-transparent px-2 py-1.5 text-f1-foreground",
|
|
63906
63921
|
c ? "cursor-pointer hover:bg-f1-background-tertiary focus:border-f1-background-selected-bold focus:outline-none" : void 0
|
|
63907
63922
|
);
|
|
@@ -63914,7 +63929,7 @@ function um({
|
|
|
63914
63929
|
{
|
|
63915
63930
|
icon: s,
|
|
63916
63931
|
size: "md",
|
|
63917
|
-
className:
|
|
63932
|
+
className: M("mt-0.5", a)
|
|
63918
63933
|
}
|
|
63919
63934
|
),
|
|
63920
63935
|
/* @__PURE__ */ f("p", { className: "mt-0.5 line-clamp-2 font-medium", children: e }),
|
|
@@ -63923,7 +63938,7 @@ function um({
|
|
|
63923
63938
|
{
|
|
63924
63939
|
icon: o,
|
|
63925
63940
|
size: "md",
|
|
63926
|
-
className:
|
|
63941
|
+
className: M("mt-0.5", l)
|
|
63927
63942
|
}
|
|
63928
63943
|
)
|
|
63929
63944
|
] }),
|