primereact 8.7.3 → 9.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.cjs.js +69 -50
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.d.ts +168 -25
- package/accordion/accordion.esm.js +70 -51
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +69 -50
- package/accordion/accordion.min.js +1 -1
- package/accordion/package.json +2 -1
- package/api/api.cjs.js +22 -20
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +11 -3
- package/api/api.esm.js +22 -20
- package/api/api.esm.min.js +1 -1
- package/api/api.js +22 -20
- package/api/api.min.js +1 -1
- package/api/package.json +2 -1
- package/autocomplete/autocomplete.cjs.js +98 -76
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +385 -80
- package/autocomplete/autocomplete.esm.js +99 -77
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +98 -76
- package/autocomplete/autocomplete.min.js +1 -1
- package/autocomplete/package.json +2 -1
- package/avatar/avatar.cjs.js +29 -22
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.d.ts +77 -15
- package/avatar/avatar.esm.js +29 -22
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +29 -22
- package/avatar/avatar.min.js +1 -1
- package/avatar/package.json +2 -1
- package/avatargroup/avatargroup.cjs.js +18 -7
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.d.ts +33 -1
- package/avatargroup/avatargroup.esm.js +18 -7
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +18 -7
- package/avatargroup/avatargroup.min.js +1 -1
- package/avatargroup/package.json +2 -1
- package/badge/badge.cjs.js +21 -10
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.d.ts +48 -8
- package/badge/badge.esm.js +21 -10
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +21 -10
- package/badge/badge.min.js +1 -1
- package/badge/package.json +2 -1
- package/blockui/blockui.cjs.js +30 -23
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.d.ts +71 -10
- package/blockui/blockui.esm.js +31 -24
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +30 -23
- package/blockui/blockui.min.js +1 -1
- package/blockui/package.json +2 -1
- package/breadcrumb/breadcrumb.cjs.js +21 -10
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.d.ts +41 -3
- package/breadcrumb/breadcrumb.esm.js +21 -10
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +21 -10
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/breadcrumb/package.json +2 -1
- package/button/button.cjs.js +27 -16
- package/button/button.cjs.min.js +1 -1
- package/button/button.d.ts +67 -15
- package/button/button.esm.js +27 -16
- package/button/button.esm.min.js +1 -1
- package/button/button.js +27 -16
- package/button/button.min.js +1 -1
- package/button/package.json +2 -1
- package/calendar/calendar.cjs.js +120 -100
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +585 -112
- package/calendar/calendar.esm.js +121 -101
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +120 -100
- package/calendar/calendar.min.js +1 -1
- package/calendar/package.json +2 -1
- package/card/card.cjs.js +23 -12
- package/card/card.cjs.min.js +1 -1
- package/card/card.d.ts +45 -7
- package/card/card.esm.js +23 -12
- package/card/card.esm.min.js +1 -1
- package/card/card.js +23 -12
- package/card/card.min.js +1 -1
- package/card/package.json +2 -1
- package/carousel/carousel.cjs.js +39 -32
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.d.ts +138 -22
- package/carousel/carousel.esm.js +40 -33
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +39 -32
- package/carousel/carousel.min.js +1 -1
- package/carousel/package.json +2 -1
- package/cascadeselect/cascadeselect.cjs.js +53 -40
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +177 -29
- package/cascadeselect/cascadeselect.esm.js +54 -41
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +53 -40
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/cascadeselect/package.json +2 -1
- package/chart/chart.cjs.js +25 -14
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.d.ts +88 -10
- package/chart/chart.esm.js +25 -14
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +25 -14
- package/chart/chart.min.js +1 -1
- package/chart/package.json +2 -1
- package/checkbox/checkbox.cjs.js +43 -32
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.d.ts +137 -33
- package/checkbox/checkbox.esm.js +43 -32
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +43 -32
- package/checkbox/checkbox.min.js +1 -1
- package/checkbox/package.json +2 -1
- package/chip/chip.cjs.js +29 -22
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.d.ts +75 -7
- package/chip/chip.esm.js +29 -22
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +29 -22
- package/chip/chip.min.js +1 -1
- package/chip/package.json +2 -1
- package/chips/chips.cjs.js +55 -45
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.d.ts +188 -36
- package/chips/chips.esm.js +55 -45
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +55 -45
- package/chips/chips.min.js +1 -1
- package/chips/package.json +2 -1
- package/colorpicker/colorpicker.cjs.js +45 -33
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.d.ts +148 -31
- package/colorpicker/colorpicker.esm.js +46 -34
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +45 -33
- package/colorpicker/colorpicker.min.js +1 -1
- package/colorpicker/package.json +2 -1
- package/column/column.cjs.js +0 -79
- package/column/column.cjs.min.js +1 -1
- package/column/column.d.ts +736 -134
- package/column/column.esm.js +0 -79
- package/column/column.esm.min.js +1 -1
- package/column/column.js +6 -85
- package/column/column.min.js +1 -1
- package/column/package.json +2 -1
- package/columngroup/columngroup.cjs.js +0 -3
- package/columngroup/columngroup.cjs.min.js +1 -1
- package/columngroup/columngroup.d.ts +30 -1
- package/columngroup/columngroup.esm.js +0 -3
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +6 -9
- package/columngroup/columngroup.min.js +1 -1
- package/columngroup/package.json +2 -1
- package/confirmdialog/confirmdialog.cjs.js +35 -28
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.d.ts +142 -18
- package/confirmdialog/confirmdialog.esm.js +36 -29
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +35 -28
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmdialog/package.json +2 -1
- package/confirmpopup/confirmpopup.cjs.js +44 -34
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.d.ts +165 -22
- package/confirmpopup/confirmpopup.esm.js +45 -35
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +44 -34
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/confirmpopup/package.json +2 -1
- package/contextmenu/contextmenu.cjs.js +33 -23
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.d.ts +80 -12
- package/contextmenu/contextmenu.esm.js +34 -24
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +33 -23
- package/contextmenu/contextmenu.min.js +1 -1
- package/contextmenu/package.json +2 -1
- package/core/core.js +1745 -1085
- package/core/core.min.js +18 -18
- package/csstransition/csstransition.cjs.js +15 -4
- package/csstransition/csstransition.cjs.min.js +1 -1
- package/csstransition/csstransition.d.ts +31 -1
- package/csstransition/csstransition.esm.js +15 -4
- package/csstransition/csstransition.esm.min.js +1 -1
- package/csstransition/csstransition.js +15 -4
- package/csstransition/csstransition.min.js +1 -1
- package/csstransition/package.json +2 -1
- package/datascroller/datascroller.cjs.js +33 -26
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.d.ts +102 -16
- package/datascroller/datascroller.esm.js +33 -26
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +33 -26
- package/datascroller/datascroller.min.js +1 -1
- package/datascroller/package.json +2 -1
- package/datatable/datatable.cjs.js +387 -233
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +1270 -227
- package/datatable/datatable.esm.js +388 -234
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +388 -234
- package/datatable/datatable.min.js +1 -1
- package/datatable/package.json +2 -1
- package/dataview/dataview.cjs.js +69 -52
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.d.ts +222 -43
- package/dataview/dataview.esm.js +69 -52
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +69 -52
- package/dataview/dataview.min.js +1 -1
- package/dataview/package.json +2 -1
- package/deferredcontent/deferredcontent.cjs.js +19 -12
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.d.ts +37 -1
- package/deferredcontent/deferredcontent.esm.js +19 -12
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +19 -12
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/deferredcontent/package.json +2 -1
- package/dialog/dialog.cjs.js +76 -75
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.d.ts +282 -51
- package/dialog/dialog.esm.js +77 -76
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +76 -75
- package/dialog/dialog.min.css +1 -1
- package/dialog/dialog.min.js +1 -1
- package/dialog/package.json +2 -1
- package/divider/divider.cjs.js +21 -10
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.d.ts +47 -10
- package/divider/divider.esm.js +21 -10
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +21 -10
- package/divider/divider.min.js +1 -1
- package/divider/package.json +2 -1
- package/dock/dock.cjs.js +26 -19
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.d.ts +68 -12
- package/dock/dock.esm.js +26 -19
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +26 -19
- package/dock/dock.min.js +1 -1
- package/dock/package.json +2 -1
- package/dropdown/dropdown.cjs.js +103 -80
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +337 -83
- package/dropdown/dropdown.esm.js +104 -81
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +103 -80
- package/dropdown/dropdown.min.js +1 -1
- package/dropdown/package.json +2 -1
- package/editor/editor.cjs.js +31 -20
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.d.ts +129 -12
- package/editor/editor.esm.js +32 -21
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +31 -20
- package/editor/editor.min.js +1 -1
- package/editor/package.json +2 -1
- package/fieldset/fieldset.cjs.js +29 -22
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.d.ts +85 -7
- package/fieldset/fieldset.esm.js +30 -23
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +29 -22
- package/fieldset/fieldset.min.js +1 -1
- package/fieldset/package.json +2 -1
- package/fileupload/fileupload.cjs.js +87 -76
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.d.ts +425 -62
- package/fileupload/fileupload.esm.js +87 -76
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +87 -76
- package/fileupload/fileupload.min.js +1 -1
- package/fileupload/package.json +2 -1
- package/galleria/galleria.cjs.js +51 -42
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.d.ts +198 -30
- package/galleria/galleria.esm.js +52 -43
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +51 -42
- package/galleria/galleria.min.js +1 -1
- package/galleria/package.json +2 -1
- package/hooks/hooks.cjs.js +578 -148
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.d.ts +194 -6
- package/hooks/hooks.esm.js +558 -135
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +869 -439
- package/hooks/hooks.min.js +1 -1
- package/hooks/package.json +2 -1
- package/image/image.cjs.js +32 -25
- package/image/image.cjs.min.js +1 -1
- package/image/image.d.ts +91 -11
- package/image/image.esm.js +33 -26
- package/image/image.esm.min.js +1 -1
- package/image/image.js +32 -25
- package/image/image.min.js +1 -1
- package/image/package.json +2 -1
- package/inplace/inplace.cjs.js +51 -37
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.d.ts +101 -9
- package/inplace/inplace.esm.js +51 -37
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +51 -37
- package/inplace/inplace.min.js +1 -1
- package/inplace/package.json +2 -1
- package/inputmask/inputmask.cjs.js +50 -46
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.d.ts +119 -27
- package/inputmask/inputmask.esm.js +51 -47
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +50 -46
- package/inputmask/inputmask.min.js +1 -1
- package/inputmask/package.json +2 -1
- package/inputnumber/inputnumber.cjs.js +78 -93
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.d.ts +265 -57
- package/inputnumber/inputnumber.esm.js +78 -93
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +78 -93
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputnumber/package.json +2 -1
- package/inputswitch/inputswitch.cjs.js +38 -28
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.d.ts +118 -27
- package/inputswitch/inputswitch.esm.js +38 -28
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +38 -28
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputswitch/package.json +2 -1
- package/inputtext/inputtext.cjs.js +23 -12
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.d.ts +57 -6
- package/inputtext/inputtext.esm.js +23 -12
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +23 -12
- package/inputtext/inputtext.min.js +1 -1
- package/inputtext/package.json +2 -1
- package/inputtextarea/inputtextarea.cjs.js +27 -16
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.d.ts +52 -6
- package/inputtextarea/inputtextarea.esm.js +27 -16
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +27 -16
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/inputtextarea/package.json +2 -1
- package/keyfilter/keyfilter.cjs.js +1 -3
- package/keyfilter/keyfilter.esm.js +1 -3
- package/keyfilter/keyfilter.js +1 -3
- package/keyfilter/keyfilteroptions.d.ts +15 -0
- package/keyfilter/package.json +2 -1
- package/knob/knob.cjs.js +36 -29
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.d.ts +127 -20
- package/knob/knob.esm.js +36 -29
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +36 -29
- package/knob/knob.min.js +1 -1
- package/knob/package.json +2 -1
- package/listbox/listbox.cjs.js +56 -46
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.d.ts +270 -48
- package/listbox/listbox.esm.js +56 -46
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +56 -46
- package/listbox/listbox.min.js +1 -1
- package/listbox/package.json +2 -1
- package/megamenu/megamenu.cjs.js +25 -18
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.d.ts +50 -11
- package/megamenu/megamenu.esm.js +26 -19
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +25 -18
- package/megamenu/megamenu.min.js +1 -1
- package/megamenu/package.json +2 -1
- package/mention/mention.cjs.js +74 -53
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.d.ts +186 -32
- package/mention/mention.esm.js +74 -53
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +74 -53
- package/mention/mention.min.js +1 -1
- package/mention/package.json +2 -1
- package/menu/menu.cjs.js +32 -23
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.d.ts +89 -12
- package/menu/menu.esm.js +33 -24
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +32 -23
- package/menu/menu.min.js +1 -1
- package/menu/package.json +2 -1
- package/menubar/menubar.cjs.js +24 -17
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.d.ts +53 -8
- package/menubar/menubar.esm.js +25 -18
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +24 -17
- package/menubar/menubar.min.js +1 -1
- package/menubar/package.json +2 -1
- package/menuitem/menuitem.d.ts +114 -19
- package/menuitem/package.json +2 -1
- package/message/message.cjs.js +23 -12
- package/message/message.cjs.min.js +1 -1
- package/message/message.d.ts +50 -11
- package/message/message.esm.js +23 -12
- package/message/message.esm.min.js +1 -1
- package/message/message.js +23 -12
- package/message/message.min.js +1 -1
- package/message/package.json +2 -1
- package/messages/messages.cjs.js +24 -17
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.d.ts +91 -11
- package/messages/messages.esm.js +25 -18
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +24 -17
- package/messages/messages.min.js +1 -1
- package/messages/package.json +2 -1
- package/multiselect/multiselect.cjs.js +127 -100
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +429 -82
- package/multiselect/multiselect.esm.js +127 -100
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +127 -100
- package/multiselect/multiselect.min.js +1 -1
- package/multiselect/package.json +2 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +42 -28
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.d.ts +161 -22
- package/multistatecheckbox/multistatecheckbox.esm.js +42 -28
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +42 -28
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/multistatecheckbox/package.json +2 -1
- package/orderlist/orderlist.cjs.js +37 -30
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.d.ts +113 -16
- package/orderlist/orderlist.esm.js +37 -30
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +38 -31
- package/orderlist/orderlist.min.js +1 -1
- package/orderlist/package.json +2 -1
- package/organizationchart/organizationchart.cjs.js +28 -21
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.d.ts +107 -16
- package/organizationchart/organizationchart.esm.js +29 -22
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +28 -21
- package/organizationchart/organizationchart.min.js +1 -1
- package/organizationchart/package.json +2 -1
- package/overlaypanel/overlaypanel.cjs.js +33 -23
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.d.ts +89 -15
- package/overlaypanel/overlaypanel.esm.js +34 -24
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +33 -23
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/overlaypanel/package.json +2 -1
- package/overlayservice/overlayservice.d.ts +52 -7
- package/overlayservice/package.json +2 -1
- package/package.json +2 -2
- package/paginator/package.json +2 -1
- package/paginator/paginator.cjs.js +184 -97
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.d.ts +409 -44
- package/paginator/paginator.esm.js +184 -97
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +184 -97
- package/paginator/paginator.min.js +1 -1
- package/panel/package.json +2 -1
- package/panel/panel.cjs.js +32 -25
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.d.ts +141 -15
- package/panel/panel.esm.js +32 -25
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +32 -25
- package/panel/panel.min.js +1 -1
- package/panelmenu/package.json +2 -1
- package/panelmenu/panelmenu.cjs.js +24 -17
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.d.ts +47 -5
- package/panelmenu/panelmenu.esm.js +25 -18
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +24 -17
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/package.json +2 -1
- package/password/password.cjs.js +53 -40
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +176 -36
- package/password/password.esm.js +53 -40
- package/password/password.esm.min.js +1 -1
- package/password/password.js +53 -40
- package/password/password.min.css +1 -1
- package/password/password.min.js +1 -1
- package/picklist/package.json +2 -1
- package/picklist/picklist.cjs.js +57 -50
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.d.ts +272 -46
- package/picklist/picklist.esm.js +58 -51
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +57 -50
- package/picklist/picklist.min.js +1 -1
- package/portal/package.json +2 -1
- package/portal/portal.cjs.js +22 -15
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +23 -16
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +22 -15
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +4739 -3228
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +4733 -3227
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +4739 -3228
- package/primereact.all.min.js +1 -1
- package/progressbar/package.json +2 -1
- package/progressbar/progressbar.cjs.js +26 -15
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.d.ts +60 -11
- package/progressbar/progressbar.esm.js +26 -15
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +26 -15
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/package.json +2 -1
- package/progressspinner/progressspinner.cjs.js +22 -11
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.d.ts +47 -4
- package/progressspinner/progressspinner.esm.js +22 -11
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +22 -11
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/package.json +2 -1
- package/radiobutton/radiobutton.cjs.js +37 -26
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.d.ts +99 -29
- package/radiobutton/radiobutton.esm.js +37 -26
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +37 -26
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/package.json +2 -1
- package/rating/rating.cjs.js +33 -22
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.d.ts +101 -24
- package/rating/rating.esm.js +33 -22
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +33 -22
- package/rating/rating.min.js +1 -1
- package/resources/primereact.css +517 -506
- package/resources/primereact.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +7 -9
- package/resources/themes/arya-green/theme.css +6 -10
- package/resources/themes/arya-orange/theme.css +6 -9
- package/resources/themes/arya-purple/theme.css +6 -9
- package/resources/themes/bootstrap4-dark-blue/theme.css +7 -10
- package/resources/themes/bootstrap4-dark-purple/theme.css +7 -10
- package/resources/themes/bootstrap4-light-blue/theme.css +7 -10
- package/resources/themes/bootstrap4-light-purple/theme.css +7 -11
- package/resources/themes/fluent-light/theme.css +7 -11
- package/resources/themes/lara-dark-blue/theme.css +6 -9
- package/resources/themes/lara-dark-indigo/theme.css +6 -10
- package/resources/themes/lara-dark-purple/theme.css +6 -9
- package/resources/themes/lara-dark-teal/theme.css +6 -10
- package/resources/themes/lara-light-blue/theme.css +6 -9
- package/resources/themes/lara-light-indigo/theme.css +6 -9
- package/resources/themes/lara-light-purple/theme.css +6 -9
- package/resources/themes/lara-light-teal/theme.css +6 -9
- package/resources/themes/luna-amber/theme.css +8 -10
- package/resources/themes/luna-blue/theme.css +7 -10
- package/resources/themes/luna-green/theme.css +8 -10
- package/resources/themes/luna-pink/theme.css +7 -10
- package/resources/themes/md-dark-deeppurple/theme.css +7 -10
- package/resources/themes/md-dark-indigo/theme.css +8 -10
- package/resources/themes/md-light-deeppurple/theme.css +8 -10
- package/resources/themes/md-light-indigo/theme.css +8 -10
- package/resources/themes/mdc-dark-deeppurple/theme.css +8 -10
- package/resources/themes/mdc-dark-indigo/theme.css +7 -10
- package/resources/themes/mdc-light-deeppurple/theme.css +8 -10
- package/resources/themes/mdc-light-indigo/theme.css +7 -10
- package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/mira/theme.css +6239 -0
- package/resources/themes/nano/theme.css +6011 -0
- package/resources/themes/nova/theme.css +7 -10
- package/resources/themes/nova-accent/theme.css +8 -10
- package/resources/themes/nova-alt/theme.css +7 -10
- package/resources/themes/rhea/theme.css +8 -10
- package/resources/themes/saga-blue/theme.css +7 -10
- package/resources/themes/saga-green/theme.css +8 -10
- package/resources/themes/saga-orange/theme.css +8 -10
- package/resources/themes/saga-purple/theme.css +8 -10
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/soho-dark/theme.css +6004 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/soho-light/theme.css +6058 -0
- package/resources/themes/vela-blue/theme.css +7 -10
- package/resources/themes/vela-green/theme.css +7 -10
- package/resources/themes/vela-orange/theme.css +7 -10
- package/resources/themes/vela-purple/theme.css +8 -10
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/viva-dark/theme.css +6166 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/viva-light/theme.css +6166 -0
- package/ripple/package.json +2 -1
- package/ripple/ripple.cjs.js +0 -3
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.d.ts +29 -1
- package/ripple/ripple.esm.js +0 -3
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +0 -3
- package/ripple/ripple.min.js +1 -1
- package/row/package.json +2 -1
- package/row/row.cjs.js +21 -7
- package/row/row.cjs.min.js +1 -1
- package/row/row.d.ts +37 -3
- package/row/row.esm.js +21 -7
- package/row/row.esm.min.js +1 -1
- package/row/row.js +21 -7
- package/row/row.min.js +1 -1
- package/scrollpanel/package.json +2 -1
- package/scrollpanel/scrollpanel.cjs.js +19 -8
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.d.ts +45 -1
- package/scrollpanel/scrollpanel.esm.js +19 -8
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +19 -8
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/package.json +2 -1
- package/scrolltop/scrolltop.cjs.js +27 -20
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.d.ts +70 -10
- package/scrolltop/scrolltop.esm.js +28 -21
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +27 -20
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/package.json +2 -1
- package/selectbutton/selectbutton.cjs.js +38 -28
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.d.ts +111 -32
- package/selectbutton/selectbutton.esm.js +39 -29
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +38 -28
- package/selectbutton/selectbutton.min.js +1 -1
- package/selectitem/package.json +2 -1
- package/selectitem/selectitem.d.ts +34 -0
- package/sidebar/package.json +2 -1
- package/sidebar/sidebar.cjs.js +51 -32
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +120 -22
- package/sidebar/sidebar.esm.js +52 -33
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +51 -32
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/package.json +2 -1
- package/skeleton/skeleton.cjs.js +24 -13
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.d.ts +61 -11
- package/skeleton/skeleton.esm.js +24 -13
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +24 -13
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/package.json +2 -1
- package/slidemenu/slidemenu.cjs.js +35 -28
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.d.ts +132 -18
- package/slidemenu/slidemenu.esm.js +36 -29
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +35 -28
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/package.json +2 -1
- package/slider/slider.cjs.js +31 -24
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.d.ts +101 -18
- package/slider/slider.esm.js +31 -24
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +31 -24
- package/slider/slider.min.js +1 -1
- package/speeddial/package.json +2 -1
- package/speeddial/speeddial.cjs.js +43 -36
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.d.ts +149 -20
- package/speeddial/speeddial.esm.js +44 -37
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +43 -36
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/package.json +2 -1
- package/splitbutton/splitbutton.cjs.js +46 -38
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +131 -23
- package/splitbutton/splitbutton.esm.js +47 -39
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +46 -38
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/package.json +2 -1
- package/splitter/splitter.cjs.js +53 -33
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.d.ts +98 -12
- package/splitter/splitter.esm.js +54 -34
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +53 -33
- package/splitter/splitter.min.js +1 -1
- package/steps/package.json +2 -1
- package/steps/steps.cjs.js +23 -12
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.d.ts +67 -6
- package/steps/steps.esm.js +23 -12
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +23 -12
- package/steps/steps.min.js +1 -1
- package/styleclass/package.json +2 -1
- package/styleclass/styleclass.cjs.js +27 -20
- package/styleclass/styleclass.cjs.min.js +1 -1
- package/styleclass/styleclass.d.ts +77 -12
- package/styleclass/styleclass.esm.js +28 -21
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +27 -20
- package/styleclass/styleclass.min.js +1 -1
- package/tabmenu/package.json +2 -1
- package/tabmenu/tabmenu.cjs.js +29 -20
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.d.ts +62 -5
- package/tabmenu/tabmenu.esm.js +29 -20
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +29 -20
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/package.json +2 -1
- package/tabview/tabview.cjs.js +80 -58
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.d.ts +213 -27
- package/tabview/tabview.esm.js +81 -59
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +80 -58
- package/tabview/tabview.min.js +1 -1
- package/tag/package.json +2 -1
- package/tag/tag.cjs.js +22 -11
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.d.ts +50 -6
- package/tag/tag.esm.js +22 -11
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +22 -11
- package/tag/tag.min.js +1 -1
- package/terminal/package.json +2 -1
- package/terminal/terminal.cjs.js +26 -16
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.d.ts +45 -3
- package/terminal/terminal.esm.js +27 -17
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +26 -16
- package/terminal/terminal.min.js +1 -1
- package/terminalservice/package.json +2 -1
- package/terminalservice/terminalservice.d.ts +42 -4
- package/tieredmenu/package.json +2 -1
- package/tieredmenu/tieredmenu.cjs.js +32 -23
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.d.ts +77 -12
- package/tieredmenu/tieredmenu.esm.js +33 -24
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +32 -23
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/package.json +2 -1
- package/timeline/timeline.cjs.js +25 -18
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.d.ts +62 -13
- package/timeline/timeline.esm.js +25 -18
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +25 -18
- package/timeline/timeline.min.js +1 -1
- package/toast/package.json +2 -1
- package/toast/toast.cjs.js +38 -26
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.d.ts +134 -27
- package/toast/toast.esm.js +40 -28
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +38 -26
- package/toast/toast.min.js +1 -1
- package/togglebutton/package.json +2 -1
- package/togglebutton/togglebutton.cjs.js +35 -21
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.d.ts +122 -15
- package/togglebutton/togglebutton.esm.js +36 -22
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +35 -21
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/package.json +2 -1
- package/toolbar/toolbar.cjs.js +33 -16
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.d.ts +55 -5
- package/toolbar/toolbar.esm.js +33 -16
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +33 -16
- package/toolbar/toolbar.min.css +1 -1
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/package.json +2 -1
- package/tooltip/tooltip.cjs.js +45 -38
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.d.ts +73 -9
- package/tooltip/tooltip.esm.js +46 -39
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +45 -38
- package/tooltip/tooltip.min.js +1 -1
- package/tooltip/tooltipoptions.d.ts +350 -31
- package/tree/package.json +2 -1
- package/tree/tree.cjs.js +61 -54
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.d.ts +435 -71
- package/tree/tree.esm.js +62 -55
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +61 -54
- package/tree/tree.min.js +1 -1
- package/treenode/package.json +2 -1
- package/treenode/treenode.d.ts +62 -13
- package/treeselect/package.json +2 -1
- package/treeselect/treeselect.cjs.js +69 -56
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +326 -77
- package/treeselect/treeselect.esm.js +70 -57
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +69 -56
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/package.json +2 -1
- package/treetable/treetable.cjs.js +290 -152
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +558 -112
- package/treetable/treetable.esm.js +291 -153
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +291 -153
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/package.json +2 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +31 -21
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.d.ts +72 -20
- package/tristatecheckbox/tristatecheckbox.esm.js +31 -21
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +31 -21
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/ts-helpers.d.ts +24 -0
- package/utils/package.json +2 -1
- package/utils/utils.cjs.js +84 -37
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +15 -1
- package/utils/utils.esm.js +84 -37
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +84 -37
- package/utils/utils.min.js +1 -1
- package/virtualscroller/package.json +2 -1
- package/virtualscroller/virtualscroller.cjs.js +44 -37
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.d.ts +351 -59
- package/virtualscroller/virtualscroller.esm.js +45 -38
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +44 -37
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +30 -6
- package/captcha/captcha.cjs.js +0 -141
- package/captcha/captcha.cjs.min.js +0 -1
- package/captcha/captcha.d.ts +0 -18
- package/captcha/captcha.esm.js +0 -117
- package/captcha/captcha.esm.min.js +0 -1
- package/captcha/captcha.js +0 -143
- package/captcha/captcha.min.js +0 -1
- package/captcha/package.json +0 -6
- package/gmap/gmap.cjs.js +0 -186
- package/gmap/gmap.cjs.min.js +0 -1
- package/gmap/gmap.d.ts +0 -26
- package/gmap/gmap.esm.js +0 -162
- package/gmap/gmap.esm.min.js +0 -1
- package/gmap/gmap.js +0 -188
- package/gmap/gmap.min.js +0 -1
- package/gmap/package.json +0 -6
package/steps/steps.d.ts
CHANGED
|
@@ -1,20 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Steps also known as Stepper, is an indicator for the steps in a workflow. Layout of steps component is optimized for responsive design.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primefaces.org/primereact/steps/)
|
|
6
|
+
*
|
|
7
|
+
* @module steps
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import * as React from 'react';
|
|
2
11
|
import { MenuItem } from '../menuitem';
|
|
3
12
|
|
|
4
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Custom select event
|
|
15
|
+
* @see {@link StepsProps.onSelect}
|
|
16
|
+
* @event
|
|
17
|
+
*/
|
|
18
|
+
interface StepsSelectEvent {
|
|
19
|
+
/**
|
|
20
|
+
* Browser event
|
|
21
|
+
*/
|
|
5
22
|
originalEvent: React.SyntheticEvent;
|
|
23
|
+
/**
|
|
24
|
+
* Selected item instance
|
|
25
|
+
*/
|
|
6
26
|
item: MenuItem;
|
|
27
|
+
/**
|
|
28
|
+
* Index of selected item instance
|
|
29
|
+
*/
|
|
7
30
|
index: number;
|
|
8
31
|
}
|
|
9
32
|
|
|
33
|
+
/**
|
|
34
|
+
* Defines valid properties in Steps component. In addition to these, all properties of HTMLDivElement can be used in this component.
|
|
35
|
+
* @group Properties
|
|
36
|
+
*/
|
|
10
37
|
export interface StepsProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'onSelect' | 'ref'> {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
38
|
+
/**
|
|
39
|
+
* An array of menuitems.
|
|
40
|
+
*/
|
|
41
|
+
model: MenuItem[] | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Index of the active item.
|
|
44
|
+
* @defaultValue 0
|
|
45
|
+
*/
|
|
46
|
+
activeIndex?: number | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Whether the items are clickable or not.
|
|
49
|
+
* @defaultValue true
|
|
50
|
+
*/
|
|
51
|
+
readOnly?: boolean | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Callback to invoke when the new step is selected.
|
|
54
|
+
* @param {StepsSelectEvent} event - Custom select event
|
|
55
|
+
*/
|
|
56
|
+
onSelect?(event: StepsSelectEvent): void;
|
|
57
|
+
/**
|
|
58
|
+
* Used to get the child elements of the component.
|
|
59
|
+
* @readonly
|
|
60
|
+
*/
|
|
61
|
+
children?: React.ReactNode | undefined;
|
|
16
62
|
}
|
|
17
63
|
|
|
64
|
+
/**
|
|
65
|
+
* **PrimeReact - Steps**
|
|
66
|
+
*
|
|
67
|
+
* _Steps also known as Stepper, is an indicator for the steps in a workflow. Layout of steps component is optimized for responsive design._
|
|
68
|
+
*
|
|
69
|
+
* [Live Demo](https://www.primefaces.org/primereact/steps/)
|
|
70
|
+
* --- ---
|
|
71
|
+
* 
|
|
72
|
+
*
|
|
73
|
+
* @group Component
|
|
74
|
+
*/
|
|
18
75
|
export declare class Steps extends React.Component<StepsProps, any> {
|
|
76
|
+
/**
|
|
77
|
+
* Used to get container element.
|
|
78
|
+
* @return {HTMLDivElement} Container element
|
|
79
|
+
*/
|
|
19
80
|
public getElement(): HTMLDivElement;
|
|
20
81
|
}
|
package/steps/steps.esm.js
CHANGED
|
@@ -16,7 +16,28 @@ function _extends() {
|
|
|
16
16
|
return _extends.apply(this, arguments);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var StepsBase = {
|
|
20
|
+
defaultProps: {
|
|
21
|
+
__TYPE: 'Steps',
|
|
22
|
+
id: null,
|
|
23
|
+
model: null,
|
|
24
|
+
activeIndex: 0,
|
|
25
|
+
readOnly: true,
|
|
26
|
+
style: null,
|
|
27
|
+
className: null,
|
|
28
|
+
onSelect: null,
|
|
29
|
+
children: undefined
|
|
30
|
+
},
|
|
31
|
+
getProps: function getProps(props) {
|
|
32
|
+
return ObjectUtils.getMergedProps(props, StepsBase.defaultProps);
|
|
33
|
+
},
|
|
34
|
+
getOtherProps: function getOtherProps(props) {
|
|
35
|
+
return ObjectUtils.getDiffProps(props, StepsBase.defaultProps);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
var Steps = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
40
|
+
var props = StepsBase.getProps(inProps);
|
|
20
41
|
var elementRef = React.useRef(null);
|
|
21
42
|
var itemClick = function itemClick(event, item, index) {
|
|
22
43
|
if (props.readOnly || item.disabled) {
|
|
@@ -118,7 +139,7 @@ var Steps = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (pro
|
|
|
118
139
|
}
|
|
119
140
|
};
|
|
120
141
|
});
|
|
121
|
-
var otherProps =
|
|
142
|
+
var otherProps = StepsBase.getOtherProps(props);
|
|
122
143
|
var className = classNames('p-steps p-component', {
|
|
123
144
|
'p-readonly': props.readOnly
|
|
124
145
|
}, props.className);
|
|
@@ -131,15 +152,5 @@ var Steps = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (pro
|
|
|
131
152
|
}, otherProps), items);
|
|
132
153
|
}));
|
|
133
154
|
Steps.displayName = 'Steps';
|
|
134
|
-
Steps.defaultProps = {
|
|
135
|
-
__TYPE: 'Steps',
|
|
136
|
-
id: null,
|
|
137
|
-
model: null,
|
|
138
|
-
activeIndex: 0,
|
|
139
|
-
readOnly: true,
|
|
140
|
-
style: null,
|
|
141
|
-
className: null,
|
|
142
|
-
onSelect: null
|
|
143
|
-
};
|
|
144
155
|
|
|
145
156
|
export { Steps };
|
package/steps/steps.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";import{ObjectUtils as t,classNames as n,IconUtils as l}from"primereact/utils";function
|
|
1
|
+
import*as e from"react";import{ObjectUtils as t,classNames as n,IconUtils as l}from"primereact/utils";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e},r.apply(this,arguments)}var a={defaultProps:{__TYPE:"Steps",id:null,model:null,activeIndex:0,readOnly:!0,style:null,className:null,onSelect:null,children:void 0},getProps:function(e){return t.getMergedProps(e,a.defaultProps)},getOtherProps:function(e){return t.getDiffProps(e,a.defaultProps)}},s=e.memo(e.forwardRef((function(s,i){var o=a.getProps(s),p=e.useRef(null),c=function(e,t,n){o.readOnly||t.disabled?e.preventDefault():(o.onSelect&&o.onSelect({originalEvent:e,item:t,index:n}),t.url||e.preventDefault(),t.command&&t.command({originalEvent:e,item:t,index:n}))},m=function(r,a){if(!1===r.visible)return null;var s=r.label+"_"+a,i=a===o.activeIndex,p=r.disabled||a!==o.activeIndex&&o.readOnly,m=p?-1:"",u=n("p-steps-item",r.className,{"p-highlight p-steps-current":i,"p-disabled":p}),d=n("p-menuitem-icon",r.icon),f=l.getJSXIcon(r.icon,{className:"p-menuitem-icon"},{props:o}),b=r.label&&e.createElement("span",{className:"p-steps-title"},r.label),v=e.createElement("a",{href:r.url||"#",className:"p-menuitem-link",role:"presentation",target:r.target,onClick:function(e){return c(e,r,a)},tabIndex:m},e.createElement("span",{className:"p-steps-number"},a+1),f,b);r.template&&(v=t.getJSXElement(r.template,r,{onClick:function(e){return c(e,r,a)},className:"p-menuitem-link",labelClassName:"p-steps-title",numberClassName:"p-steps-number",iconClassName:d,element:v,props:o,tabIndex:m,active:i,disabled:p}));return e.createElement("li",{key:s,id:r.id,className:u,style:r.style,role:"tab","aria-selected":i,"aria-expanded":i},v)};e.useImperativeHandle(i,(function(){return{props:o,getElement:function(){return p.current}}}));var u=a.getOtherProps(o),d=n("p-steps p-component",{"p-readonly":o.readOnly},o.className),f=function(){if(o.model){var t=o.model.map(m);return e.createElement("ul",{role:"tablist"},t)}return null}();return e.createElement("div",r({id:o.id,ref:p,className:d,style:o.style},u),f)})));s.displayName="Steps";export{s as Steps};
|
package/steps/steps.js
CHANGED
|
@@ -37,7 +37,28 @@ this.primereact.steps = (function (exports, React, utils) {
|
|
|
37
37
|
return _extends.apply(this, arguments);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var StepsBase = {
|
|
41
|
+
defaultProps: {
|
|
42
|
+
__TYPE: 'Steps',
|
|
43
|
+
id: null,
|
|
44
|
+
model: null,
|
|
45
|
+
activeIndex: 0,
|
|
46
|
+
readOnly: true,
|
|
47
|
+
style: null,
|
|
48
|
+
className: null,
|
|
49
|
+
onSelect: null,
|
|
50
|
+
children: undefined
|
|
51
|
+
},
|
|
52
|
+
getProps: function getProps(props) {
|
|
53
|
+
return utils.ObjectUtils.getMergedProps(props, StepsBase.defaultProps);
|
|
54
|
+
},
|
|
55
|
+
getOtherProps: function getOtherProps(props) {
|
|
56
|
+
return utils.ObjectUtils.getDiffProps(props, StepsBase.defaultProps);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
var Steps = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
61
|
+
var props = StepsBase.getProps(inProps);
|
|
41
62
|
var elementRef = React__namespace.useRef(null);
|
|
42
63
|
var itemClick = function itemClick(event, item, index) {
|
|
43
64
|
if (props.readOnly || item.disabled) {
|
|
@@ -139,7 +160,7 @@ this.primereact.steps = (function (exports, React, utils) {
|
|
|
139
160
|
}
|
|
140
161
|
};
|
|
141
162
|
});
|
|
142
|
-
var otherProps =
|
|
163
|
+
var otherProps = StepsBase.getOtherProps(props);
|
|
143
164
|
var className = utils.classNames('p-steps p-component', {
|
|
144
165
|
'p-readonly': props.readOnly
|
|
145
166
|
}, props.className);
|
|
@@ -152,16 +173,6 @@ this.primereact.steps = (function (exports, React, utils) {
|
|
|
152
173
|
}, otherProps), items);
|
|
153
174
|
}));
|
|
154
175
|
Steps.displayName = 'Steps';
|
|
155
|
-
Steps.defaultProps = {
|
|
156
|
-
__TYPE: 'Steps',
|
|
157
|
-
id: null,
|
|
158
|
-
model: null,
|
|
159
|
-
activeIndex: 0,
|
|
160
|
-
readOnly: true,
|
|
161
|
-
style: null,
|
|
162
|
-
className: null,
|
|
163
|
-
onSelect: null
|
|
164
|
-
};
|
|
165
176
|
|
|
166
177
|
exports.Steps = Steps;
|
|
167
178
|
|
package/steps/steps.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primereact=this.primereact||{},this.primereact.steps=function(e,t,n){"use strict";function
|
|
1
|
+
this.primereact=this.primereact||{},this.primereact.steps=function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var l=r(t);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s={defaultProps:{__TYPE:"Steps",id:null,model:null,activeIndex:0,readOnly:!0,style:null,className:null,onSelect:null,children:void 0},getProps:function(e){return n.ObjectUtils.getMergedProps(e,s.defaultProps)},getOtherProps:function(e){return n.ObjectUtils.getDiffProps(e,s.defaultProps)}},i=l.memo(l.forwardRef((function(e,t){var r=s.getProps(e),i=l.useRef(null),c=function(e,t,n){r.readOnly||t.disabled?e.preventDefault():(r.onSelect&&r.onSelect({originalEvent:e,item:t,index:n}),t.url||e.preventDefault(),t.command&&t.command({originalEvent:e,item:t,index:n}))},o=function(e,t){if(!1===e.visible)return null;var a=e.label+"_"+t,s=t===r.activeIndex,i=e.disabled||t!==r.activeIndex&&r.readOnly,o=i?-1:"",u=n.classNames("p-steps-item",e.className,{"p-highlight p-steps-current":s,"p-disabled":i}),p=n.classNames("p-menuitem-icon",e.icon),m=n.IconUtils.getJSXIcon(e.icon,{className:"p-menuitem-icon"},{props:r}),d=e.label&&l.createElement("span",{className:"p-steps-title"},e.label),f=l.createElement("a",{href:e.url||"#",className:"p-menuitem-link",role:"presentation",target:e.target,onClick:function(n){return c(n,e,t)},tabIndex:o},l.createElement("span",{className:"p-steps-number"},t+1),m,d);e.template&&(f=n.ObjectUtils.getJSXElement(e.template,e,{onClick:function(n){return c(n,e,t)},className:"p-menuitem-link",labelClassName:"p-steps-title",numberClassName:"p-steps-number",iconClassName:p,element:f,props:r,tabIndex:o,active:s,disabled:i}));return l.createElement("li",{key:a,id:e.id,className:u,style:e.style,role:"tab","aria-selected":s,"aria-expanded":s},f)};l.useImperativeHandle(t,(function(){return{props:r,getElement:function(){return i.current}}}));var u=s.getOtherProps(r),p=n.classNames("p-steps p-component",{"p-readonly":r.readOnly},r.className),m=function(){if(r.model){var e=r.model.map(o);return l.createElement("ul",{role:"tablist"},e)}return null}();return l.createElement("div",a({id:r.id,ref:i,className:p,style:r.style},u),m)})));return i.displayName="Steps",e.Steps=i,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.utils);
|
package/styleclass/package.json
CHANGED
|
@@ -44,9 +44,7 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
44
44
|
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
45
45
|
if (Object(_i) !== _i) return;
|
|
46
46
|
_n = !1;
|
|
47
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0)
|
|
48
|
-
;
|
|
49
|
-
}
|
|
47
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
50
48
|
} catch (err) {
|
|
51
49
|
_d = !0, _e = err;
|
|
52
50
|
} finally {
|
|
@@ -62,9 +60,7 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
62
60
|
|
|
63
61
|
function _arrayLikeToArray(arr, len) {
|
|
64
62
|
if (len == null || len > arr.length) len = arr.length;
|
|
65
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
66
|
-
arr2[i] = arr[i];
|
|
67
|
-
}
|
|
63
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
68
64
|
return arr2;
|
|
69
65
|
}
|
|
70
66
|
|
|
@@ -85,7 +81,31 @@ function _slicedToArray(arr, i) {
|
|
|
85
81
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
86
82
|
}
|
|
87
83
|
|
|
88
|
-
var
|
|
84
|
+
var StyleClassBase = {
|
|
85
|
+
defaultProps: {
|
|
86
|
+
__TYPE: 'StyleClass',
|
|
87
|
+
nodeRef: null,
|
|
88
|
+
selector: null,
|
|
89
|
+
enterClassName: null,
|
|
90
|
+
enterActiveClassName: null,
|
|
91
|
+
enterToClassName: null,
|
|
92
|
+
leaveClassName: null,
|
|
93
|
+
leaveActiveClassName: null,
|
|
94
|
+
leaveToClassName: null,
|
|
95
|
+
hideOnOutsideClick: false,
|
|
96
|
+
toggleClassName: null,
|
|
97
|
+
children: undefined
|
|
98
|
+
},
|
|
99
|
+
getProps: function getProps(props) {
|
|
100
|
+
return utils.ObjectUtils.getMergedProps(props, StyleClassBase.defaultProps);
|
|
101
|
+
},
|
|
102
|
+
getOtherProps: function getOtherProps(props) {
|
|
103
|
+
return utils.ObjectUtils.getDiffProps(props, StyleClassBase.defaultProps);
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
var StyleClass = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
108
|
+
var props = StyleClassBase.getProps(inProps);
|
|
89
109
|
var targetRef = React__namespace.useRef(null);
|
|
90
110
|
var animating = React__namespace.useRef(false);
|
|
91
111
|
var elementRef = React__namespace.useRef(null);
|
|
@@ -263,18 +283,5 @@ var StyleClass = /*#__PURE__*/React__namespace.forwardRef(function (props, ref)
|
|
|
263
283
|
return props.children;
|
|
264
284
|
});
|
|
265
285
|
StyleClass.displayName = 'StyleClass';
|
|
266
|
-
StyleClass.defaultProps = {
|
|
267
|
-
__TYPE: 'StyleClass',
|
|
268
|
-
nodeRef: null,
|
|
269
|
-
selector: null,
|
|
270
|
-
enterClassName: null,
|
|
271
|
-
enterActiveClassName: null,
|
|
272
|
-
enterToClassName: null,
|
|
273
|
-
leaveClassName: null,
|
|
274
|
-
leaveActiveClassName: null,
|
|
275
|
-
leaveToClassName: null,
|
|
276
|
-
hideOnOutsideClick: false,
|
|
277
|
-
toggleClassName: null
|
|
278
|
-
};
|
|
279
286
|
|
|
280
287
|
exports.StyleClass = StyleClass;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("primereact/hooks"),t=require("primereact/utils");function n(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var a=n(e);function l(e){if(Array.isArray(e))return e}function s(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,a,l,s,u=[],c=!0,o=!1;try{if(l=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;c=!1}else for(;!(c=(n=l.call(t)).done)&&(u.push(n.value),u.length!==r);c=!0);}catch(e){o=!0,a=e}finally{try{if(!c&&null!=t.return&&(s=t.return(),Object(s)!==s))return}finally{if(o)throw a}}return u}}function u(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function c(e,r){if(e){if("string"==typeof e)return u(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,r):void 0}}function o(){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 i(e,r){return l(e)||s(e,r)||c(e,r)||o()}var m=a.forwardRef((function(e,n){var l=a.useRef(null),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("primereact/hooks"),t=require("primereact/utils");function n(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var a=n(e);function l(e){if(Array.isArray(e))return e}function s(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,a,l,s,u=[],c=!0,o=!1;try{if(l=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;c=!1}else for(;!(c=(n=l.call(t)).done)&&(u.push(n.value),u.length!==r);c=!0);}catch(e){o=!0,a=e}finally{try{if(!c&&null!=t.return&&(s=t.return(),Object(s)!==s))return}finally{if(o)throw a}}return u}}function u(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function c(e,r){if(e){if("string"==typeof e)return u(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,r):void 0}}function o(){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 i(e,r){return l(e)||s(e,r)||c(e,r)||o()}var m={defaultProps:{__TYPE:"StyleClass",nodeRef:null,selector:null,enterClassName:null,enterActiveClassName:null,enterToClassName:null,leaveClassName:null,leaveActiveClassName:null,leaveToClassName:null,hideOnOutsideClick:!1,toggleClassName:null,children:void 0},getProps:function(e){return t.ObjectUtils.getMergedProps(e,m.defaultProps)},getOtherProps:function(e){return t.ObjectUtils.getDiffProps(e,m.defaultProps)}},d=a.forwardRef((function(e,n){var l=m.getProps(e),s=a.useRef(null),u=a.useRef(!1),c=a.useRef(null),o=i(r.useEventListener({type:"animationend",listener:function(){t.DomHandler.removeClass(s.current,l.enterActiveClassName),l.enterToClassName&&t.DomHandler.addClass(s.current,l.enterToClassName),f(),"slidedown"===l.enterActiveClassName&&(s.current.style.maxHeight=""),u.current=!1}}),2),d=o[0],f=o[1],C=i(r.useEventListener({type:"animationend",listener:function(){t.DomHandler.removeClass(s.current,l.leaveActiveClassName),l.leaveToClassName&&t.DomHandler.addClass(s.current,l.leaveToClassName),g(),u.current=!1}}),2),v=C[0],g=C[1],p=i(r.useEventListener({type:"click",listener:function(e){j(s.current)&&"static"!==getComputedStyle(s.current).getPropertyValue("position")?P(e)&&O():y()},when:l.hideOnOutsideClick}),2),N=p[0],y=p[1],h=i(r.useEventListener({type:"click",listener:function(){s.current=E(),l.toggleClassName?t.DomHandler.hasClass(s.current,l.toggleClassName)?t.DomHandler.removeClass(s.current,l.toggleClassName):t.DomHandler.addClass(s.current,l.toggleClassName):t.DomHandler.isVisible(s.current)?O():D()}}),2),b=h[0],H=h[1],D=function(){l.enterActiveClassName?u.current||(u.current=!0,"slidedown"===l.enterActiveClassName&&(s.current.style.height="0px",t.DomHandler.removeClass(s.current,"hidden"),s.current.style.maxHeight=s.current.scrollHeight+"px",t.DomHandler.addClass(s.current,"hidden"),s.current.style.height=""),t.DomHandler.addClass(s.current,l.enterActiveClassName),l.enterClassName&&t.DomHandler.removeClass(s.current,l.enterClassName),d({target:s.current})):(l.enterClassName&&t.DomHandler.removeClass(s.current,l.enterClassName),l.enterToClassName&&t.DomHandler.addClass(s.current,l.enterToClassName)),N({target:c.current&&c.current.ownerDocument})},O=function(){l.leaveActiveClassName?u.current||(u.current=!0,t.DomHandler.addClass(s.current,l.leaveActiveClassName),l.leaveClassName&&t.DomHandler.removeClass(s.current,l.leaveClassName),v({target:s.current})):(l.leaveClassName&&t.DomHandler.removeClass(s.current,l.leaveClassName),l.leaveToClassName&&t.DomHandler.addClass(s.current,l.leaveToClassName)),l.hideOnOutsideClick&&y()},E=function(){if(s.current)return s.current;switch(l.selector){case"@next":return c.current.nextElementSibling;case"@prev":return c.current.previousElementSibling;case"@parent":return c.current.parentElement;case"@grandparent":return c.current.parentElement.parentElement;default:return document.querySelector(l.selector)}},A=function(){c.current=t.ObjectUtils.getRefElement(l.nodeRef),b({target:c.current})},j=function(e){return null!==e.offsetParent},P=function(e){return!c.current.isSameNode(e.target)&&!c.current.contains(e.target)&&!s.current.contains(e.target)};return a.useImperativeHandle(n,(function(){return{props:l,getElement:function(){return c.current},getTarget:function(){return s.current}}})),r.useMountEffect((function(){A()})),r.useUpdateEffect((function(){return A(),function(){H()}})),r.useUnmountEffect((function(){H(),y(),s.current=null})),l.children}));d.displayName="StyleClass",exports.StyleClass=d;
|
|
@@ -1,22 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* StyleClass manages css classes declaratively to during enter/leave animations or just to toggle classes on an element.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primefaces.org/primereact/styleclass)
|
|
6
|
+
*
|
|
7
|
+
* @module styleclass
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import * as React from 'react';
|
|
2
11
|
|
|
3
|
-
|
|
4
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Defines valid properties in StyleClass component.
|
|
14
|
+
* @group Properties
|
|
15
|
+
*/
|
|
5
16
|
export interface StyleClassProps {
|
|
17
|
+
/**
|
|
18
|
+
* A React reference to DOM element that need to specify. Required.
|
|
19
|
+
*/
|
|
6
20
|
nodeRef: React.MutableRefObject<React.ReactNode>;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Selector to define the target element.
|
|
23
|
+
*/
|
|
24
|
+
selector?: '@next' | '@prev' | '@parent' | '@grandparent' | string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Style class to add when item begins to get displayed.
|
|
27
|
+
*/
|
|
28
|
+
enterClassName?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Style class to add during enter animation.
|
|
31
|
+
*/
|
|
32
|
+
enterActiveClassName?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Style class to add when item begins to get displayed.
|
|
35
|
+
*/
|
|
36
|
+
enterToClassName?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Style class to add when item begins to get hidden.
|
|
39
|
+
*/
|
|
40
|
+
leaveClassName?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Style class to add during leave animation.
|
|
43
|
+
*/
|
|
44
|
+
leaveActiveClassName?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Style class to add when leave animation is completed.
|
|
47
|
+
*/
|
|
48
|
+
leaveToClassName?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Whether to trigger leave animation when outside of the element is clicked.
|
|
51
|
+
* @defaultValue false
|
|
52
|
+
*/
|
|
53
|
+
hideOnOutsideClick?: boolean | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Adds or removes a class when no enter-leave animation is required.
|
|
56
|
+
*/
|
|
57
|
+
toggleClassName?: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Used to get the child elements of the component.
|
|
60
|
+
* @readonly
|
|
61
|
+
*/
|
|
62
|
+
children?: React.ReactNode | undefined;
|
|
17
63
|
}
|
|
18
64
|
|
|
65
|
+
/**
|
|
66
|
+
* **PrimeReact - StyleClass**
|
|
67
|
+
*
|
|
68
|
+
* _StyleClass manages css classes declaratively to during enter/leave animations or just to toggle classes on an element._
|
|
69
|
+
*
|
|
70
|
+
* [Live Demo](https://www.primefaces.org/primereact/styleclass/)
|
|
71
|
+
* --- ---
|
|
72
|
+
* 
|
|
73
|
+
*
|
|
74
|
+
* @group Component
|
|
75
|
+
*/
|
|
19
76
|
export declare class StyleClass extends React.Component<StyleClassProps, any> {
|
|
77
|
+
/**
|
|
78
|
+
* Used to get container element.
|
|
79
|
+
* @return {HTMLElement} Container element
|
|
80
|
+
*/
|
|
20
81
|
public getElement(): HTMLElement;
|
|
82
|
+
/**
|
|
83
|
+
* Used to get target element.
|
|
84
|
+
* @return {HTMLElement} Container element
|
|
85
|
+
*/
|
|
21
86
|
public getTarget(): HTMLElement;
|
|
22
87
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useEventListener, useMountEffect, useUpdateEffect, useUnmountEffect } from 'primereact/hooks';
|
|
3
|
-
import {
|
|
3
|
+
import { ObjectUtils, DomHandler } from 'primereact/utils';
|
|
4
4
|
|
|
5
5
|
function _arrayWithHoles(arr) {
|
|
6
6
|
if (Array.isArray(arr)) return arr;
|
|
@@ -20,9 +20,7 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
20
20
|
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
21
21
|
if (Object(_i) !== _i) return;
|
|
22
22
|
_n = !1;
|
|
23
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0)
|
|
24
|
-
;
|
|
25
|
-
}
|
|
23
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
26
24
|
} catch (err) {
|
|
27
25
|
_d = !0, _e = err;
|
|
28
26
|
} finally {
|
|
@@ -38,9 +36,7 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
38
36
|
|
|
39
37
|
function _arrayLikeToArray(arr, len) {
|
|
40
38
|
if (len == null || len > arr.length) len = arr.length;
|
|
41
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
42
|
-
arr2[i] = arr[i];
|
|
43
|
-
}
|
|
39
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
44
40
|
return arr2;
|
|
45
41
|
}
|
|
46
42
|
|
|
@@ -61,7 +57,31 @@ function _slicedToArray(arr, i) {
|
|
|
61
57
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
62
58
|
}
|
|
63
59
|
|
|
64
|
-
var
|
|
60
|
+
var StyleClassBase = {
|
|
61
|
+
defaultProps: {
|
|
62
|
+
__TYPE: 'StyleClass',
|
|
63
|
+
nodeRef: null,
|
|
64
|
+
selector: null,
|
|
65
|
+
enterClassName: null,
|
|
66
|
+
enterActiveClassName: null,
|
|
67
|
+
enterToClassName: null,
|
|
68
|
+
leaveClassName: null,
|
|
69
|
+
leaveActiveClassName: null,
|
|
70
|
+
leaveToClassName: null,
|
|
71
|
+
hideOnOutsideClick: false,
|
|
72
|
+
toggleClassName: null,
|
|
73
|
+
children: undefined
|
|
74
|
+
},
|
|
75
|
+
getProps: function getProps(props) {
|
|
76
|
+
return ObjectUtils.getMergedProps(props, StyleClassBase.defaultProps);
|
|
77
|
+
},
|
|
78
|
+
getOtherProps: function getOtherProps(props) {
|
|
79
|
+
return ObjectUtils.getDiffProps(props, StyleClassBase.defaultProps);
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
var StyleClass = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
84
|
+
var props = StyleClassBase.getProps(inProps);
|
|
65
85
|
var targetRef = React.useRef(null);
|
|
66
86
|
var animating = React.useRef(false);
|
|
67
87
|
var elementRef = React.useRef(null);
|
|
@@ -239,18 +259,5 @@ var StyleClass = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
239
259
|
return props.children;
|
|
240
260
|
});
|
|
241
261
|
StyleClass.displayName = 'StyleClass';
|
|
242
|
-
StyleClass.defaultProps = {
|
|
243
|
-
__TYPE: 'StyleClass',
|
|
244
|
-
nodeRef: null,
|
|
245
|
-
selector: null,
|
|
246
|
-
enterClassName: null,
|
|
247
|
-
enterActiveClassName: null,
|
|
248
|
-
enterToClassName: null,
|
|
249
|
-
leaveClassName: null,
|
|
250
|
-
leaveActiveClassName: null,
|
|
251
|
-
leaveToClassName: null,
|
|
252
|
-
hideOnOutsideClick: false,
|
|
253
|
-
toggleClassName: null
|
|
254
|
-
};
|
|
255
262
|
|
|
256
263
|
export { StyleClass };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";import{useEventListener as r,useMountEffect as t,useUpdateEffect as n,useUnmountEffect as a}from"primereact/hooks";import{
|
|
1
|
+
import*as e from"react";import{useEventListener as r,useMountEffect as t,useUpdateEffect as n,useUnmountEffect as a}from"primereact/hooks";import{ObjectUtils as l,DomHandler as s}from"primereact/utils";function u(e){if(Array.isArray(e))return e}function c(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,a,l,s,u=[],c=!0,o=!1;try{if(l=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;c=!1}else for(;!(c=(n=l.call(t)).done)&&(u.push(n.value),u.length!==r);c=!0);}catch(e){o=!0,a=e}finally{try{if(!c&&null!=t.return&&(s=t.return(),Object(s)!==s))return}finally{if(o)throw a}}return u}}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function i(e,r){if(e){if("string"==typeof e)return o(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,r):void 0}}function m(){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 f(e,r){return u(e)||c(e,r)||i(e,r)||m()}var C={defaultProps:{__TYPE:"StyleClass",nodeRef:null,selector:null,enterClassName:null,enterActiveClassName:null,enterToClassName:null,leaveClassName:null,leaveActiveClassName:null,leaveToClassName:null,hideOnOutsideClick:!1,toggleClassName:null,children:void 0},getProps:function(e){return l.getMergedProps(e,C.defaultProps)},getOtherProps:function(e){return l.getDiffProps(e,C.defaultProps)}},d=e.forwardRef((function(u,c){var o=C.getProps(u),i=e.useRef(null),m=e.useRef(!1),d=e.useRef(null),v=f(r({type:"animationend",listener:function(){s.removeClass(i.current,o.enterActiveClassName),o.enterToClassName&&s.addClass(i.current,o.enterToClassName),p(),"slidedown"===o.enterActiveClassName&&(i.current.style.maxHeight=""),m.current=!1}}),2),g=v[0],p=v[1],N=f(r({type:"animationend",listener:function(){s.removeClass(i.current,o.leaveActiveClassName),o.leaveToClassName&&s.addClass(i.current,o.leaveToClassName),h(),m.current=!1}}),2),y=N[0],h=N[1],A=f(r({type:"click",listener:function(e){k(i.current)&&"static"!==getComputedStyle(i.current).getPropertyValue("position")?j(e)&&E():T()},when:o.hideOnOutsideClick}),2),b=A[0],T=A[1],S=f(r({type:"click",listener:function(){i.current=x(),o.toggleClassName?s.hasClass(i.current,o.toggleClassName)?s.removeClass(i.current,o.toggleClassName):s.addClass(i.current,o.toggleClassName):s.isVisible(i.current)?E():w()}}),2),O=S[0],P=S[1],w=function(){o.enterActiveClassName?m.current||(m.current=!0,"slidedown"===o.enterActiveClassName&&(i.current.style.height="0px",s.removeClass(i.current,"hidden"),i.current.style.maxHeight=i.current.scrollHeight+"px",s.addClass(i.current,"hidden"),i.current.style.height=""),s.addClass(i.current,o.enterActiveClassName),o.enterClassName&&s.removeClass(i.current,o.enterClassName),g({target:i.current})):(o.enterClassName&&s.removeClass(i.current,o.enterClassName),o.enterToClassName&&s.addClass(i.current,o.enterToClassName)),b({target:d.current&&d.current.ownerDocument})},E=function(){o.leaveActiveClassName?m.current||(m.current=!0,s.addClass(i.current,o.leaveActiveClassName),o.leaveClassName&&s.removeClass(i.current,o.leaveClassName),y({target:i.current})):(o.leaveClassName&&s.removeClass(i.current,o.leaveClassName),o.leaveToClassName&&s.addClass(i.current,o.leaveToClassName)),o.hideOnOutsideClick&&T()},x=function(){if(i.current)return i.current;switch(o.selector){case"@next":return d.current.nextElementSibling;case"@prev":return d.current.previousElementSibling;case"@parent":return d.current.parentElement;case"@grandparent":return d.current.parentElement.parentElement;default:return document.querySelector(o.selector)}},R=function(){d.current=l.getRefElement(o.nodeRef),O({target:d.current})},k=function(e){return null!==e.offsetParent},j=function(e){return!d.current.isSameNode(e.target)&&!d.current.contains(e.target)&&!i.current.contains(e.target)};return e.useImperativeHandle(c,(function(){return{props:o,getElement:function(){return d.current},getTarget:function(){return i.current}}})),t((function(){R()})),n((function(){return R(),function(){P()}})),a((function(){P(),T(),i.current=null})),o.children}));d.displayName="StyleClass";export{d as StyleClass};
|
package/styleclass/styleclass.js
CHANGED
|
@@ -40,9 +40,7 @@ this.primereact.styleclass = (function (exports, React, hooks, utils) {
|
|
|
40
40
|
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
41
41
|
if (Object(_i) !== _i) return;
|
|
42
42
|
_n = !1;
|
|
43
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0)
|
|
44
|
-
;
|
|
45
|
-
}
|
|
43
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
46
44
|
} catch (err) {
|
|
47
45
|
_d = !0, _e = err;
|
|
48
46
|
} finally {
|
|
@@ -58,9 +56,7 @@ this.primereact.styleclass = (function (exports, React, hooks, utils) {
|
|
|
58
56
|
|
|
59
57
|
function _arrayLikeToArray(arr, len) {
|
|
60
58
|
if (len == null || len > arr.length) len = arr.length;
|
|
61
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
62
|
-
arr2[i] = arr[i];
|
|
63
|
-
}
|
|
59
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
64
60
|
return arr2;
|
|
65
61
|
}
|
|
66
62
|
|
|
@@ -81,7 +77,31 @@ this.primereact.styleclass = (function (exports, React, hooks, utils) {
|
|
|
81
77
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
82
78
|
}
|
|
83
79
|
|
|
84
|
-
var
|
|
80
|
+
var StyleClassBase = {
|
|
81
|
+
defaultProps: {
|
|
82
|
+
__TYPE: 'StyleClass',
|
|
83
|
+
nodeRef: null,
|
|
84
|
+
selector: null,
|
|
85
|
+
enterClassName: null,
|
|
86
|
+
enterActiveClassName: null,
|
|
87
|
+
enterToClassName: null,
|
|
88
|
+
leaveClassName: null,
|
|
89
|
+
leaveActiveClassName: null,
|
|
90
|
+
leaveToClassName: null,
|
|
91
|
+
hideOnOutsideClick: false,
|
|
92
|
+
toggleClassName: null,
|
|
93
|
+
children: undefined
|
|
94
|
+
},
|
|
95
|
+
getProps: function getProps(props) {
|
|
96
|
+
return utils.ObjectUtils.getMergedProps(props, StyleClassBase.defaultProps);
|
|
97
|
+
},
|
|
98
|
+
getOtherProps: function getOtherProps(props) {
|
|
99
|
+
return utils.ObjectUtils.getDiffProps(props, StyleClassBase.defaultProps);
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
var StyleClass = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
104
|
+
var props = StyleClassBase.getProps(inProps);
|
|
85
105
|
var targetRef = React__namespace.useRef(null);
|
|
86
106
|
var animating = React__namespace.useRef(false);
|
|
87
107
|
var elementRef = React__namespace.useRef(null);
|
|
@@ -259,19 +279,6 @@ this.primereact.styleclass = (function (exports, React, hooks, utils) {
|
|
|
259
279
|
return props.children;
|
|
260
280
|
});
|
|
261
281
|
StyleClass.displayName = 'StyleClass';
|
|
262
|
-
StyleClass.defaultProps = {
|
|
263
|
-
__TYPE: 'StyleClass',
|
|
264
|
-
nodeRef: null,
|
|
265
|
-
selector: null,
|
|
266
|
-
enterClassName: null,
|
|
267
|
-
enterActiveClassName: null,
|
|
268
|
-
enterToClassName: null,
|
|
269
|
-
leaveClassName: null,
|
|
270
|
-
leaveActiveClassName: null,
|
|
271
|
-
leaveToClassName: null,
|
|
272
|
-
hideOnOutsideClick: false,
|
|
273
|
-
toggleClassName: null
|
|
274
|
-
};
|
|
275
282
|
|
|
276
283
|
exports.StyleClass = StyleClass;
|
|
277
284
|
|