@factorialco/f0-react 12.15.0 → 12.17.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-BxhEauws.js → ArchiveThumbnail-dGuKclaw.js} +5 -5
- package/dist/{ArchiveViewer-Cl_-VWzT.js → ArchiveViewer-D4fZ2Zko.js} +12 -12
- package/dist/{ChatPostComposerDialog-CZlNr9ba.js → ChatPostComposerDialog-ZUy4oL4n.js} +2 -2
- package/dist/{CoachmarkProvider-CEw78dgS.js → CoachmarkProvider-Bui0J43V.js} +17676 -17676
- package/dist/{CodeThumbnail-DDo9lfco.js → CodeThumbnail-BN74kiZ4.js} +1 -1
- package/dist/{CodeViewer-BrTpF20r.js → CodeViewer-DAISBEVU.js} +5 -5
- package/dist/{DocumentToolbar-C9ddjrjJ.js → DocumentToolbar-DY0Zl0N_.js} +1 -1
- package/dist/{DocxViewer-A6yOGoqC.js → DocxViewer-CU-h8JZo.js} +1 -1
- package/dist/{F0AiProcessingOverlay-BMFIt7Ru.js → F0AiProcessingOverlay-1sgWr47b.js} +1103 -1024
- package/dist/{F0Alert-D5hs2XZm.js → F0Alert--45qrdm9.js} +10 -10
- package/dist/F0AudioPlayer-ZqghWPaS.js +2 -0
- package/dist/{F0CanvasPanel-BDuYWQcq.js → F0CanvasPanel-B07KPl9L.js} +9696 -9582
- package/dist/{F0DocumentViewer-C6o-c1aq.js → F0DocumentViewer-CPu9X2o1.js} +2 -2
- package/dist/{F0DocumentViewer-D8Ylnw3M.js → F0DocumentViewer-gfD2E9-m.js} +1 -1
- package/dist/{F0Map-BHihj_0n.js → F0Map-CpggFT94.js} +129 -142
- package/dist/F0VideoPlayer-BqAcQLm4.js +1 -0
- package/dist/{F0VideoPlayer-Dz9QSCFp.js → F0VideoPlayer-C1JRJ63P.js} +22 -22
- package/dist/{HtmlViewer-Cf5lw2RH.js → HtmlViewer-D6_vKugG.js} +3 -3
- package/dist/{Map-B8_F4AIJ.js → Map-BSvthUb7.js} +5 -5
- package/dist/{PdfThumbnail-CpLZEOJu.js → PdfThumbnail-CXumcn98.js} +1 -1
- package/dist/{PdfViewer-CMsX7rCn.js → PdfViewer-Pdk37Dts.js} +4 -4
- package/dist/{SheetViewer-CQpNmizK.js → SheetViewer-BvAA9h38.js} +2 -2
- package/dist/{TextViewer-w65gdt5z.js → TextViewer-D9CCbblP.js} +1 -1
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +3 -3
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +48 -7
- package/dist/experimental.js +5060 -4856
- package/dist/{exports-BGemf1WM.d.ts → exports-4R3tYgiD.d.ts} +9 -1
- package/dist/f0.d.ts +4 -4
- package/dist/f0.js +171 -171
- package/dist/{highlight-D-PODccV.js → highlight-cuPZlWw_.js} +5 -5
- package/dist/{index-BkCnaiJG.d.ts → index-MOV0Rv_v.d.ts} +857 -845
- package/dist/{maplibre-B7vlGgUT.js → maplibre-D0TBtDi0.js} +1 -1
- package/dist/{pdfWorker-C-Auu3EX.js → pdfWorker-B3PnBrSO.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-C2gKTwyT.d.ts → types-BdObZULx.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/F0AudioPlayer-BAEmgv7O.js +0 -2
- package/dist/F0VideoPlayer-Ik-2vnL4.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as e, jt as t, zt as n } from "./F0CanvasPanel-B07KPl9L.js";
|
|
2
2
|
import { t as r } from "./purify.es-ZpfdAuNV.js";
|
|
3
3
|
import { t as i } from "./ownValue-D4uSXt0d.js";
|
|
4
4
|
//#region src/addons/documents/lib/codeLanguages.ts
|
|
@@ -15,11 +15,11 @@ var a = {
|
|
|
15
15
|
svg: "xml",
|
|
16
16
|
env: "bash"
|
|
17
17
|
}, o = (t) => e.includes(t), s = (e) => {
|
|
18
|
-
let
|
|
19
|
-
return
|
|
18
|
+
let t = e?.trim().toLowerCase();
|
|
19
|
+
return t ? o(t) ? t : i(n, t) ?? i(a, t) ?? null : null;
|
|
20
20
|
}, c = (e) => {
|
|
21
|
-
let
|
|
22
|
-
return
|
|
21
|
+
let n = e?.split(/[\\/]/).pop()?.trim();
|
|
22
|
+
return n ? t({ name: n }) : null;
|
|
23
23
|
}, l = {
|
|
24
24
|
bash: () => import("./bash-BcZBmoDA.js"),
|
|
25
25
|
c: () => import("./c-Dv-5_kUQ.js"),
|