Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ambl-on/lcu-ambl-on-common

Package Overview
Dependencies
Maintainers
2
Versions
420
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ambl-on/lcu-ambl-on-common - npm Package Compare versions

Comparing version 0.1.131-my-atlas to 0.1.132-my-atlas

2

ambl-on-lcu-ambl-on-common.metadata.json

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"UsersStateManagerContext":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@lcu-ide/common","name":"StateManagerContext","line":7,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":14,"character":34}]}],"SetActive":[{"__symbolic":"method"}],"defaultValue":[{"__symbolic":"method"}],"loadStateKey":[{"__symbolic":"method"}],"loadStateName":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"UsersState":{"__symbolic":"class","members":{}},"Constants":{"__symbolic":"class","members":{},"statics":{"VAR_NAMES_MENU":[{"Label":"Home","Url":"/home","Disabled":"false","Icon":"home","Param":""},{"Label":"Map","Url":"/map","Disabled":"false","Icon":"map","Param":""},{"Label":"My Atlas","Url":"/map","Disabled":"false","Icon":"public","Param":"my-atlas-modal"},{"Label":"My Itineraries","Url":"www","Disabled":"true","Icon":"access_time"},{"Label":"My Top Lists","Url":"www","Disabled":"true","Icon":"sort"},{"Label":"My Albums","Url":"www","Disabled":"true","Icon":"photo_library"},{"Label":"My Friends","Url":"www","Disabled":"true","Icon":"group"},{"Label":"My Profile","Url":"www","Disabled":"true","Icon":"person"}]}},"LandingPageComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lcu-landing-page","template":" <div class=\"landing-page-image\">\r\n <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n</div>","styles":[".landing-page-image{background:url(assets/Angkor-sunrise.jpg) center center/cover no-repeat fixed;height:100vh}.landing-page-image .container{margin-top:14em;margin-left:1em;text-align:center}.landing-page-image .container h1{margin:0}.landing-page-image .container .slogan,.landing-page-image .container .title{color:#fff}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"LcuAmblOnModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":17,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"LegendComponent"},{"__symbolic":"reference","name":"MyAtlasModalComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":20,"character":4},{"__symbolic":"reference","module":"@angular/cdk/drag-drop","name":"DragDropModule","line":21,"character":4},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexLayoutModule","line":22,"character":4},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":23,"character":4},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":24,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatSelectModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatDialogModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatButtonModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":31,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":32,"character":4}],"exports":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":34,"character":34},{"__symbolic":"reference","name":"LegendComponent"},{"__symbolic":"reference","name":"MyAtlasModalComponent"}],"entryComponents":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"LegendComponent"},{"__symbolic":"reference","name":"MyAtlasModalComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LcuAmblOnModule"},"providers":[{"__symbolic":"reference","name":"UsersStateManagerContext"}]}}}},"LegendComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lcu-legend","template":"<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n","styles":[".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.map-title{text-align:center}.location-list{width:100%;min-height:60px;display:block;background:#fff}.location-box{padding:10px;border-top:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:flex-start;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating,.location-list.cdk-drop-list-dragging .location-box:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MapService"}]}],"ngOnInit":[{"__symbolic":"method"}],"PanTo":[{"__symbolic":"method"}],"SetLocationList":[{"__symbolic":"method"}],"drop":[{"__symbolic":"method"}]}},"LocationListModel":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"string"}]}]}},"MapService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"GetThumbnailList":[{"__symbolic":"method"}],"GetMapList":[{"__symbolic":"method"}],"GetMarkerList":[{"__symbolic":"method"}],"AddMap":[{"__symbolic":"method"}],"changeLatLng":[{"__symbolic":"method"}],"UpdateSecondaryLocations":[{"__symbolic":"method"}],"getMapThumbnail":[{"__symbolic":"method"}],"BuildThumbnailList":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"MyAtlasModalComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lcu-my-atlas-modal","template":"<div class=\"my-atlas-modal\">\r\n <h1>{{Title}}</h1>\r\n <div class=\"thumbnail-container\">\r\n <div class=\"col\" *ngFor=\"let nail of ThumbnailList\" (dblclick)=\"LoadMap(nail.Map)\">\r\n <img src={{nail.MapUrl}}>\r\n <h3>{{nail.Title}}</h3>\r\n </div>\r\n </div>\r\n</div>\r\n","styles":[".my-atlas-modal{height:80vh;width:70vw}.thumbnail-container{display:flex;justify-content:space-evenly;flex-wrap:wrap}.thumbnail-container .col{margin:10px;width:32%;text-align:center;flex:0 0 200px}@media (max-width:400px){.thumbnail-container{display:block}.thumbnail-container .col{width:100%;margin:0 0 10px}}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MapService"},{"__symbolic":"reference","name":"MatDialogRef","module":"@angular/material","arguments":[{"__symbolic":"reference","name":"MyAtlasModalComponent"}]}]}],"ngOnInit":[{"__symbolic":"method"}],"LoadMap":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"UsersStateManagerContext":"./lib/state/users/users-state-manager.context","UsersState":"./lib/state/users/users-state.model","Constants":"./lib/utils/constants/constants","LandingPageComponent":"./lib/controls/landing-page/landing-page.component","LcuAmblOnModule":"./lib/lcu-ambl-on.module","LegendComponent":"./lib/controls/legend/legend.component","LocationListModel":"./lib/models/location-list.model","MapService":"./lib/services/map.service","MyAtlasModalComponent":"./lib/controls/my-atlas-modal/my-atlas-modal.component"},"importAs":"@ambl-on/lcu-ambl-on-common"}
{"__symbolic":"module","version":4,"metadata":{"UsersStateManagerContext":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@lcu-ide/common","name":"StateManagerContext","line":7,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":14,"character":34}]}],"SetActive":[{"__symbolic":"method"}],"defaultValue":[{"__symbolic":"method"}],"loadStateKey":[{"__symbolic":"method"}],"loadStateName":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"UsersState":{"__symbolic":"class","members":{}},"Constants":{"__symbolic":"class","members":{},"statics":{"VAR_NAMES_MENU":[{"Label":"Home","Url":"/home","Disabled":"false","Icon":"home","Param":""},{"Label":"Map","Url":"/map","Disabled":"false","Icon":"map","Param":""},{"Label":"My Atlas","Url":"/map","Disabled":"false","Icon":"public","Param":"my-atlas-modal"},{"Label":"My Itineraries","Url":"www","Disabled":"true","Icon":"access_time"},{"Label":"My Top Lists","Url":"www","Disabled":"true","Icon":"sort"},{"Label":"My Albums","Url":"www","Disabled":"true","Icon":"photo_library"},{"Label":"My Friends","Url":"www","Disabled":"true","Icon":"group"},{"Label":"My Profile","Url":"www","Disabled":"true","Icon":"person"}]}},"LandingPageComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lcu-landing-page","template":" <div class=\"landing-page-image\">\r\n <div class=\"container\" fxFlex=\"100%\"\r\n fxLayout=\"column\" fxLayoutAlign=\"center start\"\r\n fxLayout.sm=\"column\" fxLayoutAlign.sm=\"center center\"\r\n fxLayout.xs=\"column\" fxLayoutAlign.xs=\"center center\">\r\n <div class=\"title\">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class=\"slogan\">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n</div>","styles":[".landing-page-image{background:url(assets/Angkor-sunrise.jpg) center center/cover no-repeat fixed;height:100vh}.landing-page-image .container{margin-top:14em;margin-left:1em;text-align:center}.landing-page-image .container h1{margin:0}.landing-page-image .container .slogan,.landing-page-image .container .title{color:#fff}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"LcuAmblOnModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":17,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"LegendComponent"},{"__symbolic":"reference","name":"MyAtlasModalComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":20,"character":4},{"__symbolic":"reference","module":"@angular/cdk/drag-drop","name":"DragDropModule","line":21,"character":4},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexLayoutModule","line":22,"character":4},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":23,"character":4},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":24,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatSelectModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatDialogModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatButtonModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":31,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":32,"character":4}],"exports":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":34,"character":34},{"__symbolic":"reference","name":"LegendComponent"},{"__symbolic":"reference","name":"MyAtlasModalComponent"}],"entryComponents":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"LegendComponent"},{"__symbolic":"reference","name":"MyAtlasModalComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LcuAmblOnModule"},"providers":[{"__symbolic":"reference","name":"UsersStateManagerContext"}]}}}},"LegendComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lcu-legend","template":"<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\" (click)=\"SetLocationList()\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n","styles":[".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.map-title{text-align:center}.location-list{width:100%;min-height:60px;display:block;background:#fff}.location-box{padding:10px;border-top:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:flex-start;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating,.location-list.cdk-drop-list-dragging .location-box:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MapService"}]}],"ngOnInit":[{"__symbolic":"method"}],"PanTo":[{"__symbolic":"method"}],"SetLocationList":[{"__symbolic":"method"}],"drop":[{"__symbolic":"method"}]}},"LocationListModel":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"string"}]}]}},"MapService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"GetThumbnailList":[{"__symbolic":"method"}],"GetMapList":[{"__symbolic":"method"}],"GetMarkerList":[{"__symbolic":"method"}],"AddMap":[{"__symbolic":"method"}],"changeLatLng":[{"__symbolic":"method"}],"UpdateSecondaryLocations":[{"__symbolic":"method"}],"getMapThumbnail":[{"__symbolic":"method"}],"BuildThumbnailList":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"MyAtlasModalComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lcu-my-atlas-modal","template":"<div class=\"my-atlas-modal\">\r\n <h1>{{Title}}</h1>\r\n <div class=\"thumbnail-container\">\r\n <div class=\"col\" *ngFor=\"let nail of ThumbnailList\" (dblclick)=\"LoadMap(nail.Map)\">\r\n <img src={{nail.MapUrl}}>\r\n <h3>{{nail.Title}}</h3>\r\n </div>\r\n </div>\r\n</div>\r\n","styles":[".my-atlas-modal{height:80vh;width:70vw}.thumbnail-container{display:flex;justify-content:space-evenly;flex-wrap:wrap}.thumbnail-container .col{margin:10px;width:32%;text-align:center;flex:0 0 200px}@media (max-width:400px){.thumbnail-container{display:block}.thumbnail-container .col{width:100%;margin:0 0 10px}}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MapService"},{"__symbolic":"reference","name":"MatDialogRef","module":"@angular/material","arguments":[{"__symbolic":"reference","name":"MyAtlasModalComponent"}]}]}],"ngOnInit":[{"__symbolic":"method"}],"LoadMap":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"UsersStateManagerContext":"./lib/state/users/users-state-manager.context","UsersState":"./lib/state/users/users-state.model","Constants":"./lib/utils/constants/constants","LandingPageComponent":"./lib/controls/landing-page/landing-page.component","LcuAmblOnModule":"./lib/lcu-ambl-on.module","LegendComponent":"./lib/controls/legend/legend.component","LocationListModel":"./lib/models/location-list.model","MapService":"./lib/services/map.service","MyAtlasModalComponent":"./lib/controls/my-atlas-modal/my-atlas-modal.component"},"importAs":"@ambl-on/lcu-ambl-on-common"}

