@projectcaluma/ember-core 10.0.2 → 10.1.0

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.
@@ -76,4 +76,16 @@ export default class PrivateSchedulerService extends Service {
76
76
 
77
77
  once(this[typeResolverName], "perform");
78
78
  }
79
+
80
+ resolve(identifiers, type) {
81
+ const typeResolverName = camelize(`resolve-${type}`);
82
+
83
+ if (!this[type]) {
84
+ this[type] = { identifiers: new Set(), callbacks: new Set() };
85
+ }
86
+
87
+ identifiers.forEach((identifier) => this[type].identifiers.add(identifier));
88
+
89
+ return this[typeResolverName]?.perform();
90
+ }
79
91
  }
@@ -1,4 +1,5 @@
1
1
  import Service, { inject as service } from "@ember/service";
2
+ import { tracked } from "@glimmer/tracking";
2
3
 
3
4
  import slugify from "@projectcaluma/ember-core/utils/slugify";
4
5
 
@@ -14,6 +15,8 @@ import slugify from "@projectcaluma/ember-core/utils/slugify";
14
15
  export default class CalumaOptionsService extends Service {
15
16
  @service intl;
16
17
 
18
+ @tracked currentGroupId;
19
+
17
20
  constructor(...args) {
18
21
  super(...args);
19
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-core",
3
- "version": "10.0.2",
3
+ "version": "10.1.0",
4
4
  "description": "Ember core addon for working with Caluma.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -14,16 +14,17 @@
14
14
  "test:ember-compatibility": "ember try:each"
15
15
  },
16
16
  "dependencies": {
17
- "@apollo/client": "^3.4.16",
17
+ "@apollo/client": "^3.5.6",
18
18
  "@glimmer/tracking": "^1.0.4",
19
19
  "ember-apollo-client": "^3.2.0",
20
20
  "ember-auto-import": "^2.2.3",
21
21
  "ember-changeset-validations": "^3.16.0",
22
22
  "ember-cli-babel": "^7.26.6",
23
- "ember-cli-htmlbars": "^6.0.0",
23
+ "ember-cli-htmlbars": "^6.0.1",
24
24
  "ember-concurrency": "^2.2.0",
25
25
  "ember-concurrency-decorators": "^2.0.3",
26
26
  "ember-fetch": "^8.0.4",
27
+ "ember-inflector": "^4.0.2",
27
28
  "ember-intl": "^5.7.0",
28
29
  "graphql": "^15.6.1",
29
30
  "graphql-tag": "^2.12.6",
@@ -32,13 +33,13 @@
32
33
  "lodash.clonedeep": "^4.5.0",
33
34
  "moment": "^2.29.1",
34
35
  "proxy-polyfill": "^0.3.2",
35
- "slugify": "^1.6.2"
36
+ "slugify": "^1.6.3"
36
37
  },
37
38
  "devDependencies": {
38
39
  "@ember/optional-features": "2.0.0",
39
- "@ember/render-modifiers": "2.0.0",
40
+ "@ember/render-modifiers": "2.0.2",
40
41
  "@ember/test-helpers": "2.6.0",
41
- "@embroider/test-setup": "0.47.2",
42
+ "@embroider/test-setup": "0.48.1",
42
43
  "@glimmer/component": "1.0.4",
43
44
  "@projectcaluma/ember-testing": "10.0.0",
44
45
  "broccoli-asset-rev": "3.0.0",
@@ -55,7 +56,7 @@
55
56
  "ember-maybe-import-regenerator": "1.0.0",
56
57
  "ember-qunit": "5.1.5",
57
58
  "ember-resolver": "8.0.3",
58
- "ember-source": "3.28.6",
59
+ "ember-source": "3.28.8",
59
60
  "ember-source-channel-url": "3.0.0",
60
61
  "ember-try": "2.0.0",
61
62
  "faker": "5.5.3",
@@ -63,7 +64,7 @@
63
64
  "npm-run-all": "4.1.5",
64
65
  "qunit": "2.17.2",
65
66
  "qunit-dom": "2.0.0",
66
- "webpack": "5.64.1"
67
+ "webpack": "5.65.0"
67
68
  },
68
69
  "engines": {
69
70
  "node": "12.* || 14.* || >= 16"