@factorialco/f0-react 12.9.1 → 12.10.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 (31) hide show
  1. package/dist/{ChatPostComposerDialog-CWTlUs36.js → ChatPostComposerDialog-DcmLrQk6.js} +2 -2
  2. package/dist/{CoachmarkProvider-BMunnTvE.js → CoachmarkProvider-XfLjB3dH.js} +27678 -27678
  3. package/dist/{DocumentToolbar-iHZHYbFM.js → DocumentToolbar-CqbY6eID.js} +2 -2
  4. package/dist/{DocxViewer-C1yw4Yqt.js → DocxViewer-CqHgSExq.js} +1 -1
  5. package/dist/{F0AiProcessingOverlay-cdj77_VP.js → F0AiProcessingOverlay-H23WHd7F.js} +1227 -1123
  6. package/dist/{F0CanvasPanel-DPEwyR89.js → F0CanvasPanel--hLKeQvg.js} +7639 -7637
  7. package/dist/{F0DocumentViewer-sRCjFb2O.js → F0DocumentViewer-BN-2IVgz.js} +5 -5
  8. package/dist/F0DocumentViewer-D1G3M2J_.js +3 -0
  9. package/dist/{F0Map-ZSo-alK8.js → F0Map-hvgCUGk8.js} +13 -6
  10. package/dist/{F0VideoPlayer-B1-tEFuq.js → F0VideoPlayer-CNp5hXgp.js} +275 -275
  11. package/dist/F0VideoPlayer-D4bZBBLK.js +1 -0
  12. package/dist/{Map-B_Hw6nIS.js → Map-eIXVKc1x.js} +6 -6
  13. package/dist/{PdfThumbnail-BWqOqM04.js → PdfThumbnail-CCSmwxQU.js} +1 -1
  14. package/dist/{SheetViewer-B8JTSi3B.js → SheetViewer-BN5UYkEZ.js} +3 -3
  15. package/dist/{TextViewer-CEZd1H8u.js → TextViewer-Bt0_dYB-.js} +1 -1
  16. package/dist/ai.d.ts +2 -2
  17. package/dist/ai.js +3 -3
  18. package/dist/component-status.js +1 -1
  19. package/dist/experimental.d.ts +2 -2
  20. package/dist/experimental.js +4494 -4306
  21. package/dist/{exports-BdFDYdp1.d.ts → exports-BByQBwpi.d.ts} +13 -2
  22. package/dist/f0.d.ts +3 -3
  23. package/dist/f0.js +171 -171
  24. package/dist/{index-DIwa_k8B.d.ts → index-D3nEDg8x.d.ts} +15 -1
  25. package/dist/{maplibre-BSY0r3_z.js → maplibre-Bywi9z2G.js} +1 -1
  26. package/dist/{pdfWorker-DRgGoc3T.js → pdfWorker-CKgxOaCl.js} +1 -1
  27. package/dist/styles.css +1 -1
  28. package/dist/{types-hr47rxX3.d.ts → types-UMYBr8Mi.d.ts} +1 -1
  29. package/package.json +1 -1
  30. package/dist/F0DocumentViewer-CzNVxjsJ.js +0 -3
  31. package/dist/F0VideoPlayer-B4Nu7ugx.js +0 -1
@@ -1,9 +1,9 @@
1
1
  import { ar as e, b as t, ln as n, rn as r, rr as i, zt as a } from "./popover-BjrPOMeQ.js";
2
2
  import { L as o } from "./tooltip-BX4dSfeL.js";
3
- import { Co as s, Oa as c, Os as l, go as u } from "./F0CanvasPanel-DPEwyR89.js";
3
+ import { _o as s, ka as c, ks as l, wo as u } from "./F0CanvasPanel--hLKeQvg.js";
4
4
  import { X as d, q as f } from "./useData-B7LYSzh0.js";
5
5
  import { Er as p, dr as m, t as h } from "./F0Select-B-ZxVjXG.js";
6
- import { i as ee, n as g, r as _ } from "./pdfWorker-DRgGoc3T.js";
6
+ import { i as ee, n as g, r as _ } from "./pdfWorker-CKgxOaCl.js";
7
7
  import { Suspense as v, forwardRef as y, lazy as b, useCallback as x, useEffect as S, useMemo as C, useRef as w, useState as T } from "react";
8
8
  import { jsx as E, jsxs as D } from "react/jsx-runtime";
9
9
  import './F0DocumentViewer.css';//#region src/addons/documents/F0DocumentViewer/components/PdfLoadingState.tsx
