@factorialco/f0-react 1.373.2 → 1.374.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-DSTSsF9E.js → DataCollectionStorageProvider-CWC0VRoY.js} +977 -975
- package/dist/{F0AiChat-BVNw2a7t.js → F0AiChat-DHTXU56n.js} +24 -9
- package/dist/{F0HILActionConfirmation-DhzET4Cw.js → F0HILActionConfirmation-COzrRg8x.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +6 -0
- package/dist/f0.js +1043 -1012
- package/package.json +1 -1
|
@@ -53813,18 +53813,33 @@ const ak2 = x.forwardRef(({ className: e, content: t }, n) => o("div", {
|
|
|
53813
53813
|
})
|
|
53814
53814
|
}));
|
|
53815
53815
|
ak2.displayName = "CardInfo";
|
|
53816
|
-
const ik2 = x.forwardRef(({ className: e, title: t, icon: n = W6,
|
|
53817
|
-
|
|
53818
|
-
className: f2("group inline-flex aspect-square h-6 items-center justify-center gap-1", "rounded-sm border border-solid border-f1-border bg-f1-background-inverse-secondary", "whitespace-nowrap px-0 text-base font-medium text-f1-foreground", "cursor-pointer transition-colors hover:border-f1-border-hover focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-f1-special-ring focus-visible:ring-offset-1", e),
|
|
53819
|
-
role: "button",
|
|
53820
|
-
"aria-label": t,
|
|
53821
|
-
...r,
|
|
53822
|
-
children: o(E1, {
|
|
53816
|
+
const ik2 = x.forwardRef(({ className: e, title: t, icon: n = W6, href: r, ...a }, i) => {
|
|
53817
|
+
const s = f2("group inline-flex aspect-square h-6 items-center justify-center gap-1", "rounded-sm border border-solid border-f1-border bg-f1-background-inverse-secondary", "whitespace-nowrap px-0 text-base font-medium text-f1-foreground", "cursor-pointer transition-colors hover:border-f1-border-hover focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-f1-special-ring focus-visible:ring-offset-1", e), l = o(E1, {
|
|
53823
53818
|
size: "sm",
|
|
53824
53819
|
icon: n,
|
|
53825
53820
|
className: "text-f1-icon-bold"
|
|
53826
|
-
})
|
|
53827
|
-
|
|
53821
|
+
});
|
|
53822
|
+
if (!r) {
|
|
53823
|
+
const { target: c, rel: u, download: d, type: C, ...m } = a;
|
|
53824
|
+
return o("button", {
|
|
53825
|
+
ref: i,
|
|
53826
|
+
className: s,
|
|
53827
|
+
"aria-label": t,
|
|
53828
|
+
type: "button",
|
|
53829
|
+
...m,
|
|
53830
|
+
children: l
|
|
53831
|
+
});
|
|
53832
|
+
}
|
|
53833
|
+
return o(P7, {
|
|
53834
|
+
ref: i,
|
|
53835
|
+
className: s,
|
|
53836
|
+
role: "button",
|
|
53837
|
+
"aria-label": t,
|
|
53838
|
+
href: r,
|
|
53839
|
+
...a,
|
|
53840
|
+
children: l
|
|
53841
|
+
});
|
|
53842
|
+
});
|
|
53828
53843
|
ik2.displayName = "CardLink";
|
|
53829
53844
|
const c9 = x.forwardRef(({ className: e, ...t }, n) => o("div", {
|
|
53830
53845
|
ref: n,
|
|
@@ -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-DHTXU56n.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.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-DHTXU56n.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-COzrRg8x.js";
|
|
4
4
|
export {
|
|
5
5
|
e as A,
|
|
6
6
|
y as AiChatTranslationsProvider,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -6077,9 +6077,9 @@ export declare const Textarea: FC<TextareaProps>;
|
|
|
6077
6077
|
|
|
6078
6078
|
declare const Textarea_2: React_2.ForwardRefExoticComponent<Omit<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
|
|
6079
6079
|
value?: string;
|
|
6080
|
-
} & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "size" | "icon" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "loading" | "maxLength" | "placeholder" | "error" | "hideLabel" | "hint" | "labelIcon" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
6080
|
+
} & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "size" | "icon" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "loading" | "maxLength" | "placeholder" | "required" | "error" | "hideLabel" | "hint" | "labelIcon" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
6081
6081
|
|
|
6082
|
-
export declare type TextareaProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error" | "size" | "loading">;
|
|
6082
|
+
export declare type TextareaProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error" | "size" | "loading" | "required">;
|
|
6083
6083
|
|
|
6084
6084
|
declare type TextQuestionProps = BaseQuestionPropsForOtherQuestionComponents & {
|
|
6085
6085
|
type: "text" | "longText";
|
package/dist/experimental.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a5 as Vd, bG as Hp, bH as Vp, bI as Wp, bJ as zo, bK as Up, bL as Qi, D as Gp, bM as qp, ab as G, V as Wd, J as Kp, bN as Jp, ao as Ni, bO as Ud, bP as Yp, bQ as Qp, ak as Xp, bR as Ca, bS as Gr, bT as Zp, a6 as k, a7 as Nt, u as Y, bU as eg, bV as tg, bW as ng, bX as rg, bY as ig, av as we, bZ as og, b_ as ul, b$ as Gd, c0 as ms, aj as Ae, c1 as sg, c2 as qd, ah as q, c3 as Kd, c4 as Jd, ac as it, c5 as Yd, c6 as ps, c7 as Qd, a8 as j, c8 as Er, ag as M, c9 as mt, ca as lg, cb as ag, cc as ar, aI as Xd, cd as Zd, a_ as Zt, ce as eu, cf as fl, cg as ut, aJ as hl, aK as bn, v as tu, ch as nu, ci as cg, cj as ka, ck as Pn, cl as ml, cm as Tr, cn as Si, co as dg, cp as ru, cq as ug, cr as pl, cs as cr, ct as Ye, cu as fg, cv as hg, cw as Vt, cx as $o, cy as mg, cz as sr, cA as An, cB as pg, cC as iu, cD as gg, cE as bg, cF as vg, cG as yg, ad as We, af as Ne, cH as cn, aT as en, bD as Dr, cI as ou, cJ as gl, cK as xg, cL as wg, cM as Cg, cN as kg, cO as Ng, cP as Sg, cQ as Ig, cR as Ag, cS as Eg, cT as bl, cU as Tg, cV as su, cW as Dg, cX as _g, cY as Lg, cZ as Og, c_ as Rg, c$ as Fg, d0 as Mg, d1 as Pg, be as Ct, d2 as lu, d3 as zg, am as se, a9 as dr, d4 as au, d5 as cu, aW as vl, t as $g, d6 as jg, d7 as Bg, al as ur, d8 as Hg, d9 as jo, da as Vg, db as yl, dc as Wt, aP as du, dd as Na, de as Sa, df as Wg, dg as Ia, dh as uu, di as xl, aO as zn, aM as fu, at as wl, au as Cl, aw as kl, aL as Ii, ai as _r, dj as Ug, dk as Gg, dl as hu, dm as qg, ax as kt, dn as Kg, dp as mu, dq as pu, dr as Jg, ds as Lr, dt as Nl, du as Xi, bg as dn, dv as gs, dw as Yg, dx as Qg, dy as Xg, dz as Zg, dA as eb, dB as tb, dC as gu, dD as nb, dE as bu, dF as rb, dG as ib, dH as ob, aG as Aa, dI as vu, dJ as bs, aB as vs, dK as yu, dL as ys, bn as Sl, aV as un, b9 as Zi, dM as eo, dN as sb, dO as lb, dP as ab, bC as to, aU as xu, bF as cb, bE as db, dQ as wu, dR as ub, aD as Dn, dS as Ea, dT as Ai, dU as fb, dV as hb, bf as mb, ba as Cu, a as pb, d as gb, dW as Il, dX as bb, F as vb, dY as ku, dZ as Nu, d_ as yb, d$ as xb, e0 as wb, e1 as Cb, e2 as kb, e3 as Su, e4 as Nb, bb as Iu, e5 as Au, e6 as Sb, e7 as Ib, e8 as Ab, e9 as Eb, ea as Tb, eb as Db, ec as _b, ed as Lb, bq as Ob, br as Rb, by as no, bw as Al, a$ as ro, ee as io, ef as oo, b0 as so, eg as El, bx as Eu, aC as Fb, bs as Ei, eh as Tu, ei as Mb, ej as xs, ek as Pb, el as Ta, em as zb, en as $b, eo as jb, ep as Bb, eq as Hb, er as Vb, es as Wb, aa as Du, bm as Ub, bv as Gb, aX as qb, aY as Kb, aZ as Jb, an as pt, et as _u, eu as Yb, ev as Qb, ew as Xb, ex as Zb, b1 as e0, ey as t0, ez as Da, eA as _a, eB as La, eC as n0, eD as r0, eE as i0, eF as o0, eG as Lu, eH as s0 } from "./F0AiChat-
|
|
2
|
-
import { eK as _L, eJ as LL, eI as OL, eP as RL, eQ as FL, eM as ML, eL as PL, eO as zL, bd as $L, eN as jL } from "./F0AiChat-
|
|
1
|
+
import { a5 as Vd, bG as Hp, bH as Vp, bI as Wp, bJ as zo, bK as Up, bL as Qi, D as Gp, bM as qp, ab as G, V as Wd, J as Kp, bN as Jp, ao as Ni, bO as Ud, bP as Yp, bQ as Qp, ak as Xp, bR as Ca, bS as Gr, bT as Zp, a6 as k, a7 as Nt, u as Y, bU as eg, bV as tg, bW as ng, bX as rg, bY as ig, av as we, bZ as og, b_ as ul, b$ as Gd, c0 as ms, aj as Ae, c1 as sg, c2 as qd, ah as q, c3 as Kd, c4 as Jd, ac as it, c5 as Yd, c6 as ps, c7 as Qd, a8 as j, c8 as Er, ag as M, c9 as mt, ca as lg, cb as ag, cc as ar, aI as Xd, cd as Zd, a_ as Zt, ce as eu, cf as fl, cg as ut, aJ as hl, aK as bn, v as tu, ch as nu, ci as cg, cj as ka, ck as Pn, cl as ml, cm as Tr, cn as Si, co as dg, cp as ru, cq as ug, cr as pl, cs as cr, ct as Ye, cu as fg, cv as hg, cw as Vt, cx as $o, cy as mg, cz as sr, cA as An, cB as pg, cC as iu, cD as gg, cE as bg, cF as vg, cG as yg, ad as We, af as Ne, cH as cn, aT as en, bD as Dr, cI as ou, cJ as gl, cK as xg, cL as wg, cM as Cg, cN as kg, cO as Ng, cP as Sg, cQ as Ig, cR as Ag, cS as Eg, cT as bl, cU as Tg, cV as su, cW as Dg, cX as _g, cY as Lg, cZ as Og, c_ as Rg, c$ as Fg, d0 as Mg, d1 as Pg, be as Ct, d2 as lu, d3 as zg, am as se, a9 as dr, d4 as au, d5 as cu, aW as vl, t as $g, d6 as jg, d7 as Bg, al as ur, d8 as Hg, d9 as jo, da as Vg, db as yl, dc as Wt, aP as du, dd as Na, de as Sa, df as Wg, dg as Ia, dh as uu, di as xl, aO as zn, aM as fu, at as wl, au as Cl, aw as kl, aL as Ii, ai as _r, dj as Ug, dk as Gg, dl as hu, dm as qg, ax as kt, dn as Kg, dp as mu, dq as pu, dr as Jg, ds as Lr, dt as Nl, du as Xi, bg as dn, dv as gs, dw as Yg, dx as Qg, dy as Xg, dz as Zg, dA as eb, dB as tb, dC as gu, dD as nb, dE as bu, dF as rb, dG as ib, dH as ob, aG as Aa, dI as vu, dJ as bs, aB as vs, dK as yu, dL as ys, bn as Sl, aV as un, b9 as Zi, dM as eo, dN as sb, dO as lb, dP as ab, bC as to, aU as xu, bF as cb, bE as db, dQ as wu, dR as ub, aD as Dn, dS as Ea, dT as Ai, dU as fb, dV as hb, bf as mb, ba as Cu, a as pb, d as gb, dW as Il, dX as bb, F as vb, dY as ku, dZ as Nu, d_ as yb, d$ as xb, e0 as wb, e1 as Cb, e2 as kb, e3 as Su, e4 as Nb, bb as Iu, e5 as Au, e6 as Sb, e7 as Ib, e8 as Ab, e9 as Eb, ea as Tb, eb as Db, ec as _b, ed as Lb, bq as Ob, br as Rb, by as no, bw as Al, a$ as ro, ee as io, ef as oo, b0 as so, eg as El, bx as Eu, aC as Fb, bs as Ei, eh as Tu, ei as Mb, ej as xs, ek as Pb, el as Ta, em as zb, en as $b, eo as jb, ep as Bb, eq as Hb, er as Vb, es as Wb, aa as Du, bm as Ub, bv as Gb, aX as qb, aY as Kb, aZ as Jb, an as pt, et as _u, eu as Yb, ev as Qb, ew as Xb, ex as Zb, b1 as e0, ey as t0, ez as Da, eA as _a, eB as La, eC as n0, eD as r0, eE as i0, eF as o0, eG as Lu, eH as s0 } from "./F0AiChat-DHTXU56n.js";
|
|
2
|
+
import { eK as _L, eJ as LL, eI as OL, eP as RL, eQ as FL, eM as ML, eL as PL, eO as zL, bd as $L, eN as jL } from "./F0AiChat-DHTXU56n.js";
|
|
3
3
|
import { jsx as l, jsxs as g, Fragment as Z } 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 l0, useTransition as a0, useState as R, useLayoutEffect as Kn, useId as Tl, useCallback as ne, useMemo as P, useImperativeHandle as Ou, memo as lo, Fragment as $n, isValidElement as Ru, cloneElement as Dl, createElement as Oa, Children as Fu } from "react";
|
|
6
|
-
import { f as _n, aG as fr, j as qr, aH as c0, b as Bo, aI as d0, A as u0, d as Kr, i as f0, m as h0, G as m0, g as Ra, aJ as p0, l as Fa, aK as g0, p as b0, aL as Mu, aM as Pu, aN as v0, C as y0, az as x0, ae as jn, D as De, aO as ot, aP as St, aQ as Ge, aR as w0, aS as ci, aT as lt, aU as zu, aV as Xe, aW as _l, aX as nt, aY as Ma, aZ as C0, a_ as $u, a$ as He, b0 as et, b1 as hr, b2 as Ti, b3 as ju, b4 as k0, b5 as vn, b6 as N0, b7 as S0, b8 as I0, b9 as Or, ba as Rr, bb as Ll, bc as A0, bd as Bu, be as Hu, bf as Vu, bg as E0, bh as Wu, bi as Uu, bj as Gu, bk as qu, bl as Ku, bm as Ju, bn as ws, bo as T0, bp as Pa, bq as D0, br as _0, bs as L0, t as O0, x as R0, y as F0, F as M0, M as za, N as $a, O as P0, P as z0, a4 as $0, a5 as j0, bt as B0, bu as H0, a7 as V0, bv as Yu, bw as W0, bx as U0, by as G0, am as ao, bz as Ol, bA as Qu, al as Cs, bB as q0, ak as Xu, a2 as Fr, ag as K0, bC as J0, bD as Y0, bE as Q0, ap as Rl, bF as X0, aD as Z0, bG as ks, bH as ev, bI as Di, bJ as tv, aE as nv, bK as rv, aC as Zu, aB as iv, aA as ov, bL as sv, bM as lv, bN as av, bO as cv, bP as dv, bQ as uv, bR as fv, bS as hv, bT as mv, bU as pv, bV as gv, bW as bv, bX as vv, bY as yv, bZ as xv, aF as ef, at as tf, b_ as wv, R as Cv, T as kv, V as Nv, W as Sv, Z as Iv, U as Av, b$ as ja, c0 as Ev, c1 as Tv, n as Dv } from "./DataCollectionStorageProvider-
|
|
7
|
-
import { ah as HL, c2 as VL, a8 as WL, a3 as UL, aa as GL, c6 as qL, c5 as KL, c3 as JL, c4 as YL, a6 as QL, a9 as XL, aq as ZL, ar as eO } from "./DataCollectionStorageProvider-
|
|
6
|
+
import { f as _n, aG as fr, j as qr, aH as c0, b as Bo, aI as d0, A as u0, d as Kr, i as f0, m as h0, G as m0, g as Ra, aJ as p0, l as Fa, aK as g0, p as b0, aL as Mu, aM as Pu, aN as v0, C as y0, az as x0, ae as jn, D as De, aO as ot, aP as St, aQ as Ge, aR as w0, aS as ci, aT as lt, aU as zu, aV as Xe, aW as _l, aX as nt, aY as Ma, aZ as C0, a_ as $u, a$ as He, b0 as et, b1 as hr, b2 as Ti, b3 as ju, b4 as k0, b5 as vn, b6 as N0, b7 as S0, b8 as I0, b9 as Or, ba as Rr, bb as Ll, bc as A0, bd as Bu, be as Hu, bf as Vu, bg as E0, bh as Wu, bi as Uu, bj as Gu, bk as qu, bl as Ku, bm as Ju, bn as ws, bo as T0, bp as Pa, bq as D0, br as _0, bs as L0, t as O0, x as R0, y as F0, F as M0, M as za, N as $a, O as P0, P as z0, a4 as $0, a5 as j0, bt as B0, bu as H0, a7 as V0, bv as Yu, bw as W0, bx as U0, by as G0, am as ao, bz as Ol, bA as Qu, al as Cs, bB as q0, ak as Xu, a2 as Fr, ag as K0, bC as J0, bD as Y0, bE as Q0, ap as Rl, bF as X0, aD as Z0, bG as ks, bH as ev, bI as Di, bJ as tv, aE as nv, bK as rv, aC as Zu, aB as iv, aA as ov, bL as sv, bM as lv, bN as av, bO as cv, bP as dv, bQ as uv, bR as fv, bS as hv, bT as mv, bU as pv, bV as gv, bW as bv, bX as vv, bY as yv, bZ as xv, aF as ef, at as tf, b_ as wv, R as Cv, T as kv, V as Nv, W as Sv, Z as Iv, U as Av, b$ as ja, c0 as Ev, c1 as Tv, n as Dv } from "./DataCollectionStorageProvider-CWC0VRoY.js";
|
|
7
|
+
import { ah as HL, c2 as VL, a8 as WL, a3 as UL, aa as GL, c6 as qL, c5 as KL, c3 as JL, c4 as YL, a6 as QL, a9 as XL, aq as ZL, ar as eO } from "./DataCollectionStorageProvider-CWC0VRoY.js";
|
|
8
8
|
import './experimental.css';function nf(t, e) {
|
|
9
9
|
const n = Vd(e()), r = () => n.set(e());
|
|
10
10
|
return r(), Hp(() => {
|
package/dist/f0.d.ts
CHANGED
|
@@ -7030,6 +7030,12 @@ declare interface TextProps extends Omit<default_2.HTMLAttributes<HTMLElement>,
|
|
|
7030
7030
|
* @default false
|
|
7031
7031
|
*/
|
|
7032
7032
|
markdown?: boolean;
|
|
7033
|
+
/**
|
|
7034
|
+
* Show a required indicator (red asterisk) after the content.
|
|
7035
|
+
* Useful when the Text is used as a form label.
|
|
7036
|
+
* @default false
|
|
7037
|
+
*/
|
|
7038
|
+
required?: boolean;
|
|
7033
7039
|
}
|
|
7034
7040
|
|
|
7035
7041
|
/**
|