@aggdirect/coolmap 2.0.2 → 2.0.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/esm2020/lib/component/add-route/add-route.component.mjs +3 -3
- package/esm2020/lib/component/job-code/job-code.component.mjs +6 -2
- package/fesm2015/aggdirect-coolmap.mjs +9 -8
- package/fesm2015/aggdirect-coolmap.mjs.map +1 -1
- package/fesm2020/aggdirect-coolmap.mjs +7 -3
- package/fesm2020/aggdirect-coolmap.mjs.map +1 -1
- package/lib/component/add-route/add-route.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -794,7 +794,11 @@ class JobCodeComponent {
|
|
|
794
794
|
}
|
|
795
795
|
});
|
|
796
796
|
}
|
|
797
|
-
toggleSidemenu() {
|
|
797
|
+
toggleSidemenu() {
|
|
798
|
+
this.isVisible = !this.isVisible;
|
|
799
|
+
this.detailsCardEnable = false;
|
|
800
|
+
this.preventMouseout = false;
|
|
801
|
+
}
|
|
798
802
|
clearJob() { this.clearJobDetails.emit(true); this.utils.preVentJobdetailclose.next(false); }
|
|
799
803
|
selectRoute(event) {
|
|
800
804
|
const i = this.selectedRoute.selected.findIndex(ele => ele['order_number'] === event['order_number']);
|
|
@@ -1047,8 +1051,8 @@ class AddRouteComponent {
|
|
|
1047
1051
|
}
|
|
1048
1052
|
});
|
|
1049
1053
|
}
|
|
1050
|
-
|
|
1051
|
-
|
|
1054
|
+
fetchUnitsList() {
|
|
1055
|
+
this.utils.getData('coolmap/unit/list/view').pipe(takeUntil(this.destroyer$)).subscribe((res) => {
|
|
1052
1056
|
if (res) {
|
|
1053
1057
|
this.unitsList = res.data;
|
|
1054
1058
|
}
|