From 55af32a92efd940fe3b8aa1452f9271033cc6c7d Mon Sep 17 00:00:00 2001 From: rei Date: Fri, 15 Mar 2024 12:23:08 +0900 Subject: [PATCH 01/32] =?UTF-8?q?FormSelector.vue=E3=81=AB=E6=A4=9C?= =?UTF-8?q?=E7=B4=A2=E6=A9=9F=E8=83=BD=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UI/FormSelector.vue | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/src/components/UI/FormSelector.vue b/src/components/UI/FormSelector.vue index 38d977adb..a4d7413e5 100644 --- a/src/components/UI/FormSelector.vue +++ b/src/components/UI/FormSelector.vue @@ -3,19 +3,24 @@ +
@@ -24,6 +29,8 @@ diff --git a/src/views/Settings/ProfileTab.vue b/src/views/Settings/ProfileTab.vue index 2f8c47ada..5aa1b0664 100644 --- a/src/views/Settings/ProfileTab.vue +++ b/src/views/Settings/ProfileTab.vue @@ -39,6 +39,7 @@ v-model="state.homeChannel" :options="channelOptions" :class="$style.form" + activate-search />
From cd3942fe3e0244b7b72860c54bd4900fdd1cc31a Mon Sep 17 00:00:00 2001 From: rei Date: Fri, 15 Mar 2024 15:18:39 +0900 Subject: [PATCH 03/32] =?UTF-8?q?filteredOptions=E3=82=92=E7=94=A8?= =?UTF-8?q?=E3=81=84=E3=82=8B=E5=BD=A2=E3=81=AB=E5=A4=89=E6=9B=B4=20type?= =?UTF-8?q?=20Option=E3=82=92=E4=BD=9C=E6=88=90=20=E6=A4=9C=E7=B4=A2?= =?UTF-8?q?=E7=B5=90=E6=9E=9C0=E3=81=AE=E3=81=A8=E3=81=8D=E3=81=AE?= =?UTF-8?q?=E8=A1=A8=E7=A4=BA=E3=82=92=E4=BD=9C=E6=88=90=20css=E3=82=92?= =?UTF-8?q?=E4=BB=AE=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UI/FormSelector.vue | 49 ++++++++++++++++++++++-------- 1 file changed, 36 insertions(+), 13 deletions(-) diff --git a/src/components/UI/FormSelector.vue b/src/components/UI/FormSelector.vue index dca377b52..b09b2a685 100644 --- a/src/components/UI/FormSelector.vue +++ b/src/components/UI/FormSelector.vue @@ -5,38 +5,40 @@
+ 候補が見つかりませんでした
From 15a028c21b4e175be61cd9bcd40d30c2a051e21b Mon Sep 17 00:00:00 2001 From: rei Date: Sat, 16 Mar 2024 12:11:29 +0900 Subject: [PATCH 04/32] =?UTF-8?q?=E4=B8=8A=E6=89=8B=E3=81=8F=E5=8B=95?= =?UTF-8?q?=E3=81=8D=E3=81=BE=E3=81=9B=E3=82=93=E3=80=81=E5=8A=A9=E3=81=91?= =?UTF-8?q?=E3=81=A6=E3=81=8F=E3=81=A0=E3=81=95=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 36 +++++++++++++++++++++++++++++- package.json | 1 + src/components/UI/FormSelector.vue | 13 +++++++++-- 3 files changed, 47 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7a69e85fb..c370ce630 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,6 +31,7 @@ "vue": "^3.3.4", "vue-router": "^4.1.5", "vue-slider-component": "^4.0.0-beta.9", + "vuetify": "^3.5.9", "zod": "^3.22.4" }, "devDependencies": { @@ -11029,7 +11030,7 @@ "version": "5.1.6", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", - "dev": true, + "devOptional": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -11583,6 +11584,39 @@ "typescript": "*" } }, + "node_modules/vuetify": { + "version": "3.5.9", + "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-3.5.9.tgz", + "integrity": "sha512-tA3N2uWZFNSZRFNnXN841x4rWozYXKC0fGW/mJIwcKkQiI0+gmVCETtjF8bnOS7L1s0buWzw94uYTlXQa5AQ4w==", + "engines": { + "node": "^12.20 || >=14.13" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/johnleider" + }, + "peerDependencies": { + "typescript": ">=4.7", + "vite-plugin-vuetify": ">=1.0.0-alpha.12", + "vue": "^3.3.0", + "vue-i18n": "^9.0.0", + "webpack-plugin-vuetify": ">=2.0.0-alpha.11" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + }, + "vite-plugin-vuetify": { + "optional": true + }, + "vue-i18n": { + "optional": true + }, + "webpack-plugin-vuetify": { + "optional": true + } + } + }, "node_modules/w3c-xmlserializer": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz", diff --git a/package.json b/package.json index 4aaaeaac6..cb4dee85a 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "vue": "^3.3.4", "vue-router": "^4.1.5", "vue-slider-component": "^4.0.0-beta.9", + "vuetify": "^3.5.9", "zod": "^3.22.4" }, "devDependencies": { diff --git a/src/components/UI/FormSelector.vue b/src/components/UI/FormSelector.vue index b09b2a685..85b186f88 100644 --- a/src/components/UI/FormSelector.vue +++ b/src/components/UI/FormSelector.vue @@ -1,6 +1,6 @@ @@ -32,6 +39,7 @@ import { randomString } from '/@/lib/basic/randomString' import { useModelValueSyncer } from '/@/composables/useModelSyncer' import { ref, computed } from 'vue' import AIcon from '/@/components/UI/AIcon.vue' +import { VAutocomplete } from 'vuetify/lib/components/index.mjs' type Option = { key: string; value: string | null } const props = withDefaults( @@ -64,6 +72,7 @@ const filteredOptions = computed(() => option.key.includes(filterText.value) ) ) +const selected = ref