@zenuml/core 2.0.13 → 2.0.14

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.
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 14.21
package/README.md CHANGED
@@ -78,3 +78,4 @@ Parser enhancement with customised functionalities is in the `src/parser` folder
78
78
 
79
79
  Almost everything else under serc are for the renderer. The render is based on VueJs 2.x.
80
80
 
81
+ The building version of node must be v14. The latest version of node is not supported.
package/README_CN.md CHANGED
@@ -13,3 +13,5 @@ DSL解析器是基于Antlr4构建的。其定义文件位于`src/g4`。生成的
13
13
  对解析器的增强相关的代码位于`src/parser`文件夹。
14
14
 
15
15
  所有其他的文件基本上都是跟渲染器相关的。渲染器是基于VueJs 2.x开发的。
16
+
17
+ 必须使用 node v14 进行编译,新版本的 node 会导致编译失败。
@@ -26421,6 +26421,11 @@ class ZenUml {
26421
26421
  get theme() {
26422
26422
  return this._theme;
26423
26423
  }
26424
+ getPng() {
26425
+ return (0, _tslib.__awaiter)(this, void 0, void 0, function* () {
26426
+ return this.app.$children[0].toPng();
26427
+ });
26428
+ }
26424
26429
  }
26425
26430
  exports.Z = ZenUml;
26426
26431
 
@@ -27530,7 +27535,7 @@ exports.Z = void 0;
27530
27535
  //
27531
27536
  //
27532
27537
 
27533
- const commitHash = "b84c9ca";
27538
+ const commitHash = "adc582d";
27534
27539
  const gitBranch = "main";
27535
27540
  var _default = {
27536
27541
  name: "Debug",