primereact 8.7.2 → 8.7.3
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 +56 -57
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +56 -57
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +56 -57
- package/accordion/accordion.min.js +1 -1
- package/api/api.cjs.js +30 -68
- package/api/api.cjs.min.js +1 -1
- package/api/api.esm.js +30 -68
- package/api/api.esm.min.js +1 -1
- package/api/api.js +30 -68
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +82 -154
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +82 -154
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +82 -154
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +86 -14
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.d.ts +5 -4
- package/avatar/avatar.esm.js +86 -14
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +86 -14
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/avatargroup.cjs.js +0 -2
- package/avatargroup/avatargroup.esm.js +0 -2
- package/avatargroup/avatargroup.js +0 -2
- package/badge/badge.cjs.js +27 -3
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +27 -3
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +27 -3
- package/badge/badge.min.js +1 -1
- package/blockui/blockui.cjs.js +40 -54
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.d.ts +5 -3
- package/blockui/blockui.esm.js +40 -54
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +40 -54
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +6 -29
- package/breadcrumb/breadcrumb.esm.js +6 -29
- package/breadcrumb/breadcrumb.js +6 -29
- package/button/button.cjs.js +29 -11
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +29 -11
- package/button/button.esm.min.js +1 -1
- package/button/button.js +29 -11
- package/button/button.min.js +1 -1
- package/calendar/calendar.cjs.js +186 -664
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +6 -4
- package/calendar/calendar.esm.js +186 -664
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +186 -664
- package/calendar/calendar.min.js +1 -1
- package/captcha/captcha.cjs.js +0 -15
- package/captcha/captcha.esm.js +0 -15
- package/captcha/captcha.js +0 -15
- package/card/card.cjs.js +0 -6
- package/card/card.esm.js +0 -6
- package/card/card.js +0 -6
- package/carousel/carousel.cjs.js +42 -130
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +42 -130
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +42 -130
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +47 -132
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +47 -132
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +47 -132
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/chart.cjs.js +6 -7
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +6 -7
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +6 -7
- package/chart/chart.min.js +1 -1
- package/checkbox/checkbox.cjs.js +26 -40
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +26 -40
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +26 -40
- package/checkbox/checkbox.min.css +1 -1
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +26 -41
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +26 -41
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +26 -41
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +29 -72
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +29 -72
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +29 -72
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +75 -143
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.d.ts +8 -6
- package/colorpicker/colorpicker.esm.js +75 -143
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +75 -143
- package/colorpicker/colorpicker.min.js +1 -1
- package/confirmdialog/confirmdialog.cjs.js +60 -60
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +60 -60
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +60 -60
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +74 -94
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +74 -94
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +74 -94
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +75 -120
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +75 -120
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +75 -120
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +970 -2021
- package/core/core.min.js +15 -15
- package/csstransition/csstransition.cjs.js +27 -13
- package/csstransition/csstransition.cjs.min.js +1 -1
- package/csstransition/csstransition.esm.js +27 -13
- package/csstransition/csstransition.esm.min.js +1 -1
- package/csstransition/csstransition.js +27 -13
- package/csstransition/csstransition.min.js +1 -1
- package/datascroller/datascroller.cjs.js +32 -64
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.esm.js +32 -64
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +32 -64
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +318 -1077
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +6 -1
- package/datatable/datatable.esm.js +318 -1077
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +318 -1077
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +56 -68
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +56 -68
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +56 -68
- package/dataview/dataview.min.js +1 -1
- package/deferredcontent/deferredcontent.cjs.js +37 -46
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +37 -46
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +37 -46
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/dialog.cjs.js +89 -175
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +89 -175
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +89 -175
- package/dialog/dialog.min.css +1 -1
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.js +0 -2
- package/divider/divider.esm.js +0 -2
- package/divider/divider.js +0 -2
- package/dock/dock.cjs.js +31 -53
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +31 -53
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +31 -53
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +72 -199
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +39 -38
- package/dropdown/dropdown.esm.js +72 -199
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +72 -199
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +31 -22
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +31 -22
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +31 -22
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +29 -51
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +29 -51
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +29 -51
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/fileupload.cjs.js +45 -128
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +45 -128
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +45 -128
- package/fileupload/fileupload.min.js +1 -1
- package/galleria/galleria.cjs.js +54 -165
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +54 -165
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +54 -165
- package/galleria/galleria.min.js +1 -1
- package/gmap/gmap.cjs.js +2 -23
- package/gmap/gmap.esm.js +2 -23
- package/gmap/gmap.js +2 -23
- package/hooks/hooks.cjs.js +102 -131
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.esm.js +102 -131
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +102 -131
- package/hooks/hooks.min.js +1 -1
- package/image/image.cjs.js +41 -67
- package/image/image.cjs.min.js +1 -1
- package/image/image.d.ts +1 -1
- package/image/image.esm.js +41 -67
- package/image/image.esm.min.js +1 -1
- package/image/image.js +41 -67
- package/image/image.min.js +1 -1
- package/inplace/inplace.cjs.js +26 -45
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +26 -45
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +26 -45
- package/inplace/inplace.min.js +1 -1
- package/inputmask/inputmask.cjs.js +16 -108
- package/inputmask/inputmask.d.ts +1 -1
- package/inputmask/inputmask.esm.js +16 -108
- package/inputmask/inputmask.js +16 -108
- package/inputnumber/inputnumber.cjs.js +82 -234
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.d.ts +1 -1
- package/inputnumber/inputnumber.esm.js +82 -234
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +82 -234
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +26 -37
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +26 -37
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +26 -37
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +0 -11
- package/inputtext/inputtext.d.ts +1 -3
- package/inputtext/inputtext.esm.js +0 -11
- package/inputtext/inputtext.js +0 -11
- package/inputtextarea/inputtextarea.cjs.js +0 -20
- package/inputtextarea/inputtextarea.d.ts +1 -3
- package/inputtextarea/inputtextarea.esm.js +0 -20
- package/inputtextarea/inputtextarea.js +0 -20
- package/keyfilter/keyfilter.cjs.js +4 -15
- package/keyfilter/keyfilter.esm.js +4 -15
- package/keyfilter/keyfilter.js +4 -15
- package/knob/knob.cjs.js +74 -106
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +74 -106
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +74 -106
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +94 -125
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.d.ts +6 -0
- package/listbox/listbox.esm.js +95 -126
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +94 -125
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +36 -99
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +36 -99
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +36 -99
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +82 -138
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.d.ts +1 -1
- package/mention/mention.esm.js +82 -138
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +82 -138
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +38 -72
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +38 -72
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +38 -72
- package/menu/menu.min.css +1 -1
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +49 -99
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +49 -99
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +49 -99
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +0 -7
- package/message/message.esm.js +0 -7
- package/message/message.js +0 -7
- package/messages/messages.cjs.js +39 -67
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +39 -67
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +39 -67
- package/messages/messages.min.js +1 -1
- package/multiselect/multiselect.cjs.js +137 -210
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +46 -41
- package/multiselect/multiselect.esm.js +137 -210
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +137 -210
- package/multiselect/multiselect.min.css +1 -1
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +58 -53
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +58 -53
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +58 -53
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +38 -103
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +38 -103
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +38 -103
- package/orderlist/orderlist.min.css +1 -1
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +26 -52
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +26 -52
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +26 -52
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +40 -79
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +40 -79
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +40 -79
- package/overlaypanel/overlaypanel.min.css +1 -1
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.js +46 -87
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +46 -87
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +46 -87
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.js +29 -50
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +29 -50
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +29 -50
- package/panel/panel.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +35 -81
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +35 -81
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +35 -81
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/password.cjs.js +54 -107
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +1 -1
- package/password/password.esm.js +54 -107
- package/password/password.esm.min.js +1 -1
- package/password/password.js +54 -107
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +48 -159
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +48 -159
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +48 -159
- package/picklist/picklist.min.js +1 -1
- package/portal/portal.cjs.js +26 -31
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +26 -31
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +26 -31
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +2246 -7336
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +2246 -7336
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +2246 -7336
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.js +0 -7
- package/progressbar/progressbar.esm.js +0 -7
- package/progressbar/progressbar.js +0 -7
- package/progressspinner/progressspinner.cjs.js +0 -2
- package/progressspinner/progressspinner.esm.js +0 -2
- package/progressspinner/progressspinner.js +0 -2
- package/radiobutton/radiobutton.cjs.js +30 -40
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +30 -40
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +30 -40
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +27 -14
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +27 -14
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +27 -14
- package/rating/rating.min.js +1 -1
- package/resources/primereact.css +47 -1
- package/resources/primereact.min.css +1 -1
- package/ripple/ripple.cjs.js +0 -12
- package/ripple/ripple.esm.js +0 -12
- package/ripple/ripple.js +0 -12
- package/row/row.cjs.js +0 -2
- package/row/row.esm.js +0 -2
- package/row/row.js +0 -2
- package/scrollpanel/scrollpanel.cjs.js +2 -16
- package/scrollpanel/scrollpanel.esm.js +2 -16
- package/scrollpanel/scrollpanel.js +2 -16
- package/scrolltop/scrolltop.cjs.js +44 -57
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +44 -57
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +44 -57
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +26 -53
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +26 -53
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +26 -53
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/sidebar.cjs.js +52 -83
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +52 -83
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +52 -83
- package/sidebar/sidebar.min.css +1 -1
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +0 -2
- package/skeleton/skeleton.esm.js +0 -2
- package/skeleton/skeleton.js +0 -2
- package/slidemenu/slidemenu.cjs.js +73 -87
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.esm.js +73 -87
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +73 -87
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.js +61 -96
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +61 -96
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +61 -96
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +70 -89
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +70 -89
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +70 -89
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +46 -80
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +46 -80
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +46 -80
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +72 -85
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +72 -85
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +72 -85
- package/splitter/splitter.min.js +1 -1
- package/steps/steps.cjs.js +0 -14
- package/steps/steps.esm.js +0 -14
- package/steps/steps.js +0 -14
- package/styleclass/styleclass.cjs.js +75 -111
- package/styleclass/styleclass.cjs.min.js +1 -1
- package/styleclass/styleclass.esm.js +75 -111
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +75 -111
- package/styleclass/styleclass.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +33 -54
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +33 -54
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +33 -54
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +83 -102
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +83 -102
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +83 -102
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +27 -4
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +27 -4
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +27 -4
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +37 -63
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +37 -63
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +37 -63
- package/terminal/terminal.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +65 -110
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +65 -110
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +65 -110
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.js +27 -7
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +27 -7
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +27 -7
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.js +81 -99
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +81 -99
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +81 -99
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +0 -7
- package/togglebutton/togglebutton.esm.js +0 -7
- package/togglebutton/togglebutton.js +0 -7
- package/toolbar/toolbar.cjs.js +0 -2
- package/toolbar/toolbar.esm.js +0 -2
- package/toolbar/toolbar.js +0 -2
- package/tooltip/tooltip.cjs.js +111 -164
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +111 -164
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +111 -164
- package/tooltip/tooltip.min.css +1 -1
- package/tooltip/tooltip.min.js +1 -1
- package/tooltip/tooltipoptions.d.ts +13 -13
- package/tree/tree.cjs.js +68 -223
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +68 -223
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +68 -223
- package/tree/tree.min.js +1 -1
- package/treenode/treenode.d.ts +1 -0
- package/treeselect/treeselect.cjs.js +117 -167
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +30 -29
- package/treeselect/treeselect.esm.js +117 -167
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +117 -167
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +140 -460
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +140 -460
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +140 -460
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +29 -39
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +29 -39
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +29 -39
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +110 -328
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +110 -328
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +110 -328
- package/utils/utils.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +108 -204
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +108 -204
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +108 -204
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +152 -38
package/toast/toast.js
CHANGED
|
@@ -29,14 +29,12 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
29
29
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
30
30
|
for (var i = 1; i < arguments.length; i++) {
|
|
31
31
|
var source = arguments[i];
|
|
32
|
-
|
|
33
32
|
for (var key in source) {
|
|
34
33
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
35
34
|
target[key] = source[key];
|
|
36
35
|
}
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
|
-
|
|
40
38
|
return target;
|
|
41
39
|
};
|
|
42
40
|
return _extends.apply(this, arguments);
|
|
@@ -44,11 +42,9 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
44
42
|
|
|
45
43
|
function _arrayLikeToArray(arr, len) {
|
|
46
44
|
if (len == null || len > arr.length) len = arr.length;
|
|
47
|
-
|
|
48
45
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
49
46
|
arr2[i] = arr[i];
|
|
50
47
|
}
|
|
51
|
-
|
|
52
48
|
return arr2;
|
|
53
49
|
}
|
|
54
50
|
|
|
@@ -82,33 +78,33 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
82
78
|
}
|
|
83
79
|
|
|
84
80
|
function _iterableToArrayLimit(arr, i) {
|
|
85
|
-
var _i =
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
try {
|
|
95
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
96
|
-
_arr.push(_s.value);
|
|
97
|
-
|
|
98
|
-
if (i && _arr.length === i) break;
|
|
99
|
-
}
|
|
100
|
-
} catch (err) {
|
|
101
|
-
_d = true;
|
|
102
|
-
_e = err;
|
|
103
|
-
} finally {
|
|
81
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
82
|
+
if (null != _i) {
|
|
83
|
+
var _s,
|
|
84
|
+
_e,
|
|
85
|
+
_x,
|
|
86
|
+
_r,
|
|
87
|
+
_arr = [],
|
|
88
|
+
_n = !0,
|
|
89
|
+
_d = !1;
|
|
104
90
|
try {
|
|
105
|
-
if (
|
|
91
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
92
|
+
if (Object(_i) !== _i) return;
|
|
93
|
+
_n = !1;
|
|
94
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
|
|
95
|
+
;
|
|
96
|
+
}
|
|
97
|
+
} catch (err) {
|
|
98
|
+
_d = !0, _e = err;
|
|
106
99
|
} finally {
|
|
107
|
-
|
|
100
|
+
try {
|
|
101
|
+
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
|
|
102
|
+
} finally {
|
|
103
|
+
if (_d) throw _e;
|
|
104
|
+
}
|
|
108
105
|
}
|
|
106
|
+
return _arr;
|
|
109
107
|
}
|
|
110
|
-
|
|
111
|
-
return _arr;
|
|
112
108
|
}
|
|
113
109
|
|
|
114
110
|
function _nonIterableRest() {
|
|
@@ -119,7 +115,34 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
119
115
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
120
116
|
}
|
|
121
117
|
|
|
118
|
+
function _typeof(obj) {
|
|
119
|
+
"@babel/helpers - typeof";
|
|
120
|
+
|
|
121
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
122
|
+
return typeof obj;
|
|
123
|
+
} : function (obj) {
|
|
124
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
125
|
+
}, _typeof(obj);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
function _toPrimitive(input, hint) {
|
|
129
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
130
|
+
var prim = input[Symbol.toPrimitive];
|
|
131
|
+
if (prim !== undefined) {
|
|
132
|
+
var res = prim.call(input, hint || "default");
|
|
133
|
+
if (_typeof(res) !== "object") return res;
|
|
134
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
135
|
+
}
|
|
136
|
+
return (hint === "string" ? String : Number)(input);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
function _toPropertyKey(arg) {
|
|
140
|
+
var key = _toPrimitive(arg, "string");
|
|
141
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
142
|
+
}
|
|
143
|
+
|
|
122
144
|
function _defineProperty(obj, key, value) {
|
|
145
|
+
key = _toPropertyKey(key);
|
|
123
146
|
if (key in obj) {
|
|
124
147
|
Object.defineProperty(obj, key, {
|
|
125
148
|
value: value,
|
|
@@ -130,7 +153,6 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
130
153
|
} else {
|
|
131
154
|
obj[key] = value;
|
|
132
155
|
}
|
|
133
|
-
|
|
134
156
|
return obj;
|
|
135
157
|
}
|
|
136
158
|
|
|
@@ -140,10 +162,9 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
140
162
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
141
163
|
descriptor.configurable = true;
|
|
142
164
|
if ("value" in descriptor) descriptor.writable = true;
|
|
143
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
165
|
+
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
144
166
|
}
|
|
145
167
|
}
|
|
146
|
-
|
|
147
168
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
148
169
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
149
170
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
@@ -182,23 +203,14 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
182
203
|
var PrimeReact = /*#__PURE__*/_createClass(function PrimeReact() {
|
|
183
204
|
_classCallCheck(this, PrimeReact);
|
|
184
205
|
});
|
|
185
|
-
|
|
186
206
|
_defineProperty(PrimeReact, "ripple", false);
|
|
187
|
-
|
|
188
207
|
_defineProperty(PrimeReact, "inputStyle", 'outlined');
|
|
189
|
-
|
|
190
208
|
_defineProperty(PrimeReact, "locale", 'en');
|
|
191
|
-
|
|
192
209
|
_defineProperty(PrimeReact, "appendTo", null);
|
|
193
|
-
|
|
194
210
|
_defineProperty(PrimeReact, "cssTransition", true);
|
|
195
|
-
|
|
196
211
|
_defineProperty(PrimeReact, "autoZIndex", true);
|
|
197
|
-
|
|
198
212
|
_defineProperty(PrimeReact, "nonce", null);
|
|
199
|
-
|
|
200
213
|
_defineProperty(PrimeReact, "nullSortOrder", 1);
|
|
201
|
-
|
|
202
214
|
_defineProperty(PrimeReact, "zIndex", {
|
|
203
215
|
modal: 1100,
|
|
204
216
|
overlay: 1000,
|
|
@@ -206,7 +218,6 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
206
218
|
tooltip: 1100,
|
|
207
219
|
toast: 1200
|
|
208
220
|
});
|
|
209
|
-
|
|
210
221
|
_defineProperty(PrimeReact, "filterMatchModeOptions", {
|
|
211
222
|
text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],
|
|
212
223
|
numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],
|
|
@@ -275,87 +286,78 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
275
286
|
}
|
|
276
287
|
}
|
|
277
288
|
};
|
|
278
|
-
|
|
279
289
|
function localeOption(key, locale) {
|
|
280
290
|
var _locale = locale || PrimeReact.locale;
|
|
281
|
-
|
|
282
291
|
try {
|
|
283
292
|
return localeOptions(_locale)[key];
|
|
284
293
|
} catch (error) {
|
|
285
294
|
throw new Error("The ".concat(key, " option is not found in the current locale('").concat(_locale, "')."));
|
|
286
295
|
}
|
|
287
296
|
}
|
|
288
|
-
|
|
289
297
|
function localeOptions(locale) {
|
|
290
298
|
var _locale = locale || PrimeReact.locale;
|
|
291
|
-
|
|
292
299
|
return locales[_locale];
|
|
293
300
|
}
|
|
294
301
|
|
|
295
302
|
var ToastMessage = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
296
303
|
var messageInfo = props.messageInfo;
|
|
297
304
|
var _messageInfo$message = messageInfo.message,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
305
|
+
severity = _messageInfo$message.severity,
|
|
306
|
+
content = _messageInfo$message.content,
|
|
307
|
+
summary = _messageInfo$message.summary,
|
|
308
|
+
detail = _messageInfo$message.detail,
|
|
309
|
+
closable = _messageInfo$message.closable,
|
|
310
|
+
life = _messageInfo$message.life,
|
|
311
|
+
sticky = _messageInfo$message.sticky,
|
|
312
|
+
_className = _messageInfo$message.className,
|
|
313
|
+
style = _messageInfo$message.style,
|
|
314
|
+
_contentClassName = _messageInfo$message.contentClassName,
|
|
315
|
+
contentStyle = _messageInfo$message.contentStyle;
|
|
310
316
|
var _React$useState = React__namespace.useState(false),
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
317
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
318
|
+
focused = _React$useState2[0],
|
|
319
|
+
setFocused = _React$useState2[1];
|
|
315
320
|
var _useTimeout = hooks.useTimeout(function () {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
+
onClose();
|
|
322
|
+
}, life || 3000, !sticky && !focused),
|
|
323
|
+
_useTimeout2 = _slicedToArray(_useTimeout, 1),
|
|
324
|
+
clearTimer = _useTimeout2[0];
|
|
321
325
|
var onClose = function onClose() {
|
|
322
326
|
clearTimer();
|
|
323
327
|
props.onClose && props.onClose(messageInfo);
|
|
324
328
|
};
|
|
325
|
-
|
|
326
329
|
var onClick = function onClick(event) {
|
|
327
330
|
if (props.onClick && !(utils.DomHandler.hasClass(event.target, 'p-toast-icon-close') || utils.DomHandler.hasClass(event.target, 'p-toast-icon-close-icon'))) {
|
|
328
331
|
props.onClick(messageInfo.message);
|
|
329
332
|
}
|
|
330
333
|
};
|
|
331
|
-
|
|
332
334
|
var onMouseEnter = function onMouseEnter(event) {
|
|
333
|
-
props.onMouseEnter && props.onMouseEnter(event);
|
|
335
|
+
props.onMouseEnter && props.onMouseEnter(event);
|
|
334
336
|
|
|
337
|
+
// do not continue if the user has canceled the event
|
|
335
338
|
if (event.defaultPrevented) {
|
|
336
339
|
return;
|
|
337
|
-
}
|
|
338
|
-
|
|
340
|
+
}
|
|
339
341
|
|
|
342
|
+
// stop timer while user has focused message
|
|
340
343
|
if (!sticky) {
|
|
341
344
|
clearTimer();
|
|
342
345
|
setFocused(true);
|
|
343
346
|
}
|
|
344
347
|
};
|
|
345
|
-
|
|
346
348
|
var onMouseLeave = function onMouseLeave(event) {
|
|
347
|
-
props.onMouseLeave && props.onMouseLeave(event);
|
|
349
|
+
props.onMouseLeave && props.onMouseLeave(event);
|
|
348
350
|
|
|
351
|
+
// do not continue if the user has canceled the event
|
|
349
352
|
if (event.defaultPrevented) {
|
|
350
353
|
return;
|
|
351
|
-
}
|
|
352
|
-
|
|
354
|
+
}
|
|
353
355
|
|
|
356
|
+
// restart timer when user has left message
|
|
354
357
|
if (!sticky) {
|
|
355
358
|
setFocused(false);
|
|
356
359
|
}
|
|
357
360
|
};
|
|
358
|
-
|
|
359
361
|
var createCloseIcon = function createCloseIcon() {
|
|
360
362
|
if (closable !== false) {
|
|
361
363
|
return /*#__PURE__*/React__namespace.createElement("div", null, /*#__PURE__*/React__namespace.createElement("button", {
|
|
@@ -368,10 +370,8 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
368
370
|
"aria-hidden": "true"
|
|
369
371
|
}), /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null)));
|
|
370
372
|
}
|
|
371
|
-
|
|
372
373
|
return null;
|
|
373
374
|
};
|
|
374
|
-
|
|
375
375
|
var createMessage = function createMessage() {
|
|
376
376
|
if (messageInfo) {
|
|
377
377
|
var contentEl = utils.ObjectUtils.getJSXElement(content, {
|
|
@@ -395,10 +395,8 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
395
395
|
className: "p-toast-detail"
|
|
396
396
|
}, detail)));
|
|
397
397
|
}
|
|
398
|
-
|
|
399
398
|
return null;
|
|
400
399
|
};
|
|
401
|
-
|
|
402
400
|
var className = utils.classNames('p-toast-message', _defineProperty({}, "p-toast-message-".concat(severity), severity), _className);
|
|
403
401
|
var contentClassName = utils.classNames('p-toast-message-content', _contentClassName);
|
|
404
402
|
var message = createMessage();
|
|
@@ -423,12 +421,10 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
423
421
|
var messageIdx = 0;
|
|
424
422
|
var Toast = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
425
423
|
var _React$useState = React__namespace.useState([]),
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
424
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
425
|
+
messagesState = _React$useState2[0],
|
|
426
|
+
setMessagesState = _React$useState2[1];
|
|
430
427
|
var containerRef = React__namespace.useRef(null);
|
|
431
|
-
|
|
432
428
|
var show = function show(messageInfo) {
|
|
433
429
|
if (messageInfo) {
|
|
434
430
|
var messages = assignIdentifiers(messageInfo, true);
|
|
@@ -436,10 +432,8 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
436
432
|
setMessagesState(messages);
|
|
437
433
|
}
|
|
438
434
|
};
|
|
439
|
-
|
|
440
435
|
var assignIdentifiers = function assignIdentifiers(messageInfo, copy) {
|
|
441
436
|
var messages;
|
|
442
|
-
|
|
443
437
|
if (Array.isArray(messageInfo)) {
|
|
444
438
|
var multipleMessages = messageInfo.reduce(function (acc, message) {
|
|
445
439
|
acc.push({
|
|
@@ -448,7 +442,6 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
448
442
|
});
|
|
449
443
|
return acc;
|
|
450
444
|
}, []);
|
|
451
|
-
|
|
452
445
|
if (copy) {
|
|
453
446
|
messages = messagesState ? [].concat(_toConsumableArray(messagesState), _toConsumableArray(multipleMessages)) : multipleMessages;
|
|
454
447
|
} else {
|
|
@@ -459,27 +452,22 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
459
452
|
_pId: messageIdx++,
|
|
460
453
|
message: messageInfo
|
|
461
454
|
};
|
|
462
|
-
|
|
463
455
|
if (copy) {
|
|
464
456
|
messages = messagesState ? [].concat(_toConsumableArray(messagesState), [message]) : [message];
|
|
465
457
|
} else {
|
|
466
458
|
messages = [message];
|
|
467
459
|
}
|
|
468
460
|
}
|
|
469
|
-
|
|
470
461
|
return messages;
|
|
471
462
|
};
|
|
472
|
-
|
|
473
463
|
var clear = function clear() {
|
|
474
464
|
utils.ZIndexUtils.clear(containerRef.current);
|
|
475
465
|
setMessagesState([]);
|
|
476
466
|
};
|
|
477
|
-
|
|
478
467
|
var replace = function replace(messageInfo) {
|
|
479
468
|
var replaced = assignIdentifiers(messageInfo, false);
|
|
480
469
|
setMessagesState(replaced);
|
|
481
470
|
};
|
|
482
|
-
|
|
483
471
|
var remove = function remove(messageInfo) {
|
|
484
472
|
var messages = messagesState.filter(function (msg) {
|
|
485
473
|
return msg._pId !== messageInfo._pId;
|
|
@@ -487,20 +475,16 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
487
475
|
setMessagesState(messages);
|
|
488
476
|
props.onRemove && props.onRemove(messageInfo.message);
|
|
489
477
|
};
|
|
490
|
-
|
|
491
478
|
var onClose = function onClose(messageInfo) {
|
|
492
479
|
remove(messageInfo);
|
|
493
480
|
};
|
|
494
|
-
|
|
495
481
|
var onEntered = function onEntered() {
|
|
496
482
|
props.onShow && props.onShow();
|
|
497
483
|
};
|
|
498
|
-
|
|
499
484
|
var onExited = function onExited() {
|
|
500
485
|
messagesState.length === 1 && utils.ZIndexUtils.clear(containerRef.current);
|
|
501
486
|
props.onHide && props.onHide();
|
|
502
487
|
};
|
|
503
|
-
|
|
504
488
|
hooks.useUnmountEffect(function () {
|
|
505
489
|
utils.ZIndexUtils.clear(containerRef.current);
|
|
506
490
|
});
|
|
@@ -516,7 +500,6 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
516
500
|
}
|
|
517
501
|
};
|
|
518
502
|
});
|
|
519
|
-
|
|
520
503
|
var createElement = function createElement() {
|
|
521
504
|
var otherProps = utils.ObjectUtils.findDiffKeys(props, Toast.defaultProps);
|
|
522
505
|
var className = utils.classNames('p-toast p-component p-toast-' + props.position, props.className);
|
|
@@ -525,7 +508,7 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
525
508
|
id: props.id,
|
|
526
509
|
className: className,
|
|
527
510
|
style: props.style
|
|
528
|
-
}, otherProps), /*#__PURE__*/React__namespace.createElement(reactTransitionGroup.TransitionGroup, null, messagesState.map(function (messageInfo) {
|
|
511
|
+
}, otherProps), /*#__PURE__*/React__namespace.createElement(reactTransitionGroup.TransitionGroup, null, messagesState && messagesState.map(function (messageInfo) {
|
|
529
512
|
var messageRef = /*#__PURE__*/React__namespace.createRef();
|
|
530
513
|
return /*#__PURE__*/React__namespace.createElement(csstransition.CSSTransition, {
|
|
531
514
|
nodeRef: messageRef,
|
|
@@ -549,7 +532,6 @@ this.primereact.toast = (function (exports, React, reactTransitionGroup, PrimeRe
|
|
|
549
532
|
}));
|
|
550
533
|
})));
|
|
551
534
|
};
|
|
552
|
-
|
|
553
535
|
var element = createElement();
|
|
554
536
|
return /*#__PURE__*/React__namespace.createElement(portal.Portal, {
|
|
555
537
|
element: element,
|
package/toast/toast.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primereact=this.primereact||{},this.primereact.toast=function(e,t,n,a,r,o,s,
|
|
1
|
+
this.primereact=this.primereact||{},this.primereact.toast=function(e,t,n,a,r,o,l,s,i){"use strict";function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function c(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var m=c(t),f=u(a);function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p.apply(this,arguments)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function y(e){if(Array.isArray(e))return d(e)}function b(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function E(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(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 T(e){return y(e)||b(e)||E(e)||v()}function S(e){if(Array.isArray(e))return e}function h(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,l,s=[],i=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(a=o.call(n)).done)&&(s.push(a.value),s.length!==t);i=!0);}catch(e){u=!0,r=e}finally{try{if(!i&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw r}}return s}}function N(){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 g(e,t){return S(e)||h(e,t)||E(e,t)||N()}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 O(e,t){if("object"!==A(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==A(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _(e){var t=O(e,"string");return"symbol"===A(t)?t:String(t)}function I(e,t,n){return(t=_(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,_(a.key),a)}}function R(e,t,n){return t&&L(e.prototype,t),n&&L(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var M=Object.freeze({STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter",CUSTOM:"custom"}),w=R((function e(){C(this,e)}));I(w,"ripple",!1),I(w,"inputStyle","outlined"),I(w,"locale","en"),I(w,"appendTo",null),I(w,"cssTransition",!0),I(w,"autoZIndex",!0),I(w,"nonce",null),I(w,"nullSortOrder",1),I(w,"zIndex",{modal:1100,overlay:1e3,menu:1e3,tooltip:1100,toast:1200}),I(w,"filterMatchModeOptions",{text:[M.STARTS_WITH,M.CONTAINS,M.NOT_CONTAINS,M.ENDS_WITH,M.EQUALS,M.NOT_EQUALS],numeric:[M.EQUALS,M.NOT_EQUALS,M.LESS_THAN,M.LESS_THAN_OR_EQUAL_TO,M.GREATER_THAN,M.GREATER_THAN_OR_EQUAL_TO],date:[M.DATE_IS,M.DATE_IS_NOT,M.DATE_BEFORE,M.DATE_AFTER]});var P={en:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",filter:"Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",custom:"Custom",clear:"Clear",close:"Close",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",weekHeader:"Wk",firstDayOfWeek:0,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No available options",emptyMessage:"No results found",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",pageLabel:"Page",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",previousPageLabel:"Previous Page",selectLabel:"Select",unselectLabel:"Unselect",expandLabel:"Expand",collapseLabel:"Collapse"}}};function j(e,t){var n=t||w.locale;try{return x(n)[e]}catch(t){throw new Error("The ".concat(e," option is not found in the current locale('").concat(n,"')."))}}function x(e){return P[e||w.locale]}var D=m.memo(m.forwardRef((function(e,t){var n=e.messageInfo,a=n.message,r=a.severity,l=a.content,u=a.summary,c=a.detail,f=a.closable,p=a.life,d=a.sticky,y=a.className,b=a.style,E=a.contentClassName,v=a.contentStyle,T=g(m.useState(!1),2),S=T[1],h=g(o.useTimeout((function(){N()}),p||3e3,!d&&!T[0]),1)[0],N=function(){h(),e.onClose&&e.onClose(n)},A=function(t){!e.onClick||s.DomHandler.hasClass(t.target,"p-toast-icon-close")||s.DomHandler.hasClass(t.target,"p-toast-icon-close-icon")||e.onClick(n.message)},O=s.classNames("p-toast-message",I({},"p-toast-message-".concat(r),r),y),_=s.classNames("p-toast-message-content",E),L=function(){if(n){var e=s.ObjectUtils.getJSXElement(l,{message:n.message,onClick:A,onClose:N}),t=s.classNames("p-toast-message-icon pi",{"pi-info-circle":"info"===r,"pi-exclamation-triangle":"warn"===r,"pi-times":"error"===r,"pi-check":"success"===r});return e||m.createElement(m.Fragment,null,m.createElement("span",{className:t}),m.createElement("div",{className:"p-toast-message-text"},m.createElement("span",{className:"p-toast-summary"},u),c&&m.createElement("div",{className:"p-toast-detail"},c)))}return null}(),R=!1!==f?m.createElement("div",null,m.createElement("button",{type:"button",className:"p-toast-icon-close p-link",onClick:N,"aria-label":j("close")},m.createElement("span",{className:"p-toast-icon-close-icon pi pi-times","aria-hidden":"true"}),m.createElement(i.Ripple,null))):null;return m.createElement("div",{ref:t,className:O,style:b,role:"alert","aria-live":"assertive","aria-atomic":"true",onClick:A,onMouseEnter:function(t){e.onMouseEnter&&e.onMouseEnter(t),t.defaultPrevented||d||(h(),S(!0))},onMouseLeave:function(t){e.onMouseLeave&&e.onMouseLeave(t),t.defaultPrevented||d||S(!1)}},m.createElement("div",{className:_,style:v},L,R))})));D.displayName="ToastMessage";var U=0,k=m.memo(m.forwardRef((function(e,t){var a=g(m.useState([]),2),i=a[0],u=a[1],c=m.useRef(null),d=function(t){if(t){var n=y(t,!0);0===i.length&&s.ZIndexUtils.set("toast",c.current,f.default.autoZIndex,e.baseZIndex||f.default.zIndex.toast),u(n)}},y=function(e,t){var n;if(Array.isArray(e)){var a=e.reduce((function(e,t){return e.push({_pId:U++,message:t}),e}),[]);n=t&&i?[].concat(T(i),T(a)):a}else{var r={_pId:U++,message:e};n=t&&i?[].concat(T(i),[r]):[r]}return n},b=function(){s.ZIndexUtils.clear(c.current),u([])},E=function(e){var t=y(e,!1);u(t)},v=function(t){var n=i.filter((function(e){return e._pId!==t._pId}));u(n),e.onRemove&&e.onRemove(t.message)},S=function(e){v(e)},h=function(){e.onShow&&e.onShow()},N=function(){1===i.length&&s.ZIndexUtils.clear(c.current),e.onHide&&e.onHide()};o.useUnmountEffect((function(){s.ZIndexUtils.clear(c.current)})),m.useImperativeHandle(t,(function(){return{props:e,show:d,replace:E,remove:v,clear:b,getElement:function(){return c.current}}}));var A,O,_=(A=s.ObjectUtils.findDiffKeys(e,k.defaultProps),O=s.classNames("p-toast p-component p-toast-"+e.position,e.className),m.createElement("div",p({ref:c,id:e.id,className:O,style:e.style},A),m.createElement(n.TransitionGroup,null,i&&i.map((function(t){var n=m.createRef();return m.createElement(r.CSSTransition,{nodeRef:n,key:t._pId,classNames:"p-toast-message",unmountOnExit:!0,timeout:{enter:300,exit:300},onEntered:h,onExited:N,options:e.transitionOptions},m.createElement(D,{ref:n,messageInfo:t,onClick:e.onClick,onClose:S,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave}))})))));return m.createElement(l.Portal,{element:_,appendTo:e.appendTo})})));return k.displayName="Toast",k.defaultProps={__TYPE:"Toast",id:null,className:null,style:null,baseZIndex:0,position:"top-right",transitionOptions:null,appendTo:"self",onClick:null,onRemove:null,onShow:null,onHide:null,onMouseEnter:null,onMouseLeave:null},e.Toast=k,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,ReactTransitionGroup,primereact.api,primereact.csstransition,primereact.hooks,primereact.portal,primereact.utils,primereact.ripple);
|
|
@@ -31,14 +31,12 @@ function _extends() {
|
|
|
31
31
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
32
32
|
for (var i = 1; i < arguments.length; i++) {
|
|
33
33
|
var source = arguments[i];
|
|
34
|
-
|
|
35
34
|
for (var key in source) {
|
|
36
35
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
37
36
|
target[key] = source[key];
|
|
38
37
|
}
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
|
-
|
|
42
40
|
return target;
|
|
43
41
|
};
|
|
44
42
|
return _extends.apply(this, arguments);
|
|
@@ -50,7 +48,6 @@ var ToggleButton = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__names
|
|
|
50
48
|
var hasIcon = props.onIcon && props.onIcon.length > 0 && props.offIcon && props.offIcon.length > 0;
|
|
51
49
|
var label = hasLabel ? props.checked ? props.onLabel : props.offLabel : ' ';
|
|
52
50
|
var icon = props.checked ? props.onIcon : props.offIcon;
|
|
53
|
-
|
|
54
51
|
var toggle = function toggle(e) {
|
|
55
52
|
if (!props.disabled && props.onChange) {
|
|
56
53
|
props.onChange({
|
|
@@ -66,14 +63,12 @@ var ToggleButton = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__names
|
|
|
66
63
|
});
|
|
67
64
|
}
|
|
68
65
|
};
|
|
69
|
-
|
|
70
66
|
var onKeyDown = function onKeyDown(event) {
|
|
71
67
|
if (event.keyCode === 32) {
|
|
72
68
|
toggle(event);
|
|
73
69
|
event.preventDefault();
|
|
74
70
|
}
|
|
75
71
|
};
|
|
76
|
-
|
|
77
72
|
var createIcon = function createIcon() {
|
|
78
73
|
if (hasIcon) {
|
|
79
74
|
var iconClassName = utils.classNames('p-button-icon p-c', {
|
|
@@ -86,10 +81,8 @@ var ToggleButton = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__names
|
|
|
86
81
|
props: props
|
|
87
82
|
});
|
|
88
83
|
}
|
|
89
|
-
|
|
90
84
|
return null;
|
|
91
85
|
};
|
|
92
|
-
|
|
93
86
|
React__namespace.useImperativeHandle(ref, function () {
|
|
94
87
|
return {
|
|
95
88
|
props: props,
|
|
@@ -7,14 +7,12 @@ function _extends() {
|
|
|
7
7
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
8
8
|
for (var i = 1; i < arguments.length; i++) {
|
|
9
9
|
var source = arguments[i];
|
|
10
|
-
|
|
11
10
|
for (var key in source) {
|
|
12
11
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
13
12
|
target[key] = source[key];
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
15
|
}
|
|
17
|
-
|
|
18
16
|
return target;
|
|
19
17
|
};
|
|
20
18
|
return _extends.apply(this, arguments);
|
|
@@ -26,7 +24,6 @@ var ToggleButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functi
|
|
|
26
24
|
var hasIcon = props.onIcon && props.onIcon.length > 0 && props.offIcon && props.offIcon.length > 0;
|
|
27
25
|
var label = hasLabel ? props.checked ? props.onLabel : props.offLabel : ' ';
|
|
28
26
|
var icon = props.checked ? props.onIcon : props.offIcon;
|
|
29
|
-
|
|
30
27
|
var toggle = function toggle(e) {
|
|
31
28
|
if (!props.disabled && props.onChange) {
|
|
32
29
|
props.onChange({
|
|
@@ -42,14 +39,12 @@ var ToggleButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functi
|
|
|
42
39
|
});
|
|
43
40
|
}
|
|
44
41
|
};
|
|
45
|
-
|
|
46
42
|
var onKeyDown = function onKeyDown(event) {
|
|
47
43
|
if (event.keyCode === 32) {
|
|
48
44
|
toggle(event);
|
|
49
45
|
event.preventDefault();
|
|
50
46
|
}
|
|
51
47
|
};
|
|
52
|
-
|
|
53
48
|
var createIcon = function createIcon() {
|
|
54
49
|
if (hasIcon) {
|
|
55
50
|
var iconClassName = classNames('p-button-icon p-c', {
|
|
@@ -62,10 +57,8 @@ var ToggleButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functi
|
|
|
62
57
|
props: props
|
|
63
58
|
});
|
|
64
59
|
}
|
|
65
|
-
|
|
66
60
|
return null;
|
|
67
61
|
};
|
|
68
|
-
|
|
69
62
|
React.useImperativeHandle(ref, function () {
|
|
70
63
|
return {
|
|
71
64
|
props: props,
|
|
@@ -26,14 +26,12 @@ this.primereact.togglebutton = (function (exports, React, ripple, tooltip, utils
|
|
|
26
26
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
27
27
|
for (var i = 1; i < arguments.length; i++) {
|
|
28
28
|
var source = arguments[i];
|
|
29
|
-
|
|
30
29
|
for (var key in source) {
|
|
31
30
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
32
31
|
target[key] = source[key];
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
34
|
}
|
|
36
|
-
|
|
37
35
|
return target;
|
|
38
36
|
};
|
|
39
37
|
return _extends.apply(this, arguments);
|
|
@@ -45,7 +43,6 @@ this.primereact.togglebutton = (function (exports, React, ripple, tooltip, utils
|
|
|
45
43
|
var hasIcon = props.onIcon && props.onIcon.length > 0 && props.offIcon && props.offIcon.length > 0;
|
|
46
44
|
var label = hasLabel ? props.checked ? props.onLabel : props.offLabel : ' ';
|
|
47
45
|
var icon = props.checked ? props.onIcon : props.offIcon;
|
|
48
|
-
|
|
49
46
|
var toggle = function toggle(e) {
|
|
50
47
|
if (!props.disabled && props.onChange) {
|
|
51
48
|
props.onChange({
|
|
@@ -61,14 +58,12 @@ this.primereact.togglebutton = (function (exports, React, ripple, tooltip, utils
|
|
|
61
58
|
});
|
|
62
59
|
}
|
|
63
60
|
};
|
|
64
|
-
|
|
65
61
|
var onKeyDown = function onKeyDown(event) {
|
|
66
62
|
if (event.keyCode === 32) {
|
|
67
63
|
toggle(event);
|
|
68
64
|
event.preventDefault();
|
|
69
65
|
}
|
|
70
66
|
};
|
|
71
|
-
|
|
72
67
|
var createIcon = function createIcon() {
|
|
73
68
|
if (hasIcon) {
|
|
74
69
|
var iconClassName = utils.classNames('p-button-icon p-c', {
|
|
@@ -81,10 +76,8 @@ this.primereact.togglebutton = (function (exports, React, ripple, tooltip, utils
|
|
|
81
76
|
props: props
|
|
82
77
|
});
|
|
83
78
|
}
|
|
84
|
-
|
|
85
79
|
return null;
|
|
86
80
|
};
|
|
87
|
-
|
|
88
81
|
React__namespace.useImperativeHandle(ref, function () {
|
|
89
82
|
return {
|
|
90
83
|
props: props,
|
package/toolbar/toolbar.cjs.js
CHANGED
|
@@ -29,14 +29,12 @@ function _extends() {
|
|
|
29
29
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
30
30
|
for (var i = 1; i < arguments.length; i++) {
|
|
31
31
|
var source = arguments[i];
|
|
32
|
-
|
|
33
32
|
for (var key in source) {
|
|
34
33
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
35
34
|
target[key] = source[key];
|
|
36
35
|
}
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
|
-
|
|
40
38
|
return target;
|
|
41
39
|
};
|
|
42
40
|
return _extends.apply(this, arguments);
|
package/toolbar/toolbar.esm.js
CHANGED
|
@@ -5,14 +5,12 @@ function _extends() {
|
|
|
5
5
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
6
6
|
for (var i = 1; i < arguments.length; i++) {
|
|
7
7
|
var source = arguments[i];
|
|
8
|
-
|
|
9
8
|
for (var key in source) {
|
|
10
9
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
11
10
|
target[key] = source[key];
|
|
12
11
|
}
|
|
13
12
|
}
|
|
14
13
|
}
|
|
15
|
-
|
|
16
14
|
return target;
|
|
17
15
|
};
|
|
18
16
|
return _extends.apply(this, arguments);
|
package/toolbar/toolbar.js
CHANGED
|
@@ -26,14 +26,12 @@ this.primereact.toolbar = (function (exports, React, utils) {
|
|
|
26
26
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
27
27
|
for (var i = 1; i < arguments.length; i++) {
|
|
28
28
|
var source = arguments[i];
|
|
29
|
-
|
|
30
29
|
for (var key in source) {
|
|
31
30
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
32
31
|
target[key] = source[key];
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
34
|
}
|
|
36
|
-
|
|
37
35
|
return target;
|
|
38
36
|
};
|
|
39
37
|
return _extends.apply(this, arguments);
|