From 7414ad6e10790e8164e87fae0d50709d699e9109 Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 11 Apr 2023 13:31:03 +0200 Subject: [PATCH] Convert to pascal Refs #5383 --- quasar.config.js | 4 +- src/App.vue | 2 +- src/components/FormModel.vue | 22 +- src/components/LeftMenu.vue | 70 +- src/components/LeftMenuItem.vue | 18 +- src/components/LeftMenuItemGroup.vue | 18 +- src/components/NavBar.vue | 68 +- src/components/PinnedModules.vue | 24 +- src/components/UserPanel.vue | 22 +- src/components/common/SendEmailDialog.vue | 34 +- src/components/common/VnSmsDialog.vue | 66 +- src/components/common/vnDiscount.vue | 18 +- src/components/ui/CardDescriptor.vue | 62 +- src/components/ui/CardSummary.vue | 6 +- src/components/ui/SkeletonDescriptor.vue | 22 +- src/components/ui/SkeletonForm.vue | 16 +- src/components/ui/SkeletonSummary.vue | 62 +- src/components/ui/VnConfirm.vue | 30 +- src/components/ui/VnFilterPanel.vue | 64 +- src/components/ui/VnPaginate.vue | 40 +- src/components/ui/VnSearchbar.vue | 18 +- src/layouts/MainLayout.vue | 8 +- src/pages/Claim/Card/ClaimBasicData.vue | 52 +- src/pages/Claim/Card/ClaimCard.vue | 24 +- src/pages/Claim/Card/ClaimDescriptor.vue | 80 +-- src/pages/Claim/Card/ClaimDescriptorMenu.vue | 66 +- src/pages/Claim/Card/ClaimLines.vue | 131 ++-- src/pages/Claim/Card/ClaimLinesImport.vue | 37 +- src/pages/Claim/Card/ClaimLog.vue | 48 +- src/pages/Claim/Card/ClaimLogFilter.vue | 28 +- src/pages/Claim/Card/ClaimPhoto.vue | 82 +-- src/pages/Claim/Card/ClaimRma.vue | 90 +-- src/pages/Claim/Card/ClaimSummary.vue | 100 ++- src/pages/Claim/Card/ClaimSummaryDialog.vue | 6 +- src/pages/Claim/ClaimFilter.vue | 138 ++-- src/pages/Claim/ClaimList.vue | 177 ++--- src/pages/Claim/ClaimMain.vue | 14 +- src/pages/Claim/ClaimRmaList.vue | 111 ++- src/pages/Customer/Card/CustomerBasicData.vue | 32 +- src/pages/Customer/Card/CustomerCard.vue | 22 +- .../Customer/Card/CustomerDescriptor.vue | 136 ++-- .../Customer/Card/CustomerDescriptorProxy.vue | 4 +- src/pages/Customer/Card/CustomerSummary.vue | 674 +++++++++--------- .../Customer/Card/CustomerSummaryDialog.vue | 6 +- src/pages/Customer/CustomerCreate.vue | 26 +- src/pages/Customer/CustomerFilter.vue | 154 ++-- src/pages/Customer/CustomerList.vue | 138 ++-- src/pages/Customer/CustomerMain.vue | 14 +- src/pages/Customer/CustomerPayments.vue | 136 ++-- src/pages/Customer/CustomerPaymentsFilter.vue | 46 +- src/pages/Dashboard/DashboardMain.vue | 24 +- src/pages/InvoiceOut/Card/InvoiceOutCard.vue | 22 +- .../InvoiceOut/Card/InvoiceOutDescriptor.vue | 76 +- .../Card/InvoiceOutDescriptorProxy.vue | 4 +- .../InvoiceOut/Card/InvoiceOutSummary.vue | 116 +-- .../Card/InvoiceOutSummaryDialog.vue | 6 +- src/pages/InvoiceOut/InvoiceOutFilter.vue | 174 ++--- src/pages/InvoiceOut/InvoiceOutList.vue | 152 ++-- src/pages/InvoiceOut/InvoiceOutMain.vue | 14 +- src/pages/Login/LoginMain.vue | 78 +- src/pages/NotFound.vue | 8 +- src/pages/Ticket/Card/TicketBasicData.vue | 4 +- src/pages/Ticket/Card/TicketBoxing.vue | 101 +-- src/pages/Ticket/Card/TicketCard.vue | 22 +- src/pages/Ticket/Card/TicketDescriptor.vue | 108 +-- .../Ticket/Card/TicketDescriptorMenu.vue | 158 ++-- .../Ticket/Card/TicketDescriptorProxy.vue | 4 +- src/pages/Ticket/Card/TicketSummary.vue | 656 +++++++++-------- src/pages/Ticket/Card/TicketSummaryDialog.vue | 6 +- src/pages/Ticket/TicketFilter.vue | 224 +++--- src/pages/Ticket/TicketList.vue | 154 ++-- src/pages/Ticket/TicketMain.vue | 14 +- src/pages/Worker/Card/WorkerCard.vue | 22 +- src/pages/Worker/Card/WorkerDescriptor.vue | 86 +-- .../Worker/Card/WorkerDescriptorProxy.vue | 4 +- src/pages/Worker/Card/WorkerSummary.vue | 210 +++--- src/pages/Worker/Card/WorkerSummaryDialog.vue | 6 +- src/pages/Worker/WorkerFilter.vue | 76 +- src/pages/Worker/WorkerList.vue | 116 ++- src/pages/Worker/WorkerMain.vue | 14 +- src/router/modules/invoiceOut.js | 5 +- test/cypress/wrappers/LayoutContainer.vue | 4 +- .../pages/Customer/CustomerPayments.spec.js | 2 +- vitest.config.js | 5 +- 84 files changed, 2979 insertions(+), 2962 deletions(-) diff --git a/quasar.config.js b/quasar.config.js index e9f7a1929..cbcbae4dc 100644 --- a/quasar.config.js +++ b/quasar.config.js @@ -140,8 +140,8 @@ module.exports = configure(function (/* ctx */) { // Quasar plugins plugins: ['Notify', 'Dialog'], - //all: 'auto', - //autoImportComponentCase: 'pascal', + all: 'auto', + autoImportComponentCase: 'pascal', }, // animations: 'all', // --- includes all animations diff --git a/src/App.vue b/src/App.vue index 650a979d8..8e9bea2e4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -36,7 +36,7 @@ quasar.iconMapFn = (iconName) => { diff --git a/src/pages/Claim/Card/ClaimBasicData.vue b/src/pages/Claim/Card/ClaimBasicData.vue index f8ba29819..87a5dd8bb 100644 --- a/src/pages/Claim/Card/ClaimBasicData.vue +++ b/src/pages/Claim/Card/ClaimBasicData.vue @@ -73,17 +73,17 @@ const statesFilter = { }; - - + + diff --git a/src/pages/Claim/Card/ClaimCard.vue b/src/pages/Claim/Card/ClaimCard.vue index fd827ca65..2c878b74b 100644 --- a/src/pages/Claim/Card/ClaimCard.vue +++ b/src/pages/Claim/Card/ClaimCard.vue @@ -17,18 +17,18 @@ const { t } = useI18n(); :info="t('You can search by claim id or customer name')" /> - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/src/pages/Claim/Card/ClaimDescriptor.vue b/src/pages/Claim/Card/ClaimDescriptor.vue index a0e68b0ae..baba66e2a 100644 --- a/src/pages/Claim/Card/ClaimDescriptor.vue +++ b/src/pages/Claim/Card/ClaimDescriptor.vue @@ -47,77 +47,77 @@ function stateColor(code) { diff --git a/src/pages/Claim/Card/ClaimDescriptorMenu.vue b/src/pages/Claim/Card/ClaimDescriptorMenu.vue index bd1efe0ce..5688613d6 100644 --- a/src/pages/Claim/Card/ClaimDescriptorMenu.vue +++ b/src/pages/Claim/Card/ClaimDescriptorMenu.vue @@ -69,43 +69,43 @@ async function remove() { await axios.delete(`Claims/${id}`); quasar.notify({ message: t('globals.dataDeleted'), - type: 'positive' + type: 'positive', }); } diff --git a/src/pages/Claim/Card/ClaimLines.vue b/src/pages/Claim/Card/ClaimLines.vue index ddb0f7561..6bd8dc21f 100644 --- a/src/pages/Claim/Card/ClaimLines.vue +++ b/src/pages/Claim/Card/ClaimLines.vue @@ -191,29 +191,29 @@ function showImportDialog() { } diff --git a/src/pages/Customer/Card/CustomerSummaryDialog.vue b/src/pages/Customer/Card/CustomerSummaryDialog.vue index d40d99d1b..d9571ac54 100644 --- a/src/pages/Customer/Card/CustomerSummaryDialog.vue +++ b/src/pages/Customer/Card/CustomerSummaryDialog.vue @@ -15,9 +15,9 @@ const { dialogRef, onDialogHide } = useDialogPluginComponent();