From 071d7c8988723a05f2f0737a66486019b3f657d1 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Fri, 22 Nov 2024 19:19:55 +1100 Subject: [PATCH] Implement accounts combobox --- src/components/BalanceAssertionEditor.vue | 6 +-- src/components/ComboBox.vue | 53 +++++++++++++++++++++++ src/components/ComboBoxAccounts.vue | 46 ++++++++++++++++++++ src/components/TransactionEditor.vue | 6 +-- src/pages/ImportStatementView.vue | 7 +-- 5 files changed, 105 insertions(+), 13 deletions(-) create mode 100644 src/components/ComboBox.vue create mode 100644 src/components/ComboBoxAccounts.vue diff --git a/src/components/BalanceAssertionEditor.vue b/src/components/BalanceAssertionEditor.vue index bf074d9..9f56414 100644 --- a/src/components/BalanceAssertionEditor.vue +++ b/src/components/BalanceAssertionEditor.vue @@ -27,10 +27,7 @@ -
- - -
+
@@ -61,6 +58,7 @@ import { defineProps } from 'vue'; import { DT_FORMAT, db, deserialiseAmount } from '../db.ts'; + import ComboBoxAccounts from './ComboBoxAccounts.vue'; export interface EditingAssertion { id: number | null, diff --git a/src/components/ComboBox.vue b/src/components/ComboBox.vue new file mode 100644 index 0000000..9ac4166 --- /dev/null +++ b/src/components/ComboBox.vue @@ -0,0 +1,53 @@ + + + + + diff --git a/src/components/ComboBoxAccounts.vue b/src/components/ComboBoxAccounts.vue new file mode 100644 index 0000000..f22f4dd --- /dev/null +++ b/src/components/ComboBoxAccounts.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/src/components/TransactionEditor.vue b/src/components/TransactionEditor.vue index 14cff03..8f9f571 100644 --- a/src/components/TransactionEditor.vue +++ b/src/components/TransactionEditor.vue @@ -49,10 +49,7 @@
-
- - -
+