hr-design-system-handlebars 1.62.0 → 1.63.0
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 +13 -0
- package/dist/assets/index.css +76 -12
- package/dist/assets/js/components/externalService/dataWrapperContentRefresher.subfeature.js +85 -0
- package/dist/assets/js/components/externalService/dataWrapperNoResponsiveIframe.subfeature.js +44 -0
- package/dist/assets/js/components/externalService/externalServiceDs.feature.js +123 -189
- package/dist/views/components/content/copytext/components/externalservice.hbs +3 -78
- package/dist/views/components/content/copytext/copytext.hbs +10 -1
- package/dist/views/components/externalService/components/external_service_caption.hbs +5 -0
- package/{src/stories/views/components/externalService → dist/views/components/externalService/components}/external_service_data_policy.hbs +6 -6
- package/{src/stories/views/components/externalService → dist/views/components/externalService/components}/external_service_form_checkbox.hbs +2 -2
- package/dist/views/components/externalService/{external_service_load_content_button.hbs → components/external_service_load_content_button.hbs} +2 -2
- package/{src/stories/views/components/externalService → dist/views/components/externalService/components}/external_service_settings_button.hbs +1 -1
- package/dist/views/components/externalService/external_service.hbs +34 -16
- package/dist/views/components/externalService/external_service_with_datapolicy_check.hbs +16 -0
- package/dist/views_static/components/content/copytext/components/externalservice.hbs +3 -78
- package/dist/views_static/components/content/copytext/copytext.hbs +10 -1
- package/dist/views_static/components/externalService/components/external_service_caption.hbs +5 -0
- package/dist/views_static/components/externalService/{external_service_data_policy.hbs → components/external_service_data_policy.hbs} +6 -6
- package/dist/views_static/components/externalService/{external_service_form_checkbox.hbs → components/external_service_form_checkbox.hbs} +2 -2
- package/{src/stories/views/components/externalService → dist/views_static/components/externalService/components}/external_service_load_content_button.hbs +2 -2
- package/dist/{views/components/externalService → views_static/components/externalService/components}/external_service_settings_button.hbs +1 -1
- package/dist/views_static/components/externalService/external_service.hbs +34 -16
- package/dist/views_static/components/externalService/external_service_with_datapolicy_check.hbs +16 -0
- package/package.json +1 -1
- package/src/assets/css/custom-utilities.css +49 -15
- package/src/assets/fixtures/content/copytext/copytext_externalservice.json +44 -1
- package/src/assets/fixtures/external_service/external_service.inc.json +3 -3
- package/src/stories/views/components/content/copytext/components/externalservice.hbs +3 -78
- package/src/stories/views/components/content/copytext/copytext.hbs +10 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_externalservice.json +1 -1
- package/src/stories/views/components/externalService/components/external_service_caption.hbs +5 -0
- package/{dist/views/components/externalService → src/stories/views/components/externalService/components}/external_service_data_policy.hbs +6 -6
- package/{dist/views/components/externalService → src/stories/views/components/externalService/components}/external_service_form_checkbox.hbs +2 -2
- package/{dist/views_static/components/externalService → src/stories/views/components/externalService/components}/external_service_load_content_button.hbs +2 -2
- package/{dist/views_static/components/externalService → src/stories/views/components/externalService/components}/external_service_settings_button.hbs +1 -1
- package/src/stories/views/components/externalService/dataWrapperContentRefresher.subfeature.js +85 -0
- package/src/stories/views/components/externalService/dataWrapperNoResponsiveIframe.subfeature.js +44 -0
- package/src/stories/views/components/externalService/externalServiceDs.feature.js +123 -189
- package/src/stories/views/components/externalService/external_service.data.js +1 -1
- package/src/stories/views/components/externalService/external_service.hbs +34 -16
- package/src/stories/views/components/externalService/external_service.stories.js +1 -1
- package/src/stories/views/components/externalService/external_service_with_datapolicy_check.hbs +16 -0
- package/src/stories/views/components/externalService/fixtures/external_service_with_datapolicy.json +166 -0
- package/src/stories/views/components/grid/grid.stories.js +1 -1
- package/dist/views/components/externalService/external_service_caption.hbs +0 -3
- package/dist/views/components/externalService/externalservice.hbs +0 -38
- package/dist/views_static/components/externalService/external_service_caption.hbs +0 -3
- package/dist/views_static/components/externalService/externalservice.hbs +0 -38
- package/src/stories/views/components/externalService/external_service_caption.hbs +0 -3
- package/src/stories/views/components/externalService/externalservice.hbs +0 -38
- package/src/stories/views/components/externalService/fixtures/external_service.json +0 -1
- /package/dist/views/components/externalService/{data_policy_link.hbs → components/data_policy_link.hbs} +0 -0
- /package/dist/views_static/components/externalService/{data_policy_link.hbs → components/data_policy_link.hbs} +0 -0
- /package/src/stories/views/components/externalService/{data_policy_link.hbs → components/data_policy_link.hbs} +0 -0
|
@@ -1,80 +1,5 @@
|
|
|
1
|
-
{{
|
|
2
|
-
|
|
3
|
-
{{#with this.toModel.externalService}}
|
|
4
|
-
|
|
5
|
-
<!--div>serviceUrl: <b>{{this.serviceUrl}}</b></div-->
|
|
6
|
-
<div>externalServiceName: <b>{{this.externalServiceConfig.externalServiceName}}</b></div>
|
|
7
|
-
<div>makeConfigurable: <b>{{this.externalServiceConfig.makeConfigurable}}</b></div>
|
|
8
|
-
<div>externalServiceId: <b>{{this.externalServiceConfig.externalServiceId}}</b></div>
|
|
9
|
-
<div>externalServiceEmbedType: <b>{{this.externalServiceConfig.externalServiceEmbedType}}</b></div>
|
|
10
|
-
<div>embedAsIFrame: <b>{{this.externalServiceConfig.embedAsIFrame}}</b></div>
|
|
11
|
-
<div>fixedHeight: <b>{{this.fixedHeight}}</b></div>
|
|
12
|
-
<div>aspectRatio: <b>{{this.aspectRatio}}</b></div>
|
|
13
|
-
<div>setResponsiveIframe: <b>{{this.setResponsiveIframe}}</b></div>
|
|
14
|
-
<div>setTimedReloadIframe: <b>{{this.setTimedReloadIframe}}</b></div>
|
|
15
|
-
<div>setTimeForReload: <b>{{this.setTimeForReload}}</b></div>
|
|
16
|
-
<div>externalServiceCaption: <b>{{this.externalServiceCaption}}</b></div>
|
|
17
|
-
|
|
18
|
-
{{> components/externalService/externalservice }}
|
|
1
|
+
{{#with this.toModel.externalService}}
|
|
19
2
|
|
|
20
|
-
{{/
|
|
3
|
+
{{> components/externalService/external_service }}
|
|
21
4
|
|
|
22
|
-
{{
|
|
23
|
-
{{#with this.toModel.externalService}}
|
|
24
|
-
{{#if this.externalServiceConfig.makeConfigurable}}
|
|
25
|
-
{{~> modules/externalService/externalService~}}
|
|
26
|
-
{{else}}
|
|
27
|
-
{{#if this.externalServiceConfig.embedAsIFrame}}
|
|
28
|
-
{{#if this.fixedHeight}}
|
|
29
|
-
{{#if this.serviceUrl}}
|
|
30
|
-
<div class="copytext__externalService">
|
|
31
|
-
{{~> base/a11y/hiddenText _locaTag="story_externalservice_intro_sr" ~}}
|
|
32
|
-
<div class="copytext__scrollWrapper -fixedHeight"
|
|
33
|
-
style="height:{{this.fixedHeight}}px;">
|
|
34
|
-
<iframe frameborder="0" width="100%" height="100%"
|
|
35
|
-
src="{{{this.serviceUrl}}}" webkitallowfullscreen mozallowfullscreen
|
|
36
|
-
allowfullscreen scrolling='no'></iframe>
|
|
37
|
-
</div>
|
|
38
|
-
{{~> base/a11y/hiddenText _locaTag="story_externalservice_outro_sr" ~}}
|
|
39
|
-
{{#with this.externalServiceCaption}}
|
|
40
|
-
<div class="copytext__captionLine">
|
|
41
|
-
<span class="figcaption">{{this}}</span>
|
|
42
|
-
</div>
|
|
43
|
-
{{/with}}
|
|
44
|
-
</div>
|
|
45
|
-
{{/if}}
|
|
46
|
-
{{else}}
|
|
47
|
-
{{#if this.serviceUrl}}
|
|
48
|
-
<div class="copytext__externalService">
|
|
49
|
-
{{~> base/a11y/hiddenText _locaTag="story_externalservice_intro_sr" ~}}
|
|
50
|
-
<div class="copytext__scrollWrapper">
|
|
51
|
-
<div class="ar--{{defaultIfEmpty this.aspectRatio "auto"}}">
|
|
52
|
-
<iframe frameborder="0" class="ar__content" width="100%" height="100%"
|
|
53
|
-
src="{{{this.serviceUrl}}}" webkitallowfullscreen
|
|
54
|
-
mozallowfullscreen allowfullscreen></iframe>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
{{#with this.externalServiceCaption}}
|
|
58
|
-
<div class="copytext__captionLine">
|
|
59
|
-
<span class="figcaption">{{this}}</span>
|
|
60
|
-
</div>
|
|
61
|
-
{{/with}}
|
|
62
|
-
{{~> base/a11y/hiddenText _locaTag="story_externalservice_outro_sr" ~}}
|
|
63
|
-
</div>
|
|
64
|
-
{{/if}}
|
|
65
|
-
{{/if}}
|
|
66
|
-
{{else}}
|
|
67
|
-
<div class="copytext__externalService">
|
|
68
|
-
<div class="c-externalService__{{this.externalServiceConfig.externalServiceId}} js-load"
|
|
69
|
-
data-hr-external-service='{"id":"{{this.externalServiceConfig.externalServiceId}}","embedCode":"{{this.serviceUrl}}", "embedType": "{{this.externalServiceConfig.externalServiceEmbedType}}", "dataPolicyCheck": false, "iFrameConfig":{}}'>
|
|
70
|
-
</div>
|
|
71
|
-
{{#with this.externalServiceCaption}}
|
|
72
|
-
<div class="copytext__captionLine js-externalservice__caption">
|
|
73
|
-
<span class="figcaption">{{this}}</span>
|
|
74
|
-
</div>
|
|
75
|
-
{{/with}}
|
|
76
|
-
</div>
|
|
77
|
-
{{/if}}
|
|
78
|
-
{{/if}}
|
|
79
|
-
{{/with}}
|
|
80
|
-
{{~/if~}}
|
|
5
|
+
{{/with}}
|
|
@@ -127,4 +127,13 @@
|
|
|
127
127
|
{{> components/content/copytext/components/jobposting }}
|
|
128
128
|
{{/if}}
|
|
129
129
|
{{/each}}
|
|
130
|
-
</div>
|
|
130
|
+
</div>
|
|
131
|
+
{{! Globaler Einstellungsbutton; nur für Copytext/Externe Dienste Story;
|
|
132
|
+
damit der Einstellungsdialog aufgerufen werden kann }}
|
|
133
|
+
{{~#if (isStorybook)~}}
|
|
134
|
+
{{#with @root.dataPolicy}}
|
|
135
|
+
<div class="p-4 bg-footer-bg mt-14">
|
|
136
|
+
{{~> components/dataPolicySettings/data_policy_settings ~}}
|
|
137
|
+
</div>
|
|
138
|
+
{{/with}}
|
|
139
|
+
{{~/if~}}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
<div id="service--{{nextRandom}}" class="p-10 sm:mx-0
|
|
1
|
+
<div id="service--{{nextRandom}}" class="grid col-span-12 p-10 sm:mx-0 bg-highlight-1 rounded-tl-hr rounded-br-hr js-datapolicy">
|
|
2
2
|
<h3 class="text-2xl font-headingSerif">
|
|
3
3
|
{{loca "ext_service_datapolicy_headline" this.externalServiceConfig.externalServiceName}}
|
|
4
4
|
</h3>
|
|
5
5
|
<div class="">
|
|
6
6
|
<p class="pt-4 text-base font-copy">
|
|
7
7
|
{{loca "ext_service_datapolicy_text" this.externalServiceConfig.externalServiceName}}
|
|
8
|
-
{{~> components/externalService/data_policy_link ~}}
|
|
8
|
+
{{~> components/externalService/components/data_policy_link ~}}
|
|
9
9
|
</p>
|
|
10
10
|
<div class="pt-4">
|
|
11
|
-
{{~> components/externalService/external_service_form_checkbox ~}}
|
|
11
|
+
{{~> components/externalService/components/external_service_form_checkbox ~}}
|
|
12
12
|
</div>
|
|
13
|
-
<div class="pt-4
|
|
13
|
+
<div class="float-right pt-4">
|
|
14
14
|
{{#with this}}
|
|
15
15
|
<div class="inline-flex">
|
|
16
|
-
{{~> components/externalService/external_service_settings_button ~}}
|
|
16
|
+
{{~> components/externalService/components/external_service_settings_button ~}}
|
|
17
17
|
{{#*inline "htmlProperties"}}
|
|
18
18
|
data-piano-tracking='{"label":"DSGVO-Overlay"}'
|
|
19
19
|
data-a11y-dialog-show="datapolicy-settings-dialog"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
</div>
|
|
22
22
|
{{/with}}
|
|
23
23
|
<div class="inline-flex">
|
|
24
|
-
{{~> components/externalService/external_service_load_content_button ~}}
|
|
24
|
+
{{~> components/externalService/components/external_service_load_content_button ~}}
|
|
25
25
|
{{#*inline "htmlProperties"}}{{/inline}}
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<fieldset>
|
|
2
2
|
<div class="mt-6 space-y-6">
|
|
3
3
|
<div class="relative flex gap-x-3">
|
|
4
|
-
<div class="flex h-6
|
|
4
|
+
<div class="flex items-center h-6">
|
|
5
5
|
<input id="dataPolicyAcceptPermanently-{{getRandom}}" name="dataPolicyAcceptPermanently"
|
|
6
6
|
title="Externe Inhalte von {{this.externalServiceConfig.externalServiceName}} zukünftig immer laden."
|
|
7
7
|
placeholder="Externe Inhalte von {{this.externalServiceConfig.externalServiceName}} zukünftig immer laden."
|
|
8
|
-
value="0" required="" type="checkbox" class="
|
|
8
|
+
value="0" required="" type="checkbox" class="w-6 h-6 rounded js-dataPolicy-acceptPermanentely border-gray text-indigo focus:ring-indigo">
|
|
9
9
|
</div>
|
|
10
10
|
<div class="text-sm leading-6">
|
|
11
11
|
<label for="dataPolicyAcceptPermanently-{{getRandom}}" class="text-base font-copy">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{{#> components/button/button _size="md" _variant="primary" _css="" _type="
|
|
2
|
-
{{> components/button/components/button_label _label="Inhalte anzeigen"}}
|
|
1
|
+
{{#> components/button/button _size="md" _variant="primary" _css="js-dataPolicy-accept" _type="submit"}}
|
|
3
2
|
{{> components/button/components/button_icon _icon="reload" _iconmap="icons"}}
|
|
3
|
+
{{> components/button/components/button_label _label="Inhalte anzeigen"}}
|
|
4
4
|
{{/components/button/button}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{#> components/button/button _size="md" _variant="tertiary" _css="" _type="button"}}
|
|
2
|
-
{{> components/button/components/button_label _label="Einstellungen"}}
|
|
3
2
|
{{> components/button/components/button_icon _icon="settings" _iconmap="icons"}}
|
|
3
|
+
{{> components/button/components/button_label _label="Einstellungen"}}
|
|
4
4
|
{{/components/button/button}}
|
|
5
5
|
{{#*inline "htmlProperties"}}
|
|
6
6
|
data-piano-tracking='{"label":"","secondLevelId":}'
|
|
@@ -1,17 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
{{#if this.externalServiceConfig.makeConfigurable}}
|
|
2
|
+
|
|
3
|
+
{{> components/externalService/external_service_with_datapolicy_check }}
|
|
4
|
+
|
|
5
|
+
{{else}}
|
|
6
|
+
|
|
7
|
+
{{#if this.serviceUrl}}
|
|
8
|
+
<div class="clear-both mt-10">
|
|
9
|
+
<span class="sr-only">{{loca "story_externalservice_intro_sr" }}</span>
|
|
10
|
+
{{#if this.externalServiceConfig.embedAsIFrame}}
|
|
11
|
+
|
|
12
|
+
<div class="{{#if this.fixedHeight}}overflow-y-hidden{{else}}overflow-hidden{{/if}}" {{#if this.fixedHeight}}style="height:{{this.fixedHeight}}px;"{{/if}}>
|
|
13
|
+
{{#unless this.fixedHeight}}<div class="{{~inline-switch this.aspectRatio '["16x9","16x7","4x3","100x27","100","9x16","7x16"]' '["ar-16-9","ar-16-7","ar-4-3","ar-100-27","ar-1-1","ar-9-16","ar-7-16","ar-16-9"]'~}}">{{/unless}}
|
|
14
|
+
<iframe frameborder="0" width="100%" height="100%"
|
|
15
|
+
src="{{{this.serviceUrl}}}" webkitallowfullscreen mozallowfullscreen
|
|
16
|
+
allowfullscreen scrolling='no'>
|
|
17
|
+
</iframe>
|
|
18
|
+
{{#unless this.fixedHeight}}</div>{{/unless}}
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
{{else}}
|
|
22
|
+
|
|
23
|
+
<div class="c-externalService__{{this.externalServiceConfig.externalServiceId}} js-load"
|
|
24
|
+
data-hr-external-service-ds='{"id":"{{this.externalServiceConfig.externalServiceId}}","embedCode":"{{this.serviceUrl}}", "embedType": "{{this.externalServiceConfig.externalServiceEmbedType}}", "dataPolicyCheck": false, "iFrameConfig":{}}'>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
{{/if}}
|
|
28
|
+
|
|
29
|
+
{{~> components/externalService/components/external_service_caption ~}}
|
|
30
|
+
|
|
31
|
+
<span class="sr-only">{{loca "story_externalservice_outro_sr" }}</span>
|
|
8
32
|
</div>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<div class="float-right">
|
|
13
|
-
{{~> components/externalService/external_service_settings_button ~}}
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
{{~> components/dataPolicySettings/data_policy_settings ~}}
|
|
33
|
+
{{/if}}
|
|
34
|
+
|
|
35
|
+
{{/if}}
|
package/dist/views_static/components/externalService/external_service_with_datapolicy_check.hbs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<div class="grid clear-both mt-10">
|
|
2
|
+
{{~> components/base/a11y/hiddenText _locaTag="story_externalservice_intro_sr" ~}}
|
|
3
|
+
<div class="c-externalService c-externalService__{{this.externalServiceConfig.externalServiceId}} js-load"
|
|
4
|
+
data-hr-external-service-ds='{"id":"{{this.externalServiceConfig.externalServiceId}}","embedCode":"{{this.serviceUrl}}", "embedType": "{{this.externalServiceConfig.externalServiceEmbedType}}", "dataPolicyCheck": true,"iFrameConfig": {"heightClass":"ar_iframe"{{#if
|
|
5
|
+
this.fixedHeight}},"fixedHeight":"{{this.fixedHeight}}", "fixedHeightClass":"-fixedHeight"{{else}},{{#if
|
|
6
|
+
this.aspectRatio}}"aspectRatio":"{{this.aspectRatio}}"{{else}}"aspectRatio":"16x9"{{/if}}{{/if}},"noResponsiveIframe":"{{{this.setResponsiveIframe}}}","refreshContent":"{{{this.setTimedReloadIframe}}}","refreshIntervall":"{{this.setTimeForReload}}"}}'>
|
|
7
|
+
{{~> components/externalService/components/external_service_data_policy ~}}
|
|
8
|
+
</div>
|
|
9
|
+
{{~> components/externalService/components/external_service_caption ~}}
|
|
10
|
+
{{~> components/base/a11y/hiddenText _locaTag="story_externalservice_outro_sr" ~}}
|
|
11
|
+
<div class="hidden js-content-settings-button">
|
|
12
|
+
<div class="float-right">
|
|
13
|
+
{{~> components/externalService/components/external_service_settings_button ~}}
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
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.
|
|
9
|
+
"version": "1.63.0",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -25,89 +25,123 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
.ar-16-9
|
|
28
|
+
.ar-16-9 {
|
|
29
29
|
aspect-ratio: 16 / 9;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
@supports not (aspect-ratio: 16 / 9) {
|
|
33
|
-
.ar-16-9::before
|
|
33
|
+
.ar-16-9::before {
|
|
34
34
|
float: left;
|
|
35
35
|
padding-top: calc(9 / 16 * 100%);
|
|
36
36
|
content: '';
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.ar-16-9::after
|
|
39
|
+
.ar-16-9::after {
|
|
40
40
|
display: block;
|
|
41
41
|
content: '';
|
|
42
42
|
clear: both;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.ar-16-7
|
|
46
|
+
.ar-16-7 {
|
|
47
47
|
aspect-ratio: 16 / 7;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
@supports not (aspect-ratio: 16 / 7) {
|
|
51
|
-
.ar-16-7::before
|
|
51
|
+
.ar-16-7::before {
|
|
52
52
|
float: left;
|
|
53
53
|
padding-top: calc(7 / 16 * 100%);
|
|
54
54
|
content: '';
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.ar-16-7::after
|
|
57
|
+
.ar-16-7::after {
|
|
58
58
|
display: block;
|
|
59
59
|
content: '';
|
|
60
60
|
clear: both;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.ar-4-3
|
|
64
|
+
.ar-4-3 {
|
|
65
65
|
aspect-ratio: 4 / 3;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
@supports not (aspect-ratio: 4 / 3) {
|
|
69
|
-
.ar-4-3::before
|
|
69
|
+
.ar-4-3::before {
|
|
70
70
|
float: left;
|
|
71
71
|
padding-top: calc(3 / 4 * 100%);
|
|
72
72
|
content: '';
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.ar-4-3::after
|
|
75
|
+
.ar-4-3::after {
|
|
76
76
|
display: block;
|
|
77
77
|
content: '';
|
|
78
78
|
clear: both;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.ar-1-1
|
|
82
|
+
.ar-1-1 {
|
|
83
83
|
aspect-ratio: 1 / 1;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
@supports not (aspect-ratio: 1 / 1) {
|
|
87
|
-
.ar-1-1::before
|
|
87
|
+
.ar-1-1::before {
|
|
88
88
|
float: left;
|
|
89
89
|
padding-top: 100%;
|
|
90
90
|
content: '';
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.ar-1-1::after
|
|
93
|
+
.ar-1-1::after {
|
|
94
94
|
display: block;
|
|
95
95
|
content: '';
|
|
96
96
|
clear: both;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
.ar-100-27
|
|
99
|
+
.ar-100-27 {
|
|
100
100
|
aspect-ratio: 100 / 27.1;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@supports not (aspect-ratio: 100 / 27.1) {
|
|
104
|
-
.ar-100-27::before
|
|
104
|
+
.ar-100-27::before {
|
|
105
105
|
float: left;
|
|
106
106
|
padding-top: calc(27.1 / 100 * 100%);
|
|
107
107
|
content: '';
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.ar-100-27::after
|
|
110
|
+
.ar-100-27::after {
|
|
111
|
+
display: block;
|
|
112
|
+
content: '';
|
|
113
|
+
clear: both;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.ar-9-16 {
|
|
118
|
+
aspect-ratio: 9 / 16;
|
|
119
|
+
}
|
|
120
|
+
@supports not (aspect-ratio: 9 / 16) {
|
|
121
|
+
.ar-9-16::before {
|
|
122
|
+
float: left;
|
|
123
|
+
padding-top: calc(16 / 9 * 100%);
|
|
124
|
+
content: '';
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.ar-9-16::after {
|
|
128
|
+
display: block;
|
|
129
|
+
content: '';
|
|
130
|
+
clear: both;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.ar-7-16 {
|
|
135
|
+
aspect-ratio: 7 / 16;
|
|
136
|
+
}
|
|
137
|
+
@supports not (aspect-ratio: 7 / 16) {
|
|
138
|
+
.ar-7-16::before {
|
|
139
|
+
float: left;
|
|
140
|
+
padding-top: calc(16 / 7 * 100%);
|
|
141
|
+
content: '';
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.ar-7-16::after {
|
|
111
145
|
display: block;
|
|
112
146
|
content: '';
|
|
113
147
|
clear: both;
|
|
@@ -274,5 +274,48 @@
|
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
]
|
|
277
|
+
],
|
|
278
|
+
"dataPolicy": {
|
|
279
|
+
"serviceList" :[
|
|
280
|
+
{ "key" : "ard_mediathek",
|
|
281
|
+
"value" : "ARD Mediathek (Video)"
|
|
282
|
+
},
|
|
283
|
+
{ "key" : "arte_concert",
|
|
284
|
+
"value" : "Arte Concert"
|
|
285
|
+
},
|
|
286
|
+
{ "key" : "arte_concert_new",
|
|
287
|
+
"value" : "Arte Concert 2.0"
|
|
288
|
+
},
|
|
289
|
+
{ "key" : "datawrapper_cdn",
|
|
290
|
+
"value" : "Datawrapper (Datengrafik)"
|
|
291
|
+
},
|
|
292
|
+
{ "key" : "esri",
|
|
293
|
+
"value" : "Esri (Notfallkarte)"
|
|
294
|
+
},
|
|
295
|
+
{ "key" : "facebook-post",
|
|
296
|
+
"value" : "Facebook"
|
|
297
|
+
},
|
|
298
|
+
{ "key" : "flourish",
|
|
299
|
+
"value" : "Flourish (Datengrafik)"
|
|
300
|
+
},
|
|
301
|
+
{ "key" : "giphy",
|
|
302
|
+
"value" : "Giphy (animiertes GIF)"
|
|
303
|
+
},
|
|
304
|
+
{ "key" : "instagram",
|
|
305
|
+
"value" : "Instagram"
|
|
306
|
+
},
|
|
307
|
+
{ "key" : "twitter-post",
|
|
308
|
+
"value" : "Twitter"
|
|
309
|
+
},
|
|
310
|
+
{ "key" : "vimeo",
|
|
311
|
+
"value" : "Vimeo (Video)"
|
|
312
|
+
},
|
|
313
|
+
{ "key" : "youtube",
|
|
314
|
+
"value" : "YouTube (Video)"
|
|
315
|
+
},
|
|
316
|
+
{ "key" : "youtube360",
|
|
317
|
+
"value" : "YouTube 360 (360° Video)"
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
}
|
|
278
321
|
}
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"externalServiceEmbedType": "js",
|
|
93
93
|
"externalServiceName": "Facebook"
|
|
94
94
|
},
|
|
95
|
-
"serviceUrl": "https://www.facebook.com/
|
|
95
|
+
"serviceUrl": "https://www.facebook.com/ZooFFM/posts/1926440010874354",
|
|
96
96
|
"setResponsiveIframe": false,
|
|
97
97
|
"setTimedReloadIframe": false,
|
|
98
98
|
"setTimeForReload": ""
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"externalServiceEmbedType": "js",
|
|
133
133
|
"externalServiceName": "Instagram"
|
|
134
134
|
},
|
|
135
|
-
"serviceUrl": "https://www.instagram.com/p/
|
|
135
|
+
"serviceUrl": "https://www.instagram.com/p/CEjxNt8lW4K/",
|
|
136
136
|
"setResponsiveIframe": false,
|
|
137
137
|
"setTimedReloadIframe": false,
|
|
138
138
|
"setTimeForReload": ""
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"externalServiceEmbedType": "js",
|
|
146
146
|
"externalServiceName": "X"
|
|
147
147
|
},
|
|
148
|
-
"serviceUrl": "https://
|
|
148
|
+
"serviceUrl": "https://twitter.com/tagesthemen/status/1578122540362465299",
|
|
149
149
|
"setResponsiveIframe": false,
|
|
150
150
|
"setTimedReloadIframe": false,
|
|
151
151
|
"setTimeForReload": ""
|
|
@@ -1,80 +1,5 @@
|
|
|
1
|
-
{{
|
|
2
|
-
|
|
3
|
-
{{#with this.toModel.externalService}}
|
|
4
|
-
|
|
5
|
-
<!--div>serviceUrl: <b>{{this.serviceUrl}}</b></div-->
|
|
6
|
-
<div>externalServiceName: <b>{{this.externalServiceConfig.externalServiceName}}</b></div>
|
|
7
|
-
<div>makeConfigurable: <b>{{this.externalServiceConfig.makeConfigurable}}</b></div>
|
|
8
|
-
<div>externalServiceId: <b>{{this.externalServiceConfig.externalServiceId}}</b></div>
|
|
9
|
-
<div>externalServiceEmbedType: <b>{{this.externalServiceConfig.externalServiceEmbedType}}</b></div>
|
|
10
|
-
<div>embedAsIFrame: <b>{{this.externalServiceConfig.embedAsIFrame}}</b></div>
|
|
11
|
-
<div>fixedHeight: <b>{{this.fixedHeight}}</b></div>
|
|
12
|
-
<div>aspectRatio: <b>{{this.aspectRatio}}</b></div>
|
|
13
|
-
<div>setResponsiveIframe: <b>{{this.setResponsiveIframe}}</b></div>
|
|
14
|
-
<div>setTimedReloadIframe: <b>{{this.setTimedReloadIframe}}</b></div>
|
|
15
|
-
<div>setTimeForReload: <b>{{this.setTimeForReload}}</b></div>
|
|
16
|
-
<div>externalServiceCaption: <b>{{this.externalServiceCaption}}</b></div>
|
|
17
|
-
|
|
18
|
-
{{> components/externalService/externalservice }}
|
|
1
|
+
{{#with this.toModel.externalService}}
|
|
19
2
|
|
|
20
|
-
{{/
|
|
3
|
+
{{> components/externalService/external_service }}
|
|
21
4
|
|
|
22
|
-
{{
|
|
23
|
-
{{#with this.toModel.externalService}}
|
|
24
|
-
{{#if this.externalServiceConfig.makeConfigurable}}
|
|
25
|
-
{{~> modules/externalService/externalService~}}
|
|
26
|
-
{{else}}
|
|
27
|
-
{{#if this.externalServiceConfig.embedAsIFrame}}
|
|
28
|
-
{{#if this.fixedHeight}}
|
|
29
|
-
{{#if this.serviceUrl}}
|
|
30
|
-
<div class="copytext__externalService">
|
|
31
|
-
{{~> base/a11y/hiddenText _locaTag="story_externalservice_intro_sr" ~}}
|
|
32
|
-
<div class="copytext__scrollWrapper -fixedHeight"
|
|
33
|
-
style="height:{{this.fixedHeight}}px;">
|
|
34
|
-
<iframe frameborder="0" width="100%" height="100%"
|
|
35
|
-
src="{{{this.serviceUrl}}}" webkitallowfullscreen mozallowfullscreen
|
|
36
|
-
allowfullscreen scrolling='no'></iframe>
|
|
37
|
-
</div>
|
|
38
|
-
{{~> base/a11y/hiddenText _locaTag="story_externalservice_outro_sr" ~}}
|
|
39
|
-
{{#with this.externalServiceCaption}}
|
|
40
|
-
<div class="copytext__captionLine">
|
|
41
|
-
<span class="figcaption">{{this}}</span>
|
|
42
|
-
</div>
|
|
43
|
-
{{/with}}
|
|
44
|
-
</div>
|
|
45
|
-
{{/if}}
|
|
46
|
-
{{else}}
|
|
47
|
-
{{#if this.serviceUrl}}
|
|
48
|
-
<div class="copytext__externalService">
|
|
49
|
-
{{~> base/a11y/hiddenText _locaTag="story_externalservice_intro_sr" ~}}
|
|
50
|
-
<div class="copytext__scrollWrapper">
|
|
51
|
-
<div class="ar--{{defaultIfEmpty this.aspectRatio "auto"}}">
|
|
52
|
-
<iframe frameborder="0" class="ar__content" width="100%" height="100%"
|
|
53
|
-
src="{{{this.serviceUrl}}}" webkitallowfullscreen
|
|
54
|
-
mozallowfullscreen allowfullscreen></iframe>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
{{#with this.externalServiceCaption}}
|
|
58
|
-
<div class="copytext__captionLine">
|
|
59
|
-
<span class="figcaption">{{this}}</span>
|
|
60
|
-
</div>
|
|
61
|
-
{{/with}}
|
|
62
|
-
{{~> base/a11y/hiddenText _locaTag="story_externalservice_outro_sr" ~}}
|
|
63
|
-
</div>
|
|
64
|
-
{{/if}}
|
|
65
|
-
{{/if}}
|
|
66
|
-
{{else}}
|
|
67
|
-
<div class="copytext__externalService">
|
|
68
|
-
<div class="c-externalService__{{this.externalServiceConfig.externalServiceId}} js-load"
|
|
69
|
-
data-hr-external-service='{"id":"{{this.externalServiceConfig.externalServiceId}}","embedCode":"{{this.serviceUrl}}", "embedType": "{{this.externalServiceConfig.externalServiceEmbedType}}", "dataPolicyCheck": false, "iFrameConfig":{}}'>
|
|
70
|
-
</div>
|
|
71
|
-
{{#with this.externalServiceCaption}}
|
|
72
|
-
<div class="copytext__captionLine js-externalservice__caption">
|
|
73
|
-
<span class="figcaption">{{this}}</span>
|
|
74
|
-
</div>
|
|
75
|
-
{{/with}}
|
|
76
|
-
</div>
|
|
77
|
-
{{/if}}
|
|
78
|
-
{{/if}}
|
|
79
|
-
{{/with}}
|
|
80
|
-
{{~/if~}}
|
|
5
|
+
{{/with}}
|
|
@@ -127,4 +127,13 @@
|
|
|
127
127
|
{{> components/content/copytext/components/jobposting }}
|
|
128
128
|
{{/if}}
|
|
129
129
|
{{/each}}
|
|
130
|
-
</div>
|
|
130
|
+
</div>
|
|
131
|
+
{{! Globaler Einstellungsbutton; nur für Copytext/Externe Dienste Story;
|
|
132
|
+
damit der Einstellungsdialog aufgerufen werden kann }}
|
|
133
|
+
{{~#if (isStorybook)~}}
|
|
134
|
+
{{#with @root.dataPolicy}}
|
|
135
|
+
<div class="p-4 bg-footer-bg mt-14">
|
|
136
|
+
{{~> components/dataPolicySettings/data_policy_settings ~}}
|
|
137
|
+
</div>
|
|
138
|
+
{{/with}}
|
|
139
|
+
{{~/if~}}
|