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
|
@@ -1,544 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import PrimeReact, { PrimeReactContext } from 'primereact/api';
|
|
4
|
-
import { Button } from 'primereact/button';
|
|
5
|
-
import { ComponentBase, useHandleStyle } from 'primereact/componentbase';
|
|
6
|
-
import { useOverlayListener, useMountEffect, useUnmountEffect } from 'primereact/hooks';
|
|
7
|
-
import { ChevronDownIcon } from 'primereact/icons/chevrondown';
|
|
8
|
-
import { OverlayService } from 'primereact/overlayservice';
|
|
9
|
-
import { Tooltip } from 'primereact/tooltip';
|
|
10
|
-
import { classNames, mergeProps, IconUtils, ObjectUtils, UniqueComponentId, ZIndexUtils, DomHandler } from 'primereact/utils';
|
|
11
|
-
import { CSSTransition } from 'primereact/csstransition';
|
|
12
|
-
import { Portal } from 'primereact/portal';
|
|
13
|
-
|
|
14
|
-
function _extends() {
|
|
15
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
16
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
17
|
-
var source = arguments[i];
|
|
18
|
-
for (var key in source) {
|
|
19
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
20
|
-
target[key] = source[key];
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
return target;
|
|
25
|
-
};
|
|
26
|
-
return _extends.apply(this, arguments);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function _typeof(o) {
|
|
30
|
-
"@babel/helpers - typeof";
|
|
31
|
-
|
|
32
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
33
|
-
return typeof o;
|
|
34
|
-
} : function (o) {
|
|
35
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
36
|
-
}, _typeof(o);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function _toPrimitive(input, hint) {
|
|
40
|
-
if (_typeof(input) !== "object" || input === null) return input;
|
|
41
|
-
var prim = input[Symbol.toPrimitive];
|
|
42
|
-
if (prim !== undefined) {
|
|
43
|
-
var res = prim.call(input, hint || "default");
|
|
44
|
-
if (_typeof(res) !== "object") return res;
|
|
45
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
46
|
-
}
|
|
47
|
-
return (hint === "string" ? String : Number)(input);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function _toPropertyKey(arg) {
|
|
51
|
-
var key = _toPrimitive(arg, "string");
|
|
52
|
-
return _typeof(key) === "symbol" ? key : String(key);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
function _defineProperty(obj, key, value) {
|
|
56
|
-
key = _toPropertyKey(key);
|
|
57
|
-
if (key in obj) {
|
|
58
|
-
Object.defineProperty(obj, key, {
|
|
59
|
-
value: value,
|
|
60
|
-
enumerable: true,
|
|
61
|
-
configurable: true,
|
|
62
|
-
writable: true
|
|
63
|
-
});
|
|
64
|
-
} else {
|
|
65
|
-
obj[key] = value;
|
|
66
|
-
}
|
|
67
|
-
return obj;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function _arrayWithHoles(arr) {
|
|
71
|
-
if (Array.isArray(arr)) return arr;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
function _iterableToArrayLimit(r, l) {
|
|
75
|
-
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
76
|
-
if (null != t) {
|
|
77
|
-
var e,
|
|
78
|
-
n,
|
|
79
|
-
i,
|
|
80
|
-
u,
|
|
81
|
-
a = [],
|
|
82
|
-
f = !0,
|
|
83
|
-
o = !1;
|
|
84
|
-
try {
|
|
85
|
-
if (i = (t = t.call(r)).next, 0 === l) {
|
|
86
|
-
if (Object(t) !== t) return;
|
|
87
|
-
f = !1;
|
|
88
|
-
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
89
|
-
} catch (r) {
|
|
90
|
-
o = !0, n = r;
|
|
91
|
-
} finally {
|
|
92
|
-
try {
|
|
93
|
-
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
94
|
-
} finally {
|
|
95
|
-
if (o) throw n;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
return a;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
function _arrayLikeToArray(arr, len) {
|
|
103
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
104
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
105
|
-
return arr2;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
109
|
-
if (!o) return;
|
|
110
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
111
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
112
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
113
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
114
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
function _nonIterableRest() {
|
|
118
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
function _slicedToArray(arr, i) {
|
|
122
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
var classes = {
|
|
126
|
-
icon: 'p-button-icon p-c',
|
|
127
|
-
root: function root(_ref) {
|
|
128
|
-
var _classNames;
|
|
129
|
-
var props = _ref.props,
|
|
130
|
-
size = _ref.size;
|
|
131
|
-
return classNames('p-splitbutton p-component', (_classNames = {
|
|
132
|
-
'p-disabled': props.disabled,
|
|
133
|
-
'p-button-loading-label-only': props.loading && !props.icon && props.label
|
|
134
|
-
}, _defineProperty(_classNames, "p-button-".concat(props.severity), props.severity), _defineProperty(_classNames, 'p-button-raised', props.raised), _defineProperty(_classNames, 'p-button-rounded', props.rounded), _defineProperty(_classNames, 'p-button-text', props.text), _defineProperty(_classNames, 'p-button-outlined', props.outlined), _defineProperty(_classNames, "p-button-".concat(size), size), _classNames));
|
|
135
|
-
},
|
|
136
|
-
menu: function menu(_ref2) {
|
|
137
|
-
var props = _ref2.subProps;
|
|
138
|
-
return classNames('p-menu p-menu-overlay p-component', props.menuClassName);
|
|
139
|
-
},
|
|
140
|
-
menuList: 'p-menu-list p-reset',
|
|
141
|
-
separator: 'p-menu-separator',
|
|
142
|
-
menuIcon: 'p-menuitem-icon',
|
|
143
|
-
menuLabel: 'p-menuitem-text',
|
|
144
|
-
anchor: function anchor(_ref3) {
|
|
145
|
-
var _className = _ref3._className,
|
|
146
|
-
disabled = _ref3.disabled;
|
|
147
|
-
return classNames('p-menuitem-link', _className, {
|
|
148
|
-
'p-disabled': disabled
|
|
149
|
-
});
|
|
150
|
-
},
|
|
151
|
-
menuItem: 'p-menuitem',
|
|
152
|
-
transition: 'p-connected-overlay'
|
|
153
|
-
};
|
|
154
|
-
var styles = "\n@layer primereact {\n .p-splitbutton {\n display: inline-flex;\n position: relative;\n }\n \n .p-splitbutton .p-splitbutton-defaultbutton,\n .p-splitbutton.p-button-rounded > .p-splitbutton-defaultbutton.p-button,\n .p-splitbutton.p-button-outlined > .p-splitbutton-defaultbutton.p-button {\n flex: 1 1 auto;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right: 0 none;\n }\n \n .p-splitbutton-menubutton,\n .p-splitbutton.p-button-rounded > .p-splitbutton-menubutton.p-button,\n .p-splitbutton.p-button-outlined > .p-splitbutton-menubutton.p-button {\n display: flex;\n align-items: center;\n justify-content: center;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n \n .p-splitbutton .p-menu {\n min-width: 100%;\n }\n \n .p-fluid .p-splitbutton {\n display: flex;\n }\n}\n";
|
|
155
|
-
var SplitButtonBase = ComponentBase.extend({
|
|
156
|
-
defaultProps: {
|
|
157
|
-
__TYPE: 'SplitButton',
|
|
158
|
-
id: null,
|
|
159
|
-
label: null,
|
|
160
|
-
icon: null,
|
|
161
|
-
loading: false,
|
|
162
|
-
loadingIcon: null,
|
|
163
|
-
model: null,
|
|
164
|
-
disabled: null,
|
|
165
|
-
style: null,
|
|
166
|
-
className: null,
|
|
167
|
-
buttonClassName: null,
|
|
168
|
-
menuStyle: null,
|
|
169
|
-
menuClassName: null,
|
|
170
|
-
menuButtonClassName: null,
|
|
171
|
-
buttonProps: null,
|
|
172
|
-
menuButtonProps: null,
|
|
173
|
-
tabIndex: null,
|
|
174
|
-
severity: null,
|
|
175
|
-
rounded: false,
|
|
176
|
-
raised: false,
|
|
177
|
-
outlined: false,
|
|
178
|
-
text: false,
|
|
179
|
-
size: null,
|
|
180
|
-
appendTo: null,
|
|
181
|
-
tooltip: null,
|
|
182
|
-
tooltipOptions: null,
|
|
183
|
-
buttonTemplate: null,
|
|
184
|
-
transitionOptions: null,
|
|
185
|
-
dropdownIcon: null,
|
|
186
|
-
onClick: null,
|
|
187
|
-
onShow: null,
|
|
188
|
-
onHide: null,
|
|
189
|
-
children: undefined
|
|
190
|
-
},
|
|
191
|
-
css: {
|
|
192
|
-
classes: classes,
|
|
193
|
-
styles: styles
|
|
194
|
-
}
|
|
195
|
-
});
|
|
196
|
-
|
|
197
|
-
function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
198
|
-
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
199
|
-
var SplitButtonItem = /*#__PURE__*/React.memo(function (props) {
|
|
200
|
-
var ptm = props.ptm,
|
|
201
|
-
cx = props.cx;
|
|
202
|
-
var getPTOptions = function getPTOptions(key, options) {
|
|
203
|
-
return ptm(key, _objectSpread$2({
|
|
204
|
-
hostName: props.hostName
|
|
205
|
-
}, options));
|
|
206
|
-
};
|
|
207
|
-
var onClick = function onClick(e) {
|
|
208
|
-
if (props.menuitem.command) {
|
|
209
|
-
props.menuitem.command({
|
|
210
|
-
originalEvent: e,
|
|
211
|
-
item: props.menuitem
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
if (props.onItemClick) {
|
|
215
|
-
props.onItemClick(e);
|
|
216
|
-
}
|
|
217
|
-
e.preventDefault();
|
|
218
|
-
};
|
|
219
|
-
var createSeparator = function createSeparator() {
|
|
220
|
-
var separatorProps = mergeProps({
|
|
221
|
-
className: cx('separator'),
|
|
222
|
-
role: 'separator'
|
|
223
|
-
}, getPTOptions('separator'));
|
|
224
|
-
return /*#__PURE__*/React.createElement("li", separatorProps);
|
|
225
|
-
};
|
|
226
|
-
var createMenuitem = function createMenuitem() {
|
|
227
|
-
if (props.menuitem.visible === false) {
|
|
228
|
-
return null;
|
|
229
|
-
}
|
|
230
|
-
var _props$menuitem = props.menuitem,
|
|
231
|
-
disabled = _props$menuitem.disabled,
|
|
232
|
-
_icon = _props$menuitem.icon,
|
|
233
|
-
_label = _props$menuitem.label,
|
|
234
|
-
template = _props$menuitem.template,
|
|
235
|
-
url = _props$menuitem.url,
|
|
236
|
-
target = _props$menuitem.target,
|
|
237
|
-
_className = _props$menuitem.className;
|
|
238
|
-
var className = classNames('p-menuitem-link', _className, {
|
|
239
|
-
'p-disabled': disabled
|
|
240
|
-
});
|
|
241
|
-
var iconClassName = classNames('p-menuitem-icon', _icon);
|
|
242
|
-
var menuIconProps = mergeProps({
|
|
243
|
-
className: cx('menuIcon')
|
|
244
|
-
}, getPTOptions('menuIcon'));
|
|
245
|
-
var icon = IconUtils.getJSXIcon(_icon, _objectSpread$2({}, menuIconProps), {
|
|
246
|
-
props: props.splitButtonProps
|
|
247
|
-
});
|
|
248
|
-
var menuLabelProps = mergeProps({
|
|
249
|
-
className: cx('menuLabel')
|
|
250
|
-
}, getPTOptions('menuLabel'));
|
|
251
|
-
var label = _label && /*#__PURE__*/React.createElement("span", menuLabelProps, _label);
|
|
252
|
-
var anchorProps = mergeProps({
|
|
253
|
-
href: url || '#',
|
|
254
|
-
role: 'menuitem',
|
|
255
|
-
className: cx('anchor'),
|
|
256
|
-
target: target,
|
|
257
|
-
onClick: onClick,
|
|
258
|
-
'aria-label': _label
|
|
259
|
-
}, getPTOptions('anchor'));
|
|
260
|
-
var content = /*#__PURE__*/React.createElement("a", anchorProps, icon, label);
|
|
261
|
-
if (template) {
|
|
262
|
-
var defaultContentOptions = {
|
|
263
|
-
onClick: onClick,
|
|
264
|
-
className: className,
|
|
265
|
-
labelClassName: 'p-menuitem-text',
|
|
266
|
-
iconClassName: iconClassName,
|
|
267
|
-
element: content,
|
|
268
|
-
props: props
|
|
269
|
-
};
|
|
270
|
-
content = ObjectUtils.getJSXElement(template, props.menuitem, defaultContentOptions);
|
|
271
|
-
}
|
|
272
|
-
var menuItemProps = mergeProps({
|
|
273
|
-
className: cx('menuItem'),
|
|
274
|
-
role: 'none'
|
|
275
|
-
}, getPTOptions('menuItem'));
|
|
276
|
-
return /*#__PURE__*/React.createElement("li", menuItemProps, content);
|
|
277
|
-
};
|
|
278
|
-
var createItem = function createItem() {
|
|
279
|
-
return props.menuitem.separator ? createSeparator() : createMenuitem();
|
|
280
|
-
};
|
|
281
|
-
var item = createItem();
|
|
282
|
-
return item;
|
|
283
|
-
});
|
|
284
|
-
SplitButtonItem.displayName = 'SplitButtonItem';
|
|
285
|
-
|
|
286
|
-
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
287
|
-
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
288
|
-
var SplitButtonPanel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
289
|
-
var ptm = props.ptm,
|
|
290
|
-
cx = props.cx;
|
|
291
|
-
var getPTOptions = function getPTOptions(key, options) {
|
|
292
|
-
return ptm(key, _objectSpread$1({
|
|
293
|
-
hostName: props.hostName
|
|
294
|
-
}, options));
|
|
295
|
-
};
|
|
296
|
-
var createElement = function createElement() {
|
|
297
|
-
var menuProps = mergeProps({
|
|
298
|
-
ref: ref,
|
|
299
|
-
className: cx('menu', {
|
|
300
|
-
subProps: props
|
|
301
|
-
}),
|
|
302
|
-
style: props.menuStyle,
|
|
303
|
-
onClick: props.onClick
|
|
304
|
-
}, getPTOptions('menu'));
|
|
305
|
-
var menuListProps = mergeProps({
|
|
306
|
-
id: props.menuId,
|
|
307
|
-
className: cx('menuList'),
|
|
308
|
-
role: 'menu'
|
|
309
|
-
}, getPTOptions('menuList'));
|
|
310
|
-
var transitionProps = mergeProps({
|
|
311
|
-
classNames: cx('transition'),
|
|
312
|
-
"in": props["in"],
|
|
313
|
-
timeout: {
|
|
314
|
-
enter: 120,
|
|
315
|
-
exit: 100
|
|
316
|
-
},
|
|
317
|
-
options: props.transitionOptions,
|
|
318
|
-
unmountOnExit: true,
|
|
319
|
-
onEnter: props.onEnter,
|
|
320
|
-
onEntered: props.onEntered,
|
|
321
|
-
onExit: props.onExit,
|
|
322
|
-
onExited: props.onExited
|
|
323
|
-
}, getPTOptions('transition'));
|
|
324
|
-
return /*#__PURE__*/React.createElement(CSSTransition, _extends({
|
|
325
|
-
nodeRef: ref
|
|
326
|
-
}, transitionProps), /*#__PURE__*/React.createElement("div", menuProps, /*#__PURE__*/React.createElement("ul", menuListProps, props.children)));
|
|
327
|
-
};
|
|
328
|
-
var element = createElement();
|
|
329
|
-
return /*#__PURE__*/React.createElement(Portal, {
|
|
330
|
-
element: element,
|
|
331
|
-
appendTo: props.appendTo
|
|
332
|
-
});
|
|
333
|
-
});
|
|
334
|
-
SplitButtonPanel.displayName = 'SplitButtonPanel';
|
|
335
|
-
|
|
336
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
337
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
338
|
-
var SplitButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
339
|
-
var context = React.useContext(PrimeReactContext);
|
|
340
|
-
var props = SplitButtonBase.getProps(inProps, context);
|
|
341
|
-
var _React$useState = React.useState(props.id),
|
|
342
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
343
|
-
idState = _React$useState2[0],
|
|
344
|
-
setIdState = _React$useState2[1];
|
|
345
|
-
var _React$useState3 = React.useState(false),
|
|
346
|
-
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
347
|
-
overlayVisibleState = _React$useState4[0],
|
|
348
|
-
setOverlayVisibleState = _React$useState4[1];
|
|
349
|
-
var elementRef = React.useRef(null);
|
|
350
|
-
var defaultButtonRef = React.useRef(null);
|
|
351
|
-
var overlayRef = React.useRef(null);
|
|
352
|
-
var metaData = {
|
|
353
|
-
props: props,
|
|
354
|
-
state: {
|
|
355
|
-
id: idState,
|
|
356
|
-
overlayVisible: overlayVisibleState
|
|
357
|
-
}
|
|
358
|
-
};
|
|
359
|
-
var _SplitButtonBase$setM = SplitButtonBase.setMetaData(metaData),
|
|
360
|
-
ptm = _SplitButtonBase$setM.ptm,
|
|
361
|
-
cx = _SplitButtonBase$setM.cx,
|
|
362
|
-
isUnstyled = _SplitButtonBase$setM.isUnstyled;
|
|
363
|
-
useHandleStyle(SplitButtonBase.css.styles, isUnstyled, {
|
|
364
|
-
name: 'splitbutton'
|
|
365
|
-
});
|
|
366
|
-
var _useOverlayListener = useOverlayListener({
|
|
367
|
-
target: elementRef,
|
|
368
|
-
overlay: overlayRef,
|
|
369
|
-
listener: function listener(event, _ref) {
|
|
370
|
-
var valid = _ref.valid;
|
|
371
|
-
valid && hide();
|
|
372
|
-
},
|
|
373
|
-
when: overlayVisibleState
|
|
374
|
-
}),
|
|
375
|
-
_useOverlayListener2 = _slicedToArray(_useOverlayListener, 2),
|
|
376
|
-
bindOverlayListener = _useOverlayListener2[0],
|
|
377
|
-
unbindOverlayListener = _useOverlayListener2[1];
|
|
378
|
-
var onPanelClick = function onPanelClick(event) {
|
|
379
|
-
OverlayService.emit('overlay-click', {
|
|
380
|
-
originalEvent: event,
|
|
381
|
-
target: elementRef.current
|
|
382
|
-
});
|
|
383
|
-
};
|
|
384
|
-
var onDropdownButtonClick = function onDropdownButtonClick() {
|
|
385
|
-
overlayVisibleState ? hide() : show();
|
|
386
|
-
};
|
|
387
|
-
var onItemClick = function onItemClick() {
|
|
388
|
-
hide();
|
|
389
|
-
};
|
|
390
|
-
var show = function show() {
|
|
391
|
-
setOverlayVisibleState(true);
|
|
392
|
-
};
|
|
393
|
-
var hide = function hide() {
|
|
394
|
-
setOverlayVisibleState(false);
|
|
395
|
-
};
|
|
396
|
-
var onOverlayEnter = function onOverlayEnter() {
|
|
397
|
-
ZIndexUtils.set('overlay', overlayRef.current, context && context.autoZIndex || PrimeReact.autoZIndex, context && context.zIndex['overlay'] || PrimeReact.zIndex['overlay']);
|
|
398
|
-
DomHandler.addStyles(overlayRef.current, {
|
|
399
|
-
position: 'absolute',
|
|
400
|
-
top: '0',
|
|
401
|
-
left: '0'
|
|
402
|
-
});
|
|
403
|
-
alignOverlay();
|
|
404
|
-
};
|
|
405
|
-
var onOverlayEntered = function onOverlayEntered() {
|
|
406
|
-
bindOverlayListener();
|
|
407
|
-
props.onShow && props.onShow();
|
|
408
|
-
};
|
|
409
|
-
var onOverlayExit = function onOverlayExit() {
|
|
410
|
-
unbindOverlayListener();
|
|
411
|
-
};
|
|
412
|
-
var onOverlayExited = function onOverlayExited() {
|
|
413
|
-
ZIndexUtils.clear(overlayRef.current);
|
|
414
|
-
props.onHide && props.onHide();
|
|
415
|
-
};
|
|
416
|
-
var alignOverlay = function alignOverlay() {
|
|
417
|
-
DomHandler.alignOverlay(overlayRef.current, defaultButtonRef.current.parentElement, props.appendTo || context && context.appendTo || PrimeReact.appendTo);
|
|
418
|
-
};
|
|
419
|
-
useMountEffect(function () {
|
|
420
|
-
if (!idState) {
|
|
421
|
-
setIdState(UniqueComponentId());
|
|
422
|
-
}
|
|
423
|
-
});
|
|
424
|
-
useUnmountEffect(function () {
|
|
425
|
-
ZIndexUtils.clear(overlayRef.current);
|
|
426
|
-
});
|
|
427
|
-
React.useImperativeHandle(ref, function () {
|
|
428
|
-
return {
|
|
429
|
-
props: props,
|
|
430
|
-
show: show,
|
|
431
|
-
hide: hide,
|
|
432
|
-
getElement: function getElement() {
|
|
433
|
-
return elementRef.current;
|
|
434
|
-
}
|
|
435
|
-
};
|
|
436
|
-
});
|
|
437
|
-
var createItems = function createItems() {
|
|
438
|
-
if (props.model) {
|
|
439
|
-
return props.model.map(function (menuitem, index) {
|
|
440
|
-
return /*#__PURE__*/React.createElement(SplitButtonItem, {
|
|
441
|
-
hostName: "SplitButton",
|
|
442
|
-
splitButtonProps: props,
|
|
443
|
-
menuitem: menuitem,
|
|
444
|
-
key: index,
|
|
445
|
-
onItemClick: onItemClick,
|
|
446
|
-
ptm: ptm,
|
|
447
|
-
cx: cx
|
|
448
|
-
});
|
|
449
|
-
});
|
|
450
|
-
}
|
|
451
|
-
return null;
|
|
452
|
-
};
|
|
453
|
-
if (props.visible === false) {
|
|
454
|
-
return null;
|
|
455
|
-
}
|
|
456
|
-
var hasTooltip = ObjectUtils.isNotEmpty(props.tooltip);
|
|
457
|
-
var sizeMapping = {
|
|
458
|
-
large: 'lg',
|
|
459
|
-
small: 'sm'
|
|
460
|
-
};
|
|
461
|
-
var size = sizeMapping[props.size];
|
|
462
|
-
var buttonClassName = classNames('p-splitbutton-defaultbutton', props.buttonClassName);
|
|
463
|
-
var menuButtonClassName = classNames('p-splitbutton-menubutton', props.menuButtonClassName);
|
|
464
|
-
var buttonContent = props.buttonTemplate ? ObjectUtils.getJSXElement(props.buttonTemplate, props) : null;
|
|
465
|
-
var items = createItems();
|
|
466
|
-
var menuId = idState + '_menu';
|
|
467
|
-
var dropdownIcon = function dropdownIcon() {
|
|
468
|
-
var iconProps = mergeProps({
|
|
469
|
-
className: cx('icon')
|
|
470
|
-
}, ptm('icon'));
|
|
471
|
-
var icon = props.dropdownIcon || /*#__PURE__*/React.createElement(ChevronDownIcon, iconProps);
|
|
472
|
-
var dropdownIcon = IconUtils.getJSXIcon(icon, _objectSpread({}, iconProps), {
|
|
473
|
-
props: props
|
|
474
|
-
});
|
|
475
|
-
return dropdownIcon;
|
|
476
|
-
};
|
|
477
|
-
var rootProps = mergeProps({
|
|
478
|
-
ref: elementRef,
|
|
479
|
-
id: idState,
|
|
480
|
-
className: classNames(props.className, cx('root', {
|
|
481
|
-
size: size
|
|
482
|
-
})),
|
|
483
|
-
style: props.style
|
|
484
|
-
}, SplitButtonBase.getOtherProps(props), ptm('root'));
|
|
485
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", rootProps, /*#__PURE__*/React.createElement(Button, _extends({
|
|
486
|
-
ref: defaultButtonRef,
|
|
487
|
-
type: "button",
|
|
488
|
-
className: buttonClassName,
|
|
489
|
-
icon: props.icon,
|
|
490
|
-
loading: props.loading,
|
|
491
|
-
loadingIcon: props.loadingIcon,
|
|
492
|
-
label: props.label,
|
|
493
|
-
onClick: props.onClick,
|
|
494
|
-
disabled: props.disabled,
|
|
495
|
-
tabIndex: props.tabIndex,
|
|
496
|
-
size: props.size
|
|
497
|
-
}, props.buttonProps, {
|
|
498
|
-
pt: ptm('button'),
|
|
499
|
-
__parentMetadata: {
|
|
500
|
-
parent: metaData
|
|
501
|
-
},
|
|
502
|
-
unstyled: props.unstyled
|
|
503
|
-
}), buttonContent), /*#__PURE__*/React.createElement(Button, _extends({
|
|
504
|
-
type: "button",
|
|
505
|
-
className: menuButtonClassName,
|
|
506
|
-
icon: dropdownIcon,
|
|
507
|
-
onClick: onDropdownButtonClick,
|
|
508
|
-
disabled: props.disabled,
|
|
509
|
-
"aria-expanded": overlayVisibleState,
|
|
510
|
-
"aria-haspopup": "true",
|
|
511
|
-
"aria-controls": overlayVisibleState ? menuId : null
|
|
512
|
-
}, props.menuButtonProps, {
|
|
513
|
-
size: props.size,
|
|
514
|
-
pt: ptm('menuButton'),
|
|
515
|
-
__parentMetadata: {
|
|
516
|
-
parent: metaData
|
|
517
|
-
},
|
|
518
|
-
unstyled: props.unstyled
|
|
519
|
-
})), /*#__PURE__*/React.createElement(SplitButtonPanel, {
|
|
520
|
-
hostName: "SplitButton",
|
|
521
|
-
ref: overlayRef,
|
|
522
|
-
appendTo: props.appendTo,
|
|
523
|
-
menuId: menuId,
|
|
524
|
-
menuStyle: props.menuStyle,
|
|
525
|
-
menuClassName: props.menuClassName,
|
|
526
|
-
onClick: onPanelClick,
|
|
527
|
-
"in": overlayVisibleState,
|
|
528
|
-
onEnter: onOverlayEnter,
|
|
529
|
-
onEntered: onOverlayEntered,
|
|
530
|
-
onExit: onOverlayExit,
|
|
531
|
-
onExited: onOverlayExited,
|
|
532
|
-
transitionOptions: props.transitionOptions,
|
|
533
|
-
ptm: ptm,
|
|
534
|
-
cx: cx
|
|
535
|
-
}, items)), hasTooltip && /*#__PURE__*/React.createElement(Tooltip, _extends({
|
|
536
|
-
target: elementRef,
|
|
537
|
-
content: props.tooltip
|
|
538
|
-
}, props.tooltipOptions, {
|
|
539
|
-
pt: ptm('tooltip')
|
|
540
|
-
})));
|
|
541
|
-
}));
|
|
542
|
-
SplitButton.displayName = 'SplitButton';
|
|
543
|
-
|
|
544
|
-
export { SplitButton };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as e from"react";import{PrimeReactContext as t}from"primereact/api";import{ComponentBase as r,useHandleStyle as n}from"primereact/componentbase";import{useEventListener as i}from"primereact/hooks";import{ObjectUtils as l,classNames as o,DomHandler as u,mergeProps as s}from"primereact/utils";function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p(e){if(Array.isArray(e))return c(e)}function f(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function d(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function y(e,t){if("object"!==m(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==m(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function h(e){var t=y(e,"string");return"symbol"===m(t)?t:String(t)}function v(e){if(Array.isArray(e))return e}function b(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,l,o,u=[],s=!0,a=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){a=!0,i=e}finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(a)throw i}}return u}}function S(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function z(e,t){return v(e)||b(e,t)||d(e,t)||S()}var w=r.extend({defaultProps:{__TYPE:"Splitter",className:null,gutterSize:4,id:null,layout:"horizontal",onResizeEnd:null,stateKey:null,stateStorage:"session",style:null,children:void 0},css:{classes:{root:function(e){return o("p-splitter p-component p-splitter-".concat(e.props.layout))},gutter:"p-splitter-gutter",gutterHandler:"p-splitter-gutter-handle",panel:{root:"p-splitter-panel"}},styles:"\n@layer primereact {\n .p-splitter {\n display: flex;\n flex-wrap: nowrap;\n }\n \n .p-splitter-vertical {\n flex-direction: column;\n }\n \n .p-splitter-panel {\n flex-grow: 1;\n }\n \n .p-splitter-panel-nested {\n display: flex;\n }\n \n .p-splitter-panel .p-splitter {\n flex-grow: 1;\n border: 0 none;\n }\n \n .p-splitter-gutter {\n flex-grow: 0;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: col-resize;\n }\n \n .p-splitter-horizontal.p-splitter-resizing {\n cursor: col-resize;\n user-select: none;\n }\n \n .p-splitter-horizontal > .p-splitter-gutter > .p-splitter-gutter-handle {\n height: 24px;\n width: 100%;\n }\n \n .p-splitter-horizontal > .p-splitter-gutter {\n cursor: col-resize;\n }\n \n .p-splitter-vertical.p-splitter-resizing {\n cursor: row-resize;\n user-select: none;\n }\n \n .p-splitter-vertical > .p-splitter-gutter {\n cursor: row-resize;\n }\n \n .p-splitter-vertical > .p-splitter-gutter > .p-splitter-gutter-handle {\n width: 24px;\n height: 100%;\n }\n}\n\n"}}),O=r.extend({defaultProps:{__TYPE:"SplitterPanel",className:null,minSize:null,size:null,style:null,children:void 0},getCProps:function(e){return l.getComponentProps(e,O.defaultProps)},getCOtherProps:function(e){return l.getComponentDiffProps(e,O.defaultProps)},getCProp:function(e,t){return l.getComponentProp(e,t,O.defaultProps)}});function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){var n,i,l;n=e,l=r[t],(i=h(i=t))in n?Object.defineProperty(n,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[i]=l})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x=function(){},j=e.memo(e.forwardRef((function(r,c){var m=e.useContext(t),y=w.getProps(r,m),h=e.useRef(null),v=e.useRef(),b=e.useRef({}),S=e.useRef(null),P=e.useRef(null),x=e.useRef(null),j=e.useRef(null),C=e.useRef(null),R=e.useRef(null),A=e.useRef(null),N=e.useRef(null),I=e.useRef(null),T=e.useRef(null),D=z(e.useState([]),2),H=D[0],k=D[1],Y=z(e.useState(!1),2),K=Y[0],L=Y[1],M=null!=y.stateKey,X=y.children&&y.children.length||1,_=function(e,t){return t in e?e[t]:y.children&&[].concat(y.children)[t].props.size||100/X},B={props:y,state:{panelSizes:H,nested:!0===u.getAttribute(h.current&&h.current.parentElement,"data-p-splitter-panel-nested")}},W=w.setMetaData(E({},B)),J=W.ptm,U=W.cx,F=W.isUnstyled;n(w.css.styles,F,{name:"splitter"});var $=z(i({type:"mousemove",listener:function(e){return ue(e)}}),2),q=$[0],G=$[1],Q=z(i({type:"mouseup",listener:function(e){se(e),ee()}}),2),V=Q[0],Z=Q[1],ee=function(){G(),Z()},te=function(e,t){return O.getCProp(e,t)},re=function(e,t){return!(e>100||e<0)&&(!(t>100||t<0)&&(!(y.children[T.current].props&&y.children[T.current].props.minSize&&y.children[T.current].props.minSize>e)&&!(y.children[T.current+1].props&&y.children[T.current+1].props.minSize&&y.children[T.current+1].props.minSize>t)))},ne=e.useCallback((function(){switch(y.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(y.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}}),[y.stateStorage]),ie=function(e){ne().setItem(y.stateKey,JSON.stringify(e))},le=e.useCallback((function(){var e=ne().getItem(y.stateKey);e&&k(JSON.parse(e))}),[ne,y.stateKey]),oe=function(e,t){v.current=b.current[t];var r="touchstart"===e.type?e.touches[0].pageX:e.pageX,n="touchstart"===e.type?e.touches[0].pageY:e.pageY;S.current="horizontal"===y.layout?u.getWidth(h.current):u.getHeight(h.current),P.current=!0,x.current="horizontal"===y.layout?r:n,j.current=v.current.previousElementSibling,C.current=v.current.nextElementSibling,R.current=100*("horizontal"===y.layout?u.getOuterWidth(j.current,!0):u.getOuterHeight(j.current,!0))/S.current,A.current=R.current,N.current=100*("horizontal"===y.layout?u.getOuterWidth(C.current,!0):u.getOuterHeight(C.current,!0))/S.current,I.current=N.current,T.current=t,!F()&&u.addClass(v.current,"p-splitter-gutter-resizing"),v.current.setAttribute("data-p-splitter-gutter-resizing",!0),!F()&&u.addClass(h.current,"p-splitter-resizing"),h.current.setAttribute("data-p-splitter-resizing",!0)},ue=function(e){var t,r=R.current+(t="horizontal"===y.layout?100*("touchmove"===e.type?e.touches[0].pageX:e.pageX)/S.current-100*x.current/S.current:100*("touchmove"===e.type?e.touches[0].pageY:e.pageY)/S.current-100*x.current/S.current),n=N.current-t;re(r,n)&&(A.current=r,I.current=n,j.current.style.flexBasis="calc("+r+"% - "+(y.children.length-1)*y.gutterSize+"px)",C.current.style.flexBasis="calc("+n+"% - "+(y.children.length-1)*y.gutterSize+"px)")},se=function(e){k((function(t){for(var r=[],n=0;n<y.children.length;n++)r[n]=_(t,n);return r[T.current]=A.current,r[T.current+1]=I.current,y.onResizeEnd&&y.onResizeEnd({originalEvent:e,sizes:r}),M&&ie(r),r})),!F()&&u.removeClass(v.current,"p-splitter-gutter-resizing"),v.current.setAttribute("data-p-splitter-gutter-resizing",!1),!F()&&u.removeClass(h.current,"p-splitter-resizing"),h.current.setAttribute("data-p-splitter-resizing",!1),P.current=!1,S.current=null,x.current=null,j.current=null,C.current=null,R.current=null,A.current=null,N.current=null,I.current=null,T.current=null},ae=function(e,t){oe(e,t),q(),V()},ce=function(e,t){oe(e,t),window.addEventListener("touchmove",pe,{passive:!1,cancelable:!1}),window.addEventListener("touchend",fe)},pe=function(e){ue(e)},fe=function e(t){se(t),window.removeEventListener("touchmove",pe),window.removeEventListener("touchend",e)};e.useImperativeHandle(c,(function(){return{props:y,getElement:function(){return h.current}}})),e.useEffect((function(){var e;(e=h.current.children,p(e)||f(e)||d(e)||g()).filter((function(e){return"splitterpanel.root"===u.getAttribute(e,"data-pc-section")})).map((function(e){e.childNodes&&l.isNotEmpty(u.find(e,"[data-pc-name='splitter']")&&u.find(e,"[data-pc-section='root']"))&&(!F()&&u.addClass(e,"p-splitter-panel-nested"),e.setAttribute("data-p-splitter-panel-nested",!0),L(!0))}))}),[]),e.useEffect((function(){M&&le()}),[le,M]);var de=function(t,r){var n=o(te(t,"className"),U("panel.root")),i=s({ref:function(e){return b.current[r]=e},className:U("gutter"),style:"horizontal"===y.layout?{width:y.gutterSize+"px"}:{height:y.gutterSize+"px"},onMouseDown:function(e){return ae(e,r)},onTouchStart:function(e){return ce(e,r)},onTouchMove:function(e){return pe(e)},onTouchEnd:function(e){return fe(e)},"data-p-splitter-gutter-resizing":!1},J("gutter")),l=s({className:U("gutterHandler")},J("gutterHandler")),u=r!==y.children.length-1&&e.createElement("div",i,e.createElement("div",l)),a="calc("+_(H,r)+"% - "+(X-1)*y.gutterSize+"px)",c=s({key:r,className:n,style:E(E({},te(t,"style")),{},{flexBasis:a}),role:"presentation","data-p-splitter-panel-nested":!1},J("splitterpanel.root",{context:{nested:K}}));return e.createElement(e.Fragment,null,e.createElement("div",c,te(t,"children")),u)},ge=s({id:y.id,style:y.style,className:o(y.className,U("root")),"data-p-splitter-resizing":!1},w.getOtherProps(y),J("root")),me=e.Children.map(y.children,de);return e.createElement("div",a({ref:h},ge),me)})));x.displayName="SplitterPanel",j.displayName="Splitter";export{j as Splitter,x as SplitterPanel};
|