From 1139035e4583310d6c4d6bb4b17453414758081a Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 14 Mar 2025 09:13:45 +0100 Subject: [PATCH] refactor: refs #8463 replace CardDescriptor with EntityDescriptor in multiple components --- src/components/common/VnCard.vue | 4 +- src/components/ui/CardDescriptor.vue | 78 +++++-------------- src/components/ui/CardDescriptorBeta.vue | 38 --------- src/components/ui/EntityDescriptor.vue | 78 +++++++++++++++++++ src/components/ui/VnDescriptor.vue | 6 +- .../Account/Alias/Card/AliasDescriptor.vue | 6 +- src/pages/Account/Card/AccountDescriptor.vue | 6 +- .../Account/Role/Card/RoleDescriptor.vue | 6 +- src/pages/Claim/Card/ClaimDescriptor.vue | 6 +- .../Customer/Card/CustomerDescriptor.vue | 6 +- src/pages/Entry/Card/EntryDescriptor.vue | 6 +- .../InvoiceIn/Card/InvoiceInDescriptor.vue | 6 +- .../InvoiceOut/Card/InvoiceOutDescriptor.vue | 6 +- src/pages/Item/Card/ItemDescriptor.vue | 6 +- .../Item/ItemType/Card/ItemTypeDescriptor.vue | 6 +- src/pages/Order/Card/OrderDescriptor.vue | 6 +- .../Route/Agency/Card/AgencyDescriptor.vue | 6 +- src/pages/Route/Card/RouteDescriptor.vue | 6 +- src/pages/Route/Roadmap/RoadmapDescriptor.vue | 6 +- .../Route/Vehicle/Card/VehicleDescriptor.vue | 6 +- .../Shelving/Card/ShelvingDescriptor.vue | 6 +- .../Parking/Card/ParkingDescriptor.vue | 6 +- .../Supplier/Card/SupplierDescriptor.vue | 6 +- src/pages/Ticket/Card/TicketDescriptor.vue | 6 +- src/pages/Travel/Card/TravelDescriptor.vue | 6 +- src/pages/Worker/Card/WorkerDescriptor.vue | 6 +- .../Department/Card/DepartmentDescriptor.vue | 6 +- src/pages/Zone/Card/ZoneDescriptor.vue | 6 +- 28 files changed, 171 insertions(+), 171 deletions(-) delete mode 100644 src/components/ui/CardDescriptorBeta.vue create mode 100644 src/components/ui/EntityDescriptor.vue diff --git a/src/components/common/VnCard.vue b/src/components/common/VnCard.vue index 4848f1490..21cdc9df5 100644 --- a/src/components/common/VnCard.vue +++ b/src/components/common/VnCard.vue @@ -73,10 +73,10 @@ function hasRouteParam(params, valueToCheck = ':addressId') { } diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index a5dced551..5f9a89d64 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -1,76 +1,36 @@