@factorialco/f0-react 4.30.0 → 4.30.1
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/experimental.d.ts +7 -7
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +7 -7
- package/dist/f0.js +2 -2
- package/dist/i18n-provider-defaults.d.ts +7 -7
- package/dist/{useDataCollectionSource-BPqFLrNN.js → useDataCollectionSource-DIyckyBZ.js} +25 -22
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -5071,11 +5071,8 @@ declare module "@tiptap/core" {
|
|
|
5071
5071
|
|
|
5072
5072
|
declare module "@tiptap/core" {
|
|
5073
5073
|
interface Commands<ReturnType> {
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
placeholder?: string;
|
|
5077
|
-
}) => ReturnType;
|
|
5078
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
5074
|
+
moodTracker: {
|
|
5075
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
5079
5076
|
};
|
|
5080
5077
|
}
|
|
5081
5078
|
}
|
|
@@ -5083,8 +5080,11 @@ declare module "@tiptap/core" {
|
|
|
5083
5080
|
|
|
5084
5081
|
declare module "@tiptap/core" {
|
|
5085
5082
|
interface Commands<ReturnType> {
|
|
5086
|
-
|
|
5087
|
-
|
|
5083
|
+
enhanceHighlight: {
|
|
5084
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
5085
|
+
placeholder?: string;
|
|
5086
|
+
}) => ReturnType;
|
|
5087
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
5088
5088
|
};
|
|
5089
5089
|
}
|
|
5090
5090
|
}
|
package/dist/experimental.d.ts
CHANGED
|
@@ -10735,11 +10735,8 @@ declare module "@tiptap/core" {
|
|
|
10735
10735
|
|
|
10736
10736
|
declare module "@tiptap/core" {
|
|
10737
10737
|
interface Commands<ReturnType> {
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
placeholder?: string;
|
|
10741
|
-
}) => ReturnType;
|
|
10742
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
10738
|
+
moodTracker: {
|
|
10739
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
10743
10740
|
};
|
|
10744
10741
|
}
|
|
10745
10742
|
}
|
|
@@ -10747,8 +10744,11 @@ declare module "@tiptap/core" {
|
|
|
10747
10744
|
|
|
10748
10745
|
declare module "@tiptap/core" {
|
|
10749
10746
|
interface Commands<ReturnType> {
|
|
10750
|
-
|
|
10751
|
-
|
|
10747
|
+
enhanceHighlight: {
|
|
10748
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
10749
|
+
placeholder?: string;
|
|
10750
|
+
}) => ReturnType;
|
|
10751
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
10752
10752
|
};
|
|
10753
10753
|
}
|
|
10754
10754
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -2,8 +2,8 @@ import { h as Va, B as Ga, i as Ka, j as qa, k as wn, l as lt, m as tt, n as Ya,
|
|
|
2
2
|
import { cD as vm, cC as ym, cP as wm, cz as Nm, cA as Cm, cs as km, ct as Im, ct as Sm, cu as Fm, cS as Tm, cB as Am, cL as Em, cM as Rm, cQ as Dm, cv as Pm, cF as Lm, cE as Om, cw as _m, cx as zm, cN as $m, cT as Bm, cO as Mm, cR as jm, cK as Wm, cH as Hm, cJ as Um, cG as Vm, cy as Gm, cI as Km } from "./F0CanvasPanel-3Hpwq8Sa.js";
|
|
3
3
|
import { jsx as t, jsxs as d, Fragment as fe } from "react/jsx-runtime";
|
|
4
4
|
import Te, { forwardRef as de, useRef as z, useTransition as Qi, useState as R, useLayoutEffect as Je, useId as Qt, useContext as Le, createContext as Ie, useEffect as K, useCallback as U, useMemo as J, Fragment as qe, isValidElement as Ji, cloneElement as jr, memo as Wr, Children as Hr } from "react";
|
|
5
|
-
import { C as Xi, P as Zi, a as it, M as eo, p as to, b as no, R as Fn, c as Ur, u as ro, d as ao, e as so, f as io, g as oo, O as Vr, h as Gr, S as lo, A as co, B as uo, L as fo, i as mo, V as ho, j as po, k as go, l as bo } from "./useDataCollectionSource-
|
|
6
|
-
import { r as Ym, s as Qm, o as Jm, H as Xm, t as Zm, z as eh, a8 as th, G as nh, q as rh, aa as ah, a9 as sh, Q as ih, ad as oh, F as lh, Y as ch, U as dh, J as uh, af as fh, K as mh, Z as hh, _ as ph, v as gh, ab as bh, ac as xh, N as vh, $ as yh, a5 as wh, a7 as Nh, w as Ch, y as kh, D as Ih, W as Sh, ae as Fh, X as Th, T as Ah, ag as Eh, x as Rh, E as Dh, m as Ph, n as Lh, a1 as Oh, a2 as _h, a6 as zh, I as $h, a3 as Bh, a0 as Mh, a4 as jh } from "./useDataCollectionSource-
|
|
5
|
+
import { C as Xi, P as Zi, a as it, M as eo, p as to, b as no, R as Fn, c as Ur, u as ro, d as ao, e as so, f as io, g as oo, O as Vr, h as Gr, S as lo, A as co, B as uo, L as fo, i as mo, V as ho, j as po, k as go, l as bo } from "./useDataCollectionSource-DIyckyBZ.js";
|
|
6
|
+
import { r as Ym, s as Qm, o as Jm, H as Xm, t as Zm, z as eh, a8 as th, G as nh, q as rh, aa as ah, a9 as sh, Q as ih, ad as oh, F as lh, Y as ch, U as dh, J as uh, af as fh, K as mh, Z as hh, _ as ph, v as gh, ab as bh, ac as xh, N as vh, $ as yh, a5 as wh, a7 as Nh, w as Ch, y as kh, D as Ih, W as Sh, ae as Fh, X as Th, T as Ah, ag as Eh, x as Rh, E as Dh, m as Ph, n as Lh, a1 as Oh, a2 as _h, a6 as zh, I as $h, a3 as Bh, a0 as Mh, a4 as jh } from "./useDataCollectionSource-DIyckyBZ.js";
|
|
7
7
|
const xo = Va("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
|
@@ -17694,11 +17694,8 @@ declare module "@tiptap/core" {
|
|
|
17694
17694
|
|
|
17695
17695
|
declare module "@tiptap/core" {
|
|
17696
17696
|
interface Commands<ReturnType> {
|
|
17697
|
-
|
|
17698
|
-
|
|
17699
|
-
placeholder?: string;
|
|
17700
|
-
}) => ReturnType;
|
|
17701
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
17697
|
+
moodTracker: {
|
|
17698
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
17702
17699
|
};
|
|
17703
17700
|
}
|
|
17704
17701
|
}
|
|
@@ -17706,8 +17703,11 @@ declare module "@tiptap/core" {
|
|
|
17706
17703
|
|
|
17707
17704
|
declare module "@tiptap/core" {
|
|
17708
17705
|
interface Commands<ReturnType> {
|
|
17709
|
-
|
|
17710
|
-
|
|
17706
|
+
enhanceHighlight: {
|
|
17707
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
17708
|
+
placeholder?: string;
|
|
17709
|
+
}) => ReturnType;
|
|
17710
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
17711
17711
|
};
|
|
17712
17712
|
}
|
|
17713
17713
|
}
|
package/dist/f0.js
CHANGED
|
@@ -6,8 +6,8 @@ import React__default, { forwardRef, useRef, useImperativeHandle, Children, crea
|
|
|
6
6
|
import { D as AIButton, E as ForwardRef$1, G as animate, H as ForwardRef$f, I as ForwardRef$j, J as ForwardRef$k, K as ForwardRef$o, L as ForwardRef$t, M as ForwardRef$x, N as ForwardRef$z, O as F0Box, P as ForwardRef$J, Q as ForwardRef$K, R as ForwardRef$L, S as ForwardRef$M, U as ForwardRef$N, F as FormCardValueFormatterProvider } from "./F0AiProcessingOverlay-CxHydh9y.js";
|
|
7
7
|
import { A as ta, C as ea, t as ia, s as aa, v as na, y as la, l as ra, i as sa, q as oa, z as ca, B as da, p as ua, r as ha, j as ma, e as pa, g as ba, k as Za, T as ya, w as Ma, h as Na, a as ga, n as Wa, m as Ta, o as Ga, b as fa, f as va, x as La, c as Ya, d as Xa, u as Sa } from "./F0AiProcessingOverlay-CxHydh9y.js";
|
|
8
8
|
import { createPortal, unstable_batchedUpdates } from "react-dom";
|
|
9
|
-
import { C as Carousel, F as F0SegmentedControl, ah as isFieldRequired, ai as evaluateRenderIf, aj as buildDynamicSchema, ak as renderFieldInput, al as useF0Form, am as F0Form, G as F0ActionBar, an as F0FormSection, ao as nanoid, ap as dequal, Y as F0TableOfContent, a8 as Dialog$1, aq as FormMessage, Q as F0NumberInput, ar as EmojiPicker, as as data, c as ReorderItem, R as ReorderGroup, u as useDragControls, W as ResourceHeader, O as OneEmptyState, at as UpsellRequestResponseDialog, au as Label$1, av as UpsellingButton, o as BaseBanner, d as useDataCollectionSource, $ as OneDataCollection, aw as extractDisplayValue, ax as navigationFilterTypes, ay as NavigationFilters, az as DialogDescription, aA as PrivacyModeProvider, M as MotionConfig } from "./useDataCollectionSource-
|
|
10
|
-
import { r as Va, s as Ia, H as Ra, t as wa, z as za, aR as Da, aQ as Ca, aM as ka, aC as Oa, aB as Fa, aD as ja, aE as Ea, aa as Ua, a9 as Ja, ad as Pa, U as Ka, J as Ha, af as Aa, K as Qa, v as Ba, aS as $a, ab as qa, ac as tn, N as en, w as an, P as nn, y as ln, D as rn, ae as sn, T as on, ag as dn, x as un, E as hn, aU as mn, m as pn, n as bn, aL as Zn, aH as yn, aG as Mn, aT as Nn, a6 as gn, aJ as Wn, aK as Tn, I as Gn, aV as fn, aW as vn, e as Ln, aN as Yn, aO as Xn, aP as Sn, aI as xn, f as Vn, h as In, aF as Rn, aX as wn } from "./useDataCollectionSource-
|
|
9
|
+
import { C as Carousel, F as F0SegmentedControl, ah as isFieldRequired, ai as evaluateRenderIf, aj as buildDynamicSchema, ak as renderFieldInput, al as useF0Form, am as F0Form, G as F0ActionBar, an as F0FormSection, ao as nanoid, ap as dequal, Y as F0TableOfContent, a8 as Dialog$1, aq as FormMessage, Q as F0NumberInput, ar as EmojiPicker, as as data, c as ReorderItem, R as ReorderGroup, u as useDragControls, W as ResourceHeader, O as OneEmptyState, at as UpsellRequestResponseDialog, au as Label$1, av as UpsellingButton, o as BaseBanner, d as useDataCollectionSource, $ as OneDataCollection, aw as extractDisplayValue, ax as navigationFilterTypes, ay as NavigationFilters, az as DialogDescription, aA as PrivacyModeProvider, M as MotionConfig } from "./useDataCollectionSource-DIyckyBZ.js";
|
|
10
|
+
import { r as Va, s as Ia, H as Ra, t as wa, z as za, aR as Da, aQ as Ca, aM as ka, aC as Oa, aB as Fa, aD as ja, aE as Ea, aa as Ua, a9 as Ja, ad as Pa, U as Ka, J as Ha, af as Aa, K as Qa, v as Ba, aS as $a, ab as qa, ac as tn, N as en, w as an, P as nn, y as ln, D as rn, ae as sn, T as on, ag as dn, x as un, E as hn, aU as mn, m as pn, n as bn, aL as Zn, aH as yn, aG as Mn, aT as Nn, a6 as gn, aJ as Wn, aK as Tn, I as Gn, aV as fn, aW as vn, e as Ln, aN as Yn, aO as Xn, aP as Sn, aI as xn, f as Vn, h as In, aF as Rn, aX as wn } from "./useDataCollectionSource-DIyckyBZ.js";
|
|
11
11
|
import { utils, write as writeSync } from "./xlsx-Bedf3nwD.js";
|
|
12
12
|
import { defaultTranslations as Dn } from "./i18n-provider-defaults.js";
|
|
13
13
|
import './f0.css';const CAROUSEL_COLUMNS = {
|
|
@@ -981,11 +981,8 @@ declare module "@tiptap/core" {
|
|
|
981
981
|
|
|
982
982
|
declare module "@tiptap/core" {
|
|
983
983
|
interface Commands<ReturnType> {
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
placeholder?: string;
|
|
987
|
-
}) => ReturnType;
|
|
988
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
984
|
+
moodTracker: {
|
|
985
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
989
986
|
};
|
|
990
987
|
}
|
|
991
988
|
}
|
|
@@ -993,8 +990,11 @@ declare module "@tiptap/core" {
|
|
|
993
990
|
|
|
994
991
|
declare module "@tiptap/core" {
|
|
995
992
|
interface Commands<ReturnType> {
|
|
996
|
-
|
|
997
|
-
|
|
993
|
+
enhanceHighlight: {
|
|
994
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
995
|
+
placeholder?: string;
|
|
996
|
+
}) => ReturnType;
|
|
997
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
998
998
|
};
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
@@ -56671,27 +56671,28 @@ const Ose = {
|
|
|
56671
56671
|
"not-allowed": "cursor-not-allowed"
|
|
56672
56672
|
};
|
|
56673
56673
|
function ca({
|
|
56674
|
-
|
|
56675
|
-
|
|
56676
|
-
|
|
56677
|
-
|
|
56678
|
-
|
|
56679
|
-
|
|
56680
|
-
|
|
56681
|
-
|
|
56682
|
-
|
|
56674
|
+
disabled: t = !1,
|
|
56675
|
+
readonly: e = !1,
|
|
56676
|
+
showRightBorder: n = !0,
|
|
56677
|
+
cursor: i = "text",
|
|
56678
|
+
isActive: r = !1,
|
|
56679
|
+
borderOnHover: o = !0,
|
|
56680
|
+
error: s,
|
|
56681
|
+
hint: a,
|
|
56682
|
+
hintPosition: l = "left",
|
|
56683
|
+
children: c
|
|
56683
56684
|
}) {
|
|
56684
|
-
const
|
|
56685
|
+
const d = a && !s && /* @__PURE__ */ m($0, { delayDuration: 100, children: /* @__PURE__ */ R(z0, { children: [
|
|
56685
56686
|
/* @__PURE__ */ m(B0, { asChild: !0, children: /* @__PURE__ */ m(
|
|
56686
56687
|
"button",
|
|
56687
56688
|
{
|
|
56688
56689
|
type: "button",
|
|
56689
|
-
"aria-label":
|
|
56690
|
+
"aria-label": a.message,
|
|
56690
56691
|
className: K(
|
|
56691
56692
|
"pointer-events-auto flex shrink-0 cursor-pointer items-center rounded px-1",
|
|
56692
56693
|
nn()
|
|
56693
56694
|
),
|
|
56694
|
-
children: /* @__PURE__ */ m(Ze, { icon:
|
|
56695
|
+
children: /* @__PURE__ */ m(Ze, { icon: a.icon, size: "md", color: a.iconColor })
|
|
56695
56696
|
}
|
|
56696
56697
|
) }),
|
|
56697
56698
|
/* @__PURE__ */ m(
|
|
@@ -56699,7 +56700,7 @@ function ca({
|
|
|
56699
56700
|
{
|
|
56700
56701
|
side: "top",
|
|
56701
56702
|
className: "border-black/10 max-w-64 cursor-default text-f1-foreground shadow-md",
|
|
56702
|
-
children: /* @__PURE__ */ m("span", { className: "text-sm font-medium text-f1-foreground", children:
|
|
56703
|
+
children: /* @__PURE__ */ m("span", { className: "text-sm font-medium text-f1-foreground", children: a.message })
|
|
56703
56704
|
}
|
|
56704
56705
|
)
|
|
56705
56706
|
] }) });
|
|
@@ -56709,15 +56710,16 @@ function ca({
|
|
|
56709
56710
|
className: K(
|
|
56710
56711
|
"flex w-full h-full min-w-0 min-h-12 border-solid",
|
|
56711
56712
|
"border-0 border-r-[1px] border-f1-border-secondary",
|
|
56712
|
-
!
|
|
56713
|
-
Ose[
|
|
56714
|
-
|
|
56715
|
-
|
|
56713
|
+
!n && "border-r-0",
|
|
56714
|
+
Ose[i],
|
|
56715
|
+
s ? "relative z-[1] border-r-0 bg-f1-background-critical/10 shadow-[inset_0_0_0_1px_hsl(var(--critical-50))]" : r ? "relative z-[1] border-r-0 bg-f1-background shadow-[inset_0_0_0_1px_hsl(var(--selected-50))]" : o ? "shadow-none [&:not(:focus-within)]:hover:shadow-[inset_0_0_0_1px_hsl(var(--neutral-30))] focus-within:relative focus-within:z-[1] focus-within:border-r-0 focus-within:bg-f1-background focus-within:shadow-[inset_0_0_0_1px_hsl(var(--selected-50))]" : "shadow-none",
|
|
56716
|
+
e && "bg-f1-background-secondary",
|
|
56717
|
+
t && "bg-f1-background-disabled"
|
|
56716
56718
|
),
|
|
56717
|
-
children: /* @__PURE__ */ R(Nse, { message:
|
|
56718
|
-
|
|
56719
|
-
/* @__PURE__ */ m("div", { className: "min-w-0 flex-1", children:
|
|
56720
|
-
|
|
56719
|
+
children: /* @__PURE__ */ R(Nse, { message: s, children: [
|
|
56720
|
+
l === "left" && d,
|
|
56721
|
+
/* @__PURE__ */ m("div", { className: "min-w-0 flex-1", children: c }),
|
|
56722
|
+
l === "right" && d
|
|
56721
56723
|
] })
|
|
56722
56724
|
}
|
|
56723
56725
|
);
|
|
@@ -56997,6 +56999,7 @@ function zse({
|
|
|
56997
56999
|
return /* @__PURE__ */ m(
|
|
56998
57000
|
ca,
|
|
56999
57001
|
{
|
|
57002
|
+
disabled: !0,
|
|
57000
57003
|
borderOnHover: !1,
|
|
57001
57004
|
hint: n,
|
|
57002
57005
|
hintPosition: "right",
|
|
@@ -57007,7 +57010,7 @@ function zse({
|
|
|
57007
57010
|
className: K(
|
|
57008
57011
|
t.align === "right" ? "justify-end" : "",
|
|
57009
57012
|
"flex p-4 min-h-12 items-center border-0 h-full",
|
|
57010
|
-
"
|
|
57013
|
+
"h-full",
|
|
57011
57014
|
"w-full",
|
|
57012
57015
|
"[&_*]:text-f1-foreground-secondary"
|
|
57013
57016
|
),
|