@superdoc-dev/cli 0.8.0-next.74 → 0.8.0-next.76

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 +5 -3
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -207317,7 +207317,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
207317
207317
  init_remark_gfm_BhnWr3yf_es();
207318
207318
  });
207319
207319
 
207320
- // ../../packages/superdoc/dist/chunks/src-BYPEYuyT.es.js
207320
+ // ../../packages/superdoc/dist/chunks/src-DKka36--.es.js
207321
207321
  function deleteProps(obj, propOrProps) {
207322
207322
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
207323
207323
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -298930,7 +298930,7 @@ menclose::after {
298930
298930
  return;
298931
298931
  console.log(...args$1);
298932
298932
  }, 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;
298933
- var init_src_BYPEYuyT_es = __esm(() => {
298933
+ var init_src_DKka36_es = __esm(() => {
298934
298934
  init_rolldown_runtime_Bg48TavK_es();
298935
298935
  init_SuperConverter_ing_1fvK_es();
298936
298936
  init_jszip_C49i9kUs_es();
@@ -299535,6 +299535,8 @@ ${err.toString()}`);
299535
299535
  contextmenu: (view, event) => {
299536
299536
  if (shouldAllowNativeContextMenu(event))
299537
299537
  return false;
299538
+ if (editor.options?.disableContextMenu)
299539
+ return false;
299538
299540
  event.preventDefault();
299539
299541
  const { selection } = view.state;
299540
299542
  if (!selection.empty)
@@ -336347,7 +336349,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
336347
336349
 
336348
336350
  // ../../packages/superdoc/dist/super-editor.es.js
336349
336351
  var init_super_editor_es = __esm(() => {
336350
- init_src_BYPEYuyT_es();
336352
+ init_src_DKka36_es();
336351
336353
  init_SuperConverter_ing_1fvK_es();
336352
336354
  init_jszip_C49i9kUs_es();
336353
336355
  init_xml_js_CqGKpaft_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.8.0-next.74",
3
+ "version": "0.8.0-next.76",
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/pm-adapter": "0.0.0",
28
- "@superdoc/super-editor": "0.0.1",
29
27
  "@superdoc/document-api": "0.0.1",
30
- "superdoc": "1.31.0"
28
+ "@superdoc/pm-adapter": "0.0.0",
29
+ "superdoc": "1.31.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.8.0-next.74",
38
- "@superdoc-dev/cli-darwin-x64": "0.8.0-next.74",
39
- "@superdoc-dev/cli-linux-x64": "0.8.0-next.74",
40
- "@superdoc-dev/cli-linux-arm64": "0.8.0-next.74",
41
- "@superdoc-dev/cli-windows-x64": "0.8.0-next.74"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.8.0-next.76",
38
+ "@superdoc-dev/cli-darwin-x64": "0.8.0-next.76",
39
+ "@superdoc-dev/cli-linux-x64": "0.8.0-next.76",
40
+ "@superdoc-dev/cli-windows-x64": "0.8.0-next.76",
41
+ "@superdoc-dev/cli-linux-arm64": "0.8.0-next.76"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",