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.d.ts
CHANGED
|
@@ -943,7 +943,15 @@ export interface DataTablePassThroughOptions {
|
|
|
943
943
|
/**
|
|
944
944
|
* Uses to pass attributes to the rowgroup footer's DOM element.
|
|
945
945
|
*/
|
|
946
|
-
|
|
946
|
+
rowGroupFooter?: DataTablePassThroughType<React.HTMLAttributes<HTMLTableRowElement>>;
|
|
947
|
+
/**
|
|
948
|
+
* Uses to pass attributes to the rowgroup toggler's DOM element.
|
|
949
|
+
*/
|
|
950
|
+
rowGroupToggler?: DataTablePassThroughType<React.HTMLAttributes<HTMLButtonElement>>;
|
|
951
|
+
/**
|
|
952
|
+
* Uses to pass attributes to the rowgroup toggler icon's DOM element.
|
|
953
|
+
*/
|
|
954
|
+
rowGroupTogglerIcon?: DataTablePassThroughType<React.SVGProps<SVGSVGElement> | React.HTMLAttributes<HTMLSpanElement>>;
|
|
947
955
|
/**
|
|
948
956
|
* Uses to pass attributes to the empty message's DOM element.
|
|
949
957
|
*/
|
|
@@ -1004,6 +1012,34 @@ export interface DataTablePassThroughOptions {
|
|
|
1004
1012
|
hooks?: ComponentHooks;
|
|
1005
1013
|
}
|
|
1006
1014
|
|
|
1015
|
+
/**
|
|
1016
|
+
* Defines current options in DataTable bodyRow.
|
|
1017
|
+
*/
|
|
1018
|
+
export interface DataTableBodyRowContext {
|
|
1019
|
+
selected: boolean;
|
|
1020
|
+
selectable: boolean;
|
|
1021
|
+
stripedRows: boolean;
|
|
1022
|
+
index: number;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* Defines current inline state in DataTable bodyRow.
|
|
1027
|
+
*/
|
|
1028
|
+
export interface DataTableBodyRowState {
|
|
1029
|
+
editing: boolean;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* Custom passthrough(pt) option method for bodyRow.
|
|
1034
|
+
*/
|
|
1035
|
+
export interface DataTableBodyRowPassThroughMethodOptions<TValue extends DataTableValueArray> {
|
|
1036
|
+
hostName: string;
|
|
1037
|
+
context: DataTableBodyRowContext;
|
|
1038
|
+
parent: DataTablePassThroughMethodOptions<TValue>;
|
|
1039
|
+
props: DataTableBaseProps<TValue>;
|
|
1040
|
+
state: DataTableBodyRowState;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1007
1043
|
type SortOrder = 1 | 0 | -1 | null | undefined;
|
|
1008
1044
|
|
|
1009
1045
|
/**
|
|
@@ -1068,7 +1104,7 @@ interface DataTableBaseProps<TValue extends DataTableValueArray> extends Omit<Re
|
|
|
1068
1104
|
* Name of the field that uniquely identifies a record in the data. Should be a unique business key to prevent re-rendering.
|
|
1069
1105
|
* @defaultValue ({currentPage} of {totalPages})
|
|
1070
1106
|
*/
|
|
1071
|
-
dataKey?: string | undefined;
|
|
1107
|
+
dataKey?: string | undefined | ((data: any) => string);
|
|
1072
1108
|
/**
|
|
1073
1109
|
* Default sort order of an unsorted column.
|
|
1074
1110
|
* @defaultValue ({currentPage} of {totalPages})
|
|
@@ -911,7 +911,7 @@ var RowCheckbox = /*#__PURE__*/React.memo(function (props) {
|
|
|
911
911
|
props: props
|
|
912
912
|
});
|
|
913
913
|
var tabIndex = props.disabled ? null : '0';
|
|
914
|
-
var checkboxProps =
|
|
914
|
+
var checkboxProps = {
|
|
915
915
|
role: 'checkbox',
|
|
916
916
|
'aria-checked': props.checked,
|
|
917
917
|
tabIndex: tabIndex,
|
|
@@ -919,8 +919,10 @@ var RowCheckbox = /*#__PURE__*/React.memo(function (props) {
|
|
|
919
919
|
'aria-label': props.ariaLabel,
|
|
920
920
|
checked: props.checked,
|
|
921
921
|
icon: checkIcon,
|
|
922
|
-
disabled: props.disabled
|
|
923
|
-
|
|
922
|
+
disabled: props.disabled,
|
|
923
|
+
unstyled: props.unstyled,
|
|
924
|
+
pt: getColumnPTOptions('rowCheckbox')
|
|
925
|
+
};
|
|
924
926
|
return /*#__PURE__*/React.createElement(Checkbox, checkboxProps);
|
|
925
927
|
});
|
|
926
928
|
RowCheckbox.displayName = 'RowCheckbox';
|
|
@@ -936,9 +938,9 @@ var classes = {
|
|
|
936
938
|
'p-variant-filled': props.variant ? props.variant === 'filled' : context && context.inputStyle === 'filled'
|
|
937
939
|
});
|
|
938
940
|
},
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
941
|
+
box: 'p-radiobutton-box',
|
|
942
|
+
input: 'p-radiobutton-input',
|
|
943
|
+
icon: 'p-radiobutton-icon'
|
|
942
944
|
};
|
|
943
945
|
var RadioButtonBase = ComponentBase.extend({
|
|
944
946
|
defaultProps: {
|
|
@@ -1095,19 +1097,19 @@ var RadioButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
1095
1097
|
readOnly: props.readonly,
|
|
1096
1098
|
required: props.required,
|
|
1097
1099
|
tabIndex: props.tabIndex,
|
|
1098
|
-
className: cx('
|
|
1099
|
-
}, ariaProps), inProps.input, ptm('
|
|
1100
|
+
className: cx('input')
|
|
1101
|
+
}, ariaProps), inProps.input, ptm('input'));
|
|
1100
1102
|
return /*#__PURE__*/React.createElement("input", _extends({
|
|
1101
1103
|
ref: inputRef
|
|
1102
1104
|
}, inputProps));
|
|
1103
1105
|
};
|
|
1104
1106
|
var createBoxElement = function createBoxElement() {
|
|
1105
1107
|
var boxProps = mergeProps({
|
|
1106
|
-
className: cx('
|
|
1107
|
-
}, inProps.box, ptm('
|
|
1108
|
+
className: cx('box')
|
|
1109
|
+
}, inProps.box, ptm('box'));
|
|
1108
1110
|
var iconProps = mergeProps({
|
|
1109
|
-
className: cx('
|
|
1110
|
-
}, inProps.icon, ptm('
|
|
1111
|
+
className: cx('icon')
|
|
1112
|
+
}, inProps.icon, ptm('icon'));
|
|
1111
1113
|
return /*#__PURE__*/React.createElement("div", boxProps, /*#__PURE__*/React.createElement("div", iconProps));
|
|
1112
1114
|
};
|
|
1113
1115
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", _extends({
|
|
@@ -1149,18 +1151,16 @@ var RowRadioButton = /*#__PURE__*/React.memo(function (props) {
|
|
|
1149
1151
|
props.onChange(event);
|
|
1150
1152
|
}
|
|
1151
1153
|
};
|
|
1152
|
-
var radioButtonProps =
|
|
1154
|
+
var radioButtonProps = {
|
|
1153
1155
|
role: 'radio',
|
|
1154
1156
|
'aria-checked': props.checked,
|
|
1155
1157
|
checked: props.checked,
|
|
1156
1158
|
disabled: props.disabled,
|
|
1157
1159
|
name: "".concat(props.tableSelector, "_dt_radio"),
|
|
1158
1160
|
onChange: onChange,
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
unstyled: props.unstyled
|
|
1163
|
-
}, getColumnPTOptions('radiobutton'));
|
|
1161
|
+
unstyled: props.unstyled,
|
|
1162
|
+
pt: getColumnPTOptions('rowRadioButton')
|
|
1163
|
+
};
|
|
1164
1164
|
return /*#__PURE__*/React.createElement(RadioButton, radioButtonProps);
|
|
1165
1165
|
});
|
|
1166
1166
|
RowRadioButton.displayName = 'RowRadioButton';
|
|
@@ -2451,7 +2451,8 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
|
|
|
2451
2451
|
var _props$ptCallbacks = props.ptCallbacks,
|
|
2452
2452
|
ptm = _props$ptCallbacks.ptm,
|
|
2453
2453
|
ptmo = _props$ptCallbacks.ptmo,
|
|
2454
|
-
cx = _props$ptCallbacks.cx
|
|
2454
|
+
cx = _props$ptCallbacks.cx,
|
|
2455
|
+
isUnstyled = _props$ptCallbacks.isUnstyled;
|
|
2455
2456
|
var _onClick = function onClick(event) {
|
|
2456
2457
|
props.onClick({
|
|
2457
2458
|
originalEvent: event,
|
|
@@ -2474,8 +2475,9 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
|
|
|
2474
2475
|
};
|
|
2475
2476
|
var rowGroupTogglerIconProps = mergeProps({
|
|
2476
2477
|
className: cx('rowGroupTogglerIcon'),
|
|
2477
|
-
'aria-hidden': true
|
|
2478
|
-
|
|
2478
|
+
'aria-hidden': true,
|
|
2479
|
+
unstyled: isUnstyled()
|
|
2480
|
+
}, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
|
|
2479
2481
|
var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React.createElement(ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React.createElement(ChevronRightIcon, rowGroupTogglerIconProps);
|
|
2480
2482
|
var togglerIcon = IconUtils.getJSXIcon(icon, _objectSpread$8({}, rowGroupTogglerIconProps), {
|
|
2481
2483
|
props: props
|
|
@@ -2488,8 +2490,9 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
|
|
|
2488
2490
|
},
|
|
2489
2491
|
className: cx('rowGroupToggler'),
|
|
2490
2492
|
tabIndex: props.tabIndex,
|
|
2491
|
-
'aria-label': label
|
|
2492
|
-
|
|
2493
|
+
'aria-label': label,
|
|
2494
|
+
unstyled: isUnstyled()
|
|
2495
|
+
}, ptm('rowGroupToggler'), getColumnPTOptions('rowGroupToggler'));
|
|
2493
2496
|
return /*#__PURE__*/React.createElement("button", rowGroupTogglerProps, togglerIcon, /*#__PURE__*/React.createElement(Ripple, null));
|
|
2494
2497
|
});
|
|
2495
2498
|
RowTogglerButton.displayName = 'RowTogglerButton';
|
|
@@ -2503,7 +2506,7 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
2503
2506
|
ptm = _props$ptCallbacks.ptm,
|
|
2504
2507
|
ptmo = _props$ptCallbacks.ptmo,
|
|
2505
2508
|
cx = _props$ptCallbacks.cx,
|
|
2506
|
-
|
|
2509
|
+
isUnstyled = _props$ptCallbacks.isUnstyled;
|
|
2507
2510
|
var _React$useState = React.useState({}),
|
|
2508
2511
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
2509
2512
|
rowGroupHeaderStyleObjectState = _React$useState2[0],
|
|
@@ -2822,32 +2825,20 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
2822
2825
|
var selectRange = function selectRange(event) {
|
|
2823
2826
|
var rangeStart;
|
|
2824
2827
|
var rangeEnd;
|
|
2825
|
-
var selectedSize;
|
|
2826
2828
|
var isAllowCellSelection = allowCellSelection();
|
|
2827
|
-
var index = ObjectUtils.findIndexInList(event.data, props.value, props.dataKey);
|
|
2828
2829
|
if (rangeRowIndex.current > anchorRowIndex.current) {
|
|
2829
2830
|
rangeStart = anchorRowIndex.current;
|
|
2830
2831
|
rangeEnd = rangeRowIndex.current;
|
|
2831
|
-
if (!isAllowCellSelection) {
|
|
2832
|
-
selectedSize = rangeEnd - rangeStart;
|
|
2833
|
-
rangeEnd = index;
|
|
2834
|
-
rangeStart = index - selectedSize;
|
|
2835
|
-
}
|
|
2836
2832
|
} else if (rangeRowIndex.current < anchorRowIndex.current) {
|
|
2837
2833
|
rangeStart = rangeRowIndex.current;
|
|
2838
2834
|
rangeEnd = anchorRowIndex.current;
|
|
2839
|
-
if (!isAllowCellSelection) {
|
|
2840
|
-
selectedSize = rangeEnd - rangeStart;
|
|
2841
|
-
rangeStart = index;
|
|
2842
|
-
rangeEnd = index + selectedSize;
|
|
2843
|
-
}
|
|
2844
2835
|
} else {
|
|
2845
2836
|
rangeStart = rangeEnd = rangeRowIndex.current;
|
|
2846
2837
|
}
|
|
2847
2838
|
return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
|
|
2848
2839
|
};
|
|
2849
2840
|
var selectRangeOnRow = function selectRangeOnRow(event, rowRangeStart, rowRangeEnd) {
|
|
2850
|
-
var value = props.value;
|
|
2841
|
+
var value = props.tableProps.value;
|
|
2851
2842
|
var selection = [];
|
|
2852
2843
|
for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
|
|
2853
2844
|
var rangeRowData = value[i];
|
|
@@ -2938,7 +2929,7 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
2938
2929
|
if (props.dragSelection && !dragSelectionHelper.current) {
|
|
2939
2930
|
dragSelectionHelper.current = document.createElement('div');
|
|
2940
2931
|
dragSelectionHelper.current.setAttribute('p-datatable-drag-selection-helper', 'true');
|
|
2941
|
-
!
|
|
2932
|
+
!isUnstyled() && DomHandler.addClass(dragSelectionHelper.current, 'p-datatable-drag-selection-helper');
|
|
2942
2933
|
initialDragPosition.current = {
|
|
2943
2934
|
x: event.clientX,
|
|
2944
2935
|
y: event.clientY
|
|
@@ -3066,7 +3057,10 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
3066
3057
|
};
|
|
3067
3058
|
var onRowMouseDown = function onRowMouseDown(e) {
|
|
3068
3059
|
var event = e.originalEvent;
|
|
3069
|
-
if (!
|
|
3060
|
+
if (!isUnstyled() && DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle')) {
|
|
3061
|
+
event.currentTarget.draggable = true;
|
|
3062
|
+
event.target.draggable = false;
|
|
3063
|
+
} else if (isUnstyled() && DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowreordericon') {
|
|
3070
3064
|
event.currentTarget.draggable = true;
|
|
3071
3065
|
event.target.draggable = false;
|
|
3072
3066
|
} else {
|
|
@@ -3158,26 +3152,26 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
3158
3152
|
var prevRowElement = rowElement.previousElementSibling;
|
|
3159
3153
|
if (pageY < rowMidY) {
|
|
3160
3154
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3161
|
-
!
|
|
3155
|
+
!isUnstyled() && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3162
3156
|
droppedRowIndex.current = index;
|
|
3163
3157
|
if (prevRowElement) {
|
|
3164
3158
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
|
|
3165
|
-
!
|
|
3159
|
+
!isUnstyled() && DomHandler.addClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3166
3160
|
} else {
|
|
3167
3161
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
|
|
3168
|
-
!
|
|
3162
|
+
!isUnstyled() && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3169
3163
|
}
|
|
3170
3164
|
} else {
|
|
3171
3165
|
if (prevRowElement) {
|
|
3172
3166
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3173
|
-
!
|
|
3167
|
+
!isUnstyled() && DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3174
3168
|
} else {
|
|
3175
3169
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
|
|
3176
|
-
!
|
|
3170
|
+
!isUnstyled() && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3177
3171
|
}
|
|
3178
3172
|
droppedRowIndex.current = index + 1;
|
|
3179
3173
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
|
|
3180
|
-
!
|
|
3174
|
+
!isUnstyled() && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3181
3175
|
}
|
|
3182
3176
|
}
|
|
3183
3177
|
event.preventDefault();
|
|
@@ -3188,12 +3182,12 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
3188
3182
|
var prevRowElement = rowElement.previousElementSibling;
|
|
3189
3183
|
if (prevRowElement) {
|
|
3190
3184
|
prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3191
|
-
!
|
|
3185
|
+
!isUnstyled() && DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3192
3186
|
}
|
|
3193
3187
|
rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
|
|
3194
|
-
!
|
|
3188
|
+
!isUnstyled() && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3195
3189
|
rowElement.setAttribute('data-p-datatable-dragpoint-top', 'false');
|
|
3196
|
-
!
|
|
3190
|
+
!isUnstyled() && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3197
3191
|
};
|
|
3198
3192
|
var onRowDragEnd = function onRowDragEnd(e) {
|
|
3199
3193
|
var event = e.originalEvent;
|
|
@@ -3369,7 +3363,7 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
3369
3363
|
collapsedRowIcon: props.collapsedRowIcon,
|
|
3370
3364
|
ptCallbacks: props.ptCallbacks,
|
|
3371
3365
|
metaData: props.metaData,
|
|
3372
|
-
unstyled:
|
|
3366
|
+
unstyled: isUnstyled()
|
|
3373
3367
|
});
|
|
3374
3368
|
var options = {
|
|
3375
3369
|
index: rowIndex,
|
|
@@ -3475,7 +3469,7 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
|
|
|
3475
3469
|
virtualScrollerOptions: props.virtualScrollerOptions,
|
|
3476
3470
|
ptCallbacks: props.ptCallbacks,
|
|
3477
3471
|
metaData: props.metaData,
|
|
3478
|
-
unstyled:
|
|
3472
|
+
unstyled: isUnstyled()
|
|
3479
3473
|
});
|
|
3480
3474
|
}
|
|
3481
3475
|
};
|
|
@@ -3839,18 +3833,20 @@ _defineProperty(PrimeReact, "filterMatchModeOptions", {
|
|
|
3839
3833
|
_defineProperty(PrimeReact, "changeTheme", function (currentTheme, newTheme, linkElementId, callback) {
|
|
3840
3834
|
var _linkElement$parentNo;
|
|
3841
3835
|
var linkElement = document.getElementById(linkElementId);
|
|
3842
|
-
|
|
3836
|
+
if (!linkElement) {
|
|
3837
|
+
throw Error("Element with id ".concat(linkElementId, " not found."));
|
|
3838
|
+
}
|
|
3843
3839
|
var newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme);
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3840
|
+
var newLinkElement = document.createElement('link');
|
|
3841
|
+
newLinkElement.setAttribute('rel', 'stylesheet');
|
|
3842
|
+
newLinkElement.setAttribute('id', linkElementId);
|
|
3843
|
+
newLinkElement.setAttribute('href', newThemeUrl);
|
|
3844
|
+
newLinkElement.addEventListener('load', function () {
|
|
3849
3845
|
if (callback) {
|
|
3850
3846
|
callback();
|
|
3851
3847
|
}
|
|
3852
3848
|
});
|
|
3853
|
-
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.
|
|
3849
|
+
(_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.replaceChild(newLinkElement, linkElement);
|
|
3854
3850
|
});
|
|
3855
3851
|
|
|
3856
3852
|
var locales = {
|
|
@@ -5013,7 +5009,7 @@ var HeaderCheckbox = /*#__PURE__*/React.memo(function (props) {
|
|
|
5013
5009
|
props: props
|
|
5014
5010
|
});
|
|
5015
5011
|
var tabIndex = props.disabled ? null : 0;
|
|
5016
|
-
var headerCheckboxProps =
|
|
5012
|
+
var headerCheckboxProps = {
|
|
5017
5013
|
role: 'checkbox',
|
|
5018
5014
|
'aria-checked': props.checked,
|
|
5019
5015
|
'aria-label': props.checked ? ariaLabel('selectAll') : ariaLabel('unselectAll'),
|
|
@@ -5021,8 +5017,10 @@ var HeaderCheckbox = /*#__PURE__*/React.memo(function (props) {
|
|
|
5021
5017
|
onChange: onChange,
|
|
5022
5018
|
icon: checkIcon,
|
|
5023
5019
|
checked: props.checked,
|
|
5024
|
-
disabled: props.disabled
|
|
5025
|
-
|
|
5020
|
+
disabled: props.disabled,
|
|
5021
|
+
unstyled: props.unstyled,
|
|
5022
|
+
pt: getColumnPTOptions('headerCheckbox')
|
|
5023
|
+
};
|
|
5026
5024
|
return /*#__PURE__*/React.createElement(Checkbox, headerCheckboxProps);
|
|
5027
5025
|
});
|
|
5028
5026
|
HeaderCheckbox.displayName = 'HeaderCheckbox';
|
|
@@ -7059,8 +7057,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
7059
7057
|
className: ptCallbacks.cx('loadingIcon')
|
|
7060
7058
|
}, ptCallbacks.ptm('loadingIcon'));
|
|
7061
7059
|
var icon = props.loadingIcon || /*#__PURE__*/React.createElement(SpinnerIcon, _extends({}, loadingIconProps, {
|
|
7062
|
-
spin: true
|
|
7063
|
-
unstyled: props.unstyled
|
|
7060
|
+
spin: true
|
|
7064
7061
|
}));
|
|
7065
7062
|
var loadingIcon = IconUtils.getJSXIcon(icon, _objectSpread({}, loadingIconProps), {
|
|
7066
7063
|
props: props
|