@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.
@@ -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
- aiBlock: {
1279
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1280
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
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
- enhanceHighlight: {
1289
- setEnhanceHighlight: (from: number, to: number, options?: {
1290
- placeholder?: string;
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
- videoEmbed: {
1331
- setVideoEmbed: (options: {
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
- transcript: {
1342
- insertTranscript: (data: TranscriptData) => ReturnType;
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",
@@ -0,0 +1,4 @@
1
+ import { F as r } from "./F0VideoPlayer-Cjdwg3I9.js";
2
+ export {
3
+ r as F0VideoPlayer
4
+ };
@@ -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-DiaHNd_B.js";
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-CYFzrT6A.js";
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-Bjzv09EU.js")), Ge = J(() => import("./DocxViewer-C6LHQg4y.js")), Ze = J(() => import("./TextViewer-BZFQtNUo.js")), oe = 48, se = ne(
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-DiaHNd_B.js";
5
- import { d as dequal } from "./CoachmarkProvider-C_lomeTl.js";
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: {} };