@processmaker/screen-builder 2.24.0 → 2.24.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/dist/vue-form-builder.common.js +5881 -5812
- package/dist/vue-form-builder.common.js.map +1 -1
- package/dist/vue-form-builder.umd.js +5881 -5812
- package/dist/vue-form-builder.umd.js.map +1 -1
- package/dist/vue-form-builder.umd.min.js +33 -33
- package/dist/vue-form-builder.umd.min.js.map +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/mixins/computedFields.js +8 -2
package/package-lock.json
CHANGED
package/package.json
CHANGED
package/src/.DS_Store
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isEqual } from 'lodash';
|
|
1
2
|
import { Parser } from 'expr-eval';
|
|
2
3
|
|
|
3
4
|
export default {
|
|
@@ -10,9 +11,14 @@ export default {
|
|
|
10
11
|
// Monitor if variable belongs to data (defined variables) or
|
|
11
12
|
// vdata (external variables)in this way the event is not
|
|
12
13
|
// executed again when the variable is update
|
|
13
|
-
|
|
14
|
+
|
|
15
|
+
const data = new Proxy(Object.assign({}, this), {
|
|
14
16
|
get(data, name) {
|
|
15
|
-
|
|
17
|
+
if (data[name] === undefined || !isEqual(data[name]), self.vdata[name]) {
|
|
18
|
+
return self.vdata[name];
|
|
19
|
+
} else {
|
|
20
|
+
return data[name];
|
|
21
|
+
}
|
|
16
22
|
},
|
|
17
23
|
set() {
|
|
18
24
|
throw 'You are not allowed to set properties from inside an expression';
|