hr-design-system-handlebars 1.114.5 → 1.114.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/assets/index.css +3 -3
- package/dist/assets/js/components/voting/js/votingDs.feature.js +6 -6
- package/dist/views/components/voting/voting.hbs +18 -16
- package/dist/views/components/voting/voting_result.hbs +17 -18
- package/dist/views/components/voting/voting_result_2F.hbs +1 -1
- package/dist/views_static/components/voting/voting.hbs +18 -16
- package/dist/views_static/components/voting/voting_result.hbs +17 -18
- package/dist/views_static/components/voting/voting_result_2F.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/fixtures/voting/voting_email.json +4 -44
- package/src/stories/views/components/voting/fixtures/voting_email.json +1 -1
- package/src/stories/views/components/voting/js/votingDs.feature.js +6 -6
- package/src/stories/views/components/voting/voting.hbs +18 -16
- package/src/stories/views/components/voting/voting.stories.js +2 -2
- package/src/stories/views/components/voting/voting_result.hbs +17 -18
- package/src/stories/views/components/voting/{voting_success.stories.js → voting_result.stories.js} +8 -2
- package/src/stories/views/components/voting/voting_result_2F.hbs +1 -1
- package/dist/views/components/voting/voting_error.hbs +0 -10
- package/dist/views/components/voting/voting_success.hbs +0 -27
- package/dist/views/components/voting/voting_success_2F.hbs +0 -7
- package/dist/views_static/components/voting/voting_error.hbs +0 -10
- package/dist/views_static/components/voting/voting_success.hbs +0 -27
- package/dist/views_static/components/voting/voting_success_2F.hbs +0 -7
- package/src/stories/views/components/voting/js/voteValidatorDs.js +0 -195
- package/src/stories/views/components/voting/js/votingCookieCheckerDs.js +0 -31
- package/src/stories/views/components/voting/js/votingDs.js +0 -198
- package/src/stories/views/components/voting/voting_error.hbs +0 -10
- package/src/stories/views/components/voting/voting_error.stories.js +0 -35
- package/src/stories/views/components/voting/voting_success.hbs +0 -27
- package/src/stories/views/components/voting/voting_success_2F.hbs +0 -7
- package/src/stories/views/components/voting/voting_success_2F.stories.js +0 -35
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{{#if this.votingSuccessText}}
|
|
2
|
-
{{> components/voting/voting_result
|
|
3
|
-
_title=_title
|
|
4
|
-
_topline=_topline
|
|
5
|
-
_resultBoxMessageTitle=(loca "votingform_title_success")
|
|
6
|
-
_resultBoxMessageText=this.votingSuccessText.richtext
|
|
7
|
-
_isInline=_isInline
|
|
8
|
-
_voteResults=_voteResults
|
|
9
|
-
_isResultOnRedirectPage=_isResultOnRedirectPage
|
|
10
|
-
_hideVotingResult=this.hideVotingResult
|
|
11
|
-
_statusDone=_statusDone
|
|
12
|
-
|
|
13
|
-
}}
|
|
14
|
-
{{else}}
|
|
15
|
-
{{> components/voting/voting_result
|
|
16
|
-
_title=_title
|
|
17
|
-
_topline=_topline
|
|
18
|
-
_resultBoxMessageTitle=(loca "votingform_title_success")
|
|
19
|
-
_resultBoxMessageText=(loca "votingform_text_success")
|
|
20
|
-
_isInline=_isInline
|
|
21
|
-
_voteResults=_voteResults
|
|
22
|
-
_isResultOnRedirectPage=_isResultOnRedirectPage
|
|
23
|
-
_hideVotingResult=this.hideVotingResult
|
|
24
|
-
_statusDone=_statusDone
|
|
25
|
-
}}
|
|
26
|
-
{{/if}}
|
|
27
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import votingJson from './fixtures/voting.json'
|
|
2
|
-
|
|
3
|
-
const handlebars = require('hrHandlebars')
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: 'Komponenten/Voting',
|
|
7
|
-
decorators: [
|
|
8
|
-
(Story) => {
|
|
9
|
-
return `<div class="grid grid-page">
|
|
10
|
-
<div class="grid bg-white grid-article">
|
|
11
|
-
${Story()}
|
|
12
|
-
</div>
|
|
13
|
-
</div>`
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
parameters: {
|
|
17
|
-
layout: 'fullscreen',
|
|
18
|
-
chromatic: { disableSnapshot: true }
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const Template = (args) => {
|
|
23
|
-
let hbsTemplate = handlebars.compile(`
|
|
24
|
-
{{#>components/forms/components/backgroundBox }}
|
|
25
|
-
{{> components/voting/voting_success_2F _title=this.title _topline=this.topline}}
|
|
26
|
-
{{/components/forms/components/backgroundBox }}
|
|
27
|
-
`)
|
|
28
|
-
return hbsTemplate({ ...args })
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export const Voting_Success_2F = {
|
|
32
|
-
render: Template.bind({}),
|
|
33
|
-
name: 'Successmeldung',
|
|
34
|
-
args: votingJson,
|
|
35
|
-
}
|