@factorialco/f0-react 11.10.1 → 11.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/{ChatPostComposerDialog-s4prfEkC.js → ChatPostComposerDialog-3j5zits7.js} +4 -4
- package/dist/{CoachmarkProvider-DxDuinVA.js → CoachmarkProvider-BqDQTbBm.js} +2044 -2044
- package/dist/{DocumentToolbar-BuctnVHN.js → DocumentToolbar-BVXSCk6Q.js} +5 -5
- package/dist/{DocxViewer-CAGBzliC.js → DocxViewer-CJW0E-Dc.js} +2 -2
- package/dist/{F0AiProcessingOverlay-Dl_56dL9.js → F0AiProcessingOverlay-C4TJg7Ty.js} +511 -511
- package/dist/{F0CanvasPanel-C8MuYy_8.js → F0CanvasPanel-LsH7koo5.js} +2677 -2654
- package/dist/{F0DocumentViewer-C9gCxjxk.js → F0DocumentViewer-C559_ubP.js} +35 -35
- package/dist/F0DocumentViewer-DGjeNx30.js +3 -0
- package/dist/{F0Map-D4esyFFE.js → F0Map-CQndAu_Q.js} +100 -100
- package/dist/{F0Select-dBwkgMBc.js → F0Select-CY_CcXQ2.js} +1030 -1030
- package/dist/{F0Text-D0_mpu2P.js → F0Text-MLpPbWjh.js} +12 -12
- package/dist/{F0VideoPlayer-CUUQmvVm.js → F0VideoPlayer-BQG87AwT.js} +38 -38
- package/dist/F0VideoPlayer-iQW4yQlk.js +1 -0
- package/dist/{Map-DFCc5qR0.js → Map-DrtKJWqp.js} +17 -17
- package/dist/{PdfThumbnail-D09QDkNP.js → PdfThumbnail-V-2qCeAL.js} +1 -1
- package/dist/{SheetViewer-Cvd2xwE5.js → SheetViewer-nMaleah4.js} +4 -4
- package/dist/{TextViewer-Bk0Xz1nv.js → TextViewer-DktXuGxN.js} +2 -2
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +5 -5
- package/dist/component-status.js +1 -1
- package/dist/{dist-r1yM6TIs.js → dist-BB2MlAD_.js} +1 -1
- package/dist/experimental.d.ts +69 -4
- package/dist/experimental.js +5983 -5645
- package/dist/{exports-DsGJH4CD.d.ts → exports-YFGEaBWt.d.ts} +1 -1
- package/dist/f0.d.ts +4 -4
- package/dist/f0.js +326 -326
- package/dist/{i18n-provider-defaults-D7TVD4xk.js → i18n-provider-defaults-DD76Cjbd.js} +5 -0
- package/dist/{i18n-provider-defaults-14y_lreJ.d.ts → i18n-provider-defaults-iAsTLZ8q.d.ts} +6 -0
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-CL4pclEl.d.ts → index-Br3UrbPk.d.ts} +18 -1
- package/dist/{maplibre-B5inXAW8.js → maplibre-BaPc6h37.js} +1 -1
- package/dist/{pdfWorker-5t9rytw2.js → pdfWorker-Di6OBsJs.js} +1 -1
- package/dist/{popover-DquDnBKd.js → popover-C8rmkngm.js} +2 -2
- package/dist/{posts-DgzHTT_B.js → posts-DGtDUrKT.js} +2 -0
- package/dist/styles.css +1 -1
- package/dist/{types-Di2cYBLz.d.ts → types-CpvhOpCV.d.ts} +2 -2
- package/dist/{useData-BEZesy_8.js → useData-DqN-h3iG.js} +287 -287
- package/package.json +1 -1
- package/dist/F0DocumentViewer-CUkiuREP.js +0 -3
- package/dist/F0VideoPlayer-rLZ5qvuq.js +0 -1
|
@@ -832,6 +832,11 @@ var e = {
|
|
|
832
832
|
},
|
|
833
833
|
chat: {
|
|
834
834
|
placeholder: "Write something here..",
|
|
835
|
+
tabs: {
|
|
836
|
+
label: "Conversation sections",
|
|
837
|
+
messages: "Messages",
|
|
838
|
+
unread: "{{label}}, {{count}} unread"
|
|
839
|
+
},
|
|
835
840
|
searchPlaceholder: "Search messages",
|
|
836
841
|
closeSearch: "Close search",
|
|
837
842
|
noResults: "No chats found",
|
|
@@ -859,6 +859,12 @@ declare const defaultTranslations: {
|
|
|
859
859
|
};
|
|
860
860
|
readonly chat: {
|
|
861
861
|
readonly placeholder: "Write something here..";
|
|
862
|
+
readonly tabs: {
|
|
863
|
+
readonly label: "Conversation sections";
|
|
864
|
+
readonly messages: "Messages";
|
|
865
|
+
/** A tab with its unread count, for screen readers. */
|
|
866
|
+
readonly unread: "{{label}}, {{count}} unread";
|
|
867
|
+
};
|
|
862
868
|
readonly searchPlaceholder: "Search messages";
|
|
863
869
|
readonly closeSearch: "Close search";
|
|
864
870
|
readonly noResults: "No chats found";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TranslationsType, r as defaultTranslations, t as TranslationKey } from "./i18n-provider-defaults-
|
|
1
|
+
import { n as TranslationsType, r as defaultTranslations, t as TranslationKey } from "./i18n-provider-defaults-iAsTLZ8q.js";
|
|
2
2
|
export { TranslationKey, TranslationsType, defaultTranslations };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as defaultTranslations } from "./i18n-provider-defaults-
|
|
1
|
+
export { t as defaultTranslations } from "./i18n-provider-defaults-DD76Cjbd.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TranslationsType, t as TranslationKey } from "./i18n-provider-defaults-
|
|
1
|
+
import { n as TranslationsType, t as TranslationKey } from "./i18n-provider-defaults-iAsTLZ8q.js";
|
|
2
2
|
import * as React$2 from "react";
|
|
3
3
|
import React$1, { AnchorHTMLAttributes, ComponentProps, ComponentType, FC, ForwardRefExoticComponent, ForwardedRef, HTMLAttributeAnchorTarget, HTMLAttributes, PropsWithChildren, ReactElement, ReactNode, RefAttributes, RefObject, SVGProps } from "react";
|
|
4
4
|
import { baseColors, f1Colors } from "@factorialco/f0-core";
|
|
@@ -556,6 +556,16 @@ type CanvasContentBase = {
|
|
|
556
556
|
* Defaults to the docked split.
|
|
557
557
|
*/
|
|
558
558
|
coversChat?: boolean;
|
|
559
|
+
/**
|
|
560
|
+
* Keep this docked content mounted, out of view, while the chat is
|
|
561
|
+
* fullscreen, and bring it back as it was when the chat docks again. For
|
|
562
|
+
* content the reader works on and would lose by expanding the chat, such as
|
|
563
|
+
* an editor with unsaved changes.
|
|
564
|
+
*
|
|
565
|
+
* Defaults to dropping the content when the chat goes fullscreen. Ignored
|
|
566
|
+
* with `coversChat`, which fullscreen always dismisses.
|
|
567
|
+
*/
|
|
568
|
+
keepsUnderFullscreen?: boolean;
|
|
559
569
|
};
|
|
560
570
|
/**
|
|
561
571
|
* Dashboard canvas content — renders an analytics dashboard.
|
|
@@ -4716,6 +4726,13 @@ type AiChatProviderReturnValue = {
|
|
|
4716
4726
|
} & Pick<AiChatState, "agent" | "chatHeader" | "chatMessages" | "chatInput" | "chatOverlay" | "disclaimer" | "resizable" | "entityRefs" | "canvasActions" | "canvasEntities" | "credits" | "employeeCredits" | "creditWarning" | "fileAttachments" | "filePreviews" | "onTranscribe"> & {
|
|
4717
4727
|
/** The current canvas content, or null when canvas is closed */
|
|
4718
4728
|
canvasContent: CanvasContent | null;
|
|
4729
|
+
/**
|
|
4730
|
+
* Whether the fullscreen chat is covering the open canvas. The canvas stays
|
|
4731
|
+
* mounted out of view and comes back when the chat docks again.
|
|
4732
|
+
*
|
|
4733
|
+
* OPTIONAL for the same reason as `isResizing` above.
|
|
4734
|
+
*/
|
|
4735
|
+
isCanvasCovered?: boolean;
|
|
4719
4736
|
/** Open the canvas panel with the given content */
|
|
4720
4737
|
openCanvas: (content: CanvasContent) => void;
|
|
4721
4738
|
/**
|
|
@@ -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-CQndAu_Q.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 { Oi as invariant } from "./F0CanvasPanel-
|
|
3
|
+
import { Oi as invariant } from "./F0CanvasPanel-LsH7koo5.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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, n as t, o as n, r, t as i } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
2
|
import { L as a, R as o, i as s, n as c, r as l, s as u, t as d, z as f } from "./tooltip-BX4dSfeL.js";
|
|
3
|
-
import { t as p } from "./i18n-provider-defaults-
|
|
3
|
+
import { t as p } from "./i18n-provider-defaults-DD76Cjbd.js";
|
|
4
4
|
import * as m from "react";
|
|
5
5
|
import h, { Children as g, Component as _, Fragment as v, cloneElement as y, createContext as b, createElement as x, forwardRef as S, isValidElement as C, memo as w, useCallback as T, useContext as E, useEffect as D, useId as O, useImperativeHandle as k, useInsertionEffect as A, useLayoutEffect as j, useMemo as M, useRef as N, useState as P } from "react";
|
|
6
6
|
import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
|
|
@@ -19318,4 +19318,4 @@ var UP = wP, WP = EP, GP = OP, KP = MP, qP = PP, JP = VP, YP = UP, XP = GP, ZP =
|
|
|
19318
19318
|
});
|
|
19319
19319
|
$P.displayName = qP.displayName;
|
|
19320
19320
|
//#endregion
|
|
19321
|
-
export {
|
|
19321
|
+
export { HD as $, Le as $n, Ed as $t, yM as A, tc as An, Tp as At, EM as B, ui as Bn, nf as Bt, UM as C, Yl as Cn, IC as Ct, RM as D, _l as Dn, Ux as Dt, zM as E, Kl as En, YS as Et, SM as F, Oi as Fn, pf as Ft, _M as G, Hn as Gn, Hd as Gt, jM as H, dr as Hn, df as Ht, wM as I, Di as In, af as It, CO as J, kt as Jn, jd as Jt, hM as K, Vn as Kn, Fd as Kt, MM as L, Ei as Ln, of as Lt, xM as M, lo as Mn, gf as Mt, kM as N, Wa as Nn, vf as Nt, FM as O, Pc as On, ex as Ot, NM as P, Ri as Pn, yf as Pt, WD as Q, V as Qn, kd as Qt, PM as R, wi as Rn, sf as Rt, XM as S, pu as Sn, HC as St, HM as T, ql as Tn, CC as Tt, bM as U, qn as Un, qd as Ut, TM as V, U as Vn, lf as Vt, OM as W, Yn as Wn, Gd as Wt, pO as X, nt as Xn, Dd as Xt, mO as Y, at as Yn, Md as Yt, tO as Z, Be as Zn, Od as Zt, iN as _, Uu as _n, QC as _t, XP as a, dd as an, ge as ar, vD as at, $M as b, Ou as bn, YC as bt, KP as c, nd as cn, fe as cr, jw as ct, YN as d, $u as dn, ie as dr, mw as dt, xd as en, Ne as er, RD as et, WN as f, Gu as fn, ae as fr, fw as ft, pN as g, Lu as gn, ew as gt, wN as h, Ru as hn, rw as ht, $P as i, cd as in, _e as ir, xD as it, DM as j, Qo as jn, Sf as jt, IM as k, Nc as kn, Ah as kt, UP as l, ed as ln, re as lr, Cw as lt, LN as m, Iu as mn, iw as mt, ZP as n, vd as nn, xe as nr, zD as nt, WP as o, ud as on, he as or, Zw as ot, zN as p, Wu as pn, uw as pt, jk as q, ln as qn, Id as qt, QP as r, fd as rn, ye as rr, LD as rt, qP as s, rd as sn, de as sr, Lw as st, YP as t, wd as tn, ke as tr, BD as tt, GP as u, Yu as un, ce as ur, hw as ut, rN as v, Nu as vn, XC as vt, VM as w, Jl as wn, LC as wt, YM as x, Tu as xn, KC as xt, eN as y, Au as yn, $ as yt, CM as z, Si as zn, $d as zt };
|
|
@@ -44,6 +44,7 @@ var c = (e) => {
|
|
|
44
44
|
onPostCompositionStarted: d,
|
|
45
45
|
onPostCompositionCancelled: d,
|
|
46
46
|
onSearchOpened: d,
|
|
47
|
+
onTabOpened: d,
|
|
47
48
|
onSearchResultNavigated: d,
|
|
48
49
|
onJumpedToQuotedMessage: d,
|
|
49
50
|
onJumpedToBottom: d,
|
|
@@ -139,6 +140,7 @@ var c = (e) => {
|
|
|
139
140
|
onPostCompositionStarted: () => e((e) => e.onPostCompositionStarted?.()),
|
|
140
141
|
onPostCompositionCancelled: (t) => e((e) => e.onPostCompositionCancelled?.(t)),
|
|
141
142
|
onSearchOpened: () => e((e) => e.onSearchOpened?.()),
|
|
143
|
+
onTabOpened: (t) => e((e) => e.onTabOpened?.(t)),
|
|
142
144
|
onSearchResultNavigated: (t) => e((e) => e.onSearchResultNavigated?.(t)),
|
|
143
145
|
onJumpedToQuotedMessage: () => e((e) => e.onJumpedToQuotedMessage?.()),
|
|
144
146
|
onJumpedToBottom: () => e((e) => e.onJumpedToBottom?.()),
|