primereact 10.8.4 → 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 +43 -55
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +43 -55
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +43 -55
- 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 +72 -71
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +72 -71
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +72 -71
- 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 +17 -23
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +17 -23
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +17 -23
- 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 +37 -49
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +37 -49
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +37 -49
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +23 -34
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +23 -34
- package/button/button.esm.min.js +1 -1
- package/button/button.js +23 -34
- package/button/button.min.js +1 -1
- package/calendar/calendar.cjs.js +48 -60
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +48 -60
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +48 -60
- package/calendar/calendar.min.js +1 -1
- package/carousel/carousel.cjs.js +43 -55
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +43 -55
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +43 -55
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +40 -52
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +40 -52
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +40 -52
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/checkbox/checkbox.cjs.js +37 -49
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +37 -49
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +37 -49
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +37 -49
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +37 -49
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +37 -49
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +46 -56
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +46 -56
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +46 -56
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +37 -49
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +37 -49
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +37 -49
- package/colorpicker/colorpicker.min.js +1 -1
- package/componentbase/componentbase.cjs.js +33 -40
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.js +33 -40
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.js +33 -40
- package/componentbase/componentbase.min.js +1 -1
- package/confirmdialog/confirmdialog.cjs.js +37 -49
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +37 -49
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +37 -49
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +37 -49
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +37 -49
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +37 -49
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +37 -49
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +37 -49
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +37 -49
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +1008 -1436
- package/core/core.min.js +67 -67
- package/csstransition/csstransition.cjs.js +17 -23
- package/csstransition/csstransition.cjs.min.js +1 -1
- package/csstransition/csstransition.esm.js +17 -23
- package/csstransition/csstransition.esm.min.js +1 -1
- package/csstransition/csstransition.js +17 -23
- package/csstransition/csstransition.min.js +1 -1
- package/datascroller/datascroller.cjs.js +26 -32
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.esm.js +26 -32
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +26 -32
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +94 -113
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +94 -113
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +94 -113
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +46 -58
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +46 -58
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +46 -58
- 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 +44 -56
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +44 -56
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +44 -56
- package/dialog/dialog.min.js +1 -1
- package/dock/dock.cjs.js +43 -55
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +43 -55
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +43 -55
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +46 -58
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +46 -58
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +46 -58
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +37 -49
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +37 -49
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +37 -49
- 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 +48 -60
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +48 -60
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +48 -60
- package/fileupload/fileupload.min.js +1 -1
- package/focustrap/focustrap.cjs.js +17 -23
- package/focustrap/focustrap.cjs.min.js +1 -1
- package/focustrap/focustrap.esm.js +17 -23
- package/focustrap/focustrap.esm.min.js +1 -1
- package/focustrap/focustrap.js +17 -23
- package/focustrap/focustrap.min.js +1 -1
- package/galleria/galleria.cjs.js +43 -55
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +43 -55
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +43 -55
- package/galleria/galleria.min.js +1 -1
- package/hooks/hooks.cjs.js +37 -44
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.esm.js +37 -44
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +37 -44
- package/hooks/hooks.min.js +1 -1
- package/iconfield/iconfield.cjs.js +23 -34
- package/iconfield/iconfield.cjs.min.js +1 -1
- package/iconfield/iconfield.esm.js +23 -34
- package/iconfield/iconfield.esm.min.js +1 -1
- package/iconfield/iconfield.js +23 -34
- package/iconfield/iconfield.min.js +1 -1
- package/icons/angledoubledown/index.cjs.js +6 -11
- package/icons/angledoubledown/index.cjs.min.js +1 -1
- package/icons/angledoubledown/index.esm.js +6 -11
- package/icons/angledoubledown/index.esm.min.js +1 -1
- package/icons/angledoubledown/index.js +6 -11
- package/icons/angledoubledown/index.min.js +1 -1
- package/icons/angledoubleleft/index.cjs.js +6 -11
- package/icons/angledoubleleft/index.cjs.min.js +1 -1
- package/icons/angledoubleleft/index.esm.js +6 -11
- package/icons/angledoubleleft/index.esm.min.js +1 -1
- package/icons/angledoubleleft/index.js +6 -11
- package/icons/angledoubleleft/index.min.js +1 -1
- package/icons/angledoubleright/index.cjs.js +6 -11
- package/icons/angledoubleright/index.cjs.min.js +1 -1
- package/icons/angledoubleright/index.esm.js +6 -11
- package/icons/angledoubleright/index.esm.min.js +1 -1
- package/icons/angledoubleright/index.js +6 -11
- package/icons/angledoubleright/index.min.js +1 -1
- package/icons/angledoubleup/index.cjs.js +6 -11
- package/icons/angledoubleup/index.cjs.min.js +1 -1
- package/icons/angledoubleup/index.esm.js +6 -11
- package/icons/angledoubleup/index.esm.min.js +1 -1
- package/icons/angledoubleup/index.js +6 -11
- package/icons/angledoubleup/index.min.js +1 -1
- package/icons/angledown/index.cjs.js +6 -11
- package/icons/angledown/index.cjs.min.js +1 -1
- package/icons/angledown/index.esm.js +6 -11
- package/icons/angledown/index.esm.min.js +1 -1
- package/icons/angledown/index.js +6 -11
- package/icons/angledown/index.min.js +1 -1
- package/icons/angleleft/index.cjs.js +6 -11
- package/icons/angleleft/index.cjs.min.js +1 -1
- package/icons/angleleft/index.esm.js +6 -11
- package/icons/angleleft/index.esm.min.js +1 -1
- package/icons/angleleft/index.js +6 -11
- package/icons/angleleft/index.min.js +1 -1
- package/icons/angleright/index.cjs.js +6 -11
- package/icons/angleright/index.cjs.min.js +1 -1
- package/icons/angleright/index.esm.js +6 -11
- package/icons/angleright/index.esm.min.js +1 -1
- package/icons/angleright/index.js +6 -11
- package/icons/angleright/index.min.js +1 -1
- package/icons/angleup/index.cjs.js +6 -11
- package/icons/angleup/index.cjs.min.js +1 -1
- package/icons/angleup/index.esm.js +6 -11
- package/icons/angleup/index.esm.min.js +1 -1
- package/icons/angleup/index.js +6 -11
- package/icons/angleup/index.min.js +1 -1
- package/icons/arrowdown/index.cjs.js +6 -11
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +6 -11
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +6 -11
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowup/index.cjs.js +6 -11
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +6 -11
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +6 -11
- package/icons/arrowup/index.min.js +1 -1
- package/icons/ban/index.cjs.js +6 -11
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +6 -11
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +6 -11
- package/icons/ban/index.min.js +1 -1
- package/icons/bars/index.cjs.js +6 -11
- package/icons/bars/index.cjs.min.js +1 -1
- package/icons/bars/index.esm.js +6 -11
- package/icons/bars/index.esm.min.js +1 -1
- package/icons/bars/index.js +6 -11
- package/icons/bars/index.min.js +1 -1
- package/icons/blank/index.cjs.js +6 -11
- package/icons/blank/index.cjs.min.js +1 -1
- package/icons/blank/index.esm.js +6 -11
- package/icons/blank/index.esm.min.js +1 -1
- package/icons/blank/index.js +6 -11
- package/icons/blank/index.min.js +1 -1
- package/icons/calendar/index.cjs.js +6 -11
- package/icons/calendar/index.cjs.min.js +1 -1
- package/icons/calendar/index.esm.js +6 -11
- package/icons/calendar/index.esm.min.js +1 -1
- package/icons/calendar/index.js +6 -11
- package/icons/calendar/index.min.js +1 -1
- package/icons/check/index.cjs.js +6 -11
- package/icons/check/index.cjs.min.js +1 -1
- package/icons/check/index.esm.js +6 -11
- package/icons/check/index.esm.min.js +1 -1
- package/icons/check/index.js +6 -11
- package/icons/check/index.min.js +1 -1
- package/icons/chevrondown/index.cjs.js +6 -11
- package/icons/chevrondown/index.cjs.min.js +1 -1
- package/icons/chevrondown/index.esm.js +6 -11
- package/icons/chevrondown/index.esm.min.js +1 -1
- package/icons/chevrondown/index.js +6 -11
- package/icons/chevrondown/index.min.js +1 -1
- package/icons/chevronleft/index.cjs.js +6 -11
- package/icons/chevronleft/index.cjs.min.js +1 -1
- package/icons/chevronleft/index.esm.js +6 -11
- package/icons/chevronleft/index.esm.min.js +1 -1
- package/icons/chevronleft/index.js +6 -11
- package/icons/chevronleft/index.min.js +1 -1
- package/icons/chevronright/index.cjs.js +6 -11
- package/icons/chevronright/index.cjs.min.js +1 -1
- package/icons/chevronright/index.esm.js +6 -11
- package/icons/chevronright/index.esm.min.js +1 -1
- package/icons/chevronright/index.js +6 -11
- package/icons/chevronright/index.min.js +1 -1
- package/icons/chevronup/index.cjs.js +6 -11
- package/icons/chevronup/index.cjs.min.js +1 -1
- package/icons/chevronup/index.esm.js +6 -11
- package/icons/chevronup/index.esm.min.js +1 -1
- package/icons/chevronup/index.js +6 -11
- package/icons/chevronup/index.min.js +1 -1
- package/icons/download/index.cjs.js +6 -11
- package/icons/download/index.cjs.min.js +1 -1
- package/icons/download/index.esm.js +6 -11
- package/icons/download/index.esm.min.js +1 -1
- package/icons/download/index.js +6 -11
- package/icons/download/index.min.js +1 -1
- package/icons/exclamationtriangle/index.cjs.js +6 -11
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +6 -11
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +6 -11
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/eye/index.cjs.js +6 -11
- package/icons/eye/index.cjs.min.js +1 -1
- package/icons/eye/index.esm.js +6 -11
- package/icons/eye/index.esm.min.js +1 -1
- package/icons/eye/index.js +6 -11
- package/icons/eye/index.min.js +1 -1
- package/icons/eyeslash/index.cjs.js +6 -11
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +6 -11
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +6 -11
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/filter/index.cjs.js +6 -11
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +6 -11
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +6 -11
- package/icons/filter/index.min.js +1 -1
- package/icons/filterslash/index.cjs.js +6 -11
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +6 -11
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +6 -11
- package/icons/filterslash/index.min.js +1 -1
- package/icons/infocircle/index.cjs.js +6 -11
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +6 -11
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +6 -11
- package/icons/infocircle/index.min.js +1 -1
- package/icons/minus/index.cjs.js +6 -11
- package/icons/minus/index.cjs.min.js +1 -1
- package/icons/minus/index.esm.js +6 -11
- package/icons/minus/index.esm.min.js +1 -1
- package/icons/minus/index.js +6 -11
- package/icons/minus/index.min.js +1 -1
- package/icons/pencil/index.cjs.js +6 -11
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +6 -11
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +6 -11
- package/icons/pencil/index.min.js +1 -1
- package/icons/plus/index.cjs.js +6 -11
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +6 -11
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +6 -11
- package/icons/plus/index.min.js +1 -1
- package/icons/refresh/index.cjs.js +6 -11
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +6 -11
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +6 -11
- package/icons/refresh/index.min.js +1 -1
- package/icons/search/index.cjs.js +6 -11
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +6 -11
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +6 -11
- package/icons/search/index.min.js +1 -1
- package/icons/searchminus/index.cjs.js +6 -11
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +6 -11
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +6 -11
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchplus/index.cjs.js +6 -11
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +6 -11
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +6 -11
- package/icons/searchplus/index.min.js +1 -1
- package/icons/sortalt/index.cjs.js +6 -11
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +6 -11
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +6 -11
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortamountdown/index.cjs.js +6 -11
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +6 -11
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +6 -11
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountupalt/index.cjs.js +6 -11
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +6 -11
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +6 -11
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/spinner/index.cjs.js +6 -11
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +6 -11
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +6 -11
- package/icons/spinner/index.min.js +1 -1
- package/icons/star/index.cjs.js +6 -11
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +6 -11
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +6 -11
- package/icons/star/index.min.js +1 -1
- package/icons/starfill/index.cjs.js +6 -11
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +6 -11
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +6 -11
- package/icons/starfill/index.min.js +1 -1
- package/icons/thlarge/index.cjs.js +6 -11
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +6 -11
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +6 -11
- package/icons/thlarge/index.min.js +1 -1
- package/icons/times/index.cjs.js +6 -11
- package/icons/times/index.cjs.min.js +1 -1
- package/icons/times/index.esm.js +6 -11
- package/icons/times/index.esm.min.js +1 -1
- package/icons/times/index.js +6 -11
- package/icons/times/index.min.js +1 -1
- package/icons/timescircle/index.cjs.js +6 -11
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +6 -11
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +6 -11
- package/icons/timescircle/index.min.js +1 -1
- package/icons/trash/index.cjs.js +6 -11
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +6 -11
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +6 -11
- package/icons/trash/index.min.js +1 -1
- package/icons/undo/index.cjs.js +6 -11
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +6 -11
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +6 -11
- package/icons/undo/index.min.js +1 -1
- package/icons/upload/index.cjs.js +6 -11
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +6 -11
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +6 -11
- package/icons/upload/index.min.js +1 -1
- package/icons/windowmaximize/index.cjs.js +6 -11
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +6 -11
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +6 -11
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowminimize/index.cjs.js +6 -11
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +6 -11
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +6 -11
- package/icons/windowminimize/index.min.js +1 -1
- package/image/image.cjs.js +37 -49
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +37 -49
- package/image/image.esm.min.js +1 -1
- package/image/image.js +37 -49
- 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 +23 -34
- package/inputicon/inputicon.cjs.min.js +1 -1
- package/inputicon/inputicon.esm.js +23 -34
- package/inputicon/inputicon.esm.min.js +1 -1
- package/inputicon/inputicon.js +23 -34
- package/inputicon/inputicon.min.js +1 -1
- package/inputmask/inputmask.cjs.js +8 -12
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +8 -12
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +8 -12
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +46 -55
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +47 -56
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +46 -55
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputotp/inputotp.cjs.js +43 -55
- package/inputotp/inputotp.cjs.min.js +1 -1
- package/inputotp/inputotp.esm.js +43 -55
- package/inputotp/inputotp.esm.min.js +1 -1
- package/inputotp/inputotp.js +43 -55
- package/inputotp/inputotp.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +23 -34
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +23 -34
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +23 -34
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +30 -34
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +30 -34
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +30 -34
- package/inputtext/inputtext.min.js +1 -1
- package/inputtextarea/inputtextarea.cjs.js +25 -35
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.esm.js +25 -35
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +25 -35
- 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 +14 -15
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +14 -15
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +14 -15
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +46 -58
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +46 -58
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +46 -58
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +39 -51
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +39 -51
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +39 -51
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +46 -56
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +46 -56
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +46 -56
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +43 -55
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +43 -55
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +43 -55
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +37 -49
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +37 -49
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +37 -49
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +23 -34
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +23 -34
- package/message/message.esm.min.js +1 -1
- package/message/message.js +23 -34
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +44 -57
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +45 -58
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +44 -57
- 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 +138 -155
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +138 -155
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +138 -155
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +37 -49
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +37 -49
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +37 -49
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +43 -55
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +43 -55
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +43 -55
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +45 -61
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +45 -61
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +45 -61
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +37 -49
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +37 -49
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +37 -49
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/overlayservice/overlayservice.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.js +41 -56
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +41 -56
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +41 -56
- 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 +37 -49
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +37 -49
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +37 -49
- 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 +14 -15
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +14 -15
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +14 -15
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.cjs.js +37 -49
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +37 -49
- package/password/password.esm.min.js +1 -1
- package/password/password.js +37 -49
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +49 -64
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +49 -64
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +49 -64
- 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 +324 -320
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +324 -320
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +324 -320
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.js +23 -34
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +23 -34
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +23 -34
- package/progressbar/progressbar.min.js +1 -1
- package/radiobutton/radiobutton.cjs.js +23 -34
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +23 -34
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +23 -34
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +37 -49
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +37 -49
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +37 -49
- package/rating/rating.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +4 -1
- package/resources/themes/arya-green/theme.css +4 -1
- package/resources/themes/arya-orange/theme.css +4 -1
- package/resources/themes/arya-purple/theme.css +4 -1
- package/resources/themes/bootstrap4-dark-blue/theme.css +4 -1
- package/resources/themes/bootstrap4-dark-purple/theme.css +4 -1
- package/resources/themes/bootstrap4-light-blue/theme.css +4 -1
- package/resources/themes/bootstrap4-light-purple/theme.css +4 -1
- package/resources/themes/fluent-light/theme.css +4 -1
- package/resources/themes/lara-dark-amber/theme.css +2 -1
- package/resources/themes/lara-dark-blue/theme.css +2 -1
- package/resources/themes/lara-dark-cyan/theme.css +2 -1
- package/resources/themes/lara-dark-green/theme.css +2 -1
- package/resources/themes/lara-dark-indigo/theme.css +2 -1
- package/resources/themes/lara-dark-pink/theme.css +2 -1
- package/resources/themes/lara-dark-purple/theme.css +2 -1
- package/resources/themes/lara-dark-teal/theme.css +2 -1
- package/resources/themes/lara-light-amber/theme.css +2 -1
- package/resources/themes/lara-light-blue/theme.css +2 -1
- package/resources/themes/lara-light-cyan/theme.css +2 -1
- package/resources/themes/lara-light-green/theme.css +2 -1
- package/resources/themes/lara-light-indigo/theme.css +2 -1
- package/resources/themes/lara-light-pink/theme.css +2 -1
- package/resources/themes/lara-light-purple/theme.css +2 -1
- package/resources/themes/lara-light-teal/theme.css +2 -1
- package/resources/themes/luna-amber/theme.css +4 -1
- package/resources/themes/luna-blue/theme.css +4 -1
- package/resources/themes/luna-green/theme.css +4 -1
- package/resources/themes/luna-pink/theme.css +4 -1
- package/resources/themes/md-dark-deeppurple/theme.css +3 -1
- package/resources/themes/md-dark-indigo/theme.css +3 -1
- package/resources/themes/md-light-deeppurple/theme.css +3 -1
- package/resources/themes/md-light-indigo/theme.css +3 -1
- package/resources/themes/mdc-dark-deeppurple/theme.css +3 -1
- package/resources/themes/mdc-dark-indigo/theme.css +3 -1
- package/resources/themes/mdc-light-deeppurple/theme.css +3 -1
- package/resources/themes/mdc-light-indigo/theme.css +3 -1
- package/resources/themes/mira/theme.css +2 -1
- package/resources/themes/nano/theme.css +4 -1
- package/resources/themes/nova/theme.css +4 -1
- package/resources/themes/nova-accent/theme.css +4 -1
- package/resources/themes/nova-alt/theme.css +4 -1
- package/resources/themes/rhea/theme.css +4 -1
- package/resources/themes/saga-blue/theme.css +4 -1
- package/resources/themes/saga-green/theme.css +4 -1
- package/resources/themes/saga-orange/theme.css +4 -1
- package/resources/themes/saga-purple/theme.css +4 -1
- package/resources/themes/soho-dark/theme.css +1 -0
- package/resources/themes/soho-light/theme.css +1 -0
- package/resources/themes/tailwind-light/theme.css +2 -1
- package/resources/themes/vela-blue/theme.css +4 -1
- package/resources/themes/vela-green/theme.css +4 -1
- package/resources/themes/vela-orange/theme.css +4 -1
- package/resources/themes/vela-purple/theme.css +4 -1
- package/resources/themes/viva-dark/theme.css +1 -0
- package/resources/themes/viva-light/theme.css +1 -0
- package/ripple/ripple.cjs.js +37 -49
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.js +37 -49
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +37 -49
- package/ripple/ripple.min.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +20 -26
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +20 -26
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +20 -26
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +37 -49
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +37 -49
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +37 -49
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +26 -32
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +26 -32
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +26 -32
- 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.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 +17 -23
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +17 -23
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +17 -23
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/slidemenu.cjs.js +37 -49
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.esm.js +37 -49
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +37 -49
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.js +43 -55
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +43 -55
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +43 -55
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +43 -55
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +43 -55
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +43 -55
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +37 -49
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +2 -2
- package/splitbutton/splitbutton.esm.js +37 -49
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +37 -49
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +43 -55
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +43 -55
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +43 -55
- package/splitter/splitter.min.js +1 -1
- package/stepper/stepper.cjs.js +37 -49
- package/stepper/stepper.cjs.min.js +1 -1
- package/stepper/stepper.esm.js +37 -49
- package/stepper/stepper.esm.min.js +1 -1
- package/stepper/stepper.js +37 -49
- package/stepper/stepper.min.js +1 -1
- package/steps/steps.cjs.js +37 -49
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +37 -49
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +37 -49
- 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 +37 -49
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +37 -49
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +37 -49
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +37 -44
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +37 -44
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +37 -44
- 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 +20 -21
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +20 -21
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +20 -21
- package/terminal/terminal.min.js +1 -1
- package/terminalservice/terminalservice.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +37 -49
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +37 -49
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +37 -49
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.js +23 -34
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +23 -34
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +23 -34
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.js +53 -73
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +53 -73
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +53 -73
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +24 -35
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +24 -35
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +24 -35
- package/togglebutton/togglebutton.min.js +1 -1
- package/tooltip/tooltip.cjs.js +43 -55
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +43 -55
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +43 -55
- package/tooltip/tooltip.min.js +1 -1
- package/tree/tree.cjs.js +50 -62
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +50 -62
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +50 -62
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.cjs.js +48 -59
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +48 -59
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +48 -59
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +61 -70
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +61 -70
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +61 -70
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +37 -49
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +37 -49
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +37 -49
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +59 -79
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +59 -79
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +59 -79
- package/utils/utils.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +37 -49
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +37 -49
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +37 -49
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +3 -3
package/primereact.all.cjs.js
CHANGED
|
@@ -32,49 +32,43 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
32
32
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
33
33
|
|
|
34
34
|
function _extends() {
|
|
35
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
36
|
-
for (var
|
|
37
|
-
var
|
|
38
|
-
for (var
|
|
39
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
40
|
-
target[key] = source[key];
|
|
41
|
-
}
|
|
42
|
-
}
|
|
35
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
36
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
37
|
+
var t = arguments[e];
|
|
38
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
43
39
|
}
|
|
44
|
-
return
|
|
45
|
-
};
|
|
46
|
-
return _extends.apply(this, arguments);
|
|
40
|
+
return n;
|
|
41
|
+
}, _extends.apply(null, arguments);
|
|
47
42
|
}
|
|
48
43
|
|
|
49
|
-
function _arrayLikeToArray$i(
|
|
50
|
-
|
|
51
|
-
for (var
|
|
52
|
-
return
|
|
44
|
+
function _arrayLikeToArray$i(r, a) {
|
|
45
|
+
(null == a || a > r.length) && (a = r.length);
|
|
46
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
47
|
+
return n;
|
|
53
48
|
}
|
|
54
49
|
|
|
55
|
-
function _arrayWithoutHoles(
|
|
56
|
-
if (Array.isArray(
|
|
50
|
+
function _arrayWithoutHoles(r) {
|
|
51
|
+
if (Array.isArray(r)) return _arrayLikeToArray$i(r);
|
|
57
52
|
}
|
|
58
53
|
|
|
59
|
-
function _iterableToArray(
|
|
60
|
-
if (typeof Symbol
|
|
54
|
+
function _iterableToArray(r) {
|
|
55
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
61
56
|
}
|
|
62
57
|
|
|
63
|
-
function _unsupportedIterableToArray$i(
|
|
64
|
-
if (
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$i(o, minLen);
|
|
58
|
+
function _unsupportedIterableToArray$i(r, a) {
|
|
59
|
+
if (r) {
|
|
60
|
+
if ("string" == typeof r) return _arrayLikeToArray$i(r, a);
|
|
61
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
62
|
+
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$i(r, a) : void 0;
|
|
63
|
+
}
|
|
70
64
|
}
|
|
71
65
|
|
|
72
66
|
function _nonIterableSpread() {
|
|
73
67
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
74
68
|
}
|
|
75
69
|
|
|
76
|
-
function _toConsumableArray(
|
|
77
|
-
return _arrayWithoutHoles(
|
|
70
|
+
function _toConsumableArray(r) {
|
|
71
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$i(r) || _nonIterableSpread();
|
|
78
72
|
}
|
|
79
73
|
|
|
80
74
|
function _typeof(o) {
|
|
@@ -87,39 +81,33 @@ function _typeof(o) {
|
|
|
87
81
|
}, _typeof(o);
|
|
88
82
|
}
|
|
89
83
|
|
|
90
|
-
function
|
|
91
|
-
if (
|
|
92
|
-
var
|
|
93
|
-
if (
|
|
94
|
-
var
|
|
95
|
-
if (
|
|
84
|
+
function toPrimitive(t, r) {
|
|
85
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
86
|
+
var e = t[Symbol.toPrimitive];
|
|
87
|
+
if (void 0 !== e) {
|
|
88
|
+
var i = e.call(t, r || "default");
|
|
89
|
+
if ("object" != _typeof(i)) return i;
|
|
96
90
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
97
91
|
}
|
|
98
|
-
return (
|
|
92
|
+
return ("string" === r ? String : Number)(t);
|
|
99
93
|
}
|
|
100
94
|
|
|
101
|
-
function
|
|
102
|
-
var
|
|
103
|
-
return _typeof(
|
|
95
|
+
function toPropertyKey(t) {
|
|
96
|
+
var i = toPrimitive(t, "string");
|
|
97
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
104
98
|
}
|
|
105
99
|
|
|
106
|
-
function _defineProperty(
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
writable: true
|
|
114
|
-
});
|
|
115
|
-
} else {
|
|
116
|
-
obj[key] = value;
|
|
117
|
-
}
|
|
118
|
-
return obj;
|
|
100
|
+
function _defineProperty(e, r, t) {
|
|
101
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
102
|
+
value: t,
|
|
103
|
+
enumerable: !0,
|
|
104
|
+
configurable: !0,
|
|
105
|
+
writable: !0
|
|
106
|
+
}) : e[r] = t, e;
|
|
119
107
|
}
|
|
120
108
|
|
|
121
|
-
function _arrayWithHoles(
|
|
122
|
-
if (Array.isArray(
|
|
109
|
+
function _arrayWithHoles(r) {
|
|
110
|
+
if (Array.isArray(r)) return r;
|
|
123
111
|
}
|
|
124
112
|
|
|
125
113
|
function _iterableToArrayLimit(r, l) {
|
|
@@ -154,8 +142,8 @@ function _nonIterableRest() {
|
|
|
154
142
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
155
143
|
}
|
|
156
144
|
|
|
157
|
-
function _slicedToArray(
|
|
158
|
-
return _arrayWithHoles(
|
|
145
|
+
function _slicedToArray(r, e) {
|
|
146
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$i(r, e) || _nonIterableRest();
|
|
159
147
|
}
|
|
160
148
|
|
|
161
149
|
var FilterMatchMode = Object.freeze({
|
|
@@ -214,33 +202,25 @@ function classNames() {
|
|
|
214
202
|
return undefined;
|
|
215
203
|
}
|
|
216
204
|
|
|
217
|
-
function _classCallCheck(
|
|
218
|
-
if (!(
|
|
219
|
-
throw new TypeError("Cannot call a class as a function");
|
|
220
|
-
}
|
|
205
|
+
function _classCallCheck(a, n) {
|
|
206
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
221
207
|
}
|
|
222
208
|
|
|
223
|
-
function _defineProperties(
|
|
224
|
-
for (var
|
|
225
|
-
var
|
|
226
|
-
|
|
227
|
-
descriptor.configurable = true;
|
|
228
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
229
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
209
|
+
function _defineProperties(e, r) {
|
|
210
|
+
for (var t = 0; t < r.length; t++) {
|
|
211
|
+
var o = r[t];
|
|
212
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
230
213
|
}
|
|
231
214
|
}
|
|
232
|
-
function _createClass(
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
writable: false
|
|
237
|
-
});
|
|
238
|
-
return Constructor;
|
|
215
|
+
function _createClass(e, r, t) {
|
|
216
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
217
|
+
writable: !1
|
|
218
|
+
}), e;
|
|
239
219
|
}
|
|
240
220
|
|
|
241
|
-
function _createForOfIteratorHelper$h(
|
|
242
|
-
function _unsupportedIterableToArray$h(
|
|
243
|
-
function _arrayLikeToArray$h(
|
|
221
|
+
function _createForOfIteratorHelper$h(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$h(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; } } }; }
|
|
222
|
+
function _unsupportedIterableToArray$h(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$h(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$h(r, a) : void 0; } }
|
|
223
|
+
function _arrayLikeToArray$h(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; }
|
|
244
224
|
var DomHandler = /*#__PURE__*/function () {
|
|
245
225
|
function DomHandler() {
|
|
246
226
|
_classCallCheck(this, DomHandler);
|
|
@@ -1510,9 +1490,9 @@ function EventBus() {
|
|
|
1510
1490
|
};
|
|
1511
1491
|
}
|
|
1512
1492
|
|
|
1513
|
-
function _createForOfIteratorHelper$g(
|
|
1514
|
-
function _unsupportedIterableToArray$g(
|
|
1515
|
-
function _arrayLikeToArray$g(
|
|
1493
|
+
function _createForOfIteratorHelper$g(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$g(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; } } }; }
|
|
1494
|
+
function _unsupportedIterableToArray$g(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$g(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$g(r, a) : void 0; } }
|
|
1495
|
+
function _arrayLikeToArray$g(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; }
|
|
1516
1496
|
var ObjectUtils = /*#__PURE__*/function () {
|
|
1517
1497
|
function ObjectUtils() {
|
|
1518
1498
|
_classCallCheck(this, ObjectUtils);
|
|
@@ -2644,9 +2624,9 @@ function handler() {
|
|
|
2644
2624
|
}
|
|
2645
2625
|
var ZIndexUtils = handler();
|
|
2646
2626
|
|
|
2647
|
-
function _createForOfIteratorHelper$f(
|
|
2648
|
-
function _unsupportedIterableToArray$f(
|
|
2649
|
-
function _arrayLikeToArray$f(
|
|
2627
|
+
function _createForOfIteratorHelper$f(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$f(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; } } }; }
|
|
2628
|
+
function _unsupportedIterableToArray$f(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$f(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$f(r, a) : void 0; } }
|
|
2629
|
+
function _arrayLikeToArray$f(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; }
|
|
2650
2630
|
var FilterService = {
|
|
2651
2631
|
filter: function filter(value, fields, filterValue, filterMatchMode, filterLocale) {
|
|
2652
2632
|
var filteredItems = [];
|
|
@@ -3468,48 +3448,49 @@ var SortOrder = Object.freeze({
|
|
|
3468
3448
|
|
|
3469
3449
|
var PrimeReactContext = /*#__PURE__*/React__default["default"].createContext();
|
|
3470
3450
|
var PrimeReactProvider = function PrimeReactProvider(props) {
|
|
3471
|
-
var
|
|
3472
|
-
var
|
|
3451
|
+
var _props$value, _propsValue$ripple, _propsValue$inputStyl, _propsValue$locale, _propsValue$appendTo, _propsValue$styleCont, _propsValue$cssTransi, _propsValue$autoZInde, _propsValue$hideOverl, _propsValue$nonce, _propsValue$nullSortO, _propsValue$zIndex, _propsValue$ptOptions, _propsValue$pt, _propsValue$unstyled, _propsValue$filterMat;
|
|
3452
|
+
var propsValue = (_props$value = props.value) !== null && _props$value !== void 0 ? _props$value : {};
|
|
3453
|
+
var _useState = React.useState((_propsValue$ripple = propsValue.ripple) !== null && _propsValue$ripple !== void 0 ? _propsValue$ripple : false),
|
|
3473
3454
|
_useState2 = _slicedToArray(_useState, 2),
|
|
3474
3455
|
ripple = _useState2[0],
|
|
3475
3456
|
setRipple = _useState2[1];
|
|
3476
|
-
var _useState3 = React.useState(propsValue.inputStyle
|
|
3457
|
+
var _useState3 = React.useState((_propsValue$inputStyl = propsValue.inputStyle) !== null && _propsValue$inputStyl !== void 0 ? _propsValue$inputStyl : 'outlined'),
|
|
3477
3458
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
3478
3459
|
inputStyle = _useState4[0],
|
|
3479
3460
|
setInputStyle = _useState4[1];
|
|
3480
|
-
var _useState5 = React.useState(propsValue.locale
|
|
3461
|
+
var _useState5 = React.useState((_propsValue$locale = propsValue.locale) !== null && _propsValue$locale !== void 0 ? _propsValue$locale : 'en'),
|
|
3481
3462
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
3482
3463
|
locale = _useState6[0],
|
|
3483
3464
|
setLocale = _useState6[1];
|
|
3484
|
-
var _useState7 = React.useState(propsValue.appendTo
|
|
3465
|
+
var _useState7 = React.useState((_propsValue$appendTo = propsValue.appendTo) !== null && _propsValue$appendTo !== void 0 ? _propsValue$appendTo : null),
|
|
3485
3466
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
3486
3467
|
appendTo = _useState8[0],
|
|
3487
3468
|
setAppendTo = _useState8[1];
|
|
3488
|
-
var _useState9 = React.useState(propsValue.styleContainer
|
|
3469
|
+
var _useState9 = React.useState((_propsValue$styleCont = propsValue.styleContainer) !== null && _propsValue$styleCont !== void 0 ? _propsValue$styleCont : null),
|
|
3489
3470
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
3490
3471
|
styleContainer = _useState10[0],
|
|
3491
3472
|
setStyleContainer = _useState10[1];
|
|
3492
|
-
var _useState11 = React.useState(propsValue.cssTransition
|
|
3473
|
+
var _useState11 = React.useState((_propsValue$cssTransi = propsValue.cssTransition) !== null && _propsValue$cssTransi !== void 0 ? _propsValue$cssTransi : true),
|
|
3493
3474
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
3494
3475
|
cssTransition = _useState12[0],
|
|
3495
3476
|
setCssTransition = _useState12[1];
|
|
3496
|
-
var _useState13 = React.useState(propsValue.autoZIndex
|
|
3477
|
+
var _useState13 = React.useState((_propsValue$autoZInde = propsValue.autoZIndex) !== null && _propsValue$autoZInde !== void 0 ? _propsValue$autoZInde : true),
|
|
3497
3478
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
3498
3479
|
autoZIndex = _useState14[0],
|
|
3499
3480
|
setAutoZIndex = _useState14[1];
|
|
3500
|
-
var _useState15 = React.useState(propsValue.hideOverlaysOnDocumentScrolling
|
|
3481
|
+
var _useState15 = React.useState((_propsValue$hideOverl = propsValue.hideOverlaysOnDocumentScrolling) !== null && _propsValue$hideOverl !== void 0 ? _propsValue$hideOverl : false),
|
|
3501
3482
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
3502
3483
|
hideOverlaysOnDocumentScrolling = _useState16[0],
|
|
3503
3484
|
setHideOverlaysOnDocumentScrolling = _useState16[1];
|
|
3504
|
-
var _useState17 = React.useState(propsValue.nonce
|
|
3485
|
+
var _useState17 = React.useState((_propsValue$nonce = propsValue.nonce) !== null && _propsValue$nonce !== void 0 ? _propsValue$nonce : null),
|
|
3505
3486
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
3506
3487
|
nonce = _useState18[0],
|
|
3507
3488
|
setNonce = _useState18[1];
|
|
3508
|
-
var _useState19 = React.useState(propsValue.nullSortOrder
|
|
3489
|
+
var _useState19 = React.useState((_propsValue$nullSortO = propsValue.nullSortOrder) !== null && _propsValue$nullSortO !== void 0 ? _propsValue$nullSortO : 1),
|
|
3509
3490
|
_useState20 = _slicedToArray(_useState19, 2),
|
|
3510
3491
|
nullSortOrder = _useState20[0],
|
|
3511
3492
|
setNullSortOrder = _useState20[1];
|
|
3512
|
-
var _useState21 = React.useState(propsValue.zIndex
|
|
3493
|
+
var _useState21 = React.useState((_propsValue$zIndex = propsValue.zIndex) !== null && _propsValue$zIndex !== void 0 ? _propsValue$zIndex : {
|
|
3513
3494
|
modal: 1100,
|
|
3514
3495
|
overlay: 1000,
|
|
3515
3496
|
menu: 1000,
|
|
@@ -3519,22 +3500,22 @@ var PrimeReactProvider = function PrimeReactProvider(props) {
|
|
|
3519
3500
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
3520
3501
|
zIndex = _useState22[0],
|
|
3521
3502
|
setZIndex = _useState22[1];
|
|
3522
|
-
var _useState23 = React.useState(propsValue.ptOptions
|
|
3503
|
+
var _useState23 = React.useState((_propsValue$ptOptions = propsValue.ptOptions) !== null && _propsValue$ptOptions !== void 0 ? _propsValue$ptOptions : {
|
|
3523
3504
|
mergeSections: true,
|
|
3524
3505
|
mergeProps: true
|
|
3525
3506
|
}),
|
|
3526
3507
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
3527
3508
|
ptOptions = _useState24[0],
|
|
3528
3509
|
setPtOptions = _useState24[1];
|
|
3529
|
-
var _useState25 = React.useState(propsValue.pt
|
|
3510
|
+
var _useState25 = React.useState((_propsValue$pt = propsValue.pt) !== null && _propsValue$pt !== void 0 ? _propsValue$pt : undefined),
|
|
3530
3511
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
3531
3512
|
pt = _useState26[0],
|
|
3532
3513
|
setPt = _useState26[1];
|
|
3533
|
-
var _useState27 = React.useState(propsValue.unstyled
|
|
3514
|
+
var _useState27 = React.useState((_propsValue$unstyled = propsValue.unstyled) !== null && _propsValue$unstyled !== void 0 ? _propsValue$unstyled : false),
|
|
3534
3515
|
_useState28 = _slicedToArray(_useState27, 2),
|
|
3535
3516
|
unstyled = _useState28[0],
|
|
3536
3517
|
setUnstyled = _useState28[1];
|
|
3537
|
-
var _useState29 = React.useState(propsValue.filterMatchModeOptions
|
|
3518
|
+
var _useState29 = React.useState((_propsValue$filterMat = propsValue.filterMatchModeOptions) !== null && _propsValue$filterMat !== void 0 ? _propsValue$filterMat : {
|
|
3538
3519
|
text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],
|
|
3539
3520
|
numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],
|
|
3540
3521
|
date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]
|
|
@@ -6726,6 +6707,13 @@ var InputText = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
6726
6707
|
return ObjectUtils.isNotEmpty(props.value) || ObjectUtils.isNotEmpty(props.defaultValue);
|
|
6727
6708
|
}, [props.value, props.defaultValue]);
|
|
6728
6709
|
var hasTooltip = ObjectUtils.isNotEmpty(props.tooltip);
|
|
6710
|
+
React__namespace.useEffect(function () {
|
|
6711
|
+
if (isFilled) {
|
|
6712
|
+
DomHandler.addClass(elementRef.current, 'p-filled');
|
|
6713
|
+
} else {
|
|
6714
|
+
DomHandler.removeClass(elementRef.current, 'p-filled');
|
|
6715
|
+
}
|
|
6716
|
+
}, [props.disabled, isFilled]);
|
|
6729
6717
|
var rootProps = mergeProps({
|
|
6730
6718
|
className: classNames(props.className, cx('root', {
|
|
6731
6719
|
context: context,
|
|
@@ -6797,11 +6785,16 @@ var classes$1c = {
|
|
|
6797
6785
|
emptyMessage: 'p-autocomplete-item',
|
|
6798
6786
|
item: function item(_ref6) {
|
|
6799
6787
|
var suggestion = _ref6.suggestion,
|
|
6800
|
-
optionGroupLabel = _ref6.optionGroupLabel
|
|
6788
|
+
optionGroupLabel = _ref6.optionGroupLabel,
|
|
6789
|
+
selected = _ref6.selected;
|
|
6801
6790
|
return optionGroupLabel ? classNames('p-autocomplete-item', {
|
|
6802
6791
|
'p-disabled': suggestion.disabled
|
|
6792
|
+
}, {
|
|
6793
|
+
selected: selected
|
|
6803
6794
|
}) : classNames('p-autocomplete-item', {
|
|
6804
6795
|
'p-disabled': suggestion.disabled
|
|
6796
|
+
}, {
|
|
6797
|
+
'p-highlight': selected
|
|
6805
6798
|
});
|
|
6806
6799
|
},
|
|
6807
6800
|
itemGroup: 'p-autocomplete-item-group',
|
|
@@ -7821,15 +7814,25 @@ var AutoCompletePanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__n
|
|
|
7821
7814
|
key: key ? key : null
|
|
7822
7815
|
}), content);
|
|
7823
7816
|
};
|
|
7817
|
+
var isOptionSelected = function isOptionSelected(item) {
|
|
7818
|
+
if (props.selectedItem && props.selectedItem.current && Array.isArray(props.selectedItem.current)) {
|
|
7819
|
+
return props.selectedItem.current.some(function (selectedItem) {
|
|
7820
|
+
return ObjectUtils.deepEquals(selectedItem, item);
|
|
7821
|
+
});
|
|
7822
|
+
} else {
|
|
7823
|
+
return ObjectUtils.deepEquals(props.selectedItem.current, item);
|
|
7824
|
+
}
|
|
7825
|
+
};
|
|
7824
7826
|
var createListItem = function createListItem(item, key, index, listItemProps) {
|
|
7825
|
-
var selected =
|
|
7827
|
+
var selected = isOptionSelected(item);
|
|
7826
7828
|
var content = props.itemTemplate ? ObjectUtils.getJSXElement(props.itemTemplate, item, index) : props.field ? ObjectUtils.resolveFieldData(item, props.field) : item;
|
|
7827
7829
|
var itemProps = mergeProps(_objectSpread$1O({
|
|
7828
7830
|
index: index,
|
|
7829
7831
|
role: 'option',
|
|
7830
7832
|
className: cx('item', {
|
|
7831
7833
|
optionGroupLabel: props.optionGroupLabel,
|
|
7832
|
-
suggestion: item
|
|
7834
|
+
suggestion: item,
|
|
7835
|
+
selected: selected
|
|
7833
7836
|
}),
|
|
7834
7837
|
onClick: function onClick(e) {
|
|
7835
7838
|
return props.onItemClick(e, item);
|
|
@@ -8153,19 +8156,17 @@ var AutoComplete = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namesp
|
|
|
8153
8156
|
selectedItem.current = ObjectUtils.isNotEmpty(value) ? value : null;
|
|
8154
8157
|
};
|
|
8155
8158
|
var formatValue = function formatValue(value) {
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
return resolvedFieldData ? resolvedFieldData : value;
|
|
8162
|
-
} else if (props.field) {
|
|
8163
|
-
var _resolvedFieldData = ObjectUtils.resolveFieldData(value, props.field);
|
|
8164
|
-
return _resolvedFieldData !== null && _resolvedFieldData !== undefined ? _resolvedFieldData : value;
|
|
8165
|
-
}
|
|
8166
|
-
return value;
|
|
8159
|
+
var useTemplate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
8160
|
+
if (ObjectUtils.isEmpty(value)) return '';
|
|
8161
|
+
if (typeof value === 'string') return value;
|
|
8162
|
+
if (useTemplate && props.selectedItemTemplate) {
|
|
8163
|
+
return ObjectUtils.getJSXElement(props.selectedItemTemplate, value) || value;
|
|
8167
8164
|
}
|
|
8168
|
-
|
|
8165
|
+
if (props.field) {
|
|
8166
|
+
var _ObjectUtils$resolveF;
|
|
8167
|
+
return (_ObjectUtils$resolveF = ObjectUtils.resolveFieldData(value, props.field)) !== null && _ObjectUtils$resolveF !== void 0 ? _ObjectUtils$resolveF : value;
|
|
8168
|
+
}
|
|
8169
|
+
return value;
|
|
8169
8170
|
};
|
|
8170
8171
|
var updateInputField = function updateInputField(value) {
|
|
8171
8172
|
inputRef.current.value = formatValue(value);
|
|
@@ -8542,7 +8543,7 @@ var AutoComplete = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namesp
|
|
|
8542
8543
|
}, ptm('tokenLabel'));
|
|
8543
8544
|
return /*#__PURE__*/React__namespace.createElement("li", _extends({
|
|
8544
8545
|
key: key
|
|
8545
|
-
}, tokenProps), /*#__PURE__*/React__namespace.createElement("span", tokenLabelProps, formatValue(val)), removeTokenIcon);
|
|
8546
|
+
}, tokenProps), /*#__PURE__*/React__namespace.createElement("span", tokenLabelProps, formatValue(val, true)), removeTokenIcon);
|
|
8546
8547
|
});
|
|
8547
8548
|
}
|
|
8548
8549
|
selectedItem.current = null;
|
|
@@ -9545,9 +9546,9 @@ CalendarPanel.displayName = 'CalendarPanel';
|
|
|
9545
9546
|
|
|
9546
9547
|
function ownKeys$1J(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; }
|
|
9547
9548
|
function _objectSpread$1J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1J(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9548
|
-
function _createForOfIteratorHelper$e(
|
|
9549
|
-
function _unsupportedIterableToArray$e(
|
|
9550
|
-
function _arrayLikeToArray$e(
|
|
9549
|
+
function _createForOfIteratorHelper$e(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$e(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; } } }; }
|
|
9550
|
+
function _unsupportedIterableToArray$e(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$e(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$e(r, a) : void 0; } }
|
|
9551
|
+
function _arrayLikeToArray$e(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; }
|
|
9551
9552
|
var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
9552
9553
|
var mergeProps = useMergeProps();
|
|
9553
9554
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -11050,7 +11051,6 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
11050
11051
|
if (props.hideOnRangeSelection && endDate !== null) {
|
|
11051
11052
|
setTimeout(function () {
|
|
11052
11053
|
setOverlayVisibleState(false);
|
|
11053
|
-
isOverlayClicked.current = false;
|
|
11054
11054
|
}, 150);
|
|
11055
11055
|
}
|
|
11056
11056
|
} else {
|
|
@@ -12589,11 +12589,12 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
12589
12589
|
'p-disabled': !date.selectable
|
|
12590
12590
|
});
|
|
12591
12591
|
var content = date.otherMonth && !props.showOtherMonths ? null : createDateCellContent(date, dateClassName, groupIndex);
|
|
12592
|
+
var formattedValue = formatDate(new Date(date.year, date.month, date.day), getDateFormat());
|
|
12592
12593
|
var dayProps = mergeProps({
|
|
12593
12594
|
className: cx('day', {
|
|
12594
12595
|
date: date
|
|
12595
12596
|
}),
|
|
12596
|
-
'aria-label':
|
|
12597
|
+
'aria-label': formattedValue,
|
|
12597
12598
|
'data-p-today': date.today,
|
|
12598
12599
|
'data-p-other-month': date.otherMonth
|
|
12599
12600
|
}, ptm('day', {
|
|
@@ -14416,9 +14417,9 @@ var CascadeSelectSub = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
14416
14417
|
return element;
|
|
14417
14418
|
});
|
|
14418
14419
|
|
|
14419
|
-
function _createForOfIteratorHelper$d(
|
|
14420
|
-
function _unsupportedIterableToArray$d(
|
|
14421
|
-
function _arrayLikeToArray$d(
|
|
14420
|
+
function _createForOfIteratorHelper$d(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$d(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; } } }; }
|
|
14421
|
+
function _unsupportedIterableToArray$d(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$d(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$d(r, a) : void 0; } }
|
|
14422
|
+
function _arrayLikeToArray$d(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; }
|
|
14422
14423
|
function ownKeys$1G(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; }
|
|
14423
14424
|
function _objectSpread$1G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1G(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14424
14425
|
var CascadeSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -15764,7 +15765,9 @@ var Chips = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.for
|
|
|
15764
15765
|
},
|
|
15765
15766
|
readOnly: props.readOnly
|
|
15766
15767
|
}, ariaProps), ptm('input'));
|
|
15767
|
-
return /*#__PURE__*/React__namespace.createElement("li",
|
|
15768
|
+
return /*#__PURE__*/React__namespace.createElement("li", _extends({}, inputTokenProps, {
|
|
15769
|
+
key: props.inputId + '_chips_input'
|
|
15770
|
+
}), /*#__PURE__*/React__namespace.createElement("input", inputProps));
|
|
15768
15771
|
};
|
|
15769
15772
|
var createItems = function createItems() {
|
|
15770
15773
|
return props.value ? props.value.map(createItem) : null;
|
|
@@ -16925,7 +16928,7 @@ var Dialog = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
|
16925
16928
|
bindDocumentDragEndListener = _useEventListener8[0],
|
|
16926
16929
|
unbindDocumentDragEndListener = _useEventListener8[1];
|
|
16927
16930
|
var onClose = function onClose(event) {
|
|
16928
|
-
props.onHide();
|
|
16931
|
+
props.onHide(event);
|
|
16929
16932
|
event.preventDefault();
|
|
16930
16933
|
};
|
|
16931
16934
|
var focus = function focus() {
|
|
@@ -20953,6 +20956,9 @@ var InputNumber = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
20953
20956
|
React__namespace.useEffect(function () {
|
|
20954
20957
|
ObjectUtils.combinedRefs(inputRef, props.inputRef);
|
|
20955
20958
|
}, [inputRef, props.inputRef]);
|
|
20959
|
+
useUnmountEffect(function () {
|
|
20960
|
+
clearTimer();
|
|
20961
|
+
});
|
|
20956
20962
|
useMountEffect(function () {
|
|
20957
20963
|
constructParser();
|
|
20958
20964
|
var newValue = validateValue(props.value);
|
|
@@ -21678,7 +21684,6 @@ var DropdownItem = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
21678
21684
|
var itemProps = mergeProps({
|
|
21679
21685
|
id: "dropdownItem_".concat(index),
|
|
21680
21686
|
role: 'option',
|
|
21681
|
-
key: props.label,
|
|
21682
21687
|
className: classNames(option.className, cx('item', {
|
|
21683
21688
|
selected: selected,
|
|
21684
21689
|
disabled: disabled,
|
|
@@ -21721,7 +21726,9 @@ var DropdownItem = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
21721
21726
|
}, getPTOptions('blankIcon'));
|
|
21722
21727
|
return /*#__PURE__*/React__namespace.createElement(BlankIcon, blankIconProps);
|
|
21723
21728
|
};
|
|
21724
|
-
return /*#__PURE__*/React__namespace.createElement("li",
|
|
21729
|
+
return /*#__PURE__*/React__namespace.createElement("li", _extends({
|
|
21730
|
+
key: props.label
|
|
21731
|
+
}, itemProps), checkmark && iconRenderer(), /*#__PURE__*/React__namespace.createElement("span", itemGroupLabelProps, content), /*#__PURE__*/React__namespace.createElement(Ripple, null));
|
|
21725
21732
|
});
|
|
21726
21733
|
DropdownItem.displayName = 'DropdownItem';
|
|
21727
21734
|
|
|
@@ -22008,9 +22015,9 @@ var DropdownPanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
|
|
|
22008
22015
|
}));
|
|
22009
22016
|
DropdownPanel.displayName = 'DropdownPanel';
|
|
22010
22017
|
|
|
22011
|
-
function _createForOfIteratorHelper$c(
|
|
22012
|
-
function _unsupportedIterableToArray$c(
|
|
22013
|
-
function _arrayLikeToArray$c(
|
|
22018
|
+
function _createForOfIteratorHelper$c(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$c(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; } } }; }
|
|
22019
|
+
function _unsupportedIterableToArray$c(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$c(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$c(r, a) : void 0; } }
|
|
22020
|
+
function _arrayLikeToArray$c(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; }
|
|
22014
22021
|
function ownKeys$1m(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; }
|
|
22015
22022
|
function _objectSpread$1m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1m(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22016
22023
|
var Dropdown = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -22133,7 +22140,6 @@ var Dropdown = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
22133
22140
|
if (props.disabled || props.loading) {
|
|
22134
22141
|
return;
|
|
22135
22142
|
}
|
|
22136
|
-
event.stopPropagation();
|
|
22137
22143
|
props.onClick && props.onClick(event);
|
|
22138
22144
|
|
|
22139
22145
|
// do not continue if the user defined click wants to prevent it
|
|
@@ -22146,6 +22152,7 @@ var Dropdown = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
22146
22152
|
DomHandler.focus(focusInputRef.current);
|
|
22147
22153
|
overlayVisibleState ? hide() : show();
|
|
22148
22154
|
}
|
|
22155
|
+
event.preventDefault();
|
|
22149
22156
|
clickedRef.current = true;
|
|
22150
22157
|
};
|
|
22151
22158
|
var onInputFocus = function onInputFocus(event) {
|
|
@@ -22180,10 +22187,9 @@ var Dropdown = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
22180
22187
|
};
|
|
22181
22188
|
var onOptionSelect = function onOptionSelect(event, option) {
|
|
22182
22189
|
var isHide = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
22183
|
-
var value = getOptionValue(option);
|
|
22184
22190
|
selectItem({
|
|
22185
22191
|
originalEvent: event,
|
|
22186
|
-
option:
|
|
22192
|
+
option: option
|
|
22187
22193
|
});
|
|
22188
22194
|
isHide && hide();
|
|
22189
22195
|
};
|
|
@@ -22582,7 +22588,7 @@ var Dropdown = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
22582
22588
|
};
|
|
22583
22589
|
var getSelectedOptionIndex = function getSelectedOptionIndex(options) {
|
|
22584
22590
|
options = options || visibleOptions;
|
|
22585
|
-
if (
|
|
22591
|
+
if (options) {
|
|
22586
22592
|
if (props.optionGroupLabel) {
|
|
22587
22593
|
for (var i = 0; i < options.length; i++) {
|
|
22588
22594
|
var selectedOptionIndex = findOptionIndexInList(props.value, getOptionGroupChildren(options[i]));
|
|
@@ -23711,33 +23717,26 @@ var DataTableBase = ComponentBase.extend({
|
|
|
23711
23717
|
}
|
|
23712
23718
|
});
|
|
23713
23719
|
|
|
23714
|
-
function _objectWithoutPropertiesLoose(
|
|
23715
|
-
if (
|
|
23716
|
-
var
|
|
23717
|
-
var
|
|
23718
|
-
|
|
23719
|
-
|
|
23720
|
-
key = sourceKeys[i];
|
|
23721
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
23722
|
-
target[key] = source[key];
|
|
23720
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
23721
|
+
if (null == r) return {};
|
|
23722
|
+
var t = {};
|
|
23723
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
23724
|
+
if (e.includes(n)) continue;
|
|
23725
|
+
t[n] = r[n];
|
|
23723
23726
|
}
|
|
23724
|
-
return
|
|
23727
|
+
return t;
|
|
23725
23728
|
}
|
|
23726
23729
|
|
|
23727
|
-
function _objectWithoutProperties(
|
|
23728
|
-
if (
|
|
23729
|
-
var
|
|
23730
|
-
|
|
23730
|
+
function _objectWithoutProperties(e, t) {
|
|
23731
|
+
if (null == e) return {};
|
|
23732
|
+
var o,
|
|
23733
|
+
r,
|
|
23734
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
23731
23735
|
if (Object.getOwnPropertySymbols) {
|
|
23732
|
-
var
|
|
23733
|
-
for (
|
|
23734
|
-
key = sourceSymbolKeys[i];
|
|
23735
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
23736
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
23737
|
-
target[key] = source[key];
|
|
23738
|
-
}
|
|
23736
|
+
var s = Object.getOwnPropertySymbols(e);
|
|
23737
|
+
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
23739
23738
|
}
|
|
23740
|
-
return
|
|
23739
|
+
return i;
|
|
23741
23740
|
}
|
|
23742
23741
|
|
|
23743
23742
|
var BarsIcon = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -24088,6 +24087,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
24088
24087
|
var keyHelperRef = React__namespace.useRef(null);
|
|
24089
24088
|
var overlayEventListener = React__namespace.useRef(null);
|
|
24090
24089
|
var selfClick = React__namespace.useRef(false);
|
|
24090
|
+
var focusTimeout = React__namespace.useRef(null);
|
|
24091
24091
|
var initFocusTimeout = React__namespace.useRef(null);
|
|
24092
24092
|
var editingRowDataStateRef = React__namespace.useRef(null);
|
|
24093
24093
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
@@ -24132,12 +24132,13 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
24132
24132
|
var _useEventListener = useEventListener({
|
|
24133
24133
|
type: 'click',
|
|
24134
24134
|
listener: function listener(e) {
|
|
24135
|
-
|
|
24136
|
-
|
|
24137
|
-
|
|
24135
|
+
setTimeout(function () {
|
|
24136
|
+
if (!selfClick.current && isOutsideClicked(e.target)) {
|
|
24137
|
+
// #2666 for overlay components and outside is clicked
|
|
24138
|
+
|
|
24138
24139
|
switchCellToViewMode(e, true);
|
|
24139
|
-
}
|
|
24140
|
-
}
|
|
24140
|
+
}
|
|
24141
|
+
}, 0);
|
|
24141
24142
|
selfClick.current = false;
|
|
24142
24143
|
},
|
|
24143
24144
|
options: true,
|
|
@@ -24268,11 +24269,14 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
24268
24269
|
}
|
|
24269
24270
|
};
|
|
24270
24271
|
var focusOnElement = function focusOnElement() {
|
|
24271
|
-
|
|
24272
|
-
|
|
24273
|
-
|
|
24274
|
-
|
|
24275
|
-
|
|
24272
|
+
clearTimeout(focusTimeout.current);
|
|
24273
|
+
focusTimeout.current = setTimeout(function () {
|
|
24274
|
+
if (editingState) {
|
|
24275
|
+
var focusableEl = props.editMode === 'cell' ? DomHandler.getFirstFocusableElement(elementRef.current, ':not([data-pc-section="editorkeyhelperlabel"])') : DomHandler.findSingle(elementRef.current, '[data-p-row-editor-save="true"]');
|
|
24276
|
+
focusableEl && focusableEl.focus();
|
|
24277
|
+
}
|
|
24278
|
+
keyHelperRef.current && (keyHelperRef.current.tabIndex = editingState ? -1 : 0);
|
|
24279
|
+
}, 1);
|
|
24276
24280
|
};
|
|
24277
24281
|
var focusOnInit = function focusOnInit() {
|
|
24278
24282
|
clearTimeout(initFocusTimeout.current);
|
|
@@ -24499,7 +24503,8 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
24499
24503
|
if (props.editMode === 'cell' || props.editMode === 'row') {
|
|
24500
24504
|
focusOnElement();
|
|
24501
24505
|
}
|
|
24502
|
-
});
|
|
24506
|
+
}, [props.editMode, props.editing, editingState]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
24507
|
+
|
|
24503
24508
|
React__namespace.useEffect(function () {
|
|
24504
24509
|
if (props.editMode === 'row' && props.editing !== editingState) {
|
|
24505
24510
|
setEditingState(props.editing);
|
|
@@ -25960,7 +25965,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
25960
25965
|
var event = e.originalEvent;
|
|
25961
25966
|
var isDraggableHandle = isUnstyled() ? DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowreordericon' || event.target.closest('[data-pc-section="rowreordericon"]') : DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle') || event.target.closest('.p-datatable-reorderablerow-handle');
|
|
25962
25967
|
event.currentTarget.draggable = isDraggableHandle;
|
|
25963
|
-
event.target.draggable =
|
|
25968
|
+
event.target.draggable = isDraggableHandle;
|
|
25964
25969
|
if (allowRowDrag(e)) {
|
|
25965
25970
|
enableDragSelection(event);
|
|
25966
25971
|
anchorRowIndex.current = e.index;
|
|
@@ -26572,6 +26577,7 @@ var TableFooter = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
26572
26577
|
var getRowProps = function getRowProps(row) {
|
|
26573
26578
|
return ColumnGroupBase.getCProps(row);
|
|
26574
26579
|
};
|
|
26580
|
+
var context = React__namespace.useContext(PrimeReactContext);
|
|
26575
26581
|
var getColumnGroupProps = function getColumnGroupProps() {
|
|
26576
26582
|
return props.footerColumnGroup ? ColumnGroupBase.getCProps(props.footerColumnGroup) : undefined;
|
|
26577
26583
|
};
|
|
@@ -26629,7 +26635,7 @@ var TableFooter = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
26629
26635
|
return rows.map(function (row, i) {
|
|
26630
26636
|
var rootProps = mergeProps({
|
|
26631
26637
|
role: 'row'
|
|
26632
|
-
}, getRowPTOptions(row, 'root'));
|
|
26638
|
+
}, RowBase.getProps(row.props, context), getRowPTOptions(row, 'root'));
|
|
26633
26639
|
return /*#__PURE__*/React__namespace.createElement("tr", _extends({}, rootProps, {
|
|
26634
26640
|
key: i
|
|
26635
26641
|
}), createGroupFooterCells(row));
|
|
@@ -27820,7 +27826,7 @@ var HeaderCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
27820
27826
|
});
|
|
27821
27827
|
};
|
|
27822
27828
|
var _onKeyDown = function onKeyDown(event) {
|
|
27823
|
-
if ((event.code == 'Enter' || event.code === 'NumpadEnter' || event.code == 'Space') && event.currentTarget === elementRef.current && DomHandler.getAttribute(event.currentTarget, 'data-p-sortable-column') ===
|
|
27829
|
+
if ((event.code == 'Enter' || event.code === 'NumpadEnter' || event.code == 'Space') && event.currentTarget === elementRef.current && DomHandler.getAttribute(event.currentTarget, 'data-p-sortable-column') === true) {
|
|
27824
27830
|
_onClick(event);
|
|
27825
27831
|
event.preventDefault();
|
|
27826
27832
|
}
|
|
@@ -28078,6 +28084,7 @@ var TableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
28078
28084
|
ptm = _props$ptCallbacks.ptm,
|
|
28079
28085
|
ptmo = _props$ptCallbacks.ptmo,
|
|
28080
28086
|
cx = _props$ptCallbacks.cx;
|
|
28087
|
+
var context = React__namespace.useContext(PrimeReactContext);
|
|
28081
28088
|
var getColumnProp = function getColumnProp(column, name) {
|
|
28082
28089
|
return ColumnBase.getCProp(column, name);
|
|
28083
28090
|
};
|
|
@@ -28286,7 +28293,7 @@ var TableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
28286
28293
|
return rows.map(function (row, i) {
|
|
28287
28294
|
var headerRowProps = mergeProps({
|
|
28288
28295
|
role: 'row'
|
|
28289
|
-
}, getRowPTOptions(row, 'root'));
|
|
28296
|
+
}, RowBase.getProps(row.props, context), getRowPTOptions(row, 'root'));
|
|
28290
28297
|
return /*#__PURE__*/React__namespace.createElement("tr", _extends({}, headerRowProps, {
|
|
28291
28298
|
key: i
|
|
28292
28299
|
}), createGroupHeaderCells(row));
|
|
@@ -28312,9 +28319,9 @@ var TableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
28312
28319
|
});
|
|
28313
28320
|
TableHeader.displayName = 'TableHeader';
|
|
28314
28321
|
|
|
28315
|
-
function _createForOfIteratorHelper$b(
|
|
28316
|
-
function _unsupportedIterableToArray$b(
|
|
28317
|
-
function _arrayLikeToArray$b(
|
|
28322
|
+
function _createForOfIteratorHelper$b(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$b(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; } } }; }
|
|
28323
|
+
function _unsupportedIterableToArray$b(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$b(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$b(r, a) : void 0; } }
|
|
28324
|
+
function _arrayLikeToArray$b(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; }
|
|
28318
28325
|
function ownKeys$18(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; }
|
|
28319
28326
|
function _objectSpread$18(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$18(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$18(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28320
28327
|
var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -30273,9 +30280,9 @@ var DataViewLayoutOptionsBase = ComponentBase.extend({
|
|
|
30273
30280
|
}
|
|
30274
30281
|
});
|
|
30275
30282
|
|
|
30276
|
-
function _createForOfIteratorHelper$a(
|
|
30277
|
-
function _unsupportedIterableToArray$a(
|
|
30278
|
-
function _arrayLikeToArray$a(
|
|
30283
|
+
function _createForOfIteratorHelper$a(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$a(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; } } }; }
|
|
30284
|
+
function _unsupportedIterableToArray$a(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$a(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$a(r, a) : void 0; } }
|
|
30285
|
+
function _arrayLikeToArray$a(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; }
|
|
30279
30286
|
function ownKeys$17(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; }
|
|
30280
30287
|
function _objectSpread$17(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$17(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$17(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
30281
30288
|
var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (inProps) {
|
|
@@ -31575,8 +31582,8 @@ var Fieldset = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
31575
31582
|
});
|
|
31576
31583
|
Fieldset.displayName = 'Fieldset';
|
|
31577
31584
|
|
|
31578
|
-
function _readOnlyError(
|
|
31579
|
-
throw new TypeError("
|
|
31585
|
+
function _readOnlyError(r) {
|
|
31586
|
+
throw new TypeError('"' + r + '" is read-only');
|
|
31580
31587
|
}
|
|
31581
31588
|
|
|
31582
31589
|
var UploadIcon = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -31724,7 +31731,6 @@ var UIMessage = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
31724
31731
|
};
|
|
31725
31732
|
var createCloseIcon = function createCloseIcon() {
|
|
31726
31733
|
if (closable !== false) {
|
|
31727
|
-
var ariaLabel = localeOption('close');
|
|
31728
31734
|
var buttonIconProps = mergeProps({
|
|
31729
31735
|
className: cx('uimessage.buttonicon')
|
|
31730
31736
|
}, getPTOptions('buttonicon', parentParams), ptmo(pt, 'buttonicon', _objectSpread$14(_objectSpread$14({}, params), {}, {
|
|
@@ -31737,7 +31743,7 @@ var UIMessage = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
31737
31743
|
var buttonProps = mergeProps({
|
|
31738
31744
|
type: 'button',
|
|
31739
31745
|
className: cx('uimessage.button'),
|
|
31740
|
-
'aria-label': ariaLabel,
|
|
31746
|
+
'aria-label': ariaLabel('close'),
|
|
31741
31747
|
onClick: onClose
|
|
31742
31748
|
}, getPTOptions('button', parentParams), ptmo(pt, 'button', _objectSpread$14(_objectSpread$14({}, params), {}, {
|
|
31743
31749
|
hostName: props.hostName
|
|
@@ -32202,9 +32208,9 @@ var FileUploadBase = ComponentBase.extend({
|
|
|
32202
32208
|
|
|
32203
32209
|
function ownKeys$11(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; }
|
|
32204
32210
|
function _objectSpread$11(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$11(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$11(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32205
|
-
function _createForOfIteratorHelper$9(
|
|
32206
|
-
function _unsupportedIterableToArray$9(
|
|
32207
|
-
function _arrayLikeToArray$9(
|
|
32211
|
+
function _createForOfIteratorHelper$9(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$9(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; } } }; }
|
|
32212
|
+
function _unsupportedIterableToArray$9(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$9(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$9(r, a) : void 0; } }
|
|
32213
|
+
function _arrayLikeToArray$9(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; }
|
|
32208
32214
|
var FileUpload = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
32209
32215
|
var mergeProps = useMergeProps();
|
|
32210
32216
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -35509,7 +35515,8 @@ var InputMask = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
35509
35515
|
type: props.type,
|
|
35510
35516
|
name: props.name,
|
|
35511
35517
|
style: props.style,
|
|
35512
|
-
className: className
|
|
35518
|
+
className: className,
|
|
35519
|
+
value: props.value
|
|
35513
35520
|
}, otherProps, {
|
|
35514
35521
|
placeholder: props.placeholder,
|
|
35515
35522
|
size: props.size,
|
|
@@ -35723,7 +35730,8 @@ var InputTextareaBase = ComponentBase.extend({
|
|
|
35723
35730
|
tooltip: null,
|
|
35724
35731
|
tooltipOptions: null,
|
|
35725
35732
|
validateOnly: false,
|
|
35726
|
-
children: undefined
|
|
35733
|
+
children: undefined,
|
|
35734
|
+
className: null
|
|
35727
35735
|
},
|
|
35728
35736
|
css: {
|
|
35729
35737
|
classes: classes$D,
|
|
@@ -36414,9 +36422,9 @@ ListBoxItem.displayName = 'ListBoxItem';
|
|
|
36414
36422
|
|
|
36415
36423
|
function ownKeys$U(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; }
|
|
36416
36424
|
function _objectSpread$U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$U(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
36417
|
-
function _createForOfIteratorHelper$8(
|
|
36418
|
-
function _unsupportedIterableToArray$8(
|
|
36419
|
-
function _arrayLikeToArray$8(
|
|
36425
|
+
function _createForOfIteratorHelper$8(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$8(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; } } }; }
|
|
36426
|
+
function _unsupportedIterableToArray$8(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$8(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$8(r, a) : void 0; } }
|
|
36427
|
+
function _arrayLikeToArray$8(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; }
|
|
36420
36428
|
var ListBox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
36421
36429
|
var mergeProps = useMergeProps();
|
|
36422
36430
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -38991,6 +38999,7 @@ var Mention = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
|
|
|
38991
38999
|
style: props.inputStyle
|
|
38992
39000
|
}, inputProps), {}, {
|
|
38993
39001
|
unstyled: props.unstyled,
|
|
39002
|
+
autoResize: props.autoResize,
|
|
38994
39003
|
onFocus: onFocus,
|
|
38995
39004
|
onBlur: onBlur,
|
|
38996
39005
|
onKeyDown: onKeyDown,
|
|
@@ -41326,34 +41335,6 @@ var MultiSelectPanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__na
|
|
|
41326
41335
|
props === null || props === void 0 || (_props$changeFocusedO = props.changeFocusedOptionIndex) === null || _props$changeFocusedO === void 0 || _props$changeFocusedO.call(props, event, index);
|
|
41327
41336
|
}
|
|
41328
41337
|
};
|
|
41329
|
-
var createGroupChildren = function createGroupChildren(optionGroup, style) {
|
|
41330
|
-
var groupChildren = props.getOptionGroupChildren(optionGroup);
|
|
41331
|
-
return groupChildren.map(function (option, j) {
|
|
41332
|
-
var optionLabel = props.getOptionLabel(option);
|
|
41333
|
-
var optionKey = j + '_' + props.getOptionRenderKey(option);
|
|
41334
|
-
var disabled = props.isOptionDisabled(option);
|
|
41335
|
-
var selected = props.isSelected(option);
|
|
41336
|
-
return /*#__PURE__*/React__namespace.createElement(MultiSelectItem, {
|
|
41337
|
-
hostName: props.hostName,
|
|
41338
|
-
index: j,
|
|
41339
|
-
key: optionKey,
|
|
41340
|
-
focusedOptionIndex: props.focusedOptionIndex,
|
|
41341
|
-
label: optionLabel,
|
|
41342
|
-
option: option,
|
|
41343
|
-
style: style,
|
|
41344
|
-
template: props.itemTemplate,
|
|
41345
|
-
selected: selected,
|
|
41346
|
-
onClick: props.onOptionSelect,
|
|
41347
|
-
onMouseMove: changeFocusedItemOnHover,
|
|
41348
|
-
disabled: disabled,
|
|
41349
|
-
className: props.itemClassName,
|
|
41350
|
-
checkboxIcon: props.checkboxIcon,
|
|
41351
|
-
isUnstyled: isUnstyled,
|
|
41352
|
-
ptm: ptm,
|
|
41353
|
-
cx: cx
|
|
41354
|
-
});
|
|
41355
|
-
});
|
|
41356
|
-
};
|
|
41357
41338
|
var createEmptyFilter = function createEmptyFilter() {
|
|
41358
41339
|
var emptyFilterMessage = ObjectUtils.getJSXElement(props.emptyFilterMessage, props) || localeOption('emptyFilterMessage');
|
|
41359
41340
|
var emptyMessageProps = mergeProps({
|
|
@@ -41377,9 +41358,8 @@ var MultiSelectPanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__na
|
|
|
41377
41358
|
var style = {
|
|
41378
41359
|
height: scrollerOptions.props ? scrollerOptions.props.itemSize : undefined
|
|
41379
41360
|
};
|
|
41380
|
-
if (props.optionGroupLabel) {
|
|
41361
|
+
if (option.group && props.optionGroupLabel) {
|
|
41381
41362
|
var groupContent = props.optionGroupTemplate ? ObjectUtils.getJSXElement(props.optionGroupTemplate, option, index) : props.getOptionGroupLabel(option);
|
|
41382
|
-
var groupChildrenContent = createGroupChildren(option, style);
|
|
41383
41363
|
var key = index + '_' + props.getOptionGroupRenderKey(option);
|
|
41384
41364
|
var itemGroupProps = mergeProps({
|
|
41385
41365
|
className: cx('itemGroup'),
|
|
@@ -41387,11 +41367,9 @@ var MultiSelectPanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__na
|
|
|
41387
41367
|
scrollerOptions: scrollerOptions
|
|
41388
41368
|
})
|
|
41389
41369
|
}, getPTOptions('itemGroup'));
|
|
41390
|
-
return /*#__PURE__*/React__namespace.createElement(
|
|
41391
|
-
key: key
|
|
41392
|
-
}, /*#__PURE__*/React__namespace.createElement("li", _extends({}, itemGroupProps, {
|
|
41370
|
+
return /*#__PURE__*/React__namespace.createElement("li", _extends({
|
|
41393
41371
|
key: key
|
|
41394
|
-
}
|
|
41372
|
+
}, itemGroupProps), groupContent);
|
|
41395
41373
|
}
|
|
41396
41374
|
var optionLabel = props.getOptionLabel(option);
|
|
41397
41375
|
var optionKey = index + '_' + props.getOptionRenderKey(option);
|
|
@@ -41550,9 +41528,9 @@ MultiSelectPanel.displayName = 'MultiSelectPanel';
|
|
|
41550
41528
|
|
|
41551
41529
|
function ownKeys$J(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; }
|
|
41552
41530
|
function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$J(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41553
|
-
function _createForOfIteratorHelper$7(
|
|
41554
|
-
function _unsupportedIterableToArray$7(
|
|
41555
|
-
function _arrayLikeToArray$7(
|
|
41531
|
+
function _createForOfIteratorHelper$7(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$7(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; } } }; }
|
|
41532
|
+
function _unsupportedIterableToArray$7(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$7(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$7(r, a) : void 0; } }
|
|
41533
|
+
function _arrayLikeToArray$7(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; }
|
|
41556
41534
|
var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
41557
41535
|
var mergeProps = useMergeProps();
|
|
41558
41536
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -41587,8 +41565,9 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
41587
41565
|
var firstHiddenFocusableElementOnOverlay = React__namespace.useRef(null);
|
|
41588
41566
|
var lastHiddenFocusableElementOnOverlay = React__namespace.useRef(null);
|
|
41589
41567
|
var inputRef = React__namespace.useRef(props.inputRef);
|
|
41590
|
-
var
|
|
41568
|
+
var labelContainerRef = React__namespace.useRef(null);
|
|
41591
41569
|
var overlayRef = React__namespace.useRef(null);
|
|
41570
|
+
var labelRef = React__namespace.useRef(null);
|
|
41592
41571
|
var hasFilter = filterState && filterState.trim().length > 0;
|
|
41593
41572
|
var empty = ObjectUtils.isEmpty(props.value);
|
|
41594
41573
|
var equalityKey = props.optionValue ? null : props.dataKey;
|
|
@@ -41894,29 +41873,12 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
41894
41873
|
var value = null;
|
|
41895
41874
|
if (event.checked) {
|
|
41896
41875
|
value = [];
|
|
41897
|
-
|
|
41898
|
-
|
|
41899
|
-
|
|
41900
|
-
});
|
|
41901
|
-
value = selectedOptions.map(function (option) {
|
|
41902
|
-
return getOptionValue(option);
|
|
41903
|
-
});
|
|
41904
|
-
}
|
|
41905
|
-
} else if (visibleOptions) {
|
|
41906
|
-
var options = visibleOptions.filter(function (option) {
|
|
41907
|
-
return !isOptionDisabled(option) || isSelected(option);
|
|
41876
|
+
} else {
|
|
41877
|
+
var validOptions = visibleOptions.filter(function (option) {
|
|
41878
|
+
return isValidOption(option) && !isOptionDisabled(option);
|
|
41908
41879
|
});
|
|
41909
|
-
if (
|
|
41910
|
-
value =
|
|
41911
|
-
options.forEach(function (optionGroup) {
|
|
41912
|
-
return value = [].concat(_toConsumableArray(value), _toConsumableArray(getOptionGroupChildren(optionGroup).filter(function (option) {
|
|
41913
|
-
return !isOptionDisabled(option);
|
|
41914
|
-
}).map(function (option) {
|
|
41915
|
-
return getOptionValue(option);
|
|
41916
|
-
})));
|
|
41917
|
-
});
|
|
41918
|
-
} else {
|
|
41919
|
-
value = options.map(function (option) {
|
|
41880
|
+
if (validOptions) {
|
|
41881
|
+
value = validOptions.map(function (option) {
|
|
41920
41882
|
return getOptionValue(option);
|
|
41921
41883
|
});
|
|
41922
41884
|
}
|
|
@@ -42020,7 +41982,7 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
42020
41982
|
props.onHide && props.onHide();
|
|
42021
41983
|
};
|
|
42022
41984
|
var alignOverlay = function alignOverlay() {
|
|
42023
|
-
DomHandler.alignOverlay(overlayRef.current,
|
|
41985
|
+
!props.inline && DomHandler.alignOverlay(overlayRef.current, labelContainerRef.current.parentElement, props.appendTo || context && context.appendTo || PrimeReact.appendTo);
|
|
42024
41986
|
};
|
|
42025
41987
|
var isClearClicked = function isClearClicked(event) {
|
|
42026
41988
|
return DomHandler.getAttribute(event.target, 'data-pc-section') === 'clearicon';
|
|
@@ -42122,31 +42084,8 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
42122
42084
|
return false;
|
|
42123
42085
|
}
|
|
42124
42086
|
var options = visibleOptions.filter(function (option) {
|
|
42125
|
-
return !isOptionDisabled(option);
|
|
42087
|
+
return !isOptionDisabled(option) && isValidOption(option);
|
|
42126
42088
|
});
|
|
42127
|
-
if (props.optionGroupLabel) {
|
|
42128
|
-
var areAllSelected = true;
|
|
42129
|
-
var _iterator2 = _createForOfIteratorHelper$7(options),
|
|
42130
|
-
_step2;
|
|
42131
|
-
try {
|
|
42132
|
-
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
42133
|
-
var optionGroup = _step2.value;
|
|
42134
|
-
var visibleOptionsGroupChildren = getOptionGroupChildren(optionGroup).filter(function (option) {
|
|
42135
|
-
return !isOptionDisabled(option);
|
|
42136
|
-
});
|
|
42137
|
-
if (visibleOptionsGroupChildren.some(function (option) {
|
|
42138
|
-
return !isSelected(option);
|
|
42139
|
-
}) === true) {
|
|
42140
|
-
areAllSelected = false;
|
|
42141
|
-
}
|
|
42142
|
-
}
|
|
42143
|
-
} catch (err) {
|
|
42144
|
-
_iterator2.e(err);
|
|
42145
|
-
} finally {
|
|
42146
|
-
_iterator2.f();
|
|
42147
|
-
}
|
|
42148
|
-
return areAllSelected;
|
|
42149
|
-
}
|
|
42150
42089
|
return !options.some(function (option) {
|
|
42151
42090
|
return !isSelected(option);
|
|
42152
42091
|
});
|
|
@@ -42196,7 +42135,7 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
42196
42135
|
return !props.useOptionAsValue && props.optionValue || option && option.value !== undefined;
|
|
42197
42136
|
};
|
|
42198
42137
|
var isOptionGroup = function isOptionGroup(option) {
|
|
42199
|
-
return props.optionGroupLabel && option.
|
|
42138
|
+
return props.optionGroupLabel && option.group;
|
|
42200
42139
|
};
|
|
42201
42140
|
var hasSelectedOption = function hasSelectedOption() {
|
|
42202
42141
|
return ObjectUtils.isNotEmpty(props.value);
|
|
@@ -42307,6 +42246,7 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
42307
42246
|
};
|
|
42308
42247
|
var removeChip = function removeChip(event, item) {
|
|
42309
42248
|
event.stopPropagation();
|
|
42249
|
+
if (!isVisible(event.currentTarget)) return;
|
|
42310
42250
|
var value = props.value.filter(function (val) {
|
|
42311
42251
|
return !ObjectUtils.equals(val, item, equalityKey);
|
|
42312
42252
|
});
|
|
@@ -42318,6 +42258,17 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
42318
42258
|
}
|
|
42319
42259
|
updateModel(event, value, item);
|
|
42320
42260
|
};
|
|
42261
|
+
var isVisible = function isVisible(element) {
|
|
42262
|
+
var parentElement = labelRef.current;
|
|
42263
|
+
var isOverflow = parentElement.clientWidth < parentElement.scrollWidth;
|
|
42264
|
+
if (!isOverflow) return true;
|
|
42265
|
+
var target = element.closest('[data-pc-section="token"]');
|
|
42266
|
+
var parentStyles = window.getComputedStyle(parentElement);
|
|
42267
|
+
var targetStyles = window.getComputedStyle(target);
|
|
42268
|
+
var parentWidth = parentElement.clientWidth - parseFloat(parentStyles.paddingLeft) - parseFloat(parentStyles.paddingRight);
|
|
42269
|
+
var targetRight = target.getBoundingClientRect().right + parseFloat(targetStyles.marginRight) - parentElement.getBoundingClientRect().left;
|
|
42270
|
+
return targetRight <= parentWidth;
|
|
42271
|
+
};
|
|
42321
42272
|
var getSelectedItemsLabel = function getSelectedItemsLabel() {
|
|
42322
42273
|
var pattern = /{(.*?)}/;
|
|
42323
42274
|
var selectedItemsLabel = props.selectedItemsLabel || localeOption('selectionMessage');
|
|
@@ -42368,10 +42319,15 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
42368
42319
|
var label = getLabelByValue(val);
|
|
42369
42320
|
var labelKey = label + '_' + i;
|
|
42370
42321
|
var iconProps = mergeProps({
|
|
42322
|
+
'aria-label': localeOption('removeTokenIcon'),
|
|
42371
42323
|
className: cx('removeTokenIcon'),
|
|
42372
42324
|
onClick: function onClick(e) {
|
|
42373
42325
|
return removeChip(e, val);
|
|
42374
|
-
}
|
|
42326
|
+
},
|
|
42327
|
+
onKeyDown: function onKeyDown(e) {
|
|
42328
|
+
return onRemoveTokenIconKeyDown(e, val);
|
|
42329
|
+
},
|
|
42330
|
+
tabIndex: props.tabIndex || '0'
|
|
42375
42331
|
}, ptm('removeTokenIcon', context));
|
|
42376
42332
|
var icon = !props.disabled && (props.removeIcon ? IconUtils.getJSXIcon(props.removeIcon, _objectSpread$J({}, iconProps), {
|
|
42377
42333
|
props: props
|
|
@@ -42390,31 +42346,73 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
42390
42346
|
return getLabel();
|
|
42391
42347
|
};
|
|
42392
42348
|
var getVisibleOptions = function getVisibleOptions() {
|
|
42349
|
+
var options = props.optionGroupLabel ? flatOptions(props.options) : props.options;
|
|
42393
42350
|
if (hasFilter) {
|
|
42394
42351
|
var filterValue = filterState.trim().toLocaleLowerCase(props.filterLocale);
|
|
42395
42352
|
var searchFields = props.filterBy ? props.filterBy.split(',') : [props.optionLabel || 'label'];
|
|
42396
42353
|
if (props.optionGroupLabel) {
|
|
42397
42354
|
var filteredGroups = [];
|
|
42398
|
-
var
|
|
42399
|
-
|
|
42355
|
+
var _iterator2 = _createForOfIteratorHelper$7(props.options),
|
|
42356
|
+
_step2;
|
|
42400
42357
|
try {
|
|
42401
|
-
for (
|
|
42402
|
-
var optgroup =
|
|
42358
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
42359
|
+
var optgroup = _step2.value;
|
|
42403
42360
|
var filteredSubOptions = FilterService.filter(getOptionGroupChildren(optgroup), searchFields, filterValue, props.filterMatchMode, props.filterLocale);
|
|
42404
42361
|
if (filteredSubOptions && filteredSubOptions.length) {
|
|
42405
42362
|
filteredGroups.push(_objectSpread$J(_objectSpread$J({}, optgroup), _defineProperty({}, props.optionGroupChildren, filteredSubOptions)));
|
|
42406
42363
|
}
|
|
42407
42364
|
}
|
|
42408
42365
|
} catch (err) {
|
|
42409
|
-
|
|
42366
|
+
_iterator2.e(err);
|
|
42410
42367
|
} finally {
|
|
42411
|
-
|
|
42368
|
+
_iterator2.f();
|
|
42412
42369
|
}
|
|
42413
|
-
return filteredGroups;
|
|
42370
|
+
return flatOptions(filteredGroups);
|
|
42414
42371
|
}
|
|
42415
|
-
return FilterService.filter(
|
|
42372
|
+
return FilterService.filter(options, searchFields, filterValue, props.filterMatchMode, props.filterLocale);
|
|
42373
|
+
}
|
|
42374
|
+
return options;
|
|
42375
|
+
};
|
|
42376
|
+
var flatOptions = function flatOptions(options) {
|
|
42377
|
+
return (options || []).reduce(function (result, option, index) {
|
|
42378
|
+
result.push(_objectSpread$J(_objectSpread$J({}, option), {}, {
|
|
42379
|
+
group: true,
|
|
42380
|
+
index: index
|
|
42381
|
+
}));
|
|
42382
|
+
var optionGroupChildren = getOptionGroupChildren(option);
|
|
42383
|
+
optionGroupChildren && optionGroupChildren.forEach(function (o) {
|
|
42384
|
+
return result.push(o);
|
|
42385
|
+
});
|
|
42386
|
+
return result;
|
|
42387
|
+
}, []);
|
|
42388
|
+
};
|
|
42389
|
+
var onClearIconKeyDown = function onClearIconKeyDown(event) {
|
|
42390
|
+
event.preventDefault();
|
|
42391
|
+
event.stopPropagation();
|
|
42392
|
+
switch (event.code) {
|
|
42393
|
+
case 'Space':
|
|
42394
|
+
case 'NumpadEnter':
|
|
42395
|
+
case 'Enter':
|
|
42396
|
+
if (props.inline) {
|
|
42397
|
+
break;
|
|
42398
|
+
}
|
|
42399
|
+
updateModel(event, [], []);
|
|
42400
|
+
break;
|
|
42401
|
+
}
|
|
42402
|
+
};
|
|
42403
|
+
var onRemoveTokenIconKeyDown = function onRemoveTokenIconKeyDown(event, val) {
|
|
42404
|
+
event.preventDefault();
|
|
42405
|
+
event.stopPropagation();
|
|
42406
|
+
switch (event.code) {
|
|
42407
|
+
case 'Space':
|
|
42408
|
+
case 'NumpadEnter':
|
|
42409
|
+
case 'Enter':
|
|
42410
|
+
if (props.inline) {
|
|
42411
|
+
break;
|
|
42412
|
+
}
|
|
42413
|
+
removeChip(event, val);
|
|
42414
|
+
break;
|
|
42416
42415
|
}
|
|
42417
|
-
return props.options;
|
|
42418
42416
|
};
|
|
42419
42417
|
React__namespace.useImperativeHandle(ref, function () {
|
|
42420
42418
|
return {
|
|
@@ -42460,9 +42458,14 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
42460
42458
|
var createClearIcon = function createClearIcon() {
|
|
42461
42459
|
var clearIconProps = mergeProps({
|
|
42462
42460
|
className: cx('clearIcon'),
|
|
42461
|
+
'aria-label': localeOption('clear'),
|
|
42463
42462
|
onClick: function onClick(e) {
|
|
42464
42463
|
return updateModel(e, [], []);
|
|
42465
|
-
}
|
|
42464
|
+
},
|
|
42465
|
+
onKeyDown: function onKeyDown(e) {
|
|
42466
|
+
return onClearIconKeyDown(e);
|
|
42467
|
+
},
|
|
42468
|
+
tabIndex: props.tabIndex || '0'
|
|
42466
42469
|
}, ptm('clearIcon'));
|
|
42467
42470
|
var icon = props.clearIcon || /*#__PURE__*/React__namespace.createElement(TimesIcon, clearIconProps);
|
|
42468
42471
|
var clearIcon = IconUtils.getJSXIcon(icon, _objectSpread$J({}, clearIconProps), {
|
|
@@ -42476,10 +42479,11 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
42476
42479
|
var createLabel = function createLabel() {
|
|
42477
42480
|
var content = getLabelContent();
|
|
42478
42481
|
var labelContainerProps = mergeProps({
|
|
42479
|
-
ref:
|
|
42482
|
+
ref: labelContainerRef,
|
|
42480
42483
|
className: cx('labelContainer')
|
|
42481
42484
|
}, ptm('labelContainer'));
|
|
42482
42485
|
var labelProps = mergeProps({
|
|
42486
|
+
ref: labelRef,
|
|
42483
42487
|
className: cx('label', {
|
|
42484
42488
|
empty: empty
|
|
42485
42489
|
})
|
|
@@ -43920,12 +43924,8 @@ var OrganizationChartNode = /*#__PURE__*/React__namespace.memo(function (props)
|
|
|
43920
43924
|
},
|
|
43921
43925
|
href: '#'
|
|
43922
43926
|
}, getPTOptions('nodeToggler'));
|
|
43923
|
-
return (
|
|
43924
|
-
|
|
43925
|
-
/* eslint-disable */
|
|
43926
|
-
React__namespace.createElement("a", nodeTogglerProps, /*#__PURE__*/React__namespace.createElement("i", null, " ", togglerIcon, " "))
|
|
43927
|
-
/* eslint-enable */
|
|
43928
|
-
);
|
|
43927
|
+
return /*#__PURE__*/ /* eslint-disable */React__namespace.createElement("a", nodeTogglerProps, /*#__PURE__*/React__namespace.createElement("i", null, " ", togglerIcon, " "))
|
|
43928
|
+
/* eslint-enable */;
|
|
43929
43929
|
}
|
|
43930
43930
|
return null;
|
|
43931
43931
|
};
|
|
@@ -48950,7 +48950,7 @@ var Sidebar = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
|
48950
48950
|
getElement: function getElement() {
|
|
48951
48951
|
return sidebarRef.current;
|
|
48952
48952
|
},
|
|
48953
|
-
|
|
48953
|
+
getMask: function getMask() {
|
|
48954
48954
|
return maskRef.current;
|
|
48955
48955
|
},
|
|
48956
48956
|
getCloseIcon: function getCloseIcon() {
|
|
@@ -55325,7 +55325,7 @@ var ToggleButton = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namesp
|
|
|
55325
55325
|
});
|
|
55326
55326
|
var hasLabel = props.onLabel && props.onLabel.length > 0 && props.offLabel && props.offLabel.length > 0;
|
|
55327
55327
|
var hasIcon = props.onIcon && props.offIcon;
|
|
55328
|
-
var label = hasLabel ? props.checked ? props.onLabel : props.offLabel :
|
|
55328
|
+
var label = hasLabel ? props.checked ? props.onLabel : props.offLabel : "\xA0";
|
|
55329
55329
|
var icon = props.checked ? props.onIcon : props.offIcon;
|
|
55330
55330
|
var toggle = function toggle(e) {
|
|
55331
55331
|
if (!props.disabled && props.onChange && !props.readonly) {
|
|
@@ -55616,9 +55616,9 @@ var TreeBase = ComponentBase.extend({
|
|
|
55616
55616
|
}
|
|
55617
55617
|
});
|
|
55618
55618
|
|
|
55619
|
-
function _createForOfIteratorHelper$6(
|
|
55620
|
-
function _unsupportedIterableToArray$6(
|
|
55621
|
-
function _arrayLikeToArray$6(
|
|
55619
|
+
function _createForOfIteratorHelper$6(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$6(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; } } }; }
|
|
55620
|
+
function _unsupportedIterableToArray$6(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$6(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$6(r, a) : void 0; } }
|
|
55621
|
+
function _arrayLikeToArray$6(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; }
|
|
55622
55622
|
function ownKeys$a(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; }
|
|
55623
55623
|
function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$a(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
55624
55624
|
var UITreeNode = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
@@ -56272,7 +56272,7 @@ var UITreeNode = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
56272
56272
|
type: 'button',
|
|
56273
56273
|
className: cx('toggler'),
|
|
56274
56274
|
tabIndex: -1,
|
|
56275
|
-
'aria-hidden':
|
|
56275
|
+
'aria-hidden': false,
|
|
56276
56276
|
onClick: onTogglerClick
|
|
56277
56277
|
}, getPTOptions('toggler'));
|
|
56278
56278
|
var content = /*#__PURE__*/React__namespace.createElement("button", togglerProps, togglerIcon, /*#__PURE__*/React__namespace.createElement(Ripple, null));
|
|
@@ -56425,9 +56425,9 @@ UITreeNode.displayName = 'UITreeNode';
|
|
|
56425
56425
|
|
|
56426
56426
|
function ownKeys$9(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; }
|
|
56427
56427
|
function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$9(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$9(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
56428
|
-
function _createForOfIteratorHelper$5(
|
|
56429
|
-
function _unsupportedIterableToArray$5(
|
|
56430
|
-
function _arrayLikeToArray$5(
|
|
56428
|
+
function _createForOfIteratorHelper$5(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$5(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; } } }; }
|
|
56429
|
+
function _unsupportedIterableToArray$5(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$5(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$5(r, a) : void 0; } }
|
|
56430
|
+
function _arrayLikeToArray$5(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; }
|
|
56431
56431
|
var Tree = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
56432
56432
|
var mergeProps = useMergeProps();
|
|
56433
56433
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -57168,9 +57168,9 @@ TreeSelectPanel.displayName = 'TreeSelectPanel';
|
|
|
57168
57168
|
|
|
57169
57169
|
function ownKeys$7(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; }
|
|
57170
57170
|
function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$7(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$7(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
57171
|
-
function _createForOfIteratorHelper$4(
|
|
57172
|
-
function _unsupportedIterableToArray$4(
|
|
57173
|
-
function _arrayLikeToArray$4(
|
|
57171
|
+
function _createForOfIteratorHelper$4(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$4(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; } } }; }
|
|
57172
|
+
function _unsupportedIterableToArray$4(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$4(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$4(r, a) : void 0; } }
|
|
57173
|
+
function _arrayLikeToArray$4(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; }
|
|
57174
57174
|
var TreeSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
57175
57175
|
var mergeProps = useMergeProps();
|
|
57176
57176
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -57530,7 +57530,8 @@ var TreeSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespac
|
|
|
57530
57530
|
}
|
|
57531
57531
|
};
|
|
57532
57532
|
var setFocusToFocusableFirstNode = function setFocusToFocusableFirstNode() {
|
|
57533
|
-
var
|
|
57533
|
+
var _treeRef$current;
|
|
57534
|
+
var treeNodeEl = DomHandler.find((_treeRef$current = treeRef.current) === null || _treeRef$current === void 0 ? void 0 : _treeRef$current.getElement(), '[data-pc-section="node"]');
|
|
57534
57535
|
var focusedElement = _toConsumableArray(treeNodeEl).find(function (item) {
|
|
57535
57536
|
return item.getAttribute('tabindex') === '0';
|
|
57536
57537
|
});
|
|
@@ -58377,9 +58378,9 @@ var TreeTableBodyCell = function TreeTableBodyCell(props) {
|
|
|
58377
58378
|
};
|
|
58378
58379
|
TreeTableBodyCell.displayName = 'TreeTableBodyCell';
|
|
58379
58380
|
|
|
58380
|
-
function _createForOfIteratorHelper$3(
|
|
58381
|
-
function _unsupportedIterableToArray$3(
|
|
58382
|
-
function _arrayLikeToArray$3(
|
|
58381
|
+
function _createForOfIteratorHelper$3(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$3(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; } } }; }
|
|
58382
|
+
function _unsupportedIterableToArray$3(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$3(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$3(r, a) : void 0; } }
|
|
58383
|
+
function _arrayLikeToArray$3(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; }
|
|
58383
58384
|
function ownKeys$5(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; }
|
|
58384
58385
|
function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$5(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$5(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
58385
58386
|
var TreeTableRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
@@ -58965,9 +58966,9 @@ var TreeTableRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
58965
58966
|
});
|
|
58966
58967
|
TreeTableRow.displayName = 'TreeTableRow';
|
|
58967
58968
|
|
|
58968
|
-
function _createForOfIteratorHelper$2(
|
|
58969
|
-
function _unsupportedIterableToArray$2(
|
|
58970
|
-
function _arrayLikeToArray$2(
|
|
58969
|
+
function _createForOfIteratorHelper$2(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$2(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; } } }; }
|
|
58970
|
+
function _unsupportedIterableToArray$2(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$2(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$2(r, a) : void 0; } }
|
|
58971
|
+
function _arrayLikeToArray$2(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; }
|
|
58971
58972
|
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; }
|
|
58972
58973
|
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; }
|
|
58973
58974
|
var TreeTableBody = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
@@ -59208,6 +59209,7 @@ var TreeTableFooter = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
59208
59209
|
ptm = _props$ptCallbacks.ptm,
|
|
59209
59210
|
ptmo = _props$ptCallbacks.ptmo,
|
|
59210
59211
|
cx = _props$ptCallbacks.cx;
|
|
59212
|
+
var context = React__namespace.useContext(PrimeReactContext);
|
|
59211
59213
|
var getColumnProp = function getColumnProp(column, name) {
|
|
59212
59214
|
return ColumnBase.getCProp(column, name);
|
|
59213
59215
|
};
|
|
@@ -59244,7 +59246,7 @@ var TreeTableFooter = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
59244
59246
|
var footerRowProps = mergeProps(ptm('footerRow', {
|
|
59245
59247
|
hostName: props.hostName,
|
|
59246
59248
|
role: 'row'
|
|
59247
|
-
}));
|
|
59249
|
+
}), RowBase.getProps(row.props, context));
|
|
59248
59250
|
return /*#__PURE__*/React__namespace.createElement("tr", _extends({}, footerRowProps, {
|
|
59249
59251
|
key: index
|
|
59250
59252
|
}), rowFooterCells);
|
|
@@ -59282,9 +59284,9 @@ var TreeTableFooter = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
59282
59284
|
});
|
|
59283
59285
|
TreeTableFooter.displayName = 'TreeTableFooter';
|
|
59284
59286
|
|
|
59285
|
-
function _createForOfIteratorHelper$1(
|
|
59286
|
-
function _unsupportedIterableToArray$1(
|
|
59287
|
-
function _arrayLikeToArray$1(
|
|
59287
|
+
function _createForOfIteratorHelper$1(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1(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; } } }; }
|
|
59288
|
+
function _unsupportedIterableToArray$1(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1(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$1(r, a) : void 0; } }
|
|
59289
|
+
function _arrayLikeToArray$1(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; }
|
|
59288
59290
|
function ownKeys$3(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; }
|
|
59289
59291
|
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
59290
59292
|
var TreeTableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
@@ -59294,6 +59296,7 @@ var TreeTableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
59294
59296
|
ptmo = _props$ptCallbacks.ptmo,
|
|
59295
59297
|
cx = _props$ptCallbacks.cx;
|
|
59296
59298
|
var filterTimeout = React__namespace.useRef(null);
|
|
59299
|
+
var context = React__namespace.useContext(PrimeReactContext);
|
|
59297
59300
|
var getColumnProp = function getColumnProp(column) {
|
|
59298
59301
|
return column ? typeof (arguments.length <= 1 ? undefined : arguments[1]) === 'string' ? ColumnBase.getCProp(column, arguments.length <= 1 ? undefined : arguments[1]) : ColumnBase.getCProp((arguments.length <= 1 ? undefined : arguments[1]) || column, arguments.length <= 2 ? undefined : arguments[2]) : null;
|
|
59299
59302
|
};
|
|
@@ -59567,6 +59570,7 @@ var TreeTableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
59567
59570
|
style: getColumnProp(column, 'headerStyle') || getColumnProp(column, 'style'),
|
|
59568
59571
|
tabIndex: sortable ? props.tabIndex : null,
|
|
59569
59572
|
'aria-sort': ariaSort,
|
|
59573
|
+
//TODO: aria-sort is defined here two times (ariaSort, ariaSortData) ?
|
|
59570
59574
|
onClick: function onClick(e) {
|
|
59571
59575
|
return onHeaderClick(e, column);
|
|
59572
59576
|
},
|
|
@@ -59619,7 +59623,7 @@ var TreeTableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
59619
59623
|
});
|
|
59620
59624
|
var headerRowProps = mergeProps(ptm('headerRow', {
|
|
59621
59625
|
hostName: props.hostName
|
|
59622
|
-
}));
|
|
59626
|
+
}), RowBase.getProps(row.props, context));
|
|
59623
59627
|
return /*#__PURE__*/React__namespace.createElement("tr", _extends({
|
|
59624
59628
|
role: "row"
|
|
59625
59629
|
}, headerRowProps, {
|
|
@@ -59838,9 +59842,9 @@ TreeTableScrollableView.displayName = 'TreeTableScrollableView';
|
|
|
59838
59842
|
|
|
59839
59843
|
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; }
|
|
59840
59844
|
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; }
|
|
59841
|
-
function _createForOfIteratorHelper(
|
|
59842
|
-
function _unsupportedIterableToArray(
|
|
59843
|
-
function _arrayLikeToArray(
|
|
59845
|
+
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; } } }; }
|
|
59846
|
+
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; } }
|
|
59847
|
+
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; }
|
|
59844
59848
|
var TreeTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
59845
59849
|
var mergeProps = useMergeProps();
|
|
59846
59850
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -60304,7 +60308,7 @@ var TreeTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
60304
60308
|
}
|
|
60305
60309
|
if (props.onValueChange) {
|
|
60306
60310
|
props.onValueChange(processedData({
|
|
60307
|
-
filters:
|
|
60311
|
+
filters: newFilters
|
|
60308
60312
|
}));
|
|
60309
60313
|
}
|
|
60310
60314
|
};
|