@factorialco/f0-react 2.30.0 → 2.30.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
@@ -4193,6 +4193,11 @@ declare module "gridstack" {
4193
4193
  }
4194
4194
 
4195
4195
 
4196
+ declare namespace Calendar {
4197
+ var displayName: string;
4198
+ }
4199
+
4200
+
4196
4201
  declare module "@tiptap/core" {
4197
4202
  interface Commands<ReturnType> {
4198
4203
  aiBlock: {
@@ -4242,11 +4247,6 @@ declare module "@tiptap/core" {
4242
4247
  }
4243
4248
 
4244
4249
 
4245
- declare namespace Calendar {
4246
- var displayName: string;
4247
- }
4248
-
4249
-
4250
4250
  declare namespace F0GraphNodeWrapperInner {
4251
4251
  var displayName: string;
4252
4252
  }
@@ -2652,13 +2652,6 @@ export declare type DataSourceDefinition<R extends RecordType = RecordType, Filt
2652
2652
  item: R;
2653
2653
  pagination?: ChildrenPaginationInfo;
2654
2654
  }) => number | undefined;
2655
- /**
2656
- * Item ids that start expanded on first render. Rows matched here have
2657
- * their children fetched eagerly. Only rows whose `item.id` is in this
2658
- * list are auto-expanded — nested descendants are not, unless their own id
2659
- * is also included. Defaults to none.
2660
- */
2661
- defaultExpandedIds?: Array<string | number>;
2662
2655
  };
2663
2656
 
2664
2657
  declare type DateCellConfig = {
@@ -2698,7 +2691,7 @@ declare type DateNavigatorFilterDefinition = NavigationFilterDefinitionBase<Date
2698
2691
  type: "date-navigator";
2699
2692
  } & DateNavigationOptions_2;
2700
2693
 
2701
- declare type DatePickerCompareTo = Record<GranularityDefinitionKey, CompareToDef[]>;
2694
+ declare type DatePickerCompareTo = Partial<Record<GranularityDefinitionKey, CompareToDef[]>>;
2702
2695
 
