@superdoc-dev/cli 0.7.0-next.4 → 0.7.0-next.6

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.
Files changed (2) hide show
  1. package/dist/index.js +118 -51
  2. package/package.json +8 -8
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-DtoTLJe0.es.js
204292
+ // ../../packages/superdoc/dist/chunks/src-yvw_tH1l.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$9 = "http://www.w3.org/1998/Math/MathML", OPERATOR_CHARS, convertMathRun = (node3, doc$12) => {
277196
+ }, shouldUseSegmentPositioning = (hasExplicitPositioning, hasSegments, isRtl) => hasExplicitPositioning && hasSegments && !isRtl, MATHML_NS$12 = "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 isNormalText = elements.find((el$1) => el$1.name === "m:rPr")?.elements?.some((el$1) => el$1.name === "m:nor") ?? false;
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$9, tag);
277210
+ const el = doc$12.createElementNS(MATHML_NS$12, tag);
277199
277211
  el.textContent = text5;
277200
- if (tag === "mi" && isNormalText)
277201
- el.setAttribute("mathvariant", "normal");
277212
+ if (variant)
277213
+ el.setAttribute("mathvariant", variant);
277202
277214
  return el;
277203
- }, MATHML_NS$8 = "http://www.w3.org/1998/Math/MathML", convertFraction = (node3, doc$12, convertChildren) => {
277215
+ }, MATHML_NS$11 = "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$8, "mfrac");
277208
- const numRow = doc$12.createElementNS(MATHML_NS$8, "mrow");
277219
+ const frac = doc$12.createElementNS(MATHML_NS$11, "mfrac");
277220
+ const numRow = doc$12.createElementNS(MATHML_NS$11, "mrow");
277209
277221
  numRow.appendChild(convertChildren(num?.elements ?? []));
277210
277222
  frac.appendChild(numRow);
277211
- const denRow = doc$12.createElementNS(MATHML_NS$8, "mrow");
277223
+ const denRow = doc$12.createElementNS(MATHML_NS$11, "mrow");
277212
277224
  denRow.appendChild(convertChildren(den?.elements ?? []));
277213
277225
  frac.appendChild(denRow);
277214
277226
  return frac;
277215
- }, MATHML_NS$7 = "http://www.w3.org/1998/Math/MathML", convertBar = (node3, doc$12, convertChildren) => {
277227
+ }, MATHML_NS$10 = "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$7, isUnder ? "munder" : "mover");
277231
+ const wrapper = doc$12.createElementNS(MATHML_NS$10, isUnder ? "munder" : "mover");
277220
277232
  const baseContent = convertChildren(base5?.elements ?? []);
277221
- const mrow = doc$12.createElementNS(MATHML_NS$7, "mrow");
277233
+ const mrow = doc$12.createElementNS(MATHML_NS$10, "mrow");
277222
277234
  mrow.appendChild(baseContent);
277223
277235
  wrapper.appendChild(mrow);
277224
- const accent = doc$12.createElementNS(MATHML_NS$7, "mo");
277236
+ const accent = doc$12.createElementNS(MATHML_NS$10, "mo");
277225
277237
  accent.setAttribute("stretchy", "true");
277226
277238
  accent.textContent = "‾";
277227
277239
  wrapper.appendChild(accent);
277228
277240
  return wrapper;
277229
- }, MATHML_NS$6 = "http://www.w3.org/1998/Math/MathML", FUNCTION_APPLY_OPERATOR = "⁡", convertFunction = (node3, doc$12, convertChildren) => {
277241
+ }, MATHML_NS$9 = "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$6, "mrow");
277234
- const functionNameRow = doc$12.createElementNS(MATHML_NS$6, "mrow");
277245
+ const wrapper = doc$12.createElementNS(MATHML_NS$9, "mrow");
277246
+ const functionNameRow = doc$12.createElementNS(MATHML_NS$9, "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$6, "mrow");
277251
+ const argumentRow = doc$12.createElementNS(MATHML_NS$9, "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$6, "mo");
277254
+ const applyOperator = doc$12.createElementNS(MATHML_NS$9, "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$5 = "http://www.w3.org/1998/Math/MathML", DEFAULT_BEGIN_DELIMITER = "(", DEFAULT_END_DELIMITER = ")", DEFAULT_SEPARATOR_DELIMITER = "│", convertDelimiter = (node3, doc$12, convertChildren) => {
277261
+ }, MATHML_NS$8 = "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$5, "mrow");
277257
- const begin = doc$12.createElementNS(MATHML_NS$5, "mo");
277268
+ const wrapper = doc$12.createElementNS(MATHML_NS$8, "mrow");
277269
+ const begin = doc$12.createElementNS(MATHML_NS$8, "mo");
277258
277270
  begin.textContent = beginDelimiter;
277259
277271
  wrapper.appendChild(begin);
277260
277272
  let renderedCount = 0;
@@ -277263,60 +277275,77 @@ 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$5, "mo");
277278
+ const separator = doc$12.createElementNS(MATHML_NS$8, "mo");
277267
277279
  separator.textContent = separatorDelimiter;
277268
277280
  wrapper.appendChild(separator);
277269
277281
  }
