primereact 8.7.3 → 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 +168 -25
- 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 +22 -20
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +11 -3
- package/api/api.esm.js +22 -20
- package/api/api.esm.min.js +1 -1
- package/api/api.js +22 -20
- package/api/api.min.js +1 -1
- package/api/package.json +2 -1
- package/autocomplete/autocomplete.cjs.js +98 -76
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +385 -80
- package/autocomplete/autocomplete.esm.js +99 -77
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +98 -76
- 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 +77 -15
- 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 +33 -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 +48 -8
- 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 +71 -10
- 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 +41 -3
- 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.d.ts +67 -15
- 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 +120 -100
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +585 -112
- package/calendar/calendar.esm.js +121 -101
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +120 -100
- 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 +45 -7
- 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 +138 -22
- 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 +53 -40
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +177 -29
- package/cascadeselect/cascadeselect.esm.js +54 -41
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +53 -40
- 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 +88 -10
- 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 +43 -32
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.d.ts +137 -33
- package/checkbox/checkbox.esm.js +43 -32
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +43 -32
- 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 +75 -7
- 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 +55 -45
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.d.ts +188 -36
- package/chips/chips.esm.js +55 -45
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +55 -45
- package/chips/chips.min.js +1 -1
- package/chips/package.json +2 -1
- package/colorpicker/colorpicker.cjs.js +45 -33
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.d.ts +148 -31
- package/colorpicker/colorpicker.esm.js +46 -34
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +45 -33
- 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 +736 -134
- 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 +30 -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 +142 -18
- 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 +44 -34
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.d.ts +165 -22
- package/confirmpopup/confirmpopup.esm.js +45 -35
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +44 -34
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/confirmpopup/package.json +2 -1
- package/contextmenu/contextmenu.cjs.js +33 -23
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.d.ts +80 -12
- package/contextmenu/contextmenu.esm.js +34 -24
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +33 -23
- package/contextmenu/contextmenu.min.js +1 -1
- package/contextmenu/package.json +2 -1
- package/core/core.js +1745 -1085
- 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 +31 -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 +102 -16
- 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 +387 -233
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +1270 -227
- package/datatable/datatable.esm.js +388 -234
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +388 -234
- 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 +222 -43
- 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 +37 -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 +76 -75
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.d.ts +282 -51
- package/dialog/dialog.esm.js +77 -76
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +76 -75
- package/dialog/dialog.min.css +1 -1
- 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 +47 -10
- 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 +68 -12
- 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 +103 -80
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +337 -83
- package/dropdown/dropdown.esm.js +104 -81
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +103 -80
- 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 +129 -12
- 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 +85 -7
- 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 +87 -76
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.d.ts +425 -62
- package/fileupload/fileupload.esm.js +87 -76
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +87 -76
- package/fileupload/fileupload.min.js +1 -1
- package/fileupload/package.json +2 -1
- package/galleria/galleria.cjs.js +51 -42
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.d.ts +198 -30
- package/galleria/galleria.esm.js +52 -43
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +51 -42
- package/galleria/galleria.min.js +1 -1
- package/galleria/package.json +2 -1
- package/hooks/hooks.cjs.js +578 -148
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.d.ts +194 -6
- package/hooks/hooks.esm.js +558 -135
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +869 -439
- 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 +91 -11
- 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 +101 -9
- 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 +50 -46
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.d.ts +119 -27
- package/inputmask/inputmask.esm.js +51 -47
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +50 -46
- package/inputmask/inputmask.min.js +1 -1
- package/inputmask/package.json +2 -1
- package/inputnumber/inputnumber.cjs.js +78 -93
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.d.ts +265 -57
- package/inputnumber/inputnumber.esm.js +78 -93
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +78 -93
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputnumber/package.json +2 -1
- package/inputswitch/inputswitch.cjs.js +38 -28
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.d.ts +118 -27
- package/inputswitch/inputswitch.esm.js +38 -28
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +38 -28
- 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 +57 -6
- 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 +52 -6
- 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/keyfilteroptions.d.ts +15 -0
- 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 +127 -20
- 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 +56 -46
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.d.ts +270 -48
- package/listbox/listbox.esm.js +56 -46
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +56 -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 +50 -11
- 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 +74 -53
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.d.ts +186 -32
- package/mention/mention.esm.js +74 -53
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +74 -53
- package/mention/mention.min.js +1 -1
- package/mention/package.json +2 -1
- package/menu/menu.cjs.js +32 -23
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.d.ts +89 -12
- package/menu/menu.esm.js +33 -24
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +32 -23
- 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 +53 -8
- 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/menuitem.d.ts +114 -19
- 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 +50 -11
- 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 +91 -11
- 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 +127 -100
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +429 -82
- package/multiselect/multiselect.esm.js +127 -100
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +127 -100
- package/multiselect/multiselect.min.js +1 -1
- package/multiselect/package.json +2 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +42 -28
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.d.ts +161 -22
- package/multistatecheckbox/multistatecheckbox.esm.js +42 -28
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +42 -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 +113 -16
- 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 +107 -16
- 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 +33 -23
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.d.ts +89 -15
- package/overlaypanel/overlaypanel.esm.js +34 -24
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +33 -23
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/overlaypanel/package.json +2 -1
- package/overlayservice/overlayservice.d.ts +52 -7
- 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 +409 -44
- 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 +141 -15
- 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 +47 -5
- 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 +53 -40
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +176 -36
- package/password/password.esm.js +53 -40
- package/password/password.esm.min.js +1 -1
- package/password/password.js +53 -40
- package/password/password.min.css +1 -1
- 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 +272 -46
- 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 +4739 -3228
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +4733 -3227
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +4739 -3228
- 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 +60 -11
- 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 +47 -4
- 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 +37 -26
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.d.ts +99 -29
- package/radiobutton/radiobutton.esm.js +37 -26
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +37 -26
- 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 +101 -24
- 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 +517 -506
- package/resources/primereact.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +7 -9
- package/resources/themes/arya-green/theme.css +6 -10
- package/resources/themes/arya-orange/theme.css +6 -9
- package/resources/themes/arya-purple/theme.css +6 -9
- package/resources/themes/bootstrap4-dark-blue/theme.css +7 -10
- package/resources/themes/bootstrap4-dark-purple/theme.css +7 -10
- package/resources/themes/bootstrap4-light-blue/theme.css +7 -10
- package/resources/themes/bootstrap4-light-purple/theme.css +7 -11
- package/resources/themes/fluent-light/theme.css +7 -11
- package/resources/themes/lara-dark-blue/theme.css +6 -9
- package/resources/themes/lara-dark-indigo/theme.css +6 -10
- package/resources/themes/lara-dark-purple/theme.css +6 -9
- package/resources/themes/lara-dark-teal/theme.css +6 -10
- package/resources/themes/lara-light-blue/theme.css +6 -9
- package/resources/themes/lara-light-indigo/theme.css +6 -9
- package/resources/themes/lara-light-purple/theme.css +6 -9
- package/resources/themes/lara-light-teal/theme.css +6 -9
- package/resources/themes/luna-amber/theme.css +8 -10
- package/resources/themes/luna-blue/theme.css +7 -10
- package/resources/themes/luna-green/theme.css +8 -10
- package/resources/themes/luna-pink/theme.css +7 -10
- package/resources/themes/md-dark-deeppurple/theme.css +7 -10
- package/resources/themes/md-dark-indigo/theme.css +8 -10
- package/resources/themes/md-light-deeppurple/theme.css +8 -10
- package/resources/themes/md-light-indigo/theme.css +8 -10
- package/resources/themes/mdc-dark-deeppurple/theme.css +8 -10
- package/resources/themes/mdc-dark-indigo/theme.css +7 -10
- package/resources/themes/mdc-light-deeppurple/theme.css +8 -10
- package/resources/themes/mdc-light-indigo/theme.css +7 -10
- package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/mira/theme.css +6239 -0
- package/resources/themes/nano/theme.css +6011 -0
- package/resources/themes/nova/theme.css +7 -10
- package/resources/themes/nova-accent/theme.css +8 -10
- package/resources/themes/nova-alt/theme.css +7 -10
- package/resources/themes/rhea/theme.css +8 -10
- package/resources/themes/saga-blue/theme.css +7 -10
- package/resources/themes/saga-green/theme.css +8 -10
- package/resources/themes/saga-orange/theme.css +8 -10
- package/resources/themes/saga-purple/theme.css +8 -10
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/soho-dark/theme.css +6004 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/soho-light/theme.css +6058 -0
- package/resources/themes/vela-blue/theme.css +7 -10
- package/resources/themes/vela-green/theme.css +7 -10
- package/resources/themes/vela-orange/theme.css +7 -10
- package/resources/themes/vela-purple/theme.css +8 -10
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/viva-dark/theme.css +6166 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/viva-light/theme.css +6166 -0
- 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 +29 -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 +37 -3
- 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 +45 -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 +70 -10
- 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 +38 -28
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.d.ts +111 -32
- package/selectbutton/selectbutton.esm.js +39 -29
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +38 -28
- package/selectbutton/selectbutton.min.js +1 -1
- package/selectitem/package.json +2 -1
- package/selectitem/selectitem.d.ts +34 -0
- package/sidebar/package.json +2 -1
- package/sidebar/sidebar.cjs.js +51 -32
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +120 -22
- package/sidebar/sidebar.esm.js +52 -33
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +51 -32
- 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 +61 -11
- 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 +132 -18
- 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 +101 -18
- 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 +149 -20
- 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 +46 -38
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +131 -23
- package/splitbutton/splitbutton.esm.js +47 -39
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +46 -38
- 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 +98 -12
- 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 +67 -6
- 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 +77 -12
- 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 +62 -5
- 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 +80 -58
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.d.ts +213 -27
- package/tabview/tabview.esm.js +81 -59
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +80 -58
- 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 +50 -6
- 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 +26 -16
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.d.ts +45 -3
- package/terminal/terminal.esm.js +27 -17
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +26 -16
- package/terminal/terminal.min.js +1 -1
- package/terminalservice/package.json +2 -1
- package/terminalservice/terminalservice.d.ts +42 -4
- package/tieredmenu/package.json +2 -1
- package/tieredmenu/tieredmenu.cjs.js +32 -23
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.d.ts +77 -12
- package/tieredmenu/tieredmenu.esm.js +33 -24
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +32 -23
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/package.json +2 -1
- package/timeline/timeline.cjs.js +25 -18
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.d.ts +62 -13
- package/timeline/timeline.esm.js +25 -18
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +25 -18
- package/timeline/timeline.min.js +1 -1
- package/toast/package.json +2 -1
- package/toast/toast.cjs.js +38 -26
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.d.ts +134 -27
- package/toast/toast.esm.js +40 -28
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +38 -26
- package/toast/toast.min.js +1 -1
- package/togglebutton/package.json +2 -1
- package/togglebutton/togglebutton.cjs.js +35 -21
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.d.ts +122 -15
- package/togglebutton/togglebutton.esm.js +36 -22
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +35 -21
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/package.json +2 -1
- package/toolbar/toolbar.cjs.js +33 -16
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.d.ts +55 -5
- package/toolbar/toolbar.esm.js +33 -16
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +33 -16
- package/toolbar/toolbar.min.css +1 -1
- 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 +73 -9
- 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 +350 -31
- 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 +435 -71
- 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/treenode/treenode.d.ts +62 -13
- package/treeselect/package.json +2 -1
- package/treeselect/treeselect.cjs.js +69 -56
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +326 -77
- package/treeselect/treeselect.esm.js +70 -57
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +69 -56
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/package.json +2 -1
- package/treetable/treetable.cjs.js +290 -152
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +558 -112
- package/treetable/treetable.esm.js +291 -153
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +291 -153
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/package.json +2 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +31 -21
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.d.ts +72 -20
- package/tristatecheckbox/tristatecheckbox.esm.js +31 -21
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +31 -21
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/ts-helpers.d.ts +24 -0
- package/utils/package.json +2 -1
- package/utils/utils.cjs.js +84 -37
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +15 -1
- package/utils/utils.esm.js +84 -37
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +84 -37
- 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 +351 -59
- 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 +30 -6
- package/captcha/captcha.cjs.js +0 -141
- package/captcha/captcha.cjs.min.js +0 -1
- package/captcha/captcha.d.ts +0 -18
- package/captcha/captcha.esm.js +0 -117
- package/captcha/captcha.esm.min.js +0 -1
- package/captcha/captcha.js +0 -143
- 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 -26
- 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/dataview/dataview.cjs.js
CHANGED
|
@@ -74,9 +74,7 @@ function _defineProperty(obj, key, value) {
|
|
|
74
74
|
|
|
75
75
|
function _arrayLikeToArray(arr, len) {
|
|
76
76
|
if (len == null || len > arr.length) len = arr.length;
|
|
77
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
78
|
-
arr2[i] = arr[i];
|
|
79
|
-
}
|
|
77
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
80
78
|
return arr2;
|
|
81
79
|
}
|
|
82
80
|
|
|
@@ -123,9 +121,7 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
123
121
|
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
124
122
|
if (Object(_i) !== _i) return;
|
|
125
123
|
_n = !1;
|
|
126
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0)
|
|
127
|
-
;
|
|
128
|
-
}
|
|
124
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
129
125
|
} catch (err) {
|
|
130
126
|
_d = !0, _e = err;
|
|
131
127
|
} finally {
|
|
@@ -162,7 +158,69 @@ function _extends() {
|
|
|
162
158
|
return _extends.apply(this, arguments);
|
|
163
159
|
}
|
|
164
160
|
|
|
165
|
-
var
|
|
161
|
+
var DataViewBase = {
|
|
162
|
+
defaultProps: {
|
|
163
|
+
__TYPE: 'DataView',
|
|
164
|
+
id: null,
|
|
165
|
+
header: null,
|
|
166
|
+
footer: null,
|
|
167
|
+
value: null,
|
|
168
|
+
layout: 'list',
|
|
169
|
+
dataKey: null,
|
|
170
|
+
rows: null,
|
|
171
|
+
first: 0,
|
|
172
|
+
totalRecords: null,
|
|
173
|
+
paginator: false,
|
|
174
|
+
paginatorPosition: 'bottom',
|
|
175
|
+
alwaysShowPaginator: true,
|
|
176
|
+
paginatorClassName: null,
|
|
177
|
+
paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
|
|
178
|
+
paginatorLeft: null,
|
|
179
|
+
paginatorRight: null,
|
|
180
|
+
paginatorDropdownAppendTo: null,
|
|
181
|
+
pageLinkSize: 5,
|
|
182
|
+
rowsPerPageOptions: null,
|
|
183
|
+
currentPageReportTemplate: '({currentPage} of {totalPages})',
|
|
184
|
+
emptyMessage: null,
|
|
185
|
+
sortField: null,
|
|
186
|
+
sortOrder: null,
|
|
187
|
+
style: null,
|
|
188
|
+
className: null,
|
|
189
|
+
lazy: false,
|
|
190
|
+
loading: false,
|
|
191
|
+
loadingIcon: 'pi pi-spinner',
|
|
192
|
+
gutter: false,
|
|
193
|
+
itemTemplate: null,
|
|
194
|
+
onPage: null,
|
|
195
|
+
children: undefined
|
|
196
|
+
},
|
|
197
|
+
getProps: function getProps(props) {
|
|
198
|
+
return utils.ObjectUtils.getMergedProps(props, DataViewBase.defaultProps);
|
|
199
|
+
},
|
|
200
|
+
getOtherProps: function getOtherProps(props) {
|
|
201
|
+
return utils.ObjectUtils.getDiffProps(props, DataViewBase.defaultProps);
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
var DataViewLayoutOptionsBase = {
|
|
205
|
+
defaultProps: {
|
|
206
|
+
__TYPE: 'DataViewLayoutOptions',
|
|
207
|
+
id: null,
|
|
208
|
+
style: null,
|
|
209
|
+
className: null,
|
|
210
|
+
layout: null,
|
|
211
|
+
onChange: null,
|
|
212
|
+
children: undefined
|
|
213
|
+
},
|
|
214
|
+
getProps: function getProps(props) {
|
|
215
|
+
return utils.ObjectUtils.getMergedProps(props, DataViewLayoutOptionsBase.defaultProps);
|
|
216
|
+
},
|
|
217
|
+
getOtherProps: function getOtherProps(props) {
|
|
218
|
+
return utils.ObjectUtils.getDiffProps(props, DataViewLayoutOptionsBase.defaultProps);
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (inProps) {
|
|
223
|
+
var props = DataViewLayoutOptionsBase.getProps(inProps);
|
|
166
224
|
var changeLayout = function changeLayout(event, layoutMode) {
|
|
167
225
|
props.onChange({
|
|
168
226
|
originalEvent: event,
|
|
@@ -170,7 +228,7 @@ var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (props)
|
|
|
170
228
|
});
|
|
171
229
|
event.preventDefault();
|
|
172
230
|
};
|
|
173
|
-
var otherProps =
|
|
231
|
+
var otherProps = DataViewLayoutOptionsBase.getOtherProps(props);
|
|
174
232
|
var className = utils.classNames('p-dataview-layout-options p-selectbutton p-buttonset', props.className);
|
|
175
233
|
var buttonListClass = utils.classNames('p-button p-button-icon-only', {
|
|
176
234
|
'p-highlight': props.layout === 'list'
|
|
@@ -203,8 +261,9 @@ var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (props)
|
|
|
203
261
|
var DataViewItem = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
204
262
|
return props.template(props.item, props.layout);
|
|
205
263
|
});
|
|
206
|
-
var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (
|
|
264
|
+
var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
207
265
|
var _classNames;
|
|
266
|
+
var props = DataViewBase.getProps(inProps);
|
|
208
267
|
var _React$useState = React__namespace.useState(props.first),
|
|
209
268
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
210
269
|
firstState = _React$useState2[0],
|
|
@@ -365,7 +424,7 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
|
|
|
365
424
|
};
|
|
366
425
|
});
|
|
367
426
|
var data = processData();
|
|
368
|
-
var otherProps =
|
|
427
|
+
var otherProps = DataViewBase.getOtherProps(props);
|
|
369
428
|
var className = utils.classNames('p-dataview p-component', (_classNames = {}, _defineProperty(_classNames, "p-dataview-".concat(props.layout), !!props.layout), _defineProperty(_classNames, 'p-dataview-loading', props.loading), _classNames), props.className);
|
|
370
429
|
var loader = createLoader();
|
|
371
430
|
var topPaginator = createTopPaginator();
|
|
@@ -381,50 +440,8 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
|
|
|
381
440
|
}, otherProps), loader, header, topPaginator, content, bottomPaginator, footer);
|
|
382
441
|
}));
|
|
383
442
|
DataViewLayoutOptions.displayName = 'DataViewLayoutOptions';
|
|
384
|
-
DataViewLayoutOptions.defaultProps = {
|
|
385
|
-
__TYPE: 'DataViewLayoutOptions',
|
|
386
|
-
id: null,
|
|
387
|
-
style: null,
|
|
388
|
-
className: null,
|
|
389
|
-
layout: null,
|
|
390
|
-
onChange: null
|
|
391
|
-
};
|
|
392
443
|
DataViewItem.displayName = 'DataViewItem';
|
|
393
444
|
DataView.displayName = 'DataView';
|
|
394
|
-
DataView.defaultProps = {
|
|
395
|
-
__TYPE: 'DataView',
|
|
396
|
-
id: null,
|
|
397
|
-
header: null,
|
|
398
|
-
footer: null,
|
|
399
|
-
value: null,
|
|
400
|
-
layout: 'list',
|
|
401
|
-
dataKey: null,
|
|
402
|
-
rows: null,
|
|
403
|
-
first: 0,
|
|
404
|
-
totalRecords: null,
|
|
405
|
-
paginator: false,
|
|
406
|
-
paginatorPosition: 'bottom',
|
|
407
|
-
alwaysShowPaginator: true,
|
|
408
|
-
paginatorClassName: null,
|
|
409
|
-
paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
|
|
410
|
-
paginatorLeft: null,
|
|
411
|
-
paginatorRight: null,
|
|
412
|
-
paginatorDropdownAppendTo: null,
|
|
413
|
-
pageLinkSize: 5,
|
|
414
|
-
rowsPerPageOptions: null,
|
|
415
|
-
currentPageReportTemplate: '({currentPage} of {totalPages})',
|
|
416
|
-
emptyMessage: null,
|
|
417
|
-
sortField: null,
|
|
418
|
-
sortOrder: null,
|
|
419
|
-
style: null,
|
|
420
|
-
className: null,
|
|
421
|
-
lazy: false,
|
|
422
|
-
loading: false,
|
|
423
|
-
loadingIcon: 'pi pi-spinner',
|
|
424
|
-
gutter: false,
|
|
425
|
-
itemTemplate: null,
|
|
426
|
-
onPage: null
|
|
427
|
-
};
|
|
428
445
|
|
|
429
446
|
exports.DataView = DataView;
|
|
430
447
|
exports.DataViewItem = DataViewItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),r=require("primereact/paginator"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),r=require("primereact/paginator"),n=require("primereact/ripple"),a=require("primereact/utils");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function l(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var i=l(e),u=o(t);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function p(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function c(e){var t=p(e,"string");return"symbol"===s(t)?t:String(t)}function f(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e){if(Array.isArray(e))return m(e)}function d(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function y(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e){if(Array.isArray(e))return e}function P(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],u=!0,s=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);u=!0);}catch(e){s=!0,a=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(s)throw a}}return i}}function w(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){return b(e)||P(e,t)||y(e,t)||w()}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O.apply(this,arguments)}var N={defaultProps:{__TYPE:"DataView",id:null,header:null,footer:null,value:null,layout:"list",dataKey:null,rows:null,first:0,totalRecords:null,paginator:!1,paginatorPosition:"bottom",alwaysShowPaginator:!0,paginatorClassName:null,paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown",paginatorLeft:null,paginatorRight:null,paginatorDropdownAppendTo:null,pageLinkSize:5,rowsPerPageOptions:null,currentPageReportTemplate:"({currentPage} of {totalPages})",emptyMessage:null,sortField:null,sortOrder:null,style:null,className:null,lazy:!1,loading:!1,loadingIcon:"pi pi-spinner",gutter:!1,itemTemplate:null,onPage:null,children:void 0},getProps:function(e){return a.ObjectUtils.getMergedProps(e,N.defaultProps)},getOtherProps:function(e){return a.ObjectUtils.getDiffProps(e,N.defaultProps)}},j={defaultProps:{__TYPE:"DataViewLayoutOptions",id:null,style:null,className:null,layout:null,onChange:null,children:void 0},getProps:function(e){return a.ObjectUtils.getMergedProps(e,j.defaultProps)},getOtherProps:function(e){return a.ObjectUtils.getDiffProps(e,j.defaultProps)}},E=i.memo((function(e){var t=j.getProps(e),r=function(e,r){t.onChange({originalEvent:e,value:r}),e.preventDefault()},o=j.getOtherProps(t),l=a.classNames("p-dataview-layout-options p-selectbutton p-buttonset",t.className),u=a.classNames("p-button p-button-icon-only",{"p-highlight":"list"===t.layout}),s=a.classNames("p-button p-button-icon-only",{"p-highlight":"grid"===t.layout});return i.createElement("div",O({id:t.id,style:t.style,className:l},o),i.createElement("button",{type:"button",className:u,onClick:function(e){return r(e,"list")}},i.createElement("i",{className:"pi pi-bars"}),i.createElement(n.Ripple,null)),i.createElement("button",{type:"button",className:s,onClick:function(e){return r(e,"grid")}},i.createElement("i",{className:"pi pi-th-large"}),i.createElement(n.Ripple,null)))})),S=i.memo((function(e){return e.template(e.item,e.layout)})),D=i.memo(i.forwardRef((function(e,n){var o,l=N.getProps(e),s=h(i.useState(l.first),2),p=s[0],c=s[1],m=h(i.useState(l.rows),2),b=m[0],P=m[1],w=i.useRef(null),j=l.onPage?l.first:p,E=l.onPage?l.rows:b,D=function(e){return l.dataKey?a.ObjectUtils.resolveFieldData(e,l.dataKey):null},T=function(){return l.totalRecords?l.totalRecords:l.value?l.value.length:0},L=function(e){var t=a.classNames("p-paginator-"+e,l.paginatorClassName),n=T();return i.createElement(r.Paginator,{first:j,rows:E,pageLinkSize:l.pageLinkSize,className:t,onPageChange:R,template:l.paginatorTemplate,totalRecords:n,rowsPerPageOptions:l.rowsPerPageOptions,currentPageReportTemplate:l.currentPageReportTemplate,leftContent:l.paginatorLeft,rightContent:l.paginatorRight,alwaysShow:l.alwaysShowPaginator,dropdownAppendTo:l.paginatorDropdownAppendTo})},R=function(e){l.onPage?l.onPage(e):(c(e.first),P(e.rows))},k=function(){if(l.value){var e=g(t=l.value)||d(t)||y(t)||v();return e.sort((function(e,t){var r=a.ObjectUtils.resolveFieldData(e,l.sortField),n=a.ObjectUtils.resolveFieldData(t,l.sortField);return a.ObjectUtils.sort(r,n,l.sortOrder,u.default.locale,u.default.nullSortOrder)})),e}var t;return null},A=function(){if(!l.loading){var e=l.emptyMessage||t.localeOption("emptyMessage");return i.createElement("div",{className:"p-col-12 col-12 p-dataview-emptymessage"},e)}return null},U=function(e){if(a.ObjectUtils.isNotEmpty(e)){if(l.paginator){for(var t=l.lazy?0:j,r=T(),n=Math.min(E+t,r),o=[],u=t;u<n;u++){var s=e[u];s&&o.push(i.createElement(S,{key:D(e)||u,template:l.itemTemplate,layout:l.layout,item:s}))}return o}return e.map((function(e,t){return i.createElement(S,{key:D(e)||t,template:l.itemTemplate,layout:l.layout,item:e})}))}return A()};i.useImperativeHandle(n,(function(){return{props:l,getElement:function(){return w.current}}}));var C,I,M=function(){var e=l.value;return a.ObjectUtils.isNotEmpty(e)&&l.sortField&&(e=k()),e}(),F=N.getOtherProps(l),V=a.classNames("p-dataview p-component",(f(o={},"p-dataview-".concat(l.layout),!!l.layout),f(o,"p-dataview-loading",l.loading),o),l.className),_=function(){if(l.loading){var e=a.classNames("p-dataview-loading-icon pi-spin",l.loadingIcon);return i.createElement("div",{className:"p-dataview-loading-overlay p-component-overlay"},i.createElement("i",{className:e}))}return null}(),x=!l.paginator||"bottom"===l.paginatorPosition&&"both"!==l.paginatorPosition?null:L("top"),z=!l.paginator||"top"===l.paginatorPosition&&"both"!==l.paginatorPosition?null:L("bottom"),q=l.header?i.createElement("div",{className:"p-dataview-header"},l.header):null,K=l.footer?i.createElement("div",{className:"p-dataview-footer"},l.footer):null,Y=(C=U(M),I=a.classNames("p-grid grid",{"p-nogutter grid-nogutter":!l.gutter}),i.createElement("div",{className:"p-dataview-content"},i.createElement("div",{className:I},C)));return i.createElement("div",O({id:l.id,ref:w,style:l.style,className:V},F),_,q,x,Y,z,K)})));E.displayName="DataViewLayoutOptions",S.displayName="DataViewItem",D.displayName="DataView",exports.DataView=D,exports.DataViewItem=S,exports.DataViewLayoutOptions=E;
|
package/dataview/dataview.d.ts
CHANGED
|
@@ -1,70 +1,249 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* DataView displays data in grid or list layout with pagination and sorting features.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primefaces.org/primereact/dataview/)
|
|
6
|
+
*
|
|
7
|
+
* @module dataview
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import * as React from 'react';
|
|
2
11
|
import { PaginatorTemplate } from '../paginator';
|
|
3
12
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Custom page event.
|
|
15
|
+
* @see {@link DataViewProps.onPage}
|
|
16
|
+
* @event
|
|
17
|
+
*/
|
|
18
|
+
interface DataViewPageEvent {
|
|
19
|
+
/**
|
|
20
|
+
* Index of the first records on page.
|
|
21
|
+
*/
|
|
13
22
|
first: number;
|
|
23
|
+
/**
|
|
24
|
+
* Number of records to display per page.
|
|
25
|
+
*/
|
|
14
26
|
rows: number;
|
|
27
|
+
/**
|
|
28
|
+
* Value of the new page.
|
|
29
|
+
*/
|
|
15
30
|
page: number;
|
|
31
|
+
/**
|
|
32
|
+
* Total number of pages.
|
|
33
|
+
*/
|
|
16
34
|
pageCount: number;
|
|
17
35
|
}
|
|
18
36
|
|
|
19
|
-
|
|
37
|
+
/**
|
|
38
|
+
* Custom data view layout options event.
|
|
39
|
+
*/
|
|
40
|
+
interface DataViewLayoutOptionsChangeEvent {
|
|
41
|
+
/**
|
|
42
|
+
* Browser event.
|
|
43
|
+
*/
|
|
20
44
|
originalEvent: React.MouseEvent<HTMLButtonElement>;
|
|
21
|
-
|
|
45
|
+
/**
|
|
46
|
+
* New value.
|
|
47
|
+
*/
|
|
48
|
+
value: 'list' | 'grid' | (string & Record<string, unknown>);
|
|
22
49
|
}
|
|
23
50
|
|
|
51
|
+
/**
|
|
52
|
+
* Custom data view layout options props
|
|
53
|
+
* @group Misc
|
|
54
|
+
*/
|
|
24
55
|
export interface DataViewLayoutOptionsProps {
|
|
56
|
+
/**
|
|
57
|
+
* Unique identifier of the element.
|
|
58
|
+
*/
|
|
25
59
|
id?: string;
|
|
26
|
-
|
|
60
|
+
/**
|
|
61
|
+
* Orientation of the panels, valid values are "list" and "grid".
|
|
62
|
+
*/
|
|
63
|
+
layout?: 'list' | 'grid' | (string & Record<string, unknown>);
|
|
64
|
+
/**
|
|
65
|
+
* Inline style of the element.
|
|
66
|
+
*/
|
|
27
67
|
style?: React.CSSProperties;
|
|
68
|
+
/**
|
|
69
|
+
* Style class of the element.
|
|
70
|
+
*/
|
|
28
71
|
className?: string;
|
|
29
|
-
|
|
30
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Layout options change callback
|
|
74
|
+
* @param {DataViewLayoutOptionsChangeEvent} event - Custom event.
|
|
75
|
+
*/
|
|
76
|
+
onChange(event: DataViewLayoutOptionsChangeEvent): void;
|
|
77
|
+
/**
|
|
78
|
+
* Used to get the child elements of the component.
|
|
79
|
+
* @readonly
|
|
80
|
+
*/
|
|
81
|
+
children?: React.ReactNode | undefined;
|
|
31
82
|
}
|
|
32
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Custom data view layout options
|
|
86
|
+
* @group Misc
|
|
87
|
+
* @extends {React.Component<DataViewLayoutOptionsProps, any>}
|
|
88
|
+
*/
|
|
33
89
|
export declare class DataViewLayoutOptions extends React.Component<DataViewLayoutOptionsProps, any> {}
|
|
34
90
|
|
|
91
|
+
/**
|
|
92
|
+
* Defines valid properties in DataView component. In addition to these, all properties of HTMLDivElement can be used in this component.
|
|
93
|
+
* @group Properties
|
|
94
|
+
*/
|
|
35
95
|
export interface DataViewProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'ref'> {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
96
|
+
/**
|
|
97
|
+
* Header content of the component.
|
|
98
|
+
*/
|
|
99
|
+
header?: React.ReactNode | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* Footer content of the component.
|
|
102
|
+
*/
|
|
103
|
+
footer?: React.ReactNode | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* An array of objects to display.
|
|
106
|
+
*/
|
|
107
|
+
value?: any[] | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* Layout of the items, valid values are "list" and "grid".
|
|
110
|
+
* @defaultValue list
|
|
111
|
+
*/
|
|
112
|
+
layout?: 'list' | 'grid' | (string & Record<string, unknown>);
|
|
113
|
+
/**
|
|
114
|
+
* Name of the field that uniquely identifies a record in the data. Should be a unique business key to prevent re-rendering.
|
|
115
|
+
*/
|
|
116
|
+
dataKey?: string | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* Number of rows to display per page.
|
|
119
|
+
*/
|
|
120
|
+
rows?: number | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* Index of the first record to render.
|
|
123
|
+
* @defaultValue 0
|
|
124
|
+
*/
|
|
125
|
+
first?: number | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* Number of total records, defaults to length of value when not defined.
|
|
128
|
+
*/
|
|
129
|
+
totalRecords?: number | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* When specified as true, enables the pagination.
|
|
132
|
+
* @defaultValue false
|
|
133
|
+
*/
|
|
134
|
+
paginator?: boolean | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* Position of the paginator, options are "top","bottom" or "both".
|
|
137
|
+
* @defaultValue bottom
|
|
138
|
+
*/
|
|
139
|
+
paginatorPosition?: 'top' | 'bottom' | 'both' | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* Whether to show it even there is only one page.
|
|
142
|
+
* @defaultValue true
|
|
143
|
+
*/
|
|
144
|
+
alwaysShowPaginator?: boolean | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* Style class of the paginator element.
|
|
147
|
+
*/
|
|
148
|
+
paginatorClassName?: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Template of the paginator. For details, refer to the template section of the paginator documentation for further options.
|
|
151
|
+
* @defaultValue FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown
|
|
152
|
+
*/
|
|
153
|
+
paginatorTemplate?: PaginatorTemplate | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* Content for the left side of the paginator.
|
|
156
|
+
*/
|
|
157
|
+
paginatorLeft?: React.ReactNode | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* Content for the right side of the paginator.
|
|
160
|
+
*/
|
|
161
|
+
paginatorRight?: React.ReactNode | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* Number of page links to display.
|
|
164
|
+
* @defaultValue 5
|
|
165
|
+
*/
|
|
166
|
+
pageLinkSize?: number | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* DOM element instance where the overlay panel should be mounted. Valid values are any DOM Element and 'self'. The self value is used to render a component where it is located.
|
|
169
|
+
* @defaultValue document.body
|
|
170
|
+
*/
|
|
171
|
+
paginatorDropdownAppendTo?: 'self' | HTMLElement | undefined | null;
|
|
172
|
+
/**
|
|
173
|
+
* Array of integer values to display inside rows per page dropdown.
|
|
174
|
+
*/
|
|
175
|
+
rowsPerPageOptions?: number[] | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* Template of the current page report element.
|
|
178
|
+
* @defaultValue (&123;currentPage&125; of &123;totalPages&125;)
|
|
179
|
+
*/
|
|
180
|
+
currentPageReportTemplate?: string | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* Text to display when there is no data.
|
|
183
|
+
* @defaultValue No records found.
|
|
184
|
+
*/
|
|
185
|
+
emptyMessage?: string | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* Name of the field to sort data by default.
|
|
188
|
+
*/
|
|
189
|
+
sortField?: string | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* Order to sort the data by default.
|
|
192
|
+
*/
|
|
193
|
+
sortOrder?: 1 | 0 | -1 | undefined | null;
|
|
194
|
+
/**
|
|
195
|
+
* Defines if data is loaded and interacted with in lazy manner.
|
|
196
|
+
* @defaultValue false
|
|
197
|
+
*/
|
|
198
|
+
lazy?: boolean | undefined;
|
|
199
|
+
/**
|
|
200
|
+
* Display loading icon of the button.
|
|
201
|
+
*/
|
|
202
|
+
loading?: boolean | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* Name of the loading icon or JSX.Element for loading icon.
|
|
205
|
+
*/
|
|
206
|
+
loadingIcon?: string | undefined;
|
|
207
|
+
/**
|
|
208
|
+
* Whether the grid structure in the container has gutter. Default value is false.
|
|
209
|
+
* @defaultValue false
|
|
210
|
+
*/
|
|
211
|
+
gutter?: boolean | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* Callback to invoke on pagination.
|
|
214
|
+
* @param {DataViewPageEvent} event - Custom page event.
|
|
215
|
+
*/
|
|
216
|
+
onPage?(event: DataViewPageEvent): void;
|
|
217
|
+
/**
|
|
218
|
+
* Function that gets the option along with the layout mdoe and returns the content.
|
|
219
|
+
* @param {*} item - Current item.
|
|
220
|
+
* @param {'list' | 'grid' | (string & Record<string, unknown>)} layout - Current layout.
|
|
221
|
+
*/
|
|
222
|
+
itemTemplate?(item: any, layout: 'list' | 'grid' | (string & Record<string, unknown>)): React.ReactNode;
|
|
223
|
+
/**
|
|
224
|
+
* Used to get the child elements of the component.
|
|
225
|
+
* @readonly
|
|
226
|
+
*/
|
|
227
|
+
children?: React.ReactNode | undefined;
|
|
65
228
|
}
|
|
66
229
|
|
|
230
|
+
/**
|
|
231
|
+
* **PrimeReact - DataViewLayoutOptions**
|
|
232
|
+
*
|
|
233
|
+
* _DataView displays data in grid or list layout with pagination and sorting features._
|
|
234
|
+
*
|
|
235
|
+
* [Live Demo](https://www.primefaces.org/primereact/dataview/)
|
|
236
|
+
* --- ---
|
|
237
|
+
* 
|
|
238
|
+
*
|
|
239
|
+
* @group Component
|
|
240
|
+
*
|
|
241
|
+
*/
|
|
67
242
|
// tslint:disable-next-line:max-classes-per-file
|
|
68
243
|
export declare class DataView extends React.Component<DataViewProps, any> {
|
|
244
|
+
/**
|
|
245
|
+
* Used to get container element.
|
|
246
|
+
* @return {HTMLDivElement} Container element
|
|
247
|
+
*/
|
|
69
248
|
public getElement(): HTMLDivElement;
|
|
70
249
|
}
|
package/dataview/dataview.esm.js
CHANGED
|
@@ -47,9 +47,7 @@ function _defineProperty(obj, key, value) {
|
|
|
47
47
|
|
|
48
48
|
function _arrayLikeToArray(arr, len) {
|
|
49
49
|
if (len == null || len > arr.length) len = arr.length;
|
|
50
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
51
|
-
arr2[i] = arr[i];
|
|
52
|
-
}
|
|
50
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
53
51
|
return arr2;
|
|
54
52
|
}
|
|
55
53
|
|
|
@@ -96,9 +94,7 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
96
94
|
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
97
95
|
if (Object(_i) !== _i) return;
|
|
98
96
|
_n = !1;
|
|
99
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0)
|
|
100
|
-
;
|
|
101
|
-
}
|
|
97
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
102
98
|
} catch (err) {
|
|
103
99
|
_d = !0, _e = err;
|
|
104
100
|
} finally {
|
|
@@ -135,7 +131,69 @@ function _extends() {
|
|
|
135
131
|
return _extends.apply(this, arguments);
|
|
136
132
|
}
|
|
137
133
|
|
|
138
|
-
var
|
|
134
|
+
var DataViewBase = {
|
|
135
|
+
defaultProps: {
|
|
136
|
+
__TYPE: 'DataView',
|
|
137
|
+
id: null,
|
|
138
|
+
header: null,
|
|
139
|
+
footer: null,
|
|
140
|
+
value: null,
|
|
141
|
+
layout: 'list',
|
|
142
|
+
dataKey: null,
|
|
143
|
+
rows: null,
|
|
144
|
+
first: 0,
|
|
145
|
+
totalRecords: null,
|
|
146
|
+
paginator: false,
|
|
147
|
+
paginatorPosition: 'bottom',
|
|
148
|
+
alwaysShowPaginator: true,
|
|
149
|
+
paginatorClassName: null,
|
|
150
|
+
paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
|
|
151
|
+
paginatorLeft: null,
|
|
152
|
+
paginatorRight: null,
|
|
153
|
+
paginatorDropdownAppendTo: null,
|
|
154
|
+
pageLinkSize: 5,
|
|
155
|
+
rowsPerPageOptions: null,
|
|
156
|
+
currentPageReportTemplate: '({currentPage} of {totalPages})',
|
|
157
|
+
emptyMessage: null,
|
|
158
|
+
sortField: null,
|
|
159
|
+
sortOrder: null,
|
|
160
|
+
style: null,
|
|
161
|
+
className: null,
|
|
162
|
+
lazy: false,
|
|
163
|
+
loading: false,
|
|
164
|
+
loadingIcon: 'pi pi-spinner',
|
|
165
|
+
gutter: false,
|
|
166
|
+
itemTemplate: null,
|
|
167
|
+
onPage: null,
|
|
168
|
+
children: undefined
|
|
169
|
+
},
|
|
170
|
+
getProps: function getProps(props) {
|
|
171
|
+
return ObjectUtils.getMergedProps(props, DataViewBase.defaultProps);
|
|
172
|
+
},
|
|
173
|
+
getOtherProps: function getOtherProps(props) {
|
|
174
|
+
return ObjectUtils.getDiffProps(props, DataViewBase.defaultProps);
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
var DataViewLayoutOptionsBase = {
|
|
178
|
+
defaultProps: {
|
|
179
|
+
__TYPE: 'DataViewLayoutOptions',
|
|
180
|
+
id: null,
|
|
181
|
+
style: null,
|
|
182
|
+
className: null,
|
|
183
|
+
layout: null,
|
|
184
|
+
onChange: null,
|
|
185
|
+
children: undefined
|
|
186
|
+
},
|
|
187
|
+
getProps: function getProps(props) {
|
|
188
|
+
return ObjectUtils.getMergedProps(props, DataViewLayoutOptionsBase.defaultProps);
|
|
189
|
+
},
|
|
190
|
+
getOtherProps: function getOtherProps(props) {
|
|
191
|
+
return ObjectUtils.getDiffProps(props, DataViewLayoutOptionsBase.defaultProps);
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
var DataViewLayoutOptions = /*#__PURE__*/React.memo(function (inProps) {
|
|
196
|
+
var props = DataViewLayoutOptionsBase.getProps(inProps);
|
|
139
197
|
var changeLayout = function changeLayout(event, layoutMode) {
|
|
140
198
|
props.onChange({
|
|
141
199
|
originalEvent: event,
|
|
@@ -143,7 +201,7 @@ var DataViewLayoutOptions = /*#__PURE__*/React.memo(function (props) {
|
|
|
143
201
|
});
|
|
144
202
|
event.preventDefault();
|
|
145
203
|
};
|
|
146
|
-
var otherProps =
|
|
204
|
+
var otherProps = DataViewLayoutOptionsBase.getOtherProps(props);
|
|
147
205
|
var className = classNames('p-dataview-layout-options p-selectbutton p-buttonset', props.className);
|
|
148
206
|
var buttonListClass = classNames('p-button p-button-icon-only', {
|
|
149
207
|
'p-highlight': props.layout === 'list'
|
|
@@ -176,8 +234,9 @@ var DataViewLayoutOptions = /*#__PURE__*/React.memo(function (props) {
|
|
|
176
234
|
var DataViewItem = /*#__PURE__*/React.memo(function (props) {
|
|
177
235
|
return props.template(props.item, props.layout);
|
|
178
236
|
});
|
|
179
|
-
var DataView = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
|
|
237
|
+
var DataView = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
180
238
|
var _classNames;
|
|
239
|
+
var props = DataViewBase.getProps(inProps);
|
|
181
240
|
var _React$useState = React.useState(props.first),
|
|
182
241
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
183
242
|
firstState = _React$useState2[0],
|
|
@@ -338,7 +397,7 @@ var DataView = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
|
|
|
338
397
|
};
|
|
339
398
|
});
|
|
340
399
|
var data = processData();
|
|
341
|
-
var otherProps =
|
|
400
|
+
var otherProps = DataViewBase.getOtherProps(props);
|
|
342
401
|
var className = classNames('p-dataview p-component', (_classNames = {}, _defineProperty(_classNames, "p-dataview-".concat(props.layout), !!props.layout), _defineProperty(_classNames, 'p-dataview-loading', props.loading), _classNames), props.className);
|
|
343
402
|
var loader = createLoader();
|
|
344
403
|
var topPaginator = createTopPaginator();
|
|
@@ -354,49 +413,7 @@ var DataView = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
|
|
|
354
413
|
}, otherProps), loader, header, topPaginator, content, bottomPaginator, footer);
|
|
355
414
|
}));
|
|
356
415
|
DataViewLayoutOptions.displayName = 'DataViewLayoutOptions';
|
|
357
|
-
DataViewLayoutOptions.defaultProps = {
|
|
358
|
-
__TYPE: 'DataViewLayoutOptions',
|
|
359
|
-
id: null,
|
|
360
|
-
style: null,
|
|
361
|
-
className: null,
|
|
362
|
-
layout: null,
|
|
363
|
-
onChange: null
|
|
364
|
-
};
|
|
365
416
|
DataViewItem.displayName = 'DataViewItem';
|
|
366
417
|
DataView.displayName = 'DataView';
|
|
367
|
-
DataView.defaultProps = {
|
|
368
|
-
__TYPE: 'DataView',
|
|
369
|
-
id: null,
|
|
370
|
-
header: null,
|
|
371
|
-
footer: null,
|
|
372
|
-
value: null,
|
|
373
|
-
layout: 'list',
|
|
374
|
-
dataKey: null,
|
|
375
|
-
rows: null,
|
|
376
|
-
first: 0,
|
|
377
|
-
totalRecords: null,
|
|
378
|
-
paginator: false,
|
|
379
|
-
paginatorPosition: 'bottom',
|
|
380
|
-
alwaysShowPaginator: true,
|
|
381
|
-
paginatorClassName: null,
|
|
382
|
-
paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
|
|
383
|
-
paginatorLeft: null,
|
|
384
|
-
paginatorRight: null,
|
|
385
|
-
paginatorDropdownAppendTo: null,
|
|
386
|
-
pageLinkSize: 5,
|
|
387
|
-
rowsPerPageOptions: null,
|
|
388
|
-
currentPageReportTemplate: '({currentPage} of {totalPages})',
|
|
389
|
-
emptyMessage: null,
|
|
390
|
-
sortField: null,
|
|
391
|
-
sortOrder: null,
|
|
392
|
-
style: null,
|
|
393
|
-
className: null,
|
|
394
|
-
lazy: false,
|
|
395
|
-
loading: false,
|
|
396
|
-
loadingIcon: 'pi pi-spinner',
|
|
397
|
-
gutter: false,
|
|
398
|
-
itemTemplate: null,
|
|
399
|
-
onPage: null
|
|
400
|
-
};
|
|
401
418
|
|
|
402
419
|
export { DataView, DataViewItem, DataViewLayoutOptions };
|