primeng 4.2.1 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.travis.yml +20 -0
- package/README.md +5 -0
- package/components/autocomplete/autocomplete.d.ts +1 -1
- package/components/autocomplete/autocomplete.js +17 -11
- package/components/autocomplete/autocomplete.js.map +1 -1
- package/components/autocomplete/autocomplete.metadata.json +1 -1
- package/components/blockui/blockui.d.ts +2 -0
- package/components/blockui/blockui.js +13 -1
- package/components/blockui/blockui.js.map +1 -1
- package/components/blockui/blockui.metadata.json +1 -1
- package/components/breadcrumb/breadcrumb.js +1 -1
- package/components/breadcrumb/breadcrumb.js.map +1 -1
- package/components/breadcrumb/breadcrumb.metadata.json +1 -1
- package/components/calendar/calendar.d.ts +6 -0
- package/components/calendar/calendar.js +167 -58
- package/components/calendar/calendar.js.map +1 -1
- package/components/calendar/calendar.metadata.json +1 -1
- package/components/carousel/carousel.js +4 -2
- package/components/carousel/carousel.js.map +1 -1
- package/components/checkbox/checkbox.d.ts +2 -1
- package/components/checkbox/checkbox.js +7 -0
- package/components/checkbox/checkbox.js.map +1 -1
- package/components/checkbox/checkbox.metadata.json +1 -1
- package/components/chips/chips.d.ts +5 -2
- package/components/chips/chips.js +24 -4
- package/components/chips/chips.js.map +1 -1
- package/components/chips/chips.metadata.json +1 -1
- package/components/colorpicker/colorpicker.js +5 -5
- package/components/colorpicker/colorpicker.js.map +1 -1
- package/components/common/menuitem.d.ts +4 -1
- package/components/common/shared.d.ts +11 -0
- package/components/common/shared.js +46 -1
- package/components/common/shared.js.map +1 -1
- package/components/common/shared.metadata.json +1 -1
- package/components/confirmdialog/confirmdialog.d.ts +5 -2
- package/components/confirmdialog/confirmdialog.js +34 -18
- package/components/confirmdialog/confirmdialog.js.map +1 -1
- package/components/confirmdialog/confirmdialog.metadata.json +1 -1
- package/components/contextmenu/contextmenu.js +1 -1
- package/components/contextmenu/contextmenu.js.map +1 -1
- package/components/contextmenu/contextmenu.metadata.json +1 -1
- package/components/datalist/datalist.js +1 -1
- package/components/datalist/datalist.js.map +1 -1
- package/components/datalist/datalist.metadata.json +1 -1
- package/components/datatable/datatable.d.ts +25 -7
- package/components/datatable/datatable.js +222 -104
- package/components/datatable/datatable.js.map +1 -1
- package/components/datatable/datatable.metadata.json +1 -1
- package/components/dialog/dialog.d.ts +16 -8
- package/components/dialog/dialog.js +86 -38
- package/components/dialog/dialog.js.map +1 -1
- package/components/dialog/dialog.metadata.json +1 -1
- package/components/dropdown/dropdown.d.ts +8 -4
- package/components/dropdown/dropdown.js +24 -2
- package/components/dropdown/dropdown.js.map +1 -1
- package/components/dropdown/dropdown.metadata.json +1 -1
- package/components/editor/editor.d.ts +2 -1
- package/components/editor/editor.js +21 -4
- package/components/editor/editor.js.map +1 -1
- package/components/editor/editor.metadata.json +1 -1
- package/components/growl/growl.d.ts +2 -2
- package/components/growl/growl.js +20 -10
- package/components/growl/growl.js.map +1 -1
- package/components/growl/growl.metadata.json +1 -1
- package/components/inputswitch/inputswitch.js +1 -1
- package/components/inputswitch/inputswitch.js.map +1 -1
- package/components/lightbox/lightbox.js +1 -1
- package/components/lightbox/lightbox.js.map +1 -1
- package/components/lightbox/lightbox.metadata.json +1 -1
- package/components/listbox/listbox.d.ts +12 -4
- package/components/listbox/listbox.js +73 -39
- package/components/listbox/listbox.js.map +1 -1
- package/components/listbox/listbox.metadata.json +1 -1
- package/components/megamenu/megamenu.js +1 -1
- package/components/megamenu/megamenu.js.map +1 -1
- package/components/megamenu/megamenu.metadata.json +1 -1
- package/components/menu/menu.js +1 -1
- package/components/menu/menu.js.map +1 -1
- package/components/menu/menu.metadata.json +1 -1
- package/components/menubar/menubar.js +1 -1
- package/components/menubar/menubar.js.map +1 -1
- package/components/menubar/menubar.metadata.json +1 -1
- package/components/message/message.d.ts +7 -0
- package/components/message/message.js +77 -0
- package/components/message/message.js.map +1 -0
- package/components/message/message.metadata.json +1 -0
- package/components/messages/messages.js +3 -3
- package/components/messages/messages.js.map +1 -1
- package/components/messages/messages.metadata.json +1 -1
- package/components/multiselect/multiselect.d.ts +15 -10
- package/components/multiselect/multiselect.js +73 -27
- package/components/multiselect/multiselect.js.map +1 -1
- package/components/multiselect/multiselect.metadata.json +1 -1
- package/components/orderlist/orderlist.js +10 -6
- package/components/orderlist/orderlist.js.map +1 -1
- package/components/orderlist/orderlist.metadata.json +1 -1
- package/components/overlaypanel/overlaypanel.d.ts +10 -5
- package/components/overlaypanel/overlaypanel.js +61 -40
- package/components/overlaypanel/overlaypanel.js.map +1 -1
- package/components/overlaypanel/overlaypanel.metadata.json +1 -1
- package/components/paginator/paginator.d.ts +4 -1
- package/components/paginator/paginator.js +27 -8
- package/components/paginator/paginator.js.map +1 -1
- package/components/paginator/paginator.metadata.json +1 -1
- package/components/panel/panel.d.ts +1 -0
- package/components/panel/panel.js +6 -1
- package/components/panel/panel.js.map +1 -1
- package/components/panel/panel.metadata.json +1 -1
- package/components/panelmenu/panelmenu.d.ts +2 -0
- package/components/panelmenu/panelmenu.js +25 -3
- package/components/panelmenu/panelmenu.js.map +1 -1
- package/components/panelmenu/panelmenu.metadata.json +1 -1
- package/components/picklist/picklist.d.ts +5 -2
- package/components/picklist/picklist.js +39 -7
- package/components/picklist/picklist.js.map +1 -1
- package/components/picklist/picklist.metadata.json +1 -1
- package/components/progressbar/progressbar.d.ts +3 -0
- package/components/progressbar/progressbar.js +14 -1
- package/components/progressbar/progressbar.js.map +1 -1
- package/components/progressbar/progressbar.metadata.json +1 -1
- package/components/progressspinner/progressspinner.d.ts +9 -0
- package/components/progressspinner/progressspinner.js +62 -0
- package/components/progressspinner/progressspinner.js.map +1 -0
- package/components/progressspinner/progressspinner.metadata.json +1 -0
- package/components/rating/rating.d.ts +6 -0
- package/components/rating/rating.js +28 -1
- package/components/rating/rating.js.map +1 -1
- package/components/rating/rating.metadata.json +1 -1
- package/components/schedule/schedule.d.ts +1 -0
- package/components/schedule/schedule.js +5 -0
- package/components/schedule/schedule.js.map +1 -1
- package/components/schedule/schedule.metadata.json +1 -1
- package/components/selectbutton/selectbutton.d.ts +6 -1
- package/components/selectbutton/selectbutton.js +26 -7
- package/components/selectbutton/selectbutton.js.map +1 -1
- package/components/selectbutton/selectbutton.metadata.json +1 -1
- package/components/sidebar/sidebar.d.ts +38 -0
- package/components/sidebar/sidebar.js +214 -0
- package/components/sidebar/sidebar.js.map +1 -0
- package/components/sidebar/sidebar.metadata.json +1 -0
- package/components/slidemenu/slidemenu.js +1 -1
- package/components/slidemenu/slidemenu.js.map +1 -1
- package/components/slidemenu/slidemenu.metadata.json +1 -1
- package/components/slider/slider.js +18 -16
- package/components/slider/slider.js.map +1 -1
- package/components/spinner/spinner.d.ts +4 -3
- package/components/spinner/spinner.js +12 -7
- package/components/spinner/spinner.js.map +1 -1
- package/components/spinner/spinner.metadata.json +1 -1
- package/components/splitbutton/splitbutton.js +1 -1
- package/components/splitbutton/splitbutton.js.map +1 -1
- package/components/splitbutton/splitbutton.metadata.json +1 -1
- package/components/steps/steps.js +1 -1
- package/components/steps/steps.js.map +1 -1
- package/components/steps/steps.metadata.json +1 -1
- package/components/tabmenu/tabmenu.d.ts +0 -1
- package/components/tabmenu/tabmenu.js +1 -6
- package/components/tabmenu/tabmenu.js.map +1 -1
- package/components/tabmenu/tabmenu.metadata.json +1 -1
- package/components/tieredmenu/tieredmenu.js +5 -3
- package/components/tieredmenu/tieredmenu.js.map +1 -1
- package/components/tieredmenu/tieredmenu.metadata.json +1 -1
- package/components/tooltip/tooltip.d.ts +1 -0
- package/components/tooltip/tooltip.js +11 -0
- package/components/tooltip/tooltip.js.map +1 -1
- package/components/tooltip/tooltip.metadata.json +1 -1
- package/components/treetable/treetable.js +2 -2
- package/components/treetable/treetable.js.map +1 -1
- package/components/treetable/treetable.metadata.json +1 -1
- package/components/utils/objectutils.d.ts +2 -0
- package/components/utils/objectutils.js +11 -0
- package/components/utils/objectutils.js.map +1 -1
- package/components/utils/objectutils.metadata.json +1 -1
- package/package-lock.json +14366 -0
- package/package.json +34 -34
- package/primeng.d.ts +3 -0
- package/primeng.js +3 -0
- package/resources/primeng.css +342 -40
- package/resources/primeng.min.css +1 -1
- package/resources/themes/_theme.scss +93 -83
- package/resources/themes/cruze/theme.css +12 -3
- package/resources/themes/cruze/theme.css.map +7 -0
- package/resources/themes/cupertino/theme.css +12 -3
- package/resources/themes/cupertino/theme.css.map +7 -0
- package/resources/themes/darkness/theme.css +12 -3
- package/resources/themes/darkness/theme.css.map +7 -0
- package/resources/themes/flick/theme.css +12 -3
- package/resources/themes/flick/theme.css.map +7 -0
- package/resources/themes/home/theme.css +12 -3
- package/resources/themes/home/theme.css.map +7 -0
- package/resources/themes/kasper/theme.css +12 -3
- package/resources/themes/kasper/theme.css.map +7 -0
- package/resources/themes/lightness/theme.css +12 -3
- package/resources/themes/lightness/theme.css.map +7 -0
- package/resources/themes/ludvig/theme.css +12 -3
- package/resources/themes/ludvig/theme.css.map +7 -0
- package/resources/themes/omega/theme.css +20 -9
- package/resources/themes/omega/theme.css.map +1 -1
- package/resources/themes/omega/theme.scss +21 -6
- package/resources/themes/pepper-grinder/theme.css +12 -3
- package/resources/themes/pepper-grinder/theme.css.map +7 -0
- package/resources/themes/redmond/theme.css +12 -3
- package/resources/themes/redmond/theme.css.map +7 -0
- package/resources/themes/rocket/theme.css +12 -3
- package/resources/themes/rocket/theme.css.map +7 -0
- package/resources/themes/south-street/theme.css +12 -3
- package/resources/themes/south-street/theme.css.map +7 -0
- package/resources/themes/start/theme.css +12 -3
- package/resources/themes/start/theme.css.map +7 -0
- package/resources/themes/trontastic/theme.css +12 -3
- package/resources/themes/trontastic/theme.css.map +7 -0
- package/resources/themes/voclain/theme.css +12 -3
- package/resources/themes/voclain/theme.css.map +7 -0
@@ -1 +1 @@
|
|
1
|
-
[{"__symbolic":"module","version":3,"metadata":{"OrderList":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"p-orderList","template":"\n <div [ngClass]=\"{'ui-orderlist ui-widget':true,'ui-orderlist-responsive':responsive}\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <div class=\"ui-orderlist-controls\">\n <button type=\"button\" pButton icon=\"fa-angle-up\" (click)=\"moveUp($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-double-up\" (click)=\"moveTop($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-down\" (click)=\"moveDown($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-double-down\" (click)=\"moveBottom($event,listelement)\"></button>\n </div>\n <div class=\"ui-orderlist-list-container\">\n <div class=\"ui-orderlist-caption ui-widget-header ui-corner-top\" *ngIf=\"header\">{{header}}</div>\n <div class=\"ui-orderlist-filter-container ui-widget-content\" *ngIf=\"filterBy\">\n <input type=\"text\" role=\"textbox\" (keyup)=\"onFilterKeyup($event)\" class=\"ui-inputtext ui-widget ui-state-default ui-corner-all\" [disabled]=\"disabled\" [attr.placeholder]=\"filterPlaceholder\">\n <span class=\"fa fa-search\"></span>\n </div>\n <ul #listelement class=\"ui-widget-content ui-orderlist-list ui-corner-bottom\" [ngStyle]=\"listStyle\" (dragover)=\"onListMouseMove($event)\">\n <ng-template ngFor let-item [ngForOf]=\"value\" let-i=\"index\" let-l=\"last\">\n <li class=\"ui-orderlist-droppoint\" *ngIf=\"dragdrop && isItemVisible(item)\" (dragover)=\"onDragOver($event, i)\" (drop)=\"onDrop($event, i)\" (dragleave)=\"onDragLeave($event)\" \n [ngClass]=\"{'ui-state-highlight': (i === dragOverItemIndex)}\"></li>\n <li class=\"ui-orderlist-item\"\n [ngClass]=\"{'ui-state-highlight':isSelected(item)}\" \n (click)=\"onItemClick($event,item)\" (touchend)=\"onItemTouchEnd($event)\"\n [style.display]=\"isItemVisible(item) ? 'block' : 'none'\"\n [draggable]=\"dragdrop\" (dragstart)=\"onDragStart($event, i)\" (dragend)=\"onDragEnd($event)\">\n <ng-template [pTemplateWrapper]=\"itemTemplate\" [item]=\"item\"></ng-template>\n </li>\n <li class=\"ui-orderlist-droppoint\" *ngIf=\"dragdrop && l\" (dragover)=\"onDragOver($event, i + 1)\" (drop)=\"onDrop($event, i + 1)\" (dragleave)=\"onDragLeave($event)\" \n [ngClass]=\"{'ui-state-highlight': (i + 1 === dragOverItemIndex)}\"></li>\n </ng-template>\n </ul>\n </div>\n </div>\n ","providers":[{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"},{"__symbolic":"reference","module":"../utils/objectutils","name":"ObjectUtils"}]}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"listStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"responsive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"filterBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"filterPlaceholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"metaKeySelection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dragdrop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dragdropScope":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onReorder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onSelectionChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onFilterEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"listViewChild":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["listelement"]}]}],"templates":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren"},"arguments":[{"__symbolic":"reference","module":"../common/shared","name":"PrimeTemplate"}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"},{"__symbolic":"reference","module":"../utils/objectutils","name":"ObjectUtils"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngAfterViewChecked":[{"__symbolic":"method"}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onItemClick":[{"__symbolic":"method"}],"onFilterKeyup":[{"__symbolic":"method"}],"filter":[{"__symbolic":"method"}],"isItemVisible":[{"__symbolic":"method"}],"onItemTouchEnd":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"findIndexInList":[{"__symbolic":"method"}],"moveUp":[{"__symbolic":"method"}],"moveTop":[{"__symbolic":"method"}],"moveDown":[{"__symbolic":"method"}],"moveBottom":[{"__symbolic":"method"}],"onDragStart":[{"__symbolic":"method"}],"onDragOver":[{"__symbolic":"method"}],"onDragLeave":[{"__symbolic":"method"}],"onDrop":[{"__symbolic":"method"}],"onDragEnd":[{"__symbolic":"method"}],"onListMouseMove":[{"__symbolic":"method"}]}},"OrderListModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","module":"../button/button","name":"ButtonModule"},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule"}],"exports":[{"__symbolic":"reference","name":"OrderList"},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule"}],"declarations":[{"__symbolic":"reference","name":"OrderList"}]}]}]}}},{"__symbolic":"module","version":1,"metadata":{"OrderList":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"p-orderList","template":"\n <div [ngClass]=\"{'ui-orderlist ui-widget':true,'ui-orderlist-responsive':responsive}\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <div class=\"ui-orderlist-controls\">\n <button type=\"button\" pButton icon=\"fa-angle-up\" (click)=\"moveUp($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-double-up\" (click)=\"moveTop($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-down\" (click)=\"moveDown($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-double-down\" (click)=\"moveBottom($event,listelement)\"></button>\n </div>\n <div class=\"ui-orderlist-list-container\">\n <div class=\"ui-orderlist-caption ui-widget-header ui-corner-top\" *ngIf=\"header\">{{header}}</div>\n <div class=\"ui-orderlist-filter-container ui-widget-content\" *ngIf=\"filterBy\">\n <input type=\"text\" role=\"textbox\" (keyup)=\"onFilterKeyup($event)\" class=\"ui-inputtext ui-widget ui-state-default ui-corner-all\" [disabled]=\"disabled\" [attr.placeholder]=\"filterPlaceholder\">\n <span class=\"fa fa-search\"></span>\n </div>\n <ul #listelement class=\"ui-widget-content ui-orderlist-list ui-corner-bottom\" [ngStyle]=\"listStyle\" (dragover)=\"onListMouseMove($event)\">\n <ng-template ngFor let-item [ngForOf]=\"value\" let-i=\"index\" let-l=\"last\">\n <li class=\"ui-orderlist-droppoint\" *ngIf=\"dragdrop && isItemVisible(item)\" (dragover)=\"onDragOver($event, i)\" (drop)=\"onDrop($event, i)\" (dragleave)=\"onDragLeave($event)\" \n [ngClass]=\"{'ui-state-highlight': (i === dragOverItemIndex)}\"></li>\n <li class=\"ui-orderlist-item\"\n [ngClass]=\"{'ui-state-highlight':isSelected(item)}\" \n (click)=\"onItemClick($event,item)\" (touchend)=\"onItemTouchEnd($event)\"\n [style.display]=\"isItemVisible(item) ? 'block' : 'none'\"\n [draggable]=\"dragdrop\" (dragstart)=\"onDragStart($event, i)\" (dragend)=\"onDragEnd($event)\">\n <ng-template [pTemplateWrapper]=\"itemTemplate\" [item]=\"item\"></ng-template>\n </li>\n <li class=\"ui-orderlist-droppoint\" *ngIf=\"dragdrop && l\" (dragover)=\"onDragOver($event, i + 1)\" (drop)=\"onDrop($event, i + 1)\" (dragleave)=\"onDragLeave($event)\" \n [ngClass]=\"{'ui-state-highlight': (i + 1 === dragOverItemIndex)}\"></li>\n </ng-template>\n </ul>\n </div>\n </div>\n ","providers":[{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"},{"__symbolic":"reference","module":"../utils/objectutils","name":"ObjectUtils"}]}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"listStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"responsive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"filterBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"filterPlaceholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"metaKeySelection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dragdrop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dragdropScope":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onReorder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onSelectionChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onFilterEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"listViewChild":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["listelement"]}]}],"templates":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren"},"arguments":[{"__symbolic":"reference","module":"../common/shared","name":"PrimeTemplate"}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"},{"__symbolic":"reference","module":"../utils/objectutils","name":"ObjectUtils"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngAfterViewChecked":[{"__symbolic":"method"}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onItemClick":[{"__symbolic":"method"}],"onFilterKeyup":[{"__symbolic":"method"}],"filter":[{"__symbolic":"method"}],"isItemVisible":[{"__symbolic":"method"}],"onItemTouchEnd":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"findIndexInList":[{"__symbolic":"method"}],"moveUp":[{"__symbolic":"method"}],"moveTop":[{"__symbolic":"method"}],"moveDown":[{"__symbolic":"method"}],"moveBottom":[{"__symbolic":"method"}],"onDragStart":[{"__symbolic":"method"}],"onDragOver":[{"__symbolic":"method"}],"onDragLeave":[{"__symbolic":"method"}],"onDrop":[{"__symbolic":"method"}],"onDragEnd":[{"__symbolic":"method"}],"onListMouseMove":[{"__symbolic":"method"}]}},"OrderListModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","module":"../button/button","name":"ButtonModule"},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule"}],"exports":[{"__symbolic":"reference","name":"OrderList"},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule"}],"declarations":[{"__symbolic":"reference","name":"OrderList"}]}]}]}}}]
|
1
|
+
[{"__symbolic":"module","version":3,"metadata":{"OrderList":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"p-orderList","template":"\n <div [ngClass]=\"{'ui-orderlist ui-widget':true,'ui-orderlist-responsive':responsive}\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <div class=\"ui-orderlist-controls\">\n <button type=\"button\" pButton icon=\"fa-angle-up\" (click)=\"moveUp($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-double-up\" (click)=\"moveTop($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-down\" (click)=\"moveDown($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-double-down\" (click)=\"moveBottom($event,listelement)\"></button>\n </div>\n <div class=\"ui-orderlist-list-container\">\n <div class=\"ui-orderlist-caption ui-widget-header ui-corner-top\" *ngIf=\"header\">{{header}}</div>\n <div class=\"ui-orderlist-filter-container ui-widget-content\" *ngIf=\"filterBy\">\n <input type=\"text\" role=\"textbox\" (keyup)=\"onFilterKeyup($event)\" class=\"ui-inputtext ui-widget ui-state-default ui-corner-all\" [disabled]=\"disabled\" [attr.placeholder]=\"filterPlaceholder\">\n <span class=\"fa fa-search\"></span>\n </div>\n <ul #listelement class=\"ui-widget-content ui-orderlist-list ui-corner-bottom\" [ngStyle]=\"listStyle\" (dragover)=\"onListMouseMove($event)\">\n <ng-template ngFor let-item [ngForOf]=\"value\" let-i=\"index\" let-l=\"last\">\n <li class=\"ui-orderlist-droppoint\" *ngIf=\"dragdrop && isItemVisible(item)\" (dragover)=\"onDragOver($event, i)\" (drop)=\"onDrop($event, i)\" (dragleave)=\"onDragLeave($event)\" \n [ngClass]=\"{'ui-state-highlight': (i === dragOverItemIndex)}\"></li>\n <li class=\"ui-orderlist-item\"\n [ngClass]=\"{'ui-state-highlight':isSelected(item)}\" \n (click)=\"onItemClick($event,item)\" (touchend)=\"onItemTouchEnd($event)\"\n [style.display]=\"isItemVisible(item) ? 'block' : 'none'\"\n [draggable]=\"dragdrop\" (dragstart)=\"onDragStart($event, i)\" (dragend)=\"onDragEnd($event)\">\n <ng-template [pTemplateWrapper]=\"itemTemplate\" [item]=\"item\" [index]=\"i\"></ng-template>\n </li>\n <li class=\"ui-orderlist-droppoint\" *ngIf=\"dragdrop && l\" (dragover)=\"onDragOver($event, i + 1)\" (drop)=\"onDrop($event, i + 1)\" (dragleave)=\"onDragLeave($event)\" \n [ngClass]=\"{'ui-state-highlight': (i + 1 === dragOverItemIndex)}\"></li>\n </ng-template>\n </ul>\n </div>\n </div>\n ","providers":[{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"},{"__symbolic":"reference","module":"../utils/objectutils","name":"ObjectUtils"}]}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"listStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"responsive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"filterBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"filterPlaceholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"metaKeySelection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dragdrop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dragdropScope":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onReorder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onSelectionChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onFilterEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"listViewChild":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["listelement"]}]}],"templates":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren"},"arguments":[{"__symbolic":"reference","module":"../common/shared","name":"PrimeTemplate"}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"},{"__symbolic":"reference","module":"../utils/objectutils","name":"ObjectUtils"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngAfterViewChecked":[{"__symbolic":"method"}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onItemClick":[{"__symbolic":"method"}],"onFilterKeyup":[{"__symbolic":"method"}],"filter":[{"__symbolic":"method"}],"isItemVisible":[{"__symbolic":"method"}],"onItemTouchEnd":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"findIndexInList":[{"__symbolic":"method"}],"moveUp":[{"__symbolic":"method"}],"moveTop":[{"__symbolic":"method"}],"moveDown":[{"__symbolic":"method"}],"moveBottom":[{"__symbolic":"method"}],"onDragStart":[{"__symbolic":"method"}],"onDragOver":[{"__symbolic":"method"}],"onDragLeave":[{"__symbolic":"method"}],"onDrop":[{"__symbolic":"method"}],"onDragEnd":[{"__symbolic":"method"}],"onListMouseMove":[{"__symbolic":"method"}]}},"OrderListModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","module":"../button/button","name":"ButtonModule"},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule"}],"exports":[{"__symbolic":"reference","name":"OrderList"},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule"}],"declarations":[{"__symbolic":"reference","name":"OrderList"}]}]}]}}},{"__symbolic":"module","version":1,"metadata":{"OrderList":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"p-orderList","template":"\n <div [ngClass]=\"{'ui-orderlist ui-widget':true,'ui-orderlist-responsive':responsive}\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <div class=\"ui-orderlist-controls\">\n <button type=\"button\" pButton icon=\"fa-angle-up\" (click)=\"moveUp($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-double-up\" (click)=\"moveTop($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-down\" (click)=\"moveDown($event,listelement)\"></button>\n <button type=\"button\" pButton icon=\"fa-angle-double-down\" (click)=\"moveBottom($event,listelement)\"></button>\n </div>\n <div class=\"ui-orderlist-list-container\">\n <div class=\"ui-orderlist-caption ui-widget-header ui-corner-top\" *ngIf=\"header\">{{header}}</div>\n <div class=\"ui-orderlist-filter-container ui-widget-content\" *ngIf=\"filterBy\">\n <input type=\"text\" role=\"textbox\" (keyup)=\"onFilterKeyup($event)\" class=\"ui-inputtext ui-widget ui-state-default ui-corner-all\" [disabled]=\"disabled\" [attr.placeholder]=\"filterPlaceholder\">\n <span class=\"fa fa-search\"></span>\n </div>\n <ul #listelement class=\"ui-widget-content ui-orderlist-list ui-corner-bottom\" [ngStyle]=\"listStyle\" (dragover)=\"onListMouseMove($event)\">\n <ng-template ngFor let-item [ngForOf]=\"value\" let-i=\"index\" let-l=\"last\">\n <li class=\"ui-orderlist-droppoint\" *ngIf=\"dragdrop && isItemVisible(item)\" (dragover)=\"onDragOver($event, i)\" (drop)=\"onDrop($event, i)\" (dragleave)=\"onDragLeave($event)\" \n [ngClass]=\"{'ui-state-highlight': (i === dragOverItemIndex)}\"></li>\n <li class=\"ui-orderlist-item\"\n [ngClass]=\"{'ui-state-highlight':isSelected(item)}\" \n (click)=\"onItemClick($event,item)\" (touchend)=\"onItemTouchEnd($event)\"\n [style.display]=\"isItemVisible(item) ? 'block' : 'none'\"\n [draggable]=\"dragdrop\" (dragstart)=\"onDragStart($event, i)\" (dragend)=\"onDragEnd($event)\">\n <ng-template [pTemplateWrapper]=\"itemTemplate\" [item]=\"item\" [index]=\"i\"></ng-template>\n </li>\n <li class=\"ui-orderlist-droppoint\" *ngIf=\"dragdrop && l\" (dragover)=\"onDragOver($event, i + 1)\" (drop)=\"onDrop($event, i + 1)\" (dragleave)=\"onDragLeave($event)\" \n [ngClass]=\"{'ui-state-highlight': (i + 1 === dragOverItemIndex)}\"></li>\n </ng-template>\n </ul>\n </div>\n </div>\n ","providers":[{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"},{"__symbolic":"reference","module":"../utils/objectutils","name":"ObjectUtils"}]}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"listStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"responsive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"filterBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"filterPlaceholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"metaKeySelection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dragdrop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dragdropScope":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onReorder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onSelectionChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onFilterEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"listViewChild":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["listelement"]}]}],"templates":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren"},"arguments":[{"__symbolic":"reference","module":"../common/shared","name":"PrimeTemplate"}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"},{"__symbolic":"reference","module":"../utils/objectutils","name":"ObjectUtils"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngAfterViewChecked":[{"__symbolic":"method"}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onItemClick":[{"__symbolic":"method"}],"onFilterKeyup":[{"__symbolic":"method"}],"filter":[{"__symbolic":"method"}],"isItemVisible":[{"__symbolic":"method"}],"onItemTouchEnd":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"findIndexInList":[{"__symbolic":"method"}],"moveUp":[{"__symbolic":"method"}],"moveTop":[{"__symbolic":"method"}],"moveDown":[{"__symbolic":"method"}],"moveBottom":[{"__symbolic":"method"}],"onDragStart":[{"__symbolic":"method"}],"onDragOver":[{"__symbolic":"method"}],"onDragLeave":[{"__symbolic":"method"}],"onDrop":[{"__symbolic":"method"}],"onDragEnd":[{"__symbolic":"method"}],"onListMouseMove":[{"__symbolic":"method"}]}},"OrderListModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","module":"../button/button","name":"ButtonModule"},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule"}],"exports":[{"__symbolic":"reference","name":"OrderList"},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule"}],"declarations":[{"__symbolic":"reference","name":"OrderList"}]}]}]}}}]
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { AfterViewInit, AfterViewChecked, OnDestroy, EventEmitter, Renderer2, ElementRef, ChangeDetectorRef } from '@angular/core';
|
2
2
|
import { DomHandler } from '../dom/domhandler';
|
3
|
-
export declare class OverlayPanel implements
|
3
|
+
export declare class OverlayPanel implements AfterViewInit, AfterViewChecked, OnDestroy {
|
4
4
|
el: ElementRef;
|
5
5
|
domHandler: DomHandler;
|
6
6
|
renderer: Renderer2;
|
@@ -18,15 +18,20 @@ export declare class OverlayPanel implements OnInit, AfterViewInit, OnDestroy {
|
|
18
18
|
visible: boolean;
|
19
19
|
documentClickListener: any;
|
20
20
|
selfClick: boolean;
|
21
|
-
targetEvent: boolean;
|
22
21
|
target: any;
|
22
|
+
willHide: boolean;
|
23
|
+
willShow: boolean;
|
24
|
+
targetClickEvent: boolean;
|
25
|
+
closeClick: boolean;
|
23
26
|
constructor(el: ElementRef, domHandler: DomHandler, renderer: Renderer2, cd: ChangeDetectorRef);
|
24
|
-
ngOnInit(): void;
|
25
27
|
ngAfterViewInit(): void;
|
28
|
+
ngAfterViewChecked(): void;
|
29
|
+
bindDocumentClickListener(): void;
|
30
|
+
unbindDocumentClickListener(): void;
|
26
31
|
toggle(event: any, target?: any): void;
|
27
32
|
show(event: any, target?: any): void;
|
28
33
|
hide(): void;
|
29
|
-
onPanelClick(): void;
|
34
|
+
onPanelClick(event: any): void;
|
30
35
|
onCloseClick(event: any): void;
|
31
36
|
ngOnDestroy(): void;
|
32
37
|
}
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
var core_1 = require("@angular/core");
|
13
13
|
var common_1 = require("@angular/common");
|
14
14
|
var domhandler_1 = require("../dom/domhandler");
|
15
|
+
var animations_1 = require("@angular/animations");
|
15
16
|
var OverlayPanel = (function () {
|
16
17
|
function OverlayPanel(el, domHandler, renderer, cd) {
|
17
18
|
this.el = el;
|
@@ -25,31 +26,48 @@ var OverlayPanel = (function () {
|
|
25
26
|
this.onAfterHide = new core_1.EventEmitter();
|
26
27
|
this.visible = false;
|
27
28
|
}
|
28
|
-
OverlayPanel.prototype.
|
29
|
+
OverlayPanel.prototype.ngAfterViewInit = function () {
|
30
|
+
this.container = this.el.nativeElement.children[0];
|
31
|
+
if (this.appendTo) {
|
32
|
+
if (this.appendTo === 'body')
|
33
|
+
document.body.appendChild(this.container);
|
34
|
+
else
|
35
|
+
this.domHandler.appendChild(this.container, this.appendTo);
|
36
|
+
}
|
37
|
+
};
|
38
|
+
OverlayPanel.prototype.ngAfterViewChecked = function () {
|
39
|
+
if (this.willShow) {
|
40
|
+
this.domHandler.absolutePosition(this.container, this.target);
|
41
|
+
this.bindDocumentClickListener();
|
42
|
+
this.onAfterShow.emit(null);
|
43
|
+
this.willShow = false;
|
44
|
+
}
|
45
|
+
if (this.willHide) {
|
46
|
+
this.onAfterHide.emit(null);
|
47
|
+
this.willHide = false;
|
48
|
+
}
|
49
|
+
};
|
50
|
+
OverlayPanel.prototype.bindDocumentClickListener = function () {
|
29
51
|
var _this = this;
|
30
|
-
if (this.dismissable) {
|
52
|
+
if (!this.documentClickListener && this.dismissable) {
|
31
53
|
this.documentClickListener = this.renderer.listen('document', 'click', function () {
|
32
|
-
if (!_this.selfClick && !_this.
|
54
|
+
if (!_this.selfClick && !_this.targetClickEvent) {
|
33
55
|
_this.hide();
|
34
56
|
}
|
35
57
|
_this.selfClick = false;
|
36
|
-
_this.
|
58
|
+
_this.targetClickEvent = false;
|
37
59
|
_this.cd.markForCheck();
|
38
60
|
});
|
39
61
|
}
|
40
62
|
};
|
41
|
-
OverlayPanel.prototype.
|
42
|
-
this.
|
43
|
-
|
44
|
-
|
45
|
-
document.body.appendChild(this.container);
|
46
|
-
else
|
47
|
-
this.domHandler.appendChild(this.container, this.appendTo);
|
63
|
+
OverlayPanel.prototype.unbindDocumentClickListener = function () {
|
64
|
+
if (this.documentClickListener) {
|
65
|
+
this.documentClickListener();
|
66
|
+
this.documentClickListener = null;
|
48
67
|
}
|
49
68
|
};
|
50
69
|
OverlayPanel.prototype.toggle = function (event, target) {
|
51
|
-
|
52
|
-
if (!this.target || this.target == currentTarget) {
|
70
|
+
if (!this.target || this.target === (target || event.currentTarget || event.target)) {
|
53
71
|
if (this.visible)
|
54
72
|
this.hide();
|
55
73
|
else
|
@@ -58,51 +76,42 @@ var OverlayPanel = (function () {
|
|
58
76
|
else {
|
59
77
|
this.show(event, target);
|
60
78
|
}
|
61
|
-
if (this.dismissable) {
|
62
|
-
this.targetEvent = true;
|
63
|
-
}
|
64
|
-
this.target = currentTarget;
|
65
79
|
};
|
66
80
|
OverlayPanel.prototype.show = function (event, target) {
|
67
|
-
if (this.dismissable) {
|
68
|
-
this.targetEvent = true;
|
69
|
-
}
|
70
81
|
this.onBeforeShow.emit(null);
|
71
|
-
|
82
|
+
this.target = target || event.currentTarget || event.target;
|
72
83
|
this.container.style.zIndex = ++domhandler_1.DomHandler.zindex;
|
73
|
-
|
74
|
-
|
84
|
+
this.visible = true;
|
85
|
+
this.willShow = true;
|
86
|
+
if (event.type === 'click') {
|
87
|
+
this.targetClickEvent = true;
|
75
88
|
}
|
76
|
-
else {
|
77
|
-
this.visible = true;
|
78
|
-
this.domHandler.absolutePosition(this.container, elementTarget);
|
79
|
-
this.domHandler.fadeIn(this.container, 250);
|
80
|
-
}
|
81
|
-
this.onAfterShow.emit(null);
|
82
89
|
};
|
83
90
|
OverlayPanel.prototype.hide = function () {
|
84
91
|
if (this.visible) {
|
85
92
|
this.onBeforeHide.emit(null);
|
93
|
+
this.willHide = true;
|
86
94
|
this.visible = false;
|
87
|
-
this.
|
95
|
+
this.selfClick = false;
|
96
|
+
this.targetClickEvent = false;
|
97
|
+
this.unbindDocumentClickListener();
|
88
98
|
}
|
89
99
|
};
|
90
|
-
OverlayPanel.prototype.onPanelClick = function () {
|
91
|
-
if (this.
|
100
|
+
OverlayPanel.prototype.onPanelClick = function (event) {
|
101
|
+
if (this.closeClick) {
|
102
|
+
this.hide();
|
103
|
+
this.closeClick = false;
|
104
|
+
}
|
105
|
+
else if (this.dismissable) {
|
92
106
|
this.selfClick = true;
|
93
107
|
}
|
94
108
|
};
|
95
109
|
OverlayPanel.prototype.onCloseClick = function (event) {
|
96
|
-
this.
|
97
|
-
if (this.dismissable) {
|
98
|
-
this.selfClick = true;
|
99
|
-
}
|
110
|
+
this.closeClick = true;
|
100
111
|
event.preventDefault();
|
101
112
|
};
|
102
113
|
OverlayPanel.prototype.ngOnDestroy = function () {
|
103
|
-
|
104
|
-
this.documentClickListener();
|
105
|
-
}
|
114
|
+
this.unbindDocumentClickListener();
|
106
115
|
if (this.appendTo) {
|
107
116
|
this.el.nativeElement.appendChild(this.container);
|
108
117
|
}
|
@@ -149,7 +158,19 @@ __decorate([
|
|
149
158
|
OverlayPanel = __decorate([
|
150
159
|
core_1.Component({
|
151
160
|
selector: 'p-overlayPanel',
|
152
|
-
template: "\n <div [ngClass]=\"'ui-overlaypanel ui-widget ui-widget-content ui-corner-all ui-shadow'\" [ngStyle]=\"style\" [class]=\"styleClass\"\n [style.display]=\"visible ? 'block' : 'none'\" (click)=\"onPanelClick()\">\n <div class=\"ui-overlaypanel-content\">\n <ng-content></ng-content>\n </div>\n <a href=\"#\" *ngIf=\"showCloseIcon\" class=\"ui-overlaypanel-close ui-state-default\" (click)=\"onCloseClick($event)\">\n <span class=\"fa fa-fw fa-close\"></span>\n </a>\n </div>\n ",
|
161
|
+
template: "\n <div [ngClass]=\"'ui-overlaypanel ui-widget ui-widget-content ui-corner-all ui-shadow'\" [ngStyle]=\"style\" [class]=\"styleClass\"\n [style.display]=\"visible ? 'block' : 'none'\" (click)=\"onPanelClick($event)\" [@panelState]=\"visible ? 'visible' : 'hidden'\">\n <div class=\"ui-overlaypanel-content\">\n <ng-content></ng-content>\n </div>\n <a href=\"#\" *ngIf=\"showCloseIcon\" class=\"ui-overlaypanel-close ui-state-default\" (click)=\"onCloseClick($event)\">\n <span class=\"fa fa-fw fa-close\"></span>\n </a>\n </div>\n ",
|
162
|
+
animations: [
|
163
|
+
animations_1.trigger('panelState', [
|
164
|
+
animations_1.state('hidden', animations_1.style({
|
165
|
+
opacity: 0
|
166
|
+
})),
|
167
|
+
animations_1.state('visible', animations_1.style({
|
168
|
+
opacity: 1
|
169
|
+
})),
|
170
|
+
animations_1.transition('visible => hidden', animations_1.animate('400ms ease-in')),
|
171
|
+
animations_1.transition('hidden => visible', animations_1.animate('400ms ease-out'))
|
172
|
+
])
|
173
|
+
],
|
153
174
|
providers: [domhandler_1.DomHandler]
|
154
175
|
}),
|
155
176
|
__metadata("design:paramtypes", [core_1.ElementRef, domhandler_1.DomHandler, core_1.Renderer2, core_1.ChangeDetectorRef])
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"overlaypanel.js","sourceRoot":"","sources":["../../src/app/components/overlaypanel/overlaypanel.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"overlaypanel.js","sourceRoot":"","sources":["../../src/app/components/overlaypanel/overlaypanel.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAA2J;AAC3J,0CAA6C;AAC7C,gDAA6C;AAC7C,kDAA2E;AA6B3E,IAAa,YAAY;IAsCrB,sBAAmB,EAAc,EAAS,UAAsB,EAAS,QAAmB,EAAU,EAAqB;QAAxG,OAAE,GAAF,EAAE,CAAY;QAAS,eA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C,mBAAmB,EAAE,oBAAO,CAAC,gBAAgB,CAAC,CAAC;aAC7D,CAAC;SACL;QACD,SAAS,EAAE,CAAC,uBAAU,CAAC;KAC1B,CAAC;qCAuCyB,iBAAU,EAAqB,uBAAU,EAAmB,gBAAS,EAAc,wBAAiB;GAtClH,YAAY,CAkJxB;AAlJY,oCAAY;AAyJzB,IAAa,kBAAkB;IAA/B;IAAkC,CAAC;IAAD,yBAAC;AAAD,CAAC,AAAnC,IAAmC;AAAtB,kBAAkB;IAL9B,eAAQ,CAAC;QACN,OAAO,EAAE,CAAC,qBAAY,CAAC;QACvB,OAAO,EAAE,CAAC,YAAY,CAAC;QACvB,YAAY,EAAE,CAAC,YAAY,CAAC;KAC/B,CAAC;GACW,kBAAkB,CAAI;AAAtB,gDAAkB"}
|
@@ -1 +1 @@
|
|
1
|
-
[{"__symbolic":"module","version":3,"metadata":{"OverlayPanel":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"p-overlayPanel","template":"\n <div [ngClass]=\"'ui-overlaypanel ui-widget ui-widget-content ui-corner-all ui-shadow'\" [ngStyle]=\"style\" [class]=\"styleClass\"\n [style.display]=\"visible ? 'block' : 'none'\" (click)=\"onPanelClick()\">\n <div class=\"ui-overlaypanel-content\">\n <ng-content></ng-content>\n </div>\n <a href=\"#\" *ngIf=\"showCloseIcon\" class=\"ui-overlaypanel-close ui-state-default\" (click)=\"onCloseClick($event)\">\n <span class=\"fa fa-fw fa-close\"></span>\n </a>\n </div>\n ","providers":[{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"}]}]}],"members":{"dismissable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"showCloseIcon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"appendTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onBeforeShow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onAfterShow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onBeforeHide":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onAfterHide":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"
|
1
|
+
[{"__symbolic":"module","version":3,"metadata":{"OverlayPanel":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"p-overlayPanel","template":"\n <div [ngClass]=\"'ui-overlaypanel ui-widget ui-widget-content ui-corner-all ui-shadow'\" [ngStyle]=\"style\" [class]=\"styleClass\"\n [style.display]=\"visible ? 'block' : 'none'\" (click)=\"onPanelClick($event)\" [@panelState]=\"visible ? 'visible' : 'hidden'\">\n <div class=\"ui-overlaypanel-content\">\n <ng-content></ng-content>\n </div>\n <a href=\"#\" *ngIf=\"showCloseIcon\" class=\"ui-overlaypanel-close ui-state-default\" (click)=\"onCloseClick($event)\">\n <span class=\"fa fa-fw fa-close\"></span>\n </a>\n </div>\n ","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger"},"arguments":["panelState",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state"},"arguments":["hidden",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style"},"arguments":[{"opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state"},"arguments":["visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style"},"arguments":[{"opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition"},"arguments":["visible => hidden",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate"},"arguments":["400ms ease-in"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition"},"arguments":["hidden => visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate"},"arguments":["400ms ease-out"]}]}]]}],"providers":[{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"}]}]}],"members":{"dismissable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"showCloseIcon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"appendTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onBeforeShow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onAfterShow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onBeforeHide":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onAfterHide":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngAfterViewChecked":[{"__symbolic":"method"}],"bindDocumentClickListener":[{"__symbolic":"method"}],"unbindDocumentClickListener":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}],"hide":[{"__symbolic":"method"}],"onPanelClick":[{"__symbolic":"method"}],"onCloseClick":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"OverlayPanelModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"exports":[{"__symbolic":"reference","name":"OverlayPanel"}],"declarations":[{"__symbolic":"reference","name":"OverlayPanel"}]}]}]}}},{"__symbolic":"module","version":1,"metadata":{"OverlayPanel":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"p-overlayPanel","template":"\n <div [ngClass]=\"'ui-overlaypanel ui-widget ui-widget-content ui-corner-all ui-shadow'\" [ngStyle]=\"style\" [class]=\"styleClass\"\n [style.display]=\"visible ? 'block' : 'none'\" (click)=\"onPanelClick($event)\" [@panelState]=\"visible ? 'visible' : 'hidden'\">\n <div class=\"ui-overlaypanel-content\">\n <ng-content></ng-content>\n </div>\n <a href=\"#\" *ngIf=\"showCloseIcon\" class=\"ui-overlaypanel-close ui-state-default\" (click)=\"onCloseClick($event)\">\n <span class=\"fa fa-fw fa-close\"></span>\n </a>\n </div>\n ","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger"},"arguments":["panelState",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state"},"arguments":["hidden",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style"},"arguments":[{"opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state"},"arguments":["visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style"},"arguments":[{"opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition"},"arguments":["visible => hidden",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate"},"arguments":["400ms ease-in"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition"},"arguments":["hidden => visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate"},"arguments":["400ms ease-out"]}]}]]}],"providers":[{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"}]}]}],"members":{"dismissable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"showCloseIcon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"appendTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onBeforeShow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onAfterShow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onBeforeHide":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"onAfterHide":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"../dom/domhandler","name":"DomHandler"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngAfterViewChecked":[{"__symbolic":"method"}],"bindDocumentClickListener":[{"__symbolic":"method"}],"unbindDocumentClickListener":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}],"hide":[{"__symbolic":"method"}],"onPanelClick":[{"__symbolic":"method"}],"onCloseClick":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"OverlayPanelModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"exports":[{"__symbolic":"reference","name":"OverlayPanel"}],"declarations":[{"__symbolic":"reference","name":"OverlayPanel"}]}]}]}}}]
|
@@ -1,18 +1,21 @@
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
2
|
+
import { SelectItem } from '../common/selectitem';
|
2
3
|
export declare class Paginator {
|
3
4
|
pageLinkSize: number;
|
4
5
|
onPageChange: EventEmitter<any>;
|
5
6
|
style: any;
|
6
7
|
styleClass: string;
|
7
|
-
rowsPerPageOptions: number[];
|
8
8
|
alwaysShow: boolean;
|
9
9
|
pageLinks: number[];
|
10
10
|
_totalRecords: number;
|
11
11
|
_first: number;
|
12
12
|
_rows: number;
|
13
|
+
_rowsPerPageOptions: number[];
|
14
|
+
rowsPerPageItems: SelectItem[];
|
13
15
|
totalRecords: number;
|
14
16
|
first: number;
|
15
17
|
rows: number;
|
18
|
+
rowsPerPageOptions: number[];
|
16
19
|
isFirstPage(): boolean;
|
17
20
|
isLastPage(): boolean;
|
18
21
|
getPageCount(): number;
|
@@ -11,6 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
var core_1 = require("@angular/core");
|
13
13
|
var common_1 = require("@angular/common");
|
14
|
+
var forms_1 = require("@angular/forms");
|
15
|
+
var dropdown_1 = require("../dropdown/dropdown");
|
14
16
|
var Paginator = (function () {
|
15
17
|
function Paginator() {
|
16
18
|
this.pageLinkSize = 5;
|
@@ -53,6 +55,23 @@ var Paginator = (function () {
|
|
53
55
|
enumerable: true,
|
54
56
|
configurable: true
|
55
57
|
});
|
58
|
+
Object.defineProperty(Paginator.prototype, "rowsPerPageOptions", {
|
59
|
+
get: function () {
|
60
|
+
return this._rowsPerPageOptions;
|
61
|
+
},
|
62
|
+
set: function (val) {
|
63
|
+
this._rowsPerPageOptions = val;
|
64
|
+
if (this._rowsPerPageOptions) {
|
65
|
+
this.rowsPerPageItems = [];
|
66
|
+
for (var _i = 0, _a = this._rowsPerPageOptions; _i < _a.length; _i++) {
|
67
|
+
var opt = _a[_i];
|
68
|
+
this.rowsPerPageItems.push({ label: String(opt), value: opt });
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
enumerable: true,
|
73
|
+
configurable: true
|
74
|
+
});
|
56
75
|
Paginator.prototype.isFirstPage = function () {
|
57
76
|
return this.getPage() === 0;
|
58
77
|
};
|
@@ -120,7 +139,6 @@ var Paginator = (function () {
|
|
120
139
|
event.preventDefault();
|
121
140
|
};
|
122
141
|
Paginator.prototype.onRppChange = function (event) {
|
123
|
-
this.rows = this.rowsPerPageOptions[event.target.selectedIndex];
|
124
142
|
this.changePage(this.getPage());
|
125
143
|
};
|
126
144
|
return Paginator;
|
@@ -141,10 +159,6 @@ __decorate([
|
|
141
159
|
core_1.Input(),
|
142
160
|
__metadata("design:type", String)
|
143
161
|
], Paginator.prototype, "styleClass", void 0);
|
144
|
-
__decorate([
|
145
|
-
core_1.Input(),
|
146
|
-
__metadata("design:type", Array)
|
147
|
-
], Paginator.prototype, "rowsPerPageOptions", void 0);
|
148
162
|
__decorate([
|
149
163
|
core_1.Input(),
|
150
164
|
__metadata("design:type", Boolean)
|
@@ -164,10 +178,15 @@ __decorate([
|
|
164
178
|
__metadata("design:type", Number),
|
165
179
|
__metadata("design:paramtypes", [Number])
|
166
180
|
], Paginator.prototype, "rows", null);
|
181
|
+
__decorate([
|
182
|
+
core_1.Input(),
|
183
|
+
__metadata("design:type", Array),
|
184
|
+
__metadata("design:paramtypes", [Array])
|
185
|
+
], Paginator.prototype, "rowsPerPageOptions", null);
|
167
186
|
Paginator = __decorate([
|
168
187
|
core_1.Component({
|
169
188
|
selector: 'p-paginator',
|
170
|
-
template: "\n <div [class]=\"styleClass\" [ngStyle]=\"style\" [ngClass]=\"'ui-paginator ui-widget ui-widget-header ui-unselectable-text'\"\n *ngIf=\"alwaysShow ? true : (pageLinks && pageLinks.length > 1)\">\n <a href=\"#\" class=\"ui-paginator-first ui-paginator-element ui-state-default ui-corner-all\"\n (click)=\"changePageToFirst($event)\" [ngClass]=\"{'ui-state-disabled':isFirstPage()}\" [tabindex]=\"isFirstPage() ? -1 : null\">\n <span class=\"fa fa-step-backward\"></span>\n </a>\n <a href=\"#\" class=\"ui-paginator-prev ui-paginator-element ui-state-default ui-corner-all\"\n (click)=\"changePageToPrev($event)\" [ngClass]=\"{'ui-state-disabled':isFirstPage()}\" [tabindex]=\"isFirstPage() ? -1 : null\">\n <span class=\"fa fa-backward\"></span>\n </a>\n <span class=\"ui-paginator-pages\">\n <a href=\"#\" *ngFor=\"let pageLink of pageLinks\" class=\"ui-paginator-page ui-paginator-element ui-state-default ui-corner-all\"\n (click)=\"onPageLinkClick($event, pageLink - 1)\" [ngClass]=\"{'ui-state-active': (pageLink-1 == getPage())}\">{{pageLink}}</a>\n </span>\n <a href=\"#\" class=\"ui-paginator-next ui-paginator-element ui-state-default ui-corner-all\"\n (click)=\"changePageToNext($event)\" [ngClass]=\"{'ui-state-disabled':isLastPage()}\" [tabindex]=\"isLastPage() ? -1 : null\">\n <span class=\"fa fa-forward\"></span>\n </a>\n <a href=\"#\" class=\"ui-paginator-last ui-paginator-element ui-state-default ui-corner-all\"\n (click)=\"changePageToLast($event)\" [ngClass]=\"{'ui-state-disabled':isLastPage()}\" [tabindex]=\"isLastPage() ? -1 : null\">\n <span class=\"fa fa-step-forward\"></span>\n </a>\n <
|
189
|
+
template: "\n <div [class]=\"styleClass\" [ngStyle]=\"style\" [ngClass]=\"'ui-paginator ui-widget ui-widget-header ui-unselectable-text'\"\n *ngIf=\"alwaysShow ? true : (pageLinks && pageLinks.length > 1)\">\n <a href=\"#\" class=\"ui-paginator-first ui-paginator-element ui-state-default ui-corner-all\"\n (click)=\"changePageToFirst($event)\" [ngClass]=\"{'ui-state-disabled':isFirstPage()}\" [tabindex]=\"isFirstPage() ? -1 : null\">\n <span class=\"fa fa-step-backward\"></span>\n </a>\n <a href=\"#\" class=\"ui-paginator-prev ui-paginator-element ui-state-default ui-corner-all\"\n (click)=\"changePageToPrev($event)\" [ngClass]=\"{'ui-state-disabled':isFirstPage()}\" [tabindex]=\"isFirstPage() ? -1 : null\">\n <span class=\"fa fa-backward\"></span>\n </a>\n <span class=\"ui-paginator-pages\">\n <a href=\"#\" *ngFor=\"let pageLink of pageLinks\" class=\"ui-paginator-page ui-paginator-element ui-state-default ui-corner-all\"\n (click)=\"onPageLinkClick($event, pageLink - 1)\" [ngClass]=\"{'ui-state-active': (pageLink-1 == getPage())}\">{{pageLink}}</a>\n </span>\n <a href=\"#\" class=\"ui-paginator-next ui-paginator-element ui-state-default ui-corner-all\"\n (click)=\"changePageToNext($event)\" [ngClass]=\"{'ui-state-disabled':isLastPage()}\" [tabindex]=\"isLastPage() ? -1 : null\">\n <span class=\"fa fa-forward\"></span>\n </a>\n <a href=\"#\" class=\"ui-paginator-last ui-paginator-element ui-state-default ui-corner-all\"\n (click)=\"changePageToLast($event)\" [ngClass]=\"{'ui-state-disabled':isLastPage()}\" [tabindex]=\"isLastPage() ? -1 : null\">\n <span class=\"fa fa-step-forward\"></span>\n </a>\n <p-dropdown [options]=\"rowsPerPageItems\" [(ngModel)]=\"rows\" *ngIf=\"rowsPerPageOptions\" \n (onChange)=\"onRppChange($event)\" [lazy]=\"false\" [autoWidth]=\"false\"></p-dropdown>\n </div>\n "
|
171
190
|
})
|
172
191
|
], Paginator);
|
173
192
|
exports.Paginator = Paginator;
|
@@ -178,8 +197,8 @@ var PaginatorModule = (function () {
|
|
178
197
|
}());
|
179
198
|
PaginatorModule = __decorate([
|
180
199
|
core_1.NgModule({
|
181
|
-
imports: [common_1.CommonModule],
|
182
|
-
exports: [Paginator],
|
200
|
+
imports: [common_1.CommonModule, dropdown_1.DropdownModule, forms_1.FormsModule],
|
201
|
+
exports: [Paginator, dropdown_1.DropdownModule, forms_1.FormsModule],
|
183
202
|
declarations: [Paginator]
|
184
203
|
})
|
185
204
|
], PaginatorModule);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"paginator.js","sourceRoot":"","sources":["../../src/app/components/paginator/paginator.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAmG;AACnG,0CAA6C;
|
1
|
+
{"version":3,"file":"paginator.js","sourceRoot":"","sources":["../../src/app/components/paginator/paginator.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAmG;AACnG,0CAA6C;AAC7C,wCAA2C;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