277270
- const group = doc$12.createElementNS(MATHML_NS$5, "mrow");
277282
+ const group = doc$12.createElementNS(MATHML_NS$8, "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$5, "mo");
277287
+ const end$1 = doc$12.createElementNS(MATHML_NS$8, "mo");
277276
277288
  end$1.textContent = endDelimiter;
277277
277289
  wrapper.appendChild(end$1);
277278
277290
  return wrapper;
277279
- }, MATHML_NS$4 = "http://www.w3.org/1998/Math/MathML", convertSubscript = (node3, doc$12, convertChildren) => {
277291
+ }, MATHML_NS$7 = "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$4, "msub");
277284
- const baseRow = doc$12.createElementNS(MATHML_NS$4, "mrow");
277295
+ const msub = doc$12.createElementNS(MATHML_NS$7, "msub");
277296
+ const baseRow = doc$12.createElementNS(MATHML_NS$7, "mrow");
277285
277297
  baseRow.appendChild(convertChildren(base5?.elements ?? []));
277286
277298
  msub.appendChild(baseRow);
277287
- const subRow = doc$12.createElementNS(MATHML_NS$4, "mrow");
277299
+ const subRow = doc$12.createElementNS(MATHML_NS$7, "mrow");
277288
277300
  subRow.appendChild(convertChildren(sub?.elements ?? []));
277289
277301
  msub.appendChild(subRow);
277290
277302
  return msub;
277291
- }, MATHML_NS$3 = "http://www.w3.org/1998/Math/MathML", convertSuperscript = (node3, doc$12, convertChildren) => {
277303
+ }, MATHML_NS$6 = "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$3, "msup");
277296
- const baseRow = doc$12.createElementNS(MATHML_NS$3, "mrow");
277307
+ const msup = doc$12.createElementNS(MATHML_NS$6, "msup");
277308
+ const baseRow = doc$12.createElementNS(MATHML_NS$6, "mrow");
277297
277309
  baseRow.appendChild(convertChildren(base5?.elements ?? []));
277298
277310
  msup.appendChild(baseRow);
277299
- const supRow = doc$12.createElementNS(MATHML_NS$3, "mrow");
277311
+ const supRow = doc$12.createElementNS(MATHML_NS$6, "mrow");
277300
277312
  supRow.appendChild(convertChildren(sup?.elements ?? []));
277301
277313
  msup.appendChild(supRow);
277302
277314
  return msup;
277303
- }, MATHML_NS$2 = "http://www.w3.org/1998/Math/MathML", convertSubSuperscript = (node3, doc$12, convertChildren) => {
277315
+ }, MATHML_NS$5 = "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$2, "msubsup");
277309
- const baseRow = doc$12.createElementNS(MATHML_NS$2, "mrow");
277320
+ const msubsup = doc$12.createElementNS(MATHML_NS$5, "msubsup");
277321
+ const baseRow = doc$12.createElementNS(MATHML_NS$5, "mrow");
277310
277322
  baseRow.appendChild(convertChildren(base5?.elements ?? []));
277311
277323
  msubsup.appendChild(baseRow);
277312
- const subRow = doc$12.createElementNS(MATHML_NS$2, "mrow");
277324
+ const subRow = doc$12.createElementNS(MATHML_NS$5, "mrow");
277313
277325
  subRow.appendChild(convertChildren(sub?.elements ?? []));
277314
277326
  msubsup.appendChild(subRow);
277315
- const supRow = doc$12.createElementNS(MATHML_NS$2, "mrow");
277327
+ const supRow = doc$12.createElementNS(MATHML_NS$5, "mrow");
277316
277328
  supRow.appendChild(convertChildren(sup?.elements ?? []));
277317
277329
  msubsup.appendChild(supRow);
277318
277330
  return msubsup;
