-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js.map
1 lines (1 loc) · 25.8 KB
/
main.js.map
1
{"version":3,"sources":["webpack:///./src/$_lazy_route_resource lazy namespace object","webpack:///./src/app/app-routing.module.ts","webpack:///./src/app/app.component.css","webpack:///./src/app/app.component.html","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/dashboard/dashboard.component.css","webpack:///./src/app/dashboard/dashboard.component.html","webpack:///./src/app/dashboard/dashboard.component.ts","webpack:///./src/app/message.service.ts","webpack:///./src/app/messages/messages.component.css","webpack:///./src/app/messages/messages.component.html","webpack:///./src/app/messages/messages.component.ts","webpack:///./src/app/store-detail/store-detail.component.css","webpack:///./src/app/store-detail/store-detail.component.html","webpack:///./src/app/store-detail/store-detail.component.ts","webpack:///./src/app/store-list.ts","webpack:///./src/app/store.service.ts","webpack:///./src/app/store.ts","webpack:///./src/app/stores/stores.component.css","webpack:///./src/app/stores/stores.component.html","webpack:///./src/app/stores/stores.component.ts","webpack:///./src/environments/environment.ts","webpack:///./src/main.ts"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,4E;;;;;;;;;;;;;;;;;;;;;;;;;ACZqD;AACE;AACgB;AAEN;AACa;AAE9E,IAAM,MAAM,GAAW;IACrB,EAAE,IAAI,EAAE,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE;IACzD,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,iFAAkB,EAAE;IACpD,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,yFAAoB,EAAE;IACvD,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,wEAAe,EAAE;CAC/C,CAAC;AAMF;IAAA;IAA+B,CAAC;IAAnB,gBAAgB;QAJ5B,8DAAQ,CAAC;YACR,OAAO,EAAE,CAAE,4D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2E;AAC3E,gEAAgE;AAEzD,IAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;CAClB,CAAC;AAEF;;;;;GAKG;AACH,mEAAmE;;;;;;;;;;;;;;;;;;ACdpB;AAC4B;AAE9B;AACY;AAEzD,EAAE,CAAC,CAAC,qEAAW,CAAC,UAAU,CAAC,CAAC,CAAC;IAC3B,oEAAc,EAAE,CAAC;AACnB,CAAC;AAED,gGAAsB,EAAE,CAAC,eAAe,CAAC,yDAAS,CAAC;KAChD,KAAK,CAAC,aAAG,IAAI,cAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAhB,CAAgB,CAAC,CAAC","file":"main.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error('Cannot find module \"' + req + '\".');\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./src/$$_lazy_route_resource lazy recursive\";","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { DashboardComponent } from './dashboard/dashboard.component';\n\nimport { StoresComponent } from './stores/stores.component';\nimport { StoreDetailComponent } from './store-detail/store-detail.component';\n \nconst routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },\n { path: 'detail/:id', component: StoreDetailComponent },\n { path: 'stores', component: StoresComponent }\n];\n \n@NgModule({\n imports: [ RouterModule.forRoot(routes) ],\n exports: [ RouterModule ]\n})\nexport class AppRoutingModule {}","module.exports = \"/* AppComponent's private CSS styles */\\nh1 {\\n margin: 1em 0 .5em; \\n\\t line-height: 1.25;\\n color: #198cbf;\\n font-size: 2em;\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n }\\nh2 {\\n margin-top: 0;\\n padding-top: 0;\\n font-size: 1.5em;\\n line-height: 1.25;\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n }\\nh3 {\\n margin-top: 0;\\n padding-top: 0;\\n font-size: 1.2;\\n line-height: 1.25;\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n}\\nnav a {\\n padding: 5px 10px;\\n text-decoration: none;\\n margin-top: 10px;\\n display: inline-block;\\n background-color: #eee;\\n border-radius: 4px;\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n }\\nnav a:visited, a:link {\\n color: rgb(11, 42, 58);\\n }\\nnav a:hover {\\n color: #039be5;\\n background-color: #CFD8DC;\\n }\\nnav a.active {\\n color: #039be5;\\n }\\np, figure {\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n }\\nli {\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n }\\na {\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n }\\n \\n\"","module.exports = \"<nav aria-label=\\\"va11yS\\\"><a href=\\\"https://ibma.github.io/Va11yS/\\\">Back to Va11yS</a></nav>\\n<main>\\n <h1>\\n {{ title }}\\n </h1>\\n <p>These Angular 6 examples are included in an application that is deployed on GitHub. \\n It was created using the <a href=\\\"https://cli.angular.io/\\\">Angular CLI</a> and the <a href=\\\"https://angular.io/tutorial\\\">Angular Tour of Heroes tutorial</a>. Accessibility test results \\n are included at the bottom of the page.\\n </p>\\n <p>To improve accessibility, the following have been added to the application:</p>\\n <ul>\\n <li>W3C WAI ARIA Landmarks.</li>\\n <li>Styles to improve color contrast.</li>\\n </ul>\\n\\n <hr>\\n <h2>Top 10 Stores</h2>\\n <nav aria-label=\\\"store navigation\\\">\\n <a routerLink=\\\"/dashboard\\\">Dashboard</a>\\n <a routerLink=\\\"/stores\\\">Stores</a>\\n </nav>\\n <router-outlet></router-outlet>\\n <app-messages></app-messages>\\n</main>\\n<footer role=\\\"contentinfo\\\">\\n <hr>\\n <h3>Tested on:</h3>\\n <div>\\n <ul>\\n <li>Mac OS Sierra 10.13.4, Chrome browser and VoiceOver are based on the Mac OS version.</li>\\n <ul>\\n <li>Results - VoiceOver announces:</li>\\n <ul>\\n <li>All headings as \\\"Heading level xx. You are currently on a heading level xx\\\".</li>\\n <li>Navigation. You are currently in a navigation.</li>\\n <li>All links in the navigation and indicates if is a visited link.</li>\\n <li>End of navigation. You are currently in a navigation.\\n <li>All links in the main content.</li>\\n <li>All button labels are announced and, \\\"To click this button press Control-Option-Space\\\".</li>\\n <li>Store services. Fetch stores. You are currently on a text element.</li>\\n <li>End of main. You are currently on a main inside web content. To exit this web area, press\\n Control-Option-Shift-Up Arrow.\\n </li>\\n </ul>\\n </ul>\\n </ul>\\n </div>\\n</footer>\\n\\n\"","import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n title = 'Angular 6 Examples';\n}\n","import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\nimport { AppComponent } from './app.component';\nimport { StoresComponent } from './stores/stores.component';\nimport { StoreDetailComponent } from './store-detail/store-detail.component';\nimport { MessagesComponent } from './messages/messages.component';\nimport { AppRoutingModule } from './/app-routing.module';\nimport { DashboardComponent } from './dashboard/dashboard.component';\n\n@NgModule({\n declarations: [\n AppComponent,\n StoresComponent,\n StoreDetailComponent,\n MessagesComponent,\n DashboardComponent\n ],\n imports: [\n BrowserModule,\n FormsModule,\n AppRoutingModule\n ],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n","module.exports = \"/* DashboardComponent's private CSS styles */\\n[class*='col-'] {\\n float: left;\\n padding-right: 20px;\\n padding-bottom: 20px;\\n}\\n[class*='col-']:last-of-type {\\n padding-right: 0;\\n}\\na {\\n text-decoration: none;\\n}\\n*, *:after, *:before {\\n box-sizing: border-box;\\n}\\nh3 {\\n text-align: center; margin-bottom: 0;\\n font-size: 1.2;\\n line-height: 1.25;\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n}\\nh4 {\\n position: relative;\\n font-size:1.0;\\n line-height: 1.25;\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n}\\n.grid {\\n margin: 0;\\n}\\n.col-1-4 {\\n width: 25%;\\n}\\n.module {\\n padding: 20px;\\n text-align: center;\\n color: #eee;\\n max-height: 120px;\\n min-width: 120px;\\n background-color: rgb(20, 63, 85);\\n border-radius: 2px;\\n}\\n.module:hover {\\n background-color: #EEE;\\n cursor: pointer;\\n color:rgb(11, 42, 58);;\\n}\\n.grid-pad {\\n padding: 10px 0;\\n}\\n.grid-pad > [class*='col-']:last-of-type {\\n padding-right: 20px;\\n}\\n@media (max-width: 600px) {\\n .module {\\n font-size: 10px;\\n max-height: 75px; }\\n}\\n@media (max-width: 1024px) {\\n .grid {\\n margin: 0;\\n }\\n .module {\\n min-width: 60px;\\n }\\n}\"","module.exports = \"<h3>Top Stores</h3>\\n<div class=\\\"grid grid-pad\\\">\\n <a *ngFor=\\\"let store of stores\\\" class=\\\"col-1-4\\\"\\n routerLink=\\\"/detail/{{store.id}}\\\">\\n <div class=\\\"module store\\\">\\n <h4>{{store.name}}</h4>\\n <h3>Rated# {{store.id}}</h3>\\n </div>\\n </a>\\n\\n\\n\"","import { Component, OnInit } from '@angular/core';\nimport { Store } from '../store';\nimport { StoreService } from '../store.service';\n\n@Component({\n selector: 'app-dashboard',\n templateUrl: './dashboard.component.html',\n styleUrls: ['./dashboard.component.css']\n})\nexport class DashboardComponent implements OnInit {\n stores: Store[] = [];\n \n constructor(private storeService: StoreService) { }\n \n ngOnInit() {\n this.getStores();\n }\n \n getStores(): void {\n this.storeService.getStores()\n .subscribe(stores => this.stores = stores.slice(1, 5));\n }\n}\n","import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class MessageService {\n messages: string[] = [];\n \n add(message: string) {\n this.messages.push(message);\n }\n \n clear() {\n this.messages = [];\n }\n}","module.exports = \"/* MessagesComponent's private CSS styles */\\nh2 {\\n color: red;\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n font-weight: lighter;\\n font-size: 1.2;\\n line-height: 1.25;\\n }\\nbody {\\n margin: 2em;\\n }\\nbody, input[text], button {\\n color: crimson;\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n }\\nbutton.clear {\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n background-color: #eee;\\n border: none;\\n padding: 5px 10px;\\n border-radius: 4px;\\n cursor: pointer;\\n cursor: hand;\\n }\\nbutton:hover {\\n background-color: #cfd8dc;\\n }\\nbutton:disabled {\\n background-color: #eee;\\n color: #aaa;\\n cursor: auto;\\n }\\nbutton.clear {\\n color: rgb(11, 42, 58);\\n margin-bottom: 12px;\\n }\\ndiv{\\n font-family: monospace;\\n }\"","module.exports = \"<div *ngIf=\\\"messageService.messages.length\\\">\\n\\n <h2>Messages</h2>\\n <button class=\\\"clear\\\"\\n (click)=\\\"messageService.clear()\\\">Clear Messages</button>\\n <div *ngFor='let message of messageService.messages'> {{message}} </div>\\n\\n</div>\\n\"","import { Component, OnInit } from '@angular/core';\nimport { MessageService } from '../message.service';\n\n@Component({\n selector: 'app-messages',\n templateUrl: './messages.component.html',\n styleUrls: ['./messages.component.css']\n})\nexport class MessagesComponent implements OnInit {\n \n constructor(public messageService: MessageService) {}\n \n ngOnInit() {\n }\n \n}\n","module.exports = \"label {\\n display: inline-block;\\n width: 8em;\\n margin: .5em 0;\\n color: black;\\n font-weight: bold;\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n }\\n input {\\n height: 2em;\\n font-size: 1em;\\n padding: 5px 10px;\\n width: 200%;\\n }\\n button {\\n margin-top: 20px;\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n background-color: #eee;\\n border: none;\\n padding: 5px 10px;\\n border-radius: 4px;\\n cursor: pointer; cursor: hand;\\n }\\n button:hover {\\n background-color: #cfd8dc;\\n }\\n button:disabled {\\n background-color: #eee;\\n color: #ccc;\\n cursor: auto;\\n }\\n span{font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n }\\n h2 {\\n text-align: left; margin-bottom: 0;\\n font-size: 1.2;\\n line-height: 1.25;\\n font-family: \\\"HelveticaNeue-Light\\\", \\\"Helvetica Neue Light\\\", \\\"Helvetica Neue\\\", \\\"HelvNeueLightforIBM\\\", Arial, sans-serif;\\n }\"","module.exports = \"<div *ngIf=\\\"store\\\">\\n\\n <h2>{{ store.name | uppercase }} DETAILS</h2>\\n <br>\\n <div><span><strong>Rating Number:</strong></span> {{store.id}}</div>\\n <div>\\n <label>Store Name:\\n <input [(ngModel)]=\\\"store.name\\\" placeholder=\\\"name\\\"/>\\n </label>\\n </div>\\n <div>\\n <label>Store Address:\\n <input [(ngModel)]=\\\"store.address\\\" placeholder=\\\"address\\\"/>\\n </label>\\n </div>\\n <button (click)=\\\"goBack()\\\">Go Back</button>\\n</div>\\n\"","import { Component, OnInit, Input } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { Location } from '@angular/common';\n \nimport { Store } from '../store';\nimport { StoreService } from '../store.service';\n \n@Component({\n selector: 'app-store-detail',\n templateUrl: './store-detail.component.html',\n styleUrls: [ './store-detail.component.css' ]\n})\nexport class StoreDetailComponent implements OnInit {\n @Input() store: Store;\n \n constructor(\n private route: ActivatedRoute,\n private storeService: StoreService,\n private location: Location\n ) {}\n \n ngOnInit(): void {\n this.getStore();\n }\n \n getStore(): void {\n const id = +this.route.snapshot.paramMap.get('id');\n this.storeService.getStore(id)\n .subscribe(store => this.store = store);\n }\n \n goBack(): void {\n this.location.back();\n }\n}","import { Store } from './store';\n\nexport const STORES: Store[] = [\n { id: 0, name: '', address:'' },\n { id: 1, name: 'Zippy Stop', address:'123 Happy St. Lemon, AL' },\n { id: 2, name: 'Speedy Store', address:'345 Cheers St. Avocado, CA' },\n { id: 3, name: 'On the Go Mart', address:'678 Shady St. Orange, FL' },\n { id: 4, name: 'Best Mini Mart', address:'910 Front Ave. Pear, NY' },\n { id: 5, name: 'On the Way', address:'987 Back St. Peach, TX' },\n { id: 6, name: 'Pick and Save', address:'654 Side Ave. Apple, WA' },\n { id: 7, name: 'Pay and Pack', address:'321 Square Blvd. Tomato, UT' },\n { id: 8, name: 'Super Thrifty', address:'234 Round Rd. Lime, GA' },\n { id: 9, name: 'Smart Mart', address:'456 Smart Rd. Apricot, PA' },\n { id: 10, name: 'Shop and Go', address:'564 Doubt Lane, Melon, CO' }\n];","import { Injectable } from '@angular/core';\n \nimport { Observable, of } from 'rxjs';\n \nimport { Store } from './store';\nimport { STORES } from './store-list';\nimport { MessageService } from './message.service';\n \n@Injectable({\n providedIn: 'root',\n})\nexport class StoreService {\n \n constructor(private messageService: MessageService) { }\n \n getStores(): Observable<Store[]> {\n // TODO: send the message _after_ fetching the stores\n this.messageService.add('StoreService: fetched stores');\n return of(STORES);\n }\n \n getStore(id: number): Observable<Store> {\n // TODO: send the message _after_ fetching the store\n this.messageService.add(`StoreService: fetched store id=${id}`);\n return of(STORES.find(store => store.id === id));\n }\n}\n","export class Store {\n id: number;\n name: string;\n address: string;\n }","module.exports = \"\\n.stores {\\n margin: 0 0 2em 0;\\n list-style-type: none;\\n padding: 0;\\n width: 15em;\\n}\\n.stores li {\\n position: relative;\\n cursor: pointer;\\n background-color: #EEE;\\n margin: .5em;\\n padding: .3em 0;\\n height: 1.6em;\\n border-radius: 4px;\\n}\\n.stores li:hover {\\n color: #607D8B;\\n background-color: #DDD;\\n left: .1em;\\n}\\n.stores a {\\n color: rgb(56, 53, 53);\\n text-decoration: none;\\n position: relative;\\n display: block;\\n width: 250px;\\n}\\n.stores a:hover {\\n color:#607D8B;\\n}\\n.stores .badge {\\n display: inline-block;\\n font-size: small;\\n color: white;\\n padding: 0.8em 0.7em 0 0.7em;\\n background-color: rgb(19, 87, 124);\\n line-height: 1em;\\n position: relative;\\n left: -1px;\\n top: -4px;\\n height: 1.8em;\\n min-width: 16px;\\n text-align: right;\\n margin-right: .8em;\\n border-radius: 4px 0 0 4px;\\n \\n}\"","module.exports = \"<h2>Stores</h2>\\n<ul class=\\\"stores\\\">\\n <li *ngFor=\\\"let store of stores\\\">\\n <a routerLink=\\\"/detail/{{store.id}}\\\">\\n <span class=\\\"badge\\\">{{store.id}}</span> {{store.name}}\\n </a>\\n </li>\\n</ul>\"","import { Component, OnInit } from '@angular/core';\nimport { Store } from '../store'\nimport { StoreService } from '../store.service';\n\n@Component({\n selector: 'app-stores',\n templateUrl: './stores.component.html',\n styleUrls: ['./stores.component.css']\n})\nexport class StoresComponent implements OnInit {\n\n stores: Store[];\n\n constructor(private storeService: StoreService) { }\n\n ngOnInit() {\n this.getStores();\n }\n \n getStores(): void {\n this.storeService.getStores()\n .subscribe(stores => this.stores = stores);\n }\n}","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false\n};\n\n/*\n * In development mode, to ignore zone related error stack frames such as\n * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can\n * import the following file, but please comment it out in production mode\n * because it will have performance impact when throw error\n */\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.log(err));\n"],"sourceRoot":""}