comand-component-library 3.1.73 → 3.1.76

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. package/dist/comand-component-library.css +1 -1
  2. package/dist/comand-component-library.umd.min.js +1 -1
  3. package/package.json +3 -3
  4. package/src/App.vue +112 -79
  5. package/src/assets/data/cookie-disclaimer.json +7 -6
  6. package/src/assets/data/input-group-radiobuttons.json +23 -0
  7. package/src/assets/data/input-group-replaced-radiobuttons.json +23 -0
  8. package/src/assets/data/input-group-toggle-switch-radiobuttons.json +23 -0
  9. package/src/assets/styles/global-styles.scss +20 -59
  10. package/src/components/CmdAddressData.vue +7 -7
  11. package/src/components/CmdBankAccountData.vue +7 -7
  12. package/src/components/CmdBox.vue +25 -31
  13. package/src/components/CmdBoxSiteSearch.vue +9 -9
  14. package/src/components/CmdCookieDisclaimer.vue +93 -25
  15. package/src/components/CmdFakeSelect.vue +36 -52
  16. package/src/components/CmdFormElement.vue +36 -57
  17. package/src/components/{CmdCustomHeadline.vue → CmdHeadline.vue} +1 -1
  18. package/src/components/CmdInputGroup.vue +156 -24
  19. package/src/components/CmdListOfLinks.vue +8 -8
  20. package/src/components/CmdListOfRequirements.vue +150 -0
  21. package/src/components/CmdLoginForm.vue +17 -17
  22. package/src/components/CmdMainNavigation.vue +2 -2
  23. package/src/components/CmdOpeningHours.vue +5 -5
  24. package/src/components/CmdSiteFooter.vue +76 -0
  25. package/src/components/CmdSiteHeader.vue +2 -1
  26. package/src/components/CmdSlideshow.vue +6 -6
  27. package/src/components/CmdSystemMessage.vue +28 -11
  28. package/src/components/CmdTabs.vue +8 -8
  29. package/src/components/CmdToggleDarkMode.vue +42 -5
  30. package/src/components/CmdTooltip.vue +13 -13
  31. package/src/components/CmdTooltipForInputElements.vue +122 -0
  32. package/src/components/CmdUploadForm.vue +32 -32
  33. package/src/components/CmdWidthLimitationWrapper.vue +0 -17
  34. package/src/documentation/generated/CmdAddressDataPropertyDescriptions.json +2 -2
  35. package/src/documentation/generated/CmdBankAccountDataPropertyDescriptions.json +2 -2
  36. package/src/documentation/generated/CmdBoxPropertyDescriptions.json +2 -2
  37. package/src/documentation/generated/CmdBoxSiteSearchPropertyDescriptions.json +2 -2
  38. package/src/documentation/generated/CmdCookieDisclaimerPropertyDescriptions.json +7 -2
  39. package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +7 -2
  40. package/src/documentation/generated/CmdHeadlinePropertyDescriptions.json +22 -0
  41. package/src/documentation/generated/CmdInputGroupPropertyDescriptions.json +32 -1
  42. package/src/documentation/generated/CmdListOfLinksPropertyDescriptions.json +2 -2
  43. package/src/documentation/generated/CmdListOfRequirementsPropertyDescriptions.json +32 -0
  44. package/src/documentation/generated/CmdLoginFormPropertyDescriptions.json +4 -4
  45. package/src/documentation/generated/CmdOpeningHoursPropertyDescriptions.json +2 -2
  46. package/src/documentation/generated/CmdSiteFooterPropertyDescriptions.json +12 -0
  47. package/src/documentation/generated/CmdSystemMessagePropertyDescriptions.json +5 -0
  48. package/src/documentation/generated/CmdTabsPropertyDescriptions.json +2 -2
  49. package/src/documentation/generated/CmdTooltipForInputElementsPropertyDescriptions.json +42 -0
  50. package/src/documentation/generated/CmdTooltipPropertyDescriptions.json +1 -1
  51. package/src/documentation/generated/CmdUploadFormPropertyDescriptions.json +14 -14
  52. package/src/index.js +2 -1
  53. package/src/mixins/CmdCookieDisclaimer/DefaultMessageProperties.js +10 -0
  54. package/src/mixins/FieldValidation.js +16 -6
  55. package/src/mixins/Tooltip.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "3.1.73",