277319
- }, MATHML_NS$1 = "http://www.w3.org/1998/Math/MathML", convertRadical = (node3, doc$12, convertChildren) => {
277331
+ }, MATHML_NS$4 = "http://www.w3.org/1998/Math/MathML", convertPreSubSuperscript = (node3, doc$12, convertChildren) => {
277332
+ const elements = node3.elements ?? [];
277333
+ const base5 = elements.find((e) => e.name === "m:e");
277334
+ const sub = elements.find((e) => e.name === "m:sub");
277335
+ const sup = elements.find((e) => e.name === "m:sup");
277336
+ const mmultiscripts = doc$12.createElementNS(MATHML_NS$4, "mmultiscripts");
277337
+ const baseRow = doc$12.createElementNS(MATHML_NS$4, "mrow");
277338
+ baseRow.appendChild(convertChildren(base5?.elements ?? []));
277339
+ mmultiscripts.appendChild(baseRow);
277340
+ mmultiscripts.appendChild(doc$12.createElementNS(MATHML_NS$4, "mprescripts"));
277341
+ const subRow = doc$12.createElementNS(MATHML_NS$4, "mrow");
277342
+ subRow.appendChild(convertChildren(sub?.elements ?? []));
277343
+ mmultiscripts.appendChild(subRow);
277344
+ const supRow = doc$12.createElementNS(MATHML_NS$4, "mrow");
277345
+ supRow.appendChild(convertChildren(sup?.elements ?? []));
277346
+ mmultiscripts.appendChild(supRow);
277347
+ return mmultiscripts;
277348
+ }, MATHML_NS$3 = "http://www.w3.org/1998/Math/MathML", convertRadical = (node3, doc$12, convertChildren) => {
277320
277349
  const elements = node3.elements ?? [];
277321
277350
  const radPr = elements.find((e) => e.name === "m:radPr");
277322
277351
  const deg = elements.find((e) => e.name === "m:deg");
@@ -277324,20 +277353,44 @@ var Node$13 = class Node$14 {
277324
277353
  const degHideEl = radPr?.elements?.find((e) => e.name === "m:degHide");
277325
277354
  const degHideVal = degHideEl?.attributes?.["m:val"];
277326
277355
  if (degHideEl !== undefined && degHideVal !== "0" && degHideVal !== "false" && degHideVal !== "off" || !deg || (deg.elements ?? []).length === 0) {
277327
- const msqrt = doc$12.createElementNS(MATHML_NS$1, "msqrt");
277328
- const radicandRow$1 = doc$12.createElementNS(MATHML_NS$1, "mrow");
277356
+ const msqrt = doc$12.createElementNS(MATHML_NS$3, "msqrt");
277357
+ const radicandRow$1 = doc$12.createElementNS(MATHML_NS$3, "mrow");
277329
277358
  radicandRow$1.appendChild(convertChildren(radicand?.elements ?? []));
277330
277359
  msqrt.appendChild(radicandRow$1);
277331
277360
  return msqrt;
277332
277361
  }
277333
- const mroot = doc$12.createElementNS(MATHML_NS$1, "mroot");
277334
- const radicandRow = doc$12.createElementNS(MATHML_NS$1, "mrow");
277362
+ const mroot = doc$12.createElementNS(MATHML_NS$3, "mroot");
277363
+ const radicandRow = doc$12.createElementNS(MATHML_NS$3, "mrow");
277335
277364
  radicandRow.appendChild(convertChildren(radicand?.elements ?? []));
277336
277365
  mroot.appendChild(radicandRow);
277337
- const degRow = doc$12.createElementNS(MATHML_NS$1, "mrow");
277366
+ const degRow = doc$12.createElementNS(MATHML_NS$3, "mrow");
277338
277367
  degRow.appendChild(convertChildren(deg?.elements ?? []));
277339
277368
  mroot.appendChild(degRow);
277340
277369
  return mroot;
277370
+ }, MATHML_NS$2 = "http://www.w3.org/1998/Math/MathML", convertLowerLimit = (node3, doc$12, convertChildren) => {
277371
+ const elements = node3.elements ?? [];
277372
+ const base5 = elements.find((e) => e.name === "m:e");
277373
+ const lim = elements.find((e) => e.name === "m:lim");
277374
+ const munder = doc$12.createElementNS(MATHML_NS$2, "munder");
277375
+ const baseRow = doc$12.createElementNS(MATHML_NS$2, "mrow");
277376
+ baseRow.appendChild(convertChildren(base5?.elements ?? []));
277377
+ munder.appendChild(baseRow);
277378
+ const limRow = doc$12.createElementNS(MATHML_NS$2, "mrow");
277379
+ limRow.appendChild(convertChildren(lim?.elements ?? []));
277380
+ munder.appendChild(limRow);
277381
+ return munder;
277382
+ }, MATHML_NS$1 = "http://www.w3.org/1998/Math/MathML", convertUpperLimit = (node3, doc$12, convertChildren) => {
277383
+ const elements = node3.elements ?? [];
277384
+ const base5 = elements.find((e) => e.name === "m:e");
277385
+ const lim = elements.find((e) => e.name === "m:lim");
277386
+ const mover = doc$12.createElementNS(MATHML_NS$1, "mover");
277387
+ const baseRow = doc$12.createElementNS(MATHML_NS$1, "mrow");
277388
+ baseRow.appendChild(convertChildren(base5?.elements ?? []));
277389
+ mover.appendChild(baseRow);
277390
+ const limRow = doc$12.createElementNS(MATHML_NS$1, "mrow");
277391
+ limRow.appendChild(convertChildren(lim?.elements ?? []));
277392
+ mover.appendChild(limRow);
277393
+ return mover;
277341
277394
  }, 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
277395
  if (typeof value !== "string")
277343
277396
  return null;
@@ -287453,7 +287506,7 @@ var Node$13 = class Node$14 {
287453
287506
  return;
287454
287507
  console.log(...args$1);
287455
287508
  }, 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 init_src_DtoTLJe0_es = __esm(() => {
287509
+ var init_src_yvw_tH1l_es = __esm(() => {
287457
287510
  init_rolldown_runtime_Bg48TavK_es();
287458
287511
  init_SuperConverter_H0ERuAZY_es();
287459
287512
  init_jszip_C49i9kUs_es();
@@ -313191,27 +313244,41 @@ function print() { __p += __j.call(arguments, '') }
313191
313244
  "⊆",
313192
313245
  "⊇"
313193
313246
  ]);
313247
+ STY_TO_VARIANT = {
313248
+ p: "normal",
313249
+ b: "bold",
313250
+ i: "italic",
313251
+ bi: "bold-italic"
313252
+ };
313253
+ SCR_TO_VARIANT = {
313254
+ roman: "normal",
313255
+ script: "script",
313256
+ fraktur: "fraktur",
313257
+ "double-struck": "double-struck",
313258
+ "sans-serif": "sans-serif",
313259
+ monospace: "monospace"
313260
+ };
313194
313261
  MATH_OBJECT_REGISTRY = {
313195
313262
  "m:r": convertMathRun,
313196
313263
  "m:bar": convertBar,
313197
313264
  "m:d": convertDelimiter,
313198
313265
  "m:f": convertFraction,
313199
313266
  "m:func": convertFunction,
313267
+ "m:limLow": convertLowerLimit,
313268
+ "m:limUpp": convertUpperLimit,
313269
+ "m:rad": convertRadical,
313200
313270
  "m:sSub": convertSubscript,
313201
313271
  "m:sSup": convertSuperscript,
313202
313272
  "m:sSubSup": convertSubSuperscript,
313273
+ "m:sPre": convertPreSubSuperscript,
313203
313274
  "m:acc": null,
313204
313275
  "m:borderBox": null,
313205
313276
  "m:box": null,
313206
313277
  "m:eqArr": null,
313207
313278
  "m:groupChr": null,
313208
- "m:limLow": null,
313209
- "m:limUpp": null,
313210
313279
  "m:m": null,
313211
313280
  "m:nary": null,
313212
- "m:phant": null,
313213
- "m:rad": convertRadical,
313214
- "m:sPre": null
313281
+ "m:phant": null
313215
313282
  };
313216
313283
  ARGUMENT_ELEMENTS = new Set([
313217
313284
  "m:e",
@@ -322182,7 +322249,7 @@ var init_zipper_DbkgrypV_es = __esm(() => {
322182
322249
 
322183
322250
  // ../../packages/superdoc/dist/super-editor.es.js
322184
322251
  var init_super_editor_es = __esm(() => {
322185
- init_src_DtoTLJe0_es();
322252
+ init_src_yvw_tH1l_es();
322186
322253
  init_SuperConverter_H0ERuAZY_es();
322187
322254
  init_jszip_C49i9kUs_es();
322188
322255
  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.4",
3
+ "version": "0.7.0-next.6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -26,19 +26,19 @@
26
26
  "typescript": "^5.9.2",
27
27
  "@superdoc/document-api": "0.0.1",
28
28
  "@superdoc/pm-adapter": "0.0.0",
29
- "superdoc": "1.25.0",
30
- "@superdoc/super-editor": "0.0.1"
29
+ "@superdoc/super-editor": "0.0.1",
30
+ "superdoc": "1.25.0"
31
31
  },
32
32
  "module": "src/index.ts",
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@superdoc-dev/cli-darwin-arm64": "0.7.0-next.4",
38
- "@superdoc-dev/cli-darwin-x64": "0.7.0-next.4",
39
- "@superdoc-dev/cli-linux-arm64": "0.7.0-next.4",
40
- "@superdoc-dev/cli-windows-x64": "0.7.0-next.4",
41
- "@superdoc-dev/cli-linux-x64": "0.7.0-next.4"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.7.0-next.6",
38
+ "@superdoc-dev/cli-darwin-x64": "0.7.0-next.6",
39
+ "@superdoc-dev/cli-linux-x64": "0.7.0-next.6",
40
+ "@superdoc-dev/cli-linux-arm64": "0.7.0-next.6",
41
+ "@superdoc-dev/cli-windows-x64": "0.7.0-next.6"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",