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
package/datatable/datatable.js
CHANGED
|
@@ -27,18 +27,13 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
27
27
|
var PrimeReact__default = /*#__PURE__*/_interopDefaultLegacy(PrimeReact$1);
|
|
28
28
|
|
|
29
29
|
function _extends() {
|
|
30
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
31
|
-
for (var
|
|
32
|
-
var
|
|
33
|
-
for (var
|
|
34
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
35
|
-
target[key] = source[key];
|
|
36
|
-
}
|
|
37
|
-
}
|
|
30
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
31
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
32
|
+
var t = arguments[e];
|
|
33
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
38
34
|
}
|
|
39
|
-
return
|
|
40
|
-
};
|
|
41
|
-
return _extends.apply(this, arguments);
|
|
35
|
+
return n;
|
|
36
|
+
}, _extends.apply(null, arguments);
|
|
42
37
|
}
|
|
43
38
|
|
|
44
39
|
function _typeof(o) {
|
|
@@ -51,70 +46,63 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
51
46
|
}, _typeof(o);
|
|
52
47
|
}
|
|
53
48
|
|
|
54
|
-
function
|
|
55
|
-
if (
|
|
56
|
-
var
|
|
57
|
-
if (
|
|
58
|
-
var
|
|
59
|
-
if (
|
|
49
|
+
function toPrimitive(t, r) {
|
|
50
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
51
|
+
var e = t[Symbol.toPrimitive];
|
|
52
|
+
if (void 0 !== e) {
|
|
53
|
+
var i = e.call(t, r || "default");
|
|
54
|
+
if ("object" != _typeof(i)) return i;
|
|
60
55
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
61
56
|
}
|
|
62
|
-
return (
|
|
57
|
+
return ("string" === r ? String : Number)(t);
|
|
63
58
|
}
|
|
64
59
|
|
|
65
|
-
function
|
|
66
|
-
var
|
|
67
|
-
return _typeof(
|
|
60
|
+
function toPropertyKey(t) {
|
|
61
|
+
var i = toPrimitive(t, "string");
|
|
62
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
68
63
|
}
|
|
69
64
|
|
|
70
|
-
function _defineProperty(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
writable: true
|
|
78
|
-
});
|
|
79
|
-
} else {
|
|
80
|
-
obj[key] = value;
|
|
81
|
-
}
|
|
82
|
-
return obj;
|
|
65
|
+
function _defineProperty(e, r, t) {
|
|
66
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
67
|
+
value: t,
|
|
68
|
+
enumerable: !0,
|
|
69
|
+
configurable: !0,
|
|
70
|
+
writable: !0
|
|
71
|
+
}) : e[r] = t, e;
|
|
83
72
|
}
|
|
84
73
|
|
|
85
|
-
function _arrayLikeToArray$1(
|
|
86
|
-
|
|
87
|
-
for (var
|
|
88
|
-
return
|
|
74
|
+
function _arrayLikeToArray$1(r, a) {
|
|
75
|
+
(null == a || a > r.length) && (a = r.length);
|
|
76
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
77
|
+
return n;
|
|
89
78
|
}
|
|
90
79
|
|
|
91
|
-
function _arrayWithoutHoles(
|
|
92
|
-
if (Array.isArray(
|
|
80
|
+
function _arrayWithoutHoles(r) {
|
|
81
|
+
if (Array.isArray(r)) return _arrayLikeToArray$1(r);
|
|
93
82
|
}
|
|
94
83
|
|
|
95
|
-
function _iterableToArray(
|
|
96
|
-
if (typeof Symbol
|
|
84
|
+
function _iterableToArray(r) {
|
|
85
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
97
86
|
}
|
|
98
87
|
|
|
99
|
-
function _unsupportedIterableToArray$1(
|
|
100
|
-
if (
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
|
|
88
|
+
function _unsupportedIterableToArray$1(r, a) {
|
|
89
|
+
if (r) {
|
|
90
|
+
if ("string" == typeof r) return _arrayLikeToArray$1(r, a);
|
|
91
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
92
|
+
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;
|
|
93
|
+
}
|
|
106
94
|
}
|
|
107
95
|
|
|
108
96
|
function _nonIterableSpread() {
|
|
109
97
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
110
98
|
}
|
|
111
99
|
|
|
112
|
-
function _toConsumableArray(
|
|
113
|
-
return _arrayWithoutHoles(
|
|
100
|
+
function _toConsumableArray(r) {
|
|
101
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$1(r) || _nonIterableSpread();
|
|
114
102
|
}
|
|
115
103
|
|
|
116
|
-
function _arrayWithHoles(
|
|
117
|
-
if (Array.isArray(
|
|
104
|
+
function _arrayWithHoles(r) {
|
|
105
|
+
if (Array.isArray(r)) return r;
|
|
118
106
|
}
|
|
119
107
|
|
|
120
108
|
function _iterableToArrayLimit(r, l) {
|
|
@@ -149,8 +137,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
149
137
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
150
138
|
}
|
|
151
139
|
|
|
152
|
-
function _slicedToArray(
|
|
153
|
-
return _arrayWithHoles(
|
|
140
|
+
function _slicedToArray(r, e) {
|
|
141
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$1(r, e) || _nonIterableRest();
|
|
154
142
|
}
|
|
155
143
|
|
|
156
144
|
var getStorage = function getStorage(stateStorageProp) {
|
|
@@ -259,8 +247,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
259
247
|
}
|
|
260
248
|
});
|
|
261
249
|
|
|
262
|
-
function ownKeys$
|
|
263
|
-
function _objectSpread$
|
|
250
|
+
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; }
|
|
251
|
+
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; }
|
|
264
252
|
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";
|
|
265
253
|
var classes$2 = {
|
|
266
254
|
root: function root(_ref) {
|
|
@@ -455,11 +443,11 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
455
443
|
},
|
|
456
444
|
reorderIndicatorUp: function reorderIndicatorUp(_ref15) {
|
|
457
445
|
var style = _ref15.style;
|
|
458
|
-
return _objectSpread$
|
|
446
|
+
return _objectSpread$f({}, style);
|
|
459
447
|
},
|
|
460
448
|
reorderIndicatorDown: function reorderIndicatorDown(_ref16) {
|
|
461
449
|
var style = _ref16.style;
|
|
462
|
-
return _objectSpread$
|
|
450
|
+
return _objectSpread$f({}, style);
|
|
463
451
|
}
|
|
464
452
|
};
|
|
465
453
|
var DataTableBase = componentbase.ComponentBase.extend({
|
|
@@ -616,33 +604,26 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
616
604
|
}
|
|
617
605
|
});
|
|
618
606
|
|
|
619
|
-
function _objectWithoutPropertiesLoose(
|
|
620
|
-
if (
|
|
621
|
-
var
|
|
622
|
-
var
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
key = sourceKeys[i];
|
|
626
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
627
|
-
target[key] = source[key];
|
|
607
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
608
|
+
if (null == r) return {};
|
|
609
|
+
var t = {};
|
|
610
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
611
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
612
|
+
t[n] = r[n];
|
|
628
613
|
}
|
|
629
|
-
return
|
|
614
|
+
return t;
|
|
630
615
|
}
|
|
631
616
|
|
|
632
|
-
function _objectWithoutProperties(
|
|
633
|
-
if (
|
|
634
|
-
var
|
|
635
|
-
|
|
617
|
+
function _objectWithoutProperties(e, t) {
|
|
618
|
+
if (null == e) return {};
|
|
619
|
+
var o,
|
|
620
|
+
r,
|
|
621
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
636
622
|
if (Object.getOwnPropertySymbols) {
|
|
637
|
-
var
|
|
638
|
-
for (
|
|
639
|
-
key = sourceSymbolKeys[i];
|
|
640
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
641
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
642
|
-
target[key] = source[key];
|
|
643
|
-
}
|
|
623
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
624
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
644
625
|
}
|
|
645
|
-
return
|
|
626
|
+
return i;
|
|
646
627
|
}
|
|
647
628
|
|
|
648
629
|
var classes$1 = {
|
|
@@ -694,8 +675,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
694
675
|
}
|
|
695
676
|
});
|
|
696
677
|
|
|
697
|
-
function ownKeys$
|
|
698
|
-
function _objectSpread$
|
|
678
|
+
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; }
|
|
679
|
+
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; }
|
|
699
680
|
var Checkbox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
700
681
|
var mergeProps = hooks.useMergeProps();
|
|
701
682
|
var context = React__namespace.useContext(PrimeReact$1.PrimeReactContext);
|
|
@@ -812,7 +793,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
812
793
|
}, otherProps, ptm('root'));
|
|
813
794
|
var createInputElement = function createInputElement() {
|
|
814
795
|
var ariaProps = utils.ObjectUtils.reduceKeys(otherProps, utils.DomHandler.ARIA_PROPS);
|
|
815
|
-
var inputProps = mergeProps(_objectSpread$
|
|
796
|
+
var inputProps = mergeProps(_objectSpread$e({
|
|
816
797
|
id: props.inputId,
|
|
817
798
|
type: 'checkbox',
|
|
818
799
|
className: cx('input'),
|
|
@@ -849,7 +830,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
849
830
|
'data-p-disabled': props.disabled
|
|
850
831
|
}, ptm('box'));
|
|
851
832
|
var icon = checked ? props.icon || /*#__PURE__*/React__namespace.createElement(check.CheckIcon, iconProps) : null;
|
|
852
|
-
var checkboxIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$
|
|
833
|
+
var checkboxIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$e({}, iconProps), {
|
|
853
834
|
props: props,
|
|
854
835
|
checked: checked
|
|
855
836
|
});
|
|
@@ -865,8 +846,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
865
846
|
}));
|
|
866
847
|
Checkbox.displayName = 'Checkbox';
|
|
867
848
|
|
|
868
|
-
function ownKeys$
|
|
869
|
-
function _objectSpread$
|
|
849
|
+
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; }
|
|
850
|
+
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; }
|
|
870
851
|
var RowCheckbox = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
871
852
|
var mergeProps = hooks.useMergeProps();
|
|
872
853
|
var getColumnProps = function getColumnProps() {
|
|
@@ -901,7 +882,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
901
882
|
className: cx('checkIcon')
|
|
902
883
|
}, getColumnPTOptions('rowCheckbox.icon'));
|
|
903
884
|
var icon = props.checked ? props.checkIcon || /*#__PURE__*/React__namespace.createElement(check.CheckIcon, checkboxIconProps) : null;
|
|
904
|
-
var checkIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$
|
|
885
|
+
var checkIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$d({}, checkboxIconProps), {
|
|
905
886
|
props: props
|
|
906
887
|
});
|
|
907
888
|
var tabIndex = props.disabled ? null : '0';
|
|
@@ -964,8 +945,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
964
945
|
}
|
|
965
946
|
});
|
|
966
947
|
|
|
967
|
-
function ownKeys$
|
|
968
|
-
function _objectSpread$
|
|
948
|
+
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; }
|
|
949
|
+
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; }
|
|
969
950
|
var RadioButton = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
970
951
|
var mergeProps = hooks.useMergeProps();
|
|
971
952
|
var context = React__namespace.useContext(PrimeReact$1.PrimeReactContext);
|
|
@@ -1079,7 +1060,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1079
1060
|
delete rootProps.icon;
|
|
1080
1061
|
var createInputElement = function createInputElement() {
|
|
1081
1062
|
var ariaProps = utils.ObjectUtils.reduceKeys(otherProps, utils.DomHandler.ARIA_PROPS);
|
|
1082
|
-
var inputProps = mergeProps(_objectSpread$
|
|
1063
|
+
var inputProps = mergeProps(_objectSpread$c({
|
|
1083
1064
|
id: props.inputId,
|
|
1084
1065
|
type: 'radio',
|
|
1085
1066
|
name: props.name,
|
|
@@ -1159,8 +1140,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1159
1140
|
});
|
|
1160
1141
|
RowRadioButton.displayName = 'RowRadioButton';
|
|
1161
1142
|
|
|
1162
|
-
function ownKeys$
|
|
1163
|
-
function _objectSpread$
|
|
1143
|
+
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; }
|
|
1144
|
+
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; }
|
|
1164
1145
|
var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
1165
1146
|
var mergeProps = hooks.useMergeProps();
|
|
1166
1147
|
var _React$useState = React__namespace.useState(props.editing),
|
|
@@ -1273,7 +1254,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1273
1254
|
};
|
|
1274
1255
|
var getCellCallbackParams = function getCellCallbackParams(event) {
|
|
1275
1256
|
var params = getCellParams();
|
|
1276
|
-
return _objectSpread$
|
|
1257
|
+
return _objectSpread$b({
|
|
1277
1258
|
originalEvent: event
|
|
1278
1259
|
}, params);
|
|
1279
1260
|
};
|
|
@@ -1310,9 +1291,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1310
1291
|
};
|
|
1311
1292
|
var switchCellToViewMode = function switchCellToViewMode(event, submit) {
|
|
1312
1293
|
var callbackParams = getCellCallbackParams(event);
|
|
1313
|
-
var newRowData = _objectSpread$
|
|
1294
|
+
var newRowData = _objectSpread$b({}, editingRowDataStateRef.current);
|
|
1314
1295
|
var newValue = resolveFieldData(newRowData);
|
|
1315
|
-
var params = _objectSpread$
|
|
1296
|
+
var params = _objectSpread$b(_objectSpread$b({}, callbackParams), {}, {
|
|
1316
1297
|
newRowData: newRowData,
|
|
1317
1298
|
newValue: newValue
|
|
1318
1299
|
});
|
|
@@ -1379,7 +1360,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1379
1360
|
};
|
|
1380
1361
|
var updateStickyPosition = function updateStickyPosition() {
|
|
1381
1362
|
if (getColumnProp('frozen')) {
|
|
1382
|
-
var styleObject = _objectSpread$
|
|
1363
|
+
var styleObject = _objectSpread$b({}, styleObjectState);
|
|
1383
1364
|
var align = getColumnProp('alignFrozen');
|
|
1384
1365
|
if (align === 'right') {
|
|
1385
1366
|
var right = 0;
|
|
@@ -1401,7 +1382,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1401
1382
|
}
|
|
1402
1383
|
};
|
|
1403
1384
|
var editorCallback = function editorCallback(val) {
|
|
1404
|
-
var editingRowData = _objectSpread$
|
|
1385
|
+
var editingRowData = _objectSpread$b({}, editingRowDataState);
|
|
1405
1386
|
utils.ObjectUtils.mutateFieldData(editingRowData, field, val);
|
|
1406
1387
|
setEditingRowDataState(editingRowData);
|
|
1407
1388
|
|
|
@@ -1614,7 +1595,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1614
1595
|
React__namespace.useEffect(function () {
|
|
1615
1596
|
if (props.editMode === 'cell' || props.editMode === 'row') {
|
|
1616
1597
|
var callbackParams = getCellCallbackParams();
|
|
1617
|
-
var params = _objectSpread$
|
|
1598
|
+
var params = _objectSpread$b(_objectSpread$b({}, callbackParams), {}, {
|
|
1618
1599
|
editing: editingState,
|
|
1619
1600
|
editingKey: editingKey
|
|
1620
1601
|
});
|
|
@@ -1728,7 +1709,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1728
1709
|
className: cx('rowReorderIcon')
|
|
1729
1710
|
}, customIcon ? null : getColumnPTOptions('rowReorderIcon'));
|
|
1730
1711
|
var rowReorderIcon = customIcon || /*#__PURE__*/React__namespace.createElement(bars.BarsIcon, rowReorderIconProps);
|
|
1731
|
-
content = showReorder ? utils.IconUtils.getJSXIcon(rowReorderIcon, _objectSpread$
|
|
1712
|
+
content = showReorder ? utils.IconUtils.getJSXIcon(rowReorderIcon, _objectSpread$b({}, rowReorderIconProps), {
|
|
1732
1713
|
props: props
|
|
1733
1714
|
}) : null;
|
|
1734
1715
|
} else if (expander) {
|
|
@@ -1737,7 +1718,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1737
1718
|
'aria-hidden': true
|
|
1738
1719
|
}, getColumnPTOptions('rowTogglerIcon'));
|
|
1739
1720
|
var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React__namespace.createElement(chevrondown.ChevronDownIcon, rowTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React__namespace.createElement(chevronright.ChevronRightIcon, rowTogglerIconProps);
|
|
1740
|
-
var togglerIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$
|
|
1721
|
+
var togglerIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$b({}, rowTogglerIconProps), {
|
|
1741
1722
|
props: props
|
|
1742
1723
|
});
|
|
1743
1724
|
var ariaControls = "".concat(props.tableSelector, "_content_").concat(props.rowIndex, "_expanded");
|
|
@@ -1748,7 +1729,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1748
1729
|
onClick: onRowToggle,
|
|
1749
1730
|
className: cx('rowToggler')
|
|
1750
1731
|
};
|
|
1751
|
-
var rowTogglerProps = mergeProps(_objectSpread$
|
|
1732
|
+
var rowTogglerProps = mergeProps(_objectSpread$b(_objectSpread$b({}, expanderProps), {}, {
|
|
1752
1733
|
type: 'button',
|
|
1753
1734
|
'aria-expanded': props.expanded,
|
|
1754
1735
|
'aria-controls': ariaControls,
|
|
@@ -1778,13 +1759,13 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1778
1759
|
var rowEditorInitIconProps = mergeProps({
|
|
1779
1760
|
className: cx('rowEditorInitIcon')
|
|
1780
1761
|
}, getColumnPTOptions('rowEditorInitIcon'));
|
|
1781
|
-
var rowEditorSaveIcon = utils.IconUtils.getJSXIcon(props.rowEditorSaveIcon || /*#__PURE__*/React__namespace.createElement(check.CheckIcon, rowEditorSaveIconProps), _objectSpread$
|
|
1762
|
+
var rowEditorSaveIcon = utils.IconUtils.getJSXIcon(props.rowEditorSaveIcon || /*#__PURE__*/React__namespace.createElement(check.CheckIcon, rowEditorSaveIconProps), _objectSpread$b({}, rowEditorSaveIconProps), {
|
|
1782
1763
|
props: props
|
|
1783
1764
|
});
|
|
1784
|
-
var rowEditorCancelIcon = utils.IconUtils.getJSXIcon(props.rowEditorCancelIcon || /*#__PURE__*/React__namespace.createElement(times.TimesIcon, rowEditorCancelIconProps), _objectSpread$
|
|
1765
|
+
var rowEditorCancelIcon = utils.IconUtils.getJSXIcon(props.rowEditorCancelIcon || /*#__PURE__*/React__namespace.createElement(times.TimesIcon, rowEditorCancelIconProps), _objectSpread$b({}, rowEditorCancelIconProps), {
|
|
1785
1766
|
props: props
|
|
1786
1767
|
});
|
|
1787
|
-
var rowEditorInitIcon = utils.IconUtils.getJSXIcon(props.rowEditorInitIcon || /*#__PURE__*/React__namespace.createElement(pencil.PencilIcon, rowEditorInitIconProps), _objectSpread$
|
|
1768
|
+
var rowEditorInitIcon = utils.IconUtils.getJSXIcon(props.rowEditorInitIcon || /*#__PURE__*/React__namespace.createElement(pencil.PencilIcon, rowEditorInitIconProps), _objectSpread$b({}, rowEditorInitIconProps), {
|
|
1788
1769
|
props: props
|
|
1789
1770
|
});
|
|
1790
1771
|
if (editingState) {
|
|
@@ -1926,8 +1907,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1926
1907
|
});
|
|
1927
1908
|
BodyCell.displayName = 'BodyCell';
|
|
1928
1909
|
|
|
1929
|
-
function ownKeys$
|
|
1930
|
-
function _objectSpread$
|
|
1910
|
+
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; }
|
|
1911
|
+
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; }
|
|
1931
1912
|
var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
1932
1913
|
var mergeProps = hooks.useMergeProps();
|
|
1933
1914
|
var _React$useState = React__namespace.useState(false),
|
|
@@ -2233,7 +2214,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2233
2214
|
newData = e.newData;
|
|
2234
2215
|
if (dataKey) {
|
|
2235
2216
|
var dataKeyValue = String(utils.ObjectUtils.resolveFieldData(data, dataKey));
|
|
2236
|
-
editingRows = props.editingRows ? _objectSpread$
|
|
2217
|
+
editingRows = props.editingRows ? _objectSpread$a({}, props.editingRows) : {};
|
|
2237
2218
|
if (!isEditing) {
|
|
2238
2219
|
delete editingRows[dataKeyValue];
|
|
2239
2220
|
// if the key value was changed, stop editing for the new key value too
|
|
@@ -2446,8 +2427,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2446
2427
|
});
|
|
2447
2428
|
BodyRow.displayName = 'BodyRow';
|
|
2448
2429
|
|
|
2449
|
-
function ownKeys$
|
|
2450
|
-
function _objectSpread$
|
|
2430
|
+
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; }
|
|
2431
|
+
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; }
|
|
2451
2432
|
var RowTogglerButton = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
2452
2433
|
var mergeProps = hooks.useMergeProps();
|
|
2453
2434
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
@@ -2480,7 +2461,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2480
2461
|
'aria-hidden': true
|
|
2481
2462
|
}, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
|
|
2482
2463
|
var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React__namespace.createElement(chevrondown.ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React__namespace.createElement(chevronright.ChevronRightIcon, rowGroupTogglerIconProps);
|
|
2483
|
-
var togglerIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$
|
|
2464
|
+
var togglerIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$9({}, rowGroupTogglerIconProps), {
|
|
2484
2465
|
props: props
|
|
2485
2466
|
});
|
|
2486
2467
|
var label = props.expanded ? PrimeReact$1.ariaLabel('collapseLabel') : PrimeReact$1.ariaLabel('expandLabel');
|
|
@@ -2497,9 +2478,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2497
2478
|
});
|
|
2498
2479
|
RowTogglerButton.displayName = 'RowTogglerButton';
|
|
2499
2480
|
|
|
2500
|
-
var _excluded = ["originalEvent"];
|
|
2501
|
-
function ownKeys$
|
|
2502
|
-
function _objectSpread$
|
|
2481
|
+
var _excluded$2 = ["originalEvent"];
|
|
2482
|
+
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; }
|
|
2483
|
+
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; }
|
|
2503
2484
|
var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
2504
2485
|
var mergeProps = hooks.useMergeProps();
|
|
2505
2486
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
@@ -2662,6 +2643,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2662
2643
|
options = options || props.virtualScrollerOptions;
|
|
2663
2644
|
return options ? options[option] : null;
|
|
2664
2645
|
};
|
|
2646
|
+
var getProcessedDataIndex = function getProcessedDataIndex(rowIndex) {
|
|
2647
|
+
return props.lazy ? rowIndex - props.first : rowIndex;
|
|
2648
|
+
};
|
|
2665
2649
|
var findIndex = function findIndex(collection, rowData) {
|
|
2666
2650
|
return (collection || []).findIndex(function (data) {
|
|
2667
2651
|
return equals(rowData, data);
|
|
@@ -2826,14 +2810,16 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2826
2810
|
var rangeStart;
|
|
2827
2811
|
var rangeEnd;
|
|
2828
2812
|
var isAllowCellSelection = allowCellSelection();
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2813
|
+
var rangeRowIndexInProcessedData = getProcessedDataIndex(rangeRowIndex.current);
|
|
2814
|
+
var anchorRowIndexInProcessedData = getProcessedDataIndex(anchorRowIndex.current);
|
|
2815
|
+
if (rangeRowIndexInProcessedData > anchorRowIndexInProcessedData) {
|
|
2816
|
+
rangeStart = anchorRowIndexInProcessedData;
|
|
2817
|
+
rangeEnd = rangeRowIndexInProcessedData;
|
|
2818
|
+
} else if (rangeRowIndexInProcessedData < anchorRowIndexInProcessedData) {
|
|
2819
|
+
rangeStart = rangeRowIndexInProcessedData;
|
|
2820
|
+
rangeEnd = anchorRowIndexInProcessedData;
|
|
2835
2821
|
} else {
|
|
2836
|
-
rangeStart = rangeEnd =
|
|
2822
|
+
rangeStart = rangeEnd = rangeRowIndexInProcessedData;
|
|
2837
2823
|
}
|
|
2838
2824
|
return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
|
|
2839
2825
|
};
|
|
@@ -2874,7 +2860,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2874
2860
|
for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
|
|
2875
2861
|
var rowData = value[i];
|
|
2876
2862
|
var columns = props.columns;
|
|
2877
|
-
var rowIndex = props.
|
|
2863
|
+
var rowIndex = props.lazy ? i + props.first : i;
|
|
2878
2864
|
for (var j = cellRangeStart; j <= cellRangeEnd; j++) {
|
|
2879
2865
|
var field = getColumnProp(columns[j], 'field');
|
|
2880
2866
|
var _value = utils.ObjectUtils.resolveFieldData(rowData, field);
|
|
@@ -2904,7 +2890,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2904
2890
|
};
|
|
2905
2891
|
var onSelect = function onSelect(event) {
|
|
2906
2892
|
if (allowCellSelection()) {
|
|
2907
|
-
props.onCellSelect && props.onCellSelect(_objectSpread$
|
|
2893
|
+
props.onCellSelect && props.onCellSelect(_objectSpread$8(_objectSpread$8({
|
|
2908
2894
|
originalEvent: event.originalEvent
|
|
2909
2895
|
}, event.data), {}, {
|
|
2910
2896
|
type: event.type
|
|
@@ -2915,7 +2901,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2915
2901
|
};
|
|
2916
2902
|
var onUnselect = function onUnselect(event) {
|
|
2917
2903
|
if (allowCellSelection()) {
|
|
2918
|
-
props.onCellUnselect && props.onCellUnselect(_objectSpread$
|
|
2904
|
+
props.onCellUnselect && props.onCellUnselect(_objectSpread$8(_objectSpread$8({
|
|
2919
2905
|
originalEvent: event.originalEvent
|
|
2920
2906
|
}, event.data), {}, {
|
|
2921
2907
|
type: event.type
|
|
@@ -2977,12 +2963,12 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2977
2963
|
rangeRowIndex.current = event.index;
|
|
2978
2964
|
anchorRowFirst.current = props.first;
|
|
2979
2965
|
if (isSingleSelection()) {
|
|
2980
|
-
onSingleSelection(_objectSpread$
|
|
2966
|
+
onSingleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
2981
2967
|
toggleable: toggleable,
|
|
2982
2968
|
type: 'row'
|
|
2983
2969
|
}));
|
|
2984
2970
|
} else {
|
|
2985
|
-
onMultipleSelection(_objectSpread$
|
|
2971
|
+
onMultipleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
2986
2972
|
toggleable: toggleable,
|
|
2987
2973
|
type: 'row'
|
|
2988
2974
|
}));
|
|
@@ -3079,7 +3065,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3079
3065
|
var hasDataKey = props.groupRowsBy ? dataKey === props.groupRowsBy : !!dataKey;
|
|
3080
3066
|
if (hasDataKey) {
|
|
3081
3067
|
var dataKeyValue = String(utils.ObjectUtils.resolveFieldData(event.data, dataKey));
|
|
3082
|
-
expandedRows = props.expandedRows ? _objectSpread$
|
|
3068
|
+
expandedRows = props.expandedRows ? _objectSpread$8({}, props.expandedRows) : {};
|
|
3083
3069
|
if (expandedRows[dataKeyValue] != null) {
|
|
3084
3070
|
delete expandedRows[dataKeyValue];
|
|
3085
3071
|
if (props.onRowCollapse) {
|
|
@@ -3215,13 +3201,13 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3215
3201
|
event.preventDefault();
|
|
3216
3202
|
};
|
|
3217
3203
|
var onRadioChange = function onRadioChange(event) {
|
|
3218
|
-
onSingleSelection(_objectSpread$
|
|
3204
|
+
onSingleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
3219
3205
|
toggleable: true,
|
|
3220
3206
|
type: 'radio'
|
|
3221
3207
|
}));
|
|
3222
3208
|
};
|
|
3223
3209
|
var onCheckboxChange = function onCheckboxChange(event) {
|
|
3224
|
-
onMultipleSelection(_objectSpread$
|
|
3210
|
+
onMultipleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
3225
3211
|
toggleable: true,
|
|
3226
3212
|
type: 'checkbox'
|
|
3227
3213
|
}));
|
|
@@ -3261,7 +3247,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3261
3247
|
} else {
|
|
3262
3248
|
var toggleable = allowMetaKeySelection(event);
|
|
3263
3249
|
var originalEvent = event.originalEvent,
|
|
3264
|
-
data = _objectWithoutProperties(event, _excluded);
|
|
3250
|
+
data = _objectWithoutProperties(event, _excluded$2);
|
|
3265
3251
|
anchorRowIndex.current = event.rowIndex;
|
|
3266
3252
|
rangeRowIndex.current = event.rowIndex;
|
|
3267
3253
|
anchorRowFirst.current = props.first;
|
|
@@ -3339,7 +3325,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3339
3325
|
var emptyMessageProps = mergeProps({
|
|
3340
3326
|
className: cx('emptyMessage'),
|
|
3341
3327
|
role: 'row'
|
|
3342
|
-
},
|
|
3328
|
+
}, ptm('emptyMessage'));
|
|
3343
3329
|
var bodyCellProps = mergeProps({
|
|
3344
3330
|
colSpan: colSpan,
|
|
3345
3331
|
role: 'cell'
|
|
@@ -3349,7 +3335,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3349
3335
|
return null;
|
|
3350
3336
|
};
|
|
3351
3337
|
var createGroupHeader = function createGroupHeader(rowData, rowIndex, expanded, colSpan) {
|
|
3352
|
-
if (isSubheaderGrouping && shouldRenderRowGroupHeader(props.value, rowData, rowIndex
|
|
3338
|
+
if (isSubheaderGrouping && shouldRenderRowGroupHeader(props.value, rowData, getProcessedDataIndex(rowIndex))) {
|
|
3353
3339
|
var style = rowGroupHeaderStyle();
|
|
3354
3340
|
var toggler = props.expandableRowGroups && /*#__PURE__*/React__namespace.createElement(RowTogglerButton, {
|
|
3355
3341
|
hostName: props.hostName,
|
|
@@ -3376,14 +3362,14 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3376
3362
|
}, getColumnPTOptions('root'), getColumnPTOptions('bodyCell'));
|
|
3377
3363
|
var rowGroupHeaderNameProps = mergeProps({
|
|
3378
3364
|
className: cx('rowGroupHeaderName')
|
|
3379
|
-
},
|
|
3365
|
+
}, ptm('rowGroupHeaderName'));
|
|
3380
3366
|
_content2 = /*#__PURE__*/React__namespace.createElement("td", bodyCellProps, toggler, /*#__PURE__*/React__namespace.createElement("span", rowGroupHeaderNameProps, _content2));
|
|
3381
3367
|
}
|
|
3382
3368
|
var rowGroupHeaderProps = mergeProps({
|
|
3383
3369
|
className: cx('rowGroupHeader'),
|
|
3384
3370
|
style: style,
|
|
3385
3371
|
role: 'row'
|
|
3386
|
-
},
|
|
3372
|
+
}, ptm('rowGroupHeader'));
|
|
3387
3373
|
return /*#__PURE__*/React__namespace.createElement("tr", rowGroupHeaderProps, _content2);
|
|
3388
3374
|
}
|
|
3389
3375
|
return null;
|
|
@@ -3491,7 +3477,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3491
3477
|
id: id,
|
|
3492
3478
|
className: cx('rowExpansion'),
|
|
3493
3479
|
role: 'row'
|
|
3494
|
-
},
|
|
3480
|
+
}, ptm('rowExpansion'));
|
|
3495
3481
|
return /*#__PURE__*/React__namespace.createElement("tr", rowExpansionProps, _content3);
|
|
3496
3482
|
}
|
|
3497
3483
|
return null;
|
|
@@ -3506,7 +3492,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3506
3492
|
var rowGroupFooterProps = mergeProps({
|
|
3507
3493
|
className: cx('rowGroupFooter'),
|
|
3508
3494
|
role: 'row'
|
|
3509
|
-
},
|
|
3495
|
+
}, ptm('rowGroupFooter'));
|
|
3510
3496
|
return /*#__PURE__*/React__namespace.createElement("tr", rowGroupFooterProps, _content4);
|
|
3511
3497
|
}
|
|
3512
3498
|
return null;
|
|
@@ -3568,8 +3554,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3568
3554
|
}
|
|
3569
3555
|
});
|
|
3570
3556
|
|
|
3571
|
-
function ownKeys$
|
|
3572
|
-
function _objectSpread$
|
|
3557
|
+
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; }
|
|
3558
|
+
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; }
|
|
3573
3559
|
var FooterCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
3574
3560
|
var _React$useState = React__namespace.useState({}),
|
|
3575
3561
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -3613,7 +3599,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3613
3599
|
};
|
|
3614
3600
|
var updateStickyPosition = function updateStickyPosition() {
|
|
3615
3601
|
if (getColumnProp('frozen')) {
|
|
3616
|
-
var styleObject = _objectSpread$
|
|
3602
|
+
var styleObject = _objectSpread$7({}, styleObjectState);
|
|
3617
3603
|
var _align = getColumnProp('alignFrozen');
|
|
3618
3604
|
if (_align === 'right') {
|
|
3619
3605
|
var right = 0;
|
|
@@ -3662,6 +3648,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3662
3648
|
});
|
|
3663
3649
|
FooterCell.displayName = 'FooterCell';
|
|
3664
3650
|
|
|
3651
|
+
var _excluded$1 = ["unstyled", "__TYPE", "ptOptions"];
|
|
3652
|
+
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; }
|
|
3653
|
+
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; }
|
|
3665
3654
|
var TableFooter = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
3666
3655
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
3667
3656
|
ptm = _props$ptCallbacks.ptm,
|
|
@@ -3727,9 +3716,16 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3727
3716
|
if (props.footerColumnGroup) {
|
|
3728
3717
|
var rows = React__namespace.Children.toArray(ColumnGroupBase.getCProp(props.footerColumnGroup, 'children'));
|
|
3729
3718
|
return rows.map(function (row, i) {
|
|
3719
|
+
var _RowBase$getProps = RowBase.getProps(row.props, context),
|
|
3720
|
+
unstyled = _RowBase$getProps.unstyled;
|
|
3721
|
+
_RowBase$getProps.__TYPE;
|
|
3722
|
+
_RowBase$getProps.ptOptions;
|
|
3723
|
+
var rest = _objectWithoutProperties(_RowBase$getProps, _excluded$1);
|
|
3730
3724
|
var rootProps = mergeProps({
|
|
3731
3725
|
role: 'row'
|
|
3732
|
-
},
|
|
3726
|
+
}, unstyled ? _objectSpread$6({
|
|
3727
|
+
unstyled: unstyled
|
|
3728
|
+
}, rest) : rest, getRowPTOptions(row, 'root'));
|
|
3733
3729
|
return /*#__PURE__*/React__namespace.createElement("tr", _extends({}, rootProps, {
|
|
3734
3730
|
key: i
|
|
3735
3731
|
}), createGroupFooterCells(row));
|
|
@@ -3756,28 +3752,20 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3756
3752
|
});
|
|
3757
3753
|
TableFooter.displayName = 'TableFooter';
|
|
3758
3754
|
|
|
3759
|
-
function _defineProperties(
|
|
3760
|
-
for (var
|
|
3761
|
-
var
|
|
3762
|
-
|
|
3763
|
-
descriptor.configurable = true;
|
|
3764
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
3765
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
3755
|
+
function _defineProperties(e, r) {
|
|
3756
|
+
for (var t = 0; t < r.length; t++) {
|
|
3757
|
+
var o = r[t];
|
|
3758
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
3766
3759
|
}
|
|
3767
3760
|
}
|
|
3768
|
-
function _createClass(
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
writable: false
|
|
3773
|
-
});
|
|
3774
|
-
return Constructor;
|
|
3761
|
+
function _createClass(e, r, t) {
|
|
3762
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
3763
|
+
writable: !1
|
|
3764
|
+
}), e;
|
|
3775
3765
|
}
|
|
3776
3766
|
|
|
3777
|
-
function _classCallCheck(
|
|
3778
|
-
if (!(
|
|
3779
|
-
throw new TypeError("Cannot call a class as a function");
|
|
3780
|
-
}
|
|
3767
|
+
function _classCallCheck(a, n) {
|
|
3768
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
3781
3769
|
}
|
|
3782
3770
|
|
|
3783
3771
|
var FilterMatchMode = Object.freeze({
|
|
@@ -3933,6 +3921,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3933
3921
|
jumpToPageDropdownLabel: 'Jump to Page Dropdown',
|
|
3934
3922
|
jumpToPageInputLabel: 'Jump to Page Input',
|
|
3935
3923
|
lastPageLabel: 'Last Page',
|
|
3924
|
+
listLabel: 'Option List',
|
|
3936
3925
|
listView: 'List View',
|
|
3937
3926
|
moveAllToSource: 'Move All to Source',
|
|
3938
3927
|
moveAllToTarget: 'Move All to Target',
|
|
@@ -3951,7 +3940,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3951
3940
|
passwordHide: 'Hide Password',
|
|
3952
3941
|
passwordShow: 'Show Password',
|
|
3953
3942
|
previous: 'Previous',
|
|
3954
|
-
|
|
3943
|
+
prevPageLabel: 'Previous Page',
|
|
3955
3944
|
rotateLeft: 'Rotate Left',
|
|
3956
3945
|
rotateRight: 'Rotate Right',
|
|
3957
3946
|
rowsPerPageLabel: 'Rows per page',
|
|
@@ -5413,6 +5402,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5413
5402
|
});
|
|
5414
5403
|
HeaderCell.displayName = 'HeaderCell';
|
|
5415
5404
|
|
|
5405
|
+
var _excluded = ["unstyled", "__TYPE", "ptOptions"];
|
|
5416
5406
|
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; }
|
|
5417
5407
|
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; }
|
|
5418
5408
|
var TableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
@@ -5639,9 +5629,16 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5639
5629
|
if (props.headerColumnGroup) {
|
|
5640
5630
|
var rows = React__namespace.Children.toArray(ColumnGroupBase.getCProp(props.headerColumnGroup, 'children'));
|
|
5641
5631
|
return rows.map(function (row, i) {
|
|
5632
|
+
var _RowBase$getProps = RowBase.getProps(row.props, context),
|
|
5633
|
+
unstyled = _RowBase$getProps.unstyled;
|
|
5634
|
+
_RowBase$getProps.__TYPE;
|
|
5635
|
+
_RowBase$getProps.ptOptions;
|
|
5636
|
+
var rest = _objectWithoutProperties(_RowBase$getProps, _excluded);
|
|
5642
5637
|
var headerRowProps = mergeProps({
|
|
5643
5638
|
role: 'row'
|
|
5644
|
-
},
|
|
5639
|
+
}, unstyled ? _objectSpread$1({
|
|
5640
|
+
unstyled: unstyled
|
|
5641
|
+
}, rest) : rest, getRowPTOptions(row, 'root'));
|
|
5645
5642
|
return /*#__PURE__*/React__namespace.createElement("tr", _extends({}, headerRowProps, {
|
|
5646
5643
|
key: i
|
|
5647
5644
|
}), createGroupHeaderCells(row));
|
|
@@ -5667,9 +5664,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5667
5664
|
});
|
|
5668
5665
|
TableHeader.displayName = 'TableHeader';
|
|
5669
5666
|
|
|
5670
|
-
function _createForOfIteratorHelper(
|
|
5671
|
-
function _unsupportedIterableToArray(
|
|
5672
|
-
function _arrayLikeToArray(
|
|
5667
|
+
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; } } }; }
|
|
5668
|
+
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; } }
|
|
5669
|
+
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; }
|
|
5673
5670
|
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; }
|
|
5674
5671
|
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; }
|
|
5675
5672
|
var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -5712,14 +5709,18 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5712
5709
|
_React$useState18 = _slicedToArray(_React$useState17, 2),
|
|
5713
5710
|
editingMetaState = _React$useState18[0],
|
|
5714
5711
|
setEditingMetaState = _React$useState18[1];
|
|
5715
|
-
var _React$useState19 = React__namespace.useState(
|
|
5712
|
+
var _React$useState19 = React__namespace.useState({}),
|
|
5716
5713
|
_React$useState20 = _slicedToArray(_React$useState19, 2),
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
var _React$useState21 = React__namespace.useState(
|
|
5714
|
+
frozenEditingMetaState = _React$useState20[0],
|
|
5715
|
+
setFrozenEditingMetaState = _React$useState20[1];
|
|
5716
|
+
var _React$useState21 = React__namespace.useState(props.rows),
|
|
5720
5717
|
_React$useState22 = _slicedToArray(_React$useState21, 2),
|
|
5721
|
-
|
|
5722
|
-
|
|
5718
|
+
d_rowsState = _React$useState22[0],
|
|
5719
|
+
setD_rowsState = _React$useState22[1];
|
|
5720
|
+
var _React$useState23 = React__namespace.useState({}),
|
|
5721
|
+
_React$useState24 = _slicedToArray(_React$useState23, 2),
|
|
5722
|
+
d_filtersState = _React$useState24[0],
|
|
5723
|
+
setD_filtersState = _React$useState24[1];
|
|
5723
5724
|
var metaData = {
|
|
5724
5725
|
props: props,
|
|
5725
5726
|
state: {
|
|
@@ -5732,6 +5733,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5732
5733
|
columnOrder: columnOrderState,
|
|
5733
5734
|
groupRowsSortMeta: groupRowsSortMetaState,
|
|
5734
5735
|
editingMeta: editingMetaState,
|
|
5736
|
+
frozenEditingMeta: frozenEditingMetaState,
|
|
5735
5737
|
d_rows: d_rowsState,
|
|
5736
5738
|
d_filters: d_filtersState
|
|
5737
5739
|
},
|
|
@@ -6136,6 +6138,32 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
6136
6138
|
setEditingMetaState({});
|
|
6137
6139
|
}
|
|
6138
6140
|
};
|
|
6141
|
+
var onFrozenEditingMetaChange = function onFrozenEditingMetaChange(e) {
|
|
6142
|
+
var rowData = e.rowData,
|
|
6143
|
+
field = e.field,
|
|
6144
|
+
editingKey = e.editingKey,
|
|
6145
|
+
editing = e.editing;
|
|
6146
|
+
var frozenEditingMeta = _objectSpread({}, frozenEditingMetaState);
|
|
6147
|
+
var meta = frozenEditingMeta[editingKey];
|
|
6148
|
+
if (editing) {
|
|
6149
|
+
!meta && (meta = frozenEditingMeta[editingKey] = {
|
|
6150
|
+
data: _objectSpread({}, rowData),
|
|
6151
|
+
fields: []
|
|
6152
|
+
});
|
|
6153
|
+
meta.fields.push(field);
|
|
6154
|
+
} else if (meta) {
|
|
6155
|
+
var fields = meta.fields.filter(function (f) {
|
|
6156
|
+
return f !== field;
|
|
6157
|
+
});
|
|
6158
|
+
!fields.length ? delete frozenEditingMeta[editingKey] : meta.fields = fields;
|
|
6159
|
+
}
|
|
6160
|
+
setFrozenEditingMetaState(frozenEditingMeta);
|
|
6161
|
+
};
|
|
6162
|
+
var clearFrozenEditingMetaData = function clearFrozenEditingMetaData() {
|
|
6163
|
+
if (props.editMode && utils.ObjectUtils.isNotEmpty(frozenEditingMetaState)) {
|
|
6164
|
+
setFrozenEditingMetaState({});
|
|
6165
|
+
}
|
|
6166
|
+
};
|
|
6139
6167
|
var onColumnResizeStart = function onColumnResizeStart(e) {
|
|
6140
6168
|
createBeforeResizeStyleElement();
|
|
6141
6169
|
var event = e.originalEvent,
|
|
@@ -6426,6 +6454,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
6426
6454
|
};
|
|
6427
6455
|
var onPageChange = function onPageChange(e) {
|
|
6428
6456
|
clearEditingMetaData();
|
|
6457
|
+
clearFrozenEditingMetaData();
|
|
6429
6458
|
if (props.onPage) {
|
|
6430
6459
|
props.onPage(createEvent(e));
|
|
6431
6460
|
} else {
|
|
@@ -6438,6 +6467,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
6438
6467
|
};
|
|
6439
6468
|
var onSortChange = function onSortChange(e) {
|
|
6440
6469
|
clearEditingMetaData();
|
|
6470
|
+
clearFrozenEditingMetaData();
|
|
6441
6471
|
var event = e.originalEvent,
|
|
6442
6472
|
column = e.column,
|
|
6443
6473
|
sortableDisabledFields = e.sortableDisabledFields;
|
|
@@ -6615,6 +6645,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
6615
6645
|
};
|
|
6616
6646
|
var onFilterChange = function onFilterChange(filters) {
|
|
6617
6647
|
clearEditingMetaData();
|
|
6648
|
+
clearFrozenEditingMetaData();
|
|
6618
6649
|
setD_filtersState(filters);
|
|
6619
6650
|
};
|
|
6620
6651
|
var onFilterApply = function onFilterApply(filtersToApply) {
|
|
@@ -6804,6 +6835,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
6804
6835
|
setD_filtersState(cloneFilters(props.filters));
|
|
6805
6836
|
setGroupRowsSortMetaState(null);
|
|
6806
6837
|
setEditingMetaState({});
|
|
6838
|
+
setFrozenEditingMetaState({});
|
|
6807
6839
|
if (!props.onPage) {
|
|
6808
6840
|
setFirstState(props.first);
|
|
6809
6841
|
setRowsState(props.rows);
|
|
@@ -7168,7 +7200,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
7168
7200
|
dataKey: props.dataKey,
|
|
7169
7201
|
dragSelection: props.dragSelection,
|
|
7170
7202
|
editMode: props.editMode,
|
|
7171
|
-
editingMeta:
|
|
7203
|
+
editingMeta: frozenEditingMetaState,
|
|
7172
7204
|
editingRows: props.editingRows,
|
|
7173
7205
|
emptyMessage: props.emptyMessage,
|
|
7174
7206
|
expandableRowGroups: props.expandableRowGroups,
|
|
@@ -7187,7 +7219,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
7187
7219
|
onCellUnselect: props.onCellUnselect,
|
|
7188
7220
|
onContextMenu: props.onContextMenu,
|
|
7189
7221
|
onContextMenuSelectionChange: props.onContextMenuSelectionChange,
|
|
7190
|
-
onEditingMetaChange:
|
|
7222
|
+
onEditingMetaChange: onFrozenEditingMetaChange,
|
|
7191
7223
|
onRowClick: props.onRowClick,
|
|
7192
7224
|
onRowCollapse: props.onRowCollapse,
|
|
7193
7225
|
onRowDoubleClick: props.onRowDoubleClick,
|