From 907bf3cf3bccb541cd24e17d2ca7ff25a7297d88 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 2 Dec 2024 11:39:01 +0100 Subject: [PATCH 01/41] feat(Account & AccountRole): refs #8197 add VnCardMain --- src/components/common/VnCard.vue | 34 ++--- src/components/common/VnCardMain.vue | 20 +++ src/components/common/VnSectionMain.vue | 3 +- src/composables/useArrayData.js | 9 +- src/pages/Account/AccountList.vue | 56 ++++---- src/pages/Account/Card/AccountCard.vue | 14 +- src/pages/Account/Role/AccountRoles.vue | 63 +++++---- src/pages/Account/Role/Card/RoleCard.vue | 15 +-- .../Account/Role/Card/RoleDescriptor.vue | 2 +- src/pages/Account/Role/Card/RoleSummary.vue | 4 +- src/router/modules/account.js | 120 ++++-------------- src/router/modules/account/accountCard.js | 71 +++++++++++ src/router/modules/account/roleCard.js | 54 ++++++++ src/router/modules/index.js | 2 - src/router/modules/role.js | 76 ----------- src/router/routes.js | 2 - src/utils/getSections.js | 8 ++ 17 files changed, 266 insertions(+), 287 deletions(-) create mode 100644 src/components/common/VnCardMain.vue create mode 100644 src/router/modules/account/accountCard.js create mode 100644 src/router/modules/account/roleCard.js delete mode 100644 src/router/modules/role.js create mode 100644 src/utils/getSections.js diff --git a/src/components/common/VnCard.vue b/src/components/common/VnCard.vue index 0d80f43ce..88d374c74 100644 --- a/src/components/common/VnCard.vue +++ b/src/components/common/VnCard.vue @@ -59,32 +59,16 @@ if (props.baseUrl) { } diff --git a/src/components/common/VnCardMain.vue b/src/components/common/VnCardMain.vue new file mode 100644 index 000000000..6e0231537 --- /dev/null +++ b/src/components/common/VnCardMain.vue @@ -0,0 +1,20 @@ + + diff --git a/src/components/common/VnSectionMain.vue b/src/components/common/VnSectionMain.vue index 15be6ad9a..c1b9808b5 100644 --- a/src/components/common/VnSectionMain.vue +++ b/src/components/common/VnSectionMain.vue @@ -1,6 +1,5 @@