@web-utils/component 3.3.13 → 3.3.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.
@@ -6432,10 +6432,15 @@ const ai = {
6432
6432
  })), n;
6433
6433
  }
6434
6434
  },
6435
+ watch: {
6436
+ value(n) {
6437
+ this.createNewDiagram(n);
6438
+ }
6439
+ },
6435
6440
  mounted() {
6436
6441
  this.initBpmnModeler(), this.createNewDiagram(this.value), this.$once("hook:beforeDestroy", () => {
6437
6442
  this.bpmnModeler && this.bpmnModeler.destroy(), this.$emit("destroy", this.bpmnModeler), this.bpmnModeler = null;
6438
- }), this.$watch(this.value, this.createNewDiagram);
6443
+ });
6439
6444
  },
6440
6445
  methods: {
6441
6446
  initBpmnModeler() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/component",
3
3
  "description": "Web Components",
4
- "version": "3.3.13",
4
+ "version": "3.3.14",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@web-utils/component",
5
- "version": "3.3.13",
5
+ "version": "3.3.14",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",