@factorialco/f0-react 1.419.0 → 1.420.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{F0HILActionConfirmation-e3fz8fma.js → F0HILActionConfirmation-DmSwzvkv.js} +1 -1
- package/dist/ai.d.ts +6 -6
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +6 -6
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +74 -6
- package/dist/f0.js +3961 -3803
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/dist/{index-ClKgg8Ep.js → index-BVculwZa.js} +204 -204
- package/dist/{registry-QvKnuacs.js → registry-BQtwbAA5.js} +12115 -12073
- package/dist/styles.css +1 -1
- package/icons/app/Marker.d.ts +4 -0
- package/icons/app/Marker.d.ts.map +1 -0
- package/icons/app/Marker.js +5 -0
- package/icons/app/Multitask.d.ts +4 -0
- package/icons/app/Multitask.d.ts.map +1 -0
- package/icons/app/Multitask.js +5 -0
- package/icons/app/index.d.ts +2 -0
- package/icons/app/index.d.ts.map +1 -1
- package/icons/app/index.js +2 -0
- package/package.json +2 -2
|
@@ -742,8 +742,10 @@ declare module "@tiptap/core" {
|
|
|
742
742
|
|
|
743
743
|
declare module "@tiptap/core" {
|
|
744
744
|
interface Commands<ReturnType> {
|
|
745
|
-
|
|
746
|
-
|
|
745
|
+
videoEmbed: {
|
|
746
|
+
setVideoEmbed: (options: {
|
|
747
|
+
src: string;
|
|
748
|
+
}) => ReturnType;
|
|
747
749
|
};
|
|
748
750
|
}
|
|
749
751
|
}
|
|
@@ -751,10 +753,8 @@ declare module "@tiptap/core" {
|
|
|
751
753
|
|
|
752
754
|
declare module "@tiptap/core" {
|
|
753
755
|
interface Commands<ReturnType> {
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
src: string;
|
|
757
|
-
}) => ReturnType;
|
|
756
|
+
transcript: {
|
|
757
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
758
758
|
};
|
|
759
759
|
}
|
|
760
760
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as H, jsx as _, Fragment as Ct } from "react/jsx-runtime";
|
|
2
2
|
import * as Ie from "react";
|
|
3
3
|
import T, { useRef as $e, useState as ve, useCallback as xt, useEffect as ut, useLayoutEffect as fg, isValidElement as Jn, Children as ua, PureComponent as qn, forwardRef as ri, useImperativeHandle as lg, useMemo as vi, cloneElement as bt, createElement as cg, useContext as Hn, createContext as Ai, Component as R6, useId as j6, Fragment as uf, useDebugValue as L6, createRef as GC, memo as B6, version as yb } from "react";
|
|
4
|
-
import { U as wi,
|
|
4
|
+
import { U as wi, d1 as YC, K as fe, cY as F6, aU as XC, aT as JC, L as z6, P as Ci, a3 as $r, f9 as eo, fa as ZC, fb as QC, fc as eT, fd as vb, fe as gb, ff as bb, fg as xb, fh as kb, fi as q6, fj as yc, fk as tT, fl as nT, fm as iT, dP as df, fn as hl, fo as pl, fp as ai, fq as rT, fr as H6, b8 as Ye, fs as aT, ft as ts, a7 as Ee, fu as oT, fv as W6, fw as ug, fx as V6, fy as U6, fz as sT, fA as fT, fB as K6, fC as lT, fD as cT, fE as uT, fF as wd, fG as dT, fH as hT, fI as pT, fJ as mT, a6 as Sa, fK as yT, fL as vT, dp as gT, a8 as Zn, a9 as Qn, cQ as bT, cR as xT, cS as kT, cV as wT, fM as G6, _ as nn, bF as _T, M as Le, aL as ml, aq as ST, eX as Ut, bh as OT, bi as ET, a2 as dg, bj as AT, bn as CT, bk as TT, bl as wb, bp as _b, aO as Y6, br as MT, bs as PT, bu as DT, bv as NT, N as _d, u as Ti, aF as X6, a0 as gn, R as nt, $ as $T, W as J6, aS as IT, ak as hg, cy as RT, fN as Z6, fO as Sb, fP as jT, cD as LT, eu as BT, ev as FT, cv as zT, cw as qT, cx as HT, eR as WT, am as VT, eS as pg, c4 as hf, a4 as Q6, du as e5, bm as UT, fQ as KT, au as t5, fR as GT, fS as YT, fT as n5, dM as yl, fU as Sd, fV as Od, dO as vl, ai as XT, aj as JT, dC as ZT, al as QT, c5 as mg, aQ as Ob, er as eM, fW as tM, d$ as i5, dw as nM, fX as iM, fY as Vy, fZ as r5, f_ as a5, f$ as o5, g0 as rM, g1 as aM, g2 as oM, g3 as sM, dD as fM, dE as lM, dF as cM, bc as uM, dG as dM, ba as hM, g4 as pM, dJ as mM, dL as yM, dK as vM, c2 as gM, dN as bM, g5 as xM, at as s5, aK as f5, d2 as Uy, a1 as kM, bb as wM, g6 as _M, bB as SM, bC as OM, Y as l5, Z as hn, g7 as EM, az as Eb, e2 as AM, Q as c5, b$ as CM, ar as TM, bZ as yg, aa as MM, aC as PM, dS as DM, cf as NM, bG as Ab, c0 as $M, a$ as IM, eB as RM, g8 as jM, bH as LM, bI as BM, g9 as FM, bJ as zM, ga as qM, gb as HM, eH as Cb } from "./registry-BQtwbAA5.js";
|
|
5
5
|
import vg from "react-dom";
|
|
6
6
|
import './index.css';const WM = {
|
|
7
7
|
active: !0,
|
|
@@ -47298,123 +47298,14 @@ function lae(t) {
|
|
|
47298
47298
|
}
|
|
47299
47299
|
const Qae = Ci(
|
|
47300
47300
|
lae
|
|
47301
|
-
),
|
|
47302
|
-
({ header: t, actions: e, open: n, onClose: i }, r) => {
|
|
47303
|
-
const [a, o] = ve(!1), s = xt(() => {
|
|
47304
|
-
o(!0);
|
|
47305
|
-
const f = setTimeout(() => {
|
|
47306
|
-
i?.(), o(!1);
|
|
47307
|
-
}, 200);
|
|
47308
|
-
return () => clearTimeout(f);
|
|
47309
|
-
}, [i]);
|
|
47310
|
-
return /* @__PURE__ */ _(
|
|
47311
|
-
MM,
|
|
47312
|
-
{
|
|
47313
|
-
open: n && !a,
|
|
47314
|
-
onOpenChange: (f) => !f && s?.(),
|
|
47315
|
-
children: /* @__PURE__ */ H(PM, { ref: r, className: "bottom-3 top-auto max-w-[400px]", children: [
|
|
47316
|
-
/* @__PURE__ */ H(DM, { className: "flex flex-col gap-4 px-4 py-5", children: [
|
|
47317
|
-
/* @__PURE__ */ _(s5, { type: t.type, size: "lg" }),
|
|
47318
|
-
/* @__PURE__ */ H("div", { className: "flex flex-col gap-0.5", children: [
|
|
47319
|
-
/* @__PURE__ */ _(NM, { className: "text-xl sm:text-lg", children: t.title }),
|
|
47320
|
-
/* @__PURE__ */ _($M, { className: "text-lg sm:text-base", children: t.description })
|
|
47321
|
-
] })
|
|
47322
|
-
] }),
|
|
47323
|
-
e && /* @__PURE__ */ H(IM, { className: "px-4 pb-4 pt-2", children: [
|
|
47324
|
-
/* @__PURE__ */ H("div", { className: "hidden sm:flex sm:flex-row sm:justify-between sm:gap-3 [&>div]:w-full", children: [
|
|
47325
|
-
/* @__PURE__ */ _(Le, { variant: "outline", ...e.secondary }),
|
|
47326
|
-
/* @__PURE__ */ _(
|
|
47327
|
-
Le,
|
|
47328
|
-
{
|
|
47329
|
-
...e.primary,
|
|
47330
|
-
variant: e.primary.variant || "default"
|
|
47331
|
-
}
|
|
47332
|
-
)
|
|
47333
|
-
] }),
|
|
47334
|
-
/* @__PURE__ */ H("div", { className: "flex flex-col-reverse gap-2 sm:hidden [&>div]:w-full", children: [
|
|
47335
|
-
/* @__PURE__ */ _(Le, { variant: "outline", ...e.secondary, size: "lg" }),
|
|
47336
|
-
/* @__PURE__ */ _(
|
|
47337
|
-
Le,
|
|
47338
|
-
{
|
|
47339
|
-
...e.primary,
|
|
47340
|
-
variant: e.primary.variant || "default",
|
|
47341
|
-
size: "lg"
|
|
47342
|
-
}
|
|
47343
|
-
)
|
|
47344
|
-
] })
|
|
47345
|
-
] })
|
|
47346
|
-
] })
|
|
47347
|
-
}
|
|
47348
|
-
);
|
|
47349
|
-
}
|
|
47350
|
-
);
|
|
47351
|
-
UC.displayName = "Dialog";
|
|
47352
|
-
const eoe = Ci(
|
|
47353
|
-
c5(
|
|
47354
|
-
{ name: "Dialog", type: "info" },
|
|
47355
|
-
$r("Dialog", UC)
|
|
47356
|
-
)
|
|
47357
|
-
), cae = ({ description: t }) => {
|
|
47358
|
-
const [e, n] = ve(!1), [i, r] = ve(!1), a = Ti(), o = $e(null), s = $e(null), f = Ab({ ref: o }), l = Ab({ ref: s });
|
|
47359
|
-
return ut(() => {
|
|
47360
|
-
l.height && f.height && r(l.height > f.height);
|
|
47361
|
-
}, [l.height, f.height]), /* @__PURE__ */ H("div", { className: "flex max-w-[640px] flex-col gap-1", children: [
|
|
47362
|
-
/* @__PURE__ */ H(
|
|
47363
|
-
nt.div,
|
|
47364
|
-
{
|
|
47365
|
-
initial: !1,
|
|
47366
|
-
animate: {
|
|
47367
|
-
height: e ? l.height ?? f.height : f.height ?? "3rem"
|
|
47368
|
-
},
|
|
47369
|
-
transition: {
|
|
47370
|
-
duration: i ? 0.15 : 0,
|
|
47371
|
-
ease: [0.165, 0.84, 0.44, 1]
|
|
47372
|
-
},
|
|
47373
|
-
className: fe(
|
|
47374
|
-
e ? "overflow-y-scroll" : "overflow-clip",
|
|
47375
|
-
"relative max-h-80"
|
|
47376
|
-
),
|
|
47377
|
-
children: [
|
|
47378
|
-
/* @__PURE__ */ _(
|
|
47379
|
-
"div",
|
|
47380
|
-
{
|
|
47381
|
-
ref: s,
|
|
47382
|
-
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 text-lg text-f1-foreground-secondary",
|
|
47383
|
-
"aria-hidden": "true",
|
|
47384
|
-
children: t
|
|
47385
|
-
}
|
|
47386
|
-
),
|
|
47387
|
-
/* @__PURE__ */ _(
|
|
47388
|
-
"div",
|
|
47389
|
-
{
|
|
47390
|
-
ref: o,
|
|
47391
|
-
className: fe(
|
|
47392
|
-
"text-lg text-f1-foreground-secondary",
|
|
47393
|
-
!e && "line-clamp-2"
|
|
47394
|
-
),
|
|
47395
|
-
children: t
|
|
47396
|
-
}
|
|
47397
|
-
)
|
|
47398
|
-
]
|
|
47399
|
-
}
|
|
47400
|
-
),
|
|
47401
|
-
(i || e) && /* @__PURE__ */ _(
|
|
47402
|
-
"button",
|
|
47403
|
-
{
|
|
47404
|
-
onClick: () => n((c) => !c),
|
|
47405
|
-
className: "relative w-fit font-medium text-f1-foreground after:absolute after:-bottom-0.5 after:left-0 after:right-0 after:h-[1.5px] after:bg-f1-border after:transition-all after:content-[''] hover:after:bg-f1-border-hover",
|
|
47406
|
-
children: e ? a.actions.showLess : a.actions.showAll
|
|
47407
|
-
}
|
|
47408
|
-
)
|
|
47409
|
-
] });
|
|
47410
|
-
}, uae = {
|
|
47301
|
+
), cae = {
|
|
47411
47302
|
warning: {
|
|
47412
|
-
icon:
|
|
47303
|
+
icon: DM,
|
|
47413
47304
|
iconColor: "warning",
|
|
47414
47305
|
textColor: "text-f1-foreground-warning"
|
|
47415
47306
|
},
|
|
47416
47307
|
critical: {
|
|
47417
|
-
icon:
|
|
47308
|
+
icon: PM,
|
|
47418
47309
|
iconColor: "critical",
|
|
47419
47310
|
textColor: "text-f1-foreground-critical"
|
|
47420
47311
|
}
|
|
@@ -47433,10 +47324,10 @@ function Hy({
|
|
|
47433
47324
|
n.text && /* @__PURE__ */ _("span", { children: n.text })
|
|
47434
47325
|
] });
|
|
47435
47326
|
case "status":
|
|
47436
|
-
return /* @__PURE__ */ _(
|
|
47327
|
+
return /* @__PURE__ */ _(IM, { text: n.label, variant: n.variant });
|
|
47437
47328
|
case "list":
|
|
47438
47329
|
return /* @__PURE__ */ _(
|
|
47439
|
-
|
|
47330
|
+
$M,
|
|
47440
47331
|
{
|
|
47441
47332
|
type: n.variant,
|
|
47442
47333
|
avatars: n.avatars,
|
|
@@ -47454,7 +47345,7 @@ function Hy({
|
|
|
47454
47345
|
] }) : /* @__PURE__ */ _("div", { className: "flex flex-col gap-1.5", children: n.data.map((i) => /* @__PURE__ */ _("span", { children: i }, i)) });
|
|
47455
47346
|
case "tag-list":
|
|
47456
47347
|
return e ? /* @__PURE__ */ H("div", { className: "flex flex-wrap items-center justify-center gap-1 font-medium", children: [
|
|
47457
|
-
/* @__PURE__ */ _(
|
|
47348
|
+
/* @__PURE__ */ _(Ab, { text: n.tags[0] }),
|
|
47458
47349
|
n.tags.length > 1 && /* @__PURE__ */ H("span", { className: "tabular-nums text-f1-foreground-secondary", children: [
|
|
47459
47350
|
"+",
|
|
47460
47351
|
n.tags.length - 1
|
|
@@ -47466,15 +47357,15 @@ function Hy({
|
|
|
47466
47357
|
"flex flex-col gap-1 [&>div]:w-fit",
|
|
47467
47358
|
n.tags.length > 1 && "-mt-[3px]"
|
|
47468
47359
|
),
|
|
47469
|
-
children: n.tags.map((i) => /* @__PURE__ */ _(
|
|
47360
|
+
children: n.tags.map((i) => /* @__PURE__ */ _(Ab, { text: i }, i))
|
|
47470
47361
|
}
|
|
47471
47362
|
);
|
|
47472
47363
|
case "dot-tag":
|
|
47473
|
-
return /* @__PURE__ */ _(
|
|
47364
|
+
return /* @__PURE__ */ _(NM, { text: n.label, color: n.color });
|
|
47474
47365
|
case "date": {
|
|
47475
47366
|
if (n.icon === void 0)
|
|
47476
47367
|
return /* @__PURE__ */ _("span", { children: n.formattedDate });
|
|
47477
|
-
const { icon: i, iconColor: r, textColor: a } =
|
|
47368
|
+
const { icon: i, iconColor: r, textColor: a } = cae[n.icon];
|
|
47478
47369
|
return /* @__PURE__ */ H("div", { className: "flex items-center justify-center gap-0.5 font-medium", children: [
|
|
47479
47370
|
/* @__PURE__ */ _(nn, { icon: i, color: r }),
|
|
47480
47371
|
/* @__PURE__ */ _("span", { className: a, children: n.formattedDate })
|
|
@@ -47484,7 +47375,7 @@ function Hy({
|
|
|
47484
47375
|
const i = n.color ? Zn(n.color) : Zn("categorical-1"), r = n.max && n.max > 0 ? n.max : 100, a = Math.min(Math.max(0, n.value), r);
|
|
47485
47376
|
return /* @__PURE__ */ H("div", { className: "flex items-center gap-2", children: [
|
|
47486
47377
|
/* @__PURE__ */ _("div", { className: "min-w-16", children: /* @__PURE__ */ _(
|
|
47487
|
-
|
|
47378
|
+
MM,
|
|
47488
47379
|
{
|
|
47489
47380
|
color: i,
|
|
47490
47381
|
value: a,
|
|
@@ -47498,8 +47389,8 @@ function Hy({
|
|
|
47498
47389
|
}
|
|
47499
47390
|
}
|
|
47500
47391
|
}
|
|
47501
|
-
const
|
|
47502
|
-
function
|
|
47392
|
+
const uae = (t) => t?.type !== "copy", dae = (t) => t?.type === "copy";
|
|
47393
|
+
function hae({ item: t }) {
|
|
47503
47394
|
const [e, n] = ve(!1), i = t.value.type === "data-list" && t.value.data.length > 1 || t.value.type === "tag-list" && t.value.tags.length > 1, r = !!t.actions?.length, a = r || i, o = (s, f) => {
|
|
47504
47395
|
if (f)
|
|
47505
47396
|
return f;
|
|
@@ -47543,7 +47434,7 @@ function pae({ item: t }) {
|
|
|
47543
47434
|
{
|
|
47544
47435
|
label: t.info.title,
|
|
47545
47436
|
description: t.info.description,
|
|
47546
|
-
children: /* @__PURE__ */ _(nn, { icon:
|
|
47437
|
+
children: /* @__PURE__ */ _(nn, { icon: RM, size: "sm" })
|
|
47547
47438
|
}
|
|
47548
47439
|
) })
|
|
47549
47440
|
]
|
|
@@ -47574,7 +47465,7 @@ function pae({ item: t }) {
|
|
|
47574
47465
|
r && /* @__PURE__ */ _("div", { className: "w-full md:hidden", children: /* @__PURE__ */ _(
|
|
47575
47466
|
pg,
|
|
47576
47467
|
{
|
|
47577
|
-
items: t.actions?.filter(
|
|
47468
|
+
items: t.actions?.filter(uae).map((s) => ({
|
|
47578
47469
|
label: s.label,
|
|
47579
47470
|
icon: s.icon,
|
|
47580
47471
|
onClick: s.onClick
|
|
@@ -47613,8 +47504,8 @@ function pae({ item: t }) {
|
|
|
47613
47504
|
animate: { x: 0 },
|
|
47614
47505
|
exit: { x: -16 },
|
|
47615
47506
|
transition: { duration: 0.1 },
|
|
47616
|
-
children: t.actions?.map((s, f) =>
|
|
47617
|
-
|
|
47507
|
+
children: t.actions?.map((s, f) => dae(s) ? /* @__PURE__ */ _(
|
|
47508
|
+
jM,
|
|
47618
47509
|
{
|
|
47619
47510
|
valueToCopy: o(
|
|
47620
47511
|
t.value,
|
|
@@ -47644,10 +47535,10 @@ function pae({ item: t }) {
|
|
|
47644
47535
|
)
|
|
47645
47536
|
] });
|
|
47646
47537
|
}
|
|
47647
|
-
const
|
|
47538
|
+
const pae = B6(function({ items: e }) {
|
|
47648
47539
|
const n = e.filter((i) => typeof i == "object");
|
|
47649
47540
|
return /* @__PURE__ */ _("div", { className: "flex flex-col items-start gap-x-3 gap-y-0 md:flex-row md:flex-wrap md:items-center", children: n.map((i, r) => /* @__PURE__ */ H(Ct, { children: [
|
|
47650
|
-
/* @__PURE__ */ _(
|
|
47541
|
+
/* @__PURE__ */ _(hae, { item: i }, `item-${r}`),
|
|
47651
47542
|
r < n.length - 1 && /* @__PURE__ */ _(
|
|
47652
47543
|
"div",
|
|
47653
47544
|
{
|
|
@@ -47656,7 +47547,116 @@ const mae = B6(function({ items: e }) {
|
|
|
47656
47547
|
`separator-${r}`
|
|
47657
47548
|
)
|
|
47658
47549
|
] })) });
|
|
47659
|
-
}), I6 = $r("Metadata",
|
|
47550
|
+
}), I6 = $r("Metadata", pae), UC = ri(
|
|
47551
|
+
({ header: t, actions: e, open: n, onClose: i }, r) => {
|
|
47552
|
+
const [a, o] = ve(!1), s = xt(() => {
|
|
47553
|
+
o(!0);
|
|
47554
|
+
const f = setTimeout(() => {
|
|
47555
|
+
i?.(), o(!1);
|
|
47556
|
+
}, 200);
|
|
47557
|
+
return () => clearTimeout(f);
|
|
47558
|
+
}, [i]);
|
|
47559
|
+
return /* @__PURE__ */ _(
|
|
47560
|
+
LM,
|
|
47561
|
+
{
|
|
47562
|
+
open: n && !a,
|
|
47563
|
+
onOpenChange: (f) => !f && s?.(),
|
|
47564
|
+
children: /* @__PURE__ */ H(BM, { ref: r, className: "bottom-3 top-auto max-w-[400px]", children: [
|
|
47565
|
+
/* @__PURE__ */ H(FM, { className: "flex flex-col gap-4 px-4 py-5", children: [
|
|
47566
|
+
/* @__PURE__ */ _(s5, { type: t.type, size: "lg" }),
|
|
47567
|
+
/* @__PURE__ */ H("div", { className: "flex flex-col gap-0.5", children: [
|
|
47568
|
+
/* @__PURE__ */ _(zM, { className: "text-xl sm:text-lg", children: t.title }),
|
|
47569
|
+
/* @__PURE__ */ _(qM, { className: "text-lg sm:text-base", children: t.description })
|
|
47570
|
+
] })
|
|
47571
|
+
] }),
|
|
47572
|
+
e && /* @__PURE__ */ H(HM, { className: "px-4 pb-4 pt-2", children: [
|
|
47573
|
+
/* @__PURE__ */ H("div", { className: "hidden sm:flex sm:flex-row sm:justify-between sm:gap-3 [&>div]:w-full", children: [
|
|
47574
|
+
/* @__PURE__ */ _(Le, { variant: "outline", ...e.secondary }),
|
|
47575
|
+
/* @__PURE__ */ _(
|
|
47576
|
+
Le,
|
|
47577
|
+
{
|
|
47578
|
+
...e.primary,
|
|
47579
|
+
variant: e.primary.variant || "default"
|
|
47580
|
+
}
|
|
47581
|
+
)
|
|
47582
|
+
] }),
|
|
47583
|
+
/* @__PURE__ */ H("div", { className: "flex flex-col-reverse gap-2 sm:hidden [&>div]:w-full", children: [
|
|
47584
|
+
/* @__PURE__ */ _(Le, { variant: "outline", ...e.secondary, size: "lg" }),
|
|
47585
|
+
/* @__PURE__ */ _(
|
|
47586
|
+
Le,
|
|
47587
|
+
{
|
|
47588
|
+
...e.primary,
|
|
47589
|
+
variant: e.primary.variant || "default",
|
|
47590
|
+
size: "lg"
|
|
47591
|
+
}
|
|
47592
|
+
)
|
|
47593
|
+
] })
|
|
47594
|
+
] })
|
|
47595
|
+
] })
|
|
47596
|
+
}
|
|
47597
|
+
);
|
|
47598
|
+
}
|
|
47599
|
+
);
|
|
47600
|
+
UC.displayName = "Dialog";
|
|
47601
|
+
const eoe = Ci(
|
|
47602
|
+
c5(
|
|
47603
|
+
{ name: "Dialog", type: "info" },
|
|
47604
|
+
$r("Dialog", UC)
|
|
47605
|
+
)
|
|
47606
|
+
), mae = ({ description: t }) => {
|
|
47607
|
+
const [e, n] = ve(!1), [i, r] = ve(!1), a = Ti(), o = $e(null), s = $e(null), f = Cb({ ref: o }), l = Cb({ ref: s });
|
|
47608
|
+
return ut(() => {
|
|
47609
|
+
l.height && f.height && r(l.height > f.height);
|
|
47610
|
+
}, [l.height, f.height]), /* @__PURE__ */ H("div", { className: "flex max-w-[640px] flex-col gap-1", children: [
|
|
47611
|
+
/* @__PURE__ */ H(
|
|
47612
|
+
nt.div,
|
|
47613
|
+
{
|
|
47614
|
+
initial: !1,
|
|
47615
|
+
animate: {
|
|
47616
|
+
height: e ? l.height ?? f.height : f.height ?? "3rem"
|
|
47617
|
+
},
|
|
47618
|
+
transition: {
|
|
47619
|
+
duration: i ? 0.15 : 0,
|
|
47620
|
+
ease: [0.165, 0.84, 0.44, 1]
|
|
47621
|
+
},
|
|
47622
|
+
className: fe(
|
|
47623
|
+
e ? "overflow-y-scroll" : "overflow-clip",
|
|
47624
|
+
"relative max-h-80"
|
|
47625
|
+
),
|
|
47626
|
+
children: [
|
|
47627
|
+
/* @__PURE__ */ _(
|
|
47628
|
+
"div",
|
|
47629
|
+
{
|
|
47630
|
+
ref: s,
|
|
47631
|
+
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 text-lg text-f1-foreground-secondary",
|
|
47632
|
+
"aria-hidden": "true",
|
|
47633
|
+
children: t
|
|
47634
|
+
}
|
|
47635
|
+
),
|
|
47636
|
+
/* @__PURE__ */ _(
|
|
47637
|
+
"div",
|
|
47638
|
+
{
|
|
47639
|
+
ref: o,
|
|
47640
|
+
className: fe(
|
|
47641
|
+
"text-lg text-f1-foreground-secondary",
|
|
47642
|
+
!e && "line-clamp-2"
|
|
47643
|
+
),
|
|
47644
|
+
children: t
|
|
47645
|
+
}
|
|
47646
|
+
)
|
|
47647
|
+
]
|
|
47648
|
+
}
|
|
47649
|
+
),
|
|
47650
|
+
(i || e) && /* @__PURE__ */ _(
|
|
47651
|
+
"button",
|
|
47652
|
+
{
|
|
47653
|
+
onClick: () => n((c) => !c),
|
|
47654
|
+
className: "relative w-fit font-medium text-f1-foreground after:absolute after:-bottom-0.5 after:left-0 after:right-0 after:h-[1.5px] after:bg-f1-border after:transition-all after:content-[''] hover:after:bg-f1-border-hover",
|
|
47655
|
+
children: e ? a.actions.showLess : a.actions.showAll
|
|
47656
|
+
}
|
|
47657
|
+
)
|
|
47658
|
+
] });
|
|
47659
|
+
}, Wy = (t) => t.isVisible !== !1;
|
|
47660
47660
|
function yae({
|
|
47661
47661
|
title: t,
|
|
47662
47662
|
avatar: e,
|
|
@@ -47718,7 +47718,7 @@ function yae({
|
|
|
47718
47718
|
children: t
|
|
47719
47719
|
}
|
|
47720
47720
|
),
|
|
47721
|
-
i && /* @__PURE__ */ _(
|
|
47721
|
+
i && /* @__PURE__ */ _(mae, { description: i })
|
|
47722
47722
|
] })
|
|
47723
47723
|
]
|
|
47724
47724
|
}
|
|
@@ -47995,81 +47995,81 @@ export {
|
|
|
47995
47995
|
Qae as Z,
|
|
47996
47996
|
Hae as _,
|
|
47997
47997
|
$g as a,
|
|
47998
|
-
|
|
47999
|
-
|
|
48000
|
-
|
|
48001
|
-
|
|
48002
|
-
|
|
48003
|
-
|
|
48004
|
-
|
|
48005
|
-
|
|
48006
|
-
|
|
48007
|
-
|
|
48008
|
-
|
|
48009
|
-
|
|
48010
|
-
|
|
48011
|
-
|
|
48012
|
-
|
|
48013
|
-
|
|
48014
|
-
|
|
48015
|
-
|
|
48016
|
-
|
|
48017
|
-
|
|
48018
|
-
|
|
48019
|
-
|
|
48020
|
-
|
|
48021
|
-
|
|
48022
|
-
|
|
48023
|
-
|
|
48024
|
-
|
|
48025
|
-
|
|
48026
|
-
|
|
48027
|
-
|
|
48028
|
-
|
|
48029
|
-
|
|
48030
|
-
|
|
48031
|
-
|
|
48032
|
-
|
|
48033
|
-
|
|
48034
|
-
|
|
48035
|
-
|
|
48036
|
-
|
|
48037
|
-
|
|
48038
|
-
|
|
48039
|
-
|
|
48040
|
-
|
|
48041
|
-
|
|
48042
|
-
|
|
48043
|
-
|
|
48044
|
-
|
|
48045
|
-
|
|
48046
|
-
|
|
48047
|
-
|
|
48048
|
-
|
|
48049
|
-
|
|
48050
|
-
|
|
48051
|
-
|
|
48052
|
-
|
|
48053
|
-
|
|
48054
|
-
|
|
48055
|
-
|
|
48056
|
-
|
|
48057
|
-
|
|
48058
|
-
|
|
48059
|
-
|
|
48060
|
-
|
|
48061
|
-
|
|
47998
|
+
Cae as a$,
|
|
47999
|
+
I6 as a0,
|
|
48000
|
+
eoe as a1,
|
|
48001
|
+
Dte as a2,
|
|
48002
|
+
Vee as a3,
|
|
48003
|
+
r8 as a4,
|
|
48004
|
+
toe as a5,
|
|
48005
|
+
bae as a6,
|
|
48006
|
+
Pae as a7,
|
|
48007
|
+
Tae as a8,
|
|
48008
|
+
Fae as a9,
|
|
48009
|
+
Bt as aA,
|
|
48010
|
+
me as aB,
|
|
48011
|
+
_E as aC,
|
|
48012
|
+
rt as aD,
|
|
48013
|
+
Ae as aE,
|
|
48014
|
+
de as aF,
|
|
48015
|
+
VJ as aG,
|
|
48016
|
+
Xae as aH,
|
|
48017
|
+
Yae as aI,
|
|
48018
|
+
Gae as aJ,
|
|
48019
|
+
Uae as aK,
|
|
48020
|
+
Zie as aL,
|
|
48021
|
+
_ne as aM,
|
|
48022
|
+
Jte as aN,
|
|
48023
|
+
Ute as aO,
|
|
48024
|
+
kne as aP,
|
|
48025
|
+
ere as aQ,
|
|
48026
|
+
Ane as aR,
|
|
48027
|
+
Xte as aS,
|
|
48028
|
+
nre as aT,
|
|
48029
|
+
rie as aU,
|
|
48030
|
+
PZ as aV,
|
|
48031
|
+
Kae as aW,
|
|
48032
|
+
lre as aX,
|
|
48033
|
+
iC as aY,
|
|
48034
|
+
hre as aZ,
|
|
48035
|
+
Aae as a_,
|
|
48036
|
+
Bae as aa,
|
|
48037
|
+
Lae as ab,
|
|
48038
|
+
iK as ac,
|
|
48039
|
+
Ze as ad,
|
|
48040
|
+
El as ae,
|
|
48041
|
+
Sz as af,
|
|
48042
|
+
YL as ag,
|
|
48043
|
+
Gd as ah,
|
|
48044
|
+
Ud as ai,
|
|
48045
|
+
_L as aj,
|
|
48046
|
+
ln as ak,
|
|
48047
|
+
ot as al,
|
|
48048
|
+
vt as am,
|
|
48049
|
+
ZJ as an,
|
|
48050
|
+
Vae as ao,
|
|
48051
|
+
Oe as ap,
|
|
48052
|
+
HJ as aq,
|
|
48053
|
+
Ce as ar,
|
|
48054
|
+
U0 as as,
|
|
48055
|
+
Qe as at,
|
|
48056
|
+
ct as au,
|
|
48057
|
+
aA as av,
|
|
48058
|
+
CG as aw,
|
|
48059
|
+
Z as ax,
|
|
48060
|
+
le as ay,
|
|
48061
|
+
Ue as az,
|
|
48062
48062
|
Ea as b,
|
|
48063
|
-
|
|
48064
|
-
|
|
48065
|
-
|
|
48066
|
-
|
|
48067
|
-
|
|
48068
|
-
|
|
48069
|
-
|
|
48070
|
-
|
|
48071
|
-
|
|
48072
|
-
|
|
48063
|
+
cS as b0,
|
|
48064
|
+
jg as b1,
|
|
48065
|
+
jte as b2,
|
|
48066
|
+
Oae as b3,
|
|
48067
|
+
kn as b4,
|
|
48068
|
+
Pu as b5,
|
|
48069
|
+
jl as b6,
|
|
48070
|
+
Sre as b7,
|
|
48071
|
+
bre as b8,
|
|
48072
|
+
rre as b9,
|
|
48073
48073
|
Dee as ba,
|
|
48074
48074
|
ab as bb,
|
|
48075
48075
|
wee as bc,
|