-
Notifications
You must be signed in to change notification settings - Fork 1
/
src_app_custom-elements_search_file-not-found-search_module_ts.5ba439c5304a8e52.js.map
1 lines (1 loc) · 2.79 KB
/
src_app_custom-elements_search_file-not-found-search_module_ts.5ba439c5304a8e52.js.map
1
{"version":3,"file":"src_app_custom-elements_search_file-not-found-search_module_ts.5ba439c5304a8e52.js","mappings":"iRAaO,IAAMA,EAA2B,UAAAC,EAAlC,MAAOD,EAETE,YAAoBC,EAAmCC,GAAnCC,KAAAF,WAAmCE,KAAAD,QAAwB,CAE/EE,WACID,KAAKE,cAAgBF,KAAKF,SAASK,YAAYC,QAAKC,KAAUC,IAC1D,MAAMC,EAAQD,EAAKE,MAAM,OAAOC,KAAK,KACrC,OAAOT,KAAKD,OAAOA,OAAOQ,EAAK,GAEvC,WATSZ,0CAA2Be,MAAAC,KAAAD,MAAAE,KAAA,0BAA3BjB,EAA2BkB,UAAA,gCAAAC,MAAA,EAAAC,KAAA,EAAAC,OAAA,mCAAAC,SAAA,SAAAC,EAAAC,GAAA,EAAAD,IAHrCR,MAAA,OAAGA,MAAA,sDAAgDA,QACpDA,MAAA,kDAAqCA,MAAA,GAAAA,MAAA,gBAAAA,MAAA,IAAAS,EAAAjB,2DAE1BP,CAA2B,KCH3ByB,EAAwB,UAAAC,EAA/B,MAAOD,EAJbvB,cAKIG,KAAAsB,uBAAoC3B,YAD3ByB,yCAAwB,0BAAxBA,gCAHCG,KAAcC,OAGfJ,CAAwB","names":["FileNotFoundSearchComponent","_FileNotFoundSearchComponent","constructor","location","search","this","ngOnInit","searchResults","currentPath","pipe","switchMap","path","query","split","join","i0","i1","i2","selectors","decls","vars","consts","template","rf","ctx","FileNotFoundSearchModule","_FileNotFoundSearchModule","customElementComponent","CommonModule","SharedModule"],"sourceRoot":"webpack:///","sources":["./src/app/custom-elements/search/file-not-found-search.component.ts","./src/app/custom-elements/search/file-not-found-search.module.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { switchMap } from 'rxjs/operators';\nimport { LocationService } from 'app/shared/location.service';\nimport { SearchResults } from 'app/search/interfaces';\nimport { SearchService } from 'app/search/search.service';\n\n@Component({\n selector: 'aio-file-not-found-search',\n template:\n `<p>Let's see if any of these search results help...</p>\n <aio-search-results class=\"embedded\" [searchResults]=\"searchResults | async\"></aio-search-results>`\n})\nexport class FileNotFoundSearchComponent implements OnInit {\n searchResults: Observable<SearchResults>;\n constructor(private location: LocationService, private search: SearchService) {}\n\n ngOnInit() {\n this.searchResults = this.location.currentPath.pipe(switchMap(path => {\n const query = path.split(/\\W+/).join(' ');\n return this.search.search(query);\n }));\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SharedModule } from '../../shared/shared.module';\nimport { FileNotFoundSearchComponent } from './file-not-found-search.component';\nimport { WithCustomElementComponent } from '../element-registry';\n\n@NgModule({\n imports: [CommonModule, SharedModule],\n declarations: [FileNotFoundSearchComponent],\n})\nexport class FileNotFoundSearchModule implements WithCustomElementComponent {\n customElementComponent: Type<any> = FileNotFoundSearchComponent;\n}\n"],"x_google_ignoreList":[]}