diff --git a/src/components/queryBuilder/BuilderHost.vue b/src/components/queryBuilder/BuilderHost.vue index b2924de..331bda1 100644 --- a/src/components/queryBuilder/BuilderHost.vue +++ b/src/components/queryBuilder/BuilderHost.vue @@ -1,18 +1,18 @@ @@ -23,12 +23,13 @@ import { mapActions, mapState } from "pinia"; import type { DynamicQueryStructure } from "../../types/dynamicQueries"; import { InboxArrowDownIcon, NoSymbolIcon, PlayIcon } from "@heroicons/vue/24/outline"; import { useQueryBuilderStore } from "../../stores/admin/queryBuilder"; +import Table from "./Table.vue"; + + diff --git a/src/components/queryBuilder/Join.vue b/src/components/queryBuilder/Join.vue new file mode 100644 index 0000000..1c5c3c1 --- /dev/null +++ b/src/components/queryBuilder/Join.vue @@ -0,0 +1,38 @@ + + + + + diff --git a/src/components/queryBuilder/Order.vue b/src/components/queryBuilder/Order.vue new file mode 100644 index 0000000..f664809 --- /dev/null +++ b/src/components/queryBuilder/Order.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/src/components/queryBuilder/Table.vue b/src/components/queryBuilder/Table.vue new file mode 100644 index 0000000..9e4eba6 --- /dev/null +++ b/src/components/queryBuilder/Table.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/src/components/queryBuilder/TableSelect.vue b/src/components/queryBuilder/TableSelect.vue new file mode 100644 index 0000000..d550dcf --- /dev/null +++ b/src/components/queryBuilder/TableSelect.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/src/components/queryBuilder/Where.vue b/src/components/queryBuilder/Where.vue new file mode 100644 index 0000000..2b4332a --- /dev/null +++ b/src/components/queryBuilder/Where.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/src/main.css b/src/main.css index c96daca..4cd20c5 100644 --- a/src/main.css +++ b/src/main.css @@ -79,17 +79,20 @@ a[button].disabled { } input:not([type="checkbox"]), -textarea { +textarea, +select { @apply rounded-md shadow-sm relative block w-full px-3 py-2 border border-gray-300 focus:border-primary placeholder-gray-500 text-gray-900 rounded-b-md focus:outline-none focus:ring-0 focus:z-10 sm:text-sm resize-none; } input[readonly], -textarea[readonly] { +textarea[readonly], +select[readonly] { @apply pointer-events-none; } input[disabled], -textarea[disabled] { +textarea[disabled], +select[disabled] { @apply opacity-75 pointer-events-none; } diff --git a/src/views/admin/club/query/Builder.vue b/src/views/admin/club/query/Builder.vue index 0c8d8ce..6ea58cf 100644 --- a/src/views/admin/club/query/Builder.vue +++ b/src/views/admin/club/query/Builder.vue @@ -7,7 +7,7 @@