@factorialco/f0-react 1.358.0 → 1.358.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DataCollectionStorageProvider-DRn_azvz.js → DataCollectionStorageProvider-HkGnLinD.js} +27869 -27866
- package/dist/{F0AiChat-iFE4c-xR.js → F0AiChat-DDIVLGEu.js} +28 -27
- package/dist/{F0HILActionConfirmation-XY6nGDHF.js → F0HILActionConfirmation-DhUf0Hm7.js} +1 -1
- package/dist/ai.d.ts +5 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +7 -5
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +38 -5
- package/dist/f0.js +3709 -3660
- package/dist/i18n-provider-defaults.d.ts +5 -5
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -91845,7 +91845,7 @@ const Y8 = W4("Spinner", Td1), Ad1 = ({ text: e }) => o("div", {
|
|
|
91845
91845
|
}), [P2, l1]);
|
|
91846
91846
|
const T2 = N || f2 || C2;
|
|
91847
91847
|
return y("div", {
|
|
91848
|
-
className: p2("flex flex-col gap-2", "pointer-events-none", t && "cursor-not-allowed
|
|
91848
|
+
className: p2("flex flex-col gap-2", "pointer-events-none", t && "cursor-not-allowed", s),
|
|
91849
91849
|
ref: z,
|
|
91850
91850
|
children: [(!i && r || _) && o("div", {
|
|
91851
91851
|
className: p2("flex max-w-full items-center", Rd1({
|
|
@@ -91869,7 +91869,7 @@ const Y8 = W4("Spinner", Td1), Ad1 = ({ text: e }) => o("div", {
|
|
|
91869
91869
|
className: p2("relative h-fit transition-all", "border-[1px] border-solid border-f1-border bg-f1-background", !T && !t && "hover:border-f1-border-hover", "group focus-within:border-f1-border-hover focus-within:ring-1 focus-within:ring-f1-border-hover", "active-within:border-f1-border active-within:ring-1 active-within:ring-f1-border-hover", "focus-within:outline-none focus-within:ring-1 focus-within:ring-offset-1", Nd1({
|
|
91870
91870
|
status: u?.type ?? "default",
|
|
91871
91871
|
disabled: t || n
|
|
91872
|
-
}), n && "border-f1-border-secondary bg-f1-background-secondary", t && "cursor-not-allowed", $d1({
|
|
91872
|
+
}), n && "border-f1-border-secondary bg-f1-background-secondary", t && "cursor-not-allowed bg-f1-background-tertiary", $d1({
|
|
91873
91873
|
size: C,
|
|
91874
91874
|
canGrow: p
|
|
91875
91875
|
})),
|
|
@@ -97662,9 +97662,9 @@ const Ih1 = {
|
|
|
97662
97662
|
}), c = l[0], u = l.length - 1;
|
|
97663
97663
|
return u > 0 ? `${c} +${u}` : `${c}`;
|
|
97664
97664
|
}
|
|
97665
|
-
}, Wh1 = ({ onClickArrow: e, step: t }) => t ? y("div", {
|
|
97665
|
+
}, Wh1 = ({ onClickArrow: e, step: t, disabled: n }) => !t || n ? null : y("div", {
|
|
97666
97666
|
className: "-mt-1 hidden h-full flex-col group-focus-within:flex group-hover:flex",
|
|
97667
|
-
onClick: (
|
|
97667
|
+
onClick: (r) => r.preventDefault(),
|
|
97668
97668
|
children: [o("div", {
|
|
97669
97669
|
onClick: e("increase"),
|
|
97670
97670
|
className: "h-3 cursor-pointer",
|
|
@@ -97684,7 +97684,7 @@ const Ih1 = {
|
|
|
97684
97684
|
icon: Na2
|
|
97685
97685
|
})
|
|
97686
97686
|
})]
|
|
97687
|
-
})
|
|
97687
|
+
}), Bh1 = /^(-?)([0-9]+)?(?:([\.,])([0-9]+)?)?$/;
|
|
97688
97688
|
function kc(e, { maxDecimals: t }) {
|
|
97689
97689
|
if (!e || e === "-")
|
|
97690
97690
|
return {
|
|
@@ -97763,6 +97763,7 @@ const so = (e, t, n) => new Intl.NumberFormat(t, {
|
|
|
97763
97763
|
appendTag: c,
|
|
97764
97764
|
append: o(Wh1, {
|
|
97765
97765
|
step: a,
|
|
97766
|
+
disabled: u.disabled,
|
|
97766
97767
|
onClickArrow: w
|
|
97767
97768
|
})
|
|
97768
97769
|
})
|
|
@@ -99200,16 +99201,8 @@ const sm1 = ({ showSearchBox: e, searchBoxPlaceholder: t, onSearchChange: n, sea
|
|
|
99200
99201
|
}), K && D5]
|
|
99201
99202
|
})
|
|
99202
99203
|
});
|
|
99203
|
-
}), fm1 = dm1, dA = W4("F0Select", fm1)
|
|
99204
|
-
|
|
99205
|
-
const { [r]: a, ...i } = n;
|
|
99206
|
-
return i;
|
|
99207
|
-
}, e);
|
|
99208
|
-
return o(eA, {
|
|
99209
|
-
...t
|
|
99210
|
-
});
|
|
99211
|
-
}, mm1 = W4("Input", hm1);
|
|
99212
|
-
var kh = "Collapsible", [pm1] = Q5(kh), [gm1, xh] = pm1(kh), fA = b.forwardRef(
|
|
99204
|
+
}), fm1 = dm1, dA = W4("F0Select", fm1);
|
|
99205
|
+
var kh = "Collapsible", [Cm1] = Q5(kh), [hm1, xh] = Cm1(kh), fA = b.forwardRef(
|
|
99213
99206
|
(e, t) => {
|
|
99214
99207
|
const {
|
|
99215
99208
|
__scopeCollapsible: n,
|
|
@@ -99224,7 +99217,7 @@ var kh = "Collapsible", [pm1] = Q5(kh), [gm1, xh] = pm1(kh), fA = b.forwardRef(
|
|
|
99224
99217
|
onChange: s
|
|
99225
99218
|
});
|
|
99226
99219
|
return /* @__PURE__ */ o(
|
|
99227
|
-
|
|
99220
|
+
hm1,
|
|
99228
99221
|
{
|
|
99229
99222
|
scope: n,
|
|
99230
99223
|
disabled: i,
|
|
@@ -99268,11 +99261,11 @@ hA.displayName = CA;
|
|
|
99268
99261
|
var Eh = "CollapsibleContent", mA = b.forwardRef(
|
|
99269
99262
|
(e, t) => {
|
|
99270
99263
|
const { forceMount: n, ...r } = e, a = xh(Eh, e.__scopeCollapsible);
|
|
99271
|
-
return /* @__PURE__ */ o(n4, { present: n || a.open, children: ({ present: i }) => /* @__PURE__ */ o(
|
|
99264
|
+
return /* @__PURE__ */ o(n4, { present: n || a.open, children: ({ present: i }) => /* @__PURE__ */ o(mm1, { ...r, ref: t, present: i }) });
|
|
99272
99265
|
}
|
|
99273
99266
|
);
|
|
99274
99267
|
mA.displayName = Eh;
|
|
99275
|
-
var
|
|
99268
|
+
var mm1 = b.forwardRef((e, t) => {
|
|
99276
99269
|
const { __scopeCollapsible: n, present: r, children: a, ...i } = e, s = xh(Eh, n), [l, c] = b.useState(r), u = b.useRef(null), d = J1(t, u), C = b.useRef(0), m = C.current, p = b.useRef(0), v = p.current, g = s.open || l, w = b.useRef(g), M = b.useRef(void 0);
|
|
99277
99270
|
return b.useEffect(() => {
|
|
99278
99271
|
const x = requestAnimationFrame(() => w.current = !1);
|
|
@@ -99308,8 +99301,16 @@ var vm1 = b.forwardRef((e, t) => {
|
|
|
99308
99301
|
function Fh(e) {
|
|
99309
99302
|
return e ? "open" : "closed";
|
|
99310
99303
|
}
|
|
99311
|
-
var
|
|
99312
|
-
const
|
|
99304
|
+
var pm1 = fA;
|
|
99305
|
+
const gm1 = pm1, vm1 = hA, Lm1 = mA, wm1 = ["buttonToggle"], ym1 = (e) => {
|
|
99306
|
+
const t = wm1.reduce((n, r) => {
|
|
99307
|
+
const { [r]: a, ...i } = n;
|
|
99308
|
+
return i;
|
|
99309
|
+
}, e);
|
|
99310
|
+
return o(eA, {
|
|
99311
|
+
...t
|
|
99312
|
+
});
|
|
99313
|
+
}, Mm1 = W4("Input", ym1), bm1 = {
|
|
99313
99314
|
initial: {
|
|
99314
99315
|
scale: 0.5,
|
|
99315
99316
|
opacity: 0
|
|
@@ -115673,11 +115674,11 @@ const $b1 = {
|
|
|
115673
115674
|
});
|
|
115674
115675
|
}, rD = ({ icon: e, title: t, children: n }) => {
|
|
115675
115676
|
const [r, a] = R2(!1), i = Jd();
|
|
115676
|
-
return y(
|
|
115677
|
+
return y(gm1, {
|
|
115677
115678
|
className: "mb-1 w-full",
|
|
115678
115679
|
open: r,
|
|
115679
115680
|
onOpenChange: a,
|
|
115680
|
-
children: [y(
|
|
115681
|
+
children: [y(vm1, {
|
|
115681
115682
|
className: "flex w-full items-center text-base text-f1-foreground-secondary transition-colors duration-150 hover:text-f1-foreground [&[data-state=open]>svg]:rotate-90",
|
|
115682
115683
|
children: [o("span", {
|
|
115683
115684
|
className: "mr-2 *:block",
|
|
@@ -115692,7 +115693,7 @@ const $b1 = {
|
|
|
115692
115693
|
icon: V7,
|
|
115693
115694
|
className: "h-4 w-4 transition-transform duration-200"
|
|
115694
115695
|
})]
|
|
115695
|
-
}), o(
|
|
115696
|
+
}), o(Lm1, {
|
|
115696
115697
|
forceMount: !0,
|
|
115697
115698
|
className: "data-[state=open]:mt-3",
|
|
115698
115699
|
children: o(g1.div, {
|
|
@@ -115761,7 +115762,7 @@ const aD = ({ onClose: e, onSubmit: t, reactionType: n, message: r }) => {
|
|
|
115761
115762
|
},
|
|
115762
115763
|
children: o("div", {
|
|
115763
115764
|
className: "flex flex-col gap-6",
|
|
115764
|
-
children: o(
|
|
115765
|
+
children: o(Mm1, {
|
|
115765
115766
|
autoFocus: !0,
|
|
115766
115767
|
label: c,
|
|
115767
115768
|
placeholder: u,
|
|
@@ -117202,7 +117203,7 @@ export {
|
|
|
117202
117203
|
X8 as aG,
|
|
117203
117204
|
dA as aH,
|
|
117204
117205
|
zh1 as aI,
|
|
117205
|
-
|
|
117206
|
+
Mm1 as aJ,
|
|
117206
117207
|
H22 as aK,
|
|
117207
117208
|
n32 as aL,
|
|
117208
117209
|
j42 as aM,
|
|
@@ -117413,8 +117414,8 @@ export {
|
|
|
117413
117414
|
oV as dW,
|
|
117414
117415
|
O32 as dX,
|
|
117415
117416
|
D32 as dY,
|
|
117416
|
-
|
|
117417
|
-
|
|
117417
|
+
gm1 as dZ,
|
|
117418
|
+
Lm1 as d_,
|
|
117418
117419
|
Kk1 as da,
|
|
117419
117420
|
ja2 as db,
|
|
117420
117421
|
T12 as dc,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as X, jsxs as le } from "react/jsx-runtime";
|
|
2
2
|
import { useInsertionEffect as Xe, createContext as ke, useContext as $e, useRef as _, useEffect as ne, useState as _e, useCallback as ze, useMemo as Ye } from "react";
|
|
3
|
-
import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-
|
|
3
|
+
import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-DDIVLGEu.js";
|
|
4
4
|
import { useTrackVolume as pt } from "@livekit/components-react";
|
|
5
5
|
function vt(t, e, r) {
|
|
6
6
|
Xe(() => t.on(e, r), [t, e, r]);
|
package/dist/ai.d.ts
CHANGED
|
@@ -1157,11 +1157,6 @@ declare module "gridstack" {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
|
|
1159
1159
|
|
|
1160
|
-
declare namespace Calendar {
|
|
1161
|
-
var displayName: string;
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
1160
|
declare module "@tiptap/core" {
|
|
1166
1161
|
interface Commands<ReturnType> {
|
|
1167
1162
|
aiBlock: {
|
|
@@ -1198,3 +1193,8 @@ declare module "@tiptap/core" {
|
|
|
1198
1193
|
};
|
|
1199
1194
|
}
|
|
1200
1195
|
}
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
declare namespace Calendar {
|
|
1199
|
+
var displayName: string;
|
|
1200
|
+
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-
|
|
1
|
+
import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-DDIVLGEu.js";
|
|
2
2
|
import { defaultTranslations as R } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-
|
|
3
|
+
import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-DhUf0Hm7.js";
|
|
4
4
|
export {
|
|
5
5
|
e as A,
|
|
6
6
|
y as AiChatTranslationsProvider,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -5370,6 +5370,8 @@ export declare interface RichTextEditorProps {
|
|
|
5370
5370
|
plainHtmlMode?: boolean;
|
|
5371
5371
|
fullScreenMode?: boolean;
|
|
5372
5372
|
onFullscreenChange?: (fullscreen: boolean) => void;
|
|
5373
|
+
/** Whether the editor is disabled */
|
|
5374
|
+
disabled?: boolean;
|
|
5373
5375
|
}
|
|
5374
5376
|
|
|
5375
5377
|
declare interface RichTextEditorSkeletonProps {
|
|
@@ -6618,11 +6620,6 @@ declare module "gridstack" {
|
|
|
6618
6620
|
}
|
|
6619
6621
|
|
|
6620
6622
|
|
|
6621
|
-
declare namespace Calendar {
|
|
6622
|
-
var displayName: string;
|
|
6623
|
-
}
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
6623
|
declare module "@tiptap/core" {
|
|
6627
6624
|
interface Commands<ReturnType> {
|
|
6628
6625
|
aiBlock: {
|
|
@@ -6659,3 +6656,8 @@ declare module "@tiptap/core" {
|
|
|
6659
6656
|
};
|
|
6660
6657
|
}
|
|
6661
6658
|
}
|
|
6659
|
+
|
|
6660
|
+
|
|
6661
|
+
declare namespace Calendar {
|
|
6662
|
+
var displayName: string;
|
|
6663
|
+
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a5 as Hd, bF as Wp, bG as Up, bH as Gp, bI as Ms, bJ as qp, bK as Ki, D as Kp, bL as Jp, ab as G, V as Vd, J as Yp, bM as Qp, ao as wi, bN as Wd, bO as Xp, bP as Zp, ak as eg, bQ as ka, bR as Wr, bS as tg, a6 as C, a7 as Ct, u as X, bT as ng, bU as rg, bV as ig, bW as sg, bX as og, av as we, bY as lg, bZ as dl, b_ as Ud, aj as Ie, b$ as ag, c0 as Gd, ah as q, c1 as qd, c2 as Kd, ac as nt, c3 as Jd, c4 as ho, c5 as Yd, a8 as j, c6 as Tr, ag as M, c7 as ft, c8 as cg, c9 as dg, ca as lr, aO as Qd, cb as Xd, a_ as Zt, cc as Zd, cd as ul, ce as at, aP as fl, aQ as Un, v as eu, cf as tu, cg as ug, ch as Ca, ci as Fn, cj as hl, ck as Er, cl as ki, cm as fg, cn as nu, co as hg, cp as ml, cq as ar, cr as Ke, cs as mg, ct as pg, cu as Vt, cv as Ps, cw as gg, cx as sr, cy as Sn, cz as bg, cA as ru, cB as vg, cC as xg, cD as yg, cE as wg, ad as Ve, af as Ne, cF as ln, aN as pn, bC as Dr, cG as iu, cH as pl, cI as kg, cJ as Cg, cK as Ng, cL as Sg, cM as Ig, cN as Ag, cO as Tg, cP as Eg, cQ as Dg, cR as gl, cS as _g, cT as su, cU as Lg, cV as Og, cW as Rg, cX as Fg, cY as Mg, cZ as Pg, c_ as zg, be as wt, c$ as ou, d0 as $g, am as oe, a9 as cr, d1 as lu, d2 as au, aW as bl, t as jg, d3 as Bg, d4 as Hg, al as dr, d5 as Vg, d6 as zs, d7 as Wg, d8 as vl, d9 as Wt, aI as cu, da as Na, db as Sa, dc as Ug, dd as Ia, de as du, df as xl, aJ as uu, at as yl, au as wl, aw as kl, aG as Ci, ai as _r, dg as Gg, dh as qg, di as fu, dj as Kg, ax as kt, dk as Jg, dl as hu, dm as mu, dn as Yg, dp as Lr, dq as Cl, dr as Ji, bg as an, ds as mo, aH as ur, dt as Qg, du as Xg, dv as Zg, dw as eb, dx as tb, dy as nb, dz as pu, dA as rb, dB as gu, dC as ib, dD as sb, dE as ob, dF as Aa, dG as bu, dH as po, aB as go, dI as vu, dJ as bo, aV as cn, b9 as Yi, dK as Qi, dL as lb, dM as ab, dN as cb, bB as Xi, aU as xu, bE as db, bD as ub, dO as yu, aD as Tn, dP as Ta, dQ as Ni, dR as fb, dS as hb, bf as mb, ba as wu, a as pb, d as gb, dT as Nl, F as bb, dU as ku, dV as Cu, dW as vb, dX as xb, dY as yb, dZ as wb, d_ as kb, d$ as Nu, e0 as Cb, bb as Su, e1 as Iu, e2 as Nb, e3 as Sb, e4 as Ib, e5 as Ab, e6 as Tb, e7 as Eb, e8 as Db, e9 as _b, bp as Lb, bq as Ob, bx as Zi, bv as Sl, a$ as es, ea as ts, eb as ns, b0 as rs, ec as Il, bw as Au, aC as Rb, br as Si, ed as Tu, ee as Fb, ef as vo, eg as Mb, eh as Ea, ei as Pb, ej as zb, ek as $b, el as jb, em as Bb, en as Hb, eo as Vb, aa as Eu, bm as Wb, bu as Ub, aX as Gb, aY as qb, aZ as Kb, an as ht, ep as Du, eq as Jb, er as Yb, es as Qb, et as Xb, b1 as Zb, eu as e0, ev as Da, ew as _a, ex as La, ey as t0, ez as n0, eA as r0, eB as i0, eC as _u, eD as s0 } from "./F0AiChat-
|
|
2
|
-
import { eG as RL, eF as FL, eE as ML, eL as PL, eM as zL, eI as $L, eH as jL, eK as BL, bd as HL, eJ as VL } from "./F0AiChat-
|
|
1
|
+
import { a5 as Hd, bF as Wp, bG as Up, bH as Gp, bI as Ms, bJ as qp, bK as Ki, D as Kp, bL as Jp, ab as G, V as Vd, J as Yp, bM as Qp, ao as wi, bN as Wd, bO as Xp, bP as Zp, ak as eg, bQ as ka, bR as Wr, bS as tg, a6 as C, a7 as Ct, u as X, bT as ng, bU as rg, bV as ig, bW as sg, bX as og, av as we, bY as lg, bZ as dl, b_ as Ud, aj as Ie, b$ as ag, c0 as Gd, ah as q, c1 as qd, c2 as Kd, ac as nt, c3 as Jd, c4 as ho, c5 as Yd, a8 as j, c6 as Tr, ag as M, c7 as ft, c8 as cg, c9 as dg, ca as lr, aO as Qd, cb as Xd, a_ as Zt, cc as Zd, cd as ul, ce as at, aP as fl, aQ as Un, v as eu, cf as tu, cg as ug, ch as Ca, ci as Fn, cj as hl, ck as Er, cl as ki, cm as fg, cn as nu, co as hg, cp as ml, cq as ar, cr as Ke, cs as mg, ct as pg, cu as Vt, cv as Ps, cw as gg, cx as sr, cy as Sn, cz as bg, cA as ru, cB as vg, cC as xg, cD as yg, cE as wg, ad as Ve, af as Ne, cF as ln, aN as pn, bC as Dr, cG as iu, cH as pl, cI as kg, cJ as Cg, cK as Ng, cL as Sg, cM as Ig, cN as Ag, cO as Tg, cP as Eg, cQ as Dg, cR as gl, cS as _g, cT as su, cU as Lg, cV as Og, cW as Rg, cX as Fg, cY as Mg, cZ as Pg, c_ as zg, be as wt, c$ as ou, d0 as $g, am as oe, a9 as cr, d1 as lu, d2 as au, aW as bl, t as jg, d3 as Bg, d4 as Hg, al as dr, d5 as Vg, d6 as zs, d7 as Wg, d8 as vl, d9 as Wt, aI as cu, da as Na, db as Sa, dc as Ug, dd as Ia, de as du, df as xl, aJ as uu, at as yl, au as wl, aw as kl, aG as Ci, ai as _r, dg as Gg, dh as qg, di as fu, dj as Kg, ax as kt, dk as Jg, dl as hu, dm as mu, dn as Yg, dp as Lr, dq as Cl, dr as Ji, bg as an, ds as mo, aH as ur, dt as Qg, du as Xg, dv as Zg, dw as eb, dx as tb, dy as nb, dz as pu, dA as rb, dB as gu, dC as ib, dD as sb, dE as ob, dF as Aa, dG as bu, dH as po, aB as go, dI as vu, dJ as bo, aV as cn, b9 as Yi, dK as Qi, dL as lb, dM as ab, dN as cb, bB as Xi, aU as xu, bE as db, bD as ub, dO as yu, aD as Tn, dP as Ta, dQ as Ni, dR as fb, dS as hb, bf as mb, ba as wu, a as pb, d as gb, dT as Nl, F as bb, dU as ku, dV as Cu, dW as vb, dX as xb, dY as yb, dZ as wb, d_ as kb, d$ as Nu, e0 as Cb, bb as Su, e1 as Iu, e2 as Nb, e3 as Sb, e4 as Ib, e5 as Ab, e6 as Tb, e7 as Eb, e8 as Db, e9 as _b, bp as Lb, bq as Ob, bx as Zi, bv as Sl, a$ as es, ea as ts, eb as ns, b0 as rs, ec as Il, bw as Au, aC as Rb, br as Si, ed as Tu, ee as Fb, ef as vo, eg as Mb, eh as Ea, ei as Pb, ej as zb, ek as $b, el as jb, em as Bb, en as Hb, eo as Vb, aa as Eu, bm as Wb, bu as Ub, aX as Gb, aY as qb, aZ as Kb, an as ht, ep as Du, eq as Jb, er as Yb, es as Qb, et as Xb, b1 as Zb, eu as e0, ev as Da, ew as _a, ex as La, ey as t0, ez as n0, eA as r0, eB as i0, eC as _u, eD as s0 } from "./F0AiChat-DDIVLGEu.js";
|
|
2
|
+
import { eG as RL, eF as FL, eE as ML, eL as PL, eM as zL, eI as $L, eH as jL, eK as BL, bd as HL, eJ as VL } from "./F0AiChat-DDIVLGEu.js";
|
|
3
3
|
import { jsx as l, jsxs as g, Fragment as ee } from "react/jsx-runtime";
|
|
4
4
|
import * as Fe from "react";
|
|
5
5
|
import Q, { createContext as Pt, forwardRef as J, useRef as W, useEffect as V, useContext as zt, PureComponent as o0, useTransition as l0, useState as F, useLayoutEffect as Gn, useId as Al, useCallback as ne, useMemo as z, useImperativeHandle as Lu, memo as is, Fragment as Mn, isValidElement as Ou, cloneElement as Tl, createElement as Oa, Children as Ru } from "react";
|
|
6
|
-
import { f as En, aO as fr, j as Ur, aP as a0, b as $s, aQ as c0, A as d0, d as Gr, i as u0, m as f0, G as h0, g as Ra, aR as m0, l as Fa, aS as p0, p as g0, aT as Fu, aU as Mu, aV as b0, aW as xo, C as v0, aH as x0, ak as Pn, D as Me, aX as mt, aY as Nt, aZ as Ue, a_ as y0, a$ as li, b0 as it, b1 as Pu, b2 as Qe, b3 as El, b4 as ct, b5 as Ma, b6 as w0, b7 as zu, b8 as Be, b9 as Ze, ba as hr, bb as Ii, bc as $u, bd as k0, be as gn, bf as C0, bg as N0, bh as S0, bi as ss, bj as os, bk as Dl, bl as I0, bm as ju, bn as Bu, bo as Hu, bp as A0, bq as Vu, br as Wu, bs as Uu, bt as Gu, bu as qu, bv as Ku, bw as yo, bx as T0, by as E0, bz as D0, bA as _0, t as L0, x as O0, y as R0, F as F0, M as Pa, N as za, O as M0, P as P0, a3 as z0, a4 as $0, bB as j0, bC as B0, a6 as H0, ah as V0, a8 as W0, a9 as U0, bD as G0, aa as q0, ab as K0, ac as J0, ag as Y0, af as Q0, bE as Ju, bF as X0, bG as Z0, bH as ev, aC as _l, at as Ll, bI as Ol, bJ as Yu, as as wo, bK as tv, bL as nv, ar as Qu, a2 as Or, an as rv, bM as iv, bN as sv, bO as ov, aw as Rl, bP as lv, aL as av, bQ as ko, bR as cv, bS as Ai, bT as dv, aM as uv, bU as fv, aK as Xu, aJ as hv, aI as mv, bV as pv, bW as gv, bX as bv, bY as vv, bZ as xv, b_ as yv, b$ as wv, c0 as kv, c1 as Cv, c2 as Nv, c3 as Sv, c4 as Iv, c5 as Av, c6 as Tv, c7 as Ev, aN as Zu, aA as ef, c8 as Dv, R as _v, T as Lv, V as Ov, W as Rv, Z as Fv, U as Mv, c9 as $a, ca as Pv, cb as zv, n as $v } from "./DataCollectionStorageProvider-
|
|
7
|
-
import { ao as UL, cc as GL, ad as qL,
|
|
6
|
+
import { f as En, aO as fr, j as Ur, aP as a0, b as $s, aQ as c0, A as d0, d as Gr, i as u0, m as f0, G as h0, g as Ra, aR as m0, l as Fa, aS as p0, p as g0, aT as Fu, aU as Mu, aV as b0, aW as xo, C as v0, aH as x0, ak as Pn, D as Me, aX as mt, aY as Nt, aZ as Ue, a_ as y0, a$ as li, b0 as it, b1 as Pu, b2 as Qe, b3 as El, b4 as ct, b5 as Ma, b6 as w0, b7 as zu, b8 as Be, b9 as Ze, ba as hr, bb as Ii, bc as $u, bd as k0, be as gn, bf as C0, bg as N0, bh as S0, bi as ss, bj as os, bk as Dl, bl as I0, bm as ju, bn as Bu, bo as Hu, bp as A0, bq as Vu, br as Wu, bs as Uu, bt as Gu, bu as qu, bv as Ku, bw as yo, bx as T0, by as E0, bz as D0, bA as _0, t as L0, x as O0, y as R0, F as F0, M as Pa, N as za, O as M0, P as P0, a3 as z0, a4 as $0, bB as j0, bC as B0, a6 as H0, ah as V0, a8 as W0, a9 as U0, bD as G0, aa as q0, ab as K0, ac as J0, ag as Y0, af as Q0, bE as Ju, bF as X0, bG as Z0, bH as ev, aC as _l, at as Ll, bI as Ol, bJ as Yu, as as wo, bK as tv, bL as nv, ar as Qu, a2 as Or, an as rv, bM as iv, bN as sv, bO as ov, aw as Rl, bP as lv, aL as av, bQ as ko, bR as cv, bS as Ai, bT as dv, aM as uv, bU as fv, aK as Xu, aJ as hv, aI as mv, bV as pv, bW as gv, bX as bv, bY as vv, bZ as xv, b_ as yv, b$ as wv, c0 as kv, c1 as Cv, c2 as Nv, c3 as Sv, c4 as Iv, c5 as Av, c6 as Tv, c7 as Ev, aN as Zu, aA as ef, c8 as Dv, R as _v, T as Lv, V as Ov, W as Rv, Z as Fv, U as Mv, c9 as $a, ca as Pv, cb as zv, n as $v } from "./DataCollectionStorageProvider-HkGnLinD.js";
|
|
7
|
+
import { ao as UL, cc as GL, ad as qL, aj as KL, ai as JL, cg as YL, cf as QL, cd as XL, ce as ZL, a5 as eO, ae as tO, ax as nO, ay as rO } from "./DataCollectionStorageProvider-HkGnLinD.js";
|
|
8
8
|
import './experimental.css';function tf(t, e) {
|
|
9
9
|
const n = Hd(e()), r = () => n.set(e());
|
|
10
10
|
return r(), Wp(() => {
|
package/dist/f0.d.ts
CHANGED
|
@@ -3791,6 +3791,11 @@ export declare interface F0FormProps<TSchema extends z.ZodObject<ZodRawShape>> {
|
|
|
3791
3791
|
* @default "on-blur"
|
|
3792
3792
|
*/
|
|
3793
3793
|
errorTriggerMode?: F0FormErrorTriggerMode;
|
|
3794
|
+
/**
|
|
3795
|
+
* Styling configuration for form layout and appearance.
|
|
3796
|
+
* Controls section sidebar visibility and box wrapping.
|
|
3797
|
+
*/
|
|
3798
|
+
styling?: F0FormStylingConfig;
|
|
3794
3799
|
}
|
|
3795
3800
|
|
|
3796
3801
|
/**
|
|
@@ -3798,6 +3803,17 @@ export declare interface F0FormProps<TSchema extends z.ZodObject<ZodRawShape>> {
|
|
|
3798
3803
|
*/
|
|
3799
3804
|
export declare type F0FormSchema<T extends Record<string, ZodTypeAny>> = z.ZodObject<T>;
|
|
3800
3805
|
|
|
3806
|
+
/**
|
|
3807
|
+
* Styling configuration for the form layout and appearance
|
|
3808
|
+
*/
|
|
3809
|
+
export declare interface F0FormStylingConfig {
|
|
3810
|
+
/**
|
|
3811
|
+
* Shows a sidebar with section navigation (Table of Contents)
|
|
3812
|
+
* @default false
|
|
3813
|
+
*/
|
|
3814
|
+
showSectionsSidepanel?: boolean;
|
|
3815
|
+
}
|
|
3816
|
+
|
|
3801
3817
|
/**
|
|
3802
3818
|
* Configuration for form submission behavior and appearance
|
|
3803
3819
|
*/
|
|
@@ -4044,6 +4060,21 @@ export declare type F0RichTextFieldConfig = F0BaseConfig & F0RichTextConfig & {
|
|
|
4044
4060
|
fieldType: "richtext";
|
|
4045
4061
|
};
|
|
4046
4062
|
|
|
4063
|
+
/**
|
|
4064
|
+
* Action button configuration for a section.
|
|
4065
|
+
* Provide either onClick for a button action or href for a link.
|
|
4066
|
+
*/
|
|
4067
|
+
export declare interface F0SectionAction {
|
|
4068
|
+
/** Button label */
|
|
4069
|
+
label: string;
|
|
4070
|
+
/** Button icon */
|
|
4071
|
+
icon?: IconType;
|
|
4072
|
+
/** Click handler (use this or href) */
|
|
4073
|
+
onClick?: () => void;
|
|
4074
|
+
/** Link URL (use this or onClick) */
|
|
4075
|
+
href?: string;
|
|
4076
|
+
}
|
|
4077
|
+
|
|
4047
4078
|
/**
|
|
4048
4079
|
* Configuration for a form section.
|
|
4049
4080
|
* Section order is determined by declaration order in the sections object.
|
|
@@ -4055,6 +4086,8 @@ export declare interface F0SectionConfig {
|
|
|
4055
4086
|
description?: string;
|
|
4056
4087
|
/** Conditional rendering for the entire section */
|
|
4057
4088
|
renderIf?: SectionRenderIf;
|
|
4089
|
+
/** Optional action button for the section */
|
|
4090
|
+
action?: F0SectionAction;
|
|
4058
4091
|
}
|
|
4059
4092
|
|
|
4060
4093
|
/**
|
|
@@ -7378,11 +7411,6 @@ declare module "gridstack" {
|
|
|
7378
7411
|
}
|
|
7379
7412
|
|
|
7380
7413
|
|
|
7381
|
-
declare namespace Calendar {
|
|
7382
|
-
var displayName: string;
|
|
7383
|
-
}
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
7414
|
declare module "@tiptap/core" {
|
|
7387
7415
|
interface Commands<ReturnType> {
|
|
7388
7416
|
aiBlock: {
|
|
@@ -7419,3 +7447,8 @@ declare module "@tiptap/core" {
|
|
|
7419
7447
|
};
|
|
7420
7448
|
}
|
|
7421
7449
|
}
|
|
7450
|
+
|
|
7451
|
+
|
|
7452
|
+
declare namespace Calendar {
|
|
7453
|
+
var displayName: string;
|
|
7454
|
+
}
|