@projectcaluma/ember-form 14.1.0 → 14.1.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.
@@ -87,21 +87,16 @@ export default class CfFieldComponent extends Component {
|
|
87
87
|
*
|
88
88
|
* @method save
|
89
89
|
* @param {String|Number|String[]} value The new value to save to the field
|
90
|
-
* @param {Boolean} bypassTimeout Whether to bypass the timeout
|
91
90
|
*/
|
92
91
|
@restartableTask
|
93
|
-
*save(value
|
92
|
+
*save(value) {
|
94
93
|
if (typeof this.args.onSave === "function") {
|
95
94
|
return yield this.args.onSave(this.args.field, value);
|
96
95
|
}
|
97
96
|
|
98
97
|
/* istanbul ignore next */
|
99
|
-
if (macroCondition(isTesting())) {
|
100
|
-
|
101
|
-
} else {
|
102
|
-
if (!bypassTimeout) {
|
103
|
-
yield timeout(500);
|
104
|
-
}
|
98
|
+
if (macroCondition(!isTesting())) {
|
99
|
+
yield timeout(500);
|
105
100
|
}
|
106
101
|
|
107
102
|
if (this.args.field.answer) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@projectcaluma/ember-form",
|
3
|
-
"version": "14.1.
|
3
|
+
"version": "14.1.1",
|
4
4
|
"description": "Ember addon for rendering Caluma forms.",
|
5
5
|
"keywords": [
|
6
6
|
"ember-addon"
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"luxon": "^3.5.0",
|
42
42
|
"reactiveweb": "^1.3.0",
|
43
43
|
"tracked-toolbox": "^2.0.0",
|
44
|
-
"@projectcaluma/ember-core": "^14.1.
|
44
|
+
"@projectcaluma/ember-core": "^14.1.1"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
47
|
"@ember/optional-features": "2.2.0",
|
@@ -72,12 +72,12 @@
|
|
72
72
|
"uikit": "3.22.0",
|
73
73
|
"uuid": "11.0.5",
|
74
74
|
"webpack": "5.97.1",
|
75
|
-
"@projectcaluma/ember-workflow": "14.1.
|
76
|
-
"@projectcaluma/ember-testing": "14.1.
|
75
|
+
"@projectcaluma/ember-workflow": "14.1.1",
|
76
|
+
"@projectcaluma/ember-testing": "14.1.1"
|
77
77
|
},
|
78
78
|
"peerDependencies": {
|
79
79
|
"ember-source": ">= 4.0.0",
|
80
|
-
"@projectcaluma/ember-workflow": "^14.1.
|
80
|
+
"@projectcaluma/ember-workflow": "^14.1.1"
|
81
81
|
},
|
82
82
|
"dependenciesMeta": {
|
83
83
|
"@projectcaluma/ember-core": {
|