@dialpad/dialtone 9.126.5 → 9.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/tokens/doc.json +29906 -29906
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +7 -7
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +5 -5
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
- package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker.js +10 -10
- package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
- package/dist/vue2/lib/dropdown/dropdown.cjs +1 -1
- package/dist/vue2/lib/dropdown/dropdown.cjs.map +1 -1
- package/dist/vue2/lib/dropdown/dropdown.js +24 -26
- package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.js +1 -0
- package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +3 -3
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +65 -65
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue2/lib/toast/toast.cjs.map +1 -1
- package/dist/vue2/lib/toast/toast.js.map +1 -1
- package/dist/vue2/localization/de-DE.cjs +1 -13
- package/dist/vue2/localization/de-DE.cjs.map +1 -1
- package/dist/vue2/localization/de-DE.js +1 -13
- package/dist/vue2/localization/de-DE.js.map +1 -1
- package/dist/vue2/localization/es-LA.cjs +1 -13
- package/dist/vue2/localization/es-LA.cjs.map +1 -1
- package/dist/vue2/localization/es-LA.js +1 -13
- package/dist/vue2/localization/es-LA.js.map +1 -1
- package/dist/vue2/localization/fr-FR.cjs +1 -13
- package/dist/vue2/localization/fr-FR.cjs.map +1 -1
- package/dist/vue2/localization/fr-FR.js +1 -13
- package/dist/vue2/localization/fr-FR.js.map +1 -1
- package/dist/vue2/localization/it-IT.cjs +1 -13
- package/dist/vue2/localization/it-IT.cjs.map +1 -1
- package/dist/vue2/localization/it-IT.js +1 -13
- package/dist/vue2/localization/it-IT.js.map +1 -1
- package/dist/vue2/localization/ja-JP.cjs +1 -8
- package/dist/vue2/localization/ja-JP.cjs.map +1 -1
- package/dist/vue2/localization/ja-JP.js +1 -8
- package/dist/vue2/localization/ja-JP.js.map +1 -1
- package/dist/vue2/localization/nl-NL.cjs +1 -13
- package/dist/vue2/localization/nl-NL.cjs.map +1 -1
- package/dist/vue2/localization/nl-NL.js +1 -13
- package/dist/vue2/localization/nl-NL.js.map +1 -1
- package/dist/vue2/localization/pt-BR.cjs +1 -13
- package/dist/vue2/localization/pt-BR.cjs.map +1 -1
- package/dist/vue2/localization/pt-BR.js +1 -13
- package/dist/vue2/localization/pt-BR.js.map +1 -1
- package/dist/vue2/localization/ru-RU.cjs +1 -23
- package/dist/vue2/localization/ru-RU.cjs.map +1 -1
- package/dist/vue2/localization/ru-RU.js +1 -23
- package/dist/vue2/localization/ru-RU.js.map +1 -1
- package/dist/vue2/localization/zh-CN.cjs +1 -8
- package/dist/vue2/localization/zh-CN.cjs.map +1 -1
- package/dist/vue2/localization/zh-CN.js +1 -8
- package/dist/vue2/localization/zh-CN.js.map +1 -1
- package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
- package/dist/vue3/common/mixins/index.cjs +1 -1
- package/dist/vue3/common/mixins/index.js +8 -10
- package/dist/vue3/common/mixins/index.js.map +1 -1
- package/dist/vue3/common/utils/index.cjs +1 -1
- package/dist/vue3/common/utils/index.cjs.map +1 -1
- package/dist/vue3/common/utils/index.js +42 -38
- package/dist/vue3/common/utils/index.js.map +1 -1
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/dialtone-vue.cjs +1 -1
- package/dist/vue3/dialtone-vue.js +298 -299
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs +1 -1
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.js +86 -110
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.js.map +1 -1
- package/dist/vue3/lib/banner/banner.cjs +2 -2
- package/dist/vue3/lib/banner/banner.cjs.map +1 -1
- package/dist/vue3/lib/banner/banner.js +27 -38
- package/dist/vue3/lib/banner/banner.js.map +1 -1
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs +1 -1
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.js +20 -18
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/vue3/lib/button/button.cjs +1 -1
- package/dist/vue3/lib/button/button.cjs.map +1 -1
- package/dist/vue3/lib/button/button.js +26 -24
- package/dist/vue3/lib/button/button.js.map +1 -1
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +36 -41
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js +35 -37
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
- package/dist/vue3/lib/chip/chip.cjs +1 -1
- package/dist/vue3/lib/chip/chip.cjs.map +1 -1
- package/dist/vue3/lib/chip/chip.js +54 -57
- package/dist/vue3/lib/chip/chip.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox-constants.cjs +1 -1
- package/dist/vue3/lib/combobox/combobox-constants.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox-constants.js +2 -2
- package/dist/vue3/lib/combobox/combobox-constants.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox-empty-list.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox-empty-list.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox-loading-list.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox-loading-list.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox.cjs +2 -2
- package/dist/vue3/lib/combobox/combobox.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox.js +20 -20
- package/dist/vue3/lib/combobox/combobox.js.map +1 -1
- package/dist/vue3/lib/combobox/index.cjs +1 -1
- package/dist/vue3/lib/combobox/index.js +3 -3
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js +119 -124
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js +76 -80
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs +1 -1
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.js +68 -63
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.js.map +1 -1
- package/dist/vue3/lib/contact-row/contact-row.cjs +1 -1
- package/dist/vue3/lib/contact-row/contact-row.cjs.map +1 -1
- package/dist/vue3/lib/contact-row/contact-row.js +32 -48
- package/dist/vue3/lib/contact-row/contact-row.js.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker-constants.cjs +1 -1
- package/dist/vue3/lib/datepicker/datepicker-constants.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker-constants.js +2 -3
- package/dist/vue3/lib/datepicker/datepicker-constants.js.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker.cjs +1 -1
- package/dist/vue3/lib/datepicker/datepicker.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker.js +264 -349
- package/dist/vue3/lib/datepicker/datepicker.js.map +1 -1
- package/dist/vue3/lib/datepicker/formatUtils.cjs +1 -1
- package/dist/vue3/lib/datepicker/formatUtils.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/formatUtils.js +21 -20
- package/dist/vue3/lib/datepicker/formatUtils.js.map +1 -1
- package/dist/vue3/lib/datepicker/utils.cjs +1 -1
- package/dist/vue3/lib/datepicker/utils.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/utils.js +12 -11
- package/dist/vue3/lib/datepicker/utils.js.map +1 -1
- package/dist/vue3/lib/description-list/description-list.cjs +1 -1
- package/dist/vue3/lib/description-list/description-list.cjs.map +1 -1
- package/dist/vue3/lib/description-list/description-list.js +10 -10
- package/dist/vue3/lib/description-list/description-list.js.map +1 -1
- package/dist/vue3/lib/dropdown/dropdown.cjs +1 -1
- package/dist/vue3/lib/dropdown/dropdown.cjs.map +1 -1
- package/dist/vue3/lib/dropdown/dropdown.js +36 -46
- package/dist/vue3/lib/dropdown/dropdown.js.map +1 -1
- package/dist/vue3/lib/editor/editor.cjs +1 -1
- package/dist/vue3/lib/editor/editor.cjs.map +1 -1
- package/dist/vue3/lib/editor/editor.js +169 -186
- package/dist/vue3/lib/editor/editor.js.map +1 -1
- package/dist/vue3/lib/editor/index.cjs +1 -1
- package/dist/vue3/lib/editor/index.js +2 -2
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js +7 -20
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.cjs +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.cjs.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.js +419 -477
- package/dist/vue3/lib/emoji-picker/emoji-picker.js.map +1 -1
- package/dist/vue3/lib/emoji-picker/index.cjs +1 -1
- package/dist/vue3/lib/emoji-picker/index.js +3 -4
- package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row-constants.js +6 -7
- package/dist/vue3/lib/emoji-row/emoji-row-constants.js.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.cjs +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.cjs.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.js +53 -43
- package/dist/vue3/lib/emoji-row/emoji-row.js.map +1 -1
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs +1 -1
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.js +52 -53
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.js.map +1 -1
- package/dist/vue3/lib/general-row/general-row.cjs +1 -1
- package/dist/vue3/lib/general-row/general-row.cjs.map +1 -1
- package/dist/vue3/lib/general-row/general-row.js +133 -118
- package/dist/vue3/lib/general-row/general-row.js.map +1 -1
- package/dist/vue3/lib/group-row/group-row.cjs +1 -1
- package/dist/vue3/lib/group-row/group-row.cjs.map +1 -1
- package/dist/vue3/lib/group-row/group-row.js +53 -39
- package/dist/vue3/lib/group-row/group-row.js.map +1 -1
- package/dist/vue3/lib/icon/icon-constants.cjs.map +1 -1
- package/dist/vue3/lib/icon/icon-constants.js.map +1 -1
- package/dist/vue3/lib/icon/icon.cjs +1 -1
- package/dist/vue3/lib/icon/icon.cjs.map +1 -1
- package/dist/vue3/lib/icon/icon.js +15 -11
- package/dist/vue3/lib/icon/icon.js.map +1 -1
- package/dist/vue3/lib/image-viewer/image-viewer.cjs +1 -1
- package/dist/vue3/lib/image-viewer/image-viewer.cjs.map +1 -1
- package/dist/vue3/lib/image-viewer/image-viewer.js +51 -47
- package/dist/vue3/lib/image-viewer/image-viewer.js.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node-constants.js +24 -24
- package/dist/vue3/lib/ivr-node/ivr-node-constants.js.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node.cjs +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node.cjs.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node.js +80 -76
- package/dist/vue3/lib/ivr-node/ivr-node.js.map +1 -1
- package/dist/vue3/lib/message-input/message-input-link.cjs +1 -1
- package/dist/vue3/lib/message-input/message-input-link.cjs.map +1 -1
- package/dist/vue3/lib/message-input/message-input-link.js +100 -77
- package/dist/vue3/lib/message-input/message-input-link.js.map +1 -1
- package/dist/vue3/lib/message-input/message-input-topbar.cjs +1 -1
- package/dist/vue3/lib/message-input/message-input-topbar.cjs.map +1 -1
- package/dist/vue3/lib/message-input/message-input-topbar.js +126 -94
- package/dist/vue3/lib/message-input/message-input-topbar.js.map +1 -1
- package/dist/vue3/lib/message-input/message-input.cjs +1 -1
- package/dist/vue3/lib/message-input/message-input.cjs.map +1 -1
- package/dist/vue3/lib/message-input/message-input.js +272 -296
- package/dist/vue3/lib/message-input/message-input.js.map +1 -1
- package/dist/vue3/lib/modal/modal.cjs +1 -2
- package/dist/vue3/lib/modal/modal.cjs.map +1 -1
- package/dist/vue3/lib/modal/modal.js +64 -79
- package/dist/vue3/lib/modal/modal.js.map +1 -1
- package/dist/vue3/lib/notice/notice-action.cjs +1 -1
- package/dist/vue3/lib/notice/notice-action.cjs.map +1 -1
- package/dist/vue3/lib/notice/notice-action.js +38 -39
- package/dist/vue3/lib/notice/notice-action.js.map +1 -1
- package/dist/vue3/lib/notice/notice.cjs +1 -1
- package/dist/vue3/lib/notice/notice.cjs.map +1 -1
- package/dist/vue3/lib/notice/notice.js +37 -49
- package/dist/vue3/lib/notice/notice.js.map +1 -1
- package/dist/vue3/lib/pagination/pagination.cjs +1 -1
- package/dist/vue3/lib/pagination/pagination.cjs.map +1 -1
- package/dist/vue3/lib/pagination/pagination.js +72 -81
- package/dist/vue3/lib/pagination/pagination.js.map +1 -1
- package/dist/vue3/lib/popover/popover-header-footer.cjs +1 -1
- package/dist/vue3/lib/popover/popover-header-footer.cjs.map +1 -1
- package/dist/vue3/lib/popover/popover-header-footer.js +44 -45
- package/dist/vue3/lib/popover/popover-header-footer.js.map +1 -1
- package/dist/vue3/lib/popover/popover.cjs +1 -1
- package/dist/vue3/lib/popover/popover.cjs.map +1 -1
- package/dist/vue3/lib/popover/popover.js +26 -37
- package/dist/vue3/lib/popover/popover.js.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +4 -4
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +187 -185
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue3/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
- package/dist/vue3/lib/settings-menu-button/settings-menu-button.js.map +1 -1
- package/dist/vue3/lib/time-pill/time-pill.cjs.map +1 -1
- package/dist/vue3/lib/time-pill/time-pill.js.map +1 -1
- package/dist/vue3/lib/toast/toast.cjs +1 -1
- package/dist/vue3/lib/toast/toast.cjs.map +1 -1
- package/dist/vue3/lib/toast/toast.js +83 -127
- package/dist/vue3/lib/toast/toast.js.map +1 -1
- package/dist/vue3/lib/unread-pill/unread-pill.cjs +1 -1
- package/dist/vue3/lib/unread-pill/unread-pill.cjs.map +1 -1
- package/dist/vue3/lib/unread-pill/unread-pill.js +25 -14
- package/dist/vue3/lib/unread-pill/unread-pill.js.map +1 -1
- package/dist/vue3/localization/de-DE.cjs +157 -0
- package/dist/vue3/localization/de-DE.cjs.map +1 -0
- package/dist/vue3/localization/de-DE.js +160 -0
- package/dist/vue3/localization/de-DE.js.map +1 -0
- package/dist/vue3/localization/en-US.cjs +175 -0
- package/dist/vue3/localization/en-US.cjs.map +1 -0
- package/dist/vue3/localization/en-US.js +178 -0
- package/dist/vue3/localization/en-US.js.map +1 -0
- package/dist/vue3/localization/es-LA.cjs +157 -0
- package/dist/vue3/localization/es-LA.cjs.map +1 -0
- package/dist/vue3/localization/es-LA.js +160 -0
- package/dist/vue3/localization/es-LA.js.map +1 -0
- package/dist/vue3/localization/fr-FR.cjs +157 -0
- package/dist/vue3/localization/fr-FR.cjs.map +1 -0
- package/dist/vue3/localization/fr-FR.js +160 -0
- package/dist/vue3/localization/fr-FR.js.map +1 -0
- package/dist/vue3/localization/index.cjs +2 -0
- package/dist/vue3/localization/index.cjs.map +1 -0
- package/dist/vue3/localization/index.js +82 -0
- package/dist/vue3/localization/index.js.map +1 -0
- package/dist/vue3/localization/it-IT.cjs +157 -0
- package/dist/vue3/localization/it-IT.cjs.map +1 -0
- package/dist/vue3/localization/it-IT.js +160 -0
- package/dist/vue3/localization/it-IT.js.map +1 -0
- package/dist/vue3/localization/ja-JP.cjs +157 -0
- package/dist/vue3/localization/ja-JP.cjs.map +1 -0
- package/dist/vue3/localization/ja-JP.js +160 -0
- package/dist/vue3/localization/ja-JP.js.map +1 -0
- package/dist/vue3/localization/nl-NL.cjs +157 -0
- package/dist/vue3/localization/nl-NL.cjs.map +1 -0
- package/dist/vue3/localization/nl-NL.js +160 -0
- package/dist/vue3/localization/nl-NL.js.map +1 -0
- package/dist/vue3/localization/pt-BR.cjs +157 -0
- package/dist/vue3/localization/pt-BR.cjs.map +1 -0
- package/dist/vue3/localization/pt-BR.js +160 -0
- package/dist/vue3/localization/pt-BR.js.map +1 -0
- package/dist/vue3/localization/ru-RU.cjs +157 -0
- package/dist/vue3/localization/ru-RU.cjs.map +1 -0
- package/dist/vue3/localization/ru-RU.js +160 -0
- package/dist/vue3/localization/ru-RU.js.map +1 -0
- package/dist/vue3/localization/zh-CN.cjs +157 -0
- package/dist/vue3/localization/zh-CN.cjs.map +1 -0
- package/dist/vue3/localization/zh-CN.js +160 -0
- package/dist/vue3/localization/zh-CN.js.map +1 -0
- package/dist/vue3/shared/sr_only_close_button.cjs +1 -1
- package/dist/vue3/shared/sr_only_close_button.cjs.map +1 -1
- package/dist/vue3/shared/sr_only_close_button.js +27 -25
- package/dist/vue3/shared/sr_only_close_button.js.map +1 -1
- package/dist/vue3/types/common/mixins/index.d.ts +0 -1
- package/dist/vue3/types/common/sr_only_close_button.vue.d.ts +8 -15
- package/dist/vue3/types/common/sr_only_close_button.vue.d.ts.map +1 -1
- package/dist/vue3/types/common/utils/index.d.ts +1 -0
- package/dist/vue3/types/common/utils/index.d.ts.map +1 -1
- package/dist/vue3/types/components/banner/banner.vue.d.ts +0 -33
- package/dist/vue3/types/components/banner/banner.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts +2 -0
- package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/button/button.vue.d.ts +2 -0
- package/dist/vue3/types/components/button/button.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/chip/chip.vue.d.ts +3 -15
- package/dist/vue3/types/components/chip/chip.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/combobox/combobox.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/combobox/combobox_constants.d.ts +2 -2
- package/dist/vue3/types/components/combobox/index.d.ts +1 -1
- package/dist/vue3/types/components/datepicker/composables/useCalendar.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts +5 -1
- package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/datepicker.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts +0 -1
- package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/formatUtils.d.ts +5 -5
- package/dist/vue3/types/components/datepicker/formatUtils.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts +0 -4
- package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts +0 -12
- package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/utils.d.ts +1 -0
- package/dist/vue3/types/components/datepicker/utils.d.ts.map +1 -1
- package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts +0 -24
- package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/emoji_picker/emoji_picker_constants.d.ts +0 -13
- package/dist/vue3/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/icon/icon.vue.d.ts +1 -0
- package/dist/vue3/types/components/icon/icon_constants.d.ts.map +1 -1
- package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts +3 -8
- package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/modal/modal.vue.d.ts +3 -35
- package/dist/vue3/types/components/modal/modal.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/notice/notice.vue.d.ts +1 -34
- package/dist/vue3/types/components/notice/notice.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/notice/notice_action.vue.d.ts +7 -35
- package/dist/vue3/types/components/notice/notice_action.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/pagination/pagination.vue.d.ts +5 -24
- package/dist/vue3/types/components/pagination/pagination.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/popover/popover.vue.d.ts +0 -33
- package/dist/vue3/types/components/popover/popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts +5 -10
- package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +2 -0
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +2 -46
- package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts +1 -34
- package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/toast/toast.vue.d.ts +4 -115
- package/dist/vue3/types/components/toast/toast.vue.d.ts.map +1 -1
- package/dist/vue3/types/index.d.ts +1 -0
- package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +3 -11
- package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +3 -10
- package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +4 -8
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +7 -7
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts.map +1 -1
- package/dist/vue3/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -25
- package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +3 -41
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +6 -25
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +2 -2
- package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts +6 -49
- package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/editor/index.d.ts +1 -1
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +6 -2
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row_constants.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +3 -8
- package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +6 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +12 -88
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +11 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +13 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +5 -8
- package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +0 -18
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +9 -27
- package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts +11 -21
- package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +6 -2
- package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/vue3/common/mixins/sr-only-close-button.cjs +0 -3
- package/dist/vue3/common/mixins/sr-only-close-button.cjs.map +0 -1
- package/dist/vue3/common/mixins/sr-only-close-button.js +0 -44
- package/dist/vue3/common/mixins/sr-only-close-button.js.map +0 -1
- package/dist/vue3/lib/contact-row/contact-row-constants.cjs +0 -2
- package/dist/vue3/lib/contact-row/contact-row-constants.cjs.map +0 -1
- package/dist/vue3/lib/contact-row/contact-row-constants.js +0 -5
- package/dist/vue3/lib/contact-row/contact-row-constants.js.map +0 -1
- package/dist/vue3/lib/emoji/emoji-constants.cjs +0 -2
- package/dist/vue3/lib/emoji/emoji-constants.cjs.map +0 -1
- package/dist/vue3/lib/emoji/emoji-constants.js +0 -5
- package/dist/vue3/lib/emoji/emoji-constants.js.map +0 -1
- package/dist/vue3/lib/group-row/group-row-constants.cjs +0 -2
- package/dist/vue3/lib/group-row/group-row-constants.cjs.map +0 -1
- package/dist/vue3/lib/group-row/group-row-constants.js +0 -8
- package/dist/vue3/lib/group-row/group-row-constants.js.map +0 -1
- package/dist/vue3/lib/time-pill/time-pill-constants.cjs +0 -2
- package/dist/vue3/lib/time-pill/time-pill-constants.cjs.map +0 -1
- package/dist/vue3/lib/time-pill/time-pill-constants.js +0 -8
- package/dist/vue3/lib/time-pill/time-pill-constants.js.map +0 -1
- package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts +0 -30
- package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts.map +0 -1
- package/dist/vue3/types/components/emoji/emoji_constants.d.ts +0 -3
- package/dist/vue3/types/components/emoji/emoji_constants.d.ts.map +0 -1
- package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts +0 -6
- package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts.map +0 -1
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts +0 -3
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts.map +0 -1
- package/dist/vue3/types/recipes/leftbar/group_row/group_row_constants.d.ts +0 -6
- package/dist/vue3/types/recipes/leftbar/group_row/group_row_constants.d.ts.map +0 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { DtIconSearch as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { returnFirstEl as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
|
|
1
|
+
import { ref as S, onMounted as re, openBlock as E, createElementBlock as j, createVNode as B, unref as k, withKeys as J, withModifiers as ue, createSlots as ye, withCtx as N, computed as M, watch as K, Fragment as W, renderList as G, createBlock as Z, resolveDynamicComponent as Le, nextTick as x, onBeforeUnmount as Te, createElementVNode as A, toDisplayString as z, withDirectives as te, createCommentVNode as Y, vShow as oe, normalizeClass as ce, watchEffect as ae, createTextVNode as fe } from "vue";
|
|
2
|
+
import { DtIconSearch as Ie, DtIconClose as je, DtIconClock as Re, DtIconSatisfied as Ae, DtIconLivingThing as $e, DtIconFood as we, DtIconObject as Oe, DtIconTransportation as Ce, DtIconLightbulb as De, DtIconHeart as Fe, DtIconFlag as Be, DtIconTiktok as Ke } from "@dialpad/dialtone-icons/vue3";
|
|
3
|
+
import Ne from "../input/input.js";
|
|
4
|
+
import de from "../button/button.js";
|
|
5
|
+
import { returnFirstEl as Me } from "../../common/utils/index.js";
|
|
6
|
+
import Pe from "../tab/tab-group.js";
|
|
7
|
+
import Ue from "../tab/tab.js";
|
|
8
|
+
import { emojisGrouped as C } from "@dialpad/dialtone-emojis";
|
|
9
|
+
import { ARROW_KEYS as H, EMOJIS_PER_ROW as $, CDN_URL as Q, EMOJI_PICKER_SKIN_TONE_MODIFIERS as V } from "./emoji-picker-constants.js";
|
|
10
|
+
import Je from "../tooltip/tooltip.js";
|
|
11
|
+
import { DialtoneLocalization as Ve } from "../../localization/index.js";
|
|
12
|
+
const He = { class: "d-emoji-picker__search d-emoji-picker__alignment" }, ze = {
|
|
12
13
|
__name: "emoji_search",
|
|
13
14
|
props: {
|
|
14
15
|
searchPlaceholderLabel: {
|
|
@@ -22,49 +23,49 @@ const ze = { class: "d-emoji-picker__search d-emoji-picker__alignment" }, He = {
|
|
|
22
23
|
},
|
|
23
24
|
emits: ["update:modelValue", "focus-emoji-selector", "focus-tabset", "select-first-emoji"],
|
|
24
25
|
setup(o, { expose: g, emit: y }) {
|
|
25
|
-
const
|
|
26
|
-
function
|
|
27
|
-
|
|
26
|
+
const l = y, f = S(null);
|
|
27
|
+
function R() {
|
|
28
|
+
l("update:modelValue", ""), L();
|
|
28
29
|
}
|
|
29
|
-
function
|
|
30
|
-
|
|
30
|
+
function L() {
|
|
31
|
+
f.value.focus();
|
|
31
32
|
}
|
|
32
|
-
return
|
|
33
|
-
|
|
33
|
+
return re(() => {
|
|
34
|
+
L();
|
|
34
35
|
}), g({
|
|
35
|
-
focusSearchInput:
|
|
36
|
-
}), (
|
|
37
|
-
|
|
36
|
+
focusSearchInput: L
|
|
37
|
+
}), (I, m) => (E(), j("div", He, [
|
|
38
|
+
B(k(Ne), {
|
|
38
39
|
id: "searchInput",
|
|
39
40
|
ref_key: "searchInput",
|
|
40
|
-
ref:
|
|
41
|
+
ref: f,
|
|
41
42
|
placeholder: o.searchPlaceholderLabel,
|
|
42
43
|
"model-value": o.modelValue,
|
|
43
|
-
"onUpdate:modelValue":
|
|
44
|
+
"onUpdate:modelValue": m[0] || (m[0] = (a) => I.$emit("update:modelValue", a)),
|
|
44
45
|
onKeydown: [
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
m[1] || (m[1] = J((a) => I.$emit("focus-tabset"), ["up"])),
|
|
47
|
+
m[2] || (m[2] = J(ue((a) => I.$emit("focus-emoji-selector"), ["prevent"]), ["down"])),
|
|
48
|
+
m[3] || (m[3] = J((a) => I.$emit("select-first-emoji"), ["enter"]))
|
|
48
49
|
]
|
|
49
|
-
},
|
|
50
|
-
leftIcon:
|
|
51
|
-
|
|
50
|
+
}, ye({
|
|
51
|
+
leftIcon: N(() => [
|
|
52
|
+
B(k(Ie), { size: "200" })
|
|
52
53
|
]),
|
|
53
54
|
_: 2
|
|
54
55
|
}, [
|
|
55
56
|
o.modelValue.length > 0 ? {
|
|
56
57
|
name: "rightIcon",
|
|
57
|
-
fn:
|
|
58
|
-
|
|
58
|
+
fn: N(() => [
|
|
59
|
+
B(k(de), {
|
|
59
60
|
importance: "clear",
|
|
60
61
|
size: "xs",
|
|
61
62
|
class: "d-emoji-picker__search-x-button",
|
|
62
63
|
circle: "",
|
|
63
64
|
kind: "muted",
|
|
64
|
-
onClick:
|
|
65
|
+
onClick: R
|
|
65
66
|
}, {
|
|
66
|
-
icon:
|
|
67
|
-
|
|
67
|
+
icon: N(() => [
|
|
68
|
+
B(k(je), { size: "200" })
|
|
68
69
|
]),
|
|
69
70
|
_: 1
|
|
70
71
|
})
|
|
@@ -74,7 +75,7 @@ const ze = { class: "d-emoji-picker__search d-emoji-picker__alignment" }, He = {
|
|
|
74
75
|
]), 1032, ["placeholder", "model-value"])
|
|
75
76
|
]));
|
|
76
77
|
}
|
|
77
|
-
},
|
|
78
|
+
}, qe = { class: "d-emoji-picker__tabset" }, We = {
|
|
78
79
|
__name: "emoji_tabset",
|
|
79
80
|
props: {
|
|
80
81
|
/**
|
|
@@ -108,7 +109,7 @@ const ze = { class: "d-emoji-picker__search d-emoji-picker__alignment" }, He = {
|
|
|
108
109
|
* @type {Array}
|
|
109
110
|
* @required
|
|
110
111
|
*/
|
|
111
|
-
|
|
112
|
+
tabSetLabels: {
|
|
112
113
|
type: Array,
|
|
113
114
|
required: !0
|
|
114
115
|
}
|
|
@@ -124,157 +125,156 @@ const ze = { class: "d-emoji-picker__search d-emoji-picker__alignment" }, He = {
|
|
|
124
125
|
"focus-skin-selector"
|
|
125
126
|
],
|
|
126
127
|
setup(o, { expose: g, emit: y }) {
|
|
127
|
-
const
|
|
128
|
-
{ label:
|
|
129
|
-
{ label:
|
|
130
|
-
{ label:
|
|
131
|
-
{ label:
|
|
132
|
-
{ label:
|
|
133
|
-
{ label:
|
|
134
|
-
{ label:
|
|
135
|
-
{ label:
|
|
136
|
-
{ label:
|
|
137
|
-
{ label:
|
|
138
|
-
],
|
|
139
|
-
const
|
|
140
|
-
return
|
|
141
|
-
...
|
|
142
|
-
label: n.tabsetLabels[s],
|
|
128
|
+
const l = o, f = y, R = [
|
|
129
|
+
{ label: l.tabSetLabels[0], icon: Re },
|
|
130
|
+
{ label: l.tabSetLabels[1], icon: Ae },
|
|
131
|
+
{ label: l.tabSetLabels[2], icon: $e },
|
|
132
|
+
{ label: l.tabSetLabels[3], icon: we },
|
|
133
|
+
{ label: l.tabSetLabels[4], icon: Oe },
|
|
134
|
+
{ label: l.tabSetLabels[5], icon: Ce },
|
|
135
|
+
{ label: l.tabSetLabels[6], icon: De },
|
|
136
|
+
{ label: l.tabSetLabels[7], icon: Fe },
|
|
137
|
+
{ label: l.tabSetLabels[8], icon: Be },
|
|
138
|
+
{ label: l.tabSetLabels[9], icon: Ke }
|
|
139
|
+
], L = M(() => {
|
|
140
|
+
const t = l.showRecentlyUsedTab ? R : R.slice(1);
|
|
141
|
+
return l.showCustomEmojisTab || t.pop(), t.map((e, n) => ({
|
|
142
|
+
...e,
|
|
143
143
|
// IDs on dt-tab component need to be on string
|
|
144
|
-
id: (
|
|
145
|
-
panelId: (
|
|
144
|
+
id: (n + 1).toString(),
|
|
145
|
+
panelId: (n + 1).toString()
|
|
146
146
|
}));
|
|
147
|
-
}),
|
|
148
|
-
|
|
149
|
-
() =>
|
|
147
|
+
}), I = M(() => l.emojiFilter.length > 0), m = S("1"), a = S([]);
|
|
148
|
+
K(
|
|
149
|
+
() => l.scrollIntoTab,
|
|
150
150
|
() => {
|
|
151
|
-
|
|
151
|
+
I.value || (m.value = (l.scrollIntoTab + 1).toString());
|
|
152
152
|
}
|
|
153
|
-
),
|
|
154
|
-
|
|
153
|
+
), K(
|
|
154
|
+
I,
|
|
155
155
|
() => {
|
|
156
|
-
|
|
156
|
+
I.value && (m.value = null);
|
|
157
157
|
}
|
|
158
158
|
);
|
|
159
|
-
function
|
|
160
|
-
const
|
|
161
|
-
|
|
159
|
+
function d(t) {
|
|
160
|
+
const e = parseInt(t);
|
|
161
|
+
m.value = t, f("selected-tabset", e);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
|
|
163
|
+
function D(t) {
|
|
164
|
+
a.value.push(Me(t.$el));
|
|
165
165
|
}
|
|
166
|
-
function
|
|
167
|
-
|
|
166
|
+
function F() {
|
|
167
|
+
a.value[0].focus();
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
|
|
169
|
+
function w(t, e) {
|
|
170
|
+
t.key === "Enter" && (d(e), a.value[e - 1].blur()), t.key === "Tab" && (t.preventDefault(), t.shiftKey ? f("focus-skin-selector") : f("focus-search-input")), t.key === "ArrowDown" && f("focus-search-input");
|
|
171
171
|
}
|
|
172
172
|
return g({
|
|
173
|
-
focusTabset:
|
|
174
|
-
}), (
|
|
175
|
-
|
|
173
|
+
focusTabset: F
|
|
174
|
+
}), (t, e) => (E(), j("div", qe, [
|
|
175
|
+
B(k(Pe), {
|
|
176
|
+
selected: m.value,
|
|
176
177
|
size: "sm",
|
|
177
|
-
"tab-list-class": "d-emoji-picker__tabset-list"
|
|
178
|
-
selected: f.value
|
|
178
|
+
"tab-list-class": "d-emoji-picker__tabset-list"
|
|
179
179
|
}, {
|
|
180
|
-
tabs:
|
|
181
|
-
(
|
|
182
|
-
id:
|
|
180
|
+
tabs: N(() => [
|
|
181
|
+
(E(!0), j(W, null, G(L.value, (n, v) => (E(), Z(k(Ue), {
|
|
182
|
+
id: n.id,
|
|
183
|
+
key: n.id,
|
|
183
184
|
ref_for: !0,
|
|
184
185
|
ref: (c) => {
|
|
185
|
-
c &&
|
|
186
|
+
c && D(c);
|
|
186
187
|
},
|
|
187
|
-
|
|
188
|
-
"panel-id":
|
|
189
|
-
|
|
188
|
+
label: n.label,
|
|
189
|
+
"panel-id": n.panelId,
|
|
190
|
+
tabindex: v + 1,
|
|
190
191
|
"aria-controls": "d-emoji-picker-list",
|
|
191
|
-
|
|
192
|
-
onClickCapture:
|
|
193
|
-
onKeydown: (c) => r(c, s.id)
|
|
192
|
+
onKeydown: (c) => w(c, n.id),
|
|
193
|
+
onClickCapture: ue((c) => d(n.id), ["stop"])
|
|
194
194
|
}, {
|
|
195
|
-
default:
|
|
196
|
-
(
|
|
195
|
+
default: N(() => [
|
|
196
|
+
(E(), Z(Le(n.icon), { size: "400" }))
|
|
197
197
|
]),
|
|
198
198
|
_: 2
|
|
199
|
-
}, 1032, ["id", "
|
|
199
|
+
}, 1032, ["id", "label", "panel-id", "tabindex", "onKeydown", "onClickCapture"]))), 128))
|
|
200
200
|
]),
|
|
201
201
|
_: 1
|
|
202
202
|
}, 8, ["selected"])
|
|
203
203
|
]));
|
|
204
204
|
}
|
|
205
205
|
};
|
|
206
|
-
function
|
|
207
|
-
const o =
|
|
208
|
-
function
|
|
209
|
-
|
|
206
|
+
function Ge() {
|
|
207
|
+
const o = S([]), g = S([]), y = S(!1), l = S(!0);
|
|
208
|
+
function f(t, e) {
|
|
209
|
+
a(t, e - 1) || (o.value[t - 1] ? a(t - 1, o.value[t - 1].length - 1) : a(o.value.length - 1, o.value[o.value.length - 1].length - 1));
|
|
210
210
|
}
|
|
211
|
-
function
|
|
212
|
-
|
|
211
|
+
function R(t, e) {
|
|
212
|
+
a(t, e + 1) || a(t + 1, 0) || a(0, 0);
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
|
|
214
|
+
function L(t, e) {
|
|
215
|
+
a(0, e - 1) || a(0, g.value.length - 1);
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
|
|
217
|
+
function I(t, e) {
|
|
218
|
+
a(0, e + 1) || a(0, 0);
|
|
219
219
|
}
|
|
220
|
-
function
|
|
221
|
-
y.value ?
|
|
220
|
+
function m(t, e, n) {
|
|
221
|
+
y.value ? t === "left" ? L(e, n) : t === "right" && I(e, n) : t === "left" ? f(e, n) : t === "right" && R(e, n);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
var
|
|
225
|
-
const
|
|
226
|
-
return
|
|
223
|
+
function a(t, e) {
|
|
224
|
+
var v, c, T;
|
|
225
|
+
const n = y.value ? (v = g.value) == null ? void 0 : v[e] : (T = (c = o.value) == null ? void 0 : c[t]) == null ? void 0 : T[e];
|
|
226
|
+
return n ? (n.focus(), !0) : !1;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
o.value[
|
|
228
|
+
function d(t, e, n) {
|
|
229
|
+
o.value[e] || (o.value[e] = []), o.value[e][n] = t;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
232
|
-
g.value[
|
|
231
|
+
function D(t, e) {
|
|
232
|
+
g.value[e] = t;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
var
|
|
236
|
-
if (
|
|
237
|
-
const
|
|
238
|
-
if (!
|
|
239
|
-
const c = g.value.length - g.value.length %
|
|
240
|
-
|
|
234
|
+
function F(t, e) {
|
|
235
|
+
var n;
|
|
236
|
+
if (l.value = !1, t === H.ARROW_UP) {
|
|
237
|
+
const v = e % $;
|
|
238
|
+
if (!a(0, e - $)) {
|
|
239
|
+
const c = g.value.length - g.value.length % $ + v;
|
|
240
|
+
a(0, c), a(0, c) || a(0, g.value.length - 1);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
if (
|
|
244
|
-
const
|
|
245
|
-
(
|
|
243
|
+
if (t === H.ARROW_DOWN && !a(0, e + $)) {
|
|
244
|
+
const v = e % $;
|
|
245
|
+
(n = g.value) != null && n[e + ($ - v)] ? a(0, g.value.length - 1) : a(0, v);
|
|
246
246
|
}
|
|
247
|
-
|
|
247
|
+
t === H.ARROW_LEFT && m("left", 0, e), t === H.ARROW_RIGHT && m("right", 0, e);
|
|
248
248
|
}
|
|
249
|
-
function
|
|
250
|
-
var
|
|
251
|
-
if (
|
|
252
|
-
const
|
|
253
|
-
if (
|
|
254
|
-
const
|
|
255
|
-
|
|
249
|
+
function w(t, e, n) {
|
|
250
|
+
var v, c;
|
|
251
|
+
if (t === "ArrowUp") {
|
|
252
|
+
const T = n % $;
|
|
253
|
+
if (e === 0) {
|
|
254
|
+
const r = $ - o.value[o.value.length - 1].length % $, i = o.value[o.value.length - 1].length + r - ($ - T);
|
|
255
|
+
a(o.value.length - 1, i) || a(o.value.length - 1, o.value[o.value.length - 1].length - 1);
|
|
256
256
|
return;
|
|
257
257
|
}
|
|
258
|
-
if (!
|
|
259
|
-
const
|
|
260
|
-
|
|
258
|
+
if (!a(e, n - $)) {
|
|
259
|
+
const r = e - 1 < 0 ? 0 : e - 1, i = o.value[r].length, _ = i - i % $ + T;
|
|
260
|
+
a(r, _) || a(e - 1, o.value[e - 1].length - 1);
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
if (
|
|
264
|
-
const
|
|
265
|
-
(c = (
|
|
263
|
+
if (t === "ArrowDown" && !a(e, n + $)) {
|
|
264
|
+
const T = n % $;
|
|
265
|
+
(c = (v = o.value) == null ? void 0 : v[e]) != null && c[n + ($ - T)] ? a(e, o.value[e].length - 1) : a(e + 1, T) || a(0, T) || a(0, o.value[0].length - 1);
|
|
266
266
|
}
|
|
267
|
-
|
|
267
|
+
t === "ArrowLeft" && m("left", e, n), t === "ArrowRight" && m("right", e, n);
|
|
268
268
|
}
|
|
269
269
|
return {
|
|
270
270
|
emojiFilteredRefs: g,
|
|
271
271
|
isFiltering: y,
|
|
272
|
-
hoverFirstEmoji:
|
|
273
|
-
setEmojiRef:
|
|
274
|
-
setFilteredRef:
|
|
275
|
-
focusEmoji:
|
|
276
|
-
handleArrowNavigationFiltered:
|
|
277
|
-
handleArrowNavigation:
|
|
272
|
+
hoverFirstEmoji: l,
|
|
273
|
+
setEmojiRef: d,
|
|
274
|
+
setFilteredRef: D,
|
|
275
|
+
focusEmoji: a,
|
|
276
|
+
handleArrowNavigationFiltered: F,
|
|
277
|
+
handleArrowNavigation: w
|
|
278
278
|
};
|
|
279
279
|
}
|
|
280
280
|
const Ye = { class: "d-emoji-picker__selector" }, Qe = {
|
|
@@ -387,231 +387,231 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
|
|
|
387
387
|
"focus-search-input"
|
|
388
388
|
],
|
|
389
389
|
setup(o, { expose: g, emit: y }) {
|
|
390
|
-
const
|
|
391
|
-
emojiFilteredRefs:
|
|
392
|
-
isFiltering:
|
|
393
|
-
hoverFirstEmoji:
|
|
394
|
-
setEmojiRef:
|
|
395
|
-
setFilteredRef:
|
|
396
|
-
focusEmoji:
|
|
397
|
-
handleArrowNavigationFiltered:
|
|
398
|
-
handleArrowNavigation:
|
|
399
|
-
} =
|
|
400
|
-
let
|
|
401
|
-
return
|
|
402
|
-
}), c =
|
|
403
|
-
const
|
|
404
|
-
return
|
|
405
|
-
}),
|
|
406
|
-
...
|
|
407
|
-
...
|
|
408
|
-
...
|
|
409
|
-
...
|
|
410
|
-
...
|
|
411
|
-
...
|
|
412
|
-
...
|
|
413
|
-
...
|
|
414
|
-
]),
|
|
415
|
-
|
|
416
|
-
}),
|
|
417
|
-
const
|
|
418
|
-
|
|
390
|
+
const l = o, f = y, {
|
|
391
|
+
emojiFilteredRefs: R,
|
|
392
|
+
isFiltering: L,
|
|
393
|
+
hoverFirstEmoji: I,
|
|
394
|
+
setEmojiRef: m,
|
|
395
|
+
setFilteredRef: a,
|
|
396
|
+
focusEmoji: d,
|
|
397
|
+
handleArrowNavigationFiltered: D,
|
|
398
|
+
handleArrowNavigation: F
|
|
399
|
+
} = Ge(), w = S(null), t = S(null), e = S(null), n = ["Recently used", "People", "Nature", "Food", "Activity", "Travel", "Objects", "Symbols", "Flags", "Custom"], v = M(() => {
|
|
400
|
+
let s = l.tabsetLabels.map((u) => ({ label: u, ref: S(null) }));
|
|
401
|
+
return l.recentlyUsedEmojis && !l.recentlyUsedEmojis.length && (s = l.tabsetLabels.slice(1).map((u) => ({ label: u, ref: S(null) }))), l.customEmojis && !l.customEmojis.length && s.pop(), s;
|
|
402
|
+
}), c = S(v.value[0].label), T = M(() => {
|
|
403
|
+
const s = l.recentlyUsedEmojis.length ? n.slice() : n.slice(1);
|
|
404
|
+
return l.customEmojis && !l.customEmojis.length && s.pop(), s;
|
|
405
|
+
}), r = S([]), i = M(() => [
|
|
406
|
+
...C[`People${l.skinTone}`],
|
|
407
|
+
...C.Nature,
|
|
408
|
+
...C.Food,
|
|
409
|
+
...C[`Activity${l.skinTone}`],
|
|
410
|
+
...C.Travel,
|
|
411
|
+
...C[`Objects${l.skinTone}`],
|
|
412
|
+
...C.Symbols,
|
|
413
|
+
...C.Flags
|
|
414
|
+
]), _ = me(() => {
|
|
415
|
+
R.value = [], se();
|
|
416
|
+
}), le = () => {
|
|
417
|
+
const s = t.value;
|
|
418
|
+
s.scrollTop + s.clientHeight >= s.scrollHeight && f("scroll-bottom-reached");
|
|
419
419
|
};
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
}, { immediate: !0 }),
|
|
423
|
-
() =>
|
|
420
|
+
K(i, () => {
|
|
421
|
+
se();
|
|
422
|
+
}, { immediate: !0 }), K(
|
|
423
|
+
() => l.recentlyUsedEmojis,
|
|
424
424
|
() => {
|
|
425
|
-
|
|
425
|
+
C["Recently used"] = l.recentlyUsedEmojis;
|
|
426
426
|
},
|
|
427
427
|
{ immediate: !0 }
|
|
428
|
-
),
|
|
429
|
-
() =>
|
|
428
|
+
), K(
|
|
429
|
+
() => l.customEmojis,
|
|
430
430
|
() => {
|
|
431
|
-
|
|
431
|
+
C.Custom = l.customEmojis;
|
|
432
432
|
},
|
|
433
433
|
{ immediate: !0 }
|
|
434
|
-
),
|
|
435
|
-
|
|
436
|
-
}),
|
|
437
|
-
() =>
|
|
438
|
-
(
|
|
439
|
-
|
|
434
|
+
), K(() => l.emojiFilter, () => {
|
|
435
|
+
he(), l.emojiFilter ? L.value = !0 : (L.value = !1, P(null)), _();
|
|
436
|
+
}), K(
|
|
437
|
+
() => l.selectedTabset,
|
|
438
|
+
(s) => {
|
|
439
|
+
q(s.tabId);
|
|
440
440
|
},
|
|
441
441
|
{ deep: !0 }
|
|
442
442
|
);
|
|
443
|
-
function
|
|
444
|
-
|
|
445
|
-
}
|
|
446
|
-
function
|
|
447
|
-
const
|
|
448
|
-
|
|
449
|
-
const
|
|
450
|
-
return
|
|
443
|
+
function ee(s, u = !1) {
|
|
444
|
+
I.value = u, f("highlighted-emoji", s);
|
|
445
|
+
}
|
|
446
|
+
function se() {
|
|
447
|
+
const s = l.emojiFilter.toLowerCase();
|
|
448
|
+
r.value = i.value.filter((u) => {
|
|
449
|
+
const h = u.name.toLowerCase().includes(s), p = u.keywords.some((b) => b.toLowerCase().includes(s));
|
|
450
|
+
return h || p;
|
|
451
451
|
}), x(() => {
|
|
452
|
-
|
|
452
|
+
s && ee(r.value[0], !0);
|
|
453
453
|
});
|
|
454
454
|
}
|
|
455
|
-
function
|
|
456
|
-
let
|
|
457
|
-
return (...
|
|
458
|
-
clearTimeout(
|
|
455
|
+
function me(s, u = 300) {
|
|
456
|
+
let h;
|
|
457
|
+
return (...p) => {
|
|
458
|
+
clearTimeout(h), h = setTimeout(() => s(...p), u);
|
|
459
459
|
};
|
|
460
460
|
}
|
|
461
|
-
function
|
|
462
|
-
return
|
|
461
|
+
function ve(s) {
|
|
462
|
+
return s.date_added ? s.image : Q + s.unicode_character + ".png";
|
|
463
463
|
}
|
|
464
|
-
function
|
|
465
|
-
|
|
464
|
+
function be(s) {
|
|
465
|
+
s.target.parentNode.style.display = "none";
|
|
466
466
|
}
|
|
467
|
-
function
|
|
468
|
-
const
|
|
467
|
+
function q(s, u = !0) {
|
|
468
|
+
const p = v.value[s - 1].ref.value[0];
|
|
469
469
|
x(() => {
|
|
470
|
-
const
|
|
471
|
-
|
|
470
|
+
const b = t.value, U = s === 1 ? 0 : p.offsetTop - 15;
|
|
471
|
+
b.scrollTop = U, u && d(s - 1, 0);
|
|
472
472
|
});
|
|
473
473
|
}
|
|
474
|
-
function
|
|
475
|
-
const
|
|
476
|
-
|
|
477
|
-
}
|
|
478
|
-
function ke() {
|
|
479
|
-
e.value.addEventListener("scroll", se);
|
|
474
|
+
function he() {
|
|
475
|
+
const s = t.value;
|
|
476
|
+
s.scrollTop = 0;
|
|
480
477
|
}
|
|
481
|
-
function
|
|
482
|
-
t.value
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
478
|
+
function pe() {
|
|
479
|
+
t.value.addEventListener("scroll", le);
|
|
480
|
+
}
|
|
481
|
+
function _e() {
|
|
482
|
+
e.value = new IntersectionObserver(async (s) => {
|
|
483
|
+
s.forEach((u) => {
|
|
484
|
+
var b, U, O, ne, ie;
|
|
485
|
+
const { target: h } = u, p = parseInt(h.dataset.index);
|
|
486
|
+
u.isIntersecting && h.offsetTop <= w.value.offsetTop + 50 ? (c.value = ((b = v.value[p - 1]) == null ? void 0 : b.label) ?? ((U = v.value[0]) == null ? void 0 : U.label), f("scroll-into-tab", p - 1)) : u.boundingClientRect.bottom <= ((O = w.value) == null ? void 0 : O.getBoundingClientRect().bottom) ? (f("scroll-into-tab", p), c.value = (ne = v.value[p]) == null ? void 0 : ne.label) : p === 1 && (f("scroll-into-tab", p), c.value = (ie = v.value[0]) == null ? void 0 : ie.label);
|
|
487
487
|
});
|
|
488
|
-
}),
|
|
489
|
-
|
|
488
|
+
}), e.value.observe(w.value), Array.from(t.value.children).forEach((s, u) => {
|
|
489
|
+
e.value.observe(s), s.dataset.index = u;
|
|
490
490
|
});
|
|
491
491
|
}
|
|
492
|
-
const
|
|
493
|
-
if (
|
|
494
|
-
|
|
492
|
+
const Ee = (s, u, h) => {
|
|
493
|
+
if (s.preventDefault(), Object.values(H).includes(s.key)) {
|
|
494
|
+
D(s.key, u);
|
|
495
495
|
return;
|
|
496
496
|
}
|
|
497
|
-
switch (
|
|
497
|
+
switch (s.key) {
|
|
498
498
|
case "Tab":
|
|
499
|
-
|
|
499
|
+
f("focus-skin-selector");
|
|
500
500
|
break;
|
|
501
501
|
case "Enter":
|
|
502
|
-
X(
|
|
502
|
+
X(h, s);
|
|
503
503
|
break;
|
|
504
504
|
}
|
|
505
|
-
},
|
|
506
|
-
if (
|
|
507
|
-
|
|
505
|
+
}, ke = (s, u, h, p) => {
|
|
506
|
+
if (s.preventDefault(), Object.values(H).includes(s.key)) {
|
|
507
|
+
F(s.key, u, h);
|
|
508
508
|
return;
|
|
509
509
|
}
|
|
510
|
-
switch (
|
|
510
|
+
switch (s.key) {
|
|
511
511
|
case "Tab":
|
|
512
|
-
|
|
512
|
+
s.shiftKey ? d(u, 0) && u > 0 ? q(u, !0) : (q(1, !1), f("focus-search-input")) : d(u + 1, 0) ? q(u + 1 + 1, !1) : f("focus-skin-selector");
|
|
513
513
|
break;
|
|
514
514
|
case "Enter":
|
|
515
|
-
X(
|
|
515
|
+
X(p, s);
|
|
516
516
|
break;
|
|
517
517
|
}
|
|
518
518
|
};
|
|
519
|
-
function X(
|
|
520
|
-
|
|
519
|
+
function X(s, u) {
|
|
520
|
+
f("selected-emoji", { ...s, shift_key: u.shiftKey });
|
|
521
521
|
}
|
|
522
|
-
function
|
|
523
|
-
|
|
522
|
+
function P(s) {
|
|
523
|
+
f("highlighted-emoji", s);
|
|
524
524
|
}
|
|
525
525
|
function Se() {
|
|
526
|
-
|
|
526
|
+
d(0, 0);
|
|
527
527
|
}
|
|
528
|
-
function
|
|
529
|
-
|
|
528
|
+
function ge() {
|
|
529
|
+
q(T.value.length, !0);
|
|
530
530
|
}
|
|
531
|
-
return
|
|
532
|
-
|
|
531
|
+
return re(() => {
|
|
532
|
+
_e(), pe();
|
|
533
533
|
}), Te(() => {
|
|
534
|
-
|
|
534
|
+
e.value.disconnect(), t.value.removeEventListener("scroll", le);
|
|
535
535
|
}), g({
|
|
536
536
|
focusEmojiSelector: Se,
|
|
537
|
-
focusLastEmoji:
|
|
538
|
-
}), (
|
|
539
|
-
|
|
537
|
+
focusLastEmoji: ge
|
|
538
|
+
}), (s, u) => (E(), j("div", Ye, [
|
|
539
|
+
A("div", {
|
|
540
540
|
id: "d-emoji-picker-list",
|
|
541
541
|
ref_key: "listRef",
|
|
542
|
-
ref:
|
|
542
|
+
ref: t,
|
|
543
543
|
class: "d-emoji-picker__list"
|
|
544
544
|
}, [
|
|
545
|
-
o.emojiFilter ? (
|
|
545
|
+
o.emojiFilter ? (E(), j("p", Qe, z(r.value.length > 0 ? o.searchResultsLabel : o.searchNoResultsLabel), 1)) : (E(), j("div", {
|
|
546
546
|
key: 1,
|
|
547
547
|
ref_key: "tabCategoryRef",
|
|
548
|
-
ref:
|
|
548
|
+
ref: w,
|
|
549
549
|
class: "d-emoji-picker__category d-emoji-picker__alignment"
|
|
550
550
|
}, [
|
|
551
|
-
|
|
551
|
+
A("p", null, z(c.value), 1)
|
|
552
552
|
], 512)),
|
|
553
|
-
(
|
|
554
|
-
key:
|
|
553
|
+
(E(!0), j(W, null, G(v.value, (h, p) => te((E(), j("div", {
|
|
554
|
+
key: p,
|
|
555
555
|
ref_for: !0,
|
|
556
|
-
ref:
|
|
556
|
+
ref: h.ref,
|
|
557
557
|
class: "d-emoji-picker__alignment"
|
|
558
558
|
}, [
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
(
|
|
562
|
-
key:
|
|
559
|
+
p ? (E(), j("p", Xe, z(h.label), 1)) : Y("", !0),
|
|
560
|
+
A("div", Ze, [
|
|
561
|
+
(E(!0), j(W, null, G(k(C)[T.value[p] + o.skinTone] ? k(C)[T.value[p] + o.skinTone] : k(C)[T.value[p]], (b, U) => (E(), j("button", {
|
|
562
|
+
key: b.shortname,
|
|
563
563
|
ref_for: !0,
|
|
564
|
-
ref: (
|
|
565
|
-
|
|
564
|
+
ref: (O) => {
|
|
565
|
+
O && k(m)(O, p, U);
|
|
566
566
|
},
|
|
567
567
|
type: "button",
|
|
568
|
-
"aria-label":
|
|
569
|
-
onClick: (
|
|
570
|
-
onFocusin: (
|
|
571
|
-
onFocusout:
|
|
572
|
-
onMouseover: (
|
|
573
|
-
onMouseleave:
|
|
574
|
-
onKeydown: (
|
|
568
|
+
"aria-label": b.name,
|
|
569
|
+
onClick: (O) => X(b, O),
|
|
570
|
+
onFocusin: (O) => P(b),
|
|
571
|
+
onFocusout: u[0] || (u[0] = (O) => P(null)),
|
|
572
|
+
onMouseover: (O) => P(b),
|
|
573
|
+
onMouseleave: u[1] || (u[1] = (O) => P(null)),
|
|
574
|
+
onKeydown: (O) => ke(O, p, U, b)
|
|
575
575
|
}, [
|
|
576
|
-
|
|
576
|
+
A("img", {
|
|
577
577
|
class: "d-icon d-icon--size-500",
|
|
578
|
-
alt:
|
|
579
|
-
"aria-label":
|
|
580
|
-
title:
|
|
581
|
-
src:
|
|
582
|
-
onError:
|
|
578
|
+
alt: b.name,
|
|
579
|
+
"aria-label": b.name,
|
|
580
|
+
title: b.name,
|
|
581
|
+
src: ve(b),
|
|
582
|
+
onError: be
|
|
583
583
|
}, null, 40, et)
|
|
584
584
|
], 40, xe))), 128))
|
|
585
585
|
])
|
|
586
586
|
])), [
|
|
587
|
-
[
|
|
587
|
+
[oe, !o.emojiFilter]
|
|
588
588
|
])), 128)),
|
|
589
|
-
o.emojiFilter ? (
|
|
590
|
-
|
|
591
|
-
(
|
|
592
|
-
key:
|
|
589
|
+
o.emojiFilter ? (E(), j("div", tt, [
|
|
590
|
+
A("div", ot, [
|
|
591
|
+
(E(!0), j(W, null, G(r.value, (h, p) => (E(), j("button", {
|
|
592
|
+
key: h.shortname,
|
|
593
593
|
ref_for: !0,
|
|
594
|
-
ref: (
|
|
595
|
-
|
|
594
|
+
ref: (b) => {
|
|
595
|
+
b && k(a)(b, p);
|
|
596
596
|
},
|
|
597
597
|
type: "button",
|
|
598
|
-
"aria-label":
|
|
599
|
-
class:
|
|
600
|
-
"hover-emoji":
|
|
598
|
+
"aria-label": h.name,
|
|
599
|
+
class: ce({
|
|
600
|
+
"hover-emoji": p === 0 && k(I)
|
|
601
601
|
}),
|
|
602
|
-
onClick: (
|
|
603
|
-
onFocusin: (
|
|
604
|
-
onFocusout:
|
|
605
|
-
onMouseover: (
|
|
606
|
-
onMouseleave:
|
|
607
|
-
onKeydown: (
|
|
602
|
+
onClick: (b) => X(h, b),
|
|
603
|
+
onFocusin: (b) => P(h),
|
|
604
|
+
onFocusout: u[2] || (u[2] = (b) => P(null)),
|
|
605
|
+
onMouseover: (b) => ee(h),
|
|
606
|
+
onMouseleave: u[3] || (u[3] = (b) => ee(null)),
|
|
607
|
+
onKeydown: (b) => Ee(b, p, h)
|
|
608
608
|
}, [
|
|
609
|
-
|
|
609
|
+
A("img", {
|
|
610
610
|
class: "d-icon d-icon--size-500",
|
|
611
|
-
alt:
|
|
612
|
-
"aria-label":
|
|
613
|
-
title:
|
|
614
|
-
src: `${
|
|
611
|
+
alt: h.name,
|
|
612
|
+
"aria-label": h.name,
|
|
613
|
+
title: h.name,
|
|
614
|
+
src: `${k(Q) + h.unicode_character}.png`
|
|
615
615
|
}, null, 8, st)
|
|
616
616
|
], 42, lt))), 128))
|
|
617
617
|
])
|
|
@@ -651,7 +651,7 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
|
|
|
651
651
|
"focus-last-emoji"
|
|
652
652
|
],
|
|
653
653
|
setup(o, { expose: g, emit: y }) {
|
|
654
|
-
const
|
|
654
|
+
const l = o, f = y, R = [
|
|
655
655
|
{
|
|
656
656
|
name: ":wave_tone1:",
|
|
657
657
|
unicode_output: "1f44b-1f3fb",
|
|
@@ -688,82 +688,82 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
|
|
|
688
688
|
skinTone: V.DEFAULT,
|
|
689
689
|
skinCode: ""
|
|
690
690
|
}
|
|
691
|
-
],
|
|
692
|
-
|
|
693
|
-
() =>
|
|
691
|
+
], L = S(!1), I = S(null), m = S([]);
|
|
692
|
+
ae(
|
|
693
|
+
() => l.isHovering && (L.value = !1)
|
|
694
694
|
);
|
|
695
|
-
const
|
|
696
|
-
|
|
697
|
-
function
|
|
698
|
-
|
|
695
|
+
const a = M(() => R.find((n) => n.skinTone === l.skinTone)), d = S(a.value);
|
|
696
|
+
ae(() => a.value && (d.value = a.value));
|
|
697
|
+
function D(n) {
|
|
698
|
+
m.value.push(n);
|
|
699
699
|
}
|
|
700
|
-
function
|
|
701
|
-
|
|
700
|
+
function F() {
|
|
701
|
+
I.value.focus();
|
|
702
702
|
}
|
|
703
|
-
function
|
|
704
|
-
|
|
703
|
+
function w(n) {
|
|
704
|
+
d.value = n, L.value = !1, f("skin-tone", n.skinTone), x(() => F());
|
|
705
705
|
}
|
|
706
|
-
const
|
|
707
|
-
var
|
|
708
|
-
|
|
706
|
+
const t = (n, v, c) => {
|
|
707
|
+
var T, r, i;
|
|
708
|
+
n.preventDefault(), n.key === "ArrowLeft" && (c === 0 && ((T = m.value[m.value.length - 1]) == null || T.focus()), (r = m.value[c - 1]) == null || r.focus()), n.key === "ArrowRight" && ((i = m.value[c + 1]) == null || i.focus()), n.key === "Enter" && (v ? w(v) : e()), n.key === "Tab" && (n.shiftKey ? f("focus-last-emoji") : f("focus-tabset"));
|
|
709
709
|
};
|
|
710
|
-
function
|
|
711
|
-
|
|
710
|
+
function e() {
|
|
711
|
+
L.value = !L.value, x(() => m.value[0].focus());
|
|
712
712
|
}
|
|
713
713
|
return g({
|
|
714
|
-
focusSkinSelector:
|
|
715
|
-
}), (
|
|
716
|
-
|
|
717
|
-
(
|
|
714
|
+
focusSkinSelector: F
|
|
715
|
+
}), (n, v) => (E(), j("div", it, [
|
|
716
|
+
te(A("div", at, [
|
|
717
|
+
(E(), j(W, null, G(R, (c, T) => A("button", {
|
|
718
718
|
ref_for: !0,
|
|
719
|
-
ref: (
|
|
720
|
-
|
|
719
|
+
ref: (r) => {
|
|
720
|
+
r && D(r);
|
|
721
721
|
},
|
|
722
722
|
key: c.name,
|
|
723
|
-
class:
|
|
724
|
-
selected:
|
|
723
|
+
class: ce({
|
|
724
|
+
selected: d.value.skinCode === c.skinCode
|
|
725
725
|
}),
|
|
726
|
-
onKeydown: (
|
|
727
|
-
onClick: (
|
|
726
|
+
onKeydown: (r) => t(r, c, T),
|
|
727
|
+
onClick: (r) => w(c)
|
|
728
728
|
}, [
|
|
729
|
-
|
|
729
|
+
A("img", {
|
|
730
730
|
class: "d-icon d-icon--size-500",
|
|
731
731
|
alt: c.name,
|
|
732
732
|
"aria-label": c.name,
|
|
733
733
|
title: c.name,
|
|
734
|
-
src: `${
|
|
734
|
+
src: `${k(Q) + c.unicode_output}.png`
|
|
735
735
|
}, null, 8, ut)
|
|
736
736
|
], 42, rt)), 64))
|
|
737
737
|
], 512), [
|
|
738
|
-
[
|
|
738
|
+
[oe, L.value]
|
|
739
739
|
]),
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
anchor:
|
|
743
|
-
|
|
740
|
+
te(A("div", ct, [
|
|
741
|
+
B(k(Je), { placement: "top-end" }, {
|
|
742
|
+
anchor: N(() => [
|
|
743
|
+
A("button", {
|
|
744
744
|
ref_key: "skinSelectorRef",
|
|
745
|
-
ref:
|
|
745
|
+
ref: I,
|
|
746
746
|
"aria-label": o.skinSelectorButtonTooltipLabel,
|
|
747
747
|
tabindex: "-1",
|
|
748
|
-
onClick:
|
|
749
|
-
onKeydown:
|
|
748
|
+
onClick: e,
|
|
749
|
+
onKeydown: v[0] || (v[0] = (c) => t(c))
|
|
750
750
|
}, [
|
|
751
|
-
|
|
751
|
+
A("img", {
|
|
752
752
|
class: "d-icon d-icon--size-500",
|
|
753
|
-
alt:
|
|
754
|
-
"aria-label":
|
|
755
|
-
title:
|
|
756
|
-
src: `${
|
|
753
|
+
alt: d.value.name,
|
|
754
|
+
"aria-label": d.value.name,
|
|
755
|
+
title: d.value.name,
|
|
756
|
+
src: `${k(Q) + d.value.unicode_output}.png`
|
|
757
757
|
}, null, 8, dt)
|
|
758
758
|
], 40, ft)
|
|
759
759
|
]),
|
|
760
|
-
default:
|
|
761
|
-
|
|
760
|
+
default: N(() => [
|
|
761
|
+
fe(z(o.skinSelectorButtonTooltipLabel) + " ", 1)
|
|
762
762
|
]),
|
|
763
763
|
_: 1
|
|
764
764
|
})
|
|
765
765
|
], 512), [
|
|
766
|
-
[
|
|
766
|
+
[oe, !L.value]
|
|
767
767
|
])
|
|
768
768
|
]));
|
|
769
769
|
}
|
|
@@ -784,10 +784,10 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
|
|
|
784
784
|
function g(y) {
|
|
785
785
|
return y.date_added ? y.image : `${Q + y.unicode_character}.png`;
|
|
786
786
|
}
|
|
787
|
-
return (y,
|
|
788
|
-
var
|
|
789
|
-
return
|
|
790
|
-
o.emoji ? (
|
|
787
|
+
return (y, l) => {
|
|
788
|
+
var f;
|
|
789
|
+
return E(), j("div", vt, [
|
|
790
|
+
o.emoji ? (E(), j("img", {
|
|
791
791
|
key: 0,
|
|
792
792
|
class: "d-icon d-icon--size-500",
|
|
793
793
|
alt: o.emoji.name,
|
|
@@ -795,11 +795,11 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
|
|
|
795
795
|
title: o.emoji.name,
|
|
796
796
|
src: g(o.emoji)
|
|
797
797
|
}, null, 8, bt)) : Y("", !0),
|
|
798
|
-
|
|
798
|
+
A("div", null, z((f = o.emoji) == null ? void 0 : f.name), 1)
|
|
799
799
|
]);
|
|
800
800
|
};
|
|
801
801
|
}
|
|
802
|
-
}, pt = { class: "d-emoji-picker" },
|
|
802
|
+
}, pt = { class: "d-emoji-picker" }, _t = { class: "d-emoji-picker--header" }, Et = { class: "d-emoji-picker--body" }, kt = { class: "d-emoji-picker--footer" }, Ot = {
|
|
803
803
|
__name: "emoji_picker",
|
|
804
804
|
props: {
|
|
805
805
|
/**
|
|
@@ -826,65 +826,6 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
|
|
|
826
826
|
customEmojis: {
|
|
827
827
|
type: Array
|
|
828
828
|
},
|
|
829
|
-
/**
|
|
830
|
-
* The label for the add emoji button
|
|
831
|
-
* required false because it is still experimental
|
|
832
|
-
* @type {String}
|
|
833
|
-
* @example
|
|
834
|
-
* <dt-emoji-picker :addEmojiLabel="'Add emoji'" />
|
|
835
|
-
*/
|
|
836
|
-
addEmojiLabel: {
|
|
837
|
-
type: String,
|
|
838
|
-
required: !1,
|
|
839
|
-
default: "Add emoji"
|
|
840
|
-
},
|
|
841
|
-
/**
|
|
842
|
-
* The placeholder text for the search input
|
|
843
|
-
* @type {String}
|
|
844
|
-
* @required
|
|
845
|
-
* @example
|
|
846
|
-
* <dt-emoji-picker :searchPlaceholderLabel="'Search...'" />
|
|
847
|
-
*/
|
|
848
|
-
searchPlaceholderLabel: {
|
|
849
|
-
type: String,
|
|
850
|
-
required: !0
|
|
851
|
-
},
|
|
852
|
-
/**
|
|
853
|
-
* The label for the search results tab
|
|
854
|
-
* @type {String}
|
|
855
|
-
* @required
|
|
856
|
-
* @example
|
|
857
|
-
* <dt-emoji-picker :searchResultsLabel="'Search results'" />
|
|
858
|
-
*/
|
|
859
|
-
searchResultsLabel: {
|
|
860
|
-
type: String,
|
|
861
|
-
required: !0
|
|
862
|
-
},
|
|
863
|
-
/**
|
|
864
|
-
* The label for the search no results
|
|
865
|
-
* @type {String}
|
|
866
|
-
* @required
|
|
867
|
-
* @example
|
|
868
|
-
* <dt-emoji-picker :searchNoResultsLabel="'No results'" />
|
|
869
|
-
*/
|
|
870
|
-
searchNoResultsLabel: {
|
|
871
|
-
type: String,
|
|
872
|
-
required: !0
|
|
873
|
-
},
|
|
874
|
-
/**
|
|
875
|
-
* The list of tabsets to show, it is necessary to be updated with the correct language
|
|
876
|
-
* It must respect the provided order.
|
|
877
|
-
* @type {Array}
|
|
878
|
-
* @required
|
|
879
|
-
* @example
|
|
880
|
-
* <dt-emoji-picker
|
|
881
|
-
* :tabSetLabels="['Most recently used', 'Smileys and people', 'Nature',
|
|
882
|
-
* 'Food', 'Activity', 'Travel', 'Objects', 'Symbols', 'Flags', 'Custom']" />
|
|
883
|
-
*/
|
|
884
|
-
tabSetLabels: {
|
|
885
|
-
type: Array,
|
|
886
|
-
required: !0
|
|
887
|
-
},
|
|
888
829
|
/**
|
|
889
830
|
* The skin tone to show the emojis
|
|
890
831
|
* This prop gives the possibility to use the skin tone selected by the user previously
|
|
@@ -899,22 +840,12 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
|
|
|
899
840
|
default: "Default"
|
|
900
841
|
},
|
|
901
842
|
/**
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
skinSelectorButtonTooltipLabel: {
|
|
909
|
-
type: String,
|
|
910
|
-
required: !0
|
|
911
|
-
},
|
|
912
|
-
/**
|
|
913
|
-
* Sets the search query that filters emojis.
|
|
914
|
-
* @type {String}
|
|
915
|
-
* @example
|
|
916
|
-
* <dt-emoji-picker search-query="smile" />
|
|
917
|
-
*/
|
|
843
|
+
|
|
844
|
+
* Sets the search query that filters emojis.
|
|
845
|
+
* @type {String}
|
|
846
|
+
* @example
|
|
847
|
+
* <dt-emoji-picker search-query="smile" />
|
|
848
|
+
*/
|
|
918
849
|
searchQuery: {
|
|
919
850
|
type: String,
|
|
920
851
|
default: ""
|
|
@@ -961,103 +892,114 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
|
|
|
961
892
|
"add-emoji"
|
|
962
893
|
],
|
|
963
894
|
setup(o, { emit: g }) {
|
|
964
|
-
const y = o,
|
|
895
|
+
const y = o, l = g, f = S(y.searchQuery.value), R = S(null), L = S({}), I = S(0), m = M(() => {
|
|
965
896
|
var r;
|
|
966
897
|
return ((r = y.recentlyUsedEmojis) == null ? void 0 : r.length) > 0;
|
|
967
|
-
}),
|
|
898
|
+
}), a = M(() => {
|
|
968
899
|
var r;
|
|
969
900
|
return ((r = y.customEmojis) == null ? void 0 : r.length) > 0;
|
|
970
|
-
})
|
|
971
|
-
|
|
901
|
+
}), d = new Ve(), D = [
|
|
902
|
+
d.$t("DIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL"),
|
|
903
|
+
d.$t("DIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL"),
|
|
904
|
+
d.$t("DIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL"),
|
|
905
|
+
d.$t("DIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL"),
|
|
906
|
+
d.$t("DIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL"),
|
|
907
|
+
d.$t("DIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL"),
|
|
908
|
+
d.$t("DIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL"),
|
|
909
|
+
d.$t("DIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL"),
|
|
910
|
+
d.$t("DIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL"),
|
|
911
|
+
d.$t("DIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL")
|
|
912
|
+
], F = d.$t("DIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL"), w = d.$t("DIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL"), t = d.$t("DIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL"), e = d.$t("DIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL"), n = d.$t("DIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL");
|
|
913
|
+
K(
|
|
972
914
|
() => y.searchQuery,
|
|
973
915
|
(r) => {
|
|
974
|
-
|
|
916
|
+
f.value = r;
|
|
975
917
|
}
|
|
976
918
|
);
|
|
977
|
-
function
|
|
978
|
-
|
|
919
|
+
function v(r) {
|
|
920
|
+
f.value = "", L.value = { ...L.value, tabId: r };
|
|
979
921
|
}
|
|
980
|
-
function
|
|
981
|
-
|
|
922
|
+
function c(r) {
|
|
923
|
+
I.value = r;
|
|
982
924
|
}
|
|
983
|
-
function
|
|
984
|
-
|
|
925
|
+
function T(r) {
|
|
926
|
+
R.value = r;
|
|
985
927
|
}
|
|
986
|
-
return (r,
|
|
987
|
-
|
|
988
|
-
|
|
928
|
+
return (r, i) => (E(), j("div", pt, [
|
|
929
|
+
A("div", _t, [
|
|
930
|
+
B(We, {
|
|
989
931
|
ref: "tabsetRef",
|
|
990
|
-
"emoji-filter":
|
|
991
|
-
"show-custom-emojis-tab":
|
|
992
|
-
"show-recently-used-tab":
|
|
993
|
-
"scroll-into-tab":
|
|
994
|
-
"
|
|
995
|
-
onFocusSkinSelector:
|
|
996
|
-
onFocusSearchInput:
|
|
997
|
-
onSelectedTabset:
|
|
998
|
-
onKeydown:
|
|
999
|
-
}, null, 8, ["emoji-filter", "show-custom-emojis-tab", "show-recently-used-tab", "scroll-into-tab"
|
|
932
|
+
"emoji-filter": f.value,
|
|
933
|
+
"show-custom-emojis-tab": a.value,
|
|
934
|
+
"show-recently-used-tab": m.value,
|
|
935
|
+
"scroll-into-tab": I.value,
|
|
936
|
+
"tab-set-labels": D,
|
|
937
|
+
onFocusSkinSelector: i[0] || (i[0] = (_) => r.$refs.skinSelectorRef.focusSkinSelector()),
|
|
938
|
+
onFocusSearchInput: i[1] || (i[1] = (_) => o.showSearch ? r.$refs.searchInputRef.focusSearchInput() : r.$refs.emojiSelectorRef.focusEmojiSelector()),
|
|
939
|
+
onSelectedTabset: v,
|
|
940
|
+
onKeydown: i[2] || (i[2] = J((_) => l("close"), ["esc"]))
|
|
941
|
+
}, null, 8, ["emoji-filter", "show-custom-emojis-tab", "show-recently-used-tab", "scroll-into-tab"])
|
|
1000
942
|
]),
|
|
1001
|
-
|
|
1002
|
-
o.showSearch ? (
|
|
943
|
+
A("div", Et, [
|
|
944
|
+
o.showSearch ? (E(), Z(ze, {
|
|
1003
945
|
key: 0,
|
|
1004
946
|
ref: "searchInputRef",
|
|
1005
|
-
modelValue:
|
|
1006
|
-
"onUpdate:modelValue":
|
|
1007
|
-
"search-placeholder-label":
|
|
1008
|
-
onSelectFirstEmoji:
|
|
1009
|
-
onFocusTabset:
|
|
1010
|
-
onFocusEmojiSelector:
|
|
1011
|
-
onKeydown:
|
|
947
|
+
modelValue: f.value,
|
|
948
|
+
"onUpdate:modelValue": i[3] || (i[3] = (_) => f.value = _),
|
|
949
|
+
"search-placeholder-label": k(F),
|
|
950
|
+
onSelectFirstEmoji: i[4] || (i[4] = (_) => l("selected-emoji", R.value)),
|
|
951
|
+
onFocusTabset: i[5] || (i[5] = (_) => r.$refs.tabsetRef.focusTabset()),
|
|
952
|
+
onFocusEmojiSelector: i[6] || (i[6] = (_) => r.$refs.emojiSelectorRef.focusEmojiSelector()),
|
|
953
|
+
onKeydown: i[7] || (i[7] = J((_) => l("close"), ["esc"]))
|
|
1012
954
|
}, null, 8, ["modelValue", "search-placeholder-label"])) : Y("", !0),
|
|
1013
|
-
|
|
955
|
+
B(nt, {
|
|
1014
956
|
ref: "emojiSelectorRef",
|
|
1015
|
-
"emoji-filter":
|
|
957
|
+
"emoji-filter": f.value,
|
|
1016
958
|
"skin-tone": o.skinTone,
|
|
1017
|
-
"tabset-labels":
|
|
1018
|
-
"search-results-label":
|
|
1019
|
-
"search-no-results-label":
|
|
959
|
+
"tabset-labels": D,
|
|
960
|
+
"search-results-label": k(w),
|
|
961
|
+
"search-no-results-label": k(t),
|
|
1020
962
|
"recently-used-emojis": o.recentlyUsedEmojis,
|
|
1021
963
|
"custom-emojis": o.customEmojis,
|
|
1022
|
-
"selected-tabset":
|
|
1023
|
-
onScrollIntoTab:
|
|
1024
|
-
onHighlightedEmoji:
|
|
1025
|
-
onSelectedEmoji:
|
|
1026
|
-
onFocusSkinSelector:
|
|
1027
|
-
onFocusSearchInput:
|
|
1028
|
-
onKeydown:
|
|
1029
|
-
onScrollBottomReached:
|
|
1030
|
-
}, null, 8, ["emoji-filter", "skin-tone", "
|
|
964
|
+
"selected-tabset": L.value,
|
|
965
|
+
onScrollIntoTab: c,
|
|
966
|
+
onHighlightedEmoji: T,
|
|
967
|
+
onSelectedEmoji: i[8] || (i[8] = (_) => l("selected-emoji", _)),
|
|
968
|
+
onFocusSkinSelector: i[9] || (i[9] = (_) => r.$refs.skinSelectorRef.focusSkinSelector()),
|
|
969
|
+
onFocusSearchInput: i[10] || (i[10] = (_) => o.showSearch ? r.$refs.searchInputRef.focusSearchInput() : r.$refs.tabsetRef.focusTabset()),
|
|
970
|
+
onKeydown: i[11] || (i[11] = J((_) => l("close"), ["esc"])),
|
|
971
|
+
onScrollBottomReached: i[12] || (i[12] = (_) => l("scroll-bottom-reached"))
|
|
972
|
+
}, null, 8, ["emoji-filter", "skin-tone", "search-results-label", "search-no-results-label", "recently-used-emojis", "custom-emojis", "selected-tabset"])
|
|
1031
973
|
]),
|
|
1032
|
-
|
|
1033
|
-
|
|
974
|
+
A("div", kt, [
|
|
975
|
+
a.value && !R.value ? (E(), Z(k(de), {
|
|
1034
976
|
key: 0,
|
|
1035
977
|
importance: "outlined",
|
|
1036
|
-
"aria-label":
|
|
978
|
+
"aria-label": k(n),
|
|
1037
979
|
class: "d-emoji-picker__add-emoji",
|
|
1038
|
-
onClick:
|
|
980
|
+
onClick: i[13] || (i[13] = (_) => l("add-emoji"))
|
|
1039
981
|
}, {
|
|
1040
|
-
default:
|
|
1041
|
-
|
|
982
|
+
default: N(() => [
|
|
983
|
+
fe(z(k(n)), 1)
|
|
1042
984
|
]),
|
|
1043
985
|
_: 1
|
|
1044
986
|
}, 8, ["aria-label"])) : Y("", !0),
|
|
1045
|
-
|
|
1046
|
-
|
|
987
|
+
B(ht, { emoji: R.value }, null, 8, ["emoji"]),
|
|
988
|
+
B(mt, {
|
|
1047
989
|
ref: "skinSelectorRef",
|
|
1048
|
-
"is-hovering": !!
|
|
1049
|
-
"skin-selector-button-tooltip-label":
|
|
990
|
+
"is-hovering": !!R.value,
|
|
991
|
+
"skin-selector-button-tooltip-label": k(e),
|
|
1050
992
|
"skin-tone": o.skinTone,
|
|
1051
|
-
onSkinTone:
|
|
1052
|
-
onFocusTabset:
|
|
1053
|
-
onFocusLastEmoji:
|
|
1054
|
-
onKeydown:
|
|
993
|
+
onSkinTone: i[14] || (i[14] = (_) => l("skin-tone", _)),
|
|
994
|
+
onFocusTabset: i[15] || (i[15] = (_) => r.$refs.tabsetRef.focusTabset()),
|
|
995
|
+
onFocusLastEmoji: i[16] || (i[16] = (_) => r.$refs.emojiSelectorRef.focusLastEmoji()),
|
|
996
|
+
onKeydown: i[17] || (i[17] = J((_) => l("close"), ["esc"]))
|
|
1055
997
|
}, null, 8, ["is-hovering", "skin-selector-button-tooltip-label", "skin-tone"])
|
|
1056
998
|
])
|
|
1057
999
|
]));
|
|
1058
1000
|
}
|
|
1059
1001
|
};
|
|
1060
1002
|
export {
|
|
1061
|
-
|
|
1003
|
+
Ot as default
|
|
1062
1004
|
};
|
|
1063
1005
|
//# sourceMappingURL=emoji-picker.js.map
|