comand-component-library 3.1.71 → 3.1.74

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.css +1 -1
  2. package/dist/comand-component-library.umd.min.js +1 -1
  3. package/package.json +2 -2
  4. package/src/App.vue +314 -189
  5. package/src/assets/data/cookie-disclaimer.json +7 -6
  6. package/src/assets/styles/global-styles.scss +10 -40
  7. package/src/components/CmdBox.vue +7 -5
  8. package/src/components/CmdCookieDisclaimer.vue +76 -8
  9. package/src/components/CmdFakeSelect.vue +40 -50
  10. package/src/components/CmdFormElement.vue +32 -41
  11. package/src/components/CmdInputGroup.vue +158 -12
  12. package/src/components/CmdListOfRequirements.vue +128 -0
  13. package/src/components/CmdMainNavigation.vue +2 -2
  14. package/src/components/CmdToggleDarkMode.vue +27 -10
  15. package/src/components/CmdTooltip.vue +1 -1
  16. package/src/documentation/generated/CmdAddressDataPropertyDescriptions.json +32 -0
  17. package/src/documentation/generated/CmdBackToTopButtonPropertyDescriptions.json +12 -0
  18. package/src/documentation/generated/CmdBankAccountDataPropertyDescriptions.json +34 -0
  19. package/src/documentation/generated/CmdBoxPropertyDescriptions.json +96 -0
  20. package/src/documentation/generated/CmdBoxSiteSearchPropertyDescriptions.json +79 -0
  21. package/src/documentation/generated/CmdBoxWrapperPropertyDescriptions.json +47 -0
  22. package/src/documentation/generated/CmdBreadcrumbsPropertyDescriptions.json +17 -0
  23. package/src/documentation/generated/CmdCompanyLogoPropertyDescriptions.json +27 -0
  24. package/src/documentation/generated/CmdCookieDisclaimerPropertyDescriptions.json +37 -0
  25. package/src/documentation/generated/CmdCustomHeadlinePropertyDescriptions.json +22 -0
  26. package/src/documentation/generated/CmdFakeSelectPropertyDescriptions.json +84 -0
  27. package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +62 -0
  28. package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +253 -0
  29. package/src/documentation/generated/CmdFormFiltersPropertyDescriptions.json +32 -0
  30. package/src/documentation/generated/CmdFormPropertyDescriptions.json +40 -0
  31. package/src/documentation/generated/CmdGoogleMapsPropertyDescriptions.json +7 -0
  32. package/src/documentation/generated/CmdImageGalleryPropertyDescriptions.json +22 -0
  33. package/src/documentation/generated/CmdImageZoomPropertyDescriptions.json +12 -0
  34. package/src/documentation/generated/CmdInputGroupPropertyDescriptions.json +122 -0
  35. package/src/documentation/generated/CmdListOfLinksPropertyDescriptions.json +60 -0
  36. package/src/documentation/generated/CmdListOfRequirementsPropertyDescriptions.json +22 -0
  37. package/src/documentation/generated/CmdLoginFormPropertyDescriptions.json +90 -0
  38. package/src/documentation/generated/CmdMainNavigationPropertyDescriptions.json +62 -0
  39. package/src/documentation/generated/CmdMultistepFormProgressBarPropertyDescriptions.json +17 -0
  40. package/src/documentation/generated/CmdOpeningHoursPropertyDescriptions.json +42 -0
  41. package/src/documentation/generated/CmdPagerPropertyDescriptions.json +37 -0
  42. package/src/documentation/generated/CmdProgressBarPropertyDescriptions.json +32 -0
  43. package/src/documentation/generated/CmdShareButtonsPropertyDescriptions.json +34 -0
  44. package/src/documentation/generated/CmdSiteHeaderPropertyDescriptions.json +27 -0
  45. package/src/documentation/generated/CmdSlideButtonPropertyDescriptions.json +25 -0
  46. package/src/documentation/generated/CmdSlideshowPropertyDescriptions.json +42 -0
  47. package/src/documentation/generated/CmdSwitchLanguagePropertyDescriptions.json +7 -0
  48. package/src/documentation/generated/CmdSystemMessagePropertyDescriptions.json +40 -0
  49. package/src/documentation/generated/CmdTablePropertyDescriptions.json +72 -0
  50. package/src/documentation/generated/CmdTabsPropertyDescriptions.json +27 -0
  51. package/src/documentation/generated/CmdThumbnailScrollerPropertyDescriptions.json +32 -0
  52. package/src/documentation/generated/CmdTooltipPropertyDescriptions.json +17 -0
  53. package/src/documentation/generated/CmdUploadFormPropertyDescriptions.json +175 -0
  54. package/src/documentation/generated/CmdWidthLimitationWrapperPropertyDescriptions.json +41 -0
  55. package/src/mixins/CmdCookieDisclaimer/DefaultMessageProperties.js +10 -0
  56. package/src/mixins/FieldValidation.js +1 -1
