diff --git a/web/.eslintrc.js b/web/.eslintrc.js
index 09e832e..3bfbf89 100644
--- a/web/.eslintrc.js
+++ b/web/.eslintrc.js
@@ -1,17 +1,17 @@
module.exports = {
- extends: [
- // add more generic rulesets here, such as:
- // 'eslint:recommended',
- "plugin:vue/vue3-recommended",
- // 'plugin:vue/recommended' // Use this if you are using Vue.js 2.x.
- ],
- rules: {
- // override/add rules settings here, such as:
- // 'vue/no-unused-vars': 'error'
- },
- parser: "vue-eslint-parser",
- parserOptions: {
- parser: "@typescript-eslint/parser",
- sourceType: "module",
- },
+ extends: [
+ // add more generic rulesets here, such as:
+ // 'eslint:recommended',
+ "plugin:vue/vue3-recommended",
+ // 'plugin:vue/recommended' // Use this if you are using Vue.js 2.x.
+ ],
+ rules: {
+ // override/add rules settings here, such as:
+ // 'vue/no-unused-vars': 'error'
+ },
+ parser: "vue-eslint-parser",
+ parserOptions: {
+ parser: "@typescript-eslint/parser",
+ sourceType: "module",
+ },
};
diff --git a/web/index.html b/web/index.html
index 506228f..bf743a6 100644
--- a/web/index.html
+++ b/web/index.html
@@ -1,14 +1,14 @@
-
-
-
-
- Vite App
-
-
-
-
-
+
+
+
+
+ Vite App
+
+
+
+
+
diff --git a/web/package.json b/web/package.json
index 335cbc4..ff2a578 100644
--- a/web/package.json
+++ b/web/package.json
@@ -1,43 +1,43 @@
{
- "name": "web",
- "version": "0.0.0",
- "scripts": {
- "serve": "vite preview",
- "build": "vite build",
- "dev": "vite",
- "preview": "vite preview"
- },
- "dependencies": {
- "@mdi/font": "5.9.55",
- "@vueuse/core": "^7.6.1",
- "autoprefixer": "^10.4.2",
- "file-saver": "^2.0.5",
- "pinia": "^2.0.11",
- "postcss": "^8.4.6",
- "tailwindcss": "^3.0.18",
- "vue": "^3.2.25",
- "vue-router": "^4.0.12"
- },
- "devDependencies": {
- "@types/file-saver": "^2.0.5",
- "@typescript-eslint/parser": "^5.13.0",
- "@vitejs/plugin-vue": "^2.0.0",
- "@vue/cli-plugin-babel": "5.0.0-beta.7",
- "@vue/cli-plugin-typescript": "~4.5.0",
- "@vue/cli-service": "5.0.0-beta.7",
- "eslint": "^8.10.0",
- "eslint-plugin-vue": "^8.5.0",
- "prettier": "2.5.1",
- "sass": "^1.38.0",
- "sass-loader": "^10.0.0",
- "typescript": "^4.5.5",
- "vite": "^2.7.2",
- "vue-tsc": "^0.32.0"
- },
- "prettier": {
- "bracketSameLine": true,
- "embeddedLanguageFormatting": "off",
- "tabWidth": 4,
- "useTabs": true
- }
+ "name": "web",
+ "version": "0.0.0",
+ "scripts": {
+ "serve": "vite preview",
+ "build": "vite build",
+ "dev": "vite",
+ "preview": "vite preview"
+ },
+ "dependencies": {
+ "@mdi/font": "5.9.55",
+ "@vueuse/core": "^7.6.1",
+ "autoprefixer": "^10.4.2",
+ "file-saver": "^2.0.5",
+ "pinia": "^2.0.11",
+ "postcss": "^8.4.6",
+ "tailwindcss": "^3.0.18",
+ "vue": "^3.2.25",
+ "vue-router": "^4.0.12"
+ },
+ "devDependencies": {
+ "@types/file-saver": "^2.0.5",
+ "@typescript-eslint/parser": "^5.13.0",
+ "@vitejs/plugin-vue": "^2.0.0",
+ "@vue/cli-plugin-babel": "5.0.0-beta.7",
+ "@vue/cli-plugin-typescript": "~4.5.0",
+ "@vue/cli-service": "5.0.0-beta.7",
+ "eslint": "^8.10.0",
+ "eslint-plugin-vue": "^8.5.0",
+ "prettier": "2.5.1",
+ "sass": "^1.38.0",
+ "sass-loader": "^10.0.0",
+ "typescript": "^4.5.5",
+ "vite": "^2.7.2",
+ "vue-tsc": "^0.32.0"
+ },
+ "prettier": {
+ "bracketSameLine": true,
+ "embeddedLanguageFormatting": "off",
+ "tabWidth": 4,
+ "useTabs": false
+ }
}
diff --git a/web/postcss.config.js b/web/postcss.config.js
index e873f1a..67cdf1a 100644
--- a/web/postcss.config.js
+++ b/web/postcss.config.js
@@ -1,6 +1,6 @@
module.exports = {
- plugins: {
- tailwindcss: {},
- autoprefixer: {},
- },
+ plugins: {
+ tailwindcss: {},
+ autoprefixer: {},
+ },
};
diff --git a/web/src/@types/shims-vue.d.ts b/web/src/@types/shims-vue.d.ts
index 811114b..9027990 100644
--- a/web/src/@types/shims-vue.d.ts
+++ b/web/src/@types/shims-vue.d.ts
@@ -1,5 +1,5 @@
declare module "*.vue" {
- import { defineComponent } from "vue";
- const component: ReturnType;
- export default component;
+ import { defineComponent } from "vue";
+ const component: ReturnType;
+ export default component;
}
diff --git a/web/src/App.vue b/web/src/App.vue
index 9b55f2f..1418f51 100644
--- a/web/src/App.vue
+++ b/web/src/App.vue
@@ -26,39 +26,39 @@ export default defineComponent({
-
-
+
+
-
-
-
≡
-
≡
+
+
+
≡
+
≡
-
{{ CurrentBudgetName }}
+
{{ CurrentBudgetName }}
-
-
Dashboard
-
Login
-
Logout
-
-
+
+
Dashboard
+
Login
+
Logout
+
+
-
-
-
-
-
+
+
+
+
+
diff --git a/web/src/api.ts b/web/src/api.ts
index e5292c9..5c5a4cb 100644
--- a/web/src/api.ts
+++ b/web/src/api.ts
@@ -3,24 +3,24 @@ import { useSessionStore } from "./stores/session";
export const BASE_URL = "/api/v1";
export function GET(path: string) {
- const sessionStore = useSessionStore();
- return fetch(BASE_URL + path, {
- headers: sessionStore.AuthHeaders,
- });
+ const sessionStore = useSessionStore();
+ return fetch(BASE_URL + path, {
+ headers: sessionStore.AuthHeaders,
+ });
}
export function POST(path: string, body: FormData | string | null) {
- const sessionStore = useSessionStore();
- return fetch(BASE_URL + path, {
- method: "POST",
- headers: sessionStore.AuthHeaders,
- body: body,
- });
+ const sessionStore = useSessionStore();
+ return fetch(BASE_URL + path, {
+ method: "POST",
+ headers: sessionStore.AuthHeaders,
+ body: body,
+ });
}
export function DELETE(path: string) {
- const sessionStore = useSessionStore();
- return fetch(BASE_URL + path, {
- method: "DELETE",
- headers: sessionStore.AuthHeaders,
- });
+ const sessionStore = useSessionStore();
+ return fetch(BASE_URL + path, {
+ method: "DELETE",
+ headers: sessionStore.AuthHeaders,
+ });
}
diff --git a/web/src/components/AccountWithReconciled.vue b/web/src/components/AccountWithReconciled.vue
index 21036d7..a576cc2 100644
--- a/web/src/components/AccountWithReconciled.vue
+++ b/web/src/components/AccountWithReconciled.vue
@@ -19,15 +19,15 @@ function daysSinceLastReconciled() {
-
-
- {{account.Name}}
-
-
- {{daysSinceLastReconciled()}}
-
-
+
+
+ {{account.Name}}
+
+
+ {{daysSinceLastReconciled()}}
+
+
diff --git a/web/src/components/Autocomplete.vue b/web/src/components/Autocomplete.vue
index b3d275c..bfc9083 100644
--- a/web/src/components/Autocomplete.vue
+++ b/web/src/components/Autocomplete.vue
@@ -81,29 +81,29 @@ function clear() {
-
-
-
{{ text }}
-
- {{ suggestion.Name }}
-
-
+
+
+
{{ text }}
+
+ {{ suggestion.Name }}
+
+
diff --git a/web/src/components/Button.vue b/web/src/components/Button.vue
index e3ef6a8..c5baa4f 100644
--- a/web/src/components/Button.vue
+++ b/web/src/components/Button.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/web/src/components/Card.vue b/web/src/components/Card.vue
index bf9866a..50d45e2 100644
--- a/web/src/components/Card.vue
+++ b/web/src/components/Card.vue
@@ -1,8 +1,8 @@
-
-
-
+
+
+
diff --git a/web/src/components/Checkbox.vue b/web/src/components/Checkbox.vue
index b2aab40..dfd507d 100644
--- a/web/src/components/Checkbox.vue
+++ b/web/src/components/Checkbox.vue
@@ -3,9 +3,9 @@ const props = defineProps(["modelValue"]);
-
+
diff --git a/web/src/components/Currency.vue b/web/src/components/Currency.vue
index 31c13cc..80495ac 100644
--- a/web/src/components/Currency.vue
+++ b/web/src/components/Currency.vue
@@ -15,9 +15,9 @@ const formattedValue = computed(() => internalValue.value.toLocaleString(undefin
- {{ formattedValue }} €
+ {{ formattedValue }} €
diff --git a/web/src/components/DateInput.vue b/web/src/components/DateInput.vue
index 473ad41..5802c91 100644
--- a/web/src/components/DateInput.vue
+++ b/web/src/components/DateInput.vue
@@ -26,10 +26,10 @@ function selectAll(event: FocusEvent) {
-
+
diff --git a/web/src/components/Input.vue b/web/src/components/Input.vue
index 9b0e32d..32e624c 100644
--- a/web/src/components/Input.vue
+++ b/web/src/components/Input.vue
@@ -3,8 +3,8 @@ const props = defineProps(["modelValue"]);
-
+
diff --git a/web/src/components/Modal.vue b/web/src/components/Modal.vue
index 721098d..b028531 100644
--- a/web/src/components/Modal.vue
+++ b/web/src/components/Modal.vue
@@ -30,38 +30,38 @@ function submitDialog() {
-
-
-
-
-
- {{ buttonText }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ {{ buttonText }}
+
+
+
+
+
+
+
+
+
diff --git a/web/src/components/TransactionEditRow.vue b/web/src/components/TransactionEditRow.vue
index 0e0364d..b2010cd 100644
--- a/web/src/components/TransactionEditRow.vue
+++ b/web/src/components/TransactionEditRow.vue
@@ -38,38 +38,38 @@ function saveTransaction(e: MouseEvent) {
-
-
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
- |
- |
-
+
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+ |
+
diff --git a/web/src/components/TransactionInputRow.vue b/web/src/components/TransactionInputRow.vue
index 5c79180..4bc8679 100644
--- a/web/src/components/TransactionInputRow.vue
+++ b/web/src/components/TransactionInputRow.vue
@@ -52,41 +52,41 @@ function saveTransaction(e: MouseEvent) {
-
-
-
-
- |
-
-
-
- |
-
-
-
- |
-
-
- |
-
-
-
- |
-
-
- |
-
+
+
+
+
+ |
+
+
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+
+ |
+
+
+ |
+
diff --git a/web/src/components/TransactionRow.vue b/web/src/components/TransactionRow.vue
index 73cd718..9760282 100644
--- a/web/src/components/TransactionRow.vue
+++ b/web/src/components/TransactionRow.vue
@@ -47,45 +47,45 @@ function getStatusSymbol() {
-
-
- {{ formatDate(TX.Date) }}
- |
-
-
-
- {{ formatDate(TX.Date) }} |
-
- {{ TX.TransferAccount ? "Transfer : " + TX.TransferAccount : TX.Payee }}
- |
-
- {{ TX.CategoryGroup ? TX.CategoryGroup + " : " + TX.Category : "" }}
- |
-
- {{ TX.Memo }}
- |
-
-
- |
-
- {{ TX.GroupID ? "☀" : "" }}
- {{ getStatusSymbol() }}
- ✎
-
- |
-
-
+
+
+ {{ formatDate(TX.Date) }}
+ |
+
+
+
+ {{ formatDate(TX.Date) }} |
+
+ {{ TX.TransferAccount ? "Transfer : " + TX.TransferAccount : TX.Payee }}
+ |
+
+ {{ TX.CategoryGroup ? TX.CategoryGroup + " : " + TX.Category : "" }}
+ |
+
+ {{ TX.Memo }}
+ |
+
+
+ |
+
+ {{ TX.GroupID ? "☀" : "" }}
+ {{ getStatusSymbol() }}
+ ✎
+
+ |
+
+