From efefea2edd7c08be77acd3be68a019ff9da851ef Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Thu, 17 Sep 2020 15:19:11 +0300 Subject: [PATCH] Linting for v3... Lifecycle migration, remove .native, key for templates. --- src/components/autocomplete/AutoComplete.vue | 2 +- src/components/calendar/Calendar.vue | 2 +- src/components/carousel/Carousel.vue | 6 ++--- src/components/chart/Chart.vue | 2 +- src/components/colorpicker/ColorPicker.vue | 2 +- src/components/contextmenu/ContextMenu.vue | 2 +- src/components/contextmenu/ContextMenuSub.vue | 2 +- src/components/datatable/DataTable.vue | 24 +++++++++---------- src/components/dataview/DataView.vue | 16 ++++++------- .../deferredcontent/DeferredContent.vue | 2 +- src/components/dialog/Dialog.vue | 2 +- src/components/dropdown/Dropdown.vue | 4 ++-- src/components/editor/Editor.vue | 2 +- src/components/fileupload/FileUpload.vue | 2 +- src/components/fullcalendar/FullCalendar.vue | 2 +- src/components/galleria/Galleria.vue | 6 ++--- src/components/galleria/GalleriaContent.vue | 10 ++++---- .../galleria/GalleriaThumbnails.vue | 2 +- .../inlinemessage/InlineMessage.vue | 2 +- src/components/megamenu/MegaMenu.vue | 4 ++-- src/components/menu/Menu.vue | 4 ++-- src/components/menubar/Menubar.vue | 2 +- src/components/menubar/MenubarSub.vue | 4 ++-- src/components/multiselect/MultiSelect.vue | 4 ++-- src/components/orderlist/OrderList.vue | 4 ++-- .../organizationchart/OrganizationChart.vue | 2 +- .../OrganizationChartNode.vue | 6 ++--- src/components/overlaypanel/OverlayPanel.vue | 2 +- src/components/paginator/Paginator.vue | 4 ++-- src/components/panelmenu/PanelMenuSub.vue | 2 +- src/components/picklist/PickList.vue | 8 +++---- src/components/scrollpanel/ScrollPanel.vue | 2 +- src/components/sidebar/Sidebar.vue | 2 +- src/components/slider/Slider.vue | 2 +- src/components/steps/Steps.vue | 2 +- src/components/tabmenu/TabMenu.vue | 2 +- src/components/tabpanel/TabPanel.vue | 2 +- src/components/terminal/Terminal.vue | 2 +- src/components/tieredmenu/TieredMenu.vue | 2 +- src/components/tieredmenu/TieredMenuSub.vue | 4 ++-- src/components/tree/Tree.vue | 2 +- src/components/treetable/TreeTable.vue | 16 ++++++------- src/components/utils/DomHandler.js | 4 ++-- src/views/Home.vue | 2 +- src/views/accordion/AccordionDemo.vue | 6 ++--- src/views/card/CardDemo.vue | 14 +++++------ src/views/chart/BarChartDemo.vue | 2 +- src/views/chart/ComboChartDemo.vue | 2 +- src/views/chart/DoughnutChartDemo.vue | 2 +- src/views/chart/LineChartDemo.vue | 2 +- src/views/chart/PieChartDemo.vue | 2 +- src/views/chart/PolarAreaChartDemo.vue | 2 +- src/views/chart/RadarChartDemo.vue | 2 +- .../datatable/DataTableContextMenuDemo.vue | 2 +- src/views/datatable/DataTableCrudDemo.vue | 12 +++++----- src/views/datatable/DataTableDemo.vue | 12 +++++----- src/views/datatable/DataTableDoc.vue | 14 +++++------ src/views/datatable/DataTableEditDemo.vue | 4 ++-- src/views/datatable/DataTableFilterDemo.vue | 10 ++++---- .../datatable/DataTableResponsiveDemo.vue | 4 ++-- .../datatable/DataTableRowExpandDemo.vue | 2 +- src/views/datatable/DataTableRowGroupDemo.vue | 2 +- src/views/datatable/DataTableScrollDemo.vue | 2 +- .../datatable/DataTableSelectionDemo.vue | 12 +++++----- src/views/datatable/DataTableStateDemo.vue | 8 +++---- src/views/datatable/DataTableStyleDemo.vue | 4 ++-- src/views/dataview/DataViewDemo.vue | 4 ++-- src/views/dialog/DialogDemo.vue | 12 +++++----- src/views/editor/EditorDemo.vue | 2 +- src/views/galleria/GalleriaAdvancedDemo.vue | 2 +- src/views/galleria/GalleriaFullScreenDemo.vue | 8 +++---- .../galleria/GalleriaProgrammaticDemo.vue | 2 +- src/views/multiselect/MultiSelectDemo.vue | 2 +- src/views/multiselect/MultiSelectDoc.vue | 2 +- .../OrganizationChartDemo.vue | 4 ++-- .../OrganizationChartDoc.vue | 2 +- src/views/overlaypanel/OverlayPanelDemo.vue | 2 +- src/views/paginator/PaginatorDemo.vue | 2 +- src/views/progressbar/ProgressBarDemo.vue | 2 +- src/views/progressbar/ProgressBarDoc.vue | 2 +- src/views/ripple/RippleDemo.vue | 2 +- src/views/ripple/RippleDoc.vue | 2 +- src/views/scrollpanel/ScrollPanelDemo.vue | 2 +- src/views/scrollpanel/ScrollPanelDoc.vue | 2 +- src/views/sidebar/SidebarDemo.vue | 10 ++++---- src/views/steps/ConfirmationDemo.vue | 6 ++--- src/views/steps/PaymentDemo.vue | 8 +++---- src/views/steps/PersonalDemo.vue | 8 +++---- src/views/steps/SeatDemo.vue | 8 +++---- src/views/steps/StepsDemo.vue | 4 ++-- src/views/support/Support.vue | 2 +- src/views/tabmenu/TabMenuDemo.vue | 2 +- src/views/tabview/TabViewDemo.vue | 8 +++---- src/views/terminal/TerminalDemo.vue | 4 ++-- src/views/terminal/TerminalDoc.vue | 6 ++--- src/views/theming/Theming.vue | 2 +- src/views/toolbar/ToolbarDemo.vue | 4 ++-- src/views/tree/TreeSelectionDemo.vue | 10 ++++---- src/views/tree/TreeTemplatingDemo.vue | 2 +- src/views/treetable/TreeTableDoc.vue | 2 +- .../treetable/TreeTableResponsiveDemo.vue | 4 ++-- .../treetable/TreeTableSelectionDemo.vue | 10 ++++---- 102 files changed, 230 insertions(+), 230 deletions(-) diff --git a/src/components/autocomplete/AutoComplete.vue b/src/components/autocomplete/AutoComplete.vue index ecd1ec6d8..5ef4a27de 100755 --- a/src/components/autocomplete/AutoComplete.vue +++ b/src/components/autocomplete/AutoComplete.vue @@ -103,7 +103,7 @@ export default { } } }, - beforeDestroy() { + beforeUnmount() { this.restoreAppend(); this.unbindOutsideClickListener(); }, diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index 1790fd1f8..9c195ede8 100755 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -330,7 +330,7 @@ export default { this.selectionEnd = null; } }, - beforeDestroy() { + beforeUnmount() { if (this.timePickerTimer) { clearTimeout(this.timePickerTimer); } diff --git a/src/components/carousel/Carousel.vue b/src/components/carousel/Carousel.vue index bf0943030..18f69382c 100755 --- a/src/components/carousel/Carousel.vue +++ b/src/components/carousel/Carousel.vue @@ -1,6 +1,6 @@