primevue 3.12.4 → 3.13.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 +4 -4
- package/accordion/accordion.cjs.js +18 -16
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +20 -18
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +19 -17
- package/accordion/accordion.min.js +1 -1
- package/accordiontab/accordiontab.esm.js +1 -1
- package/accordiontab/accordiontab.esm.min.js +1 -1
- package/accordiontab/accordiontab.js +1 -1
- package/api/api.js +1 -1
- package/autocomplete/AutoComplete.d.ts +5 -0
- package/autocomplete/AutoComplete.vue +15 -12
- package/autocomplete/autocomplete.cjs.js +165 -154
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +163 -153
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +166 -156
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +9 -6
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +11 -8
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +10 -7
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/avatargroup.cjs.js +1 -1
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +3 -3
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +2 -2
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/badge.cjs.js +3 -1
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +5 -3
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +4 -2
- package/badge/badge.min.js +1 -1
- package/badgedirective/badgedirective.esm.js +1 -1
- package/badgedirective/badgedirective.esm.min.js +1 -1
- package/badgedirective/badgedirective.js +1 -1
- package/blockui/blockui.cjs.js +1 -1
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +3 -3
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +2 -2
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +25 -23
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +27 -25
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +26 -24
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +13 -12
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +14 -13
- package/button/button.esm.min.js +1 -1
- package/button/button.js +14 -13
- package/button/button.min.js +1 -1
- package/calendar/Calendar.vue +22 -17
- package/calendar/calendar.cjs.js +464 -429
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +463 -429
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +465 -431
- package/calendar/calendar.min.js +1 -1
- package/card/card.cjs.js +7 -7
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +9 -9
- package/card/card.esm.min.js +1 -1
- package/card/card.js +8 -8
- package/card/card.min.js +1 -1
- package/carousel/Carousel.vue +1 -1
- package/carousel/carousel.cjs.js +57 -49
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +58 -50
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +58 -50
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.vue +7 -11
- package/cascadeselect/cascadeselect.cjs.js +80 -75
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +79 -75
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +81 -77
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/chart.cjs.js +7 -8
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +7 -6
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +6 -5
- package/chart/chart.min.js +1 -1
- package/checkbox/checkbox.cjs.js +16 -14
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +18 -16
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +17 -15
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +13 -12
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +15 -14
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +14 -13
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +22 -20
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +24 -22
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +23 -21
- package/chips/chips.min.js +1 -1
- package/colorpicker/ColorPicker.vue +9 -11
- package/colorpicker/colorpicker.cjs.js +74 -72
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +74 -73
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +75 -74
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/Column.d.ts +4 -0
- package/column/column.esm.js +1 -1
- package/column/column.esm.min.js +1 -1
- package/column/column.js +1 -1
- package/columngroup/columngroup.esm.js +1 -1
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +1 -1
- package/config/config.cjs.js +1 -1
- package/config/config.esm.js +1 -2
- package/config/config.esm.min.js +1 -1
- package/config/config.js +2 -2
- package/confirmationeventbus/confirmationeventbus.esm.js +1 -1
- package/confirmationeventbus/confirmationeventbus.esm.min.js +1 -1
- package/confirmationeventbus/confirmationeventbus.js +1 -1
- package/confirmationoptions/ConfirmationOptions.d.ts +8 -0
- package/confirmationservice/confirmationservice.cjs.js +2 -2
- package/confirmationservice/confirmationservice.esm.js +1 -1
- package/confirmationservice/confirmationservice.esm.min.js +1 -1
- package/confirmationservice/confirmationservice.js +3 -3
- package/confirmdialog/confirmdialog.cjs.js +15 -13
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +11 -9
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +16 -14
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.vue +6 -4
- package/confirmpopup/confirmpopup.cjs.js +62 -53
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +58 -50
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +63 -55
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.vue +6 -4
- package/contextmenu/contextmenu.cjs.js +68 -58
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +68 -59
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +69 -60
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +780 -642
- package/core/core.min.js +19 -14
- package/datatable/ColumnFilter.vue +6 -4
- package/datatable/DataTable.d.ts +5 -2
- package/datatable/DataTable.vue +17 -7
- package/datatable/HeaderCell.vue +6 -1
- package/datatable/TableBody.vue +1 -6
- package/datatable/TableHeader.vue +5 -1
- package/datatable/datatable.cjs.js +509 -470
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +499 -461
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +510 -472
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +16 -14
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +17 -15
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +17 -15
- package/dataview/dataview.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +17 -15
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +19 -17
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +18 -16
- package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
- package/deferredcontent/deferredcontent.cjs.js +1 -1
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +3 -3
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +2 -2
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/Dialog.vue +6 -8
- package/dialog/dialog.cjs.js +113 -107
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +113 -108
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +114 -109
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.js +3 -3
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +5 -5
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +4 -4
- package/divider/divider.min.js +1 -1
- package/dock/dock.cjs.js +26 -23
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +26 -23
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +27 -24
- package/dock/dock.min.js +1 -1
- package/dropdown/Dropdown.vue +13 -15
- package/dropdown/dropdown.cjs.js +187 -179
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +186 -179
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +188 -181
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +22 -22
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +23 -23
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +23 -23
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +22 -17
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +23 -18
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +23 -18
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/FileUpload.d.ts +12 -0
- package/fileupload/FileUpload.vue +21 -7
- package/fileupload/fileupload.cjs.js +85 -65
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +83 -63
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +86 -66
- package/fileupload/fileupload.min.js +1 -1
- package/fullcalendar/fullcalendar.cjs.js +1 -31
- package/fullcalendar/fullcalendar.cjs.min.js +1 -1
- package/fullcalendar/fullcalendar.esm.js +3 -33
- package/fullcalendar/fullcalendar.esm.min.js +1 -1
- package/fullcalendar/fullcalendar.js +2 -32
- package/fullcalendar/fullcalendar.min.js +1 -1
- package/galleria/Galleria.vue +5 -3
- package/galleria/galleria.cjs.js +130 -112
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +128 -111
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +131 -114
- package/galleria/galleria.min.js +1 -1
- package/image/Image.vue +6 -2
- package/image/image.cjs.js +105 -84
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +103 -86
- package/image/image.esm.min.js +1 -1
- package/image/image.js +106 -86
- package/image/image.min.js +1 -1
- package/inlinemessage/inlinemessage.cjs.js +6 -4
- package/inlinemessage/inlinemessage.cjs.min.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +8 -6
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +7 -5
- package/inlinemessage/inlinemessage.min.js +1 -1
- package/inplace/inplace.cjs.js +12 -9
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +13 -10
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +13 -10
- package/inplace/inplace.min.js +1 -1
- package/inputmask/inputmask.cjs.js +7 -7
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +9 -9
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +8 -8
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +4 -0
- package/inputnumber/InputNumber.vue +22 -3
- package/inputnumber/inputnumber.cjs.js +29 -9
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +29 -9
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +30 -10
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +13 -12
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +15 -14
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +14 -13
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/InputText.d.ts +2 -2
- package/inputtext/InputText.vue +1 -0
- package/inputtext/inputtext.cjs.js +6 -3
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +8 -5
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +7 -4
- package/inputtext/inputtext.min.js +1 -1
- package/knob/knob.cjs.js +21 -14
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +23 -16
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +22 -15
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +37 -34
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +37 -34
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +38 -35
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +73 -66
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +74 -67
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +74 -67
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +0 -1
- package/menu/Menu.vue +10 -5
- package/menu/menu.cjs.js +113 -101
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +112 -101
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +114 -103
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +47 -40
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +48 -41
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +48 -41
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +15 -12
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +16 -13
- package/message/message.esm.min.js +1 -1
- package/message/message.js +16 -13
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.vue +11 -15
- package/multiselect/multiselect.cjs.js +255 -245
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +254 -245
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +256 -247
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/orderlist.cjs.js +15 -12
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +15 -12
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +16 -13
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +42 -37
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +44 -39
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +43 -38
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlayeventbus/overlayeventbus.esm.js +1 -1
- package/overlayeventbus/overlayeventbus.esm.min.js +1 -1
- package/overlayeventbus/overlayeventbus.js +1 -1
- package/overlaypanel/OverlayPanel.vue +7 -3
- package/overlaypanel/overlaypanel.cjs.js +60 -49
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +56 -46
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +61 -51
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.js +59 -54
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +53 -48
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +60 -55
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.js +21 -16
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +22 -17
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +22 -17
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenuSub.vue +1 -1
- package/panelmenu/panelmenu.cjs.js +62 -57
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +64 -59
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +63 -58
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.d.ts +2 -2
- package/password/Password.vue +8 -12
- package/password/password.cjs.js +49 -51
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +49 -52
- package/password/password.esm.min.js +1 -1
- package/password/password.js +50 -53
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +38 -34
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +38 -34
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +39 -35
- package/picklist/picklist.min.js +1 -1
- package/portal/Portal.d.ts +36 -0
- package/portal/Portal.vue +41 -0
- package/portal/package.json +9 -0
- package/portal/portal.cjs.js +48 -0
- package/portal/portal.cjs.min.js +1 -0
- package/portal/portal.esm.js +46 -0
- package/portal/portal.esm.min.js +1 -0
- package/portal/portal.js +49 -0
- package/portal/portal.min.js +1 -0
- package/progressbar/progressbar.cjs.js +14 -12
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +16 -14
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +15 -13
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/ProgressSpinner.vue +3 -3
- package/progressspinner/progressspinner.cjs.js +7 -6
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +9 -8
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +8 -7
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/RadioButton.vue +3 -3
- package/radiobutton/radiobutton.cjs.js +18 -15
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +20 -17
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +19 -16
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +13 -8
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +15 -10
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +14 -9
- package/rating/rating.min.js +1 -1
- package/resources/primevue.css +0 -4
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +15 -2
- package/resources/themes/arya-green/theme.css +15 -2
- package/resources/themes/arya-orange/theme.css +15 -2
- package/resources/themes/arya-purple/theme.css +15 -2
- package/resources/themes/bootstrap4-dark-blue/theme.css +15 -2
- package/resources/themes/bootstrap4-dark-purple/theme.css +15 -2
- package/resources/themes/bootstrap4-light-blue/theme.css +14 -1
- package/resources/themes/bootstrap4-light-purple/theme.css +14 -1
- package/resources/themes/fluent-light/theme.css +15 -2
- package/resources/themes/lara-dark-blue/theme.css +15 -2
- package/resources/themes/lara-dark-indigo/theme.css +15 -2
- package/resources/themes/lara-dark-purple/theme.css +15 -2
- package/resources/themes/lara-dark-teal/theme.css +15 -2
- package/resources/themes/lara-light-blue/theme.css +15 -2
- package/resources/themes/lara-light-indigo/theme.css +15 -2
- package/resources/themes/lara-light-purple/theme.css +15 -2
- package/resources/themes/lara-light-teal/theme.css +15 -2
- package/resources/themes/luna-amber/theme.css +15 -2
- package/resources/themes/luna-blue/theme.css +15 -2
- package/resources/themes/luna-green/theme.css +15 -2
- package/resources/themes/luna-pink/theme.css +15 -2
- package/resources/themes/md-dark-deeppurple/theme.css +16 -5
- package/resources/themes/md-dark-indigo/theme.css +16 -5
- package/resources/themes/md-light-deeppurple/theme.css +16 -5
- package/resources/themes/md-light-indigo/theme.css +16 -5
- package/resources/themes/mdc-dark-deeppurple/theme.css +16 -5
- package/resources/themes/mdc-dark-indigo/theme.css +16 -5
- package/resources/themes/mdc-light-deeppurple/theme.css +16 -5
- package/resources/themes/mdc-light-indigo/theme.css +16 -5
- package/resources/themes/nova/theme.css +15 -2
- package/resources/themes/nova-accent/theme.css +15 -2
- package/resources/themes/nova-alt/theme.css +15 -2
- package/resources/themes/nova-vue/theme.css +15 -2
- package/resources/themes/rhea/theme.css +15 -2
- package/resources/themes/saga-blue/theme.css +15 -2
- package/resources/themes/saga-green/theme.css +15 -2
- package/resources/themes/saga-orange/theme.css +15 -2
- package/resources/themes/saga-purple/theme.css +15 -2
- package/resources/themes/tailwind-light/theme.css +15 -2
- package/resources/themes/vela-blue/theme.css +15 -2
- package/resources/themes/vela-green/theme.css +15 -2
- package/resources/themes/vela-orange/theme.css +15 -2
- package/resources/themes/vela-purple/theme.css +15 -2
- package/ripple/ripple.esm.js +1 -1
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +1 -1
- package/row/row.esm.js +1 -1
- package/row/row.esm.min.js +1 -1
- package/row/row.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +9 -9
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +11 -11
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +10 -10
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +6 -4
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +8 -6
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +7 -5
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +12 -11
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +13 -12
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +13 -12
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/Sidebar.d.ts +4 -0
- package/sidebar/Sidebar.vue +9 -2
- package/sidebar/sidebar.cjs.js +66 -45
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +66 -46
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +67 -47
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +3 -3
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +5 -5
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +4 -4
- package/skeleton/skeleton.min.js +1 -1
- package/slider/Slider.vue +1 -1
- package/slider/slider.cjs.js +34 -30
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +36 -32
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +35 -31
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +23 -21
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +22 -20
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +24 -22
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +7 -9
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +7 -9
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +8 -10
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +13 -9
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +15 -11
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +14 -10
- package/splitter/splitter.min.js +1 -1
- package/splitterpanel/splitterpanel.cjs.js +2 -2
- package/splitterpanel/splitterpanel.cjs.min.js +1 -1
- package/splitterpanel/splitterpanel.esm.js +4 -4
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +3 -3
- package/splitterpanel/splitterpanel.min.js +1 -1
- package/steps/Steps.vue +1 -4
- package/steps/steps.cjs.js +29 -29
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +31 -31
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +30 -30
- package/steps/steps.min.js +1 -1
- package/styleclass/styleclass.esm.js +1 -1
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +1 -1
- package/tabmenu/TabMenu.vue +3 -3
- package/tabmenu/tabmenu.cjs.js +26 -24
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +27 -25
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +27 -25
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabpanel/tabpanel.esm.js +1 -1
- package/tabpanel/tabpanel.esm.min.js +1 -1
- package/tabpanel/tabpanel.js +1 -1
- package/tabview/tabview.cjs.js +41 -36
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +42 -37
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +42 -37
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +4 -4
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +6 -6
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +5 -5
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +17 -17
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +16 -16
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +18 -18
- package/terminal/terminal.min.js +1 -1
- package/terminalservice/terminalservice.esm.js +1 -1
- package/terminalservice/terminalservice.esm.min.js +1 -1
- package/terminalservice/terminalservice.js +1 -1
- package/textarea/Textarea.vue +2 -1
- package/textarea/textarea.cjs.js +7 -4
- package/textarea/textarea.cjs.min.js +1 -1
- package/textarea/textarea.esm.js +9 -6
- package/textarea/textarea.esm.min.js +1 -1
- package/textarea/textarea.js +8 -5
- package/textarea/textarea.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +0 -1
- package/tieredmenu/TieredMenu.vue +6 -4
- package/tieredmenu/tieredmenu.cjs.js +74 -64
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +73 -64
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +75 -66
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/Timeline.d.ts +1 -1
- package/timeline/timeline.cjs.js +10 -8
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +12 -10
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +11 -9
- package/timeline/timeline.min.js +1 -1
- package/toast/Toast.vue +7 -5
- package/toast/toast.cjs.js +59 -49
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +54 -45
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +60 -51
- package/toast/toast.min.js +1 -1
- package/toasteventbus/toasteventbus.esm.js +1 -1
- package/toasteventbus/toasteventbus.esm.min.js +1 -1
- package/toasteventbus/toasteventbus.js +1 -1
- package/toastservice/toastservice.cjs.js +3 -3
- package/toastservice/toastservice.esm.js +1 -1
- package/toastservice/toastservice.esm.min.js +1 -1
- package/toastservice/toastservice.js +4 -4
- package/togglebutton/togglebutton.cjs.js +10 -9
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +11 -10
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +11 -10
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.vue +2 -2
- package/toolbar/toolbar.cjs.js +3 -3
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +5 -5
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +4 -4
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/tooltip.cjs.js +7 -1
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +8 -2
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +8 -2
- package/tooltip/tooltip.min.js +1 -1
- package/tree/TreeNode.vue +1 -4
- package/tree/tree.cjs.js +57 -45
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +58 -46
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +58 -46
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.vue +7 -11
- package/treeselect/treeselect.cjs.js +92 -91
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +91 -91
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +93 -93
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/FooterCell.vue +1 -1
- package/treetable/TreeTable.d.ts +1 -1
- package/treetable/TreeTableRow.vue +2 -2
- package/treetable/treetable.cjs.js +97 -88
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +97 -88
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +98 -89
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.vue +3 -3
- package/tristatecheckbox/tristatecheckbox.cjs.js +16 -14
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +18 -16
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +17 -15
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/useconfirm/useconfirm.js +1 -1
- package/usetoast/usetoast.js +1 -1
- package/utils/Utils.d.ts +1 -0
- package/utils/utils.cjs.js +4 -0
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +4 -0
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +5 -1
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +32 -4
- package/vetur-tags.json +12 -0
- package/virtualscroller/virtualscroller.cjs.js +15 -15
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +17 -17
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +16 -16
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +96 -6
|
@@ -2,10 +2,11 @@ import { ZIndexUtils, DomHandler, ConnectedOverlayScrollHandler, ObjectUtils, Un
|
|
|
2
2
|
import { FilterOperator, FilterService, FilterMatchMode } from 'primevue/api';
|
|
3
3
|
import Paginator from 'primevue/paginator';
|
|
4
4
|
import VirtualScroller from 'primevue/virtualscroller';
|
|
5
|
-
import { openBlock,
|
|
5
|
+
import { openBlock, createElementBlock, normalizeClass, withKeys, withModifiers, createElementVNode, resolveComponent, createBlock, resolveDynamicComponent, createCommentVNode, createVNode, withCtx, Transition, Fragment, renderList, toDisplayString, normalizeStyle, resolveDirective, withDirectives, createTextVNode, renderSlot, createSlots, mergeProps } from 'vue';
|
|
6
6
|
import OverlayEventBus from 'primevue/overlayeventbus';
|
|
7
7
|
import Dropdown from 'primevue/dropdown';
|
|
8
8
|
import Button from 'primevue/button';
|
|
9
|
+
import Portal from 'primevue/portal';
|
|
9
10
|
import Ripple from 'primevue/ripple';
|
|
10
11
|
|
|
11
12
|
var script$a = {
|
|
@@ -39,25 +40,27 @@ var script$a = {
|
|
|
39
40
|
}
|
|
40
41
|
};
|
|
41
42
|
|
|
43
|
+
const _hoisted_1$a = ["aria-checked", "tabindex"];
|
|
44
|
+
|
|
42
45
|
function render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
43
|
-
return (openBlock(),
|
|
44
|
-
class: ['p-checkbox p-component', {'p-checkbox-focused': $data.focused}],
|
|
45
|
-
onClick: _cache[
|
|
46
|
-
onKeydown: _cache[
|
|
46
|
+
return (openBlock(), createElementBlock("div", {
|
|
47
|
+
class: normalizeClass(['p-checkbox p-component', {'p-checkbox-focused': $data.focused}]),
|
|
48
|
+
onClick: _cache[2] || (_cache[2] = (...args) => ($options.onClick && $options.onClick(...args))),
|
|
49
|
+
onKeydown: _cache[3] || (_cache[3] = withKeys(withModifiers((...args) => ($options.onClick && $options.onClick(...args)), ["prevent"]), ["space"]))
|
|
47
50
|
}, [
|
|
48
|
-
|
|
51
|
+
createElementVNode("div", {
|
|
49
52
|
ref: "box",
|
|
50
|
-
class: ['p-checkbox-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}],
|
|
53
|
+
class: normalizeClass(['p-checkbox-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}]),
|
|
51
54
|
role: "checkbox",
|
|
52
55
|
"aria-checked": $props.checked,
|
|
53
56
|
tabindex: _ctx.$attrs.disabled ? null : '0',
|
|
54
|
-
onFocus: _cache[
|
|
55
|
-
onBlur: _cache[
|
|
57
|
+
onFocus: _cache[0] || (_cache[0] = $event => ($options.onFocus($event))),
|
|
58
|
+
onBlur: _cache[1] || (_cache[1] = $event => ($options.onBlur($event)))
|
|
56
59
|
}, [
|
|
57
|
-
|
|
58
|
-
class: ['p-checkbox-icon', {'pi pi-check': $props.checked}]
|
|
60
|
+
createElementVNode("span", {
|
|
61
|
+
class: normalizeClass(['p-checkbox-icon', {'pi pi-check': $props.checked}])
|
|
59
62
|
}, null, 2)
|
|
60
|
-
], 42,
|
|
63
|
+
], 42, _hoisted_1$a)
|
|
61
64
|
], 34))
|
|
62
65
|
}
|
|
63
66
|
|
|
@@ -437,7 +440,7 @@ var script$9 = {
|
|
|
437
440
|
bindResizeListener() {
|
|
438
441
|
if (!this.resizeListener) {
|
|
439
442
|
this.resizeListener = () => {
|
|
440
|
-
if (this.overlayVisible) {
|
|
443
|
+
if (this.overlayVisible && !DomHandler.isTouchDevice()) {
|
|
441
444
|
this.hide();
|
|
442
445
|
}
|
|
443
446
|
};
|
|
@@ -517,39 +520,51 @@ var script$9 = {
|
|
|
517
520
|
},
|
|
518
521
|
components: {
|
|
519
522
|
'CFDropdown': Dropdown,
|
|
520
|
-
'CFButton': Button
|
|
523
|
+
'CFButton': Button,
|
|
524
|
+
'Portal': Portal
|
|
521
525
|
}
|
|
522
526
|
};
|
|
523
527
|
|
|
524
|
-
const _hoisted_1$
|
|
528
|
+
const _hoisted_1$9 = {
|
|
525
529
|
key: 0,
|
|
526
530
|
class: "p-fluid p-column-filter-element"
|
|
527
531
|
};
|
|
528
|
-
const _hoisted_2$
|
|
529
|
-
const _hoisted_3$
|
|
530
|
-
const _hoisted_4$
|
|
532
|
+
const _hoisted_2$7 = ["aria-expanded"];
|
|
533
|
+
const _hoisted_3$6 = /*#__PURE__*/createElementVNode("span", { class: "pi pi-filter-icon pi-filter" }, null, -1);
|
|
534
|
+
const _hoisted_4$4 = [
|
|
535
|
+
_hoisted_3$6
|
|
536
|
+
];
|
|
537
|
+
const _hoisted_5$3 = /*#__PURE__*/createElementVNode("span", { class: "pi pi-filter-slash" }, null, -1);
|
|
538
|
+
const _hoisted_6$3 = [
|
|
539
|
+
_hoisted_5$3
|
|
540
|
+
];
|
|
541
|
+
const _hoisted_7$1 = {
|
|
531
542
|
key: 0,
|
|
532
543
|
class: "p-column-filter-row-items"
|
|
533
544
|
};
|
|
534
|
-
const
|
|
535
|
-
const
|
|
545
|
+
const _hoisted_8 = ["onClick", "onKeydown", "tabindex"];
|
|
546
|
+
const _hoisted_9 = /*#__PURE__*/createElementVNode("li", { class: "p-column-filter-separator" }, null, -1);
|
|
547
|
+
const _hoisted_10 = {
|
|
536
548
|
key: 0,
|
|
537
549
|
class: "p-column-filter-operator"
|
|
538
550
|
};
|
|
539
|
-
const
|
|
540
|
-
const
|
|
551
|
+
const _hoisted_11 = { class: "p-column-filter-constraints" };
|
|
552
|
+
const _hoisted_12 = {
|
|
541
553
|
key: 1,
|
|
542
554
|
class: "p-column-filter-add-rule"
|
|
543
555
|
};
|
|
544
|
-
const
|
|
556
|
+
const _hoisted_13 = { class: "p-column-filter-buttonbar" };
|
|
545
557
|
|
|
546
558
|
function render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
547
559
|
const _component_CFDropdown = resolveComponent("CFDropdown");
|
|
548
560
|
const _component_CFButton = resolveComponent("CFButton");
|
|
561
|
+
const _component_Portal = resolveComponent("Portal");
|
|
549
562
|
|
|
550
|
-
return (openBlock(),
|
|
563
|
+
return (openBlock(), createElementBlock("div", {
|
|
564
|
+
class: normalizeClass($options.containerClass)
|
|
565
|
+
}, [
|
|
551
566
|
($props.display === 'row')
|
|
552
|
-
? (openBlock(),
|
|
567
|
+
? (openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
553
568
|
(openBlock(), createBlock(resolveDynamicComponent($props.filterElement), {
|
|
554
569
|
field: $props.field,
|
|
555
570
|
filterModel: $props.filters[$props.field],
|
|
@@ -558,185 +573,184 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
558
573
|
]))
|
|
559
574
|
: createCommentVNode("", true),
|
|
560
575
|
($options.showMenuButton)
|
|
561
|
-
? (openBlock(),
|
|
576
|
+
? (openBlock(), createElementBlock("button", {
|
|
562
577
|
key: 1,
|
|
563
578
|
ref: "icon",
|
|
564
579
|
type: "button",
|
|
565
|
-
class: ["p-column-filter-menu-button p-link", {'p-column-filter-menu-button-open': $data.overlayVisible, 'p-column-filter-menu-button-active': $options.hasFilter()}],
|
|
580
|
+
class: normalizeClass(["p-column-filter-menu-button p-link", {'p-column-filter-menu-button-open': $data.overlayVisible, 'p-column-filter-menu-button-active': $options.hasFilter()}]),
|
|
566
581
|
"aria-haspopup": "true",
|
|
567
582
|
"aria-expanded": $data.overlayVisible,
|
|
568
|
-
onClick: _cache[
|
|
569
|
-
onKeydown: _cache[
|
|
570
|
-
},
|
|
571
|
-
_hoisted_2$5
|
|
572
|
-
], 42, ["aria-expanded"]))
|
|
583
|
+
onClick: _cache[0] || (_cache[0] = $event => ($options.toggleMenu())),
|
|
584
|
+
onKeydown: _cache[1] || (_cache[1] = $event => ($options.onToggleButtonKeyDown($event)))
|
|
585
|
+
}, _hoisted_4$4, 42, _hoisted_2$7))
|
|
573
586
|
: createCommentVNode("", true),
|
|
574
587
|
($props.showClearButton && $props.display === 'row')
|
|
575
|
-
? (openBlock(),
|
|
588
|
+
? (openBlock(), createElementBlock("button", {
|
|
576
589
|
key: 2,
|
|
577
|
-
class: [{'p-hidden-space': !$options.hasRowFilter()}, "p-column-filter-clear-button p-link"],
|
|
590
|
+
class: normalizeClass([{'p-hidden-space': !$options.hasRowFilter()}, "p-column-filter-clear-button p-link"]),
|
|
578
591
|
type: "button",
|
|
579
|
-
onClick: _cache[
|
|
580
|
-
},
|
|
581
|
-
_hoisted_3$4
|
|
582
|
-
], 2))
|
|
592
|
+
onClick: _cache[2] || (_cache[2] = $event => ($options.clearFilter()))
|
|
593
|
+
}, _hoisted_6$3, 2))
|
|
583
594
|
: createCommentVNode("", true),
|
|
584
|
-
(
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
(
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
595
|
+
createVNode(_component_Portal, null, {
|
|
596
|
+
default: withCtx(() => [
|
|
597
|
+
createVNode(Transition, {
|
|
598
|
+
name: "p-connected-overlay",
|
|
599
|
+
onEnter: $options.onOverlayEnter,
|
|
600
|
+
onLeave: $options.onOverlayLeave,
|
|
601
|
+
onAfterLeave: $options.onOverlayAfterLeave
|
|
602
|
+
}, {
|
|
603
|
+
default: withCtx(() => [
|
|
604
|
+
($data.overlayVisible)
|
|
605
|
+
? (openBlock(), createElementBlock("div", {
|
|
606
|
+
key: 0,
|
|
607
|
+
ref: $options.overlayRef,
|
|
608
|
+
class: normalizeClass($options.overlayClass),
|
|
609
|
+
onKeydown: _cache[11] || (_cache[11] = withKeys((...args) => ($options.onEscape && $options.onEscape(...args)), ["escape"])),
|
|
610
|
+
onClick: _cache[12] || (_cache[12] = (...args) => ($options.onContentClick && $options.onContentClick(...args))),
|
|
611
|
+
onMousedown: _cache[13] || (_cache[13] = (...args) => ($options.onContentMouseDown && $options.onContentMouseDown(...args)))
|
|
612
|
+
}, [
|
|
613
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.filterHeaderTemplate), {
|
|
614
|
+
field: $props.field,
|
|
615
|
+
filterModel: $props.filters[$props.field],
|
|
616
|
+
filterCallback: $options.filterCallback
|
|
617
|
+
}, null, 8, ["field", "filterModel", "filterCallback"])),
|
|
618
|
+
($props.display === 'row')
|
|
619
|
+
? (openBlock(), createElementBlock("ul", _hoisted_7$1, [
|
|
620
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.matchModes, (matchMode, i) => {
|
|
621
|
+
return (openBlock(), createElementBlock("li", {
|
|
622
|
+
class: normalizeClass(["p-column-filter-row-item", {'p-highlight': $options.isRowMatchModeSelected(matchMode.value)}]),
|
|
623
|
+
key: matchMode.label,
|
|
624
|
+
onClick: $event => ($options.onRowMatchModeChange(matchMode.value)),
|
|
625
|
+
onKeydown: [
|
|
626
|
+
_cache[3] || (_cache[3] = $event => ($options.onRowMatchModeKeyDown($event))),
|
|
627
|
+
withKeys(withModifiers($event => ($options.onRowMatchModeChange(matchMode.value)), ["prevent"]), ["enter"])
|
|
628
|
+
],
|
|
629
|
+
tabindex: i === 0 ? '0' : null
|
|
630
|
+
}, toDisplayString(matchMode.label), 43, _hoisted_8))
|
|
631
|
+
}), 128)),
|
|
632
|
+
_hoisted_9,
|
|
633
|
+
createElementVNode("li", {
|
|
634
|
+
class: "p-column-filter-row-item",
|
|
635
|
+
onClick: _cache[4] || (_cache[4] = $event => ($options.clearFilter())),
|
|
613
636
|
onKeydown: [
|
|
614
|
-
_cache[
|
|
615
|
-
withKeys(
|
|
616
|
-
]
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
}, null, 8, ["options", "modelValue"])
|
|
641
|
-
]))
|
|
642
|
-
: createCommentVNode("", true),
|
|
643
|
-
createVNode("div", _hoisted_7, [
|
|
644
|
-
(openBlock(true), createBlock(Fragment, null, renderList($options.fieldConstraints, (fieldConstraint, i) => {
|
|
645
|
-
return (openBlock(), createBlock("div", {
|
|
646
|
-
key: i,
|
|
647
|
-
class: "p-column-filter-constraint"
|
|
648
|
-
}, [
|
|
649
|
-
($options.isShowMatchModes)
|
|
650
|
-
? (openBlock(), createBlock(_component_CFDropdown, {
|
|
651
|
-
key: 0,
|
|
652
|
-
options: $options.matchModes,
|
|
653
|
-
modelValue: fieldConstraint.matchMode,
|
|
654
|
-
optionLabel: "label",
|
|
655
|
-
optionValue: "value",
|
|
656
|
-
"onUpdate:modelValue": $event => ($options.onMenuMatchModeChange($event, i)),
|
|
657
|
-
class: "p-column-filter-matchmode-dropdown"
|
|
658
|
-
}, null, 8, ["options", "modelValue", "onUpdate:modelValue"]))
|
|
659
|
-
: createCommentVNode("", true),
|
|
660
|
-
($props.display === 'menu')
|
|
661
|
-
? (openBlock(), createBlock(resolveDynamicComponent($props.filterElement), {
|
|
662
|
-
key: 1,
|
|
663
|
-
field: $props.field,
|
|
664
|
-
filterModel: fieldConstraint,
|
|
665
|
-
filterCallback: $options.filterCallback
|
|
666
|
-
}, null, 8, ["field", "filterModel", "filterCallback"]))
|
|
667
|
-
: createCommentVNode("", true),
|
|
668
|
-
createVNode("div", null, [
|
|
669
|
-
($options.showRemoveIcon)
|
|
670
|
-
? (openBlock(), createBlock(_component_CFButton, {
|
|
637
|
+
_cache[5] || (_cache[5] = $event => ($options.onRowMatchModeKeyDown($event))),
|
|
638
|
+
_cache[6] || (_cache[6] = withKeys($event => (_ctx.onRowClearItemClick()), ["enter"]))
|
|
639
|
+
]
|
|
640
|
+
}, toDisplayString($options.noFilterLabel), 33)
|
|
641
|
+
]))
|
|
642
|
+
: (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
643
|
+
($options.isShowOperator)
|
|
644
|
+
? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
645
|
+
createVNode(_component_CFDropdown, {
|
|
646
|
+
options: $options.operatorOptions,
|
|
647
|
+
modelValue: $options.operator,
|
|
648
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ($options.onOperatorChange($event))),
|
|
649
|
+
class: "p-column-filter-operator-dropdown",
|
|
650
|
+
optionLabel: "label",
|
|
651
|
+
optionValue: "value"
|
|
652
|
+
}, null, 8, ["options", "modelValue"])
|
|
653
|
+
]))
|
|
654
|
+
: createCommentVNode("", true),
|
|
655
|
+
createElementVNode("div", _hoisted_11, [
|
|
656
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.fieldConstraints, (fieldConstraint, i) => {
|
|
657
|
+
return (openBlock(), createElementBlock("div", {
|
|
658
|
+
key: i,
|
|
659
|
+
class: "p-column-filter-constraint"
|
|
660
|
+
}, [
|
|
661
|
+
($options.isShowMatchModes)
|
|
662
|
+
? (openBlock(), createBlock(_component_CFDropdown, {
|
|
671
663
|
key: 0,
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
]),
|
|
683
|
-
($options.isShowAddConstraint)
|
|
684
|
-
? (openBlock(), createBlock("div", _hoisted_8, [
|
|
685
|
-
createVNode(_component_CFButton, {
|
|
686
|
-
type: "button",
|
|
687
|
-
label: $options.addRuleButtonLabel,
|
|
688
|
-
icon: "pi pi-plus",
|
|
689
|
-
class: "p-column-filter-add-button p-button-text p-button-sm",
|
|
690
|
-
onClick: _cache[9] || (_cache[9] = $event => ($options.addConstraint()))
|
|
691
|
-
}, null, 8, ["label"])
|
|
692
|
-
]))
|
|
693
|
-
: createCommentVNode("", true),
|
|
694
|
-
createVNode("div", _hoisted_9, [
|
|
695
|
-
(!$props.filterClearTemplate && $props.showClearButton)
|
|
696
|
-
? (openBlock(), createBlock(_component_CFButton, {
|
|
697
|
-
key: 0,
|
|
698
|
-
type: "button",
|
|
699
|
-
class: "p-button-outlined p-button-sm",
|
|
700
|
-
onClick: _cache[10] || (_cache[10] = $event => ($options.clearFilter())),
|
|
701
|
-
label: $options.clearButtonLabel
|
|
702
|
-
}, null, 8, ["label"]))
|
|
703
|
-
: (openBlock(), createBlock(resolveDynamicComponent($props.filterClearTemplate), {
|
|
704
|
-
key: 1,
|
|
705
|
-
field: $props.field,
|
|
706
|
-
filterModel: $props.filters[$props.field],
|
|
707
|
-
filterCallback: $options.clearFilter
|
|
708
|
-
}, null, 8, ["field", "filterModel", "filterCallback"])),
|
|
709
|
-
($props.showApplyButton)
|
|
710
|
-
? (openBlock(), createBlock(Fragment, { key: 2 }, [
|
|
711
|
-
(!$props.filterApplyTemplate)
|
|
712
|
-
? (openBlock(), createBlock(_component_CFButton, {
|
|
713
|
-
key: 0,
|
|
714
|
-
type: "button",
|
|
715
|
-
class: "p-button-sm",
|
|
716
|
-
onClick: _cache[11] || (_cache[11] = $event => ($options.applyFilter())),
|
|
717
|
-
label: $options.applyButtonLabel
|
|
718
|
-
}, null, 8, ["label"]))
|
|
719
|
-
: (openBlock(), createBlock(resolveDynamicComponent($props.filterApplyTemplate), {
|
|
664
|
+
options: $options.matchModes,
|
|
665
|
+
modelValue: fieldConstraint.matchMode,
|
|
666
|
+
optionLabel: "label",
|
|
667
|
+
optionValue: "value",
|
|
668
|
+
"onUpdate:modelValue": $event => ($options.onMenuMatchModeChange($event, i)),
|
|
669
|
+
class: "p-column-filter-matchmode-dropdown"
|
|
670
|
+
}, null, 8, ["options", "modelValue", "onUpdate:modelValue"]))
|
|
671
|
+
: createCommentVNode("", true),
|
|
672
|
+
($props.display === 'menu')
|
|
673
|
+
? (openBlock(), createBlock(resolveDynamicComponent($props.filterElement), {
|
|
720
674
|
key: 1,
|
|
721
675
|
field: $props.field,
|
|
722
|
-
filterModel:
|
|
723
|
-
filterCallback: $options.
|
|
676
|
+
filterModel: fieldConstraint,
|
|
677
|
+
filterCallback: $options.filterCallback
|
|
724
678
|
}, null, 8, ["field", "filterModel", "filterCallback"]))
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
679
|
+
: createCommentVNode("", true),
|
|
680
|
+
createElementVNode("div", null, [
|
|
681
|
+
($options.showRemoveIcon)
|
|
682
|
+
? (openBlock(), createBlock(_component_CFButton, {
|
|
683
|
+
key: 0,
|
|
684
|
+
type: "button",
|
|
685
|
+
icon: "pi pi-trash",
|
|
686
|
+
class: "p-column-filter-remove-button p-button-text p-button-danger p-button-sm",
|
|
687
|
+
onClick: $event => ($options.removeConstraint(i)),
|
|
688
|
+
label: $options.removeRuleButtonLabel
|
|
689
|
+
}, null, 8, ["onClick", "label"]))
|
|
690
|
+
: createCommentVNode("", true)
|
|
691
|
+
])
|
|
692
|
+
]))
|
|
693
|
+
}), 128))
|
|
694
|
+
]),
|
|
695
|
+
($options.isShowAddConstraint)
|
|
696
|
+
? (openBlock(), createElementBlock("div", _hoisted_12, [
|
|
697
|
+
createVNode(_component_CFButton, {
|
|
698
|
+
type: "button",
|
|
699
|
+
label: $options.addRuleButtonLabel,
|
|
700
|
+
icon: "pi pi-plus",
|
|
701
|
+
class: "p-column-filter-add-button p-button-text p-button-sm",
|
|
702
|
+
onClick: _cache[8] || (_cache[8] = $event => ($options.addConstraint()))
|
|
703
|
+
}, null, 8, ["label"])
|
|
704
|
+
]))
|
|
705
|
+
: createCommentVNode("", true),
|
|
706
|
+
createElementVNode("div", _hoisted_13, [
|
|
707
|
+
(!$props.filterClearTemplate && $props.showClearButton)
|
|
708
|
+
? (openBlock(), createBlock(_component_CFButton, {
|
|
709
|
+
key: 0,
|
|
710
|
+
type: "button",
|
|
711
|
+
class: "p-button-outlined p-button-sm",
|
|
712
|
+
onClick: _cache[9] || (_cache[9] = $event => ($options.clearFilter())),
|
|
713
|
+
label: $options.clearButtonLabel
|
|
714
|
+
}, null, 8, ["label"]))
|
|
715
|
+
: (openBlock(), createBlock(resolveDynamicComponent($props.filterClearTemplate), {
|
|
716
|
+
key: 1,
|
|
717
|
+
field: $props.field,
|
|
718
|
+
filterModel: $props.filters[$props.field],
|
|
719
|
+
filterCallback: $options.clearFilter
|
|
720
|
+
}, null, 8, ["field", "filterModel", "filterCallback"])),
|
|
721
|
+
($props.showApplyButton)
|
|
722
|
+
? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
723
|
+
(!$props.filterApplyTemplate)
|
|
724
|
+
? (openBlock(), createBlock(_component_CFButton, {
|
|
725
|
+
key: 0,
|
|
726
|
+
type: "button",
|
|
727
|
+
class: "p-button-sm",
|
|
728
|
+
onClick: _cache[10] || (_cache[10] = $event => ($options.applyFilter())),
|
|
729
|
+
label: $options.applyButtonLabel
|
|
730
|
+
}, null, 8, ["label"]))
|
|
731
|
+
: (openBlock(), createBlock(resolveDynamicComponent($props.filterApplyTemplate), {
|
|
732
|
+
key: 1,
|
|
733
|
+
field: $props.field,
|
|
734
|
+
filterModel: $props.filters[$props.field],
|
|
735
|
+
filterCallback: $options.applyFilter
|
|
736
|
+
}, null, 8, ["field", "filterModel", "filterCallback"]))
|
|
737
|
+
], 64))
|
|
738
|
+
: createCommentVNode("", true)
|
|
739
|
+
])
|
|
740
|
+
], 64)),
|
|
741
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.filterFooterTemplate), {
|
|
742
|
+
field: $props.field,
|
|
743
|
+
filterModel: $props.filters[$props.field],
|
|
744
|
+
filterCallback: $options.filterCallback
|
|
745
|
+
}, null, 8, ["field", "filterModel", "filterCallback"]))
|
|
746
|
+
], 34))
|
|
747
|
+
: createCommentVNode("", true)
|
|
748
|
+
]),
|
|
749
|
+
_: 1
|
|
750
|
+
}, 8, ["onEnter", "onLeave", "onAfterLeave"])
|
|
751
|
+
]),
|
|
752
|
+
_: 1
|
|
753
|
+
})
|
|
740
754
|
], 2))
|
|
741
755
|
}
|
|
742
756
|
|
|
@@ -803,6 +817,10 @@ var script$8 = {
|
|
|
803
817
|
filterColumn: {
|
|
804
818
|
type: Boolean,
|
|
805
819
|
default: false
|
|
820
|
+
},
|
|
821
|
+
reorderableColumns: {
|
|
822
|
+
type: Boolean,
|
|
823
|
+
default: false
|
|
806
824
|
}
|
|
807
825
|
},
|
|
808
826
|
data() {
|
|
@@ -903,7 +921,8 @@ var script$8 = {
|
|
|
903
921
|
'p-resizable-column': this.resizableColumns,
|
|
904
922
|
'p-highlight': this.isColumnSorted(),
|
|
905
923
|
'p-filter-column': this.filterColumn,
|
|
906
|
-
'p-frozen-column': this.columnProp('frozen')
|
|
924
|
+
'p-frozen-column': this.columnProp('frozen'),
|
|
925
|
+
'p-reorderable-column': this.reorderableColumns
|
|
907
926
|
}];
|
|
908
927
|
},
|
|
909
928
|
containerStyle() {
|
|
@@ -957,12 +976,13 @@ var script$8 = {
|
|
|
957
976
|
}
|
|
958
977
|
};
|
|
959
978
|
|
|
960
|
-
const _hoisted_1$
|
|
961
|
-
const _hoisted_2$
|
|
979
|
+
const _hoisted_1$8 = ["tabindex", "colspan", "rowspan", "aria-sort"];
|
|
980
|
+
const _hoisted_2$6 = { class: "p-column-header-content" };
|
|
981
|
+
const _hoisted_3$5 = {
|
|
962
982
|
key: 1,
|
|
963
983
|
class: "p-column-title"
|
|
964
984
|
};
|
|
965
|
-
const
|
|
985
|
+
const _hoisted_4$3 = {
|
|
966
986
|
key: 3,
|
|
967
987
|
class: "p-sortable-column-badge"
|
|
968
988
|
};
|
|
@@ -971,30 +991,30 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
971
991
|
const _component_DTHeaderCheckbox = resolveComponent("DTHeaderCheckbox");
|
|
972
992
|
const _component_DTColumnFilter = resolveComponent("DTColumnFilter");
|
|
973
993
|
|
|
974
|
-
return (openBlock(),
|
|
975
|
-
style: $options.containerStyle,
|
|
976
|
-
class: $options.containerClass,
|
|
994
|
+
return (openBlock(), createElementBlock("th", {
|
|
995
|
+
style: normalizeStyle($options.containerStyle),
|
|
996
|
+
class: normalizeClass($options.containerClass),
|
|
977
997
|
tabindex: $options.columnProp('sortable') ? '0' : null,
|
|
978
998
|
role: "cell",
|
|
979
|
-
onClick: _cache[
|
|
980
|
-
onKeydown: _cache[
|
|
981
|
-
onMousedown: _cache[
|
|
982
|
-
onDragstart: _cache[
|
|
983
|
-
onDragover: _cache[
|
|
984
|
-
onDragleave: _cache[
|
|
985
|
-
onDrop: _cache[
|
|
999
|
+
onClick: _cache[8] || (_cache[8] = (...args) => ($options.onClick && $options.onClick(...args))),
|
|
1000
|
+
onKeydown: _cache[9] || (_cache[9] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
|
|
1001
|
+
onMousedown: _cache[10] || (_cache[10] = (...args) => ($options.onMouseDown && $options.onMouseDown(...args))),
|
|
1002
|
+
onDragstart: _cache[11] || (_cache[11] = (...args) => ($options.onDragStart && $options.onDragStart(...args))),
|
|
1003
|
+
onDragover: _cache[12] || (_cache[12] = (...args) => ($options.onDragOver && $options.onDragOver(...args))),
|
|
1004
|
+
onDragleave: _cache[13] || (_cache[13] = (...args) => ($options.onDragLeave && $options.onDragLeave(...args))),
|
|
1005
|
+
onDrop: _cache[14] || (_cache[14] = (...args) => ($options.onDrop && $options.onDrop(...args))),
|
|
986
1006
|
colspan: $options.columnProp('colspan'),
|
|
987
1007
|
rowspan: $options.columnProp('rowspan'),
|
|
988
1008
|
"aria-sort": $options.ariaSort
|
|
989
1009
|
}, [
|
|
990
1010
|
($props.resizableColumns && !$options.columnProp('frozen'))
|
|
991
|
-
? (openBlock(),
|
|
1011
|
+
? (openBlock(), createElementBlock("span", {
|
|
992
1012
|
key: 0,
|
|
993
1013
|
class: "p-column-resizer",
|
|
994
|
-
onMousedown: _cache[
|
|
1014
|
+
onMousedown: _cache[0] || (_cache[0] = (...args) => ($options.onResizeStart && $options.onResizeStart(...args)))
|
|
995
1015
|
}, null, 32))
|
|
996
1016
|
: createCommentVNode("", true),
|
|
997
|
-
|
|
1017
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
998
1018
|
($props.column.children && $props.column.children.header)
|
|
999
1019
|
? (openBlock(), createBlock(resolveDynamicComponent($props.column.children.header), {
|
|
1000
1020
|
key: 0,
|
|
@@ -1002,16 +1022,16 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1002
1022
|
}, null, 8, ["column"]))
|
|
1003
1023
|
: createCommentVNode("", true),
|
|
1004
1024
|
($options.columnProp('header'))
|
|
1005
|
-
? (openBlock(),
|
|
1025
|
+
? (openBlock(), createElementBlock("span", _hoisted_3$5, toDisplayString($options.columnProp('header')), 1))
|
|
1006
1026
|
: createCommentVNode("", true),
|
|
1007
1027
|
($options.columnProp('sortable'))
|
|
1008
|
-
? (openBlock(),
|
|
1028
|
+
? (openBlock(), createElementBlock("span", {
|
|
1009
1029
|
key: 2,
|
|
1010
|
-
class: $options.sortableColumnIcon
|
|
1030
|
+
class: normalizeClass($options.sortableColumnIcon)
|
|
1011
1031
|
}, null, 2))
|
|
1012
1032
|
: createCommentVNode("", true),
|
|
1013
1033
|
($options.isMultiSorted())
|
|
1014
|
-
? (openBlock(),
|
|
1034
|
+
? (openBlock(), createElementBlock("span", _hoisted_4$3, toDisplayString($options.getBadgeValue()), 1))
|
|
1015
1035
|
: createCommentVNode("", true),
|
|
1016
1036
|
($options.columnProp('selectionMode') ==='multiple' && $props.filterDisplay !== 'row')
|
|
1017
1037
|
? (openBlock(), createBlock(_component_DTHeaderCheckbox, {
|
|
@@ -1035,8 +1055,8 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1035
1055
|
filterApplyTemplate: $props.column.children && $props.column.children.filterapply,
|
|
1036
1056
|
filters: $props.filters,
|
|
1037
1057
|
filtersStore: $props.filtersStore,
|
|
1038
|
-
onFilterChange: _cache[
|
|
1039
|
-
onFilterApply: _cache[
|
|
1058
|
+
onFilterChange: _cache[1] || (_cache[1] = $event => (_ctx.$emit('filter-change', $event))),
|
|
1059
|
+
onFilterApply: _cache[2] || (_cache[2] = $event => (_ctx.$emit('filter-apply'))),
|
|
1040
1060
|
filterMenuStyle: $options.columnProp('filterMenuStyle'),
|
|
1041
1061
|
filterMenuClass: $options.columnProp('filterMenuClass'),
|
|
1042
1062
|
showOperator: $options.columnProp('showFilterOperator'),
|
|
@@ -1046,15 +1066,15 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1046
1066
|
showAddButton: $options.columnProp('showAddButton'),
|
|
1047
1067
|
matchModeOptions: $options.columnProp('filterMatchModeOptions'),
|
|
1048
1068
|
maxConstraints: $options.columnProp('maxConstraints'),
|
|
1049
|
-
onOperatorChange: _cache[
|
|
1050
|
-
onMatchmodeChange: _cache[
|
|
1051
|
-
onConstraintAdd: _cache[
|
|
1052
|
-
onConstraintRemove: _cache[
|
|
1053
|
-
onApplyClick: _cache[
|
|
1069
|
+
onOperatorChange: _cache[3] || (_cache[3] = $event => (_ctx.$emit('operator-change',$event))),
|
|
1070
|
+
onMatchmodeChange: _cache[4] || (_cache[4] = $event => (_ctx.$emit('matchmode-change', $event))),
|
|
1071
|
+
onConstraintAdd: _cache[5] || (_cache[5] = $event => (_ctx.$emit('constraint-add', $event))),
|
|
1072
|
+
onConstraintRemove: _cache[6] || (_cache[6] = $event => (_ctx.$emit('constraint-remove', $event))),
|
|
1073
|
+
onApplyClick: _cache[7] || (_cache[7] = $event => (_ctx.$emit('apply-click',$event)))
|
|
1054
1074
|
}, null, 8, ["field", "type", "showMenu", "filterElement", "filterHeaderTemplate", "filterFooterTemplate", "filterClearTemplate", "filterApplyTemplate", "filters", "filtersStore", "filterMenuStyle", "filterMenuClass", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "matchModeOptions", "maxConstraints"]))
|
|
1055
1075
|
: createCommentVNode("", true)
|
|
1056
1076
|
])
|
|
1057
|
-
], 46,
|
|
1077
|
+
], 46, _hoisted_1$8))
|
|
1058
1078
|
}
|
|
1059
1079
|
|
|
1060
1080
|
script$8.render = render$8;
|
|
@@ -1124,6 +1144,10 @@ var script$7 = {
|
|
|
1124
1144
|
filtersStore: {
|
|
1125
1145
|
type: Object,
|
|
1126
1146
|
default: null
|
|
1147
|
+
},
|
|
1148
|
+
reorderableColumns: {
|
|
1149
|
+
type: Boolean,
|
|
1150
|
+
default: false
|
|
1127
1151
|
}
|
|
1128
1152
|
},
|
|
1129
1153
|
methods: {
|
|
@@ -1177,12 +1201,12 @@ var script$7 = {
|
|
|
1177
1201
|
}
|
|
1178
1202
|
};
|
|
1179
1203
|
|
|
1180
|
-
const _hoisted_1$
|
|
1204
|
+
const _hoisted_1$7 = {
|
|
1181
1205
|
class: "p-datatable-thead",
|
|
1182
1206
|
role: "rowgroup"
|
|
1183
1207
|
};
|
|
1184
|
-
const _hoisted_2$
|
|
1185
|
-
const _hoisted_3$
|
|
1208
|
+
const _hoisted_2$5 = { role: "row" };
|
|
1209
|
+
const _hoisted_3$4 = {
|
|
1186
1210
|
key: 0,
|
|
1187
1211
|
role: "row"
|
|
1188
1212
|
};
|
|
@@ -1192,67 +1216,68 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1192
1216
|
const _component_DTHeaderCheckbox = resolveComponent("DTHeaderCheckbox");
|
|
1193
1217
|
const _component_DTColumnFilter = resolveComponent("DTColumnFilter");
|
|
1194
1218
|
|
|
1195
|
-
return (openBlock(),
|
|
1219
|
+
return (openBlock(), createElementBlock("thead", _hoisted_1$7, [
|
|
1196
1220
|
(!$props.columnGroup)
|
|
1197
|
-
? (openBlock(),
|
|
1198
|
-
|
|
1199
|
-
(openBlock(true),
|
|
1200
|
-
return (openBlock(),
|
|
1221
|
+
? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1222
|
+
createElementVNode("tr", _hoisted_2$5, [
|
|
1223
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (col, i) => {
|
|
1224
|
+
return (openBlock(), createElementBlock(Fragment, {
|
|
1201
1225
|
key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||i
|
|
1202
1226
|
}, [
|
|
1203
1227
|
(!$options.columnProp(col, 'hidden') && ($props.rowGroupMode !== 'subheader' || ($props.groupRowsBy !== $options.columnProp(col, 'field'))))
|
|
1204
1228
|
? (openBlock(), createBlock(_component_DTHeaderCell, {
|
|
1205
1229
|
key: 0,
|
|
1206
1230
|
column: col,
|
|
1207
|
-
onColumnClick: _cache[
|
|
1208
|
-
onColumnMousedown: _cache[
|
|
1209
|
-
onColumnDragstart: _cache[
|
|
1210
|
-
onColumnDragover: _cache[
|
|
1211
|
-
onColumnDragleave: _cache[
|
|
1212
|
-
onColumnDrop: _cache[
|
|
1231
|
+
onColumnClick: _cache[0] || (_cache[0] = $event => (_ctx.$emit('column-click', $event))),
|
|
1232
|
+
onColumnMousedown: _cache[1] || (_cache[1] = $event => (_ctx.$emit('column-mousedown', $event))),
|
|
1233
|
+
onColumnDragstart: _cache[2] || (_cache[2] = $event => (_ctx.$emit('column-dragstart', $event))),
|
|
1234
|
+
onColumnDragover: _cache[3] || (_cache[3] = $event => (_ctx.$emit('column-dragover', $event))),
|
|
1235
|
+
onColumnDragleave: _cache[4] || (_cache[4] = $event => (_ctx.$emit('column-dragleave', $event))),
|
|
1236
|
+
onColumnDrop: _cache[5] || (_cache[5] = $event => (_ctx.$emit('column-drop', $event))),
|
|
1213
1237
|
groupRowsBy: $props.groupRowsBy,
|
|
1214
1238
|
groupRowSortField: $props.groupRowSortField,
|
|
1239
|
+
reorderableColumns: $props.reorderableColumns,
|
|
1215
1240
|
resizableColumns: $props.resizableColumns,
|
|
1216
|
-
onColumnResizestart: _cache[
|
|
1241
|
+
onColumnResizestart: _cache[6] || (_cache[6] = $event => (_ctx.$emit('column-resizestart', $event))),
|
|
1217
1242
|
sortMode: $props.sortMode,
|
|
1218
1243
|
sortField: $props.sortField,
|
|
1219
1244
|
sortOrder: $props.sortOrder,
|
|
1220
1245
|
multiSortMeta: $props.multiSortMeta,
|
|
1221
1246
|
allRowsSelected: $props.allRowsSelected,
|
|
1222
1247
|
empty: $props.empty,
|
|
1223
|
-
onCheckboxChange: _cache[
|
|
1248
|
+
onCheckboxChange: _cache[7] || (_cache[7] = $event => (_ctx.$emit('checkbox-change', $event))),
|
|
1224
1249
|
filters: $props.filters,
|
|
1225
1250
|
filterDisplay: $props.filterDisplay,
|
|
1226
1251
|
filtersStore: $props.filtersStore,
|
|
1227
|
-
onFilterChange: _cache[
|
|
1228
|
-
onFilterApply: _cache[
|
|
1229
|
-
onOperatorChange: _cache[
|
|
1230
|
-
onMatchmodeChange: _cache[
|
|
1231
|
-
onConstraintAdd: _cache[
|
|
1232
|
-
onConstraintRemove: _cache[
|
|
1233
|
-
onApplyClick: _cache[
|
|
1234
|
-
}, null, 8, ["column", "groupRowsBy", "groupRowSortField", "resizableColumns", "sortMode", "sortField", "sortOrder", "multiSortMeta", "allRowsSelected", "empty", "filters", "filterDisplay", "filtersStore"]))
|
|
1252
|
+
onFilterChange: _cache[8] || (_cache[8] = $event => (_ctx.$emit('filter-change', $event))),
|
|
1253
|
+
onFilterApply: _cache[9] || (_cache[9] = $event => (_ctx.$emit('filter-apply'))),
|
|
1254
|
+
onOperatorChange: _cache[10] || (_cache[10] = $event => (_ctx.$emit('operator-change',$event))),
|
|
1255
|
+
onMatchmodeChange: _cache[11] || (_cache[11] = $event => (_ctx.$emit('matchmode-change', $event))),
|
|
1256
|
+
onConstraintAdd: _cache[12] || (_cache[12] = $event => (_ctx.$emit('constraint-add', $event))),
|
|
1257
|
+
onConstraintRemove: _cache[13] || (_cache[13] = $event => (_ctx.$emit('constraint-remove', $event))),
|
|
1258
|
+
onApplyClick: _cache[14] || (_cache[14] = $event => (_ctx.$emit('apply-click',$event)))
|
|
1259
|
+
}, null, 8, ["column", "groupRowsBy", "groupRowSortField", "reorderableColumns", "resizableColumns", "sortMode", "sortField", "sortOrder", "multiSortMeta", "allRowsSelected", "empty", "filters", "filterDisplay", "filtersStore"]))
|
|
1235
1260
|
: createCommentVNode("", true)
|
|
1236
1261
|
], 64))
|
|
1237
1262
|
}), 128))
|
|
1238
1263
|
]),
|
|
1239
1264
|
($props.filterDisplay === 'row')
|
|
1240
|
-
? (openBlock(),
|
|
1241
|
-
(openBlock(true),
|
|
1242
|
-
return (openBlock(),
|
|
1265
|
+
? (openBlock(), createElementBlock("tr", _hoisted_3$4, [
|
|
1266
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (col, i) => {
|
|
1267
|
+
return (openBlock(), createElementBlock(Fragment, {
|
|
1243
1268
|
key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||i
|
|
1244
1269
|
}, [
|
|
1245
1270
|
(!$options.columnProp(col, 'hidden') && ($props.rowGroupMode !== 'subheader' || ($props.groupRowsBy !== $options.columnProp(col, 'field'))))
|
|
1246
|
-
? (openBlock(),
|
|
1271
|
+
? (openBlock(), createElementBlock("th", {
|
|
1247
1272
|
key: 0,
|
|
1248
|
-
style: $options.getFilterColumnHeaderStyle(col),
|
|
1249
|
-
class: $options.getFilterColumnHeaderClass(col)
|
|
1273
|
+
style: normalizeStyle($options.getFilterColumnHeaderStyle(col)),
|
|
1274
|
+
class: normalizeClass($options.getFilterColumnHeaderClass(col))
|
|
1250
1275
|
}, [
|
|
1251
1276
|
($options.columnProp(col, 'selectionMode') ==='multiple')
|
|
1252
1277
|
? (openBlock(), createBlock(_component_DTHeaderCheckbox, {
|
|
1253
1278
|
key: 0,
|
|
1254
1279
|
checked: $props.allRowsSelected,
|
|
1255
|
-
onChange: _cache[
|
|
1280
|
+
onChange: _cache[15] || (_cache[15] = $event => (_ctx.$emit('checkbox-change', $event))),
|
|
1256
1281
|
disabled: $props.empty
|
|
1257
1282
|
}, null, 8, ["checked", "disabled"]))
|
|
1258
1283
|
: createCommentVNode("", true),
|
|
@@ -1270,8 +1295,8 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1270
1295
|
filterApplyTemplate: col.children && col.children.filterapply,
|
|
1271
1296
|
filters: $props.filters,
|
|
1272
1297
|
filtersStore: $props.filtersStore,
|
|
1273
|
-
onFilterChange: _cache[
|
|
1274
|
-
onFilterApply: _cache[
|
|
1298
|
+
onFilterChange: _cache[16] || (_cache[16] = $event => (_ctx.$emit('filter-change', $event))),
|
|
1299
|
+
onFilterApply: _cache[17] || (_cache[17] = $event => (_ctx.$emit('filter-apply'))),
|
|
1275
1300
|
filterMenuStyle: $options.columnProp(col,'filterMenuStyle'),
|
|
1276
1301
|
filterMenuClass: $options.columnProp(col,'filterMenuClass'),
|
|
1277
1302
|
showOperator: $options.columnProp(col,'showFilterOperator'),
|
|
@@ -1281,11 +1306,11 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1281
1306
|
showAddButton: $options.columnProp(col,'showAddButton'),
|
|
1282
1307
|
matchModeOptions: $options.columnProp(col,'filterMatchModeOptions'),
|
|
1283
1308
|
maxConstraints: $options.columnProp(col,'maxConstraints'),
|
|
1284
|
-
onOperatorChange: _cache[
|
|
1285
|
-
onMatchmodeChange: _cache[
|
|
1286
|
-
onConstraintAdd: _cache[
|
|
1287
|
-
onConstraintRemove: _cache[
|
|
1288
|
-
onApplyClick: _cache[
|
|
1309
|
+
onOperatorChange: _cache[18] || (_cache[18] = $event => (_ctx.$emit('operator-change',$event))),
|
|
1310
|
+
onMatchmodeChange: _cache[19] || (_cache[19] = $event => (_ctx.$emit('matchmode-change', $event))),
|
|
1311
|
+
onConstraintAdd: _cache[20] || (_cache[20] = $event => (_ctx.$emit('constraint-add', $event))),
|
|
1312
|
+
onConstraintRemove: _cache[21] || (_cache[21] = $event => (_ctx.$emit('constraint-remove', $event))),
|
|
1313
|
+
onApplyClick: _cache[22] || (_cache[22] = $event => (_ctx.$emit('apply-click',$event)))
|
|
1289
1314
|
}, null, 8, ["field", "type", "showMenu", "filterElement", "filterHeaderTemplate", "filterFooterTemplate", "filterClearTemplate", "filterApplyTemplate", "filters", "filtersStore", "filterMenuStyle", "filterMenuClass", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "matchModeOptions", "maxConstraints"]))
|
|
1290
1315
|
: createCommentVNode("", true)
|
|
1291
1316
|
], 6))
|
|
@@ -1295,21 +1320,21 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1295
1320
|
]))
|
|
1296
1321
|
: createCommentVNode("", true)
|
|
1297
1322
|
], 64))
|
|
1298
|
-
: (openBlock(true),
|
|
1299
|
-
return (openBlock(),
|
|
1323
|
+
: (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.getHeaderRows(), (row, i) => {
|
|
1324
|
+
return (openBlock(), createElementBlock("tr", {
|
|
1300
1325
|
key: i,
|
|
1301
1326
|
role: "row"
|
|
1302
1327
|
}, [
|
|
1303
|
-
(openBlock(true),
|
|
1304
|
-
return (openBlock(),
|
|
1328
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.getHeaderColumns(row), (col, j) => {
|
|
1329
|
+
return (openBlock(), createElementBlock(Fragment, {
|
|
1305
1330
|
key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||j
|
|
1306
1331
|
}, [
|
|
1307
1332
|
(!$options.columnProp(col, 'hidden') && ($props.rowGroupMode !== 'subheader' || ($props.groupRowsBy !== $options.columnProp(col, 'field'))) && (typeof col.children !== 'string'))
|
|
1308
1333
|
? (openBlock(), createBlock(_component_DTHeaderCell, {
|
|
1309
1334
|
key: 0,
|
|
1310
1335
|
column: col,
|
|
1311
|
-
onColumnClick: _cache[
|
|
1312
|
-
onColumnMousedown: _cache[
|
|
1336
|
+
onColumnClick: _cache[23] || (_cache[23] = $event => (_ctx.$emit('column-click', $event))),
|
|
1337
|
+
onColumnMousedown: _cache[24] || (_cache[24] = $event => (_ctx.$emit('column-mousedown', $event))),
|
|
1313
1338
|
groupRowsBy: $props.groupRowsBy,
|
|
1314
1339
|
groupRowSortField: $props.groupRowSortField,
|
|
1315
1340
|
sortMode: $props.sortMode,
|
|
@@ -1318,17 +1343,17 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1318
1343
|
multiSortMeta: $props.multiSortMeta,
|
|
1319
1344
|
allRowsSelected: $props.allRowsSelected,
|
|
1320
1345
|
empty: $props.empty,
|
|
1321
|
-
onCheckboxChange: _cache[
|
|
1346
|
+
onCheckboxChange: _cache[25] || (_cache[25] = $event => (_ctx.$emit('checkbox-change', $event))),
|
|
1322
1347
|
filters: $props.filters,
|
|
1323
1348
|
filterDisplay: $props.filterDisplay,
|
|
1324
1349
|
filtersStore: $props.filtersStore,
|
|
1325
|
-
onFilterChange: _cache[
|
|
1326
|
-
onFilterApply: _cache[
|
|
1327
|
-
onOperatorChange: _cache[
|
|
1328
|
-
onMatchmodeChange: _cache[
|
|
1329
|
-
onConstraintAdd: _cache[
|
|
1330
|
-
onConstraintRemove: _cache[
|
|
1331
|
-
onApplyClick: _cache[
|
|
1350
|
+
onFilterChange: _cache[26] || (_cache[26] = $event => (_ctx.$emit('filter-change', $event))),
|
|
1351
|
+
onFilterApply: _cache[27] || (_cache[27] = $event => (_ctx.$emit('filter-apply'))),
|
|
1352
|
+
onOperatorChange: _cache[28] || (_cache[28] = $event => (_ctx.$emit('operator-change',$event))),
|
|
1353
|
+
onMatchmodeChange: _cache[29] || (_cache[29] = $event => (_ctx.$emit('matchmode-change', $event))),
|
|
1354
|
+
onConstraintAdd: _cache[30] || (_cache[30] = $event => (_ctx.$emit('constraint-add', $event))),
|
|
1355
|
+
onConstraintRemove: _cache[31] || (_cache[31] = $event => (_ctx.$emit('constraint-remove', $event))),
|
|
1356
|
+
onApplyClick: _cache[32] || (_cache[32] = $event => (_ctx.$emit('apply-click',$event)))
|
|
1332
1357
|
}, null, 8, ["column", "groupRowsBy", "groupRowSortField", "sortMode", "sortField", "sortOrder", "multiSortMeta", "allRowsSelected", "empty", "filters", "filterDisplay", "filtersStore"]))
|
|
1333
1358
|
: createCommentVNode("", true)
|
|
1334
1359
|
], 64))
|
|
@@ -1373,25 +1398,27 @@ var script$6 = {
|
|
|
1373
1398
|
}
|
|
1374
1399
|
};
|
|
1375
1400
|
|
|
1376
|
-
const _hoisted_1$
|
|
1401
|
+
const _hoisted_1$6 = ["aria-checked"];
|
|
1402
|
+
const _hoisted_2$4 = /*#__PURE__*/createElementVNode("div", { class: "p-radiobutton-icon" }, null, -1);
|
|
1403
|
+
const _hoisted_3$3 = [
|
|
1404
|
+
_hoisted_2$4
|
|
1405
|
+
];
|
|
1377
1406
|
|
|
1378
1407
|
function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1379
|
-
return (openBlock(),
|
|
1380
|
-
class: ['p-radiobutton p-component', {'p-radiobutton-focused': $data.focused}],
|
|
1381
|
-
onClick: _cache[
|
|
1408
|
+
return (openBlock(), createElementBlock("div", {
|
|
1409
|
+
class: normalizeClass(['p-radiobutton p-component', {'p-radiobutton-focused': $data.focused}]),
|
|
1410
|
+
onClick: _cache[0] || (_cache[0] = (...args) => ($options.onClick && $options.onClick(...args))),
|
|
1382
1411
|
tabindex: "0",
|
|
1383
|
-
onFocus: _cache[
|
|
1384
|
-
onBlur: _cache[
|
|
1385
|
-
onKeydown: _cache[
|
|
1412
|
+
onFocus: _cache[1] || (_cache[1] = $event => ($options.onFocus($event))),
|
|
1413
|
+
onBlur: _cache[2] || (_cache[2] = $event => ($options.onBlur($event))),
|
|
1414
|
+
onKeydown: _cache[3] || (_cache[3] = withKeys(withModifiers((...args) => ($options.onClick && $options.onClick(...args)), ["prevent"]), ["space"]))
|
|
1386
1415
|
}, [
|
|
1387
|
-
|
|
1416
|
+
createElementVNode("div", {
|
|
1388
1417
|
ref: "box",
|
|
1389
|
-
class: ['p-radiobutton-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}],
|
|
1418
|
+
class: normalizeClass(['p-radiobutton-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}]),
|
|
1390
1419
|
role: "radio",
|
|
1391
1420
|
"aria-checked": $props.checked
|
|
1392
|
-
},
|
|
1393
|
-
_hoisted_1$4
|
|
1394
|
-
], 10, ["aria-checked"])
|
|
1421
|
+
}, _hoisted_3$3, 10, _hoisted_1$6)
|
|
1395
1422
|
], 34))
|
|
1396
1423
|
}
|
|
1397
1424
|
|
|
@@ -1429,25 +1456,27 @@ var script$5 = {
|
|
|
1429
1456
|
}
|
|
1430
1457
|
};
|
|
1431
1458
|
|
|
1459
|
+
const _hoisted_1$5 = ["aria-checked", "tabindex"];
|
|
1460
|
+
|
|
1432
1461
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1433
|
-
return (openBlock(),
|
|
1434
|
-
class: ['p-checkbox p-component', {'p-checkbox-focused': $data.focused}],
|
|
1435
|
-
onClick: _cache[
|
|
1462
|
+
return (openBlock(), createElementBlock("div", {
|
|
1463
|
+
class: normalizeClass(['p-checkbox p-component', {'p-checkbox-focused': $data.focused}]),
|
|
1464
|
+
onClick: _cache[3] || (_cache[3] = withModifiers((...args) => ($options.onClick && $options.onClick(...args)), ["stop","prevent"]))
|
|
1436
1465
|
}, [
|
|
1437
|
-
|
|
1466
|
+
createElementVNode("div", {
|
|
1438
1467
|
ref: "box",
|
|
1439
|
-
class: ['p-checkbox-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}],
|
|
1468
|
+
class: normalizeClass(['p-checkbox-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}]),
|
|
1440
1469
|
role: "checkbox",
|
|
1441
1470
|
"aria-checked": $props.checked,
|
|
1442
1471
|
tabindex: _ctx.$attrs.disabled ? null : '0',
|
|
1443
|
-
onKeydown: _cache[
|
|
1444
|
-
onFocus: _cache[
|
|
1445
|
-
onBlur: _cache[
|
|
1472
|
+
onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers((...args) => ($options.onClick && $options.onClick(...args)), ["prevent"]), ["space"])),
|
|
1473
|
+
onFocus: _cache[1] || (_cache[1] = $event => ($options.onFocus($event))),
|
|
1474
|
+
onBlur: _cache[2] || (_cache[2] = $event => ($options.onBlur($event)))
|
|
1446
1475
|
}, [
|
|
1447
|
-
|
|
1448
|
-
class: ['p-checkbox-icon', {'pi pi-check': $props.checked}]
|
|
1476
|
+
createElementVNode("span", {
|
|
1477
|
+
class: normalizeClass(['p-checkbox-icon', {'pi pi-check': $props.checked}])
|
|
1449
1478
|
}, null, 2)
|
|
1450
|
-
], 42,
|
|
1479
|
+
], 42, _hoisted_1$5)
|
|
1451
1480
|
], 2))
|
|
1452
1481
|
}
|
|
1453
1482
|
|
|
@@ -1818,13 +1847,22 @@ var script$4 = {
|
|
|
1818
1847
|
}
|
|
1819
1848
|
};
|
|
1820
1849
|
|
|
1821
|
-
const _hoisted_1$
|
|
1850
|
+
const _hoisted_1$4 = {
|
|
1822
1851
|
key: 0,
|
|
1823
1852
|
class: "p-column-title"
|
|
1824
1853
|
};
|
|
1825
|
-
const _hoisted_2$
|
|
1826
|
-
const _hoisted_3$
|
|
1827
|
-
|
|
1854
|
+
const _hoisted_2$3 = /*#__PURE__*/createElementVNode("span", { class: "p-row-editor-init-icon pi pi-fw pi-pencil" }, null, -1);
|
|
1855
|
+
const _hoisted_3$2 = [
|
|
1856
|
+
_hoisted_2$3
|
|
1857
|
+
];
|
|
1858
|
+
const _hoisted_4$2 = /*#__PURE__*/createElementVNode("span", { class: "p-row-editor-save-icon pi pi-fw pi-check" }, null, -1);
|
|
1859
|
+
const _hoisted_5$2 = [
|
|
1860
|
+
_hoisted_4$2
|
|
1861
|
+
];
|
|
1862
|
+
const _hoisted_6$2 = /*#__PURE__*/createElementVNode("span", { class: "p-row-editor-cancel-icon pi pi-fw pi-times" }, null, -1);
|
|
1863
|
+
const _hoisted_7 = [
|
|
1864
|
+
_hoisted_6$2
|
|
1865
|
+
];
|
|
1828
1866
|
|
|
1829
1867
|
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1830
1868
|
const _component_DTRadioButton = resolveComponent("DTRadioButton");
|
|
@@ -1832,10 +1870,10 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1832
1870
|
const _directive_ripple = resolveDirective("ripple");
|
|
1833
1871
|
|
|
1834
1872
|
return ($options.loading)
|
|
1835
|
-
? (openBlock(),
|
|
1873
|
+
? (openBlock(), createElementBlock("td", {
|
|
1836
1874
|
key: 0,
|
|
1837
|
-
style: $options.containerStyle,
|
|
1838
|
-
class: $options.containerClass
|
|
1875
|
+
style: normalizeStyle($options.containerStyle),
|
|
1876
|
+
class: normalizeClass($options.containerClass)
|
|
1839
1877
|
}, [
|
|
1840
1878
|
(openBlock(), createBlock(resolveDynamicComponent($props.column.children.loading), {
|
|
1841
1879
|
data: $props.rowData,
|
|
@@ -1846,16 +1884,16 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1846
1884
|
loadingOptions: $options.loadingOptions
|
|
1847
1885
|
}, null, 8, ["data", "column", "field", "index", "frozenRow", "loadingOptions"]))
|
|
1848
1886
|
], 6))
|
|
1849
|
-
: (openBlock(),
|
|
1887
|
+
: (openBlock(), createElementBlock("td", {
|
|
1850
1888
|
key: 1,
|
|
1851
|
-
style: $options.containerStyle,
|
|
1852
|
-
class: $options.containerClass,
|
|
1853
|
-
onClick: _cache[
|
|
1854
|
-
onKeydown: _cache[
|
|
1889
|
+
style: normalizeStyle($options.containerStyle),
|
|
1890
|
+
class: normalizeClass($options.containerClass),
|
|
1891
|
+
onClick: _cache[6] || (_cache[6] = (...args) => ($options.onClick && $options.onClick(...args))),
|
|
1892
|
+
onKeydown: _cache[7] || (_cache[7] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
|
|
1855
1893
|
role: "cell"
|
|
1856
1894
|
}, [
|
|
1857
1895
|
($props.responsiveLayout === 'stack')
|
|
1858
|
-
? (openBlock(),
|
|
1896
|
+
? (openBlock(), createElementBlock("span", _hoisted_1$4, toDisplayString($options.columnProp('header')), 1))
|
|
1859
1897
|
: createCommentVNode("", true),
|
|
1860
1898
|
($props.column.children && $props.column.children.body && !$data.d_editing)
|
|
1861
1899
|
? (openBlock(), createBlock(resolveDynamicComponent($props.column.children.body), {
|
|
@@ -1888,79 +1926,75 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1888
1926
|
frozenRow: $props.frozenRow
|
|
1889
1927
|
}, null, 8, ["data", "column", "field", "index", "frozenRow"]))
|
|
1890
1928
|
: ($options.columnProp('selectionMode'))
|
|
1891
|
-
? (openBlock(),
|
|
1929
|
+
? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
|
|
1892
1930
|
($options.columnProp('selectionMode') === 'single')
|
|
1893
1931
|
? (openBlock(), createBlock(_component_DTRadioButton, {
|
|
1894
1932
|
key: 0,
|
|
1895
1933
|
value: $props.rowData,
|
|
1896
1934
|
checked: $props.selected,
|
|
1897
|
-
onChange: _cache[
|
|
1935
|
+
onChange: _cache[0] || (_cache[0] = $event => ($options.toggleRowWithRadio($event, $props.rowIndex)))
|
|
1898
1936
|
}, null, 8, ["value", "checked"]))
|
|
1899
1937
|
: ($options.columnProp('selectionMode') ==='multiple')
|
|
1900
1938
|
? (openBlock(), createBlock(_component_DTCheckbox, {
|
|
1901
1939
|
key: 1,
|
|
1902
1940
|
value: $props.rowData,
|
|
1903
1941
|
checked: $props.selected,
|
|
1904
|
-
onChange: _cache[
|
|
1942
|
+
onChange: _cache[1] || (_cache[1] = $event => ($options.toggleRowWithCheckbox($event, $props.rowIndex)))
|
|
1905
1943
|
}, null, 8, ["value", "checked"]))
|
|
1906
1944
|
: createCommentVNode("", true)
|
|
1907
1945
|
], 64))
|
|
1908
1946
|
: ($options.columnProp('rowReorder'))
|
|
1909
|
-
? (openBlock(),
|
|
1947
|
+
? (openBlock(), createElementBlock("i", {
|
|
1910
1948
|
key: 5,
|
|
1911
|
-
class: ['p-datatable-reorderablerow-handle', ($options.columnProp('rowReorderIcon') || 'pi pi-bars')]
|
|
1949
|
+
class: normalizeClass(['p-datatable-reorderablerow-handle', ($options.columnProp('rowReorderIcon') || 'pi pi-bars')])
|
|
1912
1950
|
}, null, 2))
|
|
1913
1951
|
: ($options.columnProp('expander'))
|
|
1914
|
-
? withDirectives((openBlock(),
|
|
1952
|
+
? withDirectives((openBlock(), createElementBlock("button", {
|
|
1915
1953
|
key: 6,
|
|
1916
1954
|
class: "p-row-toggler p-link",
|
|
1917
|
-
onClick: _cache[
|
|
1955
|
+
onClick: _cache[2] || (_cache[2] = (...args) => ($options.toggleRow && $options.toggleRow(...args))),
|
|
1918
1956
|
type: "button"
|
|
1919
1957
|
}, [
|
|
1920
|
-
|
|
1921
|
-
|
|
1958
|
+
createElementVNode("span", {
|
|
1959
|
+
class: normalizeClass($props.rowTogglerIcon)
|
|
1960
|
+
}, null, 2)
|
|
1961
|
+
])), [
|
|
1922
1962
|
[_directive_ripple]
|
|
1923
1963
|
])
|
|
1924
1964
|
: ($props.editMode === 'row' && $options.columnProp('rowEditor'))
|
|
1925
|
-
? (openBlock(),
|
|
1965
|
+
? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
|
|
1926
1966
|
(!$data.d_editing)
|
|
1927
|
-
? withDirectives((openBlock(),
|
|
1967
|
+
? withDirectives((openBlock(), createElementBlock("button", {
|
|
1928
1968
|
key: 0,
|
|
1929
1969
|
class: "p-row-editor-init p-link",
|
|
1930
|
-
onClick: _cache[
|
|
1970
|
+
onClick: _cache[3] || (_cache[3] = (...args) => ($options.onRowEditInit && $options.onRowEditInit(...args))),
|
|
1931
1971
|
type: "button"
|
|
1932
|
-
}, [
|
|
1933
|
-
_hoisted_2$2
|
|
1934
|
-
], 512)), [
|
|
1972
|
+
}, _hoisted_3$2)), [
|
|
1935
1973
|
[_directive_ripple]
|
|
1936
1974
|
])
|
|
1937
1975
|
: createCommentVNode("", true),
|
|
1938
1976
|
($data.d_editing)
|
|
1939
|
-
? withDirectives((openBlock(),
|
|
1977
|
+
? withDirectives((openBlock(), createElementBlock("button", {
|
|
1940
1978
|
key: 1,
|
|
1941
1979
|
class: "p-row-editor-save p-link",
|
|
1942
|
-
onClick: _cache[
|
|
1980
|
+
onClick: _cache[4] || (_cache[4] = (...args) => ($options.onRowEditSave && $options.onRowEditSave(...args))),
|
|
1943
1981
|
type: "button"
|
|
1944
|
-
}, [
|
|
1945
|
-
_hoisted_3$1
|
|
1946
|
-
], 512)), [
|
|
1982
|
+
}, _hoisted_5$2)), [
|
|
1947
1983
|
[_directive_ripple]
|
|
1948
1984
|
])
|
|
1949
1985
|
: createCommentVNode("", true),
|
|
1950
1986
|
($data.d_editing)
|
|
1951
|
-
? withDirectives((openBlock(),
|
|
1987
|
+
? withDirectives((openBlock(), createElementBlock("button", {
|
|
1952
1988
|
key: 2,
|
|
1953
1989
|
class: "p-row-editor-cancel p-link",
|
|
1954
|
-
onClick: _cache[
|
|
1990
|
+
onClick: _cache[5] || (_cache[5] = (...args) => ($options.onRowEditCancel && $options.onRowEditCancel(...args))),
|
|
1955
1991
|
type: "button"
|
|
1956
|
-
}, [
|
|
1957
|
-
_hoisted_4$1
|
|
1958
|
-
], 512)), [
|
|
1992
|
+
}, _hoisted_7)), [
|
|
1959
1993
|
[_directive_ripple]
|
|
1960
1994
|
])
|
|
1961
1995
|
: createCommentVNode("", true)
|
|
1962
1996
|
], 64))
|
|
1963
|
-
: (openBlock(),
|
|
1997
|
+
: (openBlock(), createElementBlock(Fragment, { key: 8 }, [
|
|
1964
1998
|
createTextVNode(toDisplayString($options.resolveFieldData()), 1)
|
|
1965
1999
|
], 64))
|
|
1966
2000
|
], 38))
|
|
@@ -2075,10 +2109,6 @@ var script$3 = {
|
|
|
2075
2109
|
type: Object,
|
|
2076
2110
|
default: null
|
|
2077
2111
|
},
|
|
2078
|
-
loading: {
|
|
2079
|
-
type: Boolean,
|
|
2080
|
-
default: false
|
|
2081
|
-
},
|
|
2082
2112
|
templates: {
|
|
2083
2113
|
type: null,
|
|
2084
2114
|
default: null
|
|
@@ -2449,76 +2479,81 @@ var script$3 = {
|
|
|
2449
2479
|
}
|
|
2450
2480
|
};
|
|
2451
2481
|
|
|
2452
|
-
const _hoisted_1$
|
|
2482
|
+
const _hoisted_1$3 = ["colspan"];
|
|
2483
|
+
const _hoisted_2$2 = ["onClick"];
|
|
2484
|
+
const _hoisted_3$1 = ["onClick", "onDblclick", "onContextmenu", "onKeydown", "tabindex", "onDragstart", "onDragover"];
|
|
2485
|
+
const _hoisted_4$1 = ["colspan"];
|
|
2486
|
+
const _hoisted_5$1 = {
|
|
2453
2487
|
key: 1,
|
|
2454
2488
|
class: "p-datatable-emptymessage",
|
|
2455
2489
|
role: "row"
|
|
2456
2490
|
};
|
|
2491
|
+
const _hoisted_6$1 = ["colspan"];
|
|
2457
2492
|
|
|
2458
2493
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2459
2494
|
const _component_DTBodyCell = resolveComponent("DTBodyCell");
|
|
2460
2495
|
|
|
2461
|
-
return (openBlock(),
|
|
2496
|
+
return (openBlock(), createElementBlock("tbody", {
|
|
2462
2497
|
ref: $options.bodyRef,
|
|
2463
2498
|
class: "p-datatable-tbody",
|
|
2464
2499
|
role: "rowgroup",
|
|
2465
|
-
style: $options.bodyStyle
|
|
2500
|
+
style: normalizeStyle($options.bodyStyle)
|
|
2466
2501
|
}, [
|
|
2467
2502
|
(!$props.empty)
|
|
2468
|
-
? (openBlock(true),
|
|
2469
|
-
return (openBlock(),
|
|
2503
|
+
? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($props.value, (rowData, index) => {
|
|
2504
|
+
return (openBlock(), createElementBlock(Fragment, {
|
|
2470
2505
|
key: $options.getRowKey(rowData, $options.getRowIndex(index)) + '_subheader'
|
|
2471
2506
|
}, [
|
|
2472
2507
|
($props.templates['groupheader'] && $props.rowGroupMode === 'subheader' && $options.shouldRenderRowGroupHeader($props.value, rowData, $options.getRowIndex(index)))
|
|
2473
|
-
? (openBlock(),
|
|
2508
|
+
? (openBlock(), createElementBlock("tr", {
|
|
2474
2509
|
key: 0,
|
|
2475
2510
|
class: "p-rowgroup-header",
|
|
2476
|
-
style: $options.rowGroupHeaderStyle,
|
|
2511
|
+
style: normalizeStyle($options.rowGroupHeaderStyle),
|
|
2477
2512
|
role: "row"
|
|
2478
2513
|
}, [
|
|
2479
|
-
|
|
2514
|
+
createElementVNode("td", {
|
|
2480
2515
|
colspan: $options.columnsLength - 1
|
|
2481
2516
|
}, [
|
|
2482
2517
|
($props.expandableRowGroups)
|
|
2483
|
-
? (openBlock(),
|
|
2518
|
+
? (openBlock(), createElementBlock("button", {
|
|
2484
2519
|
key: 0,
|
|
2485
2520
|
class: "p-row-toggler p-link",
|
|
2486
2521
|
onClick: $event => ($options.onRowGroupToggle($event, rowData)),
|
|
2487
2522
|
type: "button"
|
|
2488
2523
|
}, [
|
|
2489
|
-
|
|
2490
|
-
class: $options.rowGroupTogglerIcon(rowData)
|
|
2524
|
+
createElementVNode("span", {
|
|
2525
|
+
class: normalizeClass($options.rowGroupTogglerIcon(rowData))
|
|
2491
2526
|
}, null, 2)
|
|
2492
|
-
], 8,
|
|
2527
|
+
], 8, _hoisted_2$2))
|
|
2493
2528
|
: createCommentVNode("", true),
|
|
2494
2529
|
(openBlock(), createBlock(resolveDynamicComponent($props.templates['groupheader']), {
|
|
2495
2530
|
data: rowData,
|
|
2496
2531
|
index: $options.getRowIndex(index)
|
|
2497
2532
|
}, null, 8, ["data", "index"]))
|
|
2498
|
-
], 8,
|
|
2533
|
+
], 8, _hoisted_1$3)
|
|
2499
2534
|
], 4))
|
|
2500
2535
|
: createCommentVNode("", true),
|
|
2501
2536
|
($props.expandableRowGroups ? $options.isRowGroupExpanded(rowData): true)
|
|
2502
|
-
? (openBlock(),
|
|
2503
|
-
class: $options.getRowClass(rowData),
|
|
2504
|
-
style: $props.rowStyle,
|
|
2537
|
+
? (openBlock(), createElementBlock("tr", {
|
|
2538
|
+
class: normalizeClass($options.getRowClass(rowData)),
|
|
2539
|
+
style: normalizeStyle($props.rowStyle),
|
|
2505
2540
|
key: $options.getRowKey(rowData, $options.getRowIndex(index)),
|
|
2506
2541
|
onClick: $event => ($options.onRowClick($event, rowData, $options.getRowIndex(index))),
|
|
2507
2542
|
onDblclick: $event => ($options.onRowDblClick($event, rowData, $options.getRowIndex(index))),
|
|
2508
2543
|
onContextmenu: $event => ($options.onRowRightClick($event, rowData, $options.getRowIndex(index))),
|
|
2509
|
-
onTouchend: _cache[
|
|
2544
|
+
onTouchend: _cache[9] || (_cache[9] = $event => ($options.onRowTouchEnd($event))),
|
|
2510
2545
|
onKeydown: $event => ($options.onRowKeyDown($event, rowData, $options.getRowIndex(index))),
|
|
2511
2546
|
tabindex: $props.selectionMode || $props.contextMenu ? '0' : null,
|
|
2512
|
-
onMousedown: _cache[
|
|
2547
|
+
onMousedown: _cache[10] || (_cache[10] = $event => ($options.onRowMouseDown($event))),
|
|
2513
2548
|
onDragstart: $event => ($options.onRowDragStart($event, $options.getRowIndex(index))),
|
|
2514
2549
|
onDragover: $event => ($options.onRowDragOver($event, $options.getRowIndex(index))),
|
|
2515
|
-
onDragleave: _cache[
|
|
2516
|
-
onDragend: _cache[
|
|
2517
|
-
onDrop: _cache[
|
|
2550
|
+
onDragleave: _cache[11] || (_cache[11] = $event => ($options.onRowDragLeave($event))),
|
|
2551
|
+
onDragend: _cache[12] || (_cache[12] = $event => ($options.onRowDragEnd($event))),
|
|
2552
|
+
onDrop: _cache[13] || (_cache[13] = $event => ($options.onRowDrop($event))),
|
|
2518
2553
|
role: "row"
|
|
2519
2554
|
}, [
|
|
2520
|
-
(openBlock(true),
|
|
2521
|
-
return (openBlock(),
|
|
2555
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (col, i) => {
|
|
2556
|
+
return (openBlock(), createElementBlock(Fragment, {
|
|
2522
2557
|
key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||i
|
|
2523
2558
|
}, [
|
|
2524
2559
|
($options.shouldRenderBodyCell($props.value, col, $options.getRowIndex(index)))
|
|
@@ -2535,15 +2570,15 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2535
2570
|
editMode: $props.editMode,
|
|
2536
2571
|
editing: $props.editMode === 'row' && $options.isRowEditing(rowData),
|
|
2537
2572
|
responsiveLayout: $props.responsiveLayout,
|
|
2538
|
-
onRadioChange: _cache[
|
|
2539
|
-
onCheckboxChange: _cache[
|
|
2540
|
-
onRowToggle: _cache[
|
|
2541
|
-
onCellEditInit: _cache[
|
|
2542
|
-
onCellEditComplete: _cache[
|
|
2543
|
-
onCellEditCancel: _cache[
|
|
2544
|
-
onRowEditInit: _cache[
|
|
2545
|
-
onRowEditSave: _cache[
|
|
2546
|
-
onRowEditCancel: _cache[
|
|
2573
|
+
onRadioChange: _cache[0] || (_cache[0] = $event => ($options.onRadioChange($event))),
|
|
2574
|
+
onCheckboxChange: _cache[1] || (_cache[1] = $event => ($options.onCheckboxChange($event))),
|
|
2575
|
+
onRowToggle: _cache[2] || (_cache[2] = $event => ($options.onRowToggle($event))),
|
|
2576
|
+
onCellEditInit: _cache[3] || (_cache[3] = $event => ($options.onCellEditInit($event))),
|
|
2577
|
+
onCellEditComplete: _cache[4] || (_cache[4] = $event => ($options.onCellEditComplete($event))),
|
|
2578
|
+
onCellEditCancel: _cache[5] || (_cache[5] = $event => ($options.onCellEditCancel($event))),
|
|
2579
|
+
onRowEditInit: _cache[6] || (_cache[6] = $event => ($options.onRowEditInit($event))),
|
|
2580
|
+
onRowEditSave: _cache[7] || (_cache[7] = $event => ($options.onRowEditSave($event))),
|
|
2581
|
+
onRowEditCancel: _cache[8] || (_cache[8] = $event => ($options.onRowEditCancel($event))),
|
|
2547
2582
|
editingMeta: $props.editingMeta,
|
|
2548
2583
|
onEditingMetaChange: $options.onEditingMetaChange,
|
|
2549
2584
|
virtualScrollerContentProps: $props.virtualScrollerContentProps
|
|
@@ -2551,24 +2586,24 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2551
2586
|
: createCommentVNode("", true)
|
|
2552
2587
|
], 64))
|
|
2553
2588
|
}), 128))
|
|
2554
|
-
], 46,
|
|
2589
|
+
], 46, _hoisted_3$1))
|
|
2555
2590
|
: createCommentVNode("", true),
|
|
2556
2591
|
($props.templates['expansion'] && $props.expandedRows && $options.isRowExpanded(rowData))
|
|
2557
|
-
? (openBlock(),
|
|
2592
|
+
? (openBlock(), createElementBlock("tr", {
|
|
2558
2593
|
class: "p-datatable-row-expansion",
|
|
2559
2594
|
key: $options.getRowKey(rowData, $options.getRowIndex(index)) + '_expansion',
|
|
2560
2595
|
role: "row"
|
|
2561
2596
|
}, [
|
|
2562
|
-
|
|
2597
|
+
createElementVNode("td", { colspan: $options.columnsLength }, [
|
|
2563
2598
|
(openBlock(), createBlock(resolveDynamicComponent($props.templates['expansion']), {
|
|
2564
2599
|
data: rowData,
|
|
2565
2600
|
index: $options.getRowIndex(index)
|
|
2566
2601
|
}, null, 8, ["data", "index"]))
|
|
2567
|
-
], 8,
|
|
2602
|
+
], 8, _hoisted_4$1)
|
|
2568
2603
|
]))
|
|
2569
2604
|
: createCommentVNode("", true),
|
|
2570
2605
|
($props.templates['groupfooter'] && $props.rowGroupMode === 'subheader' && $options.shouldRenderRowGroupFooter($props.value, rowData, $options.getRowIndex(index)))
|
|
2571
|
-
? (openBlock(),
|
|
2606
|
+
? (openBlock(), createElementBlock("tr", {
|
|
2572
2607
|
class: "p-rowgroup-footer",
|
|
2573
2608
|
key: $options.getRowKey(rowData, $options.getRowIndex(index)) + '_subfooter',
|
|
2574
2609
|
role: "row"
|
|
@@ -2581,15 +2616,12 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2581
2616
|
: createCommentVNode("", true)
|
|
2582
2617
|
], 64))
|
|
2583
2618
|
}), 128))
|
|
2584
|
-
: (openBlock(),
|
|
2585
|
-
|
|
2586
|
-
($props.templates.empty
|
|
2619
|
+
: (openBlock(), createElementBlock("tr", _hoisted_5$1, [
|
|
2620
|
+
createElementVNode("td", { colspan: $options.columnsLength }, [
|
|
2621
|
+
($props.templates.empty)
|
|
2587
2622
|
? (openBlock(), createBlock(resolveDynamicComponent($props.templates.empty), { key: 0 }))
|
|
2588
|
-
: createCommentVNode("", true),
|
|
2589
|
-
($props.templates.loading && $props.loading)
|
|
2590
|
-
? (openBlock(), createBlock(resolveDynamicComponent($props.templates.loading), { key: 1 }))
|
|
2591
2623
|
: createCommentVNode("", true)
|
|
2592
|
-
], 8,
|
|
2624
|
+
], 8, _hoisted_6$1)
|
|
2593
2625
|
]))
|
|
2594
2626
|
], 4))
|
|
2595
2627
|
}
|
|
@@ -2660,10 +2692,12 @@ var script$2 = {
|
|
|
2660
2692
|
}
|
|
2661
2693
|
};
|
|
2662
2694
|
|
|
2695
|
+
const _hoisted_1$2 = ["colspan", "rowspan"];
|
|
2696
|
+
|
|
2663
2697
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2664
|
-
return (openBlock(),
|
|
2665
|
-
style: $options.containerStyle,
|
|
2666
|
-
class: $options.containerClass,
|
|
2698
|
+
return (openBlock(), createElementBlock("td", {
|
|
2699
|
+
style: normalizeStyle($options.containerStyle),
|
|
2700
|
+
class: normalizeClass($options.containerClass),
|
|
2667
2701
|
role: "cell",
|
|
2668
2702
|
colspan: $options.columnProp('colspan'),
|
|
2669
2703
|
rowspan: $options.columnProp('rowspan')
|
|
@@ -2675,7 +2709,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2675
2709
|
}, null, 8, ["column"]))
|
|
2676
2710
|
: createCommentVNode("", true),
|
|
2677
2711
|
createTextVNode(" " + toDisplayString($options.columnProp('footer')), 1)
|
|
2678
|
-
], 14,
|
|
2712
|
+
], 14, _hoisted_1$2))
|
|
2679
2713
|
}
|
|
2680
2714
|
|
|
2681
2715
|
script$2.render = render$2;
|
|
@@ -2766,11 +2800,11 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2766
2800
|
const _component_DTFooterCell = resolveComponent("DTFooterCell");
|
|
2767
2801
|
|
|
2768
2802
|
return ($options.hasFooter)
|
|
2769
|
-
? (openBlock(),
|
|
2803
|
+
? (openBlock(), createElementBlock("tfoot", _hoisted_1$1, [
|
|
2770
2804
|
(!$props.columnGroup)
|
|
2771
|
-
? (openBlock(),
|
|
2772
|
-
(openBlock(true),
|
|
2773
|
-
return (openBlock(),
|
|
2805
|
+
? (openBlock(), createElementBlock("tr", _hoisted_2$1, [
|
|
2806
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (col, i) => {
|
|
2807
|
+
return (openBlock(), createElementBlock(Fragment, {
|
|
2774
2808
|
key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||i
|
|
2775
2809
|
}, [
|
|
2776
2810
|
(!$options.columnProp(col,'hidden'))
|
|
@@ -2782,13 +2816,13 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2782
2816
|
], 64))
|
|
2783
2817
|
}), 128))
|
|
2784
2818
|
]))
|
|
2785
|
-
: (openBlock(true),
|
|
2786
|
-
return (openBlock(),
|
|
2819
|
+
: (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.getFooterRows(), (row, i) => {
|
|
2820
|
+
return (openBlock(), createElementBlock("tr", {
|
|
2787
2821
|
key: i,
|
|
2788
2822
|
role: "row"
|
|
2789
2823
|
}, [
|
|
2790
|
-
(openBlock(true),
|
|
2791
|
-
return (openBlock(),
|
|
2824
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.getFooterColumns(row), (col, j) => {
|
|
2825
|
+
return (openBlock(), createElementBlock(Fragment, {
|
|
2792
2826
|
key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||j
|
|
2793
2827
|
}, [
|
|
2794
2828
|
(!$options.columnProp(col,'hidden'))
|
|
@@ -2820,7 +2854,7 @@ var script = {
|
|
|
2820
2854
|
default: null
|
|
2821
2855
|
},
|
|
2822
2856
|
dataKey: {
|
|
2823
|
-
type: String,
|
|
2857
|
+
type: [String, Function],
|
|
2824
2858
|
default: null
|
|
2825
2859
|
},
|
|
2826
2860
|
rows: {
|
|
@@ -3977,7 +4011,7 @@ var script = {
|
|
|
3977
4011
|
let dragIndex = DomHandler.index(this.draggedColumn);
|
|
3978
4012
|
let dropIndex = DomHandler.index(this.findParentHeader(event.target));
|
|
3979
4013
|
let allowDrop = (dragIndex !== dropIndex);
|
|
3980
|
-
if (allowDrop && ((dropIndex - dragIndex === 1 && this.dropPosition === -1) || (
|
|
4014
|
+
if (allowDrop && ((dropIndex - dragIndex === 1 && this.dropPosition === -1) || (dropIndex - dragIndex === -1 && this.dropPosition === 1))) {
|
|
3981
4015
|
allowDrop = false;
|
|
3982
4016
|
}
|
|
3983
4017
|
|
|
@@ -4529,7 +4563,7 @@ var script = {
|
|
|
4529
4563
|
let orderedColumns = [];
|
|
4530
4564
|
for (let columnKey of this.d_columnOrder) {
|
|
4531
4565
|
let column = this.findColumnByKey(cols, columnKey);
|
|
4532
|
-
if (column) {
|
|
4566
|
+
if (column && !this.columnProp(column, 'hidden')) {
|
|
4533
4567
|
orderedColumns.push(column);
|
|
4534
4568
|
}
|
|
4535
4569
|
}
|
|
@@ -4676,18 +4710,23 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4676
4710
|
const _component_DTTableFooter = resolveComponent("DTTableFooter");
|
|
4677
4711
|
const _component_DTVirtualScroller = resolveComponent("DTVirtualScroller");
|
|
4678
4712
|
|
|
4679
|
-
return (openBlock(),
|
|
4680
|
-
class: $options.containerClass,
|
|
4713
|
+
return (openBlock(), createElementBlock("div", {
|
|
4714
|
+
class: normalizeClass($options.containerClass),
|
|
4681
4715
|
"data-scrollselectors": ".p-datatable-wrapper"
|
|
4682
4716
|
}, [
|
|
4683
4717
|
renderSlot(_ctx.$slots, "default"),
|
|
4684
4718
|
($props.loading)
|
|
4685
|
-
? (openBlock(),
|
|
4686
|
-
|
|
4719
|
+
? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
4720
|
+
(_ctx.$slots.loading)
|
|
4721
|
+
? renderSlot(_ctx.$slots, "loading", { key: 0 })
|
|
4722
|
+
: (openBlock(), createElementBlock("i", {
|
|
4723
|
+
key: 1,
|
|
4724
|
+
class: normalizeClass($options.loadingIconClass)
|
|
4725
|
+
}, null, 2))
|
|
4687
4726
|
]))
|
|
4688
4727
|
: createCommentVNode("", true),
|
|
4689
4728
|
(_ctx.$slots.header)
|
|
4690
|
-
? (openBlock(),
|
|
4729
|
+
? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
4691
4730
|
renderSlot(_ctx.$slots, "header")
|
|
4692
4731
|
]))
|
|
4693
4732
|
: createCommentVNode("", true),
|
|
@@ -4702,7 +4741,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4702
4741
|
rowsPerPageOptions: $props.rowsPerPageOptions,
|
|
4703
4742
|
currentPageReportTemplate: $props.currentPageReportTemplate,
|
|
4704
4743
|
class: "p-paginator-top",
|
|
4705
|
-
onPage: _cache[
|
|
4744
|
+
onPage: _cache[0] || (_cache[0] = $event => ($options.onPage($event))),
|
|
4706
4745
|
alwaysShow: $props.alwaysShowPaginator
|
|
4707
4746
|
}, createSlots({ _: 2 }, [
|
|
4708
4747
|
(_ctx.$slots.paginatorstart)
|
|
@@ -4723,9 +4762,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4723
4762
|
: undefined
|
|
4724
4763
|
]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
|
|
4725
4764
|
: createCommentVNode("", true),
|
|
4726
|
-
|
|
4765
|
+
createElementVNode("div", {
|
|
4727
4766
|
class: "p-datatable-wrapper",
|
|
4728
|
-
style: { maxHeight: $options.virtualScrollerDisabled ? $props.scrollHeight : '' }
|
|
4767
|
+
style: normalizeStyle({ maxHeight: $options.virtualScrollerDisabled ? $props.scrollHeight : '' })
|
|
4729
4768
|
}, [
|
|
4730
4769
|
createVNode(_component_DTVirtualScroller, mergeProps($props.virtualScrollerOptions, {
|
|
4731
4770
|
items: $options.processedData,
|
|
@@ -4736,11 +4775,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4736
4775
|
showSpacer: false
|
|
4737
4776
|
}), {
|
|
4738
4777
|
content: withCtx((slotProps) => [
|
|
4739
|
-
|
|
4778
|
+
createElementVNode("table", {
|
|
4740
4779
|
ref: "table",
|
|
4741
4780
|
role: "table",
|
|
4742
|
-
class: [$props.tableClass, 'p-datatable-table'],
|
|
4743
|
-
style: [$props.tableStyle, slotProps.spacerStyle]
|
|
4781
|
+
class: normalizeClass([$props.tableClass, 'p-datatable-table']),
|
|
4782
|
+
style: normalizeStyle([$props.tableStyle, slotProps.spacerStyle])
|
|
4744
4783
|
}, [
|
|
4745
4784
|
createVNode(_component_DTTableHeader, {
|
|
4746
4785
|
columnGroup: $options.headerColumnGroup,
|
|
@@ -4748,6 +4787,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4748
4787
|
rowGroupMode: $props.rowGroupMode,
|
|
4749
4788
|
groupRowsBy: $props.groupRowsBy,
|
|
4750
4789
|
groupRowSortField: $options.groupRowSortField,
|
|
4790
|
+
reorderableColumns: $props.reorderableColumns,
|
|
4751
4791
|
resizableColumns: $props.resizableColumns,
|
|
4752
4792
|
allRowsSelected: $options.allRowsSelected,
|
|
4753
4793
|
empty: $options.empty,
|
|
@@ -4758,17 +4798,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4758
4798
|
filters: $data.d_filters,
|
|
4759
4799
|
filtersStore: $props.filters,
|
|
4760
4800
|
filterDisplay: $props.filterDisplay,
|
|
4761
|
-
onColumnClick: _cache[
|
|
4762
|
-
onColumnMousedown: _cache[
|
|
4801
|
+
onColumnClick: _cache[1] || (_cache[1] = $event => ($options.onColumnHeaderClick($event))),
|
|
4802
|
+
onColumnMousedown: _cache[2] || (_cache[2] = $event => ($options.onColumnHeaderMouseDown($event))),
|
|
4763
4803
|
onFilterChange: $options.onFilterChange,
|
|
4764
4804
|
onFilterApply: $options.onFilterApply,
|
|
4765
|
-
onColumnDragstart: _cache[
|
|
4766
|
-
onColumnDragover: _cache[
|
|
4767
|
-
onColumnDragleave: _cache[
|
|
4768
|
-
onColumnDrop: _cache[
|
|
4769
|
-
onColumnResizestart: _cache[
|
|
4770
|
-
onCheckboxChange: _cache[
|
|
4771
|
-
}, null, 8, ["columnGroup", "columns", "rowGroupMode", "groupRowsBy", "groupRowSortField", "resizableColumns", "allRowsSelected", "empty", "sortMode", "sortField", "sortOrder", "multiSortMeta", "filters", "filtersStore", "filterDisplay", "onFilterChange", "onFilterApply"]),
|
|
4805
|
+
onColumnDragstart: _cache[3] || (_cache[3] = $event => ($options.onColumnHeaderDragStart($event))),
|
|
4806
|
+
onColumnDragover: _cache[4] || (_cache[4] = $event => ($options.onColumnHeaderDragOver($event))),
|
|
4807
|
+
onColumnDragleave: _cache[5] || (_cache[5] = $event => ($options.onColumnHeaderDragLeave($event))),
|
|
4808
|
+
onColumnDrop: _cache[6] || (_cache[6] = $event => ($options.onColumnHeaderDrop($event))),
|
|
4809
|
+
onColumnResizestart: _cache[7] || (_cache[7] = $event => ($options.onColumnResizeStart($event))),
|
|
4810
|
+
onCheckboxChange: _cache[8] || (_cache[8] = $event => ($options.toggleRowsWithCheckbox($event)))
|
|
4811
|
+
}, null, 8, ["columnGroup", "columns", "rowGroupMode", "groupRowsBy", "groupRowSortField", "reorderableColumns", "resizableColumns", "allRowsSelected", "empty", "sortMode", "sortField", "sortOrder", "multiSortMeta", "filters", "filtersStore", "filterDisplay", "onFilterChange", "onFilterApply"]),
|
|
4772
4812
|
($props.frozenValue)
|
|
4773
4813
|
? (openBlock(), createBlock(_component_DTTableBody, {
|
|
4774
4814
|
key: 0,
|
|
@@ -4798,37 +4838,36 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4798
4838
|
editingRows: $props.editingRows,
|
|
4799
4839
|
editingRowKeys: $data.d_editingRowKeys,
|
|
4800
4840
|
templates: _ctx.$slots,
|
|
4801
|
-
loading: $props.loading,
|
|
4802
4841
|
responsiveLayout: $props.responsiveLayout,
|
|
4803
4842
|
onRowgroupToggle: $options.toggleRowGroup,
|
|
4804
|
-
onRowClick: _cache[
|
|
4805
|
-
onRowDblclick: _cache[
|
|
4806
|
-
onRowRightclick: _cache[
|
|
4843
|
+
onRowClick: _cache[9] || (_cache[9] = $event => ($options.onRowClick($event))),
|
|
4844
|
+
onRowDblclick: _cache[10] || (_cache[10] = $event => ($options.onRowDblClick($event))),
|
|
4845
|
+
onRowRightclick: _cache[11] || (_cache[11] = $event => ($options.onRowRightClick($event))),
|
|
4807
4846
|
onRowTouchend: $options.onRowTouchEnd,
|
|
4808
4847
|
onRowKeydown: $options.onRowKeyDown,
|
|
4809
4848
|
onRowMousedown: $options.onRowMouseDown,
|
|
4810
|
-
onRowDragstart: _cache[
|
|
4811
|
-
onRowDragover: _cache[
|
|
4812
|
-
onRowDragleave: _cache[
|
|
4813
|
-
onRowDragend: _cache[
|
|
4814
|
-
onRowDrop: _cache[
|
|
4815
|
-
onRowToggle: _cache[
|
|
4816
|
-
onRadioChange: _cache[
|
|
4817
|
-
onCheckboxChange: _cache[
|
|
4818
|
-
onCellEditInit: _cache[
|
|
4819
|
-
onCellEditComplete: _cache[
|
|
4820
|
-
onCellEditCancel: _cache[
|
|
4821
|
-
onRowEditInit: _cache[
|
|
4822
|
-
onRowEditSave: _cache[
|
|
4823
|
-
onRowEditCancel: _cache[
|
|
4849
|
+
onRowDragstart: _cache[12] || (_cache[12] = $event => ($options.onRowDragStart($event))),
|
|
4850
|
+
onRowDragover: _cache[13] || (_cache[13] = $event => ($options.onRowDragOver($event))),
|
|
4851
|
+
onRowDragleave: _cache[14] || (_cache[14] = $event => ($options.onRowDragLeave($event))),
|
|
4852
|
+
onRowDragend: _cache[15] || (_cache[15] = $event => ($options.onRowDragEnd($event))),
|
|
4853
|
+
onRowDrop: _cache[16] || (_cache[16] = $event => ($options.onRowDrop($event))),
|
|
4854
|
+
onRowToggle: _cache[17] || (_cache[17] = $event => ($options.toggleRow($event))),
|
|
4855
|
+
onRadioChange: _cache[18] || (_cache[18] = $event => ($options.toggleRowWithRadio($event))),
|
|
4856
|
+
onCheckboxChange: _cache[19] || (_cache[19] = $event => ($options.toggleRowWithCheckbox($event))),
|
|
4857
|
+
onCellEditInit: _cache[20] || (_cache[20] = $event => ($options.onCellEditInit($event))),
|
|
4858
|
+
onCellEditComplete: _cache[21] || (_cache[21] = $event => ($options.onCellEditComplete($event))),
|
|
4859
|
+
onCellEditCancel: _cache[22] || (_cache[22] = $event => ($options.onCellEditCancel($event))),
|
|
4860
|
+
onRowEditInit: _cache[23] || (_cache[23] = $event => ($options.onRowEditInit($event))),
|
|
4861
|
+
onRowEditSave: _cache[24] || (_cache[24] = $event => ($options.onRowEditSave($event))),
|
|
4862
|
+
onRowEditCancel: _cache[25] || (_cache[25] = $event => ($options.onRowEditCancel($event))),
|
|
4824
4863
|
editingMeta: $data.d_editingMeta,
|
|
4825
4864
|
onEditingMetaChange: $options.onEditingMetaChange,
|
|
4826
4865
|
isVirtualScrollerDisabled: true
|
|
4827
|
-
}, 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", "
|
|
4866
|
+
}, 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", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange"]))
|
|
4828
4867
|
: createCommentVNode("", true),
|
|
4829
4868
|
createVNode(_component_DTTableBody, {
|
|
4830
4869
|
value: $options.dataToRender(slotProps.rows),
|
|
4831
|
-
class: slotProps.styleClass,
|
|
4870
|
+
class: normalizeClass(slotProps.styleClass),
|
|
4832
4871
|
columns: slotProps.columns,
|
|
4833
4872
|
empty: $options.empty,
|
|
4834
4873
|
dataKey: $props.dataKey,
|
|
@@ -4853,34 +4892,33 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4853
4892
|
editingRows: $props.editingRows,
|
|
4854
4893
|
editingRowKeys: $data.d_editingRowKeys,
|
|
4855
4894
|
templates: _ctx.$slots,
|
|
4856
|
-
loading: $props.loading,
|
|
4857
4895
|
responsiveLayout: $props.responsiveLayout,
|
|
4858
4896
|
onRowgroupToggle: $options.toggleRowGroup,
|
|
4859
|
-
onRowClick: _cache[
|
|
4860
|
-
onRowDblclick: _cache[
|
|
4861
|
-
onRowRightclick: _cache[
|
|
4897
|
+
onRowClick: _cache[26] || (_cache[26] = $event => ($options.onRowClick($event))),
|
|
4898
|
+
onRowDblclick: _cache[27] || (_cache[27] = $event => ($options.onRowDblClick($event))),
|
|
4899
|
+
onRowRightclick: _cache[28] || (_cache[28] = $event => ($options.onRowRightClick($event))),
|
|
4862
4900
|
onRowTouchend: $options.onRowTouchEnd,
|
|
4863
4901
|
onRowKeydown: $options.onRowKeyDown,
|
|
4864
4902
|
onRowMousedown: $options.onRowMouseDown,
|
|
4865
|
-
onRowDragstart: _cache[
|
|
4866
|
-
onRowDragover: _cache[
|
|
4867
|
-
onRowDragleave: _cache[
|
|
4868
|
-
onRowDragend: _cache[
|
|
4869
|
-
onRowDrop: _cache[
|
|
4870
|
-
onRowToggle: _cache[
|
|
4871
|
-
onRadioChange: _cache[
|
|
4872
|
-
onCheckboxChange: _cache[
|
|
4873
|
-
onCellEditInit: _cache[
|
|
4874
|
-
onCellEditComplete: _cache[
|
|
4875
|
-
onCellEditCancel: _cache[
|
|
4876
|
-
onRowEditInit: _cache[
|
|
4877
|
-
onRowEditSave: _cache[
|
|
4878
|
-
onRowEditCancel: _cache[
|
|
4903
|
+
onRowDragstart: _cache[29] || (_cache[29] = $event => ($options.onRowDragStart($event))),
|
|
4904
|
+
onRowDragover: _cache[30] || (_cache[30] = $event => ($options.onRowDragOver($event))),
|
|
4905
|
+
onRowDragleave: _cache[31] || (_cache[31] = $event => ($options.onRowDragLeave($event))),
|
|
4906
|
+
onRowDragend: _cache[32] || (_cache[32] = $event => ($options.onRowDragEnd($event))),
|
|
4907
|
+
onRowDrop: _cache[33] || (_cache[33] = $event => ($options.onRowDrop($event))),
|
|
4908
|
+
onRowToggle: _cache[34] || (_cache[34] = $event => ($options.toggleRow($event))),
|
|
4909
|
+
onRadioChange: _cache[35] || (_cache[35] = $event => ($options.toggleRowWithRadio($event))),
|
|
4910
|
+
onCheckboxChange: _cache[36] || (_cache[36] = $event => ($options.toggleRowWithCheckbox($event))),
|
|
4911
|
+
onCellEditInit: _cache[37] || (_cache[37] = $event => ($options.onCellEditInit($event))),
|
|
4912
|
+
onCellEditComplete: _cache[38] || (_cache[38] = $event => ($options.onCellEditComplete($event))),
|
|
4913
|
+
onCellEditCancel: _cache[39] || (_cache[39] = $event => ($options.onCellEditCancel($event))),
|
|
4914
|
+
onRowEditInit: _cache[40] || (_cache[40] = $event => ($options.onRowEditInit($event))),
|
|
4915
|
+
onRowEditSave: _cache[41] || (_cache[41] = $event => ($options.onRowEditSave($event))),
|
|
4916
|
+
onRowEditCancel: _cache[42] || (_cache[42] = $event => ($options.onRowEditCancel($event))),
|
|
4879
4917
|
editingMeta: $data.d_editingMeta,
|
|
4880
4918
|
onEditingMetaChange: $options.onEditingMetaChange,
|
|
4881
4919
|
virtualScrollerContentProps: slotProps,
|
|
4882
4920
|
isVirtualScrollerDisabled: $options.virtualScrollerDisabled
|
|
4883
|
-
}, null, 8, ["value", "class", "columns", "empty", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "rowStyle", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "
|
|
4921
|
+
}, null, 8, ["value", "class", "columns", "empty", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "rowStyle", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange", "virtualScrollerContentProps", "isVirtualScrollerDisabled"]),
|
|
4884
4922
|
createVNode(_component_DTTableFooter, {
|
|
4885
4923
|
columnGroup: $options.footerColumnGroup,
|
|
4886
4924
|
columns: slotProps.columns
|
|
@@ -4901,7 +4939,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4901
4939
|
rowsPerPageOptions: $props.rowsPerPageOptions,
|
|
4902
4940
|
currentPageReportTemplate: $props.currentPageReportTemplate,
|
|
4903
4941
|
class: "p-paginator-bottom",
|
|
4904
|
-
onPage: _cache[
|
|
4942
|
+
onPage: _cache[43] || (_cache[43] = $event => ($options.onPage($event))),
|
|
4905
4943
|
alwaysShow: $props.alwaysShowPaginator
|
|
4906
4944
|
}, createSlots({ _: 2 }, [
|
|
4907
4945
|
(_ctx.$slots.paginatorstart)
|
|
@@ -4923,16 +4961,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4923
4961
|
]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
|
|
4924
4962
|
: createCommentVNode("", true),
|
|
4925
4963
|
(_ctx.$slots.footer)
|
|
4926
|
-
? (openBlock(),
|
|
4964
|
+
? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
4927
4965
|
renderSlot(_ctx.$slots, "footer")
|
|
4928
4966
|
]))
|
|
4929
4967
|
: createCommentVNode("", true),
|
|
4930
|
-
|
|
4968
|
+
createElementVNode("div", _hoisted_4, null, 512),
|
|
4931
4969
|
($props.reorderableColumns)
|
|
4932
|
-
? (openBlock(),
|
|
4970
|
+
? (openBlock(), createElementBlock("span", _hoisted_5, null, 512))
|
|
4933
4971
|
: createCommentVNode("", true),
|
|
4934
4972
|
($props.reorderableColumns)
|
|
4935
|
-
? (openBlock(),
|
|
4973
|
+
? (openBlock(), createElementBlock("span", _hoisted_6, null, 512))
|
|
4936
4974
|
: createCommentVNode("", true)
|
|
4937
4975
|
], 2))
|
|
4938
4976
|
}
|
|
@@ -4964,9 +5002,9 @@ function styleInject(css, ref) {
|
|
|
4964
5002
|
}
|
|
4965
5003
|
}
|
|
4966
5004
|
|
|
4967
|
-
var css_248z = "\n.p-datatable {\n position: relative;\n}\n.p-datatable table {\n border-collapse: collapse;\n min-width: 100%;\n table-layout: fixed;\n}\n.p-datatable .p-sortable-column {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-datatable .p-sortable-column .p-column-title,\n.p-datatable .p-sortable-column .p-sortable-column-icon,\n.p-datatable .p-sortable-column .p-sortable-column-badge {\n vertical-align: middle;\n}\n.p-datatable .p-sortable-column .p-sortable-column-badge {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-datatable-responsive-scroll > .p-datatable-wrapper {\n overflow-x: auto;\n}\n.p-datatable-responsive-scroll > .p-datatable-wrapper > table,\n.p-datatable-auto-layout > .p-datatable-wrapper > table {\n table-layout: auto;\n}\n.p-datatable-hoverable-rows .p-selectable-row {\n cursor: pointer;\n}\n\n/* Scrollable */\n.p-datatable-scrollable .p-datatable-wrapper {\n position: relative;\n overflow: auto;\n}\n.p-datatable-scrollable .p-datatable-thead,\n.p-datatable-scrollable .p-datatable-tbody,\n.p-datatable-scrollable .p-datatable-tfoot {\n display: block;\n}\n.p-datatable-scrollable .p-datatable-thead > tr,\n.p-datatable-scrollable .p-datatable-tbody > tr,\n.p-datatable-scrollable .p-datatable-tfoot > tr {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n width: 100%;\n}\n.p-datatable-scrollable .p-datatable-thead > tr > th,\n.p-datatable-scrollable .p-datatable-tbody > tr > td,\n.p-datatable-scrollable .p-datatable-tfoot > tr > td {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-flex: 1;\n -ms-flex: 1 1 0px;\n flex: 1 1 0;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-datatable-scrollable .p-datatable-thead {\n position: sticky;\n top: 0;\n z-index: 1;\n}\n.p-datatable-scrollable .p-datatable-frozen-tbody {\n position: sticky;\n z-index: 1;\n}\n.p-datatable-scrollable .p-datatable-tfoot {\n position: sticky;\n bottom: 0;\n z-index: 1;\n}\n.p-datatable-scrollable .p-frozen-column {\n position: sticky;\n background: inherit;\n}\n.p-datatable-scrollable th.p-frozen-column {\n z-index: 1;\n}\n.p-datatable-scrollable-both .p-datatable-thead > tr > th,\n.p-datatable-scrollable-both .p-datatable-tbody > tr > td,\n.p-datatable-scrollable-both .p-datatable-tfoot > tr > td,\n.p-datatable-scrollable-horizontal .p-datatable-thead > tr > th\n.p-datatable-scrollable-horizontal .p-datatable-tbody > tr > td,\n.p-datatable-scrollable-horizontal .p-datatable-tfoot > tr > td {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n.p-datatable-flex-scrollable {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n height: 100%;\n}\n.p-datatable-flex-scrollable .p-datatable-wrapper {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n height: 100%;\n}\n.p-datatable-scrollable .p-rowgroup-header {\n position: sticky;\n z-index: 1;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot {\n display: table;\n border-collapse: collapse;\n width: 100%;\n table-layout: fixed;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead > tr,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot > tr {\n display: table-row;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead > tr > th,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot > tr > td {\n display: table-cell;\n}\n\n/* Resizable */\n.p-datatable-resizable > .p-datatable-wrapper {\n overflow-x: auto;\n}\n.p-datatable-resizable .p-datatable-thead > tr > th,\n.p-datatable-resizable .p-datatable-tfoot > tr > td,\n.p-datatable-resizable .p-datatable-tbody > tr > td {\n overflow: hidden;\n white-space: nowrap;\n}\n.p-datatable-resizable .p-resizable-column:not(.p-frozen-column) {\n background-clip: padding-box;\n position: relative;\n}\n.p-datatable-resizable-fit .p-resizable-column:last-child .p-column-resizer {\n display: none;\n}\n.p-datatable .p-column-resizer {\n display: block;\n position: absolute !important;\n top: 0;\n right: 0;\n margin: 0;\n width: .5rem;\n height: 100%;\n padding: 0px;\n cursor:col-resize;\n border: 1px solid transparent;\n}\n.p-datatable .p-column-header-content {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-datatable .p-column-resizer-helper {\n width: 1px;\n position: absolute;\n z-index: 10;\n display: none;\n}\n.p-datatable .p-row-editor-init,\n.p-datatable .p-row-editor-save,\n.p-datatable .p-row-editor-cancel {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Expand */\n.p-datatable .p-row-toggler {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Reorder */\n.p-datatable-reorder-indicator-up,\n.p-datatable-reorder-indicator-down {\n position: absolute;\n display: none;\n}\n\n/* Loader */\n.p-datatable .p-datatable-loading-overlay {\n position: absolute;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n z-index: 2;\n}\n\n/* Filter */\n.p-column-filter-row {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n}\n.p-column-filter-menu {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n margin-left: auto;\n}\n.p-column-filter-row .p-column-filter-element {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n}\n.p-column-filter-menu-button,\n.p-column-filter-clear-button {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n cursor: pointer;\n text-decoration: none;\n overflow: hidden;\n position: relative;\n}\n.p-column-filter-overlay {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-column-filter-row-items {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.p-column-filter-row-item {\n cursor: pointer;\n}\n.p-column-filter-add-button,\n.p-column-filter-remove-button {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-column-filter-add-button .p-button-label,\n.p-column-filter-remove-button .p-button-label {\n -webkit-box-flex: 0;\n -ms-flex-positive: 0;\n flex-grow: 0;\n}\n.p-column-filter-buttonbar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.p-column-filter-buttonbar .p-button:not(.p-button-icon-only) {\n width: auto;\n}\n\n/* Responsive */\n.p-datatable .p-datatable-tbody > tr > td > .p-column-title {\n display: none;\n}\n\n/* VirtualScroller */\n.p-datatable .p-virtualscroller-loading {\n -webkit-transform: none !important;\n transform: none !important;\n min-height: 0;\n position: sticky;\n top: 0;\n left: 0;\n}\n";
|
|
5005
|
+
var css_248z = "\n.p-datatable {\n position: relative;\n}\n.p-datatable table {\n border-collapse: collapse;\n min-width: 100%;\n table-layout: fixed;\n}\n.p-datatable .p-sortable-column {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-datatable .p-sortable-column .p-column-title,\n.p-datatable .p-sortable-column .p-sortable-column-icon,\n.p-datatable .p-sortable-column .p-sortable-column-badge {\n vertical-align: middle;\n}\n.p-datatable .p-sortable-column .p-sortable-column-badge {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-datatable-responsive-scroll > .p-datatable-wrapper {\n overflow-x: auto;\n}\n.p-datatable-responsive-scroll > .p-datatable-wrapper > table,\n.p-datatable-auto-layout > .p-datatable-wrapper > table {\n table-layout: auto;\n}\n.p-datatable-hoverable-rows .p-selectable-row {\n cursor: pointer;\n}\n\n/* Scrollable */\n.p-datatable-scrollable .p-datatable-wrapper {\n position: relative;\n overflow: auto;\n}\n.p-datatable-scrollable .p-datatable-thead,\n.p-datatable-scrollable .p-datatable-tbody,\n.p-datatable-scrollable .p-datatable-tfoot {\n display: block;\n}\n.p-datatable-scrollable .p-datatable-thead > tr,\n.p-datatable-scrollable .p-datatable-tbody > tr,\n.p-datatable-scrollable .p-datatable-tfoot > tr {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n width: 100%;\n}\n.p-datatable-scrollable .p-datatable-thead > tr > th,\n.p-datatable-scrollable .p-datatable-tbody > tr > td,\n.p-datatable-scrollable .p-datatable-tfoot > tr > td {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-flex: 1;\n -ms-flex: 1 1 0px;\n flex: 1 1 0;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-datatable-scrollable .p-datatable-thead {\n position: sticky;\n top: 0;\n z-index: 1;\n}\n.p-datatable-scrollable .p-datatable-frozen-tbody {\n position: sticky;\n z-index: 1;\n}\n.p-datatable-scrollable .p-datatable-tfoot {\n position: sticky;\n bottom: 0;\n z-index: 1;\n}\n.p-datatable-scrollable .p-frozen-column {\n position: sticky;\n background: inherit;\n}\n.p-datatable-scrollable th.p-frozen-column {\n z-index: 1;\n}\n.p-datatable-scrollable-both .p-datatable-thead > tr > th,\n.p-datatable-scrollable-both .p-datatable-tbody > tr > td,\n.p-datatable-scrollable-both .p-datatable-tfoot > tr > td,\n.p-datatable-scrollable-horizontal .p-datatable-thead > tr > th\n.p-datatable-scrollable-horizontal .p-datatable-tbody > tr > td,\n.p-datatable-scrollable-horizontal .p-datatable-tfoot > tr > td {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n.p-datatable-flex-scrollable {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n height: 100%;\n}\n.p-datatable-flex-scrollable .p-datatable-wrapper {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n height: 100%;\n}\n.p-datatable-scrollable .p-rowgroup-header {\n position: sticky;\n z-index: 1;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot {\n display: table;\n border-collapse: collapse;\n width: 100%;\n table-layout: fixed;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead > tr,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot > tr {\n display: table-row;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead > tr > th,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot > tr > td {\n display: table-cell;\n}\n.p-datatable-scrollable .p-virtualscroller > .p-datatable-table {\n display: inline-block; /* For Safari */\n}\n\n/* Resizable */\n.p-datatable-resizable > .p-datatable-wrapper {\n overflow-x: auto;\n}\n.p-datatable-resizable .p-datatable-thead > tr > th,\n.p-datatable-resizable .p-datatable-tfoot > tr > td,\n.p-datatable-resizable .p-datatable-tbody > tr > td {\n overflow: hidden;\n white-space: nowrap;\n}\n.p-datatable-resizable .p-resizable-column:not(.p-frozen-column) {\n background-clip: padding-box;\n position: relative;\n}\n.p-datatable-resizable-fit .p-resizable-column:last-child .p-column-resizer {\n display: none;\n}\n.p-datatable .p-column-resizer {\n display: block;\n position: absolute !important;\n top: 0;\n right: 0;\n margin: 0;\n width: .5rem;\n height: 100%;\n padding: 0px;\n cursor:col-resize;\n border: 1px solid transparent;\n}\n.p-datatable .p-column-header-content {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-datatable .p-column-resizer-helper {\n width: 1px;\n position: absolute;\n z-index: 10;\n display: none;\n}\n.p-datatable .p-row-editor-init,\n.p-datatable .p-row-editor-save,\n.p-datatable .p-row-editor-cancel {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Expand */\n.p-datatable .p-row-toggler {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Reorder */\n.p-datatable-reorder-indicator-up,\n.p-datatable-reorder-indicator-down {\n position: absolute;\n display: none;\n}\n.p-reorderable-column,\n.p-datatable-reorderablerow-handle {\n cursor: move;\n}\n\n/* Loader */\n.p-datatable .p-datatable-loading-overlay {\n position: absolute;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n z-index: 2;\n}\n\n/* Filter */\n.p-column-filter-row {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n}\n.p-column-filter-menu {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n margin-left: auto;\n}\n.p-column-filter-row .p-column-filter-element {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n}\n.p-column-filter-menu-button,\n.p-column-filter-clear-button {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n cursor: pointer;\n text-decoration: none;\n overflow: hidden;\n position: relative;\n}\n.p-column-filter-overlay {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-column-filter-row-items {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.p-column-filter-row-item {\n cursor: pointer;\n}\n.p-column-filter-add-button,\n.p-column-filter-remove-button {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-column-filter-add-button .p-button-label,\n.p-column-filter-remove-button .p-button-label {\n -webkit-box-flex: 0;\n -ms-flex-positive: 0;\n flex-grow: 0;\n}\n.p-column-filter-buttonbar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.p-column-filter-buttonbar .p-button:not(.p-button-icon-only) {\n width: auto;\n}\n\n/* Responsive */\n.p-datatable .p-datatable-tbody > tr > td > .p-column-title {\n display: none;\n}\n\n/* VirtualScroller */\n.p-datatable .p-virtualscroller-loading {\n -webkit-transform: none !important;\n transform: none !important;\n min-height: 0;\n position: sticky;\n top: 0;\n left: 0;\n}\n";
|
|
4968
5006
|
styleInject(css_248z);
|
|
4969
5007
|
|
|
4970
5008
|
script.render = render;
|
|
4971
5009
|
|
|
4972
|
-
export default
|
|
5010
|
+
export { script as default };
|