forked from AkkomaGang/akkoma-fe
Merge branch 'vue3-again' into vue3-no-compat
* vue3-again: fix some mishaps i noticed during self-review
This commit is contained in:
commit
9940739f1f
5 changed files with 10 additions and 4 deletions
|
@ -27,6 +27,7 @@ const ChatMessage = {
|
||||||
'chatViewItem',
|
'chatViewItem',
|
||||||
'hoveredMessageChain'
|
'hoveredMessageChain'
|
||||||
],
|
],
|
||||||
|
emits: ['hover'],
|
||||||
components: {
|
components: {
|
||||||
Popover,
|
Popover,
|
||||||
Attachment,
|
Attachment,
|
||||||
|
|
|
@ -78,6 +78,12 @@ const PostStatusForm = {
|
||||||
'emojiPickerPlacement',
|
'emojiPickerPlacement',
|
||||||
'optimisticPosting'
|
'optimisticPosting'
|
||||||
],
|
],
|
||||||
|
emits: [
|
||||||
|
'posted',
|
||||||
|
'resize',
|
||||||
|
'mediaplay'
|
||||||
|
'mediapause'
|
||||||
|
],
|
||||||
components: {
|
components: {
|
||||||
MediaUpload,
|
MediaUpload,
|
||||||
EmojiInput,
|
EmojiInput,
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<Checkbox
|
<Checkbox
|
||||||
:model-value="allSelected"
|
:model-value="allSelected"
|
||||||
:indeterminate="someSelected"
|
:indeterminate="someSelected"
|
||||||
@change="toggleAll"
|
@update:model-value="toggleAll"
|
||||||
>
|
>
|
||||||
{{ $t('selectable_list.select_all') }}
|
{{ $t('selectable_list.select_all') }}
|
||||||
</Checkbox>
|
</Checkbox>
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
<div class="selectable-list-checkbox-wrapper">
|
<div class="selectable-list-checkbox-wrapper">
|
||||||
<Checkbox
|
<Checkbox
|
||||||
:model-value="isSelected(item)"
|
:model-value="isSelected(item)"
|
||||||
@change="checked => toggle(checked, item)"
|
@update:model-value="checked => toggle(checked, item)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<slot
|
<slot
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
/>
|
/>
|
||||||
<Checkbox
|
<Checkbox
|
||||||
:model-value="isChecked(item.id)"
|
:model-value="isChecked(item.id)"
|
||||||
@change="checked => toggleStatus(checked, item.id)"
|
@update:model-value="checked => toggleStatus(checked, item.id)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -81,7 +81,6 @@ const withLoadMore = ({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
render () {
|
render () {
|
||||||
console.log(this.$listeners)
|
|
||||||
const props = {
|
const props = {
|
||||||
...this.$props,
|
...this.$props,
|
||||||
[childPropName]: this.entries
|
[childPropName]: this.entries
|
||||||
|
|
Loading…
Reference in a new issue