@superdoc-dev/cli 0.2.0-next.65 → 0.2.0-next.67

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 +17 -15
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -105834,9 +105834,9 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
105834
105834
  init_remark_gfm_z_sDF4ss_es();
105835
105835
  });
105836
105836
 
105837
- // ../../packages/superdoc/dist/chunks/src-aszmP-mi.es.js
105838
- var exports_src_aszmP_mi_es = {};
105839
- __export(exports_src_aszmP_mi_es, {
105837
+ // ../../packages/superdoc/dist/chunks/src-gSp8Rgxi.es.js
105838
+ var exports_src_gSp8Rgxi_es = {};
105839
+ __export(exports_src_gSp8Rgxi_es, {
105840
105840
  zt: () => defineMark,
105841
105841
  z: () => cM,
105842
105842
  yt: () => removeAwarenessStates,
@@ -160437,10 +160437,11 @@ var Node$13 = class Node$14 {
160437
160437
  });
160438
160438
  }
160439
160439
  else {
160440
- before = liveMarks.filter((mark2) => ![TrackDeleteMarkName, TrackFormatMarkName].includes(mark2.type.name)).map((mark2) => ({
160441
- type: mark2.type.name,
160442
- attrs: { ...mark2.attrs }
160443
- }));
160440
+ const existingMarkOfSameType = liveMarks.find((mark2) => mark2.type.name === step.mark.type.name && !["trackDelete", "trackFormat"].includes(mark2.type.name));
160441
+ before = existingMarkOfSameType ? [{
160442
+ type: existingMarkOfSameType.type.name,
160443
+ attrs: { ...existingMarkOfSameType.attrs }
160444
+ }] : [];
160444
160445
  after = [{
160445
160446
  type: step.mark.type.name,
160446
160447
  attrs: { ...step.mark.attrs }
@@ -180497,7 +180498,7 @@ var Node$13 = class Node$14 {
180497
180498
  trackedChanges: context.trackedChanges ?? []
180498
180499
  });
180499
180500
  }, _hoisted_1$6, _hoisted_2$2, _hoisted_3, _hoisted_4, ContextMenu_default, _hoisted_1$5, BasicUpload_default, _hoisted_1$4, MIN_WIDTH = 200, PPI = 96, alignment = "flex-end", Ruler_default, GenericPopover_default, _hoisted_1$3, _hoisted_2$1, RESIZE_HANDLE_WIDTH_PX = 9, RESIZE_HANDLE_HEIGHT_PX = 9, RESIZE_HANDLE_OFFSET_PX = 4, DRAG_OVERLAY_EXTENSION_PX = 1000, MIN_DRAG_OVERLAY_WIDTH_PX = 2000, THROTTLE_INTERVAL_MS = 16, MIN_RESIZE_DELTA_PX = 1, TableResizeOverlay_default, _hoisted_1$2, OVERLAY_EXPANSION_PX = 2000, RESIZE_HANDLE_SIZE_PX = 12, MOUSE_MOVE_THROTTLE_MS = 16, DIMENSION_CHANGE_THRESHOLD_PX = 1, Z_INDEX_OVERLAY = 10, Z_INDEX_HANDLE = 15, Z_INDEX_GUIDELINE = 20, ImageResizeOverlay_default, LINK_CLICK_DEBOUNCE_MS = 300, CURSOR_UPDATE_TIMEOUT_MS = 10, POPOVER_VERTICAL_OFFSET_PX = 15, LinkClickHandler_default, _hoisted_1$1, _hoisted_2, DOCX2 = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", TABLE_RESIZE_HOVER_THRESHOLD = 8, TABLE_RESIZE_THROTTLE_MS = 16, SuperEditor_default, _hoisted_1, SuperInput_default, SlashMenu, Extensions;
180500
- var init_src_aszmP_mi_es = __esm(() => {
180501
+ var init_src_gSp8Rgxi_es = __esm(() => {
180501
180502
  init_rolldown_runtime_B2q5OVn9_es();
180502
180503
  init_SuperConverter_BTfRwdVj_es();
180503
180504
  init_jszip_ChlR43oI_es();
@@ -203621,6 +203622,7 @@ function print() { __p += __j.call(arguments, '') }
203621
203622
  name: CommentMarkName,
203622
203623
  group: "comments",
203623
203624
  excludes: "",
203625
+ inclusive: false,
203624
203626
  addOptions() {
203625
203627
  return { htmlAttributes: { class: "sd-editor-comment" } };
203626
203628
  },
@@ -211825,8 +211827,8 @@ function print() { __p += __j.call(arguments, '') }
211825
211827
  return isObjectLike_default(value) && hasOwnProperty$8.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
211826
211828
  };
211827
211829
  stubFalse_default = stubFalse;
211828
- freeExports$2 = typeof exports_src_aszmP_mi_es == "object" && exports_src_aszmP_mi_es && !exports_src_aszmP_mi_es.nodeType && exports_src_aszmP_mi_es;
211829
- freeModule$2 = freeExports$2 && typeof module_src_aszmP_mi_es == "object" && module_src_aszmP_mi_es && !module_src_aszmP_mi_es.nodeType && module_src_aszmP_mi_es;
211830
+ freeExports$2 = typeof exports_src_gSp8Rgxi_es == "object" && exports_src_gSp8Rgxi_es && !exports_src_gSp8Rgxi_es.nodeType && exports_src_gSp8Rgxi_es;
211831
+ freeModule$2 = freeExports$2 && typeof module_src_gSp8Rgxi_es == "object" && module_src_gSp8Rgxi_es && !module_src_gSp8Rgxi_es.nodeType && module_src_gSp8Rgxi_es;
211830
211832
  Buffer$1 = freeModule$2 && freeModule$2.exports === freeExports$2 ? _root_default.Buffer : undefined;
211831
211833
  isBuffer_default = (Buffer$1 ? Buffer$1.isBuffer : undefined) || stubFalse_default;
211832
211834
  typedArrayTags = {};
@@ -211834,8 +211836,8 @@ function print() { __p += __j.call(arguments, '') }
211834
211836
  typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$1] = typedArrayTags[dataViewTag$2] = typedArrayTags[dateTag$1] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag] = typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] = typedArrayTags[objectTag$3] = typedArrayTags[regexpTag$1] = typedArrayTags[setTag$2] = typedArrayTags[stringTag$1] = typedArrayTags[weakMapTag$1] = false;
211835
211837
  _baseIsTypedArray_default = baseIsTypedArray;
211836
211838
  _baseUnary_default = baseUnary;
211837
- freeExports$1 = typeof exports_src_aszmP_mi_es == "object" && exports_src_aszmP_mi_es && !exports_src_aszmP_mi_es.nodeType && exports_src_aszmP_mi_es;
211838
- freeModule$1 = freeExports$1 && typeof module_src_aszmP_mi_es == "object" && module_src_aszmP_mi_es && !module_src_aszmP_mi_es.nodeType && module_src_aszmP_mi_es;
211839
+ freeExports$1 = typeof exports_src_gSp8Rgxi_es == "object" && exports_src_gSp8Rgxi_es && !exports_src_gSp8Rgxi_es.nodeType && exports_src_gSp8Rgxi_es;
211840
+ freeModule$1 = freeExports$1 && typeof module_src_gSp8Rgxi_es == "object" && module_src_gSp8Rgxi_es && !module_src_gSp8Rgxi_es.nodeType && module_src_gSp8Rgxi_es;
211839
211841
  freeProcess = freeModule$1 && freeModule$1.exports === freeExports$1 && _freeGlobal_default.process;
211840
211842
  _nodeUtil_default = function() {
211841
211843
  try {
@@ -211940,8 +211942,8 @@ function print() { __p += __j.call(arguments, '') }
211940
211942
  Stack.prototype.has = _stackHas_default;
211941
211943
  Stack.prototype.set = _stackSet_default;
211942
211944
  _Stack_default = Stack;
211943
- freeExports = typeof exports_src_aszmP_mi_es == "object" && exports_src_aszmP_mi_es && !exports_src_aszmP_mi_es.nodeType && exports_src_aszmP_mi_es;
211944
- freeModule = freeExports && typeof module_src_aszmP_mi_es == "object" && module_src_aszmP_mi_es && !module_src_aszmP_mi_es.nodeType && module_src_aszmP_mi_es;
211945
+ freeExports = typeof exports_src_gSp8Rgxi_es == "object" && exports_src_gSp8Rgxi_es && !exports_src_gSp8Rgxi_es.nodeType && exports_src_gSp8Rgxi_es;
211946
+ freeModule = freeExports && typeof module_src_gSp8Rgxi_es == "object" && module_src_gSp8Rgxi_es && !module_src_gSp8Rgxi_es.nodeType && module_src_gSp8Rgxi_es;
211945
211947
  Buffer4 = freeModule && freeModule.exports === freeExports ? _root_default.Buffer : undefined;
211946
211948
  allocUnsafe = Buffer4 ? Buffer4.allocUnsafe : undefined;
211947
211949
  _cloneBuffer_default = cloneBuffer;
@@ -220021,7 +220023,7 @@ var init_zipper_DqXT7uTa_es = __esm(() => {
220021
220023
 
220022
220024
  // ../../packages/superdoc/dist/super-editor.es.js
220023
220025
  var init_super_editor_es = __esm(() => {
220024
- init_src_aszmP_mi_es();
220026
+ init_src_gSp8Rgxi_es();
220025
220027
  init_SuperConverter_BTfRwdVj_es();
220026
220028
  init_jszip_ChlR43oI_es();
220027
220029
  init_xml_js_DLE8mr0n_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.2.0-next.65",
3
+ "version": "0.2.0-next.67",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -29,11 +29,11 @@
29
29
  "access": "public"
30
30
  },
31
31
  "optionalDependencies": {
32
- "@superdoc-dev/cli-darwin-arm64": "0.2.0-next.65",
33
- "@superdoc-dev/cli-darwin-x64": "0.2.0-next.65",
34
- "@superdoc-dev/cli-linux-x64": "0.2.0-next.65",
35
- "@superdoc-dev/cli-linux-arm64": "0.2.0-next.65",
36
- "@superdoc-dev/cli-windows-x64": "0.2.0-next.65"
32
+ "@superdoc-dev/cli-darwin-arm64": "0.2.0-next.67",
33
+ "@superdoc-dev/cli-linux-x64": "0.2.0-next.67",
34
+ "@superdoc-dev/cli-windows-x64": "0.2.0-next.67",
35
+ "@superdoc-dev/cli-linux-arm64": "0.2.0-next.67",
36
+ "@superdoc-dev/cli-darwin-x64": "0.2.0-next.67"
37
37
  },
38
38
  "scripts": {
39
39
  "dev": "bun run src/index.ts",