@factorialco/f0-react 4.52.0 → 4.54.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.
@@ -1,4 +1,4 @@
1
- import { m as zt, n as _e } from "./F0CanvasPanel-DkQ4xhBx.js";
1
+ import { c as zt, g as _e } from "./_commonjsHelpers-ByX85dGu.js";
2
2
  import { c as Rt } from "./_commonjs-dynamic-modules-BpilXLfW.js";
3
3
  var jt = { exports: {} };
4
4
  var Yt;
@@ -11401,11 +11401,9 @@ declare namespace Calendar {
11401
11401
 
11402
11402
  declare module "@tiptap/core" {
11403
11403
  interface Commands<ReturnType> {
11404
- enhanceHighlight: {
11405
- setEnhanceHighlight: (from: number, to: number, options?: {
11406
- placeholder?: string;
11407
- }) => ReturnType;
11408
- clearEnhanceHighlight: () => ReturnType;
11404
+ aiBlock: {
11405
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
11406
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
11409
11407
  };
11410
11408
  }
11411
11409
  }
@@ -11413,8 +11411,11 @@ declare module "@tiptap/core" {
11413
11411
 
11414
11412
  declare module "@tiptap/core" {
11415
11413
  interface Commands<ReturnType> {
11416
- moodTracker: {
11417
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
11414
+ enhanceHighlight: {
11415
+ setEnhanceHighlight: (from: number, to: number, options?: {
11416
+ placeholder?: string;
11417
+ }) => ReturnType;
11418
+ clearEnhanceHighlight: () => ReturnType;
11418
11419
  };
11419
11420
  }
11420
11421
  }
@@ -11422,9 +11423,8 @@ declare module "@tiptap/core" {
11422
11423
 
11423
11424
  declare module "@tiptap/core" {
11424
11425
  interface Commands<ReturnType> {
11425
- aiBlock: {
11426
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
11427
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
11426
+ moodTracker: {
11427
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
11428
11428
  };
11429
11429
  }
11430
11430
  }
@@ -1,9 +1,9 @@
1
- import { B as Sl, E as kl, G as Tl, H as Rl, J as Vo, K as Tn, L as ln, M as El, q as S, N as ue, O as zt, u as pe, Q as Ll, R as zl, U as Al, V as Fl, W as Pl, X as Qe, Y as Ml, Z as so, _ as Hn, $ as mn, a0 as Ve, a1 as Ol, a2 as Dl, a3 as ve, a4 as Bl, a5 as _l, a6 as Ie, a7 as ea, a8 as Hl, a9 as $l, o as Me, aa as er, S as ie, ab as Vt, ac as Wl, ad as jl, ae as Vl, af as Ul, ag as Gl, ah as ct, ai as ta, aj as na, ak as At, al as $n, am as Kl, e as ra, an as Wt, ao as oa, ap as tr, w as tt, v as We, aq as Wn, ar as ia, as as ql, at as aa, au as Ue, x as Je, av as Yl, aw as Xl, ax as Ql, ay as Jl, az as Zl, aA as Et, aB as nr, aC as ec, aD as tc, aE as nc, aF as rc, aG as rr, aH as sa, j as la, aI as oc, aJ as ic, k as jn, aK as ac, aL as ca, aM as sc, aN as lc, aO as cc, aP as dc, aQ as uc, aR as da, aS as ua, aT as fa, aU as Br, aV as ha, aW as _r, aX as ma, aY as fc, aZ as hc, a_ as mc, a$ as pa, b0 as pc, b1 as nt, b2 as Zt, b3 as Hr, b4 as ga, b5 as gc, b6 as or, b7 as bc, b8 as vc, b9 as xc, ba as Jt, bb as yc, bc as wc, bd as dn, be as Uo, bf as $r, bg as Nc, bh as Cc, b as ba, bi as Ic, a as Sc, bj as ir, bk as kc, g as Tc, F as Rc, bl as Ec, bm as va, bn as Lc, s as lo, bo as zc, bp as co, bq as en, br as Ac, bs as Fc, bt as Pc, bu as Mc, bv as xa, bw as Oc, bx as Dc, by as Bc, bz as Wr, bA as _c, bB as Hc, bC as $c, bD as uo, bE as Wc, bF as jc, bG as Vc, bH as Uc, bI as Gc, bJ as Kc, bK as qc, bL as ya, bM as wa, bN as Na, bO as Yc, bP as Xc, bQ as Qc, bR as Jc, bS as Zc, bT as Ca, bU as ed, bV as td, bW as Ia, bX as fo, bY as nd, bZ as rd, b_ as od, r as id, b$ as ad, c0 as Sa, c1 as sd, c2 as ld, c3 as ka, c4 as Ta, c5 as Ra, l as Vn, c6 as cd, c7 as Go, c8 as Ea, c9 as dd, ca as ud, cb as fd, cc as jr, cd as Vr, ce as hd, cf as md, cg as pd, ch as gd, ci as bd, cj as vd, ck as xd, cl as St, cm as ho, cn as mo, co as po, cp as La, cq as go, cr as za, cs as Aa, ct as yd, cu as wd, cv as Nd, cw as Cd, cx as Id, cy as Sd, cz as kd, cA as Ko, cB as Td, cC as Rd, cD as qo, cE as Ed, cF as Ld, cG as zd, cH as Ad, cI as Fa, cJ as Fd, cK as Pd } from "./F0CanvasPanel-DkQ4xhBx.js";
2
- import { cU as S0, cT as k0, d4 as T0, cQ as R0, cR as E0, cL as L0, cM as z0, cM as A0, cN as F0, d7 as P0, cS as M0, d0 as O0, d1 as D0, d5 as B0, cO as _0, cW as H0, cV as $0, T as W0, h as j0, d2 as V0, d8 as U0, d3 as G0, d6 as K0, c$ as q0, cY as Y0, c_ as X0, cX as Q0, cP as J0, cZ as Z0 } from "./F0CanvasPanel-DkQ4xhBx.js";
1
+ import { y as Sl, B as kl, z as Tl, A as Rl, E as Vo, G as Tn, H as ln, J as El, n as S, K as ue, L as zt, u as pe, M as Ll, N as zl, O as Al, R as Fl, Q as Pl, U as Qe, V as Ml, W as so, X as Hn, Y as mn, Z as Ve, _ as Ol, $ as Dl, a0 as ve, a1 as Bl, a2 as _l, a3 as Ie, a4 as ea, a5 as Hl, a6 as $l, m as Me, a7 as er, S as ie, a8 as Vt, a9 as Wl, aa as jl, ab as Vl, ac as Ul, ad as Gl, ae as ct, af as ta, ag as na, ah as At, ai as $n, aj as Kl, e as ra, ak as Wt, al as oa, am as tr, w as tt, s as We, an as Wn, ao as ia, ap as ql, aq as aa, ar as Ue, t as Je, as as Yl, at as Xl, au as Ql, av as Jl, aw as Zl, ax as Et, ay as nr, az as ec, aA as tc, aB as nc, aC as rc, aD as rr, aE as sa, j as la, aF as oc, aG as ic, k as jn, aH as ac, aI as ca, aJ as sc, aK as lc, aL as cc, aM as dc, aN as uc, aO as da, aP as ua, aQ as fa, aR as Br, aS as ha, aT as _r, aU as ma, aV as fc, aW as hc, aX as mc, aY as pa, aZ as pc, a_ as nt, a$ as Zt, b0 as Hr, b1 as ga, b2 as gc, b3 as or, b4 as bc, b5 as vc, b6 as xc, b7 as Jt, b8 as yc, b9 as wc, ba as dn, bb as Uo, bc as $r, bd as Nc, be as Cc, b as ba, bf as Ic, a as Sc, bg as ir, bh as kc, g as Tc, F as Rc, bi as Ec, bj as va, bk as Lc, q as lo, bl as zc, bm as co, bn as en, bo as Ac, bp as Fc, bq as Pc, br as Mc, bs as xa, bt as Oc, bu as Dc, bv as Bc, bw as Wr, bx as _c, by as Hc, bz as $c, bA as uo, bB as Wc, bC as jc, bD as Vc, bE as Uc, bF as Gc, bG as Kc, bH as qc, bI as ya, bJ as wa, bK as Na, bL as Yc, bM as Xc, bN as Qc, bO as Jc, bP as Zc, bQ as Ca, bR as ed, bS as td, bT as Ia, bU as fo, bV as nd, bW as rd, bX as od, o as id, bY as ad, bZ as Sa, b_ as sd, b$ as ld, c0 as ka, c1 as Ta, c2 as Ra, l as Vn, c3 as cd, c4 as Go, c5 as Ea, c6 as dd, c7 as ud, c8 as fd, c9 as jr, ca as Vr, cb as hd, cc as md, cd as pd, ce as gd, cf as bd, cg as vd, ch as xd, ci as St, cj as ho, ck as mo, cl as po, cm as La, cn as go, co as za, cp as Aa, cq as yd, cr as wd, cs as Nd, ct as Cd, cu as Id, cv as Sd, cw as kd, cx as Ko, cy as Td, cz as Rd, cA as qo, cB as Ed, cC as Ld, cD as zd, cE as Ad, cF as Fa, cG as Fd, cH as Pd } from "./F0CanvasPanel-DvAledR4.js";
2
+ import { cR as S0, cQ as k0, d1 as T0, cN as R0, cO as E0, cI as L0, cJ as z0, cJ as A0, cK as F0, d4 as P0, cP as M0, cZ as O0, c_ as D0, d2 as B0, cL as _0, cT as H0, cS as $0, T as W0, h as j0, c$ as V0, d5 as U0, d0 as G0, d3 as K0, cY as q0, cV as Y0, cX as X0, cU as Q0, cM as J0, cW as Z0 } from "./F0CanvasPanel-DvAledR4.js";
3
3
  import { jsx as n, jsxs as m, Fragment as De } from "react/jsx-runtime";
4
4
  import Q, { forwardRef as Ae, useRef as _, useTransition as Md, useState as $, useLayoutEffect as ar, useId as Ur, useContext as Nt, createContext as st, useEffect as te, useCallback as K, useMemo as he, Fragment as Rt, isValidElement as Od, cloneElement as Pa, Suspense as bo, lazy as tn, createElement as Mn, memo as Ma, Children as Oa } from "react";
5
- import { C as Dd, P as Bd, a as Nn, M as _d, p as Hd, b as $d, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-C4zDor6d.js";
6
- import { a3 as tx, a4 as nx, t as rx, v as ox, r as ix, J as ax, w as sx, E as lx, ae as cx, I as dx, s as ux, a1 as fx, ag as hx, af as mx, U as px, aj as gx, F as bx, _ as vx, X as xx, N as yx, al as wx, Q as Nx, $ as Cx, a0 as Ix, x as Sx, ah as kx, ai as Tx, T as Rx, a2 as Ex, ab as Lx, ad as zx, y as Ax, D as Fx, G as Px, Y as Mx, ak as Ox, Z as Dx, W as Bx, am as _x, z as Hx, H as $x, o as Wx, q as jx, a7 as Vx, a8 as Ux, a5 as Gx, ac as Kx, K as qx, a9 as Yx, a6 as Xx, aa as Qx } from "./index-C4zDor6d.js";
5
+ import { C as Dd, P as Bd, a as Nn, M as _d, p as Hd, b as $d, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-BgFg3D88.js";
6
+ import { a3 as tx, a4 as nx, t as rx, v as ox, r as ix, J as ax, w as sx, E as lx, ae as cx, I as dx, s as ux, a1 as fx, ag as hx, af as mx, U as px, aj as gx, F as bx, _ as vx, X as xx, N as yx, al as wx, Q as Nx, $ as Cx, a0 as Ix, x as Sx, ah as kx, ai as Tx, T as Rx, a2 as Ex, ab as Lx, ad as zx, y as Ax, D as Fx, G as Px, Y as Mx, ak as Ox, Z as Dx, W as Bx, am as _x, z as Hx, H as $x, o as Wx, q as jx, a7 as Vx, a8 as Ux, a5 as Gx, ac as Kx, K as qx, a9 as Yx, a6 as Xx, aa as Qx } from "./index-BgFg3D88.js";
7
7
  import ru from "react-dom";
8
8
  const ou = Sl("Search", [
9
9
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -8412,7 +8412,7 @@ const $h = {
8412
8412
  ] })
8413
8413
  ] }) });
8414
8414
  }, Jh = tn(
8415
- () => import("./index-Ck1QOo1R.js").then((e) => e.i).then((e) => ({
8415
+ () => import("./index-DYLglfsp.js").then((e) => e.i).then((e) => ({
8416
8416
  default: e.F0PdfViewer
8417
8417
  }))
8418
8418
  ), Zh = () => {
@@ -12628,7 +12628,7 @@ const Wp = (e) => {
12628
12628
  }
12629
12629
  )
12630
12630
  ] });
12631
- }, Jp = tn(() => import("./ChatPdfThumbnail-Inmuy7U7.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-ZpA0oGfg.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Fr = 288, ng = 160, rg = (e) => {
12631
+ }, Jp = tn(() => import("./ChatPdfThumbnail-e_xAa5BG.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Fr = 288, ng = 160, rg = (e) => {
12632
12632
  const [t, r] = $(!1);
12633
12633
  return te(() => {
12634
12634
  const o = e.current;
@@ -12755,7 +12755,7 @@ const Wp = (e) => {
12755
12755
  ]
12756
12756
  }
12757
12757
  );
12758
- }, ig = tn(() => import("./LocationMap-BiiecVq_.js")), ag = 200, sg = ({ latitude: e, longitude: t }) => `https://www.google.com/maps?q=${e},${t}`, lg = ({
12758
+ }, ig = tn(() => import("./LocationMap-BeSyUnec.js")), ag = 200, sg = ({ latitude: e, longitude: t }) => `https://www.google.com/maps?q=${e},${t}`, lg = ({
12759
12759
  location: e,
12760
12760
  cornerClass: t = "rounded-xl"
12761
12761
  }) => {
package/dist/f0.d.ts CHANGED
@@ -18443,11 +18443,9 @@ declare namespace Calendar {
18443
18443
 
18444
18444
  declare module "@tiptap/core" {
18445
18445
  interface Commands<ReturnType> {
18446
- enhanceHighlight: {
18447
- setEnhanceHighlight: (from: number, to: number, options?: {
18448
- placeholder?: string;
18449
- }) => ReturnType;
18450
- clearEnhanceHighlight: () => ReturnType;
18446
+ aiBlock: {
18447
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
18448
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
18451
18449
  };
18452
18450
  }
18453
18451
  }
@@ -18455,8 +18453,11 @@ declare module "@tiptap/core" {
18455
18453
 
18456
18454
  declare module "@tiptap/core" {
18457
18455
  interface Commands<ReturnType> {
18458
- moodTracker: {
18459
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
18456
+ enhanceHighlight: {
18457
+ setEnhanceHighlight: (from: number, to: number, options?: {
18458
+ placeholder?: string;
18459
+ }) => ReturnType;
18460
+ clearEnhanceHighlight: () => ReturnType;
18460
18461
  };
18461
18462
  }
18462
18463
  }
@@ -18464,9 +18465,8 @@ declare module "@tiptap/core" {
18464
18465
 
18465
18466
  declare module "@tiptap/core" {
18466
18467
  interface Commands<ReturnType> {
18467
- aiBlock: {
18468
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
18469
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
18468
+ moodTracker: {
18469
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
18470
18470
  };
18471
18471
  }
18472
18472
  }