@factorialco/f0-react 1.458.2 → 1.459.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.
package/dist/ai.d.ts CHANGED
@@ -1958,6 +1958,7 @@ export declare const defaultTranslations: {
1958
1958
  readonly uploadFailed: "Upload failed";
1959
1959
  readonly fileTooLarge: "File exceeds {{maxSize}} MB limit";
1960
1960
  readonly invalidFileType: "File type not accepted. Accepted formats: {{types}}";
1961
+ readonly maxFilesReached: "Maximum {{maxFiles}} files";
1961
1962
  };
1962
1963
  readonly moreInformation: "More information";
1963
1964
  readonly validation: {
@@ -3209,13 +3210,8 @@ declare module "gridstack" {
3209
3210
  }
3210
3211
 
3211
3212
 
3212
- declare module "@tiptap/core" {
3213
- interface Commands<ReturnType> {
3214
- enhanceHighlight: {
3215
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
3216
- clearEnhanceHighlight: () => ReturnType;
3217
- };
3218
- }
3213
+ declare namespace Calendar {
3214
+ var displayName: string;
3219
3215
  }
3220
3216
 
3221
3217
 
@@ -3240,10 +3236,9 @@ declare module "@tiptap/core" {
3240
3236
 
3241
3237
  declare module "@tiptap/core" {
3242
3238
  interface Commands<ReturnType> {
3243
- videoEmbed: {
3244
- setVideoEmbed: (options: {
3245
- src: string;
3246
- }) => ReturnType;
3239
+ enhanceHighlight: {
3240
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
3241
+ clearEnhanceHighlight: () => ReturnType;
3247
3242
  };
3248
3243
  }
3249
3244
  }
@@ -3258,6 +3253,12 @@ declare module "@tiptap/core" {
3258
3253
  }
3259
3254
 
3260
3255
 
3261
- declare namespace Calendar {
3262
- var displayName: string;
3256
+ declare module "@tiptap/core" {
3257
+ interface Commands<ReturnType> {
3258
+ videoEmbed: {
3259
+ setVideoEmbed: (options: {
3260
+ src: string;
3261
+ }) => ReturnType;
3262
+ };
3263
+ }
3263
3264
  }
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-DCBZKVBj.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-aV22-Ha-.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-BSfiLtJG.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-BnAOrOU4.js";
4
4
  export {
5
5
  v as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
@@ -3340,6 +3340,7 @@ declare const defaultTranslations: {
3340
3340
  readonly uploadFailed: "Upload failed";
3341
3341
  readonly fileTooLarge: "File exceeds {{maxSize}} MB limit";
3342
3342
  readonly invalidFileType: "File type not accepted. Accepted formats: {{types}}";
3343
+ readonly maxFilesReached: "Maximum {{maxFiles}} files";
3343
3344
  };
3344
3345
  readonly moreInformation: "More information";
3345
3346
  readonly validation: {
@@ -8015,13 +8016,8 @@ declare module "gridstack" {
8015
8016
  }
8016
8017
 
8017
8018
 
8018
- declare module "@tiptap/core" {
8019
- interface Commands<ReturnType> {
8020
- enhanceHighlight: {
8021
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8022
- clearEnhanceHighlight: () => ReturnType;
8023
- };
8024
- }
8019
+ declare namespace Calendar {
8020
+ var displayName: string;
8025
8021
  }
8026
8022
 
8027
8023
 
@@ -8046,10 +8042,9 @@ declare module "@tiptap/core" {
8046
8042
 
8047
8043
  declare module "@tiptap/core" {
8048
8044
  interface Commands<ReturnType> {
8049
- videoEmbed: {
8050
- setVideoEmbed: (options: {
8051
- src: string;
8052
- }) => ReturnType;
8045
+ enhanceHighlight: {
8046
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8047
+ clearEnhanceHighlight: () => ReturnType;
8053
8048
  };
8054
8049
  }
8055
8050
  }
@@ -8064,6 +8059,12 @@ declare module "@tiptap/core" {
8064
8059
  }
8065
8060
 
8066
8061
 
8067
- declare namespace Calendar {
8068
- var displayName: string;
8062
+ declare module "@tiptap/core" {
8063
+ interface Commands<ReturnType> {
8064
+ videoEmbed: {
8065
+ setVideoEmbed: (options: {
8066
+ src: string;
8067
+ }) => ReturnType;
8068
+ };
8069
+ }
8069
8070
  }
@@ -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, ag as ht, ah as rt, ai as Be, O as b, W as Z, P as be, u as se, aj as ma, ak as ha, al as pa, am as ba, an as ga, a5 as oe, ao as xa, 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 ge, 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 xe, aI as $e, aJ as _a, aK as pt, 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 pe, 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 pn, bj as tr, bk as nr, bl as bn, bm as ar, bn as rr, T as Ue, bo as bt, 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 pr, bF as br, 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-DCBZKVBj.js";
2
- import { cF as Ac, cE as Lc, co as Ec, cR as _c, cy as Oc, cz as Tc, cn as Dc, cB as zc, cp as Pc, d1 as Rc, c$ as Bc, cq as $c, cC as Wc, cD as Mc, cA as jc, cr as Vc, cN as Gc, cO as Hc, cS as Uc, cZ as Kc, c_ as qc, d0 as Yc, cx as Zc, cs as Xc, cH as Jc, cG as Qc, ct as ed, cu as td, cv as nd, cP as ad, d2 as rd, cm as ld, cQ as id, cU as sd, cV as od, cM as cd, cJ as dd, cL as ud, cI as fd, cw as md, cK as hd, cW as pd, cX as bd, cT as gd, cY as xd } from "./F0AiChat-DCBZKVBj.js";
1
+ import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, ag as ht, ah as rt, ai as Be, O as b, W as Z, P as be, u as se, aj as ma, ak as ha, al as pa, am as ba, an as ga, a5 as oe, ao as xa, 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 ge, 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 xe, aI as $e, aJ as _a, aK as pt, 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 pe, 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 pn, bj as tr, bk as nr, bl as bn, bm as ar, bn as rr, T as Ue, bo as bt, 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 pr, bF as br, 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-aV22-Ha-.js";
2
+ import { cF as Ac, cE as Lc, co as Ec, cR as _c, cy as Oc, cz as Tc, cn as Dc, cB as zc, cp as Pc, d1 as Rc, c$ as Bc, cq as $c, cC as Wc, cD as Mc, cA as jc, cr as Vc, cN as Gc, cO as Hc, cS as Uc, cZ as Kc, c_ as qc, d0 as Yc, cx as Zc, cs as Xc, cH as Jc, cG as Qc, ct as ed, cu as td, cv as nd, cP as ad, d2 as rd, cm as ld, cQ as id, cU as sd, cV as od, cM as cd, cJ as dd, cL as ud, cI as fd, cw as md, cK as hd, cW as pd, cX as bd, cT as gd, cY as xd } from "./F0AiChat-aV22-Ha-.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, useContext as Ke, createContext as yt, useCallback as Q, useMemo as K, useEffect as W, useId as qr, 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-DM6oo-6E.js";
6
- import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as zd, q as Pd, _ as Rd, v as Bd, t as $d } from "./index-DM6oo-6E.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-DoH6YiNb.js";
6
+ import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as zd, q as Pd, _ as Rd, v as Bd, t as $d } from "./index-DoH6YiNb.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
@@ -1076,6 +1076,14 @@ export declare type AsyncOrSync<T> = T | ((signal: AbortSignal) => Promise<T>);
1076
1076
  */
1077
1077
  declare type AsyncWithParams<T, TParams> = (params: TParams) => Promise<T>;
1078
1078
 
1079
+ /**
1080
+ * An item that can be passed in the `availableFormDefinitions` array.
1081
+ * Accepts either a plain {@link F0AiAvailableFormDefinition} or the result
1082
+ * of calling {@link useF0FormDefinition} (i.e. {@link F0FormDefinitionSingleSchema}
1083
+ * or {@link F0FormDefinitionPerSection}).
1084
+ */
1085
+ export declare type AvailableFormDefinitionItem = F0AiAvailableFormDefinition | F0FormDefinitionSingleSchema<any> | F0FormDefinitionPerSection<any>;
1086
+
1079
1087
  declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & {
1080
1088
  size?: (typeof internalAvatarSizes)[number];
1081
1089
  type?: (typeof internalAvatarTypes)[number];
@@ -4420,6 +4428,7 @@ export declare const defaultTranslations: {
4420
4428
  readonly uploadFailed: "Upload failed";
4421
4429
  readonly fileTooLarge: "File exceeds {{maxSize}} MB limit";
4422
4430
  readonly invalidFileType: "File type not accepted. Accepted formats: {{types}}";
4431
+ readonly maxFilesReached: "Maximum {{maxFiles}} files";
4423
4432
  };
4424
4433
  readonly moreInformation: "More information";
4425
4434
  readonly validation: {
@@ -4480,6 +4489,13 @@ export declare const defaultTranslations: {
4480
4489
  */
4481
4490
  export declare function defineAvailableForm<TParams extends Record<string, unknown> = Record<string, unknown>>(definition: F0AiAvailableFormDefinition<TParams>): F0AiAvailableFormDefinition<TParams>;
4482
4491
 
4492
+ /**
4493
+ * Overload that accepts an `F0FormDefinitionSingleSchema` (the return value
4494
+ * of `useF0FormDefinition` with a single schema) and converts it into an
4495
+ * `F0AiAvailableFormDefinition`.
4496
+ */
4497
+ export declare function defineAvailableForm<TSchema extends F0FormSchema>(definition: F0FormDefinitionSingleSchema<TSchema>): F0AiAvailableFormDefinition;
4498
+
4483
4499
  declare interface DeleteBlockNotesTextEditorPageDocumentPatch {
4484
4500
  type: "delete_block";
4485
4501
  targetId: string;
@@ -5091,10 +5107,11 @@ declare interface F0AiFormRegistryContextValue {
5091
5107
  * </F0AiChatProvider>
5092
5108
  * ```
5093
5109
  */
5094
- export declare function F0AiFormRegistryProvider({ children, availableFormDefinitions, }: {
5110
+ export declare function F0AiFormRegistryProvider({ children, availableFormDefinitions: rawAvailableFormDefinitions, }: {
5095
5111
  children: React.ReactNode;
5096
- /** Form definitions the AI can interact with even if the form is not rendered on the page */
5097
- availableFormDefinitions?: F0AiAvailableFormDefinition[];
5112
+ /** Form definitions the AI can interact with even if the form is not rendered on the page.
5113
+ * Accepts plain definitions, or the return value of `useF0FormDefinition` hooks. */
5114
+ availableFormDefinitions?: AvailableFormDefinitionItem[];
5098
5115
  }): JSX_2.Element;
5099
5116
 
5100
5117
  /**
@@ -6668,6 +6685,8 @@ export declare interface F0FileConfig {
6668
6685
  maxSizeMB?: number;
6669
6686
  /** Allow multiple file uploads (form value becomes `string[]`) */
6670
6687
  multiple?: boolean;
6688
+ /** Maximum number of files allowed (only relevant when multiple is true) */
6689
+ maxFiles?: number;
6671
6690
  /** Helper text shown in the dropzone area */
6672
6691
  description?: string;
6673
6692
  /**
@@ -6692,6 +6711,8 @@ export declare type F0FileField = F0BaseField & {
6692
6711
  maxSizeMB?: number;
6693
6712
  /** Allow multiple files */
6694
6713
  multiple?: boolean;
6714
+ /** Maximum number of files allowed (only relevant when multiple is true) */
6715
+ maxFiles?: number;
6695
6716
  /** Dropzone description text */
6696
6717
  description?: string;
6697
6718
  /**
@@ -13260,13 +13281,8 @@ declare module "gridstack" {
13260
13281
  }
13261
13282
 
13262
13283
 
13263
- declare module "@tiptap/core" {
13264
- interface Commands<ReturnType> {
13265
- enhanceHighlight: {
13266
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
13267
- clearEnhanceHighlight: () => ReturnType;
13268
- };
13269
- }
13284
+ declare namespace Calendar {
13285
+ var displayName: string;
13270
13286
  }
13271
13287
 
13272
13288
 
@@ -13291,10 +13307,9 @@ declare module "@tiptap/core" {
13291
13307
 
13292
13308
  declare module "@tiptap/core" {
13293
13309
  interface Commands<ReturnType> {
13294
- videoEmbed: {
13295
- setVideoEmbed: (options: {
13296
- src: string;
13297
- }) => ReturnType;
13310
+ enhanceHighlight: {
13311
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
13312
+ clearEnhanceHighlight: () => ReturnType;
13298
13313
  };
13299
13314
  }
13300
13315
  }
@@ -13309,6 +13324,12 @@ declare module "@tiptap/core" {
13309
13324
  }
13310
13325
 
13311
13326
 
13312
- declare namespace Calendar {
13313
- var displayName: string;
13327
+ declare module "@tiptap/core" {
13328
+ interface Commands<ReturnType> {
13329
+ videoEmbed: {
13330
+ setVideoEmbed: (options: {
13331
+ src: string;
13332
+ }) => ReturnType;
13333
+ };
13334
+ }
13314
13335
  }
package/dist/f0.js CHANGED
@@ -1,12 +1,12 @@
1
- import { fy as Or, a6 as se, bU as Tn, O as P, P as ht, fz as Mr, W as yt, dG as zo, aS as Yi, fA as Io, a7 as zr, a8 as de, u as oe, ar as he, fp as Ut, U as Bo, ac as Po, M as Ir, fB as un, aO as Oe, aL as hi, fC as Ho, fD as Wo, fE as qo, fF as Ji, a0 as Go, fG as $o, fH as Br, fI as jo, bd as fi, be as mi, a5 as Fn, bf as gi, aX as Pr, cR as hn, fJ as Hr, fK as Uo, eg as Vo, fL as Zi, ef as Qo, fM as Ko, fN as wt, fO as Vt, fP as Xo, fQ as Wr, fR as Yo, fS as Jo, fT as An, fU as Zo, fV as ea, R as We, b0 as ta, d4 as si, d3 as qr, fW as na, fX as pi, cn as ia, fY as ra, fZ as Gr, f_ as Ln, f$ as sa, g0 as oa, aI as vi, Q as Ce, aJ as aa, aK as fn, ce as la, g1 as ca, aR as On, g2 as $r, g3 as da, g4 as ua, g5 as ha, g6 as fa, cB as ma, m as ga, dq as pa, aq as jr, f4 as ft, g7 as Ur, f2 as Vr, g8 as mn, g9 as Qr, ch as Kr, ga as Xr, as as bi, at as yi, gb as xi, aw as wi, aB as De, gc as Ci, aD as xt, gd as At, ge as Lt, av as Ot, gf as Mt, gg as va, gh as Zt, gi as Yr, gj as gn, bM as Pt, gk as _e, cs as ba, gl as Jr, gm as ya, gn as pn, cr as xa, cq as wa, go as Ca, gp as Sa, bO as Mn, aE as zn, gq as Zr, bJ as Si, bP as Ei, bc as Ea, gr as Ae, gs as Na, gt as _a, gu as es, gv as In, gw as Da, gx as Ra, cj as ts, gy as ka, gz as Ta, gA as Fa, gB as Aa, bp as ns, bv as La, fs as Oa, ft as Ma, fv as za, gC as is, bW as Ia, b_ as Ba, gD as er, c5 as Pa, gE as rs, gF as Ha, gG as Wa } from "./F0AiChat-DCBZKVBj.js";
2
- import { hk as Lf, gL as Of, co as Mf, l as zf, hy as If, bo as Bf, k as Pf, F as Hf, a as Wf, C as qf, hb as Gf, b as $f, gY as jf, bN as Uf, c7 as Vf, _ as Qf, c8 as Kf, gI as Xf, bh as Yf, Y as Jf, X as Zf, Z as em, b3 as tm, gS as nm, gW as im, gJ as rm, gX as sm, gZ as om, g$ as am, hD as lm, bx as cm, n as dm, hv as um, b5 as hm, $ as fm, hf as mm, bB as gm, hg as pm, hi as vm, hj as bm, d1 as ym, c$ as xm, d as wm, gM as Cm, hl as Sm, gN as Em, gO as Nm, gP as _m, cN as Dm, cO as Rm, gH as km, gQ as Tm, hC as Fm, gR as Am, bu as Lm, d0 as Om, hh as Mm, cP as zm, cm as Im, hE as Bm, gT as Pm, gU as Hm, gV as Wm, gK as qm, cQ as Gm, hx as $m, hq as jm, hd as Um, h4 as Vm, h3 as Qm, h2 as Km, ha as Xm, ht as Ym, g as Jm, hp as Zm, bs as eg, cM as tg, cJ as ng, cL as ig, h9 as rg, cI as sg, h5 as og, ho as ag, hn as lg, h6 as cg, cw as dg, cK as ug, h0 as hg, h1 as fg, h7 as mg, c as gg, hm as pg, hr as vg, h as bg, hz as yg, hA as xg, hB as wg, bq as Cg, hc as Sg, g_ as Eg, he as Ng, e as _g, hw as Dg, hs as Rg, j as kg, i as Tg, bV as Fg, T as Ag, h8 as Lg, hu as Og, f as Mg, hF as zg } from "./F0AiChat-DCBZKVBj.js";
1
+ import { fy as Or, a6 as se, bU as Tn, O as P, P as ht, fz as Mr, W as yt, dG as zo, aS as Yi, fA as Io, a7 as zr, a8 as de, u as oe, ar as he, fp as Ut, U as Bo, ac as Po, M as Ir, fB as un, aO as Oe, aL as hi, fC as Ho, fD as Wo, fE as qo, fF as Ji, a0 as Go, fG as $o, fH as Br, fI as jo, bd as fi, be as mi, a5 as Fn, bf as gi, aX as Pr, cR as hn, fJ as Hr, fK as Uo, eg as Vo, fL as Zi, ef as Qo, fM as Ko, fN as wt, fO as Vt, fP as Xo, fQ as Wr, fR as Yo, fS as Jo, fT as An, fU as Zo, fV as ea, R as We, b0 as ta, d4 as si, d3 as qr, fW as na, fX as pi, cn as ia, fY as ra, fZ as Gr, f_ as Ln, f$ as sa, g0 as oa, aI as vi, Q as Ce, aJ as aa, aK as fn, ce as la, g1 as ca, aR as On, g2 as $r, g3 as da, g4 as ua, g5 as ha, g6 as fa, cB as ma, m as ga, dq as pa, aq as jr, f4 as ft, g7 as Ur, f2 as Vr, g8 as mn, g9 as Qr, ch as Kr, ga as Xr, as as bi, at as yi, gb as xi, aw as wi, aB as De, gc as Ci, aD as xt, gd as At, ge as Lt, av as Ot, gf as Mt, gg as va, gh as Zt, gi as Yr, gj as gn, bM as Pt, gk as _e, cs as ba, gl as Jr, gm as ya, gn as pn, cr as xa, cq as wa, go as Ca, gp as Sa, bO as Mn, aE as zn, gq as Zr, bJ as Si, bP as Ei, bc as Ea, gr as Ae, gs as Na, gt as _a, gu as es, gv as In, gw as Da, gx as Ra, cj as ts, gy as ka, gz as Ta, gA as Fa, gB as Aa, bp as ns, bv as La, fs as Oa, ft as Ma, fv as za, gC as is, bW as Ia, b_ as Ba, gD as er, c5 as Pa, gE as rs, gF as Ha, gG as Wa } from "./F0AiChat-aV22-Ha-.js";
2
+ import { hk as Lf, gL as Of, co as Mf, l as zf, hy as If, bo as Bf, k as Pf, F as Hf, a as Wf, C as qf, hb as Gf, b as $f, gY as jf, bN as Uf, c7 as Vf, _ as Qf, c8 as Kf, gI as Xf, bh as Yf, Y as Jf, X as Zf, Z as em, b3 as tm, gS as nm, gW as im, gJ as rm, gX as sm, gZ as om, g$ as am, hD as lm, bx as cm, n as dm, hv as um, b5 as hm, $ as fm, hf as mm, bB as gm, hg as pm, hi as vm, hj as bm, d1 as ym, c$ as xm, d as wm, gM as Cm, hl as Sm, gN as Em, gO as Nm, gP as _m, cN as Dm, cO as Rm, gH as km, gQ as Tm, hC as Fm, gR as Am, bu as Lm, d0 as Om, hh as Mm, cP as zm, cm as Im, hE as Bm, gT as Pm, gU as Hm, gV as Wm, gK as qm, cQ as Gm, hx as $m, hq as jm, hd as Um, h4 as Vm, h3 as Qm, h2 as Km, ha as Xm, ht as Ym, g as Jm, hp as Zm, bs as eg, cM as tg, cJ as ng, cL as ig, h9 as rg, cI as sg, h5 as og, ho as ag, hn as lg, h6 as cg, cw as dg, cK as ug, h0 as hg, h1 as fg, h7 as mg, c as gg, hm as pg, hr as vg, h as bg, hz as yg, hA as xg, hB as wg, bq as Cg, hc as Sg, g_ as Eg, he as Ng, e as _g, hw as Dg, hs as Rg, j as kg, i as Tg, bV as Fg, T as Ag, h8 as Lg, hu as Og, f as Mg, hF as zg } from "./F0AiChat-aV22-Ha-.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 ss, Fragment as Ga, memo as os, useReducer as $a, cloneElement as ja, useId as as } from "react";
5
- import { g as Ua, h as Va } from "./types-BSfiLtJG.js";
6
- import { A as Bg, e as Pg, F as Hg, c as Wg, d as qg, b as Gg, a as $g, f as jg, o as Ug, u as Vg } from "./types-BSfiLtJG.js";
5
+ import { g as Ua, h as Va } from "./types-BnAOrOU4.js";
6
+ import { A as Bg, e as Pg, F as Hg, c as Wg, d as qg, b as Gg, a as $g, f as jg, o as Ug, u as Vg } from "./types-BnAOrOU4.js";
7
7
  import { createPortal as ls, unstable_batchedUpdates as tn } from "react-dom";
8
- import { C as Qa, M as Ni, D as Ka, z as Xa, u as cs, j as Ya } from "./index-DM6oo-6E.js";
9
- import { l as Kg, m as Xg, n as Yg, s as Jg, F as Zg, o as ep, w as tp, x as np, N as ip, y as rp, p as sp, P as op, r as ap, R as lp, q as cp, _ as dp, v as up, t as hp } from "./index-DM6oo-6E.js";
8
+ import { C as Qa, M as Ni, D as Ka, z as Xa, u as cs, j as Ya } from "./index-DoH6YiNb.js";
9
+ import { l as Kg, m as Xg, n as Yg, s as Jg, F as Zg, o as ep, w as tp, x as np, N as ip, y as rp, p as sp, P as op, r as ap, R as lp, q as cp, _ as dp, v as up, t as hp } from "./index-DoH6YiNb.js";
10
10
  import { defaultTranslations as mp } from "./i18n-provider-defaults.js";
11
11
  import './f0.css';const Ja = {
12
12
  xs: 1,
@@ -696,6 +696,7 @@ export declare const defaultTranslations: {
696
696
  readonly uploadFailed: "Upload failed";
697
697
  readonly fileTooLarge: "File exceeds {{maxSize}} MB limit";
698
698
  readonly invalidFileType: "File type not accepted. Accepted formats: {{types}}";
699
+ readonly maxFilesReached: "Maximum {{maxFiles}} files";
699
700
  };
700
701
  readonly moreInformation: "More information";
701
702
  readonly validation: {
@@ -790,13 +791,8 @@ declare module "gridstack" {
790
791
  }
791
792
 
792
793
 
793
- declare module "@tiptap/core" {
794
- interface Commands<ReturnType> {
795
- enhanceHighlight: {
796
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
797
- clearEnhanceHighlight: () => ReturnType;
798
- };
799
- }
794
+ declare namespace Calendar {
795
+ var displayName: string;
800
796
  }
801
797
 
802
798
 
@@ -821,10 +817,9 @@ declare module "@tiptap/core" {
821
817
 
822
818
  declare module "@tiptap/core" {
823
819
  interface Commands<ReturnType> {
824
- videoEmbed: {
825
- setVideoEmbed: (options: {
826
- src: string;
827
- }) => ReturnType;
820
+ enhanceHighlight: {
821
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
822
+ clearEnhanceHighlight: () => ReturnType;
828
823
  };
829
824
  }
830
825
  }
@@ -839,6 +834,12 @@ declare module "@tiptap/core" {
839
834
  }
840
835
 
841
836
 
842
- declare namespace Calendar {
843
- var displayName: string;
837
+ declare module "@tiptap/core" {
838
+ interface Commands<ReturnType> {
839
+ videoEmbed: {
840
+ setVideoEmbed: (options: {
841
+ src: string;
842
+ }) => ReturnType;
843
+ };
844
+ }
844
845
  }
@@ -695,7 +695,8 @@ const e = {
695
695
  processing: "Processing…",
696
696
  uploadFailed: "Upload failed",
697
697
  fileTooLarge: "File exceeds {{maxSize}} MB limit",
698
- invalidFileType: "File type not accepted. Accepted formats: {{types}}"
698
+ invalidFileType: "File type not accepted. Accepted formats: {{types}}",
699
+ maxFilesReached: "Maximum {{maxFiles}} files"
699
700
  },
700
701
  moreInformation: "More information",
701
702
  validation: {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as x, jsx as m, Fragment as Bt } from "react/jsx-runtime";
2
2
  import * as K from "react";
3
3
  import C, { useRef as ot, useState as ae, useCallback as Ye, useEffect as Ze, useLayoutEffect as Ac, PureComponent as Kn, useMemo as $s, forwardRef as Pt, useId as Cc, useImperativeHandle as Ec, memo as Sf, Fragment as Ra } from "react";
4
- import { M as Pn, aG as kf, O as z, ax as Af, d3 as Cf, d4 as Ef, P as js, a6 as Re, aO as Gi, d5 as An, d6 as Of, d7 as _f, d8 as Nf, d9 as $a, da as ja, db as Fa, dc as za, dd as Ba, de as Oc, df as ui, dg as Tf, dh as Pf, di as Df, aW as Dn, dj as _e, dk as U, dl as Me, dm as _c, dn as Mf, dp as Nc, dq as Fs, dr as Lf, ds as ye, dt as Yi, du as oe, dv as Tc, dw as qi, dx as zs, dy as Bs, dz as Vs, dA as pe, dB as Pe, dC as Go, dD as Xi, dE as If, dF as Oe, dG as Ji, dH as Te, dI as pn, dJ as Hs, dK as Zi, dL as di, dM as Qi, c9 as Ws, dN as Rf, dO as Qr, dP as ki, dQ as $f, dR as jf, dS as Ff, dT as zf, dU as Bf, dV as Vf, dW as Pc, dX as Dc, dY as Mc, dZ as Lc, d_ as Ic, d$ as Hf, e0 as Ai, e1 as Wf, e2 as Uf, e3 as $r, e4 as Kt, a3 as Ot, e5 as Us, e6 as jr, e7 as Rc, a4 as $c, e8 as Kf, e9 as Gf, a1 as Yf, ea as qf, bV as Xf, a2 as Jf, eb as fe, ec as we, aj as Zf, ak as Qf, al as eh, ao as th, ed as jc, ee as nh, ef as Fc, bU as Dt, ar as _t, bp as rh, Q, aE as Ks, eg as ih, cI as Ce, eh as et, ei as gt, ej as $e, ek as oh, el as fi, em as rt, en as zc, eo as qe, ep as Gs, eq as Qe, er as Va, es as sh, et as Bc, eu as be, ev as Ve, ew as vr, ex as Ci, ey as Vc, ez as ah, eA as mn, eB as lh, eC as ch, eD as uh, a8 as j, aS as Hc, bu as dh, a7 as Wc, eE as Fr, eF as zr, eG as Ys, eH as fh, eI as Uc, eJ as Kc, eK as Gc, eL as hh, eM as Yc, eN as qc, eO as Xc, eP as Jc, eQ as Zc, eR as Qc, eS as ph, eT as mh, u as gn, aN as gh, bM as eo, U as eu, W as tn, bo as yh, b7 as bh, br as vh, eU as wh, eV as xh, eW as Sh, eX as kh, eY as Ah, eZ as Ch, aJ as tu, aK as qs, aL as to, e_ as Ha, e$ as Eh, f0 as Oh, f1 as _h, f2 as Nh, f3 as Th, f4 as Ph, f5 as Dh, f6 as Mh, f7 as Lh, f8 as Ih, f9 as Rh, fa as $h, fb as jh, fc as Fh, fd as zh, fe as Bh, ff as Vh, X as Hh, aC as Wh, aQ as Uh, bB as Kh, bv as Wa, Y as Gh, aI as Yh, bN as nu, aH as Ua, b$ as qh, cA as ru, fg as Xh, fh as Jh, fi as Zh, fj as Qh, fk as ep, fl as tp, fm as np, b3 as Yo, aX as iu, fn as rp, c7 as ou, fo as ip, b2 as op, fp as sp, fq as ap, fr as lp, fs as cp, ft as up, fu as dp, fv as fp, fw as hp, fx as pp, c6 as Ka } from "./F0AiChat-DCBZKVBj.js";
4
+ import { M as Pn, aG as kf, O as z, ax as Af, d3 as Cf, d4 as Ef, P as js, a6 as Re, aO as Gi, d5 as An, d6 as Of, d7 as _f, d8 as Nf, d9 as $a, da as ja, db as Fa, dc as za, dd as Ba, de as Oc, df as ui, dg as Tf, dh as Pf, di as Df, aW as Dn, dj as _e, dk as U, dl as Me, dm as _c, dn as Mf, dp as Nc, dq as Fs, dr as Lf, ds as ye, dt as Yi, du as oe, dv as Tc, dw as qi, dx as zs, dy as Bs, dz as Vs, dA as pe, dB as Pe, dC as Go, dD as Xi, dE as If, dF as Oe, dG as Ji, dH as Te, dI as pn, dJ as Hs, dK as Zi, dL as di, dM as Qi, c9 as Ws, dN as Rf, dO as Qr, dP as ki, dQ as $f, dR as jf, dS as Ff, dT as zf, dU as Bf, dV as Vf, dW as Pc, dX as Dc, dY as Mc, dZ as Lc, d_ as Ic, d$ as Hf, e0 as Ai, e1 as Wf, e2 as Uf, e3 as $r, e4 as Kt, a3 as Ot, e5 as Us, e6 as jr, e7 as Rc, a4 as $c, e8 as Kf, e9 as Gf, a1 as Yf, ea as qf, bV as Xf, a2 as Jf, eb as fe, ec as we, aj as Zf, ak as Qf, al as eh, ao as th, ed as jc, ee as nh, ef as Fc, bU as Dt, ar as _t, bp as rh, Q, aE as Ks, eg as ih, cI as Ce, eh as et, ei as gt, ej as $e, ek as oh, el as fi, em as rt, en as zc, eo as qe, ep as Gs, eq as Qe, er as Va, es as sh, et as Bc, eu as be, ev as Ve, ew as vr, ex as Ci, ey as Vc, ez as ah, eA as mn, eB as lh, eC as ch, eD as uh, a8 as j, aS as Hc, bu as dh, a7 as Wc, eE as Fr, eF as zr, eG as Ys, eH as fh, eI as Uc, eJ as Kc, eK as Gc, eL as hh, eM as Yc, eN as qc, eO as Xc, eP as Jc, eQ as Zc, eR as Qc, eS as ph, eT as mh, u as gn, aN as gh, bM as eo, U as eu, W as tn, bo as yh, b7 as bh, br as vh, eU as wh, eV as xh, eW as Sh, eX as kh, eY as Ah, eZ as Ch, aJ as tu, aK as qs, aL as to, e_ as Ha, e$ as Eh, f0 as Oh, f1 as _h, f2 as Nh, f3 as Th, f4 as Ph, f5 as Dh, f6 as Mh, f7 as Lh, f8 as Ih, f9 as Rh, fa as $h, fb as jh, fc as Fh, fd as zh, fe as Bh, ff as Vh, X as Hh, aC as Wh, aQ as Uh, bB as Kh, bv as Wa, Y as Gh, aI as Yh, bN as nu, aH as Ua, b$ as qh, cA as ru, fg as Xh, fh as Jh, fi as Zh, fj as Qh, fk as ep, fl as tp, fm as np, b3 as Yo, aX as iu, fn as rp, c7 as ou, fo as ip, b2 as op, fp as sp, fq as ap, fr as lp, fs as cp, ft as up, fu as dp, fv as fp, fw as hp, fx as pp, c6 as Ka } from "./F0AiChat-aV22-Ha-.js";
5
5
  import './index.css';const mp = {
6
6
  active: !0,
7
7
  breakpoints: {},