3
+ "version": "3.1.76",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "clickout-event": "^1.1.2",
21
- "comand-frontend-framework": "^3.2.61",
21
+ "comand-frontend-framework": "^3.2.65",
22
22
  "core-js": "^3.20.1",
23
23
  "prismjs": "^1.27.0",
24
24
  "vue": "^3.2.31",
@@ -39,7 +39,7 @@
39
39
  "eslint": "^6.7.2",
40
40
  "eslint-plugin-vue": "^7.20.0",
41
41
  "gulp": "^4.0.2",
42
- "node-sass": "^4.12.0",
42
+ "node-sass": "^4.14.1",
43
43
  "sass-loader": "^8.0.2",
44
44
  "typescript": "~3.9.3",
45
45
  "vue-jest": "^5.0.0-0"
package/src/App.vue CHANGED
@@ -64,8 +64,9 @@
64
64
  <ul class="list-status">
65
65
  <li><a href="#" @click.prevent="setStatus('', false)" :class="{'active' : validationStatus === '' && disabledStatus === false}"
66
66
  id="status-default">Default</a></li>
67
- <li class="error"><a href="#" @click.prevent="setStatus('error', false)"
68
- :class="{'active' : validationStatus === 'error'}" id="status-error">Error</a></li>
67
+ <li class="error">
68
+ <a href="#" @click.prevent="setStatus('error', false)"
69
+ :class="{'active' : validationStatus === 'error'}" id="status-error">Error</a></li>
69
70
  <li><a href="#" @click.prevent="setStatus('warning', false)"
70
71
  :class="{'active' : validationStatus === 'warning'}" id="status-warning">Warning</a></li>
71
72
  <li><a href="#" @click.prevent="setStatus('success', false)"
@@ -263,8 +264,9 @@
263
264
  :disabled="disabledStatus"
264
265
  :selectData="fakeSelectOptionsData"
265
266
  v-model="fakeSelectDefault"
266
- required
267
+ :required="true"
267
268
  defaultOptionName="Select an option:"
269
+ title="Title for FakeSelect"
268
270
  />
269
271
  <CmdFakeSelect labelText="Default selectbox with icons:"
270
272
  :status="validationStatus"
@@ -455,7 +457,7 @@
455
457
  checkbox with boolean: {{ checkboxValue }}<br/>
456
458
  checkboxes with values: {{ checkboxValues }}
457
459
  </p>
458
- <h2>Checkboxes and Radibuttons</h2>
460
+ <h2>Checkboxes and Radiobuttons</h2>
459
461
  <h3>Checkboxes [native]</h3>
460
462
  <div class="label inline">
461
463
  <span class="label-text">Label for native checkboxes:</span>
@@ -575,8 +577,9 @@
575
577
 
576
578
  <!-- begin input-groups -->
577
579
  <h2>Input-Groups</h2>
580
+ <h3>Input Group with Radiobuttons [native]</h3>
578
581
  <CmdInputGroup
579
- labelText="Group label for radio-group given by slot"
582
+ labelText="Group label for radio-group given by slot:"
580
583
  :useSlot="true"
581
584
  :status="validationStatus"
582
585
  :disabled="disabledStatus"
@@ -587,7 +590,7 @@
587
590
  id="input-group-radiobutton"
588
591
  name="radiogroup2"
589
592
  inputValue="radiobuttonValue1"
590
- v-model="inputGroupValue1"
593
+ v-model="inputGroupRadio"
591
594
  :status="validationStatus"
592
595
  :disabled="disabledStatus"
593
596
  />
@@ -597,7 +600,7 @@
597
600
  id="input-group-radiobutton"
