@ambl-on/lcu-ambl-on-common
Advanced tools
Comparing version 0.1.52-my-atlas to 0.1.53-my-atlas
@@ -5,2 +5,1 @@ /** | ||
export * from './lcu.api'; | ||
export { MapService as ɵa } from './lib/services/map.service'; |
@@ -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":{}},"HamburgerMenuComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"lcu-hamburger-menu","template":"<!-- <nav class=\"hamburger-nav\"> -->\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon [inline]=\"true\">menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the items in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n<!-- </nav> -->","styles":[".hamburger-menu{background-color:transparent;border-width:0;outline:0;font-size:30px}"]}]}],"members":{"MenuItems":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}]}},"Constants":{"__symbolic":"class","members":{},"statics":{"VAR_NAMES_MENU":[{"Label":"Home","Url":"/home","Disabled":"false","Icon":"home"},{"Label":"My Atlas","Url":"/map","Disabled":"false","Icon":"public"},{"Label":"My Itenerarries","Url":"www","Disabled":"true","Icon":"map"},{"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"}]}},"HamburgerMenuModel":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}]}},"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":21,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"MapComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"},{"__symbolic":"reference","name":"MyAtlasComponent"},{"__symbolic":"reference","name":"LegendComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":24,"character":4},{"__symbolic":"reference","module":"@angular/cdk/drag-drop","name":"DragDropModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexLayoutModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":29,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@agm/core","name":"AgmCoreModule","line":30,"character":4},"member":"forRoot"},"arguments":[{"apiKey":"AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"}]},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":31,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatSelectModule","line":32,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatDialogModule","line":33,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatButtonModule","line":34,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":35,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":36,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":37,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":38,"character":4}],"exports":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"MapComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":40,"character":95},{"__symbolic":"reference","name":"MyAtlasComponent"},{"__symbolic":"reference","name":"LegendComponent"}],"entryComponents":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"},{"__symbolic":"reference","name":"LegendComponent"},{"__symbolic":"reference","name":"MyAtlasComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LcuAmblOnModule"},"providers":[{"__symbolic":"reference","name":"UsersStateManagerContext"}]}}}},"MyAtlasComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lcu-my-atlas","template":"<p>\r\n my-atlas works!\r\n</p>\r\n","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"LegendComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"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 <div cdkDropList class=\"example-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"example-box\" *ngFor=\"let movie of movies\" cdkDrag>{{ movie }}</div>\r\n </div>\r\n</mat-menu>\r\n","styles":[".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.example-list{width:500px;max-width:100%;border:1px solid #ccc;min-height:60px;display:block;background:#fff;border-radius:4px;overflow:hidden}.example-box{padding:20px 10px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;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{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)}.example-box:last-child{border:none}.example-list.cdk-drop-list-dragging .example-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":{"drop":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"IndividualMap":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"IndividualMap"}]}]}},"MapMarker":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MapMarker"}]}]}},"MapComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lcu-map","template":"<div class=\"icon-list\">\r\n <div>\r\n <div class=\"top-icon-set\">\r\n <mat-icon class=\"hamburger-icon\">menu</mat-icon>\r\n <mat-icon class=\"chevron-icon\">chevron_left</mat-icon>\r\n </div>\r\n <div class=\"bottom-icon-set\" fxLayoutAlign.lt-sm=\"flex-start\" fxLayoutAlign=\"space-around\" fxLayoutGap.lt-sm=\"50px\">\r\n <mat-icon>search</mat-icon>\r\n <mat-icon >add</mat-icon>\r\n <mat-icon>layers</mat-icon>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<agm-map [latitude]=\"CurrentMapModel.origin.lat\" [longitude]=\"CurrentMapModel.origin.lng\" [title]=\"CurrentMapModel.title\" [zoom]=\"CurrentMapModel.zoom\"\r\n (mapDblClick)=\"OnMapDoubleClicked($event)\" (mapClick)=\"OnChoseLocation($event)\">\r\n <div *ngFor=\"let marker of CurrentMapModel.locationList\">\r\n <agm-marker [latitude]=\"marker.lat\" [longitude]=\"marker.lng\" [title]=\"marker.title\" [iconUrl]=\"marker.icon\"></agm-marker>\r\n </div>\r\n</agm-map>\r\n\r\n","styles":["mat-icon{font-size:30px}.icon-list{padding:5px}.hamburger-icon{position:absolute;left:10px}@media (max-width:600px){.hamburger-icon{position:relative}}.chevron-icon{position:absolute;right:10px}.bottom-icon-set{width:80%;margin:auto}@media (max-width:600px){.bottom-icon-set{margin-left:10px}}agm-map{height:700px}"]}]}],"members":{"mapModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/material","name":"MatDialog","line":48,"character":30},{"__symbolic":"reference","name":"ɵa"}]}],"ngOnInit":[{"__symbolic":"method"}],"OnChoseLocation":[{"__symbolic":"method"}],"OnMapDoubleClicked":[{"__symbolic":"method"}]}},"AddMapMarkerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"lcu-add-map-marker","template":"<h1 mat-dialog-title>Add a marker here?</h1>\r\n\r\n\r\n<mat-dialog-content>\r\n <form fxLayout=\"column\" fxLayoutAlign=\"center center\" [formGroup]=\"NewMarkerForm\" fxLayoutGap=\"30px\">\r\n <h4>Marker Title:</h4>\r\n <mat-form-field>\r\n <input type=\"text\" matInput formControlName=\"title\">\r\n <mat-hint>The title for the map marker</mat-hint>\r\n <mat-error>Invalid or missing title</mat-error>\r\n </mat-form-field>\r\n\r\n <h4>Choose Icon:</h4>\r\n <mat-form-field>\r\n <mat-label>Icon</mat-label>\r\n <mat-select formControlName=\"icon\">\r\n <mat-option *ngFor=\"let icon of IconList\" [value]=\"icon\">{{icon}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n </form>\r\n</mat-dialog-content>\r\n\r\n\r\n<button mat-raised-button color=\"primary\" [mat-dialog-close]=\"NewMarker\" (click)=\"SetMarkerData()\"\r\n [disabled]=\"NewMarkerForm.invalid\">Add Marker</button>\r\n<button mat-raised-button color=\"accent\" [mat-dialog-close]=\"false\">Cancel</button>","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":32,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/material","name":"MAT_DIALOG_DATA","line":32,"character":22}]}],null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"ɵa"}]}],"ngOnInit":[{"__symbolic":"method"}],"SetMarkerData":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ConvertIconUrl":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}},"origins":{"UsersStateManagerContext":"./lib/state/users/users-state-manager.context","UsersState":"./lib/state/users/users-state.model","HamburgerMenuComponent":"./lib/controls/hamburger-menu/hamburger-menu.component","Constants":"./lib/utils/constants/constants","HamburgerMenuModel":"./lib/models/hamburger-menu.model","LandingPageComponent":"./lib/controls/landing-page/landing-page.component","LcuAmblOnModule":"./lib/lcu-ambl-on.module","MyAtlasComponent":"./lib/controls/my-atlas/my-atlas.component","LegendComponent":"./lib/controls/legend/legend.component","IndividualMap":"./lib/models/individual-map.model","MapMarker":"./lib/models/map-marker.model","MapComponent":"./lib/controls/map/map.component","AddMapMarkerComponent":"./lib/controls/map/add-map-marker/add-map-marker.component","ɵa":"./lib/services/map.service"},"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":{}},"HamburgerMenuComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"lcu-hamburger-menu","template":"<!-- <nav class=\"hamburger-nav\"> -->\r\n <button class=\"hamburger-menu\" mat-icon-button [matMenuTriggerFor]=\"menu\">\r\n <mat-icon [inline]=\"true\">menu</mat-icon>\r\n </button>\r\n <!-- Builds the hamburger menu from the items in the constants.ts file-->\r\n <mat-menu #menu=\"matMenu\">\r\n <button class=\"item-button\" mat-menu-item *ngFor= \"let item of MenuItems\" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n<!-- </nav> -->","styles":[".hamburger-menu{background-color:transparent;border-width:0;outline:0;font-size:30px}"]}]}],"members":{"MenuItems":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}]}},"Constants":{"__symbolic":"class","members":{},"statics":{"VAR_NAMES_MENU":[{"Label":"Home","Url":"/home","Disabled":"false","Icon":"home"},{"Label":"My Atlas","Url":"/map","Disabled":"false","Icon":"public"},{"Label":"My Itenerarries","Url":"www","Disabled":"true","Icon":"map"},{"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"}]}},"HamburgerMenuModel":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}]}},"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":18,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"MyAtlasComponent"},{"__symbolic":"reference","name":"LegendComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":21,"character":4},{"__symbolic":"reference","module":"@angular/cdk/drag-drop","name":"DragDropModule","line":22,"character":4},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexLayoutModule","line":23,"character":4},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":24,"character":4},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatSelectModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatDialogModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatButtonModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":31,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":32,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":33,"character":4}],"exports":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":35,"character":58},{"__symbolic":"reference","name":"MyAtlasComponent"},{"__symbolic":"reference","name":"LegendComponent"}],"entryComponents":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"LegendComponent"},{"__symbolic":"reference","name":"MyAtlasComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LcuAmblOnModule"},"providers":[{"__symbolic":"reference","name":"UsersStateManagerContext"}]}}}},"MyAtlasComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lcu-my-atlas","template":"<p>\r\n my-atlas works!\r\n</p>\r\n","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"LegendComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"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 <div cdkDropList class=\"example-list\" (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"example-box\" *ngFor=\"let movie of movies\" cdkDrag>{{ movie }}</div>\r\n </div>\r\n</mat-menu>\r\n","styles":[".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.example-list{width:500px;max-width:100%;border:1px solid #ccc;min-height:60px;display:block;background:#fff;border-radius:4px;overflow:hidden}.example-box{padding:20px 10px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;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{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)}.example-box:last-child{border:none}.example-list.cdk-drop-list-dragging .example-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":{"drop":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}},"origins":{"UsersStateManagerContext":"./lib/state/users/users-state-manager.context","UsersState":"./lib/state/users/users-state.model","HamburgerMenuComponent":"./lib/controls/hamburger-menu/hamburger-menu.component","Constants":"./lib/utils/constants/constants","HamburgerMenuModel":"./lib/models/hamburger-menu.model","LandingPageComponent":"./lib/controls/landing-page/landing-page.component","LcuAmblOnModule":"./lib/lcu-ambl-on.module","MyAtlasComponent":"./lib/controls/my-atlas/my-atlas.component","LegendComponent":"./lib/controls/legend/legend.component"},"importAs":"@ambl-on/lcu-ambl-on-common"} |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@lcu-ide/common'), require('@angular/common'), require('@angular/material/menu'), require('@angular/flex-layout'), require('@angular/platform-browser/animations'), require('@agm/core'), require('@angular/material'), require('@angular/forms'), require('@angular/router'), require('@angular/core'), require('@angular/cdk/drag-drop')) : | ||
typeof define === 'function' && 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', '@agm/core', '@angular/material', '@angular/forms', '@angular/router', '@angular/core', '@angular/cdk/drag-drop'], factory) : | ||
(factory((global['ambl-on'] = global['ambl-on'] || {}, global['ambl-on']['lcu-ambl-on-common'] = {}),global.common,global.ng.common,global.ng.material.menu,global.ng['flex-layout'],global.ng.platformBrowser.animations,global.core,global.ng.material,global.ng.forms,global.ng.router,global.ng.core,global.ng.cdk['drag-drop'])); | ||
}(this, (function (exports,common,common$1,menu,flexLayout,animations,core,material,forms,router,i0,dragDrop) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@lcu-ide/common'), require('@angular/common'), require('@angular/material/menu'), require('@angular/material'), require('@angular/flex-layout'), require('@angular/platform-browser/animations'), require('@angular/forms'), require('@angular/router'), require('@angular/core'), require('@angular/cdk/drag-drop')) : | ||
typeof define === 'function' && define.amd ? define('@ambl-on/lcu-ambl-on-common', ['exports', '@lcu-ide/common', '@angular/common', '@angular/material/menu', '@angular/material', '@angular/flex-layout', '@angular/platform-browser/animations', '@angular/forms', '@angular/router', '@angular/core', '@angular/cdk/drag-drop'], factory) : | ||
(factory((global['ambl-on'] = global['ambl-on'] || {}, global['ambl-on']['lcu-ambl-on-common'] = {}),global.common,global.ng.common,global.ng.material.menu,global.ng.material,global.ng['flex-layout'],global.ng.platformBrowser.animations,global.ng.forms,global.ng.router,global.ng.core,global.ng.cdk['drag-drop'])); | ||
}(this, (function (exports,common,common$1,menu,material,flexLayout,animations,forms,router,i0,dragDrop) { 'use strict'; | ||
@@ -342,263 +342,2 @@ /*! ***************************************************************************** | ||
*/ | ||
var MapService = /** @class */ (function () { | ||
function MapService() { | ||
} | ||
/** | ||
* | ||
* @param icon The icon to be converted to a path | ||
* | ||
* Converts icon to path for use in displaying custom icon as map location marker | ||
*/ | ||
/** | ||
* | ||
* @param {?} icon The icon to be converted to a path | ||
* | ||
* Converts icon to path for use in displaying custom icon as map location marker | ||
* @return {?} | ||
*/ | ||
MapService.prototype.ConvertIconUrl = /** | ||
* | ||
* @param {?} icon The icon to be converted to a path | ||
* | ||
* Converts icon to path for use in displaying custom icon as map location marker | ||
* @return {?} | ||
*/ | ||
function (icon) { | ||
/** @type {?} */ | ||
var orig = icon; | ||
/** @type {?} */ | ||
var iconUrl = "./assets/" + orig + ".png"; | ||
return { url: iconUrl, scaledSize: { width: 40, height: 60 } }; | ||
}; | ||
MapService.decorators = [ | ||
{ type: i0.Injectable, args: [{ | ||
providedIn: 'root' | ||
},] } | ||
]; | ||
/** @nocollapse */ | ||
MapService.ctorParameters = function () { return []; }; | ||
/** @nocollapse */ MapService.ngInjectableDef = i0.defineInjectable({ factory: function MapService_Factory() { return new MapService(); }, token: MapService, providedIn: "root" }); | ||
return MapService; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var AddMapMarkerComponent = /** @class */ (function () { | ||
// PROPERTIES | ||
// CONSTRUCTORS | ||
function AddMapMarkerComponent(passedData, mapService) { | ||
this.passedData = passedData; | ||
this.mapService = mapService; | ||
} | ||
// LIFE CYCLE | ||
// LIFE CYCLE | ||
/** | ||
* @return {?} | ||
*/ | ||
AddMapMarkerComponent.prototype.ngOnInit = | ||
// LIFE CYCLE | ||
/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
this.NewMarkerForm = new forms.FormGroup({ | ||
title: new forms.FormControl('', { validators: [forms.Validators.required] }), | ||
icon: new forms.FormControl('', { validators: [forms.Validators.required] }) | ||
}); | ||
this.NewMarker = { | ||
title: '', | ||
icon: null, | ||
lat: 40.00, | ||
lng: -100 | ||
}; | ||
// make these into a constants file somewhere because this list is written somewhere else as well | ||
this.IconList = ['bar', 'brewery', 'golf course', 'lodging', 'museum', 'national park', 'restaurant', 'ski area', 'UNESCO', 'vineyard']; | ||
}; | ||
// API METHODS | ||
/** | ||
* Converts data from the form to an icon to be placed on the map | ||
*/ | ||
// API METHODS | ||
/** | ||
* Converts data from the form to an icon to be placed on the map | ||
* @return {?} | ||
*/ | ||
AddMapMarkerComponent.prototype.SetMarkerData = | ||
// API METHODS | ||
/** | ||
* Converts data from the form to an icon to be placed on the map | ||
* @return {?} | ||
*/ | ||
function () { | ||
this.NewMarker.title = this.NewMarkerForm.value.title; | ||
this.NewMarker.icon = this.NewMarkerForm.value.icon; | ||
this.NewMarker.lat = this.passedData.lat; | ||
this.NewMarker.lng = this.passedData.lng; | ||
this.NewMarker.icon = this.mapService.ConvertIconUrl(this.NewMarker.icon); | ||
}; | ||
AddMapMarkerComponent.decorators = [ | ||
{ type: i0.Component, args: [{ | ||
selector: 'lcu-add-map-marker', | ||
template: "<h1 mat-dialog-title>Add a marker here?</h1>\r\n\r\n\r\n<mat-dialog-content>\r\n <form fxLayout=\"column\" fxLayoutAlign=\"center center\" [formGroup]=\"NewMarkerForm\" fxLayoutGap=\"30px\">\r\n <h4>Marker Title:</h4>\r\n <mat-form-field>\r\n <input type=\"text\" matInput formControlName=\"title\">\r\n <mat-hint>The title for the map marker</mat-hint>\r\n <mat-error>Invalid or missing title</mat-error>\r\n </mat-form-field>\r\n\r\n <h4>Choose Icon:</h4>\r\n <mat-form-field>\r\n <mat-label>Icon</mat-label>\r\n <mat-select formControlName=\"icon\">\r\n <mat-option *ngFor=\"let icon of IconList\" [value]=\"icon\">{{icon}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n </form>\r\n</mat-dialog-content>\r\n\r\n\r\n<button mat-raised-button color=\"primary\" [mat-dialog-close]=\"NewMarker\" (click)=\"SetMarkerData()\"\r\n [disabled]=\"NewMarkerForm.invalid\">Add Marker</button>\r\n<button mat-raised-button color=\"accent\" [mat-dialog-close]=\"false\">Cancel</button>", | ||
styles: [""] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
AddMapMarkerComponent.ctorParameters = function () { | ||
return [ | ||
{ type: undefined, decorators: [{ type: i0.Inject, args: [material.MAT_DIALOG_DATA,] }] }, | ||
{ type: MapService } | ||
]; | ||
}; | ||
return AddMapMarkerComponent; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var MapComponent = /** @class */ (function () { | ||
// CONSTRUCTORS | ||
function MapComponent(dialog, mapService) { | ||
this.dialog = dialog; | ||
this.mapService = mapService; | ||
// PROPERTIES | ||
this.isDoubleClick = false; | ||
this.expectedDoubleClickElapsedTime = 500; | ||
/** | ||
* The map model object (IndividualMap model) containing all the settings for the map to be displayed | ||
*/ | ||
this.mapModel = { | ||
title: 'Default Map', | ||
origin: { lat: 40.037757, lng: -105.278324 }, | ||
zoom: 13, | ||
locationList: [ | ||
{ title: 'Favorite steak house', lat: 40.017557, lng: -105.278199, icon: 'restaurant' }, | ||
{ title: 'Favorite UNESCO', lat: 40.027657, lng: -105.288199, icon: 'UNESCO' }, | ||
{ title: 'Nice museum', lat: 40.037757, lng: -105.298199, icon: 'museum' }, | ||
{ title: 'Good brewery', lat: 40.047857, lng: -105.268199, icon: 'brewery' }, | ||
{ title: 'Favorite ski area', lat: 40.057557, lng: -105.288199, icon: 'ski area' }, | ||
{ title: 'Favorite vineyard', lat: 40.060657, lng: -105.298199, icon: 'vineyard' }, | ||
{ title: 'Nice golf course', lat: 40.037757, lng: -105.258199, icon: 'golf course' }, | ||
{ title: 'Good lodging', lat: 40.037757, lng: -105.278199, icon: 'lodging' }, | ||
{ title: 'Nice national park', lat: 40.060657, lng: -105.278199, icon: 'national park' }, | ||
{ title: 'Good bar', lat: 40.017557, lng: -105.288199, icon: 'bar' } | ||
] | ||
}; | ||
} | ||
// LIFE CYCLE | ||
// LIFE CYCLE | ||
/** | ||
* @return {?} | ||
*/ | ||
MapComponent.prototype.ngOnInit = | ||
// LIFE CYCLE | ||
/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
var _this = this; | ||
this.CurrentMapModel = this.mapModel; | ||
this.CurrentMapModel.locationList.forEach(( /** | ||
* @param {?} loc | ||
* @return {?} | ||
*/function (loc) { | ||
loc.icon = _this.mapService.ConvertIconUrl(loc.icon); | ||
})); | ||
// this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList); | ||
}; | ||
// API METHODS | ||
/** | ||
* | ||
* @param event The event passed in upon user clicking the map | ||
* | ||
* Runs when user clicks location on map. Modal displays prompting user to enter info about custom location marker | ||
*/ | ||
// API METHODS | ||
/** | ||
* | ||
* @param {?} event The event passed in upon user clicking the map | ||
* | ||
* Runs when user clicks location on map. Modal displays prompting user to enter info about custom location marker | ||
* @return {?} | ||
*/ | ||
MapComponent.prototype.OnChoseLocation = | ||
// API METHODS | ||
/** | ||
* | ||
* @param {?} event The event passed in upon user clicking the map | ||
* | ||
* Runs when user clicks location on map. Modal displays prompting user to enter info about custom location marker | ||
* @return {?} | ||
*/ | ||
function (event) { | ||
var _this = this; | ||
setTimeout(( /** | ||
* @param {?} x | ||
* @return {?} | ||
*/function (x) { | ||
if (!_this.isDoubleClick) { | ||
/** @type {?} */ | ||
var dialogRef = _this.dialog.open(AddMapMarkerComponent, { | ||
data: { | ||
lat: event.coords.lat, | ||
lng: event.coords.lng | ||
} | ||
}); | ||
dialogRef.afterClosed().subscribe(( /** | ||
* @param {?} res | ||
* @return {?} | ||
*/function (res) { | ||
if (res) { | ||
_this.CurrentMapModel.locationList.push(res); | ||
} | ||
})); | ||
} | ||
}), this.expectedDoubleClickElapsedTime); | ||
}; | ||
/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
MapComponent.prototype.OnMapDoubleClicked = /** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
function (event) { | ||
var _this = this; | ||
this.isDoubleClick = true; | ||
console.log('double clicked'); | ||
setTimeout(( /** | ||
* @param {?} x | ||
* @return {?} | ||
*/function (x) { | ||
_this.isDoubleClick = false; | ||
}), 500); // about after enough time it takes to zoom, turn off the "double-clicked" flag | ||
}; | ||
MapComponent.decorators = [ | ||
{ type: i0.Component, args: [{ | ||
selector: 'lcu-map', | ||
template: "<div class=\"icon-list\">\r\n <div>\r\n <div class=\"top-icon-set\">\r\n <mat-icon class=\"hamburger-icon\">menu</mat-icon>\r\n <mat-icon class=\"chevron-icon\">chevron_left</mat-icon>\r\n </div>\r\n <div class=\"bottom-icon-set\" fxLayoutAlign.lt-sm=\"flex-start\" fxLayoutAlign=\"space-around\" fxLayoutGap.lt-sm=\"50px\">\r\n <mat-icon>search</mat-icon>\r\n <mat-icon >add</mat-icon>\r\n <mat-icon>layers</mat-icon>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<agm-map [latitude]=\"CurrentMapModel.origin.lat\" [longitude]=\"CurrentMapModel.origin.lng\" [title]=\"CurrentMapModel.title\" [zoom]=\"CurrentMapModel.zoom\"\r\n (mapDblClick)=\"OnMapDoubleClicked($event)\" (mapClick)=\"OnChoseLocation($event)\">\r\n <div *ngFor=\"let marker of CurrentMapModel.locationList\">\r\n <agm-marker [latitude]=\"marker.lat\" [longitude]=\"marker.lng\" [title]=\"marker.title\" [iconUrl]=\"marker.icon\"></agm-marker>\r\n </div>\r\n</agm-map>\r\n\r\n", | ||
styles: ["mat-icon{font-size:30px}.icon-list{padding:5px}.hamburger-icon{position:absolute;left:10px}@media (max-width:600px){.hamburger-icon{position:relative}}.chevron-icon{position:absolute;right:10px}.bottom-icon-set{width:80%;margin:auto}@media (max-width:600px){.bottom-icon-set{margin-left:10px}}agm-map{height:700px}"] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
MapComponent.ctorParameters = function () { | ||
return [ | ||
{ type: material.MatDialog }, | ||
{ type: MapService } | ||
]; | ||
}; | ||
MapComponent.propDecorators = { | ||
mapModel: [{ type: i0.Input }] | ||
}; | ||
return MapComponent; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var MyAtlasComponent = /** @class */ (function () { | ||
@@ -695,3 +434,3 @@ function MyAtlasComponent() { | ||
{ type: i0.NgModule, args: [{ | ||
declarations: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MyAtlasComponent, LegendComponent], | ||
declarations: [LandingPageComponent, HamburgerMenuComponent, MyAtlasComponent, LegendComponent], | ||
imports: [ | ||
@@ -704,4 +443,2 @@ common$1.CommonModule, | ||
material.MatIconModule, | ||
core.AgmCoreModule.forRoot({ apiKey: 'AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg' }), | ||
material.MatIconModule, | ||
material.MatSelectModule, | ||
@@ -715,4 +452,4 @@ material.MatDialogModule, | ||
], | ||
exports: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, material.MatIconModule, MyAtlasComponent, LegendComponent], | ||
entryComponents: [LandingPageComponent, HamburgerMenuComponent, AddMapMarkerComponent, LegendComponent, MyAtlasComponent] | ||
exports: [LandingPageComponent, HamburgerMenuComponent, material.MatIconModule, MyAtlasComponent, LegendComponent], | ||
entryComponents: [LandingPageComponent, HamburgerMenuComponent, LegendComponent, MyAtlasComponent] | ||
},] } | ||
@@ -727,15 +464,2 @@ ]; | ||
*/ | ||
var IndividualMap = /** @class */ (function () { | ||
/** | ||
* | ||
* @param mapInfo The object containing the necessary data for displaying a map (<agm-map>) | ||
*/ | ||
function IndividualMap(mapInfo) { | ||
this.title = mapInfo.title; | ||
this.origin = mapInfo.origin; | ||
this.zoom = mapInfo.zoom; | ||
this.locationList = mapInfo.locationList; | ||
} | ||
return IndividualMap; | ||
}()); | ||
@@ -746,26 +470,3 @@ /** | ||
*/ | ||
var MapMarker = /** @class */ (function () { | ||
/** | ||
* | ||
* @param icon The object containing data for a single point (a map marker) on a map (<agm-map>) | ||
*/ | ||
function MapMarker(icon) { | ||
this.title = icon.title; | ||
this.icon = icon.icon; | ||
this.lat = icon.lat; | ||
this.lng = icon.lng; | ||
} | ||
return MapMarker; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
exports.UsersStateManagerContext = UsersStateManagerContext; | ||
@@ -780,7 +481,2 @@ exports.UsersState = UsersState; | ||
exports.LegendComponent = LegendComponent; | ||
exports.IndividualMap = IndividualMap; | ||
exports.MapMarker = MapMarker; | ||
exports.MapComponent = MapComponent; | ||
exports.AddMapMarkerComponent = AddMapMarkerComponent; | ||
exports.ɵa = MapService; | ||
@@ -787,0 +483,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@lcu-ide/common"),require("@angular/common"),require("@angular/material/menu"),require("@angular/flex-layout"),require("@angular/platform-browser/animations"),require("@agm/core"),require("@angular/material"),require("@angular/forms"),require("@angular/router"),require("@angular/core"),require("@angular/cdk/drag-drop")):"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","@agm/core","@angular/material","@angular/forms","@angular/router","@angular/core","@angular/cdk/drag-drop"],t):t((e["ambl-on"]=e["ambl-on"]||{},e["ambl-on"]["lcu-ambl-on-common"]={}),e.common,e.ng.common,e.ng.material.menu,e.ng["flex-layout"],e.ng.platformBrowser.animations,e.core,e.ng.material,e.ng.forms,e.ng.router,e.ng.core,e.ng.cdk["drag-drop"])}(this,function(e,t,n,r,o,a,i,l,c,s,u,m){"use strict";var d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function p(t,i,l,c){return new(l||(l=Promise))(function(e,n){function r(e){try{a(c.next(e))}catch(t){n(t)}}function o(e){try{a(c["throw"](e))}catch(t){n(t)}}function a(t){t.done?e(t.value):new l(function(e){e(t.value)}).then(r,o)}a((c=c.apply(t,i||[])).next())})}function g(r,o){var a,i,l,e,c={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return e={next:t(0),"throw":t(1),"return":t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function n(e){if(a)throw new TypeError("Generator is already executing.");for(;c;)try{if(a=1,i&&(l=2&e[0]?i["return"]:e[0]?i["throw"]||((l=i["return"])&&l.call(i),0):i.next)&&!(l=l.call(i,e[1])).done)return l;switch(i=0,l&&(e=[2&e[0],l.value]),e[0]){case 0:case 1:l=e;break;case 4:return c.label++,{value:e[1],done:!1};case 5:c.label++,i=e[1],e=[0];continue;case 7:e=c.ops.pop(),c.trys.pop();continue;default:if(!(l=0<(l=c.trys).length&&l[l.length-1])&&(6===e[0]||2===e[0])){c=0;continue}if(3===e[0]&&(!l||e[1]>l[0]&&e[1]<l[3])){c.label=e[1];break}if(6===e[0]&&c.label<l[1]){c.label=l[1],l=e;break}if(l&&c.label<l[2]){c.label=l[2],c.ops.push(e);break}l[2]&&c.ops.pop(),c.trys.pop();continue}e=o.call(r,c)}catch(t){e=[6,t],i=0}finally{a=l=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([t,e])}}}var f,b=(function q(e,t){function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(h,f=t.StateManagerContext),h.prototype.SetActive=function(){},h.prototype.defaultValue=function(){return{Loading:!0}},h.prototype.loadStateKey=function(){return p(this,void 0,void 0,function(){return g(this,function(e){return[2,"main"]})})},h.prototype.loadStateName=function(){return p(this,void 0,void 0,function(){return g(this,function(e){return[2,"users "]})})},h.decorators=[{type:u.Injectable,args:[{providedIn:"root"}]}],h.ctorParameters=function(){return[{type:u.Injector}]},h.ngInjectableDef=u.defineInjectable({factory:function(){return new h(u.inject(u.INJECTOR))},token:h,providedIn:"root"}),h);function h(e){var t=f.call(this,e)||this;return t.injector=e,t}function y(){}var v=(M.prototype.ngOnInit=function(){},M.decorators=[{type:u.Component,args:[{selector:"lcu-hamburger-menu",template:'\x3c!-- <nav class="hamburger-nav"> --\x3e\r\n <button class="hamburger-menu" mat-icon-button [matMenuTriggerFor]="menu">\r\n <mat-icon [inline]="true">menu</mat-icon>\r\n </button>\r\n \x3c!-- Builds the hamburger menu from the items in the constants.ts file--\x3e\r\n <mat-menu #menu="matMenu">\r\n <button class="item-button" mat-menu-item *ngFor= "let item of MenuItems" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n\x3c!-- </nav> --\x3e',styles:[".hamburger-menu{background-color:transparent;border-width:0;outline:0;font-size:30px}"]}]}],M.propDecorators={MenuItems:[{type:u.Input}]},M);function M(){}var x=(k.VAR_NAMES_MENU=[{Label:"Home",Url:"/home",Disabled:"false",Icon:"home"},{Label:"My Atlas",Url:"/map",Disabled:"false",Icon:"public"},{Label:"My Itenerarries",Url:"www",Disabled:"true",Icon:"map"},{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"}],k);function k(){}function w(e,t,n,r){this.Label=e,this.Icon=t,this.Url=n,this.Disabled=r}var I=(C.prototype.ngOnInit=function(){},C.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}"]}]}],C.ctorParameters=function(){return[]},C);function C(){this.Title="Ambl On",this.Slogan="Down the Road, Around the World!"}var L=(D.prototype.ConvertIconUrl=function(e){return{url:"./assets/"+e+".png",scaledSize:{width:40,height:60}}},D.decorators=[{type:u.Injectable,args:[{providedIn:"root"}]}],D.ctorParameters=function(){return[]},D.ngInjectableDef=u.defineInjectable({factory:function(){return new D},token:D,providedIn:"root"}),D);function D(){}var A=(N.prototype.ngOnInit=function(){this.NewMarkerForm=new c.FormGroup({title:new c.FormControl("",{validators:[c.Validators.required]}),icon:new c.FormControl("",{validators:[c.Validators.required]})}),this.NewMarker={title:"",icon:null,lat:40,lng:-100},this.IconList=["bar","brewery","golf course","lodging","museum","national park","restaurant","ski area","UNESCO","vineyard"]},N.prototype.SetMarkerData=function(){this.NewMarker.title=this.NewMarkerForm.value.title,this.NewMarker.icon=this.NewMarkerForm.value.icon,this.NewMarker.lat=this.passedData.lat,this.NewMarker.lng=this.passedData.lng,this.NewMarker.icon=this.mapService.ConvertIconUrl(this.NewMarker.icon)},N.decorators=[{type:u.Component,args:[{selector:"lcu-add-map-marker",template:'<h1 mat-dialog-title>Add a marker here?</h1>\r\n\r\n\r\n<mat-dialog-content>\r\n <form fxLayout="column" fxLayoutAlign="center center" [formGroup]="NewMarkerForm" fxLayoutGap="30px">\r\n <h4>Marker Title:</h4>\r\n <mat-form-field>\r\n <input type="text" matInput formControlName="title">\r\n <mat-hint>The title for the map marker</mat-hint>\r\n <mat-error>Invalid or missing title</mat-error>\r\n </mat-form-field>\r\n\r\n <h4>Choose Icon:</h4>\r\n <mat-form-field>\r\n <mat-label>Icon</mat-label>\r\n <mat-select formControlName="icon">\r\n <mat-option *ngFor="let icon of IconList" [value]="icon">{{icon}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n </form>\r\n</mat-dialog-content>\r\n\r\n\r\n<button mat-raised-button color="primary" [mat-dialog-close]="NewMarker" (click)="SetMarkerData()"\r\n [disabled]="NewMarkerForm.invalid">Add Marker</button>\r\n<button mat-raised-button color="accent" [mat-dialog-close]="false">Cancel</button>',styles:[""]}]}],N.ctorParameters=function(){return[{type:undefined,decorators:[{type:u.Inject,args:[l.MAT_DIALOG_DATA]}]},{type:L}]},N);function N(e,t){this.passedData=e,this.mapService=t}var S=(F.prototype.ngOnInit=function(){var t=this;this.CurrentMapModel=this.mapModel,this.CurrentMapModel.locationList.forEach(function(e){e.icon=t.mapService.ConvertIconUrl(e.icon)})},F.prototype.OnChoseLocation=function(t){var n=this;setTimeout(function(e){n.isDoubleClick||n.dialog.open(A,{data:{lat:t.coords.lat,lng:t.coords.lng}}).afterClosed().subscribe(function(e){e&&n.CurrentMapModel.locationList.push(e)})},this.expectedDoubleClickElapsedTime)},F.prototype.OnMapDoubleClicked=function(e){var t=this;this.isDoubleClick=!0,console.log("double clicked"),setTimeout(function(e){t.isDoubleClick=!1},500)},F.decorators=[{type:u.Component,args:[{selector:"lcu-map",template:'<div class="icon-list">\r\n <div>\r\n <div class="top-icon-set">\r\n <mat-icon class="hamburger-icon">menu</mat-icon>\r\n <mat-icon class="chevron-icon">chevron_left</mat-icon>\r\n </div>\r\n <div class="bottom-icon-set" fxLayoutAlign.lt-sm="flex-start" fxLayoutAlign="space-around" fxLayoutGap.lt-sm="50px">\r\n <mat-icon>search</mat-icon>\r\n <mat-icon >add</mat-icon>\r\n <mat-icon>layers</mat-icon>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<agm-map [latitude]="CurrentMapModel.origin.lat" [longitude]="CurrentMapModel.origin.lng" [title]="CurrentMapModel.title" [zoom]="CurrentMapModel.zoom"\r\n (mapDblClick)="OnMapDoubleClicked($event)" (mapClick)="OnChoseLocation($event)">\r\n <div *ngFor="let marker of CurrentMapModel.locationList">\r\n <agm-marker [latitude]="marker.lat" [longitude]="marker.lng" [title]="marker.title" [iconUrl]="marker.icon"></agm-marker>\r\n </div>\r\n</agm-map>\r\n\r\n',styles:["mat-icon{font-size:30px}.icon-list{padding:5px}.hamburger-icon{position:absolute;left:10px}@media (max-width:600px){.hamburger-icon{position:relative}}.chevron-icon{position:absolute;right:10px}.bottom-icon-set{width:80%;margin:auto}@media (max-width:600px){.bottom-icon-set{margin-left:10px}}agm-map{height:700px}"]}]}],F.ctorParameters=function(){return[{type:l.MatDialog},{type:L}]},F.propDecorators={mapModel:[{type:u.Input}]},F);function F(e,t){this.dialog=e,this.mapService=t,this.isDoubleClick=!1,this.expectedDoubleClickElapsedTime=500,this.mapModel={title:"Default Map",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[{title:"Favorite steak house",lat:40.017557,lng:-105.278199,icon:"restaurant"},{title:"Favorite UNESCO",lat:40.027657,lng:-105.288199,icon:"UNESCO"},{title:"Nice museum",lat:40.037757,lng:-105.298199,icon:"museum"},{title:"Good brewery",lat:40.047857,lng:-105.268199,icon:"brewery"},{title:"Favorite ski area",lat:40.057557,lng:-105.288199,icon:"ski area"},{title:"Favorite vineyard",lat:40.060657,lng:-105.298199,icon:"vineyard"},{title:"Nice golf course",lat:40.037757,lng:-105.258199,icon:"golf course"},{title:"Good lodging",lat:40.037757,lng:-105.278199,icon:"lodging"},{title:"Nice national park",lat:40.060657,lng:-105.278199,icon:"national park"},{title:"Good bar",lat:40.017557,lng:-105.288199,icon:"bar"}]}}var O=(E.prototype.ngOnInit=function(){},E.decorators=[{type:u.Component,args:[{selector:"lcu-my-atlas",template:"<p>\r\n my-atlas works!\r\n</p>\r\n",styles:[""]}]}],E.ctorParameters=function(){return[]},E);function E(){}var U=(z.prototype.drop=function(e){m.moveItemInArray(this.movies,e.previousIndex,e.currentIndex)},z.prototype.ngOnInit=function(){},z.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 <div cdkDropList class="example-list" (cdkDropListDropped)="drop($event)">\r\n <div class="example-box" *ngFor="let movie of movies" cdkDrag>{{ movie }}</div>\r\n </div>\r\n</mat-menu>\r\n',styles:[".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.example-list{width:500px;max-width:100%;border:1px solid #ccc;min-height:60px;display:block;background:#fff;border-radius:4px;overflow:hidden}.example-box{padding:20px 10px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;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{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)}.example-box:last-child{border:none}.example-list.cdk-drop-list-dragging .example-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)}"]}]}],z.ctorParameters=function(){return[]},z);function z(){this.movies=["Episode I - The Phantom Menace","Episode II - Attack of the Clones","Episode III - Revenge of the Sith","Episode IV - A New Hope","Episode V - The Empire Strikes Back","Episode VI - Return of the Jedi","Episode VII - The Force Awakens","Episode VIII - The Last Jedi"]}var T=(_.forRoot=function(){return{ngModule:_,providers:[b]}},_.decorators=[{type:u.NgModule,args:[{declarations:[I,v,S,A,O,U],imports:[n.CommonModule,m.DragDropModule,o.FlexLayoutModule,a.BrowserAnimationsModule,r.MatMenuModule,l.MatIconModule,i.AgmCoreModule.forRoot({apiKey:"AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"}),l.MatIconModule,l.MatSelectModule,l.MatDialogModule,l.MatButtonModule,c.ReactiveFormsModule,l.MatInputModule,l.MatFormFieldModule,s.RouterModule],exports:[I,v,S,A,l.MatIconModule,O,U],entryComponents:[I,v,A,U,O]}]}],_);function _(){}function j(e){this.title=e.title,this.origin=e.origin,this.zoom=e.zoom,this.locationList=e.locationList}function P(e){this.title=e.title,this.icon=e.icon,this.lat=e.lat,this.lng=e.lng}e.UsersStateManagerContext=b,e.UsersState=y,e.HamburgerMenuComponent=v,e.Constants=x,e.HamburgerMenuModel=w,e.LandingPageComponent=I,e.LcuAmblOnModule=T,e.MyAtlasComponent=O,e.LegendComponent=U,e.IndividualMap=j,e.MapMarker=P,e.MapComponent=S,e.AddMapMarkerComponent=A,e.ɵa=L,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@lcu-ide/common"),require("@angular/common"),require("@angular/material/menu"),require("@angular/material"),require("@angular/flex-layout"),require("@angular/platform-browser/animations"),require("@angular/forms"),require("@angular/router"),require("@angular/core"),require("@angular/cdk/drag-drop")):"function"==typeof define&&define.amd?define("@ambl-on/lcu-ambl-on-common",["exports","@lcu-ide/common","@angular/common","@angular/material/menu","@angular/material","@angular/flex-layout","@angular/platform-browser/animations","@angular/forms","@angular/router","@angular/core","@angular/cdk/drag-drop"],n):n((e["ambl-on"]=e["ambl-on"]||{},e["ambl-on"]["lcu-ambl-on-common"]={}),e.common,e.ng.common,e.ng.material.menu,e.ng.material,e.ng["flex-layout"],e.ng.platformBrowser.animations,e.ng.forms,e.ng.router,e.ng.core,e.ng.cdk["drag-drop"])}(this,function(e,n,t,r,o,a,i,l,u,c,s){"use strict";var m=function(e,n){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(e,n)};function d(n,i,l,u){return new(l||(l=Promise))(function(e,t){function r(e){try{a(u.next(e))}catch(n){t(n)}}function o(e){try{a(u["throw"](e))}catch(n){t(n)}}function a(n){n.done?e(n.value):new l(function(e){e(n.value)}).then(r,o)}a((u=u.apply(n,i||[])).next())})}function p(r,o){var a,i,l,e,u={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return e={next:n(0),"throw":n(1),"return":n(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function n(n){return function(e){return function t(e){if(a)throw new TypeError("Generator is already executing.");for(;u;)try{if(a=1,i&&(l=2&e[0]?i["return"]:e[0]?i["throw"]||((l=i["return"])&&l.call(i),0):i.next)&&!(l=l.call(i,e[1])).done)return l;switch(i=0,l&&(e=[2&e[0],l.value]),e[0]){case 0:case 1:l=e;break;case 4:return u.label++,{value:e[1],done:!1};case 5:u.label++,i=e[1],e=[0];continue;case 7:e=u.ops.pop(),u.trys.pop();continue;default:if(!(l=0<(l=u.trys).length&&l[l.length-1])&&(6===e[0]||2===e[0])){u=0;continue}if(3===e[0]&&(!l||e[1]>l[0]&&e[1]<l[3])){u.label=e[1];break}if(6===e[0]&&u.label<l[1]){u.label=l[1],l=e;break}if(l&&u.label<l[2]){u.label=l[2],u.ops.push(e);break}l[2]&&u.ops.pop(),u.trys.pop();continue}e=o.call(r,u)}catch(n){e=[6,n],i=0}finally{a=l=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([n,e])}}}var g,f=(function E(e,n){function t(){this.constructor=e}m(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}(b,g=n.StateManagerContext),b.prototype.SetActive=function(){},b.prototype.defaultValue=function(){return{Loading:!0}},b.prototype.loadStateKey=function(){return d(this,void 0,void 0,function(){return p(this,function(e){return[2,"main"]})})},b.prototype.loadStateName=function(){return d(this,void 0,void 0,function(){return p(this,function(e){return[2,"users "]})})},b.decorators=[{type:c.Injectable,args:[{providedIn:"root"}]}],b.ctorParameters=function(){return[{type:c.Injector}]},b.ngInjectableDef=c.defineInjectable({factory:function(){return new b(c.inject(c.INJECTOR))},token:b,providedIn:"root"}),b);function b(e){var n=g.call(this,e)||this;return n.injector=e,n}function h(){}var x=(y.prototype.ngOnInit=function(){},y.decorators=[{type:c.Component,args:[{selector:"lcu-hamburger-menu",template:'\x3c!-- <nav class="hamburger-nav"> --\x3e\r\n <button class="hamburger-menu" mat-icon-button [matMenuTriggerFor]="menu">\r\n <mat-icon [inline]="true">menu</mat-icon>\r\n </button>\r\n \x3c!-- Builds the hamburger menu from the items in the constants.ts file--\x3e\r\n <mat-menu #menu="matMenu">\r\n <button class="item-button" mat-menu-item *ngFor= "let item of MenuItems" [disabled]= item.Disabled routerLink={{item.Url}}>\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <span>{{ item.Label }}</span>\r\n </button>\r\n </mat-menu>\r\n\x3c!-- </nav> --\x3e',styles:[".hamburger-menu{background-color:transparent;border-width:0;outline:0;font-size:30px}"]}]}],y.propDecorators={MenuItems:[{type:c.Input}]},y);function y(){}var v=(M.VAR_NAMES_MENU=[{Label:"Home",Url:"/home",Disabled:"false",Icon:"home"},{Label:"My Atlas",Url:"/map",Disabled:"false",Icon:"public"},{Label:"My Itenerarries",Url:"www",Disabled:"true",Icon:"map"},{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"}],M);function M(){}function w(e,n,t,r){this.Label=e,this.Icon=n,this.Url=t,this.Disabled=r}var I=(k.prototype.ngOnInit=function(){},k.decorators=[{type:c.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}"]}]}],k.ctorParameters=function(){return[]},k);function k(){this.Title="Ambl On",this.Slogan="Down the Road, Around the World!"}var L=(A.prototype.ngOnInit=function(){},A.decorators=[{type:c.Component,args:[{selector:"lcu-my-atlas",template:"<p>\r\n my-atlas works!\r\n</p>\r\n",styles:[""]}]}],A.ctorParameters=function(){return[]},A);function A(){}var D=(C.prototype.drop=function(e){s.moveItemInArray(this.movies,e.previousIndex,e.currentIndex)},C.prototype.ngOnInit=function(){},C.decorators=[{type:c.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 <div cdkDropList class="example-list" (cdkDropListDropped)="drop($event)">\r\n <div class="example-box" *ngFor="let movie of movies" cdkDrag>{{ movie }}</div>\r\n </div>\r\n</mat-menu>\r\n',styles:[".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}.example-list{width:500px;max-width:100%;border:1px solid #ccc;min-height:60px;display:block;background:#fff;border-radius:4px;overflow:hidden}.example-box{padding:20px 10px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;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{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)}.example-box:last-child{border:none}.example-list.cdk-drop-list-dragging .example-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)}"]}]}],C.ctorParameters=function(){return[]},C);function C(){this.movies=["Episode I - The Phantom Menace","Episode II - Attack of the Clones","Episode III - Revenge of the Sith","Episode IV - A New Hope","Episode V - The Empire Strikes Back","Episode VI - Return of the Jedi","Episode VII - The Force Awakens","Episode VIII - The Last Jedi"]}var S=(_.forRoot=function(){return{ngModule:_,providers:[f]}},_.decorators=[{type:c.NgModule,args:[{declarations:[I,x,L,D],imports:[t.CommonModule,s.DragDropModule,a.FlexLayoutModule,i.BrowserAnimationsModule,r.MatMenuModule,o.MatIconModule,o.MatSelectModule,o.MatDialogModule,o.MatButtonModule,l.ReactiveFormsModule,o.MatInputModule,o.MatFormFieldModule,u.RouterModule],exports:[I,x,o.MatIconModule,L,D],entryComponents:[I,x,D,L]}]}],_);function _(){}e.UsersStateManagerContext=f,e.UsersState=h,e.HamburgerMenuComponent=x,e.Constants=v,e.HamburgerMenuModel=w,e.LandingPageComponent=I,e.LcuAmblOnModule=S,e.MyAtlasComponent=L,e.LegendComponent=D,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.umd.min.js.map |
@@ -8,4 +8,3 @@ /** | ||
*/ | ||
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, Constants, HamburgerMenuModel, LandingPageComponent, LcuAmblOnModule, MyAtlasComponent, LegendComponent, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent } from './lcu.api'; | ||
export { MapService as ɵa } from './lib/services/map.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEscVBBQWMsV0FBVyxDQUFDO0FBRTFCLE9BQU8sRUFBQyxVQUFVLElBQUksRUFBRSxFQUFDLE1BQU0sNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGN1LmFwaSc7XG5cbmV4cG9ydCB7TWFwU2VydmljZSBhcyDJtWF9IGZyb20gJy4vbGliL3NlcnZpY2VzL21hcC5zZXJ2aWNlJzsiXX0= | ||
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, Constants, HamburgerMenuModel, LandingPageComponent, LcuAmblOnModule, MyAtlasComponent, LegendComponent } from './lcu.api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsc0xBQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xjdS5hcGknO1xuIl19 |
@@ -15,7 +15,2 @@ /** | ||
export { LegendComponent } from './lib/controls/legend/legend.component'; | ||
// map stuff: | ||
export { IndividualMap } from './lib/models/individual-map.model'; | ||
export { MapMarker } from './lib/models/map-marker.model'; | ||
export { MapComponent } from './lib/controls/map/map.component'; | ||
export { AddMapMarkerComponent } from './lib/controls/map/add-map-marker/add-map-marker.component'; | ||
//# sourceMappingURL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YywwQkFBMEIsQ0FBQztBQUN6QyxpQ0FBYyw0Q0FBNEMsQ0FBQztBQUMzRCxnQ0FBYyx3Q0FBd0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL3N0YXRlL3VzZXJzL3VzZXJzLXN0YXRlLW1hbmFnZXIuY29udGV4dCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3N0YXRlL3VzZXJzL3VzZXJzLXN0YXRlLm1vZGVsJztcclxuLy9oYW1idXJnZXIgbWVudSBzdHVmZlxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb250cm9scy9oYW1idXJnZXItbWVudS9oYW1idXJnZXItbWVudS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi91dGlscy9jb25zdGFudHMvY29uc3RhbnRzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvbW9kZWxzL2hhbWJ1cmdlci1tZW51Lm1vZGVsJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29udHJvbHMvbGFuZGluZy1wYWdlL2xhbmRpbmctcGFnZS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9sY3UtYW1ibC1vbi5tb2R1bGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb250cm9scy9teS1hdGxhcy9teS1hdGxhcy5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb250cm9scy9sZWdlbmQvbGVnZW5kLmNvbXBvbmVudCc7XHJcblxyXG4iXX0= |
@@ -14,6 +14,3 @@ /** | ||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | ||
import { AgmCoreModule } from '@agm/core'; | ||
import { ReactiveFormsModule } from '@angular/forms'; | ||
import { MapComponent } from './controls/map/map.component'; | ||
import { AddMapMarkerComponent } from './controls/map/add-map-marker/add-map-marker.component'; | ||
import { RouterModule } from '@angular/router'; | ||
@@ -36,3 +33,3 @@ import { MyAtlasComponent } from './controls/my-atlas/my-atlas.component'; | ||
{ type: NgModule, args: [{ | ||
declarations: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MyAtlasComponent, LegendComponent], | ||
declarations: [LandingPageComponent, HamburgerMenuComponent, MyAtlasComponent, LegendComponent], | ||
imports: [ | ||
@@ -45,4 +42,2 @@ CommonModule, | ||
MatIconModule, | ||
AgmCoreModule.forRoot({ apiKey: 'AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg' }), | ||
MatIconModule, | ||
MatSelectModule, | ||
@@ -56,6 +51,6 @@ MatDialogModule, | ||
], | ||
exports: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MatIconModule, MyAtlasComponent, LegendComponent], | ||
entryComponents: [LandingPageComponent, HamburgerMenuComponent, AddMapMarkerComponent, LegendComponent, MyAtlasComponent] | ||
exports: [LandingPageComponent, HamburgerMenuComponent, MatIconModule, MyAtlasComponent, LegendComponent], | ||
entryComponents: [LandingPageComponent, HamburgerMenuComponent, LegendComponent, MyAtlasComponent] | ||
},] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LWFtYmwtb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2xjdS1hbWJsLW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBdUIsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDJDQUEyQyxDQUFDO0FBQ3JGLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGdEQUFn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xuICAgIEZsZXhMYXlvdXRNb2R1bGUsXHJcbiAgICBCcm93c2VyQW5pbWF0aW9uc01vZHVsZSxcclxuICAgIE1hdE1lbnVNb2R1bGUsXHJcbiAgICBNYXRJY29uTW9kdWxlLFxyXG4gICAgTWF0U2VsZWN0TW9kdWxlLFxyXG4gICAgTWF0RGlhbG9nTW9kdWxlLFxyXG4gICAgTWF0QnV0dG9uTW9kdWxlLFxyXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZSxcclxuICAgIE1hdElucHV0TW9kdWxlLFxyXG4gICAgTWF0Rm9ybUZpZWxkTW9kdWxlLFxyXG4gICAgUm91dGVyTW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbTGFuZGluZ1BhZ2VDb21wb25lbnQsIEhhbWJ1cmdlck1lbnVDb21wb25lbnQsIE1hdEljb25Nb2R1bGUsIE15QXRsYXNDb21wb25lbnQsIExlZ2VuZENvbXBvbmVudF0sXHJcbiAgZW50cnlDb21wb25lbnRzOiBbTGFuZGluZ1BhZ2VDb21wb25lbnQsIEhhbWJ1cmdlck1lbnVDb21wb25lbnQsIExlZ2VuZENvbXBvbmVudCwgTXlBdGxhc0NvbXBvbmVudF1cclxufSlcclxuZXhwb3J0IGNsYXNzIExjdUFtYmxPbk1vZHVsZSB7XHJcbiAgc3RhdGljIGZvclJvb3QoKTogTW9kdWxlV2l0aFByb3ZpZGVycyB7XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBuZ01vZHVsZTogTGN1QW1ibE9uTW9kdWxlLFxyXG4gICAgICBwcm92aWRlcnM6IFtVc2Vyc1N0YXRlTWFuYWdlckNvbnRleHRdXHJcbiAgICB9O1xyXG4gIH1cclxufVxyXG4iXX0= |
@@ -8,4 +8,3 @@ /** | ||
*/ | ||
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, Constants, HamburgerMenuModel, LandingPageComponent, LcuAmblOnModule, MyAtlasComponent, LegendComponent, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent } from './lcu.api'; | ||
export { MapService as ɵa } from './lib/services/map.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEscVBBQWMsV0FBVyxDQUFDO0FBRTFCLE9BQU8sRUFBQyxVQUFVLElBQUksRUFBRSxFQUFDLE1BQU0sNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGN1LmFwaSc7XG5cbmV4cG9ydCB7TWFwU2VydmljZSBhcyDJtWF9IGZyb20gJy4vbGliL3NlcnZpY2VzL21hcC5zZXJ2aWNlJzsiXX0= | ||
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, Constants, HamburgerMenuModel, LandingPageComponent, LcuAmblOnModule, MyAtlasComponent, LegendComponent } from './lcu.api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsc0xBQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xjdS5hcGknO1xuIl19 |
@@ -15,7 +15,2 @@ /** | ||
export { LegendComponent } from './lib/controls/legend/legend.component'; | ||
// map stuff: | ||
export { IndividualMap } from './lib/models/individual-map.model'; | ||
export { MapMarker } from './lib/models/map-marker.model'; | ||
export { MapComponent } from './lib/controls/map/map.component'; | ||
export { AddMapMarkerComponent } from './lib/controls/map/add-map-marker/add-map-marker.component'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LmFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxjdS5hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLHlDQUFjLCtDQUErQyxDQUFDO0FBQzlELDJCQUFjLHFDQUFxQyxDQUFDOztBQUVwRCx1Q0FBYyx3REFBd0QsQ0FBQztBQUN2RSwwQkFBYyxpQ0FBaUMsQ0FBQztBQUNoRCxtQ0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxxQ0FBYyxvREFBb0QsQ0FBQztBQUNuRSxnQ0FBYywwQkFBMEIsQ0FBQztBQUN6QyxpQ0FBYyw0Q0FBNEMsQ0FBQztBQUMzRCxnQ0FBYyx3Q0FBd0MsQ0FBQzs7QUFFdkQsOEJBQWMsbUNBQW1DLENBQUM7QUFDbEQsMEJBQWMsK0JBQStCLENBQUM7QUFDOUMsNkJBQWMsa0NBQWtDLENBQUM7QUFDakQsc0NBQWMsNERBQTRELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9zdGF0ZS91c2Vycy91c2Vycy1zdGF0ZS1tYW5hZ2VyLmNvbnRleHQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zdGF0ZS91c2Vycy91c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L2xpYi9jb250cm9scy9sZWdlbmQvbGVnZW5kLmNvbXBvbmVudCc7XHJcblxyXG4iXX0= |
@@ -14,6 +14,3 @@ /** | ||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | ||
import { AgmCoreModule } from '@agm/core'; | ||
import { ReactiveFormsModule } from '@angular/forms'; | ||
import { MapComponent } from './controls/map/map.component'; | ||
import { AddMapMarkerComponent } from './controls/map/add-map-marker/add-map-marker.component'; | ||
import { RouterModule } from '@angular/router'; | ||
@@ -40,3 +37,3 @@ import { MyAtlasComponent } from './controls/my-atlas/my-atlas.component'; | ||
{ type: NgModule, args: [{ | ||
declarations: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MyAtlasComponent, LegendComponent], | ||
declarations: [LandingPageComponent, HamburgerMenuComponent, MyAtlasComponent, LegendComponent], | ||
imports: [ | ||
@@ -49,4 +46,2 @@ CommonModule, | ||
MatIconModule, | ||
AgmCoreModule.forRoot({ apiKey: 'AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg' }), | ||
MatIconModule, | ||
MatSelectModule, | ||
@@ -60,4 +55,4 @@ MatDialogModule, | ||
], | ||
exports: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MatIconModule, MyAtlasComponent, LegendComponent], | ||
entryComponents: [LandingPageComponent, HamburgerMenuComponent, AddMapMarkerComponent, LegendComponent, MyAtlasComponent] | ||
exports: [LandingPageComponent, HamburgerMenuComponent, MatIconModule, MyAtlasComponent, LegendComponent], | ||
entryComponents: [LandingPageComponent, HamburgerMenuComponent, LegendComponent, MyAtlasComponent] | ||
},] } | ||
@@ -68,2 +63,2 @@ ]; | ||
export { LcuAmblOnModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LWFtYmwtb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uL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bnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBMY3VBbWJsT25Nb2R1bGUge1xyXG4gIHN0YXRpYyBmb3JSb290KCk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgbmdNb2R1bGU6IExjdUFtYmxPbk1vZHVsZSxcclxuICAgICAgcHJvdmlkZXJzOiBbVXNlcnNTdGF0ZU1hbmFnZXJDb250ZXh0XVxyXG4gICAgfTtcclxuICB9XHJcbn1cclxuIl19 |
@@ -5,9 +5,8 @@ import { __awaiter } from 'tslib'; | ||
import { MatMenuModule } from '@angular/material/menu'; | ||
import { MatIconModule, MatSelectModule, MatDialogModule, MatButtonModule, MatInputModule, MatFormFieldModule } from '@angular/material'; | ||
import { FlexLayoutModule } from '@angular/flex-layout'; | ||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | ||
import { AgmCoreModule } from '@agm/core'; | ||
import { MAT_DIALOG_DATA, MatDialog, MatIconModule, MatSelectModule, MatDialogModule, MatButtonModule, MatInputModule, MatFormFieldModule } from '@angular/material'; | ||
import { FormGroup, FormControl, Validators, ReactiveFormsModule } from '@angular/forms'; | ||
import { ReactiveFormsModule } from '@angular/forms'; | ||
import { RouterModule } from '@angular/router'; | ||
import { Injectable, Injector, NgModule, Component, Input, Inject, defineInjectable, inject, INJECTOR } from '@angular/core'; | ||
import { Injectable, Injector, NgModule, Component, Input, defineInjectable, inject, INJECTOR } from '@angular/core'; | ||
import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop'; | ||
@@ -187,226 +186,2 @@ | ||
*/ | ||
class IndividualMap { | ||
/** | ||
* | ||
* @param {?} mapInfo The object containing the necessary data for displaying a map (<agm-map>) | ||
*/ | ||
constructor(mapInfo) { | ||
this.title = mapInfo.title; | ||
this.origin = mapInfo.origin; | ||
this.zoom = mapInfo.zoom; | ||
this.locationList = mapInfo.locationList; | ||
} | ||
} | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
class MapService { | ||
constructor() { } | ||
/** | ||
* | ||
* @param {?} icon The icon to be converted to a path | ||
* | ||
* Converts icon to path for use in displaying custom icon as map location marker | ||
* @return {?} | ||
*/ | ||
ConvertIconUrl(icon) { | ||
/** @type {?} */ | ||
let orig = icon; | ||
/** @type {?} */ | ||
let iconUrl = `./assets/${orig}.png`; | ||
return { url: iconUrl, scaledSize: { width: 40, height: 60 } }; | ||
} | ||
} | ||
MapService.decorators = [ | ||
{ type: Injectable, args: [{ | ||
providedIn: 'root' | ||
},] } | ||
]; | ||
/** @nocollapse */ | ||
MapService.ctorParameters = () => []; | ||
/** @nocollapse */ MapService.ngInjectableDef = defineInjectable({ factory: function MapService_Factory() { return new MapService(); }, token: MapService, providedIn: "root" }); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
class AddMapMarkerComponent { | ||
// PROPERTIES | ||
// CONSTRUCTORS | ||
/** | ||
* @param {?} passedData | ||
* @param {?} mapService | ||
*/ | ||
constructor(passedData, mapService) { | ||
this.passedData = passedData; | ||
this.mapService = mapService; | ||
} | ||
// LIFE CYCLE | ||
/** | ||
* @return {?} | ||
*/ | ||
ngOnInit() { | ||
this.NewMarkerForm = new FormGroup({ | ||
title: new FormControl('', { validators: [Validators.required] }), | ||
icon: new FormControl('', { validators: [Validators.required] }) | ||
}); | ||
this.NewMarker = { | ||
title: '', | ||
icon: null, | ||
lat: 40.00, | ||
lng: -100 | ||
}; | ||
// make these into a constants file somewhere because this list is written somewhere else as well | ||
this.IconList = ['bar', 'brewery', 'golf course', 'lodging', 'museum', 'national park', 'restaurant', 'ski area', 'UNESCO', 'vineyard']; | ||
} | ||
// API METHODS | ||
/** | ||
* Converts data from the form to an icon to be placed on the map | ||
* @return {?} | ||
*/ | ||
SetMarkerData() { | ||
this.NewMarker.title = this.NewMarkerForm.value.title; | ||
this.NewMarker.icon = this.NewMarkerForm.value.icon; | ||
this.NewMarker.lat = this.passedData.lat; | ||
this.NewMarker.lng = this.passedData.lng; | ||
this.NewMarker.icon = this.mapService.ConvertIconUrl(this.NewMarker.icon); | ||
} | ||
} | ||
AddMapMarkerComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'lcu-add-map-marker', | ||
template: "<h1 mat-dialog-title>Add a marker here?</h1>\r\n\r\n\r\n<mat-dialog-content>\r\n <form fxLayout=\"column\" fxLayoutAlign=\"center center\" [formGroup]=\"NewMarkerForm\" fxLayoutGap=\"30px\">\r\n <h4>Marker Title:</h4>\r\n <mat-form-field>\r\n <input type=\"text\" matInput formControlName=\"title\">\r\n <mat-hint>The title for the map marker</mat-hint>\r\n <mat-error>Invalid or missing title</mat-error>\r\n </mat-form-field>\r\n\r\n <h4>Choose Icon:</h4>\r\n <mat-form-field>\r\n <mat-label>Icon</mat-label>\r\n <mat-select formControlName=\"icon\">\r\n <mat-option *ngFor=\"let icon of IconList\" [value]=\"icon\">{{icon}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n </form>\r\n</mat-dialog-content>\r\n\r\n\r\n<button mat-raised-button color=\"primary\" [mat-dialog-close]=\"NewMarker\" (click)=\"SetMarkerData()\"\r\n [disabled]=\"NewMarkerForm.invalid\">Add Marker</button>\r\n<button mat-raised-button color=\"accent\" [mat-dialog-close]=\"false\">Cancel</button>", | ||
styles: [""] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
AddMapMarkerComponent.ctorParameters = () => [ | ||
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }, | ||
{ type: MapService } | ||
]; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
class MapComponent { | ||
// CONSTRUCTORS | ||
/** | ||
* @param {?} dialog | ||
* @param {?} mapService | ||
*/ | ||
constructor(dialog, mapService) { | ||
this.dialog = dialog; | ||
this.mapService = mapService; | ||
// PROPERTIES | ||
this.isDoubleClick = false; | ||
this.expectedDoubleClickElapsedTime = 500; | ||
/** | ||
* The map model object (IndividualMap model) containing all the settings for the map to be displayed | ||
*/ | ||
this.mapModel = { | ||
title: 'Default Map', | ||
origin: { lat: 40.037757, lng: -105.278324 }, | ||
zoom: 13, | ||
locationList: [ | ||
{ title: 'Favorite steak house', lat: 40.017557, lng: -105.278199, icon: 'restaurant' }, | ||
{ title: 'Favorite UNESCO', lat: 40.027657, lng: -105.288199, icon: 'UNESCO' }, | ||
{ title: 'Nice museum', lat: 40.037757, lng: -105.298199, icon: 'museum' }, | ||
{ title: 'Good brewery', lat: 40.047857, lng: -105.268199, icon: 'brewery' }, | ||
{ title: 'Favorite ski area', lat: 40.057557, lng: -105.288199, icon: 'ski area' }, | ||
{ title: 'Favorite vineyard', lat: 40.060657, lng: -105.298199, icon: 'vineyard' }, | ||
{ title: 'Nice golf course', lat: 40.037757, lng: -105.258199, icon: 'golf course' }, | ||
{ title: 'Good lodging', lat: 40.037757, lng: -105.278199, icon: 'lodging' }, | ||
{ title: 'Nice national park', lat: 40.060657, lng: -105.278199, icon: 'national park' }, | ||
{ title: 'Good bar', lat: 40.017557, lng: -105.288199, icon: 'bar' } | ||
] | ||
}; | ||
} | ||
// LIFE CYCLE | ||
/** | ||
* @return {?} | ||
*/ | ||
ngOnInit() { | ||
this.CurrentMapModel = this.mapModel; | ||
this.CurrentMapModel.locationList.forEach((/** | ||
* @param {?} loc | ||
* @return {?} | ||
*/ | ||
loc => { | ||
loc.icon = this.mapService.ConvertIconUrl(loc.icon); | ||
})); | ||
// this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList); | ||
} | ||
// API METHODS | ||
/** | ||
* | ||
* @param {?} event The event passed in upon user clicking the map | ||
* | ||
* Runs when user clicks location on map. Modal displays prompting user to enter info about custom location marker | ||
* @return {?} | ||
*/ | ||
OnChoseLocation(event) { | ||
setTimeout((/** | ||
* @param {?} x | ||
* @return {?} | ||
*/ | ||
x => { | ||
if (!this.isDoubleClick) { | ||
/** @type {?} */ | ||
const dialogRef = this.dialog.open(AddMapMarkerComponent, { | ||
data: { | ||
lat: event.coords.lat, | ||
lng: event.coords.lng | ||
} | ||
}); | ||
dialogRef.afterClosed().subscribe((/** | ||
* @param {?} res | ||
* @return {?} | ||
*/ | ||
res => { | ||
if (res) { | ||
this.CurrentMapModel.locationList.push(res); | ||
} | ||
})); | ||
} | ||
}), this.expectedDoubleClickElapsedTime); | ||
} | ||
/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
OnMapDoubleClicked(event) { | ||
this.isDoubleClick = true; | ||
console.log('double clicked'); | ||
setTimeout((/** | ||
* @param {?} x | ||
* @return {?} | ||
*/ | ||
x => { | ||
this.isDoubleClick = false; | ||
}), 500); // about after enough time it takes to zoom, turn off the "double-clicked" flag | ||
} | ||
} | ||
MapComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'lcu-map', | ||
template: "<div class=\"icon-list\">\r\n <div>\r\n <div class=\"top-icon-set\">\r\n <mat-icon class=\"hamburger-icon\">menu</mat-icon>\r\n <mat-icon class=\"chevron-icon\">chevron_left</mat-icon>\r\n </div>\r\n <div class=\"bottom-icon-set\" fxLayoutAlign.lt-sm=\"flex-start\" fxLayoutAlign=\"space-around\" fxLayoutGap.lt-sm=\"50px\">\r\n <mat-icon>search</mat-icon>\r\n <mat-icon >add</mat-icon>\r\n <mat-icon>layers</mat-icon>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<agm-map [latitude]=\"CurrentMapModel.origin.lat\" [longitude]=\"CurrentMapModel.origin.lng\" [title]=\"CurrentMapModel.title\" [zoom]=\"CurrentMapModel.zoom\"\r\n (mapDblClick)=\"OnMapDoubleClicked($event)\" (mapClick)=\"OnChoseLocation($event)\">\r\n <div *ngFor=\"let marker of CurrentMapModel.locationList\">\r\n <agm-marker [latitude]=\"marker.lat\" [longitude]=\"marker.lng\" [title]=\"marker.title\" [iconUrl]=\"marker.icon\"></agm-marker>\r\n </div>\r\n</agm-map>\r\n\r\n", | ||
styles: ["mat-icon{font-size:30px}.icon-list{padding:5px}.hamburger-icon{position:absolute;left:10px}@media (max-width:600px){.hamburger-icon{position:relative}}.chevron-icon{position:absolute;right:10px}.bottom-icon-set{width:80%;margin:auto}@media (max-width:600px){.bottom-icon-set{margin-left:10px}}agm-map{height:700px}"] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
MapComponent.ctorParameters = () => [ | ||
{ type: MatDialog }, | ||
{ type: MapService } | ||
]; | ||
MapComponent.propDecorators = { | ||
mapModel: [{ type: Input }] | ||
}; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
class MyAtlasComponent { | ||
@@ -486,3 +261,3 @@ constructor() { } | ||
{ type: NgModule, args: [{ | ||
declarations: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MyAtlasComponent, LegendComponent], | ||
declarations: [LandingPageComponent, HamburgerMenuComponent, MyAtlasComponent, LegendComponent], | ||
imports: [ | ||
@@ -495,4 +270,2 @@ CommonModule, | ||
MatIconModule, | ||
AgmCoreModule.forRoot({ apiKey: 'AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg' }), | ||
MatIconModule, | ||
MatSelectModule, | ||
@@ -506,4 +279,4 @@ MatDialogModule, | ||
], | ||
exports: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MatIconModule, MyAtlasComponent, LegendComponent], | ||
entryComponents: [LandingPageComponent, HamburgerMenuComponent, AddMapMarkerComponent, LegendComponent, MyAtlasComponent] | ||
exports: [LandingPageComponent, HamburgerMenuComponent, MatIconModule, MyAtlasComponent, LegendComponent], | ||
entryComponents: [LandingPageComponent, HamburgerMenuComponent, LegendComponent, MyAtlasComponent] | ||
},] } | ||
@@ -516,14 +289,2 @@ ]; | ||
*/ | ||
class MapMarker { | ||
/** | ||
* | ||
* @param {?} icon The object containing data for a single point (a map marker) on a map (<agm-map>) | ||
*/ | ||
constructor(icon) { | ||
this.title = icon.title; | ||
this.icon = icon.icon; | ||
this.lat = icon.lat; | ||
this.lng = icon.lng; | ||
} | ||
} | ||
@@ -535,9 +296,4 @@ /** | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, Constants, HamburgerMenuModel, LandingPageComponent, LcuAmblOnModule, MyAtlasComponent, LegendComponent }; | ||
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, Constants, HamburgerMenuModel, LandingPageComponent, LcuAmblOnModule, MyAtlasComponent, LegendComponent, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent, MapService as ɵa }; | ||
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.js.map |
@@ -5,9 +5,8 @@ import { __extends, __awaiter, __generator } from 'tslib'; | ||
import { MatMenuModule } from '@angular/material/menu'; | ||
import { MatIconModule, MatSelectModule, MatDialogModule, MatButtonModule, MatInputModule, MatFormFieldModule } from '@angular/material'; | ||
import { FlexLayoutModule } from '@angular/flex-layout'; | ||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | ||
import { AgmCoreModule } from '@agm/core'; | ||
import { MAT_DIALOG_DATA, MatDialog, MatIconModule, MatSelectModule, MatDialogModule, MatButtonModule, MatInputModule, MatFormFieldModule } from '@angular/material'; | ||
import { FormGroup, FormControl, Validators, ReactiveFormsModule } from '@angular/forms'; | ||
import { ReactiveFormsModule } from '@angular/forms'; | ||
import { RouterModule } from '@angular/router'; | ||
import { Injectable, Injector, NgModule, Component, Input, Inject, defineInjectable, inject, INJECTOR } from '@angular/core'; | ||
import { Injectable, Injector, NgModule, Component, Input, defineInjectable, inject, INJECTOR } from '@angular/core'; | ||
import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop'; | ||
@@ -232,281 +231,2 @@ | ||
*/ | ||
var IndividualMap = /** @class */ (function () { | ||
/** | ||
* | ||
* @param mapInfo The object containing the necessary data for displaying a map (<agm-map>) | ||
*/ | ||
function IndividualMap(mapInfo) { | ||
this.title = mapInfo.title; | ||
this.origin = mapInfo.origin; | ||
this.zoom = mapInfo.zoom; | ||
this.locationList = mapInfo.locationList; | ||
} | ||
return IndividualMap; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var MapService = /** @class */ (function () { | ||
function MapService() { | ||
} | ||
/** | ||
* | ||
* @param icon The icon to be converted to a path | ||
* | ||
* Converts icon to path for use in displaying custom icon as map location marker | ||
*/ | ||
/** | ||
* | ||
* @param {?} icon The icon to be converted to a path | ||
* | ||
* Converts icon to path for use in displaying custom icon as map location marker | ||
* @return {?} | ||
*/ | ||
MapService.prototype.ConvertIconUrl = /** | ||
* | ||
* @param {?} icon The icon to be converted to a path | ||
* | ||
* Converts icon to path for use in displaying custom icon as map location marker | ||
* @return {?} | ||
*/ | ||
function (icon) { | ||
/** @type {?} */ | ||
var orig = icon; | ||
/** @type {?} */ | ||
var iconUrl = "./assets/" + orig + ".png"; | ||
return { url: iconUrl, scaledSize: { width: 40, height: 60 } }; | ||
}; | ||
MapService.decorators = [ | ||
{ type: Injectable, args: [{ | ||
providedIn: 'root' | ||
},] } | ||
]; | ||
/** @nocollapse */ | ||
MapService.ctorParameters = function () { return []; }; | ||
/** @nocollapse */ MapService.ngInjectableDef = defineInjectable({ factory: function MapService_Factory() { return new MapService(); }, token: MapService, providedIn: "root" }); | ||
return MapService; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var AddMapMarkerComponent = /** @class */ (function () { | ||
// PROPERTIES | ||
// CONSTRUCTORS | ||
function AddMapMarkerComponent(passedData, mapService) { | ||
this.passedData = passedData; | ||
this.mapService = mapService; | ||
} | ||
// LIFE CYCLE | ||
// LIFE CYCLE | ||
/** | ||
* @return {?} | ||
*/ | ||
AddMapMarkerComponent.prototype.ngOnInit = | ||
// LIFE CYCLE | ||
/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
this.NewMarkerForm = new FormGroup({ | ||
title: new FormControl('', { validators: [Validators.required] }), | ||
icon: new FormControl('', { validators: [Validators.required] }) | ||
}); | ||
this.NewMarker = { | ||
title: '', | ||
icon: null, | ||
lat: 40.00, | ||
lng: -100 | ||
}; | ||
// make these into a constants file somewhere because this list is written somewhere else as well | ||
this.IconList = ['bar', 'brewery', 'golf course', 'lodging', 'museum', 'national park', 'restaurant', 'ski area', 'UNESCO', 'vineyard']; | ||
}; | ||
// API METHODS | ||
/** | ||
* Converts data from the form to an icon to be placed on the map | ||
*/ | ||
// API METHODS | ||
/** | ||
* Converts data from the form to an icon to be placed on the map | ||
* @return {?} | ||
*/ | ||
AddMapMarkerComponent.prototype.SetMarkerData = | ||
// API METHODS | ||
/** | ||
* Converts data from the form to an icon to be placed on the map | ||
* @return {?} | ||
*/ | ||
function () { | ||
this.NewMarker.title = this.NewMarkerForm.value.title; | ||
this.NewMarker.icon = this.NewMarkerForm.value.icon; | ||
this.NewMarker.lat = this.passedData.lat; | ||
this.NewMarker.lng = this.passedData.lng; | ||
this.NewMarker.icon = this.mapService.ConvertIconUrl(this.NewMarker.icon); | ||
}; | ||
AddMapMarkerComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'lcu-add-map-marker', | ||
template: "<h1 mat-dialog-title>Add a marker here?</h1>\r\n\r\n\r\n<mat-dialog-content>\r\n <form fxLayout=\"column\" fxLayoutAlign=\"center center\" [formGroup]=\"NewMarkerForm\" fxLayoutGap=\"30px\">\r\n <h4>Marker Title:</h4>\r\n <mat-form-field>\r\n <input type=\"text\" matInput formControlName=\"title\">\r\n <mat-hint>The title for the map marker</mat-hint>\r\n <mat-error>Invalid or missing title</mat-error>\r\n </mat-form-field>\r\n\r\n <h4>Choose Icon:</h4>\r\n <mat-form-field>\r\n <mat-label>Icon</mat-label>\r\n <mat-select formControlName=\"icon\">\r\n <mat-option *ngFor=\"let icon of IconList\" [value]=\"icon\">{{icon}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n </form>\r\n</mat-dialog-content>\r\n\r\n\r\n<button mat-raised-button color=\"primary\" [mat-dialog-close]=\"NewMarker\" (click)=\"SetMarkerData()\"\r\n [disabled]=\"NewMarkerForm.invalid\">Add Marker</button>\r\n<button mat-raised-button color=\"accent\" [mat-dialog-close]=\"false\">Cancel</button>", | ||
styles: [""] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
AddMapMarkerComponent.ctorParameters = function () { return [ | ||
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }, | ||
{ type: MapService } | ||
]; }; | ||
return AddMapMarkerComponent; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var MapComponent = /** @class */ (function () { | ||
// CONSTRUCTORS | ||
function MapComponent(dialog, mapService) { | ||
this.dialog = dialog; | ||
this.mapService = mapService; | ||
// PROPERTIES | ||
this.isDoubleClick = false; | ||
this.expectedDoubleClickElapsedTime = 500; | ||
/** | ||
* The map model object (IndividualMap model) containing all the settings for the map to be displayed | ||
*/ | ||
this.mapModel = { | ||
title: 'Default Map', | ||
origin: { lat: 40.037757, lng: -105.278324 }, | ||
zoom: 13, | ||
locationList: [ | ||
{ title: 'Favorite steak house', lat: 40.017557, lng: -105.278199, icon: 'restaurant' }, | ||
{ title: 'Favorite UNESCO', lat: 40.027657, lng: -105.288199, icon: 'UNESCO' }, | ||
{ title: 'Nice museum', lat: 40.037757, lng: -105.298199, icon: 'museum' }, | ||
{ title: 'Good brewery', lat: 40.047857, lng: -105.268199, icon: 'brewery' }, | ||
{ title: 'Favorite ski area', lat: 40.057557, lng: -105.288199, icon: 'ski area' }, | ||
{ title: 'Favorite vineyard', lat: 40.060657, lng: -105.298199, icon: 'vineyard' }, | ||
{ title: 'Nice golf course', lat: 40.037757, lng: -105.258199, icon: 'golf course' }, | ||
{ title: 'Good lodging', lat: 40.037757, lng: -105.278199, icon: 'lodging' }, | ||
{ title: 'Nice national park', lat: 40.060657, lng: -105.278199, icon: 'national park' }, | ||
{ title: 'Good bar', lat: 40.017557, lng: -105.288199, icon: 'bar' } | ||
] | ||
}; | ||
} | ||
// LIFE CYCLE | ||
// LIFE CYCLE | ||
/** | ||
* @return {?} | ||
*/ | ||
MapComponent.prototype.ngOnInit = | ||
// LIFE CYCLE | ||
/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
var _this = this; | ||
this.CurrentMapModel = this.mapModel; | ||
this.CurrentMapModel.locationList.forEach((/** | ||
* @param {?} loc | ||
* @return {?} | ||
*/ | ||
function (loc) { | ||
loc.icon = _this.mapService.ConvertIconUrl(loc.icon); | ||
})); | ||
// this.CurrentMapModel.locationList = this.convertMarkerUrls(this.CurrentMapModel.locationList); | ||
}; | ||
// API METHODS | ||
/** | ||
* | ||
* @param event The event passed in upon user clicking the map | ||
* | ||
* Runs when user clicks location on map. Modal displays prompting user to enter info about custom location marker | ||
*/ | ||
// API METHODS | ||
/** | ||
* | ||
* @param {?} event The event passed in upon user clicking the map | ||
* | ||
* Runs when user clicks location on map. Modal displays prompting user to enter info about custom location marker | ||
* @return {?} | ||
*/ | ||
MapComponent.prototype.OnChoseLocation = | ||
// API METHODS | ||
/** | ||
* | ||
* @param {?} event The event passed in upon user clicking the map | ||
* | ||
* Runs when user clicks location on map. Modal displays prompting user to enter info about custom location marker | ||
* @return {?} | ||
*/ | ||
function (event) { | ||
var _this = this; | ||
setTimeout((/** | ||
* @param {?} x | ||
* @return {?} | ||
*/ | ||
function (x) { | ||
if (!_this.isDoubleClick) { | ||
/** @type {?} */ | ||
var dialogRef = _this.dialog.open(AddMapMarkerComponent, { | ||
data: { | ||
lat: event.coords.lat, | ||
lng: event.coords.lng | ||
} | ||
}); | ||
dialogRef.afterClosed().subscribe((/** | ||
* @param {?} res | ||
* @return {?} | ||
*/ | ||
function (res) { | ||
if (res) { | ||
_this.CurrentMapModel.locationList.push(res); | ||
} | ||
})); | ||
} | ||
}), this.expectedDoubleClickElapsedTime); | ||
}; | ||
/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
MapComponent.prototype.OnMapDoubleClicked = /** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
function (event) { | ||
var _this = this; | ||
this.isDoubleClick = true; | ||
console.log('double clicked'); | ||
setTimeout((/** | ||
* @param {?} x | ||
* @return {?} | ||
*/ | ||
function (x) { | ||
_this.isDoubleClick = false; | ||
}), 500); // about after enough time it takes to zoom, turn off the "double-clicked" flag | ||
}; | ||
MapComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'lcu-map', | ||
template: "<div class=\"icon-list\">\r\n <div>\r\n <div class=\"top-icon-set\">\r\n <mat-icon class=\"hamburger-icon\">menu</mat-icon>\r\n <mat-icon class=\"chevron-icon\">chevron_left</mat-icon>\r\n </div>\r\n <div class=\"bottom-icon-set\" fxLayoutAlign.lt-sm=\"flex-start\" fxLayoutAlign=\"space-around\" fxLayoutGap.lt-sm=\"50px\">\r\n <mat-icon>search</mat-icon>\r\n <mat-icon >add</mat-icon>\r\n <mat-icon>layers</mat-icon>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<agm-map [latitude]=\"CurrentMapModel.origin.lat\" [longitude]=\"CurrentMapModel.origin.lng\" [title]=\"CurrentMapModel.title\" [zoom]=\"CurrentMapModel.zoom\"\r\n (mapDblClick)=\"OnMapDoubleClicked($event)\" (mapClick)=\"OnChoseLocation($event)\">\r\n <div *ngFor=\"let marker of CurrentMapModel.locationList\">\r\n <agm-marker [latitude]=\"marker.lat\" [longitude]=\"marker.lng\" [title]=\"marker.title\" [iconUrl]=\"marker.icon\"></agm-marker>\r\n </div>\r\n</agm-map>\r\n\r\n", | ||
styles: ["mat-icon{font-size:30px}.icon-list{padding:5px}.hamburger-icon{position:absolute;left:10px}@media (max-width:600px){.hamburger-icon{position:relative}}.chevron-icon{position:absolute;right:10px}.bottom-icon-set{width:80%;margin:auto}@media (max-width:600px){.bottom-icon-set{margin-left:10px}}agm-map{height:700px}"] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
MapComponent.ctorParameters = function () { return [ | ||
{ type: MatDialog }, | ||
{ type: MapService } | ||
]; }; | ||
MapComponent.propDecorators = { | ||
mapModel: [{ type: Input }] | ||
}; | ||
return MapComponent; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var MyAtlasComponent = /** @class */ (function () { | ||
@@ -603,3 +323,3 @@ function MyAtlasComponent() { | ||
{ type: NgModule, args: [{ | ||
declarations: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MyAtlasComponent, LegendComponent], | ||
declarations: [LandingPageComponent, HamburgerMenuComponent, MyAtlasComponent, LegendComponent], | ||
imports: [ | ||
@@ -612,4 +332,2 @@ CommonModule, | ||
MatIconModule, | ||
AgmCoreModule.forRoot({ apiKey: 'AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg' }), | ||
MatIconModule, | ||
MatSelectModule, | ||
@@ -623,4 +341,4 @@ MatDialogModule, | ||
], | ||
exports: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MatIconModule, MyAtlasComponent, LegendComponent], | ||
entryComponents: [LandingPageComponent, HamburgerMenuComponent, AddMapMarkerComponent, LegendComponent, MyAtlasComponent] | ||
exports: [LandingPageComponent, HamburgerMenuComponent, MatIconModule, MyAtlasComponent, LegendComponent], | ||
entryComponents: [LandingPageComponent, HamburgerMenuComponent, LegendComponent, MyAtlasComponent] | ||
},] } | ||
@@ -635,15 +353,2 @@ ]; | ||
*/ | ||
var MapMarker = /** @class */ (function () { | ||
/** | ||
* | ||
* @param icon The object containing data for a single point (a map marker) on a map (<agm-map>) | ||
*/ | ||
function MapMarker(icon) { | ||
this.title = icon.title; | ||
this.icon = icon.icon; | ||
this.lat = icon.lat; | ||
this.lng = icon.lng; | ||
} | ||
return MapMarker; | ||
}()); | ||
@@ -655,9 +360,4 @@ /** | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, Constants, HamburgerMenuModel, LandingPageComponent, LcuAmblOnModule, MyAtlasComponent, LegendComponent }; | ||
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, Constants, HamburgerMenuModel, LandingPageComponent, LcuAmblOnModule, MyAtlasComponent, LegendComponent, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent, MapService as ɵa }; | ||
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.js.map |
@@ -10,5 +10,1 @@ export * from './lib/state/users/users-state-manager.context'; | ||
export * from './lib/controls/legend/legend.component'; | ||
export * from './lib/models/individual-map.model'; | ||
export * from './lib/models/map-marker.model'; | ||
export * from './lib/controls/map/map.component'; | ||
export * from './lib/controls/map/add-map-marker/add-map-marker.component'; |
{ | ||
"name": "@ambl-on/lcu-ambl-on-common", | ||
"version": "0.1.52-my-atlas", | ||
"version": "0.1.53-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
212141
44
2013