@projectcaluma/ember-form-builder 11.0.0-beta.10 → 11.0.0-beta.13
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.
- package/CHANGELOG.md +37 -0
- package/addon/components/cfb-code-editor.js +8 -5
- package/addon/components/cfb-form-editor/general.js +2 -2
- package/addon/components/cfb-form-editor/question/validation.js +2 -2
- package/addon/components/cfb-form-editor/question.hbs +8 -1
- package/addon/components/cfb-form-editor/question.js +22 -0
- package/addon/gql/fragments/field.graphql +12 -0
- package/addon/gql/mutations/save-calculated-float-question.graphql +1 -0
- package/addon/gql/mutations/save-choice-question.graphql +1 -0
- package/addon/gql/mutations/save-date-question.graphql +3 -0
- package/addon/gql/mutations/save-dynamic-choice-question.graphql +1 -0
- package/addon/gql/mutations/save-dynamic-multiple-choice-question.graphql +1 -0
- package/addon/gql/mutations/save-file-question.graphql +3 -0
- package/addon/gql/mutations/save-float-question.graphql +1 -0
- package/addon/gql/mutations/save-integer-question.graphql +1 -0
- package/addon/gql/mutations/save-multiple-choice-question.graphql +1 -0
- package/addon/gql/mutations/save-table-question.graphql +1 -0
- package/addon/gql/mutations/save-text-question.graphql +1 -0
- package/addon/gql/mutations/save-textarea-question.graphql +1 -0
- package/addon/gql/queries/form-editor-question.graphql +14 -0
- package/addon/validations/question.js +6 -0
- package/index.js +0 -6
- package/package.json +34 -27
- package/translations/de.yaml +1 -0
- package/translations/en.yaml +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
# [@projectcaluma/ember-form-builder-v11.0.0-beta.13](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-builder-v11.0.0-beta.12...@projectcaluma/ember-form-builder-v11.0.0-beta.13) (2022-05-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update ember-engines ([5aa5300](https://github.com/projectcaluma/ember-caluma/commit/5aa530074ea7dc08267d8ccc411eb1538537a1b5))
|
|
7
|
+
* **resources:** fix deprecations of ember-resources ([7a84c5c](https://github.com/projectcaluma/ember-caluma/commit/7a84c5c78d5b28f7b5393c64722907728dd5f42b))
|
|
8
|
+
|
|
9
|
+
# [@projectcaluma/ember-form-builder-v11.0.0-beta.12](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-builder-v11.0.0-beta.11...@projectcaluma/ember-form-builder-v11.0.0-beta.12) (2022-04-07)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **form-builder:** replace prismjs with highlight.js ([b92732c](https://github.com/projectcaluma/ember-caluma/commit/b92732c4586b2978dda80ad3643b6bd58c9605cb))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **cf-field:** add optional hints for form fields ([d847fbf](https://github.com/projectcaluma/ember-caluma/commit/d847fbffa376ea60971fb9e91aff8bf54ce77d50))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### BREAKING CHANGES
|
|
23
|
+
|
|
24
|
+
* **cf-field:** Question hints requires Caluma >= v7.15.0
|
|
25
|
+
|
|
26
|
+
Add option to create hints for certain question types. These
|
|
27
|
+
are displayed below the input field and can be used to provide
|
|
28
|
+
short, informative messages. Hints are available for all question
|
|
29
|
+
types except for form, static and action button questions.
|
|
30
|
+
|
|
31
|
+
# [@projectcaluma/ember-form-builder-v11.0.0-beta.11](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-builder-v11.0.0-beta.10...@projectcaluma/ember-form-builder-v11.0.0-beta.11) (2022-03-23)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* **embroider:** add missing dependency on @ember/string ([3a6e6bb](https://github.com/projectcaluma/ember-caluma/commit/3a6e6bb39a8c1a40a2ae00b3d4ea00606a755e25))
|
|
37
|
+
|
|
1
38
|
# [@projectcaluma/ember-form-builder-v11.0.0-beta.10](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-builder-v11.0.0-beta.9...@projectcaluma/ember-form-builder-v11.0.0-beta.10) (2022-03-11)
|
|
2
39
|
|
|
3
40
|
|
|
@@ -2,11 +2,14 @@ import { action } from "@ember/object";
|
|
|
2
2
|
import { addObserver } from "@ember/object/observers";
|
|
3
3
|
import Component from "@glimmer/component";
|
|
4
4
|
import { CodeJar } from "codejar";
|
|
5
|
-
import
|
|
5
|
+
import hljs from "highlight.js/lib/core";
|
|
6
|
+
import json from "highlight.js/lib/languages/json";
|
|
7
|
+
import markdown from "highlight.js/lib/languages/markdown";
|
|
8
|
+
import jexl from "highlightjs-jexl/src/languages/jexl";
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
hljs.registerLanguage("json", json);
|
|
11
|
+
hljs.registerLanguage("markdown", markdown);
|
|
12
|
+
hljs.registerLanguage("jexl", jexl);
|
|
10
13
|
|
|
11
14
|
export default class CfbCodeEditorComponent extends Component {
|
|
12
15
|
_editor = null;
|
|
@@ -54,7 +57,7 @@ export default class CfbCodeEditorComponent extends Component {
|
|
|
54
57
|
|
|
55
58
|
@action
|
|
56
59
|
didInsertNode(element) {
|
|
57
|
-
this._editor = CodeJar(element, (editor) =>
|
|
60
|
+
this._editor = CodeJar(element, (editor) => hljs.highlightElement(editor));
|
|
58
61
|
this._editor.onUpdate(this.onUpdate);
|
|
59
62
|
|
|
60
63
|
this.updateCode();
|
|
@@ -4,7 +4,7 @@ import { macroCondition, isTesting } from "@embroider/macros";
|
|
|
4
4
|
import Component from "@glimmer/component";
|
|
5
5
|
import { queryManager } from "ember-apollo-client";
|
|
6
6
|
import { timeout, restartableTask, dropTask } from "ember-concurrency";
|
|
7
|
-
import {
|
|
7
|
+
import { trackedTask } from "ember-resources/util/ember-concurrency";
|
|
8
8
|
|
|
9
9
|
import FormValidations from "../../validations/form";
|
|
10
10
|
|
|
@@ -25,7 +25,7 @@ export default class CfbFormEditorGeneral extends Component {
|
|
|
25
25
|
return this._data.value?.[0]?.node;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
_data =
|
|
28
|
+
_data = trackedTask(this, this.fetchData, () => [this.args.slug]);
|
|
29
29
|
|
|
30
30
|
@restartableTask
|
|
31
31
|
*fetchData() {
|
|
@@ -2,7 +2,7 @@ import { action } from "@ember/object";
|
|
|
2
2
|
import Component from "@glimmer/component";
|
|
3
3
|
import { queryManager } from "ember-apollo-client";
|
|
4
4
|
import { dropTask } from "ember-concurrency";
|
|
5
|
-
import {
|
|
5
|
+
import { trackedTask } from "ember-resources/util/ember-concurrency";
|
|
6
6
|
|
|
7
7
|
import allFormatValidatorsQuery from "@projectcaluma/ember-form-builder/gql/queries/all-format-validators.graphql";
|
|
8
8
|
|
|
@@ -21,7 +21,7 @@ export default class CfbFormEditorQuestionValidation extends Component {
|
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
_validators =
|
|
24
|
+
_validators = trackedTask(this, this.fetchFormatValidators, () => []);
|
|
25
25
|
|
|
26
26
|
@dropTask
|
|
27
27
|
*fetchFormatValidators() {
|
|
@@ -164,6 +164,13 @@
|
|
|
164
164
|
</div>
|
|
165
165
|
{{/if}}
|
|
166
166
|
|
|
167
|
+
{{#if (not (has-question-type f.model "action-button" "static" "form"))}}
|
|
168
|
+
<f.input
|
|
169
|
+
@name="hintText"
|
|
170
|
+
@label={{t "caluma.form-builder.question.hintText"}}
|
|
171
|
+
/>
|
|
172
|
+
{{/if}}
|
|
173
|
+
|
|
167
174
|
{{#if (has-question-type f.model "text" "textarea" "integer" "float")}}
|
|
168
175
|
<f.input
|
|
169
176
|
@name="placeholder"
|
|
@@ -367,7 +374,7 @@
|
|
|
367
374
|
>
|
|
368
375
|
{{#each this.model.rowForm.questions.edges as |rowEdge|}}
|
|
369
376
|
{{#let rowEdge.node as |row|}}
|
|
370
|
-
<label
|
|
377
|
+
<label>
|
|
371
378
|
<input
|
|
372
379
|
type="checkbox"
|
|
373
380
|
value={{row.slug}}
|
|
@@ -238,6 +238,7 @@ export default class CfbFormEditorQuestion extends Component {
|
|
|
238
238
|
minValue: parseInt(changeset.get("integerMinValue")),
|
|
239
239
|
maxValue: parseInt(changeset.get("integerMaxValue")),
|
|
240
240
|
placeholder: changeset.get("placeholder"),
|
|
241
|
+
hintText: changeset.get("hintText"),
|
|
241
242
|
};
|
|
242
243
|
}
|
|
243
244
|
|
|
@@ -246,6 +247,7 @@ export default class CfbFormEditorQuestion extends Component {
|
|
|
246
247
|
minValue: parseFloat(changeset.get("floatMinValue")),
|
|
247
248
|
maxValue: parseFloat(changeset.get("floatMaxValue")),
|
|
248
249
|
placeholder: changeset.get("placeholder"),
|
|
250
|
+
hintText: changeset.get("hintText"),
|
|
249
251
|
};
|
|
250
252
|
}
|
|
251
253
|
|
|
@@ -257,6 +259,7 @@ export default class CfbFormEditorQuestion extends Component {
|
|
|
257
259
|
formatValidators: changeset
|
|
258
260
|
.get("formatValidators")
|
|
259
261
|
?.edges.map((edge) => edge.node.slug),
|
|
262
|
+
hintText: changeset.get("hintText"),
|
|
260
263
|
};
|
|
261
264
|
}
|
|
262
265
|
|
|
@@ -268,36 +271,48 @@ export default class CfbFormEditorQuestion extends Component {
|
|
|
268
271
|
formatValidators: changeset
|
|
269
272
|
.get("formatValidators")
|
|
270
273
|
?.edges.map((edge) => edge.node.slug),
|
|
274
|
+
hintText: changeset.get("hintText"),
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
_getDateQuestionInput(changeset) {
|
|
279
|
+
return {
|
|
280
|
+
hintText: changeset.get("hintText"),
|
|
271
281
|
};
|
|
272
282
|
}
|
|
273
283
|
|
|
274
284
|
_getMultipleChoiceQuestionInput(changeset) {
|
|
275
285
|
return {
|
|
276
286
|
options: changeset.get("options.edges").map(({ node: { slug } }) => slug),
|
|
287
|
+
hintText: changeset.get("hintText"),
|
|
277
288
|
};
|
|
278
289
|
}
|
|
279
290
|
|
|
280
291
|
_getChoiceQuestionInput(changeset) {
|
|
281
292
|
return {
|
|
282
293
|
options: changeset.get("options.edges").map(({ node: { slug } }) => slug),
|
|
294
|
+
hintText: changeset.get("hintText"),
|
|
283
295
|
};
|
|
284
296
|
}
|
|
285
297
|
|
|
286
298
|
_getDynamicMultipleChoiceQuestionInput(changeset) {
|
|
287
299
|
return {
|
|
288
300
|
dataSource: changeset.get("dataSource"),
|
|
301
|
+
hintText: changeset.get("hintText"),
|
|
289
302
|
};
|
|
290
303
|
}
|
|
291
304
|
|
|
292
305
|
_getDynamicChoiceQuestionInput(changeset) {
|
|
293
306
|
return {
|
|
294
307
|
dataSource: changeset.get("dataSource"),
|
|
308
|
+
hintText: changeset.get("hintText"),
|
|
295
309
|
};
|
|
296
310
|
}
|
|
297
311
|
|
|
298
312
|
_getTableQuestionInput(changeset) {
|
|
299
313
|
return {
|
|
300
314
|
rowForm: changeset.get("rowForm.slug"),
|
|
315
|
+
hintText: changeset.get("hintText"),
|
|
301
316
|
};
|
|
302
317
|
}
|
|
303
318
|
|
|
@@ -316,6 +331,13 @@ export default class CfbFormEditorQuestion extends Component {
|
|
|
316
331
|
_getCalculatedFloatQuestionInput(changeset) {
|
|
317
332
|
return {
|
|
318
333
|
calcExpression: changeset.get("calcExpression"),
|
|
334
|
+
hintText: changeset.get("hintText"),
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
_getFileQuestionInput(changeset) {
|
|
339
|
+
return {
|
|
340
|
+
hintText: changeset.get("hintText"),
|
|
319
341
|
};
|
|
320
342
|
}
|
|
321
343
|
|
|
@@ -19,6 +19,7 @@ fragment SimpleQuestion on Question {
|
|
|
19
19
|
value
|
|
20
20
|
}
|
|
21
21
|
placeholder
|
|
22
|
+
hintText
|
|
22
23
|
}
|
|
23
24
|
... on TextareaQuestion {
|
|
24
25
|
textareaMinLength: minLength
|
|
@@ -28,6 +29,7 @@ fragment SimpleQuestion on Question {
|
|
|
28
29
|
value
|
|
29
30
|
}
|
|
30
31
|
placeholder
|
|
32
|
+
hintText
|
|
31
33
|
}
|
|
32
34
|
... on IntegerQuestion {
|
|
33
35
|
integerMinValue: minValue
|
|
@@ -37,6 +39,7 @@ fragment SimpleQuestion on Question {
|
|
|
37
39
|
value
|
|
38
40
|
}
|
|
39
41
|
placeholder
|
|
42
|
+
hintText
|
|
40
43
|
}
|
|
41
44
|
... on FloatQuestion {
|
|
42
45
|
floatMinValue: minValue
|
|
@@ -46,6 +49,7 @@ fragment SimpleQuestion on Question {
|
|
|
46
49
|
value
|
|
47
50
|
}
|
|
48
51
|
placeholder
|
|
52
|
+
hintText
|
|
49
53
|
}
|
|
50
54
|
... on ChoiceQuestion {
|
|
51
55
|
choiceOptions: options {
|
|
@@ -62,6 +66,7 @@ fragment SimpleQuestion on Question {
|
|
|
62
66
|
id
|
|
63
67
|
value
|
|
64
68
|
}
|
|
69
|
+
hintText
|
|
65
70
|
}
|
|
66
71
|
... on MultipleChoiceQuestion {
|
|
67
72
|
multipleChoiceOptions: options {
|
|
@@ -78,18 +83,24 @@ fragment SimpleQuestion on Question {
|
|
|
78
83
|
id
|
|
79
84
|
value
|
|
80
85
|
}
|
|
86
|
+
hintText
|
|
81
87
|
}
|
|
82
88
|
... on DateQuestion {
|
|
83
89
|
dateDefaultAnswer: defaultAnswer {
|
|
84
90
|
id
|
|
85
91
|
value
|
|
86
92
|
}
|
|
93
|
+
hintText
|
|
87
94
|
}
|
|
88
95
|
... on StaticQuestion {
|
|
89
96
|
staticContent
|
|
90
97
|
}
|
|
91
98
|
... on CalculatedFloatQuestion {
|
|
92
99
|
calcExpression
|
|
100
|
+
hintText
|
|
101
|
+
}
|
|
102
|
+
... on FileQuestion {
|
|
103
|
+
hintText
|
|
93
104
|
}
|
|
94
105
|
... on ActionButtonQuestion {
|
|
95
106
|
action
|
|
@@ -112,6 +123,7 @@ fragment FieldTableQuestion on Question {
|
|
|
112
123
|
}
|
|
113
124
|
}
|
|
114
125
|
}
|
|
126
|
+
hintText
|
|
115
127
|
tableDefaultAnswer: defaultAnswer {
|
|
116
128
|
id
|
|
117
129
|
value {
|
|
@@ -11,6 +11,7 @@ query FormEditorQuestion($slug: String!) {
|
|
|
11
11
|
integerMaxValue: maxValue
|
|
12
12
|
integerMinValue: minValue
|
|
13
13
|
placeholder
|
|
14
|
+
hintText
|
|
14
15
|
defaultAnswer {
|
|
15
16
|
id
|
|
16
17
|
integerValue: value
|
|
@@ -20,6 +21,7 @@ query FormEditorQuestion($slug: String!) {
|
|
|
20
21
|
floatMaxValue: maxValue
|
|
21
22
|
floatMinValue: minValue
|
|
22
23
|
placeholder
|
|
24
|
+
hintText
|
|
23
25
|
defaultAnswer {
|
|
24
26
|
id
|
|
25
27
|
floatValue: value
|
|
@@ -29,6 +31,7 @@ query FormEditorQuestion($slug: String!) {
|
|
|
29
31
|
minLength
|
|
30
32
|
maxLength
|
|
31
33
|
placeholder
|
|
34
|
+
hintText
|
|
32
35
|
defaultAnswer {
|
|
33
36
|
id
|
|
34
37
|
stringValue: value
|
|
@@ -52,12 +55,14 @@ query FormEditorQuestion($slug: String!) {
|
|
|
52
55
|
}
|
|
53
56
|
}
|
|
54
57
|
}
|
|
58
|
+
hintText
|
|
55
59
|
defaultAnswer {
|
|
56
60
|
id
|
|
57
61
|
stringValue: value
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
... on DateQuestion {
|
|
65
|
+
hintText
|
|
61
66
|
defaultAnswer {
|
|
62
67
|
id
|
|
63
68
|
dateValue: value
|
|
@@ -74,6 +79,7 @@ query FormEditorQuestion($slug: String!) {
|
|
|
74
79
|
}
|
|
75
80
|
}
|
|
76
81
|
}
|
|
82
|
+
hintText
|
|
77
83
|
defaultAnswer {
|
|
78
84
|
id
|
|
79
85
|
listValue: value
|
|
@@ -90,6 +96,7 @@ query FormEditorQuestion($slug: String!) {
|
|
|
90
96
|
}
|
|
91
97
|
}
|
|
92
98
|
}
|
|
99
|
+
hintText
|
|
93
100
|
defaultAnswer {
|
|
94
101
|
id
|
|
95
102
|
stringValue: value
|
|
@@ -97,9 +104,11 @@ query FormEditorQuestion($slug: String!) {
|
|
|
97
104
|
}
|
|
98
105
|
... on DynamicMultipleChoiceQuestion {
|
|
99
106
|
dataSource
|
|
107
|
+
hintText
|
|
100
108
|
}
|
|
101
109
|
... on DynamicChoiceQuestion {
|
|
102
110
|
dataSource
|
|
111
|
+
hintText
|
|
103
112
|
}
|
|
104
113
|
... on TableQuestion {
|
|
105
114
|
rowForm {
|
|
@@ -115,6 +124,7 @@ query FormEditorQuestion($slug: String!) {
|
|
|
115
124
|
}
|
|
116
125
|
}
|
|
117
126
|
}
|
|
127
|
+
hintText
|
|
118
128
|
defaultAnswer {
|
|
119
129
|
id
|
|
120
130
|
tableValue: value {
|
|
@@ -151,6 +161,10 @@ query FormEditorQuestion($slug: String!) {
|
|
|
151
161
|
}
|
|
152
162
|
... on CalculatedFloatQuestion {
|
|
153
163
|
calcExpression
|
|
164
|
+
hintText
|
|
165
|
+
}
|
|
166
|
+
... on FileQuestion {
|
|
167
|
+
hintText
|
|
154
168
|
}
|
|
155
169
|
... on ActionButtonQuestion {
|
|
156
170
|
action
|
|
@@ -16,6 +16,12 @@ export default {
|
|
|
16
16
|
label: and(validatePresence(true), validateLength({ max: 1024 })),
|
|
17
17
|
slug: validateSlug(),
|
|
18
18
|
|
|
19
|
+
hintText: or(
|
|
20
|
+
validateType("FormQuestion", true),
|
|
21
|
+
validateType("StaticQuestion", true),
|
|
22
|
+
validateType("FileQuestion", true),
|
|
23
|
+
validateLength({ max: 1024, allowBlank: true })
|
|
24
|
+
),
|
|
19
25
|
integerMinValue: or(
|
|
20
26
|
validateType("IntegerQuestion", false),
|
|
21
27
|
and(
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projectcaluma/ember-form-builder",
|
|
3
|
-
"version": "11.0.0-beta.
|
|
3
|
+
"version": "11.0.0-beta.13",
|
|
4
4
|
"description": "Ember engine for building Caluma forms.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -19,16 +19,17 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@ember/render-modifiers": "^2.0.4",
|
|
22
|
-
"@
|
|
23
|
-
"@
|
|
24
|
-
"@glimmer/
|
|
25
|
-
"@
|
|
26
|
-
"@projectcaluma/ember-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"ember-
|
|
30
|
-
"ember-
|
|
31
|
-
"ember-changeset
|
|
22
|
+
"@ember/string": "^3.0.0",
|
|
23
|
+
"@embroider/macros": "^1.6.0",
|
|
24
|
+
"@glimmer/component": "^1.1.2",
|
|
25
|
+
"@glimmer/tracking": "^1.1.2",
|
|
26
|
+
"@projectcaluma/ember-core": "^11.0.0-beta.7",
|
|
27
|
+
"@projectcaluma/ember-form": "^11.0.0-beta.19",
|
|
28
|
+
"codejar": "^3.6.0",
|
|
29
|
+
"ember-apollo-client": "^4.0.2",
|
|
30
|
+
"ember-auto-import": "^2.4.1",
|
|
31
|
+
"ember-changeset": "^4.1.0",
|
|
32
|
+
"ember-changeset-validations": "^4.1.0",
|
|
32
33
|
"ember-cli-babel": "^7.26.11",
|
|
33
34
|
"ember-cli-htmlbars": "^6.0.1",
|
|
34
35
|
"ember-composable-helpers": "^5.0.0",
|
|
@@ -39,48 +40,54 @@
|
|
|
39
40
|
"ember-math-helpers": "^2.18.1",
|
|
40
41
|
"ember-pikaday": "^4.0.0",
|
|
41
42
|
"ember-power-select": "^5.0.4",
|
|
42
|
-
"ember-resources": "^4.
|
|
43
|
+
"ember-resources": "^4.7.1",
|
|
43
44
|
"ember-test-selectors": "^6.0.0",
|
|
44
|
-
"ember-uikit": "^5.
|
|
45
|
+
"ember-uikit": "^5.1.3",
|
|
45
46
|
"ember-validated-form": "^5.3.0",
|
|
46
47
|
"graphql": "^15.8.0",
|
|
47
48
|
"graphql-tag": "^2.12.6",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
49
|
+
"highlight.js": "^11.5.1",
|
|
50
|
+
"highlightjs-jexl": "^0.0.5",
|
|
51
|
+
"jexl": "^2.3.0"
|
|
50
52
|
},
|
|
51
|
-
"//":
|
|
53
|
+
"//": [
|
|
54
|
+
"TODO: remove obsolete dependency to `ember-data` which is only necessary",
|
|
55
|
+
"because @embroider/macros `dependencySatisfies` still resolves to `true`",
|
|
56
|
+
"even if the dependency is only present in the workspace (because of the",
|
|
57
|
+
"docs app) but not as direct dependency of the package."
|
|
58
|
+
],
|
|
52
59
|
"devDependencies": {
|
|
53
60
|
"@ember/optional-features": "2.0.0",
|
|
54
|
-
"@ember/test-helpers": "2.
|
|
55
|
-
"@embroider/test-setup": "1.
|
|
56
|
-
"@faker-js/faker": "6.
|
|
57
|
-
"@projectcaluma/ember-testing": "11.0.0-beta.
|
|
61
|
+
"@ember/test-helpers": "2.7.0",
|
|
62
|
+
"@embroider/test-setup": "1.6.0",
|
|
63
|
+
"@faker-js/faker": "6.3.1",
|
|
64
|
+
"@projectcaluma/ember-testing": "11.0.0-beta.7",
|
|
58
65
|
"broccoli-asset-rev": "3.0.0",
|
|
59
66
|
"ember-autoresize-modifier": "^0.5.0",
|
|
60
67
|
"ember-cli": "3.28.5",
|
|
61
68
|
"ember-cli-code-coverage": "1.0.3",
|
|
62
|
-
"ember-cli-dependency-checker": "3.
|
|
69
|
+
"ember-cli-dependency-checker": "3.3.1",
|
|
63
70
|
"ember-cli-inject-live-reload": "2.1.0",
|
|
64
|
-
"ember-cli-mirage": "3.0.0-alpha.
|
|
71
|
+
"ember-cli-mirage": "3.0.0-alpha.3",
|
|
65
72
|
"ember-cli-sri": "2.1.1",
|
|
66
73
|
"ember-cli-terser": "4.0.2",
|
|
67
|
-
"ember-data": "3.28.
|
|
74
|
+
"ember-data": "3.28.9",
|
|
68
75
|
"ember-disable-prototype-extensions": "1.1.3",
|
|
69
|
-
"ember-engines": "0.8.
|
|
76
|
+
"ember-engines": "0.8.22",
|
|
70
77
|
"ember-export-application-global": "2.0.1",
|
|
71
78
|
"ember-load-initializers": "2.1.2",
|
|
72
79
|
"ember-maybe-import-regenerator": "1.0.0",
|
|
73
80
|
"ember-qunit": "5.1.5",
|
|
74
81
|
"ember-resolver": "8.0.3",
|
|
75
|
-
"ember-source": "3.28.
|
|
82
|
+
"ember-source": "3.28.9",
|
|
76
83
|
"ember-source-channel-url": "3.0.0",
|
|
77
84
|
"ember-try": "2.0.0",
|
|
78
85
|
"loader.js": "4.7.0",
|
|
79
86
|
"miragejs": "0.1.43",
|
|
80
87
|
"npm-run-all": "4.1.5",
|
|
81
|
-
"qunit": "2.
|
|
88
|
+
"qunit": "2.19.1",
|
|
82
89
|
"qunit-dom": "2.0.0",
|
|
83
|
-
"webpack": "5.
|
|
90
|
+
"webpack": "5.72.0"
|
|
84
91
|
},
|
|
85
92
|
"engines": {
|
|
86
93
|
"node": "12.* || 14.* || >= 16"
|
package/translations/de.yaml
CHANGED
package/translations/en.yaml
CHANGED