comand-component-library 4.1.30 → 4.1.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. package/dist/comand-component-library.js +20046 -16862
  2. package/package.json +1 -1
  3. package/src/ComponentLibrary.vue +24 -2
  4. package/src/documentation/generated/CmdAddressDataPropertyDescriptions.json +0 -50
  5. package/src/documentation/generated/CmdBackToTopButtonPropertyDescriptions.json +0 -17
  6. package/src/documentation/generated/CmdBankAccountDataPropertyDescriptions.json +0 -49
  7. package/src/documentation/generated/CmdBasicFormPropertyDescriptions.json +0 -52
  8. package/src/documentation/generated/CmdBoxPropertyDescriptions.json +0 -199
  9. package/src/documentation/generated/CmdBoxSiteSearchPropertyDescriptions.json +0 -79
  10. package/src/documentation/generated/CmdBoxWrapperPropertyDescriptions.json +0 -77
  11. package/src/documentation/generated/CmdBreadcrumbsPropertyDescriptions.json +0 -17
  12. package/src/documentation/generated/CmdCompanyLogoPropertyDescriptions.json +0 -27
  13. package/src/documentation/generated/CmdContainerPropertyDescriptions.json +0 -43
  14. package/src/documentation/generated/CmdCookieDisclaimerPropertyDescriptions.json +0 -42
  15. package/src/documentation/generated/CmdFakeSelectPropertyDescriptions.json +0 -113
  16. package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +0 -97
  17. package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +0 -269
  18. package/src/documentation/generated/CmdFormFiltersPropertyDescriptions.json +0 -32
  19. package/src/documentation/generated/CmdFormPropertyDescriptions.json +0 -57
  20. package/src/documentation/generated/CmdGoogleMapsPropertyDescriptions.json +0 -7
  21. package/src/documentation/generated/CmdHeadlinePropertyDescriptions.json +0 -32
  22. package/src/documentation/generated/CmdIconPropertyDescriptions.json +0 -32
  23. package/src/documentation/generated/CmdImageGalleryPropertyDescriptions.json +0 -32
  24. package/src/documentation/generated/CmdImagePropertyDescriptions.json +0 -27
  25. package/src/documentation/generated/CmdImageZoomPropertyDescriptions.json +0 -12
  26. package/src/documentation/generated/CmdInputGroupPropertyDescriptions.json +0 -132
  27. package/src/documentation/generated/CmdLinkPropertyDescriptions.json +0 -49
  28. package/src/documentation/generated/CmdListOfLinksPropertyDescriptions.json +0 -70
  29. package/src/documentation/generated/CmdListOfRequirementsPropertyDescriptions.json +0 -47
  30. package/src/documentation/generated/CmdLoginFormPropertyDescriptions.json +0 -105
  31. package/src/documentation/generated/CmdMainNavigationPropertyDescriptions.json +0 -72
  32. package/src/documentation/generated/CmdMultistepFormProgressBarPropertyDescriptions.json +0 -22
  33. package/src/documentation/generated/CmdNewsletterSubscriptionPropertyDescriptions.json +0 -37
  34. package/src/documentation/generated/CmdOpeningHoursPropertyDescriptions.json +0 -87
  35. package/src/documentation/generated/CmdPageFooterPropertyDescriptions.json +0 -22
  36. package/src/documentation/generated/CmdPageHeaderPropertyDescriptions.json +0 -12
  37. package/src/documentation/generated/CmdPaginationPropertyDescriptions.json +0 -47
  38. package/src/documentation/generated/CmdProgressBarPropertyDescriptions.json +0 -32
  39. package/src/documentation/generated/CmdSidebarPropertyDescriptions.json +0 -29
  40. package/src/documentation/generated/CmdSiteFooterPropertyDescriptions.json +0 -12
  41. package/src/documentation/generated/CmdSiteHeaderPropertyDescriptions.json +0 -52
  42. package/src/documentation/generated/CmdSiteSearchPropertyDescriptions.json +0 -77
  43. package/src/documentation/generated/CmdSlideButtonPropertyDescriptions.json +0 -25
  44. package/src/documentation/generated/CmdSlideshowPropertyDescriptions.json +0 -47
  45. package/src/documentation/generated/CmdSocialNetworksPropertyDescriptions.json +0 -78
  46. package/src/documentation/generated/CmdSwitchLanguagePropertyDescriptions.json +0 -7
  47. package/src/documentation/generated/CmdSystemMessagePropertyDescriptions.json +0 -50
  48. package/src/documentation/generated/CmdTablePropertyDescriptions.json +0 -82
  49. package/src/documentation/generated/CmdTabsPropertyDescriptions.json +0 -32
  50. package/src/documentation/generated/CmdTextImageBlockPropertyDescriptions.json +0 -52
  51. package/src/documentation/generated/CmdThumbnailScrollerPropertyDescriptions.json +0 -82
  52. package/src/documentation/generated/CmdToggleDarkModePropertyDescriptions.json +0 -61
  53. package/src/documentation/generated/CmdTooltipForInputElementsPropertyDescriptions.json +0 -17
  54. package/src/documentation/generated/CmdTooltipPropertyDescriptions.json +0 -47
  55. package/src/documentation/generated/CmdUploadFormPropertyDescriptions.json +0 -175
  56. package/src/documentation/generated/CmdWidthLimitationWrapperPropertyDescriptions.json +0 -75
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "4.1.30",
3
+ "version": "4.1.31",
4
4
  "license": "GPL-3.0-only",
