comand-component-library 3.1.86 → 3.1.89

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,9 +14,14 @@
14
14
  ]
15
15
  }
16
16
  },
17
- "textOpenClosed": {
17
+ "textOpen": {
18
18
  "comments": [
19
- "text for open/closed-information"
19
+ "text for 'open'-information"
20
+ ]
21
+ },
22
+ "textClosed": {
23
+ "comments": [
24
+ "text for 'closed'-information"
20
25
  ]
21
26
  },
22
27
  "openingHours": {
@@ -38,5 +43,20 @@
38
43
  "comments": [
39
44
  "properties for CmdHeadline-component"
40
45
  ]
46
+ },
47
+ "timeFormatter": {
48
+ "comments": [
49
+ "option to set custom time format by function"
50
+ ]
51
+ },
52
+ "componentHandlesClosedStatus": {
53
+ "comments": [
54
+ "activate if component should update open-/closed-status on its own"
55
+ ]
56
+ },
57
+ "checkInterval": {
58
+ "comments": [
59
+ "set the interval (in milliseconds) when the open-/closed-status should be checked (and updated)"
60
+ ]
41
61
  }
42
62
  }
@@ -142,9 +142,31 @@ export default {
142
142
  iconClass: "icon-not-visible"
143
143
  }
144
144
  }
145
+ },
146
+ /**
147
+ * properties for CmdListOfRequirements-component
148
+ */
149
+ cmdListOfRequirements: {
150
+ type: Object,
151
+ required: false
145
152
  }
146
153
  },
147
154
  computed: {
155
+ listOfRequirements() {
156
+ if (this.cmdListOfRequirements == null) {
157
+ return {
158
+ showRequirements: true,
159
+ showHeadline: true,
160
+ validationTooltip: this.validationTooltip,
161
+ inputRequirements: this.inputRequirements,
162
+ inputAttributes: this.$attrs,
163
+ inputModelValue: this.modelValue,
164
+ helplink: {},
165
+ labelText: this.labelText
166
+ }
167
+ }
168
+ return this.cmdListOfRequirements
169
+ },
148
170
  getValidationMessage() {
149
171
  // check if all requirements are valid
150
172
  // const allRequirementsValid = !this.inputRequirements.some((item) => {