openatc-components 0.3.80 → 0.3.82

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 (42) hide show
  1. package/package/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +1 -1
  2. package/package/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue +5 -7
  3. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +46 -145
  4. package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
  5. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +13 -12
  6. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +11 -7
  7. package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +5 -6
  8. package/package/kisscomps/components/OverviewComponent/index.js +2 -0
  9. package/package/kisscomps/components/OverviewComponent/index.vue +793 -0
  10. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +28 -4
  11. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +9 -11
  12. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +21 -1
  13. package/package/kisscomps/index.js +3 -1
  14. package/package/kissui.min.js +1 -1
  15. package/package.json +1 -1
  16. package/src/i18n/language/en.js +7 -0
  17. package/src/i18n/language/zh.js +7 -0
  18. package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +1 -1
  19. package/src/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue +5 -7
  20. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +46 -145
  21. package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
  22. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +13 -12
  23. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +11 -7
  24. package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +5 -6
  25. package/src/kisscomps/components/OverviewComponent/index.js +2 -0
  26. package/src/kisscomps/components/OverviewComponent/index.vue +793 -0
  27. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +28 -4
  28. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +9 -11
  29. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +21 -1
  30. package/src/kisscomps/index.js +3 -1
  31. package/src/utils/conflct.js +24 -33
  32. package/src/views/intersection.vue +7 -6
  33. package/src/views/intersection2.vue +2 -2
  34. package/src/views/overView.vue +17 -4
  35. package/static/styles/common.scss +3 -3
  36. package/static/styles/dark/theme/element-dark.scss +1 -1
  37. package/static/styles/intersection.scss +5 -15
  38. package/static/styles/light/theme/element-light.scss +1 -1
  39. package/static/styles/schemeconfig.scss +6 -3
  40. package/package/kisscomps/components/OptimizeKanban/index.js +0 -2
  41. package/package/kisscomps/components/OptimizeKanban/index.vue +0 -369
  42. package/src/node_modules/.package_versions.json +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.3.80",
3
+ "version": "0.3.82",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -1370,6 +1370,13 @@ const en = {
1370
1370
  'yes': 'Yes',
1371
1371
  'no': 'No'
1372
1372
  },
1373
+ 'overviewcomponent': {
1374
+ 'patternstate': 'Pattern State',
1375
+ 'cycle': 'Cycle',
1376
+ 'patternoffset': 'Pattern offset',
1377
+ 'coordinationtime': 'Offset',
1378
+ 'overLap': 'Over Lap'
1379
+ },
1373
1380
  'channelizationmap': {
1374
1381
  'importpicture': 'Import Picture',
1375
1382
  'importtip': 'The picture format is SVG, PNG and JPG, and the size is no more than 10MB',
@@ -1370,6 +1370,13 @@ const zh = {
1370
1370
  'yes': '是',
1371
1371
  'no': '否'
1372
1372
  },
1373
+ 'overviewcomponent': {
1374
+ 'patternstate': '方案状态',
1375
+ 'cycle': '周期',
1376
+ 'patternoffset': '相位差',
1377
+ 'coordinationtime': '协调时间',
1378
+ 'overLap': '跟随相位'
1379
+ },
1373
1380
  'channelizationmap': {
1374
1381
  'importpicture': '导入图片',
1375
1382
  'importtip': '图片格式为svg、png、jpg,大小不超过10Mb',
@@ -237,7 +237,7 @@ export default {
237
237
  })
238
238
  },
239
239
  firstInit () {
240
- if (this.$route.query !== undefined && Object.keys(this.$route.query).length) {
240
+ if (this.$route.query !== undefined && Object.keys(this.$route.query).length && this.$route.query.agentid !== undefined) {
241
241
  this.agentId = this.$route.query.agentid
242
242
  setIframdevid(this.agentId)
243
243
  this.registerMessage() // 注册消息
@@ -256,13 +256,11 @@ export default {
256
256
  handleRepeatRealdir (channelList) {
257
257
  let map = new Map()
258
258
  channelList.forEach(ele => {
259
- if (ele.realdir !== undefined && ele.realdir.length > 0) {
260
- ele.realdir.forEach(dir => {
261
- if (map.get(dir) === undefined) {
262
- map.set(dir, ele)
263
- }
264
- })
265
- }
259
+ ele.realdir.forEach(dir => {
260
+ if (map.get(dir) === undefined) {
261
+ map.set(dir, ele)
262
+ }
263
+ })
266
264
  })
267
265
  let arr = Array.from(map)
268
266
  let newarr = []