@factorialco/f0-react 3.2.7 → 3.4.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/ai.d.ts +7 -7
- package/dist/ai.js +1 -1
- package/dist/experimental.d.ts +9 -12
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +9 -12
- package/dist/f0.js +4 -4
- package/dist/i18n-provider-defaults.d.ts +7 -7
- package/dist/styles.css +1 -1
- package/dist/{useChatHistory-g8vzWwzv.js → useChatHistory-B1eNZ2Ls.js} +718 -700
- package/dist/{useDataCollectionSource-Cox3EYnv.js → useDataCollectionSource-DLVkc-E-.js} +1612 -1610
- package/icons/app/HeadcountPlanning.d.ts +4 -0
- package/icons/app/HeadcountPlanning.d.ts.map +1 -0
- package/icons/app/HeadcountPlanning.js +5 -0
- package/icons/app/QuestionCircle.d.ts +4 -0
- package/icons/app/QuestionCircle.d.ts.map +1 -0
- package/icons/app/QuestionCircle.js +5 -0
- package/icons/app/index.d.ts +1 -0
- package/icons/app/index.d.ts.map +1 -1
- package/icons/app/index.js +1 -0
- package/icons/modules/HeadcountPlanning.d.ts +4 -0
- package/icons/modules/HeadcountPlanning.d.ts.map +1 -0
- package/icons/modules/HeadcountPlanning.js +5 -0
- package/icons/modules/index.d.ts +1 -0
- package/icons/modules/index.d.ts.map +1 -1
- package/icons/modules/index.js +1 -0
- package/package.json +2 -2
package/dist/ai.d.ts
CHANGED
|
@@ -4730,8 +4730,11 @@ declare module "@tiptap/core" {
|
|
|
4730
4730
|
|
|
4731
4731
|
declare module "@tiptap/core" {
|
|
4732
4732
|
interface Commands<ReturnType> {
|
|
4733
|
-
|
|
4734
|
-
|
|
4733
|
+
enhanceHighlight: {
|
|
4734
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
4735
|
+
placeholder?: string;
|
|
4736
|
+
}) => ReturnType;
|
|
4737
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
4735
4738
|
};
|
|
4736
4739
|
}
|
|
4737
4740
|
}
|
|
@@ -4739,11 +4742,8 @@ declare module "@tiptap/core" {
|
|
|
4739
4742
|
|
|
4740
4743
|
declare module "@tiptap/core" {
|
|
4741
4744
|
interface Commands<ReturnType> {
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
placeholder?: string;
|
|
4745
|
-
}) => ReturnType;
|
|
4746
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
4745
|
+
moodTracker: {
|
|
4746
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
4747
4747
|
};
|
|
4748
4748
|
}
|
|
4749
4749
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as e, D as r, c as t, F as o, a as i, f as n, g as F, d as C, e as A, I as l, P as d, b as u, u as m } from "./F0CanvasPanel-Cq4Hljwy.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as P, s as v, t as f, w as g, l as p, i as T, q as y, x as S, p as x, r as H, j as V, e as b, g as k, k as w, F as M, h as O, a as D, n as j, m as q, o as z, b as B, f as E, v as L, c as R, d as G, u as J } from "./useChatHistory-
|
|
3
|
+
import { A as P, s as v, t as f, w as g, l as p, i as T, q as y, x as S, p as x, r as H, j as V, e as b, g as k, k as w, F as M, h as O, a as D, n as j, m as q, o as z, b as B, f as E, v as L, c as R, d as G, u as J } from "./useChatHistory-B1eNZ2Ls.js";
|
|
4
4
|
export {
|
|
5
5
|
P as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -7532,7 +7532,7 @@ declare type RecordPathValue<T, P extends string> = P extends keyof T ? T[P] : P
|
|
|
7532
7532
|
*/
|
|
7533
7533
|
export declare type RecordType = Record<string, unknown>;
|
|
7534
7534
|
|
|
7535
|
-
declare type ReferenceType = "none" | "striped";
|
|
7535
|
+
declare type ReferenceType = "none" | "striped" | "striked";
|
|
7536
7536
|
|
|
7537
7537
|
/**
|
|
7538
7538
|
* A numeric value that can be formatted with an optional formatter and options.
|
|
@@ -8208,10 +8208,7 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
|
|
|
8208
8208
|
* Allow users to hide columns (you can define especifcally non hiddable columns in col props, also frozen columns are not hiddable)
|
|
8209
8209
|
*/
|
|
8210
8210
|
allowColumnHiding?: boolean;
|
|
8211
|
-
/**
|
|
8212
|
-
* Marks one or more rows as reference rows.
|
|
8213
|
-
* Reference rows are rendered with a slanted background pattern across the full row.
|
|
8214
|
-
*/
|
|
8211
|
+
/** Maps a row to a visual variant: `"striped"`, `"striked"`, or `"none"`. */
|
|
8215
8212
|
referenceRowType?: (item: R) => ReferenceType;
|
|
8216
8213
|
/**
|
|
8217
8214
|
* Labels for header groups. Keys are headerGroupId values used in column
|
|
@@ -9355,8 +9352,11 @@ declare module "@tiptap/core" {
|
|
|
9355
9352
|
|
|
9356
9353
|
declare module "@tiptap/core" {
|
|
9357
9354
|
interface Commands<ReturnType> {
|
|
9358
|
-
|
|
9359
|
-
|
|
9355
|
+
enhanceHighlight: {
|
|
9356
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
9357
|
+
placeholder?: string;
|
|
9358
|
+
}) => ReturnType;
|
|
9359
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
9360
9360
|
};
|
|
9361
9361
|
}
|
|
9362
9362
|
}
|
|
@@ -9364,11 +9364,8 @@ declare module "@tiptap/core" {
|
|
|
9364
9364
|
|
|
9365
9365
|
declare module "@tiptap/core" {
|
|
9366
9366
|
interface Commands<ReturnType> {
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
placeholder?: string;
|
|
9370
|
-
}) => ReturnType;
|
|
9371
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
9367
|
+
moodTracker: {
|
|
9368
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
9372
9369
|
};
|
|
9373
9370
|
}
|
|
9374
9371
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -2,8 +2,8 @@ import { h as ga, B as pa, i as ba, j as xa, k as Dt, l as Be, m as Te, n as va,
|
|
|
2
2
|
import { c1 as Kc, c0 as qc, cd as Yc, bZ as Jc, b_ as Zc, bS as Xc, cg as Qc, bT as ed, bU as td, ch as nd, b$ as ad, c9 as rd, ca as id, ce as ld, bV as sd, c3 as od, c2 as cd, bW as dd, bX as ud, cb as fd, ci as md, cc as hd, cf as gd, c8 as pd, c5 as bd, c7 as xd, c4 as vd, bY as yd, c6 as wd } from "./F0CanvasPanel-Cq4Hljwy.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as Z } from "react/jsx-runtime";
|
|
4
4
|
import ue, { forwardRef as G, useRef as j, useTransition as ni, useState as D, useLayoutEffect as Tn, useId as pt, useContext as Pe, createContext as Qe, useEffect as W, useCallback as ne, useMemo as q, Fragment as ai, isValidElement as ri, cloneElement as zn, Children as Rn } from "react";
|
|
5
|
-
import { C as ii, P as li, a as Bn, M as si, p as oi, b as ci, R as Mt, c as $n, u as di, d as ui, e as fi, f as mi, g as hi, h as Mn, S as gi, A as pi, B as bi, L as xi, i as vi, V as yi, j as wi, k as Ni, l as Ci, O as Ii } from "./useDataCollectionSource-
|
|
6
|
-
import { r as Cd, s as Id, o as kd, H as Sd, t as Fd, z as Ad, a8 as Ld, G as Od, q as Pd, aa as Ed, a9 as _d, Q as Dd, ad as Td, F as zd, Y as Rd, U as Bd, J as $d, af as Md, K as Wd, Z as jd, _ as Vd, v as Ud, ab as Hd, ac as Gd, N as Kd, $ as qd, a5 as Yd, a7 as Jd, w as Zd, y as Xd, D as Qd, W as eu, ae as tu, X as nu, T as au, ag as ru, x as iu, E as lu, m as su, n as ou, a1 as cu, a2 as du, a6 as uu, I as fu, a3 as mu, a0 as hu, a4 as gu } from "./useDataCollectionSource-
|
|
5
|
+
import { C as ii, P as li, a as Bn, M as si, p as oi, b as ci, R as Mt, c as $n, u as di, d as ui, e as fi, f as mi, g as hi, h as Mn, S as gi, A as pi, B as bi, L as xi, i as vi, V as yi, j as wi, k as Ni, l as Ci, O as Ii } from "./useDataCollectionSource-DLVkc-E-.js";
|
|
6
|
+
import { r as Cd, s as Id, o as kd, H as Sd, t as Fd, z as Ad, a8 as Ld, G as Od, q as Pd, aa as Ed, a9 as _d, Q as Dd, ad as Td, F as zd, Y as Rd, U as Bd, J as $d, af as Md, K as Wd, Z as jd, _ as Vd, v as Ud, ab as Hd, ac as Gd, N as Kd, $ as qd, a5 as Yd, a7 as Jd, w as Zd, y as Xd, D as Qd, W as eu, ae as tu, X as nu, T as au, ag as ru, x as iu, E as lu, m as su, n as ou, a1 as cu, a2 as du, a6 as uu, I as fu, a3 as mu, a0 as hu, a4 as gu } from "./useDataCollectionSource-DLVkc-E-.js";
|
|
7
7
|
const ki = ga("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
|
@@ -13777,7 +13777,7 @@ declare type RecordPathValue<T, P extends string> = P extends keyof T ? T[P] : P
|
|
|
13777
13777
|
*/
|
|
13778
13778
|
export declare type RecordType = Record<string, unknown>;
|
|
13779
13779
|
|
|
13780
|
-
declare type ReferenceType = "none" | "striped";
|
|
13780
|
+
declare type ReferenceType = "none" | "striped" | "striked";
|
|
13781
13781
|
|
|
13782
13782
|
declare type RegularAction = BaseAction & {
|
|
13783
13783
|
type: "regular";
|
|
@@ -14756,10 +14756,7 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
|
|
|
14756
14756
|
* Allow users to hide columns (you can define especifcally non hiddable columns in col props, also frozen columns are not hiddable)
|
|
14757
14757
|
*/
|
|
14758
14758
|
allowColumnHiding?: boolean;
|
|
14759
|
-
/**
|
|
14760
|
-
* Marks one or more rows as reference rows.
|
|
14761
|
-
* Reference rows are rendered with a slanted background pattern across the full row.
|
|
14762
|
-
*/
|
|
14759
|
+
/** Maps a row to a visual variant: `"striped"`, `"striked"`, or `"none"`. */
|
|
14763
14760
|
referenceRowType?: (item: R) => ReferenceType;
|
|
14764
14761
|
/**
|
|
14765
14762
|
* Labels for header groups. Keys are headerGroupId values used in column
|
|
@@ -16431,8 +16428,11 @@ declare module "@tiptap/core" {
|
|
|
16431
16428
|
|
|
16432
16429
|
declare module "@tiptap/core" {
|
|
16433
16430
|
interface Commands<ReturnType> {
|
|
16434
|
-
|
|
16435
|
-
|
|
16431
|
+
enhanceHighlight: {
|
|
16432
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
16433
|
+
placeholder?: string;
|
|
16434
|
+
}) => ReturnType;
|
|
16435
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
16436
16436
|
};
|
|
16437
16437
|
}
|
|
16438
16438
|
}
|
|
@@ -16440,11 +16440,8 @@ declare module "@tiptap/core" {
|
|
|
16440
16440
|
|
|
16441
16441
|
declare module "@tiptap/core" {
|
|
16442
16442
|
interface Commands<ReturnType> {
|
|
16443
|
-
|
|
16444
|
-
|
|
16445
|
-
placeholder?: string;
|
|
16446
|
-
}) => ReturnType;
|
|
16447
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
16443
|
+
moodTracker: {
|
|
16444
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
16448
16445
|
};
|
|
16449
16446
|
}
|
|
16450
16447
|
}
|
package/dist/f0.js
CHANGED
|
@@ -3,11 +3,11 @@ import { hB as mpe, C as ype, D as bpe, aQ as _pe, c as xpe, F as wpe, a as Spe,
|
|
|
3
3
|
import { jsx as S, jsxs as z, Fragment as st } from "react/jsx-runtime";
|
|
4
4
|
import * as St from "react";
|
|
5
5
|
import _t, { forwardRef as Pr, useRef as fe, useImperativeHandle as _3, Children as ov, createContext as Or, useContext as fr, useState as ce, useMemo as se, useEffect as ge, useCallback as le, useLayoutEffect as q0, isValidElement as l2, Fragment as Wp, memo as u2, useReducer as x3, cloneElement as w3, useId as Ic, useSyncExternalStore as YS } from "react";
|
|
6
|
-
import { T as c2, y as S3, z as C3, B as T3, C as D3, D as f2, E as sv, G as Bx, H as d2, I as h2, J as v2, K as A3, L as M3, M as E3, N as L3, O as N3, F as I3 } from "./useChatHistory-
|
|
7
|
-
import { A as Uge, s as Yge, t as Xge, w as qge, l as Zge, i as jge, q as Kge, x as Qge, p as Jge, r as eme, j as tme, e as rme, P as nme, g as ime, k as ame, h as ome, a as sme, n as lme, m as ume, o as cme, b as fme, f as dme, v as hme, c as vme, d as pme, u as gme } from "./useChatHistory-
|
|
6
|
+
import { T as c2, y as S3, z as C3, B as T3, C as D3, D as f2, E as sv, G as Bx, H as d2, I as h2, J as v2, K as A3, L as M3, M as E3, N as L3, O as N3, F as I3 } from "./useChatHistory-B1eNZ2Ls.js";
|
|
7
|
+
import { A as Uge, s as Yge, t as Xge, w as qge, l as Zge, i as jge, q as Kge, x as Qge, p as Jge, r as eme, j as tme, e as rme, P as nme, g as ime, k as ame, h as ome, a as sme, n as lme, m as ume, o as cme, b as fme, f as dme, v as hme, c as vme, d as pme, u as gme } from "./useChatHistory-B1eNZ2Ls.js";
|
|
8
8
|
import { createPortal as zx, unstable_batchedUpdates as ud } from "react-dom";
|
|
9
|
-
import { C as R3, F as k3, ah as p2, ai as P3, aj as O3, ak as B3, al as Vx, am as Fx, G as z3, an as V3, Y as F3, a8 as G3, ao as H3, Q as W3, ap as $3, aq as U3, c as $p, ar as zf, R as Gx, u as Hx, W as g2, O as Wx, as as m2, at as XS, au as $x, o as Y3, d as y2, $ as b2, av as X3, aw as q3, ax as Z3, ay as j3, az as K3, M as Q3 } from "./useDataCollectionSource-
|
|
10
|
-
import { r as yme, s as bme, H as _me, t as xme, z as wme, aQ as Sme, aP as Cme, aL as Tme, aB as Dme, aA as Ame, aC as Mme, aD as Eme, aa as Lme, a9 as Nme, ad as Ime, U as Rme, J as kme, af as Pme, K as Ome, v as Bme, aR as zme, ab as Vme, ac as Fme, N as Gme, w as Hme, P as Wme, y as $me, D as Ume, ae as Yme, T as Xme, ag as qme, x as Zme, E as jme, aT as Kme, m as Qme, n as Jme, aK as eye, aG as tye, aF as rye, aS as nye, a6 as iye, aI as aye, aJ as oye, I as sye, aU as lye, aV as uye, e as cye, aM as fye, aN as dye, aO as hye, aH as vye, f as pye, h as gye, aE as mye, aW as yye } from "./useDataCollectionSource-
|
|
9
|
+
import { C as R3, F as k3, ah as p2, ai as P3, aj as O3, ak as B3, al as Vx, am as Fx, G as z3, an as V3, Y as F3, a8 as G3, ao as H3, Q as W3, ap as $3, aq as U3, c as $p, ar as zf, R as Gx, u as Hx, W as g2, O as Wx, as as m2, at as XS, au as $x, o as Y3, d as y2, $ as b2, av as X3, aw as q3, ax as Z3, ay as j3, az as K3, M as Q3 } from "./useDataCollectionSource-DLVkc-E-.js";
|
|
10
|
+
import { r as yme, s as bme, H as _me, t as xme, z as wme, aQ as Sme, aP as Cme, aL as Tme, aB as Dme, aA as Ame, aC as Mme, aD as Eme, aa as Lme, a9 as Nme, ad as Ime, U as Rme, J as kme, af as Pme, K as Ome, v as Bme, aR as zme, ab as Vme, ac as Fme, N as Gme, w as Hme, P as Wme, y as $me, D as Ume, ae as Yme, T as Xme, ag as qme, x as Zme, E as jme, aT as Kme, m as Qme, n as Jme, aK as eye, aG as tye, aF as rye, aS as nye, a6 as iye, aI as aye, aJ as oye, I as sye, aU as lye, aV as uye, e as cye, aM as fye, aN as dye, aO as hye, aH as vye, f as pye, h as gye, aE as mye, aW as yye } from "./useDataCollectionSource-DLVkc-E-.js";
|
|
11
11
|
import { utils as Nl, write as _2 } from "./xlsx-Bedf3nwD.js";
|
|
12
12
|
import { defaultTranslations as _ye } from "./i18n-provider-defaults.js";
|
|
13
13
|
import './f0.css';const J3 = {
|
|
@@ -886,8 +886,11 @@ declare module "@tiptap/core" {
|
|
|
886
886
|
|
|
887
887
|
declare module "@tiptap/core" {
|
|
888
888
|
interface Commands<ReturnType> {
|
|
889
|
-
|
|
890
|
-
|
|
889
|
+
enhanceHighlight: {
|
|
890
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
891
|
+
placeholder?: string;
|
|
892
|
+
}) => ReturnType;
|
|
893
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
891
894
|
};
|
|
892
895
|
}
|
|
893
896
|
}
|
|
@@ -895,11 +898,8 @@ declare module "@tiptap/core" {
|
|
|
895
898
|
|
|
896
899
|
declare module "@tiptap/core" {
|
|
897
900
|
interface Commands<ReturnType> {
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
placeholder?: string;
|
|
901
|
-
}) => ReturnType;
|
|
902
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
901
|
+
moodTracker: {
|
|
902
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
903
903
|
};
|
|
904
904
|
}
|
|
905
905
|
}
|