598
601
  name="radiogroup2"
599
602
  inputValue="radiobuttonValue2"
600
- v-model="inputGroupValue1"
603
+ v-model="inputGroupRadio"
601
604
  :status="validationStatus"
602
605
  :disabled="disabledStatus"
603
606
  />
@@ -609,22 +612,24 @@
609
612
  </dd>
610
613
  </dl>
611
614
  <CmdInputGroup
612
- labelText="Grouplabel for radio-group given by property"
613
- :inputElements="inputGroupRadiobuttons"
615
+ labelText="Grouplabel for radio-group given by property:"
616
+ :required="true"
617
+ :inputElements="inputGroupRadiobuttonsData"
614
618
  inputTypes="radio"
615
- v-model="inputGroupValue2"
619
+ v-model="inputGroupCheckbox"
616
620
  :status="validationStatus"
617
621
  :disabled="disabledStatus"
618
622
  />
619
623
  <dl>
620
- <dt>Selected value(s):</dt>
624
+ <dt>Selected value:</dt>
621
625
  <dd>
622
626
  <output>{{ inputGroupValue2 }}</output>
623
627
  </dd>
624
628
  </dl>
629
+ <h3>Input Group with Checkboxes/Radiobuttons (replaced)</h3>
625
630
  <CmdInputGroup
626
- labelText="Grouplabel for radio-group styled as replaced-input-type"
627
- :inputElements="inputGroupRadiobuttons"
631
+ labelText="Grouplabel for radio-group styled as replaced-input-type:"
632
+ :inputElements="inputGroupReplacedRadiobuttonsData"
628
633
  inputTypes="radio"
629
634
  v-model="inputGroupValueReplaceInputTypeRadio"
630
635
  :replaceInputType="true"
@@ -632,18 +637,18 @@
632
637
  :disabled="disabledStatus"
633
638
  />
634
639
  <dl>
635
- <dt>Selected value(s):</dt>
640
+ <dt>Selected value:</dt>
636
641
  <dd>
637
642
  <output>{{ inputGroupValueReplaceInputTypeRadio }}</output>
638
643
  </dd>
639
644
  </dl>
640
645
  <CmdInputGroup
641
- labelText="Grouplabel for checkbox-group styled as replaced-input-type"
642
- :inputElements="inputGroupRadiobuttons"
646
+ labelText="Grouplabel for checkbox-group styled as replaced-input-type:"
647
+ :inputElements="inputGroupReplacedRadiobuttonsData"
643
648
  inputTypes="checkbox"
644
649
  v-model="inputGroupValueReplaceInputTypeCheckbox"
645
650
  :replaceInputType="true"
646
- required="required"
651
+ :required="true"
647
652
  :status="validationStatus"
648
653
  :disabled="disabledStatus"
649
654
  />
@@ -653,9 +658,43 @@
653
658
  <output>{{ inputGroupValueReplaceInputTypeCheckbox }}</output>
654
659
  </dd>
655
660
  </dl>
661
+ <h3>Input Groups with Checkboxes/
662
+ Radiobuttons (toggle-switches)</h3>
663
+ <CmdInputGroup
664
+ labelText="Grouplabel for checkbox-group styled as toggle-switches:"
665
+ :inputElements="inputGroupRadiobuttonsData"
666
+ inputTypes="checkbox"
667
+ v-model="inputGroupValueToggleSwitchCheckbox"
668
+ :toggleSwitch="true"
669
+ required="required"
670
+ :status="validationStatus"
671
+ :disabled="disabledStatus"
672
+ />
673
+ <dl>
674
+ <dt>Selected value(s):</dt>
675
+ <dd>
676
+ <output>{{ inputGroupValueToggleSwitchCheckbox }}</output>
677
+ </dd>
678
+ </dl>
679
+ <CmdInputGroup
680
+ labelText="Grouplabel for radio-group styled as toggle-switches:"
681
+ :inputElements="inputGroupToggleSwitchRadiobuttonsData"
682
+ inputTypes="radio"
683
+ v-model="inputGroupValueToggleSwitchRadio"
684
+ :toggleSwitch="true"
685
+ required="required"
686
+ :status="validationStatus"
687
+ :disabled="disabledStatus"
688
+ />
689
+ <dl>
690
+ <dt>Selected value(s):</dt>
691
+ <dd>
692
+ <output>{{ inputGroupValueToggleSwitchRadio }}</output>
693
+ </dd>
694
+ </dl>
656
695
  <CmdInputGroup
