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.js
CHANGED
|
@@ -153,6 +153,19 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
153
153
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest();
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
+
var getStorage = function getStorage(stateStorageProp) {
|
|
157
|
+
switch (stateStorageProp) {
|
|
158
|
+
case 'local':
|
|
159
|
+
return window.localStorage;
|
|
160
|
+
case 'session':
|
|
161
|
+
return window.sessionStorage;
|
|
162
|
+
case 'custom':
|
|
163
|
+
return null;
|
|
164
|
+
default:
|
|
165
|
+
throw new Error(stateStorageProp + ' is not a valid value for the state storage, supported values are "local", "session" and "custom".');
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
|
|
156
169
|
var ColumnBase = componentbase.ComponentBase.extend({
|
|
157
170
|
defaultProps: {
|
|
158
171
|
__TYPE: 'Column',
|
|
@@ -687,8 +700,15 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
687
700
|
var mergeProps = hooks.useMergeProps();
|
|
688
701
|
var context = React__namespace.useContext(PrimeReact$1.PrimeReactContext);
|
|
689
702
|
var props = CheckboxBase.getProps(inProps, context);
|
|
703
|
+
var _React$useState = React__namespace.useState(false),
|
|
704
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
705
|
+
focusedState = _React$useState2[0],
|
|
706
|
+
setFocusedState = _React$useState2[1];
|
|
690
707
|
var _CheckboxBase$setMeta = CheckboxBase.setMetaData({
|
|
691
708
|
props: props,
|
|
709
|
+
state: {
|
|
710
|
+
focused: focusedState
|
|
711
|
+
},
|
|
692
712
|
context: {
|
|
693
713
|
checked: props.checked === props.trueValue,
|
|
694
714
|
disabled: props.disabled
|
|
@@ -742,10 +762,12 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
742
762
|
};
|
|
743
763
|
var _onFocus = function onFocus() {
|
|
744
764
|
var _props$onFocus;
|
|
765
|
+
setFocusedState(true);
|
|
745
766
|
props === null || props === void 0 || (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props);
|
|
746
767
|
};
|
|
747
768
|
var _onBlur = function onBlur() {
|
|
748
769
|
var _props$onBlur;
|
|
770
|
+
setFocusedState(false);
|
|
749
771
|
props === null || props === void 0 || (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props);
|
|
750
772
|
};
|
|
751
773
|
React__namespace.useImperativeHandle(ref, function () {
|
|
@@ -891,8 +913,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
891
913
|
'aria-label': props.ariaLabel,
|
|
892
914
|
checked: props.checked,
|
|
893
915
|
icon: checkIcon,
|
|
894
|
-
disabled: props.disabled
|
|
895
|
-
|
|
916
|
+
disabled: props.disabled,
|
|
917
|
+
pt: getColumnPTOptions('rowCheckbox')
|
|
918
|
+
});
|
|
896
919
|
return /*#__PURE__*/React__namespace.createElement(Checkbox, checkboxProps);
|
|
897
920
|
});
|
|
898
921
|
RowCheckbox.displayName = 'RowCheckbox';
|
|
@@ -1049,7 +1072,10 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1049
1072
|
})),
|
|
1050
1073
|
style: props.style,
|
|
1051
1074
|
'data-p-checked': props.checked
|
|
1052
|
-
},
|
|
1075
|
+
}, otherProps, ptm('root'));
|
|
1076
|
+
delete rootProps.input;
|
|
1077
|
+
delete rootProps.box;
|
|
1078
|
+
delete rootProps.icon;
|
|
1053
1079
|
var createInputElement = function createInputElement() {
|
|
1054
1080
|
var ariaProps = utils.ObjectUtils.reduceKeys(otherProps, utils.DomHandler.ARIA_PROPS);
|
|
1055
1081
|
var inputProps = mergeProps(_objectSpread$b({
|
|
@@ -1065,7 +1091,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1065
1091
|
required: props.required,
|
|
1066
1092
|
tabIndex: props.tabIndex,
|
|
1067
1093
|
className: cx('input')
|
|
1068
|
-
}, ariaProps), ptm('input'));
|
|
1094
|
+
}, ariaProps), inProps.input, ptm('input'));
|
|
1069
1095
|
return /*#__PURE__*/React__namespace.createElement("input", _extends({
|
|
1070
1096
|
ref: inputRef
|
|
1071
1097
|
}, inputProps));
|
|
@@ -1073,10 +1099,10 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1073
1099
|
var createBoxElement = function createBoxElement() {
|
|
1074
1100
|
var boxProps = mergeProps({
|
|
1075
1101
|
className: cx('box')
|
|
1076
|
-
}, ptm('box'));
|
|
1102
|
+
}, inProps.box, ptm('box'));
|
|
1077
1103
|
var iconProps = mergeProps({
|
|
1078
1104
|
className: cx('icon')
|
|
1079
|
-
}, ptm('icon'));
|
|
1105
|
+
}, inProps.icon, ptm('icon'));
|
|
1080
1106
|
return /*#__PURE__*/React__namespace.createElement("div", boxProps, /*#__PURE__*/React__namespace.createElement("div", iconProps));
|
|
1081
1107
|
};
|
|
1082
1108
|
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", _extends({
|
|
@@ -1124,8 +1150,10 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1124
1150
|
checked: props.checked,
|
|
1125
1151
|
disabled: props.disabled,
|
|
1126
1152
|
name: "".concat(props.tableSelector, "_dt_radio"),
|
|
1127
|
-
onChange: onChange
|
|
1128
|
-
|
|
1153
|
+
onChange: onChange,
|
|
1154
|
+
unstyled: props.unstyled,
|
|
1155
|
+
pt: getColumnPTOptions('rowRadioButton')
|
|
1156
|
+
});
|
|
1129
1157
|
return /*#__PURE__*/React__namespace.createElement(RadioButton, radioButtonProps);
|
|
1130
1158
|
});
|
|
1131
1159
|
RowRadioButton.displayName = 'RowRadioButton';
|
|
@@ -1150,7 +1178,6 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1150
1178
|
var keyHelperRef = React__namespace.useRef(null);
|
|
1151
1179
|
var overlayEventListener = React__namespace.useRef(null);
|
|
1152
1180
|
var selfClick = React__namespace.useRef(false);
|
|
1153
|
-
var tabindexTimeout = React__namespace.useRef(null);
|
|
1154
1181
|
var initFocusTimeout = React__namespace.useRef(null);
|
|
1155
1182
|
var editingRowDataStateRef = React__namespace.useRef(null);
|
|
1156
1183
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
@@ -1187,7 +1214,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1187
1214
|
var field = getColumnProp('field') || "field_".concat(props.index);
|
|
1188
1215
|
var editingKey = props.dataKey ? props.rowData && props.rowData[props.dataKey] || props.rowIndex : props.rowIndex;
|
|
1189
1216
|
var isEditable = function isEditable() {
|
|
1190
|
-
return getColumnProp('editor');
|
|
1217
|
+
return utils.ObjectUtils.isNotEmpty(props.editMode) && getColumnProp('editor');
|
|
1191
1218
|
};
|
|
1192
1219
|
var cellEditValidateOnClose = function cellEditValidateOnClose() {
|
|
1193
1220
|
return getColumnProp('cellEditValidateOnClose');
|
|
@@ -1331,14 +1358,11 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1331
1358
|
}
|
|
1332
1359
|
};
|
|
1333
1360
|
var focusOnElement = function focusOnElement() {
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
}
|
|
1340
|
-
keyHelperRef.current && (keyHelperRef.current.tabIndex = editingState ? -1 : 0);
|
|
1341
|
-
}, 1);
|
|
1361
|
+
if (editingState) {
|
|
1362
|
+
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"]');
|
|
1363
|
+
focusableEl && focusableEl.focus();
|
|
1364
|
+
}
|
|
1365
|
+
keyHelperRef.current && (keyHelperRef.current.tabIndex = editingState ? -1 : 0);
|
|
1342
1366
|
};
|
|
1343
1367
|
var focusOnInit = function focusOnInit() {
|
|
1344
1368
|
clearTimeout(initFocusTimeout.current);
|
|
@@ -1380,6 +1404,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1380
1404
|
if (currentData) {
|
|
1381
1405
|
utils.ObjectUtils.mutateFieldData(currentData, field, val);
|
|
1382
1406
|
}
|
|
1407
|
+
editingRowDataStateRef.current = editingRowData;
|
|
1383
1408
|
};
|
|
1384
1409
|
var _onClick = function onClick(event) {
|
|
1385
1410
|
var params = getCellCallbackParams(event);
|
|
@@ -1572,14 +1597,11 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1572
1597
|
}, [props.editMode, props.editing, editingState]);
|
|
1573
1598
|
hooks.useUpdateEffect(function () {
|
|
1574
1599
|
if (props.editMode === 'cell' || props.editMode === 'row') {
|
|
1575
|
-
|
|
1600
|
+
var editingRowData = getEditingRowData();
|
|
1601
|
+
setEditingRowDataState(editingRowData);
|
|
1602
|
+
editingRowDataStateRef.current = editingRowData;
|
|
1576
1603
|
}
|
|
1577
1604
|
}, [props.editingMeta]);
|
|
1578
|
-
React__namespace.useEffect(function () {
|
|
1579
|
-
if (editingRowDataState) {
|
|
1580
|
-
editingRowDataStateRef.current = editingRowDataState;
|
|
1581
|
-
}
|
|
1582
|
-
}, [editingRowDataState]);
|
|
1583
1605
|
React__namespace.useEffect(function () {
|
|
1584
1606
|
if (props.editMode === 'cell' || props.editMode === 'row') {
|
|
1585
1607
|
var callbackParams = getCellCallbackParams();
|
|
@@ -1654,7 +1676,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1654
1676
|
if (showSelection) {
|
|
1655
1677
|
var ariaLabelField = props.selectionAriaLabel || props.tableProps.dataKey;
|
|
1656
1678
|
var ariaLabelText = utils.ObjectUtils.resolveFieldData(props.rowData, ariaLabelField);
|
|
1657
|
-
label = "".concat(props.selected ? PrimeReact$1.ariaLabel('
|
|
1679
|
+
label = "".concat(props.selected ? PrimeReact$1.ariaLabel('unselectRow') : PrimeReact$1.ariaLabel('selectRow'), " ").concat(ariaLabelText);
|
|
1658
1680
|
}
|
|
1659
1681
|
content = showSelection && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, selectionMode === 'single' && /*#__PURE__*/React__namespace.createElement(RowRadioButton, {
|
|
1660
1682
|
hostName: props.hostName,
|
|
@@ -1669,7 +1691,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1669
1691
|
tableSelector: props.tableSelector,
|
|
1670
1692
|
ariaLabel: label,
|
|
1671
1693
|
ptCallbacks: props.ptCallbacks,
|
|
1672
|
-
metaData: props.metaData
|
|
1694
|
+
metaData: props.metaData,
|
|
1695
|
+
unstyled: props.unstyled
|
|
1673
1696
|
}), selectionMode === 'multiple' && /*#__PURE__*/React__namespace.createElement(RowCheckbox, {
|
|
1674
1697
|
hostName: props.hostName,
|
|
1675
1698
|
column: props.column,
|
|
@@ -1683,7 +1706,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1683
1706
|
ariaLabel: label,
|
|
1684
1707
|
checkIcon: props.checkIcon,
|
|
1685
1708
|
ptCallbacks: props.ptCallbacks,
|
|
1686
|
-
metaData: props.metaData
|
|
1709
|
+
metaData: props.metaData,
|
|
1710
|
+
unstyled: props.unstyled
|
|
1687
1711
|
}));
|
|
1688
1712
|
} else if (rowReorder) {
|
|
1689
1713
|
var showReorder = props.showRowReorderElement ? props.showRowReorderElement(props.rowData, {
|
|
@@ -1846,7 +1870,6 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1846
1870
|
}, editorKeyHelperProps), /*#__PURE__*/React__namespace.createElement("span", editorKeyHelperLabelProps));
|
|
1847
1871
|
/* eslint-enable */
|
|
1848
1872
|
}
|
|
1849
|
-
|
|
1850
1873
|
var bodyCellProps = mergeProps({
|
|
1851
1874
|
style: style,
|
|
1852
1875
|
className: utils.classNames(bodyClassName, getColumnProp('className'), cellClassName, cx('bodyCell', {
|
|
@@ -2330,7 +2353,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2330
2353
|
value: props.value,
|
|
2331
2354
|
virtualScrollerOptions: props.virtualScrollerOptions,
|
|
2332
2355
|
ptCallbacks: props.ptCallbacks,
|
|
2333
|
-
metaData: props.metaData
|
|
2356
|
+
metaData: props.metaData,
|
|
2357
|
+
unstyled: props.unstyled
|
|
2334
2358
|
});
|
|
2335
2359
|
}
|
|
2336
2360
|
return null;
|
|
@@ -2409,7 +2433,6 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2409
2433
|
}, getBodyRowPTOptions('bodyRow'), {
|
|
2410
2434
|
className: utils.classNames(rowClassName) // #5983 must be last so all unstyled merging takes place first
|
|
2411
2435
|
});
|
|
2412
|
-
|
|
2413
2436
|
return /*#__PURE__*/React__namespace.createElement("tr", rowProps, content);
|
|
2414
2437
|
});
|
|
2415
2438
|
BodyRow.displayName = 'BodyRow';
|
|
@@ -2421,7 +2444,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2421
2444
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
2422
2445
|
ptm = _props$ptCallbacks.ptm,
|
|
2423
2446
|
ptmo = _props$ptCallbacks.ptmo,
|
|
2424
|
-
cx = _props$ptCallbacks.cx
|
|
2447
|
+
cx = _props$ptCallbacks.cx,
|
|
2448
|
+
isUnstyled = _props$ptCallbacks.isUnstyled;
|
|
2425
2449
|
var _onClick = function onClick(event) {
|
|
2426
2450
|
props.onClick({
|
|
2427
2451
|
originalEvent: event,
|
|
@@ -2444,8 +2468,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2444
2468
|
};
|
|
2445
2469
|
var rowGroupTogglerIconProps = mergeProps({
|
|
2446
2470
|
className: cx('rowGroupTogglerIcon'),
|
|
2447
|
-
'aria-hidden': true
|
|
2448
|
-
|
|
2471
|
+
'aria-hidden': true,
|
|
2472
|
+
unstyled: isUnstyled()
|
|
2473
|
+
}, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
|
|
2449
2474
|
var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React__namespace.createElement(chevrondown.ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React__namespace.createElement(chevronright.ChevronRightIcon, rowGroupTogglerIconProps);
|
|
2450
2475
|
var togglerIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$8({}, rowGroupTogglerIconProps), {
|
|
2451
2476
|
props: props
|
|
@@ -2458,8 +2483,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2458
2483
|
},
|
|
2459
2484
|
className: cx('rowGroupToggler'),
|
|
2460
2485
|
tabIndex: props.tabIndex,
|
|
2461
|
-
'aria-label': label
|
|
2462
|
-
|
|
2486
|
+
'aria-label': label,
|
|
2487
|
+
unstyled: isUnstyled()
|
|
2488
|
+
}, ptm('rowGroupToggler'), getColumnPTOptions('rowGroupToggler'));
|
|
2463
2489
|
return /*#__PURE__*/React__namespace.createElement("button", rowGroupTogglerProps, togglerIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null));
|
|
2464
2490
|
});
|
|
2465
2491
|
RowTogglerButton.displayName = 'RowTogglerButton';
|
|
@@ -2473,7 +2499,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2473
2499
|
ptm = _props$ptCallbacks.ptm,
|
|
2474
2500
|
ptmo = _props$ptCallbacks.ptmo,
|
|
2475
2501
|
cx = _props$ptCallbacks.cx,
|
|
2476
|
-
|
|
2502
|
+
isUnstyled = _props$ptCallbacks.isUnstyled;
|
|
2477
2503
|
var _React$useState = React__namespace.useState({}),
|
|
2478
2504
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
2479
2505
|
rowGroupHeaderStyleObjectState = _React$useState2[0],
|
|
@@ -2908,7 +2934,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2908
2934
|
if (props.dragSelection && !dragSelectionHelper.current) {
|
|
2909
2935
|
dragSelectionHelper.current = document.createElement('div');
|
|
2910
2936
|
dragSelectionHelper.current.setAttribute('p-datatable-drag-selection-helper', 'true');
|
|
2911
|
-
!
|
|
2937
|
+
!isUnstyled() && utils.DomHandler.addClass(dragSelectionHelper.current, 'p-datatable-drag-selection-helper');
|
|
2912
2938
|
initialDragPosition.current = {
|
|
2913
2939
|
x: event.clientX,
|
|
2914
2940
|
y: event.clientY
|
|
@@ -3036,7 +3062,10 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3036
3062
|
};
|
|
3037
3063
|
var onRowMouseDown = function onRowMouseDown(e) {
|
|
3038
3064
|
var event = e.originalEvent;
|
|
3039
|
-
if (!
|
|
3065
|
+
if (!isUnstyled() && utils.DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle')) {
|
|
3066
|
+
event.currentTarget.draggable = true;
|
|
3067
|
+
event.target.draggable = false;
|
|
3068
|
+
} else if (isUnstyled() && utils.DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowreordericon') {
|
|
3040
3069
|
event.currentTarget.draggable = true;
|
|
3041
3070
|
event.target.draggable = false;
|
|
3042
3071
|
} else {
|
|
@@ -3117,7 +3146,6 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3117
3146
|
event.dataTransfer.setData('text', 'b'); // For firefox
|
|
3118
3147
|
}
|
|
3119
3148
|
};
|
|
3120
|
-
|
|
3121
3149
|
var onRowDragOver = function onRowDragOver(e) {
|
|
3122
3150
|
var event = e.originalEvent,
|
|
3123
3151
|
index = e.index;
|
|
@@ -3129,26 +3157,26 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3129
3157
|
var prevRowElement = rowElement.previousElementSibling;
|
|
3130
3158
|
if (pageY < rowMidY) {
|
|
3131
3159
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3132
|
-
!
|
|
3160
|
+
!isUnstyled() && utils.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3133
3161
|
droppedRowIndex.current = index;
|
|
3134
3162
|
if (prevRowElement) {
|
|
3135
3163
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
|
|
3136
|
-
!
|
|
3164
|
+
!isUnstyled() && utils.DomHandler.addClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3137
3165
|
} else {
|
|
3138
3166
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
|
|
3139
|
-
!
|
|
3167
|
+
!isUnstyled() && utils.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3140
3168
|
}
|
|
3141
3169
|
} else {
|
|
3142
3170
|
if (prevRowElement) {
|
|
3143
3171
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3144
|
-
!
|
|
3172
|
+
!isUnstyled() && utils.DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3145
3173
|
} else {
|
|
3146
3174
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
|
|
3147
|
-
!
|
|
3175
|
+
!isUnstyled() && utils.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3148
3176
|
}
|
|
3149
3177
|
droppedRowIndex.current = index + 1;
|
|
3150
3178
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
|
|
3151
|
-
!
|
|
3179
|
+
!isUnstyled() && utils.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3152
3180
|
}
|
|
3153
3181
|
}
|
|
3154
3182
|
event.preventDefault();
|
|
@@ -3159,12 +3187,12 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3159
3187
|
var prevRowElement = rowElement.previousElementSibling;
|
|
3160
3188
|
if (prevRowElement) {
|
|
3161
3189
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3162
|
-
!
|
|
3190
|
+
!isUnstyled() && utils.DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3163
3191
|
}
|
|
3164
3192
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3165
|
-
!
|
|
3193
|
+
!isUnstyled() && utils.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3166
3194
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'false');
|
|
3167
|
-
!
|
|
3195
|
+
!isUnstyled() && utils.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3168
3196
|
};
|
|
3169
3197
|
var onRowDragEnd = function onRowDragEnd(e) {
|
|
3170
3198
|
var event = e.originalEvent;
|
|
@@ -3339,7 +3367,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3339
3367
|
expandedRowIcon: props.expandedRowIcon,
|
|
3340
3368
|
collapsedRowIcon: props.collapsedRowIcon,
|
|
3341
3369
|
ptCallbacks: props.ptCallbacks,
|
|
3342
|
-
metaData: props.metaData
|
|
3370
|
+
metaData: props.metaData,
|
|
3371
|
+
unstyled: isUnstyled()
|
|
3343
3372
|
});
|
|
3344
3373
|
var options = {
|
|
3345
3374
|
index: rowIndex,
|
|
@@ -3444,7 +3473,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3444
3473
|
value: props.value,
|
|
3445
3474
|
virtualScrollerOptions: props.virtualScrollerOptions,
|
|
3446
3475
|
ptCallbacks: props.ptCallbacks,
|
|
3447
|
-
metaData: props.metaData
|
|
3476
|
+
metaData: props.metaData,
|
|
3477
|
+
unstyled: isUnstyled()
|
|
3448
3478
|
});
|
|
3449
3479
|
}
|
|
3450
3480
|
};
|
|
@@ -3808,18 +3838,20 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3808
3838
|
_defineProperty(PrimeReact, "changeTheme", function (currentTheme, newTheme, linkElementId, callback) {
|
|
3809
3839
|
var _linkElement$parentNo;
|
|
3810
3840
|
var linkElement = document.getElementById(linkElementId);
|
|
3811
|
-
|
|
3841
|
+
if (!linkElement) {
|
|
3842
|
+
throw Error("Element with id ".concat(linkElementId, " not found."));
|
|
3843
|
+
}
|
|
3812
3844
|
var newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme);
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3845
|
+
var newLinkElement = document.createElement('link');
|
|
3846
|
+
newLinkElement.setAttribute('rel', 'stylesheet');
|
|
3847
|
+
newLinkElement.setAttribute('id', linkElementId);
|
|
3848
|
+
newLinkElement.setAttribute('href', newThemeUrl);
|
|
3849
|
+
newLinkElement.addEventListener('load', function () {
|
|
3818
3850
|
if (callback) {
|
|
3819
3851
|
callback();
|
|
3820
3852
|
}
|
|
3821
3853
|
});
|
|
3822
|
-
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.
|
|
3854
|
+
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.replaceChild(newLinkElement, linkElement);
|
|
3823
3855
|
});
|
|
3824
3856
|
|
|
3825
3857
|
var locales = {
|
|
@@ -4041,6 +4073,15 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
4041
4073
|
var getTarget = function getTarget() {
|
|
4042
4074
|
return firstFocusableElementRef.current && firstFocusableElementRef.current.parentElement;
|
|
4043
4075
|
};
|
|
4076
|
+
|
|
4077
|
+
/**
|
|
4078
|
+
* This method sets the auto focus on the first focusable element within the target element.
|
|
4079
|
+
* It first tries to find a focusable element using the autoFocusSelector. If no such element is found,
|
|
4080
|
+
* it then tries to find a focusable element using the firstFocusableSelector.
|
|
4081
|
+
* If the autoFocus prop is set to true and a focusable element is found, it sets the focus on that element.
|
|
4082
|
+
*
|
|
4083
|
+
* @param {HTMLElement} target - The target element within which to find a focusable element.
|
|
4084
|
+
*/
|
|
4044
4085
|
var setAutoFocus = function setAutoFocus(target) {
|
|
4045
4086
|
var _ref = props || {},
|
|
4046
4087
|
_ref$autoFocusSelecto = _ref.autoFocusSelector,
|
|
@@ -4049,7 +4090,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
4049
4090
|
firstFocusableSelector = _ref$firstFocusableSe === void 0 ? '' : _ref$firstFocusableSe,
|
|
4050
4091
|
_ref$autoFocus = _ref.autoFocus,
|
|
4051
4092
|
autoFocus = _ref$autoFocus === void 0 ? false : _ref$autoFocus;
|
|
4052
|
-
var
|
|
4093
|
+
var defaultAutoFocusSelector = "".concat(getComputedSelector(autoFocusSelector));
|
|
4094
|
+
var computedAutoFocusSelector = "[autofocus]".concat(defaultAutoFocusSelector, ", [data-pc-autofocus='true']").concat(defaultAutoFocusSelector);
|
|
4095
|
+
var focusableElement = utils.DomHandler.getFirstFocusableElement(target, computedAutoFocusSelector);
|
|
4053
4096
|
autoFocus && !focusableElement && (focusableElement = utils.DomHandler.getFirstFocusableElement(target, getComputedSelector(firstFocusableSelector)));
|
|
4054
4097
|
utils.DomHandler.focus(focusableElement);
|
|
4055
4098
|
};
|
|
@@ -5165,7 +5208,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5165
5208
|
column: props.column
|
|
5166
5209
|
});
|
|
5167
5210
|
};
|
|
5168
|
-
var
|
|
5211
|
+
var onResizeStart = function onResizeStart(event) {
|
|
5169
5212
|
props.onColumnResizeStart({
|
|
5170
5213
|
originalEvent: event,
|
|
5171
5214
|
column: props.column
|
|
@@ -5202,7 +5245,10 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5202
5245
|
var columnResizerProps = mergeProps({
|
|
5203
5246
|
className: cx('columnResizer'),
|
|
5204
5247
|
onMouseDown: function onMouseDown(e) {
|
|
5205
|
-
return
|
|
5248
|
+
return onResizeStart(e);
|
|
5249
|
+
},
|
|
5250
|
+
onTouchStart: function onTouchStart(e) {
|
|
5251
|
+
return onResizeStart(e);
|
|
5206
5252
|
},
|
|
5207
5253
|
onClick: function onClick(e) {
|
|
5208
5254
|
return onResizerClick(e);
|
|
@@ -5262,7 +5308,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5262
5308
|
onChange: props.onColumnCheckboxChange,
|
|
5263
5309
|
disabled: props.empty,
|
|
5264
5310
|
ptCallbacks: ptCallbacks,
|
|
5265
|
-
metaData: parentMetaData
|
|
5311
|
+
metaData: parentMetaData,
|
|
5312
|
+
unstyled: props.unstyled
|
|
5266
5313
|
});
|
|
5267
5314
|
}
|
|
5268
5315
|
return null;
|
|
@@ -5620,19 +5667,6 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5620
5667
|
});
|
|
5621
5668
|
TableHeader.displayName = 'TableHeader';
|
|
5622
5669
|
|
|
5623
|
-
var getStorage = function getStorage(stateStorageProp) {
|
|
5624
|
-
switch (stateStorageProp) {
|
|
5625
|
-
case 'local':
|
|
5626
|
-
return window.localStorage;
|
|
5627
|
-
case 'session':
|
|
5628
|
-
return window.sessionStorage;
|
|
5629
|
-
case 'custom':
|
|
5630
|
-
return null;
|
|
5631
|
-
default:
|
|
5632
|
-
throw new Error(stateStorageProp + ' is not a valid value for the state storage, supported values are "local", "session" and "custom".');
|
|
5633
|
-
}
|
|
5634
|
-
};
|
|
5635
|
-
|
|
5636
5670
|
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; } } }; }
|
|
5637
5671
|
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); }
|
|
5638
5672
|
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; }
|
|
@@ -5741,29 +5775,40 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5741
5775
|
setRowsState(props.rows);
|
|
5742
5776
|
setD_rowsState(props.rows);
|
|
5743
5777
|
}
|
|
5778
|
+
var columnResizeStartListener = function columnResizeStartListener(event) {
|
|
5779
|
+
return columnResizing.current && onColumnResize(event);
|
|
5780
|
+
};
|
|
5781
|
+
var columnResizeEndListener = function columnResizeEndListener() {
|
|
5782
|
+
return columnResizing.current && (columnResizing.current = false, onColumnResizeEnd());
|
|
5783
|
+
};
|
|
5744
5784
|
var _useEventListener = hooks.useEventListener({
|
|
5745
5785
|
type: 'mousemove',
|
|
5746
|
-
listener:
|
|
5747
|
-
if (columnResizing.current) {
|
|
5748
|
-
onColumnResize(event);
|
|
5749
|
-
}
|
|
5750
|
-
}
|
|
5786
|
+
listener: columnResizeStartListener
|
|
5751
5787
|
}),
|
|
5752
5788
|
_useEventListener2 = _slicedToArray(_useEventListener, 2),
|
|
5753
5789
|
bindDocumentMouseMoveListener = _useEventListener2[0],
|
|
5754
5790
|
unbindDocumentMouseMoveListener = _useEventListener2[1];
|
|
5755
5791
|
var _useEventListener3 = hooks.useEventListener({
|
|
5756
5792
|
type: 'mouseup',
|
|
5757
|
-
listener:
|
|
5758
|
-
if (columnResizing.current) {
|
|
5759
|
-
columnResizing.current = false;
|
|
5760
|
-
onColumnResizeEnd();
|
|
5761
|
-
}
|
|
5762
|
-
}
|
|
5793
|
+
listener: columnResizeEndListener
|
|
5763
5794
|
}),
|
|
5764
5795
|
_useEventListener4 = _slicedToArray(_useEventListener3, 2),
|
|
5765
5796
|
bindDocumentMouseUpListener = _useEventListener4[0],
|
|
5766
5797
|
unbindDocumentMouseUpListener = _useEventListener4[1];
|
|
5798
|
+
var _useEventListener5 = hooks.useEventListener({
|
|
5799
|
+
type: 'touchmove',
|
|
5800
|
+
listener: columnResizeStartListener
|
|
5801
|
+
}),
|
|
5802
|
+
_useEventListener6 = _slicedToArray(_useEventListener5, 2),
|
|
5803
|
+
bindDocumentTouchMoveListener = _useEventListener6[0],
|
|
5804
|
+
unbindDocumentTouchMoveListener = _useEventListener6[1];
|
|
5805
|
+
var _useEventListener7 = hooks.useEventListener({
|
|
5806
|
+
type: 'touchend',
|
|
5807
|
+
listener: columnResizeEndListener
|
|
5808
|
+
}),
|
|
5809
|
+
_useEventListener8 = _slicedToArray(_useEventListener7, 2),
|
|
5810
|
+
bindDocumentTouchEndListener = _useEventListener8[0],
|
|
5811
|
+
unbindDocumentTouchEndListener = _useEventListener8[1];
|
|
5767
5812
|
var isCustomStateStorage = function isCustomStateStorage() {
|
|
5768
5813
|
return props.stateStorage === 'custom';
|
|
5769
5814
|
};
|
|
@@ -6099,7 +6144,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
6099
6144
|
resizeColumn.current = column;
|
|
6100
6145
|
resizeColumnElement.current = event.currentTarget.parentElement;
|
|
6101
6146
|
columnResizing.current = true;
|
|
6102
|
-
lastResizeHelperX.current = event.pageX - containerLeft + elementRef.current.scrollLeft;
|
|
6147
|
+
lastResizeHelperX.current = (event.type === 'touchstart' ? event.changedTouches[0].clientX : event.pageX) - containerLeft + elementRef.current.scrollLeft;
|
|
6103
6148
|
bindColumnResizeEvents();
|
|
6104
6149
|
};
|
|
6105
6150
|
var onColumnResize = function onColumnResize(event) {
|
|
@@ -6107,7 +6152,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
6107
6152
|
elementRef.current.setAttribute('data-p-unselectable-text', true);
|
|
6108
6153
|
resizeHelperRef.current.style.height = elementRef.current.offsetHeight + 'px';
|
|
6109
6154
|
resizeHelperRef.current.style.top = 0 + 'px';
|
|
6110
|
-
resizeHelperRef.current.style.left = event.pageX - containerLeft + elementRef.current.scrollLeft + 'px';
|
|
6155
|
+
resizeHelperRef.current.style.left = (event.type === 'touchmove' ? event.changedTouches[0].clientX : event.pageX) - containerLeft + elementRef.current.scrollLeft + 'px';
|
|
6111
6156
|
resizeHelperRef.current.style.display = 'block';
|
|
6112
6157
|
};
|
|
6113
6158
|
var onColumnResizeEnd = function onColumnResizeEnd() {
|
|
@@ -6178,10 +6223,14 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
6178
6223
|
var bindColumnResizeEvents = function bindColumnResizeEvents() {
|
|
6179
6224
|
bindDocumentMouseMoveListener();
|
|
6180
6225
|
bindDocumentMouseUpListener();
|
|
6226
|
+
bindDocumentTouchMoveListener();
|
|
6227
|
+
bindDocumentTouchEndListener();
|
|
6181
6228
|
};
|
|
6182
6229
|
var unbindColumnResizeEvents = function unbindColumnResizeEvents() {
|
|
6183
6230
|
unbindDocumentMouseMoveListener();
|
|
6184
6231
|
unbindDocumentMouseUpListener();
|
|
6232
|
+
unbindDocumentTouchMoveListener();
|
|
6233
|
+
unbindDocumentTouchEndListener();
|
|
6185
6234
|
};
|
|
6186
6235
|
var onColumnHeaderMouseDown = function onColumnHeaderMouseDown(e) {
|
|
6187
6236
|
utils.DomHandler.clearSelection();
|
|
@@ -6247,7 +6296,6 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
6247
6296
|
draggedColumnElement.current = findParentHeader(event.currentTarget);
|
|
6248
6297
|
event.dataTransfer.setData('text', 'b'); // Firefox requires this to make dragging possible
|
|
6249
6298
|
};
|
|
6250
|
-
|
|
6251
6299
|
var onColumnHeaderDragOver = function onColumnHeaderDragOver(e) {
|
|
6252
6300
|
var event = e.originalEvent,
|
|
6253
6301
|
column = e.column;
|
|
@@ -7179,7 +7227,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
7179
7227
|
value: props.frozenValue,
|
|
7180
7228
|
virtualScrollerOptions: options,
|
|
7181
7229
|
ptCallbacks: ptCallbacks,
|
|
7182
|
-
metaData: metaData
|
|
7230
|
+
metaData: metaData,
|
|
7231
|
+
unstyled: props.unstyled
|
|
7183
7232
|
});
|
|
7184
7233
|
var body = /*#__PURE__*/React__namespace.createElement(TableBody, {
|
|
7185
7234
|
hostName: "DataTable",
|
|
@@ -7262,7 +7311,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
7262
7311
|
virtualScrollerContentRef: contentRef,
|
|
7263
7312
|
virtualScrollerOptions: options,
|
|
7264
7313
|
ptCallbacks: ptCallbacks,
|
|
7265
|
-
metaData: metaData
|
|
7314
|
+
metaData: metaData,
|
|
7315
|
+
unstyled: props.unstyled
|
|
7266
7316
|
});
|
|
7267
7317
|
var spacerBody = utils.ObjectUtils.isNotEmpty(spacerStyle) ? /*#__PURE__*/React__namespace.createElement(TableBody, {
|
|
7268
7318
|
hostName: "DataTable",
|
|
@@ -7271,7 +7321,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
7271
7321
|
},
|
|
7272
7322
|
className: "p-datatable-virtualscroller-spacer",
|
|
7273
7323
|
ptCallbacks: ptCallbacks,
|
|
7274
|
-
metaData: metaData
|
|
7324
|
+
metaData: metaData,
|
|
7325
|
+
unstyled: props.unstyled
|
|
7275
7326
|
}) : null;
|
|
7276
7327
|
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, frozenBody, body, spacerBody);
|
|
7277
7328
|
};
|
|
@@ -7283,7 +7334,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
7283
7334
|
columns: columns,
|
|
7284
7335
|
footerColumnGroup: props.footerColumnGroup,
|
|
7285
7336
|
ptCallbacks: ptCallbacks,
|
|
7286
|
-
metaData: metaData
|
|
7337
|
+
metaData: metaData,
|
|
7338
|
+
unstyled: props.unstyled
|
|
7287
7339
|
});
|
|
7288
7340
|
};
|
|
7289
7341
|
var createContent = function createContent(processedData, columns, selectionModeInColumn, empty) {
|
|
@@ -7318,6 +7370,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
7318
7370
|
parent: metaData
|
|
7319
7371
|
},
|
|
7320
7372
|
showSpacer: false,
|
|
7373
|
+
unstyled: props.unstyled,
|
|
7321
7374
|
contentTemplate: function contentTemplate(options) {
|
|
7322
7375
|
var ref = function ref(el) {
|
|
7323
7376
|
tableRef.current = el;
|