@factorialco/f0-react 1.362.3 → 1.363.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/{DataCollectionStorageProvider-buKfoPNx.js → DataCollectionStorageProvider-Hpk54uGn.js} +334 -328
- package/dist/ai.d.ts +11 -11
- package/dist/experimental.d.ts +11 -11
- package/dist/experimental.js +7 -9
- package/dist/f0.d.ts +11 -11
- package/dist/f0.js +2 -2
- package/dist/i18n-provider-defaults.d.ts +11 -11
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -1157,16 +1157,11 @@ 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
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1162
|
+
aiBlock: {
|
|
1163
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
1164
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
1170
1165
|
};
|
|
1171
1166
|
}
|
|
1172
1167
|
}
|
|
@@ -1174,9 +1169,9 @@ declare module "@tiptap/core" {
|
|
|
1174
1169
|
|
|
1175
1170
|
declare module "@tiptap/core" {
|
|
1176
1171
|
interface Commands<ReturnType> {
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1172
|
+
enhanceHighlight: {
|
|
1173
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
1174
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
1180
1175
|
};
|
|
1181
1176
|
}
|
|
1182
1177
|
}
|
|
@@ -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/experimental.d.ts
CHANGED
|
@@ -6627,16 +6627,11 @@ declare module "gridstack" {
|
|
|
6627
6627
|
}
|
|
6628
6628
|
|
|
6629
6629
|
|
|
6630
|
-
declare namespace Calendar {
|
|
6631
|
-
var displayName: string;
|
|
6632
|
-
}
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
6630
|
declare module "@tiptap/core" {
|
|
6636
6631
|
interface Commands<ReturnType> {
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6632
|
+
aiBlock: {
|
|
6633
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
6634
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
6640
6635
|
};
|
|
6641
6636
|
}
|
|
6642
6637
|
}
|
|
@@ -6644,9 +6639,9 @@ declare module "@tiptap/core" {
|
|
|
6644
6639
|
|
|
6645
6640
|
declare module "@tiptap/core" {
|
|
6646
6641
|
interface Commands<ReturnType> {
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6642
|
+
enhanceHighlight: {
|
|
6643
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
6644
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
6650
6645
|
};
|
|
6651
6646
|
}
|
|
6652
6647
|
}
|
|
@@ -6668,3 +6663,8 @@ declare module "@tiptap/core" {
|
|
|
6668
6663
|
};
|
|
6669
6664
|
}
|
|
6670
6665
|
}
|
|
6666
|
+
|
|
6667
|
+
|
|
6668
|
+
declare namespace Calendar {
|
|
6669
|
+
var displayName: string;
|
|
6670
|
+
}
|
package/dist/experimental.js
CHANGED
|
@@ -3,8 +3,8 @@ import { eH as RL, eG as FL, eF as ML, eM as PL, eN as zL, eJ as $L, eI as jL, e
|
|
|
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, 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-
|
|
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-Hpk54uGn.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-Hpk54uGn.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(() => {
|
|
@@ -11467,12 +11467,6 @@ const yN = oe("Reactions", xN), zc = (t) => {
|
|
|
11467
11467
|
stopPropagation: !0,
|
|
11468
11468
|
href: "#",
|
|
11469
11469
|
children: n.title
|
|
11470
|
-
}), l("span", {
|
|
11471
|
-
className: "hidden text-f1-foreground-secondary md:inline",
|
|
11472
|
-
children: "·"
|
|
11473
|
-
}), l("span", {
|
|
11474
|
-
className: "text-f1-foreground-secondary",
|
|
11475
|
-
children: x
|
|
11476
11470
|
})]
|
|
11477
11471
|
}), g("div", {
|
|
11478
11472
|
className: "flex flex-row gap-2",
|
|
@@ -11485,7 +11479,8 @@ const yN = oe("Reactions", xN), zc = (t) => {
|
|
|
11485
11479
|
variant: "outline",
|
|
11486
11480
|
size: "md",
|
|
11487
11481
|
onClick: S.onClick,
|
|
11488
|
-
label: S.label
|
|
11482
|
+
label: S.label,
|
|
11483
|
+
title: S.label
|
|
11489
11484
|
}, S.label)), p?.length && l(Me, {
|
|
11490
11485
|
items: p,
|
|
11491
11486
|
icon: Ni,
|
|
@@ -11503,6 +11498,9 @@ const yN = oe("Reactions", xN), zc = (t) => {
|
|
|
11503
11498
|
})
|
|
11504
11499
|
})]
|
|
11505
11500
|
})]
|
|
11501
|
+
}), l("span", {
|
|
11502
|
+
className: "-mt-3 text-sm text-f1-foreground-secondary",
|
|
11503
|
+
children: x
|
|
11506
11504
|
}), g("div", {
|
|
11507
11505
|
className: "flex flex-col gap-1 text-f1-foreground",
|
|
11508
11506
|
children: [l("p", {
|
package/dist/f0.d.ts
CHANGED
|
@@ -7737,16 +7737,11 @@ declare module "gridstack" {
|
|
|
7737
7737
|
}
|
|
7738
7738
|
|
|
7739
7739
|
|
|
7740
|
-
declare namespace Calendar {
|
|
7741
|
-
var displayName: string;
|
|
7742
|
-
}
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
7740
|
declare module "@tiptap/core" {
|
|
7746
7741
|
interface Commands<ReturnType> {
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7742
|
+
aiBlock: {
|
|
7743
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
7744
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
7750
7745
|
};
|
|
7751
7746
|
}
|
|
7752
7747
|
}
|
|
@@ -7754,9 +7749,9 @@ declare module "@tiptap/core" {
|
|
|
7754
7749
|
|
|
7755
7750
|
declare module "@tiptap/core" {
|
|
7756
7751
|
interface Commands<ReturnType> {
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7752
|
+
enhanceHighlight: {
|
|
7753
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
7754
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
7760
7755
|
};
|
|
7761
7756
|
}
|
|
7762
7757
|
}
|
|
@@ -7778,3 +7773,8 @@ declare module "@tiptap/core" {
|
|
|
7778
7773
|
};
|
|
7779
7774
|
}
|
|
7780
7775
|
}
|
|
7776
|
+
|
|
7777
|
+
|
|
7778
|
+
declare namespace Calendar {
|
|
7779
|
+
var displayName: string;
|
|
7780
|
+
}
|
package/dist/f0.js
CHANGED
|
@@ -3,8 +3,8 @@ import { A as Fm, bo as Hm, B as jm, C as $m, E as Wm, bD as Gm, h as Vm, F as Z
|
|
|
3
3
|
import { jsx as f, jsxs as M, Fragment as cn } from "react/jsx-runtime";
|
|
4
4
|
import V, { forwardRef as Ee, useRef as F, useImperativeHandle as Po, Children as Sn, createContext as Xe, useContext as Fe, useState as Z, useMemo as B, useEffect as j, useCallback as J, useLayoutEffect as yr, createElement as oi, isValidElement as ds, Fragment as Bo, memo as Fo, useReducer as Ho, cloneElement as jo, PureComponent as $o } from "react";
|
|
5
5
|
import { createPortal as us, unstable_batchedUpdates as bn } from "react-dom";
|
|
6
|
-
import { L as hs, C as Wo, i as fs, D as Go, S as li, a as Vo, f as or, b as Vt, c as Zo, A as Uo, d as xn, e as ms, E as qo, g as Cn, h as Yo, j as Ko, k as Xo, l as St, m as ps, u as Jo, G as Qo, n as el, o as ci, p as tl, q as gs, r as nl, B as vs, X as ys, Y as br, s as rl, t as bs, v as il, w as sl, x as al, y as ol, z as ll, F as cl, H as dl, I as ul, J as di, K as hl, M as Ut, N as lr, O as fl, P as ml, Q as pl, R as gl, T as vl, U as yl, V as bl, W as xl, Z as wl, _ as _l, $ as Cl, a0 as ui, a1 as El, a2 as kl, a3 as xs, a4 as Sl, a5 as Dl, a6 as Rl, a7 as Lr, a8 as hi, a9 as Nl, aa as Tl, ab as Ol, ac as Al, ad as Ml, ae as Il, af as zl, ag as Ll, ah as Pl, ai as ws, aj as Bl, ak as Fl, al as _s, am as fi, an as Cs, ao as Hl, ap as jl, aq as $l, ar as Wl } from "./DataCollectionStorageProvider-
|
|
7
|
-
import { aJ as Qp, as as eg, at as tg, aw as ng, aA as rg, aB as ig, aC as sg, aE as ag, aF as og, aG as lg, aH as cg, az as dg, aD as ug, au as hg, av as fg, aI as mg, ax as pg, ay as gg, aK as vg, aL as yg, aM as bg, aN as xg } from "./DataCollectionStorageProvider-
|
|
6
|
+
import { L as hs, C as Wo, i as fs, D as Go, S as li, a as Vo, f as or, b as Vt, c as Zo, A as Uo, d as xn, e as ms, E as qo, g as Cn, h as Yo, j as Ko, k as Xo, l as St, m as ps, u as Jo, G as Qo, n as el, o as ci, p as tl, q as gs, r as nl, B as vs, X as ys, Y as br, s as rl, t as bs, v as il, w as sl, x as al, y as ol, z as ll, F as cl, H as dl, I as ul, J as di, K as hl, M as Ut, N as lr, O as fl, P as ml, Q as pl, R as gl, T as vl, U as yl, V as bl, W as xl, Z as wl, _ as _l, $ as Cl, a0 as ui, a1 as El, a2 as kl, a3 as xs, a4 as Sl, a5 as Dl, a6 as Rl, a7 as Lr, a8 as hi, a9 as Nl, aa as Tl, ab as Ol, ac as Al, ad as Ml, ae as Il, af as zl, ag as Ll, ah as Pl, ai as ws, aj as Bl, ak as Fl, al as _s, am as fi, an as Cs, ao as Hl, ap as jl, aq as $l, ar as Wl } from "./DataCollectionStorageProvider-Hpk54uGn.js";
|
|
7
|
+
import { aJ as Qp, as as eg, at as tg, aw as ng, aA as rg, aB as ig, aC as sg, aE as ag, aF as og, aG as lg, aH as cg, az as dg, aD as ug, au as hg, av as fg, aI as mg, ax as pg, ay as gg, aK as vg, aL as yg, aM as bg, aN as xg } from "./DataCollectionStorageProvider-Hpk54uGn.js";
|
|
8
8
|
import { A as _g, F as Cg, c as Eg, b as kg, a as Sg, o as Dg, u as Rg } from "./F0HILActionConfirmation-BgQuxt3l.js";
|
|
9
9
|
import { defaultTranslations as Tg } from "./i18n-provider-defaults.js";
|
|
10
10
|
import './f0.css';const Gl = {
|
|
@@ -611,16 +611,11 @@ declare module "gridstack" {
|
|
|
611
611
|
}
|
|
612
612
|
|
|
613
613
|
|
|
614
|
-
declare namespace Calendar {
|
|
615
|
-
var displayName: string;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
|
|
619
614
|
declare module "@tiptap/core" {
|
|
620
615
|
interface Commands<ReturnType> {
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
616
|
+
aiBlock: {
|
|
617
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
618
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
624
619
|
};
|
|
625
620
|
}
|
|
626
621
|
}
|
|
@@ -628,9 +623,9 @@ declare module "@tiptap/core" {
|
|
|
628
623
|
|
|
629
624
|
declare module "@tiptap/core" {
|
|
630
625
|
interface Commands<ReturnType> {
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
626
|
+
enhanceHighlight: {
|
|
627
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
628
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
634
629
|
};
|
|
635
630
|
}
|
|
636
631
|
}
|
|
@@ -652,3 +647,8 @@ declare module "@tiptap/core" {
|
|
|
652
647
|
};
|
|
653
648
|
}
|
|
654
649
|
}
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
declare namespace Calendar {
|
|
653
|
+
var displayName: string;
|
|
654
|
+
}
|