openatc-components 0.5.38 → 0.5.39

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.
Files changed (348) hide show
  1. package/.babelrc +18 -18
  2. package/.editorconfig +9 -9
  3. package/.eslintignore +5 -5
  4. package/.eslintrc.js +31 -31
  5. package/.postcssrc.js +10 -10
  6. package/README.md +30 -30
  7. package/build/build.js +41 -41
  8. package/build/check-versions.js +54 -54
  9. package/build/package.config.js +58 -58
  10. package/build/package.dev.config.js +107 -107
  11. package/build/package.prod.config.js +160 -160
  12. package/build/utils.js +101 -101
  13. package/build/vue-loader.conf.js +22 -22
  14. package/build/webpack.base.conf.js +120 -120
  15. package/build/webpack.dev.conf.js +95 -95
  16. package/build/webpack.prod.conf.js +149 -149
  17. package/config/prod.env.js +5 -5
  18. package/config/test.env.js +7 -7
  19. package/index.html +12 -12
  20. package/package/kisscomps/components/Channelization/Channelization.vue +585 -585
  21. package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  22. package/package/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +518 -518
  23. package/package/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  24. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  25. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  26. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  27. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  28. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  29. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  30. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  31. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  32. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  33. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  34. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  35. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  36. package/package/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  37. package/package/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  38. package/package/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  39. package/package/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  40. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  41. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  42. package/package/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  43. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  44. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  45. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  46. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  47. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +368 -368
  48. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  49. package/package/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  50. package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +144 -144
  51. package/package/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  52. package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  53. package/package/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  54. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  55. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  56. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  57. package/package/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  58. package/package/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  59. package/package/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  60. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +629 -629
  61. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  62. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +447 -447
  63. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +341 -341
  64. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +497 -497
  65. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +353 -353
  66. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +359 -359
  67. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +443 -443
  68. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  69. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +498 -498
  70. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +484 -484
  71. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +488 -488
  72. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +566 -566
  73. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +640 -640
  74. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +497 -497
  75. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +486 -486
  76. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +490 -490
  77. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +575 -575
  78. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  79. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  80. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  81. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  82. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  83. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  84. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  85. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  86. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  87. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  88. package/package/kisscomps/components/KanBan/kanban.vue +231 -231
  89. package/package/kisscomps/components/MessageBox/index.vue +96 -96
  90. package/package/kisscomps/components/OptimizeKanban/index.js +2 -0
  91. package/package/kisscomps/components/OptimizeKanban/index.vue +369 -0
  92. package/package/kisscomps/components/OverLap/OverLap.vue +130 -11
  93. package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +329 -329
  94. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +10 -12
  95. package/package/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  96. package/package/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  97. package/package/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  98. package/package/kisscomps/components/PhaseLegend/PhaseLegend.vue +286 -286
  99. package/package/kisscomps/components/PhaseMarker/index.js +6 -6
  100. package/package/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  101. package/package/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  102. package/package/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  103. package/package/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  104. package/package/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  105. package/package/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  106. package/package/kisscomps/components/PhasePedSelect/index.vue +206 -206
  107. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +365 -365
  108. package/package/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  109. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +214 -214
  110. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +235 -235
  111. package/package/kisscomps/components/SchemeConfig/manualControlModal/index.vue +235 -235
  112. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +131 -131
  113. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/othersIcon.vue +151 -151
  114. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +215 -215
  115. package/package/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  116. package/package/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +95 -95
  117. package/package/kisscomps/components/StageOptimize/StageOptimize.vue +367 -367
  118. package/package/kisscomps/components/StageOptimize/index.js +2 -2
  119. package/package/kisscomps/components/StageOptimize/index.vue +310 -0
  120. package/package/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  121. package/package/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  122. package/package/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  123. package/package/kisscomps/components/XiaoKanban/index.vue +122 -122
  124. package/package/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  125. package/package/kisscomps/components/patternConfig/planContent.vue +604 -604
  126. package/package/kisscomps/components/patternConfig/planMenu.vue +329 -329
  127. package/package/kissui.min.js +1 -1
  128. package/package.json +1 -1
  129. package/src/EdgeMgr/EdgeModelBase.js +16 -16
  130. package/src/EdgeMgr/controller/crossDiagramMgr.js +125 -125
  131. package/src/api/authapi.js +31 -31
  132. package/src/api/config.js +21 -21
  133. package/src/api/control.js +110 -110
  134. package/src/api/device.js +135 -135
  135. package/src/api/fault.js +66 -66
  136. package/src/api/index.js +24 -24
  137. package/src/api/login.js +46 -46
  138. package/src/api/optimize.js +72 -72
  139. package/src/api/passwdAssest.js +101 -101
  140. package/src/api/permission.js +33 -33
  141. package/src/api/route.js +171 -171
  142. package/src/assets/font/LICENSE.txt +202 -202
  143. package/src/assets/font/font.css +6 -6
  144. package/src/i18n/index.js +26 -26
  145. package/src/icons/index.js +20 -20
  146. package/src/icons/svg/azimuthlocking.svg +26 -26
  147. package/src/icons/svg/bendi.svg +110 -110
  148. package/src/icons/svg/bujin.svg +36 -36
  149. package/src/icons/svg/connectBlue.svg +7 -7
  150. package/src/icons/svg/currentvolume.svg +0 -0
  151. package/src/icons/svg/custom-BRTlane.svg +40 -40
  152. package/src/icons/svg/custom-buslane.svg +40 -40
  153. package/src/icons/svg/custom-detector.svg +12 -12
  154. package/src/icons/svg/custom-east-bottom.svg +32 -32
  155. package/src/icons/svg/custom-east-top.svg +32 -32
  156. package/src/icons/svg/custom-ewped.svg +35 -35
  157. package/src/icons/svg/custom-nonmotorizedlane.svg +40 -40
  158. package/src/icons/svg/custom-north-left.svg +32 -32
  159. package/src/icons/svg/custom-north-right.svg +32 -32
  160. package/src/icons/svg/custom-peddetector.svg +17 -17
  161. package/src/icons/svg/custom-snped.svg +35 -35
  162. package/src/icons/svg/custom-south-left.svg +32 -32
  163. package/src/icons/svg/custom-south-right.svg +32 -32
  164. package/src/icons/svg/custom-tramlane.svg +40 -40
  165. package/src/icons/svg/custom-vehiclebranch.svg +40 -40
  166. package/src/icons/svg/custom-vehiclemainroad.svg +41 -41
  167. package/src/icons/svg/custom-west-bottom.svg +32 -32
  168. package/src/icons/svg/custom-west-top.svg +32 -32
  169. package/src/icons/svg/custom-xlped.svg +14 -14
  170. package/src/icons/svg/custom-xrped.svg +14 -14
  171. package/src/icons/svg/cutRed.svg +7 -7
  172. package/src/icons/svg/cycle.svg +0 -0
  173. package/src/icons/svg/dingzhouqi.svg +34 -34
  174. package/src/icons/svg/ganyingkongzhi.svg +30 -30
  175. package/src/icons/svg/guandeng.svg +81 -81
  176. package/src/icons/svg/huangshan.svg +71 -71
  177. package/src/icons/svg/maincontrol.svg +0 -0
  178. package/src/icons/svg/manualcontrolbackground.svg +51 -51
  179. package/src/icons/svg/manualcontrolbackground1.svg +62 -62
  180. package/src/icons/svg/manualcontrolbackgrounden.svg +62 -62
  181. package/src/icons/svg/model.svg +0 -0
  182. package/src/icons/svg/phasediff.svg +0 -0
  183. package/src/icons/svg/prioritycontrol.svg +21 -21
  184. package/src/icons/svg/quanhong.svg +86 -86
  185. package/src/icons/svg/shanghe.svg +11 -11
  186. package/src/icons/svg/shoudong.svg +103 -103
  187. package/src/icons/svg/tentativeplan.svg +28 -28
  188. package/src/icons/svg/time.svg +0 -0
  189. package/src/icons/svg/wuxianlan.svg +46 -46
  190. package/src/icons/svg/xiala.svg +11 -11
  191. package/src/icons/svg/xingrenguojie.svg +33 -33
  192. package/src/icons/svg/xitong.svg +89 -89
  193. package/src/icons/svg/youxian.svg +41 -41
  194. package/src/icons/svg/zizhukongzhi.svg +43 -43
  195. package/src/kisscomps/components/Channelization/Channelization.vue +585 -585
  196. package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  197. package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +518 -518
  198. package/src/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  199. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  200. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  201. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  202. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  203. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  204. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  205. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  206. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  207. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  208. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  209. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  210. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  211. package/src/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  212. package/src/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  213. package/src/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  214. package/src/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  215. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  216. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  217. package/src/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  218. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  219. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  220. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  221. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  222. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +368 -368
  223. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  224. package/src/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  225. package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +144 -144
  226. package/src/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  227. package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  228. package/src/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  229. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  230. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  231. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  232. package/src/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  233. package/src/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  234. package/src/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  235. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +629 -629
  236. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  237. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +447 -447
  238. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +341 -341
  239. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +497 -497
  240. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +353 -353
  241. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +359 -359
  242. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +443 -443
  243. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  244. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +498 -498
  245. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +484 -484
  246. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +488 -488
  247. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +566 -566
  248. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +640 -640
  249. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +497 -497
  250. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +486 -486
  251. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +490 -490
  252. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +575 -575
  253. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  254. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  255. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  256. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  257. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  258. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  259. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  260. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  261. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  262. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  263. package/src/kisscomps/components/KanBan/kanban.vue +231 -231
  264. package/src/kisscomps/components/MessageBox/index.vue +96 -96
  265. package/src/kisscomps/components/OverLap/OverLap.vue +130 -11
  266. package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +329 -329
  267. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +10 -12
  268. package/src/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  269. package/src/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  270. package/src/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  271. package/src/kisscomps/components/PhaseLegend/PhaseLegend.vue +286 -286
  272. package/src/kisscomps/components/PhaseMarker/index.js +6 -6
  273. package/src/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  274. package/src/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  275. package/src/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  276. package/src/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  277. package/src/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  278. package/src/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  279. package/src/kisscomps/components/PhasePedSelect/index.vue +206 -206
  280. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +365 -365
  281. package/src/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  282. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +214 -214
  283. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +235 -235
  284. package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +235 -235
  285. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +131 -131
  286. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/othersIcon.vue +151 -151
  287. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +215 -215
  288. package/src/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  289. package/src/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +95 -95
  290. package/src/kisscomps/components/StageOptimize/StageOptimize.vue +367 -367
  291. package/src/kisscomps/components/StageOptimize/index.js +2 -2
  292. package/src/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  293. package/src/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  294. package/src/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  295. package/src/kisscomps/components/XiaoKanban/index.vue +122 -122
  296. package/src/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  297. package/src/kisscomps/components/patternConfig/planContent.vue +604 -604
  298. package/src/kisscomps/components/patternConfig/planMenu.vue +329 -329
  299. package/src/lib/publicjs/ArryListUtil.js +38 -38
  300. package/src/lib/publicjs/HttpurlMgr.js +45 -45
  301. package/src/lib/publicjs/KissApi.js +158 -158
  302. package/src/lib/publicjs/KissWSSub/Heartcheck.js +128 -128
  303. package/src/lib/publicjs/KissWSSub/KissWsSub.js +91 -91
  304. package/src/lib/publicjs/KissWSSub/KissWsSubByType.js +152 -152
  305. package/src/lib/publicjs/KissWSSub/SimuWsSubByType.js +44 -44
  306. package/src/lib/publicjs/KissWSSub/Sub.js +51 -51
  307. package/src/lib/publicjs/KissWSSub/SubChannel.js +119 -119
  308. package/src/lib/publicjs/basecomponents.js +65 -65
  309. package/src/lib/publicjs/localStorage.js +112 -112
  310. package/src/lib/publicjs/objdeepcopy.js +32 -32
  311. package/src/lib/publicjs/pageScroll.js +30 -30
  312. package/src/lib/publicjs/passwdAssest.js +101 -101
  313. package/src/lib/publicjs/styleclassfactory.js +32 -32
  314. package/src/node_modules/.package_versions.json +1 -0
  315. package/src/store/index.js +26 -26
  316. package/src/store/modules/globalParam.js +67 -67
  317. package/src/utils/RingDataModel.js +335 -335
  318. package/src/utils/conflictList.js +87 -87
  319. package/src/utils/dateFormat.js +41 -41
  320. package/src/utils/index.js +69 -69
  321. package/src/utils/phaseList.js +203 -203
  322. package/src/utils/validate.js +43 -43
  323. package/src/views/home.1.vue +479 -479
  324. package/src/views/home.vue +93 -93
  325. package/static/styles/channelizatioon.scss +433 -433
  326. package/static/styles/common.scss +30 -30
  327. package/static/styles/commonkanban.scss +168 -168
  328. package/static/styles/dark/index.scss +2 -2
  329. package/static/styles/dark/theme/element-dark.scss +44 -44
  330. package/static/styles/index.scss +84 -84
  331. package/static/styles/intersection.scss +180 -180
  332. package/static/styles/light/index.scss +2 -2
  333. package/static/styles/light/theme/element-light.scss +44 -44
  334. package/static/styles/patternConfig.scss +56 -56
  335. package/static/styles/phasePedSelect.scss +71 -71
  336. package/static/styles/stages.scss +57 -57
  337. package/static/styles/xiaokanban.scss +61 -61
  338. package/static/token.json +2 -2
  339. package/test/e2e/custom-assertions/elementCount.js +27 -27
  340. package/test/e2e/nightwatch.conf.js +46 -46
  341. package/test/e2e/runner.js +48 -48
  342. package/test/e2e/specs/test.js +19 -19
  343. package/test/unit/.eslintrc +7 -7
  344. package/test/unit/jest.conf.js +30 -30
  345. package/test/unit/setup.js +3 -3
  346. package/test/unit/specs/HelloWorld.spec.js +11 -11
  347. package/package/kissui.js +0 -216608
  348. package/pnpm-lock.yaml +0 -16362
