@factorialco/f0-react 16.29.0 → 16.30.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-DYIMptq3.js → ArchiveThumbnail-DKhjfBQx.js} +5 -5
- package/dist/{ArchiveViewer-BrPp0CA3.js → ArchiveViewer-CLfFm7xN.js} +12 -12
- package/dist/{ChatPostComposerDialog-BYmkWYzK.js → ChatPostComposerDialog-DgRCi517.js} +2 -2
- package/dist/{CoachmarkProvider-BAA3qCPM.js → CoachmarkProvider-Dv3HGlQn.js} +19840 -19840
- package/dist/{CodeThumbnail-B3oQLXMY.js → CodeThumbnail-B7i69yiG.js} +1 -1
- package/dist/{CodeViewer-D-taZc0E.js → CodeViewer-CfJEGONX.js} +4 -4
- package/dist/{DocumentToolbar-CrMaDP1Y.js → DocumentToolbar-CFSYNRPK.js} +3 -3
- package/dist/{DocxViewer-CWPqezrV.js → DocxViewer-CwbEk_um.js} +1 -1
- package/dist/{F0AiProcessingOverlay-2ur7x9yV.js → F0AiProcessingOverlay-e45V7jnO.js} +499 -499
- package/dist/{F0Alert-DfoQ6QNW.js → F0Alert-DIj-yBaJ.js} +6 -6
- package/dist/F0AudioPlayer-SEqjyVEi.js +2 -0
- package/dist/{F0CanvasPanel-Dsy1XGQ8.js → F0CanvasPanel-BimlvEaL.js} +11010 -10999
- package/dist/{F0DocumentViewer-CBBIWsop.js → F0DocumentViewer-Bb-bIqhH.js} +1 -1
- package/dist/{F0DocumentViewer-6RmJDdEF.js → F0DocumentViewer-By0aD22O.js} +2 -2
- package/dist/{F0Map-CtZ50EMs.js → F0Map-DvW_ce3p.js} +9 -9
- package/dist/{F0Select-v7_pmIe-.js → F0Select-D6mxgb1s.js} +3 -3
- package/dist/{F0Text-CUCHaP9i.js → F0Text-CcpTiEit.js} +1 -1
- package/dist/F0VideoPlayer-BtgCaxi2.js +1 -0
- package/dist/{F0VideoPlayer-C-6enHNl.js → F0VideoPlayer-Cz90LvIr.js} +11 -11
- package/dist/{HtmlViewer-DqpsDfeO.js → HtmlViewer-cxPEUYXY.js} +4 -4
- package/dist/{Map-BwQhTxJl.js → Map-BIUj3dSn.js} +9 -9
- package/dist/{PdfThumbnail-GoDwcO2G.js → PdfThumbnail-CZJ17k0R.js} +1 -1
- package/dist/{PdfViewer-CjC40poY.js → PdfViewer-C-nwVTI1.js} +6 -6
- package/dist/{SheetViewer-nZ9BbsVs.js → SheetViewer-7y-xBDPP.js} +11 -11
- package/dist/{TextViewer-Cce_dy1w.js → TextViewer-DV3kRMRF.js} +1 -1
- package/dist/ai.js +3 -3
- package/dist/component-status.js +1 -1
- package/dist/{dist-DZ9FjbuM.js → dist-BwlC-i6M.js} +1 -1
- package/dist/{dist-DmFbkLx6.js → dist-C691Abhf.js} +4 -4
- package/dist/{dist-Dlesu-9k.js → dist-CiC2ZqiK.js} +7 -8
- package/dist/{dist-C2ihEjaT.js → dist-DN0nDQy0.js} +1 -1
- package/dist/{dist-swS4bqxy.js → dist-_ts6SUAW.js} +1 -1
- package/dist/experimental.d.ts +28 -3
- package/dist/experimental.js +7408 -7340
- package/dist/f0.js +175 -175
- package/dist/{highlight-B9V0OIph.js → highlight-DbFt_sj2.js} +4 -4
- package/dist/{maplibre-BFcRQVjt.js → maplibre-B3Z_BvY7.js} +1 -1
- package/dist/{pdfWorker-Cp3pKYAZ.js → pdfWorker-ODowmc3U.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{useData-3UiKD6C0.js → useData-XExWuz7o.js} +1 -1
- package/package.json +1 -1
- package/tailwind.config.ts +137 -0
- package/dist/F0AudioPlayer-DQng2ypK.js +0 -2
- package/dist/F0VideoPlayer-oiKJ6HiF.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-By0aD22O.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-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 {
|
|
4
|
+
import { as as a } from "./F0CanvasPanel-BimlvEaL.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-C-nwVTI1.js")), m = c(() => import("./SheetViewer-7y-xBDPP.js")), h = c(() => import("./DocxViewer-CwbEk_um.js")), g = c(() => import("./TextViewer-DV3kRMRF.js")), _ = c(() => import("./CodeViewer-CfJEGONX.js")), v = c(() => import("./HtmlViewer-cxPEUYXY.js")), y = c(() => import("./ArchiveViewer-CLfFm7xN.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,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-Dv3HGlQn.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
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-DVbQTicD.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Ps as m, Wc as h, cl as g, m as _, nn as v, r as y, uc as b } from "./F0CanvasPanel-BimlvEaL.js";
|
|
6
6
|
import { a as x } from "./createIcon-B-z7hPQg.js";
|
|
7
|
-
import { B as S, E as C, P as w, W as T, m as E } from "./useData-
|
|
7
|
+
import { B as S, E as C, P as w, W as T, m as E } from "./useData-XExWuz7o.js";
|
|
8
8
|
import { n as D, o as ee, s as O, t as k } from "./dist-DMTFO2gF.js";
|
|
9
9
|
import { createContext as A, forwardRef as j, useCallback as M, useContext as te, useEffect as N, useId as ne, useImperativeHandle as re, useLayoutEffect as ie, useMemo as P, useRef as F, useState as I } from "react";
|
|
10
10
|
import { Fragment as ae, jsx as L, jsxs as R } from "react/jsx-runtime";
|
|
@@ -408,14 +408,14 @@ var W = Ce, we = (e, t) => `hsl(${ye(e, t).replace(/ /g, ", ")})`, Te = (e, t) =
|
|
|
408
408
|
variant: "ghost",
|
|
409
409
|
size: "md",
|
|
410
410
|
label: o?.fit ?? l.map.controls.fit,
|
|
411
|
-
icon:
|
|
411
|
+
icon: h,
|
|
412
412
|
hideLabel: !0,
|
|
413
413
|
onClick: n
|
|
414
414
|
}) : null, a ? /* @__PURE__ */ L(f, {
|
|
415
415
|
variant: "ghost",
|
|
416
416
|
size: "md",
|
|
417
417
|
label: o?.locate ?? l.map.controls.locate,
|
|
418
|
-
icon:
|
|
418
|
+
icon: m,
|
|
419
419
|
hideLabel: !0,
|
|
420
420
|
onClick: a
|
|
421
421
|
}) : null] })) : null, d ? p(/* @__PURE__ */ R(ae, { children: [e ? /* @__PURE__ */ L(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: b
|
|
738
738
|
},
|
|
739
739
|
color: qe
|
|
740
740
|
};
|
|
@@ -1380,7 +1380,7 @@ function Lt({ isExpanded: e, isHovered: t = !1 }) {
|
|
|
1380
1380
|
});
|
|
1381
1381
|
}
|
|
1382
1382
|
function Rt() {
|
|
1383
|
-
let { prevSidebarState: e, sidebarState: t, toggleSidebar: n } = At(), r = F(null), [a, o] = I(!1), c =
|
|
1383
|
+
let { prevSidebarState: e, sidebarState: t, toggleSidebar: n } = At(), r = F(null), [a, o] = I(!1), c = y() === "two-level";
|
|
1384
1384
|
N(function() {
|
|
1385
1385
|
c && e === "hidden" && t !== "hidden" && r.current?.focus();
|
|
1386
1386
|
}, [
|
|
@@ -1463,7 +1463,7 @@ function Bt() {
|
|
|
1463
1463
|
}), /* @__PURE__ */ L("div", {
|
|
1464
1464
|
className: a("hidden", { flex: r }),
|
|
1465
1465
|
children: /* @__PURE__ */ L(x, {
|
|
1466
|
-
icon:
|
|
1466
|
+
icon: g,
|
|
1467
1467
|
size: "md"
|
|
1468
1468
|
})
|
|
1469
1469
|
})]
|
|
@@ -1614,7 +1614,7 @@ var Yt = {
|
|
|
1614
1614
|
isDark: e
|
|
1615
1615
|
};
|
|
1616
1616
|
}, en = {
|
|
1617
|
-
maplibre: async () => (await import("./maplibre-
|
|
1617
|
+
maplibre: async () => (await import("./maplibre-B3Z_BvY7.js")).createMaplibreAdapter,
|
|
1618
1618
|
google: async (e) => (await import("./google-DDQ7XfPD.js")).loadGoogleAdapter(e)
|
|
1619
1619
|
}, tn = /* @__PURE__ */ new Map(), nn = (e, t) => {
|
|
1620
1620
|
let n = tn.get(e);
|
|
@@ -4,14 +4,14 @@ import { n as o, t as s } from "./skeleton-9cd4VWq0.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-NXXT56H4.js";
|
|
5
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-DVbQTicD.js";
|
|
6
6
|
import { a as D, o as O, t as k, u as A } from "./createIcon-B-z7hPQg.js";
|
|
7
|
-
import { B as j, F as ee, H as te, L as ne, P as re, U as ie, W as ae, a as oe, f as M, h as se, i as N, m as P, o as ce, u as le, x as ue, y as de, z as fe } from "./useData-
|
|
7
|
+
import { B as j, F as ee, H as te, L as ne, P as re, U as ie, W as ae, a as oe, f as M, h as se, i as N, m as P, o as ce, u as le, x as ue, y as de, z as fe } from "./useData-XExWuz7o.js";
|
|
8
8
|
import { t as pe } from "./Check-B2Oii9hT.js";
|
|
9
|
-
import { a as me, i as he, r as ge, t as _e } from "./dist-
|
|
9
|
+
import { a as me, i as he, r as ge, t as _e } from "./dist-BwlC-i6M.js";
|
|
10
10
|
import { t as ve } from "./ExternalLink-oako7DEE.js";
|
|
11
11
|
import { n as ye, t as be } from "./LockLocked-B3KX44wv.js";
|
|
12
12
|
import "./purify.es-CJ7gZxxn.js";
|
|
13
13
|
import { $ as xe, A as Se, B as Ce, D as we, E as Te, F as Ee, G as De, H as Oe, I as ke, J as Ae, L as je, M as Me, N as Ne, O as Pe, P as Fe, Q as Ie, R as Le, U as Re, V as ze, W as Be, Y as Ve, Z as He, a as Ue, i as We, j as Ge, k as Ke, q as qe, t as Je, z as Ye } from "./popover-BgQJIZoe.js";
|
|
14
|
-
import { b as Xe, c as Ze, d as Qe, g as $e, h as et, n as tt, r as F, t as nt, u as rt, v as it, y as at } from "./dist-
|
|
14
|
+
import { b as Xe, c as Ze, d as Qe, g as $e, h as et, n as tt, r as F, t as nt, u as rt, v as it, y as at } from "./dist-CiC2ZqiK.js";
|
|
15
15
|
import { t as ot } from "./dist-DMTFO2gF.js";
|
|
16
16
|
import * as I from "react";
|
|
17
17
|
import st, { Component as ct, Fragment as lt, cloneElement as ut, createContext as dt, forwardRef as L, useCallback as R, useContext as ft, useEffect as z, useId as pt, useImperativeHandle as mt, useLayoutEffect as ht, useMemo as B, useReducer as gt, useRef as V, useState as H } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e } from "./i18n-provider-kdMqj3iD.js";
|
|
2
|
-
import { y as t } from "./dist-
|
|
2
|
+
import { y as t } from "./dist-CiC2ZqiK.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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as F0VideoPlayer } from "./F0VideoPlayer-Cz90LvIr.js";
|
|
@@ -2,7 +2,7 @@ import { a as e, r as t } from "./i18n-provider-kdMqj3iD.js";
|
|
|
2
2
|
import { n } from "./skeleton-9cd4VWq0.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-NXXT56H4.js";
|
|
4
4
|
import { t as a } from "./F0Button-DVbQTicD.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Bc as o, Us as s, _c as c, bs as l, rl as u, wc as d, xs as f, ys as p } from "./F0CanvasPanel-BimlvEaL.js";
|
|
6
6
|
import { a as m, o as h } from "./createIcon-B-z7hPQg.js";
|
|
7
7
|
import { t as g } from "./Check-B2Oii9hT.js";
|
|
8
8
|
import { a as _, i as v, n as y, o as b, r as x, t as S } from "./localized-D19oXKkk.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:
|
|
326
|
+
function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLanguageChange: i, captionLanguages: c, captionLanguage: l, captionsOn: u, 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, {
|
|
@@ -349,11 +349,11 @@ function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLangu
|
|
|
349
349
|
onLanguageChange: i,
|
|
350
350
|
offLabel: b
|
|
351
351
|
}) : null,
|
|
352
|
-
|
|
352
|
+
c.length > 1 ? /* @__PURE__ */ B($, {
|
|
353
353
|
icon: ie,
|
|
354
354
|
label: v("videoPlayer.subtitles"),
|
|
355
355
|
container: y,
|
|
356
|
-
options:
|
|
356
|
+
options: c,
|
|
357
357
|
value: l,
|
|
358
358
|
on: u,
|
|
359
359
|
onLanguageChange: d,
|
|
@@ -380,7 +380,7 @@ 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 ? p : e <= .5 ? l : f;
|
|
384
384
|
}
|
|
385
385
|
function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent: o = !1 }) {
|
|
386
386
|
let { t: s } = t(), c = n || e === 0;
|
|
@@ -389,7 +389,7 @@ function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent:
|
|
|
389
389
|
size: "sm",
|
|
390
390
|
hideLabel: !0,
|
|
391
391
|
disabled: !0,
|
|
392
|
-
icon:
|
|
392
|
+
icon: p,
|
|
393
393
|
label: s("videoPlayer.noAudio")
|
|
394
394
|
}) : /* @__PURE__ */ V("div", {
|
|
395
395
|
className: "flex items-center gap-1",
|
|
@@ -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: o, isMuted:
|
|
473
|
+
function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: s, playbackRate: l, isFullscreen: f, 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,
|
|
@@ -504,7 +504,7 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: c,
|
|
|
504
504
|
}),
|
|
505
505
|
/* @__PURE__ */ B(me, {
|
|
506
506
|
volume: o,
|
|
507
|
-
isMuted:
|
|
507
|
+
isMuted: s,
|
|
508
508
|
onToggleMute: N,
|
|
509
509
|
onVolumeChange: P,
|
|
510
510
|
silent: S
|
|
@@ -552,7 +552,7 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: c,
|
|
|
552
552
|
variant: "ghost",
|
|
553
553
|
size: "sm",
|
|
554
554
|
hideLabel: !0,
|
|
555
|
-
icon:
|
|
555
|
+
icon: u,
|
|
556
556
|
label: H.label,
|
|
557
557
|
onClick: H.onClick
|
|
558
558
|
}) : null,
|
|
@@ -560,7 +560,7 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: c,
|
|
|
560
560
|
variant: "ghost",
|
|
561
561
|
size: "sm",
|
|
562
562
|
hideLabel: !0,
|
|
563
|
-
icon: f ?
|
|
563
|
+
icon: f ? c : d,
|
|
564
564
|
label: U(f ? "videoPlayer.exitFullscreen" : "videoPlayer.enterFullscreen"),
|
|
565
565
|
onClick: I
|
|
566
566
|
})
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-kdMqj3iD.js";
|
|
2
2
|
import { t } from "./skeleton-9cd4VWq0.js";
|
|
3
3
|
import { L as n } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import {
|
|
4
|
+
import { jl as r } from "./F0CanvasPanel-BimlvEaL.js";
|
|
5
5
|
import { a as i } from "./createIcon-B-z7hPQg.js";
|
|
6
|
-
import { Tr as a } from "./F0Select-
|
|
7
|
-
import { t as o } from "./F0Alert-
|
|
6
|
+
import { Tr as a } from "./F0Select-D6mxgb1s.js";
|
|
7
|
+
import { t as o } from "./F0Alert-DIj-yBaJ.js";
|
|
8
8
|
import { r as s } from "./toolbarStyles-CusTVVsH.js";
|
|
9
|
-
import { t as c } from "./DocumentToolbar-
|
|
9
|
+
import { t as c } from "./DocumentToolbar-CFSYNRPK.js";
|
|
10
10
|
import { t as l } from "./useFetchedText-BR3_KLXx.js";
|
|
11
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-BT6LThaT.js";
|
|
12
12
|
import { useEffect as b, useMemo as x, useRef as S, useState as C } from "react";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Mt as e, Nt as t } from "./CoachmarkProvider-
|
|
1
|
+
import { Mt as e, Nt as t } from "./CoachmarkProvider-Dv3HGlQn.js";
|
|
2
2
|
import { r as n } from "./i18n-provider-kdMqj3iD.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-NXXT56H4.js";
|
|
4
4
|
import { E as a } from "./F0Button-DVbQTicD.js";
|
|
5
|
-
import {
|
|
5
|
+
import { ca as o, la as s, sa as c } from "./F0CanvasPanel-BimlvEaL.js";
|
|
6
6
|
import { a as l } from "./createIcon-B-z7hPQg.js";
|
|
7
|
-
import { U as u, u as d } from "./useData-
|
|
7
|
+
import { U as u, u as d } from "./useData-XExWuz7o.js";
|
|
8
8
|
import { J as ee } from "./popover-BgQJIZoe.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-CiC2ZqiK.js";
|
|
10
|
+
import { t as p } from "./F0Text-CcpTiEit.js";
|
|
11
|
+
import { o as m, t as h } from "./F0Map-DvW_ce3p.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
|
|
@@ -43,11 +43,11 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
|
|
|
43
43
|
defaultProp: f,
|
|
44
44
|
onChange: d
|
|
45
45
|
});
|
|
46
|
-
return /* @__PURE__ */ C(
|
|
46
|
+
return /* @__PURE__ */ C(c, {
|
|
47
47
|
open: g,
|
|
48
48
|
onOpenChange: _,
|
|
49
49
|
"data-testid": h,
|
|
50
|
-
children: [/* @__PURE__ */ S(
|
|
50
|
+
children: [/* @__PURE__ */ S(s, {
|
|
51
51
|
asChild: !0,
|
|
52
52
|
children: /* @__PURE__ */ C("button", {
|
|
53
53
|
type: "button",
|
|
@@ -75,7 +75,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
|
|
|
75
75
|
})
|
|
76
76
|
]
|
|
77
77
|
})
|
|
78
|
-
}), /* @__PURE__ */ S(
|
|
78
|
+
}), /* @__PURE__ */ S(o, {
|
|
79
79
|
className: "px-0.5",
|
|
80
80
|
children: m
|
|
81
81
|
})]
|
|
@@ -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-ODowmc3U.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();
|
|
@@ -2,11 +2,11 @@ import { r as e } from "./i18n-provider-kdMqj3iD.js";
|
|
|
2
2
|
import { t } from "./skeleton-9cd4VWq0.js";
|
|
3
3
|
import { L as n } from "./tooltip-NXXT56H4.js";
|
|
4
4
|
import { C as r, v as i } from "./F0Button-DVbQTicD.js";
|
|
5
|
-
import {
|
|
6
|
-
import { B as c, U as l } from "./useData-
|
|
7
|
-
import { Cr as u, Ir as d, t as f } from "./F0Select-
|
|
5
|
+
import { Qs as a, Ws as o, rl as s } from "./F0CanvasPanel-BimlvEaL.js";
|
|
6
|
+
import { B as c, U as l } from "./useData-XExWuz7o.js";
|
|
7
|
+
import { Cr as u, Ir as d, t as f } from "./F0Select-D6mxgb1s.js";
|
|
8
8
|
import { a as p, i as m, l as ee, n as te, o as ne, r as h, s as re, t as g, u as _ } from "./toolbarStyles-CusTVVsH.js";
|
|
9
|
-
import { n as ie, r as ae, t as v } from "./pdfWorker-
|
|
9
|
+
import { n as ie, r as ae, t as v } from "./pdfWorker-ODowmc3U.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
|
|
@@ -132,12 +132,12 @@ var le = (e, t, n) => {
|
|
|
132
132
|
v ? /* @__PURE__ */ T(h, {
|
|
133
133
|
label: D.rotate,
|
|
134
134
|
onClick: y,
|
|
135
|
-
icon:
|
|
135
|
+
icon: o
|
|
136
136
|
}) : null,
|
|
137
137
|
/* @__PURE__ */ T(h, {
|
|
138
138
|
label: D.print,
|
|
139
139
|
onClick: b,
|
|
140
|
-
icon:
|
|
140
|
+
icon: a
|
|
141
141
|
}),
|
|
142
142
|
S ? null : /* @__PURE__ */ T(h, {
|
|
143
143
|
label: D.download,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-kdMqj3iD.js";
|
|
2
2
|
import { t } from "./skeleton-9cd4VWq0.js";
|
|
3
|
-
import { M as n,
|
|
3
|
+
import { M as n, j as r, ua as i } from "./F0CanvasPanel-BimlvEaL.js";
|
|
4
4
|
import { c as a } from "./toolbarStyles-CusTVVsH.js";
|
|
5
|
-
import { n as o, t as s } from "./DocumentToolbar-
|
|
5
|
+
import { n as o, t as s } from "./DocumentToolbar-CFSYNRPK.js";
|
|
6
6
|
import { n as c, t as l } from "./sheetPreview-Cd5OSWJi.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";
|
|
9
9
|
//#region src/addons/documents/F0DocumentViewer/components/SheetViewer.tsx
|
|
10
|
-
var h = 1e3, g = 100, _ = ({ url: t, filename: n, withCredentials:
|
|
10
|
+
var h = 1e3, g = 100, _ = ({ url: t, filename: n, withCredentials: r, hideDownload: o }) => {
|
|
11
11
|
let s = e();
|
|
12
12
|
return /* @__PURE__ */ m("div", {
|
|
13
13
|
className: "flex shrink-0 items-center gap-2 border-0 border-t border-solid border-f1-border-secondary px-3 py-1.5 text-sm text-f1-foreground-secondary",
|
|
14
|
-
children: [s.t("pdfViewer.showingFirstRows.other", { count: h }), o ? null : /* @__PURE__ */ p(
|
|
15
|
-
onClick: () => void a(t, n,
|
|
14
|
+
children: [s.t("pdfViewer.showingFirstRows.other", { count: h }), o ? null : /* @__PURE__ */ p(i, {
|
|
15
|
+
onClick: () => void a(t, n, r),
|
|
16
16
|
children: s.pdfViewer.download
|
|
17
17
|
})]
|
|
18
18
|
});
|
|
19
|
-
}, v = ({ url:
|
|
19
|
+
}, v = ({ url: i, filename: a, withCredentials: v = !0, actions: y, toolbar: b = "top", hideDownload: x = !1 }) => {
|
|
20
20
|
let S = e(), C = o(), [w, T] = d(null), [E, D] = d(!1), [O, k] = d(0);
|
|
21
21
|
u(() => {
|
|
22
22
|
let e = !1;
|
|
23
|
-
return T(null), D(!1), k(0), c(
|
|
23
|
+
return T(null), D(!1), k(0), c(i, {
|
|
24
24
|
maxRows: h,
|
|
25
25
|
maxCols: g,
|
|
26
26
|
withCredentials: v
|
|
@@ -31,16 +31,16 @@ var h = 1e3, g = 100, _ = ({ url: t, filename: n, withCredentials: i, hideDownlo
|
|
|
31
31
|
}), () => {
|
|
32
32
|
e = !0;
|
|
33
33
|
};
|
|
34
|
-
}, [
|
|
34
|
+
}, [i, v]);
|
|
35
35
|
let A = w ? w[Math.min(O, w.length - 1)] : null, j = A ? l(A.rows) : [], M = /* @__PURE__ */ p(s, {
|
|
36
|
-
url:
|
|
36
|
+
url: i,
|
|
37
37
|
filename: a,
|
|
38
38
|
withCredentials: v,
|
|
39
39
|
actions: y,
|
|
40
40
|
zoom: C,
|
|
41
41
|
placement: b,
|
|
42
42
|
hideDownload: x,
|
|
43
|
-
children: w && w.length > 1 ? /* @__PURE__ */ p(
|
|
43
|
+
children: w && w.length > 1 ? /* @__PURE__ */ p(r, {
|
|
44
44
|
type: "single",
|
|
45
45
|
size: "sm",
|
|
46
46
|
value: String(O),
|
|
@@ -79,7 +79,7 @@ var h = 1e3, g = 100, _ = ({ url: t, filename: n, withCredentials: i, hideDownlo
|
|
|
79
79
|
}, n))] }, t)) })]
|
|
80
80
|
})
|
|
81
81
|
}), A.truncatedRows ? /* @__PURE__ */ p(_, {
|
|
82
|
-
url:
|
|
82
|
+
url: i,
|
|
83
83
|
filename: a,
|
|
84
84
|
withCredentials: v,
|
|
85
85
|
hideDownload: x
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-kdMqj3iD.js";
|
|
2
2
|
import { t } from "./skeleton-9cd4VWq0.js";
|
|
3
3
|
import { a as n } from "./F0Button-DVbQTicD.js";
|
|
4
|
-
import { n as r, t as i } from "./DocumentToolbar-
|
|
4
|
+
import { n as r, t as i } from "./DocumentToolbar-CFSYNRPK.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";
|
package/dist/ai.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e, t } from "./i18n-provider-kdMqj3iD.js";
|
|
2
|
-
import {
|
|
3
|
-
import { A as h, B as g, C as _, D as v, E as y, F as b, H as x, I as S, L as C, M as w, N as T, O as E, P as D, R as O, S as k, T as A, V as j, _ as M, a as N, b as P, c as F, d as I, f as L, g as R, h as z, i as B, j as V, k as H, l as U, m as W, n as G, o as K, p as q, r as J, s as Y, t as X, u as Z, v as Q, w as $, x as ee, y as te, z as ne } from "./F0AiProcessingOverlay-
|
|
2
|
+
import { G as n, H as r, Hn as i, K as a, Kt as o, V as s, Yn as c, i as l, jt as u, ln as d, q as f, qn as p, t as m } from "./F0CanvasPanel-BimlvEaL.js";
|
|
3
|
+
import { A as h, B as g, C as _, D as v, E as y, F as b, H as x, I as S, L as C, M as w, N as T, O as E, P as D, R as O, S as k, T as A, V as j, _ as M, a as N, b as P, c as F, d as I, f as L, g as R, h as z, i as B, j as V, k as H, l as U, m as W, n as G, o as K, p as q, r as J, s as Y, t as X, u as Z, v as Q, w as $, x as ee, y as te, z as ne } from "./F0AiProcessingOverlay-e45V7jnO.js";
|
|
4
4
|
import { t as re } from "./i18n-provider-defaults-BRl6Z_VM.js";
|
|
5
|
-
export { ee as AiChatTranslationsProvider,
|
|
5
|
+
export { ee as AiChatTranslationsProvider, c as ChatSpinner, F as CollapsibleGroup, f as DropOverlay, p as F0ActionItem, s as F0AiChat, Z as F0AiChatHeader, Y as F0AiChatHistory, r as F0AiChatProvider, S as F0AiChatTextArea, ne as F0AiChatUsageLimitsButton, y as F0AiFileAttachments, d as F0AiFilePreviewsProvider, z as F0AiInsightCard, Q as F0AiMask, L as F0AiMessageSources, $ as F0AiMessagesContainer, n as F0AiPong, X as F0AiProcessingOverlay, q as F0AiProposalCard, I as F0AiTableCard, M as F0AuraVoiceAnimation, h as F0CanvasCard, m as F0CanvasPanel, g as F0ChatComposer, te as F0ClarifyingPanel, R as F0HILActionConfirmation, i as F0OneIcon, l as F0OneSwitch, v as FormCardValueFormatterProvider, t as I18nProvider, a as PongBall, U as ThreadItem, K as ThreadListSkeleton, O as WelcomeScreenCardsRow, x as actionItemStatuses, V as aiChatFileFromShowFilesItem, w as aiChatFileFromUploadedFile, T as aiChatFilesFromMessage, D as aiChatMessageText, _ as aiTranslations, J as chatHistoryIndicators, B as chatThreadStatuses, W as contentTypes, C as createPersonMentionSource, re as defaultTranslations, u as escapeUserText, b as markdownRenderers, j as oneIconSizes, G as usageLimitsPopoverSides, o as useAiChat, k as useAiChatTranslations, P as useCanvasEntity, N as useChatHistory, E as useFormCardValueFormatter, e as useI18n, H as useSetFormCardValueFormatter, A as useToolCallId };
|
package/dist/component-status.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useCallback as i, useEffect as a, useRef as o, useState as s } from "re
|
|
|
4
4
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
5
5
|
//#region \0virtual:f0-component-status-data
|
|
6
6
|
var u = {
|
|
7
|
-
generatedAt: "2026-11-27T15:
|
|
7
|
+
generatedAt: "2026-11-27T15:33:49.020Z",
|
|
8
8
|
stats: {
|
|
9
9
|
total: 319,
|
|
10
10
|
byStatus: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./createIcon-B-z7hPQg.js";
|
|
2
|
-
import { c as t, d as n, t as r } from "./dist-
|
|
2
|
+
import { c as t, d as n, t as r } from "./dist-CiC2ZqiK.js";
|
|
3
3
|
import * as i from "react";
|
|
4
4
|
import { forwardRef as a } from "react";
|
|
5
5
|
import { jsx as o } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e } from "./dist-
|
|
2
|
-
import { _ as t, c as n, d as r, h as i, l as a, t as o, v as s } from "./dist-
|
|
3
|
-
import { t as c } from "./dist-
|
|
4
|
-
import { t as l } from "./dist-
|
|
1
|
+
import { n as e } from "./dist-BwlC-i6M.js";
|
|
2
|
+
import { _ as t, c as n, d as r, h as i, l as a, t as o, v as s } from "./dist-CiC2ZqiK.js";
|
|
3
|
+
import { t as c } from "./dist-_ts6SUAW.js";
|
|
4
|
+
import { t as l } from "./dist-DN0nDQy0.js";
|
|
5
5
|
import u, * as d from "react";
|
|
6
6
|
import { jsx as f } from "react/jsx-runtime";
|
|
7
7
|
//#region ../../node_modules/.bun/@radix-ui+react-roving-focus@1.1.1+02ec1e885677ecfa/node_modules/@radix-ui/react-roving-focus/dist/index.mjs
|
|
@@ -876,30 +876,29 @@ function Y(e, t) {
|
|
|
876
876
|
}
|
|
877
877
|
}, [e, n]);
|
|
878
878
|
}
|
|
879
|
-
var X = le, Z = de, Ee = ve, Q = o(({ className: t, children: n, showBar: r = !0, viewportRef: i, onScrollTop: a, onScrollBottom: o, focusableViewport: l = !0, scrollMargin: f = 0,
|
|
880
|
-
let
|
|
879
|
+
var X = le, Z = de, Ee = ve, Q = o(({ className: t, children: n, showBar: r = !0, viewportRef: i, onScrollTop: a, onScrollBottom: o, focusableViewport: l = !0, scrollMargin: f = 0, panelScrollTimeline: p = !1, ...m }, h) => {
|
|
880
|
+
let g = c(null), _ = i ?? g;
|
|
881
881
|
return s(() => {
|
|
882
882
|
let e = (e) => {
|
|
883
883
|
let { scrollTop: t, scrollHeight: n, clientHeight: r } = e.target;
|
|
884
884
|
t - f <= 0 && a && a(), t + r + f >= n && o && o();
|
|
885
|
-
}, t =
|
|
885
|
+
}, t = _.current;
|
|
886
886
|
return t?.addEventListener("scroll", e), () => {
|
|
887
887
|
t?.removeEventListener("scroll", e);
|
|
888
888
|
};
|
|
889
889
|
}, [
|
|
890
|
-
g.current,
|
|
891
890
|
o,
|
|
892
891
|
a,
|
|
893
892
|
f
|
|
894
893
|
]), /* @__PURE__ */ d(X, {
|
|
895
|
-
ref:
|
|
894
|
+
ref: h,
|
|
896
895
|
className: e("relative overflow-hidden", t),
|
|
897
896
|
scrollHideDelay: 200,
|
|
898
|
-
...
|
|
897
|
+
...m,
|
|
899
898
|
children: [
|
|
900
899
|
/* @__PURE__ */ u(Z, {
|
|
901
|
-
ref:
|
|
902
|
-
className: "size-full snap-none rounded-[inherit] [&>div]:!block",
|
|
900
|
+
ref: _,
|
|
901
|
+
className: e("size-full snap-none rounded-[inherit] [&>div]:!block", p && "scroll-timeline-panel"),
|
|
903
902
|
tabIndex: l ? 0 : void 0,
|
|
904
903
|
"data-scroll-container": !0,
|
|
905
904
|
children: n
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as e } from "./dist-
|
|
1
|
+
import { g as e } from "./dist-CiC2ZqiK.js";
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
//#region ../../node_modules/.bun/@radix-ui+react-id@1.1.0+ec078f7ced36dfee/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
4
4
|
var n = t.useId || (() => void 0), r = 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as e, p as t, v as n } from "./dist-
|
|
1
|
+
import { h as e, p as t, v as n } from "./dist-CiC2ZqiK.js";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { jsx as i } from "react/jsx-runtime";
|
|
4
4
|
//#region ../../node_modules/.bun/@radix-ui+react-collection@1.1.1+02ec1e885677ecfa/node_modules/@radix-ui/react-collection/dist/index.mjs
|