@factorialco/f0-react 4.61.0 → 4.61.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.
@@ -11543,11 +11543,9 @@ declare namespace Calendar {
11543
11543
 
11544
11544
  declare module "@tiptap/core" {
11545
11545
  interface Commands<ReturnType> {
11546
- enhanceHighlight: {
11547
- setEnhanceHighlight: (from: number, to: number, options?: {
11548
- placeholder?: string;
11549
- }) => ReturnType;
11550
- clearEnhanceHighlight: () => ReturnType;
11546
+ aiBlock: {
11547
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
11548
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
11551
11549
  };
11552
11550
  }
11553
11551
  }
@@ -11555,9 +11553,8 @@ declare module "@tiptap/core" {
11555
11553
 
11556
11554
  declare module "@tiptap/core" {
11557
11555
  interface Commands<ReturnType> {
11558
- aiBlock: {
11559
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
11560
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
11556
+ moodTracker: {
11557
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
11561
11558
  };
11562
11559
  }
11563
11560
  }
@@ -11565,8 +11562,11 @@ declare module "@tiptap/core" {
11565
11562
 
11566
11563
  declare module "@tiptap/core" {
11567
11564
  interface Commands<ReturnType> {
11568
- moodTracker: {
11569
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
11565
+ enhanceHighlight: {
11566
+ setEnhanceHighlight: (from: number, to: number, options?: {
11567
+ placeholder?: string;
11568
+ }) => ReturnType;
11569
+ clearEnhanceHighlight: () => ReturnType;
11570
11570
  };
11571
11571
  }
11572
11572
  }
@@ -3,8 +3,8 @@ import { cL as R0, cK as E0, cX as L0, cH as z0, cI as A0, cB as F0, cC as P0, c
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 zd, 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 Ad, cloneElement as Pa, Suspense as bo, lazy as tn, createElement as Mn, memo as Ma, Children as Oa } from "react";
5
5
  import { d as S, T as Fd, a as Pd, b as Md, f as Je, c as Od } from "./tooltip-BH6Se8A4.js";
6
- 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-oBF86Fzo.js";
7
- import { a3 as ix, a4 as ax, t as sx, v as lx, r as cx, J as dx, w as ux, E as fx, ae as hx, I as mx, s as px, a1 as gx, ag as bx, af as vx, U as xx, aj as yx, F as wx, _ as Nx, X as Cx, N as Ix, al as Sx, Q as kx, $ as Tx, a0 as Rx, x as Ex, ah as Lx, ai as zx, T as Ax, a2 as Fx, ab as Px, ad as Mx, y as Ox, D as Dx, G as Bx, Y as _x, ak as Hx, Z as $x, W as Wx, am as jx, z as Vx, H as Ux, o as Gx, q as Kx, a7 as qx, a8 as Yx, a5 as Xx, ac as Qx, K as Jx, a9 as Zx, a6 as e1, aa as t1 } from "./index-oBF86Fzo.js";
6
+ 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-4f0dxc1K.js";
7
+ import { a3 as ix, a4 as ax, t as sx, v as lx, r as cx, J as dx, w as ux, E as fx, ae as hx, I as mx, s as px, a1 as gx, ag as bx, af as vx, U as xx, aj as yx, F as wx, _ as Nx, X as Cx, N as Ix, al as Sx, Q as kx, $ as Tx, a0 as Rx, x as Ex, ah as Lx, ai as zx, T as Ax, a2 as Fx, ab as Px, ad as Mx, y as Ox, D as Dx, G as Bx, Y as _x, ak as Hx, Z as $x, W as Wx, am as jx, z as Vx, H as Ux, o as Gx, q as Kx, a7 as qx, a8 as Yx, a5 as Xx, ac as Qx, K as Jx, a9 as Zx, a6 as e1, aa as t1 } from "./index-4f0dxc1K.js";
8
8
  import ru from "react-dom";
9
9
  const ou = Sl("Search", [
10
10
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -8425,7 +8425,7 @@ const $h = {
8425
8425
  ] })
8426
8426
  ] }) });
8427
8427
  }, Jh = tn(
8428
- () => import("./index-BfXb0pT1.js").then((e) => e.i).then((e) => ({
8428
+ () => import("./index-BN83B1xz.js").then((e) => e.i).then((e) => ({
8429
8429
  default: e.F0PdfViewer
8430
8430
  }))
8431
8431
  ), Zh = () => {
@@ -12641,7 +12641,7 @@ const Wp = (e) => {
12641
12641
  }
12642
12642
  )
12643
12643
  ] });
