comand-component-library 3.1.53 → 3.1.56

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) 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 +0 -55
  5. package/src/assets/data/breadcrumbs.json +2 -2
  6. package/src/components/CmdBox.vue +6 -3
  7. package/src/components/CmdCookieDisclaimer.vue +63 -65
  8. package/src/components/CmdFakeSelect.vue +1 -1
  9. package/src/components/CmdUploadForm.vue +5 -0
  10. package/src/index.js +0 -1
  11. package/src/main.js +3 -0
  12. package/src/mixins/GlobalCurrency.js +16 -0
  13. package/src/router/index.js +0 -57
  14. package/src/ComponentDocumentation.vue +0 -156
  15. package/src/ComponentLibraryHelp.vue +0 -20
  16. package/src/components/CmdAccordion.vue +0 -253
  17. package/src/documentation/commonProps.js +0 -6
  18. package/src/documentation/components/ComponentCode.vue +0 -50
  19. package/src/documentation/components/ComponentProperties.vue +0 -237
  20. package/src/documentation/components/ExampleSectionWrapper.vue +0 -46
  21. package/src/documentation/components/ViewCodeData.vue +0 -113
  22. package/src/documentation/data/CmdAccordionHelp.js +0 -22
  23. package/src/documentation/data/CmdAddressDataHelp.js +0 -17
  24. package/src/documentation/data/CmdBackToTopButtonHelp.js +0 -3
  25. package/src/documentation/data/CmdBankAccountDataHelp.js +0 -8
  26. package/src/documentation/data/CmdBoxHelp.js +0 -45
  27. package/src/documentation/data/CmdBoxSiteSearchHelp.js +0 -11
  28. package/src/documentation/data/CmdBreadcrumbsHelp.js +0 -6
  29. package/src/documentation/data/CmdCompanyLogoHelp.js +0 -8
  30. package/src/documentation/data/CmdCookieDisclaimerHelp.js +0 -9
  31. package/src/documentation/data/CmdCopyrightInformation.js +0 -2
  32. package/src/documentation/data/CmdCustomHeadlineHelp.js +0 -8
  33. package/src/documentation/data/CmdFakeSelectHelp.js +0 -60
  34. package/src/documentation/data/CmdFancyBoxHelp.js +0 -7
  35. package/src/documentation/data/CmdFooterNavigationHelp.js +0 -5
  36. package/src/documentation/data/CmdFormElementHelp.js +0 -189
  37. package/src/documentation/data/CmdFormFiltersHelp.js +0 -6
  38. package/src/documentation/data/CmdFormHelp.js +0 -10
  39. package/src/documentation/data/CmdGoogleMapsHelp.js +0 -5
  40. package/src/documentation/data/CmdImageGalleryHelp.js +0 -5
  41. package/src/documentation/data/CmdImageZoomHelp.js +0 -6
  42. package/src/documentation/data/CmdListOfLinksHelp.js +0 -24
  43. package/src/documentation/data/CmdLoginFormHelp.js +0 -6
  44. package/src/documentation/data/CmdMainNavigationHelp.js +0 -7
  45. package/src/documentation/data/CmdMultistepFormProgressBarHelp.js +0 -6
  46. package/src/documentation/data/CmdOpeningHoursHelp.js +0 -10
  47. package/src/documentation/data/CmdPagerHelp.js +0 -7
  48. package/src/documentation/data/CmdProgressBarHelp.js +0 -13
  49. package/src/documentation/data/CmdShareButtonsHelp.js +0 -13
  50. package/src/documentation/data/CmdSiteHeaderHelp.js +0 -21
  51. package/src/documentation/data/CmdSlideButtonHelp.js +0 -10
  52. package/src/documentation/data/CmdSlideshowHelp.js +0 -7
  53. package/src/documentation/data/CmdSwitchLanguageHelp.js +0 -6
  54. package/src/documentation/data/CmdSystemMessageHelp.js +0 -32
  55. package/src/documentation/data/CmdTableHelp.js +0 -14
  56. package/src/documentation/data/CmdTabsHelp.js +0 -10
  57. package/src/documentation/data/CmdThumbnailScrollerHelp.js +0 -5
  58. package/src/documentation/data/CmdTooltipHelp.js +0 -13
  59. package/src/documentation/data/CmdUploadFormHelp.js +0 -17
  60. package/src/documentation/data/CmdWidthLimitationWrapperHelp.js +0 -7
  61. package/src/documentation/data/componentsDescription.json +0 -158
  62. package/src/documentation/generated/CmdAccordionPropertyDescriptions.json +0 -57
  63. package/src/documentation/generated/CmdAddressDataPropertyDescriptions.json +0 -32
  64. package/src/documentation/generated/CmdBackToTopButtonPropertyDescriptions.json +0 -12
  65. package/src/documentation/generated/CmdBankAccountDataPropertyDescriptions.json +0 -34
  66. package/src/documentation/generated/CmdBoxPropertyDescriptions.json +0 -91
  67. package/src/documentation/generated/CmdBoxSiteSearchPropertyDescriptions.json +0 -46
  68. package/src/documentation/generated/CmdBoxWrapperPropertyDescriptions.json +0 -47
  69. package/src/documentation/generated/CmdBreadcrumbsPropertyDescriptions.json +0 -17
  70. package/src/documentation/generated/CmdCompanyLogoPropertyDescriptions.json +0 -27
  71. package/src/documentation/generated/CmdCookieDisclaimerPropertyDescriptions.json +0 -22
  72. package/src/documentation/generated/CmdCustomHeadlinePropertyDescriptions.json +0 -22
  73. package/src/documentation/generated/CmdFakeSelectPropertyDescriptions.json +0 -84
  74. package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +0 -62
  75. package/src/documentation/generated/CmdFooterNavigationPropertyDescriptions.json +0 -17
  76. package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +0 -178
  77. package/src/documentation/generated/CmdFormFiltersPropertyDescriptions.json +0 -32
  78. package/src/documentation/generated/CmdFormPropertyDescriptions.json +0 -40
  79. package/src/documentation/generated/CmdGoogleMapsPropertyDescriptions.json +0 -7
  80. package/src/documentation/generated/CmdImageGalleryPropertyDescriptions.json +0 -22
  81. package/src/documentation/generated/CmdImageZoomPropertyDescriptions.json +0 -12
  82. package/src/documentation/generated/CmdListOfLinksPropertyDescriptions.json +0 -60
  83. package/src/documentation/generated/CmdLoginFormPropertyDescriptions.json +0 -90
  84. package/src/documentation/generated/CmdMainNavigationPropertyDescriptions.json +0 -62
  85. package/src/documentation/generated/CmdMultipleSwitchPropertyDescriptions.json +0 -52
  86. package/src/documentation/generated/CmdMultistepFormProgressBarPropertyDescriptions.json +0 -17
  87. package/src/documentation/generated/CmdOpeningHoursPropertyDescriptions.json +0 -42
  88. package/src/documentation/generated/CmdPagerPropertyDescriptions.json +0 -37
  89. package/src/documentation/generated/CmdProgressBarPropertyDescriptions.json +0 -32
  90. package/src/documentation/generated/CmdShareButtonsPropertyDescriptions.json +0 -34
  91. package/src/documentation/generated/CmdSiteHeaderPropertyDescriptions.json +0 -27
  92. package/src/documentation/generated/CmdSlideButtonPropertyDescriptions.json +0 -25
  93. package/src/documentation/generated/CmdSlideshowPropertyDescriptions.json +0 -42
  94. package/src/documentation/generated/CmdSwitchButtonPropertyDescriptions.json +0 -79
  95. package/src/documentation/generated/CmdSwitchLanguagePropertyDescriptions.json +0 -7
  96. package/src/documentation/generated/CmdSystemMessagePropertyDescriptions.json +0 -40
  97. package/src/documentation/generated/CmdTablePropertyDescriptions.json +0 -62
  98. package/src/documentation/generated/CmdTabsPropertyDescriptions.json +0 -27
  99. package/src/documentation/generated/CmdThumbnailScrollerPropertyDescriptions.json +0 -32
  100. package/src/documentation/generated/CmdTooltipPropertyDescriptions.json +0 -17
  101. package/src/documentation/generated/CmdUploadFormPropertyDescriptions.json +0 -90
  102. package/src/documentation/generated/CmdWidthLimitationWrapperPropertyDescriptions.json +0 -41
  103. package/src/documentation/generated/frameworkIcons.json +0 -730
  104. package/src/documentation/generated/logosIcons.json +0 -110
  105. package/src/documentation/tabs.js +0 -46
  106. package/src/documentation/views/ContainerPage.vue +0 -237
  107. package/src/documentation/views/HelpHome.vue +0 -13
  108. package/src/documentation/views/IconFont.vue +0 -80
  109. package/src/documentation/views/components/CmdAccordionHelp.vue +0 -78
  110. package/src/documentation/views/components/CmdAddressDataHelp.vue +0 -65
  111. package/src/documentation/views/components/CmdBackToTopButtonHelp.vue +0 -62
  112. package/src/documentation/views/components/CmdBankAccountDataHelp.vue +0 -88
  113. package/src/documentation/views/components/CmdBoxHelp.vue +0 -137
  114. package/src/documentation/views/components/CmdBoxSiteSearchHelp.vue +0 -60
  115. package/src/documentation/views/components/CmdBoxWrapperHelp.vue +0 -111
  116. package/src/documentation/views/components/CmdBreadcrumbsHelp.vue +0 -51
  117. package/src/documentation/views/components/CmdCompanyLogoHelp.vue +0 -48
  118. package/src/documentation/views/components/CmdCookieDisclaimerHelp.vue +0 -105
  119. package/src/documentation/views/components/CmdCustomHeadlineHelp.vue +0 -53
  120. package/src/documentation/views/components/CmdFakeSelectHelp.vue +0 -175
  121. package/src/documentation/views/components/CmdFancyBoxHelp.vue +0 -79
  122. package/src/documentation/views/components/CmdFormElementHelp.vue +0 -412
  123. package/src/documentation/views/components/CmdFormFiltersHelp.vue +0 -69
  124. package/src/documentation/views/components/CmdFormHelp.vue +0 -41
  125. package/src/documentation/views/components/CmdGoogleMapsHelp.vue +0 -55
  126. package/src/documentation/views/components/CmdImageGalleryHelp.vue +0 -46
  127. package/src/documentation/views/components/CmdImageZoomHelp.vue +0 -34
  128. package/src/documentation/views/components/CmdListOfLinksHelp.vue +0 -64
  129. package/src/documentation/views/components/CmdLoginFormHelp.vue +0 -117
  130. package/src/documentation/views/components/CmdMainNavigationHelp.vue +0 -94
  131. package/src/documentation/views/components/CmdMultistepFormProgressBarHelp.vue +0 -49
  132. package/src/documentation/views/components/CmdOpeningHoursHelp.vue +0 -49
  133. package/src/documentation/views/components/CmdPagerHelp.vue +0 -57
  134. package/src/documentation/views/components/CmdProgressBarHelp.vue +0 -47
  135. package/src/documentation/views/components/CmdShareButtonsHelp.vue +0 -65
  136. package/src/documentation/views/components/CmdSiteHeaderHelp.vue +0 -72
  137. package/src/documentation/views/components/CmdSlideButtonHelp.vue +0 -90
  138. package/src/documentation/views/components/CmdSlideshowHelp.vue +0 -60
  139. package/src/documentation/views/components/CmdSwitchLanguageHelp.vue +0 -64
  140. package/src/documentation/views/components/CmdSystemMessageHelp.vue +0 -86
  141. package/src/documentation/views/components/CmdTableHelp.vue +0 -84
  142. package/src/documentation/views/components/CmdTabsHelp.vue +0 -52
  143. package/src/documentation/views/components/CmdThumbnailScrollerHelp.vue +0 -50
  144. package/src/documentation/views/components/CmdTooltipHelp.vue +0 -59
  145. package/src/documentation/views/components/CmdUploadFormHelp.vue +0 -59
  146. package/src/documentation/views/components/CmdWidthLimitationWrapperHelp.vue +0 -46