657
- labelText="Grouplabel for radio-group given by property styled as multiple-switch"
658
- :inputElements="inputGroupRadiobuttons.map(item => ({...item, id: item.id + '-multi', name: item.name + '-multi'}))"
696
+ labelText="Grouplabel for radio-group given by property styled as multiple-switch:"
697
+ :inputElements="inputGroupRadiobuttonsData.map(item => ({...item, id: item.id + '-multi', name: item.name + '-multi'}))"
659
698
  inputTypes="radio"
660
699
  :multipleSwitch="true"
661
700
  v-model="inputGroupValue3"
@@ -669,10 +708,11 @@
669
708
  </dd>
670
709
  </dl>
671
710
  <CmdInputGroup
672
- labelText="Grouplabel for checkbox-group styled as multiple-switch (stretched horizontally)"
711
+ labelText="Grouplabel for checkbox-group styled as multiple-switch (stretched horizontally):"
673
712
  :inputElements="inputGroupCheckboxes"
674
713
  inputTypes="checkbox"
675
714
  :multipleSwitch="true"
715
+ :required="true"
676
716
  v-model="inputGroupValue4"
677
717
  :stretchHorizontally="true"
678
718
  :status="validationStatus"
@@ -804,13 +844,13 @@
804
844
  <h3>Product boxes</h3>
805
845
  <div class="grid-container-create-columns">
806
846
  <div class="grid-small-item" v-for="(product, index) in boxProductData" :key="index">
807
- <CmdBox boxType="product" :product="product" :cmdCustomHeadline="{headlineLevel: 4}"/>
847
+ <CmdBox boxType="product" :product="product" :CmdHeadline="{headlineLevel: 4}"/>
808
848
  </div>
809
849
  </div>
810
850
  <h3>User boxes</h3>
811
851
  <div class="grid-container-create-columns">
812
852
  <div class="grid-small-item" v-for="(user, index) in boxUserData" :key="index">
813
- <CmdBox boxType="user" :user="user" :cmdCustomHeadline="{headlineLevel: 4}"/>
853
+ <CmdBox boxType="user" :user="user" :CmdHeadline="{headlineLevel: 4}"/>
814
854
  </div>
815
855
  </div>
816
856
  <h3>Box Site Search</h3>
@@ -857,12 +897,12 @@
857
897
  <a id="section-custom-headline"></a>
858
898
  <CmdWidthLimitationWrapper>
859
899
  <h2 class="headline-demopage">Custom Headline</h2>
860
- <CmdCustomHeadline icon-class="icon-home" pre-headline-text="Pre-headline" headlineText="Headline level 1" :headlineLevel="1"/>
861
- <CmdCustomHeadline headlineText="Headline level 2" :headlineLevel="2"/>
862
- <CmdCustomHeadline headlineText="Headline level 3" :headlineLevel="3"/>
863
- <CmdCustomHeadline headlineText="Headline level 4" :headlineLevel="4"/>
864
- <CmdCustomHeadline headlineText="Headline level 5" :headlineLevel="5"/>
865
- <CmdCustomHeadline headlineText="Headline level 6" :headlineLevel="6"/>
900
+ <CmdHeadline icon-class="icon-home" pre-headline-text="Pre-headline" headlineText="Headline level 1" :headlineLevel="1"/>
901
+ <CmdHeadline headlineText="Headline level 2" :headlineLevel="2"/>
902
+ <CmdHeadline headlineText="Headline level 3" :headlineLevel="3"/>
903
+ <CmdHeadline headlineText="Headline level 4" :headlineLevel="4"/>
904
+ <CmdHeadline headlineText="Headline level 5" :headlineLevel="5"/>
905
+ <CmdHeadline headlineText="Headline level 6" :headlineLevel="6"/>
866
906
  </CmdWidthLimitationWrapper>
