primereact 10.9.7 → 10.9.8
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/README.md +1 -1
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.min.js +1 -1
- package/api/api.cjs.js +37 -37
- package/api/api.cjs.min.js +1 -1
- package/api/api.esm.js +37 -37
- package/api/api.esm.min.js +1 -1
- package/api/api.js +37 -37
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.min.js +1 -1
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.min.js +1 -1
- package/button/button.min.js +1 -1
- package/buttongroup/buttongroup.cjs.min.js +1 -1
- package/buttongroup/buttongroup.esm.min.js +1 -1
- package/buttongroup/buttongroup.min.js +1 -1
- package/calendar/calendar.cjs.js +50 -31
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +50 -31
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +50 -31
- package/calendar/calendar.min.js +1 -1
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.min.js +1 -1
- package/card/card.min.js +1 -1
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +25 -3
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +25 -3
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +25 -3
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.min.js +1 -1
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.min.js +1 -1
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.min.js +1 -1
- package/confirmdialog/confirmdialog.cjs.js +1 -1
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +1 -1
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +1 -1
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +24 -24
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +24 -24
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +24 -24
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +141 -73
- package/core/core.min.js +67 -67
- package/csstransition/csstransition.cjs.min.js +1 -1
- package/csstransition/csstransition.esm.min.js +1 -1
- package/csstransition/csstransition.min.js +1 -1
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +119 -96
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +119 -96
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +119 -96
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +5 -8
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +5 -8
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +5 -8
- package/dataview/dataview.min.js +1 -1
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.min.js +1 -1
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +11 -7
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +11 -7
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +11 -7
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.d.ts +1 -1
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/fileupload.cjs.js +3 -3
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +3 -3
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +3 -3
- package/fileupload/fileupload.min.js +1 -1
- package/floatlabel/floatlabel.cjs.min.js +1 -1
- package/floatlabel/floatlabel.esm.min.js +1 -1
- package/floatlabel/floatlabel.min.js +1 -1
- package/focustrap/focustrap.cjs.min.js +1 -1
- package/focustrap/focustrap.esm.min.js +1 -1
- package/focustrap/focustrap.min.js +1 -1
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.min.js +1 -1
- package/hooks/hooks.cjs.js +7 -7
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.esm.js +7 -7
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +7 -7
- package/hooks/hooks.min.js +1 -1
- package/iconfield/iconfield.cjs.min.js +1 -1
- package/iconfield/iconfield.esm.min.js +1 -1
- package/iconfield/iconfield.min.js +1 -1
- package/icons/angledoubledown/index.cjs.min.js +1 -1
- package/icons/angledoubledown/index.esm.min.js +1 -1
- package/icons/angledoubledown/index.min.js +1 -1
- package/icons/angledoubleleft/index.cjs.min.js +1 -1
- package/icons/angledoubleleft/index.esm.min.js +1 -1
- package/icons/angledoubleleft/index.min.js +1 -1
- package/icons/angledoubleright/index.cjs.min.js +1 -1
- package/icons/angledoubleright/index.esm.min.js +1 -1
- package/icons/angledoubleright/index.min.js +1 -1
- package/icons/angledoubleup/index.cjs.min.js +1 -1
- package/icons/angledoubleup/index.esm.min.js +1 -1
- package/icons/angledoubleup/index.min.js +1 -1
- package/icons/angledown/index.cjs.min.js +1 -1
- package/icons/angledown/index.esm.min.js +1 -1
- package/icons/angledown/index.min.js +1 -1
- package/icons/angleleft/index.cjs.min.js +1 -1
- package/icons/angleleft/index.esm.min.js +1 -1
- package/icons/angleleft/index.min.js +1 -1
- package/icons/angleright/index.cjs.min.js +1 -1
- package/icons/angleright/index.esm.min.js +1 -1
- package/icons/angleright/index.min.js +1 -1
- package/icons/angleup/index.cjs.min.js +1 -1
- package/icons/angleup/index.esm.min.js +1 -1
- package/icons/angleup/index.min.js +1 -1
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.min.js +1 -1
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.min.js +1 -1
- package/icons/bars/index.cjs.min.js +1 -1
- package/icons/bars/index.esm.min.js +1 -1
- package/icons/bars/index.min.js +1 -1
- package/icons/blank/index.cjs.min.js +1 -1
- package/icons/blank/index.esm.min.js +1 -1
- package/icons/blank/index.min.js +1 -1
- package/icons/calendar/index.cjs.min.js +1 -1
- package/icons/calendar/index.esm.min.js +1 -1
- package/icons/calendar/index.min.js +1 -1
- package/icons/check/index.cjs.min.js +1 -1
- package/icons/check/index.esm.min.js +1 -1
- package/icons/check/index.min.js +1 -1
- package/icons/chevrondown/index.cjs.min.js +1 -1
- package/icons/chevrondown/index.esm.min.js +1 -1
- package/icons/chevrondown/index.min.js +1 -1
- package/icons/chevronleft/index.cjs.min.js +1 -1
- package/icons/chevronleft/index.esm.min.js +1 -1
- package/icons/chevronleft/index.min.js +1 -1
- package/icons/chevronright/index.cjs.min.js +1 -1
- package/icons/chevronright/index.esm.min.js +1 -1
- package/icons/chevronright/index.min.js +1 -1
- package/icons/chevronup/index.cjs.min.js +1 -1
- package/icons/chevronup/index.esm.min.js +1 -1
- package/icons/chevronup/index.min.js +1 -1
- package/icons/download/index.cjs.min.js +1 -1
- package/icons/download/index.esm.min.js +1 -1
- package/icons/download/index.min.js +1 -1
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/eye/index.cjs.min.js +1 -1
- package/icons/eye/index.esm.min.js +1 -1
- package/icons/eye/index.min.js +1 -1
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.min.js +1 -1
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.min.js +1 -1
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.min.js +1 -1
- package/icons/minus/index.cjs.min.js +1 -1
- package/icons/minus/index.esm.min.js +1 -1
- package/icons/minus/index.min.js +1 -1
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.min.js +1 -1
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.min.js +1 -1
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.min.js +1 -1
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.min.js +1 -1
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.min.js +1 -1
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.min.js +1 -1
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.min.js +1 -1
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.min.js +1 -1
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.min.js +1 -1
- package/icons/times/index.cjs.min.js +1 -1
- package/icons/times/index.esm.min.js +1 -1
- package/icons/times/index.min.js +1 -1
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.min.js +1 -1
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.min.js +1 -1
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.min.js +1 -1
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.min.js +1 -1
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.min.js +1 -1
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.min.js +1 -1
- package/image/image.min.js +1 -1
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.min.js +1 -1
- package/inputicon/inputicon.cjs.min.js +1 -1
- package/inputicon/inputicon.esm.min.js +1 -1
- package/inputicon/inputicon.min.js +1 -1
- package/inputmask/inputmask.cjs.js +1 -0
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +1 -0
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +1 -0
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +58 -5
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +58 -5
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +58 -5
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputotp/inputotp.cjs.js +5 -1
- package/inputotp/inputotp.cjs.min.js +1 -1
- package/inputotp/inputotp.esm.js +5 -1
- package/inputotp/inputotp.esm.min.js +1 -1
- package/inputotp/inputotp.js +5 -1
- package/inputotp/inputotp.min.js +1 -1
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +1 -0
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +1 -0
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +1 -0
- package/inputtext/inputtext.min.js +1 -1
- package/inputtextarea/inputtextarea.cjs.js +1 -0
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.esm.js +1 -0
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +1 -0
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/keyfilter/keyfilter.cjs.min.js +1 -1
- package/keyfilter/keyfilter.esm.min.js +1 -1
- package/keyfilter/keyfilter.min.js +1 -1
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +3 -3
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +3 -3
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +3 -3
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +21 -21
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +21 -21
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +21 -21
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +4 -3
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +4 -3
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +4 -3
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +3 -3
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +3 -3
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +3 -3
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +18 -18
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.d.ts +22 -0
- package/menubar/menubar.esm.js +18 -18
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +18 -18
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.min.js +1 -1
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.min.js +1 -1
- package/metergroup/metergroup.cjs.min.js +1 -1
- package/metergroup/metergroup.esm.min.js +1 -1
- package/metergroup/metergroup.min.js +1 -1
- package/multiselect/multiselect.cjs.js +13 -5
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +13 -5
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +13 -5
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +5 -1
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +6 -2
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +5 -1
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +16 -8
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +16 -8
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +16 -8
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +109 -76
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +109 -76
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +109 -76
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +16 -1
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +16 -1
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +16 -1
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/overlayservice/overlayservice.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +15 -7
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +15 -7
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +15 -7
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/index.cjs.min.js +1 -1
- package/passthrough/index.esm.min.js +1 -1
- package/passthrough/index.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +393 -393
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +393 -393
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +393 -393
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.cjs.js +5 -4
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +5 -4
- package/password/password.esm.min.js +1 -1
- package/password/password.js +5 -4
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +17 -21
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +17 -21
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +17 -21
- package/picklist/picklist.min.js +1 -1
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +659 -450
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +659 -450
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +659 -450
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.min.js +1 -1
- package/resources/themes/arya-green/theme.css +3 -0
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.min.js +1 -1
- package/row/row.cjs.min.js +1 -1
- package/row/row.min.js +1 -1
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +1 -1
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +1 -1
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +1 -1
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +23 -23
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +23 -23
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +23 -23
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +1 -1
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +1 -1
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +1 -1
- package/splitter/splitter.min.js +1 -1
- package/stepper/stepper.cjs.min.js +1 -1
- package/stepper/stepper.esm.min.js +1 -1
- package/stepper/stepper.min.js +1 -1
- package/stepperpanel/stepperpanel.cjs.min.js +1 -1
- package/stepperpanel/stepperpanel.esm.min.js +1 -1
- package/stepperpanel/stepperpanel.min.js +1 -1
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.min.js +1 -1
- package/styleclass/styleclass.cjs.min.js +1 -1
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.min.js +1 -1
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +7 -3
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +7 -3
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +7 -3
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.min.js +1 -1
- package/terminalservice/terminalservice.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +23 -23
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +23 -23
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +23 -23
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/tooltip.cjs.js +6 -2
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +6 -2
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +6 -2
- package/tooltip/tooltip.min.js +1 -1
- package/tree/tree.cjs.js +11 -5
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +11 -5
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +11 -5
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +13 -16
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +13 -16
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +13 -16
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +10 -10
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +10 -10
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +10 -10
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +7 -7
|
@@ -374,10 +374,10 @@ var classes$2 = {
|
|
|
374
374
|
});
|
|
375
375
|
},
|
|
376
376
|
filterSeparator: 'p-column-filter-separator',
|
|
377
|
-
filterRowItem: function filterRowItem(
|
|
378
|
-
var isRowMatchModeSelected =
|
|
379
|
-
isShowMatchModes =
|
|
380
|
-
value =
|
|
377
|
+
filterRowItem: function filterRowItem(_ref0) {
|
|
378
|
+
var isRowMatchModeSelected = _ref0.isRowMatchModeSelected,
|
|
379
|
+
isShowMatchModes = _ref0.isShowMatchModes,
|
|
380
|
+
value = _ref0.value;
|
|
381
381
|
return isShowMatchModes() ? classNames('p-column-filter-row-item', {
|
|
382
382
|
'p-highlight': value && isRowMatchModeSelected(value)
|
|
383
383
|
}) : undefined;
|
|
@@ -388,18 +388,18 @@ var classes$2 = {
|
|
|
388
388
|
filterConstraint: 'p-column-filter-constraint',
|
|
389
389
|
filterAddRule: 'p-column-filter-add-rule',
|
|
390
390
|
filterButtonBar: 'p-column-filter-buttonbar',
|
|
391
|
-
filterOverlay: function filterOverlay(
|
|
392
|
-
var props =
|
|
393
|
-
context =
|
|
394
|
-
getColumnProp =
|
|
391
|
+
filterOverlay: function filterOverlay(_ref1) {
|
|
392
|
+
var props = _ref1.columnFilterProps,
|
|
393
|
+
context = _ref1.context,
|
|
394
|
+
getColumnProp = _ref1.getColumnProp;
|
|
395
395
|
return classNames('p-column-filter-overlay p-component p-fluid', getColumnProp('filterMenuClassName'), {
|
|
396
396
|
'p-column-filter-overlay-menu': props.display === 'menu',
|
|
397
397
|
'p-input-filled': context && context.inputStyle === 'filled' || PrimeReact$1.inputStyle === 'filled',
|
|
398
398
|
'p-ripple-disabled': context && context.ripple === false || PrimeReact$1.ripple === false
|
|
399
399
|
});
|
|
400
400
|
},
|
|
401
|
-
columnFilter: function columnFilter(
|
|
402
|
-
var props =
|
|
401
|
+
columnFilter: function columnFilter(_ref10) {
|
|
402
|
+
var props = _ref10.columnFilterProps;
|
|
403
403
|
return classNames('p-column-filter p-fluid', {
|
|
404
404
|
'p-column-filter-row': props.display === 'row',
|
|
405
405
|
'p-column-filter-menu': props.display === 'menu'
|
|
@@ -411,13 +411,13 @@ var classes$2 = {
|
|
|
411
411
|
sortIcon: 'p-sortable-column-icon',
|
|
412
412
|
headerTitle: 'p-column-title',
|
|
413
413
|
headerContent: 'p-column-header-content',
|
|
414
|
-
headerCell: function headerCell(
|
|
415
|
-
var props =
|
|
416
|
-
frozen =
|
|
417
|
-
sortMeta =
|
|
418
|
-
align =
|
|
419
|
-
_isSortableDisabled =
|
|
420
|
-
getColumnProp =
|
|
414
|
+
headerCell: function headerCell(_ref11) {
|
|
415
|
+
var props = _ref11.headerProps,
|
|
416
|
+
frozen = _ref11.frozen,
|
|
417
|
+
sortMeta = _ref11.sortMeta,
|
|
418
|
+
align = _ref11.align,
|
|
419
|
+
_isSortableDisabled = _ref11._isSortableDisabled,
|
|
420
|
+
getColumnProp = _ref11.getColumnProp;
|
|
421
421
|
return ObjectUtils.isEmpty(props) ? classNames('p-filter-column', {
|
|
422
422
|
'p-frozen-column': frozen
|
|
423
423
|
}) : classNames(_defineProperty({
|
|
@@ -431,9 +431,9 @@ var classes$2 = {
|
|
|
431
431
|
'p-reorderable-column': props.reorderableColumns && getColumnProp('reorderable') && !frozen
|
|
432
432
|
}, "p-align-".concat(align), !!align));
|
|
433
433
|
},
|
|
434
|
-
footerCell: function footerCell(
|
|
435
|
-
var getColumnProp =
|
|
436
|
-
align =
|
|
434
|
+
footerCell: function footerCell(_ref12) {
|
|
435
|
+
var getColumnProp = _ref12.getColumnProp,
|
|
436
|
+
align = _ref12.align;
|
|
437
437
|
return classNames(_defineProperty({
|
|
438
438
|
'p-frozen-column': getColumnProp('frozen')
|
|
439
439
|
}, "p-align-".concat(align), !!align));
|
|
@@ -447,12 +447,12 @@ var inlineStyles = {
|
|
|
447
447
|
resizeHelper: {
|
|
448
448
|
display: 'none'
|
|
449
449
|
},
|
|
450
|
-
reorderIndicatorUp: function reorderIndicatorUp(
|
|
451
|
-
var style =
|
|
450
|
+
reorderIndicatorUp: function reorderIndicatorUp(_ref13) {
|
|
451
|
+
var style = _ref13.style;
|
|
452
452
|
return _objectSpread$f({}, style);
|
|
453
453
|
},
|
|
454
|
-
reorderIndicatorDown: function reorderIndicatorDown(
|
|
455
|
-
var style =
|
|
454
|
+
reorderIndicatorDown: function reorderIndicatorDown(_ref14) {
|
|
455
|
+
var style = _ref14.style;
|
|
456
456
|
return _objectSpread$f({}, style);
|
|
457
457
|
}
|
|
458
458
|
};
|
|
@@ -463,7 +463,7 @@ var DataTableBase = ComponentBase.extend({
|
|
|
463
463
|
breakpoint: '960px',
|
|
464
464
|
cellClassName: null,
|
|
465
465
|
cellMemo: true,
|
|
466
|
-
cellMemoProps: ['rowData', 'field', 'allowCellSelection', 'isCellSelected', 'editMode', '
|
|
466
|
+
cellMemoProps: ['rowData', 'field', 'allowCellSelection', 'isCellSelected', 'editMode', 'rowIndex', 'tabIndex', 'editing', 'expanded', 'editingMeta', 'frozenCol', 'alignFrozenCol'],
|
|
467
467
|
cellMemoPropsDepth: 1,
|
|
468
468
|
cellSelection: false,
|
|
469
469
|
checkIcon: null,
|
|
@@ -897,7 +897,6 @@ var RowCheckbox = /*#__PURE__*/React.memo(function (props) {
|
|
|
897
897
|
var tabIndex = props.disabled ? null : '0';
|
|
898
898
|
var checkboxProps = {
|
|
899
899
|
role: 'checkbox',
|
|
900
|
-
'aria-checked': props.checked,
|
|
901
900
|
tabIndex: tabIndex,
|
|
902
901
|
onChange: onChange,
|
|
903
902
|
'aria-label': props.ariaLabel,
|
|
@@ -3359,23 +3358,20 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3359
3358
|
}
|
|
3360
3359
|
});
|
|
3361
3360
|
var createEmptyContent = function createEmptyContent() {
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
return /*#__PURE__*/React.createElement("tr", emptyMessageProps, /*#__PURE__*/React.createElement("td", bodyCellProps, _content));
|
|
3377
|
-
}
|
|
3378
|
-
return null;
|
|
3361
|
+
var colSpan = getColumnsLength();
|
|
3362
|
+
var content = ObjectUtils.getJSXElement(props.emptyMessage, {
|
|
3363
|
+
props: props.tableProps,
|
|
3364
|
+
frozen: props.frozenRow
|
|
3365
|
+
}) || localeOption('emptyMessage');
|
|
3366
|
+
var emptyMessageProps = mergeProps({
|
|
3367
|
+
className: cx('emptyMessage'),
|
|
3368
|
+
role: 'row'
|
|
3369
|
+
}, ptm('emptyMessage'));
|
|
3370
|
+
var bodyCellProps = mergeProps({
|
|
3371
|
+
colSpan: colSpan,
|
|
3372
|
+
role: 'cell'
|
|
3373
|
+
}, getColumnPTOptions('root'), getColumnPTOptions('bodyCell'));
|
|
3374
|
+
return /*#__PURE__*/React.createElement("tr", emptyMessageProps, /*#__PURE__*/React.createElement("td", bodyCellProps, content));
|
|
3379
3375
|
};
|
|
3380
3376
|
var createGroupHeader = function createGroupHeader(rowData, rowIndex, expanded, colSpan) {
|
|
3381
3377
|
if (isSubheaderGrouping && shouldRenderRowGroupHeader(props.value, rowData, rowIndex - props.first)) {
|
|
@@ -3396,7 +3392,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3396
3392
|
props: props.tableProps,
|
|
3397
3393
|
customRendering: false
|
|
3398
3394
|
};
|
|
3399
|
-
var
|
|
3395
|
+
var _content = ObjectUtils.getJSXElement(props.rowGroupHeaderTemplate, rowData, options);
|
|
3400
3396
|
|
|
3401
3397
|
// check if the user wants complete control of the rendering
|
|
3402
3398
|
if (!options.customRendering) {
|
|
@@ -3406,14 +3402,14 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3406
3402
|
var rowGroupHeaderNameProps = mergeProps({
|
|
3407
3403
|
className: cx('rowGroupHeaderName')
|
|
3408
3404
|
}, ptm('rowGroupHeaderName'));
|
|
3409
|
-
|
|
3405
|
+
_content = /*#__PURE__*/React.createElement("td", bodyCellProps, toggler, /*#__PURE__*/React.createElement("span", rowGroupHeaderNameProps, _content));
|
|
3410
3406
|
}
|
|
3411
3407
|
var rowGroupHeaderProps = mergeProps({
|
|
3412
3408
|
className: cx('rowGroupHeader'),
|
|
3413
3409
|
style: style,
|
|
3414
3410
|
role: 'row'
|
|
3415
3411
|
}, ptm('rowGroupHeader'));
|
|
3416
|
-
return /*#__PURE__*/React.createElement("tr", rowGroupHeaderProps,
|
|
3412
|
+
return /*#__PURE__*/React.createElement("tr", rowGroupHeaderProps, _content);
|
|
3417
3413
|
}
|
|
3418
3414
|
return null;
|
|
3419
3415
|
};
|
|
@@ -3510,7 +3506,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3510
3506
|
index: rowIndex,
|
|
3511
3507
|
customRendering: false
|
|
3512
3508
|
};
|
|
3513
|
-
var
|
|
3509
|
+
var _content2 = ObjectUtils.getJSXElement(props.rowExpansionTemplate, rowData, options);
|
|
3514
3510
|
|
|
3515
3511
|
// check if the user wants complete control of the rendering
|
|
3516
3512
|
if (!options.customRendering) {
|
|
@@ -3518,20 +3514,20 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3518
3514
|
colSpan: colSpan,
|
|
3519
3515
|
role: 'cell'
|
|
3520
3516
|
}, getColumnPTOptions('root'), getColumnPTOptions('bodyCell'));
|
|
3521
|
-
|
|
3517
|
+
_content2 = /*#__PURE__*/React.createElement("td", bodyCellProps, _content2);
|
|
3522
3518
|
}
|
|
3523
3519
|
var rowExpansionProps = mergeProps({
|
|
3524
3520
|
id: id,
|
|
3525
3521
|
className: cx('rowExpansion'),
|
|
3526
3522
|
role: 'row'
|
|
3527
3523
|
}, ptm('rowExpansion'));
|
|
3528
|
-
return /*#__PURE__*/React.createElement("tr", rowExpansionProps,
|
|
3524
|
+
return /*#__PURE__*/React.createElement("tr", rowExpansionProps, _content2);
|
|
3529
3525
|
}
|
|
3530
3526
|
return null;
|
|
3531
3527
|
};
|
|
3532
3528
|
var createGroupFooter = function createGroupFooter(rowData, rowIndex, expanded, colSpan) {
|
|
3533
3529
|
if (isSubheaderGrouping && shouldRenderRowGroupFooter(props.value, rowData, rowIndex - props.first, expanded)) {
|
|
3534
|
-
var
|
|
3530
|
+
var _content3 = ObjectUtils.getJSXElement(props.rowGroupFooterTemplate, rowData, {
|
|
3535
3531
|
index: rowIndex,
|
|
3536
3532
|
colSpan: colSpan,
|
|
3537
3533
|
props: props.tableProps
|
|
@@ -3540,7 +3536,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3540
3536
|
className: cx('rowGroupFooter'),
|
|
3541
3537
|
role: 'row'
|
|
3542
3538
|
}, ptm('rowGroupFooter'));
|
|
3543
|
-
return /*#__PURE__*/React.createElement("tr", rowGroupFooterProps,
|
|
3539
|
+
return /*#__PURE__*/React.createElement("tr", rowGroupFooterProps, _content3);
|
|
3544
3540
|
}
|
|
3545
3541
|
return null;
|
|
3546
3542
|
};
|
|
@@ -5068,7 +5064,6 @@ var HeaderCheckbox = /*#__PURE__*/React.memo(function (props) {
|
|
|
5068
5064
|
var tabIndex = props.disabled ? null : 0;
|
|
5069
5065
|
var headerCheckboxProps = {
|
|
5070
5066
|
role: 'checkbox',
|
|
5071
|
-
'aria-checked': props.checked,
|
|
5072
5067
|
'aria-label': props.checked ? ariaLabel('selectAll') : ariaLabel('unselectAll'),
|
|
5073
5068
|
tabIndex: tabIndex,
|
|
5074
5069
|
onChange: onChange,
|
|
@@ -5191,23 +5186,48 @@ var HeaderCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
5191
5186
|
}
|
|
5192
5187
|
styleObject.right = right + 'px';
|
|
5193
5188
|
} else {
|
|
5189
|
+
var _elementRef$current, _elementRef$current2;
|
|
5194
5190
|
var left = 0;
|
|
5195
|
-
var prev =
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5191
|
+
var prev = (_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.previousElementSibling;
|
|
5192
|
+
var thead = (_elementRef$current2 = elementRef.current) === null || _elementRef$current2 === void 0 ? void 0 : _elementRef$current2.closest('thead');
|
|
5193
|
+
var scrollContainer = thead === null || thead === void 0 ? void 0 : thead.parentElement.parentElement;
|
|
5194
|
+
var scrollLeft = (scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.scrollLeft) || 0;
|
|
5195
|
+
var isMultiRow = thead && thead.querySelectorAll('tr').length > 1;
|
|
5196
|
+
if (elementRef.current) {
|
|
5197
|
+
if (!isMultiRow) {
|
|
5198
|
+
while (prev) {
|
|
5199
|
+
if (prev.classList.contains('p-frozen-column')) {
|
|
5200
|
+
left = DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
|
|
5201
|
+
break;
|
|
5202
|
+
}
|
|
5203
|
+
prev = prev.previousElementSibling;
|
|
5204
|
+
}
|
|
5205
|
+
} else {
|
|
5206
|
+
var targetLeft = elementRef.current.offsetLeft - scrollLeft;
|
|
5207
|
+
var frozenCells = Array.from(thead.querySelectorAll('th.p-frozen-column'));
|
|
5208
|
+
var candidate = null;
|
|
5209
|
+
for (var _i = 0, _frozenCells = frozenCells; _i < _frozenCells.length; _i++) {
|
|
5210
|
+
var cell = _frozenCells[_i];
|
|
5211
|
+
var cellLeft = cell.offsetLeft - scrollLeft;
|
|
5212
|
+
var cellRight = cellLeft + DomHandler.getOuterWidth(cell);
|
|
5213
|
+
if (cellRight <= targetLeft && (!candidate || cellRight > candidate.offsetLeft + DomHandler.getOuterWidth(candidate))) {
|
|
5214
|
+
candidate = cell;
|
|
5215
|
+
}
|
|
5216
|
+
}
|
|
5217
|
+
if (candidate) {
|
|
5218
|
+
left = candidate.offsetLeft + DomHandler.getOuterWidth(candidate) - scrollLeft;
|
|
5219
|
+
}
|
|
5201
5220
|
}
|
|
5202
|
-
prev = prev.previousElementSibling;
|
|
5203
5221
|
}
|
|
5204
5222
|
styleObject.left = left + 'px';
|
|
5205
5223
|
}
|
|
5206
5224
|
var filterRow = elementRef.current.parentElement.nextElementSibling;
|
|
5207
5225
|
if (filterRow) {
|
|
5208
5226
|
var _index = DomHandler.index(elementRef.current);
|
|
5209
|
-
filterRow.children[_index]
|
|
5210
|
-
|
|
5227
|
+
if (filterRow.children[_index]) {
|
|
5228
|
+
filterRow.children[_index].style.left = styleObject.left;
|
|
5229
|
+
filterRow.children[_index].style.right = styleObject.right;
|
|
5230
|
+
}
|
|
5211
5231
|
}
|
|
5212
5232
|
var isSameStyle = styleObjectState.left === styleObject.left && styleObjectState.right === styleObject.right;
|
|
5213
5233
|
!isSameStyle && setStyleObjectState(styleObject);
|
|
@@ -5765,37 +5785,37 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
5765
5785
|
sortOrderState = _React$useState8[0],
|
|
5766
5786
|
setSortOrderState = _React$useState8[1];
|
|
5767
5787
|
var _React$useState9 = React.useState(props.multiSortMeta),
|
|
5768
|
-
_React$
|
|
5769
|
-
multiSortMetaState = _React$
|
|
5770
|
-
setMultiSortMetaState = _React$
|
|
5771
|
-
var _React$
|
|
5788
|
+
_React$useState0 = _slicedToArray(_React$useState9, 2),
|
|
5789
|
+
multiSortMetaState = _React$useState0[0],
|
|
5790
|
+
setMultiSortMetaState = _React$useState0[1];
|
|
5791
|
+
var _React$useState1 = React.useState(props.filters),
|
|
5792
|
+
_React$useState10 = _slicedToArray(_React$useState1, 2),
|
|
5793
|
+
filtersState = _React$useState10[0],
|
|
5794
|
+
setFiltersState = _React$useState10[1];
|
|
5795
|
+
var _React$useState11 = React.useState([]),
|
|
5772
5796
|
_React$useState12 = _slicedToArray(_React$useState11, 2),
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
var _React$useState13 = React.useState(
|
|
5797
|
+
columnOrderState = _React$useState12[0],
|
|
5798
|
+
setColumnOrderState = _React$useState12[1];
|
|
5799
|
+
var _React$useState13 = React.useState(null),
|
|
5776
5800
|
_React$useState14 = _slicedToArray(_React$useState13, 2),
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
var _React$useState15 = React.useState(
|
|
5801
|
+
groupRowsSortMetaState = _React$useState14[0],
|
|
5802
|
+
setGroupRowsSortMetaState = _React$useState14[1];
|
|
5803
|
+
var _React$useState15 = React.useState({}),
|
|
5780
5804
|
_React$useState16 = _slicedToArray(_React$useState15, 2),
|
|
5781
|
-
|
|
5782
|
-
|
|
5805
|
+
editingMetaState = _React$useState16[0],
|
|
5806
|
+
setEditingMetaState = _React$useState16[1];
|
|
5783
5807
|
var _React$useState17 = React.useState({}),
|
|
5784
5808
|
_React$useState18 = _slicedToArray(_React$useState17, 2),
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
var _React$useState19 = React.useState(
|
|
5809
|
+
frozenEditingMetaState = _React$useState18[0],
|
|
5810
|
+
setFrozenEditingMetaState = _React$useState18[1];
|
|
5811
|
+
var _React$useState19 = React.useState(props.rows),
|
|
5788
5812
|
_React$useState20 = _slicedToArray(_React$useState19, 2),
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
var _React$useState21 = React.useState(
|
|
5813
|
+
d_rowsState = _React$useState20[0],
|
|
5814
|
+
setD_rowsState = _React$useState20[1];
|
|
5815
|
+
var _React$useState21 = React.useState({}),
|
|
5792
5816
|
_React$useState22 = _slicedToArray(_React$useState21, 2),
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
var _React$useState23 = React.useState({}),
|
|
5796
|
-
_React$useState24 = _slicedToArray(_React$useState23, 2),
|
|
5797
|
-
d_filtersState = _React$useState24[0],
|
|
5798
|
-
setD_filtersState = _React$useState24[1];
|
|
5817
|
+
d_filtersState = _React$useState22[0],
|
|
5818
|
+
setD_filtersState = _React$useState22[1];
|
|
5799
5819
|
var metaData = {
|
|
5800
5820
|
props: props,
|
|
5801
5821
|
state: {
|
|
@@ -5848,6 +5868,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
5848
5868
|
var columnSortFunction = React.useRef(null);
|
|
5849
5869
|
var columnField = React.useRef(null);
|
|
5850
5870
|
var filterTimeout = React.useRef(null);
|
|
5871
|
+
var restoredRef = React.useRef(false);
|
|
5851
5872
|
if (props.rows !== d_rowsState && !props.onPage) {
|
|
5852
5873
|
setRowsState(props.rows);
|
|
5853
5874
|
setD_rowsState(props.rows);
|
|
@@ -6068,13 +6089,14 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
6068
6089
|
}
|
|
6069
6090
|
}
|
|
6070
6091
|
if (restoredState.filters) {
|
|
6071
|
-
|
|
6092
|
+
var clonedFilters = cloneFilters(restoredState.filters);
|
|
6093
|
+
setD_filtersState(clonedFilters);
|
|
6072
6094
|
if (props.onFilter) {
|
|
6073
6095
|
props.onFilter(createEvent({
|
|
6074
|
-
filters:
|
|
6096
|
+
filters: clonedFilters
|
|
6075
6097
|
}));
|
|
6076
6098
|
} else {
|
|
6077
|
-
setFiltersState(
|
|
6099
|
+
setFiltersState(clonedFilters);
|
|
6078
6100
|
}
|
|
6079
6101
|
}
|
|
6080
6102
|
if (props.resizableColumns) {
|
|
@@ -7085,15 +7107,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
7085
7107
|
attributeSelector.current = UniqueComponentId();
|
|
7086
7108
|
elementRef.current.setAttribute(attributeSelector.current, '');
|
|
7087
7109
|
}
|
|
7088
|
-
|
|
7089
|
-
//setFiltersState(cloneFilters(props.filters)); // Github #4248
|
|
7090
7110
|
setD_filtersState(cloneFilters(props.filters));
|
|
7091
|
-
if (isStateful()) {
|
|
7092
|
-
restoreState();
|
|
7093
|
-
if (props.resizableColumns) {
|
|
7094
|
-
restoreColumnWidths();
|
|
7095
|
-
}
|
|
7096
|
-
}
|
|
7097
7111
|
});
|
|
7098
7112
|
useUpdateEffect(function () {
|
|
7099
7113
|
if (props.responsiveLayout === 'stack' && !props.scrollable) {
|
|
@@ -7103,6 +7117,15 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
7103
7117
|
destroyResponsiveStyle();
|
|
7104
7118
|
};
|
|
7105
7119
|
}, [props.breakpoint]);
|
|
7120
|
+
useUpdateEffect(function () {
|
|
7121
|
+
if (!restoredRef.current && isStateful()) {
|
|
7122
|
+
restoredRef.current = true;
|
|
7123
|
+
restoreState();
|
|
7124
|
+
if (props.resizableColumns) {
|
|
7125
|
+
restoreColumnWidths();
|
|
7126
|
+
}
|
|
7127
|
+
}
|
|
7128
|
+
}, [context]);
|
|
7106
7129
|
useUpdateEffect(function () {
|
|
7107
7130
|
var filters = cloneFilters(props.filters);
|
|
7108
7131
|
setFiltersState(filters);
|