hr-design-system-handlebars 1.114.86 → 1.114.88
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/hr4/conf/locatags.merged.json +2 -2
- package/dist/assets/index.css +11 -9
- package/dist/assets/js/components/forms/js/contactForm.alpine.js +8 -1
- package/dist/views/components/forms/components/fields.hbs +1 -0
- package/dist/views/components/forms/components/input.hbs +3 -1
- package/dist/views/components/page/podcast/podcast_episode_article.hbs +1 -1
- package/dist/views_static/components/forms/components/fields.hbs +1 -0
- package/dist/views_static/components/forms/components/input.hbs +3 -1
- package/dist/views_static/components/page/podcast/podcast_episode_article.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/brand/hr4/conf/locatags.merged.json +2 -2
- package/src/assets/fixtures/content/copytext/copytext_webform_simple.json +4 -0
- package/src/assets/fixtures/forms/form_fields.inc.json +14 -0
- package/src/assets/tailwind.css +8 -6
- package/src/stories/views/components/content/copytext/fixtures/copytext_webform_simple.json +1 -1
- package/src/stories/views/components/forms/components/fields.hbs +1 -0
- package/src/stories/views/components/forms/components/input.hbs +3 -1
- package/src/stories/views/components/forms/js/contactForm.alpine.js +8 -1
- package/src/stories/views/components/page/podcast/podcast_episode_article.hbs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# v1.114.88 (Thu Feb 13 2025)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Dpe 3535 js protection [#1237](https://github.com/mumprod/hr-design-system-handlebars/pull/1237) ([@vascoeduardo](https://github.com/vascoeduardo) [@eduardo-hr](https://github.com/eduardo-hr))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- [@eduardo-hr](https://github.com/eduardo-hr)
|
|
10
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# v1.114.87 (Tue Feb 11 2025)
|
|
15
|
+
|
|
16
|
+
#### 🐛 Bug Fix
|
|
17
|
+
|
|
18
|
+
- adjust background-colors [#1236](https://github.com/mumprod/hr-design-system-handlebars/pull/1236) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
19
|
+
|
|
20
|
+
#### Authors: 1
|
|
21
|
+
|
|
22
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
1
26
|
# v1.114.86 (Fri Feb 07 2025)
|
|
2
27
|
|
|
3
28
|
#### 🐛 Bug Fix
|
|
@@ -181,8 +181,8 @@
|
|
|
181
181
|
"ext_service_datapolicy_accept_permanently_text": "Externe Inhalte von <b>{0}</b> zukünftig immer anzeigen.",
|
|
182
182
|
"ext_service_datapolicy_accept_button_text": "Inhalt anzeigen",
|
|
183
183
|
"ext_service_datapolicy_headline": "Externen Inhalt von {0} anzeigen?",
|
|
184
|
-
"ext_service_datapolicy_text": "An dieser Stelle befindet sich ein von unserer Redaktion empfohlener Inhalt von <b>{0}</b>. Beim Laden des Inhalts werden Daten an den Anbieter und ggf. weitere Dritte übertragen. Nähere Informationen
|
|
185
|
-
"ext_service_datapolicy_no_js_text": "An dieser Stelle befindet sich ein von unserer Redaktion empfohlener Inhalt von <b>{0}</b>. Da
|
|
184
|
+
"ext_service_datapolicy_text": "An dieser Stelle befindet sich ein von unserer Redaktion empfohlener Inhalt von <b>{0}</b>. Beim Laden des Inhalts werden Daten an den Anbieter und ggf. weitere Dritte übertragen. Nähere Informationen erhalten Sie in unseren ",
|
|
185
|
+
"ext_service_datapolicy_no_js_text": "An dieser Stelle befindet sich ein von unserer Redaktion empfohlener Inhalt von <b>{0}</b>. Da Sie in Ihrem Browser Javascript deaktiviert haben, kann dieser hier nicht angezeigt werden. Der nachfolgende Link öffnet den Inhalt auf der Seite des Anbieters.",
|
|
186
186
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
187
187
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
188
188
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
package/dist/assets/index.css
CHANGED
|
@@ -3828,7 +3828,7 @@ article #commentList {
|
|
|
3828
3828
|
border-bottom-color: var(--color-secondary-ds);
|
|
3829
3829
|
}
|
|
3830
3830
|
.counter-reset {
|
|
3831
|
-
counter-reset:
|
|
3831
|
+
counter-reset: cnt1739460592042;
|
|
3832
3832
|
}
|
|
3833
3833
|
.animate-delay-100 {
|
|
3834
3834
|
--tw-animate-delay: 100ms;
|
|
@@ -4273,7 +4273,7 @@ html { scroll-behavior: smooth; }
|
|
|
4273
4273
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
4274
4274
|
}
|
|
4275
4275
|
.-ordered {
|
|
4276
|
-
counter-increment:
|
|
4276
|
+
counter-increment: cnt1739460592042 1;
|
|
4277
4277
|
}
|
|
4278
4278
|
.-ordered::before {
|
|
4279
4279
|
position: absolute;
|
|
@@ -4291,7 +4291,7 @@ html { scroll-behavior: smooth; }
|
|
|
4291
4291
|
--tw-text-opacity: 1;
|
|
4292
4292
|
color: rgba(0, 0, 0, 1);
|
|
4293
4293
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
4294
|
-
content: counter(
|
|
4294
|
+
content: counter(cnt1739460592042);
|
|
4295
4295
|
}
|
|
4296
4296
|
/*! ****************************/
|
|
4297
4297
|
/*! DataPolicy stuff */
|
|
@@ -4893,7 +4893,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
4893
4893
|
[data-theme='hr-fernsehen'] .ardplayer.ardplayer-light-mode {
|
|
4894
4894
|
--ardplayer-color-primary-base: #007396;
|
|
4895
4895
|
--ardplayer-color-primary-base-transparent-30: rgba(0, 115, 150, 0.7);
|
|
4896
|
-
--ardplayer-color-primary-dark-base: #
|
|
4896
|
+
--ardplayer-color-primary-dark-base: #E6E6E6;
|
|
4897
4897
|
--ardplayer-color-tertiary-base: #007396;
|
|
4898
4898
|
--ardplayer-color-lightest: #ffffff;
|
|
4899
4899
|
|
|
@@ -4994,7 +4994,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
4994
4994
|
[data-theme='hr-inforadio'] .ardplayer.ardplayer-light-mode {
|
|
4995
4995
|
--ardplayer-color-primary-base: #276b9e;
|
|
4996
4996
|
--ardplayer-color-primary-base-transparent-30: rgba(39, 107, 158, 0.7);
|
|
4997
|
-
--ardplayer-color-primary-dark-base: #
|
|
4997
|
+
--ardplayer-color-primary-dark-base: #eaf3fa;
|
|
4998
4998
|
--ardplayer-color-tertiary-base: #276b9e;
|
|
4999
4999
|
--ardplayer-color-lightest: #ffffff;
|
|
5000
5000
|
--ardplayer-lightmode-color-lightest-transparent-30: #276b9e;
|
|
@@ -5022,6 +5022,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
5022
5022
|
[data-theme='hr-rundfunkrat'] {
|
|
5023
5023
|
--color-primary-ds: #606060;
|
|
5024
5024
|
--color-secondary-ds: #007179;
|
|
5025
|
+
--color-highlight-1: #eaf3fa;
|
|
5025
5026
|
--color-highlight-2: #d34600;
|
|
5026
5027
|
|
|
5027
5028
|
/* Navigation Hintergrund */
|
|
@@ -5317,7 +5318,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
5317
5318
|
[data-theme='hr-sinfonieorchester'] .ardplayer.ardplayer-light-mode {
|
|
5318
5319
|
--ardplayer-color-primary-base: #AB2F2D;
|
|
5319
5320
|
--ardplayer-color-primary-base-transparent-30: rgba(171, 47, 45, 0.7);
|
|
5320
|
-
--ardplayer-color-primary-dark-base: #
|
|
5321
|
+
--ardplayer-color-primary-dark-base: #E6E6E6;
|
|
5321
5322
|
--ardplayer-color-tertiary-base: #AB2F2D;
|
|
5322
5323
|
--ardplayer-color-lightest: #ffffff;
|
|
5323
5324
|
--ardplayer-lightmode-color-lightest-transparent-30: #AB2F2D;
|
|
@@ -5443,6 +5444,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
5443
5444
|
[data-theme='hr'] {
|
|
5444
5445
|
--color-primary-ds: #007396;
|
|
5445
5446
|
--color-secondary-ds: #007396;
|
|
5447
|
+
--color-highlight-1: #eaf3fa;
|
|
5446
5448
|
--color-highlight-2: #d34600;
|
|
5447
5449
|
|
|
5448
5450
|
/* Navigation Hintergrund */
|
|
@@ -5741,7 +5743,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
5741
5743
|
[data-theme='hr2'] .ardplayer.ardplayer-light-mode {
|
|
5742
5744
|
--ardplayer-color-primary-base: #8C033D;
|
|
5743
5745
|
--ardplayer-color-primary-base-transparent-30: rgba(140, 3, 61, 0.7);
|
|
5744
|
-
--ardplayer-color-primary-dark-base: #
|
|
5746
|
+
--ardplayer-color-primary-dark-base: #E6E6E6;
|
|
5745
5747
|
--ardplayer-color-tertiary-base: #8C033D;
|
|
5746
5748
|
--ardplayer-color-lightest: #ffffff;
|
|
5747
5749
|
--ardplayer-lightmode-color-lightest-transparent-30: #8C033D;
|
|
@@ -5965,7 +5967,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
5965
5967
|
[data-theme='hr4'] .ardplayer.ardplayer-light-mode {
|
|
5966
5968
|
--ardplayer-color-primary-base: #0F6157;
|
|
5967
5969
|
--ardplayer-color-primary-base-transparent-30: rgba(15, 97, 87, 0.7);
|
|
5968
|
-
--ardplayer-color-primary-dark-base: #
|
|
5970
|
+
--ardplayer-color-primary-dark-base: #eaf5f7;
|
|
5969
5971
|
--ardplayer-color-tertiary-base: #0F6157;
|
|
5970
5972
|
--ardplayer-color-lightest: #ffffff;
|
|
5971
5973
|
--ardplayer-lightmode-color-lightest-transparent-30: #0F6157;
|
|
@@ -6092,7 +6094,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
6092
6094
|
[data-theme='you-fm'] .ardplayer.ardplayer-light-mode {
|
|
6093
6095
|
--ardplayer-color-primary-base: #006783;
|
|
6094
6096
|
--ardplayer-color-primary-base-transparent-30: rgba(0, 103, 131, 0.7);
|
|
6095
|
-
--ardplayer-color-primary-dark-base: #
|
|
6097
|
+
--ardplayer-color-primary-dark-base: #E6E6E6;
|
|
6096
6098
|
--ardplayer-color-tertiary-base: #006783;
|
|
6097
6099
|
--ardplayer-color-lightest: #ffffff;
|
|
6098
6100
|
--ardplayer-lightmode-color-lightest-transparent-30: #006783;
|
|
@@ -10,6 +10,7 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
|
|
|
10
10
|
ajaxTimeout: 60 * 1000,
|
|
11
11
|
form: this.$refs[formId],
|
|
12
12
|
formWrapper: this.$refs[formId].closest("#formWrapper"),
|
|
13
|
+
honeypot: this.$refs[formId].querySelector('input[data-name="x-message"]'),
|
|
13
14
|
actionUrl: this.form && this.form.getAttribute('action'),
|
|
14
15
|
checkForJsonURL () {
|
|
15
16
|
if (jsonUrl) {
|
|
@@ -31,10 +32,16 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
|
|
|
31
32
|
},
|
|
32
33
|
submitButtonHandler(event) {
|
|
33
34
|
this.$store.forms.submissionAttempted[formId] = true;
|
|
35
|
+
if (this.honeypot) {
|
|
36
|
+
this.honeypot.removeAttribute('required');
|
|
37
|
+
}
|
|
34
38
|
if(this.form.reportValidity()){
|
|
35
39
|
this.handleSubmit(event,this.form)
|
|
36
40
|
} else {
|
|
37
|
-
this.scrollToElementAndCenterWithTimeout(document.activeElement, 50)
|
|
41
|
+
this.scrollToElementAndCenterWithTimeout(document.activeElement, 50)
|
|
42
|
+
if (this.honeypot) {
|
|
43
|
+
this.honeypot.setAttribute('required', '');
|
|
44
|
+
}
|
|
38
45
|
}
|
|
39
46
|
},
|
|
40
47
|
retryHandler() {
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
_errorMandatory="Bitte füllen Sie dieses Pflichtfeld aus"
|
|
45
45
|
_errorEmail="Bitte geben Sie eine gültige E-Mail-Adresse ein."
|
|
46
46
|
_formId=../_formId
|
|
47
|
+
_isHoneypot=this.hasSpamProtection
|
|
47
48
|
}}
|
|
48
49
|
{{else if this.type.isSelect}}
|
|
49
50
|
{{~> components/forms/components/select
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
x-on:keyup ="validateField();"
|
|
15
15
|
type="{{#if _type}}{{_type}}{{/if}}"
|
|
16
16
|
name="{{#if _name}}{{_name}}{{/if}}"
|
|
17
|
+
{{#if _isHoneypot}}data-name="x-message" required="" {{/if}}
|
|
18
|
+
|
|
17
19
|
{{#if _locaKey}}
|
|
18
20
|
title="{{loca _locaKey}}{{#if _required}}*{{/if}}"
|
|
19
21
|
placeholder="placeholder:{{loca _locaKey}}{{#if _required}}*{{/if}}"
|
|
@@ -35,7 +37,7 @@
|
|
|
35
37
|
{{#if _maxLength}}
|
|
36
38
|
maxlength="{{_maxLength}}"
|
|
37
39
|
{{/if~}}
|
|
38
|
-
{{#if _required}} required{{/if}}
|
|
40
|
+
{{#if _required}} required=""{{/if}}
|
|
39
41
|
{{#if _tabindex}} tabindex="{{_tabindex}}"{{/if}}
|
|
40
42
|
{{#if _autocompleteOff}} autocomplete="off"{{/if}}
|
|
41
43
|
{{#if _autoSuggestFeature}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{{#if (isStorybook)}}
|
|
8
8
|
{{> components/podcast/components/podcast_player_shorttext _isSinglePage=true}}
|
|
9
9
|
{{else}}
|
|
10
|
-
{{
|
|
10
|
+
{{~> components/content/copytext/copytext _isWebview=_webview ~}}
|
|
11
11
|
{{/if}}
|
|
12
12
|
{{> components/content/content_footer/content_footer
|
|
13
13
|
_author=this.audioAuthor
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
_errorMandatory="Bitte füllen Sie dieses Pflichtfeld aus"
|
|
45
45
|
_errorEmail="Bitte geben Sie eine gültige E-Mail-Adresse ein."
|
|
46
46
|
_formId=../_formId
|
|
47
|
+
_isHoneypot=this.hasSpamProtection
|
|
47
48
|
}}
|
|
48
49
|
{{else if this.type.isSelect}}
|
|
49
50
|
{{~> components/forms/components/select
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
x-on:keyup ="validateField();"
|
|
15
15
|
type="{{#if _type}}{{_type}}{{/if}}"
|
|
16
16
|
name="{{#if _name}}{{_name}}{{/if}}"
|
|
17
|
+
{{#if _isHoneypot}}data-name="x-message" required="" {{/if}}
|
|
18
|
+
|
|
17
19
|
{{#if _locaKey}}
|
|
18
20
|
title="{{loca _locaKey}}{{#if _required}}*{{/if}}"
|
|
19
21
|
placeholder="placeholder:{{loca _locaKey}}{{#if _required}}*{{/if}}"
|
|
@@ -35,7 +37,7 @@
|
|
|
35
37
|
{{#if _maxLength}}
|
|
36
38
|
maxlength="{{_maxLength}}"
|
|
37
39
|
{{/if~}}
|
|
38
|
-
{{#if _required}} required{{/if}}
|
|
40
|
+
{{#if _required}} required=""{{/if}}
|
|
39
41
|
{{#if _tabindex}} tabindex="{{_tabindex}}"{{/if}}
|
|
40
42
|
{{#if _autocompleteOff}} autocomplete="off"{{/if}}
|
|
41
43
|
{{#if _autoSuggestFeature}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{{#if (isStorybook)}}
|
|
8
8
|
{{> components/podcast/components/podcast_player_shorttext _isSinglePage=true}}
|
|
9
9
|
{{else}}
|
|
10
|
-
{{
|
|
10
|
+
{{~> components/content/copytext/copytext _isWebview=_webview ~}}
|
|
11
11
|
{{/if}}
|
|
12
12
|
{{> components/content/content_footer/content_footer
|
|
13
13
|
_author=this.audioAuthor
|
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.114.
|
|
9
|
+
"version": "1.114.88",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -181,8 +181,8 @@
|
|
|
181
181
|
"ext_service_datapolicy_accept_permanently_text": "Externe Inhalte von <b>{0}</b> zukünftig immer anzeigen.",
|
|
182
182
|
"ext_service_datapolicy_accept_button_text": "Inhalt anzeigen",
|
|
183
183
|
"ext_service_datapolicy_headline": "Externen Inhalt von {0} anzeigen?",
|
|
184
|
-
"ext_service_datapolicy_text": "An dieser Stelle befindet sich ein von unserer Redaktion empfohlener Inhalt von <b>{0}</b>. Beim Laden des Inhalts werden Daten an den Anbieter und ggf. weitere Dritte übertragen. Nähere Informationen
|
|
185
|
-
"ext_service_datapolicy_no_js_text": "An dieser Stelle befindet sich ein von unserer Redaktion empfohlener Inhalt von <b>{0}</b>. Da
|
|
184
|
+
"ext_service_datapolicy_text": "An dieser Stelle befindet sich ein von unserer Redaktion empfohlener Inhalt von <b>{0}</b>. Beim Laden des Inhalts werden Daten an den Anbieter und ggf. weitere Dritte übertragen. Nähere Informationen erhalten Sie in unseren ",
|
|
185
|
+
"ext_service_datapolicy_no_js_text": "An dieser Stelle befindet sich ein von unserer Redaktion empfohlener Inhalt von <b>{0}</b>. Da Sie in Ihrem Browser Javascript deaktiviert haben, kann dieser hier nicht angezeigt werden. Der nachfolgende Link öffnet den Inhalt auf der Seite des Anbieters.",
|
|
186
186
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
187
187
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
188
188
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
@@ -24,6 +24,20 @@
|
|
|
24
24
|
"isRequired": true,
|
|
25
25
|
"maxLength": "140"
|
|
26
26
|
},
|
|
27
|
+
"input-honeypot-required": {
|
|
28
|
+
"type": {
|
|
29
|
+
"isText": true,
|
|
30
|
+
"asString": "text"
|
|
31
|
+
},
|
|
32
|
+
"name": "message",
|
|
33
|
+
"label": "message",
|
|
34
|
+
"description": "message",
|
|
35
|
+
"defaultValue": "",
|
|
36
|
+
"isHidden": true,
|
|
37
|
+
"hasSpamProtection":true,
|
|
38
|
+
"isRequired": false,
|
|
39
|
+
"maxLength": "140"
|
|
40
|
+
},
|
|
27
41
|
"input-text-nachname-required": {
|
|
28
42
|
"type": {
|
|
29
43
|
"isText": true,
|
package/src/assets/tailwind.css
CHANGED
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
--ardplayer-color-primary-base-transparent-30: rgba(
|
|
451
451
|
theme('colors.blue.blueLuxury.rgb') / 70%
|
|
452
452
|
);
|
|
453
|
-
--ardplayer-color-primary-dark-base: theme('colors.
|
|
453
|
+
--ardplayer-color-primary-dark-base: theme('colors.gray.mercury');
|
|
454
454
|
--ardplayer-color-tertiary-base: theme('colors.blue.blueLuxury.hex');
|
|
455
455
|
--ardplayer-color-lightest: theme('colors.white.DEFAULT');
|
|
456
456
|
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
--ardplayer-color-primary-base-transparent-30: rgba(
|
|
566
566
|
theme('colors.blue.jellyBean.rgb') / 70%
|
|
567
567
|
);
|
|
568
|
-
--ardplayer-color-primary-dark-base: theme('colors.blue.
|
|
568
|
+
--ardplayer-color-primary-dark-base: theme('colors.blue.accented');
|
|
569
569
|
--ardplayer-color-tertiary-base: theme('colors.blue.jellyBean.hex');
|
|
570
570
|
--ardplayer-color-lightest: theme('colors.white.DEFAULT');
|
|
571
571
|
--ardplayer-lightmode-color-lightest-transparent-30: theme('colors.blue.jellyBean.hex');
|
|
@@ -601,6 +601,7 @@
|
|
|
601
601
|
[data-theme='hr-rundfunkrat'] {
|
|
602
602
|
--color-primary-ds: theme('colors.gray.scorpion');
|
|
603
603
|
--color-secondary-ds: #007179;
|
|
604
|
+
--color-highlight-1: theme('colors.blue.accented');
|
|
604
605
|
--color-highlight-2: theme('colors.orange.spicyCarrot.hex');
|
|
605
606
|
|
|
606
607
|
/* Navigation Hintergrund */
|
|
@@ -925,7 +926,7 @@
|
|
|
925
926
|
--ardplayer-color-primary-base-transparent-30: rgba(
|
|
926
927
|
theme('colors.red.wellRead.rgb') / 70%
|
|
927
928
|
);
|
|
928
|
-
--ardplayer-color-primary-dark-base: theme('colors.gray.
|
|
929
|
+
--ardplayer-color-primary-dark-base: theme('colors.gray.mercury');
|
|
929
930
|
--ardplayer-color-tertiary-base: theme('colors.red.wellRead.hex');
|
|
930
931
|
--ardplayer-color-lightest: theme('colors.white.DEFAULT');
|
|
931
932
|
--ardplayer-lightmode-color-lightest-transparent-30: theme('colors.red.wellRead.hex');
|
|
@@ -1070,6 +1071,7 @@
|
|
|
1070
1071
|
[data-theme='hr'] {
|
|
1071
1072
|
--color-primary-ds: theme('colors.blue.blueLuxury.hex');
|
|
1072
1073
|
--color-secondary-ds: #007396;
|
|
1074
|
+
--color-highlight-1: theme('colors.blue.accented');
|
|
1073
1075
|
--color-highlight-2: theme('colors.orange.spicyCarrot.hex');
|
|
1074
1076
|
|
|
1075
1077
|
/* Navigation Hintergrund */
|
|
@@ -1395,7 +1397,7 @@
|
|
|
1395
1397
|
--ardplayer-color-primary-base-transparent-30: rgba(
|
|
1396
1398
|
theme('colors.red.paprika.rgb') / 70%
|
|
1397
1399
|
);
|
|
1398
|
-
--ardplayer-color-primary-dark-base: theme('colors.gray.
|
|
1400
|
+
--ardplayer-color-primary-dark-base: theme('colors.gray.mercury');
|
|
1399
1401
|
--ardplayer-color-tertiary-base: theme('colors.red.paprika.hex');
|
|
1400
1402
|
--ardplayer-color-lightest: theme('colors.white.DEFAULT');
|
|
1401
1403
|
--ardplayer-lightmode-color-lightest-transparent-30: theme('colors.red.paprika.hex');
|
|
@@ -1645,7 +1647,7 @@
|
|
|
1645
1647
|
--ardplayer-color-primary-base-transparent-30: rgba(
|
|
1646
1648
|
theme('colors.green.eden.rgb') / 70%
|
|
1647
1649
|
);
|
|
1648
|
-
--ardplayer-color-primary-dark-base: theme('colors.
|
|
1650
|
+
--ardplayer-color-primary-dark-base: theme('colors.blue.blackSqueeze');
|
|
1649
1651
|
--ardplayer-color-tertiary-base: theme('colors.green.eden.hex');
|
|
1650
1652
|
--ardplayer-color-lightest: theme('colors.white.DEFAULT');
|
|
1651
1653
|
--ardplayer-lightmode-color-lightest-transparent-30: theme('colors.green.eden.hex');
|
|
@@ -1781,7 +1783,7 @@
|
|
|
1781
1783
|
&.ardplayer-light-mode {
|
|
1782
1784
|
--ardplayer-color-primary-base: theme('colors.blue.sea.hex');
|
|
1783
1785
|
--ardplayer-color-primary-base-transparent-30: rgba(theme('colors.blue.sea.rgb') / 70%);
|
|
1784
|
-
--ardplayer-color-primary-dark-base: theme('colors.gray.
|
|
1786
|
+
--ardplayer-color-primary-dark-base: theme('colors.gray.mercury');
|
|
1785
1787
|
--ardplayer-color-tertiary-base: theme('colors.blue.sea.hex');
|
|
1786
1788
|
--ardplayer-color-lightest: theme('colors.white.DEFAULT');
|
|
1787
1789
|
--ardplayer-lightmode-color-lightest-transparent-30: theme('colors.blue.sea.hex');
|
|
@@ -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},{"type":{"isText":true,"asString":"text"},"name":"message","label":"message","description":"message","defaultValue":"","isHidden":true,"hasSpamProtection":true,"isRequired":false,"maxLength":"140"}]}}]}
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
_errorMandatory="Bitte füllen Sie dieses Pflichtfeld aus"
|
|
45
45
|
_errorEmail="Bitte geben Sie eine gültige E-Mail-Adresse ein."
|
|
46
46
|
_formId=../_formId
|
|
47
|
+
_isHoneypot=this.hasSpamProtection
|
|
47
48
|
}}
|
|
48
49
|
{{else if this.type.isSelect}}
|
|
49
50
|
{{~> components/forms/components/select
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
x-on:keyup ="validateField();"
|
|
15
15
|
type="{{#if _type}}{{_type}}{{/if}}"
|
|
16
16
|
name="{{#if _name}}{{_name}}{{/if}}"
|
|
17
|
+
{{#if _isHoneypot}}data-name="x-message" required="" {{/if}}
|
|
18
|
+
|
|
17
19
|
{{#if _locaKey}}
|
|
18
20
|
title="{{loca _locaKey}}{{#if _required}}*{{/if}}"
|
|
19
21
|
placeholder="placeholder:{{loca _locaKey}}{{#if _required}}*{{/if}}"
|
|
@@ -35,7 +37,7 @@
|
|
|
35
37
|
{{#if _maxLength}}
|
|
36
38
|
maxlength="{{_maxLength}}"
|
|
37
39
|
{{/if~}}
|
|
38
|
-
{{#if _required}} required{{/if}}
|
|
40
|
+
{{#if _required}} required=""{{/if}}
|
|
39
41
|
{{#if _tabindex}} tabindex="{{_tabindex}}"{{/if}}
|
|
40
42
|
{{#if _autocompleteOff}} autocomplete="off"{{/if}}
|
|
41
43
|
{{#if _autoSuggestFeature}}
|
|
@@ -10,6 +10,7 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
|
|
|
10
10
|
ajaxTimeout: 60 * 1000,
|
|
11
11
|
form: this.$refs[formId],
|
|
12
12
|
formWrapper: this.$refs[formId].closest("#formWrapper"),
|
|
13
|
+
honeypot: this.$refs[formId].querySelector('input[data-name="x-message"]'),
|
|
13
14
|
actionUrl: this.form && this.form.getAttribute('action'),
|
|
14
15
|
checkForJsonURL () {
|
|
15
16
|
if (jsonUrl) {
|
|
@@ -31,10 +32,16 @@ export default function contactForm(formId, jsonUrl, errorMessages, multipart, t
|
|
|
31
32
|
},
|
|
32
33
|
submitButtonHandler(event) {
|
|
33
34
|
this.$store.forms.submissionAttempted[formId] = true;
|
|
35
|
+
if (this.honeypot) {
|
|
36
|
+
this.honeypot.removeAttribute('required');
|
|
37
|
+
}
|
|
34
38
|
if(this.form.reportValidity()){
|
|
35
39
|
this.handleSubmit(event,this.form)
|
|
36
40
|
} else {
|
|
37
|
-
this.scrollToElementAndCenterWithTimeout(document.activeElement, 50)
|
|
41
|
+
this.scrollToElementAndCenterWithTimeout(document.activeElement, 50)
|
|
42
|
+
if (this.honeypot) {
|
|
43
|
+
this.honeypot.setAttribute('required', '');
|
|
44
|
+
}
|
|
38
45
|
}
|
|
39
46
|
},
|
|
40
47
|
retryHandler() {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{{#if (isStorybook)}}
|
|
8
8
|
{{> components/podcast/components/podcast_player_shorttext _isSinglePage=true}}
|
|
9
9
|
{{else}}
|
|
10
|
-
{{
|
|
10
|
+
{{~> components/content/copytext/copytext _isWebview=_webview ~}}
|
|
11
11
|
{{/if}}
|
|
12
12
|
{{> components/content/content_footer/content_footer
|
|
13
13
|
_author=this.audioAuthor
|