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/datatable/datatable.d.ts
CHANGED
|
@@ -943,7 +943,15 @@ export interface DataTablePassThroughOptions {
|
|
|
943
943
|
/**
|
|
944
944
|
* Uses to pass attributes to the rowgroup footer's DOM element.
|
|
945
945
|
*/
|
|
946
|
-
|
|
946
|
+
rowGroupFooter?: DataTablePassThroughType<React.HTMLAttributes<HTMLTableRowElement>>;
|
|
947
|
+
/**
|
|
948
|
+
* Uses to pass attributes to the rowgroup toggler's DOM element.
|
|
949
|
+
*/
|
|
950
|
+
rowGroupToggler?: DataTablePassThroughType<React.HTMLAttributes<HTMLButtonElement>>;
|
|
951
|
+
/**
|
|
952
|
+
* Uses to pass attributes to the rowgroup toggler icon's DOM element.
|
|
953
|
+
*/
|
|
954
|
+
rowGroupTogglerIcon?: DataTablePassThroughType<React.SVGProps<SVGSVGElement> | React.HTMLAttributes<HTMLSpanElement>>;
|
|
947
955
|
/**
|
|
948
956
|
* Uses to pass attributes to the empty message's DOM element.
|
|
949
957
|
*/
|
|
@@ -1004,6 +1012,34 @@ export interface DataTablePassThroughOptions {
|
|
|
1004
1012
|
hooks?: ComponentHooks;
|
|
1005
1013
|
}
|
|
1006
1014
|
|
|
1015
|
+
/**
|
|
1016
|
+
* Defines current options in DataTable bodyRow.
|
|
1017
|
+
*/
|
|
1018
|
+
export interface DataTableBodyRowContext {
|
|
1019
|
+
selected: boolean;
|
|
1020
|
+
selectable: boolean;
|
|
1021
|
+
stripedRows: boolean;
|
|
1022
|
+
index: number;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* Defines current inline state in DataTable bodyRow.
|
|
1027
|
+
*/
|
|
1028
|
+
export interface DataTableBodyRowState {
|
|
1029
|
+
editing: boolean;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* Custom passthrough(pt) option method for bodyRow.
|
|
1034
|
+
*/
|
|
1035
|
+
export interface DataTableBodyRowPassThroughMethodOptions<TValue extends DataTableValueArray> {
|
|
1036
|
+
hostName: string;
|
|
1037
|
+
context: DataTableBodyRowContext;
|
|
1038
|
+
parent: DataTablePassThroughMethodOptions<TValue>;
|
|
1039
|
+
props: DataTableBaseProps<TValue>;
|
|
1040
|
+
state: DataTableBodyRowState;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1007
1043
|
type SortOrder = 1 | 0 | -1 | null | undefined;
|
|
1008
1044
|
|
|
1009
1045
|
/**
|
|
@@ -1081,7 +1117,7 @@ interface DataTableBaseProps<TValue extends DataTableValueArray> extends Omit<Re
|
|
|
1081
1117
|
dragSelection?: boolean;
|
|
1082
1118
|
/**
|
|
1083
1119
|
* Defines editing mode, options are "cell" and "row".
|
|
1084
|
-
* @defaultValue
|
|
1120
|
+
* @defaultValue null
|
|
1085
1121
|
*/
|
|
1086
1122
|
editMode?: string | undefined;
|
|
1087
1123
|
/**
|
|
@@ -159,6 +159,19 @@ function _slicedToArray(arr, i) {
|
|
|
159
159
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest();
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
+
var getStorage = function getStorage(stateStorageProp) {
|
|
163
|
+
switch (stateStorageProp) {
|
|
164
|
+
case 'local':
|
|
165
|
+
return window.localStorage;
|
|
166
|
+
case 'session':
|
|
167
|
+
return window.sessionStorage;
|
|
168
|
+
case 'custom':
|
|
169
|
+
return null;
|
|
170
|
+
default:
|
|
171
|
+
throw new Error(stateStorageProp + ' is not a valid value for the state storage, supported values are "local", "session" and "custom".');
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
|
|
162
175
|
var ColumnBase = ComponentBase.extend({
|
|
163
176
|
defaultProps: {
|
|
164
177
|
__TYPE: 'Column',
|
|
@@ -693,8 +706,15 @@ var Checkbox = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
|
|
|
693
706
|
var mergeProps = useMergeProps();
|
|
694
707
|
var context = React.useContext(PrimeReactContext);
|
|
695
708
|
var props = CheckboxBase.getProps(inProps, context);
|
|
709
|
+
var _React$useState = React.useState(false),
|
|
710
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
711
|
+
focusedState = _React$useState2[0],
|
|
712
|
+
setFocusedState = _React$useState2[1];
|
|
696
713
|
var _CheckboxBase$setMeta = CheckboxBase.setMetaData({
|
|
697
714
|
props: props,
|
|
715
|
+
state: {
|
|
716
|
+
focused: focusedState
|
|
717
|
+
},
|
|
698
718
|
context: {
|
|
699
719
|
checked: props.checked === props.trueValue,
|
|
700
720
|
disabled: props.disabled
|
|
@@ -748,10 +768,12 @@ var Checkbox = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
|
|
|
748
768
|
};
|
|
749
769
|
var _onFocus = function onFocus() {
|
|
750
770
|
var _props$onFocus;
|
|
771
|
+
setFocusedState(true);
|
|
751
772
|
props === null || props === void 0 || (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props);
|
|
752
773
|
};
|
|
753
774
|
var _onBlur = function onBlur() {
|
|
754
775
|
var _props$onBlur;
|
|
776
|
+
setFocusedState(false);
|
|
755
777
|
props === null || props === void 0 || (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props);
|
|
756
778
|
};
|
|
757
779
|
React.useImperativeHandle(ref, function () {
|
|
@@ -897,8 +919,9 @@ var RowCheckbox = /*#__PURE__*/React.memo(function (props) {
|
|
|
897
919
|
'aria-label': props.ariaLabel,
|
|
898
920
|
checked: props.checked,
|
|
899
921
|
icon: checkIcon,
|
|
900
|
-
disabled: props.disabled
|
|
901
|
-
|
|
922
|
+
disabled: props.disabled,
|
|
923
|
+
pt: getColumnPTOptions('rowCheckbox')
|
|
924
|
+
});
|
|
902
925
|
return /*#__PURE__*/React.createElement(Checkbox, checkboxProps);
|
|
903
926
|
});
|
|
904
927
|
RowCheckbox.displayName = 'RowCheckbox';
|
|
@@ -1055,7 +1078,10 @@ var RadioButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1055
1078
|
})),
|
|
1056
1079
|
style: props.style,
|
|
1057
1080
|
'data-p-checked': props.checked
|
|
1058
|
-
},
|
|
1081
|
+
}, otherProps, ptm('root'));
|
|
1082
|
+
delete rootProps.input;
|
|
1083
|
+
delete rootProps.box;
|
|
1084
|
+
delete rootProps.icon;
|
|
1059
1085
|
var createInputElement = function createInputElement() {
|
|
1060
1086
|
var ariaProps = ObjectUtils.reduceKeys(otherProps, DomHandler.ARIA_PROPS);
|
|
1061
1087
|
var inputProps = mergeProps(_objectSpread$b({
|
|
@@ -1071,7 +1097,7 @@ var RadioButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1071
1097
|
required: props.required,
|
|
1072
1098
|
tabIndex: props.tabIndex,
|
|
1073
1099
|
className: cx('input')
|
|
1074
|
-
}, ariaProps), ptm('input'));
|
|
1100
|
+
}, ariaProps), inProps.input, ptm('input'));
|
|
1075
1101
|
return /*#__PURE__*/React.createElement("input", _extends({
|
|
1076
1102
|
ref: inputRef
|
|
1077
1103
|
}, inputProps));
|
|
@@ -1079,10 +1105,10 @@ var RadioButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1079
1105
|
var createBoxElement = function createBoxElement() {
|
|
1080
1106
|
var boxProps = mergeProps({
|
|
1081
1107
|
className: cx('box')
|
|
1082
|
-
}, ptm('box'));
|
|
1108
|
+
}, inProps.box, ptm('box'));
|
|
1083
1109
|
var iconProps = mergeProps({
|
|
1084
1110
|
className: cx('icon')
|
|
1085
|
-
}, ptm('icon'));
|
|
1111
|
+
}, inProps.icon, ptm('icon'));
|
|
1086
1112
|
return /*#__PURE__*/React.createElement("div", boxProps, /*#__PURE__*/React.createElement("div", iconProps));
|
|
1087
1113
|
};
|
|
1088
1114
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", _extends({
|
|
@@ -1130,8 +1156,10 @@ var RowRadioButton = /*#__PURE__*/React.memo(function (props) {
|
|
|
1130
1156
|
checked: props.checked,
|
|
1131
1157
|
disabled: props.disabled,
|
|
1132
1158
|
name: "".concat(props.tableSelector, "_dt_radio"),
|
|
1133
|
-
onChange: onChange
|
|
1134
|
-
|
|
1159
|
+
onChange: onChange,
|
|
1160
|
+
unstyled: props.unstyled,
|
|
1161
|
+
pt: getColumnPTOptions('rowRadioButton')
|
|
1162
|
+
});
|
|
1135
1163
|
return /*#__PURE__*/React.createElement(RadioButton, radioButtonProps);
|
|
1136
1164
|
});
|
|
1137
1165
|
RowRadioButton.displayName = 'RowRadioButton';
|
|
@@ -1156,7 +1184,6 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1156
1184
|
var keyHelperRef = React.useRef(null);
|
|
1157
1185
|
var overlayEventListener = React.useRef(null);
|
|
1158
1186
|
var selfClick = React.useRef(false);
|
|
1159
|
-
var tabindexTimeout = React.useRef(null);
|
|
1160
1187
|
var initFocusTimeout = React.useRef(null);
|
|
1161
1188
|
var editingRowDataStateRef = React.useRef(null);
|
|
1162
1189
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
@@ -1193,7 +1220,7 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1193
1220
|
var field = getColumnProp('field') || "field_".concat(props.index);
|
|
1194
1221
|
var editingKey = props.dataKey ? props.rowData && props.rowData[props.dataKey] || props.rowIndex : props.rowIndex;
|
|
1195
1222
|
var isEditable = function isEditable() {
|
|
1196
|
-
return getColumnProp('editor');
|
|
1223
|
+
return ObjectUtils.isNotEmpty(props.editMode) && getColumnProp('editor');
|
|
1197
1224
|
};
|
|
1198
1225
|
var cellEditValidateOnClose = function cellEditValidateOnClose() {
|
|
1199
1226
|
return getColumnProp('cellEditValidateOnClose');
|
|
@@ -1337,14 +1364,11 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1337
1364
|
}
|
|
1338
1365
|
};
|
|
1339
1366
|
var focusOnElement = function focusOnElement() {
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
}
|
|
1346
|
-
keyHelperRef.current && (keyHelperRef.current.tabIndex = editingState ? -1 : 0);
|
|
1347
|
-
}, 1);
|
|
1367
|
+
if (editingState) {
|
|
1368
|
+
var focusableEl = props.editMode === 'cell' ? DomHandler.getFirstFocusableElement(elementRef.current, ':not([data-pc-section="editorkeyhelperlabel"])') : DomHandler.findSingle(elementRef.current, '[data-p-row-editor-save="true"]');
|
|
1369
|
+
focusableEl && focusableEl.focus();
|
|
1370
|
+
}
|
|
1371
|
+
keyHelperRef.current && (keyHelperRef.current.tabIndex = editingState ? -1 : 0);
|
|
1348
1372
|
};
|
|
1349
1373
|
var focusOnInit = function focusOnInit() {
|
|
1350
1374
|
clearTimeout(initFocusTimeout.current);
|
|
@@ -1386,6 +1410,7 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1386
1410
|
if (currentData) {
|
|
1387
1411
|
ObjectUtils.mutateFieldData(currentData, field, val);
|
|
1388
1412
|
}
|
|
1413
|
+
editingRowDataStateRef.current = editingRowData;
|
|
1389
1414
|
};
|
|
1390
1415
|
var _onClick = function onClick(event) {
|
|
1391
1416
|
var params = getCellCallbackParams(event);
|
|
@@ -1578,14 +1603,11 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1578
1603
|
}, [props.editMode, props.editing, editingState]);
|
|
1579
1604
|
useUpdateEffect(function () {
|
|
1580
1605
|
if (props.editMode === 'cell' || props.editMode === 'row') {
|
|
1581
|
-
|
|
1606
|
+
var editingRowData = getEditingRowData();
|
|
1607
|
+
setEditingRowDataState(editingRowData);
|
|
1608
|
+
editingRowDataStateRef.current = editingRowData;
|
|
1582
1609
|
}
|
|
1583
1610
|
}, [props.editingMeta]);
|
|
1584
|
-
React.useEffect(function () {
|
|
1585
|
-
if (editingRowDataState) {
|
|
1586
|
-
editingRowDataStateRef.current = editingRowDataState;
|
|
1587
|
-
}
|
|
1588
|
-
}, [editingRowDataState]);
|
|
1589
1611
|
React.useEffect(function () {
|
|
1590
1612
|
if (props.editMode === 'cell' || props.editMode === 'row') {
|
|
1591
1613
|
var callbackParams = getCellCallbackParams();
|
|
@@ -1660,7 +1682,7 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1660
1682
|
if (showSelection) {
|
|
1661
1683
|
var ariaLabelField = props.selectionAriaLabel || props.tableProps.dataKey;
|
|
1662
1684
|
var ariaLabelText = ObjectUtils.resolveFieldData(props.rowData, ariaLabelField);
|
|
1663
|
-
label = "".concat(props.selected ? ariaLabel$1('
|
|
1685
|
+
label = "".concat(props.selected ? ariaLabel$1('unselectRow') : ariaLabel$1('selectRow'), " ").concat(ariaLabelText);
|
|
1664
1686
|
}
|
|
1665
1687
|
content = showSelection && /*#__PURE__*/React.createElement(React.Fragment, null, selectionMode === 'single' && /*#__PURE__*/React.createElement(RowRadioButton, {
|
|
1666
1688
|
hostName: props.hostName,
|
|
@@ -1675,7 +1697,8 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1675
1697
|
tableSelector: props.tableSelector,
|
|
1676
1698
|
ariaLabel: label,
|
|
1677
1699
|
ptCallbacks: props.ptCallbacks,
|
|
1678
|
-
metaData: props.metaData
|
|
1700
|
+
metaData: props.metaData,
|
|
1701
|
+
unstyled: props.unstyled
|
|
1679
1702
|
}), selectionMode === 'multiple' && /*#__PURE__*/React.createElement(RowCheckbox, {
|
|
1680
1703
|
hostName: props.hostName,
|
|
1681
1704
|
column: props.column,
|
|
@@ -1689,7 +1712,8 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1689
1712
|
ariaLabel: label,
|
|
1690
1713
|
checkIcon: props.checkIcon,
|
|
1691
1714
|
ptCallbacks: props.ptCallbacks,
|
|
1692
|
-
metaData: props.metaData
|
|
1715
|
+
metaData: props.metaData,
|
|
1716
|
+
unstyled: props.unstyled
|
|
1693
1717
|
}));
|
|
1694
1718
|
} else if (rowReorder) {
|
|
1695
1719
|
var showReorder = props.showRowReorderElement ? props.showRowReorderElement(props.rowData, {
|
|
@@ -1852,7 +1876,6 @@ var BodyCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
1852
1876
|
}, editorKeyHelperProps), /*#__PURE__*/React.createElement("span", editorKeyHelperLabelProps));
|
|
1853
1877
|
/* eslint-enable */
|
|
1854
1878
|
}
|
|
1855
|
-
|
|
1856
1879
|
var bodyCellProps = mergeProps({
|
|
1857
1880
|
style: style,
|
|
1858
1881
|
className: classNames(bodyClassName, getColumnProp('className'), cellClassName, cx('bodyCell', {
|
|
@@ -2336,7 +2359,8 @@ var BodyRow = /*#__PURE__*/React.memo(function (props) {
|
|
|
2336
2359
|
value: props.value,
|
|
2337
2360
|
virtualScrollerOptions: props.virtualScrollerOptions,
|
|
2338
2361
|
ptCallbacks: props.ptCallbacks,
|
|
2339
|
-
metaData: props.metaData
|
|
2362
|
+
metaData: props.metaData,
|
|
2363
|
+
unstyled: props.unstyled
|
|
2340
2364
|
});
|
|
2341
2365
|
}
|
|
2342
2366
|
return null;
|
|
@@ -2415,7 +2439,6 @@ var BodyRow = /*#__PURE__*/React.memo(function (props) {
|
|
|
2415
2439
|
}, getBodyRowPTOptions('bodyRow'), {
|
|
2416
2440
|
className: classNames(rowClassName) // #5983 must be last so all unstyled merging takes place first
|
|
2417
2441
|
});
|
|
2418
|
-
|
|
2419
2442
|
return /*#__PURE__*/React.createElement("tr", rowProps, content);
|
|
2420
2443
|
});
|
|
2421
2444
|
BodyRow.displayName = 'BodyRow';
|
|
@@ -2427,7 +2450,8 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
|
|
|
2427
2450
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
2428
2451
|
ptm = _props$ptCallbacks.ptm,
|
|
2429
2452
|
ptmo = _props$ptCallbacks.ptmo,
|
|
2430
|
-
cx = _props$ptCallbacks.cx
|
|
2453
|
+
cx = _props$ptCallbacks.cx,
|
|
2454
|
+
isUnstyled = _props$ptCallbacks.isUnstyled;
|
|
2431
2455
|
var _onClick = function onClick(event) {
|
|
2432
2456
|
props.onClick({
|
|
2433
2457
|
originalEvent: event,
|
|
@@ -2450,8 +2474,9 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
|
|
|
2450
2474
|
};
|
|
2451
2475
|
var rowGroupTogglerIconProps = mergeProps({
|
|
2452
2476
|
className: cx('rowGroupTogglerIcon'),
|
|
2453
|
-
'aria-hidden': true
|
|
2454
|
-
|
|
2477
|
+
'aria-hidden': true,
|
|
2478
|
+
unstyled: isUnstyled()
|
|
2479
|
+
}, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
|
|
2455
2480
|
var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React.createElement(ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React.createElement(ChevronRightIcon, rowGroupTogglerIconProps);
|
|
2456
2481
|
var togglerIcon = IconUtils.getJSXIcon(icon, _objectSpread$8({}, rowGroupTogglerIconProps), {
|
|
2457
2482
|
props: props
|
|
@@ -2464,8 +2489,9 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
|
|
|
2464
2489
|
},
|
|
2465
2490
|
className: cx('rowGroupToggler'),
|
|
2466
2491
|
tabIndex: props.tabIndex,
|
|
2467
|
-
'aria-label': label
|
|
2468
|
-
|
|
2492
|
+
'aria-label': label,
|
|
2493
|
+
unstyled: isUnstyled()
|
|
2494
|
+
}, ptm('rowGroupToggler'), getColumnPTOptions('rowGroupToggler'));
|
|
2469
2495
|
return /*#__PURE__*/React.createElement("button", rowGroupTogglerProps, togglerIcon, /*#__PURE__*/React.createElement(Ripple, null));
|
|
2470
2496
|
});
|
|
2471
2497
|
RowTogglerButton.displayName = 'RowTogglerButton';
|
|
@@ -2479,7 +2505,7 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
2479
2505
|
ptm = _props$ptCallbacks.ptm,
|
|
2480
2506
|
ptmo = _props$ptCallbacks.ptmo,
|
|
2481
2507
|
cx = _props$ptCallbacks.cx,
|
|
2482
|
-
|
|
2508
|
+
isUnstyled = _props$ptCallbacks.isUnstyled;
|
|
2483
2509
|
var _React$useState = React.useState({}),
|
|
2484
2510
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
2485
2511
|
rowGroupHeaderStyleObjectState = _React$useState2[0],
|
|
@@ -2914,7 +2940,7 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
2914
2940
|
if (props.dragSelection && !dragSelectionHelper.current) {
|
|
2915
2941
|
dragSelectionHelper.current = document.createElement('div');
|
|
2916
2942
|
dragSelectionHelper.current.setAttribute('p-datatable-drag-selection-helper', 'true');
|
|
2917
|
-
!
|
|
2943
|
+
!isUnstyled() && DomHandler.addClass(dragSelectionHelper.current, 'p-datatable-drag-selection-helper');
|
|
2918
2944
|
initialDragPosition.current = {
|
|
2919
2945
|
x: event.clientX,
|
|
2920
2946
|
y: event.clientY
|
|
@@ -3042,7 +3068,10 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
3042
3068
|
};
|
|
3043
3069
|
var onRowMouseDown = function onRowMouseDown(e) {
|
|
3044
3070
|
var event = e.originalEvent;
|
|
3045
|
-
if (!
|
|
3071
|
+
if (!isUnstyled() && DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle')) {
|
|
3072
|
+
event.currentTarget.draggable = true;
|
|
3073
|
+
event.target.draggable = false;
|
|
3074
|
+
} else if (isUnstyled() && DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowreordericon') {
|
|
3046
3075
|
event.currentTarget.draggable = true;
|
|
3047
3076
|
event.target.draggable = false;
|
|
3048
3077
|
} else {
|
|
@@ -3123,7 +3152,6 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
3123
3152
|
event.dataTransfer.setData('text', 'b'); // For firefox
|
|
3124
3153
|
}
|
|
3125
3154
|
};
|
|
3126
|
-
|
|
3127
3155
|
var onRowDragOver = function onRowDragOver(e) {
|
|
3128
3156
|
var event = e.originalEvent,
|
|
3129
3157
|
index = e.index;
|
|
@@ -3135,26 +3163,26 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
3135
3163
|
var prevRowElement = rowElement.previousElementSibling;
|
|
3136
3164
|
if (pageY < rowMidY) {
|
|
3137
3165
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3138
|
-
!
|
|
3166
|
+
!isUnstyled() && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3139
3167
|
droppedRowIndex.current = index;
|
|
3140
3168
|
if (prevRowElement) {
|
|
3141
3169
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
|
|
3142
|
-
!
|
|
3170
|
+
!isUnstyled() && DomHandler.addClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3143
3171
|
} else {
|
|
3144
3172
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
|
|
3145
|
-
!
|
|
3173
|
+
!isUnstyled() && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3146
3174
|
}
|
|
3147
3175
|
} else {
|
|
3148
3176
|
if (prevRowElement) {
|
|
3149
3177
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3150
|
-
!
|
|
3178
|
+
!isUnstyled() && DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3151
3179
|
} else {
|
|
3152
3180
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
|
|
3153
|
-
!
|
|
3181
|
+
!isUnstyled() && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3154
3182
|
}
|
|
3155
3183
|
droppedRowIndex.current = index + 1;
|
|
3156
3184
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
|
|
3157
|
-
!
|
|
3185
|
+
!isUnstyled() && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3158
3186
|
}
|
|
3159
3187
|
}
|
|
3160
3188
|
event.preventDefault();
|
|
@@ -3165,12 +3193,12 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
3165
3193
|
var prevRowElement = rowElement.previousElementSibling;
|
|
3166
3194
|
if (prevRowElement) {
|
|
3167
3195
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3168
|
-
!
|
|
3196
|
+
!isUnstyled() && DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3169
3197
|
}
|
|
3170
3198
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3171
|
-
!
|
|
3199
|
+
!isUnstyled() && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3172
3200
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'false');
|
|
3173
|
-
!
|
|
3201
|
+
!isUnstyled() && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3174
3202
|
};
|
|
3175
3203
|
var onRowDragEnd = function onRowDragEnd(e) {
|
|
3176
3204
|
var event = e.originalEvent;
|
|
@@ -3345,7 +3373,8 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
3345
3373
|
expandedRowIcon: props.expandedRowIcon,
|
|
3346
3374
|
collapsedRowIcon: props.collapsedRowIcon,
|
|
3347
3375
|
ptCallbacks: props.ptCallbacks,
|
|
3348
|
-
metaData: props.metaData
|
|
3376
|
+
metaData: props.metaData,
|
|
3377
|
+
unstyled: isUnstyled()
|
|
3349
3378
|
});
|
|
3350
3379
|
var options = {
|
|
3351
3380
|
index: rowIndex,
|
|
@@ -3450,7 +3479,8 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
3450
3479
|
value: props.value,
|
|
3451
3480
|
virtualScrollerOptions: props.virtualScrollerOptions,
|
|
3452
3481
|
ptCallbacks: props.ptCallbacks,
|
|
3453
|
-
metaData: props.metaData
|
|
3482
|
+
metaData: props.metaData,
|
|
3483
|
+
unstyled: isUnstyled()
|
|
3454
3484
|
});
|
|
3455
3485
|
}
|
|
3456
3486
|
};
|
|
@@ -3814,18 +3844,20 @@ _defineProperty(PrimeReact, "filterMatchModeOptions", {
|
|
|
3814
3844
|
_defineProperty(PrimeReact, "changeTheme", function (currentTheme, newTheme, linkElementId, callback) {
|
|
3815
3845
|
var _linkElement$parentNo;
|
|
3816
3846
|
var linkElement = document.getElementById(linkElementId);
|
|
3817
|
-
|
|
3847
|
+
if (!linkElement) {
|
|
3848
|
+
throw Error("Element with id ".concat(linkElementId, " not found."));
|
|
3849
|
+
}
|
|
3818
3850
|
var newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme);
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3851
|
+
var newLinkElement = document.createElement('link');
|
|
3852
|
+
newLinkElement.setAttribute('rel', 'stylesheet');
|
|
3853
|
+
newLinkElement.setAttribute('id', linkElementId);
|
|
3854
|
+
newLinkElement.setAttribute('href', newThemeUrl);
|
|
3855
|
+
newLinkElement.addEventListener('load', function () {
|
|
3824
3856
|
if (callback) {
|
|
3825
3857
|
callback();
|
|
3826
3858
|
}
|
|
3827
3859
|
});
|
|
3828
|
-
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.
|
|
3860
|
+
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.replaceChild(newLinkElement, linkElement);
|
|
3829
3861
|
});
|
|
3830
3862
|
|
|
3831
3863
|
var locales = {
|
|
@@ -4047,6 +4079,15 @@ var FocusTrap = /*#__PURE__*/React__default.memo( /*#__PURE__*/React__default.fo
|
|
|
4047
4079
|
var getTarget = function getTarget() {
|
|
4048
4080
|
return firstFocusableElementRef.current && firstFocusableElementRef.current.parentElement;
|
|
4049
4081
|
};
|
|
4082
|
+
|
|
4083
|
+
/**
|
|
4084
|
+
* This method sets the auto focus on the first focusable element within the target element.
|
|
4085
|
+
* It first tries to find a focusable element using the autoFocusSelector. If no such element is found,
|
|
4086
|
+
* it then tries to find a focusable element using the firstFocusableSelector.
|
|
4087
|
+
* If the autoFocus prop is set to true and a focusable element is found, it sets the focus on that element.
|
|
4088
|
+
*
|
|
4089
|
+
* @param {HTMLElement} target - The target element within which to find a focusable element.
|
|
4090
|
+
*/
|
|
4050
4091
|
var setAutoFocus = function setAutoFocus(target) {
|
|
4051
4092
|
var _ref = props || {},
|
|
4052
4093
|
_ref$autoFocusSelecto = _ref.autoFocusSelector,
|
|
@@ -4055,7 +4096,9 @@ var FocusTrap = /*#__PURE__*/React__default.memo( /*#__PURE__*/React__default.fo
|
|
|
4055
4096
|
firstFocusableSelector = _ref$firstFocusableSe === void 0 ? '' : _ref$firstFocusableSe,
|
|
4056
4097
|
_ref$autoFocus = _ref.autoFocus,
|
|
4057
4098
|
autoFocus = _ref$autoFocus === void 0 ? false : _ref$autoFocus;
|
|
4058
|
-
var
|
|
4099
|
+
var defaultAutoFocusSelector = "".concat(getComputedSelector(autoFocusSelector));
|
|
4100
|
+
var computedAutoFocusSelector = "[autofocus]".concat(defaultAutoFocusSelector, ", [data-pc-autofocus='true']").concat(defaultAutoFocusSelector);
|
|
4101
|
+
var focusableElement = DomHandler.getFirstFocusableElement(target, computedAutoFocusSelector);
|
|
4059
4102
|
autoFocus && !focusableElement && (focusableElement = DomHandler.getFirstFocusableElement(target, getComputedSelector(firstFocusableSelector)));
|
|
4060
4103
|
DomHandler.focus(focusableElement);
|
|
4061
4104
|
};
|
|
@@ -5171,7 +5214,7 @@ var HeaderCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
5171
5214
|
column: props.column
|
|
5172
5215
|
});
|
|
5173
5216
|
};
|
|
5174
|
-
var
|
|
5217
|
+
var onResizeStart = function onResizeStart(event) {
|
|
5175
5218
|
props.onColumnResizeStart({
|
|
5176
5219
|
originalEvent: event,
|
|
5177
5220
|
column: props.column
|
|
@@ -5208,7 +5251,10 @@ var HeaderCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
5208
5251
|
var columnResizerProps = mergeProps({
|
|
5209
5252
|
className: cx('columnResizer'),
|
|
5210
5253
|
onMouseDown: function onMouseDown(e) {
|
|
5211
|
-
return
|
|
5254
|
+
return onResizeStart(e);
|
|
5255
|
+
},
|
|
5256
|
+
onTouchStart: function onTouchStart(e) {
|
|
5257
|
+
return onResizeStart(e);
|
|
5212
5258
|
},
|
|
5213
5259
|
onClick: function onClick(e) {
|
|
5214
5260
|
return onResizerClick(e);
|
|
@@ -5268,7 +5314,8 @@ var HeaderCell = /*#__PURE__*/React.memo(function (props) {
|
|
|
5268
5314
|
onChange: props.onColumnCheckboxChange,
|
|
5269
5315
|
disabled: props.empty,
|
|
5270
5316
|
ptCallbacks: ptCallbacks,
|
|
5271
|
-
metaData: parentMetaData
|
|
5317
|
+
metaData: parentMetaData,
|
|
5318
|
+
unstyled: props.unstyled
|
|
5272
5319
|
});
|
|
5273
5320
|
}
|
|
5274
5321
|
return null;
|
|
@@ -5626,19 +5673,6 @@ var TableHeader = /*#__PURE__*/React.memo(function (props) {
|
|
|
5626
5673
|
});
|
|
5627
5674
|
TableHeader.displayName = 'TableHeader';
|
|
5628
5675
|
|
|
5629
|
-
var getStorage = function getStorage(stateStorageProp) {
|
|
5630
|
-
switch (stateStorageProp) {
|
|
5631
|
-
case 'local':
|
|
5632
|
-
return window.localStorage;
|
|
5633
|
-
case 'session':
|
|
5634
|
-
return window.sessionStorage;
|
|
5635
|
-
case 'custom':
|
|
5636
|
-
return null;
|
|
5637
|
-
default:
|
|
5638
|
-
throw new Error(stateStorageProp + ' is not a valid value for the state storage, supported values are "local", "session" and "custom".');
|
|
5639
|
-
}
|
|
5640
|
-
};
|
|
5641
|
-
|
|
5642
5676
|
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; } } }; }
|
|
5643
5677
|
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); }
|
|
5644
5678
|
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; }
|
|
@@ -5747,29 +5781,40 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
5747
5781
|
setRowsState(props.rows);
|
|
5748
5782
|
setD_rowsState(props.rows);
|
|
5749
5783
|
}
|
|
5784
|
+
var columnResizeStartListener = function columnResizeStartListener(event) {
|
|
5785
|
+
return columnResizing.current && onColumnResize(event);
|
|
5786
|
+
};
|
|
5787
|
+
var columnResizeEndListener = function columnResizeEndListener() {
|
|
5788
|
+
return columnResizing.current && (columnResizing.current = false, onColumnResizeEnd());
|
|
5789
|
+
};
|
|
5750
5790
|
var _useEventListener = useEventListener({
|
|
5751
5791
|
type: 'mousemove',
|
|
5752
|
-
listener:
|
|
5753
|
-
if (columnResizing.current) {
|
|
5754
|
-
onColumnResize(event);
|
|
5755
|
-
}
|
|
5756
|
-
}
|
|
5792
|
+
listener: columnResizeStartListener
|
|
5757
5793
|
}),
|
|
5758
5794
|
_useEventListener2 = _slicedToArray(_useEventListener, 2),
|
|
5759
5795
|
bindDocumentMouseMoveListener = _useEventListener2[0],
|
|
5760
5796
|
unbindDocumentMouseMoveListener = _useEventListener2[1];
|
|
5761
5797
|
var _useEventListener3 = useEventListener({
|
|
5762
5798
|
type: 'mouseup',
|
|
5763
|
-
listener:
|
|
5764
|
-
if (columnResizing.current) {
|
|
5765
|
-
columnResizing.current = false;
|
|
5766
|
-
onColumnResizeEnd();
|
|
5767
|
-
}
|
|
5768
|
-
}
|
|
5799
|
+
listener: columnResizeEndListener
|
|
5769
5800
|
}),
|
|
5770
5801
|
_useEventListener4 = _slicedToArray(_useEventListener3, 2),
|
|
5771
5802
|
bindDocumentMouseUpListener = _useEventListener4[0],
|
|
5772
5803
|
unbindDocumentMouseUpListener = _useEventListener4[1];
|
|
5804
|
+
var _useEventListener5 = useEventListener({
|
|
5805
|
+
type: 'touchmove',
|
|
5806
|
+
listener: columnResizeStartListener
|
|
5807
|
+
}),
|
|
5808
|
+
_useEventListener6 = _slicedToArray(_useEventListener5, 2),
|
|
5809
|
+
bindDocumentTouchMoveListener = _useEventListener6[0],
|
|
5810
|
+
unbindDocumentTouchMoveListener = _useEventListener6[1];
|
|
5811
|
+
var _useEventListener7 = useEventListener({
|
|
5812
|
+
type: 'touchend',
|
|
5813
|
+
listener: columnResizeEndListener
|
|
5814
|
+
}),
|
|
5815
|
+
_useEventListener8 = _slicedToArray(_useEventListener7, 2),
|
|
5816
|
+
bindDocumentTouchEndListener = _useEventListener8[0],
|
|
5817
|
+
unbindDocumentTouchEndListener = _useEventListener8[1];
|
|
5773
5818
|
var isCustomStateStorage = function isCustomStateStorage() {
|
|
5774
5819
|
return props.stateStorage === 'custom';
|
|
5775
5820
|
};
|
|
@@ -6105,7 +6150,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
6105
6150
|
resizeColumn.current = column;
|
|
6106
6151
|
resizeColumnElement.current = event.currentTarget.parentElement;
|
|
6107
6152
|
columnResizing.current = true;
|
|
6108
|
-
lastResizeHelperX.current = event.pageX - containerLeft + elementRef.current.scrollLeft;
|
|
6153
|
+
lastResizeHelperX.current = (event.type === 'touchstart' ? event.changedTouches[0].clientX : event.pageX) - containerLeft + elementRef.current.scrollLeft;
|
|
6109
6154
|
bindColumnResizeEvents();
|
|
6110
6155
|
};
|
|
6111
6156
|
var onColumnResize = function onColumnResize(event) {
|
|
@@ -6113,7 +6158,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
6113
6158
|
elementRef.current.setAttribute('data-p-unselectable-text', true);
|
|
6114
6159
|
resizeHelperRef.current.style.height = elementRef.current.offsetHeight + 'px';
|
|
6115
6160
|
resizeHelperRef.current.style.top = 0 + 'px';
|
|
6116
|
-
resizeHelperRef.current.style.left = event.pageX - containerLeft + elementRef.current.scrollLeft + 'px';
|
|
6161
|
+
resizeHelperRef.current.style.left = (event.type === 'touchmove' ? event.changedTouches[0].clientX : event.pageX) - containerLeft + elementRef.current.scrollLeft + 'px';
|
|
6117
6162
|
resizeHelperRef.current.style.display = 'block';
|
|
6118
6163
|
};
|
|
6119
6164
|
var onColumnResizeEnd = function onColumnResizeEnd() {
|
|
@@ -6184,10 +6229,14 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
6184
6229
|
var bindColumnResizeEvents = function bindColumnResizeEvents() {
|
|
6185
6230
|
bindDocumentMouseMoveListener();
|
|
6186
6231
|
bindDocumentMouseUpListener();
|
|
6232
|
+
bindDocumentTouchMoveListener();
|
|
6233
|
+
bindDocumentTouchEndListener();
|
|
6187
6234
|
};
|
|
6188
6235
|
var unbindColumnResizeEvents = function unbindColumnResizeEvents() {
|
|
6189
6236
|
unbindDocumentMouseMoveListener();
|
|
6190
6237
|
unbindDocumentMouseUpListener();
|
|
6238
|
+
unbindDocumentTouchMoveListener();
|
|
6239
|
+
unbindDocumentTouchEndListener();
|
|
6191
6240
|
};
|
|
6192
6241
|
var onColumnHeaderMouseDown = function onColumnHeaderMouseDown(e) {
|
|
6193
6242
|
DomHandler.clearSelection();
|
|
@@ -6253,7 +6302,6 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
6253
6302
|
draggedColumnElement.current = findParentHeader(event.currentTarget);
|
|
6254
6303
|
event.dataTransfer.setData('text', 'b'); // Firefox requires this to make dragging possible
|
|
6255
6304
|
};
|
|
6256
|
-
|
|
6257
6305
|
var onColumnHeaderDragOver = function onColumnHeaderDragOver(e) {
|
|
6258
6306
|
var event = e.originalEvent,
|
|
6259
6307
|
column = e.column;
|
|
@@ -7185,7 +7233,8 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
7185
7233
|
value: props.frozenValue,
|
|
7186
7234
|
virtualScrollerOptions: options,
|
|
7187
7235
|
ptCallbacks: ptCallbacks,
|
|
7188
|
-
metaData: metaData
|
|
7236
|
+
metaData: metaData,
|
|
7237
|
+
unstyled: props.unstyled
|
|
7189
7238
|
});
|
|
7190
7239
|
var body = /*#__PURE__*/React.createElement(TableBody, {
|
|
7191
7240
|
hostName: "DataTable",
|
|
@@ -7268,7 +7317,8 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
7268
7317
|
virtualScrollerContentRef: contentRef,
|
|
7269
7318
|
virtualScrollerOptions: options,
|
|
7270
7319
|
ptCallbacks: ptCallbacks,
|
|
7271
|
-
metaData: metaData
|
|
7320
|
+
metaData: metaData,
|
|
7321
|
+
unstyled: props.unstyled
|
|
7272
7322
|
});
|
|
7273
7323
|
var spacerBody = ObjectUtils.isNotEmpty(spacerStyle) ? /*#__PURE__*/React.createElement(TableBody, {
|
|
7274
7324
|
hostName: "DataTable",
|
|
@@ -7277,7 +7327,8 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
7277
7327
|
},
|
|
7278
7328
|
className: "p-datatable-virtualscroller-spacer",
|
|
7279
7329
|
ptCallbacks: ptCallbacks,
|
|
7280
|
-
metaData: metaData
|
|
7330
|
+
metaData: metaData,
|
|
7331
|
+
unstyled: props.unstyled
|
|
7281
7332
|
}) : null;
|
|
7282
7333
|
return /*#__PURE__*/React.createElement(React.Fragment, null, frozenBody, body, spacerBody);
|
|
7283
7334
|
};
|
|
@@ -7289,7 +7340,8 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
7289
7340
|
columns: columns,
|
|
7290
7341
|
footerColumnGroup: props.footerColumnGroup,
|
|
7291
7342
|
ptCallbacks: ptCallbacks,
|
|
7292
|
-
metaData: metaData
|
|
7343
|
+
metaData: metaData,
|
|
7344
|
+
unstyled: props.unstyled
|
|
7293
7345
|
});
|
|
7294
7346
|
};
|
|
7295
7347
|
var createContent = function createContent(processedData, columns, selectionModeInColumn, empty) {
|
|
@@ -7324,6 +7376,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
7324
7376
|
parent: metaData
|
|
7325
7377
|
},
|
|
7326
7378
|
showSpacer: false,
|
|
7379
|
+
unstyled: props.unstyled,
|
|
7327
7380
|
contentTemplate: function contentTemplate(options) {
|
|
7328
7381
|
var ref = function ref(el) {
|
|
7329
7382
|
tableRef.current = el;
|