@factorialco/f0-react 1.468.1 → 1.468.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
@@ -3260,11 +3260,16 @@ declare module "gridstack" {
3260
3260
  }
3261
3261
 
3262
3262
 
3263
+ declare namespace Calendar {
3264
+ var displayName: string;
3265
+ }
3266
+
3267
+
3263
3268
  declare module "@tiptap/core" {
3264
3269
  interface Commands<ReturnType> {
3265
- enhanceHighlight: {
3266
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
3267
- clearEnhanceHighlight: () => ReturnType;
3270
+ aiBlock: {
3271
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
3272
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
3268
3273
  };
3269
3274
  }
3270
3275
  }
@@ -3272,9 +3277,9 @@ declare module "@tiptap/core" {
3272
3277
 
3273
3278
  declare module "@tiptap/core" {
3274
3279
  interface Commands<ReturnType> {
3275
- aiBlock: {
3276
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
3277
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
3280
+ enhanceHighlight: {
3281
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
3282
+ clearEnhanceHighlight: () => ReturnType;
3278
3283
  };
3279
3284
  }
3280
3285
  }
@@ -3307,8 +3312,3 @@ declare module "@tiptap/core" {
3307
3312
  };
3308
3313
  }
3309
3314
  }
3310
-
3311
-
3312
- declare namespace Calendar {
3313
- var displayName: string;
3314
- }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { l as t, k as e, F as r, a as o, C as i, b as n, m as F, n as u, d as A, I as c, g as C, c as m, h, e as l, u as d, j as I, i as f, f as T } from "./F0AiChat-PvF3C9uo.js";
1
+ import { l as t, k as e, F as r, a as o, C as i, b as n, m as F, n as u, d as A, I as c, g as C, c as m, h, e as l, u as d, j as I, i as f, f as T } from "./F0AiChat-yry58Wdg.js";
2
2
  import { defaultTranslations as S } from "./i18n-provider-defaults.js";
3
- import { A as v, e as x, F as P, c as V, d as k, b as O, a as b, f as y, o as M, u as j } from "./types-B6yZPlfK.js";
3
+ import { A as v, e as x, F as P, c as V, d as k, b as O, a as b, f as y, o as M, u as j } from "./types-Cfw6Pg7w.js";
4
4
  export {
5
5
  v as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
@@ -1245,6 +1245,11 @@ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "clas
1245
1245
  * If true, the button is inactive and does not respond to user interaction.
1246
1246
  */
1247
1247
  disabled?: boolean;
1248
+ /**
1249
+ * If true and disabled is also true, the button retains its normal visual appearance
1250
+ * (no reduced opacity or not-allowed cursor) while still being non-interactive.
1251
+ */
1252
+ withoutDisabledAppearance?: boolean;
1248
1253
  /**
1249
1254
  * @private
1250
1255
  * If true, the button is visually active or selected (pressed state).
@@ -8036,11 +8041,16 @@ declare module "gridstack" {
8036
8041
  }
8037
8042
 
8038
8043
 
8044
+ declare namespace Calendar {
8045
+ var displayName: string;
8046
+ }
8047
+
8048
+
8039
8049
  declare module "@tiptap/core" {
8040
8050
  interface Commands<ReturnType> {
8041
- enhanceHighlight: {
8042
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8043
- clearEnhanceHighlight: () => ReturnType;
8051
+ aiBlock: {
8052
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8053
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8044
8054
  };
8045
8055
  }
8046
8056
  }
@@ -8048,9 +8058,9 @@ declare module "@tiptap/core" {
8048
8058
 
8049
8059
  declare module "@tiptap/core" {
8050
8060
  interface Commands<ReturnType> {
8051
- aiBlock: {
8052
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8053
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8061
+ enhanceHighlight: {
8062
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8063
+ clearEnhanceHighlight: () => ReturnType;
8054
8064
  };
8055
8065
  }
8056
8066
  }
@@ -8083,8 +8093,3 @@ declare module "@tiptap/core" {
8083
8093
  };
8084
8094
  }
8085
8095
  }
8086
-
8087
-
8088
- declare namespace Calendar {
8089
- var displayName: string;
8090
- }
@@ -1,9 +1,9 @@
1
- import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, ag as ht, ah as rt, ai as Be, O as p, W as Z, P as pe, u as se, aj as ma, ak as ha, al as ba, am as pa, an as ga, a5 as oe, ao as xa, U as Ee, ap as va, aq as wa, ar as $, as as ya, at as Na, M as _e, au as ln, av as Ca, aw as ka, Q as B, ax as sn, a8 as E, ay as ge, az as Sa, aA as Ia, aB as Fa, aC as Aa, aD as La, aE as Ce, aF as on, aG as Ea, aH as xe, aI as $e, aJ as _a, aK as bt, n as cn, aL as Ne, aM as Oa, aN as dn, a6 as ne, aO as H, R as un, aP as fn, aQ as Ta, aR as mn, aS as me, a7 as ee, aT as Da, aU as za, aV as Pa, aW as Ra, X as be, aX as Ge, aY as Ba, aZ as $a, a_ as Wa, a$ as Ma, b0 as He, b1 as hn, b2 as ja, b3 as Va, b4 as Ga, b5 as We, b6 as Ha, b7 as Ua, b8 as Ka, b9 as qa, ba as Ya, bb as Za, bc as Xa, bd as Ja, be as Qa, bf as er, bg as lt, bh as it, bi as bn, bj as tr, bk as nr, bl as pn, bm as ar, bn as rr, T as Ue, bo as pt, bp as gn, bq as lr, br as xn, bs as ir, bt as sr, bu as or, bv as Le, bw as cr, bx as De, by as At, bz as st, bA as dr, bB as ur, a as fr, c as mr, bC as hr, bD as vn, bE as br, bF as pr, F as gr, bG as wn, _ as xr, bH as yn, bI as vr, bJ as Lt, bK as wr, bL as yr, bM as Nr, bN as Cr, bO as Nn, bP as kr, bQ as Sr, bR as Ir, bS as Fr, bT as Ar, Y as Cn, bU as ue, bV as kn, bW as gt, bX as xt, bY as vt, bZ as Sn, b_ as wt, b$ as In, $ as Fn, c0 as Lr, c1 as Er, c2 as _r, c3 as Or, c4 as Tr, c5 as Dr, c6 as zr, c7 as Pr, c8 as Rr, c9 as Br, ca as $r, cb as Et, cc as _t, cd as Ot, ce as Wr, cf as Mr, cg as jr, ch as Vr, ci as An, cj as Gr, ck as Hr, cl as Ur } from "./F0AiChat-PvF3C9uo.js";
2
- import { cF as Ac, cE as Lc, co as Ec, cR as _c, cy as Oc, cz as Tc, cn as Dc, cB as zc, cp as Pc, d1 as Rc, c$ as Bc, cq as $c, cC as Wc, cD as Mc, cA as jc, cr as Vc, cN as Gc, cO as Hc, cS as Uc, cZ as Kc, c_ as qc, d0 as Yc, cx as Zc, cs as Xc, cH as Jc, cG as Qc, ct as ed, cu as td, cv as nd, cP as ad, d2 as rd, cm as ld, cQ as id, cU as sd, cV as od, cM as cd, cJ as dd, cL as ud, cI as fd, cw as md, cK as hd, cW as bd, cX as pd, cT as gd, cY as xd } from "./F0AiChat-PvF3C9uo.js";
1
+ import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, ag as ht, ah as rt, ai as Be, O as p, W as Z, P as pe, u as se, aj as ma, ak as ha, al as ba, am as pa, an as ga, a5 as oe, ao as xa, U as Ee, ap as va, aq as wa, ar as $, as as ya, at as Na, M as _e, au as ln, av as Ca, aw as ka, Q as B, ax as sn, a8 as E, ay as ge, az as Sa, aA as Ia, aB as Fa, aC as Aa, aD as La, aE as Ce, aF as on, aG as Ea, aH as xe, aI as $e, aJ as _a, aK as bt, n as cn, aL as Ne, aM as Oa, aN as dn, a6 as ne, aO as H, R as un, aP as fn, aQ as Ta, aR as mn, aS as me, a7 as ee, aT as Da, aU as za, aV as Pa, aW as Ra, X as be, aX as Ge, aY as Ba, aZ as $a, a_ as Wa, a$ as Ma, b0 as He, b1 as hn, b2 as ja, b3 as Va, b4 as Ga, b5 as We, b6 as Ha, b7 as Ua, b8 as Ka, b9 as qa, ba as Ya, bb as Za, bc as Xa, bd as Ja, be as Qa, bf as er, bg as lt, bh as it, bi as bn, bj as tr, bk as nr, bl as pn, bm as ar, bn as rr, T as Ue, bo as pt, bp as gn, bq as lr, br as xn, bs as ir, bt as sr, bu as or, bv as Le, bw as cr, bx as De, by as At, bz as st, bA as dr, bB as ur, a as fr, c as mr, bC as hr, bD as vn, bE as br, bF as pr, F as gr, bG as wn, _ as xr, bH as yn, bI as vr, bJ as Lt, bK as wr, bL as yr, bM as Nr, bN as Cr, bO as Nn, bP as kr, bQ as Sr, bR as Ir, bS as Fr, bT as Ar, Y as Cn, bU as ue, bV as kn, bW as gt, bX as xt, bY as vt, bZ as Sn, b_ as wt, b$ as In, $ as Fn, c0 as Lr, c1 as Er, c2 as _r, c3 as Or, c4 as Tr, c5 as Dr, c6 as zr, c7 as Pr, c8 as Rr, c9 as Br, ca as $r, cb as Et, cc as _t, cd as Ot, ce as Wr, cf as Mr, cg as jr, ch as Vr, ci as An, cj as Gr, ck as Hr, cl as Ur } from "./F0AiChat-yry58Wdg.js";
2
+ import { cF as Ac, cE as Lc, co as Ec, cR as _c, cy as Oc, cz as Tc, cn as Dc, cB as zc, cp as Pc, d1 as Rc, c$ as Bc, cq as $c, cC as Wc, cD as Mc, cA as jc, cr as Vc, cN as Gc, cO as Hc, cS as Uc, cZ as Kc, c_ as qc, d0 as Yc, cx as Zc, cs as Xc, cH as Jc, cG as Qc, ct as ed, cu as td, cv as nd, cP as ad, d2 as rd, cm as ld, cQ as id, cU as sd, cV as od, cM as cd, cJ as dd, cL as ud, cI as fd, cw as md, cK as hd, cW as bd, cX as pd, cT as gd, cY as xd } from "./F0AiChat-yry58Wdg.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import re, { forwardRef as j, useRef as V, useTransition as Kr, useState as _, useLayoutEffect as Ln, useContext as Ke, createContext as yt, useCallback as Q, useMemo as K, useEffect as W, useId as qr, Fragment as Yr, isValidElement as Zr, cloneElement as En, Children as _n } from "react";
5
- import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-BS1dlpUd.js";
6
- import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as zd, q as Pd, _ as Rd, v as Bd, t as $d } from "./index-BS1dlpUd.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-eeMmyF0T.js";
6
+ import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as zd, q as Pd, _ as Rd, v as Bd, t as $d } from "./index-eeMmyF0T.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
@@ -1726,6 +1726,11 @@ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "clas
1726
1726
  * If true, the button is inactive and does not respond to user interaction.
1727
1727
  */
1728
1728
  disabled?: boolean;
1729
+ /**
1730
+ * If true and disabled is also true, the button retains its normal visual appearance
1731
+ * (no reduced opacity or not-allowed cursor) while still being non-interactive.
1732
+ */
1733
+ withoutDisabledAppearance?: boolean;
1729
1734
  /**
1730
1735
  * @private
1731
1736
  * If true, the button is visually active or selected (pressed state).
@@ -13575,11 +13580,16 @@ declare module "gridstack" {
13575
13580
  }
13576
13581
 
13577
13582
 
13583
+ declare namespace Calendar {
13584
+ var displayName: string;
13585
+ }
13586
+
13587
+
13578
13588
  declare module "@tiptap/core" {
13579
13589
  interface Commands<ReturnType> {
13580
- enhanceHighlight: {
13581
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
13582
- clearEnhanceHighlight: () => ReturnType;
13590
+ aiBlock: {
13591
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
13592
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
13583
13593
  };
13584
13594
  }
13585
13595
  }
@@ -13587,9 +13597,9 @@ declare module "@tiptap/core" {
13587
13597
 
13588
13598
  declare module "@tiptap/core" {
13589
13599
  interface Commands<ReturnType> {
13590
- aiBlock: {
13591
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
13592
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
13600
+ enhanceHighlight: {
13601
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
13602
+ clearEnhanceHighlight: () => ReturnType;
13593
13603
  };
13594
13604
  }
13595
13605
  }
@@ -13622,8 +13632,3 @@ declare module "@tiptap/core" {
13622
13632
  };
13623
13633
  }
13624
13634
  }
13625
-
13626
-
13627
- declare namespace Calendar {
13628
- var displayName: string;
13629
- }
package/dist/f0.js CHANGED
@@ -1,12 +1,12 @@
1
- import { fy as Or, a6 as se, bU as Tn, O as P, P as ht, fz as Mr, W as yt, dG as zo, aS as Yi, fA as Io, a7 as zr, a8 as de, u as oe, ar as he, fp as Ut, U as Bo, ac as Po, M as Ir, fB as un, aO as Oe, aL as hi, fC as Ho, fD as Wo, fE as qo, fF as Ji, a0 as Go, fG as $o, fH as Br, fI as jo, bd as fi, be as mi, a5 as Fn, bf as gi, aX as Pr, cR as hn, fJ as Hr, fK as Uo, eg as Vo, fL as Zi, ef as Qo, fM as Ko, fN as wt, fO as Vt, fP as Xo, fQ as Wr, fR as Yo, fS as Jo, fT as An, fU as Zo, fV as ea, R as We, b0 as ta, d4 as si, d3 as qr, fW as na, fX as pi, cn as ia, fY as ra, fZ as Gr, f_ as Ln, f$ as sa, g0 as oa, aI as vi, Q as Ce, aJ as aa, aK as fn, ce as la, g1 as ca, aR as On, g2 as $r, g3 as da, g4 as ua, g5 as ha, g6 as fa, cB as ma, m as ga, dq as pa, aq as jr, f4 as ft, g7 as Ur, f2 as Vr, g8 as mn, g9 as Qr, ch as Kr, ga as Xr, as as bi, at as yi, gb as xi, aw as wi, aB as De, gc as Ci, aD as xt, gd as At, ge as Lt, av as Ot, gf as Mt, gg as va, gh as Zt, gi as Yr, gj as gn, bM as Pt, gk as _e, cs as ba, gl as Jr, gm as ya, gn as pn, cr as xa, cq as wa, go as Ca, gp as Sa, bO as Mn, aE as zn, gq as Zr, bJ as Si, bP as Ei, bc as Ea, gr as Ae, gs as Na, gt as _a, gu as es, gv as In, gw as Da, gx as Ra, cj as ts, gy as ka, gz as Ta, gA as Fa, gB as Aa, bp as ns, bv as La, fs as Oa, ft as Ma, fv as za, gC as is, bW as Ia, b_ as Ba, gD as er, c5 as Pa, gE as rs, gF as Ha, gG as Wa } from "./F0AiChat-PvF3C9uo.js";
2
- import { hk as Lf, gL as Of, co as Mf, l as zf, hy as If, bo as Bf, k as Pf, F as Hf, a as Wf, C as qf, hb as Gf, b as $f, gY as jf, bN as Uf, c7 as Vf, _ as Qf, c8 as Kf, gI as Xf, bh as Yf, Y as Jf, X as Zf, Z as em, b3 as tm, gS as nm, gW as im, gJ as rm, gX as sm, gZ as om, g$ as am, hD as lm, bx as cm, n as dm, hv as um, b5 as hm, $ as fm, hf as mm, bB as gm, hg as pm, hi as vm, hj as bm, d1 as ym, c$ as xm, d as wm, gM as Cm, hl as Sm, gN as Em, gO as Nm, gP as _m, cN as Dm, cO as Rm, gH as km, gQ as Tm, hC as Fm, gR as Am, bu as Lm, d0 as Om, hh as Mm, cP as zm, cm as Im, hE as Bm, gT as Pm, gU as Hm, gV as Wm, gK as qm, cQ as Gm, hx as $m, hq as jm, hd as Um, h4 as Vm, h3 as Qm, h2 as Km, ha as Xm, ht as Ym, g as Jm, hp as Zm, bs as eg, cM as tg, cJ as ng, cL as ig, h9 as rg, cI as sg, h5 as og, ho as ag, hn as lg, h6 as cg, cw as dg, cK as ug, h0 as hg, h1 as fg, h7 as mg, c as gg, hm as pg, hr as vg, h as bg, hz as yg, hA as xg, hB as wg, bq as Cg, hc as Sg, g_ as Eg, he as Ng, e as _g, hw as Dg, hs as Rg, j as kg, i as Tg, bV as Fg, T as Ag, h8 as Lg, hu as Og, f as Mg, hF as zg } from "./F0AiChat-PvF3C9uo.js";
1
+ import { fy as Or, a6 as se, bU as Tn, O as P, P as ht, fz as Mr, W as yt, dG as zo, aS as Yi, fA as Io, a7 as zr, a8 as de, u as oe, ar as he, fp as Ut, U as Bo, ac as Po, M as Ir, fB as un, aO as Oe, aL as hi, fC as Ho, fD as Wo, fE as qo, fF as Ji, a0 as Go, fG as $o, fH as Br, fI as jo, bd as fi, be as mi, a5 as Fn, bf as gi, aX as Pr, cR as hn, fJ as Hr, fK as Uo, eg as Vo, fL as Zi, ef as Qo, fM as Ko, fN as wt, fO as Vt, fP as Xo, fQ as Wr, fR as Yo, fS as Jo, fT as An, fU as Zo, fV as ea, R as We, b0 as ta, d4 as si, d3 as qr, fW as na, fX as pi, cn as ia, fY as ra, fZ as Gr, f_ as Ln, f$ as sa, g0 as oa, aI as vi, Q as Ce, aJ as aa, aK as fn, ce as la, g1 as ca, aR as On, g2 as $r, g3 as da, g4 as ua, g5 as ha, g6 as fa, cB as ma, m as ga, dq as pa, aq as jr, f4 as ft, g7 as Ur, f2 as Vr, g8 as mn, g9 as Qr, ch as Kr, ga as Xr, as as bi, at as yi, gb as xi, aw as wi, aB as De, gc as Ci, aD as xt, gd as At, ge as Lt, av as Ot, gf as Mt, gg as va, gh as Zt, gi as Yr, gj as gn, bM as Pt, gk as _e, cs as ba, gl as Jr, gm as ya, gn as pn, cr as xa, cq as wa, go as Ca, gp as Sa, bO as Mn, aE as zn, gq as Zr, bJ as Si, bP as Ei, bc as Ea, gr as Ae, gs as Na, gt as _a, gu as es, gv as In, gw as Da, gx as Ra, cj as ts, gy as ka, gz as Ta, gA as Fa, gB as Aa, bp as ns, bv as La, fs as Oa, ft as Ma, fv as za, gC as is, bW as Ia, b_ as Ba, gD as er, c5 as Pa, gE as rs, gF as Ha, gG as Wa } from "./F0AiChat-yry58Wdg.js";
2
+ import { hk as Lf, gL as Of, co as Mf, l as zf, hy as If, bo as Bf, k as Pf, F as Hf, a as Wf, C as qf, hb as Gf, b as $f, gY as jf, bN as Uf, c7 as Vf, _ as Qf, c8 as Kf, gI as Xf, bh as Yf, Y as Jf, X as Zf, Z as em, b3 as tm, gS as nm, gW as im, gJ as rm, gX as sm, gZ as om, g$ as am, hD as lm, bx as cm, n as dm, hv as um, b5 as hm, $ as fm, hf as mm, bB as gm, hg as pm, hi as vm, hj as bm, d1 as ym, c$ as xm, d as wm, gM as Cm, hl as Sm, gN as Em, gO as Nm, gP as _m, cN as Dm, cO as Rm, gH as km, gQ as Tm, hC as Fm, gR as Am, bu as Lm, d0 as Om, hh as Mm, cP as zm, cm as Im, hE as Bm, gT as Pm, gU as Hm, gV as Wm, gK as qm, cQ as Gm, hx as $m, hq as jm, hd as Um, h4 as Vm, h3 as Qm, h2 as Km, ha as Xm, ht as Ym, g as Jm, hp as Zm, bs as eg, cM as tg, cJ as ng, cL as ig, h9 as rg, cI as sg, h5 as og, ho as ag, hn as lg, h6 as cg, cw as dg, cK as ug, h0 as hg, h1 as fg, h7 as mg, c as gg, hm as pg, hr as vg, h as bg, hz as yg, hA as xg, hB as wg, bq as Cg, hc as Sg, g_ as Eg, he as Ng, e as _g, hw as Dg, hs as Rg, j as kg, i as Tg, bV as Fg, T as Ag, h8 as Lg, hu as Og, f as Mg, hF as zg } from "./F0AiChat-yry58Wdg.js";
3
3
  import { jsx as l, jsxs as C, Fragment as we } from "react/jsx-runtime";
4
4
  import ae, { forwardRef as qe, useRef as W, useImperativeHandle as qa, Children as vn, createContext as Qe, useContext as Re, useState as j, useMemo as B, useEffect as V, useCallback as I, useLayoutEffect as oi, createElement as en, isValidElement as ss, Fragment as Ga, memo as os, useReducer as $a, cloneElement as ja, useId as as } from "react";
5
- import { g as Ua, h as Va } from "./types-B6yZPlfK.js";
6
- import { A as Bg, e as Pg, F as Hg, c as Wg, d as qg, b as Gg, a as $g, f as jg, o as Ug, u as Vg } from "./types-B6yZPlfK.js";
5
+ import { g as Ua, h as Va } from "./types-Cfw6Pg7w.js";
6
+ import { A as Bg, e as Pg, F as Hg, c as Wg, d as qg, b as Gg, a as $g, f as jg, o as Ug, u as Vg } from "./types-Cfw6Pg7w.js";
7
7
  import { createPortal as ls, unstable_batchedUpdates as tn } from "react-dom";
8
- import { C as Qa, M as Ni, D as Ka, z as Xa, u as cs, j as Ya } from "./index-BS1dlpUd.js";
9
- import { l as Kg, m as Xg, n as Yg, s as Jg, F as Zg, o as ep, w as tp, x as np, N as ip, y as rp, p as sp, P as op, r as ap, R as lp, q as cp, _ as dp, v as up, t as hp } from "./index-BS1dlpUd.js";
8
+ import { C as Qa, M as Ni, D as Ka, z as Xa, u as cs, j as Ya } from "./index-eeMmyF0T.js";
9
+ import { l as Kg, m as Xg, n as Yg, s as Jg, F as Zg, o as ep, w as tp, x as np, N as ip, y as rp, p as sp, P as op, r as ap, R as lp, q as cp, _ as dp, v as up, t as hp } from "./index-eeMmyF0T.js";
10
10
  import { defaultTranslations as mp } from "./i18n-provider-defaults.js";
11
11
  import './f0.css';const Ja = {
12
12
  xs: 1,
@@ -12008,7 +12008,11 @@ const Sr = {
12008
12008
  disabled: r,
12009
12009
  isEmojiMode: s = !1
12010
12010
  }) => {
12011
- const { value: o, label: a } = n, [d, u] = j(!1), c = () => {
12011
+ const { value: o, label: a } = n, [d, u] = j(!1);
12012
+ V(() => {
12013
+ r && u(!1);
12014
+ }, [r]);
12015
+ const c = () => {
12012
12016
  r || t(o);
12013
12017
  }, h = (f) => {
12014
12018
  i?.(o, f.native), u(!1);
@@ -12016,54 +12020,64 @@ const Sr = {
12016
12020
  return /* @__PURE__ */ l(
12017
12021
  "div",
12018
12022
  {
12023
+ "data-testid": `score-edit-option-${o}`,
12019
12024
  className: P(
12020
12025
  "group relative flex h-10 min-w-20 flex-1 items-center justify-center rounded-md border border-solid border-f1-border-secondary text-center font-medium",
12021
12026
  e && "border-f1-border-selected bg-f1-background-selected-secondary",
12022
12027
  r ? "cursor-default" : "cursor-pointer"
12023
12028
  ),
12024
12029
  onClick: c,
12025
- children: s ? /* @__PURE__ */ C(fi, { open: d, onOpenChange: u, children: [
12026
- /* @__PURE__ */ l(mi, { asChild: !0, children: /* @__PURE__ */ l(
12027
- Ce,
12028
- {
12029
- emoji: a,
12030
- label: o.toString(),
12031
- variant: "ghost",
12032
- hideLabel: !0
12033
- }
12034
- ) }),
12035
- /* @__PURE__ */ l(
12036
- gi,
12037
- {
12038
- side: "bottom",
12039
- align: "center",
12040
- className: "w-fit border-none bg-transparent p-2 shadow-none",
12041
- onClick: (f) => {
12042
- f.preventDefault(), f.stopPropagation();
12043
- },
12044
- children: /* @__PURE__ */ l(
12045
- Ca,
12030
+ children: s ? /* @__PURE__ */ C(
12031
+ fi,
12032
+ {
12033
+ open: !r && d,
12034
+ onOpenChange: r ? void 0 : u,
12035
+ children: [
12036
+ /* @__PURE__ */ l(mi, { asChild: !0, children: /* @__PURE__ */ l(
12037
+ Ce,
12046
12038
  {
12047
- data: Sa,
12048
- onEmojiSelect: h,
12049
- locale: "en",
12050
- icons: "outline",
12051
- set: "twitter",
12052
- theme: "light",
12053
- emojiButtonSize: 32,
12054
- emojiButtonRadius: "10px",
12055
- emojiSize: 24,
12056
- maxFrequentRows: 2,
12057
- skinTonePosition: "none",
12058
- previewPosition: "none",
12059
- searchPosition: "top",
12060
- navPosition: "top",
12061
- dynamicWidth: !0
12039
+ emoji: a,
12040
+ label: o.toString(),
12041
+ variant: "ghost",
12042
+ disabled: r,
12043
+ withoutDisabledAppearance: !0,
12044
+ hideLabel: !0
12045
+ }
12046
+ ) }),
12047
+ /* @__PURE__ */ l(
12048
+ gi,
12049
+ {
12050
+ side: "bottom",
12051
+ align: "center",
12052
+ className: "w-fit border-none bg-transparent p-2 shadow-none",
12053
+ onClick: (f) => {
12054
+ f.preventDefault(), f.stopPropagation();
12055
+ },
12056
+ children: /* @__PURE__ */ l(
12057
+ Ca,
12058
+ {
12059
+ data: Sa,
12060
+ onEmojiSelect: h,
12061
+ locale: "en",
12062
+ icons: "outline",
12063
+ set: "twitter",
12064
+ theme: "light",
12065
+ emojiButtonSize: 32,
12066
+ emojiButtonRadius: "10px",
12067
+ emojiSize: 24,
12068
+ maxFrequentRows: 2,
12069
+ skinTonePosition: "none",
12070
+ previewPosition: "none",
12071
+ searchPosition: "top",
12072
+ navPosition: "top",
12073
+ dynamicWidth: !0
12074
+ }
12075
+ )
12062
12076
  }
12063
12077
  )
12064
- }
12065
- )
12066
- ] }) : /* @__PURE__ */ l("span", { className: "text-base font-medium", children: a })
12078
+ ]
12079
+ }
12080
+ ) : /* @__PURE__ */ l("span", { className: "text-base font-medium", children: a })
12067
12081
  }
12068
12082
  );
12069
12083
  }, Ju = ({
@@ -805,11 +805,16 @@ declare module "gridstack" {
805
805
  }
806
806
 
807
807
 
808
+ declare namespace Calendar {
809
+ var displayName: string;
810
+ }
811
+
812
+
808
813
  declare module "@tiptap/core" {
809
814
  interface Commands<ReturnType> {
810
- enhanceHighlight: {
811
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
812
- clearEnhanceHighlight: () => ReturnType;
815
+ aiBlock: {
816
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
817
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
813
818
  };
814
819
  }
815
820
  }
@@ -817,9 +822,9 @@ declare module "@tiptap/core" {
817
822
 
818
823
  declare module "@tiptap/core" {
819
824
  interface Commands<ReturnType> {
820
- aiBlock: {
821
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
822
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
825
+ enhanceHighlight: {
826
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
827
+ clearEnhanceHighlight: () => ReturnType;
823
828
  };
824
829
  }
825
830
  }
@@ -852,8 +857,3 @@ declare module "@tiptap/core" {
852
857
  };
853
858
  }
854
859
  }
855
-
856
-
857
- declare namespace Calendar {
858
- var displayName: string;
859
- }
@@ -1,7 +1,7 @@
1
1
  import { jsxs as x, jsx as m, Fragment as Bt } from "react/jsx-runtime";
2
2
  import * as K from "react";
3
3
  import C, { useRef as ot, useState as ae, useCallback as Ye, useEffect as Ze, useLayoutEffect as Ac, PureComponent as Kn, useMemo as $s, forwardRef as Pt, useId as Cc, useImperativeHandle as Ec, memo as Sf, Fragment as Ra } from "react";
4
- import { M as Pn, aG as kf, O as z, ax as Af, d3 as Cf, d4 as Ef, P as js, a6 as Re, aO as Gi, d5 as An, d6 as Of, d7 as _f, d8 as Nf, d9 as $a, da as ja, db as Fa, dc as za, dd as Ba, de as Oc, df as ui, dg as Tf, dh as Pf, di as Df, aW as Dn, dj as _e, dk as U, dl as Me, dm as _c, dn as Mf, dp as Nc, dq as Fs, dr as Lf, ds as ye, dt as Yi, du as oe, dv as Tc, dw as qi, dx as zs, dy as Bs, dz as Vs, dA as pe, dB as Pe, dC as Go, dD as Xi, dE as If, dF as Oe, dG as Ji, dH as Te, dI as pn, dJ as Hs, dK as Zi, dL as di, dM as Qi, c9 as Ws, dN as Rf, dO as Qr, dP as ki, dQ as $f, dR as jf, dS as Ff, dT as zf, dU as Bf, dV as Vf, dW as Pc, dX as Dc, dY as Mc, dZ as Lc, d_ as Ic, d$ as Hf, e0 as Ai, e1 as Wf, e2 as Uf, e3 as $r, e4 as Kt, a3 as Ot, e5 as Us, e6 as jr, e7 as Rc, a4 as $c, e8 as Kf, e9 as Gf, a1 as Yf, ea as qf, bV as Xf, a2 as Jf, eb as fe, ec as we, aj as Zf, ak as Qf, al as eh, ao as th, ed as jc, ee as nh, ef as Fc, bU as Dt, ar as _t, bp as rh, Q, aE as Ks, eg as ih, cI as Ce, eh as et, ei as gt, ej as $e, ek as oh, el as fi, em as rt, en as zc, eo as qe, ep as Gs, eq as Qe, er as Va, es as sh, et as Bc, eu as be, ev as Ve, ew as vr, ex as Ci, ey as Vc, ez as ah, eA as mn, eB as lh, eC as ch, eD as uh, a8 as j, aS as Hc, bu as dh, a7 as Wc, eE as Fr, eF as zr, eG as Ys, eH as fh, eI as Uc, eJ as Kc, eK as Gc, eL as hh, eM as Yc, eN as qc, eO as Xc, eP as Jc, eQ as Zc, eR as Qc, eS as ph, eT as mh, u as gn, aN as gh, bM as eo, U as eu, W as tn, bo as yh, b7 as bh, br as vh, eU as wh, eV as xh, eW as Sh, eX as kh, eY as Ah, eZ as Ch, aJ as tu, aK as qs, aL as to, e_ as Ha, e$ as Eh, f0 as Oh, f1 as _h, f2 as Nh, f3 as Th, f4 as Ph, f5 as Dh, f6 as Mh, f7 as Lh, f8 as Ih, f9 as Rh, fa as $h, fb as jh, fc as Fh, fd as zh, fe as Bh, ff as Vh, X as Hh, aC as Wh, aQ as Uh, bB as Kh, bv as Wa, Y as Gh, aI as Yh, bN as nu, aH as Ua, b$ as qh, cA as ru, fg as Xh, fh as Jh, fi as Zh, fj as Qh, fk as ep, fl as tp, fm as np, b3 as Yo, aX as iu, fn as rp, c7 as ou, fo as ip, b2 as op, fp as sp, fq as ap, fr as lp, fs as cp, ft as up, fu as dp, fv as fp, fw as hp, fx as pp, c6 as Ka } from "./F0AiChat-PvF3C9uo.js";
4
+ import { M as Pn, aG as kf, O as z, ax as Af, d3 as Cf, d4 as Ef, P as js, a6 as Re, aO as Gi, d5 as An, d6 as Of, d7 as _f, d8 as Nf, d9 as $a, da as ja, db as Fa, dc as za, dd as Ba, de as Oc, df as ui, dg as Tf, dh as Pf, di as Df, aW as Dn, dj as _e, dk as U, dl as Me, dm as _c, dn as Mf, dp as Nc, dq as Fs, dr as Lf, ds as ye, dt as Yi, du as oe, dv as Tc, dw as qi, dx as zs, dy as Bs, dz as Vs, dA as pe, dB as Pe, dC as Go, dD as Xi, dE as If, dF as Oe, dG as Ji, dH as Te, dI as pn, dJ as Hs, dK as Zi, dL as di, dM as Qi, c9 as Ws, dN as Rf, dO as Qr, dP as ki, dQ as $f, dR as jf, dS as Ff, dT as zf, dU as Bf, dV as Vf, dW as Pc, dX as Dc, dY as Mc, dZ as Lc, d_ as Ic, d$ as Hf, e0 as Ai, e1 as Wf, e2 as Uf, e3 as $r, e4 as Kt, a3 as Ot, e5 as Us, e6 as jr, e7 as Rc, a4 as $c, e8 as Kf, e9 as Gf, a1 as Yf, ea as qf, bV as Xf, a2 as Jf, eb as fe, ec as we, aj as Zf, ak as Qf, al as eh, ao as th, ed as jc, ee as nh, ef as Fc, bU as Dt, ar as _t, bp as rh, Q, aE as Ks, eg as ih, cI as Ce, eh as et, ei as gt, ej as $e, ek as oh, el as fi, em as rt, en as zc, eo as qe, ep as Gs, eq as Qe, er as Va, es as sh, et as Bc, eu as be, ev as Ve, ew as vr, ex as Ci, ey as Vc, ez as ah, eA as mn, eB as lh, eC as ch, eD as uh, a8 as j, aS as Hc, bu as dh, a7 as Wc, eE as Fr, eF as zr, eG as Ys, eH as fh, eI as Uc, eJ as Kc, eK as Gc, eL as hh, eM as Yc, eN as qc, eO as Xc, eP as Jc, eQ as Zc, eR as Qc, eS as ph, eT as mh, u as gn, aN as gh, bM as eo, U as eu, W as tn, bo as yh, b7 as bh, br as vh, eU as wh, eV as xh, eW as Sh, eX as kh, eY as Ah, eZ as Ch, aJ as tu, aK as qs, aL as to, e_ as Ha, e$ as Eh, f0 as Oh, f1 as _h, f2 as Nh, f3 as Th, f4 as Ph, f5 as Dh, f6 as Mh, f7 as Lh, f8 as Ih, f9 as Rh, fa as $h, fb as jh, fc as Fh, fd as zh, fe as Bh, ff as Vh, X as Hh, aC as Wh, aQ as Uh, bB as Kh, bv as Wa, Y as Gh, aI as Yh, bN as nu, aH as Ua, b$ as qh, cA as ru, fg as Xh, fh as Jh, fi as Zh, fj as Qh, fk as ep, fl as tp, fm as np, b3 as Yo, aX as iu, fn as rp, c7 as ou, fo as ip, b2 as op, fp as sp, fq as ap, fr as lp, fs as cp, ft as up, fu as dp, fv as fp, fw as hp, fx as pp, c6 as Ka } from "./F0AiChat-yry58Wdg.js";
5
5
  import './index.css';const mp = {
6
6
  active: !0,
7
7
  breakpoints: {},