@factorialco/f0-react 2.4.1 → 2.6.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.
@@ -1,7 +1,7 @@
1
1
  import { jsxs as B, jsx as b, Fragment as yn } from "react/jsx-runtime";
2
2
  import * as _n from "react";
3
3
  import ut, { useInsertionEffect as AI, forwardRef as q, useEffect as Qe, useState as ze, useCallback as _e, useRef as be, useMemo as Ne, useId as Ev, Fragment as kI, createContext as cs, useContext as fs, useSyncExternalStore as Z_, createElement as EI } from "react";
4
- import { gQ as II, gR as NI, gS as RI, gT as PI, gU as JS, gV as VI, gW as OI, gX as BI, gY as FI, gZ as zI, g_ as QS, g$ as HI, h0 as GI, h1 as $I, h2 as WI, h3 as UI, h4 as ZI, h5 as YI, h6 as ud, h7 as XI, h8 as jI, h9 as qI, fH as KI, ha as JI, hb as QI, a1 as Iv, fN as eN, hc as tN, hd as rN, he as nN, hf as aN, hg as e8, cD as iN, cE as oN, ab as t8, hh as sN, aN as lN, hi as uN, al as r8, bQ as cN, af as n8, ai as fN, eJ as hN, a9 as a8, a5 as dN, X as vN, a8 as i8, bc as pN, eM as gN, b4 as mN, bP as yN, a3 as Yc, az as _N, bh as e2, hj as wN, bN as xN, hk as xl, bJ as bN, hl as CN, ff as t2, b3 as SN, hm as LN, hn as TN, ho as MN, hp as DN, hq as o8, bB as AN, bC as kN, eA as EN, ez as IN, ey as NN, eB as RN, ex as PN, hr as VN, hs as ON, ht as BN, f3 as s8, eE as FN, eF as zN, eG as HN, eK as T0, bO as GN, ag as $N, bx as l8, hu as WN, hv as UN, fO as ZN, hw as YN, hx as XN, fF as u8, eH as jN, hy as qN, au as KN, f$ as c8, S as JN, a4 as QN, f_ as f8, eO as eR, hz as tR, bg as rR, bf as nR, hA as aR, eI as iR, hB as oR, hC as sR, b2 as lR, aD as uR, hD as h8, ax as cR, hE as fR, ba as hR, eN as dR, eC as vR, hF as pR, hG as gR, bn as d8, hH as mR, bL as yR, bK as _R, bM as wR, hI as xR, M as bR, L as CR, hJ as SR, hK as bl, fE as LR, hL as TR, hM as MR, hN as DR, hO as AR, hP as kR, fG as v8, g4 as ER, eL as IR, ah as NR, hQ as RR, Q as M0, Y as ue, ad as Xc, u as Ct, aj as Di, fA as Y_, ae as p8, t as Ye, aM as g8, bG as PR, w as $i, b1 as m8, W as Ar, hR as X_, hS as j_, gh as Ep, gi as q_, hT as VR, hU as OR, N as dn, fv as y8, bq as BR, hV as FR, hW as zR, bW as sl, fs as r2, ft as _8, hX as HR, fx as w8, gm as pr, bX as x8, fQ as GR, gn as Vn, gd as b8, bZ as n2, g6 as $R, A as cd, b_ as WR, cA as UR, aA as pl, b$ as ZR, c0 as YR, fu as XR, hY as Ki, c5 as C8, c9 as S8, gp as L8, hZ as jR, h_ as qR, h$ as KR, bS as JR, O as QR, P as eP, V as tP, a_ as rP, fM as Ip, a0 as Np, fI as nP, fJ as aP, U as iP, fK as oP, cv as a2, cq as i2, aa as sP, g5 as lP, i0 as uP, i1 as cP, g as hs, g0 as fP, i2 as hP, f as T8, i3 as M8, d as D8, am as dP, c4 as vP, i4 as pP, i5 as gP, I as mP, i6 as yP, i7 as _P, gM as wP, i8 as xP, i9 as bP, h as CP, b6 as SP, ia as LP, ib as TP, aV as A8, ic as MP, id as DP, ie as AP, ay as kP, ig as EP, aX as IP, ih as NP, aT as k8, K as RP, v as fd, ap as PP, bp as VP, g7 as OP, bb as BP, by as FP, fk as zP, dM as HP, dO as GP, dF as $P, dJ as WP, ak as UP } from "./useDataCollectionSource-BNMQa-mV.js";
4
+ import { gQ as II, gR as NI, gS as RI, gT as PI, gU as JS, gV as VI, gW as OI, gX as BI, gY as FI, gZ as zI, g_ as QS, g$ as HI, h0 as GI, h1 as $I, h2 as WI, h3 as UI, h4 as ZI, h5 as YI, h6 as ud, h7 as XI, h8 as jI, h9 as qI, fH as KI, ha as JI, hb as QI, a1 as Iv, fN as eN, hc as tN, hd as rN, he as nN, hf as aN, hg as e8, cD as iN, cE as oN, ab as t8, hh as sN, aN as lN, hi as uN, al as r8, bQ as cN, af as n8, ai as fN, eJ as hN, a9 as a8, a5 as dN, X as vN, a8 as i8, bc as pN, eM as gN, b4 as mN, bP as yN, a3 as Yc, az as _N, bh as e2, hj as wN, bN as xN, hk as xl, bJ as bN, hl as CN, ff as t2, b3 as SN, hm as LN, hn as TN, ho as MN, hp as DN, hq as o8, bB as AN, bC as kN, eA as EN, ez as IN, ey as NN, eB as RN, ex as PN, hr as VN, hs as ON, ht as BN, f3 as s8, eE as FN, eF as zN, eG as HN, eK as T0, bO as GN, ag as $N, bx as l8, hu as WN, hv as UN, fO as ZN, hw as YN, hx as XN, fF as u8, eH as jN, hy as qN, au as KN, f$ as c8, S as JN, a4 as QN, f_ as f8, eO as eR, hz as tR, bg as rR, bf as nR, hA as aR, eI as iR, hB as oR, hC as sR, b2 as lR, aD as uR, hD as h8, ax as cR, hE as fR, ba as hR, eN as dR, eC as vR, hF as pR, hG as gR, bn as d8, hH as mR, bL as yR, bK as _R, bM as wR, hI as xR, M as bR, L as CR, hJ as SR, hK as bl, fE as LR, hL as TR, hM as MR, hN as DR, hO as AR, hP as kR, fG as v8, g4 as ER, eL as IR, ah as NR, hQ as RR, Q as M0, Y as ue, ad as Xc, u as Ct, aj as Di, fA as Y_, ae as p8, t as Ye, aM as g8, bG as PR, w as $i, b1 as m8, W as Ar, hR as X_, hS as j_, gh as Ep, gi as q_, hT as VR, hU as OR, N as dn, fv as y8, bq as BR, hV as FR, hW as zR, bW as sl, fs as r2, ft as _8, hX as HR, fx as w8, gm as pr, bX as x8, fQ as GR, gn as Vn, gd as b8, bZ as n2, g6 as $R, A as cd, b_ as WR, cA as UR, aA as pl, b$ as ZR, c0 as YR, fu as XR, hY as Ki, c5 as C8, c9 as S8, gp as L8, hZ as jR, h_ as qR, h$ as KR, bS as JR, O as QR, P as eP, V as tP, a_ as rP, fM as Ip, a0 as Np, fI as nP, fJ as aP, U as iP, fK as oP, cv as a2, cq as i2, aa as sP, g5 as lP, i0 as uP, i1 as cP, g as hs, g0 as fP, i2 as hP, f as T8, i3 as M8, d as D8, am as dP, c4 as vP, i4 as pP, i5 as gP, I as mP, i6 as yP, i7 as _P, gM as wP, i8 as xP, i9 as bP, h as CP, b6 as SP, ia as LP, ib as TP, aV as A8, ic as MP, id as DP, ie as AP, ay as kP, ig as EP, aX as IP, ih as NP, aT as k8, K as RP, v as fd, ap as PP, bp as VP, g7 as OP, bb as BP, by as FP, fk as zP, dM as HP, dO as GP, dF as $P, dJ as WP, ak as UP } from "./useDataCollectionSource-COT9PUtH.js";
5
5
  import { utils as Ba, write as o2 } from "./xlsx-Bedf3nwD.js";
