@factorialco/f0-react 15.1.0 → 16.1.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-CMOY3hug.js → ArchiveThumbnail-BRDRbsJ6.js} +1 -1
- package/dist/{ArchiveViewer-Bc5iN2gm.js → ArchiveViewer-BeSsY6iL.js} +2 -2
- package/dist/{ChatPostComposerDialog-NOdBRHQW.js → ChatPostComposerDialog-DphlBKTu.js} +2 -2
- package/dist/{CoachmarkProvider-CQE9J_S1.js → CoachmarkProvider-i1d6b_We.js} +21881 -21873
- package/dist/{CodeThumbnail-JLPjPSHE.js → CodeThumbnail-DsZdLZyi.js} +1 -1
- package/dist/{CodeViewer-HhRZ_KtU.js → CodeViewer-CqJUf6Qc.js} +4 -4
- package/dist/{DocumentToolbar-C3YeGLiY.js → DocumentToolbar-_ENhRsXU.js} +4 -4
- package/dist/{DocxViewer-B_pUywX2.js → DocxViewer-DJpRHNoo.js} +1 -1
- package/dist/{F0AiProcessingOverlay-CreyUmNt.js → F0AiProcessingOverlay-ChpomyZU.js} +1109 -1108
- package/dist/{F0Alert-Dfw9wvmG.js → F0Alert-Br1ytekS.js} +3 -3
- package/dist/F0AudioPlayer-OGv5WPST.js +2 -0
- package/dist/{F0Button-Hs9dD3kp.js → F0Button-BCWiHDDV.js} +5 -19
- package/dist/{F0CanvasPanel-QAikAHrt.js → F0CanvasPanel-sui4AhZR.js} +7331 -7350
- package/dist/{F0DocumentViewer-DtBBvHeY.js → F0DocumentViewer-CnWBEUZY.js} +2 -2
- package/dist/{F0DocumentViewer-BBZNZzXF.js → F0DocumentViewer-Jbml8b5g.js} +1 -1
- package/dist/{F0Map-DrGsOz1c.js → F0Map-dh_qX-yp.js} +46 -46
- package/dist/{F0Select-D8elfH2c.js → F0Select-CPIJ4yN6.js} +4 -4
- package/dist/{F0Text-BdLMC6rw.js → F0Text-MqvXgPpZ.js} +1 -1
- package/dist/{F0VideoPlayer-mLzBl6O5.js → F0VideoPlayer-B4XbzPFW.js} +23 -23
- package/dist/F0VideoPlayer-KY4KPEF4.js +1 -0
- package/dist/{HtmlThumbnail-C2fHnIU5.js → HtmlThumbnail-RLEVY9G9.js} +1 -1
- package/dist/{HtmlViewer-CNHsP0_Q.js → HtmlViewer-qEqTDcvl.js} +6 -6
- package/dist/{LayoutGroup-B5tU1ztA.js → LayoutGroup-Bc1Iudo_.js} +1 -1
- package/dist/{Map-Cfzh4DYS.js → Map-KB40H67k.js} +9 -9
- package/dist/{PdfThumbnail-BhMepsUK.js → PdfThumbnail-BNUBnoZl.js} +1 -1
- package/dist/{PdfViewer-CL30Vr4B.js → PdfViewer-C7ZgxDg-.js} +8 -8
- package/dist/{SandboxedHtmlFrame-QjmWXSV-.js → SandboxedHtmlFrame-BNNZgkcF.js} +1 -1
- package/dist/{SheetViewer-Cs_vLeh4.js → SheetViewer-95DeSviP.js} +3 -3
- package/dist/{TextViewer-CGoMovpP.js → TextViewer-xTlKKzFD.js} +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +5 -27
- package/dist/{dist-DpAd2wW2.js → dist-BEGjI3Xp.js} +4 -4
- package/dist/{dist-CJIEhLuL.js → dist-BKmw8oWk.js} +1 -1
- package/dist/{dist-CQSuXDpA.js → dist-Bdbhtnvl.js} +1 -1
- package/dist/{dist-DVsrUl0U.js → dist-CAC7X0BZ.js} +1 -1
- package/dist/{dist-C8J2FPJo.js → dist-DFNqqmLn.js} +1 -1
- package/dist/experimental.d.ts +14 -14
- package/dist/experimental.js +3632 -3463
- package/dist/{exports-BSI98RKf.d.ts → exports-BCwj4qmp.d.ts} +1 -1
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +729 -729
- package/dist/{highlight-DUGKJ8WM.js → highlight-DKymZz5X.js} +1 -1
- package/dist/{index-CeGTmQfe.d.ts → index-DyzQfXF1.d.ts} +4 -4
- package/dist/{maplibre-iSstWV_1.js → maplibre-Z3vYx0dg.js} +1 -1
- package/dist/{pdfWorker-DwNAnhfp.js → pdfWorker-Bk2BQcyn.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-DGCICoyx.js → toolbarStyles-CDHbnt8G.js} +1 -1
- package/dist/{types-Brch_2zb.d.ts → types-D1p-rbhL.d.ts} +1 -1
- package/dist/{useData-D4FE64eT.js → useData-BtGI0HO3.js} +2 -2
- package/package.json +1 -1
- package/tailwind.config.ts +3 -3
- package/dist/F0AudioPlayer-BqKZE5cb.js +0 -2
- package/dist/F0VideoPlayer-BzehPrsz.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, r as t } from "./i18n-provider-DoTL-0tJ.js";
|
|
2
2
|
import { n, t as r } from "./skeleton-BsalZgC5.js";
|
|
3
3
|
import { L as i } from "./tooltip-DFMOxXQO.js";
|
|
4
|
-
import { zo as a } from "./F0CanvasPanel-
|
|
4
|
+
import { zo as a } from "./F0CanvasPanel-sui4AhZR.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-C7ZgxDg-.js")), m = c(() => import("./SheetViewer-95DeSviP.js")), h = c(() => import("./DocxViewer-DJpRHNoo.js")), g = c(() => import("./TextViewer-xTlKKzFD.js")), _ = c(() => import("./CodeViewer-CqJUf6Qc.js")), v = c(() => import("./HtmlViewer-qEqTDcvl.js")), y = c(() => import("./ArchiveViewer-BeSsY6iL.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-CnWBEUZY.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 {
|
|
1
|
+
import { Si as e, a as t, o as n } from "./CoachmarkProvider-i1d6b_We.js";
|
|
2
2
|
import { i as r, r as i } from "./i18n-provider-DoTL-0tJ.js";
|
|
3
3
|
import { L as a, R as o } from "./tooltip-DFMOxXQO.js";
|
|
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-
|
|
5
|
-
import {
|
|
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-BCWiHDDV.js";
|
|
5
|
+
import { Ht as m, Us as h, Vc as g, ms as _, u as v, wc as y } from "./F0CanvasPanel-sui4AhZR.js";
|
|
6
6
|
import { t as b } from "./F0Icon-C0Ks-zGo.js";
|
|
7
|
-
import { F as x, G as S, V as C, f as w, w as ee } from "./useData-
|
|
7
|
+
import { F as x, G as S, V as C, f as w, w as ee } from "./useData-BtGI0HO3.js";
|
|
8
8
|
import { n as T, o as E, s as te, t as D } from "./dist-BCNVh6y5.js";
|
|
9
9
|
import { createContext as O, forwardRef as k, useCallback as A, useContext as j, useEffect as M, useId as ne, useImperativeHandle as re, useLayoutEffect as ie, useMemo as N, useRef as P, useState as F } from "react";
|
|
10
10
|
import { Fragment as ae, jsx as I, jsxs as L } from "react/jsx-runtime";
|
|
@@ -144,8 +144,8 @@ var se = (e, t) => ({
|
|
|
144
144
|
}, R = (e) => Se[e], z = 5.6, Ce = 1.5, we = () => {
|
|
145
145
|
let e = Se.xl;
|
|
146
146
|
return -(e.d - e.caretOverlap + e.caretH + z + Ce) + 3;
|
|
147
|
-
}, B = "hsl(var(--white-100))", V = k(function(
|
|
148
|
-
let { size: i = "md", selected: s = !1, collapsed: c = !1, label: d, showLabel: f = !0, labelPlacement: p = "right", onClick: m, ariaLabel: h, presentational: g = !1, dataTestId: _, className: v } =
|
|
147
|
+
}, B = "hsl(var(--white-100))", V = k(function(t, n) {
|
|
148
|
+
let { size: i = "md", selected: s = !1, collapsed: c = !1, label: d, showLabel: f = !0, labelPlacement: p = "right", onClick: m, ariaLabel: h, presentational: g = !1, dataTestId: _, className: v } = t, y = t.variant ?? "color", x = Se[s ? "xl" : i], S = !!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" : ee(T) ?? "grey" : "neutral", te = e(), D = s ? 32 : {
|
|
149
149
|
xs: 12,
|
|
150
150
|
sm: 16,
|
|
151
151
|
md: 20,
|
|
@@ -159,8 +159,8 @@ var se = (e, t) => ({
|
|
|
159
159
|
className: "flex shrink-0 items-center justify-center transition-transform duration-200 ease-out",
|
|
160
160
|
style: { transform: `scale(${A})` },
|
|
161
161
|
children: e
|
|
162
|
-
}), M = y === "color" ? null : y === "icon" && "icon" in
|
|
163
|
-
icon:
|
|
162
|
+
}), M = y === "color" ? null : y === "icon" && "icon" in t ? /* @__PURE__ */ I(b, {
|
|
163
|
+
icon: t.icon,
|
|
164
164
|
size: x.icon,
|
|
165
165
|
color: "#ffffff",
|
|
166
166
|
style: {
|
|
@@ -168,7 +168,7 @@ var se = (e, t) => ({
|
|
|
168
168
|
height: D,
|
|
169
169
|
transition: "width 200ms ease-out, height 200ms ease-out"
|
|
170
170
|
}
|
|
171
|
-
}) : y === "letter" && "letter" in
|
|
171
|
+
}) : y === "letter" && "letter" in t ? /* @__PURE__ */ I("span", {
|
|
172
172
|
"aria-hidden": !0,
|
|
173
173
|
className: "font-semibold leading-none",
|
|
174
174
|
style: {
|
|
@@ -176,32 +176,32 @@ var se = (e, t) => ({
|
|
|
176
176
|
fontSize: Math.round(D * .78),
|
|
177
177
|
transition: "font-size 200ms ease-out"
|
|
178
178
|
},
|
|
179
|
-
children:
|
|
180
|
-
}) : y === "person" && "firstName" in
|
|
179
|
+
children: t.letter.charAt(0).toUpperCase()
|
|
180
|
+
}) : y === "person" && "firstName" in t ? j(/* @__PURE__ */ I(w, {
|
|
181
181
|
avatar: {
|
|
182
182
|
type: "person",
|
|
183
|
-
firstName:
|
|
184
|
-
lastName:
|
|
185
|
-
src:
|
|
183
|
+
firstName: t.firstName,
|
|
184
|
+
lastName: t.lastName,
|
|
185
|
+
src: t.src
|
|
186
186
|
},
|
|
187
187
|
size: k
|
|
188
|
-
})) : y === "team" && "name" in
|
|
188
|
+
})) : y === "team" && "name" in t ? j(/* @__PURE__ */ I(w, {
|
|
189
189
|
avatar: {
|
|
190
190
|
type: "team",
|
|
191
|
-
name:
|
|
192
|
-
src:
|
|
191
|
+
name: t.name,
|
|
192
|
+
src: t.src
|
|
193
193
|
},
|
|
194
194
|
size: k
|
|
195
|
-
})) : y === "company" && "name" in
|
|
195
|
+
})) : y === "company" && "name" in t ? j(/* @__PURE__ */ I(w, {
|
|
196
196
|
avatar: {
|
|
197
197
|
type: "company",
|
|
198
|
-
name:
|
|
199
|
-
src:
|
|
198
|
+
name: t.name,
|
|
199
|
+
src: t.src
|
|
200
200
|
},
|
|
201
201
|
size: k
|
|
202
|
-
})) : y === "image" && "src" in
|
|
203
|
-
src:
|
|
204
|
-
alt: "alt" in
|
|
202
|
+
})) : y === "image" && "src" in t ? /* @__PURE__ */ I("img", {
|
|
203
|
+
src: t.src,
|
|
204
|
+
alt: "alt" in t ? t.alt ?? "" : "",
|
|
205
205
|
className: "h-full w-full object-cover"
|
|
206
206
|
}) : null, ne = y === "team" || y === "company" || y === "icon", re = /* @__PURE__ */ I("span", {
|
|
207
207
|
className: "relative z-[1] flex shrink-0 items-center justify-center overflow-hidden border-solid transition-all duration-200 ease-out",
|
|
@@ -323,7 +323,7 @@ var se = (e, t) => ({
|
|
|
323
323
|
return /* @__PURE__ */ I(r, {
|
|
324
324
|
dataTestId: _,
|
|
325
325
|
children: S ? /* @__PURE__ */ I("button", {
|
|
326
|
-
ref:
|
|
326
|
+
ref: n,
|
|
327
327
|
type: "button",
|
|
328
328
|
...g ? {
|
|
329
329
|
tabIndex: -1,
|
|
@@ -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: y,
|
|
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, {
|
|
@@ -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,
|
|
@@ -1367,14 +1367,14 @@ function zt({ isExpanded: e, isHovered: t = !1 }) {
|
|
|
1367
1367
|
strokeWidth: "1.3",
|
|
1368
1368
|
strokeLinecap: "round",
|
|
1369
1369
|
strokeLinejoin: "round",
|
|
1370
|
-
className: a("stroke-current", Rt,
|
|
1370
|
+
className: a("stroke-current", Rt, v, "origin-[10.5835px_10px]", e ? "scale-x-100" : "-scale-x-100", n.arrow)
|
|
1371
1371
|
}),
|
|
1372
1372
|
/* @__PURE__ */ I("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", Rt,
|
|
1377
|
+
className: a("stroke-current", Rt, v, n.line)
|
|
1378
1378
|
})
|
|
1379
1379
|
]
|
|
1380
1380
|
});
|
|
@@ -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: g,
|
|
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-Z3vYx0dg.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);
|
|
@@ -11768,8 +11768,8 @@ var Zt = {
|
|
|
11768
11768
|
maxZoom: u
|
|
11769
11769
|
});
|
|
11770
11770
|
d && (n ? e.easeTo(d, { animate: n }) : e.jumpTo(d, { animate: n }));
|
|
11771
|
-
}, xn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, Sn = k(function({ markers:
|
|
11772
|
-
let Se = w ?? (O ? "greedy" : "cooperative"), R = i(), z =
|
|
11771
|
+
}, xn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, Sn = k(function({ markers: e = [], routes: o = [], arcs: s = [], areas: c = [], onRouteClick: l, onArcClick: u, 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: ee, maxZoom: T = 18, showControls: E = !0, controlLabels: te, showCurrentLocation: D = !1, fullScreen: O = !1, onSidebarToggle: k, sidebarExpanded: j = !1, sidebarToggleAddon: ie, sidebarHeaderStart: N, sidebar: oe, detail: fe, detailOpen: pe = !1, clearSelectionOnBackgroundClick: me = !0, projection: he = "mercator", provider: ge, loading: _e = !1, ariaLabel: ve, dataTestId: ye, className: be }, xe) {
|
|
11772
|
+
let Se = w ?? (O ? "greedy" : "cooperative"), R = i(), z = t(ge), Ce = n(), we = P(null), B = P(null), [V, Te] = F(null), [H, Ee] = F(!1), [Oe, U] = F(!1), [ke, Ae] = F(0), je = ne(), K = d(), { containerRef: Fe, isDark: Ie } = tn(), Le = A((e) => {
|
|
11773
11773
|
we.current = e, Fe(e);
|
|
11774
11774
|
}, [Fe]), Re = Ie, ze = !S || S.provider === z, Be = ze ? S ?? hn(z) : hn(z), q = Re ? Be.dark : Be.light, Ve = P(!1);
|
|
11775
11775
|
M(() => {
|
|
@@ -11781,8 +11781,8 @@ var Zt = {
|
|
|
11781
11781
|
]);
|
|
11782
11782
|
let [He, Ue] = F(p), We = f === void 0 ? He : f, Ge = A((e) => {
|
|
11783
11783
|
f === void 0 && Ue(e), m?.(e);
|
|
11784
|
-
}, [f, m]), J = j && !!k, Ke = pe && !!fe, qe = J ? W.inset + W.listWidth + W.gap : W.inset, Je = J ? W.inset : W.inset + W.toggleSize + W.gap, Ye = Ke ? qe + W.detailWidth : J ? W.inset + W.listWidth : null, Xe = se(v, { left: Ye === null ? 0 : Ye + W.gap }), Y = P(
|
|
11785
|
-
Y.current =
|
|
11784
|
+
}, [f, m]), J = j && !!k, Ke = pe && !!fe, qe = J ? W.inset + W.listWidth + W.gap : W.inset, Je = J ? W.inset : W.inset + W.toggleSize + W.gap, Ye = Ke ? qe + W.detailWidth : J ? W.inset + W.listWidth : null, Xe = se(v, { left: Ye === null ? 0 : Ye + W.gap }), Y = P(e);
|
|
11785
|
+
Y.current = e;
|
|
11786
11786
|
let Ze = P(o);
|
|
11787
11787
|
Ze.current = o;
|
|
11788
11788
|
let Qe = P(s);
|
|
@@ -11844,8 +11844,8 @@ var Zt = {
|
|
|
11844
11844
|
K
|
|
11845
11845
|
]), ut = P(!1);
|
|
11846
11846
|
M(() => {
|
|
11847
|
-
ut.current ||
|
|
11848
|
-
}, [
|
|
11847
|
+
ut.current || e.length <= 200 || (ut.current = !0, console.warn(`F0Map: ${e.length} markers exceeds the recommended maximum of 200. Markers are DOM elements - pan/zoom will degrade. Aggregate or filter the data, or wait for a GL clustering path.`));
|
|
11848
|
+
}, [e.length]);
|
|
11849
11849
|
let { coords: dt, request: ft } = en(D), pt = A(() => {
|
|
11850
11850
|
Z.current = null, B.current?.zoomIn();
|
|
11851
11851
|
}, []), mt = A(() => {
|
|
@@ -12030,7 +12030,7 @@ var Zt = {
|
|
|
12030
12030
|
role: "status",
|
|
12031
12031
|
"aria-live": "polite",
|
|
12032
12032
|
className: "sr-only",
|
|
12033
|
-
children: `${
|
|
12033
|
+
children: `${e.length} ${e.length === 1 ? R.map.location : R.map.locations}`
|
|
12034
12034
|
}),
|
|
12035
12035
|
!H && V && c.length > 0 ? /* @__PURE__ */ I(De, {
|
|
12036
12036
|
adapter: V,
|
|
@@ -12052,9 +12052,9 @@ var Zt = {
|
|
|
12052
12052
|
onRouteClick: l,
|
|
12053
12053
|
onArcClick: u
|
|
12054
12054
|
}) : null,
|
|
12055
|
-
!H && V &&
|
|
12055
|
+
!H && V && e.length > 0 ? /* @__PURE__ */ I(st, {
|
|
12056
12056
|
adapter: V,
|
|
12057
|
-
points:
|
|
12057
|
+
points: e,
|
|
12058
12058
|
selectedId: We,
|
|
12059
12059
|
highlightedId: _,
|
|
12060
12060
|
onSelect: lt,
|
|
@@ -12114,7 +12114,7 @@ var Zt = {
|
|
|
12114
12114
|
children: /* @__PURE__ */ I(Ne, {
|
|
12115
12115
|
onZoomIn: pt,
|
|
12116
12116
|
onZoomOut: mt,
|
|
12117
|
-
onFit:
|
|
12117
|
+
onFit: e.length > 0 || Et || c.length > 0 ? ht : void 0,
|
|
12118
12118
|
onLocate: gt,
|
|
12119
12119
|
labels: te
|
|
12120
12120
|
})
|
|
@@ -12135,7 +12135,7 @@ var Zt = {
|
|
|
12135
12135
|
/* @__PURE__ */ I(Pe, {
|
|
12136
12136
|
id: je,
|
|
12137
12137
|
label: R.map.listLabel,
|
|
12138
|
-
points:
|
|
12138
|
+
points: e,
|
|
12139
12139
|
selectedId: We,
|
|
12140
12140
|
onSelect: vt,
|
|
12141
12141
|
visible: H
|
|
@@ -2,16 +2,16 @@ import { o as e, r as t, t as n } from "./rolldown-runtime-BItFwnF5.js";
|
|
|
2
2
|
import { a as r, i, r as a } from "./i18n-provider-DoTL-0tJ.js";
|
|
3
3
|
import { n as o, t as s } from "./skeleton-BsalZgC5.js";
|
|
4
4
|
import { L as c, R as l, d as u, i as d, n as f, r as p, t as m } from "./tooltip-DFMOxXQO.js";
|
|
5
|
-
import { E as h, I as g, K as _, O as v, R as y, Y as b, d as x, h as S, k as C, n as w, r as T, t as E } from "./F0Button-
|
|
5
|
+
import { E as h, I as g, K as _, O as v, R as y, Y as b, d as x, h as S, k as C, n as w, r as T, t as E } from "./F0Button-BCWiHDDV.js";
|
|
6
6
|
import { n as D, o as O, t as k } from "./F0Icon-C0Ks-zGo.js";
|
|
7
|
-
import { B as A, F as j, G as M, I as ee, R as te, U as ne, V as re, W as ie, _ as ae, a as oe, f as se, i as N, l as P, p as ce, u as le, y as ue } from "./useData-
|
|
7
|
+
import { B as A, F as j, G as M, I as ee, R as te, U as ne, V as re, W as ie, _ as ae, a as oe, f as se, i as N, l as P, p as ce, u as le, y as ue } from "./useData-BtGI0HO3.js";
|
|
8
8
|
import { t as de } from "./Check-DAp9gCRh.js";
|
|
9
|
-
import { a as fe, i as pe, r as me, t as he } from "./dist-
|
|
9
|
+
import { a as fe, i as pe, r as me, t as he } from "./dist-BKmw8oWk.js";
|
|
10
10
|
import { t as ge } from "./ExternalLink-RdKU698E.js";
|
|
11
11
|
import { n as _e, t as ve } from "./LockLocked-gdodYvT_.js";
|
|
12
12
|
import "./purify.es-ZpfdAuNV.js";
|
|
13
13
|
import { $ as ye, A as be, B as xe, D as Se, E as Ce, F as we, G as Te, H as Ee, I as De, J as Oe, L as ke, M as Ae, N as je, O as Me, P as Ne, Q as Pe, R as Fe, U as Ie, V as Le, W as Re, Y as ze, Z as Be, a as Ve, i as He, j as Ue, k as We, q as Ge, t as Ke, z as qe } from "./popover-CCSQvMSp.js";
|
|
14
|
-
import { b as Je, c as Ye, d as Xe, g as Ze, h as Qe, n as $e, r as et, t as tt, u as nt, v as rt, y as it } from "./dist-
|
|
14
|
+
import { b as Je, c as Ye, d as Xe, g as Ze, h as Qe, n as $e, r as et, t as tt, u as nt, v as rt, y as it } from "./dist-DFNqqmLn.js";
|
|
15
15
|
import { t as at } from "./dist-BCNVh6y5.js";
|
|
16
16
|
import * as F from "react";
|
|
17
17
|
import ot, { Component as st, Fragment as ct, cloneElement as lt, createContext as ut, forwardRef as I, useCallback as L, useContext as dt, useEffect as R, useId as ft, useImperativeHandle as pt, useLayoutEffect as mt, useMemo as z, useReducer as ht, useRef as B, useState as V } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e } from "./i18n-provider-DoTL-0tJ.js";
|
|
2
|
-
import { y as t } from "./dist-
|
|
2
|
+
import { y as t } from "./dist-DFNqqmLn.js";
|
|
3
3
|
import { forwardRef as n } from "react";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
//#region src/elements/F0Text/F0Text.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, r as t } from "./i18n-provider-DoTL-0tJ.js";
|
|
2
2
|
import { n } from "./skeleton-BsalZgC5.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-DFMOxXQO.js";
|
|
4
|
-
import { t as a } from "./F0Button-
|
|
5
|
-
import {
|
|
4
|
+
import { t as a } from "./F0Button-BCWiHDDV.js";
|
|
5
|
+
import { $o as o, Cs as s, Ic as c, Xs as l, bc as u, es as d, rc as f, ts as p } from "./F0CanvasPanel-sui4AhZR.js";
|
|
6
6
|
import { n as m, t as h } from "./F0Icon-C0Ks-zGo.js";
|
|
7
7
|
import { t as g } from "./Check-DAp9gCRh.js";
|
|
8
8
|
import { a as _, i as v, n as y, o as b, r as x, t as S } from "./localized-CnKvEJya.js";
|
|
@@ -323,7 +323,7 @@ function $({ icon: e, label: t, container: n, options: r, value: i, onLanguageCh
|
|
|
323
323
|
})
|
|
324
324
|
})] });
|
|
325
325
|
}
|
|
326
|
-
function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLanguageChange: i, captionLanguages: o, captionLanguage:
|
|
326
|
+
function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLanguageChange: i, captionLanguages: o, captionLanguage: c, captionsOn: l, onCaptionLanguageChange: d, onCaptionsOff: f, audioDescriptionLanguages: p, audioDescriptionLanguage: m, audioDescriptionOn: h, onAudioDescriptionLanguageChange: g, onAudioDescriptionOff: _ }) {
|
|
327
327
|
let { t: v } = t(), y = e.current, b = v("videoPlayer.off");
|
|
328
328
|
return /* @__PURE__ */ V(D, { children: [/* @__PURE__ */ B(ee, {
|
|
329
329
|
asChild: !0,
|
|
@@ -331,7 +331,7 @@ function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLangu
|
|
|
331
331
|
variant: "ghost",
|
|
332
332
|
size: "sm",
|
|
333
333
|
hideLabel: !0,
|
|
334
|
-
icon:
|
|
334
|
+
icon: s,
|
|
335
335
|
label: v("videoPlayer.settings")
|
|
336
336
|
})
|
|
337
337
|
}), /* @__PURE__ */ V(O, {
|
|
@@ -341,7 +341,7 @@ function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLangu
|
|
|
341
341
|
className: ue,
|
|
342
342
|
children: [
|
|
343
343
|
n.length > 1 ? /* @__PURE__ */ B($, {
|
|
344
|
-
icon:
|
|
344
|
+
icon: u,
|
|
345
345
|
label: v("videoPlayer.audio"),
|
|
346
346
|
container: y,
|
|
347
347
|
options: n,
|
|
@@ -354,8 +354,8 @@ function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLangu
|
|
|
354
354
|
label: v("videoPlayer.subtitles"),
|
|
355
355
|
container: y,
|
|
356
356
|
options: o,
|
|
357
|
-
value:
|
|
358
|
-
on:
|
|
357
|
+
value: c,
|
|
358
|
+
on: l,
|
|
359
359
|
onLanguageChange: d,
|
|
360
360
|
onOff: f,
|
|
361
361
|
offLabel: b
|
|
@@ -380,28 +380,28 @@ function fe(e) {
|
|
|
380
380
|
//#endregion
|
|
381
381
|
//#region src/blocks/F0VideoPlayer/components/VolumeControl.tsx
|
|
382
382
|
function pe(e, t) {
|
|
383
|
-
return t || e === 0 ?
|
|
383
|
+
return t || e === 0 ? o : e <= .5 ? d : p;
|
|
384
384
|
}
|
|
385
|
-
function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent:
|
|
386
|
-
let { t:
|
|
387
|
-
return
|
|
385
|
+
function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent: s = !1 }) {
|
|
386
|
+
let { t: c } = t(), l = n || e === 0;
|
|
387
|
+
return s ? /* @__PURE__ */ B(a, {
|
|
388
388
|
variant: "ghost",
|
|
389
389
|
size: "sm",
|
|
390
390
|
hideLabel: !0,
|
|
391
391
|
disabled: !0,
|
|
392
|
-
icon:
|
|
393
|
-
label:
|
|
392
|
+
icon: o,
|
|
393
|
+
label: c("videoPlayer.noAudio")
|
|
394
394
|
}) : /* @__PURE__ */ V("div", {
|
|
395
395
|
className: "flex items-center gap-1",
|
|
396
396
|
children: [/* @__PURE__ */ B(a, {
|
|
397
397
|
variant: "ghost",
|
|
398
398
|
size: "sm",
|
|
399
399
|
hideLabel: !0,
|
|
400
|
-
icon: pe(e,
|
|
401
|
-
label:
|
|
400
|
+
icon: pe(e, l),
|
|
401
|
+
label: c(l ? "videoPlayer.unmute" : "videoPlayer.mute"),
|
|
402
402
|
onClick: r
|
|
403
403
|
}), /* @__PURE__ */ B(he, {
|
|
404
|
-
value:
|
|
404
|
+
value: l ? 0 : e,
|
|
405
405
|
onChange: i
|
|
406
406
|
})]
|
|
407
407
|
});
|
|
@@ -470,7 +470,7 @@ function he({ value: e, onChange: n }) {
|
|
|
470
470
|
}
|
|
471
471
|
//#endregion
|
|
472
472
|
//#region src/blocks/F0VideoPlayer/components/Controls.tsx
|
|
473
|
-
function ge({ isPlaying: e, currentTime: n, duration: i, volume:
|
|
473
|
+
function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: s, playbackRate: u, isFullscreen: d, markerTime: p, blockSeekPastMarker: m, containerRef: h, captionsAvailable: g, captionsOn: v, audioDescriptionAvailable: y, audioDescriptionOn: x, silent: S, persist: C, audioLanguages: w, audioLanguage: T, onAudioLanguageChange: E, captionLanguages: D, captionLanguage: O, onCaptionLanguageChange: k, onCaptionsOff: A, audioDescriptionLanguages: j, audioDescriptionLanguage: M, onAudioDescriptionLanguageChange: ee, onAudioDescriptionOff: te, onTogglePlay: ne, onToggleMute: N, onVolumeChange: P, onPlaybackRateChange: F, onToggleFullscreen: I, onToggleCaptions: L, onToggleAudioDescription: R, onSeek: z, download: H }) {
|
|
474
474
|
let { t: U } = t(), re = g && D.length <= 1, W = y && j.length <= 1, G = fe({
|
|
475
475
|
audioLanguages: w.length,
|
|
476
476
|
captionLanguages: D.length,
|
|
@@ -503,14 +503,14 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: c, isMuted: l,
|
|
|
503
503
|
]
|
|
504
504
|
}),
|
|
505
505
|
/* @__PURE__ */ B(me, {
|
|
506
|
-
volume:
|
|
507
|
-
isMuted:
|
|
506
|
+
volume: o,
|
|
507
|
+
isMuted: s,
|
|
508
508
|
onToggleMute: N,
|
|
509
509
|
onVolumeChange: P,
|
|
510
510
|
silent: S
|
|
511
511
|
}),
|
|
512
512
|
/* @__PURE__ */ B(oe, {
|
|
513
|
-
value:
|
|
513
|
+
value: u,
|
|
514
514
|
onChange: F,
|
|
515
515
|
containerRef: h
|
|
516
516
|
}),
|
|
@@ -552,7 +552,7 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: c, isMuted: l,
|
|
|
552
552
|
variant: "ghost",
|
|
553
553
|
size: "sm",
|
|
554
554
|
hideLabel: !0,
|
|
555
|
-
icon:
|
|
555
|
+
icon: c,
|
|
556
556
|
label: H.label,
|
|
557
557
|
onClick: H.onClick
|
|
558
558
|
}) : null,
|
|
@@ -560,8 +560,8 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: c, isMuted: l,
|
|
|
560
560
|
variant: "ghost",
|
|
561
561
|
size: "sm",
|
|
562
562
|
hideLabel: !0,
|
|
563
|
-
icon:
|
|
564
|
-
label: U(
|
|
563
|
+
icon: d ? l : f,
|
|
564
|
+
label: U(d ? "videoPlayer.exitFullscreen" : "videoPlayer.enterFullscreen"),
|
|
565
565
|
onClick: I
|
|
566
566
|
})
|
|
567
567
|
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as F0VideoPlayer } from "./F0VideoPlayer-B4XbzPFW.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./SandboxedHtmlFrame-
|
|
1
|
+
import { n as e } from "./SandboxedHtmlFrame-BNNZgkcF.js";
|
|
2
2
|
import { t } from "./useThumbnailText-DwXQvLIe.js";
|
|
3
3
|
import { useEffect as n, useMemo as r, useState as i } from "react";
|
|
4
4
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-DoTL-0tJ.js";
|
|
2
2
|
import { t } from "./skeleton-BsalZgC5.js";
|
|
3
3
|
import { L as n } from "./tooltip-DFMOxXQO.js";
|
|
4
|
-
import {
|
|
4
|
+
import { ll as r } from "./F0CanvasPanel-sui4AhZR.js";
|
|
5
5
|
import { t as i } from "./F0Icon-C0Ks-zGo.js";
|
|
6
|
-
import { pr as a } from "./F0Select-
|
|
7
|
-
import { t as o } from "./F0Alert-
|
|
8
|
-
import { r as s } from "./toolbarStyles-
|
|
9
|
-
import { t as c } from "./DocumentToolbar-
|
|
6
|
+
import { pr as a } from "./F0Select-CPIJ4yN6.js";
|
|
7
|
+
import { t as o } from "./F0Alert-Br1ytekS.js";
|
|
8
|
+
import { r as s } from "./toolbarStyles-CDHbnt8G.js";
|
|
9
|
+
import { t as c } from "./DocumentToolbar-_ENhRsXU.js";
|
|
10
10
|
import { t as l } from "./useFetchedText-BR3_KLXx.js";
|
|
11
|
-
import { a as u, c as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./SandboxedHtmlFrame-
|
|
11
|
+
import { a as u, c as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./SandboxedHtmlFrame-BNNZgkcF.js";
|
|
12
12
|
import { useEffect as b, useMemo as x, useRef as S, useState as C } from "react";
|
|
13
13
|
import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
14
14
|
//#region src/addons/documents/lib/html-sandbox/UserContentFrame.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as e, Ft as t, Lt as n } from "./F0Button-
|
|
1
|
+
import { Ct as e, Ft as t, Lt as n } from "./F0Button-BCWiHDDV.js";
|
|
2
2
|
import { createContext as r, useCallback as i, useContext as a, useMemo as o, useRef as s, useState as c } from "react";
|
|
3
3
|
import { jsx as l } from "react/jsx-runtime";
|
|
4
4
|
//#region ../../node_modules/.pnpm/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/group.mjs
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Mt as e,
|
|
1
|
+
import { Mt as e, Nt as t } from "./CoachmarkProvider-i1d6b_We.js";
|
|
2
2
|
import { r as n } from "./i18n-provider-DoTL-0tJ.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-DFMOxXQO.js";
|
|
4
|
-
import { E as a } from "./F0Button-
|
|
5
|
-
import { Gi as o, Ui as s, Wi as c } from "./F0CanvasPanel-
|
|
4
|
+
import { E as a } from "./F0Button-BCWiHDDV.js";
|
|
5
|
+
import { Gi as o, Ui as s, Wi as c } from "./F0CanvasPanel-sui4AhZR.js";
|
|
6
6
|
import { t as l } from "./F0Icon-C0Ks-zGo.js";
|
|
7
|
-
import { W as u, l as d } from "./useData-
|
|
7
|
+
import { W as u, l as d } from "./useData-BtGI0HO3.js";
|
|
8
8
|
import { J as ee } from "./popover-CCSQvMSp.js";
|
|
9
|
-
import { y as f } from "./dist-
|
|
10
|
-
import { t as p } from "./F0Text-
|
|
11
|
-
import { o as m, t as h } from "./F0Map-
|
|
9
|
+
import { y as f } from "./dist-DFNqqmLn.js";
|
|
10
|
+
import { t as p } from "./F0Text-MqvXgPpZ.js";
|
|
11
|
+
import { o as m, t as h } from "./F0Map-dh_qX-yp.js";
|
|
12
12
|
import { useCallback as g, useEffect as _, useMemo as v, useRef as y, useState as b } from "react";
|
|
13
13
|
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
14
14
|
//#region src/addons/data-collection/OneDataCollection/visualizations/collection/Map/components/MapNotOnMapButton.tsx
|
|
@@ -185,7 +185,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
|
|
|
185
185
|
let A = n(), j = Math.min(T ?? 200, 200), de = v(() => r.dataAdapter.paginationType ? {
|
|
186
186
|
...r.dataAdapter,
|
|
187
187
|
perPage: j
|
|
188
|
-
} : r.dataAdapter, [r.dataAdapter, j]), { data: fe, paginationInfo: M, isInitialLoading: N, isLoading: pe } =
|
|
188
|
+
} : r.dataAdapter, [r.dataAdapter, j]), { data: fe, paginationInfo: M, isInitialLoading: N, isLoading: pe } = e({
|
|
189
189
|
...r,
|
|
190
190
|
dataAdapter: de
|
|
191
191
|
}, { onError: ue }), P = fe.records;
|
|
@@ -319,7 +319,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
|
|
|
319
319
|
onClick: xe,
|
|
320
320
|
dataTestId: "map-not-on-map"
|
|
321
321
|
}),
|
|
322
|
-
search: O ? /* @__PURE__ */ S(
|
|
322
|
+
search: O ? /* @__PURE__ */ S(t, {
|
|
323
323
|
value: Z,
|
|
324
324
|
onChange: (e) => ye(e ?? ""),
|
|
325
325
|
variant: "ghost",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./pdfWorker-
|
|
1
|
+
import { n as e, r as t, t as n } from "./pdfWorker-Bk2BQcyn.js";
|
|
2
2
|
import { jsx as r } from "react/jsx-runtime";
|
|
3
3
|
//#region src/elements/primitives/_primitives/F0Attachments/components/thumbnails/PdfThumbnail.tsx
|
|
4
4
|
n();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-DoTL-0tJ.js";
|
|
2
2
|
import { t } from "./skeleton-BsalZgC5.js";
|
|
3
3
|
import { L as n } from "./tooltip-DFMOxXQO.js";
|
|
4
|
-
import { C as r } from "./F0Button-
|
|
5
|
-
import {
|
|
6
|
-
import { V as s, W as c } from "./useData-
|
|
7
|
-
import { dr as l, t as u, wr as d } from "./F0Select-
|
|
8
|
-
import { a as f, i as p, l as ee, n as te, o as m, r as h, s as g, t as _, u as ne } from "./toolbarStyles-
|
|
9
|
-
import { n as re, r as ie, t as v } from "./pdfWorker-
|
|
4
|
+
import { C as r } from "./F0Button-BCWiHDDV.js";
|
|
5
|
+
import { Ic as i, js as a, ws as o } from "./F0CanvasPanel-sui4AhZR.js";
|
|
6
|
+
import { V as s, W as c } from "./useData-BtGI0HO3.js";
|
|
7
|
+
import { dr as l, t as u, wr as d } from "./F0Select-CPIJ4yN6.js";
|
|
8
|
+
import { a as f, i as p, l as ee, n as te, o as m, r as h, s as g, t as _, u as ne } from "./toolbarStyles-CDHbnt8G.js";
|
|
9
|
+
import { n as re, r as ie, t as v } from "./pdfWorker-Bk2BQcyn.js";
|
|
10
10
|
import { forwardRef as y, useCallback as b, useEffect as x, useMemo as S, useRef as C, useState as w } from "react";
|
|
11
11
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
12
12
|
//#region src/addons/documents/F0DocumentViewer/crispCanvas.ts
|
|
@@ -99,7 +99,7 @@ var D = (e, t) => t ? (O(e, t) + .001) / t : e, O = (e, t) => Math.round(t * e),
|
|
|
99
99
|
y ? /* @__PURE__ */ T(h, {
|
|
100
100
|
label: O.rotate,
|
|
101
101
|
onClick: b,
|
|
102
|
-
icon:
|
|
102
|
+
icon: o
|
|
103
103
|
}) : null,
|
|
104
104
|
/* @__PURE__ */ T(h, {
|
|
105
105
|
label: O.print,
|
|
@@ -109,7 +109,7 @@ var D = (e, t) => t ? (O(e, t) + .001) / t : e, O = (e, t) => Math.round(t * e),
|
|
|
109
109
|
C ? null : /* @__PURE__ */ T(h, {
|
|
110
110
|
label: O.download,
|
|
111
111
|
onClick: S,
|
|
112
|
-
icon:
|
|
112
|
+
icon: i
|
|
113
113
|
}),
|
|
114
114
|
w?.map((e, t) => /* @__PURE__ */ T(h, {
|
|
115
115
|
label: e.label,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-DoTL-0tJ.js";
|
|
2
2
|
import { L as t } from "./tooltip-DFMOxXQO.js";
|
|
3
|
-
import { t as n } from "./F0Button-
|
|
3
|
+
import { t as n } from "./F0Button-BCWiHDDV.js";
|
|
4
4
|
import { t as r } from "./ExternalLink-RdKU698E.js";
|
|
5
5
|
import { useEffect as i, useId as a, useLayoutEffect as o, useMemo as s, useRef as c, useState as l } from "react";
|
|
6
6
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-DoTL-0tJ.js";
|
|
2
2
|
import { t } from "./skeleton-BsalZgC5.js";
|
|
3
|
-
import { D as n, Ki as r, O as i } from "./F0CanvasPanel-
|
|
4
|
-
import { c as a } from "./toolbarStyles-
|
|
5
|
-
import { n as o, t as s } from "./DocumentToolbar-
|
|
3
|
+
import { D as n, Ki as r, O as i } from "./F0CanvasPanel-sui4AhZR.js";
|
|
4
|
+
import { c as a } from "./toolbarStyles-CDHbnt8G.js";
|
|
5
|
+
import { n as o, t as s } from "./DocumentToolbar-_ENhRsXU.js";
|
|
6
6
|
import { n as c, t as l } from "./sheetPreview-Ca0kCtSa.js";
|
|
7
7
|
import { useEffect as u, useState as d } from "react";
|
|
8
8
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-DoTL-0tJ.js";
|
|
2
2
|
import { t } from "./skeleton-BsalZgC5.js";
|
|
3
|
-
import { a as n } from "./F0Button-
|
|
4
|
-
import { n as r, t as i } from "./DocumentToolbar-
|
|
3
|
+
import { a as n } from "./F0Button-BCWiHDDV.js";
|
|
4
|
+
import { n as r, t as i } from "./DocumentToolbar-_ENhRsXU.js";
|
|
5
5
|
import { t as a } from "./fetchText-o_GOtiv3.js";
|
|
6
6
|
import { useEffect as o, useState as s } from "react";
|
|
7
7
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|