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.esm.js
CHANGED
|
@@ -5,49 +5,43 @@ import { CSSTransition as CSSTransition$1, TransitionGroup } from 'react-transit
|
|
|
5
5
|
import ReactDOM from 'react-dom';
|
|
6
6
|
|
|
7
7
|
function _extends() {
|
|
8
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
9
|
-
for (var
|
|
10
|
-
var
|
|
11
|
-
for (var
|
|
12
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
13
|
-
target[key] = source[key];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
8
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
9
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
10
|
+
var t = arguments[e];
|
|
11
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
16
12
|
}
|
|
17
|
-
return
|
|
18
|
-
};
|
|
19
|
-
return _extends.apply(this, arguments);
|
|
13
|
+
return n;
|
|
14
|
+
}, _extends.apply(null, arguments);
|
|
20
15
|
}
|
|
21
16
|
|
|
22
|
-
function _arrayLikeToArray$i(
|
|
23
|
-
|
|
24
|
-
for (var
|
|
25
|
-
return
|
|
17
|
+
function _arrayLikeToArray$i(r, a) {
|
|
18
|
+
(null == a || a > r.length) && (a = r.length);
|
|
19
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
20
|
+
return n;
|
|
26
21
|
}
|
|
27
22
|
|
|
28
|
-
function _arrayWithoutHoles(
|
|
29
|
-
if (Array.isArray(
|
|
23
|
+
function _arrayWithoutHoles(r) {
|
|
24
|
+
if (Array.isArray(r)) return _arrayLikeToArray$i(r);
|
|
30
25
|
}
|
|
31
26
|
|
|
32
|
-
function _iterableToArray(
|
|
33
|
-
if (typeof Symbol
|
|
27
|
+
function _iterableToArray(r) {
|
|
28
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
34
29
|
}
|
|
35
30
|
|
|
36
|
-
function _unsupportedIterableToArray$i(
|
|
37
|
-
if (
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$i(o, minLen);
|
|
31
|
+
function _unsupportedIterableToArray$i(r, a) {
|
|
32
|
+
if (r) {
|
|
33
|
+
if ("string" == typeof r) return _arrayLikeToArray$i(r, a);
|
|
34
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
35
|
+
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;
|
|
36
|
+
}
|
|
43
37
|
}
|
|
44
38
|
|
|
45
39
|
function _nonIterableSpread() {
|
|
46
40
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
47
41
|
}
|
|
48
42
|
|
|
49
|
-
function _toConsumableArray(
|
|
50
|
-
return _arrayWithoutHoles(
|
|
43
|
+
function _toConsumableArray(r) {
|
|
44
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$i(r) || _nonIterableSpread();
|
|
51
45
|
}
|
|
52
46
|
|
|
53
47
|
function _typeof(o) {
|
|
@@ -60,39 +54,33 @@ function _typeof(o) {
|
|
|
60
54
|
}, _typeof(o);
|
|
61
55
|
}
|
|
62
56
|
|
|
63
|
-
function
|
|
64
|
-
if (
|
|
65
|
-
var
|
|
66
|
-
if (
|
|
67
|
-
var
|
|
68
|
-
if (
|
|
57
|
+
function toPrimitive(t, r) {
|
|
58
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
59
|
+
var e = t[Symbol.toPrimitive];
|
|
60
|
+
if (void 0 !== e) {
|
|
61
|
+
var i = e.call(t, r || "default");
|
|
62
|
+
if ("object" != _typeof(i)) return i;
|
|
69
63
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
70
64
|
}
|
|
71
|
-
return (
|
|
65
|
+
return ("string" === r ? String : Number)(t);
|
|
72
66
|
}
|
|
73
67
|
|
|
74
|
-
function
|
|
75
|
-
var
|
|
76
|
-
return _typeof(
|
|
68
|
+
function toPropertyKey(t) {
|
|
69
|
+
var i = toPrimitive(t, "string");
|
|
70
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
77
71
|
}
|
|
78
72
|
|
|
79
|
-
function _defineProperty(
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
writable: true
|
|
87
|
-
});
|
|
88
|
-
} else {
|
|
89
|
-
obj[key] = value;
|
|
90
|
-
}
|
|
91
|
-
return obj;
|
|
73
|
+
function _defineProperty(e, r, t) {
|
|
74
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
75
|
+
value: t,
|
|
76
|
+
enumerable: !0,
|
|
77
|
+
configurable: !0,
|
|
78
|
+
writable: !0
|
|
79
|
+
}) : e[r] = t, e;
|
|
92
80
|
}
|
|
93
81
|
|
|
94
|
-
function _arrayWithHoles(
|
|
95
|
-
if (Array.isArray(
|
|
82
|
+
function _arrayWithHoles(r) {
|
|
83
|
+
if (Array.isArray(r)) return r;
|
|
96
84
|
}
|
|
97
85
|
|
|
98
86
|
function _iterableToArrayLimit(r, l) {
|
|
@@ -127,8 +115,8 @@ function _nonIterableRest() {
|
|
|
127
115
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
128
116
|
}
|
|
129
117
|
|
|
130
|
-
function _slicedToArray(
|
|
131
|
-
return _arrayWithHoles(
|
|
118
|
+
function _slicedToArray(r, e) {
|
|
119
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$i(r, e) || _nonIterableRest();
|
|
132
120
|
}
|
|
133
121
|
|
|
134
122
|
var FilterMatchMode = Object.freeze({
|
|
@@ -187,33 +175,25 @@ function classNames() {
|
|
|
187
175
|
return undefined;
|
|
188
176
|
}
|
|
189
177
|
|
|
190
|
-
function _classCallCheck(
|
|
191
|
-
if (!(
|
|
192
|
-
throw new TypeError("Cannot call a class as a function");
|
|
193
|
-
}
|
|
178
|
+
function _classCallCheck(a, n) {
|
|
179
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
194
180
|
}
|
|
195
181
|
|
|
196
|
-
function _defineProperties(
|
|
197
|
-
for (var
|
|
198
|
-
var
|
|
199
|
-
|
|
200
|
-
descriptor.configurable = true;
|
|
201
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
202
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
182
|
+
function _defineProperties(e, r) {
|
|
183
|
+
for (var t = 0; t < r.length; t++) {
|
|
184
|
+
var o = r[t];
|
|
185
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
203
186
|
}
|
|
204
187
|
}
|
|
205
|
-
function _createClass(
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
writable: false
|
|
210
|
-
});
|
|
211
|
-
return Constructor;
|
|
188
|
+
function _createClass(e, r, t) {
|
|
189
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
190
|
+
writable: !1
|
|
191
|
+
}), e;
|
|
212
192
|
}
|
|
213
193
|
|
|
214
|
-
function _createForOfIteratorHelper$h(
|
|
215
|
-
function _unsupportedIterableToArray$h(
|
|
216
|
-
function _arrayLikeToArray$h(
|
|
194
|
+
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; } } }; }
|
|
195
|
+
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; } }
|
|
196
|
+
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; }
|
|
217
197
|
var DomHandler = /*#__PURE__*/function () {
|
|
218
198
|
function DomHandler() {
|
|
219
199
|
_classCallCheck(this, DomHandler);
|
|
@@ -1483,9 +1463,9 @@ function EventBus() {
|
|
|
1483
1463
|
};
|
|
1484
1464
|
}
|
|
1485
1465
|
|
|
1486
|
-
function _createForOfIteratorHelper$g(
|
|
1487
|
-
function _unsupportedIterableToArray$g(
|
|
1488
|
-
function _arrayLikeToArray$g(
|
|
1466
|
+
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; } } }; }
|
|
1467
|
+
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; } }
|
|
1468
|
+
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; }
|
|
1489
1469
|
var ObjectUtils = /*#__PURE__*/function () {
|
|
1490
1470
|
function ObjectUtils() {
|
|
1491
1471
|
_classCallCheck(this, ObjectUtils);
|
|
@@ -2617,9 +2597,9 @@ function handler() {
|
|
|
2617
2597
|
}
|
|
2618
2598
|
var ZIndexUtils = handler();
|
|
2619
2599
|
|
|
2620
|
-
function _createForOfIteratorHelper$f(
|
|
2621
|
-
function _unsupportedIterableToArray$f(
|
|
2622
|
-
function _arrayLikeToArray$f(
|
|
2600
|
+
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; } } }; }
|
|
2601
|
+
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; } }
|
|
2602
|
+
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; }
|
|
2623
2603
|
var FilterService = {
|
|
2624
2604
|
filter: function filter(value, fields, filterValue, filterMatchMode, filterLocale) {
|
|
2625
2605
|
var filteredItems = [];
|
|
@@ -3441,48 +3421,49 @@ var SortOrder = Object.freeze({
|
|
|
3441
3421
|
|
|
3442
3422
|
var PrimeReactContext = /*#__PURE__*/React__default.createContext();
|
|
3443
3423
|
var PrimeReactProvider = function PrimeReactProvider(props) {
|
|
3444
|
-
var
|
|
3445
|
-
var
|
|
3424
|
+
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;
|
|
3425
|
+
var propsValue = (_props$value = props.value) !== null && _props$value !== void 0 ? _props$value : {};
|
|
3426
|
+
var _useState = useState((_propsValue$ripple = propsValue.ripple) !== null && _propsValue$ripple !== void 0 ? _propsValue$ripple : false),
|
|
3446
3427
|
_useState2 = _slicedToArray(_useState, 2),
|
|
3447
3428
|
ripple = _useState2[0],
|
|
3448
3429
|
setRipple = _useState2[1];
|
|
3449
|
-
var _useState3 = useState(propsValue.inputStyle
|
|
3430
|
+
var _useState3 = useState((_propsValue$inputStyl = propsValue.inputStyle) !== null && _propsValue$inputStyl !== void 0 ? _propsValue$inputStyl : 'outlined'),
|
|
3450
3431
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
3451
3432
|
inputStyle = _useState4[0],
|
|
3452
3433
|
setInputStyle = _useState4[1];
|
|
3453
|
-
var _useState5 = useState(propsValue.locale
|
|
3434
|
+
var _useState5 = useState((_propsValue$locale = propsValue.locale) !== null && _propsValue$locale !== void 0 ? _propsValue$locale : 'en'),
|
|
3454
3435
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
3455
3436
|
locale = _useState6[0],
|
|
3456
3437
|
setLocale = _useState6[1];
|
|
3457
|
-
var _useState7 = useState(propsValue.appendTo
|
|
3438
|
+
var _useState7 = useState((_propsValue$appendTo = propsValue.appendTo) !== null && _propsValue$appendTo !== void 0 ? _propsValue$appendTo : null),
|
|
3458
3439
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
3459
3440
|
appendTo = _useState8[0],
|
|
3460
3441
|
setAppendTo = _useState8[1];
|
|
3461
|
-
var _useState9 = useState(propsValue.styleContainer
|
|
3442
|
+
var _useState9 = useState((_propsValue$styleCont = propsValue.styleContainer) !== null && _propsValue$styleCont !== void 0 ? _propsValue$styleCont : null),
|
|
3462
3443
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
3463
3444
|
styleContainer = _useState10[0],
|
|
3464
3445
|
setStyleContainer = _useState10[1];
|
|
3465
|
-
var _useState11 = useState(propsValue.cssTransition
|
|
3446
|
+
var _useState11 = useState((_propsValue$cssTransi = propsValue.cssTransition) !== null && _propsValue$cssTransi !== void 0 ? _propsValue$cssTransi : true),
|
|
3466
3447
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
3467
3448
|
cssTransition = _useState12[0],
|
|
3468
3449
|
setCssTransition = _useState12[1];
|
|
3469
|
-
var _useState13 = useState(propsValue.autoZIndex
|
|
3450
|
+
var _useState13 = useState((_propsValue$autoZInde = propsValue.autoZIndex) !== null && _propsValue$autoZInde !== void 0 ? _propsValue$autoZInde : true),
|
|
3470
3451
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
3471
3452
|
autoZIndex = _useState14[0],
|
|
3472
3453
|
setAutoZIndex = _useState14[1];
|
|
3473
|
-
var _useState15 = useState(propsValue.hideOverlaysOnDocumentScrolling
|
|
3454
|
+
var _useState15 = useState((_propsValue$hideOverl = propsValue.hideOverlaysOnDocumentScrolling) !== null && _propsValue$hideOverl !== void 0 ? _propsValue$hideOverl : false),
|
|
3474
3455
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
3475
3456
|
hideOverlaysOnDocumentScrolling = _useState16[0],
|
|
3476
3457
|
setHideOverlaysOnDocumentScrolling = _useState16[1];
|
|
3477
|
-
var _useState17 = useState(propsValue.nonce
|
|
3458
|
+
var _useState17 = useState((_propsValue$nonce = propsValue.nonce) !== null && _propsValue$nonce !== void 0 ? _propsValue$nonce : null),
|
|
3478
3459
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
3479
3460
|
nonce = _useState18[0],
|
|
3480
3461
|
setNonce = _useState18[1];
|
|
3481
|
-
var _useState19 = useState(propsValue.nullSortOrder
|
|
3462
|
+
var _useState19 = useState((_propsValue$nullSortO = propsValue.nullSortOrder) !== null && _propsValue$nullSortO !== void 0 ? _propsValue$nullSortO : 1),
|
|
3482
3463
|
_useState20 = _slicedToArray(_useState19, 2),
|
|
3483
3464
|
nullSortOrder = _useState20[0],
|
|
3484
3465
|
setNullSortOrder = _useState20[1];
|
|
3485
|
-
var _useState21 = useState(propsValue.zIndex
|
|
3466
|
+
var _useState21 = useState((_propsValue$zIndex = propsValue.zIndex) !== null && _propsValue$zIndex !== void 0 ? _propsValue$zIndex : {
|
|
3486
3467
|
modal: 1100,
|
|
3487
3468
|
overlay: 1000,
|
|
3488
3469
|
menu: 1000,
|
|
@@ -3492,22 +3473,22 @@ var PrimeReactProvider = function PrimeReactProvider(props) {
|
|
|
3492
3473
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
3493
3474
|
zIndex = _useState22[0],
|
|
3494
3475
|
setZIndex = _useState22[1];
|
|
3495
|
-
var _useState23 = useState(propsValue.ptOptions
|
|
3476
|
+
var _useState23 = useState((_propsValue$ptOptions = propsValue.ptOptions) !== null && _propsValue$ptOptions !== void 0 ? _propsValue$ptOptions : {
|
|
3496
3477
|
mergeSections: true,
|
|
3497
3478
|
mergeProps: true
|
|
3498
3479
|
}),
|
|
3499
3480
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
3500
3481
|
ptOptions = _useState24[0],
|
|
3501
3482
|
setPtOptions = _useState24[1];
|
|
3502
|
-
var _useState25 = useState(propsValue.pt
|
|
3483
|
+
var _useState25 = useState((_propsValue$pt = propsValue.pt) !== null && _propsValue$pt !== void 0 ? _propsValue$pt : undefined),
|
|
3503
3484
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
3504
3485
|
pt = _useState26[0],
|
|
3505
3486
|
setPt = _useState26[1];
|
|
3506
|
-
var _useState27 = useState(propsValue.unstyled
|
|
3487
|
+
var _useState27 = useState((_propsValue$unstyled = propsValue.unstyled) !== null && _propsValue$unstyled !== void 0 ? _propsValue$unstyled : false),
|
|
3507
3488
|
_useState28 = _slicedToArray(_useState27, 2),
|
|
3508
3489
|
unstyled = _useState28[0],
|
|
3509
3490
|
setUnstyled = _useState28[1];
|
|
3510
|
-
var _useState29 = useState(propsValue.filterMatchModeOptions
|
|
3491
|
+
var _useState29 = useState((_propsValue$filterMat = propsValue.filterMatchModeOptions) !== null && _propsValue$filterMat !== void 0 ? _propsValue$filterMat : {
|
|
3511
3492
|
text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],
|
|
3512
3493
|
numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],
|
|
3513
3494
|
date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]
|
|
@@ -6699,6 +6680,13 @@ var InputText = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
6699
6680
|
return ObjectUtils.isNotEmpty(props.value) || ObjectUtils.isNotEmpty(props.defaultValue);
|
|
6700
6681
|
}, [props.value, props.defaultValue]);
|
|
6701
6682
|
var hasTooltip = ObjectUtils.isNotEmpty(props.tooltip);
|
|
6683
|
+
React.useEffect(function () {
|
|
6684
|
+
if (isFilled) {
|
|
6685
|
+
DomHandler.addClass(elementRef.current, 'p-filled');
|
|
6686
|
+
} else {
|
|
6687
|
+
DomHandler.removeClass(elementRef.current, 'p-filled');
|
|
6688
|
+
}
|
|
6689
|
+
}, [props.disabled, isFilled]);
|
|
6702
6690
|
var rootProps = mergeProps({
|
|
6703
6691
|
className: classNames(props.className, cx('root', {
|
|
6704
6692
|
context: context,
|
|
@@ -6770,11 +6758,16 @@ var classes$1c = {
|
|
|
6770
6758
|
emptyMessage: 'p-autocomplete-item',
|
|
6771
6759
|
item: function item(_ref6) {
|
|
6772
6760
|
var suggestion = _ref6.suggestion,
|
|
6773
|
-
optionGroupLabel = _ref6.optionGroupLabel
|
|
6761
|
+
optionGroupLabel = _ref6.optionGroupLabel,
|
|
6762
|
+
selected = _ref6.selected;
|
|
6774
6763
|
return optionGroupLabel ? classNames('p-autocomplete-item', {
|
|
6775
6764
|
'p-disabled': suggestion.disabled
|
|
6765
|
+
}, {
|
|
6766
|
+
selected: selected
|
|
6776
6767
|
}) : classNames('p-autocomplete-item', {
|
|
6777
6768
|
'p-disabled': suggestion.disabled
|
|
6769
|
+
}, {
|
|
6770
|
+
'p-highlight': selected
|
|
6778
6771
|
});
|
|
6779
6772
|
},
|
|
6780
6773
|
itemGroup: 'p-autocomplete-item-group',
|
|
@@ -7794,15 +7787,25 @@ var AutoCompletePanel = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(fu
|
|
|
7794
7787
|
key: key ? key : null
|
|
7795
7788
|
}), content);
|
|
7796
7789
|
};
|
|
7790
|
+
var isOptionSelected = function isOptionSelected(item) {
|
|
7791
|
+
if (props.selectedItem && props.selectedItem.current && Array.isArray(props.selectedItem.current)) {
|
|
7792
|
+
return props.selectedItem.current.some(function (selectedItem) {
|
|
7793
|
+
return ObjectUtils.deepEquals(selectedItem, item);
|
|
7794
|
+
});
|
|
7795
|
+
} else {
|
|
7796
|
+
return ObjectUtils.deepEquals(props.selectedItem.current, item);
|
|
7797
|
+
}
|
|
7798
|
+
};
|
|
7797
7799
|
var createListItem = function createListItem(item, key, index, listItemProps) {
|
|
7798
|
-
var selected =
|
|
7800
|
+
var selected = isOptionSelected(item);
|
|
7799
7801
|
var content = props.itemTemplate ? ObjectUtils.getJSXElement(props.itemTemplate, item, index) : props.field ? ObjectUtils.resolveFieldData(item, props.field) : item;
|
|
7800
7802
|
var itemProps = mergeProps(_objectSpread$1O({
|
|
7801
7803
|
index: index,
|
|
7802
7804
|
role: 'option',
|
|
7803
7805
|
className: cx('item', {
|
|
7804
7806
|
optionGroupLabel: props.optionGroupLabel,
|
|
7805
|
-
suggestion: item
|
|
7807
|
+
suggestion: item,
|
|
7808
|
+
selected: selected
|
|
7806
7809
|
}),
|
|
7807
7810
|
onClick: function onClick(e) {
|
|
7808
7811
|
return props.onItemClick(e, item);
|
|
@@ -8126,19 +8129,17 @@ var AutoComplete = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(functio
|
|
|
8126
8129
|
selectedItem.current = ObjectUtils.isNotEmpty(value) ? value : null;
|
|
8127
8130
|
};
|
|
8128
8131
|
var formatValue = function formatValue(value) {
|
|
8129
|
-
|
|
8130
|
-
|
|
8131
|
-
|
|
8132
|
-
|
|
8133
|
-
|
|
8134
|
-
return resolvedFieldData ? resolvedFieldData : value;
|
|
8135
|
-
} else if (props.field) {
|
|
8136
|
-
var _resolvedFieldData = ObjectUtils.resolveFieldData(value, props.field);
|
|
8137
|
-
return _resolvedFieldData !== null && _resolvedFieldData !== undefined ? _resolvedFieldData : value;
|
|
8138
|
-
}
|
|
8139
|
-
return value;
|
|
8132
|
+
var useTemplate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
8133
|
+
if (ObjectUtils.isEmpty(value)) return '';
|
|
8134
|
+
if (typeof value === 'string') return value;
|
|
8135
|
+
if (useTemplate && props.selectedItemTemplate) {
|
|
8136
|
+
return ObjectUtils.getJSXElement(props.selectedItemTemplate, value) || value;
|
|
8140
8137
|
}
|
|
8141
|
-
|
|
8138
|
+
if (props.field) {
|
|
8139
|
+
var _ObjectUtils$resolveF;
|
|
8140
|
+
return (_ObjectUtils$resolveF = ObjectUtils.resolveFieldData(value, props.field)) !== null && _ObjectUtils$resolveF !== void 0 ? _ObjectUtils$resolveF : value;
|
|
8141
|
+
}
|
|
8142
|
+
return value;
|
|
8142
8143
|
};
|
|
8143
8144
|
var updateInputField = function updateInputField(value) {
|
|
8144
8145
|
inputRef.current.value = formatValue(value);
|
|
@@ -8515,7 +8516,7 @@ var AutoComplete = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(functio
|
|
|
8515
8516
|
}, ptm('tokenLabel'));
|
|
8516
8517
|
return /*#__PURE__*/React.createElement("li", _extends({
|
|
8517
8518
|
key: key
|
|
8518
|
-
}, tokenProps), /*#__PURE__*/React.createElement("span", tokenLabelProps, formatValue(val)), removeTokenIcon);
|
|
8519
|
+
}, tokenProps), /*#__PURE__*/React.createElement("span", tokenLabelProps, formatValue(val, true)), removeTokenIcon);
|
|
8519
8520
|
});
|
|
8520
8521
|
}
|
|
8521
8522
|
selectedItem.current = null;
|
|
@@ -9518,9 +9519,9 @@ CalendarPanel.displayName = 'CalendarPanel';
|
|
|
9518
9519
|
|
|
9519
9520
|
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; }
|
|
9520
9521
|
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; }
|
|
9521
|
-
function _createForOfIteratorHelper$e(
|
|
9522
|
-
function _unsupportedIterableToArray$e(
|
|
9523
|
-
function _arrayLikeToArray$e(
|
|
9522
|
+
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; } } }; }
|
|
9523
|
+
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; } }
|
|
9524
|
+
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; }
|
|
9524
9525
|
var Calendar = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
9525
9526
|
var mergeProps = useMergeProps();
|
|
9526
9527
|
var context = React.useContext(PrimeReactContext);
|
|
@@ -11023,7 +11024,6 @@ var Calendar = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (i
|
|
|
11023
11024
|
if (props.hideOnRangeSelection && endDate !== null) {
|
|
11024
11025
|
setTimeout(function () {
|
|
11025
11026
|
setOverlayVisibleState(false);
|
|
11026
|
-
isOverlayClicked.current = false;
|
|
11027
11027
|
}, 150);
|
|
11028
11028
|
}
|
|
11029
11029
|
} else {
|
|
@@ -12562,11 +12562,12 @@ var Calendar = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (i
|
|
|
12562
12562
|
'p-disabled': !date.selectable
|
|
12563
12563
|
});
|
|
12564
12564
|
var content = date.otherMonth && !props.showOtherMonths ? null : createDateCellContent(date, dateClassName, groupIndex);
|
|
12565
|
+
var formattedValue = formatDate(new Date(date.year, date.month, date.day), getDateFormat());
|
|
12565
12566
|
var dayProps = mergeProps({
|
|
12566
12567
|
className: cx('day', {
|
|
12567
12568
|
date: date
|
|
12568
12569
|
}),
|
|
12569
|
-
'aria-label':
|
|
12570
|
+
'aria-label': formattedValue,
|
|
12570
12571
|
'data-p-today': date.today,
|
|
12571
12572
|
'data-p-other-month': date.otherMonth
|
|
12572
12573
|
}, ptm('day', {
|
|
@@ -14389,9 +14390,9 @@ var CascadeSelectSub = /*#__PURE__*/React.memo(function (props) {
|
|
|
14389
14390
|
return element;
|
|
14390
14391
|
});
|
|
14391
14392
|
|
|
14392
|
-
function _createForOfIteratorHelper$d(
|
|
14393
|
-
function _unsupportedIterableToArray$d(
|
|
14394
|
-
function _arrayLikeToArray$d(
|
|
14393
|
+
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; } } }; }
|
|
14394
|
+
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; } }
|
|
14395
|
+
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; }
|
|
14395
14396
|
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; }
|
|
14396
14397
|
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; }
|
|
14397
14398
|
var CascadeSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
@@ -15737,7 +15738,9 @@ var Chips = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inPr
|
|
|
15737
15738
|
},
|
|
15738
15739
|
readOnly: props.readOnly
|
|
15739
15740
|
}, ariaProps), ptm('input'));
|
|
15740
|
-
return /*#__PURE__*/React.createElement("li",
|
|
15741
|
+
return /*#__PURE__*/React.createElement("li", _extends({}, inputTokenProps, {
|
|
15742
|
+
key: props.inputId + '_chips_input'
|
|
15743
|
+
}), /*#__PURE__*/React.createElement("input", inputProps));
|
|
15741
15744
|
};
|
|
15742
15745
|
var createItems = function createItems() {
|
|
15743
15746
|
return props.value ? props.value.map(createItem) : null;
|
|
@@ -16898,7 +16901,7 @@ var Dialog = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
16898
16901
|
bindDocumentDragEndListener = _useEventListener8[0],
|
|
16899
16902
|
unbindDocumentDragEndListener = _useEventListener8[1];
|
|
16900
16903
|
var onClose = function onClose(event) {
|
|
16901
|
-
props.onHide();
|
|
16904
|
+
props.onHide(event);
|
|
16902
16905
|
event.preventDefault();
|
|
16903
16906
|
};
|
|
16904
16907
|
var focus = function focus() {
|
|
@@ -20926,6 +20929,9 @@ var InputNumber = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
20926
20929
|
React.useEffect(function () {
|
|
20927
20930
|
ObjectUtils.combinedRefs(inputRef, props.inputRef);
|
|
20928
20931
|
}, [inputRef, props.inputRef]);
|
|
20932
|
+
useUnmountEffect(function () {
|
|
20933
|
+
clearTimer();
|
|
20934
|
+
});
|
|
20929
20935
|
useMountEffect(function () {
|
|
20930
20936
|
constructParser();
|
|
20931
20937
|
var newValue = validateValue(props.value);
|
|
@@ -21651,7 +21657,6 @@ var DropdownItem = /*#__PURE__*/React.memo(function (props) {
|
|
|
21651
21657
|
var itemProps = mergeProps({
|
|
21652
21658
|
id: "dropdownItem_".concat(index),
|
|
21653
21659
|
role: 'option',
|
|
21654
|
-
key: props.label,
|
|
21655
21660
|
className: classNames(option.className, cx('item', {
|
|
21656
21661
|
selected: selected,
|
|
21657
21662
|
disabled: disabled,
|
|
@@ -21694,7 +21699,9 @@ var DropdownItem = /*#__PURE__*/React.memo(function (props) {
|
|
|
21694
21699
|
}, getPTOptions('blankIcon'));
|
|
21695
21700
|
return /*#__PURE__*/React.createElement(BlankIcon, blankIconProps);
|
|
21696
21701
|
};
|
|
21697
|
-
return /*#__PURE__*/React.createElement("li",
|
|
21702
|
+
return /*#__PURE__*/React.createElement("li", _extends({
|
|
21703
|
+
key: props.label
|
|
21704
|
+
}, itemProps), checkmark && iconRenderer(), /*#__PURE__*/React.createElement("span", itemGroupLabelProps, content), /*#__PURE__*/React.createElement(Ripple, null));
|
|
21698
21705
|
});
|
|
21699
21706
|
DropdownItem.displayName = 'DropdownItem';
|
|
21700
21707
|
|
|
@@ -21981,9 +21988,9 @@ var DropdownPanel = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(functi
|
|
|
21981
21988
|
}));
|
|
21982
21989
|
DropdownPanel.displayName = 'DropdownPanel';
|
|
21983
21990
|
|
|
21984
|
-
function _createForOfIteratorHelper$c(
|
|
21985
|
-
function _unsupportedIterableToArray$c(
|
|
21986
|
-
function _arrayLikeToArray$c(
|
|
21991
|
+
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; } } }; }
|
|
21992
|
+
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; } }
|
|
21993
|
+
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; }
|
|
21987
21994
|
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; }
|
|
21988
21995
|
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; }
|
|
21989
21996
|
var Dropdown = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
@@ -22106,7 +22113,6 @@ var Dropdown = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (i
|
|
|
22106
22113
|
if (props.disabled || props.loading) {
|
|
22107
22114
|
return;
|
|
22108
22115
|
}
|
|
22109
|
-
event.stopPropagation();
|
|
22110
22116
|
props.onClick && props.onClick(event);
|
|
22111
22117
|
|
|
22112
22118
|
// do not continue if the user defined click wants to prevent it
|
|
@@ -22119,6 +22125,7 @@ var Dropdown = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (i
|
|
|
22119
22125
|
DomHandler.focus(focusInputRef.current);
|
|
22120
22126
|
overlayVisibleState ? hide() : show();
|
|
22121
22127
|
}
|
|
22128
|
+
event.preventDefault();
|
|
22122
22129
|
clickedRef.current = true;
|
|
22123
22130
|
};
|
|
22124
22131
|
var onInputFocus = function onInputFocus(event) {
|
|
@@ -22153,10 +22160,9 @@ var Dropdown = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (i
|
|
|
22153
22160
|
};
|
|
22154
22161
|
var onOptionSelect = function onOptionSelect(event, option) {
|
|
22155
22162
|
var isHide = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
22156
|
-
var value = getOptionValue(option);
|
|
22157
22163
|
selectItem({
|
|
22158
22164
|
originalEvent: event,
|
|
22159
|
-
option:
|
|
22165
|
+
option: option
|
|
22160
22166
|
});
|
|
22161
22167
|
isHide && hide();
|
|
22162
22168
|
};
|
|
@@ -22555,7 +22561,7 @@ var Dropdown = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (i
|
|
|
22555
22561
|
};
|
|
22556
22562
|
var getSelectedOptionIndex = function getSelectedOptionIndex(options) {
|
|
22557
22563
|
options = options || visibleOptions;
|
|
22558
|
-
if (
|
|
22564
|
+
if (options) {
|
|
22559
22565
|
if (props.optionGroupLabel) {
|
|
22560
22566
|
for (var i = 0; i < options.length; i++) {
|
|
22561
22567
|
var selectedOptionIndex = findOptionIndexInList(props.value, getOptionGroupChildren(options[i]));
|
|
@@ -23684,33 +23690,26 @@ var DataTableBase = ComponentBase.extend({
|
|
|
23684
23690
|
}
|
|
23685
23691
|
});
|
|
23686
23692
|
|
|
23687
|
-
function _objectWithoutPropertiesLoose(
|
|
23688
|
-
if (
|
|
23689
|
-
var
|
|
23690
|
-
var
|
|
23691
|
-
|
|
23692
|
-
|
|
23693
|
-
key = sourceKeys[i];
|
|
23694
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
23695
|
-
target[key] = source[key];
|
|
23693
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
23694
|
+
if (null == r) return {};
|
|
23695
|
+
var t = {};
|
|
23696
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
23697
|
+
if (e.includes(n)) continue;
|
|
23698
|
+
t[n] = r[n];
|
|
23696
23699
|
}
|
|
23697
|
-
return
|
|
23700
|
+
return t;
|
|
23698
23701
|
}
|
|
23699
23702
|
|
|
23700
|
-
function _objectWithoutProperties(
|
|
23701
|
-
if (
|
|
23702
|
-
var
|
|
23703
|
-
|
|
23703
|
+
function _objectWithoutProperties(e, t) {
|
|
23704
|
+
if (null == e) return {};
|
|
23705
|
+
var o,
|
|
23706
|
+
r,
|
|
23707
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
23704
23708
|
if (Object.getOwnPropertySymbols) {
|
|
23705
|
-
var
|
|
23706
|
-
for (
|
|
23707
|
-
key = sourceSymbolKeys[i];
|
|
23708
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
23709
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
23710
|
-
target[key] = source[key];
|
|
23711
|
-
}
|
|
23709
|
+
var s = Object.getOwnPropertySymbols(e);
|
|
23710
|
+
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
23712
23711
|
}
|
|
23713
|
-
return
|
|
23712
|
+
return i;
|
|
23714
23713
|
}
|
|
23715
23714
|
|
|
23716
23715
|
var BarsIcon = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
@@ -24061,6 +24060,7 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
24061
24060
|
var keyHelperRef = React.useRef(null);
|
|
24062
24061
|
var overlayEventListener = React.useRef(null);
|
|
24063
24062
|
var selfClick = React.useRef(false);
|
|
24063
|
+
var focusTimeout = React.useRef(null);
|
|
24064
24064
|
var initFocusTimeout = React.useRef(null);
|
|
24065
24065
|
var editingRowDataStateRef = React.useRef(null);
|
|
24066
24066
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
@@ -24105,12 +24105,13 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
24105
24105
|
var _useEventListener = useEventListener({
|
|
24106
24106
|
type: 'click',
|
|
24107
24107
|
listener: function listener(e) {
|
|
24108
|
-
|
|
24109
|
-
|
|
24110
|
-
|
|
24108
|
+
setTimeout(function () {
|
|
24109
|
+
if (!selfClick.current && isOutsideClicked(e.target)) {
|
|
24110
|
+
// #2666 for overlay components and outside is clicked
|
|
24111
|
+
|
|
24111
24112
|
switchCellToViewMode(e, true);
|
|
24112
|
-
}
|
|
24113
|
-
}
|
|
24113
|
+
}
|
|
24114
|
+
}, 0);
|
|
24114
24115
|
selfClick.current = false;
|
|
24115
24116
|
},
|
|
24116
24117
|
options: true,
|
|
@@ -24241,11 +24242,14 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
24241
24242
|
}
|
|
24242
24243
|
};
|
|
24243
24244
|
var focusOnElement = function focusOnElement() {
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24245
|
+
clearTimeout(focusTimeout.current);
|
|
24246
|
+
focusTimeout.current = setTimeout(function () {
|
|
24247
|
+
if (editingState) {
|
|
24248
|
+
var focusableEl = props.editMode === 'cell' ? DomHandler.getFirstFocusableElement(elementRef.current, ':not([data-pc-section="editorkeyhelperlabel"])') : DomHandler.findSingle(elementRef.current, '[data-p-row-editor-save="true"]');
|
|
24249
|
+
focusableEl && focusableEl.focus();
|
|
24250
|
+
}
|
|
24251
|
+
keyHelperRef.current && (keyHelperRef.current.tabIndex = editingState ? -1 : 0);
|
|
24252
|
+
}, 1);
|
|
24249
24253
|
};
|
|
24250
24254
|
var focusOnInit = function focusOnInit() {
|
|
24251
24255
|
clearTimeout(initFocusTimeout.current);
|
|
@@ -24472,7 +24476,8 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
24472
24476
|
if (props.editMode === 'cell' || props.editMode === 'row') {
|
|
24473
24477
|
focusOnElement();
|
|
24474
24478
|
}
|
|
24475
|
-
});
|
|
24479
|
+
}, [props.editMode, props.editing, editingState]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
24480
|
+
|
|
24476
24481
|
React.useEffect(function () {
|
|
24477
24482
|
if (props.editMode === 'row' && props.editing !== editingState) {
|
|
24478
24483
|
setEditingState(props.editing);
|
|
@@ -25933,7 +25938,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
25933
25938
|
var event = e.originalEvent;
|
|
25934
25939
|
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');
|
|
25935
25940
|
event.currentTarget.draggable = isDraggableHandle;
|
|
25936
|
-
event.target.draggable =
|
|
25941
|
+
event.target.draggable = isDraggableHandle;
|
|
25937
25942
|
if (allowRowDrag(e)) {
|
|
25938
25943
|
enableDragSelection(event);
|
|
25939
25944
|
anchorRowIndex.current = e.index;
|
|
@@ -26545,6 +26550,7 @@ var TableFooter = /*#__PURE__*/React.memo(function (props) {
|
|
|
26545
26550
|
var getRowProps = function getRowProps(row) {
|
|
26546
26551
|
return ColumnGroupBase.getCProps(row);
|
|
26547
26552
|
};
|
|
26553
|
+
var context = React.useContext(PrimeReactContext);
|
|
26548
26554
|
var getColumnGroupProps = function getColumnGroupProps() {
|
|
26549
26555
|
return props.footerColumnGroup ? ColumnGroupBase.getCProps(props.footerColumnGroup) : undefined;
|
|
26550
26556
|
};
|
|
@@ -26602,7 +26608,7 @@ var TableFooter = /*#__PURE__*/React.memo(function (props) {
|
|
|
26602
26608
|
return rows.map(function (row, i) {
|
|
26603
26609
|
var rootProps = mergeProps({
|
|
26604
26610
|
role: 'row'
|
|
26605
|
-
}, getRowPTOptions(row, 'root'));
|
|
26611
|
+
}, RowBase.getProps(row.props, context), getRowPTOptions(row, 'root'));
|
|
26606
26612
|
return /*#__PURE__*/React.createElement("tr", _extends({}, rootProps, {
|
|
26607
26613
|
key: i
|
|
26608
26614
|
}), createGroupFooterCells(row));
|
|
@@ -27793,7 +27799,7 @@ var HeaderCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
27793
27799
|
});
|
|
27794
27800
|
};
|
|
27795
27801
|
var _onKeyDown = function onKeyDown(event) {
|
|
27796
|
-
if ((event.code == 'Enter' || event.code === 'NumpadEnter' || event.code == 'Space') && event.currentTarget === elementRef.current && DomHandler.getAttribute(event.currentTarget, 'data-p-sortable-column') ===
|
|
27802
|
+
if ((event.code == 'Enter' || event.code === 'NumpadEnter' || event.code == 'Space') && event.currentTarget === elementRef.current && DomHandler.getAttribute(event.currentTarget, 'data-p-sortable-column') === true) {
|
|
27797
27803
|
_onClick(event);
|
|
27798
27804
|
event.preventDefault();
|
|
27799
27805
|
}
|
|
@@ -28051,6 +28057,7 @@ var TableHeader = /*#__PURE__*/React.memo(function (props) {
|
|
|
28051
28057
|
ptm = _props$ptCallbacks.ptm,
|
|
28052
28058
|
ptmo = _props$ptCallbacks.ptmo,
|
|
28053
28059
|
cx = _props$ptCallbacks.cx;
|
|
28060
|
+
var context = React.useContext(PrimeReactContext);
|
|
28054
28061
|
var getColumnProp = function getColumnProp(column, name) {
|
|
28055
28062
|
return ColumnBase.getCProp(column, name);
|
|
28056
28063
|
};
|
|
@@ -28259,7 +28266,7 @@ var TableHeader = /*#__PURE__*/React.memo(function (props) {
|
|
|
28259
28266
|
return rows.map(function (row, i) {
|
|
28260
28267
|
var headerRowProps = mergeProps({
|
|
28261
28268
|
role: 'row'
|
|
28262
|
-
}, getRowPTOptions(row, 'root'));
|
|
28269
|
+
}, RowBase.getProps(row.props, context), getRowPTOptions(row, 'root'));
|
|
28263
28270
|
return /*#__PURE__*/React.createElement("tr", _extends({}, headerRowProps, {
|
|
28264
28271
|
key: i
|
|
28265
28272
|
}), createGroupHeaderCells(row));
|
|
@@ -28285,9 +28292,9 @@ var TableHeader = /*#__PURE__*/React.memo(function (props) {
|
|
|
28285
28292
|
});
|
|
28286
28293
|
TableHeader.displayName = 'TableHeader';
|
|
28287
28294
|
|
|
28288
|
-
function _createForOfIteratorHelper$b(
|
|
28289
|
-
function _unsupportedIterableToArray$b(
|
|
28290
|
-
function _arrayLikeToArray$b(
|
|
28295
|
+
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; } } }; }
|
|
28296
|
+
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; } }
|
|
28297
|
+
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; }
|
|
28291
28298
|
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; }
|
|
28292
28299
|
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; }
|
|
28293
28300
|
var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
@@ -30246,9 +30253,9 @@ var DataViewLayoutOptionsBase = ComponentBase.extend({
|
|
|
30246
30253
|
}
|
|
30247
30254
|
});
|
|
30248
30255
|
|
|
30249
|
-
function _createForOfIteratorHelper$a(
|
|
30250
|
-
function _unsupportedIterableToArray$a(
|
|
30251
|
-
function _arrayLikeToArray$a(
|
|
30256
|
+
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; } } }; }
|
|
30257
|
+
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; } }
|
|
30258
|
+
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; }
|
|
30252
30259
|
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; }
|
|
30253
30260
|
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; }
|
|
30254
30261
|
var DataViewLayoutOptions = /*#__PURE__*/React.memo(function (inProps) {
|
|
@@ -31548,8 +31555,8 @@ var Fieldset = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
31548
31555
|
});
|
|
31549
31556
|
Fieldset.displayName = 'Fieldset';
|
|
31550
31557
|
|
|
31551
|
-
function _readOnlyError(
|
|
31552
|
-
throw new TypeError("
|
|
31558
|
+
function _readOnlyError(r) {
|
|
31559
|
+
throw new TypeError('"' + r + '" is read-only');
|
|
31553
31560
|
}
|
|
31554
31561
|
|
|
31555
31562
|
var UploadIcon = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
@@ -31697,7 +31704,6 @@ var UIMessage = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
31697
31704
|
};
|
|
31698
31705
|
var createCloseIcon = function createCloseIcon() {
|
|
31699
31706
|
if (closable !== false) {
|
|
31700
|
-
var ariaLabel = localeOption('close');
|
|
31701
31707
|
var buttonIconProps = mergeProps({
|
|
31702
31708
|
className: cx('uimessage.buttonicon')
|
|
31703
31709
|
}, getPTOptions('buttonicon', parentParams), ptmo(pt, 'buttonicon', _objectSpread$14(_objectSpread$14({}, params), {}, {
|
|
@@ -31710,7 +31716,7 @@ var UIMessage = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
31710
31716
|
var buttonProps = mergeProps({
|
|
31711
31717
|
type: 'button',
|
|
31712
31718
|
className: cx('uimessage.button'),
|
|
31713
|
-
'aria-label': ariaLabel,
|
|
31719
|
+
'aria-label': ariaLabel('close'),
|
|
31714
31720
|
onClick: onClose
|
|
31715
31721
|
}, getPTOptions('button', parentParams), ptmo(pt, 'button', _objectSpread$14(_objectSpread$14({}, params), {}, {
|
|
31716
31722
|
hostName: props.hostName
|
|
@@ -32175,9 +32181,9 @@ var FileUploadBase = ComponentBase.extend({
|
|
|
32175
32181
|
|
|
32176
32182
|
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; }
|
|
32177
32183
|
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; }
|
|
32178
|
-
function _createForOfIteratorHelper$9(
|
|
32179
|
-
function _unsupportedIterableToArray$9(
|
|
32180
|
-
function _arrayLikeToArray$9(
|
|
32184
|
+
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; } } }; }
|
|
32185
|
+
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; } }
|
|
32186
|
+
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; }
|
|
32181
32187
|
var FileUpload = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
32182
32188
|
var mergeProps = useMergeProps();
|
|
32183
32189
|
var context = React.useContext(PrimeReactContext);
|
|
@@ -35482,7 +35488,8 @@ var InputMask = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
35482
35488
|
type: props.type,
|
|
35483
35489
|
name: props.name,
|
|
35484
35490
|
style: props.style,
|
|
35485
|
-
className: className
|
|
35491
|
+
className: className,
|
|
35492
|
+
value: props.value
|
|
35486
35493
|
}, otherProps, {
|
|
35487
35494
|
placeholder: props.placeholder,
|
|
35488
35495
|
size: props.size,
|
|
@@ -35696,7 +35703,8 @@ var InputTextareaBase = ComponentBase.extend({
|
|
|
35696
35703
|
tooltip: null,
|
|
35697
35704
|
tooltipOptions: null,
|
|
35698
35705
|
validateOnly: false,
|
|
35699
|
-
children: undefined
|
|
35706
|
+
children: undefined,
|
|
35707
|
+
className: null
|
|
35700
35708
|
},
|
|
35701
35709
|
css: {
|
|
35702
35710
|
classes: classes$D,
|
|
@@ -36387,9 +36395,9 @@ ListBoxItem.displayName = 'ListBoxItem';
|
|
|
36387
36395
|
|
|
36388
36396
|
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; }
|
|
36389
36397
|
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; }
|
|
36390
|
-
function _createForOfIteratorHelper$8(
|
|
36391
|
-
function _unsupportedIterableToArray$8(
|
|
36392
|
-
function _arrayLikeToArray$8(
|
|
36398
|
+
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; } } }; }
|
|
36399
|
+
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; } }
|
|
36400
|
+
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; }
|
|
36393
36401
|
var ListBox = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
36394
36402
|
var mergeProps = useMergeProps();
|
|
36395
36403
|
var context = React.useContext(PrimeReactContext);
|
|
@@ -38964,6 +38972,7 @@ var Mention = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (in
|
|
|
38964
38972
|
style: props.inputStyle
|
|
38965
38973
|
}, inputProps), {}, {
|
|
38966
38974
|
unstyled: props.unstyled,
|
|
38975
|
+
autoResize: props.autoResize,
|
|
38967
38976
|
onFocus: onFocus,
|
|
38968
38977
|
onBlur: onBlur,
|
|
38969
38978
|
onKeyDown: onKeyDown,
|
|
@@ -41299,34 +41308,6 @@ var MultiSelectPanel = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(fun
|
|
|
41299
41308
|
props === null || props === void 0 || (_props$changeFocusedO = props.changeFocusedOptionIndex) === null || _props$changeFocusedO === void 0 || _props$changeFocusedO.call(props, event, index);
|
|
41300
41309
|
}
|
|
41301
41310
|
};
|
|
41302
|
-
var createGroupChildren = function createGroupChildren(optionGroup, style) {
|
|
41303
|
-
var groupChildren = props.getOptionGroupChildren(optionGroup);
|
|
41304
|
-
return groupChildren.map(function (option, j) {
|
|
41305
|
-
var optionLabel = props.getOptionLabel(option);
|
|
41306
|
-
var optionKey = j + '_' + props.getOptionRenderKey(option);
|
|
41307
|
-
var disabled = props.isOptionDisabled(option);
|
|
41308
|
-
var selected = props.isSelected(option);
|
|
41309
|
-
return /*#__PURE__*/React.createElement(MultiSelectItem, {
|
|
41310
|
-
hostName: props.hostName,
|
|
41311
|
-
index: j,
|
|
41312
|
-
key: optionKey,
|
|
41313
|
-
focusedOptionIndex: props.focusedOptionIndex,
|
|
41314
|
-
label: optionLabel,
|
|
41315
|
-
option: option,
|
|
41316
|
-
style: style,
|
|
41317
|
-
template: props.itemTemplate,
|
|
41318
|
-
selected: selected,
|
|
41319
|
-
onClick: props.onOptionSelect,
|
|
41320
|
-
onMouseMove: changeFocusedItemOnHover,
|
|
41321
|
-
disabled: disabled,
|
|
41322
|
-
className: props.itemClassName,
|
|
41323
|
-
checkboxIcon: props.checkboxIcon,
|
|
41324
|
-
isUnstyled: isUnstyled,
|
|
41325
|
-
ptm: ptm,
|
|
41326
|
-
cx: cx
|
|
41327
|
-
});
|
|
41328
|
-
});
|
|
41329
|
-
};
|
|
41330
41311
|
var createEmptyFilter = function createEmptyFilter() {
|
|
41331
41312
|
var emptyFilterMessage = ObjectUtils.getJSXElement(props.emptyFilterMessage, props) || localeOption('emptyFilterMessage');
|
|
41332
41313
|
var emptyMessageProps = mergeProps({
|
|
@@ -41350,9 +41331,8 @@ var MultiSelectPanel = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(fun
|
|
|
41350
41331
|
var style = {
|
|
41351
41332
|
height: scrollerOptions.props ? scrollerOptions.props.itemSize : undefined
|
|
41352
41333
|
};
|
|
41353
|
-
if (props.optionGroupLabel) {
|
|
41334
|
+
if (option.group && props.optionGroupLabel) {
|
|
41354
41335
|
var groupContent = props.optionGroupTemplate ? ObjectUtils.getJSXElement(props.optionGroupTemplate, option, index) : props.getOptionGroupLabel(option);
|
|
41355
|
-
var groupChildrenContent = createGroupChildren(option, style);
|
|
41356
41336
|
var key = index + '_' + props.getOptionGroupRenderKey(option);
|
|
41357
41337
|
var itemGroupProps = mergeProps({
|
|
41358
41338
|
className: cx('itemGroup'),
|
|
@@ -41360,11 +41340,9 @@ var MultiSelectPanel = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(fun
|
|
|
41360
41340
|
scrollerOptions: scrollerOptions
|
|
41361
41341
|
})
|
|
41362
41342
|
}, getPTOptions('itemGroup'));
|
|
41363
|
-
return /*#__PURE__*/React.createElement(
|
|
41364
|
-
key: key
|
|
41365
|
-
}, /*#__PURE__*/React.createElement("li", _extends({}, itemGroupProps, {
|
|
41343
|
+
return /*#__PURE__*/React.createElement("li", _extends({
|
|
41366
41344
|
key: key
|
|
41367
|
-
}
|
|
41345
|
+
}, itemGroupProps), groupContent);
|
|
41368
41346
|
}
|
|
41369
41347
|
var optionLabel = props.getOptionLabel(option);
|
|
41370
41348
|
var optionKey = index + '_' + props.getOptionRenderKey(option);
|
|
@@ -41523,9 +41501,9 @@ MultiSelectPanel.displayName = 'MultiSelectPanel';
|
|
|
41523
41501
|
|
|
41524
41502
|
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; }
|
|
41525
41503
|
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; }
|
|
41526
|
-
function _createForOfIteratorHelper$7(
|
|
41527
|
-
function _unsupportedIterableToArray$7(
|
|
41528
|
-
function _arrayLikeToArray$7(
|
|
41504
|
+
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; } } }; }
|
|
41505
|
+
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; } }
|
|
41506
|
+
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; }
|
|
41529
41507
|
var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
41530
41508
|
var mergeProps = useMergeProps();
|
|
41531
41509
|
var context = React.useContext(PrimeReactContext);
|
|
@@ -41560,8 +41538,9 @@ var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
41560
41538
|
var firstHiddenFocusableElementOnOverlay = React.useRef(null);
|
|
41561
41539
|
var lastHiddenFocusableElementOnOverlay = React.useRef(null);
|
|
41562
41540
|
var inputRef = React.useRef(props.inputRef);
|
|
41563
|
-
var
|
|
41541
|
+
var labelContainerRef = React.useRef(null);
|
|
41564
41542
|
var overlayRef = React.useRef(null);
|
|
41543
|
+
var labelRef = React.useRef(null);
|
|
41565
41544
|
var hasFilter = filterState && filterState.trim().length > 0;
|
|
41566
41545
|
var empty = ObjectUtils.isEmpty(props.value);
|
|
41567
41546
|
var equalityKey = props.optionValue ? null : props.dataKey;
|
|
@@ -41867,29 +41846,12 @@ var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
41867
41846
|
var value = null;
|
|
41868
41847
|
if (event.checked) {
|
|
41869
41848
|
value = [];
|
|
41870
|
-
|
|
41871
|
-
|
|
41872
|
-
|
|
41873
|
-
});
|
|
41874
|
-
value = selectedOptions.map(function (option) {
|
|
41875
|
-
return getOptionValue(option);
|
|
41876
|
-
});
|
|
41877
|
-
}
|
|
41878
|
-
} else if (visibleOptions) {
|
|
41879
|
-
var options = visibleOptions.filter(function (option) {
|
|
41880
|
-
return !isOptionDisabled(option) || isSelected(option);
|
|
41849
|
+
} else {
|
|
41850
|
+
var validOptions = visibleOptions.filter(function (option) {
|
|
41851
|
+
return isValidOption(option) && !isOptionDisabled(option);
|
|
41881
41852
|
});
|
|
41882
|
-
if (
|
|
41883
|
-
value =
|
|
41884
|
-
options.forEach(function (optionGroup) {
|
|
41885
|
-
return value = [].concat(_toConsumableArray(value), _toConsumableArray(getOptionGroupChildren(optionGroup).filter(function (option) {
|
|
41886
|
-
return !isOptionDisabled(option);
|
|
41887
|
-
}).map(function (option) {
|
|
41888
|
-
return getOptionValue(option);
|
|
41889
|
-
})));
|
|
41890
|
-
});
|
|
41891
|
-
} else {
|
|
41892
|
-
value = options.map(function (option) {
|
|
41853
|
+
if (validOptions) {
|
|
41854
|
+
value = validOptions.map(function (option) {
|
|
41893
41855
|
return getOptionValue(option);
|
|
41894
41856
|
});
|
|
41895
41857
|
}
|
|
@@ -41993,7 +41955,7 @@ var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
41993
41955
|
props.onHide && props.onHide();
|
|
41994
41956
|
};
|
|
41995
41957
|
var alignOverlay = function alignOverlay() {
|
|
41996
|
-
DomHandler.alignOverlay(overlayRef.current,
|
|
41958
|
+
!props.inline && DomHandler.alignOverlay(overlayRef.current, labelContainerRef.current.parentElement, props.appendTo || context && context.appendTo || PrimeReact.appendTo);
|
|
41997
41959
|
};
|
|
41998
41960
|
var isClearClicked = function isClearClicked(event) {
|
|
41999
41961
|
return DomHandler.getAttribute(event.target, 'data-pc-section') === 'clearicon';
|
|
@@ -42095,31 +42057,8 @@ var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
42095
42057
|
return false;
|
|
42096
42058
|
}
|
|
42097
42059
|
var options = visibleOptions.filter(function (option) {
|
|
42098
|
-
return !isOptionDisabled(option);
|
|
42060
|
+
return !isOptionDisabled(option) && isValidOption(option);
|
|
42099
42061
|
});
|
|
42100
|
-
if (props.optionGroupLabel) {
|
|
42101
|
-
var areAllSelected = true;
|
|
42102
|
-
var _iterator2 = _createForOfIteratorHelper$7(options),
|
|
42103
|
-
_step2;
|
|
42104
|
-
try {
|
|
42105
|
-
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
42106
|
-
var optionGroup = _step2.value;
|
|
42107
|
-
var visibleOptionsGroupChildren = getOptionGroupChildren(optionGroup).filter(function (option) {
|
|
42108
|
-
return !isOptionDisabled(option);
|
|
42109
|
-
});
|
|
42110
|
-
if (visibleOptionsGroupChildren.some(function (option) {
|
|
42111
|
-
return !isSelected(option);
|
|
42112
|
-
}) === true) {
|
|
42113
|
-
areAllSelected = false;
|
|
42114
|
-
}
|
|
42115
|
-
}
|
|
42116
|
-
} catch (err) {
|
|
42117
|
-
_iterator2.e(err);
|
|
42118
|
-
} finally {
|
|
42119
|
-
_iterator2.f();
|
|
42120
|
-
}
|
|
42121
|
-
return areAllSelected;
|
|
42122
|
-
}
|
|
42123
42062
|
return !options.some(function (option) {
|
|
42124
42063
|
return !isSelected(option);
|
|
42125
42064
|
});
|
|
@@ -42169,7 +42108,7 @@ var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
42169
42108
|
return !props.useOptionAsValue && props.optionValue || option && option.value !== undefined;
|
|
42170
42109
|
};
|
|
42171
42110
|
var isOptionGroup = function isOptionGroup(option) {
|
|
42172
|
-
return props.optionGroupLabel && option.
|
|
42111
|
+
return props.optionGroupLabel && option.group;
|
|
42173
42112
|
};
|
|
42174
42113
|
var hasSelectedOption = function hasSelectedOption() {
|
|
42175
42114
|
return ObjectUtils.isNotEmpty(props.value);
|
|
@@ -42280,6 +42219,7 @@ var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
42280
42219
|
};
|
|
42281
42220
|
var removeChip = function removeChip(event, item) {
|
|
42282
42221
|
event.stopPropagation();
|
|
42222
|
+
if (!isVisible(event.currentTarget)) return;
|
|
42283
42223
|
var value = props.value.filter(function (val) {
|
|
42284
42224
|
return !ObjectUtils.equals(val, item, equalityKey);
|
|
42285
42225
|
});
|
|
@@ -42291,6 +42231,17 @@ var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
42291
42231
|
}
|
|
42292
42232
|
updateModel(event, value, item);
|
|
42293
42233
|
};
|
|
42234
|
+
var isVisible = function isVisible(element) {
|
|
42235
|
+
var parentElement = labelRef.current;
|
|
42236
|
+
var isOverflow = parentElement.clientWidth < parentElement.scrollWidth;
|
|
42237
|
+
if (!isOverflow) return true;
|
|
42238
|
+
var target = element.closest('[data-pc-section="token"]');
|
|
42239
|
+
var parentStyles = window.getComputedStyle(parentElement);
|
|
42240
|
+
var targetStyles = window.getComputedStyle(target);
|
|
42241
|
+
var parentWidth = parentElement.clientWidth - parseFloat(parentStyles.paddingLeft) - parseFloat(parentStyles.paddingRight);
|
|
42242
|
+
var targetRight = target.getBoundingClientRect().right + parseFloat(targetStyles.marginRight) - parentElement.getBoundingClientRect().left;
|
|
42243
|
+
return targetRight <= parentWidth;
|
|
42244
|
+
};
|
|
42294
42245
|
var getSelectedItemsLabel = function getSelectedItemsLabel() {
|
|
42295
42246
|
var pattern = /{(.*?)}/;
|
|
42296
42247
|
var selectedItemsLabel = props.selectedItemsLabel || localeOption('selectionMessage');
|
|
@@ -42341,10 +42292,15 @@ var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
42341
42292
|
var label = getLabelByValue(val);
|
|
42342
42293
|
var labelKey = label + '_' + i;
|
|
42343
42294
|
var iconProps = mergeProps({
|
|
42295
|
+
'aria-label': localeOption('removeTokenIcon'),
|
|
42344
42296
|
className: cx('removeTokenIcon'),
|
|
42345
42297
|
onClick: function onClick(e) {
|
|
42346
42298
|
return removeChip(e, val);
|
|
42347
|
-
}
|
|
42299
|
+
},
|
|
42300
|
+
onKeyDown: function onKeyDown(e) {
|
|
42301
|
+
return onRemoveTokenIconKeyDown(e, val);
|
|
42302
|
+
},
|
|
42303
|
+
tabIndex: props.tabIndex || '0'
|
|
42348
42304
|
}, ptm('removeTokenIcon', context));
|
|
42349
42305
|
var icon = !props.disabled && (props.removeIcon ? IconUtils.getJSXIcon(props.removeIcon, _objectSpread$J({}, iconProps), {
|
|
42350
42306
|
props: props
|
|
@@ -42363,31 +42319,73 @@ var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
42363
42319
|
return getLabel();
|
|
42364
42320
|
};
|
|
42365
42321
|
var getVisibleOptions = function getVisibleOptions() {
|
|
42322
|
+
var options = props.optionGroupLabel ? flatOptions(props.options) : props.options;
|
|
42366
42323
|
if (hasFilter) {
|
|
42367
42324
|
var filterValue = filterState.trim().toLocaleLowerCase(props.filterLocale);
|
|
42368
42325
|
var searchFields = props.filterBy ? props.filterBy.split(',') : [props.optionLabel || 'label'];
|
|
42369
42326
|
if (props.optionGroupLabel) {
|
|
42370
42327
|
var filteredGroups = [];
|
|
42371
|
-
var
|
|
42372
|
-
|
|
42328
|
+
var _iterator2 = _createForOfIteratorHelper$7(props.options),
|
|
42329
|
+
_step2;
|
|
42373
42330
|
try {
|
|
42374
|
-
for (
|
|
42375
|
-
var optgroup =
|
|
42331
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
42332
|
+
var optgroup = _step2.value;
|
|
42376
42333
|
var filteredSubOptions = FilterService.filter(getOptionGroupChildren(optgroup), searchFields, filterValue, props.filterMatchMode, props.filterLocale);
|
|
42377
42334
|
if (filteredSubOptions && filteredSubOptions.length) {
|
|
42378
42335
|
filteredGroups.push(_objectSpread$J(_objectSpread$J({}, optgroup), _defineProperty({}, props.optionGroupChildren, filteredSubOptions)));
|
|
42379
42336
|
}
|
|
42380
42337
|
}
|
|
42381
42338
|
} catch (err) {
|
|
42382
|
-
|
|
42339
|
+
_iterator2.e(err);
|
|
42383
42340
|
} finally {
|
|
42384
|
-
|
|
42341
|
+
_iterator2.f();
|
|
42385
42342
|
}
|
|
42386
|
-
return filteredGroups;
|
|
42343
|
+
return flatOptions(filteredGroups);
|
|
42387
42344
|
}
|
|
42388
|
-
return FilterService.filter(
|
|
42345
|
+
return FilterService.filter(options, searchFields, filterValue, props.filterMatchMode, props.filterLocale);
|
|
42346
|
+
}
|
|
42347
|
+
return options;
|
|
42348
|
+
};
|
|
42349
|
+
var flatOptions = function flatOptions(options) {
|
|
42350
|
+
return (options || []).reduce(function (result, option, index) {
|
|
42351
|
+
result.push(_objectSpread$J(_objectSpread$J({}, option), {}, {
|
|
42352
|
+
group: true,
|
|
42353
|
+
index: index
|
|
42354
|
+
}));
|
|
42355
|
+
var optionGroupChildren = getOptionGroupChildren(option);
|
|
42356
|
+
optionGroupChildren && optionGroupChildren.forEach(function (o) {
|
|
42357
|
+
return result.push(o);
|
|
42358
|
+
});
|
|
42359
|
+
return result;
|
|
42360
|
+
}, []);
|
|
42361
|
+
};
|
|
42362
|
+
var onClearIconKeyDown = function onClearIconKeyDown(event) {
|
|
42363
|
+
event.preventDefault();
|
|
42364
|
+
event.stopPropagation();
|
|
42365
|
+
switch (event.code) {
|
|
42366
|
+
case 'Space':
|
|
42367
|
+
case 'NumpadEnter':
|
|
42368
|
+
case 'Enter':
|
|
42369
|
+
if (props.inline) {
|
|
42370
|
+
break;
|
|
42371
|
+
}
|
|
42372
|
+
updateModel(event, [], []);
|
|
42373
|
+
break;
|
|
42374
|
+
}
|
|
42375
|
+
};
|
|
42376
|
+
var onRemoveTokenIconKeyDown = function onRemoveTokenIconKeyDown(event, val) {
|
|
42377
|
+
event.preventDefault();
|
|
42378
|
+
event.stopPropagation();
|
|
42379
|
+
switch (event.code) {
|
|
42380
|
+
case 'Space':
|
|
42381
|
+
case 'NumpadEnter':
|
|
42382
|
+
case 'Enter':
|
|
42383
|
+
if (props.inline) {
|
|
42384
|
+
break;
|
|
42385
|
+
}
|
|
42386
|
+
removeChip(event, val);
|
|
42387
|
+
break;
|
|
42389
42388
|
}
|
|
42390
|
-
return props.options;
|
|
42391
42389
|
};
|
|
42392
42390
|
React.useImperativeHandle(ref, function () {
|
|
42393
42391
|
return {
|
|
@@ -42433,9 +42431,14 @@ var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
42433
42431
|
var createClearIcon = function createClearIcon() {
|
|
42434
42432
|
var clearIconProps = mergeProps({
|
|
42435
42433
|
className: cx('clearIcon'),
|
|
42434
|
+
'aria-label': localeOption('clear'),
|
|
42436
42435
|
onClick: function onClick(e) {
|
|
42437
42436
|
return updateModel(e, [], []);
|
|
42438
|
-
}
|
|
42437
|
+
},
|
|
42438
|
+
onKeyDown: function onKeyDown(e) {
|
|
42439
|
+
return onClearIconKeyDown(e);
|
|
42440
|
+
},
|
|
42441
|
+
tabIndex: props.tabIndex || '0'
|
|
42439
42442
|
}, ptm('clearIcon'));
|
|
42440
42443
|
var icon = props.clearIcon || /*#__PURE__*/React.createElement(TimesIcon, clearIconProps);
|
|
42441
42444
|
var clearIcon = IconUtils.getJSXIcon(icon, _objectSpread$J({}, clearIconProps), {
|
|
@@ -42449,10 +42452,11 @@ var MultiSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
42449
42452
|
var createLabel = function createLabel() {
|
|
42450
42453
|
var content = getLabelContent();
|
|
42451
42454
|
var labelContainerProps = mergeProps({
|
|
42452
|
-
ref:
|
|
42455
|
+
ref: labelContainerRef,
|
|
42453
42456
|
className: cx('labelContainer')
|
|
42454
42457
|
}, ptm('labelContainer'));
|
|
42455
42458
|
var labelProps = mergeProps({
|
|
42459
|
+
ref: labelRef,
|
|
42456
42460
|
className: cx('label', {
|
|
42457
42461
|
empty: empty
|
|
42458
42462
|
})
|
|
@@ -43893,12 +43897,8 @@ var OrganizationChartNode = /*#__PURE__*/React.memo(function (props) {
|
|
|
43893
43897
|
},
|
|
43894
43898
|
href: '#'
|
|
43895
43899
|
}, getPTOptions('nodeToggler'));
|
|
43896
|
-
return (
|
|
43897
|
-
|
|
43898
|
-
/* eslint-disable */
|
|
43899
|
-
React.createElement("a", nodeTogglerProps, /*#__PURE__*/React.createElement("i", null, " ", togglerIcon, " "))
|
|
43900
|
-
/* eslint-enable */
|
|
43901
|
-
);
|
|
43900
|
+
return /*#__PURE__*/ /* eslint-disable */React.createElement("a", nodeTogglerProps, /*#__PURE__*/React.createElement("i", null, " ", togglerIcon, " "))
|
|
43901
|
+
/* eslint-enable */;
|
|
43902
43902
|
}
|
|
43903
43903
|
return null;
|
|
43904
43904
|
};
|
|
@@ -48923,7 +48923,7 @@ var Sidebar = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
48923
48923
|
getElement: function getElement() {
|
|
48924
48924
|
return sidebarRef.current;
|
|
48925
48925
|
},
|
|
48926
|
-
|
|
48926
|
+
getMask: function getMask() {
|
|
48927
48927
|
return maskRef.current;
|
|
48928
48928
|
},
|
|
48929
48929
|
getCloseIcon: function getCloseIcon() {
|
|
@@ -55298,7 +55298,7 @@ var ToggleButton = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(functio
|
|
|
55298
55298
|
});
|
|
55299
55299
|
var hasLabel = props.onLabel && props.onLabel.length > 0 && props.offLabel && props.offLabel.length > 0;
|
|
55300
55300
|
var hasIcon = props.onIcon && props.offIcon;
|
|
55301
|
-
var label = hasLabel ? props.checked ? props.onLabel : props.offLabel :
|
|
55301
|
+
var label = hasLabel ? props.checked ? props.onLabel : props.offLabel : "\xA0";
|
|
55302
55302
|
var icon = props.checked ? props.onIcon : props.offIcon;
|
|
55303
55303
|
var toggle = function toggle(e) {
|
|
55304
55304
|
if (!props.disabled && props.onChange && !props.readonly) {
|
|
@@ -55589,9 +55589,9 @@ var TreeBase = ComponentBase.extend({
|
|
|
55589
55589
|
}
|
|
55590
55590
|
});
|
|
55591
55591
|
|
|
55592
|
-
function _createForOfIteratorHelper$6(
|
|
55593
|
-
function _unsupportedIterableToArray$6(
|
|
55594
|
-
function _arrayLikeToArray$6(
|
|
55592
|
+
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; } } }; }
|
|
55593
|
+
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; } }
|
|
55594
|
+
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; }
|
|
55595
55595
|
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; }
|
|
55596
55596
|
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; }
|
|
55597
55597
|
var UITreeNode = /*#__PURE__*/React.memo(function (props) {
|
|
@@ -56245,7 +56245,7 @@ var UITreeNode = /*#__PURE__*/React.memo(function (props) {
|
|
|
56245
56245
|
type: 'button',
|
|
56246
56246
|
className: cx('toggler'),
|
|
56247
56247
|
tabIndex: -1,
|
|
56248
|
-
'aria-hidden':
|
|
56248
|
+
'aria-hidden': false,
|
|
56249
56249
|
onClick: onTogglerClick
|
|
56250
56250
|
}, getPTOptions('toggler'));
|
|
56251
56251
|
var content = /*#__PURE__*/React.createElement("button", togglerProps, togglerIcon, /*#__PURE__*/React.createElement(Ripple, null));
|
|
@@ -56398,9 +56398,9 @@ UITreeNode.displayName = 'UITreeNode';
|
|
|
56398
56398
|
|
|
56399
56399
|
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; }
|
|
56400
56400
|
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; }
|
|
56401
|
-
function _createForOfIteratorHelper$5(
|
|
56402
|
-
function _unsupportedIterableToArray$5(
|
|
56403
|
-
function _arrayLikeToArray$5(
|
|
56401
|
+
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; } } }; }
|
|
56402
|
+
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; } }
|
|
56403
|
+
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; }
|
|
56404
56404
|
var Tree = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
56405
56405
|
var mergeProps = useMergeProps();
|
|
56406
56406
|
var context = React.useContext(PrimeReactContext);
|
|
@@ -57141,9 +57141,9 @@ TreeSelectPanel.displayName = 'TreeSelectPanel';
|
|
|
57141
57141
|
|
|
57142
57142
|
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; }
|
|
57143
57143
|
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; }
|
|
57144
|
-
function _createForOfIteratorHelper$4(
|
|
57145
|
-
function _unsupportedIterableToArray$4(
|
|
57146
|
-
function _arrayLikeToArray$4(
|
|
57144
|
+
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; } } }; }
|
|
57145
|
+
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; } }
|
|
57146
|
+
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; }
|
|
57147
57147
|
var TreeSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
57148
57148
|
var mergeProps = useMergeProps();
|
|
57149
57149
|
var context = React.useContext(PrimeReactContext);
|
|
@@ -57503,7 +57503,8 @@ var TreeSelect = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
57503
57503
|
}
|
|
57504
57504
|
};
|
|
57505
57505
|
var setFocusToFocusableFirstNode = function setFocusToFocusableFirstNode() {
|
|
57506
|
-
var
|
|
57506
|
+
var _treeRef$current;
|
|
57507
|
+
var treeNodeEl = DomHandler.find((_treeRef$current = treeRef.current) === null || _treeRef$current === void 0 ? void 0 : _treeRef$current.getElement(), '[data-pc-section="node"]');
|
|
57507
57508
|
var focusedElement = _toConsumableArray(treeNodeEl).find(function (item) {
|
|
57508
57509
|
return item.getAttribute('tabindex') === '0';
|
|
57509
57510
|
});
|
|
@@ -58350,9 +58351,9 @@ var TreeTableBodyCell = function TreeTableBodyCell(props) {
|
|
|
58350
58351
|
};
|
|
58351
58352
|
TreeTableBodyCell.displayName = 'TreeTableBodyCell';
|
|
58352
58353
|
|
|
58353
|
-
function _createForOfIteratorHelper$3(
|
|
58354
|
-
function _unsupportedIterableToArray$3(
|
|
58355
|
-
function _arrayLikeToArray$3(
|
|
58354
|
+
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; } } }; }
|
|
58355
|
+
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; } }
|
|
58356
|
+
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; }
|
|
58356
58357
|
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; }
|
|
58357
58358
|
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; }
|
|
58358
58359
|
var TreeTableRow = /*#__PURE__*/React.memo(function (props) {
|
|
@@ -58938,9 +58939,9 @@ var TreeTableRow = /*#__PURE__*/React.memo(function (props) {
|
|
|
58938
58939
|
});
|
|
58939
58940
|
TreeTableRow.displayName = 'TreeTableRow';
|
|
58940
58941
|
|
|
58941
|
-
function _createForOfIteratorHelper$2(
|
|
58942
|
-
function _unsupportedIterableToArray$2(
|
|
58943
|
-
function _arrayLikeToArray$2(
|
|
58942
|
+
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; } } }; }
|
|
58943
|
+
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; } }
|
|
58944
|
+
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; }
|
|
58944
58945
|
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; }
|
|
58945
58946
|
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; }
|
|
58946
58947
|
var TreeTableBody = /*#__PURE__*/React.memo(function (props) {
|
|
@@ -59181,6 +59182,7 @@ var TreeTableFooter = /*#__PURE__*/React.memo(function (props) {
|
|
|
59181
59182
|
ptm = _props$ptCallbacks.ptm,
|
|
59182
59183
|
ptmo = _props$ptCallbacks.ptmo,
|
|
59183
59184
|
cx = _props$ptCallbacks.cx;
|
|
59185
|
+
var context = React.useContext(PrimeReactContext);
|
|
59184
59186
|
var getColumnProp = function getColumnProp(column, name) {
|
|
59185
59187
|
return ColumnBase.getCProp(column, name);
|
|
59186
59188
|
};
|
|
@@ -59217,7 +59219,7 @@ var TreeTableFooter = /*#__PURE__*/React.memo(function (props) {
|
|
|
59217
59219
|
var footerRowProps = mergeProps(ptm('footerRow', {
|
|
59218
59220
|
hostName: props.hostName,
|
|
59219
59221
|
role: 'row'
|
|
59220
|
-
}));
|
|
59222
|
+
}), RowBase.getProps(row.props, context));
|
|
59221
59223
|
return /*#__PURE__*/React.createElement("tr", _extends({}, footerRowProps, {
|
|
59222
59224
|
key: index
|
|
59223
59225
|
}), rowFooterCells);
|
|
@@ -59255,9 +59257,9 @@ var TreeTableFooter = /*#__PURE__*/React.memo(function (props) {
|
|
|
59255
59257
|
});
|
|
59256
59258
|
TreeTableFooter.displayName = 'TreeTableFooter';
|
|
59257
59259
|
|
|
59258
|
-
function _createForOfIteratorHelper$1(
|
|
59259
|
-
function _unsupportedIterableToArray$1(
|
|
59260
|
-
function _arrayLikeToArray$1(
|
|
59260
|
+
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; } } }; }
|
|
59261
|
+
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; } }
|
|
59262
|
+
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; }
|
|
59261
59263
|
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; }
|
|
59262
59264
|
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; }
|
|
59263
59265
|
var TreeTableHeader = /*#__PURE__*/React.memo(function (props) {
|
|
@@ -59267,6 +59269,7 @@ var TreeTableHeader = /*#__PURE__*/React.memo(function (props) {
|
|
|
59267
59269
|
ptmo = _props$ptCallbacks.ptmo,
|
|
59268
59270
|
cx = _props$ptCallbacks.cx;
|
|
59269
59271
|
var filterTimeout = React.useRef(null);
|
|
59272
|
+
var context = React.useContext(PrimeReactContext);
|
|
59270
59273
|
var getColumnProp = function getColumnProp(column) {
|
|
59271
59274
|
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;
|
|
59272
59275
|
};
|
|
@@ -59540,6 +59543,7 @@ var TreeTableHeader = /*#__PURE__*/React.memo(function (props) {
|
|
|
59540
59543
|
style: getColumnProp(column, 'headerStyle') || getColumnProp(column, 'style'),
|
|
59541
59544
|
tabIndex: sortable ? props.tabIndex : null,
|
|
59542
59545
|
'aria-sort': ariaSort,
|
|
59546
|
+
//TODO: aria-sort is defined here two times (ariaSort, ariaSortData) ?
|
|
59543
59547
|
onClick: function onClick(e) {
|
|
59544
59548
|
return onHeaderClick(e, column);
|
|
59545
59549
|
},
|
|
@@ -59592,7 +59596,7 @@ var TreeTableHeader = /*#__PURE__*/React.memo(function (props) {
|
|
|
59592
59596
|
});
|
|
59593
59597
|
var headerRowProps = mergeProps(ptm('headerRow', {
|
|
59594
59598
|
hostName: props.hostName
|
|
59595
|
-
}));
|
|
59599
|
+
}), RowBase.getProps(row.props, context));
|
|
59596
59600
|
return /*#__PURE__*/React.createElement("tr", _extends({
|
|
59597
59601
|
role: "row"
|
|
59598
59602
|
}, headerRowProps, {
|
|
@@ -59811,9 +59815,9 @@ TreeTableScrollableView.displayName = 'TreeTableScrollableView';
|
|
|
59811
59815
|
|
|
59812
59816
|
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; }
|
|
59813
59817
|
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; }
|
|
59814
|
-
function _createForOfIteratorHelper(
|
|
59815
|
-
function _unsupportedIterableToArray(
|
|
59816
|
-
function _arrayLikeToArray(
|
|
59818
|
+
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; } } }; }
|
|
59819
|
+
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; } }
|
|
59820
|
+
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; }
|
|
59817
59821
|
var TreeTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
59818
59822
|
var mergeProps = useMergeProps();
|
|
59819
59823
|
var context = React.useContext(PrimeReactContext);
|
|
@@ -60277,7 +60281,7 @@ var TreeTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
60277
60281
|
}
|
|
60278
60282
|
if (props.onValueChange) {
|
|
60279
60283
|
props.onValueChange(processedData({
|
|
60280
|
-
filters:
|
|
60284
|
+
filters: newFilters
|
|
60281
60285
|
}));
|
|
60282
60286
|
}
|
|
60283
60287
|
};
|