@factorialco/f0-react 1.337.0 → 1.337.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ai.d.ts CHANGED
@@ -714,11 +714,6 @@ declare module "gridstack" {
714
714
  }
715
715
 
716
716
 
717
- declare namespace Calendar {
718
- var displayName: string;
719
- }
720
-
721
-
722
717
  declare module "@tiptap/core" {
723
718
  interface Commands<ReturnType> {
724
719
  aiBlock: {
@@ -745,3 +740,8 @@ declare module "@tiptap/core" {
745
740
  };
746
741
  }
747
742
  }
743
+
744
+
745
+ declare namespace Calendar {
746
+ var displayName: string;
747
+ }
package/dist/ai.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as i, a as r, b as t, d as o, c as n, H as e, e as A, u as l, f as u } from "./AiChatTranslationsProvider-DA8jDPul.js";
2
- import { I as f, u as h } from "./index-DBAdMtnU.js";
1
+ import { A as i, a as r, b as t, d as o, c as n, H as e, e as A, u as l, f as u } from "./AiChatTranslationsProvider-k5c3RG4K.js";
2
+ import { I as f, u as h } from "./index-b5h4qera.js";
3
3
  import { defaultTranslations as m } from "./i18n-provider-defaults.js";
4
4
  export {
5
5
  i as ActionItem,
@@ -6509,11 +6509,6 @@ declare module "gridstack" {
6509
6509
  }
6510
6510
 
6511
6511
 
6512
- declare namespace Calendar {
6513
- var displayName: string;
6514
- }
6515
-
6516
-
6517
6512
  declare module "@tiptap/core" {
6518
6513
  interface Commands<ReturnType> {
6519
6514
  aiBlock: {
@@ -6540,3 +6535,8 @@ declare module "@tiptap/core" {
6540
6535
  };
6541
6536
  }
6542
6537
  }
6538
+
6539
+
6540
+ declare namespace Calendar {
6541
+ var displayName: string;
6542
+ }
@@ -1,12 +1,12 @@
1
- import { bd as Pa, be as $6, bf as z6, bg as B6, bh as j6, bi as H6, bj as Yc, bk as V6, bl as W6, bm as q6, m as ae, bn as ak, bo as U6, bp as $a, g as ud, bq as lk, br as G6, bs as K6, D as dk, bt as cg, bu as cl, bv as J6, u as Ne, bw as fk, bx as ck, by as uk, bz as hk, c as A, bA as pk, n as at, bB as mk, a as $n, bC as Xp, bD as gk, A as Je, F as me, bE as yk, bF as vk, B as fn, bG as hh, bH as bk, Q as Y, aG as uo, S as U, bI as Qn, bJ as Y6, bK as Q6, bL as na, ax as kk, bM as xk, N as Xn, a_ as wk, aF as Zp, bN as In, aH as em, aE as us, aB as X6, bO as br, f as za, aD as Xr, bP as _k, bQ as Z6, bR as ug, bS as Vs, bT as tm, bU as Ba, bV as hd, bW as eC, bX as Ck, bY as tC, bZ as nm, b_ as ia, b$ as mn, c0 as nC, c1 as iC, c2 as tr, c3 as Qc, c4 as rC, c5 as Io, c6 as Ns, c7 as sC, c8 as Sk, c9 as oC, ca as aC, cb as lC, cc as dC, O as gn, w as yt, aW as Nk, b4 as Ek, J as im, e as Zr, cd as fC, ce as Xc, cf as nr, cg as rm, ch as hg, ci as pg, cj as mg, ck as cC, P as $f, l as zf, o as Bf, au as ja, a7 as pd, d as Ha, cl as Tk, C as vn, a5 as zi, cm as Ak, cn as uC, co as Mk, a3 as Un, q as Gn, cp as hC, cq as Ok, cr as Dk, cs as Va, ct as sm, aI as ra, ad as sa, cu as pC, cv as Ik, cw as mC, cx as gC, cy as yC, cz as Rk, cA as vC, cB as Lk, cC as bC, cD as kC, cE as xC, cF as gg, cG as Fk, cH as wC, cI as ph, a1 as md, cJ as _C, cK as CC, at as jf, E as Pk, aw as SC, b9 as Wa, av as NC, cL as $k, G as kr, ac as lr, aL as gd, bb as mh, Z as qa, aX as Hf, aQ as EC, a4 as TC, _ as zk, cM as om, cN as Bk, b6 as AC, b8 as MC, b2 as jk, cO as OC, $ as Hk, cP as Vk, cQ as DC, cR as IC, cS as RC, cT as LC, cU as FC, cV as PC, b3 as $C, cW as zC, ah as BC, ai as jC, ap as Vf, an as am, cX as lm, ao as Wk, aj as yd, cY as HC, aZ as VC, ay as gh, cZ as WC, c_ as qC, c$ as UC, b as qk, ae as GC, am as KC, K as JC, L as YC, M as QC, a0 as XC, d0 as Ua, d1 as dm, a6 as fm, d2 as cm, d3 as Ga, d4 as ZC, a$ as Uk, d5 as eS, d6 as Gk, d7 as tS, d8 as nS, aR as iS, aS as rS, aJ as sS, aC as oS, d9 as Kk, da as aS } from "./index-DBAdMtnU.js";
2
- import { dd as KY, dc as JY, db as YY, di as QY, dj as XY, df as ZY, de as eQ, dh as tQ, a2 as nQ, dg as iQ } from "./index-DBAdMtnU.js";
3
- import { u as Jk, F as Yk, g as lS, h as Qk, i as Xk, j as um, k as Zk, l as Wf, m as dS, n as fS, o as hm, p as hs, q as cS, r as ex, s as pm, I as tx, t as uS, v as hS, w as pS, x as qf, y as nx, z as ix, B as yg, C as mS, D as gS, b as yS, a as vS, E as bS, G as kS, J as xS, K as wS, L as _S, M as rx, N as sx, O as CS, P as SS, Q as ox, R as vg, S as NS, T as ES, U as TS, V as AS, W as ax, X as bg, Y as MS, Z as yh, _ as lx, $ as dx, a0 as fx, a1 as OS, a2 as DS, a3 as IS, a4 as RS, a5 as cx, a6 as ux, a7 as hx, a8 as px, a9 as LS, aa as mx, ab as gx, ac as FS, ad as yx, ae as PS, af as $S, ag as zS, ah as BS, ai as kg, aj as xg, ak as wg, al as jS } from "./AiChatTranslationsProvider-DA8jDPul.js";
4
- import { A as sQ, an as oQ, d as aQ, c as lQ, H as dQ, am as fQ, f as cQ } from "./AiChatTranslationsProvider-DA8jDPul.js";
1
+ import { bc as Pa, bd as $6, be as z6, bf as B6, bg as j6, bh as H6, bi as Yc, bj as V6, bk as W6, bl as q6, m as ae, bm as ak, bn as U6, bo as $a, g as ud, bp as lk, bq as G6, br as K6, D as dk, bs as cg, bt as cl, bu as J6, u as Ne, bv as fk, bw as ck, bx as uk, by as hk, c as A, bz as pk, n as at, bA as mk, a as $n, bB as Xp, bC as gk, A as Je, F as me, bD as yk, bE as vk, B as fn, bF as hh, bG as bk, Q as Y, aG as uo, S as U, bH as Qn, bI as Y6, bJ as Q6, bK as na, ax as kk, bL as xk, N as Xn, aF as Zp, bM as In, aH as em, aE as us, aB as X6, bN as br, f as za, aD as Xr, bO as wk, bP as Z6, bQ as ug, bR as Vs, bS as tm, bT as Ba, bU as hd, bV as eC, bW as _k, bX as tC, bY as nm, bZ as ia, b_ as mn, b$ as nC, c0 as iC, c1 as tr, c2 as Qc, c3 as rC, c4 as Io, c5 as Ns, c6 as sC, c7 as Ck, c8 as oC, c9 as aC, ca as lC, cb as dC, O as gn, w as yt, aW as Sk, b3 as Nk, J as im, e as Zr, cc as fC, cd as Xc, ce as nr, cf as rm, cg as hg, ch as pg, ci as mg, cj as cC, P as $f, l as zf, o as Bf, au as ja, a7 as pd, d as Ha, ck as Ek, C as vn, a5 as zi, cl as Tk, cm as uC, cn as Ak, a3 as Un, q as Gn, co as hC, cp as Mk, cq as Ok, cr as Va, cs as sm, aI as ra, ad as sa, ct as pC, cu as Dk, cv as mC, cw as gC, cx as yC, cy as Ik, cz as vC, cA as Rk, cB as bC, cC as kC, cD as xC, cE as gg, cF as Lk, cG as wC, cH as ph, a1 as md, cI as _C, cJ as CC, at as jf, E as Fk, aw as SC, b8 as Wa, av as NC, cK as Pk, G as kr, ac as lr, aL as gd, ba as mh, Z as qa, aX as Hf, aQ as EC, a4 as TC, _ as $k, cL as om, cM as zk, b5 as AC, b7 as MC, b1 as Bk, cN as OC, $ as jk, cO as Hk, cP as DC, cQ as IC, cR as RC, cS as LC, cT as FC, cU as PC, b2 as $C, cV as zC, ah as BC, ai as jC, ap as Vf, an as am, cW as lm, ao as Vk, aj as yd, cX as HC, aZ as VC, ay as gh, cY as WC, cZ as qC, c_ as UC, b as Wk, ae as GC, am as KC, K as JC, L as YC, M as QC, a0 as XC, c$ as Ua, d0 as dm, a6 as fm, d1 as cm, d2 as Ga, d3 as ZC, a_ as qk, d4 as eS, d5 as Uk, d6 as tS, d7 as nS, aR as iS, aS as rS, aJ as sS, aC as oS, d8 as Gk, d9 as aS } from "./index-b5h4qera.js";
2
+ import { dc as KY, db as JY, da as YY, dh as QY, di as XY, de as ZY, dd as eQ, dg as tQ, a2 as nQ, df as iQ } from "./index-b5h4qera.js";
3
+ import { u as Kk, F as Jk, g as lS, h as Yk, i as Qk, j as Xk, k as um, l as Zk, m as Wf, n as dS, o as fS, p as hm, q as hs, r as cS, s as ex, t as pm, I as tx, v as uS, w as hS, x as pS, y as qf, z as nx, B as ix, C as yg, D as mS, E as gS, b as yS, a as vS, G as bS, J as kS, K as xS, L as wS, M as _S, N as rx, O as sx, P as CS, Q as SS, R as ox, S as vg, T as NS, U as ES, V as TS, W as AS, X as ax, Y as bg, Z as MS, _ as yh, $ as lx, a0 as dx, a1 as fx, a2 as OS, a3 as DS, a4 as IS, a5 as RS, a6 as cx, a7 as ux, a8 as hx, a9 as px, aa as LS, ab as mx, ac as gx, ad as FS, ae as yx, af as PS, ag as $S, ah as zS, ai as BS, aj as kg, ak as xg, al as wg, am as jS } from "./AiChatTranslationsProvider-k5c3RG4K.js";
4
+ import { A as sQ, ao as oQ, d as aQ, c as lQ, H as dQ, an as fQ, f as cQ } from "./AiChatTranslationsProvider-k5c3RG4K.js";
5
5
  import { jsx as u, jsxs as b, Fragment as _e } from "react/jsx-runtime";
6
6
  import * as Ge from "react";
7
7
  import G, { useContext as zn, useState as P, useEffect as ne, createContext as Zn, forwardRef as ye, useRef as re, PureComponent as HS, useTransition as VS, useLayoutEffect as ps, useId as Uf, useCallback as Te, useMemo as J, memo as Ka, Fragment as hi, isValidElement as vx, cloneElement as mm, createElement as vh, useDebugValue as bx, createRef as WS, version as _g, useImperativeHandle as Gf, Children as kx } from "react";
8
- import { f as Rs, aC as oa, j as ul, aD as qS, b as Zc, aE as US, A as GS, d as hl, i as KS, m as JS, G as YS, g as Cg, aF as QS, l as Sg, aG as XS, p as ZS, aH as xx, aI as wx, aJ as e9, aK as bh, C as t9, av as n9, a3 as es, D as Lt, t as i9, x as r9, y as s9, F as o9, M as Ng, N as Eg, O as a9, P as l9, ak as d9, aL as kh, aM as Kf, a7 as f9, aN as _x, aO as c9, aP as u9, aQ as h9, af as xh, aR as p9, aS as m9, aq as Jf, ag as gm, aT as Cx, ad as Sx, ae as ms, a9 as g9, aU as y9, aV as v9, aW as b9, a5 as Yf, aX as Qf, aY as Xf, a6 as Zf, aj as ym, aZ as k9, az as x9, a_ as wh, a$ as w9, b0 as vd, b1 as _9, aA as C9, b2 as S9, ay as Nx, ax as N9, aw as E9, b3 as T9, b4 as A9, b5 as M9, b6 as O9, aB as Ex, b7 as Tx, ao as Ax, b8 as D9, b9 as I9, ba as R9, a8 as L9, R as F9, T as P9, V as $9, W as z9, Z as B9, U as j9, bb as Tg, bc as H9, bd as V9, n as W9 } from "./DataCollectionStorageProvider-BED1hCVa.js";
9
- import { aa as hQ, a2 as pQ, be as mQ, bf as gQ, al as yQ, am as vQ } from "./DataCollectionStorageProvider-BED1hCVa.js";
8
+ import { f as Rs, aC as oa, j as ul, aD as qS, b as Zc, aE as US, A as GS, d as hl, i as KS, m as JS, G as YS, g as Cg, aF as QS, l as Sg, aG as XS, p as ZS, aH as xx, aI as wx, aJ as e9, aK as bh, C as t9, av as n9, a3 as es, D as Lt, t as i9, x as r9, y as s9, F as o9, M as Ng, N as Eg, O as a9, P as l9, ak as d9, aL as kh, aM as Kf, a7 as f9, aN as _x, aO as c9, aP as u9, aQ as h9, af as xh, aR as p9, aS as m9, aq as Jf, ag as gm, aT as Cx, ad as Sx, ae as ms, a9 as g9, aU as y9, aV as v9, aW as b9, a5 as Yf, aX as Qf, aY as Xf, a6 as Zf, aj as ym, aZ as k9, az as x9, a_ as wh, a$ as w9, b0 as vd, b1 as _9, aA as C9, b2 as S9, ay as Nx, ax as N9, aw as E9, b3 as T9, b4 as A9, b5 as M9, b6 as O9, aB as Ex, b7 as Tx, ao as Ax, b8 as D9, b9 as I9, ba as R9, a8 as L9, R as F9, T as P9, V as $9, W as z9, Z as B9, U as j9, bb as Tg, bc as H9, bd as V9, n as W9 } from "./DataCollectionStorageProvider-DtHPdndA.js";
9
+ import { aa as hQ, a2 as pQ, be as mQ, bf as gQ, al as yQ, am as vQ } from "./DataCollectionStorageProvider-DtHPdndA.js";
10
10
  import vm from "react-dom";
11
11
  import './experimental.css';function Mx(t) {
12
12
  const e = Pa(() => $6(t)), { isStatic: n } = zn(z6);
@@ -853,7 +853,7 @@ function P8({ breadcrumbs: t, append: e }) {
853
853
  }, `breadcrumb-${t.at(-1)?.id ?? 0}`);
854
854
  }
855
855
  const Px = ({ className: t, disabled: e }) => {
856
- const { enabled: n, setOpen: i, open: r } = Jk(), s = Ne(), [o, a] = P(!1);
856
+ const { enabled: n, setOpen: i, open: r } = Kk(), s = Ne(), [o, a] = P(!1);
857
857
  return n ? u("div", {
858
858
  className: "flex items-center",
859
859
  children: u(fk, {
@@ -892,7 +892,7 @@ const Px = ({ className: t, disabled: e }) => {
892
892
  transitionTimingFunction: "cubic-bezier(0.175,0.885,0.32,1.5)"
893
893
  },
894
894
  children: u("div", {
895
- children: u(Yk, {
895
+ children: u(Jk, {
896
896
  size: "sm",
897
897
  background: r ? "white" : void 0,
898
898
  hover: o
@@ -1247,7 +1247,7 @@ const Bg = ae.create(me), jg = {
1247
1247
  whileTap: {
1248
1248
  scale: 0.8
1249
1249
  },
1250
- icon: Qk,
1250
+ icon: Yk,
1251
1251
  className: "outline-none",
1252
1252
  variants: jg,
1253
1253
  initial: i ? "enterFromFavorite" : "initial",
@@ -1288,7 +1288,7 @@ const Bg = ae.create(me), jg = {
1288
1288
  asChild: !0,
1289
1289
  children: u(fn, {
1290
1290
  variant: "outline",
1291
- icon: Xk,
1291
+ icon: Qk,
1292
1292
  hideLabel: !0,
1293
1293
  label: e,
1294
1294
  pressed: v,
@@ -1467,7 +1467,7 @@ const Bg = ae.create(me), jg = {
1467
1467
  title: t,
1468
1468
  description: i,
1469
1469
  icon: u(me, {
1470
- icon: Xk,
1470
+ icon: Qk,
1471
1471
  size: "lg",
1472
1472
  className: "block"
1473
1473
  }),
@@ -1619,7 +1619,7 @@ function FJ({ module: t, statusTag: e = void 0, breadcrumbs: n = [], actions: i
1619
1619
  hideLabel: !0,
1620
1620
  onClick: () => d(),
1621
1621
  label: "Open main menu",
1622
- icon: wk
1622
+ icon: Xk
1623
1623
  })
1624
1624
  })
1625
1625
  })
@@ -1966,7 +1966,7 @@ function a7(t) {
1966
1966
  return t.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
1967
1967
  }
1968
1968
  function l7(t, e, n) {
1969
- const r = _k((n || {}).ignore || []), s = d7(e);
1969
+ const r = wk((n || {}).ignore || []), s = d7(e);
1970
1970
  let o = -1;
1971
1971
  for (; ++o < s.length; )
1972
1972
  Z6(t, "text", a);
@@ -2566,7 +2566,7 @@ function nN(t, e) {
2566
2566
  return eC(t, function(i) {
2567
2567
  if ("value" in i && /\r?\n|\r/.test(i.value) || i.type === "break")
2568
2568
  return n = !0, tC;
2569
- }), !!((!t.depth || t.depth < 3) && Ck(t) && (e.options.setext || n));
2569
+ }), !!((!t.depth || t.depth < 3) && _k(t) && (e.options.setext || n));
2570
2570
  }
2571
2571
  function iN(t, e, n, i) {
2572
2572
  const r = Math.max(Math.min(6, t.depth || 1), 1), s = n.createTracker(i);
@@ -2677,7 +2677,7 @@ function aN() {
2677
2677
  return "`";
2678
2678
  }
2679
2679
  function Xx(t, e) {
2680
- const n = Ck(t);
2680
+ const n = _k(t);
2681
2681
  return !!(!e.options.resourceLink && // If there’s a url…
2682
2682
  t.url && // And there’s a no title…
2683
2683
  !t.title && // And the content of `node` is a single text node…
@@ -2853,7 +2853,7 @@ function mN(t, e, n, i) {
2853
2853
  }
2854
2854
  const gN = (
2855
2855
  /** @type {(node?: unknown) => node is Exclude<PhrasingContent, Html>} */
2856
- _k([
2856
+ wk([
2857
2857
  "break",
2858
2858
  "delete",
2859
2859
  "emphasis",
@@ -3873,7 +3873,7 @@ function mE(t) {
3873
3873
  r.push(hE(n)), s.push(RN()), o.push(LN(n));
3874
3874
  }
3875
3875
  const gE = oC().use(aC).use(mE).use(lC).use(dC), yE = ye(function({ content: e, className: n, format: i = "html", ...r }, s) {
3876
- const o = J(() => Sk.sanitize(i === "markdown" ? String(gE.processSync(e)) : e, {
3876
+ const o = J(() => Ck.sanitize(i === "markdown" ? String(gE.processSync(e)) : e, {
3877
3877
  ADD_ATTR: ["target"],
3878
3878
  ALLOWED_ATTR: ["href", "target", "rel", "class"]
3879
3879
  }), [i, e]), a = /<[^>]*>/.test(o);
@@ -3984,8 +3984,8 @@ const hw = yt(uw, kE), pw = $n({
3984
3984
  }
3985
3985
  }), Jg = {
3986
3986
  positive: im,
3987
- warning: Ek,
3988
- info: Nk
3987
+ warning: Nk,
3988
+ info: Sk
3989
3989
  }, Yg = {
3990
3990
  positive: "text-f1-foreground-positive font-medium",
3991
3991
  warning: "text-f1-foreground-warning font-medium",
@@ -4121,7 +4121,7 @@ const PJ = yt(mw, _E), CE = ({ data: t, dataConfig: e, scaleMin: n, scaleMax: i,
4121
4121
  })]
4122
4122
  })
4123
4123
  });
4124
- }, $J = i9(za("RadarChart", CE)), SE = ae.create(Yk), NE = () => {
4124
+ }, $J = i9(za("RadarChart", CE)), SE = ae.create(Jk), NE = () => {
4125
4125
  const t = Ne();
4126
4126
  return b("div", {
4127
4127
  className: "flex flex-row items-center gap-1 rounded-full border border-solid border-f1-border-secondary bg-f1-background px-2 py-1.5 pr-2.5 shadow-md",
@@ -4434,7 +4434,7 @@ const Sm = () => {
4434
4434
  return [
4435
4435
  {
4436
4436
  label: e("coCreationForm.questionTypes.rating"),
4437
- icon: Qk,
4437
+ icon: Yk,
4438
4438
  questionType: "rating"
4439
4439
  },
4440
4440
  {
@@ -8115,7 +8115,7 @@ const MT = ({ option: t, selected: e, onClick: n, onChangeLabel: i, isEditMode:
8115
8115
  })]
8116
8116
  })
8117
8117
  });
8118
- }, Gw = Ge.forwardRef(({ className: t, label: e, labelIcon: n, icon: i, error: r, hideLabel: s, maxLength: o, clearable: a, disabled: l, value: d, cols: f, rows: c, status: h, hint: p, onChange: m, placeholder: g, ...y }, v) => u(Tk, {
8118
+ }, Gw = Ge.forwardRef(({ className: t, label: e, labelIcon: n, icon: i, error: r, hideLabel: s, maxLength: o, clearable: a, disabled: l, value: d, cols: f, rows: c, status: h, hint: p, onChange: m, placeholder: g, ...y }, v) => u(Ek, {
8119
8119
  label: e,
8120
8120
  labelIcon: n,
8121
8121
  icon: i,
@@ -8600,7 +8600,7 @@ function qT({ title: t, isActive: e = !1, onClick: n }) {
8600
8600
  });
8601
8601
  }
8602
8602
  function UT({ author: t, timestamp: e, onClick: n, isActive: i }) {
8603
- const { locale: r } = Ak(), s = uC(r), o = Mk(e, "PPPp", {
8603
+ const { locale: r } = Tk(), s = uC(r), o = Ak(e, "PPPp", {
8604
8604
  locale: s
8605
8605
  }), a = `${t.firstName} ${t.lastName}`;
8606
8606
  return b("button", {
@@ -8810,7 +8810,7 @@ const GT = ({ entity: t, selected: e, onSelect: n, onRemove: i, marginLeft: r, s
8810
8810
  className: "flex w-full flex-row flex-wrap items-center gap-0 rounded-md border pl-2.5 pr-1",
8811
8811
  children: [u(Y, {
8812
8812
  hideLabel: !0,
8813
- icon: e ? Ok : Dk,
8813
+ icon: e ? Mk : Ok,
8814
8814
  onClick: () => l(!e),
8815
8815
  label: e ? "Collapse" : "Expand",
8816
8816
  size: "sm",
@@ -9210,7 +9210,7 @@ const Cy = ({ label: t, onCreate: e, goToFirst: n, goToLast: i }) => u("div", {
9210
9210
  className: "pr-2 pt-1.5",
9211
9211
  children: u(pC, {
9212
9212
  className: A("max-w-54 w-fit gap-1 text-ellipsis break-all border-[1px] border-solid border-f1-border-secondary py-[1px] pl-[1px]", "rounded-full", i ? "pl-2" : "pl-0"),
9213
- left: !i && u(Ik, {
9213
+ left: !i && u(Dk, {
9214
9214
  src: t.subAvatar,
9215
9215
  name: t.subName,
9216
9216
  size: "xs",
@@ -9328,7 +9328,7 @@ const Cy = ({ label: t, onCreate: e, goToFirst: n, goToLast: i }) => u("div", {
9328
9328
  subAvatar: M.avatar
9329
9329
  }
9330
9330
  })), [k, n]), _ = C.length === 0 ? void 0 : C.length === 1 ? C[0].subItem.subName : C.length + " " + e, N = C.length === 1 ? C[0].subItem.subName : void 0;
9331
- return u(Tk, {
9331
+ return u(Ek, {
9332
9332
  onClickContent: c,
9333
9333
  role: "combobox",
9334
9334
  label: s,
@@ -9683,8 +9683,8 @@ function iA(t, e) {
9683
9683
  }, 1 / 0)), Math.min(n, i);
9684
9684
  }
9685
9685
  var go = "ToggleGroup", [Yw] = yC(go, [
9686
- Rk
9687
- ]), Qw = Rk(), Tm = G.forwardRef((t, e) => {
9686
+ Ik
9687
+ ]), Qw = Ik(), Tm = G.forwardRef((t, e) => {
9688
9688
  const { type: n, ...i } = t;
9689
9689
  if (n === "single")
9690
9690
  return /* @__PURE__ */ u(rA, { ...i, ref: e });
@@ -9700,7 +9700,7 @@ var [Xw, Zw] = Yw(go), rA = G.forwardRef((t, e) => {
9700
9700
  onValueChange: r = () => {
9701
9701
  },
9702
9702
  ...s
9703
- } = t, [o, a] = Lk({
9703
+ } = t, [o, a] = Rk({
9704
9704
  prop: n,
9705
9705
  defaultProp: i,
9706
9706
  onChange: r
@@ -9723,7 +9723,7 @@ var [Xw, Zw] = Yw(go), rA = G.forwardRef((t, e) => {
9723
9723
  onValueChange: r = () => {
9724
9724
  },
9725
9725
  ...s
9726
- } = t, [o = [], a] = Lk({
9726
+ } = t, [o = [], a] = Rk({
9727
9727
  prop: n,
9728
9728
  defaultProp: i,
9729
9729
  onChange: r
@@ -9820,7 +9820,7 @@ const r2 = $n({
9820
9820
  variant: "default",
9821
9821
  size: "default"
9822
9822
  }
9823
- }), lA = Ge.forwardRef(({ className: t, variant: e, size: n, ...i }, r) => u(Fk, {
9823
+ }), lA = Ge.forwardRef(({ className: t, variant: e, size: n, ...i }, r) => u(Lk, {
9824
9824
  ref: r,
9825
9825
  className: A(r2({
9826
9826
  variant: e,
@@ -9829,7 +9829,7 @@ const r2 = $n({
9829
9829
  })),
9830
9830
  ...i
9831
9831
  }));
9832
- lA.displayName = Fk.displayName;
9832
+ lA.displayName = Lk.displayName;
9833
9833
  const s2 = Ge.createContext({
9834
9834
  size: "default",
9835
9835
  variant: "default"
@@ -11513,7 +11513,7 @@ const ZA = ({ link: t, firstName: e, lastName: n, src: i, onClick: r, canReact:
11513
11513
  className: "flex w-full flex-col items-start justify-between gap-4 rounded-md bg-gradient-to-r from-[#F5A51C]/30 via-[#E51943]/30 to-[#5596F6]/30 px-3 py-3 ring-1 ring-inset ring-f1-border-secondary sm:flex-row sm:items-center sm:px-4",
11514
11514
  children: [b("div", {
11515
11515
  className: "flex flex-col items-start gap-3 sm:flex-row sm:items-center",
11516
- children: [u(Pk, {
11516
+ children: [u(Fk, {
11517
11517
  module: "kudos",
11518
11518
  size: "lg"
11519
11519
  }), b("div", {
@@ -11552,7 +11552,7 @@ function tM({ emoji: t, initialCount: e, hasReacted: n = !1, users: i, onInterac
11552
11552
  emoji: t,
11553
11553
  size: "md"
11554
11554
  }),
11555
- children: u($k, {
11555
+ children: u(Pk, {
11556
11556
  value: a,
11557
11557
  spinTiming: {
11558
11558
  duration: 200,
@@ -11595,7 +11595,7 @@ const Vy = (t) => {
11595
11595
  i.removeEventListener("click", Vy), i.addEventListener("click", Vy);
11596
11596
  }), u("div", {
11597
11597
  dangerouslySetInnerHTML: {
11598
- __html: Sk.sanitize(t)
11598
+ __html: Ck.sanitize(t)
11599
11599
  },
11600
11600
  className: A(n, e && "line-clamp-5")
11601
11601
  });
@@ -11985,7 +11985,7 @@ const Vy = (t) => {
11985
11985
  });
11986
11986
  }, cM = {
11987
11987
  warning: {
11988
- icon: Ek,
11988
+ icon: Nk,
11989
11989
  iconColor: "warning",
11990
11990
  textColor: "text-f1-foreground-warning"
11991
11991
  },
@@ -12611,7 +12611,7 @@ const B2 = ye(({ action: t, avatarUrl: e, firstName: n, lastName: i }, r) => {
12611
12611
  B2.displayName = "PersonItem";
12612
12612
  const j2 = ye(({ avatarUrl: t, name: e, action: n }, i) => u(Xa, {
12613
12613
  ref: i,
12614
- leftIcon: () => u(zk, {
12614
+ leftIcon: () => u($k, {
12615
12615
  name: e,
12616
12616
  size: "xs",
12617
12617
  src: t
@@ -12721,7 +12721,7 @@ const dc = (t, e) => t && t.type === "copy" ? {
12721
12721
  }), n.info && u(In, {
12722
12722
  label: n.info,
12723
12723
  children: u(me, {
12724
- icon: Nk,
12724
+ icon: Sk,
12725
12725
  size: "sm",
12726
12726
  className: "text-f1-icon-secondary"
12727
12727
  })
@@ -12810,7 +12810,7 @@ function NM(t, e) {
12810
12810
  }, [t, e, n, i]);
12811
12811
  }
12812
12812
  function EM({ ai: t, aiPromotion: e, children: n, sidebar: i, banner: r }) {
12813
- const { sidebarState: s, toggleSidebar: o, isSmallScreen: a, setForceFloat: l } = po(), d = jf(), { open: f } = Jk(), { open: c } = tc(), h = gk(`(max-width: ${bh.xl}px)`, {
12813
+ const { sidebarState: s, toggleSidebar: o, isSmallScreen: a, setForceFloat: l } = po(), d = jf(), { open: f } = Kk(), { open: c } = tc(), h = gk(`(max-width: ${bh.xl}px)`, {
12814
12814
  initializeWithValue: !0
12815
12815
  });
12816
12816
  return ne(() => {
@@ -12992,7 +12992,7 @@ const Fh = {
12992
12992
  duration: 0.2
12993
12993
  }
12994
12994
  },
12995
- children: [u(Ik, {
12995
+ children: [u(Dk, {
12996
12996
  type: "rounded",
12997
12997
  name: [t, e],
12998
12998
  src: n,
@@ -13084,7 +13084,7 @@ function AM({ children: t, header: e, period: n, embedded: i = !1 }) {
13084
13084
  variant: "ghost",
13085
13085
  onClick: () => s(),
13086
13086
  label: "Open main menu",
13087
- icon: wk,
13087
+ icon: Xk,
13088
13088
  hideLabel: !0
13089
13089
  }), b("div", {
13090
13090
  className: A("flex flex-row items-center", o ? "gap-1.5" : "gap-3"),
@@ -13251,7 +13251,7 @@ const IM = ({ companies: t, selected: e, onChange: n, children: i, additionalOpt
13251
13251
  });
13252
13252
  }, Uy = ({ company: t, withNotification: e = !1 }) => b("div", {
13253
13253
  className: A("flex min-w-0 max-w-full flex-1 items-center gap-2 overflow-hidden rounded text-lg font-semibold text-f1-foreground transition-colors"),
13254
- children: [u(zk, {
13254
+ children: [u($k, {
13255
13255
  name: t?.name?.[0],
13256
13256
  src: t?.logo,
13257
13257
  size: "sm",
@@ -13298,7 +13298,7 @@ function oY({ user: t, options: e, showActivityButton: n = !1, activityButtonSho
13298
13298
  hideLabel: !0
13299
13299
  }), o && u("div", {
13300
13300
  className: "absolute -right-1 -top-1 rounded-full bg-f1-background",
13301
- children: u(Bk, {
13301
+ children: u(zk, {
13302
13302
  type: "highlight",
13303
13303
  size: "sm",
13304
13304
  icon: sx
@@ -13790,7 +13790,7 @@ function dY({ onClick: t, placeholder: e, shortcut: n = ["cmd", "k"], ...i }) {
13790
13790
  children: [b("div", {
13791
13791
  className: "flex items-center gap-1",
13792
13792
  children: [u(me, {
13793
- icon: jk,
13793
+ icon: Bk,
13794
13794
  size: "md"
13795
13795
  }), u("span", {
13796
13796
  children: e
@@ -14072,7 +14072,7 @@ const JM = ({ title: t, approvalsRequired: e = 1, status: n, approvers: i }) =>
14072
14072
  function K2({ title: t, description: e, variant: n = "default", emoji: i, actions: r }) {
14073
14073
  return b("div", {
14074
14074
  className: "flex flex-col items-center justify-center gap-5 p-8",
14075
- children: [n === "default" && u(Hk, {
14075
+ children: [n === "default" && u(jk, {
14076
14076
  emoji: i,
14077
14077
  size: "lg"
14078
14078
  }), n !== "default" && u(ms, {
@@ -14187,7 +14187,7 @@ const iO = (t) => Array.isArray(t) ? t.every((e) => nO(e)) ? t : [{
14187
14187
  className: "dark flex h-8 w-full items-center justify-between gap-2 px-2 sm:h-auto sm:w-fit sm:justify-start sm:pl-2 sm:pr-0",
14188
14188
  children: [b("span", {
14189
14189
  className: "font-medium tabular-nums",
14190
- children: [u($k, {
14190
+ children: [u(Pk, {
14191
14191
  value: n,
14192
14192
  spinTiming: {
14193
14193
  duration: 200,
@@ -14307,7 +14307,7 @@ const iO = (t) => Array.isArray(t) ? t.every((e) => nO(e)) ? t : [{
14307
14307
  const p = Ne(), m = J(() => {
14308
14308
  if (!t || !t.value)
14309
14309
  return [p.date.selectDate];
14310
- const N = d || Vk[t.granularity];
14310
+ const N = d || Hk[t.granularity];
14311
14311
  return [t.value, Array.isArray(e) ? e[0] : e].filter((T) => T !== void 0).sort((T, S) => T?.from.getTime() - S?.from.getTime()).map((T) => N.toString(T, p, "long"));
14312
14312
  }, [t, p, e, d]), g = J(() => Object.values(m).join(" ⸱ "), [m]), y = (N) => {
14313
14313
  N && n?.(N);
@@ -14388,7 +14388,7 @@ function oO({ onSelect: t, defaultValue: e, presets: n = [], granularities: i =
14388
14388
  ne(() => {
14389
14389
  y9(d, c) || h(d || e);
14390
14390
  }, [d, e]);
14391
- const [p, m] = P(), [g, y] = P(!1), v = Ak(), w = f.weekStartsOn ?? v.date?.weekStartsOn ?? RC.Monday, x = J(() => {
14391
+ const [p, m] = P(), [g, y] = P(!1), v = Tk(), w = f.weekStartsOn ?? v.date?.weekStartsOn ?? RC.Monday, x = J(() => {
14392
14392
  const N = c?.granularity ?? "day";
14393
14393
  return LC(w)[N];
14394
14394
  }, [c?.granularity, w]), k = (N) => {
@@ -14460,7 +14460,7 @@ const lO = (t) => "date" in t, dO = {
14460
14460
  const i = Array.isArray(e.granularity) ? e.granularity : [e.granularity], r = e.defaultGranularity || i[0] || "day";
14461
14461
  if (t || (t = /* @__PURE__ */ new Date()), lO(t))
14462
14462
  return t;
14463
- const s = Vk[r];
14463
+ const s = Hk[r];
14464
14464
  return {
14465
14465
  value: s.toRange(t),
14466
14466
  valueString: s.toString(t, n),
@@ -14492,7 +14492,7 @@ const lO = (t) => "date" in t, dO = {
14492
14492
  icon: $C,
14493
14493
  className: "animate-spin"
14494
14494
  }) : u(me, {
14495
- icon: jk,
14495
+ icon: Bk,
14496
14496
  className: "text"
14497
14497
  }), fO = ({ value: t, onChange: e, loading: n = !1 }) => {
14498
14498
  const [i, r] = P(!1), s = Uf(), o = re(null), a = re(null), l = Ne(), d = () => {
@@ -14979,7 +14979,7 @@ const Pm = ({ paginationInfo: t, setPage: e, className: n }) => {
14979
14979
  animate: "visible",
14980
14980
  exit: "hidden",
14981
14981
  custom: w,
14982
- variants: Wk({
14982
+ variants: Vk({
14983
14983
  delay: 0.02,
14984
14984
  duration: 0.3
14985
14985
  }),
@@ -16890,10 +16890,10 @@ const hc = 32, Fd = 24, Jl = 18, cD = "1px", rr = 8, x3 = 32, w3 = 4, Bh = 40, u
16890
16890
  onClick: (p) => {
16891
16891
  o && (p.stopPropagation(), i?.onExpand?.());
16892
16892
  },
16893
- children: o && (i?.expanded ? u(Ok, {
16893
+ children: o && (i?.expanded ? u(Mk, {
16894
16894
  className: "pointer-events-none shrink-0",
16895
16895
  size: Jl
16896
- }) : u(Dk, {
16896
+ }) : u(Ok, {
16897
16897
  className: "pointer-events-none shrink-0",
16898
16898
  size: Jl
16899
16899
  }))
@@ -17757,7 +17757,7 @@ const E3 = (t, e, n) => {
17757
17757
  })]
17758
17758
  }, `group-header-${Z.key}`), u(Je, {
17759
17759
  children: d && (!se || oe[Z.key]) && Z.records.map((ke, de) => u(d, {
17760
- variants: Wk(),
17760
+ variants: Vk(),
17761
17761
  initial: se ? "hidden" : "visible",
17762
17762
  animate: "visible",
17763
17763
  exit: "hidden",
@@ -18184,7 +18184,7 @@ const E3 = (t, e, n) => {
18184
18184
  value: ee && B,
18185
18185
  delay: 100
18186
18186
  });
18187
- qk(() => {
18187
+ Wk(() => {
18188
18188
  r?.({
18189
18189
  filters: c,
18190
18190
  sortings: E,
@@ -18325,7 +18325,7 @@ const E3 = (t, e, n) => {
18325
18325
  ];
18326
18326
  })
18327
18327
  ) : {});
18328
- qk(() => {
18328
+ Wk(() => {
18329
18329
  s && l(s);
18330
18330
  }, [s]);
18331
18331
  const d = J(() => r, e);
@@ -40723,7 +40723,7 @@ const yV = ({ editor: t, disabled: e }) => {
40723
40723
  className: A("flex w-80 appearance-none items-center gap-2 rounded border-0 bg-f1-background py-1 pl-2 pr-1 ring-1 ring-inset ring-f1-border transition-all placeholder:text-f1-foreground-tertiary", t.isActive("link") ? "cursor-auto" : at("focus:ring-f1-border-hover") + "hover:ring-f1-border-hover"),
40724
40724
  children: [u("div", {
40725
40725
  className: A("flex items-center justify-center", s.length > 0 ? "w-6" : "w-4"),
40726
- children: u(Bk, {
40726
+ children: u(zk, {
40727
40727
  icon: s.length > 0 ? l(s) ? Xr : MS : bg,
40728
40728
  type: s ? l(s) ? "positive" : "warning" : "neutral",
40729
40729
  size: s.length > 0 ? "sm" : "lg"
@@ -41046,7 +41046,7 @@ const yV = ({ editor: t, disabled: e }) => {
41046
41046
  onClick: () => t.chain().focus().toggleCodeBlock().run(),
41047
41047
  isActive: t.isActive("codeBlock")
41048
41048
  }, {
41049
- icon: Uk,
41049
+ icon: qk,
41050
41050
  label: l.richTextEditor.divider,
41051
41051
  onClick: () => t.chain().focus().setHorizontalRule().run(),
41052
41052
  isActive: t.isActive("horizontalRule")
@@ -46794,7 +46794,7 @@ const Xb = ({ content: t, anchorRect: e, editor: n }) => {
46794
46794
  },
46795
46795
  children: [u("div", {
46796
46796
  style: i
46797
- }), u(Gk, {
46797
+ }), u(Uk, {
46798
46798
  asChild: !0,
46799
46799
  children: u("div", {
46800
46800
  style: i
@@ -47814,7 +47814,7 @@ const pG = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, mG = rt.c
47814
47814
  to: s
47815
47815
  }).setHorizontalRule().run();
47816
47816
  },
47817
- icon: Uk
47817
+ icon: qk
47818
47818
  }]
47819
47819
  }], I6 = ye(({ items: t, groups: e, command: n }, i) => {
47820
47820
  const [r, s] = P(0), o = re(null), a = re(null), l = e || [{
@@ -47960,7 +47960,7 @@ const NG = ({ aiBlockConfig: t, translations: e, imageUploadConfig: n }) => Ke.c
47960
47960
  modal: !1,
47961
47961
  children: [u("div", {
47962
47962
  style: f
47963
- }), u(Gk, {
47963
+ }), u(Uk, {
47964
47964
  asChild: !0,
47965
47965
  children: u("div", {
47966
47966
  style: f
@@ -48089,7 +48089,7 @@ const NG = ({ aiBlockConfig: t, translations: e, imageUploadConfig: n }) => Ke.c
48089
48089
  }], d = (c) => o.users.find((h) => h.id === c), f = (c) => {
48090
48090
  try {
48091
48091
  const h = new Date(c);
48092
- return Mk(h, "HH:mm");
48092
+ return Ak(h, "HH:mm");
48093
48093
  } catch (h) {
48094
48094
  return console.error(h), c;
48095
48095
  }
@@ -50877,7 +50877,7 @@ function PY({ id: t, title: e, subtitle: n, avatars: i, remainingCount: r, withP
50877
50877
  withPointerCursor: s,
50878
50878
  children: ["alert" in a && a.alert && u(ms, {
50879
50879
  type: a.alert
50880
- }), "emoji" in a && a.emoji && u(Hk, {
50880
+ }), "emoji" in a && a.emoji && u(jk, {
50881
50881
  emoji: a.emoji
50882
50882
  }), b("div", {
50883
50883
  className: "flex-1",
@@ -50916,7 +50916,7 @@ function ik({ id: t, title: e, subtitle: n, onClick: i, module: r }) {
50916
50916
  a.preventDefault(), i?.(t);
50917
50917
  },
50918
50918
  className: s,
50919
- children: [u(Pk, {
50919
+ children: [u(Fk, {
50920
50920
  module: r ?? "inbox",
50921
50921
  size: "md"
50922
50922
  }), b("div", {
@@ -51271,7 +51271,7 @@ const EJ = {
51271
51271
  })
51272
51272
  })
51273
51273
  });
51274
- }), TJ = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], HY = yt(sk, () => u(Kk, {
51274
+ }), TJ = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], HY = yt(sk, () => u(Gk, {
51275
51275
  children: u(sk, {
51276
51276
  children: TJ.map((t, e) => u(Hs.Skeleton, {
51277
51277
  height: t
@@ -51288,7 +51288,7 @@ const EJ = {
51288
51288
  children: e
51289
51289
  })
51290
51290
  });
51291
- }), () => u(Kk, {
51291
+ }), () => u(Gk, {
51292
51292
  orientation: "horizontal",
51293
51293
  children: b(ok, {
51294
51294
  children: [u(Hs.Skeleton, {}), u(Hs.Skeleton, {}), u(Hs.Skeleton, {})]
@@ -51333,7 +51333,7 @@ export {
51333
51333
  GJ as ActivityItemList,
51334
51334
  HA as ActivityItemListSkeleton,
51335
51335
  vS as AiChat,
51336
- Yk as AiChatOneIcon,
51336
+ Jk as AiChatOneIcon,
51337
51337
  yS as AiChatProvider,
51338
51338
  oQ as AiChatTextarea,
51339
51339
  aQ as AiChatTranslationsProvider,
@@ -51346,7 +51346,7 @@ export {
51346
51346
  rY as ApplicationFrame,
51347
51347
  SY as AreaChartWidget,
51348
51348
  CY as AutoGrid,
51349
- Bk as Badge,
51349
+ zk as Badge,
51350
51350
  NY as BarChartWidget,
51351
51351
  jA as BaseActivityItemList,
51352
51352
  hQ as BaseBanner,
@@ -51377,7 +51377,7 @@ export {
51377
51377
  HJ as EntitySelect,
51378
51378
  BJ as F0ActionBar,
51379
51379
  hw as F0AiBanner,
51380
- Pk as F0AvatarModule,
51380
+ Fk as F0AvatarModule,
51381
51381
  PJ as F0Callout,
51382
51382
  pQ as F0TableOfContent,
51383
51383
  jJ as F0VersionHistory,
@@ -51456,12 +51456,12 @@ export {
51456
51456
  FC as getGranularityDefinition,
51457
51457
  LC as getGranularityDefinitions,
51458
51458
  tQ as getGranularitySimpleDefinition,
51459
- Vk as granularityDefinitions,
51459
+ Hk as granularityDefinitions,
51460
51460
  nQ as modules,
51461
51461
  yQ as predefinedPresets,
51462
51462
  iQ as rangeSeparator,
51463
51463
  vQ as selectSizes,
51464
- Jk as useAiChat,
51464
+ Kk as useAiChat,
51465
51465
  cQ as useAiChatTranslations,
51466
51466
  tc as useAiPromotionChat,
51467
51467
  fc as useDataCollectionData,
package/dist/f0.d.ts CHANGED
@@ -3434,7 +3434,7 @@ declare type KanbanVisualizationOptions<Record extends RecordType, _Filters exte
3434
3434
 
3435
3435
  declare type L10nContextValue = {
3436
3436
  locale: string;
3437
- date: {
3437
+ date?: {
3438
3438
  weekStartsOn: WeekStartsOn;
3439
3439
  };
3440
3440
  };
@@ -5285,11 +5285,6 @@ declare module "gridstack" {
5285
5285
  }
5286
5286
 
5287
5287
 
5288
- declare namespace Calendar {
5289
- var displayName: string;
5290
- }
5291
-
5292
-
5293
5288
  declare module "@tiptap/core" {
5294
5289
  interface Commands<ReturnType> {
5295
5290
  aiBlock: {
@@ -5316,3 +5311,8 @@ declare module "@tiptap/core" {
5316
5311
  };
5317
5312
  }
5318
5313
  }
5314
+
5315
+
5316
+ declare namespace Calendar {
5317
+ var displayName: string;
5318
+ }