@factorialco/f0-react 16.31.0 → 16.32.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-snnCL51c.js → ArchiveThumbnail-Dl2HnB--.js} +1 -1
- package/dist/{ArchiveViewer-qrPGzl45.js → ArchiveViewer-B_xB6xit.js} +2 -2
- package/dist/{ChatPostComposerDialog-C7FQ5zej.js → ChatPostComposerDialog-Bu0rlYyV.js} +2 -2
- package/dist/{CoachmarkProvider-CqkPfWAF.js → CoachmarkProvider-VSAdFpIQ.js} +9453 -9453
- package/dist/{CodeThumbnail-jrNjbGFK.js → CodeThumbnail-B5ghtujo.js} +1 -1
- package/dist/{CodeViewer-rskCF-XU.js → CodeViewer-mu98BNUV.js} +4 -4
- package/dist/{DocumentToolbar-C7f4MplQ.js → DocumentToolbar-BoQH-Q42.js} +4 -4
- package/dist/{DocxViewer-Md9lijeE.js → DocxViewer-1twidm1_.js} +1 -1
- package/dist/{F0AiProcessingOverlay-Bz5bf3ZA.js → F0AiProcessingOverlay-CDZ1EktV.js} +139 -139
- package/dist/{F0Alert-Ctib1gD6.js → F0Alert-C0Bx7kYw.js} +3 -3
- package/dist/F0AudioPlayer-DpisVDEA.js +2 -0
- package/dist/{F0Button-DVbQTicD.js → F0Button-C_37FsAL.js} +1 -1
- package/dist/{F0CanvasPanel-CZKTFPP7.js → F0CanvasPanel-DqxUtxQb.js} +8697 -8697
- package/dist/{F0DocumentViewer-D9HXGXr_.js → F0DocumentViewer-BW9obU0m.js} +2 -2
- package/dist/{F0DocumentViewer-BgIPKW21.js → F0DocumentViewer-CA9SpbfT.js} +1 -1
- package/dist/{F0Map-C4p4mly7.js → F0Map-tifx52Ux.js} +32 -32
- package/dist/{F0Select-D6mxgb1s.js → F0Select-99Jj4NGi.js} +205 -205
- package/dist/{F0Text-CcpTiEit.js → F0Text-BSFZeGZS.js} +1 -1
- package/dist/{F0VideoPlayer-D6cgKhcQ.js → F0VideoPlayer-CbUQbiYX.js} +2 -2
- package/dist/F0VideoPlayer-D4cOELIl.js +1 -0
- package/dist/{HtmlThumbnail-fMq9VsQi.js → HtmlThumbnail-D_orDk32.js} +1 -1
- package/dist/{HtmlViewer-BVitdvD6.js → HtmlViewer-wSUWTmvf.js} +6 -6
- package/dist/{LayoutGroup-FkYOcIJ1.js → LayoutGroup-BdScbu1I.js} +14 -14
- package/dist/{Map-ZXcjPt4S.js → Map-D45L0VOw.js} +7 -7
- package/dist/{PdfThumbnail-CwkqbqHx.js → PdfThumbnail-D2hdT0Ni.js} +1 -1
- package/dist/{PdfViewer-Cytnm1Ks.js → PdfViewer-CxDAtQp6.js} +6 -6
- package/dist/{SandboxedHtmlFrame-BT6LThaT.js → SandboxedHtmlFrame-BwWonsbG.js} +1 -1
- package/dist/{SheetViewer-DFLeOh69.js → SheetViewer-CSGL7Qk0.js} +3 -3
- package/dist/{TextViewer-C9Ds2dE7.js → TextViewer-CTe6dP0c.js} +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/{dist-BwlC-i6M.js → dist--IVD9h9m.js} +1 -1
- package/dist/{dist-DN0nDQy0.js → dist-C0QdR0fU.js} +1 -1
- package/dist/{dist-_ts6SUAW.js → dist-C3Fj2coq.js} +1 -1
- package/dist/{dist-C691Abhf.js → dist-Ch_QnvD2.js} +4 -4
- package/dist/{dist-CiC2ZqiK.js → dist-DEKBA6AC.js} +1 -1
- package/dist/experimental.d.ts +7 -5
- package/dist/experimental.js +5643 -5642
- package/dist/f0.js +34 -34
- package/dist/{highlight-CT0Gl0kj.js → highlight-C6TmYLa5.js} +1 -1
- package/dist/{maplibre-B3l6Byv4.js → maplibre-4SBUjOB1.js} +1 -1
- package/dist/{pdfWorker-BwmWYP-K.js → pdfWorker-Bl3lAQhv.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-CusTVVsH.js → toolbarStyles-CIUnK4l1.js} +1 -1
- package/dist/{useData-XExWuz7o.js → useData-BurcbcjV.js} +4 -4
- package/package.json +1 -1
- package/dist/F0AudioPlayer-B4YvRRgo.js +0 -2
- package/dist/F0VideoPlayer-DV84zT9b.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, r as t } from "./i18n-provider-kdMqj3iD.js";
|
|
2
2
|
import { n, t as r } from "./skeleton-9cd4VWq0.js";
|
|
3
3
|
import { L as i } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import { as as a } from "./F0CanvasPanel-
|
|
4
|
+
import { as as a } from "./F0CanvasPanel-DqxUtxQb.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-CxDAtQp6.js")), m = c(() => import("./SheetViewer-CSGL7Qk0.js")), h = c(() => import("./DocxViewer-1twidm1_.js")), g = c(() => import("./TextViewer-CTe6dP0c.js")), _ = c(() => import("./CodeViewer-mu98BNUV.js")), v = c(() => import("./HtmlViewer-wSUWTmvf.js")), y = c(() => import("./ArchiveViewer-B_xB6xit.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-BW9obU0m.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,10 +1,10 @@
|
|
|
1
|
-
import { Ci as e, a as t, o as n } from "./CoachmarkProvider-
|
|
1
|
+
import { Ci as e, a as t, o as n } from "./CoachmarkProvider-VSAdFpIQ.js";
|
|
2
2
|
import { i as r, r as i } from "./i18n-provider-kdMqj3iD.js";
|
|
3
3
|
import { L as a, R as o } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import {
|
|
5
|
-
import { Ps as m, Wc as h, cl as g, cn as _, m as v, nn as y, r as b, uc as x } from "./F0CanvasPanel-
|
|
4
|
+
import { K as s, O as c, X as l, h as u, q as d, t as f, x as p } from "./F0Button-C_37FsAL.js";
|
|
5
|
+
import { Ps as m, Wc as h, cl as g, cn as _, m as v, nn as y, r as b, uc as x } from "./F0CanvasPanel-DqxUtxQb.js";
|
|
6
6
|
import { a as S } from "./createIcon-B-z7hPQg.js";
|
|
7
|
-
import { B as C, E as w, P as T, W as E, m as D } from "./useData-
|
|
7
|
+
import { B as C, E as w, P as T, W as E, m as D } from "./useData-BurcbcjV.js";
|
|
8
8
|
import { n as ee, o as O, s as k, t as A } from "./dist-DMTFO2gF.js";
|
|
9
9
|
import { createContext as j, forwardRef as M, useCallback as N, useContext as te, useEffect as P, useId as ne, useImperativeHandle as re, useLayoutEffect as F, useMemo as I, useRef as L, useState as R } from "react";
|
|
10
10
|
import { Fragment as ie, jsx as z, jsxs as B } from "react/jsx-runtime";
|
|
@@ -145,7 +145,7 @@ var oe = (e, t) => ({
|
|
|
145
145
|
let e = H.xl;
|
|
146
146
|
return -(e.d - e.caretOverlap + e.caretH + U + W) + 3;
|
|
147
147
|
}, K = "hsl(var(--white-100))", q = M(function(t, n) {
|
|
148
|
-
let { size: i = "md", selected: s = !1, collapsed: c = !1, label:
|
|
148
|
+
let { size: i = "md", selected: s = !1, collapsed: c = !1, label: u, showLabel: f = !0, labelPlacement: p = "right", onClick: m, ariaLabel: h, presentational: g = !1, dataTestId: _, className: v } = t, y = t.variant ?? "color", b = H[s ? "xl" : i], x = !!m, C = y === "color" || y === "icon" || y === "letter", T = y === "person" && "firstName" in t ? t.firstName + t.lastName : (y === "team" || y === "company") && "name" in t ? t.name : null, E = C ? t.color ?? "radical" : T ? y === "person" && "src" in t && t.src ? "grey" : w(T) ?? "grey" : "neutral", ee = e(), O = s ? 32 : {
|
|
149
149
|
xs: 12,
|
|
150
150
|
sm: 16,
|
|
151
151
|
md: 20,
|
|
@@ -221,7 +221,7 @@ var oe = (e, t) => ({
|
|
|
221
221
|
backgroundColor: K
|
|
222
222
|
}
|
|
223
223
|
}) : N
|
|
224
|
-
}), ne = /* @__PURE__ */ z(
|
|
224
|
+
}), ne = /* @__PURE__ */ z(l, { children: s ? /* @__PURE__ */ z(d.svg, {
|
|
225
225
|
width: b.caretW,
|
|
226
226
|
height: b.caretH,
|
|
227
227
|
viewBox: "0 0 16 13",
|
|
@@ -282,7 +282,7 @@ var oe = (e, t) => ({
|
|
|
282
282
|
transform: `translate(-50%, ${s ? L : ue}px)`,
|
|
283
283
|
style: { paddingTop: F.gap + (s ? 4 : 0) }
|
|
284
284
|
}
|
|
285
|
-
}[ae], fe =
|
|
285
|
+
}[ae], fe = u && f && !c && /* @__PURE__ */ z("span", {
|
|
286
286
|
className: a("absolute left-0 top-0 font-semibold leading-tight transition-all duration-200 ease-out", le),
|
|
287
287
|
style: {
|
|
288
288
|
color: `hsl(${ve[E]})`,
|
|
@@ -292,7 +292,7 @@ var oe = (e, t) => ({
|
|
|
292
292
|
maxWidth: ce ? F.maxLabelW : void 0,
|
|
293
293
|
...de.style
|
|
294
294
|
},
|
|
295
|
-
children:
|
|
295
|
+
children: u
|
|
296
296
|
}), pe = /* @__PURE__ */ z("span", {
|
|
297
297
|
"aria-hidden": !0,
|
|
298
298
|
className: "absolute left-0 top-0 rounded-full border-solid transition-all duration-200 ease-out",
|
|
@@ -925,7 +925,7 @@ var $ = rt, it = 16, at = (e, t, n, r) => {
|
|
|
925
925
|
a.style.zIndex = n ? "2" : "";
|
|
926
926
|
}, [a, n]), ae(i, a);
|
|
927
927
|
}, lt = ({ adapter: e, points: t, selectedId: n, highlightedId: r, onSelect: a, onMarkerDrag: o, onMarkerDragEnd: s, onClusterExpand: c }) => {
|
|
928
|
-
let
|
|
928
|
+
let u = i(), f = !!s, p = I(() => f ? t.filter((e) => !e.draggable) : t, [t, f]), m = Pe({
|
|
929
929
|
adapter: e,
|
|
930
930
|
points: p,
|
|
931
931
|
enabled: !0
|
|
@@ -938,11 +938,11 @@ var $ = rt, it = 16, at = (e, t, n, r) => {
|
|
|
938
938
|
p,
|
|
939
939
|
t
|
|
940
940
|
]), _ = Ge(e, it) ? "lg" : "md", v = Ue(e, g, _), y = new Map(t.map((e) => [e.id, e])), b = h.length > 0, x = ot(e, n ? y.get(n) : void 0, g, _);
|
|
941
|
-
return /* @__PURE__ */ B(
|
|
941
|
+
return /* @__PURE__ */ B(l, { children: [h.map((t) => /* @__PURE__ */ z(ct, {
|
|
942
942
|
adapter: e,
|
|
943
943
|
coordinates: t.coordinates,
|
|
944
944
|
selected: !1,
|
|
945
|
-
children: /* @__PURE__ */ z(
|
|
945
|
+
children: /* @__PURE__ */ z(d.span, {
|
|
946
946
|
initial: {
|
|
947
947
|
scale: .8,
|
|
948
948
|
opacity: 0
|
|
@@ -982,7 +982,7 @@ var $ = rt, it = 16, at = (e, t, n, r) => {
|
|
|
982
982
|
onDrag: o && ((e) => o(t.id, e)),
|
|
983
983
|
onDragEnd: (e) => s(t.id, e)
|
|
984
984
|
} : void 0,
|
|
985
|
-
children: /* @__PURE__ */ z(
|
|
985
|
+
children: /* @__PURE__ */ z(d.span, {
|
|
986
986
|
initial: { opacity: 0 },
|
|
987
987
|
animate: { opacity: 1 },
|
|
988
988
|
exit: {
|
|
@@ -997,9 +997,9 @@ var $ = rt, it = 16, at = (e, t, n, r) => {
|
|
|
997
997
|
ease: "easeOut"
|
|
998
998
|
},
|
|
999
999
|
className: "absolute left-0 top-0",
|
|
1000
|
-
children: /* @__PURE__ */ z(
|
|
1000
|
+
children: /* @__PURE__ */ z(l, {
|
|
1001
1001
|
initial: !1,
|
|
1002
|
-
children: /* @__PURE__ */ z(
|
|
1002
|
+
children: /* @__PURE__ */ z(d.span, {
|
|
1003
1003
|
initial: { opacity: 0 },
|
|
1004
1004
|
animate: { opacity: 1 },
|
|
1005
1005
|
exit: { opacity: 0 },
|
|
@@ -1018,15 +1018,15 @@ var $ = rt, it = 16, at = (e, t, n, r) => {
|
|
|
1018
1018
|
collapsed: c,
|
|
1019
1019
|
onClick: () => a(t.id),
|
|
1020
1020
|
presentational: !0,
|
|
1021
|
-
ariaLabel: t.label ??
|
|
1021
|
+
ariaLabel: t.label ?? u.map.unnamedLocation
|
|
1022
1022
|
})
|
|
1023
1023
|
}, _)
|
|
1024
1024
|
})
|
|
1025
1025
|
})
|
|
1026
1026
|
}, t.id);
|
|
1027
1027
|
})] });
|
|
1028
|
-
}, ut = ({ children: e, open: t, offsetX: n, offsetY: o = Y.inset, width: s, entrance: c = "slide", headerStart: l, headerEnd:
|
|
1029
|
-
let m = i(), h =
|
|
1028
|
+
}, ut = ({ children: e, open: t, offsetX: n, offsetY: o = Y.inset, width: s, entrance: c = "slide", headerStart: l, headerEnd: d, ariaLabel: f, dataTestId: p }) => {
|
|
1029
|
+
let m = i(), h = u(), g = t ? ke.enter : ke.exit, _ = n - Y.inset, v = L({
|
|
1030
1030
|
from: _,
|
|
1031
1031
|
to: _
|
|
1032
1032
|
});
|
|
@@ -1069,12 +1069,12 @@ var $ = rt, it = 16, at = (e, t, n, r) => {
|
|
|
1069
1069
|
height: "full",
|
|
1070
1070
|
children: /* @__PURE__ */ B("div", {
|
|
1071
1071
|
className: "flex h-full flex-col",
|
|
1072
|
-
children: [l ||
|
|
1072
|
+
children: [l || d ? /* @__PURE__ */ B("div", {
|
|
1073
1073
|
className: "flex shrink-0 items-center justify-between gap-1 p-0.5",
|
|
1074
1074
|
children: [/* @__PURE__ */ z("div", {
|
|
1075
1075
|
className: "flex min-w-0 flex-1 justify-start",
|
|
1076
1076
|
children: l
|
|
1077
|
-
}),
|
|
1077
|
+
}), d]
|
|
1078
1078
|
}) : null, /* @__PURE__ */ z("div", {
|
|
1079
1079
|
className: "min-h-0 flex-1",
|
|
1080
1080
|
children: e
|
|
@@ -1238,7 +1238,7 @@ function Nt() {
|
|
|
1238
1238
|
}
|
|
1239
1239
|
var Pt = (e, t) => e.navigationMode === "overlay" ? e.isOpenOverPage ? "unlocked" : "hidden" : t ? "locked" : "hidden", Ft = (e, t, n) => e || !t ? n ? "unlocked" : "hidden" : "locked";
|
|
1240
1240
|
function It({ children: e }) {
|
|
1241
|
-
let { currentPath: t } =
|
|
1241
|
+
let { currentPath: t } = s(), n = vt(), [r, i] = R(!1), [a, o] = R(!1), c = p(`(max-width: ${ee.md}px)`, { initializeWithValue: !0 }), l = p(`(max-width: ${ee.xl}px)`, { initializeWithValue: !0 }), u = r ? l : c, [d, f] = R(() => {
|
|
1242
1242
|
let e = localStorage.getItem(Ct);
|
|
1243
1243
|
return e === null || !!e;
|
|
1244
1244
|
}), [m, h] = R(!1), g = _(), [v, y] = R(null), [b, x] = R(null), S = g && n?.hasSecondarySidebar === !0 && n.navigationMode === "docked" && d && b !== v ? v : null, C = N(function(e) {
|
|
@@ -1395,7 +1395,7 @@ function Bt({ isExpanded: e, isHovered: t = !1 }) {
|
|
|
1395
1395
|
});
|
|
1396
1396
|
}
|
|
1397
1397
|
function Vt() {
|
|
1398
|
-
let { prevSidebarState: e, sidebarState: t, toggleSidebar: n, isLastToggleInvokedByUser: r } = Nt(), a = L(null), [o,
|
|
1398
|
+
let { prevSidebarState: e, sidebarState: t, toggleSidebar: n, isLastToggleInvokedByUser: r } = Nt(), a = L(null), [o, s] = R(!1), l = b() === "two-level";
|
|
1399
1399
|
P(function() {
|
|
1400
1400
|
l && e === "hidden" && (t === "unlocked" || t === "locked" && r) && a.current?.focus();
|
|
1401
1401
|
}, [
|
|
@@ -1405,7 +1405,7 @@ function Vt() {
|
|
|
1405
1405
|
r
|
|
1406
1406
|
]);
|
|
1407
1407
|
let u = i(), d = t !== "hidden", f = d ? u.navigation.sidebar.closePanel : u.navigation.sidebar.openPanel;
|
|
1408
|
-
return /* @__PURE__ */ z(
|
|
1408
|
+
return /* @__PURE__ */ z(c, {
|
|
1409
1409
|
variant: "ghost",
|
|
1410
1410
|
size: "md",
|
|
1411
1411
|
onClick: () => n(),
|
|
@@ -1415,8 +1415,8 @@ function Vt() {
|
|
|
1415
1415
|
compact: !0,
|
|
1416
1416
|
"aria-label": f,
|
|
1417
1417
|
"aria-expanded": d,
|
|
1418
|
-
onMouseEnter: () =>
|
|
1419
|
-
onMouseLeave: () =>
|
|
1418
|
+
onMouseEnter: () => s(!0),
|
|
1419
|
+
onMouseLeave: () => s(!1),
|
|
1420
1420
|
children: /* @__PURE__ */ z(Bt, {
|
|
1421
1421
|
isExpanded: d,
|
|
1422
1422
|
isHovered: o
|
|
@@ -1464,7 +1464,7 @@ function Ut() {
|
|
|
1464
1464
|
let { isDockedByUser: e, sidebarState: t, toggleSidebar: n, isSmallScreen: r } = Nt(), i = L(null);
|
|
1465
1465
|
return P(() => {
|
|
1466
1466
|
e && i.current?.focus();
|
|
1467
|
-
}, [e]), /* @__PURE__ */ B(
|
|
1467
|
+
}, [e]), /* @__PURE__ */ B(c, {
|
|
1468
1468
|
variant: "ghost",
|
|
1469
1469
|
size: "md",
|
|
1470
1470
|
onClick: () => n(),
|
|
@@ -1491,9 +1491,9 @@ function Wt() {
|
|
|
1491
1491
|
}
|
|
1492
1492
|
//#endregion
|
|
1493
1493
|
//#region src/addons/map/F0Map/components/F0MapSidebarToggle/F0MapSidebarToggle.tsx
|
|
1494
|
-
var Gt = M(({ expanded: e, onToggle: t, label: n, bare: a = !1, dataTestId: o },
|
|
1495
|
-
let l = i(), u = n ?? (e ? l.map.controls.hidePanel : l.map.controls.showPanel), d = /* @__PURE__ */ z(
|
|
1496
|
-
ref:
|
|
1494
|
+
var Gt = M(({ expanded: e, onToggle: t, label: n, bare: a = !1, dataTestId: o }, s) => {
|
|
1495
|
+
let l = i(), u = n ?? (e ? l.map.controls.hidePanel : l.map.controls.showPanel), d = /* @__PURE__ */ z(c, {
|
|
1496
|
+
ref: s,
|
|
1497
1497
|
variant: "ghost",
|
|
1498
1498
|
size: "md",
|
|
1499
1499
|
compact: !0,
|
|
@@ -1630,7 +1630,7 @@ var Qt = {
|
|
|
1630
1630
|
isDark: e
|
|
1631
1631
|
};
|
|
1632
1632
|
}, rn = {
|
|
1633
|
-
maplibre: async () => (await import("./maplibre-
|
|
1633
|
+
maplibre: async () => (await import("./maplibre-4SBUjOB1.js")).createMaplibreAdapter,
|
|
1634
1634
|
google: async (e) => (await import("./google-DDQ7XfPD.js")).loadGoogleAdapter(e)
|
|
1635
1635
|
}, an = /* @__PURE__ */ new Map(), on = (e, t) => {
|
|
1636
1636
|
let n = an.get(e);
|
|
@@ -11784,8 +11784,8 @@ var Qt = {
|
|
|
11784
11784
|
maxZoom: u
|
|
11785
11785
|
});
|
|
11786
11786
|
d && (n ? e.easeTo(d, { animate: n }) : e.jumpTo(d, { animate: n }));
|
|
11787
|
-
}, Sn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, Cn = M(function({ markers: e = [], routes: o = [], arcs: s = [], areas: c = [], onRouteClick: l, onArcClick:
|
|
11788
|
-
let ye = w ?? (k ? "greedy" : "cooperative"), V = i(), H = t(pe), be = n(), U = L(null), W = L(null), [G, K] = R(null), [q, xe] = R(!1), [Se, Ce] = R(!1), [Te, Ee] = R(0), De = ne(), J =
|
|
11787
|
+
}, Sn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, Cn = M(function({ markers: e = [], routes: o = [], arcs: s = [], areas: c = [], onRouteClick: l, onArcClick: d, selectedMarkerId: f, defaultSelectedMarkerId: p = null, onMarkerSelect: m, onMarkerDrag: h, onMarkerDragEnd: g, highlightedId: _ = null, viewportInset: v, centerOnMarkerClick: y = !1, fitToMarkers: b, initialViewport: x, mapStyle: S, interactive: C = !0, gestureHandling: w, minZoom: T, maxZoom: E = 18, showControls: D = !0, controlLabels: ee, showCurrentLocation: O = !1, fullScreen: k = !1, onSidebarToggle: A, sidebarExpanded: j = !1, sidebarToggleAddon: M, sidebarHeaderStart: te, sidebar: F, detail: I, detailOpen: ae = !1, clearSelectionOnBackgroundClick: de = !0, projection: fe = "mercator", provider: pe, loading: me = !1, ariaLabel: he, dataTestId: ge, className: _e }, ve) {
|
|
11788
|
+
let ye = w ?? (k ? "greedy" : "cooperative"), V = i(), H = t(pe), be = n(), U = L(null), W = L(null), [G, K] = R(null), [q, xe] = R(!1), [Se, Ce] = R(!1), [Te, Ee] = R(0), De = ne(), J = u(), { containerRef: Oe, isDark: Me } = nn(), Pe = N((e) => {
|
|
11789
11789
|
U.current = e, Oe(e);
|
|
11790
11790
|
}, [Oe]), Fe = Me, Ie = !S || S.provider === H, Le = Ie ? S ?? gn(H) : gn(H), Re = Fe ? Le.dark : Le.light, ze = L(!1);
|
|
11791
11791
|
P(() => {
|
|
@@ -12066,7 +12066,7 @@ var Qt = {
|
|
|
12066
12066
|
arcs: s,
|
|
12067
12067
|
isDark: Fe,
|
|
12068
12068
|
onRouteClick: l,
|
|
12069
|
-
onArcClick:
|
|
12069
|
+
onArcClick: d
|
|
12070
12070
|
}) : null,
|
|
12071
12071
|
!q && G && e.length > 0 ? /* @__PURE__ */ z(lt, {
|
|
12072
12072
|
adapter: G,
|