@@ -1,69 +0,0 @@
1
- <script setup>
2
- // import functions
3
- import {ref} from "vue"
4
- import {tabProps, tabHandlers} from "../../tabs"
5
- import {isFrameMode} from "../../../utils/common"
6
-
7
- // import components
8
- import CmdFormFilters from "../../../components/CmdFormFilters"
9
- import CmdFakeSelect from "../../../components/CmdFakeSelect"
10
- import ComponentProperties from "../../components/ComponentProperties"
11
- import ViewCodeData from "../../components/ViewCodeData"
12
- import CmdTabs from "../../../components/CmdTabs"
13
- import ExampleSectionWrapper from "../../components/ExampleSectionWrapper"
14
-
15
- // import example-data
16
- import CmdCode from "../../data/CmdFormFiltersHelp"
17
- import fakeSelectFilterOptions from '../../../assets/data/fake-select-filter-options.json'
18
- import propertyDescriptions from "../../generated/CmdFormFiltersPropertyDescriptions.json"
19
-
20
- function getOptionName(option) {
21
- for (let i = 0; i < fakeSelectFilterOptions.length; i++) {
22
- if (option === fakeSelectFilterOptions[i].value) {
23
- return fakeSelectFilterOptions[i].text
24
- }
25
- }
26
- return null
27
- }
28
-
29
- const propertyStructures = {
30
- selectedOptions: [
31
- {
32
- "text": "<string>",
33
- "value": "<string>"
34
- }
35
- ]
36
- }
37
-
38
- const fakeSelectFilters = ref([])
39
- </script>
40
-
41
- <template>
42
- <CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
43
- <template v-slot:tab-content-0>
44
- <h2>Component</h2>
45
- <ExampleSectionWrapper componentName="CmdFormFilters" headlineText="Form Filters">
46
- <ViewCodeData :isFirstComponent="true" :code="CmdCode[0]">
47
- <teleport to="#frame-component-target" :disabled="!isFrameMode()">
48
- <CmdFormFilters
49
- v-model="fakeSelectFilters"
50
- :selectedOptionsName="getOptionName"
51
- />
52
- <CmdFakeSelect
53
- labelText="Selectbox with filters:"
54
- :selectData="fakeSelectFilterOptions"
55
- v-model="fakeSelectFilters"
56
- defaultOptionName="Filters:"
57
- id="selectbox-with-filters"
58
- type="checkboxOptions"
59
- :useCustomTooltip="true"
60
- />
61
- </teleport>
62
- </ViewCodeData>
63
- </ExampleSectionWrapper>
64
- </template>
65
- <template v-slot:tab-content-1>
66
- <ComponentProperties :properties="CmdFormFilters.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
67
- </template>
68
- </CmdTabs>
69
- </template>
@@ -1,41 +0,0 @@
1
- <script setup>
2
- // import functions
3
- import {tabProps, tabHandlers} from "../../tabs"
4
- import {isFrameMode} from "../../../utils/common"
5
-
6
- // import components
7
- import CmdForm from "../../../components/CmdForm"
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/CmdFormHelp"
15
- import propertyDescriptions from "../../generated/CmdFormPropertyDescriptions.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="CmdForm" headlineText="Form">
23
- <ViewCodeData :isFirstComponent="true" :code="CmdCode[0]">
24
- <teleport to="#frame-component-target" :disabled="!isFrameMode()">
25
- <CmdForm
26
- :use-fieldset="true"
27
- novalidate="novalidate"
28
- text-legend="Legend">
29
- <!-- begin slot-content -->
30
- Form content (put form elements here)
31
- <!-- end slot-content -->
32
- </CmdForm>
33
- </teleport>
34
- </ViewCodeData>
35
- </ExampleSectionWrapper>
36
- </template>
37
- <template v-slot:tab-content-1>
38
- <ComponentProperties :properties="CmdForm.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
39
- </template>
40
- </CmdTabs>
41
- </template>
@@ -1,55 +0,0 @@
1
- <script setup>
2
- // import functions
3
- import {tabProps, tabHandlers} from "../../tabs"
4
- import {isFrameMode} from "../../../utils/common"
5
-
6
- // import components
7
- import CmdGoogleMaps from "../../../components/CmdGoogleMaps"
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/CmdGoogleMapsHelp"
15
- import propertyDescriptions from "../../generated/CmdFormFiltersPropertyDescriptions.json"
16
- import addressData from '../../../assets/data/address-data.json'
17
-
18
- const propertyStructures = {
19
- "address": {
20
- "streetNo": "<string>",
21
- "zip": "<number>",
22
- "city": "<string>",
23
- "longitude": "<string>",
24
- "latitude": "<string>",
25
- "location": "<string>"
26
- }
27
- }
28
-
29
- function coordinates(address) {
30
- return {
31
- longitude: address.longitude,
32
- latitude: address.latitude
33
- }
34
- }
35
- </script>
36
-
37
- <template>
38
- <CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
39
- <template v-slot:tab-content-0>
40
- <h2>Component</h2>
41
- <ExampleSectionWrapper componentName="CmdGoogleMaps" headlineText="Google Maps&trade;">
42
- <ViewCodeData :isFirstComponent="true" :code="CmdCode[0]">
43
- <teleport to="#frame-component-target" :disabled="!isFrameMode()">
44
- <CmdGoogleMaps
45
- :address="coordinates(addressData.address)"
46
- />
47
- </teleport>
48
- </ViewCodeData>
49
- </ExampleSectionWrapper>
50
- </template>
51
- <template v-slot:tab-content-1>
52
- <ComponentProperties :properties="CmdGoogleMaps.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
53
- </template>
54
- </CmdTabs>
55
- </template>
@@ -1,46 +0,0 @@
1
- <script setup>
2
- // import functions
3
- import {tabProps, tabHandlers} from "../../tabs"
4
- import {isFrameMode} from "../../../utils/common"
5
-
6
- // import components
7
- import CmdImageGallery from "../../../components/CmdImageGallery"
8
- import ComponentProperties from "../../components/ComponentProperties"
9
- import ViewCodeData from "../../components/ViewCodeData"
10
- import CmdTabs from "../../../components/CmdTabs"
11
-
12
- // import example-data
13
- import CmdCode from "../../data/CmdImageGalleryHelp"
14
- import imageGallery from '../../../assets/data/image-gallery.json'
15
- import propertyDescriptions from "../../generated/CmdImageGalleryPropertyDescriptions.json"
16
-
17
- const propertyStructures = {
18
- images: [
19
- {
20
- "imgId": "<number>",
21
- "srcImageSmall": "<string>",
22
- "srcImageLarge": "<string>",
23
- "alt": "<string>",
24
- "figcaption": "<string>"
25
- }
26
- ]
27
- }
28
- </script>
29
-
30
- <template>
31
- <CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
32
- <template v-slot:tab-content-0>
33
- <h2>Component</h2>
34
- <ViewCodeData :isFirstComponent="true" :code="CmdCode[0]" :data="imageGallery">
35
- <teleport to="#frame-component-target" :disabled="!isFrameMode()">
36
- <CmdImageGallery
37
- :images="imageGallery"
38
- />
39
- </teleport>
40
- </ViewCodeData>>
41
- </template>
42
- <template v-slot:tab-content-1>
43
- <ComponentProperties :properties="CmdImageGallery.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
44
- </template>
45
- </CmdTabs>
46
- </template>
@@ -1,34 +0,0 @@
1
- <script setup>
2
- // import functions
3
- import {tabProps, tabHandlers} from "../../tabs"
4
- import {isFrameMode} from "../../../utils/common"
5
-
6
- // import components
7
- import CmdImageZoom from "../../../components/CmdImageZoom"
8
- import ComponentProperties from "../../components/ComponentProperties"
9
- import ViewCodeData from "../../components/ViewCodeData"
10
- import CmdTabs from "../../../components/CmdTabs"
11
-
12
- // import example-data
13
- import CmdCode from "../../data/CmdImageZoomHelp"
14
- import propertyDescriptions from "../../generated/CmdImageZoomPropertyDescriptions.json"
15
- </script>
16
-
17
- <template>
18
- <CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
19
- <template v-slot:tab-content-0>
20
- <h2>Component</h2>
21
- <ViewCodeData :isFirstComponent="true" :code="CmdCode[0]">
22
- <teleport to="#frame-component-target" :disabled="!isFrameMode()">
23
- <CmdImageZoom
24
- small-image-url="media/images/content-images/logo-business-edition-landscape.jpg"
25
- large-image-url="media/images/content-images/logo-business-edition-landscape-large.jpg"
26
- />
27
- </teleport>
28
- </ViewCodeData>
29
- </template>
30
- <template v-slot:tab-content-1>
31
- <ComponentProperties :properties="CmdImageZoom.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
32
- </template>
33
- </CmdTabs>
34
- </template>
@@ -1,64 +0,0 @@
1
- <script setup>
2
- // import functions
3
- import {tabProps, tabHandlers} from "../../tabs"
4
- import {isFrameMode} from "../../../utils/common"
5
-
6
- // import components
7
- import CmdListOfLinks from "../../../components/CmdListOfLinks"
8
- import ComponentProperties from "../../components/ComponentProperties"
9
- import ViewCodeData from "../../components/ViewCodeData"
10
- import CmdTabs from "../../../components/CmdTabs"
11
- import CmdCustomHeadline from "../../../components/CmdCustomHeadline"
12
-
13
- // import example-data
14
- import CmdCode from "../../data/CmdListOfLinksHelp"
15
- import listOfLinks from "../../../assets/data/list-of-links.json"
16
- import listOfLinksSectionAnchors from "../../../assets/data/list-of-links-section-anchors.json"
17
- import propertyDescriptions from "../../generated/CmdListOfLinksPropertyDescriptions.json"
18
-
19
- const propertyStructures = {
20
- listOfLinks: [
21
- {
22
- "iconClass": "<string>",
23
- "type": "<string>",
24
- "text": "<string>",
25
- "path": "<string>",
26
- "target": "<string>",
27
- "tooltip": "<string>",
28
- "fancybox": "<boolean>"
29
- }
30
- ]
31
- }
32
- </script>
33
-
34
- <template>
35
- <CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
36
- <template v-slot:tab-content-0>
37
- <h2>Component</h2>
38
- <CmdCustomHeadline headlineText="Vertical" :headlineLevel="3" preHeadlineText="Example #1" />
39
- <ViewCodeData :isFirstComponent="true" :code="CmdCode[0]" :data="listOfLinks">
40
- <teleport to="#frame-component-target" :disabled="!isFrameMode()">
41
- <CmdListOfLinks :links="listOfLinks" :cmdCustomHeadline="{headlineText: 'Links', headlineLevel: 5}" />
42
- </teleport>
43
- </ViewCodeData>
44
- <hr />
45
- <CmdCustomHeadline headlineText="Horizontal" :headlineLevel="3" preHeadlineText="Example #2" />
46
- <ViewCodeData :code="CmdCode[1]" :data="listOfLinks">
47
- <CmdListOfLinks :links="listOfLinks" orientation="horizontal" :cmdCustomHeadline="{headlineText: 'Links', headlineLevel: 5}" />
48
- </ViewCodeData>
49
- <hr />
50
- <CmdCustomHeadline headlineText="Styled as box" :headlineLevel="3" preHeadlineText="Example #3" />
51
- <ViewCodeData :code="CmdCode[2]" :data="listOfLinks">
52
- <CmdListOfLinks :links="listOfLinks" :styleAsBox="true" :cmdCustomHeadline="{headlineText: 'Links', headlineLevel: 5}" />
53
- </ViewCodeData>
54
- <hr />
55
- <CmdCustomHeadline headlineText="Use as section anchors" :headlineLevel="3" preHeadlineText="Example #4" />
56
- <ViewCodeData :code="CmdCode[2]" :data="listOfLinksSectionAnchors">
57
- <CmdListOfLinks :links="listOfLinksSectionAnchors" :sectionAnchors="true" />
58
- </ViewCodeData>
59
- </template>
60
- <template v-slot:tab-content-1>
61
- <ComponentProperties :properties="CmdListOfLinks.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
62
- </template>
63
- </CmdTabs>
64
- </template>
@@ -1,117 +0,0 @@
1
- <script setup>
2
- // import functions
3
- import {tabProps, tabHandlers} from "../../tabs"
4
- import {isFrameMode} from "../../../utils/common"
5
-
6
- // import components
7
- import CmdLoginForm from "../../../components/CmdLoginForm"
8
- import ComponentProperties from "../../components/ComponentProperties"
9
- import ViewCodeData from "../../components/ViewCodeData"
10
- import CmdTabs from "../../../components/CmdTabs"
11
-
12
- // import example-data
13
- import CmdCode from "../../data/CmdLoginFormHelp"
14
- import propertyDescriptions from "../../generated/CmdLoginFormPropertyDescriptions.json"
15
-
16
- const propertyStructures = {
17
- cmdCustomHeadlineLoginForm: {
18
- show: "<boolean>",
19
- text: "<string>",
20
- level: "<number>"
21
- },
22
- cmdCustomHeadlineSendLoginForm: {
23
- show: "<boolean>",
24
- text: "<string>",
25
- level: "<number>"
26
- },
27
- cmdFormElementUsername: {
28
- labelText: "<string>",
29
- placeholder: "<string>",
30
- innerIconClass: "<string>",
31
- name: "<string>",
32
- id: "<string>"
33
- },
34
- cmdFormElementPassword: {
35
- labelText: "<string>",
36
- placeholder: "<string>",
37
- innerIconClass: "<string>",
38
- name: "<string>",
39
- id: "<string>"
40
- },
41
- cmdFormElementSendLogin: "-",
42
- options: {
43
- forgotPassword: {
44
- icon: {
45
- show: "<boolean>",
46
- iconClass: "<string>",
47
- tooltip: "<string>",
48
- },
49
- text: "<string>",
50
- },
51
- createAccount: {
52
- linkType: "href | router | button",
53
- path: "<string>",
54
- icon: {
55
- show: "<boolean>",
56
- iconClass: "<string>",
57
- tooltip: "<string>",
58
- },
59
- text: "<string>",
60
- },
61
- backToLoginForm: {
62
- icon: {
63
- show: "<boolean>",
64
- iconClass: "<string>",
65
- tooltip: "<string>",
66
- },
67
- text: "<string>",
68
- }
69
- },
70
- buttons: {
71
- login: {
72
- linkType: "<string>",
73
- type: "<string>",
74
- path: "<string>",
75
- text: "<string>",
76
- primary: "<boolean>",
77
- icon: {
78
- show: "<boolean>",
79
- iconClass: "<string>",
80
- tooltip: "<string>",
81
- }
82
- },
83
- sendLogin: {
84
- linkType: "<string>",
85
- type: "<string>",
86
- path: "<string>",
87
- text: "<string>",
88
- primary: "<boolean>",
89
- icon: {
90
- show: "<boolean>",
91
- iconClass: "<string>",
92
- tooltip: "<string>",
93
- }
94
- }
95
- }
96
- }
97
-
98
- const loginData = ""
99
- </script>
100
-
101
- <template>
102
- <CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
103
- <template v-slot:tab-content-0>
104
- <ViewCodeData :isFirstComponent="true" :code="CmdCode[0]">
105
- <teleport to="#frame-component-target" :disabled="!isFrameMode()">
106
- <CmdLoginForm
107
- v-model="loginData"
108
- v-focus
109
- />
110
- </teleport>
111
- </ViewCodeData>
112
- </template>
113
- <template v-slot:tab-content-1>
114
- <ComponentProperties :properties="CmdLoginForm.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
115
- </template>
116
- </CmdTabs>
117
- </template>
@@ -1,94 +0,0 @@
1
- <script setup>
2
- // import functions
3
- import {ref} from "vue"
4
- import {tabProps, tabHandlers} from "../../tabs"
5
- import {isFrameMode} from "../../../utils/common"
6
-
7
- // import components
8
- import CmdMainNavigation from "../../../components/CmdMainNavigation"
9
- import ComponentProperties from "../../components/ComponentProperties"
10
- import ViewCodeData from "../../components/ViewCodeData"
11
- import CmdTabs from "../../../components/CmdTabs"
12
-
13
- // import example-data
14
- import CmdCode from "../../data/CmdMainNavigationHelp"
15
- import mainNavigation from '../../../assets/data/main-navigation.json'
16
- import propertyDescriptions from "../../generated/CmdMainNavigationPropertyDescriptions.json"
17
-
18
- const propertyStructures = {
19
- closeOffcanvas: {
20
- iconClass: "<string>",
21
- text: "<string>",
22
- showText: "<boolean>"
23
- },
24
- buttonOffcanvas: {
25
- iconClass: "<string>",
26
- text: "<string>",
27
- showText: "<boolean>"
28
- },
29
- navigationEntries: {
30
- "name": "<string>",
31
- "href": "<string>",
32
- "target": "<string>",
33
- "subentries": [
34
- {
35
- "name": "<string>",
36
- "href": "<string>",
37
- "target": "<string>",
38
- "subentries": "<array>"
39
- }
40
- ]
41
- },
42
- subentriesIconClass: {
43
- labelText: "<string>",
44
- placeholder: "<string>",
45
- innerIconClass: "<string>",
46
- name: "<string>",
47
- id: "<string>"
48
- },
49
- subSubentriesIconClass: {
50
- labelText: "<string>",
51
- placeholder: "<string>",
52
- innerIconClass: "<string>",
53
- name: "<string>",
54
- id: "<string>"
55
- }
56
- }
57
-
58
- // use ref and assign to const to make reactive
59
- const navigationEntries = ref(mainNavigation)
60
- </script>
61
-
62
- <template>
63
- <CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
64
- <template v-slot:tab-content-0>
65
- <h2>Component</h2>
66
- <ViewCodeData :isFirstComponent="true" :code="CmdCode[0]" :data="navigationEntries">
67
- <teleport to="#frame-component-target" :disabled="!isFrameMode()">
68
- <CmdMainNavigation
69
- :stretchMainItems="false"
70
- :persistOnMobile="false"
71
- :navigationEntries="navigationEntries"
72
- />
73
- </teleport>
74
- </ViewCodeData>
75
- </template>
76
- <template v-slot:tab-content-1>
77
- <ComponentProperties :properties="CmdMainNavigation.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
78
- </template>
79
- </CmdTabs>
80
- </template>
81
-
82
- <style lang="scss">
83
- @import '../../../assets/styles/variables';
84
-
85
- main#cmd-main-navigation {
86
- padding: 0;
87
-
88
- @media only screen and (max-width: $medium-max-width) {
89
- #toggle-offcanvas {
90
- margin-top: var(--default-margin);
91
- }
92
- }
93
- }
94
- </style>
@@ -1,49 +0,0 @@
1
- <script setup>
2
- // import functions
3
- import {tabProps, tabHandlers} from "../../tabs"
4
- import {isFrameMode} from "../../../utils/common"
5
-
6
- // import components
7
- import CmdMultistepFormProgressBar from "../../../components/CmdMultistepFormProgressBar"
8
- import ComponentProperties from "../../components/ComponentProperties"
9
- import ViewCodeData from "../../components/ViewCodeData"
10
- import CmdTabs from "../../../components/CmdTabs"
11
-
12
- // import example-data
13
- import CmdCode from "../../data/CmdMultistepFormProgressBarHelp"
14
- import multistepFormProgressBar from '../../../assets/data/multistep-form-progress-bar.json'
15
- import propertyDescriptions from "../../generated/CmdMultistepFormProgressBarPropertyDescriptions.json"
16
-
17
- const propertyStructures = {
18
- multisteps: [
19
- {
20
- "path": "<string>",
21
- "tooltip": "<string>",
22
- "type": "<string>",
23
- "name": "<string>",
24
- "formaction": "<string>",
25
- "text": "<string>",
26
- "iconClass": "<string>"
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
- <ViewCodeData :isFirstComponent="true" :code="CmdCode[0]" :data="multistepFormProgressBar">
37
- <teleport to="#frame-component-target" :disabled="!isFrameMode()">
38
- <CmdMultistepFormProgressBar
39
- :multisteps="multistepFormProgressBar"
40
- @click="showPageMultistep = $event.index + 1"
41
- />
42
- </teleport>
43
- </ViewCodeData>
44
- </template>
45
- <template v-slot:tab-content-1>
46
- <ComponentProperties :properties="CmdMultistepFormProgressBar.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
47
- </template>
48
- </CmdTabs>
49
- </template>
@@ -1,49 +0,0 @@
1
- <script setup>
2
- // import functions
3
- import {tabProps, tabHandlers} from "../../tabs"
4
- import {isFrameMode} from "../../../utils/common"
5
- // import components
6
-
7
- import CmdOpeningHours from "../../../components/CmdOpeningHours"
8
- import ComponentProperties from "../../components/ComponentProperties"
9
- import ViewCodeData from "../../components/ViewCodeData"
10
- import CmdTabs from "../../../components/CmdTabs"
11
-
12
- // import example-data
13
- import CmdCode from "../../data/CmdOpeningHoursHelp"
14
- import openingHours from '../../../assets/data/opening-hours.json'
15
- import propertyDescriptions from "../../generated/CmdOpeningHoursPropertyDescriptions.json"
16
-
17
- const propertyStructures = {
18
- openingHours: [
19
- {
20
- "day": "<string>",
21
- "fromTime": "<string>",
22
- "tillTime": "<string>"
23
- }
24
- ]
25
- }
26
- </script>
27
-
28
- <template>
29
- <CmdTabs v-show="!isFrameMode()" v-bind="tabProps" :active-tab="tabProps.activeTab" v-on="tabHandlers">
30
- <template v-slot:tab-content-0>
31
- <h2>Component</h2>
32
- <ViewCodeData :isFirstComponent="true" :code="CmdCode[0]" :data="openingHours">
33
- <teleport to="#frame-component-target" :disabled="!isFrameMode()">
34
- <CmdOpeningHours
35
- :openingHours="openingHours"
36
- :closed="true"
37
- :cmdCustomHeadline="{text: 'Opening hours', level: 4}"
38
- textOpenClosed="Closed right now!"
39
- textHolidaysClosed="Closed on holidays"
40
- textMiscInfo="Miscellaneous information"
41
- />
42
- </teleport>
43
- </ViewCodeData>
44
- </template>
45
- <template v-slot:tab-content-1>
46
- <ComponentProperties :properties="CmdOpeningHours.props" :propertyDescriptions="propertyDescriptions" :propertyStructures="propertyStructures"/>
47
- </template>
48
- </CmdTabs>
49
- </template>