primereact 10.5.0 → 10.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/api.cjs.js +94 -92
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +231 -13
- package/api/api.esm.js +94 -92
- package/api/api.esm.min.js +1 -1
- package/api/api.js +94 -92
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +91 -48
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +6 -1
- package/autocomplete/autocomplete.esm.js +91 -48
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +91 -48
- package/autocomplete/autocomplete.min.js +1 -1
- package/blockui/blockui.cjs.js +13 -13
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +13 -13
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +13 -13
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +4 -3
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +4 -3
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +4 -3
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +2 -3
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +2 -3
- package/button/button.esm.min.js +1 -1
- package/button/button.js +2 -3
- package/button/button.min.js +1 -1
- package/calendar/calendar.cjs.js +30 -11
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +9 -0
- package/calendar/calendar.esm.js +30 -11
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +30 -11
- package/calendar/calendar.min.js +1 -1
- package/carousel/carousel.cjs.js +17 -15
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +4 -2
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +17 -15
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +28 -14
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +5 -0
- package/cascadeselect/cascadeselect.esm.js +28 -14
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +28 -14
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/checkbox/checkbox.cjs.js +72 -156
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.d.ts +10 -34
- package/checkbox/checkbox.esm.js +72 -156
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +72 -156
- package/checkbox/checkbox.min.js +1 -1
- package/chips/chips.cjs.js +25 -12
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.d.ts +6 -1
- package/chips/chips.esm.js +25 -12
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +25 -12
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +5 -5
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +4 -4
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +5 -5
- package/colorpicker/colorpicker.min.js +1 -1
- package/componentbase/componentbase.cjs.js +4 -6
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.js +5 -7
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.js +4 -6
- package/componentbase/componentbase.min.js +1 -1
- package/confirmdialog/confirmdialog.cjs.js +7 -2
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +7 -2
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +8 -3
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +5 -5
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +5 -5
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +5 -5
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +4 -3
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +4 -3
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +4 -3
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +2773 -20019
- package/core/core.min.js +41 -41
- package/datatable/datatable.cjs.js +134 -115
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +11 -3
- package/datatable/datatable.esm.js +134 -115
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +134 -115
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +16 -13
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +4 -1
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +17 -15
- package/dataview/dataview.min.js +1 -1
- package/dialog/dialog.cjs.js +6 -6
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +6 -6
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +6 -6
- package/dialog/dialog.min.js +1 -1
- package/dropdown/dropdown.cjs.js +123 -53
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +41 -0
- package/dropdown/dropdown.esm.js +123 -53
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +123 -55
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +125 -54
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +125 -54
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +125 -54
- package/editor/editor.min.js +1 -1
- package/galleria/galleria.cjs.js +22 -19
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +4 -1
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +23 -20
- package/galleria/galleria.min.js +1 -1
- package/hooks/hooks.cjs.js +115 -72
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.esm.js +116 -73
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +115 -72
- package/hooks/hooks.min.js +1 -1
- package/icons/arrowdown/index.cjs.js +2 -642
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +2 -642
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +2 -642
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowup/index.cjs.js +2 -642
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +2 -642
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +2 -642
- package/icons/arrowup/index.min.js +1 -1
- package/icons/ban/index.cjs.js +2 -642
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +2 -642
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +2 -642
- package/icons/ban/index.min.js +1 -1
- package/icons/blank/index.cjs.js +62 -0
- package/icons/blank/index.cjs.min.js +1 -0
- package/icons/blank/index.d.ts +19 -0
- package/icons/blank/index.esm.js +38 -0
- package/icons/blank/index.esm.min.js +1 -0
- package/icons/blank/index.js +65 -0
- package/icons/blank/index.min.js +1 -0
- package/icons/blank/package.json +7 -0
- package/icons/download/index.cjs.js +2 -642
- package/icons/download/index.cjs.min.js +1 -1
- package/icons/download/index.esm.js +2 -642
- package/icons/download/index.esm.min.js +1 -1
- package/icons/download/index.js +2 -642
- package/icons/download/index.min.js +1 -1
- package/icons/exclamationtriangle/index.cjs.js +2 -642
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +2 -642
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +2 -642
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/eyeslash/index.cjs.js +2 -642
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +2 -642
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +2 -642
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/filter/index.cjs.js +2 -642
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +2 -642
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +2 -642
- package/icons/filter/index.min.js +1 -1
- package/icons/filterslash/index.cjs.js +2 -642
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +2 -642
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +2 -642
- package/icons/filterslash/index.min.js +1 -1
- package/icons/infocircle/index.cjs.js +2 -642
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +2 -642
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +2 -642
- package/icons/infocircle/index.min.js +1 -1
- package/icons/pencil/index.cjs.js +2 -642
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +2 -642
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +2 -642
- package/icons/pencil/index.min.js +1 -1
- package/icons/plus/index.cjs.js +2 -642
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +2 -642
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +2 -642
- package/icons/plus/index.min.js +1 -1
- package/icons/refresh/index.cjs.js +2 -642
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +2 -642
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +2 -642
- package/icons/refresh/index.min.js +1 -1
- package/icons/search/index.cjs.js +2 -642
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +2 -642
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +2 -642
- package/icons/search/index.min.js +1 -1
- package/icons/searchminus/index.cjs.js +2 -642
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +2 -642
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +2 -642
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchplus/index.cjs.js +2 -642
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +2 -642
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +2 -642
- package/icons/searchplus/index.min.js +1 -1
- package/icons/sortalt/index.cjs.js +2 -642
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +2 -642
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +2 -642
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortamountdown/index.cjs.js +2 -642
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +2 -642
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +2 -642
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountupalt/index.cjs.js +2 -642
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +2 -642
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +2 -642
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/spinner/index.cjs.js +2 -642
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +2 -642
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +2 -642
- package/icons/spinner/index.min.js +1 -1
- package/icons/star/index.cjs.js +2 -642
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +2 -642
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +2 -642
- package/icons/star/index.min.js +1 -1
- package/icons/starfill/index.cjs.js +2 -642
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +2 -642
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +2 -642
- package/icons/starfill/index.min.js +1 -1
- package/icons/thlarge/index.cjs.js +2 -642
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +2 -642
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +2 -642
- package/icons/thlarge/index.min.js +1 -1
- package/icons/timescircle/index.cjs.js +2 -642
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +2 -642
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +2 -642
- package/icons/timescircle/index.min.js +1 -1
- package/icons/trash/index.cjs.js +2 -642
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +2 -642
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +2 -642
- package/icons/trash/index.min.js +1 -1
- package/icons/undo/index.cjs.js +2 -642
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +2 -642
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +2 -642
- package/icons/undo/index.min.js +1 -1
- package/icons/upload/index.cjs.js +2 -642
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +2 -642
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +2 -642
- package/icons/upload/index.min.js +1 -1
- package/icons/windowmaximize/index.cjs.js +2 -642
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +2 -642
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +2 -642
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowminimize/index.cjs.js +2 -642
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +2 -642
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +2 -642
- package/icons/windowminimize/index.min.js +1 -1
- package/image/image.cjs.js +18 -575
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +20 -577
- package/image/image.esm.min.js +1 -1
- package/image/image.js +18 -575
- package/image/image.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +22 -39
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.d.ts +5 -5
- package/inputnumber/inputnumber.esm.js +22 -39
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +22 -39
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +20 -96
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.d.ts +9 -20
- package/inputswitch/inputswitch.esm.js +20 -96
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +20 -96
- 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.d.ts +5 -0
- 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/inputtextarea/inputtextarea.cjs.js +5 -4
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.d.ts +5 -0
- package/inputtextarea/inputtextarea.esm.js +5 -4
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +5 -4
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/listbox/listbox.cjs.js +17 -14
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.d.ts +15 -0
- package/listbox/listbox.esm.js +18 -15
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +17 -14
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +3 -3
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +3 -3
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +3 -3
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +5 -4
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +5 -4
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +5 -4
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +3 -2
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +3 -2
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +3 -2
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +18 -14
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +18 -14
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +18 -14
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +2 -8
- package/message/message.cjs.min.js +1 -1
- package/message/message.d.ts +1 -1
- package/message/message.esm.js +2 -8
- package/message/message.esm.min.js +1 -1
- package/message/message.js +2 -8
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +1 -1
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.d.ts +1 -1
- package/messages/messages.esm.js +1 -1
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +1 -1
- package/messages/messages.min.js +1 -1
- package/metergroup/metergroup.cjs.js +237 -0
- package/metergroup/metergroup.cjs.min.js +1 -0
- package/metergroup/metergroup.d.ts +183 -0
- package/metergroup/metergroup.esm.js +233 -0
- package/metergroup/metergroup.esm.min.js +1 -0
- package/metergroup/metergroup.js +236 -0
- package/metergroup/metergroup.min.js +1 -0
- package/multiselect/multiselect.cjs.js +157 -160
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +25 -1
- package/multiselect/multiselect.esm.js +157 -160
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +157 -160
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +3 -4
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +3 -4
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +3 -4
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +35 -11
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.d.ts +5 -0
- package/orderlist/orderlist.esm.js +35 -11
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +35 -11
- package/orderlist/orderlist.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +3 -2
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +3 -2
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +3 -2
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.js +125 -108
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.d.ts +88 -0
- package/paginator/paginator.esm.js +125 -108
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +125 -108
- package/paginator/paginator.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +19 -14
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.d.ts +18 -0
- package/panelmenu/panelmenu.esm.js +19 -14
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +19 -14
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/index.d.ts +12 -0
- package/passthrough/tailwind/index.cjs.js +279 -173
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +279 -173
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +279 -173
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.cjs.js +98 -57
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +5 -0
- package/password/password.esm.js +100 -59
- package/password/password.esm.min.js +1 -1
- package/password/password.js +98 -57
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +127 -102
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.d.ts +5 -0
- package/picklist/picklist.esm.js +127 -102
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +127 -102
- package/picklist/picklist.min.js +1 -1
- package/primereact.all.cjs.js +2075 -2180
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +2076 -2180
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +2075 -2180
- package/primereact.all.min.js +1 -1
- package/radiobutton/radiobutton.cjs.js +69 -146
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.d.ts +17 -35
- package/radiobutton/radiobutton.esm.js +70 -147
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +69 -146
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +2 -3
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +2 -3
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +2 -3
- package/rating/rating.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +344 -67
- package/resources/themes/arya-green/theme.css +344 -67
- package/resources/themes/arya-orange/theme.css +344 -67
- package/resources/themes/bootstrap4-dark-blue/theme.css +389 -64
- package/resources/themes/bootstrap4-light-blue/theme.css +389 -64
- package/resources/themes/fluent-light/theme.css +341 -64
- package/resources/themes/lara-dark-amber/theme.css +470 -67
- package/resources/themes/lara-dark-blue/theme.css +470 -67
- package/resources/themes/lara-dark-cyan/theme.css +470 -67
- package/resources/themes/lara-dark-green/theme.css +470 -67
- package/resources/themes/lara-dark-indigo/theme.css +470 -67
- package/resources/themes/lara-dark-pink/theme.css +470 -67
- package/resources/themes/lara-dark-teal/theme.css +470 -67
- package/resources/themes/lara-light-amber/theme.css +470 -67
- package/resources/themes/lara-light-blue/theme.css +470 -67
- package/resources/themes/lara-light-cyan/theme.css +470 -67
- package/resources/themes/lara-light-green/theme.css +470 -67
- package/resources/themes/lara-light-indigo/theme.css +470 -67
- package/resources/themes/lara-light-pink/theme.css +470 -67
- package/resources/themes/lara-light-teal/theme.css +470 -67
- package/resources/themes/luna-amber/theme.css +344 -67
- package/resources/themes/luna-blue/theme.css +344 -67
- package/resources/themes/luna-green/theme.css +344 -67
- package/resources/themes/luna-pink/theme.css +344 -67
- package/resources/themes/md-dark-deeppurple/theme.css +995 -289
- package/resources/themes/md-dark-indigo/theme.css +684 -232
- package/resources/themes/md-light-deeppurple/theme.css +868 -162
- package/resources/themes/md-light-indigo/theme.css +566 -101
- package/resources/themes/mdc-dark-deeppurple/theme.css +995 -289
- package/resources/themes/mdc-dark-indigo/theme.css +697 -232
- package/resources/themes/mdc-light-deeppurple/theme.css +868 -162
- package/resources/themes/mdc-light-indigo/theme.css +566 -101
- package/resources/themes/mira/theme.css +344 -67
- package/resources/themes/nano/theme.css +344 -67
- package/resources/themes/nova/theme.css +344 -67
- package/resources/themes/nova-accent/theme.css +344 -67
- package/resources/themes/nova-alt/theme.css +344 -67
- package/resources/themes/rhea/theme.css +343 -66
- package/resources/themes/saga-blue/theme.css +344 -67
- package/resources/themes/saga-green/theme.css +344 -67
- package/resources/themes/saga-orange/theme.css +344 -67
- package/resources/themes/soho-dark/theme.css +413 -88
- package/resources/themes/soho-light/theme.css +392 -67
- package/resources/themes/tailwind-light/theme.css +344 -67
- package/resources/themes/vela-blue/theme.css +344 -67
- package/resources/themes/vela-green/theme.css +344 -67
- package/resources/themes/vela-orange/theme.css +344 -67
- package/resources/themes/viva-dark/theme.css +392 -67
- package/resources/themes/viva-light/theme.css +392 -67
- package/selectbutton/selectbutton.cjs.js +15 -8
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.d.ts +5 -0
- package/selectbutton/selectbutton.esm.js +15 -8
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +16 -9
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/sidebar.cjs.js +4 -3
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +4 -4
- package/sidebar/sidebar.esm.js +4 -3
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +4 -3
- package/sidebar/sidebar.min.js +1 -1
- package/slidemenu/slidemenu.cjs.js +7 -5
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.esm.js +7 -5
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +7 -5
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.js +18 -2
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +18 -2
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +18 -2
- package/slider/slider.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +9 -12
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +2 -2
- package/splitbutton/splitbutton.esm.js +9 -12
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +9 -12
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +16 -21
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.d.ts +5 -5
- package/splitter/splitter.esm.js +16 -21
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +16 -21
- package/splitter/splitter.min.js +1 -1
- package/steps/steps.cjs.js +4 -3
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +4 -3
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +4 -3
- package/steps/steps.min.js +1 -1
- package/styleclass/styleclass.cjs.js +21 -1
- package/styleclass/styleclass.cjs.min.js +1 -1
- package/styleclass/styleclass.d.ts +10 -0
- package/styleclass/styleclass.esm.js +21 -1
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +22 -2
- package/styleclass/styleclass.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +5 -4
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +5 -4
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +5 -4
- package/tabmenu/tabmenu.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +6 -8
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +6 -8
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +6 -8
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/toast/toast.cjs.js +93 -92
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.d.ts +1 -1
- package/toast/toast.esm.js +93 -92
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +93 -92
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +56 -95
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.d.ts +24 -0
- package/togglebutton/togglebutton.esm.js +55 -94
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +56 -95
- package/togglebutton/togglebutton.min.js +1 -1
- package/tooltip/tooltip.d.ts +3 -3
- package/tooltip/tooltipoptions.d.ts +5 -0
- package/tree/tree.cjs.js +52 -39
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.d.ts +5 -0
- package/tree/tree.esm.js +52 -39
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +52 -39
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.cjs.js +5 -4
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +5 -0
- package/treeselect/treeselect.esm.js +5 -4
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +5 -4
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +18 -15
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +18 -15
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +18 -15
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +36 -94
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.d.ts +12 -13
- package/tristatecheckbox/tristatecheckbox.esm.js +37 -95
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +36 -94
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +64 -72
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +11 -2
- package/utils/utils.esm.js +65 -72
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +64 -72
- package/utils/utils.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +17 -15
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +14 -12
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +17 -15
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +519 -39
|
@@ -41,640 +41,8 @@ function _extends() {
|
|
|
41
41
|
return _extends.apply(this, arguments);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
function _arrayWithHoles(arr) {
|
|
45
|
-
if (Array.isArray(arr)) return arr;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function _iterableToArrayLimit(r, l) {
|
|
49
|
-
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
50
|
-
if (null != t) {
|
|
51
|
-
var e,
|
|
52
|
-
n,
|
|
53
|
-
i,
|
|
54
|
-
u,
|
|
55
|
-
a = [],
|
|
56
|
-
f = !0,
|
|
57
|
-
o = !1;
|
|
58
|
-
try {
|
|
59
|
-
if (i = (t = t.call(r)).next, 0 === l) {
|
|
60
|
-
if (Object(t) !== t) return;
|
|
61
|
-
f = !1;
|
|
62
|
-
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
63
|
-
} catch (r) {
|
|
64
|
-
o = !0, n = r;
|
|
65
|
-
} finally {
|
|
66
|
-
try {
|
|
67
|
-
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
68
|
-
} finally {
|
|
69
|
-
if (o) throw n;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
return a;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
function _arrayLikeToArray$1(arr, len) {
|
|
77
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
78
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
79
|
-
return arr2;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
function _unsupportedIterableToArray$1(o, minLen) {
|
|
83
|
-
if (!o) return;
|
|
84
|
-
if (typeof o === "string") return _arrayLikeToArray$1(o, minLen);
|
|
85
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
86
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
87
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
88
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
function _nonIterableRest() {
|
|
92
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function _slicedToArray(arr, i) {
|
|
96
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest();
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
function _typeof(o) {
|
|
100
|
-
"@babel/helpers - typeof";
|
|
101
|
-
|
|
102
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
103
|
-
return typeof o;
|
|
104
|
-
} : function (o) {
|
|
105
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
106
|
-
}, _typeof(o);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
function _arrayWithoutHoles(arr) {
|
|
110
|
-
if (Array.isArray(arr)) return _arrayLikeToArray$1(arr);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
function _iterableToArray(iter) {
|
|
114
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
function _nonIterableSpread() {
|
|
118
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
function _toConsumableArray(arr) {
|
|
122
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread();
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
function _classCallCheck(instance, Constructor) {
|
|
126
|
-
if (!(instance instanceof Constructor)) {
|
|
127
|
-
throw new TypeError("Cannot call a class as a function");
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
function _toPrimitive(input, hint) {
|
|
132
|
-
if (_typeof(input) !== "object" || input === null) return input;
|
|
133
|
-
var prim = input[Symbol.toPrimitive];
|
|
134
|
-
if (prim !== undefined) {
|
|
135
|
-
var res = prim.call(input, hint || "default");
|
|
136
|
-
if (_typeof(res) !== "object") return res;
|
|
137
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
138
|
-
}
|
|
139
|
-
return (hint === "string" ? String : Number)(input);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
function _toPropertyKey(arg) {
|
|
143
|
-
var key = _toPrimitive(arg, "string");
|
|
144
|
-
return _typeof(key) === "symbol" ? key : String(key);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
function _defineProperties(target, props) {
|
|
148
|
-
for (var i = 0; i < props.length; i++) {
|
|
149
|
-
var descriptor = props[i];
|
|
150
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
151
|
-
descriptor.configurable = true;
|
|
152
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
153
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
157
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
158
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
159
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
160
|
-
writable: false
|
|
161
|
-
});
|
|
162
|
-
return Constructor;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
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; } } }; }
|
|
166
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
167
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
168
|
-
var ObjectUtils = /*#__PURE__*/function () {
|
|
169
|
-
function ObjectUtils() {
|
|
170
|
-
_classCallCheck(this, ObjectUtils);
|
|
171
|
-
}
|
|
172
|
-
_createClass(ObjectUtils, null, [{
|
|
173
|
-
key: "equals",
|
|
174
|
-
value: function equals(obj1, obj2, field) {
|
|
175
|
-
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
176
|
-
return this.deepEquals(this.resolveFieldData(obj1, field), this.resolveFieldData(obj2, field));
|
|
177
|
-
}
|
|
178
|
-
return this.deepEquals(obj1, obj2);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
183
|
-
* @param {*} a the first JSON object
|
|
184
|
-
* @param {*} b the second JSON object
|
|
185
|
-
* @returns true if equals, false it not
|
|
186
|
-
*/
|
|
187
|
-
}, {
|
|
188
|
-
key: "deepEquals",
|
|
189
|
-
value: function deepEquals(a, b) {
|
|
190
|
-
if (a === b) return true;
|
|
191
|
-
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
192
|
-
var arrA = Array.isArray(a),
|
|
193
|
-
arrB = Array.isArray(b),
|
|
194
|
-
i,
|
|
195
|
-
length,
|
|
196
|
-
key;
|
|
197
|
-
if (arrA && arrB) {
|
|
198
|
-
length = a.length;
|
|
199
|
-
if (length !== b.length) return false;
|
|
200
|
-
for (i = length; i-- !== 0;) if (!this.deepEquals(a[i], b[i])) return false;
|
|
201
|
-
return true;
|
|
202
|
-
}
|
|
203
|
-
if (arrA !== arrB) return false;
|
|
204
|
-
var dateA = a instanceof Date,
|
|
205
|
-
dateB = b instanceof Date;
|
|
206
|
-
if (dateA !== dateB) return false;
|
|
207
|
-
if (dateA && dateB) return a.getTime() === b.getTime();
|
|
208
|
-
var regexpA = a instanceof RegExp,
|
|
209
|
-
regexpB = b instanceof RegExp;
|
|
210
|
-
if (regexpA !== regexpB) return false;
|
|
211
|
-
if (regexpA && regexpB) return a.toString() === b.toString();
|
|
212
|
-
var keys = Object.keys(a);
|
|
213
|
-
length = keys.length;
|
|
214
|
-
if (length !== Object.keys(b).length) return false;
|
|
215
|
-
for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
216
|
-
for (i = length; i-- !== 0;) {
|
|
217
|
-
key = keys[i];
|
|
218
|
-
if (!this.deepEquals(a[key], b[key])) return false;
|
|
219
|
-
}
|
|
220
|
-
return true;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/*eslint no-self-compare: "off"*/
|
|
224
|
-
return a !== a && b !== b;
|
|
225
|
-
}
|
|
226
|
-
}, {
|
|
227
|
-
key: "resolveFieldData",
|
|
228
|
-
value: function resolveFieldData(data, field) {
|
|
229
|
-
if (!data || !field) {
|
|
230
|
-
// short circuit if there is nothing to resolve
|
|
231
|
-
return null;
|
|
232
|
-
}
|
|
233
|
-
try {
|
|
234
|
-
var value = data[field];
|
|
235
|
-
if (this.isNotEmpty(value)) return value;
|
|
236
|
-
} catch (_unused) {
|
|
237
|
-
// Performance optimization: https://github.com/primefaces/primereact/issues/4797
|
|
238
|
-
// do nothing and continue to other methods to resolve field data
|
|
239
|
-
}
|
|
240
|
-
if (Object.keys(data).length) {
|
|
241
|
-
if (this.isFunction(field)) {
|
|
242
|
-
return field(data);
|
|
243
|
-
} else if (this.isNotEmpty(data[field])) {
|
|
244
|
-
return data[field];
|
|
245
|
-
} else if (field.indexOf('.') === -1) {
|
|
246
|
-
return data[field];
|
|
247
|
-
} else {
|
|
248
|
-
var fields = field.split('.');
|
|
249
|
-
var _value = data;
|
|
250
|
-
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
251
|
-
if (_value == null) {
|
|
252
|
-
return null;
|
|
253
|
-
}
|
|
254
|
-
_value = _value[fields[i]];
|
|
255
|
-
}
|
|
256
|
-
return _value;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
return null;
|
|
260
|
-
}
|
|
261
|
-
}, {
|
|
262
|
-
key: "findDiffKeys",
|
|
263
|
-
value: function findDiffKeys(obj1, obj2) {
|
|
264
|
-
if (!obj1 || !obj2) {
|
|
265
|
-
return {};
|
|
266
|
-
}
|
|
267
|
-
return Object.keys(obj1).filter(function (key) {
|
|
268
|
-
return !obj2.hasOwnProperty(key);
|
|
269
|
-
}).reduce(function (result, current) {
|
|
270
|
-
result[current] = obj1[current];
|
|
271
|
-
return result;
|
|
272
|
-
}, {});
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Removes keys from a JSON object that start with a string such as "data" to get all "data-id" type properties.
|
|
277
|
-
*
|
|
278
|
-
* @param {any} obj the JSON object to reduce
|
|
279
|
-
* @param {string[]} startsWiths the string(s) to check if the property starts with this key
|
|
280
|
-
* @returns the JSON object containing only the key/values that match the startsWith string
|
|
281
|
-
*/
|
|
282
|
-
}, {
|
|
283
|
-
key: "reduceKeys",
|
|
284
|
-
value: function reduceKeys(obj, startsWiths) {
|
|
285
|
-
var result = {};
|
|
286
|
-
if (!obj || !startsWiths || startsWiths.length === 0) {
|
|
287
|
-
return result;
|
|
288
|
-
}
|
|
289
|
-
Object.keys(obj).filter(function (key) {
|
|
290
|
-
return startsWiths.some(function (value) {
|
|
291
|
-
return key.startsWith(value);
|
|
292
|
-
});
|
|
293
|
-
}).forEach(function (key) {
|
|
294
|
-
result[key] = obj[key];
|
|
295
|
-
delete obj[key];
|
|
296
|
-
});
|
|
297
|
-
return result;
|
|
298
|
-
}
|
|
299
|
-
}, {
|
|
300
|
-
key: "reorderArray",
|
|
301
|
-
value: function reorderArray(value, from, to) {
|
|
302
|
-
if (value && from !== to) {
|
|
303
|
-
if (to >= value.length) {
|
|
304
|
-
to %= value.length;
|
|
305
|
-
from %= value.length;
|
|
306
|
-
}
|
|
307
|
-
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}, {
|
|
311
|
-
key: "findIndexInList",
|
|
312
|
-
value: function findIndexInList(value, list, dataKey) {
|
|
313
|
-
var _this = this;
|
|
314
|
-
if (list) {
|
|
315
|
-
return dataKey ? list.findIndex(function (item) {
|
|
316
|
-
return _this.equals(item, value, dataKey);
|
|
317
|
-
}) : list.findIndex(function (item) {
|
|
318
|
-
return item === value;
|
|
319
|
-
});
|
|
320
|
-
}
|
|
321
|
-
return -1;
|
|
322
|
-
}
|
|
323
|
-
}, {
|
|
324
|
-
key: "getJSXElement",
|
|
325
|
-
value: function getJSXElement(obj) {
|
|
326
|
-
for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
327
|
-
params[_key - 1] = arguments[_key];
|
|
328
|
-
}
|
|
329
|
-
return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
|
|
330
|
-
}
|
|
331
|
-
}, {
|
|
332
|
-
key: "getItemValue",
|
|
333
|
-
value: function getItemValue(obj) {
|
|
334
|
-
for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
335
|
-
params[_key2 - 1] = arguments[_key2];
|
|
336
|
-
}
|
|
337
|
-
return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
|
|
338
|
-
}
|
|
339
|
-
}, {
|
|
340
|
-
key: "getProp",
|
|
341
|
-
value: function getProp(props) {
|
|
342
|
-
var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
343
|
-
var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
344
|
-
var value = props ? props[prop] : undefined;
|
|
345
|
-
return value === undefined ? defaultProps[prop] : value;
|
|
346
|
-
}
|
|
347
|
-
}, {
|
|
348
|
-
key: "getPropCaseInsensitive",
|
|
349
|
-
value: function getPropCaseInsensitive(props, prop) {
|
|
350
|
-
var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
351
|
-
var fkey = this.toFlatCase(prop);
|
|
352
|
-
for (var key in props) {
|
|
353
|
-
if (props.hasOwnProperty(key) && this.toFlatCase(key) === fkey) {
|
|
354
|
-
return props[key];
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
for (var _key3 in defaultProps) {
|
|
358
|
-
if (defaultProps.hasOwnProperty(_key3) && this.toFlatCase(_key3) === fkey) {
|
|
359
|
-
return defaultProps[_key3];
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
return undefined; // Property not found
|
|
363
|
-
}
|
|
364
|
-
}, {
|
|
365
|
-
key: "getMergedProps",
|
|
366
|
-
value: function getMergedProps(props, defaultProps) {
|
|
367
|
-
return Object.assign({}, defaultProps, props);
|
|
368
|
-
}
|
|
369
|
-
}, {
|
|
370
|
-
key: "getDiffProps",
|
|
371
|
-
value: function getDiffProps(props, defaultProps) {
|
|
372
|
-
return this.findDiffKeys(props, defaultProps);
|
|
373
|
-
}
|
|
374
|
-
}, {
|
|
375
|
-
key: "getPropValue",
|
|
376
|
-
value: function getPropValue(obj) {
|
|
377
|
-
for (var _len3 = arguments.length, params = new Array(_len3 > 1 ? _len3 - 1 : 0), _key4 = 1; _key4 < _len3; _key4++) {
|
|
378
|
-
params[_key4 - 1] = arguments[_key4];
|
|
379
|
-
}
|
|
380
|
-
return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
|
|
381
|
-
}
|
|
382
|
-
}, {
|
|
383
|
-
key: "getComponentProp",
|
|
384
|
-
value: function getComponentProp(component) {
|
|
385
|
-
var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
386
|
-
var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
387
|
-
return this.isNotEmpty(component) ? this.getProp(component.props, prop, defaultProps) : undefined;
|
|
388
|
-
}
|
|
389
|
-
}, {
|
|
390
|
-
key: "getComponentProps",
|
|
391
|
-
value: function getComponentProps(component, defaultProps) {
|
|
392
|
-
return this.isNotEmpty(component) ? this.getMergedProps(component.props, defaultProps) : undefined;
|
|
393
|
-
}
|
|
394
|
-
}, {
|
|
395
|
-
key: "getComponentDiffProps",
|
|
396
|
-
value: function getComponentDiffProps(component, defaultProps) {
|
|
397
|
-
return this.isNotEmpty(component) ? this.getDiffProps(component.props, defaultProps) : undefined;
|
|
398
|
-
}
|
|
399
|
-
}, {
|
|
400
|
-
key: "isValidChild",
|
|
401
|
-
value: function isValidChild(child, type, validTypes) {
|
|
402
|
-
/* eslint-disable */
|
|
403
|
-
if (child) {
|
|
404
|
-
var _child$type;
|
|
405
|
-
var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
|
|
406
|
-
|
|
407
|
-
// for App Router in Next.js ^14,
|
|
408
|
-
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) {
|
|
409
|
-
childType = child.type._payload.value.find(function (v) {
|
|
410
|
-
return v === type;
|
|
411
|
-
});
|
|
412
|
-
}
|
|
413
|
-
var isValid = childType === type;
|
|
414
|
-
try {
|
|
415
|
-
var messageTypes; if ("production" !== 'production' && !isValid) ;
|
|
416
|
-
} catch (error) {
|
|
417
|
-
// NOOP
|
|
418
|
-
}
|
|
419
|
-
return isValid;
|
|
420
|
-
}
|
|
421
|
-
return false;
|
|
422
|
-
/* eslint-enable */
|
|
423
|
-
}
|
|
424
|
-
}, {
|
|
425
|
-
key: "getRefElement",
|
|
426
|
-
value: function getRefElement(ref) {
|
|
427
|
-
if (ref) {
|
|
428
|
-
return _typeof(ref) === 'object' && ref.hasOwnProperty('current') ? ref.current : ref;
|
|
429
|
-
}
|
|
430
|
-
return null;
|
|
431
|
-
}
|
|
432
|
-
}, {
|
|
433
|
-
key: "combinedRefs",
|
|
434
|
-
value: function combinedRefs(innerRef, forwardRef) {
|
|
435
|
-
if (innerRef && forwardRef) {
|
|
436
|
-
if (typeof forwardRef === 'function') {
|
|
437
|
-
forwardRef(innerRef.current);
|
|
438
|
-
} else {
|
|
439
|
-
forwardRef.current = innerRef.current;
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
}, {
|
|
444
|
-
key: "removeAccents",
|
|
445
|
-
value: function removeAccents(str) {
|
|
446
|
-
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
447
|
-
str = str.replace(/[\xC0-\xC5]/g, 'A').replace(/[\xC6]/g, 'AE').replace(/[\xC7]/g, 'C').replace(/[\xC8-\xCB]/g, 'E').replace(/[\xCC-\xCF]/g, 'I').replace(/[\xD0]/g, 'D').replace(/[\xD1]/g, 'N').replace(/[\xD2-\xD6\xD8]/g, 'O').replace(/[\xD9-\xDC]/g, 'U').replace(/[\xDD]/g, 'Y').replace(/[\xDE]/g, 'P').replace(/[\xE0-\xE5]/g, 'a').replace(/[\xE6]/g, 'ae').replace(/[\xE7]/g, 'c').replace(/[\xE8-\xEB]/g, 'e').replace(/[\xEC-\xEF]/g, 'i').replace(/[\xF1]/g, 'n').replace(/[\xF2-\xF6\xF8]/g, 'o').replace(/[\xF9-\xFC]/g, 'u').replace(/[\xFE]/g, 'p').replace(/[\xFD\xFF]/g, 'y');
|
|
448
|
-
}
|
|
449
|
-
return str;
|
|
450
|
-
}
|
|
451
|
-
}, {
|
|
452
|
-
key: "toFlatCase",
|
|
453
|
-
value: function toFlatCase(str) {
|
|
454
|
-
// convert snake, kebab, camel and pascal cases to flat case
|
|
455
|
-
return this.isNotEmpty(str) && this.isString(str) ? str.replace(/(-|_)/g, '').toLowerCase() : str;
|
|
456
|
-
}
|
|
457
|
-
}, {
|
|
458
|
-
key: "toCapitalCase",
|
|
459
|
-
value: function toCapitalCase(str) {
|
|
460
|
-
return this.isNotEmpty(str) && this.isString(str) ? str[0].toUpperCase() + str.slice(1) : str;
|
|
461
|
-
}
|
|
462
|
-
}, {
|
|
463
|
-
key: "trim",
|
|
464
|
-
value: function trim(value) {
|
|
465
|
-
// trim only if the value is actually a string
|
|
466
|
-
return this.isNotEmpty(value) && this.isString(value) ? value.trim() : value;
|
|
467
|
-
}
|
|
468
|
-
}, {
|
|
469
|
-
key: "isEmpty",
|
|
470
|
-
value: function isEmpty(value) {
|
|
471
|
-
return value === null || value === undefined || value === '' || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && _typeof(value) === 'object' && Object.keys(value).length === 0;
|
|
472
|
-
}
|
|
473
|
-
}, {
|
|
474
|
-
key: "isNotEmpty",
|
|
475
|
-
value: function isNotEmpty(value) {
|
|
476
|
-
return !this.isEmpty(value);
|
|
477
|
-
}
|
|
478
|
-
}, {
|
|
479
|
-
key: "isFunction",
|
|
480
|
-
value: function isFunction(value) {
|
|
481
|
-
return !!(value && value.constructor && value.call && value.apply);
|
|
482
|
-
}
|
|
483
|
-
}, {
|
|
484
|
-
key: "isObject",
|
|
485
|
-
value: function isObject(value) {
|
|
486
|
-
return value !== null && value instanceof Object && value.constructor === Object;
|
|
487
|
-
}
|
|
488
|
-
}, {
|
|
489
|
-
key: "isDate",
|
|
490
|
-
value: function isDate(value) {
|
|
491
|
-
return value !== null && value instanceof Date && value.constructor === Date;
|
|
492
|
-
}
|
|
493
|
-
}, {
|
|
494
|
-
key: "isArray",
|
|
495
|
-
value: function isArray(value) {
|
|
496
|
-
return value !== null && Array.isArray(value);
|
|
497
|
-
}
|
|
498
|
-
}, {
|
|
499
|
-
key: "isString",
|
|
500
|
-
value: function isString(value) {
|
|
501
|
-
return value !== null && typeof value === 'string';
|
|
502
|
-
}
|
|
503
|
-
}, {
|
|
504
|
-
key: "isPrintableCharacter",
|
|
505
|
-
value: function isPrintableCharacter() {
|
|
506
|
-
var _char = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
507
|
-
return this.isNotEmpty(_char) && _char.length === 1 && _char.match(/\S| /);
|
|
508
|
-
}
|
|
509
|
-
}, {
|
|
510
|
-
key: "isLetter",
|
|
511
|
-
value: function isLetter(_char2) {
|
|
512
|
-
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* Firefox-v103 does not currently support the "findLast" method. It is stated that this method will be supported with Firefox-v104.
|
|
517
|
-
* https://caniuse.com/mdn-javascript_builtins_array_findlast
|
|
518
|
-
*/
|
|
519
|
-
}, {
|
|
520
|
-
key: "findLast",
|
|
521
|
-
value: function findLast(arr, callback) {
|
|
522
|
-
var item;
|
|
523
|
-
if (this.isNotEmpty(arr)) {
|
|
524
|
-
try {
|
|
525
|
-
item = arr.findLast(callback);
|
|
526
|
-
} catch (_unused2) {
|
|
527
|
-
item = _toConsumableArray(arr).reverse().find(callback);
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
return item;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* Firefox-v103 does not currently support the "findLastIndex" method. It is stated that this method will be supported with Firefox-v104.
|
|
535
|
-
* https://caniuse.com/mdn-javascript_builtins_array_findlastindex
|
|
536
|
-
*/
|
|
537
|
-
}, {
|
|
538
|
-
key: "findLastIndex",
|
|
539
|
-
value: function findLastIndex(arr, callback) {
|
|
540
|
-
var index = -1;
|
|
541
|
-
if (this.isNotEmpty(arr)) {
|
|
542
|
-
try {
|
|
543
|
-
index = arr.findLastIndex(callback);
|
|
544
|
-
} catch (_unused3) {
|
|
545
|
-
index = arr.lastIndexOf(_toConsumableArray(arr).reverse().find(callback));
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
return index;
|
|
549
|
-
}
|
|
550
|
-
}, {
|
|
551
|
-
key: "sort",
|
|
552
|
-
value: function sort(value1, value2) {
|
|
553
|
-
var order = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
|
554
|
-
var comparator = arguments.length > 3 ? arguments[3] : undefined;
|
|
555
|
-
var nullSortOrder = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
|
|
556
|
-
var result = this.compare(value1, value2, comparator, order);
|
|
557
|
-
var finalSortOrder = order;
|
|
558
|
-
|
|
559
|
-
// nullSortOrder == 1 means Excel like sort nulls at bottom
|
|
560
|
-
if (this.isEmpty(value1) || this.isEmpty(value2)) {
|
|
561
|
-
finalSortOrder = nullSortOrder === 1 ? order : nullSortOrder;
|
|
562
|
-
}
|
|
563
|
-
return finalSortOrder * result;
|
|
564
|
-
}
|
|
565
|
-
}, {
|
|
566
|
-
key: "compare",
|
|
567
|
-
value: function compare(value1, value2, comparator) {
|
|
568
|
-
var order = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
|
|
569
|
-
var result = -1;
|
|
570
|
-
var emptyValue1 = this.isEmpty(value1);
|
|
571
|
-
var emptyValue2 = this.isEmpty(value2);
|
|
572
|
-
if (emptyValue1 && emptyValue2) result = 0;else if (emptyValue1) result = order;else if (emptyValue2) result = -order;else if (typeof value1 === 'string' && typeof value2 === 'string') result = comparator(value1, value2);else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
573
|
-
return result;
|
|
574
|
-
}
|
|
575
|
-
}, {
|
|
576
|
-
key: "localeComparator",
|
|
577
|
-
value: function localeComparator(locale) {
|
|
578
|
-
//performance gain using Int.Collator. It is not recommended to use localeCompare against large arrays.
|
|
579
|
-
return new Intl.Collator(locale, {
|
|
580
|
-
numeric: true
|
|
581
|
-
}).compare;
|
|
582
|
-
}
|
|
583
|
-
}, {
|
|
584
|
-
key: "findChildrenByKey",
|
|
585
|
-
value: function findChildrenByKey(data, key) {
|
|
586
|
-
var _iterator = _createForOfIteratorHelper(data),
|
|
587
|
-
_step;
|
|
588
|
-
try {
|
|
589
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
590
|
-
var item = _step.value;
|
|
591
|
-
if (item.key === key) {
|
|
592
|
-
return item.children || [];
|
|
593
|
-
} else if (item.children) {
|
|
594
|
-
var result = this.findChildrenByKey(item.children, key);
|
|
595
|
-
if (result.length > 0) {
|
|
596
|
-
return result;
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
} catch (err) {
|
|
601
|
-
_iterator.e(err);
|
|
602
|
-
} finally {
|
|
603
|
-
_iterator.f();
|
|
604
|
-
}
|
|
605
|
-
return [];
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
/**
|
|
609
|
-
* This function takes mutates and object with a new value given
|
|
610
|
-
* a specific field. This will handle deeply nested fields that
|
|
611
|
-
* need to be modified or created.
|
|
612
|
-
*
|
|
613
|
-
* e.g:
|
|
614
|
-
* data = {
|
|
615
|
-
* nested: {
|
|
616
|
-
* foo: "bar"
|
|
617
|
-
* }
|
|
618
|
-
* }
|
|
619
|
-
*
|
|
620
|
-
* field = "nested.foo"
|
|
621
|
-
* value = "baz"
|
|
622
|
-
*
|
|
623
|
-
* The function will mutate data to be
|
|
624
|
-
* e.g:
|
|
625
|
-
* data = {
|
|
626
|
-
* nested: {
|
|
627
|
-
* foo: "baz"
|
|
628
|
-
* }
|
|
629
|
-
* }
|
|
630
|
-
*
|
|
631
|
-
* @param {object} data the object to be modified
|
|
632
|
-
* @param {string} field the field in the object to replace
|
|
633
|
-
* @param {any} value the value to have replaced in the field
|
|
634
|
-
*/
|
|
635
|
-
}, {
|
|
636
|
-
key: "mutateFieldData",
|
|
637
|
-
value: function mutateFieldData(data, field, value) {
|
|
638
|
-
if (_typeof(data) !== 'object' || typeof field !== 'string') {
|
|
639
|
-
// short circuit if there is nothing to resolve
|
|
640
|
-
return;
|
|
641
|
-
}
|
|
642
|
-
var fields = field.split('.');
|
|
643
|
-
var obj = data;
|
|
644
|
-
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
645
|
-
// Check if we are on the last field
|
|
646
|
-
if (i + 1 - len === 0) {
|
|
647
|
-
obj[fields[i]] = value;
|
|
648
|
-
break;
|
|
649
|
-
}
|
|
650
|
-
if (!obj[fields[i]]) {
|
|
651
|
-
obj[fields[i]] = {};
|
|
652
|
-
}
|
|
653
|
-
obj = obj[fields[i]];
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}]);
|
|
657
|
-
return ObjectUtils;
|
|
658
|
-
}();
|
|
659
|
-
|
|
660
|
-
var lastId = 0;
|
|
661
|
-
function UniqueComponentId() {
|
|
662
|
-
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pr_id_';
|
|
663
|
-
lastId++;
|
|
664
|
-
return "".concat(prefix).concat(lastId);
|
|
665
|
-
}
|
|
666
|
-
|
|
667
44
|
var ThLargeIcon = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
668
45
|
var pti = iconbase.IconBase.getPTI(inProps);
|
|
669
|
-
var _React$useState = React__namespace.useState(inProps.id),
|
|
670
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
671
|
-
pathId = _React$useState2[0],
|
|
672
|
-
setPathId = _React$useState2[1];
|
|
673
|
-
React__namespace.useEffect(function () {
|
|
674
|
-
if (ObjectUtils.isEmpty(pathId)) {
|
|
675
|
-
setPathId(UniqueComponentId('pr_icon_clip_'));
|
|
676
|
-
}
|
|
677
|
-
}, [pathId]);
|
|
678
46
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
679
47
|
ref: ref,
|
|
680
48
|
width: "14",
|
|
@@ -682,20 +50,12 @@ var ThLargeIcon = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namesp
|
|
|
682
50
|
viewBox: "0 0 14 14",
|
|
683
51
|
fill: "none",
|
|
684
52
|
xmlns: "http://www.w3.org/2000/svg"
|
|
685
|
-
}, pti), /*#__PURE__*/React__namespace.createElement("
|
|
686
|
-
clipPath: "url(#".concat(pathId, ")")
|
|
687
|
-
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
53
|
+
}, pti), /*#__PURE__*/React__namespace.createElement("path", {
|
|
688
54
|
fillRule: "evenodd",
|
|
689
55
|
clipRule: "evenodd",
|
|
690
56
|
d: "M1.90909 6.36364H4.45455C4.96087 6.36364 5.44645 6.1625 5.80448 5.80448C6.1625 5.44645 6.36364 4.96087 6.36364 4.45455V1.90909C6.36364 1.40277 6.1625 0.917184 5.80448 0.55916C5.44645 0.201136 4.96087 0 4.45455 0H1.90909C1.40277 0 0.917184 0.201136 0.55916 0.55916C0.201136 0.917184 0 1.40277 0 1.90909V4.45455C0 4.96087 0.201136 5.44645 0.55916 5.80448C0.917184 6.1625 1.40277 6.36364 1.90909 6.36364ZM1.46154 1.46154C1.58041 1.34268 1.741 1.27492 1.90909 1.27273H4.45455C4.62264 1.27492 4.78322 1.34268 4.90209 1.46154C5.02096 1.58041 5.08871 1.741 5.09091 1.90909V4.45455C5.08871 4.62264 5.02096 4.78322 4.90209 4.90209C4.78322 5.02096 4.62264 5.08871 4.45455 5.09091H1.90909C1.741 5.08871 1.58041 5.02096 1.46154 4.90209C1.34268 4.78322 1.27492 4.62264 1.27273 4.45455V1.90909C1.27492 1.741 1.34268 1.58041 1.46154 1.46154ZM1.90909 14H4.45455C4.96087 14 5.44645 13.7989 5.80448 13.4408C6.1625 13.0828 6.36364 12.5972 6.36364 12.0909V9.54544C6.36364 9.03912 6.1625 8.55354 5.80448 8.19551C5.44645 7.83749 4.96087 7.63635 4.45455 7.63635H1.90909C1.40277 7.63635 0.917184 7.83749 0.55916 8.19551C0.201136 8.55354 0 9.03912 0 9.54544V12.0909C0 12.5972 0.201136 13.0828 0.55916 13.4408C0.917184 13.7989 1.40277 14 1.90909 14ZM1.46154 9.0979C1.58041 8.97903 1.741 8.91128 1.90909 8.90908H4.45455C4.62264 8.91128 4.78322 8.97903 4.90209 9.0979C5.02096 9.21677 5.08871 9.37735 5.09091 9.54544V12.0909C5.08871 12.259 5.02096 12.4196 4.90209 12.5384C4.78322 12.6573 4.62264 12.7251 4.45455 12.7273H1.90909C1.741 12.7251 1.58041 12.6573 1.46154 12.5384C1.34268 12.4196 1.27492 12.259 1.27273 12.0909V9.54544C1.27492 9.37735 1.34268 9.21677 1.46154 9.0979ZM12.0909 6.36364H9.54544C9.03912 6.36364 8.55354 6.1625 8.19551 5.80448C7.83749 5.44645 7.63635 4.96087 7.63635 4.45455V1.90909C7.63635 1.40277 7.83749 0.917184 8.19551 0.55916C8.55354 0.201136 9.03912 0 9.54544 0H12.0909C12.5972 0 13.0828 0.201136 13.4408 0.55916C13.7989 0.917184 14 1.40277 14 1.90909V4.45455C14 4.96087 13.7989 5.44645 13.4408 5.80448C13.0828 6.1625 12.5972 6.36364 12.0909 6.36364ZM9.54544 1.27273C9.37735 1.27492 9.21677 1.34268 9.0979 1.46154C8.97903 1.58041 8.91128 1.741 8.90908 1.90909V4.45455C8.91128 4.62264 8.97903 4.78322 9.0979 4.90209C9.21677 5.02096 9.37735 5.08871 9.54544 5.09091H12.0909C12.259 5.08871 12.4196 5.02096 12.5384 4.90209C12.6573 4.78322 12.7251 4.62264 12.7273 4.45455V1.90909C12.7251 1.741 12.6573 1.58041 12.5384 1.46154C12.4196 1.34268 12.259 1.27492 12.0909 1.27273H9.54544ZM9.54544 14H12.0909C12.5972 14 13.0828 13.7989 13.4408 13.4408C13.7989 13.0828 14 12.5972 14 12.0909V9.54544C14 9.03912 13.7989 8.55354 13.4408 8.19551C13.0828 7.83749 12.5972 7.63635 12.0909 7.63635H9.54544C9.03912 7.63635 8.55354 7.83749 8.19551 8.19551C7.83749 8.55354 7.63635 9.03912 7.63635 9.54544V12.0909C7.63635 12.5972 7.83749 13.0828 8.19551 13.4408C8.55354 13.7989 9.03912 14 9.54544 14ZM9.0979 9.0979C9.21677 8.97903 9.37735 8.91128 9.54544 8.90908H12.0909C12.259 8.91128 12.4196 8.97903 12.5384 9.0979C12.6573 9.21677 12.7251 9.37735 12.7273 9.54544V12.0909C12.7251 12.259 12.6573 12.4196 12.5384 12.5384C12.4196 12.6573 12.259 12.7251 12.0909 12.7273H9.54544C9.37735 12.7251 9.21677 12.6573 9.0979 12.5384C8.97903 12.4196 8.91128 12.259 8.90908 12.0909V9.54544C8.91128 9.37735 8.97903 9.21677 9.0979 9.0979Z",
|
|
691
57
|
fill: "currentColor"
|
|
692
|
-
}))
|
|
693
|
-
id: pathId
|
|
694
|
-
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
695
|
-
width: "14",
|
|
696
|
-
height: "14",
|
|
697
|
-
fill: "white"
|
|
698
|
-
}))));
|
|
58
|
+
}));
|
|
699
59
|
}));
|
|
700
60
|
ThLargeIcon.displayName = 'ThLargeIcon';
|
|
701
61
|
|