diff --git a/FanucWeb/.eslintrc.cjs b/FanucWeb/.eslintrc.cjs deleted file mode 100644 index dc51c01..0000000 --- a/FanucWeb/.eslintrc.cjs +++ /dev/null @@ -1,15 +0,0 @@ -/* eslint-env node */ -require("@rushstack/eslint-patch/modern-module-resolution"); - -module.exports = { - root: true, - extends: [ - "plugin:vue/vue3-essential", - "eslint:recommended", - "@vue/eslint-config-typescript", - "@vue/eslint-config-prettier", - ], - parserOptions: { - ecmaVersion: "latest", - }, -}; diff --git a/FanucWeb/.gitignore b/FanucWeb/.gitignore deleted file mode 100644 index 38adffa..0000000 --- a/FanucWeb/.gitignore +++ /dev/null @@ -1,28 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* -lerna-debug.log* - -node_modules -.DS_Store -dist -dist-ssr -coverage -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/FanucWeb/.prettierrc.json b/FanucWeb/.prettierrc.json deleted file mode 100644 index 9e26dfe..0000000 --- a/FanucWeb/.prettierrc.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/FanucWeb/.vscode/extensions.json b/FanucWeb/.vscode/extensions.json deleted file mode 100644 index c0a6e5a..0000000 --- a/FanucWeb/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] -} diff --git a/FanucWeb/README.md b/FanucWeb/README.md deleted file mode 100644 index d46a895..0000000 --- a/FanucWeb/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# ActiveBOWeb - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). - -## Type Support for `.vue` Imports in TS - -TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types. - -If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps: - -1. Disable the built-in TypeScript Extension - 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette - 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)` -2. Reload the VSCode window by running `Developer: Reload Window` from the command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -npm install -``` - -### Compile and Hot-Reload for Development - -```sh -npm run dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -npm run build -``` - -### Lint with [ESLint](https://eslint.org/) - -```sh -npm run lint -``` diff --git a/FanucWeb/env.d.ts b/FanucWeb/env.d.ts deleted file mode 100644 index 11f02fe..0000000 --- a/FanucWeb/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/FanucWeb/index.html b/FanucWeb/index.html deleted file mode 100644 index 3fe71f1..0000000 --- a/FanucWeb/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Fanuc Web - - -
- - - diff --git a/FanucWeb/package.json b/FanucWeb/package.json deleted file mode 100644 index 677d757..0000000 --- a/FanucWeb/package.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "activeboweb", - "version": "0.0.0", - "private": true, - "scripts": { - "dev": "vite", - "build": "run-p type-check build-only", - "preview": "vite preview", - "build-only": "vite build", - "type-check": "vue-tsc --noEmit", - "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" - }, - "dependencies": { - "chart.js": "^4.2.1", - "pinia": "^2.0.30", - "roslib": "^1.3.0", - "vue": "^3.2.45", - "vue-resource": "^1.5.3", - "vue-slider-component": "^4.1.0-beta.7", - "vue3-slider": "^1.8.0", - "vuetify": "^3.1.4" - }, - "devDependencies": { - "@mdi/font": "^7.1.96", - "@rushstack/eslint-patch": "^1.1.4", - "@types/node": "^18.11.12", - "@vitejs/plugin-vue": "^4.0.0", - "@vitejs/plugin-vue-jsx": "^3.0.0", - "@vue/eslint-config-prettier": "^7.0.0", - "@vue/eslint-config-typescript": "^11.0.0", - "@vue/tsconfig": "^0.1.3", - "eslint": "^8.22.0", - "eslint-plugin-vue": "^9.3.0", - "npm-run-all": "^4.1.5", - "prettier": "^2.7.1", - "typescript": "~4.7.4", - "vite": "^4.0.0", - "vue-tsc": "^1.0.12" - } -} diff --git a/FanucWeb/public/CPS_White.ico b/FanucWeb/public/CPS_White.ico deleted file mode 100644 index 2bb513f..0000000 Binary files a/FanucWeb/public/CPS_White.ico and /dev/null differ diff --git a/FanucWeb/public/favicon.ico b/FanucWeb/public/favicon.ico deleted file mode 100644 index df36fcf..0000000 Binary files a/FanucWeb/public/favicon.ico and /dev/null differ diff --git a/FanucWeb/src/App.vue b/FanucWeb/src/App.vue deleted file mode 100644 index 1c08440..0000000 --- a/FanucWeb/src/App.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - - - diff --git a/FanucWeb/src/assets/CPS_Logo_Black.png b/FanucWeb/src/assets/CPS_Logo_Black.png deleted file mode 100644 index ed16d0f..0000000 Binary files a/FanucWeb/src/assets/CPS_Logo_Black.png and /dev/null differ diff --git a/FanucWeb/src/assets/CPS_Logo_White.png b/FanucWeb/src/assets/CPS_Logo_White.png deleted file mode 100644 index b6b0db9..0000000 Binary files a/FanucWeb/src/assets/CPS_Logo_White.png and /dev/null differ diff --git a/FanucWeb/src/components/BaseLayout.vue b/FanucWeb/src/components/BaseLayout.vue deleted file mode 100644 index 22561c2..0000000 --- a/FanucWeb/src/components/BaseLayout.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/FanucWeb/src/components/RosBar.vue b/FanucWeb/src/components/RosBar.vue deleted file mode 100644 index 1b24fd5..0000000 --- a/FanucWeb/src/components/RosBar.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - - - diff --git a/FanucWeb/src/components/SideBar.vue b/FanucWeb/src/components/SideBar.vue deleted file mode 100644 index 400c25b..0000000 --- a/FanucWeb/src/components/SideBar.vue +++ /dev/null @@ -1,21 +0,0 @@ - - - - - diff --git a/FanucWeb/src/components/SubLayout.vue b/FanucWeb/src/components/SubLayout.vue deleted file mode 100644 index 24f1f2f..0000000 --- a/FanucWeb/src/components/SubLayout.vue +++ /dev/null @@ -1,19 +0,0 @@ - -
- - - diff --git a/FanucWeb/src/components/TopBar.vue b/FanucWeb/src/components/TopBar.vue deleted file mode 100644 index 41c435f..0000000 --- a/FanucWeb/src/components/TopBar.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/FanucWeb/src/main.ts b/FanucWeb/src/main.ts deleted file mode 100644 index 90c5fac..0000000 --- a/FanucWeb/src/main.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { createApp } from "vue"; - -// Pinia Store -import { createPinia } from "pinia"; - -// Vuetify -import "vuetify/styles"; -import { createVuetify } from "vuetify"; -import * as components from "vuetify/components"; -import * as directives from "vuetify/directives"; -import "@mdi/font/css/materialdesignicons.css"; - -import App from "./App.vue"; - -const pinia = createPinia(); -const vuetify = createVuetify({ - theme: { - defaultTheme: "dark", - }, - components, - directives, -}); - -const app = createApp(App); - -app.use(pinia); -app.use(vuetify); -app.mount("#app"); diff --git a/FanucWeb/src/store/BaseWebsiteStore.js b/FanucWeb/src/store/BaseWebsiteStore.js deleted file mode 100644 index 5fc97dd..0000000 --- a/FanucWeb/src/store/BaseWebsiteStore.js +++ /dev/null @@ -1,27 +0,0 @@ -import { defineStore } from "pinia"; - -export const useBWStore = defineStore("Base Website Store", { - state: () => { - return { - play: false, - rosBarOpened: true, - rosConState: "not connected", - }; - }, - getters: { - getPlay: (state) => state.play, - getRosBarOpened: (state) => state.rosBarOpened, - getRosConState: (state) => state.rosConState, - }, - actions: { - setPlay() { - this.play = !this.play; - }, - toggleRosBar() { - this.rosBarOpened = !this.rosBarOpened; - }, - setRosConState(value) { - this.rosConState = value; - }, - }, -}); diff --git a/FanucWeb/tsconfig.config.json b/FanucWeb/tsconfig.config.json deleted file mode 100644 index 424084a..0000000 --- a/FanucWeb/tsconfig.config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "@vue/tsconfig/tsconfig.node.json", - "include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"], - "compilerOptions": { - "composite": true, - "types": ["node"] - } -} diff --git a/FanucWeb/tsconfig.json b/FanucWeb/tsconfig.json deleted file mode 100644 index 8d23599..0000000 --- a/FanucWeb/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "@vue/tsconfig/tsconfig.web.json", - "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], - "compilerOptions": { - "baseUrl": ".", - "paths": { - "@/*": ["./src/*"] - } - }, - - "references": [ - { - "path": "./tsconfig.config.json" - } - ] -} diff --git a/FanucWeb/vite.config.ts b/FanucWeb/vite.config.ts deleted file mode 100644 index b20d948..0000000 --- a/FanucWeb/vite.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from "node:url"; - -import { defineConfig } from "vite"; -import vue from "@vitejs/plugin-vue"; -import vueJsx from "@vitejs/plugin-vue-jsx"; - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - "@": fileURLToPath(new URL("./src", import.meta.url)), - }, - }, -});