primevue 3.32.2 → 3.34.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/accordion/Accordion.d.ts +21 -2
- package/accordion/accordion.cjs.js +3 -3
- package/accordion/accordion.esm.js +3 -3
- package/accordion/accordion.js +3 -3
- package/accordiontab/AccordionTab.d.ts +24 -2
- package/autocomplete/AutoComplete.d.ts +24 -2
- package/autocomplete/AutoComplete.vue +1 -1
- package/autocomplete/autocomplete.cjs.js +5 -5
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +5 -5
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +5 -5
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +21 -2
- package/avatargroup/AvatarGroup.d.ts +8 -2
- package/badge/Badge.d.ts +18 -2
- package/badgedirective/BadgeDirective.d.ts +12 -2
- package/badgedirective/badgedirective.cjs.js +3 -3
- package/badgedirective/badgedirective.esm.js +3 -3
- package/badgedirective/badgedirective.js +3 -3
- package/basecomponent/BaseComponent.vue +20 -22
- package/basecomponent/basecomponent.cjs.js +41 -28
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +41 -28
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +41 -28
- package/basecomponent/basecomponent.min.js +1 -1
- package/basedirective/basedirective.cjs.js +42 -25
- package/basedirective/basedirective.cjs.min.js +1 -1
- package/basedirective/basedirective.esm.js +42 -25
- package/basedirective/basedirective.esm.min.js +1 -1
- package/basedirective/basedirective.js +42 -25
- package/basedirective/basedirective.min.js +1 -1
- package/blockui/BlockUI.d.ts +21 -2
- package/breadcrumb/Breadcrumb.d.ts +47 -2
- package/breadcrumb/Breadcrumb.vue +7 -2
- package/breadcrumb/BreadcrumbItem.vue +28 -3
- package/breadcrumb/breadcrumb.cjs.js +35 -8
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +36 -9
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +35 -8
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/Button.d.ts +24 -2
- package/button/button.cjs.js +1 -1
- package/button/button.esm.js +1 -1
- package/button/button.js +1 -1
- package/calendar/Calendar.d.ts +26 -4
- package/calendar/Calendar.vue +63 -29
- package/calendar/calendar.cjs.js +137 -51
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +137 -51
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +137 -51
- package/calendar/calendar.min.js +1 -1
- package/card/Card.d.ts +8 -2
- package/carousel/Carousel.d.ts +24 -2
- package/carousel/Carousel.vue +22 -2
- package/carousel/carousel.cjs.js +9 -5
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +9 -5
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +9 -5
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +21 -2
- package/cascadeselect/cascadeselect.cjs.js +3 -3
- package/cascadeselect/cascadeselect.esm.js +3 -3
- package/cascadeselect/cascadeselect.js +3 -3
- package/chart/Chart.d.ts +18 -2
- package/chart/chart.cjs.js +3 -3
- package/chart/chart.esm.js +3 -3
- package/chart/chart.js +3 -3
- package/checkbox/Checkbox.d.ts +24 -2
- package/checkbox/checkbox.cjs.js +3 -3
- package/checkbox/checkbox.esm.js +3 -3
- package/checkbox/checkbox.js +3 -3
- package/chip/Chip.d.ts +21 -2
- package/chips/Chips.d.ts +21 -2
- package/chips/chips.cjs.js +3 -3
- package/chips/chips.esm.js +3 -3
- package/chips/chips.js +3 -3
- package/colorpicker/ColorPicker.d.ts +21 -2
- package/column/Column.d.ts +24 -2
- package/columngroup/ColumnGroup.d.ts +24 -2
- package/config/PrimeVue.d.ts +93 -92
- package/config/config.cjs.js +4 -3
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +4 -3
- package/config/config.esm.min.js +1 -1
- package/config/config.js +4 -3
- package/config/config.min.js +1 -1
- package/confirmdialog/ConfirmDialog.d.ts +21 -2
- package/confirmpopup/ConfirmPopup.d.ts +21 -2
- package/confirmpopup/confirmpopup.cjs.js +3 -3
- package/confirmpopup/confirmpopup.esm.js +3 -3
- package/confirmpopup/confirmpopup.js +3 -3
- package/contextmenu/ContextMenu.d.ts +54 -2
- package/contextmenu/ContextMenu.vue +13 -7
- package/contextmenu/ContextMenuSub.vue +34 -2
- package/contextmenu/contextmenu.cjs.js +41 -14
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +42 -15
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +41 -14
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +256 -147
- package/core/core.min.js +12 -12
- package/datatable/BodyCell.vue +14 -4
- package/datatable/DataTable.d.ts +41 -3
- package/datatable/DataTable.vue +6 -3
- package/datatable/TableBody.vue +7 -8
- package/datatable/datatable.cjs.js +63 -57
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +63 -57
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +63 -57
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +21 -2
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +21 -2
- package/deferredcontent/DeferredContent.d.ts +21 -2
- package/dialog/Dialog.d.ts +21 -2
- package/dialog/Dialog.vue +2 -2
- package/dialog/dialog.cjs.js +7 -5
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +8 -6
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +7 -5
- package/dialog/dialog.min.js +1 -1
- package/divider/Divider.d.ts +18 -2
- package/dock/Dock.d.ts +46 -2
- package/dock/Dock.vue +5 -0
- package/dock/DockSub.vue +20 -1
- package/dock/dock.cjs.js +21 -2
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +22 -3
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +21 -2
- package/dock/dock.min.js +1 -1
- package/dropdown/Dropdown.d.ts +24 -2
- package/dropdown/dropdown.cjs.js +6 -6
- package/dropdown/dropdown.esm.js +6 -6
- package/dropdown/dropdown.js +6 -6
- package/editor/Editor.d.ts +22 -2
- package/editor/editor.cjs.js +3 -3
- package/editor/editor.esm.js +3 -3
- package/editor/editor.js +3 -3
- package/fieldset/Fieldset.d.ts +21 -2
- package/fieldset/fieldset.cjs.js +4 -4
- package/fieldset/fieldset.esm.js +4 -4
- package/fieldset/fieldset.js +4 -4
- package/fileupload/FileContent.vue +8 -6
- package/fileupload/FileUpload.d.ts +21 -2
- package/fileupload/FileUpload.vue +9 -7
- package/fileupload/fileupload.cjs.js +17 -13
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +17 -13
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +17 -13
- package/fileupload/fileupload.min.js +1 -1
- package/focustrap/FocusTrap.d.ts +8 -2
- package/galleria/Galleria.d.ts +24 -2
- package/galleria/galleria.cjs.js +9 -9
- package/galleria/galleria.esm.js +9 -9
- package/galleria/galleria.js +9 -9
- package/image/Image.d.ts +21 -2
- package/image/image.cjs.js +3 -3
- package/image/image.esm.js +3 -3
- package/image/image.js +3 -3
- package/inlinemessage/InlineMessage.d.ts +21 -2
- package/inplace/Inplace.d.ts +21 -2
- package/inplace/inplace.cjs.js +3 -3
- package/inplace/inplace.esm.js +3 -3
- package/inplace/inplace.js +3 -3
- package/inputmask/InputMask.d.ts +21 -2
- package/inputmask/InputMask.vue +3 -1
- package/inputmask/inputmask.cjs.js +2 -1
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +2 -1
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +2 -1
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +21 -2
- package/inputnumber/inputnumber.cjs.js +6 -6
- package/inputnumber/inputnumber.esm.js +6 -6
- package/inputnumber/inputnumber.js +6 -6
- package/inputswitch/InputSwitch.d.ts +21 -2
- package/inputswitch/inputswitch.cjs.js +3 -3
- package/inputswitch/inputswitch.esm.js +3 -3
- package/inputswitch/inputswitch.js +3 -3
- package/inputtext/InputText.d.ts +21 -2
- package/knob/Knob.d.ts +21 -2
- package/listbox/Listbox.d.ts +24 -2
- package/listbox/listbox.cjs.js +3 -3
- package/listbox/listbox.esm.js +3 -3
- package/listbox/listbox.js +3 -3
- package/megamenu/MegaMenu.d.ts +58 -2
- package/megamenu/MegaMenu.vue +6 -30
- package/megamenu/MegaMenuSub.vue +34 -3
- package/megamenu/megamenu.cjs.js +36 -39
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +37 -40
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +36 -39
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +60 -2
- package/menu/Menu.vue +6 -1
- package/menu/Menuitem.vue +26 -1
- package/menu/menu.cjs.js +29 -7
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +30 -8
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +29 -7
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.d.ts +62 -2
- package/menubar/Menubar.vue +6 -0
- package/menubar/MenubarSub.vue +32 -1
- package/menubar/menubar.cjs.js +34 -6
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +35 -7
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +34 -6
- package/menubar/menubar.min.js +1 -1
- package/menuitem/MenuItem.d.ts +1 -0
- package/message/Message.d.ts +21 -2
- package/message/message.cjs.js +3 -3
- package/message/message.esm.js +3 -3
- package/message/message.js +3 -3
- package/multiselect/MultiSelect.d.ts +24 -2
- package/multiselect/multiselect.cjs.js +6 -6
- package/multiselect/multiselect.esm.js +6 -6
- package/multiselect/multiselect.js +6 -6
- package/orderlist/OrderList.d.ts +24 -2
- package/orderlist/OrderList.vue +7 -5
- package/orderlist/orderlist.cjs.js +10 -8
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +10 -8
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +10 -8
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.d.ts +24 -2
- package/organizationchart/organizationchart.cjs.js +4 -4
- package/organizationchart/organizationchart.esm.js +4 -4
- package/organizationchart/organizationchart.js +4 -4
- package/overlaypanel/OverlayPanel.d.ts +21 -2
- package/overlaypanel/overlaypanel.cjs.js +3 -3
- package/overlaypanel/overlaypanel.esm.js +3 -3
- package/overlaypanel/overlaypanel.js +3 -3
- package/package.json +1 -1
- package/paginator/FirstPageLink.vue +1 -1
- package/paginator/JumpToPageDropdown.vue +1 -0
- package/paginator/LastPageLink.vue +1 -1
- package/paginator/NextPageLink.vue +1 -1
- package/paginator/Paginator.d.ts +24 -2
- package/paginator/PrevPageLink.vue +1 -1
- package/paginator/RowsPerPageDropdown.vue +1 -0
- package/paginator/paginator.cjs.js +19 -9
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +19 -9
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +19 -9
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.d.ts +21 -2
- package/panel/panel.cjs.js +3 -3
- package/panel/panel.esm.js +3 -3
- package/panel/panel.js +3 -3
- package/panelmenu/PanelMenu.d.ts +58 -2
- package/panelmenu/PanelMenu.vue +6 -0
- package/panelmenu/PanelMenuList.vue +1 -0
- package/panelmenu/PanelMenuSub.vue +33 -1
- package/panelmenu/panelmenu.cjs.js +41 -12
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +42 -13
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +41 -12
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/index.cjs.js +15 -9
- package/passthrough/index.cjs.min.js +1 -1
- package/passthrough/index.d.ts +4 -4
- package/passthrough/index.esm.js +15 -9
- package/passthrough/index.esm.min.js +1 -1
- package/passthrough/index.js +15 -9
- package/passthrough/index.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +3 -3
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +3 -3
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +3 -3
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/Password.d.ts +21 -2
- package/password/password.cjs.js +3 -3
- package/password/password.esm.js +3 -3
- package/password/password.js +3 -3
- package/picklist/PickList.d.ts +24 -2
- package/picklist/PickList.vue +8 -5
- package/picklist/picklist.cjs.js +10 -8
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +10 -8
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +10 -8
- package/picklist/picklist.min.js +1 -1
- package/progressbar/ProgressBar.d.ts +18 -2
- package/progressspinner/ProgressSpinner.d.ts +18 -2
- package/radiobutton/RadioButton.d.ts +21 -2
- package/radiobutton/radiobutton.cjs.js +3 -3
- package/radiobutton/radiobutton.esm.js +3 -3
- package/radiobutton/radiobutton.js +3 -3
- package/rating/Rating.d.ts +24 -2
- package/ripple/Ripple.d.ts +8 -2
- package/row/Row.d.ts +16 -0
- package/scrollpanel/ScrollPanel.d.ts +21 -2
- package/scrolltop/ScrollTop.d.ts +21 -2
- package/selectbutton/SelectButton.d.ts +24 -2
- package/sidebar/Sidebar.d.ts +21 -2
- package/sidebar/sidebar.cjs.js +3 -3
- package/sidebar/sidebar.esm.js +3 -3
- package/sidebar/sidebar.js +3 -3
- package/skeleton/Skeleton.d.ts +18 -2
- package/slider/Slider.d.ts +18 -2
- package/speeddial/SpeedDial.d.ts +24 -2
- package/speeddial/speeddial.cjs.js +4 -4
- package/speeddial/speeddial.esm.js +4 -4
- package/speeddial/speeddial.js +4 -4
- package/splitbutton/SplitButton.d.ts +35 -2
- package/splitbutton/SplitButton.vue +6 -2
- package/splitbutton/splitbutton.cjs.js +17 -9
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +18 -10
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +17 -9
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +24 -2
- package/splitterpanel/SplitterPanel.d.ts +21 -2
- package/steps/Steps.d.ts +51 -2
- package/steps/Steps.vue +31 -1
- package/steps/steps.cjs.js +31 -3
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +31 -3
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +32 -4
- package/steps/steps.min.js +1 -1
- package/styleclass/StyleClass.d.ts +8 -2
- package/tabmenu/TabMenu.d.ts +50 -2
- package/tabmenu/TabMenu.vue +27 -1
- package/tabmenu/tabmenu.cjs.js +26 -3
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +26 -3
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +27 -4
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabpanel/TabPanel.d.ts +24 -2
- package/tabview/TabView.d.ts +8 -2
- package/tabview/tabview.cjs.js +3 -3
- package/tabview/tabview.esm.js +3 -3
- package/tabview/tabview.js +3 -3
- package/tag/Tag.d.ts +18 -2
- package/terminal/Terminal.d.ts +21 -2
- package/textarea/Textarea.d.ts +21 -2
- package/tieredmenu/TieredMenu.d.ts +58 -2
- package/tieredmenu/TieredMenu.vue +6 -0
- package/tieredmenu/TieredMenuSub.vue +33 -1
- package/tieredmenu/tieredmenu.cjs.js +35 -7
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +36 -8
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +35 -7
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/Timeline.d.ts +21 -2
- package/toast/Toast.d.ts +21 -2
- package/toast/toast.cjs.js +7 -7
- package/toast/toast.esm.js +7 -7
- package/toast/toast.js +7 -7
- package/togglebutton/ToggleButton.d.ts +24 -2
- package/togglebutton/ToggleButton.vue +4 -4
- package/togglebutton/togglebutton.cjs.js +7 -7
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +7 -7
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +7 -7
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.d.ts +18 -2
- package/tooltip/Tooltip.d.ts +12 -2
- package/tooltip/tooltip.cjs.js +2 -2
- package/tooltip/tooltip.esm.js +2 -2
- package/tooltip/tooltip.js +2 -2
- package/tree/Tree.d.ts +24 -2
- package/tree/Tree.vue +1 -1
- package/tree/tree.cjs.js +7 -7
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +7 -7
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +7 -7
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +21 -2
- package/treeselect/treeselect.cjs.js +6 -6
- package/treeselect/treeselect.esm.js +6 -6
- package/treeselect/treeselect.js +6 -6
- package/treetable/BodyCell.vue +1 -1
- package/treetable/TreeTable.d.ts +24 -2
- package/treetable/TreeTableRow.vue +1 -1
- package/treetable/treetable.cjs.js +22 -20
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +22 -20
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +22 -20
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +24 -2
- package/tristatecheckbox/tristatecheckbox.cjs.js +3 -3
- package/tristatecheckbox/tristatecheckbox.esm.js +3 -3
- package/tristatecheckbox/tristatecheckbox.js +3 -3
- package/ts-helpers.d.ts +2 -2
- package/utils/utils.cjs.js +30 -20
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +30 -20
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +30 -20
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +1 -1
- package/virtualscroller/BaseVirtualScroller.vue +3 -3
- package/virtualscroller/VirtualScroller.d.ts +21 -2
- package/virtualscroller/virtualscroller.cjs.js +6 -6
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +6 -6
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +6 -6
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +13 -3
package/datatable/BodyCell.vue
CHANGED
|
@@ -52,7 +52,17 @@
|
|
|
52
52
|
<BarsIcon v-else :class="cx('rowReorderIcon')" v-bind="getColumnPT('rowReorderIcon')" />
|
|
53
53
|
</template>
|
|
54
54
|
<template v-else-if="columnProp('expander')">
|
|
55
|
-
<button
|
|
55
|
+
<button
|
|
56
|
+
v-ripple
|
|
57
|
+
:class="cx('rowToggler')"
|
|
58
|
+
type="button"
|
|
59
|
+
:aria-expanded="isRowExpanded"
|
|
60
|
+
:aria-controls="ariaControls"
|
|
61
|
+
:aria-label="expandButtonAriaLabel"
|
|
62
|
+
@click="toggleRow"
|
|
63
|
+
v-bind="getColumnPT('rowToggler')"
|
|
64
|
+
data-pc-group-section="rowactionbutton"
|
|
65
|
+
>
|
|
56
66
|
<component v-if="column.children && column.children.rowtogglericon" :is="column.children.rowtogglericon" :rowExpanded="isRowExpanded" />
|
|
57
67
|
<template v-else>
|
|
58
68
|
<span v-if="isRowExpanded && expandedRowIcon" :class="[cx('rowTogglerIcon'), expandedRowIcon]" />
|
|
@@ -63,13 +73,13 @@
|
|
|
63
73
|
</button>
|
|
64
74
|
</template>
|
|
65
75
|
<template v-else-if="editMode === 'row' && columnProp('rowEditor')">
|
|
66
|
-
<button v-if="!d_editing" v-ripple :class="cx('rowEditorInitButton')" type="button" :aria-label="initButtonAriaLabel" @click="onRowEditInit" v-bind="getColumnPT('rowEditorInitButton')">
|
|
76
|
+
<button v-if="!d_editing" v-ripple :class="cx('rowEditorInitButton')" type="button" :aria-label="initButtonAriaLabel" @click="onRowEditInit" v-bind="getColumnPT('rowEditorInitButton')" data-pc-group-section="rowactionbutton">
|
|
67
77
|
<component :is="(column.children && column.children.roweditoriniticon) || 'PencilIcon'" :class="cx('rowEditorInitIcon')" v-bind="getColumnPT('rowEditorInitIcon')" />
|
|
68
78
|
</button>
|
|
69
|
-
<button v-if="d_editing" v-ripple :class="cx('rowEditorSaveButton')" type="button" :aria-label="saveButtonAriaLabel" @click="onRowEditSave" v-bind="getColumnPT('rowEditorSaveButton')">
|
|
79
|
+
<button v-if="d_editing" v-ripple :class="cx('rowEditorSaveButton')" type="button" :aria-label="saveButtonAriaLabel" @click="onRowEditSave" v-bind="getColumnPT('rowEditorSaveButton')" data-pc-group-section="rowactionbutton">
|
|
70
80
|
<component :is="(column.children && column.children.roweditorsaveicon) || 'CheckIcon'" :class="cx('rowEditorSaveIcon')" v-bind="getColumnPT('rowEditorSaveIcon')" />
|
|
71
81
|
</button>
|
|
72
|
-
<button v-if="d_editing" v-ripple :class="cx('rowEditorCancelButton')" type="button" :aria-label="cancelButtonAriaLabel" @click="onRowEditCancel" v-bind="getColumnPT('rowEditorCancelButton')">
|
|
82
|
+
<button v-if="d_editing" v-ripple :class="cx('rowEditorCancelButton')" type="button" :aria-label="cancelButtonAriaLabel" @click="onRowEditCancel" v-bind="getColumnPT('rowEditorCancelButton')" data-pc-group-section="rowactionbutton">
|
|
73
83
|
<component :is="(column.children && column.children.roweditorcancelicon) || 'TimesIcon'" :class="cx('rowEditorCancelIcon')" v-bind="getColumnPT('rowEditorCancelIcon')" />
|
|
74
84
|
</button>
|
|
75
85
|
</template>
|
package/datatable/DataTable.d.ts
CHANGED
|
@@ -12,8 +12,9 @@ import { ComponentHooks } from '../basecomponent';
|
|
|
12
12
|
import { ColumnPassThroughOptionType } from '../column';
|
|
13
13
|
import { ColumnGroupPassThroughOptionType } from '../columngroup';
|
|
14
14
|
import { PaginatorPassThroughOptionType } from '../paginator';
|
|
15
|
+
import { PassThroughOptions } from '../passthrough';
|
|
15
16
|
import { RowPassThroughOptionType } from '../row';
|
|
16
|
-
import { ClassComponent, GlobalComponentConstructor, Nullable,
|
|
17
|
+
import { ClassComponent, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers';
|
|
17
18
|
import { VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
|
|
18
19
|
|
|
19
20
|
export declare type DataTablePassThroughOptionType = DataTablePassThroughAttributes | ((options: DataTablePassThroughMethodOptions) => DataTablePassThroughAttributes | string) | string | null | undefined;
|
|
@@ -24,10 +25,26 @@ export declare type DataTablePassThroughTransitionType = TransitionProps | ((opt
|
|
|
24
25
|
* Custom passthrough(pt) option method.
|
|
25
26
|
*/
|
|
26
27
|
export interface DataTablePassThroughMethodOptions {
|
|
28
|
+
/**
|
|
29
|
+
* Defines instance.
|
|
30
|
+
*/
|
|
27
31
|
instance: any;
|
|
32
|
+
/**
|
|
33
|
+
* Defines valid properties.
|
|
34
|
+
*/
|
|
28
35
|
props: DataTableProps;
|
|
36
|
+
/**
|
|
37
|
+
* Defines current inline state.
|
|
38
|
+
*/
|
|
29
39
|
state: DataTableState;
|
|
40
|
+
/**
|
|
41
|
+
* Defines current options.
|
|
42
|
+
*/
|
|
30
43
|
context: DataTableContext;
|
|
44
|
+
/**
|
|
45
|
+
* Defines passthrough(pt) options in global config.
|
|
46
|
+
*/
|
|
47
|
+
global: object | undefined;
|
|
31
48
|
}
|
|
32
49
|
|
|
33
50
|
/**
|
|
@@ -603,6 +620,10 @@ export interface DataTablePassThroughOptions {
|
|
|
603
620
|
* Used to pass attributes to the rowgroup header's DOM element.
|
|
604
621
|
*/
|
|
605
622
|
rowGroupHeader?: DataTablePassThroughOptionType;
|
|
623
|
+
/**
|
|
624
|
+
* Used to pass attributes to the rowgroup header cell's DOM element.
|
|
625
|
+
*/
|
|
626
|
+
rowGroupHeaderCell?: DataTablePassThroughOptionType;
|
|
606
627
|
/**
|
|
607
628
|
* Used to pass attributes to the body row's DOM element.
|
|
608
629
|
*/
|
|
@@ -611,14 +632,26 @@ export interface DataTablePassThroughOptions {
|
|
|
611
632
|
* Used to pass attributes to the row expansion's DOM element.
|
|
612
633
|
*/
|
|
613
634
|
rowExpansion?: DataTablePassThroughOptionType;
|
|
635
|
+
/**
|
|
636
|
+
* Used to pass attributes to the row expansion cell's DOM element.
|
|
637
|
+
*/
|
|
638
|
+
rowExpansionCell?: DataTablePassThroughOptionType;
|
|
614
639
|
/**
|
|
615
640
|
* Used to pass attributes to the rowgroup footer's DOM element.
|
|
616
641
|
*/
|
|
617
642
|
rowGroupFooter?: DataTablePassThroughOptionType;
|
|
643
|
+
/**
|
|
644
|
+
* Used to pass attributes to the rowgroup footer cell's DOM element.
|
|
645
|
+
*/
|
|
646
|
+
rowGroupFooterCell?: DataTablePassThroughOptionType;
|
|
618
647
|
/**
|
|
619
648
|
* Used to pass attributes to the empty message's DOM element.
|
|
620
649
|
*/
|
|
621
650
|
emptyMessage?: DataTablePassThroughOptionType;
|
|
651
|
+
/**
|
|
652
|
+
* Used to pass attributes to the empty message cell's DOM element.
|
|
653
|
+
*/
|
|
654
|
+
emptyMessageCell?: DataTablePassThroughOptionType;
|
|
622
655
|
/**
|
|
623
656
|
* Used to pass attributes to the tfoot's DOM element.
|
|
624
657
|
*/
|
|
@@ -940,7 +973,7 @@ export interface DataTableProps {
|
|
|
940
973
|
/**
|
|
941
974
|
* Custom function to export data.
|
|
942
975
|
*/
|
|
943
|
-
exportFunction
|
|
976
|
+
exportFunction?: (options: DataTableExportFunctionOptions) => any;
|
|
944
977
|
/**
|
|
945
978
|
* When enabled, columns can be resized using drag and drop.
|
|
946
979
|
* @defaultValue false
|
|
@@ -1069,7 +1102,12 @@ export interface DataTableProps {
|
|
|
1069
1102
|
* Used to pass attributes to DOM elements inside the component.
|
|
1070
1103
|
* @type {DataTablePassThroughOptions}
|
|
1071
1104
|
*/
|
|
1072
|
-
pt?:
|
|
1105
|
+
pt?: PassThrough<DataTablePassThroughOptions>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Used to configure passthrough(pt) options of the component.
|
|
1108
|
+
* @type {PassThroughOptions}
|
|
1109
|
+
*/
|
|
1110
|
+
ptOptions?: PassThroughOptions;
|
|
1073
1111
|
/**
|
|
1074
1112
|
* When enabled, it removes component related styles in the core.
|
|
1075
1113
|
* @defaultValue false
|
package/datatable/DataTable.vue
CHANGED
|
@@ -386,9 +386,12 @@ export default {
|
|
|
386
386
|
this.updateExpandedRowKeys(newValue);
|
|
387
387
|
}
|
|
388
388
|
},
|
|
389
|
-
editingRows
|
|
390
|
-
|
|
391
|
-
|
|
389
|
+
editingRows: {
|
|
390
|
+
deep: true,
|
|
391
|
+
handler(newValue) {
|
|
392
|
+
if (this.dataKey) {
|
|
393
|
+
this.updateEditingRowKeys(newValue);
|
|
394
|
+
}
|
|
392
395
|
}
|
|
393
396
|
},
|
|
394
397
|
filters: {
|
package/datatable/TableBody.vue
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
role="row"
|
|
11
11
|
v-bind="ptm('rowGroupHeader')"
|
|
12
12
|
>
|
|
13
|
-
<td :colspan="columnsLength - 1" v-bind="{ ...
|
|
13
|
+
<td :colspan="columnsLength - 1" v-bind="{ ...getColumnPT('bodycell'), ...ptm('rowGroupHeaderCell') }">
|
|
14
14
|
<button v-if="expandableRowGroups" :class="cx('rowGroupToggler')" @click="onRowGroupToggle($event, rowData)" type="button" v-bind="ptm('rowGroupToggler')">
|
|
15
15
|
<component v-if="templates['rowgrouptogglericon']" :is="templates['rowgrouptogglericon']" :expanded="isRowGroupExpanded(rowData)" />
|
|
16
16
|
<template v-else>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
@dblclick="onRowDblClick($event, rowData, getRowIndex(index))"
|
|
36
36
|
@contextmenu="onRowRightClick($event, rowData, getRowIndex(index))"
|
|
37
37
|
@touchend="onRowTouchEnd($event)"
|
|
38
|
-
@keydown="onRowKeyDown($event, rowData, getRowIndex(index))"
|
|
38
|
+
@keydown.self="onRowKeyDown($event, rowData, getRowIndex(index))"
|
|
39
39
|
@mousedown="onRowMouseDown($event)"
|
|
40
40
|
@dragstart="onRowDragStart($event, getRowIndex(index))"
|
|
41
41
|
@dragover="onRowDragOver($event, getRowIndex(index))"
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
role="row"
|
|
92
92
|
v-bind="ptm('rowExpansion')"
|
|
93
93
|
>
|
|
94
|
-
<td :colspan="columnsLength" v-bind="{ ...getColumnPT('
|
|
94
|
+
<td :colspan="columnsLength" v-bind="{ ...getColumnPT('bodycell'), ...ptm('rowExpansionCell') }">
|
|
95
95
|
<component :is="templates['expansion']" :data="rowData" :index="getRowIndex(index)" />
|
|
96
96
|
</td>
|
|
97
97
|
</tr>
|
|
@@ -102,14 +102,14 @@
|
|
|
102
102
|
role="row"
|
|
103
103
|
v-bind="ptm('rowGroupFooter')"
|
|
104
104
|
>
|
|
105
|
-
<td :colspan="columnsLength - 1" v-bind="{ ...
|
|
105
|
+
<td :colspan="columnsLength - 1" v-bind="{ ...getColumnPT('bodycell'), ...ptm('rowGroupFooterCell') }">
|
|
106
106
|
<component :is="templates['groupfooter']" :data="rowData" :index="getRowIndex(index)" />
|
|
107
107
|
</td>
|
|
108
108
|
</tr>
|
|
109
109
|
</template>
|
|
110
110
|
</template>
|
|
111
111
|
<tr v-else :class="cx('emptyMessage')" role="row" v-bind="ptm('emptyMessage')">
|
|
112
|
-
<td :colspan="columnsLength" v-bind="{ ...getColumnPT('
|
|
112
|
+
<td :colspan="columnsLength" v-bind="{ ...getColumnPT('bodycell'), ...ptm('emptyMessageCell') }">
|
|
113
113
|
<component v-if="templates.empty" :is="templates.empty" />
|
|
114
114
|
</td>
|
|
115
115
|
</tr>
|
|
@@ -307,16 +307,15 @@ export default {
|
|
|
307
307
|
columnProp(col, prop) {
|
|
308
308
|
return ObjectUtils.getVNodeProp(col, prop);
|
|
309
309
|
},
|
|
310
|
-
getColumnPT(
|
|
310
|
+
getColumnPT(key) {
|
|
311
311
|
const columnMetaData = {
|
|
312
|
-
props: currentColumn.props,
|
|
313
312
|
parent: {
|
|
314
313
|
props: this.$props,
|
|
315
314
|
state: this.$data
|
|
316
315
|
}
|
|
317
316
|
};
|
|
318
317
|
|
|
319
|
-
return mergeProps(this.ptm(`column.${key}`, { column: columnMetaData }), this.ptm(`column.${key}`, columnMetaData), this.ptmo(this.getColumnProp(
|
|
318
|
+
return mergeProps(this.ptm(`column.${key}`, { column: columnMetaData }), this.ptm(`column.${key}`, columnMetaData), this.ptmo(this.getColumnProp({}), key, columnMetaData));
|
|
320
319
|
},
|
|
321
320
|
getColumnProp(column) {
|
|
322
321
|
return column.props && column.props.pt ? column.props.pt : undefined; //@todo
|
|
@@ -1268,9 +1268,9 @@ var script$8 = {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
};
|
|
1270
1270
|
|
|
1271
|
-
function _typeof$9(
|
|
1272
|
-
function ownKeys$9(
|
|
1273
|
-
function _objectSpread$9(
|
|
1271
|
+
function _typeof$9(o) { "@babel/helpers - typeof"; return _typeof$9 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$9(o); }
|
|
1272
|
+
function ownKeys$9(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1273
|
+
function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$9(Object(t), !0).forEach(function (r) { _defineProperty$9(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$9(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1274
1274
|
function _defineProperty$9(obj, key, value) { key = _toPropertyKey$9(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1275
1275
|
function _toPropertyKey$9(arg) { var key = _toPrimitive$9(arg, "string"); return _typeof$9(key) === "symbol" ? key : String(key); }
|
|
1276
1276
|
function _toPrimitive$9(input, hint) { if (_typeof$9(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$9(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -1391,7 +1391,9 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1391
1391
|
onClick: _cache[2] || (_cache[2] = function () {
|
|
1392
1392
|
return $options.toggleRow && $options.toggleRow.apply($options, arguments);
|
|
1393
1393
|
})
|
|
1394
|
-
}, $options.getColumnPT('rowToggler')
|
|
1394
|
+
}, $options.getColumnPT('rowToggler'), {
|
|
1395
|
+
"data-pc-group-section": "rowactionbutton"
|
|
1396
|
+
}), [$props.column.children && $props.column.children.rowtogglericon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.column.children.rowtogglericon), {
|
|
1395
1397
|
key: 0,
|
|
1396
1398
|
rowExpanded: $props.isRowExpanded
|
|
1397
1399
|
}, null, 8, ["rowExpanded"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
@@ -1418,7 +1420,9 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1418
1420
|
onClick: _cache[3] || (_cache[3] = function () {
|
|
1419
1421
|
return $options.onRowEditInit && $options.onRowEditInit.apply($options, arguments);
|
|
1420
1422
|
})
|
|
1421
|
-
}, $options.getColumnPT('rowEditorInitButton')
|
|
1423
|
+
}, $options.getColumnPT('rowEditorInitButton'), {
|
|
1424
|
+
"data-pc-group-section": "rowactionbutton"
|
|
1425
|
+
}), [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.column.children && $props.column.children.roweditoriniticon || 'PencilIcon'), vue.mergeProps({
|
|
1422
1426
|
"class": _ctx.cx('rowEditorInitIcon')
|
|
1423
1427
|
}, $options.getColumnPT('rowEditorInitIcon')), null, 16, ["class"]))], 16, _hoisted_3$2)), [[_directive_ripple]]) : vue.createCommentVNode("", true), $data.d_editing ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
1424
1428
|
key: 1,
|
|
@@ -1428,7 +1432,9 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1428
1432
|
onClick: _cache[4] || (_cache[4] = function () {
|
|
1429
1433
|
return $options.onRowEditSave && $options.onRowEditSave.apply($options, arguments);
|
|
1430
1434
|
})
|
|
1431
|
-
}, $options.getColumnPT('rowEditorSaveButton')
|
|
1435
|
+
}, $options.getColumnPT('rowEditorSaveButton'), {
|
|
1436
|
+
"data-pc-group-section": "rowactionbutton"
|
|
1437
|
+
}), [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.column.children && $props.column.children.roweditorsaveicon || 'CheckIcon'), vue.mergeProps({
|
|
1432
1438
|
"class": _ctx.cx('rowEditorSaveIcon')
|
|
1433
1439
|
}, $options.getColumnPT('rowEditorSaveIcon')), null, 16, ["class"]))], 16, _hoisted_4$1)), [[_directive_ripple]]) : vue.createCommentVNode("", true), $data.d_editing ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
1434
1440
|
key: 2,
|
|
@@ -1438,7 +1444,9 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1438
1444
|
onClick: _cache[5] || (_cache[5] = function () {
|
|
1439
1445
|
return $options.onRowEditCancel && $options.onRowEditCancel.apply($options, arguments);
|
|
1440
1446
|
})
|
|
1441
|
-
}, $options.getColumnPT('rowEditorCancelButton')
|
|
1447
|
+
}, $options.getColumnPT('rowEditorCancelButton'), {
|
|
1448
|
+
"data-pc-group-section": "rowactionbutton"
|
|
1449
|
+
}), [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.column.children && $props.column.children.roweditorcancelicon || 'TimesIcon'), vue.mergeProps({
|
|
1442
1450
|
"class": _ctx.cx('rowEditorCancelIcon')
|
|
1443
1451
|
}, $options.getColumnPT('rowEditorCancelIcon')), null, 16, ["class"]))], 16, _hoisted_5$1)), [[_directive_ripple]]) : vue.createCommentVNode("", true)], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
1444
1452
|
key: 8
|
|
@@ -1605,9 +1613,8 @@ var script$7 = {
|
|
|
1605
1613
|
columnProp: function columnProp(col, prop) {
|
|
1606
1614
|
return utils.ObjectUtils.getVNodeProp(col, prop);
|
|
1607
1615
|
},
|
|
1608
|
-
getColumnPT: function getColumnPT(
|
|
1616
|
+
getColumnPT: function getColumnPT(key) {
|
|
1609
1617
|
var columnMetaData = {
|
|
1610
|
-
props: currentColumn.props,
|
|
1611
1618
|
parent: {
|
|
1612
1619
|
props: this.$props,
|
|
1613
1620
|
state: this.$data
|
|
@@ -1615,7 +1622,7 @@ var script$7 = {
|
|
|
1615
1622
|
};
|
|
1616
1623
|
return vue.mergeProps(this.ptm("column.".concat(key), {
|
|
1617
1624
|
column: columnMetaData
|
|
1618
|
-
}), this.ptm("column.".concat(key), columnMetaData), this.ptmo(this.getColumnProp(
|
|
1625
|
+
}), this.ptm("column.".concat(key), columnMetaData), this.ptmo(this.getColumnProp({}), key, columnMetaData));
|
|
1619
1626
|
},
|
|
1620
1627
|
getColumnProp: function getColumnProp(column) {
|
|
1621
1628
|
return column.props && column.props.pt ? column.props.pt : undefined; //@todo
|
|
@@ -1937,9 +1944,9 @@ var script$7 = {
|
|
|
1937
1944
|
}
|
|
1938
1945
|
};
|
|
1939
1946
|
|
|
1940
|
-
function _typeof$8(
|
|
1941
|
-
function ownKeys$8(
|
|
1942
|
-
function _objectSpread$8(
|
|
1947
|
+
function _typeof$8(o) { "@babel/helpers - typeof"; return _typeof$8 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$8(o); }
|
|
1948
|
+
function ownKeys$8(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1949
|
+
function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$8(Object(t), !0).forEach(function (r) { _defineProperty$8(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$8(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1943
1950
|
function _defineProperty$8(obj, key, value) { key = _toPropertyKey$8(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1944
1951
|
function _toPropertyKey$8(arg) { var key = _toPrimitive$8(arg, "string"); return _typeof$8(key) === "symbol" ? key : String(key); }
|
|
1945
1952
|
function _toPrimitive$8(input, hint) { if (_typeof$8(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$8(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -1969,9 +1976,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1969
1976
|
role: "row"
|
|
1970
1977
|
}, _ctx.ptm('rowGroupHeader')), [vue.createElementVNode("td", vue.mergeProps({
|
|
1971
1978
|
colspan: $options.columnsLength - 1
|
|
1972
|
-
}, _objectSpread$8(_objectSpread$8({},
|
|
1973
|
-
"data-pc-section": "bodycell"
|
|
1974
|
-
}), [$props.expandableRowGroups ? (vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
1979
|
+
}, _objectSpread$8(_objectSpread$8({}, $options.getColumnPT('bodycell')), _ctx.ptm('rowGroupHeaderCell'))), [$props.expandableRowGroups ? (vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
1975
1980
|
key: 0,
|
|
1976
1981
|
"class": _ctx.cx('rowGroupToggler'),
|
|
1977
1982
|
onClick: function onClick($event) {
|
|
@@ -2017,9 +2022,9 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2017
2022
|
onTouchend: _cache[9] || (_cache[9] = function ($event) {
|
|
2018
2023
|
return $options.onRowTouchEnd($event);
|
|
2019
2024
|
}),
|
|
2020
|
-
onKeydown: function
|
|
2025
|
+
onKeydown: vue.withModifiers(function ($event) {
|
|
2021
2026
|
return $options.onRowKeyDown($event, rowData, $options.getRowIndex(index));
|
|
2022
|
-
},
|
|
2027
|
+
}, ["self"]),
|
|
2023
2028
|
onMousedown: _cache[10] || (_cache[10] = function ($event) {
|
|
2024
2029
|
return $options.onRowMouseDown($event);
|
|
2025
2030
|
}),
|
|
@@ -2100,7 +2105,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2100
2105
|
role: "row"
|
|
2101
2106
|
}, _ctx.ptm('rowExpansion')), [vue.createElementVNode("td", vue.mergeProps({
|
|
2102
2107
|
colspan: $options.columnsLength
|
|
2103
|
-
}, _objectSpread$8(_objectSpread$8({}, $options.getColumnPT('
|
|
2108
|
+
}, _objectSpread$8(_objectSpread$8({}, $options.getColumnPT('bodycell')), _ctx.ptm('rowExpansionCell'))), [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['expansion']), {
|
|
2104
2109
|
data: rowData,
|
|
2105
2110
|
index: $options.getRowIndex(index)
|
|
2106
2111
|
}, null, 8, ["data", "index"]))], 16, _hoisted_5)], 16, _hoisted_4)) : vue.createCommentVNode("", true), $props.templates['groupfooter'] && $props.rowGroupMode === 'subheader' && $options.shouldRenderRowGroupFooter($props.value, rowData, $options.getRowIndex(index)) ? (vue.openBlock(), vue.createElementBlock("tr", vue.mergeProps({
|
|
@@ -2109,9 +2114,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2109
2114
|
role: "row"
|
|
2110
2115
|
}, _ctx.ptm('rowGroupFooter')), [vue.createElementVNode("td", vue.mergeProps({
|
|
2111
2116
|
colspan: $options.columnsLength - 1
|
|
2112
|
-
}, _objectSpread$8(_objectSpread$8({},
|
|
2113
|
-
"data-pc-section": "footercell"
|
|
2114
|
-
}), [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['groupfooter']), {
|
|
2117
|
+
}, _objectSpread$8(_objectSpread$8({}, $options.getColumnPT('bodycell')), _ctx.ptm('rowGroupFooterCell'))), [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['groupfooter']), {
|
|
2115
2118
|
data: rowData,
|
|
2116
2119
|
index: $options.getRowIndex(index)
|
|
2117
2120
|
}, null, 8, ["data", "index"]))], 16, _hoisted_6)], 16)) : vue.createCommentVNode("", true)], 64);
|
|
@@ -2121,7 +2124,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2121
2124
|
role: "row"
|
|
2122
2125
|
}, _ctx.ptm('emptyMessage')), [vue.createElementVNode("td", vue.mergeProps({
|
|
2123
2126
|
colspan: $options.columnsLength
|
|
2124
|
-
}, _objectSpread$8(_objectSpread$8({}, $options.getColumnPT('
|
|
2127
|
+
}, _objectSpread$8(_objectSpread$8({}, $options.getColumnPT('bodycell')), _ctx.ptm('emptyMessageCell'))), [$props.templates.empty ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.empty), {
|
|
2125
2128
|
key: 0
|
|
2126
2129
|
})) : vue.createCommentVNode("", true)], 16, _hoisted_7)], 16))], 16);
|
|
2127
2130
|
}
|
|
@@ -2215,9 +2218,9 @@ var script$6 = {
|
|
|
2215
2218
|
}
|
|
2216
2219
|
};
|
|
2217
2220
|
|
|
2218
|
-
function _typeof$7(
|
|
2219
|
-
function ownKeys$7(
|
|
2220
|
-
function _objectSpread$7(
|
|
2221
|
+
function _typeof$7(o) { "@babel/helpers - typeof"; return _typeof$7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$7(o); }
|
|
2222
|
+
function ownKeys$7(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2223
|
+
function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$7(Object(t), !0).forEach(function (r) { _defineProperty$7(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$7(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2221
2224
|
function _defineProperty$7(obj, key, value) { key = _toPropertyKey$7(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2222
2225
|
function _toPropertyKey$7(arg) { var key = _toPrimitive$7(arg, "string"); return _typeof$7(key) === "symbol" ? key : String(key); }
|
|
2223
2226
|
function _toPrimitive$7(input, hint) { if (_typeof$7(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$7(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -2370,9 +2373,9 @@ var script$5 = {
|
|
|
2370
2373
|
}
|
|
2371
2374
|
};
|
|
2372
2375
|
|
|
2373
|
-
function _typeof$6(
|
|
2374
|
-
function ownKeys$6(
|
|
2375
|
-
function _objectSpread$6(
|
|
2376
|
+
function _typeof$6(o) { "@babel/helpers - typeof"; return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$6(o); }
|
|
2377
|
+
function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2378
|
+
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty$6(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2376
2379
|
function _defineProperty$6(obj, key, value) { key = _toPropertyKey$6(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2377
2380
|
function _toPropertyKey$6(arg) { var key = _toPrimitive$6(arg, "string"); return _typeof$6(key) === "symbol" ? key : String(key); }
|
|
2378
2381
|
function _toPrimitive$6(input, hint) { if (_typeof$6(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$6(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -2417,9 +2420,9 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2417
2420
|
|
|
2418
2421
|
script$5.render = render$5;
|
|
2419
2422
|
|
|
2420
|
-
function _typeof$5(
|
|
2421
|
-
function ownKeys$5(
|
|
2422
|
-
function _objectSpread$5(
|
|
2423
|
+
function _typeof$5(o) { "@babel/helpers - typeof"; return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$5(o); }
|
|
2424
|
+
function ownKeys$5(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2425
|
+
function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$5(Object(t), !0).forEach(function (r) { _defineProperty$5(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$5(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2423
2426
|
function _defineProperty$5(obj, key, value) { key = _toPropertyKey$5(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2424
2427
|
function _toPropertyKey$5(arg) { var key = _toPrimitive$5(arg, "string"); return _typeof$5(key) === "symbol" ? key : String(key); }
|
|
2425
2428
|
function _toPrimitive$5(input, hint) { if (_typeof$5(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$5(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -2957,9 +2960,9 @@ var script$4 = {
|
|
|
2957
2960
|
}
|
|
2958
2961
|
};
|
|
2959
2962
|
|
|
2960
|
-
function _typeof$4(
|
|
2961
|
-
function ownKeys$4(
|
|
2962
|
-
function _objectSpread$4(
|
|
2963
|
+
function _typeof$4(o) { "@babel/helpers - typeof"; return _typeof$4 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$4(o); }
|
|
2964
|
+
function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2965
|
+
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), !0).forEach(function (r) { _defineProperty$4(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2963
2966
|
function _defineProperty$4(obj, key, value) { key = _toPropertyKey$4(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2964
2967
|
function _toPropertyKey$4(arg) { var key = _toPrimitive$4(arg, "string"); return _typeof$4(key) === "symbol" ? key : String(key); }
|
|
2965
2968
|
function _toPrimitive$4(input, hint) { if (_typeof$4(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$4(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -3571,9 +3574,9 @@ var script$2 = {
|
|
|
3571
3574
|
}
|
|
3572
3575
|
};
|
|
3573
3576
|
|
|
3574
|
-
function _typeof$3(
|
|
3575
|
-
function ownKeys$3(
|
|
3576
|
-
function _objectSpread$3(
|
|
3577
|
+
function _typeof$3(o) { "@babel/helpers - typeof"; return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$3(o); }
|
|
3578
|
+
function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3579
|
+
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty$3(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3577
3580
|
function _defineProperty$3(obj, key, value) { key = _toPropertyKey$3(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3578
3581
|
function _toPropertyKey$3(arg) { var key = _toPrimitive$3(arg, "string"); return _typeof$3(key) === "symbol" ? key : String(key); }
|
|
3579
3582
|
function _toPrimitive$3(input, hint) { if (_typeof$3(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$3(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -3909,9 +3912,9 @@ var script$1 = {
|
|
|
3909
3912
|
}
|
|
3910
3913
|
};
|
|
3911
3914
|
|
|
3912
|
-
function _typeof$2(
|
|
3913
|
-
function ownKeys$2(
|
|
3914
|
-
function _objectSpread$2(
|
|
3915
|
+
function _typeof$2(o) { "@babel/helpers - typeof"; return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$2(o); }
|
|
3916
|
+
function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3917
|
+
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty$2(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3915
3918
|
function _defineProperty$2(obj, key, value) { key = _toPropertyKey$2(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3916
3919
|
function _toPropertyKey$2(arg) { var key = _toPrimitive$2(arg, "string"); return _typeof$2(key) === "symbol" ? key : String(key); }
|
|
3917
3920
|
function _toPrimitive$2(input, hint) { if (_typeof$2(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$2(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -4131,17 +4134,17 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4131
4134
|
|
|
4132
4135
|
script$1.render = render$1;
|
|
4133
4136
|
|
|
4134
|
-
function _typeof$1(
|
|
4135
|
-
function ownKeys$1(
|
|
4136
|
-
function _objectSpread$1(
|
|
4137
|
+
function _typeof$1(o) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$1(o); }
|
|
4138
|
+
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4139
|
+
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4137
4140
|
function _defineProperty$1(obj, key, value) { key = _toPropertyKey$1(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4138
4141
|
function _toPropertyKey$1(arg) { var key = _toPrimitive$1(arg, "string"); return _typeof$1(key) === "symbol" ? key : String(key); }
|
|
4139
4142
|
function _toPrimitive$1(input, hint) { if (_typeof$1(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$1(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4140
4143
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
4141
4144
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4142
|
-
function _iterableToArrayLimit(
|
|
4145
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
4143
4146
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
4144
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(
|
|
4147
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
4145
4148
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
4146
4149
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4147
4150
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
@@ -4214,9 +4217,12 @@ var script = {
|
|
|
4214
4217
|
this.updateExpandedRowKeys(newValue);
|
|
4215
4218
|
}
|
|
4216
4219
|
},
|
|
4217
|
-
editingRows:
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
+
editingRows: {
|
|
4221
|
+
deep: true,
|
|
4222
|
+
handler: function handler(newValue) {
|
|
4223
|
+
if (this.dataKey) {
|
|
4224
|
+
this.updateEditingRowKeys(newValue);
|
|
4225
|
+
}
|
|
4220
4226
|
}
|
|
4221
4227
|
},
|
|
4222
4228
|
filters: {
|
|
@@ -4995,8 +5001,8 @@ var script = {
|
|
|
4995
5001
|
data.forEach(function (record) {
|
|
4996
5002
|
csv += '\n';
|
|
4997
5003
|
var rowInitiated = false;
|
|
4998
|
-
for (var
|
|
4999
|
-
var _column = _this4.columns[
|
|
5004
|
+
for (var _i = 0; _i < _this4.columns.length; _i++) {
|
|
5005
|
+
var _column = _this4.columns[_i];
|
|
5000
5006
|
if (_this4.columnProp(_column, 'exportable') !== false && _this4.columnProp(_column, 'field')) {
|
|
5001
5007
|
if (rowInitiated) csv += _this4.csvSeparator;else rowInitiated = true;
|
|
5002
5008
|
var cellData = utils.ObjectUtils.resolveFieldData(record, _this4.columnProp(_column, 'field'));
|
|
@@ -5016,9 +5022,9 @@ var script = {
|
|
|
5016
5022
|
|
|
5017
5023
|
//footers
|
|
5018
5024
|
var footerInitiated = false;
|
|
5019
|
-
for (var
|
|
5020
|
-
var _column2 = this.columns[
|
|
5021
|
-
if (
|
|
5025
|
+
for (var _i2 = 0; _i2 < this.columns.length; _i2++) {
|
|
5026
|
+
var _column2 = this.columns[_i2];
|
|
5027
|
+
if (_i2 === 0) csv += '\n';
|
|
5022
5028
|
if (this.columnProp(_column2, 'exportable') !== false && this.columnProp(_column2, 'exportFooter')) {
|
|
5023
5029
|
if (footerInitiated) csv += this.csvSeparator;else footerInitiated = true;
|
|
5024
5030
|
csv += '"' + (this.columnProp(_column2, 'exportFooter') || this.columnProp(_column2, 'footer') || this.columnProp(_column2, 'field')) + '"';
|
|
@@ -5809,9 +5815,9 @@ var script = {
|
|
|
5809
5815
|
}
|
|
5810
5816
|
};
|
|
5811
5817
|
|
|
5812
|
-
function _typeof(
|
|
5813
|
-
function ownKeys(
|
|
5814
|
-
function _objectSpread(
|
|
5818
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
5819
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5820
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5815
5821
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5816
5822
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
5817
5823
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|