@superdoc-dev/cli 0.7.0-next.4 → 0.7.0-next.5
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/index.js +99 -49
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -204289,7 +204289,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
204289
204289
|
init_remark_gfm_BhnWr3yf_es();
|
|
204290
204290
|
});
|
|
204291
204291
|
|
|
204292
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
204292
|
+
// ../../packages/superdoc/dist/chunks/src-Bf2Vgwaf.es.js
|
|
204293
204293
|
function deleteProps(obj, propOrProps) {
|
|
204294
204294
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
204295
204295
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -245440,6 +245440,18 @@ function classifyMathText(text5) {
|
|
|
245440
245440
|
return "mo";
|
|
245441
245441
|
return "mi";
|
|
245442
245442
|
}
|
|
245443
|
+
function resolveMathVariant(rPr) {
|
|
245444
|
+
const elements = rPr?.elements ?? [];
|
|
245445
|
+
const sty = elements.find((el) => el.name === "m:sty")?.attributes?.["m:val"];
|
|
245446
|
+
if (sty && STY_TO_VARIANT[sty])
|
|
245447
|
+
return STY_TO_VARIANT[sty];
|
|
245448
|
+
const scr = elements.find((el) => el.name === "m:scr")?.attributes?.["m:val"];
|
|
245449
|
+
if (scr && SCR_TO_VARIANT[scr])
|
|
245450
|
+
return SCR_TO_VARIANT[scr];
|
|
245451
|
+
if (elements.some((el) => el.name === "m:nor"))
|
|
245452
|
+
return "normal";
|
|
245453
|
+
return null;
|
|
245454
|
+
}
|
|
245443
245455
|
function forceNormalMathVariant(root3) {
|
|
245444
245456
|
root3.querySelectorAll("mi").forEach((identifier) => {
|
|
245445
245457
|
identifier.setAttribute("mathvariant", "normal");
|
|
@@ -277181,7 +277193,7 @@ var Node$13 = class Node$14 {
|
|
|
277181
277193
|
}
|
|
277182
277194
|
element3.style.textAlign = resolveTextAlign(attrs?.alignment, rtl);
|
|
277183
277195
|
return rtl;
|
|
277184
|
-
}, shouldUseSegmentPositioning = (hasExplicitPositioning, hasSegments, isRtl) => hasExplicitPositioning && hasSegments && !isRtl, MATHML_NS$
|
|
277196
|
+
}, shouldUseSegmentPositioning = (hasExplicitPositioning, hasSegments, isRtl) => hasExplicitPositioning && hasSegments && !isRtl, MATHML_NS$11 = "http://www.w3.org/1998/Math/MathML", OPERATOR_CHARS, STY_TO_VARIANT, SCR_TO_VARIANT, convertMathRun = (node3, doc$12) => {
|
|
277185
277197
|
const elements = node3.elements ?? [];
|
|
277186
277198
|
let text5 = "";
|
|
277187
277199
|
for (const child of elements)
|
|
@@ -277193,68 +277205,68 @@ var Node$13 = class Node$14 {
|
|
|
277193
277205
|
}
|
|
277194
277206
|
if (!text5)
|
|
277195
277207
|
return null;
|
|
277196
|
-
const
|
|
277208
|
+
const variant = resolveMathVariant(elements.find((el$1) => el$1.name === "m:rPr"));
|
|
277197
277209
|
const tag = classifyMathText(text5);
|
|
277198
|
-
const el = doc$12.createElementNS(MATHML_NS$
|
|
277210
|
+
const el = doc$12.createElementNS(MATHML_NS$11, tag);
|
|
277199
277211
|
el.textContent = text5;
|
|
277200
|
-
if (
|
|
277201
|
-
el.setAttribute("mathvariant",
|
|
277212
|
+
if (variant)
|
|
277213
|
+
el.setAttribute("mathvariant", variant);
|
|
277202
277214
|
return el;
|
|
277203
|
-
}, MATHML_NS$
|
|
277215
|
+
}, MATHML_NS$10 = "http://www.w3.org/1998/Math/MathML", convertFraction = (node3, doc$12, convertChildren) => {
|
|
277204
277216
|
const elements = node3.elements ?? [];
|
|
277205
277217
|
const num = elements.find((e) => e.name === "m:num");
|
|
277206
277218
|
const den = elements.find((e) => e.name === "m:den");
|
|
277207
|
-
const frac = doc$12.createElementNS(MATHML_NS$
|
|
277208
|
-
const numRow = doc$12.createElementNS(MATHML_NS$
|
|
277219
|
+
const frac = doc$12.createElementNS(MATHML_NS$10, "mfrac");
|
|
277220
|
+
const numRow = doc$12.createElementNS(MATHML_NS$10, "mrow");
|
|
277209
277221
|
numRow.appendChild(convertChildren(num?.elements ?? []));
|
|
277210
277222
|
frac.appendChild(numRow);
|
|
277211
|
-
const denRow = doc$12.createElementNS(MATHML_NS$
|
|
277223
|
+
const denRow = doc$12.createElementNS(MATHML_NS$10, "mrow");
|
|
277212
277224
|
denRow.appendChild(convertChildren(den?.elements ?? []));
|
|
277213
277225
|
frac.appendChild(denRow);
|
|
277214
277226
|
return frac;
|
|
277215
|
-
}, MATHML_NS$
|
|
277227
|
+
}, MATHML_NS$9 = "http://www.w3.org/1998/Math/MathML", convertBar = (node3, doc$12, convertChildren) => {
|
|
277216
277228
|
const elements = node3.elements ?? [];
|
|
277217
277229
|
const isUnder = elements.find((e) => e.name === "m:barPr")?.elements?.find((e) => e.name === "m:pos")?.attributes?.["m:val"] !== "top";
|
|
277218
277230
|
const base5 = elements.find((e) => e.name === "m:e");
|
|
277219
|
-
const wrapper = doc$12.createElementNS(MATHML_NS$
|
|
277231
|
+
const wrapper = doc$12.createElementNS(MATHML_NS$9, isUnder ? "munder" : "mover");
|
|
277220
277232
|
const baseContent = convertChildren(base5?.elements ?? []);
|
|
277221
|
-
const mrow = doc$12.createElementNS(MATHML_NS$
|
|
277233
|
+
const mrow = doc$12.createElementNS(MATHML_NS$9, "mrow");
|
|
277222
277234
|
mrow.appendChild(baseContent);
|
|
277223
277235
|
wrapper.appendChild(mrow);
|
|
277224
|
-
const accent = doc$12.createElementNS(MATHML_NS$
|
|
277236
|
+
const accent = doc$12.createElementNS(MATHML_NS$9, "mo");
|
|
277225
277237
|
accent.setAttribute("stretchy", "true");
|
|
277226
277238
|
accent.textContent = "‾";
|
|
277227
277239
|
wrapper.appendChild(accent);
|
|
277228
277240
|
return wrapper;
|
|
277229
|
-
}, MATHML_NS$
|
|
277241
|
+
}, MATHML_NS$8 = "http://www.w3.org/1998/Math/MathML", FUNCTION_APPLY_OPERATOR = "", convertFunction = (node3, doc$12, convertChildren) => {
|
|
277230
277242
|
const elements = node3.elements ?? [];
|
|
277231
277243
|
const functionName = elements.find((element3) => element3.name === "m:fName");
|
|
277232
277244
|
const argument = elements.find((element3) => element3.name === "m:e");
|
|
277233
|
-
const wrapper = doc$12.createElementNS(MATHML_NS$
|
|
277234
|
-
const functionNameRow = doc$12.createElementNS(MATHML_NS$
|
|
277245
|
+
const wrapper = doc$12.createElementNS(MATHML_NS$8, "mrow");
|
|
277246
|
+
const functionNameRow = doc$12.createElementNS(MATHML_NS$8, "mrow");
|
|
277235
277247
|
functionNameRow.appendChild(convertChildren(functionName?.elements ?? []));
|
|
277236
277248
|
forceNormalMathVariant(functionNameRow);
|
|
277237
277249
|
if (functionNameRow.childNodes.length > 0)
|
|
277238
277250
|
wrapper.appendChild(functionNameRow);
|
|
277239
|
-
const argumentRow = doc$12.createElementNS(MATHML_NS$
|
|
277251
|
+
const argumentRow = doc$12.createElementNS(MATHML_NS$8, "mrow");
|
|
277240
277252
|
argumentRow.appendChild(convertChildren(argument?.elements ?? []));
|
|
277241
277253
|
if (functionNameRow.childNodes.length > 0 && argumentRow.childNodes.length > 0) {
|
|
277242
|
-
const applyOperator = doc$12.createElementNS(MATHML_NS$
|
|
277254
|
+
const applyOperator = doc$12.createElementNS(MATHML_NS$8, "mo");
|
|
277243
277255
|
applyOperator.textContent = FUNCTION_APPLY_OPERATOR;
|
|
277244
277256
|
wrapper.appendChild(applyOperator);
|
|
277245
277257
|
}
|
|
277246
277258
|
if (argumentRow.childNodes.length > 0)
|
|
277247
277259
|
wrapper.appendChild(argumentRow);
|
|
277248
277260
|
return wrapper.childNodes.length > 0 ? wrapper : null;
|
|
277249
|
-
}, MATHML_NS$
|
|
277261
|
+
}, MATHML_NS$7 = "http://www.w3.org/1998/Math/MathML", DEFAULT_BEGIN_DELIMITER = "(", DEFAULT_END_DELIMITER = ")", DEFAULT_SEPARATOR_DELIMITER = "│", convertDelimiter = (node3, doc$12, convertChildren) => {
|
|
277250
277262
|
const elements = node3.elements ?? [];
|
|
277251
277263
|
const delimiterProps = elements.find((element3) => element3.name === "m:dPr");
|
|
277252
277264
|
const expressions = elements.filter((element3) => element3.name === "m:e");
|
|
277253
277265
|
const beginDelimiter = getDelimiterValue(delimiterProps, "m:begChr", DEFAULT_BEGIN_DELIMITER);
|
|
277254
277266
|
const endDelimiter = getDelimiterValue(delimiterProps, "m:endChr", DEFAULT_END_DELIMITER);
|
|
277255
277267
|
const separatorDelimiter = getDelimiterValue(delimiterProps, "m:sepChr", DEFAULT_SEPARATOR_DELIMITER);
|
|
277256
|
-
const wrapper = doc$12.createElementNS(MATHML_NS$
|
|
277257
|
-
const begin = doc$12.createElementNS(MATHML_NS$
|
|
277268
|
+
const wrapper = doc$12.createElementNS(MATHML_NS$7, "mrow");
|
|
277269
|
+
const begin = doc$12.createElementNS(MATHML_NS$7, "mo");
|
|
277258
277270
|
begin.textContent = beginDelimiter;
|
|
277259
277271
|
wrapper.appendChild(begin);
|
|
277260
277272
|
let renderedCount = 0;
|
|
@@ -277263,60 +277275,60 @@ var Node$13 = class Node$14 {
|
|
|
277263
277275
|
if (fragment2.childNodes.length === 0)
|
|
277264
277276
|
continue;
|
|
277265
277277
|
if (renderedCount > 0) {
|
|
277266
|
-
const separator = doc$12.createElementNS(MATHML_NS$
|
|
277278
|
+
const separator = doc$12.createElementNS(MATHML_NS$7, "mo");
|
|
277267
277279
|
separator.textContent = separatorDelimiter;
|
|
277268
277280
|
wrapper.appendChild(separator);
|
|
277269
277281
|
}
|
|
277270
|
-
const group = doc$12.createElementNS(MATHML_NS$
|
|
277282
|
+
const group = doc$12.createElementNS(MATHML_NS$7, "mrow");
|
|
277271
277283
|
group.appendChild(fragment2);
|
|
277272
277284
|
wrapper.appendChild(group);
|
|
277273
277285
|
renderedCount++;
|
|
277274
277286
|
}
|
|
277275
|
-
const end$1 = doc$12.createElementNS(MATHML_NS$
|
|
277287
|
+
const end$1 = doc$12.createElementNS(MATHML_NS$7, "mo");
|
|
277276
277288
|
end$1.textContent = endDelimiter;
|
|
277277
277289
|
wrapper.appendChild(end$1);
|
|
277278
277290
|
return wrapper;
|
|
277279
|
-
}, MATHML_NS$
|
|
277291
|
+
}, MATHML_NS$6 = "http://www.w3.org/1998/Math/MathML", convertSubscript = (node3, doc$12, convertChildren) => {
|
|
277280
277292
|
const elements = node3.elements ?? [];
|
|
277281
277293
|
const base5 = elements.find((e) => e.name === "m:e");
|
|
277282
277294
|
const sub = elements.find((e) => e.name === "m:sub");
|
|
277283
|
-
const msub = doc$12.createElementNS(MATHML_NS$
|
|
277284
|
-
const baseRow = doc$12.createElementNS(MATHML_NS$
|
|
277295
|
+
const msub = doc$12.createElementNS(MATHML_NS$6, "msub");
|
|
277296
|
+
const baseRow = doc$12.createElementNS(MATHML_NS$6, "mrow");
|
|
277285
277297
|
baseRow.appendChild(convertChildren(base5?.elements ?? []));
|
|
277286
277298
|
msub.appendChild(baseRow);
|
|
277287
|
-
const subRow = doc$12.createElementNS(MATHML_NS$
|
|
277299
|
+
const subRow = doc$12.createElementNS(MATHML_NS$6, "mrow");
|
|
277288
277300
|
subRow.appendChild(convertChildren(sub?.elements ?? []));
|
|
277289
277301
|
msub.appendChild(subRow);
|
|
277290
277302
|
return msub;
|
|
277291
|
-
}, MATHML_NS$
|
|
277303
|
+
}, MATHML_NS$5 = "http://www.w3.org/1998/Math/MathML", convertSuperscript = (node3, doc$12, convertChildren) => {
|
|
277292
277304
|
const elements = node3.elements ?? [];
|
|
277293
277305
|
const base5 = elements.find((e) => e.name === "m:e");
|
|
277294
277306
|
const sup = elements.find((e) => e.name === "m:sup");
|
|
277295
|
-
const msup = doc$12.createElementNS(MATHML_NS$
|
|
277296
|
-
const baseRow = doc$12.createElementNS(MATHML_NS$
|
|
277307
|
+
const msup = doc$12.createElementNS(MATHML_NS$5, "msup");
|
|
277308
|
+
const baseRow = doc$12.createElementNS(MATHML_NS$5, "mrow");
|
|
277297
277309
|
baseRow.appendChild(convertChildren(base5?.elements ?? []));
|
|
277298
277310
|
msup.appendChild(baseRow);
|
|
277299
|
-
const supRow = doc$12.createElementNS(MATHML_NS$
|
|
277311
|
+
const supRow = doc$12.createElementNS(MATHML_NS$5, "mrow");
|
|
277300
277312
|
supRow.appendChild(convertChildren(sup?.elements ?? []));
|
|
277301
277313
|
msup.appendChild(supRow);
|
|
277302
277314
|
return msup;
|
|
277303
|
-
}, MATHML_NS$
|
|
277315
|
+
}, MATHML_NS$4 = "http://www.w3.org/1998/Math/MathML", convertSubSuperscript = (node3, doc$12, convertChildren) => {
|
|
277304
277316
|
const elements = node3.elements ?? [];
|
|
277305
277317
|
const base5 = elements.find((e) => e.name === "m:e");
|
|
277306
277318
|
const sub = elements.find((e) => e.name === "m:sub");
|
|
277307
277319
|
const sup = elements.find((e) => e.name === "m:sup");
|
|
277308
|
-
const msubsup = doc$12.createElementNS(MATHML_NS$
|
|
277309
|
-
const baseRow = doc$12.createElementNS(MATHML_NS$
|
|
277320
|
+
const msubsup = doc$12.createElementNS(MATHML_NS$4, "msubsup");
|
|
277321
|
+
const baseRow = doc$12.createElementNS(MATHML_NS$4, "mrow");
|
|
277310
277322
|
baseRow.appendChild(convertChildren(base5?.elements ?? []));
|
|
277311
277323
|
msubsup.appendChild(baseRow);
|
|
277312
|
-
const subRow = doc$12.createElementNS(MATHML_NS$
|
|
277324
|
+
const subRow = doc$12.createElementNS(MATHML_NS$4, "mrow");
|
|
277313
277325
|
subRow.appendChild(convertChildren(sub?.elements ?? []));
|
|
277314
277326
|
msubsup.appendChild(subRow);
|
|
277315
|
-
const supRow = doc$12.createElementNS(MATHML_NS$
|
|
277327
|
+
const supRow = doc$12.createElementNS(MATHML_NS$4, "mrow");
|
|
277316
277328
|
supRow.appendChild(convertChildren(sup?.elements ?? []));
|
|
277317
277329
|
msubsup.appendChild(supRow);
|
|
277318
277330
|
return msubsup;
|
|
277319
|
-
}, MATHML_NS$
|
|
277331
|
+
}, MATHML_NS$3 = "http://www.w3.org/1998/Math/MathML", convertRadical = (node3, doc$12, convertChildren) => {
|
|
277320
277332
|
const elements = node3.elements ?? [];
|
|
277321
277333
|
const radPr = elements.find((e) => e.name === "m:radPr");
|
|
277322
277334
|
const deg = elements.find((e) => e.name === "m:deg");
|
|
@@ -277324,20 +277336,44 @@ var Node$13 = class Node$14 {
|
|
|
277324
277336
|
const degHideEl = radPr?.elements?.find((e) => e.name === "m:degHide");
|
|
277325
277337
|
const degHideVal = degHideEl?.attributes?.["m:val"];
|
|
277326
277338
|
if (degHideEl !== undefined && degHideVal !== "0" && degHideVal !== "false" && degHideVal !== "off" || !deg || (deg.elements ?? []).length === 0) {
|
|
277327
|
-
const msqrt = doc$12.createElementNS(MATHML_NS$
|
|
277328
|
-
const radicandRow$1 = doc$12.createElementNS(MATHML_NS$
|
|
277339
|
+
const msqrt = doc$12.createElementNS(MATHML_NS$3, "msqrt");
|
|
277340
|
+
const radicandRow$1 = doc$12.createElementNS(MATHML_NS$3, "mrow");
|
|
277329
277341
|
radicandRow$1.appendChild(convertChildren(radicand?.elements ?? []));
|
|
277330
277342
|
msqrt.appendChild(radicandRow$1);
|
|
277331
277343
|
return msqrt;
|
|
277332
277344
|
}
|
|
277333
|
-
const mroot = doc$12.createElementNS(MATHML_NS$
|
|
277334
|
-
const radicandRow = doc$12.createElementNS(MATHML_NS$
|
|
277345
|
+
const mroot = doc$12.createElementNS(MATHML_NS$3, "mroot");
|
|
277346
|
+
const radicandRow = doc$12.createElementNS(MATHML_NS$3, "mrow");
|
|
277335
277347
|
radicandRow.appendChild(convertChildren(radicand?.elements ?? []));
|
|
277336
277348
|
mroot.appendChild(radicandRow);
|
|
277337
|
-
const degRow = doc$12.createElementNS(MATHML_NS$
|
|
277349
|
+
const degRow = doc$12.createElementNS(MATHML_NS$3, "mrow");
|
|
277338
277350
|
degRow.appendChild(convertChildren(deg?.elements ?? []));
|
|
277339
277351
|
mroot.appendChild(degRow);
|
|
277340
277352
|
return mroot;
|
|
277353
|
+
}, MATHML_NS$2 = "http://www.w3.org/1998/Math/MathML", convertLowerLimit = (node3, doc$12, convertChildren) => {
|
|
277354
|
+
const elements = node3.elements ?? [];
|
|
277355
|
+
const base5 = elements.find((e) => e.name === "m:e");
|
|
277356
|
+
const lim = elements.find((e) => e.name === "m:lim");
|
|
277357
|
+
const munder = doc$12.createElementNS(MATHML_NS$2, "munder");
|
|
277358
|
+
const baseRow = doc$12.createElementNS(MATHML_NS$2, "mrow");
|
|
277359
|
+
baseRow.appendChild(convertChildren(base5?.elements ?? []));
|
|
277360
|
+
munder.appendChild(baseRow);
|
|
277361
|
+
const limRow = doc$12.createElementNS(MATHML_NS$2, "mrow");
|
|
277362
|
+
limRow.appendChild(convertChildren(lim?.elements ?? []));
|
|
277363
|
+
munder.appendChild(limRow);
|
|
277364
|
+
return munder;
|
|
277365
|
+
}, MATHML_NS$1 = "http://www.w3.org/1998/Math/MathML", convertUpperLimit = (node3, doc$12, convertChildren) => {
|
|
277366
|
+
const elements = node3.elements ?? [];
|
|
277367
|
+
const base5 = elements.find((e) => e.name === "m:e");
|
|
277368
|
+
const lim = elements.find((e) => e.name === "m:lim");
|
|
277369
|
+
const mover = doc$12.createElementNS(MATHML_NS$1, "mover");
|
|
277370
|
+
const baseRow = doc$12.createElementNS(MATHML_NS$1, "mrow");
|
|
277371
|
+
baseRow.appendChild(convertChildren(base5?.elements ?? []));
|
|
277372
|
+
mover.appendChild(baseRow);
|
|
277373
|
+
const limRow = doc$12.createElementNS(MATHML_NS$1, "mrow");
|
|
277374
|
+
limRow.appendChild(convertChildren(lim?.elements ?? []));
|
|
277375
|
+
mover.appendChild(limRow);
|
|
277376
|
+
return mover;
|
|
277341
277377
|
}, MATHML_NS = "http://www.w3.org/1998/Math/MathML", MATH_OBJECT_REGISTRY, ARGUMENT_ELEMENTS, LIST_MARKER_GAP$1 = 8, DEFAULT_PAGE_HEIGHT_PX = 1056, DEFAULT_VIRTUALIZED_PAGE_GAP = 72, LINK_DATASET_KEYS, MAX_HREF_LENGTH = 2048, SAFE_ANCHOR_PATTERN, MAX_DATA_URL_LENGTH, VALID_IMAGE_DATA_URL, MAX_RESIZE_MULTIPLIER = 3, FALLBACK_MAX_DIMENSION = 1000, MIN_IMAGE_DIMENSION = 20, AMBIGUOUS_LINK_PATTERNS, linkMetrics, TRACK_CHANGE_BASE_CLASS, TRACK_CHANGE_MODIFIER_CLASS, LINK_TARGET_SET, normalizeAnchor$1 = (value) => {
|
|
277342
277378
|
if (typeof value !== "string")
|
|
277343
277379
|
return null;
|
|
@@ -287453,7 +287489,7 @@ var Node$13 = class Node$14 {
|
|
|
287453
287489
|
return;
|
|
287454
287490
|
console.log(...args$1);
|
|
287455
287491
|
}, HEADER_FOOTER_INIT_BUDGET_MS = 200, MAX_ZOOM_WARNING_THRESHOLD = 10, MAX_SELECTION_RECTS_PER_USER = 100, SEMANTIC_RESIZE_DEBOUNCE_MS = 120, MIN_SEMANTIC_CONTENT_WIDTH_PX = 1, GLOBAL_PERFORMANCE, PresentationEditor, ICONS, TEXTS, tableActionsOptions;
|
|
287456
|
-
var
|
|
287492
|
+
var init_src_Bf2Vgwaf_es = __esm(() => {
|
|
287457
287493
|
init_rolldown_runtime_Bg48TavK_es();
|
|
287458
287494
|
init_SuperConverter_H0ERuAZY_es();
|
|
287459
287495
|
init_jszip_C49i9kUs_es();
|
|
@@ -313191,12 +313227,29 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
313191
313227
|
"⊆",
|
|
313192
313228
|
"⊇"
|
|
313193
313229
|
]);
|
|
313230
|
+
STY_TO_VARIANT = {
|
|
313231
|
+
p: "normal",
|
|
313232
|
+
b: "bold",
|
|
313233
|
+
i: "italic",
|
|
313234
|
+
bi: "bold-italic"
|
|
313235
|
+
};
|
|
313236
|
+
SCR_TO_VARIANT = {
|
|
313237
|
+
roman: "normal",
|
|
313238
|
+
script: "script",
|
|
313239
|
+
fraktur: "fraktur",
|
|
313240
|
+
"double-struck": "double-struck",
|
|
313241
|
+
"sans-serif": "sans-serif",
|
|
313242
|
+
monospace: "monospace"
|
|
313243
|
+
};
|
|
313194
313244
|
MATH_OBJECT_REGISTRY = {
|
|
313195
313245
|
"m:r": convertMathRun,
|
|
313196
313246
|
"m:bar": convertBar,
|
|
313197
313247
|
"m:d": convertDelimiter,
|
|
313198
313248
|
"m:f": convertFraction,
|
|
313199
313249
|
"m:func": convertFunction,
|
|
313250
|
+
"m:limLow": convertLowerLimit,
|
|
313251
|
+
"m:limUpp": convertUpperLimit,
|
|
313252
|
+
"m:rad": convertRadical,
|
|
313200
313253
|
"m:sSub": convertSubscript,
|
|
313201
313254
|
"m:sSup": convertSuperscript,
|
|
313202
313255
|
"m:sSubSup": convertSubSuperscript,
|
|
@@ -313205,12 +313258,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
313205
313258
|
"m:box": null,
|
|
313206
313259
|
"m:eqArr": null,
|
|
313207
313260
|
"m:groupChr": null,
|
|
313208
|
-
"m:limLow": null,
|
|
313209
|
-
"m:limUpp": null,
|
|
313210
313261
|
"m:m": null,
|
|
313211
313262
|
"m:nary": null,
|
|
313212
313263
|
"m:phant": null,
|
|
313213
|
-
"m:rad": convertRadical,
|
|
313214
313264
|
"m:sPre": null
|
|
313215
313265
|
};
|
|
313216
313266
|
ARGUMENT_ELEMENTS = new Set([
|
|
@@ -322182,7 +322232,7 @@ var init_zipper_DbkgrypV_es = __esm(() => {
|
|
|
322182
322232
|
|
|
322183
322233
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
322184
322234
|
var init_super_editor_es = __esm(() => {
|
|
322185
|
-
|
|
322235
|
+
init_src_Bf2Vgwaf_es();
|
|
322186
322236
|
init_SuperConverter_H0ERuAZY_es();
|
|
322187
322237
|
init_jszip_C49i9kUs_es();
|
|
322188
322238
|
init_xml_js_CqGKpaft_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.7.0-next.
|
|
3
|
+
"version": "0.7.0-next.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@superdoc-dev/cli-darwin-arm64": "0.7.0-next.
|
|
38
|
-
"@superdoc-dev/cli-
|
|
39
|
-
"@superdoc-dev/cli-
|
|
40
|
-
"@superdoc-dev/cli-
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.7.0-next.5",
|
|
38
|
+
"@superdoc-dev/cli-linux-x64": "0.7.0-next.5",
|
|
39
|
+
"@superdoc-dev/cli-darwin-x64": "0.7.0-next.5",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.7.0-next.5",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.7.0-next.5"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|