@factorialco/f0-react 9.5.2 → 9.7.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-8s2Le3pz.js → ChatPdfThumbnail-yraFe2ng.js} +1 -1
- package/dist/{ChatPostComposerDialog-C65JZV8Q.js → ChatPostComposerDialog-BblH-Tcx.js} +3 -3
- package/dist/{CoachmarkProvider-DxlZHkga.js → CoachmarkProvider--PuyIWtf.js} +14984 -14660
- package/dist/{DocumentToolbar-C5TrJERi.js → DocumentToolbar-DYdZp2dy.js} +2 -2
- package/dist/{DocxViewer-B5QPRhae.js → DocxViewer-CYCgMBas.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BB7vWJUN.js → F0AiProcessingOverlay-BGBmeXP8.js} +833 -852
- package/dist/{F0CanvasPanel-CebMUA6-.js → F0CanvasPanel-ItEQhrkL.js} +11297 -11278
- package/dist/{F0DocumentViewer-wy_8k7F8.js → F0DocumentViewer-D_NRhkaf.js} +3 -3
- package/dist/{F0Map-Dgj4Hdj0.js → F0Map-xGynCAG0.js} +4 -4
- package/dist/{F0VideoPlayer-uvCGbl-R.js → F0VideoPlayer-BXv9qSDV.js} +2 -2
- package/dist/{SheetViewer-a62c1qpd.js → SheetViewer-CWJ7YC8p.js} +3 -3
- package/dist/{TextViewer-DQzbYd-J.js → TextViewer-ed5C0tNK.js} +2 -2
- package/dist/ai.d.ts +15 -15
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +15 -15
- package/dist/component-status.js +6 -6
- package/dist/{experimental-BjDkIQrU.js → experimental-0__hxgY-.js} +6116 -5876
- package/dist/experimental.d.ts +190 -15
- package/dist/experimental.js +288 -286
- package/dist/f0.d.ts +27 -27
- package/dist/f0.js +9724 -10031
- package/dist/i18n-provider-defaults.d.ts +15 -15
- package/dist/{index-DD5anxnp.js → index-B7p223Ae.js} +2 -2
- package/dist/index-C87L5a9L.js +8 -0
- package/dist/index-DeRPe3lA.js +4 -0
- package/dist/{index--y-m1zd0.js → index-PFXXhVLQ.js} +3 -3
- package/dist/{index-ByoHGgu8.js → index-cGDWPhTc.js} +1 -1
- package/dist/{pdfWorker-ZseFB0UO.js → pdfWorker-DcgOJiCp.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-BhU-0fSe.js +0 -8
- package/dist/index-DA65v5fO.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as P } from "react/jsx-runtime";
|
|
2
2
|
import { lazy as X, forwardRef as ce, Suspense as Ce, useState as U, useRef as A, useCallback as w, useMemo as ie, useEffect as V } from "react";
|
|
3
|
-
import { S as E, A as _e, u as Y, B as Te, x as Le, j as Fe, k as De, l as Ve, E as Ee, m as He, G as Ue, H as We, J as Oe, K as je } from "./F0CanvasPanel-
|
|
4
|
-
import { e as $e, D as Be, P as Me } from "./pdfWorker-
|
|
3
|
+
import { S as E, A as _e, u as Y, B as Te, x as Le, j as Fe, k as De, l as Ve, E as Ee, m as He, G as Ue, H as We, J as Oe, K as je } from "./F0CanvasPanel-ItEQhrkL.js";
|
|
4
|
+
import { e as $e, D as Be, P as Me } from "./pdfWorker-DcgOJiCp.js";
|
|
5
5
|
import { d as G } from "./tooltip-VHD1kZdF.js";
|
|
6
6
|
import { F as ze } from "./Printer-BD-FEi_2.js";
|
|
7
7
|
import './F0DocumentViewer.css';const ut = [
|
|
@@ -272,7 +272,7 @@ import './F0DocumentViewer.css';const ut = [
|
|
|
272
272
|
}), i;
|
|
273
273
|
};
|
|
274
274
|
$e();
|
|
275
|
-
const tt = X(() => import("./SheetViewer-
|
|
275
|
+
const tt = X(() => import("./SheetViewer-CWJ7YC8p.js")), ot = X(() => import("./DocxViewer-CYCgMBas.js")), nt = X(() => import("./TextViewer-ed5C0tNK.js")), se = 48, rt = 150, ue = ce((e, t) => {
|
|
276
276
|
const { kind: o = "pdf", mimeType: i, toolbar: l = "top", ...s } = e;
|
|
277
277
|
if (o === "pdf")
|
|
278
278
|
return /* @__PURE__ */ r(me, { ref: t, toolbar: l, ...s });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as B, Fragment as De } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as ie, useMemo as ze, useEffect as j, useState as E, useRef as N, useLayoutEffect as Hn, useContext as Xn, createContext as Yn, useCallback as O, useId as Un, useImperativeHandle as Gn } from "react";
|
|
3
|
-
import { c as Zn, d as Kn, e as qn } from "./CoachmarkProvider
|
|
4
|
-
import { z as we, a6 as Vn, w as en, a7 as nt, a8 as lt, a9 as Oe, aa as oe, ab as tn, u as se, A as Fe, ac as Jn, ad as Qn, ae as ea, j as ta, af as na, ag as nn, ah as aa, ai as oa, aj as Rt, ak as an, al as la } from "./F0CanvasPanel-
|
|
3
|
+
import { c as Zn, d as Kn, e as qn } from "./CoachmarkProvider--PuyIWtf.js";
|
|
4
|
+
import { z as we, a6 as Vn, w as en, a7 as nt, a8 as lt, a9 as Oe, aa as oe, ab as tn, u as se, A as Fe, ac as Jn, ad as Qn, ae as ea, j as ta, af as na, ag as nn, ah as aa, ai as oa, aj as Rt, ak as an, al as la } from "./F0CanvasPanel-ItEQhrkL.js";
|
|
5
5
|
import { d as D, f as ra } from "./tooltip-VHD1kZdF.js";
|
|
6
6
|
import { createPortal as ia } from "react-dom";
|
|
7
7
|
const sa = (e, t) => ({
|
|
@@ -1527,11 +1527,11 @@ const Lo = {
|
|
|
1527
1527
|
}, []);
|
|
1528
1528
|
return j(() => () => a.current?.disconnect(), []), { containerRef: l, isDark: e };
|
|
1529
1529
|
}, Ya = {
|
|
1530
|
-
maplibre: () => import("./index-
|
|
1530
|
+
maplibre: () => import("./index-B7p223Ae.js").then((e) => e.createMaplibreAdapter),
|
|
1531
1531
|
// Google needs its script in the page before a map can be constructed, so the
|
|
1532
1532
|
// loader resolves only once the API is up - which is what keeps the factory
|
|
1533
1533
|
// itself synchronous for every engine.
|
|
1534
|
-
google: (e) => import("./index-
|
|
1534
|
+
google: (e) => import("./index-cGDWPhTc.js").then((t) => t.loadGoogleAdapter(e))
|
|
1535
1535
|
}, at = /* @__PURE__ */ new Map(), Ua = (e, t) => {
|
|
1536
1536
|
const a = at.get(e);
|
|
1537
1537
|
if (a)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as W, L as je, M as Xe, A as $, N as Ge, O as Ze, Q as Ye, R as qe, U as Qe, V as Je, W as et, X as tt, Y as nt, Z as rt, _ as at, $ as ot, a0 as st, a1 as ye, a2 as it, a3 as Ce, m as ct, a4 as lt, a5 as dt, w as ut, G as ft, H as mt } from "./F0CanvasPanel-
|
|
1
|
+
import { u as W, L as je, M as Xe, A as $, N as Ge, O as Ze, Q as Ye, R as qe, U as Qe, V as Je, W as et, X as tt, Y as nt, Z as rt, _ as at, $ as ot, a0 as st, a1 as ye, a2 as it, a3 as Ce, m as ct, a4 as lt, a5 as dt, w as ut, G as ft, H as mt } from "./F0CanvasPanel-ItEQhrkL.js";
|
|
2
2
|
import { jsxs as R, jsx as c } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as re, useId as pt, useState as x, useRef as F, useEffect as _, useMemo as Q, useCallback as A } from "react";
|
|
4
4
|
import { d as H, f as de } from "./tooltip-VHD1kZdF.js";
|
|
5
5
|
import { F as Pe, a as ht, b as gt } from "./VolumeMuted-UfTwt2zn.js";
|
|
6
|
-
import { b as vt } from "./CoachmarkProvider
|
|
6
|
+
import { b as vt } from "./CoachmarkProvider--PuyIWtf.js";
|
|
7
7
|
function Re(e) {
|
|
8
8
|
return Array.isArray(e) && e.every(
|
|
9
9
|
(t) => typeof t == "object" && t !== null && "locale" in t && "value" in t
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r, jsxs as n, Fragment as v } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m, useEffect as E } from "react";
|
|
3
|
-
import { u as F, T as S, h as T, S as V, i as A } from "./F0CanvasPanel-
|
|
4
|
-
import { d as D } from "./F0DocumentViewer-
|
|
3
|
+
import { u as F, T as S, h as T, S as V, i as A } from "./F0CanvasPanel-ItEQhrkL.js";
|
|
4
|
+
import { d as D } from "./F0DocumentViewer-D_NRhkaf.js";
|
|
5
5
|
import { f as L, c as R } from "./sheetPreview-DC9RRwv0.js";
|
|
6
|
-
import { u as z, D as U } from "./DocumentToolbar-
|
|
6
|
+
import { u as z, D as U } from "./DocumentToolbar-DYdZp2dy.js";
|
|
7
7
|
const w = 1e3, _ = 100, $ = ({
|
|
8
8
|
url: a,
|
|
9
9
|
filename: f,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useEffect as x } from "react";
|
|
3
|
-
import { u as w, S as y, p as g } from "./F0CanvasPanel-
|
|
4
|
-
import { u as k, D as v } from "./DocumentToolbar-
|
|
3
|
+
import { u as w, S as y, p as g } from "./F0CanvasPanel-ItEQhrkL.js";
|
|
4
|
+
import { u as k, D as v } from "./DocumentToolbar-DYdZp2dy.js";
|
|
5
5
|
const q = 2 * 1024 * 1024, N = [
|
|
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
|
@@ -6856,8 +6856,8 @@ declare namespace Calendar {
|
|
|
6856
6856
|
|
|
6857
6857
|
declare module "@tiptap/core" {
|
|
6858
6858
|
interface Commands<ReturnType> {
|
|
6859
|
-
|
|
6860
|
-
|
|
6859
|
+
transcript: {
|
|
6860
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
6861
6861
|
};
|
|
6862
6862
|
}
|
|
6863
6863
|
}
|
|
@@ -6865,11 +6865,10 @@ declare module "@tiptap/core" {
|
|
|
6865
6865
|
|
|
6866
6866
|
declare module "@tiptap/core" {
|
|
6867
6867
|
interface Commands<ReturnType> {
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6868
|
+
videoEmbed: {
|
|
6869
|
+
setVideoEmbed: (options: {
|
|
6870
|
+
src: string;
|
|
6871
6871
|
}) => ReturnType;
|
|
6872
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
6873
6872
|
};
|
|
6874
6873
|
}
|
|
6875
6874
|
}
|
|
@@ -6898,9 +6897,11 @@ declare module "@tiptap/core" {
|
|
|
6898
6897
|
|
|
6899
6898
|
declare module "@tiptap/core" {
|
|
6900
6899
|
interface Commands<ReturnType> {
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6900
|
+
enhanceHighlight: {
|
|
6901
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
6902
|
+
placeholder?: string;
|
|
6903
|
+
}) => ReturnType;
|
|
6904
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
6904
6905
|
};
|
|
6905
6906
|
}
|
|
6906
6907
|
}
|
|
@@ -6908,8 +6909,9 @@ declare module "@tiptap/core" {
|
|
|
6908
6909
|
|
|
6909
6910
|
declare module "@tiptap/core" {
|
|
6910
6911
|
interface Commands<ReturnType> {
|
|
6911
|
-
|
|
6912
|
-
|
|
6912
|
+
fontSize: {
|
|
6913
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
6914
|
+
unsetFontSize: () => ReturnType;
|
|
6913
6915
|
};
|
|
6914
6916
|
}
|
|
6915
6917
|
}
|
|
@@ -6917,10 +6919,8 @@ declare module "@tiptap/core" {
|
|
|
6917
6919
|
|
|
6918
6920
|
declare module "@tiptap/core" {
|
|
6919
6921
|
interface Commands<ReturnType> {
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
src: string;
|
|
6923
|
-
}) => ReturnType;
|
|
6922
|
+
moodTracker: {
|
|
6923
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
6924
6924
|
};
|
|
6925
6925
|
}
|
|
6926
6926
|
}
|
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-ItEQhrkL.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 S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-BGBmeXP8.js";
|
|
4
4
|
export {
|
|
5
5
|
g as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -307,8 +307,8 @@ declare namespace Calendar {
|
|
|
307
307
|
|
|
308
308
|
declare module "@tiptap/core" {
|
|
309
309
|
interface Commands<ReturnType> {
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
transcript: {
|
|
311
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
314
|
}
|
|
@@ -316,11 +316,10 @@ declare module "@tiptap/core" {
|
|
|
316
316
|
|
|
317
317
|
declare module "@tiptap/core" {
|
|
318
318
|
interface Commands<ReturnType> {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
319
|
+
videoEmbed: {
|
|
320
|
+
setVideoEmbed: (options: {
|
|
321
|
+
src: string;
|
|
322
322
|
}) => ReturnType;
|
|
323
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
324
323
|
};
|
|
325
324
|
}
|
|
326
325
|
}
|
|
@@ -349,9 +348,11 @@ declare module "@tiptap/core" {
|
|
|
349
348
|
|
|
350
349
|
declare module "@tiptap/core" {
|
|
351
350
|
interface Commands<ReturnType> {
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
351
|
+
enhanceHighlight: {
|
|
352
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
353
|
+
placeholder?: string;
|
|
354
|
+
}) => ReturnType;
|
|
355
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
355
356
|
};
|
|
356
357
|
}
|
|
357
358
|
}
|
|
@@ -359,8 +360,9 @@ declare module "@tiptap/core" {
|
|
|
359
360
|
|
|
360
361
|
declare module "@tiptap/core" {
|
|
361
362
|
interface Commands<ReturnType> {
|
|
362
|
-
|
|
363
|
-
|
|
363
|
+
fontSize: {
|
|
364
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
365
|
+
unsetFontSize: () => ReturnType;
|
|
364
366
|
};
|
|
365
367
|
}
|
|
366
368
|
}
|
|
@@ -368,10 +370,8 @@ declare module "@tiptap/core" {
|
|
|
368
370
|
|
|
369
371
|
declare module "@tiptap/core" {
|
|
370
372
|
interface Commands<ReturnType> {
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
src: string;
|
|
374
|
-
}) => ReturnType;
|
|
373
|
+
moodTracker: {
|
|
374
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
377
|
}
|