6
6
  import { useCopilotContext as ZP, useCoAgent as E8 } from "@copilotkit/react-core";
7
7
  import { flushSync as YP } from "react-dom";
package/dist/ai.d.ts CHANGED
@@ -3740,11 +3740,6 @@ declare module "gridstack" {
3740
3740
  }
3741
3741
 
3742
3742
 
3743
- declare namespace Calendar {
3744
- var displayName: string;
3745
- }
3746
-
3747
-
3748
3743
  declare module "@tiptap/core" {
3749
3744
  interface Commands<ReturnType> {
3750
3745
  aiBlock: {
@@ -3757,8 +3752,9 @@ declare module "@tiptap/core" {
3757
3752
 
3758
3753
  declare module "@tiptap/core" {
3759
3754
  interface Commands<ReturnType> {
3760
- moodTracker: {
3761
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
3755
+ enhanceHighlight: {
3756
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
3757
+ clearEnhanceHighlight: () => ReturnType;
3762
3758
  };
3763
3759
  }
3764
3760
  }
@@ -3766,9 +3762,8 @@ declare module "@tiptap/core" {
3766
3762
 
3767
3763
  declare module "@tiptap/core" {
3768
3764
  interface Commands<ReturnType> {
3769
- enhanceHighlight: {
3770
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
3771
- clearEnhanceHighlight: () => ReturnType;
3765
+ moodTracker: {
3766
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
3772
3767
  };
3773
3768
  }
3774
3769
  }
@@ -3792,3 +3787,8 @@ declare module "@tiptap/core" {
3792
3787
  };
3793
3788
  }
3794
3789
  }
3790
+
3791
+
3792
+ declare namespace Calendar {
3793
+ var displayName: string;
3794
+ }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { d as o, l as r, k as e, F as t, a as n, C as i, b as d, m as C, n as F, e as l, h as m, I as u, g as h, c as A, i as D, u as c, j as v, f as I } from "./useDataCollectionSource-BNMQa-mV.js";
1
+ import { d as o, l as r, k as e, F as t, a as n, C as i, b as d, m as C, n as F, e as l, h as m, I as u, g as h, c as A, i as D, u as c, j as v, f as I } from "./useDataCollectionSource-COT9PUtH.js";
2
2
  import { defaultTranslations as b } from "./i18n-provider-defaults.js";
3
- import { A as p, C as P, c as S, D as T, a as w, b as x, e as H, f as M, g as V, h as k, p as j, l as y, r as O, m as q, n as z, i as B, F as E, d as L, M as W, k as G, j as J, q as K, o as N, s as Q, u as R } from "./F0AiProposalCard-Dnuvkpg2.js";
3
+ import { A as p, C as P, c as S, D as T, a as w, b as x, e as H, f as M, g as V, h as k, p as j, l as y, r as O, m as q, n as z, i as B, F as E, d as L, M as W, k as G, j as J, q as K, o as N, s as Q, u as R } from "./F0AiProposalCard-xkprJL06.js";
4
4
  export {
5
5
  p as AiChatTranslationsProvider,
6
6
  o as CanvasCard,
@@ -341,6 +341,7 @@ declare type ActionType = {
341
341
  disabled?: boolean;
342
342
  critical?: boolean;
343
343
  description?: string;
344
+ loading?: boolean;
344
345
  };
345
346
 
346
347
  export declare type actionType = {
@@ -5884,7 +5885,7 @@ declare interface OmniButtonProps {
5884
5885
  export declare type OnBulkActionCallback<Record extends RecordType, Filters extends FiltersDefinition> = (...args: [
5885
5886
  action: BulkAction,
5886
5887
  ...Parameters<OnSelectItemsCallback<Record, Filters>>
5887
- ]) => void;
5888
+ ]) => void | Promise<void>;
5888
5889
 
5889
5890
  /**
5890
5891
  * @experimental This is an experimental component use it at your own risk
@@ -5953,6 +5954,46 @@ declare type OneDataCollectionProps<R extends RecordType, Filters extends Filter
5953
5954
  visualizations: ReadonlyArray<Visualization<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>>;
5954
5955
  onSelectItems?: OnSelectItemsCallback<R, Filters>;
5955
5956
  onBulkAction?: OnBulkActionCallback<R, Filters>;
5957
+ /**
5958
+ * Opt-in to auto-managed bulk-action status. When `true`, a `Promise`
5959
+ * returned from `onBulkAction` drives the ActionBar through
5960
+ * `loading → success → idle` (or `loading → error`) automatically.
5961
+ *
5962
+ * Opt-in is required because some consumers open modals from their bulk
5963
+ * action handler whose promise resolves when the modal OPENS rather than
5964
+ * when the user confirms — auto-managing those would flash a premature
5965
+ * success. When `false` (default), async handlers keep today's
5966
+ * fire-and-forget behavior. For those cases, use `bulkActionStatus` to
5967
+ * drive status yourself from the modal's lifecycle.
5968
+ * @default false
5969
+ */
5970
+ autoManageBulkActionStatus?: boolean;
5971
+ /**
5972
+ * Controlled status for the bulk-action ActionBar. Designed for multi-step
5973
+ * flows (confirmation modals, server polling) where the component can't
5974
+ * derive status from a single promise.
5975
+ *
5976
+ * - **`"idle"`** — transparent: F0's auto-manage handles immediate
5977
+ * (promise-returning) actions normally. Pass `"idle"` even when not
5978
+ * actively controlling; no need for a `status !== "idle" ? status : undefined`
5979
+ * conditional.
5980
+ * - **`"loading"`** — consumer is performing an async operation (e.g. after
5981
+ * modal confirm). F0 disables actions and shows button-level spinners.
5982
+ * - **`"success"`** — mutation resolved. F0 shows the checkmark, then after
5983
+ * 1.5 s auto-clears selection and falls back to auto-manage. The consumer
5984
+ * does not need to set `"idle"` or clear selection manually.
5985
+ * - **`"error"`** — mutation rejected. F0 shows the error state and wiggle
5986
+ * animation. Persists until the consumer sets a different status.
5987
+ * Note: selection change only auto-clears the internal (auto-managed)
5988
+ * error state — when using controlled mode the consumer must explicitly
5989
+ * set a new status to dismiss the error.
5990
+ *
5991
+ * When this prop is provided (even as `"idle"`), void-returning handlers
5992
+ * will not auto-clear selection — F0 assumes the consumer has modal-gated
5993
+ * actions and owns the selection lifecycle. Pair with
5994
+ * `autoManageBulkActionStatus={true}` for mixed immediate + modal flows.
5995
+ */
5996
+ bulkActionStatus?: ActionBarStatus;
5956
5997
  emptyStates?: CustomEmptyStates;
5957
5998
  onTotalItemsChange?: (totalItems: number) => void;
5958
5999
  fullHeight?: boolean;
@@ -8217,11 +8258,6 @@ declare module "gridstack" {
8217
8258
  }
8218
8259
 
8219
8260
 
8220
- declare namespace Calendar {
8221
- var displayName: string;
8222
- }
8223
-
8224
-
8225
8261
  declare module "@tiptap/core" {
8226
8262
  interface Commands<ReturnType> {
8227
8263
  aiBlock: {
@@ -8234,8 +8270,9 @@ declare module "@tiptap/core" {
8234
8270
 
8235
8271
  declare module "@tiptap/core" {
8236
8272
  interface Commands<ReturnType> {
8237
- moodTracker: {
8238
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
8273
+ enhanceHighlight: {
8274
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8275
+ clearEnhanceHighlight: () => ReturnType;
8239
8276
  };
8240
8277
  }
8241
8278
  }
@@ -8243,9 +8280,8 @@ declare module "@tiptap/core" {
8243
8280
 
8244
8281
  declare module "@tiptap/core" {
8245
8282
  interface Commands<ReturnType> {
8246
- enhanceHighlight: {
8247
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8248
- clearEnhanceHighlight: () => ReturnType;
8283
+ moodTracker: {
8284
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
8249
8285
  };
8250
8286
  }
8251
8287
  }
@@ -8269,3 +8305,8 @@ declare module "@tiptap/core" {
8269
8305
  };
8270
8306
  }
8271
8307
  }
8308
+
8309
+
8310
+ declare namespace Calendar {
8311
+ var displayName: string;
8312
+ }
@@ -1,9 +1,9 @@
1
- import { o as oa, B as ca, p as da, D as ua, q as Ft, r as Te, s as fa, t as b, v as Z, w as pe, u as se, T as ma, x as ha, y as ba, R as pa, z as ga, A as oe, E as xa, G as ht, H as rt, J as Re, K as Ee, L as va, M as wa, N as $, O as ya, P as Na, Q as _e, S as ln, U as Ca, V as ka, W as R, X as sn, Y as E, Z as ve, _ as Sa, $ as Ia, a0 as Fa, a1 as Aa, a2 as La, a3 as Ce, a4 as on, a5 as Ea, a6 as ge, a7 as $e, a8 as _a, a9 as bt, n as cn, aa as Ne, ab as Oa, ac as dn, ad as ne, ae as H, af as un, ag as fn, ah as Ta, ai as mn, aj as me, ak as ee, al as Da, am as za, an as Pa, ao as Ba, ap as be, aq as Ge, ar as Ra, as as $a, at as Wa, au as Ma, av as He, aw as hn, ax as ja, ay as Va, az as Ga, aA as We, aB as Ha, aC as Ua, aD as Ka, aE as qa, aF as Ya, aG as Za, aH as Xa, aI as Ja, aJ as Qa, aK as er, aL as lt, aM as it, aN as bn, aO as tr, aP as nr, aQ as pn, aR as ar, aS as rr, aT as Ue, aU as pt, aV as gn, aW as lr, aX as xn, aY as ir, aZ as sr, a_ as or, a$ as Le, b0 as cr, b1 as De, b2 as At, b3 as st, b4 as dr, b5 as ur, a as fr, g as mr, b6 as hr, b7 as vn, b8 as br, b9 as pr, F as gr, ba as wn, bb as xr, bc as yn, bd as vr, be as Lt, bf as wr, bg as yr, bh as Nr, bi as Cr, bj as Nn, bk as kr, bl as Sr, bm as Ir, bn as Fr, bo as Ar, bp as Cn, bq as ue, br as kn, bs as gt, bt as xt, bu as vt, bv as Sn, bw as wt, bx as In, by as Fn, bz as Lr, bA as Er, bB as _r, bC as Or, bD as Tr, bE as Dr, bF as zr, bG as Pr, bH as Br, bI as Rr, bJ as $r, bK as Et, bL as _t, bM as Ot, bN as Wr, bO as Mr, bP as jr, bQ as Vr, bR as An, bS as Gr, bT as Hr, bU as Ur } from "./useDataCollectionSource-BNMQa-mV.js";
2
- import { cd as Ac, cc as Lc, bX as Ec, cp as _c, c6 as Oc, c7 as Tc, bW as Dc, c9 as zc, bY as Pc, cB as Bc, cz as Rc, bZ as $c, ca as Wc, cb as Mc, c8 as jc, b_ as Vc, cl as Gc, cm as Hc, cq as Uc, cx as Kc, cy as qc, c4 as Yc, cA as Zc, c5 as Xc, b$ as Jc, cf as Qc, ce as ed, c0 as td, c1 as nd, c2 as ad, cn as rd, cC as ld, bV as id, co as sd, cs as od, ct as cd, ck as dd, ch as ud, cj as fd, cg as md, c3 as hd, ci as bd, cu as pd, cv as gd, cr as xd, cw as vd } from "./useDataCollectionSource-BNMQa-mV.js";
1
+ import { o as oa, B as ca, p as da, D as ua, q as Ft, r as Te, s as fa, t as b, v as Z, w as pe, u as se, T as ma, x as ha, y as ba, R as pa, z as ga, A as oe, E as xa, G as ht, H as rt, J as Re, K as Ee, L as va, M as wa, N as $, O as ya, P as Na, Q as _e, S as ln, U as Ca, V as ka, W as R, X as sn, Y as E, Z as ve, _ as Sa, $ as Ia, a0 as Fa, a1 as Aa, a2 as La, a3 as Ce, a4 as on, a5 as Ea, a6 as ge, a7 as $e, a8 as _a, a9 as bt, n as cn, aa as Ne, ab as Oa, ac as dn, ad as ne, ae as H, af as un, ag as fn, ah as Ta, ai as mn, aj as me, ak as ee, al as Da, am as za, an as Pa, ao as Ba, ap as be, aq as Ge, ar as Ra, as as $a, at as Wa, au as Ma, av as He, aw as hn, ax as ja, ay as Va, az as Ga, aA as We, aB as Ha, aC as Ua, aD as Ka, aE as qa, aF as Ya, aG as Za, aH as Xa, aI as Ja, aJ as Qa, aK as er, aL as lt, aM as it, aN as bn, aO as tr, aP as nr, aQ as pn, aR as ar, aS as rr, aT as Ue, aU as pt, aV as gn, aW as lr, aX as xn, aY as ir, aZ as sr, a_ as or, a$ as Le, b0 as cr, b1 as De, b2 as At, b3 as st, b4 as dr, b5 as ur, a as fr, g as mr, b6 as hr, b7 as vn, b8 as br, b9 as pr, F as gr, ba as wn, bb as xr, bc as yn, bd as vr, be as Lt, bf as wr, bg as yr, bh as Nr, bi as Cr, bj as Nn, bk as kr, bl as Sr, bm as Ir, bn as Fr, bo as Ar, bp as Cn, bq as ue, br as kn, bs as gt, bt as xt, bu as vt, bv as Sn, bw as wt, bx as In, by as Fn, bz as Lr, bA as Er, bB as _r, bC as Or, bD as Tr, bE as Dr, bF as zr, bG as Pr, bH as Br, bI as Rr, bJ as $r, bK as Et, bL as _t, bM as Ot, bN as Wr, bO as Mr, bP as jr, bQ as Vr, bR as An, bS as Gr, bT as Hr, bU as Ur } from "./useDataCollectionSource-COT9PUtH.js";
2
+ import { cd as Ac, cc as Lc, bX as Ec, cp as _c, c6 as Oc, c7 as Tc, bW as Dc, c9 as zc, bY as Pc, cB as Bc, cz as Rc, bZ as $c, ca as Wc, cb as Mc, c8 as jc, b_ as Vc, cl as Gc, cm as Hc, cq as Uc, cx as Kc, cy as qc, c4 as Yc, cA as Zc, c5 as Xc, b$ as Jc, cf as Qc, ce as ed, c0 as td, c1 as nd, c2 as ad, cn as rd, cC as ld, bV as id, co as sd, cs as od, ct as cd, ck as dd, ch as ud, cj as fd, cg as md, c3 as hd, ci as bd, cu as pd, cv as gd, cr as xd, cw as vd } from "./useDataCollectionSource-COT9PUtH.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-C3C31VSu.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, u as Bd, t as Rd } from "./index-C3C31VSu.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-D-tjXRe2.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, u as Bd, t as Rd } from "./index-D-tjXRe2.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
@@ -396,6 +396,7 @@ declare type ActionType_2 = {
396
396
  disabled?: boolean;
397
397
  critical?: boolean;
398
398
  description?: string;
399
+ loading?: boolean;
399
400
  };
400
401
 
401
402
  declare type ActionVariant = (typeof actionVariants)[number];
@@ -11322,7 +11323,7 @@ export declare type OnAddNewElementParams = {
11322
11323
  declare type OnBulkActionCallback<Record extends RecordType, Filters extends FiltersDefinition> = (...args: [
11323
11324
  action: BulkAction,
11324
11325
  ...Parameters<OnSelectItemsCallback<Record, Filters>>
11325
- ]) => void;
11326
+ ]) => void | Promise<void>;
11326
11327
 
11327
11328
  declare type OnChangeQuestionParams = BaseQuestionOnChangeParams & ({
11328
11329
  type: "text" | "longText";
@@ -14437,11 +14438,6 @@ declare module "gridstack" {
14437
14438
  }
14438
14439
 
14439
14440
 
14440
- declare namespace Calendar {
14441
- var displayName: string;
14442
- }
14443
-
14444
-
14445
14441
  declare module "@tiptap/core" {
14446
14442
  interface Commands<ReturnType> {
14447
14443
  aiBlock: {
@@ -14454,8 +14450,9 @@ declare module "@tiptap/core" {
14454
14450
 
14455
14451
  declare module "@tiptap/core" {
14456
14452
  interface Commands<ReturnType> {
14457
- moodTracker: {
14458
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
14453
+ enhanceHighlight: {
14454
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
14455
+ clearEnhanceHighlight: () => ReturnType;
14459
14456
  };
14460
14457
  }
14461
14458
  }
@@ -14463,9 +14460,8 @@ declare module "@tiptap/core" {
14463
14460
 
14464
14461
  declare module "@tiptap/core" {
14465
14462
  interface Commands<ReturnType> {
14466
- enhanceHighlight: {
14467
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
14468
- clearEnhanceHighlight: () => ReturnType;
14463
+ moodTracker: {
14464
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
14469
14465
  };
14470
14466
  }
14471
14467
  }
@@ -14489,3 +14485,8 @@ declare module "@tiptap/core" {
14489
14485
  };
14490
14486
  }
14491
14487
  }
14488
+
14489
+
14490
+ declare namespace Calendar {
14491
+ var displayName: string;
14492
+ }
package/dist/f0.js CHANGED
@@ -1,12 +1,12 @@
1
- import { fc as Pr, ad as se, bq as zn, t as I, w as mt, fd as Hr, v as xt, dd as qo, aj as nr, fe as $o, ak as Wr, Y as he, u as ie, N as oe, f3 as Yt, K as Go, D as jo, Q as qr, ff as vn, ae as ze, aa as vi, fg as Uo, fh as Vo, fi as Qo, fj as ir, fk as Ko, fl as Xo, fm as $r, fn as Yo, aI as bi, aJ as yi, A as On, aK as xi, aq as Gr, cp as bn, fo as jr, fp as Jo, dU as Zo, fq as rr, dS as ea, fr as ta, fs as Ct, ft as Jt, fu as na, fv as ia, af as He, av as ra, cE as di, cD as Ur, fw as sa, bW as oa, fx as Vr, fy as Mn, fz as aa, a7 as wi, W as ce, a8 as la, a9 as qt, bN as ca, ai as In, e$ as Ci, fA as da, fB as ua, fC as ha, fD as fa, c9 as ma, m as ga, cZ as pa, M as Qr, eJ as gt, fE as Kr, eH as Xr, fF as Yr, bQ as Ni, fG as Jr, O as Si, P as Ei, fH as _i, V as Di, a0 as De, a2 as wt, fI as Ot, fJ as Mt, U as It, fK as Bt, fL as va, fM as on, fN as Zr, fO as yn, bh as $t, fP as _e, b$ as ba, fQ as Gt, b_ as ya, bZ as xa, fR as wa, fS as Ca, bj as Bn, a3 as Pn, be as ki, bk as Ri, aH as Na, fT as Le, fU as Sa, fV as Ea, fW as es, fX as Hn, fY as _a, fZ as Da, c4 as ts, bS as ns, f_ as ka, f$ as Ra, g0 as Ta, g1 as Fa, aV as is, a$ as La, f6 as Aa, f7 as za, f9 as Oa, g2 as rs, bs as Nt, bw as St, bE as Zt, g3 as Ti, g4 as Ma, bt as Ia, ba as Ba, X as ss, bi as Pa, a5 as Ha } from "./useDataCollectionSource-BNMQa-mV.js";
2
- import { gw as Qf, d as Kf, bX as Xf, l as Yf, gI as Jf, aU as Zf, k as em, F as tm, a as nm, C as im, go as rm, b as sm, bG as om, bb as am, bH as lm, g6 as cm, aM as dm, bp as um, ap as hm, g7 as fm, ay as mm, g8 as gm, gc as pm, gd as vm, ge as bm, gN as ym, b1 as xm, n as wm, aA as Cm, by as Nm, gr as Sm, b5 as Em, gs as _m, gu as Dm, gv as km, cB as Rm, cz as Tm, e as Fm, h as Lm, gx as Am, cl as zm, cm as Om, g5 as Mm, gM as Im, a_ as Bm, cA as Pm, gt as Hm, cn as Wm, bV as qm, gO as $m, g9 as Gm, ga as jm, gb as Um, co as Vm, gH as Qm, gC as Km, gq as Xm, gk as Ym, gj as Jm, gi as Zm, gF as eg, gB as tg, aY as ng, ck as ig, ch as rg, cj as sg, cg as og, gl as ag, gA as lg, gz as cg, gm as dg, c3 as ug, ci as hg, gg as fg, gh as mg, gn as gg, g as pg, c as vg, gy as bg, gD as yg, gJ as xg, gK as wg, gL as Cg, aW as Ng, gp as Sg, gf as Eg, i as _g, gE as Dg, br as kg, aT as Rg, gG as Tg, j as Fg, f as Lg, gP as Ag } from "./useDataCollectionSource-BNMQa-mV.js";
1
+ import { fc as Pr, ad as se, bq as zn, t as I, w as mt, fd as Hr, v as xt, dd as qo, aj as nr, fe as $o, ak as Wr, Y as he, u as ie, N as oe, f3 as Yt, K as Go, D as jo, Q as qr, ff as vn, ae as ze, aa as vi, fg as Uo, fh as Vo, fi as Qo, fj as ir, fk as Ko, fl as Xo, fm as $r, fn as Yo, aI as bi, aJ as yi, A as On, aK as xi, aq as Gr, cp as bn, fo as jr, fp as Jo, dU as Zo, fq as rr, dS as ea, fr as ta, fs as Ct, ft as Jt, fu as na, fv as ia, af as He, av as ra, cE as di, cD as Ur, fw as sa, bW as oa, fx as Vr, fy as Mn, fz as aa, a7 as wi, W as ce, a8 as la, a9 as qt, bN as ca, ai as In, e$ as Ci, fA as da, fB as ua, fC as ha, fD as fa, c9 as ma, m as ga, cZ as pa, M as Qr, eJ as gt, fE as Kr, eH as Xr, fF as Yr, bQ as Ni, fG as Jr, O as Si, P as Ei, fH as _i, V as Di, a0 as De, a2 as wt, fI as Ot, fJ as Mt, U as It, fK as Bt, fL as va, fM as on, fN as Zr, fO as yn, bh as $t, fP as _e, b$ as ba, fQ as Gt, b_ as ya, bZ as xa, fR as wa, fS as Ca, bj as Bn, a3 as Pn, be as ki, bk as Ri, aH as Na, fT as Le, fU as Sa, fV as Ea, fW as es, fX as Hn, fY as _a, fZ as Da, c4 as ts, bS as ns, f_ as ka, f$ as Ra, g0 as Ta, g1 as Fa, aV as is, a$ as La, f6 as Aa, f7 as za, f9 as Oa, g2 as rs, bs as Nt, bw as St, bE as Zt, g3 as Ti, g4 as Ma, bt as Ia, ba as Ba, X as ss, bi as Pa, a5 as Ha } from "./useDataCollectionSource-COT9PUtH.js";
2
+ import { gw as Qf, d as Kf, bX as Xf, l as Yf, gI as Jf, aU as Zf, k as em, F as tm, a as nm, C as im, go as rm, b as sm, bG as om, bb as am, bH as lm, g6 as cm, aM as dm, bp as um, ap as hm, g7 as fm, ay as mm, g8 as gm, gc as pm, gd as vm, ge as bm, gN as ym, b1 as xm, n as wm, aA as Cm, by as Nm, gr as Sm, b5 as Em, gs as _m, gu as Dm, gv as km, cB as Rm, cz as Tm, e as Fm, h as Lm, gx as Am, cl as zm, cm as Om, g5 as Mm, gM as Im, a_ as Bm, cA as Pm, gt as Hm, cn as Wm, bV as qm, gO as $m, g9 as Gm, ga as jm, gb as Um, co as Vm, gH as Qm, gC as Km, gq as Xm, gk as Ym, gj as Jm, gi as Zm, gF as eg, gB as tg, aY as ng, ck as ig, ch as rg, cj as sg, cg as og, gl as ag, gA as lg, gz as cg, gm as dg, c3 as ug, ci as hg, gg as fg, gh as mg, gn as gg, g as pg, c as vg, gy as bg, gD as yg, gJ as xg, gK as wg, gL as Cg, aW as Ng, gp as Sg, gf as Eg, i as _g, gE as Dg, br as kg, aT as Rg, gG as Tg, j as Fg, f as Lg, gP as Ag } from "./useDataCollectionSource-COT9PUtH.js";
3
3
  import { jsx as l, jsxs as y, Fragment as we } from "react/jsx-runtime";
4
4
  import le, { forwardRef as We, useRef as W, useImperativeHandle as Wa, Children as xn, createContext as Ke, useContext as ke, useState as j, useMemo as P, useEffect as V, useCallback as B, useLayoutEffect as ui, createElement as an, isValidElement as os, Fragment as qa, memo as as, useReducer as $a, cloneElement as Ga, useId as ls } from "react";
5
- import { t as ja, v as Ua, w as cs, x as Va, y as Qa, z as Wn, B as Ka, E as Fi, G as Xa, H as Ya, I as Ja, J as ds, K as wn, L as Li, N as us, O as Za, P as hs, Q as sr, R as el } from "./F0AiProposalCard-Dnuvkpg2.js";
6
- import { A as Og, V as Mg, C as Ig, c as Bg, D as Pg, a as Hg, b as Wg, T as qg, e as $g, f as Gg, g as jg, h as Ug, p as Vg, l as Qg, r as Kg, a0 as Xg, m as Yg, S as Jg, a1 as Zg, n as ep, i as tp, a6 as np, F as ip, d as rp, W as sp, X as op, Y as ap, Z as lp, M as cp, _ as dp, $ as up, k as hp, j as fp, U as mp, q as gp, a4 as pp, a3 as vp, o as bp, s as yp, u as xp, a5 as wp, a7 as Cp, a2 as Np } from "./F0AiProposalCard-Dnuvkpg2.js";
5
+ import { t as ja, v as Ua, w as cs, x as Va, y as Qa, z as Wn, B as Ka, E as Fi, G as Xa, H as Ya, I as Ja, J as ds, K as wn, L as Li, N as us, O as Za, P as hs, Q as sr, R as el } from "./F0AiProposalCard-xkprJL06.js";
6
+ import { A as Og, V as Mg, C as Ig, c as Bg, D as Pg, a as Hg, b as Wg, T as qg, e as $g, f as Gg, g as jg, h as Ug, p as Vg, l as Qg, r as Kg, a0 as Xg, m as Yg, S as Jg, a1 as Zg, n as ep, i as tp, a6 as np, F as ip, d as rp, W as sp, X as op, Y as ap, Z as lp, M as cp, _ as dp, $ as up, k as hp, j as fp, U as mp, q as gp, a4 as pp, a3 as vp, o as bp, s as yp, u as xp, a5 as wp, a7 as Cp, a2 as Np } from "./F0AiProposalCard-xkprJL06.js";
7
7
  import { createPortal as fs, unstable_batchedUpdates as ln } from "react-dom";
8
- import { C as tl, D as nl, y as il, j as rl } from "./index-C3C31VSu.js";
9
- import { l as Ep, m as _p, n as Dp, s as kp, F as Rp, o as Tp, v as Fp, w as Lp, N as Ap, x as zp, p as Op, P as Mp, r as Ip, R as Bp, q as Pp, u as Hp, t as Wp } from "./index-C3C31VSu.js";
8
+ import { C as tl, D as nl, y as il, j as rl } from "./index-D-tjXRe2.js";
9
+ import { l as Ep, m as _p, n as Dp, s as kp, F as Rp, o as Tp, v as Fp, w as Lp, N as Ap, x as zp, p as Op, P as Mp, r as Ip, R as Bp, q as Pp, u as Hp, t as Wp } from "./index-D-tjXRe2.js";
10
10
  import { defaultTranslations as $p } from "./i18n-provider-defaults.js";
11
11
  import './f0.css';const sl = {
12
12
  xs: 1,
@@ -831,11 +831,6 @@ 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
836
  aiBlock: {
@@ -848,8 +843,9 @@ declare module "@tiptap/core" {
848
843
 
849
844
  declare module "@tiptap/core" {
850
845
  interface Commands<ReturnType> {
851
- moodTracker: {
852
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
846
+ enhanceHighlight: {
847
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
848
+ clearEnhanceHighlight: () => ReturnType;
853
849
  };
854
850
  }
855
851
  }
@@ -857,9 +853,8 @@ declare module "@tiptap/core" {
857
853
 
858
854
  declare module "@tiptap/core" {
859
855
  interface Commands<ReturnType> {
860
- enhanceHighlight: {
861
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
862
- clearEnhanceHighlight: () => ReturnType;
856
+ moodTracker: {
857
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
863
858
  };
864
859
  }
865
860
  }
@@ -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 Ct, useState as ue, useCallback as Ye, useEffect as it, useLayoutEffect as mc, PureComponent as Wn, useMemo as Ps, forwardRef as Pt, useId as gc, useImperativeHandle as yc } from "react";
4
- import { Q as Tn, a5 as cf, t as G, X as uf, cD as df, cE as ff, w as Ds, ad as Ne, ae as bc, cF as Sn, cG as hf, cH as pf, cI as Na, cJ as Pa, cK as Da, cL as Ma, cM as Ia, cN as mf, cO as gf, cP as yf, cQ as bf, cR as vc, cS as wc, ao as Nn, cT as Ee, cU as W, cV as Ie, cW as xc, cX as vf, cY as Sc, cZ as Ms, c_ as wf, c$ as ge, d0 as Ki, d1 as ie, d2 as kc, d3 as Gi, d4 as Is, d5 as Ls, d6 as Rs, d7 as he, d8 as De, d9 as Ho, da as Yi, db as xf, dc as Ce, dd as qi, de as Pe, df as hn, dg as $s, dh as Xi, di as ui, dj as Ji, bI as js, dk as Sf, dl as Zr, dm as Si, dn as kf, dp as Af, dq as Cf, dr as Ef, ds as Of, dt as _f, du as Ac, dv as Cc, dw as Ec, dx as Oc, dy as _c, dz as Tf, dA as ki, dB as Nf, dC as Pf, dD as Lr, dE as Wt, dF as _t, dG as Fs, dH as Rr, dI as Tc, dJ as Nc, dK as Df, dL as Mf, dM as If, dN as Lf, br as Rf, dO as $f, dP as Oe, dQ as _e, T as jf, x as Ff, y as zf, E as Bf, dR as Vf, dS as Pc, A as Hf, dT as Wf, bq as mt, N as on, aV as Uf, W as ce, a3 as zs, dU as Kf, cg as ke, dV as So, dW as Qe, dX as gt, dY as $e, dZ as Gf, d_ as di, d$ as nt, e0 as Dc, e1 as qe, e2 as Bs, e3 as Ze, e4 as La, e5 as Yf, e6 as Mc, e7 as ye, e8 as Ve, e9 as yr, ea as Ai, eb as Ic, ec as qf, ed as pn, ee as Xf, ef as Jf, eg as Zf, Y as j, aj as Lc, a_ as Qf, ak as Rc, eh as $r, ei as jr, ej as Vs, ek as eh, el as $c, em as jc, en as Fc, eo as th, ep as zc, eq as Bc, er as Vc, es as Hc, et as Wc, eu as Uc, ev as nh, ew as rh, u as Un, ac as ih, bh as Zi, K as oh, v as Qr, aU as sh, aC as ah, aX as lh, ex as ch, ey as uh, ez as dh, eA as fh, eB as hh, eC as ph, a8 as Kc, a9 as Hs, aa as Ws, eD as Ra, eE as mh, eF as gh, eG as yh, eH as bh, eI as vh, eJ as wh, eK as xh, eL as Sh, eM as kh, eN as Ah, eO as Ch, eP as Eh, eQ as Oh, eR as _h, eS as Th, eT as Nh, eU as Ph, ap as Dh, eV as Mh, eW as Ih, eX as Lh, eY as Rh, eZ as $h, e_ as jh, e$ as Fh, f0 as zh, ay as $a, aq as Gc, f1 as Bh, bG as Yc, f2 as Vh, ax as Hh, f3 as Wh, f4 as Uh, f5 as Kh, f6 as Gh, f7 as Yh, f8 as qh, f9 as Xh, fa as Jh, fb as Zh } from "./useDataCollectionSource-BNMQa-mV.js";
4
+ import { Q as Tn, a5 as cf, t as G, X as uf, cD as df, cE as ff, w as Ds, ad as Ne, ae as bc, cF as Sn, cG as hf, cH as pf, cI as Na, cJ as Pa, cK as Da, cL as Ma, cM as Ia, cN as mf, cO as gf, cP as yf, cQ as bf, cR as vc, cS as wc, ao as Nn, cT as Ee, cU as W, cV as Ie, cW as xc, cX as vf, cY as Sc, cZ as Ms, c_ as wf, c$ as ge, d0 as Ki, d1 as ie, d2 as kc, d3 as Gi, d4 as Is, d5 as Ls, d6 as Rs, d7 as he, d8 as De, d9 as Ho, da as Yi, db as xf, dc as Ce, dd as qi, de as Pe, df as hn, dg as $s, dh as Xi, di as ui, dj as Ji, bI as js, dk as Sf, dl as Zr, dm as Si, dn as kf, dp as Af, dq as Cf, dr as Ef, ds as Of, dt as _f, du as Ac, dv as Cc, dw as Ec, dx as Oc, dy as _c, dz as Tf, dA as ki, dB as Nf, dC as Pf, dD as Lr, dE as Wt, dF as _t, dG as Fs, dH as Rr, dI as Tc, dJ as Nc, dK as Df, dL as Mf, dM as If, dN as Lf, br as Rf, dO as $f, dP as Oe, dQ as _e, T as jf, x as Ff, y as zf, E as Bf, dR as Vf, dS as Pc, A as Hf, dT as Wf, bq as mt, N as on, aV as Uf, W as ce, a3 as zs, dU as Kf, cg as ke, dV as So, dW as Qe, dX as gt, dY as $e, dZ as Gf, d_ as di, d$ as nt, e0 as Dc, e1 as qe, e2 as Bs, e3 as Ze, e4 as La, e5 as Yf, e6 as Mc, e7 as ye, e8 as Ve, e9 as yr, ea as Ai, eb as Ic, ec as qf, ed as pn, ee as Xf, ef as Jf, eg as Zf, Y as j, aj as Lc, a_ as Qf, ak as Rc, eh as $r, ei as jr, ej as Vs, ek as eh, el as $c, em as jc, en as Fc, eo as th, ep as zc, eq as Bc, er as Vc, es as Hc, et as Wc, eu as Uc, ev as nh, ew as rh, u as Un, ac as ih, bh as Zi, K as oh, v as Qr, aU as sh, aC as ah, aX as lh, ex as ch, ey as uh, ez as dh, eA as fh, eB as hh, eC as ph, a8 as Kc, a9 as Hs, aa as Ws, eD as Ra, eE as mh, eF as gh, eG as yh, eH as bh, eI as vh, eJ as wh, eK as xh, eL as Sh, eM as kh, eN as Ah, eO as Ch, eP as Eh, eQ as Oh, eR as _h, eS as Th, eT as Nh, eU as Ph, ap as Dh, eV as Mh, eW as Ih, eX as Lh, eY as Rh, eZ as $h, e_ as jh, e$ as Fh, f0 as zh, ay as $a, aq as Gc, f1 as Bh, bG as Yc, f2 as Vh, ax as Hh, f3 as Wh, f4 as Uh, f5 as Kh, f6 as Gh, f7 as Yh, f8 as qh, f9 as Xh, fa as Jh, fb as Zh } from "./useDataCollectionSource-COT9PUtH.js";
5
5
  import './index.css';const Qh = {
6
6
  active: !0,
7
7
  breakpoints: {},