12644
- }, Jp = tn(() => import("./ChatPdfThumbnail-DduRbhCq.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) => {
12644
+ }, Jp = tn(() => import("./ChatPdfThumbnail-BvqoVZ2X.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) => {
12645
12645
  const [t, r] = $(!1);
12646
12646
  return te(() => {
12647
12647
  const o = e.current;
package/dist/f0.d.ts CHANGED
@@ -18738,11 +18738,9 @@ declare namespace Calendar {
18738
18738
 
18739
18739
  declare module "@tiptap/core" {
18740
18740
  interface Commands<ReturnType> {
18741
- enhanceHighlight: {
18742
- setEnhanceHighlight: (from: number, to: number, options?: {
18743
- placeholder?: string;
18744
- }) => ReturnType;
18745
- clearEnhanceHighlight: () => ReturnType;
18741
+ aiBlock: {
18742
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
18743
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
18746
18744
  };
18747
18745
  }
18748
18746
  }
@@ -18750,9 +18748,8 @@ declare module "@tiptap/core" {
18750
18748
 
18751
18749
  declare module "@tiptap/core" {
18752
18750
  interface Commands<ReturnType> {
18753
- aiBlock: {
18754
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
18755
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
18751
+ moodTracker: {
18752
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
18756
18753
  };
18757
18754
  }
18758
18755
  }
@@ -18760,8 +18757,11 @@ declare module "@tiptap/core" {
18760
18757
 
18761
18758
  declare module "@tiptap/core" {
18762
18759
  interface Commands<ReturnType> {
18763
- moodTracker: {
18764
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
18760
+ enhanceHighlight: {
18761
+ setEnhanceHighlight: (from: number, to: number, options?: {
18762
+ placeholder?: string;
18763
+ }) => ReturnType;
18764
+ clearEnhanceHighlight: () => ReturnType;
18765
18765
  };
18766
18766
  }
18767
18767
  }
package/dist/f0.js CHANGED
@@ -7,10 +7,10 @@ import { D as TF, E as DF, G as AF, H as MF, I as rI, J as LF, K as EF, L as NF,
7
7
  import { A as Eve, C as Nve, t as Ive, s as kve, v as Pve, y as Rve, l as Ove, i as Bve, q as zve, z as Vve, B as Fve, p as Gve, r as Hve, j as Wve, e as Uve, g as $ve, k as Yve, T as Xve, w as qve, h as Zve, a as jve, n as Kve, m as Qve, o as Jve, b as epe, f as tpe, x as rpe, c as npe, d as ipe, u as ape } from "./F0AiProcessingOverlay-DWjggPHl.js";
8
8
  import { d as ee, u as ap, g as zF, h as nl, P as pf, i as Zl, j as VF, f as bi } from "./tooltip-BH6Se8A4.js";
9
9
  import { createPortal as op } from "react-dom";
10
- import { C as FF, an as GF, ao as HF, ap as WF, aq as Uw, ar as UF, as as $F, at as YF, au as XF, av as qF, aw as ZF, ax as jF, i as KF, F as aI, ay as QF, az as JF, aA as eG, aB as tG, aC as rG, aD as oI, aE as nG, aF as sp, aG as Ya, aH as iG, aI as U_, aJ as $_, I as aG, aK as oG, aL as ws, aM as sI, aN as sG, aO as lG, aP as uG, aQ as cG, aR as fG, aS as dG, _ as hG, ae as vG, aT as pG, U as gG, aU as mG, aV as yG, c as lp, R as Y_, u as X_, Y as lI, O as q_, aW as uI, aX as $w, aY as Z_, r as bG, e as cI, a2 as fI, aZ as _G, a_ as xG, a$ as wG, b0 as SG, M as CG } from "./index-oBF86Fzo.js";
11
- import { t as spe, v as lpe, J as upe, w as cpe, E as fpe, bm as dpe, bl as hpe, bf as vpe, b2 as ppe, b1 as gpe, b3 as mpe, b4 as ype, b6 as bpe, b7 as _pe, ag as xpe, af as wpe, aj as Spe, X as Cpe, N as Tpe, al as Dpe, Q as Ape, x as Mpe, bn as Lpe, ah as Epe, ai as Npe, T as Ipe, y as kpe, P as Ppe, D as Rpe, G as Ope, ak as Bpe, W as zpe, am as Vpe, z as Fpe, H as Gpe, bp as Hpe, o as Wpe, q as Upe, be as $pe, bj as Ype, bj as Xpe, bk as qpe, ba as Zpe, b9 as jpe, bo as Kpe, ac as Qpe, bc as Jpe, bd as ege, K as tge, bq as rge, br as nge, f as ige, bg as age, bh as oge, bi as sge, b5 as lge, bb as uge, g as cge, j as fge, b8 as dge, bs as hge } from "./index-oBF86Fzo.js";
12
- import { F as pge, p as gge } from "./index-BfXb0pT1.js";
13
- import { c as yge } from "./pdfWorker-BRFX1gbJ.js";
10
+ import { C as FF, an as GF, ao as HF, ap as WF, aq as Uw, ar as UF, as as $F, at as YF, au as XF, av as qF, aw as ZF, ax as jF, i as KF, F as aI, ay as QF, az as JF, aA as eG, aB as tG, aC as rG, aD as oI, aE as nG, aF as sp, aG as Ya, aH as iG, aI as U_, aJ as $_, I as aG, aK as oG, aL as ws, aM as sI, aN as sG, aO as lG, aP as uG, aQ as cG, aR as fG, aS as dG, _ as hG, ae as vG, aT as pG, U as gG, aU as mG, aV as yG, c as lp, R as Y_, u as X_, Y as lI, O as q_, aW as uI, aX as $w, aY as Z_, r as bG, e as cI, a2 as fI, aZ as _G, a_ as xG, a$ as wG, b0 as SG, M as CG } from "./index-4f0dxc1K.js";
11
+ import { t as spe, v as lpe, J as upe, w as cpe, E as fpe, bm as dpe, bl as hpe, bf as vpe, b2 as ppe, b1 as gpe, b3 as mpe, b4 as ype, b6 as bpe, b7 as _pe, ag as xpe, af as wpe, aj as Spe, X as Cpe, N as Tpe, al as Dpe, Q as Ape, x as Mpe, bn as Lpe, ah as Epe, ai as Npe, T as Ipe, y as kpe, P as Ppe, D as Rpe, G as Ope, ak as Bpe, W as zpe, am as Vpe, z as Fpe, H as Gpe, bp as Hpe, o as Wpe, q as Upe, be as $pe, bj as Ype, bj as Xpe, bk as qpe, ba as Zpe, b9 as jpe, bo as Kpe, ac as Qpe, bc as Jpe, bd as ege, K as tge, bq as rge, br as nge, f as ige, bg as age, bh as oge, bi as sge, b5 as lge, bb as uge, g as cge, j as fge, b8 as dge, bs as hge } from "./index-4f0dxc1K.js";
12
+ import { F as pge, p as gge } from "./index-BN83B1xz.js";
13
+ import { c as yge } from "./pdfWorker-DXwMD3Dk.js";
14
14
  import { g as TG } from "./_commonjsHelpers-ByX85dGu.js";
15
15
  import { utils as hl, write as dI } from "./xlsx-CzlURDDb.js";
16
16
  import { defaultTranslations as _ge } from "./i18n-provider-defaults.js";
@@ -1059,11 +1059,9 @@ declare namespace Calendar {
1059
1059
 
1060
1060
  declare module "@tiptap/core" {
1061
1061
  interface Commands<ReturnType> {
1062
- enhanceHighlight: {
1063
- setEnhanceHighlight: (from: number, to: number, options?: {
1064
- placeholder?: string;
1065
- }) => ReturnType;
1066
- clearEnhanceHighlight: () => ReturnType;
1062
+ aiBlock: {
1063
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1064
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1067
1065
  };
1068
1066
  }
1069
1067
  }
@@ -1071,9 +1069,8 @@ declare module "@tiptap/core" {
1071
1069
 
1072
1070
  declare module "@tiptap/core" {
1073
1071
  interface Commands<ReturnType> {
1074
- aiBlock: {
1075
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1076
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1072
+ moodTracker: {
1073
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1077
1074
  };
1078
1075
  }
1079
1076
  }
@@ -1081,8 +1078,11 @@ declare module "@tiptap/core" {
1081
1078
 
1082
1079
  declare module "@tiptap/core" {
1083
1080
  interface Commands<ReturnType> {
1084
- moodTracker: {
1085
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1081
+ enhanceHighlight: {
1082
+ setEnhanceHighlight: (from: number, to: number, options?: {
1083
+ placeholder?: string;
1084
+ }) => ReturnType;
1085
+ clearEnhanceHighlight: () => ReturnType;
1086
1086
  };
1087
1087
  }
1088
1088
  }