UNPKG

novo-elements

Version:

Bullhorn's NOVO Element Repository for Angular 2

186 lines (183 loc) 15.3 kB
/** * @fileoverview This file is generated by the Angular template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride} */ /* tslint:disable */ import * as i0 from '@angular/core'; import * as i1 from '../tiles/Tiles.ngfactory'; import * as i2 from '../../../../src/elements/tiles/Tiles'; import * as i3 from '@angular/forms'; import * as i4 from '@angular/common'; import * as i5 from '../../../../src/elements/simple-table/pagination'; import * as i6 from '../button/Button.ngfactory'; import * as i7 from '../../../../src/elements/button/Button'; import * as i8 from '../../../../src/services/novo-label-service'; import * as i9 from '../../../../src/elements/simple-table/state'; const styles_NovoSimpleTablePagination:any[] = ([] as any[]); export const RenderType_NovoSimpleTablePagination:i0.RendererType2 = i0.ɵcrt({encapsulation:2, styles:styles_NovoSimpleTablePagination,data:{}}); function View_NovoSimpleTablePagination_1(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),6,'novo-tiles',[['data-automation-id', 'novo-simple-table-pagination-tiles']],[[2,'ng-untouched',(null as any)],[2, 'ng-touched',(null as any)],[2,'ng-pristine',(null as any)],[2,'ng-dirty',(null as any)], [2,'ng-valid',(null as any)],[2,'ng-invalid',(null as any)],[2,'ng-pending', (null as any)]],[[(null as any),'ngModelChange'],[(null as any),'onChange']], (_v,en,$event) => { var ad:boolean = true; var _co:any = _v.component; if (('ngModelChange' === en)) { const pd_0:any = ((<any>(_co.pageSize = $event)) !== false); ad = (pd_0 && ad); } if (('onChange' === en)) { const pd_1:any = ((<any>_co.changePageSize($event)) !== false); ad = (pd_1 && ad); } return ad; },i1.View_NovoTilesElement_0,i1.RenderType_NovoTilesElement)),i0.ɵdid(1622016, (null as any),0,i2.NovoTilesElement,[i0.ElementRef,i0.ChangeDetectorRef],{options:[0, 'options']},{onChange:'onChange'}),i0.ɵprd(1024,(null as any),i3.NG_VALUE_ACCESSOR, (p0_0:any) => { return [p0_0]; },[i2.NovoTilesElement]),i0.ɵdid(671744,(null as any),0,i3.NgModel,[[8,(null as any)], [8,(null as any)],[8,(null as any)],[2,i3.NG_VALUE_ACCESSOR]],{model:[0,'model']}, {update:'ngModelChange'}),i0.ɵprd(2048,(null as any),i3.NgControl,(null as any), [i3.NgModel]),i0.ɵdid(16384,(null as any),0,i3.NgControlStatus,[i3.NgControl], (null as any),(null as any)),(_l()(),i0.ɵted((null as any),['\n ']))], (_ck,_v) => { var _co:any = _v.component; const currVal_7:any = _co.displayedPageSizeOptions; _ck(_v,1,0,currVal_7); const currVal_8:any = _co.pageSize; _ck(_v,3,0,currVal_8); },(_ck,_v) => { const currVal_0:any = i0.ɵnov(_v,5).ngClassUntouched; const currVal_1:any = i0.ɵnov(_v,5).ngClassTouched; const currVal_2:any = i0.ɵnov(_v,5).ngClassPristine; const currVal_3:any = i0.ɵnov(_v,5).ngClassDirty; const currVal_4:any = i0.ɵnov(_v,5).ngClassValid; const currVal_5:any = i0.ɵnov(_v,5).ngClassInvalid; const currVal_6:any = i0.ɵnov(_v,5).ngClassPending; _ck(_v,0,0,currVal_0,currVal_1,currVal_2,currVal_3,currVal_4,currVal_5,currVal_6); }); } function View_NovoSimpleTablePagination_2(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),1,'div',([] as any[]), (null as any),(null as any),(null as any),(null as any),(null as any))),(_l()(), i0.ɵted((null as any),['','']))],(null as any),(_ck,_v) => { var _co:any = _v.component; const currVal_0:any = _co.pageSize; _ck(_v,1,0,currVal_0); }); } export function View_NovoSimpleTablePagination_0(_l:any):i0ViewDefinition { return i0.ɵvid(2,[(_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵeld(0, (null as any),(null as any),7,'div',[['class','novo-simple-table-pagination-size']], (null as any),(null as any),(null as any),(null as any),(null as any))),(_l()(), i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵand(16777216,(null as any), (null as any),1,(null as any),View_NovoSimpleTablePagination_1)),i0.ɵdid(16384, (null as any),0,i4.NgIf,[i0.ViewContainerRef,i0.TemplateRef],{ngIf:[0,'ngIf']}, (null as any)),(_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵand(16777216, (null as any),(null as any),1,(null as any),View_NovoSimpleTablePagination_2)), i0.ɵdid(16384,(null as any),0,i4.NgIf,[i0.ViewContainerRef,i0.TemplateRef],{ngIf:[0, 'ngIf']},(null as any)),(_l()(),i0.ɵted((null as any),['\n '])),(_l()(), i0.ɵted((null as any),['\n\n '])),(_l()(),i0.ɵeld(0,(null as any), (null as any),1,'div',[['class','novo-simple-table-range-label-long'],['data-automation-id', 'novo-simple-table-pagination-range-label-long']],(null as any),(null as any), (null as any),(null as any),(null as any))),(_l()(),i0.ɵted((null as any), ['\n ','\n '])),(_l()(),i0.ɵted((null as any),['\n '])), (_l()(),i0.ɵeld(0,(null as any),(null as any),1,'div',[['class','novo-simple-table-range-label-short'], ['data-automation-id','novo-simple-table-pagination-range-label-short']], (null as any),(null as any),(null as any),(null as any),(null as any))), (_l()(),i0.ɵted((null as any),['\n ','\n '])),(_l()(),i0.ɵted((null as any), ['\n\n '])),(_l()(),i0.ɵeld(0,(null as any),(null as any),5,'button', [['class','novo-simple-table-pagination-navigation-previous'],['data-automation-id', 'novo-simple-table-pagination-previous'],['icon','previous'],['side', 'left'],['theme','dialogue'],['type','button']],[[8,'disabled',0],[1, 'theme',0],[1,'color',0],[1,'icon',0],[1,'loading',0]],[[(null as any), 'click']],(_v,en,$event) => { var ad:boolean = true; var _co:i5.NovoSimpleTablePagination = _v.component; if (('click' === en)) { const pd_0:any = ((<any>_co.previousPage()) !== false); ad = (pd_0 && ad); } return ad; },i6.View_NovoButtonElement_0,i6.RenderType_NovoButtonElement)),i0.ɵdid(573440, (null as any),0,i7.NovoButtonElement,([] as any[]),{icon:[0,'icon'],side:[1, 'side'],theme:[2,'theme']},(null as any)),(_l()(),i0.ɵted(0,['\n '])), (_l()(),i0.ɵeld(0,(null as any),0,1,'span',([] as any[]),(null as any),(null as any), (null as any),(null as any),(null as any))),(_l()(),i0.ɵted((null as any), ['',''])),(_l()(),i0.ɵted(0,['\n '])),(_l()(),i0.ɵted((null as any), ['\n '])),(_l()(),i0.ɵeld(0,(null as any),(null as any),5,'button', [['class','novo-simple-table-pagination-navigation-next'],['data-automation-id', 'novo-simple-table-pagination-next'],['icon','next'],['side','right'], ['theme','dialogue'],['type','button']],[[8,'disabled',0],[1,'theme', 0],[1,'color',0],[1,'icon',0],[1,'loading',0]],[[(null as any),'click']], (_v,en,$event) => { var ad:boolean = true; var _co:i5.NovoSimpleTablePagination = _v.component; if (('click' === en)) { const pd_0:any = ((<any>_co.nextPage()) !== false); ad = (pd_0 && ad); } return ad; },i6.View_NovoButtonElement_0,i6.RenderType_NovoButtonElement)),i0.ɵdid(573440, (null as any),0,i7.NovoButtonElement,([] as any[]),{icon:[0,'icon'],side:[1, 'side'],theme:[2,'theme']},(null as any)),(_l()(),i0.ɵted(0,['\n '])), (_l()(),i0.ɵeld(0,(null as any),0,1,'span',([] as any[]),(null as any),(null as any), (null as any),(null as any),(null as any))),(_l()(),i0.ɵted((null as any), ['',''])),(_l()(),i0.ɵted(0,['\n '])),(_l()(),i0.ɵted((null as any), ['\n ']))],(_ck,_v) => { var _co:i5.NovoSimpleTablePagination = _v.component; const currVal_0:any = (_co.displayedPageSizeOptions.length > 1); _ck(_v,4,0,currVal_0); const currVal_1:any = (_co.displayedPageSizeOptions.length <= 1); _ck(_v,7,0,currVal_1); const currVal_9:any = 'previous'; const currVal_10:any = 'left'; const currVal_11:any = 'dialogue'; _ck(_v,17,0,currVal_9,currVal_10,currVal_11); const currVal_18:any = 'next'; const currVal_19:any = 'right'; const currVal_20:any = 'dialogue'; _ck(_v,24,0,currVal_18,currVal_19,currVal_20); },(_ck,_v) => { var _co:i5.NovoSimpleTablePagination = _v.component; const currVal_2:any = _co.longRangeLabel; _ck(_v,11,0,currVal_2); const currVal_3:any = _co.shortRangeLabel; _ck(_v,14,0,currVal_3); const currVal_4:boolean = !_co.hasPreviousPage(); const currVal_5:any = i0.ɵnov(_v,17).theme; const currVal_6:any = i0.ɵnov(_v,17).color; const currVal_7:any = i0.ɵnov(_v,17).icon; const currVal_8:any = i0.ɵnov(_v,17).loading; _ck(_v,16,0,currVal_4,currVal_5,currVal_6,currVal_7,currVal_8); const currVal_12:any = _co.labels.previous; _ck(_v,20,0,currVal_12); const currVal_13:boolean = !_co.hasNextPage(); const currVal_14:any = i0.ɵnov(_v,24).theme; const currVal_15:any = i0.ɵnov(_v,24).color; const currVal_16:any = i0.ɵnov(_v,24).icon; const currVal_17:any = i0.ɵnov(_v,24).loading; _ck(_v,23,0,currVal_13,currVal_14,currVal_15,currVal_16,currVal_17); const currVal_21:any = _co.labels.next; _ck(_v,27,0,currVal_21); }); } export function View_NovoSimpleTablePagination_Host_0(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),1,'novo-simple-table-pagination', ([] as any[]),(null as any),(null as any),(null as any),View_NovoSimpleTablePagination_0, RenderType_NovoSimpleTablePagination)),i0.ɵdid(245760,(null as any),0,i5.NovoSimpleTablePagination, [i0.ChangeDetectorRef,i8.NovoLabelService,i9.NovoActivityTableState],(null as any), (null as any))],(_ck,_v) => { _ck(_v,1,0); },(null as any)); } export const NovoSimpleTablePaginationNgFactory:i0.ComponentFactory<i5.NovoSimpleTablePagination> = i0.ɵccf('novo-simple-table-pagination', i5.NovoSimpleTablePagination,View_NovoSimpleTablePagination_Host_0,{page:'page', length:'length',pageSize:'pageSize',pageSizeOptions:'pageSizeOptions'},{pageChange:'pageChange'}, ([] as any[])); //# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL1VzZXJzL2pnb2RpL2JoL25vdm8tZWxlbWVudHMvc3JjL2VsZW1lbnRzL3NpbXBsZS10YWJsZS9wYWdpbmF0aW9uLm5nZmFjdG9yeS50cyIsInZlcnNpb24iOjMsInNvdX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