hr-design-system-handlebars 1.113.3 → 1.113.5
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.
- package/CHANGELOG.md +25 -0
- package/dist/assets/brand/hessenschau/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/hr/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/hr1/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/hr2/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/hr3/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/hr4/conf/locatags.merged.json +3 -0
- package/dist/assets/brand/you-fm/conf/locatags.merged.json +3 -0
- package/dist/assets/index.css +15 -12
- package/dist/assets/js/components/forms/js/contactForm.alpine.js +5 -2
- package/dist/views/components/forms/components/backgroundBox.hbs +1 -1
- package/dist/views/components/forms/components/choice.hbs +2 -2
- package/dist/views/components/forms/components/choiceGroup.hbs +3 -3
- package/dist/views/components/forms/components/controls.hbs +3 -3
- package/dist/views/components/forms/components/fields.hbs +1 -1
- package/dist/views/components/forms/components/input.hbs +1 -1
- package/dist/views/components/forms/components/message.hbs +3 -3
- package/dist/views/components/forms/components/select.hbs +1 -1
- package/dist/views/components/forms/components/textarea.hbs +1 -1
- package/dist/views/components/forms/components/upload.hbs +2 -2
- package/dist/views/components/forms/webform.hbs +1 -1
- package/dist/views_static/components/forms/components/backgroundBox.hbs +1 -1
- package/dist/views_static/components/forms/components/choice.hbs +2 -2
- package/dist/views_static/components/forms/components/choiceGroup.hbs +3 -3
- package/dist/views_static/components/forms/components/controls.hbs +3 -3
- package/dist/views_static/components/forms/components/fields.hbs +1 -1
- package/dist/views_static/components/forms/components/input.hbs +1 -1
- package/dist/views_static/components/forms/components/message.hbs +3 -3
- package/dist/views_static/components/forms/components/select.hbs +1 -1
- package/dist/views_static/components/forms/components/textarea.hbs +1 -1
- package/dist/views_static/components/forms/components/upload.hbs +2 -2
- package/dist/views_static/components/forms/webform.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/brand/_default/conf/locatags.json +4 -1
- package/src/assets/brand/hessenschau/conf/locatags.merged.json +3 -0
- package/src/assets/brand/hr/conf/locatags.merged.json +3 -0
- package/src/assets/brand/hr-bigband/conf/locatags.merged.json +3 -0
- package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +3 -0
- package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +3 -0
- package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +3 -0
- package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +3 -0
- package/src/assets/brand/hr-werbung/conf/locatags.merged.json +3 -0
- package/src/assets/brand/hr1/conf/locatags.merged.json +3 -0
- package/src/assets/brand/hr2/conf/locatags.merged.json +3 -0
- package/src/assets/brand/hr3/conf/locatags.merged.json +3 -0
- package/src/assets/brand/hr4/conf/locatags.merged.json +3 -0
- package/src/assets/brand/you-fm/conf/locatags.merged.json +3 -0
- package/src/assets/fixtures/forms/error_messages.inc.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_webform.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_webform_simple.json +1 -1
- package/src/stories/views/components/forms/components/backgroundBox.hbs +1 -1
- package/src/stories/views/components/forms/components/choice.hbs +2 -2
- package/src/stories/views/components/forms/components/choiceGroup.hbs +3 -3
- package/src/stories/views/components/forms/components/controls.hbs +3 -3
- package/src/stories/views/components/forms/components/fields.hbs +1 -1
- package/src/stories/views/components/forms/components/input.hbs +1 -1
- package/src/stories/views/components/forms/components/message.hbs +3 -3
- package/src/stories/views/components/forms/components/select.hbs +1 -1
- package/src/stories/views/components/forms/components/textarea.hbs +1 -1
- package/src/stories/views/components/forms/components/upload.hbs +2 -2
- package/src/stories/views/components/forms/form_upload.stories.js +2 -2
- package/src/stories/views/components/forms/js/contactForm.alpine.js +5 -2
- package/src/stories/views/components/forms/webform.hbs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# v1.113.5 (Wed Oct 30 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Contactform some fixes [#1132](https://github.com/mumprod/hr-design-system-handlebars/pull/1132) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.113.4 (Tue Oct 29 2024)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- DPE-3413: adjust form spacing [#1131](https://github.com/mumprod/hr-design-system-handlebars/pull/1131) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
|
|
18
|
+
|
|
19
|
+
#### Authors: 2
|
|
20
|
+
|
|
21
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
22
|
+
- selbaciri (saad.elbaciri@hr.de)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
1
26
|
# v1.113.3 (Tue Oct 29 2024)
|
|
2
27
|
|
|
3
28
|
#### 🐛 Bug Fix
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hessenschau . d e",
|
|
212
215
|
"meta_application_name": "hessenschau.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr . d e",
|
|
212
215
|
"meta_application_name": "hr.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-bigband . d e",
|
|
212
215
|
"meta_application_name": "hr-bigband.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-fernsehen . d e",
|
|
212
215
|
"meta_application_name": "hr-fernsehen.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-inforadio . d e",
|
|
212
215
|
"meta_application_name": "hr-inforadio.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-rundfunkrat . d e",
|
|
212
215
|
"meta_application_name": "hr-rundfunkrat.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-sinfonieorchester . d e",
|
|
212
215
|
"meta_application_name": "hr-sinfonieorchester.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-werbung . d e",
|
|
212
215
|
"meta_application_name": "hr-werbung.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr1 . d e",
|
|
212
215
|
"meta_application_name": "hr1.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr2 . d e",
|
|
212
215
|
"meta_application_name": "hr2.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr3 . d e",
|
|
212
215
|
"meta_application_name": "hr3.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr4 . d e",
|
|
212
215
|
"meta_application_name": "hr4.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite you-fm . d e",
|
|
212
215
|
"meta_application_name": "you-fm.de"
|
|
213
216
|
}
|
package/dist/assets/index.css
CHANGED
|
@@ -1535,6 +1535,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
1535
1535
|
.mt-60 {
|
|
1536
1536
|
margin-top: 15rem;
|
|
1537
1537
|
}
|
|
1538
|
+
.mt-7 {
|
|
1539
|
+
margin-top: 1.75rem;
|
|
1540
|
+
}
|
|
1538
1541
|
.mt-9 {
|
|
1539
1542
|
margin-top: 2.25rem;
|
|
1540
1543
|
}
|
|
@@ -1728,6 +1731,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
1728
1731
|
.min-h-3 {
|
|
1729
1732
|
min-height: 0.75rem;
|
|
1730
1733
|
}
|
|
1734
|
+
.min-h-5 {
|
|
1735
|
+
min-height: 1.25rem;
|
|
1736
|
+
}
|
|
1731
1737
|
.min-h-6 {
|
|
1732
1738
|
min-height: 1.5rem;
|
|
1733
1739
|
}
|
|
@@ -2179,9 +2185,6 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2179
2185
|
.gap-y-3 {
|
|
2180
2186
|
row-gap: 0.75rem;
|
|
2181
2187
|
}
|
|
2182
|
-
.gap-y-4 {
|
|
2183
|
-
row-gap: 1rem;
|
|
2184
|
-
}
|
|
2185
2188
|
.gap-y-5 {
|
|
2186
2189
|
row-gap: 1.25rem;
|
|
2187
2190
|
}
|
|
@@ -3621,7 +3624,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3621
3624
|
border-bottom-color: var(--color-secondary-ds);
|
|
3622
3625
|
}
|
|
3623
3626
|
.counter-reset {
|
|
3624
|
-
counter-reset:
|
|
3627
|
+
counter-reset: cnt1730284744052;
|
|
3625
3628
|
}
|
|
3626
3629
|
.placeholder-text-xs::-webkit-input-placeholder {
|
|
3627
3630
|
font-size: 0.75rem;
|
|
@@ -4035,7 +4038,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
4035
4038
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
4036
4039
|
}
|
|
4037
4040
|
.-ordered {
|
|
4038
|
-
counter-increment:
|
|
4041
|
+
counter-increment: cnt1730284744052 1;
|
|
4039
4042
|
}
|
|
4040
4043
|
.-ordered::before {
|
|
4041
4044
|
position: absolute;
|
|
@@ -4053,7 +4056,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
4053
4056
|
--tw-text-opacity: 1;
|
|
4054
4057
|
color: rgba(0, 0, 0, 1);
|
|
4055
4058
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
4056
|
-
content: counter(
|
|
4059
|
+
content: counter(cnt1730284744052);
|
|
4057
4060
|
}
|
|
4058
4061
|
/*! ****************************/
|
|
4059
4062
|
/*! DataPolicy stuff */
|
|
@@ -7016,14 +7019,14 @@ select:has(option:checked[value='']) {
|
|
|
7016
7019
|
margin-bottom: 0px;
|
|
7017
7020
|
}
|
|
7018
7021
|
|
|
7019
|
-
.md\:mb-12 {
|
|
7020
|
-
margin-bottom: 3rem;
|
|
7021
|
-
}
|
|
7022
|
-
|
|
7023
7022
|
.md\:mb-16 {
|
|
7024
7023
|
margin-bottom: 4rem;
|
|
7025
7024
|
}
|
|
7026
7025
|
|
|
7026
|
+
.md\:mb-2 {
|
|
7027
|
+
margin-bottom: 0.5rem;
|
|
7028
|
+
}
|
|
7029
|
+
|
|
7027
7030
|
.md\:mb-3 {
|
|
7028
7031
|
margin-bottom: 0.75rem;
|
|
7029
7032
|
}
|
|
@@ -7237,8 +7240,8 @@ select:has(option:checked[value='']) {
|
|
|
7237
7240
|
row-gap: 3.5rem;
|
|
7238
7241
|
}
|
|
7239
7242
|
|
|
7240
|
-
.md\:gap-y-
|
|
7241
|
-
row-gap:
|
|
7243
|
+
.md\:gap-y-2 {
|
|
7244
|
+
row-gap: 0.5rem;
|
|
7242
7245
|
}
|
|
7243
7246
|
|
|
7244
7247
|
.md\:space-x-3 > :not([hidden]) ~ :not([hidden]) {
|
|
@@ -19,7 +19,7 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
|
|
|
19
19
|
formInit(){
|
|
20
20
|
this.checkForJsonURL()
|
|
21
21
|
this.$store.forms.submissionAttempted[formId] = false;
|
|
22
|
-
this.$store.forms.errorMessages = JSON.parse(
|
|
22
|
+
this.$store.forms.errorMessages = JSON.parse(errorMessages.replace(/"/g,'"'))
|
|
23
23
|
},
|
|
24
24
|
submitButtonHandler(event) {
|
|
25
25
|
if(this.form.reportValidity()){
|
|
@@ -30,7 +30,8 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
|
|
|
30
30
|
},
|
|
31
31
|
retryHandler() {
|
|
32
32
|
this.wasPosted = false;
|
|
33
|
-
this.wasPostedWithError = false;
|
|
33
|
+
this.wasPostedWithError = false;
|
|
34
|
+
this.formWrapper.scrollIntoView({ behavior: 'smooth' })
|
|
34
35
|
},
|
|
35
36
|
handleValidationErrors(errors) {
|
|
36
37
|
console.log('Validation Errors:', errors);
|
|
@@ -95,11 +96,13 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
|
|
|
95
96
|
console.log("OK");
|
|
96
97
|
this.wasPosted = true;
|
|
97
98
|
this.wasPostedWithSuccess = true;
|
|
99
|
+
this.formWrapper.scrollIntoView({ behavior: 'smooth' })
|
|
98
100
|
break;
|
|
99
101
|
default:
|
|
100
102
|
console.log("default");
|
|
101
103
|
this.wasPosted = true;
|
|
102
104
|
this.wasPostedWithError = true;
|
|
105
|
+
this.formWrapper.scrollIntoView({ behavior: 'smooth' })
|
|
103
106
|
break;
|
|
104
107
|
}
|
|
105
108
|
} else {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<div class="relative px-5 pt-6 pb-8 mt-
|
|
1
|
+
<div class="relative px-5 pt-6 pb-8 mb-5 mt-7 sm:mt-12 bg-highlight-1 dark:bg-highlight-1-dark sm:rounded-tl-hr sm:rounded-br-hr sm:px-13 sm:pt-12 article-full-width sm:article-narrow" >
|
|
2
2
|
{{> @partial-block }}
|
|
3
3
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{~changeRandom~}}
|
|
2
|
-
<div class="relative flex flex-col w-full {{#unless _inGroup}} mb-
|
|
2
|
+
<div class="relative flex flex-col w-full {{#unless _inGroup}} mb-5 md:mb-7{{/unless}} gap-y-1 md:gap-y-2"
|
|
3
3
|
{{#unless _inGroup}}
|
|
4
4
|
{{#if _required}}
|
|
5
5
|
ax-load
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
</label>
|
|
76
76
|
</div>
|
|
77
77
|
{{#unless _inGroup}}
|
|
78
|
-
<div class="font-heading">
|
|
78
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
79
79
|
{{#if _description}}
|
|
80
80
|
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription() }"{{/if}}>{{_description}}</div>
|
|
81
81
|
{{/if}}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
x-ignore
|
|
6
6
|
{{/if}}
|
|
7
7
|
>
|
|
8
|
-
<div class="relative flex flex-col w-full mb-
|
|
9
|
-
<legend class="text-lg font-bold text-text dark:text-text-dark md:text-xl font-heading">
|
|
8
|
+
<div class="relative flex flex-col w-full mb-5 md:mb-7 gap-y-1 md:gap-y-2">
|
|
9
|
+
<legend class="mb-1 text-lg font-bold text-text dark:text-text-dark md:text-xl font-heading md:mb-2">
|
|
10
10
|
{{#if _hasBody}}
|
|
11
11
|
{{decorator_body}}{{#if _required}}*{{/if}}
|
|
12
12
|
{{else}}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</div>
|
|
38
38
|
{{/each}}
|
|
39
39
|
</div>
|
|
40
|
-
<div class="font-heading">
|
|
40
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
41
41
|
{{#if _description}}
|
|
42
42
|
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{_description}}</div>
|
|
43
43
|
{{/if}}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<div class="flex flex-col-reverse items-center justify-between sm:flex-row gap-y-6">
|
|
2
|
-
<div class="w-full text-xs basis-full text-gray-scorpion dark:text-text-dark font-headingSerif">
|
|
2
|
+
<div class="w-full text-xs basis-full text-gray-scorpion dark:text-text-dark font-headingSerif">{{loca "form_text_required"}}</div>
|
|
3
3
|
<div class="flex items-center justify-end w-full basis-full">
|
|
4
4
|
<label class="order-2 cursor-pointer {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant='primary'}} {{> components/button/utilities/button_dimension_classes _size='lg'}}">
|
|
5
5
|
<span class="hidden" :class="{'hidden': !isPosting}">{{> components/base/image/icon _icon="reload" _addClass="w-5 h-5 fill-white dark:fill-text-dark animate-spin"}}</span>
|
|
6
6
|
<span class="" :class="{'hidden': isPosting}">{{> components/base/image/icon _icon="send-ds" _addClass="w-5 h-5 fill-white dark:fill-text-dark "}}</span>
|
|
7
|
-
<input type="submit" class="pl-2 cursor-pointer" value="
|
|
7
|
+
<input type="submit" class="pl-2 cursor-pointer" value="{{loca "form_button_submit"}}" @click.prevent="submitButtonHandler($event)"/>
|
|
8
8
|
</label>
|
|
9
9
|
|
|
10
10
|
{{#> components/button/button _variant="tertiary"_size="lg" _css="order-1 mr-4" _type="reset"}}
|
|
11
|
-
<span class="text-base ds-button-label ">
|
|
11
|
+
<span class="text-base ds-button-label ">{{loca "form_button_reset"}}</span>
|
|
12
12
|
{{/components/button/button}}
|
|
13
13
|
|
|
14
14
|
</div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
{{#if this.caption}}
|
|
5
5
|
<fieldset>
|
|
6
|
-
<legend class="mb-
|
|
6
|
+
<legend class="mb-2 text-lg font-bold md:mb-3 text-text dark:text-text-dark md:text-xl font-heading">{{this.caption}}</legend>
|
|
7
7
|
{{~> components/forms/components/fields _formId=../_formId}}
|
|
8
8
|
</fieldset>
|
|
9
9
|
{{else}}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
{{> components/forms/components/error_icon _class="hidden" _xclass="{'hidden': hideError() }"}}
|
|
65
65
|
</div>
|
|
66
66
|
|
|
67
|
-
<div class="flex items-end justify-between h-5 font-heading">
|
|
67
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
68
68
|
{{#if _description}}
|
|
69
69
|
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription() }">{{_description}}</div>
|
|
70
70
|
{{/if}}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
<div class="flex items-center gap-x-2 md:gap-x-3">
|
|
3
3
|
{{#if _success}}
|
|
4
4
|
{{> components/forms/components/success_icon}}
|
|
5
|
-
<h3 class="font-bold text-success">{{~loca "webform_send_title_success"}}</h3>
|
|
5
|
+
<h3 class="font-bold text-success pt-0.5">{{~loca "webform_send_title_success"}}</h3>
|
|
6
6
|
{{else}}
|
|
7
7
|
{{> components/forms/components/error_icon _class="!block"}}
|
|
8
|
-
<h3 class="font-bold text-error dark:text-error-dark">{{~loca "webform_send_title_error"}}</h3>
|
|
8
|
+
<h3 class="font-bold text-error dark:text-error-dark pt-0.5">{{~loca "webform_send_title_error"}}</h3>
|
|
9
9
|
{{/if}}
|
|
10
10
|
</div>
|
|
11
11
|
</div>
|
|
12
|
-
<span class="font-copy">
|
|
12
|
+
<span class="font-copy text-text dark:text-text-dark">
|
|
13
13
|
{{#if _locaKeyText}}
|
|
14
14
|
{{loca _locaKeyText}}
|
|
15
15
|
{{else}}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
">
|
|
44
44
|
{{_label}}{{#if _required}}*{{/if}}
|
|
45
45
|
</label>
|
|
46
|
-
<div class="flex items-end justify-between h-5 font-heading">
|
|
46
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
47
47
|
{{#if _description}}
|
|
48
48
|
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription()}">{{_description}}</div>
|
|
49
49
|
{{/if}}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
{{> components/forms/components/error_icon _class="hidden" _xclass="{'hidden': hideError() }"}}
|
|
65
65
|
</div>
|
|
66
66
|
{{/if}}
|
|
67
|
-
<div class="flex items-end justify-between h-5 font-heading">
|
|
67
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
68
68
|
{{#if _description}}
|
|
69
69
|
<div class="pl-4 text-xs text-gray-scorpion" :class="{'hidden': hideDescription() }">{{_description}}</div>
|
|
70
70
|
{{/if}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="relative flex flex-col w-full mb-
|
|
1
|
+
<div class="relative flex flex-col w-full mb-5 gap-y-1 md:mb-7"
|
|
2
2
|
ax-load
|
|
3
3
|
x-data="inputHandler('input{{nextRandom}}','{{_formId}}','{{_errorMandatory}}','{{_type}}','', '', '{{_name}}')"
|
|
4
4
|
x-init="validateUpload()"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</button>
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
|
-
<div class="font-heading">
|
|
64
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
65
65
|
{{#if _description}}
|
|
66
66
|
<div class="text-xs text-gray-500 dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{_description}}</div>
|
|
67
67
|
{{/if}}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<div class="relative px-5 pt-6 pb-8 mt-
|
|
1
|
+
<div class="relative px-5 pt-6 pb-8 mb-5 mt-7 sm:mt-12 bg-highlight-1 dark:bg-highlight-1-dark sm:rounded-tl-hr sm:rounded-br-hr sm:px-13 sm:pt-12 article-full-width sm:article-narrow" >
|
|
2
2
|
{{> @partial-block }}
|
|
3
3
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{~changeRandom~}}
|
|
2
|
-
<div class="relative flex flex-col w-full {{#unless _inGroup}} mb-
|
|
2
|
+
<div class="relative flex flex-col w-full {{#unless _inGroup}} mb-5 md:mb-7{{/unless}} gap-y-1 md:gap-y-2"
|
|
3
3
|
{{#unless _inGroup}}
|
|
4
4
|
{{#if _required}}
|
|
5
5
|
ax-load
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
</label>
|
|
76
76
|
</div>
|
|
77
77
|
{{#unless _inGroup}}
|
|
78
|
-
<div class="font-heading">
|
|
78
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
79
79
|
{{#if _description}}
|
|
80
80
|
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription() }"{{/if}}>{{_description}}</div>
|
|
81
81
|
{{/if}}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
x-ignore
|
|
6
6
|
{{/if}}
|
|
7
7
|
>
|
|
8
|
-
<div class="relative flex flex-col w-full mb-
|
|
9
|
-
<legend class="text-lg font-bold text-text dark:text-text-dark md:text-xl font-heading">
|
|
8
|
+
<div class="relative flex flex-col w-full mb-5 md:mb-7 gap-y-1 md:gap-y-2">
|
|
9
|
+
<legend class="mb-1 text-lg font-bold text-text dark:text-text-dark md:text-xl font-heading md:mb-2">
|
|
10
10
|
{{#if _hasBody}}
|
|
11
11
|
{{decorator_body}}{{#if _required}}*{{/if}}
|
|
12
12
|
{{else}}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</div>
|
|
38
38
|
{{/each}}
|
|
39
39
|
</div>
|
|
40
|
-
<div class="font-heading">
|
|
40
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
41
41
|
{{#if _description}}
|
|
42
42
|
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{_description}}</div>
|
|
43
43
|
{{/if}}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<div class="flex flex-col-reverse items-center justify-between sm:flex-row gap-y-6">
|
|
2
|
-
<div class="w-full text-xs basis-full text-gray-scorpion dark:text-text-dark font-headingSerif">
|
|
2
|
+
<div class="w-full text-xs basis-full text-gray-scorpion dark:text-text-dark font-headingSerif">{{loca "form_text_required"}}</div>
|
|
3
3
|
<div class="flex items-center justify-end w-full basis-full">
|
|
4
4
|
<label class="order-2 cursor-pointer {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant='primary'}} {{> components/button/utilities/button_dimension_classes _size='lg'}}">
|
|
5
5
|
<span class="hidden" :class="{'hidden': !isPosting}">{{> components/base/image/icon _icon="reload" _addClass="w-5 h-5 fill-white dark:fill-text-dark animate-spin"}}</span>
|
|
6
6
|
<span class="" :class="{'hidden': isPosting}">{{> components/base/image/icon _icon="send-ds" _addClass="w-5 h-5 fill-white dark:fill-text-dark "}}</span>
|
|
7
|
-
<input type="submit" class="pl-2 cursor-pointer" value="
|
|
7
|
+
<input type="submit" class="pl-2 cursor-pointer" value="{{loca "form_button_submit"}}" @click.prevent="submitButtonHandler($event)"/>
|
|
8
8
|
</label>
|
|
9
9
|
|
|
10
10
|
{{#> components/button/button _variant="tertiary"_size="lg" _css="order-1 mr-4" _type="reset"}}
|
|
11
|
-
<span class="text-base ds-button-label ">
|
|
11
|
+
<span class="text-base ds-button-label ">{{loca "form_button_reset"}}</span>
|
|
12
12
|
{{/components/button/button}}
|
|
13
13
|
|
|
14
14
|
</div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
{{#if this.caption}}
|
|
5
5
|
<fieldset>
|
|
6
|
-
<legend class="mb-
|
|
6
|
+
<legend class="mb-2 text-lg font-bold md:mb-3 text-text dark:text-text-dark md:text-xl font-heading">{{this.caption}}</legend>
|
|
7
7
|
{{~> components/forms/components/fields _formId=../_formId}}
|
|
8
8
|
</fieldset>
|
|
9
9
|
{{else}}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
{{> components/forms/components/error_icon _class="hidden" _xclass="{'hidden': hideError() }"}}
|
|
65
65
|
</div>
|
|
66
66
|
|
|
67
|
-
<div class="flex items-end justify-between h-5 font-heading">
|
|
67
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
68
68
|
{{#if _description}}
|
|
69
69
|
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription() }">{{_description}}</div>
|
|
70
70
|
{{/if}}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
<div class="flex items-center gap-x-2 md:gap-x-3">
|
|
3
3
|
{{#if _success}}
|
|
4
4
|
{{> components/forms/components/success_icon}}
|
|
5
|
-
<h3 class="font-bold text-success">{{~loca "webform_send_title_success"}}</h3>
|
|
5
|
+
<h3 class="font-bold text-success pt-0.5">{{~loca "webform_send_title_success"}}</h3>
|
|
6
6
|
{{else}}
|
|
7
7
|
{{> components/forms/components/error_icon _class="!block"}}
|
|
8
|
-
<h3 class="font-bold text-error dark:text-error-dark">{{~loca "webform_send_title_error"}}</h3>
|
|
8
|
+
<h3 class="font-bold text-error dark:text-error-dark pt-0.5">{{~loca "webform_send_title_error"}}</h3>
|
|
9
9
|
{{/if}}
|
|
10
10
|
</div>
|
|
11
11
|
</div>
|
|
12
|
-
<span class="font-copy">
|
|
12
|
+
<span class="font-copy text-text dark:text-text-dark">
|
|
13
13
|
{{#if _locaKeyText}}
|
|
14
14
|
{{loca _locaKeyText}}
|
|
15
15
|
{{else}}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
">
|
|
44
44
|
{{_label}}{{#if _required}}*{{/if}}
|
|
45
45
|
</label>
|
|
46
|
-
<div class="flex items-end justify-between h-5 font-heading">
|
|
46
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
47
47
|
{{#if _description}}
|
|
48
48
|
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription()}">{{_description}}</div>
|
|
49
49
|
{{/if}}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
{{> components/forms/components/error_icon _class="hidden" _xclass="{'hidden': hideError() }"}}
|
|
65
65
|
</div>
|
|
66
66
|
{{/if}}
|
|
67
|
-
<div class="flex items-end justify-between h-5 font-heading">
|
|
67
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
68
68
|
{{#if _description}}
|
|
69
69
|
<div class="pl-4 text-xs text-gray-scorpion" :class="{'hidden': hideDescription() }">{{_description}}</div>
|
|
70
70
|
{{/if}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="relative flex flex-col w-full mb-
|
|
1
|
+
<div class="relative flex flex-col w-full mb-5 gap-y-1 md:mb-7"
|
|
2
2
|
ax-load
|
|
3
3
|
x-data="inputHandler('input{{nextRandom}}','{{_formId}}','{{_errorMandatory}}','{{_type}}','', '', '{{_name}}')"
|
|
4
4
|
x-init="validateUpload()"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</button>
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
|
-
<div class="font-heading">
|
|
64
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
65
65
|
{{#if _description}}
|
|
66
66
|
<div class="text-xs text-gray-500 dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{_description}}</div>
|
|
67
67
|
{{/if}}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"repository": "https://github.com/szuelch/hr-design-system-handlebars",
|
|
9
|
-
"version": "1.113.
|
|
9
|
+
"version": "1.113.5",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -207,5 +207,8 @@
|
|
|
207
207
|
"webform_upload_label": "Datei auswählen",
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
|
-
"webform_send_form_back": "Zurück zum Formular"
|
|
210
|
+
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden"
|
|
211
214
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hessenschau . d e",
|
|
212
215
|
"meta_application_name": "hessenschau.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr . d e",
|
|
212
215
|
"meta_application_name": "hr.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-bigband . d e",
|
|
212
215
|
"meta_application_name": "hr-bigband.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-fernsehen . d e",
|
|
212
215
|
"meta_application_name": "hr-fernsehen.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-inforadio . d e",
|
|
212
215
|
"meta_application_name": "hr-inforadio.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-rundfunkrat . d e",
|
|
212
215
|
"meta_application_name": "hr-rundfunkrat.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-sinfonieorchester . d e",
|
|
212
215
|
"meta_application_name": "hr-sinfonieorchester.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr-werbung . d e",
|
|
212
215
|
"meta_application_name": "hr-werbung.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr1 . d e",
|
|
212
215
|
"meta_application_name": "hr1.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr2 . d e",
|
|
212
215
|
"meta_application_name": "hr2.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr3 . d e",
|
|
212
215
|
"meta_application_name": "hr3.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite hr4 . d e",
|
|
212
215
|
"meta_application_name": "hr4.de"
|
|
213
216
|
}
|
|
@@ -208,6 +208,9 @@
|
|
|
208
208
|
"webform_send_title_error": "Das hat leider nicht geklappt!",
|
|
209
209
|
"webform_send_title_success": "Vielen Dank! Die Nachricht wurde verschickt.",
|
|
210
210
|
"webform_send_form_back": "Zurück zum Formular",
|
|
211
|
+
"form_text_required": "* Pflichtfeld",
|
|
212
|
+
"form_button_reset": "Zurücksetzen",
|
|
213
|
+
"form_button_submit": "Absenden",
|
|
211
214
|
"header_homepage_link_title": "Startseite you-fm . d e",
|
|
212
215
|
"meta_application_name": "you-fm.de"
|
|
213
216
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
{
|
|
2
|
-
"error-messages": ""form_error_required":"Server: Pflichtfeld","form_error_max":"Server: Zu viele Zeichen","form_error_validurl":"Server: Ungültige URL","form_error_empty":"Server: Darf nicht ausgefüllt werden","form_error_constants_or_null":"Server: Ungültiger Wert","form_error_constants":"Server: Ungültiger Wert","form_error_max_multivalue":"Server: Die maximale Anzahl an Antwortmöglichkeiten wurde überschritten","vote_error_identity_already_used":"Server: Unter dieser E-Mail-Adresse wurde bereits abgestimmt. Eine weitere Abstimmung ist nicht möglich.","vote_error_token_request_count_exceeded":"Server: Die maximale Anzahl an Bestätigungs-E-Mails wurde bereits verschickt.","form_error_email":"Server: Ungültige E-Mail-Adresse""
|
|
2
|
+
"error-messages": "{"form_error_required":"Server: Pflichtfeld","form_error_max":"Server: Zu viele Zeichen","form_error_validurl":"Server: Ungültige URL","form_error_empty":"Server: Darf nicht ausgefüllt werden","form_error_constants_or_null":"Server: Ungültiger Wert","form_error_constants":"Server: Ungültiger Wert","form_error_max_multivalue":"Server: Die maximale Anzahl an Antwortmöglichkeiten wurde überschritten","vote_error_identity_already_used":"Server: Unter dieser E-Mail-Adresse wurde bereits abgestimmt. Eine weitere Abstimmung ist nicht möglich.","vote_error_token_request_count_exceeded":"Server: Die maximale Anzahl an Bestätigungs-E-Mails wurde bereits verschickt.","form_error_email":"Server: Ungültige E-Mail-Adresse"}"
|
|
3
3
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"copytextParagraph":[{"isHeadline":true,"text":"Copytext mit Formular"},{"paragraphBoxItem":{"isWebForm":true,"hasNewWebForm":true,"title":"Kontaktformular","jsonUrl":"https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de","successText":{"richtext":"Liebe Nutzerin, lieber Nutzer,<br><br>ich werde mich so schnell wie möglich um Ihr Anliegen kümmern. Hier geht's zur <a class='' href='https://www.hessenschau.de/index.html'>hessenschau.de-Startseite</a> mit aktuellen Nachrichten aus Hessen.<br><br>Viele Grüße, <br><br>Karsten Hufer"},"errorMessages":""form_error_required":"Server: Pflichtfeld","form_error_max":"Server: Zu viele Zeichen","form_error_validurl":"Server: Ungültige URL","form_error_empty":"Server: Darf nicht ausgefüllt werden","form_error_constants_or_null":"Server: Ungültiger Wert","form_error_constants":"Server: Ungültiger Wert","form_error_max_multivalue":"Server: Die maximale Anzahl an Antwortmöglichkeiten wurde überschritten","vote_error_identity_already_used":"Server: Unter dieser E-Mail-Adresse wurde bereits abgestimmt. Eine weitere Abstimmung ist nicht möglich.","vote_error_token_request_count_exceeded":"Server: Die maximale Anzahl an Bestätigungs-E-Mails wurde bereits verschickt.","form_error_email":"Server: Ungültige E-Mail-Adresse"","isMultipart":"isMultipart","trackingInformations":"trackingInformations","fields":[{"type":{"isText":true,"asString":"text"},"name":"vorname","label":"Vorname","description":"Das ist der Beschreibungstext (*Pflichtfeld)","defaultValue":"","isHidden":false,"isRequired":true,"maxLength":"140"},{"type":{"isText":true,"asString":"text"},"name":"nachname","label":"Nachname","description":"","defaultValue":"","isHidden":false,"isRequired":true,"maxLength":"140"},{"type":{"isUpload":true,"asString":"upload"},"name":"Datei Hochladen","label":"Wählen Sie eine Datei zum Hochladen","description":"Maximale Dateigröße: 35 MB.","isRequired":true},{"type":{"isSelect":true,"asString":"select"},"name":"Select Name","label":"Wen möchten Sie erreichen?","description":"Das ist der Beschreibungstext von Select","defaultValue":"","isHidden":false,"isRequired":true,"options":[{"id":"option1","value":"option1","selected":false,"label":"Option 1"},{"id":"option2","value":"option2","selected":false,"label":"Option 2"},{"id":"option3","value":"option3","selected":false,"label":"Option 3"},{"id":"option4","value":"option4","selected":false,"label":"Option 4"}]},{"isGrouped":true,"type":{"isChoice":true,"asString":"checkbox"},"name":"interessen","label":"Wählen Sie Ihre Interessen","isMeta":false,"description":"Bitte kreuzen Sie alle Interessen an, die auf Sie zutreffen. Ihre Auswahl hilft uns, Ihnen relevante Inhalte anzubieten.","isRequired":false,"options":[{"value":"sport","label":"sport","title":"sport","isSelected":false},{"value":"musik","label":"musik","title":"musik","isSelected":false},{"value":"lesen","label":"lesen","title":"lesen","isSelected":false},{"value":"reisen","label":"reisen","title":"reisen","isSelected":false},{"value":"kochen","label":"kochen","title":"kochen","isSelected":false},{"value":"filme","label":"filme","title":"filme","isSelected":false},{"value":"tanzen","label":"tanzen","title":"tanzen","isSelected":false},{"value":"fotografie","label":"fotografie","title":"fotografie","isSelected":false}]},{"isGrouped":true,"type":{"isChoice":true,"isRadioChoice":true,"asString":"radio"},"name":"lieblingsfarbe","label":"Wählen Sie Ihre Lieblingsfarbe","isMeta":false,"description":"Bitte wählen Sie eine der folgenden Farben aus.","isRequired":true,"options":[{"value":"rot","label":"rot","title":"rot","isSelected":false},{"value":"blau","label":"blau","title":"blau","isSelected":false},{"value":"grün","label":"grün","title":"grün","isSelected":false}]},{"isGrouped":true,"type":{"isChoice":true,"isRadioChoice":true,"asString":"radio"},"name":"lieblingsfarbe","label":"Wählen Sie Ihre Lieblingsfarbe","isMeta":false,"description":"Bitte wählen Sie eine der folgenden Farben aus.","isRequired":false,"options":[{"value":"rot","label":"rot","title":"rot","isSelected":false},{"value":"blau","label":"blau","title":"blau","isSelected":false},{"value":"grün","label":"grün","title":"grün","isSelected":false}]},{"isGrouped":false,"type":{"isChoice":true,"asString":"checkbox"},"name":"checkbox","label":"Ich bin damit einverstanden.","isMeta":false,"description":"Das ist der Beschreibungstext von Checkbox","isRequired":false},{"isGrouped":false,"type":{"isChoice":true,"asString":"checkbox"},"name":"checkbox","label":"Ich bin damit einverstanden, dass der hr die von mir im vorstehenden Formular angegebenen personenbezogenen Daten für den Zweck der Kontaktaufnahme mit Upload verarbeitet. Eine Weitergabe an Dritte findet nicht statt, es sei denn, es wird ausdrücklich darauf hingewiesen. Unsere Datenschutzerklärung mit sämtlichen Informationen gemäß Art 13 DSGVO zur Datenverarbeitung durch den hr und zu Ihren Rechten können Sie unter Datenschutzerklärung einsehen. Den Datenschutzbeauftragten des hr erreichen Sie unter datenschutz@hr.de.","isMeta":false,"description":"Das ist der Beschreibungstext von Checkbox","isRequired":true}]}}]}
|
|
1
|
+
{"copytextParagraph":[{"isHeadline":true,"text":"Copytext mit Formular"},{"paragraphBoxItem":{"isWebForm":true,"hasNewWebForm":true,"title":"Kontaktformular","jsonUrl":"https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de","successText":{"richtext":"Liebe Nutzerin, lieber Nutzer,<br><br>ich werde mich so schnell wie möglich um Ihr Anliegen kümmern. Hier geht's zur <a class='' href='https://www.hessenschau.de/index.html'>hessenschau.de-Startseite</a> mit aktuellen Nachrichten aus Hessen.<br><br>Viele Grüße, <br><br>Karsten Hufer"},"errorMessages":"{"form_error_required":"Server: Pflichtfeld","form_error_max":"Server: Zu viele Zeichen","form_error_validurl":"Server: Ungültige URL","form_error_empty":"Server: Darf nicht ausgefüllt werden","form_error_constants_or_null":"Server: Ungültiger Wert","form_error_constants":"Server: Ungültiger Wert","form_error_max_multivalue":"Server: Die maximale Anzahl an Antwortmöglichkeiten wurde überschritten","vote_error_identity_already_used":"Server: Unter dieser E-Mail-Adresse wurde bereits abgestimmt. Eine weitere Abstimmung ist nicht möglich.","vote_error_token_request_count_exceeded":"Server: Die maximale Anzahl an Bestätigungs-E-Mails wurde bereits verschickt.","form_error_email":"Server: Ungültige E-Mail-Adresse"}","isMultipart":"isMultipart","trackingInformations":"trackingInformations","fields":[{"type":{"isText":true,"asString":"text"},"name":"vorname","label":"Vorname","description":"Das ist der Beschreibungstext (*Pflichtfeld)","defaultValue":"","isHidden":false,"isRequired":true,"maxLength":"140"},{"type":{"isText":true,"asString":"text"},"name":"nachname","label":"Nachname","description":"","defaultValue":"","isHidden":false,"isRequired":true,"maxLength":"140"},{"type":{"isUpload":true,"asString":"upload"},"name":"Datei Hochladen","label":"Wählen Sie eine Datei zum Hochladen","description":"Maximale Dateigröße: 35 MB.","isRequired":true},{"type":{"isSelect":true,"asString":"select"},"name":"Select Name","label":"Wen möchten Sie erreichen?","description":"Das ist der Beschreibungstext von Select","defaultValue":"","isHidden":false,"isRequired":true,"options":[{"id":"option1","value":"option1","selected":false,"label":"Option 1"},{"id":"option2","value":"option2","selected":false,"label":"Option 2"},{"id":"option3","value":"option3","selected":false,"label":"Option 3"},{"id":"option4","value":"option4","selected":false,"label":"Option 4"}]},{"isGrouped":true,"type":{"isChoice":true,"asString":"checkbox"},"name":"interessen","label":"Wählen Sie Ihre Interessen","isMeta":false,"description":"Bitte kreuzen Sie alle Interessen an, die auf Sie zutreffen. Ihre Auswahl hilft uns, Ihnen relevante Inhalte anzubieten.","isRequired":false,"options":[{"value":"sport","label":"sport","title":"sport","isSelected":false},{"value":"musik","label":"musik","title":"musik","isSelected":false},{"value":"lesen","label":"lesen","title":"lesen","isSelected":false},{"value":"reisen","label":"reisen","title":"reisen","isSelected":false},{"value":"kochen","label":"kochen","title":"kochen","isSelected":false},{"value":"filme","label":"filme","title":"filme","isSelected":false},{"value":"tanzen","label":"tanzen","title":"tanzen","isSelected":false},{"value":"fotografie","label":"fotografie","title":"fotografie","isSelected":false}]},{"isGrouped":true,"type":{"isChoice":true,"isRadioChoice":true,"asString":"radio"},"name":"lieblingsfarbe","label":"Wählen Sie Ihre Lieblingsfarbe","isMeta":false,"description":"Bitte wählen Sie eine der folgenden Farben aus.","isRequired":true,"options":[{"value":"rot","label":"rot","title":"rot","isSelected":false},{"value":"blau","label":"blau","title":"blau","isSelected":false},{"value":"grün","label":"grün","title":"grün","isSelected":false}]},{"isGrouped":true,"type":{"isChoice":true,"isRadioChoice":true,"asString":"radio"},"name":"lieblingsfarbe","label":"Wählen Sie Ihre Lieblingsfarbe","isMeta":false,"description":"Bitte wählen Sie eine der folgenden Farben aus.","isRequired":false,"options":[{"value":"rot","label":"rot","title":"rot","isSelected":false},{"value":"blau","label":"blau","title":"blau","isSelected":false},{"value":"grün","label":"grün","title":"grün","isSelected":false}]},{"isGrouped":false,"type":{"isChoice":true,"asString":"checkbox"},"name":"checkbox","label":"Ich bin damit einverstanden.","isMeta":false,"description":"Das ist der Beschreibungstext von Checkbox","isRequired":false},{"isGrouped":false,"type":{"isChoice":true,"asString":"checkbox"},"name":"checkbox","label":"Ich bin damit einverstanden, dass der hr die von mir im vorstehenden Formular angegebenen personenbezogenen Daten für den Zweck der Kontaktaufnahme mit Upload verarbeitet. Eine Weitergabe an Dritte findet nicht statt, es sei denn, es wird ausdrücklich darauf hingewiesen. Unsere Datenschutzerklärung mit sämtlichen Informationen gemäß Art 13 DSGVO zur Datenverarbeitung durch den hr und zu Ihren Rechten können Sie unter Datenschutzerklärung einsehen. Den Datenschutzbeauftragten des hr erreichen Sie unter datenschutz@hr.de.","isMeta":false,"description":"Das ist der Beschreibungstext von Checkbox","isRequired":true}]}}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"copytextParagraph":[{"isHeadline":true,"text":"Copytext mit Formular"},{"paragraphBoxItem":{"isWebForm":true,"hasNewWebForm":true,"title":"Kontaktformular","successText":{"richtext":"Liebe Nutzerin, lieber Nutzer,<br><br>ich werde mich so schnell wie möglich um Ihr Anliegen kümmern. Hier geht's zur <a class='' href='https://www.hessenschau.de/index.html'>hessenschau.de-Startseite</a> mit aktuellen Nachrichten aus Hessen.<br><br>Viele Grüße, <br><br>Karsten Hufer"},"jsonUrl":"https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de","errorMessages":""form_error_required":"Server: Pflichtfeld","form_error_max":"Server: Zu viele Zeichen","form_error_validurl":"Server: Ungültige URL","form_error_empty":"Server: Darf nicht ausgefüllt werden","form_error_constants_or_null":"Server: Ungültiger Wert","form_error_constants":"Server: Ungültiger Wert","form_error_max_multivalue":"Server: Die maximale Anzahl an Antwortmöglichkeiten wurde überschritten","vote_error_identity_already_used":"Server: Unter dieser E-Mail-Adresse wurde bereits abgestimmt. Eine weitere Abstimmung ist nicht möglich.","vote_error_token_request_count_exceeded":"Server: Die maximale Anzahl an Bestätigungs-E-Mails wurde bereits verschickt.","form_error_email":"Server: Ungültige E-Mail-Adresse"","isMultipart":"isMultipart","trackingInformations":"trackingInformations","fields":[{"type":{"isText":true,"asString":"text"},"name":"vorname","label":"Vorname","description":"Das ist der Beschreibungstext von Vorname","defaultValue":"","isHidden":false,"isRequired":false}]}}]}
|
|
1
|
+
{"copytextParagraph":[{"isHeadline":true,"text":"Copytext mit Formular"},{"paragraphBoxItem":{"isWebForm":true,"hasNewWebForm":true,"title":"Kontaktformular","successText":{"richtext":"Liebe Nutzerin, lieber Nutzer,<br><br>ich werde mich so schnell wie möglich um Ihr Anliegen kümmern. Hier geht's zur <a class='' href='https://www.hessenschau.de/index.html'>hessenschau.de-Startseite</a> mit aktuellen Nachrichten aus Hessen.<br><br>Viele Grüße, <br><br>Karsten Hufer"},"jsonUrl":"https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de","errorMessages":"{"form_error_required":"Server: Pflichtfeld","form_error_max":"Server: Zu viele Zeichen","form_error_validurl":"Server: Ungültige URL","form_error_empty":"Server: Darf nicht ausgefüllt werden","form_error_constants_or_null":"Server: Ungültiger Wert","form_error_constants":"Server: Ungültiger Wert","form_error_max_multivalue":"Server: Die maximale Anzahl an Antwortmöglichkeiten wurde überschritten","vote_error_identity_already_used":"Server: Unter dieser E-Mail-Adresse wurde bereits abgestimmt. Eine weitere Abstimmung ist nicht möglich.","vote_error_token_request_count_exceeded":"Server: Die maximale Anzahl an Bestätigungs-E-Mails wurde bereits verschickt.","form_error_email":"Server: Ungültige E-Mail-Adresse"}","isMultipart":"isMultipart","trackingInformations":"trackingInformations","fields":[{"type":{"isText":true,"asString":"text"},"name":"vorname","label":"Vorname","description":"Das ist der Beschreibungstext von Vorname","defaultValue":"","isHidden":false,"isRequired":false}]}}]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<div class="relative px-5 pt-6 pb-8 mt-
|
|
1
|
+
<div class="relative px-5 pt-6 pb-8 mb-5 mt-7 sm:mt-12 bg-highlight-1 dark:bg-highlight-1-dark sm:rounded-tl-hr sm:rounded-br-hr sm:px-13 sm:pt-12 article-full-width sm:article-narrow" >
|
|
2
2
|
{{> @partial-block }}
|
|
3
3
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{~changeRandom~}}
|
|
2
|
-
<div class="relative flex flex-col w-full {{#unless _inGroup}} mb-
|
|
2
|
+
<div class="relative flex flex-col w-full {{#unless _inGroup}} mb-5 md:mb-7{{/unless}} gap-y-1 md:gap-y-2"
|
|
3
3
|
{{#unless _inGroup}}
|
|
4
4
|
{{#if _required}}
|
|
5
5
|
ax-load
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
</label>
|
|
76
76
|
</div>
|
|
77
77
|
{{#unless _inGroup}}
|
|
78
|
-
<div class="font-heading">
|
|
78
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
79
79
|
{{#if _description}}
|
|
80
80
|
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription() }"{{/if}}>{{_description}}</div>
|
|
81
81
|
{{/if}}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
x-ignore
|
|
6
6
|
{{/if}}
|
|
7
7
|
>
|
|
8
|
-
<div class="relative flex flex-col w-full mb-
|
|
9
|
-
<legend class="text-lg font-bold text-text dark:text-text-dark md:text-xl font-heading">
|
|
8
|
+
<div class="relative flex flex-col w-full mb-5 md:mb-7 gap-y-1 md:gap-y-2">
|
|
9
|
+
<legend class="mb-1 text-lg font-bold text-text dark:text-text-dark md:text-xl font-heading md:mb-2">
|
|
10
10
|
{{#if _hasBody}}
|
|
11
11
|
{{decorator_body}}{{#if _required}}*{{/if}}
|
|
12
12
|
{{else}}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</div>
|
|
38
38
|
{{/each}}
|
|
39
39
|
</div>
|
|
40
|
-
<div class="font-heading">
|
|
40
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
41
41
|
{{#if _description}}
|
|
42
42
|
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{_description}}</div>
|
|
43
43
|
{{/if}}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<div class="flex flex-col-reverse items-center justify-between sm:flex-row gap-y-6">
|
|
2
|
-
<div class="w-full text-xs basis-full text-gray-scorpion dark:text-text-dark font-headingSerif">
|
|
2
|
+
<div class="w-full text-xs basis-full text-gray-scorpion dark:text-text-dark font-headingSerif">{{loca "form_text_required"}}</div>
|
|
3
3
|
<div class="flex items-center justify-end w-full basis-full">
|
|
4
4
|
<label class="order-2 cursor-pointer {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant='primary'}} {{> components/button/utilities/button_dimension_classes _size='lg'}}">
|
|
5
5
|
<span class="hidden" :class="{'hidden': !isPosting}">{{> components/base/image/icon _icon="reload" _addClass="w-5 h-5 fill-white dark:fill-text-dark animate-spin"}}</span>
|
|
6
6
|
<span class="" :class="{'hidden': isPosting}">{{> components/base/image/icon _icon="send-ds" _addClass="w-5 h-5 fill-white dark:fill-text-dark "}}</span>
|
|
7
|
-
<input type="submit" class="pl-2 cursor-pointer" value="
|
|
7
|
+
<input type="submit" class="pl-2 cursor-pointer" value="{{loca "form_button_submit"}}" @click.prevent="submitButtonHandler($event)"/>
|
|
8
8
|
</label>
|
|
9
9
|
|
|
10
10
|
{{#> components/button/button _variant="tertiary"_size="lg" _css="order-1 mr-4" _type="reset"}}
|
|
11
|
-
<span class="text-base ds-button-label ">
|
|
11
|
+
<span class="text-base ds-button-label ">{{loca "form_button_reset"}}</span>
|
|
12
12
|
{{/components/button/button}}
|
|
13
13
|
|
|
14
14
|
</div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
{{#if this.caption}}
|
|
5
5
|
<fieldset>
|
|
6
|
-
<legend class="mb-
|
|
6
|
+
<legend class="mb-2 text-lg font-bold md:mb-3 text-text dark:text-text-dark md:text-xl font-heading">{{this.caption}}</legend>
|
|
7
7
|
{{~> components/forms/components/fields _formId=../_formId}}
|
|
8
8
|
</fieldset>
|
|
9
9
|
{{else}}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
{{> components/forms/components/error_icon _class="hidden" _xclass="{'hidden': hideError() }"}}
|
|
65
65
|
</div>
|
|
66
66
|
|
|
67
|
-
<div class="flex items-end justify-between h-5 font-heading">
|
|
67
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
68
68
|
{{#if _description}}
|
|
69
69
|
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription() }">{{_description}}</div>
|
|
70
70
|
{{/if}}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
<div class="flex items-center gap-x-2 md:gap-x-3">
|
|
3
3
|
{{#if _success}}
|
|
4
4
|
{{> components/forms/components/success_icon}}
|
|
5
|
-
<h3 class="font-bold text-success">{{~loca "webform_send_title_success"}}</h3>
|
|
5
|
+
<h3 class="font-bold text-success pt-0.5">{{~loca "webform_send_title_success"}}</h3>
|
|
6
6
|
{{else}}
|
|
7
7
|
{{> components/forms/components/error_icon _class="!block"}}
|
|
8
|
-
<h3 class="font-bold text-error dark:text-error-dark">{{~loca "webform_send_title_error"}}</h3>
|
|
8
|
+
<h3 class="font-bold text-error dark:text-error-dark pt-0.5">{{~loca "webform_send_title_error"}}</h3>
|
|
9
9
|
{{/if}}
|
|
10
10
|
</div>
|
|
11
11
|
</div>
|
|
12
|
-
<span class="font-copy">
|
|
12
|
+
<span class="font-copy text-text dark:text-text-dark">
|
|
13
13
|
{{#if _locaKeyText}}
|
|
14
14
|
{{loca _locaKeyText}}
|
|
15
15
|
{{else}}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
">
|
|
44
44
|
{{_label}}{{#if _required}}*{{/if}}
|
|
45
45
|
</label>
|
|
46
|
-
<div class="flex items-end justify-between h-5 font-heading">
|
|
46
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
47
47
|
{{#if _description}}
|
|
48
48
|
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription()}">{{_description}}</div>
|
|
49
49
|
{{/if}}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
{{> components/forms/components/error_icon _class="hidden" _xclass="{'hidden': hideError() }"}}
|
|
65
65
|
</div>
|
|
66
66
|
{{/if}}
|
|
67
|
-
<div class="flex items-end justify-between h-5 font-heading">
|
|
67
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
68
68
|
{{#if _description}}
|
|
69
69
|
<div class="pl-4 text-xs text-gray-scorpion" :class="{'hidden': hideDescription() }">{{_description}}</div>
|
|
70
70
|
{{/if}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="relative flex flex-col w-full mb-
|
|
1
|
+
<div class="relative flex flex-col w-full mb-5 gap-y-1 md:mb-7"
|
|
2
2
|
ax-load
|
|
3
3
|
x-data="inputHandler('input{{nextRandom}}','{{_formId}}','{{_errorMandatory}}','{{_type}}','', '', '{{_name}}')"
|
|
4
4
|
x-init="validateUpload()"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</button>
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
|
-
<div class="font-heading">
|
|
64
|
+
<div class="flex items-end justify-between min-h-5 font-heading">
|
|
65
65
|
{{#if _description}}
|
|
66
66
|
<div class="text-xs text-gray-500 dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{_description}}</div>
|
|
67
67
|
{{/if}}
|
|
@@ -18,11 +18,11 @@ export default {
|
|
|
18
18
|
}
|
|
19
19
|
const Template = (args) => {
|
|
20
20
|
let hbsTemplate = handlebars.compile(`
|
|
21
|
-
{{#>components/forms/backgroundBox }}
|
|
21
|
+
{{#>components/forms/components/backgroundBox }}
|
|
22
22
|
<form class="relative flex flex-col justify-center overflow-hidden group" id="form{{nextRandom}}" action="{{this.url}}" method="post" enctype="{{if this.isMultipart 'multipart/form-data' 'application/x-www-form-urlencoded'}}" accept-charset="utf-8" >
|
|
23
23
|
{{> components/forms/components/fields }}
|
|
24
24
|
</form>
|
|
25
|
-
{{/components/forms/backgroundBox }}
|
|
25
|
+
{{/components/forms/components/backgroundBox }}
|
|
26
26
|
`)
|
|
27
27
|
return hbsTemplate({ ...args })
|
|
28
28
|
}
|
|
@@ -19,7 +19,7 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
|
|
|
19
19
|
formInit(){
|
|
20
20
|
this.checkForJsonURL()
|
|
21
21
|
this.$store.forms.submissionAttempted[formId] = false;
|
|
22
|
-
this.$store.forms.errorMessages = JSON.parse(
|
|
22
|
+
this.$store.forms.errorMessages = JSON.parse(errorMessages.replace(/"/g,'"'))
|
|
23
23
|
},
|
|
24
24
|
submitButtonHandler(event) {
|
|
25
25
|
if(this.form.reportValidity()){
|
|
@@ -30,7 +30,8 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
|
|
|
30
30
|
},
|
|
31
31
|
retryHandler() {
|
|
32
32
|
this.wasPosted = false;
|
|
33
|
-
this.wasPostedWithError = false;
|
|
33
|
+
this.wasPostedWithError = false;
|
|
34
|
+
this.formWrapper.scrollIntoView({ behavior: 'smooth' })
|
|
34
35
|
},
|
|
35
36
|
handleValidationErrors(errors) {
|
|
36
37
|
console.log('Validation Errors:', errors);
|
|
@@ -95,11 +96,13 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
|
|
|
95
96
|
console.log("OK");
|
|
96
97
|
this.wasPosted = true;
|
|
97
98
|
this.wasPostedWithSuccess = true;
|
|
99
|
+
this.formWrapper.scrollIntoView({ behavior: 'smooth' })
|
|
98
100
|
break;
|
|
99
101
|
default:
|
|
100
102
|
console.log("default");
|
|
101
103
|
this.wasPosted = true;
|
|
102
104
|
this.wasPostedWithError = true;
|
|
105
|
+
this.formWrapper.scrollIntoView({ behavior: 'smooth' })
|
|
103
106
|
break;
|
|
104
107
|
}
|
|
105
108
|
} else {
|