@@ -1,210 +1,210 @@
1
- /**
2
- * Copyright (c) 2020 kedacom
3
- * OpenATC is licensed under Mulan PSL v2.
4
- * You can use this software according to the terms and conditions of the Mulan PSL v2.
5
- * You may obtain a copy of Mulan PSL v2 at:
6
- * http://license.coscl.org.cn/MulanPSL2
7
- * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
8
- * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
9
- * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
- * See the Mulan PSL v2 for more details.
11
- **/
12
- <template>
13
- <div v-if="reset" class="detector-icon">
14
- <drr
15
- :style="{'z-index': chooseIndex === DetectorData.index ? 9 : 0}"
16
- :x="item.x"
17
- :y="item.y"
18
- :w="item.w"
19
- :h="item.h"
20
- :selected="chooseIndex === DetectorData.index"
21
- :selectable="isSeletable"
22
- :angle="item.angle"
23
- :aspectRatio="true"
24
- @select="handleSelectIcon(item)"
25
- @dragstop="boxDragStop(item, ...arguments)"
26
- @resize="boxResize(...arguments)"
27
- @resizestop="boxResizeStop(item, ...arguments)"
28
- @rotatestop="boxRotateStop(item, ...arguments)"
29
- >
30
- <div v-if="UsageMode === 'draw'">
31
- <div v-if="chooseIndex !== DetectorData.index" class="centerText defaultBg" :style="{'width': item.w + 'px', 'height': item.h + 'px'}">
32
- <div class="detectorIcon"
33
- :style="{'width': item.w + 'px', 'fontSize': Fontsize + 'px', 'lineHeight': item.h - 4 + 'px'}"
34
- :class="{'defaultVehicleBorder': DetectorData.detectortype === 1,
35
- 'defaultPedBorder': DetectorData.detectortype === 2 }">{{DetectorData.detectorid}}</div>
36
- </div>
37
- <div v-if="chooseIndex === DetectorData.index" class="centerText highlightBg" :style="{'width': item.w + 'px', 'height': item.h + 'px'}">
38
- <div class="detectorIcon"
39
- :style="{'width': item.w + 'px', 'fontSize': Fontsize + 'px', 'lineHeight': item.h - 4 + 'px'}"
40
- :class="{'defaultVehicleBorder': CurChooseIcon.detectortype == 1,
41
- 'defaultPedBorder': CurChooseIcon.detectortype == 2 }">{{CurChooseIcon.detectorid}}</div>
42
- </div>
43
- </div>
44
-
45
- <div v-if="UsageMode === 'show'" class="centerText" :style="{'width': item.w + 'px', 'height': item.h + 'px'}">
46
- <div class="detectorIcon"
47
- :style="{'width': item.w + 'px', 'fontSize': Fontsize + 'px','lineHeight': item.h - 4 + 'px', 'background': DetectorData.fillcolor}"
48
- :class="{'defaultVehicleBorder': DetectorData.detectortype == 1,
49
- 'defaultPedBorder': DetectorData.detectortype == 2 }"
50
- >{{DetectorData.detectorid}}</div>
51
- </div>
52
- </drr>
53
- </div>
54
- </template>
55
- <script>
56
- export default {
57
- name: 'countdownsvg',
58
- data () {
59
- return {
60
- defaultColor: 'DeepSkyBlue', // 默认状态颜色
61
- item: {},
62
- reset: true,
63
- Fontsize: 16 // 默认字号
64
- }
65
- },
66
- watch: {
67
- // item: {
68
- // handler: function (newval, oldval) {
69
- // if ((JSON.stringify(oldval) !== '{}')) {
70
- // // 更改原数据的位置大小数据
71
- // let data = {
72
- // ...this.DetectorData,
73
- // ...newval
74
- // }
75
- // let fields = Object.keys(newval)
76
- // this.$emit('changeDetectorItem', data, fields)
77
- // }
78
- // }
79
- // }
80
- DetectorData: {
81
- handler: function (val) {
82
- if (this.UsageMode === 'draw') {
83
- this.item.x = val.x
84
- this.item.y = val.y
85
- this.item.angle = val.angle
86
- }
87
- },
88
- deep: true
89
- }
90
-
91
- // CurChooseIcon: {
92
- // handler: function (data) {
93
- // debugger
94
- // },
95
- // deep: true
96
- // }
97
- },
98
- props: {
99
- DetectorData: {
100
- type: Object
101
- },
102
- isSeletable: {
103
- type: Boolean
104
- },
105
- chooseIndex: {
106
- type: Number
107
- },
108
- UsageMode: { // 当前图标模式: 绘制draw 展示show
109
- type: String,
110
- default: 'draw'
111
- },
112
- CurChooseIcon: {
113
- type: Object
114
- }
115
- },
116
- methods: {
117
- boxDragStop (origin, final) {
118
- this.item = JSON.parse(JSON.stringify(final))
119
- this.$emit('handleSelectIcon', this.DetectorData)
120
- this.handleChangeData()
121
- },
122
- boxResize (final) {
123
- // this.resetSvg()
124
- this.item = JSON.parse(JSON.stringify(final))
125
- this.handleChangeData()
126
- },
127
- boxResizeStop (origin, final) {
128
- // this.resetSvg()
129
- // this.item = JSON.parse(JSON.stringify(final))
130
- },
131
- boxRotateStop (origin, final) {
132
- this.item = JSON.parse(JSON.stringify(final))
133
- // 第四象限的角度是负值(开源组件接口返回),转化为正值便于理解
134
- if (this.item.angle < 0) {
135
- this.item.angle = this.item.angle + 360
136
- }
137
- this.handleChangeData()
138
- },
139
- resetSvg () {
140
- this.reset = false
141
- this.$nextTick(() => {
142
- this.reset = true
143
- })
144
- },
145
- handleSelectIcon (iconparams) {
146
- this.$emit('handleSelectIcon', this.DetectorData)
147
- },
148
- culculateFontsize () {
149
- // 根据倒计时图标大小,动态计算内部文字大小
150
- this.Fontsize = Math.floor(this.DetectorData.w / 140 * 20)
151
- },
152
- handleChangeData () {
153
- let data = {
154
- ...this.DetectorData,
155
- ...this.item
156
- }
157
- let fields = Object.keys(this.item)
158
- this.$emit('changeDetectorItem', data, fields)
159
- this.handleSelectIcon()
160
- }
161
- },
162
- created () {
163
- this.item = {
164
- x: this.DetectorData.x,
165
- y: this.DetectorData.y,
166
- w: this.DetectorData.w,
167
- h: this.DetectorData.h,
168
- angle: this.DetectorData.angle
169
- }
170
- }
171
- }
172
- </script>
173
- <style scoped>
174
- .centerText {
175
- position: absolute;
176
- left: 50%;
177
- top: 50%;
178
- transform: translateX(-50%) translateY(-50%);
179
- z-index: 9;
180
- display: flex;
181
- align-items: center;
182
- }
183
- .detectorIcon {
184
- font-family: SourceHanSansCN-Regular;
185
- font-weight: normal;
186
- font-stretch: normal;
187
- letter-spacing: 0px;
188
- color: #fff;
189
- margin: 0 auto;
190
- text-align: center;
191
- height: 100%;
192
- }
193
- .defaultBg {
194
- background-color: transparent;
195
- }
196
- .highlightBg {
197
- background-color: #299BCC;
198
- }
199
- .defaultVehicleBorder {
200
- border: 2px solid #00FF00;
201
- }
202
- .defaultPedBorder {
203
- border: 2px solid #0080FF;
204
- }
205
- .centerText .text {
206
- display: inline-block;
207
- color: #299BCC;
208
- margin-top: 20px;
209
- }
210
- </style>
1
+ /**
2
+ * Copyright (c) 2020 kedacom
3
+ * OpenATC is licensed under Mulan PSL v2.
4
+ * You can use this software according to the terms and conditions of the Mulan PSL v2.
5
+ * You may obtain a copy of Mulan PSL v2 at:
6
+ * http://license.coscl.org.cn/MulanPSL2
7
+ * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
8
+ * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
9
+ * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
+ * See the Mulan PSL v2 for more details.
11
+ **/
12
+ <template>
13
+ <div v-if="reset" class="detector-icon">
14
+ <drr
15
+ :style="{'z-index': chooseIndex === DetectorData.index ? 9 : 0}"
16
+ :x="item.x"
17
+ :y="item.y"
18
+ :w="item.w"
19
+ :h="item.h"
20
+ :selected="chooseIndex === DetectorData.index"
21
+ :selectable="isSeletable"
22
+ :angle="item.angle"
23
+ :aspectRatio="true"
24
+ @select="handleSelectIcon(item)"
25
+ @dragstop="boxDragStop(item, ...arguments)"
26
+ @resize="boxResize(...arguments)"
27
+ @resizestop="boxResizeStop(item, ...arguments)"
28
+ @rotatestop="boxRotateStop(item, ...arguments)"
29
+ >
30
+ <div v-if="UsageMode === 'draw'">
31
+ <div v-if="chooseIndex !== DetectorData.index" class="centerText defaultBg" :style="{'width': item.w + 'px', 'height': item.h + 'px'}">
32
+ <div class="detectorIcon"
33
+ :style="{'width': item.w + 'px', 'fontSize': Fontsize + 'px', 'lineHeight': item.h - 4 + 'px'}"
34
+ :class="{'defaultVehicleBorder': DetectorData.detectortype === 1,
35
+ 'defaultPedBorder': DetectorData.detectortype === 2 }">{{DetectorData.detectorid}}</div>
36
+ </div>
37
+ <div v-if="chooseIndex === DetectorData.index" class="centerText highlightBg" :style="{'width': item.w + 'px', 'height': item.h + 'px'}">
38
+ <div class="detectorIcon"
39
+ :style="{'width': item.w + 'px', 'fontSize': Fontsize + 'px', 'lineHeight': item.h - 4 + 'px'}"
40
+ :class="{'defaultVehicleBorder': CurChooseIcon.detectortype == 1,
41
+ 'defaultPedBorder': CurChooseIcon.detectortype == 2 }">{{CurChooseIcon.detectorid}}</div>
42
+ </div>
43
+ </div>
44
+
45
+ <div v-if="UsageMode === 'show'" class="centerText" :style="{'width': item.w + 'px', 'height': item.h + 'px'}">
46
+ <div class="detectorIcon"
47
+ :style="{'width': item.w + 'px', 'fontSize': Fontsize + 'px','lineHeight': item.h - 4 + 'px', 'background': DetectorData.fillcolor}"
48
+ :class="{'defaultVehicleBorder': DetectorData.detectortype == 1,
49
+ 'defaultPedBorder': DetectorData.detectortype == 2 }"
50
+ >{{DetectorData.detectorid}}</div>
51
+ </div>
52
+ </drr>
53
+ </div>
54
+ </template>
55
+ <script>
56
+ export default {
57
+ name: 'countdownsvg',
58
+ data () {
59
+ return {
60
+ defaultColor: 'DeepSkyBlue', // 默认状态颜色
61
+ item: {},
62
+ reset: true,
63
+ Fontsize: 16 // 默认字号
64
+ }
65
+ },
66
+ watch: {
67
+ // item: {
68
+ // handler: function (newval, oldval) {
69
+ // if ((JSON.stringify(oldval) !== '{}')) {
70
+ // // 更改原数据的位置大小数据
71
+ // let data = {
72
+ // ...this.DetectorData,
73
+ // ...newval
74
+ // }
75
+ // let fields = Object.keys(newval)
76
+ // this.$emit('changeDetectorItem', data, fields)
77
+ // }
78
+ // }
79
+ // }
80
+ DetectorData: {
81
+ handler: function (val) {
82
+ if (this.UsageMode === 'draw') {
83
+ this.item.x = val.x
84
+ this.item.y = val.y
85
+ this.item.angle = val.angle
86
+ }
87
+ },
88
+ deep: true
89
+ }
90
+
91
+ // CurChooseIcon: {
92
+ // handler: function (data) {
93
+ // debugger
94
+ // },
95
+ // deep: true
96
+ // }
97
+ },
98
+ props: {
99
+ DetectorData: {
100
+ type: Object
101
+ },
102
+ isSeletable: {
103
+ type: Boolean
104
+ },
105
+ chooseIndex: {
106
+ type: Number
107
+ },
108
+ UsageMode: { // 当前图标模式: 绘制draw 展示show
109
+ type: String,
110
+ default: 'draw'
111
+ },
112
+ CurChooseIcon: {
113
+ type: Object
114
+ }
115
+ },
116
+ methods: {
117
+ boxDragStop (origin, final) {
118
+ this.item = JSON.parse(JSON.stringify(final))
119
+ this.$emit('handleSelectIcon', this.DetectorData)
120
+ this.handleChangeData()
121
+ },
122
+ boxResize (final) {
123
+ // this.resetSvg()
124
+ this.item = JSON.parse(JSON.stringify(final))
125
+ this.handleChangeData()
126
+ },
127
+ boxResizeStop (origin, final) {
128
+ // this.resetSvg()
129
+ // this.item = JSON.parse(JSON.stringify(final))
130
+ },
131
+ boxRotateStop (origin, final) {
132
+ this.item = JSON.parse(JSON.stringify(final))
133
+ // 第四象限的角度是负值(开源组件接口返回),转化为正值便于理解
134
+ if (this.item.angle < 0) {
135
+ this.item.angle = this.item.angle + 360
136
+ }
137
+ this.handleChangeData()
138
+ },
139
+ resetSvg () {
140
+ this.reset = false
141
+ this.$nextTick(() => {
142
+ this.reset = true
143
+ })
144
+ },
145
+ handleSelectIcon (iconparams) {
146
+ this.$emit('handleSelectIcon', this.DetectorData)
147
+ },
148
+ culculateFontsize () {
149
+ // 根据倒计时图标大小,动态计算内部文字大小
150
+ this.Fontsize = Math.floor(this.DetectorData.w / 140 * 20)
151
+ },
152
+ handleChangeData () {
153
+ let data = {
154
+ ...this.DetectorData,
155
+ ...this.item
156
+ }
157
+ let fields = Object.keys(this.item)
158
+ this.$emit('changeDetectorItem', data, fields)
159
+ this.handleSelectIcon()
160
+ }
161
+ },
162
+ created () {
163
+ this.item = {
164
+ x: this.DetectorData.x,
165
+ y: this.DetectorData.y,
166
+ w: this.DetectorData.w,
167
+ h: this.DetectorData.h,
168
+ angle: this.DetectorData.angle
169
+ }
170
+ }
171
+ }
172
+ </script>
173
+ <style scoped>
174
+ .centerText {
175
+ position: absolute;
176
+ left: 50%;
177
+ top: 50%;
178
+ transform: translateX(-50%) translateY(-50%);
179
+ z-index: 9;
180
+ display: flex;
181
+ align-items: center;
182
+ }
183
+ .detectorIcon {
184
+ font-family: SourceHanSansCN-Regular;
185
+ font-weight: normal;
186
+ font-stretch: normal;
187
+ letter-spacing: 0px;
188
+ color: #fff;
189
+ margin: 0 auto;
190
+ text-align: center;
191
+ height: 100%;
192
+ }
193
+ .defaultBg {
194
+ background-color: transparent;
195
+ }
196
+ .highlightBg {
197
+ background-color: #299BCC;
198
+ }
199
+ .defaultVehicleBorder {
200
+ border: 2px solid #00FF00;
201
+ }
202
+ .defaultPedBorder {
203
+ border: 2px solid #0080FF;
204
+ }
205
+ .centerText .text {
206
+ display: inline-block;
207
+ color: #299BCC;
208
+ margin-top: 20px;
209
+ }
210
+ </style>
@@ -1,72 +1,72 @@
1
- /**
2
- * Copyright (c) 2020 kedacom
3
- * OpenATC is licensed under Mulan PSL v2.
4
- * You can use this software according to the terms and conditions of the Mulan PSL v2.
5
- * You may obtain a copy of Mulan PSL v2 at:
6
- * http://license.coscl.org.cn/MulanPSL2
7
- * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
8
- * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
9
- * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
- * See the Mulan PSL v2 for more details.
11
- **/
12
- <template>
13
- <div class="lane-icon-svg">
14
- <div :class="laneicon.type === 'motorway' ? '' : 'hide'">
15
- <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" :width="laneicon.width ? laneicon.width : iconw" :height="laneicon.height ? laneicon.height : iconh">
16
- <path fill-rule="evenodd" :fill="laneicon.active === true ? highlightColor : defaultColor"
17
- d="M-0.002,3.940 L7.022,-0.006 L7.022,2.357 L11.085,2.357 C13.793,2.357 15.998,4.501 15.998,7.136 L15.998,16.005 L12.744,16.005 L12.744,7.136 C12.744,6.246 11.999,5.523 11.085,5.523 L7.022,5.523 L7.022,7.886 L-0.002,3.940 Z"/>
18
- </svg>
19
- </div>
20
- <div :class="laneicon.type === 'pedcrossing' ? '' : 'hide'">
21
- <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" :width="laneicon.width ? laneicon.width : iconw" :height="laneicon.height ? laneicon.height : iconh">
22
- <path fill-rule="evenodd" :fill="laneicon.active === true ? highlightColor : defaultColor"
23
- d="M13.473,12.000 L13.473,-0.000 L16.000,-0.000 L16.000,12.000 L13.473,12.000 ZM8.982,-0.000 L11.508,-0.000 L11.508,12.000 L8.982,12.000 L8.982,-0.000 ZM4.491,-0.000 L7.017,-0.000 L7.017,12.000 L4.491,12.000 L4.491,-0.000 ZM-0.000,-0.000 L2.526,-0.000 L2.526,12.000 L-0.000,12.000 L-0.000,-0.000 Z"/>
24
- </svg>
25
- </div>
26
- <div :class="laneicon.type === 'countdown' ? '' : 'hide'">
27
- <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" :width="laneicon.width ? laneicon.width : iconw" :height="laneicon.height ? laneicon.height : iconh">
28
- <path fill-rule="evenodd" :fill="laneicon.active === true ? highlightColor : defaultColor"
29
- d="M6.561,10.851 C5.921,10.851 5.402,10.341 5.402,9.712 L5.402,6.151 C5.402,5.522 5.921,5.012 6.561,5.012 C7.201,5.012 7.719,5.522 7.719,6.151 L7.719,8.572 L10.181,8.572 C10.821,8.572 11.340,9.083 11.340,9.712 C11.340,10.341 10.821,10.851 10.181,10.851 L6.561,10.851 ZM15.113,7.994 L10.211,4.200 L11.824,3.565 C10.796,2.732 9.505,2.270 8.136,2.270 C4.927,2.270 2.317,4.838 2.317,7.994 C2.317,11.149 4.927,13.717 8.136,13.717 C10.261,13.717 12.218,12.577 13.242,10.742 C13.550,10.191 14.253,9.989 14.815,10.291 C15.376,10.594 15.581,11.287 15.273,11.839 C13.843,14.402 11.108,15.995 8.136,15.995 C3.650,15.995 0.000,12.406 0.000,7.994 C0.000,3.581 3.650,-0.008 8.136,-0.008 C10.467,-0.008 12.627,0.956 14.170,2.642 L16.003,1.921 L15.113,7.994 Z"/>
30
- </svg>
31
- </div>
32
- <div :class="laneicon.type === 'detector' ? '' : 'hide'">
33
- <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1551"
34
- xmlns:xlink="http://www.w3.org/1999/xlink" :width="laneicon.width ? laneicon.width : iconw" :height="laneicon.height ? laneicon.height : iconh">
35
- <path :fill="laneicon.active === true ? highlightColor : defaultColor"
36
- d="M864 64H160c-35.296 0-64 28.704-64 64v768c0 35.296 28.704 64 64 64h704c35.296 0 64-28.704 64-64V128c0-35.296-28.704-64-64-64zM160 896v-57.344h96a32 32 0 1 0 0-64H160v-32h96a32 32 0 1 0 0-64H160V128h704l0.032 550.656H768a32 32 0 1 0 0 64h96.064v32H768a32 32 0 1 0 0 64h96.064V896H160z"
37
- p-id="3622"></path>
38
- <path :fill="laneicon.active === true ? highlightColor : defaultColor" d="M832 160H192v480h640V160z m-64 416H256V224h512v352z" p-id="3623"></path>
39
- </svg>
40
- </div>
41
- </div>
42
- </template>
43
- <script>
44
- export default {
45
- name: 'lane-icon-svg',
46
- data () {
47
- return {
48
- iconw: '16px',
49
- iconh: '16px',
50
- defaultColor: 'rgb(96, 98, 102)', // 默认状态颜色
51
- highlightColor: 'rgb(64, 158, 255)'
52
- }
53
- },
54
- watch: {
55
- },
56
- props: {
57
- laneicon: {
58
- type: Object
59
- }
60
- },
61
- methods: {},
62
- mounted () {}
63
- }
64
- </script>
65
- <style scoped>
66
- .invisible {
67
- visibility: hidden;
68
- }
69
- .hide {
70
- display: none;
71
- }
72
- </style>
1
+ /**
2
+ * Copyright (c) 2020 kedacom
3
+ * OpenATC is licensed under Mulan PSL v2.
4
+ * You can use this software according to the terms and conditions of the Mulan PSL v2.
5
+ * You may obtain a copy of Mulan PSL v2 at:
6
+ * http://license.coscl.org.cn/MulanPSL2
7
+ * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
8
+ * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
9
+ * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
+ * See the Mulan PSL v2 for more details.
11
+ **/
12
+ <template>
13
+ <div class="lane-icon-svg">
14
+ <div :class="laneicon.type === 'motorway' ? '' : 'hide'">
15
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" :width="laneicon.width ? laneicon.width : iconw" :height="laneicon.height ? laneicon.height : iconh">
16
+ <path fill-rule="evenodd" :fill="laneicon.active === true ? highlightColor : defaultColor"
17
+ d="M-0.002,3.940 L7.022,-0.006 L7.022,2.357 L11.085,2.357 C13.793,2.357 15.998,4.501 15.998,7.136 L15.998,16.005 L12.744,16.005 L12.744,7.136 C12.744,6.246 11.999,5.523 11.085,5.523 L7.022,5.523 L7.022,7.886 L-0.002,3.940 Z"/>
18
+ </svg>
19
+ </div>
20
+ <div :class="laneicon.type === 'pedcrossing' ? '' : 'hide'">
21
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" :width="laneicon.width ? laneicon.width : iconw" :height="laneicon.height ? laneicon.height : iconh">
22
+ <path fill-rule="evenodd" :fill="laneicon.active === true ? highlightColor : defaultColor"
23
+ d="M13.473,12.000 L13.473,-0.000 L16.000,-0.000 L16.000,12.000 L13.473,12.000 ZM8.982,-0.000 L11.508,-0.000 L11.508,12.000 L8.982,12.000 L8.982,-0.000 ZM4.491,-0.000 L7.017,-0.000 L7.017,12.000 L4.491,12.000 L4.491,-0.000 ZM-0.000,-0.000 L2.526,-0.000 L2.526,12.000 L-0.000,12.000 L-0.000,-0.000 Z"/>
24
+ </svg>
25
+ </div>
26
+ <div :class="laneicon.type === 'countdown' ? '' : 'hide'">
27
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" :width="laneicon.width ? laneicon.width : iconw" :height="laneicon.height ? laneicon.height : iconh">
28
+ <path fill-rule="evenodd" :fill="laneicon.active === true ? highlightColor : defaultColor"
29
+ d="M6.561,10.851 C5.921,10.851 5.402,10.341 5.402,9.712 L5.402,6.151 C5.402,5.522 5.921,5.012 6.561,5.012 C7.201,5.012 7.719,5.522 7.719,6.151 L7.719,8.572 L10.181,8.572 C10.821,8.572 11.340,9.083 11.340,9.712 C11.340,10.341 10.821,10.851 10.181,10.851 L6.561,10.851 ZM15.113,7.994 L10.211,4.200 L11.824,3.565 C10.796,2.732 9.505,2.270 8.136,2.270 C4.927,2.270 2.317,4.838 2.317,7.994 C2.317,11.149 4.927,13.717 8.136,13.717 C10.261,13.717 12.218,12.577 13.242,10.742 C13.550,10.191 14.253,9.989 14.815,10.291 C15.376,10.594 15.581,11.287 15.273,11.839 C13.843,14.402 11.108,15.995 8.136,15.995 C3.650,15.995 0.000,12.406 0.000,7.994 C0.000,3.581 3.650,-0.008 8.136,-0.008 C10.467,-0.008 12.627,0.956 14.170,2.642 L16.003,1.921 L15.113,7.994 Z"/>
30
+ </svg>
31
+ </div>
32
+ <div :class="laneicon.type === 'detector' ? '' : 'hide'">
33
+ <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1551"
34
+ xmlns:xlink="http://www.w3.org/1999/xlink" :width="laneicon.width ? laneicon.width : iconw" :height="laneicon.height ? laneicon.height : iconh">
35
+ <path :fill="laneicon.active === true ? highlightColor : defaultColor"
36
+ d="M864 64H160c-35.296 0-64 28.704-64 64v768c0 35.296 28.704 64 64 64h704c35.296 0 64-28.704 64-64V128c0-35.296-28.704-64-64-64zM160 896v-57.344h96a32 32 0 1 0 0-64H160v-32h96a32 32 0 1 0 0-64H160V128h704l0.032 550.656H768a32 32 0 1 0 0 64h96.064v32H768a32 32 0 1 0 0 64h96.064V896H160z"
37
+ p-id="3622"></path>
38
+ <path :fill="laneicon.active === true ? highlightColor : defaultColor" d="M832 160H192v480h640V160z m-64 416H256V224h512v352z" p-id="3623"></path>
39
+ </svg>
40
+ </div>
41
+ </div>
42
+ </template>
43
+ <script>
44
+ export default {
45
+ name: 'lane-icon-svg',
46
+ data () {
47
+ return {
48
+ iconw: '16px',
49
+ iconh: '16px',
50
+ defaultColor: 'rgb(96, 98, 102)', // 默认状态颜色
51
+ highlightColor: 'rgb(64, 158, 255)'
52
+ }
53
+ },
54
+ watch: {
55
+ },
56
+ props: {
57
+ laneicon: {
58
+ type: Object
59
+ }
60
+ },
61
+ methods: {},
62
+ mounted () {}
63
+ }
64
+ </script>
65
+ <style scoped>
66
+ .invisible {
67
+ visibility: hidden;
68
+ }
69
+ .hide {
70
+ display: none;
71
+ }
72
+ </style>