@projectcaluma/ember-distribution 1.0.0-beta.3 → 1.0.0-beta.6

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.
Files changed (69) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/addon/abilities/distribution.js +31 -0
  3. package/addon/components/distribution-navigation/controls.hbs +17 -12
  4. package/addon/components/distribution-navigation/controls.js +32 -26
  5. package/addon/components/distribution-navigation/item.hbs +3 -3
  6. package/addon/components/distribution-navigation/item.js +1 -1
  7. package/addon/components/distribution-navigation/section.hbs +8 -6
  8. package/addon/components/distribution-navigation.hbs +1 -1
  9. package/addon/components/distribution-navigation.js +28 -56
  10. package/addon/components/icon-button.hbs +16 -9
  11. package/addon/components/inquiry-answer-form.hbs +33 -31
  12. package/addon/components/inquiry-answer-form.js +1 -1
  13. package/addon/components/inquiry-dialog/inquiry-deadline.hbs +27 -6
  14. package/addon/components/inquiry-dialog/inquiry-deadline.js +4 -0
  15. package/addon/components/inquiry-dialog/inquiry-divider.hbs +2 -1
  16. package/addon/components/inquiry-dialog/inquiry-part.hbs +18 -10
  17. package/addon/components/inquiry-dialog/inquiry-part.js +39 -0
  18. package/addon/components/inquiry-dialog/inquiry.hbs +4 -1
  19. package/addon/components/inquiry-dialog/inquiry.js +4 -0
  20. package/addon/components/inquiry-dialog.hbs +8 -6
  21. package/addon/components/inquiry-dialog.js +25 -2
  22. package/addon/components/inquiry-edit-form.hbs +21 -19
  23. package/addon/components/inquiry-edit-form.js +2 -1
  24. package/addon/components/inquiry-new-form.hbs +113 -101
  25. package/addon/components/inquiry-new-form.js +22 -40
  26. package/addon/components/notfound.hbs +12 -0
  27. package/addon/config.js +1 -0
  28. package/addon/controllers/application.js +7 -0
  29. package/addon/controllers/{distribution/new.js → new.js} +1 -1
  30. package/addon/gql/mutations/withdraw-inquiry.graphql +8 -0
  31. package/addon/gql/queries/control-work-items.graphql +18 -2
  32. package/addon/gql/queries/inquiry-navigation.graphql +2 -0
  33. package/addon/modifiers/pikaday.js +2 -0
  34. package/addon/routes/{distribution.js → application.js} +1 -1
  35. package/addon/routes/{distribution/index.js → index.js} +2 -2
  36. package/addon/routes/inquiry/detail/answer.js +7 -0
  37. package/addon/routes/inquiry/detail/index.js +7 -0
  38. package/addon/routes/{distribution/inquiry → inquiry}/detail.js +1 -1
  39. package/addon/routes/inquiry/index.js +10 -0
  40. package/addon/routes/{distribution/inquiry.js → inquiry.js} +1 -1
  41. package/addon/routes/new.js +7 -0
  42. package/addon/routes/notfound.js +3 -0
  43. package/addon/routes.js +5 -6
  44. package/addon/services/distribution.js +82 -0
  45. package/addon/templates/application.hbs +8 -0
  46. package/addon/templates/index.hbs +11 -0
  47. package/addon/templates/{distribution/inquiry → inquiry}/detail/answer.hbs +0 -0
  48. package/addon/templates/{distribution/inquiry → inquiry}/detail/index.hbs +0 -0
  49. package/addon/templates/{distribution/inquiry → inquiry}/detail.hbs +0 -0
  50. package/addon/templates/{distribution/inquiry → inquiry}/index.hbs +0 -0
  51. package/addon/templates/{distribution/inquiry.hbs → inquiry.hbs} +0 -0
  52. package/addon/templates/{distribution/new.hbs → new.hbs} +0 -0
  53. package/addon/templates/notfound.hbs +1 -0
  54. package/addon/utils/unique-by-groups.js +1 -0
  55. package/app/abilities/distribution.js +1 -0
  56. package/app/components/notfound.js +1 -0
  57. package/app/services/distribution.js +1 -0
  58. package/app/styles/_inquiry-divider.scss +22 -0
  59. package/index.js +14 -13
  60. package/package.json +21 -16
  61. package/public/assets/distribution.svg +1 -0
  62. package/translations/de.yaml +18 -0
  63. package/translations/en.yaml +18 -0
  64. package/translations/fr.yaml +18 -0
  65. package/addon/routes/distribution/inquiry/detail/answer.js +0 -7
  66. package/addon/routes/distribution/inquiry/detail/index.js +0 -7
  67. package/addon/routes/distribution/inquiry/index.js +0 -10
  68. package/addon/routes/distribution/new.js +0 -7
  69. package/addon/templates/distribution.hbs +0 -8
