comand-component-library 3.1.70 → 3.1.73
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 +2 -2
- package/src/App.vue +356 -225
- package/src/assets/data/list-of-links.json +0 -1
- package/src/assets/styles/global-styles.scss +26 -0
- package/src/components/CmdBox.vue +12 -6
- package/src/components/CmdCompanyLogo.vue +3 -3
- package/src/components/CmdCookieDisclaimer.vue +20 -4
- package/src/components/CmdFakeSelect.vue +17 -12
- package/src/components/CmdFormElement.vue +85 -81
- package/src/components/CmdInputGroup.vue +31 -7
- package/src/components/CmdProgressBar.vue +2 -2
- package/src/components/CmdTable.vue +1 -1
- package/src/components/CmdToggleDarkMode.vue +30 -10
- package/src/components/CmdTooltip.vue +1 -1
- 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 +96 -0
- package/src/documentation/generated/CmdBoxSiteSearchPropertyDescriptions.json +79 -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 +32 -0
- package/src/documentation/generated/CmdCustomHeadlinePropertyDescriptions.json +22 -0
- package/src/documentation/generated/CmdFakeSelectPropertyDescriptions.json +84 -0
- package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +62 -0
- package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +253 -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/CmdInputGroupPropertyDescriptions.json +86 -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/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/CmdSwitchLanguagePropertyDescriptions.json +7 -0
- package/src/documentation/generated/CmdSystemMessagePropertyDescriptions.json +40 -0
- package/src/documentation/generated/CmdTablePropertyDescriptions.json +72 -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 +175 -0
- package/src/documentation/generated/CmdWidthLimitationWrapperPropertyDescriptions.json +41 -0
- package/src/index.js +1 -1
- package/src/mixins/CmdFormElement/DefaultMessageProperties.js +1 -1
- package/src/mixins/FieldValidation.js +1 -1
- package/src/mixins/GlobalDefaultMessageProperties.js +1 -2
- package/src/mixins/I18n.js +12 -2
@@ -6,6 +6,10 @@
|
|
6
6
|
:labelText="labelText"
|
7
7
|
:showLabel="showLabel"
|
8
8
|
v-model="darkMode"
|
9
|
+
:toggle-switch="true"
|
10
|
+
:useIconsForToggleSwitch="true"
|
11
|
+
toggle-switch-checked-icon-class="icon-home"
|
12
|
+
toggle-switch-unchecked-icon-class="icon-globe"
|
9
13
|
/>
|
10
14
|
</div>
|
11
15
|
</template>
|
@@ -14,19 +18,17 @@
|
|
14
18
|
import CmdFormElement from "./CmdFormElement"
|
15
19
|
|
16
20
|
export default {
|
17
|
-
|
18
|
-
return {
|
19
|
-
darkMode: false
|
20
|
-
}
|
21
|
-
},
|
21
|
+
name: "ToggleDarkMode",
|
22
22
|
components: {
|
23
23
|
CmdFormElement
|
24
24
|
},
|
25
|
+
data() {
|
26
|
+
return {
|
27
|
+
darkMode: false,
|
28
|
+
labelText: "Light mode activated"
|
29
|
+
}
|
30
|
+
},
|
25
31
|
props: {
|
26
|
-
labelText: {
|
27
|
-
type: String,
|
28
|
-
default: "Toggle Darkmode"
|
29
|
-
},
|
30
32
|
showLabel: {
|
31
33
|
type: Boolean,
|
32
34
|
default: false
|
@@ -56,11 +58,29 @@ export default {
|
|
56
58
|
const htmlTag = document.querySelector('html')
|
57
59
|
if(this.darkMode) {
|
58
60
|
htmlTag.classList.replace("light-mode", "dark-mode");
|
61
|
+
this.labelText = "Dark-Mode enabled"
|
59
62
|
} else {
|
60
63
|
htmlTag.classList.replace("dark-mode", "light-mode");
|
64
|
+
this.labelText = "Light-Mode enabled"
|
61
65
|
}
|
62
66
|
htmlTag.dispatchEvent(new CustomEvent('toggle-color-scheme', { detail: this.darkMode ? 'dark-mode' : 'light-mode' }))
|
63
67
|
}
|
64
68
|
}
|
65
69
|
}
|
66
|
-
</script>
|
70
|
+
</script>
|
71
|
+
|
72
|
+
<style lang="scss">
|
73
|
+
.cmd-toggle-dark-mode {
|
74
|
+
.cmd-form-element {
|
75
|
+
input {
|
76
|
+
background: blue;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
&.dark-mode {
|
81
|
+
input {
|
82
|
+
background: black;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
</style>
|
@@ -138,7 +138,7 @@ export default {
|
|
138
138
|
},
|
139
139
|
unmounted() {
|
140
140
|
if(this.relatedId) {
|
141
|
-
const relatedElement = document.getElementById(this.
|
141
|
+
const relatedElement = document.getElementById(this.npm )
|
142
142
|
|
143
143
|
if(relatedElement) {
|
144
144
|
relatedElement.removeEventListener("mouseenter", this.showTooltip)
|
@@ -0,0 +1,32 @@
|
|
1
|
+
{
|
2
|
+
"showLabelIcons": {
|
3
|
+
"comments": [
|
4
|
+
"show a label-icon (if exists)"
|
5
|
+
]
|
6
|
+
},
|
7
|
+
"showLabelTexts": {
|
8
|
+
"comments": [
|
9
|
+
"show a label-text"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"cmdCustomHeadline": {
|
13
|
+
"comments": [
|
14
|
+
"properties for CmdCustomHeadline-component"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"showLabels": {
|
18
|
+
"comments": [
|
19
|
+
"option to toggle labels (i.e. telephone, email etc.) in front/left of data"
|
20
|
+
]
|
21
|
+
},
|
22
|
+
"addressData": {
|
23
|
+
"comments": [
|
24
|
+
"all address-data (incl. labels) that will be shown"
|
25
|
+
]
|
26
|
+
},
|
27
|
+
"linkGoogleMaps": {
|
28
|
+
"comments": [
|
29
|
+
"link physical address (street, no, zip and city) with Google Maps"
|
30
|
+
]
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"accountData": {
|
3
|
+
"comments": [
|
4
|
+
"bank account data",
|
5
|
+
"",
|
6
|
+
"must contain: owner, name of bank, IBAN, SWIFT/BIC"
|
7
|
+
]
|
8
|
+
},
|
9
|
+
"allowCopyByClick": {
|
10
|
+
"comments": [
|
11
|
+
"enable if data can be copied by click on icon"
|
12
|
+
]
|
13
|
+
},
|
14
|
+
"additionalInformation": {
|
15
|
+
"comments": [
|
16
|
+
"additional information shown in a paragraph below account data"
|
17
|
+
]
|
18
|
+
},
|
19
|
+
"iconCopy": {
|
20
|
+
"comments": [
|
21
|
+
"icon 'copy'"
|
22
|
+
],
|
23
|
+
"annotations": {
|
24
|
+
"requiredForAccessibility": [
|
25
|
+
"partial"
|
26
|
+
]
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"cmdCustomHeadline": {
|
30
|
+
"comments": [
|
31
|
+
"properties for CmdCustomHeadline-component"
|
32
|
+
]
|
33
|
+
}
|
34
|
+
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
{
|
2
|
+
"boxType": {
|
3
|
+
"comments": [
|
4
|
+
"set boyType to show different types of boxes/contents"
|
5
|
+
],
|
6
|
+
"annotations": {
|
7
|
+
"allowedValues": [
|
8
|
+
"content, product, user"
|
9
|
+
],
|
10
|
+
"affectsStyling": [
|
11
|
+
"true"
|
12
|
+
]
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"collapsible": {
|
16
|
+
"comments": [
|
17
|
+
"activate if box should be collapsible"
|
18
|
+
]
|
19
|
+
},
|
20
|
+
"useTransition": {
|
21
|
+
"comments": [
|
22
|
+
"use transition to expand and collapse box-body",
|
23
|
+
"",
|
24
|
+
"boyType must be 'content' and 'collapsible' must be activated"
|
25
|
+
]
|
26
|
+
},
|
27
|
+
"defaultProfileIconClass": {
|
28
|
+
"comments": [
|
29
|
+
"set default profile-icon (will eb shown if no user-image exists)"
|
30
|
+
]
|
31
|
+
},
|
32
|
+
"product": {
|
33
|
+
"comments": [
|
34
|
+
"the shown product (incl. name, price, image, description)"
|
35
|
+
],
|
36
|
+
"annotations": {
|
37
|
+
"required": [
|
38
|
+
"only available for boxtype===product"
|
39
|
+
]
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"user": {
|
43
|
+
"comments": [
|
44
|
+
"the shown user-profile (incl. name, image, contact-data)"
|
45
|
+
],
|
46
|
+
"annotations": {
|
47
|
+
"required": [
|
48
|
+
"only available for boxtype===user"
|
49
|
+
]
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"useSlots": {
|
53
|
+
"comments": [
|
54
|
+
"activated if all content (incl. headline) is given by slot",
|
55
|
+
"",
|
56
|
+
"if false textBody-property must be set"
|
57
|
+
]
|
58
|
+
},
|
59
|
+
"textBody": {
|
60
|
+
"comments": [
|
61
|
+
"String used as content (placed in a paragraph-tag) for box-body",
|
62
|
+
"",
|
63
|
+
"should only be used, if no further html-structure is required for box-body"
|
64
|
+
]
|
65
|
+
},
|
66
|
+
"iconOpen": {
|
67
|
+
"comments": [
|
68
|
+
"icon to expand an accordion"
|
69
|
+
],
|
70
|
+
"annotations": {
|
71
|
+
"requiredForAccessibility": [
|
72
|
+
"partial"
|
73
|
+
]
|
74
|
+
}
|
75
|
+
},
|
76
|
+
"iconClosed": {
|
77
|
+
"comments": [
|
78
|
+
"icon to collapse an accordion"
|
79
|
+
],
|
80
|
+
"annotations": {
|
81
|
+
"requiredForAccessibility": [
|
82
|
+
"partial"
|
83
|
+
]
|
84
|
+
}
|
85
|
+
},
|
86
|
+
"stretchVertically": {
|
87
|
+
"comments": [
|
88
|
+
"allow box to be stretched as high as parent-element"
|
89
|
+
]
|
90
|
+
},
|
91
|
+
"cmdCustomHeadline": {
|
92
|
+
"comments": [
|
93
|
+
"properties for CmdCustomHeadline-component"
|
94
|
+
]
|
95
|
+
}
|
96
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
{
|
2
|
+
"modelValueInput1": {
|
3
|
+
"comments": [
|
4
|
+
"custom modelValue for first input-field"
|
5
|
+
]
|
6
|
+
},
|
7
|
+
"modelValueInput2": {
|
8
|
+
"comments": [
|
9
|
+
"custom modelValue for second input-field"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"modelValueRadius": {
|
13
|
+
"comments": [
|
14
|
+
"custom modelValue for radius"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"modelValueSearchFilters": {
|
18
|
+
"comments": [
|
19
|
+
"custom modelValue for search-filters"
|
20
|
+
]
|
21
|
+
},
|
22
|
+
"useFilters": {
|
23
|
+
"comments": [
|
24
|
+
"toggle use of filters (must configured)"
|
25
|
+
]
|
26
|
+
},
|
27
|
+
"textLegend": {
|
28
|
+
"comments": [
|
29
|
+
"text for legend"
|
30
|
+
],
|
31
|
+
"annotations": {
|
32
|
+
"requiredForAccessibility": [
|
33
|
+
"true"
|
34
|
+
]
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"showLegend": {
|
38
|
+
"comments": [
|
39
|
+
"toggle legend visibility",
|
40
|
+
"",
|
41
|
+
"textLegend must be set"
|
42
|
+
]
|
43
|
+
},
|
44
|
+
"results": {
|
45
|
+
"comments": [
|
46
|
+
"send search result from outside to display inside this component"
|
47
|
+
]
|
48
|
+
},
|
49
|
+
"cmdCustomHeadline": {
|
50
|
+
"comments": [
|
51
|
+
"properties for CmdCustomHeadline-component"
|
52
|
+
]
|
53
|
+
},
|
54
|
+
"cmdFormElementInput1": {
|
55
|
+
"comments": [
|
56
|
+
"properties for CmdFormElement-component first search-field"
|
57
|
+
]
|
58
|
+
},
|
59
|
+
"cmdFormElementInput2": {
|
60
|
+
"comments": [
|
61
|
+
"properties for CmdFormElement-component for second search-field"
|
62
|
+
]
|
63
|
+
},
|
64
|
+
"cmdFormElementRadius": {
|
65
|
+
"comments": [
|
66
|
+
"properties for CmdFormElement-component for radius"
|
67
|
+
]
|
68
|
+
},
|
69
|
+
"cmdFormElementSearchButton": {
|
70
|
+
"comments": [
|
71
|
+
"properties for CmdFormElement-component for search-button"
|
72
|
+
]
|
73
|
+
},
|
74
|
+
"cmdFakeSelect": {
|
75
|
+
"comments": [
|
76
|
+
"properties for CmdFakeSelect-component for filters"
|
77
|
+
]
|
78
|
+
}
|
79
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
{
|
2
|
+
"useRowViewAsDefault": {
|
3
|
+
"comments": [
|
4
|
+
"activate if boxes should be arranged vertically (each box is a row) by default"
|
5
|
+
]
|
6
|
+
},
|
7
|
+
"allowUserToToggleView": {
|
8
|
+
"comments": [
|
9
|
+
"activate if user can toggle grid- and row-view by himself"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"allowTogglingCollapsingBoxes": {
|
13
|
+
"comments": [
|
14
|
+
"activate if user can toggle grid- and row-view by himself"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"collapseBoxesIcon": {
|
18
|
+
"comments": [
|
19
|
+
"icon for collapsed box"
|
20
|
+
]
|
21
|
+
},
|
22
|
+
"expandBoxesIcon": {
|
23
|
+
"comments": [
|
24
|
+
"icon for expanded box"
|
25
|
+
]
|
26
|
+
},
|
27
|
+
"useFlexbox": {
|
28
|
+
"comments": [
|
29
|
+
"activate if you want to use a flex-container instead of a css-grid-container"
|
30
|
+
]
|
31
|
+
},
|
32
|
+
"boxesPerRow": {
|
33
|
+
"comments": [
|
34
|
+
"define the number of boxes per row (if view is grid-view)"
|
35
|
+
]
|
36
|
+
},
|
37
|
+
"iconGridView": {
|
38
|
+
"comments": [
|
39
|
+
"define icon for grid-view"
|
40
|
+
]
|
41
|
+
},
|
42
|
+
"iconRowView": {
|
43
|
+
"comments": [
|
44
|
+
"define icon for row-view"
|
45
|
+
]
|
46
|
+
}
|
47
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"breadcrumbLabel": {
|
3
|
+
"comments": [
|
4
|
+
"label in front/left of breadcrumbs"
|
5
|
+
]
|
6
|
+
},
|
7
|
+
"breadcrumbLinks": {
|
8
|
+
"comments": [
|
9
|
+
"list of breadcrumb-links (incl. path, icon and text)"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"breadcrumbSeparator": {
|
13
|
+
"comments": [
|
14
|
+
"separator sign between entries"
|
15
|
+
]
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"link": {
|
3
|
+
"comments": [
|
4
|
+
"link for company logo (i.e. to homepage)"
|
5
|
+
]
|
6
|
+
},
|
7
|
+
"pathDefaultLogo": {
|
8
|
+
"comments": [
|
9
|
+
"path to (default) logo-file"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"pathDarkmodeLogo": {
|
13
|
+
"comments": [
|
14
|
+
"path to dark-mode logo-file"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"altText": {
|
18
|
+
"comments": [
|
19
|
+
"alternative text for image"
|
20
|
+
],
|
21
|
+
"annotations": {
|
22
|
+
"requiredForAccessibility": [
|
23
|
+
"true"
|
24
|
+
]
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
{
|
2
|
+
"cmdCustomHeadlineCookieDisclaimer": {
|
3
|
+
"comments": [
|
4
|
+
"properties for CmdCustomHeadline-component at top of cookie disclaimer"
|
5
|
+
]
|
6
|
+
},
|
7
|
+
"cmdBoxRequiredCookies": {
|
8
|
+
"comments": [
|
9
|
+
"property for CmdBox-component surrounding the required cookies"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"cmdBoxOptionalCookies": {
|
13
|
+
"comments": [
|
14
|
+
"property for CmdBox-component surrounding the optional cookies"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"cookieOptions": {
|
18
|
+
"comments": [
|
19
|
+
"list of cookie-options"
|
20
|
+
]
|
21
|
+
},
|
22
|
+
"buttonLabelAcceptAllCookies": {
|
23
|
+
"comments": [
|
24
|
+
"label for button to accepting all cookies"
|
25
|
+
]
|
26
|
+
},
|
27
|
+
"buttonLabelAcceptCurrentSettings": {
|
28
|
+
"comments": [
|
29
|
+
"label for button for accepting current settings"
|
30
|
+
]
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"headlineText": {
|
3
|
+
"comments": [
|
4
|
+
"text for headline"
|
5
|
+
]
|
6
|
+
},
|
7
|
+
"headlineLevel": {
|
8
|
+
"comments": [
|
9
|
+
"level for headline"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"preHeadlineText": {
|
13
|
+
"comments": [
|
14
|
+
"small pre-headline-text above main-headline"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"iconClass": {
|
18
|
+
"comments": [
|
19
|
+
"icon-class for icon shown left/before headline"
|
20
|
+
]
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
{
|
2
|
+
"type": {
|
3
|
+
"comments": [
|
4
|
+
"set different default selectbox-types for"
|
5
|
+
],
|
6
|
+
"annotations": {
|
7
|
+
"allowedValues": [
|
8
|
+
"default, color, country, checkboxOptions"
|
9
|
+
]
|
10
|
+
}
|
11
|
+
},
|
12
|
+
"optionLinkType": {
|
13
|
+
"comments": [
|
14
|
+
"set type of option-links"
|
15
|
+
],
|
16
|
+
"annotations": {
|
17
|
+
"allowedValues": [
|
18
|
+
"href, router"
|
19
|
+
]
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"modelValue": {
|
23
|
+
"comments": [
|
24
|
+
"set default v-model (must be named modelValue in Vue3)"
|
25
|
+
]
|
26
|
+
},
|
27
|
+
"selectData": {
|
28
|
+
"comments": [
|
29
|
+
"list of options to select (incl. displayed names and values)",
|
30
|
+
"",
|
31
|
+
"type-property must be set to \"checkboxOptions\""
|
32
|
+
]
|
33
|
+
},
|
34
|
+
"showSelectAllOptions": {
|
35
|
+
"comments": [
|
36
|
+
"toggles option to (de)select all options in a checkbox-list",
|
37
|
+
"",
|
38
|
+
"type-property must be set to \"checkboxOptions\""
|
39
|
+
]
|
40
|
+
},
|
41
|
+
"status": {
|
42
|
+
"comments": [
|
43
|
+
"status (i.e. for validation)"
|
44
|
+
],
|
45
|
+
"annotations": {
|
46
|
+
"allowedValues": [
|
47
|
+
"error, warning, success, info"
|
48
|
+
],
|
49
|
+
"affectsStyling": [
|
50
|
+
"true"
|
51
|
+
]
|
52
|
+
}
|
53
|
+
},
|
54
|
+
"dropdownIcon": {
|
55
|
+
"comments": [
|
56
|
+
"icon for dropdown-icon (i.e. an angle/arrow)"
|
57
|
+
],
|
58
|
+
"annotations": {
|
59
|
+
"requiredForAccessibility": [
|
60
|
+
"partial"
|
61
|
+
],
|
62
|
+
"defaultIcon": [
|
63
|
+
"icon-single-arrow-down"
|
64
|
+
]
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"labelText": {
|
68
|
+
"comments": [
|
69
|
+
"label-text for fake-select",
|
70
|
+
"",
|
71
|
+
" @requiredForAccessibility: true"
|
72
|
+
]
|
73
|
+
},
|
74
|
+
"showLabel": {
|
75
|
+
"comments": [
|
76
|
+
"toggle label visibility"
|
77
|
+
]
|
78
|
+
},
|
79
|
+
"pathFlags": {
|
80
|
+
"comments": [
|
81
|
+
"path to flag-files (will be combined with flag isoCode to load svg)"
|
82
|
+
]
|
83
|
+
}
|
84
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
{
|
2
|
+
"url": {
|
3
|
+
"comments": [
|
4
|
+
"set if content should be loaded by url"
|
5
|
+
]
|
6
|
+
},
|
7
|
+
"fancyboxOptions": {
|
8
|
+
"comments": [
|
9
|
+
"options to show at top (closeIcon, printButtons)"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"allowEscapeKey": {
|
13
|
+
"comments": [
|
14
|
+
"allow closing fancybox by escape-key"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"content": {
|
18
|
+
"comments": [
|
19
|
+
"the content shown in the main area"
|
20
|
+
]
|
21
|
+
},
|
22
|
+
"elements": {
|
23
|
+
"comments": [
|
24
|
+
"list of show elements (not images)"
|
25
|
+
]
|
26
|
+
},
|
27
|
+
"fancyBoxGallery": {
|
28
|
+
"comments": [
|
29
|
+
"use if a gallery of images should be opened (and navigated) inside fancybox"
|
30
|
+
]
|
31
|
+
},
|
32
|
+
"defaultGalleryIndex": {
|
33
|
+
"comments": [
|
34
|
+
"if gallery is used, you can set default index"
|
35
|
+
]
|
36
|
+
},
|
37
|
+
"show": {
|
38
|
+
"comments": [
|
39
|
+
"show/hide entire fancybox"
|
40
|
+
]
|
41
|
+
},
|
42
|
+
"showOverlay": {
|
43
|
+
"comments": [
|
44
|
+
"show/hide overlay (around fancybox, above website)"
|
45
|
+
],
|
46
|
+
"annotations": {
|
47
|
+
"affectsStyling": [
|
48
|
+
"true"
|
49
|
+
]
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"altText": {
|
53
|
+
"comments": [
|
54
|
+
"alternative text for large image (required for images)"
|
55
|
+
],
|
56
|
+
"annotations": {
|
57
|
+
"requiredForAccessibility": [
|
58
|
+
"true"
|
59
|
+
]
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|