comand-component-library 4.1.8 → 4.1.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +4485 -4423
- package/dist/comand-component-library.umd.cjs +36 -26
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/ComponentLibrary.vue +17 -20
- package/src/assets/data/listOfComponents.json +1 -0
- package/src/assets/styles/component-library-global-styles.scss +1 -1
- package/src/componentSettingsDataAndControls.vue +17 -1
- package/src/components/CmdAddressData.vue +1 -3
- package/src/components/CmdBox.vue +3 -3
- package/src/components/CmdCookieDisclaimer.vue +154 -59
- package/src/components/CmdFakeSelect.vue +4 -4
- package/src/components/CmdFancyBox.vue +77 -35
- package/src/components/CmdForm.vue +11 -1
- package/src/components/CmdFormElement.vue +5 -5
- package/src/components/CmdGoogleMaps.vue +2 -2
- package/src/components/CmdImageGallery.vue +1 -1
- package/src/components/CmdListOfRequirements.vue +2 -2
- package/src/components/CmdMultistepFormProgressBar.vue +7 -7
- package/src/components/CmdPageFooter.vue +9 -1
- package/src/components/CmdPagination.vue +1 -1
- package/src/components/CmdSiteHeader.vue +1 -1
- package/src/components/CmdSiteSearch.vue +2 -2
- package/src/components/CmdThumbnailScroller.vue +3 -3
- package/src/components/CmdUploadForm.vue +44 -44
- package/src/mixins/CmdBox/DefaultMessageProperties.js +4 -4
- package/src/mixins/CmdCookieDisclaimer/DefaultMessageProperties.js +3 -2
- package/src/mixins/CmdFakeSelect/DefaultMessageProperties.js +5 -5
- package/src/mixins/CmdFormElement/DefaultMessageProperties.js +5 -5
- package/src/mixins/CmdGoogleMaps/DefaultMessageProperties.js +2 -2
- package/src/mixins/CmdImageGallery/DefaultMessageProperties.js +1 -1
- package/src/mixins/CmdListOfRequirements/DefaultMessageProperties.js +2 -2
- package/src/mixins/CmdPagination/DefaultMessageProperties.js +2 -2
- package/src/mixins/CmdSiteSearch/DefaultMessageProperties.js +2 -6
- package/src/mixins/CmdThumbnailScroller/DefaultMessageProperties.js +3 -3
- package/src/mixins/CmdUploadForm/DefaultMessageProperties.js +45 -45
- package/src/mixins/FieldValidation.js +5 -5
- package/src/mixins/GlobalDefaultMessageProperties.js +7 -7
- package/src/pages/PageWrapper.vue +1 -1
- package/src/mixins/CmdAddressData/DefaultMessageProperties.js +0 -20
@@ -2,51 +2,51 @@ export default {
|
|
2
2
|
data() {
|
3
3
|
return {
|
4
4
|
defaultMessageProperties: {
|
5
|
-
"
|
6
|
-
"
|
7
|
-
"
|
8
|
-
"
|
9
|
-
"
|
10
|
-
"
|
11
|
-
"
|
12
|
-
"
|
13
|
-
"
|
14
|
-
"
|
15
|
-
"
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"
|
19
|
-
"
|
20
|
-
"
|
21
|
-
"
|
22
|
-
"
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"
|
30
|
-
"
|
31
|
-
"
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"
|
39
|
-
"
|
40
|
-
"
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"
|
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("
|
185
|
+
return this.getMessage("field_validation.information_not_filled_correctly")
|
186
186
|
}
|
187
187
|
if (this.validationStatus === "warning" && this.capsLockActivated) {
|
188
|
-
return this.getMessage("
|
188
|
+
return this.getMessage("field_validation.caps_lock_is_activated")
|
189
189
|
}
|
190
190
|
if (this.validationStatus === "success") {
|
191
|
-
return this.getMessage("
|
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("
|
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("
|
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
|
-
"
|
6
|
-
"
|
7
|
-
"
|
8
|
-
"
|
9
|
-
"
|
10
|
-
"
|
11
|
-
"
|
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
|
}
|
@@ -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
|
-
}
|