comand-component-library 4.1.7 → 4.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/comand-component-library.js +4771 -4715
  2. package/dist/comand-component-library.umd.cjs +36 -26
  3. package/dist/style.css +1 -1
  4. package/package.json +2 -2
  5. package/src/ComponentLibrary.vue +17 -20
  6. package/src/assets/data/listOfComponents.json +1 -0
  7. package/src/assets/styles/component-library-global-styles.scss +9 -0
  8. package/src/componentSettingsDataAndControls.vue +17 -1
  9. package/src/components/CmdAddressData.vue +1 -3
  10. package/src/components/CmdBox.vue +3 -3
  11. package/src/components/CmdCookieDisclaimer.vue +154 -59
  12. package/src/components/CmdFakeSelect.vue +4 -4
  13. package/src/components/CmdFancyBox.vue +113 -72
  14. package/src/components/CmdFormElement.vue +5 -5
  15. package/src/components/CmdGoogleMaps.vue +2 -2
  16. package/src/components/CmdImageGallery.vue +1 -1
  17. package/src/components/CmdListOfRequirements.vue +2 -2
  18. package/src/components/CmdMultistepFormProgressBar.vue +7 -7
  19. package/src/components/CmdPageFooter.vue +11 -2
  20. package/src/components/CmdPagination.vue +1 -1
  21. package/src/components/CmdSiteSearch.vue +2 -2
  22. package/src/components/CmdThumbnailScroller.vue +3 -3
  23. package/src/components/CmdUploadForm.vue +44 -44
  24. package/src/mixins/CmdBox/DefaultMessageProperties.js +4 -4
  25. package/src/mixins/CmdCookieDisclaimer/DefaultMessageProperties.js +3 -2
  26. package/src/mixins/CmdFakeSelect/DefaultMessageProperties.js +5 -5
  27. package/src/mixins/CmdFormElement/DefaultMessageProperties.js +5 -5
  28. package/src/mixins/CmdGoogleMaps/DefaultMessageProperties.js +2 -2
  29. package/src/mixins/CmdImageGallery/DefaultMessageProperties.js +1 -1
  30. package/src/mixins/CmdListOfRequirements/DefaultMessageProperties.js +2 -2
  31. package/src/mixins/CmdPagination/DefaultMessageProperties.js +2 -2
  32. package/src/mixins/CmdSiteSearch/DefaultMessageProperties.js +2 -6
  33. package/src/mixins/CmdThumbnailScroller/DefaultMessageProperties.js +3 -3
  34. package/src/mixins/CmdUploadForm/DefaultMessageProperties.js +45 -45
  35. package/src/mixins/FieldValidation.js +5 -5
  36. package/src/mixins/GlobalDefaultMessageProperties.js +7 -7
  37. package/src/pages/PageWrapper.vue +1 -1
  38. package/src/mixins/CmdAddressData/DefaultMessageProperties.js +0 -20
