primereact 10.8.5 → 10.9.1
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/LICENSE.md +1 -1
- package/accordion/accordion.cjs.js +55 -43
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +55 -43
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +55 -43
- package/accordion/accordion.min.js +1 -1
- package/api/api.cjs.js +59 -44
- package/api/api.cjs.min.js +1 -1
- package/api/api.esm.js +59 -44
- package/api/api.esm.min.js +1 -1
- package/api/api.js +59 -44
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +59 -47
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +1 -1
- package/autocomplete/autocomplete.esm.js +59 -47
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +59 -47
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +49 -37
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +49 -37
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +49 -37
- package/avatar/avatar.min.js +1 -1
- package/badge/badge.cjs.js +23 -17
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +23 -17
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +23 -17
- package/badge/badge.min.js +1 -1
- package/blockui/blockui.cjs.js +49 -37
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +49 -37
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +49 -37
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +49 -37
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +49 -37
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +49 -37
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +34 -23
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +34 -23
- package/button/button.esm.min.js +1 -1
- package/button/button.js +34 -23
- package/button/button.min.js +1 -1
- package/calendar/calendar.cjs.js +67 -49
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +67 -49
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +67 -49
- package/calendar/calendar.min.js +1 -1
- package/carousel/carousel.cjs.js +55 -43
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +55 -43
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +55 -43
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +52 -40
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +52 -40
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +52 -40
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/checkbox/checkbox.cjs.js +55 -43
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +55 -43
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +55 -43
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +56 -40
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +56 -40
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +56 -40
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +68 -50
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +68 -50
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +68 -50
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +49 -37
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +49 -37
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +49 -37
- package/colorpicker/colorpicker.min.js +1 -1
- package/componentbase/componentbase.cjs.js +42 -35
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.js +42 -35
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.js +42 -35
- package/componentbase/componentbase.min.js +1 -1
- package/confirmdialog/confirmdialog.cjs.js +57 -43
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +57 -43
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +57 -43
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +49 -37
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +49 -37
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +49 -37
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +49 -37
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +49 -37
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +49 -37
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +1482 -1020
- package/core/core.min.js +68 -68
- package/csstransition/csstransition.cjs.js +23 -17
- package/csstransition/csstransition.cjs.min.js +1 -1
- package/csstransition/csstransition.esm.js +23 -17
- package/csstransition/csstransition.esm.min.js +1 -1
- package/csstransition/csstransition.js +23 -17
- package/csstransition/csstransition.min.js +1 -1
- package/datascroller/datascroller.cjs.js +32 -26
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.esm.js +32 -26
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +32 -26
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +114 -87
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +114 -87
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +114 -87
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +58 -46
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +58 -46
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +58 -46
- package/dataview/dataview.min.js +1 -1
- package/deferredcontent/deferredcontent.cjs.js +15 -14
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +15 -14
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +15 -14
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/dialog.cjs.js +62 -50
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +62 -50
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +62 -50
- package/dialog/dialog.min.js +1 -1
- package/dock/dock.cjs.js +55 -43
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +55 -43
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +55 -43
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +74 -52
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +2 -2
- package/dropdown/dropdown.esm.js +74 -52
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +74 -52
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +49 -37
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +49 -37
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +49 -37
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +26 -20
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +26 -20
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +26 -20
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/fileupload.cjs.js +60 -48
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +60 -48
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +60 -48
- package/fileupload/fileupload.min.js +1 -1
- package/focustrap/focustrap.cjs.js +30 -24
- package/focustrap/focustrap.cjs.min.js +1 -1
- package/focustrap/focustrap.esm.js +30 -24
- package/focustrap/focustrap.esm.min.js +1 -1
- package/focustrap/focustrap.js +30 -24
- package/focustrap/focustrap.min.js +1 -1
- package/galleria/galleria.cjs.js +55 -43
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +55 -43
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +55 -43
- package/galleria/galleria.min.js +1 -1
- package/hooks/hooks.cjs.js +44 -37
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.esm.js +44 -37
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +44 -37
- package/hooks/hooks.min.js +1 -1
- package/iconbase/iconbase.cjs.js +1 -1
- package/iconbase/iconbase.cjs.min.js +1 -1
- package/iconbase/iconbase.esm.js +1 -1
- package/iconbase/iconbase.esm.min.js +1 -1
- package/iconbase/iconbase.js +1 -1
- package/iconbase/iconbase.min.js +1 -1
- package/iconfield/iconfield.cjs.js +34 -23
- package/iconfield/iconfield.cjs.min.js +1 -1
- package/iconfield/iconfield.esm.js +34 -23
- package/iconfield/iconfield.esm.min.js +1 -1
- package/iconfield/iconfield.js +34 -23
- package/iconfield/iconfield.min.js +1 -1
- package/icons/angledoubledown/index.cjs.js +11 -6
- package/icons/angledoubledown/index.cjs.min.js +1 -1
- package/icons/angledoubledown/index.esm.js +11 -6
- package/icons/angledoubledown/index.esm.min.js +1 -1
- package/icons/angledoubledown/index.js +11 -6
- package/icons/angledoubledown/index.min.js +1 -1
- package/icons/angledoubleleft/index.cjs.js +11 -6
- package/icons/angledoubleleft/index.cjs.min.js +1 -1
- package/icons/angledoubleleft/index.esm.js +11 -6
- package/icons/angledoubleleft/index.esm.min.js +1 -1
- package/icons/angledoubleleft/index.js +11 -6
- package/icons/angledoubleleft/index.min.js +1 -1
- package/icons/angledoubleright/index.cjs.js +11 -6
- package/icons/angledoubleright/index.cjs.min.js +1 -1
- package/icons/angledoubleright/index.esm.js +11 -6
- package/icons/angledoubleright/index.esm.min.js +1 -1
- package/icons/angledoubleright/index.js +11 -6
- package/icons/angledoubleright/index.min.js +1 -1
- package/icons/angledoubleup/index.cjs.js +11 -6
- package/icons/angledoubleup/index.cjs.min.js +1 -1
- package/icons/angledoubleup/index.esm.js +11 -6
- package/icons/angledoubleup/index.esm.min.js +1 -1
- package/icons/angledoubleup/index.js +11 -6
- package/icons/angledoubleup/index.min.js +1 -1
- package/icons/angledown/index.cjs.js +11 -6
- package/icons/angledown/index.cjs.min.js +1 -1
- package/icons/angledown/index.esm.js +11 -6
- package/icons/angledown/index.esm.min.js +1 -1
- package/icons/angledown/index.js +11 -6
- package/icons/angledown/index.min.js +1 -1
- package/icons/angleleft/index.cjs.js +11 -6
- package/icons/angleleft/index.cjs.min.js +1 -1
- package/icons/angleleft/index.esm.js +11 -6
- package/icons/angleleft/index.esm.min.js +1 -1
- package/icons/angleleft/index.js +11 -6
- package/icons/angleleft/index.min.js +1 -1
- package/icons/angleright/index.cjs.js +11 -6
- package/icons/angleright/index.cjs.min.js +1 -1
- package/icons/angleright/index.esm.js +11 -6
- package/icons/angleright/index.esm.min.js +1 -1
- package/icons/angleright/index.js +11 -6
- package/icons/angleright/index.min.js +1 -1
- package/icons/angleup/index.cjs.js +11 -6
- package/icons/angleup/index.cjs.min.js +1 -1
- package/icons/angleup/index.esm.js +11 -6
- package/icons/angleup/index.esm.min.js +1 -1
- package/icons/angleup/index.js +11 -6
- package/icons/angleup/index.min.js +1 -1
- package/icons/arrowdown/index.cjs.js +11 -6
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +11 -6
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +11 -6
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowup/index.cjs.js +11 -6
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +11 -6
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +11 -6
- package/icons/arrowup/index.min.js +1 -1
- package/icons/ban/index.cjs.js +11 -6
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +11 -6
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +11 -6
- package/icons/ban/index.min.js +1 -1
- package/icons/bars/index.cjs.js +11 -6
- package/icons/bars/index.cjs.min.js +1 -1
- package/icons/bars/index.esm.js +11 -6
- package/icons/bars/index.esm.min.js +1 -1
- package/icons/bars/index.js +11 -6
- package/icons/bars/index.min.js +1 -1
- package/icons/blank/index.cjs.js +11 -6
- package/icons/blank/index.cjs.min.js +1 -1
- package/icons/blank/index.esm.js +11 -6
- package/icons/blank/index.esm.min.js +1 -1
- package/icons/blank/index.js +11 -6
- package/icons/blank/index.min.js +1 -1
- package/icons/calendar/index.cjs.js +11 -6
- package/icons/calendar/index.cjs.min.js +1 -1
- package/icons/calendar/index.esm.js +11 -6
- package/icons/calendar/index.esm.min.js +1 -1
- package/icons/calendar/index.js +11 -6
- package/icons/calendar/index.min.js +1 -1
- package/icons/check/index.cjs.js +11 -6
- package/icons/check/index.cjs.min.js +1 -1
- package/icons/check/index.esm.js +11 -6
- package/icons/check/index.esm.min.js +1 -1
- package/icons/check/index.js +11 -6
- package/icons/check/index.min.js +1 -1
- package/icons/chevrondown/index.cjs.js +11 -6
- package/icons/chevrondown/index.cjs.min.js +1 -1
- package/icons/chevrondown/index.esm.js +11 -6
- package/icons/chevrondown/index.esm.min.js +1 -1
- package/icons/chevrondown/index.js +11 -6
- package/icons/chevrondown/index.min.js +1 -1
- package/icons/chevronleft/index.cjs.js +11 -6
- package/icons/chevronleft/index.cjs.min.js +1 -1
- package/icons/chevronleft/index.esm.js +11 -6
- package/icons/chevronleft/index.esm.min.js +1 -1
- package/icons/chevronleft/index.js +11 -6
- package/icons/chevronleft/index.min.js +1 -1
- package/icons/chevronright/index.cjs.js +11 -6
- package/icons/chevronright/index.cjs.min.js +1 -1
- package/icons/chevronright/index.esm.js +11 -6
- package/icons/chevronright/index.esm.min.js +1 -1
- package/icons/chevronright/index.js +11 -6
- package/icons/chevronright/index.min.js +1 -1
- package/icons/chevronup/index.cjs.js +11 -6
- package/icons/chevronup/index.cjs.min.js +1 -1
- package/icons/chevronup/index.esm.js +11 -6
- package/icons/chevronup/index.esm.min.js +1 -1
- package/icons/chevronup/index.js +11 -6
- package/icons/chevronup/index.min.js +1 -1
- package/icons/download/index.cjs.js +11 -6
- package/icons/download/index.cjs.min.js +1 -1
- package/icons/download/index.esm.js +11 -6
- package/icons/download/index.esm.min.js +1 -1
- package/icons/download/index.js +11 -6
- package/icons/download/index.min.js +1 -1
- package/icons/exclamationtriangle/index.cjs.js +11 -6
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +11 -6
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +11 -6
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/eye/index.cjs.js +11 -6
- package/icons/eye/index.cjs.min.js +1 -1
- package/icons/eye/index.esm.js +11 -6
- package/icons/eye/index.esm.min.js +1 -1
- package/icons/eye/index.js +11 -6
- package/icons/eye/index.min.js +1 -1
- package/icons/eyeslash/index.cjs.js +11 -6
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +11 -6
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +11 -6
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/filter/index.cjs.js +11 -6
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +11 -6
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +11 -6
- package/icons/filter/index.min.js +1 -1
- package/icons/filterslash/index.cjs.js +11 -6
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +11 -6
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +11 -6
- package/icons/filterslash/index.min.js +1 -1
- package/icons/infocircle/index.cjs.js +11 -6
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +11 -6
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +11 -6
- package/icons/infocircle/index.min.js +1 -1
- package/icons/minus/index.cjs.js +11 -6
- package/icons/minus/index.cjs.min.js +1 -1
- package/icons/minus/index.esm.js +11 -6
- package/icons/minus/index.esm.min.js +1 -1
- package/icons/minus/index.js +11 -6
- package/icons/minus/index.min.js +1 -1
- package/icons/pencil/index.cjs.js +11 -6
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +11 -6
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +11 -6
- package/icons/pencil/index.min.js +1 -1
- package/icons/plus/index.cjs.js +11 -6
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +11 -6
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +11 -6
- package/icons/plus/index.min.js +1 -1
- package/icons/refresh/index.cjs.js +11 -6
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +11 -6
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +11 -6
- package/icons/refresh/index.min.js +1 -1
- package/icons/search/index.cjs.js +11 -6
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +11 -6
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +11 -6
- package/icons/search/index.min.js +1 -1
- package/icons/searchminus/index.cjs.js +11 -6
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +11 -6
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +11 -6
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchplus/index.cjs.js +11 -6
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +11 -6
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +11 -6
- package/icons/searchplus/index.min.js +1 -1
- package/icons/sortalt/index.cjs.js +11 -6
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +11 -6
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +11 -6
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortamountdown/index.cjs.js +11 -6
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +11 -6
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +11 -6
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountupalt/index.cjs.js +11 -6
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +11 -6
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +11 -6
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/spinner/index.cjs.js +11 -6
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +11 -6
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +11 -6
- package/icons/spinner/index.min.js +1 -1
- package/icons/star/index.cjs.js +11 -6
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +11 -6
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +11 -6
- package/icons/star/index.min.js +1 -1
- package/icons/starfill/index.cjs.js +11 -6
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +11 -6
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +11 -6
- package/icons/starfill/index.min.js +1 -1
- package/icons/thlarge/index.cjs.js +11 -6
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +11 -6
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +11 -6
- package/icons/thlarge/index.min.js +1 -1
- package/icons/times/index.cjs.js +11 -6
- package/icons/times/index.cjs.min.js +1 -1
- package/icons/times/index.esm.js +11 -6
- package/icons/times/index.esm.min.js +1 -1
- package/icons/times/index.js +11 -6
- package/icons/times/index.min.js +1 -1
- package/icons/timescircle/index.cjs.js +11 -6
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +11 -6
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +11 -6
- package/icons/timescircle/index.min.js +1 -1
- package/icons/trash/index.cjs.js +11 -6
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +11 -6
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +11 -6
- package/icons/trash/index.min.js +1 -1
- package/icons/undo/index.cjs.js +11 -6
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +11 -6
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +11 -6
- package/icons/undo/index.min.js +1 -1
- package/icons/upload/index.cjs.js +11 -6
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +11 -6
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +11 -6
- package/icons/upload/index.min.js +1 -1
- package/icons/windowmaximize/index.cjs.js +11 -6
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +11 -6
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +11 -6
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowminimize/index.cjs.js +11 -6
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +11 -6
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +11 -6
- package/icons/windowminimize/index.min.js +1 -1
- package/image/image.cjs.js +49 -37
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +49 -37
- package/image/image.esm.min.js +1 -1
- package/image/image.js +49 -37
- package/image/image.min.js +1 -1
- package/inplace/inplace.cjs.js +15 -14
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +15 -14
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +15 -14
- package/inplace/inplace.min.js +1 -1
- package/inputicon/inputicon.cjs.js +34 -23
- package/inputicon/inputicon.cjs.min.js +1 -1
- package/inputicon/inputicon.esm.js +34 -23
- package/inputicon/inputicon.esm.min.js +1 -1
- package/inputicon/inputicon.js +34 -23
- package/inputicon/inputicon.min.js +1 -1
- package/inputmask/inputmask.cjs.js +11 -6
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +11 -6
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +11 -6
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +55 -43
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +55 -43
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +55 -43
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputotp/inputotp.cjs.js +55 -43
- package/inputotp/inputotp.cjs.min.js +1 -1
- package/inputotp/inputotp.esm.js +55 -43
- package/inputotp/inputotp.esm.min.js +1 -1
- package/inputotp/inputotp.js +55 -43
- package/inputotp/inputotp.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +34 -23
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +34 -23
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +34 -23
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +34 -23
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +34 -23
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +34 -23
- package/inputtext/inputtext.min.js +1 -1
- package/inputtextarea/inputtextarea.cjs.js +43 -24
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.esm.js +43 -24
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +43 -24
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/keyfilter/keyfilter.cjs.js +17 -16
- package/keyfilter/keyfilter.cjs.min.js +1 -1
- package/keyfilter/keyfilter.esm.js +17 -16
- package/keyfilter/keyfilter.esm.min.js +1 -1
- package/keyfilter/keyfilter.js +17 -16
- package/keyfilter/keyfilter.min.js +1 -1
- package/knob/knob.cjs.js +15 -14
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +15 -14
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +15 -14
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +58 -46
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +58 -46
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +58 -46
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +51 -39
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +51 -39
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +51 -39
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +64 -44
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +64 -44
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +64 -44
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +73 -54
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +73 -54
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +73 -54
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +49 -37
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +49 -37
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +49 -37
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +34 -23
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +34 -23
- package/message/message.esm.min.js +1 -1
- package/message/message.js +34 -23
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +56 -44
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +56 -44
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +56 -44
- package/messages/messages.min.js +1 -1
- package/metergroup/metergroup.cjs.js +34 -23
- package/metergroup/metergroup.cjs.min.js +1 -1
- package/metergroup/metergroup.esm.js +34 -23
- package/metergroup/metergroup.esm.min.js +1 -1
- package/metergroup/metergroup.js +34 -23
- package/metergroup/metergroup.min.js +1 -1
- package/multiselect/multiselect.cjs.js +67 -55
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +68 -56
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +67 -55
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +56 -44
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +56 -44
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +56 -44
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +55 -43
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +55 -43
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +55 -43
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +55 -43
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +55 -43
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +55 -43
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +50 -39
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +51 -40
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +50 -39
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/overlayservice/overlayservice.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.js +56 -41
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +56 -41
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +56 -41
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.js +26 -20
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +26 -20
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +26 -20
- package/panel/panel.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +49 -37
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +49 -37
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +49 -37
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/index.cjs.js +23 -17
- package/passthrough/index.cjs.min.js +1 -1
- package/passthrough/index.esm.js +23 -17
- package/passthrough/index.esm.min.js +1 -1
- package/passthrough/index.js +23 -17
- package/passthrough/index.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +15 -14
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +15 -14
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +15 -14
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.cjs.js +49 -37
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +49 -37
- package/password/password.esm.min.js +1 -1
- package/password/password.js +49 -37
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +64 -49
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +64 -49
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +64 -49
- package/picklist/picklist.min.js +1 -1
- package/portal/portal.cjs.js +15 -14
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +15 -14
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +15 -14
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +348 -242
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +348 -242
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +348 -242
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.js +34 -23
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +34 -23
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +34 -23
- package/progressbar/progressbar.min.js +1 -1
- package/radiobutton/radiobutton.cjs.js +34 -23
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +34 -23
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +34 -23
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +49 -37
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +49 -37
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +49 -37
- package/rating/rating.min.js +1 -1
- package/ripple/ripple.cjs.js +49 -37
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.js +49 -37
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +49 -37
- package/ripple/ripple.min.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +27 -20
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +27 -20
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +27 -20
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +49 -37
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +49 -37
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +49 -37
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +32 -26
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +32 -26
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +32 -26
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/sidebar.cjs.js +50 -39
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +51 -40
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +50 -39
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +23 -17
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +23 -17
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +23 -17
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/slidemenu.cjs.js +49 -37
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.esm.js +49 -37
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +49 -37
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.js +55 -43
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +55 -43
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +55 -43
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +55 -43
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +55 -43
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +55 -43
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +49 -37
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +49 -37
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +49 -37
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +55 -43
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +55 -43
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +55 -43
- package/splitter/splitter.min.js +1 -1
- package/stepper/stepper.cjs.js +49 -37
- package/stepper/stepper.cjs.min.js +1 -1
- package/stepper/stepper.esm.js +49 -37
- package/stepper/stepper.esm.min.js +1 -1
- package/stepper/stepper.js +49 -37
- package/stepper/stepper.min.js +1 -1
- package/steps/steps.cjs.js +49 -37
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +49 -37
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +49 -37
- package/steps/steps.min.js +1 -1
- package/styleclass/styleclass.cjs.js +15 -14
- package/styleclass/styleclass.cjs.min.js +1 -1
- package/styleclass/styleclass.esm.js +15 -14
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +15 -14
- package/styleclass/styleclass.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +49 -37
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +49 -37
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +49 -37
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +61 -38
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +61 -38
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +61 -38
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +23 -17
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +23 -17
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +23 -17
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +21 -20
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +21 -20
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +21 -20
- package/terminal/terminal.min.js +1 -1
- package/terminalservice/terminalservice.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +49 -37
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +49 -37
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +49 -37
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.js +34 -23
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +34 -23
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +34 -23
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.js +60 -277
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +61 -278
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +60 -277
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +34 -23
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +34 -23
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +34 -23
- package/togglebutton/togglebutton.min.js +1 -1
- package/tooltip/tooltip.cjs.js +59 -45
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +60 -46
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +59 -45
- package/tooltip/tooltip.min.js +1 -1
- package/tree/tree.cjs.js +67 -55
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +67 -55
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +67 -55
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.cjs.js +59 -47
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +60 -48
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +59 -47
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +111 -91
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +111 -91
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +111 -91
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +50 -38
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +50 -38
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +50 -38
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +88 -67
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +88 -67
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +88 -67
- package/utils/utils.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +63 -40
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +64 -41
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +63 -40
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +4 -4
package/primereact.all.cjs.js
CHANGED
|
@@ -32,43 +32,49 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
32
32
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
33
33
|
|
|
34
34
|
function _extends() {
|
|
35
|
-
|
|
36
|
-
for (var
|
|
37
|
-
var
|
|
38
|
-
for (var
|
|
35
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
36
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
37
|
+
var source = arguments[i];
|
|
38
|
+
for (var key in source) {
|
|
39
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
40
|
+
target[key] = source[key];
|
|
41
|
+
}
|
|
42
|
+
}
|
|
39
43
|
}
|
|
40
|
-
return
|
|
41
|
-
}
|
|
44
|
+
return target;
|
|
45
|
+
};
|
|
46
|
+
return _extends.apply(this, arguments);
|
|
42
47
|
}
|
|
43
48
|
|
|
44
|
-
function _arrayLikeToArray$i(
|
|
45
|
-
(
|
|
46
|
-
for (var
|
|
47
|
-
return
|
|
49
|
+
function _arrayLikeToArray$i(arr, len) {
|
|
50
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
51
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
52
|
+
return arr2;
|
|
48
53
|
}
|
|
49
54
|
|
|
50
|
-
function _arrayWithoutHoles(
|
|
51
|
-
if (Array.isArray(
|
|
55
|
+
function _arrayWithoutHoles(arr) {
|
|
56
|
+
if (Array.isArray(arr)) return _arrayLikeToArray$i(arr);
|
|
52
57
|
}
|
|
53
58
|
|
|
54
|
-
function _iterableToArray(
|
|
55
|
-
if (
|
|
59
|
+
function _iterableToArray(iter) {
|
|
60
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
56
61
|
}
|
|
57
62
|
|
|
58
|
-
function _unsupportedIterableToArray$i(
|
|
59
|
-
if (
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
function _unsupportedIterableToArray$i(o, minLen) {
|
|
64
|
+
if (!o) return;
|
|
65
|
+
if (typeof o === "string") return _arrayLikeToArray$i(o, minLen);
|
|
66
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
67
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
68
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
69
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$i(o, minLen);
|
|
64
70
|
}
|
|
65
71
|
|
|
66
72
|
function _nonIterableSpread() {
|
|
67
73
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
68
74
|
}
|
|
69
75
|
|
|
70
|
-
function _toConsumableArray(
|
|
71
|
-
return _arrayWithoutHoles(
|
|
76
|
+
function _toConsumableArray(arr) {
|
|
77
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$i(arr) || _nonIterableSpread();
|
|
72
78
|
}
|
|
73
79
|
|
|
74
80
|
function _typeof(o) {
|
|
@@ -81,33 +87,39 @@ function _typeof(o) {
|
|
|
81
87
|
}, _typeof(o);
|
|
82
88
|
}
|
|
83
89
|
|
|
84
|
-
function
|
|
85
|
-
if ("object"
|
|
86
|
-
var
|
|
87
|
-
if (
|
|
88
|
-
var
|
|
89
|
-
if ("object"
|
|
90
|
+
function _toPrimitive(input, hint) {
|
|
91
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
92
|
+
var prim = input[Symbol.toPrimitive];
|
|
93
|
+
if (prim !== undefined) {
|
|
94
|
+
var res = prim.call(input, hint || "default");
|
|
95
|
+
if (_typeof(res) !== "object") return res;
|
|
90
96
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
91
97
|
}
|
|
92
|
-
return ("string"
|
|
98
|
+
return (hint === "string" ? String : Number)(input);
|
|
93
99
|
}
|
|
94
100
|
|
|
95
|
-
function
|
|
96
|
-
var
|
|
97
|
-
return "symbol"
|
|
101
|
+
function _toPropertyKey(arg) {
|
|
102
|
+
var key = _toPrimitive(arg, "string");
|
|
103
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
98
104
|
}
|
|
99
105
|
|
|
100
|
-
function _defineProperty(
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
function _defineProperty(obj, key, value) {
|
|
107
|
+
key = _toPropertyKey(key);
|
|
108
|
+
if (key in obj) {
|
|
109
|
+
Object.defineProperty(obj, key, {
|
|
110
|
+
value: value,
|
|
111
|
+
enumerable: true,
|
|
112
|
+
configurable: true,
|
|
113
|
+
writable: true
|
|
114
|
+
});
|
|
115
|
+
} else {
|
|
116
|
+
obj[key] = value;
|
|
117
|
+
}
|
|
118
|
+
return obj;
|
|
107
119
|
}
|
|
108
120
|
|
|
109
|
-
function _arrayWithHoles(
|
|
110
|
-
if (Array.isArray(
|
|
121
|
+
function _arrayWithHoles(arr) {
|
|
122
|
+
if (Array.isArray(arr)) return arr;
|
|
111
123
|
}
|
|
112
124
|
|
|
113
125
|
function _iterableToArrayLimit(r, l) {
|
|
@@ -142,8 +154,8 @@ function _nonIterableRest() {
|
|
|
142
154
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
143
155
|
}
|
|
144
156
|
|
|
145
|
-
function _slicedToArray(
|
|
146
|
-
return _arrayWithHoles(
|
|
157
|
+
function _slicedToArray(arr, i) {
|
|
158
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$i(arr, i) || _nonIterableRest();
|
|
147
159
|
}
|
|
148
160
|
|
|
149
161
|
var FilterMatchMode = Object.freeze({
|
|
@@ -202,25 +214,33 @@ function classNames() {
|
|
|
202
214
|
return undefined;
|
|
203
215
|
}
|
|
204
216
|
|
|
205
|
-
function _classCallCheck(
|
|
206
|
-
if (!(
|
|
217
|
+
function _classCallCheck(instance, Constructor) {
|
|
218
|
+
if (!(instance instanceof Constructor)) {
|
|
219
|
+
throw new TypeError("Cannot call a class as a function");
|
|
220
|
+
}
|
|
207
221
|
}
|
|
208
222
|
|
|
209
|
-
function _defineProperties(
|
|
210
|
-
for (var
|
|
211
|
-
var
|
|
212
|
-
|
|
223
|
+
function _defineProperties(target, props) {
|
|
224
|
+
for (var i = 0; i < props.length; i++) {
|
|
225
|
+
var descriptor = props[i];
|
|
226
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
227
|
+
descriptor.configurable = true;
|
|
228
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
229
|
+
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
213
230
|
}
|
|
214
231
|
}
|
|
215
|
-
function _createClass(
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
232
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
233
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
234
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
235
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
236
|
+
writable: false
|
|
237
|
+
});
|
|
238
|
+
return Constructor;
|
|
219
239
|
}
|
|
220
240
|
|
|
221
|
-
function _createForOfIteratorHelper$h(
|
|
222
|
-
function _unsupportedIterableToArray$h(
|
|
223
|
-
function _arrayLikeToArray$h(
|
|
241
|
+
function _createForOfIteratorHelper$h(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$h(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
242
|
+
function _unsupportedIterableToArray$h(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$h(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$h(o, minLen); }
|
|
243
|
+
function _arrayLikeToArray$h(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
224
244
|
var DomHandler = /*#__PURE__*/function () {
|
|
225
245
|
function DomHandler() {
|
|
226
246
|
_classCallCheck(this, DomHandler);
|
|
@@ -1490,9 +1510,9 @@ function EventBus() {
|
|
|
1490
1510
|
};
|
|
1491
1511
|
}
|
|
1492
1512
|
|
|
1493
|
-
function _createForOfIteratorHelper$g(
|
|
1494
|
-
function _unsupportedIterableToArray$g(
|
|
1495
|
-
function _arrayLikeToArray$g(
|
|
1513
|
+
function _createForOfIteratorHelper$g(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$g(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
1514
|
+
function _unsupportedIterableToArray$g(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$g(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$g(o, minLen); }
|
|
1515
|
+
function _arrayLikeToArray$g(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
1496
1516
|
var ObjectUtils = /*#__PURE__*/function () {
|
|
1497
1517
|
function ObjectUtils() {
|
|
1498
1518
|
_classCallCheck(this, ObjectUtils);
|
|
@@ -2026,6 +2046,13 @@ var ObjectUtils = /*#__PURE__*/function () {
|
|
|
2026
2046
|
}]);
|
|
2027
2047
|
}();
|
|
2028
2048
|
|
|
2049
|
+
var lastId = 0;
|
|
2050
|
+
function UniqueComponentId() {
|
|
2051
|
+
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pr_id_';
|
|
2052
|
+
lastId++;
|
|
2053
|
+
return "".concat(prefix).concat(lastId);
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2029
2056
|
function ownKeys$21(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; }
|
|
2030
2057
|
function _objectSpread$21(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$21(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$21(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2031
2058
|
var IconUtils = /*#__PURE__*/function () {
|
|
@@ -2042,7 +2069,8 @@ var IconUtils = /*#__PURE__*/function () {
|
|
|
2042
2069
|
var iconType = _typeof(icon);
|
|
2043
2070
|
var className = classNames(iconProps.className, iconType === 'string' && icon);
|
|
2044
2071
|
content = /*#__PURE__*/React__namespace.createElement("span", _extends({}, iconProps, {
|
|
2045
|
-
className: className
|
|
2072
|
+
className: className,
|
|
2073
|
+
key: UniqueComponentId('icon')
|
|
2046
2074
|
}));
|
|
2047
2075
|
if (iconType !== 'string') {
|
|
2048
2076
|
var defaultContentOptions = _objectSpread$21({
|
|
@@ -2565,13 +2593,6 @@ function mergeProps(props) {
|
|
|
2565
2593
|
}, {});
|
|
2566
2594
|
}
|
|
2567
2595
|
|
|
2568
|
-
var lastId = 0;
|
|
2569
|
-
function UniqueComponentId() {
|
|
2570
|
-
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pr_id_';
|
|
2571
|
-
lastId++;
|
|
2572
|
-
return "".concat(prefix).concat(lastId);
|
|
2573
|
-
}
|
|
2574
|
-
|
|
2575
2596
|
function handler() {
|
|
2576
2597
|
var zIndexes = [];
|
|
2577
2598
|
var generateZIndex = function generateZIndex(key, autoZIndex) {
|
|
@@ -2624,9 +2645,9 @@ function handler() {
|
|
|
2624
2645
|
}
|
|
2625
2646
|
var ZIndexUtils = handler();
|
|
2626
2647
|
|
|
2627
|
-
function _createForOfIteratorHelper$f(
|
|
2628
|
-
function _unsupportedIterableToArray$f(
|
|
2629
|
-
function _arrayLikeToArray$f(
|
|
2648
|
+
function _createForOfIteratorHelper$f(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$f(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
2649
|
+
function _unsupportedIterableToArray$f(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$f(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$f(o, minLen); }
|
|
2650
|
+
function _arrayLikeToArray$f(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
2630
2651
|
var FilterService = {
|
|
2631
2652
|
filter: function filter(value, fields, filterValue, filterMatchMode, filterLocale) {
|
|
2632
2653
|
var filteredItems = [];
|
|
@@ -4732,11 +4753,11 @@ var useUpdateEffect = function useUpdateEffect(fn, deps) {
|
|
|
4732
4753
|
|
|
4733
4754
|
function ownKeys$1X(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; }
|
|
4734
4755
|
function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4735
|
-
var baseStyle = "\n.p-hidden-accessible {\n
|
|
4756
|
+
var baseStyle = "\n.p-hidden-accessible {\n position: absolute;\n pointer-events: none;\n opacity: 0;\n white-space: nowrap;\n}\n\n.p-overflow-hidden {\n overflow: hidden;\n padding-right: var(--scrollbar-width);\n}\n";
|
|
4736
4757
|
var buttonStyles = "\n.p-button {\n margin: 0;\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n vertical-align: bottom;\n text-align: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-button-label {\n flex: 1 1 auto;\n}\n\n.p-button-icon-right {\n order: 1;\n}\n\n.p-button:disabled {\n cursor: default;\n}\n\n.p-button-icon-only {\n justify-content: center;\n}\n\n.p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n flex: 0 0 auto;\n}\n\n.p-button-vertical {\n flex-direction: column;\n}\n\n.p-button-icon-bottom {\n order: 2;\n}\n\n.p-button-group .p-button {\n margin: 0;\n}\n\n.p-button-group .p-button:not(:last-child) {\n border-right: 0 none;\n}\n\n.p-button-group .p-button:not(:first-of-type):not(:last-of-type) {\n border-radius: 0;\n}\n\n.p-button-group .p-button:first-of-type {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-button-group .p-button:last-of-type {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-button-group .p-button:focus {\n position: relative;\n z-index: 1;\n}\n";
|
|
4737
4758
|
var inputTextStyles = "\n.p-inputtext {\n margin: 0;\n}\n\n.p-fluid .p-inputtext {\n width: 100%;\n}\n\n/* InputGroup */\n.p-inputgroup {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup-addon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-inputgroup .p-float-label {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup .p-inputtext,\n.p-fluid .p-inputgroup .p-inputtext,\n.p-inputgroup .p-inputwrapper,\n.p-fluid .p-inputgroup .p-input {\n flex: 1 1 auto;\n width: 1%;\n}\n\n/* Floating Label */\n.p-float-label {\n display: block;\n position: relative;\n}\n\n.p-float-label label {\n position: absolute;\n pointer-events: none;\n top: 50%;\n margin-top: -0.5rem;\n transition-property: all;\n transition-timing-function: ease;\n line-height: 1;\n}\n\n.p-float-label textarea ~ label,\n.p-float-label .p-mention ~ label {\n top: 1rem;\n}\n\n.p-float-label input:focus ~ label,\n.p-float-label input:-webkit-autofill ~ label,\n.p-float-label input.p-filled ~ label,\n.p-float-label textarea:focus ~ label,\n.p-float-label textarea.p-filled ~ label,\n.p-float-label .p-inputwrapper-focus ~ label,\n.p-float-label .p-inputwrapper-filled ~ label,\n.p-float-label .p-tooltip-target-wrapper ~ label {\n top: -0.75rem;\n font-size: 12px;\n}\n\n.p-float-label .p-placeholder,\n.p-float-label input::placeholder,\n.p-float-label .p-inputtext::placeholder {\n opacity: 0;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-float-label .p-focus .p-placeholder,\n.p-float-label input:focus::placeholder,\n.p-float-label .p-inputtext:focus::placeholder {\n opacity: 1;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-input-icon-left,\n.p-input-icon-right {\n position: relative;\n display: inline-block;\n}\n\n.p-input-icon-left > i,\n.p-input-icon-right > i,\n.p-input-icon-left > svg,\n.p-input-icon-right > svg,\n.p-input-icon-left > .p-input-prefix,\n.p-input-icon-right > .p-input-suffix {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n}\n\n.p-fluid .p-input-icon-left,\n.p-fluid .p-input-icon-right {\n display: block;\n width: 100%;\n}\n";
|
|
4738
4759
|
var iconStyles = "\n.p-icon {\n display: inline-block;\n}\n\n.p-icon-spin {\n -webkit-animation: p-icon-spin 2s infinite linear;\n animation: p-icon-spin 2s infinite linear;\n}\n\nsvg.p-icon {\n pointer-events: auto;\n}\n\nsvg.p-icon g,\n.p-disabled svg.p-icon {\n pointer-events: none;\n}\n\n@-webkit-keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n";
|
|
4739
|
-
var commonStyle = "\n@layer primereact {\n .p-component, .p-component * {\n box-sizing: border-box;\n }\n\n .p-hidden {\n display: none;\n }\n\n .p-hidden-space {\n visibility: hidden;\n }\n\n .p-reset {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n text-decoration: none;\n font-size: 100%;\n list-style: none;\n }\n\n .p-disabled, .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-component-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-unselectable-text {\n user-select: none;\n }\n\n .p-scrollbar-measure {\n width: 100px;\n height: 100px;\n overflow: scroll;\n position: absolute;\n top: -9999px;\n }\n\n @-webkit-keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n @keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n\n .p-link {\n text-align: left;\n background-color: transparent;\n margin: 0;\n padding: 0;\n border: none;\n cursor: pointer;\n user-select: none;\n }\n\n .p-link:disabled {\n cursor: default;\n }\n\n /* Non react overlay animations */\n .p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n }\n\n .p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity .1s linear;\n }\n\n /* React based overlay animations */\n .p-connected-overlay-enter {\n opacity: 0;\n transform: scaleY(0.8);\n }\n\n .p-connected-overlay-enter-active {\n opacity: 1;\n transform: scaleY(1);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-enter-done {\n transform: none;\n }\n\n .p-connected-overlay-exit {\n opacity: 1;\n }\n\n .p-connected-overlay-exit-active {\n opacity: 0;\n transition: opacity .1s linear;\n }\n\n /* Toggleable Content */\n .p-toggleable-content-enter {\n max-height: 0;\n }\n\n .p-toggleable-content-enter-active {\n overflow: hidden;\n max-height: 1000px;\n transition: max-height 1s ease-in-out;\n }\n\n .p-toggleable-content-enter-done {\n transform: none;\n }\n\n .p-toggleable-content-exit {\n max-height: 1000px;\n }\n\n .p-toggleable-content-exit-active {\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n }\n\n
|
|
4760
|
+
var commonStyle = "\n@layer primereact {\n .p-component, .p-component * {\n box-sizing: border-box;\n }\n\n .p-hidden {\n display: none;\n }\n\n .p-hidden-space {\n visibility: hidden;\n }\n\n .p-reset {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n text-decoration: none;\n font-size: 100%;\n list-style: none;\n }\n\n .p-disabled, .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-component-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-unselectable-text {\n user-select: none;\n }\n\n .p-scrollbar-measure {\n width: 100px;\n height: 100px;\n overflow: scroll;\n position: absolute;\n top: -9999px;\n }\n\n @-webkit-keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n @keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n\n .p-link {\n text-align: left;\n background-color: transparent;\n margin: 0;\n padding: 0;\n border: none;\n cursor: pointer;\n user-select: none;\n }\n\n .p-link:disabled {\n cursor: default;\n }\n\n /* Non react overlay animations */\n .p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n }\n\n .p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity .1s linear;\n }\n\n /* React based overlay animations */\n .p-connected-overlay-enter {\n opacity: 0;\n transform: scaleY(0.8);\n }\n\n .p-connected-overlay-enter-active {\n opacity: 1;\n transform: scaleY(1);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-enter-done {\n transform: none;\n }\n\n .p-connected-overlay-exit {\n opacity: 1;\n }\n\n .p-connected-overlay-exit-active {\n opacity: 0;\n transition: opacity .1s linear;\n }\n\n /* Toggleable Content */\n .p-toggleable-content-enter {\n max-height: 0;\n }\n\n .p-toggleable-content-enter-active {\n overflow: hidden;\n max-height: 1000px;\n transition: max-height 1s ease-in-out;\n }\n\n .p-toggleable-content-enter-done {\n transform: none;\n }\n\n .p-toggleable-content-exit {\n max-height: 1000px;\n }\n\n .p-toggleable-content-exit-active {\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n }\n\n /* @todo Refactor */\n .p-menu .p-menuitem-link {\n cursor: pointer;\n display: flex;\n align-items: center;\n text-decoration: none;\n overflow: hidden;\n position: relative;\n }\n\n ".concat(buttonStyles, "\n ").concat(inputTextStyles, "\n ").concat(iconStyles, "\n}\n");
|
|
4740
4761
|
var ComponentBase = {
|
|
4741
4762
|
cProps: undefined,
|
|
4742
4763
|
cParams: undefined,
|
|
@@ -5111,7 +5132,7 @@ var IconBase = {
|
|
|
5111
5132
|
}, props.className),
|
|
5112
5133
|
role: !isLabelEmpty ? 'img' : undefined,
|
|
5113
5134
|
'aria-label': !isLabelEmpty ? props.label : undefined,
|
|
5114
|
-
'aria-hidden': isLabelEmpty
|
|
5135
|
+
'aria-hidden': props.label ? isLabelEmpty : undefined
|
|
5115
5136
|
};
|
|
5116
5137
|
return ObjectUtils.getMergedProps(otherProps, ptiProps);
|
|
5117
5138
|
}
|
|
@@ -5854,6 +5875,8 @@ var Tooltip = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
|
|
|
5854
5875
|
_React$useState8 = _slicedToArray(_React$useState7, 2),
|
|
5855
5876
|
multipleFocusEvents = _React$useState8[0],
|
|
5856
5877
|
setMultipleFocusEvents = _React$useState8[1];
|
|
5878
|
+
var isCloseOnEscape = visibleState && props.closeOnEscape;
|
|
5879
|
+
var overlayDisplayOrder = useDisplayOrder('tooltip', isCloseOnEscape);
|
|
5857
5880
|
var metaData = {
|
|
5858
5881
|
props: props,
|
|
5859
5882
|
state: {
|
|
@@ -5880,8 +5903,8 @@ var Tooltip = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
|
|
|
5880
5903
|
callback: function callback() {
|
|
5881
5904
|
hide();
|
|
5882
5905
|
},
|
|
5883
|
-
when:
|
|
5884
|
-
priority: [ESC_KEY_HANDLING_PRIORITIES.TOOLTIP,
|
|
5906
|
+
when: isCloseOnEscape,
|
|
5907
|
+
priority: [ESC_KEY_HANDLING_PRIORITIES.TOOLTIP, overlayDisplayOrder]
|
|
5885
5908
|
});
|
|
5886
5909
|
var elementRef = React__namespace.useRef(null);
|
|
5887
5910
|
var textRef = React__namespace.useRef(null);
|
|
@@ -7003,6 +7026,7 @@ var VirtualScroller = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__nam
|
|
|
7003
7026
|
var defaultContentHeight = React__namespace.useRef(null);
|
|
7004
7027
|
var isItemRangeChanged = React__namespace.useRef(false);
|
|
7005
7028
|
var lazyLoadState = React__namespace.useRef(null);
|
|
7029
|
+
var viewInitialized = React__namespace.useRef(false);
|
|
7006
7030
|
var _useResizeListener = useResizeListener({
|
|
7007
7031
|
listener: function listener(event) {
|
|
7008
7032
|
return onResize();
|
|
@@ -7542,14 +7566,24 @@ var VirtualScroller = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__nam
|
|
|
7542
7566
|
}
|
|
7543
7567
|
};
|
|
7544
7568
|
var init = function init() {
|
|
7545
|
-
if (!props.disabled) {
|
|
7569
|
+
if (!props.disabled && isVisible(elementRef.current)) {
|
|
7546
7570
|
setSize();
|
|
7547
7571
|
calculateOptions();
|
|
7548
7572
|
setSpacerSize();
|
|
7549
7573
|
}
|
|
7550
7574
|
};
|
|
7551
|
-
|
|
7552
|
-
|
|
7575
|
+
var isVisible = function isVisible() {
|
|
7576
|
+
if (DomHandler.isVisible(elementRef.current)) {
|
|
7577
|
+
var rect = elementRef.current.getBoundingClientRect();
|
|
7578
|
+
return rect.width > 0 && rect.height > 0;
|
|
7579
|
+
}
|
|
7580
|
+
return false;
|
|
7581
|
+
};
|
|
7582
|
+
React__namespace.useEffect(function () {
|
|
7583
|
+
if (!viewInitialized.current && isVisible(elementRef.current)) {
|
|
7584
|
+
viewInit();
|
|
7585
|
+
viewInitialized.current = true;
|
|
7586
|
+
}
|
|
7553
7587
|
});
|
|
7554
7588
|
useUpdateEffect(function () {
|
|
7555
7589
|
init();
|
|
@@ -8156,11 +8190,11 @@ var AutoComplete = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namesp
|
|
|
8156
8190
|
selectedItem.current = ObjectUtils.isNotEmpty(value) ? value : null;
|
|
8157
8191
|
};
|
|
8158
8192
|
var formatValue = function formatValue(value) {
|
|
8159
|
-
var useTemplate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
8160
8193
|
if (ObjectUtils.isEmpty(value)) return '';
|
|
8161
8194
|
if (typeof value === 'string') return value;
|
|
8162
|
-
|
|
8163
|
-
|
|
8195
|
+
var valueFromTemplate = ObjectUtils.getJSXElement(props.selectedItemTemplate, value);
|
|
8196
|
+
if (typeof valueFromTemplate === 'string') {
|
|
8197
|
+
return valueFromTemplate;
|
|
8164
8198
|
}
|
|
8165
8199
|
if (props.field) {
|
|
8166
8200
|
var _ObjectUtils$resolveF;
|
|
@@ -8543,7 +8577,7 @@ var AutoComplete = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namesp
|
|
|
8543
8577
|
}, ptm('tokenLabel'));
|
|
8544
8578
|
return /*#__PURE__*/React__namespace.createElement("li", _extends({
|
|
8545
8579
|
key: key
|
|
8546
|
-
}, tokenProps), /*#__PURE__*/React__namespace.createElement("span", tokenLabelProps, formatValue(val
|
|
8580
|
+
}, tokenProps), /*#__PURE__*/React__namespace.createElement("span", tokenLabelProps, formatValue(val)), removeTokenIcon);
|
|
8547
8581
|
});
|
|
8548
8582
|
}
|
|
8549
8583
|
selectedItem.current = null;
|
|
@@ -9546,9 +9580,9 @@ CalendarPanel.displayName = 'CalendarPanel';
|
|
|
9546
9580
|
|
|
9547
9581
|
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; }
|
|
9548
9582
|
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; }
|
|
9549
|
-
function _createForOfIteratorHelper$e(
|
|
9550
|
-
function _unsupportedIterableToArray$e(
|
|
9551
|
-
function _arrayLikeToArray$e(
|
|
9583
|
+
function _createForOfIteratorHelper$e(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$e(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
9584
|
+
function _unsupportedIterableToArray$e(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$e(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$e(o, minLen); }
|
|
9585
|
+
function _arrayLikeToArray$e(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
9552
9586
|
var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
9553
9587
|
var mergeProps = useMergeProps();
|
|
9554
9588
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -9990,7 +10024,8 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
9990
10024
|
setYearOptions(_yearOptions);
|
|
9991
10025
|
};
|
|
9992
10026
|
var decrementYear = function decrementYear() {
|
|
9993
|
-
var
|
|
10027
|
+
var year = getViewYear();
|
|
10028
|
+
var _currentYear = year - 1;
|
|
9994
10029
|
setCurrentYear(_currentYear);
|
|
9995
10030
|
if (props.yearNavigator && _currentYear < yearOptions[0]) {
|
|
9996
10031
|
var difference = yearOptions[yearOptions.length - 1] - yearOptions[0];
|
|
@@ -9999,7 +10034,8 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
9999
10034
|
return _currentYear;
|
|
10000
10035
|
};
|
|
10001
10036
|
var incrementYear = function incrementYear() {
|
|
10002
|
-
var
|
|
10037
|
+
var year = getViewYear();
|
|
10038
|
+
var _currentYear = year + 1;
|
|
10003
10039
|
setCurrentYear(_currentYear);
|
|
10004
10040
|
if (props.yearNavigator && _currentYear.current > yearOptions[yearOptions.length - 1]) {
|
|
10005
10041
|
var difference = yearOptions[yearOptions.length - 1] - yearOptions[0];
|
|
@@ -11092,8 +11128,9 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
11092
11128
|
};
|
|
11093
11129
|
var onMonthSelect = function onMonthSelect(event, month) {
|
|
11094
11130
|
if (props.view === 'month') {
|
|
11131
|
+
var year = getViewYear();
|
|
11095
11132
|
onDateSelect(event, {
|
|
11096
|
-
year:
|
|
11133
|
+
year: year,
|
|
11097
11134
|
month: month,
|
|
11098
11135
|
day: 1,
|
|
11099
11136
|
selectable: true
|
|
@@ -11119,6 +11156,9 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
11119
11156
|
});
|
|
11120
11157
|
}
|
|
11121
11158
|
};
|
|
11159
|
+
var getViewYear = function getViewYear() {
|
|
11160
|
+
return props.yearNavigator ? getViewDate().getFullYear() : currentYear;
|
|
11161
|
+
};
|
|
11122
11162
|
var onYearSelect = function onYearSelect(event, year) {
|
|
11123
11163
|
if (props.view === 'year') {
|
|
11124
11164
|
onDateSelect(event, {
|
|
@@ -14417,9 +14457,9 @@ var CascadeSelectSub = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
14417
14457
|
return element;
|
|
14418
14458
|
});
|
|
14419
14459
|
|
|
14420
|
-
function _createForOfIteratorHelper$d(
|
|
14421
|
-
function _unsupportedIterableToArray$d(
|
|
14422
|
-
function _arrayLikeToArray$d(
|
|
14460
|
+
function _createForOfIteratorHelper$d(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$d(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
14461
|
+
function _unsupportedIterableToArray$d(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$d(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$d(o, minLen); }
|
|
14462
|
+
function _arrayLikeToArray$d(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14423
14463
|
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; }
|
|
14424
14464
|
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; }
|
|
14425
14465
|
var CascadeSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -15110,15 +15150,15 @@ var Checkbox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
15110
15150
|
DomHandler.focus(inputRef.current);
|
|
15111
15151
|
}
|
|
15112
15152
|
};
|
|
15113
|
-
var _onFocus = function onFocus() {
|
|
15153
|
+
var _onFocus = function onFocus(event) {
|
|
15114
15154
|
var _props$onFocus;
|
|
15115
15155
|
setFocusedState(true);
|
|
15116
|
-
props === null || props === void 0 || (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props);
|
|
15156
|
+
props === null || props === void 0 || (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props, event);
|
|
15117
15157
|
};
|
|
15118
|
-
var _onBlur = function onBlur() {
|
|
15158
|
+
var _onBlur = function onBlur(event) {
|
|
15119
15159
|
var _props$onBlur;
|
|
15120
15160
|
setFocusedState(false);
|
|
15121
|
-
props === null || props === void 0 || (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props);
|
|
15161
|
+
props === null || props === void 0 || (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props, event);
|
|
15122
15162
|
};
|
|
15123
15163
|
React__namespace.useImperativeHandle(ref, function () {
|
|
15124
15164
|
return {
|
|
@@ -15169,10 +15209,10 @@ var Checkbox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
15169
15209
|
name: props.name,
|
|
15170
15210
|
tabIndex: props.tabIndex,
|
|
15171
15211
|
onFocus: function onFocus(e) {
|
|
15172
|
-
return _onFocus();
|
|
15212
|
+
return _onFocus(e);
|
|
15173
15213
|
},
|
|
15174
15214
|
onBlur: function onBlur(e) {
|
|
15175
|
-
return _onBlur();
|
|
15215
|
+
return _onBlur(e);
|
|
15176
15216
|
},
|
|
15177
15217
|
onChange: function onChange(e) {
|
|
15178
15218
|
return _onChange(e);
|
|
@@ -15302,7 +15342,9 @@ var Chip = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forw
|
|
|
15302
15342
|
}, ptm('image'));
|
|
15303
15343
|
content.push(/*#__PURE__*/React__namespace.createElement("img", _extends({
|
|
15304
15344
|
alt: props.imageAlt
|
|
15305
|
-
}, imageProps
|
|
15345
|
+
}, imageProps, {
|
|
15346
|
+
key: UniqueComponentId('image')
|
|
15347
|
+
})));
|
|
15306
15348
|
} else if (props.icon) {
|
|
15307
15349
|
var chipIconProps = mergeProps({
|
|
15308
15350
|
className: cx('icon')
|
|
@@ -15316,7 +15358,7 @@ var Chip = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forw
|
|
|
15316
15358
|
className: cx('label')
|
|
15317
15359
|
}, ptm('label'));
|
|
15318
15360
|
content.push(/*#__PURE__*/React__namespace.createElement("span", _extends({}, labelProps, {
|
|
15319
|
-
key:
|
|
15361
|
+
key: UniqueComponentId('label')
|
|
15320
15362
|
}), props.label));
|
|
15321
15363
|
}
|
|
15322
15364
|
if (props.removable) {
|
|
@@ -15334,7 +15376,9 @@ var Chip = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forw
|
|
|
15334
15376
|
className: classNames(props.className, cx('root')),
|
|
15335
15377
|
'aria-label': props.label
|
|
15336
15378
|
}, ChipBase.getOtherProps(props), ptm('root'));
|
|
15337
|
-
return /*#__PURE__*/React__namespace.createElement("div", rootProps,
|
|
15379
|
+
return /*#__PURE__*/React__namespace.createElement("div", _extends({}, rootProps, {
|
|
15380
|
+
key: UniqueComponentId('chip')
|
|
15381
|
+
}), content);
|
|
15338
15382
|
};
|
|
15339
15383
|
React__namespace.useImperativeHandle(ref, function () {
|
|
15340
15384
|
return {
|
|
@@ -15703,7 +15747,9 @@ var Chips = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.for
|
|
|
15703
15747
|
},
|
|
15704
15748
|
'aria-hidden': 'true'
|
|
15705
15749
|
}, ptm('removeTokenIcon'));
|
|
15706
|
-
var icon = props.removeIcon || /*#__PURE__*/React__namespace.createElement(TimesCircleIcon, iconProps
|
|
15750
|
+
var icon = props.removeIcon || /*#__PURE__*/React__namespace.createElement(TimesCircleIcon, _extends({}, iconProps, {
|
|
15751
|
+
key: "".concat(index, "_icon")
|
|
15752
|
+
}));
|
|
15707
15753
|
var removeIcon = IconUtils.getJSXIcon(icon, _objectSpread$1D({}, iconProps), {
|
|
15708
15754
|
props: props
|
|
15709
15755
|
});
|
|
@@ -15716,7 +15762,9 @@ var Chips = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.for
|
|
|
15716
15762
|
var labelProps = mergeProps({
|
|
15717
15763
|
className: cx('label')
|
|
15718
15764
|
}, ptm('label'));
|
|
15719
|
-
var label = /*#__PURE__*/React__namespace.createElement("span", labelProps,
|
|
15765
|
+
var label = /*#__PURE__*/React__namespace.createElement("span", _extends({}, labelProps, {
|
|
15766
|
+
key: "".concat(index, "_").concat(value, "_span")
|
|
15767
|
+
}), content);
|
|
15720
15768
|
var icon = createRemoveIcon(value, index);
|
|
15721
15769
|
var tokenProps = mergeProps({
|
|
15722
15770
|
id: props.inputId + '_chips_item_' + index,
|
|
@@ -15814,7 +15862,9 @@ var Chips = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.for
|
|
|
15814
15862
|
})),
|
|
15815
15863
|
style: props.style
|
|
15816
15864
|
}, ptm('root'));
|
|
15817
|
-
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div",
|
|
15865
|
+
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", _extends({}, rootProps, {
|
|
15866
|
+
key: "chips"
|
|
15867
|
+
}), list), hasTooltip && /*#__PURE__*/React__namespace.createElement(Tooltip, _extends({
|
|
15818
15868
|
target: inputRef,
|
|
15819
15869
|
content: props.tooltip,
|
|
15820
15870
|
pt: ptm('tooltip')
|
|
@@ -16609,9 +16659,9 @@ var FocusTrap = /*#__PURE__*/React__default["default"].memo(/*#__PURE__*/React__
|
|
|
16609
16659
|
var _ref2 = props || {},
|
|
16610
16660
|
_ref2$tabIndex = _ref2.tabIndex,
|
|
16611
16661
|
tabIndex = _ref2$tabIndex === void 0 ? 0 : _ref2$tabIndex;
|
|
16612
|
-
var createFocusableElement = function createFocusableElement(onFocus, section) {
|
|
16662
|
+
var createFocusableElement = function createFocusableElement(inRef, onFocus, section) {
|
|
16613
16663
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16614
|
-
ref:
|
|
16664
|
+
ref: inRef,
|
|
16615
16665
|
className: 'p-hidden-accessible p-hidden-focusable',
|
|
16616
16666
|
tabIndex: tabIndex,
|
|
16617
16667
|
role: 'presentation',
|
|
@@ -16622,11 +16672,11 @@ var FocusTrap = /*#__PURE__*/React__default["default"].memo(/*#__PURE__*/React__
|
|
|
16622
16672
|
"data-pc-section": section
|
|
16623
16673
|
});
|
|
16624
16674
|
};
|
|
16625
|
-
var firstFocusableElement = createFocusableElement(onFirstHiddenElementFocus, 'firstfocusableelement');
|
|
16626
|
-
var lastFocusableElement = createFocusableElement(onLastHiddenElementFocus, 'lastfocusableelement');
|
|
16627
|
-
if (
|
|
16628
|
-
|
|
16629
|
-
|
|
16675
|
+
var firstFocusableElement = createFocusableElement(firstFocusableElementRef, onFirstHiddenElementFocus, 'firstfocusableelement');
|
|
16676
|
+
var lastFocusableElement = createFocusableElement(lastFocusableElementRef, onLastHiddenElementFocus, 'lastfocusableelement');
|
|
16677
|
+
if (firstFocusableElementRef.current && lastFocusableElementRef.current) {
|
|
16678
|
+
firstFocusableElementRef.current.$_pfocustrap_lasthiddenfocusableelement = lastFocusableElementRef.current;
|
|
16679
|
+
lastFocusableElementRef.current.$_pfocustrap_firsthiddenfocusableelement = firstFocusableElementRef.current;
|
|
16630
16680
|
}
|
|
16631
16681
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, firstFocusableElement, props.children, lastFocusableElement);
|
|
16632
16682
|
};
|
|
@@ -17569,12 +17619,14 @@ var ConfirmDialog = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
|
|
|
17569
17619
|
};
|
|
17570
17620
|
var hide = function hide() {
|
|
17571
17621
|
var result = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'cancel';
|
|
17572
|
-
|
|
17573
|
-
|
|
17574
|
-
|
|
17575
|
-
|
|
17576
|
-
|
|
17577
|
-
|
|
17622
|
+
if (visibleState) {
|
|
17623
|
+
setVisibleState(false);
|
|
17624
|
+
callbackFromProp('onHide', {
|
|
17625
|
+
result: result
|
|
17626
|
+
});
|
|
17627
|
+
DomHandler.focus(focusElementOnHide.current);
|
|
17628
|
+
focusElementOnHide.current = null;
|
|
17629
|
+
}
|
|
17578
17630
|
};
|
|
17579
17631
|
var confirm = function confirm(updatedProps) {
|
|
17580
17632
|
if (updatedProps.tagKey === props.tagKey) {
|
|
@@ -21444,7 +21496,7 @@ var classes$U = {
|
|
|
21444
21496
|
'p-focus': focusedState,
|
|
21445
21497
|
'p-variant-filled': props.variant ? props.variant === 'filled' : context && context.inputStyle === 'filled',
|
|
21446
21498
|
'p-dropdown-clearable': props.showClear && !props.disabled,
|
|
21447
|
-
'p-inputwrapper-filled':
|
|
21499
|
+
'p-inputwrapper-filled': props.value !== undefined,
|
|
21448
21500
|
'p-inputwrapper-focus': focusedState || overlayVisibleState
|
|
21449
21501
|
});
|
|
21450
21502
|
},
|
|
@@ -21537,17 +21589,17 @@ var DropdownBase = ComponentBase.extend({
|
|
|
21537
21589
|
ariaLabel: null,
|
|
21538
21590
|
ariaLabelledBy: null,
|
|
21539
21591
|
autoFocus: false,
|
|
21592
|
+
autoOptionFocus: false,
|
|
21593
|
+
checkmark: false,
|
|
21540
21594
|
children: undefined,
|
|
21541
21595
|
className: null,
|
|
21542
21596
|
clearIcon: null,
|
|
21597
|
+
collapseIcon: null,
|
|
21543
21598
|
dataKey: null,
|
|
21544
21599
|
disabled: false,
|
|
21545
21600
|
dropdownIcon: null,
|
|
21546
|
-
collapseIcon: null,
|
|
21547
21601
|
editable: false,
|
|
21548
21602
|
emptyFilterMessage: null,
|
|
21549
|
-
highlightOnSelect: true,
|
|
21550
|
-
checkmark: false,
|
|
21551
21603
|
emptyMessage: null,
|
|
21552
21604
|
filter: false,
|
|
21553
21605
|
filterBy: null,
|
|
@@ -21559,11 +21611,12 @@ var DropdownBase = ComponentBase.extend({
|
|
|
21559
21611
|
filterPlaceholder: null,
|
|
21560
21612
|
filterTemplate: null,
|
|
21561
21613
|
focusInputRef: null,
|
|
21614
|
+
focusOnHover: true,
|
|
21615
|
+
highlightOnSelect: true,
|
|
21562
21616
|
id: null,
|
|
21563
21617
|
inputId: null,
|
|
21564
21618
|
inputRef: null,
|
|
21565
21619
|
invalid: false,
|
|
21566
|
-
variant: null,
|
|
21567
21620
|
itemTemplate: null,
|
|
21568
21621
|
loading: false,
|
|
21569
21622
|
loadingIcon: null,
|
|
@@ -21579,14 +21632,11 @@ var DropdownBase = ComponentBase.extend({
|
|
|
21579
21632
|
onShow: null,
|
|
21580
21633
|
optionDisabled: null,
|
|
21581
21634
|
optionGroupChildren: 'items',
|
|
21582
|
-
selectOnFocus: false,
|
|
21583
|
-
focusOnHover: true,
|
|
21584
|
-
autoOptionFocus: false,
|
|
21585
21635
|
optionGroupLabel: null,
|
|
21586
21636
|
optionGroupTemplate: null,
|
|
21587
21637
|
optionLabel: null,
|
|
21588
|
-
optionValue: null,
|
|
21589
21638
|
options: null,
|
|
21639
|
+
optionValue: null,
|
|
21590
21640
|
panelClassName: null,
|
|
21591
21641
|
panelFooterTemplate: null,
|
|
21592
21642
|
panelStyle: null,
|
|
@@ -21594,6 +21644,7 @@ var DropdownBase = ComponentBase.extend({
|
|
|
21594
21644
|
required: false,
|
|
21595
21645
|
resetFilterOnHide: false,
|
|
21596
21646
|
scrollHeight: '200px',
|
|
21647
|
+
selectOnFocus: false,
|
|
21597
21648
|
showClear: false,
|
|
21598
21649
|
showFilterClear: false,
|
|
21599
21650
|
showOnFocus: false,
|
|
@@ -21602,8 +21653,10 @@ var DropdownBase = ComponentBase.extend({
|
|
|
21602
21653
|
tooltip: null,
|
|
21603
21654
|
tooltipOptions: null,
|
|
21604
21655
|
transitionOptions: null,
|
|
21656
|
+
useOptionAsValue: false,
|
|
21605
21657
|
value: null,
|
|
21606
21658
|
valueTemplate: null,
|
|
21659
|
+
variant: null,
|
|
21607
21660
|
virtualScrollerOptions: null
|
|
21608
21661
|
},
|
|
21609
21662
|
css: {
|
|
@@ -22015,9 +22068,9 @@ var DropdownPanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
|
|
|
22015
22068
|
}));
|
|
22016
22069
|
DropdownPanel.displayName = 'DropdownPanel';
|
|
22017
22070
|
|
|
22018
|
-
function _createForOfIteratorHelper$c(
|
|
22019
|
-
function _unsupportedIterableToArray$c(
|
|
22020
|
-
function _arrayLikeToArray$c(
|
|
22071
|
+
function _createForOfIteratorHelper$c(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$c(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
22072
|
+
function _unsupportedIterableToArray$c(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$c(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$c(o, minLen); }
|
|
22073
|
+
function _arrayLikeToArray$c(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
22021
22074
|
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; }
|
|
22022
22075
|
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; }
|
|
22023
22076
|
var Dropdown = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -22477,13 +22530,22 @@ var Dropdown = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
22477
22530
|
!overlayVisibleState && show();
|
|
22478
22531
|
}
|
|
22479
22532
|
};
|
|
22533
|
+
var findInArray = function findInArray(visibleOptions, searchText) {
|
|
22534
|
+
if (!searchText || !(visibleOptions !== null && visibleOptions !== void 0 && visibleOptions.length)) return -1;
|
|
22535
|
+
var normalizedSearch = searchText.toLocaleLowerCase();
|
|
22536
|
+
var exactMatch = visibleOptions.findIndex(function (item) {
|
|
22537
|
+
return getOptionLabel(item).toLocaleLowerCase() === normalizedSearch;
|
|
22538
|
+
});
|
|
22539
|
+
if (exactMatch !== -1) return exactMatch;
|
|
22540
|
+
return visibleOptions.findIndex(function (item) {
|
|
22541
|
+
return getOptionLabel(item).toLocaleLowerCase().startsWith(normalizedSearch);
|
|
22542
|
+
});
|
|
22543
|
+
};
|
|
22480
22544
|
var onEditableInputChange = function onEditableInputChange(event) {
|
|
22481
22545
|
!overlayVisibleState && show();
|
|
22482
22546
|
var searchIndex = null;
|
|
22483
22547
|
if (event.target.value && visibleOptions) {
|
|
22484
|
-
searchIndex = visibleOptions.
|
|
22485
|
-
return getOptionLabel(item).toLocaleLowerCase().startsWith(event.target.value.toLocaleLowerCase());
|
|
22486
|
-
});
|
|
22548
|
+
searchIndex = findInArray(visibleOptions, event.target.value);
|
|
22487
22549
|
}
|
|
22488
22550
|
setFocusedOptionIndex(searchIndex);
|
|
22489
22551
|
if (props.onChange) {
|
|
@@ -23717,26 +23779,33 @@ var DataTableBase = ComponentBase.extend({
|
|
|
23717
23779
|
}
|
|
23718
23780
|
});
|
|
23719
23781
|
|
|
23720
|
-
function _objectWithoutPropertiesLoose(
|
|
23721
|
-
if (
|
|
23722
|
-
var
|
|
23723
|
-
|
|
23724
|
-
|
|
23725
|
-
|
|
23782
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
23783
|
+
if (source == null) return {};
|
|
23784
|
+
var target = {};
|
|
23785
|
+
var sourceKeys = Object.keys(source);
|
|
23786
|
+
var key, i;
|
|
23787
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
23788
|
+
key = sourceKeys[i];
|
|
23789
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
23790
|
+
target[key] = source[key];
|
|
23726
23791
|
}
|
|
23727
|
-
return
|
|
23792
|
+
return target;
|
|
23728
23793
|
}
|
|
23729
23794
|
|
|
23730
|
-
function _objectWithoutProperties(
|
|
23731
|
-
if (
|
|
23732
|
-
var
|
|
23733
|
-
|
|
23734
|
-
i = _objectWithoutPropertiesLoose(e, t);
|
|
23795
|
+
function _objectWithoutProperties(source, excluded) {
|
|
23796
|
+
if (source == null) return {};
|
|
23797
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
23798
|
+
var key, i;
|
|
23735
23799
|
if (Object.getOwnPropertySymbols) {
|
|
23736
|
-
var
|
|
23737
|
-
for (
|
|
23800
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
23801
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
23802
|
+
key = sourceSymbolKeys[i];
|
|
23803
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
23804
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
23805
|
+
target[key] = source[key];
|
|
23806
|
+
}
|
|
23738
23807
|
}
|
|
23739
|
-
return
|
|
23808
|
+
return target;
|
|
23740
23809
|
}
|
|
23741
23810
|
|
|
23742
23811
|
var BarsIcon = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -25744,10 +25813,10 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
25744
25813
|
return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
|
|
25745
25814
|
};
|
|
25746
25815
|
var selectRangeOnRow = function selectRangeOnRow(event, rowRangeStart, rowRangeEnd) {
|
|
25747
|
-
var value = props.tableProps.value;
|
|
25748
25816
|
var selection = [];
|
|
25749
25817
|
for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
|
|
25750
|
-
var
|
|
25818
|
+
var _props$value$i;
|
|
25819
|
+
var rangeRowData = (_props$value$i = props.value[i]) !== null && _props$value$i !== void 0 ? _props$value$i : props.tableProps.value[i];
|
|
25751
25820
|
if (!isSelectable({
|
|
25752
25821
|
data: rangeRowData,
|
|
25753
25822
|
index: i
|
|
@@ -27826,7 +27895,7 @@ var HeaderCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
27826
27895
|
});
|
|
27827
27896
|
};
|
|
27828
27897
|
var _onKeyDown = function onKeyDown(event) {
|
|
27829
|
-
if ((event.code == 'Enter' || event.code === 'NumpadEnter' || event.code == 'Space') && event.
|
|
27898
|
+
if ((event.code == 'Enter' || event.code === 'NumpadEnter' || event.code == 'Space') && event.target === elementRef.current && DomHandler.getAttribute(event.currentTarget, 'data-p-sortable-column') === true) {
|
|
27830
27899
|
_onClick(event);
|
|
27831
27900
|
event.preventDefault();
|
|
27832
27901
|
}
|
|
@@ -28319,9 +28388,9 @@ var TableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
28319
28388
|
});
|
|
28320
28389
|
TableHeader.displayName = 'TableHeader';
|
|
28321
28390
|
|
|
28322
|
-
function _createForOfIteratorHelper$b(
|
|
28323
|
-
function _unsupportedIterableToArray$b(
|
|
28324
|
-
function _arrayLikeToArray$b(
|
|
28391
|
+
function _createForOfIteratorHelper$b(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$b(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
28392
|
+
function _unsupportedIterableToArray$b(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$b(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$b(o, minLen); }
|
|
28393
|
+
function _arrayLikeToArray$b(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
28325
28394
|
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; }
|
|
28326
28395
|
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; }
|
|
28327
28396
|
var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -30280,9 +30349,9 @@ var DataViewLayoutOptionsBase = ComponentBase.extend({
|
|
|
30280
30349
|
}
|
|
30281
30350
|
});
|
|
30282
30351
|
|
|
30283
|
-
function _createForOfIteratorHelper$a(
|
|
30284
|
-
function _unsupportedIterableToArray$a(
|
|
30285
|
-
function _arrayLikeToArray$a(
|
|
30352
|
+
function _createForOfIteratorHelper$a(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$a(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
30353
|
+
function _unsupportedIterableToArray$a(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$a(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$a(o, minLen); }
|
|
30354
|
+
function _arrayLikeToArray$a(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
30286
30355
|
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; }
|
|
30287
30356
|
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; }
|
|
30288
30357
|
var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (inProps) {
|
|
@@ -31582,8 +31651,8 @@ var Fieldset = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
31582
31651
|
});
|
|
31583
31652
|
Fieldset.displayName = 'Fieldset';
|
|
31584
31653
|
|
|
31585
|
-
function _readOnlyError(
|
|
31586
|
-
throw new TypeError(
|
|
31654
|
+
function _readOnlyError(name) {
|
|
31655
|
+
throw new TypeError("\"" + name + "\" is read-only");
|
|
31587
31656
|
}
|
|
31588
31657
|
|
|
31589
31658
|
var UploadIcon = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -31886,7 +31955,7 @@ var Messages = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
31886
31955
|
};
|
|
31887
31956
|
var remove = function remove(messageInfo) {
|
|
31888
31957
|
// allow removal by ID or by message equality
|
|
31889
|
-
var removeMessage = messageInfo._pId ? messageInfo._pId : messageInfo.message || messageInfo;
|
|
31958
|
+
var removeMessage = ObjectUtils.isNotEmpty(messageInfo._pId) ? messageInfo._pId : messageInfo.message || messageInfo;
|
|
31890
31959
|
setMessagesState(function (prev) {
|
|
31891
31960
|
return prev.filter(function (msg) {
|
|
31892
31961
|
return msg._pId !== messageInfo._pId && !ObjectUtils.deepEquals(msg.message, removeMessage);
|
|
@@ -32208,9 +32277,9 @@ var FileUploadBase = ComponentBase.extend({
|
|
|
32208
32277
|
|
|
32209
32278
|
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; }
|
|
32210
32279
|
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; }
|
|
32211
|
-
function _createForOfIteratorHelper$9(
|
|
32212
|
-
function _unsupportedIterableToArray$9(
|
|
32213
|
-
function _arrayLikeToArray$9(
|
|
32280
|
+
function _createForOfIteratorHelper$9(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$9(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
32281
|
+
function _unsupportedIterableToArray$9(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$9(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$9(o, minLen); }
|
|
32282
|
+
function _arrayLikeToArray$9(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
32214
32283
|
var FileUpload = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
32215
32284
|
var mergeProps = useMergeProps();
|
|
32216
32285
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -35806,7 +35875,7 @@ var InputTextarea = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
|
|
|
35806
35875
|
};
|
|
35807
35876
|
var resize = function resize(initial) {
|
|
35808
35877
|
var inputEl = elementRef.current;
|
|
35809
|
-
if (inputEl &&
|
|
35878
|
+
if (inputEl && isVisible()) {
|
|
35810
35879
|
if (!cachedScrollHeight.current) {
|
|
35811
35880
|
cachedScrollHeight.current = inputEl.scrollHeight;
|
|
35812
35881
|
inputEl.style.overflow = 'hidden';
|
|
@@ -35824,6 +35893,13 @@ var InputTextarea = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
|
|
|
35824
35893
|
}
|
|
35825
35894
|
}
|
|
35826
35895
|
};
|
|
35896
|
+
var isVisible = function isVisible() {
|
|
35897
|
+
if (DomHandler.isVisible(elementRef.current)) {
|
|
35898
|
+
var rect = elementRef.current.getBoundingClientRect();
|
|
35899
|
+
return rect.width > 0 && rect.height > 0;
|
|
35900
|
+
}
|
|
35901
|
+
return false;
|
|
35902
|
+
};
|
|
35827
35903
|
React__namespace.useEffect(function () {
|
|
35828
35904
|
ObjectUtils.combinedRefs(elementRef, ref);
|
|
35829
35905
|
}, [elementRef, ref]);
|
|
@@ -35831,6 +35907,7 @@ var InputTextarea = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
|
|
|
35831
35907
|
if (props.autoResize) {
|
|
35832
35908
|
resize(true);
|
|
35833
35909
|
}
|
|
35910
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
35834
35911
|
}, [props.autoResize]);
|
|
35835
35912
|
var isFilled = React__namespace.useMemo(function () {
|
|
35836
35913
|
return ObjectUtils.isNotEmpty(props.value) || ObjectUtils.isNotEmpty(props.defaultValue);
|
|
@@ -36422,9 +36499,9 @@ ListBoxItem.displayName = 'ListBoxItem';
|
|
|
36422
36499
|
|
|
36423
36500
|
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; }
|
|
36424
36501
|
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; }
|
|
36425
|
-
function _createForOfIteratorHelper$8(
|
|
36426
|
-
function _unsupportedIterableToArray$8(
|
|
36427
|
-
function _arrayLikeToArray$8(
|
|
36502
|
+
function _createForOfIteratorHelper$8(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$8(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
36503
|
+
function _unsupportedIterableToArray$8(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$8(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$8(o, minLen); }
|
|
36504
|
+
function _arrayLikeToArray$8(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
36428
36505
|
var ListBox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
36429
36506
|
var mergeProps = useMergeProps();
|
|
36430
36507
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -39035,21 +39112,26 @@ var classes$z = {
|
|
|
39035
39112
|
});
|
|
39036
39113
|
},
|
|
39037
39114
|
menu: 'p-menu-list p-reset',
|
|
39038
|
-
content:
|
|
39039
|
-
action: function action(_ref2) {
|
|
39115
|
+
content: function content(_ref2) {
|
|
39040
39116
|
var item = _ref2.item;
|
|
39117
|
+
return classNames('p-menuitem-content', {
|
|
39118
|
+
'p-disabled': item.disabled
|
|
39119
|
+
});
|
|
39120
|
+
},
|
|
39121
|
+
action: function action(_ref3) {
|
|
39122
|
+
var item = _ref3.item;
|
|
39041
39123
|
return classNames('p-menuitem-link', {
|
|
39042
39124
|
'p-disabled': item.disabled
|
|
39043
39125
|
});
|
|
39044
39126
|
},
|
|
39045
|
-
menuitem: function menuitem(
|
|
39046
|
-
var focused =
|
|
39127
|
+
menuitem: function menuitem(_ref4) {
|
|
39128
|
+
var focused = _ref4.focused;
|
|
39047
39129
|
return classNames('p-menuitem', {
|
|
39048
39130
|
'p-focus': focused
|
|
39049
39131
|
});
|
|
39050
39132
|
},
|
|
39051
|
-
submenuHeader: function submenuHeader(
|
|
39052
|
-
var submenu =
|
|
39133
|
+
submenuHeader: function submenuHeader(_ref5) {
|
|
39134
|
+
var submenu = _ref5.submenu;
|
|
39053
39135
|
return classNames('p-submenu-header', {
|
|
39054
39136
|
'p-disabled': submenu.disabled
|
|
39055
39137
|
});
|
|
@@ -39060,12 +39142,12 @@ var classes$z = {
|
|
|
39060
39142
|
transition: 'p-connected-overlay'
|
|
39061
39143
|
};
|
|
39062
39144
|
var inlineStyles$b = {
|
|
39063
|
-
submenuHeader: function submenuHeader(
|
|
39064
|
-
var submenu =
|
|
39145
|
+
submenuHeader: function submenuHeader(_ref6) {
|
|
39146
|
+
var submenu = _ref6.submenu;
|
|
39065
39147
|
return submenu.style;
|
|
39066
39148
|
},
|
|
39067
|
-
menuitem: function menuitem(
|
|
39068
|
-
var item =
|
|
39149
|
+
menuitem: function menuitem(_ref7) {
|
|
39150
|
+
var item = _ref7.item;
|
|
39069
39151
|
return item.style;
|
|
39070
39152
|
}
|
|
39071
39153
|
};
|
|
@@ -39433,7 +39515,9 @@ var Menu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forw
|
|
|
39433
39515
|
onMouseMove: function onMouseMove(event) {
|
|
39434
39516
|
return onItemMouseMove(event, key);
|
|
39435
39517
|
},
|
|
39436
|
-
className: cx('content'
|
|
39518
|
+
className: cx('content', {
|
|
39519
|
+
item: item
|
|
39520
|
+
})
|
|
39437
39521
|
}, getMenuItemPTOptions('content', menuContext));
|
|
39438
39522
|
var actionProps = mergeProps({
|
|
39439
39523
|
href: item.url || '#',
|
|
@@ -41141,7 +41225,7 @@ var MultiSelectHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
41141
41225
|
var closeButtonProps = mergeProps({
|
|
41142
41226
|
type: 'button',
|
|
41143
41227
|
className: cx('closeButton'),
|
|
41144
|
-
'aria-label':
|
|
41228
|
+
'aria-label': ariaLabel('close'),
|
|
41145
41229
|
onClick: props.onClose
|
|
41146
41230
|
}, getPTOptions('closeButton'));
|
|
41147
41231
|
var closeElement = /*#__PURE__*/React__namespace.createElement("button", closeButtonProps, closeIcon, /*#__PURE__*/React__namespace.createElement(Ripple, null));
|
|
@@ -41528,9 +41612,9 @@ MultiSelectPanel.displayName = 'MultiSelectPanel';
|
|
|
41528
41612
|
|
|
41529
41613
|
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; }
|
|
41530
41614
|
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; }
|
|
41531
|
-
function _createForOfIteratorHelper$7(
|
|
41532
|
-
function _unsupportedIterableToArray$7(
|
|
41533
|
-
function _arrayLikeToArray$7(
|
|
41615
|
+
function _createForOfIteratorHelper$7(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$7(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
41616
|
+
function _unsupportedIterableToArray$7(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$7(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$7(o, minLen); }
|
|
41617
|
+
function _arrayLikeToArray$7(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
41534
41618
|
var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
41535
41619
|
var mergeProps = useMergeProps();
|
|
41536
41620
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -42815,7 +42899,7 @@ var MultiStateCheckbox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__
|
|
|
42815
42899
|
icon: icon
|
|
42816
42900
|
}, ariaProps), ptm('checkbox'));
|
|
42817
42901
|
var srOnlyAriaProps = mergeProps({
|
|
42818
|
-
className: 'p-
|
|
42902
|
+
className: 'p-hidden-accessible',
|
|
42819
42903
|
'aria-live': 'polite'
|
|
42820
42904
|
}, ptm('srOnlyAria'));
|
|
42821
42905
|
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", rootProps, /*#__PURE__*/React__namespace.createElement(Checkbox, checkboxProps), focusedState && /*#__PURE__*/React__namespace.createElement("span", srOnlyAriaProps, ariaValueLabel)), hasTooltip && /*#__PURE__*/React__namespace.createElement(Tooltip, _extends({
|
|
@@ -44312,14 +44396,13 @@ var OverlayPanel = /*#__PURE__*/React__namespace.forwardRef(function (inProps, r
|
|
|
44312
44396
|
var closeIcon = IconUtils.getJSXIcon(icon, _objectSpread$F({}, closeIconProps), {
|
|
44313
44397
|
props: props
|
|
44314
44398
|
});
|
|
44315
|
-
var ariaLabel = props.ariaCloseLabel || localeOption('close');
|
|
44316
44399
|
var closeButtonProps = mergeProps({
|
|
44317
44400
|
type: 'button',
|
|
44318
44401
|
className: cx('closeButton'),
|
|
44319
44402
|
onClick: function onClick(e) {
|
|
44320
44403
|
return onCloseClick(e);
|
|
44321
44404
|
},
|
|
44322
|
-
'aria-label': ariaLabel
|
|
44405
|
+
'aria-label': props.ariaCloseLabel || ariaLabel('close')
|
|
44323
44406
|
}, ptm('closeButton'));
|
|
44324
44407
|
if (props.showCloseIcon) {
|
|
44325
44408
|
return /*#__PURE__*/React__namespace.createElement("button", closeButtonProps, closeIcon, /*#__PURE__*/React__namespace.createElement(Ripple, null));
|
|
@@ -48051,6 +48134,7 @@ var ScrollPanel = /*#__PURE__*/React__namespace.forwardRef(function (inProps, re
|
|
|
48051
48134
|
}
|
|
48052
48135
|
};
|
|
48053
48136
|
var moveBar = function moveBar() {
|
|
48137
|
+
if (!contentRef.current) return;
|
|
48054
48138
|
// horizontal scroll
|
|
48055
48139
|
var totalWidth = contentRef.current.scrollWidth;
|
|
48056
48140
|
var ownWidth = contentRef.current.clientWidth;
|
|
@@ -48991,7 +49075,6 @@ var Sidebar = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
|
48991
49075
|
maskRef.current && ZIndexUtils.clear(maskRef.current);
|
|
48992
49076
|
});
|
|
48993
49077
|
var createCloseIcon = function createCloseIcon() {
|
|
48994
|
-
var ariaLabel = props.ariaCloseLabel || localeOption('close');
|
|
48995
49078
|
var closeButtonProps = mergeProps({
|
|
48996
49079
|
type: 'button',
|
|
48997
49080
|
ref: closeIconRef,
|
|
@@ -48999,7 +49082,7 @@ var Sidebar = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
|
48999
49082
|
onClick: function onClick(e) {
|
|
49000
49083
|
return onClose(e);
|
|
49001
49084
|
},
|
|
49002
|
-
'aria-label': ariaLabel
|
|
49085
|
+
'aria-label': props.ariaCloseLabel || ariaLabel('close')
|
|
49003
49086
|
}, ptm('closeButton'));
|
|
49004
49087
|
var closeIconProps = mergeProps({
|
|
49005
49088
|
className: cx('closeIcon')
|
|
@@ -54266,6 +54349,17 @@ var TabView = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
|
54266
54349
|
}
|
|
54267
54350
|
};
|
|
54268
54351
|
});
|
|
54352
|
+
var onCloseIconKeyDown = function onCloseIconKeyDown(event, index) {
|
|
54353
|
+
event.preventDefault();
|
|
54354
|
+
event.stopPropagation();
|
|
54355
|
+
switch (event.code) {
|
|
54356
|
+
case 'Space':
|
|
54357
|
+
case 'NumpadEnter':
|
|
54358
|
+
case 'Enter':
|
|
54359
|
+
onTabHeaderClose(event, index);
|
|
54360
|
+
break;
|
|
54361
|
+
}
|
|
54362
|
+
};
|
|
54269
54363
|
var createTabHeader = function createTabHeader(tab, index) {
|
|
54270
54364
|
var selected = isSelected(index);
|
|
54271
54365
|
var _TabPanelBase$getCPro = TabPanelBase.getCProps(tab),
|
|
@@ -54297,7 +54391,12 @@ var TabView = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
|
54297
54391
|
className: cx('tab.closeIcon'),
|
|
54298
54392
|
onClick: function onClick(e) {
|
|
54299
54393
|
return onTabHeaderClose(e, index);
|
|
54300
|
-
}
|
|
54394
|
+
},
|
|
54395
|
+
onKeyDown: function onKeyDown(e) {
|
|
54396
|
+
return onCloseIconKeyDown(e, index);
|
|
54397
|
+
},
|
|
54398
|
+
tabIndex: 0,
|
|
54399
|
+
'aria-label': ariaLabel('close') || 'Close'
|
|
54301
54400
|
}, getTabPT(tab, 'closeIcon', index));
|
|
54302
54401
|
var icon = closeIcon || /*#__PURE__*/React__namespace.createElement(TimesIcon, closeIconProps);
|
|
54303
54402
|
var closableIconElement = closable ? IconUtils.getJSXIcon(icon, _objectSpread$e({}, closeIconProps), {
|
|
@@ -55010,12 +55109,11 @@ var ToastMessage = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namesp
|
|
|
55010
55109
|
var closeIcon = IconUtils.getJSXIcon(icon, _objectSpread$c({}, buttonIconProps), {
|
|
55011
55110
|
props: props
|
|
55012
55111
|
});
|
|
55013
|
-
var ariaLabel = props.ariaCloseLabel || localeOption('close');
|
|
55014
55112
|
var closeButtonProps = mergeProps({
|
|
55015
55113
|
type: 'button',
|
|
55016
55114
|
className: cx('message.closeButton'),
|
|
55017
55115
|
onClick: onClose,
|
|
55018
|
-
'aria-label': ariaLabel
|
|
55116
|
+
'aria-label': props.ariaCloseLabel || ariaLabel('close')
|
|
55019
55117
|
}, getPTOptions('closeButton', parentParams), ptmo(pt, 'closeButton', _objectSpread$c(_objectSpread$c({}, params), {}, {
|
|
55020
55118
|
hostName: props.hostName
|
|
55021
55119
|
})));
|
|
@@ -55168,7 +55266,7 @@ var Toast = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.for
|
|
|
55168
55266
|
};
|
|
55169
55267
|
var remove = function remove(messageInfo) {
|
|
55170
55268
|
// allow removal by ID or by message equality
|
|
55171
|
-
var removeMessage = messageInfo._pId ? messageInfo._pId : messageInfo.message || messageInfo;
|
|
55269
|
+
var removeMessage = ObjectUtils.isNotEmpty(messageInfo._pId) ? messageInfo._pId : messageInfo.message || messageInfo;
|
|
55172
55270
|
setMessagesState(function (prev) {
|
|
55173
55271
|
return prev.filter(function (msg) {
|
|
55174
55272
|
return msg._pId !== messageInfo._pId && !ObjectUtils.deepEquals(msg.message, removeMessage);
|
|
@@ -55616,9 +55714,9 @@ var TreeBase = ComponentBase.extend({
|
|
|
55616
55714
|
}
|
|
55617
55715
|
});
|
|
55618
55716
|
|
|
55619
|
-
function _createForOfIteratorHelper$6(
|
|
55620
|
-
function _unsupportedIterableToArray$6(
|
|
55621
|
-
function _arrayLikeToArray$6(
|
|
55717
|
+
function _createForOfIteratorHelper$6(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$6(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
55718
|
+
function _unsupportedIterableToArray$6(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$6(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$6(o, minLen); }
|
|
55719
|
+
function _arrayLikeToArray$6(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
55622
55720
|
function ownKeys$a(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
55623
55721
|
function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$a(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
55624
55722
|
var UITreeNode = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
@@ -56425,9 +56523,9 @@ UITreeNode.displayName = 'UITreeNode';
|
|
|
56425
56523
|
|
|
56426
56524
|
function ownKeys$9(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
56427
56525
|
function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$9(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$9(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
56428
|
-
function _createForOfIteratorHelper$5(
|
|
56429
|
-
function _unsupportedIterableToArray$5(
|
|
56430
|
-
function _arrayLikeToArray$5(
|
|
56526
|
+
function _createForOfIteratorHelper$5(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$5(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
56527
|
+
function _unsupportedIterableToArray$5(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$5(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$5(o, minLen); }
|
|
56528
|
+
function _arrayLikeToArray$5(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
56431
56529
|
var Tree = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
56432
56530
|
var mergeProps = useMergeProps();
|
|
56433
56531
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -57168,9 +57266,9 @@ TreeSelectPanel.displayName = 'TreeSelectPanel';
|
|
|
57168
57266
|
|
|
57169
57267
|
function ownKeys$7(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
57170
57268
|
function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$7(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$7(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
57171
|
-
function _createForOfIteratorHelper$4(
|
|
57172
|
-
function _unsupportedIterableToArray$4(
|
|
57173
|
-
function _arrayLikeToArray$4(
|
|
57269
|
+
function _createForOfIteratorHelper$4(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$4(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
57270
|
+
function _unsupportedIterableToArray$4(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$4(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$4(o, minLen); }
|
|
57271
|
+
function _arrayLikeToArray$4(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
57174
57272
|
var TreeSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
57175
57273
|
var mergeProps = useMergeProps();
|
|
57176
57274
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -57838,7 +57936,7 @@ var TreeSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespac
|
|
|
57838
57936
|
return onHeaderElementKeyDown(event, true);
|
|
57839
57937
|
},
|
|
57840
57938
|
onClick: hide,
|
|
57841
|
-
'aria-label':
|
|
57939
|
+
'aria-label': ariaLabel('close')
|
|
57842
57940
|
}, ptm('closeButton'));
|
|
57843
57941
|
var headerProps = mergeProps({
|
|
57844
57942
|
className: cx('header')
|
|
@@ -57951,6 +58049,7 @@ var classes$1 = {
|
|
|
57951
58049
|
loadingWrapper: 'p-treetable-loading',
|
|
57952
58050
|
loadingOverlay: 'p-treetable-loading-overlay p-component-overlay',
|
|
57953
58051
|
header: 'p-treetable-header',
|
|
58052
|
+
checkIcon: 'p-checkbox-icon',
|
|
57954
58053
|
footer: 'p-treetable-footer',
|
|
57955
58054
|
resizeHelper: 'p-column-resizer-helper',
|
|
57956
58055
|
reorderIndicatorUp: 'p-treetable-reorder-indicator-up',
|
|
@@ -58126,7 +58225,8 @@ var TreeTableBase = ComponentBase.extend({
|
|
|
58126
58225
|
tableStyle: null,
|
|
58127
58226
|
totalRecords: null,
|
|
58128
58227
|
value: null,
|
|
58129
|
-
children: undefined
|
|
58228
|
+
children: undefined,
|
|
58229
|
+
togglerTemplate: null
|
|
58130
58230
|
},
|
|
58131
58231
|
css: {
|
|
58132
58232
|
classes: classes$1,
|
|
@@ -58378,15 +58478,13 @@ var TreeTableBodyCell = function TreeTableBodyCell(props) {
|
|
|
58378
58478
|
};
|
|
58379
58479
|
TreeTableBodyCell.displayName = 'TreeTableBodyCell';
|
|
58380
58480
|
|
|
58381
|
-
function _createForOfIteratorHelper$3(
|
|
58382
|
-
function _unsupportedIterableToArray$3(
|
|
58383
|
-
function _arrayLikeToArray$3(
|
|
58481
|
+
function _createForOfIteratorHelper$3(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$3(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
58482
|
+
function _unsupportedIterableToArray$3(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$3(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$3(o, minLen); }
|
|
58483
|
+
function _arrayLikeToArray$3(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
58384
58484
|
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; }
|
|
58385
58485
|
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; }
|
|
58386
58486
|
var TreeTableRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
58387
58487
|
var elementRef = React__namespace.useRef(null);
|
|
58388
|
-
React__namespace.useRef(null);
|
|
58389
|
-
React__namespace.useRef(null);
|
|
58390
58488
|
var nodeTouched = React__namespace.useRef(false);
|
|
58391
58489
|
var mergeProps = useMergeProps();
|
|
58392
58490
|
var expanded = props.expandedKeys ? props.expandedKeys[props.node.key] !== undefined : false;
|
|
@@ -58776,10 +58874,13 @@ var TreeTableRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
58776
58874
|
}
|
|
58777
58875
|
};
|
|
58778
58876
|
var isSelected = function isSelected() {
|
|
58779
|
-
if (props.selectionMode === 'single'
|
|
58780
|
-
return props.
|
|
58877
|
+
if (props.selectionMode === 'single') {
|
|
58878
|
+
return props.selectionKeys === props.node.key;
|
|
58879
|
+
} else if ((props.selectionMode === 'multiple' || props.selectionMode === 'checkbox') && props.selectionKeys) {
|
|
58880
|
+
return props.selectionKeys[props.node.key] !== undefined;
|
|
58881
|
+
} else {
|
|
58882
|
+
return false;
|
|
58781
58883
|
}
|
|
58782
|
-
return false;
|
|
58783
58884
|
};
|
|
58784
58885
|
var isChecked = function isChecked() {
|
|
58785
58886
|
return props.selectionKeys ? props.selectionKeys[props.node.key] && props.selectionKeys[props.node.key].checked : false;
|
|
@@ -58832,7 +58933,10 @@ var TreeTableRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
58832
58933
|
if (props.selectionMode === 'checkbox' && props.node.selectable !== false) {
|
|
58833
58934
|
var checked = isChecked();
|
|
58834
58935
|
var partialChecked = isPartialChecked();
|
|
58835
|
-
var
|
|
58936
|
+
var checkboxIconProps = mergeProps({
|
|
58937
|
+
className: cx('checkIcon')
|
|
58938
|
+
}, getColumnPTOptions('rowCheckbox.icon'));
|
|
58939
|
+
var icon = checked ? props.checkboxIcon || /*#__PURE__*/React__namespace.createElement(CheckIcon, checkboxIconProps) : partialChecked ? props.checkboxIcon || /*#__PURE__*/React__namespace.createElement(MinusIcon, null) : null;
|
|
58836
58940
|
var checkIcon = IconUtils.getJSXIcon(icon, {}, {
|
|
58837
58941
|
props: props,
|
|
58838
58942
|
checked: checked,
|
|
@@ -58966,9 +59070,9 @@ var TreeTableRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
58966
59070
|
});
|
|
58967
59071
|
TreeTableRow.displayName = 'TreeTableRow';
|
|
58968
59072
|
|
|
58969
|
-
function _createForOfIteratorHelper$2(
|
|
58970
|
-
function _unsupportedIterableToArray$2(
|
|
58971
|
-
function _arrayLikeToArray$2(
|
|
59073
|
+
function _createForOfIteratorHelper$2(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$2(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
59074
|
+
function _unsupportedIterableToArray$2(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$2(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen); }
|
|
59075
|
+
function _arrayLikeToArray$2(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
58972
59076
|
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; }
|
|
58973
59077
|
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; }
|
|
58974
59078
|
var TreeTableBody = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
@@ -59284,9 +59388,9 @@ var TreeTableFooter = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
59284
59388
|
});
|
|
59285
59389
|
TreeTableFooter.displayName = 'TreeTableFooter';
|
|
59286
59390
|
|
|
59287
|
-
function _createForOfIteratorHelper$1(
|
|
59288
|
-
function _unsupportedIterableToArray$1(
|
|
59289
|
-
function _arrayLikeToArray$1(
|
|
59391
|
+
function _createForOfIteratorHelper$1(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
59392
|
+
function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); }
|
|
59393
|
+
function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
59290
59394
|
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; }
|
|
59291
59395
|
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; }
|
|
59292
59396
|
var TreeTableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
@@ -59842,9 +59946,9 @@ TreeTableScrollableView.displayName = 'TreeTableScrollableView';
|
|
|
59842
59946
|
|
|
59843
59947
|
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; }
|
|
59844
59948
|
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; }
|
|
59845
|
-
function _createForOfIteratorHelper(
|
|
59846
|
-
function _unsupportedIterableToArray(
|
|
59847
|
-
function _arrayLikeToArray(
|
|
59949
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
59950
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
59951
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
59848
59952
|
var TreeTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
59849
59953
|
var mergeProps = useMergeProps();
|
|
59850
59954
|
var context = React__namespace.useContext(PrimeReactContext);
|
|
@@ -60288,29 +60392,31 @@ var TreeTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
60288
60392
|
});
|
|
60289
60393
|
};
|
|
60290
60394
|
var onFilter = function onFilter(event) {
|
|
60291
|
-
|
|
60292
|
-
|
|
60293
|
-
|
|
60294
|
-
|
|
60295
|
-
|
|
60296
|
-
|
|
60297
|
-
|
|
60298
|
-
|
|
60299
|
-
|
|
60300
|
-
|
|
60301
|
-
|
|
60302
|
-
props.onFilter
|
|
60303
|
-
|
|
60304
|
-
|
|
60305
|
-
|
|
60306
|
-
|
|
60307
|
-
|
|
60308
|
-
|
|
60309
|
-
|
|
60310
|
-
|
|
60311
|
-
|
|
60312
|
-
|
|
60313
|
-
|
|
60395
|
+
setFiltersState(function (prevFilters) {
|
|
60396
|
+
var filters = props.onFilter ? props.filters : prevFilters;
|
|
60397
|
+
var newFilters = filters ? _objectSpread$1({}, filters) : {};
|
|
60398
|
+
if (!isFilterBlank(event.value)) {
|
|
60399
|
+
newFilters[event.field] = {
|
|
60400
|
+
value: event.value,
|
|
60401
|
+
matchMode: event.matchMode
|
|
60402
|
+
};
|
|
60403
|
+
} else if (newFilters[event.field]) {
|
|
60404
|
+
delete newFilters[event.field];
|
|
60405
|
+
}
|
|
60406
|
+
if (props.onFilter) {
|
|
60407
|
+
props.onFilter({
|
|
60408
|
+
filters: newFilters
|
|
60409
|
+
});
|
|
60410
|
+
} else {
|
|
60411
|
+
setFirstState(0);
|
|
60412
|
+
}
|
|
60413
|
+
if (props.onValueChange) {
|
|
60414
|
+
props.onValueChange(processedData({
|
|
60415
|
+
filters: newFilters
|
|
60416
|
+
}));
|
|
60417
|
+
}
|
|
60418
|
+
return newFilters;
|
|
60419
|
+
});
|
|
60314
60420
|
};
|
|
60315
60421
|
var cloneFilters = function cloneFilters(filters) {
|
|
60316
60422
|
filters = filters || props.filters;
|
|
@@ -61311,7 +61417,7 @@ var TriStateCheckbox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__na
|
|
|
61311
61417
|
'aria-checked': ariaChecked
|
|
61312
61418
|
}, ariaProps), ptm('box'));
|
|
61313
61419
|
var srOnlyAriaProps = mergeProps({
|
|
61314
|
-
className: 'p-
|
|
61420
|
+
className: 'p-hidden-accessible',
|
|
61315
61421
|
'aria-live': 'polite'
|
|
61316
61422
|
}, ptm('srOnlyAria'));
|
|
61317
61423
|
var rootProps = mergeProps({
|