From 50486990dd9b4a6381f956ee3d4f6210c6f67928 Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 8 Nov 2022 13:36:22 +0100 Subject: [PATCH] Modules cards --- src/components/ui/CardDescriptor.vue | 59 +++-- src/css/app.scss | 9 + src/i18n/en/index.js | 7 +- src/i18n/es/index.js | 5 +- src/pages/Claim/Card/ClaimCard.vue | 203 +----------------- src/pages/Claim/Card/ClaimDescriptor.vue | 118 ++++++++++ src/pages/Claim/ClaimList.vue | 26 ++- src/pages/Customer/Card/CustomerCard.vue | 165 +------------- .../Customer/Card/CustomerDescriptor.vue | 111 ++++++++++ .../Card/CustomerDescriptorPopover.vue | 15 ++ src/pages/Ticket/Card/TicketCard.vue | 141 +----------- src/pages/Ticket/Card/TicketDescriptor.vue | 109 ++++++++++ .../Ticket/Card/TicketDescriptorPopover.vue | 15 ++ 13 files changed, 454 insertions(+), 529 deletions(-) create mode 100644 src/pages/Customer/Card/CustomerDescriptor.vue create mode 100644 src/pages/Customer/Card/CustomerDescriptorPopover.vue create mode 100644 src/pages/Ticket/Card/TicketDescriptor.vue create mode 100644 src/pages/Ticket/Card/TicketDescriptorPopover.vue diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index e8fc2c675..34575cfb4 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -1,39 +1,41 @@ + + diff --git a/src/pages/Customer/Card/CustomerDescriptor.vue b/src/pages/Customer/Card/CustomerDescriptor.vue new file mode 100644 index 000000000..3f125a836 --- /dev/null +++ b/src/pages/Customer/Card/CustomerDescriptor.vue @@ -0,0 +1,111 @@ + + + diff --git a/src/pages/Customer/Card/CustomerDescriptorPopover.vue b/src/pages/Customer/Card/CustomerDescriptorPopover.vue new file mode 100644 index 000000000..78d1c5801 --- /dev/null +++ b/src/pages/Customer/Card/CustomerDescriptorPopover.vue @@ -0,0 +1,15 @@ + + diff --git a/src/pages/Ticket/Card/TicketCard.vue b/src/pages/Ticket/Card/TicketCard.vue index 0e7ec6193..b5645c8cf 100644 --- a/src/pages/Ticket/Card/TicketCard.vue +++ b/src/pages/Ticket/Card/TicketCard.vue @@ -1,151 +1,16 @@