Merge branch 'vue3-again' into vue3-no-compat

* vue3-again:
  fix some mishaps i noticed during self-review
This commit is contained in:
Henry Jameson 2022-03-30 23:52:24 +03:00
commit 9940739f1f
5 changed files with 10 additions and 4 deletions

View file

@ -27,6 +27,7 @@ const ChatMessage = {
'chatViewItem',
'hoveredMessageChain'
],
emits: ['hover'],
components: {
Popover,
Attachment,

View file

@ -78,6 +78,12 @@ const PostStatusForm = {
'emojiPickerPlacement',
'optimisticPosting'
],
emits: [
'posted',
'resize',
'mediaplay'
'mediapause'
],
components: {
MediaUpload,
EmojiInput,

View file

@ -8,7 +8,7 @@
<Checkbox
:model-value="allSelected"
:indeterminate="someSelected"
@change="toggleAll"
@update:model-value="toggleAll"
>
{{ $t('selectable_list.select_all') }}
</Checkbox>
@ -32,7 +32,7 @@
<div class="selectable-list-checkbox-wrapper">
<Checkbox
:model-value="isSelected(item)"
@change="checked => toggle(checked, item)"
@update:model-value="checked => toggle(checked, item)"
/>
</div>
<slot

View file

@ -54,7 +54,7 @@
/>
<Checkbox
:model-value="isChecked(item.id)"
@change="checked => toggleStatus(checked, item.id)"
@update:model-value="checked => toggleStatus(checked, item.id)"
/>
</div>
</template>

View file

@ -81,7 +81,6 @@ const withLoadMore = ({
}
},
render () {
console.log(this.$listeners)
const props = {
...this.$props,
[childPropName]: this.entries