primereact 10.9.2 → 10.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.cjs.js +43 -55
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.d.ts +2 -2
- package/accordion/accordion.esm.js +43 -55
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +43 -55
- package/accordion/accordion.min.js +1 -1
- package/api/api.cjs.js +46 -60
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +5 -1
- package/api/api.esm.js +46 -60
- package/api/api.esm.min.js +1 -1
- package/api/api.js +46 -60
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +64 -55
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +27 -25
- package/autocomplete/autocomplete.esm.js +64 -55
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +64 -55
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +37 -49
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.d.ts +2 -2
- package/avatar/avatar.esm.js +37 -49
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +37 -49
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/avatargroup.d.ts +2 -2
- package/badge/badge.cjs.js +17 -23
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.d.ts +2 -2
- package/badge/badge.esm.js +17 -23
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +17 -23
- package/badge/badge.min.js +1 -1
- package/blockui/blockui.cjs.js +37 -49
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.d.ts +2 -2
- package/blockui/blockui.esm.js +37 -49
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +37 -49
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +37 -49
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.d.ts +2 -2
- package/breadcrumb/breadcrumb.esm.js +37 -49
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +37 -49
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +23 -34
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +23 -34
- package/button/button.esm.min.js +1 -1
- package/button/button.js +23 -34
- package/button/button.min.js +1 -1
- package/buttongroup/buttongroup.cjs.js +4 -1
- package/buttongroup/buttongroup.cjs.min.js +1 -1
- package/buttongroup/buttongroup.esm.js +4 -1
- package/buttongroup/buttongroup.esm.min.js +1 -1
- package/buttongroup/buttongroup.js +4 -1
- package/buttongroup/buttongroup.min.js +1 -1
- package/calendar/calendar.cjs.js +52 -59
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +7 -7
- package/calendar/calendar.esm.js +52 -59
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +52 -59
- package/calendar/calendar.min.js +1 -1
- package/carousel/carousel.cjs.js +44 -56
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.d.ts +2 -2
- package/carousel/carousel.esm.js +44 -56
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +44 -56
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +40 -52
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +8 -8
- package/cascadeselect/cascadeselect.esm.js +40 -52
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +40 -52
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/chart.d.ts +2 -2
- package/checkbox/checkbox.cjs.js +37 -49
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.d.ts +4 -4
- package/checkbox/checkbox.esm.js +37 -49
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +37 -49
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +48 -51
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.d.ts +15 -4
- package/chip/chip.esm.js +48 -51
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +48 -51
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +43 -55
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.d.ts +2 -2
- package/chips/chips.esm.js +43 -55
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +43 -55
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +38 -49
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.d.ts +6 -6
- package/colorpicker/colorpicker.esm.js +38 -49
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +38 -49
- package/colorpicker/colorpicker.min.js +1 -1
- package/componentbase/componentbase.cjs.js +47 -45
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.js +47 -45
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.js +47 -45
- package/componentbase/componentbase.min.js +1 -1
- package/confirmdialog/confirmdialog.cjs.js +41 -52
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +41 -52
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +41 -52
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +37 -49
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +37 -49
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +37 -49
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +37 -49
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.d.ts +2 -2
- package/contextmenu/contextmenu.esm.js +37 -49
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +37 -49
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +1050 -1445
- package/core/core.min.js +65 -65
- package/csstransition/csstransition.cjs.js +17 -23
- package/csstransition/csstransition.cjs.min.js +1 -1
- package/csstransition/csstransition.esm.js +17 -23
- package/csstransition/csstransition.esm.min.js +1 -1
- package/csstransition/csstransition.js +17 -23
- package/csstransition/csstransition.min.js +1 -1
- package/datascroller/datascroller.cjs.js +28 -32
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.d.ts +2 -2
- package/datascroller/datascroller.esm.js +28 -32
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +28 -32
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +203 -171
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +6 -5
- package/datatable/datatable.esm.js +203 -171
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +203 -171
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +47 -59
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.d.ts +2 -2
- package/dataview/dataview.esm.js +47 -59
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +47 -59
- package/dataview/dataview.min.js +1 -1
- package/deferredcontent/deferredcontent.cjs.js +14 -15
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.d.ts +2 -2
- package/deferredcontent/deferredcontent.esm.js +14 -15
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +14 -15
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/dialog.cjs.js +43 -56
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.d.ts +12 -12
- package/dialog/dialog.esm.js +43 -56
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +43 -56
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.js +2 -2
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.d.ts +2 -2
- package/divider/divider.esm.js +2 -2
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +2 -2
- package/divider/divider.min.js +1 -1
- package/dock/dock.cjs.js +43 -55
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.d.ts +2 -2
- package/dock/dock.esm.js +43 -55
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +43 -55
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +52 -63
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +10 -10
- package/dropdown/dropdown.esm.js +53 -64
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +52 -63
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +37 -49
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.d.ts +6 -6
- package/editor/editor.esm.js +37 -49
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +37 -49
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +20 -26
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.d.ts +4 -4
- package/fieldset/fieldset.esm.js +20 -26
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +20 -26
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/fileupload.cjs.js +50 -61
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.d.ts +8 -4
- package/fileupload/fileupload.esm.js +50 -61
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +50 -61
- package/fileupload/fileupload.min.js +1 -1
- package/focustrap/focustrap.cjs.js +17 -23
- package/focustrap/focustrap.cjs.min.js +1 -1
- package/focustrap/focustrap.esm.js +17 -23
- package/focustrap/focustrap.esm.min.js +1 -1
- package/focustrap/focustrap.js +17 -23
- package/focustrap/focustrap.min.js +1 -1
- package/galleria/galleria.cjs.js +44 -56
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.d.ts +2 -2
- package/galleria/galleria.esm.js +44 -56
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +44 -56
- package/galleria/galleria.min.js +1 -1
- package/hooks/hooks.cjs.js +37 -44
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.d.ts +3 -2
- package/hooks/hooks.esm.js +37 -44
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +37 -44
- package/hooks/hooks.min.js +1 -1
- package/iconfield/iconfield.cjs.js +23 -34
- package/iconfield/iconfield.cjs.min.js +1 -1
- package/iconfield/iconfield.esm.js +23 -34
- package/iconfield/iconfield.esm.min.js +1 -1
- package/iconfield/iconfield.js +23 -34
- package/iconfield/iconfield.min.js +1 -1
- package/icons/angledoubledown/index.cjs.js +6 -11
- package/icons/angledoubledown/index.cjs.min.js +1 -1
- package/icons/angledoubledown/index.esm.js +6 -11
- package/icons/angledoubledown/index.esm.min.js +1 -1
- package/icons/angledoubledown/index.js +6 -11
- package/icons/angledoubledown/index.min.js +1 -1
- package/icons/angledoubleleft/index.cjs.js +6 -11
- package/icons/angledoubleleft/index.cjs.min.js +1 -1
- package/icons/angledoubleleft/index.esm.js +6 -11
- package/icons/angledoubleleft/index.esm.min.js +1 -1
- package/icons/angledoubleleft/index.js +6 -11
- package/icons/angledoubleleft/index.min.js +1 -1
- package/icons/angledoubleright/index.cjs.js +6 -11
- package/icons/angledoubleright/index.cjs.min.js +1 -1
- package/icons/angledoubleright/index.esm.js +6 -11
- package/icons/angledoubleright/index.esm.min.js +1 -1
- package/icons/angledoubleright/index.js +6 -11
- package/icons/angledoubleright/index.min.js +1 -1
- package/icons/angledoubleup/index.cjs.js +6 -11
- package/icons/angledoubleup/index.cjs.min.js +1 -1
- package/icons/angledoubleup/index.esm.js +6 -11
- package/icons/angledoubleup/index.esm.min.js +1 -1
- package/icons/angledoubleup/index.js +6 -11
- package/icons/angledoubleup/index.min.js +1 -1
- package/icons/angledown/index.cjs.js +6 -11
- package/icons/angledown/index.cjs.min.js +1 -1
- package/icons/angledown/index.esm.js +6 -11
- package/icons/angledown/index.esm.min.js +1 -1
- package/icons/angledown/index.js +6 -11
- package/icons/angledown/index.min.js +1 -1
- package/icons/angleleft/index.cjs.js +6 -11
- package/icons/angleleft/index.cjs.min.js +1 -1
- package/icons/angleleft/index.esm.js +6 -11
- package/icons/angleleft/index.esm.min.js +1 -1
- package/icons/angleleft/index.js +6 -11
- package/icons/angleleft/index.min.js +1 -1
- package/icons/angleright/index.cjs.js +6 -11
- package/icons/angleright/index.cjs.min.js +1 -1
- package/icons/angleright/index.esm.js +6 -11
- package/icons/angleright/index.esm.min.js +1 -1
- package/icons/angleright/index.js +6 -11
- package/icons/angleright/index.min.js +1 -1
- package/icons/angleup/index.cjs.js +6 -11
- package/icons/angleup/index.cjs.min.js +1 -1
- package/icons/angleup/index.esm.js +6 -11
- package/icons/angleup/index.esm.min.js +1 -1
- package/icons/angleup/index.js +6 -11
- package/icons/angleup/index.min.js +1 -1
- package/icons/arrowdown/index.cjs.js +6 -11
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +6 -11
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +6 -11
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowup/index.cjs.js +6 -11
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +6 -11
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +6 -11
- package/icons/arrowup/index.min.js +1 -1
- package/icons/ban/index.cjs.js +6 -11
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +6 -11
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +6 -11
- package/icons/ban/index.min.js +1 -1
- package/icons/bars/index.cjs.js +6 -11
- package/icons/bars/index.cjs.min.js +1 -1
- package/icons/bars/index.esm.js +6 -11
- package/icons/bars/index.esm.min.js +1 -1
- package/icons/bars/index.js +6 -11
- package/icons/bars/index.min.js +1 -1
- package/icons/blank/index.cjs.js +6 -11
- package/icons/blank/index.cjs.min.js +1 -1
- package/icons/blank/index.esm.js +6 -11
- package/icons/blank/index.esm.min.js +1 -1
- package/icons/blank/index.js +6 -11
- package/icons/blank/index.min.js +1 -1
- package/icons/calendar/index.cjs.js +6 -11
- package/icons/calendar/index.cjs.min.js +1 -1
- package/icons/calendar/index.esm.js +6 -11
- package/icons/calendar/index.esm.min.js +1 -1
- package/icons/calendar/index.js +6 -11
- package/icons/calendar/index.min.js +1 -1
- package/icons/check/index.cjs.js +6 -11
- package/icons/check/index.cjs.min.js +1 -1
- package/icons/check/index.esm.js +6 -11
- package/icons/check/index.esm.min.js +1 -1
- package/icons/check/index.js +6 -11
- package/icons/check/index.min.js +1 -1
- package/icons/chevrondown/index.cjs.js +6 -11
- package/icons/chevrondown/index.cjs.min.js +1 -1
- package/icons/chevrondown/index.esm.js +6 -11
- package/icons/chevrondown/index.esm.min.js +1 -1
- package/icons/chevrondown/index.js +6 -11
- package/icons/chevrondown/index.min.js +1 -1
- package/icons/chevronleft/index.cjs.js +6 -11
- package/icons/chevronleft/index.cjs.min.js +1 -1
- package/icons/chevronleft/index.esm.js +6 -11
- package/icons/chevronleft/index.esm.min.js +1 -1
- package/icons/chevronleft/index.js +6 -11
- package/icons/chevronleft/index.min.js +1 -1
- package/icons/chevronright/index.cjs.js +6 -11
- package/icons/chevronright/index.cjs.min.js +1 -1
- package/icons/chevronright/index.esm.js +6 -11
- package/icons/chevronright/index.esm.min.js +1 -1
- package/icons/chevronright/index.js +6 -11
- package/icons/chevronright/index.min.js +1 -1
- package/icons/chevronup/index.cjs.js +6 -11
- package/icons/chevronup/index.cjs.min.js +1 -1
- package/icons/chevronup/index.esm.js +6 -11
- package/icons/chevronup/index.esm.min.js +1 -1
- package/icons/chevronup/index.js +6 -11
- package/icons/chevronup/index.min.js +1 -1
- package/icons/download/index.cjs.js +6 -11
- package/icons/download/index.cjs.min.js +1 -1
- package/icons/download/index.esm.js +6 -11
- package/icons/download/index.esm.min.js +1 -1
- package/icons/download/index.js +6 -11
- package/icons/download/index.min.js +1 -1
- package/icons/exclamationtriangle/index.cjs.js +6 -11
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +6 -11
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +6 -11
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/eye/index.cjs.js +6 -11
- package/icons/eye/index.cjs.min.js +1 -1
- package/icons/eye/index.esm.js +6 -11
- package/icons/eye/index.esm.min.js +1 -1
- package/icons/eye/index.js +6 -11
- package/icons/eye/index.min.js +1 -1
- package/icons/eyeslash/index.cjs.js +6 -11
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +6 -11
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +6 -11
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/filter/index.cjs.js +6 -11
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +6 -11
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +6 -11
- package/icons/filter/index.min.js +1 -1
- package/icons/filterslash/index.cjs.js +6 -11
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +6 -11
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +6 -11
- package/icons/filterslash/index.min.js +1 -1
- package/icons/infocircle/index.cjs.js +6 -11
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +6 -11
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +6 -11
- package/icons/infocircle/index.min.js +1 -1
- package/icons/minus/index.cjs.js +6 -11
- package/icons/minus/index.cjs.min.js +1 -1
- package/icons/minus/index.esm.js +6 -11
- package/icons/minus/index.esm.min.js +1 -1
- package/icons/minus/index.js +6 -11
- package/icons/minus/index.min.js +1 -1
- package/icons/pencil/index.cjs.js +6 -11
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +6 -11
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +6 -11
- package/icons/pencil/index.min.js +1 -1
- package/icons/plus/index.cjs.js +6 -11
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +6 -11
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +6 -11
- package/icons/plus/index.min.js +1 -1
- package/icons/refresh/index.cjs.js +6 -11
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +6 -11
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +6 -11
- package/icons/refresh/index.min.js +1 -1
- package/icons/search/index.cjs.js +6 -11
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +6 -11
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +6 -11
- package/icons/search/index.min.js +1 -1
- package/icons/searchminus/index.cjs.js +6 -11
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +6 -11
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +6 -11
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchplus/index.cjs.js +6 -11
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +6 -11
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +6 -11
- package/icons/searchplus/index.min.js +1 -1
- package/icons/sortalt/index.cjs.js +6 -11
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +6 -11
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +6 -11
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortamountdown/index.cjs.js +6 -11
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +6 -11
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +6 -11
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountupalt/index.cjs.js +6 -11
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +6 -11
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +6 -11
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/spinner/index.cjs.js +6 -11
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +6 -11
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +6 -11
- package/icons/spinner/index.min.js +1 -1
- package/icons/star/index.cjs.js +6 -11
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +6 -11
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +6 -11
- package/icons/star/index.min.js +1 -1
- package/icons/starfill/index.cjs.js +6 -11
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +6 -11
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +6 -11
- package/icons/starfill/index.min.js +1 -1
- package/icons/thlarge/index.cjs.js +6 -11
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +6 -11
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +6 -11
- package/icons/thlarge/index.min.js +1 -1
- package/icons/times/index.cjs.js +6 -11
- package/icons/times/index.cjs.min.js +1 -1
- package/icons/times/index.esm.js +6 -11
- package/icons/times/index.esm.min.js +1 -1
- package/icons/times/index.js +6 -11
- package/icons/times/index.min.js +1 -1
- package/icons/timescircle/index.cjs.js +6 -11
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +6 -11
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +6 -11
- package/icons/timescircle/index.min.js +1 -1
- package/icons/trash/index.cjs.js +6 -11
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +6 -11
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +6 -11
- package/icons/trash/index.min.js +1 -1
- package/icons/undo/index.cjs.js +6 -11
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +6 -11
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +6 -11
- package/icons/undo/index.min.js +1 -1
- package/icons/upload/index.cjs.js +6 -11
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +6 -11
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +6 -11
- package/icons/upload/index.min.js +1 -1
- package/icons/windowmaximize/index.cjs.js +6 -11
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +6 -11
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +6 -11
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowminimize/index.cjs.js +6 -11
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +6 -11
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +6 -11
- package/icons/windowminimize/index.min.js +1 -1
- package/image/image.cjs.js +37 -49
- package/image/image.cjs.min.js +1 -1
- package/image/image.d.ts +4 -4
- package/image/image.esm.js +37 -49
- package/image/image.esm.min.js +1 -1
- package/image/image.js +37 -49
- package/image/image.min.js +1 -1
- package/inplace/inplace.cjs.js +14 -15
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.d.ts +2 -2
- package/inplace/inplace.esm.js +14 -15
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +14 -15
- package/inplace/inplace.min.js +1 -1
- package/inputicon/inputicon.cjs.js +23 -34
- package/inputicon/inputicon.cjs.min.js +1 -1
- package/inputicon/inputicon.esm.js +23 -34
- package/inputicon/inputicon.esm.min.js +1 -1
- package/inputicon/inputicon.js +23 -34
- package/inputicon/inputicon.min.js +1 -1
- package/inputmask/inputmask.cjs.js +10 -13
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.d.ts +2 -2
- package/inputmask/inputmask.esm.js +10 -13
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +10 -13
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +50 -56
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.d.ts +4 -4
- package/inputnumber/inputnumber.esm.js +50 -56
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +50 -56
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputotp/inputotp.cjs.js +64 -56
- package/inputotp/inputotp.cjs.min.js +1 -1
- package/inputotp/inputotp.esm.js +64 -56
- package/inputotp/inputotp.esm.min.js +1 -1
- package/inputotp/inputotp.js +64 -56
- package/inputotp/inputotp.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +23 -34
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.d.ts +4 -4
- package/inputswitch/inputswitch.esm.js +23 -34
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +23 -34
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +25 -35
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +25 -35
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +25 -35
- package/inputtext/inputtext.min.js +1 -1
- package/inputtextarea/inputtextarea.cjs.js +23 -34
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.esm.js +23 -34
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +23 -34
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/keyfilter/keyfilter.cjs.js +16 -17
- package/keyfilter/keyfilter.cjs.min.js +1 -1
- package/keyfilter/keyfilter.esm.js +16 -17
- package/keyfilter/keyfilter.esm.min.js +1 -1
- package/keyfilter/keyfilter.js +16 -17
- package/keyfilter/keyfilter.min.js +1 -1
- package/knob/knob.cjs.js +15 -16
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.d.ts +2 -2
- package/knob/knob.esm.js +15 -16
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +15 -16
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +46 -58
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.d.ts +4 -4
- package/listbox/listbox.esm.js +46 -58
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +46 -58
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +41 -57
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.d.ts +2 -2
- package/megamenu/megamenu.esm.js +41 -57
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +41 -57
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +43 -55
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.d.ts +6 -6
- package/mention/mention.esm.js +43 -55
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +43 -55
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +52 -55
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.d.ts +2 -2
- package/menu/menu.esm.js +52 -55
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +52 -55
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +39 -51
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.d.ts +8 -8
- package/menubar/menubar.esm.js +39 -51
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +39 -51
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +23 -34
- package/message/message.cjs.min.js +1 -1
- package/message/message.d.ts +2 -2
- package/message/message.esm.js +23 -34
- package/message/message.esm.min.js +1 -1
- package/message/message.js +23 -34
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +43 -55
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.d.ts +2 -2
- package/messages/messages.esm.js +43 -55
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +43 -55
- package/messages/messages.min.js +1 -1
- package/metergroup/metergroup.cjs.js +23 -34
- package/metergroup/metergroup.cjs.min.js +1 -1
- package/metergroup/metergroup.esm.js +23 -34
- package/metergroup/metergroup.esm.min.js +1 -1
- package/metergroup/metergroup.js +23 -34
- package/metergroup/metergroup.min.js +1 -1
- package/multiselect/multiselect.cjs.js +67 -85
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +6 -6
- package/multiselect/multiselect.esm.js +67 -85
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +67 -85
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +37 -49
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.d.ts +2 -2
- package/multistatecheckbox/multistatecheckbox.esm.js +37 -49
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +37 -49
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +67 -78
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.d.ts +2 -2
- package/orderlist/orderlist.esm.js +67 -78
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +67 -78
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +43 -55
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.d.ts +2 -2
- package/organizationchart/organizationchart.esm.js +43 -55
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +43 -55
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +37 -49
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.d.ts +2 -2
- package/overlaypanel/overlaypanel.esm.js +37 -49
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +37 -49
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.js +44 -58
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.d.ts +2 -2
- package/paginator/paginator.esm.js +44 -58
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +44 -58
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.js +20 -26
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.d.ts +4 -4
- package/panel/panel.esm.js +20 -26
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +20 -26
- package/panel/panel.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +37 -49
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.d.ts +2 -2
- package/panelmenu/panelmenu.esm.js +37 -49
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +37 -49
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/index.cjs.js +17 -23
- package/passthrough/index.cjs.min.js +1 -1
- package/passthrough/index.esm.js +17 -23
- package/passthrough/index.esm.min.js +1 -1
- package/passthrough/index.js +17 -23
- package/passthrough/index.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +14 -15
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +14 -15
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +14 -15
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.cjs.js +37 -49
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +6 -6
- package/password/password.esm.js +37 -49
- package/password/password.esm.min.js +1 -1
- package/password/password.js +37 -49
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +53 -67
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.d.ts +2 -2
- package/picklist/picklist.esm.js +53 -67
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +53 -67
- package/picklist/picklist.min.js +1 -1
- package/portal/portal.cjs.js +14 -15
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +14 -15
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +14 -15
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +690 -565
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +690 -565
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +690 -565
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.js +23 -34
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.d.ts +2 -2
- package/progressbar/progressbar.esm.js +23 -34
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +23 -34
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/progressspinner.d.ts +2 -2
- package/radiobutton/radiobutton.cjs.js +23 -34
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.d.ts +4 -4
- package/radiobutton/radiobutton.esm.js +23 -34
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +23 -34
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +37 -49
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.d.ts +2 -2
- package/rating/rating.esm.js +37 -49
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +37 -49
- package/rating/rating.min.js +1 -1
- package/ripple/ripple.cjs.js +37 -49
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.js +37 -49
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +37 -49
- package/ripple/ripple.min.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +20 -26
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.d.ts +8 -8
- package/scrollpanel/scrollpanel.esm.js +20 -26
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +20 -26
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +37 -49
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.d.ts +2 -2
- package/scrolltop/scrolltop.esm.js +37 -49
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +37 -49
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +26 -32
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.d.ts +2 -2
- package/selectbutton/selectbutton.esm.js +26 -32
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +26 -32
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/sidebar.cjs.js +38 -50
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +6 -6
- package/sidebar/sidebar.esm.js +38 -50
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +38 -50
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +17 -23
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.d.ts +2 -2
- package/skeleton/skeleton.esm.js +17 -23
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +17 -23
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/slidemenu.cjs.js +37 -49
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.d.ts +2 -2
- package/slidemenu/slidemenu.esm.js +37 -49
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +37 -49
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.js +43 -55
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.d.ts +3 -2
- package/slider/slider.esm.js +43 -55
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +43 -55
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +44 -56
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.d.ts +2 -2
- package/speeddial/speeddial.esm.js +44 -56
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +44 -56
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +37 -49
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +2 -2
- package/splitbutton/splitbutton.esm.js +37 -49
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +37 -49
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +43 -55
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.d.ts +2 -2
- package/splitter/splitter.esm.js +43 -55
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +43 -55
- package/splitter/splitter.min.js +1 -1
- package/stepper/stepper.cjs.js +39 -50
- package/stepper/stepper.cjs.min.js +1 -1
- package/stepper/stepper.d.ts +33 -14
- package/stepper/stepper.esm.js +39 -50
- package/stepper/stepper.esm.min.js +1 -1
- package/stepper/stepper.js +39 -50
- package/stepper/stepper.min.js +1 -1
- package/steps/steps.cjs.js +37 -49
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.d.ts +2 -2
- package/steps/steps.esm.js +37 -49
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +37 -49
- package/steps/steps.min.js +1 -1
- package/styleclass/styleclass.cjs.js +14 -15
- package/styleclass/styleclass.cjs.min.js +1 -1
- package/styleclass/styleclass.d.ts +4 -4
- package/styleclass/styleclass.esm.js +14 -15
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +14 -15
- package/styleclass/styleclass.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +37 -49
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.d.ts +2 -2
- package/tabmenu/tabmenu.esm.js +37 -49
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +37 -49
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +38 -45
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.d.ts +2 -2
- package/tabview/tabview.esm.js +38 -45
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +38 -45
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +17 -23
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.d.ts +2 -2
- package/tag/tag.esm.js +17 -23
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +17 -23
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +20 -21
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.d.ts +2 -2
- package/terminal/terminal.esm.js +20 -21
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +20 -21
- package/terminal/terminal.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +37 -49
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.d.ts +2 -2
- package/tieredmenu/tieredmenu.esm.js +37 -49
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +37 -49
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.js +23 -34
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.d.ts +4 -4
- package/timeline/timeline.esm.js +23 -34
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +23 -34
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.js +43 -55
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.d.ts +2 -2
- package/toast/toast.esm.js +43 -55
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +43 -55
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +25 -36
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.d.ts +2 -2
- package/togglebutton/togglebutton.esm.js +25 -36
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +25 -36
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/toolbar.d.ts +2 -2
- package/tooltip/tooltip.cjs.js +51 -62
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.d.ts +3 -3
- package/tooltip/tooltip.esm.js +51 -62
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +51 -62
- package/tooltip/tooltip.min.js +1 -1
- package/tree/tree.cjs.js +55 -64
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.d.ts +2 -2
- package/tree/tree.esm.js +55 -64
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +55 -64
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.cjs.js +48 -65
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +2 -2
- package/treeselect/treeselect.esm.js +48 -65
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +48 -65
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +97 -99
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +2 -2
- package/treetable/treetable.esm.js +97 -99
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +97 -99
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +37 -49
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.d.ts +2 -2
- package/tristatecheckbox/tristatecheckbox.esm.js +37 -49
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +37 -49
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +81 -80
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +81 -80
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +81 -80
- package/utils/utils.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +39 -51
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +39 -51
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +39 -51
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +29 -11
|
@@ -33,18 +33,13 @@ import { SortAmountDownIcon } from 'primereact/icons/sortamountdown';
|
|
|
33
33
|
import { SortAmountUpAltIcon } from 'primereact/icons/sortamountupalt';
|
|
34
34
|
|
|
35
35
|
function _extends() {
|
|
36
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
37
|
-
for (var
|
|
38
|
-
var
|
|
39
|
-
for (var
|
|
40
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
41
|
-
target[key] = source[key];
|
|
42
|
-
}
|
|
43
|
-
}
|
|
36
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
37
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
38
|
+
var t = arguments[e];
|
|
39
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
44
40
|
}
|
|
45
|
-
return
|
|
46
|
-
};
|
|
47
|
-
return _extends.apply(this, arguments);
|
|
41
|
+
return n;
|
|
42
|
+
}, _extends.apply(null, arguments);
|
|
48
43
|
}
|
|
49
44
|
|
|
50
45
|
function _typeof(o) {
|
|
@@ -57,70 +52,63 @@ function _typeof(o) {
|
|
|
57
52
|
}, _typeof(o);
|
|
58
53
|
}
|
|
59
54
|
|
|
60
|
-
function
|
|
61
|
-
if (
|
|
62
|
-
var
|
|
63
|
-
if (
|
|
64
|
-
var
|
|
65
|
-
if (
|
|
55
|
+
function toPrimitive(t, r) {
|
|
56
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
57
|
+
var e = t[Symbol.toPrimitive];
|
|
58
|
+
if (void 0 !== e) {
|
|
59
|
+
var i = e.call(t, r || "default");
|
|
60
|
+
if ("object" != _typeof(i)) return i;
|
|
66
61
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
67
62
|
}
|
|
68
|
-
return (
|
|
63
|
+
return ("string" === r ? String : Number)(t);
|
|
69
64
|
}
|
|
70
65
|
|
|
71
|
-
function
|
|
72
|
-
var
|
|
73
|
-
return _typeof(
|
|
66
|
+
function toPropertyKey(t) {
|
|
67
|
+
var i = toPrimitive(t, "string");
|
|
68
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
74
69
|
}
|
|
75
70
|
|
|
76
|
-
function _defineProperty(
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
writable: true
|
|
84
|
-
});
|
|
85
|
-
} else {
|
|
86
|
-
obj[key] = value;
|
|
87
|
-
}
|
|
88
|
-
return obj;
|
|
71
|
+
function _defineProperty(e, r, t) {
|
|
72
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
73
|
+
value: t,
|
|
74
|
+
enumerable: !0,
|
|
75
|
+
configurable: !0,
|
|
76
|
+
writable: !0
|
|
77
|
+
}) : e[r] = t, e;
|
|
89
78
|
}
|
|
90
79
|
|
|
91
|
-
function _arrayLikeToArray$1(
|
|
92
|
-
|
|
93
|
-
for (var
|
|
94
|
-
return
|
|
80
|
+
function _arrayLikeToArray$1(r, a) {
|
|
81
|
+
(null == a || a > r.length) && (a = r.length);
|
|
82
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
83
|
+
return n;
|
|
95
84
|
}
|
|
96
85
|
|
|
97
|
-
function _arrayWithoutHoles(
|
|
98
|
-
if (Array.isArray(
|
|
86
|
+
function _arrayWithoutHoles(r) {
|
|
87
|
+
if (Array.isArray(r)) return _arrayLikeToArray$1(r);
|
|
99
88
|
}
|
|
100
89
|
|
|
101
|
-
function _iterableToArray(
|
|
102
|
-
if (typeof Symbol
|
|
90
|
+
function _iterableToArray(r) {
|
|
91
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
103
92
|
}
|
|
104
93
|
|
|
105
|
-
function _unsupportedIterableToArray$1(
|
|
106
|
-
if (
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
|
|
94
|
+
function _unsupportedIterableToArray$1(r, a) {
|
|
95
|
+
if (r) {
|
|
96
|
+
if ("string" == typeof r) return _arrayLikeToArray$1(r, a);
|
|
97
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
98
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0;
|
|
99
|
+
}
|
|
112
100
|
}
|
|
113
101
|
|
|
114
102
|
function _nonIterableSpread() {
|
|
115
103
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
116
104
|
}
|
|
117
105
|
|
|
118
|
-
function _toConsumableArray(
|
|
119
|
-
return _arrayWithoutHoles(
|
|
106
|
+
function _toConsumableArray(r) {
|
|
107
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$1(r) || _nonIterableSpread();
|
|
120
108
|
}
|
|
121
109
|
|
|
122
|
-
function _arrayWithHoles(
|
|
123
|
-
if (Array.isArray(
|
|
110
|
+
function _arrayWithHoles(r) {
|
|
111
|
+
if (Array.isArray(r)) return r;
|
|
124
112
|
}
|
|
125
113
|
|
|
126
114
|
function _iterableToArrayLimit(r, l) {
|
|
@@ -155,8 +143,8 @@ function _nonIterableRest() {
|
|
|
155
143
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
156
144
|
}
|
|
157
145
|
|
|
158
|
-
function _slicedToArray(
|
|
159
|
-
return _arrayWithHoles(
|
|
146
|
+
function _slicedToArray(r, e) {
|
|
147
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$1(r, e) || _nonIterableRest();
|
|
160
148
|
}
|
|
161
149
|
|
|
162
150
|
var getStorage = function getStorage(stateStorageProp) {
|
|
@@ -265,8 +253,8 @@ var ColumnBase = ComponentBase.extend({
|
|
|
265
253
|
}
|
|
266
254
|
});
|
|
267
255
|
|
|
268
|
-
function ownKeys$
|
|
269
|
-
function _objectSpread$
|
|
256
|
+
function ownKeys$f(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; }
|
|
257
|
+
function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
270
258
|
var styles$1 = "\n@layer primereact {\n .p-datatable {\n position: relative;\n }\n\n .p-datatable > .p-datatable-wrapper {\n overflow: auto;\n }\n\n .p-datatable-table {\n border-spacing: 0px;\n width: 100%;\n }\n\n .p-datatable .p-sortable-disabled {\n cursor: auto;\n }\n\n .p-datatable .p-sortable-column {\n cursor: pointer;\n user-select: none;\n }\n\n .p-datatable .p-sortable-column .p-column-title,\n .p-datatable .p-sortable-column .p-sortable-column-icon,\n .p-datatable .p-sortable-column .p-sortable-column-badge {\n vertical-align: middle;\n }\n\n .p-datatable .p-sortable-column .p-sortable-column-badge {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-datatable-selectable .p-selectable-row,\n .p-datatable-selectable-cell .p-selectable-cell {\n cursor: pointer;\n }\n\n .p-datatable-drag-selection-helper {\n position: absolute;\n z-index: 99999999;\n }\n\n /* Scrollable */\n .p-datatable-scrollable > .p-datatable-wrapper {\n position: relative;\n }\n\n .p-datatable-scrollable-table > .p-datatable-thead {\n position: sticky;\n top: 0;\n z-index: 2;\n }\n\n .p-datatable.p-datatable-gridlines .p-datatable-scrollable-table > .p-datatable-thead {\n top: -1px;\n }\n\n .p-datatable-scrollable-table > .p-datatable-frozen-tbody {\n position: sticky;\n z-index: 1;\n }\n\n .p-datatable-scrollable-table > .p-datatable-tfoot {\n position: sticky;\n bottom: 0;\n z-index: 1;\n }\n\n .p-datatable-scrollable .p-frozen-column {\n position: sticky;\n background: inherit;\n }\n\n .p-datatable-scrollable th.p-frozen-column {\n z-index: 1;\n }\n\n .p-datatable-flex-scrollable {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n .p-datatable-flex-scrollable > .p-datatable-wrapper {\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 100%;\n }\n\n .p-datatable-scrollable-table > .p-datatable-tbody > .p-rowgroup-header {\n position: sticky;\n z-index: 1;\n }\n\n /* Resizable */\n .p-datatable-resizable-table > .p-datatable-thead > tr > th,\n .p-datatable-resizable-table > .p-datatable-tfoot > tr > td,\n .p-datatable-resizable-table > .p-datatable-tbody > tr > td {\n overflow: hidden;\n white-space: nowrap;\n }\n\n .p-datatable-resizable-table > .p-datatable-thead > tr > th.p-resizable-column:not(.p-frozen-column) {\n background-clip: padding-box;\n position: relative;\n }\n\n .p-datatable-resizable-table-fit > .p-datatable-thead > tr > th.p-resizable-column:last-child .p-column-resizer {\n display: none;\n }\n\n .p-datatable .p-column-resizer {\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n margin: 0;\n width: 0.5rem;\n height: 100%;\n padding: 0px;\n cursor: col-resize;\n border: 1px solid transparent;\n }\n\n .p-datatable .p-column-header-content {\n display: flex;\n align-items: center;\n }\n\n .p-datatable .p-column-resizer-helper {\n width: 1px;\n position: absolute;\n z-index: 10;\n display: none;\n }\n\n .p-datatable .p-row-editor-init,\n .p-datatable .p-row-editor-save,\n .p-datatable .p-row-editor-cancel {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n }\n\n /* Expand */\n .p-datatable .p-row-toggler {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n }\n\n /* Reorder */\n .p-datatable-reorder-indicator-up,\n .p-datatable-reorder-indicator-down {\n position: absolute;\n display: none;\n }\n\n .p-reorderable-column,\n .p-datatable-reorderablerow-handle {\n cursor: move;\n }\n\n /* Loader */\n .p-datatable .p-datatable-loading-overlay {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 2;\n }\n\n /* Filter */\n .p-column-filter-row {\n display: flex;\n align-items: center;\n width: 100%;\n }\n\n .p-column-filter-menu {\n display: inline-flex;\n margin-left: auto;\n }\n\n .p-column-filter-row .p-column-filter-element {\n flex: 1 1 auto;\n width: 1%;\n }\n\n .p-column-filter-menu-button,\n .p-column-filter-clear-button {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n text-decoration: none;\n overflow: hidden;\n position: relative;\n }\n\n .p-column-filter-overlay {\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .p-column-filter-row-items {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n .p-column-filter-row-item {\n cursor: pointer;\n }\n\n .p-column-filter-add-button,\n .p-column-filter-remove-button {\n justify-content: center;\n }\n\n .p-column-filter-add-button .p-button-label,\n .p-column-filter-remove-button .p-button-label {\n flex-grow: 0;\n }\n\n .p-column-filter-buttonbar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .p-column-filter-buttonbar .p-button:not(.p-button-icon-only) {\n width: auto;\n }\n\n /* Responsive */\n .p-datatable .p-datatable-tbody > tr > td > .p-column-title {\n display: none;\n }\n\n /* VirtualScroller */\n .p-datatable-virtualscroller-spacer {\n display: flex;\n }\n\n .p-datatable .p-virtualscroller .p-virtualscroller-loading {\n transform: none;\n min-height: 0;\n position: sticky;\n top: 0;\n left: 0;\n }\n\n /* Alignment */\n .p-datatable .p-datatable-thead > tr > th.p-align-left > .p-column-header-content,\n .p-datatable .p-datatable-tbody > tr > td.p-align-left,\n .p-datatable .p-datatable-tfoot > tr > td.p-align-left {\n text-align: left;\n justify-content: flex-start;\n }\n\n .p-datatable .p-datatable-thead > tr > th.p-align-right > .p-column-header-content,\n .p-datatable .p-datatable-tbody > tr > td.p-align-right,\n .p-datatable .p-datatable-tfoot > tr > td.p-align-right {\n text-align: right;\n justify-content: flex-end;\n }\n\n .p-datatable .p-datatable-thead > tr > th.p-align-center > .p-column-header-content,\n .p-datatable .p-datatable-tbody > tr > td.p-align-center,\n .p-datatable .p-datatable-tfoot > tr > td.p-align-center {\n text-align: center;\n justify-content: center;\n }\n}\n";
|
|
271
259
|
var classes$2 = {
|
|
272
260
|
root: function root(_ref) {
|
|
@@ -461,11 +449,11 @@ var inlineStyles = {
|
|
|
461
449
|
},
|
|
462
450
|
reorderIndicatorUp: function reorderIndicatorUp(_ref15) {
|
|
463
451
|
var style = _ref15.style;
|
|
464
|
-
return _objectSpread$
|
|
452
|
+
return _objectSpread$f({}, style);
|
|
465
453
|
},
|
|
466
454
|
reorderIndicatorDown: function reorderIndicatorDown(_ref16) {
|
|
467
455
|
var style = _ref16.style;
|
|
468
|
-
return _objectSpread$
|
|
456
|
+
return _objectSpread$f({}, style);
|
|
469
457
|
}
|
|
470
458
|
};
|
|
471
459
|
var DataTableBase = ComponentBase.extend({
|
|
@@ -622,33 +610,26 @@ var DataTableBase = ComponentBase.extend({
|
|
|
622
610
|
}
|
|
623
611
|
});
|
|
624
612
|
|
|
625
|
-
function _objectWithoutPropertiesLoose(
|
|
626
|
-
if (
|
|
627
|
-
var
|
|
628
|
-
var
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
key = sourceKeys[i];
|
|
632
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
633
|
-
target[key] = source[key];
|
|
613
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
614
|
+
if (null == r) return {};
|
|
615
|
+
var t = {};
|
|
616
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
617
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
618
|
+
t[n] = r[n];
|
|
634
619
|
}
|
|
635
|
-
return
|
|
620
|
+
return t;
|
|
636
621
|
}
|
|
637
622
|
|
|
638
|
-
function _objectWithoutProperties(
|
|
639
|
-
if (
|
|
640
|
-
var
|
|
641
|
-
|
|
623
|
+
function _objectWithoutProperties(e, t) {
|
|
624
|
+
if (null == e) return {};
|
|
625
|
+
var o,
|
|
626
|
+
r,
|
|
627
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
642
628
|
if (Object.getOwnPropertySymbols) {
|
|
643
|
-
var
|
|
644
|
-
for (
|
|
645
|
-
key = sourceSymbolKeys[i];
|
|
646
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
647
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
648
|
-
target[key] = source[key];
|
|
649
|
-
}
|
|
629
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
630
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
650
631
|
}
|
|
651
|
-
return
|
|
632
|
+
return i;
|
|
652
633
|
}
|
|
653
634
|
|
|
654
635
|
var classes$1 = {
|
|
@@ -700,8 +681,8 @@ var CheckboxBase = ComponentBase.extend({
|
|
|
700
681
|
}
|
|
701
682
|
});
|
|
702
683
|
|
|
703
|
-
function ownKeys$
|
|
704
|
-
function _objectSpread$
|
|
684
|
+
function ownKeys$e(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; }
|
|
685
|
+
function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
705
686
|
var Checkbox = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
706
687
|
var mergeProps = useMergeProps();
|
|
707
688
|
var context = React.useContext(PrimeReactContext);
|
|
@@ -818,7 +799,7 @@ var Checkbox = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (i
|
|
|
818
799
|
}, otherProps, ptm('root'));
|
|
819
800
|
var createInputElement = function createInputElement() {
|
|
820
801
|
var ariaProps = ObjectUtils.reduceKeys(otherProps, DomHandler.ARIA_PROPS);
|
|
821
|
-
var inputProps = mergeProps(_objectSpread$
|
|
802
|
+
var inputProps = mergeProps(_objectSpread$e({
|
|
822
803
|
id: props.inputId,
|
|
823
804
|
type: 'checkbox',
|
|
824
805
|
className: cx('input'),
|
|
@@ -855,7 +836,7 @@ var Checkbox = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (i
|
|
|
855
836
|
'data-p-disabled': props.disabled
|
|
856
837
|
}, ptm('box'));
|
|
857
838
|
var icon = checked ? props.icon || /*#__PURE__*/React.createElement(CheckIcon, iconProps) : null;
|
|
858
|
-
var checkboxIcon = IconUtils.getJSXIcon(icon, _objectSpread$
|
|
839
|
+
var checkboxIcon = IconUtils.getJSXIcon(icon, _objectSpread$e({}, iconProps), {
|
|
859
840
|
props: props,
|
|
860
841
|
checked: checked
|
|
861
842
|
});
|
|
@@ -871,8 +852,8 @@ var Checkbox = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (i
|
|
|
871
852
|
}));
|
|
872
853
|
Checkbox.displayName = 'Checkbox';
|
|
873
854
|
|
|
874
|
-
function ownKeys$
|
|
875
|
-
function _objectSpread$
|
|
855
|
+
function ownKeys$d(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; }
|
|
856
|
+
function _objectSpread$d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$d(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
876
857
|
var RowCheckbox = /*#__PURE__*/React.memo(function (props) {
|
|
877
858
|
var mergeProps = useMergeProps();
|
|
878
859
|
var getColumnProps = function getColumnProps() {
|
|
@@ -907,7 +888,7 @@ var RowCheckbox = /*#__PURE__*/React.memo(function (props) {
|
|
|
907
888
|
className: cx('checkIcon')
|
|
908
889
|
}, getColumnPTOptions('rowCheckbox.icon'));
|
|
909
890
|
var icon = props.checked ? props.checkIcon || /*#__PURE__*/React.createElement(CheckIcon, checkboxIconProps) : null;
|
|
910
|
-
var checkIcon = IconUtils.getJSXIcon(icon, _objectSpread$
|
|
891
|
+
var checkIcon = IconUtils.getJSXIcon(icon, _objectSpread$d({}, checkboxIconProps), {
|
|
911
892
|
props: props
|
|
912
893
|
});
|
|
913
894
|
var tabIndex = props.disabled ? null : '0';
|
|
@@ -970,8 +951,8 @@ var RadioButtonBase = ComponentBase.extend({
|
|
|
970
951
|
}
|
|
971
952
|
});
|
|
972
953
|
|
|
973
|
-
function ownKeys$
|
|
974
|
-
function _objectSpread$
|
|
954
|
+
function ownKeys$c(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; }
|
|
955
|
+
function _objectSpread$c(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$c(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$c(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
975
956
|
var RadioButton = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
976
957
|
var mergeProps = useMergeProps();
|
|
977
958
|
var context = React.useContext(PrimeReactContext);
|
|
@@ -1085,7 +1066,7 @@ var RadioButton = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function
|
|
|
1085
1066
|
delete rootProps.icon;
|
|
1086
1067
|
var createInputElement = function createInputElement() {
|
|
1087
1068
|
var ariaProps = ObjectUtils.reduceKeys(otherProps, DomHandler.ARIA_PROPS);
|
|
1088
|
-
var inputProps = mergeProps(_objectSpread$
|
|
1069
|
+
var inputProps = mergeProps(_objectSpread$c({
|
|
1089
1070
|
id: props.inputId,
|
|
1090
1071
|
type: 'radio',
|
|
1091
1072
|
name: props.name,
|
|
@@ -1165,8 +1146,8 @@ var RowRadioButton = /*#__PURE__*/React.memo(function (props) {
|
|
|
1165
1146
|
});
|
|
1166
1147
|
RowRadioButton.displayName = 'RowRadioButton';
|
|
1167
1148
|
|
|
1168
|
-
function ownKeys$
|
|
1169
|
-
function _objectSpread$
|
|
1149
|
+
function ownKeys$b(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; }
|
|
1150
|
+
function _objectSpread$b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$b(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1170
1151
|
var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
1171
1152
|
var mergeProps = useMergeProps();
|
|
1172
1153
|
var _React$useState = React.useState(props.editing),
|
|
@@ -1279,7 +1260,7 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1279
1260
|
};
|
|
1280
1261
|
var getCellCallbackParams = function getCellCallbackParams(event) {
|
|
1281
1262
|
var params = getCellParams();
|
|
1282
|
-
return _objectSpread$
|
|
1263
|
+
return _objectSpread$b({
|
|
1283
1264
|
originalEvent: event
|
|
1284
1265
|
}, params);
|
|
1285
1266
|
};
|
|
@@ -1316,9 +1297,9 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1316
1297
|
};
|
|
1317
1298
|
var switchCellToViewMode = function switchCellToViewMode(event, submit) {
|
|
1318
1299
|
var callbackParams = getCellCallbackParams(event);
|
|
1319
|
-
var newRowData = _objectSpread$
|
|
1300
|
+
var newRowData = _objectSpread$b({}, editingRowDataStateRef.current);
|
|
1320
1301
|
var newValue = resolveFieldData(newRowData);
|
|
1321
|
-
var params = _objectSpread$
|
|
1302
|
+
var params = _objectSpread$b(_objectSpread$b({}, callbackParams), {}, {
|
|
1322
1303
|
newRowData: newRowData,
|
|
1323
1304
|
newValue: newValue
|
|
1324
1305
|
});
|
|
@@ -1385,7 +1366,7 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1385
1366
|
};
|
|
1386
1367
|
var updateStickyPosition = function updateStickyPosition() {
|
|
1387
1368
|
if (getColumnProp('frozen')) {
|
|
1388
|
-
var styleObject = _objectSpread$
|
|
1369
|
+
var styleObject = _objectSpread$b({}, styleObjectState);
|
|
1389
1370
|
var align = getColumnProp('alignFrozen');
|
|
1390
1371
|
if (align === 'right') {
|
|
1391
1372
|
var right = 0;
|
|
@@ -1407,7 +1388,7 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1407
1388
|
}
|
|
1408
1389
|
};
|
|
1409
1390
|
var editorCallback = function editorCallback(val) {
|
|
1410
|
-
var editingRowData = _objectSpread$
|
|
1391
|
+
var editingRowData = _objectSpread$b({}, editingRowDataState);
|
|
1411
1392
|
ObjectUtils.mutateFieldData(editingRowData, field, val);
|
|
1412
1393
|
setEditingRowDataState(editingRowData);
|
|
1413
1394
|
|
|
@@ -1620,7 +1601,7 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1620
1601
|
React.useEffect(function () {
|
|
1621
1602
|
if (props.editMode === 'cell' || props.editMode === 'row') {
|
|
1622
1603
|
var callbackParams = getCellCallbackParams();
|
|
1623
|
-
var params = _objectSpread$
|
|
1604
|
+
var params = _objectSpread$b(_objectSpread$b({}, callbackParams), {}, {
|
|
1624
1605
|
editing: editingState,
|
|
1625
1606
|
editingKey: editingKey
|
|
1626
1607
|
});
|
|
@@ -1734,7 +1715,7 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1734
1715
|
className: cx('rowReorderIcon')
|
|
1735
1716
|
}, customIcon ? null : getColumnPTOptions('rowReorderIcon'));
|
|
1736
1717
|
var rowReorderIcon = customIcon || /*#__PURE__*/React.createElement(BarsIcon, rowReorderIconProps);
|
|
1737
|
-
content = showReorder ? IconUtils.getJSXIcon(rowReorderIcon, _objectSpread$
|
|
1718
|
+
content = showReorder ? IconUtils.getJSXIcon(rowReorderIcon, _objectSpread$b({}, rowReorderIconProps), {
|
|
1738
1719
|
props: props
|
|
1739
1720
|
}) : null;
|
|
1740
1721
|
} else if (expander) {
|
|
@@ -1743,7 +1724,7 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1743
1724
|
'aria-hidden': true
|
|
1744
1725
|
}, getColumnPTOptions('rowTogglerIcon'));
|
|
1745
1726
|
var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React.createElement(ChevronDownIcon, rowTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React.createElement(ChevronRightIcon, rowTogglerIconProps);
|
|
1746
|
-
var togglerIcon = IconUtils.getJSXIcon(icon, _objectSpread$
|
|
1727
|
+
var togglerIcon = IconUtils.getJSXIcon(icon, _objectSpread$b({}, rowTogglerIconProps), {
|
|
1747
1728
|
props: props
|
|
1748
1729
|
});
|
|
1749
1730
|
var ariaControls = "".concat(props.tableSelector, "_content_").concat(props.rowIndex, "_expanded");
|
|
@@ -1754,7 +1735,7 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1754
1735
|
onClick: onRowToggle,
|
|
1755
1736
|
className: cx('rowToggler')
|
|
1756
1737
|
};
|
|
1757
|
-
var rowTogglerProps = mergeProps(_objectSpread$
|
|
1738
|
+
var rowTogglerProps = mergeProps(_objectSpread$b(_objectSpread$b({}, expanderProps), {}, {
|
|
1758
1739
|
type: 'button',
|
|
1759
1740
|
'aria-expanded': props.expanded,
|
|
1760
1741
|
'aria-controls': ariaControls,
|
|
@@ -1784,13 +1765,13 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1784
1765
|
var rowEditorInitIconProps = mergeProps({
|
|
1785
1766
|
className: cx('rowEditorInitIcon')
|
|
1786
1767
|
}, getColumnPTOptions('rowEditorInitIcon'));
|
|
1787
|
-
var rowEditorSaveIcon = IconUtils.getJSXIcon(props.rowEditorSaveIcon || /*#__PURE__*/React.createElement(CheckIcon, rowEditorSaveIconProps), _objectSpread$
|
|
1768
|
+
var rowEditorSaveIcon = IconUtils.getJSXIcon(props.rowEditorSaveIcon || /*#__PURE__*/React.createElement(CheckIcon, rowEditorSaveIconProps), _objectSpread$b({}, rowEditorSaveIconProps), {
|
|
1788
1769
|
props: props
|
|
1789
1770
|
});
|
|
1790
|
-
var rowEditorCancelIcon = IconUtils.getJSXIcon(props.rowEditorCancelIcon || /*#__PURE__*/React.createElement(TimesIcon, rowEditorCancelIconProps), _objectSpread$
|
|
1771
|
+
var rowEditorCancelIcon = IconUtils.getJSXIcon(props.rowEditorCancelIcon || /*#__PURE__*/React.createElement(TimesIcon, rowEditorCancelIconProps), _objectSpread$b({}, rowEditorCancelIconProps), {
|
|
1791
1772
|
props: props
|
|
1792
1773
|
});
|
|
1793
|
-
var rowEditorInitIcon = IconUtils.getJSXIcon(props.rowEditorInitIcon || /*#__PURE__*/React.createElement(PencilIcon, rowEditorInitIconProps), _objectSpread$
|
|
1774
|
+
var rowEditorInitIcon = IconUtils.getJSXIcon(props.rowEditorInitIcon || /*#__PURE__*/React.createElement(PencilIcon, rowEditorInitIconProps), _objectSpread$b({}, rowEditorInitIconProps), {
|
|
1794
1775
|
props: props
|
|
1795
1776
|
});
|
|
1796
1777
|
if (editingState) {
|
|
@@ -1932,8 +1913,8 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1932
1913
|
});
|
|
1933
1914
|
BodyCell.displayName = 'BodyCell';
|
|
1934
1915
|
|
|
1935
|
-
function ownKeys$
|
|
1936
|
-
function _objectSpread$
|
|
1916
|
+
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; }
|
|
1917
|
+
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; }
|
|
1937
1918
|
var BodyRow = /*#__PURE__*/React.memo(function (props) {
|
|
1938
1919
|
var mergeProps = useMergeProps();
|
|
1939
1920
|
var _React$useState = React.useState(false),
|
|
@@ -2239,7 +2220,7 @@ var BodyRow = /*#__PURE__*/React.memo(function (props) {
|
|
|
2239
2220
|
newData = e.newData;
|
|
2240
2221
|
if (dataKey) {
|
|
2241
2222
|
var dataKeyValue = String(ObjectUtils.resolveFieldData(data, dataKey));
|
|
2242
|
-
editingRows = props.editingRows ? _objectSpread$
|
|
2223
|
+
editingRows = props.editingRows ? _objectSpread$a({}, props.editingRows) : {};
|
|
2243
2224
|
if (!isEditing) {
|
|
2244
2225
|
delete editingRows[dataKeyValue];
|
|
2245
2226
|
// if the key value was changed, stop editing for the new key value too
|
|
@@ -2452,8 +2433,8 @@ var BodyRow = /*#__PURE__*/React.memo(function (props) {
|
|
|
2452
2433
|
});
|
|
2453
2434
|
BodyRow.displayName = 'BodyRow';
|
|
2454
2435
|
|
|
2455
|
-
function ownKeys$
|
|
2456
|
-
function _objectSpread$
|
|
2436
|
+
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; }
|
|
2437
|
+
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; }
|
|
2457
2438
|
var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
|
|
2458
2439
|
var mergeProps = useMergeProps();
|
|
2459
2440
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
@@ -2486,7 +2467,7 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
|
|
|
2486
2467
|
'aria-hidden': true
|
|
2487
2468
|
}, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
|
|
2488
2469
|
var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React.createElement(ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React.createElement(ChevronRightIcon, rowGroupTogglerIconProps);
|
|
2489
|
-
var togglerIcon = IconUtils.getJSXIcon(icon, _objectSpread$
|
|
2470
|
+
var togglerIcon = IconUtils.getJSXIcon(icon, _objectSpread$9({}, rowGroupTogglerIconProps), {
|
|
2490
2471
|
props: props
|
|
2491
2472
|
});
|
|
2492
2473
|
var label = props.expanded ? ariaLabel$1('collapseLabel') : ariaLabel$1('expandLabel');
|
|
@@ -2503,9 +2484,9 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
|
|
|
2503
2484
|
});
|
|
2504
2485
|
RowTogglerButton.displayName = 'RowTogglerButton';
|
|
2505
2486
|
|
|
2506
|
-
var _excluded = ["originalEvent"];
|
|
2507
|
-
function ownKeys$
|
|
2508
|
-
function _objectSpread$
|
|
2487
|
+
var _excluded$2 = ["originalEvent"];
|
|
2488
|
+
function ownKeys$8(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; }
|
|
2489
|
+
function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$8(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$8(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2509
2490
|
var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
2510
2491
|
var mergeProps = useMergeProps();
|
|
2511
2492
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
@@ -2668,6 +2649,9 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
2668
2649
|
options = options || props.virtualScrollerOptions;
|
|
2669
2650
|
return options ? options[option] : null;
|
|
2670
2651
|
};
|
|
2652
|
+
var getProcessedDataIndex = function getProcessedDataIndex(rowIndex) {
|
|
2653
|
+
return props.lazy ? rowIndex - props.first : rowIndex;
|
|
2654
|
+
};
|
|
2671
2655
|
var findIndex = function findIndex(collection, rowData) {
|
|
2672
2656
|
return (collection || []).findIndex(function (data) {
|
|
2673
2657
|
return equals(rowData, data);
|
|
@@ -2832,14 +2816,16 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
2832
2816
|
var rangeStart;
|
|
2833
2817
|
var rangeEnd;
|
|
2834
2818
|
var isAllowCellSelection = allowCellSelection();
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2819
|
+
var rangeRowIndexInProcessedData = getProcessedDataIndex(rangeRowIndex.current);
|
|
2820
|
+
var anchorRowIndexInProcessedData = getProcessedDataIndex(anchorRowIndex.current);
|
|
2821
|
+
if (rangeRowIndexInProcessedData > anchorRowIndexInProcessedData) {
|
|
2822
|
+
rangeStart = anchorRowIndexInProcessedData;
|
|
2823
|
+
rangeEnd = rangeRowIndexInProcessedData;
|
|
2824
|
+
} else if (rangeRowIndexInProcessedData < anchorRowIndexInProcessedData) {
|
|
2825
|
+
rangeStart = rangeRowIndexInProcessedData;
|
|
2826
|
+
rangeEnd = anchorRowIndexInProcessedData;
|
|
2841
2827
|
} else {
|
|
2842
|
-
rangeStart = rangeEnd =
|
|
2828
|
+
rangeStart = rangeEnd = rangeRowIndexInProcessedData;
|
|
2843
2829
|
}
|
|
2844
2830
|
return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
|
|
2845
2831
|
};
|
|
@@ -2880,7 +2866,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
2880
2866
|
for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
|
|
2881
2867
|
var rowData = value[i];
|
|
2882
2868
|
var columns = props.columns;
|
|
2883
|
-
var rowIndex = props.
|
|
2869
|
+
var rowIndex = props.lazy ? i + props.first : i;
|
|
2884
2870
|
for (var j = cellRangeStart; j <= cellRangeEnd; j++) {
|
|
2885
2871
|
var field = getColumnProp(columns[j], 'field');
|
|
2886
2872
|
var _value = ObjectUtils.resolveFieldData(rowData, field);
|
|
@@ -2910,7 +2896,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
2910
2896
|
};
|
|
2911
2897
|
var onSelect = function onSelect(event) {
|
|
2912
2898
|
if (allowCellSelection()) {
|
|
2913
|
-
props.onCellSelect && props.onCellSelect(_objectSpread$
|
|
2899
|
+
props.onCellSelect && props.onCellSelect(_objectSpread$8(_objectSpread$8({
|
|
2914
2900
|
originalEvent: event.originalEvent
|
|
2915
2901
|
}, event.data), {}, {
|
|
2916
2902
|
type: event.type
|
|
@@ -2921,7 +2907,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
2921
2907
|
};
|
|
2922
2908
|
var onUnselect = function onUnselect(event) {
|
|
2923
2909
|
if (allowCellSelection()) {
|
|
2924
|
-
props.onCellUnselect && props.onCellUnselect(_objectSpread$
|
|
2910
|
+
props.onCellUnselect && props.onCellUnselect(_objectSpread$8(_objectSpread$8({
|
|
2925
2911
|
originalEvent: event.originalEvent
|
|
2926
2912
|
}, event.data), {}, {
|
|
2927
2913
|
type: event.type
|
|
@@ -2983,12 +2969,12 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
2983
2969
|
rangeRowIndex.current = event.index;
|
|
2984
2970
|
anchorRowFirst.current = props.first;
|
|
2985
2971
|
if (isSingleSelection()) {
|
|
2986
|
-
onSingleSelection(_objectSpread$
|
|
2972
|
+
onSingleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
2987
2973
|
toggleable: toggleable,
|
|
2988
2974
|
type: 'row'
|
|
2989
2975
|
}));
|
|
2990
2976
|
} else {
|
|
2991
|
-
onMultipleSelection(_objectSpread$
|
|
2977
|
+
onMultipleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
2992
2978
|
toggleable: toggleable,
|
|
2993
2979
|
type: 'row'
|
|
2994
2980
|
}));
|
|
@@ -3085,7 +3071,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3085
3071
|
var hasDataKey = props.groupRowsBy ? dataKey === props.groupRowsBy : !!dataKey;
|
|
3086
3072
|
if (hasDataKey) {
|
|
3087
3073
|
var dataKeyValue = String(ObjectUtils.resolveFieldData(event.data, dataKey));
|
|
3088
|
-
expandedRows = props.expandedRows ? _objectSpread$
|
|
3074
|
+
expandedRows = props.expandedRows ? _objectSpread$8({}, props.expandedRows) : {};
|
|
3089
3075
|
if (expandedRows[dataKeyValue] != null) {
|
|
3090
3076
|
delete expandedRows[dataKeyValue];
|
|
3091
3077
|
if (props.onRowCollapse) {
|
|
@@ -3221,13 +3207,13 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3221
3207
|
event.preventDefault();
|
|
3222
3208
|
};
|
|
3223
3209
|
var onRadioChange = function onRadioChange(event) {
|
|
3224
|
-
onSingleSelection(_objectSpread$
|
|
3210
|
+
onSingleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
3225
3211
|
toggleable: true,
|
|
3226
3212
|
type: 'radio'
|
|
3227
3213
|
}));
|
|
3228
3214
|
};
|
|
3229
3215
|
var onCheckboxChange = function onCheckboxChange(event) {
|
|
3230
|
-
onMultipleSelection(_objectSpread$
|
|
3216
|
+
onMultipleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
3231
3217
|
toggleable: true,
|
|
3232
3218
|
type: 'checkbox'
|
|
3233
3219
|
}));
|
|
@@ -3267,7 +3253,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3267
3253
|
} else {
|
|
3268
3254
|
var toggleable = allowMetaKeySelection(event);
|
|
3269
3255
|
var originalEvent = event.originalEvent,
|
|
3270
|
-
data = _objectWithoutProperties(event, _excluded);
|
|
3256
|
+
data = _objectWithoutProperties(event, _excluded$2);
|
|
3271
3257
|
anchorRowIndex.current = event.rowIndex;
|
|
3272
3258
|
rangeRowIndex.current = event.rowIndex;
|
|
3273
3259
|
anchorRowFirst.current = props.first;
|
|
@@ -3345,7 +3331,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3345
3331
|
var emptyMessageProps = mergeProps({
|
|
3346
3332
|
className: cx('emptyMessage'),
|
|
3347
3333
|
role: 'row'
|
|
3348
|
-
},
|
|
3334
|
+
}, ptm('emptyMessage'));
|
|
3349
3335
|
var bodyCellProps = mergeProps({
|
|
3350
3336
|
colSpan: colSpan,
|
|
3351
3337
|
role: 'cell'
|
|
@@ -3355,7 +3341,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3355
3341
|
return null;
|
|
3356
3342
|
};
|
|
3357
3343
|
var createGroupHeader = function createGroupHeader(rowData, rowIndex, expanded, colSpan) {
|
|
3358
|
-
if (isSubheaderGrouping && shouldRenderRowGroupHeader(props.value, rowData, rowIndex
|
|
3344
|
+
if (isSubheaderGrouping && shouldRenderRowGroupHeader(props.value, rowData, getProcessedDataIndex(rowIndex))) {
|
|
3359
3345
|
var style = rowGroupHeaderStyle();
|
|
3360
3346
|
var toggler = props.expandableRowGroups && /*#__PURE__*/React.createElement(RowTogglerButton, {
|
|
3361
3347
|
hostName: props.hostName,
|
|
@@ -3382,14 +3368,14 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3382
3368
|
}, getColumnPTOptions('root'), getColumnPTOptions('bodyCell'));
|
|
3383
3369
|
var rowGroupHeaderNameProps = mergeProps({
|
|
3384
3370
|
className: cx('rowGroupHeaderName')
|
|
3385
|
-
},
|
|
3371
|
+
}, ptm('rowGroupHeaderName'));
|
|
3386
3372
|
_content2 = /*#__PURE__*/React.createElement("td", bodyCellProps, toggler, /*#__PURE__*/React.createElement("span", rowGroupHeaderNameProps, _content2));
|
|
3387
3373
|
}
|
|
3388
3374
|
var rowGroupHeaderProps = mergeProps({
|
|
3389
3375
|
className: cx('rowGroupHeader'),
|
|
3390
3376
|
style: style,
|
|
3391
3377
|
role: 'row'
|
|
3392
|
-
},
|
|
3378
|
+
}, ptm('rowGroupHeader'));
|
|
3393
3379
|
return /*#__PURE__*/React.createElement("tr", rowGroupHeaderProps, _content2);
|
|
3394
3380
|
}
|
|
3395
3381
|
return null;
|
|
@@ -3497,7 +3483,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3497
3483
|
id: id,
|
|
3498
3484
|
className: cx('rowExpansion'),
|
|
3499
3485
|
role: 'row'
|
|
3500
|
-
},
|
|
3486
|
+
}, ptm('rowExpansion'));
|
|
3501
3487
|
return /*#__PURE__*/React.createElement("tr", rowExpansionProps, _content3);
|
|
3502
3488
|
}
|
|
3503
3489
|
return null;
|
|
@@ -3512,7 +3498,7 @@ var TableBody = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (
|
|
|
3512
3498
|
var rowGroupFooterProps = mergeProps({
|
|
3513
3499
|
className: cx('rowGroupFooter'),
|
|
3514
3500
|
role: 'row'
|
|
3515
|
-
},
|
|
3501
|
+
}, ptm('rowGroupFooter'));
|
|
3516
3502
|
return /*#__PURE__*/React.createElement("tr", rowGroupFooterProps, _content4);
|
|
3517
3503
|
}
|
|
3518
3504
|
return null;
|
|
@@ -3574,8 +3560,8 @@ var RowBase = ComponentBase.extend({
|
|
|
3574
3560
|
}
|
|
3575
3561
|
});
|
|
3576
3562
|
|
|
3577
|
-
function ownKeys$
|
|
3578
|
-
function _objectSpread$
|
|
3563
|
+
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; }
|
|
3564
|
+
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; }
|
|
3579
3565
|
var FooterCell = /*#__PURE__*/React.memo(function (props) {
|
|
3580
3566
|
var _React$useState = React.useState({}),
|
|
3581
3567
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -3619,7 +3605,7 @@ var FooterCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
3619
3605
|
};
|
|
3620
3606
|
var updateStickyPosition = function updateStickyPosition() {
|
|
3621
3607
|
if (getColumnProp('frozen')) {
|
|
3622
|
-
var styleObject = _objectSpread$
|
|
3608
|
+
var styleObject = _objectSpread$7({}, styleObjectState);
|
|
3623
3609
|
var _align = getColumnProp('alignFrozen');
|
|
3624
3610
|
if (_align === 'right') {
|
|
3625
3611
|
var right = 0;
|
|
@@ -3668,6 +3654,9 @@ var FooterCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
3668
3654
|
});
|
|
3669
3655
|
FooterCell.displayName = 'FooterCell';
|
|
3670
3656
|
|
|
3657
|
+
var _excluded$1 = ["unstyled", "__TYPE", "ptOptions"];
|
|
3658
|
+
function ownKeys$6(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; }
|
|
3659
|
+
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3671
3660
|
var TableFooter = /*#__PURE__*/React.memo(function (props) {
|
|
3672
3661
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
3673
3662
|
ptm = _props$ptCallbacks.ptm,
|
|
@@ -3733,9 +3722,16 @@ var TableFooter = /*#__PURE__*/React.memo(function (props) {
|
|
|
3733
3722
|
if (props.footerColumnGroup) {
|
|
3734
3723
|
var rows = React.Children.toArray(ColumnGroupBase.getCProp(props.footerColumnGroup, 'children'));
|
|
3735
3724
|
return rows.map(function (row, i) {
|
|
3725
|
+
var _RowBase$getProps = RowBase.getProps(row.props, context),
|
|
3726
|
+
unstyled = _RowBase$getProps.unstyled;
|
|
3727
|
+
_RowBase$getProps.__TYPE;
|
|
3728
|
+
_RowBase$getProps.ptOptions;
|
|
3729
|
+
var rest = _objectWithoutProperties(_RowBase$getProps, _excluded$1);
|
|
3736
3730
|
var rootProps = mergeProps({
|
|
3737
3731
|
role: 'row'
|
|
3738
|
-
},
|
|
3732
|
+
}, unstyled ? _objectSpread$6({
|
|
3733
|
+
unstyled: unstyled
|
|
3734
|
+
}, rest) : rest, getRowPTOptions(row, 'root'));
|
|
3739
3735
|
return /*#__PURE__*/React.createElement("tr", _extends({}, rootProps, {
|
|
3740
3736
|
key: i
|
|
3741
3737
|
}), createGroupFooterCells(row));
|
|
@@ -3762,28 +3758,20 @@ var TableFooter = /*#__PURE__*/React.memo(function (props) {
|
|
|
3762
3758
|
});
|
|
3763
3759
|
TableFooter.displayName = 'TableFooter';
|
|
3764
3760
|
|
|
3765
|
-
function _defineProperties(
|
|
3766
|
-
for (var
|
|
3767
|
-
var
|
|
3768
|
-
|
|
3769
|
-
descriptor.configurable = true;
|
|
3770
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
3771
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
3761
|
+
function _defineProperties(e, r) {
|
|
3762
|
+
for (var t = 0; t < r.length; t++) {
|
|
3763
|
+
var o = r[t];
|
|
3764
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
3772
3765
|
}
|
|
3773
3766
|
}
|
|
3774
|
-
function _createClass(
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
writable: false
|
|
3779
|
-
});
|
|
3780
|
-
return Constructor;
|
|
3767
|
+
function _createClass(e, r, t) {
|
|
3768
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
3769
|
+
writable: !1
|
|
3770
|
+
}), e;
|
|
3781
3771
|
}
|
|
3782
3772
|
|
|
3783
|
-
function _classCallCheck(
|
|
3784
|
-
if (!(
|
|
3785
|
-
throw new TypeError("Cannot call a class as a function");
|
|
3786
|
-
}
|
|
3773
|
+
function _classCallCheck(a, n) {
|
|
3774
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
3787
3775
|
}
|
|
3788
3776
|
|
|
3789
3777
|
var FilterMatchMode = Object.freeze({
|
|
@@ -3939,6 +3927,7 @@ var locales = {
|
|
|
3939
3927
|
jumpToPageDropdownLabel: 'Jump to Page Dropdown',
|
|
3940
3928
|
jumpToPageInputLabel: 'Jump to Page Input',
|
|
3941
3929
|
lastPageLabel: 'Last Page',
|
|
3930
|
+
listLabel: 'Option List',
|
|
3942
3931
|
listView: 'List View',
|
|
3943
3932
|
moveAllToSource: 'Move All to Source',
|
|
3944
3933
|
moveAllToTarget: 'Move All to Target',
|
|
@@ -3957,7 +3946,7 @@ var locales = {
|
|
|
3957
3946
|
passwordHide: 'Hide Password',
|
|
3958
3947
|
passwordShow: 'Show Password',
|
|
3959
3948
|
previous: 'Previous',
|
|
3960
|
-
|
|
3949
|
+
prevPageLabel: 'Previous Page',
|
|
3961
3950
|
rotateLeft: 'Rotate Left',
|
|
3962
3951
|
rotateRight: 'Rotate Right',
|
|
3963
3952
|
rowsPerPageLabel: 'Rows per page',
|
|
@@ -5419,6 +5408,7 @@ var HeaderCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
5419
5408
|
});
|
|
5420
5409
|
HeaderCell.displayName = 'HeaderCell';
|
|
5421
5410
|
|
|
5411
|
+
var _excluded = ["unstyled", "__TYPE", "ptOptions"];
|
|
5422
5412
|
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; }
|
|
5423
5413
|
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; }
|
|
5424
5414
|
var TableHeader = /*#__PURE__*/React.memo(function (props) {
|
|
@@ -5645,9 +5635,16 @@ var TableHeader = /*#__PURE__*/React.memo(function (props) {
|
|
|
5645
5635
|
if (props.headerColumnGroup) {
|
|
5646
5636
|
var rows = React.Children.toArray(ColumnGroupBase.getCProp(props.headerColumnGroup, 'children'));
|
|
5647
5637
|
return rows.map(function (row, i) {
|
|
5638
|
+
var _RowBase$getProps = RowBase.getProps(row.props, context),
|
|
5639
|
+
unstyled = _RowBase$getProps.unstyled;
|
|
5640
|
+
_RowBase$getProps.__TYPE;
|
|
5641
|
+
_RowBase$getProps.ptOptions;
|
|
5642
|
+
var rest = _objectWithoutProperties(_RowBase$getProps, _excluded);
|
|
5648
5643
|
var headerRowProps = mergeProps({
|
|
5649
5644
|
role: 'row'
|
|
5650
|
-
},
|
|
5645
|
+
}, unstyled ? _objectSpread$1({
|
|
5646
|
+
unstyled: unstyled
|
|
5647
|
+
}, rest) : rest, getRowPTOptions(row, 'root'));
|
|
5651
5648
|
return /*#__PURE__*/React.createElement("tr", _extends({}, headerRowProps, {
|
|
5652
5649
|
key: i
|
|
5653
5650
|
}), createGroupHeaderCells(row));
|
|
@@ -5673,9 +5670,9 @@ var TableHeader = /*#__PURE__*/React.memo(function (props) {
|
|
|
5673
5670
|
});
|
|
5674
5671
|
TableHeader.displayName = 'TableHeader';
|
|
5675
5672
|
|
|
5676
|
-
function _createForOfIteratorHelper(
|
|
5677
|
-
function _unsupportedIterableToArray(
|
|
5678
|
-
function _arrayLikeToArray(
|
|
5673
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
5674
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
5675
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5679
5676
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5680
5677
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5681
5678
|
var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
@@ -5718,14 +5715,18 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
5718
5715
|
_React$useState18 = _slicedToArray(_React$useState17, 2),
|
|
5719
5716
|
editingMetaState = _React$useState18[0],
|
|
5720
5717
|
setEditingMetaState = _React$useState18[1];
|
|
5721
|
-
var _React$useState19 = React.useState(
|
|
5718
|
+
var _React$useState19 = React.useState({}),
|
|
5722
5719
|
_React$useState20 = _slicedToArray(_React$useState19, 2),
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
var _React$useState21 = React.useState(
|
|
5720
|
+
frozenEditingMetaState = _React$useState20[0],
|
|
5721
|
+
setFrozenEditingMetaState = _React$useState20[1];
|
|
5722
|
+
var _React$useState21 = React.useState(props.rows),
|
|
5726
5723
|
_React$useState22 = _slicedToArray(_React$useState21, 2),
|
|
5727
|
-
|
|
5728
|
-
|
|
5724
|
+
d_rowsState = _React$useState22[0],
|
|
5725
|
+
setD_rowsState = _React$useState22[1];
|
|
5726
|
+
var _React$useState23 = React.useState({}),
|
|
5727
|
+
_React$useState24 = _slicedToArray(_React$useState23, 2),
|
|
5728
|
+
d_filtersState = _React$useState24[0],
|
|
5729
|
+
setD_filtersState = _React$useState24[1];
|
|
5729
5730
|
var metaData = {
|
|
5730
5731
|
props: props,
|
|
5731
5732
|
state: {
|
|
@@ -5738,6 +5739,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
5738
5739
|
columnOrder: columnOrderState,
|
|
5739
5740
|
groupRowsSortMeta: groupRowsSortMetaState,
|
|
5740
5741
|
editingMeta: editingMetaState,
|
|
5742
|
+
frozenEditingMeta: frozenEditingMetaState,
|
|
5741
5743
|
d_rows: d_rowsState,
|
|
5742
5744
|
d_filters: d_filtersState
|
|
5743
5745
|
},
|
|
@@ -6142,6 +6144,32 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
6142
6144
|
setEditingMetaState({});
|
|
6143
6145
|
}
|
|
6144
6146
|
};
|
|
6147
|
+
var onFrozenEditingMetaChange = function onFrozenEditingMetaChange(e) {
|
|
6148
|
+
var rowData = e.rowData,
|
|
6149
|
+
field = e.field,
|
|
6150
|
+
editingKey = e.editingKey,
|
|
6151
|
+
editing = e.editing;
|
|
6152
|
+
var frozenEditingMeta = _objectSpread({}, frozenEditingMetaState);
|
|
6153
|
+
var meta = frozenEditingMeta[editingKey];
|
|
6154
|
+
if (editing) {
|
|
6155
|
+
!meta && (meta = frozenEditingMeta[editingKey] = {
|
|
6156
|
+
data: _objectSpread({}, rowData),
|
|
6157
|
+
fields: []
|
|
6158
|
+
});
|
|
6159
|
+
meta.fields.push(field);
|
|
6160
|
+
} else if (meta) {
|
|
6161
|
+
var fields = meta.fields.filter(function (f) {
|
|
6162
|
+
return f !== field;
|
|
6163
|
+
});
|
|
6164
|
+
!fields.length ? delete frozenEditingMeta[editingKey] : meta.fields = fields;
|
|
6165
|
+
}
|
|
6166
|
+
setFrozenEditingMetaState(frozenEditingMeta);
|
|
6167
|
+
};
|
|
6168
|
+
var clearFrozenEditingMetaData = function clearFrozenEditingMetaData() {
|
|
6169
|
+
if (props.editMode && ObjectUtils.isNotEmpty(frozenEditingMetaState)) {
|
|
6170
|
+
setFrozenEditingMetaState({});
|
|
6171
|
+
}
|
|
6172
|
+
};
|
|
6145
6173
|
var onColumnResizeStart = function onColumnResizeStart(e) {
|
|
6146
6174
|
createBeforeResizeStyleElement();
|
|
6147
6175
|
var event = e.originalEvent,
|
|
@@ -6432,6 +6460,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
6432
6460
|
};
|
|
6433
6461
|
var onPageChange = function onPageChange(e) {
|
|
6434
6462
|
clearEditingMetaData();
|
|
6463
|
+
clearFrozenEditingMetaData();
|
|
6435
6464
|
if (props.onPage) {
|
|
6436
6465
|
props.onPage(createEvent(e));
|
|
6437
6466
|
} else {
|
|
@@ -6444,6 +6473,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
6444
6473
|
};
|
|
6445
6474
|
var onSortChange = function onSortChange(e) {
|
|
6446
6475
|
clearEditingMetaData();
|
|
6476
|
+
clearFrozenEditingMetaData();
|
|
6447
6477
|
var event = e.originalEvent,
|
|
6448
6478
|
column = e.column,
|
|
6449
6479
|
sortableDisabledFields = e.sortableDisabledFields;
|
|
@@ -6621,6 +6651,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
6621
6651
|
};
|
|
6622
6652
|
var onFilterChange = function onFilterChange(filters) {
|
|
6623
6653
|
clearEditingMetaData();
|
|
6654
|
+
clearFrozenEditingMetaData();
|
|
6624
6655
|
setD_filtersState(filters);
|
|
6625
6656
|
};
|
|
6626
6657
|
var onFilterApply = function onFilterApply(filtersToApply) {
|
|
@@ -6810,6 +6841,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
6810
6841
|
setD_filtersState(cloneFilters(props.filters));
|
|
6811
6842
|
setGroupRowsSortMetaState(null);
|
|
6812
6843
|
setEditingMetaState({});
|
|
6844
|
+
setFrozenEditingMetaState({});
|
|
6813
6845
|
if (!props.onPage) {
|
|
6814
6846
|
setFirstState(props.first);
|
|
6815
6847
|
setRowsState(props.rows);
|
|
@@ -7174,7 +7206,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
7174
7206
|
dataKey: props.dataKey,
|
|
7175
7207
|
dragSelection: props.dragSelection,
|
|
7176
7208
|
editMode: props.editMode,
|
|
7177
|
-
editingMeta:
|
|
7209
|
+
editingMeta: frozenEditingMetaState,
|
|
7178
7210
|
editingRows: props.editingRows,
|
|
7179
7211
|
emptyMessage: props.emptyMessage,
|
|
7180
7212
|
expandableRowGroups: props.expandableRowGroups,
|
|
@@ -7193,7 +7225,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
7193
7225
|
onCellUnselect: props.onCellUnselect,
|
|
7194
7226
|
onContextMenu: props.onContextMenu,
|
|
7195
7227
|
onContextMenuSelectionChange: props.onContextMenuSelectionChange,
|
|
7196
|
-
onEditingMetaChange:
|
|
7228
|
+
onEditingMetaChange: onFrozenEditingMetaChange,
|
|
7197
7229
|
onRowClick: props.onRowClick,
|
|
7198
7230
|
onRowCollapse: props.onRowCollapse,
|
|
7199
7231
|
onRowDoubleClick: props.onRowDoubleClick,
|