@superdoc-dev/mcp 0.12.0-next.20 → 0.12.0-next.22

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 +16 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -224126,7 +224126,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
224126
224126
  init_remark_gfm_BhnWr3yf_es();
224127
224127
  });
224128
224128
 
224129
- // ../../packages/superdoc/dist/chunks/src-CZrGc1We.es.js
224129
+ // ../../packages/superdoc/dist/chunks/src-DhR654Bl.es.js
224130
224130
  function deleteProps(obj, propOrProps) {
224131
224131
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
224132
224132
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -321999,7 +321999,7 @@ menclose::after {
321999
321999
  return;
322000
322000
  console.log(...args$1);
322001
322001
  }, 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, TRACKED_MARK_NAMES;
322002
- var init_src_CZrGc1We_es = __esm(() => {
322002
+ var init_src_DhR654Bl_es = __esm(() => {
322003
322003
  init_rolldown_runtime_Bg48TavK_es();
322004
322004
  init_SuperConverter_CLuVUp7o_es();
322005
322005
  init_jszip_C49i9kUs_es();
@@ -351905,6 +351905,13 @@ function print() { __p += __j.call(arguments, '') }
351905
351905
  get visibleHost() {
351906
351906
  return this.#visibleHost;
351907
351907
  }
351908
+ get scrollContainer() {
351909
+ const container = this.#scrollContainer;
351910
+ if (!container || !("ownerDocument" in container))
351911
+ return null;
351912
+ const HTMLElementCtor = container.ownerDocument?.defaultView?.HTMLElement;
351913
+ return HTMLElementCtor && container instanceof HTMLElementCtor ? container : null;
351914
+ }
351908
351915
  get overlayElement() {
351909
351916
  return this.#selectionOverlay ?? null;
351910
351917
  }
@@ -352121,6 +352128,9 @@ function print() { __p += __j.call(arguments, '') }
352121
352128
  getRangeRects(from$1, to, relativeTo) {
352122
352129
  return this.#computeRangeRects(from$1, to, relativeTo);
352123
352130
  }
352131
+ getBodyRangeRects(from$1, to, relativeTo) {
352132
+ return this.#computeRangeRects(from$1, to, relativeTo, { forceBodySurface: true });
352133
+ }
352124
352134
  getSelectionBounds(from$1, to, relativeTo) {
352125
352135
  if (!this.#layoutState.layout)
352126
352136
  return null;
@@ -357777,9 +357787,9 @@ function print() { __p += __j.call(arguments, '') }
357777
357787
  ]);
357778
357788
  });
357779
357789
 
357780
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-DUbQUqo3.es.js
357790
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-CEMWUuKn.es.js
357781
357791
  var DEFAULT_TEXT_ALIGN_OPTIONS, DEFAULT_LINE_HEIGHT_OPTIONS, DEFAULT_ZOOM_OPTIONS, DEFAULT_DOCUMENT_MODE_OPTIONS, DEFAULT_FONT_SIZE_OPTIONS, headlessToolbarConstants, 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, FONT_SIZE_OPTIONS;
357782
- var init_create_super_doc_ui_DUbQUqo3_es = __esm(() => {
357792
+ var init_create_super_doc_ui_CEMWUuKn_es = __esm(() => {
357783
357793
  init_SuperConverter_CLuVUp7o_es();
357784
357794
  init_create_headless_toolbar_Dga1mSBS_es();
357785
357795
  DEFAULT_TEXT_ALIGN_OPTIONS = [
@@ -358072,7 +358082,7 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
358072
358082
 
358073
358083
  // ../../packages/superdoc/dist/super-editor.es.js
358074
358084
  var init_super_editor_es = __esm(() => {
358075
- init_src_CZrGc1We_es();
358085
+ init_src_DhR654Bl_es();
358076
358086
  init_SuperConverter_CLuVUp7o_es();
358077
358087
  init_jszip_C49i9kUs_es();
358078
358088
  init_xml_js_CqGKpaft_es();
@@ -358081,7 +358091,7 @@ var init_super_editor_es = __esm(() => {
358081
358091
  init_dist_B8HfvhaK_es();
358082
358092
  init_unified_Dsuw2be5_es();
358083
358093
  init_DocxZipper_FUsfThjV_es();
358084
- init_create_super_doc_ui_DUbQUqo3_es();
358094
+ init_create_super_doc_ui_CEMWUuKn_es();
358085
358095
  init_ui_C5PAS9hY_es();
358086
358096
  init_eventemitter3_BnGqBE_Q_es();
358087
358097
  init_errors_CNaD6vcg_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.12.0-next.20",
3
+ "version": "0.12.0-next.22",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -20,8 +20,8 @@
20
20
  "@types/node": "22.19.2",
21
21
  "typescript": "^5.9.2",
22
22
  "@superdoc/document-api": "0.0.1",
23
- "@superdoc/super-editor": "0.0.1",
24
- "superdoc": "1.39.0"
23
+ "superdoc": "1.39.0",
24
+ "@superdoc/super-editor": "0.0.1"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"