@factorialco/f0-react 16.8.0 → 16.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.
- package/dist/{ArchiveThumbnail-BKvu3lcu.js → ArchiveThumbnail-9IAuKfW7.js} +1 -1
- package/dist/{ArchiveViewer-PokpRAw4.js → ArchiveViewer-DZdZghcM.js} +2 -2
- package/dist/{ChatPostComposerDialog-D-5viWxQ.js → ChatPostComposerDialog-_G5Pf2gv.js} +2 -2
- package/dist/{CoachmarkProvider-C47BcI7u.js → CoachmarkProvider-DBWG5JPy.js} +20006 -19879
- package/dist/{CodeThumbnail-CroXmUci.js → CodeThumbnail-BouZzrfy.js} +1 -1
- package/dist/{CodeViewer-DVTJp_wA.js → CodeViewer-C0Wlq0gB.js} +6 -6
- package/dist/{DocumentToolbar-BANw77k3.js → DocumentToolbar-91QU9XVM.js} +2 -2
- package/dist/{DocxViewer-CevgUJLK.js → DocxViewer-CsU4rZBl.js} +1 -1
- package/dist/{F0AiProcessingOverlay-DI6jMuCD.js → F0AiProcessingOverlay-DhdLn3nF.js} +1493 -1493
- package/dist/{F0Alert-ieGe_wih.js → F0Alert-CLD9ksh2.js} +1 -1
- package/dist/F0AudioPlayer-CCie8Ckg.js +2 -0
- package/dist/{F0CanvasPanel-C4ph6y28.js → F0CanvasPanel-BGCNTCuf.js} +6386 -6386
- package/dist/{F0DocumentViewer-NYnR9AyB.js → F0DocumentViewer-BKDqDRgJ.js} +1 -1
- package/dist/{F0DocumentViewer-CB-M5vkX.js → F0DocumentViewer-wZlCAqaG.js} +2 -2
- package/dist/{F0Map-CGd46RFu.js → F0Map-BdaUn_qn.js} +11 -11
- package/dist/{F0Select-mxxXMo_K.js → F0Select-BysweEOJ.js} +1500 -1490
- package/dist/F0VideoPlayer-BUKQI61X.js +1 -0
- package/dist/{F0VideoPlayer-C0z6zvj3.js → F0VideoPlayer-DrA7Jeha.js} +17 -17
- package/dist/{HtmlViewer-0nFbOUq8.js → HtmlViewer-B_cV95SJ.js} +4 -4
- package/dist/{Map-B08PBTa7.js → Map-D1iuuLEo.js} +3 -3
- package/dist/{PdfThumbnail-D7J4iWRY.js → PdfThumbnail-n3begIad.js} +1 -1
- package/dist/{PdfViewer-cW_JCDxU.js → PdfViewer-Bmn456Cw.js} +5 -5
- package/dist/{SheetViewer-DqoHh8uJ.js → SheetViewer-BlUFO4vX.js} +2 -2
- package/dist/{TextViewer-Bj4KGv39.js → TextViewer-CvAxde5s.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/component-status.js +2 -2
- package/dist/experimental.d.ts +1 -1
- package/dist/experimental.js +408 -408
- package/dist/f0.d.ts +5 -3
- package/dist/f0.js +1490 -1489
- package/dist/{highlight-CciFQ6gi.js → highlight-BNZcR0xZ.js} +1 -1
- package/dist/{maplibre-DSB7gj3I.js → maplibre-Dz4IiVx2.js} +1 -1
- package/dist/{pdfWorker-D4A-2BUo.js → pdfWorker-BRvWbey0.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-DBhqq-Lu.d.ts → types-kaUL7GRh.d.ts} +19 -9
- package/package.json +1 -1
- package/dist/F0AudioPlayer-uMvUIjPA.js +0 -2
- package/dist/F0VideoPlayer-BA5EvMse.js +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./F0DocumentViewer-
|
|
1
|
+
import { n as e, r as t, t as n } from "./F0DocumentViewer-wZlCAqaG.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-C-057er8.js";
|
|
2
2
|
import { n, t as r } from "./skeleton-C__vPA8D.js";
|
|
3
3
|
import { L as i } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import { Ho as a } from "./F0CanvasPanel-
|
|
4
|
+
import { Ho as a } from "./F0CanvasPanel-BGCNTCuf.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-
|
|
39
|
+
}, p = c(() => import("./PdfViewer-Bmn456Cw.js")), m = c(() => import("./SheetViewer-BlUFO4vX.js")), h = c(() => import("./DocxViewer-CsU4rZBl.js")), g = c(() => import("./TextViewer-CvAxde5s.js")), _ = c(() => import("./CodeViewer-C0Wlq0gB.js")), v = c(() => import("./HtmlViewer-B_cV95SJ.js")), y = c(() => import("./ArchiveViewer-DZdZghcM.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-
|
|
1
|
+
import { Si as e, a as t, o as n } from "./CoachmarkProvider-DBWG5JPy.js";
|
|
2
2
|
import { i as r, r as i } from "./i18n-provider-C-057er8.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-CfK_6Dfx.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Ht as m, Kc as h, Oc as g, _s as _, qs as v, u as y } from "./F0CanvasPanel-BGCNTCuf.js";
|
|
6
6
|
import { t as b } from "./F0Icon-BPx-9kOK.js";
|
|
7
7
|
import { F as x, G as S, V as C, f as w, w as ee } from "./useData-CaY41foq.js";
|
|
8
8
|
import { n as T, o as E, s as te, t as D } from "./dist-BCNVh6y5.js";
|
|
@@ -408,14 +408,14 @@ var Te = V, H = (e, t) => `hsl(${be(e, t).replace(/ /g, ", ")})`, Ee = (e, t) =>
|
|
|
408
408
|
variant: "ghost",
|
|
409
409
|
size: "md",
|
|
410
410
|
label: o?.fit ?? l.map.controls.fit,
|
|
411
|
-
icon:
|
|
411
|
+
icon: g,
|
|
412
412
|
hideLabel: !0,
|
|
413
413
|
onClick: n
|
|
414
414
|
}) : null, a ? /* @__PURE__ */ I(f, {
|
|
415
415
|
variant: "ghost",
|
|
416
416
|
size: "md",
|
|
417
417
|
label: o?.locate ?? l.map.controls.locate,
|
|
418
|
-
icon:
|
|
418
|
+
icon: _,
|
|
419
419
|
hideLabel: !0,
|
|
420
420
|
onClick: a
|
|
421
421
|
}) : null] })) : null, d ? p(/* @__PURE__ */ L(ae, { children: [e ? /* @__PURE__ */ I(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:
|
|
737
|
+
icon: v
|
|
738
738
|
},
|
|
739
739
|
color: qe
|
|
740
740
|
};
|
|
@@ -1117,13 +1117,13 @@ function yt({ enabled: e, children: t, ...n }) {
|
|
|
1117
1117
|
});
|
|
1118
1118
|
}
|
|
1119
1119
|
function bt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
1120
|
-
let { isInstant: r, landInstantly: i } = _t(), a = vt(), [o, s] = F(te.panel), [c, l] =
|
|
1120
|
+
let { isInstant: r, landInstantly: i } = _t(), a = vt(), [o, s] = F(te.panel), [c, l] = m({
|
|
1121
1121
|
key: ft,
|
|
1122
1122
|
fallback: null,
|
|
1123
1123
|
validate: mt,
|
|
1124
1124
|
debounceMs: 200
|
|
1125
|
-
}), u = lt(a, pt, Math.max(320, o)), d = Math.min(o, u), f = c === null ? d : ut(c, u),
|
|
1126
|
-
e !==
|
|
1125
|
+
}), u = lt(a, pt, Math.max(320, o)), d = Math.min(o, u), f = c === null ? d : ut(c, u), h = P(o), g = A(function(e) {
|
|
1126
|
+
e !== h.current && (h.current = e, i(), s(e));
|
|
1127
1127
|
}, [i]), _ = A(function(e) {
|
|
1128
1128
|
i(), l(e);
|
|
1129
1129
|
}, [i, l]), v = A(function() {
|
|
@@ -1178,7 +1178,7 @@ function bt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
|
1178
1178
|
hasSecondarySidebar: e,
|
|
1179
1179
|
secondarySidebarWidth: f,
|
|
1180
1180
|
secondarySidebarMaxWidth: u,
|
|
1181
|
-
declareSecondarySidebarWidth:
|
|
1181
|
+
declareSecondarySidebarWidth: g,
|
|
1182
1182
|
resizeSecondarySidebar: _,
|
|
1183
1183
|
resetSecondarySidebarWidth: v,
|
|
1184
1184
|
navigationMode: y,
|
|
@@ -1195,7 +1195,7 @@ function bt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
|
1195
1195
|
e,
|
|
1196
1196
|
f,
|
|
1197
1197
|
u,
|
|
1198
|
-
|
|
1198
|
+
g,
|
|
1199
1199
|
_,
|
|
1200
1200
|
v,
|
|
1201
1201
|
y,
|
|
@@ -1614,7 +1614,7 @@ var Zt = {
|
|
|
1614
1614
|
isDark: e
|
|
1615
1615
|
};
|
|
1616
1616
|
}, nn = {
|
|
1617
|
-
maplibre: async () => (await import("./maplibre-
|
|
1617
|
+
maplibre: async () => (await import("./maplibre-Dz4IiVx2.js")).createMaplibreAdapter,
|
|
1618
1618
|
google: async (e) => (await import("./google-CG30Y63J.js")).loadGoogleAdapter(e)
|
|
1619
1619
|
}, rn = /* @__PURE__ */ new Map(), an = (e, t) => {
|
|
1620
1620
|
let n = rn.get(e);
|