@superdoc-dev/cli 0.2.0-next.146 → 0.2.0-next.147

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 +10 -5
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -136170,7 +136170,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
136170
136170
  init_remark_gfm_z_sDF4ss_es();
136171
136171
  });
136172
136172
 
136173
- // ../../packages/superdoc/dist/chunks/src-DNF-tG2w.es.js
136173
+ // ../../packages/superdoc/dist/chunks/src-wsfRydup.es.js
136174
136174
  function deleteProps(obj, propOrProps) {
136175
136175
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
136176
136176
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -222083,7 +222083,7 @@ var Node$13 = class Node$14 {
222083
222083
  return false;
222084
222084
  return Boolean(checker(attrs));
222085
222085
  }, SuperToolbar, ICONS, TEXTS, tableActionsOptions;
222086
- var init_src_DNF_tG2w_es = __esm(() => {
222086
+ var init_src_wsfRydup_es = __esm(() => {
222087
222087
  init_rolldown_runtime_B2q5OVn9_es();
222088
222088
  init_SuperConverter_DBTvnSJQ_es();
222089
222089
  init_jszip_ChlR43oI_es();
@@ -254581,7 +254581,12 @@ function print() { __p += __j.call(arguments, '') }
254581
254581
  const isSeparator = (item) => item.type === "separator";
254582
254582
  const isOverflow = (item) => item.type === "overflow";
254583
254583
  const getExpanded = (item) => {
254584
- return Boolean(item?.expand?.value);
254584
+ if (!item)
254585
+ return false;
254586
+ const expand = item.expand;
254587
+ if (typeof expand === "object" && expand !== null && "value" in expand)
254588
+ return Boolean(expand.value);
254589
+ return Boolean(expand);
254585
254590
  };
254586
254591
  const setExpanded = (item, open2) => {
254587
254592
  if (!item?.expand)
@@ -254877,7 +254882,7 @@ function print() { __p += __j.call(arguments, '') }
254877
254882
  }), 128))], 36);
254878
254883
  };
254879
254884
  }
254880
- }, [["__scopeId", "data-v-f7aade55"]]);
254885
+ }, [["__scopeId", "data-v-069cac8b"]]);
254881
254886
  Toolbar_default = /* @__PURE__ */ __plugin_vue_export_helper_default({
254882
254887
  __name: "Toolbar",
254883
254888
  emits: [
@@ -255987,7 +255992,7 @@ var init_zipper_DqXT7uTa_es = __esm(() => {
255987
255992
 
255988
255993
  // ../../packages/superdoc/dist/super-editor.es.js
255989
255994
  var init_super_editor_es = __esm(() => {
255990
- init_src_DNF_tG2w_es();
255995
+ init_src_wsfRydup_es();
255991
255996
  init_SuperConverter_DBTvnSJQ_es();
255992
255997
  init_jszip_ChlR43oI_es();
255993
255998
  init_xml_js_BtmJ6bNs_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.2.0-next.146",
3
+ "version": "0.2.0-next.147",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -21,20 +21,20 @@
21
21
  "@types/node": "22.19.2",
22
22
  "typescript": "^5.9.2",
23
23
  "@superdoc/document-api": "0.0.1",
24
- "@superdoc/super-editor": "0.0.1",
25
24
  "@superdoc/pm-adapter": "0.0.0",
26
- "superdoc": "1.18.0"
25
+ "superdoc": "1.18.0",
26
+ "@superdoc/super-editor": "0.0.1"
27
27
  },
28
28
  "module": "src/index.ts",
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@superdoc-dev/cli-darwin-arm64": "0.2.0-next.146",
34
- "@superdoc-dev/cli-darwin-x64": "0.2.0-next.146",
35
- "@superdoc-dev/cli-linux-x64": "0.2.0-next.146",
36
- "@superdoc-dev/cli-linux-arm64": "0.2.0-next.146",
37
- "@superdoc-dev/cli-windows-x64": "0.2.0-next.146"
33
+ "@superdoc-dev/cli-darwin-arm64": "0.2.0-next.147",
34
+ "@superdoc-dev/cli-darwin-x64": "0.2.0-next.147",
35
+ "@superdoc-dev/cli-linux-x64": "0.2.0-next.147",
36
+ "@superdoc-dev/cli-linux-arm64": "0.2.0-next.147",
37
+ "@superdoc-dev/cli-windows-x64": "0.2.0-next.147"
38
38
  },
39
39
  "scripts": {
40
40
  "dev": "bun run src/index.ts",