@@ -2,9 +2,9 @@ export default {
2
2
  data() {
3
3
  return {
4
4
  defaultMessageProperties: {
5
- "cmdthumbnailscroller.tooltip.open_large_image": "Open large image",
6
- "cmdthumbnailscroller.tooltip.open_url": "Open URL in a new tab",
7
- "cmdthumbnailscroller.tooltip.open": "Open"
5
+ "thumbnail_scroller.tooltip.open_large_image": "Open large image",
6
+ "thumbnail_scroller.tooltip.open_url": "Open URL in a new tab",
7
+ "thumbnail_scroller.tooltip.open": "Open"
8
8
  }
9
9
  }
10
10
  }
@@ -2,51 +2,51 @@ export default {
2
2
  data() {
3
3
  return {
4
4
  defaultMessageProperties: {
5
- "cmduploadform.no_file_to_upload": "No file selected to upload",
6
- "cmduploadform.no_files_to_upload": "No files selected to upload",
7
- "cmduploadform.labeltext.select_file": "Select file to upload",
8
- "cmduploadform.labeltext.select_files": "Select files to upload",
9
- "cmduploadform.labeltext.remove_file_from_list": "Remove file '{0}' from list",
10
- "cmduploadform.labeltext.remove_all_files_from_list": "Remove all files from list",
11
- "cmduploadform.labeltext.file_uploading": "file to upload",
12
- "cmduploadform.labeltext.files_uploading": "files to upload",
13
- "cmduploadform.labeltext.comment": "Comment:",
14
- "cmduploadform.buttontext.upload_file": "Upload file",
15
- "cmduploadform.buttontext.upload_files": "Upload files",
16
- "cmduploadform.buttontext.cancel": "Cancel",
17
- "cmduploadform.placeholder.comment": "Please type in a specific comment",
18
- "cmduploadform.system_message.found_duplicate_file": "Found duplicate file (not added again)",
19
- "cmduploadform.system_message.upload_success": "Upload successful",
20
- "cmduploadform.system_message.upload_failed": "Upload failed",
21
- "cmduploadform.system_message.fill_required": "Fill all required fields",
22
- "cmduploadform.system_message.the_following_errors_occurred": "The following errors occurred!",
23
- "cmduploadform.system_message.an_unknown_error_occurred": "An unknown error occurred!",
24
- "cmduploadform.system_message.only_one_file_allowed": "Only one file allowed!",
25
- "cmduploadform.system_message_total_size_of_files_too_large": "Total size of files too large!",
26
- "cmduploadform.system_message.duplicate_file": 'Duplicate file "{0}" found (not added to list again)',
27
- "cmduploadform.system_message.not_allowed_file_type": 'File "{0}" has not allowed file type ({1})',
28
- "cmduploadform.system_message.all_files_are_uploaded_successfully": "All files are uploaded successfully",
29
- "cmduploadform.system_message.some_files_are_not_uploaded_successfully": "Some files are not uploaded successfully",
30
- "cmduploadform.system_message.file_size_too_large": 'File size of "{0}" too large ({1})',
31
- "cmduploadform.headline.summary_of_all_files": "Summary of all files",
32
- "cmduploadform.headline.list_of_selected_files": "List of selected files",
33
- "cmduploadform.headline.select_additional_files": "Select additional files",
34
- "cmduploadform.headline.select_new_file": "Chosen the wrong file? Select a new one",
35
- "cmduploadform.allowed_file_types": "Allowed file types:",
36
- "cmduploadform.max_total_upload_size": "Max. total upload size:",
37
- "cmduploadform.max_file_upload_size": "Max. file upload size:",
38
- "cmduploadform.or": "or",
39
- "cmduploadform.drag_and_drop": "drag (and drop)",
40
- "cmduploadform.additional": "additional",
41
- "cmduploadform.new": "new",
42
- "cmduploadform.files_to_this_area": "files to this area",
43
- "cmduploadform.tooltip.toggle_list_of_allowed_file_types": "Toggle list of allowed file types",
44
- "cmduploadform.reset_upload": "Reset upload",
45
- "cmduploadform.tooltip.all_files_will_be_removed": "All files will be remove from upload-list!",
46
- "cmduploadform.select_image": "Select image",
47
- "cmduploadform.select_file": "Select file",
48
- "cmduploadform.drag_and_drop_file_here": "Drag and drop file here",
49
- "cmduploadform.max_upload_size": "Max. upload size:"
5
+ "upload_form.no_file_to_upload": "No file selected to upload",
6
+ "upload_form.no_files_to_upload": "No files selected to upload",
7
+ "upload_form.labeltext.select_file": "Select file to upload",
8
+ "upload_form.labeltext.select_files": "Select files to upload",
9
+ "upload_form.labeltext.remove_file_from_list": "Remove file '{0}' from list",
10
+ "upload_form.labeltext.remove_all_files_from_list": "Remove all files from list",
11
+ "upload_form.labeltext.file_uploading": "file to upload",
12
+ "upload_form.labeltext.files_uploading": "files to upload",
13
+ "upload_form.labeltext.comment": "Comment:",
14
+ "upload_form.buttontext.upload_file": "Upload file",
15
+ "upload_form.buttontext.upload_files": "Upload files",
16
+ "upload_form.buttontext.cancel": "Cancel",
17
+ "upload_form.placeholder.comment": "Please type in a specific comment",
18
+ "upload_form.system_message.found_duplicate_file": "Found duplicate file (not added again)",
19
+ "upload_form.system_message.upload_success": "Upload successful",
20
+ "upload_form.system_message.upload_failed": "Upload failed",
21
+ "upload_form.system_message.fill_required": "Fill all required fields",
22
+ "upload_form.system_message.the_following_errors_occurred": "The following errors occurred!",
23
+ "upload_form.system_message.an_unknown_error_occurred": "An unknown error occurred!",
24
+ "upload_form.system_message.only_one_file_allowed": "Only one file allowed!",
25
+ "upload_form.system_message_total_size_of_files_too_large": "Total size of files too large!",
26
+ "upload_form.system_message.duplicate_file": 'Duplicate file "{0}" found (not added to list again)',
27
+ "upload_form.system_message.not_allowed_file_type": 'File "{0}" has not allowed file type ({1})',
28
+ "upload_form.system_message.all_files_are_uploaded_successfully": "All files are uploaded successfully",
29
+ "upload_form.system_message.some_files_are_not_uploaded_successfully": "Some files are not uploaded successfully",
30
+ "upload_form.system_message.file_size_too_large": 'File size of "{0}" too large ({1})',
31
+ "upload_form.headline.summary_of_all_files": "Summary of all files",
32
+ "upload_form.headline.list_of_selected_files": "List of selected files",
33
+ "upload_form.headline.select_additional_files": "Select additional files",
34
+ "upload_form.headline.select_new_file": "Chosen the wrong file? Select a new one",
35
+ "upload_form.allowed_file_types": "Allowed file types:",
36
+ "upload_form.max_total_upload_size": "Max. total upload size:",
37
+ "upload_form.max_file_upload_size": "Max. file upload size:",
38
+ "upload_form.or": "or",
39
+ "upload_form.drag_and_drop": "drag (and drop)",
40
+ "upload_form.additional": "additional",
41
+ "upload_form.new": "new",
42
+ "upload_form.files_to_this_area": "files to this area",
43
+ "upload_form.tooltip.toggle_list_of_allowed_file_types": "Toggle list of allowed file types",
44
+ "upload_form.reset_upload": "Reset upload",
45
+ "upload_form.tooltip.all_files_will_be_removed": "All files will be remove from upload-list!",
46
+ "upload_form.select_image": "Select image",
47
+ "upload_form.select_file": "Select file",
48
+ "upload_form.drag_and_drop_file_here": "Drag and drop file here",
49
+ "upload_form.max_upload_size": "Max. upload size:"
50
50
  }
51
51
  }
52
52
  }
@@ -182,13 +182,13 @@ export default {
182
182
  if(this.validationMessage) {
183
183
  return this.validationMessage
184
184
  }
185
- return this.getMessage("cmdfieldvalidation.information_not_filled_correctly")
185
+ return this.getMessage("field_validation.information_not_filled_correctly")
186
186
  }
187
187
  if (this.validationStatus === "warning" && this.capsLockActivated) {
188
- return this.getMessage("cmdfieldvalidation.caps_lock_is_activated")
188
+ return this.getMessage("field_validation.caps_lock_is_activated")
189
189
  }
190
190
  if (this.validationStatus === "success") {
191
- return this.getMessage("cmdfieldvalidation.information_filled_correctly")
191
+ return this.getMessage("field_validation.information_filled_correctly")
192
192
  }
193
193
  }
194
194
 
@@ -227,7 +227,7 @@ export default {
227
227
  // check if field has a minimum length
228
228
  if(this.$attrs.minlength) {
229
229
  standardRequirements.push({
230
- message: this.getMessage("cmdfieldvalidation.input_has_minimum_length") + " (" + this.modelValue.length + "/" + this.$attrs.minlength + ")",
230
+ message: this.getMessage("field_validation.input_has_minimum_length") + " (" + this.modelValue.length + "/" + this.$attrs.minlength + ")",
231
231
  valid(value, attributes) {
232
232
  return value.length >= attributes.minlength
233
233
  }
@@ -256,7 +256,7 @@ export default {
256
256
  return []
257
257
  },
258
258
  getRequirementMessage() {
259
- return this.getMessage("cmdfieldvalidation.required_field_is_filled")
259
+ return this.getMessage("field_validation.required_field_is_filled")
260
260
  }
261
261
  },
262
262
  watch: {
@@ -2,13 +2,13 @@ export default {
2
2
  data() {
3
3
  return {
4
4
  fieldValidationDefaultMessageProperties: {
5
- "cmdfieldvalidation.open_detailed_help": "Open detailed help!",
6
- "cmdfieldvalidation.information_not_filled_correctly": "This information is not filled correctly!",
7
- "cmdfieldvalidation.information_filled_correctly": "This information is filled correctly!",
8
- "cmdfieldvalidation.caps_lock_is_activated": "Attention: Caps lock is activated!",
9
- "cmdfieldvalidation.required_field_is_filled": "Required field is filled!",
10
- "cmdfieldvalidation.field_contains_special_character": "Field contains special character",
11
- "cmdfieldvalidation.input_has_minimum_length": "Input has minimum length"
5
+ "field_validation.open_detailed_help": "Open detailed help!",
6
+ "field_validation.information_not_filled_correctly": "This information is not filled correctly!",
7
+ "field_validation.information_filled_correctly": "This information is filled correctly!",
8
+ "field_validation.caps_lock_is_activated": "Attention: Caps lock is activated!",
9
+ "field_validation.required_field_is_filled": "Required field is filled!",
10
+ "field_validation.field_contains_special_character": "Field contains special character",
11
+ "field_validation.input_has_minimum_length": "Input has minimum length"
12
12
  }
13
13
  }
14
14
  }
@@ -128,7 +128,7 @@
128
128
  <template #privacy-text>
129
129
  <p>
130
130
  <strong>
131
- By browsing this web site you accept the usage and saving of anonymous data!
131
+ By browsing this website you accept the usage and saving of anonymous data!
132
132
  </strong>
133
133
  </p>
134
134
  </template>
@@ -1,20 +0,0 @@
1
- export default {
2
- data() {
3
- return {
4
- defaultMessageProperties: {
5
- "cmdaddressdata.labeltext.company": "Company:",
6
- "cmdaddressdata.labeltext.address": "Address:",
7
- "cmdaddressdata.labeltext.telephone": "Telephone:",
8
- "cmdaddressdata.labeltext.mobile_phone": "Mobile phone:",
9
- "cmdaddressdata.labeltext.fax": "Fax:",
10
- "cmdaddressdata.labeltext.email": "Email:",
11
- "cmdaddressdata.labeltext.website": "Web site:",
12
- "cmdaddressdata.labeltext.custom": "Custom:",
13
- "cmdaddressdata.title.open_address_on_google_maps:": "Open address on GoogleMaps™ (in new tab)",
14
- "cmdaddressdata.title.call_number": "Call number",
15
- "cmdaddressdata.title.send_email": "Send email",
16
- "cmdaddressdata.title.visit_website": "Visit web site (in new tab)"
17
- }
18
- }
19
- }
20
- }