@@ -644,3 +644,3 @@ (function (global, factory) {

this.iconList = this.mapService.GetMarkerList();
this.LocationsList = new Array();
this.secondaryItems = 0;
}

@@ -677,3 +677,2 @@ /**

function () {
this.SetLocationList(this.mapList[0]);
};

@@ -717,8 +716,2 @@ /**

*
* @param {?} map the map config that is passed in
*
* this function loops through the map cofig and fills the LocationsList
*
* (this is what is displayed on the drop down)
*
* @return {?}

@@ -728,14 +721,24 @@ */

*
* @param {?} map the map config that is passed in
*
* this function loops through the map cofig and fills the LocationsList
*
* (this is what is displayed on the drop down)
*
* @return {?}
*/
function (map) {
this.MapTitle = map.title;
function () {
this.LocationsList = new Array();
this.MapTitle = this.mapList[0].title;
/** @type {?} */
var locList = map.locationList;
var locList = new Array();
this.mapList[0].locationList.forEach(( /**
* @param {?} value
* @return {?}
*/function (value) {
locList.push(value);
}));
if (this.mapService.ActiveSecondaryLocations.length > 0) {
this.secondaryItems = this.mapService.ActiveSecondaryLocations.length;
this.mapService.ActiveSecondaryLocations.forEach(( /**
* @param {?} value
* @return {?}
*/function (value) {
locList.push(value);
}));
}
for (var i = 0; i < locList.length; i++) {

@@ -799,3 +802,3 @@ /** @type {?} */

selector: 'lcu-legend',
template: "<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n",
template: "<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\" (click)=\"SetLocationList()\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n",
styles: [".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.map-title{text-align:center}.location-list{width:100%;min-height:60px;display:block;background:#fff}.location-box{padding:10px;border-top:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:flex-start;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating,.location-list.cdk-drop-list-dragging .location-box:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}"]

@@ -802,0 +805,0 @@ }] }

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@lcu-ide/common"),require("@angular/common"),require("@angular/material/menu"),require("@angular/flex-layout"),require("@angular/platform-browser/animations"),require("@angular/forms"),require("@angular/router"),require("rxjs"),require("@angular/cdk/drag-drop"),require("@angular/core"),require("@angular/material")):"function"==typeof define&&define.amd?define("@ambl-on/lcu-ambl-on-common",["exports","@lcu-ide/common","@angular/common","@angular/material/menu","@angular/flex-layout","@angular/platform-browser/animations","@angular/forms","@angular/router","rxjs","@angular/cdk/drag-drop","@angular/core","@angular/material"],e):e((t["ambl-on"]=t["ambl-on"]||{},t["ambl-on"]["lcu-ambl-on-common"]={}),t.common,t.ng.common,t.ng.material.menu,t.ng["flex-layout"],t.ng.platformBrowser.animations,t.ng.forms,t.ng.router,t.rxjs,t.ng.cdk["drag-drop"],t.ng.core,t.ng.material)}(this,function(t,e,n,o,a,i,r,l,c,s,u,m){"use strict";var g=function(t,e){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function p(e,r,l,c){return new(l||(l=Promise))(function(t,n){function o(t){try{i(c.next(t))}catch(e){n(e)}}function a(t){try{i(c["throw"](t))}catch(e){n(e)}}function i(e){e.done?t(e.value):new l(function(t){t(e.value)}).then(o,a)}i((c=c.apply(e,r||[])).next())})}function d(o,a){var i,r,l,t,c={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return t={next:e(0),"throw":e(1),"return":e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function n(t){if(i)throw new TypeError("Generator is already executing.");for(;c;)try{if(i=1,r&&(l=2&t[0]?r["return"]:t[0]?r["throw"]||((l=r["return"])&&l.call(r),0):r.next)&&!(l=l.call(r,t[1])).done)return l;switch(r=0,l&&(t=[2&t[0],l.value]),t[0]){case 0:case 1:l=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,r=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(!(l=0<(l=c.trys).length&&l[l.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!l||t[1]>l[0]&&t[1]<l[3])){c.label=t[1];break}if(6===t[0]&&c.label<l[1]){c.label=l[1],l=t;break}if(l&&c.label<l[2]){c.label=l[2],c.ops.push(t);break}l[2]&&c.ops.pop(),c.trys.pop();continue}t=a.call(o,c)}catch(e){t=[6,e],r=0}finally{i=l=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([e,t])}}}var f,h=(function O(t,e){function n(){this.constructor=t}g(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(b,f=e.StateManagerContext),b.prototype.SetActive=function(){},b.prototype.defaultValue=function(){return{Loading:!0}},b.prototype.loadStateKey=function(){return p(this,void 0,void 0,function(){return d(this,function(t){return[2,"main"]})})},b.prototype.loadStateName=function(){return p(this,void 0,void 0,function(){return d(this,function(t){return[2,"users "]})})},b.decorators=[{type:u.Injectable,args:[{providedIn:"root"}]}],b.ctorParameters=function(){return[{type:u.Injector}]},b.ngInjectableDef=u.defineInjectable({factory:function(){return new b(u.inject(u.INJECTOR))},token:b,providedIn:"root"}),b);function b(t){var e=f.call(this,t)||this;return e.injector=t,e}function y(){}var v=(L.VAR_NAMES_MENU=[{Label:"Home",Url:"/home",Disabled:"false",Icon:"home",Param:""},{Label:"Map",Url:"/map",Disabled:"false",Icon:"map",Param:""},{Label:"My Atlas",Url:"/map",Disabled:"false",Icon:"public",Param:"my-atlas-modal"},{Label:"My Itineraries",Url:"www",Disabled:"true",Icon:"access_time"},{Label:"My Top Lists",Url:"www",Disabled:"true",Icon:"sort"},{Label:"My Albums",Url:"www",Disabled:"true",Icon:"photo_library"},{Label:"My Friends",Url:"www",Disabled:"true",Icon:"group"},{Label:"My Profile",Url:"www",Disabled:"true",Icon:"person"}],L);function L(){}var N=(M.prototype.ngOnInit=function(){},M.decorators=[{type:u.Component,args:[{selector:"lcu-landing-page",template:' <div class="landing-page-image">\r\n <div class="container" fxFlex="100%"\r\n fxLayout="column" fxLayoutAlign="center start"\r\n fxLayout.sm="column" fxLayoutAlign.sm="center center"\r\n fxLayout.xs="column" fxLayoutAlign.xs="center center">\r\n <div class="title">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class="slogan">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n</div>',styles:[".landing-page-image{background:url(assets/Angkor-sunrise.jpg) center center/cover no-repeat fixed;height:100vh}.landing-page-image .container{margin-top:14em;margin-left:1em;text-align:center}.landing-page-image .container h1{margin:0}.landing-page-image .container .slogan,.landing-page-image .container .title{color:#fff}"]}]}],M.ctorParameters=function(){return[]},M);function M(){this.Title="Ambl On",this.Slogan="Down the Road, Around the World!"}var x=function D(t,e,n,o){this.Title=t,this.Lat=e,this.Lng=n,this.Icon=o},k=function j(t,e,n,o,a){this.Map=t,this.MapUrl=e,this.Title=n,this.Lat=o,this.Lng=a},w=(S.prototype.GetThumbnailList=function(){return this.ThumbnailList},S.prototype.GetMapList=function(){return this.MapList},S.prototype.GetMarkerList=function(){return this.MarkerList},S.prototype.AddMap=function(t){this.MapList.push(t)},S.prototype.changeLatLng=function(t,e){this.latLngEmitter.next([t,e])},S.prototype.UpdateSecondaryLocations=function(t){this.ActiveSecondaryLocations=t},S.prototype.getMapThumbnail=function(t,e,n){return"https://maps.googleapis.com/maps/api/staticmap?center="+t.origin.lat+","+t.origin.lng+"\n &zoom="+(t.zoom-2)+"\n &size="+(n&&e?e:300)+"x"+(n&&e?n:300)+"\n &key=AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"},S.prototype.BuildThumbnailList=function(t){for(var e=new Array,n=0;n<t.length;n++){var o=new k(t[n],this.getMapThumbnail(t[n],200,200),t[n].title,t[n].origin.lat,t[n].origin.lng);e.push(o)}return e.sort(function(t,e){return t.Title>e.Title?1:-1}),e},S.decorators=[{type:u.Injectable,args:[{providedIn:"root"}]}],S.ctorParameters=function(){return[]},S.ngInjectableDef=u.defineInjectable({factory:function(){return new S},token:S,providedIn:"root"}),S);function S(){this.latLngEmitter=new c.Subject,this.ActiveSecondaryLocations=[],this.MapList=[{title:"Default Map",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[{title:"Favorite steak house",lat:40.017557,lng:-105.278199,iconName:"restaurant"},{title:"Favorite UNESCO",lat:40.027657,lng:-105.288199,iconName:"UNESCO"},{title:"Nice museum",lat:40.037757,lng:-105.298199,iconName:"museum"},{title:"Good brewery",lat:40.047857,lng:-105.268199,iconName:"brewery"},{title:"Favorite ski area",lat:40.057557,lng:-105.288199,iconName:"ski area"},{title:"Favorite vineyard",lat:40.060657,lng:-105.298199,iconName:"vineyard"},{title:"Nice golf course",lat:40.037757,lng:-105.258199,iconName:"golf course"},{title:"Good lodging",lat:40.037757,lng:-105.278199,iconName:"lodging"},{title:"Nice national park",lat:40.060657,lng:-105.278199,iconName:"national park"},{title:"Good bar",lat:40.017557,lng:-105.288199,iconName:"bar"}]},{title:"Z Map",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[{title:"Favorite steak house",lat:40.017557,lng:-105.278199,iconName:"restaurant"},{title:"Favorite UNESCO",lat:40.027657,lng:-105.288199,iconName:"UNESCO"},{title:"Nice museum",lat:40.037757,lng:-105.298199,iconName:"museum"},{title:"Good brewery",lat:40.047857,lng:-105.268199,iconName:"brewery"},{title:"Favorite ski area",lat:40.057557,lng:-105.288199,iconName:"ski area"},{title:"Favorite vineyard",lat:40.060657,lng:-105.298199,iconName:"vineyard"},{title:"Nice golf course",lat:40.037757,lng:-105.258199,iconName:"golf course"},{title:"Good lodging",lat:40.037757,lng:-105.278199,iconName:"lodging"},{title:"Nice national park",lat:40.060657,lng:-105.278199,iconName:"national park"},{title:"Good bar",lat:40.017557,lng:-105.288199,iconName:"bar"}]},{title:"A Map",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[{title:"Favorite steak house",lat:40.017557,lng:-105.278199,iconName:"restaurant"},{title:"Favorite UNESCO",lat:40.027657,lng:-105.288199,iconName:"UNESCO"},{title:"Nice museum",lat:40.037757,lng:-105.298199,iconName:"museum"},{title:"Good brewery",lat:40.047857,lng:-105.268199,iconName:"brewery"},{title:"Favorite ski area",lat:40.057557,lng:-105.288199,iconName:"ski area"},{title:"Favorite vineyard",lat:40.060657,lng:-105.298199,iconName:"vineyard"},{title:"Nice golf course",lat:40.037757,lng:-105.258199,iconName:"golf course"},{title:"Good lodging",lat:40.037757,lng:-105.278199,iconName:"lodging"},{title:"Nice national park",lat:40.060657,lng:-105.278199,iconName:"national park"},{title:"Good bar",lat:40.017557,lng:-105.288199,iconName:"bar"}]},{title:"Boulder Map",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[{title:"Favorite steak house",lat:40.017557,lng:-105.278199,iconName:"restaurant"},{title:"Favorite UNESCO",lat:40.027657,lng:-105.288199,iconName:"UNESCO"},{title:"Nice museum",lat:40.037757,lng:-105.298199,iconName:"museum"},{title:"Good brewery",lat:40.047857,lng:-105.268199,iconName:"brewery"},{title:"Favorite ski area",lat:40.057557,lng:-105.288199,iconName:"ski area"},{title:"Favorite vineyard",lat:40.060657,lng:-105.298199,iconName:"vineyard"},{title:"Nice golf course",lat:40.037757,lng:-105.258199,iconName:"golf course"},{title:"Good lodging",lat:40.037757,lng:-105.278199,iconName:"lodging"},{title:"Nice national park",lat:40.060657,lng:-105.278199,iconName:"national park"},{title:"Good bar",lat:40.017557,lng:-105.288199,iconName:"bar"}]}],this.MarkerList=[{iconLookup:"restaurant",iconName:"Restaurant",iconUrl:"./assets/restaurant.png"},{iconLookup:"UNESCO",iconName:"UNESCO",iconUrl:"./assets/UNESCO.png"},{iconLookup:"museum",iconName:"Museum",iconUrl:"./assets/museum.png"},{iconLookup:"brewery",iconName:"Brewery",iconUrl:"./assets/brewery.png"},{iconLookup:"ski area",iconName:"Ski Area",iconUrl:"./assets/ski area.png"},{iconLookup:"vineyard",iconName:"Vineyard",iconUrl:"./assets/vineyard.png"},{iconLookup:"golf course",iconName:"Golf Course",iconUrl:"./assets/golf course.png"},{iconLookup:"lodging",iconName:"Lodging",iconUrl:"./assets/lodging.png"},{iconLookup:"national park",iconName:"National Park",iconUrl:"./assets/national park.png"},{iconLookup:"bar",iconName:"Bar",iconUrl:"./assets/bar.png"}],this.ThumbnailList=this.BuildThumbnailList(this.MapList)}var U=(I.prototype.ngOnInit=function(){this.SetLocationList(this.mapList[0])},I.prototype.PanTo=function(t,e){this.mapService.changeLatLng(t,e)},I.prototype.SetLocationList=function(t){this.MapTitle=t.title;for(var e=t.locationList,n=0;n<e.length;n++){for(var o=e[n],a=null,i=0;i<this.iconList.length;i++)e[n].iconName.match(this.iconList[i].iconLookup)&&(a=this.iconList[i].iconUrl);var r=new x(o.title,o.lat,o.lng,a);this.LocationsList.push(r)}},I.prototype.drop=function(t){s.moveItemInArray(this.LocationsList,t.previousIndex,t.currentIndex),console.log("Head of List is now: "+this.LocationsList[0].Title)},I.decorators=[{type:u.Component,args:[{selector:"lcu-legend",template:'<button class="chevron-legend" mat-icon-button [matMenuTriggerFor]="legend">\r\n <mat-icon [inline]="true">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend="matMenu">\r\n <h3 class="map-title">{{MapTitle}}</h3>\r\n <div cdkDropList class="location-list" (cdkDropListDropped)="drop($event)">\r\n <div class="location-box" *ngFor="let item of LocationsList" cdkDrag (click)="PanTo(item.Lat,item.Lng)">\r\n <img class="icon-image" src={{item.Icon}} width="10%" height="10%">\r\n <div class="location-title">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n',styles:[".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.map-title{text-align:center}.location-list{width:100%;min-height:60px;display:block;background:#fff}.location-box{padding:10px;border-top:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:flex-start;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating,.location-list.cdk-drop-list-dragging .location-box:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}"]}]}],I.ctorParameters=function(){return[{type:w}]},I);function I(t){this.mapService=t,this.mapList=this.mapService.GetMapList(),this.iconList=this.mapService.GetMarkerList(),this.LocationsList=new Array}var T=(C.prototype.ngOnInit=function(){},C.prototype.LoadMap=function(t){this.dialogRef.close(t)},C.prototype.ngOnDestroy=function(){this.ThumbnailList=null},C.decorators=[{type:u.Component,args:[{selector:"lcu-my-atlas-modal",template:'<div class="my-atlas-modal">\r\n <h1>{{Title}}</h1>\r\n <div class="thumbnail-container">\r\n <div class="col" *ngFor="let nail of ThumbnailList" (dblclick)="LoadMap(nail.Map)">\r\n <img src={{nail.MapUrl}}>\r\n <h3>{{nail.Title}}</h3>\r\n </div>\r\n </div>\r\n</div>\r\n',styles:[".my-atlas-modal{height:80vh;width:70vw}.thumbnail-container{display:flex;justify-content:space-evenly;flex-wrap:wrap}.thumbnail-container .col{margin:10px;width:32%;text-align:center;flex:0 0 200px}@media (max-width:400px){.thumbnail-container{display:block}.thumbnail-container .col{width:100%;margin:0 0 10px}}"]}]}],C.ctorParameters=function(){return[{type:w},{type:m.MatDialogRef}]},C);function C(t,e){this.mapService=t,this.dialogRef=e,this.ThumbnailList=this.mapService.BuildThumbnailList(this.mapService.GetMapList()),this.Title="My Atlas"}var A=(F.forRoot=function(){return{ngModule:F,providers:[h]}},F.decorators=[{type:u.NgModule,args:[{declarations:[N,U,T],imports:[n.CommonModule,s.DragDropModule,a.FlexLayoutModule,i.BrowserAnimationsModule,o.MatMenuModule,m.MatIconModule,m.MatSelectModule,m.MatDialogModule,m.MatButtonModule,r.ReactiveFormsModule,m.MatInputModule,m.MatFormFieldModule,l.RouterModule],exports:[N,m.MatIconModule,U,T],entryComponents:[N,U,T]}]}],F);function F(){}t.UsersStateManagerContext=h,t.UsersState=y,t.Constants=v,t.LandingPageComponent=N,t.LcuAmblOnModule=A,t.LegendComponent=U,t.LocationListModel=x,t.MapService=w,t.MyAtlasModalComponent=T,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@lcu-ide/common"),require("@angular/common"),require("@angular/material/menu"),require("@angular/flex-layout"),require("@angular/platform-browser/animations"),require("@angular/forms"),require("@angular/router"),require("rxjs"),require("@angular/cdk/drag-drop"),require("@angular/core"),require("@angular/material")):"function"==typeof define&&define.amd?define("@ambl-on/lcu-ambl-on-common",["exports","@lcu-ide/common","@angular/common","@angular/material/menu","@angular/flex-layout","@angular/platform-browser/animations","@angular/forms","@angular/router","rxjs","@angular/cdk/drag-drop","@angular/core","@angular/material"],e):e((t["ambl-on"]=t["ambl-on"]||{},t["ambl-on"]["lcu-ambl-on-common"]={}),t.common,t.ng.common,t.ng.material.menu,t.ng["flex-layout"],t.ng.platformBrowser.animations,t.ng.forms,t.ng.router,t.rxjs,t.ng.cdk["drag-drop"],t.ng.core,t.ng.material)}(this,function(t,e,n,o,a,i,r,l,c,s,u,m){"use strict";var p=function(t,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function g(e,r,l,c){return new(l||(l=Promise))(function(t,n){function o(t){try{i(c.next(t))}catch(e){n(e)}}function a(t){try{i(c["throw"](t))}catch(e){n(e)}}function i(e){e.done?t(e.value):new l(function(t){t(e.value)}).then(o,a)}i((c=c.apply(e,r||[])).next())})}function d(o,a){var i,r,l,t,c={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return t={next:e(0),"throw":e(1),"return":e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function n(t){if(i)throw new TypeError("Generator is already executing.");for(;c;)try{if(i=1,r&&(l=2&t[0]?r["return"]:t[0]?r["throw"]||((l=r["return"])&&l.call(r),0):r.next)&&!(l=l.call(r,t[1])).done)return l;switch(r=0,l&&(t=[2&t[0],l.value]),t[0]){case 0:case 1:l=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,r=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(!(l=0<(l=c.trys).length&&l[l.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!l||t[1]>l[0]&&t[1]<l[3])){c.label=t[1];break}if(6===t[0]&&c.label<l[1]){c.label=l[1],l=t;break}if(l&&c.label<l[2]){c.label=l[2],c.ops.push(t);break}l[2]&&c.ops.pop(),c.trys.pop();continue}t=a.call(o,c)}catch(e){t=[6,e],r=0}finally{i=l=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([e,t])}}}var f,h=(function O(t,e){function n(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(y,f=e.StateManagerContext),y.prototype.SetActive=function(){},y.prototype.defaultValue=function(){return{Loading:!0}},y.prototype.loadStateKey=function(){return g(this,void 0,void 0,function(){return d(this,function(t){return[2,"main"]})})},y.prototype.loadStateName=function(){return g(this,void 0,void 0,function(){return d(this,function(t){return[2,"users "]})})},y.decorators=[{type:u.Injectable,args:[{providedIn:"root"}]}],y.ctorParameters=function(){return[{type:u.Injector}]},y.ngInjectableDef=u.defineInjectable({factory:function(){return new y(u.inject(u.INJECTOR))},token:y,providedIn:"root"}),y);function y(t){var e=f.call(this,t)||this;return e.injector=t,e}function b(){}var v=(L.VAR_NAMES_MENU=[{Label:"Home",Url:"/home",Disabled:"false",Icon:"home",Param:""},{Label:"Map",Url:"/map",Disabled:"false",Icon:"map",Param:""},{Label:"My Atlas",Url:"/map",Disabled:"false",Icon:"public",Param:"my-atlas-modal"},{Label:"My Itineraries",Url:"www",Disabled:"true",Icon:"access_time"},{Label:"My Top Lists",Url:"www",Disabled:"true",Icon:"sort"},{Label:"My Albums",Url:"www",Disabled:"true",Icon:"photo_library"},{Label:"My Friends",Url:"www",Disabled:"true",Icon:"group"},{Label:"My Profile",Url:"www",Disabled:"true",Icon:"person"}],L);function L(){}var N=(M.prototype.ngOnInit=function(){},M.decorators=[{type:u.Component,args:[{selector:"lcu-landing-page",template:' <div class="landing-page-image">\r\n <div class="container" fxFlex="100%"\r\n fxLayout="column" fxLayoutAlign="center start"\r\n fxLayout.sm="column" fxLayoutAlign.sm="center center"\r\n fxLayout.xs="column" fxLayoutAlign.xs="center center">\r\n <div class="title">\r\n <h1>\r\n {{ Title }}\r\n </h1>\r\n </div>\r\n <div class="slogan">\r\n <h3>\r\n {{ Slogan }}\r\n </h3>\r\n </div>\r\n </div>\r\n</div>',styles:[".landing-page-image{background:url(assets/Angkor-sunrise.jpg) center center/cover no-repeat fixed;height:100vh}.landing-page-image .container{margin-top:14em;margin-left:1em;text-align:center}.landing-page-image .container h1{margin:0}.landing-page-image .container .slogan,.landing-page-image .container .title{color:#fff}"]}]}],M.ctorParameters=function(){return[]},M);function M(){this.Title="Ambl On",this.Slogan="Down the Road, Around the World!"}var k=function D(t,e,n,o){this.Title=t,this.Lat=e,this.Lng=n,this.Icon=o},x=function j(t,e,n,o,a){this.Map=t,this.MapUrl=e,this.Title=n,this.Lat=o,this.Lng=a},w=(S.prototype.GetThumbnailList=function(){return this.ThumbnailList},S.prototype.GetMapList=function(){return this.MapList},S.prototype.GetMarkerList=function(){return this.MarkerList},S.prototype.AddMap=function(t){this.MapList.push(t)},S.prototype.changeLatLng=function(t,e){this.latLngEmitter.next([t,e])},S.prototype.UpdateSecondaryLocations=function(t){this.ActiveSecondaryLocations=t},S.prototype.getMapThumbnail=function(t,e,n){return"https://maps.googleapis.com/maps/api/staticmap?center="+t.origin.lat+","+t.origin.lng+"\n &zoom="+(t.zoom-2)+"\n &size="+(n&&e?e:300)+"x"+(n&&e?n:300)+"\n &key=AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"},S.prototype.BuildThumbnailList=function(t){for(var e=new Array,n=0;n<t.length;n++){var o=new x(t[n],this.getMapThumbnail(t[n],200,200),t[n].title,t[n].origin.lat,t[n].origin.lng);e.push(o)}return e.sort(function(t,e){return t.Title>e.Title?1:-1}),e},S.decorators=[{type:u.Injectable,args:[{providedIn:"root"}]}],S.ctorParameters=function(){return[]},S.ngInjectableDef=u.defineInjectable({factory:function(){return new S},token:S,providedIn:"root"}),S);function S(){this.latLngEmitter=new c.Subject,this.ActiveSecondaryLocations=[],this.MapList=[{title:"Default Map",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[{title:"Favorite steak house",lat:40.017557,lng:-105.278199,iconName:"restaurant"},{title:"Favorite UNESCO",lat:40.027657,lng:-105.288199,iconName:"UNESCO"},{title:"Nice museum",lat:40.037757,lng:-105.298199,iconName:"museum"},{title:"Good brewery",lat:40.047857,lng:-105.268199,iconName:"brewery"},{title:"Favorite ski area",lat:40.057557,lng:-105.288199,iconName:"ski area"},{title:"Favorite vineyard",lat:40.060657,lng:-105.298199,iconName:"vineyard"},{title:"Nice golf course",lat:40.037757,lng:-105.258199,iconName:"golf course"},{title:"Good lodging",lat:40.037757,lng:-105.278199,iconName:"lodging"},{title:"Nice national park",lat:40.060657,lng:-105.278199,iconName:"national park"},{title:"Good bar",lat:40.017557,lng:-105.288199,iconName:"bar"}]},{title:"Z Map",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[{title:"Favorite steak house",lat:40.017557,lng:-105.278199,iconName:"restaurant"},{title:"Favorite UNESCO",lat:40.027657,lng:-105.288199,iconName:"UNESCO"},{title:"Nice museum",lat:40.037757,lng:-105.298199,iconName:"museum"},{title:"Good brewery",lat:40.047857,lng:-105.268199,iconName:"brewery"},{title:"Favorite ski area",lat:40.057557,lng:-105.288199,iconName:"ski area"},{title:"Favorite vineyard",lat:40.060657,lng:-105.298199,iconName:"vineyard"},{title:"Nice golf course",lat:40.037757,lng:-105.258199,iconName:"golf course"},{title:"Good lodging",lat:40.037757,lng:-105.278199,iconName:"lodging"},{title:"Nice national park",lat:40.060657,lng:-105.278199,iconName:"national park"},{title:"Good bar",lat:40.017557,lng:-105.288199,iconName:"bar"}]},{title:"A Map",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[{title:"Favorite steak house",lat:40.017557,lng:-105.278199,iconName:"restaurant"},{title:"Favorite UNESCO",lat:40.027657,lng:-105.288199,iconName:"UNESCO"},{title:"Nice museum",lat:40.037757,lng:-105.298199,iconName:"museum"},{title:"Good brewery",lat:40.047857,lng:-105.268199,iconName:"brewery"},{title:"Favorite ski area",lat:40.057557,lng:-105.288199,iconName:"ski area"},{title:"Favorite vineyard",lat:40.060657,lng:-105.298199,iconName:"vineyard"},{title:"Nice golf course",lat:40.037757,lng:-105.258199,iconName:"golf course"},{title:"Good lodging",lat:40.037757,lng:-105.278199,iconName:"lodging"},{title:"Nice national park",lat:40.060657,lng:-105.278199,iconName:"national park"},{title:"Good bar",lat:40.017557,lng:-105.288199,iconName:"bar"}]},{title:"Boulder Map",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[{title:"Favorite steak house",lat:40.017557,lng:-105.278199,iconName:"restaurant"},{title:"Favorite UNESCO",lat:40.027657,lng:-105.288199,iconName:"UNESCO"},{title:"Nice museum",lat:40.037757,lng:-105.298199,iconName:"museum"},{title:"Good brewery",lat:40.047857,lng:-105.268199,iconName:"brewery"},{title:"Favorite ski area",lat:40.057557,lng:-105.288199,iconName:"ski area"},{title:"Favorite vineyard",lat:40.060657,lng:-105.298199,iconName:"vineyard"},{title:"Nice golf course",lat:40.037757,lng:-105.258199,iconName:"golf course"},{title:"Good lodging",lat:40.037757,lng:-105.278199,iconName:"lodging"},{title:"Nice national park",lat:40.060657,lng:-105.278199,iconName:"national park"},{title:"Good bar",lat:40.017557,lng:-105.288199,iconName:"bar"}]}],this.MarkerList=[{iconLookup:"restaurant",iconName:"Restaurant",iconUrl:"./assets/restaurant.png"},{iconLookup:"UNESCO",iconName:"UNESCO",iconUrl:"./assets/UNESCO.png"},{iconLookup:"museum",iconName:"Museum",iconUrl:"./assets/museum.png"},{iconLookup:"brewery",iconName:"Brewery",iconUrl:"./assets/brewery.png"},{iconLookup:"ski area",iconName:"Ski Area",iconUrl:"./assets/ski area.png"},{iconLookup:"vineyard",iconName:"Vineyard",iconUrl:"./assets/vineyard.png"},{iconLookup:"golf course",iconName:"Golf Course",iconUrl:"./assets/golf course.png"},{iconLookup:"lodging",iconName:"Lodging",iconUrl:"./assets/lodging.png"},{iconLookup:"national park",iconName:"National Park",iconUrl:"./assets/national park.png"},{iconLookup:"bar",iconName:"Bar",iconUrl:"./assets/bar.png"}],this.ThumbnailList=this.BuildThumbnailList(this.MapList)}var I=(U.prototype.ngOnInit=function(){},U.prototype.PanTo=function(t,e){this.mapService.changeLatLng(t,e)},U.prototype.SetLocationList=function(){this.LocationsList=new Array,this.MapTitle=this.mapList[0].title;var e=new Array;this.mapList[0].locationList.forEach(function(t){e.push(t)}),0<this.mapService.ActiveSecondaryLocations.length&&(this.secondaryItems=this.mapService.ActiveSecondaryLocations.length,this.mapService.ActiveSecondaryLocations.forEach(function(t){e.push(t)}));for(var t=0;t<e.length;t++){for(var n=e[t],o=null,a=0;a<this.iconList.length;a++)e[t].iconName.match(this.iconList[a].iconLookup)&&(o=this.iconList[a].iconUrl);var i=new k(n.title,n.lat,n.lng,o);this.LocationsList.push(i)}},U.prototype.drop=function(t){s.moveItemInArray(this.LocationsList,t.previousIndex,t.currentIndex),console.log("Head of List is now: "+this.LocationsList[0].Title)},U.decorators=[{type:u.Component,args:[{selector:"lcu-legend",template:'<button class="chevron-legend" mat-icon-button [matMenuTriggerFor]="legend" (click)="SetLocationList()">\r\n <mat-icon [inline]="true">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend="matMenu">\r\n <h3 class="map-title">{{MapTitle}}</h3>\r\n <div cdkDropList class="location-list" (cdkDropListDropped)="drop($event)">\r\n <div class="location-box" *ngFor="let item of LocationsList" cdkDrag (click)="PanTo(item.Lat,item.Lng)">\r\n <img class="icon-image" src={{item.Icon}} width="10%" height="10%">\r\n <div class="location-title">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n',styles:[".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.map-title{text-align:center}.location-list{width:100%;min-height:60px;display:block;background:#fff}.location-box{padding:10px;border-top:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:flex-start;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating,.location-list.cdk-drop-list-dragging .location-box:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}"]}]}],U.ctorParameters=function(){return[{type:w}]},U);function U(t){this.mapService=t,this.mapList=this.mapService.GetMapList(),this.iconList=this.mapService.GetMarkerList(),this.secondaryItems=0}var T=(A.prototype.ngOnInit=function(){},A.prototype.LoadMap=function(t){this.dialogRef.close(t)},A.prototype.ngOnDestroy=function(){this.ThumbnailList=null},A.decorators=[{type:u.Component,args:[{selector:"lcu-my-atlas-modal",template:'<div class="my-atlas-modal">\r\n <h1>{{Title}}</h1>\r\n <div class="thumbnail-container">\r\n <div class="col" *ngFor="let nail of ThumbnailList" (dblclick)="LoadMap(nail.Map)">\r\n <img src={{nail.MapUrl}}>\r\n <h3>{{nail.Title}}</h3>\r\n </div>\r\n </div>\r\n</div>\r\n',styles:[".my-atlas-modal{height:80vh;width:70vw}.thumbnail-container{display:flex;justify-content:space-evenly;flex-wrap:wrap}.thumbnail-container .col{margin:10px;width:32%;text-align:center;flex:0 0 200px}@media (max-width:400px){.thumbnail-container{display:block}.thumbnail-container .col{width:100%;margin:0 0 10px}}"]}]}],A.ctorParameters=function(){return[{type:w},{type:m.MatDialogRef}]},A);function A(t,e){this.mapService=t,this.dialogRef=e,this.ThumbnailList=this.mapService.BuildThumbnailList(this.mapService.GetMapList()),this.Title="My Atlas"}var C=(F.forRoot=function(){return{ngModule:F,providers:[h]}},F.decorators=[{type:u.NgModule,args:[{declarations:[N,I,T],imports:[n.CommonModule,s.DragDropModule,a.FlexLayoutModule,i.BrowserAnimationsModule,o.MatMenuModule,m.MatIconModule,m.MatSelectModule,m.MatDialogModule,m.MatButtonModule,r.ReactiveFormsModule,m.MatInputModule,m.MatFormFieldModule,l.RouterModule],exports:[N,m.MatIconModule,I,T],entryComponents:[N,I,T]}]}],F);function F(){}t.UsersStateManagerContext=h,t.UsersState=b,t.Constants=v,t.LandingPageComponent=N,t.LcuAmblOnModule=C,t.LegendComponent=I,t.LocationListModel=k,t.MapService=w,t.MyAtlasModalComponent=T,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.umd.min.js.map

@@ -17,3 +17,3 @@ /**

this.iconList = this.mapService.GetMarkerList();
this.LocationsList = new Array();
this.secondaryItems = 0;
}

@@ -31,3 +31,2 @@ /**

ngOnInit() {
this.SetLocationList(this.mapList[0]);
}

@@ -47,14 +46,26 @@ /**

*
* @param {?} map the map config that is passed in
*
* this function loops through the map cofig and fills the LocationsList
*
* (this is what is displayed on the drop down)
*
* @return {?}
*/
SetLocationList(map) {
this.MapTitle = map.title;
SetLocationList() {
this.LocationsList = new Array();
this.MapTitle = this.mapList[0].title;
/** @type {?} */
var locList = map.locationList;
var locList = new Array();
this.mapList[0].locationList.forEach((/**
* @param {?} value
* @return {?}
*/
function (value) {
locList.push(value);
}));
if (this.mapService.ActiveSecondaryLocations.length > 0) {
this.secondaryItems = this.mapService.ActiveSecondaryLocations.length;
this.mapService.ActiveSecondaryLocations.forEach((/**
* @param {?} value
* @return {?}
*/
function (value) {
locList.push(value);
}));
}
for (var i = 0; i < locList.length; i++) {

@@ -96,3 +107,3 @@ /** @type {?} */

selector: 'lcu-legend',
template: "<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n",
template: "<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\" (click)=\"SetLocationList()\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n",
styles: [".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.map-title{text-align:center}.location-list{width:100%;min-height:60px;display:block;background:#fff}.location-box{padding:10px;border-top:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:flex-start;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating,.location-list.cdk-drop-list-dragging .location-box:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}"]

@@ -116,2 +127,7 @@ }] }

LegendComponent.prototype.iconList;
/**
* @type {?}
* @private
*/
LegendComponent.prototype.secondaryItems;
/** @type {?} */

@@ -127,2 +143,2 @@ LegendComponent.prototype.MapTitle;

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGVnZW5kLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9jb250cm9scy9sZWdlbmQvbGVnZW5kLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQWUsZUFBZSxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFdEUsT0FBTyxFQUFFLG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IH1cclxuICBcclxuICB9XHJcblxyXG5cclxuICAgIC8qKlxyXG4gICAgICogXHJcbiAgICAgKiBAcGFyYW0gZXZlbnQgXHJcbiAgICAgKiBcclxuICAgICAqIFRoaXMgaXMgbmVlZGVkIGZvciB0aGUgZHJhZyBhbmQgZHJvcCB0byByZWZsZWN0IHRoZSBjaGFuZ2VzXHJcbiAgICAgKiBcclxuICAgICAqIFRPRE86IFRoaXMgZG9lcyBub3QgYWN0dWFsbHkgc2F2ZSB0aGUgbmV3IGFycmF5IHRvIG1lbW9yeSwgc28gdXBvbiByZWZyZXNoXHJcbiAgICAgKiBcclxuICAgICAqIGl0IHdpbGwgZ28gYmFjayB0byB0aGUgb3JpZ2luYWwgb3JkZXIuXHJcbiAgICAgKiBcclxuICAgICAqL1xyXG4gIGRyb3AoZXZlbnQ6IENka0RyYWdEcm9wPHN0cmluZ1tdPikge1xyXG4gICAgbW92ZUl0ZW1JbkFycmF5KHRoaXMuTG9jYXRpb25zTGlzdCwgZXZlbnQucHJldmlvdXNJbmRleCwgZXZlbnQuY3VycmVudEluZGV4KTtcclxuICAgIC8vdGhpcy5tYXBTZXJ2aWNlLlNldE1hcExpc3RMb2NhdGlvbnMoMCwgdGhpcy5Mb2NhdGlvbnNMaXN0KTtcclxuICAgIGNvbnNvbGUubG9nKFwiSGVhZCBvZiBMaXN0IGlzIG5vdzogXCIgKyB0aGlzLkxvY2F0aW9uc0xpc3RbMF0uVGl0bGUpO1xyXG5cclxuICB9XHJcblxyXG59XHJcbiJdfQ==

@@ -112,2 +112,2 @@ /**

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktYXRsYXMtbW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2NvbnRyb2xzL215LWF0bGFzLW1vZGFsL215LWF0bGFzLW1vZGFsLmNvbXBvbm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Expc3QgPSBudWxsO1xyXG4gIH1cclxufVxyXG4iXX0=

@@ -14,3 +14,3 @@ /**

this.iconList = this.mapService.GetMarkerList();
this.LocationsList = new Array();
this.secondaryItems = 0;
}

@@ -47,3 +47,2 @@ /**

function () {
this.SetLocationList(this.mapList[0]);
};

@@ -87,8 +86,2 @@ /**

*
* @param {?} map the map config that is passed in
*
* this function loops through the map cofig and fills the LocationsList
*
* (this is what is displayed on the drop down)
*
* @return {?}

@@ -98,14 +91,26 @@ */

*
* @param {?} map the map config that is passed in
*
* this function loops through the map cofig and fills the LocationsList
*
* (this is what is displayed on the drop down)
*
* @return {?}
*/
function (map) {
this.MapTitle = map.title;
function () {
this.LocationsList = new Array();
this.MapTitle = this.mapList[0].title;
/** @type {?} */
var locList = map.locationList;
var locList = new Array();
this.mapList[0].locationList.forEach((/**
* @param {?} value
* @return {?}
*/
function (value) {
locList.push(value);
}));
if (this.mapService.ActiveSecondaryLocations.length > 0) {
this.secondaryItems = this.mapService.ActiveSecondaryLocations.length;
this.mapService.ActiveSecondaryLocations.forEach((/**
* @param {?} value
* @return {?}
*/
function (value) {
locList.push(value);
}));
}
for (var i = 0; i < locList.length; i++) {

@@ -169,3 +174,3 @@ /** @type {?} */

selector: 'lcu-legend',
template: "<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n",
template: "<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\" (click)=\"SetLocationList()\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n",
styles: [".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.map-title{text-align:center}.location-list{width:100%;min-height:60px;display:block;background:#fff}.location-box{padding:10px;border-top:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:flex-start;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating,.location-list.cdk-drop-list-dragging .location-box:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}"]

@@ -192,2 +197,7 @@ }] }

LegendComponent.prototype.iconList;
/**
* @type {?}
* @private
*/
LegendComponent.prototype.secondaryItems;
/** @type {?} */

@@ -203,2 +213,2 @@ LegendComponent.prototype.MapTitle;

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGVnZW5kLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8i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kgQXRsYXNcIjtcclxuXHJcbmNvbnN0cnVjdG9yKHByaXZhdGUgbWFwU2VydmljZTpNYXBTZXJ2aWNlLCBwcml2YXRlIGRpYWxvZ1JlZjogTWF0RGlhbG9nUmVmPE15QXRsYXNNb2RhbENvbXBvbmVudD4pIHt9XHJcbiAgXHJcbiAgbmdPbkluaXQoKSB7fVxyXG4gIFxyXG4gICAgLyoqXHJcbiAgICAgKiBcclxuICAgICAqIEBwYXJhbSBtYXAgPSBJbmRpdmlkdWFsTWFwIHRoYXQgY29ycmVzcG9uZHMgdG8gdGhhdCB0aHVtYm5haWxcclxuICAgICAqIFxyXG4gICAgICogVE9ETyBhZGQgaW1wbGVtZW50YXRpb24gdG8gYWN0dWFsbHkgbG9hZCB0aGUgbWFwLiBcclxuICAgICAqIFxyXG4gICAgICogQ3VycmVudGx5IHRoaXMgaXMgY2FsbGluZyBjb25zb2xlLmxvZyBhbmQgZGlzcGxheWluZyB0aGUgTWFwIHRoYXQgd2FzIHNlbGVjdGVkXHJcbiAgICAgKiBcclxuICAgICAqL1xyXG5cclxuICBwdWJsaWMgTG9hZE1hcChtYXA6SW5kaXZpZHVhbE1hcCl7XHJcbiAgICB0aGlzLmRpYWxvZ1JlZi5jbG9zZShtYXApO1xyXG4gIH1cclxuXHJcbiAgLyoqXHJcbiAgICogXHJcbiAgICogU2V0cyB0aGUgVGh1bWJuYWlsIGxpc3QgdG8gbnVsbCB0byBhdm9pZCBkdXBsaWNhdGVzIGFwcGVhcmluZyB1cG9uIGVhY2ggbG9hZCBvZiBNeSBBdGxhc1xyXG4gICAqIFxyXG4gICAqL1xyXG5cclxuICBuZ09uRGVzdHJveSgpe1xyXG4gICAgdGhpcy5UaHVtYm5haWxMaXN0ID0gbnVsbDtcclxuICB9XHJcbn1cclxuIl19

@@ -408,3 +408,3 @@ import { __awaiter } from 'tslib';

this.iconList = this.mapService.GetMarkerList();
this.LocationsList = new Array();
this.secondaryItems = 0;
}

@@ -422,3 +422,2 @@ /**

ngOnInit() {
this.SetLocationList(this.mapList[0]);
}

@@ -438,14 +437,26 @@ /**

*
* @param {?} map the map config that is passed in
*
* this function loops through the map cofig and fills the LocationsList
*
* (this is what is displayed on the drop down)
*
* @return {?}
*/
SetLocationList(map) {
this.MapTitle = map.title;
SetLocationList() {
this.LocationsList = new Array();
this.MapTitle = this.mapList[0].title;
/** @type {?} */
var locList = map.locationList;
var locList = new Array();
this.mapList[0].locationList.forEach((/**
* @param {?} value
* @return {?}
*/
function (value) {
locList.push(value);
}));
if (this.mapService.ActiveSecondaryLocations.length > 0) {
this.secondaryItems = this.mapService.ActiveSecondaryLocations.length;
this.mapService.ActiveSecondaryLocations.forEach((/**
* @param {?} value
* @return {?}
*/
function (value) {
locList.push(value);
}));
}
for (var i = 0; i < locList.length; i++) {

@@ -487,3 +498,3 @@ /** @type {?} */

selector: 'lcu-legend',
template: "<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n",
template: "<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\" (click)=\"SetLocationList()\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n",
styles: [".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.map-title{text-align:center}.location-list{width:100%;min-height:60px;display:block;background:#fff}.location-box{padding:10px;border-top:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:flex-start;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating,.location-list.cdk-drop-list-dragging .location-box:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}"]

@@ -490,0 +501,0 @@ }] }

@@ -534,3 +534,3 @@ import { __extends, __awaiter, __generator } from 'tslib';

this.iconList = this.mapService.GetMarkerList();
this.LocationsList = new Array();
this.secondaryItems = 0;
}

