@factorialco/f0-react 1.479.0 → 1.479.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.
@@ -231007,7 +231007,7 @@ const QHr = (e, t) => /* @__PURE__ */ f(
231007
231007
  );
231008
231008
  const V = _ !== void 0 && i.has(_), R = v?.(t) ?? "none", z = g ? J(
231009
231009
  "h-[48px] p-0 align-middle last:pr-0",
231010
- !p && "first:pl-0"
231010
+ !p && (y === "editableTable" ? "first:pl-3" : "first:pl-0")
231011
231011
  ) : void 0;
231012
231012
  return /* @__PURE__ */ P(
231013
231013
  P4,
package/dist/ai.d.ts CHANGED
@@ -3424,16 +3424,11 @@ declare module "gridstack" {
3424
3424
  }
3425
3425
 
3426
3426
 
3427
- declare namespace Calendar {
3428
- var displayName: string;
3429
- }
3430
-
3431
-
3432
3427
  declare module "@tiptap/core" {
3433
3428
  interface Commands<ReturnType> {
3434
- enhanceHighlight: {
3435
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
3436
- clearEnhanceHighlight: () => ReturnType;
3429
+ aiBlock: {
3430
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
3431
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
3437
3432
  };
3438
3433
  }
3439
3434
  }
@@ -3441,9 +3436,9 @@ declare module "@tiptap/core" {
3441
3436
 
3442
3437
  declare module "@tiptap/core" {
3443
3438
  interface Commands<ReturnType> {
3444
- aiBlock: {
3445
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
3446
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
3439
+ enhanceHighlight: {
3440
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
3441
+ clearEnhanceHighlight: () => ReturnType;
3447
3442
  };
3448
3443
  }
3449
3444
  }
@@ -3476,3 +3471,8 @@ declare module "@tiptap/core" {
3476
3471
  };
3477
3472
  }
3478
3473
  }
3474
+
3475
+
3476
+ declare namespace Calendar {
3477
+ var displayName: string;
3478
+ }
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-CQBYN-io.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-BgtCtQqu.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-DObHp2L4.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-D9nsu4O-.js";
4
4
  export {
5
5
  v as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
@@ -8156,16 +8156,11 @@ declare module "gridstack" {
8156
8156
  }
8157
8157
 
8158
8158
 
8159
- declare namespace Calendar {
8160
- var displayName: string;
8161
- }
8162
-
8163
-
8164
8159
  declare module "@tiptap/core" {
8165
8160
  interface Commands<ReturnType> {
8166
- enhanceHighlight: {
8167
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8168
- clearEnhanceHighlight: () => ReturnType;
8161
+ aiBlock: {
8162
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8163
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8169
8164
  };
8170
8165
  }
8171
8166
  }
@@ -8173,9 +8168,9 @@ declare module "@tiptap/core" {
8173
8168
 
8174
8169
  declare module "@tiptap/core" {
8175
8170
  interface Commands<ReturnType> {
8176
- aiBlock: {
8177
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8178
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8171
+ enhanceHighlight: {
8172
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8173
+ clearEnhanceHighlight: () => ReturnType;
8179
8174
  };
8180
8175
  }
8181
8176
  }
@@ -8208,3 +8203,8 @@ declare module "@tiptap/core" {
8208
8203
  };
8209
8204
  }
8210
8205
  }
8206
+
8207
+
8208
+ declare namespace Calendar {
8209
+ var displayName: string;
8210
+ }
@@ -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-CQBYN-io.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-CQBYN-io.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-BgtCtQqu.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-BgtCtQqu.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-DDezvsLK.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-DDezvsLK.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-Bi0YqTEB.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-Bi0YqTEB.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
@@ -55,6 +55,7 @@ import { F0AvatarTeamProps as F0AvatarTeamProps_2 } from './F0AvatarTeam';
55
55
  import { F0DataChartProps as F0DataChartProps_2 } from './types';
56
56
  import { F0DialogInternalProps } from './internal-types';
57
57
  import { F0DurationInputProps as F0DurationInputProps_2 } from './types';
58
+ import { F0FormDefinition as F0FormDefinition_2 } from './f0';
58
59
  import { F0FormDefinitionPerSection as F0FormDefinitionPerSection_2 } from './f0';
59
60
  import { F0FormDefinitionSingleSchema as F0FormDefinitionSingleSchema_2 } from './f0';
60
61
  import { F0GridStackProps as F0GridStackProps_2 } from './F0GridStack';
@@ -7041,6 +7042,7 @@ export declare const F0Form: {
7041
7042
  <T extends F0PerSectionSchema>(props: F0FormPropsWithPerSectionSchema<T>): React.ReactElement;
7042
7043
  <TSchema extends F0FormSchema>(props: F0FormPropsWithSingleSchemaDefinition<TSchema>): React.ReactElement;
7043
7044
  <T extends F0PerSectionSchema>(props: F0FormPropsWithPerSectionDefinition<T>): React.ReactElement;
7045
+ (props: F0FormPropsWithDefinition): React.ReactElement;
7044
7046
  };
7045
7047
 
7046
7048
  /**
@@ -7514,6 +7516,33 @@ export declare type F0FormLikeComponent = React.ComponentType<F0FormCommonProps>
7514
7516
  */
7515
7517
  export declare type F0FormProps<TSchema extends F0FormSchema | F0PerSectionSchema = F0FormSchema | F0PerSectionSchema> = TSchema extends F0FormSchema ? F0FormPropsWithSingleSchema<TSchema> | F0FormPropsWithSingleSchemaDefinition<TSchema> : TSchema extends F0PerSectionSchema ? F0FormPropsWithPerSectionSchema<TSchema> | F0FormPropsWithPerSectionDefinition<TSchema> : never;
7516
7518
 
7519
+ /**
7520
+ * Props for F0Form when the formDefinition is a union (`F0FormDefinition`).
7521
+ * This non-generic variant allows passing a definition whose exact schema
7522
+ * branch is not statically known (e.g. stored in state or returned from a
7523
+ * generic helper).
7524
+ */
7525
+ declare interface F0FormPropsWithDefinition {
7526
+ formDefinition: F0FormDefinition_2;
7527
+ className?: string;
7528
+ styling?: F0FormStylingConfig;
7529
+ formRef?: React.MutableRefObject<F0FormRef | null>;
7530
+ initialFiles?: InitialFile[];
7531
+ /** Upload hook shared by all file fields in the form. */
7532
+ useUpload?: UseFileUpload;
7533
+ /**
7534
+ * Callback that renders custom fields identified by `customFieldName`.
7535
+ * When a field has `customFieldName`, this function is called instead of the inline `render`.
7536
+ */
7537
+ renderCustomField?: RenderCustomFieldFunction;
7538
+ /**
7539
+ * Whether async defaultValues are still being resolved.
7540
+ * When true, the form renders with loading indicators inside each field
7541
+ * instead of replacing the entire form with skeleton placeholders.
7542
+ */
7543
+ isLoading?: boolean;
7544
+ }
7545
+
7517
7546
  /**
7518
7547
  * Props for F0Form using a formDefinition (per-section schema mode).
7519
7548
  * Form-related props are extracted from the definition; only rendering/integration
@@ -13820,16 +13849,11 @@ declare module "gridstack" {
13820
13849
  }
13821
13850
 
13822
13851
 
13823
- declare namespace Calendar {
13824
- var displayName: string;
13825
- }
13826
-
13827
-
13828
13852
  declare module "@tiptap/core" {
13829
13853
  interface Commands<ReturnType> {
13830
- enhanceHighlight: {
13831
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
13832
- clearEnhanceHighlight: () => ReturnType;
13854
+ aiBlock: {
13855
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
13856
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
13833
13857
  };
13834
13858
  }
13835
13859
  }
@@ -13837,9 +13861,9 @@ declare module "@tiptap/core" {
13837
13861
 
13838
13862
  declare module "@tiptap/core" {
13839
13863
  interface Commands<ReturnType> {
13840
- aiBlock: {
13841
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
13842
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
13864
+ enhanceHighlight: {
13865
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
13866
+ clearEnhanceHighlight: () => ReturnType;
13843
13867
  };
13844
13868
  }
13845
13869
  }
@@ -13872,3 +13896,8 @@ declare module "@tiptap/core" {
13872
13896
  };
13873
13897
  }
13874
13898
  }
13899
+
13900
+
13901
+ declare namespace Calendar {
13902
+ var displayName: string;
13903
+ }
package/dist/f0.js CHANGED
@@ -1,12 +1,12 @@
1
- import { fA as Or, a6 as se, bU as Fn, O as P, P as mt, fB as Mr, W as xt, dH as Bo, aS as Yi, fC as Po, a7 as zr, a8 as de, u as oe, ar as fe, fr as Vt, U as Ho, ac as Wo, M as Ir, fD as hn, aO as Oe, aL as mi, fE as qo, fF as Go, fG as $o, fH as Ji, a0 as jo, fI as Uo, fJ as Br, fK as Vo, bd as gi, be as pi, a5 as An, bf as vi, aX as Pr, cS as fn, fL as Hr, fM as Qo, eh as Ko, fN as Zi, eg as Xo, fO as Yo, fP as Ct, fQ as Qt, fR as Jo, fS as Wr, fT as Zo, fU as ea, fV as Ln, fW as ta, fX as na, R as He, b0 as ia, d5 as ai, d4 as qr, fY as ra, fZ as bi, cn as sa, f_ as oa, f$ as Gr, g0 as On, g1 as aa, g2 as la, aI as yi, Q as Ce, aJ as ca, aK as mn, ce as da, g3 as ua, aR as Mn, fo as xi, g4 as $r, g5 as ha, g6 as fa, g7 as ma, g8 as ga, cC as pa, m as va, dr as ba, aq as jr, f6 as gt, g9 as Ur, f4 as Vr, ga as gn, gb as Qr, ch as Kr, gc as Xr, as as wi, at as Ci, gd as Si, aw as Ei, aB as De, ge as Ni, aD as wt, gf as Lt, gg as Ot, av as Mt, gh as zt, gi as ya, gj as en, gk as Yr, gl as pn, bM as Ht, gm as _e, cs as xa, gn as Jr, go as wa, gp as vn, cr as Ca, cq as Sa, gq as Ea, gr as Na, bO as zn, aE as In, gs as Zr, bJ as _i, bP as Di, bc as _a, gt as Ae, gu as Da, gv as Ra, gw as es, gx as Bn, gy as ka, gz as Ta, cx as ts, cj as ns, gA as Fa, gB as Aa, gC as La, gD as Oa, bp as is, bv as Ma, fu as za, fv as Ia, fx as Ba, gE as rs, bW as Pa, b_ as Ha, gF as er, c5 as Wa, gG as ss, gH as qa, gI as Ga } from "./F0AiChat-CQBYN-io.js";
2
- import { hn as Mf, gO as zf, co as If, l as Bf, gM as Pf, hB as Hf, bo as Wf, k as qf, F as Gf, a as $f, C as jf, he as Uf, b as Vf, g$ as Qf, bN as Kf, c7 as Xf, _ as Yf, c8 as Jf, gK as Zf, bh as em, Y as tm, X as nm, Z as im, b3 as rm, gV as sm, gZ as om, gL as am, g_ as lm, h0 as cm, h2 as dm, hG as um, bx as hm, n as fm, hy as mm, b5 as gm, $ as pm, hi as vm, bB as bm, hj as ym, hl as xm, hm as wm, d2 as Cm, d0 as Sm, d as Em, gP as Nm, ho as _m, gQ as Dm, gR as Rm, gS as km, cO as Tm, cP as Fm, gJ as Am, gT as Lm, hF as Om, gU as Mm, bu as zm, d1 as Im, hk as Bm, cQ as Pm, cm as Hm, hH as Wm, gW as qm, gX as Gm, gY as $m, gN as jm, cR as Um, hA as Vm, ht as Qm, hg as Km, h7 as Xm, h6 as Ym, h5 as Jm, hd as Zm, hw as eg, g as tg, hs as ng, bs as ig, cN as rg, cK as sg, cM as og, hc as ag, cJ as lg, h8 as cg, hr as dg, hq as ug, h9 as hg, cw as fg, cL as mg, h3 as gg, h4 as pg, ha as vg, c as bg, hp as yg, hu as xg, h as wg, hC as Cg, hD as Sg, hE as Eg, bq as Ng, hf as _g, h1 as Dg, hh as Rg, e as kg, hz as Tg, hv as Fg, j as Ag, i as Lg, bV as Og, T as Mg, hb as zg, hx as Ig, f as Bg, hI as Pg } from "./F0AiChat-CQBYN-io.js";
1
+ import { fA as Or, a6 as se, bU as Fn, O as P, P as mt, fB as Mr, W as xt, dH as Bo, aS as Yi, fC as Po, a7 as zr, a8 as de, u as oe, ar as fe, fr as Vt, U as Ho, ac as Wo, M as Ir, fD as hn, aO as Oe, aL as mi, fE as qo, fF as Go, fG as $o, fH as Ji, a0 as jo, fI as Uo, fJ as Br, fK as Vo, bd as gi, be as pi, a5 as An, bf as vi, aX as Pr, cS as fn, fL as Hr, fM as Qo, eh as Ko, fN as Zi, eg as Xo, fO as Yo, fP as Ct, fQ as Qt, fR as Jo, fS as Wr, fT as Zo, fU as ea, fV as Ln, fW as ta, fX as na, R as He, b0 as ia, d5 as ai, d4 as qr, fY as ra, fZ as bi, cn as sa, f_ as oa, f$ as Gr, g0 as On, g1 as aa, g2 as la, aI as yi, Q as Ce, aJ as ca, aK as mn, ce as da, g3 as ua, aR as Mn, fo as xi, g4 as $r, g5 as ha, g6 as fa, g7 as ma, g8 as ga, cC as pa, m as va, dr as ba, aq as jr, f6 as gt, g9 as Ur, f4 as Vr, ga as gn, gb as Qr, ch as Kr, gc as Xr, as as wi, at as Ci, gd as Si, aw as Ei, aB as De, ge as Ni, aD as wt, gf as Lt, gg as Ot, av as Mt, gh as zt, gi as ya, gj as en, gk as Yr, gl as pn, bM as Ht, gm as _e, cs as xa, gn as Jr, go as wa, gp as vn, cr as Ca, cq as Sa, gq as Ea, gr as Na, bO as zn, aE as In, gs as Zr, bJ as _i, bP as Di, bc as _a, gt as Ae, gu as Da, gv as Ra, gw as es, gx as Bn, gy as ka, gz as Ta, cx as ts, cj as ns, gA as Fa, gB as Aa, gC as La, gD as Oa, bp as is, bv as Ma, fu as za, fv as Ia, fx as Ba, gE as rs, bW as Pa, b_ as Ha, gF as er, c5 as Wa, gG as ss, gH as qa, gI as Ga } from "./F0AiChat-BgtCtQqu.js";
2
+ import { hn as Mf, gO as zf, co as If, l as Bf, gM as Pf, hB as Hf, bo as Wf, k as qf, F as Gf, a as $f, C as jf, he as Uf, b as Vf, g$ as Qf, bN as Kf, c7 as Xf, _ as Yf, c8 as Jf, gK as Zf, bh as em, Y as tm, X as nm, Z as im, b3 as rm, gV as sm, gZ as om, gL as am, g_ as lm, h0 as cm, h2 as dm, hG as um, bx as hm, n as fm, hy as mm, b5 as gm, $ as pm, hi as vm, bB as bm, hj as ym, hl as xm, hm as wm, d2 as Cm, d0 as Sm, d as Em, gP as Nm, ho as _m, gQ as Dm, gR as Rm, gS as km, cO as Tm, cP as Fm, gJ as Am, gT as Lm, hF as Om, gU as Mm, bu as zm, d1 as Im, hk as Bm, cQ as Pm, cm as Hm, hH as Wm, gW as qm, gX as Gm, gY as $m, gN as jm, cR as Um, hA as Vm, ht as Qm, hg as Km, h7 as Xm, h6 as Ym, h5 as Jm, hd as Zm, hw as eg, g as tg, hs as ng, bs as ig, cN as rg, cK as sg, cM as og, hc as ag, cJ as lg, h8 as cg, hr as dg, hq as ug, h9 as hg, cw as fg, cL as mg, h3 as gg, h4 as pg, ha as vg, c as bg, hp as yg, hu as xg, h as wg, hC as Cg, hD as Sg, hE as Eg, bq as Ng, hf as _g, h1 as Dg, hh as Rg, e as kg, hz as Tg, hv as Fg, j as Ag, i as Lg, bV as Og, T as Mg, hb as zg, hx as Ig, f as Bg, hI as Pg } from "./F0AiChat-BgtCtQqu.js";
3
3
  import { jsx as l, jsxs as C, Fragment as we } from "react/jsx-runtime";
4
4
  import ae, { forwardRef as We, useRef as W, useImperativeHandle as $a, Children as bn, createContext as Ke, useContext as Re, useState as j, useMemo as B, useEffect as V, useCallback as I, useLayoutEffect as li, createElement as tn, isValidElement as os, Fragment as ja, memo as as, useReducer as Ua, cloneElement as Va, useId as ls } from "react";
5
- import { g as Qa, h as Ka } from "./types-DObHp2L4.js";
6
- import { A as Wg, e as qg, F as Gg, c as $g, d as jg, b as Ug, a as Vg, f as Qg, o as Kg, u as Xg } from "./types-DObHp2L4.js";
5
+ import { g as Qa, h as Ka } from "./types-D9nsu4O-.js";
6
+ import { A as Wg, e as qg, F as Gg, c as $g, d as jg, b as Ug, a as Vg, f as Qg, o as Kg, u as Xg } from "./types-D9nsu4O-.js";
7
7
  import { createPortal as cs, unstable_batchedUpdates as nn } from "react-dom";
8
- import { C as Xa, D as Ya, y as Ja, j as Za } from "./index-DDezvsLK.js";
9
- import { l as Jg, m as Zg, n as ep, s as tp, F as np, o as ip, v as rp, w as sp, N as op, x as ap, p as lp, P as cp, r as dp, R as up, q as hp, _ as fp, u as mp, t as gp } from "./index-DDezvsLK.js";
8
+ import { C as Xa, D as Ya, y as Ja, j as Za } from "./index-Bi0YqTEB.js";
9
+ import { l as Jg, m as Zg, n as ep, s as tp, F as np, o as ip, v as rp, w as sp, N as op, x as ap, p as lp, P as cp, r as dp, R as up, q as hp, _ as fp, u as mp, t as gp } from "./index-Bi0YqTEB.js";
10
10
  import { defaultTranslations as vp } from "./i18n-provider-defaults.js";
11
11
  import './f0.css';const el = {
12
12
  xs: 1,
@@ -831,16 +831,11 @@ declare module "gridstack" {
831
831
  }
832
832
 
833
833
 
834
- declare namespace Calendar {
835
- var displayName: string;
836
- }
837
-
838
-
839
834
  declare module "@tiptap/core" {
840
835
  interface Commands<ReturnType> {
841
- enhanceHighlight: {
842
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
843
- clearEnhanceHighlight: () => ReturnType;
836
+ aiBlock: {
837
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
838
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
844
839
  };
845
840
  }
846
841
  }
@@ -848,9 +843,9 @@ declare module "@tiptap/core" {
848
843
 
849
844
  declare module "@tiptap/core" {
850
845
  interface Commands<ReturnType> {
851
- aiBlock: {
852
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
853
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
846
+ enhanceHighlight: {
847
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
848
+ clearEnhanceHighlight: () => ReturnType;
854
849
  };
855
850
  }
856
851
  }
@@ -883,3 +878,8 @@ declare module "@tiptap/core" {
883
878
  };
884
879
  }
885
880
  }
881
+
882
+
883
+ declare namespace Calendar {
884
+ var displayName: string;
885
+ }
@@ -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-CQBYN-io.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-BgtCtQqu.js";
5
5
  import './index.css';const Jh = {
6
6
  active: !0,
7
7
  breakpoints: {},