primereact 10.8.3 → 10.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.cjs.js +51 -63
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +51 -63
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +51 -63
- package/accordion/accordion.min.js +1 -1
- package/api/api.cjs.js +61 -75
- package/api/api.cjs.min.js +1 -1
- package/api/api.esm.js +61 -75
- package/api/api.esm.min.js +1 -1
- package/api/api.js +61 -75
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +81 -80
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +81 -80
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +81 -80
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +37 -49
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +37 -49
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +37 -49
- package/avatar/avatar.min.js +1 -1
- package/badge/badge.cjs.js +18 -24
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +18 -24
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +18 -24
- package/badge/badge.min.js +1 -1
- package/blockui/blockui.cjs.js +37 -49
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +37 -49
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +37 -49
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +38 -50
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +38 -50
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +38 -50
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +25 -36
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +25 -36
- package/button/button.esm.min.js +1 -1
- package/button/button.js +25 -36
- package/button/button.min.js +1 -1
- package/buttongroup/buttongroup.cjs.js +1 -1
- package/buttongroup/buttongroup.esm.js +1 -1
- package/buttongroup/buttongroup.js +1 -1
- package/calendar/calendar.cjs.js +58 -68
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +59 -69
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +58 -68
- package/calendar/calendar.min.js +1 -1
- package/carousel/carousel.cjs.js +44 -56
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +44 -56
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +44 -56
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +50 -62
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +50 -62
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +50 -62
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/chart.cjs.js +1 -1
- package/chart/chart.esm.js +1 -1
- package/chart/chart.js +1 -1
- package/checkbox/checkbox.cjs.js +38 -50
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +38 -50
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +38 -50
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +40 -52
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +40 -52
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +40 -52
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +47 -57
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +47 -57
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +47 -57
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +38 -50
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +38 -50
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +38 -50
- package/colorpicker/colorpicker.min.js +1 -1
- package/componentbase/componentbase.cjs.js +47 -54
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.js +47 -54
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.js +47 -54
- package/componentbase/componentbase.min.js +1 -1
- package/confirmdialog/confirmdialog.cjs.js +38 -50
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +38 -50
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +38 -50
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +41 -54
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +41 -54
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +41 -54
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +42 -51
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +42 -51
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +42 -51
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +1147 -1571
- package/core/core.min.js +67 -67
- package/csstransition/csstransition.cjs.js +18 -23
- package/csstransition/csstransition.cjs.min.js +1 -1
- package/csstransition/csstransition.esm.js +18 -23
- package/csstransition/csstransition.esm.min.js +1 -1
- package/csstransition/csstransition.js +18 -23
- package/csstransition/csstransition.min.js +1 -1
- package/datascroller/datascroller.cjs.js +27 -33
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.esm.js +27 -33
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +27 -33
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +135 -151
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +135 -151
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +135 -151
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +47 -59
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +47 -59
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +47 -59
- package/dataview/dataview.min.js +1 -1
- package/deferredcontent/deferredcontent.cjs.js +14 -15
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +14 -15
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +14 -15
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/dialog.cjs.js +47 -59
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +48 -60
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +47 -59
- package/dialog/dialog.min.js +1 -1
- package/dock/dock.cjs.js +44 -56
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +44 -56
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +44 -56
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +54 -68
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +54 -68
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +54 -68
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +38 -50
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +38 -50
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +38 -50
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +20 -26
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +20 -26
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +20 -26
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/fileupload.cjs.js +50 -62
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +50 -62
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +50 -62
- package/fileupload/fileupload.min.js +1 -1
- package/floatlabel/floatlabel.cjs.js +1 -1
- package/floatlabel/floatlabel.esm.js +1 -1
- package/floatlabel/floatlabel.js +1 -1
- package/focustrap/focustrap.cjs.js +18 -24
- package/focustrap/focustrap.cjs.min.js +1 -1
- package/focustrap/focustrap.esm.js +18 -24
- package/focustrap/focustrap.esm.min.js +1 -1
- package/focustrap/focustrap.js +18 -24
- package/focustrap/focustrap.min.js +1 -1
- package/galleria/galleria.cjs.js +46 -58
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +46 -58
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +46 -58
- package/galleria/galleria.min.js +1 -1
- package/hooks/hooks.cjs.js +37 -47
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.esm.js +37 -47
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +37 -47
- package/hooks/hooks.min.js +1 -1
- package/iconfield/iconfield.cjs.js +24 -35
- package/iconfield/iconfield.cjs.min.js +1 -1
- package/iconfield/iconfield.esm.js +24 -35
- package/iconfield/iconfield.esm.min.js +1 -1
- package/iconfield/iconfield.js +24 -35
- package/iconfield/iconfield.min.js +1 -1
- package/icons/angledoubledown/index.cjs.js +7 -12
- package/icons/angledoubledown/index.cjs.min.js +1 -1
- package/icons/angledoubledown/index.esm.js +7 -12
- package/icons/angledoubledown/index.esm.min.js +1 -1
- package/icons/angledoubledown/index.js +7 -12
- package/icons/angledoubledown/index.min.js +1 -1
- package/icons/angledoubleleft/index.cjs.js +7 -12
- package/icons/angledoubleleft/index.cjs.min.js +1 -1
- package/icons/angledoubleleft/index.esm.js +7 -12
- package/icons/angledoubleleft/index.esm.min.js +1 -1
- package/icons/angledoubleleft/index.js +7 -12
- package/icons/angledoubleleft/index.min.js +1 -1
- package/icons/angledoubleright/index.cjs.js +7 -12
- package/icons/angledoubleright/index.cjs.min.js +1 -1
- package/icons/angledoubleright/index.esm.js +7 -12
- package/icons/angledoubleright/index.esm.min.js +1 -1
- package/icons/angledoubleright/index.js +7 -12
- package/icons/angledoubleright/index.min.js +1 -1
- package/icons/angledoubleup/index.cjs.js +7 -12
- package/icons/angledoubleup/index.cjs.min.js +1 -1
- package/icons/angledoubleup/index.esm.js +7 -12
- package/icons/angledoubleup/index.esm.min.js +1 -1
- package/icons/angledoubleup/index.js +7 -12
- package/icons/angledoubleup/index.min.js +1 -1
- package/icons/angledown/index.cjs.js +7 -12
- package/icons/angledown/index.cjs.min.js +1 -1
- package/icons/angledown/index.esm.js +7 -12
- package/icons/angledown/index.esm.min.js +1 -1
- package/icons/angledown/index.js +7 -12
- package/icons/angledown/index.min.js +1 -1
- package/icons/angleleft/index.cjs.js +7 -12
- package/icons/angleleft/index.cjs.min.js +1 -1
- package/icons/angleleft/index.esm.js +7 -12
- package/icons/angleleft/index.esm.min.js +1 -1
- package/icons/angleleft/index.js +7 -12
- package/icons/angleleft/index.min.js +1 -1
- package/icons/angleright/index.cjs.js +7 -12
- package/icons/angleright/index.cjs.min.js +1 -1
- package/icons/angleright/index.esm.js +7 -12
- package/icons/angleright/index.esm.min.js +1 -1
- package/icons/angleright/index.js +7 -12
- package/icons/angleright/index.min.js +1 -1
- package/icons/angleup/index.cjs.js +7 -12
- package/icons/angleup/index.cjs.min.js +1 -1
- package/icons/angleup/index.esm.js +7 -12
- package/icons/angleup/index.esm.min.js +1 -1
- package/icons/angleup/index.js +7 -12
- package/icons/angleup/index.min.js +1 -1
- package/icons/arrowdown/index.cjs.js +7 -12
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +7 -12
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +7 -12
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowup/index.cjs.js +7 -12
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +7 -12
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +7 -12
- package/icons/arrowup/index.min.js +1 -1
- package/icons/ban/index.cjs.js +7 -12
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +7 -12
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +7 -12
- package/icons/ban/index.min.js +1 -1
- package/icons/bars/index.cjs.js +7 -12
- package/icons/bars/index.cjs.min.js +1 -1
- package/icons/bars/index.esm.js +7 -12
- package/icons/bars/index.esm.min.js +1 -1
- package/icons/bars/index.js +7 -12
- package/icons/bars/index.min.js +1 -1
- package/icons/blank/index.cjs.js +7 -12
- package/icons/blank/index.cjs.min.js +1 -1
- package/icons/blank/index.esm.js +7 -12
- package/icons/blank/index.esm.min.js +1 -1
- package/icons/blank/index.js +7 -12
- package/icons/blank/index.min.js +1 -1
- package/icons/calendar/index.cjs.js +7 -12
- package/icons/calendar/index.cjs.min.js +1 -1
- package/icons/calendar/index.esm.js +7 -12
- package/icons/calendar/index.esm.min.js +1 -1
- package/icons/calendar/index.js +7 -12
- package/icons/calendar/index.min.js +1 -1
- package/icons/check/index.cjs.js +7 -12
- package/icons/check/index.cjs.min.js +1 -1
- package/icons/check/index.esm.js +7 -12
- package/icons/check/index.esm.min.js +1 -1
- package/icons/check/index.js +7 -12
- package/icons/check/index.min.js +1 -1
- package/icons/chevrondown/index.cjs.js +7 -12
- package/icons/chevrondown/index.cjs.min.js +1 -1
- package/icons/chevrondown/index.esm.js +7 -12
- package/icons/chevrondown/index.esm.min.js +1 -1
- package/icons/chevrondown/index.js +7 -12
- package/icons/chevrondown/index.min.js +1 -1
- package/icons/chevronleft/index.cjs.js +7 -12
- package/icons/chevronleft/index.cjs.min.js +1 -1
- package/icons/chevronleft/index.esm.js +7 -12
- package/icons/chevronleft/index.esm.min.js +1 -1
- package/icons/chevronleft/index.js +7 -12
- package/icons/chevronleft/index.min.js +1 -1
- package/icons/chevronright/index.cjs.js +7 -12
- package/icons/chevronright/index.cjs.min.js +1 -1
- package/icons/chevronright/index.esm.js +7 -12
- package/icons/chevronright/index.esm.min.js +1 -1
- package/icons/chevronright/index.js +7 -12
- package/icons/chevronright/index.min.js +1 -1
- package/icons/chevronup/index.cjs.js +7 -12
- package/icons/chevronup/index.cjs.min.js +1 -1
- package/icons/chevronup/index.esm.js +7 -12
- package/icons/chevronup/index.esm.min.js +1 -1
- package/icons/chevronup/index.js +7 -12
- package/icons/chevronup/index.min.js +1 -1
- package/icons/download/index.cjs.js +7 -12
- package/icons/download/index.cjs.min.js +1 -1
- package/icons/download/index.esm.js +7 -12
- package/icons/download/index.esm.min.js +1 -1
- package/icons/download/index.js +7 -12
- package/icons/download/index.min.js +1 -1
- package/icons/exclamationtriangle/index.cjs.js +7 -12
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +7 -12
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +7 -12
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/eye/index.cjs.js +7 -12
- package/icons/eye/index.cjs.min.js +1 -1
- package/icons/eye/index.esm.js +7 -12
- package/icons/eye/index.esm.min.js +1 -1
- package/icons/eye/index.js +7 -12
- package/icons/eye/index.min.js +1 -1
- package/icons/eyeslash/index.cjs.js +7 -12
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +7 -12
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +7 -12
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/filter/index.cjs.js +7 -12
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +7 -12
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +7 -12
- package/icons/filter/index.min.js +1 -1
- package/icons/filterslash/index.cjs.js +7 -12
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +7 -12
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +7 -12
- package/icons/filterslash/index.min.js +1 -1
- package/icons/infocircle/index.cjs.js +7 -12
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +7 -12
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +7 -12
- package/icons/infocircle/index.min.js +1 -1
- package/icons/minus/index.cjs.js +7 -12
- package/icons/minus/index.cjs.min.js +1 -1
- package/icons/minus/index.esm.js +7 -12
- package/icons/minus/index.esm.min.js +1 -1
- package/icons/minus/index.js +7 -12
- package/icons/minus/index.min.js +1 -1
- package/icons/pencil/index.cjs.js +7 -12
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +7 -12
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +7 -12
- package/icons/pencil/index.min.js +1 -1
- package/icons/plus/index.cjs.js +7 -12
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +7 -12
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +7 -12
- package/icons/plus/index.min.js +1 -1
- package/icons/refresh/index.cjs.js +7 -12
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +7 -12
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +7 -12
- package/icons/refresh/index.min.js +1 -1
- package/icons/search/index.cjs.js +7 -12
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +7 -12
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +7 -12
- package/icons/search/index.min.js +1 -1
- package/icons/searchminus/index.cjs.js +7 -12
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +7 -12
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +7 -12
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchplus/index.cjs.js +7 -12
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +7 -12
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +7 -12
- package/icons/searchplus/index.min.js +1 -1
- package/icons/sortalt/index.cjs.js +7 -12
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +7 -12
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +7 -12
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortamountdown/index.cjs.js +7 -12
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +7 -12
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +7 -12
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountupalt/index.cjs.js +7 -12
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +7 -12
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +7 -12
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/spinner/index.cjs.js +7 -12
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +7 -12
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +7 -12
- package/icons/spinner/index.min.js +1 -1
- package/icons/star/index.cjs.js +7 -12
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +7 -12
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +7 -12
- package/icons/star/index.min.js +1 -1
- package/icons/starfill/index.cjs.js +7 -12
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +7 -12
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +7 -12
- package/icons/starfill/index.min.js +1 -1
- package/icons/thlarge/index.cjs.js +7 -12
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +7 -12
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +7 -12
- package/icons/thlarge/index.min.js +1 -1
- package/icons/times/index.cjs.js +7 -12
- package/icons/times/index.cjs.min.js +1 -1
- package/icons/times/index.esm.js +7 -12
- package/icons/times/index.esm.min.js +1 -1
- package/icons/times/index.js +7 -12
- package/icons/times/index.min.js +1 -1
- package/icons/timescircle/index.cjs.js +7 -12
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +7 -12
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +7 -12
- package/icons/timescircle/index.min.js +1 -1
- package/icons/trash/index.cjs.js +7 -12
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +7 -12
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +7 -12
- package/icons/trash/index.min.js +1 -1
- package/icons/undo/index.cjs.js +7 -12
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +7 -12
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +7 -12
- package/icons/undo/index.min.js +1 -1
- package/icons/upload/index.cjs.js +7 -12
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +7 -12
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +7 -12
- package/icons/upload/index.min.js +1 -1
- package/icons/windowmaximize/index.cjs.js +7 -12
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +7 -12
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +7 -12
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowminimize/index.cjs.js +7 -12
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +7 -12
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +7 -12
- package/icons/windowminimize/index.min.js +1 -1
- package/image/image.cjs.js +39 -51
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +39 -51
- package/image/image.esm.min.js +1 -1
- package/image/image.js +39 -51
- package/image/image.min.js +1 -1
- package/inplace/inplace.cjs.js +14 -15
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +14 -15
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +14 -15
- package/inplace/inplace.min.js +1 -1
- package/inputicon/inputicon.cjs.js +24 -35
- package/inputicon/inputicon.cjs.min.js +1 -1
- package/inputicon/inputicon.esm.js +24 -35
- package/inputicon/inputicon.esm.min.js +1 -1
- package/inputicon/inputicon.js +24 -35
- package/inputicon/inputicon.min.js +1 -1
- package/inputmask/inputmask.cjs.js +10 -13
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +10 -13
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +10 -13
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +59 -66
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +60 -67
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +59 -66
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputotp/inputotp.cjs.js +53 -65
- package/inputotp/inputotp.cjs.min.js +1 -1
- package/inputotp/inputotp.esm.js +53 -65
- package/inputotp/inputotp.esm.min.js +1 -1
- package/inputotp/inputotp.js +53 -65
- package/inputotp/inputotp.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +24 -35
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +24 -35
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +24 -35
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +31 -35
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.d.ts +1 -0
- package/inputtext/inputtext.esm.js +31 -35
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +31 -35
- package/inputtext/inputtext.min.js +1 -1
- package/inputtextarea/inputtextarea.cjs.js +26 -36
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.esm.js +26 -36
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +26 -36
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/keyfilter/keyfilter.cjs.js +16 -17
- package/keyfilter/keyfilter.cjs.min.js +1 -1
- package/keyfilter/keyfilter.esm.js +16 -17
- package/keyfilter/keyfilter.esm.min.js +1 -1
- package/keyfilter/keyfilter.js +16 -17
- package/keyfilter/keyfilter.min.js +1 -1
- package/knob/knob.cjs.js +15 -16
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +15 -16
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +15 -16
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +48 -60
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +48 -60
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +48 -60
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +44 -56
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +44 -56
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +44 -56
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +48 -58
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.d.ts +8 -0
- package/mention/mention.esm.js +48 -58
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +48 -58
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +47 -59
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.d.ts +14 -0
- package/menu/menu.esm.js +47 -59
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +47 -59
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +45 -54
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +45 -54
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +45 -54
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +24 -35
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +24 -35
- package/message/message.esm.min.js +1 -1
- package/message/message.js +24 -35
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +46 -59
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +47 -60
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +46 -59
- package/messages/messages.min.js +1 -1
- package/metergroup/metergroup.cjs.js +23 -34
- package/metergroup/metergroup.cjs.min.js +1 -1
- package/metergroup/metergroup.esm.js +23 -34
- package/metergroup/metergroup.esm.min.js +1 -1
- package/metergroup/metergroup.js +23 -34
- package/metergroup/metergroup.min.js +1 -1
- package/multiselect/multiselect.cjs.js +149 -163
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +149 -163
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +149 -163
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +39 -51
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +39 -51
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +39 -51
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +46 -58
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +46 -58
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +46 -58
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +46 -62
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +46 -62
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +46 -62
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +38 -50
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +38 -50
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +38 -50
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/overlayservice/overlayservice.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.js +42 -57
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +42 -57
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +42 -57
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.js +20 -26
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +20 -26
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +20 -26
- package/panel/panel.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +59 -68
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +59 -68
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +59 -68
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/index.cjs.js +17 -23
- package/passthrough/index.cjs.min.js +1 -1
- package/passthrough/index.esm.js +17 -23
- package/passthrough/index.esm.min.js +1 -1
- package/passthrough/index.js +17 -23
- package/passthrough/index.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +360 -334
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +360 -334
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +360 -334
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.cjs.js +47 -53
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +47 -53
- package/password/password.esm.min.js +1 -1
- package/password/password.js +47 -53
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +51 -66
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +51 -66
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +51 -66
- package/picklist/picklist.min.js +1 -1
- package/portal/portal.cjs.js +14 -15
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +14 -15
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +14 -15
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +917 -858
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +917 -858
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +917 -858
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.js +24 -35
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +24 -35
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +24 -35
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/progressspinner.cjs.js +1 -1
- package/progressspinner/progressspinner.esm.js +1 -1
- package/progressspinner/progressspinner.js +1 -1
- package/radiobutton/radiobutton.cjs.js +24 -35
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +24 -35
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +24 -35
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +38 -50
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +38 -50
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +38 -50
- package/rating/rating.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +15 -25
- package/resources/themes/arya-green/theme.css +15 -25
- package/resources/themes/arya-orange/theme.css +15 -25
- package/resources/themes/arya-purple/theme.css +15 -25
- package/resources/themes/bootstrap4-dark-blue/theme.css +15 -25
- package/resources/themes/bootstrap4-dark-purple/theme.css +15 -25
- package/resources/themes/bootstrap4-light-blue/theme.css +15 -25
- package/resources/themes/bootstrap4-light-purple/theme.css +15 -25
- package/resources/themes/fluent-light/theme.css +15 -25
- package/resources/themes/lara-dark-amber/theme.css +15 -25
- package/resources/themes/lara-dark-blue/theme.css +15 -25
- package/resources/themes/lara-dark-cyan/theme.css +15 -25
- package/resources/themes/lara-dark-green/theme.css +15 -25
- package/resources/themes/lara-dark-indigo/theme.css +15 -25
- package/resources/themes/lara-dark-pink/theme.css +15 -25
- package/resources/themes/lara-dark-purple/theme.css +15 -25
- package/resources/themes/lara-dark-teal/theme.css +15 -25
- package/resources/themes/lara-light-amber/theme.css +15 -25
- package/resources/themes/lara-light-blue/theme.css +15 -25
- package/resources/themes/lara-light-cyan/theme.css +15 -25
- package/resources/themes/lara-light-green/theme.css +15 -25
- package/resources/themes/lara-light-indigo/theme.css +15 -25
- package/resources/themes/lara-light-pink/theme.css +15 -25
- package/resources/themes/lara-light-purple/theme.css +15 -25
- package/resources/themes/lara-light-teal/theme.css +15 -25
- package/resources/themes/luna-amber/theme.css +15 -25
- package/resources/themes/luna-blue/theme.css +15 -25
- package/resources/themes/luna-green/theme.css +15 -25
- package/resources/themes/luna-pink/theme.css +15 -25
- package/resources/themes/md-dark-deeppurple/theme.css +15 -25
- package/resources/themes/md-dark-indigo/theme.css +15 -25
- package/resources/themes/md-light-deeppurple/theme.css +15 -25
- package/resources/themes/md-light-indigo/theme.css +300 -310
- package/resources/themes/mdc-dark-deeppurple/theme.css +15 -25
- package/resources/themes/mdc-dark-indigo/theme.css +15 -25
- package/resources/themes/mdc-light-deeppurple/theme.css +15 -25
- package/resources/themes/mdc-light-indigo/theme.css +300 -310
- package/resources/themes/mira/theme.css +15 -25
- package/resources/themes/nano/theme.css +15 -25
- package/resources/themes/nova/theme.css +15 -25
- package/resources/themes/nova-accent/theme.css +15 -25
- package/resources/themes/nova-alt/theme.css +15 -25
- package/resources/themes/rhea/theme.css +15 -25
- package/resources/themes/saga-blue/theme.css +15 -25
- package/resources/themes/saga-green/theme.css +15 -25
- package/resources/themes/saga-orange/theme.css +15 -25
- package/resources/themes/saga-purple/theme.css +15 -25
- package/resources/themes/soho-dark/theme.css +15 -25
- package/resources/themes/soho-light/theme.css +15 -25
- package/resources/themes/tailwind-light/theme.css +15 -25
- package/resources/themes/vela-blue/theme.css +15 -25
- package/resources/themes/vela-green/theme.css +15 -25
- package/resources/themes/vela-orange/theme.css +15 -25
- package/resources/themes/vela-purple/theme.css +15 -25
- package/resources/themes/viva-dark/theme.css +15 -25
- package/resources/themes/viva-light/theme.css +15 -25
- package/ripple/ripple.cjs.js +38 -50
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.js +38 -50
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +38 -50
- package/ripple/ripple.min.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +34 -32
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +34 -32
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +34 -32
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +38 -50
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +38 -50
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +38 -50
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +27 -33
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +27 -33
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +27 -33
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/sidebar.cjs.js +38 -50
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +2 -1
- package/sidebar/sidebar.esm.js +38 -50
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +38 -50
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +18 -24
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +18 -24
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +18 -24
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/slidemenu.cjs.js +41 -50
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.esm.js +41 -50
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +41 -50
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.js +44 -56
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +44 -56
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +44 -56
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +44 -56
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +44 -56
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +44 -56
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +60 -63
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +2 -2
- package/splitbutton/splitbutton.esm.js +60 -63
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +60 -63
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +48 -60
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +48 -60
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +48 -60
- package/splitter/splitter.min.js +1 -1
- package/stepper/stepper.cjs.js +41 -53
- package/stepper/stepper.cjs.min.js +1 -1
- package/stepper/stepper.esm.js +41 -53
- package/stepper/stepper.esm.min.js +1 -1
- package/stepper/stepper.js +41 -53
- package/stepper/stepper.min.js +1 -1
- package/stepperpanel/stepperpanel.cjs.js +1 -1
- package/stepperpanel/stepperpanel.esm.js +1 -1
- package/stepperpanel/stepperpanel.js +1 -1
- package/steps/steps.cjs.js +42 -59
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +42 -59
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +42 -59
- package/steps/steps.min.js +1 -1
- package/styleclass/styleclass.cjs.js +14 -15
- package/styleclass/styleclass.cjs.min.js +1 -1
- package/styleclass/styleclass.esm.js +14 -15
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +14 -15
- package/styleclass/styleclass.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +44 -56
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +44 -56
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +44 -56
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +45 -52
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +45 -52
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +45 -52
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +17 -23
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +17 -23
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +17 -23
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +21 -22
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +21 -22
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +21 -22
- package/terminal/terminal.min.js +1 -1
- package/terminalservice/terminalservice.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +53 -59
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +53 -59
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +53 -59
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.js +24 -35
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +24 -35
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +24 -35
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.js +55 -75
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +55 -75
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +55 -75
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +25 -36
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +25 -36
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +25 -36
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/toolbar.cjs.js +1 -1
- package/toolbar/toolbar.esm.js +1 -1
- package/toolbar/toolbar.js +1 -1
- package/tooltip/tooltip.cjs.js +51 -57
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +51 -57
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +51 -57
- package/tooltip/tooltip.min.js +1 -1
- package/tree/tree.cjs.js +76 -88
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +76 -88
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +76 -88
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.cjs.js +57 -68
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +57 -68
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +57 -68
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +98 -105
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +1 -1
- package/treetable/treetable.esm.js +98 -105
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +98 -105
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +100 -46
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +101 -46
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +100 -46
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +70 -90
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +1 -1
- package/utils/utils.esm.js +70 -90
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +70 -90
- package/utils/utils.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +38 -50
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +38 -50
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +38 -50
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +3 -3
|
@@ -19,18 +19,13 @@ import { InputText } from 'primereact/inputtext';
|
|
|
19
19
|
import { Ripple } from 'primereact/ripple';
|
|
20
20
|
|
|
21
21
|
function _extends() {
|
|
22
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
23
|
-
for (var
|
|
24
|
-
var
|
|
25
|
-
for (var
|
|
26
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
27
|
-
target[key] = source[key];
|
|
28
|
-
}
|
|
29
|
-
}
|
|
22
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
23
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
24
|
+
var t = arguments[e];
|
|
25
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
30
26
|
}
|
|
31
|
-
return
|
|
32
|
-
};
|
|
33
|
-
return _extends.apply(this, arguments);
|
|
27
|
+
return n;
|
|
28
|
+
}, _extends.apply(null, arguments);
|
|
34
29
|
}
|
|
35
30
|
|
|
36
31
|
function _typeof(o) {
|
|
@@ -43,74 +38,67 @@ function _typeof(o) {
|
|
|
43
38
|
}, _typeof(o);
|
|
44
39
|
}
|
|
45
40
|
|
|
46
|
-
function
|
|
47
|
-
if (
|
|
48
|
-
var
|
|
49
|
-
if (
|
|
50
|
-
var
|
|
51
|
-
if (
|
|
41
|
+
function toPrimitive(t, r) {
|
|
42
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
43
|
+
var e = t[Symbol.toPrimitive];
|
|
44
|
+
if (void 0 !== e) {
|
|
45
|
+
var i = e.call(t, r || "default");
|
|
46
|
+
if ("object" != _typeof(i)) return i;
|
|
52
47
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
53
48
|
}
|
|
54
|
-
return (
|
|
49
|
+
return ("string" === r ? String : Number)(t);
|
|
55
50
|
}
|
|
56
51
|
|
|
57
|
-
function
|
|
58
|
-
var
|
|
59
|
-
return _typeof(
|
|
52
|
+
function toPropertyKey(t) {
|
|
53
|
+
var i = toPrimitive(t, "string");
|
|
54
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
60
55
|
}
|
|
61
56
|
|
|
62
|
-
function _defineProperty(
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
writable: true
|
|
70
|
-
});
|
|
71
|
-
} else {
|
|
72
|
-
obj[key] = value;
|
|
73
|
-
}
|
|
74
|
-
return obj;
|
|
57
|
+
function _defineProperty(e, r, t) {
|
|
58
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
59
|
+
value: t,
|
|
60
|
+
enumerable: !0,
|
|
61
|
+
configurable: !0,
|
|
62
|
+
writable: !0
|
|
63
|
+
}) : e[r] = t, e;
|
|
75
64
|
}
|
|
76
65
|
|
|
77
|
-
function _arrayLikeToArray$1(
|
|
78
|
-
|
|
79
|
-
for (var
|
|
80
|
-
return
|
|
66
|
+
function _arrayLikeToArray$1(r, a) {
|
|
67
|
+
(null == a || a > r.length) && (a = r.length);
|
|
68
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
69
|
+
return n;
|
|
81
70
|
}
|
|
82
71
|
|
|
83
|
-
function _arrayWithoutHoles(
|
|
84
|
-
if (Array.isArray(
|
|
72
|
+
function _arrayWithoutHoles(r) {
|
|
73
|
+
if (Array.isArray(r)) return _arrayLikeToArray$1(r);
|
|
85
74
|
}
|
|
86
75
|
|
|
87
|
-
function _iterableToArray(
|
|
88
|
-
if (typeof Symbol
|
|
76
|
+
function _iterableToArray(r) {
|
|
77
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
89
78
|
}
|
|
90
79
|
|
|
91
|
-
function _unsupportedIterableToArray$1(
|
|
92
|
-
if (
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
|
|
80
|
+
function _unsupportedIterableToArray$1(r, a) {
|
|
81
|
+
if (r) {
|
|
82
|
+
if ("string" == typeof r) return _arrayLikeToArray$1(r, a);
|
|
83
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
84
|
+
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$1(r, a) : void 0;
|
|
85
|
+
}
|
|
98
86
|
}
|
|
99
87
|
|
|
100
88
|
function _nonIterableSpread() {
|
|
101
89
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
102
90
|
}
|
|
103
91
|
|
|
104
|
-
function _toConsumableArray(
|
|
105
|
-
return _arrayWithoutHoles(
|
|
92
|
+
function _toConsumableArray(r) {
|
|
93
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$1(r) || _nonIterableSpread();
|
|
106
94
|
}
|
|
107
95
|
|
|
108
|
-
function _readOnlyError(
|
|
109
|
-
throw new TypeError("
|
|
96
|
+
function _readOnlyError(r) {
|
|
97
|
+
throw new TypeError('"' + r + '" is read-only');
|
|
110
98
|
}
|
|
111
99
|
|
|
112
|
-
function _arrayWithHoles(
|
|
113
|
-
if (Array.isArray(
|
|
100
|
+
function _arrayWithHoles(r) {
|
|
101
|
+
if (Array.isArray(r)) return r;
|
|
114
102
|
}
|
|
115
103
|
|
|
116
104
|
function _iterableToArrayLimit(r, l) {
|
|
@@ -145,8 +133,8 @@ function _nonIterableRest() {
|
|
|
145
133
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
146
134
|
}
|
|
147
135
|
|
|
148
|
-
function _slicedToArray(
|
|
149
|
-
return _arrayWithHoles(
|
|
136
|
+
function _slicedToArray(r, e) {
|
|
137
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$1(r, e) || _nonIterableRest();
|
|
150
138
|
}
|
|
151
139
|
|
|
152
140
|
var classes$1 = {
|
|
@@ -376,7 +364,7 @@ var CheckboxBase = ComponentBase.extend({
|
|
|
376
364
|
|
|
377
365
|
function ownKeys$4(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; }
|
|
378
366
|
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
379
|
-
var Checkbox = /*#__PURE__*/React.memo(
|
|
367
|
+
var Checkbox = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
380
368
|
var mergeProps = useMergeProps();
|
|
381
369
|
var context = React.useContext(PrimeReactContext);
|
|
382
370
|
var props = CheckboxBase.getProps(inProps, context);
|
|
@@ -776,7 +764,7 @@ MultiSelectItem.displayName = 'MultiSelectItem';
|
|
|
776
764
|
|
|
777
765
|
function ownKeys$1(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; }
|
|
778
766
|
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
779
|
-
var MultiSelectPanel = /*#__PURE__*/React.memo(
|
|
767
|
+
var MultiSelectPanel = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
780
768
|
var virtualScrollerRef = React.useRef(null);
|
|
781
769
|
var filterInputRef = React.useRef(null);
|
|
782
770
|
var mergeProps = useMergeProps();
|
|
@@ -863,34 +851,6 @@ var MultiSelectPanel = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(fu
|
|
|
863
851
|
props === null || props === void 0 || (_props$changeFocusedO = props.changeFocusedOptionIndex) === null || _props$changeFocusedO === void 0 || _props$changeFocusedO.call(props, event, index);
|
|
864
852
|
}
|
|
865
853
|
};
|
|
866
|
-
var createGroupChildren = function createGroupChildren(optionGroup, style) {
|
|
867
|
-
var groupChildren = props.getOptionGroupChildren(optionGroup);
|
|
868
|
-
return groupChildren.map(function (option, j) {
|
|
869
|
-
var optionLabel = props.getOptionLabel(option);
|
|
870
|
-
var optionKey = j + '_' + props.getOptionRenderKey(option);
|
|
871
|
-
var disabled = props.isOptionDisabled(option);
|
|
872
|
-
var selected = props.isSelected(option);
|
|
873
|
-
return /*#__PURE__*/React.createElement(MultiSelectItem, {
|
|
874
|
-
hostName: props.hostName,
|
|
875
|
-
index: j,
|
|
876
|
-
key: optionKey,
|
|
877
|
-
focusedOptionIndex: props.focusedOptionIndex,
|
|
878
|
-
label: optionLabel,
|
|
879
|
-
option: option,
|
|
880
|
-
style: style,
|
|
881
|
-
template: props.itemTemplate,
|
|
882
|
-
selected: selected,
|
|
883
|
-
onClick: props.onOptionSelect,
|
|
884
|
-
onMouseMove: changeFocusedItemOnHover,
|
|
885
|
-
disabled: disabled,
|
|
886
|
-
className: props.itemClassName,
|
|
887
|
-
checkboxIcon: props.checkboxIcon,
|
|
888
|
-
isUnstyled: isUnstyled,
|
|
889
|
-
ptm: ptm,
|
|
890
|
-
cx: cx
|
|
891
|
-
});
|
|
892
|
-
});
|
|
893
|
-
};
|
|
894
854
|
var createEmptyFilter = function createEmptyFilter() {
|
|
895
855
|
var emptyFilterMessage = ObjectUtils.getJSXElement(props.emptyFilterMessage, props) || localeOption('emptyFilterMessage');
|
|
896
856
|
var emptyMessageProps = mergeProps({
|
|
@@ -914,9 +874,8 @@ var MultiSelectPanel = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(fu
|
|
|
914
874
|
var style = {
|
|
915
875
|
height: scrollerOptions.props ? scrollerOptions.props.itemSize : undefined
|
|
916
876
|
};
|
|
917
|
-
if (props.optionGroupLabel) {
|
|
877
|
+
if (option.group && props.optionGroupLabel) {
|
|
918
878
|
var groupContent = props.optionGroupTemplate ? ObjectUtils.getJSXElement(props.optionGroupTemplate, option, index) : props.getOptionGroupLabel(option);
|
|
919
|
-
var groupChildrenContent = createGroupChildren(option, style);
|
|
920
879
|
var key = index + '_' + props.getOptionGroupRenderKey(option);
|
|
921
880
|
var itemGroupProps = mergeProps({
|
|
922
881
|
className: cx('itemGroup'),
|
|
@@ -924,11 +883,9 @@ var MultiSelectPanel = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(fu
|
|
|
924
883
|
scrollerOptions: scrollerOptions
|
|
925
884
|
})
|
|
926
885
|
}, getPTOptions('itemGroup'));
|
|
927
|
-
return /*#__PURE__*/React.createElement(
|
|
928
|
-
key: key
|
|
929
|
-
}, /*#__PURE__*/React.createElement("li", _extends({}, itemGroupProps, {
|
|
886
|
+
return /*#__PURE__*/React.createElement("li", _extends({
|
|
930
887
|
key: key
|
|
931
|
-
}
|
|
888
|
+
}, itemGroupProps), groupContent);
|
|
932
889
|
}
|
|
933
890
|
var optionLabel = props.getOptionLabel(option);
|
|
934
891
|
var optionKey = index + '_' + props.getOptionRenderKey(option);
|
|
@@ -1041,6 +998,7 @@ var MultiSelectPanel = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(fu
|
|
|
1041
998
|
exit: 100
|
|
1042
999
|
},
|
|
1043
1000
|
options: props.transitionOptions,
|
|
1001
|
+
appear: true,
|
|
1044
1002
|
unmountOnExit: true,
|
|
1045
1003
|
onEnter: onEnter,
|
|
1046
1004
|
onEntered: onEntered,
|
|
@@ -1086,10 +1044,10 @@ MultiSelectPanel.displayName = 'MultiSelectPanel';
|
|
|
1086
1044
|
|
|
1087
1045
|
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; }
|
|
1088
1046
|
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; }
|
|
1089
|
-
function _createForOfIteratorHelper(
|
|
1090
|
-
function _unsupportedIterableToArray(
|
|
1091
|
-
function _arrayLikeToArray(
|
|
1092
|
-
var MultiSelect = /*#__PURE__*/React.memo(
|
|
1047
|
+
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; } } }; }
|
|
1048
|
+
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; } }
|
|
1049
|
+
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; }
|
|
1050
|
+
var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
1093
1051
|
var mergeProps = useMergeProps();
|
|
1094
1052
|
var context = React.useContext(PrimeReactContext);
|
|
1095
1053
|
var props = MultiSelectBase.getProps(inProps, context);
|
|
@@ -1123,8 +1081,9 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1123
1081
|
var firstHiddenFocusableElementOnOverlay = React.useRef(null);
|
|
1124
1082
|
var lastHiddenFocusableElementOnOverlay = React.useRef(null);
|
|
1125
1083
|
var inputRef = React.useRef(props.inputRef);
|
|
1126
|
-
var
|
|
1084
|
+
var labelContainerRef = React.useRef(null);
|
|
1127
1085
|
var overlayRef = React.useRef(null);
|
|
1086
|
+
var labelRef = React.useRef(null);
|
|
1128
1087
|
var hasFilter = filterState && filterState.trim().length > 0;
|
|
1129
1088
|
var empty = ObjectUtils.isEmpty(props.value);
|
|
1130
1089
|
var equalityKey = props.optionValue ? null : props.dataKey;
|
|
@@ -1404,7 +1363,7 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1404
1363
|
onShiftKey();
|
|
1405
1364
|
break;
|
|
1406
1365
|
default:
|
|
1407
|
-
if (event.
|
|
1366
|
+
if (event.key === 'a' && metaKey) {
|
|
1408
1367
|
var value = visibleOptions.filter(function (option) {
|
|
1409
1368
|
return isValidOption(option);
|
|
1410
1369
|
}).map(function (option) {
|
|
@@ -1430,29 +1389,12 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1430
1389
|
var value = null;
|
|
1431
1390
|
if (event.checked) {
|
|
1432
1391
|
value = [];
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
});
|
|
1437
|
-
value = selectedOptions.map(function (option) {
|
|
1438
|
-
return getOptionValue(option);
|
|
1439
|
-
});
|
|
1440
|
-
}
|
|
1441
|
-
} else if (visibleOptions) {
|
|
1442
|
-
var options = visibleOptions.filter(function (option) {
|
|
1443
|
-
return !isOptionDisabled(option) || isSelected(option);
|
|
1392
|
+
} else {
|
|
1393
|
+
var validOptions = visibleOptions.filter(function (option) {
|
|
1394
|
+
return isValidOption(option) && !isOptionDisabled(option);
|
|
1444
1395
|
});
|
|
1445
|
-
if (
|
|
1446
|
-
value =
|
|
1447
|
-
options.forEach(function (optionGroup) {
|
|
1448
|
-
return value = [].concat(_toConsumableArray(value), _toConsumableArray(getOptionGroupChildren(optionGroup).filter(function (option) {
|
|
1449
|
-
return !isOptionDisabled(option);
|
|
1450
|
-
}).map(function (option) {
|
|
1451
|
-
return getOptionValue(option);
|
|
1452
|
-
})));
|
|
1453
|
-
});
|
|
1454
|
-
} else {
|
|
1455
|
-
value = options.map(function (option) {
|
|
1396
|
+
if (validOptions) {
|
|
1397
|
+
value = validOptions.map(function (option) {
|
|
1456
1398
|
return getOptionValue(option);
|
|
1457
1399
|
});
|
|
1458
1400
|
}
|
|
@@ -1556,7 +1498,7 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1556
1498
|
props.onHide && props.onHide();
|
|
1557
1499
|
};
|
|
1558
1500
|
var alignOverlay = function alignOverlay() {
|
|
1559
|
-
DomHandler.alignOverlay(overlayRef.current,
|
|
1501
|
+
!props.inline && DomHandler.alignOverlay(overlayRef.current, labelContainerRef.current.parentElement, props.appendTo || context && context.appendTo || PrimeReact.appendTo);
|
|
1560
1502
|
};
|
|
1561
1503
|
var isClearClicked = function isClearClicked(event) {
|
|
1562
1504
|
return DomHandler.getAttribute(event.target, 'data-pc-section') === 'clearicon';
|
|
@@ -1658,31 +1600,8 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1658
1600
|
return false;
|
|
1659
1601
|
}
|
|
1660
1602
|
var options = visibleOptions.filter(function (option) {
|
|
1661
|
-
return !isOptionDisabled(option);
|
|
1603
|
+
return !isOptionDisabled(option) && isValidOption(option);
|
|
1662
1604
|
});
|
|
1663
|
-
if (props.optionGroupLabel) {
|
|
1664
|
-
var areAllSelected = true;
|
|
1665
|
-
var _iterator2 = _createForOfIteratorHelper(options),
|
|
1666
|
-
_step2;
|
|
1667
|
-
try {
|
|
1668
|
-
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
1669
|
-
var optionGroup = _step2.value;
|
|
1670
|
-
var visibleOptionsGroupChildren = getOptionGroupChildren(optionGroup).filter(function (option) {
|
|
1671
|
-
return !isOptionDisabled(option);
|
|
1672
|
-
});
|
|
1673
|
-
if (visibleOptionsGroupChildren.some(function (option) {
|
|
1674
|
-
return !isSelected(option);
|
|
1675
|
-
}) === true) {
|
|
1676
|
-
areAllSelected = false;
|
|
1677
|
-
}
|
|
1678
|
-
}
|
|
1679
|
-
} catch (err) {
|
|
1680
|
-
_iterator2.e(err);
|
|
1681
|
-
} finally {
|
|
1682
|
-
_iterator2.f();
|
|
1683
|
-
}
|
|
1684
|
-
return areAllSelected;
|
|
1685
|
-
}
|
|
1686
1605
|
return !options.some(function (option) {
|
|
1687
1606
|
return !isSelected(option);
|
|
1688
1607
|
});
|
|
@@ -1732,7 +1651,7 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1732
1651
|
return !props.useOptionAsValue && props.optionValue || option && option.value !== undefined;
|
|
1733
1652
|
};
|
|
1734
1653
|
var isOptionGroup = function isOptionGroup(option) {
|
|
1735
|
-
return props.optionGroupLabel && option.
|
|
1654
|
+
return props.optionGroupLabel && option.group;
|
|
1736
1655
|
};
|
|
1737
1656
|
var hasSelectedOption = function hasSelectedOption() {
|
|
1738
1657
|
return ObjectUtils.isNotEmpty(props.value);
|
|
@@ -1843,6 +1762,7 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1843
1762
|
};
|
|
1844
1763
|
var removeChip = function removeChip(event, item) {
|
|
1845
1764
|
event.stopPropagation();
|
|
1765
|
+
if (!isVisible(event.currentTarget)) return;
|
|
1846
1766
|
var value = props.value.filter(function (val) {
|
|
1847
1767
|
return !ObjectUtils.equals(val, item, equalityKey);
|
|
1848
1768
|
});
|
|
@@ -1854,6 +1774,17 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1854
1774
|
}
|
|
1855
1775
|
updateModel(event, value, item);
|
|
1856
1776
|
};
|
|
1777
|
+
var isVisible = function isVisible(element) {
|
|
1778
|
+
var parentElement = labelRef.current;
|
|
1779
|
+
var isOverflow = parentElement.clientWidth < parentElement.scrollWidth;
|
|
1780
|
+
if (!isOverflow) return true;
|
|
1781
|
+
var target = element.closest('[data-pc-section="token"]');
|
|
1782
|
+
var parentStyles = window.getComputedStyle(parentElement);
|
|
1783
|
+
var targetStyles = window.getComputedStyle(target);
|
|
1784
|
+
var parentWidth = parentElement.clientWidth - parseFloat(parentStyles.paddingLeft) - parseFloat(parentStyles.paddingRight);
|
|
1785
|
+
var targetRight = target.getBoundingClientRect().right + parseFloat(targetStyles.marginRight) - parentElement.getBoundingClientRect().left;
|
|
1786
|
+
return targetRight <= parentWidth;
|
|
1787
|
+
};
|
|
1857
1788
|
var getSelectedItemsLabel = function getSelectedItemsLabel() {
|
|
1858
1789
|
var pattern = /{(.*?)}/;
|
|
1859
1790
|
var selectedItemsLabel = props.selectedItemsLabel || localeOption('selectionMessage');
|
|
@@ -1904,10 +1835,15 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1904
1835
|
var label = getLabelByValue(val);
|
|
1905
1836
|
var labelKey = label + '_' + i;
|
|
1906
1837
|
var iconProps = mergeProps({
|
|
1838
|
+
'aria-label': localeOption('removeTokenIcon'),
|
|
1907
1839
|
className: cx('removeTokenIcon'),
|
|
1908
1840
|
onClick: function onClick(e) {
|
|
1909
1841
|
return removeChip(e, val);
|
|
1910
|
-
}
|
|
1842
|
+
},
|
|
1843
|
+
onKeyDown: function onKeyDown(e) {
|
|
1844
|
+
return onRemoveTokenIconKeyDown(e, val);
|
|
1845
|
+
},
|
|
1846
|
+
tabIndex: props.tabIndex || '0'
|
|
1911
1847
|
}, ptm('removeTokenIcon', context));
|
|
1912
1848
|
var icon = !props.disabled && (props.removeIcon ? IconUtils.getJSXIcon(props.removeIcon, _objectSpread({}, iconProps), {
|
|
1913
1849
|
props: props
|
|
@@ -1926,31 +1862,73 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1926
1862
|
return getLabel();
|
|
1927
1863
|
};
|
|
1928
1864
|
var getVisibleOptions = function getVisibleOptions() {
|
|
1865
|
+
var options = props.optionGroupLabel ? flatOptions(props.options) : props.options;
|
|
1929
1866
|
if (hasFilter) {
|
|
1930
1867
|
var filterValue = filterState.trim().toLocaleLowerCase(props.filterLocale);
|
|
1931
1868
|
var searchFields = props.filterBy ? props.filterBy.split(',') : [props.optionLabel || 'label'];
|
|
1932
1869
|
if (props.optionGroupLabel) {
|
|
1933
1870
|
var filteredGroups = [];
|
|
1934
|
-
var
|
|
1935
|
-
|
|
1871
|
+
var _iterator2 = _createForOfIteratorHelper(props.options),
|
|
1872
|
+
_step2;
|
|
1936
1873
|
try {
|
|
1937
|
-
for (
|
|
1938
|
-
var optgroup =
|
|
1874
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
1875
|
+
var optgroup = _step2.value;
|
|
1939
1876
|
var filteredSubOptions = FilterService.filter(getOptionGroupChildren(optgroup), searchFields, filterValue, props.filterMatchMode, props.filterLocale);
|
|
1940
1877
|
if (filteredSubOptions && filteredSubOptions.length) {
|
|
1941
1878
|
filteredGroups.push(_objectSpread(_objectSpread({}, optgroup), _defineProperty({}, props.optionGroupChildren, filteredSubOptions)));
|
|
1942
1879
|
}
|
|
1943
1880
|
}
|
|
1944
1881
|
} catch (err) {
|
|
1945
|
-
|
|
1882
|
+
_iterator2.e(err);
|
|
1946
1883
|
} finally {
|
|
1947
|
-
|
|
1884
|
+
_iterator2.f();
|
|
1948
1885
|
}
|
|
1949
|
-
return filteredGroups;
|
|
1886
|
+
return flatOptions(filteredGroups);
|
|
1950
1887
|
}
|
|
1951
|
-
return FilterService.filter(
|
|
1888
|
+
return FilterService.filter(options, searchFields, filterValue, props.filterMatchMode, props.filterLocale);
|
|
1889
|
+
}
|
|
1890
|
+
return options;
|
|
1891
|
+
};
|
|
1892
|
+
var flatOptions = function flatOptions(options) {
|
|
1893
|
+
return (options || []).reduce(function (result, option, index) {
|
|
1894
|
+
result.push(_objectSpread(_objectSpread({}, option), {}, {
|
|
1895
|
+
group: true,
|
|
1896
|
+
index: index
|
|
1897
|
+
}));
|
|
1898
|
+
var optionGroupChildren = getOptionGroupChildren(option);
|
|
1899
|
+
optionGroupChildren && optionGroupChildren.forEach(function (o) {
|
|
1900
|
+
return result.push(o);
|
|
1901
|
+
});
|
|
1902
|
+
return result;
|
|
1903
|
+
}, []);
|
|
1904
|
+
};
|
|
1905
|
+
var onClearIconKeyDown = function onClearIconKeyDown(event) {
|
|
1906
|
+
event.preventDefault();
|
|
1907
|
+
event.stopPropagation();
|
|
1908
|
+
switch (event.code) {
|
|
1909
|
+
case 'Space':
|
|
1910
|
+
case 'NumpadEnter':
|
|
1911
|
+
case 'Enter':
|
|
1912
|
+
if (props.inline) {
|
|
1913
|
+
break;
|
|
1914
|
+
}
|
|
1915
|
+
updateModel(event, [], []);
|
|
1916
|
+
break;
|
|
1917
|
+
}
|
|
1918
|
+
};
|
|
1919
|
+
var onRemoveTokenIconKeyDown = function onRemoveTokenIconKeyDown(event, val) {
|
|
1920
|
+
event.preventDefault();
|
|
1921
|
+
event.stopPropagation();
|
|
1922
|
+
switch (event.code) {
|
|
1923
|
+
case 'Space':
|
|
1924
|
+
case 'NumpadEnter':
|
|
1925
|
+
case 'Enter':
|
|
1926
|
+
if (props.inline) {
|
|
1927
|
+
break;
|
|
1928
|
+
}
|
|
1929
|
+
removeChip(event, val);
|
|
1930
|
+
break;
|
|
1952
1931
|
}
|
|
1953
|
-
return props.options;
|
|
1954
1932
|
};
|
|
1955
1933
|
React.useImperativeHandle(ref, function () {
|
|
1956
1934
|
return {
|
|
@@ -1978,9 +1956,11 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1978
1956
|
ObjectUtils.combinedRefs(inputRef, props.inputRef);
|
|
1979
1957
|
}, [inputRef, props.inputRef]);
|
|
1980
1958
|
React.useEffect(function () {
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
}
|
|
1959
|
+
if (props.overlayVisible === true) {
|
|
1960
|
+
show();
|
|
1961
|
+
} else if (props.overlayVisible === false) {
|
|
1962
|
+
hide();
|
|
1963
|
+
}
|
|
1984
1964
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1985
1965
|
}, [props.overlayVisible]);
|
|
1986
1966
|
useUpdateEffect(function () {
|
|
@@ -1994,9 +1974,14 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1994
1974
|
var createClearIcon = function createClearIcon() {
|
|
1995
1975
|
var clearIconProps = mergeProps({
|
|
1996
1976
|
className: cx('clearIcon'),
|
|
1977
|
+
'aria-label': localeOption('clear'),
|
|
1997
1978
|
onClick: function onClick(e) {
|
|
1998
1979
|
return updateModel(e, [], []);
|
|
1999
|
-
}
|
|
1980
|
+
},
|
|
1981
|
+
onKeyDown: function onKeyDown(e) {
|
|
1982
|
+
return onClearIconKeyDown(e);
|
|
1983
|
+
},
|
|
1984
|
+
tabIndex: props.tabIndex || '0'
|
|
2000
1985
|
}, ptm('clearIcon'));
|
|
2001
1986
|
var icon = props.clearIcon || /*#__PURE__*/React.createElement(TimesIcon, clearIconProps);
|
|
2002
1987
|
var clearIcon = IconUtils.getJSXIcon(icon, _objectSpread({}, clearIconProps), {
|
|
@@ -2010,10 +1995,11 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
2010
1995
|
var createLabel = function createLabel() {
|
|
2011
1996
|
var content = getLabelContent();
|
|
2012
1997
|
var labelContainerProps = mergeProps({
|
|
2013
|
-
ref:
|
|
1998
|
+
ref: labelContainerRef,
|
|
2014
1999
|
className: cx('labelContainer')
|
|
2015
2000
|
}, ptm('labelContainer'));
|
|
2016
2001
|
var labelProps = mergeProps({
|
|
2002
|
+
ref: labelRef,
|
|
2017
2003
|
className: cx('label', {
|
|
2018
2004
|
empty: empty
|
|
2019
2005
|
})
|
|
@@ -2022,7 +2008,7 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
2022
2008
|
};
|
|
2023
2009
|
var getInputValue = function getInputValue() {
|
|
2024
2010
|
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
2025
|
-
if (
|
|
2011
|
+
if (Array.isArray(value)) {
|
|
2026
2012
|
return value.map(function (val) {
|
|
2027
2013
|
return getLabelByValue(val);
|
|
2028
2014
|
}).join(', ');
|