@processmaker/modeler 1.37.1 → 1.38.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processmaker/modeler",
3
- "version": "1.37.1",
3
+ "version": "1.38.1",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "test:unit": "vue-cli-service test:unit",
@@ -185,7 +185,7 @@ export default {
185
185
  * Parse an ISO8601 expression to get the timer configuration
186
186
  */
187
187
  parseTimerConfig(value) {
188
- if (!value[0].timeCycle.body) {
188
+ if (!value[0]?.timeCycle?.body) {
189
189
  return;
190
190
  }
191
191
 
@@ -107,7 +107,8 @@ export default {
107
107
  selected: false,
108
108
  },
109
109
  ],
110
- cycleManager: null,
110
+ // eslint-disable-next-line vue/no-computed-properties-in-data
111
+ cycleManager: new CycleManager(this.startDate, this.repeat, this.periodicityValue, this.selectedWeekdays, this.endDate, this.ends, this.times),
111
112
  };
112
113
  },
113
114
  watch: {
@@ -143,7 +144,6 @@ export default {
143
144
  foundDay.selected = true;
144
145
  }
145
146
  });
146
- this.cycleManager = new CycleManager(this.startDate, this.repeat, this.periodicityValue, this.selectedWeekdays, this.endDate, this.ends, this.times);
147
147
  },
148
148
  computed: {
149
149
  repeatOnValidationError() {
@@ -6,7 +6,7 @@
6
6
  ref="railLeftBox"
7
7
  >
8
8
  <MiniPaperControl
9
- v-show="showComponent"
9
+ :class="{'hidden-opacity': showComponent === false}"
10
10
  :paper-manager="paperManager"
11
11
  :graph="graph"
12
12
  />
@@ -28,3 +28,10 @@
28
28
  overflow-x: hidden;
29
29
  }
30
30
  }
31
+
32
+ .hidden-opacity {
33
+ opacity: 0;
34
+ visibility: hidden;
35
+ position: absolute;
36
+ pointer-events: none;
37
+ }