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GAAA,CAAAsD,KAAA,CACZ;QAKFnH,uDAAA,EAA2C;QAA3CA,wDAAA,UAAA6D,GAAA,CAAAyE,WAAA,kBAAAzE,GAAA,CAAAyE,WAAA,CAAAoB,MAAA,YAAA7F,GAAA,CAAA+D,OAAA,CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/CX;AACe;AACR;AACwD;AACV;;AAY9F,MAAOiC,gBAAgB;EAAA,QAAAvG,CAAA;qBAAhBuG,gBAAgB;EAAA;EAAA,QAAAtG,EAAA;UAAhBsG;EAAgB;EAAA,QAAAxD,EAAA;cAPzBL,yDAAY,EACZE,gEAAe,EACfyD,wHAAsB,EACtBC,sGAAgB;EAAA;;;sHAIPC,gBAAgB;IAAAtD,YAAA,GATZgB,uEAAmB;IAAAf,OAAA,GAEhCR,yDAAY,EACZE,gEAAe,EACfyD,wHAAsB,EACtBC,sGAAgB;IAAAlD,OAAA,GAERa,uEAAmB;EAAA;AAAA","sources":["./src/app/shared/components/guide-controls/components/guide-controls.component.ts","./src/app/shared/components/guide-controls/components/guide-controls.component.html","./src/app/shared/components/guide-controls/components/guide-pagination/guide-pagination.component.ts","./src/app/shared/components/guide-controls/components/guide-pagination/guide-pagination.component.html","./src/app/shared/components/guide-controls/components/guide-search/guide-search.component.ts","./src/app/shared/components/guide-controls/components/guide-search/guide-search.component.html","./src/app/shared/components/guide-controls/guide-controls.module.ts","./src/app/ui/pages/guide-page/components/search-area/search-area.component.ts","./src/app/ui/pages/guide-page/components/search-area/search-area.component.html","./src/app/ui/pages/guide-page/components/search-area/search-area.module.ts"],"sourcesContent":["import {\r\n Component,\r\n Input,\r\n HostBinding,\r\n Output,\r\n EventEmitter,\r\n} from '@angular/core';\r\nimport { SafeHtml } from '@angular/platform-browser';\r\nimport { IPictureData } from 'src/app/dynamic-module/lib/public_api';\r\nexport interface ITableOfContent {\r\n items: ITableOfContentItem[];\r\n}\r\n\r\nexport interface ITableOfContentItem {\r\n ordinalNumber: string;\r\n title: string;\r\n url: string;\r\n children: ITableOfContentItem[];\r\n}\r\n\r\nexport interface IGuideControlsData {\r\n image: IPictureData;\r\n published: string;\r\n downloadPdfLink: string;\r\n title: string;\r\n description?: SafeHtml;\r\n tableOfContent: ITableOfContent;\r\n guideUrl: string;\r\n paging: IGuidePaging;\r\n}\r\n\r\nexport interface IGuidePaging {\r\n totalPageCount: number;\r\n currentPage: number | null;\r\n previousPageUrl: string | null;\r\n nextPageUrl: string | null;\r\n showPageCount: boolean;\r\n}\r\n\r\n@Component({\r\n selector: 'app-guide-controls',\r\n templateUrl: './guide-controls.component.html',\r\n styleUrls: ['./guide-controls.component.less'],\r\n exportAs: 'guideControls',\r\n})\r\nexport class GuideControlsComponent {\r\n @Input() data: IGuideControlsData;\r\n @Input() compact: boolean;\r\n @Output() search = new EventEmitter();\r\n\r\n @HostBinding('class') get hostClass() {\r\n return this.compact ? 'compact' : '';\r\n }\r\n\r\n isDropdownVisible: boolean;\r\n\r\n showDropdown() {\r\n this.isDropdownVisible = true;\r\n }\r\n\r\n hideDropdown() {\r\n this.isDropdownVisible = false;\r\n }\r\n\r\n toggleDropDown() {\r\n this.isDropdownVisible ? this.hideDropdown() : this.showDropdown();\r\n }\r\n}\r\n","\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n {{ 'guideDownloadPdfLinkLabel' | translate }}\r\n \r\n PDF\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n

{{ data.title }}

