@projectcaluma/ember-form 12.0.0 → 12.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,11 @@ import jexl from "jexl";
5
5
  import { cached } from "tracked-toolbox";
6
6
 
7
7
  import { decodeId } from "@projectcaluma/ember-core/helpers/decode-id";
8
- import { intersects, mapby } from "@projectcaluma/ember-core/utils/jexl";
8
+ import {
9
+ intersects,
10
+ mapby,
11
+ flatten,
12
+ } from "@projectcaluma/ember-core/utils/jexl";
9
13
  import Base from "@projectcaluma/ember-form/lib/base";
10
14
 
11
15
  const onlyNumbers = (nums) =>
@@ -180,6 +184,7 @@ export default class Document extends Base {
180
184
  return nums.length ? sum(nums) / nums.length : null;
181
185
  });
182
186
  documentJexl.addTransform("stringify", (input) => JSON.stringify(input));
187
+ documentJexl.addTransform("flatten", flatten);
183
188
 
184
189
  return documentJexl;
185
190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-form",
3
- "version": "12.0.0",
3
+ "version": "12.1.0",
4
4
  "description": "Ember addon for rendering Caluma forms.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -9,9 +9,9 @@
9
9
  "homepage": "https://docs.caluma.io/ember-caluma",
10
10
  "repository": "github:projectcaluma/ember-caluma",
11
11
  "dependencies": {
12
- "@ember/string": "^3.0.1",
13
- "@embroider/macros": "^1.10.0",
14
- "@embroider/util": "^1.10.0",
12
+ "@ember/string": "^3.1.1",
13
+ "@embroider/macros": "^1.11.1",
14
+ "@embroider/util": "^1.11.1",
15
15
  "@glimmer/component": "^1.1.2",
16
16
  "@glimmer/tracking": "^1.1.2",
17
17
  "ember-apollo-client": "~4.0.2",
@@ -36,24 +36,24 @@
36
36
  "lodash.isequal": "^4.5.0",
37
37
  "luxon": "^3.3.0",
38
38
  "tracked-toolbox": "^2.0.0",
39
- "@projectcaluma/ember-core": "^12.0.0"
39
+ "@projectcaluma/ember-core": "^12.1.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@ember/optional-features": "2.0.0",
43
- "@ember/test-helpers": "2.9.3",
44
- "@embroider/test-setup": "2.1.1",
45
- "@faker-js/faker": "7.6.0",
43
+ "@ember/test-helpers": "3.1.0",
44
+ "@embroider/test-setup": "3.0.1",
45
+ "@faker-js/faker": "8.0.2",
46
46
  "broccoli-asset-rev": "3.0.0",
47
47
  "ember-cli": "4.12.1",
48
48
  "ember-cli-code-coverage": "2.0.0",
49
- "ember-cli-dependency-checker": "3.3.1",
49
+ "ember-cli-dependency-checker": "3.3.2",
50
50
  "ember-cli-inject-live-reload": "2.1.0",
51
51
  "ember-cli-mirage": "3.0.0-alpha.3",
52
52
  "ember-cli-sri": "2.1.1",
53
53
  "ember-cli-terser": "4.0.2",
54
54
  "ember-load-initializers": "2.1.2",
55
- "ember-qunit": "6.2.0",
56
- "ember-resolver": "10.0.0",
55
+ "ember-qunit": "7.0.0",
56
+ "ember-resolver": "10.1.1",
57
57
  "ember-source": "4.12.0",
58
58
  "ember-source-channel-url": "3.0.0",
59
59
  "ember-try": "2.0.0",
@@ -61,15 +61,15 @@
61
61
  "miragejs": "0.1.47",
62
62
  "qunit": "2.19.4",
63
63
  "qunit-dom": "2.0.0",
64
- "uikit": "3.16.15",
64
+ "uikit": "3.16.22",
65
65
  "uuid": "9.0.0",
66
- "webpack": "5.81.0",
67
- "@projectcaluma/ember-testing": "12.0.0",
68
- "@projectcaluma/ember-workflow": "12.0.0"
66
+ "webpack": "5.87.0",
67
+ "@projectcaluma/ember-testing": "12.1.0",
68
+ "@projectcaluma/ember-workflow": "12.1.0"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "ember-source": "^4.0.0",
72
- "@projectcaluma/ember-workflow": "^12.0.0"
72
+ "@projectcaluma/ember-workflow": "^12.1.0"
73
73
  },
74
74
  "peerDependenciesMeta": {
75
75
  "@projectcaluma/ember-workflow": {