@blocknote/xl-docx-exporter 0.23.3 → 0.23.4
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UnreachableCaseError as b, Exporter as x, COLORS_DEFAULT as D } from "@blocknote/core";
|
|
2
2
|
import { Table as B, TableRow as T, TableCell as C, Paragraph as i, CheckBox as O, TextRun as u, ShadingType as w, PageBreak as A, ImageRun as S, ExternalHyperlink as y, Tab as E, LevelFormat as h, AlignmentType as m, Packer as I, Document as _ } from "docx";
|
|
3
|
-
var v = { BASE_URL: "/", MODE: "production", DEV: !
|
|
3
|
+
var v = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
4
4
|
async function F(t) {
|
|
5
5
|
if (typeof window < "u" && v.NODE_ENV !== "test") {
|
|
6
6
|
const e = await createImageBitmap(t), { width: n, height: r } = e;
|
|
@@ -228,7 +228,7 @@ const R = {
|
|
|
228
228
|
async function U(t) {
|
|
229
229
|
return "https://corsproxy.api.blocknotejs.org/corsproxy/?url=" + encodeURIComponent(t);
|
|
230
230
|
}
|
|
231
|
-
var P = { BASE_URL: "/", MODE: "production", DEV: !
|
|
231
|
+
var P = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
232
232
|
async function g(t) {
|
|
233
233
|
if (P.NODE_ENV === "test") {
|
|
234
234
|
const e = require("fs");
|