forked from AkkomaGang/akkoma-fe
rename emoji-selector to emoji-picker
This commit is contained in:
parent
259e8c52ee
commit
4c78fdb393
4 changed files with 6 additions and 6 deletions
src/components
emoji-input
emoji-picker
post_status_form
|
@ -1,5 +1,5 @@
|
||||||
import Completion from '../../services/completion/completion.js'
|
import Completion from '../../services/completion/completion.js'
|
||||||
import EmojiSelector from '../emoji-selector/emoji-selector.vue'
|
import EmojiPicker from '../emoji-picker/emoji-picker.vue'
|
||||||
import { take } from 'lodash'
|
import { take } from 'lodash'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -65,7 +65,7 @@ const EmojiInput = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
EmojiSelector
|
EmojiPicker
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
suggestions () {
|
suggestions () {
|
||||||
|
|
|
@ -2,7 +2,7 @@ const filterByKeyword = (list, keyword = '') => {
|
||||||
return list.filter(x => x.shortcode.indexOf(keyword) !== -1)
|
return list.filter(x => x.shortcode.indexOf(keyword) !== -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
const EmojiSelector = {
|
const EmojiPicker = {
|
||||||
mounted () {
|
mounted () {
|
||||||
document.body.addEventListener('click', this.outsideClicked)
|
document.body.addEventListener('click', this.outsideClicked)
|
||||||
},
|
},
|
||||||
|
@ -69,4 +69,4 @@ const EmojiSelector = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default EmojiSelector
|
export default EmojiPicker
|
|
@ -33,7 +33,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script src="./emoji-selector.js"></script>
|
<script src="./emoji-picker.js"></script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import '../../_variables.scss';
|
@import '../../_variables.scss';
|
|
@ -2,7 +2,7 @@ import statusPoster from '../../services/status_poster/status_poster.service.js'
|
||||||
import MediaUpload from '../media_upload/media_upload.vue'
|
import MediaUpload from '../media_upload/media_upload.vue'
|
||||||
import ScopeSelector from '../scope_selector/scope_selector.vue'
|
import ScopeSelector from '../scope_selector/scope_selector.vue'
|
||||||
import EmojiInput from '../emoji-input/emoji-input.vue'
|
import EmojiInput from '../emoji-input/emoji-input.vue'
|
||||||
import EmojiSelector from '../emoji-selector/emoji-selector.vue'
|
import EmojiPicker from '../emoji-picker/emoji-picker.vue'
|
||||||
import PollForm from '../poll/poll_form.vue'
|
import PollForm from '../poll/poll_form.vue'
|
||||||
import StickerPicker from '../sticker_picker/sticker_picker.vue'
|
import StickerPicker from '../sticker_picker/sticker_picker.vue'
|
||||||
import fileTypeService from '../../services/file_type/file_type.service.js'
|
import fileTypeService from '../../services/file_type/file_type.service.js'
|
||||||
|
|
Loading…
Reference in a new issue