@factorialco/f0-react 6.72.0 → 6.74.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-DvBseexl.js → ChatPdfThumbnail-jHuIcveK.js} +1 -1
- package/dist/{CoachmarkProvider-vsCLDtM0.js → CoachmarkProvider-BPzXN23Q.js} +1 -1
- package/dist/{DocumentToolbar-ClvH95Ff.js → DocumentToolbar-CFu-9LfD.js} +2 -2
- package/dist/{DocxViewer-D7lqbzvu.js → DocxViewer-5hVVYtfL.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BSwxbiHI.js → F0AiProcessingOverlay-Bf7r7g6g.js} +1 -1
- package/dist/{F0CanvasPanel-D2x3eIDs.js → F0CanvasPanel-BVQo7wYW.js} +3421 -3418
- package/dist/{F0VideoPlayer-BRt9sqbD.js → F0VideoPlayer-CIcks3fF.js} +4 -2
- package/dist/{LocationMap-CmeLiGd8.js → LocationMap-BQftcwfg.js} +1 -1
- package/dist/{SheetViewer-Bt-HwstC.js → SheetViewer-DGEwEauW.js} +2 -2
- package/dist/{TextViewer-B4nJcn7T.js → TextViewer-cyfJZeVE.js} +2 -2
- package/dist/ai.d.ts +9 -6
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +6 -6
- package/dist/component-status.js +1 -1
- package/dist/{experimental-D277_AGp.js → experimental-Cxp_BrIJ.js} +16712 -16509
- package/dist/experimental.d.ts +243 -15
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +39 -11
- package/dist/f0.js +14065 -13922
- package/dist/i18n-provider-defaults.d.ts +9 -6
- package/dist/i18n-provider-defaults.js +5 -0
- package/dist/{index-CGnhm50h.js → index-C_u3jOQi.js} +3 -3
- package/dist/index-Cap6_pwI.js +4 -0
- package/dist/{pdfWorker-DJxTZFgb.js → pdfWorker-UxYjFreM.js} +2 -2
- package/package.json +1 -1
- package/dist/index-V7AAZjDt.js +0 -4
|
@@ -1,10 +1,12 @@
|
|
|
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 dt, w as ut, 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 dt, w as ut, r as ft } from "./F0CanvasPanel-BVQo7wYW.js";
|
|
2
2
|
import { jsxs as R, jsx as l } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as re, useId as mt, useState as x, useRef as O, useEffect as _, useMemo as J, useCallback as M } from "react";
|
|
4
4
|
import { d as H, f as de } from "./tooltip-DTpaXpXW.js";
|
|
5
5
|
import { F as pt, a as Pe, b as ht, c as gt } from "./VolumeMuted-DKLKhxyd.js";
|
|
6
6
|
function Se(e) {
|
|
7
|
-
return Array.isArray(e)
|
|
7
|
+
return Array.isArray(e) && e.every(
|
|
8
|
+
(t) => typeof t == "object" && t !== null && "locale" in t && "value" in t
|
|
9
|
+
);
|
|
8
10
|
}
|
|
9
11
|
function ee(e, t) {
|
|
10
12
|
return e === void 0 ? void 0 : Se(e) ? e.length === 0 ? void 0 : ((t ? e.find((n) => n.locale === t) : void 0) ?? e[0]).value : e;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { m } from "./experimental-
|
|
2
|
+
import { m } from "./experimental-Cxp_BrIJ.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-BVQo7wYW.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-CFu-9LfD.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-BVQo7wYW.js";
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-CFu-9LfD.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
|
@@ -2202,6 +2202,8 @@ export declare const defaultTranslations: {
|
|
|
2202
2202
|
readonly details: "Recording details";
|
|
2203
2203
|
readonly summary: "Summary";
|
|
2204
2204
|
readonly transcription: "Transcription";
|
|
2205
|
+
readonly jumpTo: "Jump to {{time}}";
|
|
2206
|
+
readonly transcriptHint: "Select a line to move the recording to that moment";
|
|
2205
2207
|
readonly language: "Language";
|
|
2206
2208
|
readonly audio: "Audio";
|
|
2207
2209
|
};
|
|
@@ -2685,6 +2687,7 @@ export declare const defaultTranslations: {
|
|
|
2685
2687
|
readonly closeSearch: "Close search";
|
|
2686
2688
|
readonly noResults: "No chats found";
|
|
2687
2689
|
readonly backToLatest: "Jump to latest";
|
|
2690
|
+
readonly readOnly: "You can't send messages in this conversation";
|
|
2688
2691
|
readonly online: "Online";
|
|
2689
2692
|
readonly muted: "Muted";
|
|
2690
2693
|
readonly mute: "Mute";
|
|
@@ -5822,8 +5825,10 @@ declare module "@tiptap/core" {
|
|
|
5822
5825
|
|
|
5823
5826
|
declare module "@tiptap/core" {
|
|
5824
5827
|
interface Commands<ReturnType> {
|
|
5825
|
-
|
|
5826
|
-
|
|
5828
|
+
videoEmbed: {
|
|
5829
|
+
setVideoEmbed: (options: {
|
|
5830
|
+
src: string;
|
|
5831
|
+
}) => ReturnType;
|
|
5827
5832
|
};
|
|
5828
5833
|
}
|
|
5829
5834
|
}
|
|
@@ -5831,10 +5836,8 @@ declare module "@tiptap/core" {
|
|
|
5831
5836
|
|
|
5832
5837
|
declare module "@tiptap/core" {
|
|
5833
5838
|
interface Commands<ReturnType> {
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
src: string;
|
|
5837
|
-
}) => ReturnType;
|
|
5839
|
+
transcript: {
|
|
5840
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
5838
5841
|
};
|
|
5839
5842
|
}
|
|
5840
5843
|
}
|
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 h } 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 h } from "./F0CanvasPanel-BVQo7wYW.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-Bf7r7g6g.js";
|
|
4
4
|
export {
|
|
5
5
|
P as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -348,8 +348,10 @@ declare module "@tiptap/core" {
|
|
|
348
348
|
|
|
349
349
|
declare module "@tiptap/core" {
|
|
350
350
|
interface Commands<ReturnType> {
|
|
351
|
-
|
|
352
|
-
|
|
351
|
+
videoEmbed: {
|
|
352
|
+
setVideoEmbed: (options: {
|
|
353
|
+
src: string;
|
|
354
|
+
}) => ReturnType;
|
|
353
355
|
};
|
|
354
356
|
}
|
|
355
357
|
}
|
|
@@ -357,10 +359,8 @@ declare module "@tiptap/core" {
|
|
|
357
359
|
|
|
358
360
|
declare module "@tiptap/core" {
|
|
359
361
|
interface Commands<ReturnType> {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
src: string;
|
|
363
|
-
}) => ReturnType;
|
|
362
|
+
transcript: {
|
|
363
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
364
364
|
};
|
|
365
365
|
}
|
|
366
366
|
}
|