5
5
  "author": "CoManD-UI",
6
6
  "private": false,
@@ -1609,10 +1609,10 @@
1609
1609
  <CmdMainNavigation
1610
1610
  ref="CmdMainNavigation"
1611
1611
  v-bind="cmdMainNavigationSettingsData"
1612
- :navigationEntries="navigationData.navigationEntries"
1612
+ :navigationEntries="navigationDataModified"
1613
1613
  />
1614
1614
  <!-- begin router-view -->
1615
- <router-view></router-view>
1615
+ <router-view v-if="useRouterLinks"></router-view>
1616
1616
  <!-- end router-view -->
1617
1617
  </CmdWidthLimitationWrapper>
1618
1618
  <!-- end main-navigation ------------------------------------------------------------------------------------------------------------------------------------------------------->
@@ -2178,6 +2178,12 @@ export default {
2178
2178
  PageOverview,
2179
2179
  CmdHeadline
2180
2180
  },
2181
+ props: {
2182
+ useRouterLinks: {
2183
+ type: Boolean,
2184
+ default: true
2185
+ }
2186
+ },
2181
2187
  data() {
2182
2188
  return {
2183
2189
  componentNameForContainer: "CmdHeadline",
@@ -2335,6 +2341,22 @@ export default {
2335
2341
  }
2336
2342
  },
2337
2343
  computed: {
2344
+ navigationDataModified() {
2345
+ if(!this.useRouterLinks) {
2346
+ function mapLinkTypes(navigationEntries) {
2347
+ return navigationEntries.map((item) => {
2348
+ item.type = "href"
2349
+
2350
+ if(item.subentries?.length) {
2351
+ item.subentries = mapLinkTypes(item.subentries)
2352
+ }
2353
+ return item
2354
+ })
2355
+ }
2356
+ return mapLinkTypes(this.navigationData.navigationEntries)
2357
+ }
2358
+ return this.navigationData.navigationEntries
2359
+ },
2338
2360
  cmdSocialNetworks() {
2339
2361
  return cmdSocialNetworks
2340
2362
  },
@@ -1,50 +0,0 @@
1
- {
2
- "showLabelIcons": {
3
- "comments": [
4
- "show a label-icon (if exists)"
5
- ],
6
- "affectStyling": [
7
- "partial"
8
- ]
9
- },
10
- "showCityBeforeZip": {
11
- "comments": [
12
- "display city before zip (otherwise it the other way round)"
13
- ]
14
- },
15
- "showIconsOnly": {
16
- "comments": [
17
- "show icons for entries only (no text-labels will be displayed)"
18
- ]
19
- },
20
- "useSlot": {
21
- "comments": [
22
- "enable if you want to use the slot for the provided content"
23
- ]
24
- },
25
- "showLabelTexts": {
26
- "comments": [
27
- "show a label-text for each entry"
28
- ]
29
- },
30
- "showLabels": {
31
- "comments": [
32
- "option to toggle labels (i.e. telephone, email etc.) in front/left of data"
33
- ]
34
- },
35
- "addressData": {
36
- "comments": [
37
- "all address-data (incl. labels) that will be shown"
38
- ]
39
- },
40
- "linkGoogleMaps": {
41
- "comments": [
42
- "link physical address (street, no, zip and city) with Google Maps"
43
- ]
44
- },
45
- "cmdHeadline": {
46
- "comments": [
47
- "properties for CmdHeadline-component"
48
- ]
49
- }
50
- }
@@ -1,17 +0,0 @@
1
- {
2
- "cmdIcon": {
3
- "comments": [
4
- "properties for CmdIcon-component"
5
- ],
6
- "annotations": {
7
- "requiredForAccessibility": [
8
- "partial"
9
- ]
10
- }
11
- },
12
- "scrollContainer": {
13
- "comments": [
14
- "define the main scroll-container (by a CSS-selector) the is button applied to"
15
- ]
16
- }
17
- }
@@ -1,49 +0,0 @@
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
- "cmdIcon": {
15
- "comments": [
16
- "properties for CmdIcon-component"
17
- ],
18
- "annotations": {
19
- "requiredForAccessibility": [
20
- "partial"
21
- ]
22
- }
23
- },
24
- "useSlot": {
25
- "comments": [
26
- "enable if you want to use the slot for the provided content"
27
- ]
28
- },
29
- "additionalInformation": {
30
- "comments": [
31
- "additional information shown in a paragraph below account data"
32
- ]
33
- },
34
- "iconCopy": {
35
- "comments": [
36
- "icon 'copy'"
37
- ],
38
- "annotations": {
39
- "requiredForAccessibility": [
40
- "partial"
41
- ]
42
- }
43
- },
44
- "cmdHeadline": {
45
- "comments": [
46
- "properties for CmdHeadline-component"
47
- ]
48
- }
49
- }
@@ -1,52 +0,0 @@
1
- {
2
- "cmdForm": {
3
- "comments": [
4
- "properties for CmdForm-component"
5
- ]
6
- },
7
- "cmdHeadline": {
8
- "comments": [
9
- "properties for CmdHeadline-component"
10
- ]
11
- },
12
- "configuration": {
13
- "comments": [
14
- "configuration of predefined input-elements"
15
- ]
16
- },
17
- "formAction": {
18
- "comments": [
19
- "provide a url the form should be send to"
20
- ]
21
- },
22
- "legend": {
23
- "comments": [
24
- "legend for inner fieldset of the form"
25
- ],
26
- "annotations": {
27
- "requiredForAccessibility": [
28
- "true"
29
- ]
30
- }
31
- },
32
- "receiverEmailAddress": {
33
- "comments": [
34
- "enter a valid email-address all information from the form should be send to"
35
- ]
36
- },
37
- "showCityBeforeZip": {
38
- "comments": [
39
- "display city-input before zip-input (otherwise it the other way round)"
40
- ]
41
- },
42
- "submitButton": {
43
- "comments": [
44
- "define the submit-button"
45
- ]
46
- },
47
- "useNativeSubmit": {
48
- "comments": [
49
- "enable if you want to use a native submit-button"
50
- ]
51
- }
52
- }
@@ -1,199 +0,0 @@
1
- {
2
- "allowContentToScroll": {
3
- "comments": [
4
- "enable if the main-content of the box (inside box-body) should scroll"
5
- ],
6
- "annotations": {
7
- "affectsStyling": [
8
- "true"
9
- ]
10
- }
11
- },
12
- "boxBodyClass": {
13
- "comments": [
14
- "define an additional class that will be applied to the box-body"
15
- ],
16
- "annotations": {
17
- "affectsStyling": [
18
- "partial"
19
- ]
20
- }
21
- },
22
- "rowView": {
23
- "comments": [
24
- "arranges box-content in a row"
25
- ],
26
- "annotations": {
27
- "affectsStyling": [
28
- "true"
29
- ]
30
- }
31
- },
32
- "boxType": {
33
- "comments": [
34
- "set boyType to show different types of boxes/contents"
35
- ],
36
- "annotations": {
37
- "allowedValues": [
38
- "content, product, user"
39
- ],
40
- "affectsStyling": [
41
- "true"
42
- ]
43
- }
44
- },
45
- "collapsible": {
46
- "comments": [
47
- "activate2 if box should be collapsible"
48
- ]
49
- },
50
- "cutoffTextLines": {
51
- "comments": [
52
- "number of lines to show if text should be cutoff"
53
- ]
54
- },
55
- "fadeLastLine": {
56
- "comments": [
57
- "show fade-effect on last line",
58
- "",
59
- "cutoffTextLines-property must be large 0"
60
- ]
61
- },
62
- "useTransition": {
63
- "comments": [
64
- "use transition to expand and collapse box-body",
65
- "",
66
- "boyType must be 'content' and 'collapsible' must be activated"
67
- ]
68
- },
69
- "defaultProfileIconClass": {
70
- "comments": [
71
- "set default profile-icon (will eb shown if no user-image exists)"
72
- ]
73
- },
74
- "product": {
75
- "comments": [
76
- "the shown product (incl. name, price, image, description)"
77
- ],
78
- "annotations": {
79
- "required": [
80
- "only available for boxtype===product"
81
- ]
82
- }
83
- },
84
- "user": {
85
- "comments": [
86
- "the shown user-profile (incl. name, image, contact-data)"
87
- ],
88
- "annotations": {
89
- "required": [
90
- "only available for boxtype===user"
91
- ]
92
- }
93
- },
94
- "profileType": {
95
- "comments": [
96
- "profile types for user-boxes"
97
- ],
98
- "annotations": {
99
- "required": [
100
- "only available for boxtype===user",
101
- ""
102
- ],
103
- "allowedValues": [
104
- "'business', 'influencer', 'dating'"
105
- ]
106
- }
107
- },
108
- "useSlots": {
109
- "comments": [
110
- "activated if all content (incl. headline) is given by slot",
111
- "",
112
- "if false textBody-property must be set"
113
- ]
114
- },
115
- "image": {
116
- "comments": [
117
- "image-object for box-body of content-box",
118
- "",
119
- "src and altText must be set if image is sed"
120
- ]
121
- },
122
- "textBody": {
123
- "comments": [
124
- "String used as content (placed in a paragraph-tag) for box-body",
125
- "",
126
- "should only be used, if no further html-structure is required for box-body"
127
- ]
128
- },
129
- "iconOpen": {
130
- "comments": [
131
- "icon to expand an accordion"
132
- ],
133
- "annotations": {
134
- "requiredForAccessibility": [
135
- "partial"
136
- ]
137
- }
138
- },
139
- "iconClosed": {
140
- "comments": [
141
- "icon to collapse an accordion"
142
- ],
143
- "annotations": {
144
- "requiredForAccessibility": [
145
- "partial"
146
- ]
147
- }
148
- },
149
- "stretchHorizontally": {
150
- "comments": [
151
- "allow box to be stretched as wide as parent-element"
152
- ]
153
- },
154
- "stretchVertically": {
155
- "comments": [
156
- "allow box to be stretched as high as parent-element"
157
- ]
158
- },
159
- "cmdHeadline": {
160
- "comments": [
161
- "properties for CmdHeadline-component (placed in box-header or box-body)"
162
- ]
163
- },
164
- "cmdIcon": {
165
- "comments": [
166
- "properties for CmdIcon-component (placed in box-body)"
167
- ]
168
- },
169
- "cmdImage": {
170
- "comments": [
171
- "properties for CmdImage-component (placed in box-body)"
172
- ]
173
- },
174
- "cmdLink": {
175
- "comments": [
176
- "properties for CmdLink-component (placed in box-footer)"
177
- ]
178
- },
179
- "headlinePosition": {
180
- "comments": [
181
- "toggle if headline for box should be placed in box-header or above text (below optional image) in box-body"
182
- ]
183
- },
184
- "maxBoxBodyHeight": {
185
- "comments": [
186
- "define a maximum height for the box"
187
- ]
188
- },
189
- "openCollapsedBox": {
190
- "comments": [
191
- "enable if a collapsible box should be open by default"
192
- ]
193
- },
194
- "useBoxBodyPadding": {
195
- "comments": [
196
- "enable if box-body should have body (recommend if text is displayed inside)"
197
- ]
198
- }
199
- }
@@ -1,79 +0,0 @@
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
- "cmdHeadline": {
50
- "comments": [
51
- "properties for CmdHeadline-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
- }
@@ -1,77 +0,0 @@
1
- {
2
- "allowMultipleExpandedBoxes": {
3
- "comments": [
4
- "activate if more than one collapsible box may be open at the same time"
5
- ]
6
- },
7
- "useRowViewAsDefault": {
8
- "comments": [
9
- "activate if boxes should be arranged vertically (each box is a row) by default"
10
- ]
11
- },
12
- "stretchBoxesVertically": {
13
- "comments": [
14
- "stretch boxes inside vertically to same height",
15
- "",
16
- "will not take effect on collapsable boxes"
17
- ]
18
- },
19
- "allowUserToToggleOrientation": {
20
- "comments": [
21
- "activate if user can toggle grid- and row-orientation by himself"
22
- ]
23
- },
24
- "allowTogglingCollapsingBoxes": {
25
- "comments": [
26
- "activate if user can toggle grid- and row-view by himself"
27
- ]
28
- },
29
- "collapseBoxesIcon": {
30
- "comments": [
31
- "icon for collapsed box"
32
- ]
33
- },
34
- "expandBoxesIcon": {
35
- "comments": [
36
- "icon for expanded box"
37
- ]
38
- },
39
- "useFlexbox": {
40
- "comments": [
41
- "activate if you want to use a flex-container instead of a css-grid-container"
42
- ]
43
- },
44
- "useGap": {
45
- "comments": [
46
- "activate if you want to use a flex-container instead of a css-grid-container"
47
- ]
48
- },
49
- "boxesPerRow": {
50
- "comments": [
51
- "define the number of boxes per row (if view is grid-view)",
52
- "",
53
- "useFlexbox-property must be set to true",
54
- "slot may not be used"
55
- ]
56
- },
57
- "iconGridView": {
58
- "comments": [
59
- "define icon for grid-view"
60
- ]
61
- },
62
- "iconRowView": {
63
- "comments": [
64
- "define icon for row-view"
65
- ]
66
- },
67
- "openBoxesByDefault": {
68
- "comments": [
69
- "activate if collapsible boxes are opened by default"
70
- ]
71
- },
72
- "cmdHeadline": {
73
- "comments": [
74
- "properties for CmdHeadline-component"
75
- ]
76
- }
77
- }
@@ -1,17 +0,0 @@
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
- }
@@ -1,27 +0,0 @@
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
- }
@@ -1,43 +0,0 @@
1
- {
2
- "cmdHeadline": {
3
- "comments": [
4
- "properties for CmdHeadline-component"
5
- ]
6
- },
7
- "containerType": {
8
- "comments": [
9
- "Define if the container should be a flex- or grid-container (or none of them)"
10
- ],
11
- "annotations": {
12
- "affectsStyling": [
13
- "true"
14
- ],
15
- "allowedValues": [
16
- "flex, grid, none"
17
- ]
18
- }
19
- },
20
- "contentAboveSlot": {
21
- "comments": [
22
- "place (html-content) above the slot"
23
- ]
24
- },
25
- "contentBelowSlot": {
26
- "comments": [
27
- "place (html-content) below the slot"
28
- ]
29
- },
30
- "contentOrientation": {
31
- "comments": [
32
- "toggle if the content should be arranged horizontally or vertically"
33
- ],
34
- "allowedValues": [
35
- "horizontal, vertical"
36
- ]
37
- },
38
- "innerClass": {
39
- "comments": [
40
- "define an additional class for the wrapper of the inner content"
41
- ]
42
- }
43
- }