openatc-components 0.1.34 → 0.1.35

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.
@@ -10,6 +10,7 @@
10
10
  <PatternStatus
11
11
  :showBarrier="showBarrier"
12
12
  :localPatternList="localPatternList"
13
+ :condition="condition"
13
14
  :contrloType="contrloType"
14
15
  :stagesChange="stagesChange"
15
16
  :patternList="patternList"
@@ -47,6 +48,9 @@ export default {
47
48
  localPatternList: {
48
49
  type: Array
49
50
  },
51
+ condition: {
52
+ type: Boolean
53
+ },
50
54
  patternList: {
51
55
  type: Array
52
56
  },
@@ -135,6 +135,9 @@ export default {
135
135
  controlData: {
136
136
  type: Object
137
137
  },
138
+ condition: {
139
+ type: Boolean
140
+ },
138
141
  cycle: {
139
142
  type: Number
140
143
  },
@@ -186,7 +189,7 @@ export default {
186
189
  }
187
190
  // this.controlDatas = this.controlData
188
191
  this.getPedPhasePos()
189
- if (this.controlData.patternid === 109) {
192
+ if ((this.controlData && this.controlData.patternid === 109) || (this.controlData && this.condition)) {
190
193
  this.handleTentivePatternData()
191
194
  } else {
192
195
  this.handlePatternData()
@@ -8,6 +8,7 @@
8
8
  :cycles="cycles"
9
9
  :cycle="cycle"
10
10
  :patternList="patternList"
11
+ :condition="condition"
11
12
  :localPatternList="localPatternList"
12
13
  :phaseList="phaseList"
13
14
  :showBarrier="showBarrier"
@@ -496,6 +497,9 @@ export default {
496
497
  contrloType: {
497
498
  type: String
498
499
  },
500
+ condition: {
501
+ type: Boolean
502
+ },
499
503
  localPatternList: {
500
504
  type: Array
501
505
  },