@factorialco/f0-react 7.12.0 → 7.14.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.
Files changed (42) hide show
  1. package/dist/{ChatPdfThumbnail-DLaIYO-I.js → ChatPdfThumbnail-C1UcYl1H.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-4FOpj4qy.js → ChatPostComposerDialog-BtRvJU6I.js} +3 -3
  3. package/dist/{DocumentToolbar-l7PxkK4o.js → DocumentToolbar-CV9lcCCY.js} +2 -2
  4. package/dist/{DocxViewer-CBiKF5rZ.js → DocxViewer-rl6xFuWg.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-BYUYtCeT.js → F0AiProcessingOverlay-DJxrxlhM.js} +1385 -1577
  6. package/dist/{F0CanvasPanel-B52A84Yd.js → F0CanvasPanel-Cd27SePP.js} +14105 -13839
  7. package/dist/{F0VideoPlayer-CYkJgfvF.js → F0VideoPlayer-sGOAl4BZ.js} +34 -34
  8. package/dist/{LocationMap-P9l5SS9_.js → LocationMap-B-e88fW6.js} +1 -1
  9. package/dist/{CoachmarkProvider-C-z3xlg6.js → MapProvider-BJSTrUhF.js} +4550 -4542
  10. package/dist/{SheetViewer-DiM7dzkD.js → SheetViewer-sSCtCF-k.js} +2 -2
  11. package/dist/{TextViewer-6MkpYRV9.js → TextViewer-J0dGSrMy.js} +2 -2
  12. package/dist/{VolumeMuted-DKLKhxyd.js → VolumeMuted-UfTwt2zn.js} +6 -26
  13. package/dist/ai.d.ts +98 -1
  14. package/dist/ai.js +2 -2
  15. package/dist/component-status.js +2 -2
  16. package/dist/experimental-Bp1BeeE5.js +31861 -0
  17. package/dist/experimental.css +1 -1
  18. package/dist/experimental.d.ts +1296 -12
  19. package/dist/experimental.js +286 -242
  20. package/dist/f0.d.ts +101 -1
  21. package/dist/f0.js +3224 -3223
  22. package/dist/i18n-provider-defaults.d.ts +84 -0
  23. package/dist/i18n-provider-defaults.js +92 -0
  24. package/dist/{index-iNjzeXPY.js → index--lL16aZU.js} +5 -5
  25. package/dist/index-D37fIjbv.js +4 -0
  26. package/dist/index-Dq-WsNBD.js +255 -0
  27. package/dist/index.css +1 -1
  28. package/dist/index2.css +1 -0
  29. package/dist/maplibre-gl-BFrhpbuU.js +24631 -0
  30. package/dist/{pdfWorker-5KFe_TGk.js → pdfWorker-D4wyA0qi.js} +3 -3
  31. package/dist/styles.css +1 -1
  32. package/dist/{tooltip-CMBdJvJA.js → tooltip-BElsa4MF.js} +415 -407
  33. package/icons/app/Floating.d.ts +4 -0
  34. package/icons/app/Floating.d.ts.map +1 -0
  35. package/icons/app/Floating.js +5 -0
  36. package/icons/app/index.d.ts +4 -3
  37. package/icons/app/index.d.ts.map +1 -1
  38. package/icons/app/index.js +4 -3
  39. package/package.json +14 -4
  40. package/dist/experimental-DtqXX6Z2.js +0 -53537
  41. package/dist/index-YxKgC6R7.js +0 -4
  42. /package/dist/{CoachmarkProvider.css → MapProvider.css} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { jsxs as a, jsx as r, Fragment as N } from "react/jsx-runtime";
2
2
  import { useState as i, useEffect as k } from "react";
3
- import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-B52A84Yd.js";
3
+ import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-Cd27SePP.js";
4
4
  import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
