@kando-env/kando-ui 1.2.234 → 1.2.236

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 (79) hide show
  1. package/lib/Widgets/Map/Map.js +100 -23
  2. package/lib/Widgets/Map/Map.scss +67 -0
  3. package/lib/Widgets/Map/MapUtils.js +27 -12
  4. package/lib/Widgets/Map/areas/AreaPolygons.js +3 -3
  5. package/lib/Widgets/Map/edges/Edge.js +2 -2
  6. package/lib/Widgets/Map/edges/Edge.scss +7 -2
  7. package/lib/Widgets/Map/edges/Edges.js +14 -2
  8. package/lib/Widgets/Map/events/EventIndicator.js +2 -2
  9. package/lib/Widgets/Map/events/EventPath.js +1 -1
  10. package/lib/Widgets/Map/events/EventUtils.js +23 -17
  11. package/lib/Widgets/Map/events/NetworkForSpecificEvent.js +6 -2
  12. package/lib/Widgets/Map/events/PointOfEvent.js +10 -7
  13. package/lib/Widgets/Map/points/PointIcon.js +44 -0
  14. package/lib/Widgets/Map/points/PointIcon.scss +230 -0
  15. package/lib/Widgets/Map/points/PointMarker.js +22 -19
  16. package/lib/Widgets/Map/points/PointMarkers.js +62 -13
  17. package/lib/Widgets/Map/points/PointUtils.js +83 -33
  18. package/lib/Widgets/MostPolluting/MostPolluting.js +19 -2
  19. package/lib/assets/icons/pin/pin-matash-white.svg +8 -42
  20. package/lib/assets/icons/plus_v.svg +13 -0
  21. package/lib/assets/icons/water_reuse.svg +27 -0
  22. package/lib/assets/map/pin-matash-clicked.svg +12 -0
  23. package/lib/assets/map/pin-matash-white.svg +8 -28
  24. package/lib/assets/map/pin-plant-clicked.svg +10 -0
  25. package/lib/assets/map/pin-plant-white.svg +6 -28
  26. package/lib/assets/map/pin-suction-clicked.svg +10 -0
  27. package/lib/assets/map/pin-suction.svg +6 -23
  28. package/lib/assets/map/pin-water-clicked.svg +11 -0
  29. package/lib/assets/map/pin-water.svg +7 -17
  30. package/lib/assets/point_icons/WWTP-icon.svg +8 -21
  31. package/lib/assets/point_icons/factory-icon.svg +6 -21
  32. package/lib/assets/point_icons/pump-station-icon.svg +6 -16
  33. package/lib/components/CustomInputs/Select/Select.js +22 -4
  34. package/lib/components/Header/InfoBar/InfoBar.js +7 -1
  35. package/lib/components/SevereEvent/Eta/Eta.js +7 -2
  36. package/lib/components/TrendGraphNVL/TrendGraphNVL.js +4 -3
  37. package/lib/hooks/useMap.js +4 -14
  38. package/lib/i18n/en.json +41 -12
  39. package/lib/i18n/en_uk.json +26 -3
  40. package/lib/i18n/fr.json +25 -2
  41. package/lib/i18n/he.json +34 -3
  42. package/lib/i18n/it.json +25 -2
  43. package/lib/index.js +9 -1
  44. package/lib/macros/getVersion.js +1 -1
  45. package/lib/pages/AreaPage/Dashboard/Sites/Sites.js +19 -2
  46. package/lib/pages/CovidPage/components/TrendGraphNVL/TrendGraphNVL.js +4 -3
  47. package/lib/pages/EventsPage/EventsMapContainer/EventsMapContainer.js +20 -4
  48. package/lib/pages/EventsPage/EventsMapContainer/EventsMapContainerHelpers.js +4 -4
  49. package/lib/pages/EventsPage/events/event_info/EventInfo.js +3 -2
  50. package/lib/pages/EventsPage/events/events_list/EventsList.js +17 -10
  51. package/lib/pages/EventsPage/events/events_list/Filter/FilterContainer.js +5 -1
  52. package/lib/pages/NotificationsPageV2/components/NotificationsForm/NotificationsFormContent.js +13 -7
  53. package/lib/pages/ProfilePage/Container.js +2 -2
  54. package/lib/pages/ProfilePage/ProfilePage.js +154 -48
  55. package/lib/pages/SamplingsPage/ActionsDropDown/SamplingActionContainer.js +12 -6
  56. package/lib/pages/SamplingsPage/SamplingProperties/SamplingProperties.js +7 -6
  57. package/lib/pages/SamplingsPage/SamplingProperties/samplingPropertiesUtils.js +4 -2
  58. package/lib/pages/UtilityDashboardPage/UtilityDashboardMapContainer/UtilityDashboardMapContainer.js +4 -2
  59. package/lib/pages/WbeDashboard/ExpandableComponent.js +6 -4
  60. package/lib/pages/WbeDashboard/GraphWrapper.js +5 -4
  61. package/lib/pages/WbeDashboard/SummaryGraph.js +45 -34
  62. package/lib/pages/WbeDashboard/Tabs.js +2 -1
  63. package/lib/pages/WbeDashboard/WbeDashboardPage.js +48 -55
  64. package/lib/pages/WbeDashboard/WbeSummaryBar.js +14 -10
  65. package/lib/store/events/actions.js +3 -3
  66. package/lib/store/global/models/IGlobalState.js +1 -1
  67. package/lib/store/permissions/permissionsSlice.js +3 -1
  68. package/lib/store/points/models/IGroup.js +1 -1
  69. package/lib/store/points/models/IPoint.js +1 -1
  70. package/lib/ui-kit/ImageUploadButton/ImageUploadButton.js +17 -4
  71. package/lib/ui-kit/InfoTooltip/InfoTooltip.js +9 -2
  72. package/lib/ui-kit/KandoTable/KandoTable.js +3 -1
  73. package/lib/utilities/Analytics.js +2 -1
  74. package/lib/utilities/Enum.js +12 -1
  75. package/lib/utilities/edgesMath.js +5 -3
  76. package/lib/utilities/map/icons.js +19 -7
  77. package/lib/utilities/polylinedecorator.js +383 -0
  78. package/lib/utilities/urls.js +3 -3
  79. package/package.json +9 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kando-env/kando-ui",
