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

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

Package Overview
Dependencies
Maintainers
2
Versions
420
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.1.47-integration to 0.1.48-google-map

1

ambl-on-lcu-ambl-on-common.d.ts

@@ -5,2 +5,1 @@ /**

export * from './lcu.api';
export { MapService as ɵa } from './lib/services/map.service';

2

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

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

{"__symbolic":"module","version":4,"metadata":{"UsersStateManagerContext":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@lcu-ide/common","name":"StateManagerContext","line":7,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":14,"character":34}]}],"SetActive":[{"__symbolic":"method"}],"defaultValue":[{"__symbolic":"method"}],"loadStateKey":[{"__symbolic":"method"}],"loadStateName":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"UsersState":{"__symbolic":"class","members":{}},"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 item 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":{"ngOnInit":[{"__symbolic":"method"}]}},"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"}]}},"Constants":{"__symbolic":"class","members":{},"statics":{"VAR_NAMES_MENU":[{"Label":"Home","Icon":"home","Url":"/home","Disabled":"false"},{"Label":"My Atlas","Icon":"public","Url":"/map","Disabled":"false"},{"Label":"My Itenerarries","Icon":"map","Url":"www","Disabled":"true"},{"Label":"My Top Lists","Icon":"sort","Url":"www","Disabled":"true"},{"Label":"My Albums","Icon":"photo_library","Url":"www","Disabled":"true"},{"Label":"My Friends","Icon":"group","Url":"www","Disabled":"true"},{"Label":"My Profile","Icon":"person","Url":"www","Disabled":"true"}]}},"HamburgerMenuModel":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}]}},"LcuAmblOnModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":19,"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":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":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@agm/core","name":"AgmCoreModule","line":27,"character":4},"member":"forRoot"},"arguments":[{"apiKey":"AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"}]},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatSelectModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatDialogModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatButtonModule","line":31,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":32,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":33,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":34,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":35,"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":37,"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":2,"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<mat-menu #legend=\"matMenu\"></mat-menu>\r\n","styles":[".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}"]}]}],"members":{"__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","LandingPageComponent":"./lib/controls/landing-page/landing-page.component","Constants":"./lib/utils/constants/constants","HamburgerMenuModel":"./lib/models/hamburger-menu.model","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 item 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":{"ngOnInit":[{"__symbolic":"method"}]}},"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"}]}},"Constants":{"__symbolic":"class","members":{},"statics":{"VAR_NAMES_MENU":[{"Label":"Home","Icon":"home","Url":"/home","Disabled":"false"},{"Label":"My Atlas","Icon":"public","Url":"/map","Disabled":"false"},{"Label":"My Itenerarries","Icon":"map","Url":"www","Disabled":"true"},{"Label":"My Top Lists","Icon":"sort","Url":"www","Disabled":"true"},{"Label":"My Albums","Icon":"photo_library","Url":"www","Disabled":"true"},{"Label":"My Friends","Icon":"group","Url":"www","Disabled":"true"},{"Label":"My Profile","Icon":"person","Url":"www","Disabled":"true"}]}},"HamburgerMenuModel":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}]}},"LcuAmblOnModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":14,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":4},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexLayoutModule","line":18,"character":4},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":19,"character":4},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":20,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":21,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatSelectModule","line":22,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatDialogModule","line":23,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatButtonModule","line":24,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":28,"character":4}],"exports":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":30,"character":58}],"entryComponents":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LcuAmblOnModule"},"providers":[{"__symbolic":"reference","name":"UsersStateManagerContext"}]}}}}},"origins":{"UsersStateManagerContext":"./lib/state/users/users-state-manager.context","UsersState":"./lib/state/users/users-state.model","HamburgerMenuComponent":"./lib/controls/hamburger-menu/hamburger-menu.component","LandingPageComponent":"./lib/controls/landing-page/landing-page.component","Constants":"./lib/utils/constants/constants","HamburgerMenuModel":"./lib/models/hamburger-menu.model","LcuAmblOnModule":"./lib/lcu-ambl-on.module"},"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')) :
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'], 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));
}(this, (function (exports,common,common$1,menu,flexLayout,animations,core,material,forms,router,i0) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@lcu-ide/common'), require('@angular/core'), 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')) :
typeof define === 'function' && define.amd ? define('@ambl-on/lcu-ambl-on-common', ['exports', '@lcu-ide/common', '@angular/core', '@angular/common', '@angular/material/menu', '@angular/material', '@angular/flex-layout', '@angular/platform-browser/animations', '@angular/forms', '@angular/router'], factory) :
(factory((global['ambl-on'] = global['ambl-on'] || {}, global['ambl-on']['lcu-ambl-on-common'] = {}),global.common,global.ng.core,global.ng.common,global.ng.material.menu,global.ng.material,global.ng['flex-layout'],global.ng.platformBrowser.animations,global.ng.forms,global.ng.router));
}(this, (function (exports,common,i0,common$1,menu,material,flexLayout,animations,forms,router) { 'use strict';

@@ -299,3 +299,3 @@ /*! *****************************************************************************

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}"]
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}"]
}] }

@@ -336,317 +336,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 () {
function MyAtlasComponent() {
}
/**
* @return {?}
*/
MyAtlasComponent.prototype.ngOnInit = /**
* @return {?}
*/
function () {
};
MyAtlasComponent.decorators = [
{ type: i0.Component, args: [{
selector: 'lcu-my-atlas',
template: "<p>\r\n my-atlas works!\r\n</p>\r\n",
styles: [""]
}] }
];
/** @nocollapse */
MyAtlasComponent.ctorParameters = function () { return []; };
return MyAtlasComponent;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var LegendComponent = /** @class */ (function () {
function LegendComponent() {
}
/**
* @return {?}
*/
LegendComponent.prototype.ngOnInit = /**
* @return {?}
*/
function () {
};
LegendComponent.decorators = [
{ type: i0.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<mat-menu #legend=\"matMenu\"></mat-menu>\r\n",
styles: [".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}"]
}] }
];
/** @nocollapse */
LegendComponent.ctorParameters = function () { return []; };
return LegendComponent;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var LcuAmblOnModule = /** @class */ (function () {

@@ -669,3 +354,3 @@ function LcuAmblOnModule() {

{ type: i0.NgModule, args: [{
declarations: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MyAtlasComponent, LegendComponent],
declarations: [LandingPageComponent, HamburgerMenuComponent],
imports: [

@@ -677,4 +362,2 @@ common$1.CommonModule,

material.MatIconModule,
core.AgmCoreModule.forRoot({ apiKey: 'AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg' }),
material.MatIconModule,
material.MatSelectModule,

@@ -688,4 +371,4 @@ material.MatDialogModule,

],
exports: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, material.MatIconModule, MyAtlasComponent, LegendComponent],
entryComponents: [LandingPageComponent, HamburgerMenuComponent, AddMapMarkerComponent, LegendComponent, MyAtlasComponent]
exports: [LandingPageComponent, HamburgerMenuComponent, material.MatIconModule],
entryComponents: [LandingPageComponent, HamburgerMenuComponent]
},] }

@@ -700,15 +383,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;
}());

