Browse code

Initial commit

Benjamin Roth authored on16/03/2023 20:22:35
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,809 @@
1
+<?php
2
+// rsce_my_element_config.php
3
+return array(
4
+    'label' => array('Custom | Kopfbild (oder Slider) mit Text', ''),
5
+    'types' => array('content'),
6
+    'contentCategory' => 'texts',
7
+    'moduleCategory' => 'miscellaneous',
8
+    'standardFields' => array('headline', 'cssID'),
9
+    'wrapper' => array(
10
+        'type' => 'none',
11
+    ),
12
+    'fields' => array(
13
+        'topline' => array(
14
+            'label' => array('Topline', 'Text oberhalb der Überschrift'),
15
+            'inputType' => 'text',
16
+        ), 'subline' => array(
17
+            'label' => array('Subline', 'Text unterhalb der Überschrift'),
18
+            'inputType' => 'text',
19
+        ),
20
+        'animation_type' => array(
21
+            'label' => array(
22
+                'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
23
+            ),
24
+            'inputType' => 'select',
25
+            'options' => array(
26
+                /* Fading entrances  */
27
+                'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
28
+                'no-animation' => 'Keine Animation',
29
+                'animate__fadeIn' => 'fadeIn',
30
+                'animate__fadeInDown' => 'fadeInDown',
31
+                'animate__fadeInDownBig' => 'fadeInDownBig',
32
+                'animate__fadeInLeft' => 'fadeInLeft',
33
+                'animate__fadeInLeftBig' => 'fadeInLeftBig',
34
+                'animate__fadeInRight' => 'fadeInRight',
35
+                'animate__fadeInRightBig' => 'fadeInRightBig',
36
+                'animate__fadeInUpBig' => 'fadeInUpBig',
37
+                'animate__fadeInTopLeft' => 'fadeInTopLeft',
38
+                'animate__fadeInTopRight' => 'fadeInTopRight',
39
+                'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
40
+                'animate__fadeInBottomRight' => 'fadeInBottomRight',
41
+                /* Attention seekers  */
42
+                'animate__bounce' => 'bounce',
43
+                'animate__flash' => 'flash',
44
+                'animate__pulse' => 'pulse',
45
+                'animate__rubberBand' => 'rubberBand',
46
+                'animate__shakeX' => 'shakeX',
47
+                'animate__shakeY' => 'shakeY',
48
+                'animate__headShake' => 'headShake',
49
+                'animate__swing' => 'swing',
50
+                'animate__tada' => 'tada',
51
+                'animate__wobble' => 'wobble',
52
+                'animate__jello' => 'jello',
53
+                'animate__heartBeat' => 'heartBeat',
54
+                /* Back entrances */
55
+                'animate__backInDown' => 'backInDown',
56
+                'animate__backInLeft' => 'backInLeft',
57
+                'animate__backInRight' => 'backInRight',
58
+                'animate__backInUp' => 'backInUp',
59
+                /* Back exits */
60
+                'animate__backOutDown' => 'backOutDown',
61
+                'animate__backOutLeft' => 'backOutLeft',
62
+                'animate__backOutRight' => 'backOutRight',
63
+                'animate__backOutUp' => 'backOutUp',
64
+                /* Bouncing entrances  */
65
+                'animate__bounceIn' => 'bounceIn',
66
+                'animate__bounceInDown' => 'bounceInDown',
67
+                'animate__bounceInLeft' => 'bounceInLeft',
68
+                'animate__bounceInRight' => 'bounceInRight',
69
+                'animate__bounceInUp' => 'bounceInUp',
70
+                /* Bouncing exits  */
71
+                'animate__bounceOut' => 'bounceOut',
72
+                'animate__bounceOutDown' => 'bounceOutDown',
73
+                'animate__bounceOutLeft' => 'bounceOutLeft',
74
+                'animate__bounceOutRight' => 'bounceOutRight',
75
+                'animate__bounceOutUp' => 'bounceOutUp',
76
+                /* Fading exits */
77
+                'animate__fadeOut' => 'fadeOut',
78
+                'animate__fadeOutDown' => 'fadeOutDown',
79
+                'animate__fadeOutDownBig' => 'fadeOutDownBig',
80
+                'animate__fadeOutLeft' => 'fadeOutLeft',
81
+                'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
82
+                'animate__fadeOutRight' => 'fadeOutRight',
83
+                'animate__fadeOutRightBig' => 'fadeOutRightBig',
84
+                'animate__fadeOutUp' => 'fadeOutUp',
85
+                'animate__fadeOutUpBig' => 'fadeOutUpBig',
86
+                'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
87
+                'animate__fadeOutTopRight' => 'fadeOutTopRight',
88
+                'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
89
+                'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
90
+                /* Flippers */
91
+                'animate__flip' => 'flip',
92
+                'animate__flipInX' => 'flipInX',
93
+                'animate__flipInY' => 'flipInY',
94
+                'animate__flipOutX' => 'flipOutX',
95
+                'animate__flipOutY' => 'flipOutY',
96
+                /* Lightspeed */
97
+                'animate__lightSpeedInRight' => 'lightSpeedInRight',
98
+                'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
99
+                'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
100
+                'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
101
+                /* Rotating entrances */
102
+                'animate__rotateIn' => 'rotateIn',
103
+                'animate__rotateInDownLeft' => 'rotateInDownLeft',
104
+                'animate__rotateInDownRight' => 'rotateInDownRight',
105
+                'animate__rotateInUpLeft' => 'rotateInUpLeft',
106
+                'animate__rotateInUpRight' => 'rotateInUpRight',
107
+                /* Rotating exits */
108
+                'animate__rotateOut' => 'rotateOut',
109
+                'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
110
+                'animate__rotateOutDownRight' => 'rotateOutDownRight',
111
+                'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
112
+                'animate__rotateOutUpRight' => 'rotateOutUpRight',
113
+                /* Specials */
114
+                'animate__hinge' => 'hinge',
115
+                'animate__jackInTheBox' => 'jackInTheBox',
116
+                'animate__rollIn' => 'rollIn',
117
+                'animate__rollOut' => 'rollOut',
118
+                /* Zooming entrances */
119
+                'animate__zoomIn' => 'zoomIn',
120
+                'animate__zoomInDown' => 'zoomInDown',
121
+                'animate__zoomInLeft' => 'zoomInLeft',
122
+                'animate__zoomInRight' => 'zoomInRight',
123
+                'animate__zoomInUp' => 'zoomInUp',
124
+                /* Zooming exits */
125
+                'animate__zoomOut' => 'zoomOut',
126
+                'animate__zoomOutDown' => 'zoomOutDown',
127
+                'animate__zoomOutLeft' => 'zoomOutLeft',
128
+                'animate__zoomOutRight' => 'zoomOutRight',
129
+                'animate__zoomOutUp' => 'zoomOutUp',
130
+                /* Sliding entrances */
131
+                'animate__slideInDown' => 'slideInDown',
132
+                'animate__slideInLeft' => 'slideInLeft',
133
+                'animate__slideInRight' => 'slideInRight',
134
+                'animate__slideInUp' => 'slideInUp',
135
+                /* Sliding exits */
136
+                'animate__slideOutDown' => 'slideOutDown',
137
+                'animate__slideOutLeft' => 'slideOutLeft',
138
+                'animate__slideOutRight' => 'slideOutRight',
139
+                'animate__slideOutUp' => 'slideOutUp',
140
+            ),
141
+            'eval' => array('chosen' => 'true')
142
+        ),
143
+
144
+
145
+        'settings_1' => array(
146
+            'label' => array('Einstellungen', ''),
147
+            'inputType' => 'group',
148
+        ),
149
+
150
+
151
+        'image_height' => array(
152
+            'label' => array('Höhe des Bereichs in %', 'Standard sind "100", also 100% Viewport-Height'),
153
+            'inputType' => 'text',
154
+            'eval' => array('tl_class' => 'w50'),
155
+        ),
156
+
157
+        'image_maxheight' => array(
158
+            'label' => array('Maximale Höhe des Bereichs', 'Einheit (px, rem, vh usw.) bitte angeben'),
159
+            'inputType' => 'text',
160
+            'eval' => array('tl_class' => 'w50'),
161
+        ),
162
+
163
+        'diagonal_cut' => array(
164
+            'label' => array('Mit diagonalem Abschluss', ''),
165
+            'inputType' => 'checkbox',
166
+            'eval' => array('tl_class' => 'clr'),
167
+        ),
168
+        'pull_content' => array(
169
+            'label' => array('Inhalt darunter "hochziehen"', ''),
170
+            'inputType' => 'checkbox',
171
+        ),
172
+        'show_breadcrumb' => array(
173
+            'label' => array('Breadcrumb darunter anzeigen', ''),
174
+            'inputType' => 'checkbox',
175
+        ),
176
+
177
+        'slide_effect' => array(
178
+            'label' => array(
179
+                'de' => array('Slide-Effekt', ''),
180
+            ),
181
+            'inputType' => 'select',
182
+            'options' => array(
183
+                'slide' => 'Slide (Standard)',
184
+                'coverflow' => 'Coverflow',
185
+                'fade' => 'Fade',
186
+                'flip' => 'Flip',
187
+                'cube' => 'Cube',
188
+
189
+            ),
190
+            'eval' => array('tl_class' => 'w50'),
191
+        ),
192
+
193
+        'transition_time' => array(
194
+            'label' => array('Animationszeit in ms', 'Standard: 1500'),
195
+            'inputType' => 'text',
196
+            'eval' => array('tl_class' => 'w50'),
197
+        ),
198
+
199
+
200
+        'autoplay' => array(
201
+            'label' => array('Autoplay aktivieren', ''),
202
+            'inputType' => 'checkbox',
203
+            'eval' => array('tl_class' => 'w50'),
204
+        ),
205
+        'autoplay_time' => array(
206
+            'label' => array('Autoplay-Zyklus', 'nach wie viel MS soll zum nächsten Slide gewechselt werden, Standard: 3000'),
207
+            'inputType' => 'text',
208
+            'eval' => array('tl_class' => 'w50'),
209
+            'dependsOn' => array(
210
+                'field' => 'autoplay',
211
+            ),
212
+        ),
213
+
214
+
215
+        'settings_2' => array(
216
+            'label' => array('Boxed-Image (z. B. ein Logo)', ''),
217
+            'inputType' => 'group',
218
+            'eval' => array('tl_class' => 'clr'),
219
+        ),
220
+        'boxed_image' => array(
221
+            'label' => array('Bild mittig unten liegend', 'Meistens ein Logo'),
222
+            'inputType' => 'fileTree',
223
+            'eval' => array(
224
+                'multiple' => false,
225
+                'fieldType' => 'radio',
226
+                'filesOnly' => true,
227
+                'extensions' => 'jpg,jpeg,png,svg',
228
+            ),
229
+        ),
230
+        'boxed_image_animation_type' => array(
231
+            'label' => array(
232
+                'de' => array('Art der Einblendeanimation (Der Bild-Box)', 'Siehe https://animate.style/ für Beispiele'),
233
+            ),
234
+            'inputType' => 'select',
235
+            'options' => array(
236
+                /* Fading entrances  */
237
+                'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
238
+                'no-animation' => 'Keine Animation',
239
+                'animate__fadeIn' => 'fadeIn',
240
+                'animate__fadeInDown' => 'fadeInDown',
241
+                'animate__fadeInDownBig' => 'fadeInDownBig',
242
+                'animate__fadeInLeft' => 'fadeInLeft',
243
+                'animate__fadeInLeftBig' => 'fadeInLeftBig',
244
+                'animate__fadeInRight' => 'fadeInRight',
245
+                'animate__fadeInRightBig' => 'fadeInRightBig',
246
+                'animate__fadeInUpBig' => 'fadeInUpBig',
247
+                'animate__fadeInTopLeft' => 'fadeInTopLeft',
248
+                'animate__fadeInTopRight' => 'fadeInTopRight',
249
+                'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
250
+                'animate__fadeInBottomRight' => 'fadeInBottomRight',
251
+                /* Attention seekers  */
252
+                'animate__bounce' => 'bounce',
253
+                'animate__flash' => 'flash',
254
+                'animate__pulse' => 'pulse',
255
+                'animate__rubberBand' => 'rubberBand',
256
+                'animate__shakeX' => 'shakeX',
257
+                'animate__shakeY' => 'shakeY',
258
+                'animate__headShake' => 'headShake',
259
+                'animate__swing' => 'swing',
260
+                'animate__tada' => 'tada',
261
+                'animate__wobble' => 'wobble',
262
+                'animate__jello' => 'jello',
263
+                'animate__heartBeat' => 'heartBeat',
264
+                /* Back entrances */
265
+                'animate__backInDown' => 'backInDown',
266
+                'animate__backInLeft' => 'backInLeft',
267
+                'animate__backInRight' => 'backInRight',
268
+                'animate__backInUp' => 'backInUp',
269
+                /* Back exits */
270
+                'animate__backOutDown' => 'backOutDown',
271
+                'animate__backOutLeft' => 'backOutLeft',
272
+                'animate__backOutRight' => 'backOutRight',
273
+                'animate__backOutUp' => 'backOutUp',
274
+                /* Bouncing entrances  */
275
+                'animate__bounceIn' => 'bounceIn',
276
+                'animate__bounceInDown' => 'bounceInDown',
277
+                'animate__bounceInLeft' => 'bounceInLeft',
278
+                'animate__bounceInRight' => 'bounceInRight',
279
+                'animate__bounceInUp' => 'bounceInUp',
280
+                /* Bouncing exits  */
281
+                'animate__bounceOut' => 'bounceOut',
282
+                'animate__bounceOutDown' => 'bounceOutDown',
283
+                'animate__bounceOutLeft' => 'bounceOutLeft',
284
+                'animate__bounceOutRight' => 'bounceOutRight',
285
+                'animate__bounceOutUp' => 'bounceOutUp',
286
+                /* Fading exits */
287
+                'animate__fadeOut' => 'fadeOut',
288
+                'animate__fadeOutDown' => 'fadeOutDown',
289
+                'animate__fadeOutDownBig' => 'fadeOutDownBig',
290
+                'animate__fadeOutLeft' => 'fadeOutLeft',
291
+                'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
292
+                'animate__fadeOutRight' => 'fadeOutRight',
293
+                'animate__fadeOutRightBig' => 'fadeOutRightBig',
294
+                'animate__fadeOutUp' => 'fadeOutUp',
295
+                'animate__fadeOutUpBig' => 'fadeOutUpBig',
296
+                'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
297
+                'animate__fadeOutTopRight' => 'fadeOutTopRight',
298
+                'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
299
+                'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
300
+                /* Flippers */
301
+                'animate__flip' => 'flip',
302
+                'animate__flipInX' => 'flipInX',
303
+                'animate__flipInY' => 'flipInY',
304
+                'animate__flipOutX' => 'flipOutX',
305
+                'animate__flipOutY' => 'flipOutY',
306
+                /* Lightspeed */
307
+                'animate__lightSpeedInRight' => 'lightSpeedInRight',
308
+                'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
309
+                'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
310
+                'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
311
+                /* Rotating entrances */
312
+                'animate__rotateIn' => 'rotateIn',
313
+                'animate__rotateInDownLeft' => 'rotateInDownLeft',
314
+                'animate__rotateInDownRight' => 'rotateInDownRight',
315
+                'animate__rotateInUpLeft' => 'rotateInUpLeft',
316
+                'animate__rotateInUpRight' => 'rotateInUpRight',
317
+                /* Rotating exits */
318
+                'animate__rotateOut' => 'rotateOut',
319
+                'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
320
+                'animate__rotateOutDownRight' => 'rotateOutDownRight',
321
+                'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
322
+                'animate__rotateOutUpRight' => 'rotateOutUpRight',
323
+                /* Specials */
324
+                'animate__hinge' => 'hinge',
325
+                'animate__jackInTheBox' => 'jackInTheBox',
326
+                'animate__rollIn' => 'rollIn',
327
+                'animate__rollOut' => 'rollOut',
328
+                /* Zooming entrances */
329
+                'animate__zoomIn' => 'zoomIn',
330
+                'animate__zoomInDown' => 'zoomInDown',
331
+                'animate__zoomInLeft' => 'zoomInLeft',
332
+                'animate__zoomInRight' => 'zoomInRight',
333
+                'animate__zoomInUp' => 'zoomInUp',
334
+                /* Zooming exits */
335
+                'animate__zoomOut' => 'zoomOut',
336
+                'animate__zoomOutDown' => 'zoomOutDown',
337
+                'animate__zoomOutLeft' => 'zoomOutLeft',
338
+                'animate__zoomOutRight' => 'zoomOutRight',
339
+                'animate__zoomOutUp' => 'zoomOutUp',
340
+                /* Sliding entrances */
341
+                'animate__slideInDown' => 'slideInDown',
342
+                'animate__slideInLeft' => 'slideInLeft',
343
+                'animate__slideInRight' => 'slideInRight',
344
+                'animate__slideInUp' => 'slideInUp',
345
+                /* Sliding exits */
346
+                'animate__slideOutDown' => 'slideOutDown',
347
+                'animate__slideOutLeft' => 'slideOutLeft',
348
+                'animate__slideOutRight' => 'slideOutRight',
349
+                'animate__slideOutUp' => 'slideOutUp',
350
+            ),
351
+            'eval' => array('chosen' => 'true')
352
+        ),
353
+        'slides' => array(
354
+            'label' => array('Slides', ''),
355
+            'elementLabel' => '%s. Slide',
356
+            'inputType' => 'list',
357
+            'minItems' => 1,
358
+            'maxItems' => 10,
359
+            'fields' => array(
360
+
361
+                'settings_3' => array(
362
+                    'label' => array('Bild', ''),
363
+                    'inputType' => 'group',
364
+                ),
365
+
366
+
367
+                'image' => array(
368
+                    'label' => array('Bild / Video', 'Video-Format: MP4'),
369
+                    'inputType' => 'fileTree',
370
+                    'eval' => array(
371
+                        'multiple' => false,
372
+                        'fieldType' => 'radio',
373
+                        'filesOnly' => true,
374
+                        'extensions' => 'jpg,jpeg,png,mp4,webm,ogv',
375
+                        'tl_class' => 'w50'
376
+                    ),
377
+                ),
378
+
379
+                'mobile_image' => array(
380
+                    'label' => array('Video für mobile-Ansicht', 'Nur in Verbindung mit einem Video in der Desktop-Ansicht, Video-Format: MP4'),
381
+                    'inputType' => 'fileTree',
382
+                    'eval' => array(
383
+                        'multiple' => false,
384
+                        'fieldType' => 'radio',
385
+                        'filesOnly' => true,
386
+                        'extensions' => 'mp4',
387
+                        'tl_class' => 'w50',
388
+                        'mandatory' => false,
389
+                    ),
390
+                ),
391
+
392
+                'size' => array(
393
+                    'label' => array('Bildbreite und Bildhöhe', ''),
394
+                    'inputType' => 'imageSize',
395
+                    'options' => System::getImageSizes(),
396
+                    'reference' => &$GLOBALS['TL_LANG']['MSC'],
397
+                    'eval' => array(
398
+                        'rgxp' => 'digit',
399
+                        'tl_class' => 'clr w50',
400
+                        'includeBlankOption' => true,
401
+                    ),
402
+                ),
403
+
404
+
405
+                'settings_4' => array(
406
+                    'label' => array('Text-Inhalt', ''),
407
+                    'inputType' => 'group',
408
+                ),
409
+
410
+                'animation_type' => array(
411
+                    'label' => array(
412
+                        'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
413
+                    ),
414
+                    'inputType' => 'select',
415
+                    'options' => array(
416
+                        /* Fading entrances  */
417
+                        'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
418
+                        'no-animation' => 'Keine Animation',
419
+                        'animate__fadeIn' => 'fadeIn',
420
+                        'animate__fadeInDown' => 'fadeInDown',
421
+                        'animate__fadeInDownBig' => 'fadeInDownBig',
422
+                        'animate__fadeInLeft' => 'fadeInLeft',
423
+                        'animate__fadeInLeftBig' => 'fadeInLeftBig',
424
+                        'animate__fadeInRight' => 'fadeInRight',
425
+                        'animate__fadeInRightBig' => 'fadeInRightBig',
426
+                        'animate__fadeInUpBig' => 'fadeInUpBig',
427
+                        'animate__fadeInTopLeft' => 'fadeInTopLeft',
428
+                        'animate__fadeInTopRight' => 'fadeInTopRight',
429
+                        'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
430
+                        'animate__fadeInBottomRight' => 'fadeInBottomRight',
431
+                        /* Attention seekers  */
432
+                        'animate__bounce' => 'bounce',
433
+                        'animate__flash' => 'flash',
434
+                        'animate__pulse' => 'pulse',
435
+                        'animate__rubberBand' => 'rubberBand',
436
+                        'animate__shakeX' => 'shakeX',
437
+                        'animate__shakeY' => 'shakeY',
438
+                        'animate__headShake' => 'headShake',
439
+                        'animate__swing' => 'swing',
440
+                        'animate__tada' => 'tada',
441
+                        'animate__wobble' => 'wobble',
442
+                        'animate__jello' => 'jello',
443
+                        'animate__heartBeat' => 'heartBeat',
444
+                        /* Back entrances */
445
+                        'animate__backInDown' => 'backInDown',
446
+                        'animate__backInLeft' => 'backInLeft',
447
+                        'animate__backInRight' => 'backInRight',
448
+                        'animate__backInUp' => 'backInUp',
449
+                        /* Back exits */
450
+                        'animate__backOutDown' => 'backOutDown',
451
+                        'animate__backOutLeft' => 'backOutLeft',
452
+                        'animate__backOutRight' => 'backOutRight',
453
+                        'animate__backOutUp' => 'backOutUp',
454
+                        /* Bouncing entrances  */
455
+                        'animate__bounceIn' => 'bounceIn',
456
+                        'animate__bounceInDown' => 'bounceInDown',
457
+                        'animate__bounceInLeft' => 'bounceInLeft',
458
+                        'animate__bounceInRight' => 'bounceInRight',
459
+                        'animate__bounceInUp' => 'bounceInUp',
460
+                        /* Bouncing exits  */
461
+                        'animate__bounceOut' => 'bounceOut',
462
+                        'animate__bounceOutDown' => 'bounceOutDown',
463
+                        'animate__bounceOutLeft' => 'bounceOutLeft',
464
+                        'animate__bounceOutRight' => 'bounceOutRight',
465
+                        'animate__bounceOutUp' => 'bounceOutUp',
466
+                        /* Fading exits */
467
+                        'animate__fadeOut' => 'fadeOut',
468
+                        'animate__fadeOutDown' => 'fadeOutDown',
469
+                        'animate__fadeOutDownBig' => 'fadeOutDownBig',
470
+                        'animate__fadeOutLeft' => 'fadeOutLeft',
471
+                        'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
472
+                        'animate__fadeOutRight' => 'fadeOutRight',
473
+                        'animate__fadeOutRightBig' => 'fadeOutRightBig',
474
+                        'animate__fadeOutUp' => 'fadeOutUp',
475
+                        'animate__fadeOutUpBig' => 'fadeOutUpBig',
476
+                        'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
477
+                        'animate__fadeOutTopRight' => 'fadeOutTopRight',
478
+                        'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
479
+                        'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
480
+                        /* Flippers */
481
+                        'animate__flip' => 'flip',
482
+                        'animate__flipInX' => 'flipInX',
483
+                        'animate__flipInY' => 'flipInY',
484
+                        'animate__flipOutX' => 'flipOutX',
485
+                        'animate__flipOutY' => 'flipOutY',
486
+                        /* Lightspeed */
487
+                        'animate__lightSpeedInRight' => 'lightSpeedInRight',
488
+                        'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
489
+                        'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
490
+                        'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
491
+                        /* Rotating entrances */
492
+                        'animate__rotateIn' => 'rotateIn',
493
+                        'animate__rotateInDownLeft' => 'rotateInDownLeft',
494
+                        'animate__rotateInDownRight' => 'rotateInDownRight',
495
+                        'animate__rotateInUpLeft' => 'rotateInUpLeft',
496
+                        'animate__rotateInUpRight' => 'rotateInUpRight',
497
+                        /* Rotating exits */
498
+                        'animate__rotateOut' => 'rotateOut',
499
+                        'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
500
+                        'animate__rotateOutDownRight' => 'rotateOutDownRight',
501
+                        'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
502
+                        'animate__rotateOutUpRight' => 'rotateOutUpRight',
503
+                        /* Specials */
504
+                        'animate__hinge' => 'hinge',
505
+                        'animate__jackInTheBox' => 'jackInTheBox',
506
+                        'animate__rollIn' => 'rollIn',
507
+                        'animate__rollOut' => 'rollOut',
508
+                        /* Zooming entrances */
509
+                        'animate__zoomIn' => 'zoomIn',
510
+                        'animate__zoomInDown' => 'zoomInDown',
511
+                        'animate__zoomInLeft' => 'zoomInLeft',
512
+                        'animate__zoomInRight' => 'zoomInRight',
513
+                        'animate__zoomInUp' => 'zoomInUp',
514
+                        /* Zooming exits */
515
+                        'animate__zoomOut' => 'zoomOut',
516
+                        'animate__zoomOutDown' => 'zoomOutDown',
517
+                        'animate__zoomOutLeft' => 'zoomOutLeft',
518
+                        'animate__zoomOutRight' => 'zoomOutRight',
519
+                        'animate__zoomOutUp' => 'zoomOutUp',
520
+                        /* Sliding entrances */
521
+                        'animate__slideInDown' => 'slideInDown',
522
+                        'animate__slideInLeft' => 'slideInLeft',
523
+                        'animate__slideInRight' => 'slideInRight',
524
+                        'animate__slideInUp' => 'slideInUp',
525
+                        /* Sliding exits */
526
+                        'animate__slideOutDown' => 'slideOutDown',
527
+                        'animate__slideOutLeft' => 'slideOutLeft',
528
+                        'animate__slideOutRight' => 'slideOutRight',
529
+                        'animate__slideOutUp' => 'slideOutUp',
530
+                    ),
531
+                    'eval' => array('chosen' => 'true')
532
+                ),
533
+
534
+
535
+                'text_style' => array(
536
+                    'label' => array(
537
+                        'de' => array('Text-Darstellungstyp', ''),
538
+                    ),
539
+                    'inputType' => 'select',
540
+                    'options' => array(
541
+                        'style-1' => 'Style 1: Überschrift in groß darstellen',
542
+                        'style-2' => 'Style 2: Überschrift auf Hintergrund mit Diagonale legen',
543
+                    ),
544
+                    'eval' => array('tl_class' => 'w50'),
545
+                ),
546
+
547
+                'textbox_position' => array(
548
+                    'label' => array(
549
+                        'de' => array('Textbox-Position', ''),
550
+                    ),
551
+                    'inputType' => 'select',
552
+                    'options' => array(
553
+                        'pos-centered' => 'Mittig',
554
+                        'pos-centered-right' => 'Mittig rechts',
555
+                        'pos-centered-left' => 'Mittig links',
556
+                        'pos-bottom-right' => 'Unten rechts',
557
+                        'pos-bottom-left' => 'Unten links',
558
+                        'pos-bottom-center' => 'Unten mittig',
559
+                        'pos-top-right' => 'Oben rechts',
560
+                        'pos-top-left' => 'Oben links',
561
+                        'pos-top-center' => 'Oben mittig'
562
+                    ),
563
+                    'eval' => array('tl_class' => 'w50'),
564
+
565
+                    'dependsOn' => array(
566
+                        'field' => 'text_style',
567
+                        'value' => 'style-1',
568
+                    ),
569
+                ),
570
+
571
+                'alternate_background_color' => array(
572
+                    'label' => array('Alternative Hintergrundfarbe für Inhalt', 'Standardmäßig transparent (Style 1) oder weiß (Style 2)'),
573
+                    'inputType' => 'text',
574
+                    'eval' => array('tl_class' => 'w50'),
575
+                ),
576
+
577
+                'text_color' => array(
578
+                    'label' => array('Schriftfarbe als HEX-Wert falls abweichend', 'Standard-Farbe ist die Basis-Textfarbe'),
579
+                    'inputType' => 'text',
580
+                    'eval' => array('tl_class' => 'w50'),
581
+                ),
582
+
583
+                'text_align' => array(
584
+                    'label' => array(
585
+                        'de' => array('Text-Ausrichtung', ''),
586
+                    ),
587
+                    'inputType' => 'select',
588
+                    'options' => array(
589
+                        'text-start' => 'Linksbündig',
590
+                        'text-center' => 'Zentriert',
591
+                        'text-end' => 'Rechtsbündig',
592
+                    ),
593
+                    'eval' => array('tl_class' => 'w50'),
594
+                ),
595
+
596
+                'maxWidth' => array(
597
+                    'label' => array('Maximale Breite der Textbox', 'inkl. Maßeinheit, z. B. 400px'),
598
+                    'inputType' => 'text',
599
+                    'eval' => array('tl_class' => 'w50'),
600
+                ),
601
+
602
+                'dynamic_fontsize' => array(
603
+                    'label' => array('Schriftgröße abhängig von Bildschirmbreite skalieren', ''),
604
+                    'inputType' => 'checkbox',
605
+                    'eval' => array('tl_class' => 'clr'),
606
+                ),
607
+
608
+                'firstline_headline' => array(
609
+                    'label' => array('Erste Zeile ist eine Hauptüberschrift (H1)', ''),
610
+                    'inputType' => 'checkbox',
611
+                    'eval' => array('tl_class' => 'clr'),
612
+                ),
613
+                'text_firstline' => array(
614
+                    'label' => array('Erste Zeile', ''),
615
+                    'inputType' => 'text',
616
+                    'eval' => array('tl_class' => 'w50', 'allowHtml' => true),
617
+                ),
618
+                'text_secondline' => array(
619
+                    'label' => array('Zweite Zeile', ''),
620
+                    'inputType' => 'text',
621
+                    'eval' => array('tl_class' => 'w50', 'allowHtml' => true),
622
+                ),
623
+                'text_infotext' => array(
624
+                    'label' => array('Langtext unterhalb der Überschriften', ''),
625
+                    'inputType' => 'textarea',
626
+                    'eval' => array('rte' => 'tinyMCE', 'tl_class' => 'clr'),
627
+                ),
628
+
629
+
630
+                'buttons' => array(
631
+                    'label' => array('Button', ''),
632
+                    'elementLabel' => '%s. Button',
633
+                    'inputType' => 'list',
634
+                    'minItems' => 0,
635
+                    'maxItems' => 10,
636
+                    'fields' => array(
637
+                        'animation_type' => array(
638
+                            'label' => array(
639
+                                'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
640
+                            ),
641
+                            'inputType' => 'select',
642
+                            'options' => array(
643
+                                /* Fading entrances  */
644
+                                'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
645
+                                'no-animation' => 'Keine Animation',
646
+                                'animate__fadeIn' => 'fadeIn',
647
+                                'animate__fadeInDown' => 'fadeInDown',
648
+                                'animate__fadeInDownBig' => 'fadeInDownBig',
649
+                                'animate__fadeInLeft' => 'fadeInLeft',
650
+                                'animate__fadeInLeftBig' => 'fadeInLeftBig',
651
+                                'animate__fadeInRight' => 'fadeInRight',
652
+                                'animate__fadeInRightBig' => 'fadeInRightBig',
653
+                                'animate__fadeInUpBig' => 'fadeInUpBig',
654
+                                'animate__fadeInTopLeft' => 'fadeInTopLeft',
655
+                                'animate__fadeInTopRight' => 'fadeInTopRight',
656
+                                'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
657
+                                'animate__fadeInBottomRight' => 'fadeInBottomRight',
658
+                                /* Attention seekers  */
659
+                                'animate__bounce' => 'bounce',
660
+                                'animate__flash' => 'flash',
661
+                                'animate__pulse' => 'pulse',
662
+                                'animate__rubberBand' => 'rubberBand',
663
+                                'animate__shakeX' => 'shakeX',
664
+                                'animate__shakeY' => 'shakeY',
665
+                                'animate__headShake' => 'headShake',
666
+                                'animate__swing' => 'swing',
667
+                                'animate__tada' => 'tada',
668
+                                'animate__wobble' => 'wobble',
669
+                                'animate__jello' => 'jello',
670
+                                'animate__heartBeat' => 'heartBeat',
671
+                                /* Back entrances */
672
+                                'animate__backInDown' => 'backInDown',
673
+                                'animate__backInLeft' => 'backInLeft',
674
+                                'animate__backInRight' => 'backInRight',
675
+                                'animate__backInUp' => 'backInUp',
676
+                                /* Back exits */
677
+                                'animate__backOutDown' => 'backOutDown',
678
+                                'animate__backOutLeft' => 'backOutLeft',
679
+                                'animate__backOutRight' => 'backOutRight',
680
+                                'animate__backOutUp' => 'backOutUp',
681
+                                /* Bouncing entrances  */
682
+                                'animate__bounceIn' => 'bounceIn',
683
+                                'animate__bounceInDown' => 'bounceInDown',
684
+                                'animate__bounceInLeft' => 'bounceInLeft',
685
+                                'animate__bounceInRight' => 'bounceInRight',
686
+                                'animate__bounceInUp' => 'bounceInUp',
687
+                                /* Bouncing exits  */
688
+                                'animate__bounceOut' => 'bounceOut',
689
+                                'animate__bounceOutDown' => 'bounceOutDown',
690
+                                'animate__bounceOutLeft' => 'bounceOutLeft',
691
+                                'animate__bounceOutRight' => 'bounceOutRight',
692
+                                'animate__bounceOutUp' => 'bounceOutUp',
693
+                                /* Fading exits */
694
+                                'animate__fadeOut' => 'fadeOut',
695
+                                'animate__fadeOutDown' => 'fadeOutDown',
696
+                                'animate__fadeOutDownBig' => 'fadeOutDownBig',
697
+                                'animate__fadeOutLeft' => 'fadeOutLeft',
698
+                                'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
699
+                                'animate__fadeOutRight' => 'fadeOutRight',
700
+                                'animate__fadeOutRightBig' => 'fadeOutRightBig',
701
+                                'animate__fadeOutUp' => 'fadeOutUp',
702
+                                'animate__fadeOutUpBig' => 'fadeOutUpBig',
703
+                                'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
704
+                                'animate__fadeOutTopRight' => 'fadeOutTopRight',
705
+                                'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
706
+                                'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
707
+                                /* Flippers */
708
+                                'animate__flip' => 'flip',
709
+                                'animate__flipInX' => 'flipInX',
710
+                                'animate__flipInY' => 'flipInY',
711
+                                'animate__flipOutX' => 'flipOutX',
712
+                                'animate__flipOutY' => 'flipOutY',
713
+                                /* Lightspeed */
714
+                                'animate__lightSpeedInRight' => 'lightSpeedInRight',
715
+                                'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
716
+                                'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
717
+                                'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
718
+                                /* Rotating entrances */
719
+                                'animate__rotateIn' => 'rotateIn',
720
+                                'animate__rotateInDownLeft' => 'rotateInDownLeft',
721
+                                'animate__rotateInDownRight' => 'rotateInDownRight',
722
+                                'animate__rotateInUpLeft' => 'rotateInUpLeft',
723
+                                'animate__rotateInUpRight' => 'rotateInUpRight',
724
+                                /* Rotating exits */
725
+                                'animate__rotateOut' => 'rotateOut',
726
+                                'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
727
+                                'animate__rotateOutDownRight' => 'rotateOutDownRight',
728
+                                'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
729
+                                'animate__rotateOutUpRight' => 'rotateOutUpRight',
730
+                                /* Specials */
731
+                                'animate__hinge' => 'hinge',
732
+                                'animate__jackInTheBox' => 'jackInTheBox',
733
+                                'animate__rollIn' => 'rollIn',
734
+                                'animate__rollOut' => 'rollOut',
735
+                                /* Zooming entrances */
736
+                                'animate__zoomIn' => 'zoomIn',
737
+                                'animate__zoomInDown' => 'zoomInDown',
738
+                                'animate__zoomInLeft' => 'zoomInLeft',
739
+                                'animate__zoomInRight' => 'zoomInRight',
740
+                                'animate__zoomInUp' => 'zoomInUp',
741
+                                /* Zooming exits */
742
+                                'animate__zoomOut' => 'zoomOut',
743
+                                'animate__zoomOutDown' => 'zoomOutDown',
744
+                                'animate__zoomOutLeft' => 'zoomOutLeft',
745
+                                'animate__zoomOutRight' => 'zoomOutRight',
746
+                                'animate__zoomOutUp' => 'zoomOutUp',
747
+                                /* Sliding entrances */
748
+                                'animate__slideInDown' => 'slideInDown',
749
+                                'animate__slideInLeft' => 'slideInLeft',
750
+                                'animate__slideInRight' => 'slideInRight',
751
+                                'animate__slideInUp' => 'slideInUp',
752
+                                /* Sliding exits */
753
+                                'animate__slideOutDown' => 'slideOutDown',
754
+                                'animate__slideOutLeft' => 'slideOutLeft',
755
+                                'animate__slideOutRight' => 'slideOutRight',
756
+                                'animate__slideOutUp' => 'slideOutUp',
757
+                            ),
758
+                            'eval' => array('chosen' => 'true')
759
+                        ),
760
+                        'link_text' => array(
761
+                            'label' => array(
762
+                                'de' => array('Button-Beschriftung', 'Button befindet sich rechts unter dem Text'),
763
+                            ),
764
+                            'inputType' => 'text',
765
+                        ),
766
+                        'link_url' => array(
767
+                            'label' => array('Verlinkung', 'z . B . mailto:info@gmx . de'),
768
+                            'inputType' => 'url',
769
+                        ),
770
+                        'link_betreff' => array(
771
+                            'label' => array('Betreffzeile für "mailto:" - Buttons', '(optional, falls Link eine neue Email öffnen soll)'),
772
+                            'inputType' => 'text',
773
+                        ),
774
+                        'link_type' => array(
775
+                            'label' => array(
776
+                                'de' => array('Optik des Buttons', ''),
777
+                            ),
778
+                            'inputType' => 'select',
779
+                            'options' => array(
780
+                                'btn-primary' => 'Hauptfarbe',
781
+                                'btn-outline-primary' => 'Hauptfarbe(Outline)',
782
+                                'btn-secondary' => 'Sekundär - Farbe',
783
+                                'btn-outline-secondary' => 'Sekundär - Farbe(Outline)',
784
+                                'btn-link with-arrow' => 'Link - Optik mit Pfeilen',
785
+                                'btn-outline-black' => 'Transparenter Button mit schwarzer Schrift und Rahmen', 'btn-outline-white' => 'Transparenter Button mit weißer Schrift und Rahmen',
786
+                                'btn-white' => 'Weißer Button mit schwarzer Schrift',
787
+                            ),
788
+                            'eval' => array('tl_class' => 'w50'),
789
+                        ),
790
+                        'link_size' => array(
791
+                            'label' => array(
792
+                                'de' => array('Größe des Buttons', ''),
793
+                            ),
794
+                            'inputType' => 'select',
795
+                            'options' => array(
796
+                                '' => 'Standard',
797
+                                'btn-sm' => 'Klein',
798
+                                'btn-lg' => 'Groß',
799
+                            ),
800
+                            'eval' => array('tl_class' => 'w50'),
801
+                        ),
802
+                    ),
803
+                ),
804
+
805
+
806
+            ),
807
+        ),
808
+    ),
809
+);