@processmaker/screen-builder 2.69.0 → 2.70.0

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/screen-builder",
3
- "version": "2.69.0",
3
+ "version": "2.70.0",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -39,7 +39,7 @@
39
39
  "@cypress/code-coverage": "^3.8.1",
40
40
  "@fortawesome/fontawesome-free": "^5.6.1",
41
41
  "@panter/vue-i18next": "^0.15.2",
42
- "@processmaker/vue-form-elements": "0.44.1",
42
+ "@processmaker/vue-form-elements": "0.45.0",
43
43
  "@processmaker/vue-multiselect": "^2.2.0",
44
44
  "@vue/cli-plugin-babel": "^3.6.0",
45
45
  "@vue/cli-plugin-e2e-cypress": "^4.0.3",
@@ -88,7 +88,7 @@
88
88
  },
89
89
  "peerDependencies": {
90
90
  "@panter/vue-i18next": "^0.15.0",
91
- "@processmaker/vue-form-elements": "0.44.1",
91
+ "@processmaker/vue-form-elements": "0.45.0",
92
92
  "i18next": "^15.0.8",
93
93
  "vue": "^2.6.12",
94
94
  "vuex": "^3.1.1"
@@ -154,7 +154,7 @@ export default {
154
154
  },
155
155
  resetValue(safeDotName, variableName) {
156
156
  this.setValue(safeDotName, null);
157
- this.updateScreenDataNow(safeDotName, variableName);
157
+ this.updateScreenDataNow(safeDotName, variableName, false);
158
158
  },
159
159
  getValidationData() {
160
160
  return this.vdata;
@@ -194,8 +194,10 @@ export default {
194
194
  this.blockUpdate(safeDotName, 210);
195
195
  this.setValueDebounced(variable, this[safeDotName], this.vdata);
196
196
  },
197
- updateScreenDataNow(safeDotName, variable) {
198
- this[`${safeDotName}_was_filled__`] = true;
197
+ updateScreenDataNow(safeDotName, variable, setWasFilled = true) {
198
+ if (setWasFilled) {
199
+ this[`${safeDotName}_was_filled__`] = true;
200
+ }
199
201
  this.setValue(variable, this[safeDotName], this.vdata);
200
202
  this.unblockUpdate(safeDotName);
201
203
  },