3
- "version": "1.2.234",
3
+ "version": "1.2.236",
4
4
  "main": "lib/index.js",
5
5
  "author": "Nadav(Private) <nadavk72@gmail.com>",
6
6
  "scripts": {
@@ -33,9 +33,11 @@
33
33
  "@fortawesome/fontawesome-svg-core": "^1.2.30",
34
34
  "@fortawesome/free-solid-svg-icons": "^5.14.0",
35
35
  "@fortawesome/react-fontawesome": "^0.1.11",
36
+ "@kando-env/kando-ui": "1.2.228-alpha.78",
36
37
  "@kenshooui/react-multi-select": "^1.1.6",
37
38
  "@reduxjs/toolkit": "^1.6.1",
38
39
  "@svgr/webpack": "^5.5.0",
40
+ "@types/leaflet-polylinedecorator": "^1.6.2",
39
41
  "actioncable": "^5.2.6",
40
42
  "array-to-tree": "^3.3.2",
41
43
  "axios": "^0.21.1",
@@ -52,15 +54,18 @@
52
54
  "i18next-http-backend": "^1.4.0",
53
55
  "immer": "^8.0.1",
54
56
  "jquery": "^3.5.1",
55
- "leaflet": "^1.6.0",
57
+ "leaflet": "^1.9.4",
56
58
  "leaflet-geometryutil": "^0.9.3",
57
59
  "leaflet-polylinedecorator": "^1.6.0",
60
+ "leaflet.featuregroup.subgroup": "^1.0.2",
61
+ "leaflet.markercluster": "^1.5.3",
58
62
  "lodash": "^4.17.20",
59
63
  "moment": "^2.27.0",
60
64
  "moment-timezone": "^0.5.33",
61
65
  "msw": "^0.33.3",
62
66
  "password-validator": "^5.3.0",
63
67
  "pev2": "^0.23.0",
68
+ "polished": "^4.0.5",
64
69
  "prop-types": "^15.7.2",
65
70
  "react": "^16.13.0",
66
71
  "react-beautiful-dnd": "^13.1.0",
@@ -92,8 +97,7 @@
92
97
  "styled-components": "^5.3.0",
93
98
  "uuid": "^8.3.2",
94
99
  "xml2js": "^0.4.23",
95
- "yup": "^0.32.11",
96
- "polished": "^4.0.5"
100
+ "yup": "^0.32.11"
97
101
  },
98
102
  "browserslist": {
99
103
  "production": [
@@ -125,6 +129,7 @@
125
129
  "@types/jest": "^24.9.1",
126
130
  "@types/jquery": "^3.5.5",
127
131
  "@types/leaflet": "^1.7.3",
132
+ "@types/leaflet.markercluster": "^1.5.2",
128
133
  "@types/lodash": "^4.14.168",
129
134
  "@types/moment-timezone": "^0.5.30",
130
135
  "@types/node": "^12.12.30",