primereact 10.2.1 → 10.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.cjs.js +83 -8
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.d.ts +35 -0
- package/accordion/accordion.esm.js +85 -10
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +83 -8
- package/accordion/accordion.min.js +1 -1
- package/api/api.cjs.js +63 -33
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +24 -246
- package/api/api.esm.js +63 -33
- package/api/api.esm.min.js +1 -1
- package/api/api.js +63 -33
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +3 -2
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +6 -1
- package/autocomplete/autocomplete.esm.js +3 -2
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +3 -2
- package/autocomplete/autocomplete.min.js +1 -1
- package/blockui/blockui.cjs.js +8 -5
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +8 -5
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +8 -5
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +12 -6
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +12 -6
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +12 -6
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/calendar/calendar.cjs.js +71 -37
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +3 -5
- package/calendar/calendar.esm.js +71 -37
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +71 -37
- package/calendar/calendar.min.js +1 -1
- package/carousel/carousel.cjs.js +103 -9
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +104 -10
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +103 -9
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +64 -23
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +27 -4
- package/cascadeselect/cascadeselect.esm.js +65 -24
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +65 -25
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/checkbox/checkbox.cjs.js +25 -25
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +25 -25
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +26 -26
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +5 -2
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.d.ts +17 -2
- package/chip/chip.esm.js +5 -2
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +5 -2
- package/chip/chip.min.js +1 -1
- package/colorpicker/colorpicker.d.ts +1 -1
- package/componentbase/componentbase.cjs.js +49 -8
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.js +50 -9
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.js +49 -8
- package/componentbase/componentbase.min.js +1 -1
- package/confirmdialog/confirmdialog.cjs.js +30 -22
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.d.ts +19 -3
- package/confirmdialog/confirmdialog.esm.js +30 -22
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +30 -22
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +85 -152
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.d.ts +40 -1
- package/confirmpopup/confirmpopup.esm.js +88 -155
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +85 -152
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +641 -99
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.d.ts +23 -1
- package/contextmenu/contextmenu.esm.js +641 -99
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +641 -99
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +1217 -484
- package/core/core.min.js +40 -40
- package/datatable/datatable.cjs.js +30 -26
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +5 -4
- package/datatable/datatable.esm.js +30 -26
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +30 -26
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.d.ts +1 -1
- package/dialog/dialog.cjs.js +108 -151
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.d.ts +60 -1
- package/dialog/dialog.esm.js +115 -158
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +109 -152
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.js +1 -0
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +1 -0
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +1 -0
- package/divider/divider.min.js +1 -1
- package/dock/dock.cjs.js +169 -33
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.d.ts +15 -0
- package/dock/dock.esm.js +170 -34
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +169 -33
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +29 -4
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +1 -1
- package/dropdown/dropdown.esm.js +29 -4
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +30 -6
- package/dropdown/dropdown.min.js +1 -1
- package/fieldset/fieldset.cjs.js +12 -5
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +12 -5
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +12 -5
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/fileupload.cjs.js +14 -6
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.d.ts +17 -1
- package/fileupload/fileupload.esm.js +14 -6
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +14 -6
- package/fileupload/fileupload.min.js +1 -1
- package/galleria/galleria.cjs.js +223 -43
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +225 -45
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +223 -43
- package/galleria/galleria.min.js +1 -1
- package/hooks/hooks.cjs.js +219 -78
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.d.ts +8 -4
- package/hooks/hooks.esm.js +219 -80
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +219 -78
- package/hooks/hooks.min.js +1 -1
- package/icons/arrowdown/index.cjs.js +13 -2
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +13 -2
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +13 -2
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowup/index.cjs.js +13 -2
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +13 -2
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +13 -2
- package/icons/arrowup/index.min.js +1 -1
- package/icons/ban/index.cjs.js +13 -2
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +13 -2
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +13 -2
- package/icons/ban/index.min.js +1 -1
- package/icons/download/index.cjs.js +13 -2
- package/icons/download/index.cjs.min.js +1 -1
- package/icons/download/index.esm.js +13 -2
- package/icons/download/index.esm.min.js +1 -1
- package/icons/download/index.js +13 -2
- package/icons/download/index.min.js +1 -1
- package/icons/exclamationtriangle/index.cjs.js +13 -2
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +13 -2
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +13 -2
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/eyeslash/index.cjs.js +13 -2
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +13 -2
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +13 -2
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/filter/index.cjs.js +13 -2
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +13 -2
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +13 -2
- package/icons/filter/index.min.js +1 -1
- package/icons/filterslash/index.cjs.js +13 -2
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +13 -2
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +13 -2
- package/icons/filterslash/index.min.js +1 -1
- package/icons/infocircle/index.cjs.js +13 -2
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +13 -2
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +13 -2
- package/icons/infocircle/index.min.js +1 -1
- package/icons/pencil/index.cjs.js +13 -2
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +13 -2
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +13 -2
- package/icons/pencil/index.min.js +1 -1
- package/icons/plus/index.cjs.js +13 -2
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +13 -2
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +13 -2
- package/icons/plus/index.min.js +1 -1
- package/icons/refresh/index.cjs.js +13 -2
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +13 -2
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +13 -2
- package/icons/refresh/index.min.js +1 -1
- package/icons/search/index.cjs.js +13 -2
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +13 -2
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +13 -2
- package/icons/search/index.min.js +1 -1
- package/icons/searchminus/index.cjs.js +13 -2
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +13 -2
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +13 -2
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchplus/index.cjs.js +13 -2
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +13 -2
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +13 -2
- package/icons/searchplus/index.min.js +1 -1
- package/icons/sortalt/index.cjs.js +13 -2
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +13 -2
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +13 -2
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortamountdown/index.cjs.js +13 -2
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +13 -2
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +13 -2
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountupalt/index.cjs.js +13 -2
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +13 -2
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +13 -2
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/spinner/index.cjs.js +13 -2
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +13 -2
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +13 -2
- package/icons/spinner/index.min.js +1 -1
- package/icons/star/index.cjs.js +13 -2
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +13 -2
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +13 -2
- package/icons/star/index.min.js +1 -1
- package/icons/starfill/index.cjs.js +13 -2
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +13 -2
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +13 -2
- package/icons/starfill/index.min.js +1 -1
- package/icons/thlarge/index.cjs.js +13 -2
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +13 -2
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +13 -2
- package/icons/thlarge/index.min.js +1 -1
- package/icons/timescircle/index.cjs.js +13 -2
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +13 -2
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +13 -2
- package/icons/timescircle/index.min.js +1 -1
- package/icons/trash/index.cjs.js +13 -2
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +13 -2
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +13 -2
- package/icons/trash/index.min.js +1 -1
- package/icons/undo/index.cjs.js +13 -2
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +13 -2
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +13 -2
- package/icons/undo/index.min.js +1 -1
- package/icons/upload/index.cjs.js +13 -2
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +13 -2
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +13 -2
- package/icons/upload/index.min.js +1 -1
- package/icons/windowmaximize/index.cjs.js +13 -2
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +13 -2
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +13 -2
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowminimize/index.cjs.js +13 -2
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +13 -2
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +13 -2
- package/icons/windowminimize/index.min.js +1 -1
- package/image/image.cjs.js +85 -119
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +87 -121
- package/image/image.esm.min.js +1 -1
- package/image/image.js +86 -120
- package/image/image.min.js +1 -1
- package/inplace/inplace.cjs.js +7 -0
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +7 -0
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +8 -2
- package/inplace/inplace.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +63 -19
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.d.ts +7 -0
- package/inputnumber/inputnumber.esm.js +63 -19
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +63 -19
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +3 -3
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +3 -3
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +3 -3
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +7 -6
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +7 -6
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +7 -6
- package/inputtext/inputtext.min.js +1 -1
- package/listbox/listbox.cjs.js +14 -1
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.d.ts +8 -3
- package/listbox/listbox.esm.js +14 -1
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +14 -1
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +799 -179
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.d.ts +14 -0
- package/megamenu/megamenu.esm.js +801 -181
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +799 -179
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +7 -9
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +7 -9
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +7 -9
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +217 -166
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.d.ts +15 -1
- package/menu/menu.esm.js +220 -169
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +217 -166
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +714 -179
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.d.ts +18 -0
- package/menubar/menubar.esm.js +717 -182
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +714 -179
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +2 -1
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +2 -1
- package/message/message.esm.min.js +1 -1
- package/message/message.js +2 -1
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +5 -3
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +5 -3
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +5 -3
- package/messages/messages.min.js +1 -1
- package/multiselect/multiselect.cjs.js +58 -35
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +5 -1
- package/multiselect/multiselect.esm.js +58 -35
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +59 -37
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/orderlist.cjs.js +260 -105
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.d.ts +18 -0
- package/orderlist/orderlist.esm.js +261 -106
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +260 -105
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +10 -0
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +10 -0
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +10 -0
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +9 -102
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.d.ts +1 -1
- package/overlaypanel/overlaypanel.esm.js +11 -104
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +10 -103
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.d.ts +2 -2
- package/panel/panel.cjs.js +22 -19
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +22 -19
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +22 -19
- package/panel/panel.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +774 -195
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.d.ts +15 -0
- package/panelmenu/panelmenu.esm.js +775 -196
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +774 -195
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +163 -159
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +163 -159
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +163 -159
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.cjs.js +7 -2
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +1 -1
- package/password/password.esm.js +8 -3
- package/password/password.esm.min.js +1 -1
- package/password/password.js +7 -2
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +709 -181
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.d.ts +10 -0
- package/picklist/picklist.esm.js +708 -180
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +709 -181
- package/picklist/picklist.min.js +1 -1
- package/portal/portal.cjs.js +7 -1
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +7 -1
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +7 -1
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +8352 -3145
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +8351 -3146
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +8352 -3145
- package/primereact.all.min.js +1 -1
- package/radiobutton/radiobutton.cjs.js +27 -26
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +27 -26
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +28 -27
- package/radiobutton/radiobutton.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +854 -790
- package/resources/themes/arya-green/theme.css +854 -790
- package/resources/themes/arya-orange/theme.css +854 -790
- package/resources/themes/arya-purple/theme.css +854 -790
- package/resources/themes/bootstrap4-dark-blue/theme.css +678 -615
- package/resources/themes/bootstrap4-dark-purple/theme.css +678 -615
- package/resources/themes/bootstrap4-light-blue/theme.css +679 -616
- package/resources/themes/bootstrap4-light-purple/theme.css +679 -616
- package/resources/themes/fluent-light/theme.css +686 -638
- package/resources/themes/lara-dark-amber/theme.css +679 -630
- package/resources/themes/lara-dark-blue/theme.css +679 -630
- package/resources/themes/lara-dark-cyan/theme.css +679 -630
- package/resources/themes/lara-dark-green/theme.css +679 -630
- package/resources/themes/lara-dark-indigo/theme.css +679 -630
- package/resources/themes/lara-dark-pink/theme.css +679 -630
- package/resources/themes/lara-dark-purple/theme.css +679 -630
- package/resources/themes/lara-dark-teal/theme.css +679 -630
- package/resources/themes/lara-light-amber/theme.css +776 -725
- package/resources/themes/lara-light-blue/theme.css +1011 -960
- package/resources/themes/lara-light-cyan/theme.css +776 -725
- package/resources/themes/lara-light-green/theme.css +820 -769
- package/resources/themes/lara-light-indigo/theme.css +1016 -965
- package/resources/themes/lara-light-pink/theme.css +776 -725
- package/resources/themes/lara-light-purple/theme.css +1016 -965
- package/resources/themes/lara-light-teal/theme.css +776 -725
- package/resources/themes/luna-amber/theme.css +950 -887
- package/resources/themes/luna-blue/theme.css +950 -887
- package/resources/themes/luna-green/theme.css +950 -887
- package/resources/themes/luna-pink/theme.css +950 -887
- package/resources/themes/md-dark-deeppurple/theme.css +918 -950
- package/resources/themes/md-dark-indigo/theme.css +918 -950
- package/resources/themes/md-light-deeppurple/theme.css +878 -910
- package/resources/themes/md-light-indigo/theme.css +878 -910
- package/resources/themes/mdc-dark-deeppurple/theme.css +918 -950
- package/resources/themes/mdc-dark-indigo/theme.css +918 -950
- package/resources/themes/mdc-light-deeppurple/theme.css +878 -910
- package/resources/themes/mdc-light-indigo/theme.css +878 -910
- package/resources/themes/mira/theme.css +1562 -1532
- package/resources/themes/nano/theme.css +707 -641
- package/resources/themes/nova/theme.css +705 -643
- package/resources/themes/nova-accent/theme.css +701 -636
- package/resources/themes/nova-alt/theme.css +705 -643
- package/resources/themes/rhea/theme.css +876 -811
- package/resources/themes/saga-blue/theme.css +896 -832
- package/resources/themes/saga-green/theme.css +896 -832
- package/resources/themes/saga-orange/theme.css +896 -832
- package/resources/themes/saga-purple/theme.css +896 -832
- package/resources/themes/soho-dark/theme.css +701 -643
- package/resources/themes/soho-light/theme.css +690 -634
- package/resources/themes/tailwind-light/theme.css +1370 -1306
- package/resources/themes/vela-blue/theme.css +862 -798
- package/resources/themes/vela-green/theme.css +862 -798
- package/resources/themes/vela-orange/theme.css +862 -798
- package/resources/themes/vela-purple/theme.css +862 -798
- package/resources/themes/viva-dark/theme.css +655 -612
- package/resources/themes/viva-light/theme.css +737 -694
- package/ripple/ripple.cjs.js +71 -5
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.js +71 -5
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +71 -5
- package/ripple/ripple.min.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +183 -3
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +184 -4
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +183 -3
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/sidebar/sidebar.cjs.js +62 -146
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +25 -3
- package/sidebar/sidebar.esm.js +65 -149
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +63 -147
- package/sidebar/sidebar.min.js +1 -1
- package/slidemenu/slidemenu.cjs.js +7 -100
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.d.ts +1 -1
- package/slidemenu/slidemenu.esm.js +10 -103
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +7 -100
- package/slidemenu/slidemenu.min.js +1 -1
- package/speeddial/speeddial.cjs.js +275 -32
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +277 -34
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +275 -32
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +1098 -309
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +5 -5
- package/splitbutton/splitbutton.esm.js +1100 -311
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +1096 -309
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +103 -15
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.d.ts +5 -0
- package/splitter/splitter.esm.js +103 -15
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +103 -15
- package/splitter/splitter.min.js +1 -1
- package/steps/steps.cjs.js +99 -13
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +100 -14
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +99 -13
- package/steps/steps.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +113 -17
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +113 -17
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +113 -17
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +128 -20
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.d.ts +35 -0
- package/tabview/tabview.esm.js +128 -20
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +128 -20
- package/tabview/tabview.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +753 -275
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.d.ts +11 -1
- package/tieredmenu/tieredmenu.esm.js +755 -277
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +753 -275
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/toast/toast.cjs.js +6 -1
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.d.ts +36 -2
- package/toast/toast.esm.js +6 -1
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +6 -1
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +74 -4
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +74 -4
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +75 -5
- package/togglebutton/togglebutton.min.js +1 -1
- package/tooltip/tooltip.d.ts +27 -0
- package/tooltip/tooltipoptions.d.ts +1 -1
- package/tree/tree.cjs.js +198 -88
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.d.ts +8 -0
- package/tree/tree.esm.js +199 -89
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +198 -88
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.cjs.js +185 -49
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +26 -1
- package/treeselect/treeselect.esm.js +186 -50
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +186 -51
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +59 -53
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +3 -3
- package/treetable/treetable.esm.js +59 -53
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +59 -53
- package/treetable/treetable.min.js +1 -1
- package/utils/utils.cjs.js +19 -5
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +1 -1
- package/utils/utils.esm.js +19 -5
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +19 -5
- package/utils/utils.min.js +1 -1
- package/web-types.json +402 -33
package/core/core.js
CHANGED
|
@@ -1221,10 +1221,13 @@ this.primereact.utils = (function (exports, React) {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
}, {
|
|
1223
1223
|
key: "createInlineStyle",
|
|
1224
|
-
value: function createInlineStyle(nonce) {
|
|
1224
|
+
value: function createInlineStyle(nonce, styleContainer) {
|
|
1225
1225
|
var styleElement = document.createElement('style');
|
|
1226
1226
|
DomHandler.addNonce(styleElement, nonce);
|
|
1227
|
-
|
|
1227
|
+
if (!styleContainer) {
|
|
1228
|
+
styleContainer = document.head;
|
|
1229
|
+
}
|
|
1230
|
+
styleContainer.appendChild(styleElement);
|
|
1228
1231
|
return styleElement;
|
|
1229
1232
|
}
|
|
1230
1233
|
}, {
|
|
@@ -1232,7 +1235,7 @@ this.primereact.utils = (function (exports, React) {
|
|
|
1232
1235
|
value: function removeInlineStyle(styleElement) {
|
|
1233
1236
|
if (this.isExist(styleElement)) {
|
|
1234
1237
|
try {
|
|
1235
|
-
|
|
1238
|
+
styleElement.parentNode.removeChild(styleElement);
|
|
1236
1239
|
} catch (error) {
|
|
1237
1240
|
// style element may have already been removed in a fast refresh
|
|
1238
1241
|
}
|
|
@@ -1415,7 +1418,10 @@ this.primereact.utils = (function (exports, React) {
|
|
|
1415
1418
|
_createClass(ObjectUtils, null, [{
|
|
1416
1419
|
key: "equals",
|
|
1417
1420
|
value: function equals(obj1, obj2, field) {
|
|
1418
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
1421
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
1422
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
1423
|
+
}
|
|
1424
|
+
return this.deepEquals(obj1, obj2);
|
|
1419
1425
|
}
|
|
1420
1426
|
|
|
1421
1427
|
/**
|
|
@@ -1641,7 +1647,15 @@ this.primereact.utils = (function (exports, React) {
|
|
|
1641
1647
|
value: function isValidChild(child, type, validTypes) {
|
|
1642
1648
|
/* eslint-disable */
|
|
1643
1649
|
if (child) {
|
|
1650
|
+
var _child$type;
|
|
1644
1651
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
1652
|
+
|
|
1653
|
+
// for App Router in Next.js ^14,
|
|
1654
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
1655
|
+
childType = child.type._payload.value.find(function (v) {
|
|
1656
|
+
return v === type;
|
|
1657
|
+
});
|
|
1658
|
+
}
|
|
1645
1659
|
var isValid = childType === type;
|
|
1646
1660
|
try {
|
|
1647
1661
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -1741,7 +1755,7 @@ this.primereact.utils = (function (exports, React) {
|
|
|
1741
1755
|
}, {
|
|
1742
1756
|
key: "isLetter",
|
|
1743
1757
|
value: function isLetter(_char2) {
|
|
1744
|
-
return
|
|
1758
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
1745
1759
|
}
|
|
1746
1760
|
|
|
1747
1761
|
/**
|
|
@@ -2759,6 +2773,9 @@ this.primereact.api = (function (exports, utils, React) {
|
|
|
2759
2773
|
}
|
|
2760
2774
|
}
|
|
2761
2775
|
|
|
2776
|
+
/**
|
|
2777
|
+
* @deprecated please use PrimeReactContext
|
|
2778
|
+
*/
|
|
2762
2779
|
var PrimeReact$1 = /*#__PURE__*/_createClass(function PrimeReact() {
|
|
2763
2780
|
_classCallCheck(this, PrimeReact);
|
|
2764
2781
|
});
|
|
@@ -3319,59 +3336,63 @@ this.primereact.api = (function (exports, utils, React) {
|
|
|
3319
3336
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
3320
3337
|
appendTo = _useState8[0],
|
|
3321
3338
|
setAppendTo = _useState8[1];
|
|
3322
|
-
var _useState9 = React.useState(propsValue.
|
|
3339
|
+
var _useState9 = React.useState(propsValue.styleContainer || null),
|
|
3323
3340
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
var _useState11 = React.useState(propsValue.
|
|
3341
|
+
styleContainer = _useState10[0],
|
|
3342
|
+
setStyleContainer = _useState10[1];
|
|
3343
|
+
var _useState11 = React.useState(propsValue.cssTransition || true),
|
|
3327
3344
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
var _useState13 = React.useState(propsValue.
|
|
3345
|
+
cssTransition = _useState12[0],
|
|
3346
|
+
setCssTransition = _useState12[1];
|
|
3347
|
+
var _useState13 = React.useState(propsValue.autoZIndex || true),
|
|
3331
3348
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
var _useState15 = React.useState(propsValue.
|
|
3349
|
+
autoZIndex = _useState14[0],
|
|
3350
|
+
setAutoZIndex = _useState14[1];
|
|
3351
|
+
var _useState15 = React.useState(propsValue.hideOverlaysOnDocumentScrolling || false),
|
|
3335
3352
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
var _useState17 = React.useState(propsValue.
|
|
3353
|
+
hideOverlaysOnDocumentScrolling = _useState16[0],
|
|
3354
|
+
setHideOverlaysOnDocumentScrolling = _useState16[1];
|
|
3355
|
+
var _useState17 = React.useState(propsValue.nonce || null),
|
|
3339
3356
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
var _useState19 = React.useState(propsValue.
|
|
3357
|
+
nonce = _useState18[0],
|
|
3358
|
+
setNonce = _useState18[1];
|
|
3359
|
+
var _useState19 = React.useState(propsValue.nullSortOrder || 1),
|
|
3360
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
3361
|
+
nullSortOrder = _useState20[0],
|
|
3362
|
+
setNullSortOrder = _useState20[1];
|
|
3363
|
+
var _useState21 = React.useState(propsValue.zIndex || {
|
|
3343
3364
|
modal: 1100,
|
|
3344
3365
|
overlay: 1000,
|
|
3345
3366
|
menu: 1000,
|
|
3346
3367
|
tooltip: 1100,
|
|
3347
3368
|
toast: 1200
|
|
3348
3369
|
}),
|
|
3349
|
-
|
|
3350
|
-
zIndex =
|
|
3351
|
-
setZIndex =
|
|
3352
|
-
var
|
|
3370
|
+
_useState22 = _slicedToArray(_useState21, 2),
|
|
3371
|
+
zIndex = _useState22[0],
|
|
3372
|
+
setZIndex = _useState22[1];
|
|
3373
|
+
var _useState23 = React.useState(propsValue.ptOptions || {
|
|
3353
3374
|
mergeSections: true,
|
|
3354
3375
|
mergeProps: true
|
|
3355
3376
|
}),
|
|
3356
|
-
_useState22 = _slicedToArray(_useState21, 2),
|
|
3357
|
-
ptOptions = _useState22[0],
|
|
3358
|
-
setPtOptions = _useState22[1];
|
|
3359
|
-
var _useState23 = React.useState(propsValue.pt || undefined),
|
|
3360
3377
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
var _useState25 = React.useState(propsValue.
|
|
3378
|
+
ptOptions = _useState24[0],
|
|
3379
|
+
setPtOptions = _useState24[1];
|
|
3380
|
+
var _useState25 = React.useState(propsValue.pt || undefined),
|
|
3364
3381
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
var _useState27 = React.useState(propsValue.
|
|
3382
|
+
pt = _useState26[0],
|
|
3383
|
+
setPt = _useState26[1];
|
|
3384
|
+
var _useState27 = React.useState(propsValue.unstyled || false),
|
|
3385
|
+
_useState28 = _slicedToArray(_useState27, 2),
|
|
3386
|
+
unstyled = _useState28[0],
|
|
3387
|
+
setUnstyled = _useState28[1];
|
|
3388
|
+
var _useState29 = React.useState(propsValue.filterMatchModeOptions || {
|
|
3368
3389
|
text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],
|
|
3369
3390
|
numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],
|
|
3370
3391
|
date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]
|
|
3371
3392
|
}),
|
|
3372
|
-
|
|
3373
|
-
filterMatchModeOptions =
|
|
3374
|
-
setFilterMatchModeOptions =
|
|
3393
|
+
_useState30 = _slicedToArray(_useState29, 2),
|
|
3394
|
+
filterMatchModeOptions = _useState30[0],
|
|
3395
|
+
setFilterMatchModeOptions = _useState30[1];
|
|
3375
3396
|
var changeTheme = function changeTheme(currentTheme, newTheme, linkElementId, callback) {
|
|
3376
3397
|
var _linkElement$parentNo;
|
|
3377
3398
|
var linkElement = document.getElementById(linkElementId);
|
|
@@ -3388,6 +3409,27 @@ this.primereact.api = (function (exports, utils, React) {
|
|
|
3388
3409
|
});
|
|
3389
3410
|
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.insertBefore(cloneLinkElement, linkElement.nextSibling);
|
|
3390
3411
|
};
|
|
3412
|
+
|
|
3413
|
+
/**
|
|
3414
|
+
* @deprecated
|
|
3415
|
+
*/
|
|
3416
|
+
React__default["default"].useEffect(function () {
|
|
3417
|
+
PrimeReact$1.ripple = ripple;
|
|
3418
|
+
}, [ripple]);
|
|
3419
|
+
|
|
3420
|
+
/**
|
|
3421
|
+
* @deprecated
|
|
3422
|
+
*/
|
|
3423
|
+
React__default["default"].useEffect(function () {
|
|
3424
|
+
PrimeReact$1.inputStyle = inputStyle;
|
|
3425
|
+
}, [inputStyle]);
|
|
3426
|
+
|
|
3427
|
+
/**
|
|
3428
|
+
* @deprecated
|
|
3429
|
+
*/
|
|
3430
|
+
React__default["default"].useEffect(function () {
|
|
3431
|
+
PrimeReact$1.locale = locale;
|
|
3432
|
+
}, [locale]);
|
|
3391
3433
|
var value = {
|
|
3392
3434
|
changeTheme: changeTheme,
|
|
3393
3435
|
ripple: ripple,
|
|
@@ -3398,6 +3440,8 @@ this.primereact.api = (function (exports, utils, React) {
|
|
|
3398
3440
|
setLocale: setLocale,
|
|
3399
3441
|
appendTo: appendTo,
|
|
3400
3442
|
setAppendTo: setAppendTo,
|
|
3443
|
+
styleContainer: styleContainer,
|
|
3444
|
+
setStyleContainer: setStyleContainer,
|
|
3401
3445
|
cssTransition: cssTransition,
|
|
3402
3446
|
setCssTransition: setCssTransition,
|
|
3403
3447
|
autoZIndex: autoZIndex,
|
|
@@ -3457,6 +3501,37 @@ this.primereact.componentbase = (function (exports, PrimeReact, hooks, utils) {
|
|
|
3457
3501
|
|
|
3458
3502
|
var PrimeReact__default = /*#__PURE__*/_interopDefaultLegacy(PrimeReact);
|
|
3459
3503
|
|
|
3504
|
+
function _arrayLikeToArray(arr, len) {
|
|
3505
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3506
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
3507
|
+
return arr2;
|
|
3508
|
+
}
|
|
3509
|
+
|
|
3510
|
+
function _arrayWithoutHoles(arr) {
|
|
3511
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
3512
|
+
}
|
|
3513
|
+
|
|
3514
|
+
function _iterableToArray(iter) {
|
|
3515
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
3516
|
+
}
|
|
3517
|
+
|
|
3518
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
3519
|
+
if (!o) return;
|
|
3520
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
3521
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
3522
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
3523
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
3524
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
3525
|
+
}
|
|
3526
|
+
|
|
3527
|
+
function _nonIterableSpread() {
|
|
3528
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3529
|
+
}
|
|
3530
|
+
|
|
3531
|
+
function _toConsumableArray(arr) {
|
|
3532
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3460
3535
|
function _typeof(o) {
|
|
3461
3536
|
"@babel/helpers - typeof";
|
|
3462
3537
|
|
|
@@ -3543,7 +3618,7 @@ this.primereact.componentbase = (function (exports, PrimeReact, hooks, utils) {
|
|
|
3543
3618
|
var checkboxStyles = "\n.p-checkbox {\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n vertical-align: bottom;\n position: relative;\n}\n\n.p-checkbox.p-checkbox-disabled {\n cursor: auto;\n}\n\n.p-checkbox-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n";
|
|
3544
3619
|
var inputTextStyles = "\n.p-inputtext {\n margin: 0;\n}\n\n.p-fluid .p-inputtext {\n width: 100%;\n}\n\n/* InputGroup */\n.p-inputgroup {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup-addon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-inputgroup .p-float-label {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup .p-inputtext,\n.p-fluid .p-inputgroup .p-inputtext,\n.p-inputgroup .p-inputwrapper,\n.p-fluid .p-inputgroup .p-input {\n flex: 1 1 auto;\n width: 1%;\n}\n\n/* Floating Label */\n.p-float-label {\n display: block;\n position: relative;\n}\n\n.p-float-label label {\n position: absolute;\n pointer-events: none;\n top: 50%;\n margin-top: -0.5rem;\n transition-property: all;\n transition-timing-function: ease;\n line-height: 1;\n}\n\n.p-float-label textarea ~ label,\n.p-float-label .p-mention ~ label {\n top: 1rem;\n}\n\n.p-float-label input:focus ~ label,\n.p-float-label input:-webkit-autofill ~ label,\n.p-float-label input.p-filled ~ label,\n.p-float-label textarea:focus ~ label,\n.p-float-label textarea.p-filled ~ label,\n.p-float-label .p-inputwrapper-focus ~ label,\n.p-float-label .p-inputwrapper-filled ~ label,\n.p-float-label .p-tooltip-target-wrapper ~ label {\n top: -0.75rem;\n font-size: 12px;\n}\n\n.p-float-label .p-placeholder,\n.p-float-label input::placeholder,\n.p-float-label .p-inputtext::placeholder {\n opacity: 0;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-float-label .p-focus .p-placeholder,\n.p-float-label input:focus::placeholder,\n.p-float-label .p-inputtext:focus::placeholder {\n opacity: 1;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-input-icon-left,\n.p-input-icon-right {\n position: relative;\n display: inline-block;\n}\n\n.p-input-icon-left > i,\n.p-input-icon-right > i,\n.p-input-icon-left > svg,\n.p-input-icon-right > svg,\n.p-input-icon-left > .p-input-prefix,\n.p-input-icon-right > .p-input-suffix {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n}\n\n.p-fluid .p-input-icon-left,\n.p-fluid .p-input-icon-right {\n display: block;\n width: 100%;\n}\n";
|
|
3545
3620
|
var radioButtonStyles = "\n.p-radiobutton {\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n vertical-align: bottom;\n}\n\n.p-radiobutton-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.p-radiobutton-icon {\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n transform: translateZ(0) scale(.1);\n border-radius: 50%;\n visibility: hidden;\n}\n\n.p-radiobutton-box.p-highlight .p-radiobutton-icon {\n transform: translateZ(0) scale(1.0, 1.0);\n visibility: visible;\n}\n\n";
|
|
3546
|
-
var iconStyles = "\n.p-icon {\n display: inline-block;\n}\n\n.p-icon-spin {\n -webkit-animation: p-icon-spin 2s infinite linear;\n animation: p-icon-spin 2s infinite linear;\n}\n\nsvg.p-icon {\n pointer-events: auto;\n}\n\nsvg.p-icon g {\n pointer-events: none;\n}\n\n@-webkit-keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n";
|
|
3621
|
+
var iconStyles = "\n.p-icon {\n display: inline-block;\n}\n\n.p-icon-spin {\n -webkit-animation: p-icon-spin 2s infinite linear;\n animation: p-icon-spin 2s infinite linear;\n}\n\nsvg.p-icon {\n pointer-events: auto;\n}\n\nsvg.p-icon g,\n.p-disabled svg.p-icon {\n pointer-events: none;\n}\n\n@-webkit-keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n";
|
|
3547
3622
|
var commonStyle = "\n@layer primereact {\n .p-component, .p-component * {\n box-sizing: border-box;\n }\n\n .p-hidden {\n display: none;\n }\n\n .p-hidden-space {\n visibility: hidden;\n }\n\n .p-reset {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n text-decoration: none;\n font-size: 100%;\n list-style: none;\n }\n\n .p-disabled, .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-component-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-unselectable-text {\n user-select: none;\n }\n\n .p-scrollbar-measure {\n width: 100px;\n height: 100px;\n overflow: scroll;\n position: absolute;\n top: -9999px;\n }\n\n @-webkit-keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n @keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n\n .p-link {\n text-align: left;\n background-color: transparent;\n margin: 0;\n padding: 0;\n border: none;\n cursor: pointer;\n user-select: none;\n }\n\n .p-link:disabled {\n cursor: default;\n }\n\n /* Non react overlay animations */\n .p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n }\n\n .p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity .1s linear;\n }\n\n /* React based overlay animations */\n .p-connected-overlay-enter {\n opacity: 0;\n transform: scaleY(0.8);\n }\n\n .p-connected-overlay-enter-active {\n opacity: 1;\n transform: scaleY(1);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-enter-done {\n transform: none;\n }\n\n .p-connected-overlay-exit {\n opacity: 1;\n }\n\n .p-connected-overlay-exit-active {\n opacity: 0;\n transition: opacity .1s linear;\n }\n\n /* Toggleable Content */\n .p-toggleable-content-enter {\n max-height: 0;\n }\n\n .p-toggleable-content-enter-active {\n overflow: hidden;\n max-height: 1000px;\n transition: max-height 1s ease-in-out;\n }\n\n .p-toggleable-content-enter-done {\n transform: none;\n }\n\n .p-toggleable-content-exit {\n max-height: 1000px;\n }\n\n .p-toggleable-content-exit-active {\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n }\n\n .p-sr-only {\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n clip-path: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n word-wrap: normal;\n }\n\n /* @todo Refactor */\n .p-menu .p-menuitem-link {\n cursor: pointer;\n display: flex;\n align-items: center;\n text-decoration: none;\n overflow: hidden;\n position: relative;\n }\n\n ".concat(buttonStyles, "\n ").concat(checkboxStyles, "\n ").concat(inputTextStyles, "\n ").concat(radioButtonStyles, "\n ").concat(iconStyles, "\n}\n");
|
|
3548
3623
|
var ComponentBase = {
|
|
3549
3624
|
cProps: undefined,
|
|
@@ -3581,12 +3656,13 @@ this.primereact.componentbase = (function (exports, PrimeReact, hooks, utils) {
|
|
|
3581
3656
|
if (obj.hasOwnProperty('pt') && obj.pt !== undefined) {
|
|
3582
3657
|
obj = obj.pt;
|
|
3583
3658
|
}
|
|
3659
|
+
var originalkey = key;
|
|
3660
|
+
var isNestedParam = /./g.test(originalkey) && !!params[originalkey.split('.')[0]];
|
|
3661
|
+
var fkey = isNestedParam ? utils.ObjectUtils.toFlatCase(originalkey.split('.')[1]) : utils.ObjectUtils.toFlatCase(originalkey);
|
|
3584
3662
|
var hostName = params.hostName && utils.ObjectUtils.toFlatCase(params.hostName);
|
|
3585
3663
|
var componentName = hostName || params.props && params.props.__TYPE && utils.ObjectUtils.toFlatCase(params.props.__TYPE) || '';
|
|
3586
|
-
var
|
|
3587
|
-
var isTransition = key === 'transition' || /./g.test(key) && !!(key.split('.')[1] === 'transition');
|
|
3664
|
+
var isTransition = fkey === 'transition';
|
|
3588
3665
|
var datasetPrefix = 'data-pc-';
|
|
3589
|
-
var fkey = isNestedParam ? utils.ObjectUtils.toFlatCase(key.split('.')[1]) : utils.ObjectUtils.toFlatCase(key);
|
|
3590
3666
|
var getHostInstance = function getHostInstance(params) {
|
|
3591
3667
|
return params !== null && params !== void 0 && params.props ? params.hostName ? params.props.__TYPE === params.hostName ? params.props : getHostInstance(params.parent) : params.parent : undefined;
|
|
3592
3668
|
};
|
|
@@ -3603,12 +3679,21 @@ this.primereact.componentbase = (function (exports, PrimeReact, hooks, utils) {
|
|
|
3603
3679
|
useMergeProps = _ref$mergeProps === void 0 ? false : _ref$mergeProps;
|
|
3604
3680
|
var getPTClassValue = function getPTClassValue() {
|
|
3605
3681
|
var value = getOptionValue.apply(void 0, arguments);
|
|
3606
|
-
|
|
3682
|
+
if (Array.isArray(value)) return {
|
|
3683
|
+
className: utils.classNames.apply(void 0, _toConsumableArray(value))
|
|
3684
|
+
};
|
|
3685
|
+
if (utils.ObjectUtils.isString(value)) return {
|
|
3607
3686
|
className: value
|
|
3608
|
-
}
|
|
3687
|
+
};
|
|
3688
|
+
if (value !== null && value !== void 0 && value.hasOwnProperty('className') && Array.isArray(value.className)) {
|
|
3689
|
+
return {
|
|
3690
|
+
className: utils.classNames.apply(void 0, _toConsumableArray(value.className))
|
|
3691
|
+
};
|
|
3692
|
+
}
|
|
3693
|
+
return value;
|
|
3609
3694
|
};
|
|
3610
|
-
var globalPT = searchInDefaultPT ? isNestedParam ? _useGlobalPT(getPTClassValue,
|
|
3611
|
-
var self = isNestedParam ? undefined : _usePT(_getPT(obj, componentName), getPTClassValue,
|
|
3695
|
+
var globalPT = searchInDefaultPT ? isNestedParam ? _useGlobalPT(getPTClassValue, originalkey, params) : _useDefaultPT(getPTClassValue, originalkey, params) : undefined;
|
|
3696
|
+
var self = isNestedParam ? undefined : _usePT(_getPT(obj, componentName), getPTClassValue, originalkey, params);
|
|
3612
3697
|
var datasetProps = !isTransition && _objectSpread(_objectSpread({}, fkey === 'root' && _defineProperty({}, "".concat(datasetPrefix, "name"), params.props && params.props.__parentMetadata ? utils.ObjectUtils.toFlatCase(params.props.__TYPE) : componentName)), {}, _defineProperty({}, "".concat(datasetPrefix, "section"), fkey));
|
|
3613
3698
|
return mergeSections || !mergeSections && self ? useMergeProps ? mergeProps(globalPT, self, Object.keys(datasetProps).length ? datasetProps : {}) : _objectSpread(_objectSpread(_objectSpread({}, globalPT), self), Object.keys(datasetProps).length ? datasetProps : {}) : _objectSpread(_objectSpread({}, self), Object.keys(datasetProps).length ? datasetProps : {});
|
|
3614
3699
|
};
|
|
@@ -3902,6 +3987,7 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
3902
3987
|
when = _ref$when === void 0 ? true : _ref$when;
|
|
3903
3988
|
var targetRef = React__namespace.useRef(null);
|
|
3904
3989
|
var listenerRef = React__namespace.useRef(null);
|
|
3990
|
+
var prevListener = usePrevious(listener);
|
|
3905
3991
|
var prevOptions = usePrevious(options);
|
|
3906
3992
|
var bind = function bind() {
|
|
3907
3993
|
var bindOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -3931,11 +4017,12 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
3931
4017
|
}
|
|
3932
4018
|
}, [target, when]);
|
|
3933
4019
|
React__namespace.useEffect(function () {
|
|
3934
|
-
|
|
4020
|
+
// to properly compare functions we can implicitly converting the function to it's body's text as a String
|
|
4021
|
+
if (listenerRef.current && ('' + prevListener !== '' + listener || prevOptions !== options)) {
|
|
3935
4022
|
unbind();
|
|
3936
4023
|
when && bind();
|
|
3937
4024
|
}
|
|
3938
|
-
}, [listener, options]);
|
|
4025
|
+
}, [listener, options, when]);
|
|
3939
4026
|
useUnmountEffect(function () {
|
|
3940
4027
|
unbind();
|
|
3941
4028
|
});
|
|
@@ -4010,36 +4097,6 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
4010
4097
|
};
|
|
4011
4098
|
};
|
|
4012
4099
|
|
|
4013
|
-
/* eslint-disable */
|
|
4014
|
-
var useTimeout = function useTimeout(fn) {
|
|
4015
|
-
var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
4016
|
-
var when = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
4017
|
-
var timeout = React__namespace.useRef(null);
|
|
4018
|
-
var savedCallback = React__namespace.useRef(null);
|
|
4019
|
-
var clear = React__namespace.useCallback(function () {
|
|
4020
|
-
return clearTimeout(timeout.current);
|
|
4021
|
-
}, [timeout.current]);
|
|
4022
|
-
React__namespace.useEffect(function () {
|
|
4023
|
-
savedCallback.current = fn;
|
|
4024
|
-
});
|
|
4025
|
-
React__namespace.useEffect(function () {
|
|
4026
|
-
function callback() {
|
|
4027
|
-
savedCallback.current();
|
|
4028
|
-
}
|
|
4029
|
-
if (when) {
|
|
4030
|
-
timeout.current = setTimeout(callback, delay);
|
|
4031
|
-
return clear;
|
|
4032
|
-
} else {
|
|
4033
|
-
clear();
|
|
4034
|
-
}
|
|
4035
|
-
}, [delay, when]);
|
|
4036
|
-
useUnmountEffect(function () {
|
|
4037
|
-
clear();
|
|
4038
|
-
});
|
|
4039
|
-
return [clear];
|
|
4040
|
-
};
|
|
4041
|
-
/* eslint-enable */
|
|
4042
|
-
|
|
4043
4100
|
var useDebounce = function useDebounce(initialValue, delay) {
|
|
4044
4101
|
var _React$useState = React__namespace.useState(initialValue),
|
|
4045
4102
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -4049,12 +4106,64 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
4049
4106
|
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
4050
4107
|
debouncedValue = _React$useState4[0],
|
|
4051
4108
|
setDebouncedValue = _React$useState4[1];
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4109
|
+
var mountedRef = React__namespace.useRef(false);
|
|
4110
|
+
var timeoutRef = React__namespace.useRef(null);
|
|
4111
|
+
var cancelTimer = function cancelTimer() {
|
|
4112
|
+
return window.clearTimeout(timeoutRef.current);
|
|
4113
|
+
};
|
|
4114
|
+
useMountEffect(function () {
|
|
4115
|
+
mountedRef.current = true;
|
|
4116
|
+
});
|
|
4117
|
+
useUnmountEffect(function () {
|
|
4118
|
+
cancelTimer();
|
|
4119
|
+
});
|
|
4120
|
+
React__namespace.useEffect(function () {
|
|
4121
|
+
if (!mountedRef.current) {
|
|
4122
|
+
return;
|
|
4123
|
+
}
|
|
4124
|
+
cancelTimer();
|
|
4125
|
+
timeoutRef.current = window.setTimeout(function () {
|
|
4126
|
+
setDebouncedValue(inputValue);
|
|
4127
|
+
}, delay);
|
|
4128
|
+
}, [inputValue, delay]);
|
|
4055
4129
|
return [inputValue, debouncedValue, setInputValue];
|
|
4056
4130
|
};
|
|
4057
4131
|
|
|
4132
|
+
var groupToDisplayedElements = {};
|
|
4133
|
+
var useDisplayOrder = function useDisplayOrder(group) {
|
|
4134
|
+
var isVisible = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
4135
|
+
var _React$useState = React__namespace.useState(function () {
|
|
4136
|
+
return utils.UniqueComponentId();
|
|
4137
|
+
}),
|
|
4138
|
+
_React$useState2 = _slicedToArray(_React$useState, 1),
|
|
4139
|
+
uid = _React$useState2[0];
|
|
4140
|
+
var _React$useState3 = React__namespace.useState(),
|
|
4141
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
4142
|
+
displayOrder = _React$useState4[0],
|
|
4143
|
+
setDisplayOrder = _React$useState4[1];
|
|
4144
|
+
React__namespace.useEffect(function () {
|
|
4145
|
+
if (isVisible) {
|
|
4146
|
+
if (!(group in groupToDisplayedElements)) {
|
|
4147
|
+
groupToDisplayedElements[group] = [];
|
|
4148
|
+
}
|
|
4149
|
+
var newDisplayOrder = groupToDisplayedElements[group].length;
|
|
4150
|
+
groupToDisplayedElements[group].push(uid);
|
|
4151
|
+
setDisplayOrder(newDisplayOrder);
|
|
4152
|
+
return function () {
|
|
4153
|
+
delete groupToDisplayedElements[group][newDisplayOrder];
|
|
4154
|
+
var lastOrder = groupToDisplayedElements[group].findLastIndex(function (el) {
|
|
4155
|
+
return el !== undefined;
|
|
4156
|
+
});
|
|
4157
|
+
|
|
4158
|
+
// Reduce array length, by removing undefined elements at the end of array:
|
|
4159
|
+
groupToDisplayedElements[group].splice(lastOrder + 1);
|
|
4160
|
+
setDisplayOrder(undefined);
|
|
4161
|
+
};
|
|
4162
|
+
}
|
|
4163
|
+
}, [group, uid, isVisible]);
|
|
4164
|
+
return displayOrder;
|
|
4165
|
+
};
|
|
4166
|
+
|
|
4058
4167
|
var TYPE_MAP = {
|
|
4059
4168
|
ico: 'image/x-icon',
|
|
4060
4169
|
png: 'image/png',
|
|
@@ -4079,6 +4188,121 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
4079
4188
|
}, [newIcon, rel]);
|
|
4080
4189
|
};
|
|
4081
4190
|
|
|
4191
|
+
function _arrayWithoutHoles(arr) {
|
|
4192
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
4193
|
+
}
|
|
4194
|
+
|
|
4195
|
+
function _iterableToArray(iter) {
|
|
4196
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
4197
|
+
}
|
|
4198
|
+
|
|
4199
|
+
function _nonIterableSpread() {
|
|
4200
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
4201
|
+
}
|
|
4202
|
+
|
|
4203
|
+
function _toConsumableArray(arr) {
|
|
4204
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
4205
|
+
}
|
|
4206
|
+
|
|
4207
|
+
/**
|
|
4208
|
+
* Priorities of different components (bigger number handled first)
|
|
4209
|
+
*/
|
|
4210
|
+
var ESC_KEY_HANDLING_PRIORITIES = {
|
|
4211
|
+
SIDEBAR: 100,
|
|
4212
|
+
SLIDE_MENU: 200,
|
|
4213
|
+
DIALOG: 300,
|
|
4214
|
+
IMAGE: 400,
|
|
4215
|
+
MENU: 500,
|
|
4216
|
+
OVERLAY_PANEL: 600,
|
|
4217
|
+
PASSWORD: 700,
|
|
4218
|
+
CASCADE_SELECT: 800,
|
|
4219
|
+
SPLIT_BUTTON: 900,
|
|
4220
|
+
SPEED_DIAL: 1000
|
|
4221
|
+
};
|
|
4222
|
+
|
|
4223
|
+
/**
|
|
4224
|
+
* Object, that manages global escape key handling logic
|
|
4225
|
+
*/
|
|
4226
|
+
var globalEscKeyHandlingLogic = {
|
|
4227
|
+
/**
|
|
4228
|
+
* Mapping from ESC_KEY_HANDLING_PRIORITY to array of related listeners, grouped by priority
|
|
4229
|
+
* @example
|
|
4230
|
+
* Map<{
|
|
4231
|
+
* [ESC_KEY_HANDLING_PRIORITIES.SIDEBAR]: Map<{
|
|
4232
|
+
* 1: () => {...},
|
|
4233
|
+
* 2: () => {...}
|
|
4234
|
+
* }>,
|
|
4235
|
+
* [ESC_KEY_HANDLING_PRIORITIES.DIALOG]: Map<{
|
|
4236
|
+
* 1: () => {...},
|
|
4237
|
+
* 2: () => {...}
|
|
4238
|
+
* }>
|
|
4239
|
+
* }>;
|
|
4240
|
+
*/
|
|
4241
|
+
escKeyListeners: new Map(),
|
|
4242
|
+
/**
|
|
4243
|
+
* Keydown handler (attached to any keydown)
|
|
4244
|
+
*/
|
|
4245
|
+
onGlobalKeyDown: function onGlobalKeyDown(event) {
|
|
4246
|
+
// Do nothing if not an "esc" key is pressed:
|
|
4247
|
+
if (event.key !== 'Esc' && event.key !== 'Escape') return;
|
|
4248
|
+
var escKeyListeners = globalEscKeyHandlingLogic.escKeyListeners;
|
|
4249
|
+
var maxPrimaryPriority = Math.max.apply(Math, _toConsumableArray(escKeyListeners.keys()));
|
|
4250
|
+
var theMostImportantEscHandlersSet = escKeyListeners.get(maxPrimaryPriority);
|
|
4251
|
+
var maxSecondaryPriority = Math.max.apply(Math, _toConsumableArray(theMostImportantEscHandlersSet.keys()));
|
|
4252
|
+
var theMostImportantEscHandler = theMostImportantEscHandlersSet.get(maxSecondaryPriority);
|
|
4253
|
+
theMostImportantEscHandler(event);
|
|
4254
|
+
},
|
|
4255
|
+
/**
|
|
4256
|
+
* Attach global keydown listener if there are any "esc" key handlers assigned,
|
|
4257
|
+
* otherwise detach.
|
|
4258
|
+
*/
|
|
4259
|
+
refreshGlobalKeyDownListener: function refreshGlobalKeyDownListener() {
|
|
4260
|
+
var document = utils.DomHandler.getTargetElement('document');
|
|
4261
|
+
if (this.escKeyListeners.size > 0) {
|
|
4262
|
+
document.addEventListener('keydown', this.onGlobalKeyDown);
|
|
4263
|
+
} else {
|
|
4264
|
+
document.removeEventListener('keydown', this.onGlobalKeyDown);
|
|
4265
|
+
}
|
|
4266
|
+
},
|
|
4267
|
+
/**
|
|
4268
|
+
* Add "Esc" key handler
|
|
4269
|
+
*/
|
|
4270
|
+
addListener: function addListener(callback, _ref) {
|
|
4271
|
+
var _this = this;
|
|
4272
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
4273
|
+
primaryPriority = _ref2[0],
|
|
4274
|
+
secondaryPriority = _ref2[1];
|
|
4275
|
+
var escKeyListeners = this.escKeyListeners;
|
|
4276
|
+
if (!escKeyListeners.has(primaryPriority)) {
|
|
4277
|
+
escKeyListeners.set(primaryPriority, new Map());
|
|
4278
|
+
}
|
|
4279
|
+
var primaryPriorityListeners = escKeyListeners.get(primaryPriority);
|
|
4280
|
+
|
|
4281
|
+
// To prevent unexpected override of callback:
|
|
4282
|
+
if (primaryPriorityListeners.has(secondaryPriority)) {
|
|
4283
|
+
throw new Error("Unexpected: global esc key listener with priority [".concat(primaryPriority, ", ").concat(secondaryPriority, "] already exists."));
|
|
4284
|
+
}
|
|
4285
|
+
primaryPriorityListeners.set(secondaryPriority, callback);
|
|
4286
|
+
this.refreshGlobalKeyDownListener();
|
|
4287
|
+
return function () {
|
|
4288
|
+
primaryPriorityListeners["delete"](secondaryPriority);
|
|
4289
|
+
if (primaryPriorityListeners.size === 0) {
|
|
4290
|
+
escKeyListeners["delete"](primaryPriority);
|
|
4291
|
+
}
|
|
4292
|
+
_this.refreshGlobalKeyDownListener();
|
|
4293
|
+
};
|
|
4294
|
+
}
|
|
4295
|
+
};
|
|
4296
|
+
var useGlobalOnEscapeKey = function useGlobalOnEscapeKey(_ref3) {
|
|
4297
|
+
var callback = _ref3.callback,
|
|
4298
|
+
when = _ref3.when,
|
|
4299
|
+
priority = _ref3.priority;
|
|
4300
|
+
React.useEffect(function () {
|
|
4301
|
+
if (!when) return;
|
|
4302
|
+
return globalEscKeyHandlingLogic.addListener(callback, priority);
|
|
4303
|
+
}, [when, callback, priority]);
|
|
4304
|
+
};
|
|
4305
|
+
|
|
4082
4306
|
var useIntersectionObserver = function useIntersectionObserver(ref) {
|
|
4083
4307
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
4084
4308
|
var _React$useState = React__namespace.useState(false),
|
|
@@ -4737,19 +4961,6 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
4737
4961
|
};
|
|
4738
4962
|
/* eslint-enable */
|
|
4739
4963
|
|
|
4740
|
-
/* eslint-disable */
|
|
4741
|
-
var useUpdateEffect = function useUpdateEffect(fn, deps) {
|
|
4742
|
-
var mounted = React__namespace.useRef(false);
|
|
4743
|
-
return React__namespace.useEffect(function () {
|
|
4744
|
-
if (!mounted.current) {
|
|
4745
|
-
mounted.current = true;
|
|
4746
|
-
return;
|
|
4747
|
-
}
|
|
4748
|
-
return fn && fn();
|
|
4749
|
-
}, deps);
|
|
4750
|
-
};
|
|
4751
|
-
/* eslint-enable */
|
|
4752
|
-
|
|
4753
4964
|
var _id = 0;
|
|
4754
4965
|
var useStyle = function useStyle(css) {
|
|
4755
4966
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -4774,17 +4985,17 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
4774
4985
|
isLoaded && css !== newCSS && (styleRef.current.textContent = newCSS);
|
|
4775
4986
|
};
|
|
4776
4987
|
var load = function load() {
|
|
4777
|
-
if (!document) return;
|
|
4778
|
-
|
|
4988
|
+
if (!document || isLoaded) return;
|
|
4989
|
+
var styleContainer = (context === null || context === void 0 ? void 0 : context.styleContainer) || document.head;
|
|
4990
|
+
styleRef.current = styleContainer.querySelector("style[data-primereact-style-id=\"".concat(name, "\"]")) || document.getElementById(id) || document.createElement('style');
|
|
4779
4991
|
if (!styleRef.current.isConnected) {
|
|
4780
4992
|
styleRef.current.type = 'text/css';
|
|
4781
4993
|
id && (styleRef.current.id = id);
|
|
4782
4994
|
media && (styleRef.current.media = media);
|
|
4783
4995
|
utils.DomHandler.addNonce(styleRef.current, context && context.nonce || PrimeReact__default["default"].nonce);
|
|
4784
|
-
|
|
4996
|
+
styleContainer.appendChild(styleRef.current);
|
|
4785
4997
|
name && styleRef.current.setAttribute('data-primereact-style-id', name);
|
|
4786
4998
|
}
|
|
4787
|
-
if (isLoaded) return;
|
|
4788
4999
|
styleRef.current.textContent = css;
|
|
4789
5000
|
setIsLoaded(true);
|
|
4790
5001
|
};
|
|
@@ -4798,7 +5009,7 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
4798
5009
|
|
|
4799
5010
|
// return () => {if (!manual) unload()}; /* @todo */
|
|
4800
5011
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
4801
|
-
}, []);
|
|
5012
|
+
}, [manual]);
|
|
4802
5013
|
return {
|
|
4803
5014
|
id: id,
|
|
4804
5015
|
name: name,
|
|
@@ -4809,41 +5020,57 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
4809
5020
|
};
|
|
4810
5021
|
};
|
|
4811
5022
|
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
type: 'keydown',
|
|
4822
|
-
listener: handleEsc
|
|
4823
|
-
}),
|
|
4824
|
-
_useEventListener2 = _slicedToArray(_useEventListener, 2),
|
|
4825
|
-
bindKeyDownListener = _useEventListener2[0],
|
|
4826
|
-
unbindKeyDownListener = _useEventListener2[1];
|
|
5023
|
+
/* eslint-disable */
|
|
5024
|
+
var useTimeout = function useTimeout(fn) {
|
|
5025
|
+
var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
5026
|
+
var when = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
5027
|
+
var timeout = React__namespace.useRef(null);
|
|
5028
|
+
var savedCallback = React__namespace.useRef(null);
|
|
5029
|
+
var clear = React__namespace.useCallback(function () {
|
|
5030
|
+
return clearTimeout(timeout.current);
|
|
5031
|
+
}, [timeout.current]);
|
|
4827
5032
|
React__namespace.useEffect(function () {
|
|
4828
|
-
|
|
4829
|
-
|
|
5033
|
+
savedCallback.current = fn;
|
|
5034
|
+
});
|
|
5035
|
+
React__namespace.useEffect(function () {
|
|
5036
|
+
function callback() {
|
|
5037
|
+
savedCallback.current();
|
|
4830
5038
|
}
|
|
4831
|
-
if (
|
|
4832
|
-
|
|
5039
|
+
if (when) {
|
|
5040
|
+
timeout.current = setTimeout(callback, delay);
|
|
5041
|
+
return clear;
|
|
5042
|
+
} else {
|
|
5043
|
+
clear();
|
|
4833
5044
|
}
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
};
|
|
5045
|
+
}, [delay, when]);
|
|
5046
|
+
useUnmountEffect(function () {
|
|
5047
|
+
clear();
|
|
4838
5048
|
});
|
|
4839
|
-
return [
|
|
5049
|
+
return [clear];
|
|
5050
|
+
};
|
|
5051
|
+
/* eslint-enable */
|
|
5052
|
+
|
|
5053
|
+
/* eslint-disable */
|
|
5054
|
+
var useUpdateEffect = function useUpdateEffect(fn, deps) {
|
|
5055
|
+
var mounted = React__namespace.useRef(false);
|
|
5056
|
+
return React__namespace.useEffect(function () {
|
|
5057
|
+
if (!mounted.current) {
|
|
5058
|
+
mounted.current = true;
|
|
5059
|
+
return;
|
|
5060
|
+
}
|
|
5061
|
+
return fn && fn();
|
|
5062
|
+
}, deps);
|
|
4840
5063
|
};
|
|
5064
|
+
/* eslint-enable */
|
|
4841
5065
|
|
|
5066
|
+
exports.ESC_KEY_HANDLING_PRIORITIES = ESC_KEY_HANDLING_PRIORITIES;
|
|
4842
5067
|
exports.useClickOutside = useClickOutside;
|
|
4843
5068
|
exports.useCounter = useCounter;
|
|
4844
5069
|
exports.useDebounce = useDebounce;
|
|
5070
|
+
exports.useDisplayOrder = useDisplayOrder;
|
|
4845
5071
|
exports.useEventListener = useEventListener;
|
|
4846
5072
|
exports.useFavicon = useFavicon;
|
|
5073
|
+
exports.useGlobalOnEscapeKey = useGlobalOnEscapeKey;
|
|
4847
5074
|
exports.useIntersectionObserver = useIntersectionObserver;
|
|
4848
5075
|
exports.useInterval = useInterval;
|
|
4849
5076
|
exports.useLocalStorage = useLocalStorage;
|
|
@@ -4851,7 +5078,6 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
4851
5078
|
exports.useMountEffect = useMountEffect;
|
|
4852
5079
|
exports.useMouse = useMouse;
|
|
4853
5080
|
exports.useMove = useMove;
|
|
4854
|
-
exports.useOnEscapeKey = useOnEscapeKey;
|
|
4855
5081
|
exports.useOverlayListener = useOverlayListener;
|
|
4856
5082
|
exports.useOverlayScrollListener = useOverlayScrollListener;
|
|
4857
5083
|
exports.usePrevious = usePrevious;
|
|
@@ -4952,6 +5178,61 @@ this.primereact.ripple = (function (exports, React, PrimeReact, hooks, utils, co
|
|
|
4952
5178
|
return obj;
|
|
4953
5179
|
}
|
|
4954
5180
|
|
|
5181
|
+
function _arrayWithHoles(arr) {
|
|
5182
|
+
if (Array.isArray(arr)) return arr;
|
|
5183
|
+
}
|
|
5184
|
+
|
|
5185
|
+
function _iterableToArrayLimit(r, l) {
|
|
5186
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
5187
|
+
if (null != t) {
|
|
5188
|
+
var e,
|
|
5189
|
+
n,
|
|
5190
|
+
i,
|
|
5191
|
+
u,
|
|
5192
|
+
a = [],
|
|
5193
|
+
f = !0,
|
|
5194
|
+
o = !1;
|
|
5195
|
+
try {
|
|
5196
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
5197
|
+
if (Object(t) !== t) return;
|
|
5198
|
+
f = !1;
|
|
5199
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
5200
|
+
} catch (r) {
|
|
5201
|
+
o = !0, n = r;
|
|
5202
|
+
} finally {
|
|
5203
|
+
try {
|
|
5204
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
5205
|
+
} finally {
|
|
5206
|
+
if (o) throw n;
|
|
5207
|
+
}
|
|
5208
|
+
}
|
|
5209
|
+
return a;
|
|
5210
|
+
}
|
|
5211
|
+
}
|
|
5212
|
+
|
|
5213
|
+
function _arrayLikeToArray(arr, len) {
|
|
5214
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
5215
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
5216
|
+
return arr2;
|
|
5217
|
+
}
|
|
5218
|
+
|
|
5219
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
5220
|
+
if (!o) return;
|
|
5221
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
5222
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
5223
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
5224
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
5225
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
5226
|
+
}
|
|
5227
|
+
|
|
5228
|
+
function _nonIterableRest() {
|
|
5229
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
5230
|
+
}
|
|
5231
|
+
|
|
5232
|
+
function _slicedToArray(arr, i) {
|
|
5233
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
5234
|
+
}
|
|
5235
|
+
|
|
4955
5236
|
var styles = "\n@layer primereact {\n .p-ripple {\n overflow: hidden;\n position: relative;\n }\n \n .p-ink {\n display: block;\n position: absolute;\n background: rgba(255, 255, 255, 0.5);\n border-radius: 100%;\n transform: scale(0);\n }\n \n .p-ink-active {\n animation: ripple 0.4s linear;\n }\n \n .p-ripple-disabled .p-ink {\n display: none;\n }\n}\n\n@keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n}\n\n";
|
|
4956
5237
|
var classes = {
|
|
4957
5238
|
root: 'p-ink'
|
|
@@ -4976,15 +5257,21 @@ this.primereact.ripple = (function (exports, React, PrimeReact, hooks, utils, co
|
|
|
4976
5257
|
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; }
|
|
4977
5258
|
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; }
|
|
4978
5259
|
var Ripple = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
5260
|
+
var _React$useState = React__namespace.useState(false),
|
|
5261
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
5262
|
+
isMounted = _React$useState2[0],
|
|
5263
|
+
setMounted = _React$useState2[1];
|
|
4979
5264
|
var inkRef = React__namespace.useRef(null);
|
|
4980
5265
|
var targetRef = React__namespace.useRef(null);
|
|
4981
5266
|
var context = React__namespace.useContext(PrimeReact.PrimeReactContext);
|
|
4982
5267
|
var props = RippleBase.getProps(inProps, context);
|
|
5268
|
+
var isRippleActive = context && context.ripple || PrimeReact__default["default"].ripple;
|
|
4983
5269
|
var metaData = {
|
|
4984
5270
|
props: props
|
|
4985
5271
|
};
|
|
4986
5272
|
hooks.useStyle(RippleBase.css.styles, {
|
|
4987
|
-
name: 'ripple'
|
|
5273
|
+
name: 'ripple',
|
|
5274
|
+
manual: !isRippleActive
|
|
4988
5275
|
});
|
|
4989
5276
|
var _RippleBase$setMetaDa = RippleBase.setMetaData(_objectSpread({}, metaData)),
|
|
4990
5277
|
ptm = _RippleBase$setMetaDa.ptm,
|
|
@@ -5040,12 +5327,16 @@ this.primereact.ripple = (function (exports, React, PrimeReact, hooks, utils, co
|
|
|
5040
5327
|
};
|
|
5041
5328
|
});
|
|
5042
5329
|
hooks.useMountEffect(function () {
|
|
5043
|
-
|
|
5330
|
+
// for App Router in Next.js ^14
|
|
5331
|
+
setMounted(true);
|
|
5332
|
+
});
|
|
5333
|
+
hooks.useUpdateEffect(function () {
|
|
5334
|
+
if (isMounted && inkRef.current) {
|
|
5044
5335
|
targetRef.current = getTarget();
|
|
5045
5336
|
setDimensions();
|
|
5046
5337
|
bindEvents();
|
|
5047
5338
|
}
|
|
5048
|
-
});
|
|
5339
|
+
}, [isMounted]);
|
|
5049
5340
|
hooks.useUpdateEffect(function () {
|
|
5050
5341
|
if (inkRef.current && !targetRef.current) {
|
|
5051
5342
|
targetRef.current = getTarget();
|
|
@@ -5059,16 +5350,17 @@ this.primereact.ripple = (function (exports, React, PrimeReact, hooks, utils, co
|
|
|
5059
5350
|
unbindEvents();
|
|
5060
5351
|
}
|
|
5061
5352
|
});
|
|
5353
|
+
if (!isRippleActive) return null;
|
|
5062
5354
|
var rootProps = utils.mergeProps({
|
|
5063
5355
|
'aria-hidden': true,
|
|
5064
5356
|
className: utils.classNames(cx('root'))
|
|
5065
5357
|
}, RippleBase.getOtherProps(props), ptm('root'));
|
|
5066
|
-
return
|
|
5358
|
+
return /*#__PURE__*/React__namespace.createElement("span", _extends({
|
|
5067
5359
|
role: "presentation",
|
|
5068
5360
|
ref: inkRef
|
|
5069
5361
|
}, rootProps, {
|
|
5070
5362
|
onAnimationEnd: onAnimationEnd
|
|
5071
|
-
}))
|
|
5363
|
+
}));
|
|
5072
5364
|
}));
|
|
5073
5365
|
Ripple.displayName = 'Ripple';
|
|
5074
5366
|
|
|
@@ -5366,7 +5658,13 @@ this.primereact.portal = (function (exports, React, ReactDOM, PrimeReact, hooks,
|
|
|
5366
5658
|
});
|
|
5367
5659
|
var element = props.element || props.children;
|
|
5368
5660
|
if (element && mountedState) {
|
|
5369
|
-
var appendTo = props.appendTo || context && context.appendTo || PrimeReact__default["default"].appendTo
|
|
5661
|
+
var appendTo = props.appendTo || context && context.appendTo || PrimeReact__default["default"].appendTo;
|
|
5662
|
+
if (utils.ObjectUtils.isFunction(appendTo)) {
|
|
5663
|
+
appendTo = appendTo();
|
|
5664
|
+
}
|
|
5665
|
+
if (!appendTo) {
|
|
5666
|
+
appendTo = document.body;
|
|
5667
|
+
}
|
|
5370
5668
|
return appendTo === 'self' ? element : /*#__PURE__*/ReactDOM__default["default"].createPortal(element, appendTo);
|
|
5371
5669
|
}
|
|
5372
5670
|
return null;
|
|
@@ -6227,7 +6525,10 @@ this.primereact.icons.arrowdown = (function (exports, React, iconbase) {
|
|
|
6227
6525
|
_createClass(ObjectUtils, null, [{
|
|
6228
6526
|
key: "equals",
|
|
6229
6527
|
value: function equals(obj1, obj2, field) {
|
|
6230
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
6528
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
6529
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
6530
|
+
}
|
|
6531
|
+
return this.deepEquals(obj1, obj2);
|
|
6231
6532
|
}
|
|
6232
6533
|
|
|
6233
6534
|
/**
|
|
@@ -6453,7 +6754,15 @@ this.primereact.icons.arrowdown = (function (exports, React, iconbase) {
|
|
|
6453
6754
|
value: function isValidChild(child, type, validTypes) {
|
|
6454
6755
|
/* eslint-disable */
|
|
6455
6756
|
if (child) {
|
|
6757
|
+
var _child$type;
|
|
6456
6758
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
6759
|
+
|
|
6760
|
+
// for App Router in Next.js ^14,
|
|
6761
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
6762
|
+
childType = child.type._payload.value.find(function (v) {
|
|
6763
|
+
return v === type;
|
|
6764
|
+
});
|
|
6765
|
+
}
|
|
6457
6766
|
var isValid = childType === type;
|
|
6458
6767
|
try {
|
|
6459
6768
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -6553,7 +6862,7 @@ this.primereact.icons.arrowdown = (function (exports, React, iconbase) {
|
|
|
6553
6862
|
}, {
|
|
6554
6863
|
key: "isLetter",
|
|
6555
6864
|
value: function isLetter(_char2) {
|
|
6556
|
-
return
|
|
6865
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
6557
6866
|
}
|
|
6558
6867
|
|
|
6559
6868
|
/**
|
|
@@ -6922,7 +7231,10 @@ this.primereact.icons.arrowup = (function (exports, React, iconbase) {
|
|
|
6922
7231
|
_createClass(ObjectUtils, null, [{
|
|
6923
7232
|
key: "equals",
|
|
6924
7233
|
value: function equals(obj1, obj2, field) {
|
|
6925
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
7234
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
7235
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
7236
|
+
}
|
|
7237
|
+
return this.deepEquals(obj1, obj2);
|
|
6926
7238
|
}
|
|
6927
7239
|
|
|
6928
7240
|
/**
|
|
@@ -7148,7 +7460,15 @@ this.primereact.icons.arrowup = (function (exports, React, iconbase) {
|
|
|
7148
7460
|
value: function isValidChild(child, type, validTypes) {
|
|
7149
7461
|
/* eslint-disable */
|
|
7150
7462
|
if (child) {
|
|
7463
|
+
var _child$type;
|
|
7151
7464
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
7465
|
+
|
|
7466
|
+
// for App Router in Next.js ^14,
|
|
7467
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
7468
|
+
childType = child.type._payload.value.find(function (v) {
|
|
7469
|
+
return v === type;
|
|
7470
|
+
});
|
|
7471
|
+
}
|
|
7152
7472
|
var isValid = childType === type;
|
|
7153
7473
|
try {
|
|
7154
7474
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -7248,7 +7568,7 @@ this.primereact.icons.arrowup = (function (exports, React, iconbase) {
|
|
|
7248
7568
|
}, {
|
|
7249
7569
|
key: "isLetter",
|
|
7250
7570
|
value: function isLetter(_char2) {
|
|
7251
|
-
return
|
|
7571
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
7252
7572
|
}
|
|
7253
7573
|
|
|
7254
7574
|
/**
|
|
@@ -7617,7 +7937,10 @@ this.primereact.icons.ban = (function (exports, React, iconbase) {
|
|
|
7617
7937
|
_createClass(ObjectUtils, null, [{
|
|
7618
7938
|
key: "equals",
|
|
7619
7939
|
value: function equals(obj1, obj2, field) {
|
|
7620
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
7940
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
7941
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
7942
|
+
}
|
|
7943
|
+
return this.deepEquals(obj1, obj2);
|
|
7621
7944
|
}
|
|
7622
7945
|
|
|
7623
7946
|
/**
|
|
@@ -7843,7 +8166,15 @@ this.primereact.icons.ban = (function (exports, React, iconbase) {
|
|
|
7843
8166
|
value: function isValidChild(child, type, validTypes) {
|
|
7844
8167
|
/* eslint-disable */
|
|
7845
8168
|
if (child) {
|
|
8169
|
+
var _child$type;
|
|
7846
8170
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
8171
|
+
|
|
8172
|
+
// for App Router in Next.js ^14,
|
|
8173
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
8174
|
+
childType = child.type._payload.value.find(function (v) {
|
|
8175
|
+
return v === type;
|
|
8176
|
+
});
|
|
8177
|
+
}
|
|
7847
8178
|
var isValid = childType === type;
|
|
7848
8179
|
try {
|
|
7849
8180
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -7943,7 +8274,7 @@ this.primereact.icons.ban = (function (exports, React, iconbase) {
|
|
|
7943
8274
|
}, {
|
|
7944
8275
|
key: "isLetter",
|
|
7945
8276
|
value: function isLetter(_char2) {
|
|
7946
|
-
return
|
|
8277
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
7947
8278
|
}
|
|
7948
8279
|
|
|
7949
8280
|
/**
|
|
@@ -8760,7 +9091,10 @@ this.primereact.icons.exclamationtriangle = (function (exports, React, iconbase)
|
|
|
8760
9091
|
_createClass(ObjectUtils, null, [{
|
|
8761
9092
|
key: "equals",
|
|
8762
9093
|
value: function equals(obj1, obj2, field) {
|
|
8763
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
9094
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
9095
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
9096
|
+
}
|
|
9097
|
+
return this.deepEquals(obj1, obj2);
|
|
8764
9098
|
}
|
|
8765
9099
|
|
|
8766
9100
|
/**
|
|
@@ -8986,7 +9320,15 @@ this.primereact.icons.exclamationtriangle = (function (exports, React, iconbase)
|
|
|
8986
9320
|
value: function isValidChild(child, type, validTypes) {
|
|
8987
9321
|
/* eslint-disable */
|
|
8988
9322
|
if (child) {
|
|
9323
|
+
var _child$type;
|
|
8989
9324
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
9325
|
+
|
|
9326
|
+
// for App Router in Next.js ^14,
|
|
9327
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
9328
|
+
childType = child.type._payload.value.find(function (v) {
|
|
9329
|
+
return v === type;
|
|
9330
|
+
});
|
|
9331
|
+
}
|
|
8990
9332
|
var isValid = childType === type;
|
|
8991
9333
|
try {
|
|
8992
9334
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -9086,7 +9428,7 @@ this.primereact.icons.exclamationtriangle = (function (exports, React, iconbase)
|
|
|
9086
9428
|
}, {
|
|
9087
9429
|
key: "isLetter",
|
|
9088
9430
|
value: function isLetter(_char2) {
|
|
9089
|
-
return
|
|
9431
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
9090
9432
|
}
|
|
9091
9433
|
|
|
9092
9434
|
/**
|
|
@@ -9525,7 +9867,10 @@ this.primereact.icons.eyeslash = (function (exports, React, iconbase) {
|
|
|
9525
9867
|
_createClass(ObjectUtils, null, [{
|
|
9526
9868
|
key: "equals",
|
|
9527
9869
|
value: function equals(obj1, obj2, field) {
|
|
9528
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
9870
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
9871
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
9872
|
+
}
|
|
9873
|
+
return this.deepEquals(obj1, obj2);
|
|
9529
9874
|
}
|
|
9530
9875
|
|
|
9531
9876
|
/**
|
|
@@ -9751,7 +10096,15 @@ this.primereact.icons.eyeslash = (function (exports, React, iconbase) {
|
|
|
9751
10096
|
value: function isValidChild(child, type, validTypes) {
|
|
9752
10097
|
/* eslint-disable */
|
|
9753
10098
|
if (child) {
|
|
10099
|
+
var _child$type;
|
|
9754
10100
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
10101
|
+
|
|
10102
|
+
// for App Router in Next.js ^14,
|
|
10103
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
10104
|
+
childType = child.type._payload.value.find(function (v) {
|
|
10105
|
+
return v === type;
|
|
10106
|
+
});
|
|
10107
|
+
}
|
|
9755
10108
|
var isValid = childType === type;
|
|
9756
10109
|
try {
|
|
9757
10110
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -9851,7 +10204,7 @@ this.primereact.icons.eyeslash = (function (exports, React, iconbase) {
|
|
|
9851
10204
|
}, {
|
|
9852
10205
|
key: "isLetter",
|
|
9853
10206
|
value: function isLetter(_char2) {
|
|
9854
|
-
return
|
|
10207
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
9855
10208
|
}
|
|
9856
10209
|
|
|
9857
10210
|
/**
|
|
@@ -10220,7 +10573,10 @@ this.primereact.icons.filter = (function (exports, React, iconbase) {
|
|
|
10220
10573
|
_createClass(ObjectUtils, null, [{
|
|
10221
10574
|
key: "equals",
|
|
10222
10575
|
value: function equals(obj1, obj2, field) {
|
|
10223
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
10576
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
10577
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
10578
|
+
}
|
|
10579
|
+
return this.deepEquals(obj1, obj2);
|
|
10224
10580
|
}
|
|
10225
10581
|
|
|
10226
10582
|
/**
|
|
@@ -10446,7 +10802,15 @@ this.primereact.icons.filter = (function (exports, React, iconbase) {
|
|
|
10446
10802
|
value: function isValidChild(child, type, validTypes) {
|
|
10447
10803
|
/* eslint-disable */
|
|
10448
10804
|
if (child) {
|
|
10805
|
+
var _child$type;
|
|
10449
10806
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
10807
|
+
|
|
10808
|
+
// for App Router in Next.js ^14,
|
|
10809
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
10810
|
+
childType = child.type._payload.value.find(function (v) {
|
|
10811
|
+
return v === type;
|
|
10812
|
+
});
|
|
10813
|
+
}
|
|
10450
10814
|
var isValid = childType === type;
|
|
10451
10815
|
try {
|
|
10452
10816
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -10546,7 +10910,7 @@ this.primereact.icons.filter = (function (exports, React, iconbase) {
|
|
|
10546
10910
|
}, {
|
|
10547
10911
|
key: "isLetter",
|
|
10548
10912
|
value: function isLetter(_char2) {
|
|
10549
|
-
return
|
|
10913
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
10550
10914
|
}
|
|
10551
10915
|
|
|
10552
10916
|
/**
|
|
@@ -10913,7 +11277,10 @@ this.primereact.icons.filterslash = (function (exports, React, iconbase) {
|
|
|
10913
11277
|
_createClass(ObjectUtils, null, [{
|
|
10914
11278
|
key: "equals",
|
|
10915
11279
|
value: function equals(obj1, obj2, field) {
|
|
10916
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
11280
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
11281
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
11282
|
+
}
|
|
11283
|
+
return this.deepEquals(obj1, obj2);
|
|
10917
11284
|
}
|
|
10918
11285
|
|
|
10919
11286
|
/**
|
|
@@ -11139,7 +11506,15 @@ this.primereact.icons.filterslash = (function (exports, React, iconbase) {
|
|
|
11139
11506
|
value: function isValidChild(child, type, validTypes) {
|
|
11140
11507
|
/* eslint-disable */
|
|
11141
11508
|
if (child) {
|
|
11509
|
+
var _child$type;
|
|
11142
11510
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
11511
|
+
|
|
11512
|
+
// for App Router in Next.js ^14,
|
|
11513
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
11514
|
+
childType = child.type._payload.value.find(function (v) {
|
|
11515
|
+
return v === type;
|
|
11516
|
+
});
|
|
11517
|
+
}
|
|
11143
11518
|
var isValid = childType === type;
|
|
11144
11519
|
try {
|
|
11145
11520
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -11239,7 +11614,7 @@ this.primereact.icons.filterslash = (function (exports, React, iconbase) {
|
|
|
11239
11614
|
}, {
|
|
11240
11615
|
key: "isLetter",
|
|
11241
11616
|
value: function isLetter(_char2) {
|
|
11242
|
-
return
|
|
11617
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
11243
11618
|
}
|
|
11244
11619
|
|
|
11245
11620
|
/**
|
|
@@ -11608,7 +11983,10 @@ this.primereact.icons.infocircle = (function (exports, React, iconbase) {
|
|
|
11608
11983
|
_createClass(ObjectUtils, null, [{
|
|
11609
11984
|
key: "equals",
|
|
11610
11985
|
value: function equals(obj1, obj2, field) {
|
|
11611
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
11986
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
11987
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
11988
|
+
}
|
|
11989
|
+
return this.deepEquals(obj1, obj2);
|
|
11612
11990
|
}
|
|
11613
11991
|
|
|
11614
11992
|
/**
|
|
@@ -11834,7 +12212,15 @@ this.primereact.icons.infocircle = (function (exports, React, iconbase) {
|
|
|
11834
12212
|
value: function isValidChild(child, type, validTypes) {
|
|
11835
12213
|
/* eslint-disable */
|
|
11836
12214
|
if (child) {
|
|
12215
|
+
var _child$type;
|
|
11837
12216
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
12217
|
+
|
|
12218
|
+
// for App Router in Next.js ^14,
|
|
12219
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
12220
|
+
childType = child.type._payload.value.find(function (v) {
|
|
12221
|
+
return v === type;
|
|
12222
|
+
});
|
|
12223
|
+
}
|
|
11838
12224
|
var isValid = childType === type;
|
|
11839
12225
|
try {
|
|
11840
12226
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -11934,7 +12320,7 @@ this.primereact.icons.infocircle = (function (exports, React, iconbase) {
|
|
|
11934
12320
|
}, {
|
|
11935
12321
|
key: "isLetter",
|
|
11936
12322
|
value: function isLetter(_char2) {
|
|
11937
|
-
return
|
|
12323
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
11938
12324
|
}
|
|
11939
12325
|
|
|
11940
12326
|
/**
|
|
@@ -12367,7 +12753,10 @@ this.primereact.icons.pencil = (function (exports, React, iconbase) {
|
|
|
12367
12753
|
_createClass(ObjectUtils, null, [{
|
|
12368
12754
|
key: "equals",
|
|
12369
12755
|
value: function equals(obj1, obj2, field) {
|
|
12370
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
12756
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
12757
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
12758
|
+
}
|
|
12759
|
+
return this.deepEquals(obj1, obj2);
|
|
12371
12760
|
}
|
|
12372
12761
|
|
|
12373
12762
|
/**
|
|
@@ -12593,7 +12982,15 @@ this.primereact.icons.pencil = (function (exports, React, iconbase) {
|
|
|
12593
12982
|
value: function isValidChild(child, type, validTypes) {
|
|
12594
12983
|
/* eslint-disable */
|
|
12595
12984
|
if (child) {
|
|
12985
|
+
var _child$type;
|
|
12596
12986
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
12987
|
+
|
|
12988
|
+
// for App Router in Next.js ^14,
|
|
12989
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
12990
|
+
childType = child.type._payload.value.find(function (v) {
|
|
12991
|
+
return v === type;
|
|
12992
|
+
});
|
|
12993
|
+
}
|
|
12597
12994
|
var isValid = childType === type;
|
|
12598
12995
|
try {
|
|
12599
12996
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -12693,7 +13090,7 @@ this.primereact.icons.pencil = (function (exports, React, iconbase) {
|
|
|
12693
13090
|
}, {
|
|
12694
13091
|
key: "isLetter",
|
|
12695
13092
|
value: function isLetter(_char2) {
|
|
12696
|
-
return
|
|
13093
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
12697
13094
|
}
|
|
12698
13095
|
|
|
12699
13096
|
/**
|
|
@@ -13060,7 +13457,10 @@ this.primereact.icons.plus = (function (exports, React, iconbase) {
|
|
|
13060
13457
|
_createClass(ObjectUtils, null, [{
|
|
13061
13458
|
key: "equals",
|
|
13062
13459
|
value: function equals(obj1, obj2, field) {
|
|
13063
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
13460
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
13461
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
13462
|
+
}
|
|
13463
|
+
return this.deepEquals(obj1, obj2);
|
|
13064
13464
|
}
|
|
13065
13465
|
|
|
13066
13466
|
/**
|
|
@@ -13286,7 +13686,15 @@ this.primereact.icons.plus = (function (exports, React, iconbase) {
|
|
|
13286
13686
|
value: function isValidChild(child, type, validTypes) {
|
|
13287
13687
|
/* eslint-disable */
|
|
13288
13688
|
if (child) {
|
|
13689
|
+
var _child$type;
|
|
13289
13690
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
13691
|
+
|
|
13692
|
+
// for App Router in Next.js ^14,
|
|
13693
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
13694
|
+
childType = child.type._payload.value.find(function (v) {
|
|
13695
|
+
return v === type;
|
|
13696
|
+
});
|
|
13697
|
+
}
|
|
13290
13698
|
var isValid = childType === type;
|
|
13291
13699
|
try {
|
|
13292
13700
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -13386,7 +13794,7 @@ this.primereact.icons.plus = (function (exports, React, iconbase) {
|
|
|
13386
13794
|
}, {
|
|
13387
13795
|
key: "isLetter",
|
|
13388
13796
|
value: function isLetter(_char2) {
|
|
13389
|
-
return
|
|
13797
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
13390
13798
|
}
|
|
13391
13799
|
|
|
13392
13800
|
/**
|
|
@@ -13753,7 +14161,10 @@ this.primereact.icons.refresh = (function (exports, React, iconbase) {
|
|
|
13753
14161
|
_createClass(ObjectUtils, null, [{
|
|
13754
14162
|
key: "equals",
|
|
13755
14163
|
value: function equals(obj1, obj2, field) {
|
|
13756
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
14164
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
14165
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
14166
|
+
}
|
|
14167
|
+
return this.deepEquals(obj1, obj2);
|
|
13757
14168
|
}
|
|
13758
14169
|
|
|
13759
14170
|
/**
|
|
@@ -13979,7 +14390,15 @@ this.primereact.icons.refresh = (function (exports, React, iconbase) {
|
|
|
13979
14390
|
value: function isValidChild(child, type, validTypes) {
|
|
13980
14391
|
/* eslint-disable */
|
|
13981
14392
|
if (child) {
|
|
14393
|
+
var _child$type;
|
|
13982
14394
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
14395
|
+
|
|
14396
|
+
// for App Router in Next.js ^14,
|
|
14397
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
14398
|
+
childType = child.type._payload.value.find(function (v) {
|
|
14399
|
+
return v === type;
|
|
14400
|
+
});
|
|
14401
|
+
}
|
|
13983
14402
|
var isValid = childType === type;
|
|
13984
14403
|
try {
|
|
13985
14404
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -14079,7 +14498,7 @@ this.primereact.icons.refresh = (function (exports, React, iconbase) {
|
|
|
14079
14498
|
}, {
|
|
14080
14499
|
key: "isLetter",
|
|
14081
14500
|
value: function isLetter(_char2) {
|
|
14082
|
-
return
|
|
14501
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
14083
14502
|
}
|
|
14084
14503
|
|
|
14085
14504
|
/**
|
|
@@ -14448,7 +14867,10 @@ this.primereact.icons.search = (function (exports, React, iconbase) {
|
|
|
14448
14867
|
_createClass(ObjectUtils, null, [{
|
|
14449
14868
|
key: "equals",
|
|
14450
14869
|
value: function equals(obj1, obj2, field) {
|
|
14451
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
14870
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
14871
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
14872
|
+
}
|
|
14873
|
+
return this.deepEquals(obj1, obj2);
|
|
14452
14874
|
}
|
|
14453
14875
|
|
|
14454
14876
|
/**
|
|
@@ -14674,7 +15096,15 @@ this.primereact.icons.search = (function (exports, React, iconbase) {
|
|
|
14674
15096
|
value: function isValidChild(child, type, validTypes) {
|
|
14675
15097
|
/* eslint-disable */
|
|
14676
15098
|
if (child) {
|
|
15099
|
+
var _child$type;
|
|
14677
15100
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
15101
|
+
|
|
15102
|
+
// for App Router in Next.js ^14,
|
|
15103
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
15104
|
+
childType = child.type._payload.value.find(function (v) {
|
|
15105
|
+
return v === type;
|
|
15106
|
+
});
|
|
15107
|
+
}
|
|
14678
15108
|
var isValid = childType === type;
|
|
14679
15109
|
try {
|
|
14680
15110
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -14774,7 +15204,7 @@ this.primereact.icons.search = (function (exports, React, iconbase) {
|
|
|
14774
15204
|
}, {
|
|
14775
15205
|
key: "isLetter",
|
|
14776
15206
|
value: function isLetter(_char2) {
|
|
14777
|
-
return
|
|
15207
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
14778
15208
|
}
|
|
14779
15209
|
|
|
14780
15210
|
/**
|
|
@@ -15143,7 +15573,10 @@ this.primereact.icons.searchminus = (function (exports, React, iconbase) {
|
|
|
15143
15573
|
_createClass(ObjectUtils, null, [{
|
|
15144
15574
|
key: "equals",
|
|
15145
15575
|
value: function equals(obj1, obj2, field) {
|
|
15146
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
15576
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
15577
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
15578
|
+
}
|
|
15579
|
+
return this.deepEquals(obj1, obj2);
|
|
15147
15580
|
}
|
|
15148
15581
|
|
|
15149
15582
|
/**
|
|
@@ -15369,7 +15802,15 @@ this.primereact.icons.searchminus = (function (exports, React, iconbase) {
|
|
|
15369
15802
|
value: function isValidChild(child, type, validTypes) {
|
|
15370
15803
|
/* eslint-disable */
|
|
15371
15804
|
if (child) {
|
|
15805
|
+
var _child$type;
|
|
15372
15806
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
15807
|
+
|
|
15808
|
+
// for App Router in Next.js ^14,
|
|
15809
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
15810
|
+
childType = child.type._payload.value.find(function (v) {
|
|
15811
|
+
return v === type;
|
|
15812
|
+
});
|
|
15813
|
+
}
|
|
15373
15814
|
var isValid = childType === type;
|
|
15374
15815
|
try {
|
|
15375
15816
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -15469,7 +15910,7 @@ this.primereact.icons.searchminus = (function (exports, React, iconbase) {
|
|
|
15469
15910
|
}, {
|
|
15470
15911
|
key: "isLetter",
|
|
15471
15912
|
value: function isLetter(_char2) {
|
|
15472
|
-
return
|
|
15913
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
15473
15914
|
}
|
|
15474
15915
|
|
|
15475
15916
|
/**
|
|
@@ -15838,7 +16279,10 @@ this.primereact.icons.searchplus = (function (exports, React, iconbase) {
|
|
|
15838
16279
|
_createClass(ObjectUtils, null, [{
|
|
15839
16280
|
key: "equals",
|
|
15840
16281
|
value: function equals(obj1, obj2, field) {
|
|
15841
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
16282
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
16283
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
16284
|
+
}
|
|
16285
|
+
return this.deepEquals(obj1, obj2);
|
|
15842
16286
|
}
|
|
15843
16287
|
|
|
15844
16288
|
/**
|
|
@@ -16064,7 +16508,15 @@ this.primereact.icons.searchplus = (function (exports, React, iconbase) {
|
|
|
16064
16508
|
value: function isValidChild(child, type, validTypes) {
|
|
16065
16509
|
/* eslint-disable */
|
|
16066
16510
|
if (child) {
|
|
16511
|
+
var _child$type;
|
|
16067
16512
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
16513
|
+
|
|
16514
|
+
// for App Router in Next.js ^14,
|
|
16515
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
16516
|
+
childType = child.type._payload.value.find(function (v) {
|
|
16517
|
+
return v === type;
|
|
16518
|
+
});
|
|
16519
|
+
}
|
|
16068
16520
|
var isValid = childType === type;
|
|
16069
16521
|
try {
|
|
16070
16522
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -16164,7 +16616,7 @@ this.primereact.icons.searchplus = (function (exports, React, iconbase) {
|
|
|
16164
16616
|
}, {
|
|
16165
16617
|
key: "isLetter",
|
|
16166
16618
|
value: function isLetter(_char2) {
|
|
16167
|
-
return
|
|
16619
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
16168
16620
|
}
|
|
16169
16621
|
|
|
16170
16622
|
/**
|
|
@@ -16533,7 +16985,10 @@ this.primereact.icons.sortalt = (function (exports, React, iconbase) {
|
|
|
16533
16985
|
_createClass(ObjectUtils, null, [{
|
|
16534
16986
|
key: "equals",
|
|
16535
16987
|
value: function equals(obj1, obj2, field) {
|
|
16536
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
16988
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
16989
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
16990
|
+
}
|
|
16991
|
+
return this.deepEquals(obj1, obj2);
|
|
16537
16992
|
}
|
|
16538
16993
|
|
|
16539
16994
|
/**
|
|
@@ -16759,7 +17214,15 @@ this.primereact.icons.sortalt = (function (exports, React, iconbase) {
|
|
|
16759
17214
|
value: function isValidChild(child, type, validTypes) {
|
|
16760
17215
|
/* eslint-disable */
|
|
16761
17216
|
if (child) {
|
|
17217
|
+
var _child$type;
|
|
16762
17218
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
17219
|
+
|
|
17220
|
+
// for App Router in Next.js ^14,
|
|
17221
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
17222
|
+
childType = child.type._payload.value.find(function (v) {
|
|
17223
|
+
return v === type;
|
|
17224
|
+
});
|
|
17225
|
+
}
|
|
16763
17226
|
var isValid = childType === type;
|
|
16764
17227
|
try {
|
|
16765
17228
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -16859,7 +17322,7 @@ this.primereact.icons.sortalt = (function (exports, React, iconbase) {
|
|
|
16859
17322
|
}, {
|
|
16860
17323
|
key: "isLetter",
|
|
16861
17324
|
value: function isLetter(_char2) {
|
|
16862
|
-
return
|
|
17325
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
16863
17326
|
}
|
|
16864
17327
|
|
|
16865
17328
|
/**
|
|
@@ -17235,7 +17698,10 @@ this.primereact.icons.sortamountdown = (function (exports, React, iconbase) {
|
|
|
17235
17698
|
_createClass(ObjectUtils, null, [{
|
|
17236
17699
|
key: "equals",
|
|
17237
17700
|
value: function equals(obj1, obj2, field) {
|
|
17238
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
17701
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
17702
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
17703
|
+
}
|
|
17704
|
+
return this.deepEquals(obj1, obj2);
|
|
17239
17705
|
}
|
|
17240
17706
|
|
|
17241
17707
|
/**
|
|
@@ -17461,7 +17927,15 @@ this.primereact.icons.sortamountdown = (function (exports, React, iconbase) {
|
|
|
17461
17927
|
value: function isValidChild(child, type, validTypes) {
|
|
17462
17928
|
/* eslint-disable */
|
|
17463
17929
|
if (child) {
|
|
17930
|
+
var _child$type;
|
|
17464
17931
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
17932
|
+
|
|
17933
|
+
// for App Router in Next.js ^14,
|
|
17934
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
17935
|
+
childType = child.type._payload.value.find(function (v) {
|
|
17936
|
+
return v === type;
|
|
17937
|
+
});
|
|
17938
|
+
}
|
|
17465
17939
|
var isValid = childType === type;
|
|
17466
17940
|
try {
|
|
17467
17941
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -17561,7 +18035,7 @@ this.primereact.icons.sortamountdown = (function (exports, React, iconbase) {
|
|
|
17561
18035
|
}, {
|
|
17562
18036
|
key: "isLetter",
|
|
17563
18037
|
value: function isLetter(_char2) {
|
|
17564
|
-
return
|
|
18038
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
17565
18039
|
}
|
|
17566
18040
|
|
|
17567
18041
|
/**
|
|
@@ -17943,7 +18417,10 @@ this.primereact.icons.sortamountupalt = (function (exports, React, iconbase) {
|
|
|
17943
18417
|
_createClass(ObjectUtils, null, [{
|
|
17944
18418
|
key: "equals",
|
|
17945
18419
|
value: function equals(obj1, obj2, field) {
|
|
17946
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
18420
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
18421
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
18422
|
+
}
|
|
18423
|
+
return this.deepEquals(obj1, obj2);
|
|
17947
18424
|
}
|
|
17948
18425
|
|
|
17949
18426
|
/**
|
|
@@ -18169,7 +18646,15 @@ this.primereact.icons.sortamountupalt = (function (exports, React, iconbase) {
|
|
|
18169
18646
|
value: function isValidChild(child, type, validTypes) {
|
|
18170
18647
|
/* eslint-disable */
|
|
18171
18648
|
if (child) {
|
|
18649
|
+
var _child$type;
|
|
18172
18650
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
18651
|
+
|
|
18652
|
+
// for App Router in Next.js ^14,
|
|
18653
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
18654
|
+
childType = child.type._payload.value.find(function (v) {
|
|
18655
|
+
return v === type;
|
|
18656
|
+
});
|
|
18657
|
+
}
|
|
18173
18658
|
var isValid = childType === type;
|
|
18174
18659
|
try {
|
|
18175
18660
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -18269,7 +18754,7 @@ this.primereact.icons.sortamountupalt = (function (exports, React, iconbase) {
|
|
|
18269
18754
|
}, {
|
|
18270
18755
|
key: "isLetter",
|
|
18271
18756
|
value: function isLetter(_char2) {
|
|
18272
|
-
return
|
|
18757
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
18273
18758
|
}
|
|
18274
18759
|
|
|
18275
18760
|
/**
|
|
@@ -18651,7 +19136,10 @@ this.primereact.icons.spinner = (function (exports, React, iconbase) {
|
|
|
18651
19136
|
_createClass(ObjectUtils, null, [{
|
|
18652
19137
|
key: "equals",
|
|
18653
19138
|
value: function equals(obj1, obj2, field) {
|
|
18654
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
19139
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
19140
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
19141
|
+
}
|
|
19142
|
+
return this.deepEquals(obj1, obj2);
|
|
18655
19143
|
}
|
|
18656
19144
|
|
|
18657
19145
|
/**
|
|
@@ -18877,7 +19365,15 @@ this.primereact.icons.spinner = (function (exports, React, iconbase) {
|
|
|
18877
19365
|
value: function isValidChild(child, type, validTypes) {
|
|
18878
19366
|
/* eslint-disable */
|
|
18879
19367
|
if (child) {
|
|
19368
|
+
var _child$type;
|
|
18880
19369
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
19370
|
+
|
|
19371
|
+
// for App Router in Next.js ^14,
|
|
19372
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
19373
|
+
childType = child.type._payload.value.find(function (v) {
|
|
19374
|
+
return v === type;
|
|
19375
|
+
});
|
|
19376
|
+
}
|
|
18881
19377
|
var isValid = childType === type;
|
|
18882
19378
|
try {
|
|
18883
19379
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -18977,7 +19473,7 @@ this.primereact.icons.spinner = (function (exports, React, iconbase) {
|
|
|
18977
19473
|
}, {
|
|
18978
19474
|
key: "isLetter",
|
|
18979
19475
|
value: function isLetter(_char2) {
|
|
18980
|
-
return
|
|
19476
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
18981
19477
|
}
|
|
18982
19478
|
|
|
18983
19479
|
/**
|
|
@@ -19344,7 +19840,10 @@ this.primereact.icons.star = (function (exports, React, iconbase) {
|
|
|
19344
19840
|
_createClass(ObjectUtils, null, [{
|
|
19345
19841
|
key: "equals",
|
|
19346
19842
|
value: function equals(obj1, obj2, field) {
|
|
19347
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
19843
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
19844
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
19845
|
+
}
|
|
19846
|
+
return this.deepEquals(obj1, obj2);
|
|
19348
19847
|
}
|
|
19349
19848
|
|
|
19350
19849
|
/**
|
|
@@ -19570,7 +20069,15 @@ this.primereact.icons.star = (function (exports, React, iconbase) {
|
|
|
19570
20069
|
value: function isValidChild(child, type, validTypes) {
|
|
19571
20070
|
/* eslint-disable */
|
|
19572
20071
|
if (child) {
|
|
20072
|
+
var _child$type;
|
|
19573
20073
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
20074
|
+
|
|
20075
|
+
// for App Router in Next.js ^14,
|
|
20076
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
20077
|
+
childType = child.type._payload.value.find(function (v) {
|
|
20078
|
+
return v === type;
|
|
20079
|
+
});
|
|
20080
|
+
}
|
|
19574
20081
|
var isValid = childType === type;
|
|
19575
20082
|
try {
|
|
19576
20083
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -19670,7 +20177,7 @@ this.primereact.icons.star = (function (exports, React, iconbase) {
|
|
|
19670
20177
|
}, {
|
|
19671
20178
|
key: "isLetter",
|
|
19672
20179
|
value: function isLetter(_char2) {
|
|
19673
|
-
return
|
|
20180
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
19674
20181
|
}
|
|
19675
20182
|
|
|
19676
20183
|
/**
|
|
@@ -20037,7 +20544,10 @@ this.primereact.icons.starfill = (function (exports, React, iconbase) {
|
|
|
20037
20544
|
_createClass(ObjectUtils, null, [{
|
|
20038
20545
|
key: "equals",
|
|
20039
20546
|
value: function equals(obj1, obj2, field) {
|
|
20040
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
20547
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
20548
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
20549
|
+
}
|
|
20550
|
+
return this.deepEquals(obj1, obj2);
|
|
20041
20551
|
}
|
|
20042
20552
|
|
|
20043
20553
|
/**
|
|
@@ -20263,7 +20773,15 @@ this.primereact.icons.starfill = (function (exports, React, iconbase) {
|
|
|
20263
20773
|
value: function isValidChild(child, type, validTypes) {
|
|
20264
20774
|
/* eslint-disable */
|
|
20265
20775
|
if (child) {
|
|
20776
|
+
var _child$type;
|
|
20266
20777
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
20778
|
+
|
|
20779
|
+
// for App Router in Next.js ^14,
|
|
20780
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
20781
|
+
childType = child.type._payload.value.find(function (v) {
|
|
20782
|
+
return v === type;
|
|
20783
|
+
});
|
|
20784
|
+
}
|
|
20267
20785
|
var isValid = childType === type;
|
|
20268
20786
|
try {
|
|
20269
20787
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -20363,7 +20881,7 @@ this.primereact.icons.starfill = (function (exports, React, iconbase) {
|
|
|
20363
20881
|
}, {
|
|
20364
20882
|
key: "isLetter",
|
|
20365
20883
|
value: function isLetter(_char2) {
|
|
20366
|
-
return
|
|
20884
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
20367
20885
|
}
|
|
20368
20886
|
|
|
20369
20887
|
/**
|
|
@@ -20730,7 +21248,10 @@ this.primereact.icons.thlarge = (function (exports, React, iconbase) {
|
|
|
20730
21248
|
_createClass(ObjectUtils, null, [{
|
|
20731
21249
|
key: "equals",
|
|
20732
21250
|
value: function equals(obj1, obj2, field) {
|
|
20733
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
21251
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
21252
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
21253
|
+
}
|
|
21254
|
+
return this.deepEquals(obj1, obj2);
|
|
20734
21255
|
}
|
|
20735
21256
|
|
|
20736
21257
|
/**
|
|
@@ -20956,7 +21477,15 @@ this.primereact.icons.thlarge = (function (exports, React, iconbase) {
|
|
|
20956
21477
|
value: function isValidChild(child, type, validTypes) {
|
|
20957
21478
|
/* eslint-disable */
|
|
20958
21479
|
if (child) {
|
|
21480
|
+
var _child$type;
|
|
20959
21481
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
21482
|
+
|
|
21483
|
+
// for App Router in Next.js ^14,
|
|
21484
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
21485
|
+
childType = child.type._payload.value.find(function (v) {
|
|
21486
|
+
return v === type;
|
|
21487
|
+
});
|
|
21488
|
+
}
|
|
20960
21489
|
var isValid = childType === type;
|
|
20961
21490
|
try {
|
|
20962
21491
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -21056,7 +21585,7 @@ this.primereact.icons.thlarge = (function (exports, React, iconbase) {
|
|
|
21056
21585
|
}, {
|
|
21057
21586
|
key: "isLetter",
|
|
21058
21587
|
value: function isLetter(_char2) {
|
|
21059
|
-
return
|
|
21588
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
21060
21589
|
}
|
|
21061
21590
|
|
|
21062
21591
|
/**
|
|
@@ -21489,7 +22018,10 @@ this.primereact.icons.timescircle = (function (exports, React, iconbase) {
|
|
|
21489
22018
|
_createClass(ObjectUtils, null, [{
|
|
21490
22019
|
key: "equals",
|
|
21491
22020
|
value: function equals(obj1, obj2, field) {
|
|
21492
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
22021
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
22022
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
22023
|
+
}
|
|
22024
|
+
return this.deepEquals(obj1, obj2);
|
|
21493
22025
|
}
|
|
21494
22026
|
|
|
21495
22027
|
/**
|
|
@@ -21715,7 +22247,15 @@ this.primereact.icons.timescircle = (function (exports, React, iconbase) {
|
|
|
21715
22247
|
value: function isValidChild(child, type, validTypes) {
|
|
21716
22248
|
/* eslint-disable */
|
|
21717
22249
|
if (child) {
|
|
22250
|
+
var _child$type;
|
|
21718
22251
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
22252
|
+
|
|
22253
|
+
// for App Router in Next.js ^14,
|
|
22254
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
22255
|
+
childType = child.type._payload.value.find(function (v) {
|
|
22256
|
+
return v === type;
|
|
22257
|
+
});
|
|
22258
|
+
}
|
|
21719
22259
|
var isValid = childType === type;
|
|
21720
22260
|
try {
|
|
21721
22261
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -21815,7 +22355,7 @@ this.primereact.icons.timescircle = (function (exports, React, iconbase) {
|
|
|
21815
22355
|
}, {
|
|
21816
22356
|
key: "isLetter",
|
|
21817
22357
|
value: function isLetter(_char2) {
|
|
21818
|
-
return
|
|
22358
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
21819
22359
|
}
|
|
21820
22360
|
|
|
21821
22361
|
/**
|
|
@@ -22184,7 +22724,10 @@ this.primereact.icons.trash = (function (exports, React, iconbase) {
|
|
|
22184
22724
|
_createClass(ObjectUtils, null, [{
|
|
22185
22725
|
key: "equals",
|
|
22186
22726
|
value: function equals(obj1, obj2, field) {
|
|
22187
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
22727
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
22728
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
22729
|
+
}
|
|
22730
|
+
return this.deepEquals(obj1, obj2);
|
|
22188
22731
|
}
|
|
22189
22732
|
|
|
22190
22733
|
/**
|
|
@@ -22410,7 +22953,15 @@ this.primereact.icons.trash = (function (exports, React, iconbase) {
|
|
|
22410
22953
|
value: function isValidChild(child, type, validTypes) {
|
|
22411
22954
|
/* eslint-disable */
|
|
22412
22955
|
if (child) {
|
|
22956
|
+
var _child$type;
|
|
22413
22957
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
22958
|
+
|
|
22959
|
+
// for App Router in Next.js ^14,
|
|
22960
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
22961
|
+
childType = child.type._payload.value.find(function (v) {
|
|
22962
|
+
return v === type;
|
|
22963
|
+
});
|
|
22964
|
+
}
|
|
22414
22965
|
var isValid = childType === type;
|
|
22415
22966
|
try {
|
|
22416
22967
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -22510,7 +23061,7 @@ this.primereact.icons.trash = (function (exports, React, iconbase) {
|
|
|
22510
23061
|
}, {
|
|
22511
23062
|
key: "isLetter",
|
|
22512
23063
|
value: function isLetter(_char2) {
|
|
22513
|
-
return
|
|
23064
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
22514
23065
|
}
|
|
22515
23066
|
|
|
22516
23067
|
/**
|
|
@@ -22879,7 +23430,10 @@ this.primereact.icons.undo = (function (exports, React, iconbase) {
|
|
|
22879
23430
|
_createClass(ObjectUtils, null, [{
|
|
22880
23431
|
key: "equals",
|
|
22881
23432
|
value: function equals(obj1, obj2, field) {
|
|
22882
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
23433
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
23434
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
23435
|
+
}
|
|
23436
|
+
return this.deepEquals(obj1, obj2);
|
|
22883
23437
|
}
|
|
22884
23438
|
|
|
22885
23439
|
/**
|
|
@@ -23105,7 +23659,15 @@ this.primereact.icons.undo = (function (exports, React, iconbase) {
|
|
|
23105
23659
|
value: function isValidChild(child, type, validTypes) {
|
|
23106
23660
|
/* eslint-disable */
|
|
23107
23661
|
if (child) {
|
|
23662
|
+
var _child$type;
|
|
23108
23663
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
23664
|
+
|
|
23665
|
+
// for App Router in Next.js ^14,
|
|
23666
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
23667
|
+
childType = child.type._payload.value.find(function (v) {
|
|
23668
|
+
return v === type;
|
|
23669
|
+
});
|
|
23670
|
+
}
|
|
23109
23671
|
var isValid = childType === type;
|
|
23110
23672
|
try {
|
|
23111
23673
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -23205,7 +23767,7 @@ this.primereact.icons.undo = (function (exports, React, iconbase) {
|
|
|
23205
23767
|
}, {
|
|
23206
23768
|
key: "isLetter",
|
|
23207
23769
|
value: function isLetter(_char2) {
|
|
23208
|
-
return
|
|
23770
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
23209
23771
|
}
|
|
23210
23772
|
|
|
23211
23773
|
/**
|
|
@@ -23574,7 +24136,10 @@ this.primereact.icons.upload = (function (exports, React, iconbase) {
|
|
|
23574
24136
|
_createClass(ObjectUtils, null, [{
|
|
23575
24137
|
key: "equals",
|
|
23576
24138
|
value: function equals(obj1, obj2, field) {
|
|
23577
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
24139
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
24140
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
24141
|
+
}
|
|
24142
|
+
return this.deepEquals(obj1, obj2);
|
|
23578
24143
|
}
|
|
23579
24144
|
|
|
23580
24145
|
/**
|
|
@@ -23800,7 +24365,15 @@ this.primereact.icons.upload = (function (exports, React, iconbase) {
|
|
|
23800
24365
|
value: function isValidChild(child, type, validTypes) {
|
|
23801
24366
|
/* eslint-disable */
|
|
23802
24367
|
if (child) {
|
|
24368
|
+
var _child$type;
|
|
23803
24369
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
24370
|
+
|
|
24371
|
+
// for App Router in Next.js ^14,
|
|
24372
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
24373
|
+
childType = child.type._payload.value.find(function (v) {
|
|
24374
|
+
return v === type;
|
|
24375
|
+
});
|
|
24376
|
+
}
|
|
23804
24377
|
var isValid = childType === type;
|
|
23805
24378
|
try {
|
|
23806
24379
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -23900,7 +24473,7 @@ this.primereact.icons.upload = (function (exports, React, iconbase) {
|
|
|
23900
24473
|
}, {
|
|
23901
24474
|
key: "isLetter",
|
|
23902
24475
|
value: function isLetter(_char2) {
|
|
23903
|
-
return
|
|
24476
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
23904
24477
|
}
|
|
23905
24478
|
|
|
23906
24479
|
/**
|
|
@@ -24269,7 +24842,10 @@ this.primereact.icons.windowmaximize = (function (exports, React, iconbase) {
|
|
|
24269
24842
|
_createClass(ObjectUtils, null, [{
|
|
24270
24843
|
key: "equals",
|
|
24271
24844
|
value: function equals(obj1, obj2, field) {
|
|
24272
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
24845
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
24846
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
24847
|
+
}
|
|
24848
|
+
return this.deepEquals(obj1, obj2);
|
|
24273
24849
|
}
|
|
24274
24850
|
|
|
24275
24851
|
/**
|
|
@@ -24495,7 +25071,15 @@ this.primereact.icons.windowmaximize = (function (exports, React, iconbase) {
|
|
|
24495
25071
|
value: function isValidChild(child, type, validTypes) {
|
|
24496
25072
|
/* eslint-disable */
|
|
24497
25073
|
if (child) {
|
|
25074
|
+
var _child$type;
|
|
24498
25075
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
25076
|
+
|
|
25077
|
+
// for App Router in Next.js ^14,
|
|
25078
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
25079
|
+
childType = child.type._payload.value.find(function (v) {
|
|
25080
|
+
return v === type;
|
|
25081
|
+
});
|
|
25082
|
+
}
|
|
24499
25083
|
var isValid = childType === type;
|
|
24500
25084
|
try {
|
|
24501
25085
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -24595,7 +25179,7 @@ this.primereact.icons.windowmaximize = (function (exports, React, iconbase) {
|
|
|
24595
25179
|
}, {
|
|
24596
25180
|
key: "isLetter",
|
|
24597
25181
|
value: function isLetter(_char2) {
|
|
24598
|
-
return
|
|
25182
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
24599
25183
|
}
|
|
24600
25184
|
|
|
24601
25185
|
/**
|
|
@@ -24964,7 +25548,10 @@ this.primereact.icons.windowminimize = (function (exports, React, iconbase) {
|
|
|
24964
25548
|
_createClass(ObjectUtils, null, [{
|
|
24965
25549
|
key: "equals",
|
|
24966
25550
|
value: function equals(obj1, obj2, field) {
|
|
24967
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object')
|
|
25551
|
+
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
25552
|
+
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
25553
|
+
}
|
|
25554
|
+
return this.deepEquals(obj1, obj2);
|
|
24968
25555
|
}
|
|
24969
25556
|
|
|
24970
25557
|
/**
|
|
@@ -25190,7 +25777,15 @@ this.primereact.icons.windowminimize = (function (exports, React, iconbase) {
|
|
|
25190
25777
|
value: function isValidChild(child, type, validTypes) {
|
|
25191
25778
|
/* eslint-disable */
|
|
25192
25779
|
if (child) {
|
|
25780
|
+
var _child$type;
|
|
25193
25781
|
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
25782
|
+
|
|
25783
|
+
// for App Router in Next.js ^14,
|
|
25784
|
+
if (!childType && child !== null && child !== void 0 && (_child$type = child.type) !== null && _child$type !== void 0 && (_child$type = _child$type._payload) !== null && _child$type !== void 0 && _child$type.value) {
|
|
25785
|
+
childType = child.type._payload.value.find(function (v) {
|
|
25786
|
+
return v === type;
|
|
25787
|
+
});
|
|
25788
|
+
}
|
|
25194
25789
|
var isValid = childType === type;
|
|
25195
25790
|
try {
|
|
25196
25791
|
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
@@ -25290,7 +25885,7 @@ this.primereact.icons.windowminimize = (function (exports, React, iconbase) {
|
|
|
25290
25885
|
}, {
|
|
25291
25886
|
key: "isLetter",
|
|
25292
25887
|
value: function isLetter(_char2) {
|
|
25293
|
-
return
|
|
25888
|
+
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
25294
25889
|
}
|
|
25295
25890
|
|
|
25296
25891
|
/**
|
|
@@ -27237,7 +27832,7 @@ this.primereact.overlayservice = (function (exports, utils) {
|
|
|
27237
27832
|
})({}, primereact.utils);
|
|
27238
27833
|
|
|
27239
27834
|
this.primereact = this.primereact || {};
|
|
27240
|
-
this.primereact.checkbox = (function (exports, React, api, hooks, check, tooltip, utils
|
|
27835
|
+
this.primereact.checkbox = (function (exports, React, api, componentbase, hooks, check, tooltip, utils) {
|
|
27241
27836
|
'use strict';
|
|
27242
27837
|
|
|
27243
27838
|
function _interopNamespace(e) {
|
|
@@ -27465,32 +28060,32 @@ this.primereact.checkbox = (function (exports, React, api, hooks, check, tooltip
|
|
|
27465
28060
|
var checkboxClicked = event.target instanceof HTMLDivElement || event.target instanceof HTMLSpanElement || event.target instanceof Object;
|
|
27466
28061
|
var isInputToggled = event.target === inputRef.current;
|
|
27467
28062
|
var isCheckboxToggled = checkboxClicked && event.target.checked !== _checked;
|
|
27468
|
-
|
|
27469
|
-
|
|
27470
|
-
|
|
27471
|
-
|
|
28063
|
+
var value = _checked ? props.falseValue : props.trueValue;
|
|
28064
|
+
var eventData = {
|
|
28065
|
+
originalEvent: event,
|
|
28066
|
+
value: props.value,
|
|
28067
|
+
checked: value,
|
|
28068
|
+
stopPropagation: function stopPropagation() {
|
|
28069
|
+
event.stopPropagation();
|
|
28070
|
+
},
|
|
28071
|
+
preventDefault: function preventDefault() {
|
|
28072
|
+
event.preventDefault();
|
|
28073
|
+
},
|
|
28074
|
+
target: {
|
|
28075
|
+
type: 'checkbox',
|
|
28076
|
+
name: props.name,
|
|
28077
|
+
id: props.id,
|
|
27472
28078
|
value: props.value,
|
|
27473
|
-
checked: value
|
|
27474
|
-
stopPropagation: function stopPropagation() {
|
|
27475
|
-
event.stopPropagation();
|
|
27476
|
-
},
|
|
27477
|
-
preventDefault: function preventDefault() {
|
|
27478
|
-
event.preventDefault();
|
|
27479
|
-
},
|
|
27480
|
-
target: {
|
|
27481
|
-
type: 'checkbox',
|
|
27482
|
-
name: props.name,
|
|
27483
|
-
id: props.id,
|
|
27484
|
-
value: props.value,
|
|
27485
|
-
checked: value
|
|
27486
|
-
}
|
|
27487
|
-
};
|
|
27488
|
-
props.onClick && props.onClick(eventData);
|
|
27489
|
-
|
|
27490
|
-
// do not continue if the user defined click wants to prevent
|
|
27491
|
-
if (event.defaultPrevented) {
|
|
27492
|
-
return;
|
|
28079
|
+
checked: value
|
|
27493
28080
|
}
|
|
28081
|
+
};
|
|
28082
|
+
props.onClick && props.onClick(eventData);
|
|
28083
|
+
|
|
28084
|
+
// do not continue if the user defined click wants to prevent
|
|
28085
|
+
if (event.defaultPrevented) {
|
|
28086
|
+
return;
|
|
28087
|
+
}
|
|
28088
|
+
if (isInputToggled || isCheckboxToggled) {
|
|
27494
28089
|
props.onChange && props.onChange(eventData);
|
|
27495
28090
|
}
|
|
27496
28091
|
utils.DomHandler.focus(inputRef.current);
|
|
@@ -27612,7 +28207,7 @@ this.primereact.checkbox = (function (exports, React, api, hooks, check, tooltip
|
|
|
27612
28207
|
|
|
27613
28208
|
return exports;
|
|
27614
28209
|
|
|
27615
|
-
})({}, React, primereact.api, primereact.hooks, primereact.icons.check, primereact.tooltip, primereact.utils
|
|
28210
|
+
})({}, React, primereact.api, primereact.componentbase, primereact.hooks, primereact.icons.check, primereact.tooltip, primereact.utils);
|
|
27616
28211
|
|
|
27617
28212
|
this.primereact = this.primereact || {};
|
|
27618
28213
|
this.primereact.button = (function (exports, React, api, componentbase, utils, spinner, ripple, tooltip) {
|
|
@@ -28023,15 +28618,16 @@ this.primereact.inputtext = (function (exports, React, api, componentbase, keyfi
|
|
|
28023
28618
|
defaultProps: {
|
|
28024
28619
|
__TYPE: 'InputText',
|
|
28025
28620
|
__parentMetadata: null,
|
|
28621
|
+
children: undefined,
|
|
28622
|
+
className: null,
|
|
28026
28623
|
keyfilter: null,
|
|
28027
|
-
validateOnly: false,
|
|
28028
|
-
tooltip: null,
|
|
28029
|
-
tooltipOptions: null,
|
|
28030
28624
|
onBeforeInput: null,
|
|
28031
28625
|
onInput: null,
|
|
28032
28626
|
onKeyDown: null,
|
|
28033
28627
|
onPaste: null,
|
|
28034
|
-
|
|
28628
|
+
tooltip: null,
|
|
28629
|
+
tooltipOptions: null,
|
|
28630
|
+
validateOnly: false
|
|
28035
28631
|
},
|
|
28036
28632
|
css: {
|
|
28037
28633
|
classes: classes
|
|
@@ -28095,9 +28691,9 @@ this.primereact.inputtext = (function (exports, React, api, componentbase, keyfi
|
|
|
28095
28691
|
}, [props.value, props.defaultValue]);
|
|
28096
28692
|
var hasTooltip = utils.ObjectUtils.isNotEmpty(props.tooltip);
|
|
28097
28693
|
var rootProps = utils.mergeProps({
|
|
28098
|
-
className: cx('root', {
|
|
28694
|
+
className: utils.classNames(props.className, cx('root', {
|
|
28099
28695
|
isFilled: isFilled
|
|
28100
|
-
}),
|
|
28696
|
+
})),
|
|
28101
28697
|
onBeforeInput: onBeforeInput,
|
|
28102
28698
|
onInput: onInput,
|
|
28103
28699
|
onKeyDown: onKeyDown,
|
|
@@ -28351,6 +28947,7 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28351
28947
|
prefix: null,
|
|
28352
28948
|
readOnly: false,
|
|
28353
28949
|
required: false,
|
|
28950
|
+
roundingMode: undefined,
|
|
28354
28951
|
showButtons: false,
|
|
28355
28952
|
size: null,
|
|
28356
28953
|
step: 1,
|
|
@@ -28407,9 +29004,11 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28407
29004
|
var _minusSign = React__namespace.useRef(null);
|
|
28408
29005
|
var _currency = React__namespace.useRef(null);
|
|
28409
29006
|
var _decimal = React__namespace.useRef(null);
|
|
29007
|
+
var _decimalSeparator = React__namespace.useRef(null);
|
|
28410
29008
|
var _suffix = React__namespace.useRef(null);
|
|
28411
29009
|
var _prefix = React__namespace.useRef(null);
|
|
28412
29010
|
var _index = React__namespace.useRef(null);
|
|
29011
|
+
var isFocusedByClick = React__namespace.useRef(false);
|
|
28413
29012
|
var _locale = props.locale || context && context.locale || PrimeReact__default["default"].locale;
|
|
28414
29013
|
var stacked = props.showButtons && props.buttonLayout === 'stacked';
|
|
28415
29014
|
var horizontal = props.showButtons && props.buttonLayout === 'horizontal';
|
|
@@ -28423,7 +29022,8 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28423
29022
|
currencyDisplay: props.currencyDisplay,
|
|
28424
29023
|
useGrouping: props.useGrouping,
|
|
28425
29024
|
minimumFractionDigits: props.minFractionDigits,
|
|
28426
|
-
maximumFractionDigits: props.maxFractionDigits
|
|
29025
|
+
maximumFractionDigits: props.maxFractionDigits,
|
|
29026
|
+
roundingMode: props.roundingMode
|
|
28427
29027
|
};
|
|
28428
29028
|
};
|
|
28429
29029
|
var constructParser = function constructParser() {
|
|
@@ -28435,12 +29035,13 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28435
29035
|
return [d, i];
|
|
28436
29036
|
}));
|
|
28437
29037
|
_numeral.current = new RegExp("[".concat(numerals.join(''), "]"), 'g');
|
|
28438
|
-
_group.current = getGroupingExpression();
|
|
28439
|
-
_minusSign.current = getMinusSignExpression();
|
|
28440
|
-
_currency.current = getCurrencyExpression();
|
|
28441
|
-
_decimal.current = getDecimalExpression();
|
|
28442
|
-
|
|
28443
|
-
|
|
29038
|
+
_group.current = getGroupingExpression(); // regular expression /[,]/g, /[.]/g
|
|
29039
|
+
_minusSign.current = getMinusSignExpression(); // regular expression /[-]/g
|
|
29040
|
+
_currency.current = getCurrencyExpression(); // regular expression for currency (e.g. /[$]/g, /[€]/g, /[]/g and more)
|
|
29041
|
+
_decimal.current = getDecimalExpression(); // regular expression /[,]/g, /[.]/g, /[]/g
|
|
29042
|
+
_decimalSeparator.current = getDecimalSeparator(); // current decimal separator '.', ','
|
|
29043
|
+
_suffix.current = getSuffixExpression(); // regular expression for suffix (e.g. /℃/g)
|
|
29044
|
+
_prefix.current = getPrefixExpression(); // regular expression for prefix (e.g. /\ days/g)
|
|
28444
29045
|
_index.current = function (d) {
|
|
28445
29046
|
return index.get(d);
|
|
28446
29047
|
};
|
|
@@ -28448,6 +29049,15 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28448
29049
|
var escapeRegExp = function escapeRegExp(text) {
|
|
28449
29050
|
return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
|
|
28450
29051
|
};
|
|
29052
|
+
|
|
29053
|
+
/**
|
|
29054
|
+
* get decimal separator in current locale
|
|
29055
|
+
*/
|
|
29056
|
+
var getDecimalSeparator = function getDecimalSeparator() {
|
|
29057
|
+
return new Intl.NumberFormat(_locale, {
|
|
29058
|
+
useGrouping: false
|
|
29059
|
+
}).format(1.1).trim().replace(_numeral.current, '');
|
|
29060
|
+
};
|
|
28451
29061
|
var getDecimalExpression = function getDecimalExpression() {
|
|
28452
29062
|
var formatter = new Intl.NumberFormat(_locale, _objectSpread(_objectSpread({}, getOptions()), {}, {
|
|
28453
29063
|
useGrouping: false
|
|
@@ -28474,7 +29084,8 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28474
29084
|
currency: props.currency,
|
|
28475
29085
|
currencyDisplay: props.currencyDisplay,
|
|
28476
29086
|
minimumFractionDigits: 0,
|
|
28477
|
-
maximumFractionDigits: 0
|
|
29087
|
+
maximumFractionDigits: 0,
|
|
29088
|
+
roundingMode: props.roundingMode
|
|
28478
29089
|
});
|
|
28479
29090
|
return new RegExp("[".concat(formatter.format(1).replace(/\s/g, '').replace(_numeral.current, '').replace(_group.current, ''), "]"), 'g');
|
|
28480
29091
|
}
|
|
@@ -28502,7 +29113,8 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28502
29113
|
currency: props.currency,
|
|
28503
29114
|
currencyDisplay: props.currencyDisplay,
|
|
28504
29115
|
minimumFractionDigits: 0,
|
|
28505
|
-
maximumFractionDigits: 0
|
|
29116
|
+
maximumFractionDigits: 0,
|
|
29117
|
+
roundingMode: props.roundingMode
|
|
28506
29118
|
});
|
|
28507
29119
|
suffixChar.current = formatter.format(1).split('1')[1];
|
|
28508
29120
|
}
|
|
@@ -28819,8 +29431,14 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28819
29431
|
}
|
|
28820
29432
|
return false;
|
|
28821
29433
|
};
|
|
29434
|
+
var replaceDecimalSeparator = function replaceDecimalSeparator(val) {
|
|
29435
|
+
if (isFloat(val)) {
|
|
29436
|
+
return val.toString().replace(/\.(?=[^.]*$)/, _decimalSeparator.current);
|
|
29437
|
+
}
|
|
29438
|
+
return val;
|
|
29439
|
+
};
|
|
28822
29440
|
var isDecimalSign = function isDecimalSign(_char3) {
|
|
28823
|
-
if (_decimal.current.test(_char3)) {
|
|
29441
|
+
if (_decimal.current.test(_char3) || isFloat(_char3)) {
|
|
28824
29442
|
_decimal.current.lastIndex = 0;
|
|
28825
29443
|
return true;
|
|
28826
29444
|
}
|
|
@@ -28829,6 +29447,12 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28829
29447
|
var isDecimalMode = function isDecimalMode() {
|
|
28830
29448
|
return props.mode === 'decimal';
|
|
28831
29449
|
};
|
|
29450
|
+
var isFloat = function isFloat(val) {
|
|
29451
|
+
var formatter = new Intl.NumberFormat(_locale, getOptions());
|
|
29452
|
+
var parseVal = parseValue(formatter.format(val));
|
|
29453
|
+
if (parseVal === null) return false;
|
|
29454
|
+
return parseVal % 1 !== 0;
|
|
29455
|
+
};
|
|
28832
29456
|
var getDecimalCharIndexes = function getDecimalCharIndexes(val) {
|
|
28833
29457
|
var decimalCharIndex = val.search(_decimal.current);
|
|
28834
29458
|
_decimal.current.lastIndex = 0;
|
|
@@ -28912,12 +29536,15 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28912
29536
|
}
|
|
28913
29537
|
}
|
|
28914
29538
|
};
|
|
29539
|
+
var replaceSuffix = function replaceSuffix(value) {
|
|
29540
|
+
return value ? value.replace(_suffix.current, '').trim().replace(/\s/g, '').replace(_currency.current, '') : value;
|
|
29541
|
+
};
|
|
28915
29542
|
var insertText = function insertText(value, text, start, end) {
|
|
28916
29543
|
var textSplit = text === '.' ? text : text.split('.');
|
|
28917
29544
|
if (textSplit.length === 2) {
|
|
28918
29545
|
var decimalCharIndex = value.slice(start, end).search(_decimal.current);
|
|
28919
29546
|
_decimal.current.lastIndex = 0;
|
|
28920
|
-
return decimalCharIndex > 0 ? value.slice(0, start) + formatValue(text) + value.slice(end) : value || formatValue(text);
|
|
29547
|
+
return decimalCharIndex > 0 ? value.slice(0, start) + formatValue(text) + replaceSuffix(value).slice(end) : value || formatValue(text);
|
|
28921
29548
|
} else if (end - start === value.length) {
|
|
28922
29549
|
return formatValue(text);
|
|
28923
29550
|
} else if (start === 0) {
|
|
@@ -28926,7 +29553,10 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28926
29553
|
} else if (end === value.length) {
|
|
28927
29554
|
return value.slice(0, start) + text;
|
|
28928
29555
|
} else {
|
|
28929
|
-
|
|
29556
|
+
var selectionValue = value.slice(start, end);
|
|
29557
|
+
// Fix: if the suffix starts with a space, the input will be cleared after pasting
|
|
29558
|
+
var space = /\s$/.test(selectionValue) ? ' ' : '';
|
|
29559
|
+
return value.slice(0, start) + text + space + value.slice(end);
|
|
28930
29560
|
}
|
|
28931
29561
|
};
|
|
28932
29562
|
var deleteRange = function deleteRange(value, start, end) {
|
|
@@ -28979,6 +29609,9 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28979
29609
|
}
|
|
28980
29610
|
return index || 0;
|
|
28981
29611
|
};
|
|
29612
|
+
var onInputPointerDown = function onInputPointerDown() {
|
|
29613
|
+
isFocusedByClick.current = true;
|
|
29614
|
+
};
|
|
28982
29615
|
var onInputClick = function onInputClick() {
|
|
28983
29616
|
initCursor();
|
|
28984
29617
|
};
|
|
@@ -29128,7 +29761,8 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
29128
29761
|
if (val1 && val2) {
|
|
29129
29762
|
var decimalCharIndex = val2.search(_decimal.current);
|
|
29130
29763
|
_decimal.current.lastIndex = 0;
|
|
29131
|
-
|
|
29764
|
+
var newVal1 = replaceDecimalSeparator(val1).split(_decimal.current)[0].replace(_suffix.current, '').trim();
|
|
29765
|
+
return decimalCharIndex !== -1 ? newVal1 + val2.slice(decimalCharIndex) : val1;
|
|
29132
29766
|
}
|
|
29133
29767
|
return val1;
|
|
29134
29768
|
};
|
|
@@ -29136,7 +29770,7 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
29136
29770
|
if (value) {
|
|
29137
29771
|
var valueSplit = value.split(_decimal.current);
|
|
29138
29772
|
if (valueSplit.length === 2) {
|
|
29139
|
-
return valueSplit[1]
|
|
29773
|
+
return replaceSuffix(valueSplit[1]).length;
|
|
29140
29774
|
}
|
|
29141
29775
|
}
|
|
29142
29776
|
return 0;
|
|
@@ -29163,14 +29797,18 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
29163
29797
|
var onInputFocus = function onInputFocus(event) {
|
|
29164
29798
|
setFocusedState(true);
|
|
29165
29799
|
props.onFocus && props.onFocus(event);
|
|
29166
|
-
if ((props.suffix || props.currency || props.prefix) && inputRef.current) {
|
|
29167
|
-
// GitHub #1866
|
|
29168
|
-
var
|
|
29169
|
-
|
|
29800
|
+
if ((props.suffix || props.currency || props.prefix) && inputRef.current && !isFocusedByClick.current) {
|
|
29801
|
+
// GitHub #1866,#5537
|
|
29802
|
+
var inputValue = inputRef.current.value;
|
|
29803
|
+
var prefixLength = (prefixChar.current || '').length;
|
|
29804
|
+
var suffixLength = (suffixChar.current || '').length;
|
|
29805
|
+
var end = inputValue.length === 0 ? 0 : inputValue.length - suffixLength;
|
|
29806
|
+
inputRef.current.setSelectionRange(prefixLength, end);
|
|
29170
29807
|
}
|
|
29171
29808
|
};
|
|
29172
29809
|
var onInputBlur = function onInputBlur(event) {
|
|
29173
29810
|
setFocusedState(false);
|
|
29811
|
+
isFocusedByClick.current = false;
|
|
29174
29812
|
if (inputRef.current) {
|
|
29175
29813
|
var currentValue = inputRef.current.value;
|
|
29176
29814
|
if (isValueChanged(currentValue, props.value)) {
|
|
@@ -29187,7 +29825,8 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
29187
29825
|
}
|
|
29188
29826
|
};
|
|
29189
29827
|
var changeValue = function changeValue() {
|
|
29190
|
-
|
|
29828
|
+
var val = validateValueByLimit(props.value);
|
|
29829
|
+
updateInputValue(props.format ? val : replaceDecimalSeparator(val));
|
|
29191
29830
|
var newValue = validateValue(props.value);
|
|
29192
29831
|
if (props.value !== null && props.value !== newValue) {
|
|
29193
29832
|
updateModel(null, newValue);
|
|
@@ -29260,6 +29899,7 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
29260
29899
|
onKeyPress: onInputKeyUp,
|
|
29261
29900
|
onInput: onInput,
|
|
29262
29901
|
onClick: onInputClick,
|
|
29902
|
+
onPointerDown: onInputPointerDown,
|
|
29263
29903
|
onBlur: onInputBlur,
|
|
29264
29904
|
onFocus: onInputFocus,
|
|
29265
29905
|
onPaste: onPaste,
|
|
@@ -29612,8 +30252,7 @@ this.primereact.messages = (function (exports, React, reactTransitionGroup, api,
|
|
|
29612
30252
|
if (closable !== false) {
|
|
29613
30253
|
var ariaLabel = api.localeOption('close');
|
|
29614
30254
|
var buttonIconProps = utils.mergeProps({
|
|
29615
|
-
className: cx('uimessage.buttonicon')
|
|
29616
|
-
'aria-hidden': true
|
|
30255
|
+
className: cx('uimessage.buttonicon')
|
|
29617
30256
|
}, getPTOptions('buttonicon', parentParams), ptmo(pt, 'buttonicon', _objectSpread$1(_objectSpread$1({}, params), {}, {
|
|
29618
30257
|
hostName: props.hostName
|
|
29619
30258
|
})));
|
|
@@ -29688,6 +30327,9 @@ this.primereact.messages = (function (exports, React, reactTransitionGroup, api,
|
|
|
29688
30327
|
severity: severity
|
|
29689
30328
|
})),
|
|
29690
30329
|
style: style,
|
|
30330
|
+
role: 'alert',
|
|
30331
|
+
'aria-live': 'assertive',
|
|
30332
|
+
'aria-atomic': 'true',
|
|
29691
30333
|
onClick: onClick
|
|
29692
30334
|
}, getPTOptions('root', parentParams), ptmo(pt, 'root', _objectSpread$1(_objectSpread$1({}, params), {}, {
|
|
29693
30335
|
hostName: props.hostName
|
|
@@ -29792,7 +30434,7 @@ this.primereact.messages = (function (exports, React, reactTransitionGroup, api,
|
|
|
29792
30434
|
style: props.style
|
|
29793
30435
|
}, MessagesBase.getOtherProps(props), ptCallbacks.ptm('root'));
|
|
29794
30436
|
var transitionProps = utils.mergeProps({
|
|
29795
|
-
classNames: ptCallbacks.cx('transition'),
|
|
30437
|
+
classNames: ptCallbacks.cx('uimessage.transition'),
|
|
29796
30438
|
unmountOnExit: true,
|
|
29797
30439
|
timeout: {
|
|
29798
30440
|
enter: 300,
|
|
@@ -30047,7 +30689,7 @@ this.primereact.progressbar = (function (exports, React, api, componentbase, uti
|
|
|
30047
30689
|
})({}, React, primereact.api, primereact.componentbase, primereact.utils);
|
|
30048
30690
|
|
|
30049
30691
|
this.primereact = this.primereact || {};
|
|
30050
|
-
this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase, hooks, chevrondown, times, overlayservice, tooltip, utils, csstransition, search, portal, virtualscroller, ripple) {
|
|
30692
|
+
this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase, hooks, chevrondown, spinner, times, overlayservice, tooltip, utils, csstransition, search, portal, virtualscroller, ripple) {
|
|
30051
30693
|
'use strict';
|
|
30052
30694
|
|
|
30053
30695
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -30214,6 +30856,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
30214
30856
|
});
|
|
30215
30857
|
},
|
|
30216
30858
|
dropdownIcon: 'p-dropdown-trigger-icon p-clickable',
|
|
30859
|
+
loadingIcon: 'p-dropdown-trigger-icon p-clickable',
|
|
30217
30860
|
clearIcon: 'p-dropdown-clear-icon p-clickable',
|
|
30218
30861
|
filterIcon: 'p-dropdown-filter-icon',
|
|
30219
30862
|
filterContainer: function filterContainer(_ref4) {
|
|
@@ -30763,7 +31406,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
30763
31406
|
return utils.DomHandler.hasClass(event.target, 'p-dropdown-clear-icon') || utils.DomHandler.hasClass(event.target, 'p-dropdown-filter-clear-icon');
|
|
30764
31407
|
};
|
|
30765
31408
|
var _onClick = function onClick(event) {
|
|
30766
|
-
if (props.disabled) {
|
|
31409
|
+
if (props.disabled || props.loading) {
|
|
30767
31410
|
return;
|
|
30768
31411
|
}
|
|
30769
31412
|
props.onClick && props.onClick(event);
|
|
@@ -31316,7 +31959,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
31316
31959
|
onBlur: onInputBlur,
|
|
31317
31960
|
onKeyDown: onInputKeyDown,
|
|
31318
31961
|
disabled: props.disabled,
|
|
31319
|
-
tabIndex: props.tabIndex
|
|
31962
|
+
tabIndex: props.tabIndex || 0
|
|
31320
31963
|
}, ariaProps), ptm('input'));
|
|
31321
31964
|
return /*#__PURE__*/React__namespace.createElement("div", hiddenSelectedMessageProps, /*#__PURE__*/React__namespace.createElement("input", inputProps));
|
|
31322
31965
|
};
|
|
@@ -31337,6 +31980,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
31337
31980
|
onInput: onEditableInputChange,
|
|
31338
31981
|
onFocus: onEditableInputFocus,
|
|
31339
31982
|
onBlur: onInputBlur,
|
|
31983
|
+
tabIndex: props.tabIndex || 0,
|
|
31340
31984
|
'aria-haspopup': 'listbox'
|
|
31341
31985
|
}, ariaProps), ptm('input'));
|
|
31342
31986
|
return /*#__PURE__*/React__namespace.createElement("input", inputProps);
|
|
@@ -31346,7 +31990,8 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
31346
31990
|
ref: inputRef,
|
|
31347
31991
|
className: cx('input', {
|
|
31348
31992
|
label: label
|
|
31349
|
-
})
|
|
31993
|
+
}),
|
|
31994
|
+
tabIndex: '-1'
|
|
31350
31995
|
}, ptm('input'));
|
|
31351
31996
|
return /*#__PURE__*/React__namespace.createElement("span", _inputProps, content);
|
|
31352
31997
|
}
|
|
@@ -31364,6 +32009,27 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
31364
32009
|
}
|
|
31365
32010
|
return null;
|
|
31366
32011
|
};
|
|
32012
|
+
var createLoadingIcon = function createLoadingIcon() {
|
|
32013
|
+
var loadingIconProps = utils.mergeProps({
|
|
32014
|
+
className: cx('loadingIcon'),
|
|
32015
|
+
'data-pr-overlay-visible': overlayVisibleState
|
|
32016
|
+
}, ptm('loadingIcon'));
|
|
32017
|
+
var icon = props.loadingIcon || /*#__PURE__*/React__namespace.createElement(spinner.SpinnerIcon, {
|
|
32018
|
+
spin: true
|
|
32019
|
+
});
|
|
32020
|
+
var loadingIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread({}, loadingIconProps), {
|
|
32021
|
+
props: props
|
|
32022
|
+
});
|
|
32023
|
+
var ariaLabel = props.placeholder || props.ariaLabel;
|
|
32024
|
+
var loadingButtonProps = utils.mergeProps({
|
|
32025
|
+
className: cx('trigger'),
|
|
32026
|
+
role: 'button',
|
|
32027
|
+
'aria-haspopup': 'listbox',
|
|
32028
|
+
'aria-expanded': overlayVisibleState,
|
|
32029
|
+
'aria-label': ariaLabel
|
|
32030
|
+
}, ptm('trigger'));
|
|
32031
|
+
return /*#__PURE__*/React__namespace.createElement("div", loadingButtonProps, loadingIcon);
|
|
32032
|
+
};
|
|
31367
32033
|
var createDropdownIcon = function createDropdownIcon() {
|
|
31368
32034
|
var dropdownIconProps = utils.mergeProps({
|
|
31369
32035
|
className: cx('dropdownIcon'),
|
|
@@ -31391,7 +32057,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
31391
32057
|
var hiddenSelect = createHiddenSelect();
|
|
31392
32058
|
var keyboardHelper = createKeyboardHelper();
|
|
31393
32059
|
var labelElement = createLabel();
|
|
31394
|
-
var dropdownIcon = createDropdownIcon();
|
|
32060
|
+
var dropdownIcon = props.loading ? createLoadingIcon() : createDropdownIcon();
|
|
31395
32061
|
var clearIcon = createClearIcon();
|
|
31396
32062
|
var rootProps = utils.mergeProps({
|
|
31397
32063
|
id: props.id,
|
|
@@ -31455,10 +32121,10 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
31455
32121
|
|
|
31456
32122
|
return exports;
|
|
31457
32123
|
|
|
31458
|
-
})({}, React, primereact.api, primereact.componentbase, primereact.hooks, primereact.icons.chevrondown, primereact.icons.times, primereact.overlayservice, primereact.tooltip, primereact.utils, primereact.csstransition, primereact.icons.search, primereact.portal, primereact.virtualscroller, primereact.ripple);
|
|
32124
|
+
})({}, React, primereact.api, primereact.componentbase, primereact.hooks, primereact.icons.chevrondown, primereact.icons.spinner, primereact.icons.times, primereact.overlayservice, primereact.tooltip, primereact.utils, primereact.csstransition, primereact.icons.search, primereact.portal, primereact.virtualscroller, primereact.ripple);
|
|
31459
32125
|
|
|
31460
32126
|
this.primereact = this.primereact || {};
|
|
31461
|
-
this.primereact.dialog = (function (exports, React,
|
|
32127
|
+
this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, csstransition, hooks, times, windowmaximize, windowminimize, portal, ripple, utils) {
|
|
31462
32128
|
'use strict';
|
|
31463
32129
|
|
|
31464
32130
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -31499,6 +32165,16 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
31499
32165
|
return _extends.apply(this, arguments);
|
|
31500
32166
|
}
|
|
31501
32167
|
|
|
32168
|
+
function _typeof(o) {
|
|
32169
|
+
"@babel/helpers - typeof";
|
|
32170
|
+
|
|
32171
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
32172
|
+
return typeof o;
|
|
32173
|
+
} : function (o) {
|
|
32174
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
32175
|
+
}, _typeof(o);
|
|
32176
|
+
}
|
|
32177
|
+
|
|
31502
32178
|
function _arrayLikeToArray(arr, len) {
|
|
31503
32179
|
if (len == null || len > arr.length) len = arr.length;
|
|
31504
32180
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
@@ -31530,16 +32206,6 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
31530
32206
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
31531
32207
|
}
|
|
31532
32208
|
|
|
31533
|
-
function _typeof(o) {
|
|
31534
|
-
"@babel/helpers - typeof";
|
|
31535
|
-
|
|
31536
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
31537
|
-
return typeof o;
|
|
31538
|
-
} : function (o) {
|
|
31539
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
31540
|
-
}, _typeof(o);
|
|
31541
|
-
}
|
|
31542
|
-
|
|
31543
32209
|
function _toPrimitive(input, hint) {
|
|
31544
32210
|
if (_typeof(input) !== "object" || input === null) return input;
|
|
31545
32211
|
var prim = input[Symbol.toPrimitive];
|
|
@@ -31611,104 +32277,6 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
31611
32277
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
31612
32278
|
}
|
|
31613
32279
|
|
|
31614
|
-
var usePrevious = function usePrevious(newValue) {
|
|
31615
|
-
var ref = React__namespace.useRef(undefined);
|
|
31616
|
-
React__namespace.useEffect(function () {
|
|
31617
|
-
ref.current = newValue;
|
|
31618
|
-
});
|
|
31619
|
-
return ref.current;
|
|
31620
|
-
};
|
|
31621
|
-
|
|
31622
|
-
/* eslint-disable */
|
|
31623
|
-
var useUnmountEffect = function useUnmountEffect(fn) {
|
|
31624
|
-
return React__namespace.useEffect(function () {
|
|
31625
|
-
return fn;
|
|
31626
|
-
}, []);
|
|
31627
|
-
};
|
|
31628
|
-
/* eslint-enable */
|
|
31629
|
-
|
|
31630
|
-
/* eslint-disable */
|
|
31631
|
-
var useEventListener = function useEventListener(_ref) {
|
|
31632
|
-
var _ref$target = _ref.target,
|
|
31633
|
-
target = _ref$target === void 0 ? 'document' : _ref$target,
|
|
31634
|
-
type = _ref.type,
|
|
31635
|
-
listener = _ref.listener,
|
|
31636
|
-
options = _ref.options,
|
|
31637
|
-
_ref$when = _ref.when,
|
|
31638
|
-
when = _ref$when === void 0 ? true : _ref$when;
|
|
31639
|
-
var targetRef = React__namespace.useRef(null);
|
|
31640
|
-
var listenerRef = React__namespace.useRef(null);
|
|
31641
|
-
var prevOptions = usePrevious(options);
|
|
31642
|
-
var bind = function bind() {
|
|
31643
|
-
var bindOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
31644
|
-
if (utils.ObjectUtils.isNotEmpty(bindOptions.target)) {
|
|
31645
|
-
unbind();
|
|
31646
|
-
(bindOptions.when || when) && (targetRef.current = utils.DomHandler.getTargetElement(bindOptions.target));
|
|
31647
|
-
}
|
|
31648
|
-
if (!listenerRef.current && targetRef.current) {
|
|
31649
|
-
listenerRef.current = function (event) {
|
|
31650
|
-
return listener && listener(event);
|
|
31651
|
-
};
|
|
31652
|
-
targetRef.current.addEventListener(type, listenerRef.current, options);
|
|
31653
|
-
}
|
|
31654
|
-
};
|
|
31655
|
-
var unbind = function unbind() {
|
|
31656
|
-
if (listenerRef.current) {
|
|
31657
|
-
targetRef.current.removeEventListener(type, listenerRef.current, options);
|
|
31658
|
-
listenerRef.current = null;
|
|
31659
|
-
}
|
|
31660
|
-
};
|
|
31661
|
-
React__namespace.useEffect(function () {
|
|
31662
|
-
if (when) {
|
|
31663
|
-
targetRef.current = utils.DomHandler.getTargetElement(target);
|
|
31664
|
-
} else {
|
|
31665
|
-
unbind();
|
|
31666
|
-
targetRef.current = null;
|
|
31667
|
-
}
|
|
31668
|
-
}, [target, when]);
|
|
31669
|
-
React__namespace.useEffect(function () {
|
|
31670
|
-
if (listenerRef.current && (listenerRef.current !== listener || prevOptions !== options)) {
|
|
31671
|
-
unbind();
|
|
31672
|
-
when && bind();
|
|
31673
|
-
}
|
|
31674
|
-
}, [listener, options]);
|
|
31675
|
-
useUnmountEffect(function () {
|
|
31676
|
-
unbind();
|
|
31677
|
-
});
|
|
31678
|
-
return [bind, unbind];
|
|
31679
|
-
};
|
|
31680
|
-
/* eslint-enable */
|
|
31681
|
-
|
|
31682
|
-
var useOnEscapeKey = function useOnEscapeKey(ref, condition, callback) {
|
|
31683
|
-
var handleEsc = function handleEsc(event) {
|
|
31684
|
-
if (event.key === 'Esc' || event.key === 'Escape') {
|
|
31685
|
-
event.stopImmediatePropagation();
|
|
31686
|
-
callback(event);
|
|
31687
|
-
}
|
|
31688
|
-
return;
|
|
31689
|
-
};
|
|
31690
|
-
var _useEventListener = useEventListener({
|
|
31691
|
-
type: 'keydown',
|
|
31692
|
-
listener: handleEsc
|
|
31693
|
-
}),
|
|
31694
|
-
_useEventListener2 = _slicedToArray(_useEventListener, 2),
|
|
31695
|
-
bindKeyDownListener = _useEventListener2[0],
|
|
31696
|
-
unbindKeyDownListener = _useEventListener2[1];
|
|
31697
|
-
React__namespace.useEffect(function () {
|
|
31698
|
-
if (!condition) {
|
|
31699
|
-
return;
|
|
31700
|
-
}
|
|
31701
|
-
if (!ref.current) {
|
|
31702
|
-
return;
|
|
31703
|
-
}
|
|
31704
|
-
bindKeyDownListener();
|
|
31705
|
-
return function () {
|
|
31706
|
-
unbindKeyDownListener();
|
|
31707
|
-
};
|
|
31708
|
-
});
|
|
31709
|
-
return [ref, callback];
|
|
31710
|
-
};
|
|
31711
|
-
|
|
31712
32280
|
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; }
|
|
31713
32281
|
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; }
|
|
31714
32282
|
var classes = {
|
|
@@ -31726,10 +32294,13 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
31726
32294
|
var props = _ref2.props;
|
|
31727
32295
|
return utils.classNames('p-dialog-content', props.contentClassName);
|
|
31728
32296
|
},
|
|
31729
|
-
footer:
|
|
31730
|
-
|
|
31731
|
-
|
|
31732
|
-
|
|
32297
|
+
footer: function footer(_ref3) {
|
|
32298
|
+
var props = _ref3.props;
|
|
32299
|
+
return utils.classNames('p-dialog-footer', props.footerClassName);
|
|
32300
|
+
},
|
|
32301
|
+
mask: function mask(_ref4) {
|
|
32302
|
+
var props = _ref4.props,
|
|
32303
|
+
maskVisibleState = _ref4.maskVisibleState;
|
|
31733
32304
|
var positions = ['center', 'left', 'right', 'top', 'top-left', 'top-right', 'bottom', 'bottom-left', 'bottom-right'];
|
|
31734
32305
|
var pos = positions.find(function (item) {
|
|
31735
32306
|
return item === props.position || item.replace('-', '') === props.position;
|
|
@@ -31741,10 +32312,10 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
31741
32312
|
'p-dialog-resizable': props.resizable
|
|
31742
32313
|
}, props.maskClassName);
|
|
31743
32314
|
},
|
|
31744
|
-
root: function root(
|
|
31745
|
-
var props =
|
|
31746
|
-
maximized =
|
|
31747
|
-
context =
|
|
32315
|
+
root: function root(_ref5) {
|
|
32316
|
+
var props = _ref5.props,
|
|
32317
|
+
maximized = _ref5.maximized,
|
|
32318
|
+
context = _ref5.context;
|
|
31748
32319
|
return utils.classNames('p-dialog p-component', props.className, {
|
|
31749
32320
|
'p-dialog-rtl': props.rtl,
|
|
31750
32321
|
'p-dialog-maximized': maximized,
|
|
@@ -31755,10 +32326,10 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
31755
32326
|
},
|
|
31756
32327
|
transition: 'p-dialog'
|
|
31757
32328
|
};
|
|
31758
|
-
var styles = "\n@layer primereact {\n .p-dialog-mask {\n background-color: transparent;\n transition-property: background-color;\n }\n \n .p-dialog-visible {\n display: flex;\n }\n \n .p-dialog-mask.p-component-overlay {\n pointer-events: auto;\n }\n \n .p-dialog {\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n max-height: 90%;\n transform: scale(1);\n position: relative;\n }\n \n .p-dialog-content {\n overflow-y: auto;\n flex-grow: 1;\n }\n \n .p-dialog-header {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n }\n \n .p-dialog-footer {\n flex-shrink: 0;\n }\n \n .p-dialog .p-dialog-header-icons {\n display: flex;\n align-items: center;\n align-self: flex-start;\n flex-shrink: 0;\n }\n \n .p-dialog .p-dialog-header-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n }\n \n .p-dialog .p-dialog-title {\n flex-grow: 1;\n }\n \n /* Fluid */\n .p-fluid .p-dialog-footer .p-button {\n width: auto;\n }\n \n /* Animation */\n /* Center */\n .p-dialog-enter {\n opacity: 0;\n transform: scale(0.7);\n }\n \n .p-dialog-enter-active {\n opacity: 1;\n transform: scale(1);\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n \n .p-dialog-enter-done {\n transform: none;\n }\n \n .p-dialog-exit-active {\n opacity: 0;\n transform: scale(0.7);\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n \n /* Top, Bottom, Left, Right, Top* and Bottom* */\n .p-dialog-top .p-dialog,\n .p-dialog-bottom .p-dialog,\n .p-dialog-left .p-dialog,\n .p-dialog-right .p-dialog,\n .p-dialog-top-left .p-dialog,\n .p-dialog-top-right .p-dialog,\n .p-dialog-bottom-left .p-dialog,\n .p-dialog-bottom-right .p-dialog {\n margin: 0.75em;\n }\n \n .p-dialog-top .p-dialog-enter,\n .p-dialog-top .p-dialog-exit-active {\n transform: translate3d(0px, -100%, 0px);\n }\n \n .p-dialog-bottom .p-dialog-enter,\n .p-dialog-bottom .p-dialog-exit-active {\n transform: translate3d(0px, 100%, 0px);\n }\n \n .p-dialog-left .p-dialog-enter,\n .p-dialog-left .p-dialog-exit-active,\n .p-dialog-top-left .p-dialog-enter,\n .p-dialog-top-left .p-dialog-exit-active,\n .p-dialog-bottom-left .p-dialog-enter,\n .p-dialog-bottom-left .p-dialog-exit-active {\n transform: translate3d(-100%, 0px, 0px);\n }\n \n .p-dialog-right .p-dialog-enter,\n .p-dialog-right .p-dialog-exit-active,\n .p-dialog-top-right .p-dialog-enter,\n .p-dialog-top-right .p-dialog-exit-active,\n .p-dialog-bottom-right .p-dialog-enter,\n .p-dialog-bottom-right .p-dialog-exit-active {\n transform: translate3d(100%, 0px, 0px);\n }\n \n .p-dialog-top .p-dialog-enter-active,\n .p-dialog-bottom .p-dialog-enter-active,\n .p-dialog-left .p-dialog-enter-active,\n .p-dialog-top-left .p-dialog-enter-active,\n .p-dialog-bottom-left .p-dialog-enter-active,\n .p-dialog-right .p-dialog-enter-active,\n .p-dialog-top-right .p-dialog-enter-active,\n .p-dialog-bottom-right .p-dialog-enter-active {\n transform: translate3d(0px, 0px, 0px);\n transition: all 0.3s ease-out;\n }\n \n .p-dialog-top .p-dialog-exit-active,\n .p-dialog-bottom .p-dialog-exit-active,\n .p-dialog-left .p-dialog-exit-active,\n .p-dialog-top-left .p-dialog-exit-active,\n .p-dialog-bottom-left .p-dialog-exit-active,\n .p-dialog-right .p-dialog-exit-active,\n .p-dialog-top-right .p-dialog-exit-active,\n .p-dialog-bottom-right .p-dialog-exit-active {\n transition: all 0.3s ease-out;\n }\n \n /* Maximize */\n .p-dialog-maximized {\n transition: none;\n transform: none;\n margin: 0;\n width: 100vw !important;\n height: 100vh !important;\n max-height: 100%;\n top: 0px;\n left: 0px;\n }\n \n .p-dialog-maximized .p-dialog-content {\n flex-grow: 1;\n }\n \n .p-confirm-dialog .p-dialog-content {\n display: flex;\n align-items: center;\n }\n \n /* Resizable */\n .p-dialog .p-resizable-handle {\n position: absolute;\n font-size: 0.1px;\n display: block;\n cursor: se-resize;\n width: 12px;\n height: 12px;\n right: 1px;\n bottom: 1px;\n }\n \n .p-dialog-draggable .p-dialog-header {\n cursor: move;\n } \n}\n";
|
|
32329
|
+
var styles = "\n@layer primereact {\n .p-dialog-mask {\n background-color: transparent;\n transition-property: background-color;\n }\n \n .p-dialog-visible {\n display: flex;\n }\n \n .p-dialog-mask.p-component-overlay {\n pointer-events: auto;\n }\n \n .p-dialog {\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n max-height: 90%;\n transform: scale(1);\n position: relative;\n }\n \n .p-dialog-content {\n overflow-y: auto;\n flex-grow: 1;\n }\n \n .p-dialog-header {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n }\n \n .p-dialog-footer {\n flex-shrink: 0;\n }\n \n .p-dialog .p-dialog-header-icons {\n display: flex;\n align-items: center;\n align-self: flex-start;\n flex-shrink: 0;\n }\n \n .p-dialog .p-dialog-header-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n }\n \n .p-dialog .p-dialog-title {\n flex-grow: 1;\n }\n \n /* Fluid */\n .p-fluid .p-dialog-footer .p-button {\n width: auto;\n }\n \n /* Animation */\n /* Center */\n .p-dialog-enter {\n opacity: 0;\n transform: scale(0.7);\n }\n \n .p-dialog-enter-active {\n opacity: 1;\n transform: scale(1);\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n \n .p-dialog-enter-done {\n transform: none;\n }\n \n .p-dialog-exit-active {\n opacity: 0;\n transform: scale(0.7);\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n \n /* Top, Bottom, Left, Right, Top* and Bottom* */\n .p-dialog-top .p-dialog,\n .p-dialog-bottom .p-dialog,\n .p-dialog-left .p-dialog,\n .p-dialog-right .p-dialog,\n .p-dialog-top-left .p-dialog,\n .p-dialog-top-right .p-dialog,\n .p-dialog-bottom-left .p-dialog,\n .p-dialog-bottom-right .p-dialog {\n margin: 0.75em;\n }\n \n .p-dialog-top .p-dialog-enter,\n .p-dialog-top .p-dialog-exit-active {\n transform: translate3d(0px, -100%, 0px);\n }\n \n .p-dialog-bottom .p-dialog-enter,\n .p-dialog-bottom .p-dialog-exit-active {\n transform: translate3d(0px, 100%, 0px);\n }\n \n .p-dialog-left .p-dialog-enter,\n .p-dialog-left .p-dialog-exit-active,\n .p-dialog-top-left .p-dialog-enter,\n .p-dialog-top-left .p-dialog-exit-active,\n .p-dialog-bottom-left .p-dialog-enter,\n .p-dialog-bottom-left .p-dialog-exit-active {\n transform: translate3d(-100%, 0px, 0px);\n }\n \n .p-dialog-right .p-dialog-enter,\n .p-dialog-right .p-dialog-exit-active,\n .p-dialog-top-right .p-dialog-enter,\n .p-dialog-top-right .p-dialog-exit-active,\n .p-dialog-bottom-right .p-dialog-enter,\n .p-dialog-bottom-right .p-dialog-exit-active {\n transform: translate3d(100%, 0px, 0px);\n }\n \n .p-dialog-top .p-dialog-enter-active,\n .p-dialog-bottom .p-dialog-enter-active,\n .p-dialog-left .p-dialog-enter-active,\n .p-dialog-top-left .p-dialog-enter-active,\n .p-dialog-bottom-left .p-dialog-enter-active,\n .p-dialog-right .p-dialog-enter-active,\n .p-dialog-top-right .p-dialog-enter-active,\n .p-dialog-bottom-right .p-dialog-enter-active {\n transform: translate3d(0px, 0px, 0px);\n transition: all 0.3s ease-out;\n }\n \n .p-dialog-top .p-dialog-exit-active,\n .p-dialog-bottom .p-dialog-exit-active,\n .p-dialog-left .p-dialog-exit-active,\n .p-dialog-top-left .p-dialog-exit-active,\n .p-dialog-bottom-left .p-dialog-exit-active,\n .p-dialog-right .p-dialog-exit-active,\n .p-dialog-top-right .p-dialog-exit-active,\n .p-dialog-bottom-right .p-dialog-exit-active {\n transition: all 0.3s ease-out;\n }\n \n /* Maximize */\n .p-dialog-maximized {\n transition: none;\n transform: none;\n margin: 0;\n width: 100vw !important;\n height: 100vh !important;\n max-height: 100%;\n top: 0px !important;\n left: 0px !important;\n }\n \n .p-dialog-maximized .p-dialog-content {\n flex-grow: 1;\n }\n \n .p-confirm-dialog .p-dialog-content {\n display: flex;\n align-items: center;\n }\n \n /* Resizable */\n .p-dialog .p-resizable-handle {\n position: absolute;\n font-size: 0.1px;\n display: block;\n cursor: se-resize;\n width: 12px;\n height: 12px;\n right: 1px;\n bottom: 1px;\n }\n \n .p-dialog-draggable .p-dialog-header {\n cursor: move;\n } \n}\n";
|
|
31759
32330
|
var inlineStyles = {
|
|
31760
|
-
mask: function mask(
|
|
31761
|
-
var props =
|
|
32331
|
+
mask: function mask(_ref6) {
|
|
32332
|
+
var props = _ref6.props;
|
|
31762
32333
|
return _objectSpread$1({
|
|
31763
32334
|
position: 'fixed',
|
|
31764
32335
|
height: '100%',
|
|
@@ -31791,6 +32362,7 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
31791
32362
|
draggable: true,
|
|
31792
32363
|
focusOnShow: true,
|
|
31793
32364
|
footer: null,
|
|
32365
|
+
footerClassName: null,
|
|
31794
32366
|
header: null,
|
|
31795
32367
|
headerClassName: null,
|
|
31796
32368
|
headerStyle: null,
|
|
@@ -31871,6 +32443,7 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
31871
32443
|
var focusElementOnHide = React__namespace.useRef(null);
|
|
31872
32444
|
var maximized = props.onMaximize ? props.maximized : maximizedState;
|
|
31873
32445
|
var shouldBlockScroll = visibleState && (props.blockScroll || props.maximizable && maximized);
|
|
32446
|
+
var displayOrder = hooks.useDisplayOrder('dialog', visibleState);
|
|
31874
32447
|
var _DialogBase$setMetaDa = DialogBase.setMetaData(_objectSpread(_objectSpread({
|
|
31875
32448
|
props: props
|
|
31876
32449
|
}, props.__parentMetadata), {}, {
|
|
@@ -31887,15 +32460,14 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
31887
32460
|
componentbase.useHandleStyle(DialogBase.css.styles, isUnstyled, {
|
|
31888
32461
|
name: 'dialog'
|
|
31889
32462
|
});
|
|
31890
|
-
|
|
31891
|
-
|
|
31892
|
-
|
|
31893
|
-
|
|
31894
|
-
|
|
31895
|
-
|
|
31896
|
-
|
|
31897
|
-
|
|
31898
|
-
params.splice(paramLength - 1, 1);
|
|
32463
|
+
hooks.useGlobalOnEscapeKey({
|
|
32464
|
+
callback: function callback(event) {
|
|
32465
|
+
if (props.closable && props.closeOnEscape) {
|
|
32466
|
+
onClose(event);
|
|
32467
|
+
}
|
|
32468
|
+
},
|
|
32469
|
+
when: visibleState,
|
|
32470
|
+
priority: [hooks.ESC_KEY_HANDLING_PRIORITIES.DIALOG, displayOrder]
|
|
31899
32471
|
});
|
|
31900
32472
|
var _useEventListener = hooks.useEventListener({
|
|
31901
32473
|
type: 'keydown',
|
|
@@ -31961,7 +32533,7 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
31961
32533
|
var focus = function focus() {
|
|
31962
32534
|
var activeElement = document.activeElement;
|
|
31963
32535
|
var isActiveElementInDialog = activeElement && dialogRef.current && dialogRef.current.contains(activeElement);
|
|
31964
|
-
if (!isActiveElementInDialog && props.closable && props.showHeader) {
|
|
32536
|
+
if (!isActiveElementInDialog && props.closable && props.showHeader && closeRef.current) {
|
|
31965
32537
|
closeRef.current.focus();
|
|
31966
32538
|
}
|
|
31967
32539
|
};
|
|
@@ -32155,11 +32727,9 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
32155
32727
|
};
|
|
32156
32728
|
var enableDocumentSettings = function enableDocumentSettings() {
|
|
32157
32729
|
bindGlobalListeners();
|
|
32158
|
-
updateGlobalDialogsRegistry(true);
|
|
32159
32730
|
};
|
|
32160
32731
|
var disableDocumentSettings = function disableDocumentSettings() {
|
|
32161
32732
|
unbindGlobalListeners();
|
|
32162
|
-
updateGlobalDialogsRegistry(false);
|
|
32163
32733
|
};
|
|
32164
32734
|
var updateScrollBlocker = function updateScrollBlocker() {
|
|
32165
32735
|
// Scroll should be unblocked if there is at least one dialog that blocks scrolling:
|
|
@@ -32173,8 +32743,8 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
32173
32743
|
}
|
|
32174
32744
|
};
|
|
32175
32745
|
var updateGlobalDialogsRegistry = function updateGlobalDialogsRegistry(isMounted) {
|
|
32176
|
-
// Update current dialog info in global registry if it is mounted:
|
|
32177
|
-
if (isMounted) {
|
|
32746
|
+
// Update current dialog info in global registry if it is mounted and visible:
|
|
32747
|
+
if (isMounted && visibleState) {
|
|
32178
32748
|
var newParam = {
|
|
32179
32749
|
id: idState,
|
|
32180
32750
|
hasBlockScroll: shouldBlockScroll
|
|
@@ -32193,7 +32763,7 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
32193
32763
|
document.primeDialogParams = document.primeDialogParams.toSpliced(currentDialogIndexInRegistry, 1, newParam);
|
|
32194
32764
|
}
|
|
32195
32765
|
}
|
|
32196
|
-
// Or remove it from global registry if unmounted:
|
|
32766
|
+
// Or remove it from global registry if unmounted or invisible:
|
|
32197
32767
|
else {
|
|
32198
32768
|
document.primeDialogParams = document.primeDialogParams && document.primeDialogParams.filter(function (param) {
|
|
32199
32769
|
return param.id !== idState;
|
|
@@ -32223,21 +32793,31 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
32223
32793
|
unbindDocumentKeyDownListener();
|
|
32224
32794
|
};
|
|
32225
32795
|
var createStyle = function createStyle() {
|
|
32226
|
-
styleElement.current = utils.DomHandler.createInlineStyle(context && context.nonce || PrimeReact__default["default"].nonce);
|
|
32796
|
+
styleElement.current = utils.DomHandler.createInlineStyle(context && context.nonce || PrimeReact__default["default"].nonce, context && context.styleContainer);
|
|
32227
32797
|
var innerHTML = '';
|
|
32228
32798
|
for (var breakpoint in props.breakpoints) {
|
|
32229
|
-
innerHTML += "\n @media screen and (max-width: ".concat(breakpoint, ") {\n
|
|
32799
|
+
innerHTML += "\n @media screen and (max-width: ".concat(breakpoint, ") {\n [data-pc-name=\"dialog\"][").concat(attributeSelector.current, "] {\n width: ").concat(props.breakpoints[breakpoint], " !important;\n }\n }\n ");
|
|
32230
32800
|
}
|
|
32231
32801
|
styleElement.current.innerHTML = innerHTML;
|
|
32232
32802
|
};
|
|
32803
|
+
var destroyStyle = function destroyStyle() {
|
|
32804
|
+
styleElement.current = utils.DomHandler.removeInlineStyle(styleElement.current);
|
|
32805
|
+
};
|
|
32233
32806
|
hooks.useMountEffect(function () {
|
|
32807
|
+
updateGlobalDialogsRegistry(true);
|
|
32234
32808
|
if (props.visible) {
|
|
32235
32809
|
setMaskVisibleState(true);
|
|
32236
32810
|
}
|
|
32811
|
+
});
|
|
32812
|
+
React__namespace.useEffect(function () {
|
|
32237
32813
|
if (props.breakpoints) {
|
|
32238
32814
|
createStyle();
|
|
32239
32815
|
}
|
|
32240
|
-
|
|
32816
|
+
return function () {
|
|
32817
|
+
destroyStyle();
|
|
32818
|
+
};
|
|
32819
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
32820
|
+
}, [props.breakpoints]);
|
|
32241
32821
|
hooks.useUpdateEffect(function () {
|
|
32242
32822
|
if (props.visible && !maskVisibleState) {
|
|
32243
32823
|
setMaskVisibleState(true);
|
|
@@ -32259,9 +32839,10 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
32259
32839
|
}, [maskVisibleState]);
|
|
32260
32840
|
hooks.useUpdateEffect(function () {
|
|
32261
32841
|
updateGlobalDialogsRegistry(true);
|
|
32262
|
-
}, [shouldBlockScroll]);
|
|
32842
|
+
}, [shouldBlockScroll, visibleState]);
|
|
32263
32843
|
hooks.useUnmountEffect(function () {
|
|
32264
32844
|
disableDocumentSettings();
|
|
32845
|
+
updateGlobalDialogsRegistry(false);
|
|
32265
32846
|
utils.DomHandler.removeInlineStyle(styleElement.current);
|
|
32266
32847
|
utils.ZIndexUtils.clear(maskRef.current);
|
|
32267
32848
|
});
|
|
@@ -32388,11 +32969,41 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
32388
32969
|
}
|
|
32389
32970
|
return null;
|
|
32390
32971
|
};
|
|
32391
|
-
var
|
|
32972
|
+
var createTemplateElement = function createTemplateElement(_ref) {
|
|
32973
|
+
var _props$children;
|
|
32974
|
+
var maskProps = _ref.maskProps,
|
|
32975
|
+
rootProps = _ref.rootProps,
|
|
32976
|
+
transitionProps = _ref.transitionProps;
|
|
32977
|
+
var messageProps = {
|
|
32978
|
+
header: props.header,
|
|
32979
|
+
content: props.message,
|
|
32980
|
+
message: props === null || props === void 0 || (_props$children = props.children) === null || _props$children === void 0 || (_props$children = _props$children[1]) === null || _props$children === void 0 || (_props$children = _props$children.props) === null || _props$children === void 0 ? void 0 : _props$children.children
|
|
32981
|
+
};
|
|
32982
|
+
var templateElementProps = {
|
|
32983
|
+
headerRef: headerRef,
|
|
32984
|
+
contentRef: contentRef,
|
|
32985
|
+
footerRef: footerRef,
|
|
32986
|
+
closeRef: closeRef,
|
|
32987
|
+
hide: onClose,
|
|
32988
|
+
message: messageProps
|
|
32989
|
+
};
|
|
32990
|
+
return /*#__PURE__*/React__namespace.createElement("div", maskProps, /*#__PURE__*/React__namespace.createElement(csstransition.CSSTransition, _extends({
|
|
32991
|
+
nodeRef: dialogRef
|
|
32992
|
+
}, transitionProps), /*#__PURE__*/React__namespace.createElement("div", rootProps, utils.ObjectUtils.getJSXElement(inProps.content, templateElementProps))));
|
|
32993
|
+
};
|
|
32994
|
+
var createElement = function createElement(_ref2) {
|
|
32995
|
+
var maskProps = _ref2.maskProps,
|
|
32996
|
+
rootProps = _ref2.rootProps,
|
|
32997
|
+
transitionProps = _ref2.transitionProps;
|
|
32392
32998
|
var header = createHeader();
|
|
32393
32999
|
var content = createContent();
|
|
32394
33000
|
var footer = createFooter();
|
|
32395
33001
|
var resizer = createResizer();
|
|
33002
|
+
return /*#__PURE__*/React__namespace.createElement("div", maskProps, /*#__PURE__*/React__namespace.createElement(csstransition.CSSTransition, _extends({
|
|
33003
|
+
nodeRef: dialogRef
|
|
33004
|
+
}, transitionProps), /*#__PURE__*/React__namespace.createElement("div", rootProps, header, content, footer, resizer)));
|
|
33005
|
+
};
|
|
33006
|
+
var createDialog = function createDialog() {
|
|
32396
33007
|
var headerId = idState + '_header';
|
|
32397
33008
|
var contentId = idState + '_content';
|
|
32398
33009
|
var transitionTimeout = {
|
|
@@ -32432,17 +33043,29 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
32432
33043
|
onExiting: onExiting,
|
|
32433
33044
|
onExited: onExited
|
|
32434
33045
|
}, ptm('transition'));
|
|
32435
|
-
|
|
32436
|
-
|
|
32437
|
-
|
|
32438
|
-
|
|
32439
|
-
|
|
32440
|
-
|
|
32441
|
-
|
|
32442
|
-
|
|
32443
|
-
|
|
32444
|
-
|
|
32445
|
-
|
|
33046
|
+
if (inProps !== null && inProps !== void 0 && inProps.content) {
|
|
33047
|
+
var templateElement = createTemplateElement({
|
|
33048
|
+
maskProps: maskProps,
|
|
33049
|
+
rootProps: rootProps,
|
|
33050
|
+
transitionProps: transitionProps
|
|
33051
|
+
});
|
|
33052
|
+
return /*#__PURE__*/React__namespace.createElement(portal.Portal, {
|
|
33053
|
+
element: templateElement,
|
|
33054
|
+
appendTo: props.appendTo,
|
|
33055
|
+
visible: true
|
|
33056
|
+
});
|
|
33057
|
+
} else {
|
|
33058
|
+
var element = createElement({
|
|
33059
|
+
maskProps: maskProps,
|
|
33060
|
+
rootProps: rootProps,
|
|
33061
|
+
transitionProps: transitionProps
|
|
33062
|
+
});
|
|
33063
|
+
return /*#__PURE__*/React__namespace.createElement(portal.Portal, {
|
|
33064
|
+
element: element,
|
|
33065
|
+
appendTo: props.appendTo,
|
|
33066
|
+
visible: true
|
|
33067
|
+
});
|
|
33068
|
+
}
|
|
32446
33069
|
};
|
|
32447
33070
|
return maskVisibleState && createDialog();
|
|
32448
33071
|
});
|
|
@@ -32454,7 +33077,7 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
32454
33077
|
|
|
32455
33078
|
return exports;
|
|
32456
33079
|
|
|
32457
|
-
})({}, React, primereact.
|
|
33080
|
+
})({}, React, primereact.api, primereact.componentbase, primereact.csstransition, primereact.hooks, primereact.icons.times, primereact.icons.windowmaximize, primereact.icons.windowminimize, primereact.portal, primereact.ripple, primereact.utils);
|
|
32458
33081
|
|
|
32459
33082
|
this.primereact = this.primereact || {};
|
|
32460
33083
|
this.primereact.paginator = (function (exports, React, api, componentbase, hooks, utils, angledoubleleft, ripple, inputnumber, angledoubleright, angleright, angleleft, dropdown) {
|
|
@@ -33610,7 +34233,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
33610
34233
|
});
|
|
33611
34234
|
}
|
|
33612
34235
|
};
|
|
33613
|
-
var styles = "\n@layer primereact {\n .p-tree-container {\n margin: 0;\n padding: 0;\n list-style-type: none;\n overflow: auto;\n }\n
|
|
34236
|
+
var styles = "\n@layer primereact {\n .p-tree-container {\n margin: 0;\n padding: 0;\n list-style-type: none;\n overflow: auto;\n }\n\n .p-treenode-children {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n\n .p-treenode-selectable {\n cursor: pointer;\n user-select: none;\n }\n\n .p-tree-toggler {\n cursor: pointer;\n user-select: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n overflow: hidden;\n position: relative;\n }\n\n .p-treenode-leaf > .p-treenode-content .p-tree-toggler {\n visibility: hidden;\n }\n\n .p-treenode-content {\n display: flex;\n align-items: center;\n }\n\n .p-tree-filter {\n width: 100%;\n }\n\n .p-tree-filter-container {\n position: relative;\n display: block;\n width: 100%;\n }\n\n .p-tree-filter-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n }\n\n .p-tree-loading {\n position: relative;\n min-height: 4rem;\n }\n\n .p-tree .p-tree-loading-overlay {\n position: absolute;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n}\n";
|
|
33614
34237
|
var TreeBase = componentbase.ComponentBase.extend({
|
|
33615
34238
|
defaultProps: {
|
|
33616
34239
|
__TYPE: 'Tree',
|
|
@@ -33625,6 +34248,8 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
33625
34248
|
contextMenuSelectionKey: null,
|
|
33626
34249
|
onContextMenuSelectionChange: null,
|
|
33627
34250
|
expandedKeys: null,
|
|
34251
|
+
ariaLabel: null,
|
|
34252
|
+
ariaLabelledBy: null,
|
|
33628
34253
|
style: null,
|
|
33629
34254
|
className: null,
|
|
33630
34255
|
contentStyle: null,
|
|
@@ -33648,6 +34273,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
33648
34273
|
filterPlaceholder: null,
|
|
33649
34274
|
filterLocale: undefined,
|
|
33650
34275
|
filterTemplate: null,
|
|
34276
|
+
level: 0,
|
|
33651
34277
|
nodeTemplate: null,
|
|
33652
34278
|
togglerTemplate: null,
|
|
33653
34279
|
onSelect: null,
|
|
@@ -33675,8 +34301,10 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
33675
34301
|
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; }
|
|
33676
34302
|
var UITreeNode = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
33677
34303
|
var contentRef = React__namespace.useRef(null);
|
|
34304
|
+
var elementRef = React__namespace.useRef(null);
|
|
33678
34305
|
var nodeTouched = React__namespace.useRef(false);
|
|
33679
34306
|
var isLeaf = props.isNodeLeaf(props.node);
|
|
34307
|
+
var label = props.node.label;
|
|
33680
34308
|
var expanded = (props.expandedKeys ? props.expandedKeys[props.node.key] !== undefined : false) || props.node.expanded;
|
|
33681
34309
|
var ptm = props.ptm,
|
|
33682
34310
|
cx = props.cx;
|
|
@@ -33692,11 +34320,13 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
33692
34320
|
});
|
|
33693
34321
|
};
|
|
33694
34322
|
var expand = function expand(event) {
|
|
34323
|
+
var navigateFocusToChild = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
33695
34324
|
var expandedKeys = props.expandedKeys ? _objectSpread$1({}, props.expandedKeys) : {};
|
|
33696
34325
|
expandedKeys[props.node.key] = true;
|
|
33697
34326
|
props.onToggle({
|
|
33698
34327
|
originalEvent: event,
|
|
33699
|
-
value: expandedKeys
|
|
34328
|
+
value: expandedKeys,
|
|
34329
|
+
navigateFocusToChild: navigateFocusToChild
|
|
33700
34330
|
});
|
|
33701
34331
|
invokeToggleEvents(event, true);
|
|
33702
34332
|
};
|
|
@@ -33713,7 +34343,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
33713
34343
|
if (props.disabled) {
|
|
33714
34344
|
return;
|
|
33715
34345
|
}
|
|
33716
|
-
expanded ? collapse(event) : expand(event);
|
|
34346
|
+
expanded ? collapse(event) : expand(event, false);
|
|
33717
34347
|
event.preventDefault();
|
|
33718
34348
|
event.stopPropagation();
|
|
33719
34349
|
};
|
|
@@ -33734,72 +34364,6 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
33734
34364
|
}
|
|
33735
34365
|
}
|
|
33736
34366
|
};
|
|
33737
|
-
var onNodeKeyDown = function onNodeKeyDown(event) {
|
|
33738
|
-
if (props.disabled) {
|
|
33739
|
-
return;
|
|
33740
|
-
}
|
|
33741
|
-
var nodeElement = event.target.parentElement;
|
|
33742
|
-
if (!utils.DomHandler.hasClass(nodeElement, 'p-treenode')) {
|
|
33743
|
-
return;
|
|
33744
|
-
}
|
|
33745
|
-
switch (event.which) {
|
|
33746
|
-
//down arrow
|
|
33747
|
-
case 40:
|
|
33748
|
-
var listElement = nodeElement.children[1];
|
|
33749
|
-
if (listElement) {
|
|
33750
|
-
focusNode(listElement.children[0]);
|
|
33751
|
-
} else {
|
|
33752
|
-
var nextNodeElement = nodeElement.nextElementSibling;
|
|
33753
|
-
while (nextNodeElement) {
|
|
33754
|
-
if (!utils.DomHandler.hasClass(nextNodeElement, 'p-treenode-droppoint')) {
|
|
33755
|
-
break;
|
|
33756
|
-
}
|
|
33757
|
-
nextNodeElement = nextNodeElement.nextElementSibling;
|
|
33758
|
-
}
|
|
33759
|
-
if (nextNodeElement) {
|
|
33760
|
-
focusNode(nextNodeElement);
|
|
33761
|
-
} else {
|
|
33762
|
-
var nextSiblingAncestor = findNextSiblingOfAncestor(nodeElement);
|
|
33763
|
-
nextSiblingAncestor && focusNode(nextSiblingAncestor);
|
|
33764
|
-
}
|
|
33765
|
-
}
|
|
33766
|
-
event.preventDefault();
|
|
33767
|
-
break;
|
|
33768
|
-
|
|
33769
|
-
//up arrow
|
|
33770
|
-
case 38:
|
|
33771
|
-
if (nodeElement.previousElementSibling) {
|
|
33772
|
-
focusNode(findLastVisibleDescendant(nodeElement.previousElementSibling));
|
|
33773
|
-
} else {
|
|
33774
|
-
var parentNodeElement = getParentNodeElement(nodeElement);
|
|
33775
|
-
parentNodeElement && focusNode(parentNodeElement);
|
|
33776
|
-
}
|
|
33777
|
-
event.preventDefault();
|
|
33778
|
-
break;
|
|
33779
|
-
|
|
33780
|
-
//right arrow
|
|
33781
|
-
case 39:
|
|
33782
|
-
if (!expanded) {
|
|
33783
|
-
expand(event);
|
|
33784
|
-
}
|
|
33785
|
-
event.preventDefault();
|
|
33786
|
-
break;
|
|
33787
|
-
|
|
33788
|
-
//left arrow
|
|
33789
|
-
case 37:
|
|
33790
|
-
if (expanded) {
|
|
33791
|
-
collapse(event);
|
|
33792
|
-
}
|
|
33793
|
-
event.preventDefault();
|
|
33794
|
-
break;
|
|
33795
|
-
|
|
33796
|
-
//enter
|
|
33797
|
-
case 13:
|
|
33798
|
-
onClick(event);
|
|
33799
|
-
event.preventDefault();
|
|
33800
|
-
break;
|
|
33801
|
-
}
|
|
33802
|
-
};
|
|
33803
34367
|
var findNextSiblingOfAncestor = function findNextSiblingOfAncestor(nodeElement) {
|
|
33804
34368
|
var parentNodeElement = getParentNodeElement(nodeElement);
|
|
33805
34369
|
return parentNodeElement ? parentNodeElement.nextElementSibling || findNextSiblingOfAncestor(parentNodeElement) : null;
|
|
@@ -33818,7 +34382,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
33818
34382
|
return utils.DomHandler.hasClass(parentNodeElement, 'p-treenode') ? parentNodeElement : null;
|
|
33819
34383
|
};
|
|
33820
34384
|
var focusNode = function focusNode(element) {
|
|
33821
|
-
element && element.
|
|
34385
|
+
element && element.focus();
|
|
33822
34386
|
};
|
|
33823
34387
|
var onClick = function onClick(event) {
|
|
33824
34388
|
if (props.onClick) {
|
|
@@ -33978,6 +34542,131 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
33978
34542
|
});
|
|
33979
34543
|
}
|
|
33980
34544
|
};
|
|
34545
|
+
var onKeyDown = function onKeyDown(event) {
|
|
34546
|
+
if (!isSameNode(event)) return;
|
|
34547
|
+
switch (event.code) {
|
|
34548
|
+
case 'Tab':
|
|
34549
|
+
onTabKey();
|
|
34550
|
+
break;
|
|
34551
|
+
case 'ArrowDown':
|
|
34552
|
+
onArrowDown(event);
|
|
34553
|
+
break;
|
|
34554
|
+
case 'ArrowUp':
|
|
34555
|
+
onArrowUp(event);
|
|
34556
|
+
break;
|
|
34557
|
+
case 'ArrowRight':
|
|
34558
|
+
onArrowRight(event);
|
|
34559
|
+
break;
|
|
34560
|
+
case 'ArrowLeft':
|
|
34561
|
+
onArrowLeft(event);
|
|
34562
|
+
break;
|
|
34563
|
+
case 'Enter':
|
|
34564
|
+
case 'NumpadEnter':
|
|
34565
|
+
case 'Space':
|
|
34566
|
+
onEnterKey(event);
|
|
34567
|
+
break;
|
|
34568
|
+
}
|
|
34569
|
+
};
|
|
34570
|
+
var onArrowDown = function onArrowDown(event) {
|
|
34571
|
+
var nodeElement = event.target.getAttribute('data-pc-section') === 'toggler' ? event.target.closest('[role="treeitem"]') : event.target;
|
|
34572
|
+
var listElement = nodeElement.children[1];
|
|
34573
|
+
if (listElement) {
|
|
34574
|
+
focusRowChange(nodeElement, listElement.children[0]);
|
|
34575
|
+
} else {
|
|
34576
|
+
if (nodeElement.nextElementSibling) {
|
|
34577
|
+
focusRowChange(nodeElement, nodeElement.nextElementSibling);
|
|
34578
|
+
} else {
|
|
34579
|
+
var nextSiblingAncestor = findNextSiblingOfAncestor(nodeElement);
|
|
34580
|
+
if (nextSiblingAncestor) {
|
|
34581
|
+
focusRowChange(nodeElement, nextSiblingAncestor);
|
|
34582
|
+
}
|
|
34583
|
+
}
|
|
34584
|
+
}
|
|
34585
|
+
event.preventDefault();
|
|
34586
|
+
};
|
|
34587
|
+
var onArrowUp = function onArrowUp(event) {
|
|
34588
|
+
var nodeElement = event.target;
|
|
34589
|
+
if (nodeElement.previousElementSibling) {
|
|
34590
|
+
focusRowChange(nodeElement, nodeElement.previousElementSibling, findLastVisibleDescendant(nodeElement.previousElementSibling));
|
|
34591
|
+
} else {
|
|
34592
|
+
var parentNodeElement = getParentNodeElement(nodeElement);
|
|
34593
|
+
if (parentNodeElement) {
|
|
34594
|
+
focusRowChange(nodeElement, parentNodeElement);
|
|
34595
|
+
}
|
|
34596
|
+
}
|
|
34597
|
+
event.preventDefault();
|
|
34598
|
+
};
|
|
34599
|
+
var onArrowRight = function onArrowRight(event) {
|
|
34600
|
+
if (isLeaf || expanded) return;
|
|
34601
|
+
event.currentTarget.tabIndex = -1;
|
|
34602
|
+
expand(event, true);
|
|
34603
|
+
};
|
|
34604
|
+
var onArrowLeft = function onArrowLeft(event) {
|
|
34605
|
+
var togglerElement = utils.DomHandler.findSingle(event.currentTarget, '[data-pc-section="toggler"]');
|
|
34606
|
+
if (props.level === 0 && !expanded) {
|
|
34607
|
+
return false;
|
|
34608
|
+
}
|
|
34609
|
+
if (expanded && !isLeaf) {
|
|
34610
|
+
togglerElement.click();
|
|
34611
|
+
return false;
|
|
34612
|
+
}
|
|
34613
|
+
var target = findBeforeClickableNode(event.currentTarget);
|
|
34614
|
+
if (target) {
|
|
34615
|
+
focusRowChange(event.currentTarget, target);
|
|
34616
|
+
}
|
|
34617
|
+
};
|
|
34618
|
+
var onEnterKey = function onEnterKey(event) {
|
|
34619
|
+
setTabIndexForSelectionMode(event, nodeTouched.current);
|
|
34620
|
+
onClick(event);
|
|
34621
|
+
event.preventDefault();
|
|
34622
|
+
};
|
|
34623
|
+
var onTabKey = function onTabKey() {
|
|
34624
|
+
setAllNodesTabIndexes();
|
|
34625
|
+
};
|
|
34626
|
+
var setAllNodesTabIndexes = function setAllNodesTabIndexes() {
|
|
34627
|
+
var nodes = utils.DomHandler.find(contentRef.current.closest('[data-pc-section="container"]'), '[role="treeitem"]');
|
|
34628
|
+
var hasSelectedNode = _toConsumableArray(nodes).some(function (node) {
|
|
34629
|
+
return node.getAttribute('aria-selected') === 'true' || node.getAttribute('aria-checked') === 'true';
|
|
34630
|
+
});
|
|
34631
|
+
_toConsumableArray(nodes).forEach(function (node) {
|
|
34632
|
+
node.tabIndex = -1;
|
|
34633
|
+
});
|
|
34634
|
+
if (hasSelectedNode) {
|
|
34635
|
+
var selectedNodes = _toConsumableArray(nodes).filter(function (node) {
|
|
34636
|
+
return node.getAttribute('aria-selected') === 'true' || node.getAttribute('aria-checked') === 'true';
|
|
34637
|
+
});
|
|
34638
|
+
selectedNodes[0].tabIndex = 0;
|
|
34639
|
+
return;
|
|
34640
|
+
}
|
|
34641
|
+
_toConsumableArray(nodes)[0].tabIndex = 0;
|
|
34642
|
+
};
|
|
34643
|
+
var setTabIndexForSelectionMode = function setTabIndexForSelectionMode(event, nodeTouched) {
|
|
34644
|
+
if (props.selectionMode !== null) {
|
|
34645
|
+
var elements = _toConsumableArray(utils.DomHandler.find(elementRef.current.parentElement, '[role="treeitem"]'));
|
|
34646
|
+
event.currentTarget.tabIndex = nodeTouched === false ? -1 : 0;
|
|
34647
|
+
if (elements.every(function (element) {
|
|
34648
|
+
return element.tabIndex === -1;
|
|
34649
|
+
})) {
|
|
34650
|
+
elements[0].tabIndex = 0;
|
|
34651
|
+
}
|
|
34652
|
+
}
|
|
34653
|
+
};
|
|
34654
|
+
var focusRowChange = function focusRowChange(firstFocusableRow, currentFocusedRow, lastVisibleDescendant) {
|
|
34655
|
+
firstFocusableRow.tabIndex = '-1';
|
|
34656
|
+
currentFocusedRow.tabIndex = '0';
|
|
34657
|
+
focusNode(lastVisibleDescendant || currentFocusedRow);
|
|
34658
|
+
};
|
|
34659
|
+
var findBeforeClickableNode = function findBeforeClickableNode(node) {
|
|
34660
|
+
var parentListElement = node.closest('ul').closest('li');
|
|
34661
|
+
if (parentListElement) {
|
|
34662
|
+
var prevNodeButton = utils.DomHandler.findSingle(parentListElement, 'button');
|
|
34663
|
+
if (prevNodeButton && prevNodeButton.style.visibility !== 'hidden') {
|
|
34664
|
+
return parentListElement;
|
|
34665
|
+
}
|
|
34666
|
+
return findBeforeClickableNode(node.previousElementSibling);
|
|
34667
|
+
}
|
|
34668
|
+
return null;
|
|
34669
|
+
};
|
|
33981
34670
|
var propagateUp = function propagateUp(event) {
|
|
33982
34671
|
var check = event.check;
|
|
33983
34672
|
var selectionKeys = event.selectionKeys;
|
|
@@ -34041,6 +34730,9 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34041
34730
|
var isChecked = function isChecked() {
|
|
34042
34731
|
return (props.selectionKeys ? props.selectionKeys[props.node.key] && props.selectionKeys[props.node.key].checked : false) || false;
|
|
34043
34732
|
};
|
|
34733
|
+
var isSameNode = function isSameNode(event) {
|
|
34734
|
+
return event.currentTarget && (event.currentTarget.isSameNode(event.target) || event.currentTarget.isSameNode(event.target.closest('[role="treeitem"]')));
|
|
34735
|
+
};
|
|
34044
34736
|
var isPartialChecked = function isPartialChecked() {
|
|
34045
34737
|
return props.selectionKeys ? props.selectionKeys[props.node.key] && props.selectionKeys[props.node.key].partialChecked : false;
|
|
34046
34738
|
};
|
|
@@ -34143,7 +34835,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34143
34835
|
var labelProps = utils.mergeProps({
|
|
34144
34836
|
className: cx('label')
|
|
34145
34837
|
}, getPTOptions('label'));
|
|
34146
|
-
var content = /*#__PURE__*/React__namespace.createElement("span", labelProps,
|
|
34838
|
+
var content = /*#__PURE__*/React__namespace.createElement("span", labelProps, label);
|
|
34147
34839
|
if (props.nodeTemplate) {
|
|
34148
34840
|
var defaultContentOptions = {
|
|
34149
34841
|
onTogglerClick: onTogglerClick,
|
|
@@ -34166,6 +34858,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34166
34858
|
var icon = checked ? props.checkboxIcon || /*#__PURE__*/React__namespace.createElement(check.CheckIcon, checkboxIconProps) : partialChecked ? props.checkboxIcon || /*#__PURE__*/React__namespace.createElement(minus.MinusIcon, checkboxIconProps) : null;
|
|
34167
34859
|
var checkboxIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$1({}, checkboxIconProps), props);
|
|
34168
34860
|
var checkboxContainerProps = utils.mergeProps({
|
|
34861
|
+
'aria-hidden': true,
|
|
34169
34862
|
className: cx('checkboxContainer')
|
|
34170
34863
|
}, getPTOptions('checkboxContainer'));
|
|
34171
34864
|
var checkboxProps = utils.mergeProps({
|
|
@@ -34174,8 +34867,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34174
34867
|
partialChecked: partialChecked,
|
|
34175
34868
|
nodeProps: props
|
|
34176
34869
|
}),
|
|
34177
|
-
role: 'checkbox'
|
|
34178
|
-
'aria-checked': checked
|
|
34870
|
+
role: 'checkbox'
|
|
34179
34871
|
}, getPTOptions('checkbox'));
|
|
34180
34872
|
return /*#__PURE__*/React__namespace.createElement("div", checkboxContainerProps, /*#__PURE__*/React__namespace.createElement("div", checkboxProps, checkboxIcon));
|
|
34181
34873
|
}
|
|
@@ -34192,7 +34884,6 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34192
34884
|
return null;
|
|
34193
34885
|
};
|
|
34194
34886
|
var createToggler = function createToggler() {
|
|
34195
|
-
var label = expanded ? api.ariaLabel('collapseLabel') : api.ariaLabel('expandLabel');
|
|
34196
34887
|
var togglerIconProps = utils.mergeProps({
|
|
34197
34888
|
className: cx('togglerIcon'),
|
|
34198
34889
|
'aria-hidden': true
|
|
@@ -34206,8 +34897,8 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34206
34897
|
type: 'button',
|
|
34207
34898
|
className: cx('toggler'),
|
|
34208
34899
|
tabIndex: -1,
|
|
34209
|
-
|
|
34210
|
-
|
|
34900
|
+
'aria-hidden': true,
|
|
34901
|
+
onClick: onTogglerClick
|
|
34211
34902
|
}, getPTOptions('toggler'));
|
|
34212
34903
|
var content = /*#__PURE__*/React__namespace.createElement("button", togglerProps, togglerIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null));
|
|
34213
34904
|
if (props.togglerTemplate) {
|
|
@@ -34264,8 +34955,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34264
34955
|
onDragEnter: onDragEnter,
|
|
34265
34956
|
onDragLeave: onDragLeave,
|
|
34266
34957
|
onDragStart: onDragStart,
|
|
34267
|
-
onDragEnd: onDragEnd
|
|
34268
|
-
onKeyDown: onNodeKeyDown
|
|
34958
|
+
onDragEnd: onDragEnd
|
|
34269
34959
|
}, getPTOptions('content'));
|
|
34270
34960
|
return /*#__PURE__*/React__namespace.createElement("div", contentProps, toggler, checkbox, icon, label);
|
|
34271
34961
|
};
|
|
@@ -34322,22 +35012,27 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34322
35012
|
return null;
|
|
34323
35013
|
};
|
|
34324
35014
|
var createNode = function createNode() {
|
|
34325
|
-
var tabIndex = props.disabled ?
|
|
35015
|
+
var tabIndex = props.disabled || props.index !== 0 ? -1 : 0;
|
|
34326
35016
|
var selected = isSelected();
|
|
34327
35017
|
var checked = isChecked();
|
|
34328
35018
|
var content = createContent();
|
|
34329
35019
|
var children = createChildren();
|
|
34330
|
-
var nodeProps = utils.mergeProps({
|
|
35020
|
+
var nodeProps = utils.mergeProps(_defineProperty(_defineProperty({
|
|
35021
|
+
ref: elementRef,
|
|
34331
35022
|
className: utils.classNames(props.node.className, cx('node', {
|
|
34332
35023
|
isLeaf: isLeaf
|
|
34333
35024
|
})),
|
|
34334
35025
|
style: props.node.style,
|
|
34335
35026
|
tabIndex: tabIndex,
|
|
34336
35027
|
role: 'treeitem',
|
|
34337
|
-
'aria-
|
|
35028
|
+
'aria-label': label,
|
|
35029
|
+
'aria-level': props.level,
|
|
34338
35030
|
'aria-expanded': expanded,
|
|
34339
|
-
'aria-
|
|
34340
|
-
|
|
35031
|
+
'aria-checked': checked,
|
|
35032
|
+
'aria-setsize': props.node.children ? props.node.children.length : 0,
|
|
35033
|
+
'aria-posinset': props.index + 1,
|
|
35034
|
+
onKeyDown: onKeyDown
|
|
35035
|
+
}, "aria-expanded", expanded), 'aria-selected', checked || selected), getPTOptions('node'));
|
|
34341
35036
|
return /*#__PURE__*/React__namespace.createElement("li", nodeProps, content, children);
|
|
34342
35037
|
};
|
|
34343
35038
|
var node = createNode();
|
|
@@ -34350,6 +35045,19 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34350
35045
|
});
|
|
34351
35046
|
UITreeNode.displayName = 'UITreeNode';
|
|
34352
35047
|
|
|
35048
|
+
/* eslint-disable */
|
|
35049
|
+
var useUpdateEffect = function useUpdateEffect(fn, deps) {
|
|
35050
|
+
var mounted = React__namespace.useRef(false);
|
|
35051
|
+
return React__namespace.useEffect(function () {
|
|
35052
|
+
if (!mounted.current) {
|
|
35053
|
+
mounted.current = true;
|
|
35054
|
+
return;
|
|
35055
|
+
}
|
|
35056
|
+
return fn && fn();
|
|
35057
|
+
}, deps);
|
|
35058
|
+
};
|
|
35059
|
+
/* eslint-enable */
|
|
35060
|
+
|
|
34353
35061
|
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; }
|
|
34354
35062
|
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; }
|
|
34355
35063
|
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; } } }; }
|
|
@@ -34372,6 +35080,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34372
35080
|
var filterChanged = React__namespace.useRef(false);
|
|
34373
35081
|
var filteredValue = props.onFilterValueChange ? props.filterValue : filterValueState;
|
|
34374
35082
|
var expandedKeys = props.onToggle ? props.expandedKeys : expandedKeysState;
|
|
35083
|
+
var childFocusEvent = React__namespace.useRef(null);
|
|
34375
35084
|
var _TreeBase$setMetaData = TreeBase.setMetaData({
|
|
34376
35085
|
props: props,
|
|
34377
35086
|
state: {
|
|
@@ -34397,12 +35106,33 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34397
35106
|
return props.filter && filteredNodes.current ? filteredNodes.current : props.value;
|
|
34398
35107
|
};
|
|
34399
35108
|
var onToggle = function onToggle(event) {
|
|
35109
|
+
var originalEvent = event.originalEvent,
|
|
35110
|
+
value = event.value,
|
|
35111
|
+
navigateFocusToChild = event.navigateFocusToChild;
|
|
34400
35112
|
if (props.onToggle) {
|
|
34401
|
-
props.onToggle(
|
|
35113
|
+
props.onToggle({
|
|
35114
|
+
originalEvent: originalEvent,
|
|
35115
|
+
value: value
|
|
35116
|
+
});
|
|
34402
35117
|
} else {
|
|
35118
|
+
if (navigateFocusToChild) {
|
|
35119
|
+
childFocusEvent.current = originalEvent;
|
|
35120
|
+
}
|
|
34403
35121
|
setExpandedKeysState(event.value);
|
|
34404
35122
|
}
|
|
34405
35123
|
};
|
|
35124
|
+
useUpdateEffect(function () {
|
|
35125
|
+
if (childFocusEvent.current) {
|
|
35126
|
+
var event = childFocusEvent.current;
|
|
35127
|
+
var nodeElement = event.target.getAttribute('data-pc-section') === 'toggler' ? event.target.closest('[role="treeitem"]') : event.target;
|
|
35128
|
+
var listElement = nodeElement.children[1];
|
|
35129
|
+
var childElement = listElement.children[0];
|
|
35130
|
+
nodeElement.tabIndex = '-1';
|
|
35131
|
+
childElement.tabIndex = '0';
|
|
35132
|
+
childElement.focus();
|
|
35133
|
+
childFocusEvent.current = null;
|
|
35134
|
+
}
|
|
35135
|
+
}, [expandedKeys]);
|
|
34406
35136
|
var onDragStart = function onDragStart(event) {
|
|
34407
35137
|
dragState.current = {
|
|
34408
35138
|
path: event.path,
|
|
@@ -34675,6 +35405,11 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34675
35405
|
hostName: "Tree",
|
|
34676
35406
|
key: node.key || node.label,
|
|
34677
35407
|
node: node,
|
|
35408
|
+
level: props.level + 1,
|
|
35409
|
+
originalOptions: props.value,
|
|
35410
|
+
index: index,
|
|
35411
|
+
last: last,
|
|
35412
|
+
path: String(index),
|
|
34678
35413
|
checkboxIcon: props.checkboxIcon,
|
|
34679
35414
|
collapseIcon: props.collapseIcon,
|
|
34680
35415
|
contextMenuSelectionKey: props.contextMenuSelectionKey,
|
|
@@ -34683,9 +35418,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34683
35418
|
dragdropScope: props.dragdropScope,
|
|
34684
35419
|
expandIcon: props.expandIcon,
|
|
34685
35420
|
expandedKeys: expandedKeys,
|
|
34686
|
-
index: index,
|
|
34687
35421
|
isNodeLeaf: isNodeLeaf,
|
|
34688
|
-
last: last,
|
|
34689
35422
|
metaKeySelection: props.metaKeySelection,
|
|
34690
35423
|
nodeTemplate: props.nodeTemplate,
|
|
34691
35424
|
onClick: props.onNodeClick,
|
|
@@ -34702,8 +35435,6 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34702
35435
|
onSelectionChange: props.onSelectionChange,
|
|
34703
35436
|
onToggle: onToggle,
|
|
34704
35437
|
onUnselect: props.onUnselect,
|
|
34705
|
-
originalOptions: props.value,
|
|
34706
|
-
path: String(index),
|
|
34707
35438
|
propagateSelectionDown: props.propagateSelectionDown,
|
|
34708
35439
|
propagateSelectionUp: props.propagateSelectionUp,
|
|
34709
35440
|
ptm: ptm,
|
|
@@ -34728,6 +35459,8 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34728
35459
|
var containerProps = utils.mergeProps(_objectSpread({
|
|
34729
35460
|
className: utils.classNames(props.contentClassName, cx('container')),
|
|
34730
35461
|
role: 'tree',
|
|
35462
|
+
'aria-label': props.ariaLabel,
|
|
35463
|
+
'aria-labelledby': props.ariaLabelledBy,
|
|
34731
35464
|
style: props.contentStyle
|
|
34732
35465
|
}, ariaProps), ptm('container'));
|
|
34733
35466
|
return /*#__PURE__*/React__namespace.createElement("ul", containerProps, rootNodes);
|