@factorialco/f0-react 1.356.2 → 1.357.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.
@@ -1,6 +1,6 @@
1
1
  import { jsx as X, jsxs as le } from "react/jsx-runtime";
2
2
  import { useInsertionEffect as Xe, createContext as ke, useContext as $e, useRef as _, useEffect as ne, useState as _e, useCallback as ze, useMemo as Ye } from "react";
3
- import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-CiIS6L-I.js";
3
+ import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-D0vcAZ95.js";
4
4
  import { useTrackVolume as pt } from "@livekit/components-react";
5
5
  function vt(t, e, r) {
6
6
  Xe(() => t.on(e, r), [t, e, r]);
package/dist/ai.d.ts CHANGED
@@ -362,6 +362,9 @@ export declare const defaultTranslations: {
362
362
  readonly singular: "Selected";
363
363
  readonly plural: "Selected";
364
364
  readonly all: "All selected";
365
+ readonly allOnPage: "All items on this page are selected";
366
+ readonly selectAllItems: "Select all {{total}} items";
367
+ readonly allItemsSelected: "All {{total}} items selected";
365
368
  };
366
369
  };
367
370
  readonly syncStatus: {
@@ -1154,6 +1157,11 @@ declare module "gridstack" {
1154
1157
  }
1155
1158
 
1156
1159
 
1160
+ declare namespace Calendar {
1161
+ var displayName: string;
1162
+ }
1163
+
1164
+
1157
1165
  declare module "@tiptap/core" {
1158
1166
  interface Commands<ReturnType> {
1159
1167
  aiBlock: {
@@ -1190,8 +1198,3 @@ declare module "@tiptap/core" {
1190
1198
  };
1191
1199
  }
1192
1200
  }
1193
-
1194
-
1195
- declare namespace Calendar {
1196
- var displayName: string;
1197
- }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-CiIS6L-I.js";
1
+ import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-D0vcAZ95.js";
2
2
  import { defaultTranslations as R } from "./i18n-provider-defaults.js";
3
- import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-DYjm5fCH.js";
3
+ import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-DKn3zo4m.js";
4
4
  export {
5
5
  e as A,
6
6
  y as AiChatTranslationsProvider,
@@ -1976,6 +1976,16 @@ export declare type DataSourceDefinition<R extends RecordType = RecordType, Filt
1976
1976
  selectable?: (item: R) => string | number | undefined;
1977
1977
  /** Default selected items */
1978
1978
  defaultSelectedItems?: SelectedItemsState<R>;
1979
+ /**
1980
+ * When true, selection spans across all pages (cross-page selection).
1981
+ * - Selection state persists when navigating between pages
1982
+ * - itemStatus includes items from all pages
1983
+ *
1984
+ * When false (default), selection is scoped to the current page only:
1985
+ * - Selection state resets when navigating between pages
1986
+ * - itemStatus only includes items from the current page
1987
+ */
1988
+ allPagesSelection?: boolean;
1979
1989
  /***** GROUPING ***************************************************/
1980
1990
  /** Grouping configuration */
1981
1991
  grouping?: Grouping;
@@ -2296,6 +2306,9 @@ declare const defaultTranslations: {
2296
2306
  readonly singular: "Selected";
2297
2307
  readonly plural: "Selected";
2298
2308
  readonly all: "All selected";
2309
+ readonly allOnPage: "All items on this page are selected";
2310
+ readonly selectAllItems: "Select all {{total}} items";
2311
+ readonly allItemsSelected: "All {{total}} items selected";
2299
2312
  };
2300
2313
  };
2301
2314
  readonly syncStatus: {
@@ -4782,7 +4795,7 @@ export declare type OnLoadErrorCallback = (error: DataError) => void;
4782
4795
 
4783
4796
  export declare type OnSelectItemsCallback<R extends RecordType, Filters extends FiltersDefinition> = (selectedItems: SelectedItemsDetailedStatus<R, Filters> & {
4784
4797
  byLane?: Record<string, SelectedItemsDetailedStatus<R, Filters>>;
4785
- }, clearSelectedItems: () => void) => void;
4798
+ }, clearSelectedItems: () => void, handleSelectAll?: (checked: boolean) => void) => void;
4786
4799
 
4787
4800
  declare type OnSubmitHandler<TFieldValues extends FieldValues, TTransformedValues extends FieldValues | undefined = undefined> = (data: ReturnType<UseFormHandleSubmit<TFieldValues, TTransformedValues>>) => Promise<Success | FormError<TFieldValues>> | Success | FormError<TFieldValues>;
4788
4801
 
@@ -6605,6 +6618,11 @@ declare module "gridstack" {
6605
6618
  }
6606
6619
 
6607
6620
 
6621
+ declare namespace Calendar {
6622
+ var displayName: string;
6623
+ }
6624
+
6625
+
6608
6626
  declare module "@tiptap/core" {
6609
6627
  interface Commands<ReturnType> {
6610
6628
  aiBlock: {
@@ -6641,8 +6659,3 @@ declare module "@tiptap/core" {
6641
6659
  };
6642
6660
  }
6643
6661
  }
6644
-
6645
-
6646
- declare namespace Calendar {
6647
- var displayName: string;
6648
- }