primereact 9.0.0-beta.1 → 9.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.cjs.js +69 -50
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.d.ts +1 -1
- package/accordion/accordion.esm.js +70 -51
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +69 -50
- package/accordion/accordion.min.js +1 -1
- package/accordion/package.json +2 -1
- package/api/api.cjs.js +21 -19
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +1 -1
- package/api/api.esm.js +21 -19
- package/api/api.esm.min.js +1 -1
- package/api/api.js +21 -19
- package/api/api.min.js +1 -1
- package/api/package.json +2 -1
- package/autocomplete/autocomplete.cjs.js +80 -73
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +1 -1
- package/autocomplete/autocomplete.esm.js +81 -74
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +80 -73
- package/autocomplete/autocomplete.min.js +1 -1
- package/autocomplete/package.json +2 -1
- package/avatar/avatar.cjs.js +29 -22
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.d.ts +1 -1
- package/avatar/avatar.esm.js +29 -22
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +29 -22
- package/avatar/avatar.min.js +1 -1
- package/avatar/package.json +2 -1
- package/avatargroup/avatargroup.cjs.js +18 -7
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.d.ts +1 -1
- package/avatargroup/avatargroup.esm.js +18 -7
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +18 -7
- package/avatargroup/avatargroup.min.js +1 -1
- package/avatargroup/package.json +2 -1
- package/badge/badge.cjs.js +21 -10
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.d.ts +1 -1
- package/badge/badge.esm.js +21 -10
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +21 -10
- package/badge/badge.min.js +1 -1
- package/badge/package.json +2 -1
- package/blockui/blockui.cjs.js +30 -23
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.d.ts +1 -1
- package/blockui/blockui.esm.js +31 -24
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +30 -23
- package/blockui/blockui.min.js +1 -1
- package/blockui/package.json +2 -1
- package/breadcrumb/breadcrumb.cjs.js +21 -10
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.d.ts +1 -1
- package/breadcrumb/breadcrumb.esm.js +21 -10
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +21 -10
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/breadcrumb/package.json +2 -1
- package/button/button.cjs.js +27 -16
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +27 -16
- package/button/button.esm.min.js +1 -1
- package/button/button.js +27 -16
- package/button/button.min.js +1 -1
- package/button/package.json +2 -1
- package/calendar/calendar.cjs.js +104 -97
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +1 -1
- package/calendar/calendar.esm.js +105 -98
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +104 -97
- package/calendar/calendar.min.js +1 -1
- package/calendar/package.json +2 -1
- package/card/card.cjs.js +23 -12
- package/card/card.cjs.min.js +1 -1
- package/card/card.d.ts +1 -1
- package/card/card.esm.js +23 -12
- package/card/card.esm.min.js +1 -1
- package/card/card.js +23 -12
- package/card/card.min.js +1 -1
- package/card/package.json +2 -1
- package/carousel/carousel.cjs.js +39 -32
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.d.ts +1 -1
- package/carousel/carousel.esm.js +40 -33
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +39 -32
- package/carousel/carousel.min.js +1 -1
- package/carousel/package.json +2 -1
- package/cascadeselect/cascadeselect.cjs.js +46 -39
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +1 -1
- package/cascadeselect/cascadeselect.esm.js +47 -40
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +46 -39
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/cascadeselect/package.json +2 -1
- package/chart/chart.cjs.js +25 -14
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.d.ts +1 -1
- package/chart/chart.esm.js +25 -14
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +25 -14
- package/chart/chart.min.js +1 -1
- package/chart/package.json +2 -1
- package/checkbox/checkbox.cjs.js +38 -31
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.d.ts +2 -2
- package/checkbox/checkbox.esm.js +39 -32
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +38 -31
- package/checkbox/checkbox.min.js +1 -1
- package/checkbox/package.json +2 -1
- package/chip/chip.cjs.js +29 -22
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.d.ts +1 -1
- package/chip/chip.esm.js +29 -22
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +29 -22
- package/chip/chip.min.js +1 -1
- package/chip/package.json +2 -1
- package/chips/chips.cjs.js +44 -37
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.d.ts +1 -1
- package/chips/chips.esm.js +44 -37
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +44 -37
- package/chips/chips.min.js +1 -1
- package/chips/package.json +2 -1
- package/colorpicker/colorpicker.cjs.js +39 -32
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.d.ts +1 -1
- package/colorpicker/colorpicker.esm.js +40 -33
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +39 -32
- package/colorpicker/colorpicker.min.js +1 -1
- package/colorpicker/package.json +2 -1
- package/column/column.cjs.js +0 -79
- package/column/column.cjs.min.js +1 -1
- package/column/column.d.ts +1 -1
- package/column/column.esm.js +0 -79
- package/column/column.esm.min.js +1 -1
- package/column/column.js +6 -85
- package/column/column.min.js +1 -1
- package/column/package.json +2 -1
- package/columngroup/columngroup.cjs.js +0 -3
- package/columngroup/columngroup.cjs.min.js +1 -1
- package/columngroup/columngroup.d.ts +1 -1
- package/columngroup/columngroup.esm.js +0 -3
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +6 -9
- package/columngroup/columngroup.min.js +1 -1
- package/columngroup/package.json +2 -1
- package/confirmdialog/confirmdialog.cjs.js +35 -28
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.d.ts +1 -1
- package/confirmdialog/confirmdialog.esm.js +36 -29
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +35 -28
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmdialog/package.json +2 -1
- package/confirmpopup/confirmpopup.cjs.js +39 -32
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.d.ts +1 -1
- package/confirmpopup/confirmpopup.esm.js +40 -33
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +39 -32
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/confirmpopup/package.json +2 -1
- package/contextmenu/contextmenu.cjs.js +29 -22
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.d.ts +2 -2
- package/contextmenu/contextmenu.esm.js +30 -23
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +29 -22
- package/contextmenu/contextmenu.min.js +1 -1
- package/contextmenu/package.json +2 -1
- package/core/core.js +1663 -1010
- package/core/core.min.js +18 -18
- package/csstransition/csstransition.cjs.js +15 -4
- package/csstransition/csstransition.cjs.min.js +1 -1
- package/csstransition/csstransition.d.ts +1 -1
- package/csstransition/csstransition.esm.js +15 -4
- package/csstransition/csstransition.esm.min.js +1 -1
- package/csstransition/csstransition.js +15 -4
- package/csstransition/csstransition.min.js +1 -1
- package/csstransition/package.json +2 -1
- package/datascroller/datascroller.cjs.js +33 -26
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.d.ts +1 -1
- package/datascroller/datascroller.esm.js +33 -26
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +33 -26
- package/datascroller/datascroller.min.js +1 -1
- package/datascroller/package.json +2 -1
- package/datatable/datatable.cjs.js +360 -218
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +26 -11
- package/datatable/datatable.esm.js +361 -219
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +361 -219
- package/datatable/datatable.min.js +1 -1
- package/datatable/package.json +2 -1
- package/dataview/dataview.cjs.js +69 -52
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.d.ts +1 -1
- package/dataview/dataview.esm.js +69 -52
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +69 -52
- package/dataview/dataview.min.js +1 -1
- package/dataview/package.json +2 -1
- package/deferredcontent/deferredcontent.cjs.js +19 -12
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.d.ts +1 -1
- package/deferredcontent/deferredcontent.esm.js +19 -12
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +19 -12
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/deferredcontent/package.json +2 -1
- package/dialog/dialog.cjs.js +63 -56
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.d.ts +1 -1
- package/dialog/dialog.esm.js +64 -57
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +63 -56
- package/dialog/dialog.min.js +1 -1
- package/dialog/package.json +2 -1
- package/divider/divider.cjs.js +21 -10
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.d.ts +1 -1
- package/divider/divider.esm.js +21 -10
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +21 -10
- package/divider/divider.min.js +1 -1
- package/divider/package.json +2 -1
- package/dock/dock.cjs.js +26 -19
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.d.ts +1 -1
- package/dock/dock.esm.js +26 -19
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +26 -19
- package/dock/dock.min.js +1 -1
- package/dock/package.json +2 -1
- package/dropdown/dropdown.cjs.js +77 -70
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +1 -1
- package/dropdown/dropdown.esm.js +78 -71
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +77 -70
- package/dropdown/dropdown.min.js +1 -1
- package/dropdown/package.json +2 -1
- package/editor/editor.cjs.js +31 -20
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.d.ts +1 -1
- package/editor/editor.esm.js +32 -21
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +31 -20
- package/editor/editor.min.js +1 -1
- package/editor/package.json +2 -1
- package/fieldset/fieldset.cjs.js +29 -22
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.d.ts +1 -1
- package/fieldset/fieldset.esm.js +30 -23
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +29 -22
- package/fieldset/fieldset.min.js +1 -1
- package/fieldset/package.json +2 -1
- package/fileupload/fileupload.cjs.js +83 -76
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.d.ts +1 -1
- package/fileupload/fileupload.esm.js +83 -76
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +83 -76
- package/fileupload/fileupload.min.js +1 -1
- package/fileupload/package.json +2 -1
- package/galleria/galleria.cjs.js +48 -41
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.d.ts +1 -1
- package/galleria/galleria.esm.js +49 -42
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +48 -41
- package/galleria/galleria.min.js +1 -1
- package/galleria/package.json +2 -1
- package/hooks/hooks.cjs.js +577 -146
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.d.ts +81 -0
- package/hooks/hooks.esm.js +557 -133
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +869 -438
- package/hooks/hooks.min.js +1 -1
- package/hooks/package.json +2 -1
- package/image/image.cjs.js +32 -25
- package/image/image.cjs.min.js +1 -1
- package/image/image.d.ts +1 -1
- package/image/image.esm.js +33 -26
- package/image/image.esm.min.js +1 -1
- package/image/image.js +32 -25
- package/image/image.min.js +1 -1
- package/image/package.json +2 -1
- package/inplace/inplace.cjs.js +51 -37
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.d.ts +1 -1
- package/inplace/inplace.esm.js +51 -37
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +51 -37
- package/inplace/inplace.min.js +1 -1
- package/inplace/package.json +2 -1
- package/inputmask/inputmask.cjs.js +44 -41
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.d.ts +1 -1
- package/inputmask/inputmask.esm.js +45 -42
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +44 -41
- package/inputmask/inputmask.min.js +1 -1
- package/inputmask/package.json +2 -1
- package/inputnumber/inputnumber.cjs.js +67 -60
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.d.ts +1 -1
- package/inputnumber/inputnumber.esm.js +68 -61
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +67 -60
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputnumber/package.json +2 -1
- package/inputswitch/inputswitch.cjs.js +34 -27
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.d.ts +2 -2
- package/inputswitch/inputswitch.esm.js +35 -28
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +34 -27
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputswitch/package.json +2 -1
- package/inputtext/inputtext.cjs.js +23 -12
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.d.ts +1 -1
- package/inputtext/inputtext.esm.js +23 -12
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +23 -12
- package/inputtext/inputtext.min.js +1 -1
- package/inputtext/package.json +2 -1
- package/inputtextarea/inputtextarea.cjs.js +27 -16
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.d.ts +1 -1
- package/inputtextarea/inputtextarea.esm.js +27 -16
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +27 -16
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/inputtextarea/package.json +2 -1
- package/keyfilter/keyfilter.cjs.js +1 -3
- package/keyfilter/keyfilter.esm.js +1 -3
- package/keyfilter/keyfilter.js +1 -3
- package/keyfilter/package.json +2 -1
- package/knob/knob.cjs.js +36 -29
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.d.ts +1 -1
- package/knob/knob.esm.js +36 -29
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +36 -29
- package/knob/knob.min.js +1 -1
- package/knob/package.json +2 -1
- package/listbox/listbox.cjs.js +53 -46
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.d.ts +1 -1
- package/listbox/listbox.esm.js +53 -46
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +53 -46
- package/listbox/listbox.min.js +1 -1
- package/listbox/package.json +2 -1
- package/megamenu/megamenu.cjs.js +25 -18
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.d.ts +1 -1
- package/megamenu/megamenu.esm.js +26 -19
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +25 -18
- package/megamenu/megamenu.min.js +1 -1
- package/megamenu/package.json +2 -1
- package/mention/mention.cjs.js +71 -53
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.d.ts +1 -1
- package/mention/mention.esm.js +71 -53
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +71 -53
- package/mention/mention.min.js +1 -1
- package/mention/package.json +2 -1
- package/menu/menu.cjs.js +29 -22
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.d.ts +1 -1
- package/menu/menu.esm.js +30 -23
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +29 -22
- package/menu/menu.min.js +1 -1
- package/menu/package.json +2 -1
- package/menubar/menubar.cjs.js +24 -17
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.d.ts +1 -1
- package/menubar/menubar.esm.js +25 -18
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +24 -17
- package/menubar/menubar.min.js +1 -1
- package/menubar/package.json +2 -1
- package/menuitem/package.json +2 -1
- package/message/message.cjs.js +23 -12
- package/message/message.cjs.min.js +1 -1
- package/message/message.d.ts +1 -1
- package/message/message.esm.js +23 -12
- package/message/message.esm.min.js +1 -1
- package/message/message.js +23 -12
- package/message/message.min.js +1 -1
- package/message/package.json +2 -1
- package/messages/messages.cjs.js +24 -17
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.d.ts +1 -1
- package/messages/messages.esm.js +25 -18
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +24 -17
- package/messages/messages.min.js +1 -1
- package/messages/package.json +2 -1
- package/multiselect/multiselect.cjs.js +116 -98
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +1 -1
- package/multiselect/multiselect.esm.js +117 -99
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +116 -98
- package/multiselect/multiselect.min.js +1 -1
- package/multiselect/package.json +2 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +39 -28
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.d.ts +5 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +40 -29
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +39 -28
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/multistatecheckbox/package.json +2 -1
- package/orderlist/orderlist.cjs.js +37 -30
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.d.ts +1 -1
- package/orderlist/orderlist.esm.js +37 -30
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +38 -31
- package/orderlist/orderlist.min.js +1 -1
- package/orderlist/package.json +2 -1
- package/organizationchart/organizationchart.cjs.js +28 -21
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.d.ts +1 -1
- package/organizationchart/organizationchart.esm.js +29 -22
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +28 -21
- package/organizationchart/organizationchart.min.js +1 -1
- package/organizationchart/package.json +2 -1
- package/overlaypanel/overlaypanel.cjs.js +29 -22
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.d.ts +1 -1
- package/overlaypanel/overlaypanel.esm.js +30 -23
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +29 -22
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/overlaypanel/package.json +2 -1
- package/overlayservice/overlayservice.d.ts +1 -1
- package/overlayservice/package.json +2 -1
- package/package.json +2 -2
- package/paginator/package.json +2 -1
- package/paginator/paginator.cjs.js +184 -97
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.d.ts +1 -1
- package/paginator/paginator.esm.js +184 -97
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +184 -97
- package/paginator/paginator.min.js +1 -1
- package/panel/package.json +2 -1
- package/panel/panel.cjs.js +32 -25
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.d.ts +2 -2
- package/panel/panel.esm.js +32 -25
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +32 -25
- package/panel/panel.min.js +1 -1
- package/panelmenu/package.json +2 -1
- package/panelmenu/panelmenu.cjs.js +24 -17
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.d.ts +2 -2
- package/panelmenu/panelmenu.esm.js +25 -18
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +24 -17
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/package.json +2 -1
- package/password/password.cjs.js +46 -39
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +1 -1
- package/password/password.esm.js +46 -39
- package/password/password.esm.min.js +1 -1
- package/password/password.js +46 -39
- package/password/password.min.js +1 -1
- package/picklist/package.json +2 -1
- package/picklist/picklist.cjs.js +57 -50
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.d.ts +1 -1
- package/picklist/picklist.esm.js +58 -51
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +57 -50
- package/picklist/picklist.min.js +1 -1
- package/portal/package.json +2 -1
- package/portal/portal.cjs.js +22 -15
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +23 -16
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +22 -15
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +4356 -2992
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +4350 -2991
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +4356 -2992
- package/primereact.all.min.js +1 -1
- package/progressbar/package.json +2 -1
- package/progressbar/progressbar.cjs.js +26 -15
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.d.ts +1 -1
- package/progressbar/progressbar.esm.js +26 -15
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +26 -15
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/package.json +2 -1
- package/progressspinner/progressspinner.cjs.js +22 -11
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.d.ts +1 -1
- package/progressspinner/progressspinner.esm.js +22 -11
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +22 -11
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/package.json +2 -1
- package/radiobutton/radiobutton.cjs.js +32 -25
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.d.ts +1 -1
- package/radiobutton/radiobutton.esm.js +32 -25
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +32 -25
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/package.json +2 -1
- package/rating/rating.cjs.js +33 -22
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.d.ts +1 -1
- package/rating/rating.esm.js +33 -22
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +33 -22
- package/rating/rating.min.js +1 -1
- package/resources/primereact.css +574 -574
- package/resources/primereact.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +2 -0
- package/resources/themes/arya-green/theme.css +2 -0
- package/resources/themes/arya-orange/theme.css +2 -0
- package/resources/themes/arya-purple/theme.css +2 -0
- package/resources/themes/bootstrap4-dark-blue/theme.css +3 -1
- package/resources/themes/bootstrap4-dark-purple/theme.css +3 -1
- package/resources/themes/bootstrap4-light-blue/theme.css +3 -1
- package/resources/themes/bootstrap4-light-purple/theme.css +3 -1
- package/resources/themes/fluent-light/theme.css +3 -1
- package/resources/themes/lara-dark-blue/theme.css +2 -0
- package/resources/themes/lara-dark-indigo/theme.css +2 -0
- package/resources/themes/lara-dark-purple/theme.css +2 -0
- package/resources/themes/lara-dark-teal/theme.css +2 -0
- package/resources/themes/lara-light-blue/theme.css +2 -0
- package/resources/themes/lara-light-indigo/theme.css +2 -0
- package/resources/themes/lara-light-purple/theme.css +2 -0
- package/resources/themes/lara-light-teal/theme.css +2 -0
- package/resources/themes/luna-amber/theme.css +3 -1
- package/resources/themes/luna-blue/theme.css +3 -1
- package/resources/themes/luna-green/theme.css +3 -1
- package/resources/themes/luna-pink/theme.css +3 -1
- package/resources/themes/md-dark-deeppurple/theme.css +3 -1
- package/resources/themes/md-dark-indigo/theme.css +3 -1
- package/resources/themes/md-light-deeppurple/theme.css +3 -1
- package/resources/themes/md-light-indigo/theme.css +3 -1
- package/resources/themes/mdc-dark-deeppurple/theme.css +3 -1
- package/resources/themes/mdc-dark-indigo/theme.css +3 -1
- package/resources/themes/mdc-light-deeppurple/theme.css +3 -1
- package/resources/themes/mdc-light-indigo/theme.css +3 -1
- package/resources/themes/mira/theme.css +3 -1
- package/resources/themes/nano/theme.css +3 -1
- package/resources/themes/nova/theme.css +3 -1
- package/resources/themes/nova-accent/theme.css +3 -1
- package/resources/themes/nova-alt/theme.css +3 -1
- package/resources/themes/rhea/theme.css +3 -1
- package/resources/themes/saga-blue/theme.css +3 -1
- package/resources/themes/saga-green/theme.css +3 -1
- package/resources/themes/saga-orange/theme.css +3 -1
- package/resources/themes/saga-purple/theme.css +3 -1
- package/resources/themes/soho-dark/theme.css +3 -1
- package/resources/themes/soho-light/theme.css +3 -1
- package/resources/themes/vela-blue/theme.css +3 -1
- package/resources/themes/vela-green/theme.css +3 -1
- package/resources/themes/vela-orange/theme.css +3 -1
- package/resources/themes/vela-purple/theme.css +3 -1
- package/resources/themes/viva-dark/theme.css +3 -1
- package/resources/themes/viva-light/theme.css +3 -1
- package/ripple/package.json +2 -1
- package/ripple/ripple.cjs.js +0 -3
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.d.ts +1 -1
- package/ripple/ripple.esm.js +0 -3
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +0 -3
- package/ripple/ripple.min.js +1 -1
- package/row/package.json +2 -1
- package/row/row.cjs.js +21 -7
- package/row/row.cjs.min.js +1 -1
- package/row/row.d.ts +1 -1
- package/row/row.esm.js +21 -7
- package/row/row.esm.min.js +1 -1
- package/row/row.js +21 -7
- package/row/row.min.js +1 -1
- package/scrollpanel/package.json +2 -1
- package/scrollpanel/scrollpanel.cjs.js +19 -8
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.d.ts +1 -1
- package/scrollpanel/scrollpanel.esm.js +19 -8
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +19 -8
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/package.json +2 -1
- package/scrolltop/scrolltop.cjs.js +27 -20
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.d.ts +1 -1
- package/scrolltop/scrolltop.esm.js +28 -21
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +27 -20
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/package.json +2 -1
- package/selectbutton/selectbutton.cjs.js +35 -28
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.d.ts +1 -1
- package/selectbutton/selectbutton.esm.js +36 -29
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +35 -28
- package/selectbutton/selectbutton.min.js +1 -1
- package/selectitem/package.json +2 -1
- package/sidebar/package.json +2 -1
- package/sidebar/sidebar.cjs.js +38 -31
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +1 -1
- package/sidebar/sidebar.esm.js +39 -32
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +38 -31
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/package.json +2 -1
- package/skeleton/skeleton.cjs.js +24 -13
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.d.ts +1 -1
- package/skeleton/skeleton.esm.js +24 -13
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +24 -13
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/package.json +2 -1
- package/slidemenu/slidemenu.cjs.js +35 -28
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.d.ts +1 -1
- package/slidemenu/slidemenu.esm.js +36 -29
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +35 -28
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/package.json +2 -1
- package/slider/slider.cjs.js +31 -24
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.d.ts +1 -1
- package/slider/slider.esm.js +31 -24
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +31 -24
- package/slider/slider.min.js +1 -1
- package/speeddial/package.json +2 -1
- package/speeddial/speeddial.cjs.js +43 -36
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.d.ts +1 -1
- package/speeddial/speeddial.esm.js +44 -37
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +43 -36
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/package.json +2 -1
- package/splitbutton/splitbutton.cjs.js +43 -36
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +1 -1
- package/splitbutton/splitbutton.esm.js +44 -37
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +43 -36
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/package.json +2 -1
- package/splitter/splitter.cjs.js +53 -33
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.d.ts +1 -1
- package/splitter/splitter.esm.js +54 -34
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +53 -33
- package/splitter/splitter.min.js +1 -1
- package/steps/package.json +2 -1
- package/steps/steps.cjs.js +23 -12
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.d.ts +1 -1
- package/steps/steps.esm.js +23 -12
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +23 -12
- package/steps/steps.min.js +1 -1
- package/styleclass/package.json +2 -1
- package/styleclass/styleclass.cjs.js +27 -20
- package/styleclass/styleclass.cjs.min.js +1 -1
- package/styleclass/styleclass.d.ts +1 -1
- package/styleclass/styleclass.esm.js +28 -21
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +27 -20
- package/styleclass/styleclass.min.js +1 -1
- package/tabmenu/package.json +2 -1
- package/tabmenu/tabmenu.cjs.js +29 -20
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.d.ts +1 -1
- package/tabmenu/tabmenu.esm.js +29 -20
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +29 -20
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/package.json +2 -1
- package/tabview/tabview.cjs.js +79 -57
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.d.ts +1 -1
- package/tabview/tabview.esm.js +80 -58
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +79 -57
- package/tabview/tabview.min.js +1 -1
- package/tag/package.json +2 -1
- package/tag/tag.cjs.js +22 -11
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.d.ts +1 -1
- package/tag/tag.esm.js +22 -11
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +22 -11
- package/tag/tag.min.js +1 -1
- package/terminal/package.json +2 -1
- package/terminal/terminal.cjs.js +23 -16
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.d.ts +1 -1
- package/terminal/terminal.esm.js +24 -17
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +23 -16
- package/terminal/terminal.min.js +1 -1
- package/terminalservice/package.json +2 -1
- package/terminalservice/terminalservice.d.ts +1 -1
- package/tieredmenu/package.json +2 -1
- package/tieredmenu/tieredmenu.cjs.js +29 -22
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.d.ts +1 -1
- package/tieredmenu/tieredmenu.esm.js +30 -23
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +29 -22
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/package.json +2 -1
- package/timeline/timeline.cjs.js +24 -13
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.d.ts +1 -1
- package/timeline/timeline.esm.js +24 -13
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +24 -13
- package/timeline/timeline.min.js +1 -1
- package/toast/package.json +2 -1
- package/toast/toast.cjs.js +34 -25
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.d.ts +1 -1
- package/toast/toast.esm.js +36 -27
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +34 -25
- package/toast/toast.min.js +1 -1
- package/togglebutton/package.json +2 -1
- package/togglebutton/togglebutton.cjs.js +31 -20
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.d.ts +1 -1
- package/togglebutton/togglebutton.esm.js +32 -21
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +31 -20
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/package.json +2 -1
- package/toolbar/toolbar.cjs.js +24 -13
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.d.ts +1 -1
- package/toolbar/toolbar.esm.js +24 -13
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +24 -13
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/package.json +2 -1
- package/tooltip/tooltip.cjs.js +45 -38
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.d.ts +1 -1
- package/tooltip/tooltip.esm.js +46 -39
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +45 -38
- package/tooltip/tooltip.min.js +1 -1
- package/tooltip/tooltipoptions.d.ts +17 -17
- package/tree/package.json +2 -1
- package/tree/tree.cjs.js +61 -54
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.d.ts +1 -1
- package/tree/tree.esm.js +62 -55
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +61 -54
- package/tree/tree.min.js +1 -1
- package/treenode/package.json +2 -1
- package/treeselect/package.json +2 -1
- package/treeselect/treeselect.cjs.js +62 -55
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +1 -1
- package/treeselect/treeselect.esm.js +63 -56
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +62 -55
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/package.json +2 -1
- package/treetable/treetable.cjs.js +287 -151
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +58 -1
- package/treetable/treetable.esm.js +288 -152
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +288 -152
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/package.json +2 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +28 -21
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.d.ts +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +29 -22
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +28 -21
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/package.json +2 -1
- package/utils/utils.cjs.js +57 -26
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +7 -0
- package/utils/utils.esm.js +57 -26
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +57 -26
- package/utils/utils.min.js +1 -1
- package/virtualscroller/package.json +2 -1
- package/virtualscroller/virtualscroller.cjs.js +44 -37
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.d.ts +1 -1
- package/virtualscroller/virtualscroller.esm.js +45 -38
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +44 -37
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +9 -3
- package/captcha/captcha.cjs.js +0 -142
- package/captcha/captcha.cjs.min.js +0 -1
- package/captcha/captcha.d.ts +0 -88
- package/captcha/captcha.esm.js +0 -118
- package/captcha/captcha.esm.min.js +0 -1
- package/captcha/captcha.js +0 -144
- package/captcha/captcha.min.js +0 -1
- package/captcha/package.json +0 -6
- package/gmap/gmap.cjs.js +0 -186
- package/gmap/gmap.cjs.min.js +0 -1
- package/gmap/gmap.d.ts +0 -112
- package/gmap/gmap.esm.js +0 -162
- package/gmap/gmap.esm.min.js +0 -1
- package/gmap/gmap.js +0 -188
- package/gmap/gmap.min.js +0 -1
- package/gmap/package.json +0 -6
package/datatable/datatable.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
this.primereact = this.primereact || {};
|
|
2
|
-
this.primereact.datatable = (function (exports, React, PrimeReact, hooks, paginator,
|
|
2
|
+
this.primereact.datatable = (function (exports, React, PrimeReact, utils, hooks, paginator, virtualscroller, overlayservice, ripple, button, csstransition, dropdown, inputtext, portal, tooltip) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -83,9 +83,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
83
83
|
|
|
84
84
|
function _arrayLikeToArray(arr, len) {
|
|
85
85
|
if (len == null || len > arr.length) len = arr.length;
|
|
86
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
87
|
-
arr2[i] = arr[i];
|
|
88
|
-
}
|
|
86
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
89
87
|
return arr2;
|
|
90
88
|
}
|
|
91
89
|
|
|
@@ -132,9 +130,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
132
130
|
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
133
131
|
if (Object(_i) !== _i) return;
|
|
134
132
|
_n = !1;
|
|
135
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0)
|
|
136
|
-
;
|
|
137
|
-
}
|
|
133
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
138
134
|
} catch (err) {
|
|
139
135
|
_d = !0, _e = err;
|
|
140
136
|
} finally {
|
|
@@ -156,6 +152,242 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
156
152
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
157
153
|
}
|
|
158
154
|
|
|
155
|
+
var ColumnBase = {
|
|
156
|
+
defaultProps: {
|
|
157
|
+
__TYPE: 'Column',
|
|
158
|
+
align: null,
|
|
159
|
+
alignFrozen: 'left',
|
|
160
|
+
alignHeader: null,
|
|
161
|
+
body: null,
|
|
162
|
+
bodyClassName: null,
|
|
163
|
+
bodyStyle: null,
|
|
164
|
+
cellEditValidator: null,
|
|
165
|
+
cellEditValidatorEvent: 'click',
|
|
166
|
+
className: null,
|
|
167
|
+
colSpan: null,
|
|
168
|
+
columnKey: null,
|
|
169
|
+
dataType: 'text',
|
|
170
|
+
editor: null,
|
|
171
|
+
excludeGlobalFilter: false,
|
|
172
|
+
expander: false,
|
|
173
|
+
exportField: null,
|
|
174
|
+
exportable: true,
|
|
175
|
+
field: null,
|
|
176
|
+
filter: false,
|
|
177
|
+
filterApply: null,
|
|
178
|
+
filterClear: null,
|
|
179
|
+
filterElement: null,
|
|
180
|
+
filterField: null,
|
|
181
|
+
filterFooter: null,
|
|
182
|
+
filterFunction: null,
|
|
183
|
+
filterHeader: null,
|
|
184
|
+
filterHeaderClassName: null,
|
|
185
|
+
filterHeaderStyle: null,
|
|
186
|
+
filterMatchMode: null,
|
|
187
|
+
filterMatchModeOptions: null,
|
|
188
|
+
filterMaxLength: null,
|
|
189
|
+
filterMenuClassName: null,
|
|
190
|
+
filterMenuStyle: null,
|
|
191
|
+
filterPlaceholder: null,
|
|
192
|
+
filterType: 'text',
|
|
193
|
+
footer: null,
|
|
194
|
+
footerClassName: null,
|
|
195
|
+
footerStyle: null,
|
|
196
|
+
frozen: false,
|
|
197
|
+
header: null,
|
|
198
|
+
headerClassName: null,
|
|
199
|
+
headerStyle: null,
|
|
200
|
+
headerTooltip: null,
|
|
201
|
+
headerTooltipOptions: null,
|
|
202
|
+
hidden: false,
|
|
203
|
+
maxConstraints: 2,
|
|
204
|
+
onBeforeCellEditHide: null,
|
|
205
|
+
onBeforeCellEditShow: null,
|
|
206
|
+
onCellEditCancel: null,
|
|
207
|
+
onCellEditComplete: null,
|
|
208
|
+
onCellEditInit: null,
|
|
209
|
+
onFilterApplyClick: null,
|
|
210
|
+
onFilterClear: null,
|
|
211
|
+
onFilterConstraintAdd: null,
|
|
212
|
+
onFilterConstraintRemove: null,
|
|
213
|
+
onFilterMatchModeChange: null,
|
|
214
|
+
onFilterOperatorChange: null,
|
|
215
|
+
reorderable: true,
|
|
216
|
+
resizeable: true,
|
|
217
|
+
rowEditor: false,
|
|
218
|
+
rowReorder: false,
|
|
219
|
+
rowReorderIcon: 'pi pi-bars',
|
|
220
|
+
rowSpan: null,
|
|
221
|
+
selectionMode: null,
|
|
222
|
+
showAddButton: true,
|
|
223
|
+
showApplyButton: true,
|
|
224
|
+
showClearButton: true,
|
|
225
|
+
showFilterMatchModes: true,
|
|
226
|
+
showFilterMenu: true,
|
|
227
|
+
showFilterMenuOptions: true,
|
|
228
|
+
showFilterOperator: true,
|
|
229
|
+
sortField: null,
|
|
230
|
+
sortFunction: null,
|
|
231
|
+
sortable: false,
|
|
232
|
+
sortableDisabled: false,
|
|
233
|
+
style: null,
|
|
234
|
+
children: undefined
|
|
235
|
+
},
|
|
236
|
+
getCProp: function getCProp(column, name) {
|
|
237
|
+
return utils.ObjectUtils.getComponentProp(column, name, ColumnBase.defaultProps);
|
|
238
|
+
},
|
|
239
|
+
getCProps: function getCProps(column) {
|
|
240
|
+
return utils.ObjectUtils.getComponentProps(column, ColumnBase.defaultProps);
|
|
241
|
+
},
|
|
242
|
+
getCOtherProps: function getCOtherProps(column) {
|
|
243
|
+
return utils.ObjectUtils.getComponentDiffProps(column, ColumnBase.defaultProps);
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
var DataTableBase = {
|
|
248
|
+
defaultProps: {
|
|
249
|
+
__TYPE: 'DataTable',
|
|
250
|
+
alwaysShowPaginator: true,
|
|
251
|
+
autoLayout: false,
|
|
252
|
+
breakpoint: '960px',
|
|
253
|
+
cellClassName: null,
|
|
254
|
+
cellSelection: false,
|
|
255
|
+
className: null,
|
|
256
|
+
collapsedRowIcon: 'pi pi-chevron-right',
|
|
257
|
+
columnResizeMode: 'fit',
|
|
258
|
+
compareSelectionBy: 'deepEquals',
|
|
259
|
+
contextMenuSelection: null,
|
|
260
|
+
csvSeparator: ',',
|
|
261
|
+
currentPageReportTemplate: '({currentPage} of {totalPages})',
|
|
262
|
+
customRestoreState: null,
|
|
263
|
+
customSaveState: null,
|
|
264
|
+
dataKey: null,
|
|
265
|
+
defaultSortOrder: 1,
|
|
266
|
+
dragSelection: false,
|
|
267
|
+
editMode: 'cell',
|
|
268
|
+
editingRows: null,
|
|
269
|
+
emptyMessage: null,
|
|
270
|
+
expandableRowGroups: false,
|
|
271
|
+
expandedRowIcon: 'pi pi-chevron-down',
|
|
272
|
+
expandedRows: null,
|
|
273
|
+
exportFilename: 'download',
|
|
274
|
+
exportFunction: null,
|
|
275
|
+
filterDelay: 300,
|
|
276
|
+
filterDisplay: 'menu',
|
|
277
|
+
filterLocale: undefined,
|
|
278
|
+
filters: null,
|
|
279
|
+
first: 0,
|
|
280
|
+
footer: null,
|
|
281
|
+
footerColumnGroup: null,
|
|
282
|
+
frozenValue: null,
|
|
283
|
+
frozenWidth: null,
|
|
284
|
+
globalFilter: null,
|
|
285
|
+
globalFilterFields: null,
|
|
286
|
+
globalFilterMatchMode: PrimeReact.FilterMatchMode.CONTAINS,
|
|
287
|
+
groupRowsBy: null,
|
|
288
|
+
header: null,
|
|
289
|
+
headerColumnGroup: null,
|
|
290
|
+
id: null,
|
|
291
|
+
isDataSelectable: null,
|
|
292
|
+
lazy: false,
|
|
293
|
+
loading: false,
|
|
294
|
+
loadingIcon: 'pi pi-spinner',
|
|
295
|
+
metaKeySelection: true,
|
|
296
|
+
multiSortMeta: null,
|
|
297
|
+
onAllRowsSelect: null,
|
|
298
|
+
onAllRowsUnselect: null,
|
|
299
|
+
onCellClick: null,
|
|
300
|
+
onCellSelect: null,
|
|
301
|
+
onCellUnselect: null,
|
|
302
|
+
onColReorder: null,
|
|
303
|
+
onColumnResizeEnd: null,
|
|
304
|
+
onColumnResizerClick: null,
|
|
305
|
+
onColumnResizerDoubleClick: null,
|
|
306
|
+
onContextMenu: null,
|
|
307
|
+
onContextMenuSelectionChange: null,
|
|
308
|
+
onFilter: null,
|
|
309
|
+
onPage: null,
|
|
310
|
+
onRowClick: null,
|
|
311
|
+
onRowMouseEnter: null,
|
|
312
|
+
onRowMouseLeave: null,
|
|
313
|
+
onRowCollapse: null,
|
|
314
|
+
onRowDoubleClick: null,
|
|
315
|
+
onRowEditCancel: null,
|
|
316
|
+
onRowEditChange: null,
|
|
317
|
+
onRowEditComplete: null,
|
|
318
|
+
onRowEditInit: null,
|
|
319
|
+
onRowEditSave: null,
|
|
320
|
+
onRowExpand: null,
|
|
321
|
+
onRowReorder: null,
|
|
322
|
+
onRowSelect: null,
|
|
323
|
+
onRowToggle: null,
|
|
324
|
+
onRowUnselect: null,
|
|
325
|
+
onSelectAllChange: null,
|
|
326
|
+
onSelectionChange: null,
|
|
327
|
+
onSort: null,
|
|
328
|
+
onStateRestore: null,
|
|
329
|
+
onStateSave: null,
|
|
330
|
+
onValueChange: null,
|
|
331
|
+
pageLinkSize: 5,
|
|
332
|
+
paginator: false,
|
|
333
|
+
paginatorClassName: null,
|
|
334
|
+
paginatorDropdownAppendTo: null,
|
|
335
|
+
paginatorLeft: null,
|
|
336
|
+
paginatorPosition: 'bottom',
|
|
337
|
+
paginatorRight: null,
|
|
338
|
+
paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
|
|
339
|
+
removableSort: false,
|
|
340
|
+
reorderableColumns: false,
|
|
341
|
+
reorderableRows: false,
|
|
342
|
+
resizableColumns: false,
|
|
343
|
+
responsiveLayout: 'stack',
|
|
344
|
+
rowClassName: null,
|
|
345
|
+
rowEditValidator: null,
|
|
346
|
+
rowExpansionTemplate: null,
|
|
347
|
+
rowGroupFooterTemplate: null,
|
|
348
|
+
rowGroupHeaderTemplate: null,
|
|
349
|
+
rowGroupMode: null,
|
|
350
|
+
rowHover: false,
|
|
351
|
+
rows: null,
|
|
352
|
+
rowsPerPageOptions: null,
|
|
353
|
+
scrollDirection: 'vertical',
|
|
354
|
+
scrollHeight: null,
|
|
355
|
+
scrollable: false,
|
|
356
|
+
selectAll: false,
|
|
357
|
+
selectOnEdit: true,
|
|
358
|
+
selection: null,
|
|
359
|
+
selectionAriaLabel: null,
|
|
360
|
+
selectionAutoFocus: true,
|
|
361
|
+
selectionMode: null,
|
|
362
|
+
selectionPageOnly: false,
|
|
363
|
+
showGridlines: false,
|
|
364
|
+
showRowReorderElement: null,
|
|
365
|
+
showSelectAll: true,
|
|
366
|
+
showSelectionElement: null,
|
|
367
|
+
size: 'normal',
|
|
368
|
+
sortField: null,
|
|
369
|
+
sortMode: 'single',
|
|
370
|
+
sortOrder: null,
|
|
371
|
+
stateKey: null,
|
|
372
|
+
stateStorage: 'session',
|
|
373
|
+
stripedRows: false,
|
|
374
|
+
style: null,
|
|
375
|
+
tabIndex: 0,
|
|
376
|
+
tableClassName: null,
|
|
377
|
+
tableStyle: null,
|
|
378
|
+
totalRecords: null,
|
|
379
|
+
value: null,
|
|
380
|
+
virtualScrollerOptions: null,
|
|
381
|
+
children: undefined
|
|
382
|
+
},
|
|
383
|
+
getProps: function getProps(props) {
|
|
384
|
+
return utils.ObjectUtils.getMergedProps(props, DataTableBase.defaultProps);
|
|
385
|
+
},
|
|
386
|
+
getOtherProps: function getOtherProps(props) {
|
|
387
|
+
return utils.ObjectUtils.getDiffProps(props, DataTableBase.defaultProps);
|
|
388
|
+
}
|
|
389
|
+
};
|
|
390
|
+
|
|
159
391
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
160
392
|
if (source == null) return {};
|
|
161
393
|
var target = {};
|
|
@@ -322,8 +554,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
322
554
|
var selfClick = React__namespace.useRef(false);
|
|
323
555
|
var tabindexTimeout = React__namespace.useRef(null);
|
|
324
556
|
var initFocusTimeout = React__namespace.useRef(null);
|
|
325
|
-
var getColumnProp = function getColumnProp(
|
|
326
|
-
return
|
|
557
|
+
var getColumnProp = function getColumnProp(name) {
|
|
558
|
+
return ColumnBase.getCProp(props.column, name);
|
|
327
559
|
};
|
|
328
560
|
var field = getColumnProp('field') || "field_".concat(props.index);
|
|
329
561
|
var editingKey = props.dataKey ? props.rowData && props.rowData[props.dataKey] || props.rowIndex : props.rowIndex;
|
|
@@ -955,21 +1187,22 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
955
1187
|
editingState = _React$useState2[0],
|
|
956
1188
|
setEditingState = _React$useState2[1];
|
|
957
1189
|
var editing = props.onRowEditChange ? props.editing : editingState;
|
|
1190
|
+
var getColumnProp = function getColumnProp(column, name) {
|
|
1191
|
+
return ColumnBase.getCProp(column, name);
|
|
1192
|
+
};
|
|
958
1193
|
var isFocusable = function isFocusable() {
|
|
959
1194
|
return props.selectionMode && props.selectionModeInColumn !== 'single' && props.selectionModeInColumn !== 'multiple';
|
|
960
1195
|
};
|
|
961
1196
|
var isGrouped = function isGrouped(column) {
|
|
962
|
-
|
|
963
|
-
|
|
1197
|
+
var columnField = getColumnProp(column, 'field');
|
|
1198
|
+
if (props.groupRowsBy && columnField) {
|
|
1199
|
+
return Array.isArray(props.groupRowsBy) ? props.groupRowsBy.indexOf(columnField) > -1 : props.groupRowsBy === columnField;
|
|
964
1200
|
}
|
|
965
1201
|
return false;
|
|
966
1202
|
};
|
|
967
1203
|
var equals = function equals(data1, data2) {
|
|
968
1204
|
return props.compareSelectionBy === 'equals' ? data1 === data2 : utils.ObjectUtils.equals(data1, data2, props.dataKey);
|
|
969
1205
|
};
|
|
970
|
-
var getColumnProp = function getColumnProp(col, prop) {
|
|
971
|
-
return col ? col.props[prop] : null;
|
|
972
|
-
};
|
|
973
1206
|
var getTabIndex = function getTabIndex() {
|
|
974
1207
|
return isFocusable() && !props.allowCellSelection ? props.index === 0 ? props.tabIndex : -1 : null;
|
|
975
1208
|
};
|
|
@@ -1383,7 +1616,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
1383
1616
|
};
|
|
1384
1617
|
var isSelectionEnabled = function isSelectionEnabled() {
|
|
1385
1618
|
return props.selectionMode || props.selectionModeInColumn !== null || props.columns && props.columns.some(function (col) {
|
|
1386
|
-
return col && !!col
|
|
1619
|
+
return col && !!getColumnProp(col, 'selectionMode');
|
|
1387
1620
|
});
|
|
1388
1621
|
};
|
|
1389
1622
|
var isSingleSelection = function isSingleSelection() {
|
|
@@ -1463,6 +1696,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
1463
1696
|
var getColumnsLength = function getColumnsLength() {
|
|
1464
1697
|
return props.columns ? props.columns.length : 0;
|
|
1465
1698
|
};
|
|
1699
|
+
var getColumnProp = function getColumnProp(column, name) {
|
|
1700
|
+
return ColumnBase.getCProp(column, name);
|
|
1701
|
+
};
|
|
1466
1702
|
var getVirtualScrollerOption = function getVirtualScrollerOption(option, options) {
|
|
1467
1703
|
options = options || props.virtualScrollerOptions;
|
|
1468
1704
|
return options ? options[option] : null;
|
|
@@ -1692,7 +1928,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
1692
1928
|
var columns = props.columns;
|
|
1693
1929
|
var rowIndex = props.paginator ? i + props.first : i;
|
|
1694
1930
|
for (var j = cellRangeStart; j <= cellRangeEnd; j++) {
|
|
1695
|
-
var field = columns[j]
|
|
1931
|
+
var field = getColumnProp(columns[j], 'field');
|
|
1696
1932
|
var _value = utils.ObjectUtils.resolveFieldData(rowData, field);
|
|
1697
1933
|
var rangeRowData = {
|
|
1698
1934
|
value: _value,
|
|
@@ -2278,6 +2514,37 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
2278
2514
|
}));
|
|
2279
2515
|
TableBody.displayName = 'TableBody';
|
|
2280
2516
|
|
|
2517
|
+
var ColumnGroupBase = {
|
|
2518
|
+
defaultProps: {
|
|
2519
|
+
__TYPE: 'ColumnGroup',
|
|
2520
|
+
children: undefined
|
|
2521
|
+
},
|
|
2522
|
+
getCProp: function getCProp(group, name) {
|
|
2523
|
+
return utils.ObjectUtils.getComponentProp(group, name, ColumnGroupBase.defaultProps);
|
|
2524
|
+
},
|
|
2525
|
+
getCProps: function getCProps(group) {
|
|
2526
|
+
return utils.ObjectUtils.getComponentProps(group, ColumnGroupBase.defaultProps);
|
|
2527
|
+
}
|
|
2528
|
+
};
|
|
2529
|
+
|
|
2530
|
+
var RowBase = {
|
|
2531
|
+
defaultProps: {
|
|
2532
|
+
__TYPE: 'Row',
|
|
2533
|
+
style: null,
|
|
2534
|
+
className: null,
|
|
2535
|
+
children: undefined
|
|
2536
|
+
},
|
|
2537
|
+
getProps: function getProps(props) {
|
|
2538
|
+
return utils.ObjectUtils.getMergedProps(props, RowBase.defaultProps);
|
|
2539
|
+
},
|
|
2540
|
+
getOtherProps: function getOtherProps(props) {
|
|
2541
|
+
return utils.ObjectUtils.getDiffProps(props, RowBase.defaultProps);
|
|
2542
|
+
},
|
|
2543
|
+
getCProp: function getCProp(row, name) {
|
|
2544
|
+
return utils.ObjectUtils.getComponentProp(row, name, RowBase.defaultProps);
|
|
2545
|
+
}
|
|
2546
|
+
};
|
|
2547
|
+
|
|
2281
2548
|
function ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2282
2549
|
function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$4(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2283
2550
|
var FooterCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
@@ -2286,8 +2553,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
2286
2553
|
styleObjectState = _React$useState2[0],
|
|
2287
2554
|
setStyleObjectState = _React$useState2[1];
|
|
2288
2555
|
var elementRef = React__namespace.useRef(null);
|
|
2289
|
-
var getColumnProp = function getColumnProp(
|
|
2290
|
-
return props.column
|
|
2556
|
+
var getColumnProp = function getColumnProp(name) {
|
|
2557
|
+
return ColumnBase.getCProp(props.column, name);
|
|
2291
2558
|
};
|
|
2292
2559
|
var getStyle = function getStyle() {
|
|
2293
2560
|
var footerStyle = getColumnProp('footerStyle');
|
|
@@ -2346,17 +2613,20 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
2346
2613
|
var TableFooter = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
2347
2614
|
var hasFooter = function hasFooter() {
|
|
2348
2615
|
return props.footerColumnGroup ? true : props.columns ? props.columns.some(function (col) {
|
|
2349
|
-
return col && col
|
|
2616
|
+
return col && getColumnProp(col, 'footer');
|
|
2350
2617
|
}) : false;
|
|
2351
2618
|
};
|
|
2619
|
+
var getColumnProp = function getColumnProp(column, name) {
|
|
2620
|
+
return ColumnBase.getCProp(column, name);
|
|
2621
|
+
};
|
|
2352
2622
|
var createGroupFooterCells = function createGroupFooterCells(row) {
|
|
2353
|
-
var columns = React__namespace.Children.toArray(row
|
|
2623
|
+
var columns = React__namespace.Children.toArray(RowBase.getCProp(row, 'children'));
|
|
2354
2624
|
return createFooterCells(columns);
|
|
2355
2625
|
};
|
|
2356
2626
|
var createFooterCells = function createFooterCells(columns) {
|
|
2357
2627
|
return React__namespace.Children.map(columns, function (col, i) {
|
|
2358
|
-
var isVisible = col ? !col
|
|
2359
|
-
var key = col ? col
|
|
2628
|
+
var isVisible = col ? !getColumnProp(col, 'hidden') : true;
|
|
2629
|
+
var key = col ? getColumnProp(col, 'columnKey') || getColumnProp(col, 'field') || i : i;
|
|
2360
2630
|
return isVisible && /*#__PURE__*/React__namespace.createElement(FooterCell, {
|
|
2361
2631
|
key: key,
|
|
2362
2632
|
tableProps: props.tableProps,
|
|
@@ -2366,7 +2636,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
2366
2636
|
};
|
|
2367
2637
|
var createContent = function createContent() {
|
|
2368
2638
|
if (props.footerColumnGroup) {
|
|
2369
|
-
var rows = React__namespace.Children.toArray(props.footerColumnGroup
|
|
2639
|
+
var rows = React__namespace.Children.toArray(ColumnGroupBase.getCProp(props.footerColumnGroup, 'children'));
|
|
2370
2640
|
return rows.map(function (row, i) {
|
|
2371
2641
|
return /*#__PURE__*/React__namespace.createElement("tr", {
|
|
2372
2642
|
key: i,
|
|
@@ -2399,8 +2669,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
2399
2669
|
var iconRef = React__namespace.useRef(null);
|
|
2400
2670
|
var selfClick = React__namespace.useRef(false);
|
|
2401
2671
|
var overlayEventListener = React__namespace.useRef(null);
|
|
2402
|
-
var getColumnProp = function getColumnProp(
|
|
2403
|
-
return props.column
|
|
2672
|
+
var getColumnProp = function getColumnProp(name) {
|
|
2673
|
+
return ColumnBase.getCProp(props.column, name);
|
|
2404
2674
|
};
|
|
2405
2675
|
var field = getColumnProp('filterField') || getColumnProp('field');
|
|
2406
2676
|
var filterModel = props.filters[field];
|
|
@@ -3139,10 +3409,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
3139
3409
|
return !getColumnProp('sortable') || getColumnProp('sortable') && (props.allSortableDisabled || getColumnProp('sortableDisabled'));
|
|
3140
3410
|
};
|
|
3141
3411
|
var getColumnProp = function getColumnProp() {
|
|
3142
|
-
|
|
3143
|
-
args[_key] = arguments[_key];
|
|
3144
|
-
}
|
|
3145
|
-
return props.column ? typeof args[0] === 'string' ? props.column.props[args[0]] : (args[0] || props.column).props[args[1]] : null;
|
|
3412
|
+
return props.column ? typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'string' ? ColumnBase.getCProp(props.column, arguments.length <= 0 ? undefined : arguments[0]) : ColumnBase.getCProp((arguments.length <= 0 ? undefined : arguments[0]) || props.column, arguments.length <= 1 ? undefined : arguments[1]) : null;
|
|
3146
3413
|
};
|
|
3147
3414
|
var getStyle = function getStyle() {
|
|
3148
3415
|
var headerStyle = getColumnProp('headerStyle');
|
|
@@ -3437,16 +3704,19 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
3437
3704
|
var isSingleSort = props.sortMode === 'single';
|
|
3438
3705
|
var isMultipleSort = props.sortMode === 'multiple';
|
|
3439
3706
|
var isAllSortableDisabled = isSingleSort && allSortableDisabledState;
|
|
3707
|
+
var getColumnProp = function getColumnProp(column, name) {
|
|
3708
|
+
return ColumnBase.getCProp(column, name);
|
|
3709
|
+
};
|
|
3440
3710
|
var isColumnSorted = function isColumnSorted(column) {
|
|
3441
|
-
return props.sortField !== null ? column
|
|
3711
|
+
return props.sortField !== null ? getColumnProp(column, 'field') === props.sortField || getColumnProp(column, 'sortField') === props.sortField : false;
|
|
3442
3712
|
};
|
|
3443
3713
|
var updateSortableDisabled = function updateSortableDisabled() {
|
|
3444
3714
|
if (isSingleSort || isMultipleSort && props.onSortChange) {
|
|
3445
3715
|
var sortableDisabledFields = [];
|
|
3446
3716
|
var allSortableDisabled = false;
|
|
3447
3717
|
props.columns.forEach(function (column) {
|
|
3448
|
-
if (column
|
|
3449
|
-
sortableDisabledFields.push(column
|
|
3718
|
+
if (getColumnProp(column, 'sortableDisabled')) {
|
|
3719
|
+
sortableDisabledFields.push(getColumnProp(column, 'sortField') || getColumnProp(column, 'field'));
|
|
3450
3720
|
if (!allSortableDisabled && isColumnSorted(column)) {
|
|
3451
3721
|
allSortableDisabled = true;
|
|
3452
3722
|
}
|
|
@@ -3466,13 +3736,13 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
3466
3736
|
updateSortableDisabled();
|
|
3467
3737
|
});
|
|
3468
3738
|
var createGroupHeaderCells = function createGroupHeaderCells(row) {
|
|
3469
|
-
var columns = React__namespace.Children.toArray(row
|
|
3739
|
+
var columns = React__namespace.Children.toArray(RowBase.getCProp(row, 'children'));
|
|
3470
3740
|
return createHeaderCells(columns);
|
|
3471
3741
|
};
|
|
3472
3742
|
var createHeaderCells = function createHeaderCells(columns) {
|
|
3473
3743
|
return React__namespace.Children.map(columns, function (col, i) {
|
|
3474
|
-
var isVisible = col ? !col
|
|
3475
|
-
var key = col ? col
|
|
3744
|
+
var isVisible = col ? !getColumnProp(col, 'hidden') : true;
|
|
3745
|
+
var key = col ? getColumnProp(col, 'columnKey') || getColumnProp(col, 'field') || i : i;
|
|
3476
3746
|
return isVisible && /*#__PURE__*/React__namespace.createElement(HeaderCell, {
|
|
3477
3747
|
key: key,
|
|
3478
3748
|
value: props.value,
|
|
@@ -3537,18 +3807,18 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
3537
3807
|
};
|
|
3538
3808
|
var createFilterCells = function createFilterCells() {
|
|
3539
3809
|
return React__namespace.Children.map(props.columns, function (col, i) {
|
|
3540
|
-
var isVisible = !col
|
|
3810
|
+
var isVisible = !getColumnProp(col, 'hidden');
|
|
3541
3811
|
if (isVisible) {
|
|
3542
|
-
var
|
|
3543
|
-
filterHeaderStyle =
|
|
3544
|
-
style =
|
|
3545
|
-
filterHeaderClassName =
|
|
3546
|
-
className =
|
|
3547
|
-
frozen =
|
|
3548
|
-
columnKey =
|
|
3549
|
-
field =
|
|
3550
|
-
selectionMode =
|
|
3551
|
-
filter =
|
|
3812
|
+
var _ColumnBase$getCProps = ColumnBase.getCProps(col),
|
|
3813
|
+
filterHeaderStyle = _ColumnBase$getCProps.filterHeaderStyle,
|
|
3814
|
+
style = _ColumnBase$getCProps.style,
|
|
3815
|
+
filterHeaderClassName = _ColumnBase$getCProps.filterHeaderClassName,
|
|
3816
|
+
className = _ColumnBase$getCProps.className,
|
|
3817
|
+
frozen = _ColumnBase$getCProps.frozen,
|
|
3818
|
+
columnKey = _ColumnBase$getCProps.columnKey,
|
|
3819
|
+
field = _ColumnBase$getCProps.field,
|
|
3820
|
+
selectionMode = _ColumnBase$getCProps.selectionMode,
|
|
3821
|
+
filter = _ColumnBase$getCProps.filter;
|
|
3552
3822
|
var colStyle = _objectSpread$1(_objectSpread$1({}, filterHeaderStyle || {}), style || {});
|
|
3553
3823
|
var colClassName = utils.classNames('p-filter-column', filterHeaderClassName, className, {
|
|
3554
3824
|
'p-frozen-column': frozen
|
|
@@ -3567,7 +3837,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
3567
3837
|
};
|
|
3568
3838
|
var createContent = function createContent() {
|
|
3569
3839
|
if (props.headerColumnGroup) {
|
|
3570
|
-
var rows = React__namespace.Children.toArray(props.headerColumnGroup
|
|
3840
|
+
var rows = React__namespace.Children.toArray(ColumnGroupBase.getCProp(props.headerColumnGroup, 'children'));
|
|
3571
3841
|
return rows.map(function (row, i) {
|
|
3572
3842
|
return /*#__PURE__*/React__namespace.createElement("tr", {
|
|
3573
3843
|
key: i,
|
|
@@ -3593,7 +3863,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
3593
3863
|
|
|
3594
3864
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3595
3865
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3596
|
-
var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (
|
|
3866
|
+
var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
3867
|
+
var props = DataTableBase.getProps(inProps);
|
|
3597
3868
|
var _React$useState = React__namespace.useState(props.first),
|
|
3598
3869
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
3599
3870
|
firstState = _React$useState2[0],
|
|
@@ -3728,8 +3999,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
3728
3999
|
var getFilters = function getFilters() {
|
|
3729
4000
|
return props.onFilter ? props.filters : filtersState;
|
|
3730
4001
|
};
|
|
3731
|
-
var getColumnProp = function getColumnProp(
|
|
3732
|
-
return
|
|
4002
|
+
var getColumnProp = function getColumnProp(column, name) {
|
|
4003
|
+
return ColumnBase.getCProp(column, name);
|
|
3733
4004
|
};
|
|
3734
4005
|
var getColumns = function getColumns(ignoreReorderable) {
|
|
3735
4006
|
var columns = React__namespace.Children.toArray(props.children);
|
|
@@ -3986,15 +4257,15 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
3986
4257
|
var getSelectionModeInColumn = function getSelectionModeInColumn(columns) {
|
|
3987
4258
|
if (columns) {
|
|
3988
4259
|
var col = columns.find(function (c) {
|
|
3989
|
-
return !!c
|
|
4260
|
+
return !!getColumnProp(c, 'selectionMode');
|
|
3990
4261
|
});
|
|
3991
|
-
return col ? col
|
|
4262
|
+
return col ? getColumnProp(col, 'selectionMode') : null;
|
|
3992
4263
|
}
|
|
3993
4264
|
return null;
|
|
3994
4265
|
};
|
|
3995
4266
|
var findColumnByKey = function findColumnByKey(columns, key) {
|
|
3996
4267
|
return utils.ObjectUtils.isNotEmpty(columns) ? columns.find(function (col) {
|
|
3997
|
-
return col
|
|
4268
|
+
return getColumnProp(col, 'columnKey') === key || getColumnProp(col, 'field') === key;
|
|
3998
4269
|
}) : null;
|
|
3999
4270
|
};
|
|
4000
4271
|
var getTotalRecords = function getTotalRecords(data) {
|
|
@@ -4222,7 +4493,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
4222
4493
|
if (allowDrop) {
|
|
4223
4494
|
var _columns = getColumns();
|
|
4224
4495
|
var isSameColumn = function isSameColumn(col1, col2) {
|
|
4225
|
-
return col1
|
|
4496
|
+
return getColumnProp(col1, 'columnKey') || getColumnProp(col2, 'columnKey') ? utils.ObjectUtils.equals(col1.props, col2.props, 'columnKey') : utils.ObjectUtils.equals(col1.props, col2.props, 'field');
|
|
4226
4497
|
};
|
|
4227
4498
|
var dragColIndex = _columns.findIndex(function (child) {
|
|
4228
4499
|
return isSameColumn(child, draggedColumn.current);
|
|
@@ -4238,7 +4509,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
4238
4509
|
}
|
|
4239
4510
|
utils.ObjectUtils.reorderArray(_columns, dragColIndex, dropColIndex);
|
|
4240
4511
|
var columnOrder = _columns.reduce(function (orders, col) {
|
|
4241
|
-
orders.push(col
|
|
4512
|
+
orders.push(getColumnProp(col, 'columnKey') || getColumnProp(col, 'field'));
|
|
4242
4513
|
return orders;
|
|
4243
4514
|
}, []);
|
|
4244
4515
|
setColumnOrderState(columnOrder);
|
|
@@ -4292,12 +4563,12 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
4292
4563
|
var event = e.originalEvent,
|
|
4293
4564
|
column = e.column,
|
|
4294
4565
|
sortableDisabledFields = e.sortableDisabledFields;
|
|
4295
|
-
var sortField = column
|
|
4566
|
+
var sortField = getColumnProp(column, 'sortField') || getColumnProp(column, 'field');
|
|
4296
4567
|
var sortOrder = props.defaultSortOrder;
|
|
4297
4568
|
var multiSortMeta;
|
|
4298
4569
|
var eventMeta;
|
|
4299
|
-
columnSortable.current = column
|
|
4300
|
-
columnSortFunction.current = column
|
|
4570
|
+
columnSortable.current = getColumnProp(column, 'sortable');
|
|
4571
|
+
columnSortFunction.current = getColumnProp(column, 'sortFunction');
|
|
4301
4572
|
columnField.current = sortField;
|
|
4302
4573
|
if (props.sortMode === 'multiple') {
|
|
4303
4574
|
var metaKey = event.metaKey || event.ctrlKey;
|
|
@@ -4473,9 +4744,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
4473
4744
|
var globalFilterFieldsArray;
|
|
4474
4745
|
if (isGlobalFilter) {
|
|
4475
4746
|
globalFilterFieldsArray = props.globalFilterFields || columns.filter(function (col) {
|
|
4476
|
-
return !col
|
|
4747
|
+
return !getColumnProp(col, 'excludeGlobalFilter');
|
|
4477
4748
|
}).map(function (col) {
|
|
4478
|
-
return col
|
|
4749
|
+
return getColumnProp(col, 'filterField') || getColumnProp(col, 'field');
|
|
4479
4750
|
});
|
|
4480
4751
|
}
|
|
4481
4752
|
for (var i = 0; i < data.length; i++) {
|
|
@@ -4557,10 +4828,10 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
4557
4828
|
} else {
|
|
4558
4829
|
var _columns2 = getColumns();
|
|
4559
4830
|
cloned = _columns2.reduce(function (filters, col) {
|
|
4560
|
-
var field = col
|
|
4561
|
-
var filterFunction = col
|
|
4562
|
-
var dataType = col
|
|
4563
|
-
var matchMode = col
|
|
4831
|
+
var field = getColumnProp(col, 'filterField') || getColumnProp(col, 'field');
|
|
4832
|
+
var filterFunction = getColumnProp(col, 'filterFunction');
|
|
4833
|
+
var dataType = getColumnProp(col, 'dataType');
|
|
4834
|
+
var matchMode = getColumnProp(col, 'filterMatchMode') || (PrimeReact__default["default"].filterMatchModeOptions[dataType] ? PrimeReact__default["default"].filterMatchModeOptions[dataType][0] : PrimeReact.FilterMatchMode.STARTS_WITH);
|
|
4564
4835
|
var constraint = {
|
|
4565
4836
|
value: null,
|
|
4566
4837
|
matchMode: matchMode
|
|
@@ -4630,7 +4901,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
4630
4901
|
var columnOrder = [];
|
|
4631
4902
|
if (columns) {
|
|
4632
4903
|
columnOrder = columns.reduce(function (orders, col) {
|
|
4633
|
-
orders.push(col
|
|
4904
|
+
orders.push(getColumnProp(col, 'columnKey') || getColumnProp(col, 'field'));
|
|
4634
4905
|
return orders;
|
|
4635
4906
|
}, []);
|
|
4636
4907
|
}
|
|
@@ -4648,12 +4919,13 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
4648
4919
|
|
|
4649
4920
|
//headers
|
|
4650
4921
|
columns.forEach(function (column, i) {
|
|
4651
|
-
var
|
|
4652
|
-
field =
|
|
4653
|
-
header =
|
|
4654
|
-
exportable =
|
|
4922
|
+
var _ref3 = [getColumnProp(column, 'field'), getColumnProp(column, 'header'), getColumnProp(column, 'exportable')],
|
|
4923
|
+
field = _ref3[0],
|
|
4924
|
+
header = _ref3[1],
|
|
4925
|
+
exportable = _ref3[2];
|
|
4655
4926
|
if (exportable && field) {
|
|
4656
|
-
|
|
4927
|
+
var columnHeader = String(header || field).replace(/"/g, '""').replace(/\n/g, "\u2028");
|
|
4928
|
+
csv += '"' + columnHeader + '"';
|
|
4657
4929
|
if (i < columns.length - 1) {
|
|
4658
4930
|
csv += props.csvSeparator;
|
|
4659
4931
|
}
|
|
@@ -4664,20 +4936,24 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
4664
4936
|
data.forEach(function (record) {
|
|
4665
4937
|
csv += '\n';
|
|
4666
4938
|
columns.forEach(function (column, i) {
|
|
4667
|
-
var
|
|
4668
|
-
colField =
|
|
4669
|
-
exportField =
|
|
4670
|
-
exportable =
|
|
4939
|
+
var _ref4 = [getColumnProp(column, 'field'), getColumnProp(column, 'exportField'), getColumnProp(column, 'exportable')],
|
|
4940
|
+
colField = _ref4[0],
|
|
4941
|
+
exportField = _ref4[1],
|
|
4942
|
+
exportable = _ref4[2];
|
|
4671
4943
|
var field = exportField || colField;
|
|
4672
4944
|
if (exportable && field) {
|
|
4673
4945
|
var cellData = utils.ObjectUtils.resolveFieldData(record, field);
|
|
4674
4946
|
if (cellData != null) {
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4947
|
+
if (props.exportFunction) {
|
|
4948
|
+
cellData = props.exportFunction({
|
|
4949
|
+
data: cellData,
|
|
4950
|
+
field: field,
|
|
4951
|
+
rowData: record,
|
|
4952
|
+
column: column
|
|
4953
|
+
});
|
|
4954
|
+
} else {
|
|
4955
|
+
cellData = String(cellData).replace(/"/g, '""').replace(/\n/g, "\u2028");
|
|
4956
|
+
}
|
|
4681
4957
|
} else cellData = '';
|
|
4682
4958
|
csv += '"' + cellData + '"';
|
|
4683
4959
|
if (i < columns.length - 1) {
|
|
@@ -4713,11 +4989,11 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
4713
4989
|
var multiSortMeta = localState && localState.multiSortMeta || getMultiSortMeta();
|
|
4714
4990
|
var _columns3 = getColumns();
|
|
4715
4991
|
var sortColumn = _columns3.find(function (col) {
|
|
4716
|
-
return col
|
|
4992
|
+
return getColumnProp(col, 'field') === sortField;
|
|
4717
4993
|
});
|
|
4718
4994
|
if (sortColumn) {
|
|
4719
|
-
columnSortable.current = sortColumn
|
|
4720
|
-
columnSortFunction.current = sortColumn
|
|
4995
|
+
columnSortable.current = getColumnProp(sortColumn, 'sortable');
|
|
4996
|
+
columnSortFunction.current = getColumnProp(sortColumn, 'sortFunction');
|
|
4721
4997
|
}
|
|
4722
4998
|
if (utils.ObjectUtils.isNotEmpty(filters) || props.globalFilter) {
|
|
4723
4999
|
data = filterLocal(data, filters);
|
|
@@ -5156,7 +5432,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
5156
5432
|
var empty = utils.ObjectUtils.isEmpty(data);
|
|
5157
5433
|
var selectionModeInColumn = getSelectionModeInColumn(columns);
|
|
5158
5434
|
var selectable = props.selectionMode || selectionModeInColumn;
|
|
5159
|
-
var otherProps =
|
|
5435
|
+
var otherProps = DataTableBase.getOtherProps(props);
|
|
5160
5436
|
var className = utils.classNames('p-datatable p-component', {
|
|
5161
5437
|
'p-datatable-hoverable-rows': props.rowHover,
|
|
5162
5438
|
'p-datatable-selectable': selectable && !props.cellSelection,
|
|
@@ -5196,140 +5472,6 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
5196
5472
|
}), loader, header, paginatorTop, content, paginatorBottom, footer, resizeHelper, reorderIndicators);
|
|
5197
5473
|
});
|
|
5198
5474
|
DataTable.displayName = 'DataTable';
|
|
5199
|
-
DataTable.defaultProps = {
|
|
5200
|
-
__TYPE: 'DataTable',
|
|
5201
|
-
alwaysShowPaginator: true,
|
|
5202
|
-
autoLayout: false,
|
|
5203
|
-
breakpoint: '960px',
|
|
5204
|
-
cellClassName: null,
|
|
5205
|
-
cellSelection: false,
|
|
5206
|
-
className: null,
|
|
5207
|
-
collapsedRowIcon: 'pi pi-chevron-right',
|
|
5208
|
-
columnResizeMode: 'fit',
|
|
5209
|
-
compareSelectionBy: 'deepEquals',
|
|
5210
|
-
contextMenuSelection: null,
|
|
5211
|
-
csvSeparator: ',',
|
|
5212
|
-
currentPageReportTemplate: '({currentPage} of {totalPages})',
|
|
5213
|
-
customRestoreState: null,
|
|
5214
|
-
customSaveState: null,
|
|
5215
|
-
dataKey: null,
|
|
5216
|
-
defaultSortOrder: 1,
|
|
5217
|
-
dragSelection: false,
|
|
5218
|
-
editMode: 'cell',
|
|
5219
|
-
editingRows: null,
|
|
5220
|
-
emptyMessage: null,
|
|
5221
|
-
expandableRowGroups: false,
|
|
5222
|
-
expandedRowIcon: 'pi pi-chevron-down',
|
|
5223
|
-
expandedRows: null,
|
|
5224
|
-
exportFilename: 'download',
|
|
5225
|
-
exportFunction: null,
|
|
5226
|
-
filterDelay: 300,
|
|
5227
|
-
filterDisplay: 'menu',
|
|
5228
|
-
filterLocale: undefined,
|
|
5229
|
-
filters: null,
|
|
5230
|
-
first: 0,
|
|
5231
|
-
footer: null,
|
|
5232
|
-
footerColumnGroup: null,
|
|
5233
|
-
frozenValue: null,
|
|
5234
|
-
frozenWidth: null,
|
|
5235
|
-
globalFilter: null,
|
|
5236
|
-
globalFilterFields: null,
|
|
5237
|
-
globalFilterMatchMode: PrimeReact.FilterMatchMode.CONTAINS,
|
|
5238
|
-
groupRowsBy: null,
|
|
5239
|
-
header: null,
|
|
5240
|
-
headerColumnGroup: null,
|
|
5241
|
-
id: null,
|
|
5242
|
-
isDataSelectable: null,
|
|
5243
|
-
lazy: false,
|
|
5244
|
-
loading: false,
|
|
5245
|
-
loadingIcon: 'pi pi-spinner',
|
|
5246
|
-
metaKeySelection: true,
|
|
5247
|
-
multiSortMeta: null,
|
|
5248
|
-
onAllRowsSelect: null,
|
|
5249
|
-
onAllRowsUnselect: null,
|
|
5250
|
-
onCellClick: null,
|
|
5251
|
-
onCellSelect: null,
|
|
5252
|
-
onCellUnselect: null,
|
|
5253
|
-
onColReorder: null,
|
|
5254
|
-
onColumnResizeEnd: null,
|
|
5255
|
-
onColumnResizerClick: null,
|
|
5256
|
-
onColumnResizerDoubleClick: null,
|
|
5257
|
-
onContextMenu: null,
|
|
5258
|
-
onContextMenuSelectionChange: null,
|
|
5259
|
-
onFilter: null,
|
|
5260
|
-
onPage: null,
|
|
5261
|
-
onRowClick: null,
|
|
5262
|
-
onRowMouseEnter: null,
|
|
5263
|
-
onRowMouseLeave: null,
|
|
5264
|
-
onRowCollapse: null,
|
|
5265
|
-
onRowDoubleClick: null,
|
|
5266
|
-
onRowEditCancel: null,
|
|
5267
|
-
onRowEditChange: null,
|
|
5268
|
-
onRowEditComplete: null,
|
|
5269
|
-
onRowEditInit: null,
|
|
5270
|
-
onRowEditSave: null,
|
|
5271
|
-
onRowExpand: null,
|
|
5272
|
-
onRowReorder: null,
|
|
5273
|
-
onRowSelect: null,
|
|
5274
|
-
onRowToggle: null,
|
|
5275
|
-
onRowUnselect: null,
|
|
5276
|
-
onSelectAllChange: null,
|
|
5277
|
-
onSelectionChange: null,
|
|
5278
|
-
onSort: null,
|
|
5279
|
-
onStateRestore: null,
|
|
5280
|
-
onStateSave: null,
|
|
5281
|
-
onValueChange: null,
|
|
5282
|
-
pageLinkSize: 5,
|
|
5283
|
-
paginator: false,
|
|
5284
|
-
paginatorClassName: null,
|
|
5285
|
-
paginatorDropdownAppendTo: null,
|
|
5286
|
-
paginatorLeft: null,
|
|
5287
|
-
paginatorPosition: 'bottom',
|
|
5288
|
-
paginatorRight: null,
|
|
5289
|
-
paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
|
|
5290
|
-
removableSort: false,
|
|
5291
|
-
reorderableColumns: false,
|
|
5292
|
-
reorderableRows: false,
|
|
5293
|
-
resizableColumns: false,
|
|
5294
|
-
responsiveLayout: 'stack',
|
|
5295
|
-
rowClassName: null,
|
|
5296
|
-
rowEditValidator: null,
|
|
5297
|
-
rowExpansionTemplate: null,
|
|
5298
|
-
rowGroupFooterTemplate: null,
|
|
5299
|
-
rowGroupHeaderTemplate: null,
|
|
5300
|
-
rowGroupMode: null,
|
|
5301
|
-
rowHover: false,
|
|
5302
|
-
rows: null,
|
|
5303
|
-
rowsPerPageOptions: null,
|
|
5304
|
-
scrollDirection: 'vertical',
|
|
5305
|
-
scrollHeight: null,
|
|
5306
|
-
scrollable: false,
|
|
5307
|
-
selectAll: false,
|
|
5308
|
-
selectOnEdit: true,
|
|
5309
|
-
selection: null,
|
|
5310
|
-
selectionAriaLabel: null,
|
|
5311
|
-
selectionAutoFocus: true,
|
|
5312
|
-
selectionMode: null,
|
|
5313
|
-
selectionPageOnly: false,
|
|
5314
|
-
showGridlines: false,
|
|
5315
|
-
showRowReorderElement: null,
|
|
5316
|
-
showSelectAll: true,
|
|
5317
|
-
showSelectionElement: null,
|
|
5318
|
-
size: 'normal',
|
|
5319
|
-
sortField: null,
|
|
5320
|
-
sortMode: 'single',
|
|
5321
|
-
sortOrder: null,
|
|
5322
|
-
stateKey: null,
|
|
5323
|
-
stateStorage: 'session',
|
|
5324
|
-
stripedRows: false,
|
|
5325
|
-
style: null,
|
|
5326
|
-
tabIndex: 0,
|
|
5327
|
-
tableClassName: null,
|
|
5328
|
-
tableStyle: null,
|
|
5329
|
-
totalRecords: null,
|
|
5330
|
-
value: null,
|
|
5331
|
-
virtualScrollerOptions: null
|
|
5332
|
-
};
|
|
5333
5475
|
|
|
5334
5476
|
exports.DataTable = DataTable;
|
|
5335
5477
|
|
|
@@ -5337,4 +5479,4 @@ this.primereact.datatable = (function (exports, React, PrimeReact, hooks, pagina
|
|
|
5337
5479
|
|
|
5338
5480
|
return exports;
|
|
5339
5481
|
|
|
5340
|
-
})({}, React, primereact.api, primereact.
|
|
5482
|
+
})({}, React, primereact.api, primereact.utils, primereact.hooks, primereact.paginator, primereact.virtualscroller, primereact.overlayservice, primereact.ripple, primereact.button, primereact.csstransition, primereact.dropdown, primereact.inputtext, primereact.portal, primereact.tooltip);
|