From 9206a657c1523b669a9e8bd4de112ff6af686390 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Wed, 18 Dec 2024 22:27:44 +0100 Subject: [PATCH] query store --- .../queryStore/CreateQueryStoreModal.vue | 78 ++++++++++++++++ .../queryStore/DeleteQueryStoreModal.vue | 72 +++++++++++++++ .../queryStore/QueryStoreListItem.vue | 54 +++++++++++ .../queryStore/UpdateQueryStoreModal.vue | 89 +++++++++++++++++++ src/components/queryBuilder/BuilderHost.vue | 51 ++++++++--- src/components/queryBuilder/Table.vue | 2 +- src/router/index.ts | 21 +---- src/stores/admin/queryBuilder.ts | 1 + src/stores/admin/queryStore.ts | 75 ++++++++++++++++ src/viewmodels/admin/query.models.ts | 15 +++- src/views/admin/club/query/Builder.vue | 9 +- src/views/admin/settings/QueryStore.vue | 57 ++++++++++++ 12 files changed, 490 insertions(+), 34 deletions(-) create mode 100644 src/components/admin/settings/queryStore/CreateQueryStoreModal.vue create mode 100644 src/components/admin/settings/queryStore/DeleteQueryStoreModal.vue create mode 100644 src/components/admin/settings/queryStore/QueryStoreListItem.vue create mode 100644 src/components/admin/settings/queryStore/UpdateQueryStoreModal.vue create mode 100644 src/stores/admin/queryStore.ts create mode 100644 src/views/admin/settings/QueryStore.vue diff --git a/src/components/admin/settings/queryStore/CreateQueryStoreModal.vue b/src/components/admin/settings/queryStore/CreateQueryStoreModal.vue new file mode 100644 index 0000000..158a948 --- /dev/null +++ b/src/components/admin/settings/queryStore/CreateQueryStoreModal.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/src/components/admin/settings/queryStore/DeleteQueryStoreModal.vue b/src/components/admin/settings/queryStore/DeleteQueryStoreModal.vue new file mode 100644 index 0000000..feff89b --- /dev/null +++ b/src/components/admin/settings/queryStore/DeleteQueryStoreModal.vue @@ -0,0 +1,72 @@ + + + + + diff --git a/src/components/admin/settings/queryStore/QueryStoreListItem.vue b/src/components/admin/settings/queryStore/QueryStoreListItem.vue new file mode 100644 index 0000000..9c4ddb4 --- /dev/null +++ b/src/components/admin/settings/queryStore/QueryStoreListItem.vue @@ -0,0 +1,54 @@ + + + + + diff --git a/src/components/admin/settings/queryStore/UpdateQueryStoreModal.vue b/src/components/admin/settings/queryStore/UpdateQueryStoreModal.vue new file mode 100644 index 0000000..bc30f32 --- /dev/null +++ b/src/components/admin/settings/queryStore/UpdateQueryStoreModal.vue @@ -0,0 +1,89 @@ + + + + + diff --git a/src/components/queryBuilder/BuilderHost.vue b/src/components/queryBuilder/BuilderHost.vue index 1416864..8f60407 100644 --- a/src/components/queryBuilder/BuilderHost.vue +++ b/src/components/queryBuilder/BuilderHost.vue @@ -8,13 +8,6 @@ > -
- -
+
+ +
+ +
+
+
@@ -52,7 +62,7 @@
@@ -72,7 +82,7 @@ diff --git a/src/views/admin/settings/QueryStore.vue b/src/views/admin/settings/QueryStore.vue new file mode 100644 index 0000000..d849f0c --- /dev/null +++ b/src/views/admin/settings/QueryStore.vue @@ -0,0 +1,57 @@ + + + + +