@factorialco/f0-react 7.11.0 → 7.13.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 (34) hide show
  1. package/dist/{ChatPdfThumbnail-D7pTdFg5.js → ChatPdfThumbnail-CasoTzmS.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-C8ExuW4c.js → ChatPostComposerDialog-CLk4RYiT.js} +3 -3
  3. package/dist/{DocumentToolbar-BjaiEUEi.js → DocumentToolbar-oQ1B9uYt.js} +2 -2
  4. package/dist/{DocxViewer-BMVjKj4H.js → DocxViewer-VCoDg5wv.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-Dj55I0Gt.js → F0AiProcessingOverlay-Cv4B3Za1.js} +1 -1
  6. package/dist/{F0CanvasPanel-CuTymScT.js → F0CanvasPanel-D3xyeygU.js} +641 -630
  7. package/dist/{F0VideoPlayer-0aZy2NDP.js → F0VideoPlayer-fLkttxV3.js} +16 -16
  8. package/dist/{LocationMap-DptfAWGn.js → LocationMap-B-e88fW6.js} +1 -1
  9. package/dist/{CoachmarkProvider-DJQHQFqk.js → MapProvider-CS2D1_u-.js} +4550 -4542
  10. package/dist/{SheetViewer-CjualyWJ.js → SheetViewer-CPwlJsIf.js} +2 -2
  11. package/dist/{TextViewer-4yJEabSH.js → TextViewer-DOCvTpB4.js} +2 -2
  12. package/dist/ai.d.ts +3 -0
  13. package/dist/ai.js +2 -2
  14. package/dist/component-status.js +1 -1
  15. package/dist/experimental-BiVfnjJ8.js +28691 -0
  16. package/dist/experimental.css +1 -1
  17. package/dist/experimental.d.ts +122 -12
  18. package/dist/experimental.js +192 -189
  19. package/dist/f0.d.ts +6 -0
  20. package/dist/f0.js +3224 -3223
  21. package/dist/i18n-provider-defaults.d.ts +3 -0
  22. package/dist/i18n-provider-defaults.js +3 -0
  23. package/dist/index-FtDheNrV.js +255 -0
  24. package/dist/index-KQQFyh9M.js +4 -0
  25. package/dist/{index-DWIUIuqD.js → index-ngfMeMZd.js} +4 -4
  26. package/dist/index.css +1 -1
  27. package/dist/index2.css +1 -0
  28. package/dist/maplibre-gl-BFrhpbuU.js +24631 -0
  29. package/dist/{pdfWorker-Ch2XTIq-.js → pdfWorker-lezjTonm.js} +2 -2
  30. package/dist/styles.css +1 -1
  31. package/package.json +14 -4
  32. package/dist/experimental-BycvsCRG.js +0 -53261
  33. package/dist/index-D5k02dJT.js +0 -4
  34. /package/dist/{CoachmarkProvider.css → MapProvider.css} +0 -0
@@ -1,4 +1,4 @@
1
- import { u as W, v as je, x as Ge, n as $, y as Xe, z as Ze, A as qe, B as Ye, E as Je, G as Qe, H as et, J as tt, K as nt, L as rt, M as at, N as ot, O as ye, Q as st, R as Ce, l as it, U as ct, V as lt, W as ut, w as dt, s as ft } from "./F0CanvasPanel-CuTymScT.js";
1
+ import { u as W, x as je, y as Xe, o as $, z as Ge, A as Ze, B as qe, E as Ye, G as Je, H as Qe, J as et, K as tt, L as nt, M as rt, N as at, O as ot, Q as ye, R as st, U as Ce, l as it, V as ct, W as lt, X as ut, w as dt, t as ft } from "./F0CanvasPanel-D3xyeygU.js";
2
2
  import { jsxs as S, jsx as c } from "react/jsx-runtime";
3
3
  import { forwardRef as re, useId as mt, useState as x, useRef as F, useEffect as N, useMemo as J, useCallback as T } from "react";
4
4
  import { d as H, f as ue } from "./tooltip-CMBdJvJA.js";
