@factorialco/f0-react 1.394.1 → 1.396.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/f0.d.ts CHANGED
@@ -36,6 +36,7 @@ import { DateCellValue } from './f0';
36
36
  import { DateCellValue as DateCellValue_2 } from './types/date';
37
37
  import { DateFilterOptions } from './DateFilter/DateFilter';
38
38
  import { default as default_2 } from 'react';
39
+ import { DeltaCellValue } from './types/delta';
39
40
  import { DotTagCellValue } from './f0';
40
41
  import { DotTagCellValue as DotTagCellValue_2 } from './types/dotTag';
41
42
  import { F0AvatarCompanyProps as F0AvatarCompanyProps_2 } from './types';
@@ -7189,6 +7190,8 @@ declare type RecordPathValue<T, P extends string> = P extends keyof T ? T[P] : P
7189
7190
  */
7190
7191
  export declare type RecordType = Record<string, unknown>;
7191
7192
 
7193
+ declare type ReferenceType = "none" | "striped";
7194
+
7192
7195
  declare type RegularAction = BaseAction & {
7193
7196
  type: "regular";
7194
7197
  variant: ButtonVariant;
@@ -7649,6 +7652,11 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
7649
7652
  * Allow users to hide columns (you can define especifcally non hiddable columns in col props, also frozen columns are not hiddable)
7650
7653
  */
7651
7654
  allowColumnHiding?: boolean;
7655
+ /**
7656
+ * Marks one or more rows as reference rows.
7657
+ * Reference rows are rendered with a slanted background pattern across the full row.
7658
+ */
7659
+ referenceRowType?: (item: R) => ReferenceType;
7652
7660
  };
7653
7661
 