867
907
  <!-- end custom-headline ------------------------------------------------------------------------------------------------------------------------------------------------------->
868
908
 
@@ -1066,7 +1106,7 @@
1066
1106
  :uploadOptions="{url: 'http://localhost:8888'}"
1067
1107
  />
1068
1108
  <h3>Advanced mode</h3>
1069
- <CmdUploadForm :cmdCustomHeadlineFieldset="{headlineText: 'Select files to upload', headlineLevel: 3}"
1109
+ <CmdUploadForm :CmdHeadlineFieldset="{headlineText: 'Select files to upload', headlineLevel: 3}"
1070
1110
  :enableDragAndDrop="true"
1071
1111
  :allowedFileExtensions="['jpg', 'png']"
1072
1112
  :allowMultipleFileUploads="true"
@@ -1076,23 +1116,25 @@
1076
1116
  </CmdWidthLimitationWrapper>
1077
1117
  </main>
1078
1118
 
1079
- <CmdWidthLimitationWrapper id="site-footer" inner-component="footer">
1119
+ <CmdSiteFooter>
1080
1120
  <CmdSwitchLanguage :languages="languagesData" @click="doSomething"/>
1081
- <CmdListOfLinks :links="listOfLinksData"
1082
- :cmdCustomHeadline="{headlineText: 'List of links', headlineLevel: 6}"
1083
- />
1084
- <CmdOpeningHours :openingHours="openingHoursData"
1085
- :closed="true"
1086
- :cmdCustomHeadline="{headlineText: 'Opening hours', headlineLevel: 6}"
1087
- textOpenClosed="Closed right now!"
1088
- textHolidaysClosed="Closed on holidays"
1089
- textMiscInfo="Miscellaneous information"
1090
- />
1091
- <CmdAddressData :addressData="addressData"
1092
- :linkGoogleMaps="true"
1093
- :cmdCustomHeadline="{headlineText: 'Address data', headlineLevel: 6}"
1094
- />
1095
- </CmdWidthLimitationWrapper>
1121
+ <div class="flex-container">
1122
+ <CmdListOfLinks :links="listOfLinksData"
1123
+ :CmdHeadline="{headlineText: 'List of links', headlineLevel: 6}"
1124
+ />
1125
+ <CmdOpeningHours :openingHours="openingHoursData"
1126
+ :closed="true"
1127
+ :CmdHeadline="{headlineText: 'Opening hours', headlineLevel: 6}"
1128
+ textOpenClosed="Closed right now!"
1129
+ textHolidaysClosed="Closed on holidays"
1130
+ textMiscInfo="Miscellaneous information"
1131
+ />
1132
+ <CmdAddressData :addressData="addressData"
1133
+ :linkGoogleMaps="true"
1134
+ :CmdHeadline="{headlineText: 'Address data', headlineLevel: 6}"
1135
+ />
1136
+ </div>
1137
+ </CmdSiteFooter>
1096
1138
 
1097
1139
  <CmdCopyrightInformation/>
1098
1140
 
@@ -1100,7 +1142,9 @@
1100
1142
  <CmdCookieDisclaimer :cookieOptions="cookieDisclaimerData"
1101
1143
  buttonLabelAcceptAllCookies="Accept all cookies"
1102
1144
  buttonLabelAcceptCurrentSettings="Accept current settings"
1103
- @closeCookieDisclaimer="fancyBoxCookieDisclaimer = false"
1145
+ @closeCookieDisclaimer="closeCookieDisclaimer"
1146
+ v-model="acceptedCookies"
1147
+
1104
1148
  >
