decidim-forms 0.29.5 → 0.29.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 202c3358cbfb1e02e80c1f616a7e153c9e111e614038189f5f957abaff46fdcc
4
- data.tar.gz: 408fc4f21eedc9917f9a53c1ce4441fd2c50ece4a4282ee6795f9e5280c6fb78
3
+ metadata.gz: 2cf148a21d7a5a30b76461a405cbcb57b2ac7bb9fc3b5a5532f21890a52d447c
4
+ data.tar.gz: cf5466bd492a26fe3d5811410c932dbf42426aecd3b424c2c4c7d07c504e6046
5
5
  SHA512:
6
- metadata.gz: ec3e4a3d75dd117f6bd4837e5ee12e8a3fe73406c64e13e8911aafc5312e51118ccfbce4b690cdf551ef0e0f9add6b60ebbe4ce1a973c36619c07e31c04b5886
7
- data.tar.gz: 43d4d6b33a4246edf67731e2799c177e2a0165fb9adaf55e65e0eb83310819f553fd64a47f4fd7d41f241bea226d89aafbfef51a314a5e7581ee4a984e2cb156
6
+ metadata.gz: b523d8c6ebcb09682940a7cab01d71521d8a4f05bec27157c8101069be6d98f218d58fc565122ae586ee76f885d885c1bcde7b2eedc5cd4df5081eb0143aee6f
7
+ data.tar.gz: 8f6a0a3fb8118651bcafd715b7a8a9c6bd250945bfeaed54360d7fd3317dfc401f9e751fd5835e60ca1bee8a3add7a7eaaee753d44f9bb3619481e54c5b71d8a
@@ -35,10 +35,31 @@ $(() => {
35
35
  }
36
36
  });
37
37
 
38
- document.querySelectorAll(".js-sortable-check-box-collection").forEach((el) => new DragonDrop(el, {
39
- handle: false,
40
- item: ".js-collection-input"
41
- }));
38
+ document.querySelectorAll(".js-sortable-check-box-collection").forEach((el) => {
39
+
40
+ /**
41
+ * Due to a bug reported in https://github.com/decidim/decidim/issues/15191
42
+ * we have to listen to the `drag` event and prevent the scrolling
43
+ * and enabling it back again after it.
44
+ */
45
+
46
+ let preventScroll = function(event) {
47
+ event.preventDefault();
48
+ }
49
+
50
+ el.addEventListener("touchmove", (event) => {
51
+ preventScroll(event);
52
+ }, { passive: false });
53
+
54
+ el.addEventListener("touchend", () => {
55
+ el.removeEventListener("touchmove", preventScroll)
56
+ });
57
+
58
+ return new DragonDrop(el, {
59
+ handle: false,
60
+ item: ".js-collection-input"
61
+ });
62
+ });
42
63
 
