primevue 3.8.2 → 3.9.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 +2 -2
- package/api/Api.d.ts +70 -36
- package/api/api.cjs.js +66 -32
- package/api/api.cjs.min.js +1 -1
- package/api/api.esm.js +66 -32
- package/api/api.esm.min.js +1 -1
- package/api/api.js +66 -32
- package/api/api.min.js +1 -1
- package/autocomplete/AutoComplete.vue +16 -9
- package/autocomplete/autocomplete.cjs.js +19 -11
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +19 -11
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +19 -11
- package/autocomplete/autocomplete.min.js +1 -1
- package/breadcrumb/BreadcrumbItem.vue +5 -2
- package/breadcrumb/breadcrumb.cjs.js +5 -2
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +5 -2
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +5 -2
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/calendar/Calendar.d.ts +6 -0
- package/calendar/Calendar.vue +362 -67
- package/calendar/calendar.cjs.js +459 -168
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +461 -170
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +459 -168
- package/calendar/calendar.min.js +1 -1
- package/carousel/Carousel.vue +2 -2
- package/carousel/carousel.cjs.js +6 -6
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +6 -6
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +6 -6
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +8 -4
- package/chart/Chart.vue +9 -2
- package/chart/chart.cjs.js +9 -2
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +9 -2
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +9 -2
- package/chart/chart.min.js +1 -1
- package/colorpicker/ColorPicker.d.ts +3 -0
- package/colorpicker/ColorPicker.vue +6 -1
- package/colorpicker/colorpicker.cjs.js +6 -1
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +6 -1
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +6 -1
- package/colorpicker/colorpicker.min.js +1 -1
- package/confirmdialog/ConfirmDialog.vue +8 -2
- package/confirmdialog/confirmdialog.cjs.js +11 -4
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +11 -4
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +11 -4
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +7 -0
- package/confirmpopup/ConfirmPopup.vue +7 -4
- package/confirmpopup/confirmpopup.cjs.js +13 -5
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +14 -6
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +13 -5
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenuSub.vue +7 -4
- package/contextmenu/contextmenu.cjs.js +7 -4
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +7 -4
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +7 -4
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +132 -65
- package/core/core.min.js +14 -11
- package/datatable/BodyCell.vue +1 -0
- package/datatable/ColumnFilter.vue +17 -6
- package/datatable/DataTable.d.ts +5 -4
- package/datatable/DataTable.vue +34 -21
- package/datatable/TableBody.vue +5 -1
- package/datatable/TableFooter.vue +15 -1
- package/datatable/TableHeader.vue +15 -1
- package/datatable/datatable.cjs.js +175 -106
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +175 -106
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +175 -106
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +2 -2
- package/dataview/DataView.vue +8 -8
- package/dataview/dataview.cjs.js +12 -12
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +12 -12
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +12 -12
- package/dataview/dataview.min.js +1 -1
- package/dropdown/Dropdown.d.ts +10 -5
- package/inputnumber/InputNumber.vue +19 -3
- package/inputnumber/inputnumber.cjs.js +19 -3
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +19 -3
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +19 -3
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputtext/InputText.vue +1 -1
- package/inputtext/inputtext.cjs.js +2 -2
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +3 -3
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +2 -2
- package/inputtext/inputtext.min.js +1 -1
- package/listbox/Listbox.d.ts +10 -5
- package/megamenu/MegaMenu.vue +10 -7
- package/megamenu/megamenu.cjs.js +10 -7
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +10 -7
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +10 -7
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.vue +6 -3
- package/menu/Menuitem.vue +5 -2
- package/menu/menu.cjs.js +11 -5
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +11 -5
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +11 -5
- package/menu/menu.min.js +1 -1
- package/menubar/MenubarSub.vue +7 -4
- package/menubar/menubar.cjs.js +7 -4
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +7 -4
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +7 -4
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +1 -0
- package/message/Message.vue +6 -2
- package/message/message.cjs.js +6 -2
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +6 -2
- package/message/message.esm.min.js +1 -1
- package/message/message.js +6 -2
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +10 -5
- package/orderlist/OrderList.d.ts +2 -0
- package/orderlist/OrderList.vue +2 -0
- package/orderlist/orderlist.cjs.js +3 -1
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +3 -1
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +3 -1
- package/orderlist/orderlist.min.js +1 -1
- package/package.json +5 -1
- package/paginator/Paginator.vue +4 -4
- package/paginator/paginator.cjs.js +4 -4
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +4 -4
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +4 -4
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.d.ts +1 -0
- package/panel/Panel.vue +1 -1
- package/panelmenu/PanelMenu.vue +6 -3
- package/panelmenu/PanelMenuSub.vue +8 -5
- package/panelmenu/panelmenu.cjs.js +14 -8
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +14 -8
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +14 -8
- package/panelmenu/panelmenu.min.js +1 -1
- package/picklist/PickList.d.ts +8 -2
- package/picklist/PickList.vue +10 -4
- package/picklist/picklist.cjs.js +13 -7
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +13 -7
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +13 -7
- package/picklist/picklist.min.js +1 -1
- package/progressbar/ProgressBar.vue +13 -12
- package/progressbar/progressbar.cjs.js +13 -12
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +14 -13
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +13 -12
- package/progressbar/progressbar.min.js +1 -1
- package/rating/Rating.vue +1 -1
- package/rating/rating.cjs.js +1 -1
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +1 -1
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +1 -1
- package/rating/rating.min.js +1 -1
- package/resources/primevue.css +5 -0
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +56 -15
- package/resources/themes/arya-green/theme.css +56 -15
- package/resources/themes/arya-orange/theme.css +56 -15
- package/resources/themes/arya-purple/theme.css +56 -15
- package/resources/themes/bootstrap4-dark-blue/theme.css +53 -19
- package/resources/themes/bootstrap4-dark-purple/theme.css +53 -19
- package/resources/themes/bootstrap4-light-blue/theme.css +53 -19
- package/resources/themes/bootstrap4-light-purple/theme.css +53 -19
- package/resources/themes/fluent-light/theme.css +56 -15
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/theme.css +5414 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/theme.css +5414 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/theme.css +5414 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/theme.css +5414 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-blue/theme.css +5414 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/theme.css +5414 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-purple/theme.css +5414 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-teal/theme.css +5414 -0
- package/resources/themes/luna-amber/theme.css +53 -19
- package/resources/themes/luna-blue/theme.css +53 -19
- package/resources/themes/luna-green/theme.css +53 -19
- package/resources/themes/luna-pink/theme.css +53 -19
- package/resources/themes/md-dark-deeppurple/theme.css +244 -47
- package/resources/themes/md-dark-indigo/theme.css +244 -47
- package/resources/themes/md-light-deeppurple/theme.css +244 -47
- package/resources/themes/md-light-indigo/theme.css +244 -47
- package/resources/themes/mdc-dark-deeppurple/theme.css +244 -47
- package/resources/themes/mdc-dark-indigo/theme.css +244 -47
- package/resources/themes/mdc-light-deeppurple/theme.css +244 -47
- package/resources/themes/mdc-light-indigo/theme.css +244 -47
- package/resources/themes/nova/theme.css +53 -19
- package/resources/themes/nova-accent/theme.css +53 -19
- package/resources/themes/nova-alt/theme.css +53 -19
- package/resources/themes/nova-vue/theme.css +53 -19
- package/resources/themes/rhea/theme.css +53 -19
- package/resources/themes/saga-blue/theme.css +56 -15
- package/resources/themes/saga-green/theme.css +56 -15
- package/resources/themes/saga-orange/theme.css +56 -15
- package/resources/themes/saga-purple/theme.css +56 -15
- package/resources/themes/tailwind-light/theme.css +67 -18
- package/resources/themes/vela-blue/theme.css +56 -15
- package/resources/themes/vela-green/theme.css +56 -15
- package/resources/themes/vela-orange/theme.css +56 -15
- package/resources/themes/vela-purple/theme.css +56 -15
- package/selectbutton/SelectButton.d.ts +8 -3
- package/selectbutton/SelectButton.vue +8 -2
- package/selectbutton/selectbutton.cjs.js +14 -9
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +14 -9
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +14 -9
- package/selectbutton/selectbutton.min.js +1 -1
- package/steps/Steps.vue +5 -2
- package/steps/steps.cjs.js +5 -2
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +5 -2
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +5 -2
- package/steps/steps.min.js +1 -1
- package/tabmenu/TabMenu.vue +6 -3
- package/tabmenu/tabmenu.cjs.js +6 -3
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +6 -3
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +6 -3
- package/tabmenu/tabmenu.min.js +1 -1
- package/terminalservice/TerminalService.d.ts +9 -6
- package/tieredmenu/TieredMenuSub.vue +7 -4
- package/tieredmenu/tieredmenu.cjs.js +7 -4
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +7 -4
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +7 -4
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/tree/TreeNode.vue +4 -1
- package/tree/tree.cjs.js +4 -1
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +4 -1
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +4 -1
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.vue +9 -0
- package/treeselect/treeselect.cjs.js +9 -0
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +9 -0
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +9 -0
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/TreeTable.d.ts +2 -2
- package/treetable/TreeTable.vue +8 -8
- package/treetable/treetable.cjs.js +12 -12
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +12 -12
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +12 -12
- package/treetable/treetable.min.js +1 -1
- package/vetur-attributes.json +8 -0
- package/vetur-tags.json +3 -1
- package/web-types.json +143 -9
package/datatable/datatable.js
CHANGED
|
@@ -348,7 +348,15 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
348
348
|
hide() {
|
|
349
349
|
this.overlayVisible = false;
|
|
350
350
|
},
|
|
351
|
-
onContentClick() {
|
|
351
|
+
onContentClick(event) {
|
|
352
|
+
this.selfClick = true;
|
|
353
|
+
|
|
354
|
+
OverlayEventBus__default['default'].emit('overlay-click', {
|
|
355
|
+
originalEvent: event,
|
|
356
|
+
target: this.overlay
|
|
357
|
+
});
|
|
358
|
+
},
|
|
359
|
+
onContentMouseDown() {
|
|
352
360
|
this.selfClick = true;
|
|
353
361
|
},
|
|
354
362
|
onOverlayEnter(el) {
|
|
@@ -362,7 +370,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
362
370
|
this.bindResizeListener();
|
|
363
371
|
|
|
364
372
|
this.overlayEventListener = (e) => {
|
|
365
|
-
if (this.
|
|
373
|
+
if (!this.isOutsideClicked(e.target)) {
|
|
366
374
|
this.selfClick = true;
|
|
367
375
|
}
|
|
368
376
|
};
|
|
@@ -385,13 +393,16 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
385
393
|
overlayRef(el) {
|
|
386
394
|
this.overlay = el;
|
|
387
395
|
},
|
|
388
|
-
|
|
389
|
-
return this
|
|
396
|
+
isOutsideClicked(target) {
|
|
397
|
+
return !this.isTargetClicked(target) && this.overlay && !(this.overlay.isSameNode(target) || this.overlay.contains(target));
|
|
398
|
+
},
|
|
399
|
+
isTargetClicked(target) {
|
|
400
|
+
return this.$refs.icon && (this.$refs.icon.isSameNode(target) || this.$refs.icon.contains(target));
|
|
390
401
|
},
|
|
391
402
|
bindOutsideClickListener() {
|
|
392
403
|
if (!this.outsideClickListener) {
|
|
393
404
|
this.outsideClickListener = (event) => {
|
|
394
|
-
if (this.overlayVisible && !this.selfClick &&
|
|
405
|
+
if (this.overlayVisible && !this.selfClick && this.isOutsideClicked(event.target)) {
|
|
395
406
|
this.overlayVisible = false;
|
|
396
407
|
}
|
|
397
408
|
this.selfClick = false;
|
|
@@ -583,7 +594,8 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
583
594
|
ref: $options.overlayRef,
|
|
584
595
|
class: $options.overlayClass,
|
|
585
596
|
onKeydown: _cache[12] || (_cache[12] = vue.withKeys((...args) => ($options.onEscape && $options.onEscape(...args)), ["escape"])),
|
|
586
|
-
onClick: _cache[13] || (_cache[13] = (...args) => ($options.onContentClick && $options.onContentClick(...args)))
|
|
597
|
+
onClick: _cache[13] || (_cache[13] = (...args) => ($options.onContentClick && $options.onContentClick(...args))),
|
|
598
|
+
onMousedown: _cache[14] || (_cache[14] = (...args) => ($options.onContentMouseDown && $options.onContentMouseDown(...args)))
|
|
587
599
|
}, [
|
|
588
600
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.filterHeaderTemplate), {
|
|
589
601
|
field: $props.field,
|
|
@@ -1124,6 +1136,20 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
1124
1136
|
},
|
|
1125
1137
|
getFilterColumnHeaderStyle(column) {
|
|
1126
1138
|
return [this.columnProp(column, 'filterHeaderStyle'), this.columnProp(column, 'style')];
|
|
1139
|
+
},
|
|
1140
|
+
getHeaderColumns(row){
|
|
1141
|
+
let cols = [];
|
|
1142
|
+
|
|
1143
|
+
if (row.children && row.children.default) {
|
|
1144
|
+
row.children.default().forEach(child => {
|
|
1145
|
+
if (child.children && child.children instanceof Array)
|
|
1146
|
+
cols = [...cols, ...child.children];
|
|
1147
|
+
else if (child.type.name === 'Column')
|
|
1148
|
+
cols.push(child);
|
|
1149
|
+
});
|
|
1150
|
+
|
|
1151
|
+
return cols;
|
|
1152
|
+
}
|
|
1127
1153
|
}
|
|
1128
1154
|
},
|
|
1129
1155
|
components: {
|
|
@@ -1256,7 +1282,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
1256
1282
|
key: i,
|
|
1257
1283
|
role: "row"
|
|
1258
1284
|
}, [
|
|
1259
|
-
(vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList(
|
|
1285
|
+
(vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList($options.getHeaderColumns(row), (col, j) => {
|
|
1260
1286
|
return (vue.openBlock(), vue.createBlock(vue.Fragment, {
|
|
1261
1287
|
key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||j
|
|
1262
1288
|
}, [
|
|
@@ -1784,82 +1810,91 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
1784
1810
|
index: $props.rowIndex,
|
|
1785
1811
|
frozenRow: $props.frozenRow
|
|
1786
1812
|
}, null, 8, ["data", "column", "field", "index", "frozenRow"]))
|
|
1787
|
-
: ($
|
|
1788
|
-
? (vue.openBlock(), vue.createBlock(vue.
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1813
|
+
: ($props.column.children && $props.column.children.body && !$props.column.children.editor && $data.d_editing)
|
|
1814
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.column.children.body), {
|
|
1815
|
+
key: 3,
|
|
1816
|
+
data: $options.editingRowData,
|
|
1817
|
+
column: $props.column,
|
|
1818
|
+
field: $options.field,
|
|
1819
|
+
index: $props.rowIndex,
|
|
1820
|
+
frozenRow: $props.frozenRow
|
|
1821
|
+
}, null, 8, ["data", "column", "field", "index", "frozenRow"]))
|
|
1822
|
+
: ($options.columnProp('selectionMode'))
|
|
1823
|
+
? (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 4 }, [
|
|
1824
|
+
($options.columnProp('selectionMode') === 'single')
|
|
1825
|
+
? (vue.openBlock(), vue.createBlock(_component_DTRadioButton, {
|
|
1826
|
+
key: 0,
|
|
1799
1827
|
value: $props.rowData,
|
|
1800
1828
|
checked: $props.selected,
|
|
1801
|
-
onChange: $options.
|
|
1829
|
+
onChange: $options.toggleRowWithRadio
|
|
1802
1830
|
}, null, 8, ["value", "checked", "onChange"]))
|
|
1803
|
-
:
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1831
|
+
: ($options.columnProp('selectionMode') ==='multiple')
|
|
1832
|
+
? (vue.openBlock(), vue.createBlock(_component_DTCheckbox, {
|
|
1833
|
+
key: 1,
|
|
1834
|
+
value: $props.rowData,
|
|
1835
|
+
checked: $props.selected,
|
|
1836
|
+
onChange: $options.toggleRowWithCheckbox
|
|
1837
|
+
}, null, 8, ["value", "checked", "onChange"]))
|
|
1838
|
+
: vue.createCommentVNode("", true)
|
|
1839
|
+
], 64))
|
|
1840
|
+
: ($options.columnProp('rowReorder'))
|
|
1841
|
+
? (vue.openBlock(), vue.createBlock("i", {
|
|
1812
1842
|
key: 5,
|
|
1813
|
-
class:
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1843
|
+
class: ['p-datatable-reorderablerow-handle', ($options.columnProp('rowReorderIcon') || 'pi pi-bars')]
|
|
1844
|
+
}, null, 2))
|
|
1845
|
+
: ($options.columnProp('expander'))
|
|
1846
|
+
? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
|
|
1847
|
+
key: 6,
|
|
1848
|
+
class: "p-row-toggler p-link",
|
|
1849
|
+
onClick: _cache[1] || (_cache[1] = (...args) => ($options.toggleRow && $options.toggleRow(...args))),
|
|
1850
|
+
type: "button"
|
|
1851
|
+
}, [
|
|
1852
|
+
vue.createVNode("span", { class: $props.rowTogglerIcon }, null, 2)
|
|
1853
|
+
], 512)), [
|
|
1854
|
+
[_directive_ripple]
|
|
1855
|
+
])
|
|
1856
|
+
: ($props.editMode === 'row' && $options.columnProp('rowEditor'))
|
|
1857
|
+
? (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 7 }, [
|
|
1858
|
+
(!$data.d_editing)
|
|
1859
|
+
? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
|
|
1860
|
+
key: 0,
|
|
1861
|
+
class: "p-row-editor-init p-link",
|
|
1862
|
+
onClick: _cache[2] || (_cache[2] = (...args) => ($options.onRowEditInit && $options.onRowEditInit(...args))),
|
|
1863
|
+
type: "button"
|
|
1864
|
+
}, [
|
|
1865
|
+
_hoisted_2$3
|
|
1866
|
+
], 512)), [
|
|
1867
|
+
[_directive_ripple]
|
|
1868
|
+
])
|
|
1869
|
+
: vue.createCommentVNode("", true),
|
|
1870
|
+
($data.d_editing)
|
|
1871
|
+
? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
|
|
1872
|
+
key: 1,
|
|
1873
|
+
class: "p-row-editor-save p-link",
|
|
1874
|
+
onClick: _cache[3] || (_cache[3] = (...args) => ($options.onRowEditSave && $options.onRowEditSave(...args))),
|
|
1875
|
+
type: "button"
|
|
1876
|
+
}, [
|
|
1877
|
+
_hoisted_3$1
|
|
1878
|
+
], 512)), [
|
|
1879
|
+
[_directive_ripple]
|
|
1880
|
+
])
|
|
1881
|
+
: vue.createCommentVNode("", true),
|
|
1882
|
+
($data.d_editing)
|
|
1883
|
+
? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
|
|
1884
|
+
key: 2,
|
|
1885
|
+
class: "p-row-editor-cancel p-link",
|
|
1886
|
+
onClick: _cache[4] || (_cache[4] = (...args) => ($options.onRowEditCancel && $options.onRowEditCancel(...args))),
|
|
1887
|
+
type: "button"
|
|
1888
|
+
}, [
|
|
1889
|
+
_hoisted_4$1
|
|
1890
|
+
], 512)), [
|
|
1891
|
+
[_directive_ripple]
|
|
1892
|
+
])
|
|
1893
|
+
: vue.createCommentVNode("", true)
|
|
1894
|
+
], 64))
|
|
1895
|
+
: (vue.openBlock(), vue.createBlock(vue.Fragment, { key: 8 }, [
|
|
1896
|
+
vue.createTextVNode(vue.toDisplayString($options.resolveFieldData()), 1)
|
|
1897
|
+
], 64))
|
|
1863
1898
|
], 38))
|
|
1864
1899
|
}
|
|
1865
1900
|
|
|
@@ -1948,6 +1983,10 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
1948
1983
|
type: null,
|
|
1949
1984
|
default: null
|
|
1950
1985
|
},
|
|
1986
|
+
rowStyle: {
|
|
1987
|
+
type: null,
|
|
1988
|
+
default: null
|
|
1989
|
+
},
|
|
1951
1990
|
editMode: {
|
|
1952
1991
|
type: String,
|
|
1953
1992
|
default: null
|
|
@@ -2348,6 +2387,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
2348
2387
|
($props.expandableRowGroups ? $options.isRowGroupExpanded(rowData): true)
|
|
2349
2388
|
? (vue.openBlock(), vue.createBlock("tr", {
|
|
2350
2389
|
class: $options.getRowClass(rowData),
|
|
2390
|
+
style: $props.rowStyle,
|
|
2351
2391
|
key: $options.getRowKey(rowData, index),
|
|
2352
2392
|
onClick: $event => ($options.onRowClick($event, rowData, index)),
|
|
2353
2393
|
onDblclick: $event => ($options.onRowDblClick($event, rowData, index)),
|
|
@@ -2396,7 +2436,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
2396
2436
|
: vue.createCommentVNode("", true)
|
|
2397
2437
|
], 64))
|
|
2398
2438
|
}), 128))
|
|
2399
|
-
],
|
|
2439
|
+
], 46, ["onClick", "onDblclick", "onContextmenu", "onKeydown", "tabindex", "onDragstart", "onDragover"]))
|
|
2400
2440
|
: vue.createCommentVNode("", true),
|
|
2401
2441
|
($props.templates['expansion'] && $props.expandedRows && $options.isRowExpanded(rowData))
|
|
2402
2442
|
? (vue.openBlock(), vue.createBlock("tr", {
|
|
@@ -2540,6 +2580,20 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
2540
2580
|
methods: {
|
|
2541
2581
|
columnProp(col, prop) {
|
|
2542
2582
|
return utils.ObjectUtils.getVNodeProp(col, prop);
|
|
2583
|
+
},
|
|
2584
|
+
getFooterColumns(row){
|
|
2585
|
+
let cols = [];
|
|
2586
|
+
|
|
2587
|
+
if (row.children && row.children.default) {
|
|
2588
|
+
row.children.default().forEach(child => {
|
|
2589
|
+
if (child.children && child.children instanceof Array)
|
|
2590
|
+
cols = [...cols, ...child.children];
|
|
2591
|
+
else if (child.type.name === 'Column')
|
|
2592
|
+
cols.push(child);
|
|
2593
|
+
});
|
|
2594
|
+
|
|
2595
|
+
return cols;
|
|
2596
|
+
}
|
|
2543
2597
|
}
|
|
2544
2598
|
},
|
|
2545
2599
|
computed: {
|
|
@@ -2601,7 +2655,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
2601
2655
|
key: i,
|
|
2602
2656
|
role: "row"
|
|
2603
2657
|
}, [
|
|
2604
|
-
(vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList(
|
|
2658
|
+
(vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList($options.getFooterColumns(row), (col, j) => {
|
|
2605
2659
|
return (vue.openBlock(), vue.createBlock(vue.Fragment, {
|
|
2606
2660
|
key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||j
|
|
2607
2661
|
}, [
|
|
@@ -2833,6 +2887,10 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
2833
2887
|
type: null,
|
|
2834
2888
|
default: null
|
|
2835
2889
|
},
|
|
2890
|
+
rowStyle: {
|
|
2891
|
+
type: null,
|
|
2892
|
+
default: null
|
|
2893
|
+
},
|
|
2836
2894
|
scrollable: {
|
|
2837
2895
|
type: Boolean,
|
|
2838
2896
|
default: false
|
|
@@ -3235,7 +3293,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
3235
3293
|
|
|
3236
3294
|
if (this.selectionMode) {
|
|
3237
3295
|
const rowData = e.data;
|
|
3238
|
-
const rowIndex = e.index;
|
|
3296
|
+
const rowIndex = this.d_first + e.index;
|
|
3239
3297
|
|
|
3240
3298
|
if (this.isMultipleSelectionMode() && event.shiftKey && this.anchorRowIndex != null) {
|
|
3241
3299
|
utils.DomHandler.clearSelection();
|
|
@@ -4290,7 +4348,22 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
4290
4348
|
document.head.removeChild(this.styleElement);
|
|
4291
4349
|
this.styleElement = null;
|
|
4292
4350
|
}
|
|
4293
|
-
}
|
|
4351
|
+
},
|
|
4352
|
+
recursiveGetChildren(children, results) {
|
|
4353
|
+
if (!results) {
|
|
4354
|
+
results = [];
|
|
4355
|
+
}
|
|
4356
|
+
if (children && children.length) {
|
|
4357
|
+
children.forEach((child) => {
|
|
4358
|
+
if (child.children instanceof Array) {
|
|
4359
|
+
results.concat(this.recursiveGetChildren(child.children, results));
|
|
4360
|
+
} else if (child.type.name == 'Column') {
|
|
4361
|
+
results.push(child);
|
|
4362
|
+
}
|
|
4363
|
+
});
|
|
4364
|
+
}
|
|
4365
|
+
return results;
|
|
4366
|
+
},
|
|
4294
4367
|
},
|
|
4295
4368
|
computed: {
|
|
4296
4369
|
containerClass() {
|
|
@@ -4315,19 +4388,13 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
4315
4388
|
];
|
|
4316
4389
|
},
|
|
4317
4390
|
columns() {
|
|
4318
|
-
let cols = [];
|
|
4319
4391
|
let children = this.getChildren();
|
|
4320
4392
|
|
|
4321
4393
|
if (!children) {
|
|
4322
4394
|
return;
|
|
4323
4395
|
}
|
|
4324
4396
|
|
|
4325
|
-
|
|
4326
|
-
if (child.children && child.children instanceof Array)
|
|
4327
|
-
cols = [...cols, ...child.children];
|
|
4328
|
-
else if (child.type.name === 'Column')
|
|
4329
|
-
cols.push(child);
|
|
4330
|
-
});
|
|
4397
|
+
const cols = this.recursiveGetChildren(children, []);
|
|
4331
4398
|
|
|
4332
4399
|
if (this.reorderableColumns && this.d_columnOrder) {
|
|
4333
4400
|
let orderedColumns = [];
|
|
@@ -4501,7 +4568,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
4501
4568
|
? (vue.openBlock(), vue.createBlock(_component_DTPaginator, {
|
|
4502
4569
|
key: 2,
|
|
4503
4570
|
rows: $data.d_rows,
|
|
4504
|
-
first: $data.d_first,
|
|
4571
|
+
first: $props.lazy ? 0 : $data.d_first,
|
|
4505
4572
|
totalRecords: $options.totalRecordsLength,
|
|
4506
4573
|
pageLinkSize: $props.pageLinkSize,
|
|
4507
4574
|
template: $props.paginatorTemplate,
|
|
@@ -4511,19 +4578,19 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
4511
4578
|
onPage: _cache[1] || (_cache[1] = $event => ($options.onPage($event))),
|
|
4512
4579
|
alwaysShow: $props.alwaysShowPaginator
|
|
4513
4580
|
}, vue.createSlots({ _: 2 }, [
|
|
4514
|
-
(_ctx.$slots.
|
|
4581
|
+
(_ctx.$slots.paginatorstart)
|
|
4515
4582
|
? {
|
|
4516
|
-
name: "
|
|
4583
|
+
name: "start",
|
|
4517
4584
|
fn: vue.withCtx(() => [
|
|
4518
|
-
vue.renderSlot(_ctx.$slots, "
|
|
4585
|
+
vue.renderSlot(_ctx.$slots, "paginatorstart")
|
|
4519
4586
|
])
|
|
4520
4587
|
}
|
|
4521
4588
|
: undefined,
|
|
4522
|
-
(_ctx.$slots.
|
|
4589
|
+
(_ctx.$slots.paginatorend)
|
|
4523
4590
|
? {
|
|
4524
|
-
name: "
|
|
4591
|
+
name: "end",
|
|
4525
4592
|
fn: vue.withCtx(() => [
|
|
4526
|
-
vue.renderSlot(_ctx.$slots, "
|
|
4593
|
+
vue.renderSlot(_ctx.$slots, "paginatorend")
|
|
4527
4594
|
])
|
|
4528
4595
|
}
|
|
4529
4596
|
: undefined
|
|
@@ -4583,6 +4650,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
4583
4650
|
groupRowsBy: $props.groupRowsBy,
|
|
4584
4651
|
expandableRowGroups: $props.expandableRowGroups,
|
|
4585
4652
|
rowClass: $props.rowClass,
|
|
4653
|
+
rowStyle: $props.rowStyle,
|
|
4586
4654
|
editMode: $props.editMode,
|
|
4587
4655
|
compareSelectionBy: $props.compareSelectionBy,
|
|
4588
4656
|
scrollable: $props.scrollable,
|
|
@@ -4619,7 +4687,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
4619
4687
|
onRowEditCancel: _cache[26] || (_cache[26] = $event => ($options.onRowEditCancel($event))),
|
|
4620
4688
|
editingMeta: $data.d_editingMeta,
|
|
4621
4689
|
onEditingMetaChange: $options.onEditingMetaChange
|
|
4622
|
-
}, null, 8, ["value", "columns", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange"]))
|
|
4690
|
+
}, null, 8, ["value", "columns", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "rowStyle", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange"]))
|
|
4623
4691
|
: vue.createCommentVNode("", true),
|
|
4624
4692
|
vue.createVNode(_component_DTTableBody, {
|
|
4625
4693
|
value: $options.dataToRender,
|
|
@@ -4635,6 +4703,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
4635
4703
|
groupRowsBy: $props.groupRowsBy,
|
|
4636
4704
|
expandableRowGroups: $props.expandableRowGroups,
|
|
4637
4705
|
rowClass: $props.rowClass,
|
|
4706
|
+
rowStyle: $props.rowStyle,
|
|
4638
4707
|
editMode: $props.editMode,
|
|
4639
4708
|
compareSelectionBy: $props.compareSelectionBy,
|
|
4640
4709
|
scrollable: $props.scrollable,
|
|
@@ -4671,7 +4740,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
4671
4740
|
onRowEditCancel: _cache[43] || (_cache[43] = $event => ($options.onRowEditCancel($event))),
|
|
4672
4741
|
editingMeta: $data.d_editingMeta,
|
|
4673
4742
|
onEditingMetaChange: $options.onEditingMetaChange
|
|
4674
|
-
}, null, 8, ["value", "columns", "empty", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange"]),
|
|
4743
|
+
}, null, 8, ["value", "columns", "empty", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "rowStyle", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange"]),
|
|
4675
4744
|
vue.createVNode(_component_DTTableFooter, {
|
|
4676
4745
|
columnGroup: $options.footerColumnGroup,
|
|
4677
4746
|
columns: $options.columns
|
|
@@ -4682,7 +4751,7 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
4682
4751
|
? (vue.openBlock(), vue.createBlock(_component_DTPaginator, {
|
|
4683
4752
|
key: 3,
|
|
4684
4753
|
rows: $data.d_rows,
|
|
4685
|
-
first: $data.d_first,
|
|
4754
|
+
first: $props.lazy ? 0 : $data.d_first,
|
|
4686
4755
|
totalRecords: $options.totalRecordsLength,
|
|
4687
4756
|
pageLinkSize: $props.pageLinkSize,
|
|
4688
4757
|
template: $props.paginatorTemplate,
|
|
@@ -4692,19 +4761,19 @@ this.primevue.datatable = (function (utils, api, Paginator, vue, OverlayEventBus
|
|
|
4692
4761
|
onPage: _cache[44] || (_cache[44] = $event => ($options.onPage($event))),
|
|
4693
4762
|
alwaysShow: $props.alwaysShowPaginator
|
|
4694
4763
|
}, vue.createSlots({ _: 2 }, [
|
|
4695
|
-
(_ctx.$slots.
|
|
4764
|
+
(_ctx.$slots.paginatorstart)
|
|
4696
4765
|
? {
|
|
4697
|
-
name: "
|
|
4766
|
+
name: "start",
|
|
4698
4767
|
fn: vue.withCtx(() => [
|
|
4699
|
-
vue.renderSlot(_ctx.$slots, "
|
|
4768
|
+
vue.renderSlot(_ctx.$slots, "paginatorstart")
|
|
4700
4769
|
])
|
|
4701
4770
|
}
|
|
4702
4771
|
: undefined,
|
|
4703
|
-
(_ctx.$slots.
|
|
4772
|
+
(_ctx.$slots.paginatorend)
|
|
4704
4773
|
? {
|
|
4705
|
-
name: "
|
|
4774
|
+
name: "end",
|
|
4706
4775
|
fn: vue.withCtx(() => [
|
|
4707
|
-
vue.renderSlot(_ctx.$slots, "
|
|
4776
|
+
vue.renderSlot(_ctx.$slots, "paginatorend")
|
|
4708
4777
|
])
|
|
4709
4778
|
}
|
|
4710
4779
|
: undefined
|