@projectcaluma/ember-form 9.0.1 → 9.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- <div class="uk-margin-small-left uk-flex uk-flex-middle">
1
+ <div class="uk-margin-small-left uk-flex uk-flex-middle" ...attributes>
2
2
  <button
3
3
  type="button"
4
4
  class="uk-icon-button"
@@ -21,6 +21,10 @@ export default Component.extend({
21
21
  documentToEdit: null,
22
22
  documentToDelete: null,
23
23
 
24
+ parseDocument(raw) {
25
+ return parseDocument(raw);
26
+ },
27
+
24
28
  columnHeaders: computed(
25
29
  "field.question.{rowForm.questions.edges.@each,meta.columnsToDisplay.[]}",
26
30
  function () {
@@ -46,7 +50,10 @@ export default Component.extend({
46
50
 
47
51
  const newDocument = getOwner(this)
48
52
  .factoryFor("caluma-model:document")
49
- .create({ raw: parseDocument(raw), parentDocument: this.field.document });
53
+ .create({
54
+ raw: this.parseDocument(raw),
55
+ parentDocument: this.field.document,
56
+ });
50
57
 
51
58
  this.setProperties({
52
59
  documentToEdit: newDocument,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-form",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "description": "Ember addon for rendering Caluma forms.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -16,21 +16,21 @@
16
16
  "dependencies": {
17
17
  "@glimmer/component": "^1.0.4",
18
18
  "@glimmer/tracking": "^1.0.4",
19
- "@projectcaluma/ember-core": "9.0.0",
19
+ "@projectcaluma/ember-core": "9.0.1",
20
20
  "ember-apollo-client": "^3.2.0",
21
21
  "ember-auto-import": "^2.2.0",
22
22
  "ember-cli-babel": "^7.26.6",
23
23
  "ember-cli-htmlbars": "^5.7.1",
24
- "ember-cli-showdown": "^4.5.0",
24
+ "ember-cli-showdown": "^6.0.0",
25
25
  "ember-composable-helpers": "^4.5.0",
26
26
  "ember-fetch": "^8.0.4",
27
27
  "ember-in-viewport": "^3.10.2",
28
28
  "ember-intl": "^5.7.0",
29
- "ember-math-helpers": "^2.16.0",
29
+ "ember-math-helpers": "^2.17.3",
30
30
  "ember-pikaday": "^3.0.0",
31
31
  "ember-power-select": "^4.1.6",
32
32
  "ember-uikit": "^4.0.0",
33
- "graphql": "^15.5.3",
33
+ "graphql": "^15.6.0",
34
34
  "jexl": "^2.3.0",
35
35
  "lodash.clonedeep": "^4.5.0",
36
36
  "lodash.isequal": "^4.5.0",
@@ -60,10 +60,10 @@
60
60
  "faker": "5.5.3",
61
61
  "loader.js": "4.7.0",
62
62
  "npm-run-all": "4.1.5",
63
- "qunit": "2.17.1",
63
+ "qunit": "2.17.2",
64
64
  "qunit-dom": "2.0.0",
65
65
  "uuid": "8.3.2",
66
- "webpack": "5.52.1"
66
+ "webpack": "5.53.0"
67
67
  },
68
68
  "engines": {
69
69
  "node": "10.* || >= 12"