@aggdirect/coolmap 2.0.3 → 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 +1 -2
- package/esm2020/lib/component/job-code/job-code.component.mjs +6 -2
- package/fesm2015/aggdirect-coolmap.mjs +5 -2
- package/fesm2015/aggdirect-coolmap.mjs.map +1 -1
- package/fesm2020/aggdirect-coolmap.mjs +5 -2
- package/fesm2020/aggdirect-coolmap.mjs.map +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']);
|
|
@@ -1077,7 +1081,6 @@ class AddRouteComponent {
|
|
|
1077
1081
|
checkAndFetchRouteInformation(isinitial) {
|
|
1078
1082
|
if (this.addRouteForm.value?.delivery_lat_lng?.length > 0 && this.addRouteForm.value?.pickup_lat_lng?.length > 0 && this.addRouteForm.value.unit_id) {
|
|
1079
1083
|
let unit = this.unitsList.find((x) => x.id === this.addRouteForm.value.unit_id);
|
|
1080
|
-
console.log(this.unitsList, unit);
|
|
1081
1084
|
const param = {
|
|
1082
1085
|
delivery_lat_lng: this.addRouteForm.value.delivery_lat_lng,
|
|
1083
1086
|
pickup_lat_lng: this.addRouteForm.value.pickup_lat_lng,
|