@projectcaluma/ember-form 11.0.0-beta.5 → 11.0.0-beta.6
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# [@projectcaluma/ember-form-v11.0.0-beta.6](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-v11.0.0-beta.5...@projectcaluma/ember-form-v11.0.0-beta.6) (2022-02-02)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* **action-button:** hide field wrapper if action button is not displayed ([1d4b701](https://github.com/projectcaluma/ember-caluma/commit/1d4b701af35d48d072001f3295b905b1065daffe))
|
7
|
+
* render static questions ([28fff94](https://github.com/projectcaluma/ember-caluma/commit/28fff9487e4ad3153fe267db4b66208ad858aaac))
|
8
|
+
* **table:** fix styling of table fields ([30c5903](https://github.com/projectcaluma/ember-caluma/commit/30c590389ed82c37ebf666f1484501c66ca8f0bb))
|
9
|
+
|
1
10
|
# [@projectcaluma/ember-form-v11.0.0-beta.5](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-v11.0.0-beta.4...@projectcaluma/ember-form-v11.0.0-beta.5) (2022-02-01)
|
2
11
|
|
3
12
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<table class="uk-table uk-table-divider">
|
1
|
+
<table class="uk-table uk-table-divider uk-margin-remove-vertical">
|
2
2
|
<thead>
|
3
3
|
<tr>
|
4
4
|
{{#each this.columns as |column|}}
|
@@ -25,27 +25,27 @@
|
|
25
25
|
class="uk-animation-fade uk-text-danger"
|
26
26
|
/>
|
27
27
|
{{/if}}
|
28
|
-
<
|
29
|
-
|
30
|
-
|
31
|
-
class="uk-button uk-button-link uk-flex-inline uk-margin-small-left"
|
28
|
+
<UkButton
|
29
|
+
@color="link"
|
30
|
+
@onClick={{fn this.edit document}}
|
32
31
|
title={{t "caluma.form.edit"}}
|
33
|
-
|
32
|
+
class="uk-flex-inline uk-margin-small-left"
|
33
|
+
data-test-edit-row
|
34
34
|
>
|
35
35
|
<UkIcon @icon="pencil" />
|
36
|
-
<span
|
37
|
-
</
|
36
|
+
<span hidden>{{t "caluma.form.edit"}}</span>
|
37
|
+
</UkButton>
|
38
38
|
{{#unless @disabled}}
|
39
|
-
<
|
40
|
-
|
41
|
-
|
42
|
-
class="uk-button uk-button-link uk-flex-inline uk-margin-small-left"
|
39
|
+
<UkButton
|
40
|
+
@color="link"
|
41
|
+
@onClick={{fn (perform this.delete) document}}
|
43
42
|
title={{t "caluma.form.delete"}}
|
44
|
-
|
43
|
+
class="uk-flex-inline uk-margin-small-left"
|
44
|
+
data-test-delete-row
|
45
45
|
>
|
46
46
|
<UkIcon @icon="trash" />
|
47
|
-
<span
|
48
|
-
</
|
47
|
+
<span hidden>{{t "caluma.form.delete"}}</span>
|
48
|
+
</UkButton>
|
49
49
|
{{/unless}}
|
50
50
|
</div>
|
51
51
|
</td>
|
@@ -57,12 +57,13 @@
|
|
57
57
|
<tr>
|
58
58
|
<td colspan={{add this.columns.length 1}} class="uk-text-center">
|
59
59
|
<UkButton
|
60
|
-
@
|
60
|
+
@color="link"
|
61
61
|
@onClick={{perform this.add}}
|
62
|
+
title={{t "caluma.form.addRow"}}
|
62
63
|
data-test-add-row
|
63
64
|
>
|
64
65
|
<UkIcon @icon="plus" />
|
65
|
-
<span
|
66
|
+
<span hidden>{{t "caluma.form.addRow"}}</span>
|
66
67
|
</UkButton>
|
67
68
|
</td>
|
68
69
|
</tr>
|
@@ -85,7 +86,7 @@
|
|
85
86
|
/>
|
86
87
|
</modal.body>
|
87
88
|
|
88
|
-
<modal.footer
|
89
|
+
<modal.footer class="uk-text-right">
|
89
90
|
{{#if @disabled}}
|
90
91
|
<UkButton
|
91
92
|
@label={{t "caluma.form.close"}}
|
@@ -31,7 +31,11 @@ export default class CfFieldComponent extends Component {
|
|
31
31
|
get visible() {
|
32
32
|
return (
|
33
33
|
!this.args.field?.hidden &&
|
34
|
-
!hasQuestionType(this.args.field?.question, "form")
|
34
|
+
!hasQuestionType(this.args.field?.question, "form") &&
|
35
|
+
!(
|
36
|
+
hasQuestionType(this.args.field?.question, "action-button") &&
|
37
|
+
this.args.disabled
|
38
|
+
)
|
35
39
|
);
|
36
40
|
}
|
37
41
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@projectcaluma/ember-form",
|
3
|
-
"version": "11.0.0-beta.
|
3
|
+
"version": "11.0.0-beta.6",
|
4
4
|
"description": "Ember addon for rendering Caluma forms.",
|
5
5
|
"keywords": [
|
6
6
|
"ember-addon"
|
@@ -24,6 +24,7 @@
|
|
24
24
|
"ember-cli-htmlbars": "^6.0.1",
|
25
25
|
"ember-cli-showdown": "^6.0.1",
|
26
26
|
"ember-composable-helpers": "^5.0.0",
|
27
|
+
"ember-concurrency": "^2.2.0",
|
27
28
|
"ember-fetch": "^8.1.1",
|
28
29
|
"ember-in-viewport": "^4.0.0",
|
29
30
|
"ember-intl": "^5.7.2",
|
@@ -31,7 +32,7 @@
|
|
31
32
|
"ember-pikaday": "^3.0.0",
|
32
33
|
"ember-power-select": "^5.0.3",
|
33
34
|
"ember-resources": "^4.2.0",
|
34
|
-
"ember-uikit": "^5.0.0-beta.
|
35
|
+
"ember-uikit": "^5.0.0-beta.11",
|
35
36
|
"ember-validators": "^4.1.0",
|
36
37
|
"graphql": "^15.8.0",
|
37
38
|
"jexl": "^2.3.0",
|