@@ -567,3 +567,2 @@ /**

function () {
this.SetLocationList(this.mapList[0]);
};

@@ -607,8 +606,2 @@ /**

*
* @param {?} map the map config that is passed in
*
* this function loops through the map cofig and fills the LocationsList
*
* (this is what is displayed on the drop down)
*
* @return {?}

@@ -618,14 +611,26 @@ */

*
* @param {?} map the map config that is passed in
*
* this function loops through the map cofig and fills the LocationsList
*
* (this is what is displayed on the drop down)
*
* @return {?}
*/
function (map) {
this.MapTitle = map.title;
function () {
this.LocationsList = new Array();
this.MapTitle = this.mapList[0].title;
/** @type {?} */
var locList = map.locationList;
var locList = new Array();
this.mapList[0].locationList.forEach((/**
* @param {?} value
* @return {?}
*/
function (value) {
locList.push(value);
}));
if (this.mapService.ActiveSecondaryLocations.length > 0) {
this.secondaryItems = this.mapService.ActiveSecondaryLocations.length;
this.mapService.ActiveSecondaryLocations.forEach((/**
* @param {?} value
* @return {?}
*/
function (value) {
locList.push(value);
}));
}
for (var i = 0; i < locList.length; i++) {

@@ -689,3 +694,3 @@ /** @type {?} */

selector: 'lcu-legend',
template: "<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n",
template: "<button class=\"chevron-legend\" mat-icon-button [matMenuTriggerFor]=\"legend\" (click)=\"SetLocationList()\">\r\n <mat-icon [inline]=\"true\">chevron_left</mat-icon>\r\n</button>\r\n\r\n<mat-menu #legend=\"matMenu\">\r\n <h3 class=\"map-title\">{{MapTitle}}</h3>\r\n <div cdkDropList class=\"location-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"location-box\" *ngFor=\"let item of LocationsList\" cdkDrag (click)=\"PanTo(item.Lat,item.Lng)\">\r\n <img class=\"icon-image\" src={{item.Icon}} width=\"10%\" height=\"10%\">\r\n <div class=\"location-title\">\r\n {{ item.Title }}\r\n </div>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n",
styles: [".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.map-title{text-align:center}.location-list{width:100%;min-height:60px;display:block;background:#fff}.location-box{padding:10px;border-top:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:flex-start;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating,.location-list.cdk-drop-list-dragging .location-box:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}"]

@@ -692,0 +697,0 @@ }] }

import { OnInit } from '@angular/core';
import { CdkDragDrop } from '@angular/cdk/drag-drop';
import { IndividualMap } from '@lowcodeunit/lcu-map-common';
import { LocationListModel } from '../../models/location-list.model';

@@ -10,2 +9,3 @@ import { MapService } from '../../services/map.service';

private iconList;
private secondaryItems;
MapTitle: string;

@@ -41,3 +41,3 @@ LocationsList: Array<LocationListModel>;

*/
SetLocationList(map: IndividualMap): void;
SetLocationList(): void;
/**

@@ -44,0 +44,0 @@ *

{
"name": "@ambl-on/lcu-ambl-on-common",
"version": "0.1.131-my-atlas",
"version": "0.1.132-my-atlas",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^7.2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc