primereact 10.7.0 → 10.8.1
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 +18 -7
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +4 -3
- package/autocomplete/autocomplete.esm.js +18 -7
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +18 -7
- package/autocomplete/autocomplete.min.js +1 -1
- package/button/button.d.ts +2 -2
- package/calendar/calendar.cjs.js +14 -10
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +4 -3
- package/calendar/calendar.esm.js +14 -10
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +14 -10
- package/calendar/calendar.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +4 -3
- package/column/column.d.ts +8 -14
- package/core/core.js +54 -62
- package/core/core.min.js +9 -9
- package/datatable/datatable.cjs.js +59 -62
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +38 -2
- package/datatable/datatable.esm.js +59 -62
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +59 -62
- package/datatable/datatable.min.js +1 -1
- package/dialog/dialog.cjs.js +1 -1
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +1 -1
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +1 -1
- package/dialog/dialog.min.js +1 -1
- package/dropdown/dropdown.cjs.js +13 -7
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +13 -7
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +13 -7
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +15 -3
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +16 -3
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +15 -3
- package/editor/editor.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/inplace/inplace.d.ts +1 -1
- package/inputnumber/inputnumber.cjs.js +1 -0
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +1 -0
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +1 -0
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputotp/inputotp.cjs.js +4 -3
- package/inputotp/inputotp.cjs.min.js +1 -1
- package/inputotp/inputotp.d.ts +2 -3
- package/inputotp/inputotp.esm.js +4 -3
- package/inputotp/inputotp.esm.min.js +1 -1
- package/inputotp/inputotp.js +4 -3
- package/inputotp/inputotp.min.js +1 -1
- package/listbox/listbox.cjs.js +4 -0
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +4 -0
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +4 -0
- 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.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/multiselect/multiselect.cjs.js +8 -5
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +1 -9
- package/multiselect/multiselect.esm.js +8 -5
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +8 -5
- package/multiselect/multiselect.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/package.json +1 -1
- 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/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 +342 -314
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +342 -314
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +342 -314
- package/primereact.all.min.js +1 -1
- package/radiobutton/radiobutton.cjs.js +9 -9
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +9 -9
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +9 -9
- package/radiobutton/radiobutton.min.js +1 -1
- package/resources/themes/lara-dark-amber/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-dark-amber/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-dark-amber/theme.css +2 -2
- package/resources/themes/lara-dark-blue/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-dark-blue/theme.css +2 -2
- package/resources/themes/lara-dark-cyan/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-dark-cyan/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-dark-cyan/theme.css +2 -2
- package/resources/themes/lara-dark-green/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-dark-green/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-dark-green/theme.css +2 -2
- package/resources/themes/lara-dark-indigo/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/theme.css +2 -2
- package/resources/themes/lara-dark-pink/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-dark-pink/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-dark-pink/theme.css +2 -2
- package/resources/themes/lara-dark-purple/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-dark-purple/theme.css +6 -6
- package/resources/themes/lara-dark-teal/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-dark-teal/theme.css +2 -2
- package/resources/themes/lara-light-amber/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-light-amber/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-light-amber/theme.css +2 -2
- package/resources/themes/lara-light-blue/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-light-blue/theme.css +2 -2
- package/resources/themes/lara-light-cyan/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-light-cyan/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-light-cyan/theme.css +2 -2
- package/resources/themes/lara-light-green/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-light-green/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-light-green/theme.css +2 -2
- package/resources/themes/lara-light-indigo/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-light-indigo/theme.css +2 -2
- package/resources/themes/lara-light-pink/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-light-pink/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-light-pink/theme.css +2 -2
- package/resources/themes/lara-light-purple/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-light-purple/theme.css +6 -6
- package/resources/themes/lara-light-teal/fonts/InterVariable-Italic.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/InterVariable.woff2 +0 -0
- package/resources/themes/lara-light-teal/theme.css +2 -2
- 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.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/stepper/stepper.cjs.js +7 -1
- package/stepper/stepper.cjs.min.js +1 -1
- package/stepper/stepper.esm.js +8 -2
- package/stepper/stepper.esm.min.js +1 -1
- package/stepper/stepper.js +7 -1
- package/stepper/stepper.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/tree/tree.cjs.js +5 -1
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +5 -1
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +5 -1
- package/tree/tree.min.js +1 -1
- package/treetable/treetable.d.ts +6 -6
- package/utils/utils.cjs.js +5 -0
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +1 -0
- package/utils/utils.esm.js +5 -0
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +5 -0
- package/utils/utils.min.js +1 -1
- package/web-types.json +16 -7
- 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/datatable/datatable.js
CHANGED
|
@@ -905,7 +905,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
905
905
|
props: props
|
|
906
906
|
});
|
|
907
907
|
var tabIndex = props.disabled ? null : '0';
|
|
908
|
-
var checkboxProps =
|
|
908
|
+
var checkboxProps = {
|
|
909
909
|
role: 'checkbox',
|
|
910
910
|
'aria-checked': props.checked,
|
|
911
911
|
tabIndex: tabIndex,
|
|
@@ -913,8 +913,10 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
913
913
|
'aria-label': props.ariaLabel,
|
|
914
914
|
checked: props.checked,
|
|
915
915
|
icon: checkIcon,
|
|
916
|
-
disabled: props.disabled
|
|
917
|
-
|
|
916
|
+
disabled: props.disabled,
|
|
917
|
+
unstyled: props.unstyled,
|
|
918
|
+
pt: getColumnPTOptions('rowCheckbox')
|
|
919
|
+
};
|
|
918
920
|
return /*#__PURE__*/React__namespace.createElement(Checkbox, checkboxProps);
|
|
919
921
|
});
|
|
920
922
|
RowCheckbox.displayName = 'RowCheckbox';
|
|
@@ -930,9 +932,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
930
932
|
'p-variant-filled': props.variant ? props.variant === 'filled' : context && context.inputStyle === 'filled'
|
|
931
933
|
});
|
|
932
934
|
},
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
935
|
+
box: 'p-radiobutton-box',
|
|
936
|
+
input: 'p-radiobutton-input',
|
|
937
|
+
icon: 'p-radiobutton-icon'
|
|
936
938
|
};
|
|
937
939
|
var RadioButtonBase = componentbase.ComponentBase.extend({
|
|
938
940
|
defaultProps: {
|
|
@@ -1089,19 +1091,19 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1089
1091
|
readOnly: props.readonly,
|
|
1090
1092
|
required: props.required,
|
|
1091
1093
|
tabIndex: props.tabIndex,
|
|
1092
|
-
className: cx('
|
|
1093
|
-
}, ariaProps), inProps.input, ptm('
|
|
1094
|
+
className: cx('input')
|
|
1095
|
+
}, ariaProps), inProps.input, ptm('input'));
|
|
1094
1096
|
return /*#__PURE__*/React__namespace.createElement("input", _extends({
|
|
1095
1097
|
ref: inputRef
|
|
1096
1098
|
}, inputProps));
|
|
1097
1099
|
};
|
|
1098
1100
|
var createBoxElement = function createBoxElement() {
|
|
1099
1101
|
var boxProps = mergeProps({
|
|
1100
|
-
className: cx('
|
|
1101
|
-
}, inProps.box, ptm('
|
|
1102
|
+
className: cx('box')
|
|
1103
|
+
}, inProps.box, ptm('box'));
|
|
1102
1104
|
var iconProps = mergeProps({
|
|
1103
|
-
className: cx('
|
|
1104
|
-
}, inProps.icon, ptm('
|
|
1105
|
+
className: cx('icon')
|
|
1106
|
+
}, inProps.icon, ptm('icon'));
|
|
1105
1107
|
return /*#__PURE__*/React__namespace.createElement("div", boxProps, /*#__PURE__*/React__namespace.createElement("div", iconProps));
|
|
1106
1108
|
};
|
|
1107
1109
|
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", _extends({
|
|
@@ -1143,18 +1145,16 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
1143
1145
|
props.onChange(event);
|
|
1144
1146
|
}
|
|
1145
1147
|
};
|
|
1146
|
-
var radioButtonProps =
|
|
1148
|
+
var radioButtonProps = {
|
|
1147
1149
|
role: 'radio',
|
|
1148
1150
|
'aria-checked': props.checked,
|
|
1149
1151
|
checked: props.checked,
|
|
1150
1152
|
disabled: props.disabled,
|
|
1151
1153
|
name: "".concat(props.tableSelector, "_dt_radio"),
|
|
1152
1154
|
onChange: onChange,
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
unstyled: props.unstyled
|
|
1157
|
-
}, getColumnPTOptions('radiobutton'));
|
|
1155
|
+
unstyled: props.unstyled,
|
|
1156
|
+
pt: getColumnPTOptions('rowRadioButton')
|
|
1157
|
+
};
|
|
1158
1158
|
return /*#__PURE__*/React__namespace.createElement(RadioButton, radioButtonProps);
|
|
1159
1159
|
});
|
|
1160
1160
|
RowRadioButton.displayName = 'RowRadioButton';
|
|
@@ -2445,7 +2445,8 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2445
2445
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
2446
2446
|
ptm = _props$ptCallbacks.ptm,
|
|
2447
2447
|
ptmo = _props$ptCallbacks.ptmo,
|
|
2448
|
-
cx = _props$ptCallbacks.cx
|
|
2448
|
+
cx = _props$ptCallbacks.cx,
|
|
2449
|
+
isUnstyled = _props$ptCallbacks.isUnstyled;
|
|
2449
2450
|
var _onClick = function onClick(event) {
|
|
2450
2451
|
props.onClick({
|
|
2451
2452
|
originalEvent: event,
|
|
@@ -2468,8 +2469,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2468
2469
|
};
|
|
2469
2470
|
var rowGroupTogglerIconProps = mergeProps({
|
|
2470
2471
|
className: cx('rowGroupTogglerIcon'),
|
|
2471
|
-
'aria-hidden': true
|
|
2472
|
-
|
|
2472
|
+
'aria-hidden': true,
|
|
2473
|
+
unstyled: isUnstyled()
|
|
2474
|
+
}, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
|
|
2473
2475
|
var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React__namespace.createElement(chevrondown.ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React__namespace.createElement(chevronright.ChevronRightIcon, rowGroupTogglerIconProps);
|
|
2474
2476
|
var togglerIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread$8({}, rowGroupTogglerIconProps), {
|
|
2475
2477
|
props: props
|
|
@@ -2482,8 +2484,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2482
2484
|
},
|
|
2483
2485
|
className: cx('rowGroupToggler'),
|
|
2484
2486
|
tabIndex: props.tabIndex,
|
|
2485
|
-
'aria-label': label
|
|
2486
|
-
|
|
2487
|
+
'aria-label': label,
|
|
2488
|
+
unstyled: isUnstyled()
|
|
2489
|
+
}, ptm('rowGroupToggler'), getColumnPTOptions('rowGroupToggler'));
|
|
2487
2490
|
return /*#__PURE__*/React__namespace.createElement("button", rowGroupTogglerProps, togglerIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null));
|
|
2488
2491
|
});
|
|
2489
2492
|
RowTogglerButton.displayName = 'RowTogglerButton';
|
|
@@ -2497,7 +2500,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2497
2500
|
ptm = _props$ptCallbacks.ptm,
|
|
2498
2501
|
ptmo = _props$ptCallbacks.ptmo,
|
|
2499
2502
|
cx = _props$ptCallbacks.cx,
|
|
2500
|
-
|
|
2503
|
+
isUnstyled = _props$ptCallbacks.isUnstyled;
|
|
2501
2504
|
var _React$useState = React__namespace.useState({}),
|
|
2502
2505
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
2503
2506
|
rowGroupHeaderStyleObjectState = _React$useState2[0],
|
|
@@ -2816,32 +2819,20 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2816
2819
|
var selectRange = function selectRange(event) {
|
|
2817
2820
|
var rangeStart;
|
|
2818
2821
|
var rangeEnd;
|
|
2819
|
-
var selectedSize;
|
|
2820
2822
|
var isAllowCellSelection = allowCellSelection();
|
|
2821
|
-
var index = utils.ObjectUtils.findIndexInList(event.data, props.value, props.dataKey);
|
|
2822
2823
|
if (rangeRowIndex.current > anchorRowIndex.current) {
|
|
2823
2824
|
rangeStart = anchorRowIndex.current;
|
|
2824
2825
|
rangeEnd = rangeRowIndex.current;
|
|
2825
|
-
if (!isAllowCellSelection) {
|
|
2826
|
-
selectedSize = rangeEnd - rangeStart;
|
|
2827
|
-
rangeEnd = index;
|
|
2828
|
-
rangeStart = index - selectedSize;
|
|
2829
|
-
}
|
|
2830
2826
|
} else if (rangeRowIndex.current < anchorRowIndex.current) {
|
|
2831
2827
|
rangeStart = rangeRowIndex.current;
|
|
2832
2828
|
rangeEnd = anchorRowIndex.current;
|
|
2833
|
-
if (!isAllowCellSelection) {
|
|
2834
|
-
selectedSize = rangeEnd - rangeStart;
|
|
2835
|
-
rangeStart = index;
|
|
2836
|
-
rangeEnd = index + selectedSize;
|
|
2837
|
-
}
|
|
2838
2829
|
} else {
|
|
2839
2830
|
rangeStart = rangeEnd = rangeRowIndex.current;
|
|
2840
2831
|
}
|
|
2841
2832
|
return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
|
|
2842
2833
|
};
|
|
2843
2834
|
var selectRangeOnRow = function selectRangeOnRow(event, rowRangeStart, rowRangeEnd) {
|
|
2844
|
-
var value = props.value;
|
|
2835
|
+
var value = props.tableProps.value;
|
|
2845
2836
|
var selection = [];
|
|
2846
2837
|
for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
|
|
2847
2838
|
var rangeRowData = value[i];
|
|
@@ -2932,7 +2923,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
2932
2923
|
if (props.dragSelection && !dragSelectionHelper.current) {
|
|
2933
2924
|
dragSelectionHelper.current = document.createElement('div');
|
|
2934
2925
|
dragSelectionHelper.current.setAttribute('p-datatable-drag-selection-helper', 'true');
|
|
2935
|
-
!
|
|
2926
|
+
!isUnstyled() && utils.DomHandler.addClass(dragSelectionHelper.current, 'p-datatable-drag-selection-helper');
|
|
2936
2927
|
initialDragPosition.current = {
|
|
2937
2928
|
x: event.clientX,
|
|
2938
2929
|
y: event.clientY
|
|
@@ -3060,7 +3051,10 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3060
3051
|
};
|
|
3061
3052
|
var onRowMouseDown = function onRowMouseDown(e) {
|
|
3062
3053
|
var event = e.originalEvent;
|
|
3063
|
-
if (!
|
|
3054
|
+
if (!isUnstyled() && utils.DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle')) {
|
|
3055
|
+
event.currentTarget.draggable = true;
|
|
3056
|
+
event.target.draggable = false;
|
|
3057
|
+
} else if (isUnstyled() && utils.DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowreordericon') {
|
|
3064
3058
|
event.currentTarget.draggable = true;
|
|
3065
3059
|
event.target.draggable = false;
|
|
3066
3060
|
} else {
|
|
@@ -3152,26 +3146,26 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3152
3146
|
var prevRowElement = rowElement.previousElementSibling;
|
|
3153
3147
|
if (pageY < rowMidY) {
|
|
3154
3148
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3155
|
-
!
|
|
3149
|
+
!isUnstyled() && utils.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3156
3150
|
droppedRowIndex.current = index;
|
|
3157
3151
|
if (prevRowElement) {
|
|
3158
3152
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
|
|
3159
|
-
!
|
|
3153
|
+
!isUnstyled() && utils.DomHandler.addClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3160
3154
|
} else {
|
|
3161
3155
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
|
|
3162
|
-
!
|
|
3156
|
+
!isUnstyled() && utils.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3163
3157
|
}
|
|
3164
3158
|
} else {
|
|
3165
3159
|
if (prevRowElement) {
|
|
3166
3160
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3167
|
-
!
|
|
3161
|
+
!isUnstyled() && utils.DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3168
3162
|
} else {
|
|
3169
3163
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
|
|
3170
|
-
!
|
|
3164
|
+
!isUnstyled() && utils.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3171
3165
|
}
|
|
3172
3166
|
droppedRowIndex.current = index + 1;
|
|
3173
3167
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
|
|
3174
|
-
!
|
|
3168
|
+
!isUnstyled() && utils.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3175
3169
|
}
|
|
3176
3170
|
}
|
|
3177
3171
|
event.preventDefault();
|
|
@@ -3182,12 +3176,12 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3182
3176
|
var prevRowElement = rowElement.previousElementSibling;
|
|
3183
3177
|
if (prevRowElement) {
|
|
3184
3178
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3185
|
-
!
|
|
3179
|
+
!isUnstyled() && utils.DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3186
3180
|
}
|
|
3187
3181
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3188
|
-
!
|
|
3182
|
+
!isUnstyled() && utils.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3189
3183
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'false');
|
|
3190
|
-
!
|
|
3184
|
+
!isUnstyled() && utils.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3191
3185
|
};
|
|
3192
3186
|
var onRowDragEnd = function onRowDragEnd(e) {
|
|
3193
3187
|
var event = e.originalEvent;
|
|
@@ -3363,7 +3357,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3363
3357
|
collapsedRowIcon: props.collapsedRowIcon,
|
|
3364
3358
|
ptCallbacks: props.ptCallbacks,
|
|
3365
3359
|
metaData: props.metaData,
|
|
3366
|
-
unstyled:
|
|
3360
|
+
unstyled: isUnstyled()
|
|
3367
3361
|
});
|
|
3368
3362
|
var options = {
|
|
3369
3363
|
index: rowIndex,
|
|
@@ -3469,7 +3463,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3469
3463
|
virtualScrollerOptions: props.virtualScrollerOptions,
|
|
3470
3464
|
ptCallbacks: props.ptCallbacks,
|
|
3471
3465
|
metaData: props.metaData,
|
|
3472
|
-
unstyled:
|
|
3466
|
+
unstyled: isUnstyled()
|
|
3473
3467
|
});
|
|
3474
3468
|
}
|
|
3475
3469
|
};
|
|
@@ -3833,18 +3827,20 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
3833
3827
|
_defineProperty(PrimeReact, "changeTheme", function (currentTheme, newTheme, linkElementId, callback) {
|
|
3834
3828
|
var _linkElement$parentNo;
|
|
3835
3829
|
var linkElement = document.getElementById(linkElementId);
|
|
3836
|
-
|
|
3830
|
+
if (!linkElement) {
|
|
3831
|
+
throw Error("Element with id ".concat(linkElementId, " not found."));
|
|
3832
|
+
}
|
|
3837
3833
|
var newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme);
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3834
|
+
var newLinkElement = document.createElement('link');
|
|
3835
|
+
newLinkElement.setAttribute('rel', 'stylesheet');
|
|
3836
|
+
newLinkElement.setAttribute('id', linkElementId);
|
|
3837
|
+
newLinkElement.setAttribute('href', newThemeUrl);
|
|
3838
|
+
newLinkElement.addEventListener('load', function () {
|
|
3843
3839
|
if (callback) {
|
|
3844
3840
|
callback();
|
|
3845
3841
|
}
|
|
3846
3842
|
});
|
|
3847
|
-
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.
|
|
3843
|
+
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.replaceChild(newLinkElement, linkElement);
|
|
3848
3844
|
});
|
|
3849
3845
|
|
|
3850
3846
|
var locales = {
|
|
@@ -5007,7 +5003,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5007
5003
|
props: props
|
|
5008
5004
|
});
|
|
5009
5005
|
var tabIndex = props.disabled ? null : 0;
|
|
5010
|
-
var headerCheckboxProps =
|
|
5006
|
+
var headerCheckboxProps = {
|
|
5011
5007
|
role: 'checkbox',
|
|
5012
5008
|
'aria-checked': props.checked,
|
|
5013
5009
|
'aria-label': props.checked ? ariaLabel('selectAll') : ariaLabel('unselectAll'),
|
|
@@ -5015,8 +5011,10 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
5015
5011
|
onChange: onChange,
|
|
5016
5012
|
icon: checkIcon,
|
|
5017
5013
|
checked: props.checked,
|
|
5018
|
-
disabled: props.disabled
|
|
5019
|
-
|
|
5014
|
+
disabled: props.disabled,
|
|
5015
|
+
unstyled: props.unstyled,
|
|
5016
|
+
pt: getColumnPTOptions('headerCheckbox')
|
|
5017
|
+
};
|
|
5020
5018
|
return /*#__PURE__*/React__namespace.createElement(Checkbox, headerCheckboxProps);
|
|
5021
5019
|
});
|
|
5022
5020
|
HeaderCheckbox.displayName = 'HeaderCheckbox';
|
|
@@ -7053,8 +7051,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
|
|
|
7053
7051
|
className: ptCallbacks.cx('loadingIcon')
|
|
7054
7052
|
}, ptCallbacks.ptm('loadingIcon'));
|
|
7055
7053
|
var icon = props.loadingIcon || /*#__PURE__*/React__namespace.createElement(spinner.SpinnerIcon, _extends({}, loadingIconProps, {
|
|
7056
|
-
spin: true
|
|
7057
|
-
unstyled: props.unstyled
|
|
7054
|
+
spin: true
|
|
7058
7055
|
}));
|
|
7059
7056
|
var loadingIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread({}, loadingIconProps), {
|
|
7060
7057
|
props: props
|