@dialpad/dialtone 9.124.0 → 9.125.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 +9 -2
- package/dist/tokens/doc.json +24416 -24416
- package/dist/vue2/common/mixins/index.cjs +1 -1
- package/dist/vue2/common/mixins/index.js +10 -10
- package/dist/vue2/common/mixins/localization.cjs +2 -0
- package/dist/vue2/common/mixins/localization.cjs.map +1 -0
- package/dist/vue2/common/mixins/localization.js +10 -0
- package/dist/vue2/common/mixins/localization.js.map +1 -0
- package/dist/vue2/common/utils/index.cjs +1 -1
- package/dist/vue2/common/utils/index.cjs.map +1 -1
- package/dist/vue2/common/utils/index.js +43 -39
- package/dist/vue2/common/utils/index.js.map +1 -1
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/dialtone-vue.cjs +1 -1
- package/dist/vue2/dialtone-vue.js +341 -340
- package/dist/vue2/dialtone-vue.js.map +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.js +61 -86
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.js.map +1 -1
- package/dist/vue2/lib/banner/banner.cjs +2 -2
- package/dist/vue2/lib/banner/banner.cjs.map +1 -1
- package/dist/vue2/lib/banner/banner.js +25 -33
- package/dist/vue2/lib/banner/banner.js.map +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.js +14 -12
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/vue2/lib/button/button.cjs +1 -1
- package/dist/vue2/lib/button/button.cjs.map +1 -1
- package/dist/vue2/lib/button/button.js +11 -9
- package/dist/vue2/lib/button/button.js.map +1 -1
- 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 +19 -25
- 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 +18 -21
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
- package/dist/vue2/lib/chip/chip.cjs +1 -1
- package/dist/vue2/lib/chip/chip.cjs.map +1 -1
- package/dist/vue2/lib/chip/chip.js +24 -29
- package/dist/vue2/lib/chip/chip.js.map +1 -1
- package/dist/vue2/lib/combobox/combobox-constants.cjs +1 -1
- package/dist/vue2/lib/combobox/combobox-constants.cjs.map +1 -1
- package/dist/vue2/lib/combobox/combobox-constants.js +2 -2
- package/dist/vue2/lib/combobox/combobox-constants.js.map +1 -1
- package/dist/vue2/lib/combobox/combobox-empty-list.cjs.map +1 -1
- package/dist/vue2/lib/combobox/combobox-empty-list.js.map +1 -1
- package/dist/vue2/lib/combobox/combobox-loading-list.cjs.map +1 -1
- package/dist/vue2/lib/combobox/combobox-loading-list.js.map +1 -1
- package/dist/vue2/lib/combobox/combobox.cjs +2 -2
- package/dist/vue2/lib/combobox/combobox.cjs.map +1 -1
- package/dist/vue2/lib/combobox/combobox.js +12 -12
- package/dist/vue2/lib/combobox/combobox.js.map +1 -1
- package/dist/vue2/lib/combobox/index.cjs +1 -1
- package/dist/vue2/lib/combobox/index.js +3 -3
- package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
- package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
- package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js +16 -18
- package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
- package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
- package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
- package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.js +22 -24
- package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs +1 -1
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.js +40 -36
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.js.map +1 -1
- package/dist/vue2/lib/contact-row/contact-row.cjs +1 -1
- package/dist/vue2/lib/contact-row/contact-row.cjs.map +1 -1
- package/dist/vue2/lib/contact-row/contact-row.js +11 -25
- package/dist/vue2/lib/contact-row/contact-row.js.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker-constants.cjs +1 -1
- package/dist/vue2/lib/datepicker/datepicker-constants.cjs.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker-constants.js +2 -3
- package/dist/vue2/lib/datepicker/datepicker-constants.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 +143 -229
- package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
- package/dist/vue2/lib/datepicker/utils.cjs +1 -1
- package/dist/vue2/lib/datepicker/utils.cjs.map +1 -1
- package/dist/vue2/lib/datepicker/utils.js +12 -11
- package/dist/vue2/lib/datepicker/utils.js.map +1 -1
- package/dist/vue2/lib/description-list/description-list.cjs +1 -1
- package/dist/vue2/lib/description-list/description-list.cjs.map +1 -1
- package/dist/vue2/lib/description-list/description-list.js +8 -8
- package/dist/vue2/lib/description-list/description-list.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 +48 -50
- package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
- package/dist/vue2/lib/editor/editor.cjs +1 -1
- package/dist/vue2/lib/editor/editor.cjs.map +1 -1
- package/dist/vue2/lib/editor/editor.js +78 -87
- package/dist/vue2/lib/editor/editor.js.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker-constants.cjs +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker-constants.js +6 -19
- package/dist/vue2/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.cjs +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.js +106 -145
- package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
- package/dist/vue2/lib/emoji-picker/index.cjs +1 -1
- package/dist/vue2/lib/emoji-picker/index.js +6 -7
- package/dist/vue2/lib/emoji-row/emoji-row-constants.cjs +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row-constants.cjs.map +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row-constants.js +5 -7
- package/dist/vue2/lib/emoji-row/emoji-row-constants.js.map +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.cjs +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.cjs.map +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.js +31 -22
- package/dist/vue2/lib/emoji-row/emoji-row.js.map +1 -1
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs +1 -1
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.js +20 -22
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.js.map +1 -1
- package/dist/vue2/lib/general-row/general-row.cjs +1 -1
- package/dist/vue2/lib/general-row/general-row.cjs.map +1 -1
- package/dist/vue2/lib/general-row/general-row.js +63 -52
- package/dist/vue2/lib/general-row/general-row.js.map +1 -1
- package/dist/vue2/lib/group-row/group-row.cjs +1 -1
- package/dist/vue2/lib/group-row/group-row.cjs.map +1 -1
- package/dist/vue2/lib/group-row/group-row.js +43 -32
- package/dist/vue2/lib/group-row/group-row.js.map +1 -1
- package/dist/vue2/lib/icon/icon-constants.cjs.map +1 -1
- package/dist/vue2/lib/icon/icon-constants.js.map +1 -1
- package/dist/vue2/lib/icon/icon.cjs +1 -1
- package/dist/vue2/lib/icon/icon.cjs.map +1 -1
- package/dist/vue2/lib/icon/icon.js +12 -8
- package/dist/vue2/lib/icon/icon.js.map +1 -1
- package/dist/vue2/lib/image-viewer/image-viewer.cjs +1 -1
- package/dist/vue2/lib/image-viewer/image-viewer.cjs.map +1 -1
- package/dist/vue2/lib/image-viewer/image-viewer.js +30 -31
- package/dist/vue2/lib/image-viewer/image-viewer.js.map +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node-constants.cjs +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node-constants.cjs.map +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node-constants.js +24 -24
- package/dist/vue2/lib/ivr-node/ivr-node-constants.js.map +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node.cjs +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node.cjs.map +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node.js +38 -36
- package/dist/vue2/lib/ivr-node/ivr-node.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input-link.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input-link.cjs.map +1 -1
- package/dist/vue2/lib/message-input/message-input-link.js +48 -23
- package/dist/vue2/lib/message-input/message-input-link.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input-topbar.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input-topbar.cjs.map +1 -1
- package/dist/vue2/lib/message-input/message-input-topbar.js +50 -22
- package/dist/vue2/lib/message-input/message-input-topbar.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input.cjs.map +1 -1
- package/dist/vue2/lib/message-input/message-input.js +112 -143
- package/dist/vue2/lib/message-input/message-input.js.map +1 -1
- package/dist/vue2/lib/modal/modal.cjs +1 -2
- package/dist/vue2/lib/modal/modal.cjs.map +1 -1
- package/dist/vue2/lib/modal/modal.js +25 -42
- package/dist/vue2/lib/modal/modal.js.map +1 -1
- package/dist/vue2/lib/notice/notice-action.cjs +1 -1
- package/dist/vue2/lib/notice/notice-action.cjs.map +1 -1
- package/dist/vue2/lib/notice/notice-action.js +19 -26
- package/dist/vue2/lib/notice/notice-action.js.map +1 -1
- package/dist/vue2/lib/notice/notice.cjs +1 -1
- package/dist/vue2/lib/notice/notice.cjs.map +1 -1
- package/dist/vue2/lib/notice/notice.js +18 -27
- package/dist/vue2/lib/notice/notice.js.map +1 -1
- package/dist/vue2/lib/pagination/pagination.cjs +1 -1
- package/dist/vue2/lib/pagination/pagination.cjs.map +1 -1
- package/dist/vue2/lib/pagination/pagination.js +49 -58
- package/dist/vue2/lib/pagination/pagination.js.map +1 -1
- package/dist/vue2/lib/popover/popover-header-footer.cjs +1 -1
- package/dist/vue2/lib/popover/popover-header-footer.cjs.map +1 -1
- package/dist/vue2/lib/popover/popover-header-footer.js +24 -26
- package/dist/vue2/lib/popover/popover-header-footer.js.map +1 -1
- package/dist/vue2/lib/popover/popover.cjs +1 -1
- package/dist/vue2/lib/popover/popover.cjs.map +1 -1
- package/dist/vue2/lib/popover/popover.js +26 -35
- package/dist/vue2/lib/popover/popover.js.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +5 -5
- 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 +330 -320
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue2/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
- package/dist/vue2/lib/settings-menu-button/settings-menu-button.js.map +1 -1
- package/dist/vue2/lib/time-pill/time-pill.cjs.map +1 -1
- package/dist/vue2/lib/time-pill/time-pill.js.map +1 -1
- package/dist/vue2/lib/toast/toast.cjs +1 -1
- package/dist/vue2/lib/toast/toast.cjs.map +1 -1
- package/dist/vue2/lib/toast/toast.js +64 -97
- package/dist/vue2/lib/toast/toast.js.map +1 -1
- package/dist/vue2/lib/unread-pill/unread-pill.cjs +1 -1
- package/dist/vue2/lib/unread-pill/unread-pill.cjs.map +1 -1
- package/dist/vue2/lib/unread-pill/unread-pill.js +27 -18
- package/dist/vue2/lib/unread-pill/unread-pill.js.map +1 -1
- package/dist/vue2/localization/en-US.cjs +185 -0
- package/dist/vue2/localization/en-US.cjs.map +1 -0
- package/dist/vue2/localization/en-US.js +188 -0
- package/dist/vue2/localization/en-US.js.map +1 -0
- package/dist/vue2/localization/es-LA.cjs +169 -0
- package/dist/vue2/localization/es-LA.cjs.map +1 -0
- package/dist/vue2/localization/es-LA.js +172 -0
- package/dist/vue2/localization/es-LA.js.map +1 -0
- package/dist/vue2/localization/index.cjs +1176 -0
- package/dist/vue2/localization/index.cjs.map +1 -0
- package/dist/vue2/localization/index.js +1239 -0
- package/dist/vue2/localization/index.js.map +1 -0
- package/dist/vue2/node_modules/@tiptap/vue-2.cjs.map +1 -1
- package/dist/vue2/node_modules/@tiptap/vue-2.js.map +1 -1
- package/dist/vue2/shared/sr_only_close_button.cjs +1 -1
- package/dist/vue2/shared/sr_only_close_button.cjs.map +1 -1
- package/dist/vue2/shared/sr_only_close_button.js +19 -22
- package/dist/vue2/shared/sr_only_close_button.js.map +1 -1
- package/dist/vue2/types/common/mixins/index.d.ts +1 -1
- package/dist/vue2/types/common/mixins/localization.d.ts +8 -0
- package/dist/vue2/types/common/mixins/localization.d.ts.map +1 -0
- package/dist/vue2/types/common/sr_only_close_button.vue.d.ts +7 -13
- package/dist/vue2/types/common/sr_only_close_button.vue.d.ts.map +1 -1
- package/dist/vue2/types/common/utils/index.d.ts +1 -0
- package/dist/vue2/types/common/utils/index.d.ts.map +1 -1
- package/dist/vue2/types/components/banner/banner.vue.d.ts +0 -33
- package/dist/vue2/types/components/banner/banner.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/breadcrumbs/breadcrumbs.vue.d.ts +5 -1
- package/dist/vue2/types/components/button/button.vue.d.ts +6 -2
- package/dist/vue2/types/components/chip/chip.vue.d.ts +8 -18
- package/dist/vue2/types/components/combobox/combobox_constants.d.ts +2 -2
- package/dist/vue2/types/components/combobox/index.d.ts +1 -1
- package/dist/vue2/types/components/datepicker/datepicker.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/datepicker/datepicker_constants.d.ts +0 -1
- package/dist/vue2/types/components/datepicker/datepicker_constants.d.ts.map +1 -1
- package/dist/vue2/types/components/datepicker/modules/calendar.vue.d.ts +5 -17
- package/dist/vue2/types/components/datepicker/modules/month-year-picker.vue.d.ts +8 -48
- package/dist/vue2/types/components/datepicker/utils.d.ts +1 -0
- package/dist/vue2/types/components/datepicker/utils.d.ts.map +1 -1
- package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts +0 -24
- package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/emoji_picker/emoji_picker.vue.d.ts +5 -1
- package/dist/vue2/types/components/emoji_picker/emoji_picker_constants.d.ts +0 -13
- package/dist/vue2/types/components/icon/icon.vue.d.ts +1 -0
- package/dist/vue2/types/components/icon/icon_constants.d.ts.map +1 -1
- package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts +5 -8
- package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/modal/modal.vue.d.ts +3 -33
- package/dist/vue2/types/components/notice/notice.vue.d.ts +1 -34
- package/dist/vue2/types/components/notice/notice.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/notice/notice_action.vue.d.ts +3 -31
- package/dist/vue2/types/components/notice/notice_action.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/pagination/pagination.vue.d.ts +9 -26
- package/dist/vue2/types/components/pagination/pagination.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/popover/popover.vue.d.ts +0 -33
- package/dist/vue2/types/components/popover/popover.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts +8 -11
- package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +15 -2
- 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 +1 -43
- package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/toast/layouts/toast_layout_default.vue.d.ts +1 -34
- package/dist/vue2/types/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/toast/toast.vue.d.ts +3 -111
- package/dist/vue2/types/components/toast/toast.vue.d.ts.map +1 -1
- package/dist/vue2/types/index.d.ts +1 -0
- package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +7 -13
- package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +7 -12
- package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +8 -10
- package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +7 -7
- package/dist/vue2/types/recipes/cards/ivr_node/ivr_node_constants.d.ts.map +1 -1
- package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +1 -25
- package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -25
- package/dist/vue2/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +5 -41
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +8 -26
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +2 -2
- package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts +20 -61
- package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +6 -1
- package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row_constants.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +9 -12
- package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +8 -2
- package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +15 -90
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +14 -2
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +14 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +10 -11
- package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +0 -18
- package/dist/vue2/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +21 -37
- package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/group_row/group_row.vue.d.ts +9 -18
- package/dist/vue2/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +7 -1
- package/dist/vue2/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
- package/package.json +4 -3
- package/dist/vue2/common/mixins/sr-only-close-button.cjs +0 -3
- package/dist/vue2/common/mixins/sr-only-close-button.cjs.map +0 -1
- package/dist/vue2/common/mixins/sr-only-close-button.js +0 -44
- package/dist/vue2/common/mixins/sr-only-close-button.js.map +0 -1
- package/dist/vue2/lib/contact-row/contact-row-constants.cjs +0 -2
- package/dist/vue2/lib/contact-row/contact-row-constants.cjs.map +0 -1
- package/dist/vue2/lib/contact-row/contact-row-constants.js +0 -5
- package/dist/vue2/lib/contact-row/contact-row-constants.js.map +0 -1
- package/dist/vue2/lib/emoji/emoji-constants.cjs +0 -2
- package/dist/vue2/lib/emoji/emoji-constants.cjs.map +0 -1
- package/dist/vue2/lib/emoji/emoji-constants.js +0 -5
- package/dist/vue2/lib/emoji/emoji-constants.js.map +0 -1
- package/dist/vue2/lib/group-row/group-row-constants.cjs +0 -2
- package/dist/vue2/lib/group-row/group-row-constants.cjs.map +0 -1
- package/dist/vue2/lib/group-row/group-row-constants.js +0 -8
- package/dist/vue2/lib/group-row/group-row-constants.js.map +0 -1
- package/dist/vue2/lib/time-pill/time-pill-constants.cjs +0 -2
- package/dist/vue2/lib/time-pill/time-pill-constants.cjs.map +0 -1
- package/dist/vue2/lib/time-pill/time-pill-constants.js +0 -8
- package/dist/vue2/lib/time-pill/time-pill-constants.js.map +0 -1
- package/dist/vue2/types/common/mixins/sr_only_close_button.d.ts +0 -30
- package/dist/vue2/types/common/mixins/sr_only_close_button.d.ts.map +0 -1
- package/dist/vue2/types/components/emoji/emoji_constants.d.ts +0 -3
- package/dist/vue2/types/components/emoji/emoji_constants.d.ts.map +0 -1
- package/dist/vue2/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts +0 -6
- package/dist/vue2/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts.map +0 -1
- package/dist/vue2/types/recipes/leftbar/contact_row/contact_row_constants.d.ts +0 -3
- package/dist/vue2/types/recipes/leftbar/contact_row/contact_row_constants.d.ts.map +0 -1
- package/dist/vue2/types/recipes/leftbar/group_row/group_row_constants.d.ts +0 -6
- package/dist/vue2/types/recipes/leftbar/group_row/group_row_constants.d.ts.map +0 -1
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
|
|
1
|
+
import { DtIconClock as _, DtIconSatisfied as b, DtIconLivingThing as p, DtIconFood as E, DtIconObject as j, DtIconTransportation as k, DtIconLightbulb as S, DtIconHeart as g, DtIconFlag as y, DtIconTiktok as R, DtIconSearch as L, DtIconClose as T } from "@dialpad/dialtone-icons/vue2";
|
|
2
|
+
import { n as h } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
|
|
3
|
+
import $ from "../tab/tab-group.js";
|
|
4
|
+
import I from "../tab/tab.js";
|
|
5
|
+
import v from "../input/input.js";
|
|
6
|
+
import d from "../button/button.js";
|
|
7
|
+
import { emojisGrouped as A } from "@dialpad/dialtone-emojis";
|
|
8
|
+
import { CDN_URL as m, EMOJIS_PER_ROW as a, EMOJI_PICKER_SKIN_TONE_MODIFIERS as f } from "./emoji-picker-constants.js";
|
|
9
|
+
import w from "../tooltip/tooltip.js";
|
|
10
|
+
import C from "../../common/mixins/localization.js";
|
|
11
|
+
const O = {
|
|
11
12
|
name: "EmojiTabset",
|
|
12
13
|
components: {
|
|
13
|
-
DtTabGroup:
|
|
14
|
-
DtTab:
|
|
14
|
+
DtTabGroup: $,
|
|
15
|
+
DtTab: I
|
|
15
16
|
},
|
|
16
17
|
props: {
|
|
17
18
|
/**
|
|
@@ -50,16 +51,16 @@ const A = {
|
|
|
50
51
|
selectedTab: "1",
|
|
51
52
|
tabsetRef: [],
|
|
52
53
|
TABS_DATA: [
|
|
53
|
-
{ label:
|
|
54
|
-
{ label:
|
|
55
|
-
{ label:
|
|
56
|
-
{ label:
|
|
57
|
-
{ label:
|
|
58
|
-
{ label:
|
|
59
|
-
{ label:
|
|
60
|
-
{ label:
|
|
61
|
-
{ label:
|
|
62
|
-
{ label:
|
|
54
|
+
{ label: this.tabSetLabels[0], icon: _ },
|
|
55
|
+
{ label: this.tabSetLabels[1], icon: b },
|
|
56
|
+
{ label: this.tabSetLabels[2], icon: p },
|
|
57
|
+
{ label: this.tabSetLabels[3], icon: E },
|
|
58
|
+
{ label: this.tabSetLabels[4], icon: j },
|
|
59
|
+
{ label: this.tabSetLabels[5], icon: k },
|
|
60
|
+
{ label: this.tabSetLabels[6], icon: S },
|
|
61
|
+
{ label: this.tabSetLabels[7], icon: g },
|
|
62
|
+
{ label: this.tabSetLabels[8], icon: y },
|
|
63
|
+
{ label: this.tabSetLabels[9], icon: R }
|
|
63
64
|
]
|
|
64
65
|
};
|
|
65
66
|
},
|
|
@@ -68,7 +69,6 @@ const A = {
|
|
|
68
69
|
const t = this.showRecentlyUsedTab ? this.TABS_DATA : this.TABS_DATA.slice(1);
|
|
69
70
|
return this.showCustomEmojisTab || t.pop(), t.map((e, i) => ({
|
|
70
71
|
...e,
|
|
71
|
-
label: this.tabSetLabels[i],
|
|
72
72
|
// IDs on dt-tab component need to be on string
|
|
73
73
|
id: (i + 1).toString(),
|
|
74
74
|
panelId: (i + 1).toString()
|
|
@@ -111,29 +111,29 @@ const A = {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
|
-
var
|
|
114
|
+
var D = function() {
|
|
115
115
|
var e = this, i = e._self._c;
|
|
116
|
-
return i("div", { staticClass: "d-emoji-picker__tabset" }, [i("dt-tab-group", { attrs: { size: "sm", "tab-list-class": "d-emoji-picker__tabset-list"
|
|
116
|
+
return i("div", { staticClass: "d-emoji-picker__tabset" }, [i("dt-tab-group", { attrs: { selected: e.selectedTab, size: "sm", "tab-list-class": "d-emoji-picker__tabset-list" }, scopedSlots: e._u([{ key: "tabs", fn: function() {
|
|
117
117
|
return e._l(e.tabs, function(s, o) {
|
|
118
|
-
return i("dt-tab", { key: s.id, ref: `tabsetRef-${o}`, refInFor: !0, attrs: { id: s.id, "panel-id": s.panelId,
|
|
119
|
-
return r.stopPropagation(), e.selectTabset(s.id);
|
|
120
|
-
}, keydown: function(r) {
|
|
118
|
+
return i("dt-tab", { key: s.id, ref: `tabsetRef-${o}`, refInFor: !0, attrs: { id: s.id, label: s.label, "panel-id": s.panelId, tabindex: o + 1, "aria-controls": "d-emoji-picker-list" }, on: { keydown: function(r) {
|
|
121
119
|
return e.handleKeyDown(r, s.id);
|
|
120
|
+
}, "!click": function(r) {
|
|
121
|
+
return r.stopPropagation(), e.selectTabset(s.id);
|
|
122
122
|
} } }, [i(s.icon, { tag: "component", attrs: { size: "400" } })], 1);
|
|
123
123
|
});
|
|
124
124
|
}, proxy: !0 }]) })], 1);
|
|
125
|
-
},
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
125
|
+
}, F = [], B = /* @__PURE__ */ h(
|
|
126
|
+
O,
|
|
127
|
+
D,
|
|
128
|
+
F
|
|
129
129
|
);
|
|
130
|
-
const N =
|
|
130
|
+
const N = B.exports, K = {
|
|
131
131
|
name: "EmojiSearch",
|
|
132
132
|
components: {
|
|
133
|
-
DtInput:
|
|
134
|
-
DtIconSearch:
|
|
135
|
-
DtIconClose:
|
|
136
|
-
DtButton:
|
|
133
|
+
DtInput: v,
|
|
134
|
+
DtIconSearch: L,
|
|
135
|
+
DtIconClose: T,
|
|
136
|
+
DtButton: d
|
|
137
137
|
},
|
|
138
138
|
props: {
|
|
139
139
|
searchPlaceholderLabel: {
|
|
@@ -169,7 +169,7 @@ const N = U.exports, K = {
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
|
-
var
|
|
172
|
+
var P = function() {
|
|
173
173
|
var e = this, i = e._self._c;
|
|
174
174
|
return i("div", { staticClass: "d-emoji-picker__search d-emoji-picker__alignment" }, [i("dt-input", { ref: "searchInputRef", attrs: { id: "searchInput", placeholder: e.searchPlaceholderLabel, value: e.modelValue }, on: { input: e.updateModelValue, keydown: [function(s) {
|
|
175
175
|
return !s.type.indexOf("key") && e._k(s.keyCode, "up", 38, s.key, ["Up", "ArrowUp"]) ? null : e.focusTabset.apply(null, arguments);
|
|
@@ -184,12 +184,12 @@ var B = function() {
|
|
|
184
184
|
return [i("dt-icon-close", { attrs: { size: "200" } })];
|
|
185
185
|
}, proxy: !0 }], null, !1, 4156074325) })];
|
|
186
186
|
}, proxy: !0 } : null], null, !0) })], 1);
|
|
187
|
-
},
|
|
187
|
+
}, M = [], U = /* @__PURE__ */ h(
|
|
188
188
|
K,
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
P,
|
|
190
|
+
M
|
|
191
191
|
);
|
|
192
|
-
const
|
|
192
|
+
const J = U.exports, H = {
|
|
193
193
|
name: "EmojiSelector",
|
|
194
194
|
props: {
|
|
195
195
|
emojiFilter: {
|
|
@@ -253,10 +253,10 @@ const M = q.exports, z = {
|
|
|
253
253
|
];
|
|
254
254
|
},
|
|
255
255
|
emojis() {
|
|
256
|
-
return
|
|
256
|
+
return A;
|
|
257
257
|
},
|
|
258
258
|
CDN_URL() {
|
|
259
|
-
return
|
|
259
|
+
return m;
|
|
260
260
|
},
|
|
261
261
|
tabLabels() {
|
|
262
262
|
let t = this.tabSetLabels.map((e) => ({ label: e }));
|
|
@@ -396,13 +396,13 @@ const M = q.exports, z = {
|
|
|
396
396
|
if (t.preventDefault(), t.key === "ArrowUp") {
|
|
397
397
|
const n = i % a;
|
|
398
398
|
if (e === 0) {
|
|
399
|
-
const l = a - this.emojiRefs[this.emojiRefs.length - 1].length % a,
|
|
400
|
-
this.focusEmoji(this.emojiRefs.length - 1,
|
|
399
|
+
const l = a - this.emojiRefs[this.emojiRefs.length - 1].length % a, c = this.emojiRefs[this.emojiRefs.length - 1].length + l - (a - n);
|
|
400
|
+
this.focusEmoji(this.emojiRefs.length - 1, c) || this.focusEmoji(this.emojiRefs.length - 1, this.emojiRefs[this.emojiRefs.length - 1].length - 1);
|
|
401
401
|
return;
|
|
402
402
|
}
|
|
403
403
|
if (!this.focusEmoji(e, i - a)) {
|
|
404
|
-
const l = e - 1 < 0 ? 0 : e - 1,
|
|
405
|
-
this.focusEmoji(l,
|
|
404
|
+
const l = e - 1 < 0 ? 0 : e - 1, c = this.emojiRefs[l].length, u = c - c % a + n;
|
|
405
|
+
this.focusEmoji(l, u) || this.focusEmoji(e - 1, this.emojiRefs[e - 1].length - 1);
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
if (t.key === "ArrowDown" && !this.focusEmoji(e, i + a)) {
|
|
@@ -455,9 +455,9 @@ const M = q.exports, z = {
|
|
|
455
455
|
setTabLabelObserver() {
|
|
456
456
|
this.tabLabelObserver = new IntersectionObserver((t) => {
|
|
457
457
|
t.forEach((e) => {
|
|
458
|
-
var o, r, n, l,
|
|
458
|
+
var o, r, n, l, c, u;
|
|
459
459
|
const { target: i } = e, s = parseInt(i.dataset.index);
|
|
460
|
-
e.isIntersecting && i.offsetTop <= ((o = this.$refs.tabCategoryRef) == null ? void 0 : o.offsetTop) + 50 ? (this.fixedLabel = ((r = this.tabLabels[s - 1]) == null ? void 0 : r.label) ?? ((n = this.tabLabels[0]) == null ? void 0 : n.label), this.$emit("scroll-into-tab", s - 1)) : e.boundingClientRect.bottom <= ((l = this.$refs.tabCategoryRef) == null ? void 0 : l.getBoundingClientRect().bottom) ? (this.$emit("scroll-into-tab", s), this.fixedLabel = (
|
|
460
|
+
e.isIntersecting && i.offsetTop <= ((o = this.$refs.tabCategoryRef) == null ? void 0 : o.offsetTop) + 50 ? (this.fixedLabel = ((r = this.tabLabels[s - 1]) == null ? void 0 : r.label) ?? ((n = this.tabLabels[0]) == null ? void 0 : n.label), this.$emit("scroll-into-tab", s - 1)) : e.boundingClientRect.bottom <= ((l = this.$refs.tabCategoryRef) == null ? void 0 : l.getBoundingClientRect().bottom) ? (this.$emit("scroll-into-tab", s), this.fixedLabel = (c = this.tabLabels[s]) == null ? void 0 : c.label) : s === 1 && (this.$emit("scroll-into-tab", s), this.fixedLabel = (u = this.tabLabels[0]) == null ? void 0 : u.label);
|
|
461
461
|
});
|
|
462
462
|
}), this.tabLabelObserver.observe(this.$refs.tabCategoryRef), Array.from(this.$refs.listRef.children).forEach((t, e) => {
|
|
463
463
|
this.tabLabelObserver.observe(t), t.dataset.index = e;
|
|
@@ -468,7 +468,7 @@ const M = q.exports, z = {
|
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
};
|
|
471
|
-
var
|
|
471
|
+
var z = function() {
|
|
472
472
|
var e = this, i = e._self._c;
|
|
473
473
|
return i("div", { staticClass: "d-emoji-picker__selector" }, [i("div", { ref: "listRef", staticClass: "d-emoji-picker__list", attrs: { id: "d-emoji-picker-list" } }, [e.emojiFilter ? i("p", { staticClass: "d-emoji-picker__search-label d-emoji-picker__alignment" }, [e._v(" " + e._s(e.filteredEmojis.length > 0 ? e.searchResultsLabel : e.searchNoResultsLabel) + " ")]) : i("div", { ref: "tabCategoryRef", staticClass: "d-emoji-picker__category d-emoji-picker__alignment" }, [i("p", [e._v(" " + e._s(e.fixedLabel) + " ")])]), e._l(e.tabLabels, function(s, o) {
|
|
474
474
|
return i("div", { directives: [{ name: "show", rawName: "v-show", value: !e.emojiFilter, expression: "!emojiFilter" }], key: o, ref: `tabLabelRef-${o}`, refInFor: !0, staticClass: "d-emoji-picker__alignment" }, [o ? i("p", [e._v(" " + e._s(s.label) + " ")]) : e._e(), i("div", { staticClass: "d-emoji-picker__tab" }, e._l(e.emojis[e.tabs[o] + e.skinTone] ? e.emojis[e.tabs[o] + e.skinTone] : e.emojis[e.tabs[o]], function(r, n) {
|
|
@@ -495,12 +495,12 @@ var H = function() {
|
|
|
495
495
|
return e.hoverEmoji(null);
|
|
496
496
|
}, keydown: (r) => e.handleKeyDownFilteredEmojis(r, o, s) } }, [i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: s.name, "aria-label": s.name, title: s.name, src: `${e.CDN_URL + s.unicode_character}.png` } })]);
|
|
497
497
|
}), 0)]) : e._e()], 2)]);
|
|
498
|
-
},
|
|
499
|
-
z,
|
|
498
|
+
}, q = [], Q = /* @__PURE__ */ h(
|
|
500
499
|
H,
|
|
501
|
-
|
|
500
|
+
z,
|
|
501
|
+
q
|
|
502
502
|
);
|
|
503
|
-
const
|
|
503
|
+
const V = Q.exports, G = {
|
|
504
504
|
name: "EmojiDescription",
|
|
505
505
|
props: {
|
|
506
506
|
/**
|
|
@@ -515,12 +515,12 @@ const G = V.exports, J = {
|
|
|
515
515
|
},
|
|
516
516
|
data() {
|
|
517
517
|
return {
|
|
518
|
-
CDN_URL:
|
|
518
|
+
CDN_URL: m
|
|
519
519
|
};
|
|
520
520
|
},
|
|
521
521
|
methods: {
|
|
522
522
|
getImgSrc(t) {
|
|
523
|
-
return t.date_added ? t.image : `${
|
|
523
|
+
return t.date_added ? t.image : `${m + t.unicode_character}.png`;
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
};
|
|
@@ -528,15 +528,15 @@ var Y = function() {
|
|
|
528
528
|
var s;
|
|
529
529
|
var e = this, i = e._self._c;
|
|
530
530
|
return i("div", { staticClass: "d-emoji-picker__data" }, [e.emoji ? i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: e.emoji.name, "aria-label": e.emoji.name, title: e.emoji.name, src: e.getImgSrc(e.emoji) } }) : e._e(), i("div", [e._v(e._s((s = e.emoji) == null ? void 0 : s.name))])]);
|
|
531
|
-
}, W = [], X = /* @__PURE__ */
|
|
532
|
-
|
|
531
|
+
}, W = [], X = /* @__PURE__ */ h(
|
|
532
|
+
G,
|
|
533
533
|
Y,
|
|
534
534
|
W
|
|
535
535
|
);
|
|
536
536
|
const Z = X.exports, x = {
|
|
537
537
|
name: "EmojiSkinSelector",
|
|
538
538
|
components: {
|
|
539
|
-
DtTooltip:
|
|
539
|
+
DtTooltip: w
|
|
540
540
|
},
|
|
541
541
|
props: {
|
|
542
542
|
skinTone: {
|
|
@@ -557,7 +557,7 @@ const Z = X.exports, x = {
|
|
|
557
557
|
isOpen: !1,
|
|
558
558
|
skinSelected: null,
|
|
559
559
|
skinsRef: [],
|
|
560
|
-
cdnUrl:
|
|
560
|
+
cdnUrl: m
|
|
561
561
|
};
|
|
562
562
|
},
|
|
563
563
|
computed: {
|
|
@@ -569,37 +569,37 @@ const Z = X.exports, x = {
|
|
|
569
569
|
{
|
|
570
570
|
name: ":wave_tone1:",
|
|
571
571
|
unicode_output: "1f44b-1f3fb",
|
|
572
|
-
skinTone:
|
|
572
|
+
skinTone: f.LIGHT,
|
|
573
573
|
skinCode: "_tone1"
|
|
574
574
|
},
|
|
575
575
|
{
|
|
576
576
|
name: ":wave_tone2:",
|
|
577
577
|
unicode_output: "1f44b-1f3fc",
|
|
578
|
-
skinTone:
|
|
578
|
+
skinTone: f.MEDIUM_LIGHT,
|
|
579
579
|
skinCode: "_tone2"
|
|
580
580
|
},
|
|
581
581
|
{
|
|
582
582
|
name: ":wave_tone3:",
|
|
583
583
|
unicode_output: "1f44b-1f3fd",
|
|
584
|
-
skinTone:
|
|
584
|
+
skinTone: f.MEDIUM,
|
|
585
585
|
skinCode: "_tone3"
|
|
586
586
|
},
|
|
587
587
|
{
|
|
588
588
|
name: ":wave_tone4:",
|
|
589
589
|
unicode_output: "1f44b-1f3fe",
|
|
590
|
-
skinTone:
|
|
590
|
+
skinTone: f.MEDIUM_DARK,
|
|
591
591
|
skinCode: "_tone4"
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
594
|
name: ":wave_tone5:",
|
|
595
595
|
unicode_output: "1f44b-1f3ff",
|
|
596
|
-
skinTone:
|
|
596
|
+
skinTone: f.DARK,
|
|
597
597
|
skinCode: "_tone5"
|
|
598
598
|
},
|
|
599
599
|
{
|
|
600
600
|
name: ":wave:",
|
|
601
601
|
unicode_output: "1f44b",
|
|
602
|
-
skinTone:
|
|
602
|
+
skinTone: f.DEFAULT,
|
|
603
603
|
skinCode: ""
|
|
604
604
|
}
|
|
605
605
|
];
|
|
@@ -657,7 +657,7 @@ var ee = function() {
|
|
|
657
657
|
var s, o, r, n;
|
|
658
658
|
return [i("button", { ref: "skinSelectorRef", attrs: { "aria-label": e.skinSelectorButtonTooltipLabel, tabindex: "-1" }, on: { click: e.toggleSkinList, keydown: (l) => e.handleKeyDown(l) } }, [i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: (s = e.skinSelected) == null ? void 0 : s.name, "aria-label": (o = e.skinSelected) == null ? void 0 : o.name, title: (r = e.skinSelected) == null ? void 0 : r.name, src: `${e.cdnUrl + ((n = e.skinSelected) == null ? void 0 : n.unicode_output)}.png` } })])];
|
|
659
659
|
}, proxy: !0 }]) }, [e._v(" " + e._s(e.skinSelectorButtonTooltipLabel) + " ")])], 1)]);
|
|
660
|
-
}, te = [], se = /* @__PURE__ */
|
|
660
|
+
}, te = [], se = /* @__PURE__ */ h(
|
|
661
661
|
x,
|
|
662
662
|
ee,
|
|
663
663
|
te
|
|
@@ -666,12 +666,13 @@ const ie = se.exports, oe = {
|
|
|
666
666
|
name: "DtEmojiPicker",
|
|
667
667
|
components: {
|
|
668
668
|
EmojiTabset: N,
|
|
669
|
-
EmojiSearch:
|
|
670
|
-
EmojiSelector:
|
|
669
|
+
EmojiSearch: J,
|
|
670
|
+
EmojiSelector: V,
|
|
671
671
|
EmojiDescription: Z,
|
|
672
672
|
EmojiSkinSelector: ie,
|
|
673
|
-
DtButton:
|
|
673
|
+
DtButton: d
|
|
674
674
|
},
|
|
675
|
+
mixins: [C],
|
|
675
676
|
props: {
|
|
676
677
|
/**
|
|
677
678
|
* The array with recently used emoji object
|
|
@@ -683,7 +684,8 @@ const ie = se.exports, oe = {
|
|
|
683
684
|
*/
|
|
684
685
|
// TODO try to simplify this to achieve an array of unicode characters and not an entire emoji data object
|
|
685
686
|
recentlyUsedEmojis: {
|
|
686
|
-
type: Array
|
|
687
|
+
type: Array,
|
|
688
|
+
default: () => []
|
|
687
689
|
},
|
|
688
690
|
/**
|
|
689
691
|
* The array with custom emojis object
|
|
@@ -696,65 +698,6 @@ const ie = se.exports, oe = {
|
|
|
696
698
|
customEmojis: {
|
|
697
699
|
type: Array
|
|
698
700
|
},
|
|
699
|
-
/**
|
|
700
|
-
* The label for the add emoji button
|
|
701
|
-
* required false because it is still experimental
|
|
702
|
-
* @type {String}
|
|
703
|
-
* @example
|
|
704
|
-
* <dt-emoji-picker :addEmojiLabel="'Add emoji'" />
|
|
705
|
-
*/
|
|
706
|
-
addEmojiLabel: {
|
|
707
|
-
type: String,
|
|
708
|
-
required: !1,
|
|
709
|
-
default: "Add emoji"
|
|
710
|
-
},
|
|
711
|
-
/**
|
|
712
|
-
* The placeholder text for the search input
|
|
713
|
-
* @type {String}
|
|
714
|
-
* @required
|
|
715
|
-
* @example
|
|
716
|
-
* <dt-emoji-picker :searchPlaceholderLabel="'Search...'" />
|
|
717
|
-
*/
|
|
718
|
-
searchPlaceholderLabel: {
|
|
719
|
-
type: String,
|
|
720
|
-
required: !0
|
|
721
|
-
},
|
|
722
|
-
/**
|
|
723
|
-
* The label for the search results tab
|
|
724
|
-
* @type {String}
|
|
725
|
-
* @required
|
|
726
|
-
* @example
|
|
727
|
-
* <dt-emoji-picker :searchResultsLabel="'Search results'" />
|
|
728
|
-
*/
|
|
729
|
-
searchResultsLabel: {
|
|
730
|
-
type: String,
|
|
731
|
-
required: !0
|
|
732
|
-
},
|
|
733
|
-
/**
|
|
734
|
-
* The label for the search no results
|
|
735
|
-
* @type {String}
|
|
736
|
-
* @required
|
|
737
|
-
* @example
|
|
738
|
-
* <dt-emoji-picker :searchNoResultsLabel="'No results'" />
|
|
739
|
-
*/
|
|
740
|
-
searchNoResultsLabel: {
|
|
741
|
-
type: String,
|
|
742
|
-
required: !0
|
|
743
|
-
},
|
|
744
|
-
/**
|
|
745
|
-
* The list of tabsets to show, it is necessary to be updated with the correct language
|
|
746
|
-
* It must respect the provided order.
|
|
747
|
-
* @type {Array}
|
|
748
|
-
* @required
|
|
749
|
-
* @example
|
|
750
|
-
* <dt-emoji-picker
|
|
751
|
-
* :tabSetLabels="['Most recently used', 'Smileys and people', 'Nature',
|
|
752
|
-
* 'Food', 'Activity', 'Travel', 'Objects', 'Symbols', 'Flags', 'Custom']" />
|
|
753
|
-
*/
|
|
754
|
-
tabSetLabels: {
|
|
755
|
-
type: Array,
|
|
756
|
-
required: !0
|
|
757
|
-
},
|
|
758
701
|
/**
|
|
759
702
|
* The skin tone to show the emojis
|
|
760
703
|
* This prop gives the possibility to use the skin tone selected by the user previously
|
|
@@ -768,17 +711,6 @@ const ie = se.exports, oe = {
|
|
|
768
711
|
type: String,
|
|
769
712
|
default: "Default"
|
|
770
713
|
},
|
|
771
|
-
/**
|
|
772
|
-
* Tooltip shown when skin selector button is hovered.
|
|
773
|
-
* @type {String}
|
|
774
|
-
* @required
|
|
775
|
-
* @example
|
|
776
|
-
* <dt-emoji-picker :skin-selector-button-tooltip-label="'Change default skin tone'" />
|
|
777
|
-
*/
|
|
778
|
-
skinSelectorButtonTooltipLabel: {
|
|
779
|
-
type: String,
|
|
780
|
-
required: !0
|
|
781
|
-
},
|
|
782
714
|
/**
|
|
783
715
|
* Sets the search query that filters emojis.
|
|
784
716
|
* @type {String}
|
|
@@ -816,6 +748,35 @@ const ie = se.exports, oe = {
|
|
|
816
748
|
showRecentlyUsedTab() {
|
|
817
749
|
var t;
|
|
818
750
|
return ((t = this.recentlyUsedEmojis) == null ? void 0 : t.length) > 0;
|
|
751
|
+
},
|
|
752
|
+
tabSetLabels() {
|
|
753
|
+
return [
|
|
754
|
+
this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL"),
|
|
755
|
+
this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL"),
|
|
756
|
+
this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL"),
|
|
757
|
+
this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL"),
|
|
758
|
+
this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL"),
|
|
759
|
+
this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL"),
|
|
760
|
+
this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL"),
|
|
761
|
+
this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL"),
|
|
762
|
+
this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL"),
|
|
763
|
+
this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL")
|
|
764
|
+
];
|
|
765
|
+
},
|
|
766
|
+
searchPlaceholderLabel() {
|
|
767
|
+
return this.i18n.$t("DIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL");
|
|
768
|
+
},
|
|
769
|
+
searchResultsLabel() {
|
|
770
|
+
return this.i18n.$t("DIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL");
|
|
771
|
+
},
|
|
772
|
+
searchNoResultsLabel() {
|
|
773
|
+
return this.i18n.$t("DIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL");
|
|
774
|
+
},
|
|
775
|
+
skinSelectorButtonTooltipLabel() {
|
|
776
|
+
return this.i18n.$t("DIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL");
|
|
777
|
+
},
|
|
778
|
+
addEmojiLabel() {
|
|
779
|
+
return this.i18n.$t("DIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL");
|
|
819
780
|
}
|
|
820
781
|
},
|
|
821
782
|
watch: {
|
|
@@ -872,13 +833,13 @@ var re = function() {
|
|
|
872
833
|
} }, nativeOn: { keydown: function(s) {
|
|
873
834
|
return !s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]) ? null : e.$emit("close");
|
|
874
835
|
} } })], 1)]);
|
|
875
|
-
}, ne = [], le = /* @__PURE__ */
|
|
836
|
+
}, ne = [], le = /* @__PURE__ */ h(
|
|
876
837
|
oe,
|
|
877
838
|
re,
|
|
878
839
|
ne
|
|
879
840
|
);
|
|
880
|
-
const
|
|
841
|
+
const Ee = le.exports;
|
|
881
842
|
export {
|
|
882
|
-
|
|
843
|
+
Ee as default
|
|
883
844
|
};
|
|
884
845
|
//# sourceMappingURL=emoji-picker.js.map
|