@projectcaluma/ember-form 11.1.4 → 11.2.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.
@@ -18,7 +18,7 @@ export default class CfFieldValueComponent extends Component {
|
|
18
18
|
"node.value"
|
19
19
|
);
|
20
20
|
|
21
|
-
const { downloadUrl } = files?.find((file) => file.id === id);
|
21
|
+
const { downloadUrl } = files?.find((file) => file.id === id) ?? {};
|
22
22
|
if (downloadUrl) {
|
23
23
|
window.open(downloadUrl, "_blank");
|
24
24
|
}
|
@@ -5,6 +5,8 @@
|
|
5
5
|
(and @disabled (has-question-type @field.question 'action-button'))
|
6
6
|
'uk-hidden'
|
7
7
|
}}"
|
8
|
+
data-question-slug={{@field.question.slug}}
|
9
|
+
data-question-type={{@field.questionType}}
|
8
10
|
{{did-insert this.registerComponent}}
|
9
11
|
{{will-destroy this.unregisterComponent}}
|
10
12
|
{{in-viewport onEnter=this.refreshDynamicOptions}}
|
@@ -4,15 +4,23 @@ module.exports = {
|
|
4
4
|
normalizeEntityName() {},
|
5
5
|
|
6
6
|
afterInstall() {
|
7
|
+
/**
|
8
|
+
* Automatically install all ember addons that expose helpers / components
|
9
|
+
* used in templates of the addon itself. Other dependencies that are only
|
10
|
+
* used in JS code don't need to be installed in the host app and therefore
|
11
|
+
* don't have to be included here.
|
12
|
+
*/
|
7
13
|
return this.addAddonsToProject({
|
8
14
|
packages: [
|
9
15
|
{ name: "@projectcaluma/ember-core" },
|
16
|
+
{ name: "ember-autoresize-modifier" },
|
10
17
|
{ name: "ember-cli-showdown" },
|
11
18
|
{ name: "ember-composable-helpers" },
|
12
|
-
{ name: "ember-
|
19
|
+
{ name: "ember-concurrency" },
|
13
20
|
{ name: "ember-flatpickr" },
|
21
|
+
{ name: "ember-in-viewport" },
|
22
|
+
{ name: "ember-math-helpers" },
|
14
23
|
{ name: "ember-power-select" },
|
15
|
-
{ name: "ember-autoresize-modifier" },
|
16
24
|
],
|
17
25
|
});
|
18
26
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@projectcaluma/ember-form",
|
3
|
-
"version": "11.
|
3
|
+
"version": "11.2.0",
|
4
4
|
"description": "Ember addon for rendering Caluma forms.",
|
5
5
|
"keywords": [
|
6
6
|
"ember-addon"
|
@@ -18,9 +18,9 @@
|
|
18
18
|
"@embroider/util": "^1.10.0",
|
19
19
|
"@glimmer/component": "^1.1.2",
|
20
20
|
"@glimmer/tracking": "^1.1.2",
|
21
|
-
"@projectcaluma/ember-core": "^11.
|
21
|
+
"@projectcaluma/ember-core": "^11.2.0",
|
22
22
|
"ember-apollo-client": "~4.0.2",
|
23
|
-
"ember-auto-import": "^2.6.
|
23
|
+
"ember-auto-import": "^2.6.3",
|
24
24
|
"ember-autoresize-modifier": "^0.7.0",
|
25
25
|
"ember-cli-babel": "^7.26.11",
|
26
26
|
"ember-cli-htmlbars": "^6.2.0",
|
@@ -34,21 +34,21 @@
|
|
34
34
|
"ember-math-helpers": "^3.0.0",
|
35
35
|
"ember-power-select": "^7.0.0",
|
36
36
|
"ember-resources": "^5.6.4",
|
37
|
-
"ember-uikit": "^7.0.
|
37
|
+
"ember-uikit": "^7.0.3",
|
38
38
|
"ember-validators": "^4.1.2",
|
39
39
|
"graphql": "^15.8.0",
|
40
40
|
"jexl": "^2.3.0",
|
41
41
|
"lodash.isequal": "^4.5.0",
|
42
42
|
"luxon": "^3.3.0",
|
43
|
-
"tracked-toolbox": "^
|
43
|
+
"tracked-toolbox": "^2.0.0"
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
46
|
"@ember/optional-features": "2.0.0",
|
47
47
|
"@ember/test-helpers": "2.9.3",
|
48
48
|
"@embroider/test-setup": "2.1.1",
|
49
49
|
"@faker-js/faker": "7.6.0",
|
50
|
-
"@projectcaluma/ember-testing": "11.
|
51
|
-
"@projectcaluma/ember-workflow": "
|
50
|
+
"@projectcaluma/ember-testing": "11.2.0",
|
51
|
+
"@projectcaluma/ember-workflow": "11.2.0",
|
52
52
|
"broccoli-asset-rev": "3.0.0",
|
53
53
|
"ember-cli": "4.11.0",
|
54
54
|
"ember-cli-code-coverage": "2.0.0",
|
@@ -67,12 +67,12 @@
|
|
67
67
|
"miragejs": "0.1.47",
|
68
68
|
"qunit": "2.19.4",
|
69
69
|
"qunit-dom": "2.0.0",
|
70
|
-
"uikit": "3.16.
|
70
|
+
"uikit": "3.16.15",
|
71
71
|
"uuid": "9.0.0",
|
72
|
-
"webpack": "5.
|
72
|
+
"webpack": "5.80.0"
|
73
73
|
},
|
74
74
|
"peerDependencies": {
|
75
|
-
"@projectcaluma/ember-workflow": "^11.
|
75
|
+
"@projectcaluma/ember-workflow": "^11.2.0",
|
76
76
|
"ember-source": "^3.28.0 || ^4.0.0"
|
77
77
|
},
|
78
78
|
"peerDependenciesMeta": {
|