@cocreate/calculate 1.14.4 → 1.14.6
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/CHANGELOG.md +14 -0
- package/package.json +4 -4
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.14.6](https://github.com/CoCreate-app/CoCreate-calculate/compare/v1.14.5...v1.14.6) (2024-04-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump cocreate dependencies ([64cc018](https://github.com/CoCreate-app/CoCreate-calculate/commit/64cc018ec7d4436aa44080513a976c5745553e8d))
|
|
7
|
+
|
|
8
|
+
## [1.14.5](https://github.com/CoCreate-app/CoCreate-calculate/compare/v1.14.4...v1.14.5) (2024-02-14)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* realtime defaults to false ([ae8206f](https://github.com/CoCreate-app/CoCreate-calculate/commit/ae8206fa61b6fdeea5504653158b6bbaebde45f2))
|
|
14
|
+
|
|
1
15
|
## [1.14.4](https://github.com/CoCreate-app/CoCreate-calculate/compare/v1.14.3...v1.14.4) (2024-02-13)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/calculate",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.6",
|
|
4
4
|
"description": "A handy vanilla JavaScript calculator, concatenate multiple elements containing integers & execute calculates. Can be used for creating invoices,making payments & any kind of complex calculate. Easily configured using HTML5 attributes and/or JavaScript API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"calculate",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"webpack-log": "^3.0.1"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@cocreate/element-prototype": "^1.
|
|
63
|
-
"@cocreate/observer": "^1.
|
|
64
|
-
"@cocreate/utils": "^1.
|
|
62
|
+
"@cocreate/element-prototype": "^1.22.2",
|
|
63
|
+
"@cocreate/observer": "^1.16.0",
|
|
64
|
+
"@cocreate/utils": "^1.33.6"
|
|
65
65
|
}
|
|
66
66
|
}
|
package/src/index.js
CHANGED
|
@@ -114,7 +114,7 @@ async function setCalcationResult(element) {
|
|
|
114
114
|
// TODO: input event below triggers save for all input elements but will not save for regular elements
|
|
115
115
|
if (element.setValue) {
|
|
116
116
|
element.setValue(result)
|
|
117
|
-
if (object && isRealtime
|
|
117
|
+
if (object && isRealtime && isRealtime !== "false") {
|
|
118
118
|
element.save(element);
|
|
119
119
|
}
|
|
120
120
|
}
|