@factorialco/f0-react 1.226.0 → 1.228.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/experimental.d.ts +23 -12
- package/dist/experimental.js +7287 -7255
- package/dist/f0.d.ts +18 -12
- package/dist/f0.js +2 -2
- package/dist/{hooks-CvdTIYxL.js → hooks-BdlfqLCM.js} +1065 -1062
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -895,7 +895,7 @@ declare type DataCollectionSourceDefinition<R extends RecordType = RecordType, F
|
|
|
895
895
|
/** Available actions that can be performed on records */
|
|
896
896
|
itemActions?: ItemActions;
|
|
897
897
|
/** Available primary actions that can be performed on the collection */
|
|
898
|
-
primaryActions?:
|
|
898
|
+
primaryActions?: PrimaryActionsDefinitionFn;
|
|
899
899
|
/** Available secondary actions that can be performed on the collection */
|
|
900
900
|
secondaryActions?: SecondaryActionsDefinition;
|
|
901
901
|
/** Available summaries fields. If not provided, summaries is not allowed. */
|
|
@@ -905,7 +905,11 @@ declare type DataCollectionSourceDefinition<R extends RecordType = RecordType, F
|
|
|
905
905
|
dataAdapter: DataCollectionDataAdapter<R, Filters, NavigationFilters>;
|
|
906
906
|
/** Bulk actions that can be performed on the collection */
|
|
907
907
|
bulkActions?: BulkActionsDefinition<R, Filters>;
|
|
908
|
-
|
|
908
|
+
/** Total items summary that can be displayed on the collection
|
|
909
|
+
* If true, the total items summary will be displayed on the collection
|
|
910
|
+
* If a function is provided, the total items summary will be displayed on the collection
|
|
911
|
+
*/
|
|
912
|
+
totalItemSummary?: boolean | ((totalItems: number) => string | null);
|
|
909
913
|
/** Item filter that can be used to filter the items before they are displayed */
|
|
910
914
|
itemPreFilter?: (item: R) => boolean;
|
|
911
915
|
/** Lanes configuration */
|
|
@@ -2360,11 +2364,13 @@ declare type PrevNextDateNavigation = {
|
|
|
2360
2364
|
next: DateRange | false;
|
|
2361
2365
|
};
|
|
2362
2366
|
|
|
2367
|
+
declare type PrimaryActionsDefinition = Pick<DropdownItemObject, "onClick" | "label" | "icon">;
|
|
2368
|
+
|
|
2363
2369
|
/**
|
|
2364
2370
|
* Defines the structure and configuration of the primary action that can be performed on a collection.
|
|
2365
2371
|
* @returns An action
|
|
2366
2372
|
*/
|
|
2367
|
-
declare type
|
|
2373
|
+
declare type PrimaryActionsDefinitionFn = () => PrimaryActionsDefinition | PrimaryActionsDefinition[] | undefined;
|
|
2368
2374
|
|
|
2369
2375
|
export declare const PrivacyModeProvider: React_2.FC<{
|
|
2370
2376
|
initiallyEnabled?: boolean;
|
|
@@ -3382,8 +3388,8 @@ declare module "@tiptap/core" {
|
|
|
3382
3388
|
|
|
3383
3389
|
declare module "@tiptap/core" {
|
|
3384
3390
|
interface Commands<ReturnType> {
|
|
3385
|
-
|
|
3386
|
-
|
|
3391
|
+
transcript: {
|
|
3392
|
+
insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
|
|
3387
3393
|
};
|
|
3388
3394
|
}
|
|
3389
3395
|
}
|
|
@@ -3391,13 +3397,18 @@ declare module "@tiptap/core" {
|
|
|
3391
3397
|
|
|
3392
3398
|
declare module "@tiptap/core" {
|
|
3393
3399
|
interface Commands<ReturnType> {
|
|
3394
|
-
|
|
3395
|
-
|
|
3400
|
+
liveCompanion: {
|
|
3401
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
3396
3402
|
};
|
|
3397
3403
|
}
|
|
3398
3404
|
}
|
|
3399
3405
|
|
|
3400
3406
|
|
|
3407
|
+
declare namespace Calendar {
|
|
3408
|
+
var displayName: string;
|
|
3409
|
+
}
|
|
3410
|
+
|
|
3411
|
+
|
|
3401
3412
|
declare module "@tiptap/core" {
|
|
3402
3413
|
interface Commands<ReturnType> {
|
|
3403
3414
|
moodTracker: {
|
|
@@ -3405,8 +3416,3 @@ declare module "@tiptap/core" {
|
|
|
3405
3416
|
};
|
|
3406
3417
|
}
|
|
3407
3418
|
}
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
declare namespace Calendar {
|
|
3411
|
-
var displayName: string;
|
|
3412
|
-
}
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as g, L as pe, c as ge, P as G, a as b, f as ve, b as be, A as xe, B as Ce, d as ye, e as we, g as Ne, V as Le, h as M, i as H, j as U, k as Pe, l as W, S as J, m as Y, n as Se, O as Fe, o as X, p as De, q as ke, F as K, r as Me, s as Te, t as Ie, D as Re, u as Be, v as Oe, w as $e, x as Q, y as w, U as Z, z as Ee, E as _e, G as z, H as je, I as ee, J as ze, K as Ve, M as Ae, N as qe, Q as Ge, R as He, X as Ue, T as We, W as Je, Y as Ye, Z as Xe, _ as Ke } from "./hooks-
|
|
2
|
-
import { az as Ja, $ as Ya, aB as Xa, aK as Ka, a0 as Qa, a1 as Za, a2 as er, a3 as ar, a4 as rr, a5 as sr, a6 as tr, a7 as lr, a9 as or, aa as nr, ab as ir, ac as dr, aG as cr, ae as ur, af as fr, ag as mr, ah as hr, ak as pr, al as gr, am as vr, an as br, ap as xr, ad as Cr, ao as yr, aj as wr, aH as Nr, aA as Lr, au as Pr, ax as Sr, at as Fr, aL as Dr, as as kr, ar as Mr, a8 as Tr, ai as Ir, aq as Rr, av as Br, aC as Or, aD as $r, aE as Er, aM as _r, aw as jr, aF as zr, aJ as Vr, ay as Ar, aI as qr } from "./hooks-
|
|
1
|
+
import { C as g, L as pe, c as ge, P as G, a as b, f as ve, b as be, A as xe, B as Ce, d as ye, e as we, g as Ne, V as Le, h as M, i as H, j as U, k as Pe, l as W, S as J, m as Y, n as Se, O as Fe, o as X, p as De, q as ke, F as K, r as Me, s as Te, t as Ie, D as Re, u as Be, v as Oe, w as $e, x as Q, y as w, U as Z, z as Ee, E as _e, G as z, H as je, I as ee, J as ze, K as Ve, M as Ae, N as qe, Q as Ge, R as He, X as Ue, T as We, W as Je, Y as Ye, Z as Xe, _ as Ke } from "./hooks-BdlfqLCM.js";
|
|
2
|
+
import { az as Ja, $ as Ya, aB as Xa, aK as Ka, a0 as Qa, a1 as Za, a2 as er, a3 as ar, a4 as rr, a5 as sr, a6 as tr, a7 as lr, a9 as or, aa as nr, ab as ir, ac as dr, aG as cr, ae as ur, af as fr, ag as mr, ah as hr, ak as pr, al as gr, am as vr, an as br, ap as xr, ad as Cr, ao as yr, aj as wr, aH as Nr, aA as Lr, au as Pr, ax as Sr, at as Fr, aL as Dr, as as kr, ar as Mr, a8 as Tr, ai as Ir, aq as Rr, av as Br, aC as Or, aD as $r, aE as Er, aM as _r, aw as jr, aF as zr, aJ as Vr, ay as Ar, aI as qr } from "./hooks-BdlfqLCM.js";
|
|
3
3
|
import { jsx as e, jsxs as c, Fragment as $ } from "react/jsx-runtime";
|
|
4
4
|
import * as E from "react";
|
|
5
5
|
import Qe, { useState as v, forwardRef as I, useRef as ae, useImperativeHandle as Ze, Children as ea, useEffect as re, createContext as aa } from "react";
|