primereact 10.0.0 → 10.0.2
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 +1 -1
- package/accordion/accordion.esm.js +0 -1
- package/api/api.esm.js +0 -1
- package/autocomplete/autocomplete.esm.js +8 -7
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/avatar/avatar.esm.js +0 -1
- package/avatargroup/avatargroup.esm.js +0 -1
- package/badge/badge.esm.js +0 -1
- package/blockui/blockui.esm.js +3 -1
- package/blockui/blockui.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +0 -1
- package/button/button.esm.js +0 -1
- package/calendar/calendar.esm.js +2 -1
- package/calendar/calendar.esm.min.js +1 -1
- package/card/card.esm.js +0 -1
- package/carousel/carousel.esm.js +7 -8
- package/carousel/carousel.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +0 -1
- package/chart/chart.esm.js +0 -1
- package/checkbox/checkbox.esm.js +0 -1
- package/chip/chip.esm.js +0 -1
- package/chips/chips.esm.js +0 -1
- package/colorpicker/colorpicker.esm.js +0 -1
- package/column/column.esm.js +0 -1
- package/columngroup/columngroup.esm.js +0 -1
- package/componentbase/componentbase.cjs.js +12 -7
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.js +23 -13
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.js +12 -7
- package/componentbase/componentbase.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +0 -1
- package/confirmpopup/confirmpopup.esm.js +0 -1
- package/contextmenu/contextmenu.esm.js +0 -1
- package/core/core.js +12 -7
- package/core/core.min.js +1 -1
- package/csstransition/csstransition.esm.js +0 -1
- package/datascroller/datascroller.esm.js +0 -1
- package/datatable/datatable.esm.js +0 -1
- package/dataview/dataview.esm.js +0 -1
- package/deferredcontent/deferredcontent.esm.js +0 -1
- package/dialog/dialog.esm.js +2 -1
- package/dialog/dialog.esm.min.js +1 -1
- package/divider/divider.esm.js +0 -1
- package/dock/dock.esm.js +0 -1
- package/dropdown/dropdown.esm.js +0 -1
- package/editor/editor.esm.js +0 -1
- package/fieldset/fieldset.esm.js +0 -1
- package/fileupload/fileupload.esm.js +0 -1
- package/galleria/galleria.esm.js +11 -7
- package/galleria/galleria.esm.min.js +1 -1
- package/hooks/hooks.esm.js +0 -6
- package/iconbase/iconbase.esm.js +0 -1
- package/icons/angledoubledown/index.esm.js +0 -1
- package/icons/angledoubleleft/index.esm.js +0 -1
- package/icons/angledoubleright/index.esm.js +0 -1
- package/icons/angledoubleup/index.esm.js +0 -1
- package/icons/angledown/index.esm.js +0 -1
- package/icons/angleleft/index.esm.js +0 -1
- package/icons/angleright/index.esm.js +0 -1
- package/icons/angleup/index.esm.js +0 -1
- package/icons/arrowdown/index.esm.js +0 -1
- package/icons/arrowup/index.esm.js +0 -1
- package/icons/ban/index.esm.js +0 -1
- package/icons/bars/index.esm.js +0 -1
- package/icons/calendar/index.esm.js +0 -1
- package/icons/check/index.esm.js +0 -1
- package/icons/chevrondown/index.esm.js +0 -1
- package/icons/chevronleft/index.esm.js +0 -1
- package/icons/chevronright/index.esm.js +0 -1
- package/icons/chevronup/index.esm.js +0 -1
- package/icons/download/index.esm.js +0 -1
- package/icons/exclamationtriangle/index.esm.js +0 -1
- package/icons/eye/index.esm.js +0 -1
- package/icons/eyeslash/index.esm.js +0 -1
- package/icons/filter/index.esm.js +0 -1
- package/icons/filterslash/index.esm.js +0 -1
- package/icons/infocircle/index.esm.js +0 -1
- package/icons/minus/index.esm.js +0 -1
- package/icons/pencil/index.esm.js +0 -1
- package/icons/plus/index.esm.js +0 -1
- package/icons/refresh/index.esm.js +0 -1
- package/icons/search/index.esm.js +0 -1
- package/icons/searchminus/index.esm.js +0 -1
- package/icons/searchplus/index.esm.js +0 -1
- package/icons/sortalt/index.esm.js +0 -1
- package/icons/sortamountdown/index.esm.js +0 -1
- package/icons/sortamountupalt/index.esm.js +0 -1
- package/icons/spinner/index.esm.js +0 -1
- package/icons/star/index.esm.js +0 -1
- package/icons/starfill/index.esm.js +0 -1
- package/icons/thlarge/index.esm.js +0 -1
- package/icons/times/index.esm.js +0 -1
- package/icons/timescircle/index.esm.js +0 -1
- package/icons/trash/index.esm.js +0 -1
- package/icons/undo/index.esm.js +0 -1
- package/icons/upload/index.esm.js +0 -1
- package/icons/windowmaximize/index.esm.js +0 -1
- package/icons/windowminimize/index.esm.js +0 -1
- package/image/image.esm.js +2 -1
- package/image/image.esm.min.js +1 -1
- package/inplace/inplace.esm.js +0 -1
- package/inputmask/inputmask.esm.js +0 -1
- package/inputnumber/inputnumber.esm.js +0 -1
- package/inputswitch/inputswitch.esm.js +0 -1
- package/inputtext/inputtext.esm.js +0 -1
- package/inputtextarea/inputtextarea.esm.js +0 -1
- package/keyfilter/keyfilter.esm.js +0 -1
- package/knob/knob.esm.js +0 -1
- package/listbox/listbox.esm.js +0 -1
- package/megamenu/megamenu.esm.js +0 -1
- package/mention/mention.esm.js +0 -1
- package/menu/menu.esm.js +0 -1
- package/menubar/menubar.esm.js +0 -1
- package/message/message.esm.js +0 -1
- package/messages/messages.esm.js +1 -2
- package/messages/messages.esm.min.js +1 -1
- package/multiselect/multiselect.esm.js +0 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +0 -1
- package/orderlist/orderlist.esm.js +9 -5
- package/orderlist/orderlist.esm.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +0 -1
- package/overlaypanel/overlaypanel.esm.js +0 -1
- package/overlayservice/overlayservice.esm.js +0 -1
- package/package.json +2 -2
- package/paginator/paginator.esm.js +0 -1
- package/panel/panel.esm.js +0 -1
- package/panelmenu/panelmenu.esm.js +0 -1
- package/passthrough/index.esm.js +0 -1
- package/passthrough/tailwind/index.cjs.js +2 -4
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +149 -148
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +2 -4
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.esm.js +0 -1
- package/picklist/picklist.esm.js +0 -1
- package/portal/portal.esm.js +0 -1
- package/primereact.all.cjs.js +12 -7
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +70 -42
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +12 -7
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.esm.js +0 -1
- package/progressspinner/progressspinner.esm.js +0 -1
- package/radiobutton/radiobutton.esm.js +0 -1
- package/rating/rating.esm.js +0 -1
- package/ripple/ripple.esm.js +0 -1
- package/row/row.esm.js +0 -1
- package/scrollpanel/scrollpanel.esm.js +0 -1
- package/scrolltop/scrolltop.esm.js +0 -1
- package/selectbutton/selectbutton.esm.js +0 -1
- package/sidebar/sidebar.esm.js +2 -1
- package/sidebar/sidebar.esm.min.js +1 -1
- package/skeleton/skeleton.esm.js +0 -1
- package/slidemenu/slidemenu.esm.js +0 -1
- package/slider/slider.esm.js +0 -1
- package/speeddial/speeddial.esm.js +0 -1
- package/splitbutton/splitbutton.esm.js +0 -1
- package/splitter/splitter.esm.js +0 -1
- package/steps/steps.esm.js +0 -1
- package/styleclass/styleclass.esm.js +0 -1
- package/tabmenu/tabmenu.esm.js +0 -1
- package/tabview/tabview.esm.js +0 -1
- package/tag/tag.esm.js +0 -1
- package/terminal/terminal.esm.js +0 -1
- package/terminalservice/terminalservice.esm.js +0 -1
- package/tieredmenu/tieredmenu.esm.js +0 -1
- package/timeline/timeline.esm.js +0 -1
- package/toast/toast.esm.js +0 -1
- package/togglebutton/togglebutton.esm.js +0 -1
- package/toolbar/toolbar.esm.js +0 -1
- package/tooltip/tooltip.esm.js +0 -1
- package/tree/tree.esm.js +0 -1
- package/treeselect/treeselect.esm.js +0 -1
- package/treetable/treetable.esm.js +0 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +0 -1
- package/utils/utils.esm.js +0 -1
- package/virtualscroller/virtualscroller.esm.js +0 -1
- package/web-types.json +1 -1
- package/accordion/accordion.esm.min.mjs +0 -1
- package/accordion/accordion.esm.mjs +0 -420
- package/api/api.esm.min.mjs +0 -1
- package/api/api.esm.mjs +0 -943
- package/autocomplete/autocomplete.esm.min.mjs +0 -1
- package/autocomplete/autocomplete.esm.mjs +0 -1128
- package/avatar/avatar.esm.min.mjs +0 -1
- package/avatar/avatar.esm.mjs +0 -244
- package/avatargroup/avatargroup.esm.min.mjs +0 -1
- package/avatargroup/avatargroup.esm.mjs +0 -54
- package/badge/badge.esm.min.mjs +0 -1
- package/badge/badge.esm.mjs +0 -109
- package/blockui/blockui.esm.min.mjs +0 -1
- package/blockui/blockui.esm.mjs +0 -267
- package/breadcrumb/breadcrumb.esm.min.mjs +0 -1
- package/breadcrumb/breadcrumb.esm.mjs +0 -350
- package/button/button.esm.min.mjs +0 -1
- package/button/button.esm.mjs +0 -294
- package/calendar/calendar.esm.min.mjs +0 -1
- package/calendar/calendar.esm.mjs +0 -3474
- package/card/card.esm.min.mjs +0 -1
- package/card/card.esm.mjs +0 -97
- package/carousel/carousel.esm.min.mjs +0 -1
- package/carousel/carousel.esm.mjs +0 -800
- package/cascadeselect/cascadeselect.esm.min.mjs +0 -1
- package/cascadeselect/cascadeselect.esm.mjs +0 -818
- package/chart/chart.esm.min.mjs +0 -1
- package/chart/chart.esm.mjs +0 -154
- package/checkbox/checkbox.esm.min.mjs +0 -1
- package/checkbox/checkbox.esm.mjs +0 -356
- package/chip/chip.esm.min.mjs +0 -1
- package/chip/chip.esm.mjs +0 -247
- package/chips/chips.esm.min.mjs +0 -1
- package/chips/chips.esm.mjs +0 -500
- package/colorpicker/colorpicker.esm.min.mjs +0 -1
- package/colorpicker/colorpicker.esm.mjs +0 -787
- package/column/column.esm.min.mjs +0 -1
- package/column/column.esm.mjs +0 -7
- package/columngroup/columngroup.esm.min.mjs +0 -1
- package/columngroup/columngroup.esm.mjs +0 -5
- package/componentbase/componentbase.esm.min.mjs +0 -1
- package/componentbase/componentbase.esm.mjs +0 -328
- package/confirmdialog/confirmdialog.esm.min.mjs +0 -1
- package/confirmdialog/confirmdialog.esm.mjs +0 -375
- package/confirmpopup/confirmpopup.esm.min.mjs +0 -1
- package/confirmpopup/confirmpopup.esm.mjs +0 -609
- package/contextmenu/contextmenu.esm.min.mjs +0 -1
- package/contextmenu/contextmenu.esm.mjs +0 -663
- package/csstransition/csstransition.esm.min.mjs +0 -1
- package/csstransition/csstransition.esm.mjs +0 -137
- package/datascroller/datascroller.esm.min.mjs +0 -1
- package/datascroller/datascroller.esm.mjs +0 -319
- package/datatable/datatable.esm.min.mjs +0 -1
- package/datatable/datatable.esm.mjs +0 -6635
- package/dataview/dataview.esm.min.mjs +0 -1
- package/dataview/dataview.esm.mjs +0 -505
- package/deferredcontent/deferredcontent.esm.min.mjs +0 -1
- package/deferredcontent/deferredcontent.esm.mjs +0 -132
- package/dialog/dialog.esm.min.mjs +0 -1
- package/dialog/dialog.esm.mjs +0 -984
- package/divider/divider.esm.min.mjs +0 -1
- package/divider/divider.esm.mjs +0 -78
- package/dock/dock.esm.min.mjs +0 -1
- package/dock/dock.esm.mjs +0 -347
- package/dropdown/dropdown.esm.min.mjs +0 -1
- package/dropdown/dropdown.esm.mjs +0 -1379
- package/editor/editor.esm.min.mjs +0 -1
- package/editor/editor.esm.mjs +0 -337
- package/fieldset/fieldset.esm.min.mjs +0 -1
- package/fieldset/fieldset.esm.mjs +0 -269
- package/fileupload/fileupload.esm.min.mjs +0 -1
- package/fileupload/fileupload.esm.mjs +0 -1004
- package/galleria/galleria.esm.min.mjs +0 -1
- package/galleria/galleria.esm.mjs +0 -1094
- package/hooks/hooks.esm.min.mjs +0 -1
- package/hooks/hooks.esm.mjs +0 -1036
- package/iconbase/iconbase.esm.min.mjs +0 -1
- package/iconbase/iconbase.esm.mjs +0 -32
- package/icons/angledoubledown/index.esm.min.mjs +0 -1
- package/icons/angledoubledown/index.esm.mjs +0 -38
- package/icons/angledoubleleft/index.esm.min.mjs +0 -1
- package/icons/angledoubleleft/index.esm.mjs +0 -38
- package/icons/angledoubleright/index.esm.min.mjs +0 -1
- package/icons/angledoubleright/index.esm.mjs +0 -38
- package/icons/angledoubleup/index.esm.min.mjs +0 -1
- package/icons/angledoubleup/index.esm.mjs +0 -38
- package/icons/angledown/index.esm.min.mjs +0 -1
- package/icons/angledown/index.esm.mjs +0 -36
- package/icons/angleleft/index.esm.min.mjs +0 -1
- package/icons/angleleft/index.esm.mjs +0 -36
- package/icons/angleright/index.esm.min.mjs +0 -1
- package/icons/angleright/index.esm.mjs +0 -36
- package/icons/angleup/index.esm.min.mjs +0 -1
- package/icons/angleup/index.esm.mjs +0 -36
- package/icons/arrowdown/index.esm.min.mjs +0 -1
- package/icons/arrowdown/index.esm.mjs +0 -660
- package/icons/arrowup/index.esm.min.mjs +0 -1
- package/icons/arrowup/index.esm.mjs +0 -660
- package/icons/ban/index.esm.min.mjs +0 -1
- package/icons/ban/index.esm.mjs +0 -658
- package/icons/bars/index.esm.min.mjs +0 -1
- package/icons/bars/index.esm.mjs +0 -38
- package/icons/calendar/index.esm.min.mjs +0 -1
- package/icons/calendar/index.esm.mjs +0 -36
- package/icons/check/index.esm.min.mjs +0 -1
- package/icons/check/index.esm.mjs +0 -36
- package/icons/chevrondown/index.esm.min.mjs +0 -1
- package/icons/chevrondown/index.esm.mjs +0 -36
- package/icons/chevronleft/index.esm.min.mjs +0 -1
- package/icons/chevronleft/index.esm.mjs +0 -36
- package/icons/chevronright/index.esm.min.mjs +0 -1
- package/icons/chevronright/index.esm.mjs +0 -36
- package/icons/chevronup/index.esm.min.mjs +0 -1
- package/icons/chevronup/index.esm.mjs +0 -36
- package/icons/download/index.esm.min.mjs +0 -1
- package/icons/download/index.esm.mjs +0 -660
- package/icons/exclamationtriangle/index.esm.min.mjs +0 -1
- package/icons/exclamationtriangle/index.esm.mjs +0 -664
- package/icons/eye/index.esm.min.mjs +0 -1
- package/icons/eye/index.esm.mjs +0 -38
- package/icons/eyeslash/index.esm.min.mjs +0 -1
- package/icons/eyeslash/index.esm.mjs +0 -660
- package/icons/filter/index.esm.min.mjs +0 -1
- package/icons/filter/index.esm.mjs +0 -658
- package/icons/filterslash/index.esm.min.mjs +0 -1
- package/icons/filterslash/index.esm.mjs +0 -660
- package/icons/infocircle/index.esm.min.mjs +0 -1
- package/icons/infocircle/index.esm.mjs +0 -660
- package/icons/minus/index.esm.min.mjs +0 -1
- package/icons/minus/index.esm.mjs +0 -36
- package/icons/pencil/index.esm.min.mjs +0 -1
- package/icons/pencil/index.esm.mjs +0 -658
- package/icons/plus/index.esm.min.mjs +0 -1
- package/icons/plus/index.esm.mjs +0 -658
- package/icons/refresh/index.esm.min.mjs +0 -1
- package/icons/refresh/index.esm.mjs +0 -660
- package/icons/search/index.esm.min.mjs +0 -1
- package/icons/search/index.esm.mjs +0 -660
- package/icons/searchminus/index.esm.min.mjs +0 -1
- package/icons/searchminus/index.esm.mjs +0 -660
- package/icons/searchplus/index.esm.min.mjs +0 -1
- package/icons/searchplus/index.esm.mjs +0 -660
- package/icons/sortalt/index.esm.min.mjs +0 -1
- package/icons/sortalt/index.esm.mjs +0 -667
- package/icons/sortamountdown/index.esm.min.mjs +0 -1
- package/icons/sortamountdown/index.esm.mjs +0 -673
- package/icons/sortamountupalt/index.esm.min.mjs +0 -1
- package/icons/sortamountupalt/index.esm.mjs +0 -673
- package/icons/spinner/index.esm.min.mjs +0 -1
- package/icons/spinner/index.esm.mjs +0 -658
- package/icons/star/index.esm.min.mjs +0 -1
- package/icons/star/index.esm.mjs +0 -658
- package/icons/starfill/index.esm.min.mjs +0 -1
- package/icons/starfill/index.esm.mjs +0 -658
- package/icons/thlarge/index.esm.min.mjs +0 -1
- package/icons/thlarge/index.esm.mjs +0 -660
- package/icons/times/index.esm.min.mjs +0 -1
- package/icons/times/index.esm.mjs +0 -36
- package/icons/timescircle/index.esm.min.mjs +0 -1
- package/icons/timescircle/index.esm.mjs +0 -660
- package/icons/trash/index.esm.min.mjs +0 -1
- package/icons/trash/index.esm.mjs +0 -660
- package/icons/undo/index.esm.min.mjs +0 -1
- package/icons/undo/index.esm.mjs +0 -660
- package/icons/upload/index.esm.min.mjs +0 -1
- package/icons/upload/index.esm.mjs +0 -660
- package/icons/windowmaximize/index.esm.min.mjs +0 -1
- package/icons/windowmaximize/index.esm.mjs +0 -660
- package/icons/windowminimize/index.esm.min.mjs +0 -1
- package/icons/windowminimize/index.esm.mjs +0 -660
- package/image/image.esm.min.mjs +0 -1
- package/image/image.esm.mjs +0 -1163
- package/inplace/inplace.esm.min.mjs +0 -1
- package/inplace/inplace.esm.mjs +0 -242
- package/inputmask/inputmask.esm.min.mjs +0 -1
- package/inputmask/inputmask.esm.mjs +0 -559
- package/inputnumber/inputnumber.esm.min.mjs +0 -1
- package/inputnumber/inputnumber.esm.mjs +0 -1208
- package/inputswitch/inputswitch.esm.min.mjs +0 -1
- package/inputswitch/inputswitch.esm.mjs +0 -290
- package/inputtext/inputtext.esm.min.mjs +0 -1
- package/inputtext/inputtext.esm.mjs +0 -170
- package/inputtextarea/inputtextarea.esm.min.mjs +0 -1
- package/inputtextarea/inputtextarea.esm.mjs +0 -219
- package/keyfilter/keyfilter.esm.min.mjs +0 -1
- package/keyfilter/keyfilter.esm.mjs +0 -107
- package/knob/knob.esm.min.mjs +0 -1
- package/knob/knob.esm.mjs +0 -317
- package/listbox/listbox.esm.min.mjs +0 -1
- package/listbox/listbox.esm.mjs +0 -809
- package/megamenu/megamenu.esm.min.mjs +0 -1
- package/megamenu/megamenu.esm.mjs +0 -715
- package/mention/mention.esm.min.mjs +0 -1
- package/mention/mention.esm.mjs +0 -770
- package/menu/menu.esm.min.mjs +0 -1
- package/menu/menu.esm.mjs +0 -484
- package/menubar/menubar.esm.min.mjs +0 -1
- package/menubar/menubar.esm.mjs +0 -583
- package/message/message.esm.min.mjs +0 -1
- package/message/message.esm.mjs +0 -168
- package/messages/messages.esm.min.mjs +0 -1
- package/messages/messages.esm.mjs +0 -438
- package/multiselect/multiselect.esm.min.mjs +0 -1
- package/multiselect/multiselect.esm.mjs +0 -1723
- package/multistatecheckbox/multistatecheckbox.esm.min.mjs +0 -1
- package/multistatecheckbox/multistatecheckbox.esm.mjs +0 -351
- package/orderlist/orderlist.esm.min.mjs +0 -1
- package/orderlist/orderlist.esm.mjs +0 -820
- package/organizationchart/organizationchart.esm.min.mjs +0 -1
- package/organizationchart/organizationchart.esm.mjs +0 -479
- package/overlaypanel/overlaypanel.esm.min.mjs +0 -1
- package/overlaypanel/overlaypanel.esm.mjs +0 -515
- package/overlayservice/overlayservice.esm.min.mjs +0 -1
- package/overlayservice/overlayservice.esm.mjs +0 -6
- package/paginator/paginator.esm.min.mjs +0 -1
- package/paginator/paginator.esm.mjs +0 -932
- package/panel/panel.esm.min.mjs +0 -1
- package/panel/panel.esm.mjs +0 -315
- package/panelmenu/panelmenu.esm.min.mjs +0 -1
- package/panelmenu/panelmenu.esm.mjs +0 -644
- package/passthrough/index.esm.min.mjs +0 -1
- package/passthrough/index.esm.mjs +0 -70
- package/passthrough/tailwind/index.esm.min.mjs +0 -1
- package/passthrough/tailwind/index.esm.mjs +0 -3513
- package/password/password.esm.min.mjs +0 -1
- package/password/password.esm.mjs +0 -566
- package/picklist/picklist.esm.min.mjs +0 -1
- package/picklist/picklist.esm.mjs +0 -1118
- package/portal/portal.esm.min.mjs +0 -1
- package/portal/portal.esm.mjs +0 -109
- package/primereact.all.esm.min.mjs +0 -1
- package/primereact.all.esm.mjs +0 -51669
- package/progressbar/progressbar.esm.min.mjs +0 -1
- package/progressbar/progressbar.esm.mjs +0 -189
- package/progressspinner/progressspinner.esm.min.mjs +0 -1
- package/progressspinner/progressspinner.esm.mjs +0 -87
- package/radiobutton/radiobutton.esm.min.mjs +0 -1
- package/radiobutton/radiobutton.esm.mjs +0 -328
- package/rating/rating.esm.min.mjs +0 -1
- package/rating/rating.esm.mjs +0 -272
- package/ripple/ripple.esm.min.mjs +0 -1
- package/ripple/ripple.esm.mjs +0 -99
- package/row/row.esm.min.mjs +0 -1
- package/row/row.esm.mjs +0 -35
- package/scrollpanel/scrollpanel.esm.min.mjs +0 -1
- package/scrollpanel/scrollpanel.esm.mjs +0 -209
- package/scrolltop/scrolltop.esm.min.mjs +0 -1
- package/scrolltop/scrolltop.esm.mjs +0 -268
- package/selectbutton/selectbutton.esm.min.mjs +0 -1
- package/selectbutton/selectbutton.esm.mjs +0 -326
- package/sidebar/sidebar.esm.min.mjs +0 -1
- package/sidebar/sidebar.esm.mjs +0 -544
- package/skeleton/skeleton.esm.min.mjs +0 -1
- package/skeleton/skeleton.esm.mjs +0 -124
- package/slidemenu/slidemenu.esm.min.mjs +0 -1
- package/slidemenu/slidemenu.esm.mjs +0 -688
- package/slider/slider.esm.min.mjs +0 -1
- package/slider/slider.esm.mjs +0 -477
- package/speeddial/speeddial.esm.min.mjs +0 -1
- package/speeddial/speeddial.esm.mjs +0 -520
- package/splitbutton/splitbutton.esm.min.mjs +0 -1
- package/splitbutton/splitbutton.esm.mjs +0 -544
- package/splitter/splitter.esm.min.mjs +0 -1
- package/splitter/splitter.esm.mjs +0 -465
- package/steps/steps.esm.min.mjs +0 -1
- package/steps/steps.esm.mjs +0 -293
- package/styleclass/styleclass.esm.min.mjs +0 -1
- package/styleclass/styleclass.esm.mjs +0 -268
- package/tabmenu/tabmenu.esm.min.mjs +0 -1
- package/tabmenu/tabmenu.esm.mjs +0 -331
- package/tabview/tabview.esm.min.mjs +0 -1
- package/tabview/tabview.esm.mjs +0 -677
- package/tag/tag.esm.min.mjs +0 -1
- package/tag/tag.esm.mjs +0 -116
- package/terminal/terminal.esm.min.mjs +0 -1
- package/terminal/terminal.esm.mjs +0 -279
- package/terminalservice/terminalservice.esm.min.mjs +0 -1
- package/terminalservice/terminalservice.esm.mjs +0 -6
- package/tieredmenu/tieredmenu.esm.min.mjs +0 -1
- package/tieredmenu/tieredmenu.esm.mjs +0 -698
- package/timeline/timeline.esm.min.mjs +0 -1
- package/timeline/timeline.esm.mjs +0 -163
- package/toast/toast.esm.min.mjs +0 -1
- package/toast/toast.esm.mjs +0 -738
- package/togglebutton/togglebutton.esm.min.mjs +0 -1
- package/togglebutton/togglebutton.esm.mjs +0 -216
- package/toolbar/toolbar.esm.min.mjs +0 -1
- package/toolbar/toolbar.esm.mjs +0 -78
- package/tooltip/tooltip.esm.min.mjs +0 -1
- package/tooltip/tooltip.esm.mjs +0 -695
- package/tree/tree.esm.min.mjs +0 -1
- package/tree/tree.esm.mjs +0 -1402
- package/treeselect/treeselect.esm.min.mjs +0 -1
- package/treeselect/treeselect.esm.mjs +0 -929
- package/treetable/treetable.esm.min.mjs +0 -1
- package/treetable/treetable.esm.mjs +0 -3093
- package/tristatecheckbox/tristatecheckbox.esm.min.mjs +0 -1
- package/tristatecheckbox/tristatecheckbox.esm.mjs +0 -291
- package/utils/utils.esm.min.mjs +0 -1
- package/utils/utils.esm.mjs +0 -2382
- package/virtualscroller/virtualscroller.esm.min.mjs +0 -1
- package/virtualscroller/virtualscroller.esm.mjs +0 -971
package/icons/ban/index.esm.mjs
DELETED
|
@@ -1,658 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { IconBase } from 'primereact/iconbase';
|
|
4
|
-
|
|
5
|
-
function _extends() {
|
|
6
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
7
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
8
|
-
var source = arguments[i];
|
|
9
|
-
for (var key in source) {
|
|
10
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
11
|
-
target[key] = source[key];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
return target;
|
|
16
|
-
};
|
|
17
|
-
return _extends.apply(this, arguments);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function _arrayWithHoles(arr) {
|
|
21
|
-
if (Array.isArray(arr)) return arr;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
function _iterableToArrayLimit(r, l) {
|
|
25
|
-
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
26
|
-
if (null != t) {
|
|
27
|
-
var e,
|
|
28
|
-
n,
|
|
29
|
-
i,
|
|
30
|
-
u,
|
|
31
|
-
a = [],
|
|
32
|
-
f = !0,
|
|
33
|
-
o = !1;
|
|
34
|
-
try {
|
|
35
|
-
if (i = (t = t.call(r)).next, 0 === l) {
|
|
36
|
-
if (Object(t) !== t) return;
|
|
37
|
-
f = !1;
|
|
38
|
-
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
39
|
-
} catch (r) {
|
|
40
|
-
o = !0, n = r;
|
|
41
|
-
} finally {
|
|
42
|
-
try {
|
|
43
|
-
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
44
|
-
} finally {
|
|
45
|
-
if (o) throw n;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
return a;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
function _arrayLikeToArray$1(arr, len) {
|
|
53
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
54
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
55
|
-
return arr2;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
function _unsupportedIterableToArray$1(o, minLen) {
|
|
59
|
-
if (!o) return;
|
|
60
|
-
if (typeof o === "string") return _arrayLikeToArray$1(o, minLen);
|
|
61
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
62
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
63
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
64
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
function _nonIterableRest() {
|
|
68
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
function _slicedToArray(arr, i) {
|
|
72
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest();
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function _typeof(o) {
|
|
76
|
-
"@babel/helpers - typeof";
|
|
77
|
-
|
|
78
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
79
|
-
return typeof o;
|
|
80
|
-
} : function (o) {
|
|
81
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
82
|
-
}, _typeof(o);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
function _arrayWithoutHoles(arr) {
|
|
86
|
-
if (Array.isArray(arr)) return _arrayLikeToArray$1(arr);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
function _iterableToArray(iter) {
|
|
90
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
function _nonIterableSpread() {
|
|
94
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
function _toConsumableArray(arr) {
|
|
98
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread();
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
function _classCallCheck(instance, Constructor) {
|
|
102
|
-
if (!(instance instanceof Constructor)) {
|
|
103
|
-
throw new TypeError("Cannot call a class as a function");
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function _toPrimitive(input, hint) {
|
|
108
|
-
if (_typeof(input) !== "object" || input === null) return input;
|
|
109
|
-
var prim = input[Symbol.toPrimitive];
|
|
110
|
-
if (prim !== undefined) {
|
|
111
|
-
var res = prim.call(input, hint || "default");
|
|
112
|
-
if (_typeof(res) !== "object") return res;
|
|
113
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
114
|
-
}
|
|
115
|
-
return (hint === "string" ? String : Number)(input);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
function _toPropertyKey(arg) {
|
|
119
|
-
var key = _toPrimitive(arg, "string");
|
|
120
|
-
return _typeof(key) === "symbol" ? key : String(key);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
function _defineProperties(target, props) {
|
|
124
|
-
for (var i = 0; i < props.length; i++) {
|
|
125
|
-
var descriptor = props[i];
|
|
126
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
127
|
-
descriptor.configurable = true;
|
|
128
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
129
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
133
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
134
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
135
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
136
|
-
writable: false
|
|
137
|
-
});
|
|
138
|
-
return Constructor;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
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; } } }; }
|
|
142
|
-
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); }
|
|
143
|
-
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; }
|
|
144
|
-
var ObjectUtils = /*#__PURE__*/function () {
|
|
145
|
-
function ObjectUtils() {
|
|
146
|
-
_classCallCheck(this, ObjectUtils);
|
|
147
|
-
}
|
|
148
|
-
_createClass(ObjectUtils, null, [{
|
|
149
|
-
key: "equals",
|
|
150
|
-
value: function equals(obj1, obj2, field) {
|
|
151
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
152
|
-
}
|
|
153
|
-
}, {
|
|
154
|
-
key: "deepEquals",
|
|
155
|
-
value: function deepEquals(a, b) {
|
|
156
|
-
if (a === b) return true;
|
|
157
|
-
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
158
|
-
var arrA = Array.isArray(a),
|
|
159
|
-
arrB = Array.isArray(b),
|
|
160
|
-
i,
|
|
161
|
-
length,
|
|
162
|
-
key;
|
|
163
|
-
if (arrA && arrB) {
|
|
164
|
-
length = a.length;
|
|
165
|
-
if (length !== b.length) return false;
|
|
166
|
-
for (i = length; i-- !== 0;) if (!this.deepEquals(a[i], b[i])) return false;
|
|
167
|
-
return true;
|
|
168
|
-
}
|
|
169
|
-
if (arrA !== arrB) return false;
|
|
170
|
-
var dateA = a instanceof Date,
|
|
171
|
-
dateB = b instanceof Date;
|
|
172
|
-
if (dateA !== dateB) return false;
|
|
173
|
-
if (dateA && dateB) return a.getTime() === b.getTime();
|
|
174
|
-
var regexpA = a instanceof RegExp,
|
|
175
|
-
regexpB = b instanceof RegExp;
|
|
176
|
-
if (regexpA !== regexpB) return false;
|
|
177
|
-
if (regexpA && regexpB) return a.toString() === b.toString();
|
|
178
|
-
var keys = Object.keys(a);
|
|
179
|
-
length = keys.length;
|
|
180
|
-
if (length !== Object.keys(b).length) return false;
|
|
181
|
-
for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
182
|
-
for (i = length; i-- !== 0;) {
|
|
183
|
-
key = keys[i];
|
|
184
|
-
if (!this.deepEquals(a[key], b[key])) return false;
|
|
185
|
-
}
|
|
186
|
-
return true;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/*eslint no-self-compare: "off"*/
|
|
190
|
-
return a !== a && b !== b;
|
|
191
|
-
}
|
|
192
|
-
}, {
|
|
193
|
-
key: "resolveFieldData",
|
|
194
|
-
value: function resolveFieldData(data, field) {
|
|
195
|
-
if (!data || !field) {
|
|
196
|
-
// short circuit if there is nothing to resolve
|
|
197
|
-
return null;
|
|
198
|
-
}
|
|
199
|
-
try {
|
|
200
|
-
var value = data[field];
|
|
201
|
-
if (this.isNotEmpty(value)) return value;
|
|
202
|
-
} catch (_unused) {
|
|
203
|
-
// Performance optimization: https://github.com/primefaces/primereact/issues/4797
|
|
204
|
-
// do nothing and continue to other methods to resolve field data
|
|
205
|
-
}
|
|
206
|
-
if (Object.keys(data).length) {
|
|
207
|
-
if (this.isFunction(field)) {
|
|
208
|
-
return field(data);
|
|
209
|
-
} else if (this.isNotEmpty(data[field])) {
|
|
210
|
-
return data[field];
|
|
211
|
-
} else if (field.indexOf('.') === -1) {
|
|
212
|
-
return data[field];
|
|
213
|
-
} else {
|
|
214
|
-
var fields = field.split('.');
|
|
215
|
-
var _value = data;
|
|
216
|
-
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
217
|
-
if (_value == null) {
|
|
218
|
-
return null;
|
|
219
|
-
}
|
|
220
|
-
_value = _value[fields[i]];
|
|
221
|
-
}
|
|
222
|
-
return _value;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
return null;
|
|
226
|
-
}
|
|
227
|
-
}, {
|
|
228
|
-
key: "findDiffKeys",
|
|
229
|
-
value: function findDiffKeys(obj1, obj2) {
|
|
230
|
-
if (!obj1 || !obj2) {
|
|
231
|
-
return {};
|
|
232
|
-
}
|
|
233
|
-
return Object.keys(obj1).filter(function (key) {
|
|
234
|
-
return !obj2.hasOwnProperty(key);
|
|
235
|
-
}).reduce(function (result, current) {
|
|
236
|
-
result[current] = obj1[current];
|
|
237
|
-
return result;
|
|
238
|
-
}, {});
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* Removes keys from a JSON object that start with a string such as "data" to get all "data-id" type properties.
|
|
243
|
-
*
|
|
244
|
-
* @param {any} obj the JSON object to reduce
|
|
245
|
-
* @param {string[]} startsWiths the string(s) to check if the property starts with this key
|
|
246
|
-
* @returns the JSON object containing only the key/values that match the startsWith string
|
|
247
|
-
*/
|
|
248
|
-
}, {
|
|
249
|
-
key: "reduceKeys",
|
|
250
|
-
value: function reduceKeys(obj, startsWiths) {
|
|
251
|
-
var result = {};
|
|
252
|
-
if (!obj || !startsWiths || startsWiths.length === 0) {
|
|
253
|
-
return result;
|
|
254
|
-
}
|
|
255
|
-
Object.keys(obj).filter(function (key) {
|
|
256
|
-
return startsWiths.some(function (value) {
|
|
257
|
-
return key.startsWith(value);
|
|
258
|
-
});
|
|
259
|
-
}).forEach(function (key) {
|
|
260
|
-
result[key] = obj[key];
|
|
261
|
-
delete obj[key];
|
|
262
|
-
});
|
|
263
|
-
return result;
|
|
264
|
-
}
|
|
265
|
-
}, {
|
|
266
|
-
key: "reorderArray",
|
|
267
|
-
value: function reorderArray(value, from, to) {
|
|
268
|
-
if (value && from !== to) {
|
|
269
|
-
if (to >= value.length) {
|
|
270
|
-
to %= value.length;
|
|
271
|
-
from %= value.length;
|
|
272
|
-
}
|
|
273
|
-
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}, {
|
|
277
|
-
key: "findIndexInList",
|
|
278
|
-
value: function findIndexInList(value, list, dataKey) {
|
|
279
|
-
var _this = this;
|
|
280
|
-
if (list) {
|
|
281
|
-
return dataKey ? list.findIndex(function (item) {
|
|
282
|
-
return _this.equals(item, value, dataKey);
|
|
283
|
-
}) : list.findIndex(function (item) {
|
|
284
|
-
return item === value;
|
|
285
|
-
});
|
|
286
|
-
}
|
|
287
|
-
return -1;
|
|
288
|
-
}
|
|
289
|
-
}, {
|
|
290
|
-
key: "getJSXElement",
|
|
291
|
-
value: function getJSXElement(obj) {
|
|
292
|
-
for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
293
|
-
params[_key - 1] = arguments[_key];
|
|
294
|
-
}
|
|
295
|
-
return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
|
|
296
|
-
}
|
|
297
|
-
}, {
|
|
298
|
-
key: "getItemValue",
|
|
299
|
-
value: function getItemValue(obj) {
|
|
300
|
-
for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
301
|
-
params[_key2 - 1] = arguments[_key2];
|
|
302
|
-
}
|
|
303
|
-
return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
|
|
304
|
-
}
|
|
305
|
-
}, {
|
|
306
|
-
key: "getProp",
|
|
307
|
-
value: function getProp(props) {
|
|
308
|
-
var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
309
|
-
var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
310
|
-
var value = props ? props[prop] : undefined;
|
|
311
|
-
return value === undefined ? defaultProps[prop] : value;
|
|
312
|
-
}
|
|
313
|
-
}, {
|
|
314
|
-
key: "getPropCaseInsensitive",
|
|
315
|
-
value: function getPropCaseInsensitive(props, prop) {
|
|
316
|
-
var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
317
|
-
var fkey = this.toFlatCase(prop);
|
|
318
|
-
for (var key in props) {
|
|
319
|
-
if (props.hasOwnProperty(key) && this.toFlatCase(key) === fkey) {
|
|
320
|
-
return props[key];
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
for (var _key3 in defaultProps) {
|
|
324
|
-
if (defaultProps.hasOwnProperty(_key3) && this.toFlatCase(_key3) === fkey) {
|
|
325
|
-
return defaultProps[_key3];
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
return undefined; // Property not found
|
|
329
|
-
}
|
|
330
|
-
}, {
|
|
331
|
-
key: "getMergedProps",
|
|
332
|
-
value: function getMergedProps(props, defaultProps) {
|
|
333
|
-
return Object.assign({}, defaultProps, props);
|
|
334
|
-
}
|
|
335
|
-
}, {
|
|
336
|
-
key: "getDiffProps",
|
|
337
|
-
value: function getDiffProps(props, defaultProps) {
|
|
338
|
-
return this.findDiffKeys(props, defaultProps);
|
|
339
|
-
}
|
|
340
|
-
}, {
|
|
341
|
-
key: "getPropValue",
|
|
342
|
-
value: function getPropValue(obj) {
|
|
343
|
-
for (var _len3 = arguments.length, params = new Array(_len3 > 1 ? _len3 - 1 : 0), _key4 = 1; _key4 < _len3; _key4++) {
|
|
344
|
-
params[_key4 - 1] = arguments[_key4];
|
|
345
|
-
}
|
|
346
|
-
return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
|
|
347
|
-
}
|
|
348
|
-
}, {
|
|
349
|
-
key: "getComponentProp",
|
|
350
|
-
value: function getComponentProp(component) {
|
|
351
|
-
var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
352
|
-
var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
353
|
-
return this.isNotEmpty(component) ? this.getProp(component.props, prop, defaultProps) : undefined;
|
|
354
|
-
}
|
|
355
|
-
}, {
|
|
356
|
-
key: "getComponentProps",
|
|
357
|
-
value: function getComponentProps(component, defaultProps) {
|
|
358
|
-
return this.isNotEmpty(component) ? this.getMergedProps(component.props, defaultProps) : undefined;
|
|
359
|
-
}
|
|
360
|
-
}, {
|
|
361
|
-
key: "getComponentDiffProps",
|
|
362
|
-
value: function getComponentDiffProps(component, defaultProps) {
|
|
363
|
-
return this.isNotEmpty(component) ? this.getDiffProps(component.props, defaultProps) : undefined;
|
|
364
|
-
}
|
|
365
|
-
}, {
|
|
366
|
-
key: "isValidChild",
|
|
367
|
-
value: function isValidChild(child, type, validTypes) {
|
|
368
|
-
/* eslint-disable */
|
|
369
|
-
if (child) {
|
|
370
|
-
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
371
|
-
var isValid = childType === type;
|
|
372
|
-
try {
|
|
373
|
-
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
374
|
-
} catch (error) {
|
|
375
|
-
// NOOP
|
|
376
|
-
}
|
|
377
|
-
return isValid;
|
|
378
|
-
}
|
|
379
|
-
return false;
|
|
380
|
-
/* eslint-enable */
|
|
381
|
-
}
|
|
382
|
-
}, {
|
|
383
|
-
key: "getRefElement",
|
|
384
|
-
value: function getRefElement(ref) {
|
|
385
|
-
if (ref) {
|
|
386
|
-
return _typeof(ref) === 'object' && ref.hasOwnProperty('current') ? ref.current : ref;
|
|
387
|
-
}
|
|
388
|
-
return null;
|
|
389
|
-
}
|
|
390
|
-
}, {
|
|
391
|
-
key: "combinedRefs",
|
|
392
|
-
value: function combinedRefs(innerRef, forwardRef) {
|
|
393
|
-
if (innerRef && forwardRef) {
|
|
394
|
-
if (typeof forwardRef === 'function') {
|
|
395
|
-
forwardRef(innerRef.current);
|
|
396
|
-
} else {
|
|
397
|
-
forwardRef.current = innerRef.current;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
}, {
|
|
402
|
-
key: "removeAccents",
|
|
403
|
-
value: function removeAccents(str) {
|
|
404
|
-
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
405
|
-
str = str.replace(/[\xC0-\xC5]/g, 'A').replace(/[\xC6]/g, 'AE').replace(/[\xC7]/g, 'C').replace(/[\xC8-\xCB]/g, 'E').replace(/[\xCC-\xCF]/g, 'I').replace(/[\xD0]/g, 'D').replace(/[\xD1]/g, 'N').replace(/[\xD2-\xD6\xD8]/g, 'O').replace(/[\xD9-\xDC]/g, 'U').replace(/[\xDD]/g, 'Y').replace(/[\xDE]/g, 'P').replace(/[\xE0-\xE5]/g, 'a').replace(/[\xE6]/g, 'ae').replace(/[\xE7]/g, 'c').replace(/[\xE8-\xEB]/g, 'e').replace(/[\xEC-\xEF]/g, 'i').replace(/[\xF1]/g, 'n').replace(/[\xF2-\xF6\xF8]/g, 'o').replace(/[\xF9-\xFC]/g, 'u').replace(/[\xFE]/g, 'p').replace(/[\xFD\xFF]/g, 'y');
|
|
406
|
-
}
|
|
407
|
-
return str;
|
|
408
|
-
}
|
|
409
|
-
}, {
|
|
410
|
-
key: "toFlatCase",
|
|
411
|
-
value: function toFlatCase(str) {
|
|
412
|
-
// convert snake, kebab, camel and pascal cases to flat case
|
|
413
|
-
return this.isNotEmpty(str) && this.isString(str) ? str.replace(/(-|_)/g, '').toLowerCase() : str;
|
|
414
|
-
}
|
|
415
|
-
}, {
|
|
416
|
-
key: "toCapitalCase",
|
|
417
|
-
value: function toCapitalCase(str) {
|
|
418
|
-
return this.isNotEmpty(str) && this.isString(str) ? str[0].toUpperCase() + str.slice(1) : str;
|
|
419
|
-
}
|
|
420
|
-
}, {
|
|
421
|
-
key: "trim",
|
|
422
|
-
value: function trim(value) {
|
|
423
|
-
// trim only if the value is actually a string
|
|
424
|
-
return this.isNotEmpty(value) && this.isString(value) ? value.trim() : value;
|
|
425
|
-
}
|
|
426
|
-
}, {
|
|
427
|
-
key: "isEmpty",
|
|
428
|
-
value: function isEmpty(value) {
|
|
429
|
-
return value === null || value === undefined || value === '' || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && _typeof(value) === 'object' && Object.keys(value).length === 0;
|
|
430
|
-
}
|
|
431
|
-
}, {
|
|
432
|
-
key: "isNotEmpty",
|
|
433
|
-
value: function isNotEmpty(value) {
|
|
434
|
-
return !this.isEmpty(value);
|
|
435
|
-
}
|
|
436
|
-
}, {
|
|
437
|
-
key: "isFunction",
|
|
438
|
-
value: function isFunction(value) {
|
|
439
|
-
return !!(value && value.constructor && value.call && value.apply);
|
|
440
|
-
}
|
|
441
|
-
}, {
|
|
442
|
-
key: "isObject",
|
|
443
|
-
value: function isObject(value) {
|
|
444
|
-
return value !== null && value instanceof Object && value.constructor === Object;
|
|
445
|
-
}
|
|
446
|
-
}, {
|
|
447
|
-
key: "isDate",
|
|
448
|
-
value: function isDate(value) {
|
|
449
|
-
return value !== null && value instanceof Date && value.constructor === Date;
|
|
450
|
-
}
|
|
451
|
-
}, {
|
|
452
|
-
key: "isArray",
|
|
453
|
-
value: function isArray(value) {
|
|
454
|
-
return value !== null && Array.isArray(value);
|
|
455
|
-
}
|
|
456
|
-
}, {
|
|
457
|
-
key: "isString",
|
|
458
|
-
value: function isString(value) {
|
|
459
|
-
return value !== null && typeof value === 'string';
|
|
460
|
-
}
|
|
461
|
-
}, {
|
|
462
|
-
key: "isPrintableCharacter",
|
|
463
|
-
value: function isPrintableCharacter() {
|
|
464
|
-
var _char = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
465
|
-
return this.isNotEmpty(_char) && _char.length === 1 && _char.match(/\S| /);
|
|
466
|
-
}
|
|
467
|
-
}, {
|
|
468
|
-
key: "isLetter",
|
|
469
|
-
value: function isLetter(_char2) {
|
|
470
|
-
return _char2 && (_char2.toUpperCase() != _char2.toLowerCase() || _char2.codePointAt(0) > 127);
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* Firefox-v103 does not currently support the "findLast" method. It is stated that this method will be supported with Firefox-v104.
|
|
475
|
-
* https://caniuse.com/mdn-javascript_builtins_array_findlast
|
|
476
|
-
*/
|
|
477
|
-
}, {
|
|
478
|
-
key: "findLast",
|
|
479
|
-
value: function findLast(arr, callback) {
|
|
480
|
-
var item;
|
|
481
|
-
if (this.isNotEmpty(arr)) {
|
|
482
|
-
try {
|
|
483
|
-
item = arr.findLast(callback);
|
|
484
|
-
} catch (_unused2) {
|
|
485
|
-
item = _toConsumableArray(arr).reverse().find(callback);
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
return item;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
* Firefox-v103 does not currently support the "findLastIndex" method. It is stated that this method will be supported with Firefox-v104.
|
|
493
|
-
* https://caniuse.com/mdn-javascript_builtins_array_findlastindex
|
|
494
|
-
*/
|
|
495
|
-
}, {
|
|
496
|
-
key: "findLastIndex",
|
|
497
|
-
value: function findLastIndex(arr, callback) {
|
|
498
|
-
var index = -1;
|
|
499
|
-
if (this.isNotEmpty(arr)) {
|
|
500
|
-
try {
|
|
501
|
-
index = arr.findLastIndex(callback);
|
|
502
|
-
} catch (_unused3) {
|
|
503
|
-
index = arr.lastIndexOf(_toConsumableArray(arr).reverse().find(callback));
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
return index;
|
|
507
|
-
}
|
|
508
|
-
}, {
|
|
509
|
-
key: "sort",
|
|
510
|
-
value: function sort(value1, value2) {
|
|
511
|
-
var order = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
|
512
|
-
var comparator = arguments.length > 3 ? arguments[3] : undefined;
|
|
513
|
-
var nullSortOrder = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
|
|
514
|
-
var result = this.compare(value1, value2, comparator, order);
|
|
515
|
-
var finalSortOrder = order;
|
|
516
|
-
|
|
517
|
-
// nullSortOrder == 1 means Excel like sort nulls at bottom
|
|
518
|
-
if (this.isEmpty(value1) || this.isEmpty(value2)) {
|
|
519
|
-
finalSortOrder = nullSortOrder === 1 ? order : nullSortOrder;
|
|
520
|
-
}
|
|
521
|
-
return finalSortOrder * result;
|
|
522
|
-
}
|
|
523
|
-
}, {
|
|
524
|
-
key: "compare",
|
|
525
|
-
value: function compare(value1, value2, comparator) {
|
|
526
|
-
var order = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
|
|
527
|
-
var result = -1;
|
|
528
|
-
var emptyValue1 = this.isEmpty(value1);
|
|
529
|
-
var emptyValue2 = this.isEmpty(value2);
|
|
530
|
-
if (emptyValue1 && emptyValue2) result = 0;else if (emptyValue1) result = order;else if (emptyValue2) result = -order;else if (typeof value1 === 'string' && typeof value2 === 'string') result = comparator(value1, value2);else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
531
|
-
return result;
|
|
532
|
-
}
|
|
533
|
-
}, {
|
|
534
|
-
key: "localeComparator",
|
|
535
|
-
value: function localeComparator(locale) {
|
|
536
|
-
//performance gain using Int.Collator. It is not recommended to use localeCompare against large arrays.
|
|
537
|
-
return new Intl.Collator(locale, {
|
|
538
|
-
numeric: true
|
|
539
|
-
}).compare;
|
|
540
|
-
}
|
|
541
|
-
}, {
|
|
542
|
-
key: "findChildrenByKey",
|
|
543
|
-
value: function findChildrenByKey(data, key) {
|
|
544
|
-
var _iterator = _createForOfIteratorHelper(data),
|
|
545
|
-
_step;
|
|
546
|
-
try {
|
|
547
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
548
|
-
var item = _step.value;
|
|
549
|
-
if (item.key === key) {
|
|
550
|
-
return item.children || [];
|
|
551
|
-
} else if (item.children) {
|
|
552
|
-
var result = this.findChildrenByKey(item.children, key);
|
|
553
|
-
if (result.length > 0) {
|
|
554
|
-
return result;
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
} catch (err) {
|
|
559
|
-
_iterator.e(err);
|
|
560
|
-
} finally {
|
|
561
|
-
_iterator.f();
|
|
562
|
-
}
|
|
563
|
-
return [];
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* This function takes mutates and object with a new value given
|
|
568
|
-
* a specific field. This will handle deeply nested fields that
|
|
569
|
-
* need to be modified or created.
|
|
570
|
-
*
|
|
571
|
-
* e.g:
|
|
572
|
-
* data = {
|
|
573
|
-
* nested: {
|
|
574
|
-
* foo: "bar"
|
|
575
|
-
* }
|
|
576
|
-
* }
|
|
577
|
-
*
|
|
578
|
-
* field = "nested.foo"
|
|
579
|
-
* value = "baz"
|
|
580
|
-
*
|
|
581
|
-
* The function will mutate data to be
|
|
582
|
-
* e.g:
|
|
583
|
-
* data = {
|
|
584
|
-
* nested: {
|
|
585
|
-
* foo: "baz"
|
|
586
|
-
* }
|
|
587
|
-
* }
|
|
588
|
-
*
|
|
589
|
-
* @param {object} data the object to be modified
|
|
590
|
-
* @param {string} field the field in the object to replace
|
|
591
|
-
* @param {any} value the value to have replaced in the field
|
|
592
|
-
*/
|
|
593
|
-
}, {
|
|
594
|
-
key: "mutateFieldData",
|
|
595
|
-
value: function mutateFieldData(data, field, value) {
|
|
596
|
-
if (_typeof(data) !== 'object' || typeof field !== 'string') {
|
|
597
|
-
// short circuit if there is nothing to resolve
|
|
598
|
-
return;
|
|
599
|
-
}
|
|
600
|
-
var fields = field.split('.');
|
|
601
|
-
var obj = data;
|
|
602
|
-
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
603
|
-
// Check if we are on the last field
|
|
604
|
-
if (i + 1 - len === 0) {
|
|
605
|
-
obj[fields[i]] = value;
|
|
606
|
-
break;
|
|
607
|
-
}
|
|
608
|
-
if (!obj[fields[i]]) {
|
|
609
|
-
obj[fields[i]] = {};
|
|
610
|
-
}
|
|
611
|
-
obj = obj[fields[i]];
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}]);
|
|
615
|
-
return ObjectUtils;
|
|
616
|
-
}();
|
|
617
|
-
|
|
618
|
-
var lastId = 0;
|
|
619
|
-
function UniqueComponentId() {
|
|
620
|
-
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pr_id_';
|
|
621
|
-
lastId++;
|
|
622
|
-
return "".concat(prefix).concat(lastId);
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
var BanIcon = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
626
|
-
var pti = IconBase.getPTI(inProps);
|
|
627
|
-
var _React$useState = React.useState(inProps.id),
|
|
628
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
629
|
-
pathId = _React$useState2[0],
|
|
630
|
-
setPathId = _React$useState2[1];
|
|
631
|
-
React.useEffect(function () {
|
|
632
|
-
if (ObjectUtils.isEmpty(pathId)) {
|
|
633
|
-
setPathId(UniqueComponentId('pr_icon_clip_'));
|
|
634
|
-
}
|
|
635
|
-
}, [pathId]);
|
|
636
|
-
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
637
|
-
ref: ref,
|
|
638
|
-
width: "14",
|
|
639
|
-
height: "14",
|
|
640
|
-
viewBox: "0 0 14 14",
|
|
641
|
-
fill: "none",
|
|
642
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
643
|
-
}, pti), /*#__PURE__*/React.createElement("g", {
|
|
644
|
-
clipPath: "url(#".concat(pathId, ")")
|
|
645
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
646
|
-
d: "M7 0C5.61553 0 4.26215 0.410543 3.11101 1.17971C1.95987 1.94888 1.06266 3.04213 0.532846 4.32122C0.00303296 5.6003 -0.13559 7.00776 0.134506 8.36563C0.404603 9.7235 1.07129 10.9708 2.05026 11.9497C3.02922 12.9287 4.2765 13.5954 5.63437 13.8655C6.99224 14.1356 8.3997 13.997 9.67879 13.4672C10.9579 12.9373 12.0511 12.0401 12.8203 10.889C13.5895 9.73785 14 8.38447 14 7C14 5.14348 13.2625 3.36301 11.9497 2.05025C10.637 0.737498 8.85652 0 7 0ZM1.16667 7C1.16549 5.65478 1.63303 4.35118 2.48889 3.31333L10.6867 11.5111C9.83309 12.2112 8.79816 12.6544 7.70243 12.789C6.60669 12.9236 5.49527 12.744 4.49764 12.2713C3.50001 11.7986 2.65724 11.0521 2.06751 10.1188C1.47778 9.18558 1.16537 8.10397 1.16667 7ZM11.5111 10.6867L3.31334 2.48889C4.43144 1.57388 5.84966 1.10701 7.29265 1.1789C8.73565 1.2508 10.1004 1.85633 11.1221 2.87795C12.1437 3.89956 12.7492 5.26435 12.8211 6.70735C12.893 8.15034 12.4261 9.56856 11.5111 10.6867Z",
|
|
647
|
-
fill: "currentColor"
|
|
648
|
-
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
649
|
-
id: pathId
|
|
650
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
651
|
-
width: "14",
|
|
652
|
-
height: "14",
|
|
653
|
-
fill: "white"
|
|
654
|
-
}))));
|
|
655
|
-
}));
|
|
656
|
-
BanIcon.displayName = 'BanIcon';
|
|
657
|
-
|
|
658
|
-
export { BanIcon };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as e from"react";import{IconBase as r}from"primereact/iconbase";function t(){return t=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},t.apply(this,arguments)}var n=e.memo(e.forwardRef((function(n,C){var o=r.getPTI(n);return e.createElement("svg",t({ref:C,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z",fill:"currentColor"}))})));n.displayName="BarsIcon";export{n as BarsIcon};
|