@projectcaluma/ember-form 13.0.0 → 13.0.2
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{{@field.selected.label}}
|
|
3
3
|
{{else if
|
|
4
4
|
(has-question-type
|
|
5
|
-
@field.question "multiple-choice" "multiple-
|
|
5
|
+
@field.question "multiple-choice" "dynamic-multiple-choice"
|
|
6
6
|
)
|
|
7
7
|
}}
|
|
8
8
|
{{#each @field.selected as |opt i|}}{{if (gt i 0) ", "}}{{opt.label}}{{/each}}
|
|
@@ -31,6 +31,13 @@ export default class CfFieldComponent extends Component {
|
|
|
31
31
|
this.args.field._components.delete(this);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
get hasHiddenWidget() {
|
|
35
|
+
return (
|
|
36
|
+
this.args.field?.question.raw.meta.widgetOverride ===
|
|
37
|
+
"cf-field/input/hidden"
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
34
41
|
get visible() {
|
|
35
42
|
return (
|
|
36
43
|
!this.args.field?.hidden &&
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projectcaluma/ember-form",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.2",
|
|
4
4
|
"description": "Ember addon for rendering Caluma forms.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"luxon": "^3.5.0",
|
|
41
41
|
"reactiveweb": "^1.3.0",
|
|
42
42
|
"tracked-toolbox": "^2.0.0",
|
|
43
|
-
"@projectcaluma/ember-core": "^13.0.
|
|
43
|
+
"@projectcaluma/ember-core": "^13.0.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@ember/optional-features": "2.1.0",
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"uikit": "3.21.9",
|
|
72
72
|
"uuid": "10.0.0",
|
|
73
73
|
"webpack": "5.93.0",
|
|
74
|
-
"@projectcaluma/ember-testing": "13.0.
|
|
75
|
-
"@projectcaluma/ember-workflow": "13.0.
|
|
74
|
+
"@projectcaluma/ember-testing": "13.0.2",
|
|
75
|
+
"@projectcaluma/ember-workflow": "13.0.2"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"ember-source": ">= 4.0.0",
|
|
79
|
-
"@projectcaluma/ember-workflow": "^13.0.
|
|
79
|
+
"@projectcaluma/ember-workflow": "^13.0.2"
|
|
80
80
|
},
|
|
81
81
|
"dependenciesMeta": {
|
|
82
82
|
"@projectcaluma/ember-core": {
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
caluma:
|
|
2
|
+
form:
|
|
3
|
+
optional: "Facoltativo"
|
|
4
|
+
save: "Salva"
|
|
5
|
+
delete: "Elimina"
|
|
6
|
+
edit: "Modifica"
|
|
7
|
+
cancel: "Annulla"
|
|
8
|
+
close: "Chiudi"
|
|
9
|
+
view: "Visualizza"
|
|
10
|
+
selectFile: "Cerca..."
|
|
11
|
+
deleteRow: "Cancellare davvero questa riga?"
|
|
12
|
+
addRow: "Aggiungi riga"
|
|
13
|
+
optionNotAvailable: "Questa opzione non è più disponibile"
|
|
14
|
+
info: "Ulteriori informazioni"
|
|
15
|
+
|
|
16
|
+
error:
|
|
17
|
+
details: "Dettagli tecnici:"
|
|
18
|
+
technical-error: "ops, qualcosa è andato storto! Non è stato possibile salvare la risposta."
|
|
19
|
+
offline: "Non è stato possibile salvare la risposta poiché manca la connessione a Internet. Verificare la connessione a Internet e riprovare."
|
|
20
|
+
invalid: "Non è stato possibile salvare la risposta poiché la convalida non è andata a buon fine. Verificare i dati inseriti e riprovare."
|
|
21
|
+
|
|
22
|
+
navigation:
|
|
23
|
+
next: "Avanti"
|
|
24
|
+
previous: "Indietro"
|
|
25
|
+
states:
|
|
26
|
+
untouched: "Non compilato"
|
|
27
|
+
unfinished: "Non compilato integralmente"
|
|
28
|
+
valid: "Compilato correttamente"
|
|
29
|
+
invalid: "Compilato in modo non corretto"
|
|
30
|
+
|
|
31
|
+
notification:
|
|
32
|
+
table:
|
|
33
|
+
add:
|
|
34
|
+
success: "Voce aggiunta con successo."
|
|
35
|
+
error: "Ops, nel tentativo di aggiungere la voce qualcosa è andato storto."
|
|
36
|
+
|
|
37
|
+
power-select:
|
|
38
|
+
placeholder-single: "Seleziona un'opzione"
|
|
39
|
+
placeholder-multiple: "Seleziona una o più opzioni"
|
|
40
|
+
options-loading: "Carica opzioni..."
|
|
41
|
+
options-empty: "Nessuna opzione disponibile"
|
|
42
|
+
search-placeholder: "Clicca qui per cercare"
|
|
43
|
+
search-empty: "Nessuna opzione trovata"
|
|
44
|
+
reset: "Ripristina"
|
|
45
|
+
|
|
46
|
+
validation:
|
|
47
|
+
blank: "Questo campo non può essere vuoto"
|
|
48
|
+
tooShort: "Questo campo deve contenere almeno {min} caratteri"
|
|
49
|
+
tooLong: "In questo campo sono ammessi al massimo {max} caratteri"
|
|
50
|
+
greaterThanOrEqualTo: "Il valore inserito in questo campo non può essere inferiore a {gte}"
|
|
51
|
+
lessThanOrEqualTo: "Il valore inserito in questo campo non può essere superiore a {lte}"
|
|
52
|
+
notAnInteger: "Inserisci una cifra intera"
|
|
53
|
+
inclusion: '"{label}" non è un valore valido per questo campo'
|
|
54
|
+
deleteFailed: "Errore durante l'eliminazione."
|
|
55
|
+
uploadFailed: "Errore durante il caricamento."
|
|
56
|
+
format: "{errorMsg}"
|
|
57
|
+
table: "Almeno una riga della tabella non è stata compilata correttamente."
|
|
58
|
+
error: "Le domande seguenti non sono state compilate in modo corretto:"
|