@superdoc-dev/mcp 0.3.0-next.57 → 0.3.0-next.59

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 +8 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -198853,7 +198853,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
198853
198853
  init_remark_gfm_BhnWr3yf_es();
198854
198854
  });
198855
198855
 
198856
- // ../../packages/superdoc/dist/chunks/src-BYPEYuyT.es.js
198856
+ // ../../packages/superdoc/dist/chunks/src-DKka36--.es.js
198857
198857
  function deleteProps(obj, propOrProps) {
198858
198858
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
198859
198859
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -290466,7 +290466,7 @@ menclose::after {
290466
290466
  return;
290467
290467
  console.log(...args$1);
290468
290468
  }, 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;
290469
- var init_src_BYPEYuyT_es = __esm(() => {
290469
+ var init_src_DKka36_es = __esm(() => {
290470
290470
  init_rolldown_runtime_Bg48TavK_es();
290471
290471
  init_SuperConverter_ing_1fvK_es();
290472
290472
  init_jszip_C49i9kUs_es();
@@ -291071,6 +291071,8 @@ ${err.toString()}`);
291071
291071
  contextmenu: (view, event) => {
291072
291072
  if (shouldAllowNativeContextMenu(event))
291073
291073
  return false;
291074
+ if (editor.options?.disableContextMenu)
291075
+ return false;
291074
291076
  event.preventDefault();
291075
291077
  const { selection } = view.state;
291076
291078
  if (!selection.empty)
@@ -327883,7 +327885,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
327883
327885
 
327884
327886
  // ../../packages/superdoc/dist/super-editor.es.js
327885
327887
  var init_super_editor_es = __esm(() => {
327886
- init_src_BYPEYuyT_es();
327888
+ init_src_DKka36_es();
327887
327889
  init_SuperConverter_ing_1fvK_es();
327888
327890
  init_jszip_C49i9kUs_es();
327889
327891
  init_xml_js_CqGKpaft_es();
@@ -444777,6 +444779,9 @@ var init_custom_selection = __esm(() => {
444777
444779
  if (shouldAllowNativeContextMenu2(event)) {
444778
444780
  return false;
444779
444781
  }
444782
+ if (editor.options?.disableContextMenu) {
444783
+ return false;
444784
+ }
444780
444785
  event.preventDefault();
444781
444786
  const { selection } = view.state;
444782
444787
  if (!selection.empty) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.3.0-next.57",
3
+ "version": "0.3.0-next.59",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=20"