-
Notifications
You must be signed in to change notification settings - Fork 1
/
api-api-list-module-ngfactory.3109fe55ad58c2466978.js.map
1 lines (1 loc) · 39.3 KB
/
api-api-list-module-ngfactory.3109fe55ad58c2466978.js.map
1
{"version":3,"sources":["webpack:///./src/app/custom-elements/api/api-list.component.ts","webpack:///./src/app/custom-elements/api/api-list.component.ts.pre-build-optimizer.js","webpack:///./src/app/custom-elements/api/api-list.module.ts","webpack:///./src/app/custom-elements/api/api.service.ts","webpack:///./src/app/custom-elements/api/api.service.ts.pre-build-optimizer.js","webpack:///./src/app/custom-elements/api/api-list.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/custom-elements/api/api-list.component.html","webpack:///./src/app/custom-elements/api/api-list.module.ngfactory.js.pre-build-optimizer.js"],"names":["SearchCriteria","this","query","status","type","api_list_component_ApiListComponent","ApiListComponent","apiService","locationService","showStatusMenu","showTypeMenu","criteriaSubject","ReplaySubject","searchCriteria","types","value","title","statuses","prototype","ngOnInit","_this","filteredSections","Object","combineLatest","sections","criteria","map","section","tslib_es6","items","filterSection","initializeSearchCriteria","setQuery","setSearchCriteria","toLowerCase","trim","setStatus","toggleStatusMenu","setType","toggleTypeMenu","_a","filter","item","docType","stability","securityRisk","name","indexOf","length","search","q","queryEl","nativeElement","find","x","next","setLocationSearch","setSearch","undefined","assign","api_list_module_ApiListModule","customElementComponent","api_service_ApiService","ApiService","http","logger","apiBase","document_service","apiListJsonDefault","firstTime","onDestroy","Subject","sectionsSubject","_sections","pipe","takeUntil","defineProperty","get","fetchSections","subscribe","log","tap","forEach","deprecated","every","enumerable","configurable","ngOnDestroy","src","url","err","error","RenderType_ApiListComponent","core","encapsulation","styles","data","View_ApiListComponent_2","_l","_ck","_v","parent","context","$implicit","path","View_ApiListComponent_4","View_ApiListComponent_3","common","ngForOf","View_ApiListComponent_1","ngIf","View_ApiListComponent_0","en","$event","ad","_co","component","onClick","target","onKeyDown","option","select_component_ngfactory","select_component","selected","options","showSymbol","label","change","disabled","transform","View_ApiListComponent_Host_0","location_service","ApiListComponentNgFactory","__webpack_require__","d","__webpack_exports__","ApiListModuleNgFactory","fesm5_http","p0_0","logger_service","shared_module"],"mappings":"wJAiBAA,EAAA,WAIA,OAJA,WACEC,KAAAC,MAAU,GACVD,KAAAE,OAAW,MACXF,KAAAG,KAAS,OAHX,GAMAC,EAAA,WA2CE,SAAAC,EACUC,EACAC,GADAP,KAAAM,aACAN,KAAAO,kBArCVP,KAAAQ,gBAAiB,EACjBR,KAAAS,cAAe,EAEPT,KAAAU,gBAAkB,IAAIC,EAAA,EAA8B,GACpDX,KAAAY,eAAiB,IAAIb,EAM7BC,KAAAa,MAAkB,CAChB,CAAEC,MAAO,MAAOC,MAAO,gBACvB,CAAED,MAAO,QAASC,MAAO,UACzB,CAAED,MAAO,QAASC,MAAO,gBACzB,CAAED,MAAO,YAAaC,MAAO,sBAC7B,CAAED,MAAO,YAAaC,MAAO,gBAC7B,CAAED,MAAO,OAAQC,MAAO,gBACxB,CAAED,MAAO,WAAYC,MAAO,gBAC5B,CAAED,MAAO,YAAaC,MAAO,gBAC7B,CAAED,MAAO,OAAQC,MAAO,gBACxB,CAAED,MAAO,WAAYC,MAAO,YAC5B,CAAED,MAAO,aAAcC,MAAO,4BAC9B,CAAED,MAAO,UAAWC,MAAO,WAG7Bf,KAAAgB,SAAqB,CACnB,CAAEF,MAAO,MAAOC,MAAO,gBACvB,CAAED,MAAO,SAAUC,MAAO,gBAC1B,CAAED,MAAO,aAAcC,MAAO,gBAC9B,CAAED,MAAO,eAAgBC,MAAO,gBAChC,CAAED,MAAO,gBAAiBC,MAAO,6BA8GrC,OArGEV,EAAAY,UAAAC,SAAA,eAAAC,EAAAnB,KACEA,KAAKoB,iBAAmBC,OAAAC,EAAA,EAAAD,CACtBrB,KAAKM,WAAWiB,SAChBvB,KAAKU,gBACL,SAACa,EAAUC,GACT,OAAOD,EACJE,IAAI,SAAAC,GAAW,OAAAC,EAAA,KAAMD,EAAO,CAAEE,MAAOT,EAAK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KAAM4C,EAAA,EAAyCA,EAAA,EAAyC,CAACA,EAAA,EAA2BA,EAAA,IAA2C5C,EAAA,GAAQ,KAAM4C,EAAA,EAAsB,SAAUC,GAAQ,MAAO,CAACA,IAAU,CAACD,EAAA,IAA2C5C,EAAA,GAAQ,KAAM4C,EAAA,EAAyCA,EAAA,EAAyC,IAAK5C,EAAA,GAAQ,KAAM4C,EAAA,EAAe,KAAM,CAACA,EAAA,IAA2C5C,EAAA,GAAQ,KAAM4C,EAAA,EAAmBA,EAAA,EAAmB,CAACA,EAAA,IAAiB5C,EAAA,GAAQ,KAAM4C,EAAA,EAAgB,KAAM,CAACA,EAAA,IAAqB5C,EAAA,GAAQ,KAAM4C,EAAA,EAAgBA,EAAA,EAA6B,CAACA,EAAA,EAAgB5C,EAAA,IAAeA,EAAA,GAAQ,KAAM4C,EAAA,EAAeA,EAAA,EAAe,CAACA,EAAA,IAAkB5C,EAAA,GAAQ,OAAQ/B,EAAeA,EAAe,CAAC2E,EAAA,EAAeE,EAAA,IAAa9C,EAAA,GAAQ,WAAYc,EAAA,EAAiBA,EAAA,EAAiB,IAAKd,EAAA,GAAQ,WAAY+C,EAAA,EAAiBA,EAAA,EAAiB,IAAK/C,EAAA,GAAQ,WAAY4C,EAAA,EAAyBA,EAAA,EAAyB,IAAK5C,EAAA,GAAQ,WAAY4C,EAAA,EAAqBA,EAAA,EAAqB,IAAK5C,EAAA,GAAQ,WAAYjC,EAAkBA,EAAkB,IAAKiC,EAAA,GAAQ,IAAK4C,EAAA,EAAyC,aAAc,IAAK5C,EAAA,GAAQ,IAAK4C,EAAA,EAAyC,eAAgB","file":"api-api-list-module-ngfactory.3109fe55ad58c2466978.js","sourcesContent":["/*\n* API List & Filter Component\n*\n* A page that displays a formatted list of the public Angular API entities.\n* Clicking on a list item triggers navigation to the corresponding API entity document.\n* Can add/remove API entity links based on filter settings.\n*/\n\nimport { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\n\nimport { combineLatest, Observable, ReplaySubject } from 'rxjs';\n\nimport { LocationService } from 'app/shared/location.service';\nimport { ApiSection, ApiService } from './api.service';\n\nimport { Option } from 'app/shared/select/select.component';\n\nclass SearchCriteria {\n query ? = '';\n status ? = 'all';\n type ? = 'all';\n}\n\n@Component({\n selector: 'aio-api-list',\n templateUrl: './api-list.component.html',\n})\nexport class ApiListComponent implements OnInit {\n\n filteredSections: Observable<ApiSection[]>;\n\n showStatusMenu = false;\n showTypeMenu = false;\n\n private criteriaSubject = new ReplaySubject<SearchCriteria>(1);\n private searchCriteria = new SearchCriteria();\n\n status: Option;\n type: Option;\n\n // API types\n types: Option[] = [\n { value: 'all', title: '全部' },\n { value: 'class', title: '类' },\n { value: 'const', title: '常量'},\n { value: 'decorator', title: '装饰器' },\n { value: 'directive', title: '指令' },\n { value: 'enum', title: '枚举' },\n { value: 'function', title: '函数' },\n { value: 'interface', title: '接口' },\n { value: 'pipe', title: '管道'},\n { value: 'ngmodule', title: 'NgModule'},\n { value: 'type-alias', title: '类型别名' },\n { value: 'package', title: '包'}\n ];\n\n statuses: Option[] = [\n { value: 'all', title: '全部' },\n { value: 'stable', title: '稳定' },\n { value: 'deprecated', title: '弃用' },\n { value: 'experimental', title: '试验' },\n { value: 'security-risk', title: '安全风险' }\n ];\n\n @ViewChild('filter') queryEl: ElementRef;\n\n constructor(\n private apiService: ApiService,\n private locationService: LocationService) { }\n\n ngOnInit() {\n this.filteredSections = combineLatest(\n this.apiService.sections,\n this.criteriaSubject,\n (sections, criteria) => {\n return sections\n .map(section => ({ ...section, items: this.filterSection(section, criteria) }));\n }\n );\n\n this.initializeSearchCriteria();\n }\n\n // TODO: may need to debounce as the original did\n // although there shouldn't be any perf consequences if we don't\n setQuery(query: string) {\n this.setSearchCriteria({query: (query || '').toLowerCase().trim() });\n }\n\n setStatus(status: Option) {\n this.toggleStatusMenu();\n this.status = status;\n this.setSearchCriteria({status: status.value});\n }\n\n setType(type: Option) {\n this.toggleTypeMenu();\n this.type = type;\n this.setSearchCriteria({type: type.value});\n }\n\n toggleStatusMenu() {\n this.showStatusMenu = !this.showStatusMenu;\n }\n\n toggleTypeMenu() {\n this.showTypeMenu = !this.showTypeMenu;\n }\n\n //////// Private //////////\n\n private filterSection(section: ApiSection, { query, status, type }: SearchCriteria) {\n const items = section.items!.filter(item => {\n return matchesType() && matchesStatus() && matchesQuery();\n\n function matchesQuery() {\n return !query ||\n section.name.indexOf(query) !== -1 ||\n item.name.indexOf(query) !== -1;\n }\n\n function matchesStatus() {\n return status === 'all' ||\n status === item.stability ||\n (status === 'security-risk' && item.securityRisk);\n };\n\n function matchesType() {\n return type === 'all' || type === item.docType;\n }\n });\n\n // If there are no items we still return an empty array if the section name matches and the type is 'package'\n return items.length ? items : (type === 'package' && (!query || section.name.indexOf(query) !== -1)) ? [] : null;\n }\n\n // Get initial search criteria from URL search params\n private initializeSearchCriteria() {\n const {query, status, type} = this.locationService.search();\n\n const q = (query || '').toLowerCase();\n // Hack: can't bind to query because input cursor always forced to end-of-line.\n this.queryEl.nativeElement.value = q;\n\n this.status = this.statuses.find(x => x.value === status) || this.statuses[0];\n this.type = this.types.find(x => x.value === type) || this.types[0];\n\n this.searchCriteria = {\n query: q,\n status: this.status.value,\n type: this.type.value\n };\n\n this.criteriaSubject.next(this.searchCriteria);\n }\n\n private setLocationSearch() {\n const {query, status, type} = this.searchCriteria;\n const params = {\n query: query ? query : undefined,\n status: status !== 'all' ? status : undefined,\n type: type !== 'all' ? type : undefined\n };\n\n this.locationService.setSearch('API 搜索', params);\n }\n\n private setSearchCriteria(criteria: SearchCriteria) {\n this.criteriaSubject.next(Object.assign(this.searchCriteria, criteria));\n this.setLocationSearch();\n }\n}\n","/*\n* API List & Filter Component\n*\n* A page that displays a formatted list of the public Angular API entities.\n* Clicking on a list item triggers navigation to the corresponding API entity document.\n* Can add/remove API entity links based on filter settings.\n*/\nimport * as tslib_1 from \"tslib\";\nimport { ElementRef, OnInit } from '@angular/core';\nimport { combineLatest, ReplaySubject } from 'rxjs';\nimport { LocationService } from 'app/shared/location.service';\nimport { ApiService } from './api.service';\nvar SearchCriteria = /** @class */ (function () {\n function SearchCriteria() {\n this.query = '';\n this.status = 'all';\n this.type = 'all';\n }\n return SearchCriteria;\n}());\nvar ApiListComponent = /** @class */ (function () {\n function ApiListComponent(apiService, locationService) {\n this.apiService = apiService;\n this.locationService = locationService;\n this.showStatusMenu = false;\n this.showTypeMenu = false;\n this.criteriaSubject = new ReplaySubject(1);\n this.searchCriteria = new SearchCriteria();\n // API types\n this.types = [\n { value: 'all', title: '全部' },\n { value: 'class', title: '类' },\n { value: 'const', title: '常量' },\n { value: 'decorator', title: '装饰器' },\n { value: 'directive', title: '指令' },\n { value: 'enum', title: '枚举' },\n { value: 'function', title: '函数' },\n { value: 'interface', title: '接口' },\n { value: 'pipe', title: '管道' },\n { value: 'ngmodule', title: 'NgModule' },\n { value: 'type-alias', title: '类型别名' },\n { value: 'package', title: '包' }\n ];\n this.statuses = [\n { value: 'all', title: '全部' },\n { value: 'stable', title: '稳定' },\n { value: 'deprecated', title: '弃用' },\n { value: 'experimental', title: '试验' },\n { value: 'security-risk', title: '安全风险' }\n ];\n }\n ApiListComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.filteredSections = combineLatest(this.apiService.sections, this.criteriaSubject, function (sections, criteria) {\n return sections\n .map(function (section) { return (tslib_1.__assign({}, section, { items: _this.filterSection(section, criteria) })); });\n });\n this.initializeSearchCriteria();\n };\n // TODO: may need to debounce as the original did\n // although there shouldn't be any perf consequences if we don't\n ApiListComponent.prototype.setQuery = function (query) {\n this.setSearchCriteria({ query: (query || '').toLowerCase().trim() });\n };\n ApiListComponent.prototype.setStatus = function (status) {\n this.toggleStatusMenu();\n this.status = status;\n this.setSearchCriteria({ status: status.value });\n };\n ApiListComponent.prototype.setType = function (type) {\n this.toggleTypeMenu();\n this.type = type;\n this.setSearchCriteria({ type: type.value });\n };\n ApiListComponent.prototype.toggleStatusMenu = function () {\n this.showStatusMenu = !this.showStatusMenu;\n };\n ApiListComponent.prototype.toggleTypeMenu = function () {\n this.showTypeMenu = !this.showTypeMenu;\n };\n //////// Private //////////\n ApiListComponent.prototype.filterSection = function (section, _a) {\n var query = _a.query, status = _a.status, type = _a.type;\n var items = section.items.filter(function (item) {\n return matchesType() && matchesStatus() && matchesQuery();\n function matchesQuery() {\n return !query ||\n section.name.indexOf(query) !== -1 ||\n item.name.indexOf(query) !== -1;\n }\n function matchesStatus() {\n return status === 'all' ||\n status === item.stability ||\n (status === 'security-risk' && item.securityRisk);\n }\n ;\n function matchesType() {\n return type === 'all' || type === item.docType;\n }\n });\n // If there are no items we still return an empty array if the section name matches and the type is 'package'\n return items.length ? items : (type === 'package' && (!query || section.name.indexOf(query) !== -1)) ? [] : null;\n };\n // Get initial search criteria from URL search params\n ApiListComponent.prototype.initializeSearchCriteria = function () {\n var _a = this.locationService.search(), query = _a.query, status = _a.status, type = _a.type;\n var q = (query || '').toLowerCase();\n // Hack: can't bind to query because input cursor always forced to end-of-line.\n this.queryEl.nativeElement.value = q;\n this.status = this.statuses.find(function (x) { return x.value === status; }) || this.statuses[0];\n this.type = this.types.find(function (x) { return x.value === type; }) || this.types[0];\n this.searchCriteria = {\n query: q,\n status: this.status.value,\n type: this.type.value\n };\n this.criteriaSubject.next(this.searchCriteria);\n };\n ApiListComponent.prototype.setLocationSearch = function () {\n var _a = this.searchCriteria, query = _a.query, status = _a.status, type = _a.type;\n var params = {\n query: query ? query : undefined,\n status: status !== 'all' ? status : undefined,\n type: type !== 'all' ? type : undefined\n };\n this.locationService.setSearch('API 搜索', params);\n };\n ApiListComponent.prototype.setSearchCriteria = function (criteria) {\n this.criteriaSubject.next(Object.assign(this.searchCriteria, criteria));\n this.setLocationSearch();\n };\n return ApiListComponent;\n}());\nexport { ApiListComponent };\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { HttpClientModule } from '@angular/common/http';\nimport { SharedModule } from '../../shared/shared.module';\nimport { ApiListComponent } from './api-list.component';\nimport { ApiService } from './api.service';\nimport { WithCustomElementComponent } from '../element-registry';\n\n@NgModule({\n imports: [ CommonModule, SharedModule, HttpClientModule ],\n declarations: [ ApiListComponent ],\n entryComponents: [ ApiListComponent ],\n providers: [ ApiService ]\n})\nexport class ApiListModule implements WithCustomElementComponent {\n customElementComponent: Type<any> = ApiListComponent;\n}\n","import { Injectable, OnDestroy } from '@angular/core';\nimport { HttpClient, HttpErrorResponse } from '@angular/common/http';\n\nimport { ReplaySubject, Subject } from 'rxjs';\nimport { takeUntil, tap } from 'rxjs/operators';\n\nimport { Logger } from 'app/shared/logger.service';\nimport { DOC_CONTENT_URL_PREFIX } from 'app/documents/document.service';\n\nexport interface ApiItem {\n name: string;\n title: string;\n path: string;\n docType: string;\n stability: string;\n securityRisk: boolean;\n}\n\nexport interface ApiSection {\n path: string;\n name: string;\n title: string;\n deprecated: boolean;\n items: ApiItem[]|null;\n}\n\n@Injectable()\nexport class ApiService implements OnDestroy {\n\n private apiBase = DOC_CONTENT_URL_PREFIX + 'api/';\n private apiListJsonDefault = 'api-list.json';\n private firstTime = true;\n private onDestroy = new Subject();\n private sectionsSubject = new ReplaySubject<ApiSection[]>(1);\n private _sections = this.sectionsSubject.pipe(takeUntil(this.onDestroy));\n\n /**\n * Return a cached observable of API sections from a JSON file.\n * API sections is an array of Angular top modules and metadata about their API documents (items).\n */\n get sections() {\n\n if (this.firstTime) {\n this.firstTime = false;\n this.fetchSections(); // TODO: get URL for fetchSections by configuration?\n\n // makes sectionsSubject hot; subscribe ensures stays alive (always refCount > 0);\n this._sections.subscribe(sections => this.logger.log('ApiService got API sections') );\n }\n\n return this._sections.pipe(tap(sections => {\n sections.forEach(section => {\n section.deprecated = !!section.items &&\n section.items.every(item => item.stability === 'deprecated');\n });\n }));\n };\n\n constructor(private http: HttpClient, private logger: Logger) { }\n\n ngOnDestroy() {\n this.onDestroy.next();\n }\n\n /**\n * Fetch API sections from a JSON file.\n * API sections is an array of Angular top modules and metadata about their API documents (items).\n * Updates `sections` observable\n *\n * @param {string} [src] - Name of the api list JSON file\n */\n fetchSections(src?: string) {\n // TODO: get URL by configuration?\n const url = this.apiBase + (src || this.apiListJsonDefault);\n this.http.get<ApiSection[]>(url)\n .pipe(\n takeUntil(this.onDestroy),\n tap(() => this.logger.log(`Got API sections from ${url}`)),\n )\n .subscribe(\n sections => this.sectionsSubject.next(sections),\n (err: HttpErrorResponse) => {\n // TODO: handle error\n this.logger.error(err);\n throw err; // rethrow for now.\n }\n );\n }\n}\n","import { OnDestroy } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { ReplaySubject, Subject } from 'rxjs';\nimport { takeUntil, tap } from 'rxjs/operators';\nimport { Logger } from 'app/shared/logger.service';\nimport { DOC_CONTENT_URL_PREFIX } from 'app/documents/document.service';\nvar ApiService = /** @class */ (function () {\n function ApiService(http, logger) {\n this.http = http;\n this.logger = logger;\n this.apiBase = DOC_CONTENT_URL_PREFIX + 'api/';\n this.apiListJsonDefault = 'api-list.json';\n this.firstTime = true;\n this.onDestroy = new Subject();\n this.sectionsSubject = new ReplaySubject(1);\n this._sections = this.sectionsSubject.pipe(takeUntil(this.onDestroy));\n }\n Object.defineProperty(ApiService.prototype, \"sections\", {\n /**\n * Return a cached observable of API sections from a JSON file.\n * API sections is an array of Angular top modules and metadata about their API documents (items).\n */\n get: function () {\n var _this = this;\n if (this.firstTime) {\n this.firstTime = false;\n this.fetchSections(); // TODO: get URL for fetchSections by configuration?\n // makes sectionsSubject hot; subscribe ensures stays alive (always refCount > 0);\n this._sections.subscribe(function (sections) { return _this.logger.log('ApiService got API sections'); });\n }\n return this._sections.pipe(tap(function (sections) {\n sections.forEach(function (section) {\n section.deprecated = !!section.items &&\n section.items.every(function (item) { return item.stability === 'deprecated'; });\n });\n }));\n },\n enumerable: true,\n configurable: true\n });\n ;\n ApiService.prototype.ngOnDestroy = function () {\n this.onDestroy.next();\n };\n /**\n * Fetch API sections from a JSON file.\n * API sections is an array of Angular top modules and metadata about their API documents (items).\n * Updates `sections` observable\n *\n * @param {string} [src] - Name of the api list JSON file\n */\n ApiService.prototype.fetchSections = function (src) {\n var _this = this;\n // TODO: get URL by configuration?\n var url = this.apiBase + (src || this.apiListJsonDefault);\n this.http.get(url)\n .pipe(takeUntil(this.onDestroy), tap(function () { return _this.logger.log(\"Got API sections from \" + url); }))\n .subscribe(function (sections) { return _this.sectionsSubject.next(sections); }, function (err) {\n // TODO: handle error\n _this.logger.error(err);\n throw err; // rethrow for now.\n });\n };\n return ApiService;\n}());\nexport { ApiService };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n * /*\n* API List & Filter Component\n*\n* A page that displays a formatted list of the public Angular API entities.\n* Clicking on a list item triggers navigation to the corresponding API entity document.\n* Can add/remove API entity links based on filter settings.\n\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"../../shared/select/select.component.ngfactory\";\nimport * as i3 from \"../../shared/select/select.component\";\nimport * as i4 from \"./api-list.component\";\nimport * as i5 from \"./api.service\";\nimport * as i6 from \"../../shared/location.service\";\nvar styles_ApiListComponent = [];\nvar RenderType_ApiListComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ApiListComponent, data: {} });\nexport { RenderType_ApiListComponent as RenderType_ApiListComponent };\nfunction View_ApiListComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"h2\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"a\", [], [[8, \"href\", 4], [2, \"deprecated-api-item\", null]], null, null, null, null)), (_l()(), i0.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.path; var currVal_1 = _v.parent.context.$implicit.deprecated; _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.parent.context.$implicit.title; _ck(_v, 2, 0, currVal_2); }); }\nfunction View_ApiListComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 3, \"li\", [[\"class\", \"api-item\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 2, \"a\", [], [[8, \"href\", 4], [2, \"deprecated-api-item\", null]], null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 0, \"span\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i0.ɵted(4, null, [\" \", \" \"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit.path; var currVal_1 = (_v.context.$implicit.stability === \"deprecated\"); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = i0.ɵinlineInterpolate(1, \"symbol \", _v.context.$implicit.docType, \"\"); _ck(_v, 3, 0, currVal_2); var currVal_3 = _v.context.$implicit.title; _ck(_v, 4, 0, currVal_3); }); }\nfunction View_ApiListComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"ul\", [[\"class\", \"api-list\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ApiListComponent_4)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.items; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ApiListComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ApiListComponent_2)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ApiListComponent_3)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.items; _ck(_v, 2, 0, currVal_0); var currVal_1 = ((_v.context.$implicit.items == null) ? null : _v.context.$implicit.items.length); _ck(_v, 4, 0, currVal_1); }, null); }\nexport function View_ApiListComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { queryEl: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 8, \"div\", [[\"class\", \"l-flex-wrap api-filter\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"aio-select\", [[\"label\", \"\\u7C7B\\u578B\\uFF1A\"]], null, [[null, \"change\"], [\"document\", \"click\"], [\"document\", \"keydown.escape\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:click\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 3).onClick($event.target) !== false);\n ad = (pd_0 && ad);\n } if ((\"document:keydown.escape\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 3).onKeyDown() !== false);\n ad = (pd_1 && ad);\n } if ((\"change\" === en)) {\n var pd_2 = (_co.setType($event.option) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i2.View_SelectComponent_0, i2.RenderType_SelectComponent)), i0.ɵdid(3, 114688, null, 0, i3.SelectComponent, [i0.ElementRef], { selected: [0, \"selected\"], options: [1, \"options\"], showSymbol: [2, \"showSymbol\"], label: [3, \"label\"] }, { change: \"change\" }), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"aio-select\", [[\"label\", \"\\u72B6\\u6001\\uFF1A\"]], null, [[null, \"change\"], [\"document\", \"click\"], [\"document\", \"keydown.escape\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:click\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 5).onClick($event.target) !== false);\n ad = (pd_0 && ad);\n } if ((\"document:keydown.escape\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 5).onKeyDown() !== false);\n ad = (pd_1 && ad);\n } if ((\"change\" === en)) {\n var pd_2 = (_co.setStatus($event.option) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i2.View_SelectComponent_0, i2.RenderType_SelectComponent)), i0.ɵdid(5, 114688, null, 0, i3.SelectComponent, [i0.ElementRef], { selected: [0, \"selected\"], options: [1, \"options\"], label: [2, \"label\"], disabled: [3, \"disabled\"] }, { change: \"change\" }), (_l()(), i0.ɵeld(6, 0, null, null, 3, \"div\", [[\"class\", \"form-search\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, [[1, 0], [\"filter\", 1]], null, 0, \"input\", [[\"placeholder\", \"\\u8FC7\\u6EE4\"]], null, [[null, \"input\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (_co.setQuery($event.target.value) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 1, \"i\", [[\"class\", \"material-icons\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"search\"])), (_l()(), i0.ɵeld(10, 0, null, null, 3, \"article\", [[\"class\", \"api-list-container l-content-small docs-content\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 2, null, View_ApiListComponent_1)), i0.ɵdid(12, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i0.ɵpid(131072, i1.AsyncPipe, [i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.type; var currVal_1 = _co.types; var currVal_2 = true; var currVal_3 = \"\\u7C7B\\u578B\\uFF1A\"; _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_4 = _co.status; var currVal_5 = _co.statuses; var currVal_6 = \"\\u72B6\\u6001\\uFF1A\"; var currVal_7 = (_co.type.value === \"package\"); _ck(_v, 5, 0, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_8 = i0.ɵunv(_v, 12, 0, i0.ɵnov(_v, 13).transform(_co.filteredSections)); _ck(_v, 12, 0, currVal_8); }, null); }\nexport function View_ApiListComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"aio-api-list\", [], null, null, null, View_ApiListComponent_0, RenderType_ApiListComponent)), i0.ɵdid(1, 114688, null, 0, i4.ApiListComponent, [i5.ApiService, i6.LocationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ApiListComponentNgFactory = i0.ɵccf(\"aio-api-list\", i4.ApiListComponent, View_ApiListComponent_Host_0, {}, {}, []);\nexport { ApiListComponentNgFactory as ApiListComponentNgFactory };\n","<div class=\"l-flex-wrap api-filter\">\n\n <aio-select (change)=\"setType($event.option)\"\n [options]=\"types\"\n [selected]=\"type\"\n [showSymbol]=\"true\"\n label=\"类型:\">\n </aio-select>\n\n <aio-select (change)=\"setStatus($event.option)\"\n [options]=\"statuses\"\n [selected]=\"status\"\n [disabled]=\"type.value === 'package'\"\n label=\"状态:\">\n </aio-select>\n\n <div class=\"form-search\">\n <input #filter placeholder=\"过滤\" (input)=\"setQuery($event.target.value)\">\n <i class=\"material-icons\">search</i>\n </div>\n</div>\n\n<article class=\"api-list-container l-content-small docs-content\">\n <div *ngFor=\"let section of filteredSections | async\" >\n <h2 *ngIf=\"section.items\"><a [href]=\"section.path\" [class.deprecated-api-item]=\"section.deprecated\">{{section.title}}</a></h2>\n <ul class=\"api-list\" *ngIf=\"section.items?.length\">\n <ng-container *ngFor=\"let item of section.items\">\n <li class=\"api-item\">\n <a [href]=\"item.path\" [class.deprecated-api-item]=\"item.stability === 'deprecated'\">\n <span class=\"symbol {{item.docType}}\"></span>\n {{item.title}}\n </a>\n </li>\n </ng-container>\n </ul>\n </div>\n</article>\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./api-list.module\";\nimport * as i2 from \"./api-list.component.ngfactory\";\nimport * as i3 from \"@angular/common\";\nimport * as i4 from \"@angular/common/http\";\nimport * as i5 from \"./api.service\";\nimport * as i6 from \"../../shared/logger.service\";\nimport * as i7 from \"../../shared/shared.module\";\nvar ApiListModuleNgFactory = i0.ɵcmf(i1.ApiListModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, [i2.ApiListComponentNgFactory]], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i3.NgLocalization, i3.NgLocaleLocalization, [i0.LOCALE_ID, [2, i3.ɵangular_packages_common_common_a]]), i0.ɵmpd(4608, i4.HttpXsrfTokenExtractor, i4.ɵangular_packages_common_http_http_g, [i3.DOCUMENT, i0.PLATFORM_ID, i4.ɵangular_packages_common_http_http_e]), i0.ɵmpd(4608, i4.ɵangular_packages_common_http_http_h, i4.ɵangular_packages_common_http_http_h, [i4.HttpXsrfTokenExtractor, i4.ɵangular_packages_common_http_http_f]), i0.ɵmpd(5120, i4.HTTP_INTERCEPTORS, function (p0_0) { return [p0_0]; }, [i4.ɵangular_packages_common_http_http_h]), i0.ɵmpd(4608, i4.ɵangular_packages_common_http_http_d, i4.ɵangular_packages_common_http_http_d, []), i0.ɵmpd(6144, i4.XhrFactory, null, [i4.ɵangular_packages_common_http_http_d]), i0.ɵmpd(4608, i4.HttpXhrBackend, i4.HttpXhrBackend, [i4.XhrFactory]), i0.ɵmpd(6144, i4.HttpBackend, null, [i4.HttpXhrBackend]), i0.ɵmpd(4608, i4.HttpHandler, i4.ɵHttpInterceptingHandler, [i4.HttpBackend, i0.Injector]), i0.ɵmpd(4608, i4.HttpClient, i4.HttpClient, [i4.HttpHandler]), i0.ɵmpd(135680, i5.ApiService, i5.ApiService, [i4.HttpClient, i6.Logger]), i0.ɵmpd(1073742336, i3.CommonModule, i3.CommonModule, []), i0.ɵmpd(1073742336, i7.SharedModule, i7.SharedModule, []), i0.ɵmpd(1073742336, i4.HttpClientXsrfModule, i4.HttpClientXsrfModule, []), i0.ɵmpd(1073742336, i4.HttpClientModule, i4.HttpClientModule, []), i0.ɵmpd(1073742336, i1.ApiListModule, i1.ApiListModule, []), i0.ɵmpd(256, i4.ɵangular_packages_common_http_http_e, \"XSRF-TOKEN\", []), i0.ɵmpd(256, i4.ɵangular_packages_common_http_http_f, \"X-XSRF-TOKEN\", [])]); });\nexport { ApiListModuleNgFactory as ApiListModuleNgFactory };\n"],"sourceRoot":""}