primereact 6.6.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -9
- package/accordion/accordion.cjs.js +32 -23
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.d.ts +3 -2
- package/accordion/accordion.esm.js +17 -8
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +32 -24
- package/accordion/accordion.min.js +1 -1
- package/api/api.cjs.js +374 -42
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +126 -32
- package/api/api.esm.js +371 -43
- package/api/api.esm.min.js +1 -1
- package/api/api.js +374 -44
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +79 -69
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +3 -1
- package/autocomplete/autocomplete.esm.js +15 -5
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +75 -70
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +12 -9
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.d.ts +2 -1
- package/avatar/avatar.esm.js +7 -4
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +13 -10
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/avatargroup.cjs.js +5 -3
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +3 -1
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +6 -4
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/badge.cjs.js +5 -3
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +3 -1
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +6 -4
- package/badge/badge.min.js +1 -1
- package/blockui/blockui.cjs.js +19 -13
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +7 -2
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +18 -14
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +18 -16
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +3 -1
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +19 -17
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +44 -53
- package/button/button.cjs.min.js +1 -1
- package/button/button.d.ts +4 -11
- package/button/button.esm.js +33 -42
- package/button/button.esm.min.js +1 -1
- package/button/button.js +43 -54
- package/button/button.min.js +1 -1
- package/calendar/calendar.cjs.js +183 -153
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +5 -1
- package/calendar/calendar.esm.js +57 -27
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +179 -154
- package/calendar/calendar.min.css +1 -1
- package/calendar/calendar.min.js +1 -1
- package/captcha/captcha.cjs.js +3 -1
- package/captcha/captcha.cjs.min.js +1 -1
- package/captcha/captcha.esm.js +2 -0
- package/captcha/captcha.esm.min.js +1 -1
- package/captcha/captcha.js +4 -2
- package/captcha/captcha.min.js +1 -1
- package/card/card.cjs.js +15 -13
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +3 -1
- package/card/card.esm.min.js +1 -1
- package/card/card.js +16 -14
- package/card/card.min.js +1 -1
- package/carousel/carousel.cjs.js +39 -36
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +4 -1
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +39 -37
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +53 -47
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +8 -2
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +50 -48
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/chart.cjs.js +8 -8
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +3 -1
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +7 -5
- package/chart/chart.min.js +1 -1
- package/checkbox/checkbox.cjs.js +22 -15
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.d.ts +2 -1
- package/checkbox/checkbox.esm.js +15 -8
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +22 -16
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +18 -14
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.d.ts +3 -4
- package/chip/chip.esm.js +13 -9
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +19 -15
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +48 -20
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.d.ts +10 -0
- package/chips/chips.esm.js +39 -11
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +48 -21
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +37 -31
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.d.ts +1 -1
- package/colorpicker/colorpicker.esm.js +8 -2
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +34 -32
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/column.cjs.js +34 -9
- package/column/column.cjs.min.js +1 -1
- package/column/column.d.ts +168 -13
- package/column/column.esm.js +34 -9
- package/column/column.esm.min.js +1 -1
- package/column/column.js +35 -10
- package/column/column.min.js +1 -1
- package/columngroup/columngroup.cjs.js +2 -0
- package/columngroup/columngroup.cjs.min.js +1 -1
- package/columngroup/columngroup.esm.js +2 -0
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +3 -1
- package/columngroup/columngroup.min.js +1 -1
- package/common/common.min.css +1 -1
- package/confirmdialog/confirmdialog.cjs.js +24 -20
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.d.ts +4 -3
- package/confirmdialog/confirmdialog.esm.js +8 -4
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +24 -21
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +47 -40
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.d.ts +4 -3
- package/confirmpopup/confirmpopup.esm.js +12 -6
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +44 -40
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +70 -63
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +37 -31
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +67 -64
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +11745 -1573
- package/core/core.min.js +40 -1
- package/csstransition/csstransition.cjs.js +3 -1
- package/csstransition/csstransition.cjs.min.js +1 -1
- package/csstransition/csstransition.esm.js +2 -0
- package/csstransition/csstransition.esm.min.js +1 -1
- package/csstransition/csstransition.js +4 -2
- package/csstransition/csstransition.min.js +1 -1
- package/datascroller/datascroller.cjs.js +14 -11
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.esm.js +6 -3
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +14 -12
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +4784 -3277
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +100 -29
- package/datatable/datatable.esm.js +4859 -3353
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +4777 -3278
- package/datatable/datatable.min.css +1 -1
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +34 -29
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +8 -3
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +33 -30
- package/dataview/dataview.min.js +1 -1
- package/deferredcontent/deferredcontent.cjs.js +3 -1
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +2 -0
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +4 -2
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/dialog.cjs.js +68 -51
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.d.ts +1 -0
- package/dialog/dialog.esm.js +22 -6
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +65 -52
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.js +6 -4
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +3 -1
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +7 -5
- package/divider/divider.min.js +1 -1
- package/dock/dock.cjs.js +53 -17
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.d.ts +13 -0
- package/dock/dock.esm.js +41 -5
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +53 -18
- package/dock/dock.min.css +1 -1
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +90 -76
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +28 -14
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +86 -77
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +40 -40
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +4 -2
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +39 -37
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +19 -15
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +5 -1
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +18 -16
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/fileupload.cjs.js +65 -56
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.d.ts +2 -1
- package/fileupload/fileupload.esm.js +26 -17
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +65 -57
- package/fileupload/fileupload.min.js +1 -1
- package/fullcalendar/fullcalendar.cjs.js +8 -8
- package/fullcalendar/fullcalendar.cjs.min.js +1 -1
- package/fullcalendar/fullcalendar.esm.js +3 -1
- package/fullcalendar/fullcalendar.esm.min.js +1 -1
- package/fullcalendar/fullcalendar.js +7 -5
- package/fullcalendar/fullcalendar.min.js +1 -1
- package/galleria/galleria.cjs.js +72 -65
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +8 -2
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +69 -66
- package/galleria/galleria.min.js +1 -1
- package/gmap/gmap.cjs.js +3 -1
- package/gmap/gmap.cjs.min.js +1 -1
- package/gmap/gmap.esm.js +2 -0
- package/gmap/gmap.esm.min.js +1 -1
- package/gmap/gmap.js +4 -2
- package/gmap/gmap.min.js +1 -1
- package/image/image.cjs.js +33 -27
- package/image/image.cjs.min.js +1 -1
- package/image/image.d.ts +5 -5
- package/image/image.esm.js +7 -2
- package/image/image.esm.min.js +1 -1
- package/image/image.js +31 -28
- package/image/image.min.js +1 -1
- package/inplace/inplace.cjs.js +10 -8
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +3 -1
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +11 -9
- package/inplace/inplace.min.js +1 -1
- package/inputmask/inputmask.cjs.js +11 -8
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +4 -1
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +11 -9
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +50 -29
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +33 -12
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +49 -30
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +17 -12
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +10 -5
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +17 -13
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +14 -10
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.d.ts +1 -1
- package/inputtext/inputtext.esm.js +5 -1
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +13 -11
- package/inputtext/inputtext.min.css +1 -1
- package/inputtext/inputtext.min.js +1 -1
- package/inputtextarea/inputtextarea.cjs.js +12 -9
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.d.ts +1 -1
- package/inputtextarea/inputtextarea.esm.js +4 -1
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +12 -10
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/keyfilter/keyfilter.cjs.js +5 -5
- package/keyfilter/keyfilter.cjs.min.js +1 -1
- package/keyfilter/keyfilter.esm.js +1 -1
- package/keyfilter/keyfilter.esm.min.js +1 -1
- package/keyfilter/keyfilter.js +6 -6
- package/keyfilter/keyfilter.min.js +1 -1
- package/knob/knob.cjs.js +9 -7
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +3 -1
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +10 -8
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +44 -39
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +9 -4
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +42 -40
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +38 -35
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +4 -1
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +38 -36
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +55 -46
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +10 -2
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +50 -47
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +35 -28
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.d.ts +2 -0
- package/menu/menu.esm.js +8 -2
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +32 -29
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +40 -35
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +6 -2
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +39 -36
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +11 -8
- package/message/message.cjs.min.js +1 -1
- package/message/message.d.ts +3 -1
- package/message/message.esm.js +5 -2
- package/message/message.esm.min.js +1 -1
- package/message/message.js +12 -9
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +21 -17
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +5 -1
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +20 -18
- package/messages/messages.min.js +1 -1
- package/multiselect/multiselect.cjs.js +132 -118
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +6 -2
- package/multiselect/multiselect.esm.js +47 -33
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +128 -119
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +16 -13
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.d.ts +2 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +4 -1
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +16 -14
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +37 -34
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +4 -1
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +37 -35
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +28 -26
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +3 -1
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +29 -27
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +33 -24
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.d.ts +1 -1
- package/overlaypanel/overlaypanel.esm.js +10 -2
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +29 -25
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/overlayservice/overlayservice.cjs.js +2 -2
- package/overlayservice/overlayservice.cjs.min.js +1 -1
- package/overlayservice/overlayservice.esm.js +1 -1
- package/overlayservice/overlayservice.esm.min.js +1 -1
- package/overlayservice/overlayservice.js +3 -3
- package/overlayservice/overlayservice.min.js +1 -1
- package/package.json +10 -4
- package/paginator/paginator.cjs.js +51 -48
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +5 -2
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +51 -49
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.js +21 -17
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +5 -1
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +20 -18
- package/panel/panel.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +42 -39
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +4 -1
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +42 -40
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/password.cjs.js +35 -29
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +1 -1
- package/password/password.esm.js +8 -2
- package/password/password.esm.min.js +1 -1
- package/password/password.js +32 -30
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +60 -54
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +16 -10
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +60 -55
- package/picklist/picklist.min.js +1 -1
- package/portal/portal.cjs.js +7 -3
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +6 -2
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +8 -4
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +8041 -5835
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +6905 -4701
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +8040 -5832
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.js +11 -9
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +3 -1
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +12 -10
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/progressspinner.cjs.js +7 -5
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +3 -1
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +8 -6
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/radiobutton.cjs.js +12 -9
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +4 -1
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +12 -10
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +12 -9
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +6 -3
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +12 -10
- package/rating/rating.min.js +1 -1
- package/resources/primereact.css +430 -238
- package/resources/primereact.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +158 -27
- package/resources/themes/arya-green/theme.css +158 -27
- package/resources/themes/arya-orange/theme.css +158 -27
- package/resources/themes/arya-purple/theme.css +158 -27
- package/resources/themes/bootstrap4-dark-blue/theme.css +162 -31
- package/resources/themes/bootstrap4-dark-purple/theme.css +162 -31
- package/resources/themes/bootstrap4-light-blue/theme.css +162 -31
- package/resources/themes/bootstrap4-light-purple/theme.css +162 -31
- package/resources/themes/fluent-light/theme.css +158 -27
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/theme.css +5671 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/theme.css +5671 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/theme.css +5671 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/theme.css +5671 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-blue/theme.css +5671 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/theme.css +5671 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-purple/theme.css +5671 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-teal/theme.css +5671 -0
- package/resources/themes/luna-amber/theme.css +162 -31
- package/resources/themes/luna-blue/theme.css +162 -31
- package/resources/themes/luna-green/theme.css +162 -31
- package/resources/themes/luna-pink/theme.css +162 -31
- package/resources/themes/md-dark-deeppurple/theme.css +347 -56
- package/resources/themes/md-dark-indigo/theme.css +347 -56
- package/resources/themes/md-light-deeppurple/theme.css +347 -56
- package/resources/themes/md-light-indigo/theme.css +347 -56
- package/resources/themes/mdc-dark-deeppurple/theme.css +347 -56
- package/resources/themes/mdc-dark-indigo/theme.css +347 -56
- package/resources/themes/mdc-light-deeppurple/theme.css +347 -56
- package/resources/themes/mdc-light-indigo/theme.css +347 -56
- package/resources/themes/nova/theme.css +162 -31
- package/resources/themes/nova-accent/theme.css +162 -31
- package/resources/themes/nova-alt/theme.css +162 -31
- package/resources/themes/rhea/theme.css +162 -31
- package/resources/themes/saga-blue/theme.css +158 -27
- package/resources/themes/saga-green/theme.css +158 -27
- package/resources/themes/saga-orange/theme.css +158 -27
- package/resources/themes/saga-purple/theme.css +158 -27
- package/resources/themes/tailwind-light/theme.css +162 -31
- package/resources/themes/vela-blue/theme.css +158 -27
- package/resources/themes/vela-green/theme.css +158 -27
- package/resources/themes/vela-orange/theme.css +158 -27
- package/resources/themes/vela-purple/theme.css +158 -27
- package/ripple/ripple.cjs.js +13 -11
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.js +5 -3
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +14 -12
- package/ripple/ripple.min.js +1 -1
- package/row/row.cjs.js +3 -1
- package/row/row.cjs.min.js +1 -1
- package/row/row.esm.js +2 -0
- package/row/row.esm.min.js +1 -1
- package/row/row.js +4 -2
- package/row/row.min.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +21 -19
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +3 -1
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +22 -20
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +20 -13
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.d.ts +2 -1
- package/scrolltop/scrolltop.esm.js +11 -5
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +18 -14
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +19 -15
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +5 -1
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +18 -16
- package/selectbutton/selectbutton.min.js +1 -1
- package/selectitem/selectitem.d.ts +3 -1
- package/sidebar/sidebar.cjs.js +144 -116
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +2 -0
- package/sidebar/sidebar.esm.js +135 -108
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +141 -117
- package/sidebar/sidebar.min.css +1 -1
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +5 -3
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +3 -1
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +6 -4
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/slidemenu.cjs.js +39 -32
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.esm.js +8 -2
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +36 -33
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.js +40 -23
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +32 -15
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +41 -24
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +22 -19
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.d.ts +3 -2
- package/speeddial/speeddial.esm.js +4 -1
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +22 -20
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +39 -33
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +4 -5
- package/splitbutton/splitbutton.esm.js +8 -2
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +36 -34
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +21 -19
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +4 -2
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +22 -20
- package/splitter/splitter.min.js +1 -1
- package/steps/steps.cjs.js +12 -10
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +3 -1
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +13 -11
- package/steps/steps.min.js +1 -1
- package/styleclass/styleclass.cjs.js +35 -39
- package/styleclass/styleclass.cjs.min.js +1 -1
- package/styleclass/styleclass.esm.js +20 -24
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +36 -40
- package/styleclass/styleclass.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +18 -15
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +4 -1
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +18 -16
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +177 -54
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.d.ts +4 -1
- package/tabview/tabview.esm.js +146 -23
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +177 -55
- package/tabview/tabview.min.css +1 -1
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +11 -8
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.d.ts +2 -1
- package/tag/tag.esm.js +7 -4
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +12 -9
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +14 -12
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +3 -1
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +15 -13
- package/terminal/terminal.min.js +1 -1
- package/terminalservice/terminalservice.cjs.js +2 -2
- package/terminalservice/terminalservice.cjs.min.js +1 -1
- package/terminalservice/terminalservice.esm.js +1 -1
- package/terminalservice/terminalservice.esm.min.js +1 -1
- package/terminalservice/terminalservice.js +3 -3
- package/terminalservice/terminalservice.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +44 -36
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +9 -2
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +40 -37
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.js +14 -12
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +3 -1
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +15 -13
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.js +48 -40
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +22 -15
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +46 -41
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +16 -9
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.d.ts +3 -2
- package/togglebutton/togglebutton.esm.js +10 -3
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +15 -10
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/toolbar.cjs.js +9 -7
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +3 -1
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +10 -8
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/tooltip.cjs.js +36 -31
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +6 -2
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +35 -32
- package/tooltip/tooltip.min.css +1 -1
- package/tooltip/tooltip.min.js +1 -1
- package/tree/tree.cjs.js +54 -51
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.d.ts +9 -2
- package/tree/tree.esm.js +4 -1
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +54 -52
- package/tree/tree.min.js +1 -1
- package/treenode/treenode.d.ts +3 -1
- package/treeselect/treeselect.cjs.js +52 -46
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +9 -2
- package/treeselect/treeselect.esm.js +11 -5
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +49 -47
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +1290 -272
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +9 -2
- package/treetable/treetable.esm.js +1213 -195
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +1288 -273
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +13 -10
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +4 -1
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +13 -11
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +502 -525
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +29 -20
- package/utils/utils.esm.js +501 -524
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +503 -526
- package/utils/utils.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +285 -168
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.d.ts +21 -9
- package/virtualscroller/virtualscroller.esm.js +278 -161
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +286 -169
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +17 -27
- package/core/core.cjs.js +0 -3080
- package/core/core.cjs.min.js +0 -1
- package/core/core.esm.js +0 -3055
- package/core/core.esm.min.js +0 -1
- package/core/package.json +0 -5
package/api/api.cjs.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var utils = require('primereact/utils');
|
|
6
|
+
|
|
5
7
|
function _classCallCheck(instance, Constructor) {
|
|
6
8
|
if (!(instance instanceof Constructor)) {
|
|
7
9
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -23,14 +25,38 @@ function _defineProperty(obj, key, value) {
|
|
|
23
25
|
return obj;
|
|
24
26
|
}
|
|
25
27
|
|
|
28
|
+
var FilterMatchMode = Object.freeze({
|
|
29
|
+
STARTS_WITH: 'startsWith',
|
|
30
|
+
CONTAINS: 'contains',
|
|
31
|
+
NOT_CONTAINS: 'notContains',
|
|
32
|
+
ENDS_WITH: 'endsWith',
|
|
33
|
+
EQUALS: 'equals',
|
|
34
|
+
NOT_EQUALS: 'notEquals',
|
|
35
|
+
IN: 'in',
|
|
36
|
+
LESS_THAN: 'lt',
|
|
37
|
+
LESS_THAN_OR_EQUAL_TO: 'lte',
|
|
38
|
+
GREATER_THAN: 'gt',
|
|
39
|
+
GREATER_THAN_OR_EQUAL_TO: 'gte',
|
|
40
|
+
BETWEEN: 'between',
|
|
41
|
+
DATE_IS: 'dateIs',
|
|
42
|
+
DATE_IS_NOT: 'dateIsNot',
|
|
43
|
+
DATE_BEFORE: 'dateBefore',
|
|
44
|
+
DATE_AFTER: 'dateAfter',
|
|
45
|
+
CUSTOM: 'custom'
|
|
46
|
+
});
|
|
47
|
+
|
|
26
48
|
var PrimeReact = function PrimeReact() {
|
|
27
49
|
_classCallCheck(this, PrimeReact);
|
|
28
50
|
};
|
|
29
51
|
|
|
30
52
|
_defineProperty(PrimeReact, "ripple", false);
|
|
31
53
|
|
|
54
|
+
_defineProperty(PrimeReact, "inputStyle", 'outlined');
|
|
55
|
+
|
|
32
56
|
_defineProperty(PrimeReact, "locale", 'en');
|
|
33
57
|
|
|
58
|
+
_defineProperty(PrimeReact, "appendTo", null);
|
|
59
|
+
|
|
34
60
|
_defineProperty(PrimeReact, "autoZIndex", true);
|
|
35
61
|
|
|
36
62
|
_defineProperty(PrimeReact, "zIndex", {
|
|
@@ -41,13 +67,39 @@ _defineProperty(PrimeReact, "zIndex", {
|
|
|
41
67
|
toast: 1200
|
|
42
68
|
});
|
|
43
69
|
|
|
44
|
-
_defineProperty(PrimeReact, "
|
|
70
|
+
_defineProperty(PrimeReact, "filterMatchModeOptions", {
|
|
71
|
+
text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],
|
|
72
|
+
numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],
|
|
73
|
+
date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]
|
|
74
|
+
});
|
|
45
75
|
|
|
46
76
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
47
77
|
|
|
48
78
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
49
79
|
var locales = {
|
|
50
80
|
'en': {
|
|
81
|
+
startsWith: 'Starts with',
|
|
82
|
+
contains: 'Contains',
|
|
83
|
+
notContains: 'Not contains',
|
|
84
|
+
endsWith: 'Ends with',
|
|
85
|
+
equals: 'Equals',
|
|
86
|
+
notEquals: 'Not equals',
|
|
87
|
+
noFilter: 'No Filter',
|
|
88
|
+
lt: 'Less than',
|
|
89
|
+
lte: 'Less than or equal to',
|
|
90
|
+
gt: 'Greater than',
|
|
91
|
+
gte: 'Greater than or equal to',
|
|
92
|
+
dateIs: 'Date is',
|
|
93
|
+
dateIsNot: 'Date is not',
|
|
94
|
+
dateBefore: 'Date is before',
|
|
95
|
+
dateAfter: 'Date is after',
|
|
96
|
+
custom: 'Custom',
|
|
97
|
+
clear: 'Clear',
|
|
98
|
+
apply: 'Apply',
|
|
99
|
+
matchAll: 'Match All',
|
|
100
|
+
matchAny: 'Match Any',
|
|
101
|
+
addRule: 'Add Rule',
|
|
102
|
+
removeRule: 'Remove Rule',
|
|
51
103
|
accept: 'Yes',
|
|
52
104
|
reject: 'No',
|
|
53
105
|
choose: 'Choose',
|
|
@@ -59,22 +111,20 @@ var locales = {
|
|
|
59
111
|
monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
|
|
60
112
|
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
|
61
113
|
today: 'Today',
|
|
62
|
-
clear: 'Clear',
|
|
63
114
|
weekHeader: 'Wk',
|
|
64
115
|
firstDayOfWeek: 0,
|
|
65
116
|
dateFormat: 'mm/dd/yy',
|
|
66
117
|
weak: 'Weak',
|
|
67
118
|
medium: 'Medium',
|
|
68
119
|
strong: 'Strong',
|
|
69
|
-
passwordPrompt: 'Enter a password'
|
|
120
|
+
passwordPrompt: 'Enter a password',
|
|
121
|
+
emptyFilterMessage: 'No results found',
|
|
122
|
+
emptyMessage: 'No available options'
|
|
70
123
|
}
|
|
71
124
|
};
|
|
72
125
|
|
|
73
126
|
function locale(locale) {
|
|
74
|
-
|
|
75
|
-
PrimeReact.locale = locale;
|
|
76
|
-
}
|
|
77
|
-
|
|
127
|
+
locale && (PrimeReact.locale = locale);
|
|
78
128
|
return {
|
|
79
129
|
locale: PrimeReact.locale,
|
|
80
130
|
options: locales[PrimeReact.locale]
|
|
@@ -96,10 +146,12 @@ function updateLocaleOptions(options, locale) {
|
|
|
96
146
|
}
|
|
97
147
|
|
|
98
148
|
function localeOption(key, locale) {
|
|
149
|
+
var _locale = locale || PrimeReact.locale;
|
|
150
|
+
|
|
99
151
|
try {
|
|
100
|
-
return localeOptions(
|
|
152
|
+
return localeOptions(_locale)[key];
|
|
101
153
|
} catch (error) {
|
|
102
|
-
throw new Error("The ".concat(key, " option is not found in the current locale('").concat(
|
|
154
|
+
throw new Error("The ".concat(key, " option is not found in the current locale('").concat(_locale, "')."));
|
|
103
155
|
}
|
|
104
156
|
}
|
|
105
157
|
|
|
@@ -130,30 +182,43 @@ var PrimeIcons = Object.freeze({
|
|
|
130
182
|
ARROW_CIRCLE_RIGHT: 'pi pi-arrow-circle-right',
|
|
131
183
|
ARROW_CIRCLE_UP: 'pi pi-arrow-circle-up',
|
|
132
184
|
ARROW_DOWN: 'pi pi-arrow-down',
|
|
185
|
+
ARROW_DOWN_LEFT: 'pi pi-arrow-down-left',
|
|
186
|
+
ARROW_DOWN_RIGHT: 'pi pi-arrow-down-right',
|
|
133
187
|
ARROW_LEFT: 'pi pi-arrow-left',
|
|
134
188
|
ARROW_RIGHT: 'pi pi-arrow-right',
|
|
135
189
|
ARROW_UP: 'pi pi-arrow-up',
|
|
190
|
+
ARROW_UP_LEFT: 'pi pi-arrow-up-left',
|
|
191
|
+
ARROW_UP_RIGHT: 'pi pi-arrow-up-right',
|
|
192
|
+
ARROW_H: 'pi pi-arrow-h',
|
|
193
|
+
ARROW_V: 'pi pi-arrow-v',
|
|
194
|
+
AT: 'pi pi-at',
|
|
136
195
|
BACKWARD: 'pi pi-backward',
|
|
137
196
|
BAN: 'pi pi-ban',
|
|
138
197
|
BARS: 'pi pi-bars',
|
|
139
198
|
BELL: 'pi pi-bell',
|
|
199
|
+
BOLT: 'pi pi-bolt',
|
|
140
200
|
BOOK: 'pi pi-book',
|
|
141
201
|
BOOKMARK: 'pi pi-bookmark',
|
|
202
|
+
BOOKMARK_FILL: 'pi pi-bookmark-fill',
|
|
203
|
+
BOX: 'pi pi-box',
|
|
142
204
|
BRIEFCASE: 'pi pi-briefcase',
|
|
205
|
+
BUILDING: 'pi pi-building',
|
|
206
|
+
CALENDAR: 'pi pi-calendar',
|
|
143
207
|
CALENDAR_MINUS: 'pi pi-calendar-minus',
|
|
144
208
|
CALENDAR_PLUS: 'pi pi-calendar-plus',
|
|
145
209
|
CALENDAR_TIMES: 'pi pi-calendar-times',
|
|
146
|
-
CALENDAR: 'pi pi-calendar',
|
|
147
210
|
CAMERA: 'pi pi-camera',
|
|
211
|
+
CAR: 'pi pi-car',
|
|
148
212
|
CARET_DOWN: 'pi pi-caret-down',
|
|
149
213
|
CARET_LEFT: 'pi pi-caret-left',
|
|
150
214
|
CARET_RIGHT: 'pi pi-caret-right',
|
|
151
215
|
CARET_UP: 'pi pi-caret-up',
|
|
152
216
|
CHART_BAR: 'pi pi-chart-bar',
|
|
153
217
|
CHART_LINE: 'pi pi-chart-line',
|
|
218
|
+
CHART_PIE: 'pi pi-chart-pie',
|
|
219
|
+
CHECK: 'pi pi-check',
|
|
154
220
|
CHECK_CIRCLE: 'pi pi-check-circle',
|
|
155
221
|
CHECK_SQUARE: 'pi pi-check-square',
|
|
156
|
-
CHECK: 'pi pi-check',
|
|
157
222
|
CHEVRON_CIRCLE_DOWN: 'pi pi-chevron-circle-down',
|
|
158
223
|
CHEVRON_CIRCLE_LEFT: 'pi pi-chevron-circle-left',
|
|
159
224
|
CHEVRON_CIRCLE_RIGHT: 'pi pi-chevron-circle-right',
|
|
@@ -162,66 +227,77 @@ var PrimeIcons = Object.freeze({
|
|
|
162
227
|
CHEVRON_LEFT: 'pi pi-chevron-left',
|
|
163
228
|
CHEVRON_RIGHT: 'pi pi-chevron-right',
|
|
164
229
|
CHEVRON_UP: 'pi pi-chevron-up',
|
|
230
|
+
CIRCLE: 'pi pi-circle',
|
|
231
|
+
CIRCLE_FILL: 'pi pi-circle-fill',
|
|
165
232
|
CLOCK: 'pi pi-clock',
|
|
166
233
|
CLONE: 'pi pi-clone',
|
|
234
|
+
CLOUD: 'pi pi-cloud',
|
|
167
235
|
CLOUD_DOWNLOAD: 'pi pi-cloud-download',
|
|
168
236
|
CLOUD_UPLOAD: 'pi pi-cloud-upload',
|
|
169
|
-
|
|
237
|
+
CODE: 'pi pi-code',
|
|
170
238
|
COG: 'pi pi-cog',
|
|
171
239
|
COMMENT: 'pi pi-comment',
|
|
172
240
|
COMMENTS: 'pi pi-comments',
|
|
173
241
|
COMPASS: 'pi pi-compass',
|
|
174
242
|
COPY: 'pi pi-copy',
|
|
175
243
|
CREDIT_CARD: 'pi pi-credit-card',
|
|
244
|
+
DATABASE: 'pi pi-database',
|
|
176
245
|
DESKTOP: 'pi pi-desktop',
|
|
177
|
-
DISCORD: 'pi pi-discord',
|
|
178
|
-
DIRECTIONS_ALT: 'pi pi-directions-alt',
|
|
179
246
|
DIRECTIONS: 'pi pi-directions',
|
|
247
|
+
DIRECTIONS_ALT: 'pi pi-directions-alt',
|
|
248
|
+
DISCORD: 'pi pi-discord',
|
|
180
249
|
DOLLAR: 'pi pi-dollar',
|
|
181
250
|
DOWNLOAD: 'pi pi-download',
|
|
182
251
|
EJECT: 'pi pi-eject',
|
|
183
252
|
ELLIPSIS_H: 'pi pi-ellipsis-h',
|
|
184
253
|
ELLIPSIS_V: 'pi pi-ellipsis-v',
|
|
185
254
|
ENVELOPE: 'pi pi-envelope',
|
|
255
|
+
EURO: 'pi pi-euro',
|
|
186
256
|
EXCLAMATION_CIRCLE: 'pi pi-exclamation-circle',
|
|
187
|
-
EXCLAMATION_TRIANGLE: 'pi pi-exclamation-triangle
|
|
257
|
+
EXCLAMATION_TRIANGLE: 'pi pi-exclamation-triangle',
|
|
188
258
|
EXTERNAL_LINK: 'pi pi-external-link',
|
|
189
|
-
EYE_SLASH: 'pi pi-eye-slash',
|
|
190
259
|
EYE: 'pi pi-eye',
|
|
260
|
+
EYE_SLASH: 'pi pi-eye-slash',
|
|
191
261
|
FACEBOOK: 'pi pi-facebook',
|
|
192
262
|
FAST_BACKWARD: 'pi pi-fast-backward',
|
|
193
263
|
FAST_FORWARD: 'pi pi-fast-forward',
|
|
264
|
+
FILE: 'pi pi-file',
|
|
194
265
|
FILE_EXCEL: 'pi pi-file-excel',
|
|
195
|
-
FILE_O: 'pi pi-file-o',
|
|
196
266
|
FILE_PDF: 'pi pi-file-pdf',
|
|
197
|
-
FILE: 'pi pi-file',
|
|
198
267
|
FILTER: 'pi pi-filter',
|
|
268
|
+
FILTER_FILL: 'pi pi-filter-fill',
|
|
199
269
|
FILTER_SLASH: 'pi pi-filter-slash',
|
|
200
270
|
FLAG: 'pi pi-flag',
|
|
201
|
-
|
|
271
|
+
FLAG_FILL: 'pi pi-flag-fill',
|
|
202
272
|
FOLDER: 'pi pi-folder',
|
|
273
|
+
FOLDER_OPEN: 'pi pi-folder-open',
|
|
203
274
|
FORWARD: 'pi pi-forward',
|
|
204
275
|
GITHUB: 'pi pi-github',
|
|
205
276
|
GLOBE: 'pi pi-globe',
|
|
206
277
|
GOOGLE: 'pi pi-google',
|
|
278
|
+
HASHTAG: 'pi pi-hashtag',
|
|
207
279
|
HEART: 'pi pi-heart',
|
|
280
|
+
HEART_FILL: 'pi pi-heart-fill',
|
|
281
|
+
HISTORY: 'pi pi-history',
|
|
208
282
|
HOME: 'pi pi-home',
|
|
209
283
|
ID_CARD: 'pi pi-id-card',
|
|
210
284
|
IMAGE: 'pi pi-image',
|
|
211
285
|
IMAGES: 'pi pi-images',
|
|
212
286
|
INBOX: 'pi pi-inbox',
|
|
213
|
-
INFO_CIRCLE: 'pi pi-info-circle',
|
|
214
287
|
INFO: 'pi pi-info',
|
|
288
|
+
INFO_CIRCLE: 'pi pi-info-circle',
|
|
289
|
+
INSTAGRAM: 'pi pi-instagram',
|
|
215
290
|
KEY: 'pi pi-key',
|
|
216
291
|
LINK: 'pi pi-link',
|
|
292
|
+
LINKEDIN: 'pi pi-linkedin',
|
|
217
293
|
LIST: 'pi pi-list',
|
|
218
|
-
LOCK_OPEN: 'pi pi-lock-open',
|
|
219
294
|
LOCK: 'pi pi-lock',
|
|
295
|
+
LOCK_OPEN: 'pi pi-lock-open',
|
|
220
296
|
MAP: 'pi pi-map',
|
|
221
297
|
MAP_MARKER: 'pi pi-map-marker',
|
|
222
298
|
MICROSOFT: 'pi pi-microsoft',
|
|
223
|
-
MINUS_CIRCLE: 'pi pi-minus-circle',
|
|
224
299
|
MINUS: 'pi pi-minus',
|
|
300
|
+
MINUS_CIRCLE: 'pi pi-minus-circle',
|
|
225
301
|
MOBILE: 'pi pi-mobile',
|
|
226
302
|
MONEY_BILL: 'pi pi-money-bill',
|
|
227
303
|
MOON: 'pi pi-moon',
|
|
@@ -233,24 +309,28 @@ var PrimeIcons = Object.freeze({
|
|
|
233
309
|
PERCENTAGE: 'pi pi-percentage',
|
|
234
310
|
PHONE: 'pi pi-phone',
|
|
235
311
|
PLAY: 'pi pi-play',
|
|
236
|
-
PLUS_CIRCLE: 'pi pi-plus-circle',
|
|
237
312
|
PLUS: 'pi pi-plus',
|
|
313
|
+
PLUS_CIRCLE: 'pi pi-plus-circle',
|
|
314
|
+
POUND: 'pi pi-pound',
|
|
238
315
|
POWER_OFF: 'pi pi-power-off',
|
|
316
|
+
PRIME: 'pi pi-prime',
|
|
239
317
|
PRINT: 'pi pi-print',
|
|
240
|
-
|
|
318
|
+
QRCODE: 'pi pi-qrcode',
|
|
241
319
|
QUESTION: 'pi pi-question',
|
|
242
|
-
|
|
243
|
-
|
|
320
|
+
QUESTION_CIRCLE: 'pi pi-question-circle',
|
|
321
|
+
REDDIT: 'pi pi-reddit',
|
|
244
322
|
REFRESH: 'pi pi-refresh',
|
|
245
323
|
REPLAY: 'pi pi-replay',
|
|
246
324
|
REPLY: 'pi pi-reply',
|
|
247
325
|
SAVE: 'pi pi-save',
|
|
326
|
+
SEARCH: 'pi pi-search',
|
|
248
327
|
SEARCH_MINUS: 'pi pi-search-minus',
|
|
249
328
|
SEARCH_PLUS: 'pi pi-search-plus',
|
|
250
|
-
SEARCH: 'pi pi-search',
|
|
251
329
|
SEND: 'pi pi-send',
|
|
330
|
+
SERVER: 'pi pi-server',
|
|
252
331
|
SHARE_ALT: 'pi pi-share-alt',
|
|
253
332
|
SHIELD: 'pi pi-shield',
|
|
333
|
+
SHOPPING_BAG: 'pi pi-shopping-bag',
|
|
254
334
|
SHOPPING_CART: 'pi pi-shopping-cart',
|
|
255
335
|
SIGN_IN: 'pi pi-sign-in',
|
|
256
336
|
SIGN_OUT: 'pi pi-sign-out',
|
|
@@ -258,60 +338,66 @@ var PrimeIcons = Object.freeze({
|
|
|
258
338
|
SLACK: 'pi pi-slack',
|
|
259
339
|
SLIDERS_H: 'pi pi-sliders-h',
|
|
260
340
|
SLIDERS_V: 'pi pi-sliders-v',
|
|
261
|
-
|
|
262
|
-
SORT_ALPHA_ALT_UP: 'pi pi-sort-alpha-alt-up',
|
|
341
|
+
SORT: 'pi pi-sort',
|
|
263
342
|
SORT_ALPHA_DOWN: 'pi pi-sort-alpha-down',
|
|
343
|
+
SORT_ALPHA_ALT_DOWN: 'pi pi-sort-alpha-alt-down',
|
|
264
344
|
SORT_ALPHA_UP: 'pi pi-sort-alpha-up',
|
|
345
|
+
SORT_ALPHA_ALT_UP: 'pi pi-sort-alpha-alt-up',
|
|
265
346
|
SORT_ALT: 'pi pi-sort-alt',
|
|
266
|
-
|
|
347
|
+
SORT_ALT_SLASH: 'pi pi-sort-slash',
|
|
267
348
|
SORT_AMOUNT_DOWN: 'pi pi-sort-amount-down',
|
|
268
|
-
|
|
349
|
+
SORT_AMOUNT_DOWN_ALT: 'pi pi-sort-amount-down-alt',
|
|
269
350
|
SORT_AMOUNT_UP: 'pi pi-sort-amount-up',
|
|
351
|
+
SORT_AMOUNT_UP_ALT: 'pi pi-sort-amount-up-alt',
|
|
270
352
|
SORT_DOWN: 'pi pi-sort-down',
|
|
271
|
-
SORT_NUMERIC_ALT_DOWN: 'pi pi-sort-numeric-alt-down',
|
|
272
|
-
SORT_NUMERIC_ALT_UP: 'pi pi-sort-numeric-alt-up',
|
|
273
353
|
SORT_NUMERIC_DOWN: 'pi pi-sort-numeric-down',
|
|
354
|
+
SORT_NUMERIC_ALT_DOWN: 'pi pi-sort-numeric-alt-down',
|
|
274
355
|
SORT_NUMERIC_UP: 'pi pi-sort-numeric-up',
|
|
356
|
+
SORT_NUMERIC_ALT_UP: 'pi pi-sort-numeric-alt-up',
|
|
275
357
|
SORT_UP: 'pi pi-sort-up',
|
|
276
|
-
SORT: 'pi pi-sort',
|
|
277
358
|
SPINNER: 'pi pi-spinner',
|
|
278
|
-
STAR_O: 'pi pi-star-o',
|
|
279
359
|
STAR: 'pi pi-star',
|
|
280
|
-
|
|
360
|
+
STAR_FILL: 'pi pi-star-fill',
|
|
281
361
|
STEP_BACKWARD: 'pi pi-step-backward',
|
|
282
|
-
|
|
362
|
+
STEP_BACKWARD_ALT: 'pi pi-step-backward-alt',
|
|
283
363
|
STEP_FORWARD: 'pi pi-step-forward',
|
|
364
|
+
STEP_FORWARD_ALT: 'pi pi-step-forward-alt',
|
|
365
|
+
STOP: 'pi pi-stop',
|
|
366
|
+
STOP_CIRCLE: 'pi pi-stop-circle',
|
|
284
367
|
SUN: 'pi pi-sun',
|
|
368
|
+
SYNC: 'pi pi-sync',
|
|
285
369
|
TABLE: 'pi pi-table',
|
|
286
370
|
TABLET: 'pi pi-tablet',
|
|
287
371
|
TAG: 'pi pi-tag',
|
|
288
372
|
TAGS: 'pi pi-tags',
|
|
373
|
+
TELEGRAM: 'pi pi-telegram',
|
|
289
374
|
TH_LARGE: 'pi pi-th-large',
|
|
290
375
|
THUMBS_DOWN: 'pi pi-thumbs-down',
|
|
291
376
|
THUMBS_UP: 'pi pi-thumbs-up',
|
|
292
377
|
TICKET: 'pi pi-ticket',
|
|
293
|
-
TIMES_CIRCLE: 'pi pi-times-circle',
|
|
294
378
|
TIMES: 'pi pi-times',
|
|
379
|
+
TIMES_CIRCLE: 'pi pi-times-circle',
|
|
295
380
|
TRASH: 'pi pi-trash',
|
|
296
381
|
TWITTER: 'pi pi-twitter',
|
|
297
382
|
UNDO: 'pi pi-undo',
|
|
298
383
|
UNLOCK: 'pi pi-unlock',
|
|
299
384
|
UPLOAD: 'pi pi-upload',
|
|
385
|
+
USER: 'pi pi-user',
|
|
300
386
|
USER_EDIT: 'pi pi-user-edit',
|
|
301
387
|
USER_MINUS: 'pi pi-user-minus',
|
|
302
388
|
USER_PLUS: 'pi pi-user-plus',
|
|
303
|
-
USER: 'pi pi-user',
|
|
304
389
|
USERS: 'pi pi-users',
|
|
305
390
|
VIDEO: 'pi pi-video',
|
|
306
391
|
VIMEO: 'pi pi-vimeo',
|
|
307
392
|
VOLUME_DOWN: 'pi pi-volume-down',
|
|
308
393
|
VOLUME_OFF: 'pi pi-volume-off',
|
|
309
394
|
VOLUME_UP: 'pi pi-volume-up',
|
|
310
|
-
YOUTUBE: 'pi pi-youtube',
|
|
311
395
|
WALLET: 'pi pi-wallet',
|
|
396
|
+
WHATSAPP: 'pi pi-whatsapp',
|
|
312
397
|
WIFI: 'pi pi-wifi',
|
|
313
398
|
WINDOW_MAXIMIZE: 'pi pi-window-maximize',
|
|
314
|
-
WINDOW_MINIMIZE: 'pi pi-window-minimize'
|
|
399
|
+
WINDOW_MINIMIZE: 'pi pi-window-minimize',
|
|
400
|
+
YOUTUBE: 'pi pi-youtube'
|
|
315
401
|
});
|
|
316
402
|
|
|
317
403
|
var MessageSeverity = Object.freeze({
|
|
@@ -321,10 +407,256 @@ var MessageSeverity = Object.freeze({
|
|
|
321
407
|
ERROR: 'error'
|
|
322
408
|
});
|
|
323
409
|
|
|
410
|
+
var FilterOperator = Object.freeze({
|
|
411
|
+
AND: 'and',
|
|
412
|
+
OR: 'or'
|
|
413
|
+
});
|
|
414
|
+
|
|
415
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
416
|
+
|
|
417
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
418
|
+
|
|
419
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
420
|
+
var FilterService = {
|
|
421
|
+
filter: function filter(value, fields, filterValue, filterMatchMode, filterLocale) {
|
|
422
|
+
var filteredItems = [];
|
|
423
|
+
|
|
424
|
+
if (value) {
|
|
425
|
+
var _iterator = _createForOfIteratorHelper(value),
|
|
426
|
+
_step;
|
|
427
|
+
|
|
428
|
+
try {
|
|
429
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
430
|
+
var item = _step.value;
|
|
431
|
+
|
|
432
|
+
var _iterator2 = _createForOfIteratorHelper(fields),
|
|
433
|
+
_step2;
|
|
434
|
+
|
|
435
|
+
try {
|
|
436
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
437
|
+
var field = _step2.value;
|
|
438
|
+
var fieldValue = utils.ObjectUtils.resolveFieldData(item, field);
|
|
439
|
+
|
|
440
|
+
if (this.filters[filterMatchMode](fieldValue, filterValue, filterLocale)) {
|
|
441
|
+
filteredItems.push(item);
|
|
442
|
+
break;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
} catch (err) {
|
|
446
|
+
_iterator2.e(err);
|
|
447
|
+
} finally {
|
|
448
|
+
_iterator2.f();
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
} catch (err) {
|
|
452
|
+
_iterator.e(err);
|
|
453
|
+
} finally {
|
|
454
|
+
_iterator.f();
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
return filteredItems;
|
|
459
|
+
},
|
|
460
|
+
filters: {
|
|
461
|
+
startsWith: function startsWith(value, filter, filterLocale) {
|
|
462
|
+
if (filter === undefined || filter === null || filter.trim() === '') {
|
|
463
|
+
return true;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
if (value === undefined || value === null) {
|
|
467
|
+
return false;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
var filterValue = utils.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
|
|
471
|
+
var stringValue = utils.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
|
|
472
|
+
return stringValue.slice(0, filterValue.length) === filterValue;
|
|
473
|
+
},
|
|
474
|
+
contains: function contains(value, filter, filterLocale) {
|
|
475
|
+
if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
|
|
476
|
+
return true;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
if (value === undefined || value === null) {
|
|
480
|
+
return false;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
var filterValue = utils.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
|
|
484
|
+
var stringValue = utils.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
|
|
485
|
+
return stringValue.indexOf(filterValue) !== -1;
|
|
486
|
+
},
|
|
487
|
+
notContains: function notContains(value, filter, filterLocale) {
|
|
488
|
+
if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
|
|
489
|
+
return true;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
if (value === undefined || value === null) {
|
|
493
|
+
return false;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
var filterValue = utils.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
|
|
497
|
+
var stringValue = utils.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
|
|
498
|
+
return stringValue.indexOf(filterValue) === -1;
|
|
499
|
+
},
|
|
500
|
+
endsWith: function endsWith(value, filter, filterLocale) {
|
|
501
|
+
if (filter === undefined || filter === null || filter.trim() === '') {
|
|
502
|
+
return true;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
if (value === undefined || value === null) {
|
|
506
|
+
return false;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
var filterValue = utils.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
|
|
510
|
+
var stringValue = utils.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
|
|
511
|
+
return stringValue.indexOf(filterValue, stringValue.length - filterValue.length) !== -1;
|
|
512
|
+
},
|
|
513
|
+
equals: function equals(value, filter, filterLocale) {
|
|
514
|
+
if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
|
|
515
|
+
return true;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
if (value === undefined || value === null) {
|
|
519
|
+
return false;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
if (value.getTime && filter.getTime) return value.getTime() === filter.getTime();else return utils.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale) === utils.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
|
|
523
|
+
},
|
|
524
|
+
notEquals: function notEquals(value, filter, filterLocale) {
|
|
525
|
+
if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
|
|
526
|
+
return false;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
if (value === undefined || value === null) {
|
|
530
|
+
return true;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
if (value.getTime && filter.getTime) return value.getTime() !== filter.getTime();else return utils.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale) !== utils.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
|
|
534
|
+
},
|
|
535
|
+
in: function _in(value, filter) {
|
|
536
|
+
if (filter === undefined || filter === null || filter.length === 0) {
|
|
537
|
+
return true;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
for (var i = 0; i < filter.length; i++) {
|
|
541
|
+
if (utils.ObjectUtils.equals(value, filter[i])) {
|
|
542
|
+
return true;
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
return false;
|
|
547
|
+
},
|
|
548
|
+
between: function between(value, filter) {
|
|
549
|
+
if (filter == null || filter[0] == null || filter[1] == null) {
|
|
550
|
+
return true;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
if (value === undefined || value === null) {
|
|
554
|
+
return false;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
if (value.getTime) return filter[0].getTime() <= value.getTime() && value.getTime() <= filter[1].getTime();else return filter[0] <= value && value <= filter[1];
|
|
558
|
+
},
|
|
559
|
+
lt: function lt(value, filter) {
|
|
560
|
+
if (filter === undefined || filter === null) {
|
|
561
|
+
return true;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
if (value === undefined || value === null) {
|
|
565
|
+
return false;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
if (value.getTime && filter.getTime) return value.getTime() < filter.getTime();else return value < filter;
|
|
569
|
+
},
|
|
570
|
+
lte: function lte(value, filter) {
|
|
571
|
+
if (filter === undefined || filter === null) {
|
|
572
|
+
return true;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
if (value === undefined || value === null) {
|
|
576
|
+
return false;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
if (value.getTime && filter.getTime) return value.getTime() <= filter.getTime();else return value <= filter;
|
|
580
|
+
},
|
|
581
|
+
gt: function gt(value, filter) {
|
|
582
|
+
if (filter === undefined || filter === null) {
|
|
583
|
+
return true;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
if (value === undefined || value === null) {
|
|
587
|
+
return false;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
if (value.getTime && filter.getTime) return value.getTime() > filter.getTime();else return value > filter;
|
|
591
|
+
},
|
|
592
|
+
gte: function gte(value, filter) {
|
|
593
|
+
if (filter === undefined || filter === null) {
|
|
594
|
+
return true;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
if (value === undefined || value === null) {
|
|
598
|
+
return false;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
if (value.getTime && filter.getTime) return value.getTime() >= filter.getTime();else return value >= filter;
|
|
602
|
+
},
|
|
603
|
+
dateIs: function dateIs(value, filter) {
|
|
604
|
+
if (filter === undefined || filter === null) {
|
|
605
|
+
return true;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
if (value === undefined || value === null) {
|
|
609
|
+
return false;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
return value.toDateString() === filter.toDateString();
|
|
613
|
+
},
|
|
614
|
+
dateIsNot: function dateIsNot(value, filter) {
|
|
615
|
+
if (filter === undefined || filter === null) {
|
|
616
|
+
return true;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
if (value === undefined || value === null) {
|
|
620
|
+
return false;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
return value.toDateString() !== filter.toDateString();
|
|
624
|
+
},
|
|
625
|
+
dateBefore: function dateBefore(value, filter) {
|
|
626
|
+
if (filter === undefined || filter === null) {
|
|
627
|
+
return true;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
if (value === undefined || value === null) {
|
|
631
|
+
return false;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
return value.getTime() < filter.getTime();
|
|
635
|
+
},
|
|
636
|
+
dateAfter: function dateAfter(value, filter) {
|
|
637
|
+
if (filter === undefined || filter === null) {
|
|
638
|
+
return true;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
if (value === undefined || value === null) {
|
|
642
|
+
return false;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
return value.getTime() > filter.getTime();
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
register: function register(rule, fn) {
|
|
649
|
+
this.filters[rule] = fn;
|
|
650
|
+
}
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
exports.FilterMatchMode = FilterMatchMode;
|
|
654
|
+
exports.FilterOperator = FilterOperator;
|
|
655
|
+
exports.FilterService = FilterService;
|
|
324
656
|
exports.MessageSeverity = MessageSeverity;
|
|
325
657
|
exports.PrimeIcons = PrimeIcons;
|
|
326
658
|
exports.addLocale = addLocale;
|
|
327
|
-
exports
|
|
659
|
+
exports["default"] = PrimeReact;
|
|
328
660
|
exports.locale = locale;
|
|
329
661
|
exports.localeOption = localeOption;
|
|
330
662
|
exports.localeOptions = localeOptions;
|