File tree Expand file tree Collapse file tree 5 files changed +12
-9
lines changed
components/EmojiPickerContainer Expand file tree Collapse file tree 5 files changed +12
-9
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 31
31
32
32
<script >
33
33
import SvgIcon from ' ../SvgIcon/SvgIcon'
34
+ import { EmojiPicker } from ' emoji-picker-element'
34
35
35
36
export default {
37
+ name: ' EmojiPickerContainer' ,
36
38
components: {
39
+ EmojiPicker,
37
40
SvgIcon
38
41
},
39
42
Original file line number Diff line number Diff line change 31
31
</slot >
32
32
</div >
33
33
34
- <emoji-picker
34
+ <emoji-picker-container
35
35
v-if =" isMessageReactions"
36
36
key =" 3"
37
37
v-click-outside =" closeEmoji"
47
47
<template #emoji-picker-icon >
48
48
<slot name =" emoji-picker-reaction-icon" />
49
49
</template >
50
- </emoji-picker >
50
+ </emoji-picker-container >
51
51
</transition-group >
52
52
</div >
53
53
85
85
import vClickOutside from ' v-click-outside'
86
86
87
87
import SvgIcon from ' ../../../components/SvgIcon/SvgIcon'
88
- import EmojiPicker from ' ../../../components/EmojiPicker/EmojiPicker '
88
+ import EmojiPickerContainer from ' ../../../components/EmojiPickerContainer/EmojiPickerContainer '
89
89
90
90
const { isImageFile } = require (' ../../../utils/media-file' )
91
91
92
92
export default {
93
93
name: ' MessageActions' ,
94
- components: { SvgIcon, EmojiPicker },
94
+ components: { SvgIcon, EmojiPickerContainer },
95
95
96
96
directives: {
97
97
clickOutside: vClickOutside .directive
Original file line number Diff line number Diff line change 270
270
</slot >
271
271
</div >
272
272
273
- <emoji-picker
273
+ <emoji-picker-container
274
274
v-if =" showEmojis && (!file || imageFile || videoFile)"
275
275
v-click-outside =" () => (emojiOpened = false)"
276
276
:emoji-opened =" emojiOpened"
281
281
<template v-for =" (i , name ) in $scopedSlots " #[name ]=" data " >
282
282
<slot :name =" name" v-bind =" data" />
283
283
</template >
284
- </emoji-picker >
284
+ </emoji-picker-container >
285
285
286
286
<div
287
287
v-if =" showFiles"
@@ -335,7 +335,7 @@ import { Database } from 'emoji-picker-element'
335
335
336
336
import Loader from ' ../../components/Loader/Loader'
337
337
import SvgIcon from ' ../../components/SvgIcon/SvgIcon'
338
- import EmojiPicker from ' ../../components/EmojiPicker/EmojiPicker '
338
+ import EmojiPickerContainer from ' ../../components/EmojiPickerContainer/EmojiPickerContainer '
339
339
340
340
import RoomHeader from ' ./RoomHeader/RoomHeader'
341
341
import RoomMessageReply from ' ./RoomMessageReply/RoomMessageReply'
@@ -365,7 +365,7 @@ export default {
365
365
InfiniteLoading,
366
366
Loader,
367
367
SvgIcon,
368
- EmojiPicker ,
368
+ EmojiPickerContainer ,
369
369
RoomHeader,
370
370
RoomMessageReply,
371
371
RoomUsersTag,
Original file line number Diff line number Diff line change 22
22
@import ' ../lib/Message/MessageReactions/MessageReactions' ;
23
23
@import ' ../lib/Message/MessageReply/MessageReply' ;
24
24
25
- @import ' ../components/EmojiPicker/EmojiPicker ' ;
25
+ @import ' ../components/EmojiPickerContainer/EmojiPickerContainer ' ;
26
26
@import ' ../components/FormatMessage/FormatMessage' ;
27
27
@import ' ../components/Loader/Loader' ;
28
28
@import ' ../components/SvgIcon/SvgIcon' ;
You can’t perform that action at this time.
0 commit comments