@factorialco/f0-react 1.422.1 → 1.422.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { defaultTranslations as ke } from "./i18n-provider-defaults.js";
2
2
  import { jsx as q, jsxs as le } from "react/jsx-runtime";
3
3
  import { useInsertionEffect as Xe, createContext as Ye, useContext as $e, useRef as B, useEffect as ie, useState as Ue, useCallback as qe, useMemo as He } from "react";
4
- import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./registry-WX4F5JvC.js";
4
+ import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./registry-Cfsd-zAT.js";
5
5
  import { useTrackVolume as wt } from "@livekit/components-react";
6
6
  function Tt(t, e, r) {
7
7
  Xe(() => t.on(e, r), [t, e, r]);
package/dist/ai.d.ts CHANGED
@@ -1785,11 +1785,6 @@ declare module "gridstack" {
1785
1785
  }
1786
1786
 
1787
1787
 
1788
- declare namespace Calendar {
1789
- var displayName: string;
1790
- }
1791
-
1792
-
1793
1788
  declare module "@tiptap/core" {
1794
1789
  interface Commands<ReturnType> {
1795
1790
  aiBlock: {
@@ -1821,8 +1816,10 @@ declare module "@tiptap/core" {
1821
1816
 
1822
1817
  declare module "@tiptap/core" {
1823
1818
  interface Commands<ReturnType> {
1824
- transcript: {
1825
- insertTranscript: (data: TranscriptData) => ReturnType;
1819
+ videoEmbed: {
1820
+ setVideoEmbed: (options: {
1821
+ src: string;
1822
+ }) => ReturnType;
1826
1823
  };
1827
1824
  }
1828
1825
  }
@@ -1830,10 +1827,13 @@ declare module "@tiptap/core" {
1830
1827
 
1831
1828
  declare module "@tiptap/core" {
1832
1829
  interface Commands<ReturnType> {
1833
- videoEmbed: {
1834
- setVideoEmbed: (options: {
1835
- src: string;
1836
- }) => ReturnType;
1830
+ transcript: {
1831
+ insertTranscript: (data: TranscriptData) => ReturnType;
1837
1832
  };
1838
1833
  }
1839
1834
  }
1835
+
1836
+
1837
+ declare namespace Calendar {
1838
+ var displayName: string;
1839
+ }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./registry-WX4F5JvC.js";
1
+ import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./registry-Cfsd-zAT.js";
2
2
  import { defaultTranslations as d } from "./i18n-provider-defaults.js";
3
- import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-DxshcaDQ.js";
3
+ import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-CcDsCCLa.js";
4
4
  export {
5
5
  p as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
@@ -7207,11 +7207,6 @@ declare module "gridstack" {
7207
7207
  }
7208
7208
 
7209
7209
 
7210
- declare namespace Calendar {
7211
- var displayName: string;
7212
- }
7213
-
7214
-
7215
7210
  declare module "@tiptap/core" {
7216
7211
  interface Commands<ReturnType> {
7217
7212
  aiBlock: {
@@ -7243,8 +7238,10 @@ declare module "@tiptap/core" {
7243
7238
 
7244
7239
  declare module "@tiptap/core" {
7245
7240
  interface Commands<ReturnType> {
7246
- transcript: {
7247
- insertTranscript: (data: TranscriptData) => ReturnType;
7241
+ videoEmbed: {
7242
+ setVideoEmbed: (options: {
7243
+ src: string;
7244
+ }) => ReturnType;
7248
7245
  };
7249
7246
  }
7250
7247
  }
@@ -7252,10 +7249,13 @@ declare module "@tiptap/core" {
7252
7249
 
7253
7250
  declare module "@tiptap/core" {
7254
7251
  interface Commands<ReturnType> {
7255
- videoEmbed: {
7256
- setVideoEmbed: (options: {
7257
- src: string;
7258
- }) => ReturnType;
7252
+ transcript: {
7253
+ insertTranscript: (data: TranscriptData) => ReturnType;
7259
7254
  };
7260
7255
  }
7261
7256
  }
7257
+
7258
+
7259
+ declare namespace Calendar {
7260
+ var displayName: string;
7261
+ }
@@ -1,10 +1,10 @@
1
- import { cH as mf, a7 as _r, b6 as gf, a6 as bf, cI as wf, cJ as xf, a1 as yf, cK as Co, cL as er, cM as vf, cN as _s, cO as ji, cP as Er, K as k, R as q, L as rt, u as me, cQ as kf, cR as Cf, cS as Sf, cT as Nf, cU as If, ak as Le, cV as Af, a0 as Et, cW as _f, b7 as Ef, _ as H, bf as Tf, bg as Df, U as jt, cX as ba, bs as Rf, bh as Lf, M as B, cY as Es, Z as E, cZ as it, c_ as Of, c$ as Mf, bn as Pf, ay as Ff, bl as zf, aH as Ht, d0 as wa, d1 as $f, d2 as Tt, aZ as kn, aA as Ts, aB as cn, k as xa, a4 as mt, d3 as ya, d4 as Bf, d5 as So, d6 as tn, d7 as Ds, d8 as jn, d9 as Tr, da as jf, db as va, dc as Hf, dd as Rs, de as Cn, df as Re, dg as Vf, dh as Wf, di as kt, dj as bi, dk as Uf, dl as yn, dm as Kt, dn as Gf, P as de, dp as Kf, dq as qf, dr as Jf, ds as Yf, dt as Xf, W as Je, Y as ue, du as Ls, aV as Hn, cE as Zr, dv as ka, dw as Os, dx as Zf, dy as Qf, dz as eh, dA as th, dB as nh, dC as rh, dD as ih, dE as sh, dF as oh, ba as lh, dG as ah, b8 as ch, dH as dh, dI as uh, dJ as fh, dK as hh, dL as ph, dM as mh, dN as gh, dO as bh, c2 as nt, dP as Ca, dQ as wh, a3 as V, N as Sa, dR as Na, dS as xh, b1 as Ms, a8 as No, a9 as Io, as as yh, dT as vh, dU as kh, am as dn, dV as Ch, dW as Sh, dX as Nh, dY as Ih, aQ as Qr, dZ as Ia, d_ as Aa, c4 as _a, d$ as Ah, aJ as Dr, e0 as _h, e1 as Eh, e2 as Th, e3 as Dh, e4 as Rh, ai as Lh, aj as Oh, al as Mh, e5 as Ph, e6 as Ea, e7 as Fh, e8 as Ta, e9 as zh, ea as $h, eb as Bh, ax as Ao, ec as Da, ed as Hi, b$ as Vi, ee as Ra, ef as jh, eg as Hh, cD as Vn, bD as La, cG as Vh, cF as Wh, eh as Uh, bE as nn, ei as Gh, aN as tr, ej as _o, ek as Wi, el as Kh, bm as qh, em as Jh, bZ as Oa, c3 as Yh, cf as Ma, cd as Ps, ae as Xh, cg as Zh, c0 as Fs, av as Pa, c as Fa, g as Qh, a as ep, bV as tp, en as za, eo as np, F as rp, ep as $a, eq as Ba, er as ip, bw as Eo, es as sp, et as op, bX as lp, bu as ja, bx as ap, eu as cp, ev as dp, ew as up, ex as fp, bY as Ha, $ as hp, Q as st, bJ as zs, ey as $s, ez as Bs, eA as Va, bK as js, eB as Wa, eC as pp, eD as mp, eE as gp, eF as bp, eG as wp, bL as xp, eH as yp, b_ as vp, eI as kp, eJ as To, eK as Do, eL as Ro, a$ as Cp, eM as Sp, eN as Np, bc as Ip, eO as Ua, bC as Ap, eP as _p, eQ as Ep } from "./registry-WX4F5JvC.js";
2
- import { eU as WI, eT as UI, eR as GI, aE as KI, eS as qI, f0 as JI, f1 as YI, f3 as XI, f7 as ZI, f8 as QI, aK as eA, eW as tA, eV as nA, f2 as rA, e$ as iA, eY as sA, e_ as oA, eX as lA, c1 as aA, eZ as cA, f4 as dA, f5 as uA, f6 as fA } from "./registry-WX4F5JvC.js";
1
+ import { cH as mf, a7 as _r, b6 as gf, a6 as bf, cI as wf, cJ as xf, a1 as yf, cK as Co, cL as er, cM as vf, cN as _s, cO as ji, cP as Er, K as k, R as q, L as rt, u as me, cQ as kf, cR as Cf, cS as Sf, cT as Nf, cU as If, ak as Le, cV as Af, a0 as Et, cW as _f, b7 as Ef, _ as H, bf as Tf, bg as Df, U as jt, cX as ba, bs as Rf, bh as Lf, M as B, cY as Es, Z as E, cZ as it, c_ as Of, c$ as Mf, bn as Pf, ay as Ff, bl as zf, aH as Ht, d0 as wa, d1 as $f, d2 as Tt, aZ as kn, aA as Ts, aB as cn, k as xa, a4 as mt, d3 as ya, d4 as Bf, d5 as So, d6 as tn, d7 as Ds, d8 as jn, d9 as Tr, da as jf, db as va, dc as Hf, dd as Rs, de as Cn, df as Re, dg as Vf, dh as Wf, di as kt, dj as bi, dk as Uf, dl as yn, dm as Kt, dn as Gf, P as de, dp as Kf, dq as qf, dr as Jf, ds as Yf, dt as Xf, W as Je, Y as ue, du as Ls, aV as Hn, cE as Zr, dv as ka, dw as Os, dx as Zf, dy as Qf, dz as eh, dA as th, dB as nh, dC as rh, dD as ih, dE as sh, dF as oh, ba as lh, dG as ah, b8 as ch, dH as dh, dI as uh, dJ as fh, dK as hh, dL as ph, dM as mh, dN as gh, dO as bh, c2 as nt, dP as Ca, dQ as wh, a3 as V, N as Sa, dR as Na, dS as xh, b1 as Ms, a8 as No, a9 as Io, as as yh, dT as vh, dU as kh, am as dn, dV as Ch, dW as Sh, dX as Nh, dY as Ih, aQ as Qr, dZ as Ia, d_ as Aa, c4 as _a, d$ as Ah, aJ as Dr, e0 as _h, e1 as Eh, e2 as Th, e3 as Dh, e4 as Rh, ai as Lh, aj as Oh, al as Mh, e5 as Ph, e6 as Ea, e7 as Fh, e8 as Ta, e9 as zh, ea as $h, eb as Bh, ax as Ao, ec as Da, ed as Hi, b$ as Vi, ee as Ra, ef as jh, eg as Hh, cD as Vn, bD as La, cG as Vh, cF as Wh, eh as Uh, bE as nn, ei as Gh, aN as tr, ej as _o, ek as Wi, el as Kh, bm as qh, em as Jh, bZ as Oa, c3 as Yh, cf as Ma, cd as Ps, ae as Xh, cg as Zh, c0 as Fs, av as Pa, c as Fa, g as Qh, a as ep, bV as tp, en as za, eo as np, F as rp, ep as $a, eq as Ba, er as ip, bw as Eo, es as sp, et as op, bX as lp, bu as ja, bx as ap, eu as cp, ev as dp, ew as up, ex as fp, bY as Ha, $ as hp, Q as st, bJ as zs, ey as $s, ez as Bs, eA as Va, bK as js, eB as Wa, eC as pp, eD as mp, eE as gp, eF as bp, eG as wp, bL as xp, eH as yp, b_ as vp, eI as kp, eJ as To, eK as Do, eL as Ro, a$ as Cp, eM as Sp, eN as Np, bc as Ip, eO as Ua, bC as Ap, eP as _p, eQ as Ep } from "./registry-Cfsd-zAT.js";
2
+ import { eU as WI, eT as UI, eR as GI, aE as KI, eS as qI, f0 as JI, f1 as YI, f3 as XI, f7 as ZI, f8 as QI, aK as eA, eW as tA, eV as nA, f2 as rA, e$ as iA, eY as sA, e_ as oA, eX as lA, c1 as aA, eZ as cA, f4 as dA, f5 as uA, f6 as fA } from "./registry-Cfsd-zAT.js";
3
3
  import { jsx as c, jsxs as g, Fragment as ne } from "react/jsx-runtime";
4
4
  import * as Sn from "react";
5
5
  import z, { PureComponent as Tp, forwardRef as P, useRef as K, useTransition as Dp, useState as L, useLayoutEffect as Ga, useContext as Hs, createContext as Vs, useCallback as X, useMemo as ee, useEffect as W, useId as Ka, useImperativeHandle as qa, memo as Ja, Fragment as Rp, isValidElement as Lp, cloneElement as Ya, Children as Xa } from "react";
6
- import { f as Jt, ad as Nn, e as nr, ae as Op, L as wi, af as Mp, A as Pp, i as rr, k as Fp, G as zp, g as Lo, ag as $p, j as Oo, n as Bp, ah as Za, ai as Qa, aj as jp, C as Hp, ab as Vp, ak as je, al as ot, am as Ee, an as Wp, ao as gr, ap as Ue, aq as ec, ar as Me, as as Ws, at as $e, au as Mo, av as Up, aw as tc, ax as Ie, ay as Fe, az as In, aA as Rr, aB as nc, aC as Gp, aD as Vt, aE as Kp, aF as qp, aG as Jp, aH as Wn, aI as Un, aJ as Us, aK as Yp, aL as rc, aM as ic, aN as sc, aO as Xp, aP as oc, aQ as lc, aR as ac, aS as cc, aT as dc, aU as uc, a4 as Po, aV as Zp, aW as Fo, aX as Qp, aY as em, aZ as tm, w as nm, x as rm, z as im, J as sm, K as om, s as lm, a_ as fc, a$ as am, b0 as cm, b1 as dm, b2 as hc, a8 as Ui, b3 as um, b4 as fm, b5 as hm, b6 as pm, b7 as mm, b8 as gm, b9 as bm, a0 as wm, ba as xm, bb as ym, bc as vm, bd as km, ac as pc, M as Cm, N as Sm, P as Nm, Q as Im, V as Am, O as _m, be as zo, bf as Em, bg as Tm, l as Dm } from "./index-CIfYW3SA.js";
7
- import { a6 as pA, Z as mA, a1 as gA, R as bA, $ as wA, bk as xA, bj as yA, bh as vA, bi as kA, T as CA, a5 as SA, U as NA, _ as IA, W as AA, a9 as _A, aa as EA } from "./index-CIfYW3SA.js";
6
+ import { f as Jt, ad as Nn, e as nr, ae as Op, L as wi, af as Mp, A as Pp, i as rr, k as Fp, G as zp, g as Lo, ag as $p, j as Oo, n as Bp, ah as Za, ai as Qa, aj as jp, C as Hp, ab as Vp, ak as je, al as ot, am as Ee, an as Wp, ao as gr, ap as Ue, aq as ec, ar as Me, as as Ws, at as $e, au as Mo, av as Up, aw as tc, ax as Ie, ay as Fe, az as In, aA as Rr, aB as nc, aC as Gp, aD as Vt, aE as Kp, aF as qp, aG as Jp, aH as Wn, aI as Un, aJ as Us, aK as Yp, aL as rc, aM as ic, aN as sc, aO as Xp, aP as oc, aQ as lc, aR as ac, aS as cc, aT as dc, aU as uc, a4 as Po, aV as Zp, aW as Fo, aX as Qp, aY as em, aZ as tm, w as nm, x as rm, z as im, J as sm, K as om, s as lm, a_ as fc, a$ as am, b0 as cm, b1 as dm, b2 as hc, a8 as Ui, b3 as um, b4 as fm, b5 as hm, b6 as pm, b7 as mm, b8 as gm, b9 as bm, a0 as wm, ba as xm, bb as ym, bc as vm, bd as km, ac as pc, M as Cm, N as Sm, P as Nm, Q as Im, V as Am, O as _m, be as zo, bf as Em, bg as Tm, l as Dm } from "./index-DtTD2awb.js";
7
+ import { a6 as pA, Z as mA, a1 as gA, R as bA, $ as wA, bk as xA, bj as yA, bh as vA, bi as kA, T as CA, a5 as SA, U as NA, _ as IA, W as AA, a9 as _A, aa as EA } from "./index-DtTD2awb.js";
8
8
  import './experimental.css';const Rm = mf("Search", [
9
9
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
10
10
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
package/dist/f0.d.ts CHANGED
@@ -10790,11 +10790,6 @@ declare module "gridstack" {
10790
10790
  }
10791
10791
 
10792
10792
 
10793
- declare namespace Calendar {
10794
- var displayName: string;
10795
- }
10796
-
10797
-
10798
10793
  declare module "@tiptap/core" {
10799
10794
  interface Commands<ReturnType> {
10800
10795
  aiBlock: {
@@ -10826,8 +10821,10 @@ declare module "@tiptap/core" {
10826
10821
 
10827
10822
  declare module "@tiptap/core" {
10828
10823
  interface Commands<ReturnType> {
10829
- transcript: {
10830
- insertTranscript: (data: TranscriptData) => ReturnType;
10824
+ videoEmbed: {
10825
+ setVideoEmbed: (options: {
10826
+ src: string;
10827
+ }) => ReturnType;
10831
10828
  };
10832
10829
  }
10833
10830
  }
@@ -10835,10 +10832,13 @@ declare module "@tiptap/core" {
10835
10832
 
10836
10833
  declare module "@tiptap/core" {
10837
10834
  interface Commands<ReturnType> {
10838
- videoEmbed: {
10839
- setVideoEmbed: (options: {
10840
- src: string;
10841
- }) => ReturnType;
10835
+ transcript: {
10836
+ insertTranscript: (data: TranscriptData) => ReturnType;
10842
10837
  };
10843
10838
  }
10844
10839
  }
10840
+
10841
+
10842
+ declare namespace Calendar {
10843
+ var displayName: string;
10844
+ }
package/dist/f0.js CHANGED
@@ -1,12 +1,12 @@
1
- import { O as To, P as ye, Q as gt, K as Z, L as nn, R as Hn, T as Oo, U as ma, W as ri, X as Lu, Y as Eo, Z as Pe, u as Ee, _ as mt, $ as nr, a0 as Mu, a1 as ju, a2 as _r, a3 as lt, a4 as rr, a5 as Bu, a6 as Vu, a7 as $u, a8 as Vn, a9 as bs, aa as zu, ab as qu, ac as Zu, ad as si, ae as Wu, af as Uu, ag as Io, ah as Qu, ai as ha, aj as pa, ak as Kr, al as ga, am as Ro, an as kr, ao as Po, ap as Hu, aq as Gu, ar as Ku, as as Xu, at as va, au as ai, av as Yu, aw as Ju, ax as ed, ay as Lo, az as td, M as Be, aA as nd, aB as ba, aC as ya, aD as Mo, aE as Xr, aF as rd, aG as sd, aH as sr, aI as ad, aJ as vn, aK as jo, aL as id, aM as xa, aN as od, aO as Bo, aP as Vo, N as Gn, aQ as ld, aR as qs, aS as $o, aT as cd, aU as zo, aV as yn, aW as qo, aX as ud, aY as dd, aZ as Zo, a_ as fd, a$ as md, b0 as hd, b1 as Wo, b2 as pd, b3 as gd, b4 as vd, b5 as bd, j as yd, b6 as xd, b7 as Uo, b8 as Qo, b9 as Ho, ba as Go, bb as Cr, bc as Ko, bd as wa, be as Sa, bf as wd, bg as Sd, bh as _d, bi as kd, bj as ys, bk as Xo, bl as Cd, bm as Nr, bn as Dr, bo as Ht, bp as ii, bq as oi, br as Yo, bs as li, bt as ci, bu as Yr, bv as Jo, bw as _a, bx as ka, by as Nd, bz as Dd, bA as Ad, bB as Fd, bC as Td, bD as el, bE as Od, bF as Ed, bG as Id, bH as Rd, bI as tl, bJ as Pd, bK as Ld, bL as Md, bM as nl, bN as jd, bO as Bd, bP as Vd, bQ as $d, I as zd, bR as qd, bS as Zd, bT as Wd, bU as Ud, bV as Qd, bW as Hd } from "./registry-WX4F5JvC.js";
2
- import { ck as H0, i as G0, cw as K0, cE as X0, h as Y0, F as J0, a as ew, C as tw, b as nw, bX as rw, bY as sw, bZ as aw, b_ as iw, b$ as ow, c0 as lw, c2 as cw, c3 as uw, c4 as dw, c5 as fw, c9 as mw, ca as hw, cA as pw, k as gw, cd as vw, ce as bw, cf as yw, cg as xw, ci as ww, cj as Sw, cl as _w, cc as kw, ch as Cw, cB as Nw, c6 as Dw, c7 as Aw, c8 as Fw, cv as Tw, cq as Ow, ct as Ew, g as Iw, cp as Rw, cF as Pw, co as Lw, cn as Mw, c1 as jw, c as Bw, cm as Vw, cr as $w, d as zw, cx as qw, cy as Zw, cz as Ww, cG as Uw, cb as Qw, cs as Hw, f as Gw, e as Kw, cD as Xw, cu as Yw, cC as Jw } from "./registry-WX4F5JvC.js";
1
+ import { O as To, P as ye, Q as gt, K as Z, L as nn, R as Hn, T as Oo, U as ma, W as ri, X as Lu, Y as Eo, Z as Pe, u as Ee, _ as mt, $ as nr, a0 as Mu, a1 as ju, a2 as _r, a3 as lt, a4 as rr, a5 as Bu, a6 as Vu, a7 as $u, a8 as Vn, a9 as bs, aa as zu, ab as qu, ac as Zu, ad as si, ae as Wu, af as Uu, ag as Io, ah as Qu, ai as ha, aj as pa, ak as Kr, al as ga, am as Ro, an as kr, ao as Po, ap as Hu, aq as Gu, ar as Ku, as as Xu, at as va, au as ai, av as Yu, aw as Ju, ax as ed, ay as Lo, az as td, M as Be, aA as nd, aB as ba, aC as ya, aD as Mo, aE as Xr, aF as rd, aG as sd, aH as sr, aI as ad, aJ as vn, aK as jo, aL as id, aM as xa, aN as od, aO as Bo, aP as Vo, N as Gn, aQ as ld, aR as qs, aS as $o, aT as cd, aU as zo, aV as yn, aW as qo, aX as ud, aY as dd, aZ as Zo, a_ as fd, a$ as md, b0 as hd, b1 as Wo, b2 as pd, b3 as gd, b4 as vd, b5 as bd, j as yd, b6 as xd, b7 as Uo, b8 as Qo, b9 as Ho, ba as Go, bb as Cr, bc as Ko, bd as wa, be as Sa, bf as wd, bg as Sd, bh as _d, bi as kd, bj as ys, bk as Xo, bl as Cd, bm as Nr, bn as Dr, bo as Ht, bp as ii, bq as oi, br as Yo, bs as li, bt as ci, bu as Yr, bv as Jo, bw as _a, bx as ka, by as Nd, bz as Dd, bA as Ad, bB as Fd, bC as Td, bD as el, bE as Od, bF as Ed, bG as Id, bH as Rd, bI as tl, bJ as Pd, bK as Ld, bL as Md, bM as nl, bN as jd, bO as Bd, bP as Vd, bQ as $d, I as zd, bR as qd, bS as Zd, bT as Wd, bU as Ud, bV as Qd, bW as Hd } from "./registry-Cfsd-zAT.js";
2
+ import { ck as H0, i as G0, cw as K0, cE as X0, h as Y0, F as J0, a as ew, C as tw, b as nw, bX as rw, bY as sw, bZ as aw, b_ as iw, b$ as ow, c0 as lw, c2 as cw, c3 as uw, c4 as dw, c5 as fw, c9 as mw, ca as hw, cA as pw, k as gw, cd as vw, ce as bw, cf as yw, cg as xw, ci as ww, cj as Sw, cl as _w, cc as kw, ch as Cw, cB as Nw, c6 as Dw, c7 as Aw, c8 as Fw, cv as Tw, cq as Ow, ct as Ew, g as Iw, cp as Rw, cF as Pw, co as Lw, cn as Mw, c1 as jw, c as Bw, cm as Vw, cr as $w, d as zw, cx as qw, cy as Zw, cz as Ww, cG as Uw, cb as Qw, cs as Hw, f as Gw, e as Kw, cD as Xw, cu as Yw, cC as Jw } from "./registry-Cfsd-zAT.js";
3
3
  import { jsx as c, jsxs as E, Fragment as ht } from "react/jsx-runtime";
4
4
  import * as wt from "react";
5
5
  import Q, { forwardRef as st, useRef as U, useImperativeHandle as Gd, Children as Ar, useCallback as P, useMemo as j, useState as ee, useEffect as le, createElement as fr, isValidElement as rl, Fragment as sl, useLayoutEffect as Kd, createContext as Tt, memo as al, useReducer as Xd, useContext as nt, cloneElement as Yd, PureComponent as Jd, useId as Ca } from "react";
6
6
  import { unstable_batchedUpdates as mr, createPortal as ef, flushSync as tf } from "react-dom";
7
- import { C as nf, S as ui, a as rf, f as xs, L as Rn, b as sf, A as af, i as hr, c as il, E as of, g as yr, d as lf, e as cf, h as uf, j as pn, k as ol, u as df, G as ff, l as mf, m as di, r as hf, n as pf, o as ll, p as gf, B as cl, X as ul, Y as Zs, q as vf, s as dl, t as bf, v as yf, w as xf, x as wf, y as Sf, z as _f, D as kf, F as Cf, H as fi, I as Nf, J as Df, K as Af, M as Ff, N as Tf, O as Of, P as Ef, Q as If, V as Rf, R as Ws, T as fl, U as Pf, W as Lf, Z as Mf, _ as ml, $ as Na, a0 as hl, a1 as jf, a2 as Bf, a3 as Vf, a4 as $f, a5 as zf, a6 as qf, a7 as Zf } from "./index-CIfYW3SA.js";
8
- import { a8 as t1, ab as n1, a9 as r1, aa as s1, ac as a1 } from "./index-CIfYW3SA.js";
9
- import { A as o1, F as l1, c as c1, d as u1, b as d1, a as f1, o as m1, u as h1 } from "./F0HILActionConfirmation-DxshcaDQ.js";
7
+ import { C as nf, S as ui, a as rf, f as xs, L as Rn, b as sf, A as af, i as hr, c as il, E as of, g as yr, d as lf, e as cf, h as uf, j as pn, k as ol, u as df, G as ff, l as mf, m as di, r as hf, n as pf, o as ll, p as gf, B as cl, X as ul, Y as Zs, q as vf, s as dl, t as bf, v as yf, w as xf, x as wf, y as Sf, z as _f, D as kf, F as Cf, H as fi, I as Nf, J as Df, K as Af, M as Ff, N as Tf, O as Of, P as Ef, Q as If, V as Rf, R as Ws, T as fl, U as Pf, W as Lf, Z as Mf, _ as ml, $ as Na, a0 as hl, a1 as jf, a2 as Bf, a3 as Vf, a4 as $f, a5 as zf, a6 as qf, a7 as Zf } from "./index-DtTD2awb.js";
8
+ import { a8 as t1, ab as n1, a9 as r1, aa as s1, ac as a1 } from "./index-DtTD2awb.js";
9
+ import { A as o1, F as l1, c as c1, d as u1, b as d1, a as f1, o as m1, u as h1 } from "./F0HILActionConfirmation-CcDsCCLa.js";
10
10
  import { defaultTranslations as g1 } from "./i18n-provider-defaults.js";
11
11
  const Wf = {
12
12
  xs: 1,
@@ -721,11 +721,6 @@ declare module "gridstack" {
721
721
  }
722
722
 
723
723
 
724
- declare namespace Calendar {
725
- var displayName: string;
726
- }
727
-
728
-
729
724
  declare module "@tiptap/core" {
730
725
  interface Commands<ReturnType> {
731
726
  aiBlock: {
@@ -757,8 +752,10 @@ declare module "@tiptap/core" {
757
752
 
758
753
  declare module "@tiptap/core" {
759
754
  interface Commands<ReturnType> {
760
- transcript: {
761
- insertTranscript: (data: TranscriptData) => ReturnType;
755
+ videoEmbed: {
756
+ setVideoEmbed: (options: {
757
+ src: string;
758
+ }) => ReturnType;
762
759
  };
763
760
  }
764
761
  }
@@ -766,10 +763,13 @@ declare module "@tiptap/core" {
766
763
 
767
764
  declare module "@tiptap/core" {
768
765
  interface Commands<ReturnType> {
769
- videoEmbed: {
770
- setVideoEmbed: (options: {
771
- src: string;
772
- }) => ReturnType;
766
+ transcript: {
767
+ insertTranscript: (data: TranscriptData) => ReturnType;
773
768
  };
774
769
  }
775
770
  }
771
+
772
+
773
+ declare namespace Calendar {
774
+ var displayName: string;
775
+ }
@@ -1,7 +1,7 @@
1
1
  import { jsxs as H, jsx as _, Fragment as Ct } from "react/jsx-runtime";
2
2
  import * as Ie from "react";
3
3
  import T, { useRef as $e, useState as ve, useCallback as xt, useEffect as ut, useLayoutEffect as fg, isValidElement as Jn, Children as ua, PureComponent as qn, forwardRef as ri, useImperativeHandle as lg, useMemo as vi, cloneElement as bt, createElement as cg, useContext as Hn, createContext as Ai, Component as R6, useId as j6, Fragment as uf, useDebugValue as L6, createRef as GC, memo as B6, version as yb } from "react";
4
- import { U as wi, d1 as YC, K as fe, cY as F6, aS as XC, aR as JC, L as z6, P as Ci, a3 as $r, f9 as eo, fa as ZC, fb as QC, fc as eT, fd as vb, fe as gb, ff as bb, fg as xb, fh as kb, fi as q6, fj as yc, fk as tT, fl as nT, fm as iT, dP as df, fn as hl, fo as pl, fp as ai, fq as rT, fr as H6, b6 as Ye, fs as aT, ft as ts, a7 as Ee, fu as oT, fv as W6, fw as ug, fx as V6, fy as U6, fz as sT, fA as fT, fB as K6, fC as lT, fD as cT, fE as uT, fF as wd, fG as dT, fH as hT, fI as pT, fJ as mT, a6 as Sa, fK as yT, fL as vT, dp as gT, a8 as Zn, a9 as Qn, cQ as bT, cR as xT, cS as kT, cV as wT, fM as G6, _ as nn, bD as _T, M as Le, aH as ml, aq as ST, eX as Ut, bf as OT, bg as ET, a2 as dg, bh as AT, bl as CT, bi as TT, bj as wb, bn as _b, aK as Y6, bp as MT, bq as PT, bs as DT, bt as NT, N as _d, u as Ti, aB as X6, a0 as gn, R as nt, $ as $T, W as J6, aQ as IT, ak as hg, cy as RT, fN as Z6, fO as Sb, fP as jT, cD as LT, eu as BT, ev as FT, cv as zT, cw as qT, cx as HT, eR as WT, am as VT, eS as pg, c4 as hf, a4 as Q6, du as e5, bk as UT, fQ as KT, aN as t5, fR as GT, fS as YT, fT as n5, dM as yl, fU as Sd, fV as Od, dO as vl, ai as XT, aj as JT, dC as ZT, al as QT, c5 as mg, aM as Ob, er as eM, fW as tM, d$ as i5, dw as nM, fX as iM, fY as Vy, fZ as r5, f_ as a5, f$ as o5, g0 as rM, g1 as aM, g2 as oM, g3 as sM, dD as fM, dE as lM, dF as cM, ba as uM, dG as dM, b8 as hM, g4 as pM, dJ as mM, dL as yM, dK as vM, c2 as gM, dN as bM, g5 as xM, bY as s5, aG as f5, d2 as Uy, a1 as kM, b9 as wM, g6 as _M, bz as SM, bA as OM, Y as l5, Z as hn, g7 as EM, av as Eb, e2 as AM, Q as c5, b_ as CM, b$ as TM, bX as yg, aa as MM, ay as PM, dS as DM, cf as NM, bE as Ab, c0 as $M, aZ as IM, eB as RM, g8 as jM, bF as LM, bG as BM, g9 as FM, bH as zM, ga as qM, gb as HM, eH as Cb } from "./registry-WX4F5JvC.js";
4
+ import { U as wi, d1 as YC, K as fe, cY as F6, aS as XC, aR as JC, L as z6, P as Ci, a3 as $r, f9 as eo, fa as ZC, fb as QC, fc as eT, fd as vb, fe as gb, ff as bb, fg as xb, fh as kb, fi as q6, fj as yc, fk as tT, fl as nT, fm as iT, dP as df, fn as hl, fo as pl, fp as ai, fq as rT, fr as H6, b6 as Ye, fs as aT, ft as ts, a7 as Ee, fu as oT, fv as W6, fw as ug, fx as V6, fy as U6, fz as sT, fA as fT, fB as K6, fC as lT, fD as cT, fE as uT, fF as wd, fG as dT, fH as hT, fI as pT, fJ as mT, a6 as Sa, fK as yT, fL as vT, dp as gT, a8 as Zn, a9 as Qn, cQ as bT, cR as xT, cS as kT, cV as wT, fM as G6, _ as nn, bD as _T, M as Le, aH as ml, aq as ST, eX as Ut, bf as OT, bg as ET, a2 as dg, bh as AT, bl as CT, bi as TT, bj as wb, bn as _b, aK as Y6, bp as MT, bq as PT, bs as DT, bt as NT, N as _d, u as Ti, aB as X6, a0 as gn, R as nt, $ as $T, W as J6, aQ as IT, ak as hg, cy as RT, fN as Z6, fO as Sb, fP as jT, cD as LT, eu as BT, ev as FT, cv as zT, cw as qT, cx as HT, eR as WT, am as VT, eS as pg, c4 as hf, a4 as Q6, du as e5, bk as UT, fQ as KT, aN as t5, fR as GT, fS as YT, fT as n5, dM as yl, fU as Sd, fV as Od, dO as vl, ai as XT, aj as JT, dC as ZT, al as QT, c5 as mg, aM as Ob, er as eM, fW as tM, d$ as i5, dw as nM, fX as iM, fY as Vy, fZ as r5, f_ as a5, f$ as o5, g0 as rM, g1 as aM, g2 as oM, g3 as sM, dD as fM, dE as lM, dF as cM, ba as uM, dG as dM, b8 as hM, g4 as pM, dJ as mM, dL as yM, dK as vM, c2 as gM, dN as bM, g5 as xM, bY as s5, aG as f5, d2 as Uy, a1 as kM, b9 as wM, g6 as _M, bz as SM, bA as OM, Y as l5, Z as hn, g7 as EM, av as Eb, e2 as AM, Q as c5, b_ as CM, b$ as TM, bX as yg, aa as MM, ay as PM, dS as DM, cf as NM, bE as Ab, c0 as $M, aZ as IM, eB as RM, g8 as jM, bF as LM, bG as BM, g9 as FM, bH as zM, ga as qM, gb as HM, eH as Cb } from "./registry-Cfsd-zAT.js";
5
5
  import vg from "react-dom";
6
6
  import './index.css';const WM = {
7
7
  active: !0,
@@ -69085,27 +69085,28 @@ function ylt(e, t, n) {
69085
69085
  [n?.max, n?.min, e.length]
69086
69086
  ), C = je(() => {
69087
69087
  if (!r.current || e.length === 0) return;
69088
- const g = r.current.clientWidth, v = a.current?.offsetWidth || i.current?.offsetWidth || 32, m = h(), y = m.map((F) => F + t), b = p({
69088
+ const g = r.current.clientWidth, v = a.current?.offsetWidth || i.current?.offsetWidth || 32, m = h(), y = m.map((S) => S + t), w = g - v - t;
69089
+ let b = p({
69089
69090
  itemWidths: y,
69090
- availableWidth: g
69091
- }), x = b >= e.length && (n?.max === void 0 || e.length <= n.max), M = x ? g : g - v - t;
69092
- let k = x ? b : p({
69093
- itemWidths: y,
69094
- availableWidth: M
69091
+ availableWidth: w
69095
69092
  });
69096
- const E = s.current;
69097
- if (E !== null && k > E) {
69098
- const F = p({
69093
+ b >= e.length && (n?.max === void 0 || e.length <= n.max) && (b = p({
69094
+ itemWidths: y,
69095
+ availableWidth: g
69096
+ }));
69097
+ const x = b >= e.length ? g : w, M = s.current;
69098
+ if (M !== null && b > M) {
69099
+ const S = p({
69099
69100
  itemWidths: y,
69100
- availableWidth: M - mlt
69101
+ availableWidth: x - mlt
69101
69102
  });
69102
- F < k && (k = Math.max(F, E));
69103
+ S < b && (b = Math.max(S, M));
69103
69104
  }
69104
- s.current = k;
69105
- let S = k === 0 ? [] : e.slice(0, k), T = k === 0 ? e : e.slice(k);
69106
- T.length === 1 && S.length && m.length > 0 && v === m[m.length - 1] - t && (S = e, T = []), c({
69107
- visibleItems: S,
69108
- overflowItems: T
69105
+ s.current = b;
69106
+ let k = b === 0 ? [] : e.slice(0, b), E = b === 0 ? e : e.slice(b);
69107
+ E.length === 1 && k.length && m.length > 0 && v === m[m.length - 1] - t && (k = e, E = []), c({
69108
+ visibleItems: k,
69109
+ overflowItems: E
69109
69110
  });
69110
69111
  }, [e, t, h, p, n?.max]);
69111
69112
  return He(() => {
@@ -122961,7 +122962,8 @@ const Lo2 = ({ label: e, number: t, onClick: n, selected: r }) => /* @__PURE__ *
122961
122962
  items: d,
122962
122963
  renderListItem: o,
122963
122964
  renderDropdownItem: s,
122964
- className: "min-w-0 flex-1"
122965
+ className: "min-w-0 flex-1",
122966
+ min: 1
122965
122967
  }
122966
122968
  );
122967
122969
  }, OL = W2({
@@ -199055,7 +199057,27 @@ const jI2 = (e) => e ? e.indeterminate || e.selectedCount !== void 0 && e.select
199055
199057
  onOpenChange: r
199056
199058
  }
199057
199059
  )
199058
- ] }), Hme = (e, t, n) => {
199060
+ ] }), Es = "border-0 border-r border-solid border-f1-border-secondary", UI2 = (e, t) => {
199061
+ const n = [];
199062
+ return e.forEach((r, a) => {
199063
+ const i = r.headerGroupId;
199064
+ if (!i) {
199065
+ n.push({
199066
+ type: "ungrouped",
199067
+ columnIndices: [a]
199068
+ });
199069
+ return;
199070
+ }
199071
+ const o = n[n.length - 1];
199072
+ o && o.type === "group" && o.id === i ? (o.colSpan++, o.columnIndices.push(a)) : n.push({
199073
+ colSpan: 1,
199074
+ id: i,
199075
+ type: "group",
199076
+ columnIndices: [a],
199077
+ label: t[i] ?? i
199078
+ });
199079
+ }), n;
199080
+ }, XI2 = (e, t) => Ee(() => !t || !e.some((r) => r.headerGroupId) ? null : UI2(e, t), [e, t]), Hme = (e, t, n) => {
199059
199081
  const r = n ? 46 : 0;
199060
199082
  return {
199061
199083
  getStickyPosition: je(
@@ -199069,7 +199091,7 @@ const jI2 = (e) => e ? e.indeterminate || e.selectedCount !== void 0 && e.select
199069
199091
  ),
199070
199092
  checkColumnWidth: r
199071
199093
  };
199072
- }, UI2 = (e, t) => {
199094
+ }, YI2 = (e, t) => {
199073
199095
  const [n, r] = ve(null), [a, i] = ve(null), [o, s] = ve(0), l = Se(null), c = Se(null), d = je(
199074
199096
  (h) => {
199075
199097
  l.current = h, h && r(h);
@@ -199107,7 +199129,7 @@ const jI2 = (e) => e ? e.indeterminate || e.selectedCount !== void 0 && e.select
199107
199129
  b.disconnect(), M.disconnect();
199108
199130
  };
199109
199131
  }, [n, a, e]), { setFirstChildRef: d, setLastChildRef: f, calculatedHeight: o };
199110
- }, Dme = W2(void 0), XI2 = ({
199132
+ }, Dme = W2(void 0), qI2 = ({
199111
199133
  children: e
199112
199134
  }) => {
199113
199135
  const [t, n] = ve({}), r = je(
@@ -199147,7 +199169,7 @@ const jI2 = (e) => e ? e.indeterminate || e.selectedCount !== void 0 && e.select
199147
199169
  "useNestedDataContext must be used within NestedDataProvider"
199148
199170
  );
199149
199171
  return e;
199150
- }, YI2 = (e) => e ? typeof e == "object" && "type" in e && e.type === "detailed" : !1, p3e = (e) => e ? Array.isArray(e) ? e : e.records : [], C3e = (e) => e && YI2(e) ? e?.type ?? "basic" : "basic", qI2 = ({
199172
+ }, KI2 = (e) => e ? typeof e == "object" && "type" in e && e.type === "detailed" : !1, p3e = (e) => e ? Array.isArray(e) ? e : e.records : [], C3e = (e) => e && KI2(e) ? e?.type ?? "basic" : "basic", QI2 = ({
199151
199173
  rowId: e,
199152
199174
  item: t,
199153
199175
  source: n,
@@ -199221,7 +199243,7 @@ const jI2 = (e) => e ? e.indeterminate || e.selectedCount !== void 0 && e.select
199221
199243
  childrenType: p,
199222
199244
  paginationInfo: c
199223
199245
  };
199224
- }, KI2 = (e, t) => {
199246
+ }, JI2 = (e, t) => {
199225
199247
  const n = Se(null), r = e.rowRef?.current;
199226
199248
  Gr(() => {
199227
199249
  if (n.current && r) {
@@ -199251,7 +199273,7 @@ const jI2 = (e) => e ? e.indeterminate || e.selectedCount !== void 0 && e.select
199251
199273
  }
199252
199274
  }
199253
199275
  );
199254
- }, Rme = W(KI2), QI2 = (e, t) => {
199276
+ }, Rme = W(JI2), eO2 = (e, t) => {
199255
199277
  const n = e.addRowActions.map((r) => ({
199256
199278
  label: r.label,
199257
199279
  icon: r.icon,
@@ -199273,9 +199295,9 @@ const jI2 = (e) => e ? e.indeterminate || e.selectedCount !== void 0 && e.select
199273
199295
  }
199274
199296
  }
199275
199297
  );
199276
- }, Ime = W(QI2);
199298
+ }, Ime = W(eO2);
199277
199299
  Ime.displayName = "AddRowRow";
199278
- const JI2 = (e, t) => /* @__PURE__ */ u(
199300
+ const tO2 = (e, t) => /* @__PURE__ */ u(
199279
199301
  Rme,
199280
199302
  {
199281
199303
  ...e,
@@ -199284,7 +199306,7 @@ const JI2 = (e, t) => /* @__PURE__ */ u(
199284
199306
  onLoadMoreChildren: e.onLoadMoreChildren
199285
199307
  }
199286
199308
  }
199287
- ), eO2 = W(JI2), tO2 = 5, nO2 = ({
199309
+ ), nO2 = W(tO2), rO2 = 5, aO2 = ({
199288
199310
  rowRef: e,
199289
199311
  rowIndex: t,
199290
199312
  source: n,
@@ -199341,7 +199363,7 @@ const JI2 = (e, t) => /* @__PURE__ */ u(
199341
199363
  },
199342
199364
  `row-loading-${t}`
199343
199365
  );
199344
- }, rO2 = W(nO2), aO2 = ({
199366
+ }, iO2 = W(aO2), oO2 = ({
199345
199367
  rowRef: e,
199346
199368
  ...t
199347
199369
  }, n) => {
@@ -199351,11 +199373,11 @@ const JI2 = (e, t) => /* @__PURE__ */ u(
199351
199373
  }), a = t.paginationInfo ? t.paginationInfo.total ? Math.min(
199352
199374
  t.paginationInfo.perPage,
199353
199375
  t.paginationInfo.total - t.paginationInfo.currentPage * t.paginationInfo.perPage
199354
- ) : t.paginationInfo.perPage : void 0, i = r ?? a ?? tO2;
199376
+ ) : t.paginationInfo.perPage : void 0, i = r ?? a ?? rO2;
199355
199377
  return /* @__PURE__ */ u(Tt, { children: Array.from({ length: i }).map((o, s) => {
199356
199378
  const c = !(s === i - 1) || t.shouldHideBorder;
199357
199379
  return /* @__PURE__ */ u(
199358
- rO2,
199380
+ iO2,
199359
199381
  {
199360
199382
  ref: n,
199361
199383
  rowRef: e,
@@ -199366,15 +199388,15 @@ const JI2 = (e, t) => /* @__PURE__ */ u(
199366
199388
  `row-loading-${s}`
199367
199389
  );
199368
199390
  }) });
199369
- }, iO2 = W(aO2), oO2 = (e) => e ? (Array.isArray(e) ? e : [e]).filter(
199391
+ }, sO2 = W(oO2), lO2 = (e) => e ? (Array.isArray(e) ? e : [e]).filter(
199370
199392
  (t) => t !== void 0
199371
- ) : [], sO2 = (e, t) => {
199372
- const n = Se(null), r = Sme(), a = `${e.nestedRowProps?.depth ?? 0}-${"id" in e.item ? e.item.id + "-" + e.index : e.index}`, { expandedRowIds: i, setRowExpanded: o } = Nme(), s = i[a] ?? !1, { children: l, loadChildren: c, isLoading: d, childrenType: f, paginationInfo: h } = qI2({
199393
+ ) : [], cO2 = (e, t) => {
199394
+ const n = Se(null), r = Sme(), a = `${e.nestedRowProps?.depth ?? 0}-${"id" in e.item ? e.item.id + "-" + e.index : e.index}`, { expandedRowIds: i, setRowExpanded: o } = Nme(), s = i[a] ?? !1, { children: l, loadChildren: c, isLoading: d, childrenType: f, paginationInfo: h } = QI2({
199373
199395
  rowId: a,
199374
199396
  item: e.item,
199375
199397
  source: e.source,
199376
199398
  onClearFetchedData: () => o(a, !1)
199377
- }), p = s && d, C = s, g = s && h?.hasMore, v = s ? oO2(r?.addNestedRowActions?.(e.item)) : [], m = v.length > 0, { calculatedHeight: y, setFirstChildRef: w, setLastChildRef: b } = UI2(
199399
+ }), p = s && d, C = s, g = s && h?.hasMore, v = s ? lO2(r?.addNestedRowActions?.(e.item)) : [], m = v.length > 0, { calculatedHeight: y, setFirstChildRef: w, setLastChildRef: b } = YI2(
199378
199400
  f,
199379
199401
  !!g || m
199380
199402
  ), x = je(
@@ -199485,7 +199507,7 @@ const JI2 = (e, t) => /* @__PURE__ */ u(
199485
199507
  }
199486
199508
  }),
199487
199509
  p && /* @__PURE__ */ u(
199488
- iO2,
199510
+ sO2,
199489
199511
  {
199490
199512
  ...e,
199491
199513
  rowRef: n,
@@ -199499,7 +199521,7 @@ const JI2 = (e, t) => /* @__PURE__ */ u(
199499
199521
  }
199500
199522
  ),
199501
199523
  g && !d && /* @__PURE__ */ u(
199502
- eO2,
199524
+ nO2,
199503
199525
  {
199504
199526
  ...e,
199505
199527
  disableHover: !0,
@@ -199530,27 +199552,7 @@ const JI2 = (e, t) => /* @__PURE__ */ u(
199530
199552
  }
199531
199553
  )
199532
199554
  ] });
199533
- }, lO2 = (e, t) => /* @__PURE__ */ u(cO2, { ...e, ref: t }), cO2 = W(sO2), Ome = W(lO2), Es = "border-0 border-r border-solid border-f1-border-secondary", uO2 = (e, t) => {
199534
- const n = [];
199535
- return e.forEach((r, a) => {
199536
- const i = r.headerGroupId;
199537
- if (!i) {
199538
- n.push({
199539
- type: "ungrouped",
199540
- columnIndices: [a]
199541
- });
199542
- return;
199543
- }
199544
- const o = n[n.length - 1];
199545
- o && o.type === "group" && o.id === i ? (o.colSpan++, o.columnIndices.push(a)) : n.push({
199546
- colSpan: 1,
199547
- id: i,
199548
- type: "group",
199549
- columnIndices: [a],
199550
- label: t[i] ?? i
199551
- });
199552
- }), n;
199553
- }, dO2 = (e, t) => Ee(() => !t || !e.some((r) => r.headerGroupId) ? null : uO2(e, t), [e, t]), fO2 = {
199555
+ }, uO2 = (e, t) => /* @__PURE__ */ u(dO2, { ...e, ref: t }), dO2 = W(cO2), Ome = W(uO2), fO2 = {
199554
199556
  none: "",
199555
199557
  striped: "bg-[repeating-linear-gradient(45deg,transparent_0px,transparent_8px,hsl(var(--neutral-20))_8px,hsl(var(--neutral-20))_9px)] [background-size:100%_100px]"
199556
199558
  }, hO2 = ({
@@ -200076,7 +200078,7 @@ const JI2 = (e, t) => /* @__PURE__ */ u(
200076
200078
  Y,
200077
200079
  x,
200078
200080
  !!t.selectable
200079
- ), Lt = dO2(x, c), jt = M?.records.some(
200081
+ ), Lt = XI2(x, c), jt = M?.records.some(
200080
200082
  (_e) => t.itemsWithChildren?.(_e)
200081
200083
  );
200082
200084
  if (S)
@@ -200087,7 +200089,7 @@ const JI2 = (e, t) => /* @__PURE__ */ u(
200087
200089
  );
200088
200090
  });
200089
200091
  const T2 = U.selectedCount > 0 || U.checked, C2 = !U.checked && U.unselectedCount === 0 && U.selectedCount > 0, Qe = !!t.allPagesSelection && !U.checked && k?.total !== void 0 && k.total > U.selectedCount, rt = x.length + (j ? 2 : 0), Le = U.selectedCount === 1 ? m.status.selected.singular : m.status.selected.plural;
200090
- return /* @__PURE__ */ u("div", { className: "flex h-full min-h-0 flex-col gap-4", children: /* @__PURE__ */ P(jt ? XI2 : lo, { children: [
200092
+ return /* @__PURE__ */ u("div", { className: "flex h-full min-h-0 flex-col gap-4", children: /* @__PURE__ */ P(jt ? qI2 : lo, { children: [
200091
200093
  /* @__PURE__ */ P(f3e, { loading: I, children: [
200092
200094
  /* @__PURE__ */ u(kme, { sticky: !0, children: T2 && t.selectable ? /* @__PURE__ */ P(N4, { children: [
200093
200095
  /* @__PURE__ */ u(
@@ -200545,22 +200547,22 @@ function Sl({
200545
200547
  readonly: e = !1,
200546
200548
  showRightBorder: t = !0,
200547
200549
  cursor: n = "text",
200548
- error: r,
200549
- children: a
200550
+ isActive: r = !1,
200551
+ error: a,
200552
+ children: i
200550
200553
  }) {
200551
200554
  return /* @__PURE__ */ u(
200552
200555
  "div",
200553
200556
  {
200554
200557
  className: ne(
200555
200558
  "flex w-full h-full min-w-0 min-h-12 border-solid",
200559
+ "border-0 border-r-[1px] border-f1-border-secondary",
200560
+ !t && "border-r-0",
200556
200561
  bO2[n],
200557
- r ? "border-0 bg-f1-background-critical/10 outline outline-1 outline-[hsl(var(--critical-50))] -outline-offset-[0.5px]" : ne(
200558
- "border-0 border-r-[1px] border-f1-border-secondary",
200559
- !t && "border-r-0"
200560
- ),
200562
+ a ? "relative z-[1] border-r-0 bg-f1-background-critical/10 shadow-[inset_0_0_0_1px_hsl(var(--critical-50))]" : r ? "relative z-[1] border-r-0 bg-f1-background shadow-[inset_0_0_0_1px_hsl(var(--selected-50))]" : "shadow-none [&:not(:focus-within)]:hover:shadow-[inset_0_0_0_1px_hsl(var(--neutral-30))] focus-within:relative focus-within:z-[1] focus-within:border-r-0 focus-within:bg-f1-background focus-within:shadow-[inset_0_0_0_1px_hsl(var(--selected-50))]",
200561
200563
  e && "bg-f1-background-secondary"
200562
200564
  ),
200563
- children: r ? /* @__PURE__ */ u(LO2, { message: r, children: a }) : a
200565
+ children: a ? /* @__PURE__ */ u(LO2, { message: a, children: i }) : i
200564
200566
  }
200565
200567
  );
200566
200568
  }
@@ -200623,27 +200625,28 @@ function _O2({
200623
200625
  onChange: a,
200624
200626
  item: i
200625
200627
  }) {
200626
- const o = wt(), s = e.selectConfig;
200627
- if (!s)
200628
+ const o = wt(), [s, l] = ve(!1), c = e.selectConfig;
200629
+ if (!c)
200628
200630
  return v3e.has(e.label) || (v3e.add(e.label), console.warn(
200629
200631
  `SelectCell: column "${e.label}" has editType "select" but no selectConfig`
200630
200632
  )), /* @__PURE__ */ u(Sl, { children: mp(i, e, "editableTable", o) });
200631
- const l = {
200633
+ const d = {
200632
200634
  label: e.label,
200633
200635
  hideLabel: !0,
200634
200636
  value: t || void 0,
200635
- onChange: (d) => {
200636
- const f = d ?? "";
200637
- f !== t && a(f);
200637
+ onChange: (h) => {
200638
+ const p = h ?? "";
200639
+ p !== t && a(p);
200638
200640
  },
200639
200641
  loading: r,
200640
200642
  size: "sm",
200641
- placeholder: s.placeholder,
200642
- showSearchBox: s.showSearchBox,
200643
- defaultItem: s.defaultItem?.(i),
200644
- multiple: !1
200645
- }, c = s.clearable ? { clearable: !0 } : {};
200646
- return /* @__PURE__ */ u(Sl, { error: n, children: /* @__PURE__ */ u(
200643
+ placeholder: c.placeholder,
200644
+ showSearchBox: c.showSearchBox,
200645
+ defaultItem: c.defaultItem?.(i),
200646
+ multiple: !1,
200647
+ onOpenChange: l
200648
+ }, f = c.clearable ? { clearable: !0 } : {};
200649
+ return /* @__PURE__ */ u(Sl, { error: n, isActive: s, children: /* @__PURE__ */ u(
200647
200650
  "div",
200648
200651
  {
200649
200652
  className: ne(
@@ -200664,20 +200667,20 @@ function _O2({
200664
200667
  "[&>div>button]:h-full",
200665
200668
  e.align === "right" && "justify-end"
200666
200669
  ),
200667
- children: "source" in s && s.source ? /* @__PURE__ */ u(
200670
+ children: "source" in c && c.source ? /* @__PURE__ */ u(
200668
200671
  ll,
200669
200672
  {
200670
- ...l,
200671
- ...c,
200672
- source: s.source,
200673
- mapOptions: s.mapOptions
200673
+ ...d,
200674
+ ...f,
200675
+ source: c.source,
200676
+ mapOptions: c.mapOptions
200674
200677
  }
200675
200678
  ) : /* @__PURE__ */ u(
200676
200679
  ll,
200677
200680
  {
200678
- ...l,
200679
- ...c,
200680
- options: typeof s.options == "function" ? s.options(i) : s.options
200681
+ ...d,
200682
+ ...f,
200683
+ options: typeof c.options == "function" ? c.options(i) : c.options
200681
200684
  }
200682
200685
  )
200683
200686
  }