@superdoc-dev/cli 0.17.0-next.20 → 0.17.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 +8 -8
package/dist/index.js CHANGED
@@ -234760,7 +234760,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
234760
234760
  init_remark_gfm_BhnWr3yf_es();
234761
234761
  });
234762
234762
 
234763
- // ../../packages/superdoc/dist/chunks/src-CZrGc1We.es.js
234763
+ // ../../packages/superdoc/dist/chunks/src-DhR654Bl.es.js
234764
234764
  function deleteProps(obj, propOrProps) {
234765
234765
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
234766
234766
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -332766,7 +332766,7 @@ menclose::after {
332766
332766
  return;
332767
332767
  console.log(...args$1);
332768
332768
  }, 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;
332769
- var init_src_CZrGc1We_es = __esm(() => {
332769
+ var init_src_DhR654Bl_es = __esm(() => {
332770
332770
  init_rolldown_runtime_Bg48TavK_es();
332771
332771
  init_SuperConverter_CLuVUp7o_es();
332772
332772
  init_jszip_C49i9kUs_es();
@@ -362672,6 +362672,13 @@ function print() { __p += __j.call(arguments, '') }
362672
362672
  get visibleHost() {
362673
362673
  return this.#visibleHost;
362674
362674
  }
362675
+ get scrollContainer() {
362676
+ const container = this.#scrollContainer;
362677
+ if (!container || !("ownerDocument" in container))
362678
+ return null;
362679
+ const HTMLElementCtor = container.ownerDocument?.defaultView?.HTMLElement;
362680
+ return HTMLElementCtor && container instanceof HTMLElementCtor ? container : null;
362681
+ }
362675
362682
  get overlayElement() {
362676
362683
  return this.#selectionOverlay ?? null;
362677
362684
  }
@@ -362888,6 +362895,9 @@ function print() { __p += __j.call(arguments, '') }
362888
362895
  getRangeRects(from$1, to, relativeTo) {
362889
362896
  return this.#computeRangeRects(from$1, to, relativeTo);
362890
362897
  }
362898
+ getBodyRangeRects(from$1, to, relativeTo) {
362899
+ return this.#computeRangeRects(from$1, to, relativeTo, { forceBodySurface: true });
362900
+ }
362891
362901
  getSelectionBounds(from$1, to, relativeTo) {
362892
362902
  if (!this.#layoutState.layout)
362893
362903
  return null;
@@ -368544,9 +368554,9 @@ function print() { __p += __j.call(arguments, '') }
368544
368554
  ]);
368545
368555
  });
368546
368556
 
368547
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-DUbQUqo3.es.js
368557
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-CEMWUuKn.es.js
368548
368558
  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;
368549
- var init_create_super_doc_ui_DUbQUqo3_es = __esm(() => {
368559
+ var init_create_super_doc_ui_CEMWUuKn_es = __esm(() => {
368550
368560
  init_SuperConverter_CLuVUp7o_es();
368551
368561
  init_create_headless_toolbar_Dga1mSBS_es();
368552
368562
  DEFAULT_TEXT_ALIGN_OPTIONS = [
@@ -368839,7 +368849,7 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
368839
368849
 
368840
368850
  // ../../packages/superdoc/dist/super-editor.es.js
368841
368851
  var init_super_editor_es = __esm(() => {
368842
- init_src_CZrGc1We_es();
368852
+ init_src_DhR654Bl_es();
368843
368853
  init_SuperConverter_CLuVUp7o_es();
368844
368854
  init_jszip_C49i9kUs_es();
368845
368855
  init_xml_js_CqGKpaft_es();
@@ -368848,7 +368858,7 @@ var init_super_editor_es = __esm(() => {
368848
368858
  init_dist_B8HfvhaK_es();
368849
368859
  init_unified_Dsuw2be5_es();
368850
368860
  init_DocxZipper_FUsfThjV_es();
368851
- init_create_super_doc_ui_DUbQUqo3_es();
368861
+ init_create_super_doc_ui_CEMWUuKn_es();
368852
368862
  init_ui_C5PAS9hY_es();
368853
368863
  init_eventemitter3_BnGqBE_Q_es();
368854
368864
  init_errors_CNaD6vcg_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.17.0-next.20",
3
+ "version": "0.17.0-next.22",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -25,19 +25,19 @@
25
25
  "@types/ws": "^8.5.13",
26
26
  "typescript": "^5.9.2",
27
27
  "@superdoc/document-api": "0.0.1",
28
- "superdoc": "1.39.0",
29
- "@superdoc/super-editor": "0.0.1"
28
+ "@superdoc/super-editor": "0.0.1",
29
+ "superdoc": "1.39.0"
30
30
  },
31
31
  "module": "src/index.ts",
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
35
  "optionalDependencies": {
36
- "@superdoc-dev/cli-darwin-arm64": "0.17.0-next.20",
37
- "@superdoc-dev/cli-darwin-x64": "0.17.0-next.20",
38
- "@superdoc-dev/cli-linux-x64": "0.17.0-next.20",
39
- "@superdoc-dev/cli-linux-arm64": "0.17.0-next.20",
40
- "@superdoc-dev/cli-windows-x64": "0.17.0-next.20"
36
+ "@superdoc-dev/cli-darwin-x64": "0.17.0-next.22",
37
+ "@superdoc-dev/cli-darwin-arm64": "0.17.0-next.22",
38
+ "@superdoc-dev/cli-linux-x64": "0.17.0-next.22",
39
+ "@superdoc-dev/cli-linux-arm64": "0.17.0-next.22",
40
+ "@superdoc-dev/cli-windows-x64": "0.17.0-next.22"
41
41
  },
42
42
  "scripts": {
43
43
  "predev": "node scripts/ensure-superdoc-build.js",