5
- import { u as _, D as j } from "./DocumentToolbar-l7PxkK4o.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-CV9lcCCY.js";
6
6
  const g = 1e3, F = 100, G = ({
7
7
  url: n,
8
8
  filename: y,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as b, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as _, useEffect as h } from "react";
3
- import { u as x, S as p, p as w } from "./F0CanvasPanel-B52A84Yd.js";
4
- import { u as y, D as g } from "./DocumentToolbar-l7PxkK4o.js";
3
+ import { u as x, S as p, p as w } from "./F0CanvasPanel-Cd27SePP.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-CV9lcCCY.js";
5
5
  const k = 2 * 1024 * 1024, v = [
6
6
  "[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
7
7
  "[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
@@ -1,25 +1,6 @@
1
1
  import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as t } from "react";
3
3
  const s = (r, e) => /* @__PURE__ */ n(
4
- "svg",
5
- {
6
- xmlns: "http://www.w3.org/2000/svg",
7
- fill: "none",
8
- viewBox: "0 0 24 24",
9
- ref: e,
10
- ...r,
11
- children: [
12
- /* @__PURE__ */ o(
13
- "path",
14
- {
15
- stroke: "currentColor",
16
- d: "M10.3036 4.71638C11.0868 3.46223 12.9132 3.46223 13.6964 4.71638L14.4364 5.90129C14.7887 6.46555 15.3986 6.81766 16.0635 6.8407L17.4596 6.88908C18.9373 6.94029 19.8505 8.52194 19.156 9.8273L18.4998 11.0606C18.1873 11.6479 18.1873 12.3521 18.4998 12.9394L19.156 14.1727C19.8505 15.4781 18.9373 17.0597 17.4596 17.1109L16.0635 17.1593C15.3986 17.1823 14.7887 17.5345 14.4364 18.0987L13.6964 19.2836C12.9132 20.5378 11.0868 20.5378 10.3036 19.2836L9.56365 18.0987C9.21127 17.5345 8.60139 17.1823 7.93654 17.1593L6.54039 17.1109C5.06266 17.0597 4.14949 15.4781 4.84401 14.1727L5.50018 12.9394C5.81266 12.3521 5.81266 11.6479 5.50018 11.0606L4.84401 9.8273C4.14949 8.52194 5.06266 6.94029 6.54039 6.88908L7.93654 6.8407C8.60139 6.81766 9.21127 6.46555 9.56365 5.90129L10.3036 4.71638Z"
17
- }
18
- ),
19
- /* @__PURE__ */ o("circle", { cx: 11.999, cy: 12, r: 2.5, stroke: "currentColor" })
20
- ]
21
- }
22
- ), u = t(s), i = (r, e) => /* @__PURE__ */ n(
23
4
  "svg",
24
5
  {
25
6
  xmlns: "http://www.w3.org/2000/svg",
@@ -57,7 +38,7 @@ const s = (r, e) => /* @__PURE__ */ n(
57
38
  )
58
39
  ]
59
40
  }
60
- ), a = t(i), L = (r, e) => /* @__PURE__ */ n(
41
+ ), a = t(s), i = (r, e) => /* @__PURE__ */ n(
61
42
  "svg",
62
43
  {
63
44
  xmlns: "http://www.w3.org/2000/svg",
@@ -86,7 +67,7 @@ const s = (r, e) => /* @__PURE__ */ n(
86
67
  )
87
68
  ]
88
69
  }
89
- ), w = t(L), c = (r, e) => /* @__PURE__ */ n(
70
+ ), l = t(i), d = (r, e) => /* @__PURE__ */ n(
90
71
  "svg",
91
72
  {
92
73
  xmlns: "http://www.w3.org/2000/svg",
@@ -115,10 +96,9 @@ const s = (r, e) => /* @__PURE__ */ n(
115
96
  )
116
97
  ]
117
98
  }
118
- ), C = t(c);
99
+ ), L = t(d);
119
100
  export {
120
- u as F,
121
- C as a,
122
- w as b,
123
- a as c
101
+ L as F,
102
+ l as a,
103
+ a as b
124
104
  };
