@factorialco/f0-react 6.21.2 → 6.22.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.
@@ -259,8 +259,13 @@ declare interface ActionCommonProps {
259
259
  onMouseLeave?: React.MouseEventHandler<HTMLElement>;
260
260
  }
261
261
 
262
- export declare type ActionDefinition = DropdownItemSeparator | (Pick<DropdownItemObject, "label" | "icon" | "description" | "critical"> & {
262
+ export declare type ActionDefinition = DropdownItemSeparator | (Pick<DropdownItemObject, "label" | "icon" | "description" | "critical" | "disabled" | "disabledTooltip"> & {
263
263
  onClick: () => void;
264
+ /**
265
+ * `false` REMOVES the action from the menu (see `filterItemActions`). To
266
+ * instead keep it VISIBLE but greyed-out and non-interactive, leave
267
+ * `enabled` unset and use `disabled` (+ `disabledTooltip` to explain why).
268
+ */
264
269
  enabled?: boolean;
265
270
  type?: "primary" | "secondary" | "other";
266
271
  hideLabel?: boolean;
@@ -4895,6 +4900,13 @@ export declare type DropdownItemObject = Pick<NavigationItem, "label" | "href">
4895
4900
  critical?: boolean;
4896
4901
  avatar?: AvatarVariant;
4897
4902
  disabled?: boolean;
4903
+ /**
4904
+ * Tooltip shown on hover while the item is `disabled` — use it to explain why
4905
+ * the action is unavailable. Ignored when the item is not disabled. The
4906
+ * tooltip trigger re-enables pointer events, so it works despite the disabled
4907
+ * item's `pointer-events: none`.
4908
+ */
4909
+ disabledTooltip?: string;
4898
4910
  };
4899
4911
 
4900
4912
  declare type DropdownItemSeparator = {
@@ -13130,18 +13142,6 @@ declare module "@tiptap/core" {
13130
13142
  }
13131
13143
 
13132
13144
 
13133
- declare module "@tiptap/core" {
13134
- interface Commands<ReturnType> {
13135
- enhanceHighlight: {
13136
- setEnhanceHighlight: (from: number, to: number, options?: {
13137
- placeholder?: string;
13138
- }) => ReturnType;
13139
- clearEnhanceHighlight: () => ReturnType;
13140
- };
13141
- }
13142
- }
13143
-
13144
-
13145
13145
  declare module "@tiptap/core" {
13146
13146
  interface Commands<ReturnType> {
13147
13147
  fontSize: {
@@ -13165,8 +13165,11 @@ declare module "@tiptap/core" {
13165
13165
 
13166
13166
  declare module "@tiptap/core" {
13167
13167
  interface Commands<ReturnType> {
13168
- moodTracker: {
13169
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
13168
+ enhanceHighlight: {
13169
+ setEnhanceHighlight: (from: number, to: number, options?: {
13170
+ placeholder?: string;
13171
+ }) => ReturnType;
13172
+ clearEnhanceHighlight: () => ReturnType;
13170
13173
  };
13171
13174
  }
13172
13175
  }
@@ -13174,10 +13177,8 @@ declare module "@tiptap/core" {
13174
13177
 
13175
13178
  declare module "@tiptap/core" {
13176
13179
  interface Commands<ReturnType> {
13177
- videoEmbed: {
13178
- setVideoEmbed: (options: {
13179
- src: string;
13180
- }) => ReturnType;
13180
+ moodTracker: {
13181
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
13181
13182
  };
13182
13183
  }
13183
13184
  }
@@ -13192,6 +13193,17 @@ declare module "@tiptap/core" {
13192
13193
  }
13193
13194
 
13194
13195
 
13196
+ declare module "@tiptap/core" {
13197
+ interface Commands<ReturnType> {
13198
+ videoEmbed: {
13199
+ setVideoEmbed: (options: {
13200
+ src: string;
13201
+ }) => ReturnType;
13202
+ };
13203
+ }
13204
+ }
13205
+
13206
+
13195
13207
  declare namespace F0GraphNodeWrapperInner {
13196
13208
  var displayName: string;
13197
13209
  }
@@ -1,10 +1,10 @@
1
- import { X as kd, Y as Ua, Z as Sd, _ as Td, $ as Ed, a0 as Rd, a1 as Ld, a2 as Va, a3 as or, a4 as Sn, a5 as Ad, a6 as me, a7 as an, u as he, a8 as Pd, a9 as _d, aa as Xo, ab as Nr, ac as _n, ad as tt, ae as zd, af as Md, V as Ce, z as Od, A as Fd, ag as Se, ah as Cs, K as Dd, B as Bd, m as ze, ai as Vn, S as K, aj as Wt, ak as Hd, al as $d, am as jd, an as Wd, ao as Ud, ap as pt, aq as Jo, ar as Is, as as zt, at as Qt, au as Vd, e as ks, av as rn, aw as Gd, ax as Qo, ay as Gn, w as lt, r as Ye, y as zn, t as Zo, v as ea, az as Ss, x as ta, aA as Ts, aB as Kd, aC as Es, aD as Ze, s as ct, aE as Mr, aF as oo, aG as Kn, aH as Ga, aI as qd, aJ as gt, aK as Rs, aL as Io, aM as wn, aN as na, aO as Yd, aP as Xd, aQ as $t, aR as Or, aS as Jd, aT as Qd, aU as Zd, aV as eu, aW as Fr, aX as Ls, j as Dr, aY as tu, aZ as nu, k as vn, a_ as As, a$ as ru, b0 as ou, b1 as au, b2 as iu, b3 as su, b4 as ko, b5 as Ps, b6 as Mn, b7 as _s, b8 as lu, b9 as cu, ba as du, bb as zs, bc as uu, bd as sn, be as So, bf as ra, bg as fu, bh as qn, bi as Ka, bj as hu, bk as Ms, bl as mu, bm as xn, bn as pu, bo as gu, bp as Rn, bq as qa, br as To, bs as bu, bt as vu, b as Os, bu as xu, a as yu, bv as Br, bw as wu, g as Nu, F as Cu, bx as Fs, by as Iu, o as oa, bz as ku, bA as aa, bB as Bt, J as Su, bC as Tu, bD as Eu, bE as Ds, bF as Ru, bG as Bs, bH as Lu, bI as Au, bJ as Pu, bK as Eo, bL as _u, bM as zu, bN as Mu, bO as Ou, bP as Fu, bQ as Du, bR as Bu, bS as Ro, l as Hr, bT as ia, O as Lo, Q as pr, bU as Hu, bV as $u, bW as ju, bX as Hs, bY as $s, bZ as sa, b_ as Wu, b$ as Uu, c0 as Vu, c1 as Gu, c2 as Ku, c3 as js, c4 as qu, c5 as Yu, c6 as la, c7 as Xu, c8 as Ws, c9 as Us, ca as Vs, cb as Ju, cc as Gs, n as Qu, cd as Ks, R as Zu, U as ef, ce as tf, cf as Ya, cg as qs, ch as nf, ci as rf, cj as of, ck as af, cl as sf, cm as lf, cn as cf, co as df, cp as Mt, cq as uf, cr as ff, cs as hf, ct as mf, cu as pf, cv as gf, cw as bf, cx as Cr, cy as vf, cz as xf, cA as yf, cB as wf, cC as ao, cD as Nf, cE as Cf, cF as If, cG as kf, cH as Sf, cI as Tf, cJ as Ef, cK as Rf, cL as Ys, cM as Lf, cN as Af } from "./F0CanvasPanel-BR31-R1U.js";
2
- import { c_ as lN, cZ as cN, da as dN, cW as uN, cX as fN, cO as hN, cP as mN, cP as pN, cQ as gN, cT as bN, dd as vN, cY as xN, d6 as yN, d7 as wN, db as NN, cU as CN, d0 as IN, c$ as kN, T as SN, h as TN, d8 as EN, de as RN, d9 as LN, dc as AN, d5 as PN, d2 as _N, d4 as zN, d1 as MN, cR as ON, cS as FN, cV as DN, d3 as BN } from "./F0CanvasPanel-BR31-R1U.js";
1
+ import { X as kd, Y as Ua, Z as Sd, _ as Td, $ as Ed, a0 as Rd, a1 as Ld, a2 as Va, a3 as or, a4 as Sn, a5 as Ad, a6 as me, a7 as an, u as he, a8 as Pd, a9 as _d, aa as Xo, ab as Nr, ac as _n, ad as tt, ae as zd, af as Md, V as Ce, z as Od, A as Fd, ag as Se, ah as Cs, K as Dd, B as Bd, m as ze, ai as Vn, S as K, aj as Wt, ak as Hd, al as $d, am as jd, an as Wd, ao as Ud, ap as pt, aq as Jo, ar as Is, as as zt, at as Qt, au as Vd, e as ks, av as rn, aw as Gd, ax as Qo, ay as Gn, w as lt, r as Ye, y as zn, t as Zo, v as ea, az as Ss, x as ta, aA as Ts, aB as Kd, aC as Es, aD as Ze, s as ct, aE as Mr, aF as oo, aG as Kn, aH as Ga, aI as qd, aJ as gt, aK as Rs, aL as Io, aM as wn, aN as na, aO as Yd, aP as Xd, aQ as $t, aR as Or, aS as Jd, aT as Qd, aU as Zd, aV as eu, aW as Fr, aX as Ls, j as Dr, aY as tu, aZ as nu, k as vn, a_ as As, a$ as ru, b0 as ou, b1 as au, b2 as iu, b3 as su, b4 as ko, b5 as Ps, b6 as Mn, b7 as _s, b8 as lu, b9 as cu, ba as du, bb as zs, bc as uu, bd as sn, be as So, bf as ra, bg as fu, bh as qn, bi as Ka, bj as hu, bk as Ms, bl as mu, bm as xn, bn as pu, bo as gu, bp as Rn, bq as qa, br as To, bs as bu, bt as vu, b as Os, bu as xu, a as yu, bv as Br, bw as wu, g as Nu, F as Cu, bx as Fs, by as Iu, o as oa, bz as ku, bA as aa, bB as Bt, J as Su, bC as Tu, bD as Eu, bE as Ds, bF as Ru, bG as Bs, bH as Lu, bI as Au, bJ as Pu, bK as Eo, bL as _u, bM as zu, bN as Mu, bO as Ou, bP as Fu, bQ as Du, bR as Bu, bS as Ro, l as Hr, bT as ia, O as Lo, Q as pr, bU as Hu, bV as $u, bW as ju, bX as Hs, bY as $s, bZ as sa, b_ as Wu, b$ as Uu, c0 as Vu, c1 as Gu, c2 as Ku, c3 as js, c4 as qu, c5 as Yu, c6 as la, c7 as Xu, c8 as Ws, c9 as Us, ca as Vs, cb as Ju, cc as Gs, n as Qu, cd as Ks, R as Zu, U as ef, ce as tf, cf as Ya, cg as qs, ch as nf, ci as rf, cj as of, ck as af, cl as sf, cm as lf, cn as cf, co as df, cp as Mt, cq as uf, cr as ff, cs as hf, ct as mf, cu as pf, cv as gf, cw as bf, cx as Cr, cy as vf, cz as xf, cA as yf, cB as wf, cC as ao, cD as Nf, cE as Cf, cF as If, cG as kf, cH as Sf, cI as Tf, cJ as Ef, cK as Rf, cL as Ys, cM as Lf, cN as Af } from "./F0CanvasPanel-BCpvC5dQ.js";
2
+ import { c_ as lN, cZ as cN, da as dN, cW as uN, cX as fN, cO as hN, cP as mN, cP as pN, cQ as gN, cT as bN, dd as vN, cY as xN, d6 as yN, d7 as wN, db as NN, cU as CN, d0 as IN, c$ as kN, T as SN, h as TN, d8 as EN, de as RN, d9 as LN, dc as AN, d5 as PN, d2 as _N, d4 as zN, d1 as MN, cR as ON, cS as FN, cV as DN, d3 as BN } from "./F0CanvasPanel-BCpvC5dQ.js";
3
3
  import { jsx as n, jsxs as m, Fragment as Pe } from "react/jsx-runtime";
4
4
  import ne, { forwardRef as Be, useRef as M, useTransition as Pf, useState as D, useLayoutEffect as St, useId as On, useContext as yt, createContext as dt, useEffect as q, useCallback as W, useMemo as ie, Fragment as kt, isValidElement as Xs, cloneElement as Js, Suspense as $r, lazy as ln, createElement as gr, memo as Qs, Children as ca } from "react";
5
5
  import { d as I, T as _f, a as zf, b as Mf, f as et, c as Of, u as Ff } from "./tooltip-Cik7KBQT.js";
6
- import { C as Df, P as Bf, c as jr, n as Hf, E as $f, a as da, b as Yn, M as jf, p as Wf, e as Uf, R as Xa, f as Zs, u as Vf, g as Gf, h as Kf, i as qf, j as Yf, k as Xf, O as el, W as nn, A as Jf, B as Qf, L as Zf, l as eh, V as th, m as nh, o as rh, q as oh, S as ah, r as ih, s as sh, t as lh, v as ch, w as dh, D as uh, x as fh, y as hh, z as mh, F as ph, G as gh, H as Ja } from "./CoachmarkProvider-DnKoMvHs.js";
7
- import { ak as $N, al as jN, T as WN, U as UN, N as VN, a4 as GN, X as KN, aw as qN, a0 as YN, av as XN, a3 as JN, Q as QN, ai as ZN, ay as eC, ax as tC, aa as nC, a5 as rC, aB as oC, K as aC, af as iC, ac as sC, a7 as lC, aD as cC, a8 as dC, ag as uC, ah as fC, Y as hC, az as mC, aA as pC, a9 as gC, aj as bC, as as vC, au as xC, Z as yC, aF as wC, $ as NC, a1 as CC, ad as IC, aC as kC, ae as SC, ab as TC, aE as EC, _ as RC, a2 as LC, I as AC, J as PC, ao as _C, ap as zC, am as MC, at as OC, a6 as FC, aq as DC, an as BC, ar as HC } from "./CoachmarkProvider-DnKoMvHs.js";
6
+ import { C as Df, P as Bf, c as jr, n as Hf, E as $f, a as da, b as Yn, M as jf, p as Wf, e as Uf, R as Xa, f as Zs, u as Vf, g as Gf, h as Kf, i as qf, j as Yf, k as Xf, O as el, W as nn, A as Jf, B as Qf, L as Zf, l as eh, V as th, m as nh, o as rh, q as oh, S as ah, r as ih, s as sh, t as lh, v as ch, w as dh, D as uh, x as fh, y as hh, z as mh, F as ph, G as gh, H as Ja } from "./CoachmarkProvider-DApl8aaf.js";
7
+ import { ak as $N, al as jN, T as WN, U as UN, N as VN, a4 as GN, X as KN, aw as qN, a0 as YN, av as XN, a3 as JN, Q as QN, ai as ZN, ay as eC, ax as tC, aa as nC, a5 as rC, aB as oC, K as aC, af as iC, ac as sC, a7 as lC, aD as cC, a8 as dC, ag as uC, ah as fC, Y as hC, az as mC, aA as pC, a9 as gC, aj as bC, as as vC, au as xC, Z as yC, aF as wC, $ as NC, a1 as CC, ad as IC, aC as kC, ae as SC, ab as TC, aE as EC, _ as RC, a2 as LC, I as AC, J as PC, ao as _C, ap as zC, am as MC, at as OC, a6 as FC, aq as DC, an as BC, ar as HC } from "./CoachmarkProvider-DApl8aaf.js";
8
8
  import bh, { createPortal as Qa } from "react-dom";
9
9
  const vh = kd("Search", [
10
10
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -8426,7 +8426,7 @@ const Jl = () => Ut(Wl, "useChatJump"), Pg = () => Ut(Ul, "useChatHighlightedId"
8426
8426
  }, qr = (e, t) => {
8427
8427
  const r = document.createElement("a");
8428
8428
  r.href = e, r.download = t, r.rel = "noreferrer", r.click();
8429
- }, sc = () => import("./ChatPdfThumbnail-Bki7w90N.js"), lc = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), cc = () => import("./ChatDocxThumbnail-DzNPNFya.js"), dc = () => import("./ChatTextThumbnail-yVt_iYi7.js"), Hg = ln(sc), $g = ln(lc), jg = ln(cc), Wg = ln(dc), Ug = {
8429
+ }, sc = () => import("./ChatPdfThumbnail-CyodmEKH.js"), lc = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), cc = () => import("./ChatDocxThumbnail-DzNPNFya.js"), dc = () => import("./ChatTextThumbnail-yVt_iYi7.js"), Hg = ln(sc), $g = ln(lc), jg = ln(cc), Wg = ln(dc), Ug = {
8430
8430
  pdf: sc,
8431
8431
  sheet: lc,
8432
8432
  docx: cc,
@@ -10367,7 +10367,7 @@ const fb = {
10367
10367
  }
10368
10368
  ) }) });
10369
10369
  }, Nb = ln(
10370
- () => import("./index-DlA848zF.js").then((e) => e.i).then((e) => ({
10370
+ () => import("./index-B17xYLRO.js").then((e) => e.i).then((e) => ({
10371
10371
  default: e.F0PdfViewer
10372
10372
  }))
10373
10373
  ), Cb = () => {
@@ -14935,7 +14935,7 @@ const y0 = (e) => {
14935
14935
  }
14936
14936
  )
14937
14937
  ] });
14938
- }, td = () => import("./index-Cud1w75a.js").then((e) => ({
14938
+ }, td = () => import("./index-DerfCvM-.js").then((e) => ({
14939
14939
  default: e.F0VideoPlayer
14940
14940
  })), P0 = ln(td), _0 = ({
14941
14941
  file: e,
package/dist/f0.d.ts CHANGED
@@ -312,8 +312,13 @@ declare interface ActionCommonProps {
312
312
  onMouseLeave?: React.MouseEventHandler<HTMLElement>;
313
313
  }
314
314
 
315
- declare type ActionDefinition = DropdownItemSeparator | (Pick<DropdownItemObject, "label" | "icon" | "description" | "critical"> & {
315
+ declare type ActionDefinition = DropdownItemSeparator | (Pick<DropdownItemObject, "label" | "icon" | "description" | "critical" | "disabled" | "disabledTooltip"> & {
316
316
  onClick: () => void;
317
+ /**
318
+ * `false` REMOVES the action from the menu (see `filterItemActions`). To
319
+ * instead keep it VISIBLE but greyed-out and non-interactive, leave
320
+ * `enabled` unset and use `disabled` (+ `disabledTooltip` to explain why).
321
+ */
317
322
  enabled?: boolean;
318
323
  type?: "primary" | "secondary" | "other";
319
324
  hideLabel?: boolean;
@@ -6073,6 +6078,13 @@ declare type DropdownItemObject = Pick<NavigationItem, "label" | "href"> & {
6073
6078
  critical?: boolean;
6074
6079
  avatar?: AvatarVariant;
6075
6080
  disabled?: boolean;
6081
+ /**
6082
+ * Tooltip shown on hover while the item is `disabled` — use it to explain why
6083
+ * the action is unavailable. Ignored when the item is not disabled. The
6084
+ * tooltip trigger re-enables pointer events, so it works despite the disabled
6085
+ * item's `pointer-events: none`.
6086
+ */
6087
+ disabledTooltip?: string;
6076
6088
  };
6077
6089
 
6078
6090
  declare type DropdownItemSeparator = {
@@ -19674,18 +19686,6 @@ declare module "@tiptap/core" {
19674
19686
  }
19675
19687
 
19676
19688
 
19677
- declare module "@tiptap/core" {
19678
- interface Commands<ReturnType> {
19679
- enhanceHighlight: {
19680
- setEnhanceHighlight: (from: number, to: number, options?: {
19681
- placeholder?: string;
19682
- }) => ReturnType;
19683
- clearEnhanceHighlight: () => ReturnType;
19684
- };
19685
- }
19686
- }
19687
-
19688
-
19689
19689
  declare module "@tiptap/core" {
19690
19690
  interface Commands<ReturnType> {
19691
19691
  fontSize: {
@@ -19709,8 +19709,11 @@ declare module "@tiptap/core" {
19709
19709
 
19710
19710
  declare module "@tiptap/core" {
19711
19711
  interface Commands<ReturnType> {
19712
- moodTracker: {
19713
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
19712
+ enhanceHighlight: {
19713
+ setEnhanceHighlight: (from: number, to: number, options?: {
19714
+ placeholder?: string;
19715
+ }) => ReturnType;
19716
+ clearEnhanceHighlight: () => ReturnType;
19714
19717
  };
19715
19718
  }
19716
19719
  }
@@ -19718,10 +19721,8 @@ declare module "@tiptap/core" {
19718
19721
 
19719
19722
  declare module "@tiptap/core" {
19720
19723
  interface Commands<ReturnType> {
19721
- videoEmbed: {
19722
- setVideoEmbed: (options: {
19723
- src: string;
19724
- }) => ReturnType;
19724
+ moodTracker: {
19725
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
19725
19726
  };
19726
19727
  }
19727
19728
  }
@@ -19736,6 +19737,17 @@ declare module "@tiptap/core" {
19736
19737
  }
19737
19738
 
19738
19739
 
19740
+ declare module "@tiptap/core" {
19741
+ interface Commands<ReturnType> {
19742
+ videoEmbed: {
19743
+ setVideoEmbed: (options: {
19744
+ src: string;
19745
+ }) => ReturnType;
19746
+ };
19747
+ }
19748
+ }
19749
+
19750
+
19739
19751
  declare namespace F0GraphNodeWrapperInner {
19740
19752
  var displayName: string;
19741
19753
  }
package/dist/f0.js CHANGED
@@ -1,18 +1,18 @@
1
- import { hH as uN, w as at, cp as Ab, a7 as dn, h6 as cN, a6 as En, fe as FV, hI as GV, hJ as fN, r as Xt, av as rf, hK as HV, hL as Lw, hM as Mr, hN as Xa, hO as WV, u as Be, aJ as Zv, hP as qi, hQ as Fl, hR as hN, aD as ul, h3 as Hy, hS as UV, S as ee, s as Mb, hT as $V, hU as YV, hV as Nw, em as XV, hW as qV, hX as ZV, hY as dN, hZ as jV, t as jv, v as Kv, m as tt, x as Qv, y as Gr, O as KV, Q as QV, z as nf, A as af, cd as qo, B as of, gh as Wy, am as Ft, V as et, aC as bl, ao as La, aR as Eb, h_ as JV, by as eF, ei as Iw, n as vN, o as xl, ad as Sc, bz as tF, da as xd, cn as pN, h$ as rF, h5 as kw, aw as nF, i0 as Pw, fN as iF, i1 as aF, c6 as gN, ca as mN, g0 as Uy, aW as oF, dl as $y, ce as yN, gD as Gl, gE as sf, gG as _N, hc as sF, gf as bN, aL as xN, ge as lF, i2 as Jv, dW as Lb, gU as uF, at as wN, fM as cF, cD as fF, hD as Nb, bW as SN, b$ as hF, c0 as dF, c1 as vF, d as pF, af as CN, ds as as, e7 as TN, dV as DN, cG as Ib, cb as AN, df as kb, G as cl, H as fl, K as hl, L as dl, gi as va, cf as MN, j as gF, dT as wd, bK as wl, J as Nr, cU as mF, as as EN, cJ as Yy, ej as Cc, cT as yF, dN as lf, ap as Hl, bm as LN, b3 as _F, gN as Or, i3 as bF, i4 as xF, i5 as NN, i6 as ep, i7 as wF, i8 as SF, R as IN, U as kN, cK as CF, i9 as TF, bf as PN, c8 as DF, c9 as AF, ag as Xy, aN as Wl, cs as Ul, eR as uf, e9 as MF, cq as EF, bx as LF, ai as RN, bB as NF, ar as IF, bU as Rw, e6 as Tc, fP as kF, fQ as PF, ia as RF, bl as OF, cw as BF, l as ON, ax as zF, bE as VF, ib as FF, h9 as GF, ay as HF, bp as WF, ab as BN, ic as zN, id as UF, ie as $F, I as YF, ig as XF, ih as qF, ii as ZF, ij as jF } from "./F0CanvasPanel-BR31-R1U.js";
2
- import { iB as zhe, C as Vhe, D as Fhe, bd as Ghe, c as Hhe, F as Whe, a as Uhe, iu as $he, f as Yhe, bF as Xhe, be as qhe, cu as Zhe, bS as jhe, b6 as Khe, aG as Qhe, aQ as Jhe, el as ede, aY as tde, cO as rde, g as nde, c2 as ide, cP as ade, ip as ode, iG as sde, bT as lde, e as ude, cc as cde, k as fde, cv as hde, iw as dde, bt as vde, ix as pde, iz as gde, iA as mde, dd as yde, iD as _de, d6 as bde, d7 as xde, P as wde, db as Sde, iy as Cde, d8 as Tde, iC as Dde, iH as Ade, il as Mde, im as Ede, io as Lde, ik as Nde, d9 as Ide, iF as kde, iv as Pde, is as Rde, ir as Ode, dc as Bde, gc as zde, gV as Vde, iE as Fde, bi as Gde, d5 as Hde, d2 as Wde, d4 as Ude, d1 as $de, it as Yde, gX as Xde, gR as qde, gH as Zde, iK as jde, cV as Kde, d3 as Qde, iJ as Jde, bO as eve, ef as tve, gb as rve, gI as nve, b as ive, bR as ave, hb as ove, bg as sve, eg as lve, iq as uve, gT as cve, gS as fve, iI as hve } from "./F0CanvasPanel-BR31-R1U.js";
1
+ import { hH as uN, w as at, cp as Ab, a7 as dn, h6 as cN, a6 as En, fe as FV, hI as GV, hJ as fN, r as Xt, av as rf, hK as HV, hL as Lw, hM as Mr, hN as Xa, hO as WV, u as Be, aJ as Zv, hP as qi, hQ as Fl, hR as hN, aD as ul, h3 as Hy, hS as UV, S as ee, s as Mb, hT as $V, hU as YV, hV as Nw, em as XV, hW as qV, hX as ZV, hY as dN, hZ as jV, t as jv, v as Kv, m as tt, x as Qv, y as Gr, O as KV, Q as QV, z as nf, A as af, cd as qo, B as of, gh as Wy, am as Ft, V as et, aC as bl, ao as La, aR as Eb, h_ as JV, by as eF, ei as Iw, n as vN, o as xl, ad as Sc, bz as tF, da as xd, cn as pN, h$ as rF, h5 as kw, aw as nF, i0 as Pw, fN as iF, i1 as aF, c6 as gN, ca as mN, g0 as Uy, aW as oF, dl as $y, ce as yN, gD as Gl, gE as sf, gG as _N, hc as sF, gf as bN, aL as xN, ge as lF, i2 as Jv, dW as Lb, gU as uF, at as wN, fM as cF, cD as fF, hD as Nb, bW as SN, b$ as hF, c0 as dF, c1 as vF, d as pF, af as CN, ds as as, e7 as TN, dV as DN, cG as Ib, cb as AN, df as kb, G as cl, H as fl, K as hl, L as dl, gi as va, cf as MN, j as gF, dT as wd, bK as wl, J as Nr, cU as mF, as as EN, cJ as Yy, ej as Cc, cT as yF, dN as lf, ap as Hl, bm as LN, b3 as _F, gN as Or, i3 as bF, i4 as xF, i5 as NN, i6 as ep, i7 as wF, i8 as SF, R as IN, U as kN, cK as CF, i9 as TF, bf as PN, c8 as DF, c9 as AF, ag as Xy, aN as Wl, cs as Ul, eR as uf, e9 as MF, cq as EF, bx as LF, ai as RN, bB as NF, ar as IF, bU as Rw, e6 as Tc, fP as kF, fQ as PF, ia as RF, bl as OF, cw as BF, l as ON, ax as zF, bE as VF, ib as FF, h9 as GF, ay as HF, bp as WF, ab as BN, ic as zN, id as UF, ie as $F, I as YF, ig as XF, ih as qF, ii as ZF, ij as jF } from "./F0CanvasPanel-BCpvC5dQ.js";
2
+ import { iB as zhe, C as Vhe, D as Fhe, bd as Ghe, c as Hhe, F as Whe, a as Uhe, iu as $he, f as Yhe, bF as Xhe, be as qhe, cu as Zhe, bS as jhe, b6 as Khe, aG as Qhe, aQ as Jhe, el as ede, aY as tde, cO as rde, g as nde, c2 as ide, cP as ade, ip as ode, iG as sde, bT as lde, e as ude, cc as cde, k as fde, cv as hde, iw as dde, bt as vde, ix as pde, iz as gde, iA as mde, dd as yde, iD as _de, d6 as bde, d7 as xde, P as wde, db as Sde, iy as Cde, d8 as Tde, iC as Dde, iH as Ade, il as Mde, im as Ede, io as Lde, ik as Nde, d9 as Ide, iF as kde, iv as Pde, is as Rde, ir as Ode, dc as Bde, gc as zde, gV as Vde, iE as Fde, bi as Gde, d5 as Hde, d2 as Wde, d4 as Ude, d1 as $de, it as Yde, gX as Xde, gR as qde, gH as Zde, iK as jde, cV as Kde, d3 as Qde, iJ as Jde, bO as eve, ef as tve, gb as rve, gI as nve, b as ive, bR as ave, hb as ove, bg as sve, eg as lve, iq as uve, gT as cve, gS as fve, iI as hve } from "./F0CanvasPanel-BCpvC5dQ.js";
3
3
  import { jsx as S, jsxs as B, Fragment as it } from "react/jsx-runtime";
4
- import { C as KF, W as QF, s as JF, t as e5, v as t5, w as Ow, aG as r5, aH as n5, G as i5, D as a5, y as o5, F as s5, H as l5, k as u5, K as VN, aI as c5, aJ as f5, aK as h5, aL as d5, aM as v5, aN as FN, aO as p5, n as tp, aP as qa, aQ as g5, aR as Pb, aS as Rb, a3 as m5, aT as y5, aU as xs, aV as GN, aW as _5, aX as b5, aY as x5, aZ as w5, a_ as S5, a$ as C5, af as T5, av as D5, b0 as A5, aa as M5, E as E5, a as L5, f as rp, R as Ob, u as Bb, ad as HN, O as zb, b1 as WN, b2 as Bw, b3 as Vb, N as N5, g as UN, aj as $N, b4 as I5, b5 as k5, b6 as P5, b7 as R5, aw as O5, M as B5 } from "./CoachmarkProvider-DnKoMvHs.js";
5
- import { T as vve, U as pve, a4 as gve, X as mve, a0 as yve, bu as _ve, bt as bve, bm as xve, b9 as wve, b8 as Sve, ba as Cve, bb as Tve, bd as Dve, be as Ave, ay as Mve, ax as Eve, aB as Lve, ac as Nve, a7 as Ive, aD as kve, a8 as Pve, Y as Rve, bv as Ove, az as Bve, aA as zve, a9 as Vve, Z as Fve, P as Gve, $ as Hve, a1 as Wve, aC as Uve, ab as $ve, aE as Yve, _ as Xve, a2 as qve, bx as Zve, I as jve, J as Kve, bl as Qve, br as Jve, br as epe, bs as tpe, bh as rpe, bg as npe, bw as ipe, at as ape, bj as ope, bk as spe, a6 as lpe, by as upe, bz as cpe, h as fpe, bn as hpe, bo as dpe, bp as vpe, bc as ppe, bi as gpe, i as mpe, bq as ype, bf as _pe, bA as bpe } from "./CoachmarkProvider-DnKoMvHs.js";
4
+ import { C as KF, W as QF, s as JF, t as e5, v as t5, w as Ow, aG as r5, aH as n5, G as i5, D as a5, y as o5, F as s5, H as l5, k as u5, K as VN, aI as c5, aJ as f5, aK as h5, aL as d5, aM as v5, aN as FN, aO as p5, n as tp, aP as qa, aQ as g5, aR as Pb, aS as Rb, a3 as m5, aT as y5, aU as xs, aV as GN, aW as _5, aX as b5, aY as x5, aZ as w5, a_ as S5, a$ as C5, af as T5, av as D5, b0 as A5, aa as M5, E as E5, a as L5, f as rp, R as Ob, u as Bb, ad as HN, O as zb, b1 as WN, b2 as Bw, b3 as Vb, N as N5, g as UN, aj as $N, b4 as I5, b5 as k5, b6 as P5, b7 as R5, aw as O5, M as B5 } from "./CoachmarkProvider-DApl8aaf.js";
5
+ import { T as vve, U as pve, a4 as gve, X as mve, a0 as yve, bu as _ve, bt as bve, bm as xve, b9 as wve, b8 as Sve, ba as Cve, bb as Tve, bd as Dve, be as Ave, ay as Mve, ax as Eve, aB as Lve, ac as Nve, a7 as Ive, aD as kve, a8 as Pve, Y as Rve, bv as Ove, az as Bve, aA as zve, a9 as Vve, Z as Fve, P as Gve, $ as Hve, a1 as Wve, aC as Uve, ab as $ve, aE as Yve, _ as Xve, a2 as qve, bx as Zve, I as jve, J as Kve, bl as Qve, br as Jve, br as epe, bs as tpe, bh as rpe, bg as npe, bw as ipe, at as ape, bj as ope, bk as spe, a6 as lpe, by as upe, bz as cpe, h as fpe, bn as hpe, bo as dpe, bp as vpe, bc as ppe, bi as gpe, i as mpe, bq as ype, bf as _pe, bA as bpe } from "./CoachmarkProvider-DApl8aaf.js";
6
6
  import * as wt from "react";
7
7
  import z5, { forwardRef as Tr, useRef as ce, useImperativeHandle as V5, Children as Sd, createContext as Va, useContext as os, useState as ue, useMemo as me, useEffect as Me, useCallback as de, useLayoutEffect as qy, isValidElement as YN, Fragment as $l, useSyncExternalStore as Sl, useId as lc, memo as F5 } from "react";
8
8
  import { createPortal as np } from "react-dom";
9
9
  import { d as re, u as cf, h as G5, i as tl, P as ff, g as Yl, j as H5, f as Fa } from "./tooltip-Cik7KBQT.js";
10
- import { l as Zy, c as XN, d as Cd, r as jy } from "./F0VideoPlayer-CK831O43.js";
11
- import { F as wpe } from "./F0VideoPlayer-CK831O43.js";
12
- import { D as W5, E as Td, G as Fb, H as qN, I as ZN, J as Qn, K as U5, L as $5, M as Y5, N as X5, O as q5, F as Z5 } from "./F0AiProcessingOverlay-DsRTnmWj.js";
13
- import { A as Cpe, C as Tpe, t as Dpe, s as Ape, v as Mpe, y as Epe, l as Lpe, i as Npe, q as Ipe, z as kpe, B as Ppe, p as Rpe, r as Ope, j as Bpe, e as zpe, g as Vpe, k as Fpe, T as Gpe, w as Hpe, h as Wpe, a as Upe, n as $pe, m as Ype, o as Xpe, b as qpe, f as Zpe, x as jpe, c as Kpe, d as Qpe, u as Jpe } from "./F0AiProcessingOverlay-DsRTnmWj.js";
14
- import { F as tge, p as rge } from "./index-DlA848zF.js";
15
- import { c as ige } from "./pdfWorker-RF5IEEDt.js";
10
+ import { l as Zy, c as XN, d as Cd, r as jy } from "./F0VideoPlayer-D6-Yzvr8.js";
11
+ import { F as wpe } from "./F0VideoPlayer-D6-Yzvr8.js";
12
+ import { D as W5, E as Td, G as Fb, H as qN, I as ZN, J as Qn, K as U5, L as $5, M as Y5, N as X5, O as q5, F as Z5 } from "./F0AiProcessingOverlay-DEujdY3y.js";
13
+ import { A as Cpe, C as Tpe, t as Dpe, s as Ape, v as Mpe, y as Epe, l as Lpe, i as Npe, q as Ipe, z as kpe, B as Ppe, p as Rpe, r as Ope, j as Bpe, e as zpe, g as Vpe, k as Fpe, T as Gpe, w as Hpe, h as Wpe, a as Upe, n as $pe, m as Ype, o as Xpe, b as qpe, f as Zpe, x as jpe, c as Kpe, d as Qpe, u as Jpe } from "./F0AiProcessingOverlay-DEujdY3y.js";
14
+ import { F as tge, p as rge } from "./index-B17xYLRO.js";
15
+ import { c as ige } from "./pdfWorker-BYvt_4pI.js";
16
16
  import { g as j5 } from "./_commonjsHelpers-ByX85dGu.js";
17
17
  import { utils as vl, write as jN } from "./xlsx-CzlURDDb.js";
18
18
  import { defaultTranslations as oge } from "./i18n-provider-defaults.js";
@@ -1283,18 +1283,6 @@ declare module "@tiptap/core" {
1283
1283
  }
1284
1284
 
1285
1285
 
1286
- declare module "@tiptap/core" {
1287
- interface Commands<ReturnType> {
1288
- enhanceHighlight: {
1289
- setEnhanceHighlight: (from: number, to: number, options?: {
1290
- placeholder?: string;
1291
- }) => ReturnType;
1292
- clearEnhanceHighlight: () => ReturnType;
1293
- };
1294
- }
1295
- }
1296
-
1297
-
1298
1286
  declare module "@tiptap/core" {
1299
1287
  interface Commands<ReturnType> {
1300
1288
  fontSize: {
@@ -1318,8 +1306,11 @@ declare module "@tiptap/core" {
1318
1306
 
1319
1307
  declare module "@tiptap/core" {
1320
1308
  interface Commands<ReturnType> {
1321
- moodTracker: {
1322
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1309
+ enhanceHighlight: {
1310
+ setEnhanceHighlight: (from: number, to: number, options?: {
1311
+ placeholder?: string;
1312
+ }) => ReturnType;
1313
+ clearEnhanceHighlight: () => ReturnType;
1323
1314
  };
1324
1315
  }
1325
1316
  }
@@ -1327,10 +1318,8 @@ declare module "@tiptap/core" {
1327
1318
 
1328
1319
  declare module "@tiptap/core" {
1329
1320
  interface Commands<ReturnType> {
1330
- videoEmbed: {
1331
- setVideoEmbed: (options: {
1332
- src: string;
1333
- }) => ReturnType;
1321
+ moodTracker: {
1322
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1334
1323
  };
1335
1324
  }
1336
1325
  }
@@ -1345,6 +1334,17 @@ declare module "@tiptap/core" {
1345
1334
  }
1346
1335
 
1347
1336
 
1337
+ declare module "@tiptap/core" {
1338
+ interface Commands<ReturnType> {
1339
+ videoEmbed: {
1340
+ setVideoEmbed: (options: {
1341
+ src: string;
1342
+ }) => ReturnType;
1343
+ };
1344
+ }
1345
+ }
1346
+
1347
+
1348
1348
  declare namespace F0GraphNodeWrapperInner {
1349
1349
  var displayName: string;
1350
1350
  }
@@ -1,7 +1,7 @@
1
- import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-BR31-R1U.js";
1
+ import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-BCpvC5dQ.js";
2
2
  import { jsx as t, jsxs as y } from "react/jsx-runtime";
3
3
  import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
4
- import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-RF5IEEDt.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-BYvt_4pI.js";
5
5
  import { F as We } from "./Printer-BD-FEi_2.js";
6
6
  import { d as ae } from "./tooltip-Cik7KBQT.js";
7
7
  import './index.css';const Oe = ({
@@ -222,7 +222,7 @@ import './index.css';const Oe = ({
222
222
  }), i;
223
223
  };
224
224
  Ee();
225
- const qe = J(() => import("./SheetViewer-DKXkRLnJ.js")), Ge = J(() => import("./DocxViewer-DKzO-C2J.js")), Ze = J(() => import("./TextViewer-BoPxdAZB.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-CVf7vvsQ.js")), Ge = J(() => import("./DocxViewer-CoibKQeA.js")), Ze = J(() => import("./TextViewer-FbomP246.js")), oe = 48, se = ne(
226
226
  (o, a) => {
227
227
  const { kind: e = "pdf", mimeType: i, ...l } = o;
228
228
  if (e === "pdf") return /* @__PURE__ */ t(le, { ref: a, ...l });
@@ -0,0 +1,4 @@
1
+ import { F as r } from "./F0VideoPlayer-D6-Yzvr8.js";
2
+ export {
3
+ r as F0VideoPlayer
4
+ };
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { createContext, useReducer, forwardRef, useRef, useImperativeHandle, useEffect, useCallback, useMemo, useContext, useLayoutEffect } from "react";
3
3
  import { e as clsx } from "./tooltip-Cik7KBQT.js";
4
- import { W as invariant } from "./F0CanvasPanel-BR31-R1U.js";
5
- import { d as dequal } from "./CoachmarkProvider-DnKoMvHs.js";
4
+ import { W as invariant } from "./F0CanvasPanel-BCpvC5dQ.js";
5
+ import { d as dequal } from "./CoachmarkProvider-DApl8aaf.js";
6
6
  import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
8
8
  import './pdfWorker.css';var pdf$1 = { exports: {} };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "6.21.2",
3
+ "version": "6.22.0",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",
@@ -1,4 +0,0 @@
1
- import { F as r } from "./F0VideoPlayer-CK831O43.js";
2
- export {
3
- r as F0VideoPlayer
4
- };