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.
Files changed (59) 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 +356 -225
  5. package/src/assets/data/list-of-links.json +0 -1
  6. package/src/assets/styles/global-styles.scss +26 -0
  7. package/src/components/CmdBox.vue +12 -6
  8. package/src/components/CmdCompanyLogo.vue +3 -3
  9. package/src/components/CmdCookieDisclaimer.vue +20 -4
  10. package/src/components/CmdFakeSelect.vue +17 -12
  11. package/src/components/CmdFormElement.vue +85 -81
  12. package/src/components/CmdInputGroup.vue +31 -7
  13. package/src/components/CmdProgressBar.vue +2 -2
  14. package/src/components/CmdTable.vue +1 -1
  15. package/src/components/CmdToggleDarkMode.vue +30 -10
  16. package/src/components/CmdTooltip.vue +1 -1
  17. package/src/documentation/generated/CmdAddressDataPropertyDescriptions.json +32 -0
  18. package/src/documentation/generated/CmdBackToTopButtonPropertyDescriptions.json +12 -0
  19. package/src/documentation/generated/CmdBankAccountDataPropertyDescriptions.json +34 -0
  20. package/src/documentation/generated/CmdBoxPropertyDescriptions.json +96 -0
  21. package/src/documentation/generated/CmdBoxSiteSearchPropertyDescriptions.json +79 -0
  22. package/src/documentation/generated/CmdBoxWrapperPropertyDescriptions.json +47 -0
  23. package/src/documentation/generated/CmdBreadcrumbsPropertyDescriptions.json +17 -0
  24. package/src/documentation/generated/CmdCompanyLogoPropertyDescriptions.json +27 -0
  25. package/src/documentation/generated/CmdCookieDisclaimerPropertyDescriptions.json +32 -0
  26. package/src/documentation/generated/CmdCustomHeadlinePropertyDescriptions.json +22 -0
  27. package/src/documentation/generated/CmdFakeSelectPropertyDescriptions.json +84 -0
  28. package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +62 -0
  29. package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +253 -0
  30. package/src/documentation/generated/CmdFormFiltersPropertyDescriptions.json +32 -0
  31. package/src/documentation/generated/CmdFormPropertyDescriptions.json +40 -0
  32. package/src/documentation/generated/CmdGoogleMapsPropertyDescriptions.json +7 -0
  33. package/src/documentation/generated/CmdImageGalleryPropertyDescriptions.json +22 -0
  34. package/src/documentation/generated/CmdImageZoomPropertyDescriptions.json +12 -0
  35. package/src/documentation/generated/CmdInputGroupPropertyDescriptions.json +86 -0
  36. package/src/documentation/generated/CmdListOfLinksPropertyDescriptions.json +60 -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/index.js +1 -1
  56. package/src/mixins/CmdFormElement/DefaultMessageProperties.js +1 -1
  57. package/src/mixins/FieldValidation.js +1 -1
  58. package/src/mixins/GlobalDefaultMessageProperties.js +1 -2
  59. package/src/mixins/I18n.js +12 -2