43
64
  $(".answer-questionnaire .question[data-conditioned='true']").each((idx, el) => {
44
65
  createDisplayConditions({
@@ -40,8 +40,13 @@ ar:
40
40
  remove: إزالة
41
41
  statement: بيان
42
42
  up: فوق
43
+ separator:
44
+ down: أسفل
45
+ up: فوق
43
46
  title_and_description:
44
47
  description: الوصف
48
+ down: أسفل
49
+ up: فوق
45
50
  update:
46
51
  invalid: كانت هناك مشكلة في حفظ النموذج.
47
52
  question_types:
@@ -83,14 +83,14 @@ bg:
83
83
  statement: Изявление
84
84
  up: Горе
85
85
  separator:
86
- down: Долу
86
+ down: Надолу
87
87
  remove: Премахни
88
88
  separator: Разделител
89
89
  up: Горе
90
90
  title_and_description:
91
91
  collapse: Свий
92
92
  description: Описание
93
- down: Долу
93
+ down: Надолу
94
94
  expand: Разтваряне
95
95
  remove: Премахни
96
96
  title: Заглавие
@@ -108,19 +108,19 @@ ca-IT:
108
108
  statement: Declaració
109
109
  up: Amunt
110
110
  separator:
111
- down: Baixar
111
+ down: Avall
112
112
  remove: Eliminar
113
113
  separator: Separador
114
- up: Pujar
114
+ up: Amunt
115
115
  title_and_description:
116
116
  collapse: Replegar
117
117
  description: Descripció
118
- down: Baixar
118
+ down: Avall
119
119
  expand: Expandir
120
120
  remove: Esborrar
121
121
  title: Títol
122
122
  title_and_description: Títol i descripció
123
- up: Pujar
123
+ up: Amunt
124
124
  update:
125
125
  invalid: S'ha produït un error en desar el formulari.
126
126
  success: Formulari desat correctament.
@@ -108,19 +108,19 @@ ca:
108
108
  statement: Declaració
109
109
  up: Amunt
110
110
  separator:
111
- down: Baixar
111
+ down: Avall
112
112
  remove: Eliminar
113
113
  separator: Separador
114
- up: Pujar
114
+ up: Amunt
115
115
  title_and_description:
116
116
  collapse: Replegar
117
117
  description: Descripció
118
- down: Baixar
118
+ down: Avall
119
119
  expand: Expandir
120
120
  remove: Esborrar
121
121
  title: Títol
122
122
  title_and_description: Títol i descripció
123
- up: Pujar
123
+ up: Amunt
124
124
  update:
125
125
  invalid: S'ha produït un error en desar el formulari.
126
126
  success: Formulari desat correctament.
@@ -108,19 +108,19 @@ de:
108
108
  statement: Aussage
109
109
  up: Oben
110
110
  separator:
111
- down: Runter
111
+ down: Nach unten
112
112
  remove: Löschen
113
113
  separator: Trennzeichen
114
- up: Nach oben
114
+ up: Oben
115
115
  title_and_description:
116
116
  collapse: Einklappen
117
117
  description: Beschreibung
118
- down: Runter
118
+ down: Nach unten
119
119
  expand: Ausklappen
120
120
  remove: Entfernen
121
121
  title: Titel
122
122
  title_and_description: Titel und Beschreibung
123
- up: Hinauf
123
+ up: Oben
124
124
  update:
125
125
  invalid: Beim Speichern des Fragebogens sind Fehler aufgetreten.
126
126
  success: Formular erfolgreich gespeichert.
@@ -95,7 +95,7 @@ el:
95
95
  remove: Αφαίρεση
96
96
  title: Τίτλος
97
97
  title_and_description: Τίτλος και περιγραφή
98
- up: Πάνω
98
+ up: Επάνω
99
99
  update:
100
100
  invalid: Υπήρξε ένα πρόβλημα κατά την αποθήκευση της φόρμας.
101
101
  success: Η φόρμα αποθηκεύτηκε επιτυχώς.
@@ -108,19 +108,19 @@ es-MX:
108
108
  statement: Declaración
109
109
  up: Arriba
110
110
  separator:
111
- down: Bajar
111
+ down: Abajo
112
112
  remove: Eliminar
113
113
  separator: Separador
114
- up: Subir
114
+ up: Arriba
115
115
  title_and_description:
116
116
  collapse: Contraer
117
117
  description: Descripción
118
- down: Bajar
118
+ down: Abajo
119
119
  expand: Expandir
120
120
  remove: Eliminar
121
121
  title: Título
122
122
  title_and_description: Título y descripción
123
- up: Subir
123
+ up: Arriba
124
124
  update:
125
125
  invalid: Ha habido errores al guardar el cuestionario.
126
126
  success: Formulario guardado correctamente.
@@ -108,19 +108,19 @@ es-PY:
108
108
  statement: Declaración
109
109
  up: Arriba
110
110
  separator:
111
- down: Bajar
111
+ down: Abajo
112
112
  remove: Eliminar
113
113
  separator: Separador
114
- up: Subir
114
+ up: Arriba
115
115
  title_and_description:
116
116
  collapse: Contraer
117
117
  description: Descripción
118
- down: Bajar
118
+ down: Abajo
119
119
  expand: Expandir
120
120
  remove: Eliminar
121
121
  title: Título
122
122
  title_and_description: Título y descripción
123
- up: Subir
123
+ up: Arriba
124
124
  update:
125
125
  invalid: Ha habido errores al guardar el cuestionario.
126
126
  success: Formulario guardado correctamente.
@@ -108,19 +108,19 @@ es:
108
108
  statement: Declaración
109
109
  up: Arriba
110
110
  separator:
111
- down: Bajar
111
+ down: Abajo
112
112
  remove: Eliminar
113
113
  separator: Separador
114
- up: Subir
114
+ up: Arriba
115
115
  title_and_description:
116
116
  collapse: Contraer
117
117
  description: Descripción
118
- down: Bajar
118
+ down: Abajo
119
119
  expand: Expandir
120
120
  remove: Eliminar
121
121
  title: Título
122
122
  title_and_description: Título y descripción
123
- up: Subir
123
+ up: Arriba
124
124
  update:
125
125
  invalid: Se ha producido un error al guardar el formulario.
126
126
  success: Formulario guardado correctamente.
@@ -113,7 +113,7 @@ eu:
113
113
  separator: Bereizlea
114
114
  up: Gora
115
115
  title_and_description:
116
- collapse: Kolapsoa
116
+ collapse: Tolestu
117
117
  description: Deskribapena
118
118
  down: Behera
119
119
  expand: Zabaldu
@@ -177,7 +177,7 @@ eu:
177
177
  body: Galdetegi honen ezaugarri batzuk desaktibatu egingo dira. Zure esperientzia hobetzeko, gaitu JavaScript zure nabigatzailean.
178
178
  title: Javascript desaktibatuta dago
179
179
  questionnaire_not_published:
180
- body: Argitalpen hau oraindik ez da argitaratu.
180
+ body: Formulario hau ez da oraindik argitaratu.
181
181
  tos_agreement: Parte hartzean, haren zerbitzu-baldintzak onartzen dituzu
182
182
  step_navigation:
183
183
  show:
@@ -108,10 +108,10 @@ fr-CA:
108
108
  statement: Déclaration
109
109
  up: Monter
110
110
  separator:
111
- down: Bas
111
+ down: Descendre
112
112
  remove: Retirer
113
113
  separator: Séparateur
114
- up: Haut
114
+ up: Monter
115
115
  title_and_description:
116
116
  collapse: Réduire
117
117
  description: Description
@@ -120,7 +120,7 @@ fr-CA:
120
120
  remove: Supprimer
121
121
  title: Titre
122
122
  title_and_description: Titre et description
123
- up: Vers le haut
123
+ up: Monter
124
124
  update:
125
125
  invalid: Il y a eu des erreurs lors de la sauvegarde du questionnaire.
126
126
  success: Le formulaire a bien été sauvegardé.
@@ -108,10 +108,10 @@ fr:
108
108
  statement: Déclaration
109
109
  up: Monter
110
110
  separator:
111
- down: Bas
111
+ down: Descendre
112
112
  remove: Retirer
113
113
  separator: Séparateur
114
- up: Haut
114
+ up: Monter
115
115
  title_and_description:
116
116
  collapse: Réduire
117
117
  description: Description
@@ -33,9 +33,12 @@ ga:
33
33
  remove: Bain as
34
34
  up: Thuas
35
35
  separator:
36
- down: Ísligh
36
+ down: Síos
37
37
  remove: Bain as
38
- up: Ardaigh
38
+ up: Thuas
39
+ title_and_description:
40
+ down: Síos
41
+ up: Thuas
39
42
  question_types:
40
43
  files: Comhaid
41
44
  sorting: Sórtáil
@@ -37,10 +37,13 @@ gl:
37
37
  remove: Quitar
38
38
  statement: Declaración
39
39
  up: Arriba
40
+ separator:
41
+ down: Baixo
42
+ up: Arriba
40
43
  title_and_description:
41
44
  collapse: Contraer
42
45
  description: Descrición
43
- down: Abaixo
46
+ down: Baixo
44
47
  expand: Expandir
45
48
  remove: Eliminar
46
49
  title: Título
@@ -41,6 +41,9 @@ hu:
41
41
  remove: Eltávolít
42
42
  statement: Nyilatkozat
43
43
  up: Fel
44
+ separator:
45
+ down: Le
46
+ up: Fel
44
47
  title_and_description:
45
48
  collapse: Összecsuk
46
49
  description: Leírás
@@ -37,6 +37,12 @@ id:
37
37
  remove: Menghapus
38
38
  statement: Pernyataan
39
39
  up: Naik
40
+ separator:
41
+ down: Turun
42
+ up: Naik
43
+ title_and_description:
44
+ down: Turun
45
+ up: Naik
40
46
  update:
41
47
  invalid: Terjadi masalah saat menyimpan formulir.
42
48
  question_types:
@@ -85,6 +85,9 @@ it:
85
85
  remove: Elimina
86
86
  separator: Separatore
87
87
  up: Su
88
+ title_and_description:
89
+ down: Giù
90
+ up: Su
88
91
  update:
89
92
  invalid: Si sono verificati errori durante il salvataggio del questionario.
90
93
  success: Modulo salvato correttamente.
@@ -115,7 +115,7 @@ ja:
115
115
  title_and_description:
116
116
  collapse: 折りたたむ
117
117
  description: 説明
118
- down: 下へ
118
+ down:
119
119
  expand: 展開する
120
120
  remove: 削除
121
121
  title: タイトル
@@ -83,6 +83,9 @@ lb:
83
83
  remove: Löschen
84
84
  separator: Trennzeichen
85
85
  up: Hoch
86
+ title_and_description:
87
+ down: Runter
88
+ up: Hoch
86
89
  update:
87
90
  invalid: Beim Speichern des Fragebogens sind Fehler aufgetreten.
88
91
  success: Formular erfolgreich gespeichert.
@@ -95,7 +95,7 @@ lt:
95
95
  remove: Pašalinti
96
96
  title: Pavadinimas
97
97
  title_and_description: Pavadinimas ir aprašymas
98
- up: Aukštyn
98
+ up: Į viršų
99
99
  update:
100
100
  invalid: Išsaugant šią formą iškilo problema.
101
101
  success: Forma sėkmingai išsaugota.
@@ -49,6 +49,9 @@ lv:
49
49
  remove: Noņemt
50
50
  separator: Atdalītājs
51
51
  up: Augšup
52
+ title_and_description:
53
+ down: Lejup
54
+ up: Augšup
52
55
  update:
53
56
  invalid: Saglabājot veidlapu, radās problēma.
54
57
  images:
@@ -77,19 +77,19 @@ nl:
77
77
  statement: Uitspraak
78
78
  up: omhoog
79
79
  separator:
80
- down: Omlaag
80
+ down: naar beneden
81
81
  remove: Verwijderen
82
82
  separator: Scheidingsteken
83
- up: Omhoog
83
+ up: omhoog
84
84
  title_and_description:
85
85
  collapse: Inklappen
86
86
  description: Beschrijving
87
- down: Naar beneden
87
+ down: naar beneden
88
88
  expand: Uitklappen
89
89
  remove: Verwijderen
90
90
  title: Titel
91
91
  title_and_description: Titel en beschrijving
92
- up: Naar boven
92
+ up: omhoog
93
93
  update:
94
94
  invalid: Er zijn fouten opgetreden bij het opslaan van de vragenlijst.
95
95
  success: Formulier succesvol opgeslagen.
@@ -90,7 +90,7 @@ pl:
90
90
  title_and_description:
91
91
  collapse: Zwiń
92
92
  description: Opis
93
- down: W dół
93
+ down: Na dół
94
94
  expand: Rozwiń
95
95
  remove: Usuń
96
96
  title: Tytuł
@@ -79,14 +79,14 @@ pt-BR:
79
79
  statement: Declaração
80
80
  up: Acima
81
81
  separator:
82
- down: Para Baixo
82
+ down: Baixa
83
83
  remove: Remover
84
84
  separator: Separador
85
- up: Para Cima
85
+ up: Acima
86
86
  title_and_description:
87
87
  collapse: Recolher
88
88
  description: Descrição
89
- down: Abaixo
89
+ down: Baixa
90
90
  expand: Expandir
91
91
  remove: Excluir
92
92
  title: Título
@@ -83,6 +83,9 @@ pt:
83
83
  remove: Remover
84
84
  separator: Separador
85
85
  up: Acima
86
+ title_and_description:
87
+ down: Abaixo
88
+ up: Acima
86
89
  update:
87
90
  invalid: Ocorreu um problema ao guardar o questionário.
88
91
  success: Formulário guardado com êxito
@@ -24,6 +24,12 @@ ru:
24
24
  question: Вопрос
25
25
  remove: Удалить
26
26
  up: Вверх
27
+ separator:
28
+ down: Вниз
29
+ up: Вверх
30
+ title_and_description:
31
+ down: Вниз
32
+ up: Вверх
27
33
  update:
28
34
  invalid: При попытке сохранить форму произошли ошибки.
29
35
  question_types:
@@ -37,6 +37,12 @@ sk:
37
37
  remove: Odstrániť
38
38
  statement: Prehlásenie
39
39
  up: Hore
40
+ separator:
41
+ down: Nadol
42
+ up: Hore
43
+ title_and_description:
44
+ down: Nadol
45
+ up: Hore
40
46
  update:
41
47
  invalid: Vyskytol sa problém s ukladaním formulára.
42
48
  question_types:
@@ -81,7 +81,10 @@ tr:
81
81
  down: Aşağı
82
82
  remove: Kaldır
83
83
  separator: Ayraç
84
- up: Yukarı
84
+ up: yukarı
85
+ title_and_description:
86
+ down: Aşağı
87
+ up: yukarı
85
88
  update:
86
89
  invalid: Formu kaydederken bir sorun oluştu.
87
90
  success: Başarıyla kaydedildi.
@@ -7,11 +7,9 @@ val:
7
7
  title_and_description:
8
8
  collapse: Redueix
9
9
  description: Descripció
10
- down: Baixar
11
10
  expand: Expandeix
12
11
  remove: Elimina
13
12
  title: Títol
14
13
  title_and_description: Títol i descripció
15
- up: Pujar
16
14
  question_types:
17
15
  title_and_description: Títol i descripció
@@ -81,6 +81,9 @@ zh-CN:
81
81
  remove: 删除
82
82
  separator: 分隔符
83
83
  up: 上移
84
+ title_and_description:
85
+ down: 向下
86
+ up: 上移
84
87
  update:
85
88
  invalid: 保存表单时出错。
86
89
  success: 表单保存成功。
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-forms version.
5
5
  module Forms
6
6
  def self.version
7
- "0.29.5"
7
+ "0.29.7"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.5
4
+ version: 0.29.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2025-09-23 00:00:00.000000000 Z
14
+ date: 2025-11-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: decidim-core
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.29.5
22
+ version: 0.29.7
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.29.5
29
+ version: 0.29.7
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: wicked_pdf
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -47,28 +47,28 @@ dependencies:
47
47
  requirements:
48
48
  - - '='
49
49
  - !ruby/object:Gem::Version
50
- version: 0.29.5
50
+ version: 0.29.7
51
51
  type: :development
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - '='
56
56
  - !ruby/object:Gem::Version
57
- version: 0.29.5
57
+ version: 0.29.7
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: decidim-dev
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - '='
63
63
  - !ruby/object:Gem::Version
64
- version: 0.29.5
64
+ version: 0.29.7
65
65
  type: :development
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - '='
70
70
  - !ruby/object:Gem::Version
71
- version: 0.29.5
71
+ version: 0.29.7
72
72
  description: A forms gem for decidim.
73
73
  email:
74
74
  - josepjaume@gmail.com