@factorialco/f0-react 6.86.1 → 6.86.2
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-DMrLFaJG.js → ChatPdfThumbnail-CFZ3gnIr.js} +1 -1
- package/dist/{CoachmarkProvider-C1ThdYtx.js → CoachmarkProvider-cxtcGLKH.js} +8052 -8003
- package/dist/{DocumentToolbar-DGo8KFh8.js → DocumentToolbar-rbcB5P9J.js} +1 -1
- package/dist/{DocxViewer-526zxZzj.js → DocxViewer-D8Z_XerO.js} +1 -1
- package/dist/{LocationMap-Dzf7kBNf.js → LocationMap-BaM7xU_A.js} +1 -1
- package/dist/{SheetViewer-DXZpH_rT.js → SheetViewer-DGnOsXy1.js} +1 -1
- package/dist/{TextViewer-BeWzwWyt.js → TextViewer-vyy_MpAK.js} +1 -1
- package/dist/ai.d.ts +12 -12
- package/dist/component-status.d.ts +12 -12
- package/dist/component-status.js +1 -1
- package/dist/{experimental-CbI4xOlR.js → experimental-Bk_3pqm7.js} +4 -4
- package/dist/experimental.d.ts +12 -12
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +12 -12
- package/dist/f0.js +4 -4
- package/dist/i18n-provider-defaults.d.ts +12 -12
- package/dist/{index-DzJOka8F.js → index-B7QJ0lVS.js} +2 -2
- package/dist/{pdfWorker-WziKKwHr.js → pdfWorker-BLRokSdZ.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-1EHjTOQx.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-B7QJ0lVS.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-1EHjTOQx.js";
|
|
5
|
-
import { u as x, D as y } from "./DocumentToolbar-
|
|
5
|
+
import { u as x, D as y } from "./DocumentToolbar-rbcB5P9J.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-Bk_3pqm7.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-1EHjTOQx.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-rbcB5P9J.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-1EHjTOQx.js";
|
|
4
|
-
import { u as y, D as g } from "./DocumentToolbar-
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-rbcB5P9J.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
|
@@ -5789,9 +5789,11 @@ declare module "@tiptap/core" {
|
|
|
5789
5789
|
|
|
5790
5790
|
declare module "@tiptap/core" {
|
|
5791
5791
|
interface Commands<ReturnType> {
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5792
|
+
enhanceHighlight: {
|
|
5793
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
5794
|
+
placeholder?: string;
|
|
5795
|
+
}) => ReturnType;
|
|
5796
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
5795
5797
|
};
|
|
5796
5798
|
}
|
|
5797
5799
|
}
|
|
@@ -5799,10 +5801,9 @@ declare module "@tiptap/core" {
|
|
|
5799
5801
|
|
|
5800
5802
|
declare module "@tiptap/core" {
|
|
5801
5803
|
interface Commands<ReturnType> {
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
outdent: () => ReturnType;
|
|
5804
|
+
fontSize: {
|
|
5805
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
5806
|
+
unsetFontSize: () => ReturnType;
|
|
5806
5807
|
};
|
|
5807
5808
|
}
|
|
5808
5809
|
}
|
|
@@ -5810,11 +5811,10 @@ declare module "@tiptap/core" {
|
|
|
5810
5811
|
|
|
5811
5812
|
declare module "@tiptap/core" {
|
|
5812
5813
|
interface Commands<ReturnType> {
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
5814
|
+
indent: {
|
|
5815
|
+
setIndent: (level: number) => ReturnType;
|
|
5816
|
+
unsetIndent: () => ReturnType;
|
|
5817
|
+
outdent: () => ReturnType;
|
|
5818
5818
|
};
|
|
5819
5819
|
}
|
|
5820
5820
|
}
|
|
@@ -306,9 +306,11 @@ declare module "@tiptap/core" {
|
|
|
306
306
|
|
|
307
307
|
declare module "@tiptap/core" {
|
|
308
308
|
interface Commands<ReturnType> {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
309
|
+
enhanceHighlight: {
|
|
310
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
311
|
+
placeholder?: string;
|
|
312
|
+
}) => ReturnType;
|
|
313
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
312
314
|
};
|
|
313
315
|
}
|
|
314
316
|
}
|
|
@@ -316,10 +318,9 @@ declare module "@tiptap/core" {
|
|
|
316
318
|
|
|
317
319
|
declare module "@tiptap/core" {
|
|
318
320
|
interface Commands<ReturnType> {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
outdent: () => ReturnType;
|
|
321
|
+
fontSize: {
|
|
322
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
323
|
+
unsetFontSize: () => ReturnType;
|
|
323
324
|
};
|
|
324
325
|
}
|
|
325
326
|
}
|
|
@@ -327,11 +328,10 @@ declare module "@tiptap/core" {
|
|
|
327
328
|
|
|
328
329
|
declare module "@tiptap/core" {
|
|
329
330
|
interface Commands<ReturnType> {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
331
|
+
indent: {
|
|
332
|
+
setIndent: (level: number) => ReturnType;
|
|
333
|
+
unsetIndent: () => ReturnType;
|
|
334
|
+
outdent: () => ReturnType;
|
|
335
335
|
};
|
|
336
336
|
}
|
|
337
337
|
}
|