\r\n
\r\n\r\n
\r\n \r\n \r\n {{\r\n 'tableOfContentLabel' | translate\r\n }}\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';\r\nimport { IGuidePaging } from '../guide-controls.component';\r\n\r\n@Component({\r\n selector: 'app-guide-pagination',\r\n templateUrl: './guide-pagination.component.html',\r\n styleUrls: ['./guide-pagination.component.less'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n exportAs: 'guidePagination'\r\n})\r\nexport class GuidePaginationComponent {\r\n @Input() paging: IGuidePaging;\r\n\r\n @Output() onNext = new EventEmitter();\r\n\r\n constructor(\r\n ) { }\r\n\r\n ngOnInit() {\r\n }\r\n}\r\n","\r\n\r\n\r\n {{ 'guideSectionLabel' | translate:{current: paging.currentPage, total: paging.totalPageCount} }}\r\n\r\n\r\n\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-guide-search',\r\n templateUrl: './guide-search.component.html',\r\n styleUrls: ['./guide-search.component.less'],\r\n host: {\r\n class: 'guide-search',\r\n role: 'search',\r\n },\r\n})\r\nexport class GuideSearchComponent {\r\n @Output() search = new EventEmitter();\r\n\r\n constructor() {}\r\n\r\n onSearch(event, element: HTMLInputElement) {\r\n event.preventDefault();\r\n\r\n if (!element.value) return;\r\n this.search.emit(element.value);\r\n element.value = '';\r\n }\r\n}\r\n","
\r\n \r\n \r\n \r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { PictureModule } from 'src/app/dynamic-module/lib/ui-kit/picture/picture.module';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { GuideControlsComponent } from './components/guide-controls.component';\r\nimport { GuidePaginationComponent } from './components/guide-pagination/guide-pagination.component';\r\nimport { RouterModule } from '@angular/router';\r\nimport { GuideSearchComponent } from './components/guide-search/guide-search.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n GuideControlsComponent,\r\n GuidePaginationComponent,\r\n GuideSearchComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n PictureModule,\r\n TranslateModule.forChild(),\r\n RouterModule,\r\n ],\r\n exports: [\r\n GuideControlsComponent,\r\n GuidePaginationComponent,\r\n GuideSearchComponent,\r\n ],\r\n})\r\nexport class GuideControlsModule {}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport {\r\n Component,\r\n OnInit,\r\n ChangeDetectionStrategy,\r\n Input,\r\n ChangeDetectorRef,\r\n Output,\r\n EventEmitter,\r\n OnChanges,\r\n} from '@angular/core';\r\nimport { SubscriptionLike } from 'rxjs';\r\nimport { debounceTime } from 'rxjs/operators';\r\nimport { config } from 'src/app/app.config';\r\nimport { ISearchResponse } from 'src/app/shared/components/search-filter/service/search.service';\r\n\r\nconst SEARCH_URL = `${config.api}/BsfSearchApi/SearchGuides`;\r\nconst MIN_QUERY_LENGTH = 3;\r\n\r\n@Component({\r\n selector: 'app-search-area',\r\n templateUrl: './search-area.component.html',\r\n styleUrls: ['./search-area.component.less'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n host: {\r\n class: 'search-area',\r\n },\r\n})\r\nexport class SearchAreaComponent {\r\n @Input() guideId: number;\r\n @Output() searchActive = new EventEmitter();\r\n @Output() close = new EventEmitter();\r\n\r\n searchQuery: string;\r\n\r\n resultItems: any;\r\n currentPage: number = 0;\r\n total: number;\r\n suggestionText: string;\r\n\r\n loading = true;\r\n\r\n private sub: SubscriptionLike;\r\n\r\n constructor(private http: HttpClient, private cdr: ChangeDetectorRef) {}\r\n\r\n search(query: string) {\r\n this.searchQuery = query;\r\n this.loading = true;\r\n\r\n if (this.sub) {\r\n this.sub.unsubscribe();\r\n }\r\n\r\n this.sub = this.http\r\n .post(SEARCH_URL, {\r\n query: query,\r\n page: this.currentPage,\r\n guideId: this.guideId,\r\n })\r\n .pipe(debounceTime(200))\r\n .subscribe((res: ISearchResponse) => {\r\n this.resultItems = res.items;\r\n\r\n this.total = res.totalResultCount;\r\n this.suggestionText = res.suggestionText;\r\n\r\n this.loading = false;\r\n this.searchActive.emit(true);\r\n this.cdr.markForCheck();\r\n });\r\n }\r\n\r\n onPageChange(newPage: number) {\r\n this.currentPage = newPage;\r\n this.search(this.searchQuery);\r\n }\r\n\r\n resetSearch() {\r\n if (this.sub) {\r\n this.sub.unsubscribe();\r\n }\r\n\r\n this.currentPage = 0;\r\n this.total = 0;\r\n this.suggestionText = null;\r\n this.resultItems = null;\r\n this.searchActive.emit(false);\r\n this.close.emit();\r\n this.cdr.markForCheck();\r\n }\r\n\r\n suggestionHandler(ev) {\r\n if (ev.target.tagName === 'I') {\r\n this.search(this.suggestionText);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n

