@cloukit/pagination
Version:
1 lines • 7.59 kB
JSON
{"__symbolic":"module","version":4,"metadata":{"CloukitPaginationComponentThemeDefault":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@cloukit/theme","name":"CloukitComponentTheme","line":8,"character":60},"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"CloukitPaginationComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":22,"character":1},"arguments":[{"selector":"cloukit-pagination","template":"\n <div [ngStyle]=\"getStyle('wrapper').style\">\n <cloukit-pagination-button\n [disabled]=\"!isPreviousPossible() || disabled\"\n [paginationItem]=\"previousDummyPaginationItem()\"\n [themeSelected]=\"themeSelected\"\n [type]=\"PaginationButtonType['previous']\"\n (clicked)=\"selectPage($event)\"\n ></cloukit-pagination-button>\n <cloukit-pagination-button\n *ngFor=\"let page of state.pages\"\n [disabled]=\"disabled\"\n [paginationItem]=\"page\"\n [themeSelected]=\"themeSelected\"\n [type]=\"PaginationButtonType['normal']\"\n (clicked)=\"selectPage($event)\"\n ></cloukit-pagination-button>\n <cloukit-pagination-button\n [disabled]=\"!isNextPossible() || disabled\"\n [paginationItem]=\"nextDummyPaginationItem()\"\n [themeSelected]=\"themeSelected\"\n [type]=\"PaginationButtonType['next']\"\n (clicked)=\"selectPage($event)\"\n ></cloukit-pagination-button>\n </div>","styles":[]}]}],"members":{"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":3}}]}],"total":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":3}}]}],"current":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":69,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":76,"character":3}}]}],"labelNext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":3}}]}],"labelPrev":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":3}}]}],"onPageSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":94,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@cloukit/theme","name":"CloukitThemeService","line":105,"character":36}]}],"getStyle":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"selectPage":[{"__symbolic":"method"}],"previousDummyPaginationItem":[{"__symbolic":"method"}],"nextDummyPaginationItem":[{"__symbolic":"method"}],"isPreviousPossible":[{"__symbolic":"method"}],"isNextPossible":[{"__symbolic":"method"}]}},"CloukitPaginationModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":13}],"exports":[{"__symbolic":"reference","name":"CloukitPaginationComponent"}],"declarations":[{"__symbolic":"reference","name":"CloukitPaginationComponent"},{"__symbolic":"reference","name":"CloukitPaginationButtonComponent"}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@cloukit/theme","name":"CloukitThemeService","line":18,"character":36}]}]}},"PaginationButtonClickEvent":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":7,"character":27,"context":{"typeName":"PaginationButtonType"},"module":"./lib/pagination.model"},{"__symbolic":"reference","name":"number"}]}]}},"PaginationButtonType":{"normal":1,"previous":2,"next":3},"PaginationItem":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"string"}]}]}},"Ui":{"__symbolic":"class","members":{},"statics":{"elements":{"filler":"filler","button":"button","wrapper":"wrapper"},"states":{"normal":"normal","active":"active","disabled":"disabled"},"modifier":{"base":"base","hover":"hover"}}},"CloukitPaginationButtonComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"cloukit-pagination-button","template":"\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n [ngStyle]=\"style?.style\"\n (click)=\"doClick()\"\n (mouseenter)=\"mouseEnter()\"\n (mouseleave)=\"mouseLeave()\"\n >\n {{paginationItem.label}}\n </button>","styles":[]}]}],"members":{"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"paginationItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"themeSelected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"clicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@cloukit/theme","name":"CloukitThemeService","line":58,"character":36}]}],"updateStyle":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"mouseEnter":[{"__symbolic":"method"}],"mouseLeave":[{"__symbolic":"method"}],"doClick":[{"__symbolic":"method"}]}},"createFiller":{"__symbolic":"error","message":"Lambda not supported","line":10,"character":21,"module":"./lib/logic/pagination-helper"},"calculatePaginationItems":{"__symbolic":"error","message":"Lambda not supported","line":22,"character":33,"module":"./lib/logic/pagination-helper"}},"origins":{"CloukitPaginationComponentThemeDefault":"./lib/pagination.theme","CloukitPaginationComponent":"./lib/pagination.component","CloukitPaginationModule":"./lib/pagination.module","PaginationButtonClickEvent":"./lib/pagination.model","PaginationButtonType":"./lib/pagination.model","PaginationItem":"./lib/pagination.model","Ui":"./lib/pagination.model","CloukitPaginationButtonComponent":"./lib/children/pagination-button.component","createFiller":"./lib/logic/pagination-helper","calculatePaginationItems":"./lib/logic/pagination-helper"},"importAs":"@cloukit/pagination"}