@factorialco/f0-react 2.55.2 → 2.55.3
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/ai.d.ts +5 -5
- package/dist/experimental.d.ts +5 -5
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +5 -5
- package/dist/f0.js +2 -2
- package/dist/i18n-provider-defaults.d.ts +5 -5
- package/dist/{useDataCollectionSource-JJC0qfeL.js → useDataCollectionSource-Bgh3jwe4.js} +8 -10
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -4709,6 +4709,11 @@ declare module "gridstack" {
|
|
|
4709
4709
|
}
|
|
4710
4710
|
|
|
4711
4711
|
|
|
4712
|
+
declare namespace Calendar {
|
|
4713
|
+
var displayName: string;
|
|
4714
|
+
}
|
|
4715
|
+
|
|
4716
|
+
|
|
4712
4717
|
declare module "@tiptap/core" {
|
|
4713
4718
|
interface Commands<ReturnType> {
|
|
4714
4719
|
aiBlock: {
|
|
@@ -4758,11 +4763,6 @@ declare module "@tiptap/core" {
|
|
|
4758
4763
|
}
|
|
4759
4764
|
|
|
4760
4765
|
|
|
4761
|
-
declare namespace Calendar {
|
|
4762
|
-
var displayName: string;
|
|
4763
|
-
}
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
4766
|
declare namespace F0GraphNodeWrapperInner {
|
|
4767
4767
|
var displayName: string;
|
|
4768
4768
|
}
|
package/dist/experimental.d.ts
CHANGED
|
@@ -8864,6 +8864,11 @@ declare module "gridstack" {
|
|
|
8864
8864
|
}
|
|
8865
8865
|
|
|
8866
8866
|
|
|
8867
|
+
declare namespace Calendar {
|
|
8868
|
+
var displayName: string;
|
|
8869
|
+
}
|
|
8870
|
+
|
|
8871
|
+
|
|
8867
8872
|
declare module "@tiptap/core" {
|
|
8868
8873
|
interface Commands<ReturnType> {
|
|
8869
8874
|
aiBlock: {
|
|
@@ -8913,11 +8918,6 @@ declare module "@tiptap/core" {
|
|
|
8913
8918
|
}
|
|
8914
8919
|
|
|
8915
8920
|
|
|
8916
|
-
declare namespace Calendar {
|
|
8917
|
-
var displayName: string;
|
|
8918
|
-
}
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
8921
|
declare namespace F0GraphNodeWrapperInner {
|
|
8922
8922
|
var displayName: string;
|
|
8923
8923
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -2,8 +2,8 @@ import { g as ca, B as da, h as ua, i as fa, j as Ft, k as De, l as ma, m as g,
|
|
|
2
2
|
import { bW as Ac, bV as Lc, c6 as Ec, bS as _c, bT as Oc, bL as Dc, bM as Tc, bN as zc, c7 as Pc, bU as Bc, c2 as Rc, c3 as $c, bO as Wc, bY as Mc, bX as jc, bP as Vc, bQ as Gc, c4 as Hc, c8 as Uc, c5 as Kc, c1 as qc, b_ as Yc, c0 as Zc, bZ as Xc, bR as Jc, b$ as Qc } from "./F0CanvasPanel-Dr0WIoJu.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import se, { forwardRef as j, useRef as G, useTransition as Kr, useState as _, useLayoutEffect as Fn, useId as ct, useContext as Ke, createContext as yt, useEffect as $, useCallback as Q, useMemo as q, Fragment as qr, isValidElement as Yr, cloneElement as An, Children as Ln } from "react";
|
|
5
|
-
import { C as Zr, P as Xr, a as En, M as Jr, R as Dt, b as _n, u as Qr, c as On, S as el, A as tl, B as nl, L as al, d as rl, V as ll, e as il, f as sl, g as ol, O as cl } from "./useDataCollectionSource-
|
|
6
|
-
import { l as td, m as nd, j as ad, x as rd, n as ld, s as id, a3 as sd, w as od, k as cd, D as dd, F as ud, J as fd, E as md, z as hd, a9 as gd, I as pd, K as bd, Q as xd, o as vd, a5 as wd, a6 as yd, a4 as Nd, a7 as Cd, N as kd, U as Sd, a0 as Id, a2 as Fd, p as Ad, r as Ld, t as Ed, G as _d, a8 as Od, H as Dd, T as Td, q as zd, v as Pd, h as Bd, i as Rd, X as $d, Y as Wd, a1 as Md, y as jd, Z as Vd, _ as Gd, W as Hd, $ as Ud } from "./useDataCollectionSource-
|
|
5
|
+
import { C as Zr, P as Xr, a as En, M as Jr, R as Dt, b as _n, u as Qr, c as On, S as el, A as tl, B as nl, L as al, d as rl, V as ll, e as il, f as sl, g as ol, O as cl } from "./useDataCollectionSource-Bgh3jwe4.js";
|
|
6
|
+
import { l as td, m as nd, j as ad, x as rd, n as ld, s as id, a3 as sd, w as od, k as cd, D as dd, F as ud, J as fd, E as md, z as hd, a9 as gd, I as pd, K as bd, Q as xd, o as vd, a5 as wd, a6 as yd, a4 as Nd, a7 as Cd, N as kd, U as Sd, a0 as Id, a2 as Fd, p as Ad, r as Ld, t as Ed, G as _d, a8 as Od, H as Dd, T as Td, q as zd, v as Pd, h as Bd, i as Rd, X as $d, Y as Wd, a1 as Md, y as jd, Z as Vd, _ as Gd, W as Hd, $ as Ud } from "./useDataCollectionSource-Bgh3jwe4.js";
|
|
7
7
|
const dl = ca("Search", [
|
|
8
8
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
9
9
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
package/dist/f0.d.ts
CHANGED
|
@@ -16144,6 +16144,11 @@ declare module "gridstack" {
|
|
|
16144
16144
|
}
|
|
16145
16145
|
|
|
16146
16146
|
|
|
16147
|
+
declare namespace Calendar {
|
|
16148
|
+
var displayName: string;
|
|
16149
|
+
}
|
|
16150
|
+
|
|
16151
|
+
|
|
16147
16152
|
declare module "@tiptap/core" {
|
|
16148
16153
|
interface Commands<ReturnType> {
|
|
16149
16154
|
aiBlock: {
|
|
@@ -16193,11 +16198,6 @@ declare module "@tiptap/core" {
|
|
|
16193
16198
|
}
|
|
16194
16199
|
|
|
16195
16200
|
|
|
16196
|
-
declare namespace Calendar {
|
|
16197
|
-
var displayName: string;
|
|
16198
|
-
}
|
|
16199
|
-
|
|
16200
|
-
|
|
16201
16201
|
declare namespace F0GraphNodeWrapperInner {
|
|
16202
16202
|
var displayName: string;
|
|
16203
16203
|
}
|
package/dist/f0.js
CHANGED
|
@@ -6,8 +6,8 @@ import _t, { forwardRef as Pr, useRef as fe, useImperativeHandle as b3, Children
|
|
|
6
6
|
import { T as c2, z as w3, B as S3, D as C3, E as T3, G as f2, H as sv, I as zx, J as d2, K as h2, L as v2, M as D3, N as A3, O as M3, P as E3, Q as L3, F as N3 } from "./useChatHistory-Dkrf7Ox1.js";
|
|
7
7
|
import { A as zge, C as Vge, h as Fge, t as Gge, v as Hge, x as Wge, n as Uge, j as $ge, r as Yge, y as Xge, q as qge, s as Zge, k as jge, e as Kge, R as Qge, g as Jge, l as eme, i as tme, a as rme, p as nme, m as ime, o as ame, b as ome, f as sme, w as lme, c as ume, d as cme, u as fme } from "./useChatHistory-Dkrf7Ox1.js";
|
|
8
8
|
import { createPortal as Vx, unstable_batchedUpdates as ud } from "react-dom";
|
|
9
|
-
import { C as I3, F as R3, aa as p2, ab as k3, ac as P3, ad as O3, ae as Fx, af as Gx, w as B3, ag as z3, J as V3, a3 as F3, ah as G3, D as H3, ai as W3, aj as U3, b as Up, ak as zf, R as Hx, u as Wx, G as g2, O as Ux, al as m2, am as XS, an as $x, j as $3, _ as y2, U as b2, ao as Y3, ap as X3, aq as q3, ar as Z3, as as j3, at as K3, M as Q3, au as Z0 } from "./useDataCollectionSource-
|
|
10
|
-
import { l as hme, m as vme, x as pme, n as gme, s as mme, aJ as yme, aI as bme, aE as _me, aw as xme, av as wme, ax as Sme, ay as Cme, E as Tme, z as Dme, a9 as Ame, I as Mme, o as Eme, aK as Lme, a5 as Nme, a6 as Ime, a4 as Rme, a7 as kme, N as Pme, p as Ome, P as Bme, r as zme, t as Vme, a8 as Fme, T as Gme, q as Hme, v as Wme, aM as Ume, h as $me, i as Yme, aD as Xme, aB as qme, aA as Zme, aL as jme, a1 as Kme, y as Qme, aN as Jme, aO as eye, aF as tye, aG as rye, aH as nye, aC as iye, c as aye, az as oye, aP as sye } from "./useDataCollectionSource-
|
|
9
|
+
import { C as I3, F as R3, aa as p2, ab as k3, ac as P3, ad as O3, ae as Fx, af as Gx, w as B3, ag as z3, J as V3, a3 as F3, ah as G3, D as H3, ai as W3, aj as U3, b as Up, ak as zf, R as Hx, u as Wx, G as g2, O as Ux, al as m2, am as XS, an as $x, j as $3, _ as y2, U as b2, ao as Y3, ap as X3, aq as q3, ar as Z3, as as j3, at as K3, M as Q3, au as Z0 } from "./useDataCollectionSource-Bgh3jwe4.js";
|
|
10
|
+
import { l as hme, m as vme, x as pme, n as gme, s as mme, aJ as yme, aI as bme, aE as _me, aw as xme, av as wme, ax as Sme, ay as Cme, E as Tme, z as Dme, a9 as Ame, I as Mme, o as Eme, aK as Lme, a5 as Nme, a6 as Ime, a4 as Rme, a7 as kme, N as Pme, p as Ome, P as Bme, r as zme, t as Vme, a8 as Fme, T as Gme, q as Hme, v as Wme, aM as Ume, h as $me, i as Yme, aD as Xme, aB as qme, aA as Zme, aL as jme, a1 as Kme, y as Qme, aN as Jme, aO as eye, aF as tye, aG as rye, aH as nye, aC as iye, c as aye, az as oye, aP as sye } from "./useDataCollectionSource-Bgh3jwe4.js";
|
|
11
11
|
import { utils as Nl, write as _2 } from "./xlsx-Bedf3nwD.js";
|
|
12
12
|
import { defaultTranslations as uye } from "./i18n-provider-defaults.js";
|
|
13
13
|
import './f0.css';const J3 = {
|
|
@@ -869,6 +869,11 @@ declare module "gridstack" {
|
|
|
869
869
|
}
|
|
870
870
|
|
|
871
871
|
|
|
872
|
+
declare namespace Calendar {
|
|
873
|
+
var displayName: string;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
|
|
872
877
|
declare module "@tiptap/core" {
|
|
873
878
|
interface Commands<ReturnType> {
|
|
874
879
|
aiBlock: {
|
|
@@ -918,11 +923,6 @@ declare module "@tiptap/core" {
|
|
|
918
923
|
}
|
|
919
924
|
|
|
920
925
|
|
|
921
|
-
declare namespace Calendar {
|
|
922
|
-
var displayName: string;
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
|
|
926
926
|
declare namespace F0GraphNodeWrapperInner {
|
|
927
927
|
var displayName: string;
|
|
928
928
|
}
|
|
@@ -12103,9 +12103,9 @@ function JI(t) {
|
|
|
12103
12103
|
return n?.typeName === "ZodObject" || n?.typeName === "ZodEffects";
|
|
12104
12104
|
}
|
|
12105
12105
|
function Ey(t, e) {
|
|
12106
|
-
const n = typeof t == "function", i =
|
|
12106
|
+
const n = typeof t == "function", i = !!e, [r, s] = K(
|
|
12107
12107
|
n ? void 0 : t
|
|
12108
|
-
), [o, a] = K(n
|
|
12108
|
+
), [o, a] = K(n), l = X(t);
|
|
12109
12109
|
l.current = t;
|
|
12110
12110
|
const c = X(e);
|
|
12111
12111
|
return c.current = e, fe(() => {
|
|
@@ -12113,11 +12113,7 @@ function Ey(t, e) {
|
|
|
12113
12113
|
const d = new AbortController();
|
|
12114
12114
|
a(!0);
|
|
12115
12115
|
const f = l.current;
|
|
12116
|
-
return c.current
|
|
12117
|
-
d.abort();
|
|
12118
|
-
}) : (f(
|
|
12119
|
-
d.signal
|
|
12120
|
-
).then((h) => {
|
|
12116
|
+
return (c.current ? f({}) : f(d.signal)).then((h) => {
|
|
12121
12117
|
d.signal.aborted || (s(h), a(!1));
|
|
12122
12118
|
}).catch((h) => {
|
|
12123
12119
|
d.signal.aborted || (console.warn(
|
|
@@ -12126,7 +12122,7 @@ function Ey(t, e) {
|
|
|
12126
12122
|
), s(void 0), a(!1));
|
|
12127
12123
|
}), () => {
|
|
12128
12124
|
d.abort();
|
|
12129
|
-
}
|
|
12125
|
+
};
|
|
12130
12126
|
}, [n, i]), n ? { resolved: r, isLoading: o } : { resolved: t, isLoading: !1 };
|
|
12131
12127
|
}
|
|
12132
12128
|
function YI(t) {
|
|
@@ -42666,7 +42662,8 @@ function Wx({
|
|
|
42666
42662
|
isLoading: a
|
|
42667
42663
|
}) {
|
|
42668
42664
|
const l = t, { resolved: c, isLoading: d } = Ey(
|
|
42669
|
-
l.asyncDefaultValues ?? l.defaultValues
|
|
42665
|
+
l.asyncDefaultValues ?? l.defaultValuesFn ?? l.defaultValues,
|
|
42666
|
+
l.defaultValuesParamsSchema
|
|
42670
42667
|
), f = se(
|
|
42671
42668
|
(u) => l.onSubmit({ data: u }),
|
|
42672
42669
|
[l]
|
|
@@ -42707,7 +42704,8 @@ function qx({
|
|
|
42707
42704
|
isLoading: a
|
|
42708
42705
|
}) {
|
|
42709
42706
|
const l = t, { resolved: c, isLoading: d } = Ey(
|
|
42710
|
-
l.asyncDefaultValues ?? l.defaultValues
|
|
42707
|
+
l.asyncDefaultValues ?? l.defaultValuesFn ?? l.defaultValues,
|
|
42708
|
+
l.defaultValuesParamsSchema
|
|
42711
42709
|
), f = X(
|
|
42712
42710
|
c ? { ...c } : {}
|
|
42713
42711
|
), u = se(
|