diff --git a/src/client/components/cw-button.vue b/src/client/components/cw-button.vue index d2336085a..3a172f5d5 100644 --- a/src/client/components/cw-button.vue +++ b/src/client/components/cw-button.vue @@ -1,7 +1,7 @@ @@ -12,7 +12,7 @@ import { concat } from '../../prelude/array'; export default defineComponent({ props: { - value: { + modelValue: { type: Boolean, required: true }, @@ -36,7 +36,7 @@ export default defineComponent({ length, toggle() { - this.$emit('update:value', !this.value); + this.$emit('update:modelValue', !this.modelValue); } } }); diff --git a/src/client/components/form-dialog.vue b/src/client/components/form-dialog.vue index 87e8872d2..6353b7287 100644 --- a/src/client/components/form-dialog.vue +++ b/src/client/components/form-dialog.vue @@ -14,23 +14,23 @@ - - + + {{ $ts.start }} diff --git a/src/client/components/tab.vue b/src/client/components/tab.vue index 3902b7f98..7705fc3d6 100644 --- a/src/client/components/tab.vue +++ b/src/client/components/tab.vue @@ -3,7 +3,7 @@ import { defineComponent, h, resolveDirective, withDirectives } from 'vue'; export default defineComponent({ props: { - value: { + modelValue: { required: true, }, }, @@ -13,11 +13,11 @@ export default defineComponent({ return withDirectives(h('div', { class: 'pxhvhrfw', }, options.map(option => withDirectives(h('button', { - class: ['_button', { active: this.value === option.props.value }], + class: ['_button', { active: this.modelValue === option.props.modelValue }], key: option.key, - disabled: this.value === option.props.value, + disabled: this.modelValue === option.props.modelValue, onClick: () => { - this.$emit('update:value', option.props.value); + this.$emit('update:modelValue', option.props.modelValue); } }, option.children), [ [resolveDirective('click-anime')] diff --git a/src/client/components/taskmanager.api-window.vue b/src/client/components/taskmanager.api-window.vue index c9b2c4341..807e4a007 100644 --- a/src/client/components/taskmanager.api-window.vue +++ b/src/client/components/taskmanager.api-window.vue @@ -9,7 +9,7 @@
- + diff --git a/src/client/components/taskmanager.vue b/src/client/components/taskmanager.vue index cb8cb7874..6f3d1b035 100644 --- a/src/client/components/taskmanager.vue +++ b/src/client/components/taskmanager.vue @@ -4,7 +4,7 @@ Task Manager
- + diff --git a/src/client/pages/advanced-theme-editor.vue b/src/client/pages/advanced-theme-editor.vue index 46bcab365..8a63d7488 100644 --- a/src/client/pages/advanced-theme-editor.vue +++ b/src/client/pages/advanced-theme-editor.vue @@ -4,7 +4,7 @@
{{ $ts.import }} - + {{ $ts._theme.importInfo }} {{ $ts.import }} @@ -14,9 +14,9 @@
- {{ $ts.name }} - {{ $ts.author }} - {{ $ts.description }} + {{ $ts.name }} + {{ $ts.author }} + {{ $ts.description }}
{{ $ts.light }} @@ -41,31 +41,31 @@
- +
- + {{ $ts.name }} - + - + CSS
diff --git a/src/client/pages/channels.vue b/src/client/pages/channels.vue index 7e3302959..fd1408c25 100644 --- a/src/client/pages/channels.vue +++ b/src/client/pages/channels.vue @@ -1,7 +1,7 @@