@kando-env/kando-ui 1.0.40-alpha.2 → 1.0.40-alpha.4
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.
- package/lib/DashboardV2/AreaDashboard/AreaDashboard.js +7 -11
- package/lib/DashboardV2/AreaDashboard/Dashboard/Dashboard.js +15 -7
- package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/LineChart.js +22 -8
- package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/options/options.js +4 -5
- package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/Sites.js +6 -7
- package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/MultiChoiceTabs.js +7 -5
- package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/SeverityButtons.js +6 -4
- package/lib/DashboardV2/Notifications/EditNotificationModal/EditNotificationModal.js +17 -17
- package/lib/DashboardV2/Notifications/Notification/Notification.js +6 -4
- package/lib/DashboardV2/Notifications/Notifications.js +8 -10
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaBox.js +1 -1
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/Map/Map.js +1 -1
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/FactoryBox.js +1 -1
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/Eta/Eta.js +4 -11
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/QualitySummary.js +8 -6
- package/lib/DashboardV2/UtilityDashboard/TopBar/TopBar.js +6 -2
- package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/UtilityInformation.js +4 -3
- package/lib/Router.js +18 -2
- package/lib/macros/getVersion.js +1 -1
- package/lib/shared/components/KandoNavbar/NavbarStyle.scss +3 -3
- package/lib/shared/components/Select/Select.js +2 -2
- package/lib/shared/components/Spinner/Spinner.js +4 -3
- package/lib/shared/utilities/Truncate.js +2 -2
- package/lib/shared/utilities/custom_hooks/useMap.js +8 -6
- package/lib/shared/utilities/i18n/en.json +29 -2
- package/package.json +5 -5
|
@@ -86,7 +86,8 @@
|
|
|
86
86
|
"errors": {
|
|
87
87
|
"messages": {
|
|
88
88
|
"non_editable": "Can't be edited"
|
|
89
|
-
}
|
|
89
|
+
},
|
|
90
|
+
"request_error": "There's an error with the request..."
|
|
90
91
|
},
|
|
91
92
|
"system_setting": {
|
|
92
93
|
"index": {
|
|
@@ -3409,10 +3410,36 @@
|
|
|
3409
3410
|
},
|
|
3410
3411
|
"area_dashboard": {
|
|
3411
3412
|
"most-significant-events": "Most Significant Events",
|
|
3412
|
-
"trend": "
|
|
3413
|
+
"trend": "Quality over time",
|
|
3413
3414
|
"sites": "Sites",
|
|
3414
3415
|
"discharging": "Discharging",
|
|
3415
3416
|
"score": "Score"
|
|
3417
|
+
},
|
|
3418
|
+
"notifications_page": {
|
|
3419
|
+
"title": "Notifications",
|
|
3420
|
+
"subtitle": "Here you can manage your notifications and configure the conditions and receiving options",
|
|
3421
|
+
"add_new": "Add New Notification",
|
|
3422
|
+
"severity": "Severity",
|
|
3423
|
+
"sources": "Sources",
|
|
3424
|
+
"water_authorities": "Water authorities",
|
|
3425
|
+
"edit_title": "Edit Notification",
|
|
3426
|
+
"edit_subtitle": "Here you can manage your notifications and configure the conditions and receiving options",
|
|
3427
|
+
"edit_type": "type",
|
|
3428
|
+
"edit_severity": "Severity",
|
|
3429
|
+
"edit_severity_details": "Severity",
|
|
3430
|
+
"edit_water_authorities": "Water authorities",
|
|
3431
|
+
"edit_Sources": "Sources",
|
|
3432
|
+
"edit_send_via": "Send via",
|
|
3433
|
+
"edit_telegram": "Telegram",
|
|
3434
|
+
"edit_email": "Email",
|
|
3435
|
+
"edit_sms": "SMS",
|
|
3436
|
+
"edit_web": "Web",
|
|
3437
|
+
"edit_delete_notifications": "Delete notifications",
|
|
3438
|
+
"edit_save": "Save",
|
|
3439
|
+
"extreme": "Extreme",
|
|
3440
|
+
"high": "High",
|
|
3441
|
+
"medium": "Medium",
|
|
3442
|
+
"option": "Option"
|
|
3416
3443
|
}
|
|
3417
3444
|
}
|
|
3418
3445
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kando-env/kando-ui",
|
|
3
|
-
"version": "1.0.40-alpha.
|
|
3
|
+
"version": "1.0.40-alpha.4",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"author": "Nadav(Private) <nadavk72@gmail.com>",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"start": "cross-env
|
|
8
|
-
"test": "
|
|
9
|
-
"build-demo": "cross-env
|
|
7
|
+
"start": "cross-env PORT=3005 react-scripts start",
|
|
8
|
+
"test": "react-scripts test",
|
|
9
|
+
"build-demo": "cross-env react-scripts build",
|
|
10
10
|
"serve-demo": "nodemon demo-server.js",
|
|
11
11
|
"pre-build": "rimraf lib",
|
|
12
12
|
"prepare": "husky install",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"pretty-staged": "pretty-quick --staged",
|
|
22
22
|
"version-alpha": "npm version prerelease --preid alpha"
|
|
23
23
|
},
|
|
24
|
-
"proxy": "
|
|
24
|
+
"proxy": "https://kando-staging.herokuapp.com/",
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": "14"
|
|
27
27
|
},
|