@factorialco/f0-react 6.78.4 → 6.79.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-1sQ8mPnz.js → ChatPdfThumbnail-Dt5DmhB5.js} +1 -1
- package/dist/{CoachmarkProvider-CLjAtBfx.js → CoachmarkProvider-CmKBxdi1.js} +4226 -4216
- package/dist/{DocumentToolbar-B2ahM-V8.js → DocumentToolbar-dM2z37aa.js} +1 -1
- package/dist/{DocxViewer-TkXSTFLg.js → DocxViewer-B0uyM_D4.js} +1 -1
- package/dist/{LocationMap-DBgkJ9Sl.js → LocationMap-BAR9Umg5.js} +1 -1
- package/dist/{SheetViewer-B8tTzx2r.js → SheetViewer-CRLdU2V5.js} +1 -1
- package/dist/{TextViewer-Bz_KnJRI.js → TextViewer-BDGEnAeh.js} +1 -1
- package/dist/ai.d.ts +8 -8
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +1 -1
- package/dist/{experimental-BIo4L58d.js → experimental-QYDpPHwK.js} +6819 -6828
- package/dist/experimental.d.ts +19 -17
- package/dist/experimental.js +12 -12
- package/dist/f0.d.ts +8 -8
- package/dist/f0.js +4 -4
- package/dist/i18n-provider-defaults.d.ts +8 -8
- package/dist/{index-DHXGJEI9.js → index-EJ5SKMtO.js} +2 -2
- package/dist/{pdfWorker-BIXS51Wa.js → pdfWorker-Bd6vp6e3.js} +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-DfOKlyiQ.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-EJ5SKMtO.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-DfOKlyiQ.js";
|
|
5
|
-
import { u as x, D as y } from "./DocumentToolbar-
|
|
5
|
+
import { u as x, D as y } from "./DocumentToolbar-dM2z37aa.js";
|
|
6
6
|
const V = ({
|
|
7
7
|
url: o,
|
|
8
8
|
filename: d,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { m } from "./experimental-
|
|
2
|
+
import { m } from "./experimental-QYDpPHwK.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-DfOKlyiQ.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-dM2z37aa.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-DfOKlyiQ.js";
|
|
4
|
-
import { u as y, D as g } from "./DocumentToolbar-
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-dM2z37aa.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
|
}
|
|
@@ -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
|
}
|