primereact 6.6.0 → 7.0.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/README.md +34 -9
- package/accordion/accordion.cjs.js +32 -23
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.d.ts +3 -2
- package/accordion/accordion.esm.js +17 -8
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +32 -24
- package/accordion/accordion.min.js +1 -1
- package/api/api.cjs.js +374 -42
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +126 -32
- package/api/api.esm.js +371 -43
- package/api/api.esm.min.js +1 -1
- package/api/api.js +374 -44
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +79 -69
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +3 -1
- package/autocomplete/autocomplete.esm.js +15 -5
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +75 -70
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +12 -9
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.d.ts +2 -1
- package/avatar/avatar.esm.js +7 -4
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +13 -10
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/avatargroup.cjs.js +5 -3
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +3 -1
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +6 -4
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/badge.cjs.js +5 -3
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +3 -1
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +6 -4
- package/badge/badge.min.js +1 -1
- package/blockui/blockui.cjs.js +19 -13
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +7 -2
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +18 -14
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +18 -16
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +3 -1
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +19 -17
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +44 -53
- package/button/button.cjs.min.js +1 -1
- package/button/button.d.ts +4 -11
- package/button/button.esm.js +33 -42
- package/button/button.esm.min.js +1 -1
- package/button/button.js +43 -54
- package/button/button.min.js +1 -1
- package/calendar/calendar.cjs.js +183 -153
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +5 -1
- package/calendar/calendar.esm.js +57 -27
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +179 -154
- package/calendar/calendar.min.css +1 -1
- package/calendar/calendar.min.js +1 -1
- package/captcha/captcha.cjs.js +3 -1
- package/captcha/captcha.cjs.min.js +1 -1
- package/captcha/captcha.esm.js +2 -0
- package/captcha/captcha.esm.min.js +1 -1
- package/captcha/captcha.js +4 -2
- package/captcha/captcha.min.js +1 -1
- package/card/card.cjs.js +15 -13
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +3 -1
- package/card/card.esm.min.js +1 -1
- package/card/card.js +16 -14
- package/card/card.min.js +1 -1
- package/carousel/carousel.cjs.js +39 -36
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +4 -1
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +39 -37
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +53 -47
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +8 -2
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +50 -48
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/chart.cjs.js +8 -8
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +3 -1
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +7 -5
- package/chart/chart.min.js +1 -1
- package/checkbox/checkbox.cjs.js +22 -15
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.d.ts +2 -1
- package/checkbox/checkbox.esm.js +15 -8
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +22 -16
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +18 -14
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.d.ts +3 -4
- package/chip/chip.esm.js +13 -9
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +19 -15
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +48 -20
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.d.ts +10 -0
- package/chips/chips.esm.js +39 -11
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +48 -21
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +37 -31
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.d.ts +1 -1
- package/colorpicker/colorpicker.esm.js +8 -2
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +34 -32
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/column.cjs.js +34 -9
- package/column/column.cjs.min.js +1 -1
- package/column/column.d.ts +168 -13
- package/column/column.esm.js +34 -9
- package/column/column.esm.min.js +1 -1
- package/column/column.js +35 -10
- package/column/column.min.js +1 -1
- package/columngroup/columngroup.cjs.js +2 -0
- package/columngroup/columngroup.cjs.min.js +1 -1
- package/columngroup/columngroup.esm.js +2 -0
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +3 -1
- package/columngroup/columngroup.min.js +1 -1
- package/common/common.min.css +1 -1
- package/confirmdialog/confirmdialog.cjs.js +24 -20
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.d.ts +4 -3
- package/confirmdialog/confirmdialog.esm.js +8 -4
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +24 -21
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +47 -40
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.d.ts +4 -3
- package/confirmpopup/confirmpopup.esm.js +12 -6
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +44 -40
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +70 -63
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +37 -31
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +67 -64
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +11745 -1573
- package/core/core.min.js +40 -1
- package/csstransition/csstransition.cjs.js +3 -1
- package/csstransition/csstransition.cjs.min.js +1 -1
- package/csstransition/csstransition.esm.js +2 -0
- package/csstransition/csstransition.esm.min.js +1 -1
- package/csstransition/csstransition.js +4 -2
- package/csstransition/csstransition.min.js +1 -1
- package/datascroller/datascroller.cjs.js +14 -11
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.esm.js +6 -3
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +14 -12
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +4784 -3277
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +100 -29
- package/datatable/datatable.esm.js +4859 -3353
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +4777 -3278
- package/datatable/datatable.min.css +1 -1
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +34 -29
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +8 -3
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +33 -30
- package/dataview/dataview.min.js +1 -1
- package/deferredcontent/deferredcontent.cjs.js +3 -1
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +2 -0
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +4 -2
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/dialog.cjs.js +68 -51
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.d.ts +1 -0
- package/dialog/dialog.esm.js +22 -6
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +65 -52
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.js +6 -4
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +3 -1
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +7 -5
- package/divider/divider.min.js +1 -1
- package/dock/dock.cjs.js +53 -17
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.d.ts +13 -0
- package/dock/dock.esm.js +41 -5
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +53 -18
- package/dock/dock.min.css +1 -1
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +90 -76
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +28 -14
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +86 -77
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +40 -40
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +4 -2
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +39 -37
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +19 -15
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +5 -1
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +18 -16
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/fileupload.cjs.js +65 -56
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.d.ts +2 -1
- package/fileupload/fileupload.esm.js +26 -17
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +65 -57
- package/fileupload/fileupload.min.js +1 -1
- package/fullcalendar/fullcalendar.cjs.js +8 -8
- package/fullcalendar/fullcalendar.cjs.min.js +1 -1
- package/fullcalendar/fullcalendar.esm.js +3 -1
- package/fullcalendar/fullcalendar.esm.min.js +1 -1
- package/fullcalendar/fullcalendar.js +7 -5
- package/fullcalendar/fullcalendar.min.js +1 -1
- package/galleria/galleria.cjs.js +72 -65
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +8 -2
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +69 -66
- package/galleria/galleria.min.js +1 -1
- package/gmap/gmap.cjs.js +3 -1
- package/gmap/gmap.cjs.min.js +1 -1
- package/gmap/gmap.esm.js +2 -0
- package/gmap/gmap.esm.min.js +1 -1
- package/gmap/gmap.js +4 -2
- package/gmap/gmap.min.js +1 -1
- package/image/image.cjs.js +33 -27
- package/image/image.cjs.min.js +1 -1
- package/image/image.d.ts +5 -5
- package/image/image.esm.js +7 -2
- package/image/image.esm.min.js +1 -1
- package/image/image.js +31 -28
- package/image/image.min.js +1 -1
- package/inplace/inplace.cjs.js +10 -8
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +3 -1
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +11 -9
- package/inplace/inplace.min.js +1 -1
- package/inputmask/inputmask.cjs.js +11 -8
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +4 -1
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +11 -9
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +50 -29
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +33 -12
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +49 -30
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +17 -12
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +10 -5
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +17 -13
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +14 -10
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.d.ts +1 -1
- package/inputtext/inputtext.esm.js +5 -1
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +13 -11
- package/inputtext/inputtext.min.css +1 -1
- package/inputtext/inputtext.min.js +1 -1
- package/inputtextarea/inputtextarea.cjs.js +12 -9
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.d.ts +1 -1
- package/inputtextarea/inputtextarea.esm.js +4 -1
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +12 -10
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/keyfilter/keyfilter.cjs.js +5 -5
- package/keyfilter/keyfilter.cjs.min.js +1 -1
- package/keyfilter/keyfilter.esm.js +1 -1
- package/keyfilter/keyfilter.esm.min.js +1 -1
- package/keyfilter/keyfilter.js +6 -6
- package/keyfilter/keyfilter.min.js +1 -1
- package/knob/knob.cjs.js +9 -7
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +3 -1
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +10 -8
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +44 -39
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +9 -4
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +42 -40
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +38 -35
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +4 -1
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +38 -36
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +55 -46
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +10 -2
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +50 -47
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +35 -28
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.d.ts +2 -0
- package/menu/menu.esm.js +8 -2
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +32 -29
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +40 -35
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +6 -2
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +39 -36
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +11 -8
- package/message/message.cjs.min.js +1 -1
- package/message/message.d.ts +3 -1
- package/message/message.esm.js +5 -2
- package/message/message.esm.min.js +1 -1
- package/message/message.js +12 -9
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +21 -17
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +5 -1
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +20 -18
- package/messages/messages.min.js +1 -1
- package/multiselect/multiselect.cjs.js +132 -118
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +6 -2
- package/multiselect/multiselect.esm.js +47 -33
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +128 -119
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +16 -13
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.d.ts +2 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +4 -1
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +16 -14
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +37 -34
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +4 -1
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +37 -35
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +28 -26
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +3 -1
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +29 -27
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +33 -24
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.d.ts +1 -1
- package/overlaypanel/overlaypanel.esm.js +10 -2
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +29 -25
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/overlayservice/overlayservice.cjs.js +2 -2
- package/overlayservice/overlayservice.cjs.min.js +1 -1
- package/overlayservice/overlayservice.esm.js +1 -1
- package/overlayservice/overlayservice.esm.min.js +1 -1
- package/overlayservice/overlayservice.js +3 -3
- package/overlayservice/overlayservice.min.js +1 -1
- package/package.json +10 -4
- package/paginator/paginator.cjs.js +51 -48
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +5 -2
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +51 -49
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.js +21 -17
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +5 -1
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +20 -18
- package/panel/panel.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +42 -39
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +4 -1
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +42 -40
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/password.cjs.js +35 -29
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +1 -1
- package/password/password.esm.js +8 -2
- package/password/password.esm.min.js +1 -1
- package/password/password.js +32 -30
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +60 -54
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +16 -10
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +60 -55
- package/picklist/picklist.min.js +1 -1
- package/portal/portal.cjs.js +7 -3
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +6 -2
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +8 -4
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +8041 -5835
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +6905 -4701
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +8040 -5832
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.js +11 -9
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +3 -1
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +12 -10
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/progressspinner.cjs.js +7 -5
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +3 -1
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +8 -6
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/radiobutton.cjs.js +12 -9
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +4 -1
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +12 -10
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +12 -9
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +6 -3
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +12 -10
- package/rating/rating.min.js +1 -1
- package/resources/primereact.css +430 -238
- package/resources/primereact.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +158 -27
- package/resources/themes/arya-green/theme.css +158 -27
- package/resources/themes/arya-orange/theme.css +158 -27
- package/resources/themes/arya-purple/theme.css +158 -27
- package/resources/themes/bootstrap4-dark-blue/theme.css +162 -31
- package/resources/themes/bootstrap4-dark-purple/theme.css +162 -31
- package/resources/themes/bootstrap4-light-blue/theme.css +162 -31
- package/resources/themes/bootstrap4-light-purple/theme.css +162 -31
- package/resources/themes/fluent-light/theme.css +158 -27
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/theme.css +5671 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/theme.css +5671 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/theme.css +5671 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/theme.css +5671 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-blue/theme.css +5671 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/theme.css +5671 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-purple/theme.css +5671 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-teal/theme.css +5671 -0
- package/resources/themes/luna-amber/theme.css +162 -31
- package/resources/themes/luna-blue/theme.css +162 -31
- package/resources/themes/luna-green/theme.css +162 -31
- package/resources/themes/luna-pink/theme.css +162 -31
- package/resources/themes/md-dark-deeppurple/theme.css +347 -56
- package/resources/themes/md-dark-indigo/theme.css +347 -56
- package/resources/themes/md-light-deeppurple/theme.css +347 -56
- package/resources/themes/md-light-indigo/theme.css +347 -56
- package/resources/themes/mdc-dark-deeppurple/theme.css +347 -56
- package/resources/themes/mdc-dark-indigo/theme.css +347 -56
- package/resources/themes/mdc-light-deeppurple/theme.css +347 -56
- package/resources/themes/mdc-light-indigo/theme.css +347 -56
- package/resources/themes/nova/theme.css +162 -31
- package/resources/themes/nova-accent/theme.css +162 -31
- package/resources/themes/nova-alt/theme.css +162 -31
- package/resources/themes/rhea/theme.css +162 -31
- package/resources/themes/saga-blue/theme.css +158 -27
- package/resources/themes/saga-green/theme.css +158 -27
- package/resources/themes/saga-orange/theme.css +158 -27
- package/resources/themes/saga-purple/theme.css +158 -27
- package/resources/themes/tailwind-light/theme.css +162 -31
- package/resources/themes/vela-blue/theme.css +158 -27
- package/resources/themes/vela-green/theme.css +158 -27
- package/resources/themes/vela-orange/theme.css +158 -27
- package/resources/themes/vela-purple/theme.css +158 -27
- package/ripple/ripple.cjs.js +13 -11
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.js +5 -3
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +14 -12
- package/ripple/ripple.min.js +1 -1
- package/row/row.cjs.js +3 -1
- package/row/row.cjs.min.js +1 -1
- package/row/row.esm.js +2 -0
- package/row/row.esm.min.js +1 -1
- package/row/row.js +4 -2
- package/row/row.min.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +21 -19
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +3 -1
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +22 -20
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +20 -13
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.d.ts +2 -1
- package/scrolltop/scrolltop.esm.js +11 -5
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +18 -14
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +19 -15
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +5 -1
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +18 -16
- package/selectbutton/selectbutton.min.js +1 -1
- package/selectitem/selectitem.d.ts +3 -1
- package/sidebar/sidebar.cjs.js +144 -116
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +2 -0
- package/sidebar/sidebar.esm.js +135 -108
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +141 -117
- package/sidebar/sidebar.min.css +1 -1
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +5 -3
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +3 -1
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +6 -4
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/slidemenu.cjs.js +39 -32
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.esm.js +8 -2
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +36 -33
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.js +40 -23
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +32 -15
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +41 -24
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +22 -19
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.d.ts +3 -2
- package/speeddial/speeddial.esm.js +4 -1
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +22 -20
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +39 -33
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +4 -5
- package/splitbutton/splitbutton.esm.js +8 -2
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +36 -34
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +21 -19
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +4 -2
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +22 -20
- package/splitter/splitter.min.js +1 -1
- package/steps/steps.cjs.js +12 -10
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +3 -1
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +13 -11
- package/steps/steps.min.js +1 -1
- package/styleclass/styleclass.cjs.js +35 -39
- package/styleclass/styleclass.cjs.min.js +1 -1
- package/styleclass/styleclass.esm.js +20 -24
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +36 -40
- package/styleclass/styleclass.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +18 -15
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +4 -1
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +18 -16
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +177 -54
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.d.ts +4 -1
- package/tabview/tabview.esm.js +146 -23
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +177 -55
- package/tabview/tabview.min.css +1 -1
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +11 -8
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.d.ts +2 -1
- package/tag/tag.esm.js +7 -4
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +12 -9
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +14 -12
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +3 -1
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +15 -13
- package/terminal/terminal.min.js +1 -1
- package/terminalservice/terminalservice.cjs.js +2 -2
- package/terminalservice/terminalservice.cjs.min.js +1 -1
- package/terminalservice/terminalservice.esm.js +1 -1
- package/terminalservice/terminalservice.esm.min.js +1 -1
- package/terminalservice/terminalservice.js +3 -3
- package/terminalservice/terminalservice.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +44 -36
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +9 -2
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +40 -37
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.js +14 -12
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +3 -1
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +15 -13
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.js +48 -40
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +22 -15
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +46 -41
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +16 -9
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.d.ts +3 -2
- package/togglebutton/togglebutton.esm.js +10 -3
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +15 -10
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/toolbar.cjs.js +9 -7
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +3 -1
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +10 -8
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/tooltip.cjs.js +36 -31
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +6 -2
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +35 -32
- package/tooltip/tooltip.min.css +1 -1
- package/tooltip/tooltip.min.js +1 -1
- package/tree/tree.cjs.js +54 -51
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.d.ts +9 -2
- package/tree/tree.esm.js +4 -1
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +54 -52
- package/tree/tree.min.js +1 -1
- package/treenode/treenode.d.ts +3 -1
- package/treeselect/treeselect.cjs.js +52 -46
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +9 -2
- package/treeselect/treeselect.esm.js +11 -5
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +49 -47
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +1290 -272
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +9 -2
- package/treetable/treetable.esm.js +1213 -195
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +1288 -273
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +13 -10
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +4 -1
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +13 -11
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +502 -525
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +29 -20
- package/utils/utils.esm.js +501 -524
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +503 -526
- package/utils/utils.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +285 -168
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.d.ts +21 -9
- package/virtualscroller/virtualscroller.esm.js +278 -161
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +286 -169
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +17 -27
- package/core/core.cjs.js +0 -3080
- package/core/core.cjs.min.js +0 -1
- package/core/core.esm.js +0 -3055
- package/core/core.esm.min.js +0 -1
- package/core/package.json +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{Component as t}from"react";import{ObjectUtils as n}from"primereact/
|
|
1
|
+
import e,{Component as t}from"react";import{ObjectUtils as n}from"primereact/utils";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}function a(e){return a="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},a(e)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return l(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var f,y,d,h=function(i){c(v,t);var a,l,f,y,d,h=(a=v,l=p(),function(){var e,t=u(a);if(l){var n=u(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function v(){return o(this,v),h.apply(this,arguments)}return f=v,(y=[{key:"componentDidMount",value:function(){if(console.warn("FullCalendar component is deprecated. Use FullCalendar component of '@fullcalendar/react' package."),this.config={theme:!0},this.props.options)for(var e in this.props.options)this.config[e]=this.props.options[e];this.initialize()}},{key:"componentDidUpdate",value:function(e){if(this.calendar){if(n.equals(e.events,this.props.events)||(this.calendar.removeAllEventSources(),this.calendar.addEventSource(this.props.events)),!n.equals(e.options,this.props.options))for(var t in this.props.options){var o=this.props.options[t];this.config[t]=o,this.calendar.setOption(t,o)}}else this.initialize()}},{key:"initialize",value:function(){var e=this;import("@fullcalendar/core").then((function(t){t&&t.Calendar&&(e.calendar=new t.Calendar(e.element,e.config),e.calendar.render(),e.props.events&&(e.calendar.removeAllEventSources(),e.calendar.addEventSource(e.props.events)))}))}},{key:"componentWillUnmount",value:function(){this.calendar&&this.calendar.destroy()}},{key:"render",value:function(){var t=this;return e.createElement("div",{id:this.props.id,ref:function(e){return t.element=e},style:this.props.style,className:this.props.className})}}])&&r(f.prototype,y),d&&r(f,d),v}();d={id:null,events:[],style:null,className:null,options:null},(y="defaultProps")in(f=h)?Object.defineProperty(f,y,{value:d,enumerable:!0,configurable:!0,writable:!0}):f[y]=d;export{h as FullCalendar};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
this.primereact = this.primereact || {};
|
|
2
|
-
this.primereact.fullcalendar = (function (exports, React,
|
|
2
|
+
this.primereact.fullcalendar = (function (exports, React, utils) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -79,6 +79,8 @@ this.primereact.fullcalendar = (function (exports, React, core) {
|
|
|
79
79
|
function _possibleConstructorReturn(self, call) {
|
|
80
80
|
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
81
81
|
return call;
|
|
82
|
+
} else if (call !== void 0) {
|
|
83
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
return _assertThisInitialized(self);
|
|
@@ -142,12 +144,12 @@ this.primereact.fullcalendar = (function (exports, React, core) {
|
|
|
142
144
|
if (!this.calendar) {
|
|
143
145
|
this.initialize();
|
|
144
146
|
} else {
|
|
145
|
-
if (!
|
|
147
|
+
if (!utils.ObjectUtils.equals(prevProps.events, this.props.events)) {
|
|
146
148
|
this.calendar.removeAllEventSources();
|
|
147
149
|
this.calendar.addEventSource(this.props.events);
|
|
148
150
|
}
|
|
149
151
|
|
|
150
|
-
if (!
|
|
152
|
+
if (!utils.ObjectUtils.equals(prevProps.options, this.props.options)) {
|
|
151
153
|
for (var prop in this.props.options) {
|
|
152
154
|
var optionValue = this.props.options[prop];
|
|
153
155
|
this.config[prop] = optionValue;
|
|
@@ -187,7 +189,7 @@ this.primereact.fullcalendar = (function (exports, React, core) {
|
|
|
187
189
|
value: function render() {
|
|
188
190
|
var _this2 = this;
|
|
189
191
|
|
|
190
|
-
return /*#__PURE__*/React__default[
|
|
192
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
191
193
|
id: this.props.id,
|
|
192
194
|
ref: function ref(el) {
|
|
193
195
|
return _this2.element = el;
|
|
@@ -215,4 +217,4 @@ this.primereact.fullcalendar = (function (exports, React, core) {
|
|
|
215
217
|
|
|
216
218
|
return exports;
|
|
217
219
|
|
|
218
|
-
}({}, React, primereact.
|
|
220
|
+
})({}, React, primereact.utils);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primereact=this.primereact||{},this.primereact.fullcalendar=function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return
|
|
1
|
+
this.primereact=this.primereact||{},this.primereact.fullcalendar=function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,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 u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var y,h,v,m=function(e){l(h,e);var t,r,a,s,u,y=(t=h,r=d(),function(){var e,n=p(t);if(r){var o=p(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return f(this,e)});function h(){return i(this,h),y.apply(this,arguments)}return a=h,(s=[{key:"componentDidMount",value:function(){if(console.warn("FullCalendar component is deprecated. Use FullCalendar component of '@fullcalendar/react' package."),this.config={theme:!0},this.props.options)for(var e in this.props.options)this.config[e]=this.props.options[e];this.initialize()}},{key:"componentDidUpdate",value:function(e){if(this.calendar){if(n.ObjectUtils.equals(e.events,this.props.events)||(this.calendar.removeAllEventSources(),this.calendar.addEventSource(this.props.events)),!n.ObjectUtils.equals(e.options,this.props.options))for(var t in this.props.options){var r=this.props.options[t];this.config[t]=r,this.calendar.setOption(t,r)}}else this.initialize()}},{key:"initialize",value:function(){var e=this;import("@fullcalendar/core").then((function(t){t&&t.Calendar&&(e.calendar=new t.Calendar(e.element,e.config),e.calendar.render(),e.props.events&&(e.calendar.removeAllEventSources(),e.calendar.addEventSource(e.props.events)))}))}},{key:"componentWillUnmount",value:function(){this.calendar&&this.calendar.destroy()}},{key:"render",value:function(){var e=this;return o.default.createElement("div",{id:this.props.id,ref:function(t){return e.element=t},style:this.props.style,className:this.props.className})}}])&&c(a.prototype,s),u&&c(a,u),h}(t.Component);return v={id:null,events:[],style:null,className:null,options:null},(h="defaultProps")in(y=m)?Object.defineProperty(y,h,{value:v,enumerable:!0,configurable:!0,writable:!0}):y[h]=v,e.FullCalendar=m,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.utils);
|
package/galleria/galleria.cjs.js
CHANGED
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var
|
|
6
|
+
var utils = require('primereact/utils');
|
|
7
|
+
var ripple = require('primereact/ripple');
|
|
8
|
+
var csstransition = require('primereact/csstransition');
|
|
9
|
+
var portal = require('primereact/portal');
|
|
10
|
+
var PrimeReact = require('primereact/api');
|
|
7
11
|
|
|
8
12
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
13
|
|
|
10
14
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
|
+
var PrimeReact__default = /*#__PURE__*/_interopDefaultLegacy(PrimeReact);
|
|
11
16
|
|
|
12
17
|
function _classCallCheck(instance, Constructor) {
|
|
13
18
|
if (!(instance instanceof Constructor)) {
|
|
@@ -82,6 +87,8 @@ function _typeof(obj) {
|
|
|
82
87
|
function _possibleConstructorReturn(self, call) {
|
|
83
88
|
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
84
89
|
return call;
|
|
90
|
+
} else if (call !== void 0) {
|
|
91
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
85
92
|
}
|
|
86
93
|
|
|
87
94
|
return _assertThisInitialized(self);
|
|
@@ -240,17 +247,17 @@ var GalleriaItemComponent = /*#__PURE__*/function (_Component) {
|
|
|
240
247
|
value: function renderBackwardNavigator() {
|
|
241
248
|
if (this.props.showItemNavigators) {
|
|
242
249
|
var isDisabled = !this.props.circular && this.props.activeItemIndex === 0;
|
|
243
|
-
var buttonClassName =
|
|
250
|
+
var buttonClassName = utils.classNames('p-galleria-item-prev p-galleria-item-nav p-link', {
|
|
244
251
|
'p-disabled': isDisabled
|
|
245
252
|
});
|
|
246
|
-
return /*#__PURE__*/React__default[
|
|
253
|
+
return /*#__PURE__*/React__default["default"].createElement("button", {
|
|
247
254
|
type: "button",
|
|
248
255
|
className: buttonClassName,
|
|
249
256
|
onClick: this.navBackward,
|
|
250
257
|
disabled: isDisabled
|
|
251
|
-
}, /*#__PURE__*/React__default[
|
|
258
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
252
259
|
className: "p-galleria-item-prev-icon pi pi-chevron-left"
|
|
253
|
-
}), /*#__PURE__*/React__default[
|
|
260
|
+
}), /*#__PURE__*/React__default["default"].createElement(ripple.Ripple, null));
|
|
254
261
|
}
|
|
255
262
|
|
|
256
263
|
return null;
|
|
@@ -260,17 +267,17 @@ var GalleriaItemComponent = /*#__PURE__*/function (_Component) {
|
|
|
260
267
|
value: function renderForwardNavigator() {
|
|
261
268
|
if (this.props.showItemNavigators) {
|
|
262
269
|
var isDisabled = !this.props.circular && this.props.activeItemIndex === this.props.value.length - 1;
|
|
263
|
-
var buttonClassName =
|
|
270
|
+
var buttonClassName = utils.classNames('p-galleria-item-next p-galleria-item-nav p-link', {
|
|
264
271
|
'p-disabled': isDisabled
|
|
265
272
|
});
|
|
266
|
-
return /*#__PURE__*/React__default[
|
|
273
|
+
return /*#__PURE__*/React__default["default"].createElement("button", {
|
|
267
274
|
type: "button",
|
|
268
275
|
className: buttonClassName,
|
|
269
276
|
onClick: this.navForward,
|
|
270
277
|
disabled: isDisabled
|
|
271
|
-
}, /*#__PURE__*/React__default[
|
|
278
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
272
279
|
className: "p-galleria-item-next-icon pi pi-chevron-right"
|
|
273
|
-
}), /*#__PURE__*/React__default[
|
|
280
|
+
}), /*#__PURE__*/React__default["default"].createElement(ripple.Ripple, null));
|
|
274
281
|
}
|
|
275
282
|
|
|
276
283
|
return null;
|
|
@@ -280,7 +287,7 @@ var GalleriaItemComponent = /*#__PURE__*/function (_Component) {
|
|
|
280
287
|
value: function renderCaption() {
|
|
281
288
|
if (this.props.caption) {
|
|
282
289
|
var content = this.props.caption(this.props.value[this.props.activeItemIndex]);
|
|
283
|
-
return /*#__PURE__*/React__default[
|
|
290
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
284
291
|
className: "p-galleria-caption"
|
|
285
292
|
}, content);
|
|
286
293
|
}
|
|
@@ -294,19 +301,19 @@ var GalleriaItemComponent = /*#__PURE__*/function (_Component) {
|
|
|
294
301
|
|
|
295
302
|
var indicator = this.props.indicator && this.props.indicator(index);
|
|
296
303
|
var isActive = this.props.activeItemIndex === index;
|
|
297
|
-
var indicatorItemClassName =
|
|
304
|
+
var indicatorItemClassName = utils.classNames('p-galleria-indicator', {
|
|
298
305
|
'p-highlight': isActive
|
|
299
306
|
});
|
|
300
307
|
|
|
301
308
|
if (!indicator) {
|
|
302
|
-
indicator = /*#__PURE__*/React__default[
|
|
309
|
+
indicator = /*#__PURE__*/React__default["default"].createElement("button", {
|
|
303
310
|
type: "button",
|
|
304
311
|
tabIndex: -1,
|
|
305
312
|
className: "p-link"
|
|
306
|
-
}, /*#__PURE__*/React__default[
|
|
313
|
+
}, /*#__PURE__*/React__default["default"].createElement(ripple.Ripple, null));
|
|
307
314
|
}
|
|
308
315
|
|
|
309
|
-
return /*#__PURE__*/React__default[
|
|
316
|
+
return /*#__PURE__*/React__default["default"].createElement("li", {
|
|
310
317
|
className: indicatorItemClassName,
|
|
311
318
|
key: 'p-galleria-indicator-' + index,
|
|
312
319
|
tabIndex: 0,
|
|
@@ -325,14 +332,14 @@ var GalleriaItemComponent = /*#__PURE__*/function (_Component) {
|
|
|
325
332
|
key: "renderIndicators",
|
|
326
333
|
value: function renderIndicators() {
|
|
327
334
|
if (this.props.showIndicators) {
|
|
328
|
-
var indicatorsContentClassName =
|
|
335
|
+
var indicatorsContentClassName = utils.classNames('p-galleria-indicators p-reset', this.props.indicatorsContentClassName);
|
|
329
336
|
var indicators = [];
|
|
330
337
|
|
|
331
338
|
for (var i = 0; i < this.props.value.length; i++) {
|
|
332
339
|
indicators.push(this.renderIndicator(i));
|
|
333
340
|
}
|
|
334
341
|
|
|
335
|
-
return /*#__PURE__*/React__default[
|
|
342
|
+
return /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
336
343
|
className: indicatorsContentClassName
|
|
337
344
|
}, indicators);
|
|
338
345
|
}
|
|
@@ -349,14 +356,14 @@ var GalleriaItemComponent = /*#__PURE__*/function (_Component) {
|
|
|
349
356
|
var forwardNavigator = this.renderForwardNavigator();
|
|
350
357
|
var caption = this.renderCaption();
|
|
351
358
|
var indicators = this.renderIndicators();
|
|
352
|
-
return /*#__PURE__*/React__default[
|
|
359
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
353
360
|
ref: function ref(el) {
|
|
354
361
|
return _this3.props.forwardRef(el);
|
|
355
362
|
},
|
|
356
363
|
className: "p-galleria-item-wrapper"
|
|
357
|
-
}, /*#__PURE__*/React__default[
|
|
364
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
358
365
|
className: "p-galleria-item-container"
|
|
359
|
-
}, backwardNavigator, /*#__PURE__*/React__default[
|
|
366
|
+
}, backwardNavigator, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
360
367
|
className: "p-galleria-item"
|
|
361
368
|
}, content), forwardNavigator, caption), indicators);
|
|
362
369
|
}
|
|
@@ -365,8 +372,8 @@ var GalleriaItemComponent = /*#__PURE__*/function (_Component) {
|
|
|
365
372
|
return GalleriaItemComponent;
|
|
366
373
|
}(React.Component);
|
|
367
374
|
|
|
368
|
-
var GalleriaItem = /*#__PURE__*/React__default[
|
|
369
|
-
return /*#__PURE__*/React__default[
|
|
375
|
+
var GalleriaItem = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
376
|
+
return /*#__PURE__*/React__default["default"].createElement(GalleriaItemComponent, _extends({
|
|
370
377
|
forwardRef: ref
|
|
371
378
|
}, props));
|
|
372
379
|
});
|
|
@@ -448,15 +455,15 @@ var GalleriaThumbnailItem = /*#__PURE__*/function (_Component) {
|
|
|
448
455
|
key: "render",
|
|
449
456
|
value: function render() {
|
|
450
457
|
var content = this.props.template && this.props.template(this.props.item);
|
|
451
|
-
var itemClassName =
|
|
458
|
+
var itemClassName = utils.classNames(this.props.className, 'p-galleria-thumbnail-item', {
|
|
452
459
|
'p-galleria-thumbnail-item-current': this.props.current,
|
|
453
460
|
'p-galleria-thumbnail-item-active': this.props.active,
|
|
454
461
|
'p-galleria-thumbnail-item-start': this.props.start,
|
|
455
462
|
'p-galleria-thumbnail-item-end': this.props.end
|
|
456
463
|
});
|
|
457
|
-
return /*#__PURE__*/React__default[
|
|
464
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
458
465
|
className: itemClassName
|
|
459
|
-
}, /*#__PURE__*/React__default[
|
|
466
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
460
467
|
className: "p-galleria-thumbnail-item-content",
|
|
461
468
|
tabIndex: this.props.active ? 0 : null,
|
|
462
469
|
onClick: this.onItemClick,
|
|
@@ -503,7 +510,7 @@ var GalleriaThumbnails = /*#__PURE__*/function (_Component2) {
|
|
|
503
510
|
_this2.onTouchMove = _this2.onTouchMove.bind(_assertThisInitialized(_this2));
|
|
504
511
|
_this2.onTouchEnd = _this2.onTouchEnd.bind(_assertThisInitialized(_this2));
|
|
505
512
|
_this2.onItemClick = _this2.onItemClick.bind(_assertThisInitialized(_this2));
|
|
506
|
-
_this2.attributeSelector =
|
|
513
|
+
_this2.attributeSelector = utils.UniqueComponentId();
|
|
507
514
|
return _this2;
|
|
508
515
|
}
|
|
509
516
|
|
|
@@ -527,7 +534,7 @@ var GalleriaThumbnails = /*#__PURE__*/function (_Component2) {
|
|
|
527
534
|
}
|
|
528
535
|
|
|
529
536
|
if (this.itemsContainer) {
|
|
530
|
-
|
|
537
|
+
utils.DomHandler.removeClass(this.itemsContainer, 'p-items-hidden');
|
|
531
538
|
this.itemsContainer.style.transform = this.props.isVertical ? "translate3d(0, ".concat(totalShiftedItems * (100 / this.state.numVisible), "%, 0)") : "translate3d(".concat(totalShiftedItems * (100 / this.state.numVisible), "%, 0, 0)");
|
|
532
539
|
this.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
533
540
|
}
|
|
@@ -619,7 +626,7 @@ var GalleriaThumbnails = /*#__PURE__*/function (_Component2) {
|
|
|
619
626
|
key: "onTransitionEnd",
|
|
620
627
|
value: function onTransitionEnd(e) {
|
|
621
628
|
if (this.itemsContainer && e.propertyName === 'transform') {
|
|
622
|
-
|
|
629
|
+
utils.DomHandler.addClass(this.itemsContainer, 'p-items-hidden');
|
|
623
630
|
this.itemsContainer.style.transition = '';
|
|
624
631
|
}
|
|
625
632
|
}
|
|
@@ -780,7 +787,7 @@ var GalleriaThumbnails = /*#__PURE__*/function (_Component2) {
|
|
|
780
787
|
this.itemsContainer.style.transform = this.props.isVertical ? "translate3d(0, ".concat(totalShiftedItems * (100 / this.state.numVisible), "%, 0)") : "translate3d(".concat(totalShiftedItems * (100 / this.state.numVisible), "%, 0, 0)");
|
|
781
788
|
|
|
782
789
|
if (prevProps.activeItemIndex !== this.props.activeItemIndex) {
|
|
783
|
-
|
|
790
|
+
utils.DomHandler.removeClass(this.itemsContainer, 'p-items-hidden');
|
|
784
791
|
this.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
785
792
|
}
|
|
786
793
|
}
|
|
@@ -804,7 +811,7 @@ var GalleriaThumbnails = /*#__PURE__*/function (_Component2) {
|
|
|
804
811
|
start = firstIndex === index,
|
|
805
812
|
end = lastIndex === index,
|
|
806
813
|
current = _this4.props.activeItemIndex === index;
|
|
807
|
-
return /*#__PURE__*/React__default[
|
|
814
|
+
return /*#__PURE__*/React__default["default"].createElement(GalleriaThumbnailItem, {
|
|
808
815
|
key: index,
|
|
809
816
|
index: index,
|
|
810
817
|
template: _this4.props.itemTemplate,
|
|
@@ -822,20 +829,20 @@ var GalleriaThumbnails = /*#__PURE__*/function (_Component2) {
|
|
|
822
829
|
value: function renderBackwardNavigator() {
|
|
823
830
|
if (this.props.showThumbnailNavigators) {
|
|
824
831
|
var isDisabled = !this.props.circular && this.props.activeItemIndex === 0 || this.props.value.length <= this.state.numVisible;
|
|
825
|
-
var buttonClassName =
|
|
832
|
+
var buttonClassName = utils.classNames('p-galleria-thumbnail-prev p-link', {
|
|
826
833
|
'p-disabled': isDisabled
|
|
827
834
|
}),
|
|
828
|
-
iconClassName =
|
|
835
|
+
iconClassName = utils.classNames('p-galleria-thumbnail-prev-icon pi', {
|
|
829
836
|
'pi-chevron-left': !this.props.isVertical,
|
|
830
837
|
'pi-chevron-up': this.props.isVertical
|
|
831
838
|
});
|
|
832
|
-
return /*#__PURE__*/React__default[
|
|
839
|
+
return /*#__PURE__*/React__default["default"].createElement("button", {
|
|
833
840
|
className: buttonClassName,
|
|
834
841
|
onClick: this.navBackward,
|
|
835
842
|
disabled: isDisabled
|
|
836
|
-
}, /*#__PURE__*/React__default[
|
|
843
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
837
844
|
className: iconClassName
|
|
838
|
-
}), /*#__PURE__*/React__default[
|
|
845
|
+
}), /*#__PURE__*/React__default["default"].createElement(ripple.Ripple, null));
|
|
839
846
|
}
|
|
840
847
|
|
|
841
848
|
return null;
|
|
@@ -845,20 +852,20 @@ var GalleriaThumbnails = /*#__PURE__*/function (_Component2) {
|
|
|
845
852
|
value: function renderForwardNavigator() {
|
|
846
853
|
if (this.props.showThumbnailNavigators) {
|
|
847
854
|
var isDisabled = !this.props.circular && this.props.activeItemIndex === this.props.value.length - 1 || this.props.value.length <= this.state.numVisible;
|
|
848
|
-
var buttonClassName =
|
|
855
|
+
var buttonClassName = utils.classNames('p-galleria-thumbnail-next p-link', {
|
|
849
856
|
'p-disabled': isDisabled
|
|
850
857
|
}),
|
|
851
|
-
iconClassName =
|
|
858
|
+
iconClassName = utils.classNames('p-galleria-thumbnail-next-icon pi', {
|
|
852
859
|
'pi-chevron-right': !this.props.isVertical,
|
|
853
860
|
'pi-chevron-down': this.props.isVertical
|
|
854
861
|
});
|
|
855
|
-
return /*#__PURE__*/React__default[
|
|
862
|
+
return /*#__PURE__*/React__default["default"].createElement("button", {
|
|
856
863
|
className: buttonClassName,
|
|
857
864
|
onClick: this.navForward,
|
|
858
865
|
disabled: isDisabled
|
|
859
|
-
}, /*#__PURE__*/React__default[
|
|
866
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
860
867
|
className: iconClassName
|
|
861
|
-
}), /*#__PURE__*/React__default[
|
|
868
|
+
}), /*#__PURE__*/React__default["default"].createElement(ripple.Ripple, null));
|
|
862
869
|
}
|
|
863
870
|
|
|
864
871
|
return null;
|
|
@@ -872,14 +879,14 @@ var GalleriaThumbnails = /*#__PURE__*/function (_Component2) {
|
|
|
872
879
|
var height = this.props.isVertical ? this.props.contentHeight : '';
|
|
873
880
|
var backwardNavigator = this.renderBackwardNavigator();
|
|
874
881
|
var forwardNavigator = this.renderForwardNavigator();
|
|
875
|
-
return /*#__PURE__*/React__default[
|
|
882
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
876
883
|
className: "p-galleria-thumbnail-container"
|
|
877
|
-
}, backwardNavigator, /*#__PURE__*/React__default[
|
|
884
|
+
}, backwardNavigator, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
878
885
|
className: "p-galleria-thumbnail-items-container",
|
|
879
886
|
style: {
|
|
880
887
|
'height': height
|
|
881
888
|
}
|
|
882
|
-
}, /*#__PURE__*/React__default[
|
|
889
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
883
890
|
ref: function ref(el) {
|
|
884
891
|
return _this5.itemsContainer = el;
|
|
885
892
|
},
|
|
@@ -894,7 +901,7 @@ var GalleriaThumbnails = /*#__PURE__*/function (_Component2) {
|
|
|
894
901
|
key: "render",
|
|
895
902
|
value: function render() {
|
|
896
903
|
var content = this.renderContent();
|
|
897
|
-
return /*#__PURE__*/React__default[
|
|
904
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
898
905
|
className: "p-galleria-thumbnail-wrapper"
|
|
899
906
|
}, content);
|
|
900
907
|
}
|
|
@@ -943,7 +950,7 @@ var Galleria = /*#__PURE__*/function (_Component) {
|
|
|
943
950
|
_this.onEntered = _this.onEntered.bind(_assertThisInitialized(_this));
|
|
944
951
|
_this.onExit = _this.onExit.bind(_assertThisInitialized(_this));
|
|
945
952
|
_this.onExited = _this.onExited.bind(_assertThisInitialized(_this));
|
|
946
|
-
_this.galleriaRef = /*#__PURE__*/React__default[
|
|
953
|
+
_this.galleriaRef = /*#__PURE__*/React__default["default"].createRef();
|
|
947
954
|
return _this;
|
|
948
955
|
}
|
|
949
956
|
|
|
@@ -980,13 +987,13 @@ var Galleria = /*#__PURE__*/function (_Component) {
|
|
|
980
987
|
}, {
|
|
981
988
|
key: "onEnter",
|
|
982
989
|
value: function onEnter() {
|
|
983
|
-
|
|
990
|
+
utils.DomHandler.addClass(document.body, 'p-overflow-hidden');
|
|
984
991
|
}
|
|
985
992
|
}, {
|
|
986
993
|
key: "onEntering",
|
|
987
994
|
value: function onEntering() {
|
|
988
|
-
|
|
989
|
-
|
|
995
|
+
utils.ZIndexUtils.set('modal', this.mask, PrimeReact__default["default"].autoZIndex, this.props.baseZIndex || PrimeReact__default["default"].zIndex['modal']);
|
|
996
|
+
utils.DomHandler.addMultipleClasses(this.mask, 'p-component-overlay p-component-overlay-enter');
|
|
990
997
|
}
|
|
991
998
|
}, {
|
|
992
999
|
key: "onEntered",
|
|
@@ -996,13 +1003,13 @@ var Galleria = /*#__PURE__*/function (_Component) {
|
|
|
996
1003
|
}, {
|
|
997
1004
|
key: "onExit",
|
|
998
1005
|
value: function onExit() {
|
|
999
|
-
|
|
1000
|
-
|
|
1006
|
+
utils.DomHandler.removeClass(document.body, 'p-overflow-hidden');
|
|
1007
|
+
utils.DomHandler.addClass(this.mask, 'p-component-overlay-leave');
|
|
1001
1008
|
}
|
|
1002
1009
|
}, {
|
|
1003
1010
|
key: "onExited",
|
|
1004
1011
|
value: function onExited() {
|
|
1005
|
-
|
|
1012
|
+
utils.ZIndexUtils.clear(this.mask);
|
|
1006
1013
|
this.props.onHide && this.props.onHide();
|
|
1007
1014
|
}
|
|
1008
1015
|
}, {
|
|
@@ -1075,13 +1082,13 @@ var Galleria = /*#__PURE__*/function (_Component) {
|
|
|
1075
1082
|
this.stopSlideShow();
|
|
1076
1083
|
}
|
|
1077
1084
|
|
|
1078
|
-
|
|
1085
|
+
utils.ZIndexUtils.clear(this.mask);
|
|
1079
1086
|
}
|
|
1080
1087
|
}, {
|
|
1081
1088
|
key: "renderHeader",
|
|
1082
1089
|
value: function renderHeader() {
|
|
1083
1090
|
if (this.props.header) {
|
|
1084
|
-
return /*#__PURE__*/React__default[
|
|
1091
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1085
1092
|
className: "p-galleria-header"
|
|
1086
1093
|
}, this.props.header);
|
|
1087
1094
|
}
|
|
@@ -1092,7 +1099,7 @@ var Galleria = /*#__PURE__*/function (_Component) {
|
|
|
1092
1099
|
key: "renderFooter",
|
|
1093
1100
|
value: function renderFooter() {
|
|
1094
1101
|
if (this.props.footer) {
|
|
1095
|
-
return /*#__PURE__*/React__default[
|
|
1102
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1096
1103
|
className: "p-galleria-footer"
|
|
1097
1104
|
}, this.props.footer);
|
|
1098
1105
|
}
|
|
@@ -1107,28 +1114,28 @@ var Galleria = /*#__PURE__*/function (_Component) {
|
|
|
1107
1114
|
var isVertical = this.isVertical();
|
|
1108
1115
|
var thumbnailsPosClassName = this.props.showThumbnails && this.getPositionClassName('p-galleria-thumbnails', this.props.thumbnailsPosition);
|
|
1109
1116
|
var indicatorPosClassName = this.props.showIndicators && this.getPositionClassName('p-galleria-indicators', this.props.indicatorsPosition);
|
|
1110
|
-
var galleriaClassName =
|
|
1117
|
+
var galleriaClassName = utils.classNames('p-galleria p-component', this.props.className, {
|
|
1111
1118
|
'p-galleria-fullscreen': this.props.fullScreen,
|
|
1112
1119
|
'p-galleria-indicator-onitem': this.props.showIndicatorsOnItem,
|
|
1113
1120
|
'p-galleria-item-nav-onhover': this.props.showItemNavigatorsOnHover && !this.props.fullScreen
|
|
1114
1121
|
}, thumbnailsPosClassName, indicatorPosClassName);
|
|
1115
|
-
var closeIcon = this.props.fullScreen && /*#__PURE__*/React__default[
|
|
1122
|
+
var closeIcon = this.props.fullScreen && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
1116
1123
|
type: "button",
|
|
1117
1124
|
className: "p-galleria-close p-link",
|
|
1118
1125
|
onClick: this.hide
|
|
1119
|
-
}, /*#__PURE__*/React__default[
|
|
1126
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1120
1127
|
className: "p-galleria-close-icon pi pi-times"
|
|
1121
|
-
}), /*#__PURE__*/React__default[
|
|
1128
|
+
}), /*#__PURE__*/React__default["default"].createElement(ripple.Ripple, null));
|
|
1122
1129
|
var header = this.renderHeader();
|
|
1123
1130
|
var footer = this.renderFooter();
|
|
1124
|
-
var element = /*#__PURE__*/React__default[
|
|
1131
|
+
var element = /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1125
1132
|
ref: this.galleriaRef,
|
|
1126
1133
|
id: this.props.id,
|
|
1127
1134
|
className: galleriaClassName,
|
|
1128
1135
|
style: this.props.style
|
|
1129
|
-
}, closeIcon, header, /*#__PURE__*/React__default[
|
|
1136
|
+
}, closeIcon, header, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1130
1137
|
className: "p-galleria-content"
|
|
1131
|
-
}, /*#__PURE__*/React__default[
|
|
1138
|
+
}, /*#__PURE__*/React__default["default"].createElement(GalleriaItem, {
|
|
1132
1139
|
ref: function ref(el) {
|
|
1133
1140
|
return _this3.previewContent = el;
|
|
1134
1141
|
},
|
|
@@ -1146,7 +1153,7 @@ var Galleria = /*#__PURE__*/function (_Component) {
|
|
|
1146
1153
|
slideShowActive: this.state.slideShowActive,
|
|
1147
1154
|
startSlideShow: this.startSlideShow,
|
|
1148
1155
|
stopSlideShow: this.stopSlideShow
|
|
1149
|
-
}), this.props.showThumbnails && /*#__PURE__*/React__default[
|
|
1156
|
+
}), this.props.showThumbnails && /*#__PURE__*/React__default["default"].createElement(GalleriaThumbnails, {
|
|
1150
1157
|
value: this.props.value,
|
|
1151
1158
|
activeItemIndex: this.activeItemIndex,
|
|
1152
1159
|
onActiveItemChange: this.onActiveItemChange,
|
|
@@ -1171,15 +1178,15 @@ var Galleria = /*#__PURE__*/function (_Component) {
|
|
|
1171
1178
|
var element = this.renderElement();
|
|
1172
1179
|
|
|
1173
1180
|
if (this.props.fullScreen) {
|
|
1174
|
-
var maskClassName =
|
|
1181
|
+
var maskClassName = utils.classNames('p-galleria-mask', {
|
|
1175
1182
|
'p-galleria-visible': this.state.visible
|
|
1176
1183
|
});
|
|
1177
|
-
var galleriaWrapper = /*#__PURE__*/React__default[
|
|
1184
|
+
var galleriaWrapper = /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1178
1185
|
ref: function ref(el) {
|
|
1179
1186
|
return _this4.mask = el;
|
|
1180
1187
|
},
|
|
1181
1188
|
className: maskClassName
|
|
1182
|
-
}, /*#__PURE__*/React__default[
|
|
1189
|
+
}, /*#__PURE__*/React__default["default"].createElement(csstransition.CSSTransition, {
|
|
1183
1190
|
nodeRef: this.galleriaRef,
|
|
1184
1191
|
classNames: "p-galleria",
|
|
1185
1192
|
in: this.state.visible,
|
|
@@ -1195,7 +1202,7 @@ var Galleria = /*#__PURE__*/function (_Component) {
|
|
|
1195
1202
|
onExit: this.onExit,
|
|
1196
1203
|
onExited: this.onExited
|
|
1197
1204
|
}, element));
|
|
1198
|
-
return /*#__PURE__*/React__default[
|
|
1205
|
+
return /*#__PURE__*/React__default["default"].createElement(portal.Portal, {
|
|
1199
1206
|
element: galleriaWrapper
|
|
1200
1207
|
});
|
|
1201
1208
|
} else {
|