@factorialco/f0-react 11.2.0 → 11.3.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/{ChatPostComposerDialog-BRPhPg0V.js → ChatPostComposerDialog-CQpgcDlu.js} +2 -2
- package/dist/{CoachmarkProvider-Cv-8HfUP.js → CoachmarkProvider-bQjMZ8Xd.js} +5 -5
- package/dist/{DocumentToolbar-Dibdy0XD.js → DocumentToolbar-DYb93j3S.js} +3 -3
- package/dist/{DocxViewer-D4R37ej-.js → DocxViewer-EfCHhhVh.js} +1 -1
- package/dist/{F0AiProcessingOverlay-DMiGnFsb.js → F0AiProcessingOverlay-DKVTZ7H9.js} +2 -2
- package/dist/{F0CanvasPanel-BwTjB_ef.js → F0CanvasPanel-D_By9mGX.js} +4 -4
- package/dist/F0DocumentViewer-fhtcwv4U.js +3 -0
- package/dist/{F0DocumentViewer-CBDtqTP1.js → F0DocumentViewer-n9KsIs_s.js} +4 -4
- package/dist/{F0Map-xxT7h77R.js → F0Map-OwKbbIMd.js} +3 -3
- package/dist/{F0Select-DSKdq9ZK.js → F0Select-qAx5mUYo.js} +277 -255
- package/dist/{F0VideoPlayer-BXkn2HYD.js → F0VideoPlayer-0HBjDANt.js} +1 -1
- package/dist/F0VideoPlayer-D7A_Ahmb.js +1 -0
- package/dist/{Map-DHXAVOwj.js → Map-YKcljPKV.js} +3 -3
- package/dist/{PdfThumbnail-CcphMSG_.js → PdfThumbnail-DHvw4vZZ.js} +1 -1
- package/dist/{SheetViewer-Dfb0hEj5.js → SheetViewer-DyBQHE1G.js} +3 -3
- package/dist/{TextViewer-D0aQleNb.js → TextViewer-jvjvPZ2v.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +110 -22
- package/dist/experimental.js +2699 -2540
- package/dist/f0.js +7 -7
- package/dist/{maplibre-Be6fCegj.js → maplibre-CV6XExqI.js} +1 -1
- package/dist/{pdfWorker-BrM0bRsr.js → pdfWorker-35KLzGK-.js} +1 -1
- package/package.json +1 -1
- package/dist/F0DocumentViewer-vZ5QrV_0.js +0 -3
- package/dist/F0VideoPlayer-B96rE7Un.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as e, B as t, F as n, I as r, L as i, U as a, V as o, a as s, an as c, ar as l, b as u, i as d, in as f, j as p, rn as m, rr as h, t as g, z as _ } from "./popover-CL68oVjH.js";
|
|
2
2
|
import { L as v, R as y } from "./tooltip-BX4dSfeL.js";
|
|
3
|
-
import { Ga as b, Ka as x, Uo as S, Wa as C, Xo as ee, fo as te, go as w, ks as T, po as ne, ps as re } from "./F0CanvasPanel-
|
|
3
|
+
import { Ga as b, Ka as x, Uo as S, Wa as C, Xo as ee, fo as te, go as w, ks as T, po as ne, ps as re } from "./F0CanvasPanel-D_By9mGX.js";
|
|
4
4
|
import { t as E } from "./Check-DAp9gCRh.js";
|
|
5
5
|
import { t as D } from "./useFullscreen-CNwpzjpz.js";
|
|
6
6
|
import { forwardRef as O, useCallback as k, useEffect as A, useId as j, useMemo as M, useRef as N, useState as P } from "react";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as F0VideoPlayer } from "./F0VideoPlayer-0HBjDANt.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Mt as e, Nt as t } from "./CoachmarkProvider-
|
|
1
|
+
import { Mt as e, Nt as t } from "./CoachmarkProvider-bQjMZ8Xd.js";
|
|
2
2
|
import { Vt as n, in as r, pt as i, rn as a } from "./popover-CL68oVjH.js";
|
|
3
3
|
import { L as o, R as s } from "./tooltip-BX4dSfeL.js";
|
|
4
4
|
import { t as c } from "./F0Text-CxMxdCn2.js";
|
|
5
|
-
import { Gr as l, Ur as u, Wr as d } from "./F0CanvasPanel-
|
|
5
|
+
import { Gr as l, Ur as u, Wr as d } from "./F0CanvasPanel-D_By9mGX.js";
|
|
6
6
|
import { L as f, l as p, q as ee } from "./useData-B6HLHEev.js";
|
|
7
|
-
import { o as m, t as h } from "./F0Map-
|
|
7
|
+
import { o as m, t as h } from "./F0Map-OwKbbIMd.js";
|
|
8
8
|
import { useCallback as g, useEffect as _, useMemo as v, useRef as y, useState as b } from "react";
|
|
9
9
|
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
10
10
|
//#region src/addons/data-collection/OneDataCollection/visualizations/collection/Map/components/MapNotOnMapButton.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, n as t, r as n } from "./pdfWorker-
|
|
1
|
+
import { i as e, n as t, r as n } from "./pdfWorker-35KLzGK-.js";
|
|
2
2
|
import { jsx as r } from "react/jsx-runtime";
|
|
3
3
|
//#region src/elements/primitives/_primitives/F0Attachments/components/thumbnails/PdfThumbnail.tsx
|
|
4
4
|
t();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ln as e, rn as t } from "./popover-CL68oVjH.js";
|
|
2
|
-
import { Kr as n, b as r, y as i } from "./F0CanvasPanel-
|
|
3
|
-
import { o as a } from "./F0DocumentViewer-
|
|
4
|
-
import { n as o, t as s } from "./DocumentToolbar-
|
|
2
|
+
import { Kr as n, b as r, y as i } from "./F0CanvasPanel-D_By9mGX.js";
|
|
3
|
+
import { o as a } from "./F0DocumentViewer-n9KsIs_s.js";
|
|
4
|
+
import { n as o, t as s } from "./DocumentToolbar-DYb93j3S.js";
|
|
5
5
|
import { n as c, t as l } from "./sheetPreview-Ca0kCtSa.js";
|
|
6
6
|
import { useEffect as u, useState as d } from "react";
|
|
7
7
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ln as e, rn as t, xt as n } from "./popover-CL68oVjH.js";
|
|
2
|
-
import { n as r, t as i } from "./DocumentToolbar-
|
|
2
|
+
import { n as r, t as i } from "./DocumentToolbar-DYb93j3S.js";
|
|
3
3
|
import { useEffect as a, useState as o } from "react";
|
|
4
4
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
5
5
|
//#region src/addons/documents/F0DocumentViewer/components/TextViewer.tsx
|
package/dist/ai.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { rn as e, tn as t } from "./popover-CL68oVjH.js";
|
|
2
|
-
import { A as n, C as r, D as i, E as a, F as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, _ as g, a as _, b as v, c as y, d as b, f as x, g as S, h as C, i as w, j as T, k as E, l as D, m as O, n as k, o as A, p as j, r as M, s as N, t as P, u as F, v as I, w as L, x as R, y as z, z as B } from "./F0AiProcessingOverlay-
|
|
3
|
-
import { A as V, D as H, E as U, M as W, Nt as G, Ot as K, Pt as q, V as J, j as Y, n as X, t as Z, tt as Q, z as $ } from "./F0CanvasPanel-
|
|
2
|
+
import { A as n, C as r, D as i, E as a, F as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, _ as g, a as _, b as v, c as y, d as b, f as x, g as S, h as C, i as w, j as T, k as E, l as D, m as O, n as k, o as A, p as j, r as M, s as N, t as P, u as F, v as I, w as L, x as R, y as z, z as B } from "./F0AiProcessingOverlay-DKVTZ7H9.js";
|
|
3
|
+
import { A as V, D as H, E as U, M as W, Nt as G, Ot as K, Pt as q, V as J, j as Y, n as X, t as Z, tt as Q, z as $ } from "./F0CanvasPanel-D_By9mGX.js";
|
|
4
4
|
import { t as ee } from "./i18n-provider-defaults-0FwmF5YL.js";
|
|
5
5
|
export { v as AiChatTranslationsProvider, q as ChatSpinner, A as CollapsibleGroup, W as DropOverlay, G as F0ActionItem, U as F0AiChat, y as F0AiChatCreditsButton, D as F0AiChatHeader, w as F0AiChatHistory, H as F0AiChatProvider, o as F0AiChatTextArea, c as F0AiChatUsageLimitsButton, h as F0AiFileAttachments, Q as F0AiFilePreviewsProvider, O as F0AiInsightCard, g as F0AiMask, b as F0AiMessageSources, r as F0AiMessagesContainer, V as F0AiPong, P as F0AiProcessingOverlay, x as F0AiProposalCard, F as F0AiTableCard, S as F0AuraVoiceAnimation, E as F0CanvasCard, Z as F0CanvasPanel, J as F0ChatComposer, I as F0ClarifyingPanel, C as F0HILActionConfirmation, K as F0OneIcon, X as F0OneSwitch, a as FormCardValueFormatterProvider, t as I18nProvider, Y as PongBall, N as ThreadItem, _ as ThreadListSkeleton, B as actionItemStatuses, n as aiChatFileFromShowFilesItem, T as aiChatFileFromUploadedFile, l as aiChatFilesFromMessage, u as aiChatMessageText, m as aiTranslations, j as contentTypes, s as createPersonMentionSource, ee as defaultTranslations, f as markdownRenderers, p as oneIconSizes, k as usageLimitsPopoverSides, $ as useAiChat, R as useAiChatTranslations, z as useCanvasEntity, M as useChatHistory, i as useFormCardValueFormatter, e as useI18n, d as useSetFormCardValueFormatter, L as useToolCallId };
|
package/dist/component-status.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useCallback as i, useEffect as a, useRef as o, useState as s } from "re
|
|
|
4
4
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
5
5
|
//#region \0virtual:f0-component-status-data
|
|
6
6
|
var u = {
|
|
7
|
-
generatedAt: "2026-10-
|
|
7
|
+
generatedAt: "2026-10-28T06:57:25.298Z",
|
|
8
8
|
stats: {
|
|
9
9
|
total: 310,
|
|
10
10
|
byStatus: {
|
package/dist/experimental.d.ts
CHANGED
|
@@ -7075,9 +7075,101 @@ export declare const useF0Meeting: () => F0MeetingRuntime;
|
|
|
7075
7075
|
export declare const useF0MeetingStable: () => F0MeetingStable;
|
|
7076
7076
|
export declare const useF0MeetingRoster: () => F0MeetingRoster;
|
|
7077
7077
|
//#endregion
|
|
7078
|
+
//#region src/domains/platform/communications/meetings/F0Meeting/window/placement.d.ts
|
|
7079
|
+
type Viewport = {
|
|
7080
|
+
width: number;
|
|
7081
|
+
height: number;
|
|
7082
|
+
};
|
|
7083
|
+
/**
|
|
7084
|
+
* Resolves an anchored placement into an absolute rect, clamped into the
|
|
7085
|
+
* current viewport. Anchoring to a corner (rather than storing x/y) is what
|
|
7086
|
+
* keeps the window sensible when the browser is resized: it stays glued to
|
|
7087
|
+
* "its" corner instead of drifting off-screen.
|
|
7088
|
+
*/
|
|
7089
|
+
export declare const resolvePlacement: (placement: F0WindowPlacement, viewport: Viewport, minWidth?: number, minHeight?: number) => F0Rect;
|
|
7090
|
+
/** Re-expresses an absolute rect against a given corner. */
|
|
7091
|
+
export declare const placementFromRect: (rect: F0Rect, corner: F0WindowCorner, viewport: Viewport) => F0WindowPlacement;
|
|
7092
|
+
/** The quadrant the rect's centre falls into. */
|
|
7093
|
+
export declare const nearestCorner: (rect: F0Rect, viewport: Viewport) => F0WindowCorner;
|
|
7094
|
+
/**
|
|
7095
|
+
* Placement after a drag: always re-anchored to the nearest corner, and pulled
|
|
7096
|
+
* flush to it when the window was dropped close enough.
|
|
7097
|
+
*/
|
|
7098
|
+
export declare const settlePlacement: (rect: F0Rect, viewport: Viewport) => F0WindowPlacement;
|
|
7099
|
+
/** Handle geometry: how a drag delta moves the origin and grows the box. */
|
|
7100
|
+
declare const resizeHandles: {
|
|
7101
|
+
readonly n: {
|
|
7102
|
+
readonly dx: 0;
|
|
7103
|
+
readonly dy: 1;
|
|
7104
|
+
readonly dw: 0;
|
|
7105
|
+
readonly dh: -1;
|
|
7106
|
+
readonly cursor: "ns-resize";
|
|
7107
|
+
};
|
|
7108
|
+
readonly s: {
|
|
7109
|
+
readonly dx: 0;
|
|
7110
|
+
readonly dy: 0;
|
|
7111
|
+
readonly dw: 0;
|
|
7112
|
+
readonly dh: 1;
|
|
7113
|
+
readonly cursor: "ns-resize";
|
|
7114
|
+
};
|
|
7115
|
+
readonly w: {
|
|
7116
|
+
readonly dx: 1;
|
|
7117
|
+
readonly dy: 0;
|
|
7118
|
+
readonly dw: -1;
|
|
7119
|
+
readonly dh: 0;
|
|
7120
|
+
readonly cursor: "ew-resize";
|
|
7121
|
+
};
|
|
7122
|
+
readonly e: {
|
|
7123
|
+
readonly dx: 0;
|
|
7124
|
+
readonly dy: 0;
|
|
7125
|
+
readonly dw: 1;
|
|
7126
|
+
readonly dh: 0;
|
|
7127
|
+
readonly cursor: "ew-resize";
|
|
7128
|
+
};
|
|
7129
|
+
readonly nw: {
|
|
7130
|
+
readonly dx: 1;
|
|
7131
|
+
readonly dy: 1;
|
|
7132
|
+
readonly dw: -1;
|
|
7133
|
+
readonly dh: -1;
|
|
7134
|
+
readonly cursor: "nwse-resize";
|
|
7135
|
+
};
|
|
7136
|
+
readonly ne: {
|
|
7137
|
+
readonly dx: 0;
|
|
7138
|
+
readonly dy: 1;
|
|
7139
|
+
readonly dw: 1;
|
|
7140
|
+
readonly dh: -1;
|
|
7141
|
+
readonly cursor: "nesw-resize";
|
|
7142
|
+
};
|
|
7143
|
+
readonly sw: {
|
|
7144
|
+
readonly dx: 1;
|
|
7145
|
+
readonly dy: 0;
|
|
7146
|
+
readonly dw: -1;
|
|
7147
|
+
readonly dh: 1;
|
|
7148
|
+
readonly cursor: "nesw-resize";
|
|
7149
|
+
};
|
|
7150
|
+
readonly se: {
|
|
7151
|
+
readonly dx: 0;
|
|
7152
|
+
readonly dy: 0;
|
|
7153
|
+
readonly dw: 1;
|
|
7154
|
+
readonly dh: 1;
|
|
7155
|
+
readonly cursor: "nwse-resize";
|
|
7156
|
+
};
|
|
7157
|
+
};
|
|
7158
|
+
type ResizeHandleId = keyof typeof resizeHandles;
|
|
7159
|
+
//#endregion
|
|
7078
7160
|
//#region src/domains/platform/communications/meetings/F0Meeting/window/usePictureInPicture.d.ts
|
|
7079
7161
|
type PipSupport = "document" | "video" | "none";
|
|
7080
7162
|
//#endregion
|
|
7163
|
+
//#region src/domains/platform/communications/meetings/F0Meeting/window/useWindowDrag.d.ts
|
|
7164
|
+
/** A resize started somewhere else (full screen) that this window takes over. */
|
|
7165
|
+
type AdoptedGesture = {
|
|
7166
|
+
pointerId: number;
|
|
7167
|
+
startX: number;
|
|
7168
|
+
startY: number;
|
|
7169
|
+
origin: F0Rect;
|
|
7170
|
+
handle: ResizeHandleId;
|
|
7171
|
+
};
|
|
7172
|
+
//#endregion
|
|
7081
7173
|
//#region src/domains/platform/communications/meetings/F0Meeting/providers/MeetingSurfaceProvider.d.ts
|
|
7082
7174
|
type MeetingSurfaceContextValue = {
|
|
7083
7175
|
/** What the user chose. Never mutated by the environment. */
|
|
@@ -7116,6 +7208,24 @@ type MeetingSurfaceContextValue = {
|
|
|
7116
7208
|
panelSide: "left" | "right" | null;
|
|
7117
7209
|
/** `null` retires the slot; a side registers one. */
|
|
7118
7210
|
setPanelSlot: (side: "left" | "right" | null) => void;
|
|
7211
|
+
/** How wide the docked panel is, so a window dragged to its edge can preview it. */
|
|
7212
|
+
panelSlotWidth: number | null;
|
|
7213
|
+
setPanelSlotWidth: (width: number | null) => void;
|
|
7214
|
+
/**
|
|
7215
|
+
* The title bar's double click, as on macOS: a window or the panel goes full
|
|
7216
|
+
* screen, and full screen goes back to whichever of the two it came from.
|
|
7217
|
+
*/
|
|
7218
|
+
toggleFullscreen: () => void;
|
|
7219
|
+
/**
|
|
7220
|
+
* Starts resizing full screen from one of its edges. Past the drag threshold
|
|
7221
|
+
* the call becomes a window over the same rect and that window carries on
|
|
7222
|
+
* with the same pointer — see {@link takeUndockGesture}.
|
|
7223
|
+
*/
|
|
7224
|
+
beginUndock: (event: React.PointerEvent, handle: ResizeHandleId, origin: F0Rect) => void;
|
|
7225
|
+
/** The gesture `beginUndock` handed over, once, for the window to adopt. */
|
|
7226
|
+
takeUndockGesture: () => AdoptedGesture | null;
|
|
7227
|
+
/** Gives back a gesture still in progress when the window's effect is torn down. */
|
|
7228
|
+
returnUndockGesture: (gesture: AdoptedGesture) => void;
|
|
7119
7229
|
/** Registered by `F0MeetingSlot` so `inline` knows where to fly to. */
|
|
7120
7230
|
setInlineRect: (rect: F0Rect | null) => void;
|
|
7121
7231
|
/** What the user asked the spotlight to do, if anything. */
|
|
@@ -7565,28 +7675,6 @@ type SpeakerOrderInput = {
|
|
|
7565
7675
|
*/
|
|
7566
7676
|
export declare const reorderForSpeakers: ({ tiles, speakerIds, pageSize, lastSpokenAt, now, holdMs }: SpeakerOrderInput) => F0MeetingTile[];
|
|
7567
7677
|
//#endregion
|
|
7568
|
-
//#region src/domains/platform/communications/meetings/F0Meeting/window/placement.d.ts
|
|
7569
|
-
type Viewport = {
|
|
7570
|
-
width: number;
|
|
7571
|
-
height: number;
|
|
7572
|
-
};
|
|
7573
|
-
/**
|
|
7574
|
-
* Resolves an anchored placement into an absolute rect, clamped into the
|
|
7575
|
-
* current viewport. Anchoring to a corner (rather than storing x/y) is what
|
|
7576
|
-
* keeps the window sensible when the browser is resized: it stays glued to
|
|
7577
|
-
* "its" corner instead of drifting off-screen.
|
|
7578
|
-
*/
|
|
7579
|
-
export declare const resolvePlacement: (placement: F0WindowPlacement, viewport: Viewport, minWidth?: number, minHeight?: number) => F0Rect;
|
|
7580
|
-
/** Re-expresses an absolute rect against a given corner. */
|
|
7581
|
-
export declare const placementFromRect: (rect: F0Rect, corner: F0WindowCorner, viewport: Viewport) => F0WindowPlacement;
|
|
7582
|
-
/** The quadrant the rect's centre falls into. */
|
|
7583
|
-
export declare const nearestCorner: (rect: F0Rect, viewport: Viewport) => F0WindowCorner;
|
|
7584
|
-
/**
|
|
7585
|
-
* Placement after a drag: always re-anchored to the nearest corner, and pulled
|
|
7586
|
-
* flush to it when the window was dropped close enough.
|
|
7587
|
-
*/
|
|
7588
|
-
export declare const settlePlacement: (rect: F0Rect, viewport: Viewport) => F0WindowPlacement;
|
|
7589
|
-
//#endregion
|
|
7590
7678
|
//#region src/domains/platform/communications/meetings/F0Meeting/window/panel.d.ts
|
|
7591
7679
|
/** The whole viewport as a rect, for hosts that publish no content area. */
|
|
7592
7680
|
export declare const viewportRect: (viewport: Viewport) => F0Rect;
|