openatc-components 0.5.70 → 0.5.71

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 (318) 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 +588 -585
  21. package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  22. package/package/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  23. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  24. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  25. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  26. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  27. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  28. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  29. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  30. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  31. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  32. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  33. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  34. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  35. package/package/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  36. package/package/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  37. package/package/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  38. package/package/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  39. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  40. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  41. package/package/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  42. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  43. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  44. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +247 -210
  45. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  46. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +368 -368
  47. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  48. package/package/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  49. package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +144 -144
  50. package/package/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  51. package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  52. package/package/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  53. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  54. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  55. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  56. package/package/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  57. package/package/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  58. package/package/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  59. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  60. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +447 -447
  61. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +341 -341
  62. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +497 -497
  63. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +353 -353
  64. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +359 -359
  65. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +443 -443
  66. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  67. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +640 -640
  68. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +497 -497
  69. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +486 -486
  70. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +490 -490
  71. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +575 -575
  72. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  73. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  74. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  75. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  76. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  77. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  78. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  79. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  80. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  81. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  82. package/package/kisscomps/components/KanBan/kanban.vue +231 -231
  83. package/package/kisscomps/components/MessageBox/index.vue +96 -96
  84. package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +329 -329
  85. package/package/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  86. package/package/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  87. package/package/kisscomps/components/PhaseLegend/PhaseLegend.vue +286 -286
  88. package/package/kisscomps/components/PhaseMarker/index.js +6 -6
  89. package/package/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  90. package/package/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  91. package/package/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  92. package/package/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  93. package/package/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  94. package/package/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  95. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +365 -365
  96. package/package/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  97. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +214 -214
  98. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +235 -235
  99. package/package/kisscomps/components/SchemeConfig/manualControlModal/index.vue +235 -235
  100. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +131 -131
  101. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/othersIcon.vue +151 -151
  102. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +215 -215
  103. package/package/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  104. package/package/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +95 -95
  105. package/package/kisscomps/components/StageOptimize/StageOptimize.vue +367 -367
  106. package/package/kisscomps/components/StageOptimize/index.js +2 -2
  107. package/package/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  108. package/package/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  109. package/package/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  110. package/package/kisscomps/components/XiaoKanban/index.vue +122 -122
  111. package/package/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  112. package/package/kisscomps/components/patternConfig/planMenu.vue +329 -329
  113. package/package/kissui.min.js +1 -1
  114. package/package.json +1 -1
  115. package/src/EdgeMgr/EdgeModelBase.js +16 -16
  116. package/src/EdgeMgr/controller/crossDiagramMgr.js +125 -125
  117. package/src/api/authapi.js +31 -31
  118. package/src/api/config.js +21 -21
  119. package/src/api/device.js +135 -135
  120. package/src/api/fault.js +66 -66
  121. package/src/api/index.js +24 -24
  122. package/src/api/login.js +46 -46
  123. package/src/api/optimize.js +72 -72
  124. package/src/api/passwdAssest.js +101 -101
  125. package/src/api/permission.js +33 -33
  126. package/src/api/route.js +171 -171
  127. package/src/assets/font/LICENSE.txt +202 -202
  128. package/src/assets/font/font.css +6 -6
  129. package/src/i18n/index.js +26 -26
  130. package/src/icons/index.js +20 -20
  131. package/src/icons/svg/azimuthlocking.svg +26 -26
  132. package/src/icons/svg/bendi.svg +110 -110
  133. package/src/icons/svg/bujin.svg +36 -36
  134. package/src/icons/svg/connectBlue.svg +7 -7
  135. package/src/icons/svg/currentvolume.svg +0 -0
  136. package/src/icons/svg/custom-BRTlane.svg +40 -40
  137. package/src/icons/svg/custom-buslane.svg +40 -40
  138. package/src/icons/svg/custom-detector.svg +12 -12
  139. package/src/icons/svg/custom-east-bottom.svg +32 -32
  140. package/src/icons/svg/custom-east-top.svg +32 -32
  141. package/src/icons/svg/custom-ewped.svg +35 -35
  142. package/src/icons/svg/custom-nonmotorizedlane.svg +40 -40
  143. package/src/icons/svg/custom-north-left.svg +32 -32
  144. package/src/icons/svg/custom-north-right.svg +32 -32
  145. package/src/icons/svg/custom-peddetector.svg +17 -17
  146. package/src/icons/svg/custom-snped.svg +35 -35
  147. package/src/icons/svg/custom-south-left.svg +32 -32
  148. package/src/icons/svg/custom-south-right.svg +32 -32
  149. package/src/icons/svg/custom-tramlane.svg +40 -40
  150. package/src/icons/svg/custom-vehiclebranch.svg +40 -40
  151. package/src/icons/svg/custom-vehiclemainroad.svg +41 -41
  152. package/src/icons/svg/custom-west-bottom.svg +32 -32
  153. package/src/icons/svg/custom-west-top.svg +32 -32
  154. package/src/icons/svg/custom-xlped.svg +14 -14
  155. package/src/icons/svg/custom-xrped.svg +14 -14
  156. package/src/icons/svg/cutRed.svg +7 -7
  157. package/src/icons/svg/cycle.svg +0 -0
  158. package/src/icons/svg/dingzhouqi.svg +34 -34
  159. package/src/icons/svg/ganyingkongzhi.svg +30 -30
  160. package/src/icons/svg/guandeng.svg +81 -81
  161. package/src/icons/svg/huangshan.svg +71 -71
  162. package/src/icons/svg/maincontrol.svg +0 -0
  163. package/src/icons/svg/manualcontrolbackground.svg +51 -51
  164. package/src/icons/svg/manualcontrolbackground1.svg +62 -62
  165. package/src/icons/svg/manualcontrolbackgrounden.svg +62 -62
  166. package/src/icons/svg/model.svg +0 -0
  167. package/src/icons/svg/phasediff.svg +0 -0
  168. package/src/icons/svg/prioritycontrol.svg +21 -21
  169. package/src/icons/svg/quanhong.svg +86 -86
  170. package/src/icons/svg/shanghe.svg +11 -11
  171. package/src/icons/svg/shoudong.svg +103 -103
  172. package/src/icons/svg/tentativeplan.svg +28 -28
  173. package/src/icons/svg/time.svg +0 -0
  174. package/src/icons/svg/wuxianlan.svg +46 -46
  175. package/src/icons/svg/xiala.svg +11 -11
  176. package/src/icons/svg/xingrenguojie.svg +33 -33
  177. package/src/icons/svg/xitong.svg +89 -89
  178. package/src/icons/svg/youxian.svg +41 -41
  179. package/src/icons/svg/zizhukongzhi.svg +43 -43
  180. package/src/kisscomps/components/Channelization/Channelization.vue +588 -585
  181. package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  182. package/src/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  183. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  184. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  185. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  186. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  187. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  188. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  189. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  190. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  191. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  192. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  193. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  194. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  195. package/src/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  196. package/src/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  197. package/src/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  198. package/src/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  199. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  200. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  201. package/src/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  202. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  203. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  204. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +247 -210
  205. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  206. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +368 -368
  207. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  208. package/src/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  209. package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +144 -144
  210. package/src/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  211. package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  212. package/src/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  213. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  214. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  215. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  216. package/src/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  217. package/src/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  218. package/src/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  219. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  220. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +447 -447
  221. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +341 -341
  222. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +497 -497
  223. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +353 -353
  224. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +359 -359
  225. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +443 -443
  226. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  227. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +640 -640
  228. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +497 -497
  229. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +486 -486
  230. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +490 -490
  231. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +575 -575
  232. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  233. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  234. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  235. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  236. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  237. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  238. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  239. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  240. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  241. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  242. package/src/kisscomps/components/KanBan/kanban.vue +231 -231
  243. package/src/kisscomps/components/MessageBox/index.vue +96 -96
  244. package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +329 -329
  245. package/src/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  246. package/src/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  247. package/src/kisscomps/components/PhaseLegend/PhaseLegend.vue +286 -286
  248. package/src/kisscomps/components/PhaseMarker/index.js +6 -6
  249. package/src/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  250. package/src/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  251. package/src/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  252. package/src/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  253. package/src/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  254. package/src/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  255. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +365 -365
  256. package/src/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  257. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +214 -214
  258. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +235 -235
  259. package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +235 -235
  260. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +131 -131
  261. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/othersIcon.vue +151 -151
  262. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +215 -215
  263. package/src/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  264. package/src/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +95 -95
  265. package/src/kisscomps/components/StageOptimize/StageOptimize.vue +367 -367
  266. package/src/kisscomps/components/StageOptimize/index.js +2 -2
  267. package/src/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  268. package/src/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  269. package/src/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  270. package/src/kisscomps/components/XiaoKanban/index.vue +122 -122
  271. package/src/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  272. package/src/kisscomps/components/patternConfig/planMenu.vue +329 -329
  273. package/src/lib/publicjs/ArryListUtil.js +38 -38
  274. package/src/lib/publicjs/HttpurlMgr.js +45 -45
  275. package/src/lib/publicjs/KissApi.js +158 -158
  276. package/src/lib/publicjs/KissWSSub/Heartcheck.js +128 -128
  277. package/src/lib/publicjs/KissWSSub/KissWsSub.js +91 -91
  278. package/src/lib/publicjs/KissWSSub/KissWsSubByType.js +152 -152
  279. package/src/lib/publicjs/KissWSSub/SimuWsSubByType.js +44 -44
  280. package/src/lib/publicjs/KissWSSub/Sub.js +51 -51
  281. package/src/lib/publicjs/KissWSSub/SubChannel.js +119 -119
  282. package/src/lib/publicjs/basecomponents.js +65 -65
  283. package/src/lib/publicjs/localStorage.js +112 -112
  284. package/src/lib/publicjs/objdeepcopy.js +32 -32
  285. package/src/lib/publicjs/pageScroll.js +30 -30
  286. package/src/lib/publicjs/passwdAssest.js +101 -101
  287. package/src/lib/publicjs/styleclassfactory.js +32 -32
  288. package/src/store/index.js +26 -26
  289. package/src/store/modules/globalParam.js +67 -67
  290. package/src/utils/conflictList.js +87 -87
  291. package/src/utils/dateFormat.js +41 -41
  292. package/src/utils/index.js +69 -69
  293. package/src/utils/phaseList.js +203 -203
  294. package/src/utils/validate.js +43 -43
  295. package/src/views/home.1.vue +479 -479
  296. package/static/styles/channelizatioon.scss +433 -433
  297. package/static/styles/common.scss +30 -30
  298. package/static/styles/commonkanban.scss +168 -168
  299. package/static/styles/dark/index.scss +2 -2
  300. package/static/styles/dark/theme/element-dark.scss +44 -44
  301. package/static/styles/index.scss +84 -84
  302. package/static/styles/light/index.scss +2 -2
  303. package/static/styles/light/theme/element-light.scss +44 -44
  304. package/static/styles/patternConfig.scss +56 -56
  305. package/static/styles/phasePedSelect.scss +71 -71
  306. package/static/styles/stages.scss +57 -57
  307. package/static/styles/xiaokanban.scss +61 -61
  308. package/static/token.json +2 -2
  309. package/test/e2e/custom-assertions/elementCount.js +27 -27
  310. package/test/e2e/nightwatch.conf.js +46 -46
  311. package/test/e2e/runner.js +48 -48
  312. package/test/e2e/specs/test.js +19 -19
  313. package/test/unit/.eslintrc +7 -7
  314. package/test/unit/jest.conf.js +30 -30
  315. package/test/unit/setup.js +3 -3
  316. package/test/unit/specs/HelloWorld.spec.js +11 -11
  317. package/package/kissui.js +0 -216608
  318. package/pnpm-lock.yaml +0 -16362
