@superdoc-dev/cli 0.8.0-next.107 → 0.8.0-next.108

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 +156 -98
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -66096,7 +66096,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
66096
66096
  emptyOptions2 = {};
66097
66097
  });
66098
66098
 
66099
- // ../../packages/superdoc/dist/chunks/SuperConverter-KEGUvaEC.es.js
66099
+ // ../../packages/superdoc/dist/chunks/SuperConverter-D-cFThyR.es.js
66100
66100
  function getExtensionConfigField(extension$1, field, context = { name: "" }) {
66101
66101
  const fieldValue = extension$1.config[field];
66102
66102
  if (typeof fieldValue === "function")
@@ -74932,20 +74932,23 @@ function combineProperties(propertiesArray, options = {}) {
74932
74932
  function isObject(item) {
74933
74933
  return item != null && typeof item === "object" && !Array.isArray(item);
74934
74934
  }
74935
+ function dropConflictingFontSlots(target, source) {
74936
+ const result = { ...target };
74937
+ for (const [concreteKey, themeKey] of FONT_SLOT_THEME_PAIRS)
74938
+ if (source[themeKey] != null) {
74939
+ delete result[concreteKey];
74940
+ delete result[themeKey];
74941
+ } else if (source[concreteKey] != null)
74942
+ delete result[themeKey];
74943
+ return result;
74944
+ }
74935
74945
  function combineRunProperties(propertiesArray) {
74936
74946
  return combineProperties(propertiesArray, {
74937
74947
  fullOverrideProps: ["color"],
74938
74948
  specialHandling: { fontFamily: (target, source) => {
74939
74949
  const fontFamilySource = { ...source.fontFamily };
74940
- const fontFamilyTarget = { ...target.fontFamily };
74941
- if (fontFamilySource.asciiTheme != null) {
74942
- delete fontFamilyTarget.ascii;
74943
- delete fontFamilyTarget.asciiTheme;
74944
- }
74945
- if (fontFamilySource.ascii != null)
74946
- delete fontFamilyTarget.asciiTheme;
74947
74950
  return {
74948
- ...fontFamilyTarget,
74951
+ ...dropConflictingFontSlots(target.fontFamily ?? {}, fontFamilySource),
74949
74952
  ...fontFamilySource
74950
74953
  };
74951
74954
  } }
@@ -84565,6 +84568,27 @@ function resolveHypotheticalParagraphProperties(editor, $pos, inlineProps) {
84565
84568
  translatedLinkedStyles: editor.converter.translatedLinkedStyles
84566
84569
  }, inlineProps, tableStyleId);
84567
84570
  }
84571
+ function mergeFontFamilyPreservingThemeRefs(fromMarks, existing) {
84572
+ const merged = { ...fromMarks || {} };
84573
+ if (!existing || typeof existing !== "object")
84574
+ return merged;
84575
+ for (const [concreteKey, themeKey] of FONT_SLOT_THEME_PAIRS)
84576
+ if (existing[themeKey] != null) {
84577
+ merged[themeKey] = existing[themeKey];
84578
+ delete merged[concreteKey];
84579
+ }
84580
+ return merged;
84581
+ }
84582
+ function marksMatchExistingFontFamily(markFromMarks, existingFontFamily, encode$80, docx) {
84583
+ if (!existingFontFamily || typeof existingFontFamily !== "object")
84584
+ return false;
84585
+ if (!markFromMarks?.attrs)
84586
+ return false;
84587
+ const markFromExisting = encode$80({ fontFamily: existingFontFamily }, docx)?.[0];
84588
+ if (!markFromExisting?.attrs)
84589
+ return false;
84590
+ return markFromMarks.attrs.fontFamily === markFromExisting.attrs.fontFamily;
84591
+ }
84568
84592
  function getRunContext($pos) {
84569
84593
  let paragraphNode = null;
84570
84594
  let paragraphDepth = -1;
@@ -84684,10 +84708,13 @@ function getInlineRunProperties(runPropertiesFromMarks, runPropertiesFromStyles,
84684
84708
  const valueFromStyles = runPropertiesFromStyles[key];
84685
84709
  if (JSON.stringify(valueFromMarks) !== JSON.stringify(valueFromStyles))
84686
84710
  if (key === "fontFamily") {
84687
- const markFromStyles = encodeMarksFromRPr({ [key]: valueFromStyles }, editor.converter?.convertedXml ?? {})[0];
84688
- const markFromMarks = encodeMarksFromRPr({ [key]: valueFromMarks }, editor.converter?.convertedXml ?? {})[0];
84689
- if (JSON.stringify(markFromMarks?.attrs) !== JSON.stringify(markFromStyles?.attrs))
84690
- inlineRunProperties[key] = valueFromMarks;
84711
+ const docx = editor.converter?.convertedXml ?? {};
84712
+ const markFromStyles = encodeMarksFromRPr({ [key]: valueFromStyles }, docx)[0];
84713
+ const markFromMarks = encodeMarksFromRPr({ [key]: valueFromMarks }, docx)[0];
84714
+ if (JSON.stringify(markFromMarks?.attrs) !== JSON.stringify(markFromStyles?.attrs)) {
84715
+ const existingFontFamily = existingRunProperties?.[key];
84716
+ inlineRunProperties[key] = marksMatchExistingFontFamily(markFromMarks, existingFontFamily, encodeMarksFromRPr, docx) ? mergeFontFamilyPreservingThemeRefs(valueFromMarks, existingFontFamily) : valueFromMarks;
84717
+ }
84691
84718
  } else
84692
84719
  inlineRunProperties[key] = valueFromMarks;
84693
84720
  }
@@ -101624,10 +101651,32 @@ function removeSdtPrChild(sdtPr, childName) {
101624
101651
  };
101625
101652
  }
101626
101653
  function applyAttrsUpdate(editor, nodeId, attrsPatch) {
101627
- const updateCmd = editor.commands?.updateStructuredContentById;
101628
- if (typeof updateCmd !== "function")
101654
+ if (!editor?.state)
101655
+ return false;
101656
+ let foundPos = null;
101657
+ editor.state.doc.descendants((node3, pos) => {
101658
+ if (foundPos !== null)
101659
+ return false;
101660
+ if (SDT_NODE_TYPES.has(node3.type.name) && String(node3.attrs.id) === String(nodeId)) {
101661
+ foundPos = pos;
101662
+ return false;
101663
+ }
101664
+ return true;
101665
+ });
101666
+ if (foundPos === null)
101629
101667
  return false;
101630
- return Boolean(updateCmd(nodeId, { attrs: attrsPatch }));
101668
+ const tr = editor.state.tr;
101669
+ for (const [key, value] of Object.entries(attrsPatch))
101670
+ tr.setNodeAttribute(foundPos, key, value);
101671
+ if (tr.steps.length === 0)
101672
+ return true;
101673
+ if (editor.view?.dispatch)
101674
+ editor.view.dispatch(tr);
101675
+ else if (typeof editor.dispatch === "function")
101676
+ editor.dispatch(tr);
101677
+ else
101678
+ return false;
101679
+ return true;
101631
101680
  }
101632
101681
  function updateSdtPrChild(editor, target, childName, updater) {
101633
101682
  const currentSdtPr = resolveSdtByTarget(editor.state.doc, target).node.attrs.sdtPr ?? {
@@ -101861,6 +101910,59 @@ function buildContentControlInfoFromAttrs(attrs, kind) {
101861
101910
  }
101862
101911
  };
101863
101912
  }
101913
+ function assertNotSdtLocked(sdt, operation) {
101914
+ const mode = resolveLockMode(sdt.node.attrs);
101915
+ if (mode === "sdtLocked" || mode === "sdtContentLocked")
101916
+ throw new DocumentApiAdapterError("LOCK_VIOLATION", `Content control "${sdt.node.attrs.id}" has lock mode "${mode}" which prevents ${operation}.`, {
101917
+ lockMode: mode,
101918
+ operation
101919
+ });
101920
+ }
101921
+ function assertNotContentLocked(sdt, operation) {
101922
+ const mode = resolveLockMode(sdt.node.attrs);
101923
+ if (mode === "contentLocked" || mode === "sdtContentLocked")
101924
+ throw new DocumentApiAdapterError("LOCK_VIOLATION", `Content control "${sdt.node.attrs.id}" has lock mode "${mode}" which prevents ${operation}.`, {
101925
+ lockMode: mode,
101926
+ operation
101927
+ });
101928
+ }
101929
+ function assertControlType(sdt, expected, operation) {
101930
+ const actual = resolveControlType(sdt.node.attrs);
101931
+ const allowed = Array.isArray(expected) ? expected : [expected];
101932
+ if (!allowed.includes(actual))
101933
+ throw new DocumentApiAdapterError("TYPE_MISMATCH", `Operation "${operation}" requires control type ${allowed.join(" or ")}, but found "${actual}".`, {
101934
+ expected: allowed,
101935
+ actual,
101936
+ operation
101937
+ });
101938
+ }
101939
+ function buildMutationSuccess(target, updatedRef) {
101940
+ const result = {
101941
+ success: true,
101942
+ contentControl: target
101943
+ };
101944
+ if (updatedRef)
101945
+ result.updatedRef = updatedRef;
101946
+ return result;
101947
+ }
101948
+ function buildMutationFailure(code$1, message) {
101949
+ return {
101950
+ success: false,
101951
+ failure: {
101952
+ code: code$1,
101953
+ message
101954
+ }
101955
+ };
101956
+ }
101957
+ function applyPagination(items, opts) {
101958
+ const total = items.length;
101959
+ const offset = opts?.offset ?? 0;
101960
+ const limit = opts?.limit ?? total;
101961
+ return {
101962
+ items: items.slice(offset, offset + limit),
101963
+ total
101964
+ };
101965
+ }
101864
101966
  function resolveBlock(editor, nodeId) {
101865
101967
  const matches$1 = getBlockIndex(editor).candidates.filter((c$1) => c$1.nodeId === nodeId && (c$1.nodeType === "paragraph" || c$1.nodeType === "listItem"));
101866
101968
  if (matches$1.length === 0)
@@ -105111,7 +105213,7 @@ var isRegExp = (value) => {
105111
105213
  return true;
105112
105214
  }, areAttrsEqual = (attrsA = {}, attrsB = {}) => {
105113
105215
  return objectIncludes(attrsA, attrsB);
105114
- }, TrackInsertMarkName = "trackInsert", TrackDeleteMarkName = "trackDelete", TrackFormatMarkName = "trackFormat", TrackedFormatMarkNames, SUBSCRIPT_SUPERSCRIPT_SCALE = 0.65, BASELINE_SHIFT_EPSILON = 0.000001, TABLE_STYLE_ID_TABLE_GRID = "TableGrid", TABLE_FALLBACK_BORDER, TABLE_FALLBACK_BORDERS, TABLE_FALLBACK_CELL_PADDING, DEFAULT_TBL_LOOK, CNF_STYLE_MAP, TABLE_STYLE_PRECEDENCE, getToCssFontFamily = () => {
105216
+ }, TrackInsertMarkName = "trackInsert", TrackDeleteMarkName = "trackDelete", TrackFormatMarkName = "trackFormat", TrackedFormatMarkNames, SUBSCRIPT_SUPERSCRIPT_SCALE = 0.65, BASELINE_SHIFT_EPSILON = 0.000001, FONT_SLOT_THEME_PAIRS, TABLE_STYLE_ID_TABLE_GRID = "TableGrid", TABLE_FALLBACK_BORDER, TABLE_FALLBACK_BORDERS, TABLE_FALLBACK_CELL_PADDING, DEFAULT_TBL_LOOK, CNF_STYLE_MAP, TABLE_STYLE_PRECEDENCE, getToCssFontFamily = () => {
105115
105217
  return SuperConverter.toCssFontFamily;
105116
105218
  }, getSpacingStyle = (spacing, isListItem$1) => {
105117
105219
  let { before: before2, after: after2, line, lineRule, beforeAutospacing, afterAutospacing } = spacing;
@@ -119563,7 +119665,7 @@ var isRegExp = (value) => {
119563
119665
  if (id2)
119564
119666
  return trackedChanges.filter(({ mark }) => mark.attrs.id === id2);
119565
119667
  return trackedChanges;
119566
- }, DERIVED_ID_LENGTH = 24, groupedCache, SDT_NODE_NAMES, SDT_BLOCK_NAME = "structuredContentBlock", VALID_CONTROL_TYPES, VALID_LOCK_MODES2, VALID_APPEARANCES, FIELD_LIKE_SDT_TYPES, liveDocumentCountsCache, BIBLIOGRAPHY_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", CUSTOM_XML_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml", CUSTOM_XML_PROPS_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps", DEFAULT_SELECTED_STYLE = "/APA.XSL", DEFAULT_STYLE_NAME = "APA", DEFAULT_VERSION = "6", API_TO_OOXML_SOURCE_TYPE, OOXML_TO_API_SOURCE_TYPE, SIMPLE_FIELD_TO_XML_TAG, XML_TAG_TO_SIMPLE_FIELD, import_lib2, FONT_FAMILY_FALLBACKS, DEFAULT_GENERIC_FALLBACK = "sans-serif", DEFAULT_FONT_SIZE_PT = 10, CURRENT_APP_VERSION = "1.32.0", collectRunDefaultProperties = (runProps, { allowOverrideTypeface = true, allowOverrideSize = true, themeResolver, state }) => {
119668
+ }, DERIVED_ID_LENGTH = 24, groupedCache, SDT_NODE_NAMES, SDT_BLOCK_NAME = "structuredContentBlock", SDT_NODE_TYPES, VALID_CONTROL_TYPES, VALID_LOCK_MODES2, VALID_APPEARANCES, FIELD_LIKE_SDT_TYPES, liveDocumentCountsCache, BIBLIOGRAPHY_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", CUSTOM_XML_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml", CUSTOM_XML_PROPS_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps", DEFAULT_SELECTED_STYLE = "/APA.XSL", DEFAULT_STYLE_NAME = "APA", DEFAULT_VERSION = "6", API_TO_OOXML_SOURCE_TYPE, OOXML_TO_API_SOURCE_TYPE, SIMPLE_FIELD_TO_XML_TAG, XML_TAG_TO_SIMPLE_FIELD, import_lib2, FONT_FAMILY_FALLBACKS, DEFAULT_GENERIC_FALLBACK = "sans-serif", DEFAULT_FONT_SIZE_PT = 10, CURRENT_APP_VERSION = "1.32.0", collectRunDefaultProperties = (runProps, { allowOverrideTypeface = true, allowOverrideSize = true, themeResolver, state }) => {
119567
119669
  if (!runProps?.elements?.length || !state)
119568
119670
  return;
119569
119671
  const fontsNode = runProps.elements.find((el) => el.name === "w:rFonts");
@@ -119597,7 +119699,7 @@ var isRegExp = (value) => {
119597
119699
  state.kern = kernNode.attributes["w:val"];
119598
119700
  }
119599
119701
  }, SuperConverter;
119600
- var init_SuperConverter_KEGUvaEC_es = __esm(() => {
119702
+ var init_SuperConverter_D_cFThyR_es = __esm(() => {
119601
119703
  init_rolldown_runtime_Bg48TavK_es();
119602
119704
  init_jszip_C49i9kUs_es();
119603
119705
  init_xml_js_CqGKpaft_es();
@@ -135263,6 +135365,12 @@ var init_SuperConverter_KEGUvaEC_es = __esm(() => {
135263
135365
  "highlight",
135264
135366
  "link"
135265
135367
  ];
135368
+ FONT_SLOT_THEME_PAIRS = [
135369
+ ["ascii", "asciiTheme"],
135370
+ ["hAnsi", "hAnsiTheme"],
135371
+ ["eastAsia", "eastAsiaTheme"],
135372
+ ["cs", "cstheme"]
135373
+ ];
135266
135374
  TABLE_FALLBACK_BORDER = {
135267
135375
  val: "single",
135268
135376
  size: 4,
@@ -156322,6 +156430,7 @@ var init_SuperConverter_KEGUvaEC_es = __esm(() => {
156322
156430
  };
156323
156431
  groupedCache = /* @__PURE__ */ new WeakMap;
156324
156432
  SDT_NODE_NAMES = ["structuredContent", "structuredContentBlock"];
156433
+ SDT_NODE_TYPES = new Set(SDT_NODE_NAMES);
156325
156434
  VALID_CONTROL_TYPES = [
156326
156435
  "text",
156327
156436
  "richText",
@@ -157464,7 +157573,7 @@ var init_SuperConverter_KEGUvaEC_es = __esm(() => {
157464
157573
  };
157465
157574
  });
157466
157575
 
157467
- // ../../packages/superdoc/dist/chunks/create-headless-toolbar-DwiDDjhC.es.js
157576
+ // ../../packages/superdoc/dist/chunks/create-headless-toolbar-DkFBZ1T1.es.js
157468
157577
  function parseSizeUnit(val = "0") {
157469
157578
  const length3 = val.toString() || "0";
157470
157579
  const value = Number.parseFloat(length3);
@@ -160186,8 +160295,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, Extension = class Extension2 {
160186
160295
  }
160187
160296
  };
160188
160297
  };
160189
- var init_create_headless_toolbar_DwiDDjhC_es = __esm(() => {
160190
- init_SuperConverter_KEGUvaEC_es();
160298
+ var init_create_headless_toolbar_DkFBZ1T1_es = __esm(() => {
160299
+ init_SuperConverter_D_cFThyR_es();
160191
160300
  init_constants_DrU4EASo_es();
160192
160301
  init_dist_B8HfvhaK_es();
160193
160302
  CSS_DIMENSION_REGEX = /[\d-.]+(\w+)$/;
@@ -208885,7 +208994,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
208885
208994
  init_remark_gfm_BhnWr3yf_es();
208886
208995
  });
208887
208996
 
208888
- // ../../packages/superdoc/dist/chunks/src-XCAViTso.es.js
208997
+ // ../../packages/superdoc/dist/chunks/src-CHVby7ed.es.js
208889
208998
  function deleteProps(obj, propOrProps) {
208890
208999
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
208891
209000
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -209673,59 +209782,6 @@ function getSuperdocVersion() {
209673
209782
  return "unknown";
209674
209783
  }
209675
209784
  }
209676
- function assertNotSdtLocked(sdt, operation) {
209677
- const mode = resolveLockMode(sdt.node.attrs);
209678
- if (mode === "sdtLocked" || mode === "sdtContentLocked")
209679
- throw new DocumentApiAdapterError("LOCK_VIOLATION", `Content control "${sdt.node.attrs.id}" has lock mode "${mode}" which prevents ${operation}.`, {
209680
- lockMode: mode,
209681
- operation
209682
- });
209683
- }
209684
- function assertNotContentLocked(sdt, operation) {
209685
- const mode = resolveLockMode(sdt.node.attrs);
209686
- if (mode === "contentLocked" || mode === "sdtContentLocked")
209687
- throw new DocumentApiAdapterError("LOCK_VIOLATION", `Content control "${sdt.node.attrs.id}" has lock mode "${mode}" which prevents ${operation}.`, {
209688
- lockMode: mode,
209689
- operation
209690
- });
209691
- }
209692
- function assertControlType(sdt, expected, operation) {
209693
- const actual = resolveControlType(sdt.node.attrs);
209694
- const allowed = Array.isArray(expected) ? expected : [expected];
209695
- if (!allowed.includes(actual))
209696
- throw new DocumentApiAdapterError("TYPE_MISMATCH", `Operation "${operation}" requires control type ${allowed.join(" or ")}, but found "${actual}".`, {
209697
- expected: allowed,
209698
- actual,
209699
- operation
209700
- });
209701
- }
209702
- function buildMutationSuccess(target, updatedRef) {
209703
- const result = {
209704
- success: true,
209705
- contentControl: target
209706
- };
209707
- if (updatedRef)
209708
- result.updatedRef = updatedRef;
209709
- return result;
209710
- }
209711
- function buildMutationFailure(code7, message) {
209712
- return {
209713
- success: false,
209714
- failure: {
209715
- code: code7,
209716
- message
209717
- }
209718
- };
209719
- }
209720
- function applyPagination(items, opts) {
209721
- const total = items.length;
209722
- const offset$1 = opts?.offset ?? 0;
209723
- const limit = opts?.limit ?? total;
209724
- return {
209725
- items: items.slice(offset$1, offset$1 + limit),
209726
- total
209727
- };
209728
- }
209729
209785
  function getFocusMeta(tr) {
209730
209786
  return tr.getMeta(CustomSelectionPluginKey);
209731
209787
  }
@@ -244408,22 +244464,24 @@ function alreadyMatchesPlainTextReplacement(sdt, expectedText) {
244408
244464
  }
244409
244465
  function replaceSdtTextContent(editor, target, text5) {
244410
244466
  const resolved = resolveSdtByTarget(editor.state.doc, target);
244467
+ const { tr } = editor.state;
244468
+ const innerFrom = resolved.pos + 1;
244469
+ const innerTo = resolved.pos + resolved.node.nodeSize - 1;
244411
244470
  if (resolved.kind === "inline") {
244412
- const updateCmd = editor.commands?.updateStructuredContentById;
244413
- if (text5.length > 0)
244414
- return Boolean(updateCmd?.(target.nodeId, { text: text5 }));
244415
- const updatedNode$1 = resolved.node.type.create({ ...resolved.node.attrs }, null, resolved.node.marks);
244416
- const { tr: tr$1 } = editor.state;
244417
- tr$1.replaceWith(resolved.pos, resolved.pos + resolved.node.nodeSize, updatedNode$1);
244418
- dispatchTransaction(editor, tr$1);
244471
+ if (text5.length > 0) {
244472
+ const textNode = editor.schema.text(text5);
244473
+ tr.replaceWith(innerFrom, innerTo, textNode);
244474
+ } else
244475
+ tr.delete(innerFrom, innerTo);
244476
+ dispatchTransaction(editor, tr);
244419
244477
  return true;
244420
244478
  }
244421
244479
  const paragraph2 = buildEmptyBlockContent(editor, resolved.node);
244480
+ if (!paragraph2)
244481
+ return false;
244422
244482
  const paragraphText = text5.length > 0 ? buildTextWithTabs(editor.schema, text5, undefined) : null;
244423
- const updatedParagraph = paragraph2?.type.create(paragraph2.attrs ?? null, paragraphText, paragraph2.marks) ?? null;
244424
- const updatedNode = resolved.node.type.create({ ...resolved.node.attrs }, updatedParagraph, resolved.node.marks);
244425
- const { tr } = editor.state;
244426
- tr.replaceWith(resolved.pos, resolved.pos + resolved.node.nodeSize, updatedNode);
244483
+ const updatedParagraph = paragraph2.type.create(paragraph2.attrs ?? null, paragraphText, paragraph2.marks);
244484
+ tr.replaceWith(innerFrom, innerTo, updatedParagraph);
244427
244485
  dispatchTransaction(editor, tr);
244428
244486
  return true;
244429
244487
  }
@@ -302759,12 +302817,12 @@ menclose::after {
302759
302817
  return;
302760
302818
  console.log(...args$1);
302761
302819
  }, 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;
302762
- var init_src_XCAViTso_es = __esm(() => {
302820
+ var init_src_CHVby7ed_es = __esm(() => {
302763
302821
  init_rolldown_runtime_Bg48TavK_es();
302764
- init_SuperConverter_KEGUvaEC_es();
302822
+ init_SuperConverter_D_cFThyR_es();
302765
302823
  init_jszip_C49i9kUs_es();
302766
302824
  init_uuid_qzgm05fK_es();
302767
- init_create_headless_toolbar_DwiDDjhC_es();
302825
+ init_create_headless_toolbar_DkFBZ1T1_es();
302768
302826
  init_constants_DrU4EASo_es();
302769
302827
  init_dist_B8HfvhaK_es();
302770
302828
  init_unified_Dsuw2be5_es();
@@ -340807,11 +340865,11 @@ function print() { __p += __j.call(arguments, '') }
340807
340865
  ];
340808
340866
  });
340809
340867
 
340810
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-BEAzL3ry.es.js
340868
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-0ZhHPCRD.es.js
340811
340869
  var MOD_ALIASES, ALT_ALIASES, CTRL_ALIASES, SHIFT_ALIASES, BUILTIN_CONTEXT_MENU_GROUPS, BUILTIN_GROUP_ORDER, RESERVED_PROXY_PROPERTY_NAMES, ALL_TOOLBAR_COMMAND_IDS, EMPTY_ACTIVE_IDS;
340812
- var init_create_super_doc_ui_BEAzL3ry_es = __esm(() => {
340813
- init_SuperConverter_KEGUvaEC_es();
340814
- init_create_headless_toolbar_DwiDDjhC_es();
340870
+ var init_create_super_doc_ui_0ZhHPCRD_es = __esm(() => {
340871
+ init_SuperConverter_D_cFThyR_es();
340872
+ init_create_headless_toolbar_DkFBZ1T1_es();
340815
340873
  MOD_ALIASES = new Set([
340816
340874
  "Mod",
340817
340875
  "Meta",
@@ -340853,16 +340911,16 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
340853
340911
 
340854
340912
  // ../../packages/superdoc/dist/super-editor.es.js
340855
340913
  var init_super_editor_es = __esm(() => {
340856
- init_src_XCAViTso_es();
340857
- init_SuperConverter_KEGUvaEC_es();
340914
+ init_src_CHVby7ed_es();
340915
+ init_SuperConverter_D_cFThyR_es();
340858
340916
  init_jszip_C49i9kUs_es();
340859
340917
  init_xml_js_CqGKpaft_es();
340860
- init_create_headless_toolbar_DwiDDjhC_es();
340918
+ init_create_headless_toolbar_DkFBZ1T1_es();
340861
340919
  init_constants_DrU4EASo_es();
340862
340920
  init_dist_B8HfvhaK_es();
340863
340921
  init_unified_Dsuw2be5_es();
340864
340922
  init_DocxZipper_TPSo9G36_es();
340865
- init_create_super_doc_ui_BEAzL3ry_es();
340923
+ init_create_super_doc_ui_0ZhHPCRD_es();
340866
340924
  init_ui_CGB3qmy3_es();
340867
340925
  init_eventemitter3_UwU_CLPU_es();
340868
340926
  init_errors_C_DoKMoN_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.8.0-next.107",
3
+ "version": "0.8.0-next.108",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -24,21 +24,21 @@
24
24
  "@types/node": "22.19.2",
25
25
  "@types/ws": "^8.5.13",
26
26
  "typescript": "^5.9.2",
27
- "@superdoc/document-api": "0.0.1",
28
27
  "@superdoc/super-editor": "0.0.1",
29
- "@superdoc/pm-adapter": "0.0.0",
30
- "superdoc": "1.32.0"
28
+ "superdoc": "1.32.0",
29
+ "@superdoc/document-api": "0.0.1",
30
+ "@superdoc/pm-adapter": "0.0.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.8.0-next.107",
38
- "@superdoc-dev/cli-darwin-x64": "0.8.0-next.107",
39
- "@superdoc-dev/cli-linux-x64": "0.8.0-next.107",
40
- "@superdoc-dev/cli-linux-arm64": "0.8.0-next.107",
41
- "@superdoc-dev/cli-windows-x64": "0.8.0-next.107"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.8.0-next.108",
38
+ "@superdoc-dev/cli-darwin-x64": "0.8.0-next.108",
39
+ "@superdoc-dev/cli-linux-x64": "0.8.0-next.108",
40
+ "@superdoc-dev/cli-windows-x64": "0.8.0-next.108",
41
+ "@superdoc-dev/cli-linux-arm64": "0.8.0-next.108"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",