From d0962a218403d31b608c908aa27fd2c7a2191133 Mon Sep 17 00:00:00 2001 From: Gavin Jaeger-Freeborn Date: Fri, 1 Dec 2023 12:14:40 -0800 Subject: [PATCH 1/7] Add support toggling json view of schemas in CreateSchemaForm Signed-off-by: Gavin Jaeger-Freeborn --- .../src/components/common/ToggleJson.vue | 59 ++++++++ .../credentials/EnterCredentialValues.vue | 110 +++++---------- .../issuance/schemas/CreateSchemaForm.vue | 131 ++++++++++++------ .../frontend/src/helpers/jsonParsing.ts | 11 ++ 4 files changed, 189 insertions(+), 122 deletions(-) create mode 100644 services/tenant-ui/frontend/src/components/common/ToggleJson.vue create mode 100644 services/tenant-ui/frontend/src/helpers/jsonParsing.ts diff --git a/services/tenant-ui/frontend/src/components/common/ToggleJson.vue b/services/tenant-ui/frontend/src/components/common/ToggleJson.vue new file mode 100644 index 000000000..190f29268 --- /dev/null +++ b/services/tenant-ui/frontend/src/components/common/ToggleJson.vue @@ -0,0 +1,59 @@ +