comand-component-library 3.1.83 → 3.1.86

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,4 @@
1
1
  {
2
- "cmdMainNavigation": {
3
- "comments": [
4
- "properties for CmdMainNavigation-component"
5
- ]
6
- },
7
2
  "closeOffcanvas": {
8
3
  "comments": [
9
4
  "use only if default-button of inner navigation-component should not be used"
@@ -23,5 +18,10 @@
23
18
  "true"
24
19
  ]
25
20
  }
21
+ },
22
+ "cmdMainNavigation": {
23
+ "comments": [
24
+ "properties for CmdMainNavigation-component"
25
+ ]
26
26
  }
27
27
  }
@@ -1,9 +1,4 @@
1
1
  {
2
- "labelText": {
3
- "comments": [
4
- "text for label (used in headline)"
5
- ]
6
- },
7
2
  "relatedId": {
8
3
  "comments": [
9
4
  "related-id for CmdTooltip-component"
@@ -19,29 +14,9 @@
19
14
  "validation-message for CmdSystemMessage-component"
20
15
  ]
21
16
  },
22
- "showRequirements": {
23
- "comments": [
24
- "toggle visibility for CmdListOfRequirements-component"
25
- ]
26
- },
27
- "validationTooltip": {
28
- "comments": [
29
- "validation-tooltip for CmdListOfRequirements-component"
30
- ]
31
- },
32
- "inputRequirements": {
33
- "comments": [
34
- "list of input-requirements for CmdListOfRequirements-component"
35
- ]
36
- },
37
- "inputAttributes": {
38
- "comments": [
39
- "helplink for CmdListOfRequirements-component"
40
- ]
41
- },
42
- "methods": {
17
+ "cmdListOfRequirements": {
43
18
  "comments": [
44
- "helplink for CmdListOfRequirements-component"
19
+ "properties for CmdListOfRequirements-component"
45
20
  ]
46
21
  }
47
22
  }
@@ -200,7 +200,7 @@ export default {
200
200
  // check if field has a minimum length
201
201
  if(this.$attrs.minlength) {
202
202
  standardRequirements.push({
203
- message: "Input has minimum length (" + this.modelValue.length + "/" + this.$attrs.minlength + ")",
203
+ message: this.getMessage("cmdfieldvalidation.input_has_minimum_length") + "(" + this.modelValue.length + "/" + this.$attrs.minlength + ")",
204
204
  valid(value, attributes) {
205
205
  return value.length >= attributes.minlength
206
206
  }
@@ -230,7 +230,7 @@ export default {
230
230
  }
231
231
  }
232
232
 
233
- function validateSpecialCharacters(message = "Field contains special character") {
233
+ function validateSpecialCharacters(message = "special character - replace with getMessage") {
234
234
  return {
235
235
  message,
236
236
  valid(value) {
@@ -7,7 +7,8 @@ export default {
7
7
  "cmdfieldvalidation.information_filled_correctly": "This information is filled correctly!",
8
8
  "cmdfieldvalidation.caps_lock_is_activated": "Attention: Caps lock is activated!",
9
9
  "cmdfieldvalidation.required_field_is_filled": "Required field is filled!",
10
- "cmdfieldvalidation.field_contains_special_character": "Field contains Special character"
10
+ "cmdfieldvalidation.field_contains_special_character": "Field contains special character",
11
+ "cmdfieldvalidation.input_has_minimum_length": "Input has minimum length"
11
12
  }
12
13
  }
13
14
  }