From 16645ee4895c7c6e4d907fae5d863346f018dd76 Mon Sep 17 00:00:00 2001 From: Samantha Kraft Date: Fri, 29 Mar 2024 15:28:32 -0400 Subject: [PATCH] gridstack static toggle. tailwind styles back in. update components are main functionality as opposed to open --- index.html | 1 - index.js | 3 ++ package.json | 10 ++-- src/components/BiolucidaViewer.vue | 29 +++++++---- src/components/FlatmapViewer.vue | 58 ++++----------------- src/components/ImageSelector.vue | 81 ++++++++++++++++++++---------- src/components/ItemWidget.vue | 6 ++- src/components/SparcDashboard.vue | 35 +++++++++---- src/devComponents/BranchSlider.vue | 6 +-- src/stores/opener.ts | 7 ++- tsconfig.app.json | 5 +- vite.config.ts | 22 ++++++-- 12 files changed, 151 insertions(+), 112 deletions(-) create mode 100644 index.js diff --git a/index.html b/index.html index 0a72702..a599c6d 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,6 @@ - SPARC Dashboard diff --git a/index.js b/index.js new file mode 100644 index 0000000..bcde1b9 --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +import SparcDashboard from './src/components/SparcDashboard.vue'; + +export default SparcDashboard; \ No newline at end of file diff --git a/package.json b/package.json index 1d643b1..fb54769 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,12 @@ { - "name": "testdashboard", - "version": "0.0.0", - "private": true, + "name": "sparc-dashboard-beta", + "version": "0.1.0", + "author": "Sam Kraft (https://Sparc.Science)", + "private": false, + "main": "index.js", "scripts": { "dev": "vite & yarn tailwindcss -i ./src/assets/base.css -o ./dist/output.css --watch", - "build": "run-p type-check \"build-only {@}\" --", + "build": "vite build", "preview": "vite preview", "build-only": "vite build", "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false", diff --git a/src/components/BiolucidaViewer.vue b/src/components/BiolucidaViewer.vue index d2beee5..5fc8a2a 100644 --- a/src/components/BiolucidaViewer.vue +++ b/src/components/BiolucidaViewer.vue @@ -1,29 +1,36 @@