openatc-components 0.1.35 → 0.1.37

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.1.35",
3
+ "version": "0.1.37",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -10,7 +10,7 @@
10
10
  <PatternStatus
11
11
  :showBarrier="showBarrier"
12
12
  :localPatternList="localPatternList"
13
- :condition="condition"
13
+ :showCondition="showCondition"
14
14
  :contrloType="contrloType"
15
15
  :stagesChange="stagesChange"
16
16
  :patternList="patternList"
@@ -48,8 +48,9 @@ export default {
48
48
  localPatternList: {
49
49
  type: Array
50
50
  },
51
- condition: {
52
- type: Boolean
51
+ showCondition: {
52
+ type: Boolean,
53
+ default: false
53
54
  },
54
55
  patternList: {
55
56
  type: Array
@@ -135,8 +135,9 @@ export default {
135
135
  controlData: {
136
136
  type: Object
137
137
  },
138
- condition: {
139
- type: Boolean
138
+ showCondition: {
139
+ type: Boolean,
140
+ default: false
140
141
  },
141
142
  cycle: {
142
143
  type: Number
@@ -189,7 +190,7 @@ export default {
189
190
  }
190
191
  // this.controlDatas = this.controlData
191
192
  this.getPedPhasePos()
192
- if ((this.controlData && this.controlData.patternid === 109) || (this.controlData && this.condition)) {
193
+ if ((this.controlData && this.controlData.patternid === 109) || (this.controlData && this.showCondition)) {
193
194
  this.handleTentivePatternData()
194
195
  } else {
195
196
  this.handlePatternData()
@@ -8,7 +8,7 @@
8
8
  :cycles="cycles"
9
9
  :cycle="cycle"
10
10
  :patternList="patternList"
11
- :condition="condition"
11
+ :showCondition="showCondition"
12
12
  :localPatternList="localPatternList"
13
13
  :phaseList="phaseList"
14
14
  :showBarrier="showBarrier"
@@ -497,8 +497,9 @@ export default {
497
497
  contrloType: {
498
498
  type: String
499
499
  },
500
- condition: {
501
- type: Boolean
500
+ showCondition: {
501
+ type: Boolean,
502
+ default: false
502
503
  },
503
504
  localPatternList: {
504
505
  type: Array