@factorialco/f0-react 6.22.1 → 6.23.1
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-B0umIEqq.js → ChatPdfThumbnail-BS6BmrYf.js} +1 -1
- package/dist/{CoachmarkProvider-C_lomeTl.js → CoachmarkProvider-CGTyzNuB.js} +11612 -11481
- package/dist/{DocumentToolbar-Cvgj-Z0z.js → DocumentToolbar-CurruBn6.js} +2 -2
- package/dist/{DocxViewer-C6LHQg4y.js → DocxViewer-Dvz0Jo7o.js} +2 -2
- package/dist/{F0AiProcessingOverlay-mte_XVAK.js → F0AiProcessingOverlay-i1gfeTef.js} +1 -1
- package/dist/{F0CanvasPanel-DiaHNd_B.js → F0CanvasPanel-kyz8aCo6.js} +1546 -1525
- package/dist/{F0VideoPlayer-CKpPa_Rc.js → F0VideoPlayer-Cjdwg3I9.js} +1 -1
- package/dist/{SheetViewer-Bjzv09EU.js → SheetViewer-DaN0Ahv8.js} +2 -2
- package/dist/{TextViewer-BZFQtNUo.js → TextViewer-DY-zaYsl.js} +2 -2
- package/dist/ai.d.ts +50 -20
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +14 -14
- package/dist/component-status.js +3 -3
- package/dist/experimental.d.ts +258 -42
- package/dist/experimental.js +6700 -6419
- package/dist/f0.d.ts +51 -21
- package/dist/f0.js +9629 -9731
- package/dist/i18n-provider-defaults.d.ts +29 -14
- package/dist/i18n-provider-defaults.js +15 -0
- package/dist/index-O8kba4Zn.js +4 -0
- package/dist/{index-C8Toqg7r.js → index-PGrHyWOP.js} +3 -3
- package/dist/{pdfWorker-CYFzrT6A.js → pdfWorker-CDMnVGUJ.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-SVjMui0_.js +0 -4
|
@@ -1170,6 +1170,21 @@ export declare const defaultTranslations: {
|
|
|
1170
1170
|
readonly submit: "Submit";
|
|
1171
1171
|
readonly stepOf: "Step {{current}} of {{total}}";
|
|
1172
1172
|
};
|
|
1173
|
+
readonly widgets: {
|
|
1174
|
+
/** Turns a widget over to read what it is telling you (Home's `info`). */
|
|
1175
|
+
readonly whatThisMeans: "What this info means?";
|
|
1176
|
+
/** The button on that other side, which turns it back. */
|
|
1177
|
+
readonly gotIt: "Got it";
|
|
1178
|
+
/** The widget menu's own items, and the dialogs they open. */
|
|
1179
|
+
readonly editParams: "Edit params";
|
|
1180
|
+
readonly editParamsTitle: "Edit widget params";
|
|
1181
|
+
readonly removeWidget: "Remove widget";
|
|
1182
|
+
readonly addWidget: "Add widget";
|
|
1183
|
+
/** Heads the widgets a Home suggests, at the top of the picker. */
|
|
1184
|
+
readonly recommended: "Recommended";
|
|
1185
|
+
/** Why a drop onto a pinned widget was refused. `{{title}}` is its name. */
|
|
1186
|
+
readonly cannotMoveHere: "You can't move a widget here — {{title}} is locked.";
|
|
1187
|
+
};
|
|
1173
1188
|
readonly pdfViewer: {
|
|
1174
1189
|
readonly toolbar: "Document toolbar";
|
|
1175
1190
|
readonly previousPage: "Previous page";
|
|
@@ -1275,9 +1290,11 @@ declare namespace Calendar {
|
|
|
1275
1290
|
|
|
1276
1291
|
declare module "@tiptap/core" {
|
|
1277
1292
|
interface Commands<ReturnType> {
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1293
|
+
enhanceHighlight: {
|
|
1294
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
1295
|
+
placeholder?: string;
|
|
1296
|
+
}) => ReturnType;
|
|
1297
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
1281
1298
|
};
|
|
1282
1299
|
}
|
|
1283
1300
|
}
|
|
@@ -1285,11 +1302,9 @@ declare module "@tiptap/core" {
|
|
|
1285
1302
|
|
|
1286
1303
|
declare module "@tiptap/core" {
|
|
1287
1304
|
interface Commands<ReturnType> {
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
}) => ReturnType;
|
|
1292
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
1305
|
+
aiBlock: {
|
|
1306
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
1307
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
1293
1308
|
};
|
|
1294
1309
|
}
|
|
1295
1310
|
}
|
|
@@ -1327,10 +1342,8 @@ declare module "@tiptap/core" {
|
|
|
1327
1342
|
|
|
1328
1343
|
declare module "@tiptap/core" {
|
|
1329
1344
|
interface Commands<ReturnType> {
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
src: string;
|
|
1333
|
-
}) => ReturnType;
|
|
1345
|
+
transcript: {
|
|
1346
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
1334
1347
|
};
|
|
1335
1348
|
}
|
|
1336
1349
|
}
|
|
@@ -1338,8 +1351,10 @@ declare module "@tiptap/core" {
|
|
|
1338
1351
|
|
|
1339
1352
|
declare module "@tiptap/core" {
|
|
1340
1353
|
interface Commands<ReturnType> {
|
|
1341
|
-
|
|
1342
|
-
|
|
1354
|
+
videoEmbed: {
|
|
1355
|
+
setVideoEmbed: (options: {
|
|
1356
|
+
src: string;
|
|
1357
|
+
}) => ReturnType;
|
|
1343
1358
|
};
|
|
1344
1359
|
}
|
|
1345
1360
|
}
|
|
@@ -1193,6 +1193,21 @@ const e = {
|
|
|
1193
1193
|
submit: "Submit",
|
|
1194
1194
|
stepOf: "Step {{current}} of {{total}}"
|
|
1195
1195
|
},
|
|
1196
|
+
widgets: {
|
|
1197
|
+
/** Turns a widget over to read what it is telling you (Home's `info`). */
|
|
1198
|
+
whatThisMeans: "What this info means?",
|
|
1199
|
+
/** The button on that other side, which turns it back. */
|
|
1200
|
+
gotIt: "Got it",
|
|
1201
|
+
/** The widget menu's own items, and the dialogs they open. */
|
|
1202
|
+
editParams: "Edit params",
|
|
1203
|
+
editParamsTitle: "Edit widget params",
|
|
1204
|
+
removeWidget: "Remove widget",
|
|
1205
|
+
addWidget: "Add widget",
|
|
1206
|
+
/** Heads the widgets a Home suggests, at the top of the picker. */
|
|
1207
|
+
recommended: "Recommended",
|
|
1208
|
+
/** Why a drop onto a pinned widget was refused. `{{title}}` is its name. */
|
|
1209
|
+
cannotMoveHere: "You can't move a widget here — {{title}} is locked."
|
|
1210
|
+
},
|
|
1196
1211
|
pdfViewer: {
|
|
1197
1212
|
toolbar: "Document toolbar",
|
|
1198
1213
|
previousPage: "Previous page",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-
|
|
1
|
+
import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-kyz8aCo6.js";
|
|
2
2
|
import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
3
3
|
import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
|
|
4
|
-
import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-
|
|
4
|
+
import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-CDMnVGUJ.js";
|
|
5
5
|
import { F as We } from "./Printer-BD-FEi_2.js";
|
|
6
6
|
import { d as ae } from "./tooltip-Cik7KBQT.js";
|
|
7
7
|
import './index.css';const Oe = ({
|
|
@@ -222,7 +222,7 @@ import './index.css';const Oe = ({
|
|
|
222
222
|
}), i;
|
|
223
223
|
};
|
|
224
224
|
Ee();
|
|
225
|
-
const qe = J(() => import("./SheetViewer-
|
|
225
|
+
const qe = J(() => import("./SheetViewer-DaN0Ahv8.js")), Ge = J(() => import("./DocxViewer-Dvz0Jo7o.js")), Ze = J(() => import("./TextViewer-DY-zaYsl.js")), oe = 48, se = ne(
|
|
226
226
|
(o, a) => {
|
|
227
227
|
const { kind: e = "pdf", mimeType: i, ...l } = o;
|
|
228
228
|
if (e === "pdf") return /* @__PURE__ */ t(le, { ref: a, ...l });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useReducer, forwardRef, useRef, useImperativeHandle, useEffect, useCallback, useMemo, useContext, useLayoutEffect } from "react";
|
|
3
3
|
import { e as clsx } from "./tooltip-Cik7KBQT.js";
|
|
4
|
-
import { W as invariant } from "./F0CanvasPanel-
|
|
5
|
-
import { d as dequal } from "./CoachmarkProvider-
|
|
4
|
+
import { W as invariant } from "./F0CanvasPanel-kyz8aCo6.js";
|
|
5
|
+
import { d as dequal } from "./CoachmarkProvider-CGTyzNuB.js";
|
|
6
6
|
import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
|
|
7
7
|
import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
|
|
8
8
|
import './pdfWorker.css';var pdf$1 = { exports: {} };
|