@@ -87,12 +87,12 @@ var O = ({ label: e, width: t, height: r }) => /* @__PURE__ */ E("div", {
87
87
  b ? /* @__PURE__ */ E(k, {
88
88
  label: O.rotate,
89
89
  onClick: x,
90
- icon: u
90
+ icon: s
91
91
  }) : null,
92
92
  /* @__PURE__ */ E(k, {
93
93
  label: O.print,
94
94
  onClick: S,
95
- icon: s
95
+ icon: u
96
96
  }),
97
97
  /* @__PURE__ */ E(k, {
98
98
  label: O.download,
@@ -186,7 +186,7 @@ var O = ({ label: e, width: t, height: r }) => /* @__PURE__ */ E("div", {
186
186
  //#endregion
187
187
  //#region src/addons/documents/F0DocumentViewer/F0DocumentViewer.tsx
188
188
  g();
189
- var z = b(() => import("./SheetViewer-B8JTSi3B.js")), B = b(() => import("./DocxViewer-C1yw4Yqt.js")), V = b(() => import("./TextViewer-CEZd1H8u.js")), ue = 48, de = 150, H = y((e, t) => {
189
+ var z = b(() => import("./SheetViewer-BN5UYkEZ.js")), B = b(() => import("./DocxViewer-CqHgSExq.js")), V = b(() => import("./TextViewer-Bt0_dYB-.js")), ue = 48, de = 150, H = y((e, t) => {
190
190
  let { kind: r = "pdf", mimeType: i, toolbar: a = "top", ...o } = e;
191
191
  if (r === "pdf") return /* @__PURE__ */ E(U, {
192
192
  ref: t,
@@ -0,0 +1,3 @@
1
+ import "./pdfWorker-CKgxOaCl.js";
2
+ export { t as F0DocumentViewer } from "./F0DocumentViewer-BN-2IVgz.js";
3
+ import "./f0.js";
@@ -1,8 +1,8 @@
1
- import { a as e, o as t, pi as n } from "./CoachmarkProvider-BMunnTvE.js";
1
+ import { a as e, o as t, pi as n } from "./CoachmarkProvider-XfLjB3dH.js";
2
2
  import { Ht as r, Lt as i, Mt as a, Zn as o, b as s, gn as c, in as l, ir as u, mn as d, rn as f } from "./popover-BjrPOMeQ.js";
3
3
  import { L as p, R as m } from "./tooltip-BX4dSfeL.js";
4
4
  import { n as h } from "./F0Text-D92NWQRd.js";
5
- import { Fo as g, X as _, gs as v, io as y } from "./F0CanvasPanel-DPEwyR89.js";
5
+ import { Io as g, Z as _, _s as v, ao as y } from "./F0CanvasPanel--hLKeQvg.js";
6
6
  import { V as b, Z as x, j as S, q as ee, y as C } from "./useData-B7LYSzh0.js";
7
7
  import { a as w, n as T, o as te, s as ne, t as E } from "./dist-Cuwaibqg.js";
8
8
  import { createContext as D, forwardRef as O, useCallback as k, useContext as A, useEffect as j, useId as re, useImperativeHandle as ie, useLayoutEffect as ae, useMemo as M, useRef as N, useState as P } from "react";
@@ -1297,8 +1297,15 @@ var { duration: Ot, ease: kt, settleMs: At } = w, jt = At, Mt = {
1297
1297
  ease: kt.outSwift
1298
1298
  }, Nt = {
1299
1299
  duration: Ot.reveal,
1300
- ease: kt.outSwift
1301
- }, Pt = { duration: 0 }, Ft = (e, t = !1) => e || t ? Pt : Mt, It = (e, t, n = !1) => e || n ? Pt : t ? Nt : Mt, Lt = ({ coversFrame: e, isFullscreen: t, isClosingFromFullscreen: n, isActivePanel: r, reservedWidth: i }) => e || (t || n) && r ? "100%" : i, Rt = "duration-base ease-out-swift motion-reduce:transition-none", zt = D("classic"), Bt = zt.Provider, Vt = () => A(zt), Ht = "M10.417 10L14.167 10M10.417 10L12.0837 8.33337M10.417 10L12.0837 11.6667", Ut = {
1300
+ ease: [
1301
+ .2,
1302
+ 0,
1303
+ 0,
1304
+ 1
1305
+ ]
1306
+ };
1307
+ Ot.fast, kt.outSwift;
1308
+ var Pt = { duration: 0 }, Ft = (e, t = !1) => e || t ? Pt : Mt, It = (e, t, n = !1) => e || n ? Pt : t ? Nt : Mt, Lt = ({ coversFrame: e, isFullscreen: t, isClosingFromFullscreen: n, isActivePanel: r, reservedWidth: i }) => e || (t || n) && r ? "100%" : i, Rt = "duration-base ease-out-swift motion-reduce:transition-none", zt = D("classic"), Bt = zt.Provider, Vt = () => A(zt), Ht = "M10.417 10L14.167 10M10.417 10L12.0837 8.33337M10.417 10L12.0837 11.6667", Ut = {
1302
1309
  open: {
1303
1310
  rest: {
1304
1311
  arrow: "opacity-0 translate-x-0",
@@ -1593,7 +1600,7 @@ var rn = {
1593
1600
  isDark: e
1594
1601
  };
1595
1602
  }, ln = {
1596
- maplibre: async () => (await import("./maplibre-BSY0r3_z.js")).createMaplibreAdapter,
1603
+ maplibre: async () => (await import("./maplibre-Bywi9z2G.js")).createMaplibreAdapter,
1597
1604
  google: async (e) => (await import("./google-D1V0swd7.js")).loadGoogleAdapter(e)
1598
1605
  }, un = /* @__PURE__ */ new Map(), dn = (e, t) => {
1599
1606
  let n = un.get(e);
@@ -12126,4 +12133,4 @@ var rn = {
12126
12133
  On.displayName = "F0Map";
12127
12134
  var kn = On;
12128
12135
  //#endregion
12129
- export { wt as C, Ke as D, ct as E, Fe as O, Ct as S, ht as T, Rt as _, bn as a, Lt as b, an as c, qt as d, Bt as f, jt as g, Pt as h, _n as i, Pe as k, Xt as l, Mt as m, xn as n, on as o, Vt as p, gn as r, rn as s, kn as t, Yt as u, Ft as v, vt as w, Dt as x, It as y };
12136
+ export { Pe as A, Ct as C, ct as D, ht as E, Ke as O, Dt as S, vt as T, Rt as _, bn as a, It as b, an as c, qt as d, Bt as f, jt as g, Pt as h, _n as i, Fe as k, Xt as l, Mt as m, xn as n, on as o, Vt as p, gn as r, rn as s, kn as t, Yt as u, Nt as v, wt as w, Lt as x, Ft as y };