@superdoc-dev/cli 0.5.0-next.20 → 0.5.0-next.21

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 +9 -4
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -172511,7 +172511,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
172511
172511
  init_remark_gfm_z_sDF4ss_es();
172512
172512
  });
172513
172513
 
172514
- // ../../packages/superdoc/dist/chunks/src-CxFOmQ5k.es.js
172514
+ // ../../packages/superdoc/dist/chunks/src-Cw_DXVwb.es.js
172515
172515
  function deleteProps(obj, propOrProps) {
172516
172516
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
172517
172517
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -244104,6 +244104,7 @@ var Node$13 = class Node$14 {
244104
244104
  icon: toolbarIcons$1.lineHeight,
244105
244105
  hasCaret: false,
244106
244106
  hasInlineTextInput: false,
244107
+ hideLabel: true,
244107
244108
  inlineTextInputVisible: false,
244108
244109
  suppressActiveHighlight: true,
244109
244110
  isWide: false,
@@ -254874,7 +254875,7 @@ var Node$13 = class Node$14 {
254874
254875
  return;
254875
254876
  console.log(...args$1);
254876
254877
  }, 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;
254877
- var init_src_CxFOmQ5k_es = __esm(() => {
254878
+ var init_src_Cw_DXVwb_es = __esm(() => {
254878
254879
  init_rolldown_runtime_B2q5OVn9_es();
254879
254880
  init_SuperConverter_CYbYOJeZ_es();
254880
254881
  init_jszip_ChlR43oI_es();
@@ -280209,7 +280210,11 @@ function print() { __p += __j.call(arguments, '') }
280209
280210
  argument,
280210
280211
  item
280211
280212
  });
280212
- item?.activate?.();
280213
+ const labelAttr = item?.labelAttr?.value;
280214
+ if (labelAttr && argument)
280215
+ item?.activate?.({ [labelAttr]: argument });
280216
+ else
280217
+ item?.activate?.();
280213
280218
  if (this.activeEditor && !this.activeEditor.options.isHeaderOrFooter)
280214
280219
  this.activeEditor.focus();
280215
280220
  return;
@@ -288870,7 +288875,7 @@ var init_zipper_YmNpPIyc_es = __esm(() => {
288870
288875
 
288871
288876
  // ../../packages/superdoc/dist/super-editor.es.js
288872
288877
  var init_super_editor_es = __esm(() => {
288873
- init_src_CxFOmQ5k_es();
288878
+ init_src_Cw_DXVwb_es();
288874
288879
  init_SuperConverter_CYbYOJeZ_es();
288875
288880
  init_jszip_ChlR43oI_es();
288876
288881
  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.20",
3
+ "version": "0.5.0-next.21",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -26,19 +26,19 @@
26
26
  "typescript": "^5.9.2",
27
27
  "@superdoc/document-api": "0.0.1",
28
28
  "@superdoc/super-editor": "0.0.1",
29
- "@superdoc/pm-adapter": "0.0.0",
30
- "superdoc": "1.23.0"
29
+ "superdoc": "1.23.0",
30
+ "@superdoc/pm-adapter": "0.0.0"
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.5.0-next.20",
38
- "@superdoc-dev/cli-linux-x64": "0.5.0-next.20",
39
- "@superdoc-dev/cli-linux-arm64": "0.5.0-next.20",
40
- "@superdoc-dev/cli-windows-x64": "0.5.0-next.20",
41
- "@superdoc-dev/cli-darwin-x64": "0.5.0-next.20"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.5.0-next.21",
38
+ "@superdoc-dev/cli-darwin-x64": "0.5.0-next.21",
39
+ "@superdoc-dev/cli-linux-x64": "0.5.0-next.21",
40
+ "@superdoc-dev/cli-windows-x64": "0.5.0-next.21",
41
+ "@superdoc-dev/cli-linux-arm64": "0.5.0-next.21"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",