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/chips/chips.esm.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { useMountEffect } from 'primereact/hooks';
|
|
2
3
|
import { TimesCircleIcon } from 'primereact/icons/timescircle';
|
|
3
4
|
import { KeyFilter } from 'primereact/keyfilter';
|
|
4
5
|
import { Tooltip } from 'primereact/tooltip';
|
|
5
|
-
import { ObjectUtils, DomHandler, classNames, IconUtils } from 'primereact/utils';
|
|
6
|
+
import { ObjectUtils, DomHandler, classNames, mergeProps, IconUtils } from 'primereact/utils';
|
|
7
|
+
import { ComponentBase } from 'primereact/componentbase';
|
|
8
|
+
import { PrimeReactContext } from 'primereact/api';
|
|
6
9
|
|
|
7
10
|
function _extends() {
|
|
8
11
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
@@ -131,54 +134,57 @@ function _slicedToArray(arr, i) {
|
|
|
131
134
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
132
135
|
}
|
|
133
136
|
|
|
134
|
-
var ChipsBase = {
|
|
137
|
+
var ChipsBase = ComponentBase.extend({
|
|
135
138
|
defaultProps: {
|
|
136
139
|
__TYPE: 'Chips',
|
|
140
|
+
addOnBlur: null,
|
|
141
|
+
allowDuplicate: true,
|
|
142
|
+
ariaLabelledBy: null,
|
|
143
|
+
autoFocus: false,
|
|
144
|
+
className: null,
|
|
145
|
+
disabled: null,
|
|
137
146
|
id: null,
|
|
138
|
-
inputRef: null,
|
|
139
147
|
inputId: null,
|
|
148
|
+
inputRef: null,
|
|
149
|
+
itemTemplate: null,
|
|
150
|
+
keyfilter: null,
|
|
151
|
+
max: null,
|
|
140
152
|
name: null,
|
|
153
|
+
onAdd: null,
|
|
154
|
+
onBlur: null,
|
|
155
|
+
onChange: null,
|
|
156
|
+
onFocus: null,
|
|
157
|
+
onKeyDown: null,
|
|
158
|
+
onRemove: null,
|
|
141
159
|
placeholder: null,
|
|
142
|
-
value: null,
|
|
143
|
-
max: null,
|
|
144
|
-
disabled: null,
|
|
145
160
|
readOnly: false,
|
|
146
161
|
removable: true,
|
|
147
162
|
removeIcon: null,
|
|
163
|
+
separator: null,
|
|
148
164
|
style: null,
|
|
149
|
-
className: null,
|
|
150
165
|
tooltip: null,
|
|
151
166
|
tooltipOptions: null,
|
|
152
|
-
|
|
153
|
-
separator: null,
|
|
154
|
-
allowDuplicate: true,
|
|
155
|
-
itemTemplate: null,
|
|
156
|
-
keyfilter: null,
|
|
157
|
-
addOnBlur: null,
|
|
158
|
-
onAdd: null,
|
|
159
|
-
onRemove: null,
|
|
160
|
-
onChange: null,
|
|
161
|
-
onFocus: null,
|
|
162
|
-
onBlur: null,
|
|
163
|
-
onKeyDown: null,
|
|
167
|
+
value: null,
|
|
164
168
|
children: undefined
|
|
165
|
-
},
|
|
166
|
-
getProps: function getProps(props) {
|
|
167
|
-
return ObjectUtils.getMergedProps(props, ChipsBase.defaultProps);
|
|
168
|
-
},
|
|
169
|
-
getOtherProps: function getOtherProps(props) {
|
|
170
|
-
return ObjectUtils.getDiffProps(props, ChipsBase.defaultProps);
|
|
171
169
|
}
|
|
172
|
-
};
|
|
170
|
+
});
|
|
173
171
|
|
|
174
172
|
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; }
|
|
175
173
|
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; }
|
|
176
174
|
var Chips = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
177
|
-
var
|
|
175
|
+
var context = React.useContext(PrimeReactContext);
|
|
176
|
+
var props = ChipsBase.getProps(inProps, context);
|
|
178
177
|
var _React$useState = React.useState(false),
|
|
179
178
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
180
179
|
focusedState = _React$useState2[0],
|
|
181
180
|
setFocusedState = _React$useState2[1];
|
|
181
|
+
var _ChipsBase$setMetaDat = ChipsBase.setMetaData({
|
|
182
|
+
props: props,
|
|
183
|
+
state: {
|
|
184
|
+
focused: focusedState
|
|
185
|
+
}
|
|
186
|
+
}),
|
|
187
|
+
ptm = _ChipsBase$setMetaDat.ptm;
|
|
182
188
|
var elementRef = React.useRef(null);
|
|
183
189
|
var listRef = React.useRef(null);
|
|
184
190
|
var inputRef = React.useRef(props.inputRef);
|
|
@@ -236,7 +242,7 @@ var Chips = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inP
|
|
|
236
242
|
var onWrapperClick = function onWrapperClick() {
|
|
237
243
|
DomHandler.focus(inputRef.current);
|
|
238
244
|
};
|
|
239
|
-
var
|
|
245
|
+
var _onKeyDown = function onKeyDown(event) {
|
|
240
246
|
var inputValue = event.target.value;
|
|
241
247
|
var values = props.value || [];
|
|
242
248
|
props.onKeyDown && props.onKeyDown(event);
|
|
@@ -292,7 +298,7 @@ var Chips = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inP
|
|
|
292
298
|
inputRef.current.value = '';
|
|
293
299
|
preventDefault && event.preventDefault();
|
|
294
300
|
};
|
|
295
|
-
var
|
|
301
|
+
var _onPaste = function onPaste(event) {
|
|
296
302
|
if (props.separator) {
|
|
297
303
|
var pastedData = (event.clipboardData || window['clipboardData']).getData('Text');
|
|
298
304
|
if (props.keyfilter) {
|
|
@@ -309,11 +315,11 @@ var Chips = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inP
|
|
|
309
315
|
}
|
|
310
316
|
}
|
|
311
317
|
};
|
|
312
|
-
var
|
|
318
|
+
var _onFocus = function onFocus(event) {
|
|
313
319
|
setFocusedState(true);
|
|
314
320
|
props.onFocus && props.onFocus(event);
|
|
315
321
|
};
|
|
316
|
-
var
|
|
322
|
+
var _onBlur = function onBlur(event) {
|
|
317
323
|
if (props.addOnBlur) {
|
|
318
324
|
var inputValue = event.target.value;
|
|
319
325
|
var values = props.value || [];
|
|
@@ -355,13 +361,18 @@ var Chips = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inP
|
|
|
355
361
|
React.useEffect(function () {
|
|
356
362
|
ObjectUtils.combinedRefs(inputRef, props.inputRef);
|
|
357
363
|
}, [inputRef, props.inputRef]);
|
|
364
|
+
useMountEffect(function () {
|
|
365
|
+
if (props.autoFocus) {
|
|
366
|
+
DomHandler.focus(inputRef.current, props.autoFocus);
|
|
367
|
+
}
|
|
368
|
+
});
|
|
358
369
|
var createRemoveIcon = function createRemoveIcon(value, index) {
|
|
359
|
-
var iconProps = {
|
|
370
|
+
var iconProps = mergeProps({
|
|
360
371
|
className: 'p-chips-token-icon',
|
|
361
372
|
onClick: function onClick(event) {
|
|
362
373
|
return removeItem(event, index);
|
|
363
374
|
}
|
|
364
|
-
};
|
|
375
|
+
}, ptm('removeTokenIcon'));
|
|
365
376
|
var icon = props.removeIcon || /*#__PURE__*/React.createElement(TimesCircleIcon, iconProps);
|
|
366
377
|
var removeIcon = IconUtils.getJSXIcon(icon, _objectSpread({}, iconProps), {
|
|
367
378
|
props: props
|
|
@@ -373,31 +384,43 @@ var Chips = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inP
|
|
|
373
384
|
};
|
|
374
385
|
var createItem = function createItem(value, index) {
|
|
375
386
|
var content = props.itemTemplate ? props.itemTemplate(value) : value;
|
|
376
|
-
var
|
|
377
|
-
className:
|
|
378
|
-
},
|
|
387
|
+
var labelProps = mergeProps({
|
|
388
|
+
className: 'p-chips-token-label'
|
|
389
|
+
}, ptm('label'));
|
|
390
|
+
var label = /*#__PURE__*/React.createElement("span", labelProps, content);
|
|
379
391
|
var icon = createRemoveIcon(value, index);
|
|
380
|
-
|
|
392
|
+
var tokenProps = mergeProps({
|
|
381
393
|
key: index,
|
|
382
|
-
className:
|
|
383
|
-
},
|
|
394
|
+
className: 'p-chips-token p-highlight'
|
|
395
|
+
}, ptm('token'));
|
|
396
|
+
return /*#__PURE__*/React.createElement("li", tokenProps, label, icon);
|
|
384
397
|
};
|
|
385
398
|
var createInput = function createInput() {
|
|
386
|
-
|
|
387
|
-
className:
|
|
388
|
-
},
|
|
389
|
-
|
|
399
|
+
var inputTokenProps = mergeProps({
|
|
400
|
+
className: 'p-chips-input-token'
|
|
401
|
+
}, ptm('inputToken'));
|
|
402
|
+
var inputProps = mergeProps(_objectSpread({
|
|
390
403
|
id: props.inputId,
|
|
404
|
+
ref: inputRef,
|
|
391
405
|
placeholder: props.placeholder,
|
|
392
|
-
type:
|
|
406
|
+
type: 'text',
|
|
393
407
|
name: props.name,
|
|
394
408
|
disabled: props.disabled || isMaxedOut(),
|
|
395
|
-
onKeyDown: onKeyDown
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
409
|
+
onKeyDown: function onKeyDown(e) {
|
|
410
|
+
return _onKeyDown(e);
|
|
411
|
+
},
|
|
412
|
+
onPaste: function onPaste(e) {
|
|
413
|
+
return _onPaste(e);
|
|
414
|
+
},
|
|
415
|
+
onFocus: function onFocus(e) {
|
|
416
|
+
return _onFocus(e);
|
|
417
|
+
},
|
|
418
|
+
onBlur: function onBlur(e) {
|
|
419
|
+
return _onBlur(e);
|
|
420
|
+
},
|
|
399
421
|
readOnly: props.readOnly
|
|
400
|
-
}, ariaProps)));
|
|
422
|
+
}, ariaProps), ptm('input'));
|
|
423
|
+
return /*#__PURE__*/React.createElement("li", inputTokenProps, /*#__PURE__*/React.createElement("input", inputProps));
|
|
401
424
|
};
|
|
402
425
|
var createItems = function createItems() {
|
|
403
426
|
return props.value ? props.value.map(createItem) : null;
|
|
@@ -409,11 +432,14 @@ var Chips = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inP
|
|
|
409
432
|
});
|
|
410
433
|
var items = createItems();
|
|
411
434
|
var input = createInput();
|
|
412
|
-
|
|
435
|
+
var containerProps = mergeProps({
|
|
413
436
|
ref: listRef,
|
|
414
437
|
className: className,
|
|
415
|
-
onClick:
|
|
416
|
-
|
|
438
|
+
onClick: function onClick(e) {
|
|
439
|
+
return onWrapperClick();
|
|
440
|
+
}
|
|
441
|
+
}, ptm('container'));
|
|
442
|
+
return /*#__PURE__*/React.createElement("ul", containerProps, items, input);
|
|
417
443
|
};
|
|
418
444
|
var hasTooltip = ObjectUtils.isNotEmpty(props.tooltip);
|
|
419
445
|
var otherProps = ChipsBase.getOtherProps(props);
|
|
@@ -423,15 +449,18 @@ var Chips = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inP
|
|
|
423
449
|
'p-inputwrapper-focus': focusedState
|
|
424
450
|
}, props.className);
|
|
425
451
|
var list = createList();
|
|
426
|
-
|
|
427
|
-
ref: elementRef,
|
|
452
|
+
var rootProps = mergeProps({
|
|
428
453
|
id: props.id,
|
|
454
|
+
ref: elementRef,
|
|
429
455
|
className: className,
|
|
430
456
|
style: props.style
|
|
431
|
-
},
|
|
457
|
+
}, ptm('root'));
|
|
458
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", rootProps, list), hasTooltip && /*#__PURE__*/React.createElement(Tooltip, _extends({
|
|
432
459
|
target: inputRef,
|
|
433
460
|
content: props.tooltip
|
|
434
|
-
}, props.tooltipOptions
|
|
461
|
+
}, props.tooltipOptions, {
|
|
462
|
+
pt: ptm('tooltip')
|
|
463
|
+
})));
|
|
435
464
|
}));
|
|
436
465
|
Chips.displayName = 'Chips';
|
|
437
466
|
|
package/chips/chips.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";import{
|
|
1
|
+
import*as e from"react";import{useMountEffect as t}from"primereact/hooks";import{TimesCircleIcon as n}from"primereact/icons/timescircle";import{KeyFilter as r}from"primereact/keyfilter";import{Tooltip as o}from"primereact/tooltip";import{ObjectUtils as l,DomHandler as a,classNames as i,mergeProps as u,IconUtils as c}from"primereact/utils";import{ComponentBase as p}from"primereact/componentbase";import{PrimeReactContext as f}from"primereact/api";function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function v(e,t){if("object"!==m(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==m(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function d(e){var t=v(e,"string");return"symbol"===m(t)?t:String(t)}function y(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e){if(Array.isArray(e))return b(e)}function h(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function O(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function w(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function P(e){return g(e)||h(e)||O(e)||w()}function E(e){if(Array.isArray(e))return e}function j(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,l,a,i=[],u=!0,c=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=l.call(n)).done)&&(i.push(r.value),i.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return i}}function k(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var D=p.extend({defaultProps:{__TYPE:"Chips",addOnBlur:null,allowDuplicate:!0,ariaLabelledBy:null,autoFocus:!1,className:null,disabled:null,id:null,inputId:null,inputRef:null,itemTemplate:null,keyfilter:null,max:null,name:null,onAdd:null,onBlur:null,onChange:null,onFocus:null,onKeyDown:null,onRemove:null,placeholder:null,readOnly:!1,removable:!0,removeIcon:null,separator:null,style:null,tooltip:null,tooltipOptions:null,value:null,children:void 0}});function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A=e.memo(e.forwardRef((function(p,m){var v,d,y=e.useContext(f),b=D.getProps(p,y),g=e.useState(!1),h=(d=2,E(v=g)||j(v,d)||O(v,d)||k()),w=h[0],S=h[1],A=D.setMetaData({props:b,state:{focused:w}}).ptm,I=e.useRef(null),R=e.useRef(null),N=e.useRef(b.inputRef),C=function(e,t){if(!b.disabled||!b.readOnly){var n=P(b.value),r=n.splice(t,1);L(r,t)&&(b.onRemove&&b.onRemove({originalEvent:e,value:r}),b.onChange&&b.onChange({originalEvent:e,value:n,stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},target:{name:b.name,id:b.id,value:n}}))}},T=function(e,t,n){if(t&&t.trim().length){var r=b.value?P(b.value):[];if(b.allowDuplicate||-1===r.indexOf(t)){var o=!0;b.onAdd&&(o=b.onAdd({originalEvent:e,value:t})),!1!==o&&r.push(t)}F(e,r,n)}},B=function(e){var t=e.target.value,n=b.value||[];if(b.onKeyDown&&b.onKeyDown(e),!e.defaultPrevented)switch(e.key){case"Backspace":0===N.current.value.length&&n.length>0&&C(e,n.length-1);break;case"Enter":t&&t.trim().length&&(!b.max||b.max>n.length)&&T(e,t,!0);break;default:b.keyfilter&&r.onKeyPress(e,b.keyfilter),_()?e.preventDefault():","===b.separator&&(e.key===b.separator||a.isAndroid()&&229===e.which)&&T(e,t,!0)}},F=function(e,t,n){b.onChange&&b.onChange({originalEvent:e,value:t,stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},target:{name:b.name,id:b.id,value:t}}),N.current.value="",n&&e.preventDefault()},K=function(e){if(b.separator){var t=(e.clipboardData||window.clipboardData).getData("Text");if(b.keyfilter&&r.onPaste(e,b.keyfilter),t){var n=b.value||[],o=t.split(b.separator);o=o.filter((function(e){return(b.allowDuplicate||-1===n.indexOf(e))&&e.trim().length})),n=[].concat(P(n),P(o)),F(e,n,!0)}}},M=function(e){if(b.addOnBlur){var t=e.target.value,n=b.value||[];t&&t.trim().length&&(!b.max||b.max>n.length)&&T(e,t,!0)}S(!1),b.onBlur&&b.onBlur(e)},_=function(){return b.max&&b.value&&b.max===b.value.length},H=N.current&&N.current.value,J=e.useMemo((function(){return l.isNotEmpty(b.value)||l.isNotEmpty(H)}),[b.value,H]),L=function(e,t){return l.getPropValue(b.removable,{value:e,index:t,props:b})};e.useImperativeHandle(m,(function(){return{props:b,focus:function(){return a.focus(N.current)},getElement:function(){return I.current},getInput:function(){return N.current}}})),e.useEffect((function(){l.combinedRefs(N,b.inputRef)}),[N,b.inputRef]),t((function(){b.autoFocus&&a.focus(N.current,b.autoFocus)}));var U=function(t,r){var o=u({className:"p-chips-token-icon",onClick:function(e){return C(e,r)}},A("removeTokenIcon")),l=c.getJSXIcon(b.removeIcon||e.createElement(n,o),x({},o),{props:b});return b.disabled||b.readOnly||!L(t,r)?null:l},V=function(t,n){var r=b.itemTemplate?b.itemTemplate(t):t,o=u({className:"p-chips-token-label"},A("label")),l=e.createElement("span",o,r),a=U(t,n),i=u({key:n,className:"p-chips-token p-highlight"},A("token"));return e.createElement("li",i,l,a)},X=l.isNotEmpty(b.tooltip),Y=D.getOtherProps(b),$=l.reduceKeys(Y,a.ARIA_PROPS),q=i("p-chips p-component p-inputwrapper",{"p-inputwrapper-filled":J,"p-inputwrapper-focus":w},b.className),z=function(){var t,n,r=i("p-inputtext p-chips-multiple-container",{"p-disabled":b.disabled,"p-focus":w}),o=b.value?b.value.map(V):null,l=(t=u({className:"p-chips-input-token"},A("inputToken")),n=u(x({id:b.inputId,ref:N,placeholder:b.placeholder,type:"text",name:b.name,disabled:b.disabled||_(),onKeyDown:function(e){return B(e)},onPaste:function(e){return K(e)},onFocus:function(e){return t=e,S(!0),void(b.onFocus&&b.onFocus(t));var t},onBlur:function(e){return M(e)},readOnly:b.readOnly},$),A("input")),e.createElement("li",t,e.createElement("input",n))),c=u({ref:R,className:r,onClick:function(e){a.focus(N.current)}},A("container"));return e.createElement("ul",c,o,l)}(),G=u({id:b.id,ref:I,className:q,style:b.style},A("root"));return e.createElement(e.Fragment,null,e.createElement("div",G,z),X&&e.createElement(o,s({target:N,content:b.tooltip},b.tooltipOptions,{pt:A("tooltip")})))})));A.displayName="Chips";export{A as Chips};
|
package/chips/chips.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
this.primereact = this.primereact || {};
|
|
2
|
-
this.primereact.chips = (function (exports, React, timescircle, keyfilter, tooltip, utils) {
|
|
2
|
+
this.primereact.chips = (function (exports, React, hooks, timescircle, keyfilter, tooltip, utils, componentbase, api) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
function _interopNamespace(e) {
|
|
@@ -149,54 +149,57 @@ this.primereact.chips = (function (exports, React, timescircle, keyfilter, toolt
|
|
|
149
149
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
var ChipsBase = {
|
|
152
|
+
var ChipsBase = componentbase.ComponentBase.extend({
|
|
153
153
|
defaultProps: {
|
|
154
154
|
__TYPE: 'Chips',
|
|
155
|
+
addOnBlur: null,
|
|
156
|
+
allowDuplicate: true,
|
|
157
|
+
ariaLabelledBy: null,
|
|
158
|
+
autoFocus: false,
|
|
159
|
+
className: null,
|
|
160
|
+
disabled: null,
|
|
155
161
|
id: null,
|
|
156
|
-
inputRef: null,
|
|
157
162
|
inputId: null,
|
|
163
|
+
inputRef: null,
|
|
164
|
+
itemTemplate: null,
|
|
165
|
+
keyfilter: null,
|
|
166
|
+
max: null,
|
|
158
167
|
name: null,
|
|
168
|
+
onAdd: null,
|
|
169
|
+
onBlur: null,
|
|
170
|
+
onChange: null,
|
|
171
|
+
onFocus: null,
|
|
172
|
+
onKeyDown: null,
|
|
173
|
+
onRemove: null,
|
|
159
174
|
placeholder: null,
|
|
160
|
-
value: null,
|
|
161
|
-
max: null,
|
|
162
|
-
disabled: null,
|
|
163
175
|
readOnly: false,
|
|
164
176
|
removable: true,
|
|
165
177
|
removeIcon: null,
|
|
178
|
+
separator: null,
|
|
166
179
|
style: null,
|
|
167
|
-
className: null,
|
|
168
180
|
tooltip: null,
|
|
169
181
|
tooltipOptions: null,
|
|
170
|
-
|
|
171
|
-
separator: null,
|
|
172
|
-
allowDuplicate: true,
|
|
173
|
-
itemTemplate: null,
|
|
174
|
-
keyfilter: null,
|
|
175
|
-
addOnBlur: null,
|
|
176
|
-
onAdd: null,
|
|
177
|
-
onRemove: null,
|
|
178
|
-
onChange: null,
|
|
179
|
-
onFocus: null,
|
|
180
|
-
onBlur: null,
|
|
181
|
-
onKeyDown: null,
|
|
182
|
+
value: null,
|
|
182
183
|
children: undefined
|
|
183
|
-
},
|
|
184
|
-
getProps: function getProps(props) {
|
|
185
|
-
return utils.ObjectUtils.getMergedProps(props, ChipsBase.defaultProps);
|
|
186
|
-
},
|
|
187
|
-
getOtherProps: function getOtherProps(props) {
|
|
188
|
-
return utils.ObjectUtils.getDiffProps(props, ChipsBase.defaultProps);
|
|
189
184
|
}
|
|
190
|
-
};
|
|
185
|
+
});
|
|
191
186
|
|
|
192
187
|
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; }
|
|
193
188
|
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; }
|
|
194
189
|
var Chips = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
195
|
-
var
|
|
190
|
+
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
191
|
+
var props = ChipsBase.getProps(inProps, context);
|
|
196
192
|
var _React$useState = React__namespace.useState(false),
|
|
197
193
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
198
194
|
focusedState = _React$useState2[0],
|
|
199
195
|
setFocusedState = _React$useState2[1];
|
|
196
|
+
var _ChipsBase$setMetaDat = ChipsBase.setMetaData({
|
|
197
|
+
props: props,
|
|
198
|
+
state: {
|
|
199
|
+
focused: focusedState
|
|
200
|
+
}
|
|
201
|
+
}),
|
|
202
|
+
ptm = _ChipsBase$setMetaDat.ptm;
|
|
200
203
|
var elementRef = React__namespace.useRef(null);
|
|
201
204
|
var listRef = React__namespace.useRef(null);
|
|
202
205
|
var inputRef = React__namespace.useRef(props.inputRef);
|
|
@@ -254,7 +257,7 @@ this.primereact.chips = (function (exports, React, timescircle, keyfilter, toolt
|
|
|
254
257
|
var onWrapperClick = function onWrapperClick() {
|
|
255
258
|
utils.DomHandler.focus(inputRef.current);
|
|
256
259
|
};
|
|
257
|
-
var
|
|
260
|
+
var _onKeyDown = function onKeyDown(event) {
|
|
258
261
|
var inputValue = event.target.value;
|
|
259
262
|
var values = props.value || [];
|
|
260
263
|
props.onKeyDown && props.onKeyDown(event);
|
|
@@ -310,7 +313,7 @@ this.primereact.chips = (function (exports, React, timescircle, keyfilter, toolt
|
|
|
310
313
|
inputRef.current.value = '';
|
|
311
314
|
preventDefault && event.preventDefault();
|
|
312
315
|
};
|
|
313
|
-
var
|
|
316
|
+
var _onPaste = function onPaste(event) {
|
|
314
317
|
if (props.separator) {
|
|
315
318
|
var pastedData = (event.clipboardData || window['clipboardData']).getData('Text');
|
|
316
319
|
if (props.keyfilter) {
|
|
@@ -327,11 +330,11 @@ this.primereact.chips = (function (exports, React, timescircle, keyfilter, toolt
|
|
|
327
330
|
}
|
|
328
331
|
}
|
|
329
332
|
};
|
|
330
|
-
var
|
|
333
|
+
var _onFocus = function onFocus(event) {
|
|
331
334
|
setFocusedState(true);
|
|
332
335
|
props.onFocus && props.onFocus(event);
|
|
333
336
|
};
|
|
334
|
-
var
|
|
337
|
+
var _onBlur = function onBlur(event) {
|
|
335
338
|
if (props.addOnBlur) {
|
|
336
339
|
var inputValue = event.target.value;
|
|
337
340
|
var values = props.value || [];
|
|
@@ -373,13 +376,18 @@ this.primereact.chips = (function (exports, React, timescircle, keyfilter, toolt
|
|
|
373
376
|
React__namespace.useEffect(function () {
|
|
374
377
|
utils.ObjectUtils.combinedRefs(inputRef, props.inputRef);
|
|
375
378
|
}, [inputRef, props.inputRef]);
|
|
379
|
+
hooks.useMountEffect(function () {
|
|
380
|
+
if (props.autoFocus) {
|
|
381
|
+
utils.DomHandler.focus(inputRef.current, props.autoFocus);
|
|
382
|
+
}
|
|
383
|
+
});
|
|
376
384
|
var createRemoveIcon = function createRemoveIcon(value, index) {
|
|
377
|
-
var iconProps = {
|
|
385
|
+
var iconProps = utils.mergeProps({
|
|
378
386
|
className: 'p-chips-token-icon',
|
|
379
387
|
onClick: function onClick(event) {
|
|
380
388
|
return removeItem(event, index);
|
|
381
389
|
}
|
|
382
|
-
};
|
|
390
|
+
}, ptm('removeTokenIcon'));
|
|
383
391
|
var icon = props.removeIcon || /*#__PURE__*/React__namespace.createElement(timescircle.TimesCircleIcon, iconProps);
|
|
384
392
|
var removeIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread({}, iconProps), {
|
|
385
393
|
props: props
|
|
@@ -391,31 +399,43 @@ this.primereact.chips = (function (exports, React, timescircle, keyfilter, toolt
|
|
|
391
399
|
};
|
|
392
400
|
var createItem = function createItem(value, index) {
|
|
393
401
|
var content = props.itemTemplate ? props.itemTemplate(value) : value;
|
|
394
|
-
var
|
|
395
|
-
className:
|
|
396
|
-
},
|
|
402
|
+
var labelProps = utils.mergeProps({
|
|
403
|
+
className: 'p-chips-token-label'
|
|
404
|
+
}, ptm('label'));
|
|
405
|
+
var label = /*#__PURE__*/React__namespace.createElement("span", labelProps, content);
|
|
397
406
|
var icon = createRemoveIcon(value, index);
|
|
398
|
-
|
|
407
|
+
var tokenProps = utils.mergeProps({
|
|
399
408
|
key: index,
|
|
400
|
-
className:
|
|
401
|
-
},
|
|
409
|
+
className: 'p-chips-token p-highlight'
|
|
410
|
+
}, ptm('token'));
|
|
411
|
+
return /*#__PURE__*/React__namespace.createElement("li", tokenProps, label, icon);
|
|
402
412
|
};
|
|
403
413
|
var createInput = function createInput() {
|
|
404
|
-
|
|
405
|
-
className:
|
|
406
|
-
},
|
|
407
|
-
|
|
414
|
+
var inputTokenProps = utils.mergeProps({
|
|
415
|
+
className: 'p-chips-input-token'
|
|
416
|
+
}, ptm('inputToken'));
|
|
417
|
+
var inputProps = utils.mergeProps(_objectSpread({
|
|
408
418
|
id: props.inputId,
|
|
419
|
+
ref: inputRef,
|
|
409
420
|
placeholder: props.placeholder,
|
|
410
|
-
type:
|
|
421
|
+
type: 'text',
|
|
411
422
|
name: props.name,
|
|
412
423
|
disabled: props.disabled || isMaxedOut(),
|
|
413
|
-
onKeyDown: onKeyDown
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
424
|
+
onKeyDown: function onKeyDown(e) {
|
|
425
|
+
return _onKeyDown(e);
|
|
426
|
+
},
|
|
427
|
+
onPaste: function onPaste(e) {
|
|
428
|
+
return _onPaste(e);
|
|
429
|
+
},
|
|
430
|
+
onFocus: function onFocus(e) {
|
|
431
|
+
return _onFocus(e);
|
|
432
|
+
},
|
|
433
|
+
onBlur: function onBlur(e) {
|
|
434
|
+
return _onBlur(e);
|
|
435
|
+
},
|
|
417
436
|
readOnly: props.readOnly
|
|
418
|
-
}, ariaProps)));
|
|
437
|
+
}, ariaProps), ptm('input'));
|
|
438
|
+
return /*#__PURE__*/React__namespace.createElement("li", inputTokenProps, /*#__PURE__*/React__namespace.createElement("input", inputProps));
|
|
419
439
|
};
|
|
420
440
|
var createItems = function createItems() {
|
|
421
441
|
return props.value ? props.value.map(createItem) : null;
|
|
@@ -427,11 +447,14 @@ this.primereact.chips = (function (exports, React, timescircle, keyfilter, toolt
|
|
|
427
447
|
});
|
|
428
448
|
var items = createItems();
|
|
429
449
|
var input = createInput();
|
|
430
|
-
|
|
450
|
+
var containerProps = utils.mergeProps({
|
|
431
451
|
ref: listRef,
|
|
432
452
|
className: className,
|
|
433
|
-
onClick:
|
|
434
|
-
|
|
453
|
+
onClick: function onClick(e) {
|
|
454
|
+
return onWrapperClick();
|
|
455
|
+
}
|
|
456
|
+
}, ptm('container'));
|
|
457
|
+
return /*#__PURE__*/React__namespace.createElement("ul", containerProps, items, input);
|
|
435
458
|
};
|
|
436
459
|
var hasTooltip = utils.ObjectUtils.isNotEmpty(props.tooltip);
|
|
437
460
|
var otherProps = ChipsBase.getOtherProps(props);
|
|
@@ -441,15 +464,18 @@ this.primereact.chips = (function (exports, React, timescircle, keyfilter, toolt
|
|
|
441
464
|
'p-inputwrapper-focus': focusedState
|
|
442
465
|
}, props.className);
|
|
443
466
|
var list = createList();
|
|
444
|
-
|
|
445
|
-
ref: elementRef,
|
|
467
|
+
var rootProps = utils.mergeProps({
|
|
446
468
|
id: props.id,
|
|
469
|
+
ref: elementRef,
|
|
447
470
|
className: className,
|
|
448
471
|
style: props.style
|
|
449
|
-
},
|
|
472
|
+
}, ptm('root'));
|
|
473
|
+
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", rootProps, list), hasTooltip && /*#__PURE__*/React__namespace.createElement(tooltip.Tooltip, _extends({
|
|
450
474
|
target: inputRef,
|
|
451
475
|
content: props.tooltip
|
|
452
|
-
}, props.tooltipOptions
|
|
476
|
+
}, props.tooltipOptions, {
|
|
477
|
+
pt: ptm('tooltip')
|
|
478
|
+
})));
|
|
453
479
|
}));
|
|
454
480
|
Chips.displayName = 'Chips';
|
|
455
481
|
|
|
@@ -459,4 +485,4 @@ this.primereact.chips = (function (exports, React, timescircle, keyfilter, toolt
|
|
|
459
485
|
|
|
460
486
|
return exports;
|
|
461
487
|
|
|
462
|
-
})({}, React, primereact.icons.timescircle, primereact.keyfilter, primereact.tooltip, primereact.utils);
|
|
488
|
+
})({}, React, primereact.hooks, primereact.icons.timescircle, primereact.keyfilter, primereact.tooltip, primereact.utils, primereact.componentbase, primereact.api);
|
package/chips/chips.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primereact=this.primereact||{},this.primereact.chips=function(e,t,n,r,l,
|
|
1
|
+
this.primereact=this.primereact||{},this.primereact.chips=function(e,t,n,r,o,l,a,i,u){"use strict";function c(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var p=c(t);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function m(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function d(e){var t=m(e,"string");return"symbol"===f(t)?t:String(t)}function v(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e){if(Array.isArray(e))return y(e)}function g(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function h(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function O(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function P(e){return b(e)||g(e)||h(e)||O()}function j(e){if(Array.isArray(e))return e}function w(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,l,a,i=[],u=!0,c=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=l.call(n)).done)&&(i.push(r.value),i.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return i}}function D(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var E=i.ComponentBase.extend({defaultProps:{__TYPE:"Chips",addOnBlur:null,allowDuplicate:!0,ariaLabelledBy:null,autoFocus:!1,className:null,disabled:null,id:null,inputId:null,inputRef:null,itemTemplate:null,keyfilter:null,max:null,name:null,onAdd:null,onBlur:null,onChange:null,onFocus:null,onKeyDown:null,onRemove:null,placeholder:null,readOnly:!1,removable:!0,removeIcon:null,separator:null,style:null,tooltip:null,tooltipOptions:null,value:null,children:void 0}});function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x=p.memo(p.forwardRef((function(e,t){var i,c,f=p.useContext(u.PrimeReactContext),m=E.getProps(e,f),d=p.useState(!1),v=(c=2,j(i=d)||w(i,c)||h(i,c)||D()),y=v[0],b=v[1],g=E.setMetaData({props:m,state:{focused:y}}).ptm,O=p.useRef(null),k=p.useRef(null),x=p.useRef(m.inputRef),I=function(e,t){if(!m.disabled||!m.readOnly){var n=P(m.value),r=n.splice(t,1);U(r,t)&&(m.onRemove&&m.onRemove({originalEvent:e,value:r}),m.onChange&&m.onChange({originalEvent:e,value:n,stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},target:{name:m.name,id:m.id,value:n}}))}},R=function(e,t,n){if(t&&t.trim().length){var r=m.value?P(m.value):[];if(m.allowDuplicate||-1===r.indexOf(t)){var o=!0;m.onAdd&&(o=m.onAdd({originalEvent:e,value:t})),!1!==o&&r.push(t)}C(e,r,n)}},A=function(e){var t=e.target.value,n=m.value||[];if(m.onKeyDown&&m.onKeyDown(e),!e.defaultPrevented)switch(e.key){case"Backspace":0===x.current.value.length&&n.length>0&&I(e,n.length-1);break;case"Enter":t&&t.trim().length&&(!m.max||m.max>n.length)&&R(e,t,!0);break;default:m.keyfilter&&o.KeyFilter.onKeyPress(e,m.keyfilter),F()?e.preventDefault():","===m.separator&&(e.key===m.separator||a.DomHandler.isAndroid()&&229===e.which)&&R(e,t,!0)}},C=function(e,t,n){m.onChange&&m.onChange({originalEvent:e,value:t,stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},target:{name:m.name,id:m.id,value:t}}),x.current.value="",n&&e.preventDefault()},N=function(e){if(m.separator){var t=(e.clipboardData||window.clipboardData).getData("Text");if(m.keyfilter&&o.KeyFilter.onPaste(e,m.keyfilter),t){var n=m.value||[],r=t.split(m.separator);r=r.filter((function(e){return(m.allowDuplicate||-1===n.indexOf(e))&&e.trim().length})),n=[].concat(P(n),P(r)),C(e,n,!0)}}},T=function(e){if(m.addOnBlur){var t=e.target.value,n=m.value||[];t&&t.trim().length&&(!m.max||m.max>n.length)&&R(e,t,!0)}b(!1),m.onBlur&&m.onBlur(e)},F=function(){return m.max&&m.value&&m.max===m.value.length},B=x.current&&x.current.value,K=p.useMemo((function(){return a.ObjectUtils.isNotEmpty(m.value)||a.ObjectUtils.isNotEmpty(B)}),[m.value,B]),U=function(e,t){return a.ObjectUtils.getPropValue(m.removable,{value:e,index:t,props:m})};p.useImperativeHandle(t,(function(){return{props:m,focus:function(){return a.DomHandler.focus(x.current)},getElement:function(){return O.current},getInput:function(){return x.current}}})),p.useEffect((function(){a.ObjectUtils.combinedRefs(x,m.inputRef)}),[x,m.inputRef]),n.useMountEffect((function(){m.autoFocus&&a.DomHandler.focus(x.current,m.autoFocus)}));var _=function(e,t){var n=a.mergeProps({className:"p-chips-token-icon",onClick:function(e){return I(e,t)}},g("removeTokenIcon")),o=a.IconUtils.getJSXIcon(m.removeIcon||p.createElement(r.TimesCircleIcon,n),S({},n),{props:m});return m.disabled||m.readOnly||!U(e,t)?null:o},H=function(e,t){var n=m.itemTemplate?m.itemTemplate(e):e,r=a.mergeProps({className:"p-chips-token-label"},g("label")),o=p.createElement("span",r,n),l=_(e,t),i=a.mergeProps({key:t,className:"p-chips-token p-highlight"},g("token"));return p.createElement("li",i,o,l)},M=a.ObjectUtils.isNotEmpty(m.tooltip),z=E.getOtherProps(m),J=a.ObjectUtils.reduceKeys(z,a.DomHandler.ARIA_PROPS),L=a.classNames("p-chips p-component p-inputwrapper",{"p-inputwrapper-filled":K,"p-inputwrapper-focus":y},m.className),V=function(){var e,t,n=a.classNames("p-inputtext p-chips-multiple-container",{"p-disabled":m.disabled,"p-focus":y}),r=m.value?m.value.map(H):null,o=(e=a.mergeProps({className:"p-chips-input-token"},g("inputToken")),t=a.mergeProps(S({id:m.inputId,ref:x,placeholder:m.placeholder,type:"text",name:m.name,disabled:m.disabled||F(),onKeyDown:function(e){return A(e)},onPaste:function(e){return N(e)},onFocus:function(e){return t=e,b(!0),void(m.onFocus&&m.onFocus(t));var t},onBlur:function(e){return T(e)},readOnly:m.readOnly},J),g("input")),p.createElement("li",e,p.createElement("input",t))),l=a.mergeProps({ref:k,className:n,onClick:function(e){a.DomHandler.focus(x.current)}},g("container"));return p.createElement("ul",l,r,o)}(),X=a.mergeProps({id:m.id,ref:O,className:L,style:m.style},g("root"));return p.createElement(p.Fragment,null,p.createElement("div",X,V),M&&p.createElement(l.Tooltip,s({target:x,content:m.tooltip},m.tooltipOptions,{pt:g("tooltip")})))})));return x.displayName="Chips",e.Chips=x,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.hooks,primereact.icons.timescircle,primereact.keyfilter,primereact.tooltip,primereact.utils,primereact.componentbase,primereact.api);
|