From 99abeab43462400fd7c1460733b6bf9f1c562f3f Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Sun, 26 Mar 2023 20:26:45 +0200 Subject: [PATCH] remove, multiselect, test form --- client/package.json | 2 +- client/pnpm-lock.yaml | 34 +- client/src/global-styles/components.css | 5 +- client/src/pages/index.vue | 489 +----------------------- 4 files changed, 38 insertions(+), 492 deletions(-) diff --git a/client/package.json b/client/package.json index 6d78959..a5abd1b 100644 --- a/client/package.json +++ b/client/package.json @@ -21,9 +21,9 @@ "markdown-it-link-attributes": "^4.0.1", "markdown-it-shiki": "^0.8.0", "simple-jsonrpc-js": "^1.2.0", + "vee-validate": "^4.8.4", "vue": "^3.2.45", "vue-i18n": "9", - "vue-multiselect": "3.0.0-beta.1", "vue-router": "4", "ws": "^8.13.0" }, diff --git a/client/pnpm-lock.yaml b/client/pnpm-lock.yaml index fb791fb..d730ebd 100644 --- a/client/pnpm-lock.yaml +++ b/client/pnpm-lock.yaml @@ -25,12 +25,12 @@ specifiers: unplugin-icons: ^0.15.3 unplugin-vue-components: ^0.24.0 unplugin-vue-macros: ^1.9.1 + vee-validate: ^4.8.4 vite: ^4.1.0 vite-plugin-pages: ^0.28.0 vite-plugin-vue-markdown: ^0.22.4 vue: ^3.2.45 vue-i18n: '9' - vue-multiselect: 3.0.0-beta.1 vue-router: '4' vue-tsc: ^1.0.24 ws: ^8.13.0 @@ -46,9 +46,9 @@ dependencies: markdown-it-link-attributes: 4.0.1 markdown-it-shiki: 0.8.0 simple-jsonrpc-js: 1.2.0 + vee-validate: 4.8.4_vue@3.2.47 vue: 3.2.47 vue-i18n: 9.2.2_vue@3.2.47 - vue-multiselect: 3.0.0-beta.1 vue-router: 4.1.6_vue@3.2.47 ws: 8.13.0 @@ -565,8 +565,8 @@ packages: vue-i18n: optional: true dependencies: - '@intlify/message-compiler': 9.3.0-beta.16 - '@intlify/shared': 9.3.0-beta.16 + '@intlify/message-compiler': 9.3.0-beta.17 + '@intlify/shared': 9.3.0-beta.17 jsonc-eslint-parser: 1.4.1 source-map: 0.6.1 vue-i18n: 9.2.2_vue@3.2.47 @@ -598,11 +598,11 @@ packages: source-map: 0.6.1 dev: false - /@intlify/message-compiler/9.3.0-beta.16: - resolution: {integrity: sha512-CGQI3xRcs1ET75eDQ0DUy3MRYOqTauRIIgaMoISKiF83gqRWg93FqN8lGMKcpBqaF4tI0JhsfosCaGiBL9+dnw==} + /@intlify/message-compiler/9.3.0-beta.17: + resolution: {integrity: sha512-i7hvVIRk1Ax2uKa9xLRJCT57to08OhFMhFXXjWN07rmx5pWQYQ23MfX1xgggv9drnWTNhqEiD+u4EJeHoS5+Ww==} engines: {node: '>= 14'} dependencies: - '@intlify/shared': 9.3.0-beta.16 + '@intlify/shared': 9.3.0-beta.17 source-map: 0.6.1 dev: false @@ -611,8 +611,8 @@ packages: engines: {node: '>= 14'} dev: false - /@intlify/shared/9.3.0-beta.16: - resolution: {integrity: sha512-kXbm4svALe3lX+EjdJxfnabOphqS4yQ1Ge/iIlR8tvUiYRCoNz3hig1M4336iY++Dfx5ytEQJPNjIcknNIuvig==} + /@intlify/shared/9.3.0-beta.17: + resolution: {integrity: sha512-mscf7RQsUTOil35jTij4KGW1RC9SWQjYScwLxP53Ns6g24iEd5HN7ksbt9O6FvTmlQuX77u+MXpBdfJsGqizLQ==} engines: {node: '>= 14'} dev: false @@ -632,7 +632,7 @@ packages: optional: true dependencies: '@intlify/bundle-utils': 4.0.0_vue-i18n@9.2.2 - '@intlify/shared': 9.3.0-beta.16 + '@intlify/shared': 9.3.0-beta.17 '@rollup/pluginutils': 4.2.1 '@vue/compiler-sfc': 3.2.47 debug: 4.3.4 @@ -3705,6 +3705,15 @@ packages: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: true + /vee-validate/4.8.4_vue@3.2.47: + resolution: {integrity: sha512-wlLBy50t4EMEin5oqxS2mxpqW02TkIsk0H3LcivLztNJKKLW17hpPSQtQnn8wjDLoWWZ/CVOfep6aw77aCAavg==} + peerDependencies: + vue: ^3.0.0 + dependencies: + '@vue/devtools-api': 6.5.0 + vue: 3.2.47 + dev: false + /vite-plugin-pages/0.28.0_vite@4.1.4: resolution: {integrity: sha512-yncDncFVnjUzhqJnwCgGDZoZ/wO6MEOMe93f2MQjplKXm1MpmHCrTkFCPnQyYGZTVKPAN+y7BQcIpNWPFLQ4+w==} peerDependencies: @@ -3831,11 +3840,6 @@ packages: vue: 3.2.47 dev: false - /vue-multiselect/3.0.0-beta.1: - resolution: {integrity: sha512-V+jpydtjyHcQ+yjHsEWEBrDAopOx/pufNkSAXNVDAGQ+ESDEJ7wYejNd9H1RiCnFOYK4yf1XSGqE+Mp3HJXmdg==} - engines: {node: '>= 4.0.0', npm: '>= 3.0.0'} - dev: false - /vue-router/4.1.6_vue@3.2.47: resolution: {integrity: sha512-DYWYwsG6xNPmLq/FmZn8Ip+qrhFEzA14EI12MsMgVxvHFDYvlr4NXpVF5hrRH1wVcDP8fGi5F4rxuJSl8/r+EQ==} peerDependencies: diff --git a/client/src/global-styles/components.css b/client/src/global-styles/components.css index 7c7272e..79e3784 100644 --- a/client/src/global-styles/components.css +++ b/client/src/global-styles/components.css @@ -29,6 +29,9 @@ form { form > :is(button, .button, h1) { grid-column: 1 / 3; } +form > :is(label) { + grid-column: 1; +} table { width: 100%; @@ -68,7 +71,7 @@ button, .button { background-color: var(--cl-bg-hl); } -input { +input, textarea { background-color: var(--cl-bg-hl); border: 1px solid var(--cl-fg); } diff --git a/client/src/pages/index.vue b/client/src/pages/index.vue index 40effa9..2cb5c6a 100644 --- a/client/src/pages/index.vue +++ b/client/src/pages/index.vue @@ -1,14 +1,13 @@ @@ -17,478 +16,18 @@ let options = [{ name: 'Vue.js', code: 'vu' }, - +
+

Create Rule

+