@@ -234,7 +234,7 @@ function Et({
234
234
  d.preventDefault(), u[g]?.focus();
235
235
  };
236
236
  return /* @__PURE__ */ S(je, { open: o, onOpenChange: s, children: [
237
- /* @__PURE__ */ c(Ge, { asChild: !0, children: /* @__PURE__ */ c(
237
+ /* @__PURE__ */ c(Xe, { asChild: !0, children: /* @__PURE__ */ c(
238
238
  $,
239
239
  {
240
240
  variant: "ghost",
@@ -246,7 +246,7 @@ function Et({
246
246
  }
247
247
  ) }),
248
248
  /* @__PURE__ */ c(
249
- Xe,
249
+ Ge,
250
250
  {
251
251
  container: a.current,
252
252
  side: "top",
@@ -663,11 +663,11 @@ function Mt({
663
663
  onToggleMute: B,
664
664
  onVolumeChange: j,
665
665
  onPlaybackRateChange: K,
666
- onToggleFullscreen: G,
666
+ onToggleFullscreen: X,
667
667
  onToggleCaptions: _,
668
668
  onToggleAudioDescription: U,
669
669
  onSeek: Y,
670
- download: X
670
+ download: G
671
671
  }) {
672
672
  const { t: p } = W(), I = g && w.length <= 1, z = l && M.length <= 1, V = Rt({
673
673
  audioLanguages: E.length,
@@ -791,15 +791,15 @@ function Mt({
791
791
  onAudioDescriptionOff: D
792
792
  }
793
793
  ) : null,
794
- X ? /* @__PURE__ */ c(
794
+ G ? /* @__PURE__ */ c(
795
795
  $,
796
796
  {
797
797
  variant: "ghost",
798
798
  size: "sm",
799
799
  hideLabel: !0,
800
800
  icon: it,
801
- label: X.label,
802
- onClick: X.onClick
801
+ label: G.label,
802
+ onClick: G.onClick
803
803
  }
804
804
  ) : null,
805
805
  /* @__PURE__ */ c(
@@ -810,7 +810,7 @@ function Mt({
810
810
  hideLabel: !0,
811
811
  icon: r ? ct : lt,
812
812
  label: p(r ? "videoPlayer.exitFullscreen" : "videoPlayer.enterFullscreen"),
813
- onClick: G
813
+ onClick: X
814
814
  }
815
815
  )
816
816
  ]
@@ -1101,14 +1101,14 @@ function Bt(e) {
1101
1101
  return;
1102
1102
  const D = () => m(!0), R = () => m(!1), B = () => m(!1), j = () => {
1103
1103
  b(i.volume), A(i.muted);
1104
- }, K = () => f(i.duration || 0), G = () => {
1104
+ }, K = () => f(i.duration || 0), X = () => {
1105
1105
  xt(i.playbackRate) && w(i.playbackRate);
1106
1106
  }, _ = () => {
1107
1107
  const U = performance.now();
1108
1108
  U - o.current >= bt && (o.current = U, y(i.currentTime));
1109
1109
  };
1110
- return i.addEventListener("play", D), i.addEventListener("pause", R), i.addEventListener("ended", B), i.addEventListener("volumechange", j), i.addEventListener("loadedmetadata", K), i.addEventListener("ratechange", G), i.addEventListener("timeupdate", _), i.readyState >= 1 && i.duration && f(i.duration), () => {
1111
- i.removeEventListener("play", D), i.removeEventListener("pause", R), i.removeEventListener("ended", B), i.removeEventListener("volumechange", j), i.removeEventListener("loadedmetadata", K), i.removeEventListener("ratechange", G), i.removeEventListener("timeupdate", _);
1110
+ return i.addEventListener("play", D), i.addEventListener("pause", R), i.addEventListener("ended", B), i.addEventListener("volumechange", j), i.addEventListener("loadedmetadata", K), i.addEventListener("ratechange", X), i.addEventListener("timeupdate", _), i.readyState >= 1 && i.duration && f(i.duration), () => {
1111
+ i.removeEventListener("play", D), i.removeEventListener("pause", R), i.removeEventListener("ended", B), i.removeEventListener("volumechange", j), i.removeEventListener("loadedmetadata", K), i.removeEventListener("ratechange", X), i.removeEventListener("timeupdate", _);
1112
1112
  };
1113
1113
  }, [a]);
1114
1114
  const O = T(() => {
@@ -1211,16 +1211,16 @@ function Wt({
1211
1211
  () => Z(R, r)
1212
1212
  ), K = R.some(
1213
1213
  (L) => L.locale === B
1214
- ) ? B : Z(R, r), G = ee(
1214
+ ) ? B : Z(R, r), X = ee(
1215
1215
  s?.descriptions,
1216
1216
  K
1217
1217
  ), _ = ee(
1218
1218
  s?.describedSrc,
1219
1219
  K
1220
- ), [U, Y] = x(!1), X = U && _ ? _ : v, p = Bt(X), I = Ut(p.videoElement, D), z = It(p.videoElement, {
1220
+ ), [U, Y] = x(!1), G = U && _ ? _ : v, p = Bt(G), I = Ut(p.videoElement, D), z = It(p.videoElement, {
1221
1221
  enabled: U,
1222
1222
  describedSrc: _,
1223
- descriptions: G
1223
+ descriptions: X
1224
1224
  }), V = T(() => {
1225
1225
  const L = p.videoRef.current;
1226
1226
  if (!L)
@@ -1315,7 +1315,7 @@ function Wt({
1315
1315
  draggable: !1,
1316
1316
  onContextMenu: Be,
1317
1317
  onClick: p.togglePlay,
1318
- src: X,
1318
+ src: G,
1319
1319
  poster: t,
1320
1320
  crossOrigin: I.needsCrossOrigin || z.needsCrossOrigin ? "anonymous" : void 0,
1321
1321
  onLoadedData: () => p.setVideoLoaded(!0),
@@ -1,5 +1,5 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { m } from "./experimental-BycvsCRG.js";
2
+ import { m } from "./maplibre-gl-BFrhpbuU.js";
3
3
  import { useRef as l, useEffect as i, useState as b } from "react";
4
4
  const k = "https://tiles.openfreemap.org/styles/positron", y = "https://tiles.openfreemap.org/styles/dark", R = 15, d = (n) => {
5
5
  const [c, s] = b(!1);