@factorialco/f0-react 6.101.2 → 6.103.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-zxHjJctW.js → ChatPdfThumbnail-Dqpxvcpc.js} +1 -1
- package/dist/{CoachmarkProvider-Dt-xwyUd.js → CoachmarkProvider-DGy3PDQC.js} +2 -2
- package/dist/{DocumentToolbar-9MZJ_0gE.js → DocumentToolbar-BzcsaSRy.js} +2 -2
- package/dist/{DocxViewer-CnMw7Kp7.js → DocxViewer-DSIcaNFc.js} +2 -2
- package/dist/{F0AiProcessingOverlay-lMyE6TIC.js → F0AiProcessingOverlay-DTHL0mWj.js} +1 -1
- package/dist/{F0CanvasPanel-B_HMcMEG.js → F0CanvasPanel-_KOYIR1A.js} +11941 -11934
- package/dist/{F0VideoPlayer-HFG3ytJ9.js → F0VideoPlayer-CG0UXzZ5.js} +1 -1
- package/dist/{LocationMap-DpNGORRC.js → LocationMap-BvWzK6xZ.js} +1 -1
- package/dist/{SheetViewer-BGamAllb.js → SheetViewer-5qfXHvHj.js} +2 -2
- package/dist/{TextViewer-Bvrw8aNI.js → TextViewer-BAUovrxm.js} +2 -2
- package/dist/ai.d.ts +33 -8
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +87 -87
- package/dist/{experimental-BFxuVsNg.js → experimental-mgjNL16g.js} +17485 -16955
- package/dist/experimental.d.ts +180 -13
- package/dist/experimental.js +211 -208
- package/dist/f0.d.ts +49 -8
- package/dist/f0.js +10 -10
- package/dist/i18n-provider-defaults.d.ts +33 -8
- package/dist/i18n-provider-defaults.js +25 -0
- package/dist/{index-KLoWYkXy.js → index-DGyyxMZ3.js} +3 -3
- package/dist/index-YvXFQn52.js +4 -0
- package/dist/{pdfWorker-DyK9U2EG.js → pdfWorker-BPYNxM1P.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-CsqCdIhX.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as W, t as je, v as Ge, m as $, x as Xe, y as Ze, z as qe, A as Ye, B as Je, E as Qe, G as et, H as tt, J as nt, K as rt, L as at, M as ot, N as ye, O as st, Q as Ce, l as it, R as ct, U as lt, V as ut, w as dt, r as ft } from "./F0CanvasPanel-
|
|
1
|
+
import { u as W, t as je, v as Ge, m as $, x as Xe, y as Ze, z as qe, A as Ye, B as Je, E as Qe, G as et, H as tt, J as nt, K as rt, L as at, M as ot, N as ye, O as st, Q as Ce, l as it, R as ct, U as lt, V as ut, w as dt, r as ft } from "./F0CanvasPanel-_KOYIR1A.js";
|
|
2
2
|
import { jsxs as S, jsx as c } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as re, useId as mt, useState as x, useRef as F, useEffect as N, useMemo as J, useCallback as T } from "react";
|
|
4
4
|
import { d as H, f as ue } from "./tooltip-CMBdJvJA.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { m } from "./experimental-
|
|
2
|
+
import { m } from "./experimental-mgjNL16g.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);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
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
|
-
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-
|
|
3
|
+
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-_KOYIR1A.js";
|
|
4
4
|
import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
|
|
5
|
-
import { u as _, D as j } from "./DocumentToolbar-
|
|
5
|
+
import { u as _, D as j } from "./DocumentToolbar-BzcsaSRy.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
|
-
import { u as x, S as p, p as w } from "./F0CanvasPanel-
|
|
4
|
-
import { u as y, D as g } from "./DocumentToolbar-
|
|
3
|
+
import { u as x, S as p, p as w } from "./F0CanvasPanel-_KOYIR1A.js";
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-BzcsaSRy.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
|
@@ -2975,6 +2975,31 @@ export declare const defaultTranslations: {
|
|
|
2975
2975
|
readonly searchCountry: "Search country or dial code";
|
|
2976
2976
|
readonly noResults: "No country found";
|
|
2977
2977
|
};
|
|
2978
|
+
readonly locationInput: {
|
|
2979
|
+
readonly country: "Country";
|
|
2980
|
+
readonly addressLine1: "Address line 1";
|
|
2981
|
+
readonly addressLine2: "Address line 2";
|
|
2982
|
+
readonly city: "City";
|
|
2983
|
+
readonly state: "Region";
|
|
2984
|
+
readonly postalCode: "Postal code";
|
|
2985
|
+
readonly placeholder: "Enter an address";
|
|
2986
|
+
readonly selectCountry: "Select a country";
|
|
2987
|
+
readonly searchCountry: "Search country";
|
|
2988
|
+
readonly noCountryResults: "No country found";
|
|
2989
|
+
readonly noResults: "No addresses found";
|
|
2990
|
+
readonly searchHint: "Type an address to search";
|
|
2991
|
+
readonly noResultsHelp: "Can't find an address?";
|
|
2992
|
+
readonly enterManually: "Enter it manually";
|
|
2993
|
+
readonly addressLine1Placeholder: "Enter a street and number";
|
|
2994
|
+
readonly addressLine2Placeholder: "Enter a floor or unit";
|
|
2995
|
+
readonly postalCodePlaceholder: "e.g., 08001";
|
|
2996
|
+
readonly searching: "Searching addresses";
|
|
2997
|
+
readonly searchError: "Couldn't load addresses. Try again.";
|
|
2998
|
+
readonly resultsCount: {
|
|
2999
|
+
readonly one: "{{count}} address found";
|
|
3000
|
+
readonly other: "{{count}} addresses found";
|
|
3001
|
+
};
|
|
3002
|
+
};
|
|
2978
3003
|
readonly imageUpload: {
|
|
2979
3004
|
readonly uploading: "Uploading...";
|
|
2980
3005
|
readonly uploadError: "Upload failed";
|
|
@@ -5957,11 +5982,9 @@ declare module "@tiptap/core" {
|
|
|
5957
5982
|
|
|
5958
5983
|
declare module "@tiptap/core" {
|
|
5959
5984
|
interface Commands<ReturnType> {
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
}) => ReturnType;
|
|
5964
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
5985
|
+
fontSize: {
|
|
5986
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
5987
|
+
unsetFontSize: () => ReturnType;
|
|
5965
5988
|
};
|
|
5966
5989
|
}
|
|
5967
5990
|
}
|
|
@@ -5969,9 +5992,11 @@ declare module "@tiptap/core" {
|
|
|
5969
5992
|
|
|
5970
5993
|
declare module "@tiptap/core" {
|
|
5971
5994
|
interface Commands<ReturnType> {
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5995
|
+
enhanceHighlight: {
|
|
5996
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
5997
|
+
placeholder?: string;
|
|
5998
|
+
}) => ReturnType;
|
|
5999
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
5975
6000
|
};
|
|
5976
6001
|
}
|
|
5977
6002
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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 m } from "./F0CanvasPanel-
|
|
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 m } from "./F0CanvasPanel-_KOYIR1A.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as g, C as p, t as v, s as I, v as T, y as f, z as y, l as S, i as x, q as b, D as k, E as B, p as H, r as L, j as O, e as V, g as w, k as D, F as M, T as z, w as E, h as j, a as q, n as G, m as R, o as U, B as J, b as K, f as N, x as Q, c as W, d as X, u as Y } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as g, C as p, t as v, s as I, v as T, y as f, z as y, l as S, i as x, q as b, D as k, E as B, p as H, r as L, j as O, e as V, g as w, k as D, F as M, T as z, w as E, h as j, a as q, n as G, m as R, o as U, B as J, b as K, f as N, x as Q, c as W, d as X, u as Y } from "./F0AiProcessingOverlay-DTHL0mWj.js";
|
|
4
4
|
export {
|
|
5
5
|
g 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
|
}
|