primereact 10.6.6 → 10.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/api/api.cjs.js +18 -14
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +3 -3
- package/api/api.esm.js +18 -14
- package/api/api.esm.min.js +1 -1
- package/api/api.js +18 -14
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +2 -1
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +4 -3
- package/autocomplete/autocomplete.esm.js +2 -1
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +2 -1
- package/autocomplete/autocomplete.min.js +1 -1
- package/button/button.cjs.js +1 -0
- package/button/button.cjs.min.js +1 -1
- package/button/button.d.ts +2 -2
- package/button/button.esm.js +1 -0
- package/button/button.esm.min.js +1 -1
- package/button/button.js +1 -0
- package/button/button.min.js +1 -1
- package/calendar/calendar.cjs.js +87 -49
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +10 -11
- package/calendar/calendar.esm.js +87 -49
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +87 -49
- package/calendar/calendar.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +4 -3
- package/checkbox/checkbox.cjs.js +64 -0
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.d.ts +12 -0
- package/checkbox/checkbox.esm.js +64 -0
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +64 -0
- package/checkbox/checkbox.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +18 -4
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +19 -5
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +18 -4
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/column.d.ts +26 -16
- package/core/core.js +172 -88
- package/core/core.min.js +13 -13
- package/csstransition/csstransition.cjs.js +0 -6
- package/csstransition/csstransition.esm.js +0 -6
- package/csstransition/csstransition.js +0 -6
- package/datatable/datatable.cjs.js +145 -92
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +38 -2
- package/datatable/datatable.esm.js +145 -92
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +145 -92
- package/datatable/datatable.min.js +1 -1
- package/dialog/dialog.cjs.js +16 -3
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +16 -3
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +16 -3
- package/dialog/dialog.min.js +1 -1
- package/dropdown/dropdown.cjs.js +15 -7
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +15 -7
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +15 -7
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +12 -2
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +12 -2
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +12 -2
- package/editor/editor.min.js +1 -1
- package/focustrap/focustrap.cjs.js +12 -1
- package/focustrap/focustrap.cjs.min.js +1 -1
- package/focustrap/focustrap.esm.js +12 -1
- package/focustrap/focustrap.esm.min.js +1 -1
- package/focustrap/focustrap.js +12 -1
- package/focustrap/focustrap.min.js +1 -1
- package/hooks/hooks.cjs.js +2 -1
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.esm.js +2 -1
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +2 -1
- package/hooks/hooks.min.js +1 -1
- package/icons/sortamountdown/index.cjs.js +1 -16
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +1 -16
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +1 -16
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountupalt/index.cjs.js +1 -16
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +1 -16
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +1 -16
- package/icons/sortamountupalt/index.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +7 -4
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +7 -4
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +7 -4
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputotp/inputotp.cjs.js +1 -2
- package/inputotp/inputotp.cjs.min.js +1 -1
- package/inputotp/inputotp.d.ts +2 -3
- package/inputotp/inputotp.esm.js +1 -2
- package/inputotp/inputotp.esm.min.js +1 -1
- package/inputotp/inputotp.js +1 -2
- package/inputotp/inputotp.min.js +1 -1
- package/inputtext/inputtext.d.ts +1 -1
- package/listbox/listbox.cjs.js +27 -35
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +27 -35
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +27 -35
- package/listbox/listbox.min.js +1 -1
- package/mention/mention.cjs.js +1 -0
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +1 -0
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +1 -0
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +3 -3
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +3 -3
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +3 -3
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +1 -1
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.d.ts +9 -0
- package/menubar/menubar.esm.js +1 -1
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +1 -1
- package/menubar/menubar.min.js +1 -1
- package/messages/messages.d.ts +21 -0
- package/metergroup/metergroup.cjs.js +3 -3
- package/metergroup/metergroup.cjs.min.js +1 -1
- package/metergroup/metergroup.d.ts +3 -10
- package/metergroup/metergroup.esm.js +3 -3
- package/metergroup/metergroup.esm.min.js +1 -1
- package/metergroup/metergroup.js +3 -3
- package/metergroup/metergroup.min.js +1 -1
- package/multiselect/multiselect.cjs.js +17 -5
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +1 -9
- package/multiselect/multiselect.esm.js +17 -5
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +17 -5
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +9 -0
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +9 -0
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +9 -0
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +3 -2
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +3 -2
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +3 -2
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +0 -1
- package/organizationchart/organizationchart.esm.js +0 -1
- package/organizationchart/organizationchart.js +0 -1
- package/package.json +4 -4
- package/paginator/paginator.cjs.js +9 -7
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +9 -7
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +9 -7
- package/paginator/paginator.min.js +1 -1
- package/panelmenu/panelmenu.d.ts +2 -2
- package/passthrough/tailwind/index.cjs.js +10 -81
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +10 -81
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +10 -81
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.cjs.js +1 -0
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +1 -0
- package/password/password.esm.min.js +1 -1
- package/password/password.js +1 -0
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +9 -7
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +9 -7
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +9 -7
- package/picklist/picklist.min.js +1 -1
- package/primereact.all.cjs.js +557 -448
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +557 -448
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +557 -448
- package/primereact.all.min.js +1 -1
- package/radiobutton/radiobutton.cjs.js +7 -4
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +7 -4
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +7 -4
- package/radiobutton/radiobutton.min.js +1 -1
- package/resources/images/line.gif +0 -0
- package/resources/themes/lara-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-dark-green/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-dark-green/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-light-amber/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-light-amber/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-light-green/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-light-green/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-light-pink/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-light-pink/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
- package/sidebar/sidebar.cjs.js +1 -1
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +4 -0
- package/sidebar/sidebar.esm.js +1 -1
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +1 -1
- package/sidebar/sidebar.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +0 -1
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +0 -1
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +0 -1
- package/splitbutton/splitbutton.min.js +1 -1
- package/stepper/stepper.cjs.js +5 -0
- package/stepper/stepper.cjs.min.js +1 -1
- package/stepper/stepper.esm.js +6 -1
- package/stepper/stepper.esm.min.js +1 -1
- package/stepper/stepper.js +5 -0
- package/stepper/stepper.min.js +1 -1
- package/tabview/tabview.cjs.js +0 -1
- package/tabview/tabview.d.ts +1 -1
- package/tabview/tabview.esm.js +0 -1
- package/tabview/tabview.js +0 -1
- package/tieredmenu/tieredmenu.cjs.js +0 -1
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +0 -1
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +0 -1
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/toast/toast.cjs.js +9 -7
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.d.ts +1 -1
- package/toast/toast.esm.js +9 -7
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +9 -7
- package/toast/toast.min.js +1 -1
- package/tooltip/tooltip.cjs.js +10 -1
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +11 -2
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +10 -1
- package/tooltip/tooltip.min.js +1 -1
- package/tooltip/tooltipoptions.d.ts +5 -0
- package/tree/tree.cjs.js +20 -7
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +20 -7
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +20 -7
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.cjs.js +0 -1
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +0 -1
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +0 -1
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +9 -2
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +6 -6
- package/treetable/treetable.esm.js +9 -2
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +9 -2
- package/treetable/treetable.min.js +1 -1
- package/utils/utils.cjs.js +8 -6
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +1 -0
- package/utils/utils.esm.js +8 -6
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +8 -6
- package/utils/utils.min.js +1 -1
- package/web-types.json +27 -9
package/core/core.js
CHANGED
|
@@ -196,7 +196,7 @@ this.primereact.utils = (function (exports, React) {
|
|
|
196
196
|
function DomHandler() {
|
|
197
197
|
_classCallCheck(this, DomHandler);
|
|
198
198
|
}
|
|
199
|
-
_createClass(DomHandler, null, [{
|
|
199
|
+
return _createClass(DomHandler, null, [{
|
|
200
200
|
key: "innerWidth",
|
|
201
201
|
value: function innerWidth(el) {
|
|
202
202
|
if (el) {
|
|
@@ -1426,7 +1426,6 @@ this.primereact.utils = (function (exports, React) {
|
|
|
1426
1426
|
return false;
|
|
1427
1427
|
}
|
|
1428
1428
|
}]);
|
|
1429
|
-
return DomHandler;
|
|
1430
1429
|
}();
|
|
1431
1430
|
/**
|
|
1432
1431
|
* All data- properties like data-test-id
|
|
@@ -1484,7 +1483,7 @@ this.primereact.utils = (function (exports, React) {
|
|
|
1484
1483
|
function ObjectUtils() {
|
|
1485
1484
|
_classCallCheck(this, ObjectUtils);
|
|
1486
1485
|
}
|
|
1487
|
-
_createClass(ObjectUtils, null, [{
|
|
1486
|
+
return _createClass(ObjectUtils, null, [{
|
|
1488
1487
|
key: "equals",
|
|
1489
1488
|
value: function equals(obj1, obj2, field) {
|
|
1490
1489
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
|
|
@@ -1853,6 +1852,11 @@ this.primereact.utils = (function (exports, React) {
|
|
|
1853
1852
|
value: function isLetter(_char2) {
|
|
1854
1853
|
return /^[a-zA-Z\u00C0-\u017F]$/.test(_char2);
|
|
1855
1854
|
}
|
|
1855
|
+
}, {
|
|
1856
|
+
key: "isScalar",
|
|
1857
|
+
value: function isScalar(value) {
|
|
1858
|
+
return value != null && (typeof value === 'string' || typeof value === 'number' || typeof value === 'bigint' || typeof value === 'boolean');
|
|
1859
|
+
}
|
|
1856
1860
|
|
|
1857
1861
|
/**
|
|
1858
1862
|
* Firefox-v103 does not currently support the "findLast" method. It is stated that this method will be supported with Firefox-v104.
|
|
@@ -2006,7 +2010,6 @@ this.primereact.utils = (function (exports, React) {
|
|
|
2006
2010
|
}
|
|
2007
2011
|
}
|
|
2008
2012
|
}]);
|
|
2009
|
-
return ObjectUtils;
|
|
2010
2013
|
}();
|
|
2011
2014
|
|
|
2012
2015
|
function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -2015,7 +2018,7 @@ this.primereact.utils = (function (exports, React) {
|
|
|
2015
2018
|
function IconUtils() {
|
|
2016
2019
|
_classCallCheck(this, IconUtils);
|
|
2017
2020
|
}
|
|
2018
|
-
_createClass(IconUtils, null, [{
|
|
2021
|
+
return _createClass(IconUtils, null, [{
|
|
2019
2022
|
key: "getJSXIcon",
|
|
2020
2023
|
value: function getJSXIcon(icon) {
|
|
2021
2024
|
var iconProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -2038,7 +2041,6 @@ this.primereact.utils = (function (exports, React) {
|
|
|
2038
2041
|
return content;
|
|
2039
2042
|
}
|
|
2040
2043
|
}]);
|
|
2041
|
-
return IconUtils;
|
|
2042
2044
|
}();
|
|
2043
2045
|
|
|
2044
2046
|
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; }
|
|
@@ -2991,18 +2993,20 @@ this.primereact.api = (function (exports, utils, React) {
|
|
|
2991
2993
|
_defineProperty(PrimeReact$1, "changeTheme", function (currentTheme, newTheme, linkElementId, callback) {
|
|
2992
2994
|
var _linkElement$parentNo;
|
|
2993
2995
|
var linkElement = document.getElementById(linkElementId);
|
|
2994
|
-
|
|
2996
|
+
if (!linkElement) {
|
|
2997
|
+
throw Error("Element with id ".concat(linkElementId, " not found."));
|
|
2998
|
+
}
|
|
2995
2999
|
var newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme);
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3000
|
+
var newLinkElement = document.createElement('link');
|
|
3001
|
+
newLinkElement.setAttribute('rel', 'stylesheet');
|
|
3002
|
+
newLinkElement.setAttribute('id', linkElementId);
|
|
3003
|
+
newLinkElement.setAttribute('href', newThemeUrl);
|
|
3004
|
+
newLinkElement.addEventListener('load', function () {
|
|
3001
3005
|
if (callback) {
|
|
3002
3006
|
callback();
|
|
3003
3007
|
}
|
|
3004
3008
|
});
|
|
3005
|
-
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.
|
|
3009
|
+
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.replaceChild(newLinkElement, linkElement);
|
|
3006
3010
|
});
|
|
3007
3011
|
|
|
3008
3012
|
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; }
|
|
@@ -3676,18 +3680,20 @@ this.primereact.api = (function (exports, utils, React) {
|
|
|
3676
3680
|
var changeTheme = function changeTheme(currentTheme, newTheme, linkElementId, callback) {
|
|
3677
3681
|
var _linkElement$parentNo;
|
|
3678
3682
|
var linkElement = document.getElementById(linkElementId);
|
|
3679
|
-
|
|
3683
|
+
if (!linkElement) {
|
|
3684
|
+
throw Error("Element with id ".concat(linkElementId, " not found."));
|
|
3685
|
+
}
|
|
3680
3686
|
var newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme);
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3687
|
+
var newLinkElement = document.createElement('link');
|
|
3688
|
+
newLinkElement.setAttribute('rel', 'stylesheet');
|
|
3689
|
+
newLinkElement.setAttribute('id', linkElementId);
|
|
3690
|
+
newLinkElement.setAttribute('href', newThemeUrl);
|
|
3691
|
+
newLinkElement.addEventListener('load', function () {
|
|
3686
3692
|
if (callback) {
|
|
3687
3693
|
callback();
|
|
3688
3694
|
}
|
|
3689
3695
|
});
|
|
3690
|
-
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.
|
|
3696
|
+
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.replaceChild(newLinkElement, linkElement);
|
|
3691
3697
|
};
|
|
3692
3698
|
|
|
3693
3699
|
/**
|
|
@@ -4497,7 +4503,8 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
4497
4503
|
PASSWORD: 700,
|
|
4498
4504
|
CASCADE_SELECT: 800,
|
|
4499
4505
|
SPLIT_BUTTON: 900,
|
|
4500
|
-
SPEED_DIAL: 1000
|
|
4506
|
+
SPEED_DIAL: 1000,
|
|
4507
|
+
TOOLTIP: 1200
|
|
4501
4508
|
};
|
|
4502
4509
|
|
|
4503
4510
|
/**
|
|
@@ -5812,32 +5819,26 @@ this.primereact.csstransition = (function (exports, React, reactTransitionGroup,
|
|
|
5812
5819
|
props.onEnter && props.onEnter(node, isAppearing); // component
|
|
5813
5820
|
props.options && props.options.onEnter && props.options.onEnter(node, isAppearing); // user option
|
|
5814
5821
|
};
|
|
5815
|
-
|
|
5816
5822
|
var onEntering = function onEntering(node, isAppearing) {
|
|
5817
5823
|
props.onEntering && props.onEntering(node, isAppearing); // component
|
|
5818
5824
|
props.options && props.options.onEntering && props.options.onEntering(node, isAppearing); // user option
|
|
5819
5825
|
};
|
|
5820
|
-
|
|
5821
5826
|
var onEntered = function onEntered(node, isAppearing) {
|
|
5822
5827
|
props.onEntered && props.onEntered(node, isAppearing); // component
|
|
5823
5828
|
props.options && props.options.onEntered && props.options.onEntered(node, isAppearing); // user option
|
|
5824
5829
|
};
|
|
5825
|
-
|
|
5826
5830
|
var onExit = function onExit(node) {
|
|
5827
5831
|
props.onExit && props.onExit(node); // component
|
|
5828
5832
|
props.options && props.options.onExit && props.options.onExit(node); // user option
|
|
5829
5833
|
};
|
|
5830
|
-
|
|
5831
5834
|
var onExiting = function onExiting(node) {
|
|
5832
5835
|
props.onExiting && props.onExiting(node); // component
|
|
5833
5836
|
props.options && props.options.onExiting && props.options.onExiting(node); // user option
|
|
5834
5837
|
};
|
|
5835
|
-
|
|
5836
5838
|
var onExited = function onExited(node) {
|
|
5837
5839
|
props.onExited && props.onExited(node); // component
|
|
5838
5840
|
props.options && props.options.onExited && props.options.onExited(node); // user option
|
|
5839
5841
|
};
|
|
5840
|
-
|
|
5841
5842
|
hooks.useUpdateEffect(function () {
|
|
5842
5843
|
if (disabled) {
|
|
5843
5844
|
// no animation
|
|
@@ -8327,22 +8328,7 @@ this.primereact.icons.sortamountdown = (function (exports, React, iconbase) {
|
|
|
8327
8328
|
fill: "none",
|
|
8328
8329
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8329
8330
|
}, pti), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8330
|
-
d: "
|
|
8331
|
-
fill: "currentColor"
|
|
8332
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8333
|
-
d: "M2.59836 13.2009C2.27032 13.2009 1.99833 12.9288 1.99833 12.6008V1.39922C1.99833 1.07117 2.27036 0.799133 2.59841 0.799133C2.92646 0.799133 3.19849 1.07117 3.19849 1.39922V12.6008C3.19849 12.9288 2.92641 13.2009 2.59836 13.2009Z",
|
|
8334
|
-
fill: "currentColor"
|
|
8335
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8336
|
-
d: "M13.3999 11.2006H6.99902C6.67098 11.2006 6.39894 10.9285 6.39894 10.6005C6.39894 10.2725 6.67098 10.0004 6.99902 10.0004H13.3999C13.728 10.0004 14 10.2725 14 10.6005C14 10.9285 13.728 11.2006 13.3999 11.2006Z",
|
|
8337
|
-
fill: "currentColor"
|
|
8338
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8339
|
-
d: "M10.1995 6.39991H6.99902C6.67098 6.39991 6.39894 6.12788 6.39894 5.79983C6.39894 5.47179 6.67098 5.19975 6.99902 5.19975H10.1995C10.5275 5.19975 10.7996 5.47179 10.7996 5.79983C10.7996 6.12788 10.5275 6.39991 10.1995 6.39991Z",
|
|
8340
|
-
fill: "currentColor"
|
|
8341
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8342
|
-
d: "M8.59925 3.99958H6.99902C6.67098 3.99958 6.39894 3.72754 6.39894 3.3995C6.39894 3.07145 6.67098 2.79941 6.99902 2.79941H8.59925C8.92729 2.79941 9.19933 3.07145 9.19933 3.3995C9.19933 3.72754 8.92729 3.99958 8.59925 3.99958Z",
|
|
8343
|
-
fill: "currentColor"
|
|
8344
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8345
|
-
d: "M11.7997 8.80025H6.99902C6.67098 8.80025 6.39894 8.52821 6.39894 8.20017C6.39894 7.87212 6.67098 7.60008 6.99902 7.60008H11.7997C12.1277 7.60008 12.3998 7.87212 12.3998 8.20017C12.3998 8.52821 12.1277 8.80025 11.7997 8.80025Z",
|
|
8331
|
+
d: "M4.93953 10.5858L3.83759 11.6877V0.677419C3.83759 0.307097 3.53049 0 3.16017 0C2.78985 0 2.48275 0.307097 2.48275 0.677419V11.6877L1.38082 10.5858C1.11888 10.3239 0.685331 10.3239 0.423396 10.5858C0.16146 10.8477 0.16146 11.2813 0.423396 11.5432L2.68146 13.8013C2.74469 13.8645 2.81694 13.9097 2.89823 13.9458C2.97952 13.9819 3.06985 14 3.16017 14C3.25049 14 3.33178 13.9819 3.42211 13.9458C3.5034 13.9097 3.57565 13.8645 3.63888 13.8013L5.89694 11.5432C6.15888 11.2813 6.15888 10.8477 5.89694 10.5858C5.63501 10.3239 5.20146 10.3239 4.93953 10.5858ZM13.0957 0H7.22468C6.85436 0 6.54726 0.307097 6.54726 0.677419C6.54726 1.04774 6.85436 1.35484 7.22468 1.35484H13.0957C13.466 1.35484 13.7731 1.04774 13.7731 0.677419C13.7731 0.307097 13.466 0 13.0957 0ZM7.22468 5.41935H9.48275C9.85307 5.41935 10.1602 5.72645 10.1602 6.09677C10.1602 6.4671 9.85307 6.77419 9.48275 6.77419H7.22468C6.85436 6.77419 6.54726 6.4671 6.54726 6.09677C6.54726 5.72645 6.85436 5.41935 7.22468 5.41935ZM7.6763 8.12903H7.22468C6.85436 8.12903 6.54726 8.43613 6.54726 8.80645C6.54726 9.17677 6.85436 9.48387 7.22468 9.48387H7.6763C8.04662 9.48387 8.35372 9.17677 8.35372 8.80645C8.35372 8.43613 8.04662 8.12903 7.6763 8.12903ZM7.22468 2.70968H11.2892C11.6595 2.70968 11.9666 3.01677 11.9666 3.3871C11.9666 3.75742 11.6595 4.06452 11.2892 4.06452H7.22468C6.85436 4.06452 6.54726 3.75742 6.54726 3.3871C6.54726 3.01677 6.85436 2.70968 7.22468 2.70968Z",
|
|
8346
8332
|
fill: "currentColor"
|
|
8347
8333
|
}));
|
|
8348
8334
|
}));
|
|
@@ -8406,22 +8392,7 @@ this.primereact.icons.sortamountupalt = (function (exports, React, iconbase) {
|
|
|
8406
8392
|
fill: "none",
|
|
8407
8393
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8408
8394
|
}, pti), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8409
|
-
d: "
|
|
8410
|
-
fill: "currentColor"
|
|
8411
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8412
|
-
d: "M2.59841 13.2009C2.27036 13.2009 1.99833 12.9288 1.99833 12.6008V1.39922C1.99833 1.07117 2.27036 0.799133 2.59841 0.799133C2.92646 0.799133 3.19849 1.07117 3.19849 1.39922V12.6008C3.19849 12.9288 2.92646 13.2009 2.59841 13.2009Z",
|
|
8413
|
-
fill: "currentColor"
|
|
8414
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8415
|
-
d: "M13.3999 11.2006H6.99902C6.67098 11.2006 6.39894 10.9285 6.39894 10.6005C6.39894 10.2725 6.67098 10.0004 6.99902 10.0004H13.3999C13.728 10.0004 14 10.2725 14 10.6005C14 10.9285 13.728 11.2006 13.3999 11.2006Z",
|
|
8416
|
-
fill: "currentColor"
|
|
8417
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8418
|
-
d: "M10.1995 6.39991H6.99902C6.67098 6.39991 6.39894 6.12788 6.39894 5.79983C6.39894 5.47179 6.67098 5.19975 6.99902 5.19975H10.1995C10.5275 5.19975 10.7996 5.47179 10.7996 5.79983C10.7996 6.12788 10.5275 6.39991 10.1995 6.39991Z",
|
|
8419
|
-
fill: "currentColor"
|
|
8420
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8421
|
-
d: "M8.59925 3.99958H6.99902C6.67098 3.99958 6.39894 3.72754 6.39894 3.3995C6.39894 3.07145 6.67098 2.79941 6.99902 2.79941H8.59925C8.92729 2.79941 9.19933 3.07145 9.19933 3.3995C9.19933 3.72754 8.92729 3.99958 8.59925 3.99958Z",
|
|
8422
|
-
fill: "currentColor"
|
|
8423
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
8424
|
-
d: "M11.7997 8.80025H6.99902C6.67098 8.80025 6.39894 8.52821 6.39894 8.20017C6.39894 7.87212 6.67098 7.60008 6.99902 7.60008H11.7997C12.1277 7.60008 12.3998 7.87212 12.3998 8.20017C12.3998 8.52821 12.1277 8.80025 11.7997 8.80025Z",
|
|
8395
|
+
d: "M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z",
|
|
8425
8396
|
fill: "currentColor"
|
|
8426
8397
|
}));
|
|
8427
8398
|
}));
|
|
@@ -9337,6 +9308,7 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
|
|
|
9337
9308
|
autoZIndex: true,
|
|
9338
9309
|
baseZIndex: 0,
|
|
9339
9310
|
className: null,
|
|
9311
|
+
closeOnEscape: false,
|
|
9340
9312
|
content: null,
|
|
9341
9313
|
disabled: false,
|
|
9342
9314
|
event: null,
|
|
@@ -9407,6 +9379,13 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
|
|
|
9407
9379
|
componentbase.useHandleStyle(TooltipBase.css.styles, isUnstyled, {
|
|
9408
9380
|
name: 'tooltip'
|
|
9409
9381
|
});
|
|
9382
|
+
hooks.useGlobalOnEscapeKey({
|
|
9383
|
+
callback: function callback() {
|
|
9384
|
+
hide();
|
|
9385
|
+
},
|
|
9386
|
+
when: props.closeOnEscape,
|
|
9387
|
+
priority: [hooks.ESC_KEY_HANDLING_PRIORITIES.TOOLTIP, 0]
|
|
9388
|
+
});
|
|
9410
9389
|
var elementRef = React__namespace.useRef(null);
|
|
9411
9390
|
var textRef = React__namespace.useRef(null);
|
|
9412
9391
|
var currentTargetRef = React__namespace.useRef(null);
|
|
@@ -9804,7 +9783,8 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
|
|
|
9804
9783
|
};
|
|
9805
9784
|
}, [visibleState]);
|
|
9806
9785
|
hooks.useUpdateEffect(function () {
|
|
9807
|
-
|
|
9786
|
+
var position = getPosition(currentTargetRef.current);
|
|
9787
|
+
if (visibleState && position !== 'mouse') {
|
|
9808
9788
|
applyDelay('updateDelay', function () {
|
|
9809
9789
|
updateText(currentTargetRef.current, function () {
|
|
9810
9790
|
align(currentTargetRef.current);
|
|
@@ -11012,6 +10992,61 @@ this.primereact.checkbox = (function (exports, React, api, componentbase, hooks,
|
|
|
11012
10992
|
return obj;
|
|
11013
10993
|
}
|
|
11014
10994
|
|
|
10995
|
+
function _arrayWithHoles(arr) {
|
|
10996
|
+
if (Array.isArray(arr)) return arr;
|
|
10997
|
+
}
|
|
10998
|
+
|
|
10999
|
+
function _iterableToArrayLimit(r, l) {
|
|
11000
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
11001
|
+
if (null != t) {
|
|
11002
|
+
var e,
|
|
11003
|
+
n,
|
|
11004
|
+
i,
|
|
11005
|
+
u,
|
|
11006
|
+
a = [],
|
|
11007
|
+
f = !0,
|
|
11008
|
+
o = !1;
|
|
11009
|
+
try {
|
|
11010
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
11011
|
+
if (Object(t) !== t) return;
|
|
11012
|
+
f = !1;
|
|
11013
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
11014
|
+
} catch (r) {
|
|
11015
|
+
o = !0, n = r;
|
|
11016
|
+
} finally {
|
|
11017
|
+
try {
|
|
11018
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
11019
|
+
} finally {
|
|
11020
|
+
if (o) throw n;
|
|
11021
|
+
}
|
|
11022
|
+
}
|
|
11023
|
+
return a;
|
|
11024
|
+
}
|
|
11025
|
+
}
|
|
11026
|
+
|
|
11027
|
+
function _arrayLikeToArray(arr, len) {
|
|
11028
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
11029
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
11030
|
+
return arr2;
|
|
11031
|
+
}
|
|
11032
|
+
|
|
11033
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
11034
|
+
if (!o) return;
|
|
11035
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
11036
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
11037
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
11038
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
11039
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
11040
|
+
}
|
|
11041
|
+
|
|
11042
|
+
function _nonIterableRest() {
|
|
11043
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
11044
|
+
}
|
|
11045
|
+
|
|
11046
|
+
function _slicedToArray(arr, i) {
|
|
11047
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
11048
|
+
}
|
|
11049
|
+
|
|
11015
11050
|
var classes = {
|
|
11016
11051
|
box: 'p-checkbox-box',
|
|
11017
11052
|
input: 'p-checkbox-input',
|
|
@@ -11067,8 +11102,15 @@ this.primereact.checkbox = (function (exports, React, api, componentbase, hooks,
|
|
|
11067
11102
|
var mergeProps = hooks.useMergeProps();
|
|
11068
11103
|
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
11069
11104
|
var props = CheckboxBase.getProps(inProps, context);
|
|
11105
|
+
var _React$useState = React__namespace.useState(false),
|
|
11106
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
11107
|
+
focusedState = _React$useState2[0],
|
|
11108
|
+
setFocusedState = _React$useState2[1];
|
|
11070
11109
|
var _CheckboxBase$setMeta = CheckboxBase.setMetaData({
|
|
11071
11110
|
props: props,
|
|
11111
|
+
state: {
|
|
11112
|
+
focused: focusedState
|
|
11113
|
+
},
|
|
11072
11114
|
context: {
|
|
11073
11115
|
checked: props.checked === props.trueValue,
|
|
11074
11116
|
disabled: props.disabled
|
|
@@ -11122,10 +11164,12 @@ this.primereact.checkbox = (function (exports, React, api, componentbase, hooks,
|
|
|
11122
11164
|
};
|
|
11123
11165
|
var _onFocus = function onFocus() {
|
|
11124
11166
|
var _props$onFocus;
|
|
11167
|
+
setFocusedState(true);
|
|
11125
11168
|
props === null || props === void 0 || (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props);
|
|
11126
11169
|
};
|
|
11127
11170
|
var _onBlur = function onBlur() {
|
|
11128
11171
|
var _props$onBlur;
|
|
11172
|
+
setFocusedState(false);
|
|
11129
11173
|
props === null || props === void 0 || (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props);
|
|
11130
11174
|
};
|
|
11131
11175
|
React__namespace.useImperativeHandle(ref, function () {
|
|
@@ -11525,6 +11569,7 @@ this.primereact.button = (function (exports, React, api, componentbase, hooks, u
|
|
|
11525
11569
|
var rootProps = mergeProps({
|
|
11526
11570
|
ref: elementRef,
|
|
11527
11571
|
'aria-label': defaultAriaLabel,
|
|
11572
|
+
'data-pc-autofocus': props.autoFocus,
|
|
11528
11573
|
className: utils.classNames(props.className, cx('root', {
|
|
11529
11574
|
size: size,
|
|
11530
11575
|
disabled: disabled
|
|
@@ -12028,7 +12073,8 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
12028
12073
|
cx = _InputNumberBase$setM.cx,
|
|
12029
12074
|
isUnstyled = _InputNumberBase$setM.isUnstyled;
|
|
12030
12075
|
componentbase.useHandleStyle(InputNumberBase.css.styles, isUnstyled, {
|
|
12031
|
-
name: 'inputnumber'
|
|
12076
|
+
name: 'inputnumber',
|
|
12077
|
+
styled: true
|
|
12032
12078
|
});
|
|
12033
12079
|
var elementRef = React__namespace.useRef(null);
|
|
12034
12080
|
var inputRef = React__namespace.useRef(null);
|
|
@@ -12055,14 +12101,15 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
12055
12101
|
var vertical = props.showButtons && props.buttonLayout === 'vertical';
|
|
12056
12102
|
var inputMode = props.inputMode || (props.mode === 'decimal' && !props.minFractionDigits ? 'numeric' : 'decimal');
|
|
12057
12103
|
var getOptions = function getOptions() {
|
|
12104
|
+
var _props$minFractionDig, _props$maxFractionDig;
|
|
12058
12105
|
return {
|
|
12059
12106
|
localeMatcher: props.localeMatcher,
|
|
12060
12107
|
style: props.mode,
|
|
12061
12108
|
currency: props.currency,
|
|
12062
12109
|
currencyDisplay: props.currencyDisplay,
|
|
12063
12110
|
useGrouping: props.useGrouping,
|
|
12064
|
-
minimumFractionDigits: props.minFractionDigits,
|
|
12065
|
-
maximumFractionDigits: props.maxFractionDigits,
|
|
12111
|
+
minimumFractionDigits: (_props$minFractionDig = props.minFractionDigits) !== null && _props$minFractionDig !== void 0 ? _props$minFractionDig : undefined,
|
|
12112
|
+
maximumFractionDigits: (_props$maxFractionDig = props.maxFractionDigits) !== null && _props$maxFractionDig !== void 0 ? _props$maxFractionDig : undefined,
|
|
12066
12113
|
roundingMode: props.roundingMode
|
|
12067
12114
|
};
|
|
12068
12115
|
};
|
|
@@ -12480,7 +12527,7 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
12480
12527
|
if (_char2) {
|
|
12481
12528
|
var _isDecimalSign = isDecimalSign(_char2);
|
|
12482
12529
|
var _isMinusSign = isMinusSign(_char2);
|
|
12483
|
-
if (
|
|
12530
|
+
if (Number(_char2) >= 0 && Number(_char2) <= 9 || _isMinusSign || _isDecimalSign) {
|
|
12484
12531
|
insert(event, _char2, {
|
|
12485
12532
|
isDecimalSign: _isDecimalSign,
|
|
12486
12533
|
isMinusSign: _isMinusSign
|
|
@@ -13009,6 +13056,7 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
13009
13056
|
"aria-valuenow": props.value
|
|
13010
13057
|
}, ariaProps, dataProps, {
|
|
13011
13058
|
pt: ptm('input'),
|
|
13059
|
+
unstyled: props.unstyled,
|
|
13012
13060
|
__parentMetadata: {
|
|
13013
13061
|
parent: metaData
|
|
13014
13062
|
}
|
|
@@ -13932,6 +13980,8 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
13932
13980
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest();
|
|
13933
13981
|
}
|
|
13934
13982
|
|
|
13983
|
+
function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13984
|
+
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13935
13985
|
var classes = {
|
|
13936
13986
|
root: function root(_ref) {
|
|
13937
13987
|
var props = _ref.props,
|
|
@@ -14016,7 +14066,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
14016
14066
|
footer: 'p-dropdown-footer',
|
|
14017
14067
|
transition: 'p-connected-overlay'
|
|
14018
14068
|
};
|
|
14019
|
-
var styles = "\n@layer primereact {\n .p-dropdown {\n display: inline-flex;\n cursor: pointer;\n position: relative;\n user-select: none;\n }\n \n .p-dropdown-trigger {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n }\n \n .p-dropdown-label {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n flex: 1 1 auto;\n width: 1%;\n text-overflow: ellipsis;\n cursor: pointer;\n }\n \n .p-dropdown-label-empty {\n overflow: hidden;\n visibility: hidden;\n }\n \n input.p-dropdown-label {\n cursor: default;\n }\n \n .p-dropdown .p-dropdown-panel {\n min-width: 100%;\n }\n \n .p-dropdown-panel {\n position: absolute;\n top: 0;\n left: 0;\n }\n \n .p-dropdown-items-wrapper {\n overflow: auto;\n }\n \n .p-dropdown-item {\n cursor: pointer;\n font-weight: normal;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n }\n \n .p-dropdown-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n \n .p-dropdown-filter {\n width: 100%;\n }\n \n .p-dropdown-filter-container {\n position: relative;\n }\n \n .p-dropdown-clear-icon,\n .p-dropdown-filter-icon,\n .p-dropdown-filter-clear-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n }\n \n .p-fluid .p-dropdown {\n display: flex;\n }\n \n .p-fluid .p-dropdown .p-dropdown-label {\n width: 1%;\n }\n}\n";
|
|
14069
|
+
var styles = "\n@layer primereact {\n .p-dropdown {\n display: inline-flex;\n cursor: pointer;\n position: relative;\n user-select: none;\n }\n \n .p-dropdown-trigger {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n }\n \n .p-dropdown-label {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n flex: 1 1 auto;\n width: 1%;\n text-overflow: ellipsis;\n cursor: pointer;\n }\n \n .p-dropdown-label-empty {\n overflow: hidden;\n visibility: hidden;\n }\n \n input.p-dropdown-label {\n cursor: default;\n }\n \n .p-dropdown .p-dropdown-panel {\n min-width: 100%;\n }\n \n .p-dropdown-panel {\n position: absolute;\n top: 0;\n left: 0;\n }\n \n .p-dropdown-items-wrapper {\n overflow: auto;\n }\n \n .p-dropdown-item {\n cursor: pointer;\n font-weight: normal;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n }\n \n .p-dropdown-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n \n .p-dropdown-filter {\n width: 100%;\n }\n \n .p-dropdown-filter-container {\n position: relative;\n }\n \n .p-dropdown-clear-icon,\n .p-dropdown-filter-icon,\n .p-dropdown-filter-clear-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n right: 2rem;\n }\n \n .p-fluid .p-dropdown {\n display: flex;\n }\n \n .p-fluid .p-dropdown .p-dropdown-label {\n width: 1%;\n }\n}\n";
|
|
14020
14070
|
var inlineStyles = {
|
|
14021
14071
|
wrapper: function wrapper(_ref9) {
|
|
14022
14072
|
var props = _ref9.props;
|
|
@@ -14026,7 +14076,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
14026
14076
|
},
|
|
14027
14077
|
panel: function panel(_ref10) {
|
|
14028
14078
|
var props = _ref10.props;
|
|
14029
|
-
props.panelStyle;
|
|
14079
|
+
return _objectSpread$2({}, props.panelStyle);
|
|
14030
14080
|
}
|
|
14031
14081
|
};
|
|
14032
14082
|
var DropdownBase = componentbase.ComponentBase.extend({
|
|
@@ -14944,8 +14994,9 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
14944
14994
|
}
|
|
14945
14995
|
};
|
|
14946
14996
|
var onEditableInputChange = function onEditableInputChange(event) {
|
|
14997
|
+
!overlayVisibleState && show();
|
|
14947
14998
|
var searchIndex = null;
|
|
14948
|
-
if (event.target.value) {
|
|
14999
|
+
if (event.target.value && visibleOptions) {
|
|
14949
15000
|
searchIndex = visibleOptions.findIndex(function (item) {
|
|
14950
15001
|
return getOptionLabel(item).toLocaleLowerCase().startsWith(event.target.value.toLocaleLowerCase());
|
|
14951
15002
|
});
|
|
@@ -15151,10 +15202,15 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
15151
15202
|
}
|
|
15152
15203
|
};
|
|
15153
15204
|
var getOptionLabel = function getOptionLabel(option) {
|
|
15154
|
-
|
|
15205
|
+
if (utils.ObjectUtils.isScalar(option)) {
|
|
15206
|
+
return "".concat(option);
|
|
15207
|
+
}
|
|
15208
|
+
var optionLabel = props.optionLabel ? utils.ObjectUtils.resolveFieldData(option, props.optionLabel) : option['label'];
|
|
15209
|
+
return "".concat(optionLabel);
|
|
15155
15210
|
};
|
|
15156
15211
|
var getOptionValue = function getOptionValue(option) {
|
|
15157
|
-
|
|
15212
|
+
var optionValue = props.optionValue ? utils.ObjectUtils.resolveFieldData(option, props.optionValue) : option ? option['value'] : utils.ObjectUtils.resolveFieldData(option, 'value');
|
|
15213
|
+
return utils.ObjectUtils.isNotEmpty(optionValue) ? optionValue : option;
|
|
15158
15214
|
};
|
|
15159
15215
|
var getOptionRenderKey = function getOptionRenderKey(option) {
|
|
15160
15216
|
return props.dataKey ? utils.ObjectUtils.resolveFieldData(option, props.dataKey) : getOptionLabel(option);
|
|
@@ -15327,7 +15383,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
15327
15383
|
}, ariaProps), ptm('input'));
|
|
15328
15384
|
return /*#__PURE__*/React__namespace.createElement("input", _inputProps);
|
|
15329
15385
|
}
|
|
15330
|
-
var content = props.valueTemplate ? utils.ObjectUtils.getJSXElement(props.valueTemplate, selectedOption, props) : label || props.placeholder ||
|
|
15386
|
+
var content = props.valueTemplate ? utils.ObjectUtils.getJSXElement(props.valueTemplate, selectedOption, props) : label || props.placeholder || props.emptyMessage || /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, "\xA0");
|
|
15331
15387
|
var inputProps = mergeProps({
|
|
15332
15388
|
ref: inputRef,
|
|
15333
15389
|
className: cx('input', {
|
|
@@ -15344,7 +15400,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
15344
15400
|
}
|
|
15345
15401
|
};
|
|
15346
15402
|
var createClearIcon = function createClearIcon() {
|
|
15347
|
-
if (props.value != null && props.showClear && !props.disabled) {
|
|
15403
|
+
if (props.value != null && props.showClear && !props.disabled && !utils.ObjectUtils.isEmpty(props.options)) {
|
|
15348
15404
|
var clearIconProps = mergeProps({
|
|
15349
15405
|
className: cx('clearIcon'),
|
|
15350
15406
|
onPointerUp: clear,
|
|
@@ -15706,6 +15762,15 @@ this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, c
|
|
|
15706
15762
|
var getTarget = function getTarget() {
|
|
15707
15763
|
return firstFocusableElementRef.current && firstFocusableElementRef.current.parentElement;
|
|
15708
15764
|
};
|
|
15765
|
+
|
|
15766
|
+
/**
|
|
15767
|
+
* This method sets the auto focus on the first focusable element within the target element.
|
|
15768
|
+
* It first tries to find a focusable element using the autoFocusSelector. If no such element is found,
|
|
15769
|
+
* it then tries to find a focusable element using the firstFocusableSelector.
|
|
15770
|
+
* If the autoFocus prop is set to true and a focusable element is found, it sets the focus on that element.
|
|
15771
|
+
*
|
|
15772
|
+
* @param {HTMLElement} target - The target element within which to find a focusable element.
|
|
15773
|
+
*/
|
|
15709
15774
|
var setAutoFocus = function setAutoFocus(target) {
|
|
15710
15775
|
var _ref = props || {},
|
|
15711
15776
|
_ref$autoFocusSelecto = _ref.autoFocusSelector,
|
|
@@ -15714,7 +15779,9 @@ this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, c
|
|
|
15714
15779
|
firstFocusableSelector = _ref$firstFocusableSe === void 0 ? '' : _ref$firstFocusableSe,
|
|
15715
15780
|
_ref$autoFocus = _ref.autoFocus,
|
|
15716
15781
|
autoFocus = _ref$autoFocus === void 0 ? false : _ref$autoFocus;
|
|
15717
|
-
var
|
|
15782
|
+
var defaultAutoFocusSelector = "".concat(getComputedSelector(autoFocusSelector));
|
|
15783
|
+
var computedAutoFocusSelector = "[autofocus]".concat(defaultAutoFocusSelector, ", [data-pc-autofocus='true']").concat(defaultAutoFocusSelector);
|
|
15784
|
+
var focusableElement = utils.DomHandler.getFirstFocusableElement(target, computedAutoFocusSelector);
|
|
15718
15785
|
autoFocus && !focusableElement && (focusableElement = utils.DomHandler.getFirstFocusableElement(target, getComputedSelector(firstFocusableSelector)));
|
|
15719
15786
|
utils.DomHandler.focus(focusableElement);
|
|
15720
15787
|
};
|
|
@@ -16336,7 +16403,9 @@ this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, c
|
|
|
16336
16403
|
'aria-label': ariaLabel,
|
|
16337
16404
|
onClick: onClose,
|
|
16338
16405
|
onKeyDown: function onKeyDown(ev) {
|
|
16339
|
-
|
|
16406
|
+
if (ev.key !== 'Escape') {
|
|
16407
|
+
ev.stopPropagation();
|
|
16408
|
+
}
|
|
16340
16409
|
}
|
|
16341
16410
|
}, ptm('closeButton'));
|
|
16342
16411
|
return /*#__PURE__*/React__namespace.createElement("button", closeButtonProps, headerCloseIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null));
|
|
@@ -16493,7 +16562,7 @@ this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, c
|
|
|
16493
16562
|
var rootElement = /*#__PURE__*/React__namespace.createElement("div", maskProps, /*#__PURE__*/React__namespace.createElement(csstransition.CSSTransition, _extends({
|
|
16494
16563
|
nodeRef: dialogRef
|
|
16495
16564
|
}, transitionProps), /*#__PURE__*/React__namespace.createElement("div", rootProps, /*#__PURE__*/React__namespace.createElement(FocusTrap$1, {
|
|
16496
|
-
autoFocus:
|
|
16565
|
+
autoFocus: props.focusOnShow
|
|
16497
16566
|
}, contentElement))));
|
|
16498
16567
|
return /*#__PURE__*/React__namespace.createElement(portal.Portal, {
|
|
16499
16568
|
element: rootElement,
|
|
@@ -16961,18 +17030,20 @@ this.primereact.paginator = (function (exports, React, api, componentbase, hooks
|
|
|
16961
17030
|
_defineProperty(PrimeReact, "changeTheme", function (currentTheme, newTheme, linkElementId, callback) {
|
|
16962
17031
|
var _linkElement$parentNo;
|
|
16963
17032
|
var linkElement = document.getElementById(linkElementId);
|
|
16964
|
-
|
|
17033
|
+
if (!linkElement) {
|
|
17034
|
+
throw Error("Element with id ".concat(linkElementId, " not found."));
|
|
17035
|
+
}
|
|
16965
17036
|
var newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme);
|
|
16966
|
-
|
|
16967
|
-
|
|
16968
|
-
|
|
16969
|
-
|
|
16970
|
-
|
|
17037
|
+
var newLinkElement = document.createElement('link');
|
|
17038
|
+
newLinkElement.setAttribute('rel', 'stylesheet');
|
|
17039
|
+
newLinkElement.setAttribute('id', linkElementId);
|
|
17040
|
+
newLinkElement.setAttribute('href', newThemeUrl);
|
|
17041
|
+
newLinkElement.addEventListener('load', function () {
|
|
16971
17042
|
if (callback) {
|
|
16972
17043
|
callback();
|
|
16973
17044
|
}
|
|
16974
17045
|
});
|
|
16975
|
-
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.
|
|
17046
|
+
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.replaceChild(newLinkElement, linkElement);
|
|
16976
17047
|
});
|
|
16977
17048
|
|
|
16978
17049
|
var locales = {
|
|
@@ -18083,8 +18154,15 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
|
|
|
18083
18154
|
var mergeProps = hooks.useMergeProps();
|
|
18084
18155
|
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
18085
18156
|
var props = CheckboxBase.getProps(inProps, context);
|
|
18157
|
+
var _React$useState = React__namespace.useState(false),
|
|
18158
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
18159
|
+
focusedState = _React$useState2[0],
|
|
18160
|
+
setFocusedState = _React$useState2[1];
|
|
18086
18161
|
var _CheckboxBase$setMeta = CheckboxBase.setMetaData({
|
|
18087
18162
|
props: props,
|
|
18163
|
+
state: {
|
|
18164
|
+
focused: focusedState
|
|
18165
|
+
},
|
|
18088
18166
|
context: {
|
|
18089
18167
|
checked: props.checked === props.trueValue,
|
|
18090
18168
|
disabled: props.disabled
|
|
@@ -18138,10 +18216,12 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
|
|
|
18138
18216
|
};
|
|
18139
18217
|
var _onFocus = function onFocus() {
|
|
18140
18218
|
var _props$onFocus;
|
|
18219
|
+
setFocusedState(true);
|
|
18141
18220
|
props === null || props === void 0 || (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props);
|
|
18142
18221
|
};
|
|
18143
18222
|
var _onBlur = function onBlur() {
|
|
18144
18223
|
var _props$onBlur;
|
|
18224
|
+
setFocusedState(false);
|
|
18145
18225
|
props === null || props === void 0 || (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props);
|
|
18146
18226
|
};
|
|
18147
18227
|
React__namespace.useImperativeHandle(ref, function () {
|
|
@@ -18530,9 +18610,13 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
|
|
|
18530
18610
|
break;
|
|
18531
18611
|
case 'Enter':
|
|
18532
18612
|
case 'NumpadEnter':
|
|
18533
|
-
case 'Space':
|
|
18534
18613
|
onEnterKey(event);
|
|
18535
18614
|
break;
|
|
18615
|
+
case 'Space':
|
|
18616
|
+
if (!['INPUT'].includes(event.target.nodeName)) {
|
|
18617
|
+
onEnterKey(event);
|
|
18618
|
+
}
|
|
18619
|
+
break;
|
|
18536
18620
|
}
|
|
18537
18621
|
};
|
|
18538
18622
|
var onArrowDown = function onArrowDown(event) {
|
|
@@ -18757,18 +18841,18 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
|
|
|
18757
18841
|
}
|
|
18758
18842
|
};
|
|
18759
18843
|
var onDropPointDragOver = function onDropPointDragOver(event) {
|
|
18760
|
-
if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
|
|
18844
|
+
if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
|
|
18761
18845
|
event.dataTransfer.dropEffect = 'move';
|
|
18762
18846
|
event.preventDefault();
|
|
18763
18847
|
}
|
|
18764
18848
|
};
|
|
18765
18849
|
var onDropPointDragEnter = function onDropPointDragEnter(event) {
|
|
18766
|
-
if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
|
|
18850
|
+
if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
|
|
18767
18851
|
utils.DomHandler.addClass(event.target, 'p-treenode-droppoint-active');
|
|
18768
18852
|
}
|
|
18769
18853
|
};
|
|
18770
18854
|
var onDropPointDragLeave = function onDropPointDragLeave(event) {
|
|
18771
|
-
if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
|
|
18855
|
+
if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
|
|
18772
18856
|
utils.DomHandler.removeClass(event.target, 'p-treenode-droppoint-active');
|
|
18773
18857
|
}
|
|
18774
18858
|
};
|
|
@@ -18787,19 +18871,19 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
|
|
|
18787
18871
|
}
|
|
18788
18872
|
};
|
|
18789
18873
|
var onDragOver = function onDragOver(event) {
|
|
18790
|
-
if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
|
|
18874
|
+
if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
|
|
18791
18875
|
event.dataTransfer.dropEffect = 'move';
|
|
18792
18876
|
event.preventDefault();
|
|
18793
18877
|
event.stopPropagation();
|
|
18794
18878
|
}
|
|
18795
18879
|
};
|
|
18796
18880
|
var onDragEnter = function onDragEnter(event) {
|
|
18797
|
-
if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
|
|
18881
|
+
if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
|
|
18798
18882
|
utils.DomHandler.addClass(contentRef.current, 'p-treenode-dragover');
|
|
18799
18883
|
}
|
|
18800
18884
|
};
|
|
18801
18885
|
var onDragLeave = function onDragLeave(event) {
|
|
18802
|
-
if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
|
|
18886
|
+
if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
|
|
18803
18887
|
var rect = event.currentTarget.getBoundingClientRect();
|
|
18804
18888
|
if (event.nativeEvent.x > rect.left + rect.width || event.nativeEvent.x < rect.left || event.nativeEvent.y >= Math.floor(rect.top + rect.height) || event.nativeEvent.y < rect.top) {
|
|
18805
18889
|
utils.DomHandler.removeClass(contentRef.current, 'p-treenode-dragover');
|