@@ -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, success",
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
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "useValidation": {
3
+ "comments": [
4
+ "if activated the entire form will be validated by pre-coded validation"
5
+ ],
6
+ "annotations": {
7
+ "affectsStyling": [
8
+ "true"
9
+ ]
10
+ }
11
+ },
12
+ "useFieldset": {
13
+ "comments": [
14
+ "activate if you want to use a fieldset"
15
+ ],
16
+ "annotations": {
17
+ "requiredForAccessibility": [
18
+ "true"
19
+ ]
20
+ }
21
+ },
22
+ "showLegend": {
23
+ "comments": [
24
+ "toggle visibility for legend-text",
25
+ "",
26
+ "useFieldset must be activated"
27
+ ]
28
+ },
29
+ "textLegend": {
30
+ "comments": [
31
+ "text for legend",
32
+ "useFieldset must be activated"
33
+ ],
34
+ "annotations": {
35
+ "requiredForAccessibility": [
36
+ "true"
37
+ ]
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "address": {
3
+ "comments": [
4
+ "address to show on Google Maps™"
5
+ ]
6
+ }
7
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "images": {
3
+ "comments": [
4
+ "list of images (incl. captions)"
5
+ ],
6
+ "annotations": {
7
+ "requiredForAccessibility": [
8
+ "partial"
9
+ ]
10
+ }
11
+ },
12
+ "figcaptionPosition": {
13
+ "comments": [
14
+ "position of figcaption"
15
+ ],
16
+ "annotations": {
17
+ "allowedValues": [
18
+ "top, bottom"
19
+ ]
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "smallImageUrl": {
3
+ "comments": [
4
+ "url for small images"
5
+ ]
6
+ },
7
+ "largeImageUrl": {
8
+ "comments": [
9
+ "url for large image"
10
+ ]
11
+ }
12
+ }
@@ -0,0 +1,86 @@
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
+ "inputElements": {
8
+ "comments": [
9
+ "list of input-elements inside group",
10
+ "",
11
+ "useSlot-property must be set to 'false'"
12
+ ]
13
+ },
14
+ "inputTypes": {
15
+ "comments": [
16
+ "set type for inputs in group"
17
+ ],
18
+ "annotations": {
19
+ "allowedValues": [
20
+ "checkbox, radio"
21
+ ]
22
+ }
23
+ },
24
+ "replaceInputType": {
25
+ "comments": [
26
+ "for replacing native checkboxes/radio-buttons by custom ones (based on frontend-framework)"
27
+ ],
28
+ "annotations": {
29
+ "affectsStyling": [
30
+ "true"
31
+ ]
32
+ }
33
+ },
34
+ "useSlot": {
35
+ "comments": [
36
+ "activate if input-elements should be given by slot"
37
+ ]
38
+ },
39
+ "multipleSwitch": {
40
+ "comments": [
41
+ "toggle multipleSwitch-styling"
42
+ ],
43
+ "annotations": {
44
+ "affectsStyling": [
45
+ "true"
46
+ ]
47
+ }
48
+ },
49
+ "showLabel": {
50
+ "comments": [
51
+ "toggle label-text visibility"
52
+ ]
53
+ },
54
+ "labelText": {
55
+ "comments": [
56
+ "label-text for input-group"
57
+ ],
58
+ "annotations": {
59
+ "requiredForAccessibility": [
60
+ "true"
61
+ ]
62
+ }
63
+ },
64
+ "labelInline": {
65
+ "comments": [
66
+ "toggle label-position (inline/left of input-elements or above input-elements)"
67
+ ]
68
+ },
69
+ "stretchHorizontally": {
70
+ "comments": [
71
+ "toggle if input-elements will be stretched horizontally"
72
+ ],
73
+ "annotations": {
74
+ "affectsStyling": [
75
+ "true"
76
+ ]
77
+ }
78
+ },
79
+ "disabled": {
80
+ "comments": [
81
+ "define disabled-property to set disabled-style",
82
+ "",
83
+ "component cannot handle native disabled-attribute, because it is no native form-element"
84
+ ]
85
+ }
86
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "sectionAnchors": {
3
+ "comments": [
4
+ "activate if component should contain a list of anchors for the section within th page"
5
+ ]
6
+ },
7
+ "activeSection": {
8
+ "comments": [
9
+ "given active section from outside to set class for styling",
10
+ "",
11
+ "sectionAnchors-property must be activated"
12
+ ]
13
+ },
14
+ "align": {
15
+ "comments": [
16
+ "set horizontal alignment",
17
+ "orientation-property must be set to 'horizontal'"
18
+ ],
19
+ "annotations": {
20
+ "allowedValues": [
21
+ "left, center, right"
22
+ ]
23
+ }
24
+ },
25
+ "cmdCustomHeadline": {
26
+ "comments": [
27
+ "properties for cmdCustomHeadline-component"
28
+ ]
29
+ },
30
+ "links": {
31
+ "comments": [
32
+ "list of displayed links"
33
+ ]
34
+ },
35
+ "orientation": {
36
+ "comments": [
37
+ "toggle orientation of list"
38
+ ],
39
+ "annotations": {
40
+ "allowedValues": [
41
+ "horizontal, vertical"
42
+ ]
43
+ }
44
+ },
45
+ "useGap": {
46
+ "comments": [
47
+ "toggle gab between links"
48
+ ]
49
+ },
50
+ "styleAsBox": {
51
+ "comments": [
52
+ "style component like a box"
53
+ ],
54
+ "annotations": {
55
+ "affectsStyling": [
56
+ "true"
57
+ ]
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,90 @@
1
+ {
2
+ "modelValue": {
3
+ "comments": [
4
+ "value for v-model (modelValue is default name in vue 3)"
5
+ ]
6
+ },
7
+ "textLegend": {
8
+ "comments": [
9
+ "text used as legend for login-fieldset"
10
+ ],
11
+ "annotations": {
12
+ "requiredForAccessibility": [
13
+ "true"
14
+ ]
15
+ }
16
+ },
17
+ "showLegend": {
18
+ "comments": [
19
+ "toggle legend visibility"
20
+ ]
21
+ },
22
+ "legendSendLoginForm": {
23
+ "comments": [
24
+ "legend for send-login-fieldset"
25
+ ],
26
+ "annotations": {
27
+ "requiredForAccessibility": [
28
+ "true"
29
+ ]
30
+ }
31
+ },
32
+ "cmdCustomHeadlineLoginForm": {
33
+ "comments": [
34
+ "properties for CmdCustomHeadline-component for login-form"
35
+ ]
36
+ },
37
+ "cmdCustomHeadlineSendLoginForm": {
38
+ "comments": [
39
+ "properties for CmdCustomHeadline-component for send-login-form"
40
+ ]
41
+ },
42
+ "cmdFormElementUsername": {
43
+ "comments": [
44
+ "properties for CmdFormElement-component for username-field"
45
+ ],
46
+ "annotations": {
47
+ "requiredForAccessibility": [
48
+ "partial"
49
+ ]
50
+ }
51
+ },
52
+ "cmdFormElementPassword": {
53
+ "comments": [
54
+ "properties for CmdFormElement-component for password-field"
55
+ ],
56
+ "annotations": {
57
+ "requiredForAccessibility": [
58
+ "partial"
59
+ ]
60
+ }
61
+ },
62
+ "cmdFormElementSendLogin": {
63
+ "comments": [
64
+ "properties for CmdFormElement-component for email-address-field (to send login-data)"
65
+ ],
66
+ "annotations": {
67
+ "requiredForAccessibility": [
68
+ "partial"
69
+ ]
70
+ }
71
+ },
72
+ "options": {
73
+ "comments": [
74
+ "options to display",
75
+ "",
76
+ "forgotPassword: toggles form to send password by email",
77
+ "createAccount: creates a link (href/router) which could lead to a register-form"
78
+ ]
79
+ },
80
+ "buttons": {
81
+ "comments": [
82
+ "button to login"
83
+ ],
84
+ "annotations": {
85
+ "requiredForAccessibility": [
86
+ "partial"
87
+ ]
88
+ }
89
+ }
90
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "stretchMainItems": {
3
+ "comments": [
4
+ "toggle if main-entries (on first-level) should be (horizontally) stretched equally"
5
+ ]
6
+ },
7
+ "persistOnMobile": {
8
+ "comments": [
9
+ "set if navigation should persist on mobile and not be collapsed to off-canvas"
10
+ ],
11
+ "annotations": {
12
+ "affectsStyling": [
13
+ "true"
14
+ ]
15
+ }
16
+ },
17
+ "navigationEntries": {
18
+ "comments": [
19
+ "list of all navigation-entries (incl. sub-entries)"
20
+ ]
21
+ },
22
+ "closeOffcanvas": {
23
+ "comments": [
24
+ "link shown inside off-canvas-navigation to close itself"
25
+ ],
26
+ "annotations": {
27
+ "requiredForAccessibility": [
28
+ "partial"
29
+ ]
30
+ }
31
+ },
32
+ "buttonOffcanvas": {
33
+ "comments": [
34
+ "button to open off-canvas-navigation"
35
+ ],
36
+ "annotations": {
37
+ "requiredForAccessibility": [
38
+ "partial"
39
+ ]
40
+ }
41
+ },
42
+ "subentriesIconClass": {
43
+ "comments": [
44
+ "icon to show if an navigation-entry has sub-entries"
45
+ ]
46
+ },
47
+ "subSubentriesIconClass": {
48
+ "comments": [
49
+ "icon to show if a sub-entry has further sub-entries"
50
+ ]
51
+ },
52
+ "showContentOverlay": {
53
+ "comments": [
54
+ "toggle if overlay over content should be shown if off-canvas is open"
55
+ ],
56
+ "annotations": {
57
+ "affectsStyling": [
58
+ "true"
59
+ ]
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "showStepNumber": {
3
+ "comments": [
4
+ "toggle visibility of step-number in front/left of link-icon and -name"
5
+ ]
6
+ },
7
+ "multisteps": {
8
+ "comments": [
9
+ "list of multisteps"
10
+ ]
11
+ },
12
+ "separatorIconClass": {
13
+ "comments": [
14
+ "icon-class for separator shown between multisteps"
15
+ ]
16
+ }
17
+ }