primereact 10.9.6 → 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.js +3 -2
- 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 +3 -2
- 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.d.ts +4 -0
- 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.js +2 -1
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +2 -1
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +2 -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 +59 -39
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +59 -39
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +59 -39
- 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.js +9 -1
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +9 -1
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +9 -1
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +27 -4
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +27 -4
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +27 -4
- 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.js +2 -1
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +2 -1
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +2 -1
- package/colorpicker/colorpicker.min.js +1 -1
- package/componentbase/componentbase.cjs.js +1 -1
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.js +1 -1
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.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 +32 -30
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +32 -30
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +32 -30
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +169 -89
- 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 +176 -127
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +66 -7
- package/datatable/datatable.esm.js +176 -127
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +177 -128
- 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.js +3 -3
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +3 -3
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +3 -3
- 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 +15 -9
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +15 -9
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +15 -9
- 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 +61 -4
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +61 -4
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +61 -4
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputotp/inputotp.cjs.js +16 -8
- package/inputotp/inputotp.cjs.min.js +1 -1
- package/inputotp/inputotp.esm.js +16 -8
- package/inputotp/inputotp.esm.min.js +1 -1
- package/inputotp/inputotp.js +16 -8
- 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 +40 -33
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +40 -33
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +40 -33
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +7 -5
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +7 -5
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +7 -5
- 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 +26 -21
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.d.ts +22 -0
- package/menubar/menubar.esm.js +26 -21
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +26 -21
- 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 +16 -6
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +16 -6
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +16 -6
- 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.d.ts +10 -0
- 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 +831 -546
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +831 -546
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +831 -546
- 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.js +6 -4
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.esm.js +6 -4
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +6 -4
- 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 +34 -28
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +34 -28
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +34 -28
- 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 +32 -27
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +32 -27
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +32 -27
- 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.js +3 -3
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +3 -3
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +3 -3
- 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 +28 -16
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +28 -16
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +28 -16
- 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 +25 -7
package/core/core.js
CHANGED
|
@@ -3762,62 +3762,62 @@ this.primereact.api = (function (exports, utils, React) {
|
|
|
3762
3762
|
appendTo = _useState8[0],
|
|
3763
3763
|
setAppendTo = _useState8[1];
|
|
3764
3764
|
var _useState9 = React.useState((_propsValue$styleCont = propsValue.styleContainer) !== null && _propsValue$styleCont !== void 0 ? _propsValue$styleCont : null),
|
|
3765
|
-
|
|
3766
|
-
styleContainer =
|
|
3767
|
-
setStyleContainer =
|
|
3768
|
-
var
|
|
3765
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
3766
|
+
styleContainer = _useState0[0],
|
|
3767
|
+
setStyleContainer = _useState0[1];
|
|
3768
|
+
var _useState1 = React.useState((_propsValue$cssTransi = propsValue.cssTransition) !== null && _propsValue$cssTransi !== void 0 ? _propsValue$cssTransi : true),
|
|
3769
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
3770
|
+
cssTransition = _useState10[0],
|
|
3771
|
+
setCssTransition = _useState10[1];
|
|
3772
|
+
var _useState11 = React.useState((_propsValue$autoZInde = propsValue.autoZIndex) !== null && _propsValue$autoZInde !== void 0 ? _propsValue$autoZInde : true),
|
|
3769
3773
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
var _useState13 = React.useState((_propsValue$
|
|
3774
|
+
autoZIndex = _useState12[0],
|
|
3775
|
+
setAutoZIndex = _useState12[1];
|
|
3776
|
+
var _useState13 = React.useState((_propsValue$hideOverl = propsValue.hideOverlaysOnDocumentScrolling) !== null && _propsValue$hideOverl !== void 0 ? _propsValue$hideOverl : false),
|
|
3773
3777
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
var _useState15 = React.useState((_propsValue$
|
|
3778
|
+
hideOverlaysOnDocumentScrolling = _useState14[0],
|
|
3779
|
+
setHideOverlaysOnDocumentScrolling = _useState14[1];
|
|
3780
|
+
var _useState15 = React.useState((_propsValue$nonce = propsValue.nonce) !== null && _propsValue$nonce !== void 0 ? _propsValue$nonce : null),
|
|
3777
3781
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
var _useState17 = React.useState((_propsValue$
|
|
3782
|
+
nonce = _useState16[0],
|
|
3783
|
+
setNonce = _useState16[1];
|
|
3784
|
+
var _useState17 = React.useState((_propsValue$nullSortO = propsValue.nullSortOrder) !== null && _propsValue$nullSortO !== void 0 ? _propsValue$nullSortO : 1),
|
|
3781
3785
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
var _useState19 = React.useState((_propsValue$
|
|
3785
|
-
_useState20 = _slicedToArray(_useState19, 2),
|
|
3786
|
-
nullSortOrder = _useState20[0],
|
|
3787
|
-
setNullSortOrder = _useState20[1];
|
|
3788
|
-
var _useState21 = React.useState((_propsValue$zIndex = propsValue.zIndex) !== null && _propsValue$zIndex !== void 0 ? _propsValue$zIndex : {
|
|
3786
|
+
nullSortOrder = _useState18[0],
|
|
3787
|
+
setNullSortOrder = _useState18[1];
|
|
3788
|
+
var _useState19 = React.useState((_propsValue$zIndex = propsValue.zIndex) !== null && _propsValue$zIndex !== void 0 ? _propsValue$zIndex : {
|
|
3789
3789
|
modal: 1100,
|
|
3790
3790
|
overlay: 1000,
|
|
3791
3791
|
menu: 1000,
|
|
3792
3792
|
tooltip: 1100,
|
|
3793
3793
|
toast: 1200
|
|
3794
3794
|
}),
|
|
3795
|
-
|
|
3796
|
-
zIndex =
|
|
3797
|
-
setZIndex =
|
|
3798
|
-
var
|
|
3795
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
3796
|
+
zIndex = _useState20[0],
|
|
3797
|
+
setZIndex = _useState20[1];
|
|
3798
|
+
var _useState21 = React.useState((_propsValue$ptOptions = propsValue.ptOptions) !== null && _propsValue$ptOptions !== void 0 ? _propsValue$ptOptions : {
|
|
3799
3799
|
mergeSections: true,
|
|
3800
3800
|
mergeProps: true
|
|
3801
3801
|
}),
|
|
3802
|
+
_useState22 = _slicedToArray(_useState21, 2),
|
|
3803
|
+
ptOptions = _useState22[0],
|
|
3804
|
+
setPtOptions = _useState22[1];
|
|
3805
|
+
var _useState23 = React.useState((_propsValue$pt = propsValue.pt) !== null && _propsValue$pt !== void 0 ? _propsValue$pt : undefined),
|
|
3802
3806
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
var _useState25 = React.useState((_propsValue$
|
|
3807
|
+
pt = _useState24[0],
|
|
3808
|
+
setPt = _useState24[1];
|
|
3809
|
+
var _useState25 = React.useState((_propsValue$unstyled = propsValue.unstyled) !== null && _propsValue$unstyled !== void 0 ? _propsValue$unstyled : false),
|
|
3806
3810
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
var _useState27 = React.useState((_propsValue$
|
|
3810
|
-
_useState28 = _slicedToArray(_useState27, 2),
|
|
3811
|
-
unstyled = _useState28[0],
|
|
3812
|
-
setUnstyled = _useState28[1];
|
|
3813
|
-
var _useState29 = React.useState((_propsValue$filterMat = propsValue.filterMatchModeOptions) !== null && _propsValue$filterMat !== void 0 ? _propsValue$filterMat : {
|
|
3811
|
+
unstyled = _useState26[0],
|
|
3812
|
+
setUnstyled = _useState26[1];
|
|
3813
|
+
var _useState27 = React.useState((_propsValue$filterMat = propsValue.filterMatchModeOptions) !== null && _propsValue$filterMat !== void 0 ? _propsValue$filterMat : {
|
|
3814
3814
|
text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],
|
|
3815
3815
|
numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],
|
|
3816
3816
|
date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]
|
|
3817
3817
|
}),
|
|
3818
|
-
|
|
3819
|
-
filterMatchModeOptions =
|
|
3820
|
-
setFilterMatchModeOptions =
|
|
3818
|
+
_useState28 = _slicedToArray(_useState27, 2),
|
|
3819
|
+
filterMatchModeOptions = _useState28[0],
|
|
3820
|
+
setFilterMatchModeOptions = _useState28[1];
|
|
3821
3821
|
var changeTheme = function changeTheme(currentTheme, newTheme, linkElementId, callback) {
|
|
3822
3822
|
var _linkElement$parentNo;
|
|
3823
3823
|
var linkElement = document.getElementById(linkElementId);
|
|
@@ -3996,7 +3996,7 @@ this.primereact.componentbase = (function (exports, PrimeReact, hooks, utils) {
|
|
|
3996
3996
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3997
3997
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3998
3998
|
var baseStyle = "\n.p-hidden-accessible {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n opacity: 0;\n overflow: hidden;\n padding: 0;\n pointer-events: none;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n.p-overflow-hidden {\n overflow: hidden;\n padding-right: var(--scrollbar-width);\n}\n";
|
|
3999
|
-
var buttonStyles = "\n.p-button {\n margin: 0;\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n vertical-align: bottom;\n text-align: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-button-label {\n flex: 1 1 auto;\n}\n\n.p-button-icon-right {\n order: 1;\n}\n\n.p-button:disabled {\n cursor: default;\n}\n\n.p-button-icon-only {\n justify-content: center;\n}\n\n.p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n flex: 0 0 auto;\n}\n\n.p-button-vertical {\n flex-direction: column;\n}\n\n.p-button-icon-bottom {\n order: 2;\n}\n\n.p-button-group .p-button {\n margin: 0;\n}\n\n.p-button-group .p-button:not(:last-child) {\n border-right: 0 none;\n}\n\n.p-button-group .p-button:not(:first-of-type):not(:last-of-type) {\n border-radius: 0;\n}\n\n.p-button-group .p-button:first-of-type {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-button-group .p-button:last-of-type {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-button-group .p-button:focus {\n position: relative;\n z-index: 1;\n}\n\n.p-button-group-single .p-button:first-of-type {\n border-top-right-radius: var(--border-radius) !important;\n border-bottom-right-radius: var(--border-radius) !important;\n}\n\n.p-button-group-single .p-button:last-of-type {\n border-top-left-radius: var(--border-radius) !important;\n border-bottom-left-radius: var(--border-radius) !important;\n}\n";
|
|
3999
|
+
var buttonStyles = "\n.p-button {\n margin: 0;\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n vertical-align: bottom;\n text-align: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-button-label {\n flex: 1 1 auto;\n}\n\n.p-button-icon {\n pointer-events: none;\n}\n\n.p-button-icon-right {\n order: 1;\n}\n\n.p-button:disabled {\n cursor: default;\n}\n\n.p-button-icon-only {\n justify-content: center;\n}\n\n.p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n flex: 0 0 auto;\n}\n\n.p-button-vertical {\n flex-direction: column;\n}\n\n.p-button-icon-bottom {\n order: 2;\n}\n\n.p-button-group .p-button {\n margin: 0;\n}\n\n.p-button-group .p-button:not(:last-child) {\n border-right: 0 none;\n}\n\n.p-button-group .p-button:not(:first-of-type):not(:last-of-type) {\n border-radius: 0;\n}\n\n.p-button-group .p-button:first-of-type {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-button-group .p-button:last-of-type {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-button-group .p-button:focus {\n position: relative;\n z-index: 1;\n}\n\n.p-button-group-single .p-button:first-of-type {\n border-top-right-radius: var(--border-radius) !important;\n border-bottom-right-radius: var(--border-radius) !important;\n}\n\n.p-button-group-single .p-button:last-of-type {\n border-top-left-radius: var(--border-radius) !important;\n border-bottom-left-radius: var(--border-radius) !important;\n}\n";
|
|
4000
4000
|
var inputTextStyles = "\n.p-inputtext {\n margin: 0;\n}\n\n.p-fluid .p-inputtext {\n width: 100%;\n}\n\n/* InputGroup */\n.p-inputgroup {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup-addon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-inputgroup .p-float-label {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup .p-inputtext,\n.p-fluid .p-inputgroup .p-inputtext,\n.p-inputgroup .p-inputwrapper,\n.p-fluid .p-inputgroup .p-input {\n flex: 1 1 auto;\n width: 1%;\n}\n\n/* Floating Label */\n.p-float-label {\n display: block;\n position: relative;\n}\n\n.p-float-label label {\n position: absolute;\n pointer-events: none;\n top: 50%;\n margin-top: -0.5rem;\n transition-property: all;\n transition-timing-function: ease;\n line-height: 1;\n}\n\n.p-float-label textarea ~ label,\n.p-float-label .p-mention ~ label {\n top: 1rem;\n}\n\n.p-float-label input:focus ~ label,\n.p-float-label input:-webkit-autofill ~ label,\n.p-float-label input.p-filled ~ label,\n.p-float-label textarea:focus ~ label,\n.p-float-label textarea.p-filled ~ label,\n.p-float-label .p-inputwrapper-focus ~ label,\n.p-float-label .p-inputwrapper-filled ~ label,\n.p-float-label .p-tooltip-target-wrapper ~ label {\n top: -0.75rem;\n font-size: 12px;\n}\n\n.p-float-label .p-placeholder,\n.p-float-label input::placeholder,\n.p-float-label .p-inputtext::placeholder {\n opacity: 0;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-float-label .p-focus .p-placeholder,\n.p-float-label input:focus::placeholder,\n.p-float-label .p-inputtext:focus::placeholder {\n opacity: 1;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-input-icon-left,\n.p-input-icon-right {\n position: relative;\n display: inline-block;\n}\n\n.p-input-icon-left > i,\n.p-input-icon-right > i,\n.p-input-icon-left > svg,\n.p-input-icon-right > svg,\n.p-input-icon-left > .p-input-prefix,\n.p-input-icon-right > .p-input-suffix {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n}\n\n.p-fluid .p-input-icon-left,\n.p-fluid .p-input-icon-right {\n display: block;\n width: 100%;\n}\n";
|
|
4001
4001
|
var iconStyles = "\n.p-icon {\n display: inline-block;\n}\n\n.p-icon-spin {\n -webkit-animation: p-icon-spin 2s infinite linear;\n animation: p-icon-spin 2s infinite linear;\n}\n\nsvg.p-icon {\n pointer-events: auto;\n}\n\nsvg.p-icon g,\n.p-disabled svg.p-icon {\n pointer-events: none;\n}\n\n@-webkit-keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n";
|
|
4002
4002
|
var commonStyle = "\n@layer primereact {\n .p-component, .p-component * {\n box-sizing: border-box;\n }\n\n .p-hidden {\n display: none;\n }\n\n .p-hidden-space {\n visibility: hidden;\n }\n\n .p-reset {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n text-decoration: none;\n font-size: 100%;\n list-style: none;\n }\n\n .p-disabled, .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-component-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-unselectable-text {\n user-select: none;\n }\n\n .p-scrollbar-measure {\n width: 100px;\n height: 100px;\n overflow: scroll;\n position: absolute;\n top: -9999px;\n }\n\n @-webkit-keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n @keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n\n .p-link {\n text-align: left;\n background-color: transparent;\n margin: 0;\n padding: 0;\n border: none;\n cursor: pointer;\n user-select: none;\n }\n\n .p-link:disabled {\n cursor: default;\n }\n\n /* Non react overlay animations */\n .p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n }\n\n .p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity .1s linear;\n }\n\n /* React based overlay animations */\n .p-connected-overlay-enter {\n opacity: 0;\n transform: scaleY(0.8);\n }\n\n .p-connected-overlay-enter-active {\n opacity: 1;\n transform: scaleY(1);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-enter-done {\n transform: none;\n }\n\n .p-connected-overlay-exit {\n opacity: 1;\n }\n\n .p-connected-overlay-exit-active {\n opacity: 0;\n transition: opacity .1s linear;\n }\n\n /* Toggleable Content */\n .p-toggleable-content-enter {\n max-height: 0;\n }\n\n .p-toggleable-content-enter-active {\n overflow: hidden;\n max-height: 1000px;\n transition: max-height 1s ease-in-out;\n }\n\n .p-toggleable-content-enter-done {\n transform: none;\n }\n\n .p-toggleable-content-exit {\n max-height: 1000px;\n }\n\n .p-toggleable-content-exit-active {\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n }\n\n /* @todo Refactor */\n .p-menu .p-menuitem-link {\n cursor: pointer;\n display: flex;\n align-items: center;\n text-decoration: none;\n overflow: hidden;\n position: relative;\n }\n\n ".concat(buttonStyles, "\n ").concat(inputTextStyles, "\n ").concat(iconStyles, "\n}\n");
|
|
@@ -5058,10 +5058,10 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
5058
5058
|
type: 'mousedown',
|
|
5059
5059
|
listener: onMouseDown
|
|
5060
5060
|
}),
|
|
5061
|
-
|
|
5062
|
-
bindMouseDownListener =
|
|
5063
|
-
unbindMouseDownListener =
|
|
5064
|
-
var
|
|
5061
|
+
_useEventListener0 = _slicedToArray(_useEventListener9, 2),
|
|
5062
|
+
bindMouseDownListener = _useEventListener0[0],
|
|
5063
|
+
unbindMouseDownListener = _useEventListener0[1];
|
|
5064
|
+
var _useEventListener1 = useEventListener({
|
|
5065
5065
|
target: ref,
|
|
5066
5066
|
type: 'touchstart',
|
|
5067
5067
|
listener: onTouchStart,
|
|
@@ -5069,9 +5069,9 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
5069
5069
|
passive: false
|
|
5070
5070
|
}
|
|
5071
5071
|
}),
|
|
5072
|
-
|
|
5073
|
-
bindTouchStartListener =
|
|
5074
|
-
unbindTouchStartListener =
|
|
5072
|
+
_useEventListener10 = _slicedToArray(_useEventListener1, 2),
|
|
5073
|
+
bindTouchStartListener = _useEventListener10[0],
|
|
5074
|
+
unbindTouchStartListener = _useEventListener10[1];
|
|
5075
5075
|
var clamp = function clamp(value, min, max) {
|
|
5076
5076
|
return Math.min(Math.max(value, min), max);
|
|
5077
5077
|
};
|
|
@@ -9666,8 +9666,12 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
|
|
|
9666
9666
|
if (visibleState) {
|
|
9667
9667
|
var position = getPosition(currentTargetRef.current);
|
|
9668
9668
|
var classname = getTargetOption(currentTargetRef.current, 'classname');
|
|
9669
|
-
|
|
9670
|
-
|
|
9669
|
+
if (position !== positionState) {
|
|
9670
|
+
setPositionState(position);
|
|
9671
|
+
}
|
|
9672
|
+
if (classname !== classNameState) {
|
|
9673
|
+
setClassNameState(classname);
|
|
9674
|
+
}
|
|
9671
9675
|
updateTooltipState(position);
|
|
9672
9676
|
bindWindowResizeListener();
|
|
9673
9677
|
bindOverlayScrollListener();
|
|
@@ -9966,17 +9970,17 @@ this.primereact.virtualscroller = (function (exports, React, api, hooks, spinner
|
|
|
9966
9970
|
numItemsInViewportState = _React$useState8[0],
|
|
9967
9971
|
setNumItemsInViewportState = _React$useState8[1];
|
|
9968
9972
|
var _React$useState9 = React__namespace.useState(props.numToleratedItems),
|
|
9969
|
-
_React$
|
|
9970
|
-
numToleratedItemsState = _React$
|
|
9971
|
-
setNumToleratedItemsState = _React$
|
|
9972
|
-
var _React$
|
|
9973
|
+
_React$useState0 = _slicedToArray(_React$useState9, 2),
|
|
9974
|
+
numToleratedItemsState = _React$useState0[0],
|
|
9975
|
+
setNumToleratedItemsState = _React$useState0[1];
|
|
9976
|
+
var _React$useState1 = React__namespace.useState(props.loading || false),
|
|
9977
|
+
_React$useState10 = _slicedToArray(_React$useState1, 2),
|
|
9978
|
+
loadingState = _React$useState10[0],
|
|
9979
|
+
setLoadingState = _React$useState10[1];
|
|
9980
|
+
var _React$useState11 = React__namespace.useState([]),
|
|
9973
9981
|
_React$useState12 = _slicedToArray(_React$useState11, 2),
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
var _React$useState13 = React__namespace.useState([]),
|
|
9977
|
-
_React$useState14 = _slicedToArray(_React$useState13, 2),
|
|
9978
|
-
loaderArrState = _React$useState14[0],
|
|
9979
|
-
setLoaderArrState = _React$useState14[1];
|
|
9982
|
+
loaderArrState = _React$useState12[0],
|
|
9983
|
+
setLoaderArrState = _React$useState12[1];
|
|
9980
9984
|
var _VirtualScrollerBase$ = VirtualScrollerBase.setMetaData({
|
|
9981
9985
|
props: props,
|
|
9982
9986
|
state: {
|
|
@@ -11645,6 +11649,7 @@ this.primereact.inputtext = (function (exports, React, api, componentbase, hooks
|
|
|
11645
11649
|
context: context,
|
|
11646
11650
|
isFilled: isFilled
|
|
11647
11651
|
})),
|
|
11652
|
+
autoComplete: props.autoComplete,
|
|
11648
11653
|
onBeforeInput: onBeforeInput,
|
|
11649
11654
|
onInput: onInput,
|
|
11650
11655
|
onKeyDown: onKeyDown,
|
|
@@ -12103,6 +12108,54 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
12103
12108
|
}
|
|
12104
12109
|
return null;
|
|
12105
12110
|
};
|
|
12111
|
+
function countDecimals(value) {
|
|
12112
|
+
if (!isFinite(value)) return 0;
|
|
12113
|
+
var s = String(value);
|
|
12114
|
+
|
|
12115
|
+
// handle exponential notation: e.g. "1e-7"
|
|
12116
|
+
if (s.toLowerCase().includes('e')) {
|
|
12117
|
+
var _s$split = s.split('e'),
|
|
12118
|
+
_s$split2 = _slicedToArray(_s$split, 2),
|
|
12119
|
+
mantissa = _s$split2[0],
|
|
12120
|
+
expStr = _s$split2[1];
|
|
12121
|
+
var exp = parseInt(expStr, 10);
|
|
12122
|
+
var decimalPart = (mantissa.split('.')[1] || '').length;
|
|
12123
|
+
|
|
12124
|
+
// If exponent is negative, decimals increase
|
|
12125
|
+
if (exp < 0) return decimalPart + Math.abs(exp);
|
|
12126
|
+
|
|
12127
|
+
// If exponent is positive, decimals shrink
|
|
12128
|
+
return Math.max(0, decimalPart - exp);
|
|
12129
|
+
}
|
|
12130
|
+
|
|
12131
|
+
// normal decimal
|
|
12132
|
+
return (s.split('.')[1] || '').length;
|
|
12133
|
+
}
|
|
12134
|
+
var addWithPrecision = function addWithPrecision(base, increment) {
|
|
12135
|
+
base = Number(base);
|
|
12136
|
+
increment = Number(increment);
|
|
12137
|
+
|
|
12138
|
+
// invalid inputs → return NaN cleanly
|
|
12139
|
+
if (!isFinite(base) || !isFinite(increment)) return NaN;
|
|
12140
|
+
var baseDec = countDecimals(base);
|
|
12141
|
+
var incDec = countDecimals(increment);
|
|
12142
|
+
|
|
12143
|
+
// Choose required decimal precision but cap so factor remains safe
|
|
12144
|
+
var decimals = Math.min(Math.max(baseDec, incDec), 15);
|
|
12145
|
+
var factor = Math.pow(10, decimals);
|
|
12146
|
+
var maxSafe = Number.MAX_SAFE_INTEGER;
|
|
12147
|
+
|
|
12148
|
+
// avoid unsafe multiplication
|
|
12149
|
+
if (Math.abs(base) * factor > maxSafe || Math.abs(increment) * factor > maxSafe) {
|
|
12150
|
+
var sum = base + increment;
|
|
12151
|
+
// fallback to a safe rounding
|
|
12152
|
+
var fallbackFactor = Math.pow(10, 15);
|
|
12153
|
+
return Math.round(sum * fallbackFactor) / fallbackFactor;
|
|
12154
|
+
}
|
|
12155
|
+
|
|
12156
|
+
// Correct integer math → avoids floating point errors
|
|
12157
|
+
return Math.round(base * factor + increment * factor) / factor;
|
|
12158
|
+
};
|
|
12106
12159
|
var _repeat = function repeat(event, interval, dir) {
|
|
12107
12160
|
var i = interval || 500;
|
|
12108
12161
|
clearTimer();
|
|
@@ -12115,7 +12168,7 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
12115
12168
|
if (inputRef.current) {
|
|
12116
12169
|
var step = props.step * dir;
|
|
12117
12170
|
var currentValue = parseValue(inputRef.current.value) || 0;
|
|
12118
|
-
var newValue = validateValue(currentValue
|
|
12171
|
+
var newValue = validateValue(addWithPrecision(currentValue, step));
|
|
12119
12172
|
if (props.maxLength && props.maxLength < formatValue(newValue).length) {
|
|
12120
12173
|
return;
|
|
12121
12174
|
}
|
|
@@ -12419,6 +12472,9 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
12419
12472
|
return;
|
|
12420
12473
|
}
|
|
12421
12474
|
var data = (event.clipboardData || window.clipboardData).getData('Text');
|
|
12475
|
+
if (props.inputId === 'integeronly' && /[^\d-]/.test(data)) {
|
|
12476
|
+
return;
|
|
12477
|
+
}
|
|
12422
12478
|
if (data) {
|
|
12423
12479
|
var filteredData = parseValue(data);
|
|
12424
12480
|
if (filteredData != null) {
|
|
@@ -12459,8 +12515,12 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
12459
12515
|
return props.mode === 'decimal';
|
|
12460
12516
|
};
|
|
12461
12517
|
var isFloat = function isFloat(val) {
|
|
12462
|
-
var
|
|
12463
|
-
|
|
12518
|
+
var formattedVal = val;
|
|
12519
|
+
if (typeof formattedVal !== 'string') {
|
|
12520
|
+
var formatter = new Intl.NumberFormat(_locale, getOptions());
|
|
12521
|
+
formattedVal = formatter.format(val);
|
|
12522
|
+
}
|
|
12523
|
+
var parseVal = parseValue(formattedVal);
|
|
12464
12524
|
if (parseVal === null) {
|
|
12465
12525
|
return false;
|
|
12466
12526
|
}
|
|
@@ -12858,10 +12918,12 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
12858
12918
|
};
|
|
12859
12919
|
var changeValue = function changeValue() {
|
|
12860
12920
|
var val = validateValueByLimit(props.value);
|
|
12921
|
+
var currentValue = inputRef.current.value;
|
|
12861
12922
|
updateInputValue(props.format ? val : replaceDecimalSeparator(val));
|
|
12862
12923
|
var newValue = validateValue(props.value);
|
|
12863
|
-
if (props.value !== null &&
|
|
12924
|
+
if (props.value !== null && currentValue !== newValue) {
|
|
12864
12925
|
updateModel(null, newValue);
|
|
12926
|
+
handleOnChange(null, currentValue, newValue);
|
|
12865
12927
|
}
|
|
12866
12928
|
};
|
|
12867
12929
|
var getFormatter = function getFormatter() {
|
|
@@ -13929,8 +13991,8 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
13929
13991
|
maxHeight: props.scrollHeight || 'auto'
|
|
13930
13992
|
};
|
|
13931
13993
|
},
|
|
13932
|
-
panel: function panel(
|
|
13933
|
-
var props =
|
|
13994
|
+
panel: function panel(_ref0) {
|
|
13995
|
+
var props = _ref0.props;
|
|
13934
13996
|
return _objectSpread$2({}, props.panelStyle);
|
|
13935
13997
|
}
|
|
13936
13998
|
};
|
|
@@ -14336,8 +14398,9 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
14336
14398
|
return item && createItem(item, options.index, options);
|
|
14337
14399
|
},
|
|
14338
14400
|
contentTemplate: function contentTemplate(options) {
|
|
14401
|
+
var children = options.children || [];
|
|
14339
14402
|
var emptyMessage = props.hasFilter ? props.emptyFilterMessage : props.emptyMessage;
|
|
14340
|
-
var content = isEmptyFilter ? createEmptyMessage(emptyMessage) :
|
|
14403
|
+
var content = isEmptyFilter || (children === null || children === void 0 ? void 0 : children.length) === 0 ? createEmptyMessage(emptyMessage) : children;
|
|
14341
14404
|
var listProps = mergeProps({
|
|
14342
14405
|
ref: options.contentRef,
|
|
14343
14406
|
style: options.style,
|
|
@@ -14377,7 +14440,8 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
14377
14440
|
context: context
|
|
14378
14441
|
})),
|
|
14379
14442
|
style: sx('panel'),
|
|
14380
|
-
onClick: props.onClick
|
|
14443
|
+
onClick: props.onClick,
|
|
14444
|
+
'data-pr-is-overlay': true
|
|
14381
14445
|
}, getPTOptions('panel'));
|
|
14382
14446
|
var transitionProps = mergeProps({
|
|
14383
14447
|
classNames: cx('transition'),
|
|
@@ -14621,10 +14685,10 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
14621
14685
|
onArrowLeftKey(event, props.editable);
|
|
14622
14686
|
break;
|
|
14623
14687
|
case 'Home':
|
|
14624
|
-
onHomeKey(event);
|
|
14688
|
+
onHomeKey(event, props.editable);
|
|
14625
14689
|
break;
|
|
14626
14690
|
case 'End':
|
|
14627
|
-
onEndKey(event);
|
|
14691
|
+
onEndKey(event, props.editable);
|
|
14628
14692
|
break;
|
|
14629
14693
|
case 'PageDown':
|
|
14630
14694
|
onPageDownKey(event);
|
|
@@ -14813,12 +14877,15 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
14813
14877
|
};
|
|
14814
14878
|
var onArrowLeftKey = function onArrowLeftKey(event) {
|
|
14815
14879
|
var pressedInInputText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
14816
|
-
|
|
14880
|
+
if (!pressedInInputText) return;
|
|
14881
|
+
props.editable && utils.DomHandler.focus(inputRef.current);
|
|
14882
|
+
setFocusedOptionIndex(-1);
|
|
14817
14883
|
};
|
|
14818
14884
|
var onHomeKey = function onHomeKey(event) {
|
|
14819
14885
|
var pressedInInputText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
14820
14886
|
if (pressedInInputText) {
|
|
14821
|
-
|
|
14887
|
+
utils.DomHandler.focus(inputRef.current);
|
|
14888
|
+
inputRef.current.setSelectionRange(0, 0);
|
|
14822
14889
|
setFocusedOptionIndex(-1);
|
|
14823
14890
|
} else {
|
|
14824
14891
|
changeFocusedOptionIndex(event, findFirstOptionIndex());
|
|
@@ -14829,8 +14896,9 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
14829
14896
|
var onEndKey = function onEndKey(event) {
|
|
14830
14897
|
var pressedInInputText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
14831
14898
|
if (pressedInInputText) {
|
|
14832
|
-
var target =
|
|
14899
|
+
var target = inputRef.current;
|
|
14833
14900
|
var len = target.value.length;
|
|
14901
|
+
utils.DomHandler.focus(target);
|
|
14834
14902
|
target.setSelectionRange(len, len);
|
|
14835
14903
|
setFocusedOptionIndex(-1);
|
|
14836
14904
|
} else {
|
|
@@ -16040,7 +16108,7 @@ this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, c
|
|
|
16040
16108
|
lastPageX.current = event.pageX;
|
|
16041
16109
|
dialogRef.current.style.left = leftPos - leftMargin + 'px';
|
|
16042
16110
|
}
|
|
16043
|
-
if (topPos >= props.minY && topPos + height < viewport.height) {
|
|
16111
|
+
if (topPos >= props.minY && (deltaY < 0 || topPos + height < viewport.height)) {
|
|
16044
16112
|
lastPageY.current = event.pageY;
|
|
16045
16113
|
dialogRef.current.style.top = topPos - topMargin + 'px';
|
|
16046
16114
|
}
|
|
@@ -16094,10 +16162,10 @@ this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, c
|
|
|
16094
16162
|
newWidth = newWidth + deltaX;
|
|
16095
16163
|
newHeight = newHeight + deltaY;
|
|
16096
16164
|
}
|
|
16097
|
-
if ((!minWidth || newWidth > minWidth) && offset.left + newWidth < viewport.width) {
|
|
16165
|
+
if ((!minWidth || newWidth > minWidth) && (deltaX < 0 || offset.left + newWidth < viewport.width)) {
|
|
16098
16166
|
dialogRef.current.style.width = newWidth + 'px';
|
|
16099
16167
|
}
|
|
16100
|
-
if ((!minHeight || newHeight > minHeight) && offset.top + newHeight < viewport.height) {
|
|
16168
|
+
if ((!minHeight || newHeight > minHeight) && (deltaY < 0 || offset.top + newHeight < viewport.height)) {
|
|
16101
16169
|
dialogRef.current.style.height = newHeight + 'px';
|
|
16102
16170
|
}
|
|
16103
16171
|
lastPageX.current = event.pageX;
|
|
@@ -18999,11 +19067,11 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
|
|
|
18999
19067
|
});
|
|
19000
19068
|
UITreeNode.displayName = 'UITreeNode';
|
|
19001
19069
|
|
|
19002
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19003
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19004
19070
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
19005
19071
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
19006
19072
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
19073
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19074
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19007
19075
|
var Tree = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
19008
19076
|
var mergeProps = hooks.useMergeProps();
|
|
19009
19077
|
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
@@ -19017,18 +19085,17 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
|
|
|
19017
19085
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
19018
19086
|
expandedKeysState = _React$useState2[0],
|
|
19019
19087
|
setExpandedKeysState = _React$useState2[1];
|
|
19020
|
-
var _React$useState3 = React__namespace.useState({}),
|
|
19021
|
-
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
19022
|
-
filterExpandedKeys = _React$useState4[0],
|
|
19023
|
-
setFilterExpandedKeys = _React$useState4[1];
|
|
19024
19088
|
var elementRef = React__namespace.useRef(null);
|
|
19025
19089
|
var filteredNodes = React__namespace.useRef([]);
|
|
19026
19090
|
var dragState = React__namespace.useRef(null);
|
|
19027
19091
|
var filterChanged = React__namespace.useRef(false);
|
|
19092
|
+
var _React$useState3 = React__namespace.useState(false),
|
|
19093
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
19094
|
+
forceRender = _React$useState4[1];
|
|
19028
19095
|
var filteredValue = props.onFilterValueChange ? props.filterValue : filterValueState;
|
|
19029
19096
|
var isFiltering = props.filter && filteredValue;
|
|
19030
|
-
var expandedKeys =
|
|
19031
|
-
var currentFilterExpandedKeys = {};
|
|
19097
|
+
var expandedKeys = props.onToggle ? props.expandedKeys : expandedKeysState;
|
|
19098
|
+
var currentFilterExpandedKeys = React__namespace.useRef({});
|
|
19032
19099
|
var childFocusEvent = React__namespace.useRef(null);
|
|
19033
19100
|
var _TreeBase$setMetaData = TreeBase.setMetaData({
|
|
19034
19101
|
props: props,
|
|
@@ -19058,7 +19125,16 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
|
|
|
19058
19125
|
var originalEvent = event.originalEvent,
|
|
19059
19126
|
value = event.value,
|
|
19060
19127
|
navigateFocusToChild = event.navigateFocusToChild;
|
|
19061
|
-
if (
|
|
19128
|
+
if (originalEvent == null && isFiltering) {
|
|
19129
|
+
if (props.onToggle) {
|
|
19130
|
+
props.onToggle({
|
|
19131
|
+
originalEvent: originalEvent,
|
|
19132
|
+
value: _objectSpread(_objectSpread({}, props.expandedKeys), value)
|
|
19133
|
+
});
|
|
19134
|
+
} else {
|
|
19135
|
+
setExpandedKeysState(_objectSpread(_objectSpread({}, expandedKeysState), value));
|
|
19136
|
+
}
|
|
19137
|
+
} else if (props.onToggle) {
|
|
19062
19138
|
props.onToggle({
|
|
19063
19139
|
originalEvent: originalEvent,
|
|
19064
19140
|
value: value
|
|
@@ -19067,11 +19143,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
|
|
|
19067
19143
|
if (navigateFocusToChild) {
|
|
19068
19144
|
childFocusEvent.current = originalEvent;
|
|
19069
19145
|
}
|
|
19070
|
-
|
|
19071
|
-
setFilterExpandedKeys(value);
|
|
19072
|
-
} else {
|
|
19073
|
-
setExpandedKeysState(value);
|
|
19074
|
-
}
|
|
19146
|
+
setExpandedKeysState(value);
|
|
19075
19147
|
}
|
|
19076
19148
|
};
|
|
19077
19149
|
hooks.useUpdateEffect(function () {
|
|
@@ -19309,8 +19381,16 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
|
|
|
19309
19381
|
} finally {
|
|
19310
19382
|
_iterator.f();
|
|
19311
19383
|
}
|
|
19384
|
+
onToggle({
|
|
19385
|
+
originalEvent: null,
|
|
19386
|
+
value: currentFilterExpandedKeys.current,
|
|
19387
|
+
navigateFocusToChild: false
|
|
19388
|
+
});
|
|
19312
19389
|
}
|
|
19313
|
-
|
|
19390
|
+
currentFilterExpandedKeys.current = {};
|
|
19391
|
+
forceRender(function (x) {
|
|
19392
|
+
return !x;
|
|
19393
|
+
});
|
|
19314
19394
|
filterChanged.current = false;
|
|
19315
19395
|
};
|
|
19316
19396
|
var findFilteredNodes = function findFilteredNodes(node, paramsWithoutNode) {
|
|
@@ -19337,7 +19417,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
|
|
|
19337
19417
|
}
|
|
19338
19418
|
}
|
|
19339
19419
|
if (matched) {
|
|
19340
|
-
currentFilterExpandedKeys[node.key] = true;
|
|
19420
|
+
currentFilterExpandedKeys.current[node.key] = true;
|
|
19341
19421
|
return true;
|
|
19342
19422
|
}
|
|
19343
19423
|
}
|