package/dist/ai.d.ts CHANGED
@@ -2314,8 +2314,10 @@ export declare const defaultTranslations: {
2314
2314
  readonly tomorrow: "Tomorrow";
2315
2315
  readonly inProgress: "In progress";
2316
2316
  readonly inProgressTitle: "Call in progress";
2317
+ readonly ringing: "Ringing…";
2317
2318
  readonly summarizing: "Summarizing";
2318
2319
  readonly finished: "Finished";
2320
+ readonly missed: "Missed";
2319
2321
  readonly cancelled: "Cancelled";
2320
2322
  readonly startingNow: "Starting now";
2321
2323
  readonly startsIn: {
@@ -2913,6 +2915,12 @@ export declare const defaultTranslations: {
2913
2915
  readonly membersWithLast: "{{names}} and {{last}}";
2914
2916
  readonly membersWithMore: "{{names}} and {{count}} more";
2915
2917
  };
2918
+ readonly call: {
2919
+ readonly startedBy: "{{name}} started a huddle";
2920
+ readonly ended: "Huddle ended";
2921
+ readonly missed: "Missed huddle";
2922
+ readonly start: "Start huddle";
2923
+ };
2916
2924
  readonly unreadCount: {
2917
2925
  readonly one: "{{count}} unread";
2918
2926
  readonly other: "{{count}} unread";
@@ -3003,6 +3011,82 @@ export declare const defaultTranslations: {
3003
3011
  readonly noData: "No data";
3004
3012
  readonly canceled: "Canceled";
3005
3013
  };
3014
+ readonly meeting: {
3015
+ readonly you: "You";
3016
+ readonly muted: "Muted";
3017
+ readonly waitingToJoin: "Waiting…";
3018
+ readonly sharingScreen: "Sharing screen";
3019
+ readonly chatPanel: "Chat";
3020
+ readonly transcriptPanel: "Transcript";
3021
+ readonly notesPanel: "Notes";
3022
+ readonly openChat: "Open chat";
3023
+ readonly closeChat: "Close chat";
3024
+ readonly closePanel: "Close panel";
3025
+ readonly notesPlaceholder: "Take notes for everyone in the call…";
3026
+ readonly roomChatPlaceholder: "Message this call…";
3027
+ readonly roomChatEmpty: "Messages here are only for this call and disappear when it ends.";
3028
+ readonly sendMessage: "Send";
3029
+ readonly notesReadOnly: "Only the host can edit these notes.";
3030
+ readonly transcriptEmpty: "The transcript will appear here as people speak.";
3031
+ readonly copyLink: "Copy link";
3032
+ readonly linkCopied: "Link copied";
3033
+ readonly handRaised: "Hand raised";
3034
+ readonly morePeople: "{{count}} more";
3035
+ readonly connecting: "Connecting…";
3036
+ readonly reconnecting: "Reconnecting…";
3037
+ readonly connectionLost: "Connection lost";
3038
+ readonly ended: "The meeting has ended";
3039
+ readonly rejoin: "Rejoin";
3040
+ readonly weakConnection: "Weak connection";
3041
+ readonly recording: "Recording";
3042
+ readonly cameraBlocked: "Camera access is blocked. Allow it in your browser settings to turn it on.";
3043
+ readonly microphoneBlocked: "Microphone access is blocked. Allow it in your browser settings to speak.";
3044
+ readonly cameraUnavailable: "No camera found";
3045
+ readonly microphoneUnavailable: "No microphone found";
3046
+ readonly cameraInUse: "Your camera is being used by another app";
3047
+ readonly microphoneInUse: "Your microphone is being used by another app";
3048
+ readonly audioBlocked: "Click to enable sound";
3049
+ readonly turnOnMicrophone: "Turn on microphone";
3050
+ readonly turnOffMicrophone: "Turn off microphone";
3051
+ readonly turnOnCamera: "Turn on camera";
3052
+ readonly turnOffCamera: "Turn off camera";
3053
+ readonly shareScreen: "Share screen";
3054
+ readonly stopSharing: "Stop sharing";
3055
+ readonly raiseHand: "Raise hand";
3056
+ readonly lowerHand: "Lower hand";
3057
+ readonly leave: "Leave";
3058
+ readonly moreActions: "More actions";
3059
+ readonly controls: "Meeting controls";
3060
+ readonly unreadCount: "{{count}} unread";
3061
+ readonly selectMicrophone: "Select microphone";
3062
+ readonly systemDefault: "System default";
3063
+ readonly selectCamera: "Select camera";
3064
+ readonly enterFullscreen: "Expand to fullscreen";
3065
+ readonly exitFullscreen: "Exit fullscreen";
3066
+ readonly meetingWindow: "Meeting window";
3067
+ readonly moveWindow: "Move meeting window";
3068
+ readonly pinParticipant: "Pin";
3069
+ readonly unpinParticipant: "Unpin";
3070
+ readonly modeSwitch: "Meeting position";
3071
+ readonly modeSidePanel: "Show in the side panel";
3072
+ readonly modeFloating: "Show in a floating window";
3073
+ readonly modeFullscreen: "Fill the screen";
3074
+ readonly exitPictureInPicture: "Back to the tab";
3075
+ readonly resizePanel: "Resize the meeting panel";
3076
+ readonly movedToCorner: "Meeting window moved to the {{corner}}";
3077
+ readonly cornerTopLeft: "top left";
3078
+ readonly cornerTopRight: "top right";
3079
+ readonly cornerBottomLeft: "bottom left";
3080
+ readonly cornerBottomRight: "bottom right";
3081
+ readonly participantJoined: "{{name}} joined";
3082
+ readonly participantLeft: "{{name}} left";
3083
+ readonly movedToFullscreen: "Meeting fills the screen";
3084
+ readonly movedToFloating: "Meeting in a floating window";
3085
+ readonly movedToSidePanel: "Meeting in the side panel";
3086
+ readonly movedToMinimized: "Meeting minimized";
3087
+ readonly movedInline: "Meeting on the page";
3088
+ readonly movedToPictureInPicture: "Meeting in a picture-in-picture window";
3089
+ };
3006
3090
  readonly select: {
3007
3091
  readonly noResults: "No results found";
3008
3092
  readonly loadingMore: "Loading...";
@@ -4745,7 +4829,7 @@ export declare interface F0OneIconProps extends SVGProps<SVGSVGElement> {
4745
4829
  size?: "xs" | "sm" | "md" | "lg";
4746
4830
  }
4747
4831
 
4748
- export declare const F0OneSwitch: ({ className, disabled, onVisible, tooltip, autoOpen, onToggle, }: F0OneSwitchProps) => JSX_2.Element | null;
4832
+ export declare const F0OneSwitch: ({ className, disabled, onVisible, tooltip, autoOpen, onToggle, checked, onCheckedChange, }: F0OneSwitchProps) => JSX_2.Element | null;
4749
4833
 
4750
4834
  /**
4751
4835
  * Props for the F0OneSwitch component
@@ -4762,6 +4846,19 @@ export declare type F0OneSwitchProps = React.ComponentPropsWithoutRef<typeof Swi
4762
4846
  };
4763
4847
  /** When true, the tooltip is opened automatically for 3 seconds*/
4764
4848
  autoOpen?: boolean;
4849
+ /**
4850
+ * Drives the switch from the outside instead of from the AI chat context.
4851
+ *
4852
+ * Passing `onCheckedChange` puts the switch in CONTROLLED mode: `checked` is
4853
+ * the state, the handler is the toggle, and the `enabled` gate that normally
4854
+ * renders `null` is bypassed — you have already decided it should be there.
4855
+ *
4856
+ * This exists for surfaces mounted outside `F0AiChatProvider`, where
4857
+ * `useAiChat()` silently returns a no-op proxy and the switch would otherwise
4858
+ * render nothing with no error. Omit both and nothing changes.
4859
+ */
4860
+ checked?: boolean;
4861
+ onCheckedChange?: (open: boolean) => void;
4765
4862
  };
4766
4863
 
4767
4864
  declare const F0TagAlert: WithDataTestIdReturnType_2<ForwardRefExoticComponent<Props_3 & RefAttributes<HTMLDivElement>>>;
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-B52A84Yd.js";
1
+ import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-Cd27SePP.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as g, C as p, t as v, s as I, v as T, y as f, z as y, l as S, i as x, q as b, D as k, E as B, p as H, r as L, j as O, e as V, g as w, k as D, F as M, T as z, w as E, h as j, a as q, n as G, m as R, o as U, B as J, b as K, f as N, x as Q, c as W, d as X, u as Y } from "./F0AiProcessingOverlay-BYUYtCeT.js";
3
+ import { A as g, C as p, t as v, s as I, v as T, y as f, z as y, l as S, i as x, q as b, D as k, E as B, p as H, r as L, j as O, e as V, g as w, k as D, F as M, T as z, w as E, h as j, a as q, n as G, m as R, o as U, B as J, b as K, f as N, x as Q, c as W, d as X, u as Y } from "./F0AiProcessingOverlay-DJxrxlhM.js";
4
4
  export {
5
5
  g as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,