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
|
@@ -186,6 +186,19 @@ function _slicedToArray(arr, i) {
|
|
|
186
186
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest();
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
+
var getStorage = function getStorage(stateStorageProp) {
|
|
190
|
+
switch (stateStorageProp) {
|
|
191
|
+
case 'local':
|
|
192
|
+
return window.localStorage;
|
|
193
|
+
case 'session':
|
|
194
|
+
return window.sessionStorage;
|
|
195
|
+
case 'custom':
|
|
196
|
+
return null;
|
|
197
|
+
default:
|
|
198
|
+
throw new Error(stateStorageProp + ' is not a valid value for the state storage, supported values are "local", "session" and "custom".');
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
|
|
189
202
|
var ColumnBase = componentbase.ComponentBase.extend({
|
|
190
203
|
defaultProps: {
|
|
191
204
|
__TYPE: 'Column',
|
|
@@ -720,8 +733,15 @@ var Checkbox = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
|
|
|
720
733
|
var mergeProps = hooks.useMergeProps();
|
|
721
734
|
var context = React__namespace.useContext(PrimeReact$1.PrimeReactContext);
|
|
722
735
|
var props = CheckboxBase.getProps(inProps, context);
|
|
736
|
+
var _React$useState = React__namespace.useState(false),
|
|
737
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
738
|
+
focusedState = _React$useState2[0],
|
|
739
|
+
setFocusedState = _React$useState2[1];
|
|
723
740
|
var _CheckboxBase$setMeta = CheckboxBase.setMetaData({
|
|
724
741
|
props: props,
|
|
742
|
+
state: {
|
|
743
|
+
focused: focusedState
|
|
744
|
+
},
|
|
725
745
|
context: {
|
|
726
746
|
checked: props.checked === props.trueValue,
|
|
727
747
|
disabled: props.disabled
|
|
@@ -775,10 +795,12 @@ var Checkbox = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
|
|
|
775
795
|
};
|
|
776
796
|
var _onFocus = function onFocus() {
|
|
777
797
|
var _props$onFocus;
|
|
798
|
+
setFocusedState(true);
|
|
778
799
|
props === null || props === void 0 || (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props);
|
|
779
800
|
};
|
|
780
801
|
var _onBlur = function onBlur() {
|
|
781
802
|
var _props$onBlur;
|
|
803
|
+
setFocusedState(false);
|
|
782
804
|
props === null || props === void 0 || (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props);
|
|
783
805
|
};
|
|
784
806
|
React__namespace.useImperativeHandle(ref, function () {
|
|
@@ -924,8 +946,9 @@ var RowCheckbox = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
924
946
|
'aria-label': props.ariaLabel,
|
|
925
947
|
checked: props.checked,
|
|
926
948
|
icon: checkIcon,
|
|
927
|
-
disabled: props.disabled
|
|
928
|
-
|
|
949
|
+
disabled: props.disabled,
|
|
950
|
+
pt: getColumnPTOptions('rowCheckbox')
|
|
951
|
+
});
|
|
929
952
|
return /*#__PURE__*/React__namespace.createElement(Checkbox, checkboxProps);
|
|
930
953
|
});
|
|
931
954
|
RowCheckbox.displayName = 'RowCheckbox';
|
|
@@ -1082,7 +1105,10 @@ var RadioButton = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namesp
|
|
|
1082
1105
|
})),
|
|
1083
1106
|
style: props.style,
|
|
1084
1107
|
'data-p-checked': props.checked
|
|
1085
|
-
},
|
|
1108
|
+
}, otherProps, ptm('root'));
|
|
1109
|
+
delete rootProps.input;
|
|
1110
|
+
delete rootProps.box;
|
|
1111
|
+
delete rootProps.icon;
|
|
1086
1112
|
var createInputElement = function createInputElement() {
|
|
1087
1113
|
var ariaProps = utils.ObjectUtils.reduceKeys(otherProps, utils.DomHandler.ARIA_PROPS);
|
|
1088
1114
|
var inputProps = mergeProps(_objectSpread$b({
|
|
@@ -1098,7 +1124,7 @@ var RadioButton = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namesp
|
|
|
1098
1124
|
required: props.required,
|
|
1099
1125
|
tabIndex: props.tabIndex,
|
|
1100
1126
|
className: cx('input')
|
|
1101
|
-
}, ariaProps), ptm('input'));
|
|
1127
|
+
}, ariaProps), inProps.input, ptm('input'));
|
|
1102
1128
|
return /*#__PURE__*/React__namespace.createElement("input", _extends({
|
|
1103
1129
|
ref: inputRef
|
|
1104
1130
|
}, inputProps));
|
|
@@ -1106,10 +1132,10 @@ var RadioButton = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namesp
|
|
|
1106
1132
|
var createBoxElement = function createBoxElement() {
|
|
1107
1133
|
var boxProps = mergeProps({
|
|
1108
1134
|
className: cx('box')
|
|
1109
|
-
}, ptm('box'));
|
|
1135
|
+
}, inProps.box, ptm('box'));
|
|
1110
1136
|
var iconProps = mergeProps({
|
|
1111
1137
|
className: cx('icon')
|
|
1112
|
-
}, ptm('icon'));
|
|
1138
|
+
}, inProps.icon, ptm('icon'));
|
|
1113
1139
|
return /*#__PURE__*/React__namespace.createElement("div", boxProps, /*#__PURE__*/React__namespace.createElement("div", iconProps));
|
|
1114
1140
|
};
|
|
1115
1141
|
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", _extends({
|
|
@@ -1157,8 +1183,10 @@ var RowRadioButton = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1157
1183
|
checked: props.checked,
|
|
1158
1184
|
disabled: props.disabled,
|
|
1159
1185
|
name: "".concat(props.tableSelector, "_dt_radio"),
|
|
1160
|
-
onChange: onChange
|
|
1161
|
-
|
|
1186
|
+
onChange: onChange,
|
|
1187
|
+
unstyled: props.unstyled,
|
|
1188
|
+
pt: getColumnPTOptions('rowRadioButton')
|
|
1189
|
+
});
|
|
1162
1190
|
return /*#__PURE__*/React__namespace.createElement(RadioButton, radioButtonProps);
|
|
1163
1191
|
});
|
|
1164
1192
|
RowRadioButton.displayName = 'RowRadioButton';
|
|
@@ -1183,7 +1211,6 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1183
1211
|
var keyHelperRef = React__namespace.useRef(null);
|
|
1184
1212
|
var overlayEventListener = React__namespace.useRef(null);
|
|
1185
1213
|
var selfClick = React__namespace.useRef(false);
|
|
1186
|
-
var tabindexTimeout = React__namespace.useRef(null);
|
|
1187
1214
|
var initFocusTimeout = React__namespace.useRef(null);
|
|
1188
1215
|
var editingRowDataStateRef = React__namespace.useRef(null);
|
|
1189
1216
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
@@ -1220,7 +1247,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1220
1247
|
var field = getColumnProp('field') || "field_".concat(props.index);
|
|
1221
1248
|
var editingKey = props.dataKey ? props.rowData && props.rowData[props.dataKey] || props.rowIndex : props.rowIndex;
|
|
1222
1249
|
var isEditable = function isEditable() {
|
|
1223
|
-
return getColumnProp('editor');
|
|
1250
|
+
return utils.ObjectUtils.isNotEmpty(props.editMode) && getColumnProp('editor');
|
|
1224
1251
|
};
|
|
1225
1252
|
var cellEditValidateOnClose = function cellEditValidateOnClose() {
|
|
1226
1253
|
return getColumnProp('cellEditValidateOnClose');
|
|
@@ -1364,14 +1391,11 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1364
1391
|
}
|
|
1365
1392
|
};
|
|
1366
1393
|
var focusOnElement = function focusOnElement() {
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
}
|
|
1373
|
-
keyHelperRef.current && (keyHelperRef.current.tabIndex = editingState ? -1 : 0);
|
|
1374
|
-
}, 1);
|
|
1394
|
+
if (editingState) {
|
|
1395
|
+
var focusableEl = props.editMode === 'cell' ? utils.DomHandler.getFirstFocusableElement(elementRef.current, ':not([data-pc-section="editorkeyhelperlabel"])') : utils.DomHandler.findSingle(elementRef.current, '[data-p-row-editor-save="true"]');
|
|
1396
|
+
focusableEl && focusableEl.focus();
|
|
1397
|
+
}
|
|
1398
|
+
keyHelperRef.current && (keyHelperRef.current.tabIndex = editingState ? -1 : 0);
|
|
1375
1399
|
};
|
|
1376
1400
|
var focusOnInit = function focusOnInit() {
|
|
1377
1401
|
clearTimeout(initFocusTimeout.current);
|
|
@@ -1413,6 +1437,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1413
1437
|
if (currentData) {
|
|
1414
1438
|
utils.ObjectUtils.mutateFieldData(currentData, field, val);
|
|
1415
1439
|
}
|
|
1440
|
+
editingRowDataStateRef.current = editingRowData;
|
|
1416
1441
|
};
|
|
1417
1442
|
var _onClick = function onClick(event) {
|
|
1418
1443
|
var params = getCellCallbackParams(event);
|
|
@@ -1605,14 +1630,11 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1605
1630
|
}, [props.editMode, props.editing, editingState]);
|
|
1606
1631
|
hooks.useUpdateEffect(function () {
|
|
1607
1632
|
if (props.editMode === 'cell' || props.editMode === 'row') {
|
|
1608
|
-
|
|
1633
|
+
var editingRowData = getEditingRowData();
|
|
1634
|
+
setEditingRowDataState(editingRowData);
|
|
1635
|
+
editingRowDataStateRef.current = editingRowData;
|
|
1609
1636
|
}
|
|
1610
1637
|
}, [props.editingMeta]);
|
|
1611
|
-
React__namespace.useEffect(function () {
|
|
1612
|
-
if (editingRowDataState) {
|
|
1613
|
-
editingRowDataStateRef.current = editingRowDataState;
|
|
1614
|
-
}
|
|
1615
|
-
}, [editingRowDataState]);
|
|
1616
1638
|
React__namespace.useEffect(function () {
|
|
1617
1639
|
if (props.editMode === 'cell' || props.editMode === 'row') {
|
|
1618
1640
|
var callbackParams = getCellCallbackParams();
|
|
@@ -1687,7 +1709,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1687
1709
|
if (showSelection) {
|
|
1688
1710
|
var ariaLabelField = props.selectionAriaLabel || props.tableProps.dataKey;
|
|
1689
1711
|
var ariaLabelText = utils.ObjectUtils.resolveFieldData(props.rowData, ariaLabelField);
|
|
1690
|
-
label = "".concat(props.selected ? PrimeReact$1.ariaLabel('
|
|
1712
|
+
label = "".concat(props.selected ? PrimeReact$1.ariaLabel('unselectRow') : PrimeReact$1.ariaLabel('selectRow'), " ").concat(ariaLabelText);
|
|
1691
1713
|
}
|
|
1692
1714
|
content = showSelection && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, selectionMode === 'single' && /*#__PURE__*/React__namespace.createElement(RowRadioButton, {
|
|
1693
1715
|
hostName: props.hostName,
|
|
@@ -1702,7 +1724,8 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1702
1724
|
tableSelector: props.tableSelector,
|
|
1703
1725
|
ariaLabel: label,
|
|
1704
1726
|
ptCallbacks: props.ptCallbacks,
|
|
1705
|
-
metaData: props.metaData
|
|
1727
|
+
metaData: props.metaData,
|
|
1728
|
+
unstyled: props.unstyled
|
|
1706
1729
|
}), selectionMode === 'multiple' && /*#__PURE__*/React__namespace.createElement(RowCheckbox, {
|
|
1707
1730
|
hostName: props.hostName,
|
|
1708
1731
|
column: props.column,
|
|
@@ -1716,7 +1739,8 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1716
1739
|
ariaLabel: label,
|
|
1717
1740
|
checkIcon: props.checkIcon,
|
|
1718
1741
|
ptCallbacks: props.ptCallbacks,
|
|
1719
|
-
metaData: props.metaData
|
|
1742
|
+
metaData: props.metaData,
|
|
1743
|
+
unstyled: props.unstyled
|
|
1720
1744
|
}));
|
|
1721
1745
|
} else if (rowReorder) {
|
|
1722
1746
|
var showReorder = props.showRowReorderElement ? props.showRowReorderElement(props.rowData, {
|
|
@@ -1879,7 +1903,6 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
1879
1903
|
}, editorKeyHelperProps), /*#__PURE__*/React__namespace.createElement("span", editorKeyHelperLabelProps));
|
|
1880
1904
|
/* eslint-enable */
|
|
1881
1905
|
}
|
|
1882
|
-
|
|
1883
1906
|
var bodyCellProps = mergeProps({
|
|
1884
1907
|
style: style,
|
|
1885
1908
|
className: utils.classNames(bodyClassName, getColumnProp('className'), cellClassName, cx('bodyCell', {
|
|
@@ -2363,7 +2386,8 @@ var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
2363
2386
|
value: props.value,
|
|
2364
2387
|
virtualScrollerOptions: props.virtualScrollerOptions,
|
|
2365
2388
|
ptCallbacks: props.ptCallbacks,
|
|
2366
|
-
metaData: props.metaData
|
|
2389
|
+
metaData: props.metaData,
|
|
2390
|
+
unstyled: props.unstyled
|
|
2367
2391
|
});
|
|
2368
2392
|
}
|
|
2369
2393
|
return null;
|
|
@@ -2442,7 +2466,6 @@ var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
2442
2466
|
}, getBodyRowPTOptions('bodyRow'), {
|
|
2443
2467
|
className: utils.classNames(rowClassName) // #5983 must be last so all unstyled merging takes place first
|
|
2444
2468
|
});
|
|
2445
|
-
|
|
2446
2469
|
return /*#__PURE__*/React__namespace.createElement("tr", rowProps, content);
|
|
2447
2470
|
});
|
|
2448
2471
|
BodyRow.displayName = 'BodyRow';
|
|
@@ -2454,7 +2477,8 @@ var RowTogglerButton = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
2454
2477
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
2455
2478
|
ptm = _props$ptCallbacks.ptm,
|
|
2456
2479
|
ptmo = _props$ptCallbacks.ptmo,
|
|
2457
|
-
cx = _props$ptCallbacks.cx
|
|
2480
|
+
cx = _props$ptCallbacks.cx,
|
|
2481
|
+
isUnstyled = _props$ptCallbacks.isUnstyled;
|
|
2458
2482
|
var _onClick = function onClick(event) {
|
|
2459
2483
|
props.onClick({
|
|
2460
2484
|
originalEvent: event,
|
|
@@ -2477,8 +2501,9 @@ var RowTogglerButton = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
2477
2501
|
};
|
|
2478
2502
|
var rowGroupTogglerIconProps = mergeProps({
|
|
2479
2503
|
className: cx('rowGroupTogglerIcon'),
|
|
2480
|
-
'aria-hidden': true
|
|
2481
|
-
|
|
2504
|
+
'aria-hidden': true,
|
|
2505
|
+
unstyled: isUnstyled()
|
|
2506
|
+
}, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
|
|
2482
2507
|
var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React__namespace.createElement(chevrondown.ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React__namespace.createElement(chevronright.ChevronRightIcon, rowGroupTogglerIconProps);
|
|
2483
2508
|
var togglerIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$8({}, rowGroupTogglerIconProps), {
|
|
2484
2509
|
props: props
|
|
@@ -2491,8 +2516,9 @@ var RowTogglerButton = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
2491
2516
|
},
|
|
2492
2517
|
className: cx('rowGroupToggler'),
|
|
2493
2518
|
tabIndex: props.tabIndex,
|
|
2494
|
-
'aria-label': label
|
|
2495
|
-
|
|
2519
|
+
'aria-label': label,
|
|
2520
|
+
unstyled: isUnstyled()
|
|
2521
|
+
}, ptm('rowGroupToggler'), getColumnPTOptions('rowGroupToggler'));
|
|
2496
2522
|
return /*#__PURE__*/React__namespace.createElement("button", rowGroupTogglerProps, togglerIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null));
|
|
2497
2523
|
});
|
|
2498
2524
|
RowTogglerButton.displayName = 'RowTogglerButton';
|
|
@@ -2506,7 +2532,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
|
|
|
2506
2532
|
ptm = _props$ptCallbacks.ptm,
|
|
2507
2533
|
ptmo = _props$ptCallbacks.ptmo,
|
|
2508
2534
|
cx = _props$ptCallbacks.cx,
|
|
2509
|
-
|
|
2535
|
+
isUnstyled = _props$ptCallbacks.isUnstyled;
|
|
2510
2536
|
var _React$useState = React__namespace.useState({}),
|
|
2511
2537
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
2512
2538
|
rowGroupHeaderStyleObjectState = _React$useState2[0],
|
|
@@ -2941,7 +2967,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
|
|
|
2941
2967
|
if (props.dragSelection && !dragSelectionHelper.current) {
|
|
2942
2968
|
dragSelectionHelper.current = document.createElement('div');
|
|
2943
2969
|
dragSelectionHelper.current.setAttribute('p-datatable-drag-selection-helper', 'true');
|
|
2944
|
-
!
|
|
2970
|
+
!isUnstyled() && utils.DomHandler.addClass(dragSelectionHelper.current, 'p-datatable-drag-selection-helper');
|
|
2945
2971
|
initialDragPosition.current = {
|
|
2946
2972
|
x: event.clientX,
|
|
2947
2973
|
y: event.clientY
|
|
@@ -3069,7 +3095,10 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
|
|
|
3069
3095
|
};
|
|
3070
3096
|
var onRowMouseDown = function onRowMouseDown(e) {
|
|
3071
3097
|
var event = e.originalEvent;
|
|
3072
|
-
if (!
|
|
3098
|
+
if (!isUnstyled() && utils.DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle')) {
|
|
3099
|
+
event.currentTarget.draggable = true;
|
|
3100
|
+
event.target.draggable = false;
|
|
3101
|
+
} else if (isUnstyled() && utils.DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowreordericon') {
|
|
3073
3102
|
event.currentTarget.draggable = true;
|
|
3074
3103
|
event.target.draggable = false;
|
|
3075
3104
|
} else {
|
|
@@ -3150,7 +3179,6 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
|
|
|
3150
3179
|
event.dataTransfer.setData('text', 'b'); // For firefox
|
|
3151
3180
|
}
|
|
3152
3181
|
};
|
|
3153
|
-
|
|
3154
3182
|
var onRowDragOver = function onRowDragOver(e) {
|
|
3155
3183
|
var event = e.originalEvent,
|
|
3156
3184
|
index = e.index;
|
|
@@ -3162,26 +3190,26 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
|
|
|
3162
3190
|
var prevRowElement = rowElement.previousElementSibling;
|
|
3163
3191
|
if (pageY < rowMidY) {
|
|
3164
3192
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3165
|
-
!
|
|
3193
|
+
!isUnstyled() && utils.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3166
3194
|
droppedRowIndex.current = index;
|
|
3167
3195
|
if (prevRowElement) {
|
|
3168
3196
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
|
|
3169
|
-
!
|
|
3197
|
+
!isUnstyled() && utils.DomHandler.addClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3170
3198
|
} else {
|
|
3171
3199
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
|
|
3172
|
-
!
|
|
3200
|
+
!isUnstyled() && utils.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3173
3201
|
}
|
|
3174
3202
|
} else {
|
|
3175
3203
|
if (prevRowElement) {
|
|
3176
3204
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3177
|
-
!
|
|
3205
|
+
!isUnstyled() && utils.DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3178
3206
|
} else {
|
|
3179
3207
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
|
|
3180
|
-
!
|
|
3208
|
+
!isUnstyled() && utils.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3181
3209
|
}
|
|
3182
3210
|
droppedRowIndex.current = index + 1;
|
|
3183
3211
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
|
|
3184
|
-
!
|
|
3212
|
+
!isUnstyled() && utils.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3185
3213
|
}
|
|
3186
3214
|
}
|
|
3187
3215
|
event.preventDefault();
|
|
@@ -3192,12 +3220,12 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
|
|
|
3192
3220
|
var prevRowElement = rowElement.previousElementSibling;
|
|
3193
3221
|
if (prevRowElement) {
|
|
3194
3222
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3195
|
-
!
|
|
3223
|
+
!isUnstyled() && utils.DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3196
3224
|
}
|
|
3197
3225
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3198
|
-
!
|
|
3226
|
+
!isUnstyled() && utils.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3199
3227
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'false');
|
|
3200
|
-
!
|
|
3228
|
+
!isUnstyled() && utils.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3201
3229
|
};
|
|
3202
3230
|
var onRowDragEnd = function onRowDragEnd(e) {
|
|
3203
3231
|
var event = e.originalEvent;
|
|
@@ -3372,7 +3400,8 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
|
|
|
3372
3400
|
expandedRowIcon: props.expandedRowIcon,
|
|
3373
3401
|
collapsedRowIcon: props.collapsedRowIcon,
|
|
3374
3402
|
ptCallbacks: props.ptCallbacks,
|
|
3375
|
-
metaData: props.metaData
|
|
3403
|
+
metaData: props.metaData,
|
|
3404
|
+
unstyled: isUnstyled()
|
|
3376
3405
|
});
|
|
3377
3406
|
var options = {
|
|
3378
3407
|
index: rowIndex,
|
|
@@ -3477,7 +3506,8 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
|
|
|
3477
3506
|
value: props.value,
|
|
3478
3507
|
virtualScrollerOptions: props.virtualScrollerOptions,
|
|
3479
3508
|
ptCallbacks: props.ptCallbacks,
|
|
3480
|
-
metaData: props.metaData
|
|
3509
|
+
metaData: props.metaData,
|
|
3510
|
+
unstyled: isUnstyled()
|
|
3481
3511
|
});
|
|
3482
3512
|
}
|
|
3483
3513
|
};
|
|
@@ -3841,18 +3871,20 @@ _defineProperty(PrimeReact, "filterMatchModeOptions", {
|
|
|
3841
3871
|
_defineProperty(PrimeReact, "changeTheme", function (currentTheme, newTheme, linkElementId, callback) {
|
|
3842
3872
|
var _linkElement$parentNo;
|
|
3843
3873
|
var linkElement = document.getElementById(linkElementId);
|
|
3844
|
-
|
|
3874
|
+
if (!linkElement) {
|
|
3875
|
+
throw Error("Element with id ".concat(linkElementId, " not found."));
|
|
3876
|
+
}
|
|
3845
3877
|
var newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme);
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3878
|
+
var newLinkElement = document.createElement('link');
|
|
3879
|
+
newLinkElement.setAttribute('rel', 'stylesheet');
|
|
3880
|
+
newLinkElement.setAttribute('id', linkElementId);
|
|
3881
|
+
newLinkElement.setAttribute('href', newThemeUrl);
|
|
3882
|
+
newLinkElement.addEventListener('load', function () {
|
|
3851
3883
|
if (callback) {
|
|
3852
3884
|
callback();
|
|
3853
3885
|
}
|
|
3854
3886
|
});
|
|
3855
|
-
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.
|
|
3887
|
+
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.replaceChild(newLinkElement, linkElement);
|
|
3856
3888
|
});
|
|
3857
3889
|
|
|
3858
3890
|
var locales = {
|
|
@@ -4074,6 +4106,15 @@ var FocusTrap = /*#__PURE__*/React__default["default"].memo( /*#__PURE__*/React_
|
|
|
4074
4106
|
var getTarget = function getTarget() {
|
|
4075
4107
|
return firstFocusableElementRef.current && firstFocusableElementRef.current.parentElement;
|
|
4076
4108
|
};
|
|
4109
|
+
|
|
4110
|
+
/**
|
|
4111
|
+
* This method sets the auto focus on the first focusable element within the target element.
|
|
4112
|
+
* It first tries to find a focusable element using the autoFocusSelector. If no such element is found,
|
|
4113
|
+
* it then tries to find a focusable element using the firstFocusableSelector.
|
|
4114
|
+
* If the autoFocus prop is set to true and a focusable element is found, it sets the focus on that element.
|
|
4115
|
+
*
|
|
4116
|
+
* @param {HTMLElement} target - The target element within which to find a focusable element.
|
|
4117
|
+
*/
|
|
4077
4118
|
var setAutoFocus = function setAutoFocus(target) {
|
|
4078
4119
|
var _ref = props || {},
|
|
4079
4120
|
_ref$autoFocusSelecto = _ref.autoFocusSelector,
|
|
@@ -4082,7 +4123,9 @@ var FocusTrap = /*#__PURE__*/React__default["default"].memo( /*#__PURE__*/React_
|
|
|
4082
4123
|
firstFocusableSelector = _ref$firstFocusableSe === void 0 ? '' : _ref$firstFocusableSe,
|
|
4083
4124
|
_ref$autoFocus = _ref.autoFocus,
|
|
4084
4125
|
autoFocus = _ref$autoFocus === void 0 ? false : _ref$autoFocus;
|
|
4085
|
-
var
|
|
4126
|
+
var defaultAutoFocusSelector = "".concat(getComputedSelector(autoFocusSelector));
|
|
4127
|
+
var computedAutoFocusSelector = "[autofocus]".concat(defaultAutoFocusSelector, ", [data-pc-autofocus='true']").concat(defaultAutoFocusSelector);
|
|
4128
|
+
var focusableElement = utils.DomHandler.getFirstFocusableElement(target, computedAutoFocusSelector);
|
|
4086
4129
|
autoFocus && !focusableElement && (focusableElement = utils.DomHandler.getFirstFocusableElement(target, getComputedSelector(firstFocusableSelector)));
|
|
4087
4130
|
utils.DomHandler.focus(focusableElement);
|
|
4088
4131
|
};
|
|
@@ -5198,7 +5241,7 @@ var HeaderCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
5198
5241
|
column: props.column
|
|
5199
5242
|
});
|
|
5200
5243
|
};
|
|
5201
|
-
var
|
|
5244
|
+
var onResizeStart = function onResizeStart(event) {
|
|
5202
5245
|
props.onColumnResizeStart({
|
|
5203
5246
|
originalEvent: event,
|
|
5204
5247
|
column: props.column
|
|
@@ -5235,7 +5278,10 @@ var HeaderCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
5235
5278
|
var columnResizerProps = mergeProps({
|
|
5236
5279
|
className: cx('columnResizer'),
|
|
5237
5280
|
onMouseDown: function onMouseDown(e) {
|
|
5238
|
-
return
|
|
5281
|
+
return onResizeStart(e);
|
|
5282
|
+
},
|
|
5283
|
+
onTouchStart: function onTouchStart(e) {
|
|
5284
|
+
return onResizeStart(e);
|
|
5239
5285
|
},
|
|
5240
5286
|
onClick: function onClick(e) {
|
|
5241
5287
|
return onResizerClick(e);
|
|
@@ -5295,7 +5341,8 @@ var HeaderCell = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
5295
5341
|
onChange: props.onColumnCheckboxChange,
|
|
5296
5342
|
disabled: props.empty,
|
|
5297
5343
|
ptCallbacks: ptCallbacks,
|
|
5298
|
-
metaData: parentMetaData
|
|
5344
|
+
metaData: parentMetaData,
|
|
5345
|
+
unstyled: props.unstyled
|
|
5299
5346
|
});
|
|
5300
5347
|
}
|
|
5301
5348
|
return null;
|
|
@@ -5653,19 +5700,6 @@ var TableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
|
|
|
5653
5700
|
});
|
|
5654
5701
|
TableHeader.displayName = 'TableHeader';
|
|
5655
5702
|
|
|
5656
|
-
var getStorage = function getStorage(stateStorageProp) {
|
|
5657
|
-
switch (stateStorageProp) {
|
|
5658
|
-
case 'local':
|
|
5659
|
-
return window.localStorage;
|
|
5660
|
-
case 'session':
|
|
5661
|
-
return window.sessionStorage;
|
|
5662
|
-
case 'custom':
|
|
5663
|
-
return null;
|
|
5664
|
-
default:
|
|
5665
|
-
throw new Error(stateStorageProp + ' is not a valid value for the state storage, supported values are "local", "session" and "custom".');
|
|
5666
|
-
}
|
|
5667
|
-
};
|
|
5668
|
-
|
|
5669
5703
|
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; } } }; }
|
|
5670
5704
|
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); }
|
|
5671
5705
|
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; }
|
|
@@ -5774,29 +5808,40 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
5774
5808
|
setRowsState(props.rows);
|
|
5775
5809
|
setD_rowsState(props.rows);
|
|
5776
5810
|
}
|
|
5811
|
+
var columnResizeStartListener = function columnResizeStartListener(event) {
|
|
5812
|
+
return columnResizing.current && onColumnResize(event);
|
|
5813
|
+
};
|
|
5814
|
+
var columnResizeEndListener = function columnResizeEndListener() {
|
|
5815
|
+
return columnResizing.current && (columnResizing.current = false, onColumnResizeEnd());
|
|
5816
|
+
};
|
|
5777
5817
|
var _useEventListener = hooks.useEventListener({
|
|
5778
5818
|
type: 'mousemove',
|
|
5779
|
-
listener:
|
|
5780
|
-
if (columnResizing.current) {
|
|
5781
|
-
onColumnResize(event);
|
|
5782
|
-
}
|
|
5783
|
-
}
|
|
5819
|
+
listener: columnResizeStartListener
|
|
5784
5820
|
}),
|
|
5785
5821
|
_useEventListener2 = _slicedToArray(_useEventListener, 2),
|
|
5786
5822
|
bindDocumentMouseMoveListener = _useEventListener2[0],
|
|
5787
5823
|
unbindDocumentMouseMoveListener = _useEventListener2[1];
|
|
5788
5824
|
var _useEventListener3 = hooks.useEventListener({
|
|
5789
5825
|
type: 'mouseup',
|
|
5790
|
-
listener:
|
|
5791
|
-
if (columnResizing.current) {
|
|
5792
|
-
columnResizing.current = false;
|
|
5793
|
-
onColumnResizeEnd();
|
|
5794
|
-
}
|
|
5795
|
-
}
|
|
5826
|
+
listener: columnResizeEndListener
|
|
5796
5827
|
}),
|
|
5797
5828
|
_useEventListener4 = _slicedToArray(_useEventListener3, 2),
|
|
5798
5829
|
bindDocumentMouseUpListener = _useEventListener4[0],
|
|
5799
5830
|
unbindDocumentMouseUpListener = _useEventListener4[1];
|
|
5831
|
+
var _useEventListener5 = hooks.useEventListener({
|
|
5832
|
+
type: 'touchmove',
|
|
5833
|
+
listener: columnResizeStartListener
|
|
5834
|
+
}),
|
|
5835
|
+
_useEventListener6 = _slicedToArray(_useEventListener5, 2),
|
|
5836
|
+
bindDocumentTouchMoveListener = _useEventListener6[0],
|
|
5837
|
+
unbindDocumentTouchMoveListener = _useEventListener6[1];
|
|
5838
|
+
var _useEventListener7 = hooks.useEventListener({
|
|
5839
|
+
type: 'touchend',
|
|
5840
|
+
listener: columnResizeEndListener
|
|
5841
|
+
}),
|
|
5842
|
+
_useEventListener8 = _slicedToArray(_useEventListener7, 2),
|
|
5843
|
+
bindDocumentTouchEndListener = _useEventListener8[0],
|
|
5844
|
+
unbindDocumentTouchEndListener = _useEventListener8[1];
|
|
5800
5845
|
var isCustomStateStorage = function isCustomStateStorage() {
|
|
5801
5846
|
return props.stateStorage === 'custom';
|
|
5802
5847
|
};
|
|
@@ -6132,7 +6177,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
6132
6177
|
resizeColumn.current = column;
|
|
6133
6178
|
resizeColumnElement.current = event.currentTarget.parentElement;
|
|
6134
6179
|
columnResizing.current = true;
|
|
6135
|
-
lastResizeHelperX.current = event.pageX - containerLeft + elementRef.current.scrollLeft;
|
|
6180
|
+
lastResizeHelperX.current = (event.type === 'touchstart' ? event.changedTouches[0].clientX : event.pageX) - containerLeft + elementRef.current.scrollLeft;
|
|
6136
6181
|
bindColumnResizeEvents();
|
|
6137
6182
|
};
|
|
6138
6183
|
var onColumnResize = function onColumnResize(event) {
|
|
@@ -6140,7 +6185,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
6140
6185
|
elementRef.current.setAttribute('data-p-unselectable-text', true);
|
|
6141
6186
|
resizeHelperRef.current.style.height = elementRef.current.offsetHeight + 'px';
|
|
6142
6187
|
resizeHelperRef.current.style.top = 0 + 'px';
|
|
6143
|
-
resizeHelperRef.current.style.left = event.pageX - containerLeft + elementRef.current.scrollLeft + 'px';
|
|
6188
|
+
resizeHelperRef.current.style.left = (event.type === 'touchmove' ? event.changedTouches[0].clientX : event.pageX) - containerLeft + elementRef.current.scrollLeft + 'px';
|
|
6144
6189
|
resizeHelperRef.current.style.display = 'block';
|
|
6145
6190
|
};
|
|
6146
6191
|
var onColumnResizeEnd = function onColumnResizeEnd() {
|
|
@@ -6211,10 +6256,14 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
6211
6256
|
var bindColumnResizeEvents = function bindColumnResizeEvents() {
|
|
6212
6257
|
bindDocumentMouseMoveListener();
|
|
6213
6258
|
bindDocumentMouseUpListener();
|
|
6259
|
+
bindDocumentTouchMoveListener();
|
|
6260
|
+
bindDocumentTouchEndListener();
|
|
6214
6261
|
};
|
|
6215
6262
|
var unbindColumnResizeEvents = function unbindColumnResizeEvents() {
|
|
6216
6263
|
unbindDocumentMouseMoveListener();
|
|
6217
6264
|
unbindDocumentMouseUpListener();
|
|
6265
|
+
unbindDocumentTouchMoveListener();
|
|
6266
|
+
unbindDocumentTouchEndListener();
|
|
6218
6267
|
};
|
|
6219
6268
|
var onColumnHeaderMouseDown = function onColumnHeaderMouseDown(e) {
|
|
6220
6269
|
utils.DomHandler.clearSelection();
|
|
@@ -6280,7 +6329,6 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
6280
6329
|
draggedColumnElement.current = findParentHeader(event.currentTarget);
|
|
6281
6330
|
event.dataTransfer.setData('text', 'b'); // Firefox requires this to make dragging possible
|
|
6282
6331
|
};
|
|
6283
|
-
|
|
6284
6332
|
var onColumnHeaderDragOver = function onColumnHeaderDragOver(e) {
|
|
6285
6333
|
var event = e.originalEvent,
|
|
6286
6334
|
column = e.column;
|
|
@@ -7212,7 +7260,8 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
7212
7260
|
value: props.frozenValue,
|
|
7213
7261
|
virtualScrollerOptions: options,
|
|
7214
7262
|
ptCallbacks: ptCallbacks,
|
|
7215
|
-
metaData: metaData
|
|
7263
|
+
metaData: metaData,
|
|
7264
|
+
unstyled: props.unstyled
|
|
7216
7265
|
});
|
|
7217
7266
|
var body = /*#__PURE__*/React__namespace.createElement(TableBody, {
|
|
7218
7267
|
hostName: "DataTable",
|
|
@@ -7295,7 +7344,8 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
7295
7344
|
virtualScrollerContentRef: contentRef,
|
|
7296
7345
|
virtualScrollerOptions: options,
|
|
7297
7346
|
ptCallbacks: ptCallbacks,
|
|
7298
|
-
metaData: metaData
|
|
7347
|
+
metaData: metaData,
|
|
7348
|
+
unstyled: props.unstyled
|
|
7299
7349
|
});
|
|
7300
7350
|
var spacerBody = utils.ObjectUtils.isNotEmpty(spacerStyle) ? /*#__PURE__*/React__namespace.createElement(TableBody, {
|
|
7301
7351
|
hostName: "DataTable",
|
|
@@ -7304,7 +7354,8 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
7304
7354
|
},
|
|
7305
7355
|
className: "p-datatable-virtualscroller-spacer",
|
|
7306
7356
|
ptCallbacks: ptCallbacks,
|
|
7307
|
-
metaData: metaData
|
|
7357
|
+
metaData: metaData,
|
|
7358
|
+
unstyled: props.unstyled
|
|
7308
7359
|
}) : null;
|
|
7309
7360
|
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, frozenBody, body, spacerBody);
|
|
7310
7361
|
};
|
|
@@ -7316,7 +7367,8 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
7316
7367
|
columns: columns,
|
|
7317
7368
|
footerColumnGroup: props.footerColumnGroup,
|
|
7318
7369
|
ptCallbacks: ptCallbacks,
|
|
7319
|
-
metaData: metaData
|
|
7370
|
+
metaData: metaData,
|
|
7371
|
+
unstyled: props.unstyled
|
|
7320
7372
|
});
|
|
7321
7373
|
};
|
|
7322
7374
|
var createContent = function createContent(processedData, columns, selectionModeInColumn, empty) {
|
|
@@ -7351,6 +7403,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
7351
7403
|
parent: metaData
|
|
7352
7404
|
},
|
|
7353
7405
|
showSpacer: false,
|
|
7406
|
+
unstyled: props.unstyled,
|
|
7354
7407
|
contentTemplate: function contentTemplate(options) {
|
|
7355
7408
|
var ref = function ref(el) {
|
|
7356
7409
|
tableRef.current = el;
|