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,113 +0,0 @@
1
- <script setup>
2
- import {defineProps, ref, computed} from "vue"
3
- import {isFrameMode} from "../../utils/common"
4
- import ComponentCode from "./ComponentCode"
5
- import CmdBox from "../../components/CmdBox"
6
-
7
- defineProps({
8
- code: {
9
- type: String,
10
- required: true
11
- },
12
- data: {
13
- type: [String, Object, Array],
14
- required: false
15
- },
16
- isFirstComponent: {
17
- type: Boolean,
18
- default: false
19
- }
20
- })
21
-
22
- const responsiveWidth = ref("0px")
23
- const frameUrl = new URL(location)
24
- const showFrame = computed(() => !isFrameMode() && responsiveWidth.value !== "0px")
25
-
26
- frameUrl.searchParams.set("frameMode", "true")
27
-
28
- function changeWidth(width) {
29
- responsiveWidth.value = width + "px"
30
- }
31
- </script>
32
-
33
- <template>
34
- <div class="flex-container vertical">
35
- <div>
36
- <header class="flex-container" id="switch-device-view">
37
- <h4>View</h4>
38
- <ul v-if="isFirstComponent" class="flex-container">
39
- <li>
40
- Toggle width:
41
- </li>
42
- <li>
43
- <a :class="['icon-device-smartphone', {'active': responsiveWidth === '600px'}]" href="#" @click.prevent="changeWidth(600)" title="Change view to smartphone (0-600px)"></a>
44
- </li>
45
- <li>
46
- <a :class="['icon-device-tablet', {'active': responsiveWidth === '1023px'}]" href="#" @click.prevent="changeWidth(1023)" title="Change view to tablet (601px-1023px)"></a>
47
- </li>
48
- <li>
49
- <a :class="['icon-device-laptop', {'active': responsiveWidth === '1280px'}]" href="#" @click.prevent="changeWidth(1280)" title="Change view to laptop (1024px-1280px)"></a>
50
- </li>
51
- <li>
52
- <a :class="['icon-device-desktop', {'active': responsiveWidth === '0px'}]" href="#" @click.prevent="changeWidth(0)" title="Change view to desktop (1281px+)"></a>
53
- </li>
54
- </ul>
55
- </header>
56
- <div v-if="showFrame" id="responsive-view-wrapper" :style="{width: responsiveWidth}">
57
- <iframe :src="frameUrl.href" id="responsive-view" :style="{width: responsiveWidth}"></iframe>
58
- </div>
59
- <slot v-if="!showFrame"></slot>
60
- </div>
61
- <div v-if="!isFrameMode()" class="flex-container">
62
- <div>
63
- <CmdBox :useSlots="['body']" :collapsible="true" :collapsingBoxesOpen="true" :cmdCustomHeadline="{headlineText: 'Code', headlineLevel: 4}">
64
- <template v-slot:body>
65
- <ComponentCode :code="code"/>
66
- </template>
67
- </CmdBox>
68
- </div>
69
- <div v-if="data">
70
- <CmdBox :useSlots="['body']" :collapsible="true" :collapsingBoxesOpen="true" :cmdCustomHeadline="{headlineText: 'Data', headlineLevel: 4}">
71
- <template v-slot:body>
72
- <ComponentCode :code="data" language="json"/>
73
- </template>
74
- </CmdBox>
75
- </div>
76
- </div>
77
- </div>
78
- </template>
79
-
80
- <style lang="scss">
81
-
82
- #responsive-view-wrapper {
83
- resize: vertical;
84
- overflow: hidden;
85
- display: flex;
86
-
87
- #responsive-view {
88
- flex-grow: 1;
89
- border: .1rem dotted var(--text-color);
90
- }
91
- }
92
-
93
- #switch-device-view {
94
- justify-content: space-between;
95
-
96
- > * {
97
- flex: none;
98
- }
99
-
100
- ul {
101
- align-items: center;
102
-
103
- li {
104
- list-style-type: none;
105
- margin: 0;
106
-
107
- &:first-child {
108
- white-space: nowrap;
109
- }
110
- }
111
- }
112
- }
113
- </style>
@@ -1,22 +0,0 @@
1
- export default [`<CmdAccordion :accordionData="2" toggleMode="multiple">
2
- <template v-slot:accordionHeadline0>
3
- <h4>Accordion 1</h4>
4
- </template>
5
- <template v-slot:accordionContent0>
6
- <p>
7
- Content for accordion 1
8
- </p>
9
- </template>
10
- <template v-slot:accordionHeadline1>
11
- <h4>Accordion 2</h4>
12
- </template>
13
- <template v-slot:accordionContent1>
14
- <p>
15
- Content for accordion 2
16
- </p>
17
- </template>
18
- </CmdAccordion>`,
19
- `<CmdAccordion
20
- :accordionData="accordion.accordionData1"
21
- />`
22
- ]
@@ -1,17 +0,0 @@
1
- export default [`<CmdAddressData
2
- :addressData="addressData"
3
- :linkGoogleMaps="true"
4
- :cmdCustomHeadline="{
5
- headlineText: 'Address',
6
- headlineLevel: 5
7
- }"
8
- />`,
9
- `<CmdAddressData
10
- :addressData="addressData"
11
- :linkGoogleMaps="false"
12
- :cmdCustomHeadline="{
13
- headlineText: 'Address',
14
- headlineLevel: 5
15
- }"
16
- :showLabels="false"
17
- />`]
@@ -1,3 +0,0 @@
1
- export default [
2
- `<CmdBackToTopButton />`
3
- ]
@@ -1,8 +0,0 @@
1
- export default [`<CmdBankAccountData
2
- :account-data="bankAccountData"
3
- :allow-copy-by-click="true"
4
- :cmd-custom-headline="{
5
- headlineText: 'Bank Account',
6
- headlineLevel: 5
7
- }"
8
- />`]
@@ -1,45 +0,0 @@
1
- export default [`<CmdBox
2
- :cmdCustomHeadline="{
3
- headlineText: 'Headline given by property',
4
- headlineLevel: 5
5
- }"
6
- textBody="Content given by property"
7
- />`,
8
- `<CmdBox
9
- :cmdCustomHeadline="{
10
- headlineText: 'Headline given by property',
11
- headlineLevel: 5
12
- }"
13
- textBody="Content given by property"
14
- :collapsible="true"
15
- />`,
16
- `<CmdBox :useSlot="true">
17
- <template v-slot:header>
18
- <h5>
19
- Headline given by slot
20
- </h5>
21
- </template>
22
- <template v-slot:body>
23
- <p class="padding">
24
- Content given by slot
25
- </p>
26
- </template>
27
- <template v-slot:footer>
28
- <p>
29
- Footer given by slot
30
- </p>
31
- </template>
32
- </CmdBox>`,
33
- `<CmdBox
34
- boxType="product"
35
- :product="boxesProduct[0]"
36
- :cmdCustomHeadline="{ headlineLevel: 4}"
37
- @click.prevent="clickedOnProduct"
38
- />`,
39
- `<CmdBox
40
- boxType="user"
41
- :user="boxesUser[2]"
42
- :cmdCustomHeadline="{
43
- headlineLevel: 4
44
- }"/>`
45
- ]
@@ -1,11 +0,0 @@
1
- export default [
2
- `<CmdBoxSiteSearch
3
- text-legend="Legend"
4
- :results="420"
5
- :listOfFilters="listOfFilters"
6
- :cmdCustomHeadline="{
7
- headlineText: 'Search site',
8
- headlineLevel: 5
9
- }"
10
- />`
11
- ]
@@ -1,6 +0,0 @@
1
- export default [
2
- `<CmdBreadcrumbs
3
- :breadcrumbLinks="breadcrumbs"
4
- breadcrumbLabel="You are here:"
5
- />`
6
- ]
@@ -1,8 +0,0 @@
1
- export default [
2
- `<CmdCompanyLogo
3
- :link="companyLogoData.link"
4
- altText="CoManD Logo"
5
- :pathDefaultLogo="require('@/assets/images/logo.svg')"
6
- :pathDarkmodeLogo="require('@/assets/images/logo-darkmode.svg')"
7
- />`
8
- ]
@@ -1,9 +0,0 @@
1
- export default [
2
- `<CmdCookieDisclaimer
3
- headline="Usage of cookies on this web site"
4
- :cookieOptions="cookieDisclaimerData"
5
- buttonLabelAcceptAllCookies="Accept all cookies"
6
- buttonLabelAcceptCurrentSettings="Accept current settings"
7
- @closeCookieDisclaimer="fancyBoxCookieDisclaimer = false"
8
- />`
9
- ]
@@ -1,2 +0,0 @@
1
- export default
2
- `<CmdCopyrightInformation/>`
@@ -1,8 +0,0 @@
1
- export default [
2
- `<CmdCustomHeadline
3
- headlineText="Headline level 1"
4
- :headlineLevel="1"
5
- preHeadlineText="Pre-headline text"
6
- iconClass="icon-user-profile"
7
- />`
8
- ]
@@ -1,60 +0,0 @@
1
- export default [
2
- `<CmdFakeSelect
3
- labelText="Labeltext for default selectbox:"
4
- :status="formElementStatus"
5
- :selectData="fakeSelectOptions"
6
- v-model="fakeSelectDefault"
7
- required
8
- defaultOptionName="Select an option:"
9
- />`,
10
- `<CmdFakeSelect
11
- labelText="Selectbox with icons:"
12
- :status="formElementStatus"
13
- :selectData="fakeSelectOptionsWithIcons"
14
- v-model="fakeSelectDefaultWithIcons"
15
- defaultOptionName="Select an option:"
16
- />`,
17
- `<CmdFakeSelect
18
- labelText="Selectbox with checkboxes:"
19
- :status="formElementStatus"
20
- :selectData="fakeSelectOptions"
21
- v-model="fakeSelectCheckbox"
22
- defaultOptionName="Options:"
23
- :required="true"
24
- id="selectbox-with-checkboxes"
25
- type="checkboxOptions"
26
- :useCustomTooltip="true"
27
- />`,
28
- `<CmdFakeSelect
29
- labelText="Selectbox with slot-content:"
30
- :status="formElementStatus"
31
- type="content"
32
- defaultOptionName="HTML-Content:"
33
- >
34
- <ul class="custom-fake-select-content">
35
- <li>
36
- <div>
37
- <h3>Headline</h3>
38
- <p>Some content inside a paragraph</p>
39
- </div>
40
- <img src="media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-landscape.jpg" alt="image"/>
41
- </li>
42
- </ul>
43
- </CmdFakeSelect>`,
44
- `<CmdFakeSelect
45
- labelText="Selectbox with country flags:"
46
- :status="formElementStatus"
47
- :selectData="fakeSelectCountries"
48
- v-model="fakeSelectCountry"
49
- defaultOptionName="Select country:"
50
- type="country"
51
- />`,
52
- `<CmdFakeSelect
53
- labelText="Selectbox with colors:"
54
- :status="formElementStatus"
55
- :selectData="fakeSelectColors"
56
- v-model="fakeSelectColor"
57
- required="required"
58
- type="color"
59
- />`
60
- ]
@@ -1,7 +0,0 @@
1
- export default [
2
- `<CmdFancyBox
3
- :allowEscapeKey="false"
4
- >
5
- Content
6
- </CmdFancyBox>`
7
- ]
@@ -1,5 +0,0 @@
1
- export default
2
- `<CmdFooterNavigation
3
- :footerNavigation="footerNavigationData"
4
- headline="Links"
5
- />`
@@ -1,189 +0,0 @@
1
- export default [
2
- `<CmdFormElement
3
- labelText="Input (type text):"
4
- element="input"
5
- type="text"
6
- :status="formElementStatus"
7
- placeholder="Type in text"
8
- tooltipText="This is a tooltip"
9
- :useCustomTooltip="false"
10
- />`,
11
- `<CmdFormElement
12
- labelText="Input (type number):"
13
- element="input"
14
- type="number"
15
- :status="formElementStatus"
16
- placeholder="Type in number"
17
- tooltipText="This is a tooltip"
18
- :useCustomTooltip="false"
19
- />`,
20
- `<CmdFormElement
21
- labelText="Input (type color):"
22
- element="input"
23
- type="color"
24
- :status="formElementStatus"
25
- tooltipText="This is a tooltip"
26
- :useCustomTooltip="false"
27
- />`,
28
- `<CmdFormElement
29
- labelText="Input (type date):"
30
- element="input"
31
- type="date"
32
- :status="formElementStatus"
33
- tooltipText="This is a tooltip"
34
- :useCustomTooltip="false"
35
- />`,
36
- `<CmdFormElement
37
- labelText="Input (type datetime-local):"
38
- element="input"
39
- type="datetime-local"
40
- :status="formElementStatus"
41
- tooltipText="This is a tooltip"
42
- :useCustomTooltip="false"
43
- />`,
44
- `<CmdFormElement
45
- labelText="Input (type password):"
46
- element="input"
47
- type="password"
48
- :status="formElementStatus"
49
- placeholder="Type in password"
50
- tooltipText="This is a tooltip"
51
- :useCustomTooltip="false"
52
- />`,
53
- `<CmdFormElement
54
- labelText="Input (type file):"
55
- element="input"
56
- type="file"
57
- :status="formElementStatus"
58
- tooltipText="This is a tooltip"
59
- :useCustomTooltip="false"
60
- />`,
61
- `<CmdFormElement
62
- labelText="Input (type range):"
63
- element="input"
64
- type="range"
65
- :status="formElementStatus"
66
- :useCustomTooltip="false"
67
- v-model="range"
68
- />`,
69
- `<CmdFormElement
70
- :nativeButton="{
71
- text: 'Submit',
72
- icon: {
73
- iconClass: 'icon-edit',
74
- show: true
75
- }
76
- }"
77
- element="button"
78
- type="submit"
79
- :status="formElementStatus"
80
- :useCustomTooltip="false"
81
- />`,
82
- `<CmdFormElement
83
- :nativeButton="{
84
- icon: {
85
- iconClass: 'icon-edit',
86
- show: true,
87
- tooltip: 'I am a tooltip'
88
- }
89
- }"
90
- element="button"
91
- type="button"
92
- :status="formElementStatus"
93
- :useCustomTooltip="false"
94
- />`,
95
- `<CmdFormElement
96
- labelText="Input (type checkbox)"
97
- element="input"
98
- type="checkbox"
99
- :status="formElementStatus"
100
- tooltipText="This is a tooltip"
101
- :useCustomTooltip="false"
102
- v-model="checkbox"
103
- />`,
104
- `<CmdFormElement
105
- labelText="Input #1 (type radio)"
106
- element="input"
107
- type="radio"
108
- name="radio-group"
109
- id="example-radio1"
110
- :status="formElementStatus"
111
- tooltipText="This is a tooltip"
112
- :useCustomTooltip="false"
113
- v-model="radio"
114
- inputValue="Radiobutton1"
115
- />
116
- <CmdFormElement
117
- labelText="Input #2 (type radio)"
118
- element="input"
119
- type="radio"
120
- name="radio-group"
121
- id="example-radio2"
122
- :status="formElementStatus"
123
- tooltipText="This is a tooltip"
124
- :useCustomTooltip="false"
125
- v-model="radio"
126
- inputValue="Radiobutton2"
127
- />`,
128
- `<CmdFormElement
129
- labelText="Input (type checkbox)"
130
- element="input"
131
- type="checkbox"
132
- :replace-input-type="true"
133
- :status="formElementStatus"
134
- tooltipText="This is a tooltip"
135
- :useCustomTooltip="false"
136
- v-model="checkbox"
137
- />`,
138
- `<CmdFormElement
139
- labelText="Input #1 (type radio)"
140
- element="input"
141
- type="radio"
142
- :replace-input-type="true"
143
- name="radio-group"
144
- id="example-radio1"
145
- :status="formElementStatus"
146
- tooltipText="This is a tooltip"
147
- :useCustomTooltip="false"
148
- v-model="radio"
149
- inputValue="Radiobutton1"
150
- />
151
- <CmdFormElement
152
- labelText="Input #2 (type radio)"
153
- element="input"
154
- type="radio"
155
- name="radio-group"
156
- :replace-input-type="true"
157
- id="example-radio2"
158
- :status="formElementStatus"
159
- tooltipText="This is a tooltip"
160
- :useCustomTooltip="false"
161
- v-model="radio"
162
- inputValue="Radiobutton2"
163
- />`,
164
- `<CmdFormElement
165
- labelText="Selectbox"
166
- element="select"
167
- required="required"
168
- :status="formElementStatus"
169
- v-model="select"
170
- :selectOptions="selectOptions"
171
- />`,
172
- `<CmdFormElement
173
- labelText="Datalist:"
174
- element="input"
175
- type="text"
176
- :status="formElementStatus"
177
- placeholder="Type in option"
178
- :datalist="datalist"
179
- tooltipText="This is a tooltip"
180
- />`,
181
- `<CmdFormElement
182
- labelText="Textarea:"
183
- element="textarea"
184
- :status="formElementStatus"
185
- placeholder="Type in text"
186
- tooltipText="This is a tooltip"
187
- v-model="textarea"
188
- />`
189
- ]
@@ -1,6 +0,0 @@
1
- export default [
2
- `<CmdFormFilters
3
- v-model:selectedOptions="fakeSelectFilterOptions"
4
- :selectedOptionsName="getOptionName"
5
- />`
6
- ]
@@ -1,10 +0,0 @@
1
- export default [
2
- `<CmdForm
3
- :use-fieldset="true"
4
- novalidate="novalidate"
5
- text-legend="Legend">
6
- <!-- begin slot-content -->
7
- Form content (put form elements here)
8
- <!-- end slot-content -->
9
- </CmdForm>`
10
- ]
@@ -1,5 +0,0 @@
1
- export default [
2
- `<CmdGoogleMaps
3
- :address="coordinates(addressData.address)"
4
- />`
5
- ]
@@ -1,5 +0,0 @@
1
- export default [
2
- `<CmdImageGallery
3
- :images="imageGallery"
4
- />`
5
- ]
@@ -1,6 +0,0 @@
1
- export default [
2
- `<CmdImageZoom
3
- small-image-url="media/images/content-images/logo-business-edition-landscape.jpg"
4
- large-image-url="media/images/content-images/logo-business-edition-landscape-large.jpg"
5
- />`
6
- ]
@@ -1,24 +0,0 @@
1
- export default [
2
- `<CmdListOfLinks
3
- :links="listOfLinks"
4
- :cmdCustomHeadline="{
5
- text: 'Links',
6
- level: 5
7
- }"
8
- />`,
9
- `<CmdListOfLinks
10
- :links="listOfLinks"
11
- orientation="horizontal"
12
- :cmdCustomHeadline="{
13
- headlineText: 'Links',
14
- headlineLevel: 5
15
- }"
16
- />`,
17
- `<CmdListOfLinks
18
- :links="listOfLinks"
19
- :styleAsBox="true"
20
- :cmdCustomHeadline="{
21
- headlineText: 'Links',
22
- headlineLevel: 5
23
- }" />`
24
- ]
@@ -1,6 +0,0 @@
1
- export default [
2
- `<CmdLoginForm
3
- v-model="loginData"
4
- v-focus
5
- />`
6
- ]
@@ -1,7 +0,0 @@
1
- export default [
2
- `<CmdMainNavigation
3
- :stretchMainItems="false"
4
- :persistOnMobile="false"
5
- :navigationEntries="navigationEntries"
6
- />`
7
- ]
@@ -1,6 +0,0 @@
1
- export default [
2
- `<CmdMultistepFormProgressBar
3
- :multisteps="multistepFormProgressBar"
4
- @click="showPageMultistep = $event.index + 1"
5
- />`
6
- ]
@@ -1,10 +0,0 @@
1
- export default [
2
- `<CmdOpeningHours
3
- :openingHours="openingHoursData"
4
- :closed="true"
5
- headline="Opening hours"
6
- textOpenClosed="Closed right now!"
7
- textHolidaysClosed="Closed on holidays"
8
- textMiscInfo="Miscellaneous information"
9
- />`
10
- ]
@@ -1,7 +0,0 @@
1
- export default [
2
- `<CmdPager
3
- :items="pagerData.length"
4
- :itemsPerPage="1"
5
- @click="showPagePager = $event"
6
- />`
7
- ]
@@ -1,13 +0,0 @@
1
- export default [
2
- `<CmdProgressBar
3
- labelText="Progress Bar (with optional output):"
4
- id="progress-bar"
5
- max="100"
6
- />`,
7
- `<CmdProgressBar
8
- labelText="Progress Bar without output:"
9
- id="progress-bar"
10
- max="100"
11
- :showLoadingStatus="false"
12
- />`
13
- ]
@@ -1,13 +0,0 @@
1
- export default [
2
- `<CmdShareButtons
3
- :share-buttons="shareButtonsJson"
4
- :append-page="false"
5
- />`,
6
- `<CmdShareButtons
7
- :share-buttons="shareButtonsPage"
8
- page="some url"
9
- />`,
10
- `<CmdShareButtons
11
- :share-buttons="shareButtonsPage"
12
- />`
13
- ]