2703
2696
  declare interface DatePickerPopupProps {
2704
2697
  onSelect?: (value: DatePickerValue | undefined) => void;
@@ -5033,7 +5026,15 @@ export declare interface GranularityDefinition {
5033
5026
 
5034
5027
  export declare type GranularityDefinitionKey = keyof typeof granularityDefinitions;
5035
5028
 
5036
- export declare const granularityDefinitions: Record<string, GranularityDefinition>;
5029
+ export declare const granularityDefinitions: {
5030
+ readonly day: GranularityDefinition;
5031
+ readonly week: GranularityDefinition;
5032
+ readonly month: GranularityDefinition;
5033
+ readonly quarter: GranularityDefinition;
5034
+ readonly halfyear: GranularityDefinition;
5035
+ readonly year: GranularityDefinition;
5036
+ readonly range: GranularityDefinition;
5037
+ };
5037
5038
 
5038
5039
  export declare type GranularityDefinitionSimple = Pick<GranularityDefinition, "toRangeString" | "toString">;
5039
5040
 
@@ -8559,6 +8560,11 @@ declare module "gridstack" {
8559
8560
  }
8560
8561
 
8561
8562
 
8563
+ declare namespace Calendar {
8564
+ var displayName: string;
8565
+ }
8566
+
8567
+
8562
8568
  declare module "@tiptap/core" {
8563
8569
  interface Commands<ReturnType> {
8564
8570
  aiBlock: {
@@ -8608,11 +8614,6 @@ declare module "@tiptap/core" {
8608
8614
  }
8609
8615
 
8610
8616
 
8611
- declare namespace Calendar {
8612
- var displayName: string;
8613
- }
8614
-
8615
-
8616
8617
  declare namespace F0GraphNodeWrapperInner {
8617
8618
  var displayName: string;
8618
8619
  }
@@ -2,8 +2,8 @@ import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p,
2
2
  import { bQ as Lc, bP as Ec, c0 as _c, bM as Oc, bN as Dc, bF as Tc, bG as zc, c1 as Pc, bH as Bc, bO as Rc, bY as $c, bZ as Wc, bI as Mc, bS as jc, bR as Vc, bJ as Gc, bK as Hc, b_ as Uc, c2 as Kc, b$ as qc, bX as Yc, bU as Zc, bW as Xc, bT as Jc, bL as Qc, bV as ed } from "./F0CanvasPanel-8cFWNhbQ.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import se, { forwardRef as j, useRef as G, useTransition as Hr, useState as _, useLayoutEffect as Fn, useId as ot, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Ur, isValidElement as Kr, cloneElement as An, Children as Ln } from "react";
5
- import { C as qr, P as Yr, g as En, c as Zr, a as _n, F as ct, f as Xr, M as Jr, b as Qr, R as Dt, d as On, u as el, e as Dn, S as tl, A as nl, B as al, L as rl, h as ll, V as il, i as sl, j as Tt, k as ol, l as cl, O as dl } from "./useDataCollectionSource-DM1ZthY3.js";
6
- import { r as nd, s as ad, p as rd, H as ld, t as id, z as sd, a5 as od, G as cd, q as dd, o as ud, Q as fd, ab as md, U as hd, W as pd, v as gd, a7 as bd, a8 as xd, a6 as vd, a9 as wd, N as yd, X as Nd, a2 as Cd, a4 as kd, w as Sd, y as Id, D as Fd, J as Ad, aa as Ld, K as Ed, T as _d, x as Od, E as Dd, m as Td, n as zd, Z as Pd, _ as Bd, a3 as Rd, I as $d, $ as Wd, a0 as Md, Y as jd, a1 as Vd } from "./useDataCollectionSource-DM1ZthY3.js";
5
+ import { C as qr, P as Yr, g as En, c as Zr, a as _n, F as ct, f as Xr, M as Jr, b as Qr, R as Dt, d as On, u as el, e as Dn, S as tl, A as nl, B as al, L as rl, h as ll, V as il, i as sl, j as Tt, k as ol, l as cl, O as dl } from "./useDataCollectionSource-CeczsYtn.js";
6
+ import { r as nd, s as ad, p as rd, H as ld, t as id, z as sd, a5 as od, G as cd, q as dd, o as ud, Q as fd, ab as md, U as hd, W as pd, v as gd, a7 as bd, a8 as xd, a6 as vd, a9 as wd, N as yd, X as Nd, a2 as Cd, a4 as kd, w as Sd, y as Id, D as Fd, J as Ad, aa as Ld, K as Ed, T as _d, x as Od, E as Dd, m as Td, n as zd, Z as Pd, _ as Bd, a3 as Rd, I as $d, $ as Wd, a0 as Md, Y as jd, a1 as Vd } from "./useDataCollectionSource-CeczsYtn.js";
7
7
  const ul = da("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
@@ -3780,13 +3780,6 @@ export declare type DataSourceDefinition<R extends RecordType = RecordType, Filt
3780
3780
  item: R;
3781
3781
  pagination?: ChildrenPaginationInfo;
3782
3782
  }) => number | undefined;
3783
- /**
3784
- * Item ids that start expanded on first render. Rows matched here have
3785
- * their children fetched eagerly. Only rows whose `item.id` is in this
3786
- * list are auto-expanded — nested descendants are not, unless their own id
3787
- * is also included. Defaults to none.
3788
- */
3789
- defaultExpandedIds?: Array<string | number>;
3790
3783
  };
3791
3784
 
3792
3785
  /**
@@ -3861,7 +3854,7 @@ declare type DateNavigatorFilterDefinition = NavigationFilterDefinitionBase<Date
3861
3854
  type: "date-navigator";
3862
3855
  } & DateNavigationOptions_2;
3863
3856
 
3864
- declare type DatePickerCompareTo = Record<GranularityDefinitionKey, CompareToDef[]>;
3857
+ declare type DatePickerCompareTo = Partial<Record<GranularityDefinitionKey, CompareToDef[]>>;
3865
3858
 
3866
3859
  declare interface DatePickerPopupProps {
3867
3860
  onSelect?: (value: DatePickerValue_2 | undefined) => void;
@@ -10497,7 +10490,15 @@ export declare interface GranularityDefinition {
10497
10490
 
10498
10491
  export declare type GranularityDefinitionKey = keyof typeof granularityDefinitions;
10499
10492
 
10500
- export declare const granularityDefinitions: Record<string, GranularityDefinition>;
10493
+ export declare const granularityDefinitions: {
10494
+ readonly day: GranularityDefinition;
10495
+ readonly week: GranularityDefinition;
10496
+ readonly month: GranularityDefinition;
10497
+ readonly quarter: GranularityDefinition;
10498
+ readonly halfyear: GranularityDefinition;
10499
+ readonly year: GranularityDefinition;
10500
+ readonly range: GranularityDefinition;
10501
+ };
10501
10502
 
10502
10503
  export declare type GranularityDefinitionSimple = Pick<GranularityDefinition, "toRangeString" | "toString">;
10503
10504
 
@@ -15153,6 +15154,11 @@ declare module "gridstack" {
15153
15154
  }
15154
15155
 
15155
15156
 
15157
+ declare namespace Calendar {
15158
+ var displayName: string;
15159
+ }
15160
+
15161
+
15156
15162
  declare module "@tiptap/core" {
15157
15163
  interface Commands<ReturnType> {
15158
15164
  aiBlock: {
@@ -15202,11 +15208,6 @@ declare module "@tiptap/core" {
15202
15208
  }
15203
15209
 
15204
15210
 
15205
- declare namespace Calendar {
15206
- var displayName: string;
15207
- }
15208
-
15209
-
15210
15211
  declare namespace F0GraphNodeWrapperInner {
15211
15212
  var displayName: string;
15212
15213
  }
package/dist/f0.js CHANGED
@@ -6,8 +6,8 @@ import He, { forwardRef as Jr, useRef as se, useImperativeHandle as IH, Children
6
6
  import { z as PH, B as OH, U as nT, D as iT, E as $m, G as aT, H as BH, I as Oa, J as nl, K as VH, L as Gw, M as Rr, N as fi, O as FH, P as zH, Q as kk, Z as Ho, R as GH, S as HH, T as WH, V as Rk, W as Xv, X as Hw, Y as Pk, _ as Ok, $ as pn, a0 as UH, a1 as $H, a2 as Bk, a3 as Rg, a4 as YH, a5 as XH, a6 as Vk, a7 as qH, a8 as ZH, a9 as jH, aa as KH, ab as QH, ac as JH, F as eW } from "./useChatHistory-BLSpXWfe.js";
7
7
  import { A as Aye, C as Mye, h as Eye, t as Lye, v as Nye, x as Iye, ah as kye, n as Rye, j as Pye, r as Oye, y as Bye, q as Vye, s as Fye, k as zye, e as Gye, g as Hye, l as Wye, i as Uye, a as $ye, p as Yye, ai as Xye, af as qye, ae as Zye, ag as jye, m as Kye, o as Qye, ad as Jye, b as e0e, f as t0e, w as r0e, c as n0e, d as i0e, u as a0e } from "./useChatHistory-BLSpXWfe.js";
8
8
  import { createPortal as Fk, unstable_batchedUpdates as qd, flushSync as tW } from "react-dom";
9
- import { C as rW, o as nW, G as jb, H as zk, ac as Gk, N as Hk, aa as iW, T as aW, K as Wk, Q as Ww, ad as Uw, a5 as oW, ae as sW, af as lW, d as Pg, ag as uW, R as $w, u as Yw, J as Uk, O as Xw, ah as $k, ai as qw, p as cW, a0 as Yk, X as Xk, aj as fW, ak as dW, al as hW, am as vW, an as pW, M as gW } from "./useDataCollectionSource-DM1ZthY3.js";
10
- import { r as s0e, s as l0e, t as u0e, z as c0e, ap as f0e, F as d0e, ab as h0e, v as v0e, a7 as p0e, a8 as g0e, a6 as m0e, a9 as y0e, w as b0e, P as x0e, y as _0e, D as w0e, x as S0e, E as C0e, m as T0e, n as D0e, ao as A0e, a3 as M0e, I as E0e, aq as L0e, ar as N0e, as as I0e, e as k0e } from "./useDataCollectionSource-DM1ZthY3.js";
9
+ import { C as rW, o as nW, G as jb, H as zk, ac as Gk, N as Hk, aa as iW, T as aW, K as Wk, Q as Ww, ad as Uw, a5 as oW, ae as sW, af as lW, d as Pg, ag as uW, R as $w, u as Yw, J as Uk, O as Xw, ah as $k, ai as qw, p as cW, a0 as Yk, X as Xk, aj as fW, ak as dW, al as hW, am as vW, an as pW, M as gW } from "./useDataCollectionSource-CeczsYtn.js";
10
+ import { r as s0e, s as l0e, t as u0e, z as c0e, ap as f0e, F as d0e, ab as h0e, v as v0e, a7 as p0e, a8 as g0e, a6 as m0e, a9 as y0e, w as b0e, P as x0e, y as _0e, D as w0e, x as S0e, E as C0e, m as T0e, n as D0e, ao as A0e, a3 as M0e, I as E0e, aq as L0e, ar as N0e, as as I0e, e as k0e } from "./useDataCollectionSource-CeczsYtn.js";
11
11
  import { utils as fu, write as qk } from "./xlsx-Bedf3nwD.js";
12
12
  import { defaultTranslations as P0e } from "./i18n-provider-defaults.js";
13
13
  import './f0.css';const mW = {
@@ -842,6 +842,11 @@ declare module "gridstack" {
842
842
  }
843
843
 
844
844
 
845
+ declare namespace Calendar {
846
+ var displayName: string;
847
+ }
848
+
849
+
845
850
  declare module "@tiptap/core" {
846
851
  interface Commands<ReturnType> {
847
852
  aiBlock: {
@@ -891,11 +896,6 @@ declare module "@tiptap/core" {
891
896
  }
892
897
 
893
898
 
894
- declare namespace Calendar {
895
- var displayName: string;
896
- }
897
-
898
-
899
899
  declare namespace F0GraphNodeWrapperInner {
900
900
  var displayName: string;
901
901
  }