@factorialco/f0-react 7.10.0 → 7.12.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-D7pTdFg5.js → ChatPdfThumbnail-DLaIYO-I.js} +1 -1
- package/dist/{ChatPostComposerDialog-C8ExuW4c.js → ChatPostComposerDialog-4FOpj4qy.js} +3 -3
- package/dist/{CoachmarkProvider-DJQHQFqk.js → CoachmarkProvider-C-z3xlg6.js} +1 -1
- package/dist/{DocumentToolbar-BjaiEUEi.js → DocumentToolbar-l7PxkK4o.js} +2 -2
- package/dist/{DocxViewer-BMVjKj4H.js → DocxViewer-CBiKF5rZ.js} +2 -2
- package/dist/{F0AiProcessingOverlay-Dj55I0Gt.js → F0AiProcessingOverlay-BYUYtCeT.js} +1 -1
- package/dist/{F0CanvasPanel-CuTymScT.js → F0CanvasPanel-B52A84Yd.js} +414 -403
- package/dist/{F0VideoPlayer-0aZy2NDP.js → F0VideoPlayer-CYkJgfvF.js} +1 -1
- package/dist/{LocationMap-DptfAWGn.js → LocationMap-P9l5SS9_.js} +1 -1
- package/dist/{SheetViewer-CjualyWJ.js → SheetViewer-DiM7dzkD.js} +2 -2
- package/dist/{TextViewer-4yJEabSH.js → TextViewer-6MkpYRV9.js} +2 -2
- package/dist/ai.d.ts +11 -8
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +1 -1
- package/dist/{experimental-BycvsCRG.js → experimental-DtqXX6Z2.js} +11588 -11312
- package/dist/experimental.d.ts +128 -15
- package/dist/experimental.js +195 -192
- package/dist/f0.d.ts +19 -8
- package/dist/f0.js +257 -257
- package/dist/i18n-provider-defaults.d.ts +11 -8
- package/dist/i18n-provider-defaults.js +3 -0
- package/dist/index-YxKgC6R7.js +4 -0
- package/dist/{index-DWIUIuqD.js → index-iNjzeXPY.js} +3 -3
- package/dist/{pdfWorker-Ch2XTIq-.js → pdfWorker-5KFe_TGk.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +2 -2
- package/dist/index-D5k02dJT.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as W, v as je, x as Ge, n as $, y as Xe, z as Ze, A as qe, B as Ye, E as Je, G as Qe, H as et, J as tt, K as nt, L as rt, M as at, N as ot, O as ye, Q as st, R as Ce, l as it, U as ct, V as lt, W as ut, w as dt, s as ft } from "./F0CanvasPanel-
|
|
1
|
+
import { u as W, v as je, x as Ge, n as $, y as Xe, z as Ze, A as qe, B as Ye, E as Je, G as Qe, H as et, J as tt, K as nt, L as rt, M as at, N as ot, O as ye, Q as st, R as Ce, l as it, U as ct, V as lt, W as ut, w as dt, s as ft } from "./F0CanvasPanel-B52A84Yd.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-DtqXX6Z2.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-B52A84Yd.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-l7PxkK4o.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-B52A84Yd.js";
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-l7PxkK4o.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
|
@@ -2258,6 +2258,9 @@ export declare const defaultTranslations: {
|
|
|
2258
2258
|
readonly tabs: {
|
|
2259
2259
|
readonly label: "Sidebar sections";
|
|
2260
2260
|
};
|
|
2261
|
+
readonly rail: {
|
|
2262
|
+
readonly label: "Modules";
|
|
2263
|
+
};
|
|
2261
2264
|
readonly companySelector: {
|
|
2262
2265
|
readonly label: "Select a company";
|
|
2263
2266
|
readonly placeholder: "Select a company";
|
|
@@ -6018,11 +6021,9 @@ declare namespace Calendar {
|
|
|
6018
6021
|
|
|
6019
6022
|
declare module "@tiptap/core" {
|
|
6020
6023
|
interface Commands<ReturnType> {
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
}) => ReturnType;
|
|
6025
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
6024
|
+
aiBlock: {
|
|
6025
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
6026
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
6026
6027
|
};
|
|
6027
6028
|
}
|
|
6028
6029
|
}
|
|
@@ -6030,9 +6031,11 @@ declare module "@tiptap/core" {
|
|
|
6030
6031
|
|
|
6031
6032
|
declare module "@tiptap/core" {
|
|
6032
6033
|
interface Commands<ReturnType> {
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6034
|
+
enhanceHighlight: {
|
|
6035
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
6036
|
+
placeholder?: string;
|
|
6037
|
+
}) => ReturnType;
|
|
6038
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
6036
6039
|
};
|
|
6037
6040
|
}
|
|
6038
6041
|
}
|
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-B52A84Yd.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-BYUYtCeT.js";
|
|
4
4
|
export {
|
|
5
5
|
g as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -296,11 +296,9 @@ declare namespace Calendar {
|
|
|
296
296
|
|
|
297
297
|
declare module "@tiptap/core" {
|
|
298
298
|
interface Commands<ReturnType> {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}) => ReturnType;
|
|
303
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
299
|
+
aiBlock: {
|
|
300
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
301
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
304
302
|
};
|
|
305
303
|
}
|
|
306
304
|
}
|
|
@@ -308,9 +306,11 @@ declare module "@tiptap/core" {
|
|
|
308
306
|
|
|
309
307
|
declare module "@tiptap/core" {
|
|
310
308
|
interface Commands<ReturnType> {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
309
|
+
enhanceHighlight: {
|
|
310
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
311
|
+
placeholder?: string;
|
|
312
|
+
}) => ReturnType;
|
|
313
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
316
|
}
|