@superdoc-dev/cli 0.5.0-next.35 → 0.5.0-next.36

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 +7 -5
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -172583,7 +172583,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
172583
172583
  init_remark_gfm_z_sDF4ss_es();
172584
172584
  });
172585
172585
 
172586
- // ../../packages/superdoc/dist/chunks/src-XIzWLug0.es.js
172586
+ // ../../packages/superdoc/dist/chunks/src-DZybrtzR.es.js
172587
172587
  function deleteProps(obj, propOrProps) {
172588
172588
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
172589
172589
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -255326,7 +255326,7 @@ var Node$13 = class Node$14 {
255326
255326
  return;
255327
255327
  console.log(...args$1);
255328
255328
  }, 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;
255329
- var init_src_XIzWLug0_es = __esm(() => {
255329
+ var init_src_DZybrtzR_es = __esm(() => {
255330
255330
  init_rolldown_runtime_B2q5OVn9_es();
255331
255331
  init_SuperConverter_B9oNf3OB_es();
255332
255332
  init_jszip_ChlR43oI_es();
@@ -288139,11 +288139,13 @@ function print() { __p += __j.call(arguments, '') }
288139
288139
  extraMeasures = Array.isArray(result.extraMeasures) ? result.extraMeasures : undefined;
288140
288140
  layout.pageGap = this.#getEffectivePageGap();
288141
288141
  layout.layoutEpoch = layoutEpoch;
288142
+ const resolveBlocks = extraBlocks ? [...blocksForLayout, ...extraBlocks] : blocksForLayout;
288143
+ const resolveMeasures = extraMeasures ? [...measures, ...extraMeasures] : measures;
288142
288144
  resolvedLayout = resolveLayout({
288143
288145
  layout,
288144
288146
  flowMode: this.#layoutOptions.flowMode ?? "paginated",
288145
- blocks: blocksForLayout,
288146
- measures
288147
+ blocks: resolveBlocks,
288148
+ measures: resolveMeasures
288147
288149
  });
288148
288150
  headerLayouts = result.headers;
288149
288151
  footerLayouts = result.footers;
@@ -289814,7 +289816,7 @@ var init_zipper_YmNpPIyc_es = __esm(() => {
289814
289816
 
289815
289817
  // ../../packages/superdoc/dist/super-editor.es.js
289816
289818
  var init_super_editor_es = __esm(() => {
289817
- init_src_XIzWLug0_es();
289819
+ init_src_DZybrtzR_es();
289818
289820
  init_SuperConverter_B9oNf3OB_es();
289819
289821
  init_jszip_ChlR43oI_es();
289820
289822
  init_xml_js_40FWvL78_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.5.0-next.35",
3
+ "version": "0.5.0-next.36",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -34,11 +34,11 @@
34
34
  "access": "public"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@superdoc-dev/cli-darwin-arm64": "0.5.0-next.35",
38
- "@superdoc-dev/cli-darwin-x64": "0.5.0-next.35",
39
- "@superdoc-dev/cli-linux-x64": "0.5.0-next.35",
40
- "@superdoc-dev/cli-windows-x64": "0.5.0-next.35",
41
- "@superdoc-dev/cli-linux-arm64": "0.5.0-next.35"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.5.0-next.36",
38
+ "@superdoc-dev/cli-linux-x64": "0.5.0-next.36",
39
+ "@superdoc-dev/cli-linux-arm64": "0.5.0-next.36",
40
+ "@superdoc-dev/cli-darwin-x64": "0.5.0-next.36",
41
+ "@superdoc-dev/cli-windows-x64": "0.5.0-next.36"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",