@factorialco/f0-react 6.87.0 → 6.88.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-DMj3UmUp.js → ChatPdfThumbnail-BFul62a4.js} +1 -1
- package/dist/{CoachmarkProvider-DZfN88Ur.js → CoachmarkProvider-2_pMSJdO.js} +1 -1
- package/dist/{DocumentToolbar-Ct61NVVc.js → DocumentToolbar-BR442e_P.js} +1 -1
- package/dist/{DocxViewer-CdGogY70.js → DocxViewer-YweHIcvR.js} +1 -1
- package/dist/{LocationMap-7LJCYAHA.js → LocationMap-YcfJrfST.js} +1 -1
- package/dist/{SheetViewer-C_WZ4nNz.js → SheetViewer-CPr0Xea_.js} +1 -1
- package/dist/{TextViewer-Cg6RinsY.js → TextViewer-Cu9mNx0F.js} +1 -1
- package/dist/ai.d.ts +7 -7
- package/dist/component-status.d.ts +7 -7
- package/dist/component-status.js +1 -1
- package/dist/{experimental-CbOZz_Mw.js → experimental-Q9kMJ9wE.js} +4 -4
- package/dist/experimental.d.ts +7 -7
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +28 -7
- package/dist/f0.js +9187 -9161
- package/dist/i18n-provider-defaults.d.ts +7 -7
- package/dist/{index-p39WqkPI.js → index-O6DySIGj.js} +2 -2
- package/dist/{pdfWorker-CnYPTQSS.js → pdfWorker-CrkERbwq.js} +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { cQ as i_, cR as $B, cS as n_, cT as g_, cU as a_, cV as o_, cW as vh, c
|
|
|
2
2
|
import { jsx as m, jsxs as te, Fragment as Ii } from "react/jsx-runtime";
|
|
3
3
|
import Et, { forwardRef as wi, useRef as Se, useTransition as sx, useState as Ne, useLayoutEffect as Hn, useId as ys, useContext as Dg, createContext as Jn, useEffect as nt, useCallback as Ke, useMemo as _t, useImperativeHandle as Ix, Fragment as xg, isValidElement as Kh, cloneElement as Gy, Suspense as wd, lazy as bs, createElement as Tc, memo as Ey, Children as Wh } from "react";
|
|
4
4
|
import { d as Qe, T as Cx, a as Ax, b as lx, f as $i, c as cx, g as dx } from "./tooltip-CMBdJvJA.js";
|
|
5
|
-
import { C as ux, P as fx, c as vd, n as Ty, E as hx, a as mx, u as px, b as Ny, e as Bx, f as Fx, g as yx, h as Ux, i as n0, M as Qx, p as wx, j as Zy, R as g0, k as Ky, l as vx, m as bx, o as _x, q as kx, r as xx, s as Dx, O as Wy, t as Yy, F as Sx, W as Fs, A as Rx, B as Mx, L as Px, v as Vx, V as Gx, w as Ex, x as Tx, y as Nx, z as Yh, S as Zx, D as zy, G as Hy, H as Kx, I as Wx, J as Yx, K as zx, N as Hx, Q as Ox, T as Jx, U as jx, X as Lx, Y as Xx, Z as a0, _ as qx, $ as $x } from "./CoachmarkProvider-
|
|
5
|
+
import { C as ux, P as fx, c as vd, n as Ty, E as hx, a as mx, u as px, b as Ny, e as Bx, f as Fx, g as yx, h as Ux, i as n0, M as Qx, p as wx, j as Zy, R as g0, k as Ky, l as vx, m as bx, o as _x, q as kx, r as xx, s as Dx, O as Wy, t as Yy, F as Sx, W as Fs, A as Rx, B as Mx, L as Px, v as Vx, V as Gx, w as Ex, x as Tx, y as Nx, z as Yh, S as Zx, D as zy, G as Hy, H as Kx, I as Wx, J as Yx, K as zx, N as Hx, Q as Ox, T as Jx, U as jx, X as Lx, Y as Xx, Z as a0, _ as qx, $ as $x } from "./CoachmarkProvider-2_pMSJdO.js";
|
|
6
6
|
import { g as eD } from "./_commonjsHelpers-ByX85dGu.js";
|
|
7
7
|
import tD, { createPortal as $c } from "react-dom";
|
|
8
8
|
import './experimental.css';const iD = i_("Search", [
|
|
@@ -35343,7 +35343,7 @@ const Sd = (a, C) => {
|
|
|
35343
35343
|
),
|
|
35344
35344
|
children: a
|
|
35345
35345
|
}
|
|
35346
|
-
), AP = () => import("./ChatPdfThumbnail-
|
|
35346
|
+
), AP = () => import("./ChatPdfThumbnail-BFul62a4.js"), lP = () => import("./ChatSheetThumbnail-CxGL5ukQ.js"), cP = () => import("./ChatDocxThumbnail-DzNPNFya.js"), dP = () => import("./ChatTextThumbnail-FVwMzn0I.js"), uP = bs(AP), fP = bs(lP), hP = bs(cP), mP = bs(dP), pP = 384, BP = 160, QU = ({
|
|
35347
35347
|
file: a,
|
|
35348
35348
|
kind: C,
|
|
35349
35349
|
cornerClass: f = "rounded-xl",
|
|
@@ -35535,7 +35535,7 @@ const Sd = (a, C) => {
|
|
|
35535
35535
|
});
|
|
35536
35536
|
U.observe(k), f.current = U;
|
|
35537
35537
|
}, []), shouldMount: a };
|
|
35538
|
-
}, Rd = "w-[24rem] max-w-full", yP = "w-[32rem] max-w-full", UP = "gap-0.5", QP = "pointer-events-none absolute inset-x-0 bottom-0 h-[46%] bg-[linear-gradient(to_top,rgba(0,0,0,0.5),rgba(0,0,0,0.18)_45%,transparent)]", wP = "bg-[hsl(222_31%_11%)]", vP = "bg-[hsl(220_39%_6%/0.72)]", bP = "bg-[hsl(220_39%_6%/0.6)]", _P = "bg-[hsl(220_39%_6%/0.55)]", kP = () => import("./LocationMap-
|
|
35538
|
+
}, Rd = "w-[24rem] max-w-full", yP = "w-[32rem] max-w-full", UP = "gap-0.5", QP = "pointer-events-none absolute inset-x-0 bottom-0 h-[46%] bg-[linear-gradient(to_top,rgba(0,0,0,0.5),rgba(0,0,0,0.18)_45%,transparent)]", wP = "bg-[hsl(222_31%_11%)]", vP = "bg-[hsl(220_39%_6%/0.72)]", bP = "bg-[hsl(220_39%_6%/0.6)]", _P = "bg-[hsl(220_39%_6%/0.55)]", kP = () => import("./LocationMap-YcfJrfST.js"), xP = bs(kP), DP = 3 / 2, SP = ({ latitude: a, longitude: C }) => `https://www.google.com/maps?q=${a},${C}`, wU = ({
|
|
35539
35539
|
location: a,
|
|
35540
35540
|
cornerClass: C = "rounded-xl",
|
|
35541
35541
|
surfaceClassName: f,
|
|
@@ -41033,7 +41033,7 @@ const PG = {
|
|
|
41033
41033
|
}
|
|
41034
41034
|
) }) });
|
|
41035
41035
|
}, WG = bs(
|
|
41036
|
-
() => import("./index-
|
|
41036
|
+
() => import("./index-O6DySIGj.js").then((a) => a.i).then((a) => ({
|
|
41037
41037
|
default: a.F0PdfViewer
|
|
41038
41038
|
}))
|
|
41039
41039
|
), YG = () => {
|
package/dist/experimental.d.ts
CHANGED
|
@@ -15968,10 +15968,9 @@ declare module "@tiptap/core" {
|
|
|
15968
15968
|
|
|
15969
15969
|
declare module "@tiptap/core" {
|
|
15970
15970
|
interface Commands<ReturnType> {
|
|
15971
|
-
|
|
15972
|
-
|
|
15973
|
-
|
|
15974
|
-
outdent: () => ReturnType;
|
|
15971
|
+
fontSize: {
|
|
15972
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
15973
|
+
unsetFontSize: () => ReturnType;
|
|
15975
15974
|
};
|
|
15976
15975
|
}
|
|
15977
15976
|
}
|
|
@@ -15979,9 +15978,10 @@ declare module "@tiptap/core" {
|
|
|
15979
15978
|
|
|
15980
15979
|
declare module "@tiptap/core" {
|
|
15981
15980
|
interface Commands<ReturnType> {
|
|
15982
|
-
|
|
15983
|
-
|
|
15984
|
-
|
|
15981
|
+
indent: {
|
|
15982
|
+
setIndent: (level: number) => ReturnType;
|
|
15983
|
+
unsetIndent: () => ReturnType;
|
|
15984
|
+
outdent: () => ReturnType;
|
|
15985
15985
|
};
|
|
15986
15986
|
}
|
|
15987
15987
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { v as s, t, A as i, a as o, J as r, as as n, ar as l, at as d, B as S, w as C, y as g, L as m, az as u, aA as c, aJ as b, x as h, C as T, ay as P, aK as p, D as F, z as I, a3 as E, b4 as A, bb as B, K as L, b3 as y, E as D, b as W, i as k, ah as v, ai as _, G as O, ao as f, F as N, j as x, n as M, o as R, k as H, c as V, q as w, r as G, H as z, aN as U, aO as j, aC as q, an as K, aS as Q, b1 as X, au as Z, a6 as J, aM as Y, U as $, ac as aa, O as ea, bf as sa, V as ta, P as ia, M as oa, N as ra, av as na, R as la, a$ as da, b5 as Sa, S as Ca, a7 as ga, a8 as ma, _ as ua, $ as ca, a0 as ba, Z as ha, a1 as Ta, W as Pa, a2 as pa, a4 as Fa, a5 as Ia, a9 as Ea, aa as Aa, b9 as Ba, b8 as La, aq as ya, ap as Da, ax as Wa, aL as ka, aI as va, aw as _a, ab as Oa, aD as fa, ba as Na, bd as xa, aB as Ma, aG as Ra, aE as Ha, be as Va, aH as wa, aF as Ga, bc as za, d as Ua, af as ja, b7 as qa, b6 as Ka, ag as Qa, ak as Xa, f as Za, l as Ja, p as Ya, g as $a, h as ae, aV as ee, aT as se, al as te, am as ie, aR as oe, b2 as re, aU as ne, e as le, s as de, aZ as Se, aQ as Ce, aW as ge, ad as me, b0 as ue, u as ce, ae as be, aj as he, aP as Te, T as Pe, Q as pe, I as Fe, Y as Ie, X as Ee, a_ as Ae, aY as Be, aX as Le } from "./experimental-
|
|
1
|
+
import { v as s, t, A as i, a as o, J as r, as as n, ar as l, at as d, B as S, w as C, y as g, L as m, az as u, aA as c, aJ as b, x as h, C as T, ay as P, aK as p, D as F, z as I, a3 as E, b4 as A, bb as B, K as L, b3 as y, E as D, b as W, i as k, ah as v, ai as _, G as O, ao as f, F as N, j as x, n as M, o as R, k as H, c as V, q as w, r as G, H as z, aN as U, aO as j, aC as q, an as K, aS as Q, b1 as X, au as Z, a6 as J, aM as Y, U as $, ac as aa, O as ea, bf as sa, V as ta, P as ia, M as oa, N as ra, av as na, R as la, a$ as da, b5 as Sa, S as Ca, a7 as ga, a8 as ma, _ as ua, $ as ca, a0 as ba, Z as ha, a1 as Ta, W as Pa, a2 as pa, a4 as Fa, a5 as Ia, a9 as Ea, aa as Aa, b9 as Ba, b8 as La, aq as ya, ap as Da, ax as Wa, aL as ka, aI as va, aw as _a, ab as Oa, aD as fa, ba as Na, bd as xa, aB as Ma, aG as Ra, aE as Ha, be as Va, aH as wa, aF as Ga, bc as za, d as Ua, af as ja, b7 as qa, b6 as Ka, ag as Qa, ak as Xa, f as Za, l as Ja, p as Ya, g as $a, h as ae, aV as ee, aT as se, al as te, am as ie, aR as oe, b2 as re, aU as ne, e as le, s as de, aZ as Se, aQ as Ce, aW as ge, ad as me, b0 as ue, u as ce, ae as be, aj as he, aP as Te, T as Pe, Q as pe, I as Fe, Y as Ie, X as Ee, a_ as Ae, aY as Be, aX as Le } from "./experimental-Q9kMJ9wE.js";
|
|
2
2
|
import { dP as De, ep as We, eo as ke, eC as ve, dm as _e, em as Oe, ce as fe, c4 as Ne, cb as xe, eh as Me, bZ as Re, bZ as He, bS as Ve, ei as we, ch as Ge, e0 as ze, cj as Ue, eF as je, en as qe, ey as Ke, ez as Qe, d6 as Xe, eD as Ze, k as Je, dQ as Ye, cN as $e, el as as, er as es, eq as ss, T as ts, h as is, bT as os, eA as rs, eG as ns, eB as ls, eE as ds, ex as Ss, eu as Cs, ew as gs, es as ms, ej as us, ek as cs, ed as bs, ev as hs, et as Ts } from "./F0CanvasPanel-DjWQhvxj.js";
|
|
3
|
-
import { ay as ps, az as Fs, a6 as Is, a7 as Es, a4 as As, ah as Bs, C as Ls, a8 as ys, aK as Ds, ad as Ws, aJ as ks, ag as vs, a5 as _s, aw as Os, aM as fs, aL as Ns, ao as xs, ai as Ms, ar as Rs, aP as Hs, a3 as Vs, at as ws, aq as Gs, al as zs, aR as Us, am as js, au as qs, av as Ks, a9 as Qs, aN as Xs, aO as Zs, an as Js, ax as Ys, aG as $s, O as at, aI as et, aa as st, aT as tt, ac as it, ae as ot, ar as rt, aQ as nt, as as lt, ap as dt, aS as St, ab as Ct, W as gt, af as mt, a2 as ut, a0 as ct, a1 as bt, aC as ht, aD as Tt, aA as Pt, aH as pt, ak as Ft, aj as It, aE as Et, m as At, aB as Bt, aF as Lt, z as yt } from "./CoachmarkProvider-
|
|
3
|
+
import { ay as ps, az as Fs, a6 as Is, a7 as Es, a4 as As, ah as Bs, C as Ls, a8 as ys, aK as Ds, ad as Ws, aJ as ks, ag as vs, a5 as _s, aw as Os, aM as fs, aL as Ns, ao as xs, ai as Ms, ar as Rs, aP as Hs, a3 as Vs, at as ws, aq as Gs, al as zs, aR as Us, am as js, au as qs, av as Ks, a9 as Qs, aN as Xs, aO as Zs, an as Js, ax as Ys, aG as $s, O as at, aI as et, aa as st, aT as tt, ac as it, ae as ot, ar as rt, aQ as nt, as as lt, ap as dt, aS as St, ab as Ct, W as gt, af as mt, a2 as ut, a0 as ct, a1 as bt, aC as ht, aD as Tt, aA as Pt, aH as pt, ak as Ft, aj as It, aE as Et, m as At, aB as Bt, aF as Lt, z as yt } from "./CoachmarkProvider-2_pMSJdO.js";
|
|
4
4
|
export {
|
|
5
5
|
ps as AUTO_PER_PAGE_MAX,
|
|
6
6
|
Fs as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
|
package/dist/f0.d.ts
CHANGED
|
@@ -1786,11 +1786,25 @@ declare type BaseQuestionProps = {
|
|
|
1786
1786
|
* also locked when its containing section is locked.
|
|
1787
1787
|
*/
|
|
1788
1788
|
locked?: boolean;
|
|
1789
|
+
/**
|
|
1790
|
+
* Freezes only the named fields, leaving the rest of the question editable —
|
|
1791
|
+
* the actions menu included, so it can still be made optional, duplicated or
|
|
1792
|
+
* removed. Use it when the wording is what the consumer depends on: a
|
|
1793
|
+
* question whose answer feeds a validated field stops meaning the same thing
|
|
1794
|
+
* once it is renamed, while deleting it is a legitimate choice.
|
|
1795
|
+
*
|
|
1796
|
+
* `locked` is the stronger form and wins: a locked question (or one inside a
|
|
1797
|
+
* locked section) freezes everything regardless of this.
|
|
1798
|
+
*/
|
|
1799
|
+
lockedFields?: LockedFields;
|
|
1789
1800
|
/**
|
|
1790
1801
|
* Optional notice shown in the lock tooltip when the question is locked. Use
|
|
1791
1802
|
* it to say what this specific question is — it takes precedence over the
|
|
1792
1803
|
* parent section's `LockedSectionNotice` and over the default question notice
|
|
1793
1804
|
* from the i18n provider.
|
|
1805
|
+
*
|
|
1806
|
+
* Also used by `lockedFields`, where saying which part is frozen and why is
|
|
1807
|
+
* the only cue the author gets.
|
|
1794
1808
|
*/
|
|
1795
1809
|
lockedNote?: LockedQuestionNotice;
|
|
1796
1810
|
};
|
|
@@ -15379,6 +15393,13 @@ declare interface LocalizedOption<T> {
|
|
|
15379
15393
|
value: T;
|
|
15380
15394
|
}
|
|
15381
15395
|
|
|
15396
|
+
/**
|
|
15397
|
+
* The parts of a question that `lockedFields` can freeze on their own, without
|
|
15398
|
+
* locking the question outright. Both are the question's wording — what it asks
|
|
15399
|
+
* — as opposed to the answer it collects.
|
|
15400
|
+
*/
|
|
15401
|
+
export declare type LockedFields = ReadonlyArray<"title" | "description">;
|
|
15402
|
+
|
|
15382
15403
|
export declare type LockedQuestionNotice = {
|
|
15383
15404
|
description: string;
|
|
15384
15405
|
};
|
|
@@ -20570,10 +20591,9 @@ declare module "@tiptap/core" {
|
|
|
20570
20591
|
|
|
20571
20592
|
declare module "@tiptap/core" {
|
|
20572
20593
|
interface Commands<ReturnType> {
|
|
20573
|
-
|
|
20574
|
-
|
|
20575
|
-
|
|
20576
|
-
outdent: () => ReturnType;
|
|
20594
|
+
fontSize: {
|
|
20595
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
20596
|
+
unsetFontSize: () => ReturnType;
|
|
20577
20597
|
};
|
|
20578
20598
|
}
|
|
20579
20599
|
}
|
|
@@ -20581,9 +20601,10 @@ declare module "@tiptap/core" {
|
|
|
20581
20601
|
|
|
20582
20602
|
declare module "@tiptap/core" {
|
|
20583
20603
|
interface Commands<ReturnType> {
|
|
20584
|
-
|
|
20585
|
-
|
|
20586
|
-
|
|
20604
|
+
indent: {
|
|
20605
|
+
setIndent: (level: number) => ReturnType;
|
|
20606
|
+
unsetIndent: () => ReturnType;
|
|
20607
|
+
outdent: () => ReturnType;
|
|
20587
20608
|
};
|
|
20588
20609
|
}
|
|
20589
20610
|
}
|