1105
1149
  <template #privacy-text>
1106
1150
  <p>
@@ -1128,8 +1172,11 @@ import fakeSelectCountriesData from '@/assets/data/fake-select-countries.json'
1128
1172
  import fakeSelectFilterOptionsData from '@/assets/data/fake-select-filter-options.json'
1129
1173
  import fakeSelectOptionsData from '@/assets/data/fake-select-options.json'
1130
1174
  import fakeSelectOptionsWithIconsData from '@/assets/data/fake-select-options-with-icons.json'
1131
- import listOfLinksData from '@/assets/data/list-of-links.json'
1132
1175
  import imageGalleryData from '@/assets/data/image-gallery.json'
1176
+ import inputGroupRadiobuttonsData from '@/assets/data/input-group-radiobuttons.json'
1177
+ import inputGroupReplacedRadiobuttonsData from '@/assets/data/input-group-replaced-radiobuttons.json'
1178
+ import inputGroupToggleSwitchRadiobuttonsData from '@/assets/data/input-group-toggle-switch-radiobuttons.json'
1179
+ import listOfLinksData from '@/assets/data/list-of-links.json'
1133
1180
  import languagesData from '@/assets/data/switch-language.json'
1134
1181
  import multistepsData from '@/assets/data/multistep-form-progress-bar.json'
1135
1182
  import navigationData from '@/assets/data/main-navigation.json'
@@ -1152,7 +1199,7 @@ import CmdBreadcrumbs from "@/components/CmdBreadcrumbs.vue"
1152
1199
  import CmdCompanyLogo from "@/components/CmdCompanyLogo.vue"
1153
1200
  import CmdCopyrightInformation from "@/components/CmdCopyrightInformation.vue"
1154
1201
  import CmdCookieDisclaimer from "@/components/CmdCookieDisclaimer.vue"
1155
- import CmdCustomHeadline from "@/components/CmdCustomHeadline.vue"
1202
+ import CmdHeadline from "@/components/CmdHeadline.vue"
1156
1203
  import CmdFakeSelect from "@/components/CmdFakeSelect.vue"
1157
1204
  import CmdFancyBox from "@/components/CmdFancyBox.vue"
1158
1205
  import CmdForm from "@/components/CmdForm.vue"
@@ -1170,6 +1217,7 @@ import CmdOpeningHours from "@/components/CmdOpeningHours"
1170
1217
  import CmdPager from "@/components/CmdPager.vue"
1171
1218
  import CmdProgressBar from "@/components/CmdProgressBar.vue"
1172
1219
  import CmdShareButtons from "@/components/CmdShareButtons.vue"
1220
+ import CmdSiteFooter from "./components/CmdSiteFooter"
1173
1221
  import CmdSiteHeader from "./components/CmdSiteHeader"
1174
1222
  import CmdSlideshow from "@/components/CmdSlideshow.vue"
1175
1223
  import CmdSwitchLanguage from "@/components/CmdSwitchLanguage.vue"
