@ambl-on/lcu-ambl-on-common
Advanced tools
Comparing version 0.1.23-google-map to 0.1.24-integration
@@ -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>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>\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}"]}]}],"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=\"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","styles":[".container{margin-top:19em;margin-left:1em;margin-bottom:9.3em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"Constants":{"__symbolic":"class","members":{},"statics":{"VAR_NAMES_MENU":[{"Label":"My Atlas","Icon":"public","Url":"www","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":16,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"MapComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":19,"character":4},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexLayoutModule","line":20,"character":4},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":21,"character":4},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":22,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":23,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@agm/core","name":"AgmCoreModule","line":24,"character":4},"member":"forRoot"},"arguments":[{"apiKey":"AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"}]},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatSelectModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatDialogModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatButtonModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":31,"character":4}],"exports":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"MapComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"}],"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"}]}}}},"IndividualMap":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"IndividualMap"}]}]}},"MapMarker":{"__symbolic":"class","members":{}},"MapComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"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 (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":25,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/material","name":"MatDialog","line":36,"character":30}]}],"ngOnInit":[{"__symbolic":"method"}],"OnChoseLocation":[{"__symbolic":"method"}],"convertMarkerUrls":[{"__symbolic":"method"}]}},"AddMapMarkerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"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":31,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/material","name":"MAT_DIALOG_DATA","line":31,"character":22}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}],"ngOnInit":[{"__symbolic":"method"}],"SetMarkerData":[{"__symbolic":"method"}],"convertIconUrl":[{"__symbolic":"method"}]}}},"origins":{"UsersStateManagerContext":"./lib/state/users/users-state-manager.context","UsersState":"./lib/state/users/users-state.model","HamburgerMenuComponent":"./lib/controls/hamburger-menu/hamburger-menu.component","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","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"},"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>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>\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}"]}]}],"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=\"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","styles":[".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"Constants":{"__symbolic":"class","members":{},"statics":{"VAR_NAMES_MENU":[{"Label":"My Atlas","Icon":"public","Url":"www","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":16,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"MapComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":19,"character":4},{"__symbolic":"reference","module":"@angular/flex-layout","name":"FlexLayoutModule","line":20,"character":4},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":21,"character":4},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":22,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":23,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@agm/core","name":"AgmCoreModule","line":24,"character":4},"member":"forRoot"},"arguments":[{"apiKey":"AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"}]},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatSelectModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatDialogModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatButtonModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":31,"character":4}],"exports":[{"__symbolic":"reference","name":"LandingPageComponent"},{"__symbolic":"reference","name":"HamburgerMenuComponent"},{"__symbolic":"reference","name":"MapComponent"},{"__symbolic":"reference","name":"AddMapMarkerComponent"}],"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"}]}}}},"IndividualMap":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"IndividualMap"}]}]}},"MapMarker":{"__symbolic":"class","members":{}},"MapComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"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 (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":25,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/material","name":"MatDialog","line":36,"character":30}]}],"ngOnInit":[{"__symbolic":"method"}],"OnChoseLocation":[{"__symbolic":"method"}],"convertMarkerUrls":[{"__symbolic":"method"}]}},"AddMapMarkerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"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":31,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/material","name":"MAT_DIALOG_DATA","line":31,"character":22}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}],"ngOnInit":[{"__symbolic":"method"}],"SetMarkerData":[{"__symbolic":"method"}],"convertIconUrl":[{"__symbolic":"method"}]}}},"origins":{"UsersStateManagerContext":"./lib/state/users/users-state-manager.context","UsersState":"./lib/state/users/users-state.model","HamburgerMenuComponent":"./lib/controls/hamburger-menu/hamburger-menu.component","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","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"},"importAs":"@ambl-on/lcu-ambl-on-common"} |
@@ -298,3 +298,3 @@ (function (global, factory) { | ||
template: " <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", | ||
styles: [".container{margin-top:19em;margin-left:1em;margin-bottom:9.3em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"] | ||
styles: [".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"] | ||
}] } | ||
@@ -301,0 +301,0 @@ ]; |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@lcu-ide/common"),require("@angular/common"),require("@angular/material/menu"),require("@angular/flex-layout"),require("@angular/platform-browser/animations"),require("@agm/core"),require("@angular/core"),require("@angular/material"),require("@angular/forms")):"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/core","@angular/material","@angular/forms"],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.core,t.ng.material,t.ng.forms)}(this,function(t,e,n,r,o,a,i,l,c,u){"use strict";var s=function(t,e){return(s=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 m(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 d,f=(function U(t,e){function n(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(g,d=e.StateManagerContext),g.prototype.SetActive=function(){},g.prototype.defaultValue=function(){return{Loading:!0}},g.prototype.loadStateKey=function(){return m(this,void 0,void 0,function(){return p(this,function(t){return[2,"main"]})})},g.prototype.loadStateName=function(){return m(this,void 0,void 0,function(){return p(this,function(t){return[2,"users "]})})},g.decorators=[{type:l.Injectable,args:[{providedIn:"root"}]}],g.ctorParameters=function(){return[{type:l.Injector}]},g.ngInjectableDef=l.defineInjectable({factory:function(){return new g(l.inject(l.INJECTOR))},token:g,providedIn:"root"}),g);function g(t){var e=d.call(this,t)||this;return e.injector=t,e}function h(){}var M=(b.VAR_NAMES_MENU=[{Label:"My Atlas",Icon:"public",Url:"www",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"}],b);function b(){}var y=(v.prototype.ngOnInit=function(){this.MenuItems=M.VAR_NAMES_MENU},v.decorators=[{type:l.Component,args:[{selector:"lcu-hamburger-menu",template:'<nav class="hamburger-nav">\r\n <button class="hamburger-menu" mat-icon-button [matMenuTriggerFor]="menu">\r\n <mat-icon>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>\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}"]}]}],v);function v(){}var w=(x.prototype.ngOnInit=function(){},x.decorators=[{type:l.Component,args:[{selector:"lcu-landing-page",template:' <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',styles:[".container{margin-top:19em;margin-left:1em;margin-bottom:9.3em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"]}]}],x.ctorParameters=function(){return[]},x);function x(){this.Title="Ambl On",this.Slogan="Down the Road, Around the World!"}function k(t,e,n,r){this.Label=t,this.Icon=e,this.Url=n,this.Disabled=r}var C=(I.prototype.ngOnInit=function(){this.NewMarkerForm=new u.FormGroup({title:new u.FormControl("",{validators:[u.Validators.required]}),icon:new u.FormControl("",{validators:[u.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"]},I.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.convertIconUrl(this.NewMarker.icon),console.log(this.NewMarker.icon)},I.prototype.convertIconUrl=function(t){return{url:"./assets/"+t+".png",scaledSize:{width:40,height:60}}},I.decorators=[{type:l.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:[""]}]}],I.ctorParameters=function(){return[{type:undefined,decorators:[{type:l.Inject,args:[c.MAT_DIALOG_DATA]}]}]},I);function I(t){this.passedData=t}var L=(A.prototype.ngOnInit=function(){this.CurrentMapModel=this.mapModel,this.CurrentMapModel.locationList=this.convertMarkerUrls(this.CurrentMapModel.locationList)},A.prototype.OnChoseLocation=function(t){var e=this;this.dialog.open(C,{data:{lat:t.coords.lat,lng:t.coords.lng}}).afterClosed().subscribe(function(t){t&&e.CurrentMapModel.locationList.push(t)})},A.prototype.convertMarkerUrls=function(t){return t.forEach(function(t){var e="./assets/"+t.icon+".png";t.icon={url:e,scaledSize:{width:40,height:60}}}),t},A.decorators=[{type:l.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 (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}"]}]}],A.ctorParameters=function(){return[{type:c.MatDialog}]},A.propDecorators={mapModel:[{type:l.Input}]},A);function A(t){this.dialog=t,this.mapModel={title:"Default Title",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[],thumbnailUrl:'https://maps.googleapis.com/maps/api/staticmap?center=63.259591,-144.667969&zoom=6&size=400x400\n &markers=color:blue%7Clabel:S%7C62.107733,-145.541936&markers=size:tiny%7Ccolor:green%7CDelta+Junction,AK\n &markers=size:mid%7Ccolor:0xFFFF00%7Clabel:C%7CTok,AK"&key=AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg'}}var N=(S.forRoot=function(){return{ngModule:S,providers:[f]}},S.decorators=[{type:l.NgModule,args:[{declarations:[w,y,L,C],imports:[n.CommonModule,o.FlexLayoutModule,a.BrowserAnimationsModule,r.MatMenuModule,c.MatIconModule,i.AgmCoreModule.forRoot({apiKey:"AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"}),c.MatIconModule,c.MatSelectModule,c.MatDialogModule,c.MatButtonModule,u.ReactiveFormsModule,c.MatInputModule,c.MatFormFieldModule],exports:[w,y,L,C],entryComponents:[w,y]}]}],S);function S(){}function D(t){this.title=t.title,this.origin=t.origin,this.zoom=t.zoom,this.locationList=t.locationList,this.thumbnailUrl=t.thumbnailUrl}function F(){}t.UsersStateManagerContext=f,t.UsersState=h,t.HamburgerMenuComponent=y,t.LandingPageComponent=w,t.Constants=M,t.HamburgerMenuModel=k,t.LcuAmblOnModule=N,t.IndividualMap=D,t.MapMarker=F,t.MapComponent=L,t.AddMapMarkerComponent=C,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@lcu-ide/common"),require("@angular/common"),require("@angular/material/menu"),require("@angular/flex-layout"),require("@angular/platform-browser/animations"),require("@agm/core"),require("@angular/core"),require("@angular/material"),require("@angular/forms")):"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/core","@angular/material","@angular/forms"],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.core,t.ng.material,t.ng.forms)}(this,function(t,e,n,r,o,a,i,l,c,u){"use strict";var s=function(t,e){return(s=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 m(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 d,f=(function U(t,e){function n(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(g,d=e.StateManagerContext),g.prototype.SetActive=function(){},g.prototype.defaultValue=function(){return{Loading:!0}},g.prototype.loadStateKey=function(){return m(this,void 0,void 0,function(){return p(this,function(t){return[2,"main"]})})},g.prototype.loadStateName=function(){return m(this,void 0,void 0,function(){return p(this,function(t){return[2,"users "]})})},g.decorators=[{type:l.Injectable,args:[{providedIn:"root"}]}],g.ctorParameters=function(){return[{type:l.Injector}]},g.ngInjectableDef=l.defineInjectable({factory:function(){return new g(l.inject(l.INJECTOR))},token:g,providedIn:"root"}),g);function g(t){var e=d.call(this,t)||this;return e.injector=t,e}function h(){}var M=(b.VAR_NAMES_MENU=[{Label:"My Atlas",Icon:"public",Url:"www",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"}],b);function b(){}var y=(v.prototype.ngOnInit=function(){this.MenuItems=M.VAR_NAMES_MENU},v.decorators=[{type:l.Component,args:[{selector:"lcu-hamburger-menu",template:'<nav class="hamburger-nav">\r\n <button class="hamburger-menu" mat-icon-button [matMenuTriggerFor]="menu">\r\n <mat-icon>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>\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}"]}]}],v);function v(){}var w=(x.prototype.ngOnInit=function(){},x.decorators=[{type:l.Component,args:[{selector:"lcu-landing-page",template:' <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',styles:[".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"]}]}],x.ctorParameters=function(){return[]},x);function x(){this.Title="Ambl On",this.Slogan="Down the Road, Around the World!"}function k(t,e,n,r){this.Label=t,this.Icon=e,this.Url=n,this.Disabled=r}var C=(I.prototype.ngOnInit=function(){this.NewMarkerForm=new u.FormGroup({title:new u.FormControl("",{validators:[u.Validators.required]}),icon:new u.FormControl("",{validators:[u.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"]},I.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.convertIconUrl(this.NewMarker.icon),console.log(this.NewMarker.icon)},I.prototype.convertIconUrl=function(t){return{url:"./assets/"+t+".png",scaledSize:{width:40,height:60}}},I.decorators=[{type:l.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:[""]}]}],I.ctorParameters=function(){return[{type:undefined,decorators:[{type:l.Inject,args:[c.MAT_DIALOG_DATA]}]}]},I);function I(t){this.passedData=t}var L=(A.prototype.ngOnInit=function(){this.CurrentMapModel=this.mapModel,this.CurrentMapModel.locationList=this.convertMarkerUrls(this.CurrentMapModel.locationList)},A.prototype.OnChoseLocation=function(t){var e=this;this.dialog.open(C,{data:{lat:t.coords.lat,lng:t.coords.lng}}).afterClosed().subscribe(function(t){t&&e.CurrentMapModel.locationList.push(t)})},A.prototype.convertMarkerUrls=function(t){return t.forEach(function(t){var e="./assets/"+t.icon+".png";t.icon={url:e,scaledSize:{width:40,height:60}}}),t},A.decorators=[{type:l.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 (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}"]}]}],A.ctorParameters=function(){return[{type:c.MatDialog}]},A.propDecorators={mapModel:[{type:l.Input}]},A);function A(t){this.dialog=t,this.mapModel={title:"Default Title",origin:{lat:40.037757,lng:-105.278324},zoom:13,locationList:[],thumbnailUrl:'https://maps.googleapis.com/maps/api/staticmap?center=63.259591,-144.667969&zoom=6&size=400x400\n &markers=color:blue%7Clabel:S%7C62.107733,-145.541936&markers=size:tiny%7Ccolor:green%7CDelta+Junction,AK\n &markers=size:mid%7Ccolor:0xFFFF00%7Clabel:C%7CTok,AK"&key=AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg'}}var N=(S.forRoot=function(){return{ngModule:S,providers:[f]}},S.decorators=[{type:l.NgModule,args:[{declarations:[w,y,L,C],imports:[n.CommonModule,o.FlexLayoutModule,a.BrowserAnimationsModule,r.MatMenuModule,c.MatIconModule,i.AgmCoreModule.forRoot({apiKey:"AIzaSyCvvqYY9pMUpRSKl721rPEiN4KlKIpCImg"}),c.MatIconModule,c.MatSelectModule,c.MatDialogModule,c.MatButtonModule,u.ReactiveFormsModule,c.MatInputModule,c.MatFormFieldModule],exports:[w,y,L,C],entryComponents:[w,y]}]}],S);function S(){}function D(t){this.title=t.title,this.origin=t.origin,this.zoom=t.zoom,this.locationList=t.locationList,this.thumbnailUrl=t.thumbnailUrl}function F(){}t.UsersStateManagerContext=f,t.UsersState=h,t.HamburgerMenuComponent=y,t.LandingPageComponent=w,t.Constants=M,t.HamburgerMenuModel=k,t.LcuAmblOnModule=N,t.IndividualMap=D,t.MapMarker=F,t.MapComponent=L,t.AddMapMarkerComponent=C,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.umd.min.js.map |
@@ -21,3 +21,3 @@ /** | ||
template: " <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", | ||
styles: [".container{margin-top:19em;margin-left:1em;margin-bottom:9.3em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"] | ||
styles: [".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"] | ||
}] } | ||
@@ -24,0 +24,0 @@ ]; |
@@ -23,3 +23,3 @@ /** | ||
template: " <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", | ||
styles: [".container{margin-top:19em;margin-left:1em;margin-bottom:9.3em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"] | ||
styles: [".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"] | ||
}] } | ||
@@ -26,0 +26,0 @@ ]; |
@@ -146,3 +146,3 @@ import { __awaiter } from 'tslib'; | ||
template: " <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", | ||
styles: [".container{margin-top:19em;margin-left:1em;margin-bottom:9.3em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"] | ||
styles: [".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"] | ||
}] } | ||
@@ -149,0 +149,0 @@ ]; |
@@ -8,3 +8,3 @@ import { __extends, __awaiter, __generator } from 'tslib'; | ||
import { AgmCoreModule } from '@agm/core'; | ||
import { Injectable, Injector, NgModule, Component, Inject, Input, defineInjectable, inject, INJECTOR } from '@angular/core'; | ||
import { Injectable, Injector, NgModule, Component, Input, Inject, defineInjectable, inject, INJECTOR } from '@angular/core'; | ||
import { MAT_DIALOG_DATA, MatDialog, MatIconModule, MatSelectModule, MatDialogModule, MatButtonModule, MatInputModule, MatFormFieldModule } from '@angular/material'; | ||
@@ -186,3 +186,3 @@ import { FormGroup, FormControl, Validators, ReactiveFormsModule } from '@angular/forms'; | ||
template: " <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", | ||
styles: [".container{margin-top:19em;margin-left:1em;margin-bottom:9.3em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"] | ||
styles: [".container{margin-top:19em;margin-left:1em;text-align:center}.container h1{margin:0}.container .slogan,.container .title{color:#fff}"] | ||
}] } | ||
@@ -189,0 +189,0 @@ ]; |
{ | ||
"name": "@ambl-on/lcu-ambl-on-common", | ||
"version": "0.1.23-google-map", | ||
"version": "0.1.24-integration", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^7.2.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
317222