comand-component-library 3.1.74 → 3.1.75
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/dist/comand-component-library.css +1 -1
- package/dist/comand-component-library.umd.min.js +1 -1
- package/package.json +3 -3
- package/src/App.vue +65 -71
- package/src/assets/data/input-group-radiobuttons.json +23 -0
- package/src/assets/data/input-group-replaced-radiobuttons.json +23 -0
- package/src/assets/data/input-group-toggle-switch-radiobuttons.json +23 -0
- package/src/assets/styles/global-styles.scss +10 -19
- package/src/components/CmdAddressData.vue +7 -7
- package/src/components/CmdBankAccountData.vue +7 -7
- package/src/components/CmdBox.vue +24 -30
- package/src/components/CmdBoxSiteSearch.vue +9 -9
- package/src/components/CmdCookieDisclaimer.vue +17 -17
- package/src/components/CmdFakeSelect.vue +32 -29
- package/src/components/CmdFormElement.vue +34 -35
- package/src/components/{CmdCustomHeadline.vue → CmdHeadline.vue} +1 -1
- package/src/components/CmdInputGroup.vue +51 -53
- package/src/components/CmdListOfLinks.vue +8 -8
- package/src/components/CmdListOfRequirements.vue +37 -15
- package/src/components/CmdLoginForm.vue +17 -17
- package/src/components/CmdOpeningHours.vue +5 -5
- package/src/components/CmdSiteFooter.vue +76 -0
- package/src/components/CmdSiteHeader.vue +2 -1
- package/src/components/CmdSystemMessage.vue +28 -11
- package/src/components/CmdTabs.vue +8 -8
- package/src/components/CmdToggleDarkMode.vue +42 -2
- package/src/components/CmdTooltip.vue +13 -13
- package/src/components/CmdTooltipForInputElements.vue +122 -0
- package/src/components/CmdUploadForm.vue +32 -32
- package/src/components/CmdWidthLimitationWrapper.vue +0 -17
- package/src/documentation/generated/CmdAddressDataPropertyDescriptions.json +2 -2
- package/src/documentation/generated/CmdBankAccountDataPropertyDescriptions.json +2 -2
- package/src/documentation/generated/CmdBoxPropertyDescriptions.json +2 -2
- package/src/documentation/generated/CmdBoxSiteSearchPropertyDescriptions.json +2 -2
- package/src/documentation/generated/CmdCookieDisclaimerPropertyDescriptions.json +2 -2
- package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +6 -1
- package/src/documentation/generated/CmdHeadlinePropertyDescriptions.json +22 -0
- package/src/documentation/generated/CmdInputGroupPropertyDescriptions.json +0 -5
- package/src/documentation/generated/CmdListOfLinksPropertyDescriptions.json +2 -2
- package/src/documentation/generated/CmdListOfRequirementsPropertyDescriptions.json +14 -4
- package/src/documentation/generated/CmdLoginFormPropertyDescriptions.json +4 -4
- package/src/documentation/generated/CmdOpeningHoursPropertyDescriptions.json +2 -2
- package/src/documentation/generated/CmdSiteFooterPropertyDescriptions.json +12 -0
- package/src/documentation/generated/CmdSystemMessagePropertyDescriptions.json +5 -0
- package/src/documentation/generated/CmdTabsPropertyDescriptions.json +2 -2
- package/src/documentation/generated/CmdTooltipForInputElementsPropertyDescriptions.json +42 -0
- package/src/documentation/generated/CmdTooltipPropertyDescriptions.json +1 -1
- package/src/documentation/generated/CmdUploadFormPropertyDescriptions.json +14 -14
- package/src/index.js +2 -1
- package/src/mixins/FieldValidation.js +15 -5
- 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.
|
3
|
+
"version": "3.1.75",
|
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.
|
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.
|
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"
|
68
|
-
|
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
|
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,6 +577,7 @@
|
|
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
582
|
labelText="Group label for radio-group given by slot:"
|
580
583
|
:useSlot="true"
|
@@ -587,7 +590,7 @@
|
|
587
590
|
id="input-group-radiobutton"
|
588
591
|
name="radiogroup2"
|
589
592
|
inputValue="radiobuttonValue1"
|
590
|
-
v-model="
|
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="
|
603
|
+
v-model="inputGroupRadio"
|
601
604
|
:status="validationStatus"
|
602
605
|
:disabled="disabledStatus"
|
603
606
|
/>
|
@@ -611,21 +614,22 @@
|
|
611
614
|
<CmdInputGroup
|
612
615
|
labelText="Grouplabel for radio-group given by property:"
|
613
616
|
:required="true"
|
614
|
-
:inputElements="
|
617
|
+
:inputElements="inputGroupRadiobuttonsData"
|
615
618
|
inputTypes="radio"
|
616
|
-
v-model="
|
619
|
+
v-model="inputGroupCheckbox"
|
617
620
|
:status="validationStatus"
|
618
621
|
:disabled="disabledStatus"
|
619
622
|
/>
|
620
623
|
<dl>
|
621
|
-
<dt>Selected value
|
624
|
+
<dt>Selected value:</dt>
|
622
625
|
<dd>
|
623
626
|
<output>{{ inputGroupValue2 }}</output>
|
624
627
|
</dd>
|
625
628
|
</dl>
|
629
|
+
<h3>Input Group with Checkboxes/Radiobuttons (replaced)</h3>
|
626
630
|
<CmdInputGroup
|
627
631
|
labelText="Grouplabel for radio-group styled as replaced-input-type:"
|
628
|
-
:inputElements="
|
632
|
+
:inputElements="inputGroupReplacedRadiobuttonsData"
|
629
633
|
inputTypes="radio"
|
630
634
|
v-model="inputGroupValueReplaceInputTypeRadio"
|
631
635
|
:replaceInputType="true"
|
@@ -633,18 +637,18 @@
|
|
633
637
|
:disabled="disabledStatus"
|
634
638
|
/>
|
635
639
|
<dl>
|
636
|
-
<dt>Selected value
|
640
|
+
<dt>Selected value:</dt>
|
637
641
|
<dd>
|
638
642
|
<output>{{ inputGroupValueReplaceInputTypeRadio }}</output>
|
639
643
|
</dd>
|
640
644
|
</dl>
|
641
645
|
<CmdInputGroup
|
642
646
|
labelText="Grouplabel for checkbox-group styled as replaced-input-type:"
|
643
|
-
:inputElements="
|
647
|
+
:inputElements="inputGroupReplacedRadiobuttonsData"
|
644
648
|
inputTypes="checkbox"
|
645
649
|
v-model="inputGroupValueReplaceInputTypeCheckbox"
|
646
650
|
:replaceInputType="true"
|
647
|
-
required="
|
651
|
+
:required="true"
|
648
652
|
:status="validationStatus"
|
649
653
|
:disabled="disabledStatus"
|
650
654
|
/>
|
@@ -654,9 +658,11 @@
|
|
654
658
|
<output>{{ inputGroupValueReplaceInputTypeCheckbox }}</output>
|
655
659
|
</dd>
|
656
660
|
</dl>
|
661
|
+
<h3>Input Groups with Checkboxes/
|
662
|
+
Radiobuttons (toggle-switches)</h3>
|
657
663
|
<CmdInputGroup
|
658
664
|
labelText="Grouplabel for checkbox-group styled as toggle-switches:"
|
659
|
-
:inputElements="
|
665
|
+
:inputElements="inputGroupRadiobuttonsData"
|
660
666
|
inputTypes="checkbox"
|
661
667
|
v-model="inputGroupValueToggleSwitchCheckbox"
|
662
668
|
:toggleSwitch="true"
|
@@ -672,7 +678,7 @@
|
|
672
678
|
</dl>
|
673
679
|
<CmdInputGroup
|
674
680
|
labelText="Grouplabel for radio-group styled as toggle-switches:"
|
675
|
-
:inputElements="
|
681
|
+
:inputElements="inputGroupToggleSwitchRadiobuttonsData"
|
676
682
|
inputTypes="radio"
|
677
683
|
v-model="inputGroupValueToggleSwitchRadio"
|
678
684
|
:toggleSwitch="true"
|
@@ -688,7 +694,7 @@
|
|
688
694
|
</dl>
|
689
695
|
<CmdInputGroup
|
690
696
|
labelText="Grouplabel for radio-group given by property styled as multiple-switch:"
|
691
|
-
:inputElements="
|
697
|
+
:inputElements="inputGroupRadiobuttonsData.map(item => ({...item, id: item.id + '-multi', name: item.name + '-multi'}))"
|
692
698
|
inputTypes="radio"
|
693
699
|
:multipleSwitch="true"
|
694
700
|
v-model="inputGroupValue3"
|
@@ -706,6 +712,7 @@
|
|
706
712
|
:inputElements="inputGroupCheckboxes"
|
707
713
|
inputTypes="checkbox"
|
708
714
|
:multipleSwitch="true"
|
715
|
+
:required="true"
|
709
716
|
v-model="inputGroupValue4"
|
710
717
|
:stretchHorizontally="true"
|
711
718
|
:status="validationStatus"
|
@@ -837,13 +844,13 @@
|
|
837
844
|
<h3>Product boxes</h3>
|
838
845
|
<div class="grid-container-create-columns">
|
839
846
|
<div class="grid-small-item" v-for="(product, index) in boxProductData" :key="index">
|
840
|
-
<CmdBox boxType="product" :product="product" :
|
847
|
+
<CmdBox boxType="product" :product="product" :CmdHeadline="{headlineLevel: 4}"/>
|
841
848
|
</div>
|
842
849
|
</div>
|
843
850
|
<h3>User boxes</h3>
|
844
851
|
<div class="grid-container-create-columns">
|
845
852
|
<div class="grid-small-item" v-for="(user, index) in boxUserData" :key="index">
|
846
|
-
<CmdBox boxType="user" :user="user" :
|
853
|
+
<CmdBox boxType="user" :user="user" :CmdHeadline="{headlineLevel: 4}"/>
|
847
854
|
</div>
|
848
855
|
</div>
|
849
856
|
<h3>Box Site Search</h3>
|
@@ -890,12 +897,12 @@
|
|
890
897
|
<a id="section-custom-headline"></a>
|
891
898
|
<CmdWidthLimitationWrapper>
|
892
899
|
<h2 class="headline-demopage">Custom Headline</h2>
|
893
|
-
<
|
894
|
-
<
|
895
|
-
<
|
896
|
-
<
|
897
|
-
<
|
898
|
-
<
|
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"/>
|
899
906
|
</CmdWidthLimitationWrapper>
|
900
907
|
<!-- end custom-headline ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
901
908
|
|
@@ -1099,7 +1106,7 @@
|
|
1099
1106
|
:uploadOptions="{url: 'http://localhost:8888'}"
|
1100
1107
|
/>
|
1101
1108
|
<h3>Advanced mode</h3>
|
1102
|
-
<CmdUploadForm :
|
1109
|
+
<CmdUploadForm :CmdHeadlineFieldset="{headlineText: 'Select files to upload', headlineLevel: 3}"
|
1103
1110
|
:enableDragAndDrop="true"
|
1104
1111
|
:allowedFileExtensions="['jpg', 'png']"
|
1105
1112
|
:allowMultipleFileUploads="true"
|
@@ -1109,23 +1116,25 @@
|
|
1109
1116
|
</CmdWidthLimitationWrapper>
|
1110
1117
|
</main>
|
1111
1118
|
|
1112
|
-
<
|
1119
|
+
<CmdSiteFooter>
|
1113
1120
|
<CmdSwitchLanguage :languages="languagesData" @click="doSomething"/>
|
1114
|
-
<
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
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>
|
1129
1138
|
|
1130
1139
|
<CmdCopyrightInformation/>
|
1131
1140
|
|
@@ -1163,8 +1172,11 @@ import fakeSelectCountriesData from '@/assets/data/fake-select-countries.json'
|
|
1163
1172
|
import fakeSelectFilterOptionsData from '@/assets/data/fake-select-filter-options.json'
|
1164
1173
|
import fakeSelectOptionsData from '@/assets/data/fake-select-options.json'
|
1165
1174
|
import fakeSelectOptionsWithIconsData from '@/assets/data/fake-select-options-with-icons.json'
|
1166
|
-
import listOfLinksData from '@/assets/data/list-of-links.json'
|
1167
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'
|
1168
1180
|
import languagesData from '@/assets/data/switch-language.json'
|
1169
1181
|
import multistepsData from '@/assets/data/multistep-form-progress-bar.json'
|
1170
1182
|
import navigationData from '@/assets/data/main-navigation.json'
|
@@ -1187,7 +1199,7 @@ import CmdBreadcrumbs from "@/components/CmdBreadcrumbs.vue"
|
|
1187
1199
|
import CmdCompanyLogo from "@/components/CmdCompanyLogo.vue"
|
1188
1200
|
import CmdCopyrightInformation from "@/components/CmdCopyrightInformation.vue"
|
1189
1201
|
import CmdCookieDisclaimer from "@/components/CmdCookieDisclaimer.vue"
|
1190
|
-
import
|
1202
|
+
import CmdHeadline from "@/components/CmdHeadline.vue"
|
1191
1203
|
import CmdFakeSelect from "@/components/CmdFakeSelect.vue"
|
1192
1204
|
import CmdFancyBox from "@/components/CmdFancyBox.vue"
|
1193
1205
|
import CmdForm from "@/components/CmdForm.vue"
|
@@ -1205,6 +1217,7 @@ import CmdOpeningHours from "@/components/CmdOpeningHours"
|
|
1205
1217
|
import CmdPager from "@/components/CmdPager.vue"
|
1206
1218
|
import CmdProgressBar from "@/components/CmdProgressBar.vue"
|
1207
1219
|
import CmdShareButtons from "@/components/CmdShareButtons.vue"
|
1220
|
+
import CmdSiteFooter from "./components/CmdSiteFooter"
|
1208
1221
|
import CmdSiteHeader from "./components/CmdSiteHeader"
|
1209
1222
|
import CmdSlideshow from "@/components/CmdSlideshow.vue"
|
1210
1223
|
import CmdSwitchLanguage from "@/components/CmdSwitchLanguage.vue"
|
@@ -1234,7 +1247,7 @@ export default {
|
|
1234
1247
|
CmdCompanyLogo,
|
1235
1248
|
CmdCopyrightInformation,
|
1236
1249
|
CmdCookieDisclaimer,
|
1237
|
-
|
1250
|
+
CmdHeadline,
|
1238
1251
|
CmdFakeSelect,
|
1239
1252
|
CmdFancyBox,
|
1240
1253
|
CmdForm,
|
@@ -1251,6 +1264,7 @@ export default {
|
|
1251
1264
|
CmdPager,
|
1252
1265
|
CmdProgressBar,
|
1253
1266
|
CmdShareButtons,
|
1267
|
+
CmdSiteFooter,
|
1254
1268
|
CmdSiteHeader,
|
1255
1269
|
CmdSlideshow,
|
1256
1270
|
CmdSwitchLanguage,
|
@@ -1273,37 +1287,14 @@ export default {
|
|
1273
1287
|
inputFieldPattern: "",
|
1274
1288
|
inputSearch: "",
|
1275
1289
|
textarea: "",
|
1276
|
-
|
1277
|
-
|
1290
|
+
inputGroupRadio: "radiobuttonValue1",
|
1291
|
+
inputGroupCheckbox: "website",
|
1278
1292
|
inputGroupValueReplaceInputTypeRadio: "phone",
|
1279
1293
|
inputGroupValueReplaceInputTypeCheckbox: ["phone"],
|
1280
1294
|
inputGroupValueToggleSwitchCheckbox: ["phone"],
|
1281
1295
|
inputGroupValueToggleSwitchRadio: "phone",
|
1282
1296
|
inputGroupValue3: "email",
|
1283
1297
|
inputGroupValue4: [],
|
1284
|
-
inputGroupRadiobuttons: [
|
1285
|
-
{
|
1286
|
-
labelText: "Website",
|
1287
|
-
id: "radio-id-1",
|
1288
|
-
name: "input-group-radio",
|
1289
|
-
iconClass: "icon-globe",
|
1290
|
-
value: "website"
|
1291
|
-
},
|
1292
|
-
{
|
1293
|
-
labelText: "E-Mail",
|
1294
|
-
id: "radio-id-2",
|
1295
|
-
name: "input-group-radio",
|
1296
|
-
iconClass: "icon-mail",
|
1297
|
-
value: "email"
|
1298
|
-
},
|
1299
|
-
{
|
1300
|
-
labelText: "Phone",
|
1301
|
-
id: "radio-id-3",
|
1302
|
-
name: "input-group-radio",
|
1303
|
-
iconClass: "icon-phone",
|
1304
|
-
value: "phone"
|
1305
|
-
}
|
1306
|
-
],
|
1307
1298
|
inputGroupCheckboxes: [
|
1308
1299
|
{
|
1309
1300
|
labelText: "Website",
|
@@ -1364,8 +1355,8 @@ export default {
|
|
1364
1355
|
radiobuttonValue: "radiobuttonValue1",
|
1365
1356
|
replacedRadiobuttonValue: "radiobuttonValue1",
|
1366
1357
|
fancyBoxCookieDisclaimer: false,
|
1367
|
-
fakeSelectDefault:
|
1368
|
-
fakeSelectDefaultWithIcons:
|
1358
|
+
fakeSelectDefault: 3,
|
1359
|
+
fakeSelectDefaultWithIcons: 1,
|
1369
1360
|
fakeSelectCheckbox: [1],
|
1370
1361
|
fakeSelectFilters: [],
|
1371
1362
|
datalist: {
|
@@ -1400,6 +1391,9 @@ export default {
|
|
1400
1391
|
fakeSelectOptionsWithIconsData,
|
1401
1392
|
listOfLinksData,
|
1402
1393
|
imageGalleryData,
|
1394
|
+
inputGroupRadiobuttonsData,
|
1395
|
+
inputGroupReplacedRadiobuttonsData,
|
1396
|
+
inputGroupToggleSwitchRadiobuttonsData,
|
1403
1397
|
languagesData,
|
1404
1398
|
multistepsData,
|
1405
1399
|
navigationData,
|
@@ -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
|
+
]
|
@@ -33,6 +33,11 @@
|
|
33
33
|
@import 'variables'; /* scss-variables (only used for media-query-breakpoints) */
|
34
34
|
/* ---------------------------------------------- END IMPORTS -------------------------------------------------- */
|
35
35
|
|
36
|
+
body, .cmd-site-header, .cmd-site-footer, .cmd-copyright-information {
|
37
|
+
transition: background linear .5s;
|
38
|
+
}
|
39
|
+
|
40
|
+
|
36
41
|
/* ---------------------------------------------- BEGIN COMPONENTS AND GLOBAL STYLES -------------------------------------------------- */
|
37
42
|
/* begin .avoid-scrolling --------------------------------------------------------------------------------------------------------------------------------------------------- */
|
38
43
|
body.avoid-scrolling {
|
@@ -184,7 +189,7 @@ body.avoid-scrolling {
|
|
184
189
|
|
185
190
|
&.has-state, & + .cmd-tooltip {
|
186
191
|
.label-text {
|
187
|
-
span, sup {
|
192
|
+
> span, > a, sup {
|
188
193
|
color: var(--status-color);
|
189
194
|
}
|
190
195
|
}
|
@@ -220,14 +225,6 @@ body.avoid-scrolling {
|
|
220
225
|
--grid-small-span: 3; /* default column span smaller part */
|
221
226
|
--grid-large-span: 3; /* default column span larger part */
|
222
227
|
}
|
223
|
-
|
224
|
-
#site-footer {
|
225
|
-
footer {
|
226
|
-
li {
|
227
|
-
margin-bottom: calc(var(--default-margin) * 2);
|
228
|
-
}
|
229
|
-
}
|
230
|
-
}
|
231
228
|
}
|
232
229
|
/* end styles for medium screens --------------------------------------------------------------------------------------------------------------------------------------------------- */
|
233
230
|
|
@@ -246,16 +243,6 @@ body.avoid-scrolling {
|
|
246
243
|
padding: calc(var(--default-padding) * 2) 0;
|
247
244
|
}
|
248
245
|
|
249
|
-
#site-footer {
|
250
|
-
a {
|
251
|
-
text-decoration: underline;
|
252
|
-
|
253
|
-
&:active {
|
254
|
-
text-decoration: none;
|
255
|
-
}
|
256
|
-
}
|
257
|
-
}
|
258
|
-
|
259
246
|
a[href^="tel"] {
|
260
247
|
text-decoration: underline;
|
261
248
|
}
|
@@ -283,6 +270,10 @@ html {
|
|
283
270
|
--color-scheme-text-color-inverted: var(--light-mode-text-color);
|
284
271
|
--color-scheme-background-inverted: var(--light-mode-background-color);
|
285
272
|
--default-background-color-lightness: 20%;
|
273
|
+
|
274
|
+
:where(label, .label) .label-text [class*="icon"] {
|
275
|
+
background: var(--dark-gray);
|
276
|
+
}
|
286
277
|
}
|
287
278
|
}
|
288
279
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="cmd-address-data vcard">
|
3
|
-
<!-- begin
|
4
|
-
<
|
5
|
-
<!-- end
|
3
|
+
<!-- begin CmdHeadline -->
|
4
|
+
<CmdHeadline v-if="CmdHeadline" v-bind="CmdHeadline" />
|
5
|
+
<!-- end CmdHeadline -->
|
6
6
|
|
7
7
|
<!-- begin address-data in vCard microformat -->
|
8
8
|
<address class="adr">
|
@@ -120,13 +120,13 @@ import I18n from "../mixins/I18n"
|
|
120
120
|
import DefaultMessageProperties from "../mixins/CmdAddressData/DefaultMessageProperties"
|
121
121
|
|
122
122
|
// import components
|
123
|
-
import
|
123
|
+
import CmdHeadline from "./CmdHeadline"
|
124
124
|
|
125
125
|
export default {
|
126
126
|
name: "CmdAddressData",
|
127
127
|
mixins: [I18n, DefaultMessageProperties],
|
128
128
|
components: {
|
129
|
-
|
129
|
+
CmdHeadline
|
130
130
|
},
|
131
131
|
props: {
|
132
132
|
/**
|
@@ -144,9 +144,9 @@ export default {
|
|
144
144
|
default: true
|
145
145
|
},
|
146
146
|
/**
|
147
|
-
* properties for
|
147
|
+
* properties for CmdHeadline-component
|
148
148
|
*/
|
149
|
-
|
149
|
+
CmdHeadline: {
|
150
150
|
type: Object,
|
151
151
|
required: false
|
152
152
|
},
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="cmd-bank-account-data">
|
3
|
-
<!-- begin
|
4
|
-
<
|
5
|
-
<!-- end
|
3
|
+
<!-- begin CmdHeadline -->
|
4
|
+
<CmdHeadline v-if="CmdHeadline" v-bind="CmdHeadline"/>
|
5
|
+
<!-- end CmdHeadline -->
|
6
6
|
|
7
7
|
<!-- begin account data -->
|
8
8
|
<dl>
|
@@ -27,11 +27,11 @@
|
|
27
27
|
|
28
28
|
<script>
|
29
29
|
// import components
|
30
|
-
import
|
30
|
+
import CmdHeadline from "./CmdHeadline"
|
31
31
|
|
32
32
|
export default {
|
33
33
|
name: "CmdBankAccountData",
|
34
|
-
components: {
|
34
|
+
components: {CmdHeadline},
|
35
35
|
props: {
|
36
36
|
/**
|
37
37
|
* bank account data
|
@@ -71,9 +71,9 @@ export default {
|
|
71
71
|
}
|
72
72
|
},
|
73
73
|
/**
|
74
|
-
* properties for
|
74
|
+
* properties for CmdHeadline-component
|
75
75
|
*/
|
76
|
-
|
76
|
+
CmdHeadline: {
|
77
77
|
type: Object,
|
78
78
|
required: false
|
79
79
|
}
|