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
|
@@ -60,18 +60,13 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
60
60
|
var PrimeReact__default = /*#__PURE__*/_interopDefaultLegacy(PrimeReact$1);
|
|
61
61
|
|
|
62
62
|
function _extends() {
|
|
63
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
64
|
-
for (var
|
|
65
|
-
var
|
|
66
|
-
for (var
|
|
67
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
68
|
-
target[key] = source[key];
|
|
69
|
-
}
|
|
70
|
-
}
|
|
63
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
64
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
65
|
+
var t = arguments[e];
|
|
66
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
71
67
|
}
|
|
72
|
-
return
|
|
73
|
-
};
|
|
74
|
-
return _extends.apply(this, arguments);
|
|
68
|
+
return n;
|
|
69
|
+
}, _extends.apply(null, arguments);
|
|
75
70
|
}
|
|
76
71
|
|
|
77
72
|
function _typeof(o) {
|
|
@@ -84,70 +79,63 @@ function _typeof(o) {
|
|
|
84
79
|
}, _typeof(o);
|
|
85
80
|
}
|
|
86
81
|
|
|
87
|
-
function
|
|
88
|
-
if (
|
|
89
|
-
var
|
|
90
|
-
if (
|
|
91
|
-
var
|
|
92
|
-
if (
|
|
82
|
+
function toPrimitive(t, r) {
|
|
83
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
84
|
+
var e = t[Symbol.toPrimitive];
|
|
85
|
+
if (void 0 !== e) {
|
|
86
|
+
var i = e.call(t, r || "default");
|
|
87
|
+
if ("object" != _typeof(i)) return i;
|
|
93
88
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
94
89
|
}
|
|
95
|
-
return (
|
|
90
|
+
return ("string" === r ? String : Number)(t);
|
|
96
91
|
}
|
|
97
92
|
|
|
98
|
-
function
|
|
99
|
-
var
|
|
100
|
-
return _typeof(
|
|
93
|
+
function toPropertyKey(t) {
|
|
94
|
+
var i = toPrimitive(t, "string");
|
|
95
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
101
96
|
}
|
|
102
97
|
|
|
103
|
-
function _defineProperty(
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
writable: true
|
|
111
|
-
});
|
|
112
|
-
} else {
|
|
113
|
-
obj[key] = value;
|
|
114
|
-
}
|
|
115
|
-
return obj;
|
|
98
|
+
function _defineProperty(e, r, t) {
|
|
99
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
100
|
+
value: t,
|
|
101
|
+
enumerable: !0,
|
|
102
|
+
configurable: !0,
|
|
103
|
+
writable: !0
|
|
104
|
+
}) : e[r] = t, e;
|
|
116
105
|
}
|
|
117
106
|
|
|
118
|
-
function _arrayLikeToArray$1(
|
|
119
|
-
|
|
120
|
-
for (var
|
|
121
|
-
return
|
|
107
|
+
function _arrayLikeToArray$1(r, a) {
|
|
108
|
+
(null == a || a > r.length) && (a = r.length);
|
|
109
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
110
|
+
return n;
|
|
122
111
|
}
|
|
123
112
|
|
|
124
|
-
function _arrayWithoutHoles(
|
|
125
|
-
if (Array.isArray(
|
|
113
|
+
function _arrayWithoutHoles(r) {
|
|
114
|
+
if (Array.isArray(r)) return _arrayLikeToArray$1(r);
|
|
126
115
|
}
|
|
127
116
|
|
|
128
|
-
function _iterableToArray(
|
|
129
|
-
if (typeof Symbol
|
|
117
|
+
function _iterableToArray(r) {
|
|
118
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
130
119
|
}
|
|
131
120
|
|
|
132
|
-
function _unsupportedIterableToArray$1(
|
|
133
|
-
if (
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
|
|
121
|
+
function _unsupportedIterableToArray$1(r, a) {
|
|
122
|
+
if (r) {
|
|
123
|
+
if ("string" == typeof r) return _arrayLikeToArray$1(r, a);
|
|
124
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
125
|
+
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;
|
|
126
|
+
}
|
|
139
127
|
}
|
|
140
128
|
|
|
141
129
|
function _nonIterableSpread() {
|
|
142
130
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
143
131
|
}
|
|
144
132
|
|
|
145
|
-
function _toConsumableArray(
|
|
146
|
-
return _arrayWithoutHoles(
|
|
133
|
+
function _toConsumableArray(r) {
|
|
134
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$1(r) || _nonIterableSpread();
|
|
147
135
|
}
|
|
148
136
|
|
|
149
|
-
function _arrayWithHoles(
|
|
150
|
-
if (Array.isArray(
|
|
137
|
+
function _arrayWithHoles(r) {
|
|
138
|
+
if (Array.isArray(r)) return r;
|
|
151
139
|
}
|
|
152
140
|
|
|
153
141
|
function _iterableToArrayLimit(r, l) {
|
|
@@ -182,8 +170,8 @@ function _nonIterableRest() {
|
|
|
182
170
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
183
171
|
}
|
|
184
172
|
|
|
185
|
-
function _slicedToArray(
|
|
186
|
-
return _arrayWithHoles(
|
|
173
|
+
function _slicedToArray(r, e) {
|
|
174
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$1(r, e) || _nonIterableRest();
|
|
187
175
|
}
|
|
188
176
|
|
|
189
177
|
var getStorage = function getStorage(stateStorageProp) {
|
|
@@ -292,8 +280,8 @@ var ColumnBase = componentbase.ComponentBase.extend({
|
|
|
292
280
|
}
|
|
293
281
|
});
|
|
294
282
|
|
|
295
|
-
function ownKeys$
|
|
296
|
-
function _objectSpread$
|
|
283
|
+
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; }
|
|
284
|
+
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; }
|
|
297
285
|
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";
|
|
298
286
|
var classes$2 = {
|
|
299
287
|
root: function root(_ref) {
|
|
@@ -488,11 +476,11 @@ var inlineStyles = {
|
|
|
488
476
|
},
|
|
489
477
|
reorderIndicatorUp: function reorderIndicatorUp(_ref15) {
|
|
490
478
|
var style = _ref15.style;
|
|
491
|
-
return _objectSpread$
|
|
479
|
+
return _objectSpread$f({}, style);
|
|
492
480
|
},
|
|
493
481
|
reorderIndicatorDown: function reorderIndicatorDown(_ref16) {
|
|
494
482
|
var style = _ref16.style;
|
|
495
|
-
return _objectSpread$
|
|
483
|
+
return _objectSpread$f({}, style);
|
|
496
484
|
}
|
|
497
485
|
};
|
|
498
486
|
var DataTableBase = componentbase.ComponentBase.extend({
|
|
@@ -649,33 +637,26 @@ var DataTableBase = componentbase.ComponentBase.extend({
|
|
|
649
637
|
}
|
|
650
638
|
});
|
|
651
639
|
|
|
652
|
-
function _objectWithoutPropertiesLoose(
|
|
653
|
-
if (
|
|
654
|
-
var
|
|
655
|
-
var
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
key = sourceKeys[i];
|
|
659
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
660
|
-
target[key] = source[key];
|
|
640
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
641
|
+
if (null == r) return {};
|
|
642
|
+
var t = {};
|
|
643
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
644
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
645
|
+
t[n] = r[n];
|
|
661
646
|
}
|
|
662
|
-
return
|
|
647
|
+
return t;
|
|
663
648
|
}
|
|
664
649
|
|
|
665
|
-
function _objectWithoutProperties(
|
|
666
|
-
if (
|
|
667
|
-
var
|
|
668
|
-
|
|
650
|
+
function _objectWithoutProperties(e, t) {
|
|
651
|
+
if (null == e) return {};
|
|
652
|
+
var o,
|
|
653
|
+
r,
|
|
654
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
669
655
|
if (Object.getOwnPropertySymbols) {
|
|
670
|
-
var
|
|
671
|
-
for (
|
|
672
|
-
key = sourceSymbolKeys[i];
|
|
673
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
674
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
675
|
-
target[key] = source[key];
|
|
676
|
-
}
|
|
656
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
657
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
677
658
|
}
|
|
678
|
-
return
|
|
659
|
+
return i;
|
|
679
660
|
}
|
|
680
661
|
|
|
681
662
|
var classes$1 = {
|
|
@@ -727,8 +708,8 @@ var CheckboxBase = componentbase.ComponentBase.extend({
|
|
|
727
708
|
}
|
|
728
709
|
});
|
|
729
710
|
|
|
730
|
-
function ownKeys$
|
|
731
|
-
function _objectSpread$
|
|
711
|
+
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; }
|
|
712
|
+
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; }
|
|
732
713
|
var Checkbox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
733
714
|
var mergeProps = hooks.useMergeProps();
|
|
734
715
|
var context = React__namespace.useContext(PrimeReact$1.PrimeReactContext);
|
|
@@ -845,7 +826,7 @@ var Checkbox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
845
826
|
}, otherProps, ptm('root'));
|
|
846
827
|
var createInputElement = function createInputElement() {
|
|
847
828
|
var ariaProps = utils.ObjectUtils.reduceKeys(otherProps, utils.DomHandler.ARIA_PROPS);
|
|
848
|
-
var inputProps = mergeProps(_objectSpread$
|
|
829
|
+
var inputProps = mergeProps(_objectSpread$e({
|
|
849
830
|
id: props.inputId,
|
|
850
831
|
type: 'checkbox',
|
|
851
832
|
className: cx('input'),
|
|
@@ -882,7 +863,7 @@ var Checkbox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
882
863
|
'data-p-disabled': props.disabled
|
|
883
864
|
}, ptm('box'));
|
|
884
865
|
var icon = checked ? props.icon || /*#__PURE__*/React__namespace.createElement(check.CheckIcon, iconProps) : null;
|
|
885
|
-
var checkboxIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$
|
|
866
|
+
var checkboxIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$e({}, iconProps), {
|
|
886
867
|
props: props,
|
|
887
868
|
checked: checked
|
|
888
869
|
});
|
|
@@ -898,8 +879,8 @@ var Checkbox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
|
|
|
898
879
|
}));
|
|
899
880
|
Checkbox.displayName = 'Checkbox';
|
|
900
881
|
|
|
901
|
-
function ownKeys$
|
|
902
|
-
function _objectSpread$
|
|
882
|
+
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; }
|
|
883
|
+
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; }
|
|
903
884
|
var RowCheckbox = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
904
885
|
var mergeProps = hooks.useMergeProps();
|
|
905
886
|
var getColumnProps = function getColumnProps() {
|
|
@@ -934,7 +915,7 @@ var RowCheckbox = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
934
915
|
className: cx('checkIcon')
|
|
935
916
|
}, getColumnPTOptions('rowCheckbox.icon'));
|
|
936
917
|
var icon = props.checked ? props.checkIcon || /*#__PURE__*/React__namespace.createElement(check.CheckIcon, checkboxIconProps) : null;
|
|
937
|
-
var checkIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$
|
|
918
|
+
var checkIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$d({}, checkboxIconProps), {
|
|
938
919
|
props: props
|
|
939
920
|
});
|
|
940
921
|
var tabIndex = props.disabled ? null : '0';
|
|
@@ -997,8 +978,8 @@ var RadioButtonBase = componentbase.ComponentBase.extend({
|
|
|
997
978
|
}
|
|
998
979
|
});
|
|
999
980
|
|
|
1000
|
-
function ownKeys$
|
|
1001
|
-
function _objectSpread$
|
|
981
|
+
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; }
|
|
982
|
+
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; }
|
|
1002
983
|
var RadioButton = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
1003
984
|
var mergeProps = hooks.useMergeProps();
|
|
1004
985
|
var context = React__namespace.useContext(PrimeReact$1.PrimeReactContext);
|
|
@@ -1112,7 +1093,7 @@ var RadioButton = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
|
|
|
1112
1093
|
delete rootProps.icon;
|
|
1113
1094
|
var createInputElement = function createInputElement() {
|
|
1114
1095
|
var ariaProps = utils.ObjectUtils.reduceKeys(otherProps, utils.DomHandler.ARIA_PROPS);
|
|
1115
|
-
var inputProps = mergeProps(_objectSpread$
|
|
1096
|
+
var inputProps = mergeProps(_objectSpread$c({
|
|
1116
1097
|
id: props.inputId,
|
|
1117
1098
|
type: 'radio',
|
|
1118
1099
|
name: props.name,
|
|
@@ -1192,8 +1173,8 @@ var RowRadioButton = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1192
1173
|
});
|
|
1193
1174
|
RowRadioButton.displayName = 'RowRadioButton';
|
|
1194
1175
|
|
|
1195
|
-
function ownKeys$
|
|
1196
|
-
function _objectSpread$
|
|
1176
|
+
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; }
|
|
1177
|
+
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; }
|
|
1197
1178
|
var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
1198
1179
|
var mergeProps = hooks.useMergeProps();
|
|
1199
1180
|
var _React$useState = React__namespace.useState(props.editing),
|
|
@@ -1306,7 +1287,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1306
1287
|
};
|
|
1307
1288
|
var getCellCallbackParams = function getCellCallbackParams(event) {
|
|
1308
1289
|
var params = getCellParams();
|
|
1309
|
-
return _objectSpread$
|
|
1290
|
+
return _objectSpread$b({
|
|
1310
1291
|
originalEvent: event
|
|
1311
1292
|
}, params);
|
|
1312
1293
|
};
|
|
@@ -1343,9 +1324,9 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1343
1324
|
};
|
|
1344
1325
|
var switchCellToViewMode = function switchCellToViewMode(event, submit) {
|
|
1345
1326
|
var callbackParams = getCellCallbackParams(event);
|
|
1346
|
-
var newRowData = _objectSpread$
|
|
1327
|
+
var newRowData = _objectSpread$b({}, editingRowDataStateRef.current);
|
|
1347
1328
|
var newValue = resolveFieldData(newRowData);
|
|
1348
|
-
var params = _objectSpread$
|
|
1329
|
+
var params = _objectSpread$b(_objectSpread$b({}, callbackParams), {}, {
|
|
1349
1330
|
newRowData: newRowData,
|
|
1350
1331
|
newValue: newValue
|
|
1351
1332
|
});
|
|
@@ -1412,7 +1393,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1412
1393
|
};
|
|
1413
1394
|
var updateStickyPosition = function updateStickyPosition() {
|
|
1414
1395
|
if (getColumnProp('frozen')) {
|
|
1415
|
-
var styleObject = _objectSpread$
|
|
1396
|
+
var styleObject = _objectSpread$b({}, styleObjectState);
|
|
1416
1397
|
var align = getColumnProp('alignFrozen');
|
|
1417
1398
|
if (align === 'right') {
|
|
1418
1399
|
var right = 0;
|
|
@@ -1434,7 +1415,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1434
1415
|
}
|
|
1435
1416
|
};
|
|
1436
1417
|
var editorCallback = function editorCallback(val) {
|
|
1437
|
-
var editingRowData = _objectSpread$
|
|
1418
|
+
var editingRowData = _objectSpread$b({}, editingRowDataState);
|
|
1438
1419
|
utils.ObjectUtils.mutateFieldData(editingRowData, field, val);
|
|
1439
1420
|
setEditingRowDataState(editingRowData);
|
|
1440
1421
|
|
|
@@ -1647,7 +1628,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1647
1628
|
React__namespace.useEffect(function () {
|
|
1648
1629
|
if (props.editMode === 'cell' || props.editMode === 'row') {
|
|
1649
1630
|
var callbackParams = getCellCallbackParams();
|
|
1650
|
-
var params = _objectSpread$
|
|
1631
|
+
var params = _objectSpread$b(_objectSpread$b({}, callbackParams), {}, {
|
|
1651
1632
|
editing: editingState,
|
|
1652
1633
|
editingKey: editingKey
|
|
1653
1634
|
});
|
|
@@ -1761,7 +1742,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1761
1742
|
className: cx('rowReorderIcon')
|
|
1762
1743
|
}, customIcon ? null : getColumnPTOptions('rowReorderIcon'));
|
|
1763
1744
|
var rowReorderIcon = customIcon || /*#__PURE__*/React__namespace.createElement(bars.BarsIcon, rowReorderIconProps);
|
|
1764
|
-
content = showReorder ? utils.IconUtils.getJSXIcon(rowReorderIcon, _objectSpread$
|
|
1745
|
+
content = showReorder ? utils.IconUtils.getJSXIcon(rowReorderIcon, _objectSpread$b({}, rowReorderIconProps), {
|
|
1765
1746
|
props: props
|
|
1766
1747
|
}) : null;
|
|
1767
1748
|
} else if (expander) {
|
|
@@ -1770,7 +1751,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1770
1751
|
'aria-hidden': true
|
|
1771
1752
|
}, getColumnPTOptions('rowTogglerIcon'));
|
|
1772
1753
|
var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React__namespace.createElement(chevrondown.ChevronDownIcon, rowTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React__namespace.createElement(chevronright.ChevronRightIcon, rowTogglerIconProps);
|
|
1773
|
-
var togglerIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$
|
|
1754
|
+
var togglerIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$b({}, rowTogglerIconProps), {
|
|
1774
1755
|
props: props
|
|
1775
1756
|
});
|
|
1776
1757
|
var ariaControls = "".concat(props.tableSelector, "_content_").concat(props.rowIndex, "_expanded");
|
|
@@ -1781,7 +1762,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1781
1762
|
onClick: onRowToggle,
|
|
1782
1763
|
className: cx('rowToggler')
|
|
1783
1764
|
};
|
|
1784
|
-
var rowTogglerProps = mergeProps(_objectSpread$
|
|
1765
|
+
var rowTogglerProps = mergeProps(_objectSpread$b(_objectSpread$b({}, expanderProps), {}, {
|
|
1785
1766
|
type: 'button',
|
|
1786
1767
|
'aria-expanded': props.expanded,
|
|
1787
1768
|
'aria-controls': ariaControls,
|
|
@@ -1811,13 +1792,13 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1811
1792
|
var rowEditorInitIconProps = mergeProps({
|
|
1812
1793
|
className: cx('rowEditorInitIcon')
|
|
1813
1794
|
}, getColumnPTOptions('rowEditorInitIcon'));
|
|
1814
|
-
var rowEditorSaveIcon = utils.IconUtils.getJSXIcon(props.rowEditorSaveIcon || /*#__PURE__*/React__namespace.createElement(check.CheckIcon, rowEditorSaveIconProps), _objectSpread$
|
|
1795
|
+
var rowEditorSaveIcon = utils.IconUtils.getJSXIcon(props.rowEditorSaveIcon || /*#__PURE__*/React__namespace.createElement(check.CheckIcon, rowEditorSaveIconProps), _objectSpread$b({}, rowEditorSaveIconProps), {
|
|
1815
1796
|
props: props
|
|
1816
1797
|
});
|
|
1817
|
-
var rowEditorCancelIcon = utils.IconUtils.getJSXIcon(props.rowEditorCancelIcon || /*#__PURE__*/React__namespace.createElement(times.TimesIcon, rowEditorCancelIconProps), _objectSpread$
|
|
1798
|
+
var rowEditorCancelIcon = utils.IconUtils.getJSXIcon(props.rowEditorCancelIcon || /*#__PURE__*/React__namespace.createElement(times.TimesIcon, rowEditorCancelIconProps), _objectSpread$b({}, rowEditorCancelIconProps), {
|
|
1818
1799
|
props: props
|
|
1819
1800
|
});
|
|
1820
|
-
var rowEditorInitIcon = utils.IconUtils.getJSXIcon(props.rowEditorInitIcon || /*#__PURE__*/React__namespace.createElement(pencil.PencilIcon, rowEditorInitIconProps), _objectSpread$
|
|
1801
|
+
var rowEditorInitIcon = utils.IconUtils.getJSXIcon(props.rowEditorInitIcon || /*#__PURE__*/React__namespace.createElement(pencil.PencilIcon, rowEditorInitIconProps), _objectSpread$b({}, rowEditorInitIconProps), {
|
|
1821
1802
|
props: props
|
|
1822
1803
|
});
|
|
1823
1804
|
if (editingState) {
|
|
@@ -1959,8 +1940,8 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1959
1940
|
});
|
|
1960
1941
|
BodyCell.displayName = 'BodyCell';
|
|
1961
1942
|
|
|
1962
|
-
function ownKeys$
|
|
1963
|
-
function _objectSpread$
|
|
1943
|
+
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; }
|
|
1944
|
+
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; }
|
|
1964
1945
|
var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
1965
1946
|
var mergeProps = hooks.useMergeProps();
|
|
1966
1947
|
var _React$useState = React__namespace.useState(false),
|
|
@@ -2266,7 +2247,7 @@ var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
2266
2247
|
newData = e.newData;
|
|
2267
2248
|
if (dataKey) {
|
|
2268
2249
|
var dataKeyValue = String(utils.ObjectUtils.resolveFieldData(data, dataKey));
|
|
2269
|
-
editingRows = props.editingRows ? _objectSpread$
|
|
2250
|
+
editingRows = props.editingRows ? _objectSpread$a({}, props.editingRows) : {};
|
|
2270
2251
|
if (!isEditing) {
|
|
2271
2252
|
delete editingRows[dataKeyValue];
|
|
2272
2253
|
// if the key value was changed, stop editing for the new key value too
|
|
@@ -2479,8 +2460,8 @@ var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
2479
2460
|
});
|
|
2480
2461
|
BodyRow.displayName = 'BodyRow';
|
|
2481
2462
|
|
|
2482
|
-
function ownKeys$
|
|
2483
|
-
function _objectSpread$
|
|
2463
|
+
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; }
|
|
2464
|
+
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; }
|
|
2484
2465
|
var RowTogglerButton = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
2485
2466
|
var mergeProps = hooks.useMergeProps();
|
|
2486
2467
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
@@ -2513,7 +2494,7 @@ var RowTogglerButton = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
2513
2494
|
'aria-hidden': true
|
|
2514
2495
|
}, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
|
|
2515
2496
|
var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React__namespace.createElement(chevrondown.ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React__namespace.createElement(chevronright.ChevronRightIcon, rowGroupTogglerIconProps);
|
|
2516
|
-
var togglerIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$
|
|
2497
|
+
var togglerIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$9({}, rowGroupTogglerIconProps), {
|
|
2517
2498
|
props: props
|
|
2518
2499
|
});
|
|
2519
2500
|
var label = props.expanded ? PrimeReact$1.ariaLabel('collapseLabel') : PrimeReact$1.ariaLabel('expandLabel');
|
|
@@ -2530,9 +2511,9 @@ var RowTogglerButton = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
2530
2511
|
});
|
|
2531
2512
|
RowTogglerButton.displayName = 'RowTogglerButton';
|
|
2532
2513
|
|
|
2533
|
-
var _excluded = ["originalEvent"];
|
|
2534
|
-
function ownKeys$
|
|
2535
|
-
function _objectSpread$
|
|
2514
|
+
var _excluded$2 = ["originalEvent"];
|
|
2515
|
+
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; }
|
|
2516
|
+
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; }
|
|
2536
2517
|
var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
2537
2518
|
var mergeProps = hooks.useMergeProps();
|
|
2538
2519
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
@@ -2695,6 +2676,9 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
2695
2676
|
options = options || props.virtualScrollerOptions;
|
|
2696
2677
|
return options ? options[option] : null;
|
|
2697
2678
|
};
|
|
2679
|
+
var getProcessedDataIndex = function getProcessedDataIndex(rowIndex) {
|
|
2680
|
+
return props.lazy ? rowIndex - props.first : rowIndex;
|
|
2681
|
+
};
|
|
2698
2682
|
var findIndex = function findIndex(collection, rowData) {
|
|
2699
2683
|
return (collection || []).findIndex(function (data) {
|
|
2700
2684
|
return equals(rowData, data);
|
|
@@ -2859,14 +2843,16 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
2859
2843
|
var rangeStart;
|
|
2860
2844
|
var rangeEnd;
|
|
2861
2845
|
var isAllowCellSelection = allowCellSelection();
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2846
|
+
var rangeRowIndexInProcessedData = getProcessedDataIndex(rangeRowIndex.current);
|
|
2847
|
+
var anchorRowIndexInProcessedData = getProcessedDataIndex(anchorRowIndex.current);
|
|
2848
|
+
if (rangeRowIndexInProcessedData > anchorRowIndexInProcessedData) {
|
|
2849
|
+
rangeStart = anchorRowIndexInProcessedData;
|
|
2850
|
+
rangeEnd = rangeRowIndexInProcessedData;
|
|
2851
|
+
} else if (rangeRowIndexInProcessedData < anchorRowIndexInProcessedData) {
|
|
2852
|
+
rangeStart = rangeRowIndexInProcessedData;
|
|
2853
|
+
rangeEnd = anchorRowIndexInProcessedData;
|
|
2868
2854
|
} else {
|
|
2869
|
-
rangeStart = rangeEnd =
|
|
2855
|
+
rangeStart = rangeEnd = rangeRowIndexInProcessedData;
|
|
2870
2856
|
}
|
|
2871
2857
|
return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
|
|
2872
2858
|
};
|
|
@@ -2907,7 +2893,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
2907
2893
|
for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
|
|
2908
2894
|
var rowData = value[i];
|
|
2909
2895
|
var columns = props.columns;
|
|
2910
|
-
var rowIndex = props.
|
|
2896
|
+
var rowIndex = props.lazy ? i + props.first : i;
|
|
2911
2897
|
for (var j = cellRangeStart; j <= cellRangeEnd; j++) {
|
|
2912
2898
|
var field = getColumnProp(columns[j], 'field');
|
|
2913
2899
|
var _value = utils.ObjectUtils.resolveFieldData(rowData, field);
|
|
@@ -2937,7 +2923,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
2937
2923
|
};
|
|
2938
2924
|
var onSelect = function onSelect(event) {
|
|
2939
2925
|
if (allowCellSelection()) {
|
|
2940
|
-
props.onCellSelect && props.onCellSelect(_objectSpread$
|
|
2926
|
+
props.onCellSelect && props.onCellSelect(_objectSpread$8(_objectSpread$8({
|
|
2941
2927
|
originalEvent: event.originalEvent
|
|
2942
2928
|
}, event.data), {}, {
|
|
2943
2929
|
type: event.type
|
|
@@ -2948,7 +2934,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
2948
2934
|
};
|
|
2949
2935
|
var onUnselect = function onUnselect(event) {
|
|
2950
2936
|
if (allowCellSelection()) {
|
|
2951
|
-
props.onCellUnselect && props.onCellUnselect(_objectSpread$
|
|
2937
|
+
props.onCellUnselect && props.onCellUnselect(_objectSpread$8(_objectSpread$8({
|
|
2952
2938
|
originalEvent: event.originalEvent
|
|
2953
2939
|
}, event.data), {}, {
|
|
2954
2940
|
type: event.type
|
|
@@ -3010,12 +2996,12 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
3010
2996
|
rangeRowIndex.current = event.index;
|
|
3011
2997
|
anchorRowFirst.current = props.first;
|
|
3012
2998
|
if (isSingleSelection()) {
|
|
3013
|
-
onSingleSelection(_objectSpread$
|
|
2999
|
+
onSingleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
3014
3000
|
toggleable: toggleable,
|
|
3015
3001
|
type: 'row'
|
|
3016
3002
|
}));
|
|
3017
3003
|
} else {
|
|
3018
|
-
onMultipleSelection(_objectSpread$
|
|
3004
|
+
onMultipleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
3019
3005
|
toggleable: toggleable,
|
|
3020
3006
|
type: 'row'
|
|
3021
3007
|
}));
|
|
@@ -3112,7 +3098,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
3112
3098
|
var hasDataKey = props.groupRowsBy ? dataKey === props.groupRowsBy : !!dataKey;
|
|
3113
3099
|
if (hasDataKey) {
|
|
3114
3100
|
var dataKeyValue = String(utils.ObjectUtils.resolveFieldData(event.data, dataKey));
|
|
3115
|
-
expandedRows = props.expandedRows ? _objectSpread$
|
|
3101
|
+
expandedRows = props.expandedRows ? _objectSpread$8({}, props.expandedRows) : {};
|
|
3116
3102
|
if (expandedRows[dataKeyValue] != null) {
|
|
3117
3103
|
delete expandedRows[dataKeyValue];
|
|
3118
3104
|
if (props.onRowCollapse) {
|
|
@@ -3248,13 +3234,13 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
3248
3234
|
event.preventDefault();
|
|
3249
3235
|
};
|
|
3250
3236
|
var onRadioChange = function onRadioChange(event) {
|
|
3251
|
-
onSingleSelection(_objectSpread$
|
|
3237
|
+
onSingleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
3252
3238
|
toggleable: true,
|
|
3253
3239
|
type: 'radio'
|
|
3254
3240
|
}));
|
|
3255
3241
|
};
|
|
3256
3242
|
var onCheckboxChange = function onCheckboxChange(event) {
|
|
3257
|
-
onMultipleSelection(_objectSpread$
|
|
3243
|
+
onMultipleSelection(_objectSpread$8(_objectSpread$8({}, event), {}, {
|
|
3258
3244
|
toggleable: true,
|
|
3259
3245
|
type: 'checkbox'
|
|
3260
3246
|
}));
|
|
@@ -3294,7 +3280,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
3294
3280
|
} else {
|
|
3295
3281
|
var toggleable = allowMetaKeySelection(event);
|
|
3296
3282
|
var originalEvent = event.originalEvent,
|
|
3297
|
-
data = _objectWithoutProperties(event, _excluded);
|
|
3283
|
+
data = _objectWithoutProperties(event, _excluded$2);
|
|
3298
3284
|
anchorRowIndex.current = event.rowIndex;
|
|
3299
3285
|
rangeRowIndex.current = event.rowIndex;
|
|
3300
3286
|
anchorRowFirst.current = props.first;
|
|
@@ -3372,7 +3358,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
3372
3358
|
var emptyMessageProps = mergeProps({
|
|
3373
3359
|
className: cx('emptyMessage'),
|
|
3374
3360
|
role: 'row'
|
|
3375
|
-
},
|
|
3361
|
+
}, ptm('emptyMessage'));
|
|
3376
3362
|
var bodyCellProps = mergeProps({
|
|
3377
3363
|
colSpan: colSpan,
|
|
3378
3364
|
role: 'cell'
|
|
@@ -3382,7 +3368,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
3382
3368
|
return null;
|
|
3383
3369
|
};
|
|
3384
3370
|
var createGroupHeader = function createGroupHeader(rowData, rowIndex, expanded, colSpan) {
|
|
3385
|
-
if (isSubheaderGrouping && shouldRenderRowGroupHeader(props.value, rowData, rowIndex
|
|
3371
|
+
if (isSubheaderGrouping && shouldRenderRowGroupHeader(props.value, rowData, getProcessedDataIndex(rowIndex))) {
|
|
3386
3372
|
var style = rowGroupHeaderStyle();
|
|
3387
3373
|
var toggler = props.expandableRowGroups && /*#__PURE__*/React__namespace.createElement(RowTogglerButton, {
|
|
3388
3374
|
hostName: props.hostName,
|
|
@@ -3409,14 +3395,14 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
3409
3395
|
}, getColumnPTOptions('root'), getColumnPTOptions('bodyCell'));
|
|
3410
3396
|
var rowGroupHeaderNameProps = mergeProps({
|
|
3411
3397
|
className: cx('rowGroupHeaderName')
|
|
3412
|
-
},
|
|
3398
|
+
}, ptm('rowGroupHeaderName'));
|
|
3413
3399
|
_content2 = /*#__PURE__*/React__namespace.createElement("td", bodyCellProps, toggler, /*#__PURE__*/React__namespace.createElement("span", rowGroupHeaderNameProps, _content2));
|
|
3414
3400
|
}
|
|
3415
3401
|
var rowGroupHeaderProps = mergeProps({
|
|
3416
3402
|
className: cx('rowGroupHeader'),
|
|
3417
3403
|
style: style,
|
|
3418
3404
|
role: 'row'
|
|
3419
|
-
},
|
|
3405
|
+
}, ptm('rowGroupHeader'));
|
|
3420
3406
|
return /*#__PURE__*/React__namespace.createElement("tr", rowGroupHeaderProps, _content2);
|
|
3421
3407
|
}
|
|
3422
3408
|
return null;
|
|
@@ -3524,7 +3510,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
3524
3510
|
id: id,
|
|
3525
3511
|
className: cx('rowExpansion'),
|
|
3526
3512
|
role: 'row'
|
|
3527
|
-
},
|
|
3513
|
+
}, ptm('rowExpansion'));
|
|
3528
3514
|
return /*#__PURE__*/React__namespace.createElement("tr", rowExpansionProps, _content3);
|
|
3529
3515
|
}
|
|
3530
3516
|
return null;
|
|
@@ -3539,7 +3525,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
|
|
|
3539
3525
|
var rowGroupFooterProps = mergeProps({
|
|
3540
3526
|
className: cx('rowGroupFooter'),
|
|
3541
3527
|
role: 'row'
|
|
3542
|
-
},
|
|
3528
|
+
}, ptm('rowGroupFooter'));
|
|
3543
3529
|
return /*#__PURE__*/React__namespace.createElement("tr", rowGroupFooterProps, _content4);
|
|
3544
3530
|
}
|
|
3545
3531
|
return null;
|
|
@@ -3601,8 +3587,8 @@ var RowBase = componentbase.ComponentBase.extend({
|
|
|
3601
3587
|
}
|
|
3602
3588
|
});
|
|
3603
3589
|
|
|
3604
|
-
function ownKeys$
|
|
3605
|
-
function _objectSpread$
|
|
3590
|
+
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; }
|
|
3591
|
+
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; }
|
|
3606
3592
|
var FooterCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
3607
3593
|
var _React$useState = React__namespace.useState({}),
|
|
3608
3594
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -3646,7 +3632,7 @@ var FooterCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
3646
3632
|
};
|
|
3647
3633
|
var updateStickyPosition = function updateStickyPosition() {
|
|
3648
3634
|
if (getColumnProp('frozen')) {
|
|
3649
|
-
var styleObject = _objectSpread$
|
|
3635
|
+
var styleObject = _objectSpread$7({}, styleObjectState);
|
|
3650
3636
|
var _align = getColumnProp('alignFrozen');
|
|
3651
3637
|
if (_align === 'right') {
|
|
3652
3638
|
var right = 0;
|
|
@@ -3695,6 +3681,9 @@ var FooterCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
3695
3681
|
});
|
|
3696
3682
|
FooterCell.displayName = 'FooterCell';
|
|
3697
3683
|
|
|
3684
|
+
var _excluded$1 = ["unstyled", "__TYPE", "ptOptions"];
|
|
3685
|
+
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; }
|
|
3686
|
+
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; }
|
|
3698
3687
|
var TableFooter = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
3699
3688
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
3700
3689
|
ptm = _props$ptCallbacks.ptm,
|
|
@@ -3760,9 +3749,16 @@ var TableFooter = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
3760
3749
|
if (props.footerColumnGroup) {
|
|
3761
3750
|
var rows = React__namespace.Children.toArray(ColumnGroupBase.getCProp(props.footerColumnGroup, 'children'));
|
|
3762
3751
|
return rows.map(function (row, i) {
|
|
3752
|
+
var _RowBase$getProps = RowBase.getProps(row.props, context),
|
|
3753
|
+
unstyled = _RowBase$getProps.unstyled;
|
|
3754
|
+
_RowBase$getProps.__TYPE;
|
|
3755
|
+
_RowBase$getProps.ptOptions;
|
|
3756
|
+
var rest = _objectWithoutProperties(_RowBase$getProps, _excluded$1);
|
|
3763
3757
|
var rootProps = mergeProps({
|
|
3764
3758
|
role: 'row'
|
|
3765
|
-
},
|
|
3759
|
+
}, unstyled ? _objectSpread$6({
|
|
3760
|
+
unstyled: unstyled
|
|
3761
|
+
}, rest) : rest, getRowPTOptions(row, 'root'));
|
|
3766
3762
|
return /*#__PURE__*/React__namespace.createElement("tr", _extends({}, rootProps, {
|
|
3767
3763
|
key: i
|
|
3768
3764
|
}), createGroupFooterCells(row));
|
|
@@ -3789,28 +3785,20 @@ var TableFooter = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
3789
3785
|
});
|
|
3790
3786
|
TableFooter.displayName = 'TableFooter';
|
|
3791
3787
|
|
|
3792
|
-
function _defineProperties(
|
|
3793
|
-
for (var
|
|
3794
|
-
var
|
|
3795
|
-
|
|
3796
|
-
descriptor.configurable = true;
|
|
3797
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
3798
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
3788
|
+
function _defineProperties(e, r) {
|
|
3789
|
+
for (var t = 0; t < r.length; t++) {
|
|
3790
|
+
var o = r[t];
|
|
3791
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
3799
3792
|
}
|
|
3800
3793
|
}
|
|
3801
|
-
function _createClass(
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
writable: false
|
|
3806
|
-
});
|
|
3807
|
-
return Constructor;
|
|
3794
|
+
function _createClass(e, r, t) {
|
|
3795
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
3796
|
+
writable: !1
|
|
3797
|
+
}), e;
|
|
3808
3798
|
}
|
|
3809
3799
|
|
|
3810
|
-
function _classCallCheck(
|
|
3811
|
-
if (!(
|
|
3812
|
-
throw new TypeError("Cannot call a class as a function");
|
|
3813
|
-
}
|
|
3800
|
+
function _classCallCheck(a, n) {
|
|
3801
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
3814
3802
|
}
|
|
3815
3803
|
|
|
3816
3804
|
var FilterMatchMode = Object.freeze({
|
|
@@ -3966,6 +3954,7 @@ var locales = {
|
|
|
3966
3954
|
jumpToPageDropdownLabel: 'Jump to Page Dropdown',
|
|
3967
3955
|
jumpToPageInputLabel: 'Jump to Page Input',
|
|
3968
3956
|
lastPageLabel: 'Last Page',
|
|
3957
|
+
listLabel: 'Option List',
|
|
3969
3958
|
listView: 'List View',
|
|
3970
3959
|
moveAllToSource: 'Move All to Source',
|
|
3971
3960
|
moveAllToTarget: 'Move All to Target',
|
|
@@ -3984,7 +3973,7 @@ var locales = {
|
|
|
3984
3973
|
passwordHide: 'Hide Password',
|
|
3985
3974
|
passwordShow: 'Show Password',
|
|
3986
3975
|
previous: 'Previous',
|
|
3987
|
-
|
|
3976
|
+
prevPageLabel: 'Previous Page',
|
|
3988
3977
|
rotateLeft: 'Rotate Left',
|
|
3989
3978
|
rotateRight: 'Rotate Right',
|
|
3990
3979
|
rowsPerPageLabel: 'Rows per page',
|
|
@@ -5446,6 +5435,7 @@ var HeaderCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
5446
5435
|
});
|
|
5447
5436
|
HeaderCell.displayName = 'HeaderCell';
|
|
5448
5437
|
|
|
5438
|
+
var _excluded = ["unstyled", "__TYPE", "ptOptions"];
|
|
5449
5439
|
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; }
|
|
5450
5440
|
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; }
|
|
5451
5441
|
var TableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
@@ -5672,9 +5662,16 @@ var TableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
5672
5662
|
if (props.headerColumnGroup) {
|
|
5673
5663
|
var rows = React__namespace.Children.toArray(ColumnGroupBase.getCProp(props.headerColumnGroup, 'children'));
|
|
5674
5664
|
return rows.map(function (row, i) {
|
|
5665
|
+
var _RowBase$getProps = RowBase.getProps(row.props, context),
|
|
5666
|
+
unstyled = _RowBase$getProps.unstyled;
|
|
5667
|
+
_RowBase$getProps.__TYPE;
|
|
5668
|
+
_RowBase$getProps.ptOptions;
|
|
5669
|
+
var rest = _objectWithoutProperties(_RowBase$getProps, _excluded);
|
|
5675
5670
|
var headerRowProps = mergeProps({
|
|
5676
5671
|
role: 'row'
|
|
5677
|
-
},
|
|
5672
|
+
}, unstyled ? _objectSpread$1({
|
|
5673
|
+
unstyled: unstyled
|
|
5674
|
+
}, rest) : rest, getRowPTOptions(row, 'root'));
|
|
5678
5675
|
return /*#__PURE__*/React__namespace.createElement("tr", _extends({}, headerRowProps, {
|
|
5679
5676
|
key: i
|
|
5680
5677
|
}), createGroupHeaderCells(row));
|
|
@@ -5700,9 +5697,9 @@ var TableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
5700
5697
|
});
|
|
5701
5698
|
TableHeader.displayName = 'TableHeader';
|
|
5702
5699
|
|
|
5703
|
-
function _createForOfIteratorHelper(
|
|
5704
|
-
function _unsupportedIterableToArray(
|
|
5705
|
-
function _arrayLikeToArray(
|
|
5700
|
+
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; } } }; }
|
|
5701
|
+
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; } }
|
|
5702
|
+
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; }
|
|
5706
5703
|
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; }
|
|
5707
5704
|
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; }
|
|
5708
5705
|
var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
@@ -5745,14 +5742,18 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
5745
5742
|
_React$useState18 = _slicedToArray(_React$useState17, 2),
|
|
5746
5743
|
editingMetaState = _React$useState18[0],
|
|
5747
5744
|
setEditingMetaState = _React$useState18[1];
|
|
5748
|
-
var _React$useState19 = React__namespace.useState(
|
|
5745
|
+
var _React$useState19 = React__namespace.useState({}),
|
|
5749
5746
|
_React$useState20 = _slicedToArray(_React$useState19, 2),
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
var _React$useState21 = React__namespace.useState(
|
|
5747
|
+
frozenEditingMetaState = _React$useState20[0],
|
|
5748
|
+
setFrozenEditingMetaState = _React$useState20[1];
|
|
5749
|
+
var _React$useState21 = React__namespace.useState(props.rows),
|
|
5753
5750
|
_React$useState22 = _slicedToArray(_React$useState21, 2),
|
|
5754
|
-
|
|
5755
|
-
|
|
5751
|
+
d_rowsState = _React$useState22[0],
|
|
5752
|
+
setD_rowsState = _React$useState22[1];
|
|
5753
|
+
var _React$useState23 = React__namespace.useState({}),
|
|
5754
|
+
_React$useState24 = _slicedToArray(_React$useState23, 2),
|
|
5755
|
+
d_filtersState = _React$useState24[0],
|
|
5756
|
+
setD_filtersState = _React$useState24[1];
|
|
5756
5757
|
var metaData = {
|
|
5757
5758
|
props: props,
|
|
5758
5759
|
state: {
|
|
@@ -5765,6 +5766,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
5765
5766
|
columnOrder: columnOrderState,
|
|
5766
5767
|
groupRowsSortMeta: groupRowsSortMetaState,
|
|
5767
5768
|
editingMeta: editingMetaState,
|
|
5769
|
+
frozenEditingMeta: frozenEditingMetaState,
|
|
5768
5770
|
d_rows: d_rowsState,
|
|
5769
5771
|
d_filters: d_filtersState
|
|
5770
5772
|
},
|
|
@@ -6169,6 +6171,32 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
6169
6171
|
setEditingMetaState({});
|
|
6170
6172
|
}
|
|
6171
6173
|
};
|
|
6174
|
+
var onFrozenEditingMetaChange = function onFrozenEditingMetaChange(e) {
|
|
6175
|
+
var rowData = e.rowData,
|
|
6176
|
+
field = e.field,
|
|
6177
|
+
editingKey = e.editingKey,
|
|
6178
|
+
editing = e.editing;
|
|
6179
|
+
var frozenEditingMeta = _objectSpread({}, frozenEditingMetaState);
|
|
6180
|
+
var meta = frozenEditingMeta[editingKey];
|
|
6181
|
+
if (editing) {
|
|
6182
|
+
!meta && (meta = frozenEditingMeta[editingKey] = {
|
|
6183
|
+
data: _objectSpread({}, rowData),
|
|
6184
|
+
fields: []
|
|
6185
|
+
});
|
|
6186
|
+
meta.fields.push(field);
|
|
6187
|
+
} else if (meta) {
|
|
6188
|
+
var fields = meta.fields.filter(function (f) {
|
|
6189
|
+
return f !== field;
|
|
6190
|
+
});
|
|
6191
|
+
!fields.length ? delete frozenEditingMeta[editingKey] : meta.fields = fields;
|
|
6192
|
+
}
|
|
6193
|
+
setFrozenEditingMetaState(frozenEditingMeta);
|
|
6194
|
+
};
|
|
6195
|
+
var clearFrozenEditingMetaData = function clearFrozenEditingMetaData() {
|
|
6196
|
+
if (props.editMode && utils.ObjectUtils.isNotEmpty(frozenEditingMetaState)) {
|
|
6197
|
+
setFrozenEditingMetaState({});
|
|
6198
|
+
}
|
|
6199
|
+
};
|
|
6172
6200
|
var onColumnResizeStart = function onColumnResizeStart(e) {
|
|
6173
6201
|
createBeforeResizeStyleElement();
|
|
6174
6202
|
var event = e.originalEvent,
|
|
@@ -6459,6 +6487,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
6459
6487
|
};
|
|
6460
6488
|
var onPageChange = function onPageChange(e) {
|
|
6461
6489
|
clearEditingMetaData();
|
|
6490
|
+
clearFrozenEditingMetaData();
|
|
6462
6491
|
if (props.onPage) {
|
|
6463
6492
|
props.onPage(createEvent(e));
|
|
6464
6493
|
} else {
|
|
@@ -6471,6 +6500,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
6471
6500
|
};
|
|
6472
6501
|
var onSortChange = function onSortChange(e) {
|
|
6473
6502
|
clearEditingMetaData();
|
|
6503
|
+
clearFrozenEditingMetaData();
|
|
6474
6504
|
var event = e.originalEvent,
|
|
6475
6505
|
column = e.column,
|
|
6476
6506
|
sortableDisabledFields = e.sortableDisabledFields;
|
|
@@ -6648,6 +6678,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
6648
6678
|
};
|
|
6649
6679
|
var onFilterChange = function onFilterChange(filters) {
|
|
6650
6680
|
clearEditingMetaData();
|
|
6681
|
+
clearFrozenEditingMetaData();
|
|
6651
6682
|
setD_filtersState(filters);
|
|
6652
6683
|
};
|
|
6653
6684
|
var onFilterApply = function onFilterApply(filtersToApply) {
|
|
@@ -6837,6 +6868,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
6837
6868
|
setD_filtersState(cloneFilters(props.filters));
|
|
6838
6869
|
setGroupRowsSortMetaState(null);
|
|
6839
6870
|
setEditingMetaState({});
|
|
6871
|
+
setFrozenEditingMetaState({});
|
|
6840
6872
|
if (!props.onPage) {
|
|
6841
6873
|
setFirstState(props.first);
|
|
6842
6874
|
setRowsState(props.rows);
|
|
@@ -7201,7 +7233,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
7201
7233
|
dataKey: props.dataKey,
|
|
7202
7234
|
dragSelection: props.dragSelection,
|
|
7203
7235
|
editMode: props.editMode,
|
|
7204
|
-
editingMeta:
|
|
7236
|
+
editingMeta: frozenEditingMetaState,
|
|
7205
7237
|
editingRows: props.editingRows,
|
|
7206
7238
|
emptyMessage: props.emptyMessage,
|
|
7207
7239
|
expandableRowGroups: props.expandableRowGroups,
|
|
@@ -7220,7 +7252,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
7220
7252
|
onCellUnselect: props.onCellUnselect,
|
|
7221
7253
|
onContextMenu: props.onContextMenu,
|
|
7222
7254
|
onContextMenuSelectionChange: props.onContextMenuSelectionChange,
|
|
7223
|
-
onEditingMetaChange:
|
|
7255
|
+
onEditingMetaChange: onFrozenEditingMetaChange,
|
|
7224
7256
|
onRowClick: props.onRowClick,
|
|
7225
7257
|
onRowCollapse: props.onRowCollapse,
|
|
7226
7258
|
onRowDoubleClick: props.onRowDoubleClick,
|