@projectcaluma/ember-form-builder 12.2.0 → 12.3.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.
@@ -405,6 +405,12 @@
405
405
  @label={{t "caluma.form-builder.question.validateOnEnter"}}
406
406
  @renderComponent={{component "cfb-toggle-switch" size="small"}}
407
407
  />
408
+ <f.input
409
+ @name="showValidation"
410
+ @required={{true}}
411
+ @label={{t "caluma.form-builder.question.showValidation"}}
412
+ @renderComponent={{component "cfb-toggle-switch" size="small"}}
413
+ />
408
414
  {{/if}}
409
415
 
410
416
  <f.input
@@ -110,6 +110,7 @@ export default class CfbFormEditorQuestion extends Component {
110
110
  action: ACTIONS[0],
111
111
  color: COLORS[0],
112
112
  validateOnEnter: false,
113
+ showValidation: false,
113
114
  __typename: Object.keys(TYPES)[0],
114
115
  },
115
116
  },
@@ -348,6 +349,7 @@ export default class CfbFormEditorQuestion extends Component {
348
349
  action: changeset.get("action"),
349
350
  color: changeset.get("color"),
350
351
  validateOnEnter: Boolean(changeset.get("validateOnEnter")),
352
+ showValidation: Boolean(changeset.get("showValidation")),
351
353
  };
352
354
  }
353
355
 
@@ -9,6 +9,7 @@ mutation SaveActionButtonQuestion($input: SaveActionButtonQuestionInput!) {
9
9
  action
10
10
  color
11
11
  validateOnEnter
12
+ showValidation
12
13
  }
13
14
  }
14
15
  clientMutationId
@@ -170,6 +170,7 @@ query FormEditorQuestion($slug: String!) {
170
170
  action
171
171
  color
172
172
  validateOnEnter
173
+ showValidation
173
174
  }
174
175
  }
175
176
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-form-builder",
3
- "version": "12.2.0",
3
+ "version": "12.3.0",
4
4
  "description": "Ember engine for building Caluma forms.",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -13,7 +13,7 @@
13
13
  "@ember/legacy-built-in-components": "^0.4.2",
14
14
  "@ember/render-modifiers": "^2.1.0",
15
15
  "@ember/string": "^3.1.1",
16
- "@embroider/macros": "^1.12.3",
16
+ "@embroider/macros": "^1.13.0",
17
17
  "@glimmer/component": "^1.1.2",
18
18
  "@glimmer/tracking": "^1.1.2",
19
19
  "codejar": "^3.7.0",
@@ -31,7 +31,7 @@
31
31
  "ember-intl": "^5.7.2",
32
32
  "ember-math-helpers": "^3.0.0",
33
33
  "ember-power-select": "^7.1.0",
34
- "ember-resources": "^6.2.2",
34
+ "ember-resources": "^6.3.1",
35
35
  "ember-test-selectors": "^6.0.0",
36
36
  "ember-uikit": "^8.0.0",
37
37
  "ember-validated-form": "^6.2.0",
@@ -40,9 +40,9 @@
40
40
  "highlight.js": "^11.8.0",
41
41
  "highlightjs-jexl": "^0.0.5",
42
42
  "jexl": "^2.3.0",
43
- "uikit": "^3.16.22",
44
- "@projectcaluma/ember-core": "^12.2.0",
45
- "@projectcaluma/ember-form": "^12.2.0"
43
+ "uikit": "^3.16.23",
44
+ "@projectcaluma/ember-core": "^12.3.0",
45
+ "@projectcaluma/ember-form": "^12.3.0"
46
46
  },
47
47
  "//": [
48
48
  "TODO: remove obsolete dependency to `ember-data` which is only necessary",
@@ -64,11 +64,11 @@
64
64
  "ember-cli-mirage": "3.0.0-alpha.3",
65
65
  "ember-cli-sri": "2.1.1",
66
66
  "ember-cli-terser": "4.0.2",
67
- "ember-data": "4.12.0",
67
+ "ember-data": "4.12.3",
68
68
  "ember-engines": "0.9.0",
69
69
  "ember-load-initializers": "2.1.2",
70
70
  "ember-qunit": "7.0.0",
71
- "ember-resolver": "10.1.1",
71
+ "ember-resolver": "11.0.0",
72
72
  "ember-source": "4.12.3",
73
73
  "ember-source-channel-url": "3.0.0",
74
74
  "ember-try": "2.0.0",
@@ -77,7 +77,7 @@
77
77
  "qunit": "2.19.4",
78
78
  "qunit-dom": "2.0.0",
79
79
  "webpack": "5.88.2",
80
- "@projectcaluma/ember-testing": "12.2.0"
80
+ "@projectcaluma/ember-testing": "12.3.0"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "ember-engines": "^0.9.0",
@@ -115,6 +115,7 @@ caluma:
115
115
  action: "Aktion"
116
116
  color: "Farbe"
117
117
  validateOnEnter: "Validierung beim Betreten des Fensters"
118
+ showValidation: "Validierungs-Fehler anzeigen"
118
119
 
119
120
  actions:
120
121
  COMPLETE: "Abschliessen"
@@ -115,6 +115,7 @@ caluma:
115
115
  action: "Action"
116
116
  color: "Color"
117
117
  validateOnEnter: "Validate on entering the viewport"
118
+ showValidation: "Show validation errors"
118
119
 
119
120
  actions:
120
121
  COMPLETE: "Complete"