@factorialco/f0-react 16.21.0 → 16.22.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 (41) hide show
  1. package/dist/{ArchiveThumbnail-BePfOv3F.js → ArchiveThumbnail-G0aPl50L.js} +1 -1
  2. package/dist/{ArchiveViewer-DvKspMsv.js → ArchiveViewer-Bj0bDPBP.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-BhlQzTXz.js → ChatPostComposerDialog-DMk3uFWy.js} +2 -2
  4. package/dist/{CoachmarkProvider-B0Fs1pf7.js → CoachmarkProvider-CCHC0FZi.js} +20660 -20654
  5. package/dist/{CodeThumbnail-CZKjZwpZ.js → CodeThumbnail-DJ9hJvLI.js} +1 -1
  6. package/dist/{CodeViewer-DNLPQ2xO.js → CodeViewer-DxSm1H6J.js} +6 -6
  7. package/dist/{DocumentToolbar-Dua6PID0.js → DocumentToolbar-DqeoImuf.js} +4 -4
  8. package/dist/{DocxViewer-D2S3lGOn.js → DocxViewer-DlHsOT2G.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-bNWPwuH3.js → F0AiProcessingOverlay-BaiVAdOt.js} +284 -284
  10. package/dist/{F0Alert-DHPOzhGo.js → F0Alert-guKRR8YO.js} +3 -3
  11. package/dist/F0AudioPlayer-DzePrdJR.js +2 -0
  12. package/dist/{F0CanvasPanel-DV9kMkUy.js → F0CanvasPanel-B5rOTxrn.js} +7854 -7745
  13. package/dist/{F0DocumentViewer-C-e-yjPh.js → F0DocumentViewer-CIA45h1L.js} +1 -1
  14. package/dist/{F0DocumentViewer-BSMvv4hU.js → F0DocumentViewer-CipplAi8.js} +2 -2
  15. package/dist/{F0Map-C5GBzJKx.js → F0Map-Bgcgl-b7.js} +13 -13
  16. package/dist/{F0Select-Ef_MkLqL.js → F0Select-B5whw7YJ.js} +1605 -1599
  17. package/dist/F0VideoPlayer-CAFcGry7.js +1 -0
  18. package/dist/{F0VideoPlayer-BXD4JMkM.js → F0VideoPlayer-Du_8UrJx.js} +22 -22
  19. package/dist/{HtmlViewer-CX1vkYRx.js → HtmlViewer-erJIt-Wn.js} +4 -4
  20. package/dist/{Map-BnhKWUJE.js → Map-TbXJuia_.js} +5 -5
  21. package/dist/{PdfThumbnail-BJi6FkbE.js → PdfThumbnail-C0elGWNG.js} +1 -1
  22. package/dist/{PdfViewer-CFn2h9nq.js → PdfViewer-Z-MUOaUP.js} +7 -7
  23. package/dist/{SheetViewer-onMadxsi.js → SheetViewer-CjBwkzuZ.js} +11 -11
  24. package/dist/{TextViewer-BIcgDoH5.js → TextViewer-DR8ee6qU.js} +1 -1
  25. package/dist/ai.d.ts +2 -2
  26. package/dist/ai.js +2 -2
  27. package/dist/component-status.js +2 -2
  28. package/dist/experimental.d.ts +14 -3
  29. package/dist/experimental.js +972 -956
  30. package/dist/{exports-B8qwxvwL.d.ts → exports-BSFis6g6.d.ts} +1 -1
  31. package/dist/f0.d.ts +3 -3
  32. package/dist/f0.js +604 -609
  33. package/dist/{highlight-BeMwpXOl.js → highlight-yovrsQLV.js} +1 -1
  34. package/dist/{index-DC_v_uUG.d.ts → index-DR7cCKE6.d.ts} +62 -16
  35. package/dist/{maplibre-iFKMikCO.js → maplibre-BGo0FJAX.js} +1 -1
  36. package/dist/{pdfWorker-rlBg8XHy.js → pdfWorker-B-8PMeY2.js} +1 -1
  37. package/dist/styles.css +1 -1
  38. package/dist/{types-Ia5pcWL6.d.ts → types-tXovhytw.d.ts} +11 -1
  39. package/package.json +1 -1
  40. package/dist/F0AudioPlayer-BrjgdlIL.js +0 -2
  41. package/dist/F0VideoPlayer-Bwq_1c7j.js +0 -1
@@ -1,3 +1,3 @@
1
- import { n as e, r as t, t as n } from "./F0DocumentViewer-BSMvv4hU.js";
1
+ import { n as e, r as t, t as n } from "./F0DocumentViewer-CipplAi8.js";
2
2
  import { t as r } from "./pdfWorkerConfig-BwllKt1K.js";