@@ -1,202 +1,202 @@
1
-
2
- Apache License
3
- Version 2.0, January 2004
4
- http://www.apache.org/licenses/
5
-
6
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
- 1. Definitions.
9
-
10
- "License" shall mean the terms and conditions for use, reproduction,
11
- and distribution as defined by Sections 1 through 9 of this document.
12
-
13
- "Licensor" shall mean the copyright owner or entity authorized by
14
- the copyright owner that is granting the License.
15
-
16
- "Legal Entity" shall mean the union of the acting entity and all
17
- other entities that control, are controlled by, or are under common
18
- control with that entity. For the purposes of this definition,
19
- "control" means (i) the power, direct or indirect, to cause the
20
- direction or management of such entity, whether by contract or
21
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
- outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
- "You" (or "Your") shall mean an individual or Legal Entity
25
- exercising permissions granted by this License.
26
-
27
- "Source" form shall mean the preferred form for making modifications,
28
- including but not limited to software source code, documentation
29
- source, and configuration files.
30
-
31
- "Object" form shall mean any form resulting from mechanical
32
- transformation or translation of a Source form, including but
33
- not limited to compiled object code, generated documentation,
34
- and conversions to other media types.
35
-
36
- "Work" shall mean the work of authorship, whether in Source or
37
- Object form, made available under the License, as indicated by a
38
- copyright notice that is included in or attached to the work
39
- (an example is provided in the Appendix below).
40
-
41
- "Derivative Works" shall mean any work, whether in Source or Object
42
- form, that is based on (or derived from) the Work and for which the
43
- editorial revisions, annotations, elaborations, or other modifications
44
- represent, as a whole, an original work of authorship. For the purposes
45
- of this License, Derivative Works shall not include works that remain
46
- separable from, or merely link (or bind by name) to the interfaces of,
47
- the Work and Derivative Works thereof.
48
-
49
- "Contribution" shall mean any work of authorship, including
50
- the original version of the Work and any modifications or additions
51
- to that Work or Derivative Works thereof, that is intentionally
52
- submitted to Licensor for inclusion in the Work by the copyright owner
53
- or by an individual or Legal Entity authorized to submit on behalf of
54
- the copyright owner. For the purposes of this definition, "submitted"
55
- means any form of electronic, verbal, or written communication sent
56
- to the Licensor or its representatives, including but not limited to
57
- communication on electronic mailing lists, source code control systems,
58
- and issue tracking systems that are managed by, or on behalf of, the
59
- Licensor for the purpose of discussing and improving the Work, but
60
- excluding communication that is conspicuously marked or otherwise
61
- designated in writing by the copyright owner as "Not a Contribution."
62
-
63
- "Contributor" shall mean Licensor and any individual or Legal Entity
64
- on behalf of whom a Contribution has been received by Licensor and
65
- subsequently incorporated within the Work.
66
-
67
- 2. Grant of Copyright License. Subject to the terms and conditions of
68
- this License, each Contributor hereby grants to You a perpetual,
69
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
- copyright license to reproduce, prepare Derivative Works of,
71
- publicly display, publicly perform, sublicense, and distribute the
72
- Work and such Derivative Works in Source or Object form.
73
-
74
- 3. Grant of Patent License. Subject to the terms and conditions of
75
- this License, each Contributor hereby grants to You a perpetual,
76
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
- (except as stated in this section) patent license to make, have made,
78
- use, offer to sell, sell, import, and otherwise transfer the Work,
79
- where such license applies only to those patent claims licensable
80
- by such Contributor that are necessarily infringed by their
81
- Contribution(s) alone or by combination of their Contribution(s)
82
- with the Work to which such Contribution(s) was submitted. If You
83
- institute patent litigation against any entity (including a
84
- cross-claim or counterclaim in a lawsuit) alleging that the Work
85
- or a Contribution incorporated within the Work constitutes direct
86
- or contributory patent infringement, then any patent licenses
87
- granted to You under this License for that Work shall terminate
88
- as of the date such litigation is filed.
89
-
90
- 4. Redistribution. You may reproduce and distribute copies of the
91
- Work or Derivative Works thereof in any medium, with or without
92
- modifications, and in Source or Object form, provided that You
93
- meet the following conditions:
94
-
95
- (a) You must give any other recipients of the Work or
96
- Derivative Works a copy of this License; and
97
-
98
- (b) You must cause any modified files to carry prominent notices
99
- stating that You changed the files; and
100
-
101
- (c) You must retain, in the Source form of any Derivative Works
102
- that You distribute, all copyright, patent, trademark, and
103
- attribution notices from the Source form of the Work,
104
- excluding those notices that do not pertain to any part of
105
- the Derivative Works; and
106
-
107
- (d) If the Work includes a "NOTICE" text file as part of its
108
- distribution, then any Derivative Works that You distribute must
109
- include a readable copy of the attribution notices contained
110
- within such NOTICE file, excluding those notices that do not
111
- pertain to any part of the Derivative Works, in at least one
112
- of the following places: within a NOTICE text file distributed
113
- as part of the Derivative Works; within the Source form or
114
- documentation, if provided along with the Derivative Works; or,
115
- within a display generated by the Derivative Works, if and
116
- wherever such third-party notices normally appear. The contents
117
- of the NOTICE file are for informational purposes only and
118
- do not modify the License. You may add Your own attribution
119
- notices within Derivative Works that You distribute, alongside
120
- or as an addendum to the NOTICE text from the Work, provided
121
- that such additional attribution notices cannot be construed
122
- as modifying the License.
123
-
124
- You may add Your own copyright statement to Your modifications and
125
- may provide additional or different license terms and conditions
126
- for use, reproduction, or distribution of Your modifications, or
127
- for any such Derivative Works as a whole, provided Your use,
128
- reproduction, and distribution of the Work otherwise complies with
129
- the conditions stated in this License.
130
-
131
- 5. Submission of Contributions. Unless You explicitly state otherwise,
132
- any Contribution intentionally submitted for inclusion in the Work
133
- by You to the Licensor shall be under the terms and conditions of
134
- this License, without any additional terms or conditions.
135
- Notwithstanding the above, nothing herein shall supersede or modify
136
- the terms of any separate license agreement you may have executed
137
- with Licensor regarding such Contributions.
138
-
139
- 6. Trademarks. This License does not grant permission to use the trade
140
- names, trademarks, service marks, or product names of the Licensor,
141
- except as required for reasonable and customary use in describing the
142
- origin of the Work and reproducing the content of the NOTICE file.
143
-
144
- 7. Disclaimer of Warranty. Unless required by applicable law or
145
- agreed to in writing, Licensor provides the Work (and each
146
- Contributor provides its Contributions) on an "AS IS" BASIS,
147
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
- implied, including, without limitation, any warranties or conditions
149
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
- PARTICULAR PURPOSE. You are solely responsible for determining the
151
- appropriateness of using or redistributing the Work and assume any
152
- risks associated with Your exercise of permissions under this License.
153
-
154
- 8. Limitation of Liability. In no event and under no legal theory,
155
- whether in tort (including negligence), contract, or otherwise,
156
- unless required by applicable law (such as deliberate and grossly
157
- negligent acts) or agreed to in writing, shall any Contributor be
158
- liable to You for damages, including any direct, indirect, special,
159
- incidental, or consequential damages of any character arising as a
160
- result of this License or out of the use or inability to use the
161
- Work (including but not limited to damages for loss of goodwill,
162
- work stoppage, computer failure or malfunction, or any and all
163
- other commercial damages or losses), even if such Contributor
164
- has been advised of the possibility of such damages.
165
-
166
- 9. Accepting Warranty or Additional Liability. While redistributing
167
- the Work or Derivative Works thereof, You may choose to offer,
168
- and charge a fee for, acceptance of support, warranty, indemnity,
169
- or other liability obligations and/or rights consistent with this
170
- License. However, in accepting such obligations, You may act only
171
- on Your own behalf and on Your sole responsibility, not on behalf
172
- of any other Contributor, and only if You agree to indemnify,
173
- defend, and hold each Contributor harmless for any liability
174
- incurred by, or claims asserted against, such Contributor by reason
175
- of your accepting any such warranty or additional liability.
176
-
177
- END OF TERMS AND CONDITIONS
178
-
179
- APPENDIX: How to apply the Apache License to your work.
180
-
181
- To apply the Apache License to your work, attach the following
182
- boilerplate notice, with the fields enclosed by brackets "[]"
183
- replaced with your own identifying information. (Don't include
184
- the brackets!) The text should be enclosed in the appropriate
185
- comment syntax for the file format. We also recommend that a
186
- file or class name and description of purpose be included on the
187
- same "printed page" as the copyright notice for easier
188
- identification within third-party archives.
189
-
190
- Copyright [yyyy] [name of copyright owner]
191
-
192
- Licensed under the Apache License, Version 2.0 (the "License");
193
- you may not use this file except in compliance with the License.
194
- You may obtain a copy of the License at
195
-
196
- http://www.apache.org/licenses/LICENSE-2.0
197
-
198
- Unless required by applicable law or agreed to in writing, software
199
- distributed under the License is distributed on an "AS IS" BASIS,
200
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
- See the License for the specific language governing permissions and
202
- limitations under the License.
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -1,6 +1,6 @@
1
-
2
- @font-face {
3
- font-family: "Roboto-Regular";
4
- src: url("Roboto-Regular.ttf");
5
- }
6
-
1
+
2
+ @font-face {
3
+ font-family: "Roboto-Regular";
4
+ src: url("Roboto-Regular.ttf");
5
+ }
6
+
package/src/i18n/index.js CHANGED
@@ -1,26 +1,26 @@
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
- import locale from 'element-ui/lib/locale'
13
- import VueI18n from 'vue-i18n'
14
- import messages from './language'
15
- import Vue from 'vue'
16
-
17
- Vue.use(VueI18n)
18
-
19
- const i18n = new VueI18n({
20
- locale: 'zh', // 语言标识
21
- messages
22
- })
23
-
24
- locale.i18n((key, value) => i18n.t(key, value))
25
-
26
- export default i18n
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
+ import locale from 'element-ui/lib/locale'
13
+ import VueI18n from 'vue-i18n'
14
+ import messages from './language'
15
+ import Vue from 'vue'
16
+
17
+ Vue.use(VueI18n)
18
+
19
+ const i18n = new VueI18n({
20
+ locale: 'zh', // 语言标识
21
+ messages
22
+ })
23
+
24
+ locale.i18n((key, value) => i18n.t(key, value))
25
+
26
+ export default i18n
@@ -1,20 +1,20 @@
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
- import Vue from 'vue'
13
- import SvgIcon from '../kisscomps/components/SvgIcon'// svg组件
14
-
15
- // register globally
16
- Vue.component('svg-icon', SvgIcon)
17
-
18
- const requireAll = requireContext => requireContext.keys().map(requireContext)
19
- const req = require.context('./svg', false, /\.svg$/)
20
- requireAll(req)
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
+ import Vue from 'vue'
13
+ import SvgIcon from '../kisscomps/components/SvgIcon'// svg组件
14
+
15
+ // register globally
16
+ Vue.component('svg-icon', SvgIcon)
17
+
18
+ const requireAll = requireContext => requireContext.keys().map(requireContext)
19
+ const req = require.context('./svg', false, /\.svg$/)
20
+ requireAll(req)
@@ -1,26 +1,26 @@
1
- <svg id="方位锁定" xmlns="http://www.w3.org/2000/svg" width="54" height="30.12" viewBox="0 0 54 30.12">
2
- <defs>
3
- <style>
4
- .cls-1, .cls-2 {
5
- fill: #7ccc66;
6
- }
7
-
8
- .cls-2, .cls-4 {
9
- fill-rule: evenodd;
10
- }
11
-
12
- .cls-3 {
13
- fill: #f27979;
14
- }
15
-
16
- .cls-4 {
17
- fill: #313131;
18
- }
19
- </style>
20
- </defs>
21
- <rect id="矩形_3708_拷贝_7" data-name="矩形 3708 拷贝 7" class="cls-1" x="20.6" y="16.81" width="33.4" height="9"/>
22
- <path id="形状_2744_拷贝_3" data-name="形状 2744 拷贝 3" class="cls-2" d="M2444.19,1010h-4.39a1.765,1.765,0,0,1-1.81-1.71v-2.14a1.765,1.765,0,0,1,1.81-1.71h4.39a1.765,1.765,0,0,1,1.81,1.71v2.14A1.765,1.765,0,0,1,2444.19,1010Zm-0.5-6.27v-0.93a1.7,1.7,0,0,0-3.39,0v0.93h-0.5a1.874,1.874,0,0,0-.76.15v-1.08a2.959,2.959,0,0,1,5.91,0v1.08a1.909,1.909,0,0,0-.76-0.15h-0.5Z" transform="translate(-2421.31 -1000)"/>
23
- <rect id="矩形_3708_拷贝_7-2" data-name="矩形 3708 拷贝 7" class="cls-3" y="16.81" width="20.78" height="9"/>
24
- <path id="形状_3710_拷贝_3" data-name="形状 3710 拷贝 3" class="cls-2" d="M2441.42,1012.4h1.8v17.71h-1.8V1012.4Z" transform="translate(-2421.31 -1000)"/>
25
- <path id="形状_1071_拷贝_5" data-name="形状 1071 拷贝 5" class="cls-4" d="M2447,1022.26h15.05V1024l3.96-2.47-3.96-2.54v1.82H2447v1.45Z" transform="translate(-2421.31 -1000)"/>
26
- </svg>
1
+ <svg id="方位锁定" xmlns="http://www.w3.org/2000/svg" width="54" height="30.12" viewBox="0 0 54 30.12">
2
+ <defs>
3
+ <style>
4
+ .cls-1, .cls-2 {
5
+ fill: #7ccc66;
6
+ }
7
+
8
+ .cls-2, .cls-4 {
9
+ fill-rule: evenodd;
10
+ }
11
+
12
+ .cls-3 {
13
+ fill: #f27979;
14
+ }
15
+
16
+ .cls-4 {
17
+ fill: #313131;
18
+ }
19
+ </style>
20
+ </defs>
21
+ <rect id="矩形_3708_拷贝_7" data-name="矩形 3708 拷贝 7" class="cls-1" x="20.6" y="16.81" width="33.4" height="9"/>
22
+ <path id="形状_2744_拷贝_3" data-name="形状 2744 拷贝 3" class="cls-2" d="M2444.19,1010h-4.39a1.765,1.765,0,0,1-1.81-1.71v-2.14a1.765,1.765,0,0,1,1.81-1.71h4.39a1.765,1.765,0,0,1,1.81,1.71v2.14A1.765,1.765,0,0,1,2444.19,1010Zm-0.5-6.27v-0.93a1.7,1.7,0,0,0-3.39,0v0.93h-0.5a1.874,1.874,0,0,0-.76.15v-1.08a2.959,2.959,0,0,1,5.91,0v1.08a1.909,1.909,0,0,0-.76-0.15h-0.5Z" transform="translate(-2421.31 -1000)"/>
23
+ <rect id="矩形_3708_拷贝_7-2" data-name="矩形 3708 拷贝 7" class="cls-3" y="16.81" width="20.78" height="9"/>
24
+ <path id="形状_3710_拷贝_3" data-name="形状 3710 拷贝 3" class="cls-2" d="M2441.42,1012.4h1.8v17.71h-1.8V1012.4Z" transform="translate(-2421.31 -1000)"/>
25
+ <path id="形状_1071_拷贝_5" data-name="形状 1071 拷贝 5" class="cls-4" d="M2447,1022.26h15.05V1024l3.96-2.47-3.96-2.54v1.82H2447v1.45Z" transform="translate(-2421.31 -1000)"/>
26
+ </svg>