From 62a418cacc013c33d6659de05bc037b8a7bf8dad Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Sun, 18 Sep 2022 18:54:42 +0530 Subject: [PATCH 1/5] refactor: move field styling to Base.vue --- src/components/Controls/AutoComplete.vue | 5 +- src/components/Controls/Base.vue | 59 +++++++++++++++++++----- src/components/Controls/Check.vue | 5 +- src/components/Controls/Color.vue | 9 ++-- src/components/Controls/Currency.vue | 8 ++-- src/components/Controls/Date.vue | 4 +- src/components/Controls/Select.vue | 6 +-- src/components/Controls/TableRow.vue | 2 +- src/components/Controls/Text.vue | 4 +- src/pages/InvoiceForm.vue | 55 ++++------------------ src/pages/JournalEntryForm.vue | 13 +++--- src/utils/doc.ts | 33 +++++++------ 12 files changed, 104 insertions(+), 99 deletions(-) diff --git a/src/components/Controls/AutoComplete.vue b/src/components/Controls/AutoComplete.vue index 04f2860a..3ca44b7f 100644 --- a/src/components/Controls/AutoComplete.vue +++ b/src/components/Controls/AutoComplete.vue @@ -8,17 +8,18 @@ selectHighlightedItem, }" > -
+
{{ df.label }}
-
+
{{ df.label }}
-
+