comand-component-library 3.1.53 → 3.1.54
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.css +1 -1
- package/dist/comand-component-library.umd.min.js +1 -1
- package/package.json +1 -1
- package/src/App.vue +0 -55
- package/src/assets/data/breadcrumbs.json +2 -2
- package/src/components/CmdCookieDisclaimer.vue +63 -65
- package/src/index.js +0 -1
- package/src/router/index.js +0 -57
- package/src/ComponentDocumentation.vue +0 -156
- package/src/ComponentLibraryHelp.vue +0 -20
- package/src/components/CmdAccordion.vue +0 -253
- package/src/documentation/commonProps.js +0 -6
- package/src/documentation/components/ComponentCode.vue +0 -50
- package/src/documentation/components/ComponentProperties.vue +0 -237
- package/src/documentation/components/ExampleSectionWrapper.vue +0 -46
- package/src/documentation/components/ViewCodeData.vue +0 -113
- package/src/documentation/data/CmdAccordionHelp.js +0 -22
- package/src/documentation/data/CmdAddressDataHelp.js +0 -17
- package/src/documentation/data/CmdBackToTopButtonHelp.js +0 -3
- package/src/documentation/data/CmdBankAccountDataHelp.js +0 -8
- package/src/documentation/data/CmdBoxHelp.js +0 -45
- package/src/documentation/data/CmdBoxSiteSearchHelp.js +0 -11
- package/src/documentation/data/CmdBreadcrumbsHelp.js +0 -6
- package/src/documentation/data/CmdCompanyLogoHelp.js +0 -8
- package/src/documentation/data/CmdCookieDisclaimerHelp.js +0 -9
- package/src/documentation/data/CmdCopyrightInformation.js +0 -2
- package/src/documentation/data/CmdCustomHeadlineHelp.js +0 -8
- package/src/documentation/data/CmdFakeSelectHelp.js +0 -60
- package/src/documentation/data/CmdFancyBoxHelp.js +0 -7
- package/src/documentation/data/CmdFooterNavigationHelp.js +0 -5
- package/src/documentation/data/CmdFormElementHelp.js +0 -189
- package/src/documentation/data/CmdFormFiltersHelp.js +0 -6
- package/src/documentation/data/CmdFormHelp.js +0 -10
- package/src/documentation/data/CmdGoogleMapsHelp.js +0 -5
- package/src/documentation/data/CmdImageGalleryHelp.js +0 -5
- package/src/documentation/data/CmdImageZoomHelp.js +0 -6
- package/src/documentation/data/CmdListOfLinksHelp.js +0 -24
- package/src/documentation/data/CmdLoginFormHelp.js +0 -6
- package/src/documentation/data/CmdMainNavigationHelp.js +0 -7
- package/src/documentation/data/CmdMultistepFormProgressBarHelp.js +0 -6
- package/src/documentation/data/CmdOpeningHoursHelp.js +0 -10
- package/src/documentation/data/CmdPagerHelp.js +0 -7
- package/src/documentation/data/CmdProgressBarHelp.js +0 -13
- package/src/documentation/data/CmdShareButtonsHelp.js +0 -13
- package/src/documentation/data/CmdSiteHeaderHelp.js +0 -21
- package/src/documentation/data/CmdSlideButtonHelp.js +0 -10
- package/src/documentation/data/CmdSlideshowHelp.js +0 -7
- package/src/documentation/data/CmdSwitchLanguageHelp.js +0 -6
- package/src/documentation/data/CmdSystemMessageHelp.js +0 -32
- package/src/documentation/data/CmdTableHelp.js +0 -14
- package/src/documentation/data/CmdTabsHelp.js +0 -10
- package/src/documentation/data/CmdThumbnailScrollerHelp.js +0 -5
- package/src/documentation/data/CmdTooltipHelp.js +0 -13
- package/src/documentation/data/CmdUploadFormHelp.js +0 -17
- package/src/documentation/data/CmdWidthLimitationWrapperHelp.js +0 -7
- package/src/documentation/data/componentsDescription.json +0 -158
- package/src/documentation/generated/CmdAccordionPropertyDescriptions.json +0 -57
- package/src/documentation/generated/CmdAddressDataPropertyDescriptions.json +0 -32
- package/src/documentation/generated/CmdBackToTopButtonPropertyDescriptions.json +0 -12
- package/src/documentation/generated/CmdBankAccountDataPropertyDescriptions.json +0 -34
- package/src/documentation/generated/CmdBoxPropertyDescriptions.json +0 -91
- package/src/documentation/generated/CmdBoxSiteSearchPropertyDescriptions.json +0 -46
- package/src/documentation/generated/CmdBoxWrapperPropertyDescriptions.json +0 -47
- package/src/documentation/generated/CmdBreadcrumbsPropertyDescriptions.json +0 -17
- package/src/documentation/generated/CmdCompanyLogoPropertyDescriptions.json +0 -27
- package/src/documentation/generated/CmdCookieDisclaimerPropertyDescriptions.json +0 -22
- package/src/documentation/generated/CmdCustomHeadlinePropertyDescriptions.json +0 -22
- package/src/documentation/generated/CmdFakeSelectPropertyDescriptions.json +0 -84
- package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +0 -62
- package/src/documentation/generated/CmdFooterNavigationPropertyDescriptions.json +0 -17
- package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +0 -178
- package/src/documentation/generated/CmdFormFiltersPropertyDescriptions.json +0 -32
- package/src/documentation/generated/CmdFormPropertyDescriptions.json +0 -40
- package/src/documentation/generated/CmdGoogleMapsPropertyDescriptions.json +0 -7
- package/src/documentation/generated/CmdImageGalleryPropertyDescriptions.json +0 -22
- package/src/documentation/generated/CmdImageZoomPropertyDescriptions.json +0 -12
- package/src/documentation/generated/CmdListOfLinksPropertyDescriptions.json +0 -60
- package/src/documentation/generated/CmdLoginFormPropertyDescriptions.json +0 -90
- package/src/documentation/generated/CmdMainNavigationPropertyDescriptions.json +0 -62
- package/src/documentation/generated/CmdMultipleSwitchPropertyDescriptions.json +0 -52
- package/src/documentation/generated/CmdMultistepFormProgressBarPropertyDescriptions.json +0 -17
- package/src/documentation/generated/CmdOpeningHoursPropertyDescriptions.json +0 -42
- package/src/documentation/generated/CmdPagerPropertyDescriptions.json +0 -37
- package/src/documentation/generated/CmdProgressBarPropertyDescriptions.json +0 -32
- package/src/documentation/generated/CmdShareButtonsPropertyDescriptions.json +0 -34
- package/src/documentation/generated/CmdSiteHeaderPropertyDescriptions.json +0 -27
- package/src/documentation/generated/CmdSlideButtonPropertyDescriptions.json +0 -25
- package/src/documentation/generated/CmdSlideshowPropertyDescriptions.json +0 -42
- package/src/documentation/generated/CmdSwitchButtonPropertyDescriptions.json +0 -79
- package/src/documentation/generated/CmdSwitchLanguagePropertyDescriptions.json +0 -7
- package/src/documentation/generated/CmdSystemMessagePropertyDescriptions.json +0 -40
- package/src/documentation/generated/CmdTablePropertyDescriptions.json +0 -62
- package/src/documentation/generated/CmdTabsPropertyDescriptions.json +0 -27
- package/src/documentation/generated/CmdThumbnailScrollerPropertyDescriptions.json +0 -32
- package/src/documentation/generated/CmdTooltipPropertyDescriptions.json +0 -17
- package/src/documentation/generated/CmdUploadFormPropertyDescriptions.json +0 -90
- package/src/documentation/generated/CmdWidthLimitationWrapperPropertyDescriptions.json +0 -41
- package/src/documentation/generated/frameworkIcons.json +0 -730
- package/src/documentation/generated/logosIcons.json +0 -110
- package/src/documentation/tabs.js +0 -46
- package/src/documentation/views/ContainerPage.vue +0 -237
- package/src/documentation/views/HelpHome.vue +0 -13
- package/src/documentation/views/IconFont.vue +0 -80
- package/src/documentation/views/components/CmdAccordionHelp.vue +0 -78
- package/src/documentation/views/components/CmdAddressDataHelp.vue +0 -65
- package/src/documentation/views/components/CmdBackToTopButtonHelp.vue +0 -62
- package/src/documentation/views/components/CmdBankAccountDataHelp.vue +0 -88
- package/src/documentation/views/components/CmdBoxHelp.vue +0 -137
- package/src/documentation/views/components/CmdBoxSiteSearchHelp.vue +0 -60
- package/src/documentation/views/components/CmdBoxWrapperHelp.vue +0 -111
- package/src/documentation/views/components/CmdBreadcrumbsHelp.vue +0 -51
- package/src/documentation/views/components/CmdCompanyLogoHelp.vue +0 -48
- package/src/documentation/views/components/CmdCookieDisclaimerHelp.vue +0 -105
- package/src/documentation/views/components/CmdCustomHeadlineHelp.vue +0 -53
- package/src/documentation/views/components/CmdFakeSelectHelp.vue +0 -175
- package/src/documentation/views/components/CmdFancyBoxHelp.vue +0 -79
- package/src/documentation/views/components/CmdFormElementHelp.vue +0 -412
- package/src/documentation/views/components/CmdFormFiltersHelp.vue +0 -69
- package/src/documentation/views/components/CmdFormHelp.vue +0 -41
- package/src/documentation/views/components/CmdGoogleMapsHelp.vue +0 -55
- package/src/documentation/views/components/CmdImageGalleryHelp.vue +0 -46
- package/src/documentation/views/components/CmdImageZoomHelp.vue +0 -34
- package/src/documentation/views/components/CmdListOfLinksHelp.vue +0 -64
- package/src/documentation/views/components/CmdLoginFormHelp.vue +0 -117
- package/src/documentation/views/components/CmdMainNavigationHelp.vue +0 -94
- package/src/documentation/views/components/CmdMultistepFormProgressBarHelp.vue +0 -49
- package/src/documentation/views/components/CmdOpeningHoursHelp.vue +0 -49
- package/src/documentation/views/components/CmdPagerHelp.vue +0 -57
- package/src/documentation/views/components/CmdProgressBarHelp.vue +0 -47
- package/src/documentation/views/components/CmdShareButtonsHelp.vue +0 -65
- package/src/documentation/views/components/CmdSiteHeaderHelp.vue +0 -72
- package/src/documentation/views/components/CmdSlideButtonHelp.vue +0 -90
- package/src/documentation/views/components/CmdSlideshowHelp.vue +0 -60
- package/src/documentation/views/components/CmdSwitchLanguageHelp.vue +0 -64
- package/src/documentation/views/components/CmdSystemMessageHelp.vue +0 -86
- package/src/documentation/views/components/CmdTableHelp.vue +0 -84
- package/src/documentation/views/components/CmdTabsHelp.vue +0 -52
- package/src/documentation/views/components/CmdThumbnailScrollerHelp.vue +0 -50
- package/src/documentation/views/components/CmdTooltipHelp.vue +0 -59
- package/src/documentation/views/components/CmdUploadFormHelp.vue +0 -59
- 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,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,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,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,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,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,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
|
-
]
|