@projectcaluma/ember-form 12.15.3 → 12.15.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -25,17 +25,28 @@
|
|
25
25
|
class="uk-animation-fade uk-text-danger"
|
26
26
|
/>
|
27
27
|
{{/if}}
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
28
|
+
{{#if @disabled}}
|
29
|
+
<UkButton
|
30
|
+
@color="link"
|
31
|
+
@onClick={{fn this.edit document}}
|
32
|
+
title={{t "caluma.form.view"}}
|
33
|
+
class="uk-flex-inline uk-margin-small-left table-controls"
|
34
|
+
data-test-edit-row
|
35
|
+
>
|
36
|
+
<UkIcon @icon="eye" />
|
37
|
+
<span hidden>{{t "caluma.form.view"}}</span>
|
38
|
+
</UkButton>
|
39
|
+
{{else}}
|
40
|
+
<UkButton
|
41
|
+
@color="link"
|
42
|
+
@onClick={{fn this.edit document}}
|
43
|
+
title={{t "caluma.form.edit"}}
|
44
|
+
class="uk-flex-inline uk-margin-small-left table-controls"
|
45
|
+
data-test-edit-row
|
46
|
+
>
|
47
|
+
<UkIcon @icon="pencil" />
|
48
|
+
<span hidden>{{t "caluma.form.edit"}}</span>
|
49
|
+
</UkButton>
|
39
50
|
<UkButton
|
40
51
|
@color="link"
|
41
52
|
@onClick={{fn (perform this.delete) document}}
|
@@ -46,7 +57,7 @@
|
|
46
57
|
<UkIcon @icon="trash" />
|
47
58
|
<span hidden>{{t "caluma.form.delete"}}</span>
|
48
59
|
</UkButton>
|
49
|
-
{{/
|
60
|
+
{{/if}}
|
50
61
|
</div>
|
51
62
|
</td>
|
52
63
|
</tr>
|
@@ -126,7 +126,9 @@ export default class CfFieldInputTableComponent extends Component {
|
|
126
126
|
this.documentToEditIsNew = false;
|
127
127
|
}
|
128
128
|
|
129
|
-
|
129
|
+
if (!this.args.disabled) {
|
130
|
+
yield this.args.field.validate.perform();
|
131
|
+
}
|
130
132
|
|
131
133
|
this.showAddModal = false;
|
132
134
|
this.documentToEdit = null;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@projectcaluma/ember-form",
|
3
|
-
"version": "12.15.
|
3
|
+
"version": "12.15.5",
|
4
4
|
"description": "Ember addon for rendering Caluma forms.",
|
5
5
|
"keywords": [
|
6
6
|
"ember-addon"
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"ember-math-helpers": "^4.0.0",
|
31
31
|
"ember-power-select": "^7.2.0",
|
32
32
|
"ember-truth-helpers": "^4.0.3",
|
33
|
-
"ember-uikit": "^9.1.
|
33
|
+
"ember-uikit": "^9.1.2",
|
34
34
|
"ember-validators": "^4.1.2",
|
35
35
|
"flatpickr": "^4.6.13",
|
36
36
|
"graphql": "^15.8.0",
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"luxon": "^3.4.4",
|
40
40
|
"reactiveweb": "^1.2.3",
|
41
41
|
"tracked-toolbox": "^2.0.0",
|
42
|
-
"@projectcaluma/ember-core": "^12.15.
|
42
|
+
"@projectcaluma/ember-core": "^12.15.5"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
45
|
"@ember/optional-features": "2.1.0",
|
@@ -70,12 +70,12 @@
|
|
70
70
|
"sass": "1.70.0",
|
71
71
|
"uuid": "9.0.1",
|
72
72
|
"webpack": "5.91.0",
|
73
|
-
"@projectcaluma/ember-
|
74
|
-
"@projectcaluma/ember-
|
73
|
+
"@projectcaluma/ember-workflow": "12.15.5",
|
74
|
+
"@projectcaluma/ember-testing": "12.15.5"
|
75
75
|
},
|
76
76
|
"peerDependencies": {
|
77
77
|
"ember-source": "^4.0.0",
|
78
|
-
"@projectcaluma/ember-workflow": "^12.15.
|
78
|
+
"@projectcaluma/ember-workflow": "^12.15.5"
|
79
79
|
},
|
80
80
|
"dependenciesMeta": {
|
81
81
|
"@projectcaluma/ember-core": {
|
package/translations/de.yaml
CHANGED
package/translations/en.yaml
CHANGED