primereact 9.4.0 → 9.6.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/accordion/accordion.cjs.js +2 -1
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +3 -2
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +2 -1
- package/accordion/accordion.min.js +1 -1
- package/api/api.cjs.js +215 -3
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +882 -8
- package/api/api.esm.js +210 -4
- package/api/api.esm.min.js +1 -1
- package/api/api.js +216 -5
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +148 -89
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +138 -2
- package/autocomplete/autocomplete.esm.js +150 -91
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +149 -91
- package/autocomplete/autocomplete.min.css +1 -1
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +3 -1
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.d.ts +1 -1
- package/avatar/avatar.esm.js +3 -1
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +4 -3
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/avatargroup.cjs.js +3 -1
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +3 -1
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +4 -3
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/badge.cjs.js +3 -1
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +3 -1
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +4 -3
- package/badge/badge.min.js +1 -1
- package/blockui/blockui.cjs.js +4 -3
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +4 -3
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +5 -4
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +97 -52
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.d.ts +53 -1
- package/breadcrumb/breadcrumb.esm.js +97 -52
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +96 -53
- package/breadcrumb/breadcrumb.min.css +1 -1
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +6 -2
- package/button/button.cjs.min.js +1 -1
- package/button/button.d.ts +6 -0
- package/button/button.esm.js +6 -2
- package/button/button.esm.min.js +1 -1
- package/button/button.js +7 -4
- package/button/button.min.js +1 -1
- package/calendar/calendar.cjs.js +322 -223
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +272 -3
- package/calendar/calendar.esm.js +324 -225
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +323 -225
- package/calendar/calendar.min.js +1 -1
- package/card/card.cjs.js +3 -1
- package/card/card.cjs.min.js +1 -1
- package/card/card.d.ts +5 -11
- package/card/card.esm.js +3 -1
- package/card/card.esm.min.js +1 -1
- package/card/card.js +4 -3
- package/card/card.min.js +1 -1
- package/carousel/carousel.cjs.js +154 -92
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.d.ts +121 -1
- package/carousel/carousel.esm.js +156 -94
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +155 -94
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +181 -108
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +100 -1
- package/cascadeselect/cascadeselect.esm.js +183 -110
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +180 -108
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/chart.cjs.js +31 -44
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.d.ts +30 -0
- package/chart/chart.esm.js +18 -31
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +141 -156
- package/chart/chart.min.js +1 -1
- package/checkbox/checkbox.cjs.js +113 -48
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.d.ts +65 -1
- package/checkbox/checkbox.esm.js +115 -50
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +113 -50
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +3 -1
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.d.ts +1 -1
- package/chip/chip.esm.js +3 -1
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +4 -3
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +84 -55
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.d.ts +78 -6
- package/chips/chips.esm.js +85 -56
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +83 -57
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +123 -49
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.d.ts +81 -0
- package/colorpicker/colorpicker.esm.js +125 -51
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +124 -51
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/column.cjs.js +2 -0
- package/column/column.d.ts +298 -1
- package/column/column.esm.js +2 -0
- package/column/column.js +2 -0
- package/columngroup/columngroup.d.ts +28 -0
- package/componentbase/componentbase.cjs.js +29 -5
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.js +25 -5
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.js +30 -7
- package/componentbase/componentbase.min.js +1 -1
- package/confirmdialog/confirmdialog.cjs.js +4 -3
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +5 -4
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +4 -3
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +5 -4
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +6 -5
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +5 -4
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +121 -69
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.d.ts +92 -1
- package/contextmenu/contextmenu.esm.js +123 -71
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +122 -71
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +14005 -2381
- package/core/core.min.js +47 -47
- package/csstransition/csstransition.cjs.js +3 -2
- package/csstransition/csstransition.cjs.min.js +1 -1
- package/csstransition/csstransition.esm.js +3 -2
- package/csstransition/csstransition.esm.min.js +1 -1
- package/csstransition/csstransition.js +4 -3
- package/csstransition/csstransition.min.js +1 -1
- package/datascroller/datascroller.cjs.js +34 -43
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.d.ts +51 -1
- package/datascroller/datascroller.esm.js +36 -45
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +35 -45
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +1089 -649
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +191 -3
- package/datatable/datatable.esm.js +1091 -651
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +1090 -651
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +125 -109
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.d.ts +105 -2
- package/dataview/dataview.esm.js +127 -111
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +123 -108
- package/dataview/dataview.min.js +1 -1
- package/deferredcontent/deferredcontent.cjs.js +3 -1
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +3 -1
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +4 -3
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/dialog.cjs.js +6 -5
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +7 -6
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +6 -5
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.js +3 -1
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +3 -1
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +4 -3
- package/divider/divider.min.js +1 -1
- package/dock/dock.cjs.js +85 -46
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.d.ts +66 -0
- package/dock/dock.esm.js +86 -47
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +85 -48
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +170 -120
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +154 -2
- package/dropdown/dropdown.esm.js +172 -122
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +170 -121
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +95 -116
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.d.ts +50 -0
- package/editor/editor.esm.js +96 -117
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +95 -118
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +3 -1
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +3 -1
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +4 -3
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/fileupload.cjs.js +234 -191
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.d.ts +160 -1
- package/fileupload/fileupload.esm.js +235 -192
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +231 -188
- package/fileupload/fileupload.min.js +1 -1
- package/galleria/galleria.cjs.js +139 -124
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.d.ts +156 -2
- package/galleria/galleria.esm.js +141 -126
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +138 -124
- package/galleria/galleria.min.js +1 -1
- package/hooks/hooks.cjs.js +10 -3
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.esm.js +7 -3
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +11 -5
- package/hooks/hooks.min.js +1 -1
- package/icons/arrowdown/index.cjs.js +415 -2
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +415 -2
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +415 -2
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowup/index.cjs.js +415 -2
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +415 -2
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +415 -2
- package/icons/arrowup/index.min.js +1 -1
- package/icons/ban/index.cjs.js +415 -2
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +415 -2
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +415 -2
- package/icons/ban/index.min.js +1 -1
- package/icons/download/index.cjs.js +415 -2
- package/icons/download/index.cjs.min.js +1 -1
- package/icons/download/index.esm.js +415 -2
- package/icons/download/index.esm.min.js +1 -1
- package/icons/download/index.js +415 -2
- package/icons/download/index.min.js +1 -1
- package/icons/exclamationtriangle/index.cjs.js +415 -2
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +415 -2
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +415 -2
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/eyeslash/index.cjs.js +415 -2
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +415 -2
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +415 -2
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/filter/index.cjs.js +415 -2
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +415 -2
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +415 -2
- package/icons/filter/index.min.js +1 -1
- package/icons/filterslash/index.cjs.js +415 -2
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +415 -2
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +415 -2
- package/icons/filterslash/index.min.js +1 -1
- package/icons/infocircle/index.cjs.js +415 -2
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +415 -2
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +415 -2
- package/icons/infocircle/index.min.js +1 -1
- package/icons/pencil/index.cjs.js +415 -2
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +415 -2
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +415 -2
- package/icons/pencil/index.min.js +1 -1
- package/icons/plus/index.cjs.js +415 -2
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +415 -2
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +415 -2
- package/icons/plus/index.min.js +1 -1
- package/icons/refresh/index.cjs.js +415 -2
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +415 -2
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +415 -2
- package/icons/refresh/index.min.js +1 -1
- package/icons/search/index.cjs.js +415 -2
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +415 -2
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +415 -2
- package/icons/search/index.min.js +1 -1
- package/icons/searchminus/index.cjs.js +415 -2
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +415 -2
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +415 -2
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchplus/index.cjs.js +415 -2
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +415 -2
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +415 -2
- package/icons/searchplus/index.min.js +1 -1
- package/icons/sortalt/index.cjs.js +415 -2
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +415 -2
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +415 -2
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortamountdown/index.cjs.js +415 -2
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +415 -2
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +415 -2
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountupalt/index.cjs.js +415 -2
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +415 -2
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +415 -2
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/spinner/index.cjs.js +415 -2
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +415 -2
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +415 -2
- package/icons/spinner/index.min.js +1 -1
- package/icons/star/index.cjs.js +415 -2
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +415 -2
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +415 -2
- package/icons/star/index.min.js +1 -1
- package/icons/starfill/index.cjs.js +415 -2
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +415 -2
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +415 -2
- package/icons/starfill/index.min.js +1 -1
- package/icons/thlarge/index.cjs.js +415 -2
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +415 -2
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +415 -2
- package/icons/thlarge/index.min.js +1 -1
- package/icons/timescircle/index.cjs.js +415 -2
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +415 -2
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +415 -2
- package/icons/timescircle/index.min.js +1 -1
- package/icons/trash/index.cjs.js +415 -2
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +415 -2
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +415 -2
- package/icons/trash/index.min.js +1 -1
- package/icons/undo/index.cjs.js +415 -2
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +415 -2
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +415 -2
- package/icons/undo/index.min.js +1 -1
- package/icons/upload/index.cjs.js +415 -2
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +415 -2
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +415 -2
- package/icons/upload/index.min.js +1 -1
- package/icons/windowmaximize/index.cjs.js +415 -2
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +415 -2
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +415 -2
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowminimize/index.cjs.js +415 -2
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +415 -2
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +415 -2
- package/icons/windowminimize/index.min.js +1 -1
- package/image/image.cjs.js +480 -80
- package/image/image.cjs.min.js +1 -1
- package/image/image.d.ts +130 -3
- package/image/image.esm.js +483 -83
- package/image/image.esm.min.js +1 -1
- package/image/image.js +481 -82
- package/image/image.min.css +1 -1
- package/image/image.min.js +1 -1
- package/inplace/inplace.cjs.js +2 -1
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +3 -2
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +2 -1
- package/inplace/inplace.min.js +1 -1
- package/inputmask/inputmask.cjs.js +26 -26
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.d.ts +7 -2
- package/inputmask/inputmask.esm.js +27 -27
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +26 -28
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +68 -48
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.d.ts +62 -1
- package/inputnumber/inputnumber.esm.js +66 -49
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +68 -50
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +84 -25
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.d.ts +61 -0
- package/inputswitch/inputswitch.esm.js +85 -26
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +83 -27
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +25 -15
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.d.ts +32 -0
- package/inputtext/inputtext.esm.js +26 -16
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +25 -17
- package/inputtext/inputtext.min.js +1 -1
- package/inputtextarea/inputtextarea.cjs.js +25 -15
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.d.ts +33 -1
- package/inputtextarea/inputtextarea.esm.js +26 -16
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +25 -17
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/keyfilter/keyfilter.cjs.js +25 -9
- package/keyfilter/keyfilter.cjs.min.js +1 -1
- package/keyfilter/keyfilter.esm.js +25 -9
- package/keyfilter/keyfilter.esm.min.js +1 -1
- package/keyfilter/keyfilter.js +25 -11
- package/keyfilter/keyfilter.min.js +1 -1
- package/knob/knob.cjs.js +44 -43
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.d.ts +42 -0
- package/knob/knob.esm.js +45 -44
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +44 -45
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +86 -56
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.d.ts +103 -3
- package/listbox/listbox.esm.js +88 -58
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +86 -57
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +151 -99
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.d.ts +142 -2
- package/megamenu/megamenu.esm.js +152 -100
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +149 -98
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +87 -61
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.d.ts +80 -1
- package/mention/mention.esm.js +89 -63
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +88 -63
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +99 -59
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.d.ts +71 -0
- package/menu/menu.esm.js +101 -61
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +100 -61
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +122 -114
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.d.ts +94 -1
- package/menubar/menubar.esm.js +124 -116
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +122 -115
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +69 -47
- package/message/message.cjs.min.js +1 -1
- package/message/message.d.ts +35 -2
- package/message/message.esm.js +70 -48
- package/message/message.esm.min.js +1 -1
- package/message/message.js +69 -49
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +65 -63
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.d.ts +51 -2
- package/messages/messages.esm.js +66 -64
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +65 -64
- package/messages/messages.min.js +1 -1
- package/multiselect/multiselect.cjs.js +249 -193
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +185 -3
- package/multiselect/multiselect.esm.js +252 -196
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +249 -194
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +47 -33
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.d.ts +61 -2
- package/multistatecheckbox/multistatecheckbox.esm.js +49 -35
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +48 -35
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +188 -110
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.d.ts +118 -2
- package/orderlist/orderlist.esm.js +190 -112
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +186 -109
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +139 -73
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.d.ts +89 -2
- package/organizationchart/organizationchart.esm.js +140 -74
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +139 -75
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +7 -6
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.d.ts +5 -0
- package/overlaypanel/overlaypanel.esm.js +8 -7
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +8 -7
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.js +172 -166
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.d.ts +111 -5
- package/paginator/paginator.esm.js +174 -168
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +172 -167
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.js +3 -1
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +3 -1
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +4 -3
- package/panel/panel.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +148 -84
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.d.ts +124 -2
- package/panelmenu/panelmenu.esm.js +148 -84
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +146 -84
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/password.cjs.js +89 -46
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +98 -2
- package/password/password.esm.js +91 -48
- package/password/password.esm.min.js +1 -1
- package/password/password.js +88 -46
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +146 -82
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.d.ts +133 -1
- package/picklist/picklist.esm.js +148 -84
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +143 -80
- package/picklist/picklist.min.js +1 -1
- package/portal/portal.cjs.js +3 -2
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +3 -2
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +4 -3
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +6656 -4389
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +6655 -4390
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +6656 -4389
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.js +3 -1
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +3 -1
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +4 -3
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/progressspinner.cjs.js +3 -1
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +3 -1
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +4 -3
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/radiobutton.cjs.js +90 -30
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.d.ts +66 -1
- package/radiobutton/radiobutton.esm.js +91 -31
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +89 -32
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +47 -36
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.d.ts +64 -1
- package/rating/rating.esm.js +48 -37
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +47 -38
- package/rating/rating.min.js +1 -1
- package/resources/primereact.css +475 -465
- package/resources/primereact.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +33 -8
- package/resources/themes/arya-green/theme.css +33 -8
- package/resources/themes/arya-orange/theme.css +33 -8
- package/resources/themes/arya-purple/theme.css +33 -8
- package/resources/themes/bootstrap4-dark-blue/theme.css +33 -8
- package/resources/themes/bootstrap4-dark-purple/theme.css +33 -8
- package/resources/themes/bootstrap4-light-blue/theme.css +33 -8
- package/resources/themes/bootstrap4-light-purple/theme.css +33 -8
- package/resources/themes/fluent-light/theme.css +33 -8
- package/resources/themes/lara-dark-blue/theme.css +33 -8
- package/resources/themes/lara-dark-indigo/theme.css +33 -8
- package/resources/themes/lara-dark-purple/theme.css +33 -8
- package/resources/themes/lara-dark-teal/theme.css +33 -8
- package/resources/themes/lara-light-blue/theme.css +33 -8
- package/resources/themes/lara-light-indigo/theme.css +33 -8
- package/resources/themes/lara-light-purple/theme.css +33 -8
- package/resources/themes/lara-light-teal/theme.css +33 -8
- package/resources/themes/luna-amber/theme.css +33 -8
- package/resources/themes/luna-blue/theme.css +33 -8
- package/resources/themes/luna-green/theme.css +33 -8
- package/resources/themes/luna-pink/theme.css +33 -8
- package/resources/themes/md-dark-deeppurple/theme.css +33 -8
- package/resources/themes/md-dark-indigo/theme.css +33 -8
- package/resources/themes/md-light-deeppurple/theme.css +33 -8
- package/resources/themes/md-light-indigo/theme.css +33 -8
- package/resources/themes/mdc-dark-deeppurple/theme.css +33 -8
- package/resources/themes/mdc-dark-indigo/theme.css +33 -8
- package/resources/themes/mdc-light-deeppurple/theme.css +33 -8
- package/resources/themes/mdc-light-indigo/theme.css +33 -8
- package/resources/themes/mira/theme.css +33 -8
- package/resources/themes/nano/theme.css +33 -8
- package/resources/themes/nova/theme.css +33 -8
- package/resources/themes/nova-accent/theme.css +33 -8
- package/resources/themes/nova-alt/theme.css +33 -8
- package/resources/themes/rhea/theme.css +33 -8
- package/resources/themes/saga-blue/theme.css +33 -8
- package/resources/themes/saga-green/theme.css +33 -8
- package/resources/themes/saga-orange/theme.css +33 -8
- package/resources/themes/saga-purple/theme.css +33 -8
- package/resources/themes/soho-dark/theme.css +33 -8
- package/resources/themes/soho-light/theme.css +33 -8
- package/resources/themes/tailwind-light/theme.css +45 -20
- package/resources/themes/vela-blue/theme.css +33 -8
- package/resources/themes/vela-green/theme.css +33 -8
- package/resources/themes/vela-orange/theme.css +33 -8
- package/resources/themes/vela-purple/theme.css +33 -8
- package/resources/themes/viva-dark/theme.css +33 -8
- package/resources/themes/viva-light/theme.css +33 -8
- package/ripple/ripple.cjs.js +3 -2
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.js +3 -2
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +4 -3
- package/ripple/ripple.min.js +1 -1
- package/row/row.cjs.js +28 -41
- package/row/row.cjs.min.js +1 -1
- package/row/row.d.ts +28 -0
- package/row/row.esm.js +15 -28
- package/row/row.esm.min.js +1 -1
- package/row/row.js +49 -64
- package/row/row.min.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +3 -1
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +3 -1
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +4 -3
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +9 -7
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +11 -9
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +10 -8
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +37 -25
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.d.ts +52 -1
- package/selectbutton/selectbutton.esm.js +38 -26
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +37 -27
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/sidebar.cjs.js +7 -6
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +8 -7
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +8 -7
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +4 -3
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +4 -3
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +5 -5
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/slidemenu.cjs.js +125 -114
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.d.ts +103 -1
- package/slidemenu/slidemenu.esm.js +127 -116
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +125 -115
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.js +71 -39
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.d.ts +34 -1
- package/slider/slider.esm.js +72 -40
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +71 -41
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +3 -1
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +3 -1
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +4 -3
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +74 -63
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +39 -11
- package/splitbutton/splitbutton.esm.js +76 -65
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +74 -63
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +3 -1
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.d.ts +10 -0
- package/splitter/splitter.esm.js +3 -1
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +4 -3
- package/splitter/splitter.min.js +1 -1
- package/steps/steps.cjs.js +81 -46
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.d.ts +50 -0
- package/steps/steps.esm.js +82 -47
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +81 -48
- package/steps/steps.min.js +1 -1
- package/styleclass/styleclass.cjs.js +3 -1
- package/styleclass/styleclass.cjs.min.js +1 -1
- package/styleclass/styleclass.esm.js +3 -1
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +4 -3
- package/styleclass/styleclass.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +86 -48
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.d.ts +62 -0
- package/tabmenu/tabmenu.esm.js +87 -49
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +86 -50
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +8 -5
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +9 -6
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +7 -4
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +3 -1
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +3 -1
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +4 -3
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +3 -1
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +3 -1
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +4 -3
- package/terminal/terminal.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +110 -64
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.d.ts +83 -2
- package/tieredmenu/tieredmenu.esm.js +112 -66
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +111 -66
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.js +51 -43
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.d.ts +51 -1
- package/timeline/timeline.esm.js +52 -44
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +51 -45
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.js +118 -75
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.d.ts +122 -4
- package/toast/toast.esm.js +120 -77
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +116 -74
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +74 -21
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.d.ts +40 -2
- package/togglebutton/togglebutton.esm.js +75 -22
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +73 -23
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/toolbar.cjs.js +3 -1
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.d.ts +5 -11
- package/toolbar/toolbar.esm.js +3 -1
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +4 -3
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/tooltip.cjs.js +3 -2
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.d.ts +7 -7
- package/tooltip/tooltip.esm.js +4 -3
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +3 -2
- package/tooltip/tooltip.min.js +1 -1
- package/tree/tree.cjs.js +118 -88
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.d.ts +139 -1
- package/tree/tree.esm.js +120 -90
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +116 -87
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.cjs.js +135 -102
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +143 -2
- package/treeselect/treeselect.esm.js +137 -104
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +136 -104
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +385 -198
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +305 -2
- package/treetable/treetable.esm.js +387 -200
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +383 -197
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +97 -40
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.d.ts +64 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +99 -42
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +97 -42
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +31 -5
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +1 -1
- package/utils/utils.esm.js +28 -5
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +32 -7
- package/utils/utils.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +43 -29
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.d.ts +78 -1
- package/virtualscroller/virtualscroller.esm.js +44 -30
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +43 -31
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +1 -1
package/paginator/paginator.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
this.primereact = this.primereact || {};
|
|
2
|
-
this.primereact.paginator = (function (exports, React, hooks, utils,
|
|
2
|
+
this.primereact.paginator = (function (exports, React, hooks, utils, componentbase, api, angledoubleleft, ripple, inputnumber, angledoubleright, angleright, angleleft, dropdown) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
function _interopNamespace(e) {
|
|
@@ -22,21 +22,6 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
22
22
|
|
|
23
23
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
24
24
|
|
|
25
|
-
function _extends() {
|
|
26
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
27
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
28
|
-
var source = arguments[i];
|
|
29
|
-
for (var key in source) {
|
|
30
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
31
|
-
target[key] = source[key];
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return target;
|
|
36
|
-
};
|
|
37
|
-
return _extends.apply(this, arguments);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
25
|
function _arrayWithHoles(arr) {
|
|
41
26
|
if (Array.isArray(arr)) return arr;
|
|
42
27
|
}
|
|
@@ -133,7 +118,7 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
133
118
|
return obj;
|
|
134
119
|
}
|
|
135
120
|
|
|
136
|
-
var PaginatorBase = {
|
|
121
|
+
var PaginatorBase = componentbase.ComponentBase.extend({
|
|
137
122
|
defaultProps: {
|
|
138
123
|
__TYPE: 'Paginator',
|
|
139
124
|
totalRecords: 0,
|
|
@@ -151,15 +136,9 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
151
136
|
dropdownAppendTo: null,
|
|
152
137
|
currentPageReportTemplate: '({currentPage} of {totalPages})',
|
|
153
138
|
children: undefined
|
|
154
|
-
},
|
|
155
|
-
getProps: function getProps(props) {
|
|
156
|
-
return utils.ObjectUtils.getMergedProps(props, PaginatorBase.defaultProps);
|
|
157
|
-
},
|
|
158
|
-
getOtherProps: function getOtherProps(props) {
|
|
159
|
-
return utils.ObjectUtils.getDiffProps(props, PaginatorBase.defaultProps);
|
|
160
139
|
}
|
|
161
|
-
};
|
|
162
|
-
var CurrentPageReportBase = {
|
|
140
|
+
});
|
|
141
|
+
var CurrentPageReportBase = componentbase.ComponentBase.extend({
|
|
163
142
|
defaultProps: {
|
|
164
143
|
__TYPE: 'CurrentPageReport',
|
|
165
144
|
pageCount: null,
|
|
@@ -170,15 +149,9 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
170
149
|
reportTemplate: '({currentPage} of {totalPages})',
|
|
171
150
|
template: null,
|
|
172
151
|
children: undefined
|
|
173
|
-
},
|
|
174
|
-
getProps: function getProps(props) {
|
|
175
|
-
return utils.ObjectUtils.getMergedProps(props, CurrentPageReportBase.defaultProps);
|
|
176
|
-
},
|
|
177
|
-
getOtherProps: function getOtherProps(props) {
|
|
178
|
-
return utils.ObjectUtils.getDiffProps(props, CurrentPageReportBase.defaultProps);
|
|
179
152
|
}
|
|
180
|
-
};
|
|
181
|
-
var FirstPageLinkBase = {
|
|
153
|
+
});
|
|
154
|
+
var FirstPageLinkBase = componentbase.ComponentBase.extend({
|
|
182
155
|
defaultProps: {
|
|
183
156
|
__TYPE: 'FirstPageLink',
|
|
184
157
|
disabled: false,
|
|
@@ -186,15 +159,9 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
186
159
|
template: null,
|
|
187
160
|
firstPageLinkIcon: null,
|
|
188
161
|
children: undefined
|
|
189
|
-
},
|
|
190
|
-
getProps: function getProps(props) {
|
|
191
|
-
return utils.ObjectUtils.getMergedProps(props, FirstPageLinkBase.defaultProps);
|
|
192
|
-
},
|
|
193
|
-
getOtherProps: function getOtherProps(props) {
|
|
194
|
-
return utils.ObjectUtils.getDiffProps(props, FirstPageLinkBase.defaultProps);
|
|
195
162
|
}
|
|
196
|
-
};
|
|
197
|
-
var JumpToPageInputBase = {
|
|
163
|
+
});
|
|
164
|
+
var JumpToPageInputBase = componentbase.ComponentBase.extend({
|
|
198
165
|
defaultProps: {
|
|
199
166
|
__TYPE: 'JumpToPageInput',
|
|
200
167
|
page: null,
|
|
@@ -204,15 +171,9 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
204
171
|
template: null,
|
|
205
172
|
onChange: null,
|
|
206
173
|
children: undefined
|
|
207
|
-
},
|
|
208
|
-
getProps: function getProps(props) {
|
|
209
|
-
return utils.ObjectUtils.getMergedProps(props, JumpToPageInputBase.defaultProps);
|
|
210
|
-
},
|
|
211
|
-
getOtherProps: function getOtherProps(props) {
|
|
212
|
-
return utils.ObjectUtils.getDiffProps(props, JumpToPageInputBase.defaultProps);
|
|
213
174
|
}
|
|
214
|
-
};
|
|
215
|
-
var LastPageLinkBase = {
|
|
175
|
+
});
|
|
176
|
+
var LastPageLinkBase = componentbase.ComponentBase.extend({
|
|
216
177
|
defaultProps: {
|
|
217
178
|
__TYPE: 'LastPageLink',
|
|
218
179
|
disabled: false,
|
|
@@ -220,15 +181,9 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
220
181
|
template: null,
|
|
221
182
|
lastPageLinkIcon: null,
|
|
222
183
|
children: undefined
|
|
223
|
-
},
|
|
224
|
-
getProps: function getProps(props) {
|
|
225
|
-
return utils.ObjectUtils.getMergedProps(props, LastPageLinkBase.defaultProps);
|
|
226
|
-
},
|
|
227
|
-
getOtherProps: function getOtherProps(props) {
|
|
228
|
-
return utils.ObjectUtils.getDiffProps(props, LastPageLinkBase.defaultProps);
|
|
229
184
|
}
|
|
230
|
-
};
|
|
231
|
-
var NextPageLinkBase = {
|
|
185
|
+
});
|
|
186
|
+
var NextPageLinkBase = componentbase.ComponentBase.extend({
|
|
232
187
|
defaultProps: {
|
|
233
188
|
__TYPE: 'NextPageLink',
|
|
234
189
|
disabled: false,
|
|
@@ -236,15 +191,9 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
236
191
|
template: null,
|
|
237
192
|
nextPageLinkIcon: null,
|
|
238
193
|
children: undefined
|
|
239
|
-
},
|
|
240
|
-
getProps: function getProps(props) {
|
|
241
|
-
return utils.ObjectUtils.getMergedProps(props, NextPageLinkBase.defaultProps);
|
|
242
|
-
},
|
|
243
|
-
getOtherProps: function getOtherProps(props) {
|
|
244
|
-
return utils.ObjectUtils.getDiffProps(props, NextPageLinkBase.defaultProps);
|
|
245
194
|
}
|
|
246
|
-
};
|
|
247
|
-
var PageLinksBase = {
|
|
195
|
+
});
|
|
196
|
+
var PageLinksBase = componentbase.ComponentBase.extend({
|
|
248
197
|
defaultProps: {
|
|
249
198
|
__TYPE: 'PageLinks',
|
|
250
199
|
value: null,
|
|
@@ -254,15 +203,9 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
254
203
|
links: null,
|
|
255
204
|
template: null,
|
|
256
205
|
children: undefined
|
|
257
|
-
},
|
|
258
|
-
getProps: function getProps(props) {
|
|
259
|
-
return utils.ObjectUtils.getMergedProps(props, PageLinksBase.defaultProps);
|
|
260
|
-
},
|
|
261
|
-
getOtherProps: function getOtherProps(props) {
|
|
262
|
-
return utils.ObjectUtils.getDiffProps(props, PageLinksBase.defaultProps);
|
|
263
206
|
}
|
|
264
|
-
};
|
|
265
|
-
var PrevPageLinkBase = {
|
|
207
|
+
});
|
|
208
|
+
var PrevPageLinkBase = componentbase.ComponentBase.extend({
|
|
266
209
|
defaultProps: {
|
|
267
210
|
__TYPE: 'PrevPageLink',
|
|
268
211
|
disabled: false,
|
|
@@ -270,15 +213,9 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
270
213
|
template: null,
|
|
271
214
|
prevPageLinkIcon: null,
|
|
272
215
|
children: undefined
|
|
273
|
-
},
|
|
274
|
-
getProps: function getProps(props) {
|
|
275
|
-
return utils.ObjectUtils.getMergedProps(props, PrevPageLinkBase.defaultProps);
|
|
276
|
-
},
|
|
277
|
-
getOtherProps: function getOtherProps(props) {
|
|
278
|
-
return utils.ObjectUtils.getDiffProps(props, PrevPageLinkBase.defaultProps);
|
|
279
216
|
}
|
|
280
|
-
};
|
|
281
|
-
var RowsPerPageDropdownBase = {
|
|
217
|
+
});
|
|
218
|
+
var RowsPerPageDropdownBase = componentbase.ComponentBase.extend({
|
|
282
219
|
defaultProps: {
|
|
283
220
|
__TYPE: 'RowsPerPageDropdown',
|
|
284
221
|
options: null,
|
|
@@ -291,19 +228,14 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
291
228
|
template: null,
|
|
292
229
|
disabled: false,
|
|
293
230
|
children: undefined
|
|
294
|
-
},
|
|
295
|
-
getProps: function getProps(props) {
|
|
296
|
-
return utils.ObjectUtils.getMergedProps(props, RowsPerPageDropdownBase.defaultProps);
|
|
297
|
-
},
|
|
298
|
-
getOtherProps: function getOtherProps(props) {
|
|
299
|
-
return utils.ObjectUtils.getDiffProps(props, RowsPerPageDropdownBase.defaultProps);
|
|
300
231
|
}
|
|
301
|
-
};
|
|
232
|
+
});
|
|
302
233
|
|
|
303
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
304
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
234
|
+
function ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
235
|
+
function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$4(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
305
236
|
var CurrentPageReport = /*#__PURE__*/React__namespace.memo(function (inProps) {
|
|
306
|
-
var
|
|
237
|
+
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
238
|
+
var props = CurrentPageReportBase.getProps(inProps, context);
|
|
307
239
|
var report = {
|
|
308
240
|
currentPage: props.page + 1,
|
|
309
241
|
totalPages: props.pageCount,
|
|
@@ -313,11 +245,12 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
313
245
|
totalRecords: props.totalRecords
|
|
314
246
|
};
|
|
315
247
|
var text = props.reportTemplate.replace('{currentPage}', report.currentPage).replace('{totalPages}', report.totalPages).replace('{first}', report.first).replace('{last}', report.last).replace('{rows}', report.rows).replace('{totalRecords}', report.totalRecords);
|
|
316
|
-
var
|
|
317
|
-
className:
|
|
318
|
-
},
|
|
248
|
+
var currentProps = utils.mergeProps({
|
|
249
|
+
className: 'p-paginator-current'
|
|
250
|
+
}, props.ptm('current'));
|
|
251
|
+
var element = /*#__PURE__*/React__namespace.createElement("span", currentProps, text);
|
|
319
252
|
if (props.template) {
|
|
320
|
-
var defaultOptions = _objectSpread(_objectSpread({}, report), {
|
|
253
|
+
var defaultOptions = _objectSpread$4(_objectSpread$4({}, report), {
|
|
321
254
|
className: 'p-paginator-current',
|
|
322
255
|
element: element,
|
|
323
256
|
props: props
|
|
@@ -328,27 +261,37 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
328
261
|
});
|
|
329
262
|
CurrentPageReport.displayName = 'CurrentPageReport';
|
|
330
263
|
|
|
264
|
+
function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
265
|
+
function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
331
266
|
var FirstPageLink = /*#__PURE__*/React__namespace.memo(function (inProps) {
|
|
332
|
-
var
|
|
267
|
+
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
268
|
+
var props = FirstPageLinkBase.getProps(inProps, context);
|
|
269
|
+
var getPTOptions = function getPTOptions(key) {
|
|
270
|
+
return props.ptm(key, {
|
|
271
|
+
context: {
|
|
272
|
+
disabled: props.disabled
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
};
|
|
333
276
|
var className = utils.classNames('p-paginator-first p-paginator-element p-link', {
|
|
334
277
|
'p-disabled': props.disabled
|
|
335
278
|
});
|
|
336
279
|
var iconClassName = 'p-paginator-icon';
|
|
337
|
-
var
|
|
280
|
+
var firstPageIconProps = utils.mergeProps({
|
|
338
281
|
className: iconClassName
|
|
339
|
-
});
|
|
340
|
-
var
|
|
341
|
-
|
|
342
|
-
}, {
|
|
282
|
+
}, getPTOptions('firstPageIcon'));
|
|
283
|
+
var icon = props.firstPageLinkIcon || /*#__PURE__*/React__namespace.createElement(angledoubleleft.AngleDoubleLeftIcon, firstPageIconProps);
|
|
284
|
+
var firstPageLinkIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$3({}, firstPageIconProps), {
|
|
343
285
|
props: props
|
|
344
286
|
});
|
|
345
|
-
var
|
|
346
|
-
type:
|
|
287
|
+
var firstPageButtonProps = utils.mergeProps({
|
|
288
|
+
type: 'button',
|
|
347
289
|
className: className,
|
|
348
290
|
onClick: props.onClick,
|
|
349
291
|
disabled: props.disabled,
|
|
350
|
-
|
|
351
|
-
},
|
|
292
|
+
'aria-label': api.ariaLabel('firstPageLabel')
|
|
293
|
+
}, getPTOptions('firstPageButton'));
|
|
294
|
+
var element = /*#__PURE__*/React__namespace.createElement("button", firstPageButtonProps, firstPageLinkIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null));
|
|
352
295
|
if (props.template) {
|
|
353
296
|
var defaultOptions = {
|
|
354
297
|
onClick: props.onClick,
|
|
@@ -365,7 +308,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
365
308
|
FirstPageLink.displayName = 'FirstPageLink';
|
|
366
309
|
|
|
367
310
|
var JumpToPageInput = /*#__PURE__*/React__namespace.memo(function (inProps) {
|
|
368
|
-
var
|
|
311
|
+
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
312
|
+
var props = JumpToPageInputBase.getProps(inProps, context);
|
|
369
313
|
var onChange = function onChange(event) {
|
|
370
314
|
if (props.onChange) {
|
|
371
315
|
props.onChange(props.rows * (event.value - 1), props.rows);
|
|
@@ -376,7 +320,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
376
320
|
value: value,
|
|
377
321
|
onChange: onChange,
|
|
378
322
|
className: "p-paginator-page-input",
|
|
379
|
-
disabled: props.disabled
|
|
323
|
+
disabled: props.disabled,
|
|
324
|
+
pt: props.ptm('JTPInput')
|
|
380
325
|
});
|
|
381
326
|
if (props.template) {
|
|
382
327
|
var defaultOptions = {
|
|
@@ -393,27 +338,37 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
393
338
|
});
|
|
394
339
|
JumpToPageInput.displayName = 'JumpToPageInput';
|
|
395
340
|
|
|
341
|
+
function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
342
|
+
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
396
343
|
var LastPageLink = /*#__PURE__*/React__namespace.memo(function (inProps) {
|
|
397
|
-
var
|
|
344
|
+
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
345
|
+
var props = LastPageLinkBase.getProps(inProps, context);
|
|
346
|
+
var getPTOptions = function getPTOptions(key) {
|
|
347
|
+
return props.ptm(key, {
|
|
348
|
+
context: {
|
|
349
|
+
disabled: props.disabled
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
};
|
|
398
353
|
var className = utils.classNames('p-paginator-last p-paginator-element p-link', {
|
|
399
354
|
'p-disabled': props.disabled
|
|
400
355
|
});
|
|
401
356
|
var iconClassName = 'p-paginator-icon';
|
|
402
|
-
var
|
|
357
|
+
var lastPageIconProps = utils.mergeProps({
|
|
403
358
|
className: iconClassName
|
|
404
|
-
});
|
|
405
|
-
var
|
|
406
|
-
|
|
407
|
-
}, {
|
|
359
|
+
}, getPTOptions('lastPageIcon'));
|
|
360
|
+
var icon = props.lastPageLinkIcon || /*#__PURE__*/React__namespace.createElement(angledoubleright.AngleDoubleRightIcon, lastPageIconProps);
|
|
361
|
+
var lastPageLinkIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$2({}, lastPageIconProps), {
|
|
408
362
|
props: props
|
|
409
363
|
});
|
|
410
|
-
var
|
|
411
|
-
type:
|
|
364
|
+
var lastPageButtonProps = utils.mergeProps({
|
|
365
|
+
type: 'button',
|
|
412
366
|
className: className,
|
|
413
367
|
onClick: props.onClick,
|
|
414
368
|
disabled: props.disabled,
|
|
415
|
-
|
|
416
|
-
},
|
|
369
|
+
'aria-label': api.ariaLabel('lastPageLabel')
|
|
370
|
+
}, getPTOptions('lastPageButton'));
|
|
371
|
+
var element = /*#__PURE__*/React__namespace.createElement("button", lastPageButtonProps, lastPageLinkIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null));
|
|
417
372
|
if (props.template) {
|
|
418
373
|
var defaultOptions = {
|
|
419
374
|
onClick: props.onClick,
|
|
@@ -429,27 +384,37 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
429
384
|
});
|
|
430
385
|
LastPageLink.displayName = 'LastPageLink';
|
|
431
386
|
|
|
387
|
+
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
388
|
+
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
432
389
|
var NextPageLink = /*#__PURE__*/React__namespace.memo(function (inProps) {
|
|
433
|
-
var
|
|
390
|
+
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
391
|
+
var props = NextPageLinkBase.getProps(inProps, context);
|
|
392
|
+
var getPTOptions = function getPTOptions(key) {
|
|
393
|
+
return props.ptm(key, {
|
|
394
|
+
context: {
|
|
395
|
+
disabled: props.disabled
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
};
|
|
434
399
|
var className = utils.classNames('p-paginator-next p-paginator-element p-link', {
|
|
435
400
|
'p-disabled': props.disabled
|
|
436
401
|
});
|
|
437
402
|
var iconClassName = 'p-paginator-icon';
|
|
438
|
-
var
|
|
439
|
-
className: iconClassName
|
|
440
|
-
});
|
|
441
|
-
var nextPageLinkIcon = utils.IconUtils.getJSXIcon(icon, {
|
|
403
|
+
var nextPageIconProps = utils.mergeProps({
|
|
442
404
|
className: iconClassName
|
|
443
|
-
},
|
|
405
|
+
}, getPTOptions('nextPageIcon'));
|
|
406
|
+
var icon = props.nextPageLinkIcon || /*#__PURE__*/React__namespace.createElement(angleright.AngleRightIcon, nextPageIconProps);
|
|
407
|
+
var nextPageLinkIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$1({}, nextPageIconProps), {
|
|
444
408
|
props: props
|
|
445
409
|
});
|
|
446
|
-
var
|
|
447
|
-
type:
|
|
410
|
+
var nextPageButtonProps = utils.mergeProps({
|
|
411
|
+
type: 'button',
|
|
448
412
|
className: className,
|
|
449
413
|
onClick: props.onClick,
|
|
450
414
|
disabled: props.disabled,
|
|
451
|
-
|
|
452
|
-
},
|
|
415
|
+
'aria-label': api.ariaLabel('nextPageLabel')
|
|
416
|
+
}, getPTOptions('nextPageButton'));
|
|
417
|
+
var element = /*#__PURE__*/React__namespace.createElement("button", nextPageButtonProps, nextPageLinkIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null));
|
|
453
418
|
if (props.template) {
|
|
454
419
|
var defaultOptions = {
|
|
455
420
|
onClick: props.onClick,
|
|
@@ -467,7 +432,15 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
467
432
|
NextPageLink.displayName = 'NextPageLink';
|
|
468
433
|
|
|
469
434
|
var PageLinks = /*#__PURE__*/React__namespace.memo(function (inProps) {
|
|
470
|
-
var
|
|
435
|
+
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
436
|
+
var props = PageLinksBase.getProps(inProps, context);
|
|
437
|
+
var getPTOptions = function getPTOptions(pageLink, key) {
|
|
438
|
+
return props.ptm(key, {
|
|
439
|
+
context: {
|
|
440
|
+
active: pageLink - 1 === props.page
|
|
441
|
+
}
|
|
442
|
+
});
|
|
443
|
+
};
|
|
471
444
|
var onPageLinkClick = function onPageLinkClick(event, pageLink) {
|
|
472
445
|
if (props.onClick) {
|
|
473
446
|
props.onClick({
|
|
@@ -487,14 +460,18 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
487
460
|
'p-paginator-page-end': pageLink === endPageInView,
|
|
488
461
|
'p-highlight': pageLink - 1 === props.page
|
|
489
462
|
});
|
|
490
|
-
var
|
|
491
|
-
type:
|
|
492
|
-
className: className,
|
|
463
|
+
var pageButtonProps = utils.mergeProps({
|
|
464
|
+
type: 'button',
|
|
493
465
|
onClick: function onClick(e) {
|
|
494
466
|
return onPageLinkClick(e, pageLink);
|
|
495
467
|
},
|
|
496
|
-
|
|
497
|
-
|
|
468
|
+
className: className,
|
|
469
|
+
disabled: props.disabled,
|
|
470
|
+
'aria-label': api.ariaLabel('pageLabel', {
|
|
471
|
+
page: pageLink + 1
|
|
472
|
+
})
|
|
473
|
+
}, getPTOptions(pageLink, 'pageButton'));
|
|
474
|
+
var element = /*#__PURE__*/React__namespace.createElement("button", pageButtonProps, pageLink, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null));
|
|
498
475
|
if (props.template) {
|
|
499
476
|
var defaultOptions = {
|
|
500
477
|
onClick: function onClick(e) {
|
|
@@ -518,33 +495,44 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
518
495
|
}, element);
|
|
519
496
|
});
|
|
520
497
|
}
|
|
521
|
-
|
|
522
|
-
className:
|
|
523
|
-
},
|
|
498
|
+
var pagesProps = utils.mergeProps({
|
|
499
|
+
className: 'p-paginator-pages'
|
|
500
|
+
}, props.ptm('pages'));
|
|
501
|
+
return /*#__PURE__*/React__namespace.createElement("span", pagesProps, elements);
|
|
524
502
|
});
|
|
525
503
|
PageLinks.displayName = 'PageLinks';
|
|
526
504
|
|
|
505
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
506
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
527
507
|
var PrevPageLink = /*#__PURE__*/React__namespace.memo(function (inProps) {
|
|
528
|
-
var
|
|
508
|
+
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
509
|
+
var props = PrevPageLinkBase.getProps(inProps, context);
|
|
510
|
+
var getPTOptions = function getPTOptions(key) {
|
|
511
|
+
return props.ptm(key, {
|
|
512
|
+
context: {
|
|
513
|
+
disabled: props.disabled
|
|
514
|
+
}
|
|
515
|
+
});
|
|
516
|
+
};
|
|
529
517
|
var className = utils.classNames('p-paginator-prev p-paginator-element p-link', {
|
|
530
518
|
'p-disabled': props.disabled
|
|
531
519
|
});
|
|
532
520
|
var iconClassName = 'p-paginator-icon';
|
|
533
|
-
var
|
|
534
|
-
className: iconClassName
|
|
535
|
-
});
|
|
536
|
-
var prevPageLinkIcon = utils.IconUtils.getJSXIcon(icon, {
|
|
521
|
+
var prevPageIconProps = utils.mergeProps({
|
|
537
522
|
className: iconClassName
|
|
538
|
-
},
|
|
523
|
+
}, getPTOptions('prevPageIcon'));
|
|
524
|
+
var icon = props.prevPageLinkIcon || /*#__PURE__*/React__namespace.createElement(angleleft.AngleLeftIcon, prevPageIconProps);
|
|
525
|
+
var prevPageLinkIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread({}, prevPageIconProps), {
|
|
539
526
|
props: props
|
|
540
527
|
});
|
|
541
|
-
var
|
|
542
|
-
type:
|
|
528
|
+
var prevPageButtonProps = utils.mergeProps({
|
|
529
|
+
type: 'button',
|
|
543
530
|
className: className,
|
|
544
531
|
onClick: props.onClick,
|
|
545
532
|
disabled: props.disabled,
|
|
546
|
-
|
|
547
|
-
},
|
|
533
|
+
'aria-label': api.ariaLabel('previousPageLabel')
|
|
534
|
+
}, getPTOptions('prevPageButton'));
|
|
535
|
+
var element = /*#__PURE__*/React__namespace.createElement("button", prevPageButtonProps, prevPageLinkIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null));
|
|
548
536
|
if (props.template) {
|
|
549
537
|
var defaultOptions = {
|
|
550
538
|
onClick: props.onClick,
|
|
@@ -561,7 +549,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
561
549
|
PrevPageLink.displayName = 'PrevPageLink';
|
|
562
550
|
|
|
563
551
|
var RowsPerPageDropdown = /*#__PURE__*/React__namespace.memo(function (inProps) {
|
|
564
|
-
var
|
|
552
|
+
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
553
|
+
var props = RowsPerPageDropdownBase.getProps(inProps, context);
|
|
565
554
|
var hasOptions = props.options && props.options.length > 0;
|
|
566
555
|
var options = hasOptions ? props.options.map(function (opt) {
|
|
567
556
|
return {
|
|
@@ -577,7 +566,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
577
566
|
appendTo: props.appendTo,
|
|
578
567
|
disabled: props.disabled,
|
|
579
568
|
placeholder: ariaLabel,
|
|
580
|
-
"aria-label": ariaLabel
|
|
569
|
+
"aria-label": ariaLabel,
|
|
570
|
+
pt: props.ptm('RPPDropdown')
|
|
581
571
|
}) : null;
|
|
582
572
|
if (props.template) {
|
|
583
573
|
var defaultOptions = {
|
|
@@ -599,7 +589,12 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
599
589
|
RowsPerPageDropdown.displayName = 'RowsPerPageDropdown';
|
|
600
590
|
|
|
601
591
|
var Paginator = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
602
|
-
var
|
|
592
|
+
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
593
|
+
var props = PaginatorBase.getProps(inProps, context);
|
|
594
|
+
var _PaginatorBase$setMet = PaginatorBase.setMetaData({
|
|
595
|
+
props: props
|
|
596
|
+
}),
|
|
597
|
+
ptm = _PaginatorBase$setMet.ptm;
|
|
603
598
|
var elementRef = React__namespace.useRef(null);
|
|
604
599
|
var page = Math.floor(props.first / props.rows);
|
|
605
600
|
var pageCount = Math.ceil(props.totalRecords / props.rows);
|
|
@@ -689,7 +684,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
689
684
|
onClick: changePageToFirst,
|
|
690
685
|
disabled: isFirstPage || isEmpty,
|
|
691
686
|
template: template,
|
|
692
|
-
firstPageLinkIcon: props.firstPageLinkIcon
|
|
687
|
+
firstPageLinkIcon: props.firstPageLinkIcon,
|
|
688
|
+
ptm: ptm
|
|
693
689
|
});
|
|
694
690
|
break;
|
|
695
691
|
case 'PrevPageLink':
|
|
@@ -698,7 +694,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
698
694
|
onClick: changePageToPrev,
|
|
699
695
|
disabled: isFirstPage || isEmpty,
|
|
700
696
|
template: template,
|
|
701
|
-
prevPageLinkIcon: props.prevPageLinkIcon
|
|
697
|
+
prevPageLinkIcon: props.prevPageLinkIcon,
|
|
698
|
+
ptm: ptm
|
|
702
699
|
});
|
|
703
700
|
break;
|
|
704
701
|
case 'NextPageLink':
|
|
@@ -707,7 +704,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
707
704
|
onClick: changePageToNext,
|
|
708
705
|
disabled: isLastPage || isEmpty,
|
|
709
706
|
template: template,
|
|
710
|
-
nextPageLinkIcon: props.nextPageLinkIcon
|
|
707
|
+
nextPageLinkIcon: props.nextPageLinkIcon,
|
|
708
|
+
ptm: ptm
|
|
711
709
|
});
|
|
712
710
|
break;
|
|
713
711
|
case 'LastPageLink':
|
|
@@ -716,7 +714,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
716
714
|
onClick: changePageToLast,
|
|
717
715
|
disabled: isLastPage || isEmpty,
|
|
718
716
|
template: template,
|
|
719
|
-
lastPageLinkIcon: props.lastPageLinkIcon
|
|
717
|
+
lastPageLinkIcon: props.lastPageLinkIcon,
|
|
718
|
+
ptm: ptm
|
|
720
719
|
});
|
|
721
720
|
break;
|
|
722
721
|
case 'PageLinks':
|
|
@@ -727,7 +726,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
727
726
|
rows: props.rows,
|
|
728
727
|
pageCount: pageCount,
|
|
729
728
|
onClick: onPageLinkClick,
|
|
730
|
-
template: template
|
|
729
|
+
template: template,
|
|
730
|
+
ptm: ptm
|
|
731
731
|
});
|
|
732
732
|
break;
|
|
733
733
|
case 'RowsPerPageDropdown':
|
|
@@ -741,7 +741,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
741
741
|
onChange: onRowsChange,
|
|
742
742
|
appendTo: props.dropdownAppendTo,
|
|
743
743
|
template: template,
|
|
744
|
-
disabled: isEmpty
|
|
744
|
+
disabled: isEmpty,
|
|
745
|
+
ptm: ptm
|
|
745
746
|
});
|
|
746
747
|
break;
|
|
747
748
|
case 'CurrentPageReport':
|
|
@@ -753,7 +754,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
753
754
|
first: props.first,
|
|
754
755
|
rows: props.rows,
|
|
755
756
|
totalRecords: props.totalRecords,
|
|
756
|
-
template: template
|
|
757
|
+
template: template,
|
|
758
|
+
ptm: ptm
|
|
757
759
|
});
|
|
758
760
|
break;
|
|
759
761
|
case 'JumpToPageInput':
|
|
@@ -764,7 +766,8 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
764
766
|
pageCount: pageCount,
|
|
765
767
|
onChange: changePage,
|
|
766
768
|
disabled: isEmpty,
|
|
767
|
-
template: template
|
|
769
|
+
template: template,
|
|
770
|
+
ptm: ptm
|
|
768
771
|
});
|
|
769
772
|
break;
|
|
770
773
|
default:
|
|
@@ -796,22 +799,24 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
796
799
|
if (!props.alwaysShow && pageCount <= 1) {
|
|
797
800
|
return null;
|
|
798
801
|
} else {
|
|
799
|
-
var otherProps = PaginatorBase.getOtherProps(props);
|
|
800
802
|
var className = utils.classNames('p-paginator p-component', props.className);
|
|
801
803
|
var leftContent = utils.ObjectUtils.getJSXElement(props.leftContent, props);
|
|
802
804
|
var rightContent = utils.ObjectUtils.getJSXElement(props.rightContent, props);
|
|
803
805
|
var elements = createElements();
|
|
804
|
-
var
|
|
805
|
-
className:
|
|
806
|
-
},
|
|
807
|
-
var
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
806
|
+
var leftProps = utils.mergeProps({
|
|
807
|
+
className: 'p-paginator-left-content'
|
|
808
|
+
}, ptm('left'));
|
|
809
|
+
var leftElement = leftContent && /*#__PURE__*/React__namespace.createElement("div", leftProps, leftContent);
|
|
810
|
+
var endProps = utils.mergeProps({
|
|
811
|
+
className: 'p-paginator-right-content'
|
|
812
|
+
}, ptm('end'));
|
|
813
|
+
var rightElement = rightContent && /*#__PURE__*/React__namespace.createElement("div", endProps, rightContent);
|
|
814
|
+
var rootProps = utils.mergeProps({
|
|
811
815
|
ref: elementRef,
|
|
812
816
|
className: className,
|
|
813
817
|
style: props.style
|
|
814
|
-
},
|
|
818
|
+
}, PaginatorBase.getOtherProps(props), ptm('root'));
|
|
819
|
+
return /*#__PURE__*/React__namespace.createElement("div", rootProps, leftElement, elements, rightElement);
|
|
815
820
|
}
|
|
816
821
|
}));
|
|
817
822
|
Paginator.displayName = 'Paginator';
|
|
@@ -822,4 +827,4 @@ this.primereact.paginator = (function (exports, React, hooks, utils, api, ripple
|
|
|
822
827
|
|
|
823
828
|
return exports;
|
|
824
829
|
|
|
825
|
-
})({}, React, primereact.hooks, primereact.utils, primereact.
|
|
830
|
+
})({}, React, primereact.hooks, primereact.utils, primereact.componentbase, primereact.api, primereact.icons.angledoubleleft, primereact.ripple, primereact.inputnumber, primereact.icons.angledoubleright, primereact.icons.angleright, primereact.icons.angleleft, primereact.dropdown);
|