@@ -719,26 +389,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;

@@ -751,9 +398,2 @@ exports.UsersState = UsersState;

exports.LcuAmblOnModule = LcuAmblOnModule;
exports.MyAtlasComponent = MyAtlasComponent;
exports.LegendComponent = LegendComponent;
exports.IndividualMap = IndividualMap;
exports.MapMarker = MapMarker;
exports.MapComponent = MapComponent;
exports.AddMapMarkerComponent = AddMapMarkerComponent;
exports.ɵa = MapService;

@@ -760,0 +400,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

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

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@lcu-ide/common"),require("@angular/common"),require("@angular/material/menu"),require("@angular/flex-layout"),require("@angular/platform-browser/animations"),require("@agm/core"),require("@angular/material"),require("@angular/forms"),require("@angular/router"),require("@angular/core")):"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"],e):e((t["ambl-on"]=t["ambl-on"]||{},t["ambl-on"]["lcu-ambl-on-common"]={}),t.common,t.ng.common,t.ng.material.menu,t.ng["flex-layout"],t.ng.platformBrowser.animations,t.core,t.ng.material,t.ng.forms,t.ng.router,t.ng.core)}(this,function(t,e,n,r,o,a,i,l,c,u,s){"use strict";var m=function(t,e){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function d(e,i,l,c){return new(l||(l=Promise))(function(t,n){function r(t){try{a(c.next(t))}catch(e){n(e)}}function o(t){try{a(c["throw"](t))}catch(e){n(e)}}function a(e){e.done?t(e.value):new l(function(t){t(e.value)}).then(r,o)}a((c=c.apply(e,i||[])).next())})}function p(r,o){var a,i,l,t,c={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return t={next:e(0),"throw":e(1),"return":e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function n(t){if(a)throw new TypeError("Generator is already executing.");for(;c;)try{if(a=1,i&&(l=2&t[0]?i["return"]:t[0]?i["throw"]||((l=i["return"])&&l.call(i),0):i.next)&&!(l=l.call(i,t[1])).done)return l;switch(i=0,l&&(t=[2&t[0],l.value]),t[0]){case 0:case 1:l=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,i=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(!(l=0<(l=c.trys).length&&l[l.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!l||t[1]>l[0]&&t[1]<l[3])){c.label=t[1];break}if(6===t[0]&&c.label<l[1]){c.label=l[1],l=t;break}if(l&&c.label<l[2]){c.label=l[2],c.ops.push(t);break}l[2]&&c.ops.pop(),c.trys.pop();continue}t=o.call(r,c)}catch(e){t=[6,e],i=0}finally{a=l=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([e,t])}}}var g,f=(function E(t,e){function n(){this.constructor=t}m(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(h,g=e.StateManagerContext),h.prototype.SetActive=function(){},h.prototype.defaultValue=function(){return{Loading:!0}},h.prototype.loadStateKey=function(){return d(this,void 0,void 0,function(){return p(this,function(t){return[2,"main"]})})},h.prototype.loadStateName=function(){return d(this,void 0,void 0,function(){return p(this,function(t){return[2,"users "]})})},h.decorators=[{type:s.Injectable,args:[{providedIn:"root"}]}],h.ctorParameters=function(){return[{type:s.Injector}]},h.ngInjectableDef=s.defineInjectable({factory:function(){return new h(s.inject(s.INJECTOR))},token:h,providedIn:"root"}),h);function h(t){var e=g.call(this,t)||this;return e.injector=t,e}function b(){}var y=(M.VAR_NAMES_MENU=[{Label:"Home",Icon:"home",Url:"/home",Disabled:"false"},{Label:"My Atlas",Icon:"public",Url:"/map",Disabled:"false"},{Label:"My Itenerarries",Icon:"map",Url:"www",Disabled:"true"},{Label:"My Top Lists",Icon:"sort",Url:"www",Disabled:"true"},{Label:"My Albums",Icon:"photo_library",Url:"www",Disabled:"true"},{Label:"My Friends",Icon:"group",Url:"www",Disabled:"true"},{Label:"My Profile",Icon:"person",Url:"www",Disabled:"true"}],M);function M(){}var v=(k.prototype.ngOnInit=function(){this.MenuItems=y.VAR_NAMES_MENU},k.decorators=[{type:s.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 item 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}"]}]}],k);function k(){}var w=(x.prototype.ngOnInit=function(){},x.decorators=[{type:s.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}"]}]}],x.ctorParameters=function(){return[]},x);function x(){this.Title="Ambl On",this.Slogan="Down the Road, Around the World!"}function C(t,e,n,r){this.Label=t,this.Icon=e,this.Url=n,this.Disabled=r}var I=(L.prototype.ConvertIconUrl=function(t){return{url:"./assets/"+t+".png",scaledSize:{width:40,height:60}}},L.decorators=[{type:s.Injectable,args:[{providedIn:"root"}]}],L.ctorParameters=function(){return[]},L.ngInjectableDef=s.defineInjectable({factory:function(){return new L},token:L,providedIn:"root"}),L);function L(){}var D=(A.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"]},A.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)},A.decorators=[{type:s.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:[""]}]}],A.ctorParameters=function(){return[{type:undefined,decorators:[{type:s.Inject,args:[l.MAT_DIALOG_DATA]}]},{type:I}]},A);function A(t,e){this.passedData=t,this.mapService=e}var N=(S.prototype.ngOnInit=function(){var e=this;this.CurrentMapModel=this.mapModel,this.CurrentMapModel.locationList.forEach(function(t){t.icon=e.mapService.ConvertIconUrl(t.icon)})},S.prototype.OnChoseLocation=function(e){var n=this;setTimeout(function(t){n.isDoubleClick||n.dialog.open(D,{data:{lat:e.coords.lat,lng:e.coords.lng}}).afterClosed().subscribe(function(t){t&&n.CurrentMapModel.locationList.push(t)})},this.expectedDoubleClickElapsedTime)},S.prototype.OnMapDoubleClicked=function(t){var e=this;this.isDoubleClick=!0,console.log("double clicked"),setTimeout(function(t){e.isDoubleClick=!1},500)},S.decorators=[{type:s.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}"]}]}],S.ctorParameters=function(){return[{type:l.MatDialog},{type:I}]},S.propDecorators={mapModel:[{type:s.Input}]},S);function S(t,e){this.dialog=t,this.mapService=e,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 F=(O.prototype.ngOnInit=function(){},O.decorators=[{type:s.Component,args:[{selector:"lcu-my-atlas",template:"<p>\r\n my-atlas works!\r\n</p>\r\n",styles:[""]}]}],O.ctorParameters=function(){return[]},O);function O(){}var U=(_.prototype.ngOnInit=function(){},_.decorators=[{type:s.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<mat-menu #legend="matMenu"></mat-menu>\r\n',styles:[".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}"]}]}],_.ctorParameters=function(){return[]},_);function _(){}var j=(T.forRoot=function(){return{ngModule:T,providers:[f]}},T.decorators=[{type:s.NgModule,args:[{declarations:[w,v,N,D,F,U],imports:[n.CommonModule,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,u.RouterModule],exports:[w,v,N,D,l.MatIconModule,F,U],entryComponents:[w,v,D,U,F]}]}],T);function T(){}function P(t){this.title=t.title,this.origin=t.origin,this.zoom=t.zoom,this.locationList=t.locationList}function q(t){this.title=t.title,this.icon=t.icon,this.lat=t.lat,this.lng=t.lng}t.UsersStateManagerContext=f,t.UsersState=b,t.HamburgerMenuComponent=v,t.LandingPageComponent=w,t.Constants=y,t.HamburgerMenuModel=C,t.LcuAmblOnModule=j,t.MyAtlasComponent=F,t.LegendComponent=U,t.IndividualMap=P,t.MapMarker=q,t.MapComponent=N,t.AddMapMarkerComponent=D,t.ɵa=I,Object.defineProperty(t,"__esModule",{value:!0})});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@lcu-ide/common"),require("@angular/core"),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")):"function"==typeof define&&define.amd?define("@ambl-on/lcu-ambl-on-common",["exports","@lcu-ide/common","@angular/core","@angular/common","@angular/material/menu","@angular/material","@angular/flex-layout","@angular/platform-browser/animations","@angular/forms","@angular/router"],n):n((e["ambl-on"]=e["ambl-on"]||{},e["ambl-on"]["lcu-ambl-on-common"]={}),e.common,e.ng.core,e.ng.common,e.ng.material.menu,e.ng.material,e.ng["flex-layout"],e.ng.platformBrowser.animations,e.ng.forms,e.ng.router)}(this,function(e,n,t,r,o,a,i,u,l,c){"use strict";var s=function(e,n){return(s=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 m(n,i,u,l){return new(u||(u=Promise))(function(e,t){function r(e){try{a(l.next(e))}catch(n){t(n)}}function o(e){try{a(l["throw"](e))}catch(n){t(n)}}function a(n){n.done?e(n.value):new u(function(e){e(n.value)}).then(r,o)}a((l=l.apply(n,i||[])).next())})}function f(r,o){var a,i,u,e,l={label:0,sent:function(){if(1&u[0])throw u[1];return u[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(;l;)try{if(a=1,i&&(u=2&e[0]?i["return"]:e[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,e[1])).done)return u;switch(i=0,u&&(e=[2&e[0],u.value]),e[0]){case 0:case 1:u=e;break;case 4:return l.label++,{value:e[1],done:!1};case 5:l.label++,i=e[1],e=[0];continue;case 7:e=l.ops.pop(),l.trys.pop();continue;default:if(!(u=0<(u=l.trys).length&&u[u.length-1])&&(6===e[0]||2===e[0])){l=0;continue}if(3===e[0]&&(!u||e[1]>u[0]&&e[1]<u[3])){l.label=e[1];break}if(6===e[0]&&l.label<u[1]){l.label=u[1],u=e;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(e);break}u[2]&&l.ops.pop(),l.trys.pop();continue}e=o.call(r,l)}catch(n){e=[6,n],i=0}finally{a=u=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([n,e])}}}var d,g=(function _(e,n){function t(){this.constructor=e}s(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}(p,d=n.StateManagerContext),p.prototype.SetActive=function(){},p.prototype.defaultValue=function(){return{Loading:!0}},p.prototype.loadStateKey=function(){return m(this,void 0,void 0,function(){return f(this,function(e){return[2,"main"]})})},p.prototype.loadStateName=function(){return m(this,void 0,void 0,function(){return f(this,function(e){return[2,"users "]})})},p.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],p.ctorParameters=function(){return[{type:t.Injector}]},p.ngInjectableDef=t.defineInjectable({factory:function(){return new p(t.inject(t.INJECTOR))},token:p,providedIn:"root"}),p);function p(e){var n=d.call(this,e)||this;return n.injector=e,n}function b(){}var y=(h.VAR_NAMES_MENU=[{Label:"Home",Icon:"home",Url:"/home",Disabled:"false"},{Label:"My Atlas",Icon:"public",Url:"/map",Disabled:"false"},{Label:"My Itenerarries",Icon:"map",Url:"www",Disabled:"true"},{Label:"My Top Lists",Icon:"sort",Url:"www",Disabled:"true"},{Label:"My Albums",Icon:"photo_library",Url:"www",Disabled:"true"},{Label:"My Friends",Icon:"group",Url:"www",Disabled:"true"},{Label:"My Profile",Icon:"person",Url:"www",Disabled:"true"}],h);function h(){}var M=(v.prototype.ngOnInit=function(){this.MenuItems=y.VAR_NAMES_MENU},v.decorators=[{type:t.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 item 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}"]}]}],v);function v(){}var w=(x.prototype.ngOnInit=function(){},x.decorators=[{type:t.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}"]}]}],x.ctorParameters=function(){return[]},x);function x(){this.Title="Ambl On",this.Slogan="Down the Road, Around the World!"}function I(e,n,t,r){this.Label=e,this.Icon=n,this.Url=t,this.Disabled=r}var L=(A.forRoot=function(){return{ngModule:A,providers:[g]}},A.decorators=[{type:t.NgModule,args:[{declarations:[w,M],imports:[r.CommonModule,i.FlexLayoutModule,u.BrowserAnimationsModule,o.MatMenuModule,a.MatIconModule,a.MatSelectModule,a.MatDialogModule,a.MatButtonModule,l.ReactiveFormsModule,a.MatInputModule,a.MatFormFieldModule,c.RouterModule],exports:[w,M,a.MatIconModule],entryComponents:[w,M]}]}],A);function A(){}e.UsersStateManagerContext=g,e.UsersState=b,e.HamburgerMenuComponent=M,e.LandingPageComponent=w,e.Constants=y,e.HamburgerMenuModel=I,e.LcuAmblOnModule=L,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, LandingPageComponent, Constants, HamburgerMenuModel, 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, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule } from './lcu.api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsbUpBQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xjdS5hcGknO1xuIl19

@@ -12,9 +12,2 @@ /**

export { LcuAmblOnModule } from './lib/lcu-ambl-on.module';
export { MyAtlasComponent } from './lib/controls/my-atlas/my-atlas.component';
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LmFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxjdS5hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLHlDQUFjLCtDQUErQyxDQUFDO0FBQzlELDJCQUFjLHFDQUFxQyxDQUFDO0FBQ3BELHVDQUFjLHdEQUF3RCxDQUFDO0FBQ3ZFLHFDQUFjLG9EQUFvRCxDQUFDO0FBQ25FLDBCQUFjLGlDQUFpQyxDQUFDO0FBQ2hELG1DQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGdDQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGlDQUFjLDRDQUE0QyxDQUFDO0FBQzNELGdDQUFjLHdDQUF3QyxDQUFDOztBQUV2RCw4QkFBYyxtQ0FBbUMsQ0FBQztBQUNsRCwwQkFBYywrQkFBK0IsQ0FBQztBQUM5Qyw2QkFBYyxrQ0FBa0MsQ0FBQztBQUNqRCxzQ0FBYyw0REFBNEQsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL3N0YXRlL3VzZXJzL3VzZXJzLXN0YXRlLW1hbmFnZXIuY29udGV4dCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3N0YXRlL3VzZXJzL3VzZXJzLXN0YXRlLm1vZGVsJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29udHJvbHMvaGFtYnVyZ2VyLW1lbnUvaGFtYnVyZ2VyLW1lbnUuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29udHJvbHMvbGFuZGluZy1wYWdlL2xhbmRpbmctcGFnZS5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DQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGdDQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvc3RhdGUvdXNlcnMvdXNlcnMtc3RhdGUtbWFuYWdlci5jb250ZXh0JztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3RhdGUvdXNlcnMvdXNlcnMtc3RhdGUubW9kZWwnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb250cm9scy9oYW1idXJnZXItbWVudS9oYW1idXJnZXItbWVudS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb250cm9scy9sYW5kaW5nLXBhZ2UvbGFuZGluZy1wYWdlLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3V0aWxzL2NvbnN0YW50cy9jb25zdGFudHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9tb2RlbHMvaGFtYnVyZ2VyLW1lbnUubW9kZWwnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9sY3UtYW1ibC1vbi5tb2R1bGUnOyJdfQ==

@@ -21,3 +21,3 @@ /**

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}"]
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}"]
}] }

@@ -24,0 +24,0 @@ ];

@@ -14,9 +14,4 @@ /**

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';
import { MyAtlasComponent } from './controls/my-atlas/my-atlas.component';
import { LegendComponent } from './controls/legend/legend.component';
export class LcuAmblOnModule {

@@ -35,3 +30,3 @@ /**

{ type: NgModule, args: [{
declarations: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MyAtlasComponent, LegendComponent],
declarations: [LandingPageComponent, HamburgerMenuComponent],
imports: [

@@ -43,4 +38,2 @@ CommonModule,

MatIconModule,
AgmCoreModule.forRoot({ apiKey: 'AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg' }),
MatIconModule,
MatSelectModule,

@@ -54,6 +47,6 @@ MatDialogModule,

],
exports: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MatIconModule, MyAtlasComponent, LegendComponent],
entryComponents: [LandingPageComponent, HamburgerMenuComponent, AddMapMarkerComponent, LegendComponent, MyAtlasComponent]
exports: [LandingPageComponent, HamburgerMenuComponent, MatIconModule],
entryComponents: [LandingPageComponent, HamburgerMenuComponent]
},] }
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LWFtYmwtb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2xjdS1hbWJsLW9uLm1vZ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MY3VBbWJsT25Nb2R1bGUge1xyXG4gIHN0YXRpYyBmb3JSb290KCk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgbmdNb2R1bGU6IExjdUFtYmxPbk1vZHVsZSxcclxuICAgICAgcHJvdmlkZXJzOiBbVXNlcnNTdGF0ZU1hbmFnZXJDb250ZXh0XVxyXG4gICAgfTtcclxuICB9XHJcbn1cclxuIl19

@@ -8,4 +8,3 @@ /**

*/
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, LandingPageComponent, Constants, HamburgerMenuModel, 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, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule } from './lcu.api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsbUpBQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xjdS5hcGknO1xuIl19

@@ -12,9 +12,2 @@ /**

export { LcuAmblOnModule } from './lib/lcu-ambl-on.module';
export { MyAtlasComponent } from './lib/controls/my-atlas/my-atlas.component';
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LmFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxjdS5hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLHlDQUFjLCtDQUErQyxDQUFDO0FBQzlELDJCQUFjLHFDQUFxQyxDQUFDO0FBQ3BELHVDQUFjLHdEQUF3RCxDQUFDO0FBQ3ZFLHFDQUFjLG9EQUFvRCxDQUFDO0FBQ25FLDBCQUFjLGlDQUFpQyxDQUFDO0FBQ2hELG1DQUFjLG1DQUFtQyxDQUFDO0FBQ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HMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9tb2RlbHMvaGFtYnVyZ2VyLW1lbnUubW9kZWwnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9sY3UtYW1ibC1vbi5tb2R1bGUnOyJdfQ==

@@ -23,3 +23,3 @@ /**

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}"]
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}"]
}] }

@@ -26,0 +26,0 @@ ];

@@ -14,9 +14,4 @@ /**

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';
import { MyAtlasComponent } from './controls/my-atlas/my-atlas.component';
import { LegendComponent } from './controls/legend/legend.component';
var LcuAmblOnModule = /** @class */ (function () {

@@ -39,3 +34,3 @@ function LcuAmblOnModule() {

{ type: NgModule, args: [{
declarations: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MyAtlasComponent, LegendComponent],
declarations: [LandingPageComponent, HamburgerMenuComponent],
imports: [

@@ -47,4 +42,2 @@ CommonModule,

MatIconModule,
AgmCoreModule.forRoot({ apiKey: 'AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg' }),
MatIconModule,
MatSelectModule,

@@ -58,4 +51,4 @@ MatDialogModule,

],
exports: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MatIconModule, MyAtlasComponent, LegendComponent],
entryComponents: [LandingPageComponent, HamburgerMenuComponent, AddMapMarkerComponent, LegendComponent, MyAtlasComponent]
exports: [LandingPageComponent, HamburgerMenuComponent, MatIconModule],
entryComponents: [LandingPageComponent, HamburgerMenuComponent]
},] }

@@ -66,2 +59,2 @@ ];

export { LcuAmblOnModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LWFtYmwtb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2xjdS1hbWJsLW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBdUIsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDJDQUEyQyxDQUFDO0FBQ3JGLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGdEQUFnRCxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLG9EQUFvRCxDQUFDO0FBQzVGLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN2RCxPQUFPLE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yXG5cclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbTGFuZGluZ1BhZ2VDb21wb25lbnQsIEhhbWJ1cmdlck1lbnVDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZSxcclxuICAgIEZsZXhMYXlvdXRNb2R1bGUsXHJcbiAgICBCcm93c2VyQW5pbWF0aW9uc01vZHVsZSxcclxuICAgIE1hdE1lbnVNb2R1bGUsXHJcbiAgICBNYXRJY29uTW9kdWxlLFxyXG4gICAgTWF0U2VsZWN0TW9kdWxlLFxyXG4gICAgTWF0RGlhbG9nTW9kdWxlLFxyXG4gICAgTWF0QnV0dG9uTW9kdWxlLFxyXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZSxcclxuICAgIE1hdElucHV0TW9kdWxlLFxyXG4gICAgTWF0Rm9ybUZpZWxkTW9kdWxlLFxyXG4gICAgUm91dGVyTW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbTGFuZGluZ1BhZ2VDb21wb25lbnQsIEhhbWJ1cmdlck1lbnVDb21wb25lbnQsIE1hdEljb25Nb2R1bGVdLFxyXG4gIGVudHJ5Q29tcG9uZW50czogW0xhbmRpbmdQYWdlQ29tcG9uZW50LCBIYW1idXJnZXJNZW51Q29tcG9uZW50XVxyXG59KVxyXG5leHBvcnQgY2xhc3MgTGN1QW1ibE9uTW9kdWxlIHtcclxuICBzdGF0aWMgZm9yUm9vdCgpOiBNb2R1bGVXaXRoUHJvdmlkZXJzIHtcclxuICAgIHJldHVybiB7XHJcbiAgICAgIG5nTW9kdWxlOiBMY3VBbWJsT25Nb2R1bGUsXHJcbiAgICAgIHByb3ZpZGVyczogW1VzZXJzU3RhdGVNYW5hZ2VyQ29udGV4dF1cclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ==
import { __awaiter } from 'tslib';
import { StateManagerContext } from '@lcu-ide/common';
import { Injectable, Injector, NgModule, Component, defineInjectable, inject, INJECTOR } from '@angular/core';
import { CommonModule } from '@angular/common';
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';

@@ -148,3 +147,3 @@ /**

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}"]
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}"]
}] }

@@ -182,270 +181,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 {
constructor() { }
/**
* @return {?}
*/
ngOnInit() {
}
}
MyAtlasComponent.decorators = [
{ type: Component, args: [{
selector: 'lcu-my-atlas',
template: "<p>\r\n my-atlas works!\r\n</p>\r\n",
styles: [""]
}] }
];
/** @nocollapse */
MyAtlasComponent.ctorParameters = () => [];
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class LegendComponent {
constructor() { }
/**
* @return {?}
*/
ngOnInit() {
}
}
LegendComponent.decorators = [
{ type: 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<mat-menu #legend=\"matMenu\"></mat-menu>\r\n",
styles: [".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}"]
}] }
];
/** @nocollapse */
LegendComponent.ctorParameters = () => [];
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class LcuAmblOnModule {

@@ -464,3 +195,3 @@ /**

{ type: NgModule, args: [{
declarations: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MyAtlasComponent, LegendComponent],
declarations: [LandingPageComponent, HamburgerMenuComponent],
imports: [

@@ -472,4 +203,2 @@ CommonModule,

MatIconModule,
AgmCoreModule.forRoot({ apiKey: 'AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg' }),
MatIconModule,
MatSelectModule,

@@ -483,4 +212,4 @@ MatDialogModule,

],
exports: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MatIconModule, MyAtlasComponent, LegendComponent],
entryComponents: [LandingPageComponent, HamburgerMenuComponent, AddMapMarkerComponent, LegendComponent, MyAtlasComponent]
exports: [LandingPageComponent, HamburgerMenuComponent, MatIconModule],
entryComponents: [LandingPageComponent, HamburgerMenuComponent]
},] }

@@ -493,14 +222,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;
}
}

@@ -512,9 +229,4 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule };
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule, MyAtlasComponent, LegendComponent, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent, MapService as ɵa };
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.js.map
import { __extends, __awaiter, __generator } from 'tslib';
import { StateManagerContext } from '@lcu-ide/common';
import { Injectable, Injector, NgModule, Component, defineInjectable, inject, INJECTOR } from '@angular/core';
import { CommonModule } from '@angular/common';
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, Inject, Input, defineInjectable, inject, INJECTOR } from '@angular/core';

@@ -187,3 +186,3 @@ /**

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}"]
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}"]
}] }

@@ -224,335 +223,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 () {
function MyAtlasComponent() {
}
/**
* @return {?}
*/
MyAtlasComponent.prototype.ngOnInit = /**
* @return {?}
*/
function () {
};
MyAtlasComponent.decorators = [
{ type: Component, args: [{
selector: 'lcu-my-atlas',
template: "<p>\r\n my-atlas works!\r\n</p>\r\n",
styles: [""]
}] }
];
/** @nocollapse */
MyAtlasComponent.ctorParameters = function () { return []; };
return MyAtlasComponent;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var LegendComponent = /** @class */ (function () {
function LegendComponent() {
}
/**
* @return {?}
*/
LegendComponent.prototype.ngOnInit = /**
* @return {?}
*/
function () {
};
LegendComponent.decorators = [
{ type: 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<mat-menu #legend=\"matMenu\"></mat-menu>\r\n",
styles: [".chevron-legend{background-color:transparent;border-width:0;outline:0;font-size:30px}"]
}] }
];
/** @nocollapse */
LegendComponent.ctorParameters = function () { return []; };
return LegendComponent;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var LcuAmblOnModule = /** @class */ (function () {

@@ -575,3 +241,3 @@ function LcuAmblOnModule() {

{ type: NgModule, args: [{
declarations: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MyAtlasComponent, LegendComponent],
declarations: [LandingPageComponent, HamburgerMenuComponent],
imports: [

@@ -583,4 +249,2 @@ CommonModule,

MatIconModule,
AgmCoreModule.forRoot({ apiKey: 'AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg' }),
MatIconModule,
MatSelectModule,

@@ -594,4 +258,4 @@ MatDialogModule,

],
exports: [LandingPageComponent, HamburgerMenuComponent, MapComponent, AddMapMarkerComponent, MatIconModule, MyAtlasComponent, LegendComponent],
entryComponents: [LandingPageComponent, HamburgerMenuComponent, AddMapMarkerComponent, LegendComponent, MyAtlasComponent]
exports: [LandingPageComponent, HamburgerMenuComponent, MatIconModule],
entryComponents: [LandingPageComponent, HamburgerMenuComponent]
},] }

@@ -606,15 +270,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;
}());

@@ -626,9 +277,4 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule };
export { UsersStateManagerContext, UsersState, HamburgerMenuComponent, LandingPageComponent, Constants, HamburgerMenuModel, LcuAmblOnModule, MyAtlasComponent, LegendComponent, IndividualMap, MapMarker, MapComponent, AddMapMarkerComponent, MapService as ɵa };
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.js.map

@@ -8,7 +8,1 @@ export * from './lib/state/users/users-state-manager.context';

export * from './lib/lcu-ambl-on.module';
export * from './lib/controls/my-atlas/my-atlas.component';
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.47-integration",
"version": "0.1.48-google-map",
"peerDependencies": {

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc