PrimeNG 4.2.2 已发布,PrimeNG 是一个极为完善的开源 Angular UI 组件库,原生小部件丰富,内置 70 多个易于使用的组件,可满足所有 UI 需求。 PrimeNG 4.2.2 提供了 50 多项改进,带来了全新的 Sidebar 组件以及性能增强和质量改进。 Sidebar Sidebar 是该套件新增的功能,是在屏幕边缘作为叠加层显示的组件,提供全屏模式。查看 Demo。 新特性和改进 该版本的一些其他重要功能改进包括:支持列重新排序、可滚动表的百分比显示支持、支持仅将选定行导出为 CSV 、对话框性能改进、支持仅将选定行导出为 CSV 、自定义评级图标、PanelMenu 多属性等。 New Component: Sidebar Percentage scrollheight on datatable Column Grouping support for Scrollable Table with Frozen Columns Calendar should allow same date for start-end range Performance improvement for Dialog Add resetFilterOnHide to Dropdown and MultiSelect onFocus and onBlur events for Chips Focus visuals for Listbox Improve Confirm Dialog event performance Added onMonthChange output event to calendar component Apply TreeNode styleClass on TreeTable row Export selected rows to CSV add onSourceSelect and onTargetSelect events to picklist component StartsWith filtering option for Listbox Documentation of using resetFilter() method from the dropdown component RouterLinkActive in tabMenu not applied to the li element p-rating component with custom icons Picklist/OrderList: expose index of element in ng-template Visible flag support for TabMenu onPush support for Listbox Add onPanelShow callback to MultiSelect DataTable: expanded row styling Add multiple property to PanelMenu ConfirmDialog still renders icon even if it is not defined Datatable – Editable – events incorrectly raised on keydown Visible flag support for MenuBar 修复 Slider fails with big values Filtering by default fails on DataTable Color picker pickHue resets saturation and brightness OrderList onReorder is not called on DragDrop MultiSelect as a table filter triggers sort Calendar parseDate function ignores “utc” parameter DataTable RowGroup and Expand bug Move events do not called on dragdrop for PickList confirm-dialog: Error when hitting Escape after dialog is closed Filtered listbox toggle all fails with new items Calendar range/multiple default values cause error Use ng-container for date template in Calendar TieredMenu with appendTo=body isn’t removed OrderList throws a “Cannot read property getBoundingClientRect of undefined” Column reordering does not work with Scrollable Table Dropdown filter has incorrect width under fluid mode Validation Clears When Pressing Enter Editable Datatable Bad color/hue selection with scrolled page Autocomplete with minLength fires completeMethod after onClear Dragging and Resizing Dialog highlights content behind and in it p-checkbox template/model driven behaviour disparity Empty footer in dialog that has a table with footer Readonly attribute of p-editor component does not reflect changes Tooltip remains visible after clicking the target Label problems in Dropdown component 下载地址: Source code (zip) Source code (tar.gz) PrimeNG 4.2.2 发布,强大的 Angular UI 组件库下载地址