@factorialco/f0-react 1.372.1 → 1.373.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/{DataCollectionStorageProvider-P3r2oy3e.js → DataCollectionStorageProvider-DsIsHlyK.js} +10744 -10503
- package/dist/{F0AiChat-CDAHnaiX.js → F0AiChat-BOxDZ--K.js} +23196 -23231
- package/dist/{F0HILActionConfirmation-DK9urnzZ.js → F0HILActionConfirmation-DFMiZgbK.js} +1 -1
- package/dist/ai.d.ts +6 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +27 -6
- package/dist/experimental.js +5013 -5009
- package/dist/f0.d.ts +40 -8
- package/dist/f0.js +917 -917
- package/dist/i18n-provider-defaults.d.ts +6 -5
- package/dist/i18n-provider-defaults.js +2 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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-BOxDZ--K.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
|
@@ -399,6 +399,7 @@ export declare const defaultTranslations: {
|
|
|
399
399
|
readonly selectAllItems: "Select all {{total}} items";
|
|
400
400
|
readonly allItemsSelected: "All {{total}} items selected";
|
|
401
401
|
};
|
|
402
|
+
readonly noItemsSelected: "No items selected";
|
|
402
403
|
};
|
|
403
404
|
readonly filters: {
|
|
404
405
|
readonly searchPlaceholder: "Search filters...";
|
|
@@ -1195,6 +1196,11 @@ declare module "gridstack" {
|
|
|
1195
1196
|
}
|
|
1196
1197
|
|
|
1197
1198
|
|
|
1199
|
+
declare namespace Calendar {
|
|
1200
|
+
var displayName: string;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
|
|
1198
1204
|
declare module "@tiptap/core" {
|
|
1199
1205
|
interface Commands<ReturnType> {
|
|
1200
1206
|
aiBlock: {
|
|
@@ -1242,8 +1248,3 @@ declare module "@tiptap/core" {
|
|
|
1242
1248
|
};
|
|
1243
1249
|
}
|
|
1244
1250
|
}
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
declare namespace Calendar {
|
|
1248
|
-
var displayName: string;
|
|
1249
|
-
}
|
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-
|
|
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-BOxDZ--K.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-
|
|
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-DFMiZgbK.js";
|
|
4
4
|
export {
|
|
5
5
|
e as A,
|
|
6
6
|
y as AiChatTranslationsProvider,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -2329,6 +2329,7 @@ declare const defaultTranslations: {
|
|
|
2329
2329
|
readonly selectAllItems: "Select all {{total}} items";
|
|
2330
2330
|
readonly allItemsSelected: "All {{total}} items selected";
|
|
2331
2331
|
};
|
|
2332
|
+
readonly noItemsSelected: "No items selected";
|
|
2332
2333
|
};
|
|
2333
2334
|
readonly filters: {
|
|
2334
2335
|
readonly searchPlaceholder: "Search filters...";
|
|
@@ -3229,6 +3230,12 @@ declare type F0SelectBaseProps<T extends string, R = unknown> = {
|
|
|
3229
3230
|
* Only displays the dropdown content with max height, border and scroll.
|
|
3230
3231
|
*/
|
|
3231
3232
|
asList?: boolean;
|
|
3233
|
+
/**
|
|
3234
|
+
* When true, shows a selection preview panel on the right side of the dropdown
|
|
3235
|
+
* for multi-select mode. When false and filters are present, filters use compact mode.
|
|
3236
|
+
* @default false
|
|
3237
|
+
*/
|
|
3238
|
+
showPreview?: boolean;
|
|
3232
3239
|
};
|
|
3233
3240
|
|
|
3234
3241
|
declare type F0SelectItemObject<T, R = unknown> = {
|
|
@@ -3472,7 +3479,7 @@ export declare type FilterOptions<FilterKeys extends string> = Record<FilterKeys
|
|
|
3472
3479
|
*/
|
|
3473
3480
|
export declare type FiltersDefinition<Keys extends string = string> = Record<Keys, FilterDefinition>;
|
|
3474
3481
|
|
|
3475
|
-
export declare type FiltersMode = "default" | "compact" | "simple";
|
|
3482
|
+
export declare type FiltersMode = "default" | "compact" | "simple" | "inline";
|
|
3476
3483
|
|
|
3477
3484
|
/**
|
|
3478
3485
|
* Current state of all filters in a collection.
|
|
@@ -3487,6 +3494,8 @@ export declare type FiltersState<Definition extends Record<string, FilterDefinit
|
|
|
3487
3494
|
declare type FilterTypeContext<Options extends object = never> = {
|
|
3488
3495
|
schema: FilterTypeSchema<Options>;
|
|
3489
3496
|
i18n: I18nContextType;
|
|
3497
|
+
/** The key of this filter in the FiltersDefinition (passed to chipLabel for nested label lookups) */
|
|
3498
|
+
filterKey?: string;
|
|
3490
3499
|
};
|
|
3491
3500
|
|
|
3492
3501
|
declare type FilterTypeDefinition<Value = unknown, Options extends object = never, EmptyValue = Value, OptionalOptions extends boolean = false> = {
|
|
@@ -3499,6 +3508,8 @@ declare type FilterTypeDefinition<Value = unknown, Options extends object = neve
|
|
|
3499
3508
|
value: Value;
|
|
3500
3509
|
onChange: (value: Value) => void;
|
|
3501
3510
|
isCompactMode?: boolean;
|
|
3511
|
+
onFilterChange?: (key: string, value: unknown) => void;
|
|
3512
|
+
allFiltersValue?: Record<string, unknown>;
|
|
3502
3513
|
}) => React.ReactNode;
|
|
3503
3514
|
/**
|
|
3504
3515
|
* The value label to display in the filter chips
|
|
@@ -3833,6 +3844,16 @@ declare type InFilterOptionItem<T = unknown> = {
|
|
|
3833
3844
|
value: T;
|
|
3834
3845
|
/** Human-readable label for the option */
|
|
3835
3846
|
label: string;
|
|
3847
|
+
/**
|
|
3848
|
+
* Nested children that belong to a different filter key.
|
|
3849
|
+
* Enables hierarchical filtering (e.g., office -> space -> desk).
|
|
3850
|
+
*/
|
|
3851
|
+
children?: {
|
|
3852
|
+
/** The filter key where child selections are stored in FiltersState */
|
|
3853
|
+
filterKey: string;
|
|
3854
|
+
/** Child options, which can themselves have children for infinite nesting */
|
|
3855
|
+
options: Array<InFilterOptionItem<T>>;
|
|
3856
|
+
};
|
|
3836
3857
|
};
|
|
3837
3858
|
|
|
3838
3859
|
/**
|
|
@@ -6679,6 +6700,11 @@ declare module "gridstack" {
|
|
|
6679
6700
|
}
|
|
6680
6701
|
|
|
6681
6702
|
|
|
6703
|
+
declare namespace Calendar {
|
|
6704
|
+
var displayName: string;
|
|
6705
|
+
}
|
|
6706
|
+
|
|
6707
|
+
|
|
6682
6708
|
declare module "@tiptap/core" {
|
|
6683
6709
|
interface Commands<ReturnType> {
|
|
6684
6710
|
aiBlock: {
|
|
@@ -6726,8 +6752,3 @@ declare module "@tiptap/core" {
|
|
|
6726
6752
|
};
|
|
6727
6753
|
}
|
|
6728
6754
|
}
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
declare namespace Calendar {
|
|
6732
|
-
var displayName: string;
|
|
6733
|
-
}
|