@factorialco/f0-react 2.1.0 → 2.2.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
@@ -3717,8 +3717,8 @@ declare module "@tiptap/core" {
3717
3717
 
3718
3718
  declare module "@tiptap/core" {
3719
3719
  interface Commands<ReturnType> {
3720
- moodTracker: {
3721
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
3720
+ transcript: {
3721
+ insertTranscript: (data: TranscriptData) => ReturnType;
3722
3722
  };
3723
3723
  }
3724
3724
  }
@@ -3726,8 +3726,10 @@ declare module "@tiptap/core" {
3726
3726
 
3727
3727
  declare module "@tiptap/core" {
3728
3728
  interface Commands<ReturnType> {
3729
- transcript: {
3730
- insertTranscript: (data: TranscriptData) => ReturnType;
3729
+ videoEmbed: {
3730
+ setVideoEmbed: (options: {
3731
+ src: string;
3732
+ }) => ReturnType;
3731
3733
  };
3732
3734
  }
3733
3735
  }
@@ -3735,10 +3737,8 @@ declare module "@tiptap/core" {
3735
3737
 
3736
3738
  declare module "@tiptap/core" {
3737
3739
  interface Commands<ReturnType> {
3738
- videoEmbed: {
3739
- setVideoEmbed: (options: {
3740
- src: string;
3741
- }) => ReturnType;
3740
+ moodTracker: {
3741
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
3742
3742
  };
3743
3743
  }
3744
3744
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { d as o, l as e, k as r, 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-BrDW9ABH.js";
1
+ import { d as o, l as e, k as r, 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";
2
2
  import { defaultTranslations as b } from "./i18n-provider-defaults.js";
3
- import { A as S, C as T, c as p, D as P, a as w, b as x, e as H, f as M, g as V, h as k, p as j, l as y, m as O, n as q, i as z, F as B, d as E, M as L, k as W, j as G, q as J, o as K, s as N, u as Q } from "./types-BQbiqg33.js";
3
+ import { A as S, C as T, c as p, D as P, a as w, b as x, e as H, f as M, g as V, h as k, p as j, l as y, m as O, n as q, i as z, F as B, d as E, M as L, k as W, j as G, q as J, o as K, s as N, u as Q } from "./types-zUkcMLoO.js";
4
4
  export {
5
5
  S as AiChatTranslationsProvider,
6
6
  o as CanvasCard,
@@ -3720,6 +3720,46 @@ declare type EditableTableColumnDefinition<R extends RecordType, Sortings extend
3720
3720
  * Falls back to sensible defaults when omitted.
3721
3721
  */
3722
3722
  numberConfig?: NumberCellConfig<R>;
3723
+ /**
3724
+ * Called after this cell's value changes. Use to compute derived values
3725
+ * and update other cells in the same row.
3726
+ *
3727
+ * Works with every cell type (text, number, date, select, etc.).
3728
+ *
3729
+ * @example
3730
+ * formula: ({ value, setCellValue }) => {
3731
+ * const hours = roleHoursMap[value as string]
3732
+ * if (hours != null) setCellValue("plannedHours", hours)
3733
+ * }
3734
+ */
3735
+ formula?: (params: {
3736
+ /** The new value of this cell. */
3737
+ value: unknown;
3738
+ /** The current row item (before this change is applied). */
3739
+ item: R;
3740
+ /** For select cells: the full record associated with the selected option. */
3741
+ selectedItem?: RecordType;
3742
+ /** Update another cell in the same row by column id. */
3743
+ setCellValue: (columnId: string, value: unknown) => void;
3744
+ }) => void;
3745
+ /**
3746
+ * Returns a hint to display as an icon with tooltip inside the cell.
3747
+ * Use to warn the user when a value diverges from its formula-inferred value.
3748
+ *
3749
+ * Return `undefined` to hide the hint.
3750
+ *
3751
+ * @example
3752
+ * cellHint: (item) => {
3753
+ * if (item._inferredSalary != null && item.salary !== item._inferredSalary) {
3754
+ * return { icon: AlertCircle, message: `Differs from catalog (${item._inferredSalary})` }
3755
+ * }
3756
+ * }
3757
+ */
3758
+ cellHint?: (item: R) => {
3759
+ icon: IconType;
3760
+ message: string;
3761
+ iconColor?: F0IconProps["color"];
3762
+ } | undefined;
3723
3763
  };
3724
3764
 
3725
3765
  declare type EditableTableVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = Omit<TableVisualizationOptions<R, _Filters, Sortings, Summaries>, "columns"> & {
@@ -8199,8 +8239,8 @@ declare module "@tiptap/core" {
8199
8239
 
8200
8240
  declare module "@tiptap/core" {
8201
8241
  interface Commands<ReturnType> {
8202
- moodTracker: {
8203
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
8242
+ transcript: {
8243
+ insertTranscript: (data: TranscriptData) => ReturnType;
8204
8244
  };
8205
8245
  }
8206
8246
  }
@@ -8208,8 +8248,10 @@ declare module "@tiptap/core" {
8208
8248
 
8209
8249
  declare module "@tiptap/core" {
8210
8250
  interface Commands<ReturnType> {
8211
- transcript: {
8212
- insertTranscript: (data: TranscriptData) => ReturnType;
8251
+ videoEmbed: {
8252
+ setVideoEmbed: (options: {
8253
+ src: string;
8254
+ }) => ReturnType;
8213
8255
  };
8214
8256
  }
8215
8257
  }
@@ -8217,10 +8259,8 @@ declare module "@tiptap/core" {
8217
8259
 
8218
8260
  declare module "@tiptap/core" {
8219
8261
  interface Commands<ReturnType> {
8220
- videoEmbed: {
8221
- setVideoEmbed: (options: {
8222
- src: string;
8223
- }) => ReturnType;
8262
+ moodTracker: {
8263
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
8224
8264
  };
8225
8265
  }
8226
8266
  }
@@ -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-BrDW9ABH.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-BrDW9ABH.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-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";
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-B4mNCbMc.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-B4mNCbMc.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-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";
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
@@ -5035,6 +5035,46 @@ declare type EditableTableColumnDefinition<R extends RecordType, Sortings extend
5035
5035
  * Falls back to sensible defaults when omitted.
5036
5036
  */
5037
5037
  numberConfig?: NumberCellConfig<R>;
5038
+ /**
5039
+ * Called after this cell's value changes. Use to compute derived values
5040
+ * and update other cells in the same row.
5041
+ *
5042
+ * Works with every cell type (text, number, date, select, etc.).
5043
+ *
5044
+ * @example
5045
+ * formula: ({ value, setCellValue }) => {
5046
+ * const hours = roleHoursMap[value as string]
5047
+ * if (hours != null) setCellValue("plannedHours", hours)
5048
+ * }
5049
+ */
5050
+ formula?: (params: {
5051
+ /** The new value of this cell. */
5052
+ value: unknown;
5053
+ /** The current row item (before this change is applied). */
5054
+ item: R;
5055
+ /** For select cells: the full record associated with the selected option. */
5056
+ selectedItem?: RecordType;
5057
+ /** Update another cell in the same row by column id. */
5058
+ setCellValue: (columnId: string, value: unknown) => void;
5059
+ }) => void;
5060
+ /**
5061
+ * Returns a hint to display as an icon with tooltip inside the cell.
5062
+ * Use to warn the user when a value diverges from its formula-inferred value.
5063
+ *
5064
+ * Return `undefined` to hide the hint.
5065
+ *
5066
+ * @example
5067
+ * cellHint: (item) => {
5068
+ * if (item._inferredSalary != null && item.salary !== item._inferredSalary) {
5069
+ * return { icon: AlertCircle, message: `Differs from catalog (${item._inferredSalary})` }
5070
+ * }
5071
+ * }
5072
+ */
5073
+ cellHint?: (item: R) => {
5074
+ icon: IconType;
5075
+ message: string;
5076
+ iconColor?: F0IconProps["color"];
5077
+ } | undefined;
5038
5078
  };
5039
5079
 
5040
5080
  declare type EditableTableVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = Omit<TableVisualizationOptions<R, _Filters, Sortings, Summaries>, "columns"> & {
@@ -14345,8 +14385,8 @@ declare module "@tiptap/core" {
14345
14385
 
14346
14386
  declare module "@tiptap/core" {
14347
14387
  interface Commands<ReturnType> {
14348
- moodTracker: {
14349
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
14388
+ transcript: {
14389
+ insertTranscript: (data: TranscriptData) => ReturnType;
14350
14390
  };
14351
14391
  }
14352
14392
  }
@@ -14354,8 +14394,10 @@ declare module "@tiptap/core" {
14354
14394
 
14355
14395
  declare module "@tiptap/core" {
14356
14396
  interface Commands<ReturnType> {
14357
- transcript: {
14358
- insertTranscript: (data: TranscriptData) => ReturnType;
14397
+ videoEmbed: {
14398
+ setVideoEmbed: (options: {
14399
+ src: string;
14400
+ }) => ReturnType;
14359
14401
  };
14360
14402
  }
14361
14403
  }
@@ -14363,10 +14405,8 @@ declare module "@tiptap/core" {
14363
14405
 
14364
14406
  declare module "@tiptap/core" {
14365
14407
  interface Commands<ReturnType> {
14366
- videoEmbed: {
14367
- setVideoEmbed: (options: {
14368
- src: string;
14369
- }) => ReturnType;
14408
+ moodTracker: {
14409
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
14370
14410
  };
14371
14411
  }
14372
14412
  }
package/dist/f0.js CHANGED
@@ -1,12 +1,12 @@
1
- import { fc as Br, ad as oe, bq as On, t as B, w as mt, fd as Pr, v as xt, dd as qo, aj as tr, fe as $o, ak as Hr, Y as he, u as ie, N as ae, f3 as Yt, K as Go, D as jo, Q as Wr, ff as vn, ae as Oe, aa as vi, fg as Uo, fh as Vo, fi as Qo, fj as nr, fk as Ko, fl as Xo, fm as qr, fn as Yo, aI as bi, aJ as yi, A as zn, aK as xi, aq as $r, cp as bn, fo as Gr, fp as Jo, dU as Zo, fq as ir, 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 jr, fw as sa, bW as oa, fx as Ur, 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 Vr, eJ as gt, fE as Qr, eH as Kr, fF as Xr, bQ as Si, fG as Yr, O as Ni, P as Ei, fH as _i, V as Di, a0 as De, a2 as wt, fI as zt, fJ as Mt, U as It, fK as Bt, fL as va, fM as on, fN as Jr, 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 Sa, fT as Le, fU as Na, fV as Ea, fW as Zr, fX as Hn, fY as _a, fZ as Da, c4 as es, bS as ts, f_ as ka, f$ as Ra, g0 as Ta, g1 as Fa, aV as ns, a$ as La, f6 as Aa, f7 as Oa, f9 as za, g2 as is, bs as St, bw as Nt, bE as Zt, g3 as rs, g4 as Ma, bt as Ia, ba as Ba, X as ss, bi as Pa, a5 as Ha } from "./useDataCollectionSource-BrDW9ABH.js";
2
- import { gw as Uf, d as Vf, bX as Qf, l as Kf, gI as Xf, aU as Yf, k as Jf, F as Zf, a as em, C as tm, go as nm, b as im, bG as rm, bb as sm, bH as om, g6 as am, aM as lm, bp as cm, ap as dm, g7 as um, ay as hm, g8 as fm, gc as mm, gd as gm, ge as pm, gN as vm, b1 as bm, n as ym, aA as xm, by as wm, gr as Cm, b5 as Sm, gs as Nm, gu as Em, gv as _m, cB as Dm, cz as km, e as Rm, h as Tm, gx as Fm, cl as Lm, cm as Am, g5 as Om, gM as zm, a_ as Mm, cA as Im, gt as Bm, cn as Pm, bV as Hm, gO as Wm, g9 as qm, ga as $m, gb as Gm, co as jm, gH as Um, gC as Vm, gq as Qm, gk as Km, gj as Xm, gi as Ym, gF as Jm, gB as Zm, aY as eg, ck as tg, ch as ng, cj as ig, cg as rg, gl as sg, gA as og, gz as ag, gm as lg, c3 as cg, ci as dg, gg as ug, gh as hg, gn as fg, g as mg, c as gg, gy as pg, gD as vg, gJ as bg, gK as yg, gL as xg, aW as wg, gp as Cg, gf as Sg, i as Ng, gE as Eg, br as _g, aT as Dg, gG as kg, j as Rg, f as Tg, gP as Fg } from "./useDataCollectionSource-BrDW9ABH.js";
1
+ import { fc as Br, ad as oe, bq as On, t as B, w as mt, fd as Pr, v as xt, dd as qo, aj as tr, fe as $o, ak as Hr, Y as he, u as ie, N as ae, f3 as Yt, K as Go, D as jo, Q as Wr, ff as vn, ae as Oe, aa as vi, fg as Uo, fh as Vo, fi as Qo, fj as nr, fk as Ko, fl as Xo, fm as qr, fn as Yo, aI as bi, aJ as yi, A as zn, aK as xi, aq as $r, cp as bn, fo as Gr, fp as Jo, dU as Zo, fq as ir, 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 jr, fw as sa, bW as oa, fx as Ur, 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 Vr, eJ as gt, fE as Qr, eH as Kr, fF as Xr, bQ as Si, fG as Yr, O as Ni, P as Ei, fH as _i, V as Di, a0 as De, a2 as wt, fI as zt, fJ as Mt, U as It, fK as Bt, fL as va, fM as on, fN as Jr, 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 Sa, fT as Le, fU as Na, fV as Ea, fW as Zr, fX as Hn, fY as _a, fZ as Da, c4 as es, bS as ts, f_ as ka, f$ as Ra, g0 as Ta, g1 as Fa, aV as ns, a$ as La, f6 as Aa, f7 as Oa, f9 as za, g2 as is, bs as St, bw as Nt, bE as Zt, g3 as rs, 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 Uf, d as Vf, bX as Qf, l as Kf, gI as Xf, aU as Yf, k as Jf, F as Zf, a as em, C as tm, go as nm, b as im, bG as rm, bb as sm, bH as om, g6 as am, aM as lm, bp as cm, ap as dm, g7 as um, ay as hm, g8 as fm, gc as mm, gd as gm, ge as pm, gN as vm, b1 as bm, n as ym, aA as xm, by as wm, gr as Cm, b5 as Sm, gs as Nm, gu as Em, gv as _m, cB as Dm, cz as km, e as Rm, h as Tm, gx as Fm, cl as Lm, cm as Am, g5 as Om, gM as zm, a_ as Mm, cA as Im, gt as Bm, cn as Pm, bV as Hm, gO as Wm, g9 as qm, ga as $m, gb as Gm, co as jm, gH as Um, gC as Vm, gq as Qm, gk as Km, gj as Xm, gi as Ym, gF as Jm, gB as Zm, aY as eg, ck as tg, ch as ng, cj as ig, cg as rg, gl as sg, gA as og, gz as ag, gm as lg, c3 as cg, ci as dg, gg as ug, gh as hg, gn as fg, g as mg, c as gg, gy as pg, gD as vg, gJ as bg, gK as yg, gL as xg, aW as wg, gp as Cg, gf as Sg, i as Ng, gE as Eg, br as _g, aT as Dg, gG as kg, j as Rg, f as Tg, gP as Fg } from "./useDataCollectionSource-BNMQa-mV.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 I, 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 { r as ja, t as Ua, v as cs, w as Va, x as Qa, y as Wn, z as Ka, B as Ti, E as Xa, G as Ya, H as Ja, I as ds, J as wn, K as Fi, L as us, N as Za, O as hs, P as rr, Q as el } from "./types-BQbiqg33.js";
6
- import { A as Ag, U as Og, C as zg, c as Mg, D as Ig, a as Bg, b as Pg, S as Hg, e as Wg, f as qg, g as $g, h as Gg, p as jg, l as Ug, $ as Vg, m as Qg, R as Kg, a0 as Xg, n as Yg, i as Jg, a5 as Zg, F as ep, d as tp, V as np, W as ip, X as rp, Y as sp, M as op, Z as ap, _ as lp, k as cp, j as dp, T as up, q as hp, a3 as fp, a2 as mp, o as gp, s as pp, u as vp, a4 as bp, a6 as yp, a1 as xp } from "./types-BQbiqg33.js";
5
+ import { r as ja, t as Ua, v as cs, w as Va, x as Qa, y as Wn, z as Ka, B as Ti, E as Xa, G as Ya, H as Ja, I as ds, J as wn, K as Fi, L as us, N as Za, O as hs, P as rr, Q as el } from "./types-zUkcMLoO.js";
6
+ import { A as Ag, U as Og, C as zg, c as Mg, D as Ig, a as Bg, b as Pg, S as Hg, e as Wg, f as qg, g as $g, h as Gg, p as jg, l as Ug, $ as Vg, m as Qg, R as Kg, a0 as Xg, n as Yg, i as Jg, a5 as Zg, F as ep, d as tp, V as np, W as ip, X as rp, Y as sp, M as op, Z as ap, _ as lp, k as cp, j as dp, T as up, q as hp, a3 as fp, a2 as mp, o as gp, s as pp, u as vp, a4 as bp, a6 as yp, a1 as xp } from "./types-zUkcMLoO.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-B4mNCbMc.js";
9
- import { l as Cp, m as Sp, n as Np, s as Ep, F as _p, o as Dp, v as kp, w as Rp, N as Tp, x as Fp, p as Lp, P as Ap, r as Op, R as zp, q as Mp, u as Ip, t as Bp } from "./index-B4mNCbMc.js";
8
+ import { C as tl, D as nl, y as il, j as rl } from "./index-C3C31VSu.js";
9
+ import { l as Cp, m as Sp, n as Np, s as Ep, F as _p, o as Dp, v as kp, w as Rp, N as Tp, x as Fp, p as Lp, P as Ap, r as Op, R as zp, q as Mp, u as Ip, t as Bp } from "./index-C3C31VSu.js";
10
10
  import { defaultTranslations as Hp } from "./i18n-provider-defaults.js";
11
11
  import './f0.css';const sl = {
12
12
  xs: 1,
@@ -853,8 +853,8 @@ declare module "@tiptap/core" {
853
853
 
854
854
  declare module "@tiptap/core" {
855
855
  interface Commands<ReturnType> {
856
- moodTracker: {
857
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
856
+ transcript: {
857
+ insertTranscript: (data: TranscriptData) => ReturnType;
858
858
  };
859
859
  }
860
860
  }
@@ -862,8 +862,10 @@ declare module "@tiptap/core" {
862
862
 
863
863
  declare module "@tiptap/core" {
864
864
  interface Commands<ReturnType> {
865
- transcript: {
866
- insertTranscript: (data: TranscriptData) => ReturnType;
865
+ videoEmbed: {
866
+ setVideoEmbed: (options: {
867
+ src: string;
868
+ }) => ReturnType;
867
869
  };
868
870
  }
869
871
  }
@@ -871,10 +873,8 @@ declare module "@tiptap/core" {
871
873
 
872
874
  declare module "@tiptap/core" {
873
875
  interface Commands<ReturnType> {
874
- videoEmbed: {
875
- setVideoEmbed: (options: {
876
- src: string;
877
- }) => ReturnType;
876
+ moodTracker: {
877
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
878
878
  };
879
879
  }
880
880
  }
@@ -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-BrDW9ABH.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-BNMQa-mV.js";
5
5
  import './index.css';const Qh = {
6
6
  active: !0,
7
7
  breakpoints: {},
@@ -1,7 +1,7 @@
1
1
  import { jsxs as B, jsx as b, Fragment as Pn } from "react/jsx-runtime";
2
2
  import * as yn from "react";
3
3
  import ut, { useInsertionEffect as MI, forwardRef as q, useEffect as et, useState as ze, useCallback as _e, useRef as be, useMemo as Ne, useId as Jy, Fragment as DI, createContext as cs, useContext as fs, useSyncExternalStore as U4, createElement as AI } from "react";
4
- import { gQ as kI, gR as EI, gS as II, gT as NI, gU as K8, gV as RI, gW as PI, gX as VI, gY as OI, gZ as BI, g_ as J8, g$ as FI, h0 as zI, h1 as HI, h2 as GI, h3 as $I, h4 as WI, h5 as UI, h6 as ud, h7 as ZI, h8 as YI, h9 as XI, fH as jI, ha as qI, hb as KI, a1 as kv, fN as JI, hc as QI, hd as eN, he as tN, hf as rN, hg as Q8, cD as nN, cE as aN, ab as eS, hh as iN, aN as oN, hi as sN, al as tS, bQ as lN, af as rS, ai as uN, eJ as cN, a9 as nS, a5 as fN, X as hN, a8 as aS, bc as dN, eM as vN, b4 as pN, bP as gN, a3 as Yc, az as mN, bh as Qy, hj as yN, bN as _N, hk as xl, bJ as wN, hl as xN, ff as e2, b3 as bN, hm as CN, hn as SN, ho as LN, hp as TN, hq as iS, bB as MN, bC as DN, eA as AN, ez as kN, ey as EN, eB as IN, ex as NN, hr as RN, hs as PN, ht as VN, f3 as oS, eE as ON, eF as BN, eG as FN, eK as S0, bO as zN, ag as HN, bx as sS, hu as GN, hv as $N, fO as WN, hw as UN, hx as ZN, fF as lS, eH as YN, hy as XN, au as jN, f$ as uS, S as qN, a4 as KN, f_ as cS, eO as JN, hz as QN, bg as eR, bf as tR, hA as rR, eI as nR, hB as aR, hC as iR, b2 as oR, aD as sR, hD as fS, ax as lR, hE as uR, ba as cR, eN as fR, eC as hR, hF as dR, hG as vR, bn as hS, hH as pR, bL as gR, bK as mR, bM as yR, hI as _R, M as wR, L as xR, hJ as bR, hK as bl, fE as CR, hL as SR, hM as LR, hN as TR, hO as MR, hP as DR, fG as dS, g4 as AR, eL as kR, ah as ER, hQ as IR, Q as L0, Y as ue, ad as Xc, u as Ct, aj as Di, fA as Z4, ae as vS, t as je, aM as pS, bG as NR, w as $i, b1 as gS, W as Hr, hR as Y4, hS as X4, gh as Ap, gi as j4, hT as RR, hU as PR, N as dn, fv as mS, bq as VR, hV as OR, hW as BR, bW as sl, fs as t2, ft as yS, hX as FR, fx as _S, gm as pr, bX as wS, fQ as zR, gn as Vn, gd as xS, bZ as r2, g6 as HR, A as bS, b_ as GR, cA as $R, aA as pl, b$ as WR, c0 as UR, fu as ZR, hY as Ki, c5 as CS, c9 as SS, gp as LS, hZ as YR, h_ as XR, h$ as jR, bS as qR, O as KR, P as JR, V as QR, a_ as eP, fM as kp, a0 as Ep, fI as tP, fJ as rP, U as nP, fK as aP, cv as n2, cq as a2, aa as iP, g5 as oP, i0 as sP, i1 as lP, g as hs, g0 as uP, i2 as cP, f as TS, i3 as MS, d as DS, am as fP, c4 as hP, i4 as dP, i5 as vP, I as pP, i6 as gP, i7 as mP, gM as yP, i8 as _P, i9 as wP, h as xP, b6 as bP, ia as CP, ib as SP, aV as LP, ic as TP, id as MP, ie as DP, ay as AP, ig as kP, aX as EP, ih as IP, aT as AS, K as NP, v as cd, ap as RP, bp as PP, g7 as VP, bb as OP, by as BP, fk as FP, dM as zP, dO as HP, dF as GP, dJ as $P, ak as WP } from "./useDataCollectionSource-BrDW9ABH.js";
4
+ import { gQ as kI, gR as EI, gS as II, gT as NI, gU as K8, gV as RI, gW as PI, gX as VI, gY as OI, gZ as BI, g_ as J8, g$ as FI, h0 as zI, h1 as HI, h2 as GI, h3 as $I, h4 as WI, h5 as UI, h6 as ud, h7 as ZI, h8 as YI, h9 as XI, fH as jI, ha as qI, hb as KI, a1 as kv, fN as JI, hc as QI, hd as eN, he as tN, hf as rN, hg as Q8, cD as nN, cE as aN, ab as eS, hh as iN, aN as oN, hi as sN, al as tS, bQ as lN, af as rS, ai as uN, eJ as cN, a9 as nS, a5 as fN, X as hN, a8 as aS, bc as dN, eM as vN, b4 as pN, bP as gN, a3 as Yc, az as mN, bh as Qy, hj as yN, bN as _N, hk as xl, bJ as wN, hl as xN, ff as e2, b3 as bN, hm as CN, hn as SN, ho as LN, hp as TN, hq as iS, bB as MN, bC as DN, eA as AN, ez as kN, ey as EN, eB as IN, ex as NN, hr as RN, hs as PN, ht as VN, f3 as oS, eE as ON, eF as BN, eG as FN, eK as S0, bO as zN, ag as HN, bx as sS, hu as GN, hv as $N, fO as WN, hw as UN, hx as ZN, fF as lS, eH as YN, hy as XN, au as jN, f$ as uS, S as qN, a4 as KN, f_ as cS, eO as JN, hz as QN, bg as eR, bf as tR, hA as rR, eI as nR, hB as aR, hC as iR, b2 as oR, aD as sR, hD as fS, ax as lR, hE as uR, ba as cR, eN as fR, eC as hR, hF as dR, hG as vR, bn as hS, hH as pR, bL as gR, bK as mR, bM as yR, hI as _R, M as wR, L as xR, hJ as bR, hK as bl, fE as CR, hL as SR, hM as LR, hN as TR, hO as MR, hP as DR, fG as dS, g4 as AR, eL as kR, ah as ER, hQ as IR, Q as L0, Y as ue, ad as Xc, u as Ct, aj as Di, fA as Z4, ae as vS, t as je, aM as pS, bG as NR, w as $i, b1 as gS, W as Hr, hR as Y4, hS as X4, gh as Ap, gi as j4, hT as RR, hU as PR, N as dn, fv as mS, bq as VR, hV as OR, hW as BR, bW as sl, fs as t2, ft as yS, hX as FR, fx as _S, gm as pr, bX as wS, fQ as zR, gn as Vn, gd as xS, bZ as r2, g6 as HR, A as bS, b_ as GR, cA as $R, aA as pl, b$ as WR, c0 as UR, fu as ZR, hY as Ki, c5 as CS, c9 as SS, gp as LS, hZ as YR, h_ as XR, h$ as jR, bS as qR, O as KR, P as JR, V as QR, a_ as eP, fM as kp, a0 as Ep, fI as tP, fJ as rP, U as nP, fK as aP, cv as n2, cq as a2, aa as iP, g5 as oP, i0 as sP, i1 as lP, g as hs, g0 as uP, i2 as cP, f as TS, i3 as MS, d as DS, am as fP, c4 as hP, i4 as dP, i5 as vP, I as pP, i6 as gP, i7 as mP, gM as yP, i8 as _P, i9 as wP, h as xP, b6 as bP, ia as CP, ib as SP, aV as LP, ic as TP, id as MP, ie as DP, ay as AP, ig as kP, aX as EP, ih as IP, aT as AS, K as NP, v as cd, ap as RP, bp as PP, g7 as VP, bb as OP, by as BP, fk as FP, dM as zP, dO as HP, dF as GP, dJ as $P, ak as WP } from "./useDataCollectionSource-BNMQa-mV.js";
5
5
  import { utils as Ba, write as i2 } from "./xlsx-Bedf3nwD.js";
6
6
  import { useCopilotContext as UP, useCoAgent as kS } from "@copilotkit/react-core";
7
7
  import { flushSync as ZP } from "react-dom";