@@ -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,37 @@
1
+ {
2
+ "modelValue": {
3
+ "comments": [
4
+ "set default v-model (must be named modelValue in Vue3)"
5
+ ]
6
+ },
7
+ "cmdCustomHeadlineCookieDisclaimer": {
8
+ "comments": [
9
+ "properties for CmdCustomHeadline-component at top of cookie disclaimer"
10
+ ]
11
+ },
12
+ "cmdBoxRequiredCookies": {
13
+ "comments": [
14
+ "property for CmdBox-component surrounding the required cookies"
15
+ ]
16
+ },
17
+ "cmdBoxOptionalCookies": {
18
+ "comments": [
19
+ "property for CmdBox-component surrounding the optional cookies"
20
+ ]
21
+ },
22
+ "cookieOptions": {
23
+ "comments": [
24
+ "list of cookie-options"
25
+ ]
26
+ },
27
+ "buttonLabelAcceptAllCookies": {
28
+ "comments": [
29
+ "label for button to accepting all cookies"
30
+ ]
31
+ },
32
+ "buttonLabelAcceptCurrentSettings": {
33
+ "comments": [
34
+ "label for button for accepting current settings"
35
+ ]
36
+ }
37
+ }
@@ -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
+ }
@@ -0,0 +1,253 @@
1
+ {
2
+ "modelValue": {
3
+ "comments": [
4
+ "set value for v-model (must be named modelValue in vue3 if default v-model should be used)"
5
+ ]
6
+ },
7
+ "element": {
8
+ "comments": [
9
+ "set type of native form-element"
10
+ ],
11
+ "annotations": {
12
+ "allowedValues": [
13
+ "input, select, textarea, button"
14
+ ]
15
+ }
16
+ },
17
+ "showLabel": {
18
+ "comments": [
19
+ "hide label (and asterisk if mandatory)",
20
+ "",
21
+ "label may not be removed, because it is required for accessibility"
22
+ ]
23
+ },
24
+ "labelText": {
25
+ "comments": [
26
+ "text for label"
27
+ ]
28
+ },
29
+ "toggleSwitch": {
30
+ "comments": [
31
+ "set to activate to use toggle-switch-styling",
32
+ "element-prop must be set to \"input\" and type-attribute must be set to \"checkbox\" or \"radio\""
33
+ ],
34
+ "annotations": {
35
+ "affectsStyling": [
36
+ "true"
37
+ ]
38
+ }
39
+ },
40
+ "onLabel": {
41
+ "comments": [
42
+ "text for on-label",
43
+ "",
44
+ "set to activate switch-label (=label is placed on toggle-switch (not behind))",
45
+ "toggleSwitch-prop must be set to \"true\"",
46
+ "element-prop must be set to \"input\" and type-attribute must be set to \"checkbox\" or \"radio\""
47
+ ]
48
+ },
49
+ "offLabel": {
50
+ "comments": [
51
+ "text for off-label",
52
+ "",
53
+ "set to activate switch-label (=label is placed on toggle-switch (not behind))",
54
+ "toggleSwitch-prop must be set to \"true\"",
55
+ "element-prop must be set to \"input\" and type-attribute must be set to \"checkbox\" or \"radio\""
56
+ ]
57
+ },
58
+ "colored": {
59
+ "comments": [
60
+ "on/off-, yes/no-color-styling",
61
+ "set to true, if checkbox/radio-buttons should have green/checked and red/unchecked color-coding",
62
+ "toggleSwitch-prop must be set to \"true\"",
63
+ "element-prop must be set to \"input\" and type-attribute must be set to \"checkbox\" or \"radio\""
64
+ ],
65
+ "annotations": {
66
+ "affectsStyling": [
67
+ "true"
68
+ ]
69
+ }
70
+ },
71
+ "inputValue": {
72
+ "comments": [
73
+ "allow checkbox/radio-buttons to get value from outside"
74
+ ]
75
+ },
76
+ "replaceInputType": {
77
+ "comments": [
78
+ "for replacing native checkboxes/radio-buttons by custom ones (based on frontend-framework)"
79
+ ],
80
+ "annotations": {
81
+ "affectsStyling": [
82
+ "true"
83
+ ]
84
+ }
85
+ },
86
+ "inputClass": {
87
+ "comments": [
88
+ "set an optional class on native form-element (use native class=\"\" on component ot set class on outer-component-element)",
89
+ "",
90
+ "may not be named as 'class' because it is a reserved keyword in JavaScript"
91
+ ]
92
+ },
93
+ "id": {
94
+ "comments": [
95
+ "if for native form-element"
96
+ ]
97
+ },
98
+ "datalist": {
99
+ "comments": [
100
+ "set if a native datalist should be used"
101
+ ]
102
+ },
103
+ "selectOptions": {
104
+ "comments": [
105
+ "list of options for selectbox",
106
+ "",
107
+ "element-property must be 'select'"
108
+ ]
109
+ },
110
+ "nativeButton": {
111
+ "comments": [
112
+ "native button"
113
+ ]
114
+ },
115
+ "tooltipText": {
116
+ "comments": [
117
+ "set text for tooltip"
118
+ ]
119
+ },
120
+ "fieldIconClass": {
121
+ "comments": [
122
+ "set class for inner icon (icon placed 'inside' input/ left of input-text)",
123
+ "",
124
+ "element-property must be 'input' and type-property may not be checkbox or radio"
125
+ ]
126
+ },
127
+ "displayLabelInline": {
128
+ "comments": [
129
+ "activate if label-text should be place inline/left of form-element (and not above)",
130
+ "",
131
+ "type-property may not be checkbox or radio"
132
+ ]
133
+ },
134
+ "status": {
135
+ "comments": [
136
+ "set status for label and form-element"
137
+ ],
138
+ "annotations": {
139
+ "allowedValues": [
140
+ "error, warning, success, info",
141
+ ""
142
+ ],
143
+ "affectsStyling": [
144
+ "true"
145
+ ]
146
+ }
147
+ },
148
+ "showCharactersTextarea": {
149
+ "comments": [
150
+ "toggle display of number of used and allowed characters for textarea",
151
+ "",
152
+ "type-property must be set to textarea"
153
+ ]
154
+ },
155
+ "showSearchButton": {
156
+ "comments": [
157
+ "toggle visibility of search-button (next to search-field)"
158
+ ]
159
+ },
160
+ "iconDelete": {
161
+ "comments": [
162
+ "icon to delete search term",
163
+ "",
164
+ "element-property must me set to 'input'",
165
+ "type-property must be set to 'search'",
166
+ ""
167
+ ]
168
+ },
169
+ "iconSearch": {
170
+ "comments": [
171
+ "icon to search term",
172
+ "",
173
+ "element-property must me set to 'input'",
174
+ "type-property must be set to 'search'",
175
+ ""
176
+ ]
177
+ },
178
+ "iconHasStateError": {
179
+ "comments": [
180
+ "icon for error-validated items in list-of-requirements",
181
+ "",
182
+ "element-property must me set to 'input'",
183
+ "showRequirements-property must be set to 'true'",
184
+ ""
185
+ ]
186
+ },
187
+ "iconHasStateWarning": {
188
+ "comments": [
189
+ "icon for warning-validated items in list-of-requirements",
190
+ "",
191
+ "element-property must me set to 'input'",
192
+ "showRequirements-property must be set to 'true'",
193
+ ""
194
+ ]
195
+ },
196
+ "iconHasStateSuccess": {
197
+ "comments": [
198
+ "icon for success-validated items in list-of-requirements",
199
+ "",
200
+ "element-property must me set to 'input'",
201
+ "showRequirements-property must be set to 'true'",
202
+ ""
203
+ ]
204
+ },
205
+ "iconHasStateInfo": {
206
+ "comments": [
207
+ "icon for info-validated items in list-of-requirements",
208
+ "",
209
+ "element-property must me set to 'input'",
210
+ "showRequirements-property must be set to 'true'",
211
+ ""
212
+ ]
213
+ },
214
+ "useIconsForToggleSwitch": {
215
+ "comments": [
216
+ "toggle if toggle-switch shows icons for checked/unchecked-status"
217
+ ]
218
+ },
219
+ "toggleSwitchCheckedIconClass": {
220
+ "comments": [
221
+ "icon for toggle-switch checked",
222
+ "",
223
+ "toggle-switch-property must be activated",
224
+ "use-icons-for-toggle-switch-property must be activated"
225
+ ]
226
+ },
227
+ "toggleSwitchUncheckedIconClass": {
228
+ "comments": [
229
+ "icon for toggle-switch unchecked",
230
+ "",
231
+ "toggle-switch-property must be activated",
232
+ "use-icons-for-toggle-switch-property must be activated"
233
+ ]
234
+ },
235
+ "iconPasswordVisible": {
236
+ "comments": [
237
+ "icon to toggle password-visibility",
238
+ "",
239
+ "element-property must me set to 'input'",
240
+ "type-property must be set to 'password'",
241
+ ""
242
+ ]
243
+ },
244
+ "iconPasswordInvisible": {
245
+ "comments": [
246
+ "icon to toggle password-visibility",
247
+ "",
248
+ "element-property must me set to 'input'",
249
+ "type-property must be set to 'password'",
250
+ ""
251
+ ]
252
+ }
253
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "modelValue": {
3
+ "comments": [
4
+ "model-value to support v-model"
5
+ ]
6
+ },
7
+ "linkDeleteAllFilters": {
8
+ "comments": [
9
+ "delete-all-filters-link"
10
+ ],
11
+ "annotations": {
12
+ "requiredForAccessibility": [
13
+ "partial"
14
+ ]
15
+ }
16
+ },
17
+ "deleteFilter": {
18
+ "comments": [
19
+ "icon for deleting (a single) filter"
20
+ ],
21
+ "annotations": {
22
+ "requiredForAccessibility": [
23
+ "partial"
24
+ ]
25
+ }
26
+ },
27
+ "selectedOptionsName": {
28
+ "comments": [
29
+ "name for selected options"
30
+ ]
31
+ }
32
+ }