hr-design-system-handlebars 1.59.24 → 1.59.25

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 CHANGED
@@ -1,3 +1,15 @@
1
+ # v1.59.25 (Thu Mar 07 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - add json for external services [#877](https://github.com/mumprod/hr-design-system-handlebars/pull/877) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
1
13
  # v1.59.24 (Wed Mar 06 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -3316,7 +3316,7 @@ article.indexTextDS .indexTextHighlighted .link {
3316
3316
  border-bottom-color: var(--color-secondary-ds);
3317
3317
  }
3318
3318
  .counter-reset {
3319
- counter-reset: cnt1709723830125;
3319
+ counter-reset: cnt1709846203956;
3320
3320
  }
3321
3321
  .hyphens-auto {
3322
3322
  -webkit-hyphens: auto;
@@ -3622,7 +3622,7 @@ article.indexTextDS .indexTextHighlighted .link {
3622
3622
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3623
3623
  }
3624
3624
  .-ordered {
3625
- counter-increment: cnt1709723830125 1;
3625
+ counter-increment: cnt1709846203956 1;
3626
3626
  }
3627
3627
  .-ordered::before {
3628
3628
  position: absolute;
@@ -3638,7 +3638,7 @@ article.indexTextDS .indexTextHighlighted .link {
3638
3638
  letter-spacing: .0125em;
3639
3639
  --tw-text-opacity: 1;
3640
3640
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3641
- content: counter(cnt1709723830125);
3641
+ content: counter(cnt1709846203956);
3642
3642
  }
3643
3643
  /*! ****************************/
3644
3644
  /*! DataPolicy stuff */
@@ -1,5 +1,22 @@
1
1
  {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: External-service-component</div>
2
+
3
+ {{#with this.toModel.externalService}}
4
+
5
+ <div>this.externalServiceConfig.makeConfigurable: <b>{{this.externalServiceConfig.makeConfigurable}}</b></div>
6
+ <!--div>this.ServiceUrl: <b>{{this.ServiceUrl}}</b></div-->
7
+ <div>this.externalServiceConfig.externalServiceId: <b>{{this.externalServiceConfig.externalServiceId}}</b></div>
8
+ <div>this.externalServiceConfig.externalServiceEmbedType: <b>{{this.externalServiceConfig.externalServiceEmbedType}}</b></div>
9
+ <div>this.fixedHeight: <b>{{this.fixedHeight}}</b></div>
10
+ <div>this.aspectRatio: <b>{{this.aspectRatio}}</b></div>
11
+ <div>this.setResponsiveIframe: <b>{{this.setResponsiveIframe}}</b></div>
12
+ <div>this.setTimedReloadIframe: <b>{{this.setTimedReloadIframe}}</b></div>
13
+ <div>this.setTimeForReload: <b>{{this.setTimeForReload}}</b></div>
14
+ <div>this.externalServiceCaption: <b>{{this.externalServiceCaption}}</b></div>
15
+ <div>this.externalServiceConfig.externalServiceName: <b>{{this.externalServiceConfig.externalServiceName}}</b></div>
16
+ <div>this.externalServiceConfig.embedAsIFrame: <b>{{this.externalServiceConfig.embedAsIFrame}}</b></div>
17
+
18
+ {{/with}}
19
+
3
20
  {{~else~}}
4
21
  {{#with this.toModel.externalService}}
5
22
  {{#if this.externalServiceConfig.makeConfigurable}}
@@ -1,5 +1,22 @@
1
1
  {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: External-service-component</div>
2
+
3
+ {{#with this.toModel.externalService}}
4
+
5
+ <div>this.externalServiceConfig.makeConfigurable: <b>{{this.externalServiceConfig.makeConfigurable}}</b></div>
6
+ <!--div>this.ServiceUrl: <b>{{this.ServiceUrl}}</b></div-->
7
+ <div>this.externalServiceConfig.externalServiceId: <b>{{this.externalServiceConfig.externalServiceId}}</b></div>
8
+ <div>this.externalServiceConfig.externalServiceEmbedType: <b>{{this.externalServiceConfig.externalServiceEmbedType}}</b></div>
9
+ <div>this.fixedHeight: <b>{{this.fixedHeight}}</b></div>
10
+ <div>this.aspectRatio: <b>{{this.aspectRatio}}</b></div>
11
+ <div>this.setResponsiveIframe: <b>{{this.setResponsiveIframe}}</b></div>
12
+ <div>this.setTimedReloadIframe: <b>{{this.setTimedReloadIframe}}</b></div>
13
+ <div>this.setTimeForReload: <b>{{this.setTimeForReload}}</b></div>
14
+ <div>this.externalServiceCaption: <b>{{this.externalServiceCaption}}</b></div>
15
+ <div>this.externalServiceConfig.externalServiceName: <b>{{this.externalServiceConfig.externalServiceName}}</b></div>
16
+ <div>this.externalServiceConfig.embedAsIFrame: <b>{{this.externalServiceConfig.embedAsIFrame}}</b></div>
17
+
18
+ {{/with}}
19
+
3
20
  {{~else~}}
4
21
  {{#with this.toModel.externalService}}
5
22
  {{#if this.externalServiceConfig.makeConfigurable}}
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.59.24",
9
+ "version": "1.59.25",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -0,0 +1,278 @@
1
+ {
2
+ "copytextParagraph": [
3
+ {
4
+ "isHeadline": true,
5
+ "text": "Copytext mit externen Diensten"
6
+ },
7
+ {
8
+ "isHeadline": true,
9
+ "text": "360Grad"
10
+ },
11
+ {
12
+ "paragraphBoxItem": {
13
+ "isExternalService": true,
14
+ "toModel": {
15
+ "externalService": {
16
+ "@->jsoninclude": "external_service/external_service.inc.json",
17
+ "@->contentpath": "360Grad"
18
+ }
19
+ }
20
+ }
21
+ },
22
+ {
23
+ "isHeadline": true,
24
+ "text": "ARD-Mediathek (Video)"
25
+ },
26
+ {
27
+ "paragraphBoxItem": {
28
+ "isExternalService": true,
29
+ "toModel": {
30
+ "externalService": {
31
+ "@->jsoninclude": "external_service/external_service.inc.json",
32
+ "@->contentpath": "ARD_Mediathek_Video"
33
+ }
34
+ }
35
+ }
36
+ },
37
+ {
38
+ "isHeadline": true,
39
+ "text": "ARTE Concert 2.0"
40
+ },
41
+ {
42
+ "paragraphBoxItem": {
43
+ "isExternalService": true,
44
+ "toModel": {
45
+ "externalService": {
46
+ "@->jsoninclude": "external_service/external_service.inc.json",
47
+ "@->contentpath": "ARTE_concert_new"
48
+ }
49
+ }
50
+ }
51
+ },
52
+ {
53
+ "isHeadline": true,
54
+ "text": "Bundesliga Audiostream"
55
+ },
56
+ {
57
+ "paragraphBoxItem": {
58
+ "isExternalService": true,
59
+ "toModel": {
60
+ "externalService": {
61
+ "@->jsoninclude": "external_service/external_service.inc.json",
62
+ "@->contentpath": "Bundesliga_Audiostream"
63
+ }
64
+ }
65
+ }
66
+ },
67
+ {
68
+ "isHeadline": true,
69
+ "text": "Datawrapper CDN"
70
+ },
71
+ {
72
+ "paragraphBoxItem": {
73
+ "isExternalService": true,
74
+ "toModel": {
75
+ "externalService": {
76
+ "@->jsoninclude": "external_service/external_service.inc.json",
77
+ "@->contentpath": "Datawrapper_CDN"
78
+ }
79
+ }
80
+ }
81
+ },
82
+ {
83
+ "isHeadline": true,
84
+ "text": "Esri Karte"
85
+ },
86
+ {
87
+ "paragraphBoxItem": {
88
+ "isExternalService": true,
89
+ "toModel": {
90
+ "externalService": {
91
+ "@->jsoninclude": "external_service/external_service.inc.json",
92
+ "@->contentpath": "Esri"
93
+ }
94
+ }
95
+ }
96
+ },
97
+ {
98
+ "isHeadline": true,
99
+ "text": "Facebook"
100
+ },
101
+ {
102
+ "paragraphBoxItem": {
103
+ "isExternalService": true,
104
+ "toModel": {
105
+ "externalService": {
106
+ "@->jsoninclude": "external_service/external_service.inc.json",
107
+ "@->contentpath": "Facebook"
108
+ }
109
+ }
110
+ }
111
+ },
112
+ {
113
+ "isHeadline": true,
114
+ "text": "Flourish"
115
+ },
116
+ {
117
+ "paragraphBoxItem": {
118
+ "isExternalService": true,
119
+ "toModel": {
120
+ "externalService": {
121
+ "@->jsoninclude": "external_service/external_service.inc.json",
122
+ "@->contentpath": "Flourish"
123
+ }
124
+ }
125
+ }
126
+ },
127
+ {
128
+ "isHeadline": true,
129
+ "text": "Giphy"
130
+ },
131
+ {
132
+ "paragraphBoxItem": {
133
+ "isExternalService": true,
134
+ "toModel": {
135
+ "externalService": {
136
+ "@->jsoninclude": "external_service/external_service.inc.json",
137
+ "@->contentpath": "Giphy"
138
+ }
139
+ }
140
+ }
141
+ },
142
+ {
143
+ "isHeadline": true,
144
+ "text": "Instagram"
145
+ },
146
+ {
147
+ "paragraphBoxItem": {
148
+ "isExternalService": true,
149
+ "toModel": {
150
+ "externalService": {
151
+ "@->jsoninclude": "external_service/external_service.inc.json",
152
+ "@->contentpath": "Instagram"
153
+ }
154
+ }
155
+ }
156
+ },
157
+ {
158
+ "isHeadline": true,
159
+ "text": "X"
160
+ },
161
+ {
162
+ "paragraphBoxItem": {
163
+ "isExternalService": true,
164
+ "toModel": {
165
+ "externalService": {
166
+ "@->jsoninclude": "external_service/external_service.inc.json",
167
+ "@->contentpath": "Twitter"
168
+ }
169
+ }
170
+ }
171
+ },
172
+ {
173
+ "isHeadline": true,
174
+ "text": "Vimeo"
175
+ },
176
+ {
177
+ "paragraphBoxItem": {
178
+ "isExternalService": true,
179
+ "toModel": {
180
+ "externalService": {
181
+ "@->jsoninclude": "external_service/external_service.inc.json",
182
+ "@->contentpath": "Vimeo"
183
+ }
184
+ }
185
+ }
186
+ },
187
+ {
188
+ "isHeadline": true,
189
+ "text": "Youtube"
190
+ },
191
+ {
192
+ "paragraphBoxItem": {
193
+ "isExternalService": true,
194
+ "toModel": {
195
+ "externalService": {
196
+ "@->jsoninclude": "external_service/external_service.inc.json",
197
+ "@->contentpath": "Youtube"
198
+ }
199
+ }
200
+ }
201
+ },
202
+ {
203
+ "isHeadline": true,
204
+ "text": "Youtube 360°"
205
+ },
206
+ {
207
+ "paragraphBoxItem": {
208
+ "isExternalService": true,
209
+ "toModel": {
210
+ "externalService": {
211
+ "@->jsoninclude": "external_service/external_service.inc.json",
212
+ "@->contentpath": "Youtube_360"
213
+ }
214
+ }
215
+ }
216
+ },
217
+ {
218
+ "isHeadline": true,
219
+ "text": "Statischer Dienst"
220
+ },
221
+ {
222
+ "paragraphBoxItem": {
223
+ "isExternalService": true,
224
+ "toModel": {
225
+ "externalService": {
226
+ "@->jsoninclude": "external_service/external_service.inc.json",
227
+ "@->contentpath": "Statischer_Dienst"
228
+ }
229
+ }
230
+ }
231
+ },
232
+ {
233
+ "isHeadline": true,
234
+ "text": "Wahlmonitor"
235
+ },
236
+ {
237
+ "paragraphBoxItem": {
238
+ "isExternalService": true,
239
+ "toModel": {
240
+ "externalService": {
241
+ "@->jsoninclude": "external_service/external_service.inc.json",
242
+ "@->contentpath": "Wahlmonitor"
243
+ }
244
+ }
245
+ }
246
+ },
247
+ {
248
+ "isHeadline": true,
249
+ "text": "Wahlkreiskarte"
250
+ },
251
+ {
252
+ "paragraphBoxItem": {
253
+ "isExternalService": true,
254
+ "toModel": {
255
+ "externalService": {
256
+ "@->jsoninclude": "external_service/external_service.inc.json",
257
+ "@->contentpath": "Wahlkreiskarte"
258
+ }
259
+ }
260
+ }
261
+ },
262
+ {
263
+ "isHeadline": true,
264
+ "text": "Koalitionsrechner"
265
+ },
266
+ {
267
+ "paragraphBoxItem": {
268
+ "isExternalService": true,
269
+ "toModel": {
270
+ "externalService": {
271
+ "@->jsoninclude": "external_service/external_service.inc.json",
272
+ "@->contentpath": "Koalitionsrechner"
273
+ }
274
+ }
275
+ }
276
+ }
277
+ ]
278
+ }
@@ -0,0 +1,248 @@
1
+ {
2
+ "360Grad": {
3
+ "externalServiceConfig": {
4
+ "makeConfigurable": false,
5
+ "embedAsIFrame": true,
6
+ "externalServiceId": "360grad",
7
+ "externalServiceEmbedType": "iFrame",
8
+ "externalServiceName": "360 Grad"
9
+ },
10
+ "ServiceUrl": "https://static.hr.de/hessenschau/360/tour-altstadt/360Tour-altstadt-final1.html",
11
+ "aspectRatio": "100",
12
+ "setResponsiveIframe": false,
13
+ "setTimedReloadIframe": false,
14
+ "setTimeForReload": ""
15
+ },
16
+ "ARD_Mediathek_Video": {
17
+ "externalServiceConfig": {
18
+ "makeConfigurable": true,
19
+ "embedAsIFrame": true,
20
+ "externalServiceId": "ard_mediathek",
21
+ "externalServiceEmbedType": "iFrame",
22
+ "externalServiceName": "ARD Mediathek (Video)"
23
+ },
24
+ "ServiceUrl": "https://www.ardmediathek.de/embed/Y3JpZDovL2Z1bmsubmV0LzExNzkwL3ZpZGVvLzE3NzQ2NzU?clientType=hr",
25
+ "setResponsiveIframe": false,
26
+ "setTimedReloadIframe": false,
27
+ "setTimeForReload": ""
28
+ },
29
+ "ARTE_concert_new": {
30
+ "externalServiceConfig": {
31
+ "makeConfigurable": true,
32
+ "embedAsIFrame": true,
33
+ "externalServiceId": "arte_concert_new",
34
+ "externalServiceEmbedType": "iFrame",
35
+ "externalServiceName": "Arte Concert 2.0"
36
+ },
37
+ "ServiceUrl": "https://www.arte.tv/player/v5/index.php?json_url=https%3A%2F%2Fapi.arte.tv%2Fapi%2Fplayer%2Fv2%2Fconfig%2Fde%2F116593-005-A&lang=de&autoplay=false&mute=0",
38
+ "aspectRatio": "16x9",
39
+ "setResponsiveIframe": false,
40
+ "setTimedReloadIframe": false,
41
+ "setTimeForReload": ""
42
+ },
43
+ "Bundesliga_Audiostream": {
44
+ "externalServiceConfig": {
45
+ "makeConfigurable": false,
46
+ "embedAsIFrame": true,
47
+ "externalServiceId": "bundesligaAudiostream",
48
+ "externalServiceEmbedType": "iFrame",
49
+ "externalServiceName": "Bundesliga Audiostream"
50
+ },
51
+ "ServiceUrl": "https://livecenter.sportschau.de/iframe/spielplan-kompakt/co3/md11/////",
52
+ "aspectRatio": "9x16",
53
+ "setResponsiveIframe": false,
54
+ "setTimedReloadIframe": false,
55
+ "setTimeForReload": ""
56
+ },
57
+ "Datawrapper_CDN": {
58
+ "externalServiceConfig": {
59
+ "makeConfigurable": true,
60
+ "embedAsIFrame": false,
61
+ "externalServiceId": "datawrapper_cdn",
62
+ "externalServiceEmbedType": "js",
63
+ "externalServiceName": "Datawrapper (Datengrafik)"
64
+ },
65
+ "ServiceUrl": "https://datawrapper.dwcdn.net/IC3Xn/1/",
66
+ "fixedHeight": "380",
67
+ "setResponsiveIframe": true,
68
+ "setTimedReloadIframe": false,
69
+ "setTimeForReload": ""
70
+ },
71
+ "Esri": {
72
+ "externalServiceConfig": {
73
+ "makeConfigurable": true,
74
+ "embedAsIFrame": true,
75
+ "externalServiceId": "esri",
76
+ "externalServiceEmbedType": "iFrame",
77
+ "externalServiceName": "Esri (Notfallkarte)"
78
+ },
79
+ "ServiceUrl": "https://arcg.is/1aW0au0",
80
+ "aspectRatio": "100",
81
+ "setResponsiveIframe": false,
82
+ "setTimedReloadIframe": false,
83
+ "setTimeForReload": "",
84
+ "externalServiceCaption": "Notfallkarte"
85
+ },
86
+ "Facebook": {
87
+ "externalServiceConfig": {
88
+ "makeConfigurable": true,
89
+ "embedAsIFrame": false,
90
+ "externalServiceId": "facebook-post",
91
+ "externalServiceEmbedType": "js",
92
+ "externalServiceName": "Facebook"
93
+ },
94
+ "ServiceUrl": "https://www.facebook.com/v10.0/plugins/post.php?app_id=&channel=https%3A%2F%2Fstaticxx.facebook.com%2Fx%2Fconnect%2Fxd_arbiter%2F%3Fversion%3D46%23cb%3Df000f487949b618db%26domain%3Dhessenschau-dev-red.hr.de%26is_canvas%3Dfalse%26origin%3Dhttps%253A%252F%252Fhessenschau-dev-red.hr.de%252Ffac8e6f0732031392%26relation%3Dparent.parent&container_width=1&href=https%3A%2F%2Fwww.facebook.com%2FZooFFM%2Fposts%2F1926440010874354&lazy=true&locale=de_DE&sdk=joey&width=660",
95
+ "setResponsiveIframe": false,
96
+ "setTimedReloadIframe": false,
97
+ "setTimeForReload": ""
98
+ },
99
+ "Flourish": {
100
+ "externalServiceConfig": {
101
+ "makeConfigurable": true,
102
+ "embedAsIFrame": true,
103
+ "externalServiceId": "flourish",
104
+ "externalServiceEmbedType": "iFrame",
105
+ "externalServiceName": "Flourish (Datengrafik)"
106
+ },
107
+ "ServiceUrl": "https://public.flourish.studio/story/18361/embed",
108
+ "fixedHeight": "550",
109
+ "setResponsiveIframe": false,
110
+ "setTimedReloadIframe": false,
111
+ "setTimeForReload": ""
112
+ },
113
+ "Giphy": {
114
+ "externalServiceConfig": {
115
+ "makeConfigurable": true,
116
+ "embedAsIFrame": true,
117
+ "externalServiceId": "giphy",
118
+ "externalServiceEmbedType": "iFrame",
119
+ "externalServiceName": "Giphy (animiertes GIF)"
120
+ },
121
+ "ServiceUrl": "https://giphy.com/embed/ONxw4niC96zwk",
122
+ "setResponsiveIframe": false,
123
+ "setTimedReloadIframe": false,
124
+ "setTimeForReload": ""
125
+ },
126
+ "Instagram": {
127
+ "externalServiceConfig": {
128
+ "makeConfigurable": true,
129
+ "embedAsIFrame": false,
130
+ "externalServiceId": "instagram",
131
+ "externalServiceEmbedType": "js",
132
+ "externalServiceName": "Instagram"
133
+ },
134
+ "ServiceUrl": "https://www.instagram.com/p/CjZzvIOs7PK/embed/captioned/?cr=1&v=14&wp=658&rd=https%3A%2F%2Fhessenschau-dev-red.hr.de&rp=%2Ftest-externe-dienste-v1%2Cexternedienste-100.html#%7B%22ci%22%3A0%2C%22os%22%3A5421.799999999814%2C%22ls%22%3A4354.700000000186%2C%22le%22%3A4357.600000000559%7D",
135
+ "setResponsiveIframe": false,
136
+ "setTimedReloadIframe": false,
137
+ "setTimeForReload": ""
138
+ },
139
+ "Twitter": {
140
+ "externalServiceConfig": {
141
+ "makeConfigurable": true,
142
+ "embedAsIFrame": false,
143
+ "externalServiceId": "twitter-post",
144
+ "externalServiceEmbedType": "js",
145
+ "externalServiceName": "X"
146
+ },
147
+ "ServiceUrl": "https://platform.twitter.com/embed/Tweet.html?creatorScreenName=hessenschau&creatorUserId=17360630&dnt=false&embedId=twitter-widget-0&features=eyJ0ZndfdGltZWxpbmVfbGlzdCI6eyJidWNrZXQiOltdLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X2ZvbGxvd2VyX2NvdW50X3N1bnNldCI6eyJidWNrZXQiOnRydWUsInZlcnNpb24iOm51bGx9LCJ0ZndfdHdlZXRfZWRpdF9iYWNrZW5kIjp7ImJ1Y2tldCI6Im9uIiwidmVyc2lvbiI6bnVsbH0sInRmd19yZWZzcmNfc2Vzc2lvbiI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfZm9zbnJfc29mdF9pbnRlcnZlbnRpb25zX2VuYWJsZWQiOnsiYnVja2V0Ijoib24iLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X21peGVkX21lZGlhXzE1ODk3Ijp7ImJ1Y2tldCI6InRyZWF0bWVudCIsInZlcnNpb24iOm51bGx9LCJ0ZndfZXhwZXJpbWVudHNfY29va2llX2V4cGlyYXRpb24iOnsiYnVja2V0IjoxMjA5NjAwLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X3Nob3dfYmlyZHdhdGNoX3Bpdm90c19lbmFibGVkIjp7ImJ1Y2tldCI6Im9uIiwidmVyc2lvbiI6bnVsbH0sInRmd19kdXBsaWNhdGVfc2NyaWJlc190b19zZXR0aW5ncyI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfdXNlX3Byb2ZpbGVfaW1hZ2Vfc2hhcGVfZW5hYmxlZCI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfdmlkZW9faGxzX2R5bmFtaWNfbWFuaWZlc3RzXzE1MDgyIjp7ImJ1Y2tldCI6InRydWVfYml0cmF0ZSIsInZlcnNpb24iOm51bGx9LCJ0ZndfbGVnYWN5X3RpbWVsaW5lX3N1bnNldCI6eyJidWNrZXQiOnRydWUsInZlcnNpb24iOm51bGx9LCJ0ZndfdHdlZXRfZWRpdF9mcm9udGVuZCI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9fQ%3D%3D&frame=false&hideCard=false&hideThread=false&id=1578122540362465299&lang=de&origin=https%3A%2F%2Fhessenschau-dev-red.hr.de%2Ftest-externe-dienste-v1%2Cexternedienste-100.html&sessionId=56b29ff8ee6fd214d71e8ef5924dbf80fbc2d6cd&siteScreenName=hessenschau&siteUserId=17360630&theme=light&widgetsVersion=2615f7e52b7e0%3A1702314776716&width=550px",
148
+ "setResponsiveIframe": false,
149
+ "setTimedReloadIframe": false,
150
+ "setTimeForReload": ""
151
+ },
152
+ "Vimeo": {
153
+ "externalServiceConfig": {
154
+ "makeConfigurable": true,
155
+ "embedAsIFrame": true,
156
+ "externalServiceId": "vimeo",
157
+ "externalServiceEmbedType": "iFrame",
158
+ "externalServiceName": "Vimeo (Video)"
159
+ },
160
+ "ServiceUrl": "https://player.vimeo.com/video/438111654",
161
+ "setResponsiveIframe": false,
162
+ "setTimedReloadIframe": false,
163
+ "setTimeForReload": ""
164
+ },
165
+ "Youtube": {
166
+ "externalServiceConfig": {
167
+ "makeConfigurable": true,
168
+ "embedAsIFrame": true,
169
+ "externalServiceId": "youtube",
170
+ "externalServiceEmbedType": "iFrame",
171
+ "externalServiceName": "YouTube (Video)"
172
+ },
173
+ "ServiceUrl": "https://www.youtube-nocookie.com/embed/LMjXHYHZtrE?rel=0",
174
+ "aspectRatio": "16x9",
175
+ "setResponsiveIframe": false,
176
+ "setTimedReloadIframe": false,
177
+ "setTimeForReload": ""
178
+ },
179
+ "Youtube_360": {
180
+ "externalServiceConfig": {
181
+ "makeConfigurable": true,
182
+ "embedAsIFrame": true,
183
+ "externalServiceId": "youtube360",
184
+ "externalServiceEmbedType": "iFrame",
185
+ "externalServiceName": "YouTube 360 (360° Video)"
186
+ },
187
+ "ServiceUrl": "https://www.youtube-nocookie.com/embed/yT1pyf9oXGk",
188
+ "aspectRatio": "16x9",
189
+ "setResponsiveIframe": false,
190
+ "setTimedReloadIframe": false,
191
+ "setTimeForReload": "",
192
+ "externalServiceCaption": "Eine Demo der Virtual Reality-Inszenierung '2049: Zeitreise Mobilität'"
193
+ },
194
+ "Statischer_Dienst": {
195
+ "externalServiceConfig": {
196
+ "makeConfigurable": false,
197
+ "embedAsIFrame": true,
198
+ "externalServiceId": "staticService",
199
+ "externalServiceEmbedType": "iFrame",
200
+ "externalServiceName": "Statischer Dienst"
201
+ },
202
+ "ServiceUrl": "https://static.hr.de/hessenschau/btw21/linientool/unternehmensgruendung",
203
+ "fixedHeight": "1000",
204
+ "setResponsiveIframe": false,
205
+ "setTimedReloadIframe": false,
206
+ "setTimeForReload": ""
207
+ },
208
+ "Wahlmonitor": {
209
+ "externalServiceConfig": {
210
+ "makeConfigurable": false,
211
+ "embedAsIFrame": false,
212
+ "externalServiceId": "wahlmonitor",
213
+ "externalServiceEmbedType": "js",
214
+ "externalServiceName": "Wahlmonitor"
215
+ },
216
+ "ServiceUrl": "https://www.tagesschau.de/wahl/monitor-15/wahlmonitor.html?id=2023-10-08-LT-DE-HE&ratio=43&externalembed=4e1_wahlmonitor_2023-10-08-LT-DE-HE&hideLinkContainer=1&lra=hr&arrows=1",
217
+ "setResponsiveIframe": false,
218
+ "setTimedReloadIframe": false,
219
+ "setTimeForReload": ""
220
+ },
221
+ "Wahlkreiskarte": {
222
+ "externalServiceConfig": {
223
+ "makeConfigurable": false,
224
+ "embedAsIFrame": false,
225
+ "externalServiceId": "wahlkreiskarte",
226
+ "externalServiceEmbedType": "js",
227
+ "externalServiceName": "Wahlkreiskarte"
228
+ },
229
+ "ServiceUrl": "https://www.tagesschau.de/wahl/archiv/2023-10-08-LT-DE-HE/karte21.shtml?y=&a=K&k=&p=&elements=&data-site=&q=",
230
+ "setResponsiveIframe": false,
231
+ "setTimedReloadIframe": false,
232
+ "setTimeForReload": ""
233
+ },
234
+ "Koalitionsrechner": {
235
+ "externalServiceConfig": {
236
+ "makeConfigurable": false,
237
+ "embedAsIFrame": true,
238
+ "externalServiceId": "koalitionsrechner",
239
+ "externalServiceEmbedType": "iFrame",
240
+ "externalServiceName": "Koalitionsrechner"
241
+ },
242
+ "ServiceUrl": "https://www.tagesschau.de/wahl/koalitionsrechner/2023-10-08-LT-DE-HE-koalitionsrechner_embed.shtml",
243
+ "fixedHeight": "550",
244
+ "setResponsiveIframe": false,
245
+ "setTimedReloadIframe": false,
246
+ "setTimeForReload": ""
247
+ }
248
+ }
@@ -1,5 +1,22 @@
1
1
  {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: External-service-component</div>
2
+
3
+ {{#with this.toModel.externalService}}
4
+
5
+ <div>this.externalServiceConfig.makeConfigurable: <b>{{this.externalServiceConfig.makeConfigurable}}</b></div>
6
+ <!--div>this.ServiceUrl: <b>{{this.ServiceUrl}}</b></div-->
7
+ <div>this.externalServiceConfig.externalServiceId: <b>{{this.externalServiceConfig.externalServiceId}}</b></div>
8
+ <div>this.externalServiceConfig.externalServiceEmbedType: <b>{{this.externalServiceConfig.externalServiceEmbedType}}</b></div>
9
+ <div>this.fixedHeight: <b>{{this.fixedHeight}}</b></div>
10
+ <div>this.aspectRatio: <b>{{this.aspectRatio}}</b></div>
11
+ <div>this.setResponsiveIframe: <b>{{this.setResponsiveIframe}}</b></div>
12
+ <div>this.setTimedReloadIframe: <b>{{this.setTimedReloadIframe}}</b></div>
13
+ <div>this.setTimeForReload: <b>{{this.setTimeForReload}}</b></div>
14
+ <div>this.externalServiceCaption: <b>{{this.externalServiceCaption}}</b></div>
15
+ <div>this.externalServiceConfig.externalServiceName: <b>{{this.externalServiceConfig.externalServiceName}}</b></div>
16
+ <div>this.externalServiceConfig.embedAsIFrame: <b>{{this.externalServiceConfig.embedAsIFrame}}</b></div>
17
+
18
+ {{/with}}
19
+
3
20
  {{~else~}}
4
21
  {{#with this.toModel.externalService}}
5
22
  {{#if this.externalServiceConfig.makeConfigurable}}
@@ -10,6 +10,7 @@ import copytext_image_json from './fixtures/copytext_image.json'
10
10
  import copytext_infobox_json from './fixtures/copytext_infobox.json'
11
11
  import copytext_downloadbox_json from './fixtures/copytext_downloadbox.json'
12
12
  import copytext_filedownload_json from './fixtures/copytext_filedownload.json'
13
+ import copytext_externalservice_json from './fixtures/copytext_externalservice.json'
13
14
 
14
15
  const Template = ({ ...args }) => {
15
16
  return copytext({ ...args })
@@ -38,6 +39,12 @@ export const WithDownloadbox = {
38
39
  args: copytext_downloadbox_json,
39
40
  }
40
41
 
42
+ export const WithDownExternalservice = {
43
+ render: Template.bind({}),
44
+ name: 'Externe Dienste',
45
+ args: copytext_externalservice_json,
46
+ }
47
+
41
48
  export const WithFAQ = {
42
49
  render: Template.bind({}),
43
50
  name: 'FAQ',
@@ -0,0 +1 @@
1
+ {"copytextParagraph":[{"isHeadline":true,"text":"Copytext mit externen Diensten"},{"isHeadline":true,"text":"360Grad"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":false,"embedAsIFrame":true,"externalServiceId":"360grad","externalServiceEmbedType":"iFrame","externalServiceName":"360 Grad"},"ServiceUrl":"https://static.hr.de/hessenschau/360/tour-altstadt/360Tour-altstadt-final1.html","aspectRatio":"100","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"ARD-Mediathek (Video)"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":true,"externalServiceId":"ard_mediathek","externalServiceEmbedType":"iFrame","externalServiceName":"ARD Mediathek (Video)"},"ServiceUrl":"https://www.ardmediathek.de/embed/Y3JpZDovL2Z1bmsubmV0LzExNzkwL3ZpZGVvLzE3NzQ2NzU?clientType=hr","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"ARTE Concert 2.0"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":true,"externalServiceId":"arte_concert_new","externalServiceEmbedType":"iFrame","externalServiceName":"Arte Concert 2.0"},"ServiceUrl":"https://www.arte.tv/player/v5/index.php?json_url=https%3A%2F%2Fapi.arte.tv%2Fapi%2Fplayer%2Fv2%2Fconfig%2Fde%2F116593-005-A&lang=de&autoplay=false&mute=0","aspectRatio":"16x9","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Bundesliga Audiostream"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":false,"embedAsIFrame":true,"externalServiceId":"bundesligaAudiostream","externalServiceEmbedType":"iFrame","externalServiceName":"Bundesliga Audiostream"},"ServiceUrl":"https://livecenter.sportschau.de/iframe/spielplan-kompakt/co3/md11/////","aspectRatio":"9x16","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Datawrapper CDN"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":false,"externalServiceId":"datawrapper_cdn","externalServiceEmbedType":"js","externalServiceName":"Datawrapper (Datengrafik)"},"ServiceUrl":"https://datawrapper.dwcdn.net/IC3Xn/1/","fixedHeight":"380","setResponsiveIframe":true,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Esri Karte"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":true,"externalServiceId":"esri","externalServiceEmbedType":"iFrame","externalServiceName":"Esri (Notfallkarte)"},"ServiceUrl":"https://arcg.is/1aW0au0","aspectRatio":"100","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":"","externalServiceCaption":"Notfallkarte"}}}},{"isHeadline":true,"text":"Facebook"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":false,"externalServiceId":"facebook-post","externalServiceEmbedType":"js","externalServiceName":"Facebook"},"ServiceUrl":"https://www.facebook.com/v10.0/plugins/post.php?app_id=&channel=https%3A%2F%2Fstaticxx.facebook.com%2Fx%2Fconnect%2Fxd_arbiter%2F%3Fversion%3D46%23cb%3Df000f487949b618db%26domain%3Dhessenschau-dev-red.hr.de%26is_canvas%3Dfalse%26origin%3Dhttps%253A%252F%252Fhessenschau-dev-red.hr.de%252Ffac8e6f0732031392%26relation%3Dparent.parent&container_width=1&href=https%3A%2F%2Fwww.facebook.com%2FZooFFM%2Fposts%2F1926440010874354&lazy=true&locale=de_DE&sdk=joey&width=660","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Flourish"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":true,"externalServiceId":"flourish","externalServiceEmbedType":"iFrame","externalServiceName":"Flourish (Datengrafik)"},"ServiceUrl":"https://public.flourish.studio/story/18361/embed","fixedHeight":"550","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Giphy"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":true,"externalServiceId":"giphy","externalServiceEmbedType":"iFrame","externalServiceName":"Giphy (animiertes GIF)"},"ServiceUrl":"https://giphy.com/embed/ONxw4niC96zwk","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Instagram"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":false,"externalServiceId":"instagram","externalServiceEmbedType":"js","externalServiceName":"Instagram"},"ServiceUrl":"https://www.instagram.com/p/CjZzvIOs7PK/embed/captioned/?cr=1&v=14&wp=658&rd=https%3A%2F%2Fhessenschau-dev-red.hr.de&rp=%2Ftest-externe-dienste-v1%2Cexternedienste-100.html#%7B%22ci%22%3A0%2C%22os%22%3A5421.799999999814%2C%22ls%22%3A4354.700000000186%2C%22le%22%3A4357.600000000559%7D","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"X"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":false,"externalServiceId":"twitter-post","externalServiceEmbedType":"js","externalServiceName":"X"},"ServiceUrl":"https://platform.twitter.com/embed/Tweet.html?creatorScreenName=hessenschau&creatorUserId=17360630&dnt=false&embedId=twitter-widget-0&features=eyJ0ZndfdGltZWxpbmVfbGlzdCI6eyJidWNrZXQiOltdLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X2ZvbGxvd2VyX2NvdW50X3N1bnNldCI6eyJidWNrZXQiOnRydWUsInZlcnNpb24iOm51bGx9LCJ0ZndfdHdlZXRfZWRpdF9iYWNrZW5kIjp7ImJ1Y2tldCI6Im9uIiwidmVyc2lvbiI6bnVsbH0sInRmd19yZWZzcmNfc2Vzc2lvbiI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfZm9zbnJfc29mdF9pbnRlcnZlbnRpb25zX2VuYWJsZWQiOnsiYnVja2V0Ijoib24iLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X21peGVkX21lZGlhXzE1ODk3Ijp7ImJ1Y2tldCI6InRyZWF0bWVudCIsInZlcnNpb24iOm51bGx9LCJ0ZndfZXhwZXJpbWVudHNfY29va2llX2V4cGlyYXRpb24iOnsiYnVja2V0IjoxMjA5NjAwLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X3Nob3dfYmlyZHdhdGNoX3Bpdm90c19lbmFibGVkIjp7ImJ1Y2tldCI6Im9uIiwidmVyc2lvbiI6bnVsbH0sInRmd19kdXBsaWNhdGVfc2NyaWJlc190b19zZXR0aW5ncyI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfdXNlX3Byb2ZpbGVfaW1hZ2Vfc2hhcGVfZW5hYmxlZCI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfdmlkZW9faGxzX2R5bmFtaWNfbWFuaWZlc3RzXzE1MDgyIjp7ImJ1Y2tldCI6InRydWVfYml0cmF0ZSIsInZlcnNpb24iOm51bGx9LCJ0ZndfbGVnYWN5X3RpbWVsaW5lX3N1bnNldCI6eyJidWNrZXQiOnRydWUsInZlcnNpb24iOm51bGx9LCJ0ZndfdHdlZXRfZWRpdF9mcm9udGVuZCI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9fQ%3D%3D&frame=false&hideCard=false&hideThread=false&id=1578122540362465299&lang=de&origin=https%3A%2F%2Fhessenschau-dev-red.hr.de%2Ftest-externe-dienste-v1%2Cexternedienste-100.html&sessionId=56b29ff8ee6fd214d71e8ef5924dbf80fbc2d6cd&siteScreenName=hessenschau&siteUserId=17360630&theme=light&widgetsVersion=2615f7e52b7e0%3A1702314776716&width=550px","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Vimeo"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":true,"externalServiceId":"vimeo","externalServiceEmbedType":"iFrame","externalServiceName":"Vimeo (Video)"},"ServiceUrl":"https://player.vimeo.com/video/438111654","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Youtube"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":true,"externalServiceId":"youtube","externalServiceEmbedType":"iFrame","externalServiceName":"YouTube (Video)"},"ServiceUrl":"https://www.youtube-nocookie.com/embed/LMjXHYHZtrE?rel=0","aspectRatio":"16x9","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Youtube 360°"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":true,"embedAsIFrame":true,"externalServiceId":"youtube360","externalServiceEmbedType":"iFrame","externalServiceName":"YouTube 360 (360° Video)"},"ServiceUrl":"https://www.youtube-nocookie.com/embed/yT1pyf9oXGk","aspectRatio":"16x9","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":"","externalServiceCaption":"Eine Demo der Virtual Reality-Inszenierung '2049: Zeitreise Mobilität'"}}}},{"isHeadline":true,"text":"Statischer Dienst"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":false,"embedAsIFrame":true,"externalServiceId":"staticService","externalServiceEmbedType":"iFrame","externalServiceName":"Statischer Dienst"},"ServiceUrl":"https://static.hr.de/hessenschau/btw21/linientool/unternehmensgruendung","fixedHeight":"1000","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Wahlmonitor"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":false,"embedAsIFrame":false,"externalServiceId":"wahlmonitor","externalServiceEmbedType":"js","externalServiceName":"Wahlmonitor"},"ServiceUrl":"https://www.tagesschau.de/wahl/monitor-15/wahlmonitor.html?id=2023-10-08-LT-DE-HE&ratio=43&externalembed=4e1_wahlmonitor_2023-10-08-LT-DE-HE&hideLinkContainer=1&lra=hr&arrows=1","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Wahlkreiskarte"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":false,"embedAsIFrame":false,"externalServiceId":"wahlkreiskarte","externalServiceEmbedType":"js","externalServiceName":"Wahlkreiskarte"},"ServiceUrl":"https://www.tagesschau.de/wahl/archiv/2023-10-08-LT-DE-HE/karte21.shtml?y=&a=K&k=&p=&elements=&data-site=&q=","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}},{"isHeadline":true,"text":"Koalitionsrechner"},{"paragraphBoxItem":{"isExternalService":true,"toModel":{"externalService":{"externalServiceConfig":{"makeConfigurable":false,"embedAsIFrame":true,"externalServiceId":"koalitionsrechner","externalServiceEmbedType":"iFrame","externalServiceName":"Koalitionsrechner"},"ServiceUrl":"https://www.tagesschau.de/wahl/koalitionsrechner/2023-10-08-LT-DE-HE-koalitionsrechner_embed.shtml","fixedHeight":"550","setResponsiveIframe":false,"setTimedReloadIframe":false,"setTimeForReload":""}}}}]}