@projectcaluma/ember-form 11.1.0 → 11.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,8 @@ export default class Document extends Base {
27
27
  super({ raw, ...args });
28
28
 
29
29
  this.parentDocument = parentDocument;
30
- this.dataSourceContext = dataSourceContext;
30
+ this.dataSourceContext =
31
+ dataSourceContext ?? parentDocument?.dataSourceContext;
31
32
 
32
33
  this.pushIntoStore();
33
34
 
@@ -390,8 +390,9 @@ export class Navigation extends Base {
390
390
  * @property {NavigationItem} nextItem
391
391
  */
392
392
  get nextItem() {
393
- if (!this.currentItem)
393
+ if (!this.currentItem) {
394
394
  return this.items.filter((item) => item.navigable)[0];
395
+ }
395
396
 
396
397
  const items = this.items
397
398
  .slice(this.items.indexOf(this.currentItem) + 1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-form",
3
- "version": "11.1.0",
3
+ "version": "11.1.2",
4
4
  "description": "Ember addon for rendering Caluma forms.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -9,7 +9,6 @@
9
9
  "homepage": "https://docs.caluma.io/ember-caluma",
10
10
  "repository": "github:projectcaluma/ember-caluma",
11
11
  "scripts": {
12
- "test": "concurrently \"npm:lint\" \"npm:test:*\" --names \"lint,test:\"",
13
12
  "test:ember": "ember test",
14
13
  "test:ember-compatibility": "ember try:each"
15
14
  },
@@ -19,7 +18,7 @@
19
18
  "@embroider/util": "^1.10.0",
20
19
  "@glimmer/component": "^1.1.2",
21
20
  "@glimmer/tracking": "^1.1.2",
22
- "@projectcaluma/ember-core": "^11.1.0",
21
+ "@projectcaluma/ember-core": "^11.1.2",
23
22
  "ember-apollo-client": "~4.0.2",
24
23
  "ember-auto-import": "^2.6.1",
25
24
  "ember-autoresize-modifier": "^0.7.0",
@@ -29,18 +28,18 @@
29
28
  "ember-composable-helpers": "^5.0.0",
30
29
  "ember-concurrency": "^2.3.7",
31
30
  "ember-fetch": "^8.1.2",
32
- "ember-flatpickr": "^3.2.3",
31
+ "ember-flatpickr": "^4.0.0",
33
32
  "ember-in-viewport": "^4.1.0",
34
33
  "ember-intl": "^5.7.2",
35
34
  "ember-math-helpers": "^3.0.0",
36
- "ember-power-select": "^6.0.1",
37
- "ember-resources": "^5.6.2",
38
- "ember-uikit": "^6.1.1",
35
+ "ember-power-select": "^7.0.0",
36
+ "ember-resources": "^5.6.4",
37
+ "ember-uikit": "^7.0.1",
39
38
  "ember-validators": "^4.1.2",
40
39
  "graphql": "^15.8.0",
41
40
  "jexl": "^2.3.0",
42
41
  "lodash.isequal": "^4.5.0",
43
- "luxon": "^3.2.1",
42
+ "luxon": "^3.3.0",
44
43
  "tracked-toolbox": "^1.2.3"
45
44
  },
46
45
  "devDependencies": {
@@ -48,11 +47,10 @@
48
47
  "@ember/test-helpers": "2.7.0",
49
48
  "@embroider/test-setup": "2.1.1",
50
49
  "@faker-js/faker": "7.6.0",
51
- "@projectcaluma/ember-testing": "11.1.0",
52
- "@projectcaluma/ember-workflow": "^11.1.0",
50
+ "@projectcaluma/ember-testing": "11.1.2",
51
+ "@projectcaluma/ember-workflow": "^11.1.2",
53
52
  "broccoli-asset-rev": "3.0.0",
54
- "concurrently": "7.6.0",
55
- "ember-cli": "4.9.2",
53
+ "ember-cli": "4.11.0",
56
54
  "ember-cli-code-coverage": "2.0.0",
57
55
  "ember-cli-dependency-checker": "3.3.1",
58
56
  "ember-cli-inject-live-reload": "2.1.0",
@@ -61,8 +59,8 @@
61
59
  "ember-cli-terser": "4.0.2",
62
60
  "ember-load-initializers": "2.1.2",
63
61
  "ember-qunit": "6.1.1",
64
- "ember-resolver": "8.1.0",
65
- "ember-source": "4.10.0",
62
+ "ember-resolver": "10.0.0",
63
+ "ember-source": "4.11.0",
66
64
  "ember-source-channel-url": "3.0.0",
67
65
  "ember-try": "2.0.0",
68
66
  "loader.js": "4.7.0",
@@ -70,10 +68,10 @@
70
68
  "qunit": "2.19.4",
71
69
  "qunit-dom": "2.0.0",
72
70
  "uuid": "9.0.0",
73
- "webpack": "5.75.0"
71
+ "webpack": "5.77.0"
74
72
  },
75
73
  "peerDependencies": {
76
- "@projectcaluma/ember-workflow": "^11.1.0",
74
+ "@projectcaluma/ember-workflow": "^11.1.2",
77
75
  "ember-source": "^3.28.0 || ^4.0.0"
78
76
  },
79
77
  "peerDependenciesMeta": {