From 190486d841abfdb9a71d9c83156075c836a60917 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 5 Sep 2020 10:06:59 +0900 Subject: [PATCH] wip --- src/client/components/captcha.vue | 2 +- src/client/components/cw-button.vue | 2 +- src/client/components/deck/widgets-column.vue | 2 +- src/client/components/dialog.vue | 6 +- src/client/components/form-window.vue | 8 +- src/client/components/instance-stats.vue | 4 +- src/client/components/note-preview.vue | 2 +- src/client/components/note.sub.vue | 2 +- src/client/components/note.vue | 2 +- .../notification-setting-window.vue | 4 +- .../components/page/page.number-input.vue | 2 +- .../components/page/page.radio-button.vue | 2 +- src/client/components/page/page.switch.vue | 2 +- .../components/page/page.text-input.vue | 2 +- .../components/page/page.textarea-input.vue | 2 +- src/client/components/page/page.vue | 2 +- src/client/components/poll-editor.vue | 14 +-- src/client/components/signin.vue | 8 +- src/client/components/signup.vue | 14 +-- src/client/components/tab.vue | 2 +- .../components/token-generate-window.vue | 4 +- src/client/components/ui/input.vue | 6 +- src/client/components/ui/range.vue | 2 +- src/client/components/ui/select.vue | 2 +- src/client/components/ui/textarea.vue | 2 +- src/client/components/user-select.vue | 4 +- src/client/pages/channel-editor.vue | 4 +- src/client/pages/channels.vue | 2 +- src/client/pages/index.welcome.setup.vue | 4 +- src/client/pages/instance/announcements.vue | 6 +- src/client/pages/instance/emojis.vue | 8 +- src/client/pages/instance/federation.vue | 6 +- src/client/pages/instance/index.vue | 4 +- src/client/pages/instance/instance.vue | 6 +- src/client/pages/instance/relays.vue | 2 +- src/client/pages/instance/settings.vue | 110 +++++++++--------- src/client/pages/instance/users.user.vue | 6 +- src/client/pages/instance/users.vue | 12 +- .../pages/my-antennas/index.antenna.vue | 22 ++-- src/client/pages/my-settings/2fa.vue | 6 +- .../pages/my-settings/import-export.vue | 2 +- src/client/pages/my-settings/index.vue | 4 +- src/client/pages/my-settings/privacy.vue | 10 +- src/client/pages/my-settings/profile.vue | 28 ++--- src/client/pages/my-settings/reaction.vue | 2 +- src/client/pages/my-settings/word-mute.vue | 6 +- src/client/pages/note.vue | 2 +- .../page-editor/els/page-editor.el.button.vue | 16 +-- .../page-editor/els/page-editor.el.canvas.vue | 6 +- .../els/page-editor.el.counter.vue | 6 +- .../page-editor/els/page-editor.el.if.vue | 4 +- .../els/page-editor.el.number-input.vue | 6 +- .../page-editor/els/page-editor.el.post.vue | 6 +- .../els/page-editor.el.radio-button.vue | 8 +- .../els/page-editor.el.section.vue | 2 +- .../page-editor/els/page-editor.el.switch.vue | 6 +- .../els/page-editor.el.text-input.vue | 6 +- .../els/page-editor.el.textarea-input.vue | 6 +- .../pages/page-editor/page-editor.blocks.vue | 6 +- .../page-editor/page-editor.script-block.vue | 8 +- src/client/pages/page-editor/page-editor.vue | 18 +-- src/client/pages/pages.vue | 2 +- src/client/pages/preferences/index.vue | 56 ++++----- src/client/pages/preferences/plugins.vue | 4 +- src/client/pages/preferences/sidebar.vue | 8 +- src/client/pages/preferences/theme.vue | 10 +- src/client/pages/room/room.vue | 2 +- src/client/pages/scratchpad.vue | 2 +- src/client/pages/theme-editor.vue | 24 ++-- 69 files changed, 284 insertions(+), 284 deletions(-) diff --git a/src/client/components/captcha.vue b/src/client/components/captcha.vue index 8edd4842ed..80d1ed22c4 100644 --- a/src/client/components/captcha.vue +++ b/src/client/components/captcha.vue @@ -110,7 +110,7 @@ export default defineComponent({ } }, callback(response?: string) { - this.$emit('input', typeof response == 'string' ? response : null); + this.$emit('update:value', typeof response == 'string' ? response : null); }, }, }); diff --git a/src/client/components/cw-button.vue b/src/client/components/cw-button.vue index cd8e58df95..f1ec842db7 100644 --- a/src/client/components/cw-button.vue +++ b/src/client/components/cw-button.vue @@ -36,7 +36,7 @@ export default defineComponent({ length, toggle() { - this.$emit('input', !this.value); + this.$emit('update:value', !this.value); } } }); diff --git a/src/client/components/deck/widgets-column.vue b/src/client/components/deck/widgets-column.vue index 15b4824530..a3a3ac3048 100644 --- a/src/client/components/deck/widgets-column.vue +++ b/src/client/components/deck/widgets-column.vue @@ -5,7 +5,7 @@