@factorialco/f0-react 1.404.2 → 1.405.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ai.d.ts CHANGED
@@ -1546,6 +1546,11 @@ declare module "gridstack" {
1546
1546
  }
1547
1547
 
1548
1548
 
1549
+ declare namespace Calendar {
1550
+ var displayName: string;
1551
+ }
1552
+
1553
+
1549
1554
  declare module "@tiptap/core" {
1550
1555
  interface Commands<ReturnType> {
1551
1556
  aiBlock: {
@@ -1577,10 +1582,8 @@ declare module "@tiptap/core" {
1577
1582
 
1578
1583
  declare module "@tiptap/core" {
1579
1584
  interface Commands<ReturnType> {
1580
- videoEmbed: {
1581
- setVideoEmbed: (options: {
1582
- src: string;
1583
- }) => ReturnType;
1585
+ transcript: {
1586
+ insertTranscript: (data: TranscriptData) => ReturnType;
1584
1587
  };
1585
1588
  }
1586
1589
  }
@@ -1588,13 +1591,10 @@ declare module "@tiptap/core" {
1588
1591
 
1589
1592
  declare module "@tiptap/core" {
1590
1593
  interface Commands<ReturnType> {
1591
- transcript: {
1592
- insertTranscript: (data: TranscriptData) => ReturnType;
1594
+ videoEmbed: {
1595
+ setVideoEmbed: (options: {
1596
+ src: string;
1597
+ }) => ReturnType;
1593
1598
  };
1594
1599
  }
1595
1600
  }
1596
-
1597
-
1598
- declare namespace Calendar {
1599
- var displayName: string;
1600
- }
@@ -6188,9 +6188,16 @@ declare type TableColumnDefinition<R extends RecordType, Sortings extends Sortin
6188
6188
  * Avoid hiding the column by the user
6189
6189
  */
6190
6190
  noHiding?: boolean;
6191
+ /**
6192
+ * Assigns this column to a header group. Columns with the same
6193
+ * headerGroupId are visually grouped under a shared spanning header.
6194
+ * The label for each group is provided via `headerGroupLabels` in
6195
+ * the visualization options.
6196
+ */
6197
+ headerGroupId?: string;
6191
6198
  };
6192
6199
 
6193
- declare function TableHead({ children, width, sortState, onSortClick, info, infoIcon, sticky, hidden, align, className, }: TableHeadProps): JSX_2.Element;
6200
+ declare function TableHead({ children, width, sortState, onSortClick, info, infoIcon, sticky, hidden, align, className, colSpan, }: TableHeadProps): JSX_2.Element;
6194
6201
 
6195
6202
  declare interface TableHeadProps {
6196
6203
  children: React.ReactNode;
@@ -6245,6 +6252,10 @@ declare interface TableHeadProps {
6245
6252
  * The class name of the header cell
6246
6253
  */
6247
6254
  className?: string;
6255
+ /**
6256
+ * The number of columns this header cell should span
6257
+ */
6258
+ colSpan?: number;
6248
6259
  }
6249
6260
 
6250
6261
  declare type TableVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = {
@@ -6276,6 +6287,11 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
6276
6287
  * Reference rows are rendered with a slanted background pattern across the full row.
6277
6288
  */
6278
6289
  referenceRowType?: (item: R) => ReferenceType;
6290
+ /**
6291
+ * Labels for header groups. Keys are headerGroupId values used in column
6292
+ * definitions, values are the display labels rendered in the spanning header row.
6293
+ */
6294
+ headerGroupLabels?: Record<string, string>;
6279
6295
  };
6280
6296
 
6281
6297
  declare type TableVisualizationSettings = {
@@ -7059,6 +7075,11 @@ declare module "gridstack" {
7059
7075
  }
7060
7076
 
7061
7077
 
7078
+ declare namespace Calendar {
7079
+ var displayName: string;
7080
+ }
7081
+
7082
+
7062
7083
  declare module "@tiptap/core" {
7063
7084
  interface Commands<ReturnType> {
7064
7085
  aiBlock: {
@@ -7090,10 +7111,8 @@ declare module "@tiptap/core" {
7090
7111
 
7091
7112
  declare module "@tiptap/core" {
7092
7113
  interface Commands<ReturnType> {
7093
- videoEmbed: {
7094
- setVideoEmbed: (options: {
7095
- src: string;
7096
- }) => ReturnType;
7114
+ transcript: {
7115
+ insertTranscript: (data: TranscriptData) => ReturnType;
7097
7116
  };
7098
7117
  }
7099
7118
  }
@@ -7101,13 +7120,10 @@ declare module "@tiptap/core" {
7101
7120
 
7102
7121
  declare module "@tiptap/core" {
7103
7122
  interface Commands<ReturnType> {
7104
- transcript: {
7105
- insertTranscript: (data: TranscriptData) => ReturnType;
7123
+ videoEmbed: {
7124
+ setVideoEmbed: (options: {
7125
+ src: string;
7126
+ }) => ReturnType;
7106
7127
  };
7107
7128
  }
7108
7129
  }
7109
-
7110
-
7111
- declare namespace Calendar {
7112
- var displayName: string;
7113
- }
@@ -3,8 +3,8 @@ import { dw as HI, dv as VI, dq as WI, dr as UI, du as GI, dE as KI, dF as qI, d
3
3
  import { jsx as c, jsxs as g, Fragment as re } from "react/jsx-runtime";
4
4
  import * as Sn from "react";
5
5
  import z, { PureComponent as Cp, forwardRef as P, useRef as K, useTransition as Sp, useState as R, useLayoutEffect as Va, useContext as js, createContext as Hs, useCallback as J, useMemo as ee, useEffect as W, useId as Wa, useImperativeHandle as Ua, memo as Ga, Fragment as Np, isValidElement as Ip, cloneElement as Ka, Children as qa } from "react";
6
- import { f as Yt, p as Nn, i as tr, D as Ap, L as bi, P as _p, A as Ep, a as nr, b as Tp, c as Dp, G as Lp, g as Do, l as Rp, d as Lo, e as Op, h as Ya, j as Ja, k as Mp, C as Pp, m as Fp, N as je, n as ot, o as Ee, q as zp, r as mr, T as Ue, s as Xa, S as Me, t as Vs, u as $e, v as Ro, w as $p, x as Za, F as Ie, y as Fe, z as In, B as Tr, E as Qa, H as Bp, I as Vt, J as jp, K as Hp, M as Vp, R as Vn, O as Wn, Q as Ws, U as Wp, V as ec, W as tc, X as nc, Y as Up, Z as rc, _ as ic, $ as sc, a0 as oc, a1 as lc, a2 as ac, a3 as Oo, a4 as Gp, a5 as Mo, a6 as Kp, a7 as qp, a8 as Yp, a9 as Jp, aa as Xp, ab as Zp, ac as Qp, ad as em, ae as tm, af as cc, ag as nm, ah as rm, ai as im, aj as dc, ak as Wi, al as sm, am as om, an as Po, ao as uc, ap as lm, aq as am, ar as cm, as as dm, at as um, au as fm, av as hm, aw as pm, ax as mm, ay as fc, az as gm, aA as bm, aB as wm, aC as hc, aD as xm, aE as ym, aF as vm, aG as km, aH as Cm, aI as Sm, aJ as Nm, aK as Fo, aL as Im, aM as Am, aN as _m, aO as Em } from "./useDataCollectionSource-D7g3xWUS.js";
7
- import { aP as oA, aR as lA, b5 as aA, aQ as cA, aX as dA, b8 as uA, b6 as fA, aY as hA, aZ as pA, aT as mA, a_ as gA, b2 as bA, b4 as wA, aV as xA, b7 as yA, aW as vA, aU as kA, b3 as CA, aS as SA, a$ as NA, b0 as IA, b1 as AA } from "./useDataCollectionSource-D7g3xWUS.js";
6
+ import { f as Yt, p as Nn, i as tr, D as Ap, L as bi, P as _p, A as Ep, a as nr, b as Tp, c as Dp, G as Lp, g as Do, l as Rp, d as Lo, e as Op, h as Ya, j as Ja, k as Mp, C as Pp, m as Fp, N as je, n as ot, o as Ee, q as zp, r as mr, T as Ue, s as Xa, S as Me, t as Vs, u as $e, v as Ro, w as $p, x as Za, F as Ie, y as Fe, z as In, B as Tr, E as Qa, H as Bp, I as Vt, J as jp, K as Hp, M as Vp, R as Vn, O as Wn, Q as Ws, U as Wp, V as ec, W as tc, X as nc, Y as Up, Z as rc, _ as ic, $ as sc, a0 as oc, a1 as lc, a2 as ac, a3 as Oo, a4 as Gp, a5 as Mo, a6 as Kp, a7 as qp, a8 as Yp, a9 as Jp, aa as Xp, ab as Zp, ac as Qp, ad as em, ae as tm, af as cc, ag as nm, ah as rm, ai as im, aj as dc, ak as Wi, al as sm, am as om, an as Po, ao as uc, ap as lm, aq as am, ar as cm, as as dm, at as um, au as fm, av as hm, aw as pm, ax as mm, ay as fc, az as gm, aA as bm, aB as wm, aC as hc, aD as xm, aE as ym, aF as vm, aG as km, aH as Cm, aI as Sm, aJ as Nm, aK as Fo, aL as Im, aM as Am, aN as _m, aO as Em } from "./useDataCollectionSource-OzCyjQc4.js";
7
+ import { aP as oA, aR as lA, b5 as aA, aQ as cA, aX as dA, b8 as uA, b6 as fA, aY as hA, aZ as pA, aT as mA, a_ as gA, b2 as bA, b4 as wA, aV as xA, b7 as yA, aW as vA, aU as kA, b3 as CA, aS as SA, a$ as NA, b0 as IA, b1 as AA } from "./useDataCollectionSource-OzCyjQc4.js";
8
8
  import './experimental.css';const Tm = hf("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
@@ -8652,9 +8652,16 @@ declare type TableColumnDefinition<R extends RecordType, Sortings extends Sortin
8652
8652
  * Avoid hiding the column by the user
8653
8653
  */
8654
8654
  noHiding?: boolean;
8655
+ /**
8656
+ * Assigns this column to a header group. Columns with the same
8657
+ * headerGroupId are visually grouped under a shared spanning header.
8658
+ * The label for each group is provided via `headerGroupLabels` in
8659
+ * the visualization options.
8660
+ */
8661
+ headerGroupId?: string;
8655
8662
  };
8656
8663
 
8657
- declare function TableHead({ children, width, sortState, onSortClick, info, infoIcon, sticky, hidden, align, className, }: TableHeadProps): JSX_2.Element;
8664
+ declare function TableHead({ children, width, sortState, onSortClick, info, infoIcon, sticky, hidden, align, className, colSpan, }: TableHeadProps): JSX_2.Element;
8658
8665
 
8659
8666
  declare interface TableHeadProps {
8660
8667
  children: React.ReactNode;
@@ -8709,6 +8716,10 @@ declare interface TableHeadProps {
8709
8716
  * The class name of the header cell
8710
8717
  */
8711
8718
  className?: string;
8719
+ /**
8720
+ * The number of columns this header cell should span
8721
+ */
8722
+ colSpan?: number;
8712
8723
  }
8713
8724
 
8714
8725
  declare type TableOfContentPopoverVariant = "dark" | "light";
@@ -8748,6 +8759,11 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
8748
8759
  * Reference rows are rendered with a slanted background pattern across the full row.
8749
8760
  */
8750
8761
  referenceRowType?: (item: R) => ReferenceType;
8762
+ /**
8763
+ * Labels for header groups. Keys are headerGroupId values used in column
8764
+ * definitions, values are the display labels rendered in the spanning header row.
8765
+ */
8766
+ headerGroupLabels?: Record<string, string>;
8751
8767
  };
8752
8768
 
8753
8769
  declare type TableVisualizationSettings = {
@@ -9871,6 +9887,11 @@ declare module "gridstack" {
9871
9887
  }
9872
9888
 
9873
9889
 
9890
+ declare namespace Calendar {
9891
+ var displayName: string;
9892
+ }
9893
+
9894
+
9874
9895
  declare module "@tiptap/core" {
9875
9896
  interface Commands<ReturnType> {
9876
9897
  aiBlock: {
@@ -9902,10 +9923,8 @@ declare module "@tiptap/core" {
9902
9923
 
9903
9924
  declare module "@tiptap/core" {
9904
9925
  interface Commands<ReturnType> {
9905
- videoEmbed: {
9906
- setVideoEmbed: (options: {
9907
- src: string;
9908
- }) => ReturnType;
9926
+ transcript: {
9927
+ insertTranscript: (data: TranscriptData) => ReturnType;
9909
9928
  };
9910
9929
  }
9911
9930
  }
@@ -9913,13 +9932,10 @@ declare module "@tiptap/core" {
9913
9932
 
9914
9933
  declare module "@tiptap/core" {
9915
9934
  interface Commands<ReturnType> {
9916
- transcript: {
9917
- insertTranscript: (data: TranscriptData) => ReturnType;
9935
+ videoEmbed: {
9936
+ setVideoEmbed: (options: {
9937
+ src: string;
9938
+ }) => ReturnType;
9918
9939
  };
9919
9940
  }
9920
9941
  }
9921
-
9922
-
9923
- declare namespace Calendar {
9924
- var displayName: string;
9925
- }
package/dist/f0.js CHANGED
@@ -4,8 +4,8 @@ import { jsx as C, jsxs as W, Fragment as fn } from "react/jsx-runtime";
4
4
  import * as Kn from "react";
5
5
  import Ie, { forwardRef as Qr, useRef as ge, useImperativeHandle as XG, Children as Qv, createContext as Tn, useContext as kr, useState as Ee, useMemo as se, useEffect as Fe, useCallback as oe, useLayoutEffect as n_, createElement as Qd, isValidElement as Hk, Fragment as Wk, memo as $k, useReducer as qG, cloneElement as jG, PureComponent as KG, useId as Q1 } from "react";
6
6
  import { createPortal as Uk, unstable_batchedUpdates as Jd, flushSync as QG } from "react-dom";
7
- import { b9 as Zk, C as JG, b as Yk, ba as uT, bb as eH, f as ey, L as yc, bc as tH, A as rH, a as eh, bd as Xk, be as nH, g as xv, bf as iH, i as aH, bg as oH, d as ru, c as qk, bh as sH, G as lH, aN as uH, bi as cT, bj as cH, e as fH, bk as jk, bl as dH, bm as Kk, bn as Qk, bo as i_, bp as hH, ae as Jk, bq as vH, br as pH, a9 as gH, aa as mH, bs as yH, ab as bH, bt as _H, bu as xH, bv as fT, bw as wH, ac as SH, ad as CH, aE as TH, aF as DH, aJ as AH, aG as MH, aH as EH, aI as LH, ay as IH, aQ as a_, bx as eR, aT as tR, b7 as NH, aU as kH, aR as RH, aW as rR, aX as J1, b5 as PH, by as OH, bz as BH, ao as Fg, a3 as VH, an as ew, ap as tw, aV as zH, aO as nR, bA as iR, bB as aR, aP as FH, b0 as GH, a_ as HH, bC as WH, bD as $H, am as UH } from "./useDataCollectionSource-D7g3xWUS.js";
8
- import { bF as L0e, ak as I0e, m as N0e, bE as k0e, b3 as R0e, aS as P0e, bG as O0e, bH as B0e, bI as V0e, aC as z0e } from "./useDataCollectionSource-D7g3xWUS.js";
7
+ import { b9 as Zk, C as JG, b as Yk, ba as uT, bb as eH, f as ey, L as yc, bc as tH, A as rH, a as eh, bd as Xk, be as nH, g as xv, bf as iH, i as aH, bg as oH, d as ru, c as qk, bh as sH, G as lH, aN as uH, bi as cT, bj as cH, e as fH, bk as jk, bl as dH, bm as Kk, bn as Qk, bo as i_, bp as hH, ae as Jk, bq as vH, br as pH, a9 as gH, aa as mH, bs as yH, ab as bH, bt as _H, bu as xH, bv as fT, bw as wH, ac as SH, ad as CH, aE as TH, aF as DH, aJ as AH, aG as MH, aH as EH, aI as LH, ay as IH, aQ as a_, bx as eR, aT as tR, b7 as NH, aU as kH, aR as RH, aW as rR, aX as J1, b5 as PH, by as OH, bz as BH, ao as Fg, a3 as VH, an as ew, ap as tw, aV as zH, aO as nR, bA as iR, bB as aR, aP as FH, b0 as GH, a_ as HH, bC as WH, bD as $H, am as UH } from "./useDataCollectionSource-OzCyjQc4.js";
8
+ import { bF as L0e, ak as I0e, m as N0e, bE as k0e, b3 as R0e, aS as P0e, bG as O0e, bH as B0e, bI as V0e, aC as z0e } from "./useDataCollectionSource-OzCyjQc4.js";
9
9
  import { A as G0e, F as H0e, c as W0e, d as $0e, b as U0e, a as Z0e, o as Y0e, u as X0e } from "./F0HILActionConfirmation-rxfVjeOm.js";
10
10
  import { defaultTranslations as j0e } from "./i18n-provider-defaults.js";
11
11
  import './f0.css';const ZH = {
@@ -667,6 +667,11 @@ declare module "gridstack" {
667
667
  }
668
668
 
669
669
 
670
+ declare namespace Calendar {
671
+ var displayName: string;
672
+ }
673
+
674
+
670
675
  declare module "@tiptap/core" {
671
676
  interface Commands<ReturnType> {
672
677
  aiBlock: {
@@ -698,10 +703,8 @@ declare module "@tiptap/core" {
698
703
 
699
704
  declare module "@tiptap/core" {
700
705
  interface Commands<ReturnType> {
701
- videoEmbed: {
702
- setVideoEmbed: (options: {
703
- src: string;
704
- }) => ReturnType;
706
+ transcript: {
707
+ insertTranscript: (data: TranscriptData) => ReturnType;
705
708
  };
706
709
  }
707
710
  }
@@ -709,13 +712,10 @@ declare module "@tiptap/core" {
709
712
 
710
713
  declare module "@tiptap/core" {
711
714
  interface Commands<ReturnType> {
712
- transcript: {
713
- insertTranscript: (data: TranscriptData) => ReturnType;
715
+ videoEmbed: {
716
+ setVideoEmbed: (options: {
717
+ src: string;
718
+ }) => ReturnType;
714
719
  };
715
720
  }
716
721
  }
717
-
718
-
719
- declare namespace Calendar {
720
- var displayName: string;
721
- }