From c53b6e24208589b40aabadfd7fa81827c16feab8 Mon Sep 17 00:00:00 2001 From: Sebastian Eicke Date: Wed, 19 Feb 2025 10:13:39 +0100 Subject: [PATCH 1/6] Improves client functions with provided id --- .../src/components/AppNavigation/AASList.vue | 89 +++++------ .../AppNavigation/AASListDetails.vue | 18 +-- .../components/AppNavigation/UploadAAS.vue | 4 +- .../EditorComponents/DeleteDialog.vue | 6 +- .../EditorComponents/SubmodelForm.vue | 8 +- .../src/components/SubmodelElementView.vue | 31 +--- .../SubmodelElements/ReferenceElement.vue | 4 +- .../SubmodelElements/RelationshipElement.vue | 4 +- aas-web-ui/src/components/SubmodelList.vue | 3 +- aas-web-ui/src/components/SubmodelTree.vue | 19 ++- aas-web-ui/src/composables/AAS/AASHandling.ts | 143 +++++++++++++++--- ...ferenceUtils.ts => ReferenceComposable.ts} | 56 ++----- aas-web-ui/src/composables/AAS/SMHandling.ts | 107 +++++-------- .../ContactInformation_v1_0Utils.ts | 5 +- .../TechnicalData_v1_2Utils.ts | 6 +- .../composables/Client/AASDiscoveryClient.ts | 4 +- .../composables/Client/AASRegistryClient.ts | 51 ++----- .../composables/Client/AASRepositoryClient.ts | 121 +++++---------- .../composables/Client/SMRegistryClient.ts | 47 +----- .../composables/Client/SMRepositoryClient.ts | 102 +++++-------- aas-web-ui/src/composables/JumpHandling.ts | 26 ++-- aas-web-ui/src/utils/AAS/ReferenceUtil.ts | 29 ++++ 22 files changed, 394 insertions(+), 489 deletions(-) rename aas-web-ui/src/composables/AAS/{ReferenceUtils.ts => ReferenceComposable.ts} (81%) create mode 100644 aas-web-ui/src/utils/AAS/ReferenceUtil.ts diff --git a/aas-web-ui/src/components/AppNavigation/AASList.vue b/aas-web-ui/src/components/AppNavigation/AASList.vue index c576937c..f1eb9d2f 100644 --- a/aas-web-ui/src/components/AppNavigation/AASList.vue +++ b/aas-web-ui/src/components/AppNavigation/AASList.vue @@ -30,7 +30,7 @@ hide-details label="Search for AAS..." clearable - @update:model-value="filterAasDescriptorList"> + @update:model-value="filterAasList"> @@ -118,11 +118,7 @@