@factorialco/f0-react 6.60.1 → 6.62.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/{ChatPdfThumbnail-MCXNUMR4.js → ChatPdfThumbnail-Ct5mEoFa.js} +1 -1
- package/dist/{CoachmarkProvider-DZfEAQHl.js → CoachmarkProvider-C2ItrMsb.js} +10126 -10126
- package/dist/{DocumentToolbar-bjYlFehE.js → DocumentToolbar-Z7OmeXbl.js} +1 -1
- package/dist/{DocxViewer-BqhuGIn3.js → DocxViewer-BHktBt9D.js} +1 -1
- package/dist/{F0AiProcessingOverlay-D_AcT9g_.js → F0AiProcessingOverlay-DZeOFTnB.js} +2458 -2300
- package/dist/{LocationMap-6I_Uj5Hn.js → LocationMap-CCsKbjT9.js} +1 -1
- package/dist/{SheetViewer-htJzaL0o.js → SheetViewer-DdBTsJq6.js} +1 -1
- package/dist/{TextViewer-BL38shTn.js → TextViewer-I3GTzRhU.js} +1 -1
- package/dist/ai.d.ts +60 -27
- package/dist/ai.js +1 -1
- package/dist/component-status.d.ts +12 -12
- package/dist/component-status.js +1 -1
- package/dist/{experimental-DD8tLvvB.js → experimental-JPq5h5Bq.js} +4 -4
- package/dist/experimental.d.ts +12 -12
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +60 -27
- package/dist/f0.js +6 -6
- package/dist/i18n-provider-defaults.d.ts +12 -12
- package/dist/{index-BlbW7xLJ.js → index-Kr9opvST.js} +2 -2
- package/dist/{pdfWorker-CudtqZDY.js → pdfWorker-D139qCe2.js} +1 -1
- package/package.json +8 -1
|
@@ -2,7 +2,7 @@ import { cP as Ox, cQ as Sm, cR as jx, cS as Lx, cT as Xx, cU as qx, cV as np, c
|
|
|
2
2
|
import { jsx as p, jsxs as ee, Fragment as Bg } from "react/jsx-runtime";
|
|
3
3
|
import Pt, { forwardRef as bg, useRef as Ee, useTransition as n_, useState as We, useLayoutEffect as xi, useId as YA, useContext as Ji, createContext as qI, useEffect as It, useCallback as gt, useMemo as Gt, useImperativeHandle as C_, Fragment as bi, isValidElement as Fp, cloneElement as LU, Suspense as Ad, lazy as lr, createElement as _c, memo as XU, Children as Up } from "react";
|
|
4
4
|
import { d as Qe, T as o_, a as r_, b as A_, f as Og, c as s_, g as a_ } from "./tooltip-DTpaXpXW.js";
|
|
5
|
-
import { C as l_, P as c_, c as sd, n as d_, E as u_, a as Qp, u as h_, b as Pa, e as p_, f as B_, g as f_, h as m_, M as F_, p as U_, i as qU, R as Pm, j as $U, k as Q_, l as y_, m as w_, o as b_, q as x_, r as D_, O as e0, s as t0, F as __, W as or, A as S_, B as v_, L as R_, t as M_, V as V_, v as P_, w as G_, x as E_, y as yp, S as T_, z as k_, D as Z_, G as N_, H as K_, I as W_, J as Y_, K as z_, N as J_, Q as H_, T as O_, U as j_, X as L_, Y as Gm, Z as X_, _ as q_ } from "./CoachmarkProvider-
|
|
5
|
+
import { C as l_, P as c_, c as sd, n as d_, E as u_, a as Qp, u as h_, b as Pa, e as p_, f as B_, g as f_, h as m_, M as F_, p as U_, i as qU, R as Pm, j as $U, k as Q_, l as y_, m as w_, o as b_, q as x_, r as D_, O as e0, s as t0, F as __, W as or, A as S_, B as v_, L as R_, t as M_, V as V_, v as P_, w as G_, x as E_, y as yp, S as T_, z as k_, D as Z_, G as N_, H as K_, I as W_, J as Y_, K as z_, N as J_, Q as H_, T as O_, U as j_, X as L_, Y as Gm, Z as X_, _ as q_ } from "./CoachmarkProvider-C2ItrMsb.js";
|
|
6
6
|
import { g as $_ } from "./_commonjsHelpers-ByX85dGu.js";
|
|
7
7
|
import eS, { createPortal as kh } from "react-dom";
|
|
8
8
|
import './experimental.css';const tS = Ox("Search", [
|
|
@@ -34905,7 +34905,7 @@ const BQ = () => io(sQ, "useChatJump"), wM = () => io(aQ, "useChatHighlightedId"
|
|
|
34905
34905
|
),
|
|
34906
34906
|
children: C
|
|
34907
34907
|
}
|
|
34908
|
-
), DQ = () => import("./ChatPdfThumbnail-
|
|
34908
|
+
), DQ = () => import("./ChatPdfThumbnail-Ct5mEoFa.js"), _Q = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), SQ = () => import("./ChatDocxThumbnail-DzNPNFya.js"), vQ = () => import("./ChatTextThumbnail-yVt_iYi7.js"), MM = lr(DQ), VM = lr(_Q), PM = lr(SQ), GM = lr(vQ), EM = {
|
|
34909
34909
|
pdf: DQ,
|
|
34910
34910
|
sheet: _Q,
|
|
34911
34911
|
docx: SQ,
|
|
@@ -35089,7 +35089,7 @@ const BQ = () => io(sQ, "useChatJump"), wM = () => io(aQ, "useChatHighlightedId"
|
|
|
35089
35089
|
]
|
|
35090
35090
|
}
|
|
35091
35091
|
);
|
|
35092
|
-
}, MQ = () => import("./LocationMap-
|
|
35092
|
+
}, MQ = () => import("./LocationMap-CCsKbjT9.js"), ZM = lr(MQ), NM = 200, KM = ({ latitude: C, longitude: l }) => `https://www.google.com/maps?q=${C},${l}`, VQ = ({
|
|
35093
35093
|
location: C,
|
|
35094
35094
|
cornerClass: l = "rounded-xl",
|
|
35095
35095
|
surfaceClassName: f
|
|
@@ -36846,7 +36846,7 @@ const nV = {
|
|
|
36846
36846
|
}
|
|
36847
36847
|
) }) });
|
|
36848
36848
|
}, uV = lr(
|
|
36849
|
-
() => import("./index-
|
|
36849
|
+
() => import("./index-Kr9opvST.js").then((C) => C.i).then((C) => ({
|
|
36850
36850
|
default: C.F0PdfViewer
|
|
36851
36851
|
}))
|
|
36852
36852
|
), hV = () => {
|
package/dist/experimental.d.ts
CHANGED
|
@@ -15041,18 +15041,6 @@ declare module "@tiptap/core" {
|
|
|
15041
15041
|
}
|
|
15042
15042
|
|
|
15043
15043
|
|
|
15044
|
-
declare module "@tiptap/core" {
|
|
15045
|
-
interface Commands<ReturnType> {
|
|
15046
|
-
enhanceHighlight: {
|
|
15047
|
-
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
15048
|
-
placeholder?: string;
|
|
15049
|
-
}) => ReturnType;
|
|
15050
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
15051
|
-
};
|
|
15052
|
-
}
|
|
15053
|
-
}
|
|
15054
|
-
|
|
15055
|
-
|
|
15056
15044
|
declare module "@tiptap/core" {
|
|
15057
15045
|
interface Commands<ReturnType> {
|
|
15058
15046
|
fontSize: {
|
|
@@ -15074,6 +15062,18 @@ declare module "@tiptap/core" {
|
|
|
15074
15062
|
}
|
|
15075
15063
|
|
|
15076
15064
|
|
|
15065
|
+
declare module "@tiptap/core" {
|
|
15066
|
+
interface Commands<ReturnType> {
|
|
15067
|
+
enhanceHighlight: {
|
|
15068
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
15069
|
+
placeholder?: string;
|
|
15070
|
+
}) => ReturnType;
|
|
15071
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
15072
|
+
};
|
|
15073
|
+
}
|
|
15074
|
+
}
|
|
15075
|
+
|
|
15076
|
+
|
|
15077
15077
|
declare module "@tiptap/core" {
|
|
15078
15078
|
interface Commands<ReturnType> {
|
|
15079
15079
|
moodTracker: {
|
package/dist/experimental.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { v as s, t, A as i, a as o, J as r, ar as n, aq as l, as as d, B as S, w as C, y as g, L as m, ay as u, az as c, aI as b, x as h, C as P, ax as p, aJ as T, D as F, z as I, a3 as E, b1 as A, b8 as B, K as y, b0 as D, E as L, b as W, i as v, ag as k, ah as O, G as _, an as f, F as x, j as R, n as H, o as M, k as N, c as V, q as w, r as G, H as z, aM as U, aN as j, aB as Y, am as q, aR as K, at as X, a6 as $, aL as J, U as Q, ac as Z, O as aa, bc as ea, V as sa, P as ta, M as ia, N as oa, au as ra, R as na, a_ as la, b2 as da, S as Sa, a7 as Ca, a8 as ga, _ as ma, $ as ua, a0 as ca, Z as ba, a1 as ha, W as Pa, a2 as pa, a4 as Ta, a5 as Fa, a9 as Ia, aa as Ea, b6 as Aa, b5 as Ba, ap as ya, ao as Da, aw as La, aK as Wa, aH as va, av as ka, ab as Oa, aC as _a, b7 as fa, ba as xa, aA as Ra, aF as Ha, aD as Ma, bb as Na, aG as Va, aE as wa, b9 as Ga, d as za, af as Ua, b4 as ja, b3 as Ya, aj as qa, f as Ka, l as Xa, p as $a, g as Ja, h as Qa, aU as Za, aS as ae, ak as ee, al as se, aQ as te, aT as ie, e as oe, s as re, aY as ne, aP as le, aV as de, ad as Se, a$ as Ce, u as ge, ae as me, ai as ue, aO as ce, T as be, Q as he, I as Pe, Y as pe, X as Te, aZ as Fe, aX as Ie, aW as Ee } from "./experimental-
|
|
1
|
+
import { v as s, t, A as i, a as o, J as r, ar as n, aq as l, as as d, B as S, w as C, y as g, L as m, ay as u, az as c, aI as b, x as h, C as P, ax as p, aJ as T, D as F, z as I, a3 as E, b1 as A, b8 as B, K as y, b0 as D, E as L, b as W, i as v, ag as k, ah as O, G as _, an as f, F as x, j as R, n as H, o as M, k as N, c as V, q as w, r as G, H as z, aM as U, aN as j, aB as Y, am as q, aR as K, at as X, a6 as $, aL as J, U as Q, ac as Z, O as aa, bc as ea, V as sa, P as ta, M as ia, N as oa, au as ra, R as na, a_ as la, b2 as da, S as Sa, a7 as Ca, a8 as ga, _ as ma, $ as ua, a0 as ca, Z as ba, a1 as ha, W as Pa, a2 as pa, a4 as Ta, a5 as Fa, a9 as Ia, aa as Ea, b6 as Aa, b5 as Ba, ap as ya, ao as Da, aw as La, aK as Wa, aH as va, av as ka, ab as Oa, aC as _a, b7 as fa, ba as xa, aA as Ra, aF as Ha, aD as Ma, bb as Na, aG as Va, aE as wa, b9 as Ga, d as za, af as Ua, b4 as ja, b3 as Ya, aj as qa, f as Ka, l as Xa, p as $a, g as Ja, h as Qa, aU as Za, aS as ae, ak as ee, al as se, aQ as te, aT as ie, e as oe, s as re, aY as ne, aP as le, aV as de, ad as Se, a$ as Ce, u as ge, ae as me, ai as ue, aO as ce, T as be, Q as he, I as Pe, Y as pe, X as Te, aZ as Fe, aX as Ie, aW as Ee } from "./experimental-JPq5h5Bq.js";
|
|
2
2
|
import { dO as Be, ep as ye, eo as De, eC as Le, dl as We, em as ve, cd as ke, c3 as Oe, ca as _e, eh as fe, bY as xe, bY as Re, bR as He, ei as Me, cg as Ne, d$ as Ve, ci as we, eF as Ge, en as ze, ey as Ue, ez as je, d5 as Ye, eD as qe, k as Ke, dP as Xe, cM as $e, el as Je, er as Qe, eq as Ze, T as as, h as es, bS as ss, eA as ts, eG as is, eB as os, eE as rs, ex as ns, eu as ls, ew as ds, es as Ss, ej as Cs, ek as gs, ed as ms, ev as us, et as cs } from "./F0CanvasPanel-DeUaUB_R.js";
|
|
3
|
-
import { aw as hs, ax as Ps, a5 as ps, a6 as Ts, a3 as Fs, ag as Is, C as Es, a7 as As, aI as Bs, ac as ys, aH as Ds, af as Ls, a4 as Ws, au as vs, aK as ks, aJ as Os, am as _s, ah as fs, ap as xs, aN as Rs, a2 as Hs, ar as Ms, ao as Ns, aj as Vs, aP as ws, ak as Gs, as as zs, at as Us, a8 as js, aL as Ys, aM as qs, al as Ks, av as Xs, aE as $s, O as Js, aG as Qs, a9 as Zs, aR as at, ab as et, ad as st, ap as tt, aO as it, aq as ot, an as rt, aQ as nt, aa as lt, W as dt, ae as St, a1 as Ct, $ as gt, a0 as mt, aA as ut, aB as ct, ay as bt, aF as ht, ai as Pt, aC as pt, l as Tt, az as Ft, aD as It, y as Et } from "./CoachmarkProvider-
|
|
3
|
+
import { aw as hs, ax as Ps, a5 as ps, a6 as Ts, a3 as Fs, ag as Is, C as Es, a7 as As, aI as Bs, ac as ys, aH as Ds, af as Ls, a4 as Ws, au as vs, aK as ks, aJ as Os, am as _s, ah as fs, ap as xs, aN as Rs, a2 as Hs, ar as Ms, ao as Ns, aj as Vs, aP as ws, ak as Gs, as as zs, at as Us, a8 as js, aL as Ys, aM as qs, al as Ks, av as Xs, aE as $s, O as Js, aG as Qs, a9 as Zs, aR as at, ab as et, ad as st, ap as tt, aO as it, aq as ot, an as rt, aQ as nt, aa as lt, W as dt, ae as St, a1 as Ct, $ as gt, a0 as mt, aA as ut, aB as ct, ay as bt, aF as ht, ai as Pt, aC as pt, l as Tt, az as Ft, aD as It, y as Et } from "./CoachmarkProvider-C2ItrMsb.js";
|
|
4
4
|
export {
|
|
5
5
|
hs as AUTO_PER_PAGE_MAX,
|
|
6
6
|
Ps as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
|
package/dist/f0.d.ts
CHANGED
|
@@ -7011,7 +7011,7 @@ export declare const F0AiChatProvider: ({ enabled, side, panelContentSide, initi
|
|
|
7011
7011
|
* coupling to `useAiChat()` or CopilotKit — wrappers like F0AiChat
|
|
7012
7012
|
* provide the wiring.
|
|
7013
7013
|
*/
|
|
7014
|
-
export declare const F0AiChatTextArea: ({ onSubmit, onStop, inProgress, onBeforeSubmit, placeholders, creditWarning, clarifyingUI, pendingContext, onPendingContextChange, pendingQuote, onPendingQuoteChange, fileAttachments, toolbarStart, onTranscribe, searchPersons, onProcessFilesRef, disclaimer, footer, isWelcomeScreen, fullscreen, welcomeScreenSuggestions, onSuggestionClick, welcomeScreenSuggestionsPlacement, welcomeScreenCards, padding, ref, }: F0AiChatTextAreaProps) => JSX_2.Element;
|
|
7014
|
+
export declare const F0AiChatTextArea: ({ onSubmit, onStop, inProgress, onBeforeSubmit, placeholders, creditWarning, clarifyingUI, pendingContext, onPendingContextChange, pendingQuote, onPendingQuoteChange, fileAttachments, toolbarStart, onTranscribe, searchPersons, onProcessFilesRef, disclaimer, footer, isWelcomeScreen, fullscreen, welcomeScreenSuggestions, onSuggestionClick, welcomeScreenSuggestionsPlacement, welcomeScreenSuggestionsCollapsedByDefault, welcomeScreenCards, padding, ref, }: F0AiChatTextAreaProps) => JSX_2.Element;
|
|
7015
7015
|
|
|
7016
7016
|
export declare type F0AiChatTextAreaProps = {
|
|
7017
7017
|
ref: RefObject<HTMLDivElement>;
|
|
@@ -7111,26 +7111,59 @@ export declare type F0AiChatTextAreaProps = {
|
|
|
7111
7111
|
* single bar about two lines tall. Its popover opens downward, because up is
|
|
7112
7112
|
* now the text you are about to type.
|
|
7113
7113
|
*
|
|
7114
|
-
* ⚠️ `"inside"` IS A COMPOSER SHAPE, NOT JUST A POSITION.
|
|
7115
|
-
*
|
|
7116
|
-
*
|
|
7117
|
-
*
|
|
7118
|
-
*
|
|
7119
|
-
*
|
|
7120
|
-
*
|
|
7121
|
-
* dictation controls keep their own row when the host enables them; with none
|
|
7122
|
-
* of them the field is just the two bands.
|
|
7114
|
+
* ⚠️ `"inside"` IS A COMPOSER SHAPE, NOT JUST A POSITION. The chips do not get
|
|
7115
|
+
* a band of their own: they take the middle of the ACTION row, between the
|
|
7116
|
+
* attachment/host controls and the dictation · send pair, and One's mark goes
|
|
7117
|
+
* in front of the text. That is what keeps the field two bands tall — text,
|
|
7118
|
+
* then one row of controls — instead of three. Because the chips share that
|
|
7119
|
+
* line, they scroll sideways rather than wrapping, with the overflowing ends
|
|
7120
|
+
* faded: ten groups cost the same height as three.
|
|
7123
7121
|
*
|
|
7124
|
-
* THE
|
|
7122
|
+
* THE SHAPE FOLLOWS THE PROP, NOT THE WELCOME STATE. The suggestions
|
|
7125
7123
|
* themselves are welcome-screen-only as they always were, but a composer that
|
|
7126
|
-
*
|
|
7127
|
-
*
|
|
7128
|
-
*
|
|
7129
|
-
*
|
|
7124
|
+
* dropped One's mark the moment the first message landed would change shape
|
|
7125
|
+
* under the reader mid-conversation. `"inside"` therefore keeps the bar for the
|
|
7126
|
+
* whole thread; after the welcome screen it is simply a bar with no chips in
|
|
7127
|
+
* it.
|
|
7130
7128
|
*
|
|
7131
7129
|
* @default "above"
|
|
7132
7130
|
*/
|
|
7133
7131
|
welcomeScreenSuggestionsPlacement?: "above" | "inside";
|
|
7132
|
+
/**
|
|
7133
|
+
* Start closed, and open when the reader focuses the input — with a motion
|
|
7134
|
+
* reveal, the row growing into place.
|
|
7135
|
+
*
|
|
7136
|
+
* For hosts where the composer is not the thing the reader came for — a Home
|
|
7137
|
+
* hero, say — so the bar sits quiet until it is addressed, and the starter
|
|
7138
|
+
* prompts arrive at the moment they are useful.
|
|
7139
|
+
*
|
|
7140
|
+
* ⚠️ WITH `"inside"` THIS COLLAPSES THE WHOLE CONTROL ROW, not just the chips:
|
|
7141
|
+
* the field becomes ONE LINE — One's mark, the text, then dictation and send
|
|
7142
|
+
* trailing it at `sm` — and the chips, attachment and host controls arrive with
|
|
7143
|
+
* the row on focus. A row emptied of its chips would still be 56px of padding
|
|
7144
|
+
* around two buttons, which is not a quiet bar; it is the same two-band field
|
|
7145
|
+
* with a hole in it. Send comes along because a bar you cannot send from is not
|
|
7146
|
+
* a composer, and dictation because talking is a way to start a prompt without
|
|
7147
|
+
* typing one. With the row `"above"`, only that row collapses — the field below
|
|
7148
|
+
* it is a plain composer and does not change shape.
|
|
7149
|
+
*
|
|
7150
|
+
* FOCUS IS TRACKED ON THE WHOLE COMPOSER, not on the textarea: it closes when
|
|
7151
|
+
* focus leaves the field AND everything in it, including the suggestion panel
|
|
7152
|
+
* (which Radix portals outside the form). Closing on the textarea's own blur
|
|
7153
|
+
* would close the row the moment a chip took focus, which is every way of
|
|
7154
|
+
* picking one. Three things hold it open regardless of focus: anything already
|
|
7155
|
+
* typed or attached (a half-written prompt with no visible way to send it would
|
|
7156
|
+
* be a trap — and a host that forwards a dropped file can put one there without
|
|
7157
|
+
* the textarea ever being focused), and a recording in flight (its cancel ·
|
|
7158
|
+
* confirm pair lives in the row).
|
|
7159
|
+
*
|
|
7160
|
+
* ⚠️ It also suppresses the composer's own autofocus-on-mount, which would
|
|
7161
|
+
* otherwise open everything before the reader had touched anything and make
|
|
7162
|
+
* this prop a no-op. A collapsed composer starts unfocused.
|
|
7163
|
+
*
|
|
7164
|
+
* @default false
|
|
7165
|
+
*/
|
|
7166
|
+
welcomeScreenSuggestionsCollapsedByDefault?: boolean;
|
|
7134
7167
|
/**
|
|
7135
7168
|
* Cards rendered as a grid below the composer on the fullscreen welcome
|
|
7136
7169
|
* screen. Each card carries its own `onClick`; the host decides the behavior.
|
|
@@ -20328,18 +20361,6 @@ declare module "@tiptap/core" {
|
|
|
20328
20361
|
}
|
|
20329
20362
|
|
|
20330
20363
|
|
|
20331
|
-
declare module "@tiptap/core" {
|
|
20332
|
-
interface Commands<ReturnType> {
|
|
20333
|
-
enhanceHighlight: {
|
|
20334
|
-
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
20335
|
-
placeholder?: string;
|
|
20336
|
-
}) => ReturnType;
|
|
20337
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
20338
|
-
};
|
|
20339
|
-
}
|
|
20340
|
-
}
|
|
20341
|
-
|
|
20342
|
-
|
|
20343
20364
|
declare module "@tiptap/core" {
|
|
20344
20365
|
interface Commands<ReturnType> {
|
|
20345
20366
|
fontSize: {
|
|
@@ -20361,6 +20382,18 @@ declare module "@tiptap/core" {
|
|
|
20361
20382
|
}
|
|
20362
20383
|
|
|
20363
20384
|
|
|
20385
|
+
declare module "@tiptap/core" {
|
|
20386
|
+
interface Commands<ReturnType> {
|
|
20387
|
+
enhanceHighlight: {
|
|
20388
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
20389
|
+
placeholder?: string;
|
|
20390
|
+
}) => ReturnType;
|
|
20391
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
20392
|
+
};
|
|
20393
|
+
}
|
|
20394
|
+
}
|
|
20395
|
+
|
|
20396
|
+
|
|
20364
20397
|
declare module "@tiptap/core" {
|
|
20365
20398
|
interface Commands<ReturnType> {
|
|
20366
20399
|
moodTracker: {
|
package/dist/f0.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { h_ as vN, w as st, e4 as D_, cs as dn, ho as pN, bX as An, fn as YV, h$ as XV, i0 as gN, r as er, c3 as hf, i1 as qV, i2 as Iw, i3 as Mr, i4 as ja, i5 as ZV, u as Be, bV as ap, i6 as Zi, i7 as ql, i8 as mN, bU as gl, hl as Yy, i9 as jV, S as ne, s as A_, ia as KV, ib as QV, ic as kw, cy as JV, id as eF, ie as tF, ig as yN, ih as rF, t as df, v as vf, m as it, x as pf, y as Gr, O as nF, Q as iF, z as Qo, A as Jo, ax as Na, B as es, gv as Xy, d3 as St, V as nt, ah as Ml, d4 as Ia, dh as M_, ii as aF, cl as oF, cm as Pw, n as bN, o as Ll, bW as Nc, cn as sF, eC as Nd, e2 as _N, ij as lF, hn as Rw, d6 as uF, ik as Ow, dc as cF, il as fF, c0 as xN, d_ as wN, ge as qy, dl as hF, a7 as Zy, a6 as L_, gR as Zl, gS as gf, gU as SN, hu as dF, gt as CN, d9 as TN, gs as vF, im as op, b3 as E_, h8 as pF, c8 as DN, f$ as gF, au as mF, hV as N_, b6 as AN, c4 as yF, c5 as bF, c6 as _F, d as xF, bB as MN, ai as fs, bH as LN, b2 as EN, ag as I_, bJ as NN, X as k_, G as ml, H as yl, K as bl, L as _l, gw as Ai, $ as IN, j as wF, b0 as Id, as as El, J as Nr, el as SF, bS as kN, b4 as jy, cp as Ic, ci as CF, aS as mf, aq as jl, dG as PN, dt as RN, h1 as Or, io as TF, ip as DF, iq as ON, ir as sp, is as AF, it as MF, cD as ei, R as BN, U as zN, ch as LF, iu as EF, ca as VN, dY as NF, dZ as IF, bP as Ho, da as Kl, e7 as Ql, e_ as yf, bK as kF, e5 as PF, br as RF, ak as FN, df as OF, aj as BF, aW as Bw, bF as kc, hs as zF, aO as VF, iv as FF, iw as GF, ix as HF, b as GN, eY as P_, cg as WF, aZ as $F, l as HN, a8 as UF, a5 as YF, iy as XF, iz as qF, iA as ZF, hr as jF, cM as KF, c2 as QF, cE as WN, iB as $N, iC as JF, iD as e5, I as t5, iE as r5, iF as n5, iG as i5, iH as a5 } from "./F0CanvasPanel-DeUaUB_R.js";
|
|
2
2
|
import { iY as Uhe, C as Yhe, D as Xhe, dA as qhe, c as Zhe, F as jhe, a as Khe, iR as Qhe, f as Jhe, cw as ede, dB as tde, e9 as rde, cb as nde, cc as ide, cu as ade, c9 as ode, cv as sde, dn as lde, eh as ude, g as cde, c7 as fde, bY as hde, iM as dde, j1 as vde, bR as pde, e as gde, d$ as mde, k as yde, cx as bde, iT as _de, dK as xde, iU as wde, iW as Sde, iX as Cde, eF as Tde, i_ as Dde, ey as Ade, ez as Mde, P as Lde, eD as Ede, iV as Nde, eA as Ide, iZ as kde, j2 as Pde, iJ as Rde, iK as Ode, iL as Bde, iI as zde, eB as Vde, j0 as Fde, iS as Gde, iP as Hde, iO as Wde, eE as $de, gq as Ude, h9 as Yde, i$ as Xde, dD as qde, ex as Zde, eu as jde, ew as Kde, es as Qde, iQ as Jde, hb as eve, h5 as tve, gV as rve, j5 as nve, ed as ive, ev as ave, j4 as ove, dS as sve, et as lve, ce as uve, gp as cve, gW as fve, dV as hve, ht as dve, dC as vve, cf as pve, iN as gve, h7 as mve, h6 as yve, j3 as bve } from "./F0CanvasPanel-DeUaUB_R.js";
|
|
3
3
|
import { jsx as x, jsxs as B, Fragment as at } from "react/jsx-runtime";
|
|
4
|
-
import { C as o5, W as s5, G as l5, H as u5, I as c5, J as zw, aS as f5, aT as h5, Z as d5, K as v5, Q as p5, U as g5, Y as m5, r as y5, a2 as UN, aU as b5, aV as _5, aW as x5, aX as w5, aY as S5, aZ as YN, a_ as C5, n as R_, a$ as Ka, b0 as T5, z as O_, b1 as B_, af as D5, b2 as A5, b3 as Ds, b4 as XN, b5 as M5, b6 as L5, b7 as E5, b8 as N5, b9 as I5, ba as k5, ar as P5, aH as R5, bb as O5, am as B5, E as z5, a as V5, j as lp, R as z_, k as V_, ap as qN, O as F_, bc as ZN, bd as Vw, be as G_, a3 as F5, bf as Fw, F as G5, l as jN, av as KN, bg as H5, bh as W5, bi as $5, bj as As, bk as U5, aI as Y5, M as X5 } from "./CoachmarkProvider-
|
|
5
|
-
import { a5 as xve, a6 as wve, ag as Sve, a7 as Cve, ac as Tve, bG as Dve, bF as Ave, by as Mve, bm as Lve, bl as Eve, bn as Nve, bo as Ive, bq as kve, D as Pve, aK as Rve, aJ as Ove, aN as Bve, ao as zve, aj as Vve, aP as Fve, ak as Gve, a8 as Hve, bH as Wve, aL as $ve, aM as Uve, al as Yve, a9 as Xve, P as qve, ab as Zve, ad as jve, aO as Kve, an as Qve, aQ as Jve, aa as epe, ae as tpe, bJ as rpe, a1 as npe, $ as ipe, a0 as ape, bx as ope, bD as spe, bD as lpe, bE as upe, bt as cpe, bs as fpe, bI as hpe, aF as dpe, bv as vpe, bw as ppe, ai as gpe, bK as mpe, bL as ype, X as bpe, m as _pe, bz as xpe, bA as wpe, bB as Spe, bp as Cpe, bu as Tpe, o as Dpe, bC as Ape, br as Mpe, bM as Lpe } from "./CoachmarkProvider-
|
|
4
|
+
import { C as o5, W as s5, G as l5, H as u5, I as c5, J as zw, aS as f5, aT as h5, Z as d5, K as v5, Q as p5, U as g5, Y as m5, r as y5, a2 as UN, aU as b5, aV as _5, aW as x5, aX as w5, aY as S5, aZ as YN, a_ as C5, n as R_, a$ as Ka, b0 as T5, z as O_, b1 as B_, af as D5, b2 as A5, b3 as Ds, b4 as XN, b5 as M5, b6 as L5, b7 as E5, b8 as N5, b9 as I5, ba as k5, ar as P5, aH as R5, bb as O5, am as B5, E as z5, a as V5, j as lp, R as z_, k as V_, ap as qN, O as F_, bc as ZN, bd as Vw, be as G_, a3 as F5, bf as Fw, F as G5, l as jN, av as KN, bg as H5, bh as W5, bi as $5, bj as As, bk as U5, aI as Y5, M as X5 } from "./CoachmarkProvider-C2ItrMsb.js";
|
|
5
|
+
import { a5 as xve, a6 as wve, ag as Sve, a7 as Cve, ac as Tve, bG as Dve, bF as Ave, by as Mve, bm as Lve, bl as Eve, bn as Nve, bo as Ive, bq as kve, D as Pve, aK as Rve, aJ as Ove, aN as Bve, ao as zve, aj as Vve, aP as Fve, ak as Gve, a8 as Hve, bH as Wve, aL as $ve, aM as Uve, al as Yve, a9 as Xve, P as qve, ab as Zve, ad as jve, aO as Kve, an as Qve, aQ as Jve, aa as epe, ae as tpe, bJ as rpe, a1 as npe, $ as ipe, a0 as ape, bx as ope, bD as spe, bD as lpe, bE as upe, bt as cpe, bs as fpe, bI as hpe, aF as dpe, bv as vpe, bw as ppe, ai as gpe, bK as mpe, bL as ype, X as bpe, m as _pe, bz as xpe, bA as wpe, bB as Spe, bp as Cpe, bu as Tpe, o as Dpe, bC as Ape, br as Mpe, bM as Lpe } from "./CoachmarkProvider-C2ItrMsb.js";
|
|
6
6
|
import * as Ct from "react";
|
|
7
7
|
import q5, { forwardRef as Dr, useRef as ae, useImperativeHandle as Z5, Children as kd, createContext as Ga, useContext as Ha, useState as ue, useMemo as be, useEffect as _e, useCallback as de, useLayoutEffect as Pc, isValidElement as QN, Fragment as Jl, useSyncExternalStore as Nl, useId as xl, memo as j5 } from "react";
|
|
8
8
|
import { createPortal as bf } from "react-dom";
|
|
9
9
|
import { d as ie, g as _f, h as K5, i as ll, P as xf, u as eu, j as Q5, f as Wa } from "./tooltip-DTpaXpXW.js";
|
|
10
10
|
import { l as Ky, c as JN, d as Pd, r as Qy } from "./F0VideoPlayer-C6KjykmM.js";
|
|
11
11
|
import { F as Npe } from "./F0VideoPlayer-C6KjykmM.js";
|
|
12
|
-
import { F as kpe, p as Ppe } from "./index-
|
|
13
|
-
import { c as Ope } from "./pdfWorker-
|
|
14
|
-
import { D as J5, E as Rd, G as H_, H as eI, I as tI, J as eG, K as tG, L as rG, M as nG, N as iG, F as aG } from "./F0AiProcessingOverlay-
|
|
15
|
-
import { A as zpe, C as Vpe, t as Fpe, s as Gpe, v as Hpe, y as Wpe, l as $pe, i as Upe, q as Ype, z as Xpe, B as qpe, p as Zpe, r as jpe, j as Kpe, e as Qpe, g as Jpe, k as ege, T as tge, w as rge, h as nge, a as ige, n as age, m as oge, o as sge, b as lge, f as uge, x as cge, c as fge, d as hge, u as dge } from "./F0AiProcessingOverlay-
|
|
12
|
+
import { F as kpe, p as Ppe } from "./index-Kr9opvST.js";
|
|
13
|
+
import { c as Ope } from "./pdfWorker-D139qCe2.js";
|
|
14
|
+
import { D as J5, E as Rd, G as H_, H as eI, I as tI, J as eG, K as tG, L as rG, M as nG, N as iG, F as aG } from "./F0AiProcessingOverlay-DZeOFTnB.js";
|
|
15
|
+
import { A as zpe, C as Vpe, t as Fpe, s as Gpe, v as Hpe, y as Wpe, l as $pe, i as Upe, q as Ype, z as Xpe, B as qpe, p as Zpe, r as jpe, j as Kpe, e as Qpe, g as Jpe, k as ege, T as tge, w as rge, h as nge, a as ige, n as age, m as oge, o as sge, b as lge, f as uge, x as cge, c as fge, d as hge, u as dge } from "./F0AiProcessingOverlay-DZeOFTnB.js";
|
|
16
16
|
import { g as oG } from "./_commonjsHelpers-ByX85dGu.js";
|
|
17
17
|
import { utils as wl, write as rI } from "./xlsx-CzlURDDb.js";
|
|
18
18
|
import { defaultTranslations as pge } from "./i18n-provider-defaults.js";
|
|
@@ -1333,18 +1333,6 @@ declare module "@tiptap/core" {
|
|
|
1333
1333
|
}
|
|
1334
1334
|
|
|
1335
1335
|
|
|
1336
|
-
declare module "@tiptap/core" {
|
|
1337
|
-
interface Commands<ReturnType> {
|
|
1338
|
-
enhanceHighlight: {
|
|
1339
|
-
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
1340
|
-
placeholder?: string;
|
|
1341
|
-
}) => ReturnType;
|
|
1342
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
1343
|
-
};
|
|
1344
|
-
}
|
|
1345
|
-
}
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
1336
|
declare module "@tiptap/core" {
|
|
1349
1337
|
interface Commands<ReturnType> {
|
|
1350
1338
|
fontSize: {
|
|
@@ -1366,6 +1354,18 @@ declare module "@tiptap/core" {
|
|
|
1366
1354
|
}
|
|
1367
1355
|
|
|
1368
1356
|
|
|
1357
|
+
declare module "@tiptap/core" {
|
|
1358
|
+
interface Commands<ReturnType> {
|
|
1359
|
+
enhanceHighlight: {
|
|
1360
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
1361
|
+
placeholder?: string;
|
|
1362
|
+
}) => ReturnType;
|
|
1363
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
1364
|
+
};
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
1369
|
declare module "@tiptap/core" {
|
|
1370
1370
|
interface Commands<ReturnType> {
|
|
1371
1371
|
moodTracker: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-DeUaUB_R.js";
|
|
2
2
|
import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
3
3
|
import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
|
|
4
|
-
import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-
|
|
4
|
+
import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-D139qCe2.js";
|
|
5
5
|
import { F as We } from "./Printer-BD-FEi_2.js";
|
|
6
6
|
import { d as ae } from "./tooltip-DTpaXpXW.js";
|
|
7
7
|
import './index.css';const Oe = ({
|
|
@@ -222,7 +222,7 @@ import './index.css';const Oe = ({
|
|
|
222
222
|
}), i;
|
|
223
223
|
};
|
|
224
224
|
Ee();
|
|
225
|
-
const qe = J(() => import("./SheetViewer-
|
|
225
|
+
const qe = J(() => import("./SheetViewer-DdBTsJq6.js")), Ge = J(() => import("./DocxViewer-BHktBt9D.js")), Ze = J(() => import("./TextViewer-I3GTzRhU.js")), oe = 48, se = ne(
|
|
226
226
|
(o, a) => {
|
|
227
227
|
const { kind: e = "pdf", mimeType: i, ...l } = o;
|
|
228
228
|
if (e === "pdf") return /* @__PURE__ */ t(le, { ref: a, ...l });
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { createContext, useReducer, forwardRef, useRef, useImperativeHandle, useEffect, useCallback, useMemo, useContext, useLayoutEffect } from "react";
|
|
3
3
|
import { e as clsx } from "./tooltip-DTpaXpXW.js";
|
|
4
4
|
import { W as invariant } from "./F0CanvasPanel-DeUaUB_R.js";
|
|
5
|
-
import { d as dequal } from "./CoachmarkProvider-
|
|
5
|
+
import { d as dequal } from "./CoachmarkProvider-C2ItrMsb.js";
|
|
6
6
|
import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
|
|
7
7
|
import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
|
|
8
8
|
import './pdfWorker.css';var pdf$1 = { exports: {} };
|
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorialco/f0-react",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.62.0",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/factorialco/f0.git",
|
|
7
|
+
"directory": "packages/react"
|
|
8
|
+
},
|
|
4
9
|
"private": false,
|
|
5
10
|
"files": [
|
|
6
11
|
"assets",
|
|
@@ -271,9 +276,11 @@
|
|
|
271
276
|
"format:check": "sh -c 'oxfmt --check \"${@:-src/}\"' --",
|
|
272
277
|
"tsc": "tsc --noEmit",
|
|
273
278
|
"check:api-surface": "tsx .scripts/check-api-surface.ts",
|
|
279
|
+
"check:docs-index": "tsx .scripts/check-docs-index.ts",
|
|
274
280
|
"check:bugfix-red-green": "tsx .scripts/check-bugfix-red-green.ts",
|
|
275
281
|
"check:new-component-dod": "tsx .scripts/check-new-component-dod.ts",
|
|
276
282
|
"check:stable-dod": "tsx .scripts/check-stable-dod.ts",
|
|
283
|
+
"check:untranslated-copy": "tsx .scripts/check-untranslated-copy.ts",
|
|
277
284
|
"preflight": "tsx .scripts/pre-push-preflight.ts",
|
|
278
285
|
"vitest": "vitest --project=unit",
|
|
279
286
|
"vitest:ui": "vitest --project=unit --ui",
|