diff --git a/build/appicon.png b/build/appicon.png index 63617fe..51756df 100644 Binary files a/build/appicon.png and b/build/appicon.png differ diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 0666c01..7985269 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -19,10 +19,16 @@ }, "devDependencies": { "@babel/types": "^7.18.10", + "@types/node": "^18.11.18", "@vitejs/plugin-vue": "^3.0.3", "typescript": "^4.6.4", "vite": "^3.0.7", "vue-tsc": "^0.39.5" + }, + "engines": { + "node": "^18 || ^16 || ^14.19", + "npm": ">= 6.13.4", + "yarn": ">= 1.21.1" } }, "node_modules/@babel/helper-string-parser": { @@ -128,6 +134,12 @@ "monaco-editor": ">= 0.21.0 < 1" } }, + "node_modules/@types/node": { + "version": "18.11.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", + "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==", + "dev": true + }, "node_modules/@vitejs/plugin-vue": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-3.2.0.tgz", @@ -1074,6 +1086,12 @@ "state-local": "^1.0.6" } }, + "@types/node": { + "version": "18.11.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", + "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==", + "dev": true + }, "@vitejs/plugin-vue": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-3.2.0.tgz", diff --git a/frontend/package.json b/frontend/package.json index 4cbe898..cba6f2b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -20,10 +20,16 @@ "vue": "^3.2.37" }, "devDependencies": { + "@types/node": "^18.11.18", "@babel/types": "^7.18.10", "@vitejs/plugin-vue": "^3.0.3", "typescript": "^4.6.4", "vite": "^3.0.7", "vue-tsc": "^0.39.5" + }, + "engines": { + "node": "^18 || ^16 || ^14.19", + "npm": ">= 6.13.4", + "yarn": ">= 1.21.1" } } diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index cb25212..d28b97b 100755 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -c89c3e260822cde2a0954e98d00d2d2b \ No newline at end of file +c2400366737b24b88ff15be9b2118889 \ No newline at end of file diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 6b06e2b..d622a58 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -2,7 +2,7 @@ import dayjs from 'dayjs' import timezone from 'dayjs/plugin/timezone' import utc from 'dayjs/plugin/utc' -import { reactive, onMounted, computed } from 'vue' +import { reactive, onMounted, computed, ref } from 'vue' import { EventsOn } from '@wails/runtime' import { GetConfig } from '@wails/go/main/App' import JsonFormatter from '@/components/pages/JsonFormatter.vue' @@ -11,8 +11,6 @@ import Tinker from '@/components/pages/Tinker.vue' import ProjectSettings from '@/components/pages/ProjectSettings.vue' import Toast from 'primevue/toast' import Toolbar from 'primevue/toolbar' -import TabView from 'primevue/tabview' -import TabPanel from 'primevue/tabpanel' import Tag from 'primevue/tag' import 'primevue/resources/themes/saga-blue/theme.css' import 'primevue/resources/primevue.min.css' @@ -31,6 +29,8 @@ const tabs = [ { id: "beam", title: 'Beam', content: Beam }, ] +const activeTab = ref(tabs[0].id) + const data = reactive({ currentSection: "app", // app / projectSettings tabs: tabs, @@ -105,14 +105,21 @@ onMounted(() => refreshAppConfig()) - - -
- - -
-
-
+
+
+ {{ tab.title }} +
+
+
+ + + +
+