3
3
  export { n as F0DocumentViewer, e as F0PdfViewer, r as configurePdfWorker, t as pdfScales };
@@ -1,7 +1,7 @@
1
1
  import { a as e, r as t } from "./i18n-provider-DyI_r6Au.js";
2
2
  import { n, t as r } from "./skeleton-Dw-7r7zp.js";
3
3
  import { L as i } from "./tooltip-NXXT56H4.js";
4
- import { ts as a } from "./F0CanvasPanel-DV9kMkUy.js";
4
+ import { rs as a } from "./F0CanvasPanel-B5rOTxrn.js";
5
5
  import { Suspense as o, forwardRef as s, lazy as c } from "react";
6
6
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
7
7
  import './F0DocumentViewer.css';//#region src/addons/documents/F0DocumentViewer/types.ts
@@ -36,7 +36,7 @@ var d = [
36
36
  children: /* @__PURE__ */ l(r, { className: "h-full w-full max-w-[600px] rounded-md" })
37
37
  })]
38
38
  });
39
- }, p = c(() => import("./PdfViewer-CFn2h9nq.js")), m = c(() => import("./SheetViewer-onMadxsi.js")), h = c(() => import("./DocxViewer-D2S3lGOn.js")), g = c(() => import("./TextViewer-BIcgDoH5.js")), _ = c(() => import("./CodeViewer-DNLPQ2xO.js")), v = c(() => import("./HtmlViewer-CX1vkYRx.js")), y = c(() => import("./ArchiveViewer-DvKspMsv.js")), b = s((e, t) => {
39
+ }, p = c(() => import("./PdfViewer-Z-MUOaUP.js")), m = c(() => import("./SheetViewer-CjBwkzuZ.js")), h = c(() => import("./DocxViewer-DlHsOT2G.js")), g = c(() => import("./TextViewer-DR8ee6qU.js")), _ = c(() => import("./CodeViewer-DxSm1H6J.js")), v = c(() => import("./HtmlViewer-erJIt-Wn.js")), y = c(() => import("./ArchiveViewer-Bj0bDPBP.js")), b = s((e, t) => {
40
40
  let { kind: n = "pdf", mimeType: i, language: a, htmlExecution: s = "auto", htmlSandbox: c, sender: d, toolbar: b = "top", hideDownload: x = !1, ...S } = e;
41
41
  if (n === "pdf") return /* @__PURE__ */ l(o, {
42
42
  fallback: /* @__PURE__ */ l(f, {}),
@@ -1,8 +1,8 @@
1
- import { Si as e, a as t, o as n } from "./CoachmarkProvider-B0Fs1pf7.js";
1
+ import { Si as e, a as t, o as n } from "./CoachmarkProvider-CCHC0FZi.js";
2
2
  import { i as r, r as i } from "./i18n-provider-DyI_r6Au.js";
3
3
  import { L as a, R as o } from "./tooltip-NXXT56H4.js";
4
4
  import { D as s, G as c, K as l, Y as u, h as d, t as f, x as p } from "./F0Button-B217B6lh.js";
5
- import { As as m, ac as h, m as g, nn as _, r as v, rl as y, zc as b } from "./F0CanvasPanel-DV9kMkUy.js";
5
+ import { Ms as m, Vc as h, al as g, m as _, nn as v, r as y, sc as b } from "./F0CanvasPanel-B5rOTxrn.js";
6
6
  import { t as x } from "./F0Icon-CRETnjaC.js";
7
7
  import { N as S, T as C, U as w, p as T, z as E } from "./useData-CVTa0m1L.js";
8
8
  import { n as D, o as ee, s as O, t as k } from "./dist-BCNVh6y5.js";
@@ -408,7 +408,7 @@ var W = Ce, we = (e, t) => `hsl(${ye(e, t).replace(/ /g, ", ")})`, Te = (e, t) =
408
408
  variant: "ghost",
409
409
  size: "md",
410
410
  label: o?.fit ?? l.map.controls.fit,
411
- icon: b,
411
+ icon: h,
412
412
  hideLabel: !0,
413
413
  onClick: n
414
414
  }) : null, a ? /* @__PURE__ */ L(f, {
@@ -734,7 +734,7 @@ var Fe = ({ adapter: e, points: t, enabled: n, radius: r = 12, clusterRadius: i
734
734
  case "workplace": return {
735
735
  variant: {
736
736
  variant: "icon",
737
- icon: h
737
+ icon: b
738
738
  },
739
739
  color: qe
740
740
  };
@@ -1117,7 +1117,7 @@ function bt({ enabled: e, children: t, ...n }) {
1117
1117
  });
1118
1118
  }
1119
1119
  function xt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
1120
- let { isInstant: r, landInstantly: i } = vt(), a = yt(), [o, s] = I(O.panel), [c, l] = _({
1120
+ let { isInstant: r, landInstantly: i } = vt(), a = yt(), [o, s] = I(O.panel), [c, l] = v({
1121
1121
  key: pt,
1122
1122
  fallback: null,
1123
1123
  validate: ht,
@@ -1126,7 +1126,7 @@ function xt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
1126
1126
  e !== m.current && (m.current = e, i(), s(e));
1127
1127
  }, [i]), g = M(function(e) {
1128
1128
  i(), l(e);
1129
- }, [i, l]), v = M(function() {
1129
+ }, [i, l]), _ = M(function() {
1130
1130
  i(), l(null);
1131
1131
  }, [i, l]), y = p(`(max-width: ${mt + (e ? d : O.panel) + ee.mainMin - 1}px)`, { initializeWithValue: !0 }) ? "overlay" : "docked", [b, x] = I(!1), S = F(0), C = M(function() {
1132
1132
  x(!1);
@@ -1180,7 +1180,7 @@ function xt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
1180
1180
  secondarySidebarMaxWidth: u,
1181
1181
  declareSecondarySidebarWidth: h,
1182
1182
  resizeSecondarySidebar: g,
1183
- resetSecondarySidebarWidth: v,
1183
+ resetSecondarySidebarWidth: _,
1184
1184
  navigationMode: y,
1185
1185
  isOpenOverPage: w,
1186
1186
  openOverPage: D,
@@ -1197,7 +1197,7 @@ function xt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
1197
1197
  u,
1198
1198
  h,
1199
1199
  g,
1200
- v,
1200
+ _,
1201
1201
  y,
1202
1202
  w,
1203
1203
  D,
@@ -1367,20 +1367,20 @@ function Lt({ isExpanded: e, isHovered: t = !1 }) {
1367
1367
  strokeWidth: "1.3",
1368
1368
  strokeLinecap: "round",
1369
1369
  strokeLinejoin: "round",
1370
- className: a("stroke-current", It, g, "origin-[10.5835px_10px]", e ? "scale-x-100" : "-scale-x-100", n.arrow)
1370
+ className: a("stroke-current", It, _, "origin-[10.5835px_10px]", e ? "scale-x-100" : "-scale-x-100", n.arrow)
1371
1371
  }),
1372
1372
  /* @__PURE__ */ L("path", {
1373
1373
  id: "line",
1374
1374
  d: "M7.5 5L7.5 15",
1375
1375
  strokeWidth: "1.3",
1376
1376
  strokeLinecap: "round",
1377
- className: a("stroke-current", It, g, n.line)
1377
+ className: a("stroke-current", It, _, n.line)
1378
1378
  })
1379
1379
  ]
1380
1380
  });
1381
1381
  }
1382
1382
  function Rt() {
1383
- let { prevSidebarState: e, sidebarState: t, toggleSidebar: n } = At(), r = F(null), [a, o] = I(!1), c = v() === "two-level";
1383
+ let { prevSidebarState: e, sidebarState: t, toggleSidebar: n } = At(), r = F(null), [a, o] = I(!1), c = y() === "two-level";
1384
1384
  N(function() {
1385
1385
  c && e === "hidden" && t !== "hidden" && r.current?.focus();
1386
1386
  }, [
@@ -1463,7 +1463,7 @@ function Bt() {
1463
1463
  }), /* @__PURE__ */ L("div", {
1464
1464
  className: a("hidden", { flex: r }),
1465
1465
  children: /* @__PURE__ */ L(x, {
1466
- icon: y,
1466
+ icon: g,
1467
1467
  size: "md"
1468
1468
  })
1469
1469
  })]
@@ -1614,7 +1614,7 @@ var Yt = {
1614
1614
  isDark: e
1615
1615
  };
1616
1616
  }, en = {
1617
- maplibre: async () => (await import("./maplibre-iFKMikCO.js")).createMaplibreAdapter,
1617
+ maplibre: async () => (await import("./maplibre-BGo0FJAX.js")).createMaplibreAdapter,
1618
1618
  google: async (e) => (await import("./google-CG30Y63J.js")).loadGoogleAdapter(e)
1619
1619
  }, tn = /* @__PURE__ */ new Map(), nn = (e, t) => {
1620
1620
  let n = tn.get(e);