@factorialco/f0-react 1.438.0 → 1.438.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/{F0AiChat-Cg05PVK9.js → F0AiChat-DqqfCgbK.js} +3565 -3556
- package/dist/{F0HILActionConfirmation-CMnMjtvP.js → F0HILActionConfirmation-BdjYxiC3.js} +1 -1
- package/dist/ai.d.ts +11 -11
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +11 -11
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +26 -14
- package/dist/f0.js +973 -967
- package/dist/i18n-provider-defaults.d.ts +11 -11
- package/dist/{index-Ddy5at5O.js → index-26YoN1Ks.js} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defaultTranslations as ke } from "./i18n-provider-defaults.js";
|
|
2
2
|
import { jsx as q, jsxs as le } from "react/jsx-runtime";
|
|
3
3
|
import { useInsertionEffect as Xe, createContext as Ye, useContext as $e, useRef as B, useEffect as ie, useState as Ue, useCallback as qe, useMemo as He } from "react";
|
|
4
|
-
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-
|
|
4
|
+
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-DqqfCgbK.js";
|
|
5
5
|
import { useTrackVolume as wt } from "@livekit/components-react";
|
|
6
6
|
function Tt(t, e, r) {
|
|
7
7
|
Xe(() => t.on(e, r), [t, e, r]);
|
package/dist/ai.d.ts
CHANGED
|
@@ -1969,6 +1969,11 @@ declare module "gridstack" {
|
|
|
1969
1969
|
}
|
|
1970
1970
|
|
|
1971
1971
|
|
|
1972
|
+
declare namespace Calendar {
|
|
1973
|
+
var displayName: string;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
|
|
1972
1977
|
declare module "@tiptap/core" {
|
|
1973
1978
|
interface Commands<ReturnType> {
|
|
1974
1979
|
aiBlock: {
|
|
@@ -1998,15 +2003,6 @@ declare module "@tiptap/core" {
|
|
|
1998
2003
|
}
|
|
1999
2004
|
|
|
2000
2005
|
|
|
2001
|
-
declare module "@tiptap/core" {
|
|
2002
|
-
interface Commands<ReturnType> {
|
|
2003
|
-
transcript: {
|
|
2004
|
-
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
2005
|
-
};
|
|
2006
|
-
}
|
|
2007
|
-
}
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
2006
|
declare module "@tiptap/core" {
|
|
2011
2007
|
interface Commands<ReturnType> {
|
|
2012
2008
|
videoEmbed: {
|
|
@@ -2018,6 +2014,10 @@ declare module "@tiptap/core" {
|
|
|
2018
2014
|
}
|
|
2019
2015
|
|
|
2020
2016
|
|
|
2021
|
-
declare
|
|
2022
|
-
|
|
2017
|
+
declare module "@tiptap/core" {
|
|
2018
|
+
interface Commands<ReturnType> {
|
|
2019
|
+
transcript: {
|
|
2020
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
2021
|
+
};
|
|
2022
|
+
}
|
|
2023
2023
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-
|
|
1
|
+
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-DqqfCgbK.js";
|
|
2
2
|
import { defaultTranslations as d } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-
|
|
3
|
+
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-BdjYxiC3.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -7517,6 +7517,11 @@ declare module "gridstack" {
|
|
|
7517
7517
|
}
|
|
7518
7518
|
|
|
7519
7519
|
|
|
7520
|
+
declare namespace Calendar {
|
|
7521
|
+
var displayName: string;
|
|
7522
|
+
}
|
|
7523
|
+
|
|
7524
|
+
|
|
7520
7525
|
declare module "@tiptap/core" {
|
|
7521
7526
|
interface Commands<ReturnType> {
|
|
7522
7527
|
aiBlock: {
|
|
@@ -7546,15 +7551,6 @@ declare module "@tiptap/core" {
|
|
|
7546
7551
|
}
|
|
7547
7552
|
|
|
7548
7553
|
|
|
7549
|
-
declare module "@tiptap/core" {
|
|
7550
|
-
interface Commands<ReturnType> {
|
|
7551
|
-
transcript: {
|
|
7552
|
-
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
7553
|
-
};
|
|
7554
|
-
}
|
|
7555
|
-
}
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
7554
|
declare module "@tiptap/core" {
|
|
7559
7555
|
interface Commands<ReturnType> {
|
|
7560
7556
|
videoEmbed: {
|
|
@@ -7566,6 +7562,10 @@ declare module "@tiptap/core" {
|
|
|
7566
7562
|
}
|
|
7567
7563
|
|
|
7568
7564
|
|
|
7569
|
-
declare
|
|
7570
|
-
|
|
7565
|
+
declare module "@tiptap/core" {
|
|
7566
|
+
interface Commands<ReturnType> {
|
|
7567
|
+
transcript: {
|
|
7568
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
7569
|
+
};
|
|
7570
|
+
}
|
|
7571
7571
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { cN as Uu, cO as Gu, cP as Ku, a1 as qu, cQ as uo, cR as Un, cS as Yu, cT as ms, cU as _i, cV as br, K as k, R as X, L as rt, u as me, cW as Ju, cX as Xu, cY as Zu, cZ as Qu, c_ as ef, af as Le, c$ as tf, a0 as Pt, d0 as nf, b3 as rf, _ as H, b9 as sf, ba as of, U as $t, d1 as Yl, bi as lf, bc as af, M as $, d2 as gs, Z as T, d3 as it, d4 as cf, d5 as df, bd as uf, au as ff, bf as hf, aC as Bt, d6 as Jl, d7 as pf, d8 as At, aV as xn, av as bs, aw as on, k as Xl, a4 as pt, d9 as Zl, da as mf, db as fo, dc as Qt, dd as ws, de as Mn, df as wr, dg as gf, dh as Ql, di as bf, dj as xs, dk as yn, dl as Re, dm as wf, dn as xf, dp as yt, dq as oi, dr as yf, ds as bn, dt as Ut, du as vf, P as ge, dv as kf, dw as Cf, dx as Sf, dy as Nf, dz as If, W as Ye, Y as de, dA as ys, aR as On, cK as $r, dB as ea, dC as vs, dD as Af, dE as _f, dF as Tf, dG as Ef, dH as Df, dI as Rf, dJ as Lf, dK as Mf, dL as Of, b6 as Ff, dM as zf, b4 as Pf, dN as $f, dO as Bf, dP as Hf, dQ as jf, dR as Vf, dS as Wf, dT as Uf, dU as Gf, b_ as nt, dV as ta, dW as Kf, a3 as V, N as na, dX as ra, dY as qf, aZ as ks, an as Yf, dZ as Jf, d_ as Xf, ah as ln, d$ as Zf, e0 as Qf, e1 as eh, e2 as th, aM as Br, e3 as ia, e4 as sa, ca as oa, e5 as nh, aF as xr, e6 as rh, e7 as ih, e8 as sh, e9 as oh, ea as lh, ad as ah, ae as ch, ag as dh, eb as la, ec as uh, ed as fh, as as yr, ee as Kt, ef as hh, eg as aa, eh as Cs, ei as ph, ej as mh, ek as ca, el as Ti, bX as Ei, em as da, en as gh, eo as bh, cJ as Hr, bz as ua, cM as wh, cL as xh, ep as yh, bA as en, eq as vh, aJ as Gn, er as ho, es as Di, et as kh, bn as Ch, eu as Sh, bV as fa, b$ as Nh, cl as ha, cj as Ss, a9 as Ih, cm as Ah, bY as Ns, aq as pa, a as _h, c as Th, bR as Eh, ev as ma, ew as Dh, ex as Rh, F as Lh, ey as ga, ez as ba, eA as Mh, bs as po, eB as Oh, eC as Fh, bT as zh, bq as wa, bt as Ph, eD as $h, eE as Bh, eF as Hh, eG as jh, bU as xa, $ as Vh, Q as st, bF as Is, eH as As, eI as _s, eJ as ya, bG as Ts, eK as va, eL as Wh, eM as Uh, eN as Gh, eO as Kh, eP as qh, bH as Yh, eQ as Jh, bW as Xh, eR as Zh, eS as mo, eT as go, eU as bo, aX as Qh, eV as ep, eW as tp, b8 as np, eX as ka, by as rp, eY as ip, eZ as sp } from "./F0AiChat-
|
|
2
|
-
import { f1 as jN, f0 as VN, ai as WN, e_ as UN, fl as GN, az as KN, e$ as qN, aE as YN, f9 as JN, fa as XN, fc as ZN, fj as QN, fk as eI, aG as tI, f3 as nI, f2 as rI, fb as iI, c9 as sI, fe as oI, ff as lI, f8 as aI, f5 as cI, f7 as dI, f4 as uI, bZ as fI, f6 as hI, fg as pI, fh as mI, fd as gI, fi as bI } from "./F0AiChat-
|
|
1
|
+
import { cN as Uu, cO as Gu, cP as Ku, a1 as qu, cQ as uo, cR as Un, cS as Yu, cT as ms, cU as _i, cV as br, K as k, R as X, L as rt, u as me, cW as Ju, cX as Xu, cY as Zu, cZ as Qu, c_ as ef, af as Le, c$ as tf, a0 as Pt, d0 as nf, b3 as rf, _ as H, b9 as sf, ba as of, U as $t, d1 as Yl, bi as lf, bc as af, M as $, d2 as gs, Z as T, d3 as it, d4 as cf, d5 as df, bd as uf, au as ff, bf as hf, aC as Bt, d6 as Jl, d7 as pf, d8 as At, aV as xn, av as bs, aw as on, k as Xl, a4 as pt, d9 as Zl, da as mf, db as fo, dc as Qt, dd as ws, de as Mn, df as wr, dg as gf, dh as Ql, di as bf, dj as xs, dk as yn, dl as Re, dm as wf, dn as xf, dp as yt, dq as oi, dr as yf, ds as bn, dt as Ut, du as vf, P as ge, dv as kf, dw as Cf, dx as Sf, dy as Nf, dz as If, W as Ye, Y as de, dA as ys, aR as On, cK as $r, dB as ea, dC as vs, dD as Af, dE as _f, dF as Tf, dG as Ef, dH as Df, dI as Rf, dJ as Lf, dK as Mf, dL as Of, b6 as Ff, dM as zf, b4 as Pf, dN as $f, dO as Bf, dP as Hf, dQ as jf, dR as Vf, dS as Wf, dT as Uf, dU as Gf, b_ as nt, dV as ta, dW as Kf, a3 as V, N as na, dX as ra, dY as qf, aZ as ks, an as Yf, dZ as Jf, d_ as Xf, ah as ln, d$ as Zf, e0 as Qf, e1 as eh, e2 as th, aM as Br, e3 as ia, e4 as sa, ca as oa, e5 as nh, aF as xr, e6 as rh, e7 as ih, e8 as sh, e9 as oh, ea as lh, ad as ah, ae as ch, ag as dh, eb as la, ec as uh, ed as fh, as as yr, ee as Kt, ef as hh, eg as aa, eh as Cs, ei as ph, ej as mh, ek as ca, el as Ti, bX as Ei, em as da, en as gh, eo as bh, cJ as Hr, bz as ua, cM as wh, cL as xh, ep as yh, bA as en, eq as vh, aJ as Gn, er as ho, es as Di, et as kh, bn as Ch, eu as Sh, bV as fa, b$ as Nh, cl as ha, cj as Ss, a9 as Ih, cm as Ah, bY as Ns, aq as pa, a as _h, c as Th, bR as Eh, ev as ma, ew as Dh, ex as Rh, F as Lh, ey as ga, ez as ba, eA as Mh, bs as po, eB as Oh, eC as Fh, bT as zh, bq as wa, bt as Ph, eD as $h, eE as Bh, eF as Hh, eG as jh, bU as xa, $ as Vh, Q as st, bF as Is, eH as As, eI as _s, eJ as ya, bG as Ts, eK as va, eL as Wh, eM as Uh, eN as Gh, eO as Kh, eP as qh, bH as Yh, eQ as Jh, bW as Xh, eR as Zh, eS as mo, eT as go, eU as bo, aX as Qh, eV as ep, eW as tp, b8 as np, eX as ka, by as rp, eY as ip, eZ as sp } from "./F0AiChat-DqqfCgbK.js";
|
|
2
|
+
import { f1 as jN, f0 as VN, ai as WN, e_ as UN, fl as GN, az as KN, e$ as qN, aE as YN, f9 as JN, fa as XN, fc as ZN, fj as QN, fk as eI, aG as tI, f3 as nI, f2 as rI, fb as iI, c9 as sI, fe as oI, ff as lI, f8 as aI, f5 as cI, f7 as dI, f4 as uI, bZ as fI, f6 as hI, fg as pI, fh as mI, fd as gI, fi as bI } from "./F0AiChat-DqqfCgbK.js";
|
|
3
3
|
import { jsx as c, jsxs as g, Fragment as re } from "react/jsx-runtime";
|
|
4
4
|
import * as he from "react";
|
|
5
5
|
import ne, { forwardRef as F, useRef as K, useTransition as op, useState as L, useLayoutEffect as Ca, useContext as Es, createContext as Ds, useCallback as J, useMemo as ee, useEffect as W, useId as Sa, useImperativeHandle as Na, memo as Ia, Fragment as lp, isValidElement as ap, cloneElement as Aa, Children as _a } from "react";
|
|
6
|
-
import { C as cp, m as dp, N as He, o as ot, q as Te, t as up, v as sr, w as Ue, x as Ta, y as Oe, z as Rs, E as $e, G as wo, H as fp, I as Ea, J as Ie, K as ze, O as vn, Q as vr, U as Da, W as hp, X as Ht, Y as pp, Z as mp, a0 as gp, a1 as Fn, a2 as zn, a3 as Ls, a4 as bp, a5 as Ra, a6 as La, a7 as Ma, a8 as wp, a9 as Oa, aa as Fa, ab as za, ac as Pa, ad as $a, ae as Ba, n as xo, af as xp, ag as yo, ah as yp, ai as vp, aj as kp, ak as Ha, al as Cp, am as Sp, an as Np, ao as ja, e as Ri, ap as Ip, aq as Ap, ar as _p, as as Tp, at as Ep, au as Dp, av as Rp, M as Lp, aw as Mp, ax as Op, ay as Fp, az as zp, u as Va, aA as Pp, aB as $p, aC as Bp, aD as Hp, aE as jp, aF as Vp, aG as vo, aH as Wp, aI as Up, aJ as Gp } from "./index-
|
|
7
|
-
import { A as xI, f as yI, B as vI, a as kI, g as CI, j as SI, D as NI, F as II, b as AI, aM as _I, aK as TI, aL as EI, L as DI, h as RI, i as LI, k as MI, c as OI, R as FI, S as zI, T as PI, V as $I, _ as BI, l as HI, p as jI, s as VI } from "./index-
|
|
6
|
+
import { C as cp, m as dp, N as He, o as ot, q as Te, t as up, v as sr, w as Ue, x as Ta, y as Oe, z as Rs, E as $e, G as wo, H as fp, I as Ea, J as Ie, K as ze, O as vn, Q as vr, U as Da, W as hp, X as Ht, Y as pp, Z as mp, a0 as gp, a1 as Fn, a2 as zn, a3 as Ls, a4 as bp, a5 as Ra, a6 as La, a7 as Ma, a8 as wp, a9 as Oa, aa as Fa, ab as za, ac as Pa, ad as $a, ae as Ba, n as xo, af as xp, ag as yo, ah as yp, ai as vp, aj as kp, ak as Ha, al as Cp, am as Sp, an as Np, ao as ja, e as Ri, ap as Ip, aq as Ap, ar as _p, as as Tp, at as Ep, au as Dp, av as Rp, M as Lp, aw as Mp, ax as Op, ay as Fp, az as zp, u as Va, aA as Pp, aB as $p, aC as Bp, aD as Hp, aE as jp, aF as Vp, aG as vo, aH as Wp, aI as Up, aJ as Gp } from "./index-26YoN1Ks.js";
|
|
7
|
+
import { A as xI, f as yI, B as vI, a as kI, g as CI, j as SI, D as NI, F as II, b as AI, aM as _I, aK as TI, aL as EI, L as DI, h as RI, i as LI, k as MI, c as OI, R as FI, S as zI, T as PI, V as $I, _ as BI, l as HI, p as jI, s as VI } from "./index-26YoN1Ks.js";
|
|
8
8
|
import './experimental.css';const Kp = Uu("Search", [
|
|
9
9
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
10
10
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
package/dist/f0.d.ts
CHANGED
|
@@ -5920,7 +5920,7 @@ export declare type F0FieldConfig<T extends string | number = string | number, R
|
|
|
5920
5920
|
/**
|
|
5921
5921
|
* Field types for rendering
|
|
5922
5922
|
*/
|
|
5923
|
-
export declare type F0FieldType = "text" | "number" | "duration" | "textarea" | "select" | "checkbox" | "switch" | "date" | "time" | "datetime" | "daterange" | "richtext" | "file" | "cardSelect" | "custom";
|
|
5923
|
+
export declare type F0FieldType = "text" | "number" | "percentage" | "money" | "duration" | "textarea" | "select" | "checkbox" | "switch" | "date" | "time" | "datetime" | "daterange" | "richtext" | "file" | "cardSelect" | "custom";
|
|
5924
5924
|
|
|
5925
5925
|
/**
|
|
5926
5926
|
* F0 config options specific to file fields
|
|
@@ -6667,6 +6667,10 @@ export declare type F0NumberField = F0BaseField & F0NumberConfig & {
|
|
|
6667
6667
|
min?: number;
|
|
6668
6668
|
/** Maximum value (derived from z.number().max()) */
|
|
6669
6669
|
max?: number;
|
|
6670
|
+
/** Maximum decimal places (0 for integers, derived from z.number().int()) */
|
|
6671
|
+
maxDecimals?: number;
|
|
6672
|
+
/** Units suffix shown inside the input (e.g. "%") */
|
|
6673
|
+
units?: string;
|
|
6670
6674
|
/** Whether the field can be cleared (derived from optional/nullable) */
|
|
6671
6675
|
clearable?: boolean;
|
|
6672
6676
|
/** Conditional rendering based on another field's value */
|
|
@@ -6677,13 +6681,21 @@ export declare type F0NumberField = F0BaseField & F0NumberConfig & {
|
|
|
6677
6681
|
* Config for number fields
|
|
6678
6682
|
* @typeParam R - Record type for data source (when using source instead of options)
|
|
6679
6683
|
*/
|
|
6680
|
-
export declare type F0NumberFieldConfig<R extends Record<string, unknown> = Record<string, unknown>> = F0NumberInputConfig | F0NumberSelectConfig<R> | F0DurationFieldConfig;
|
|
6684
|
+
export declare type F0NumberFieldConfig<R extends Record<string, unknown> = Record<string, unknown>> = F0NumberInputConfig | F0NumberMoneyConfig | F0NumberSelectConfig<R> | F0DurationFieldConfig;
|
|
6681
6685
|
|
|
6682
6686
|
/**
|
|
6683
6687
|
* Config for number fields - number input
|
|
6684
6688
|
*/
|
|
6685
6689
|
declare type F0NumberInputConfig = F0BaseConfig & F0NumberConfig & {
|
|
6686
|
-
fieldType?: "number";
|
|
6690
|
+
fieldType?: "number" | "percentage";
|
|
6691
|
+
};
|
|
6692
|
+
|
|
6693
|
+
/**
|
|
6694
|
+
* Config for money fields - number input with currency suffix
|
|
6695
|
+
*/
|
|
6696
|
+
declare type F0NumberMoneyConfig = F0BaseConfig & F0NumberConfig & {
|
|
6697
|
+
fieldType: "money";
|
|
6698
|
+
currency: string;
|
|
6687
6699
|
};
|
|
6688
6700
|
|
|
6689
6701
|
/**
|
|
@@ -11742,6 +11754,11 @@ declare module "gridstack" {
|
|
|
11742
11754
|
}
|
|
11743
11755
|
|
|
11744
11756
|
|
|
11757
|
+
declare namespace Calendar {
|
|
11758
|
+
var displayName: string;
|
|
11759
|
+
}
|
|
11760
|
+
|
|
11761
|
+
|
|
11745
11762
|
declare module "@tiptap/core" {
|
|
11746
11763
|
interface Commands<ReturnType> {
|
|
11747
11764
|
aiBlock: {
|
|
@@ -11771,15 +11788,6 @@ declare module "@tiptap/core" {
|
|
|
11771
11788
|
}
|
|
11772
11789
|
|
|
11773
11790
|
|
|
11774
|
-
declare module "@tiptap/core" {
|
|
11775
|
-
interface Commands<ReturnType> {
|
|
11776
|
-
transcript: {
|
|
11777
|
-
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
11778
|
-
};
|
|
11779
|
-
}
|
|
11780
|
-
}
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
11791
|
declare module "@tiptap/core" {
|
|
11784
11792
|
interface Commands<ReturnType> {
|
|
11785
11793
|
videoEmbed: {
|
|
@@ -11791,6 +11799,10 @@ declare module "@tiptap/core" {
|
|
|
11791
11799
|
}
|
|
11792
11800
|
|
|
11793
11801
|
|
|
11794
|
-
declare
|
|
11795
|
-
|
|
11802
|
+
declare module "@tiptap/core" {
|
|
11803
|
+
interface Commands<ReturnType> {
|
|
11804
|
+
transcript: {
|
|
11805
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
11806
|
+
};
|
|
11807
|
+
}
|
|
11796
11808
|
}
|