@factorialco/f0-react 16.16.0 → 16.17.1
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-BGrUEFW6.js → ArchiveThumbnail-CAzO9emN.js} +1 -1
- package/dist/{ArchiveViewer-DLj2GP7S.js → ArchiveViewer-BkqvVOz0.js} +2 -2
- package/dist/{ChatPostComposerDialog-rrK3A0-M.js → ChatPostComposerDialog-Cl7UiCec.js} +2 -2
- package/dist/{CoachmarkProvider-CFD6rQHM.js → CoachmarkProvider-CVvKOMks.js} +14200 -14200
- package/dist/{CodeThumbnail-CX5BJQ0p.js → CodeThumbnail-D-gb6TUF.js} +1 -1
- package/dist/{CodeViewer-DAJFjwLS.js → CodeViewer-SI7TC_K2.js} +5 -5
- package/dist/{DocumentToolbar-D4Auk27r.js → DocumentToolbar-DGyD9SN0.js} +1 -1
- package/dist/{DocxViewer-Bdf-VLsp.js → DocxViewer-kDcXxo0v.js} +1 -1
- package/dist/{F0AiProcessingOverlay-Bl3wsErS.js → F0AiProcessingOverlay-OhgXIPB4.js} +1275 -1275
- package/dist/{F0Alert-gumBhGUI.js → F0Alert-TC2esFmC.js} +1 -1
- package/dist/F0AudioPlayer-GshtwrMI.js +2 -0
- package/dist/{F0CanvasPanel-DZDN_8N-.js → F0CanvasPanel-CwuS7Fc_.js} +3908 -3908
- package/dist/{F0DocumentViewer-HzA7GnQg.js → F0DocumentViewer-CNQvQsnx.js} +1 -1
- package/dist/{F0DocumentViewer-CXedsRTN.js → F0DocumentViewer-DIFsg5pY.js} +2 -2
- package/dist/{F0Map-CV43Bw0H.js → F0Map-DCdwhVeF.js} +439 -439
- package/dist/{F0VideoPlayer-BSI5JL0i.js → F0VideoPlayer-CfY8KJ7I.js} +72 -72
- package/dist/F0VideoPlayer-HzLnLN2W.js +1 -0
- package/dist/{HtmlViewer-BNS3kuVG.js → HtmlViewer-DRfrtuKN.js} +3 -3
- package/dist/{Map-C6YOZxRE.js → Map-DS3oUWbK.js} +5 -5
- package/dist/{PdfThumbnail-B3xLjRLZ.js → PdfThumbnail-Ue08FfiS.js} +1 -1
- package/dist/{PdfViewer-BgMp7MCk.js → PdfViewer-V3C2gmbs.js} +4 -4
- package/dist/{SheetViewer-6EaMzQRl.js → SheetViewer-ByBIMFf1.js} +11 -11
- package/dist/{TextViewer-BX79baRv.js → TextViewer-CR4-k8HR.js} +1 -1
- package/dist/ai.js +3 -3
- package/dist/component-status.js +1 -1
- package/dist/experimental.js +945 -935
- package/dist/f0.js +170 -170
- package/dist/{highlight-DO8gPTSC.js → highlight-D7BcbXP5.js} +6 -6
- package/dist/{maplibre-ifBRwrCX.js → maplibre-BjtWSbUZ.js} +1 -1
- package/dist/{pdfWorker-DdSJgmMr.js → pdfWorker-csDGfjpV.js} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/F0AudioPlayer-CGelgsq6.js +0 -2
- package/dist/F0VideoPlayer-BDY4HZ5r.js +0 -1
|
@@ -2,11 +2,11 @@ import { a as e, r as t } from "./i18n-provider-B3-kjPXK.js";
|
|
|
2
2
|
import { n } from "./skeleton-Dl-alAMY.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-NXXT56H4.js";
|
|
4
4
|
import { t as a } from "./F0Button-BPjCHo83.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Sc as o, Vs as s, _s as c, hc as l, nl as u, vs as d, ys as f, zc as p } from "./F0CanvasPanel-CwuS7Fc_.js";
|
|
6
6
|
import { n as m, t as h } from "./F0Icon-BWIoBqUz.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";
|
|
9
|
-
import { S as C, _ as w, a as T, b as
|
|
9
|
+
import { S as C, _ as w, a as T, b as ee, d as E, f as D, g as O, i as k, t as A, v as j, w as M, x as te } from "./popover-CBQ6ifku.js";
|
|
10
10
|
import { t as ne } from "./useFullscreen-CNwpzjpz.js";
|
|
11
11
|
import { forwardRef as N, useCallback as P, useEffect as F, useId as I, useMemo as L, useRef as R, useState as z } from "react";
|
|
12
12
|
import { jsx as B, jsxs as V } from "react/jsx-runtime";
|
|
@@ -101,7 +101,7 @@ var Z = N(({ animate: e, ...t }, n) => {
|
|
|
101
101
|
Z.displayName = "AudioDescriptionFilledIcon";
|
|
102
102
|
//#endregion
|
|
103
103
|
//#region src/blocks/F0VideoPlayer/components/CaptionsToggleIcons.tsx
|
|
104
|
-
var
|
|
104
|
+
var Q = N(({ animate: e, ...t }, n) => /* @__PURE__ */ V("svg", {
|
|
105
105
|
xmlns: "http://www.w3.org/2000/svg",
|
|
106
106
|
fill: "none",
|
|
107
107
|
viewBox: "0 0 24 24",
|
|
@@ -131,8 +131,8 @@ var ie = N(({ animate: e, ...t }, n) => /* @__PURE__ */ V("svg", {
|
|
|
131
131
|
})
|
|
132
132
|
]
|
|
133
133
|
}));
|
|
134
|
-
|
|
135
|
-
var
|
|
134
|
+
Q.displayName = "CaptionsLineIcon";
|
|
135
|
+
var ie = N(({ animate: e, ...t }, n) => /* @__PURE__ */ B("svg", {
|
|
136
136
|
xmlns: "http://www.w3.org/2000/svg",
|
|
137
137
|
fill: "none",
|
|
138
138
|
viewBox: "0 0 24 24",
|
|
@@ -146,12 +146,12 @@ var ae = N(({ animate: e, ...t }, n) => /* @__PURE__ */ B("svg", {
|
|
|
146
146
|
vectorEffect: "non-scaling-stroke"
|
|
147
147
|
})
|
|
148
148
|
}));
|
|
149
|
-
|
|
149
|
+
ie.displayName = "CaptionsFilledIcon";
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region src/blocks/F0VideoPlayer/components/PlaybackRateMenu.tsx
|
|
152
|
-
function
|
|
152
|
+
function ae({ value: e, onChange: n, containerRef: i }) {
|
|
153
153
|
let { t: o } = t(), [s, c] = z(!1);
|
|
154
|
-
return /* @__PURE__ */ V(
|
|
154
|
+
return /* @__PURE__ */ V(A, {
|
|
155
155
|
open: s,
|
|
156
156
|
onOpenChange: c,
|
|
157
157
|
children: [/* @__PURE__ */ B(T, {
|
|
@@ -162,7 +162,7 @@ function oe({ value: e, onChange: n, containerRef: i }) {
|
|
|
162
162
|
label: q(e),
|
|
163
163
|
"aria-label": o("videoPlayer.playbackSpeed", { rate: q(e) })
|
|
164
164
|
})
|
|
165
|
-
}), /* @__PURE__ */ B(
|
|
165
|
+
}), /* @__PURE__ */ B(k, {
|
|
166
166
|
container: i.current,
|
|
167
167
|
side: "top",
|
|
168
168
|
align: "end",
|
|
@@ -212,7 +212,7 @@ function oe({ value: e, onChange: n, containerRef: i }) {
|
|
|
212
212
|
}
|
|
213
213
|
//#endregion
|
|
214
214
|
//#region src/blocks/F0VideoPlayer/components/Seekbar.tsx
|
|
215
|
-
function
|
|
215
|
+
function oe({ currentTime: e, duration: n, markerTime: a, blockSeekPastMarker: o = !1, onSeek: s }) {
|
|
216
216
|
let { t: c } = t(), l = R(null), [u, d] = z(!1), [f, p] = z(null), m = n > 0 ? Math.min(1, e / n) : 0, h = a !== void 0 && n > 0 ? Math.min(1, a / n) : 0, g = a !== void 0 && n > 0 && a > 0 && a < n - .25 && e < a - .25, _ = (e) => {
|
|
217
217
|
let t = l.current;
|
|
218
218
|
if (!t) return 0;
|
|
@@ -287,10 +287,10 @@ function se({ currentTime: e, duration: n, markerTime: a, blockSeekPastMarker: o
|
|
|
287
287
|
}
|
|
288
288
|
//#endregion
|
|
289
289
|
//#region src/blocks/F0VideoPlayer/components/SettingsMenu.tsx
|
|
290
|
-
var
|
|
290
|
+
var se = "off", ce = "py-2 pr-4 text-base font-medium", le = "gap-2 py-2 pl-3 pr-2 text-base font-medium", ue = "max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[13rem] overflow-y-auto p-1";
|
|
291
291
|
function $({ icon: e, label: t, container: n, options: r, value: i, onLanguageChange: a, on: o, onOff: s, offLabel: c }) {
|
|
292
292
|
let l = s !== void 0, u = r.find((e) => e.locale === i), d = l && !o ? c : u ? x(u) : c;
|
|
293
|
-
return /* @__PURE__ */ V(
|
|
293
|
+
return /* @__PURE__ */ V(ee, { children: [/* @__PURE__ */ V(C, {
|
|
294
294
|
className: le,
|
|
295
295
|
children: [
|
|
296
296
|
/* @__PURE__ */ B(m, { icon: e }),
|
|
@@ -303,19 +303,19 @@ function $({ icon: e, label: t, container: n, options: r, value: i, onLanguageCh
|
|
|
303
303
|
children: d
|
|
304
304
|
})
|
|
305
305
|
]
|
|
306
|
-
}), /* @__PURE__ */ B(
|
|
306
|
+
}), /* @__PURE__ */ B(O, {
|
|
307
307
|
container: n ?? void 0,
|
|
308
308
|
children: /* @__PURE__ */ B(te, {
|
|
309
309
|
className: ue,
|
|
310
310
|
children: /* @__PURE__ */ V(w, {
|
|
311
|
-
value: l ? o ? i :
|
|
312
|
-
onValueChange: (e) => l && e ===
|
|
313
|
-
children: [r.map((e) => /* @__PURE__ */ B(
|
|
311
|
+
value: l ? o ? i : se : i,
|
|
312
|
+
onValueChange: (e) => l && e === se ? s() : a(e),
|
|
313
|
+
children: [r.map((e) => /* @__PURE__ */ B(j, {
|
|
314
314
|
value: e.locale,
|
|
315
315
|
className: ce,
|
|
316
316
|
children: x(e)
|
|
317
|
-
}, e.locale)), l ? /* @__PURE__ */ B(
|
|
318
|
-
value:
|
|
317
|
+
}, e.locale)), l ? /* @__PURE__ */ B(j, {
|
|
318
|
+
value: se,
|
|
319
319
|
className: ce,
|
|
320
320
|
children: c
|
|
321
321
|
}) : null]
|
|
@@ -323,25 +323,25 @@ 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: o, captionLanguage: c, captionsOn: l, onCaptionLanguageChange: u, onCaptionsOff: d, audioDescriptionLanguages: f, audioDescriptionLanguage: m, audioDescriptionOn: h, onAudioDescriptionLanguageChange: g, onAudioDescriptionOff: _ }) {
|
|
327
327
|
let { t: v } = t(), y = e.current, b = v("videoPlayer.off");
|
|
328
|
-
return /* @__PURE__ */ V(
|
|
328
|
+
return /* @__PURE__ */ V(E, { children: [/* @__PURE__ */ B(M, {
|
|
329
329
|
asChild: !0,
|
|
330
330
|
children: /* @__PURE__ */ B(a, {
|
|
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
|
-
}), /* @__PURE__ */ V(
|
|
337
|
+
}), /* @__PURE__ */ V(D, {
|
|
338
338
|
container: y,
|
|
339
339
|
side: "top",
|
|
340
340
|
align: "end",
|
|
341
341
|
className: ue,
|
|
342
342
|
children: [
|
|
343
343
|
n.length > 1 ? /* @__PURE__ */ B($, {
|
|
344
|
-
icon:
|
|
344
|
+
icon: p,
|
|
345
345
|
label: v("videoPlayer.audio"),
|
|
346
346
|
container: y,
|
|
347
347
|
options: n,
|
|
@@ -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
|
-
|
|
353
|
-
icon:
|
|
352
|
+
o.length > 1 ? /* @__PURE__ */ B($, {
|
|
353
|
+
icon: Q,
|
|
354
354
|
label: v("videoPlayer.subtitles"),
|
|
355
355
|
container: y,
|
|
356
|
-
options:
|
|
356
|
+
options: o,
|
|
357
357
|
value: c,
|
|
358
358
|
on: l,
|
|
359
359
|
onLanguageChange: u,
|
|
@@ -380,16 +380,16 @@ 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 ? c : e <= .5 ? d : f;
|
|
384
384
|
}
|
|
385
385
|
function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent: o = !1 }) {
|
|
386
|
-
let { t: s } = t(),
|
|
386
|
+
let { t: s } = t(), l = n || e === 0;
|
|
387
387
|
return o ? /* @__PURE__ */ B(a, {
|
|
388
388
|
variant: "ghost",
|
|
389
389
|
size: "sm",
|
|
390
390
|
hideLabel: !0,
|
|
391
391
|
disabled: !0,
|
|
392
|
-
icon:
|
|
392
|
+
icon: c,
|
|
393
393
|
label: s("videoPlayer.noAudio")
|
|
394
394
|
}) : /* @__PURE__ */ V("div", {
|
|
395
395
|
className: "flex items-center gap-1",
|
|
@@ -397,11 +397,11 @@ function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent:
|
|
|
397
397
|
variant: "ghost",
|
|
398
398
|
size: "sm",
|
|
399
399
|
hideLabel: !0,
|
|
400
|
-
icon: pe(e,
|
|
401
|
-
label: s(
|
|
400
|
+
icon: pe(e, l),
|
|
401
|
+
label: s(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,11 +470,11 @@ 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:
|
|
474
|
-
let { t: U } = t(), re = g &&
|
|
473
|
+
function ge({ isPlaying: e, currentTime: n, duration: i, volume: s, isMuted: c, playbackRate: d, 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: ee, captionLanguages: E, captionLanguage: D, onCaptionLanguageChange: O, onCaptionsOff: k, audioDescriptionLanguages: A, audioDescriptionLanguage: j, onAudioDescriptionLanguageChange: M, onAudioDescriptionOff: te, onTogglePlay: ne, onToggleMute: N, onVolumeChange: P, onPlaybackRateChange: F, onToggleFullscreen: I, onToggleCaptions: L, onToggleAudioDescription: R, onSeek: z, download: H }) {
|
|
474
|
+
let { t: U } = t(), re = g && E.length <= 1, W = y && A.length <= 1, G = fe({
|
|
475
475
|
audioLanguages: w.length,
|
|
476
|
-
captionLanguages:
|
|
477
|
-
audioDescriptionLanguages:
|
|
476
|
+
captionLanguages: E.length,
|
|
477
|
+
audioDescriptionLanguages: A.length
|
|
478
478
|
});
|
|
479
479
|
return /* @__PURE__ */ V("div", {
|
|
480
480
|
className: r("dark absolute inset-x-0 bottom-0 z-[2] flex select-none items-center gap-2", "rounded-b-[inherit] bg-gradient-to-t from-[#000000f2] via-[#000000b3] to-transparent px-3 py-3", "[text-shadow:0_1px_2px_rgba(0,0,0,0.55)] [&_svg]:drop-shadow-[0_1px_2px_rgba(0,0,0,0.55)]", "transition-opacity duration-200 motion-reduce:transition-none", !e || C ? "opacity-100" : "opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"),
|
|
@@ -487,7 +487,7 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: s,
|
|
|
487
487
|
label: U(e ? "videoPlayer.pause" : "videoPlayer.play"),
|
|
488
488
|
onClick: ne
|
|
489
489
|
}),
|
|
490
|
-
/* @__PURE__ */ B(
|
|
490
|
+
/* @__PURE__ */ B(oe, {
|
|
491
491
|
currentTime: n,
|
|
492
492
|
duration: i,
|
|
493
493
|
markerTime: p,
|
|
@@ -503,14 +503,14 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: s,
|
|
|
503
503
|
]
|
|
504
504
|
}),
|
|
505
505
|
/* @__PURE__ */ B(me, {
|
|
506
|
-
volume:
|
|
507
|
-
isMuted:
|
|
506
|
+
volume: s,
|
|
507
|
+
isMuted: c,
|
|
508
508
|
onToggleMute: N,
|
|
509
509
|
onVolumeChange: P,
|
|
510
510
|
silent: S
|
|
511
511
|
}),
|
|
512
|
-
/* @__PURE__ */ B(
|
|
513
|
-
value:
|
|
512
|
+
/* @__PURE__ */ B(ae, {
|
|
513
|
+
value: d,
|
|
514
514
|
onChange: F,
|
|
515
515
|
containerRef: h
|
|
516
516
|
}),
|
|
@@ -518,7 +518,7 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: s,
|
|
|
518
518
|
variant: "ghost",
|
|
519
519
|
size: "sm",
|
|
520
520
|
hideLabel: !0,
|
|
521
|
-
icon: v ?
|
|
521
|
+
icon: v ? ie : Q,
|
|
522
522
|
label: U("videoPlayer.captions"),
|
|
523
523
|
"aria-pressed": v,
|
|
524
524
|
onClick: L
|
|
@@ -536,23 +536,23 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: s,
|
|
|
536
536
|
containerRef: h,
|
|
537
537
|
audioLanguages: w,
|
|
538
538
|
audioLanguage: T,
|
|
539
|
-
onAudioLanguageChange:
|
|
540
|
-
captionLanguages:
|
|
541
|
-
captionLanguage:
|
|
539
|
+
onAudioLanguageChange: ee,
|
|
540
|
+
captionLanguages: E,
|
|
541
|
+
captionLanguage: D,
|
|
542
542
|
captionsOn: v,
|
|
543
|
-
onCaptionLanguageChange:
|
|
544
|
-
onCaptionsOff:
|
|
545
|
-
audioDescriptionLanguages:
|
|
546
|
-
audioDescriptionLanguage:
|
|
543
|
+
onCaptionLanguageChange: O,
|
|
544
|
+
onCaptionsOff: k,
|
|
545
|
+
audioDescriptionLanguages: A,
|
|
546
|
+
audioDescriptionLanguage: j,
|
|
547
547
|
audioDescriptionOn: x,
|
|
548
|
-
onAudioDescriptionLanguageChange:
|
|
548
|
+
onAudioDescriptionLanguageChange: M,
|
|
549
549
|
onAudioDescriptionOff: te
|
|
550
550
|
}) : null,
|
|
551
551
|
H ? /* @__PURE__ */ B(a, {
|
|
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,8 +560,8 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: s,
|
|
|
560
560
|
variant: "ghost",
|
|
561
561
|
size: "sm",
|
|
562
562
|
hideLabel: !0,
|
|
563
|
-
icon:
|
|
564
|
-
label: U(
|
|
563
|
+
icon: f ? l : o,
|
|
564
|
+
label: U(f ? "videoPlayer.exitFullscreen" : "videoPlayer.enterFullscreen"),
|
|
565
565
|
onClick: I
|
|
566
566
|
})
|
|
567
567
|
]
|
|
@@ -890,7 +890,7 @@ function je({ video: e, onTrackAction: t }) {
|
|
|
890
890
|
//#endregion
|
|
891
891
|
//#region src/blocks/F0VideoPlayer/internal.tsx
|
|
892
892
|
function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls: s = !1, content: c, defaultLanguage: l, autoPlay: u = !1, autoFocus: d = !1, download: f, restrictForwardSeek: p = !1, onTrackAction: m, onMilestone: g, onComplete: b, ...x }) {
|
|
893
|
-
let { t: C } = t(), w = R(null), T = L(() => S(e), [e]), [
|
|
893
|
+
let { t: C } = t(), w = R(null), T = L(() => S(e), [e]), [ee, E] = z(() => y(T, l)), D = T.some((e) => e.locale === ee) ? ee : y(T, l), O = v(e, D) ?? "", k = L(() => S(c?.captions), [c?.captions]), [A, j] = z(() => y(k, l)), M = k.some((e) => e.locale === A) ? A : y(k, l), te = v(c?.captions, M), N = L(() => S(c?.descriptions, c?.describedSrc), [c?.descriptions, c?.describedSrc]), [I, H] = z(() => y(N, l)), U = N.some((e) => e.locale === I) ? I : y(N, l), re = v(c?.descriptions, U), W = v(c?.describedSrc, U), [G, K] = z(!1), q = G && W ? W : O, J = Ae(q), Y = Ee(J.videoElement, te), X = be(J.videoElement, {
|
|
894
894
|
enabled: G,
|
|
895
895
|
describedSrc: W,
|
|
896
896
|
descriptions: re
|
|
@@ -901,15 +901,15 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
|
|
|
901
901
|
e.currentTime = t, n && e.play().catch(() => {}), e.removeEventListener("loadedmetadata", r);
|
|
902
902
|
};
|
|
903
903
|
e.addEventListener("loadedmetadata", r);
|
|
904
|
-
}, [J.videoRef]),
|
|
905
|
-
Z(),
|
|
906
|
-
}, [Z]),
|
|
904
|
+
}, [J.videoRef]), Q = P((e) => {
|
|
905
|
+
Z(), E(e);
|
|
906
|
+
}, [Z]), ie = P(() => {
|
|
907
907
|
W && Z(), K((e) => !e);
|
|
908
|
-
}, [W, Z]),
|
|
909
|
-
|
|
910
|
-
}, [Y]),
|
|
908
|
+
}, [W, Z]), ae = P((e) => {
|
|
909
|
+
j(e), Y.showing || Y.toggle();
|
|
910
|
+
}, [Y]), oe = P(() => {
|
|
911
911
|
Y.showing && Y.toggle();
|
|
912
|
-
}, [Y]),
|
|
912
|
+
}, [Y]), se = P((e) => {
|
|
913
913
|
W && Z(), H(e), K(!0);
|
|
914
914
|
}, [W, Z]), ce = P(() => {
|
|
915
915
|
W && Z(), K(!1);
|
|
@@ -920,16 +920,16 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
|
|
|
920
920
|
}), ke({
|
|
921
921
|
video: J.videoElement,
|
|
922
922
|
onMilestone: g,
|
|
923
|
-
resetKey:
|
|
923
|
+
resetKey: O
|
|
924
924
|
}), Oe({
|
|
925
925
|
video: J.videoElement,
|
|
926
926
|
onComplete: b,
|
|
927
|
-
resetKey:
|
|
927
|
+
resetKey: O
|
|
928
928
|
});
|
|
929
929
|
let { maxWatchedTime: le, clampSeek: ue } = Se({
|
|
930
930
|
video: J.videoElement,
|
|
931
931
|
enabled: p,
|
|
932
|
-
resetKey:
|
|
932
|
+
resetKey: O
|
|
933
933
|
}), $ = P((e) => J.seekTo(ue(e)), [J, ue]), { isFullscreen: de, toggleFullscreen: fe } = ne({ targetRef: w }), pe = P(() => {}, []), me = !!(G && W);
|
|
934
934
|
F(() => {
|
|
935
935
|
let e = J.videoRef.current;
|
|
@@ -1043,15 +1043,15 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
|
|
|
1043
1043
|
silent: o,
|
|
1044
1044
|
persist: s,
|
|
1045
1045
|
audioLanguages: T,
|
|
1046
|
-
audioLanguage:
|
|
1047
|
-
onAudioLanguageChange:
|
|
1048
|
-
captionLanguages:
|
|
1049
|
-
captionLanguage:
|
|
1050
|
-
onCaptionLanguageChange:
|
|
1051
|
-
onCaptionsOff:
|
|
1046
|
+
audioLanguage: D,
|
|
1047
|
+
onAudioLanguageChange: Q,
|
|
1048
|
+
captionLanguages: k,
|
|
1049
|
+
captionLanguage: M,
|
|
1050
|
+
onCaptionLanguageChange: ae,
|
|
1051
|
+
onCaptionsOff: oe,
|
|
1052
1052
|
audioDescriptionLanguages: N,
|
|
1053
1053
|
audioDescriptionLanguage: U,
|
|
1054
|
-
onAudioDescriptionLanguageChange:
|
|
1054
|
+
onAudioDescriptionLanguageChange: se,
|
|
1055
1055
|
onAudioDescriptionOff: ce,
|
|
1056
1056
|
onTogglePlay: J.togglePlay,
|
|
1057
1057
|
onToggleMute: J.toggleMute,
|
|
@@ -1059,7 +1059,7 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
|
|
|
1059
1059
|
onPlaybackRateChange: J.setPlaybackRate,
|
|
1060
1060
|
onToggleFullscreen: () => void fe(),
|
|
1061
1061
|
onToggleCaptions: Y.toggle,
|
|
1062
|
-
onToggleAudioDescription:
|
|
1062
|
+
onToggleAudioDescription: ie,
|
|
1063
1063
|
onSeek: $,
|
|
1064
1064
|
download: f
|
|
1065
1065
|
}) : null
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as F0VideoPlayer } from "./F0VideoPlayer-CfY8KJ7I.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as e } from "./i18n-provider-B3-kjPXK.js";
|
|
2
2
|
import { t } from "./skeleton-Dl-alAMY.js";
|
|
3
3
|
import { L as n } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import {
|
|
4
|
+
import { kl as r } from "./F0CanvasPanel-CwuS7Fc_.js";
|
|
5
5
|
import { t as i } from "./F0Icon-BWIoBqUz.js";
|
|
6
6
|
import { pr as a } from "./F0Select-CaRfMBA3.js";
|
|
7
|
-
import { t as o } from "./F0Alert-
|
|
7
|
+
import { t as o } from "./F0Alert-TC2esFmC.js";
|
|
8
8
|
import { r as s } from "./toolbarStyles-Dx_088Js.js";
|
|
9
|
-
import { t as c } from "./DocumentToolbar-
|
|
9
|
+
import { t as c } from "./DocumentToolbar-DGyD9SN0.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-DQqfMeCl.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-CVvKOMks.js";
|
|
2
2
|
import { r as n } from "./i18n-provider-B3-kjPXK.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-NXXT56H4.js";
|
|
4
4
|
import { E as a } from "./F0Button-BPjCHo83.js";
|
|
5
|
-
import {
|
|
5
|
+
import { aa as o, ia as s, oa as c } from "./F0CanvasPanel-CwuS7Fc_.js";
|
|
6
6
|
import { t as l } from "./F0Icon-BWIoBqUz.js";
|
|
7
7
|
import { H as u, u as d } from "./useData-0FR__MaY.js";
|
|
8
8
|
import { J as ee } from "./popover-CBQ6ifku.js";
|
|
9
9
|
import { y as f } from "./dist-tqa6n0_D.js";
|
|
10
10
|
import { t as p } from "./F0Text-D9BR3ipr.js";
|
|
11
|
-
import { o as m, t as h } from "./F0Map-
|
|
11
|
+
import { o as m, t as h } from "./F0Map-DCdwhVeF.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
|
|
@@ -47,7 +47,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
|
|
|
47
47
|
open: g,
|
|
48
48
|
onOpenChange: _,
|
|
49
49
|
"data-testid": h,
|
|
50
|
-
children: [/* @__PURE__ */ S(
|
|
50
|
+
children: [/* @__PURE__ */ S(c, {
|
|
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-csDGfjpV.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-B3-kjPXK.js";
|
|
|
2
2
|
import { t } from "./skeleton-Dl-alAMY.js";
|
|
3
3
|
import { L as n } from "./tooltip-NXXT56H4.js";
|
|
4
4
|
import { C as r, v as i } from "./F0Button-BPjCHo83.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Us as a, Xs as o, nl as s } from "./F0CanvasPanel-CwuS7Fc_.js";
|
|
6
6
|
import { H as c, z as l } from "./useData-0FR__MaY.js";
|
|
7
7
|
import { dr as u, t as d, wr as f } from "./F0Select-CaRfMBA3.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-Dx_088Js.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-csDGfjpV.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: a
|
|
136
136
|
}) : null,
|
|
137
137
|
/* @__PURE__ */ T(h, {
|
|
138
138
|
label: D.print,
|
|
139
139
|
onClick: b,
|
|
140
|
-
icon:
|
|
140
|
+
icon: o
|
|
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-B3-kjPXK.js";
|
|
2
2
|
import { t } from "./skeleton-Dl-alAMY.js";
|
|
3
|
-
import {
|
|
3
|
+
import { M as n, j as r, sa as i } from "./F0CanvasPanel-CwuS7Fc_.js";
|
|
4
4
|
import { c as a } from "./toolbarStyles-Dx_088Js.js";
|
|
5
|
-
import { n as o, t as s } from "./DocumentToolbar-
|
|
5
|
+
import { n as o, t as s } from "./DocumentToolbar-DGyD9SN0.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-B3-kjPXK.js";
|
|
2
2
|
import { t } from "./skeleton-Dl-alAMY.js";
|
|
3
3
|
import { a as n } from "./F0Button-BPjCHo83.js";
|
|
4
|
-
import { n as r, t as i } from "./DocumentToolbar-
|
|
4
|
+
import { n as r, t as i } from "./DocumentToolbar-DGyD9SN0.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-B3-kjPXK.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 { H as n, J as r, Jn as i, K as a, Kn as o, Mt as s, U as c, Vn as l, cn as u, i as d, q as f, qt as p, t as m } from "./F0CanvasPanel-CwuS7Fc_.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-OhgXIPB4.js";
|
|
4
4
|
import { t as re } from "./i18n-provider-defaults-BlGnW4EH.js";
|
|
5
|
-
export { ee as AiChatTranslationsProvider,
|
|
5
|
+
export { ee as AiChatTranslationsProvider, i as ChatSpinner, F as CollapsibleGroup, r as DropOverlay, o as F0ActionItem, n as F0AiChat, Z as F0AiChatHeader, Y as F0AiChatHistory, c as F0AiChatProvider, S as F0AiChatTextArea, ne as F0AiChatUsageLimitsButton, y as F0AiFileAttachments, u as F0AiFilePreviewsProvider, z as F0AiInsightCard, Q as F0AiMask, L as F0AiMessageSources, $ as F0AiMessagesContainer, a 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, l as F0OneIcon, d as F0OneSwitch, v as FormCardValueFormatterProvider, t as I18nProvider, f 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, s as escapeUserText, b as markdownRenderers, j as oneIconSizes, G as usageLimitsPopoverSides, p 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-
|
|
7
|
+
generatedAt: "2026-11-26T13:01:46.658Z",
|
|
8
8
|
stats: {
|
|
9
9
|
total: 318,
|
|
10
10
|
byStatus: {
|