primereact 8.4.0 → 8.6.0
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 +2 -4
- package/accordion/accordion.cjs.js +14 -7
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.d.ts +2 -2
- package/accordion/accordion.esm.js +14 -7
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +15 -9
- package/accordion/accordion.min.js +1 -1
- package/api/api.cjs.js +302 -286
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +9 -3
- package/api/api.esm.js +302 -287
- package/api/api.esm.min.js +1 -1
- package/api/api.js +670 -654
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +68 -64
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +45 -43
- package/autocomplete/autocomplete.esm.js +69 -65
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +68 -64
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +1 -2
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.d.ts +1 -1
- package/avatar/avatar.esm.js +1 -2
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +1 -2
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/avatargroup.cjs.js +1 -2
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.d.ts +1 -1
- package/avatargroup/avatargroup.esm.js +1 -2
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +1 -2
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/badge.cjs.js +1 -2
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.d.ts +1 -1
- package/badge/badge.esm.js +1 -2
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +1 -2
- package/badge/badge.min.js +1 -1
- package/blockui/blockui.cjs.js +1 -2
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +1 -2
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +1 -2
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +13 -2
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.d.ts +1 -1
- package/breadcrumb/breadcrumb.esm.js +13 -2
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +13 -2
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +8 -4
- package/button/button.cjs.min.js +1 -1
- package/button/button.d.ts +3 -2
- package/button/button.esm.js +8 -4
- package/button/button.esm.min.js +1 -1
- package/button/button.js +8 -4
- package/button/button.min.js +1 -1
- package/calendar/calendar.cjs.js +134 -138
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +60 -63
- package/calendar/calendar.esm.js +135 -139
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +135 -139
- package/calendar/calendar.min.js +1 -1
- package/captcha/captcha.cjs.js +8 -9
- package/captcha/captcha.cjs.min.js +1 -1
- package/captcha/captcha.esm.js +8 -9
- package/captcha/captcha.esm.min.js +1 -1
- package/captcha/captcha.js +8 -9
- package/captcha/captcha.min.js +1 -1
- package/card/card.cjs.js +1 -2
- package/card/card.cjs.min.js +1 -1
- package/card/card.d.ts +1 -1
- package/card/card.esm.js +1 -2
- package/card/card.esm.min.js +1 -1
- package/card/card.js +1 -2
- package/card/card.min.js +1 -1
- package/carousel/carousel.cjs.js +62 -44
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.d.ts +3 -1
- package/carousel/carousel.esm.js +62 -44
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +62 -44
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +8 -8
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +2 -2
- package/cascadeselect/cascadeselect.esm.js +8 -8
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +8 -8
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/chart.cjs.js +1 -2
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +1 -2
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +1 -2
- package/chart/chart.min.js +1 -1
- package/checkbox/checkbox.cjs.js +17 -10
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.d.ts +1 -1
- package/checkbox/checkbox.esm.js +18 -11
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +17 -10
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +1 -2
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.d.ts +1 -1
- package/chip/chip.esm.js +1 -2
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +1 -2
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +7 -7
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.d.ts +3 -3
- package/chips/chips.esm.js +8 -8
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +7 -7
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +3 -4
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.d.ts +1 -1
- package/colorpicker/colorpicker.esm.js +3 -4
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +3 -4
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/column.d.ts +11 -6
- package/columngroup/columngroup.d.ts +1 -1
- package/confirmdialog/confirmdialog.cjs.js +7 -4
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +8 -5
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +7 -4
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +10 -5
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +11 -6
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +10 -5
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +5 -2
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +5 -2
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +5 -2
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +1055 -982
- package/core/core.min.js +15 -15
- package/csstransition/csstransition.d.ts +2 -2
- package/datascroller/datascroller.cjs.js +2 -3
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.esm.js +2 -3
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +2 -3
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +78 -34
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +106 -104
- package/datatable/datatable.esm.js +79 -35
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +78 -34
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +1 -2
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.d.ts +2 -2
- package/dataview/dataview.esm.js +1 -2
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +1 -2
- package/dataview/dataview.min.js +1 -1
- package/deferredcontent/deferredcontent.cjs.js +1 -2
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.d.ts +1 -1
- package/deferredcontent/deferredcontent.esm.js +1 -2
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +1 -2
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/dialog.cjs.js +54 -44
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +55 -45
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +54 -44
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.js +1 -2
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.d.ts +1 -1
- package/divider/divider.esm.js +1 -2
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +1 -2
- package/divider/divider.min.js +1 -1
- package/dock/dock.cjs.js +5 -2
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.d.ts +1 -1
- package/dock/dock.esm.js +5 -2
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +5 -2
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +67 -71
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +1 -1
- package/dropdown/dropdown.esm.js +67 -71
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +67 -71
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +4 -5
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.d.ts +1 -1
- package/editor/editor.esm.js +4 -5
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +4 -5
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +1 -2
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.d.ts +1 -1
- package/fieldset/fieldset.esm.js +1 -2
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +1 -2
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/fileupload.cjs.js +14 -9
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.d.ts +7 -6
- package/fileupload/fileupload.esm.js +14 -9
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +14 -9
- package/fileupload/fileupload.min.js +1 -1
- package/galleria/galleria.cjs.js +8 -7
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +8 -7
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +8 -7
- package/galleria/galleria.min.js +1 -1
- package/gmap/gmap.cjs.js +1 -2
- package/gmap/gmap.cjs.min.js +1 -1
- package/gmap/gmap.d.ts +2 -2
- package/gmap/gmap.esm.js +1 -2
- package/gmap/gmap.esm.min.js +1 -1
- package/gmap/gmap.js +1 -2
- package/gmap/gmap.min.js +1 -1
- package/image/image.cjs.js +3 -3
- package/image/image.cjs.min.js +1 -1
- package/image/image.d.ts +1 -1
- package/image/image.esm.js +4 -4
- package/image/image.esm.min.js +1 -1
- package/image/image.js +3 -3
- package/image/image.min.js +1 -1
- package/index.d.ts +105 -0
- package/inplace/inplace.cjs.js +4 -3
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.d.ts +1 -1
- package/inplace/inplace.esm.js +4 -3
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +5 -5
- package/inplace/inplace.min.js +1 -1
- package/inputmask/inputmask.cjs.js +4 -5
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.d.ts +1 -1
- package/inputmask/inputmask.esm.js +4 -5
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +4 -5
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +40 -40
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +41 -41
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +40 -40
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +16 -19
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.d.ts +1 -1
- package/inputswitch/inputswitch.esm.js +17 -20
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +16 -19
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +1 -2
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.d.ts +3 -6
- package/inputtext/inputtext.esm.js +1 -2
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +1 -2
- package/inputtext/inputtext.min.js +1 -1
- package/inputtextarea/inputtextarea.cjs.js +1 -2
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.d.ts +1 -4
- package/inputtextarea/inputtextarea.esm.js +1 -2
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +1 -2
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/keyfilter/keyfilter.cjs.js +3 -56
- package/keyfilter/keyfilter.cjs.min.js +1 -1
- package/keyfilter/keyfilter.esm.js +3 -56
- package/keyfilter/keyfilter.esm.min.js +1 -1
- package/keyfilter/keyfilter.js +5 -56
- package/keyfilter/keyfilter.min.js +1 -1
- package/knob/knob.cjs.js +2 -3
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.d.ts +2 -2
- package/knob/knob.esm.js +2 -3
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +2 -3
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +8 -14
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.d.ts +0 -1
- package/listbox/listbox.esm.js +8 -14
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +8 -14
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +5 -2
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.d.ts +1 -2
- package/megamenu/megamenu.esm.js +5 -2
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +5 -2
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +16 -21
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +16 -21
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +16 -21
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +5 -2
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +5 -2
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +5 -2
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +10 -2
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.d.ts +1 -1
- package/menubar/menubar.esm.js +10 -2
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +10 -2
- package/menubar/menubar.min.js +1 -1
- package/menuitem/menuitem.d.ts +1 -0
- package/message/message.cjs.js +18 -10
- package/message/message.cjs.min.js +1 -1
- package/message/message.d.ts +3 -1
- package/message/message.esm.js +19 -11
- package/message/message.esm.min.js +1 -1
- package/message/message.js +18 -10
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +52 -14
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.d.ts +3 -0
- package/messages/messages.esm.js +53 -15
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +53 -16
- package/messages/messages.min.js +1 -1
- package/multiselect/multiselect.cjs.js +66 -56
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +1 -1
- package/multiselect/multiselect.esm.js +67 -57
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +66 -56
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +7 -11
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.d.ts +1 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +8 -12
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +8 -12
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +1 -2
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.d.ts +1 -1
- package/orderlist/orderlist.esm.js +1 -2
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +1 -2
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +1 -2
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.d.ts +2 -2
- package/organizationchart/organizationchart.esm.js +1 -2
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +1 -2
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +6 -5
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +7 -6
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +6 -5
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +9 -5
- package/paginator/paginator.cjs.js +11 -15
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.d.ts +2 -2
- package/paginator/paginator.esm.js +12 -16
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +11 -15
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.js +1 -2
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.d.ts +1 -1
- package/panel/panel.esm.js +1 -2
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +1 -2
- package/panel/panel.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +9 -2
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.d.ts +1 -1
- package/panelmenu/panelmenu.esm.js +9 -2
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +9 -2
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/password.cjs.js +2 -3
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +7 -5
- package/password/password.esm.js +2 -3
- package/password/password.esm.min.js +1 -1
- package/password/password.js +2 -3
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +1 -2
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.d.ts +1 -1
- package/picklist/picklist.esm.js +1 -2
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +1 -2
- package/picklist/picklist.min.js +1 -1
- package/primereact.all.cjs.js +1689 -1383
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +1688 -1382
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +1689 -1383
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.js +1 -2
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.d.ts +1 -1
- package/progressbar/progressbar.esm.js +1 -2
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +1 -2
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/progressspinner.cjs.js +1 -2
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.d.ts +1 -1
- package/progressspinner/progressspinner.esm.js +1 -2
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +1 -2
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/radiobutton.cjs.js +17 -11
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +18 -12
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +17 -11
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +57 -17
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.d.ts +9 -2
- package/rating/rating.esm.js +58 -18
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +57 -17
- package/rating/rating.min.css +1 -1
- package/rating/rating.min.js +1 -1
- package/resources/primereact.css +694 -686
- package/resources/primereact.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +18 -11
- package/resources/themes/arya-green/theme.css +19 -10
- package/resources/themes/arya-orange/theme.css +18 -10
- package/resources/themes/arya-purple/theme.css +18 -10
- package/resources/themes/bootstrap4-dark-blue/theme.css +19 -11
- package/resources/themes/bootstrap4-dark-purple/theme.css +19 -11
- package/resources/themes/bootstrap4-light-blue/theme.css +19 -11
- package/resources/themes/bootstrap4-light-purple/theme.css +20 -11
- package/resources/themes/fluent-light/theme.css +19 -10
- package/resources/themes/lara-dark-blue/theme.css +18 -10
- package/resources/themes/lara-dark-indigo/theme.css +19 -10
- package/resources/themes/lara-dark-purple/theme.css +18 -10
- package/resources/themes/lara-dark-teal/theme.css +19 -10
- package/resources/themes/lara-light-blue/theme.css +18 -10
- package/resources/themes/lara-light-indigo/theme.css +18 -10
- package/resources/themes/lara-light-purple/theme.css +18 -10
- package/resources/themes/lara-light-teal/theme.css +18 -10
- package/resources/themes/luna-amber/theme.css +19 -12
- package/resources/themes/luna-blue/theme.css +19 -11
- package/resources/themes/luna-green/theme.css +19 -12
- package/resources/themes/luna-pink/theme.css +19 -11
- package/resources/themes/md-dark-deeppurple/theme.css +26 -18
- package/resources/themes/md-dark-indigo/theme.css +26 -19
- package/resources/themes/md-light-deeppurple/theme.css +26 -19
- package/resources/themes/md-light-indigo/theme.css +26 -19
- package/resources/themes/mdc-dark-deeppurple/theme.css +26 -19
- package/resources/themes/mdc-dark-indigo/theme.css +26 -18
- package/resources/themes/mdc-light-deeppurple/theme.css +26 -19
- package/resources/themes/mdc-light-indigo/theme.css +26 -18
- package/resources/themes/nova/theme.css +19 -11
- package/resources/themes/nova-accent/theme.css +18 -11
- package/resources/themes/nova-alt/theme.css +19 -11
- package/resources/themes/rhea/theme.css +18 -11
- package/resources/themes/saga-blue/theme.css +18 -10
- package/resources/themes/saga-green/theme.css +18 -11
- package/resources/themes/saga-orange/theme.css +18 -11
- package/resources/themes/saga-purple/theme.css +18 -11
- package/resources/themes/tailwind-light/theme.css +18 -10
- package/resources/themes/vela-blue/theme.css +18 -10
- package/resources/themes/vela-green/theme.css +18 -10
- package/resources/themes/vela-orange/theme.css +18 -10
- package/resources/themes/vela-purple/theme.css +18 -11
- package/ripple/ripple.d.ts +1 -1
- package/row/row.cjs.js +1 -2
- package/row/row.cjs.min.js +1 -1
- package/row/row.d.ts +1 -1
- package/row/row.esm.js +1 -2
- package/row/row.esm.min.js +1 -1
- package/row/row.js +1 -2
- package/row/row.min.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +5 -6
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.d.ts +1 -1
- package/scrollpanel/scrollpanel.esm.js +5 -6
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +5 -6
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +1 -2
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.d.ts +1 -1
- package/scrolltop/scrolltop.esm.js +1 -2
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +1 -2
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +1 -2
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.d.ts +1 -1
- package/selectbutton/selectbutton.esm.js +1 -2
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +1 -2
- package/selectbutton/selectbutton.min.js +1 -1
- package/selectitem/selectitem.d.ts +1 -1
- package/sidebar/sidebar.cjs.js +6 -5
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +1 -1
- package/sidebar/sidebar.esm.js +7 -6
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +6 -5
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +1 -2
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.d.ts +1 -1
- package/skeleton/skeleton.esm.js +1 -2
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +1 -2
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/slidemenu.cjs.js +5 -2
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.esm.js +5 -2
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +5 -2
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.js +5 -9
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.d.ts +2 -2
- package/slider/slider.esm.js +6 -10
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +5 -9
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +8 -3
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +8 -3
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +8 -3
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +9 -2
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +2 -1
- package/splitbutton/splitbutton.esm.js +9 -2
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +9 -2
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +1 -2
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.d.ts +2 -2
- package/splitter/splitter.esm.js +1 -2
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +1 -2
- package/splitter/splitter.min.js +1 -1
- package/steps/steps.cjs.js +5 -2
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +5 -2
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +5 -2
- package/steps/steps.min.js +1 -1
- package/styleclass/styleclass.d.ts +1 -1
- package/tabmenu/tabmenu.cjs.js +7 -3
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.d.ts +1 -1
- package/tabmenu/tabmenu.esm.js +7 -3
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +7 -3
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +43 -23
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.d.ts +6 -4
- package/tabview/tabview.esm.js +43 -23
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +44 -25
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +1 -2
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.d.ts +1 -1
- package/tag/tag.esm.js +1 -2
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +1 -2
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +1 -2
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +1 -2
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +1 -2
- package/terminal/terminal.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +7 -3
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +7 -3
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +7 -3
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.js +1 -2
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.d.ts +1 -1
- package/timeline/timeline.esm.js +1 -2
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +1 -2
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.js +266 -47
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +265 -46
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +266 -47
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +1 -2
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.d.ts +1 -1
- package/togglebutton/togglebutton.esm.js +1 -2
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +1 -2
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/toolbar.cjs.js +1 -2
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.d.ts +1 -1
- package/toolbar/toolbar.esm.js +1 -2
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +1 -2
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/tooltip.cjs.js +30 -18
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +30 -18
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +30 -18
- package/tooltip/tooltip.min.js +1 -1
- package/tooltip/tooltipoptions.d.ts +1 -1
- package/tree/tree.cjs.js +11 -9
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.d.ts +1 -1
- package/tree/tree.esm.js +11 -9
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +12 -11
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.cjs.js +21 -15
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +13 -3
- package/treeselect/treeselect.esm.js +21 -15
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +21 -15
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +21 -20
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +1 -1
- package/treetable/treetable.esm.js +22 -21
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +21 -20
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +7 -11
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.d.ts +2 -2
- package/tristatecheckbox/tristatecheckbox.esm.js +8 -12
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +8 -12
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +111 -63
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +13 -10
- package/utils/utils.esm.js +111 -63
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +111 -63
- package/utils/utils.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +3 -4
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +3 -4
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +3 -4
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +188 -36
- package/fullcalendar/fullcalendar.cjs.js +0 -132
- package/fullcalendar/fullcalendar.cjs.min.js +0 -1
- package/fullcalendar/fullcalendar.d.ts +0 -14
- package/fullcalendar/fullcalendar.esm.js +0 -108
- package/fullcalendar/fullcalendar.esm.min.js +0 -1
- package/fullcalendar/fullcalendar.js +0 -134
- package/fullcalendar/fullcalendar.min.js +0 -1
- package/fullcalendar/package.json +0 -6
package/calendar/calendar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
this.primereact = this.primereact || {};
|
|
2
|
-
this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks, inputtext, overlayservice,
|
|
2
|
+
this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks, inputtext, overlayservice, ripple, utils, csstransition, portal) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -41,7 +41,7 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
function _extends() {
|
|
44
|
-
_extends = Object.assign
|
|
44
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
45
45
|
for (var i = 1; i < arguments.length; i++) {
|
|
46
46
|
var source = arguments[i];
|
|
47
47
|
|
|
@@ -54,24 +54,17 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
54
54
|
|
|
55
55
|
return target;
|
|
56
56
|
};
|
|
57
|
-
|
|
58
57
|
return _extends.apply(this, arguments);
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
function _typeof(obj) {
|
|
62
61
|
"@babel/helpers - typeof";
|
|
63
62
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
_typeof = function _typeof(obj) {
|
|
70
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
return _typeof(obj);
|
|
63
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
64
|
+
return typeof obj;
|
|
65
|
+
} : function (obj) {
|
|
66
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
67
|
+
}, _typeof(obj);
|
|
75
68
|
}
|
|
76
69
|
|
|
77
70
|
function _arrayLikeToArray$1(arr, len) {
|
|
@@ -1754,8 +1747,8 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
1754
1747
|
}
|
|
1755
1748
|
|
|
1756
1749
|
return {
|
|
1757
|
-
|
|
1758
|
-
|
|
1750
|
+
month: m,
|
|
1751
|
+
year: y
|
|
1759
1752
|
};
|
|
1760
1753
|
};
|
|
1761
1754
|
|
|
@@ -1771,8 +1764,8 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
1771
1764
|
}
|
|
1772
1765
|
|
|
1773
1766
|
return {
|
|
1774
|
-
|
|
1775
|
-
|
|
1767
|
+
month: m,
|
|
1768
|
+
year: y
|
|
1776
1769
|
};
|
|
1777
1770
|
};
|
|
1778
1771
|
|
|
@@ -1916,7 +1909,7 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
1916
1909
|
if (props.minDate.getMonth() > month) {
|
|
1917
1910
|
validMin = false;
|
|
1918
1911
|
} else if (props.minDate.getMonth() === month) {
|
|
1919
|
-
if (props.minDate.getDate() > day) {
|
|
1912
|
+
if (day > 0 && props.minDate.getDate() > day) {
|
|
1920
1913
|
validMin = false;
|
|
1921
1914
|
}
|
|
1922
1915
|
}
|
|
@@ -1930,7 +1923,7 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
1930
1923
|
if (props.maxDate.getMonth() < month) {
|
|
1931
1924
|
validMax = false;
|
|
1932
1925
|
} else if (props.maxDate.getMonth() === month) {
|
|
1933
|
-
if (props.maxDate.getDate() < day) {
|
|
1926
|
+
if (day > 0 && props.maxDate.getDate() < day) {
|
|
1934
1927
|
validMax = false;
|
|
1935
1928
|
}
|
|
1936
1929
|
}
|
|
@@ -2205,7 +2198,7 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
2205
2198
|
if (date) {
|
|
2206
2199
|
for (iFormat = 0; iFormat < format.length; iFormat++) {
|
|
2207
2200
|
if (literal) {
|
|
2208
|
-
if (format.charAt(iFormat) === '
|
|
2201
|
+
if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
|
|
2209
2202
|
literal = false;
|
|
2210
2203
|
} else {
|
|
2211
2204
|
output += format.charAt(iFormat);
|
|
@@ -2244,9 +2237,9 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
2244
2237
|
output += date.getTime() * 10000 + ticksTo1970;
|
|
2245
2238
|
break;
|
|
2246
2239
|
|
|
2247
|
-
case '
|
|
2248
|
-
if (lookAhead('
|
|
2249
|
-
output += '
|
|
2240
|
+
case "'":
|
|
2241
|
+
if (lookAhead("'")) {
|
|
2242
|
+
output += "'";
|
|
2250
2243
|
} else {
|
|
2251
2244
|
literal = true;
|
|
2252
2245
|
}
|
|
@@ -2411,9 +2404,9 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
2411
2404
|
throw new Error('Invalid arguments');
|
|
2412
2405
|
}
|
|
2413
2406
|
|
|
2414
|
-
value = _typeof(value) ===
|
|
2407
|
+
value = _typeof(value) === 'object' ? value.toString() : value + '';
|
|
2415
2408
|
|
|
2416
|
-
if (value ===
|
|
2409
|
+
if (value === '') {
|
|
2417
2410
|
return null;
|
|
2418
2411
|
}
|
|
2419
2412
|
|
|
@@ -2421,7 +2414,7 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
2421
2414
|
dim,
|
|
2422
2415
|
extra,
|
|
2423
2416
|
iValue = 0,
|
|
2424
|
-
shortYearCutoff = typeof props.shortYearCutoff !==
|
|
2417
|
+
shortYearCutoff = typeof props.shortYearCutoff !== 'string' ? props.shortYearCutoff : new Date().getFullYear() % 100 + parseInt(props.shortYearCutoff, 10),
|
|
2425
2418
|
year = -1,
|
|
2426
2419
|
month = -1,
|
|
2427
2420
|
day = -1,
|
|
@@ -2439,9 +2432,9 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
2439
2432
|
},
|
|
2440
2433
|
getNumber = function getNumber(match) {
|
|
2441
2434
|
var isDoubled = lookAhead(match),
|
|
2442
|
-
size = match ===
|
|
2443
|
-
minSize = match ===
|
|
2444
|
-
digits = new RegExp(
|
|
2435
|
+
size = match === '@' ? 14 : match === '!' ? 20 : match === 'y' && isDoubled ? 4 : match === 'o' ? 3 : 2,
|
|
2436
|
+
minSize = match === 'y' ? size : 1,
|
|
2437
|
+
digits = new RegExp('^\\d{' + minSize + ',' + size + '}'),
|
|
2445
2438
|
num = value.substring(iValue).match(digits);
|
|
2446
2439
|
|
|
2447
2440
|
if (!num) {
|
|
@@ -2507,39 +2500,39 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
2507
2500
|
}
|
|
2508
2501
|
} else {
|
|
2509
2502
|
switch (format.charAt(iFormat)) {
|
|
2510
|
-
case
|
|
2511
|
-
day = getNumber(
|
|
2503
|
+
case 'd':
|
|
2504
|
+
day = getNumber('d');
|
|
2512
2505
|
break;
|
|
2513
2506
|
|
|
2514
|
-
case
|
|
2515
|
-
getName(
|
|
2507
|
+
case 'D':
|
|
2508
|
+
getName('D', dayNamesShort, dayNames);
|
|
2516
2509
|
break;
|
|
2517
2510
|
|
|
2518
|
-
case
|
|
2519
|
-
doy = getNumber(
|
|
2511
|
+
case 'o':
|
|
2512
|
+
doy = getNumber('o');
|
|
2520
2513
|
break;
|
|
2521
2514
|
|
|
2522
|
-
case
|
|
2523
|
-
month = getNumber(
|
|
2515
|
+
case 'm':
|
|
2516
|
+
month = getNumber('m');
|
|
2524
2517
|
break;
|
|
2525
2518
|
|
|
2526
|
-
case
|
|
2527
|
-
month = getName(
|
|
2519
|
+
case 'M':
|
|
2520
|
+
month = getName('M', monthNamesShort, monthNames);
|
|
2528
2521
|
break;
|
|
2529
2522
|
|
|
2530
|
-
case
|
|
2531
|
-
year = getNumber(
|
|
2523
|
+
case 'y':
|
|
2524
|
+
year = getNumber('y');
|
|
2532
2525
|
break;
|
|
2533
2526
|
|
|
2534
|
-
case
|
|
2535
|
-
date = new Date(getNumber(
|
|
2527
|
+
case '@':
|
|
2528
|
+
date = new Date(getNumber('@'));
|
|
2536
2529
|
year = date.getFullYear();
|
|
2537
2530
|
month = date.getMonth() + 1;
|
|
2538
2531
|
day = date.getDate();
|
|
2539
2532
|
break;
|
|
2540
2533
|
|
|
2541
|
-
case
|
|
2542
|
-
date = new Date((getNumber(
|
|
2534
|
+
case '!':
|
|
2535
|
+
date = new Date((getNumber('!') - ticksTo1970) / 10000);
|
|
2543
2536
|
year = date.getFullYear();
|
|
2544
2537
|
month = date.getMonth() + 1;
|
|
2545
2538
|
day = date.getDate();
|
|
@@ -2645,6 +2638,7 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
2645
2638
|
|
|
2646
2639
|
if (props.value) {
|
|
2647
2640
|
updateInputfield(props.value);
|
|
2641
|
+
setValue(props.value);
|
|
2648
2642
|
}
|
|
2649
2643
|
|
|
2650
2644
|
return function () {
|
|
@@ -2656,28 +2650,11 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
2656
2650
|
}, [props.view]);
|
|
2657
2651
|
hooks.useUpdateEffect(function () {
|
|
2658
2652
|
if (!props.onViewDateChange && !viewStateChanged.current) {
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
if (Array.isArray(propValue)) {
|
|
2662
|
-
propValue = propValue[0];
|
|
2663
|
-
}
|
|
2664
|
-
|
|
2665
|
-
var prevPropValue = previousValue;
|
|
2666
|
-
|
|
2667
|
-
if (Array.isArray(prevPropValue)) {
|
|
2668
|
-
prevPropValue = prevPropValue[0];
|
|
2669
|
-
}
|
|
2670
|
-
|
|
2671
|
-
if (!prevPropValue && propValue || propValue && propValue instanceof Date && propValue.getTime() !== prevPropValue.getTime()) {
|
|
2672
|
-
var viewDate = props.viewDate && isValidDate(props.viewDate) ? props.viewDate : propValue && isValidDate(propValue) ? propValue : new Date();
|
|
2673
|
-
validateDate(viewDate);
|
|
2674
|
-
setViewDateState(viewDate);
|
|
2675
|
-
viewStateChanged.current = true;
|
|
2676
|
-
}
|
|
2653
|
+
setValue(props.value);
|
|
2677
2654
|
}
|
|
2678
2655
|
}, [props.onViewDateChange, props.value]);
|
|
2679
2656
|
hooks.useUpdateEffect(function () {
|
|
2680
|
-
if (previousValue !== props.value && (!viewStateChanged || !visible)) {
|
|
2657
|
+
if (previousValue !== props.value && (!viewStateChanged.current || !visible)) {
|
|
2681
2658
|
updateInputfield(props.value);
|
|
2682
2659
|
}
|
|
2683
2660
|
}, [props.value, visible]);
|
|
@@ -2718,14 +2695,33 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
2718
2695
|
};
|
|
2719
2696
|
});
|
|
2720
2697
|
|
|
2698
|
+
var setValue = function setValue(propValue) {
|
|
2699
|
+
if (Array.isArray(propValue)) {
|
|
2700
|
+
propValue = propValue[0];
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
var prevPropValue = previousValue;
|
|
2704
|
+
|
|
2705
|
+
if (Array.isArray(prevPropValue)) {
|
|
2706
|
+
prevPropValue = prevPropValue[0];
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
if (!prevPropValue && propValue || propValue && propValue instanceof Date && propValue.getTime() !== prevPropValue.getTime()) {
|
|
2710
|
+
var viewDate = props.viewDate && isValidDate(props.viewDate) ? props.viewDate : propValue && isValidDate(propValue) ? propValue : new Date();
|
|
2711
|
+
validateDate(viewDate);
|
|
2712
|
+
setViewDateState(viewDate);
|
|
2713
|
+
viewStateChanged.current = true;
|
|
2714
|
+
}
|
|
2715
|
+
};
|
|
2716
|
+
|
|
2721
2717
|
var createBackwardNavigator = function createBackwardNavigator(isVisible) {
|
|
2722
2718
|
var navigatorProps = isVisible ? {
|
|
2723
|
-
|
|
2724
|
-
|
|
2719
|
+
onClick: onPrevButtonClick,
|
|
2720
|
+
onKeyDown: function onKeyDown(e) {
|
|
2725
2721
|
return onContainerButtonKeydown(e);
|
|
2726
2722
|
}
|
|
2727
2723
|
} : {
|
|
2728
|
-
|
|
2724
|
+
style: {
|
|
2729
2725
|
visibility: 'hidden'
|
|
2730
2726
|
}
|
|
2731
2727
|
};
|
|
@@ -2739,12 +2735,12 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
2739
2735
|
|
|
2740
2736
|
var createForwardNavigator = function createForwardNavigator(isVisible) {
|
|
2741
2737
|
var navigatorProps = isVisible ? {
|
|
2742
|
-
|
|
2743
|
-
|
|
2738
|
+
onClick: onNextButtonClick,
|
|
2739
|
+
onKeyDown: function onKeyDown(e) {
|
|
2744
2740
|
return onContainerButtonKeydown(e);
|
|
2745
2741
|
}
|
|
2746
2742
|
} : {
|
|
2747
|
-
|
|
2743
|
+
style: {
|
|
2748
2744
|
visibility: 'hidden'
|
|
2749
2745
|
}
|
|
2750
2746
|
};
|
|
@@ -3360,7 +3356,7 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
3360
3356
|
key: "month".concat(i + 1),
|
|
3361
3357
|
className: utils.classNames('p-monthpicker-month', {
|
|
3362
3358
|
'p-highlight': isMonthSelected(i),
|
|
3363
|
-
'p-disabled': !isSelectable(
|
|
3359
|
+
'p-disabled': !isSelectable(0, i, currentYear)
|
|
3364
3360
|
})
|
|
3365
3361
|
}, m);
|
|
3366
3362
|
}));
|
|
@@ -3430,89 +3426,89 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
3430
3426
|
Calendar.displayName = 'Calendar';
|
|
3431
3427
|
Calendar.defaultProps = {
|
|
3432
3428
|
__TYPE: 'Calendar',
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
visible: false,
|
|
3438
|
-
viewDate: null,
|
|
3439
|
-
style: null,
|
|
3429
|
+
appendTo: null,
|
|
3430
|
+
ariaLabelledBy: null,
|
|
3431
|
+
autoZIndex: true,
|
|
3432
|
+
baseZIndex: 0,
|
|
3440
3433
|
className: null,
|
|
3434
|
+
clearButtonClassName: 'p-button-secondary',
|
|
3435
|
+
dateFormat: null,
|
|
3436
|
+
dateTemplate: null,
|
|
3437
|
+
decadeTemplate: null,
|
|
3438
|
+
disabled: false,
|
|
3439
|
+
disabledDates: null,
|
|
3440
|
+
disabledDays: null,
|
|
3441
|
+
footerTemplate: null,
|
|
3442
|
+
headerTemplate: null,
|
|
3443
|
+
hideOnDateTimeSelect: false,
|
|
3444
|
+
hourFormat: '24',
|
|
3445
|
+
icon: 'pi pi-calendar',
|
|
3446
|
+
iconPos: 'right',
|
|
3447
|
+
id: null,
|
|
3441
3448
|
inline: false,
|
|
3442
|
-
selectionMode: 'single',
|
|
3443
|
-
inputId: null,
|
|
3444
|
-
inputStyle: null,
|
|
3445
3449
|
inputClassName: null,
|
|
3450
|
+
inputId: null,
|
|
3446
3451
|
inputMode: 'none',
|
|
3447
|
-
|
|
3448
|
-
|
|
3452
|
+
inputRef: null,
|
|
3453
|
+
inputStyle: null,
|
|
3449
3454
|
keepInvalid: false,
|
|
3455
|
+
locale: null,
|
|
3450
3456
|
mask: null,
|
|
3451
|
-
|
|
3452
|
-
|
|
3457
|
+
maxDate: null,
|
|
3458
|
+
maxDateCount: null,
|
|
3459
|
+
minDate: null,
|
|
3460
|
+
monthNavigator: false,
|
|
3461
|
+
monthNavigatorTemplate: null,
|
|
3462
|
+
name: null,
|
|
3463
|
+
numberOfMonths: 1,
|
|
3464
|
+
onBlur: null,
|
|
3465
|
+
onChange: null,
|
|
3466
|
+
onClearButtonClick: null,
|
|
3467
|
+
onFocus: null,
|
|
3468
|
+
onHide: null,
|
|
3469
|
+
onInput: null,
|
|
3470
|
+
onMonthChange: null,
|
|
3471
|
+
onSelect: null,
|
|
3472
|
+
onShow: null,
|
|
3473
|
+
onTodayButtonClick: null,
|
|
3474
|
+
onViewDateChange: null,
|
|
3475
|
+
onVisibleChange: null,
|
|
3476
|
+
panelClassName: null,
|
|
3477
|
+
panelStyle: null,
|
|
3453
3478
|
placeholder: null,
|
|
3479
|
+
readOnlyInput: false,
|
|
3480
|
+
required: false,
|
|
3481
|
+
selectOtherMonths: false,
|
|
3482
|
+
selectionMode: 'single',
|
|
3483
|
+
shortYearCutoff: '+10',
|
|
3484
|
+
showButtonBar: false,
|
|
3454
3485
|
showIcon: false,
|
|
3455
|
-
|
|
3456
|
-
|
|
3486
|
+
showMillisec: false,
|
|
3487
|
+
showMinMaxRange: false,
|
|
3457
3488
|
showOnFocus: true,
|
|
3458
|
-
|
|
3459
|
-
view: 'date',
|
|
3460
|
-
touchUI: false,
|
|
3461
|
-
showTime: false,
|
|
3462
|
-
timeOnly: false,
|
|
3489
|
+
showOtherMonths: true,
|
|
3463
3490
|
showSeconds: false,
|
|
3464
|
-
|
|
3465
|
-
|
|
3491
|
+
showTime: false,
|
|
3492
|
+
showWeek: false,
|
|
3466
3493
|
stepHour: 1,
|
|
3494
|
+
stepMillisec: 1,
|
|
3467
3495
|
stepMinute: 1,
|
|
3468
3496
|
stepSecond: 1,
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
showWeek: false,
|
|
3473
|
-
locale: null,
|
|
3474
|
-
dateFormat: null,
|
|
3475
|
-
panelStyle: null,
|
|
3476
|
-
panelClassName: null,
|
|
3477
|
-
monthNavigator: false,
|
|
3478
|
-
yearNavigator: false,
|
|
3479
|
-
yearRange: null,
|
|
3480
|
-
disabledDates: null,
|
|
3481
|
-
disabledDays: null,
|
|
3482
|
-
minDate: null,
|
|
3483
|
-
maxDate: null,
|
|
3484
|
-
maxDateCount: null,
|
|
3485
|
-
showMinMaxRange: false,
|
|
3486
|
-
showOtherMonths: true,
|
|
3487
|
-
selectOtherMonths: false,
|
|
3488
|
-
showButtonBar: false,
|
|
3497
|
+
style: null,
|
|
3498
|
+
tabIndex: null,
|
|
3499
|
+
timeOnly: false,
|
|
3489
3500
|
todayButtonClassName: 'p-button-secondary',
|
|
3490
|
-
clearButtonClassName: 'p-button-secondary',
|
|
3491
|
-
autoZIndex: true,
|
|
3492
|
-
baseZIndex: 0,
|
|
3493
|
-
appendTo: null,
|
|
3494
3501
|
tooltip: null,
|
|
3495
3502
|
tooltipOptions: null,
|
|
3496
|
-
|
|
3497
|
-
dateTemplate: null,
|
|
3498
|
-
decadeTemplate: null,
|
|
3499
|
-
headerTemplate: null,
|
|
3500
|
-
footerTemplate: null,
|
|
3501
|
-
monthNavigatorTemplate: null,
|
|
3502
|
-
yearNavigatorTemplate: null,
|
|
3503
|
+
touchUI: false,
|
|
3503
3504
|
transitionOptions: null,
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
onTodayButtonClick: null,
|
|
3512
|
-
onClearButtonClick: null,
|
|
3513
|
-
onShow: null,
|
|
3514
|
-
onHide: null,
|
|
3515
|
-
onMonthChange: null
|
|
3505
|
+
value: null,
|
|
3506
|
+
view: 'date',
|
|
3507
|
+
viewDate: null,
|
|
3508
|
+
visible: false,
|
|
3509
|
+
yearNavigator: false,
|
|
3510
|
+
yearNavigatorTemplate: null,
|
|
3511
|
+
yearRange: null
|
|
3516
3512
|
};
|
|
3517
3513
|
|
|
3518
3514
|
exports.Calendar = Calendar;
|
|
@@ -3521,4 +3517,4 @@ this.primereact.calendar = (function (exports, React, PrimeReact, button, hooks,
|
|
|
3521
3517
|
|
|
3522
3518
|
return exports;
|
|
3523
3519
|
|
|
3524
|
-
})({}, React, primereact.api, primereact.button, primereact.hooks, primereact.inputtext, primereact.overlayservice, primereact.
|
|
3520
|
+
})({}, React, primereact.api, primereact.button, primereact.hooks, primereact.inputtext, primereact.overlayservice, primereact.ripple, primereact.utils, primereact.csstransition, primereact.portal);
|