@@ -1,6 +1,6 @@
1
1
  import Route from "@ember/routing/route";
2
2
 
3
- export default class DistributionInquiryRoute extends Route {
3
+ export default class InquiryRoute extends Route {
4
4
  model({ from, to }) {
5
5
  return { from, to };
6
6
  }
@@ -0,0 +1,7 @@
1
+ import Route from "@ember/routing/route";
2
+
3
+ export default class NewRoute extends Route {
4
+ model() {
5
+ return this.modelFor("application");
6
+ }
7
+ }
@@ -0,0 +1,3 @@
1
+ import Route from "@ember/routing/route";
2
+
3
+ export default class NotfoundRoute extends Route {}
package/addon/routes.js CHANGED
@@ -1,12 +1,11 @@
1
1
  import buildRoutes from "ember-engines/routes";
2
2
 
3
3
  export default buildRoutes(function () {
4
- this.route("distribution", { path: "/case/:case" }, function () {
5
- this.route("new");
6
- this.route("inquiry", { path: "/from/:from/to/:to" }, function () {
7
- this.route("detail", { path: "/detail/:inquiry" }, function () {
8
- this.route("answer");
9
- });
4
+ this.route("new");
5
+ this.route("inquiry", { path: "/from/:from/to/:to" }, function () {
6
+ this.route("detail", { path: "/:inquiry" }, function () {
7
+ this.route("answer");
10
8
  });
11
9
  });
10
+ this.route("notfound", { path: "/*path" });
12
11
  });
@@ -0,0 +1,82 @@
1
+ import { getOwner } from "@ember/application";
2
+ import Service, { inject as service } from "@ember/service";
3
+ import { queryManager, getObservable } from "ember-apollo-client";
4
+ import { dropTask } from "ember-concurrency";
5
+ import { useTask } from "ember-resources";
6
+
7
+ import config from "@projectcaluma/ember-distribution/config";
8
+ import controlWorkItemsQuery from "@projectcaluma/ember-distribution/gql/queries/control-work-items.graphql";
9
+ import inquiryNavigationQuery from "@projectcaluma/ember-distribution/gql/queries/inquiry-navigation.graphql";
10
+
11
+ export default class DistributionService extends Service {
12
+ @service("-scheduler") scheduler;
13
+ @service calumaOptions;
14
+ @service router;
15
+
16
+ @queryManager apollo;
17
+
18
+ @config config;
19
+
20
+ get caseId() {
21
+ return getOwner(this).lookup("route:application").currentModel;
22
+ }
23
+
24
+ controls = useTask(this, this.fetchControls, () => [this.caseId]);
25
+ navigation = useTask(this, this.fetchNavigation, () => [this.caseId]);
26
+
27
+ async refetch() {
28
+ await getObservable(this.controls.value)?.refetch();
29
+ await getObservable(this.navigation.value)?.refetch();
30
+ }
31
+
32
+ @dropTask
33
+ *fetchControls(caseId) {
34
+ return yield this.apollo.watchQuery({
35
+ query: controlWorkItemsQuery,
36
+ variables: {
37
+ caseId,
38
+ currentGroup: String(this.calumaOptions.currentGroupId),
39
+ createTask: this.config.controls.createTask,
40
+ completeTask: this.config.controls.completeTask,
41
+ inquiryTask: this.config.inquiry.task,
42
+ },
43
+ });
44
+ }
45
+
46
+ @dropTask
47
+ *fetchNavigation(caseId) {
48
+ const response = yield this.apollo.watchQuery({
49
+ query: inquiryNavigationQuery,
50
+ variables: {
51
+ caseId,
52
+ task: this.config.inquiry.task,
53
+ currentGroup: String(this.calumaOptions.currentGroupId),
54
+ statusQuestion: this.config.inquiry.answer.statusQuestion,
55
+ deadlineQuestion: this.config.inquiry.deadlineQuestion,
56
+ includeNavigationData: true,
57
+ },
58
+ });
59
+
60
+ getObservable(response).subscribe(({ data }) => {
61
+ const groupIds = [
62
+ ...new Set(
63
+ Object.values(data)
64
+ .map((inquiries) => {
65
+ return inquiries.edges.map((edge) => [
66
+ ...edge.node.addressedGroups,
67
+ ...edge.node.controllingGroups,
68
+ ]);
69
+ })
70
+ .flat(2)
71
+ ),
72
+ ];
73
+
74
+ // Resolve all involved groups with the scheduler each time the query is
75
+ // updated. This will only trigger requests for new groups that are not in
76
+ // the cache.
77
+ this.scheduler.resolve(groupIds, "group");
78
+ });
79
+
80
+ return response;
81
+ }
82
+ }
@@ -0,0 +1,8 @@
1
+ <div uk-grid class={{if this.config.ui.stack "uk-grid-small"}}>
2
+ <div class={{if this.config.ui.stack "uk-width-1-1" "uk-width-1-3"}}>
3
+ <DistributionNavigation @caseId={{@model}} />
4
+ </div>
5
+ <div class={{if this.config.ui.stack "uk-width-1-1" "uk-width-2-3"}}>
6
+ {{outlet}}
7
+ </div>
8
+ </div>
@@ -0,0 +1,11 @@
1
+ <div class="uk-text-center uk-text-muted">
2
+ {{svg-jar "distribution" class="uk-inline" width=200}}
3
+ <p class="uk-margin-medium uk-margin-remove-horizontal">
4
+ {{t "caluma.distribution.empty"}}
5
+ </p>
6
+ {{#if (can "create inquiry of distribution")}}
7
+ <LinkTo @route="new" class="uk-button uk-button-primary">
8
+ {{t "caluma.distribution.start"}}
9
+ </LinkTo>
10
+ {{/if}}
11
+ </div>
@@ -0,0 +1 @@
1
+ <Notfound />
@@ -2,6 +2,7 @@ export default function uniqueByGroups(workItems) {
2
2
  return [
3
3
  ...new Map(
4
4
  workItems
5
+ .filter((workItem) => workItem.status !== "CANCELED")
5
6
  .map((workItem) => {
6
7
  return [
7
8
  JSON.stringify({
@@ -0,0 +1 @@
1
+ export { default } from "@projectcaluma/ember-distribution/abilities/distribution";
@@ -0,0 +1 @@
1
+ export { default } from "@projectcaluma/ember-distribution/components/notfound";
@@ -0,0 +1 @@
1
+ export { default } from "@projectcaluma/ember-distribution/services/distribution";
@@ -3,6 +3,9 @@
3
3
  $size: 36px;
4
4
  $iconSize: $size * 0.6;
5
5
 
6
+ $sizeSmall: 24px;
7
+ $iconSizeSmall: $sizeSmall * 0.6;
8
+
6
9
  $colors: (
7
10
  muted: $text-muted-color,
8
11
  emphasis: $text-emphasis-color,
@@ -47,3 +50,22 @@ $colors: (
47
50
  }
48
51
  }
49
52
  }
53
+ .inquiry-divider--small {
54
+ &::before,
55
+ &::after {
56
+ height: 1px;
57
+ width: calc(50% - #{$sizeSmall * 0.5});
58
+ }
59
+
60
+ .inquiry-divider__icon {
61
+ width: $sizeSmall;
62
+ height: $sizeSmall;
63
+
64
+ border-width: 1px;
65
+
66
+ > svg {
67
+ width: $iconSizeSmall;
68
+ height: $iconSizeSmall;
69
+ }
70
+ }
71
+ }
package/index.js CHANGED
@@ -3,20 +3,21 @@
3
3
  // eslint-disable-next-line node/no-unpublished-require
4
4
  const { buildEngine } = require("ember-engines/lib/engine-addon");
5
5
 
6
- const ioniconsBase = require
7
- .resolve("ionicons")
8
- .split("/")
9
- .slice(0, -1)
10
- .join("/");
6
+ const name = require("./package").name;
11
7
 
12
- module.exports = buildEngine({
13
- name: require("./package").name,
8
+ const ioniconAssets = [
9
+ ...require.resolve("ionicons").split("/").slice(0, -1),
10
+ "svg",
11
+ ].join("/");
14
12
 
15
- lazyLoading: {
16
- enabled: false,
17
- },
13
+ const publicAssets = [
14
+ ...require.resolve(name).split("/").slice(0, -1),
15
+ "public",
16
+ "assets",
17
+ ].join("/");
18
18
 
19
- svgJar: {
20
- sourceDirs: [`${ioniconsBase}/svg`],
21
- },
19
+ module.exports = buildEngine({
20
+ name,
21
+ lazyLoading: { enabled: false },
22
+ svgJar: { sourceDirs: [ioniconAssets, publicAssets] },
22
23
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-distribution",
3
- "version": "1.0.0-beta.3",
3
+ "version": "1.0.0-beta.6",
4
4
  "description": "Ember engine for the Caluma distribution module.",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -18,41 +18,46 @@
18
18
  "ember-engines": ">= 0.8"
19
19
  },
20
20
  "dependencies": {
21
+ "@ember/string": "^3.0.0",
22
+ "@embroider/macros": "^1.5.0",
21
23
  "@glimmer/component": "^1.0.4",
22
24
  "@glimmer/tracking": "^1.0.4",
23
- "@projectcaluma/ember-core": "^11.0.0-beta.4",
24
- "@projectcaluma/ember-form": "^11.0.0-beta.9",
25
- "@projectcaluma/ember-workflow": "^11.0.0-beta.4",
26
- "ember-apollo-client": "^3.2.0",
25
+ "@projectcaluma/ember-core": "^11.0.0-beta.6",
26
+ "@projectcaluma/ember-form": "^11.0.0-beta.16",
27
+ "@projectcaluma/ember-workflow": "^11.0.0-beta.6",
28
+ "ember-apollo-client": "^4.0.2",
27
29
  "ember-auto-import": "^2.4.0",
28
30
  "ember-can": "^4.1.0",
29
31
  "ember-cli-babel": "^7.26.11",
30
32
  "ember-cli-htmlbars": "^6.0.1",
31
- "ember-concurrency": "^2.2.0",
33
+ "ember-concurrency": "^2.2.1",
32
34
  "ember-engines-router-service": "^0.3.0",
33
35
  "ember-fetch": "^8.1.1",
34
36
  "ember-intl": "^5.7.2",
35
- "ember-resources": "^4.3.1",
37
+ "ember-pikaday": "^4.0.0",
38
+ "ember-resources": "^4.4.0",
36
39
  "ember-svg-jar": "^2.3.4",
37
40
  "ember-test-selectors": "^6.0.0",
38
- "ember-uikit": "^5.0.0",
41
+ "ember-uikit": "^5.1.1",
39
42
  "graphql": "^15.8.0",
43
+ "graphql-tag": "^2.12.6",
40
44
  "ionicons": "^6.0.1",
41
45
  "lodash.merge": "^4.6.2",
42
- "luxon": "^2.3.0",
46
+ "luxon": "^2.3.1",
43
47
  "tracked-toolbox": "^1.2.3"
44
48
  },
45
49
  "devDependencies": {
46
50
  "@ember/optional-features": "2.0.0",
47
51
  "@ember/test-helpers": "2.6.0",
48
- "@embroider/test-setup": "1.0.0",
49
- "@faker-js/faker": "6.0.0-alpha.5",
50
- "@projectcaluma/ember-testing": "11.0.0-beta.2",
52
+ "@embroider/test-setup": "1.5.0",
53
+ "@faker-js/faker": "6.0.0",
54
+ "@projectcaluma/ember-testing": "11.0.0-beta.5",
51
55
  "broccoli-asset-rev": "3.0.0",
52
56
  "ember-cli": "3.28.5",
57
+ "ember-cli-code-coverage": "1.0.3",
53
58
  "ember-cli-dependency-checker": "3.2.0",
54
59
  "ember-cli-inject-live-reload": "2.1.0",
55
- "ember-cli-mirage": "2.4.0",
60
+ "ember-cli-mirage": "3.0.0-alpha.2",
56
61
  "ember-cli-sass": "10.0.1",
57
62
  "ember-cli-sri": "2.1.1",
58
63
  "ember-cli-terser": "4.0.2",
@@ -69,10 +74,10 @@
69
74
  "loader.js": "4.7.0",
70
75
  "miragejs": "0.1.43",
71
76
  "npm-run-all": "4.1.5",
72
- "qunit": "2.17.2",
77
+ "qunit": "2.18.0",
73
78
  "qunit-dom": "2.0.0",
74
- "sass": "1.49.7",
75
- "webpack": "5.68.0"
79
+ "sass": "1.49.9",
80
+ "webpack": "5.70.0"
76
81
  },
77
82
  "engines": {
78
83
  "node": "12.* || 14.* || >= 16"
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 512 512" viewBox="0 0 512 512"><path d="M477.867 102.4c-18.825 0-34.133 15.309-34.133 34.133s15.309 34.133 34.133 34.133S512 155.358 512 136.533c0-18.824-15.309-34.133-34.133-34.133zm0 51.2c-9.412 0-17.067-7.654-17.067-17.067 0-9.412 7.654-17.067 17.067-17.067s17.067 7.654 17.067 17.067c-.001 9.413-7.655 17.067-17.067 17.067zM34.133 384C15.309 384 0 399.309 0 418.133s15.309 34.133 34.133 34.133c18.825 0 34.133-15.309 34.133-34.133S52.958 384 34.133 384zm0 51.2c-9.412 0-17.067-7.654-17.067-17.067s7.654-17.067 17.067-17.067c9.412 0 17.067 7.654 17.067 17.067S43.546 435.2 34.133 435.2z"/><path d="m461.321 113.186-73.617-35.541c-4.25-2.057-9.344-.265-11.392 3.977-2.048 4.241-.265 9.344 3.977 11.392l73.617 35.541c1.195.58 2.458.853 3.703.853 3.174 0 6.221-1.775 7.688-4.83 2.048-4.241.265-9.344-3.976-11.392zM384 443.733c-18.825 0-34.133 15.309-34.133 34.133S365.175 512 384 512c18.825 0 34.133-15.309 34.133-34.133S402.825 443.733 384 443.733zm0 51.2c-9.412 0-17.067-7.654-17.067-17.067S374.588 460.8 384 460.8c9.412 0 17.067 7.654 17.067 17.067s-7.655 17.066-17.067 17.066z"/><path d="m367.454 454.52-73.617-35.541c-4.25-2.057-9.344-.273-11.392 3.977-2.048 4.241-.265 9.344 3.977 11.392l73.617 35.541c1.195.58 2.458.853 3.703.853 3.174 0 6.221-1.775 7.689-4.83 2.047-4.242.264-9.344-3.977-11.392zM256 230.4c-18.825 0-34.133 15.309-34.133 34.133 0 18.825 15.309 34.133 34.133 34.133 18.825 0 34.133-15.309 34.133-34.133 0-18.824-15.308-34.133-34.133-34.133zm0 51.2c-9.412 0-17.067-7.654-17.067-17.067 0-9.412 7.654-17.067 17.067-17.067 9.412 0 17.067 7.654 17.067 17.067S265.412 281.6 256 281.6z"/><path d="m240.998 242.142-56.55-44.075c-3.721-2.876-9.079-2.236-11.981 1.485-2.893 3.721-2.236 9.079 1.485 11.981l56.55 44.075c1.562 1.212 3.405 1.801 5.24 1.801 2.543 0 5.052-1.126 6.741-3.285 2.893-3.722 2.236-9.081-1.485-11.982zM409.6 221.867c-51.755 0-93.867 42.112-93.867 93.867s42.112 93.867 93.867 93.867 93.867-42.112 93.867-93.867-42.112-93.867-93.867-93.867zm0 170.666c-42.351 0-76.8-34.449-76.8-76.8s34.449-76.8 76.8-76.8 76.8 34.449 76.8 76.8-34.449 76.8-76.8 76.8z"/><path d="M409.6 256c-18.825 0-34.133 15.309-34.133 34.133 0 18.825 15.309 34.133 34.133 34.133 18.825 0 34.133-15.309 34.133-34.133S428.425 256 409.6 256zm0 51.2c-9.412 0-17.067-7.654-17.067-17.067 0-9.412 7.654-17.067 17.067-17.067 9.412 0 17.067 7.654 17.067 17.067S419.012 307.2 409.6 307.2zM434.355 341.333h-49.51c-14.583 0-26.445 11.546-26.445 25.728v22.494c0 3.046 1.621 5.862 4.258 7.39C376.96 405.222 393.19 409.6 409.6 409.6s32.64-4.378 46.942-12.655c2.637-1.519 4.258-4.344 4.258-7.381V367.07c0-14.191-11.861-25.737-26.445-25.737zm9.378 43.136c-21.239 10.581-47.027 10.581-68.267 0V367.07c0-4.779 4.207-8.67 9.378-8.67h49.51c5.171 0 9.378 3.891 9.378 8.67v17.399zM204.8 324.267c-51.755 0-93.867 42.112-93.867 93.867S153.045 512 204.8 512s93.867-42.112 93.867-93.867-42.112-93.866-93.867-93.866zm0 170.666c-42.351 0-76.8-34.449-76.8-76.8s34.449-76.8 76.8-76.8 76.8 34.449 76.8 76.8-34.449 76.8-76.8 76.8z"/><path d="M204.8 358.4c-18.825 0-34.133 15.309-34.133 34.133 0 18.825 15.309 34.133 34.133 34.133s34.133-15.309 34.133-34.133c0-18.824-15.308-34.133-34.133-34.133zm0 51.2c-9.412 0-17.067-7.654-17.067-17.067 0-9.412 7.654-17.067 17.067-17.067 9.412 0 17.067 7.654 17.067 17.067S214.212 409.6 204.8 409.6zM229.555 443.733h-49.51c-14.583 0-26.445 11.546-26.445 25.728v22.494c0 3.046 1.621 5.862 4.258 7.39C172.16 507.622 188.39 512 204.8 512s32.64-4.378 46.942-12.655c2.637-1.519 4.258-4.343 4.258-7.381V469.47c0-14.191-11.861-25.737-26.445-25.737zm9.378 43.136c-21.24 10.581-47.027 10.581-68.267 0V469.47c0-4.779 4.207-8.67 9.378-8.67h49.51c5.171 0 9.378 3.891 9.378 8.67v17.399zM93.867 110.933C42.112 110.933 0 153.045 0 204.8s42.112 93.867 93.867 93.867 93.867-42.112 93.867-93.867c-.001-51.755-42.113-93.867-93.867-93.867zm0 170.667c-42.351 0-76.8-34.449-76.8-76.8s34.449-76.8 76.8-76.8 76.8 34.449 76.8 76.8-34.449 76.8-76.8 76.8z"/><path d="M93.867 145.067c-18.825 0-34.133 15.309-34.133 34.133s15.309 34.133 34.133 34.133c18.825 0 34.133-15.309 34.133-34.133s-15.309-34.133-34.133-34.133zm0 51.2c-9.412 0-17.067-7.654-17.067-17.067s7.654-17.067 17.067-17.067c9.412 0 17.067 7.654 17.067 17.067s-7.655 17.067-17.067 17.067zM118.622 230.4h-49.51c-14.583 0-26.445 11.546-26.445 25.728v22.494c0 3.046 1.621 5.862 4.258 7.39 14.302 8.277 30.532 12.655 46.942 12.655s32.64-4.378 46.942-12.655c2.637-1.519 4.258-4.344 4.258-7.381v-22.494c0-14.191-11.862-25.737-26.445-25.737zM128 273.536c-21.239 10.581-47.027 10.581-68.267 0v-17.399c0-4.779 4.207-8.67 9.378-8.67h49.51c5.171 0 9.378 3.891 9.378 8.67v17.399zM298.667 0C246.912 0 204.8 42.112 204.8 93.867s42.112 93.867 93.867 93.867 93.867-42.112 93.867-93.867C392.533 42.112 350.421 0 298.667 0zm0 170.667c-42.351 0-76.8-34.449-76.8-76.8s34.449-76.8 76.8-76.8 76.8 34.449 76.8 76.8-34.449 76.8-76.8 76.8z"/><path d="M298.667 34.133c-18.825 0-34.133 15.309-34.133 34.133s15.309 34.133 34.133 34.133S332.8 87.091 332.8 68.267s-15.309-34.134-34.133-34.134zm0 51.2c-9.412 0-17.067-7.654-17.067-17.067 0-9.412 7.654-17.067 17.067-17.067s17.067 7.654 17.067 17.067c-.001 9.413-7.655 17.067-17.067 17.067zM323.422 119.467h-49.51c-14.583 0-26.445 11.546-26.445 25.728v22.494c0 3.046 1.621 5.862 4.258 7.39 14.302 8.277 30.532 12.655 46.942 12.655s32.64-4.378 46.942-12.655c2.637-1.519 4.258-4.344 4.258-7.381v-22.494c0-14.192-11.862-25.737-26.445-25.737zm9.378 43.136c-21.239 10.581-47.027 10.581-68.267 0v-17.399c0-4.779 4.207-8.67 9.378-8.67h49.51c5.171 0 9.378 3.891 9.378 8.67v17.399zM219.827 88.311c-3.063-3.567-8.448-3.994-12.032-.93l-59.136 50.603c-3.584 3.063-4.002 8.448-.939 12.032 1.69 1.971 4.079 2.987 6.485 2.987 1.963 0 3.934-.674 5.547-2.057l59.136-50.603c3.585-3.063 4.003-8.448.939-12.032z"/><path d="m407.893 225.289-51.2-68.267c-2.825-3.78-8.175-4.523-11.947-1.707-3.772 2.825-4.531 8.175-1.707 11.938l51.2 68.267c1.681 2.236 4.241 3.413 6.835 3.413 1.775 0 3.576-.555 5.112-1.707 3.772-2.824 4.532-8.174 1.707-11.937zM337.86 343.953c-2.825-3.772-8.175-4.531-11.947-1.707l-47.667 35.746c-3.772 2.825-4.531 8.175-1.707 11.938 1.681 2.236 4.241 3.413 6.835 3.413 1.783 0 3.575-.563 5.112-1.707l47.667-35.746c3.772-2.823 4.532-8.174 1.707-11.937zM119.467 409.6H59.733c-4.71 0-8.533 3.814-8.533 8.533s3.823 8.533 8.533 8.533h59.733c4.71 0 8.533-3.814 8.533-8.533s-3.822-8.533-8.532-8.533zM93.867 0C75.042 0 59.733 15.309 59.733 34.133c0 18.825 15.309 34.133 34.133 34.133 18.825 0 34.133-15.309 34.133-34.133C128 15.309 112.691 0 93.867 0zm0 51.2c-9.412 0-17.067-7.654-17.067-17.067 0-9.412 7.654-17.067 17.067-17.067 9.412 0 17.067 7.654 17.067 17.067-.001 9.413-7.655 17.067-17.067 17.067z"/><path d="M93.867 51.2c-4.71 0-8.533 3.814-8.533 8.533v59.733c0 4.719 3.823 8.533 8.533 8.533 4.71 0 8.533-3.814 8.533-8.533V59.733c0-4.719-3.823-8.533-8.533-8.533z"/></svg>
@@ -1,5 +1,11 @@
1
1
  caluma:
2
2
  distribution:
3
+ empty: "Es wurden noch keine Anfragen erstellt."
4
+ start: "Starten"
5
+ send: "Offene Anfragen versenden"
6
+ send-confirm: "Wollen Sie wirklich alle offenen Anfragen versenden?"
7
+ send-error: "Fehler beim Versenden der offenen Anfragen"
8
+
3
9
  edit:
4
10
  title: "Anfrage bearbeiten"
5
11
  link: "Bearbeiten"
@@ -40,3 +46,15 @@ caluma:
40
46
  positive: "Positiv"
41
47
  negative: "Negativ"
42
48
  needs-interaction: "Aktion erforderlich"
49
+
50
+ notfound:
51
+ title: "404"
52
+ subtitle: "Seite nicht gefunden!"
53
+ back: "Zurück zur"
54
+ link: "Startseite"
55
+
56
+ withdraw:
57
+ link: "Zurückziehen"
58
+ confirm: "Wollen Sie die Anfrage wirklich zurückziehen?"
59
+ error: "Fehler beim Zurückziehen der Anfrage"
60
+ status: "Zurückgezogen"
@@ -1,5 +1,11 @@
1
1
  caluma:
2
2
  distribution:
3
+ empty: "No inquiries have been created yet."
4
+ start: "Start"
5
+ send: "Send pending inquiries"
6
+ send-confirm: "Do you really want to send all pending inquiries?"
7
+ send-error: "Error while sending pending inquiries"
8
+
3
9
  edit:
4
10
  title: "Edit inquiry"
5
11
  link: "Edit"
@@ -40,3 +46,15 @@ caluma:
40
46
  positive: "Positive"
41
47
  negative: "Negative"
42
48
  needs-interaction: "Needs interaction"
49
+
50
+ notfound:
51
+ title: "404"
52
+ subtitle: "Page not found!"
53
+ back: "Go back to the"
54
+ link: "landing page"
55
+
56
+ withdraw:
57
+ link: "Withdraw"
58
+ confirm: "Do you really want to withdraw the inquiry?"
59
+ error: "Error while withdrawing the inquiry"
60
+ status: "Withdrawn"
@@ -1,5 +1,11 @@
1
1
  caluma:
2
2
  distribution:
3
+ empty: "Aucune demande n'a encore été créée."
4
+ start: "Lancer"
5
+ send: "Envoyer les demandes ouvertes"
6
+ send-confirm: "Voulez-vous vraiment envoyer toutes les demandes ouvertes ?"
7
+ send-error: "Erreur lors de l'envoi des demandes ouvertes"
8
+
3
9
  edit:
4
10
  title: "Modifier la demande"
5
11
  link: "Modifier"
@@ -40,3 +46,15 @@ caluma:
40
46
  positive: "Positif"
41
47
  negative: "Negatif"
42
48
  needs-interaction: "Action nécessaire"
49
+
50
+ notfound:
51
+ title: "404"
52
+ subtitle: "Page non trouvée !"
53
+ back: "Retour à"
54
+ link: "la page d'accueil"
55
+
56
+ withdraw:
57
+ link: "Retirer"
58
+ confirm: "Voulez-vous vraiment retirer la demande ?"
59
+ error: "Erreur lors du retrait de la demande"
60
+ status: "Retirée"
@@ -1,7 +0,0 @@
1
- import Route from "@ember/routing/route";
2
-
3
- export default class DistributionInquiryDetailAnswerRoute extends Route {
4
- model() {
5
- return this.modelFor("distribution.inquiry.detail");
6
- }
7
- }
@@ -1,7 +0,0 @@
1
- import Route from "@ember/routing/route";
2
-
3
- export default class DistributionInquiryDetailIndexRoute extends Route {
4
- model() {
5
- return this.modelFor("distribution.inquiry.detail");
6
- }
7
- }
@@ -1,10 +0,0 @@
1
- import Route from "@ember/routing/route";
2
-
3
- export default class DistributionInquiryIndexRoute extends Route {
4
- model() {
5
- return {
6
- ...this.modelFor("distribution.inquiry"),
7
- case: this.modelFor("distribution"),
8
- };
9
- }
10
- }
@@ -1,7 +0,0 @@
1
- import Route from "@ember/routing/route";
2
-
3
- export default class DistributionNewRoute extends Route {
4
- model() {
5
- return this.modelFor("distribution");
6
- }
7
- }
@@ -1,8 +0,0 @@
1
- <div uk-grid>
2
- <div class="uk-width-1-3">
3
- <DistributionNavigation @caseId={{@model}} />
4
- </div>
5
- <div class="uk-width-2-3">
6
- {{outlet}}
7
- </div>
8
- </div>