@superdoc-dev/cli 0.13.0-next.5 → 0.13.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 +167 -30
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -67593,7 +67593,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
67593
67593
  emptyOptions2 = {};
67594
67594
  });
67595
67595
 
67596
- // ../../packages/superdoc/dist/chunks/SuperConverter-yBMSqEiB.es.js
67596
+ // ../../packages/superdoc/dist/chunks/SuperConverter-k7GHkV-c.es.js
67597
67597
  function getExtensionConfigField(extension$1, field, context = { name: "" }) {
67598
67598
  const fieldValue = extension$1.config[field];
67599
67599
  if (typeof fieldValue === "function")
@@ -96262,6 +96262,33 @@ function _getReferencedTableStyles(tableStyleReference, params3) {
96262
96262
  ...styleProps
96263
96263
  };
96264
96264
  }
96265
+ function buildFieldResultRuns(params3, outputMarks) {
96266
+ const { node: node3 } = params3;
96267
+ const contentNodes = (node3.content ?? []).flatMap((child) => exportSchemaToJson({
96268
+ ...params3,
96269
+ node: child
96270
+ }));
96271
+ if (contentNodes.length > 0)
96272
+ return contentNodes;
96273
+ const resolvedText = node3.attrs?.resolvedText;
96274
+ if (typeof resolvedText !== "string" || resolvedText.length === 0)
96275
+ return [];
96276
+ const textAttributes = /^\s|\s$/.test(resolvedText) ? { "xml:space": "preserve" } : undefined;
96277
+ return [{
96278
+ name: "w:r",
96279
+ elements: [{
96280
+ name: "w:rPr",
96281
+ elements: outputMarks
96282
+ }, {
96283
+ name: "w:t",
96284
+ attributes: textAttributes,
96285
+ elements: [{
96286
+ text: resolvedText,
96287
+ type: "text"
96288
+ }]
96289
+ }]
96290
+ }];
96291
+ }
96265
96292
  function parseTarget(instruction) {
96266
96293
  if (!instruction)
96267
96294
  return "";
@@ -96315,7 +96342,19 @@ function parseCitationSourceIds(instruction) {
96315
96342
  function extractResolvedText$1(content$2) {
96316
96343
  if (!Array.isArray(content$2))
96317
96344
  return "";
96318
- return content$2.filter((n) => n.type === "text").map((n) => n.text || "").join("");
96345
+ let out = "";
96346
+ const walk = (nodes) => {
96347
+ for (const node3 of nodes) {
96348
+ if (!node3)
96349
+ continue;
96350
+ if (node3.type === "text")
96351
+ out += node3.text || "";
96352
+ else if (Array.isArray(node3.content))
96353
+ walk(node3.content);
96354
+ }
96355
+ };
96356
+ walk(content$2);
96357
+ return out;
96319
96358
  }
96320
96359
  function parseTaInstruction(instruction) {
96321
96360
  let longCitation = "";
@@ -118468,10 +118507,7 @@ var isRegExp = (value) => {
118468
118507
  }, decode$20 = (params3) => {
118469
118508
  const { node: node3 } = params3;
118470
118509
  const outputMarks = processOutputMarks(node3.attrs?.marksAsAttrs || []);
118471
- const contentNodes = (node3.content ?? []).flatMap((n) => exportSchemaToJson({
118472
- ...params3,
118473
- node: n
118474
- }));
118510
+ const contentNodes = buildFieldResultRuns(params3, outputMarks);
118475
118511
  const instructionElements = buildInstructionElements(node3.attrs?.instruction, node3.attrs?.instructionTokens);
118476
118512
  return [
118477
118513
  {
@@ -118536,10 +118572,7 @@ var isRegExp = (value) => {
118536
118572
  }, decode$19 = (params3) => {
118537
118573
  const { node: node3 } = params3;
118538
118574
  const outputMarks = processOutputMarks(node3.attrs?.marksAsAttrs || []);
118539
- const contentNodes = (node3.content ?? []).flatMap((n) => exportSchemaToJson({
118540
- ...params3,
118541
- node: n
118542
- }));
118575
+ const contentNodes = buildFieldResultRuns(params3, outputMarks);
118543
118576
  const instructionElements = buildInstructionElements(node3.attrs?.instruction, node3.attrs?.instructionTokens);
118544
118577
  return [
118545
118578
  {
@@ -121679,7 +121712,7 @@ var isRegExp = (value) => {
121679
121712
  state.kern = kernNode.attributes["w:val"];
121680
121713
  }
121681
121714
  }, SuperConverter;
121682
- var init_SuperConverter_yBMSqEiB_es = __esm(() => {
121715
+ var init_SuperConverter_k7GHkV_c_es = __esm(() => {
121683
121716
  init_rolldown_runtime_Bg48TavK_es();
121684
121717
  init_jszip_C49i9kUs_es();
121685
121718
  init_xml_js_CqGKpaft_es();
@@ -159859,7 +159892,7 @@ var init_SuperConverter_yBMSqEiB_es = __esm(() => {
159859
159892
  };
159860
159893
  });
159861
159894
 
159862
- // ../../packages/superdoc/dist/chunks/create-headless-toolbar-DOHBUV3P.es.js
159895
+ // ../../packages/superdoc/dist/chunks/create-headless-toolbar-dycevpY9.es.js
159863
159896
  function parseSizeUnit(val = "0") {
159864
159897
  const length3 = val.toString() || "0";
159865
159898
  const value = Number.parseFloat(length3);
@@ -169884,8 +169917,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, Extension = class Extension2 {
169884
169917
  }
169885
169918
  };
169886
169919
  };
169887
- var init_create_headless_toolbar_DOHBUV3P_es = __esm(() => {
169888
- init_SuperConverter_yBMSqEiB_es();
169920
+ var init_create_headless_toolbar_dycevpY9_es = __esm(() => {
169921
+ init_SuperConverter_k7GHkV_c_es();
169889
169922
  init_uuid_qzgm05fK_es();
169890
169923
  init_constants_DrU4EASo_es();
169891
169924
  init_dist_B8HfvhaK_es();
@@ -219090,7 +219123,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
219090
219123
  init_remark_gfm_BhnWr3yf_es();
219091
219124
  });
219092
219125
 
219093
- // ../../packages/superdoc/dist/chunks/src-Cccxf1lk.es.js
219126
+ // ../../packages/superdoc/dist/chunks/src-AnmYYbEU.es.js
219094
219127
  function deleteProps(obj, propOrProps) {
219095
219128
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
219096
219129
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -220977,6 +221010,86 @@ function backfillCapability(metaMap, ydoc) {
220977
221010
  function createReplacer(data) {
220978
221011
  return ({ part }) => replacePartData(part, data);
220979
221012
  }
221013
+ function normalizeYjsFragmentForSchema(fragment2) {
221014
+ if (!isTraversableYjsXml(fragment2))
221015
+ return false;
221016
+ let changed = false;
221017
+ const normalize4 = () => {
221018
+ changed = stripSchemaAtomChildren(fragment2) || changed;
221019
+ };
221020
+ if (fragment2.doc)
221021
+ fragment2.doc.transact(normalize4, NORMALIZE_YJS_FRAGMENT_ORIGIN);
221022
+ else
221023
+ normalize4();
221024
+ return changed;
221025
+ }
221026
+ function normalizeYjsFragmentEventsForSchema(events, fallbackFragment) {
221027
+ if (!Array.isArray(events) || events.length === 0)
221028
+ return normalizeYjsFragmentForSchema(fallbackFragment);
221029
+ if (events.some((event) => event?.transaction?.origin === NORMALIZE_YJS_FRAGMENT_ORIGIN))
221030
+ return false;
221031
+ let changed = false;
221032
+ const normalize4 = () => {
221033
+ const visited = /* @__PURE__ */ new Set;
221034
+ for (const event of events) {
221035
+ const target = findNormalizableEventTarget(event?.target);
221036
+ if (!isTraversableYjsXml(target) || visited.has(target))
221037
+ continue;
221038
+ visited.add(target);
221039
+ changed = stripSchemaAtomChildren(target) || changed;
221040
+ }
221041
+ };
221042
+ const doc$12 = fallbackFragment?.doc || findEventDoc(events);
221043
+ if (doc$12)
221044
+ doc$12.transact(normalize4, NORMALIZE_YJS_FRAGMENT_ORIGIN);
221045
+ else
221046
+ normalize4();
221047
+ return changed;
221048
+ }
221049
+ function stripSchemaAtomChildren(parent) {
221050
+ if (!isTraversableYjsXml(parent))
221051
+ return false;
221052
+ if (parent instanceof YXmlElement && SCHEMA_ATOM_NODE_NAMES.has(parent.nodeName)) {
221053
+ if (parent.length === 0)
221054
+ return false;
221055
+ parent.delete(0, parent.length);
221056
+ return true;
221057
+ }
221058
+ let changed = false;
221059
+ for (const child of parent.toArray()) {
221060
+ if (!(child instanceof YXmlElement))
221061
+ continue;
221062
+ if (SCHEMA_ATOM_NODE_NAMES.has(child.nodeName)) {
221063
+ if (child.length > 0) {
221064
+ child.delete(0, child.length);
221065
+ changed = true;
221066
+ }
221067
+ continue;
221068
+ }
221069
+ changed = stripSchemaAtomChildren(child) || changed;
221070
+ }
221071
+ return changed;
221072
+ }
221073
+ function findNormalizableEventTarget(target) {
221074
+ let current = target;
221075
+ while (current) {
221076
+ if (current instanceof YXmlElement && SCHEMA_ATOM_NODE_NAMES.has(current.nodeName))
221077
+ return current;
221078
+ current = current.parent;
221079
+ }
221080
+ return target;
221081
+ }
221082
+ function findEventDoc(events) {
221083
+ for (const event of events) {
221084
+ const doc$12 = event?.target?.doc;
221085
+ if (doc$12)
221086
+ return doc$12;
221087
+ }
221088
+ return null;
221089
+ }
221090
+ function isTraversableYjsXml(value) {
221091
+ return Boolean(value && typeof value.toArray === "function");
221092
+ }
220980
221093
  function getEditorSurfaceElement(editor) {
220981
221094
  if (!editor)
220982
221095
  return null;
@@ -278995,7 +279108,7 @@ var Node$13 = class Node$14 {
278995
279108
  let $pos = doc$12.resolve(this.pos);
278996
279109
  return GapCursor.valid($pos) ? new GapCursor($pos) : Selection.near($pos);
278997
279110
  }
278998
- }, handleKeyDown2, Gapcursor, PARTS_MAP_KEY = "parts", META_MAP_KEY = "meta", META_PARTS_SCHEMA_VERSION_KEY = "partsSchemaVersion", META_PARTS_MIGRATION_KEY = "partsMigration", META_PARTS_LAST_HYDRATED_AT_KEY = "partsLastHydratedAt", META_PARTS_FALLBACK_MODE_KEY = "partsFallbackMode", META_PARTS_CAPABILITY_KEY = "partsCapability", SOURCE_COLLAB_REMOTE_PARTS = "collab:remote:parts", SOURCE_COLLAB_REMOTE_PREFIX = "collab:remote:", EXCLUDED_PART_IDS, CRITICAL_PART_IDS, isApplyingRemoteParts = false, headlessBindingStateByEditor, headlessCleanupRegisteredEditors, META_BODY_SECT_PR_KEY = "bodySectPr", BODY_SECT_PR_SYNC_META_KEY = "bodySectPrSync", collaborationCleanupByEditor, registerHeadlessBindingCleanup = (editor, cleanup) => {
279111
+ }, handleKeyDown2, Gapcursor, PARTS_MAP_KEY = "parts", META_MAP_KEY = "meta", META_PARTS_SCHEMA_VERSION_KEY = "partsSchemaVersion", META_PARTS_MIGRATION_KEY = "partsMigration", META_PARTS_LAST_HYDRATED_AT_KEY = "partsLastHydratedAt", META_PARTS_FALLBACK_MODE_KEY = "partsFallbackMode", META_PARTS_CAPABILITY_KEY = "partsCapability", SOURCE_COLLAB_REMOTE_PARTS = "collab:remote:parts", SOURCE_COLLAB_REMOTE_PREFIX = "collab:remote:", EXCLUDED_PART_IDS, CRITICAL_PART_IDS, isApplyingRemoteParts = false, SCHEMA_ATOM_NODE_NAMES, NORMALIZE_YJS_FRAGMENT_ORIGIN, headlessBindingStateByEditor, headlessCleanupRegisteredEditors, META_BODY_SECT_PR_KEY = "bodySectPr", BODY_SECT_PR_SYNC_META_KEY = "bodySectPrSync", collaborationCleanupByEditor, registerHeadlessBindingCleanup = (editor, cleanup) => {
278999
279112
  if (!cleanup || headlessCleanupRegisteredEditors.has(editor))
279000
279113
  return;
279001
279114
  headlessCleanupRegisteredEditors.add(editor);
@@ -279079,6 +279192,7 @@ var Node$13 = class Node$14 {
279079
279192
  if (!cleanup)
279080
279193
  return;
279081
279194
  cleanup.syncListenerCleanup?.();
279195
+ cleanup.fragmentNormalizeCleanup?.();
279082
279196
  cleanup.mediaMap?.unobserve?.(cleanup.mediaMapObserver);
279083
279197
  cleanup.metaMap?.unobserve?.(cleanup.metaMapObserver);
279084
279198
  cleanup.partSyncHandle?.destroy();
@@ -279089,12 +279203,23 @@ var Node$13 = class Node$14 {
279089
279203
  collaborationCleanupByEditor.delete(editor);
279090
279204
  }, createSyncPlugin = (ydoc, editor) => {
279091
279205
  const fragment2 = ydoc.getXmlFragment("supereditor");
279206
+ normalizeYjsFragmentForSchema(fragment2);
279092
279207
  const onFirstRender = () => {
279093
279208
  if (!editor.options.isNewFile)
279094
279209
  return;
279095
279210
  initializeMetaMap(ydoc, editor);
279096
279211
  };
279097
279212
  return [ySyncPlugin(fragment2, { onFirstRender }), fragment2];
279213
+ }, registerYjsFragmentNormalizer = (fragment2) => {
279214
+ if (!fragment2 || typeof fragment2.observeDeep !== "function" || typeof fragment2.unobserveDeep !== "function")
279215
+ return () => {};
279216
+ const normalize4 = (events) => {
279217
+ normalizeYjsFragmentEventsForSchema(events, fragment2);
279218
+ };
279219
+ fragment2.observeDeep(normalize4);
279220
+ return () => {
279221
+ fragment2.unobserveDeep(normalize4);
279222
+ };
279098
279223
  }, initializeMetaMap = (ydoc, editor) => {
279099
279224
  seedPartsFromEditor(editor, ydoc);
279100
279225
  const mediaMap = ydoc.getMap("media");
@@ -307646,13 +307771,13 @@ menclose::after {
307646
307771
  return;
307647
307772
  console.log(...args$1);
307648
307773
  }, 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;
307649
- var init_src_Cccxf1lk_es = __esm(() => {
307774
+ var init_src_AnmYYbEU_es = __esm(() => {
307650
307775
  init_rolldown_runtime_Bg48TavK_es();
307651
- init_SuperConverter_yBMSqEiB_es();
307776
+ init_SuperConverter_k7GHkV_c_es();
307652
307777
  init_jszip_C49i9kUs_es();
307653
307778
  init_xml_js_CqGKpaft_es();
307654
307779
  init_uuid_qzgm05fK_es();
307655
- init_create_headless_toolbar_DOHBUV3P_es();
307780
+ init_create_headless_toolbar_dycevpY9_es();
307656
307781
  init_constants_DrU4EASo_es();
307657
307782
  init_dist_B8HfvhaK_es();
307658
307783
  init_unified_Dsuw2be5_es();
@@ -308874,6 +308999,8 @@ ${err.toString()}`);
308874
308999
  "word/_rels/document.xml.rels",
308875
309000
  "[Content_Types].xml"
308876
309001
  ]);
309002
+ SCHEMA_ATOM_NODE_NAMES = new Set(["crossReference", "citation"]);
309003
+ NORMALIZE_YJS_FRAGMENT_ORIGIN = Symbol.for("superdoc/yjs-fragment-normalize");
308877
309004
  new PluginKey("collaboration");
308878
309005
  headlessBindingStateByEditor = /* @__PURE__ */ new WeakMap;
308879
309006
  headlessCleanupRegisteredEditors = /* @__PURE__ */ new WeakSet;
@@ -308901,6 +309028,7 @@ ${err.toString()}`);
308901
309028
  const syncListenerCleanup = initSyncListener(this.options.ydoc, this.editor, this);
308902
309029
  const [syncPlugin, fragment2] = createSyncPlugin(this.options.ydoc, this.editor);
308903
309030
  this.options.fragment = fragment2;
309031
+ const fragmentNormalizeCleanup = registerYjsFragmentNormalizer(fragment2);
308904
309032
  const mediaMap = this.options.ydoc.getMap("media");
308905
309033
  const mediaMapObserver = (event) => {
308906
309034
  event.changes.keys.forEach((_$1, key2) => {
@@ -308915,6 +309043,7 @@ ${err.toString()}`);
308915
309043
  syncListenerCleanup,
308916
309044
  mediaMap,
308917
309045
  mediaMapObserver,
309046
+ fragmentNormalizeCleanup,
308918
309047
  metaMap: null,
308919
309048
  metaMapObserver: null,
308920
309049
  partSyncHandle: null,
@@ -331691,6 +331820,7 @@ function print() { __p += __j.call(arguments, '') }
331691
331820
  }
331692
331821
  #telemetry = null;
331693
331822
  #documentOpenTracked = false;
331823
+ #constructorFragment = null;
331694
331824
  constructor(options) {
331695
331825
  super();
331696
331826
  this.extensionStorage = {};
@@ -331796,6 +331926,7 @@ function print() { __p += __j.call(arguments, '') }
331796
331926
  resolvedOptions.element = null;
331797
331927
  resolvedOptions.selector = null;
331798
331928
  }
331929
+ this.#constructorFragment = resolvedOptions.fragment ?? null;
331799
331930
  this.#checkHeadless(resolvedOptions);
331800
331931
  this.setOptions(resolvedOptions);
331801
331932
  this.#renderer = resolvedOptions.renderer ?? (domAvailable ? new ProseMirrorRenderer : null);
@@ -331917,6 +332048,7 @@ function print() { __p += __j.call(arguments, '') }
331917
332048
  try {
331918
332049
  const resolvedMode = options?.mode ?? this.options.mode ?? "docx";
331919
332050
  const explicitIsNewFile = options?.isNewFile;
332051
+ const hasOpenFragment = Object.prototype.hasOwnProperty.call(options ?? {}, "fragment");
331920
332052
  const resolvedOptions = {
331921
332053
  ...this.options,
331922
332054
  mode: resolvedMode,
@@ -331925,7 +332057,8 @@ function print() { __p += __j.call(arguments, '') }
331925
332057
  documentMode: options?.documentMode ?? this.options.documentMode ?? "editing",
331926
332058
  html: options?.html,
331927
332059
  markdown: options?.markdown,
331928
- jsonOverride: options?.json ?? null
332060
+ jsonOverride: options?.json ?? null,
332061
+ fragment: hasOpenFragment ? options?.fragment ?? null : this.options.fragment ?? this.#constructorFragment
331929
332062
  };
331930
332063
  const loadOptions = options?.password ? { password: options.password } : undefined;
331931
332064
  if (typeof source === "string")
@@ -332059,6 +332192,7 @@ function print() { __p += __j.call(arguments, '') }
332059
332192
  this.options.initialState = null;
332060
332193
  this.options.content = "";
332061
332194
  this.options.fileSource = null;
332195
+ this.options.fragment = null;
332062
332196
  this._state = undefined;
332063
332197
  }
332064
332198
  #initProtectionState() {
@@ -332763,8 +332897,10 @@ function print() { __p += __j.call(arguments, '') }
332763
332897
  });
332764
332898
  else if (this.options.jsonOverride)
332765
332899
  doc$12 = this.schema.nodeFromJSON(this.options.jsonOverride);
332766
- if (fragment2)
332900
+ if (fragment2) {
332901
+ normalizeYjsFragmentForSchema(fragment2);
332767
332902
  doc$12 = yXmlFragmentToProseMirrorRootNode(fragment2, this.schema);
332903
+ }
332768
332904
  }
332769
332905
  else if (mode === "text" || mode === "html")
332770
332906
  if (loadFromSchema && hasJsonContent(content3))
@@ -333330,12 +333466,13 @@ function print() { __p += __j.call(arguments, '') }
333330
333466
  isHeadless: !(config2?.element != null || config2?.selector != null),
333331
333467
  ...config2
333332
333468
  };
333333
- const { html: html3, markdown, json, isCommentsEnabled, suppressDefaultDocxStyles, documentMode, content: content3, mediaFiles, fonts, isNewFile, password, ...editorConfig } = resolvedConfig;
333469
+ const { html: html3, markdown, json, fragment: fragment2, isCommentsEnabled, suppressDefaultDocxStyles, documentMode, content: content3, mediaFiles, fonts, isNewFile, password, ...editorConfig } = resolvedConfig;
333334
333470
  const openOptions = {
333335
333471
  mode: resolvedConfig.mode,
333336
333472
  html: html3,
333337
333473
  markdown,
333338
333474
  json,
333475
+ fragment: fragment2,
333339
333476
  isCommentsEnabled,
333340
333477
  suppressDefaultDocxStyles,
333341
333478
  documentMode,
@@ -345449,11 +345586,11 @@ function print() { __p += __j.call(arguments, '') }
345449
345586
  ];
345450
345587
  });
345451
345588
 
345452
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-Dv5eUJtx.es.js
345589
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-BLDU9pTd.es.js
345453
345590
  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;
345454
- var init_create_super_doc_ui_Dv5eUJtx_es = __esm(() => {
345455
- init_SuperConverter_yBMSqEiB_es();
345456
- init_create_headless_toolbar_DOHBUV3P_es();
345591
+ var init_create_super_doc_ui_BLDU9pTd_es = __esm(() => {
345592
+ init_SuperConverter_k7GHkV_c_es();
345593
+ init_create_headless_toolbar_dycevpY9_es();
345457
345594
  MOD_ALIASES = new Set([
345458
345595
  "Mod",
345459
345596
  "Meta",
@@ -345495,16 +345632,16 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
345495
345632
 
345496
345633
  // ../../packages/superdoc/dist/super-editor.es.js
345497
345634
  var init_super_editor_es = __esm(() => {
345498
- init_src_Cccxf1lk_es();
345499
- init_SuperConverter_yBMSqEiB_es();
345635
+ init_src_AnmYYbEU_es();
345636
+ init_SuperConverter_k7GHkV_c_es();
345500
345637
  init_jszip_C49i9kUs_es();
345501
345638
  init_xml_js_CqGKpaft_es();
345502
- init_create_headless_toolbar_DOHBUV3P_es();
345639
+ init_create_headless_toolbar_dycevpY9_es();
345503
345640
  init_constants_DrU4EASo_es();
345504
345641
  init_dist_B8HfvhaK_es();
345505
345642
  init_unified_Dsuw2be5_es();
345506
345643
  init_DocxZipper_CZMPWpOp_es();
345507
- init_create_super_doc_ui_Dv5eUJtx_es();
345644
+ init_create_super_doc_ui_BLDU9pTd_es();
345508
345645
  init_ui_C5PAS9hY_es();
345509
345646
  init_eventemitter3_BnGqBE_Q_es();
345510
345647
  init_errors_CNaD6vcg_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.13.0-next.5",
3
+ "version": "0.13.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/super-editor": "0.0.1",
30
- "superdoc": "1.35.0"
29
+ "superdoc": "1.35.0",
30
+ "@superdoc/super-editor": "0.0.1"
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.13.0-next.5",
38
- "@superdoc-dev/cli-darwin-x64": "0.13.0-next.5",
39
- "@superdoc-dev/cli-linux-x64": "0.13.0-next.5",
40
- "@superdoc-dev/cli-linux-arm64": "0.13.0-next.5",
41
- "@superdoc-dev/cli-windows-x64": "0.13.0-next.5"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.13.0-next.6",
38
+ "@superdoc-dev/cli-darwin-x64": "0.13.0-next.6",
39
+ "@superdoc-dev/cli-linux-x64": "0.13.0-next.6",
40
+ "@superdoc-dev/cli-linux-arm64": "0.13.0-next.6",
41
+ "@superdoc-dev/cli-windows-x64": "0.13.0-next.6"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",