@projectcaluma/ember-distribution 12.15.5 → 13.0.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/addon/components/cd-inquiry-dialog.js +2 -1
- package/addon/services/distribution.js +7 -2
- package/app/styles/_inquiry-divider.scss +1 -0
- package/package.json +27 -27
- package/app/abilities/distribution.js +0 -1
- package/app/abilities/inquiry.js +0 -1
- package/app/components/cd-document-header.js +0 -1
- package/app/components/cd-inquiry-answer-form.js +0 -1
- package/app/components/cd-inquiry-dialog/inquiry-deadline.js +0 -1
- package/app/components/cd-inquiry-dialog/inquiry-divider.js +0 -1
- package/app/components/cd-inquiry-dialog/inquiry-part.js +0 -1
- package/app/components/cd-inquiry-dialog/inquiry.js +0 -1
- package/app/components/cd-inquiry-dialog.js +0 -1
- package/app/components/cd-inquiry-edit-form.js +0 -1
- package/app/components/cd-inquiry-new-form/bulk-edit.js +0 -1
- package/app/components/cd-inquiry-new-form/group-type.js +0 -1
- package/app/components/cd-inquiry-new-form/group.js +0 -1
- package/app/components/cd-inquiry-new-form/select.js +0 -1
- package/app/components/cd-inquiry-new-form.js +0 -1
- package/app/components/cd-navigation/controls.js +0 -1
- package/app/components/cd-navigation/item.js +0 -1
- package/app/components/cd-navigation/section.js +0 -1
- package/app/components/cd-navigation/status-indicator.js +0 -1
- package/app/components/cd-navigation.js +0 -1
- package/app/components/cd-notfound.js +0 -1
- package/app/components/cd-truncated.js +0 -1
- package/app/services/distribution.js +0 -1
- package/app/utils/inquiry-answer-status.js +0 -1
- package/app/utils/inquiry-deadline.js +0 -1
- package/app/utils/inquiry-status.js +0 -1
- package/app/utils/unique-by-groups.js +0 -1
- package/tsconfig.declarations.json +0 -10
@@ -1,4 +1,5 @@
|
|
1
1
|
import { inject as service } from "@ember/service";
|
2
|
+
import { waitForPromise } from "@ember/test-waiters";
|
2
3
|
import Component from "@glimmer/component";
|
3
4
|
import { queryManager, getObservable } from "ember-apollo-client";
|
4
5
|
import { dropTask } from "ember-concurrency";
|
@@ -84,7 +85,7 @@ export default class CdInquiryDialogComponent extends Component {
|
|
84
85
|
|
85
86
|
yield this.distribution.createInquiry.perform([this.args.to]);
|
86
87
|
|
87
|
-
yield getObservable(this._inquiries.value).refetch();
|
88
|
+
yield waitForPromise(getObservable(this._inquiries.value).refetch());
|
88
89
|
|
89
90
|
this.router.transitionTo(
|
90
91
|
"inquiry.detail.index",
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import Service, { inject as service } from "@ember/service";
|
2
|
+
import { waitForPromise } from "@ember/test-waiters";
|
2
3
|
import { tracked } from "@glimmer/tracking";
|
3
4
|
import { queryManager, getObservable } from "ember-apollo-client";
|
4
5
|
import { dropTask } from "ember-concurrency";
|
@@ -44,11 +45,15 @@ export default class DistributionService extends Service {
|
|
44
45
|
}
|
45
46
|
|
46
47
|
async refetchNavigation() {
|
47
|
-
await
|
48
|
+
await waitForPromise(
|
49
|
+
getObservable(this.navigation.value)?.refetch() ?? Promise.resolve(),
|
50
|
+
);
|
48
51
|
}
|
49
52
|
|
50
53
|
async refetchControls() {
|
51
|
-
await
|
54
|
+
await waitForPromise(
|
55
|
+
getObservable(this.controls.value)?.refetch() ?? Promise.resolve(),
|
56
|
+
);
|
52
57
|
}
|
53
58
|
|
54
59
|
@dropTask
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@projectcaluma/ember-distribution",
|
3
|
-
"version": "
|
3
|
+
"version": "13.0.0-beta.1",
|
4
4
|
"description": "Ember engine for the Caluma distribution module.",
|
5
5
|
"keywords": [
|
6
6
|
"ember-addon",
|
@@ -10,43 +10,43 @@
|
|
10
10
|
"homepage": "https://docs.caluma.io/ember-caluma",
|
11
11
|
"repository": "github:projectcaluma/ember-caluma",
|
12
12
|
"dependencies": {
|
13
|
-
"@babel/core": "^7.
|
13
|
+
"@babel/core": "^7.25.2",
|
14
14
|
"@ember/legacy-built-in-components": "^0.5.0",
|
15
|
-
"@ember/string": "^
|
16
|
-
"@embroider/macros": "^1.
|
15
|
+
"@ember/string": "^4.0.0",
|
16
|
+
"@embroider/macros": "^1.16.5",
|
17
17
|
"@glimmer/component": "^1.1.2",
|
18
18
|
"@glimmer/tracking": "^1.1.2",
|
19
19
|
"ember-apollo-client": "~4.0.2",
|
20
|
-
"ember-auto-import": "^2.7.
|
21
|
-
"ember-can": "^
|
20
|
+
"ember-auto-import": "^2.7.4",
|
21
|
+
"ember-can": "^5.0.4",
|
22
22
|
"ember-cli-babel": "^8.2.0",
|
23
23
|
"ember-cli-htmlbars": "^6.3.0",
|
24
24
|
"ember-concurrency": "^4.0.2",
|
25
|
-
"ember-engines-router-service": "^0.
|
25
|
+
"ember-engines-router-service": "^0.6.0",
|
26
26
|
"ember-fetch": "^8.1.2",
|
27
27
|
"ember-flatpickr": "^8.0.0",
|
28
|
-
"ember-intl": "^
|
28
|
+
"ember-intl": "^7.0.4",
|
29
29
|
"ember-svg-jar": "^2.4.9",
|
30
|
-
"ember-test-selectors": "^
|
30
|
+
"ember-test-selectors": "^7.0.0",
|
31
31
|
"ember-uikit": "^9.1.2",
|
32
32
|
"flatpickr": "^4.6.13",
|
33
|
-
"graphql": "^15.
|
33
|
+
"graphql": "^15.9.0",
|
34
34
|
"graphql-tag": "^2.12.6",
|
35
35
|
"lodash.merge": "^4.6.2",
|
36
36
|
"luxon": "^3.4.4",
|
37
|
-
"reactiveweb": "^1.
|
37
|
+
"reactiveweb": "^1.3.0",
|
38
38
|
"tracked-toolbox": "^2.0.0",
|
39
|
-
"@projectcaluma/ember-
|
40
|
-
"@projectcaluma/ember-form": "^
|
41
|
-
"@projectcaluma/ember-
|
39
|
+
"@projectcaluma/ember-core": "^13.0.0-beta.1",
|
40
|
+
"@projectcaluma/ember-form": "^13.0.0-beta.1",
|
41
|
+
"@projectcaluma/ember-workflow": "^12.15.5"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
44
44
|
"@ember/optional-features": "2.1.0",
|
45
|
-
"@ember/test-helpers": "3.3.
|
45
|
+
"@ember/test-helpers": "3.3.1",
|
46
46
|
"@embroider/test-setup": "4.0.0",
|
47
47
|
"@faker-js/faker": "8.4.1",
|
48
48
|
"broccoli-asset-rev": "3.0.0",
|
49
|
-
"ember-cli": "5.
|
49
|
+
"ember-cli": "5.10.0",
|
50
50
|
"ember-cli-clean-css": "3.0.0",
|
51
51
|
"ember-cli-code-coverage": "3.0.0",
|
52
52
|
"ember-cli-dependency-checker": "3.3.2",
|
@@ -55,25 +55,25 @@
|
|
55
55
|
"ember-cli-sass": "11.0.1",
|
56
56
|
"ember-cli-sri": "2.1.1",
|
57
57
|
"ember-cli-terser": "4.0.2",
|
58
|
-
"ember-engines": "0.
|
58
|
+
"ember-engines": "0.11.0",
|
59
59
|
"ember-load-initializers": "2.1.2",
|
60
|
-
"ember-qunit": "8.0
|
61
|
-
"ember-resolver": "
|
62
|
-
"ember-source": "5.
|
60
|
+
"ember-qunit": "8.1.0",
|
61
|
+
"ember-resolver": "12.0.1",
|
62
|
+
"ember-source": "5.10.1",
|
63
63
|
"ember-source-channel-url": "3.0.0",
|
64
64
|
"ember-try": "3.0.0",
|
65
65
|
"loader.js": "4.7.0",
|
66
66
|
"miragejs": "0.1.48",
|
67
|
-
"qunit": "2.
|
68
|
-
"qunit-dom": "3.
|
69
|
-
"sass": "1.
|
70
|
-
"uikit": "3.21.
|
71
|
-
"webpack": "5.
|
67
|
+
"qunit": "2.21.1",
|
68
|
+
"qunit-dom": "3.2.0",
|
69
|
+
"sass": "1.77.8",
|
70
|
+
"uikit": "3.21.8",
|
71
|
+
"webpack": "5.93.0",
|
72
72
|
"@projectcaluma/ember-testing": "12.15.5"
|
73
73
|
},
|
74
74
|
"peerDependencies": {
|
75
|
-
"ember-engines": "^0.
|
76
|
-
"ember-source": "
|
75
|
+
"ember-engines": "^0.11.0",
|
76
|
+
"ember-source": ">= 4.0.0"
|
77
77
|
},
|
78
78
|
"dependenciesMeta": {
|
79
79
|
"@projectcaluma/ember-core": {
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/abilities/distribution";
|
package/app/abilities/inquiry.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/abilities/inquiry";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-document-header";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-answer-form";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-dialog/inquiry-deadline";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-dialog/inquiry-divider";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-dialog/inquiry-part";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-dialog/inquiry";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-dialog";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-edit-form";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-new-form/bulk-edit";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-new-form/group-type";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-new-form/group";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-new-form/select";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-inquiry-new-form";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-navigation/controls";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-navigation/item";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-navigation/section";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-navigation/status-indicator";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-navigation";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-notfound";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/components/cd-truncated";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/services/distribution";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/utils/inquiry-answer-status";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/utils/inquiry-deadline";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/utils/inquiry-status";
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "@projectcaluma/ember-distribution/utils/unique-by-groups";
|