@factorialco/f0-react 16.7.2 → 16.9.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-PuK9lQt7.js → ArchiveThumbnail-CHD3Iy6h.js} +1 -1
- package/dist/{ArchiveViewer-EVdEZ47z.js → ArchiveViewer-BruLPfRd.js} +2 -2
- package/dist/{ChatPostComposerDialog-D_mW8jWn.js → ChatPostComposerDialog-D2VInjpJ.js} +2 -2
- package/dist/{CoachmarkProvider-B3rD36gl.js → CoachmarkProvider-BkKNhwDS.js} +19822 -19695
- package/dist/{CodeThumbnail-C_5FsBOm.js → CodeThumbnail-DPdOdeGw.js} +1 -1
- package/dist/{CodeViewer-Jsi_2xXh.js → CodeViewer-Md1vIG7A.js} +4 -4
- package/dist/{DocumentToolbar-BzByx1Dn.js → DocumentToolbar-DZKEtgXN.js} +2 -2
- package/dist/{DocxViewer-CSYglhFv.js → DocxViewer-DfzXVrsy.js} +1 -1
- package/dist/{F0AiProcessingOverlay-Bqx-e4_-.js → F0AiProcessingOverlay-Kv1fBtEQ.js} +331 -331
- package/dist/{F0Alert-HB_BxC2y.js → F0Alert-CPw8WeK2.js} +3 -3
- package/dist/F0AudioPlayer-DBErWDAZ.js +2 -0
- package/dist/{F0CanvasPanel-Bln7jkQW.js → F0CanvasPanel-CHlrtxyn.js} +4182 -4182
- package/dist/{F0DocumentViewer-DJ3LI-b-.js → F0DocumentViewer-DAmgyUac.js} +2 -2
- package/dist/{F0DocumentViewer-Dld2UWye.js → F0DocumentViewer-DPPUxead.js} +1 -1
- package/dist/{F0Map-DROScvs0.js → F0Map-BqlTQf2y.js} +9 -9
- package/dist/{F0Select-mxxXMo_K.js → F0Select-BysweEOJ.js} +1500 -1490
- package/dist/F0VideoPlayer-BNMgdgRq.js +1 -0
- package/dist/{F0VideoPlayer-B9TW8FVY.js → F0VideoPlayer-C4ntJknK.js} +15 -15
- package/dist/{HtmlViewer-DEUd_5sU.js → HtmlViewer-BtPzkwnP.js} +4 -4
- package/dist/{Map-B1ZzuTQM.js → Map-C30TPih9.js} +3 -3
- package/dist/{PdfThumbnail-BgDYJsQ1.js → PdfThumbnail-BEZgcOCH.js} +1 -1
- package/dist/{PdfViewer-B8yj3t3V.js → PdfViewer-BB7mpQE1.js} +6 -6
- package/dist/{SheetViewer-C4ZdihC_.js → SheetViewer-7Dbh6Qlw.js} +2 -2
- package/dist/{TextViewer-BszyoMOh.js → TextViewer-DhU8VF7y.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/component-status.js +52 -8
- package/dist/experimental.d.ts +121 -2
- package/dist/experimental.js +5738 -5299
- package/dist/f0.d.ts +1 -1
- package/dist/f0.js +167 -167
- package/dist/{highlight-D8IVJ7ry.js → highlight-D_yybAIe.js} +1 -1
- package/dist/{maplibre-lTb3LBXs.js → maplibre-CRK6U5yl.js} +1 -1
- package/dist/{pdfWorker-WlS_ycyi.js → pdfWorker-DM-jcBYr.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-Cyjz-Ray.js +0 -2
- package/dist/F0VideoPlayer-C6rx3JDg.js +0 -1
|
@@ -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-CHlrtxyn.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-BB7mpQE1.js")), m = c(() => import("./SheetViewer-7Dbh6Qlw.js")), h = c(() => import("./DocxViewer-DfzXVrsy.js")), g = c(() => import("./TextViewer-DhU8VF7y.js")), _ = c(() => import("./CodeViewer-Md1vIG7A.js")), v = c(() => import("./HtmlViewer-BtPzkwnP.js")), y = c(() => import("./ArchiveViewer-BruLPfRd.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,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-DAmgyUac.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,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-BkKNhwDS.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 { Dc as m,
|
|
5
|
+
import { Dc as m, Gc as h, Ht as g, Ks as _, _s as v, u as y } from "./F0CanvasPanel-CHlrtxyn.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";
|
|
@@ -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: _
|
|
738
738
|
},
|
|
739
739
|
color: qe
|
|
740
740
|
};
|
|
@@ -1117,12 +1117,12 @@ 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] = g({
|
|
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), m = P(o),
|
|
1125
|
+
}), u = lt(a, pt, Math.max(320, o)), d = Math.min(o, u), f = c === null ? d : ut(c, u), m = P(o), h = A(function(e) {
|
|
1126
1126
|
e !== m.current && (m.current = e, i(), s(e));
|
|
1127
1127
|
}, [i]), _ = A(function(e) {
|
|
1128
1128
|
i(), l(e);
|
|
@@ -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: h,
|
|
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
|
+
h,
|
|
1199
1199
|
_,
|
|
1200
1200
|
v,
|
|
1201
1201
|
y,
|
|
@@ -1463,7 +1463,7 @@ function Ht() {
|
|
|
1463
1463
|
}), /* @__PURE__ */ I("div", {
|
|
1464
1464
|
className: a("hidden", { flex: r }),
|
|
1465
1465
|
children: /* @__PURE__ */ I(b, {
|
|
1466
|
-
icon:
|
|
1466
|
+
icon: h,
|
|
1467
1467
|
size: "md"
|
|
1468
1468
|
})
|
|
1469
1469
|
})]
|
|
@@ -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-CRK6U5yl.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);
|