comand-component-library 3.1.43 → 3.1.46
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 +47 -40
- package/src/App.vue +379 -136
- package/src/ComponentDocumentation.vue +156 -0
- package/src/ComponentLibraryHelp.vue +20 -0
- package/src/assets/data/accordion.json +21 -24
- package/src/assets/data/address-data.json +34 -0
- package/src/assets/data/bank-account-data.json +22 -0
- package/src/assets/data/box-product.json +14 -4
- package/src/assets/data/box-user.json +48 -22
- package/src/assets/data/breadcrumbs.json +11 -3
- package/src/assets/data/cookie-disclaimer.json +4 -4
- package/src/assets/data/fake-select-colors.json +4 -0
- package/src/assets/data/fake-select-countries.json +12 -12
- package/src/assets/data/fake-select-filter-options.json +14 -0
- package/src/assets/data/fake-select-options-with-icons.json +6 -12
- package/src/assets/data/fake-select-options.json +3 -3
- package/src/assets/data/list-of-links-section-anchors.json +23 -0
- package/src/assets/data/list-of-links-top-header-navigation.json +20 -0
- package/src/assets/data/list-of-links.json +42 -0
- package/src/assets/data/main-navigation.json +48 -0
- package/src/assets/data/multistep-form-progress-bar.json +33 -0
- package/src/assets/data/select-options.json +4 -0
- package/src/assets/data/{share-buttons.json → share-buttons-page-by-json.json} +8 -8
- package/src/assets/data/share-buttons-page-by-property.json +30 -0
- package/src/assets/data/switch-language.json +20 -0
- package/src/assets/data/table-large.json +1 -1
- package/src/assets/data/table-small.json +1 -1
- package/src/assets/styles/global-styles.scss +43 -14
- package/src/assets/styles/transitions.scss +21 -1
- package/src/components/CmdAccordion.vue +43 -42
- package/src/components/CmdAddressData.vue +124 -56
- package/src/components/CmdBackToTopButton.vue +3 -3
- package/src/components/CmdBankAccountData.vue +104 -0
- package/src/components/CmdBox.vue +253 -56
- package/src/components/CmdBoxSiteSearch.vue +138 -39
- package/src/components/CmdBoxWrapper.vue +206 -0
- package/src/components/CmdBreadcrumbs.vue +29 -13
- package/src/components/CmdCompanyLogo.vue +6 -4
- package/src/components/CmdCookieDisclaimer.vue +99 -75
- package/src/components/CmdCopyrightInformation.vue +1 -1
- package/src/components/CmdCustomHeadline.vue +93 -0
- package/src/components/CmdFakeSelect.vue +330 -66
- package/src/components/CmdFancyBox.vue +47 -33
- package/src/components/CmdForm.vue +107 -0
- package/src/components/CmdFormElement.vue +528 -83
- package/src/components/CmdFormFilters.vue +25 -11
- package/src/components/CmdGoogleMaps.vue +9 -3
- package/src/components/CmdImageGallery.vue +28 -5
- package/src/components/CmdImageZoom.vue +9 -1
- package/src/components/CmdListOfLinks.vue +169 -0
- package/src/components/CmdLoginForm.vue +146 -66
- package/src/components/CmdMainNavigation.vue +140 -42
- package/src/components/CmdMultipleSwitch.vue +33 -2
- package/src/components/CmdMultistepFormProgressBar.vue +60 -10
- package/src/components/CmdOpeningHours.vue +36 -10
- package/src/components/CmdPager.vue +7 -5
- package/src/components/CmdProgressBar.vue +21 -4
- package/src/components/CmdShareButtons.vue +64 -9
- package/src/components/CmdSiteHeader.vue +25 -12
- package/src/components/CmdSlideButton.vue +5 -2
- package/src/components/CmdSlideshow.vue +23 -7
- package/src/components/CmdSwitchButton.vue +15 -6
- package/src/components/CmdSwitchLanguage.vue +18 -10
- package/src/components/CmdSystemMessage.vue +30 -17
- package/src/components/CmdTable.vue +15 -7
- package/src/components/CmdTabs.vue +43 -3
- package/src/components/CmdThumbnailScroller.vue +22 -6
- package/src/components/CmdTooltip.vue +184 -11
- package/src/components/CmdUploadForm.vue +830 -176
- package/src/components/CmdWidthLimitationWrapper.vue +9 -6
- package/src/composables/event.js +8 -0
- package/src/composables/scrollspy.js +52 -0
- package/src/directives/focus.js +19 -0
- package/src/directives/telephone.js +1 -1
- package/src/documentation/commonProps.js +6 -0
- package/src/documentation/components/ComponentCode.vue +50 -0
- package/src/documentation/components/ComponentProperties.vue +237 -0
- package/src/documentation/components/ExampleSectionWrapper.vue +46 -0
- package/src/documentation/components/ViewCodeData.vue +113 -0
- package/src/documentation/data/CmdAccordionHelp.js +22 -0
- package/src/documentation/data/CmdAddressDataHelp.js +17 -0
- package/src/documentation/data/CmdBackToTopButtonHelp.js +3 -0
- package/src/documentation/data/CmdBankAccountDataHelp.js +8 -0
- package/src/documentation/data/CmdBoxHelp.js +45 -0
- package/src/documentation/data/CmdBoxSiteSearchHelp.js +11 -0
- package/src/documentation/data/CmdBreadcrumbsHelp.js +6 -0
- package/src/documentation/data/CmdCompanyLogoHelp.js +8 -0
- package/src/documentation/data/CmdCookieDisclaimerHelp.js +9 -0
- package/src/documentation/data/CmdCopyrightInformation.js +2 -0
- package/src/documentation/data/CmdCustomHeadlineHelp.js +8 -0
- package/src/documentation/data/CmdFakeSelectHelp.js +60 -0
- package/src/documentation/data/CmdFancyBoxHelp.js +7 -0
- package/src/documentation/data/CmdFooterNavigationHelp.js +5 -0
- package/src/documentation/data/CmdFormElementHelp.js +189 -0
- package/src/documentation/data/CmdFormFiltersHelp.js +6 -0
- package/src/documentation/data/CmdFormHelp.js +10 -0
- package/src/documentation/data/CmdGoogleMapsHelp.js +5 -0
- package/src/documentation/data/CmdImageGalleryHelp.js +5 -0
- package/src/documentation/data/CmdImageZoomHelp.js +6 -0
- package/src/documentation/data/CmdListOfLinksHelp.js +24 -0
- package/src/documentation/data/CmdLoginFormHelp.js +6 -0
- package/src/documentation/data/CmdMainNavigationHelp.js +7 -0
- package/src/documentation/data/CmdMultistepFormProgressBarHelp.js +6 -0
- package/src/documentation/data/CmdOpeningHoursHelp.js +10 -0
- package/src/documentation/data/CmdPagerHelp.js +7 -0
- package/src/documentation/data/CmdProgressBarHelp.js +13 -0
- package/src/documentation/data/CmdShareButtonsHelp.js +13 -0
- package/src/documentation/data/CmdSiteHeaderHelp.js +21 -0
- package/src/documentation/data/CmdSlideButtonHelp.js +10 -0
- package/src/documentation/data/CmdSlideshowHelp.js +7 -0
- package/src/documentation/data/CmdSwitchLanguageHelp.js +6 -0
- package/src/documentation/data/CmdSystemMessageHelp.js +32 -0
- package/src/documentation/data/CmdTableHelp.js +14 -0
- package/src/documentation/data/CmdTabsHelp.js +10 -0
- package/src/documentation/data/CmdThumbnailScrollerHelp.js +5 -0
- package/src/documentation/data/CmdTooltipHelp.js +13 -0
- package/src/documentation/data/CmdUploadFormHelp.js +17 -0
- package/src/documentation/data/CmdWidthLimitationWrapperHelp.js +7 -0
- package/src/documentation/data/componentsDescription.json +158 -0
- package/src/documentation/generated/CmdAccordionPropertyDescriptions.json +57 -0
- package/src/documentation/generated/CmdAddressDataPropertyDescriptions.json +32 -0
- package/src/documentation/generated/CmdBackToTopButtonPropertyDescriptions.json +12 -0
- package/src/documentation/generated/CmdBankAccountDataPropertyDescriptions.json +34 -0
- package/src/documentation/generated/CmdBoxPropertyDescriptions.json +91 -0
- package/src/documentation/generated/CmdBoxSiteSearchPropertyDescriptions.json +41 -0
- package/src/documentation/generated/CmdBoxWrapperPropertyDescriptions.json +47 -0
- package/src/documentation/generated/CmdBreadcrumbsPropertyDescriptions.json +17 -0
- package/src/documentation/generated/CmdCompanyLogoPropertyDescriptions.json +27 -0
- package/src/documentation/generated/CmdCookieDisclaimerPropertyDescriptions.json +22 -0
- package/src/documentation/generated/CmdCustomHeadlinePropertyDescriptions.json +22 -0
- package/src/documentation/generated/CmdFakeSelectPropertyDescriptions.json +79 -0
- package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +62 -0
- package/src/documentation/generated/CmdFooterNavigationPropertyDescriptions.json +17 -0
- package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +178 -0
- package/src/documentation/generated/CmdFormFiltersPropertyDescriptions.json +32 -0
- package/src/documentation/generated/CmdFormPropertyDescriptions.json +40 -0
- package/src/documentation/generated/CmdGoogleMapsPropertyDescriptions.json +7 -0
- package/src/documentation/generated/CmdImageGalleryPropertyDescriptions.json +22 -0
- package/src/documentation/generated/CmdImageZoomPropertyDescriptions.json +12 -0
- package/src/documentation/generated/CmdListOfLinksPropertyDescriptions.json +60 -0
- package/src/documentation/generated/CmdLoginFormPropertyDescriptions.json +90 -0
- package/src/documentation/generated/CmdMainNavigationPropertyDescriptions.json +62 -0
- package/src/documentation/generated/CmdMultipleSwitchPropertyDescriptions.json +52 -0
- package/src/documentation/generated/CmdMultistepFormProgressBarPropertyDescriptions.json +17 -0
- package/src/documentation/generated/CmdOpeningHoursPropertyDescriptions.json +42 -0
- package/src/documentation/generated/CmdPagerPropertyDescriptions.json +37 -0
- package/src/documentation/generated/CmdProgressBarPropertyDescriptions.json +32 -0
- package/src/documentation/generated/CmdShareButtonsPropertyDescriptions.json +34 -0
- package/src/documentation/generated/CmdSiteHeaderPropertyDescriptions.json +27 -0
- package/src/documentation/generated/CmdSlideButtonPropertyDescriptions.json +25 -0
- package/src/documentation/generated/CmdSlideshowPropertyDescriptions.json +42 -0
- package/src/documentation/generated/CmdSwitchButtonPropertyDescriptions.json +79 -0
- package/src/documentation/generated/CmdSwitchLanguagePropertyDescriptions.json +7 -0
- package/src/documentation/generated/CmdSystemMessagePropertyDescriptions.json +40 -0
- package/src/documentation/generated/CmdTablePropertyDescriptions.json +62 -0
- package/src/documentation/generated/CmdTabsPropertyDescriptions.json +27 -0
- package/src/documentation/generated/CmdThumbnailScrollerPropertyDescriptions.json +32 -0
- package/src/documentation/generated/CmdTooltipPropertyDescriptions.json +17 -0
- package/src/documentation/generated/CmdUploadFormPropertyDescriptions.json +90 -0
- package/src/documentation/generated/CmdWidthLimitationWrapperPropertyDescriptions.json +41 -0
- package/src/documentation/generated/frameworkIcons.json +730 -0
- package/src/documentation/generated/logosIcons.json +110 -0
- package/src/documentation/tabs.js +46 -0
- package/src/documentation/views/ContainerPage.vue +237 -0
- package/src/documentation/views/HelpHome.vue +13 -0
- package/src/documentation/views/IconFont.vue +80 -0
- package/src/documentation/views/components/CmdAccordionHelp.vue +78 -0
- package/src/documentation/views/components/CmdAddressDataHelp.vue +65 -0
- package/src/documentation/views/components/CmdBackToTopButtonHelp.vue +62 -0
- package/src/documentation/views/components/CmdBankAccountDataHelp.vue +88 -0
- package/src/documentation/views/components/CmdBoxHelp.vue +137 -0
- package/src/documentation/views/components/CmdBoxSiteSearchHelp.vue +60 -0
- package/src/documentation/views/components/CmdBoxWrapperHelp.vue +111 -0
- package/src/documentation/views/components/CmdBreadcrumbsHelp.vue +51 -0
- package/src/documentation/views/components/CmdCompanyLogoHelp.vue +48 -0
- package/src/documentation/views/components/CmdCookieDisclaimerHelp.vue +105 -0
- package/src/documentation/views/components/CmdCustomHeadlineHelp.vue +53 -0
- package/src/documentation/views/components/CmdFakeSelectHelp.vue +175 -0
- package/src/documentation/views/components/CmdFancyBoxHelp.vue +79 -0
- package/src/documentation/views/components/CmdFormElementHelp.vue +412 -0
- package/src/documentation/views/components/CmdFormFiltersHelp.vue +69 -0
- package/src/documentation/views/components/CmdFormHelp.vue +41 -0
- package/src/documentation/views/components/CmdGoogleMapsHelp.vue +55 -0
- package/src/documentation/views/components/CmdImageGalleryHelp.vue +46 -0
- package/src/documentation/views/components/CmdImageZoomHelp.vue +34 -0
- package/src/documentation/views/components/CmdListOfLinksHelp.vue +64 -0
- package/src/documentation/views/components/CmdLoginFormHelp.vue +117 -0
- package/src/documentation/views/components/CmdMainNavigationHelp.vue +94 -0
- package/src/documentation/views/components/CmdMultistepFormProgressBarHelp.vue +49 -0
- package/src/documentation/views/components/CmdOpeningHoursHelp.vue +49 -0
- package/src/documentation/views/components/CmdPagerHelp.vue +57 -0
- package/src/documentation/views/components/CmdProgressBarHelp.vue +47 -0
- package/src/documentation/views/components/CmdShareButtonsHelp.vue +65 -0
- package/src/documentation/views/components/CmdSiteHeaderHelp.vue +72 -0
- package/src/documentation/views/components/CmdSlideButtonHelp.vue +90 -0
- package/src/documentation/views/components/CmdSlideshowHelp.vue +60 -0
- package/src/documentation/views/components/CmdSwitchLanguageHelp.vue +64 -0
- package/src/documentation/views/components/CmdSystemMessageHelp.vue +86 -0
- package/src/documentation/views/components/CmdTableHelp.vue +84 -0
- package/src/documentation/views/components/CmdTabsHelp.vue +52 -0
- package/src/documentation/views/components/CmdThumbnailScrollerHelp.vue +50 -0
- package/src/documentation/views/components/CmdTooltipHelp.vue +59 -0
- package/src/documentation/views/components/CmdUploadFormHelp.vue +59 -0
- package/src/documentation/views/components/CmdWidthLimitationWrapperHelp.vue +46 -0
- package/src/index.js +6 -3
- package/src/main.js +25 -15
- package/src/mixins/CmdAddressData/DefaultMessageProperties.js +17 -0
- package/src/mixins/CmdBox/DefaultMessageProperties.js +10 -0
- package/src/mixins/CmdFakeSelect/DefaultMessageProperties.js +9 -0
- package/src/mixins/CmdFormElement/DefaultMessageProperties.js +9 -0
- package/src/mixins/CmdImageGallery/DefaultMessageProperties.js +9 -0
- package/src/mixins/CmdSiteSearch/DefaultMessageProperties.js +14 -0
- package/src/mixins/CmdUploadForm/DefaultMessageProperties.js +53 -0
- package/src/mixins/FieldValidation.js +220 -0
- package/src/mixins/GlobalDefaultMessageProperties.js +15 -0
- package/src/mixins/I18n.js +56 -0
- package/src/mixins/Tooltip.js +26 -0
- package/src/router/index.js +67 -0
- package/src/utilities.js +3 -6
- package/src/utils/GetFileExtension.js +15 -0
- package/src/utils/common.js +6 -0
- package/src/utils/dom.js +8 -0
- package/src/utils/globalSequence.js +13 -0
- package/src/utils/string.js +8 -0
- package/src/assets/data/address.json +0 -13
- package/src/assets/data/footer-navigation.json +0 -38
- package/src/assets/data/languages.json +0 -31
- package/src/assets/data/multisteps.json +0 -27
- package/src/assets/data/navigation.json +0 -47
- package/src/assets/data/pager.json +0 -11
- package/src/assets/data/top-header-navigation.json +0 -27
- package/src/components/CmdFooterNavigation.vue +0 -71
- package/src/components/CmdMainHeadline.vue +0 -75
- package/src/components/CmdTopHeaderNavigation.vue +0 -88
@@ -0,0 +1,88 @@
|
|
1
|
+
<script setup>
|
2
|
+
// import functions
|
3
|
+
import {tabProps, tabHandlers} from "../../tabs"
|
4
|
+
import {isFrameMode} from "../../../utils/common"
|
5
|
+
|
6
|
+
// import component
|
7
|
+
import CmdBankAccountData from "../../../components/CmdBankAccountData"
|
8
|
+
import ComponentProperties from "../../components/ComponentProperties"
|
9
|
+
import CmdTabs from "../../../components/CmdTabs"
|
10
|
+
import ViewCodeData from "../../components/ViewCodeData"
|
11
|
+
import ExampleSectionWrapper from "../../components/ExampleSectionWrapper"
|
12
|
+
|
13
|
+
import * as componentPropertiesFunctions from "../../components/ComponentProperties"
|
14
|
+
|
15
|
+
// import example-data
|
16
|
+
import CmdCode from "../../data/CmdBankAccountDataHelp"
|
17
|
+
import bankAccountData from "../../../assets/data/bank-account-data.json"
|
18
|
+
import propertyDescriptions from "../../generated/CmdBankAccountDataPropertyDescriptions.json"
|
19
|
+
|
20
|
+
const propertyStructures = {
|
21
|
+
accountData: [
|
22
|
+
{
|
23
|
+
"text": "<string>",
|
24
|
+
"value": "<string>",
|
25
|
+
"allowCopy": "<boolean>"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
cmdCustomHeadline: "Description for cmdCustomHeadline",
|
29
|
+
iconCopy: {
|
30
|
+
"iconClass": "<string>",
|
31
|
+
"tooltip": "<string>"
|
32
|
+
}
|
33
|
+
}
|
34
|
+
</script>
|
35
|
+
|
36
|
+
<template>
|
37
|
+
<CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
|
38
|
+
<template v-slot:tab-content-0>
|
39
|
+
<h2>Component</h2>
|
40
|
+
<ExampleSectionWrapper componentName="CmdBankAccountData" headlineText="Band Account Data">
|
41
|
+
<ViewCodeData :isFirstComponent="true" :code="CmdCode[0]" :data="bankAccountData[0]">
|
42
|
+
<teleport to="#frame-component-target" :disabled="!isFrameMode()">
|
43
|
+
<CmdBankAccountData
|
44
|
+
:account-data="bankAccountData"
|
45
|
+
:allow-copy-by-click="true"
|
46
|
+
:cmd-custom-headline="{ headlineText: 'Bank Account', headlineLevel: 5}"
|
47
|
+
/>
|
48
|
+
</teleport>
|
49
|
+
</ViewCodeData>
|
50
|
+
</ExampleSectionWrapper>
|
51
|
+
</template>
|
52
|
+
<template v-slot:tab-content-1>
|
53
|
+
<ComponentProperties :properties="CmdBankAccountData.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
|
54
|
+
<a id="accountData"></a>
|
55
|
+
<h4>accountData</h4>
|
56
|
+
<dl>
|
57
|
+
<dt>Type:</dt>
|
58
|
+
<dd>{{ componentPropertiesFunctions.getPropertyTypeName(CmdBankAccountData.props.accountData.type) }}</dd>
|
59
|
+
<dt>Default:</dt>
|
60
|
+
<dd v-if="componentPropertiesFunctions.getPropertyDefault(CmdBankAccountData.props.accountData.default)">
|
61
|
+
{{ componentPropertiesFunctions.getPropertyDefault(CmdBankAccountData.props.accountData.default) }}
|
62
|
+
</dd>
|
63
|
+
<dd v-else><em>(none)</em></dd>
|
64
|
+
<dt>Required:</dt>
|
65
|
+
<dd>
|
66
|
+
<span :class="componentPropertiesFunctions.getIcon(CmdBankAccountData.props.accountData.required)"
|
67
|
+
:title="componentPropertiesFunctions.getTooltip(CmdBankAccountData.props.accountData.required)">
|
68
|
+
</span>
|
69
|
+
</dd>
|
70
|
+
<dt>Structure:</dt>
|
71
|
+
<dd>
|
72
|
+
<pre>{{ componentPropertiesFunctions.getPropertyStructure(propertyStructures, "accountData") }}</pre>
|
73
|
+
</dd>
|
74
|
+
<dt>Description:</dt>
|
75
|
+
<dd>{{ componentPropertiesFunctions.getPropertyDescription(propertyDescriptions, "accountData") }}</dd>
|
76
|
+
</dl>
|
77
|
+
<h5>Description for structure</h5>
|
78
|
+
<dl>
|
79
|
+
<dt>text:</dt>
|
80
|
+
<dd>Description for text</dd>
|
81
|
+
<dt>value:</dt>
|
82
|
+
<dd>Description for value</dd>
|
83
|
+
<dt>allowCopy:</dt>
|
84
|
+
<dd>Description for allowCopy</dd>
|
85
|
+
</dl>
|
86
|
+
</template>
|
87
|
+
</CmdTabs>
|
88
|
+
</template>
|
@@ -0,0 +1,137 @@
|
|
1
|
+
<script setup>
|
2
|
+
// import functions
|
3
|
+
import {tabProps, tabHandlers} from "../../tabs"
|
4
|
+
import {isFrameMode} from "../../../utils/common"
|
5
|
+
|
6
|
+
// import components
|
7
|
+
import CmdBox from "../../../components/CmdBox"
|
8
|
+
import ComponentProperties from "../../components/ComponentProperties"
|
9
|
+
import ViewCodeData from "../../components/ViewCodeData"
|
10
|
+
import CmdTabs from "../../../components/CmdTabs"
|
11
|
+
import ExampleSectionWrapper from "../../components/ExampleSectionWrapper"
|
12
|
+
|
13
|
+
// import example-data
|
14
|
+
import CmdCode from "../../data/CmdBoxHelp"
|
15
|
+
import boxesProduct from "../../../assets/data/box-product.json"
|
16
|
+
import boxesUser from "../../../assets/data/box-user.json"
|
17
|
+
import propertyDescriptions from "../../generated/CmdBoxPropertyDescriptions.json"
|
18
|
+
|
19
|
+
const propertyStructures = {
|
20
|
+
product: {
|
21
|
+
"name": "<string>",
|
22
|
+
"img": {
|
23
|
+
"src": "<string>",
|
24
|
+
"alt": "<string>"
|
25
|
+
},
|
26
|
+
"articleNumber": "<string>",
|
27
|
+
"price": "<number>",
|
28
|
+
"description": "<string>",
|
29
|
+
"new": "<boolean>",
|
30
|
+
"discount": "<number>"
|
31
|
+
},
|
32
|
+
user: {
|
33
|
+
"name": "<string>",
|
34
|
+
"img": {
|
35
|
+
"src": "<string>",
|
36
|
+
"alt": "<string>"
|
37
|
+
},
|
38
|
+
"profession": "<string>",
|
39
|
+
"position": "<string>",
|
40
|
+
"description": "<string>",
|
41
|
+
"links": [
|
42
|
+
{
|
43
|
+
"href": "<string>",
|
44
|
+
"target": "<string>",
|
45
|
+
"iconClass": "<string>",
|
46
|
+
"title": "<string>"
|
47
|
+
}
|
48
|
+
]
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
function clickedOnProduct(event) {
|
53
|
+
console.log("event", event)
|
54
|
+
}
|
55
|
+
</script>
|
56
|
+
|
57
|
+
<template>
|
58
|
+
<CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
|
59
|
+
<template v-slot:tab-content-0>
|
60
|
+
<h2>Component</h2>
|
61
|
+
<ExampleSectionWrapper componentName="CmdBox" headlineText="Box 'content' (content given by property)">
|
62
|
+
<ViewCodeData :isFirstComponent="true" :code="CmdCode[0]">
|
63
|
+
<teleport to="#frame-component-target" :disabled="!isFrameMode()">
|
64
|
+
<CmdBox
|
65
|
+
:cmdCustomHeadline="{
|
66
|
+
headlineText: 'Headline given by property',
|
67
|
+
headlineLevel: 5
|
68
|
+
}"
|
69
|
+
textBody="Content given by property"
|
70
|
+
/>
|
71
|
+
</teleport>
|
72
|
+
</ViewCodeData>
|
73
|
+
</ExampleSectionWrapper>
|
74
|
+
<hr/>
|
75
|
+
<ExampleSectionWrapper componentName="CmdBox" headlineText="Box 'content' (collapsible)">
|
76
|
+
<ViewCodeData :code="CmdCode[1]">
|
77
|
+
<teleport to="#frame-component-target" :disabled="!isFrameMode()">
|
78
|
+
<CmdBox
|
79
|
+
:cmdCustomHeadline="{
|
80
|
+
headlineText: 'Headline given by property',
|
81
|
+
headlineLevel: 5
|
82
|
+
}"
|
83
|
+
textBody="Content given by property"
|
84
|
+
:collapsible="true"
|
85
|
+
/>
|
86
|
+
</teleport>
|
87
|
+
</ViewCodeData>
|
88
|
+
</ExampleSectionWrapper>
|
89
|
+
<hr/>
|
90
|
+
<ExampleSectionWrapper componentName="CmdBox" headlineText="Box 'content' (content given by slot)">
|
91
|
+
<ViewCodeData :code="CmdCode[2]">
|
92
|
+
<CmdBox :useSlots="['header', 'body', 'footer']">
|
93
|
+
<template v-slot:header>
|
94
|
+
<h5>
|
95
|
+
Headline given by slot
|
96
|
+
</h5>
|
97
|
+
</template>
|
98
|
+
<template v-slot:body>
|
99
|
+
<p class="padding">
|
100
|
+
Content given by slot
|
101
|
+
</p>
|
102
|
+
</template>
|
103
|
+
<template v-slot:footer>
|
104
|
+
<p>
|
105
|
+
Footer given by slot
|
106
|
+
</p>
|
107
|
+
</template>
|
108
|
+
</CmdBox>
|
109
|
+
</ViewCodeData>
|
110
|
+
</ExampleSectionWrapper>
|
111
|
+
<hr/>
|
112
|
+
<ExampleSectionWrapper componentName="CmdBox" headlineText="Box 'product'">
|
113
|
+
<ViewCodeData :code="CmdCode[3]" :data="boxesProduct[0]">
|
114
|
+
<CmdBox
|
115
|
+
boxType="product"
|
116
|
+
:product="boxesProduct[0]"
|
117
|
+
:cmdCustomHeadline="{ headlineLevel: 5}"
|
118
|
+
@click="clickedOnProduct"
|
119
|
+
/>
|
120
|
+
</ViewCodeData>
|
121
|
+
</ExampleSectionWrapper>
|
122
|
+
<hr/>
|
123
|
+
<ExampleSectionWrapper componentName="CmdBox" headlineText="Box 'user'">
|
124
|
+
<ViewCodeData :code="CmdCode[4]" :data="boxesUser[2]">
|
125
|
+
<CmdBox
|
126
|
+
boxType="user"
|
127
|
+
:user="boxesUser[2]"
|
128
|
+
:cmdCustomHeadline="{ headlineLevel: 5}"
|
129
|
+
/>
|
130
|
+
</ViewCodeData>
|
131
|
+
</ExampleSectionWrapper>
|
132
|
+
</template>
|
133
|
+
<template v-slot:tab-content-1>
|
134
|
+
<ComponentProperties :properties="CmdBox.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
|
135
|
+
</template>
|
136
|
+
</CmdTabs>
|
137
|
+
</template>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<script setup>
|
2
|
+
// import function
|
3
|
+
import {tabProps, tabHandlers} from "../../tabs"
|
4
|
+
import {isFrameMode} from "../../../utils/common"
|
5
|
+
|
6
|
+
// import components
|
7
|
+
import CmdBoxSiteSearch from "../../../components/CmdBoxSiteSearch"
|
8
|
+
import ComponentProperties from "../../components/ComponentProperties"
|
9
|
+
import ViewCodeData from "../../components/ViewCodeData"
|
10
|
+
import CmdTabs from "../../../components/CmdTabs"
|
11
|
+
import ExampleSectionWrapper from "../../components/ExampleSectionWrapper"
|
12
|
+
|
13
|
+
// import example-data
|
14
|
+
import CmdCode from "../../data/CmdBoxSiteSearchHelp"
|
15
|
+
import listOfFilters from '../../../assets/data/fake-select-filter-options.json'
|
16
|
+
import propertyDescriptions from "../../generated/CmdBoxSiteSearchPropertyDescriptions.json"
|
17
|
+
|
18
|
+
const propertyStructures = {
|
19
|
+
cmdCustomHeadline: {
|
20
|
+
"address": {
|
21
|
+
"streetNo": "<string>",
|
22
|
+
"zip": "<number>",
|
23
|
+
"city": "<string>"
|
24
|
+
},
|
25
|
+
"telephone": "<string>",
|
26
|
+
"mobilephone": "<string>",
|
27
|
+
"fax": "<string>",
|
28
|
+
"email": "<string>"
|
29
|
+
},
|
30
|
+
results: "-",
|
31
|
+
showLegend: "-",
|
32
|
+
textLegend: "-"
|
33
|
+
}
|
34
|
+
</script>
|
35
|
+
|
36
|
+
<template>
|
37
|
+
<CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
|
38
|
+
<template v-slot:tab-content-0>
|
39
|
+
<h2>Component</h2>
|
40
|
+
<ExampleSectionWrapper componentName="CmdBoxSiteSearch" headlineText="Box Site Search">
|
41
|
+
<ViewCodeData :isFirstComponent="true" :code="CmdCode[0]">
|
42
|
+
<teleport to="#frame-component-target" :disabled="!isFrameMode()">
|
43
|
+
<CmdBoxSiteSearch
|
44
|
+
text-legend="Legend"
|
45
|
+
:results="420"
|
46
|
+
:listOfFilters="listOfFilters"
|
47
|
+
:cmdCustomHeadline="{
|
48
|
+
headlineText: 'Search site',
|
49
|
+
headlineLevel: 5
|
50
|
+
}"
|
51
|
+
/>
|
52
|
+
</teleport>
|
53
|
+
</ViewCodeData>
|
54
|
+
</ExampleSectionWrapper>
|
55
|
+
</template>
|
56
|
+
<template v-slot:tab-content-1>
|
57
|
+
<ComponentProperties :properties="CmdBoxSiteSearch.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures" />
|
58
|
+
</template>
|
59
|
+
</CmdTabs>
|
60
|
+
</template>
|
@@ -0,0 +1,111 @@
|
|
1
|
+
<script setup>
|
2
|
+
// import functions
|
3
|
+
import {tabProps, tabHandlers} from "../../tabs"
|
4
|
+
import {isFrameMode} from "../../../utils/common"
|
5
|
+
|
6
|
+
// import components
|
7
|
+
import CmdBox from "../../../components/CmdBox"
|
8
|
+
import CmdBoxWrapper from "../../../components/CmdBoxWrapper"
|
9
|
+
import CmdTabs from "../../../components/CmdTabs"
|
10
|
+
import ComponentProperties from "../../components/ComponentProperties"
|
11
|
+
import ViewCodeData from "../../components/ViewCodeData"
|
12
|
+
import ExampleSectionWrapper from "../../components/ExampleSectionWrapper"
|
13
|
+
|
14
|
+
// import example-data
|
15
|
+
import CmdCode from "../../data/CmdAddressDataHelp"
|
16
|
+
import boxProduct from '../../../assets/data/box-product.json'
|
17
|
+
import boxUser from '../../../assets/data/box-user.json'
|
18
|
+
import propertyDescriptions from "../../generated/CmdAddressDataPropertyDescriptions.json"
|
19
|
+
|
20
|
+
const propertyStructures = {
|
21
|
+
addressData: {
|
22
|
+
"company": "<string>",
|
23
|
+
"address": {
|
24
|
+
"streetNo": "<string>",
|
25
|
+
"zip": "<number>",
|
26
|
+
"city": "<string>"
|
27
|
+
},
|
28
|
+
"telephone": "<string>",
|
29
|
+
"mobilephone": "<string>",
|
30
|
+
"fax": "<string>",
|
31
|
+
"email": "<string>"
|
32
|
+
}
|
33
|
+
}
|
34
|
+
</script>
|
35
|
+
|
36
|
+
<template>
|
37
|
+
<CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
|
38
|
+
<template v-slot:tab-content-0>
|
39
|
+
<h2>Component</h2>
|
40
|
+
<ExampleSectionWrapper componentName="CmdBoxWrapper" headlineText="Box Wrapper with Box 'content' using Flexbox">
|
41
|
+
<ViewCodeData :isFirstComponent="true" :code="CmdCode[0]">
|
42
|
+
<CmdBoxWrapper :useFlexbox="true">
|
43
|
+
<CmdBox v-for="index in 14" :key="index" textBody="Content" :cmd-custom-headline="{headlineText: 'Headline ' + index, headlineLevel: 3}" />
|
44
|
+
</CmdBoxWrapper>
|
45
|
+
</ViewCodeData>
|
46
|
+
</ExampleSectionWrapper>
|
47
|
+
<hr />
|
48
|
+
<ExampleSectionWrapper componentName="CmdBoxWrapper" headlineText="Box Wrapper with Box 'content (collapsible)' using the default grid">
|
49
|
+
<ViewCodeData :code="CmdCode[0]">
|
50
|
+
<CmdBoxWrapper :allowTogglingCollapsingBoxes="true" v-slot="slotprops">
|
51
|
+
<CmdBox v-for="index in 7"
|
52
|
+
:key="index"
|
53
|
+
textBody="Content"
|
54
|
+
:collapsible="true"
|
55
|
+
:collapsingBoxesOpen="slotprops.collapsingBoxesOpen"
|
56
|
+
:cmd-custom-headline="{
|
57
|
+
headlineText: 'Headline ' + index,
|
58
|
+
headlineLevel: 3
|
59
|
+
}"
|
60
|
+
/>
|
61
|
+
</CmdBoxWrapper>
|
62
|
+
</ViewCodeData>
|
63
|
+
</ExampleSectionWrapper>
|
64
|
+
<hr />
|
65
|
+
<ExampleSectionWrapper componentName="CmdBoxWrapper" headlineText="Box Wrapper with single box open at once using the default grid">
|
66
|
+
<ViewCodeData :code="CmdCode[0]">
|
67
|
+
<CmdBoxWrapper v-slot="slotprops">
|
68
|
+
<CmdBox v-for="index in 7"
|
69
|
+
:key="index"
|
70
|
+
textBody="Content"
|
71
|
+
:collapsible="true"
|
72
|
+
:collapsingBoxesOpen="slotprops.currentOpenBox === index || (slotprops.currentOpenBox === 0 && index === 1)"
|
73
|
+
:cmd-custom-headline="{
|
74
|
+
headlineText: 'Headline ' + index,
|
75
|
+
headlineLevel: 3
|
76
|
+
}"
|
77
|
+
@toggle-collapse="slotprops.boxToggled(index, $event)"
|
78
|
+
/>
|
79
|
+
</CmdBoxWrapper>
|
80
|
+
</ViewCodeData>
|
81
|
+
</ExampleSectionWrapper>
|
82
|
+
<hr />
|
83
|
+
<ExampleSectionWrapper componentName="CmdBoxWrapper" headlineText="Box Wrapper with Box 'content' using a custom grid">
|
84
|
+
<ViewCodeData :code="CmdCode[0]">
|
85
|
+
<CmdBoxWrapper :boxesPerRow="[5, 2, 1]">
|
86
|
+
<CmdBox v-for="index in 7" :key="index" textBody="Content" :cmd-custom-headline="{headlineText: 'Headline ' + index, headlineLevel: 3}" />
|
87
|
+
</CmdBoxWrapper>
|
88
|
+
</ViewCodeData>
|
89
|
+
</ExampleSectionWrapper>
|
90
|
+
<hr />
|
91
|
+
<ExampleSectionWrapper componentName="CmdBoxWrapper" headlineText="Box Wrapper with Box 'product' using a custom grid">
|
92
|
+
<ViewCodeData :code="CmdCode[0]" :data="boxProduct">
|
93
|
+
<CmdBoxWrapper :boxesPerRow="[5, 2, 1]">
|
94
|
+
<CmdBox v-for="index in boxProduct.length" :key="index" boxType="product" :product="boxProduct[index - 1]" :cmdCustomHeadline="{headlineLevel: 5}" />
|
95
|
+
</CmdBoxWrapper>
|
96
|
+
</ViewCodeData>
|
97
|
+
</ExampleSectionWrapper>
|
98
|
+
<hr />
|
99
|
+
<ExampleSectionWrapper componentName="CmdBoxWrapper" headlineText="Box Wrapper with Box 'user' using a custom grid">
|
100
|
+
<ViewCodeData :code="CmdCode[0]" :data="boxUser">
|
101
|
+
<CmdBoxWrapper :boxesPerRow="[5, 2, 1]">
|
102
|
+
<CmdBox v-for="index in boxUser.length" :key="index" boxType="user" :user="boxUser[index - 1]" :cmdCustomHeadline="{headlineLevel: 5}" />
|
103
|
+
</CmdBoxWrapper>
|
104
|
+
</ViewCodeData>
|
105
|
+
</ExampleSectionWrapper>
|
106
|
+
</template>
|
107
|
+
<template v-slot:tab-content-1>
|
108
|
+
<ComponentProperties :properties="CmdBoxWrapper.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures" />
|
109
|
+
</template>
|
110
|
+
</CmdTabs>
|
111
|
+
</template>
|
@@ -0,0 +1,51 @@
|
|
1
|
+
<script setup>
|
2
|
+
// import functions
|
3
|
+
import {tabProps, tabHandlers} from "../../tabs"
|
4
|
+
import {isFrameMode} from "../../../utils/common"
|
5
|
+
|
6
|
+
// import components
|
7
|
+
import CmdBreadcrumbs from "../../../components/CmdBreadcrumbs"
|
8
|
+
import ComponentProperties from "../../components/ComponentProperties"
|
9
|
+
import ViewCodeData from "../../components/ViewCodeData"
|
10
|
+
import CmdTabs from "../../../components/CmdTabs"
|
11
|
+
import ExampleSectionWrapper from "../../components/ExampleSectionWrapper"
|
12
|
+
|
13
|
+
// import example-data
|
14
|
+
import breadcrumbs from '../../../assets/data/breadcrumbs.json'
|
15
|
+
import CmdCode from "../../data/CmdBreadcrumbsHelp"
|
16
|
+
import propertyDescriptions from "../../generated/CmdBreadcrumbsPropertyDescriptions.json"
|
17
|
+
|
18
|
+
const propertyStructures = {
|
19
|
+
breadcrumbLinks: {
|
20
|
+
"text": "<string>",
|
21
|
+
"type": "<string>",
|
22
|
+
"path": "<string>",
|
23
|
+
"route": {
|
24
|
+
"params": {
|
25
|
+
"lang": "<string>"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
</script>
|
31
|
+
|
32
|
+
<template>
|
33
|
+
<CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
|
34
|
+
<template v-slot:tab-content-0>
|
35
|
+
<h2>Component</h2>
|
36
|
+
<ExampleSectionWrapper componentName="CmdBreadcrumbs" headlineText="Breadcrumbs">
|
37
|
+
<ViewCodeData :isFirstComponent="true" :code="CmdCode[0]" :data="breadcrumbs">
|
38
|
+
<teleport to="#frame-component-target" :disabled="!isFrameMode()">
|
39
|
+
<CmdBreadcrumbs
|
40
|
+
:breadcrumbLinks="breadcrumbs"
|
41
|
+
breadcrumbLabel="You are here:"
|
42
|
+
/>
|
43
|
+
</teleport>
|
44
|
+
</ViewCodeData>
|
45
|
+
</ExampleSectionWrapper>
|
46
|
+
</template>
|
47
|
+
<template v-slot:tab-content-1>
|
48
|
+
<ComponentProperties :properties="CmdBreadcrumbs.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
|
49
|
+
</template>
|
50
|
+
</CmdTabs>
|
51
|
+
</template>
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<script setup>
|
2
|
+
// import functions
|
3
|
+
import {tabProps, tabHandlers} from "../../tabs"
|
4
|
+
import {isFrameMode} from "../../../utils/common"
|
5
|
+
|
6
|
+
// import components
|
7
|
+
import CmdCompanyLogo from "../../../components/CmdCompanyLogo"
|
8
|
+
import ComponentProperties from "../../components/ComponentProperties"
|
9
|
+
import CmdTabs from "../../../components/CmdTabs"
|
10
|
+
import ViewCodeData from "../../components/ViewCodeData"
|
11
|
+
import ExampleSectionWrapper from "../../components/ExampleSectionWrapper"
|
12
|
+
|
13
|
+
// import example-data
|
14
|
+
import companyLogo from '../../../assets/data/company-logo.json'
|
15
|
+
import CmdCode from "../../data/CmdCompanyLogoHelp"
|
16
|
+
import propertyDescriptions from "../../generated/CmdCompanyLogoPropertyDescriptions.json"
|
17
|
+
|
18
|
+
const propertyStructures = {
|
19
|
+
link: {
|
20
|
+
"type": "<string>",
|
21
|
+
"path": "<string>",
|
22
|
+
"tooltip": "<string>"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
</script>
|
26
|
+
|
27
|
+
<template>
|
28
|
+
<CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
|
29
|
+
<template v-slot:tab-content-0>
|
30
|
+
<h2>Component</h2>
|
31
|
+
<ExampleSectionWrapper componentName="CmdCompanyLogo" headlineText="Company Logo">
|
32
|
+
<ViewCodeData :isFirstComponent="true" :code="CmdCode[0]" :data="companyLogo">
|
33
|
+
<teleport to="#frame-component-target" :disabled="!isFrameMode()">
|
34
|
+
<CmdCompanyLogo
|
35
|
+
:link="companyLogo.link"
|
36
|
+
altText="CoManD Logo"
|
37
|
+
:pathDefaultLogo="require('@/assets/images/logo.svg')"
|
38
|
+
:pathDarkmodeLogo="require('@/assets/images/logo-darkmode.svg')"
|
39
|
+
/>
|
40
|
+
</teleport>
|
41
|
+
</ViewCodeData>
|
42
|
+
</ExampleSectionWrapper>
|
43
|
+
</template>
|
44
|
+
<template v-slot:tab-content-1>
|
45
|
+
<ComponentProperties :properties="CmdCompanyLogo.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
|
46
|
+
</template>
|
47
|
+
</CmdTabs>
|
48
|
+
</template>
|
@@ -0,0 +1,105 @@
|
|
1
|
+
<script setup>
|
2
|
+
// import functions
|
3
|
+
import {tabProps, tabHandlers} from "../../tabs"
|
4
|
+
import {isFrameMode} from "../../../utils/common"
|
5
|
+
|
6
|
+
// import components
|
7
|
+
import CmdCookieDisclaimer from "../../../components/CmdCookieDisclaimer"
|
8
|
+
import ComponentProperties from "../../components/ComponentProperties"
|
9
|
+
import ViewCodeData from "../../components/ViewCodeData"
|
10
|
+
import CmdTabs from "../../../components/CmdTabs"
|
11
|
+
import ExampleSectionWrapper from "../../components/ExampleSectionWrapper"
|
12
|
+
|
13
|
+
// import example-data
|
14
|
+
import cookieDisclaimer from '../../../assets/data/cookie-disclaimer.json'
|
15
|
+
import CmdCode from "../../data/CmdCookieDisclaimerHelp"
|
16
|
+
import propertyDescriptions from "../../generated/CmdCookieDisclaimerPropertyDescriptions.json"
|
17
|
+
|
18
|
+
const propertyStructures = {
|
19
|
+
cookieOptions: {
|
20
|
+
"required": {
|
21
|
+
"headline": "<string>",
|
22
|
+
"cookies": [
|
23
|
+
{
|
24
|
+
"id": "<string>",
|
25
|
+
"description": "<string>",
|
26
|
+
"labelText": "<string>",
|
27
|
+
"checked": "<boolean>",
|
28
|
+
"status": "<string>",
|
29
|
+
"linkDataPrivacy": {
|
30
|
+
"label": "<string>",
|
31
|
+
"link": "<string>",
|
32
|
+
"linkText": "<string>"
|
33
|
+
}
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"id": "<string>",
|
37
|
+
"description": "<string>",
|
38
|
+
"labelText": "<string>",
|
39
|
+
"checked": "<boolean>",
|
40
|
+
"status": "<string>",
|
41
|
+
"linkDataPrivacy": {
|
42
|
+
"label": "<string>",
|
43
|
+
"link": "<string>",
|
44
|
+
"target": "<string>",
|
45
|
+
"linkText": "<string>"
|
46
|
+
}
|
47
|
+
}
|
48
|
+
]
|
49
|
+
},
|
50
|
+
"optional": {
|
51
|
+
"headline": "Optional cookies",
|
52
|
+
"cookies": [
|
53
|
+
{
|
54
|
+
"id": "<string>",
|
55
|
+
"description": "<string>",
|
56
|
+
"labelText": "<string>",
|
57
|
+
"checked": "<boolean>",
|
58
|
+
"linkDataPrivacy": {
|
59
|
+
"label": "<string>",
|
60
|
+
"link": "<string>",
|
61
|
+
"target": "<string>",
|
62
|
+
"linkText": "<string>"
|
63
|
+
}
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"id": "<string>",
|
67
|
+
"description": "<string>",
|
68
|
+
"labelText": "<string>",
|
69
|
+
"checked": "<boolean>",
|
70
|
+
"linkDataPrivacy": {
|
71
|
+
"label": "<string>",
|
72
|
+
"link": "<string>",
|
73
|
+
"target": "<string>",
|
74
|
+
"linkText": "<string>"
|
75
|
+
}
|
76
|
+
}
|
77
|
+
]
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
</script>
|
82
|
+
|
83
|
+
<template>
|
84
|
+
<CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
|
85
|
+
<template v-slot:tab-content-0>
|
86
|
+
<h2>Component</h2>
|
87
|
+
<ExampleSectionWrapper componentName="CmdCookieDisclaimer" headlineText="Cookie Disclaimer">
|
88
|
+
<ViewCodeData :isFirstComponent="true" :code="CmdCode[0]" :data="cookieDisclaimer">
|
89
|
+
<teleport to="#frame-component-target" :disabled="!isFrameMode()">
|
90
|
+
<CmdCookieDisclaimer
|
91
|
+
:cmdCustomHeadline="{headlineText: 'Usage of cookies on this web site', headlineLevel: 3}"
|
92
|
+
:cookieOptions="cookieDisclaimer"
|
93
|
+
buttonLabelAcceptAllCookies="Accept all cookies"
|
94
|
+
buttonLabelAcceptCurrentSettings="Accept current settings"
|
95
|
+
@closeCookieDisclaimer="fancyBoxCookieDisclaimer = false"
|
96
|
+
/>
|
97
|
+
</teleport>
|
98
|
+
</ViewCodeData>
|
99
|
+
</ExampleSectionWrapper>
|
100
|
+
</template>
|
101
|
+
<template v-slot:tab-content-1>
|
102
|
+
<ComponentProperties :properties="CmdCookieDisclaimer.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
|
103
|
+
</template>
|
104
|
+
</CmdTabs>
|
105
|
+
</template>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<script setup>
|
2
|
+
// import functions
|
3
|
+
import {tabProps, tabHandlers} from "../../tabs"
|
4
|
+
import {isFrameMode} from "../../../utils/common"
|
5
|
+
|
6
|
+
// import components
|
7
|
+
import CmdCustomHeadline from "../../../components/CmdCustomHeadline"
|
8
|
+
import ComponentProperties from "../../components/ComponentProperties"
|
9
|
+
import ViewCodeData from "../../components/ViewCodeData"
|
10
|
+
import CmdTabs from "../../../components/CmdTabs"
|
11
|
+
import ExampleSectionWrapper from "../../components/ExampleSectionWrapper"
|
12
|
+
|
13
|
+
// import example-data
|
14
|
+
import CmdCode from "../../data/CmdCustomHeadlineHelp"
|
15
|
+
import propertyDescriptions from "../../generated/CmdCustomHeadlinePropertyDescriptions.json"
|
16
|
+
</script>
|
17
|
+
|
18
|
+
<template>
|
19
|
+
<CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
|
20
|
+
<template v-slot:tab-content-0>
|
21
|
+
<h2>Component</h2>
|
22
|
+
<ExampleSectionWrapper componentName="CmdCustomHeadline" headlineText="Headline level 1 (with icon and pre-headline)">
|
23
|
+
<ViewCodeData :isFirstComponent="true" :code="CmdCode[0]">
|
24
|
+
<teleport to="#frame-component-target" :disabled="!isFrameMode()">
|
25
|
+
<CmdCustomHeadline headlineText="Headline level 1" :headlineLevel="1" preHeadlineText="Pre-headline text" iconClass="icon-user-profile"/>
|
26
|
+
<CmdCustomHeadline headlineText="Headline level 1" :headlineLevel="1"/>
|
27
|
+
<CmdCustomHeadline headlineText="Headline level 2" :headlineLevel="2"/>
|
28
|
+
<CmdCustomHeadline headlineText="Headline level 3" :headlineLevel="3"/>
|
29
|
+
<CmdCustomHeadline headlineText="Headline level 4" :headlineLevel="4"/>
|
30
|
+
<CmdCustomHeadline headlineText="Headline level 5" :headlineLevel="5"/>
|
31
|
+
<CmdCustomHeadline headlineText="Headline level 6" :headlineLevel="6"/>
|
32
|
+
</teleport>
|
33
|
+
</ViewCodeData>
|
34
|
+
</ExampleSectionWrapper>
|
35
|
+
<hr />
|
36
|
+
<ExampleSectionWrapper componentName="CmdCustomHeadline" headlineText="Headline level 1-6 (without icons and pre-headline">
|
37
|
+
<ViewCodeData :isFirstComponent="true" :code="CmdCode[0]">
|
38
|
+
<teleport to="#frame-component-target" :disabled="!isFrameMode()">
|
39
|
+
<CmdCustomHeadline headlineText="Headline level 1" :headlineLevel="1"/>
|
40
|
+
<CmdCustomHeadline headlineText="Headline level 2" :headlineLevel="2"/>
|
41
|
+
<CmdCustomHeadline headlineText="Headline level 3" :headlineLevel="3"/>
|
42
|
+
<CmdCustomHeadline headlineText="Headline level 4" :headlineLevel="4"/>
|
43
|
+
<CmdCustomHeadline headlineText="Headline level 5" :headlineLevel="5"/>
|
44
|
+
<CmdCustomHeadline headlineText="Headline level 6" :headlineLevel="6"/>
|
45
|
+
</teleport>
|
46
|
+
</ViewCodeData>
|
47
|
+
</ExampleSectionWrapper>
|
48
|
+
</template>
|
49
|
+
<template v-slot:tab-content-1>
|
50
|
+
<ComponentProperties :properties="CmdCustomHeadline.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
|
51
|
+
</template>
|
52
|
+
</CmdTabs>
|
53
|
+
</template>
|