hr-design-system-handlebars 1.113.11 → 1.113.13
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 +24 -0
- package/dist/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr1/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr2/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr3/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/hr4/conf/locatags.merged.json +1 -0
- package/dist/assets/brand/you-fm/conf/locatags.merged.json +1 -0
- package/dist/assets/index.css +44 -3
- package/dist/assets/js/components/voting/js/votingCookieCheckerDs.feature.js +25 -0
- package/dist/assets/js/components/voting/js/votingDs.feature.js +214 -0
- package/dist/assets/js/components/voting/js/votingValidatorDs.feature.js +193 -0
- package/dist/views/components/forms/components/choice.hbs +2 -2
- package/dist/views/components/forms/components/choiceGroup.hbs +4 -2
- package/dist/views/components/forms/components/fields.hbs +3 -1
- package/dist/views/components/voting/components/voting_header.hbs +5 -0
- package/dist/views/components/voting/components/voting_submit.hbs +4 -0
- package/dist/views/components/voting/voting.hbs +48 -7
- package/dist/views/components/voting/voting_result.hbs +3 -3
- package/dist/views/components/voting/voting_result_2F.hbs +4 -0
- package/dist/views/components/voting/voting_success_2F.hbs +7 -0
- package/dist/views_static/components/forms/components/choice.hbs +2 -2
- package/dist/views_static/components/forms/components/choiceGroup.hbs +4 -2
- package/dist/views_static/components/forms/components/fields.hbs +3 -1
- package/dist/views_static/components/voting/components/voting_header.hbs +5 -0
- package/dist/views_static/components/voting/components/voting_submit.hbs +4 -0
- package/dist/views_static/components/voting/voting.hbs +48 -7
- package/dist/views_static/components/voting/voting_result.hbs +3 -3
- package/dist/views_static/components/voting/voting_result_2F.hbs +4 -0
- package/dist/views_static/components/voting/voting_success_2F.hbs +7 -0
- package/package.json +1 -1
- package/src/assets/brand/_default/conf/locatags.json +1 -0
- package/src/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr1/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr2/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr3/conf/locatags.merged.json +1 -0
- package/src/assets/brand/hr4/conf/locatags.merged.json +1 -0
- package/src/assets/brand/you-fm/conf/locatags.merged.json +1 -0
- package/src/assets/fixtures/voting/voting.inc.json +21 -5
- package/src/stories/views/components/forms/components/choice.hbs +2 -2
- package/src/stories/views/components/forms/components/choiceGroup.hbs +4 -2
- package/src/stories/views/components/forms/components/fields.hbs +3 -1
- package/src/stories/views/components/voting/components/voting_header.hbs +5 -0
- package/src/stories/views/components/voting/components/voting_submit.hbs +4 -0
- package/src/stories/views/components/voting/fixtures/voting.json +1 -1
- package/src/stories/views/components/voting/fixtures/voting_error.json +1 -1
- package/src/stories/views/components/voting/fixtures/voting_over.json +1 -1
- package/src/stories/views/components/voting/fixtures/voting_result_absolute.json +1 -1
- package/src/stories/views/components/voting/js/voteValidatorDs.js +195 -0
- package/src/stories/views/components/voting/js/votingCookieCheckerDs.feature.js +25 -0
- package/src/stories/views/components/voting/js/votingCookieCheckerDs.js +31 -0
- package/src/stories/views/components/voting/js/votingDs.feature.js +214 -0
- package/src/stories/views/components/voting/js/votingDs.js +198 -0
- package/src/stories/views/components/voting/js/votingValidatorDs.feature.js +193 -0
- package/src/stories/views/components/voting/voting.hbs +48 -7
- package/src/stories/views/components/voting/voting.stories.js +7 -0
- package/src/stories/views/components/voting/voting_result.hbs +3 -3
- package/src/stories/views/components/voting/voting_result_2F.hbs +4 -0
- package/src/stories/views/components/voting/voting_success_2F.hbs +7 -0
- package/src/stories/views/components/voting/{voting_result.stories.js → voting_success_2F.stories.js} +5 -5
- package/dist/views/components/voting/voting_header.hbs +0 -8
- package/dist/views_static/components/voting/voting_header.hbs +0 -8
- package/src/stories/views/components/voting/voting_header.hbs +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#unless _isResultOnRedirectPage}}
|
|
2
|
-
{{> components/voting/voting_header _title=_title _topline=_topline}}
|
|
2
|
+
{{> components/voting/components/voting_header _title=_title _topline=_topline}}
|
|
3
3
|
{{/unless}}
|
|
4
4
|
|
|
5
5
|
{{#if _hideVotingResult}}
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
</div>
|
|
29
29
|
{{/each}}
|
|
30
30
|
|
|
31
|
-
{{
|
|
31
|
+
{{!#unless this.showAbsoluteResult}}
|
|
32
32
|
{{#if this.showVoteResult}}
|
|
33
33
|
<p class="clear-both text-xs pt-7 sm:pt-9 font-headingSerif sm:text-sm text-gray-scorpion">
|
|
34
34
|
{{loca "votingform_vote_result"}}{{this.summarizedResult}}
|
|
35
35
|
</p>
|
|
36
36
|
{{/if}}
|
|
37
|
-
{{
|
|
37
|
+
{{!/unless}}
|
|
38
38
|
{{/if}}
|
|
39
39
|
|
|
40
40
|
{{#if _isVotingOver}}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
{{> components/voting/components/voting_header _title=_title _topline=_topline}}
|
|
2
|
+
|
|
3
|
+
{{~> components/base/image/icon _icon="status-done" _iconmap="icons" _addClass="float-left w-6 h-6 text-success fill-current mt-6 sm:mt-12"}}
|
|
4
|
+
<p class="mt-6 ml-8 text-base font-bold sm:ml-9 text-success sm:text-lg font-heading sm:mt-12">{{{_resultBoxMessageTitle}}}<br/>{{{_resultBoxMessageText}}}</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import votingJson from './fixtures/voting.json'
|
|
2
2
|
|
|
3
3
|
const handlebars = require('hrHandlebars')
|
|
4
4
|
|
|
@@ -17,14 +17,14 @@ export default {
|
|
|
17
17
|
const Template = (args) => {
|
|
18
18
|
let hbsTemplate = handlebars.compile(`
|
|
19
19
|
{{#>components/forms/components/backgroundBox }}
|
|
20
|
-
{{> components/voting/
|
|
20
|
+
{{> components/voting/voting_success_2F }}
|
|
21
21
|
{{/components/forms/components/backgroundBox }}
|
|
22
22
|
`)
|
|
23
23
|
return hbsTemplate({ ...args })
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export const
|
|
26
|
+
export const Voting_Success_2F = {
|
|
27
27
|
render: Template.bind({}),
|
|
28
|
-
name: '
|
|
29
|
-
args:
|
|
28
|
+
name: 'Successmeldung',
|
|
29
|
+
args: votingJson,
|
|
30
30
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{{> components/label/label _type="media" _text=(loca "label_voting")}}
|
|
2
|
-
|
|
3
|
-
<h2 class="clear-both mt-4 sm:mt-5">
|
|
4
|
-
{{#if _topline}}
|
|
5
|
-
<span class="block text-base font-heading sm:text-lg dark:text-text-dark">{{_topline}}</span>
|
|
6
|
-
{{/if}}
|
|
7
|
-
<span class="{{#if _topline}}mt-px{{/if}} block text-2xl sm:text-3xl font-headingSerif dark:text-text-dark">{{_title}}</span>
|
|
8
|
-
</h2>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{{> components/label/label _type="media" _text=(loca "label_voting")}}
|
|
2
|
-
|
|
3
|
-
<h2 class="clear-both mt-4 sm:mt-5">
|
|
4
|
-
{{#if _topline}}
|
|
5
|
-
<span class="block text-base font-heading sm:text-lg dark:text-text-dark">{{_topline}}</span>
|
|
6
|
-
{{/if}}
|
|
7
|
-
<span class="{{#if _topline}}mt-px{{/if}} block text-2xl sm:text-3xl font-headingSerif dark:text-text-dark">{{_title}}</span>
|
|
8
|
-
</h2>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{{> components/label/label _type="media" _text=(loca "label_voting")}}
|
|
2
|
-
|
|
3
|
-
<h2 class="clear-both mt-4 sm:mt-5">
|
|
4
|
-
{{#if _topline}}
|
|
5
|
-
<span class="block text-base font-heading sm:text-lg dark:text-text-dark">{{_topline}}</span>
|
|
6
|
-
{{/if}}
|
|
7
|
-
<span class="{{#if _topline}}mt-px{{/if}} block text-2xl sm:text-3xl font-headingSerif dark:text-text-dark">{{_title}}</span>
|
|
8
|
-
</h2>
|