@factorialco/f0-react 12.9.1 → 12.10.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/{ChatPostComposerDialog-CWTlUs36.js → ChatPostComposerDialog-DcmLrQk6.js} +2 -2
- package/dist/{CoachmarkProvider-BMunnTvE.js → CoachmarkProvider-XfLjB3dH.js} +27678 -27678
- package/dist/{DocumentToolbar-iHZHYbFM.js → DocumentToolbar-CqbY6eID.js} +2 -2
- package/dist/{DocxViewer-C1yw4Yqt.js → DocxViewer-CqHgSExq.js} +1 -1
- package/dist/{F0AiProcessingOverlay-cdj77_VP.js → F0AiProcessingOverlay-H23WHd7F.js} +1227 -1123
- package/dist/{F0CanvasPanel-DPEwyR89.js → F0CanvasPanel--hLKeQvg.js} +7639 -7637
- package/dist/{F0DocumentViewer-sRCjFb2O.js → F0DocumentViewer-BN-2IVgz.js} +5 -5
- package/dist/F0DocumentViewer-D1G3M2J_.js +3 -0
- package/dist/{F0Map-ZSo-alK8.js → F0Map-hvgCUGk8.js} +13 -6
- package/dist/{F0VideoPlayer-B1-tEFuq.js → F0VideoPlayer-CNp5hXgp.js} +275 -275
- package/dist/F0VideoPlayer-D4bZBBLK.js +1 -0
- package/dist/{Map-B_Hw6nIS.js → Map-eIXVKc1x.js} +6 -6
- package/dist/{PdfThumbnail-BWqOqM04.js → PdfThumbnail-CCSmwxQU.js} +1 -1
- package/dist/{SheetViewer-B8JTSi3B.js → SheetViewer-BN5UYkEZ.js} +3 -3
- package/dist/{TextViewer-CEZd1H8u.js → TextViewer-Bt0_dYB-.js} +1 -1
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +3 -3
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +4494 -4306
- package/dist/{exports-BdFDYdp1.d.ts → exports-BByQBwpi.d.ts} +13 -2
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +171 -171
- package/dist/{index-DIwa_k8B.d.ts → index-D3nEDg8x.d.ts} +15 -1
- package/dist/{maplibre-BSY0r3_z.js → maplibre-Bywi9z2G.js} +1 -1
- package/dist/{pdfWorker-DRgGoc3T.js → pdfWorker-CKgxOaCl.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-hr47rxX3.d.ts → types-UMYBr8Mi.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/F0DocumentViewer-CzNVxjsJ.js +0 -3
- package/dist/F0VideoPlayer-B4Nu7ugx.js +0 -1
|
@@ -4733,11 +4733,25 @@ type AiChatProviderReturnValue = {
|
|
|
4733
4733
|
isCanvasCovered?: boolean;
|
|
4734
4734
|
/** Open the canvas panel with the given content */
|
|
4735
4735
|
openCanvas: (content: CanvasContent) => void;
|
|
4736
|
+
/**
|
|
4737
|
+
* `openCanvas` that says whether it opened: false while a conversation or
|
|
4738
|
+
* a call holds the panel. OPTIONAL so hosts building this value by hand
|
|
4739
|
+
* keep compiling.
|
|
4740
|
+
*/
|
|
4741
|
+
tryOpenCanvas?: (content: CanvasContent) => boolean;
|
|
4736
4742
|
/**
|
|
4737
4743
|
* Close the canvas panel. The chat stays where the canvas left it: docked
|
|
4738
|
-
* beside a docked canvas, fullscreen under a covering one.
|
|
4744
|
+
* beside a docked canvas, fullscreen under a covering one. For closes the
|
|
4745
|
+
* host makes on its own (a new thread, a failed tool).
|
|
4739
4746
|
*/
|
|
4740
4747
|
closeCanvas: () => void;
|
|
4748
|
+
/**
|
|
4749
|
+
* The user closing the canvas (its X, the card that opened it, Escape).
|
|
4750
|
+
* Like `closeCanvas`, and a chat that was fullscreen when the canvas
|
|
4751
|
+
* opened goes back to fullscreen, as in ChatGPT and Claude. OPTIONAL so
|
|
4752
|
+
* hosts building this value by hand keep compiling.
|
|
4753
|
+
*/
|
|
4754
|
+
dismissCanvas?: () => void;
|
|
4741
4755
|
/** The currently active mini-game (easter egg), or null */
|
|
4742
4756
|
activeGame: "pong" | null;
|
|
4743
4757
|
/** Launch a mini-game overlay */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
2
|
import { t } from "./dist-Cuwaibqg.js";
|
|
3
|
-
import { s as n } from "./F0Map-
|
|
3
|
+
import { s as n } from "./F0Map-hvgCUGk8.js";
|
|
4
4
|
import './maplibre-gl.css';import './maplibre.css';/* empty css */
|
|
5
5
|
import { t as r } from "./maplibre-gl-DVldSYfz.js";
|
|
6
6
|
//#region ../../node_modules/.pnpm/@mapbox+mapbox-gl-rtl-text@0.2.3_mapbox-gl@1.13.3/node_modules/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js?url
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
2
|
import { z as clsx } from "./tooltip-BX4dSfeL.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Oi as invariant } from "./F0CanvasPanel--hLKeQvg.js";
|
|
4
4
|
import { t as dequal } from "./dist-Dt-cTb6D.js";
|
|
5
5
|
import { createContext, forwardRef, useCallback, useContext, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|