@projectcaluma/ember-distribution 1.0.0-beta.15 → 1.0.0-beta.16
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [@projectcaluma/ember-distribution-v1.0.0-beta.16](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-distribution-v1.0.0-beta.15...@projectcaluma/ember-distribution-v1.0.0-beta.16) (2022-08-15)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* **distribution:** always show confirmation dialog when completing ([507e062](https://github.com/projectcaluma/ember-caluma/commit/507e062afa32e7d4b8d64a2016a4c795a6e632cf))
|
7
|
+
|
1
8
|
# [@projectcaluma/ember-distribution-v1.0.0-beta.15](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-distribution-v1.0.0-beta.14...@projectcaluma/ember-distribution-v1.0.0-beta.15) (2022-07-18)
|
2
9
|
|
3
10
|
|
@@ -33,14 +33,14 @@ export default class CdNavigationControlsComponent extends Component {
|
|
33
33
|
"allWorkItems.totalCount"
|
34
34
|
);
|
35
35
|
|
36
|
-
|
37
|
-
incompleteInquiries
|
38
|
-
|
39
|
-
this.intl.t("caluma.distribution.complete-confirm", {
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
) {
|
36
|
+
const confirmText =
|
37
|
+
incompleteInquiries === 0
|
38
|
+
? this.intl.t("caluma.distribution.complete-confirm-empty")
|
39
|
+
: this.intl.t("caluma.distribution.complete-confirm", {
|
40
|
+
count: incompleteInquiries,
|
41
|
+
});
|
42
|
+
|
43
|
+
if (!(yield confirm(confirmText))) {
|
44
44
|
return;
|
45
45
|
}
|
46
46
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@projectcaluma/ember-distribution",
|
3
|
-
"version": "1.0.0-beta.
|
3
|
+
"version": "1.0.0-beta.16",
|
4
4
|
"description": "Ember engine for the Caluma distribution module.",
|
5
5
|
"keywords": [
|
6
6
|
"ember-addon",
|
@@ -22,8 +22,8 @@
|
|
22
22
|
"@embroider/macros": "^1.8.3",
|
23
23
|
"@glimmer/component": "^1.1.2",
|
24
24
|
"@glimmer/tracking": "^1.1.2",
|
25
|
-
"@projectcaluma/ember-core": "^11.0.0-beta.
|
26
|
-
"@projectcaluma/ember-form": "^11.0.0-beta.
|
25
|
+
"@projectcaluma/ember-core": "^11.0.0-beta.9",
|
26
|
+
"@projectcaluma/ember-form": "^11.0.0-beta.23",
|
27
27
|
"@projectcaluma/ember-workflow": "^11.0.0-beta.7",
|
28
28
|
"ember-apollo-client": "~4.0.2",
|
29
29
|
"ember-auto-import": "^2.4.2",
|
@@ -35,22 +35,22 @@
|
|
35
35
|
"ember-fetch": "^8.1.1",
|
36
36
|
"ember-intl": "^5.7.2",
|
37
37
|
"ember-pikaday": "^4.0.0",
|
38
|
-
"ember-resources": "^5.
|
38
|
+
"ember-resources": "^5.2.1",
|
39
39
|
"ember-svg-jar": "^2.3.4",
|
40
40
|
"ember-test-selectors": "^6.0.0",
|
41
41
|
"ember-uikit": "^5.1.3",
|
42
42
|
"graphql": "^15.8.0",
|
43
43
|
"graphql-tag": "^2.12.6",
|
44
44
|
"lodash.merge": "^4.6.2",
|
45
|
-
"luxon": "^
|
45
|
+
"luxon": "^3.0.1",
|
46
46
|
"tracked-toolbox": "^1.2.3"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
49
|
"@ember/optional-features": "2.0.0",
|
50
50
|
"@ember/test-helpers": "2.8.1",
|
51
51
|
"@embroider/test-setup": "1.8.3",
|
52
|
-
"@faker-js/faker": "7.
|
53
|
-
"@projectcaluma/ember-testing": "11.0.0-beta.
|
52
|
+
"@faker-js/faker": "7.4.0",
|
53
|
+
"@projectcaluma/ember-testing": "11.0.0-beta.11",
|
54
54
|
"broccoli-asset-rev": "3.0.0",
|
55
55
|
"ember-cli": "3.28.5",
|
56
56
|
"ember-cli-code-coverage": "1.0.3",
|
@@ -61,7 +61,7 @@
|
|
61
61
|
"ember-cli-sri": "2.1.1",
|
62
62
|
"ember-cli-terser": "4.0.2",
|
63
63
|
"ember-disable-prototype-extensions": "1.1.3",
|
64
|
-
"ember-engines": "0.8.
|
64
|
+
"ember-engines": "0.8.23",
|
65
65
|
"ember-export-application-global": "2.0.1",
|
66
66
|
"ember-load-initializers": "2.1.2",
|
67
67
|
"ember-maybe-import-regenerator": "1.0.0",
|
@@ -75,8 +75,8 @@
|
|
75
75
|
"npm-run-all": "4.1.5",
|
76
76
|
"qunit": "2.19.1",
|
77
77
|
"qunit-dom": "2.0.0",
|
78
|
-
"sass": "1.
|
79
|
-
"webpack": "5.
|
78
|
+
"sass": "1.54.4",
|
79
|
+
"webpack": "5.74.0"
|
80
80
|
},
|
81
81
|
"engines": {
|
82
82
|
"node": "12.* || 14.* || >= 16"
|
package/translations/de.yaml
CHANGED
@@ -9,6 +9,7 @@ caluma:
|
|
9
9
|
"Es gibt noch <b>{count} offene {count, plural, =1 {Anfrage} other {Anfragen}}</b>
|
10
10
|
in der aktuellen Zirkulation. Wenn Sie die Zirkulation abschliessen, werden
|
11
11
|
alle verbleibenden offenen Anfragen abgebrochen. Möchten Sie fortfahren?"
|
12
|
+
complete-confirm-empty: "Möchten Sie die Zirkulation wirklich abschliessen?"
|
12
13
|
send-error: "Fehler beim Versenden der offenen Anfragen"
|
13
14
|
complete-error: "Fehler beim Abschliessen der Zirkulation"
|
14
15
|
|
package/translations/en.yaml
CHANGED
@@ -10,6 +10,7 @@ caluma:
|
|
10
10
|
{count, plural, =1 {inquiry} other {inquiries}}</b> on the current
|
11
11
|
distribution. Completing the distribution will cause all remaining
|
12
12
|
pending inquiries to be canceled. Would you like to continue?"
|
13
|
+
complete-confirm-empty: "Do you really want to complete the distribution?"
|
13
14
|
send-error: "Error while sending pending inquiries"
|
14
15
|
complete-error: "Error while completing distribution"
|
15
16
|
|
package/translations/fr.yaml
CHANGED
@@ -9,6 +9,7 @@ caluma:
|
|
9
9
|
"Il y a <b>{count} {count, plural, =1 {demande} other {demandes}} en
|
10
10
|
attente</b> sur la distribution actuelle. Si vous terminez la distribution,
|
11
11
|
toutes les demandes en attente seront annulées. Voulez-vous continuer ?"
|
12
|
+
complete-confirm-empty: "Vous voulez vraiment fermer la circulation ?"
|
12
13
|
send-error: "Erreur lors de l'envoi des demandes ouvertes"
|
13
14
|
complete-error: "Erreur lors de la terminaison de la distribution"
|
14
15
|
|