@factorialco/f0-react 1.474.0 → 1.474.2

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 CHANGED
@@ -3400,9 +3400,9 @@ declare namespace Calendar {
3400
3400
 
3401
3401
  declare module "@tiptap/core" {
3402
3402
  interface Commands<ReturnType> {
3403
- enhanceHighlight: {
3404
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
3405
- clearEnhanceHighlight: () => ReturnType;
3403
+ aiBlock: {
3404
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
3405
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
3406
3406
  };
3407
3407
  }
3408
3408
  }
@@ -3410,9 +3410,9 @@ declare module "@tiptap/core" {
3410
3410
 
3411
3411
  declare module "@tiptap/core" {
3412
3412
  interface Commands<ReturnType> {
3413
- aiBlock: {
3414
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
3415
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
3413
+ enhanceHighlight: {
3414
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
3415
+ clearEnhanceHighlight: () => ReturnType;
3416
3416
  };
3417
3417
  }
3418
3418
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { l as t, k as e, F as r, a as o, C as i, b as n, m as F, n as u, d as A, I as c, g as C, c as m, h, e as l, u as d, j as I, i as f, f as T } from "./F0AiChat-Ca84otXf.js";
1
+ import { l as t, k as e, F as r, a as o, C as i, b as n, m as F, n as u, d as A, I as c, g as C, c as m, h, e as l, u as d, j as I, i as f, f as T } from "./F0AiChat-DruJdM95.js";
2
2
  import { defaultTranslations as S } from "./i18n-provider-defaults.js";
3
- import { A as v, e as x, F as P, c as V, d as k, b as O, a as b, f as y, o as M, u as j } from "./types-VRQgNN6R.js";
3
+ import { A as v, e as x, F as P, c as V, d as k, b as O, a as b, f as y, o as M, u as j } from "./types-CJRIQ95d.js";
4
4
  export {
5
5
  v as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
@@ -4150,6 +4150,14 @@ declare type F0SelectBaseProps<T extends string, R = unknown> = {
4150
4150
  * @default false
4151
4151
  */
4152
4152
  showPreview?: boolean;
4153
+ /**
4154
+ * When true, preserves selections when the dataset changes (search, filters,
4155
+ * or sortings). Useful for picker components where the user searches and
4156
+ * filters to find items to add to an existing selection.
4157
+ *
4158
+ * @default true
4159
+ */
4160
+ preserveSelectionOnDatasetChange?: boolean;
4153
4161
  } & WithDataTestIdProps;
4154
4162
 
4155
4163
  declare type F0SelectItemObject<T, R = unknown> = {
@@ -8143,9 +8151,9 @@ declare namespace Calendar {
8143
8151
 
8144
8152
  declare module "@tiptap/core" {
8145
8153
  interface Commands<ReturnType> {
8146
- enhanceHighlight: {
8147
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8148
- clearEnhanceHighlight: () => ReturnType;
8154
+ aiBlock: {
8155
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8156
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8149
8157
  };
8150
8158
  }
8151
8159
  }
@@ -8153,9 +8161,9 @@ declare module "@tiptap/core" {
8153
8161
 
8154
8162
  declare module "@tiptap/core" {
8155
8163
  interface Commands<ReturnType> {
8156
- aiBlock: {
8157
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8158
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8164
+ enhanceHighlight: {
8165
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8166
+ clearEnhanceHighlight: () => ReturnType;
8159
8167
  };
8160
8168
  }
8161
8169
  }
@@ -1,9 +1,9 @@
1
- import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, O as b, W as Z, P as pe, u as se, ag as ma, ah as ha, ai as ba, aj as pa, ak as ga, a5 as oe, al as xa, am as ht, an as rt, ao as Be, U as Ee, ap as va, aq as wa, ar as $, as as ya, at as Na, M as _e, au as ln, av as Ca, aw as ka, Q as B, ax as sn, a8 as E, ay as ve, az as Sa, aA as Ia, aB as Fa, aC as Aa, aD as La, aE as Ce, aF as on, aG as Ea, aH as ge, aI as $e, aJ as _a, aK as bt, n as cn, aL as Ne, aM as Oa, aN as dn, a6 as ne, aO as H, R as un, aP as fn, aQ as Ta, aR as mn, aS as me, a7 as ee, aT as Da, aU as za, aV as Pa, aW as Ra, X as be, aX as Ge, aY as Ba, aZ as $a, a_ as Wa, a$ as Ma, b0 as He, b1 as hn, b2 as ja, b3 as Va, b4 as Ga, b5 as We, b6 as Ha, b7 as Ua, b8 as Ka, b9 as qa, ba as Ya, bb as Za, bc as Xa, bd as Ja, be as Qa, bf as er, bg as lt, bh as it, bi as bn, bj as tr, bk as nr, bl as pn, bm as ar, bn as rr, T as Ue, bo as pt, bp as gn, bq as lr, br as xn, bs as ir, bt as sr, bu as or, bv as Le, bw as cr, bx as De, by as At, bz as st, bA as dr, bB as ur, a as fr, c as mr, bC as hr, bD as vn, bE as br, bF as pr, F as gr, bG as wn, _ as xr, bH as yn, bI as vr, bJ as Lt, bK as wr, bL as yr, bM as Nr, bN as Cr, bO as Nn, bP as kr, bQ as Sr, bR as Ir, bS as Fr, bT as Ar, Y as Cn, bU as ue, bV as kn, bW as gt, bX as xt, bY as vt, bZ as Sn, b_ as wt, b$ as In, $ as Fn, c0 as Lr, c1 as Er, c2 as _r, c3 as Or, c4 as Tr, c5 as Dr, c6 as zr, c7 as Pr, c8 as Rr, c9 as Br, ca as $r, cb as Et, cc as _t, cd as Ot, ce as Wr, cf as Mr, cg as jr, ch as Vr, ci as An, cj as Gr, ck as Hr, cl as Ur } from "./F0AiChat-Ca84otXf.js";
2
- import { cG as Ac, cF as Lc, co as Ec, cS as _c, cz as Oc, cA as Tc, cn as Dc, cC as zc, cp as Pc, d2 as Rc, d0 as Bc, cq as $c, cD as Wc, cE as Mc, cB as jc, cr as Vc, cO as Gc, cP as Hc, cT as Uc, c_ as Kc, c$ as qc, cx as Yc, d1 as Zc, cy as Xc, cs as Jc, cI as Qc, cH as ed, ct as td, cu as nd, cv as ad, cQ as rd, d3 as ld, cm as id, cR as sd, cV as od, cW as cd, cN as dd, cK as ud, cM as fd, cJ as md, cw as hd, cL as bd, cX as pd, cY as gd, cU as xd, cZ as vd } from "./F0AiChat-Ca84otXf.js";
1
+ import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, O as b, W as Z, P as pe, u as se, ag as ma, ah as ha, ai as ba, aj as pa, ak as ga, a5 as oe, al as xa, am as ht, an as rt, ao as Be, U as Ee, ap as va, aq as wa, ar as $, as as ya, at as Na, M as _e, au as ln, av as Ca, aw as ka, Q as B, ax as sn, a8 as E, ay as ve, az as Sa, aA as Ia, aB as Fa, aC as Aa, aD as La, aE as Ce, aF as on, aG as Ea, aH as ge, aI as $e, aJ as _a, aK as bt, n as cn, aL as Ne, aM as Oa, aN as dn, a6 as ne, aO as H, R as un, aP as fn, aQ as Ta, aR as mn, aS as me, a7 as ee, aT as Da, aU as za, aV as Pa, aW as Ra, X as be, aX as Ge, aY as Ba, aZ as $a, a_ as Wa, a$ as Ma, b0 as He, b1 as hn, b2 as ja, b3 as Va, b4 as Ga, b5 as We, b6 as Ha, b7 as Ua, b8 as Ka, b9 as qa, ba as Ya, bb as Za, bc as Xa, bd as Ja, be as Qa, bf as er, bg as lt, bh as it, bi as bn, bj as tr, bk as nr, bl as pn, bm as ar, bn as rr, T as Ue, bo as pt, bp as gn, bq as lr, br as xn, bs as ir, bt as sr, bu as or, bv as Le, bw as cr, bx as De, by as At, bz as st, bA as dr, bB as ur, a as fr, c as mr, bC as hr, bD as vn, bE as br, bF as pr, F as gr, bG as wn, _ as xr, bH as yn, bI as vr, bJ as Lt, bK as wr, bL as yr, bM as Nr, bN as Cr, bO as Nn, bP as kr, bQ as Sr, bR as Ir, bS as Fr, bT as Ar, Y as Cn, bU as ue, bV as kn, bW as gt, bX as xt, bY as vt, bZ as Sn, b_ as wt, b$ as In, $ as Fn, c0 as Lr, c1 as Er, c2 as _r, c3 as Or, c4 as Tr, c5 as Dr, c6 as zr, c7 as Pr, c8 as Rr, c9 as Br, ca as $r, cb as Et, cc as _t, cd as Ot, ce as Wr, cf as Mr, cg as jr, ch as Vr, ci as An, cj as Gr, ck as Hr, cl as Ur } from "./F0AiChat-DruJdM95.js";
2
+ import { cG as Ac, cF as Lc, co as Ec, cS as _c, cz as Oc, cA as Tc, cn as Dc, cC as zc, cp as Pc, d2 as Rc, d0 as Bc, cq as $c, cD as Wc, cE as Mc, cB as jc, cr as Vc, cO as Gc, cP as Hc, cT as Uc, c_ as Kc, c$ as qc, cx as Yc, d1 as Zc, cy as Xc, cs as Jc, cI as Qc, cH as ed, ct as td, cu as nd, cv as ad, cQ as rd, d3 as ld, cm as id, cR as sd, cV as od, cW as cd, cN as dd, cK as ud, cM as fd, cJ as md, cw as hd, cL as bd, cX as pd, cY as gd, cU as xd, cZ as vd } from "./F0AiChat-DruJdM95.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import re, { forwardRef as j, useRef as V, useTransition as Kr, useState as _, useLayoutEffect as Ln, useId as qr, useContext as Ke, createContext as yt, useEffect as W, useCallback as Q, useMemo as K, Fragment as Yr, isValidElement as Zr, cloneElement as En, Children as _n } from "react";
5
- import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-CR_-PFTI.js";
6
- import { l as yd, m as Nd, j as Cd, n as kd, s as Sd, D as Id, k as Fd, o as Ad, v as Ld, w as Ed, N as _d, x as Od, p as Td, r as Dd, R as zd, q as Pd, _ as Rd, u as Bd, t as $d } from "./index-CR_-PFTI.js";
5
+ import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-CiHgsM9l.js";
6
+ import { l as yd, m as Nd, j as Cd, n as kd, s as Sd, D as Id, k as Fd, o as Ad, v as Ld, w as Ed, N as _d, x as Od, p as Td, r as Dd, R as zd, q as Pd, _ as Rd, u as Bd, t as $d } from "./index-CiHgsM9l.js";
7
7
  const dl = oa("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
@@ -8228,6 +8228,14 @@ declare type F0SelectBaseProps<T extends string, R = unknown> = {
8228
8228
  * @default false
8229
8229
  */
8230
8230
  showPreview?: boolean;
8231
+ /**
8232
+ * When true, preserves selections when the dataset changes (search, filters,
8233
+ * or sortings). Useful for picker components where the user searches and
8234
+ * filters to find items to add to an existing selection.
8235
+ *
8236
+ * @default true
8237
+ */
8238
+ preserveSelectionOnDatasetChange?: boolean;
8231
8239
  } & WithDataTestIdProps;
8232
8240
 
8233
8241
  /**
@@ -13416,7 +13424,7 @@ export declare function useSchemaDefinition(schema: F0FormSchema, sections?: Rec
13416
13424
  * Custom hook to manage selection state for items and groups in a data table
13417
13425
  * Supports single/multi selection, grouped data, pagination, and filtering
13418
13426
  */
13419
- export declare function useSelectable<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Grouping extends GroupingDefinition<R>>({ data, paginationInfo, source, selectionMode, selectedState, onSelectItems, disableSelectAll, isSearchActive, allPagesSelection, resetOnPageChange, }: UseSelectableProps<R, Filters, Sortings, Grouping>): UseSelectableReturn<R, Filters>;
13427
+ export declare function useSelectable<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Grouping extends GroupingDefinition<R>>({ data, paginationInfo, source, selectionMode, selectedState, onSelectItems, disableSelectAll, isSearchActive, allPagesSelection, resetOnPageChange, preserveSelectionOnDatasetChange, }: UseSelectableProps<R, Filters, Sortings, Grouping>): UseSelectableReturn<R, Filters>;
13420
13428
 
13421
13429
  export declare type UseSelectableProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Grouping extends GroupingDefinition<R>> = {
13422
13430
  data: Data<R>;
@@ -13457,6 +13465,15 @@ export declare type UseSelectableProps<R extends RecordType, Filters extends Fil
13457
13465
  * across loadMore() calls regardless of this flag.
13458
13466
  */
13459
13467
  resetOnPageChange?: boolean;
13468
+ /**
13469
+ * When true, preserves selection when the dataset identity changes
13470
+ * (filters, sortings, or search query). Useful for select/picker
13471
+ * components where the user searches and filters to find items to
13472
+ * add to an existing selection, not to view a different dataset.
13473
+ *
13474
+ * @default false
13475
+ */
13476
+ preserveSelectionOnDatasetChange?: boolean;
13460
13477
  };
13461
13478
 
13462
13479
  export declare type UseSelectableReturn<R extends RecordType, Filters extends FiltersDefinition> = {
@@ -13764,9 +13781,9 @@ declare namespace Calendar {
13764
13781
 
13765
13782
  declare module "@tiptap/core" {
13766
13783
  interface Commands<ReturnType> {
13767
- enhanceHighlight: {
13768
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
13769
- clearEnhanceHighlight: () => ReturnType;
13784
+ aiBlock: {
13785
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
13786
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
13770
13787
  };
13771
13788
  }
13772
13789
  }
@@ -13774,9 +13791,9 @@ declare module "@tiptap/core" {
13774
13791
 
13775
13792
  declare module "@tiptap/core" {
13776
13793
  interface Commands<ReturnType> {
13777
- aiBlock: {
13778
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
13779
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
13794
+ enhanceHighlight: {
13795
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
13796
+ clearEnhanceHighlight: () => ReturnType;
13780
13797
  };
13781
13798
  }
13782
13799
  }
package/dist/f0.js CHANGED
@@ -1,12 +1,12 @@
1
- import { fA as Or, a6 as se, bU as Tn, O as P, P as ht, fB as Mr, W as yt, dH as zo, aS as Yi, fC as Io, a7 as zr, a8 as de, u as oe, ar as he, fr as Ut, U as Bo, ac as Po, M as Ir, fD as un, aO as Oe, aL as hi, fE as Ho, fF as Wo, fG as qo, fH as Ji, a0 as Go, fI as $o, fJ as Br, fK as jo, bd as fi, be as mi, a5 as Fn, bf as gi, aX as Pr, cS as hn, fL as Hr, fM as Uo, eh as Vo, fN as Zi, eg as Qo, fO as Ko, fP as wt, fQ as Vt, fR as Xo, fS as Wr, fT as Yo, fU as Jo, fV as An, fW as Zo, fX as ea, R as We, b0 as ta, d5 as si, d4 as qr, fY as na, fZ as pi, cn as ia, f_ as ra, f$ as Gr, g0 as Ln, g1 as sa, g2 as oa, aI as vi, Q as Ce, aJ as aa, aK as fn, ce as la, g3 as ca, aR as On, fo as bi, g4 as $r, g5 as da, g6 as ua, g7 as ha, g8 as fa, cC as ma, m as ga, dr as pa, aq as jr, f6 as ft, g9 as Ur, f4 as Vr, ga as mn, gb as Qr, ch as Kr, gc as Xr, as as yi, at as xi, gd as wi, aw as Ci, aB as De, ge as Si, aD as xt, gf as At, gg as Lt, av as Ot, gh as Mt, gi as va, gj as Zt, gk as Yr, gl as gn, bM as Pt, gm as _e, cs as ba, gn as Jr, go as ya, gp as pn, cr as xa, cq as wa, gq as Ca, gr as Sa, bO as Mn, aE as zn, gs as Zr, bJ as Ei, bP as Ni, bc as Ea, gt as Ae, gu as Na, gv as _a, gw as es, gx as In, gy as Da, gz as Ra, cx as ts, cj as ns, gA as ka, gB as Ta, gC as Fa, gD as Aa, bp as is, bv as La, fu as Oa, fv as Ma, fx as za, gE as rs, bW as Ia, b_ as Ba, gF as er, c5 as Pa, gG as ss, gH as Ha, gI as Wa } from "./F0AiChat-Ca84otXf.js";
2
- import { hn as Lf, gO as Of, co as Mf, l as zf, gM as If, hB as Bf, bo as Pf, k as Hf, F as Wf, a as qf, C as Gf, he as $f, b as jf, g$ as Uf, bN as Vf, c7 as Qf, _ as Kf, c8 as Xf, gK as Yf, bh as Jf, Y as Zf, X as em, Z as tm, b3 as nm, gV as im, gZ as rm, gL as sm, g_ as om, h0 as am, h2 as lm, hG as cm, bx as dm, n as um, hy as hm, b5 as fm, $ as mm, hi as gm, bB as pm, hj as vm, hl as bm, hm as ym, d2 as xm, d0 as wm, d as Cm, gP as Sm, ho as Em, gQ as Nm, gR as _m, gS as Dm, cO as Rm, cP as km, gJ as Tm, gT as Fm, hF as Am, gU as Lm, bu as Om, d1 as Mm, hk as zm, cQ as Im, cm as Bm, hH as Pm, gW as Hm, gX as Wm, gY as qm, gN as Gm, cR as $m, hA as jm, ht as Um, hg as Vm, h7 as Qm, h6 as Km, h5 as Xm, hd as Ym, hw as Jm, g as Zm, hs as eg, bs as tg, cN as ng, cK as ig, cM as rg, hc as sg, cJ as og, h8 as ag, hr as lg, hq as cg, h9 as dg, cw as ug, cL as hg, h3 as fg, h4 as mg, ha as gg, c as pg, hp as vg, hu as bg, h as yg, hC as xg, hD as wg, hE as Cg, bq as Sg, hf as Eg, h1 as Ng, hh as _g, e as Dg, hz as Rg, hv as kg, j as Tg, i as Fg, bV as Ag, T as Lg, hb as Og, hx as Mg, f as zg, hI as Ig } from "./F0AiChat-Ca84otXf.js";
1
+ import { fA as Or, a6 as se, bU as Tn, O as P, P as ht, fB as Mr, W as yt, dH as zo, aS as Yi, fC as Io, a7 as zr, a8 as de, u as oe, ar as he, fr as Ut, U as Bo, ac as Po, M as Ir, fD as un, aO as Oe, aL as hi, fE as Ho, fF as Wo, fG as qo, fH as Ji, a0 as Go, fI as $o, fJ as Br, fK as jo, bd as fi, be as mi, a5 as Fn, bf as gi, aX as Pr, cS as hn, fL as Hr, fM as Uo, eh as Vo, fN as Zi, eg as Qo, fO as Ko, fP as wt, fQ as Vt, fR as Xo, fS as Wr, fT as Yo, fU as Jo, fV as An, fW as Zo, fX as ea, R as We, b0 as ta, d5 as si, d4 as qr, fY as na, fZ as pi, cn as ia, f_ as ra, f$ as Gr, g0 as Ln, g1 as sa, g2 as oa, aI as vi, Q as Ce, aJ as aa, aK as fn, ce as la, g3 as ca, aR as On, fo as bi, g4 as $r, g5 as da, g6 as ua, g7 as ha, g8 as fa, cC as ma, m as ga, dr as pa, aq as jr, f6 as ft, g9 as Ur, f4 as Vr, ga as mn, gb as Qr, ch as Kr, gc as Xr, as as yi, at as xi, gd as wi, aw as Ci, aB as De, ge as Si, aD as xt, gf as At, gg as Lt, av as Ot, gh as Mt, gi as va, gj as Zt, gk as Yr, gl as gn, bM as Pt, gm as _e, cs as ba, gn as Jr, go as ya, gp as pn, cr as xa, cq as wa, gq as Ca, gr as Sa, bO as Mn, aE as zn, gs as Zr, bJ as Ei, bP as Ni, bc as Ea, gt as Ae, gu as Na, gv as _a, gw as es, gx as In, gy as Da, gz as Ra, cx as ts, cj as ns, gA as ka, gB as Ta, gC as Fa, gD as Aa, bp as is, bv as La, fu as Oa, fv as Ma, fx as za, gE as rs, bW as Ia, b_ as Ba, gF as er, c5 as Pa, gG as ss, gH as Ha, gI as Wa } from "./F0AiChat-DruJdM95.js";
2
+ import { hn as Lf, gO as Of, co as Mf, l as zf, gM as If, hB as Bf, bo as Pf, k as Hf, F as Wf, a as qf, C as Gf, he as $f, b as jf, g$ as Uf, bN as Vf, c7 as Qf, _ as Kf, c8 as Xf, gK as Yf, bh as Jf, Y as Zf, X as em, Z as tm, b3 as nm, gV as im, gZ as rm, gL as sm, g_ as om, h0 as am, h2 as lm, hG as cm, bx as dm, n as um, hy as hm, b5 as fm, $ as mm, hi as gm, bB as pm, hj as vm, hl as bm, hm as ym, d2 as xm, d0 as wm, d as Cm, gP as Sm, ho as Em, gQ as Nm, gR as _m, gS as Dm, cO as Rm, cP as km, gJ as Tm, gT as Fm, hF as Am, gU as Lm, bu as Om, d1 as Mm, hk as zm, cQ as Im, cm as Bm, hH as Pm, gW as Hm, gX as Wm, gY as qm, gN as Gm, cR as $m, hA as jm, ht as Um, hg as Vm, h7 as Qm, h6 as Km, h5 as Xm, hd as Ym, hw as Jm, g as Zm, hs as eg, bs as tg, cN as ng, cK as ig, cM as rg, hc as sg, cJ as og, h8 as ag, hr as lg, hq as cg, h9 as dg, cw as ug, cL as hg, h3 as fg, h4 as mg, ha as gg, c as pg, hp as vg, hu as bg, h as yg, hC as xg, hD as wg, hE as Cg, bq as Sg, hf as Eg, h1 as Ng, hh as _g, e as Dg, hz as Rg, hv as kg, j as Tg, i as Fg, bV as Ag, T as Lg, hb as Og, hx as Mg, f as zg, hI as Ig } from "./F0AiChat-DruJdM95.js";
3
3
  import { jsx as l, jsxs as C, Fragment as we } from "react/jsx-runtime";
4
4
  import ae, { forwardRef as qe, useRef as W, useImperativeHandle as qa, Children as vn, createContext as Qe, useContext as Re, useState as j, useMemo as B, useEffect as V, useCallback as I, useLayoutEffect as oi, createElement as en, isValidElement as os, Fragment as Ga, memo as as, useReducer as $a, cloneElement as ja, useId as ls } from "react";
5
- import { g as Ua, h as Va } from "./types-VRQgNN6R.js";
6
- import { A as Pg, e as Hg, F as Wg, c as qg, d as Gg, b as $g, a as jg, f as Ug, o as Vg, u as Qg } from "./types-VRQgNN6R.js";
5
+ import { g as Ua, h as Va } from "./types-CJRIQ95d.js";
6
+ import { A as Pg, e as Hg, F as Wg, c as qg, d as Gg, b as $g, a as jg, f as Ug, o as Vg, u as Qg } from "./types-CJRIQ95d.js";
7
7
  import { createPortal as cs, unstable_batchedUpdates as tn } from "react-dom";
8
- import { C as Qa, D as Ka, y as Xa, j as Ya } from "./index-CR_-PFTI.js";
9
- import { l as Xg, m as Yg, n as Jg, s as Zg, F as ep, o as tp, v as np, w as ip, N as rp, x as sp, p as op, P as ap, r as lp, R as cp, q as dp, _ as up, u as hp, t as fp } from "./index-CR_-PFTI.js";
8
+ import { C as Qa, D as Ka, y as Xa, j as Ya } from "./index-CiHgsM9l.js";
9
+ import { l as Xg, m as Yg, n as Jg, s as Zg, F as ep, o as tp, v as np, w as ip, N as rp, x as sp, p as op, P as ap, r as lp, R as cp, q as dp, _ as up, u as hp, t as fp } from "./index-CiHgsM9l.js";
10
10
  import { defaultTranslations as gp } from "./i18n-provider-defaults.js";
11
11
  import './f0.css';const Ja = {
12
12
  xs: 1,
@@ -833,9 +833,9 @@ declare namespace Calendar {
833
833
 
834
834
  declare module "@tiptap/core" {
835
835
  interface Commands<ReturnType> {
836
- enhanceHighlight: {
837
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
838
- clearEnhanceHighlight: () => ReturnType;
836
+ aiBlock: {
837
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
838
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
839
839
  };
840
840
  }
841
841
  }
@@ -843,9 +843,9 @@ declare module "@tiptap/core" {
843
843
 
844
844
  declare module "@tiptap/core" {
845
845
  interface Commands<ReturnType> {
846
- aiBlock: {
847
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
848
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
846
+ enhanceHighlight: {
847
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
848
+ clearEnhanceHighlight: () => ReturnType;
849
849
  };
850
850
  }
851
851
  }
@@ -1,7 +1,7 @@
1
1
  import { jsxs as A, jsx as g, Fragment as tn } from "react/jsx-runtime";
2
2
  import * as U from "react";
3
3
  import C, { useRef as At, useState as de, useCallback as Ye, useEffect as it, useLayoutEffect as pc, PureComponent as Wn, useMemo as Ps, forwardRef as Nt, useId as mc, useImperativeHandle as gc } from "react";
4
- import { M as Tn, aG as lf, O as Y, ax as cf, d4 as uf, d5 as df, P as Ds, a6 as Re, aO as yc, d6 as Sn, d7 as ff, d8 as hf, d9 as Na, da as Pa, db as Da, dc as Ma, dd as Ia, de as pf, df as mf, dg as gf, dh as yf, di as bc, dj as vc, aW as Nn, dk as _e, dl as W, dm as Me, dn as wc, dp as bf, dq as xc, dr as Ms, ds as vf, dt as ge, du as Ki, dv as ie, dw as Sc, dx as Gi, dy as Is, dz as Ls, dA as Rs, dB as he, dC as Pe, dD as Ho, dE as Yi, dF as wf, dG as Oe, dH as qi, dI as Ne, dJ as hn, dK as $s, dL as Xi, dM as ui, dN as Ji, c9 as js, dO as xf, dP as Zr, dQ as Si, dR as Sf, dS as kf, dT as Af, dU as Cf, dV as Ef, dW as Of, dX as kc, dY as Ac, dZ as Cc, d_ as Ec, d$ as Oc, e0 as _f, e1 as ki, e2 as Tf, e3 as Nf, e4 as Rr, e5 as Wt, a3 as Ot, e6 as Fs, e7 as $r, e8 as _c, a4 as Tc, e9 as Pf, ea as Df, a1 as Mf, eb as If, bV as Lf, a2 as Rf, ec as ve, ed as we, ag as $f, ah as jf, ai as Ff, al as zf, ee as Bf, ef as Vf, eg as Nc, bU as Pt, ar as on, bp as Hf, Q as ce, aE as zs, eh as Wf, cJ as Ce, ei as So, ej as Qe, ek as mt, el as $e, em as Uf, en as di, eo as nt, ep as Pc, eq as qe, er as Bs, es as Ze, et as La, eu as Kf, ev as Dc, ew as ye, ex as Ve, ey as br, ez as Ai, eA as Mc, eB as Gf, eC as pn, eD as Yf, eE as qf, eF as Xf, a8 as j, aS as Ic, bu as Jf, a7 as Lc, eG as jr, eH as Fr, eI as Vs, eJ as Zf, eK as Rc, eL as $c, eM as jc, eN as Qf, eO as Fc, eP as zc, eQ as Bc, eR as Vc, eS as Hc, eT as Wc, eU as eh, eV as th, u as Un, aN as nh, bM as Zi, U as rh, W as Qr, bo as ih, b7 as oh, br as sh, eW as ah, eX as lh, eY as ch, eZ as uh, e_ as dh, e$ as fh, aJ as Uc, aK as Hs, aL as Ws, f0 as Ra, f1 as hh, f2 as ph, f3 as mh, f4 as gh, f5 as yh, f6 as bh, f7 as vh, f8 as wh, f9 as xh, fa as Sh, fb as kh, fc as Ah, fd as Ch, fe as Eh, ff as Oh, fg as _h, fh as Th, X as Nh, fi as Ph, fj as Dh, fk as Mh, fl as Ih, fm as Lh, fn as Rh, fo as $h, b3 as jh, aX as Kc, fp as Fh, c7 as Gc, fq as zh, b2 as Bh, fr as Vh, fs as Hh, ft as Wh, fu as Uh, fv as Kh, fw as Gh, fx as Yh, fy as qh, fz as Xh } from "./F0AiChat-Ca84otXf.js";
4
+ import { M as Tn, aG as lf, O as Y, ax as cf, d4 as uf, d5 as df, P as Ds, a6 as Re, aO as yc, d6 as Sn, d7 as ff, d8 as hf, d9 as Na, da as Pa, db as Da, dc as Ma, dd as Ia, de as pf, df as mf, dg as gf, dh as yf, di as bc, dj as vc, aW as Nn, dk as _e, dl as W, dm as Me, dn as wc, dp as bf, dq as xc, dr as Ms, ds as vf, dt as ge, du as Ki, dv as ie, dw as Sc, dx as Gi, dy as Is, dz as Ls, dA as Rs, dB as he, dC as Pe, dD as Ho, dE as Yi, dF as wf, dG as Oe, dH as qi, dI as Ne, dJ as hn, dK as $s, dL as Xi, dM as ui, dN as Ji, c9 as js, dO as xf, dP as Zr, dQ as Si, dR as Sf, dS as kf, dT as Af, dU as Cf, dV as Ef, dW as Of, dX as kc, dY as Ac, dZ as Cc, d_ as Ec, d$ as Oc, e0 as _f, e1 as ki, e2 as Tf, e3 as Nf, e4 as Rr, e5 as Wt, a3 as Ot, e6 as Fs, e7 as $r, e8 as _c, a4 as Tc, e9 as Pf, ea as Df, a1 as Mf, eb as If, bV as Lf, a2 as Rf, ec as ve, ed as we, ag as $f, ah as jf, ai as Ff, al as zf, ee as Bf, ef as Vf, eg as Nc, bU as Pt, ar as on, bp as Hf, Q as ce, aE as zs, eh as Wf, cJ as Ce, ei as So, ej as Qe, ek as mt, el as $e, em as Uf, en as di, eo as nt, ep as Pc, eq as qe, er as Bs, es as Ze, et as La, eu as Kf, ev as Dc, ew as ye, ex as Ve, ey as br, ez as Ai, eA as Mc, eB as Gf, eC as pn, eD as Yf, eE as qf, eF as Xf, a8 as j, aS as Ic, bu as Jf, a7 as Lc, eG as jr, eH as Fr, eI as Vs, eJ as Zf, eK as Rc, eL as $c, eM as jc, eN as Qf, eO as Fc, eP as zc, eQ as Bc, eR as Vc, eS as Hc, eT as Wc, eU as eh, eV as th, u as Un, aN as nh, bM as Zi, U as rh, W as Qr, bo as ih, b7 as oh, br as sh, eW as ah, eX as lh, eY as ch, eZ as uh, e_ as dh, e$ as fh, aJ as Uc, aK as Hs, aL as Ws, f0 as Ra, f1 as hh, f2 as ph, f3 as mh, f4 as gh, f5 as yh, f6 as bh, f7 as vh, f8 as wh, f9 as xh, fa as Sh, fb as kh, fc as Ah, fd as Ch, fe as Eh, ff as Oh, fg as _h, fh as Th, X as Nh, fi as Ph, fj as Dh, fk as Mh, fl as Ih, fm as Lh, fn as Rh, fo as $h, b3 as jh, aX as Kc, fp as Fh, c7 as Gc, fq as zh, b2 as Bh, fr as Vh, fs as Hh, ft as Wh, fu as Uh, fv as Kh, fw as Gh, fx as Yh, fy as qh, fz as Xh } from "./F0AiChat-DruJdM95.js";
5
5
  import './index.css';const Jh = {
6
6
  active: !0,
7
7
  breakpoints: {},
@@ -1,7 +1,7 @@
1
1
  import { defaultTranslations as rt } from "./i18n-provider-defaults.js";
2
2
  import { jsx as h, jsxs as M, Fragment as Ge } from "react/jsx-runtime";
3
3
  import { useInsertionEffect as nt, forwardRef as me, createContext as ot, useContext as it, useRef as D, useEffect as ue, useState as de, useCallback as at, useMemo as st, useId as ct, createElement as lt } from "react";
4
- import { r as ut, o as dt, p as ft, q as ht, s as ke, t as mt, v as pt, w as vt, x as gt, y as wt, z as We, A as bt, V as yt, B as Tt, D as xt, E as At, S as Et, H as Rt, G as fe, J as Ct, K as St, L as Lt, M as It, N as Ft, O as X, P as ie, Q as we, R as _t, u as Nt, T as ze, U as Pt, W as he, X as Ut, Y as Mt, Z as Bt, _ as Ot, $ as Vt, a0 as Dt, a1 as Gt, a2 as kt, a3 as Wt, a4 as zt, a5 as Xt, a6 as Yt, a7 as $t, a8 as oe } from "./F0AiChat-Ca84otXf.js";
4
+ import { r as ut, o as dt, p as ft, q as ht, s as ke, t as mt, v as pt, w as vt, x as gt, y as wt, z as We, A as bt, V as yt, B as Tt, D as xt, E as At, S as Et, H as Rt, G as fe, J as Ct, K as St, L as Lt, M as It, N as Ft, O as X, P as ie, Q as we, R as _t, u as Nt, T as ze, U as Pt, W as he, X as Ut, Y as Mt, Z as Bt, _ as Ot, $ as Vt, a0 as Dt, a1 as Gt, a2 as kt, a3 as Wt, a4 as zt, a5 as Xt, a6 as Yt, a7 as $t, a8 as oe } from "./F0AiChat-DruJdM95.js";
5
5
  import { useTrackVolume as qt } from "@livekit/components-react";
6
6
  function Ht(t, e, r) {
7
7
  nt(() => t.on(e, r), [t, e, r]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.474.0",
3
+ "version": "1.474.2",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",