@factorialco/f0-react 6.77.0 → 6.78.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/{ChatPdfThumbnail-BKpM67UT.js → ChatPdfThumbnail-ODVBD3UM.js} +1 -1
- package/dist/{CoachmarkProvider-cb4zDKAI.js → CoachmarkProvider-Dc9bLx-9.js} +4879 -4884
- package/dist/{DocumentToolbar-BjyPo7vr.js → DocumentToolbar-Catt63Mm.js} +1 -1
- package/dist/{DocxViewer-Cmuc_uIr.js → DocxViewer-CRnnSEeV.js} +1 -1
- package/dist/{F0AiProcessingOverlay-B_TY-Nim.js → F0AiProcessingOverlay-C_gt37K7.js} +5 -0
- package/dist/{LocationMap-D81VwvgR.js → LocationMap-CGuo64TN.js} +1 -1
- package/dist/{SheetViewer-CrU8-lzU.js → SheetViewer-BZOzBH0H.js} +1 -1
- package/dist/{TextViewer-BSSu1Lyl.js → TextViewer-DUsXfw-G.js} +1 -1
- package/dist/ai.d.ts +8 -8
- package/dist/ai.js +1 -1
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +1 -1
- package/dist/{experimental-CxGQBOjf.js → experimental-57ph1Emv.js} +2317 -2251
- package/dist/experimental.d.ts +26 -14
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +8 -8
- package/dist/f0.js +6 -6
- package/dist/i18n-provider-defaults.d.ts +8 -8
- package/dist/{index-YWa61Bk7.js → index-CjHtTYU7.js} +2 -2
- package/dist/{pdfWorker-wXgn8AZk.js → pdfWorker-Dvz2gTyn.js} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useCallback as m, useMemo as p } from "react";
|
|
3
3
|
import { u as x, i as w, j as k, k as S, l as C } from "./F0CanvasPanel-CxXzc-sR.js";
|
|
4
|
-
import { n as g, a as h, f as v, T as r, d as F } from "./index-
|
|
4
|
+
import { n as g, a as h, f as v, T as r, d as F } from "./index-CjHtTYU7.js";
|
|
5
5
|
const D = () => {
|
|
6
6
|
const [t, a] = u(1), n = m(
|
|
7
7
|
() => a((e) => g(e) ?? e),
|
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as g, useState as h, useEffect as b } from "react";
|
|
3
3
|
import { r as p } from "./docx-preview-BaRDMyPN.js";
|
|
4
4
|
import { u as v, S as w } from "./F0CanvasPanel-CxXzc-sR.js";
|
|
5
|
-
import { u as x, D as y } from "./DocumentToolbar-
|
|
5
|
+
import { u as x, D as y } from "./DocumentToolbar-Catt63Mm.js";
|
|
6
6
|
const V = ({
|
|
7
7
|
url: o,
|
|
8
8
|
filename: d,
|
|
@@ -7605,6 +7605,7 @@ const sl = ({
|
|
|
7605
7605
|
w1,
|
|
7606
7606
|
{
|
|
7607
7607
|
variant: "outline",
|
|
7608
|
+
type: "button",
|
|
7608
7609
|
label: c.ai.clarifyingQuestion.skip,
|
|
7609
7610
|
onClick: s,
|
|
7610
7611
|
disabled: r
|
|
@@ -7615,6 +7616,7 @@ const sl = ({
|
|
|
7615
7616
|
{
|
|
7616
7617
|
disabled: !e || r,
|
|
7617
7618
|
variant: "default",
|
|
7619
|
+
type: "button",
|
|
7618
7620
|
label: n,
|
|
7619
7621
|
onClick: o
|
|
7620
7622
|
}
|
|
@@ -7873,6 +7875,7 @@ const il = ({
|
|
|
7873
7875
|
{
|
|
7874
7876
|
variant: "ghost",
|
|
7875
7877
|
size: "sm",
|
|
7878
|
+
type: "button",
|
|
7876
7879
|
onClick: a,
|
|
7877
7880
|
disabled: n,
|
|
7878
7881
|
label: l.ai.clarifyingQuestion.back,
|
|
@@ -7886,6 +7889,7 @@ const il = ({
|
|
|
7886
7889
|
{
|
|
7887
7890
|
variant: "ghost",
|
|
7888
7891
|
size: "sm",
|
|
7892
|
+
type: "button",
|
|
7889
7893
|
onClick: c,
|
|
7890
7894
|
disabled: o || !s,
|
|
7891
7895
|
label: l.ai.clarifyingQuestion.next,
|
|
@@ -7899,6 +7903,7 @@ const il = ({
|
|
|
7899
7903
|
{
|
|
7900
7904
|
variant: "ghost",
|
|
7901
7905
|
size: "sm",
|
|
7906
|
+
type: "button",
|
|
7902
7907
|
onClick: d,
|
|
7903
7908
|
label: l.actions.cancel,
|
|
7904
7909
|
hideLabel: !0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { m } from "./experimental-
|
|
2
|
+
import { m } from "./experimental-57ph1Emv.js";
|
|
3
3
|
import { useRef as l, useEffect as i, useState as b } from "react";
|
|
4
4
|
const k = "https://tiles.openfreemap.org/styles/positron", y = "https://tiles.openfreemap.org/styles/dark", R = 15, d = (n) => {
|
|
5
5
|
const [c, s] = b(!1);
|
|
@@ -2,7 +2,7 @@ import { jsxs as a, jsx as r, Fragment as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as i, useEffect as k } from "react";
|
|
3
3
|
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-CxXzc-sR.js";
|
|
4
4
|
import { f as z, c as E } from "./sheetPreview-5qeAOp0W.js";
|
|
5
|
-
import { u as _, D as j } from "./DocumentToolbar-
|
|
5
|
+
import { u as _, D as j } from "./DocumentToolbar-Catt63Mm.js";
|
|
6
6
|
const g = 1e3, F = 100, G = ({
|
|
7
7
|
url: n,
|
|
8
8
|
filename: y,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as b, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as _, useEffect as h } from "react";
|
|
3
3
|
import { u as x, S as p, p as w } from "./F0CanvasPanel-CxXzc-sR.js";
|
|
4
|
-
import { u as y, D as g } from "./DocumentToolbar-
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-Catt63Mm.js";
|
|
5
5
|
const k = 2 * 1024 * 1024, v = [
|
|
6
6
|
"[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
|
|
7
7
|
"[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
|
package/dist/ai.d.ts
CHANGED
|
@@ -5783,11 +5783,9 @@ declare module "@tiptap/core" {
|
|
|
5783
5783
|
|
|
5784
5784
|
declare module "@tiptap/core" {
|
|
5785
5785
|
interface Commands<ReturnType> {
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
}) => ReturnType;
|
|
5790
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
5786
|
+
fontSize: {
|
|
5787
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
5788
|
+
unsetFontSize: () => ReturnType;
|
|
5791
5789
|
};
|
|
5792
5790
|
}
|
|
5793
5791
|
}
|
|
@@ -5795,9 +5793,11 @@ declare module "@tiptap/core" {
|
|
|
5795
5793
|
|
|
5796
5794
|
declare module "@tiptap/core" {
|
|
5797
5795
|
interface Commands<ReturnType> {
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5796
|
+
enhanceHighlight: {
|
|
5797
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
5798
|
+
placeholder?: string;
|
|
5799
|
+
}) => ReturnType;
|
|
5800
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
5801
5801
|
};
|
|
5802
5802
|
}
|
|
5803
5803
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as h } from "./F0CanvasPanel-CxXzc-sR.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-C_gt37K7.js";
|
|
4
4
|
export {
|
|
5
5
|
P as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -306,11 +306,9 @@ declare module "@tiptap/core" {
|
|
|
306
306
|
|
|
307
307
|
declare module "@tiptap/core" {
|
|
308
308
|
interface Commands<ReturnType> {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}) => ReturnType;
|
|
313
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
309
|
+
fontSize: {
|
|
310
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
311
|
+
unsetFontSize: () => ReturnType;
|
|
314
312
|
};
|
|
315
313
|
}
|
|
316
314
|
}
|
|
@@ -318,9 +316,11 @@ declare module "@tiptap/core" {
|
|
|
318
316
|
|
|
319
317
|
declare module "@tiptap/core" {
|
|
320
318
|
interface Commands<ReturnType> {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
319
|
+
enhanceHighlight: {
|
|
320
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
321
|
+
placeholder?: string;
|
|
322
|
+
}) => ReturnType;
|
|
323
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
326
|
}
|