@projectcaluma/ember-form 11.0.0-beta.18 → 11.0.0-beta.19
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/addon/components/cf-content.js +2 -2
- package/addon/lib/question.js +2 -2
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [@projectcaluma/ember-form-v11.0.0-beta.19](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-v11.0.0-beta.18...@projectcaluma/ember-form-v11.0.0-beta.19) (2022-05-09)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* **resources:** fix deprecations of ember-resources ([7a84c5c](https://github.com/projectcaluma/ember-caluma/commit/7a84c5c78d5b28f7b5393c64722907728dd5f42b))
|
7
|
+
|
1
8
|
# [@projectcaluma/ember-form-v11.0.0-beta.18](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-v11.0.0-beta.17...@projectcaluma/ember-form-v11.0.0-beta.18) (2022-04-13)
|
2
9
|
|
3
10
|
|
@@ -4,7 +4,7 @@ import { inject as service } from "@ember/service";
|
|
4
4
|
import Component from "@glimmer/component";
|
5
5
|
import { queryManager } from "ember-apollo-client";
|
6
6
|
import { dropTask } from "ember-concurrency";
|
7
|
-
import {
|
7
|
+
import { trackedTask } from "ember-resources/util/ember-concurrency";
|
8
8
|
|
9
9
|
import getDocumentAnswersQuery from "@projectcaluma/ember-form/gql/queries/document-answers.graphql";
|
10
10
|
import getDocumentFormsQuery from "@projectcaluma/ember-form/gql/queries/document-forms.graphql";
|
@@ -125,7 +125,7 @@ export default class CfContentComponent extends Component {
|
|
125
125
|
);
|
126
126
|
}
|
127
127
|
|
128
|
-
data =
|
128
|
+
data = trackedTask(this, this.fetchData, () => [this.args.documentId]);
|
129
129
|
|
130
130
|
@dropTask
|
131
131
|
*fetchData() {
|
package/addon/lib/question.js
CHANGED
@@ -2,7 +2,7 @@ import { assert } from "@ember/debug";
|
|
2
2
|
import { camelize } from "@ember/string";
|
3
3
|
import { queryManager } from "ember-apollo-client";
|
4
4
|
import { dropTask } from "ember-concurrency";
|
5
|
-
import {
|
5
|
+
import { trackedTask } from "ember-resources/util/ember-concurrency";
|
6
6
|
import { cached } from "tracked-toolbox";
|
7
7
|
|
8
8
|
import getDynamicOptions from "@projectcaluma/ember-form/gql/queries/dynamic-options.graphql";
|
@@ -77,7 +77,7 @@ export default class Question extends Base {
|
|
77
77
|
);
|
78
78
|
}
|
79
79
|
|
80
|
-
dynamicOptions =
|
80
|
+
dynamicOptions = trackedTask(this, this.loadDynamicOptions, () => []);
|
81
81
|
|
82
82
|
get dynamicChoiceOptions() {
|
83
83
|
return this.dynamicOptions.value ?? [];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@projectcaluma/ember-form",
|
3
|
-
"version": "11.0.0-beta.
|
3
|
+
"version": "11.0.0-beta.19",
|
4
4
|
"description": "Ember addon for rendering Caluma forms.",
|
5
5
|
"keywords": [
|
6
6
|
"ember-addon"
|
@@ -17,9 +17,9 @@
|
|
17
17
|
"@ember/string": "^3.0.0",
|
18
18
|
"@embroider/macros": "^1.6.0",
|
19
19
|
"@embroider/util": "^1.6.0",
|
20
|
-
"@glimmer/component": "^1.1.
|
21
|
-
"@glimmer/tracking": "^1.1.
|
22
|
-
"@projectcaluma/ember-core": "^11.0.0-beta.
|
20
|
+
"@glimmer/component": "^1.1.2",
|
21
|
+
"@glimmer/tracking": "^1.1.2",
|
22
|
+
"@projectcaluma/ember-core": "^11.0.0-beta.7",
|
23
23
|
"ember-apollo-client": "^4.0.2",
|
24
24
|
"ember-auto-import": "^2.4.1",
|
25
25
|
"ember-autoresize-modifier": "^0.5.0",
|
@@ -34,28 +34,28 @@
|
|
34
34
|
"ember-math-helpers": "^2.18.1",
|
35
35
|
"ember-pikaday": "^4.0.0",
|
36
36
|
"ember-power-select": "^5.0.4",
|
37
|
-
"ember-resources": "^4.
|
38
|
-
"ember-uikit": "^5.1.
|
37
|
+
"ember-resources": "^4.7.1",
|
38
|
+
"ember-uikit": "^5.1.3",
|
39
39
|
"ember-validators": "^4.1.2",
|
40
40
|
"graphql": "^15.8.0",
|
41
41
|
"jexl": "^2.3.0",
|
42
42
|
"lodash.isequal": "^4.5.0",
|
43
|
-
"luxon": "^2.
|
43
|
+
"luxon": "^2.4.0",
|
44
44
|
"tracked-toolbox": "^1.2.3"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
47
|
"@ember/optional-features": "2.0.0",
|
48
48
|
"@ember/test-helpers": "2.7.0",
|
49
49
|
"@embroider/test-setup": "1.6.0",
|
50
|
-
"@faker-js/faker": "6.1
|
51
|
-
"@projectcaluma/ember-testing": "11.0.0-beta.
|
52
|
-
"@projectcaluma/ember-workflow": "11.0.0-beta.
|
50
|
+
"@faker-js/faker": "6.3.1",
|
51
|
+
"@projectcaluma/ember-testing": "11.0.0-beta.7",
|
52
|
+
"@projectcaluma/ember-workflow": "^11.0.0-beta.7",
|
53
53
|
"broccoli-asset-rev": "3.0.0",
|
54
54
|
"ember-cli": "3.28.5",
|
55
55
|
"ember-cli-code-coverage": "1.0.3",
|
56
|
-
"ember-cli-dependency-checker": "3.
|
56
|
+
"ember-cli-dependency-checker": "3.3.1",
|
57
57
|
"ember-cli-inject-live-reload": "2.1.0",
|
58
|
-
"ember-cli-mirage": "3.0.0-alpha.
|
58
|
+
"ember-cli-mirage": "3.0.0-alpha.3",
|
59
59
|
"ember-cli-sri": "2.1.1",
|
60
60
|
"ember-cli-terser": "4.0.2",
|
61
61
|
"ember-disable-prototype-extensions": "1.1.3",
|
@@ -64,13 +64,13 @@
|
|
64
64
|
"ember-maybe-import-regenerator": "1.0.0",
|
65
65
|
"ember-qunit": "5.1.5",
|
66
66
|
"ember-resolver": "8.0.3",
|
67
|
-
"ember-source": "3.28.
|
67
|
+
"ember-source": "3.28.9",
|
68
68
|
"ember-source-channel-url": "3.0.0",
|
69
69
|
"ember-try": "2.0.0",
|
70
70
|
"loader.js": "4.7.0",
|
71
71
|
"miragejs": "0.1.43",
|
72
72
|
"npm-run-all": "4.1.5",
|
73
|
-
"qunit": "2.
|
73
|
+
"qunit": "2.19.1",
|
74
74
|
"qunit-dom": "2.0.0",
|
75
75
|
"uuid": "8.3.2",
|
76
76
|
"webpack": "5.72.0"
|