7654
7662
  declare type TableVisualizationSettings = {
@@ -8615,6 +8623,7 @@ declare const valueDisplayRenderers: {
8615
8623
  readonly file: (args: FileCellValue_2) => JSX_2.Element;
8616
8624
  readonly folder: (args: FolderCellValue_2) => JSX_2.Element;
8617
8625
  readonly country: (args: CountryCellValue, context: ValueDisplayRendererContext_2) => JSX_2.Element;
8626
+ readonly delta: (args: DeltaCellValue) => JSX_2.Element;
8618
8627
  };
8619
8628
 
8620
8629
  declare type ValueDisplayVisualizationType = "table" | "card" | "list" | (string & {});
@@ -8764,11 +8773,16 @@ declare module "gridstack" {
8764
8773
  }
8765
8774
 
8766
8775
 
8776
+ declare namespace Calendar {
8777
+ var displayName: string;
8778
+ }
8779
+
8780
+
8767
8781
  declare module "@tiptap/core" {
8768
8782
  interface Commands<ReturnType> {
8769
- enhanceHighlight: {
8770
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8771
- clearEnhanceHighlight: () => ReturnType;
8783
+ aiBlock: {
8784
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8785
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8772
8786
  };
8773
8787
  }
8774
8788
  }
@@ -8776,9 +8790,9 @@ declare module "@tiptap/core" {
8776
8790
 
8777
8791
  declare module "@tiptap/core" {
8778
8792
  interface Commands<ReturnType> {
8779
- aiBlock: {
8780
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8781
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8793
+ enhanceHighlight: {
8794
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8795
+ clearEnhanceHighlight: () => ReturnType;
8782
8796
  };
8783
8797
  }
8784
8798
  }
@@ -8811,8 +8825,3 @@ declare module "@tiptap/core" {
8811
8825
  };
8812
8826
  }
8813
8827
  }
8814
-
8815
-
8816
- declare namespace Calendar {
8817
- var displayName: string;
8818
- }
package/dist/f0.js CHANGED
@@ -1,12 +1,12 @@
1
- import { ad as ye, ae as ut, a9 as ue, aa as Xt, af as yo, ag as Mi, ah as Ii, ai as hs, aj as Kl, ak as bo, al as wt, u as kt, am as Wr, an as Xl, ao as Yl, ap as Jl, aq as Ql, ar as at, as as ec, at as tc, au as Nr, av as Yn, aw as rc, ax as nc, ay as ic, az as ms, aA as sc, aB as oc, aC as xo, aD as ac, aE as wo, aF as _o, aG as Li, aH as Co, aI as Eo, aJ as ln, aK as So, aL as lc, aM as cc, aN as dc, aO as uc, aP as fc, ab as qe, aQ as ps, aR as hc, aS as mc, aT as pc, aU as gc, aV as ko, aW as vc, aX as yc, aY as bc, aZ as Do, a_ as xc, a$ as ar, b0 as wc, b1 as _c, b2 as Cc, b3 as Ec, b4 as Pi, b5 as Sc, b6 as No, b7 as kc, ac as Dc, b8 as Nc, b9 as Rc, ba as Tc, bb as Ac, bc as Oc, bd as Ro, be as Mc, bf as Ic, bg as Lc, bh as Pc, bi as Fc, bj as zc, bk as Bc, bl as Vc, bm as Hc, bn as jc, bo as $c, bp as Wc, I as Gc, bq as Uc, br as Zc, bs as qc, bt as Kc } from "./F0AiChat-DJTQ9AEc.js";
2
- import { A as Pv, bS as Fv, B as zv, C as Bv, q as Vv, c5 as Hv, E as jv, h as $v, F as Wv, a as Gv, D as Uv, i as Zv, b as qv, bu as Kv, bv as Xv, bw as Yv, bx as Jv, bz as Qv, bA as ey, bB as ty, bC as ry, bF as ny, j as iy, bG as sy, bH as oy, bI as ay, c1 as ly, w as cy, x as dy, y as uy, bL as fy, bM as hy, bN as my, bO as py, bQ as gy, bR as vy, z as yy, c as by, bT as xy, r as wy, s as _y, t as Cy, H as Ey, m as Sy, L as ky, O as Dy, bK as Ny, v as Ry, P as Ty, S as Ay, T as Oy, n as My, bP as Iy, o as Ly, p as Py, U as Fy, c2 as zy, bD as By, bE as Vy, bY as Hy, k as jy, l as $y, b$ as Wy, bX as Gy, c6 as Uy, bW as Zy, bV as qy, by as Ky, d as Xy, bU as Yy, bZ as Jy, e as Qy, c7 as eb, bJ as tb, b_ as rb, g as nb, f as ib, c4 as sb, c0 as ob, c3 as ab } from "./F0AiChat-DJTQ9AEc.js";
1
+ import { ad as ye, ae as ut, a9 as ue, aa as Xt, af as yo, ag as Mi, ah as Ii, ai as hs, aj as Kl, ak as bo, al as wt, u as kt, am as Wr, an as Xl, ao as Yl, ap as Jl, aq as Ql, ar as at, as as ec, at as tc, au as Nr, av as Yn, aw as rc, ax as nc, ay as ic, az as ms, aA as sc, aB as oc, aC as xo, aD as ac, aE as wo, aF as _o, aG as Li, aH as Co, aI as Eo, aJ as ln, aK as So, aL as lc, aM as cc, aN as dc, aO as uc, aP as fc, ab as qe, aQ as ps, aR as hc, aS as mc, aT as pc, aU as gc, aV as ko, aW as vc, aX as yc, aY as bc, aZ as Do, a_ as xc, a$ as ar, b0 as wc, b1 as _c, b2 as Cc, b3 as Ec, b4 as Pi, b5 as Sc, b6 as No, b7 as kc, ac as Dc, b8 as Nc, b9 as Rc, ba as Tc, bb as Ac, bc as Oc, bd as Ro, be as Mc, bf as Ic, bg as Lc, bh as Pc, bi as Fc, bj as zc, bk as Bc, bl as Vc, bm as Hc, bn as jc, bo as $c, bp as Wc, I as Gc, bq as Uc, br as Zc, bs as qc, bt as Kc } from "./F0AiChat-sQnVZIig.js";
2
+ import { A as Pv, bS as Fv, B as zv, C as Bv, q as Vv, c5 as Hv, E as jv, h as $v, F as Wv, a as Gv, D as Uv, i as Zv, b as qv, bu as Kv, bv as Xv, bw as Yv, bx as Jv, bz as Qv, bA as ey, bB as ty, bC as ry, bF as ny, j as iy, bG as sy, bH as oy, bI as ay, c1 as ly, w as cy, x as dy, y as uy, bL as fy, bM as hy, bN as my, bO as py, bQ as gy, bR as vy, z as yy, c as by, bT as xy, r as wy, s as _y, t as Cy, H as Ey, m as Sy, L as ky, O as Dy, bK as Ny, v as Ry, P as Ty, S as Ay, T as Oy, n as My, bP as Iy, o as Ly, p as Py, U as Fy, c2 as zy, bD as By, bE as Vy, bY as Hy, k as jy, l as $y, b$ as Wy, bX as Gy, c6 as Uy, bW as Zy, bV as qy, by as Ky, d as Xy, bU as Yy, bZ as Jy, e as Qy, c7 as eb, bJ as tb, b_ as rb, g as nb, f as ib, c4 as sb, c0 as ob, c3 as ab } from "./F0AiChat-sQnVZIig.js";
3
3
  import { jsx as f, jsxs as W, Fragment as Yt } from "react/jsx-runtime";
4
4
  import * as lt from "react";
5
5
  import q, { forwardRef as Ke, useRef as Y, useImperativeHandle as Xc, Children as cn, createContext as yt, useContext as ct, useState as ie, useMemo as H, useEffect as ne, useCallback as K, useLayoutEffect as fi, createElement as Qr, isValidElement as To, Fragment as Yc, memo as Jc, useReducer as Qc, cloneElement as ed, PureComponent as td, useId as rd } from "react";
6
6
  import { createPortal as Ao, unstable_batchedUpdates as en, flushSync as nd } from "react-dom";
7
- import { L as Oo, C as id, i as Mo, S as gs, a as sd, f as Jn, b as _r, c as od, A as ad, d as tn, e as Io, E as ld, g as sn, h as cd, j as dd, k as ud, l as ir, m as Lo, u as fd, G as hd, n as md, o as vs, p as pd, q as Po, r as gd, B as Fo, X as zo, Y as hi, s as vd, t as Bo, v as yd, w as bd, x as xd, y as wd, z as _d, D as Cd, F as Ed, H as Sd, I as ys, J as kd, K as Dd, M as Nd, N as Rd, O as Td, P as Ad, Q as Od, R as Md, V as Id, T as Ld, U as mi, W as Vo, Z as Pd, _ as Fd, $ as zd, a0 as Bd, a1 as Ho, a2 as jo, a3 as Vd, a4 as $o, a5 as Wo, a6 as Hd, a7 as jd, a8 as $d, a9 as Wd } from "./DataCollectionStorageProvider-CaTG4Ci9.js";
8
- import { af as cb, aa as db, ad as ub, ae as fb, ab as hb, ac as mb, ag as pb, ah as gb, ai as vb, aj as yb } from "./DataCollectionStorageProvider-CaTG4Ci9.js";
9
- import { A as xb, F as wb, c as _b, d as Cb, b as Eb, a as Sb, o as kb, u as Db } from "./F0HILActionConfirmation-DH49_Gi0.js";
7
+ import { L as Oo, C as id, i as Mo, S as gs, a as sd, f as Jn, b as _r, c as od, A as ad, d as tn, e as Io, E as ld, g as sn, h as cd, j as dd, k as ud, l as ir, m as Lo, u as fd, G as hd, n as md, o as vs, p as pd, q as Po, r as gd, B as Fo, X as zo, Y as hi, s as vd, t as Bo, v as yd, w as bd, x as xd, y as wd, z as _d, D as Cd, F as Ed, H as Sd, I as ys, J as kd, K as Dd, M as Nd, N as Rd, O as Td, P as Ad, Q as Od, R as Md, V as Id, T as Ld, U as mi, W as Vo, Z as Pd, _ as Fd, $ as zd, a0 as Bd, a1 as Ho, a2 as jo, a3 as Vd, a4 as $o, a5 as Wo, a6 as Hd, a7 as jd, a8 as $d, a9 as Wd } from "./DataCollectionStorageProvider-DBFaWjh6.js";
8
+ import { af as cb, aa as db, ad as ub, ae as fb, ab as hb, ac as mb, ag as pb, ah as gb, ai as vb, aj as yb } from "./DataCollectionStorageProvider-DBFaWjh6.js";
9
+ import { A as xb, F as wb, c as _b, d as Cb, b as Eb, a as Sb, o as kb, u as Db } from "./F0HILActionConfirmation-D74w-tBZ.js";
10
10
  import { defaultTranslations as Rb } from "./i18n-provider-defaults.js";
11
11
  import './f0.css';const Gd = {
12
12
  xs: 1,
@@ -646,11 +646,16 @@ declare module "gridstack" {
646
646
  }
647
647
 
648
648
 
649
+ declare namespace Calendar {
650
+ var displayName: string;
651
+ }
652
+
653
+
649
654
  declare module "@tiptap/core" {
650
655
  interface Commands<ReturnType> {
651
- enhanceHighlight: {
652
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
653
- clearEnhanceHighlight: () => ReturnType;
656
+ aiBlock: {
657
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
658
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
654
659
  };
655
660
  }
656
661
  }
@@ -658,9 +663,9 @@ declare module "@tiptap/core" {
658
663
 
659
664
  declare module "@tiptap/core" {
660
665
  interface Commands<ReturnType> {
661
- aiBlock: {
662
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
663
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
666
+ enhanceHighlight: {
667
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
668
+ clearEnhanceHighlight: () => ReturnType;
664
669
  };
665
670
  }
666
671
  }
@@ -693,8 +698,3 @@ declare module "@tiptap/core" {
693
698
  };
694
699
  }
695
700
  }
696
-
697
-
698
- declare namespace Calendar {
699
- var displayName: string;
700
- }