comand-component-library 4.0.2 → 4.0.4
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/README.md +32 -32
- package/dist/comand-component-library.js +3315 -1486
- package/dist/comand-component-library.umd.cjs +3 -4
- package/dist/index.html +16 -16
- package/dist/style.css +1 -1
- package/dist/styles/demopage-only.css +4 -0
- package/dist/styles/templates/casual.css +3 -0
- package/package.json +4 -4
- package/src/App.vue +2117 -0
- package/src/ComponentLibrary.vue +275 -610
- package/src/assets/data/fake-select-options.json +3 -2
- package/src/assets/data/form-elements.json +1 -1
- package/src/assets/styles/{global-styles.scss → component-library-global-styles.scss} +27 -14
- package/src/componentSettingsDataAndControls.vue +705 -0
- package/src/components/CmdAddressData.vue +1 -2
- package/src/components/CmdBox.vue +106 -52
- package/src/components/CmdCopyrightInformation.vue +5 -3
- package/src/components/CmdFakeSelect.vue +149 -78
- package/src/components/CmdFancyBox.vue +2 -2
- package/src/components/CmdFormElement.vue +62 -36
- package/src/components/CmdGoogleMaps.vue +5 -0
- package/src/components/CmdHeadline.vue +13 -5
- package/src/components/CmdIcon.vue +6 -2
- package/src/components/CmdImage.vue +6 -1
- package/src/components/CmdImageGallery.vue +15 -4
- package/src/components/CmdInputGroup.vue +87 -35
- package/src/components/CmdListOfLinks.vue +20 -7
- package/src/components/CmdListOfRequirements.vue +10 -18
- package/src/components/CmdLoginForm.vue +14 -2
- package/src/components/CmdMainNavigation.vue +5 -1
- package/src/components/CmdMultistepFormProgressBar.vue +13 -8
- package/src/components/CmdNewsletterSubscription.vue +18 -1
- package/src/components/CmdOpeningHoursItem.vue +1 -3
- package/src/components/CmdPagination.vue +5 -1
- package/src/components/CmdSiteFooter.vue +12 -2
- package/src/components/CmdSiteHeader.vue +2 -1
- package/src/components/CmdSlideButton.vue +7 -1
- package/src/components/CmdSlideshow.vue +33 -5
- package/src/components/CmdSocialNetworks.vue +18 -13
- package/src/components/CmdSocialNetworksItem.vue +5 -1
- package/src/components/CmdSystemMessage.vue +7 -1
- package/src/components/CmdTabs.vue +7 -7
- package/src/components/CmdTextImageBlock.vue +11 -2
- package/src/components/CmdThumbnailScroller.vue +23 -5
- package/src/components/CmdToggleDarkMode.vue +2 -2
- package/src/components/CmdTooltip.vue +50 -15
- package/src/components/CmdTooltipForFormElements.vue +96 -0
- package/src/components/CmdUploadForm.vue +29 -24
- package/src/components/CmdWidthLimitationWrapper.vue +1 -1
- package/src/components/ComponentSettings.vue +1 -1
- package/src/components/EditComponentWrapper.vue +1 -1
- package/src/main.js +2 -2
- package/src/assets/data/accordion.json +0 -45
package/src/ComponentLibrary.vue
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<a id="anchor-back-to-top"></a>
|
7
7
|
<CmdSidebar
|
8
8
|
:cmdHeadline="{headlineText: 'Site Settings', headlineLevel: 3, textAlign: 'center'}"
|
9
|
-
:openSidebar="
|
9
|
+
:openSidebar="openLeftSidebar"
|
10
10
|
@toggle-sidebar="setOpenStatusLeftSidebar"
|
11
11
|
>
|
12
12
|
<template #open>
|
@@ -29,7 +29,7 @@
|
|
29
29
|
<label for="select-template">
|
30
30
|
<span>Select template</span>
|
31
31
|
<select id="select-template" v-model="selectedTemplate">
|
32
|
-
<option value="blank">Blank</option>
|
32
|
+
<option value="blank">Blank/Unstyled</option>
|
33
33
|
<option value="business">Business</option>
|
34
34
|
<option value="casual">Casual</option>
|
35
35
|
<option value="dating">Dating</option>
|
@@ -47,8 +47,9 @@
|
|
47
47
|
>
|
48
48
|
<template v-slot:body>
|
49
49
|
<ul>
|
50
|
-
<li
|
51
|
-
|
50
|
+
<li :class="'active' ? activeEntry === 'CmdAddressData' : null"><a
|
51
|
+
href="#section-address-data"
|
52
|
+
@click="updateSettingsSidebar('CmdAddressData')">Address Data</a></li>
|
52
53
|
<li><a href="#section-advanced-form-elements">Advanced Form Elements</a></li>
|
53
54
|
<li><a href="#section-bank-account-data"
|
54
55
|
@click="updateSettingsSidebar('CmdBankAccountData')">Bank Account
|
@@ -129,6 +130,7 @@
|
|
129
130
|
</CmdBox>
|
130
131
|
</template>
|
131
132
|
</CmdBoxWrapper>
|
133
|
+
|
132
134
|
<dl class="comand-versions">
|
133
135
|
<dt>Frontend-Framework Version:</dt>
|
134
136
|
<dd>{{ packageJson.dependencies['comand-frontend-framework'].replace("^", "") }}</dd>
|
@@ -174,7 +176,7 @@
|
|
174
176
|
<!-- begin address-data ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
175
177
|
<CmdWidthLimitationWrapper>
|
176
178
|
<h2 class="headline-demopage" id="section-address-data">
|
177
|
-
Address Data
|
179
|
+
<span>Address Data</span>
|
178
180
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
179
181
|
@click.prevent="openSettingsSidebar('CmdAddressData')"></a>
|
180
182
|
</h2>
|
@@ -192,7 +194,7 @@
|
|
192
194
|
<!-- begin advanced form elements --------------------------------------------------------------------------------------------------------------------------------------------------->
|
193
195
|
<CmdWidthLimitationWrapper>
|
194
196
|
<h2 class="headline-demopage" id="section-advanced-form-elements">Advanced Form Elements</h2>
|
195
|
-
<h3>Form elements status:</h3>
|
197
|
+
<h3><span>Form elements status:</span></h3>
|
196
198
|
<div class="flex-container">
|
197
199
|
<ul class="list-status">
|
198
200
|
<li>
|
@@ -242,59 +244,52 @@
|
|
242
244
|
<CmdForm :use-fieldset="false" id="advanced-form-elements" novalidate="novalidate">
|
243
245
|
<fieldset class="grid-container-create-columns">
|
244
246
|
<legend>Legend</legend>
|
245
|
-
<h2
|
247
|
+
<h2 class="headline-demopage">
|
248
|
+
<span>Form Element-Component</span>
|
249
|
+
<a href="#" class="icon-cog" title="Open Component Settings"
|
250
|
+
@click.prevent="openSettingsSidebar('CmdFormElement')"></a>
|
251
|
+
</h2>
|
252
|
+
<CmdFormElement
|
253
|
+
ref="CmdFormElement"
|
254
|
+
v-bind="cmdFormElementSettingsData"
|
255
|
+
:status="validationStatus"
|
256
|
+
:disabled="disabledStatus"
|
257
|
+
/>
|
246
258
|
<div class="flex-container">
|
247
259
|
<CmdFormElement
|
248
|
-
labelText="Input
|
260
|
+
labelText="Input for datalist:"
|
249
261
|
element="input"
|
250
262
|
type="text"
|
251
263
|
:status="validationStatus"
|
252
264
|
:disabled="disabledStatus"
|
253
|
-
placeholder="Type in
|
265
|
+
placeholder="Type in option"
|
266
|
+
:datalist="datalist"
|
254
267
|
tooltipText="This is a tooltip"
|
255
|
-
v-bind="{useCustomTooltip: false}"
|
256
268
|
/>
|
269
|
+
</div>
|
270
|
+
<div class="flex-container">
|
257
271
|
<CmdFormElement
|
258
|
-
labelText="Input
|
259
|
-
element="
|
260
|
-
|
272
|
+
labelText="Input (type search (without search-button)):"
|
273
|
+
element="input"
|
274
|
+
type="search"
|
261
275
|
:status="validationStatus"
|
262
276
|
:disabled="disabledStatus"
|
263
|
-
|
264
|
-
|
277
|
+
:showSearchButton="false"
|
278
|
+
placeholder="Search"
|
279
|
+
tooltipText="This is a tooltip"
|
280
|
+
v-bind="{useCustomTooltip: false}"
|
265
281
|
/>
|
266
282
|
<CmdFormElement
|
267
|
-
labelText="Input
|
283
|
+
labelText="Input (type search (with search-button)):"
|
268
284
|
element="input"
|
269
|
-
type="
|
285
|
+
type="search"
|
270
286
|
:status="validationStatus"
|
271
287
|
:disabled="disabledStatus"
|
272
|
-
placeholder="
|
273
|
-
:datalist="datalist"
|
288
|
+
placeholder="Search"
|
274
289
|
tooltipText="This is a tooltip"
|
290
|
+
v-bind="{useCustomTooltip: false}"
|
275
291
|
/>
|
276
292
|
</div>
|
277
|
-
<CmdFormElement
|
278
|
-
labelText="Input (type search (without search-button)):"
|
279
|
-
element="input"
|
280
|
-
type="search"
|
281
|
-
:status="validationStatus"
|
282
|
-
:disabled="disabledStatus"
|
283
|
-
:showSearchButton="false"
|
284
|
-
placeholder="Search"
|
285
|
-
tooltipText="This is a tooltip"
|
286
|
-
v-bind="{useCustomTooltip: false}"
|
287
|
-
/>
|
288
|
-
<CmdFormElement
|
289
|
-
labelText="Input (type search (with search-button)):"
|
290
|
-
element="input"
|
291
|
-
type="search"
|
292
|
-
:status="validationStatus"
|
293
|
-
:disabled="disabledStatus"
|
294
|
-
placeholder="Search"
|
295
|
-
tooltipText="This is a tooltip"
|
296
|
-
v-bind="{useCustomTooltip: false}"
|
297
|
-
/>
|
298
293
|
<h2>Inputfields in Columns</h2>
|
299
294
|
<div class="flex-container">
|
300
295
|
<CmdFormElement
|
@@ -444,27 +439,21 @@
|
|
444
439
|
:disabled="disabledStatus"
|
445
440
|
/>
|
446
441
|
<hr/>
|
447
|
-
|
442
|
+
<!-- begin FakeSelect -->
|
443
|
+
<h3 class="headline-demopage">
|
444
|
+
<span>Fake Selects</span>
|
445
|
+
<a href="#" class="icon-cog" title="Open Component Settings"
|
446
|
+
@click.prevent="openSettingsSidebar('CmdFakeSelect')"></a>
|
447
|
+
</h3>
|
448
448
|
<div class="flex-container">
|
449
449
|
<!-- type === default: normal selectbox (with optional icons) -->
|
450
450
|
<CmdFakeSelect
|
451
|
-
|
452
|
-
|
453
|
-
:disabled="disabledStatus"
|
451
|
+
ref="CmdFakeSelect"
|
452
|
+
v-bind="cmdFakeSelectSettingsData"
|
454
453
|
:selectData="fakeSelectOptionsData"
|
455
454
|
v-model="fakeSelectDefault"
|
456
|
-
|
457
|
-
|
458
|
-
title="Title for FakeSelect"
|
459
|
-
/>
|
460
|
-
<CmdFakeSelect
|
461
|
-
labelText="Default selectbox with icons:"
|
462
|
-
:status="validationStatus"
|
463
|
-
:disabled="disabledStatus"
|
464
|
-
:selectData="fakeSelectOptionsWithIconsData"
|
465
|
-
v-model="fakeSelectDefaultWithIcons"
|
466
|
-
defaultOptionName="Select an option:"
|
467
|
-
/>
|
455
|
+
>
|
456
|
+
</CmdFakeSelect>
|
468
457
|
<!-- type === checkboxOptions: selectbox with checkboxes for each option -->
|
469
458
|
<CmdFakeSelect
|
470
459
|
labelText="Selectbox with checkboxes:"
|
@@ -489,24 +478,6 @@
|
|
489
478
|
type="checkboxOptions"
|
490
479
|
:useCustomTooltip="true"
|
491
480
|
/>
|
492
|
-
<CmdFakeSelect
|
493
|
-
labelText="Selectbox with slot-content:"
|
494
|
-
:status="validationStatus"
|
495
|
-
:disabled="disabledStatus"
|
496
|
-
type="content"
|
497
|
-
defaultOptionName="HTML-Content:">
|
498
|
-
<ul class="custom-fake-select-content">
|
499
|
-
<li>
|
500
|
-
<div>
|
501
|
-
<h3>Headline</h3>
|
502
|
-
<p>Some content inside a paragraph</p>
|
503
|
-
</div>
|
504
|
-
<img
|
505
|
-
src="media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-landscape.jpg"
|
506
|
-
alt="image"/>
|
507
|
-
</li>
|
508
|
-
</ul>
|
509
|
-
</CmdFakeSelect>
|
510
481
|
<CmdFakeSelect
|
511
482
|
labelText="Selectbox with country flags:"
|
512
483
|
:status="validationStatus"
|
@@ -526,7 +497,7 @@
|
|
526
497
|
type="color"
|
527
498
|
/>
|
528
499
|
</div>
|
529
|
-
|
500
|
+
<!-- emd FakeSelect -->
|
530
501
|
<hr/>
|
531
502
|
|
532
503
|
<!-- begin progress bar -->
|
@@ -678,8 +649,9 @@
|
|
678
649
|
checkboxes with values: {{ checkboxValues }}
|
679
650
|
</p>
|
680
651
|
|
681
|
-
|
682
|
-
|
652
|
+
<!-- begin cmd-toggle-darkmode -->
|
653
|
+
<h3 class="headline-demopage" id="section-toggle-darkmode">
|
654
|
+
<span>Toggle Dark-Mode</span>
|
683
655
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
684
656
|
@click.prevent="openSettingsSidebar('CmdToggleDarkMode')"></a>
|
685
657
|
</h3>
|
@@ -687,6 +659,7 @@
|
|
687
659
|
ref="CmdToggleDarkMode"
|
688
660
|
v-bind="cmdToggleDarkModeSettingsData"
|
689
661
|
/>
|
662
|
+
<!-- end cmd-toggle-darkmode -->
|
690
663
|
|
691
664
|
<h2>Checkboxes and Radiobuttons</h2>
|
692
665
|
<h3>Checkboxes [native]</h3>
|
@@ -828,7 +801,7 @@
|
|
828
801
|
<!-- end checkboxes and radiobuttons -->
|
829
802
|
|
830
803
|
<!-- begin input-groups -->
|
831
|
-
<h3 id="section-input-group">
|
804
|
+
<h3 class="headline-demopage" id="section-input-group">
|
832
805
|
Input-Group
|
833
806
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
834
807
|
@click.prevent="openSettingsSidebar('CmdInputGroup')"></a>
|
@@ -964,7 +937,7 @@
|
|
964
937
|
<!-- begin bank account data ----------------------------------------------------------------------------------------------------------------------------------------------------->
|
965
938
|
<CmdWidthLimitationWrapper>
|
966
939
|
<h2 class="headline-demopage" id="section-bank-account-data">
|
967
|
-
Bank Account Data
|
940
|
+
<span>Bank Account Data</span>
|
968
941
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
969
942
|
@click.prevent="openSettingsSidebar('CmdBankAccountData')"></a>
|
970
943
|
</h2>
|
@@ -978,10 +951,10 @@
|
|
978
951
|
<!-- end bank account data ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
979
952
|
|
980
953
|
<!-- begin boxes ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
981
|
-
<CmdWidthLimitationWrapper>
|
982
|
-
<h2 class="headline-demopage"
|
983
|
-
<h3>
|
984
|
-
Default Box
|
954
|
+
<CmdWidthLimitationWrapper anchorId="section-boxes">
|
955
|
+
<h2 class="headline-demopage">Boxes</h2>
|
956
|
+
<h3 class="headline-demopage">
|
957
|
+
<span>Default Box</span>
|
985
958
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
986
959
|
@click.prevent="openSettingsSidebar('CmdBox')"></a>
|
987
960
|
</h3>
|
@@ -989,8 +962,30 @@
|
|
989
962
|
ref="CmdBox"
|
990
963
|
v-bind="cmdBoxSettingsData"
|
991
964
|
textBody="Content"
|
965
|
+
:useSlots="['body', 'footer']"
|
992
966
|
:cmd-headline="{headlineText: 'Headline for box', headlineLevel: 4}"
|
993
|
-
|
967
|
+
>
|
968
|
+
<template v-slot:header>
|
969
|
+
<h4>
|
970
|
+
Texts given by slots
|
971
|
+
</h4>
|
972
|
+
</template>
|
973
|
+
<template v-slot:body>
|
974
|
+
<p>
|
975
|
+
This content with paragraphs inside is placed inside the box-body.
|
976
|
+
</p>
|
977
|
+
<p>
|
978
|
+
<strong>Header, Content/Body and Footer of this box are given by slots.</strong>
|
979
|
+
</p>
|
980
|
+
<p>Additionally 'allowContentToScroll' is active, which enables (as far as a max-height is
|
981
|
+
defined) the content of this box to scroll</p>
|
982
|
+
</template>
|
983
|
+
<template v-slot:footer>
|
984
|
+
<p>
|
985
|
+
Footer content
|
986
|
+
</p>
|
987
|
+
</template>
|
988
|
+
</CmdBox>
|
994
989
|
<CmdBoxWrapper
|
995
990
|
:useFlexbox="true"
|
996
991
|
:cmdHeadline="{headlineText: 'Boxes in BoxWrapper with flexbox', headlineLevel: 3}"
|
@@ -1004,7 +999,6 @@
|
|
1004
999
|
/>
|
1005
1000
|
</CmdBoxWrapper>
|
1006
1001
|
<CmdBoxWrapper
|
1007
|
-
:useFlexbox="true"
|
1008
1002
|
:use-gap="true"
|
1009
1003
|
:cmdHeadline="{headlineText: 'Different examples of content-boxes (in BoxWrapper)', headlineLevel: 3}"
|
1010
1004
|
>
|
@@ -1032,7 +1026,8 @@
|
|
1032
1026
|
<p>
|
1033
1027
|
<strong>Header, Content/Body and Footer of this box are given by slots.</strong>
|
1034
1028
|
</p>
|
1035
|
-
<p>Additionally 'allowContentToScroll' is active, which enables (as far as a max-height
|
1029
|
+
<p>Additionally 'allowContentToScroll' is active, which enables (as far as a max-height
|
1030
|
+
is defined) the content of this box to scroll</p>
|
1036
1031
|
</template>
|
1037
1032
|
<template v-slot:footer>
|
1038
1033
|
<p>
|
@@ -1040,6 +1035,37 @@
|
|
1040
1035
|
</p>
|
1041
1036
|
</template>
|
1042
1037
|
</CmdBox>
|
1038
|
+
<CmdBox :useSlots="['header', 'body']" :use-default-padding="false" :collapsible="true">
|
1039
|
+
<template v-slot:header>
|
1040
|
+
<h4>
|
1041
|
+
Box with inputs
|
1042
|
+
</h4>
|
1043
|
+
</template>
|
1044
|
+
<template v-slot:body>
|
1045
|
+
<CmdForm :showLegend="false" textLegend="Login Form">
|
1046
|
+
<CmdFormElement
|
1047
|
+
element="input"
|
1048
|
+
type="text"
|
1049
|
+
:required="true"
|
1050
|
+
labelText="Username:"
|
1051
|
+
placeholder="Username"
|
1052
|
+
/>
|
1053
|
+
<CmdFormElement
|
1054
|
+
element="input"
|
1055
|
+
type="password"
|
1056
|
+
:required="true"
|
1057
|
+
labelText="Password:"
|
1058
|
+
placeholder="Password"
|
1059
|
+
/>
|
1060
|
+
</CmdForm>
|
1061
|
+
</template>
|
1062
|
+
<!-- will not be displayed, because useSlots-property does not contain 'footer' in array -->
|
1063
|
+
<template v-slot:footer>
|
1064
|
+
<p>
|
1065
|
+
footer content
|
1066
|
+
</p>
|
1067
|
+
</template>
|
1068
|
+
</CmdBox>
|
1043
1069
|
<CmdBox :useSlots="['header', 'body']" :use-default-padding="false">
|
1044
1070
|
<template v-slot:header>
|
1045
1071
|
<h4>
|
@@ -1072,7 +1098,7 @@
|
|
1072
1098
|
</h4>
|
1073
1099
|
</template>
|
1074
1100
|
<template v-slot:body>
|
1075
|
-
<img src="media/images/content-images/landscape-medium.jpg" alt="Alternative text"/>
|
1101
|
+
<img src="/media/images/content-images/landscape-medium.jpg" alt="Alternative text"/>
|
1076
1102
|
</template>
|
1077
1103
|
</CmdBox>
|
1078
1104
|
<CmdBox :useSlots="['header', 'body', 'footer']" :use-default-padding="false">
|
@@ -1082,7 +1108,7 @@
|
|
1082
1108
|
</h4>
|
1083
1109
|
</template>
|
1084
1110
|
<template v-slot:body>
|
1085
|
-
<img src="media/images/content-images/landscape-medium.jpg" alt="Alternative text"/>
|
1111
|
+
<img src="/media/images/content-images/landscape-medium.jpg" alt="Alternative text"/>
|
1086
1112
|
<div class="default-padding">
|
1087
1113
|
<h4>Headline</h4>
|
1088
1114
|
<p>This is some text information i.e a short-text for a news teaser.</p>
|
@@ -1141,7 +1167,7 @@
|
|
1141
1167
|
<!-- begin breadcrumbs ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1142
1168
|
<CmdWidthLimitationWrapper inner-component="div">
|
1143
1169
|
<h2 class="headline-demopage" id="section-breadcrumbs">
|
1144
|
-
Breadcrumbs
|
1170
|
+
<span>Breadcrumbs</span>
|
1145
1171
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1146
1172
|
@click.prevent="openSettingsSidebar('CmdBreadcrumbs')"></a>
|
1147
1173
|
</h2>
|
@@ -1213,31 +1239,31 @@
|
|
1213
1239
|
with text</a>
|
1214
1240
|
<h3>FancyBox with large image given by url</h3>
|
1215
1241
|
<a href="#"
|
1216
|
-
@click.prevent="showFancyBox('url', 'media/images/demo-images/large/landscape-01.jpg', 'FancyBox with large image given by url')"
|
1242
|
+
@click.prevent="showFancyBox('url', '/media/images/demo-images/large/landscape-01.jpg', 'FancyBox with large image given by url')"
|
1217
1243
|
title="Open FancyBox with large image given by url"
|
1218
1244
|
style="display: inline-flex;"
|
1219
1245
|
>
|
1220
|
-
<img src="media/images/demo-images/small/landscape-01.jpg" alt="Alternative text"/>
|
1246
|
+
<img src="/media/images/demo-images/small/landscape-01.jpg" alt="Alternative text"/>
|
1221
1247
|
</a>
|
1222
1248
|
<h3>FancyBox with large image given by property</h3>
|
1223
1249
|
<a href="#"
|
1224
|
-
@click.prevent="showFancyBox('image', {large:'media/images/demo-images/large/landscape-02.jpg'}, 'FancyBox with large image given by property')"
|
1250
|
+
@click.prevent="showFancyBox('image', {large:'/media/images/demo-images/large/landscape-02.jpg'}, 'FancyBox with large image given by property')"
|
1225
1251
|
title="Open FancyBox with large image given by property"
|
1226
1252
|
style="display: inline-flex;"
|
1227
1253
|
>
|
1228
|
-
<img src="media/images/demo-images/small/landscape-02.jpg" alt="Alternative text"/>
|
1254
|
+
<img src="/media/images/demo-images/small/landscape-02.jpg" alt="Alternative text"/>
|
1229
1255
|
</a>
|
1230
1256
|
<h3>FancyBox with image as object give by property</h3>
|
1231
1257
|
<a href="#"
|
1232
1258
|
@click.prevent="showFancyBox('image', {
|
1233
|
-
small: 'media/images/demo-images/medium/landscape-03.jpg',
|
1234
|
-
medium: 'media/images/demo-images/medium/landscape-03.jpg',
|
1235
|
-
large: 'media/images/demo-images/large/landscape-03.jpg'
|
1259
|
+
small: '/media/images/demo-images/medium/landscape-03.jpg',
|
1260
|
+
medium: '/media/images/demo-images/medium/landscape-03.jpg',
|
1261
|
+
large: '/media/images/demo-images/large/landscape-03.jpg'
|
1236
1262
|
}, 'FancyBox with large image given by property')"
|
1237
1263
|
title="Open FancyBox with large image given by property"
|
1238
1264
|
style="display: inline-flex;"
|
1239
1265
|
>
|
1240
|
-
<img src="media/images/demo-images/small/landscape-03.jpg" alt="Alternative text"/>
|
1266
|
+
<img src="/media/images/demo-images/small/landscape-03.jpg" alt="Alternative text"/>
|
1241
1267
|
</a>
|
1242
1268
|
|
1243
1269
|
</CmdWidthLimitationWrapper>
|
@@ -1253,7 +1279,7 @@
|
|
1253
1279
|
<!-- begin headlines ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1254
1280
|
<CmdWidthLimitationWrapper>
|
1255
1281
|
<h2 class="headline-demopage" id="section-headlines">
|
1256
|
-
Headlines
|
1282
|
+
<span>Headlines</span>
|
1257
1283
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1258
1284
|
@click.prevent="openSettingsSidebar('CmdHeadline')"></a>
|
1259
1285
|
</h2>
|
@@ -1300,14 +1326,21 @@
|
|
1300
1326
|
<!-- begin images ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1301
1327
|
<CmdWidthLimitationWrapper>
|
1302
1328
|
<h2 class="headline-demopage" id="section-image">
|
1303
|
-
Image
|
1329
|
+
<span>Image</span>
|
1304
1330
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1305
1331
|
@click.prevent="openSettingsSidebar('CmdImage')"></a>
|
1306
1332
|
</h2>
|
1307
1333
|
<div class="flex-container">
|
1308
|
-
<CmdImage
|
1309
|
-
|
1310
|
-
|
1334
|
+
<CmdImage
|
1335
|
+
ref="CmdImage"
|
1336
|
+
:image="imageData[0].image"
|
1337
|
+
:figcaption="imageData[0].figcaption"
|
1338
|
+
v-bind="cmdImageSettingsData"
|
1339
|
+
/>
|
1340
|
+
<CmdImage
|
1341
|
+
:image="imageData[1].image"
|
1342
|
+
:figcaption="imageData[1].figcaption"
|
1343
|
+
/>
|
1311
1344
|
</div>
|
1312
1345
|
</CmdWidthLimitationWrapper>
|
1313
1346
|
<!-- end images ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
@@ -1315,7 +1348,7 @@
|
|
1315
1348
|
<!-- begin image-gallery------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1316
1349
|
<CmdWidthLimitationWrapper>
|
1317
1350
|
<h2 class="headline-demopage" id="section-image-gallery">
|
1318
|
-
Image-Gallery
|
1351
|
+
<span>Image-Gallery</span>
|
1319
1352
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1320
1353
|
@click.prevent="openSettingsSidebar('CmdImageGallery')"></a>
|
1321
1354
|
</h2>
|
@@ -1342,7 +1375,7 @@
|
|
1342
1375
|
<!-- begin list-of-links ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1343
1376
|
<CmdWidthLimitationWrapper>
|
1344
1377
|
<h2 class="headline-demopage" id="section-list-of-links">
|
1345
|
-
List Of Links
|
1378
|
+
<span>List Of Links</span>
|
1346
1379
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1347
1380
|
@click.prevent="openSettingsSidebar('CmdListOfLinks')"></a>
|
1348
1381
|
</h2>
|
@@ -1357,7 +1390,7 @@
|
|
1357
1390
|
<!-- begin login-form ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1358
1391
|
<CmdWidthLimitationWrapper>
|
1359
1392
|
<h2 class="headline-demopage" id="section-login-form">
|
1360
|
-
Login Form
|
1393
|
+
<span>Login Form</span>
|
1361
1394
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1362
1395
|
@click.prevent="openSettingsSidebar('CmdLoginForm')"></a>
|
1363
1396
|
</h2>
|
@@ -1371,7 +1404,7 @@
|
|
1371
1404
|
<!-- begin main-navigation ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1372
1405
|
<CmdWidthLimitationWrapper>
|
1373
1406
|
<h2 class="headline-demopage" id="section-main-navigation">
|
1374
|
-
Main Navigation
|
1407
|
+
<span>Main Navigation</span>
|
1375
1408
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1376
1409
|
@click.prevent="openSettingsSidebar('CmdMainNavigation')"></a>
|
1377
1410
|
</h2>
|
@@ -1386,7 +1419,7 @@
|
|
1386
1419
|
<!-- begin multistep-form-progress-bar ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1387
1420
|
<CmdWidthLimitationWrapper>
|
1388
1421
|
<h2 class="headline-demopage" id="section-multistep-form-progress-bar">
|
1389
|
-
Multistepform-Progressbar
|
1422
|
+
<span>Multistepform-Progressbar</span>
|
1390
1423
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1391
1424
|
@click.prevent="openSettingsSidebar('CmdMultistepFormProgressBar')"></a>
|
1392
1425
|
</h2>
|
@@ -1406,7 +1439,7 @@
|
|
1406
1439
|
<!-- begin newsletter-subscription ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1407
1440
|
<CmdWidthLimitationWrapper>
|
1408
1441
|
<h2 class="headline-demopage" id="section-newsletter-subscription">
|
1409
|
-
Newsletter Subscription
|
1442
|
+
<span>Newsletter Subscription</span>
|
1410
1443
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1411
1444
|
@click.prevent="openSettingsSidebar('CmdNewsletterSubscription')"></a>
|
1412
1445
|
</h2>
|
@@ -1424,7 +1457,7 @@
|
|
1424
1457
|
<!-- begin opening-hours ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1425
1458
|
<CmdWidthLimitationWrapper>
|
1426
1459
|
<h2 class="headline-demopage" id="section-opening-hours">
|
1427
|
-
Opening Hours
|
1460
|
+
<span>Opening Hours</span>
|
1428
1461
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1429
1462
|
@click.prevent="openSettingsSidebar('CmdOpeningHours')"></a>
|
1430
1463
|
</h2>
|
@@ -1440,7 +1473,7 @@
|
|
1440
1473
|
<!-- begin pagination ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1441
1474
|
<CmdWidthLimitationWrapper>
|
1442
1475
|
<h2 class="headline-demopage" id="section-pagination">
|
1443
|
-
Pagination
|
1476
|
+
<span>Pagination</span>
|
1444
1477
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1445
1478
|
@click.prevent="openSettingsSidebar('CmdPagination')"></a>
|
1446
1479
|
</h2>
|
@@ -1467,14 +1500,13 @@
|
|
1467
1500
|
<!-- begin site-header ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1468
1501
|
<CmdWidthLimitationWrapper>
|
1469
1502
|
<h2 class="headline-demopage" id="section-site-header">
|
1470
|
-
Site Header
|
1503
|
+
<span>Site Header</span>
|
1471
1504
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1472
1505
|
@click.prevent="openSettingsSidebar('CmdSiteHeader')"></a>
|
1473
1506
|
</h2>
|
1474
1507
|
<CmdSiteHeader
|
1475
1508
|
ref="CmdSiteHeader"
|
1476
1509
|
v-bind="cmdSiteHeaderSettingsData"
|
1477
|
-
:cmdMainNavigation="navigationData"
|
1478
1510
|
:cmdCompanyLogo="companyLogoData"
|
1479
1511
|
>
|
1480
1512
|
<template v-slot:topheader>
|
@@ -1491,7 +1523,7 @@
|
|
1491
1523
|
<!-- begin site-search ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1492
1524
|
<CmdWidthLimitationWrapper>
|
1493
1525
|
<h2 class="headline-demopage" id="section-site-search">
|
1494
|
-
Site Search
|
1526
|
+
<span>Site Search</span>
|
1495
1527
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1496
1528
|
@click.prevent="openSettingsSidebar('CmdSiteSearch')"></a>
|
1497
1529
|
</h2>
|
@@ -1511,7 +1543,7 @@
|
|
1511
1543
|
<!-- begin slideshow ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1512
1544
|
<CmdWidthLimitationWrapper>
|
1513
1545
|
<h2 class="headline-demopage" id="section-slideshow">
|
1514
|
-
Slideshow
|
1546
|
+
<span>Slideshow</span>
|
1515
1547
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1516
1548
|
@click.prevent="openSettingsSidebar('CmdSlideshow')"></a>
|
1517
1549
|
</h2>
|
@@ -1526,7 +1558,7 @@
|
|
1526
1558
|
<!-- begin social-networks ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1527
1559
|
<CmdWidthLimitationWrapper>
|
1528
1560
|
<h2 class="headline-demopage" id="section-social-networks">
|
1529
|
-
Social Networks
|
1561
|
+
<span>Social Networks</span>
|
1530
1562
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1531
1563
|
@click.prevent="openSettingsSidebar('CmdSocialNetworks')"></a>
|
1532
1564
|
</h2>
|
@@ -1551,7 +1583,7 @@
|
|
1551
1583
|
<!-- begin system-message ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1552
1584
|
<CmdWidthLimitationWrapper>
|
1553
1585
|
<h2 class="headline-demopage" id="section-system-message">
|
1554
|
-
System Message
|
1586
|
+
<span>System Message</span>
|
1555
1587
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1556
1588
|
@click.prevent="openSettingsSidebar('CmdSystemMessage')"></a>
|
1557
1589
|
</h2>
|
@@ -1571,7 +1603,7 @@
|
|
1571
1603
|
<!-- begin tables ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1572
1604
|
<CmdWidthLimitationWrapper>
|
1573
1605
|
<h2 class="headline-demopage" id="section-tables">
|
1574
|
-
Tables
|
1606
|
+
<span>Tables</span>
|
1575
1607
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1576
1608
|
@click.prevent="openSettingsSidebar('CmdTable')"></a>
|
1577
1609
|
</h2>
|
@@ -1582,16 +1614,21 @@
|
|
1582
1614
|
:table-data="tableDataLarge"
|
1583
1615
|
/>
|
1584
1616
|
<h3>Table as wide as possible</h3>
|
1585
|
-
<CmdTable
|
1586
|
-
|
1617
|
+
<CmdTable
|
1618
|
+
:collapsible="true"
|
1619
|
+
:fullWidthOnDefault="false"
|
1620
|
+
:userCanToggleWidth="true"
|
1621
|
+
:table-data="tableDataLarge"
|
1622
|
+
/>
|
1587
1623
|
</CmdWidthLimitationWrapper>
|
1588
1624
|
<!-- end tables ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1589
1625
|
|
1590
1626
|
<!-- begin tabs ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1591
1627
|
<CmdWidthLimitationWrapper>
|
1592
1628
|
<h2 class="headline-demopage" id="section-tabs">
|
1593
|
-
Tabs
|
1594
|
-
<a href="#" class="icon-cog" title="Open Component Settings"
|
1629
|
+
<span>Tabs</span>
|
1630
|
+
<a href="#" class="icon-cog" title="Open Component Settings"
|
1631
|
+
@click.prevent="openSettingsSidebar('CmdTabs')"></a>
|
1595
1632
|
</h2>
|
1596
1633
|
<CmdTabs
|
1597
1634
|
ref="CmdTabs"
|
@@ -1619,7 +1656,7 @@
|
|
1619
1656
|
<!-- begin text-image-block ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1620
1657
|
<CmdWidthLimitationWrapper>
|
1621
1658
|
<h2 class="headline-demopage" id="section-text-image-block">
|
1622
|
-
Text-Image-Block
|
1659
|
+
<span>Text-Image-Block</span>
|
1623
1660
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1624
1661
|
@click.prevent="openSettingsSidebar('CmdTextImageBlock')"></a>
|
1625
1662
|
</h2>
|
@@ -1627,7 +1664,7 @@
|
|
1627
1664
|
<CmdTextImageBlock
|
1628
1665
|
ref="CmdTextImageBlock"
|
1629
1666
|
v-bind="cmdTextImageBlockSettingsData"
|
1630
|
-
:cmdHeadline="{headlineText: 'Text-Image-Block with image', headlineLevel: 3}"
|
1667
|
+
:cmdHeadline="{headlineText: 'Text-Image-Block (with image and plain text)', headlineLevel: 3}"
|
1631
1668
|
:cmdImage='{
|
1632
1669
|
"image": {
|
1633
1670
|
"src": "/media/images/demo-images/large/landscape-01.jpg",
|
@@ -1641,11 +1678,24 @@
|
|
1641
1678
|
"show": true
|
1642
1679
|
}
|
1643
1680
|
}'
|
1644
|
-
htmlContent="
|
1681
|
+
htmlContent="This text is given as plain text and show below an optional image."
|
1645
1682
|
/>
|
1646
1683
|
<CmdTextImageBlock
|
1647
|
-
:cmdHeadline="{headlineText: '
|
1648
|
-
htmlContent="<p>
|
1684
|
+
:cmdHeadline="{headlineText: 'Text-Image-Block (with image and html-text)', headlineLevel: 3}"
|
1685
|
+
htmlContent="<p>This text is given as html-text and show below an optional image.</p>"
|
1686
|
+
:cmdImage='{
|
1687
|
+
"image": {
|
1688
|
+
"src": "/media/images/demo-images/large/landscape-02.jpg",
|
1689
|
+
"alt": "alternative text",
|
1690
|
+
"tooltip": "tooltip"
|
1691
|
+
},
|
1692
|
+
"figcaption": {
|
1693
|
+
"text": "figcaption",
|
1694
|
+
"position": "bottom",
|
1695
|
+
"textAlign": "center",
|
1696
|
+
"show": true
|
1697
|
+
}
|
1698
|
+
}'
|
1649
1699
|
/>
|
1650
1700
|
</div>
|
1651
1701
|
</CmdWidthLimitationWrapper>
|
@@ -1654,7 +1704,7 @@
|
|
1654
1704
|
<!-- begin thumbnail-scroller ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1655
1705
|
<CmdWidthLimitationWrapper>
|
1656
1706
|
<h2 class="headline-demopage" id="section-thumbnail-scroller">
|
1657
|
-
Thumbnail-Scroller
|
1707
|
+
<span>Thumbnail-Scroller</span>
|
1658
1708
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1659
1709
|
@click.prevent="openSettingsSidebar('CmdThumbnailScroller')"></a>
|
1660
1710
|
</h2>
|
@@ -1671,7 +1721,7 @@
|
|
1671
1721
|
<!-- begin tooltip ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1672
1722
|
<CmdWidthLimitationWrapper>
|
1673
1723
|
<h2 class="headline-demopage" id="section-tooltip">
|
1674
|
-
Tooltip
|
1724
|
+
<span>Tooltip</span>
|
1675
1725
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1676
1726
|
@click.prevent="openSettingsSidebar('CmdTooltip')"></a>
|
1677
1727
|
</h2>
|
@@ -1687,10 +1737,17 @@
|
|
1687
1737
|
>
|
1688
1738
|
Tooltip on hover
|
1689
1739
|
</CmdTooltip>
|
1690
|
-
<CmdTooltip
|
1740
|
+
<CmdTooltip
|
1741
|
+
:delay-to-show-tooltip="2000"
|
1742
|
+
related-id="show-with-delay"
|
1743
|
+
>
|
1691
1744
|
Tooltip on hover with delay
|
1692
1745
|
</CmdTooltip>
|
1693
|
-
<CmdTooltip
|
1746
|
+
<CmdTooltip
|
1747
|
+
related-id="show-on-click"
|
1748
|
+
:toggle-visibility-by-click="true"
|
1749
|
+
:allowEscapeKey="true"
|
1750
|
+
>
|
1694
1751
|
Tooltip on click
|
1695
1752
|
</CmdTooltip>
|
1696
1753
|
</CmdWidthLimitationWrapper>
|
@@ -1699,7 +1756,7 @@
|
|
1699
1756
|
<!-- begin upload-form ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1700
1757
|
<CmdWidthLimitationWrapper>
|
1701
1758
|
<h2 class="headline-demopage" id="section-upload-form">
|
1702
|
-
Upload-Form
|
1759
|
+
<span>Upload-Form</span>
|
1703
1760
|
<a href="#" class="icon-cog" title="Open Component Settings"
|
1704
1761
|
@click.prevent="openSettingsSidebar('CmdUploadForm')"></a>
|
1705
1762
|
</h2>
|
@@ -1711,6 +1768,13 @@
|
|
1711
1768
|
<!-- end upload-form ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1712
1769
|
</main>
|
1713
1770
|
|
1771
|
+
<CmdSiteFooter>
|
1772
|
+
<!-- begin parent-component -->
|
1773
|
+
Footer
|
1774
|
+
<!-- end parent-component -->
|
1775
|
+
</CmdSiteFooter>
|
1776
|
+
<!-- end cmd-site-footer -->
|
1777
|
+
|
1714
1778
|
<!-- begin copyright-information ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1715
1779
|
<CmdCopyrightInformation/>
|
1716
1780
|
<!-- end copyright-information ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
@@ -1742,6 +1806,8 @@
|
|
1742
1806
|
<!-- end cookie-disclaimer ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1743
1807
|
</CmdFancyBox>
|
1744
1808
|
<!-- end fancy-box ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1809
|
+
|
1810
|
+
<!-- begin component-settings-sidebar ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1745
1811
|
<CmdSidebar
|
1746
1812
|
v-if="showSettingsSidebar"
|
1747
1813
|
id="component-settings"
|
@@ -1759,13 +1825,13 @@
|
|
1759
1825
|
/>
|
1760
1826
|
</template>
|
1761
1827
|
</CmdSidebar>
|
1828
|
+
<!-- end component-settings-sidebar ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1762
1829
|
</div><!-- end #page-wrapper -->
|
1763
|
-
</div
|
1830
|
+
</div><!-- end #template-id-wrapper -->
|
1764
1831
|
</template>
|
1765
1832
|
|
1766
1833
|
<script>
|
1767
1834
|
// import used example data
|
1768
|
-
import accordionData from '@/assets/data/accordion.json'
|
1769
1835
|
import addressData from '@/assets/data/address-data.json'
|
1770
1836
|
import bankAccountData from '@/assets/data/bank-account-data.json'
|
1771
1837
|
import boxUserData from '@/assets/data/box-user.json'
|
@@ -1777,7 +1843,6 @@ import fakeSelectColorsData from '@/assets/data/fake-select-colors.json'
|
|
1777
1843
|
import fakeSelectCountriesData from '@/assets/data/fake-select-countries.json'
|
1778
1844
|
import fakeSelectFilterOptionsData from '@/assets/data/fake-select-filter-options.json'
|
1779
1845
|
import fakeSelectOptionsData from '@/assets/data/fake-select-options.json'
|
1780
|
-
import fakeSelectOptionsWithIconsData from '@/assets/data/fake-select-options-with-icons.json'
|
1781
1846
|
import formElementsData from '@/assets/data/form-elements.json'
|
1782
1847
|
import imageData from '@/assets/data/image.json'
|
1783
1848
|
import imageGalleryData from '@/assets/data/image-gallery.json'
|
@@ -1804,422 +1869,16 @@ import {openFancyBox} from "@/components/CmdFancyBox.vue"
|
|
1804
1869
|
|
1805
1870
|
// import external functions
|
1806
1871
|
import * as functions from "@/mixins/FieldValidation.js"
|
1872
|
+
import componentSettingsDataAndControls from "@/componentSettingsDataAndControls.vue"
|
1807
1873
|
|
1808
1874
|
import {localizedTime} from "./components/CmdOpeningHours.vue"
|
1809
1875
|
|
1810
1876
|
export default {
|
1811
1877
|
name: "App",
|
1878
|
+
mixins: [componentSettingsDataAndControls],
|
1812
1879
|
data() {
|
1813
1880
|
return {
|
1814
|
-
|
1815
|
-
useSlot: false,
|
1816
|
-
showLabelIcons: true,
|
1817
|
-
showLabelTexts: false,
|
1818
|
-
showIconsOnly: false,
|
1819
|
-
showLabels: true
|
1820
|
-
},
|
1821
|
-
cmdBankAccountDataSettingsData: {
|
1822
|
-
allowCopyByClick: false,
|
1823
|
-
additionalInformation: ""
|
1824
|
-
},
|
1825
|
-
cmdBreadcrumbsSettingsData: {
|
1826
|
-
breadcrumbLabel: "You are here",
|
1827
|
-
breadcrumbSeparator: ">"
|
1828
|
-
},
|
1829
|
-
cmdBoxSettingsData: {
|
1830
|
-
openCollapsedBox: false,
|
1831
|
-
rowView: false,
|
1832
|
-
boxType: "content",
|
1833
|
-
collapsible: false,
|
1834
|
-
cutoffTextLines: 0,
|
1835
|
-
useDefaultPadding: true,
|
1836
|
-
repeatHeadlineInBoxBody: false,
|
1837
|
-
fadeLastLine: true,
|
1838
|
-
useTransition: false,
|
1839
|
-
boxBodyClass: "",
|
1840
|
-
profileType: "business",
|
1841
|
-
textBody: "",
|
1842
|
-
stretchHorizontally: true,
|
1843
|
-
stretchVertically: true
|
1844
|
-
},
|
1845
|
-
cmdBoxSettingsControls: {
|
1846
|
-
"boxType": [
|
1847
|
-
{
|
1848
|
-
text: "Content (default)",
|
1849
|
-
value: "content"
|
1850
|
-
},
|
1851
|
-
{
|
1852
|
-
text: "Product",
|
1853
|
-
value: "product"
|
1854
|
-
},
|
1855
|
-
{
|
1856
|
-
text: "User",
|
1857
|
-
value: "user"
|
1858
|
-
}
|
1859
|
-
]
|
1860
|
-
},
|
1861
|
-
cmdHeadlineSettingsData: {
|
1862
|
-
preHeadlineText: "Pre-headline text",
|
1863
|
-
headlineText: "Headline text",
|
1864
|
-
headlineLevel: 1,
|
1865
|
-
textAlign: "left"
|
1866
|
-
},
|
1867
|
-
cmdHeadlineSettingsControls: {
|
1868
|
-
"textAlign": [
|
1869
|
-
{
|
1870
|
-
text: "Left (default)",
|
1871
|
-
value: "left"
|
1872
|
-
},
|
1873
|
-
{
|
1874
|
-
text: "Center",
|
1875
|
-
value: "center"
|
1876
|
-
},
|
1877
|
-
{
|
1878
|
-
text: "Right",
|
1879
|
-
value: "right"
|
1880
|
-
}
|
1881
|
-
]
|
1882
|
-
},
|
1883
|
-
cmdInputGroupSettingsData: {
|
1884
|
-
required: false,
|
1885
|
-
inputTypes: "radio",
|
1886
|
-
status: "",
|
1887
|
-
replaceInputType: false,
|
1888
|
-
toggleSwitch: false,
|
1889
|
-
useSlot: false,
|
1890
|
-
multipleSwitch: false,
|
1891
|
-
showLabel: true,
|
1892
|
-
labelText: "Group label for input-group:",
|
1893
|
-
labelInline: false,
|
1894
|
-
stretchHorizontally: false,
|
1895
|
-
disabled: false
|
1896
|
-
},
|
1897
|
-
cmdInputGroupSettingsControls: {
|
1898
|
-
"inputTypes": [
|
1899
|
-
{
|
1900
|
-
text: "Checkbox (default)",
|
1901
|
-
value: "checkbox"
|
1902
|
-
},
|
1903
|
-
{
|
1904
|
-
text: "Radio",
|
1905
|
-
value: "radio"
|
1906
|
-
}
|
1907
|
-
]
|
1908
|
-
},
|
1909
|
-
cmdImageSettingsData: {},
|
1910
|
-
cmdImageGallerySettingsData: {
|
1911
|
-
useFancyboxForLargeImages: true,
|
1912
|
-
figcaptionPosition: "bottom"
|
1913
|
-
},
|
1914
|
-
cmdImageGallerySettingsControls: {
|
1915
|
-
figcaptionPosition: [
|
1916
|
-
{
|
1917
|
-
text: "Top",
|
1918
|
-
value: "top"
|
1919
|
-
},
|
1920
|
-
{
|
1921
|
-
text: "Bottom (default)",
|
1922
|
-
value: "bottom"
|
1923
|
-
}
|
1924
|
-
]
|
1925
|
-
},
|
1926
|
-
cmdListOfLinksSettingsData: {
|
1927
|
-
useGap: true,
|
1928
|
-
styleAsBox: false,
|
1929
|
-
largeIcons: false,
|
1930
|
-
sectionAnchors: false,
|
1931
|
-
orientation: "vertical",
|
1932
|
-
align: "left"
|
1933
|
-
},
|
1934
|
-
cmdListOfLinksSettingsControls: {
|
1935
|
-
align: [
|
1936
|
-
{
|
1937
|
-
text: "Left (default)",
|
1938
|
-
value: "left"
|
1939
|
-
},
|
1940
|
-
{
|
1941
|
-
text: "Center",
|
1942
|
-
value: "center"
|
1943
|
-
},
|
1944
|
-
{
|
1945
|
-
text: "Right",
|
1946
|
-
value: "right"
|
1947
|
-
},
|
1948
|
-
|
1949
|
-
],
|
1950
|
-
orientation: [
|
1951
|
-
{
|
1952
|
-
text: "Vertical (default)",
|
1953
|
-
value: "vertical"
|
1954
|
-
},
|
1955
|
-
{
|
1956
|
-
text: "Horizontal",
|
1957
|
-
value: "horizontal"
|
1958
|
-
}
|
1959
|
-
]
|
1960
|
-
},
|
1961
|
-
cmdLoginFormSettingsData: {
|
1962
|
-
textLegendLoginForm: "Login form",
|
1963
|
-
showLegend: true,
|
1964
|
-
textLegendForgotLoginForm: "Forgot login form"
|
1965
|
-
},
|
1966
|
-
cmdMainNavigationSettingsData: {
|
1967
|
-
offcanvasPosition: "right",
|
1968
|
-
stretchMainItems: false,
|
1969
|
-
persistOnMobile: false,
|
1970
|
-
subentriesIconClass: "icon-single-arrow-down",
|
1971
|
-
subSubentriesIconClass: "icon-single-arrow-right"
|
1972
|
-
},
|
1973
|
-
cmdMultistepFormProgressBarSettingsData: {
|
1974
|
-
showStepNumber: false,
|
1975
|
-
separatorIconClass: "icon-single-arrow-right"
|
1976
|
-
},
|
1977
|
-
cmdMultistepFormProgressBarSettingsControls: {
|
1978
|
-
separatorIconClass: [
|
1979
|
-
{
|
1980
|
-
text: "icon-single-arrow-right (default)",
|
1981
|
-
value: "icon-single-arrow-right"
|
1982
|
-
},
|
1983
|
-
{
|
1984
|
-
text: "icon-double-arrow-right",
|
1985
|
-
value: "icon-double-arrow-right"
|
1986
|
-
}
|
1987
|
-
]
|
1988
|
-
},
|
1989
|
-
cmdNewsletterSubscriptionSettingsData: {
|
1990
|
-
buttonType: "submit",
|
1991
|
-
showLegend: true,
|
1992
|
-
textLegend: "Stay up-to-date"
|
1993
|
-
},
|
1994
|
-
cmdNewsletterSubscriptionSettingsControls: {
|
1995
|
-
buttonType: [
|
1996
|
-
{
|
1997
|
-
text: "Button (default)",
|
1998
|
-
value: "button"
|
1999
|
-
},
|
2000
|
-
{
|
2001
|
-
text: "Submit",
|
2002
|
-
value: "submit"
|
2003
|
-
}
|
2004
|
-
]
|
2005
|
-
},
|
2006
|
-
cmdOpeningHoursSettingsData: {
|
2007
|
-
closed: true,
|
2008
|
-
separator: "-",
|
2009
|
-
textOpen: "Open right now!",
|
2010
|
-
textClosed: "Closed right now!",
|
2011
|
-
textHolidays: "",
|
2012
|
-
textMiscInfo: "",
|
2013
|
-
abbreviationTextAm: "am",
|
2014
|
-
abbreviationTextPm: "pm",
|
2015
|
-
componentHandlesClosedStatus: false,
|
2016
|
-
cmdHeadline: {
|
2017
|
-
headlineText: "Opening Hours",
|
2018
|
-
headlineLevel: 3
|
2019
|
-
}
|
2020
|
-
},
|
2021
|
-
cmdPaginationSettingsData: {
|
2022
|
-
pages: 3,
|
2023
|
-
itemsPerPage: 1,
|
2024
|
-
showPageNumbers: true,
|
2025
|
-
linkType: "button"
|
2026
|
-
},
|
2027
|
-
cmdPaginationSettingsControls: {
|
2028
|
-
linkType: [
|
2029
|
-
{
|
2030
|
-
text: "Href (default)",
|
2031
|
-
value: "href"
|
2032
|
-
},
|
2033
|
-
{
|
2034
|
-
text: "Button",
|
2035
|
-
value: "button"
|
2036
|
-
}
|
2037
|
-
]
|
2038
|
-
},
|
2039
|
-
cmdSiteHeaderSettingsData: {
|
2040
|
-
sticky: false,
|
2041
|
-
navigationInline: false,
|
2042
|
-
useGrid: true
|
2043
|
-
},
|
2044
|
-
cmdSiteSearchSettingsData: {
|
2045
|
-
useFilters: true,
|
2046
|
-
textLegend: "Search",
|
2047
|
-
showLegend: true
|
2048
|
-
},
|
2049
|
-
cmdSlideshowSettingsData: {
|
2050
|
-
useSlot: false,
|
2051
|
-
autoplay: false,
|
2052
|
-
autoplayInterval: 5000,
|
2053
|
-
showQuickLinkIcons: true,
|
2054
|
-
showCounter: true
|
2055
|
-
},
|
2056
|
-
cmdSocialNetworksSettingsData: {
|
2057
|
-
align: "left",
|
2058
|
-
useGap: true,
|
2059
|
-
stretchButtons: false,
|
2060
|
-
userMustAcceptDataPrivacy: true,
|
2061
|
-
tooltipAcceptDataPrivacy: "You must accept data privacy conditions!",
|
2062
|
-
buttonTextAlign: "left"
|
2063
|
-
},
|
2064
|
-
cmdSocialNetworksSettingsControls: {
|
2065
|
-
align: [
|
2066
|
-
{
|
2067
|
-
text: "Left (default)",
|
2068
|
-
value: "left"
|
2069
|
-
},
|
2070
|
-
{
|
2071
|
-
text: "Center",
|
2072
|
-
value: "center"
|
2073
|
-
},
|
2074
|
-
{
|
2075
|
-
text: "Right",
|
2076
|
-
value: "right"
|
2077
|
-
}
|
2078
|
-
]
|
2079
|
-
},
|
2080
|
-
cmdSystemMessageSettingsData: {
|
2081
|
-
validationStatus: "error",
|
2082
|
-
fullWidth: true,
|
2083
|
-
systemMessage: "This is an error message!",
|
2084
|
-
messageHeadlineLevel: 4
|
2085
|
-
},
|
2086
|
-
cmdSystemMessageSettingsControls: {
|
2087
|
-
validationStatus: [
|
2088
|
-
{
|
2089
|
-
text: "Error",
|
2090
|
-
value: "error"
|
2091
|
-
},
|
2092
|
-
{
|
2093
|
-
text: "Warning",
|
2094
|
-
value: "warning"
|
2095
|
-
},
|
2096
|
-
{
|
2097
|
-
text: "Success",
|
2098
|
-
value: "success"
|
2099
|
-
},
|
2100
|
-
{
|
2101
|
-
text: "Info",
|
2102
|
-
value: "info"
|
2103
|
-
}
|
2104
|
-
]
|
2105
|
-
},
|
2106
|
-
cmdTableSettingsData: {
|
2107
|
-
collapsible: false,
|
2108
|
-
fullWidthOnDefault: false,
|
2109
|
-
userCanToggleWidth: true,
|
2110
|
-
showSlideButtons: true
|
2111
|
-
},
|
2112
|
-
cmdTabsSettingsData: {
|
2113
|
-
stretchTabs: false,
|
2114
|
-
useSlot: false,
|
2115
|
-
activeTab: 0
|
2116
|
-
},
|
2117
|
-
cmdTextImageBlockSettingsData: {
|
2118
|
-
htmlContent: "Text given as html-content",
|
2119
|
-
paragraphTextAlign: "left",
|
2120
|
-
headlinePosition: "aboveImage"
|
2121
|
-
},
|
2122
|
-
cmdTextImageBlockSettingsControls: {
|
2123
|
-
paragraphTextAlign: [
|
2124
|
-
{
|
2125
|
-
text: "Left (default)",
|
2126
|
-
value: "left"
|
2127
|
-
},
|
2128
|
-
{
|
2129
|
-
text: "Center",
|
2130
|
-
value: "center"
|
2131
|
-
},
|
2132
|
-
{
|
2133
|
-
text: "Right",
|
2134
|
-
value: "right"
|
2135
|
-
}
|
2136
|
-
],
|
2137
|
-
headlinePosition: [
|
2138
|
-
{
|
2139
|
-
text: "Above Image (default)",
|
2140
|
-
value: "aboveImage"
|
2141
|
-
},
|
2142
|
-
{
|
2143
|
-
text: "Below Image",
|
2144
|
-
value: "belowImage"
|
2145
|
-
}
|
2146
|
-
]
|
2147
|
-
},
|
2148
|
-
cmdThumbnailScrollerSettingsData: {
|
2149
|
-
orientation: "horizontal",
|
2150
|
-
fullWidth: false,
|
2151
|
-
largeIcons: false,
|
2152
|
-
contentType: "image",
|
2153
|
-
executeOnClick: "fancyBox",
|
2154
|
-
allowOpenFancyBox: true,
|
2155
|
-
activeItemIndex: 0,
|
2156
|
-
useGalleryScroller: false
|
2157
|
-
},
|
2158
|
-
cmdThumbnailScrollerSettingsControls: {
|
2159
|
-
orientation: [
|
2160
|
-
{
|
2161
|
-
text: "Horizontal (default)",
|
2162
|
-
value: "horizontal"
|
2163
|
-
},
|
2164
|
-
{
|
2165
|
-
text: "Vertical",
|
2166
|
-
value: "vertical"
|
2167
|
-
}
|
2168
|
-
],
|
2169
|
-
contentType: [
|
2170
|
-
{
|
2171
|
-
text: "Image (default)",
|
2172
|
-
value: "image"
|
2173
|
-
},
|
2174
|
-
{
|
2175
|
-
text: "Text",
|
2176
|
-
value: "text"
|
2177
|
-
}
|
2178
|
-
],
|
2179
|
-
executeOnClick: [
|
2180
|
-
{
|
2181
|
-
text: "Fancybox (default)",
|
2182
|
-
value: "fancybox"
|
2183
|
-
},
|
2184
|
-
{
|
2185
|
-
text: "URL",
|
2186
|
-
value: "url"
|
2187
|
-
},
|
2188
|
-
{
|
2189
|
-
text: "Emit",
|
2190
|
-
value: "emit"
|
2191
|
-
}
|
2192
|
-
]
|
2193
|
-
},
|
2194
|
-
cmdToggleDarkModeSettingsData: {
|
2195
|
-
styledAsButton: false,
|
2196
|
-
showLabel: true,
|
2197
|
-
useStyledLayout: false,
|
2198
|
-
labelTextDarkMode: "Dark-mode enabled",
|
2199
|
-
labelTextLightMode: "Light-mode enabled"
|
2200
|
-
},
|
2201
|
-
cmdTooltipSettingsData: {
|
2202
|
-
tooltipText: "This is a tooltip!",
|
2203
|
-
delayToShowTooltip: 0,
|
2204
|
-
status: "",
|
2205
|
-
toggleVisibilityByClick: false
|
2206
|
-
},
|
2207
|
-
cmdUploadFormSettingsData: {
|
2208
|
-
showTotalUpload: true,
|
2209
|
-
componentHandlesUpload: true,
|
2210
|
-
commentRequired: true,
|
2211
|
-
commentStatusMessage: "",
|
2212
|
-
enableDragAndDrop: false,
|
2213
|
-
enableComment: true,
|
2214
|
-
presetComment: "",
|
2215
|
-
maxTotalUploadSize: 5242880,
|
2216
|
-
maxFileUploadSize: 10485760,
|
2217
|
-
allowMultipleFileUploads: false,
|
2218
|
-
advancedMode: true,
|
2219
|
-
showLegend: true,
|
2220
|
-
textLegend: "Advanced upload form",
|
2221
|
-
allowedFileExtensions: ["jpg", "eps"]
|
2222
|
-
},
|
1881
|
+
activeEntry: "CmdAddressData",
|
2223
1882
|
componentControls: {},
|
2224
1883
|
selectedTemplate: "blank",
|
2225
1884
|
acceptedCookies: ["google-maps"],
|
@@ -2310,8 +1969,7 @@ export default {
|
|
2310
1969
|
radiobuttonValue: "radiobuttonValue1",
|
2311
1970
|
replacedRadiobuttonValue: "radiobuttonValue1",
|
2312
1971
|
fancyBoxCookieDisclaimer: false,
|
2313
|
-
fakeSelectDefault:
|
2314
|
-
fakeSelectDefaultWithIcons: 1,
|
1972
|
+
fakeSelectDefault: "",
|
2315
1973
|
fakeSelectCheckbox: [1],
|
2316
1974
|
fakeSelectFilters: [],
|
2317
1975
|
datalist: {
|
@@ -2331,10 +1989,9 @@ export default {
|
|
2331
1989
|
],
|
2332
1990
|
openLeftSidebar: true,
|
2333
1991
|
openRightSidebar: false,
|
2334
|
-
openBoxes: [
|
1992
|
+
openBoxes: [1],
|
2335
1993
|
|
2336
1994
|
// assign data from json files to data-properties
|
2337
|
-
accordionData,
|
2338
1995
|
addressData,
|
2339
1996
|
bankAccountData,
|
2340
1997
|
boxProductData,
|
@@ -2346,7 +2003,6 @@ export default {
|
|
2346
2003
|
fakeSelectCountriesData,
|
2347
2004
|
fakeSelectFilterOptionsData,
|
2348
2005
|
fakeSelectOptionsData,
|
2349
|
-
fakeSelectOptionsWithIconsData,
|
2350
2006
|
formElementsData,
|
2351
2007
|
listOfLinksData,
|
2352
2008
|
imageData,
|
@@ -2380,7 +2036,12 @@ export default {
|
|
2380
2036
|
}
|
2381
2037
|
},
|
2382
2038
|
methods: {
|
2039
|
+
setActiveEntry(ComponentName) {
|
2040
|
+
this.activeEntry = ComponentName
|
2041
|
+
},
|
2383
2042
|
updateSettingsSidebar(ComponentName) {
|
2043
|
+
this.setActiveEntry(ComponentName)
|
2044
|
+
|
2384
2045
|
if (this.openRightSidebar) {
|
2385
2046
|
this.openSettingsSidebar(ComponentName)
|
2386
2047
|
}
|
@@ -2429,7 +2090,7 @@ export default {
|
|
2429
2090
|
return (h, m) => (localizedTime(language))(h, m).toLowerCase()
|
2430
2091
|
},
|
2431
2092
|
idForReplacedInputsInInputGroup(prefix) {
|
2432
|
-
return inputGroupRadiobuttonsData.map(item => ({...item, id: prefix + item.id}))
|
2093
|
+
return inputGroupRadiobuttonsData.map(item => ({...item, id: prefix + item.id, name: prefix + item.name}))
|
2433
2094
|
},
|
2434
2095
|
closeCookieDisclaimer(event) {
|
2435
2096
|
this.fancyBoxCookieDisclaimer = false
|
@@ -2548,82 +2209,86 @@ export default {
|
|
2548
2209
|
</script>
|
2549
2210
|
|
2550
2211
|
<style>
|
2551
|
-
.
|
2552
|
-
.
|
2553
|
-
|
2554
|
-
|
2555
|
-
|
2212
|
+
.demopage {
|
2213
|
+
.list-status {
|
2214
|
+
.active {
|
2215
|
+
color: var(--default-text-color);
|
2216
|
+
text-decoration: none;
|
2217
|
+
background: none;
|
2218
|
+
}
|
2556
2219
|
}
|
2557
|
-
}
|
2558
2220
|
|
2559
|
-
main .cmd-width-limitation-wrapper:not(:last-child) {
|
2560
|
-
|
2561
|
-
|
2221
|
+
main .cmd-width-limitation-wrapper:not(:last-child) {
|
2222
|
+
border-bottom: var(--default-border);
|
2223
|
+
border-style: dashed;
|
2562
2224
|
|
2563
|
-
|
2564
|
-
|
2565
|
-
|
2225
|
+
section {
|
2226
|
+
padding-top: calc(var(--default-padding) * 6);
|
2227
|
+
padding-bottom: calc(var(--default-padding) * 6);
|
2228
|
+
}
|
2566
2229
|
}
|
2567
|
-
}
|
2568
2230
|
|
2569
|
-
.headline-demopage {
|
2570
|
-
|
2571
|
-
|
2231
|
+
.headline-demopage {
|
2232
|
+
[class*="icon-"] {
|
2233
|
+
font-size: 2rem;
|
2234
|
+
color: var(--pure-white);
|
2235
|
+
margin: 0;
|
2236
|
+
}
|
2572
2237
|
}
|
2573
|
-
}
|
2574
2238
|
|
2575
|
-
.cmd-sidebar {
|
2576
|
-
|
2577
|
-
|
2578
|
-
|
2579
|
-
|
2580
|
-
|
2581
|
-
|
2582
|
-
|
2583
|
-
|
2584
|
-
|
2585
|
-
|
2586
|
-
|
2587
|
-
|
2588
|
-
|
2589
|
-
|
2590
|
-
|
2591
|
-
|
2592
|
-
|
2593
|
-
|
2594
|
-
|
2595
|
-
|
2239
|
+
.cmd-sidebar {
|
2240
|
+
position: fixed;
|
2241
|
+
top: 0;
|
2242
|
+
left: 0;
|
2243
|
+
z-index: 2000;
|
2244
|
+
max-width: 30rem;
|
2245
|
+
height: 100vh;
|
2246
|
+
margin: 0;
|
2247
|
+
padding: 0;
|
2248
|
+
gap: 0;
|
2249
|
+
border: 0;
|
2250
|
+
border-right-width: 0;
|
2251
|
+
border-right-style: none;
|
2252
|
+
border-right-color: currentcolor;
|
2253
|
+
border-right: var(--default-border);
|
2254
|
+
|
2255
|
+
.box {
|
2256
|
+
border-right: 0;
|
2257
|
+
|
2258
|
+
&:not(:last-child) {
|
2259
|
+
border-bottom: 0;
|
2260
|
+
}
|
2596
2261
|
}
|
2597
|
-
}
|
2598
2262
|
|
2599
|
-
|
2600
|
-
|
2601
|
-
|
2602
|
-
|
2603
|
-
|
2263
|
+
.open-slot-wrapper {
|
2264
|
+
display: flex;
|
2265
|
+
flex-direction: column;
|
2266
|
+
justify-content: space-between;
|
2267
|
+
height: 100%;
|
2604
2268
|
|
2605
|
-
|
2606
|
-
|
2607
|
-
|
2269
|
+
.comand-versions {
|
2270
|
+
padding: var(--default-padding);
|
2271
|
+
margin: 0;
|
2272
|
+
}
|
2608
2273
|
}
|
2609
|
-
}
|
2610
2274
|
|
2611
|
-
|
2612
|
-
|
2613
|
-
|
2614
|
-
|
2615
|
-
|
2616
|
-
|
2275
|
+
.closed-sidebar {
|
2276
|
+
display: flex;
|
2277
|
+
flex-direction: column;
|
2278
|
+
gap: var(--default-gap);
|
2279
|
+
padding: var(--default-padding);
|
2280
|
+
}
|
2617
2281
|
|
2618
|
-
|
2619
|
-
|
2620
|
-
|
2282
|
+
&:last-child {
|
2283
|
+
left: auto;
|
2284
|
+
right: 0;
|
2285
|
+
}
|
2621
2286
|
}
|
2622
|
-
}
|
2623
2287
|
|
2624
|
-
#component-settings {
|
2625
|
-
|
2626
|
-
|
2288
|
+
#component-settings {
|
2289
|
+
.open-slot-wrapper {
|
2290
|
+
display: block;
|
2291
|
+
}
|
2627
2292
|
}
|
2628
2293
|
}
|
2629
2294
|
</style>
|