openatc-components 0.3.27 → 0.3.29

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.
@@ -21,7 +21,7 @@
21
21
  @change="handleChangePosY" @input.native="eventChange('y')" />
22
22
  </el-form-item>
23
23
  <el-form-item v-if="showAngle" :label="$t('openatccomponents.channelizationmap.angle') + ':'">
24
- <el-input-number :min="0" :max="360" :controls="false" ref="refNumber-angle" v-model="basicCoodInfo.angle"
24
+ <el-input-number :min="0" :max="360" :precision="0" :step="1" :controls="false" ref="refNumber-angle" v-model="basicCoodInfo.angle"
25
25
  @change="handleChangeAngle" @input.native="eventChange('angle')" />
26
26
  </el-form-item>
27
27
  <el-form-item v-if="showKeyId" label="ID:">
@@ -13,84 +13,36 @@ PURPOSE. * See the Mulan PSL v2 for more details. **/
13
13
  <svg
14
14
  v-if="type === '相位关断'"
15
15
  xmlns="http://www.w3.org/2000/svg"
16
- viewBox="0 0 45.08 24.79"
16
+ viewBox="0 0 54 29.1"
17
17
  :width="iconWidth"
18
18
  :height="iconHeight"
19
19
  >
20
- <g id="图层_2" data-name="图层 2">
21
- <g id="图层_3" data-name="图层 3" :class="themeColor">
22
- <rect class="cls-1" y="13.52" width="27.08" height="7.46" />
23
- <rect class="cls-2" x="27" y="13.52" width="18.08" height="7.46" />
24
- <rect class="cls-2" x="27" y="9.71" width="1.38" height="15.08" />
25
- <path class="cls-3" d="M24.35.35,31,7.05Z" />
26
- <path class="cls-3" d="M31,.35l-6.69,6.7Z" />
27
- </g>
20
+ <g :class="themeColor">
21
+ <rect y="15.8" class="st0" width="32.4" height="9"/>
22
+ <rect x="32.3" y="15.8" class="st3" width="21.7" height="9"/>
23
+ <rect x="32.3" y="11.3" class="st3" width="1.7" height="17.7"/>
24
+ <g>
25
+ <path class="st4" d="M29.2,0.4l8,8L29.2,0.4z"/>
26
+ <path class="st4" d="M37.2,0.4l-8,8L37.2,0.4z"/>
28
27
  </g>
28
+ </g>
29
29
  </svg>
30
30
  <svg
31
31
  v-if="type === '临时方案'"
32
32
  xmlns="http://www.w3.org/2000/svg"
33
- viewBox="0 0 54 9"
33
+ viewBox="0 0 54 29.1"
34
34
  :width="iconWidth"
35
35
  :height="iconHeight"
36
36
  >
37
- <g id="图层_2" data-name="图层 2" :class="themeColor">
38
- <rect
39
- id="矩形_683_拷贝_3"
40
- data-name="矩形 683 拷贝 3"
41
- class="cls-1"
42
- width="39"
43
- height="9"
44
- />
45
- <rect
46
- id="矩形_683_拷贝_3-2"
47
- data-name="矩形 683 拷贝 3"
48
- class="cls-5"
49
- x="39"
50
- width="8"
51
- height="9"
52
- />
53
- <rect
54
- id="矩形_686_拷贝_4"
55
- data-name="矩形 686 拷贝 4"
56
- class="cls-6"
57
- x="37"
58
- width="1"
59
- height="9"
60
- />
61
- <rect
62
- id="矩形_686_拷贝_4-2"
63
- data-name="矩形 686 拷贝 4"
64
- class="cls-6"
65
- x="35"
66
- width="1"
67
- height="9"
68
- />
69
- <rect
70
- id="矩形_686_拷贝_4-3"
71
- data-name="矩形 686 拷贝 4"
72
- class="cls-6"
73
- x="33"
74
- width="1"
75
- height="9"
76
- />
77
- <rect
78
- id="矩形_686_拷贝_4-4"
79
- data-name="矩形 686 拷贝 4"
80
- class="cls-6"
81
- x="31"
82
- width="1"
83
- height="9"
84
- />
85
- <rect
86
- id="矩形_683_拷贝_3-3"
87
- data-name="矩形 683 拷贝 3"
88
- class="cls-2"
89
- x="46"
90
- width="8"
91
- height="9"
92
- />
93
- </g>
37
+ <g :class="themeColor">
38
+ <rect id="矩形_683_拷贝_3" x="0" y="15.8" class="st0" width="39" height="9"/>
39
+ <rect id="矩形_683_拷贝_3-2" x="39" y="15.8" class="st1" width="8" height="9"/>
40
+ <rect id="矩形_686_拷贝_4" x="37" y="15.8" class="st2" width="1" height="9"/>
41
+ <rect id="矩形_686_拷贝_4-2" x="35" y="15.8" class="st2" width="1" height="9"/>
42
+ <rect id="矩形_686_拷贝_4-3" x="33" y="15.8" class="st2" width="1" height="9"/>
43
+ <rect id="矩形_686_拷贝_4-4" x="31" y="15.8" class="st2" width="1" height="9"/>
44
+ <rect id="矩形_683_拷贝_3-3" x="46" y="15.8" class="st3" width="8" height="9"/>
45
+ </g>
94
46
  </svg>
95
47
  <svg
96
48
  v-if="type === '优先控制'"
@@ -191,4 +143,9 @@ export default {
191
143
  .cls-6 {
192
144
  fill: #fff;
193
145
  }
146
+ .st0{fill:#7CCC66;}
147
+ .st1{fill:#F9DC6A;}
148
+ .st2{fill:#FFFFFF;}
149
+ .st3{fill:#F27979;}
150
+ .st4{fill:none;stroke:#F27979;stroke-width:1.1979;stroke-miterlimit:10;}
194
151
  </style>