@projectcaluma/ember-form 14.10.3 → 14.11.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.
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
{{yield content}}
|
|
30
30
|
{{else if (gt this.document.fieldsets.length 1)}}
|
|
31
31
|
<div uk-grid>
|
|
32
|
-
<div class=
|
|
33
|
-
<div class="uk-width-
|
|
32
|
+
<div class={{this.navigationWidth}}><content.navigation /></div>
|
|
33
|
+
<div class="uk-width-expand">
|
|
34
34
|
{{yield to="formHeader"}}
|
|
35
|
-
<content.form />
|
|
35
|
+
<content.form ...attributes />
|
|
36
36
|
<hr />
|
|
37
37
|
<content.pagination />
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
40
40
|
{{else}}
|
|
41
|
-
<content.form />
|
|
41
|
+
<content.form ...attributes />
|
|
42
42
|
{{/if}}
|
|
43
43
|
{{/let}}
|
|
44
44
|
{{else}}
|
|
@@ -139,6 +139,15 @@ export default class CfContentComponent extends Component {
|
|
|
139
139
|
);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
+
get navigationWidth() {
|
|
143
|
+
const classes = this.args.navigationWidth ?? [
|
|
144
|
+
"uk-width-1",
|
|
145
|
+
"uk-width-1-3@m",
|
|
146
|
+
];
|
|
147
|
+
|
|
148
|
+
return classes.join(" ");
|
|
149
|
+
}
|
|
150
|
+
|
|
142
151
|
fetchData = task({ drop: true }, async () => {
|
|
143
152
|
if (this.document) destroy(this.document);
|
|
144
153
|
if (this.navigation) destroy(this.navigation);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projectcaluma/ember-form",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.11.0",
|
|
4
4
|
"description": "Ember addon for rendering Caluma forms.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"luxon": "^3.5.0",
|
|
40
40
|
"reactiveweb": "^1.3.0",
|
|
41
41
|
"tracked-toolbox": "^2.0.0",
|
|
42
|
-
"@projectcaluma/ember-core": "^14.
|
|
42
|
+
"@projectcaluma/ember-core": "^14.11.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@ember/optional-features": "2.3.0",
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
"uikit": "3.25.6",
|
|
75
75
|
"uuid": "13.0.0",
|
|
76
76
|
"webpack": "5.104.1",
|
|
77
|
-
"@projectcaluma/ember-
|
|
78
|
-
"@projectcaluma/ember-
|
|
77
|
+
"@projectcaluma/ember-workflow": "14.11.0",
|
|
78
|
+
"@projectcaluma/ember-testing": "14.11.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"ember-source": ">= 4.0.0",
|
|
82
|
-
"@projectcaluma/ember-workflow": "^14.
|
|
82
|
+
"@projectcaluma/ember-workflow": "^14.11.0"
|
|
83
83
|
},
|
|
84
84
|
"dependenciesMeta": {
|
|
85
85
|
"@projectcaluma/ember-core": {
|