@projectcaluma/ember-form-builder 11.1.2 → 11.1.3
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.
|
@@ -80,6 +80,7 @@ export default class CfbFormEditorQuestion extends Component {
|
|
|
80
80
|
@queryManager apollo;
|
|
81
81
|
|
|
82
82
|
@tracked linkSlug = true;
|
|
83
|
+
@tracked changeset;
|
|
83
84
|
|
|
84
85
|
@restartableTask
|
|
85
86
|
*data() {
|
|
@@ -194,10 +195,6 @@ export default class CfbFormEditorQuestion extends Component {
|
|
|
194
195
|
return this.data.lastSuccessful?.value?.[0]?.node;
|
|
195
196
|
}
|
|
196
197
|
|
|
197
|
-
get changeset() {
|
|
198
|
-
return new Changeset(this.model, lookupValidator(validations), validations);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
198
|
get prefix() {
|
|
202
199
|
return this.calumaOptions.namespace
|
|
203
200
|
? `${this.calumaOptions.namespace}-`
|
|
@@ -480,6 +477,13 @@ export default class CfbFormEditorQuestion extends Component {
|
|
|
480
477
|
await this.data.perform();
|
|
481
478
|
await this.availableForms.perform();
|
|
482
479
|
await this.availableDataSources.perform();
|
|
480
|
+
if (this.model) {
|
|
481
|
+
this.changeset = new Changeset(
|
|
482
|
+
this.model,
|
|
483
|
+
lookupValidator(validations),
|
|
484
|
+
validations
|
|
485
|
+
);
|
|
486
|
+
}
|
|
483
487
|
}
|
|
484
488
|
|
|
485
489
|
@action
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projectcaluma/ember-form-builder",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.3",
|
|
4
4
|
"description": "Ember engine for building Caluma forms.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@embroider/macros": "^1.10.0",
|
|
25
25
|
"@glimmer/component": "^1.1.2",
|
|
26
26
|
"@glimmer/tracking": "^1.1.2",
|
|
27
|
-
"@projectcaluma/ember-core": "^11.1.
|
|
28
|
-
"@projectcaluma/ember-form": "^11.1.
|
|
27
|
+
"@projectcaluma/ember-core": "^11.1.3",
|
|
28
|
+
"@projectcaluma/ember-form": "^11.1.3",
|
|
29
29
|
"codejar": "^3.7.0",
|
|
30
30
|
"ember-apollo-client": "~4.0.2",
|
|
31
31
|
"ember-auto-import": "^2.6.1",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@ember/test-helpers": "2.7.0",
|
|
63
63
|
"@embroider/test-setup": "2.1.1",
|
|
64
64
|
"@faker-js/faker": "7.6.0",
|
|
65
|
-
"@projectcaluma/ember-testing": "11.1.
|
|
65
|
+
"@projectcaluma/ember-testing": "11.1.3",
|
|
66
66
|
"broccoli-asset-rev": "3.0.0",
|
|
67
67
|
"ember-autoresize-modifier": "^0.7.0",
|
|
68
68
|
"ember-cli": "4.11.0",
|