\r\n {{ 'guidePage.Search.Title' | translate }}\r\n

\r\n\r\n \r\n \r\n {{ 'guidePage.Search.Close' | translate }}\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n\r\n
\r\n {{ 'searchResult.NoResultsFor' | translate: { query: searchQuery } }}\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n {{ 'guideSearch.ThereIsNoResults' | translate }}\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SearchAreaComponent } from './search-area.component';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { AutosuggestInputModule } from 'src/app/shared/components/autosuggest-input/autosuggest-input.module';\r\nimport { ResultListModule } from '../../../search-result/components/result-list/result-list.module';\r\n\r\n@NgModule({\r\n declarations: [SearchAreaComponent],\r\n imports: [\r\n CommonModule,\r\n TranslateModule,\r\n AutosuggestInputModule,\r\n ResultListModule,\r\n ],\r\n exports: [SearchAreaComponent],\r\n})\r\nexport class SearchAreaModule {}\r\n"],"names":["EventEmitter","i0","ɵɵelement","ɵɵproperty","ctx_r1","data","description","ɵɵsanitizeHtml","ɵɵelementStart","ɵɵlistener","GuideControlsComponent_ng_container_0_div_22_Template_button_click_1_listener","ɵɵrestoreView","_r4","ɵɵnextContext","ɵɵresetView","toggleDropDown","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵclassMapInterpolate1","isDropdownVisible","ɵɵtextInterpolate","ɵɵpipeBind1","GuideControlsComponent_ng_container_0_div_23_Template_button_click_1_listener","_r5","hideDropdown","GuideControlsComponent_ng_container_0_div_23_Template_app_guide_search_search_4_listener","$event","search","emit","ɵɵprojection","ɵɵelementContainerStart","GuideControlsComponent_ng_container_0_Template_app_guide_search_search_5_listener","_r1","GuideControlsComponent_ng_container_0_Template_a_click_6_listener","downloadLinkRef_r3","ɵɵreference","setAttribute","ɵɵtemplate","GuideControlsComponent_ng_container_0_div_21_Template","GuideControlsComponent_ng_container_0_div_22_Template","GuideControlsComponent_ng_container_0_div_23_Template","guideUrl","image","downloadPdfLink","ɵɵsanitizeUrl","ɵɵtextInterpolate1","ɵɵtextInterpolate2","published","title","compact","GuideControlsComponent","constructor","hostClass","showDropdown","_","_2","selectors","hostVars","hostBindings","GuideControlsComponent_HostBindings","rf","ctx","ɵɵclassMap","GuideControlsComponent_ng_container_0_Template","ɵɵpipeBind2","ɵɵpureFunction2","_c0","ctx_r0","paging","currentPage","totalPageCount","GuidePaginationComponent","onNext","ngOnInit","inputs","outputs","exportAs","decls","vars","consts","template","GuidePaginationComponent_Template","GuidePaginationComponent_ng_container_6_Template","previousPageUrl","showPageCount","nextPageUrl","GuideSearchComponent","onSearch","event","element","preventDefault","value","hostAttrs","GuideSearchComponent_Template","GuideSearchComponent_Template_form_submit_0_listener","searchInput_r2","CommonModule","PictureModule","TranslateModule","RouterModule","GuideControlsModule","_3","forChild","declarations","imports","i1","exports","debounceTime","config","SearchAreaComponent_div_13_Template_span_click_3_listener","suggestionHandler","ɵɵpureFunction1","searchQuery","_c1","suggestionText","total","SEARCH_URL","api","MIN_QUERY_LENGTH","SearchAreaComponent","http","cdr","searchActive","close","loading","query","sub","unsubscribe","post","page","guideId","pipe","subscribe","res","resultItems","items","totalResultCount","markForCheck","onPageChange","newPage","resetSearch","ev","target","tagName","ɵɵdirectiveInject","HttpClient","ChangeDetectorRef","SearchAreaComponent_Template","SearchAreaComponent_Template_button_click_5_listener","SearchAreaComponent_Template_app_autosuggest_input_onQuery_11_listener","SearchAreaComponent_Template_app_autosuggest_input_onClear_11_listener","SearchAreaComponent_div_13_Template","SearchAreaComponent_Template_app_result_list_pageChange_14_listener","SearchAreaComponent_ng_container_15_Template","length","AutosuggestInputModule","ResultListModule","SearchAreaModule"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}