@@ -1199,7 +1247,7 @@ export default {
1199
1247
  CmdCompanyLogo,
1200
1248
  CmdCopyrightInformation,
1201
1249
  CmdCookieDisclaimer,
1202
- CmdCustomHeadline,
1250
+ CmdHeadline,
1203
1251
  CmdFakeSelect,
1204
1252
  CmdFancyBox,
1205
1253
  CmdForm,
@@ -1216,6 +1264,7 @@ export default {
1216
1264
  CmdPager,
1217
1265
  CmdProgressBar,
1218
1266
  CmdShareButtons,
1267
+ CmdSiteFooter,
1219
1268
  CmdSiteHeader,
1220
1269
  CmdSlideshow,
1221
1270
  CmdSwitchLanguage,
@@ -1231,41 +1280,21 @@ export default {
1231
1280
 
1232
1281
  data() {
1233
1282
  return {
1283
+ acceptedCookies: ["google-maps"],
1234
1284
  showTooltip: false,
1235
1285
  disabledStatus: undefined,
1236
1286
  validationStatus: "",
1237
1287
  inputFieldPattern: "",
1238
1288
  inputSearch: "",
1239
1289
  textarea: "",
1240
- inputGroupValue1: "radiobuttonValue1",
1241
- inputGroupValue2: "website",
1290
+ inputGroupRadio: "radiobuttonValue1",
1291
+ inputGroupCheckbox: "website",
1242
1292
  inputGroupValueReplaceInputTypeRadio: "phone",
1243
1293
  inputGroupValueReplaceInputTypeCheckbox: ["phone"],
1294
+ inputGroupValueToggleSwitchCheckbox: ["phone"],
1295
+ inputGroupValueToggleSwitchRadio: "phone",
1244
1296
  inputGroupValue3: "email",
1245
1297
  inputGroupValue4: [],
1246
- inputGroupRadiobuttons: [
1247
- {
1248
- labelText: "Website",
1249
- id: "radio-id-1",
1250
- name: "input-group-radio",
1251
- iconClass: "icon-globe",
1252
- value: "website"
1253
- },
1254
- {
1255
- labelText: "E-Mail",
1256
- id: "radio-id-2",
1257
- name: "input-group-radio",
1258
- iconClass: "icon-mail",
1259
- value: "email"
1260
- },
1261
- {
1262
- labelText: "Phone",
1263
- id: "radio-id-3",
1264
- name: "input-group-radio",
1265
- iconClass: "icon-phone",
1266
- value: "phone"
1267
- }
1268
- ],
1269
1298
  inputGroupCheckboxes: [
1270
1299
  {
1271
1300
  labelText: "Website",
@@ -1326,8 +1355,8 @@ export default {
1326
1355
  radiobuttonValue: "radiobuttonValue1",
1327
1356
  replacedRadiobuttonValue: "radiobuttonValue1",
1328
1357
  fancyBoxCookieDisclaimer: false,
1329
- fakeSelectDefault: "2",
1330
- fakeSelectDefaultWithIcons: "1",
1358
+ fakeSelectDefault: 3,
1359
+ fakeSelectDefaultWithIcons: 1,
1331
1360
  fakeSelectCheckbox: [1],
1332
1361
  fakeSelectFilters: [],
1333
1362
  datalist: {
@@ -1362,6 +1391,9 @@ export default {
1362
1391
  fakeSelectOptionsWithIconsData,
1363
1392
  listOfLinksData,
1364
1393
  imageGalleryData,
1394
+ inputGroupRadiobuttonsData,
1395
+ inputGroupReplacedRadiobuttonsData,
1396
+ inputGroupToggleSwitchRadiobuttonsData,
1365
1397
  languagesData,
1366
1398
  multistepsData,
1367
1399
  navigationData,
@@ -1375,10 +1407,11 @@ export default {
1375
1407
  thumbnailScrollerData
1376
1408
  }
1377
1409
  },
1378
- mounted() {
1379
- document.querySelector('html').addEventListener('toggle-color-scheme', (event) => console.log('colorScheme:', event.detail))
1380
- },
1381
1410
  methods: {
1411
+ closeCookieDisclaimer(event) {
1412
+ this.fancyBoxCookieDisclaimer = false
1413
+ alert(event.join(", "))
1414
+ },
1382
1415
  setStatus(validationStatus, disabledStatus) {
1383
1416
  this.validationStatus = validationStatus
1384
1417
  this.disabledStatus = disabledStatus
@@ -4,10 +4,10 @@
4
4
  "cookies": [
5
5
  {
6
6
  "id": "cookie-sessionid",
7
+ "value": "sessionid",
7
8
  "description": "This cookie is required for functionality",
8
9
  "labelText": "SessionID",
9
- "checked": true,
10
- "status": "disabled",
10
+ "disabled": true,
11
11
  "linkDataPrivacy": {
12
12
  "label": "Details for this cookie:",
13
13
  "link": "/content/data-privacy-en.html",
@@ -16,10 +16,10 @@
16
16
  },
17
17
  {
18
18
  "id": "cookie-google-recaptcha",
19
+ "value": "google-recaptcha",
19
20
  "description": "This cookie prevents bots from sending forms",
20
21
  "labelText": "Google reCaptcha™",
21
- "checked": true,
22
- "status": "disabled",
22
+ "disabled": true,
23
23
  "linkDataPrivacy": {
24
24
  "label": "Details for this cookie:",
25
25
  "link": "https://policies.google.com/privacy?hl=en-US",
@@ -34,9 +34,10 @@
34
34
  "cookies": [
35
35
  {
36
36
  "id": "cookie-google-maps",
37
+ "value": "google-maps",
37
38
  "description": "This cookie enables the Google Map™",
38
39
  "labelText": "Google Maps™",
39
- "checked": false,
40
+ "disabled": false,
40
41
  "linkDataPrivacy": {
41
42
  "label": "Details for this cookie:",
42
43
  "link": "https://policies.google.com/privacy?hl=en-US",
@@ -46,9 +47,9 @@
46
47
  },
47
48
  {
48
49
  "id": "cookie-google-analytics",
50
+ "value": "google-analytics",
49
51
  "description": "This cookie collects anonymous data for statistics and improvements",
50
52
  "labelText": "Google Analytics™",
51
- "checked": false,
52
53
  "linkDataPrivacy": {
53
54
  "label": "Details for this cookie:",
54
55
  "link": "https://policies.google.com/privacy?hl=en-US",
@@ -0,0 +1,23 @@
1
+ [
2
+ {
3
+ "labelText": "Website",
4
+ "id": "radio-id-1",
5
+ "name": "input-group-radio",
6
+ "iconClass": "icon-globe",
7
+ "value": "website"
8
+ },
9
+ {
10
+ "labelText": "E-Mail",
11
+ "id": "radio-id-2",
12
+ "name": "input-group-radio",
13
+ "iconClass": "icon-mail",
14
+ "value": "email"
15
+ },
16
+ {
17
+ "labelText": "Phone",
18
+ "id": "radio-id-3",
19
+ "name": "input-group-radio",
20
+ "iconClass": "icon-phone",
21
+ "value": "phone"
22
+ }
23
+ ]
@@ -0,0 +1,23 @@
1
+ [
2
+ {
3
+ "labelText": "Website",
4
+ "id": "replaced-radio-id-1",
5
+ "name": "input-group-replaced-radio",
6
+ "iconClass": "icon-globe",
7
+ "value": "website"
8
+ },
9
+ {
10
+ "labelText": "E-Mail",
11
+ "id": "replaced-radio-id-2",
12
+ "name": "input-group-replaced-radio",
13
+ "iconClass": "icon-mail",
14
+ "value": "email"
15
+ },
16
+ {
17
+ "labelText": "Phone",
18
+ "id": "replaced-radio-id-3",
19
+ "name": "input-group-replaced-radio",
20
+ "iconClass": "icon-phone",
21
+ "value": "phone"
22
+ }
23
+ ]
@@ -0,0 +1,23 @@
1
+ [
2
+ {
3
+ "labelText": "Website",
4
+ "id": "toggle-switch-radio-id-1",
5
+ "name": "input-group-toggle-switch-radio",
6
+ "iconClass": "icon-globe",
7
+ "value": "website"
8
+ },
9
+ {
10
+ "labelText": "E-Mail",
11
+ "id": "replaced-radio-id-2",
12
+ "name": "toggle-switch-group-toggle-switch-radio",
13
+ "iconClass": "icon-mail",
14
+ "value": "email"
15
+ },
16
+ {
17
+ "labelText": "Phone",
18
+ "id": "toggle-switch-radio-id-3",
19
+ "name": "input-group-toggle-switch-radio",
20
+ "iconClass": "icon-phone",
21
+ "value": "phone"
22
+ }
23
+ ]