@dialpad/dialtone 9.126.6 → 9.127.1
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 +25670 -25670
- package/dist/vue2/common/mixins/index.cjs +1 -1
- package/dist/vue2/common/mixins/index.js +2 -4
- package/dist/vue2/common/mixins/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 +345 -347
- 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 +16 -12
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.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 +6 -6
- 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 +6 -6
- 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 +18 -18
- 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 +14 -14
- 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 +7 -7
- package/dist/vue2/lib/chip/chip.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 +13 -13
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.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 +26 -26
- package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
- package/dist/vue2/lib/datepicker/formatUtils.cjs +1 -1
- package/dist/vue2/lib/datepicker/formatUtils.cjs.map +1 -1
- package/dist/vue2/lib/datepicker/formatUtils.js +21 -20
- package/dist/vue2/lib/datepicker/formatUtils.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/editor/editor.cjs +1 -1
- package/dist/vue2/lib/editor/editor.cjs.map +1 -1
- package/dist/vue2/lib/editor/editor.js +17 -17
- package/dist/vue2/lib/editor/editor.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 +7 -6
- package/dist/vue2/lib/emoji-picker/emoji-picker.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 +24 -20
- 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 +8 -8
- 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 +17 -17
- 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 +11 -7
- package/dist/vue2/lib/group-row/group-row.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 +10 -6
- 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 +8 -7
- package/dist/vue2/lib/image-viewer/image-viewer.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 +17 -17
- package/dist/vue2/lib/ivr-node/ivr-node.js.map +1 -1
- package/dist/vue2/lib/loader/loader.cjs +1 -1
- package/dist/vue2/lib/loader/loader.cjs.map +1 -1
- package/dist/vue2/lib/loader/loader.js +12 -8
- package/dist/vue2/lib/loader/loader.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 +15 -15
- 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 +14 -10
- 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 +14 -10
- package/dist/vue2/lib/message-input/message-input.js.map +1 -1
- package/dist/vue2/lib/modal/modal.cjs +1 -1
- package/dist/vue2/lib/modal/modal.cjs.map +1 -1
- package/dist/vue2/lib/modal/modal.js +12 -11
- 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 +10 -6
- package/dist/vue2/lib/notice/notice-action.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 +7 -7
- 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 +13 -9
- package/dist/vue2/lib/popover/popover-header-footer.js.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +2 -2
- 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 +61 -57
- 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/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 +15 -11
- package/dist/vue2/lib/unread-pill/unread-pill.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/index.cjs +1 -1
- package/dist/vue2/localization/index.cjs.map +1 -1
- package/dist/vue2/localization/index.js +59 -53
- package/dist/vue2/localization/index.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/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 +14 -10
- package/dist/vue2/shared/sr_only_close_button.js.map +1 -1
- package/dist/vue2/types/common/mixins/index.d.ts +0 -1
- package/dist/vue2/types/common/sr_only_close_button.vue.d.ts +5 -8
- package/dist/vue2/types/common/sr_only_close_button.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/breadcrumbs/breadcrumbs.vue.d.ts +3 -5
- package/dist/vue2/types/components/breadcrumbs/breadcrumbs.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/button/button.vue.d.ts +4 -6
- package/dist/vue2/types/components/button/button.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/chip/chip.vue.d.ts +6 -8
- package/dist/vue2/types/components/chip/chip.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/datepicker/formatUtils.d.ts.map +1 -1
- package/dist/vue2/types/components/datepicker/modules/calendar.vue.d.ts +3 -5
- package/dist/vue2/types/components/datepicker/modules/calendar.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/datepicker/modules/month-year-picker.vue.d.ts +3 -5
- package/dist/vue2/types/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
- 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 +1 -5
- package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts +2 -4
- package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/loader/loader.vue.d.ts +5 -6
- package/dist/vue2/types/components/loader/loader.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/modal/modal.vue.d.ts +2 -4
- package/dist/vue2/types/components/modal/modal.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/notice/notice_action.vue.d.ts +5 -6
- package/dist/vue2/types/components/notice/notice_action.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/pagination/pagination.vue.d.ts +4 -6
- package/dist/vue2/types/components/pagination/pagination.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts +5 -6
- 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 +5 -7
- 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 +5 -7
- 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 +5 -7
- package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +4 -6
- package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +3 -5
- 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 +5 -6
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts +14 -16
- 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 +5 -6
- package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +6 -8
- 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 +5 -6
- 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 +5 -7
- 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 +3 -5
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +5 -6
- 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 +5 -7
- package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +17 -19
- 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 +8 -9
- 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 +5 -6
- package/dist/vue2/types/recipes/leftbar/unread_pill/unread_pill.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 +16 -13
- 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 +3 -3
- 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 -181
- 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 +2 -3
- 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 +4 -4
- package/dist/vue2/common/mixins/localization.cjs +0 -2
- package/dist/vue2/common/mixins/localization.cjs.map +0 -1
- package/dist/vue2/common/mixins/localization.js +0 -10
- package/dist/vue2/common/mixins/localization.js.map +0 -1
- package/dist/vue2/types/common/mixins/localization.d.ts +0 -8
- package/dist/vue2/types/common/mixins/localization.d.ts.map +0 -1
- 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,46 +1,57 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { removeClassStyleAttrs as
|
|
3
|
-
import { Node as H, mergeAttributes as
|
|
4
|
-
import { NodeViewWrapper as K, nodeViewProps as
|
|
5
|
-
import { DtIconClose as
|
|
6
|
-
import {
|
|
7
|
-
import { _ as
|
|
8
|
-
import
|
|
1
|
+
import R from "./last-active-nodes.js";
|
|
2
|
+
import { removeClassStyleAttrs as U, addClassStyleAttrs as z, returnFirstEl as q } from "../../common/utils/index.js";
|
|
3
|
+
import { Node as H, mergeAttributes as G } from "@tiptap/core";
|
|
4
|
+
import { NodeViewWrapper as K, nodeViewProps as W, VueNodeViewRenderer as X } from "../../node_modules/@tiptap/vue-3.js";
|
|
5
|
+
import { DtIconClose as Q, DtIconVideo as J, DtIconImage as Y, DtIconVerySatisfied as Z, DtIconSatisfied as $, DtIconSend as ee } from "@dialpad/dialtone-icons/vue3";
|
|
6
|
+
import { DialtoneLocalization as C } from "../../localization/index.js";
|
|
7
|
+
import { resolveComponent as l, openBlock as r, createBlock as d, withCtx as a, createVNode as c, createElementVNode as m, createTextVNode as te, toDisplayString as T, resolveDirective as E, createElementBlock as y, mergeProps as _, withModifiers as w, renderSlot as p, createCommentVNode as h, withDirectives as f, normalizeStyle as ie, vShow as ne, normalizeClass as oe, createSlots as se } from "vue";
|
|
8
|
+
import { _ as v } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
import le from "../item-layout/item-layout.js";
|
|
9
10
|
import P from "../button/button.js";
|
|
10
11
|
import ae from "./message-input-topbar.js";
|
|
11
12
|
import re from "./message-input-link.js";
|
|
12
|
-
import { EDITOR_SUPPORTED_LINK_PROTOCOLS as ce, EDITOR_DEFAULT_LINK_PREFIX as
|
|
13
|
-
import
|
|
13
|
+
import { EDITOR_SUPPORTED_LINK_PROTOCOLS as ce, EDITOR_DEFAULT_LINK_PREFIX as ue } from "../editor/editor-constants.js";
|
|
14
|
+
import de from "../emoji-picker/emoji-picker.js";
|
|
14
15
|
import me from "../input/input.js";
|
|
15
16
|
import pe from "../popover/popover.js";
|
|
16
|
-
import
|
|
17
|
-
import
|
|
17
|
+
import he from "../rich-text-editor/rich-text-editor.js";
|
|
18
|
+
import ge from "../tooltip/tooltip.js";
|
|
18
19
|
import be from "../stack/stack.js";
|
|
19
|
-
import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as
|
|
20
|
+
import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as fe, RICH_TEXT_EDITOR_OUTPUT_FORMATS as ke } from "../rich-text-editor/rich-text-editor-constants.js";
|
|
20
21
|
const _e = {
|
|
21
22
|
name: "MeetingPill",
|
|
22
23
|
components: {
|
|
23
24
|
NodeViewWrapper: K,
|
|
24
|
-
DtItemLayout:
|
|
25
|
-
DtIconClose:
|
|
25
|
+
DtItemLayout: le,
|
|
26
|
+
DtIconClose: Q,
|
|
26
27
|
DtButton: P,
|
|
27
|
-
DtIconVideo:
|
|
28
|
+
DtIconVideo: J
|
|
28
29
|
},
|
|
29
|
-
props:
|
|
30
|
+
props: W,
|
|
30
31
|
emits: ["meeting-pill-close"],
|
|
32
|
+
data() {
|
|
33
|
+
return {
|
|
34
|
+
i18n: new C()
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
computed: {
|
|
38
|
+
closeButtonTitle() {
|
|
39
|
+
return this.i18n.$t("DIALTONE_CLOSE_BUTTON");
|
|
40
|
+
}
|
|
41
|
+
},
|
|
31
42
|
methods: {
|
|
32
43
|
close(t) {
|
|
33
|
-
var i,
|
|
34
|
-
const e = (
|
|
44
|
+
var i, u, o;
|
|
45
|
+
const e = (o = (u = (i = this.editor) == null ? void 0 : i.storage) == null ? void 0 : u.meetingPill) == null ? void 0 : o.onClose;
|
|
35
46
|
e && typeof e == "function" && e(t);
|
|
36
47
|
}
|
|
37
48
|
}
|
|
38
49
|
}, Te = { class: "d-recipe-message-input-meeting-pill__icon" }, Se = { class: "d-recipe-message-input-meeting-pill__close" };
|
|
39
|
-
function Le(t, e, i,
|
|
40
|
-
const S =
|
|
41
|
-
return r(),
|
|
50
|
+
function Le(t, e, i, u, o, n) {
|
|
51
|
+
const S = l("dt-icon-video"), L = l("dt-icon-close"), I = l("dt-button"), O = l("dt-item-layout"), g = l("node-view-wrapper");
|
|
52
|
+
return r(), d(g, { class: "d-recipe-message-input-meeting-pill" }, {
|
|
42
53
|
default: a(() => [
|
|
43
|
-
c(
|
|
54
|
+
c(O, {
|
|
44
55
|
class: "d-recipe-message-input-meeting-pill__layout",
|
|
45
56
|
unstyled: ""
|
|
46
57
|
}, {
|
|
@@ -51,18 +62,19 @@ function Le(t, e, i, d, n, o) {
|
|
|
51
62
|
]),
|
|
52
63
|
right: a(() => [
|
|
53
64
|
m("div", Se, [
|
|
54
|
-
c(
|
|
65
|
+
c(I, {
|
|
55
66
|
circle: "",
|
|
56
|
-
"aria-label": t.node.attrs["close-button-aria-label"],
|
|
57
|
-
size: "xs",
|
|
58
67
|
importance: "clear",
|
|
59
|
-
|
|
68
|
+
size: "xs",
|
|
69
|
+
"aria-label": n.closeButtonTitle,
|
|
70
|
+
title: n.closeButtonTitle,
|
|
71
|
+
onClick: n.close
|
|
60
72
|
}, {
|
|
61
73
|
icon: a(() => [
|
|
62
74
|
c(L, { size: "300" })
|
|
63
75
|
]),
|
|
64
76
|
_: 1
|
|
65
|
-
}, 8, ["aria-label", "onClick"])
|
|
77
|
+
}, 8, ["aria-label", "title", "onClick"])
|
|
66
78
|
])
|
|
67
79
|
]),
|
|
68
80
|
default: a(() => [
|
|
@@ -74,7 +86,7 @@ function Le(t, e, i, d, n, o) {
|
|
|
74
86
|
_: 1
|
|
75
87
|
});
|
|
76
88
|
}
|
|
77
|
-
const
|
|
89
|
+
const Ie = /* @__PURE__ */ v(_e, [["render", Le]]), Oe = H.create({
|
|
78
90
|
name: "meetingPill",
|
|
79
91
|
atom: !0,
|
|
80
92
|
group: "inline",
|
|
@@ -91,14 +103,13 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
91
103
|
};
|
|
92
104
|
},
|
|
93
105
|
addNodeView() {
|
|
94
|
-
return
|
|
106
|
+
return X(Ie);
|
|
95
107
|
},
|
|
96
108
|
addAttributes() {
|
|
97
109
|
return {
|
|
98
110
|
text: {
|
|
99
111
|
default: 'Please pass in "text" attribute'
|
|
100
|
-
}
|
|
101
|
-
"close-button-aria-label": {}
|
|
112
|
+
}
|
|
102
113
|
};
|
|
103
114
|
},
|
|
104
115
|
parseHTML() {
|
|
@@ -112,27 +123,26 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
112
123
|
return "/dpm";
|
|
113
124
|
},
|
|
114
125
|
renderHTML({ HTMLAttributes: t }) {
|
|
115
|
-
return ["meeting-pill",
|
|
126
|
+
return ["meeting-pill", G(t)];
|
|
116
127
|
}
|
|
117
|
-
}),
|
|
128
|
+
}), ye = {
|
|
118
129
|
compatConfig: { MODE: 3 },
|
|
119
130
|
name: "DtRecipeMessageInput",
|
|
120
131
|
components: {
|
|
121
132
|
DtButton: P,
|
|
122
|
-
DtEmojiPicker:
|
|
133
|
+
DtEmojiPicker: de,
|
|
123
134
|
DtInput: me,
|
|
124
135
|
DtPopover: pe,
|
|
125
136
|
DtRecipeMessageInputTopbar: ae,
|
|
126
137
|
DtRecipeMessageInputLink: re,
|
|
127
|
-
DtRichTextEditor:
|
|
128
|
-
DtTooltip:
|
|
138
|
+
DtRichTextEditor: he,
|
|
139
|
+
DtTooltip: ge,
|
|
129
140
|
DtStack: be,
|
|
130
|
-
DtIconImage:
|
|
141
|
+
DtIconImage: Y,
|
|
131
142
|
DtIconVerySatisfied: Z,
|
|
132
143
|
DtIconSatisfied: $,
|
|
133
144
|
DtIconSend: ee
|
|
134
145
|
},
|
|
135
|
-
mixins: [],
|
|
136
146
|
inheritAttrs: !1,
|
|
137
147
|
props: {
|
|
138
148
|
/**
|
|
@@ -201,7 +211,7 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
201
211
|
type: [Boolean, String, Number],
|
|
202
212
|
default: !1,
|
|
203
213
|
validator(t) {
|
|
204
|
-
return typeof t == "string" ?
|
|
214
|
+
return typeof t == "string" ? fe.includes(t) : !0;
|
|
205
215
|
}
|
|
206
216
|
},
|
|
207
217
|
/**
|
|
@@ -214,7 +224,7 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
214
224
|
type: String,
|
|
215
225
|
default: "json",
|
|
216
226
|
validator(t) {
|
|
217
|
-
return
|
|
227
|
+
return ke.includes(t);
|
|
218
228
|
}
|
|
219
229
|
},
|
|
220
230
|
/**
|
|
@@ -249,31 +259,7 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
249
259
|
*/
|
|
250
260
|
emojiPickerProps: {
|
|
251
261
|
type: Object,
|
|
252
|
-
default: () => ({})
|
|
253
|
-
validate(t) {
|
|
254
|
-
return [
|
|
255
|
-
"searchNoResultsLabel",
|
|
256
|
-
"searchResultsLabel",
|
|
257
|
-
"searchPlaceholderLabel",
|
|
258
|
-
"skinSelectorButtonTooltipLabel",
|
|
259
|
-
"tabSetLabels"
|
|
260
|
-
].every((e) => t[e] != null);
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
/**
|
|
264
|
-
* Emoji button tooltip label
|
|
265
|
-
*/
|
|
266
|
-
emojiTooltipMessage: {
|
|
267
|
-
type: String,
|
|
268
|
-
default: "Emoji"
|
|
269
|
-
},
|
|
270
|
-
// Aria label for buttons
|
|
271
|
-
/**
|
|
272
|
-
* Emoji button aria label
|
|
273
|
-
*/
|
|
274
|
-
emojiButtonAriaLabel: {
|
|
275
|
-
type: String,
|
|
276
|
-
default: "emoji button"
|
|
262
|
+
default: () => ({})
|
|
277
263
|
},
|
|
278
264
|
/**
|
|
279
265
|
* Enable character Limit warning
|
|
@@ -284,24 +270,28 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
284
270
|
},
|
|
285
271
|
showImagePicker: {
|
|
286
272
|
type: [Boolean, Object],
|
|
287
|
-
default: () => ({
|
|
288
|
-
tooltipLabel: "Attach Image",
|
|
289
|
-
ariaLabel: "image button"
|
|
290
|
-
})
|
|
273
|
+
default: () => ({})
|
|
291
274
|
},
|
|
292
275
|
/**
|
|
293
276
|
* Send button defaults.
|
|
277
|
+
* TODO (Dialtone 10):
|
|
278
|
+
* - Change to `showSendButton`, boolean only.
|
|
294
279
|
*/
|
|
295
280
|
showSend: {
|
|
296
281
|
type: [Boolean, Object],
|
|
297
282
|
default: () => ({})
|
|
298
283
|
},
|
|
284
|
+
/**
|
|
285
|
+
* TODO (Dialtone 10):
|
|
286
|
+
* - Add a prop `iconOnly` default: true to control if localized send button text should be shown
|
|
287
|
+
*/
|
|
299
288
|
/**
|
|
300
289
|
* Cancel button defaults.
|
|
290
|
+
* TODO (Dialtone 10): Change to `showCancelButton`, boolean only.
|
|
301
291
|
*/
|
|
302
292
|
showCancel: {
|
|
303
293
|
type: [Boolean, Object],
|
|
304
|
-
default: () => ({
|
|
294
|
+
default: () => ({})
|
|
305
295
|
},
|
|
306
296
|
/**
|
|
307
297
|
* suggestion object containing the items query function.
|
|
@@ -354,13 +344,11 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
354
344
|
* descriptive text fields for the bold button
|
|
355
345
|
*
|
|
356
346
|
* object format:
|
|
357
|
-
* {
|
|
347
|
+
* { keyboardShortcutText: string }
|
|
358
348
|
*/
|
|
359
349
|
boldButtonOptions: {
|
|
360
350
|
type: Object,
|
|
361
351
|
default: () => ({
|
|
362
|
-
ariaLabel: "Toggle bold on selected text",
|
|
363
|
-
tooltipText: "Bold",
|
|
364
352
|
keyboardShortcutText: "Mod + B"
|
|
365
353
|
})
|
|
366
354
|
},
|
|
@@ -368,13 +356,11 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
368
356
|
* descriptive text fields for the italic button
|
|
369
357
|
*
|
|
370
358
|
* object format:
|
|
371
|
-
* {
|
|
359
|
+
* { keyboardShortcutText: string }
|
|
372
360
|
*/
|
|
373
361
|
italicButtonOptions: {
|
|
374
362
|
type: Object,
|
|
375
363
|
default: () => ({
|
|
376
|
-
ariaLabel: "Toggle italic on selected text",
|
|
377
|
-
tooltipText: "Italic",
|
|
378
364
|
keyboardShortcutText: "Mod + I"
|
|
379
365
|
})
|
|
380
366
|
},
|
|
@@ -382,13 +368,11 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
382
368
|
* descriptive text fields for the strikethrough button
|
|
383
369
|
*
|
|
384
370
|
* object format:
|
|
385
|
-
* {
|
|
371
|
+
* { keyboardShortcutText: string }
|
|
386
372
|
*/
|
|
387
373
|
strikeButtonOptions: {
|
|
388
374
|
type: Object,
|
|
389
375
|
default: () => ({
|
|
390
|
-
ariaLabel: "Toggle strikethrough on selected text",
|
|
391
|
-
tooltipText: "Strikethrough",
|
|
392
376
|
keyboardShortcutText: "Mod + Shift + S"
|
|
393
377
|
})
|
|
394
378
|
},
|
|
@@ -396,36 +380,25 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
396
380
|
* descriptive text fields for the link button
|
|
397
381
|
*
|
|
398
382
|
* object format:
|
|
399
|
-
* {
|
|
383
|
+
* { keyboardShortcutText: string }
|
|
400
384
|
*/
|
|
401
385
|
linkButtonOptions: {
|
|
402
386
|
type: Object,
|
|
403
387
|
default: () => ({
|
|
404
|
-
ariaLabel: "Create or edit link on selected text",
|
|
405
|
-
tooltipText: "Link",
|
|
406
388
|
// TODO: implement mod k
|
|
407
389
|
keyboardShortcutText: "Mod + K",
|
|
408
|
-
|
|
409
|
-
textLabel: "Text to display (optional)",
|
|
410
|
-
linkLabel: "Link",
|
|
411
|
-
linkPlaceholder: "e.g. https://www.dialpad.com",
|
|
412
|
-
removeLabel: "Remove",
|
|
413
|
-
cancelLabel: "Cancel",
|
|
414
|
-
confirmLabel: "Done",
|
|
415
|
-
visuallyHiddenCloseText: "Close link dialog"
|
|
390
|
+
linkPlaceholder: "e.g. https://www.dialpad.com"
|
|
416
391
|
})
|
|
417
392
|
},
|
|
418
393
|
/**
|
|
419
394
|
* descriptive text fields for the bullet list button
|
|
420
395
|
*
|
|
421
396
|
* object format:
|
|
422
|
-
* {
|
|
397
|
+
* { keyboardShortcutText: string }
|
|
423
398
|
*/
|
|
424
399
|
bulletListButtonOptions: {
|
|
425
400
|
type: Object,
|
|
426
401
|
default: () => ({
|
|
427
|
-
ariaLabel: "Toggle bullet list on selected text",
|
|
428
|
-
tooltipText: "Bullet list",
|
|
429
402
|
keyboardShortcutText: "Mod + Shift + 8"
|
|
430
403
|
})
|
|
431
404
|
},
|
|
@@ -433,13 +406,11 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
433
406
|
* descriptive text fields for the ordered list button
|
|
434
407
|
*
|
|
435
408
|
* object format:
|
|
436
|
-
* {
|
|
409
|
+
* { keyboardShortcutText: string }
|
|
437
410
|
*/
|
|
438
411
|
orderedListButtonOptions: {
|
|
439
412
|
type: Object,
|
|
440
413
|
default: () => ({
|
|
441
|
-
ariaLabel: "Toggle ordered list on selected text",
|
|
442
|
-
tooltipText: "Ordered list",
|
|
443
414
|
keyboardShortcutText: "Mod + Shift + 7"
|
|
444
415
|
})
|
|
445
416
|
},
|
|
@@ -447,13 +418,11 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
447
418
|
* descriptive text fields for the italic button
|
|
448
419
|
*
|
|
449
420
|
* object format:
|
|
450
|
-
* {
|
|
421
|
+
* { keyboardShortcutText: string }
|
|
451
422
|
*/
|
|
452
423
|
blockQuoteButtonOptions: {
|
|
453
424
|
type: Object,
|
|
454
425
|
default: () => ({
|
|
455
|
-
ariaLabel: "Toggle Blockquote on selected text",
|
|
456
|
-
tooltipText: "Blockquote",
|
|
457
426
|
keyboardShortcutText: "Mod + Shift + B"
|
|
458
427
|
})
|
|
459
428
|
},
|
|
@@ -461,13 +430,11 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
461
430
|
* descriptive text fields for the code button
|
|
462
431
|
*
|
|
463
432
|
* object format:
|
|
464
|
-
* {
|
|
433
|
+
* { keyboardShortcutText: string }
|
|
465
434
|
*/
|
|
466
435
|
codeButtonOptions: {
|
|
467
436
|
type: Object,
|
|
468
437
|
default: () => ({
|
|
469
|
-
ariaLabel: "Toggle code tag on selected text",
|
|
470
|
-
tooltipText: "Code",
|
|
471
438
|
keyboardShortcutText: "Mod + E"
|
|
472
439
|
})
|
|
473
440
|
},
|
|
@@ -475,13 +442,11 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
475
442
|
* descriptive text fields for the code block button
|
|
476
443
|
*
|
|
477
444
|
* object format:
|
|
478
|
-
* {
|
|
445
|
+
* { keyboardShortcutText: string }
|
|
479
446
|
*/
|
|
480
447
|
codeBlockButtonOptions: {
|
|
481
448
|
type: Object,
|
|
482
449
|
default: () => ({
|
|
483
|
-
ariaLabel: "Toggle code block on selected text",
|
|
484
|
-
tooltipText: "Code block",
|
|
485
450
|
keyboardShortcutText: "Mod + Alt + C"
|
|
486
451
|
})
|
|
487
452
|
}
|
|
@@ -561,15 +526,21 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
561
526
|
* @event text-input
|
|
562
527
|
* @type {String}
|
|
563
528
|
*/
|
|
564
|
-
"text-input"
|
|
529
|
+
"text-input",
|
|
530
|
+
/**
|
|
531
|
+
* Emitted when the 'Add emoji' button is clicked
|
|
532
|
+
* @event add-emoji
|
|
533
|
+
* @type {Boolean}
|
|
534
|
+
*/
|
|
535
|
+
"add-emoji"
|
|
565
536
|
],
|
|
566
537
|
data() {
|
|
567
538
|
return {
|
|
568
539
|
// If an ordered list is nested within an unordered list, we only want to show the currently selected list as
|
|
569
540
|
// active. This function performs the logic to determine the farthest active node from the root.
|
|
570
|
-
lastActiveNodes:
|
|
541
|
+
lastActiveNodes: R,
|
|
571
542
|
additionalExtensions: [
|
|
572
|
-
|
|
543
|
+
Oe.configure({
|
|
573
544
|
onClose: (t) => {
|
|
574
545
|
this.$emit("meeting-pill-close", t);
|
|
575
546
|
}
|
|
@@ -587,7 +558,8 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
587
558
|
linkDialogOpen: !1,
|
|
588
559
|
selectedText: "",
|
|
589
560
|
text: "",
|
|
590
|
-
hideLinkBubbleMenu: !1
|
|
561
|
+
hideLinkBubbleMenu: !1,
|
|
562
|
+
i18n: new C()
|
|
591
563
|
};
|
|
592
564
|
},
|
|
593
565
|
computed: {
|
|
@@ -606,16 +578,23 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
606
578
|
isSendDisabled() {
|
|
607
579
|
return this.disableSend || this.showCharacterLimit && this.inputLength > this.showCharacterLimit.count;
|
|
608
580
|
},
|
|
609
|
-
computedCloseButtonProps() {
|
|
610
|
-
return {
|
|
611
|
-
ariaLabel: "Close"
|
|
612
|
-
};
|
|
613
|
-
},
|
|
614
581
|
emojiPickerHovered() {
|
|
615
582
|
return this.emojiPickerFocus || this.emojiPickerOpened;
|
|
616
583
|
},
|
|
617
584
|
sendIconSize() {
|
|
618
585
|
return "300";
|
|
586
|
+
},
|
|
587
|
+
sendButtonLabel() {
|
|
588
|
+
return this.i18n.$t("DIALTONE_MESSAGE_INPUT_SEND_BUTTON_ARIA_LABEL");
|
|
589
|
+
},
|
|
590
|
+
imagePickerButtonLabel() {
|
|
591
|
+
return this.i18n.$t("DIALTONE_MESSAGE_INPUT_IMAGE_PICKER_BUTTON_ARIA_LABEL");
|
|
592
|
+
},
|
|
593
|
+
emojiPickerButtonLabel() {
|
|
594
|
+
return this.i18n.$t("DIALTONE_MESSAGE_INPUT_EMOJI_PICKER_BUTTON_ARIA_LABEL");
|
|
595
|
+
},
|
|
596
|
+
cancelButtonLabel() {
|
|
597
|
+
return this.i18n.$t("DIALTONE_MESSAGE_INPUT_CANCEL_BUTTON_ARIA_LABEL");
|
|
619
598
|
}
|
|
620
599
|
},
|
|
621
600
|
watch: {
|
|
@@ -631,16 +610,16 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
631
610
|
this.modelValue && this.outputFormat === "text" ? this.internalInputValue = this.modelValue.replace(/\n/g, "<br>") : this.internalInputValue = this.modelValue;
|
|
632
611
|
},
|
|
633
612
|
methods: {
|
|
634
|
-
removeClassStyleAttrs:
|
|
635
|
-
addClassStyleAttrs:
|
|
613
|
+
removeClassStyleAttrs: U,
|
|
614
|
+
addClassStyleAttrs: z,
|
|
636
615
|
linkDialogOpened(t) {
|
|
637
616
|
var e;
|
|
638
617
|
this.linkDialogOpen = t, t === !0 ? this.initLinkDialog() : (this.hideLinkBubbleMenu = !1, (e = this.$refs.richTextEditor) == null || e.focusEditor());
|
|
639
618
|
},
|
|
640
619
|
// eslint-disable-next-line complexity
|
|
641
620
|
handleTopbarClick(t) {
|
|
642
|
-
var
|
|
643
|
-
const e = (
|
|
621
|
+
var u;
|
|
622
|
+
const e = (u = this.$refs.richTextEditor) == null ? void 0 : u.editor, i = {
|
|
644
623
|
bold: () => e == null ? void 0 : e.chain().focus().toggleBold().run(),
|
|
645
624
|
italic: () => e == null ? void 0 : e.chain().focus().toggleItalic().run(),
|
|
646
625
|
strike: () => e == null ? void 0 : e.chain().focus().toggleStrike().run(),
|
|
@@ -654,8 +633,8 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
654
633
|
},
|
|
655
634
|
// Checks if the node currently selected is active ex/ the bold button is active if the selected text is bold
|
|
656
635
|
isSelectionActive(t) {
|
|
657
|
-
var e, i,
|
|
658
|
-
return ["bulletList", "orderedList"].includes(t) ? this.lastActiveNodes((i = (e = this.$refs.richTextEditor) == null ? void 0 : e.editor) == null ? void 0 : i.state, [{ type: "bulletList" }, { type: "orderedList" }]).includes(t) && this.isFocused : ((
|
|
636
|
+
var e, i, u, o;
|
|
637
|
+
return ["bulletList", "orderedList"].includes(t) ? this.lastActiveNodes((i = (e = this.$refs.richTextEditor) == null ? void 0 : e.editor) == null ? void 0 : i.state, [{ type: "bulletList" }, { type: "orderedList" }]).includes(t) && this.isFocused : ((o = (u = this.$refs.richTextEditor) == null ? void 0 : u.editor) == null ? void 0 : o.isActive(t)) && this.isFocused;
|
|
659
638
|
},
|
|
660
639
|
initLinkDialog() {
|
|
661
640
|
var t, e, i;
|
|
@@ -671,12 +650,12 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
671
650
|
t,
|
|
672
651
|
this.linkOptions,
|
|
673
652
|
ce,
|
|
674
|
-
|
|
653
|
+
ue
|
|
675
654
|
), this.linkDialogOpen = !1;
|
|
676
655
|
},
|
|
677
656
|
// Mousedown instead of click because it fires before the blur event.
|
|
678
657
|
onMousedown(t) {
|
|
679
|
-
|
|
658
|
+
q(this.$refs.richTextEditor.$el).querySelector(".tiptap").contains(t.target) || (t.preventDefault(), this.$refs.richTextEditor.focusEditor());
|
|
680
659
|
},
|
|
681
660
|
onDrop(t) {
|
|
682
661
|
const e = t.dataTransfer, i = Array.from(e.files);
|
|
@@ -725,23 +704,23 @@ const xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
|
|
|
725
704
|
this.text = t, this.$emit("text-input", t);
|
|
726
705
|
}
|
|
727
706
|
}
|
|
728
|
-
},
|
|
729
|
-
function Pe(t, e, i,
|
|
730
|
-
const S =
|
|
731
|
-
return r(),
|
|
707
|
+
}, Be = { class: "d-recipe-message-input__bottom-section" }, Ee = { class: "d-recipe-message-input__bottom-section-left" }, we = { class: "d-recipe-message-input__bottom-section-right" }, Ce = { class: "d-recipe-message-input__sms-count" }, ve = { key: 0 };
|
|
708
|
+
function Pe(t, e, i, u, o, n) {
|
|
709
|
+
const S = l("dt-recipe-message-input-link"), L = l("dt-recipe-message-input-topbar"), I = l("dt-rich-text-editor"), O = l("dt-icon-image"), g = l("dt-button"), x = l("dt-input"), D = l("dt-icon-very-satisfied"), j = l("dt-icon-satisfied"), A = l("dt-emoji-picker"), M = l("dt-popover"), B = l("dt-stack"), V = l("dt-tooltip"), N = l("dt-icon-send"), F = E("dt-scrollbar"), k = E("dt-tooltip");
|
|
710
|
+
return r(), y("div", _({
|
|
732
711
|
"data-qa": "dt-recipe-message-input",
|
|
733
712
|
role: "presentation",
|
|
734
713
|
class: "d-recipe-message-input"
|
|
735
|
-
},
|
|
736
|
-
onDragover: e[
|
|
714
|
+
}, n.addClassStyleAttrs(t.$attrs), {
|
|
715
|
+
onDragover: e[14] || (e[14] = w(() => {
|
|
737
716
|
}, ["prevent"])),
|
|
738
|
-
onDrop: e[
|
|
739
|
-
onPaste: e[
|
|
740
|
-
onMousedown: e[
|
|
717
|
+
onDrop: e[15] || (e[15] = w((...s) => n.onDrop && n.onDrop(...s), ["prevent"])),
|
|
718
|
+
onPaste: e[16] || (e[16] = (...s) => n.onPaste && n.onPaste(...s)),
|
|
719
|
+
onMousedown: e[17] || (e[17] = (...s) => n.onMousedown && n.onMousedown(...s))
|
|
741
720
|
}), [
|
|
742
|
-
|
|
743
|
-
i.richText ? (r(),
|
|
744
|
-
key:
|
|
721
|
+
p(t.$slots, "top"),
|
|
722
|
+
i.richText ? (r(), d(L, {
|
|
723
|
+
key: o.selectedText,
|
|
745
724
|
"bold-button-options": i.boldButtonOptions,
|
|
746
725
|
"italic-button-options": i.italicButtonOptions,
|
|
747
726
|
"strike-button-options": i.strikeButtonOptions,
|
|
@@ -750,30 +729,30 @@ function Pe(t, e, i, d, n, o) {
|
|
|
750
729
|
"block-quote-button-options": i.blockQuoteButtonOptions,
|
|
751
730
|
"code-button-options": i.codeButtonOptions,
|
|
752
731
|
"code-block-button-options": i.codeBlockButtonOptions,
|
|
753
|
-
"is-selection-active":
|
|
754
|
-
onClick:
|
|
732
|
+
"is-selection-active": n.isSelectionActive,
|
|
733
|
+
onClick: n.handleTopbarClick
|
|
755
734
|
}, {
|
|
756
735
|
link: a(() => [
|
|
757
736
|
c(S, {
|
|
758
737
|
ref: "link",
|
|
759
|
-
open:
|
|
738
|
+
open: o.linkDialogOpen,
|
|
760
739
|
"link-button-options": i.linkButtonOptions,
|
|
761
|
-
"is-selection-active":
|
|
762
|
-
onOpened:
|
|
763
|
-
onSetLink:
|
|
764
|
-
onRemoveLink:
|
|
740
|
+
"is-selection-active": n.isSelectionActive,
|
|
741
|
+
onOpened: n.linkDialogOpened,
|
|
742
|
+
onSetLink: n.setLink,
|
|
743
|
+
onRemoveLink: n.removeLink
|
|
765
744
|
}, null, 8, ["open", "link-button-options", "is-selection-active", "onOpened", "onSetLink", "onRemoveLink"])
|
|
766
745
|
]),
|
|
767
746
|
_: 1
|
|
768
747
|
}, 8, ["bold-button-options", "italic-button-options", "strike-button-options", "bullet-list-button-options", "ordered-list-button-options", "block-quote-button-options", "code-button-options", "code-block-button-options", "is-selection-active", "onClick"])) : h("", !0),
|
|
769
|
-
f((r(),
|
|
748
|
+
f((r(), y("div", {
|
|
770
749
|
class: "d-recipe-message-input__editor-wrapper",
|
|
771
750
|
style: ie({ "max-height": i.maxHeight })
|
|
772
751
|
}, [
|
|
773
|
-
c(
|
|
752
|
+
c(I, _({
|
|
774
753
|
ref: "richTextEditor",
|
|
775
|
-
modelValue:
|
|
776
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
754
|
+
modelValue: o.internalInputValue,
|
|
755
|
+
"onUpdate:modelValue": e[0] || (e[0] = (s) => o.internalInputValue = s),
|
|
777
756
|
"allow-blockquote": i.richText,
|
|
778
757
|
"allow-bold": i.richText,
|
|
779
758
|
"allow-bullet-list": i.richText,
|
|
@@ -794,126 +773,124 @@ function Pe(t, e, i, d, n, o) {
|
|
|
794
773
|
"mention-suggestion": i.mentionSuggestion,
|
|
795
774
|
"channel-suggestion": i.channelSuggestion,
|
|
796
775
|
"slash-command-suggestion": i.slashCommandSuggestion,
|
|
797
|
-
"additional-extensions":
|
|
798
|
-
"hide-link-bubble-menu":
|
|
799
|
-
},
|
|
800
|
-
onInput:
|
|
801
|
-
onTextInput:
|
|
802
|
-
onEnter:
|
|
803
|
-
onSelected: e[1] || (e[1] = (
|
|
804
|
-
onSelectedCommand: e[2] || (e[2] = (
|
|
805
|
-
onEditLink:
|
|
806
|
-
onFocus: e[3] || (e[3] = (
|
|
807
|
-
onBlur: e[4] || (e[4] = (
|
|
776
|
+
"additional-extensions": o.additionalExtensions,
|
|
777
|
+
"hide-link-bubble-menu": o.hideLinkBubbleMenu
|
|
778
|
+
}, n.removeClassStyleAttrs(t.$attrs), {
|
|
779
|
+
onInput: n.onInput,
|
|
780
|
+
onTextInput: n.onTextInput,
|
|
781
|
+
onEnter: n.onSend,
|
|
782
|
+
onSelected: e[1] || (e[1] = (s) => o.selectedText = s),
|
|
783
|
+
onSelectedCommand: e[2] || (e[2] = (s) => t.$emit("selected-command", s)),
|
|
784
|
+
onEditLink: n.initLinkDialog,
|
|
785
|
+
onFocus: e[3] || (e[3] = (s) => o.isFocused = !0),
|
|
786
|
+
onBlur: e[4] || (e[4] = (s) => o.isFocused = !1)
|
|
808
787
|
}), null, 16, ["modelValue", "allow-blockquote", "allow-bold", "allow-bullet-list", "allow-code", "allow-codeblock", "allow-italic", "allow-strike", "allow-underline", "paste-rich-text", "editable", "input-aria-label", "input-class", "output-format", "auto-focus", "link", "placeholder", "prevent-typing", "mention-suggestion", "channel-suggestion", "slash-command-suggestion", "additional-extensions", "hide-link-bubble-menu", "onInput", "onTextInput", "onEnter", "onEditLink"])
|
|
809
788
|
], 4)), [
|
|
810
|
-
[
|
|
789
|
+
[F]
|
|
811
790
|
]),
|
|
812
|
-
|
|
813
|
-
m("section",
|
|
814
|
-
m("div",
|
|
815
|
-
c(
|
|
791
|
+
p(t.$slots, "middle"),
|
|
792
|
+
m("section", Be, [
|
|
793
|
+
m("div", Ee, [
|
|
794
|
+
c(B, {
|
|
816
795
|
gap: "200",
|
|
817
796
|
direction: "row"
|
|
818
797
|
}, {
|
|
819
|
-
default: a(() =>
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
];
|
|
899
|
-
}),
|
|
798
|
+
default: a(() => [
|
|
799
|
+
i.showImagePicker ? f((r(), d(g, {
|
|
800
|
+
key: 0,
|
|
801
|
+
"data-qa": "dt-recipe-message-input-image-btn",
|
|
802
|
+
size: "sm",
|
|
803
|
+
class: "d-recipe-message-input__button",
|
|
804
|
+
kind: "muted",
|
|
805
|
+
importance: "clear",
|
|
806
|
+
"aria-label": n.imagePickerButtonLabel,
|
|
807
|
+
onClick: n.onSelectImage,
|
|
808
|
+
onMouseenter: e[5] || (e[5] = (s) => o.imagePickerFocus = !0),
|
|
809
|
+
onMouseleave: e[6] || (e[6] = (s) => o.imagePickerFocus = !1),
|
|
810
|
+
onFocus: e[7] || (e[7] = (s) => o.imagePickerFocus = !0),
|
|
811
|
+
onBlur: e[8] || (e[8] = (s) => o.imagePickerFocus = !1)
|
|
812
|
+
}, {
|
|
813
|
+
icon: a(() => [
|
|
814
|
+
c(O, { size: "300" })
|
|
815
|
+
]),
|
|
816
|
+
_: 1
|
|
817
|
+
}, 8, ["aria-label", "onClick"])), [
|
|
818
|
+
[k, n.imagePickerButtonLabel, "top-start"]
|
|
819
|
+
]) : h("", !0),
|
|
820
|
+
c(x, {
|
|
821
|
+
ref: "messageInputImageUpload",
|
|
822
|
+
"data-qa": "dt-recipe-message-input-image-input",
|
|
823
|
+
accept: "image/*, video/*",
|
|
824
|
+
type: "file",
|
|
825
|
+
class: "d-recipe-message-input__image-input",
|
|
826
|
+
multiple: "",
|
|
827
|
+
hidden: "",
|
|
828
|
+
onInput: n.onImageUpload
|
|
829
|
+
}, null, 8, ["onInput"]),
|
|
830
|
+
i.showEmojiPicker ? (r(), d(M, {
|
|
831
|
+
key: 1,
|
|
832
|
+
"open.sync": "emojiPickerOpened",
|
|
833
|
+
"data-qa": "dt-recipe-message-input-emoji-picker-popover",
|
|
834
|
+
"initial-focus-element": "#searchInput",
|
|
835
|
+
padding: "none"
|
|
836
|
+
}, {
|
|
837
|
+
anchor: a(({ attrs: s }) => [
|
|
838
|
+
f((r(), d(g, _(s, {
|
|
839
|
+
"data-qa": "dt-recipe-message-input-emoji-picker-btn",
|
|
840
|
+
size: "sm",
|
|
841
|
+
class: "d-recipe-message-input__button",
|
|
842
|
+
kind: "muted",
|
|
843
|
+
importance: "clear",
|
|
844
|
+
"aria-label": n.emojiPickerButtonLabel,
|
|
845
|
+
onClick: n.toggleEmojiPicker,
|
|
846
|
+
onMouseenter: e[9] || (e[9] = (b) => o.emojiPickerFocus = !0),
|
|
847
|
+
onMouseleave: e[10] || (e[10] = (b) => o.emojiPickerFocus = !1),
|
|
848
|
+
onFocus: e[11] || (e[11] = (b) => o.emojiPickerFocus = !0),
|
|
849
|
+
onBlur: e[12] || (e[12] = (b) => o.emojiPickerFocus = !1)
|
|
850
|
+
}), {
|
|
851
|
+
icon: a(() => [
|
|
852
|
+
n.emojiPickerHovered ? (r(), d(D, {
|
|
853
|
+
key: 0,
|
|
854
|
+
size: "300"
|
|
855
|
+
})) : (r(), d(j, {
|
|
856
|
+
key: 1,
|
|
857
|
+
size: "300"
|
|
858
|
+
}))
|
|
859
|
+
]),
|
|
860
|
+
_: 2
|
|
861
|
+
}, 1040, ["aria-label", "onClick"])), [
|
|
862
|
+
[k, n.emojiPickerButtonLabel]
|
|
863
|
+
])
|
|
864
|
+
]),
|
|
865
|
+
content: a(({ close: s }) => [
|
|
866
|
+
c(A, _(i.emojiPickerProps, {
|
|
867
|
+
onAddEmoji: e[13] || (e[13] = (b) => t.$emit("add-emoji")),
|
|
868
|
+
onSkinTone: n.onSkinTone,
|
|
869
|
+
onSelectedEmoji: (b) => n.onSelectEmoji(b, s)
|
|
870
|
+
}), null, 16, ["onSkinTone", "onSelectedEmoji"])
|
|
871
|
+
]),
|
|
872
|
+
_: 1
|
|
873
|
+
})) : h("", !0),
|
|
874
|
+
p(t.$slots, "emojiGiphyPicker"),
|
|
875
|
+
p(t.$slots, "customActionIcons")
|
|
876
|
+
]),
|
|
900
877
|
_: 3
|
|
901
878
|
})
|
|
902
879
|
]),
|
|
903
|
-
m("div",
|
|
904
|
-
c(
|
|
880
|
+
m("div", we, [
|
|
881
|
+
c(B, {
|
|
905
882
|
direction: "row",
|
|
906
883
|
gap: "300"
|
|
907
884
|
}, {
|
|
908
885
|
default: a(() => [
|
|
909
|
-
m("div",
|
|
910
|
-
|
|
886
|
+
m("div", Ce, [
|
|
887
|
+
p(t.$slots, "smsCount")
|
|
911
888
|
]),
|
|
912
|
-
i.showCharacterLimit ? (r(),
|
|
889
|
+
i.showCharacterLimit ? (r(), d(V, {
|
|
913
890
|
key: 0,
|
|
914
891
|
class: "d-recipe-message-input__remaining-char-tooltip",
|
|
915
892
|
placement: "top-end",
|
|
916
|
-
enabled:
|
|
893
|
+
enabled: n.characterLimitTooltipEnabled,
|
|
917
894
|
message: i.showCharacterLimit.message,
|
|
918
895
|
offset: [10, 8]
|
|
919
896
|
}, {
|
|
@@ -921,66 +898,65 @@ function Pe(t, e, i, d, n, o) {
|
|
|
921
898
|
f(m("p", {
|
|
922
899
|
class: "d-recipe-message-input__remaining-char",
|
|
923
900
|
"data-qa": "dt-recipe-message-input-character-limit"
|
|
924
|
-
}, T(i.showCharacterLimit.count -
|
|
925
|
-
[
|
|
901
|
+
}, T(i.showCharacterLimit.count - n.inputLength), 513), [
|
|
902
|
+
[ne, n.displayCharacterLimitWarning]
|
|
926
903
|
])
|
|
927
904
|
]),
|
|
928
905
|
_: 1
|
|
929
906
|
}, 8, ["enabled", "message"])) : h("", !0),
|
|
930
|
-
i.showCancel ? (r(),
|
|
907
|
+
i.showCancel ? f((r(), d(g, {
|
|
931
908
|
key: 1,
|
|
932
909
|
"data-qa": "dt-recipe-message-input-cancel-button",
|
|
933
910
|
class: "d-recipe-message-input__button d-recipe-message-input__cancel-button",
|
|
934
911
|
size: "sm",
|
|
935
912
|
kind: "muted",
|
|
936
913
|
importance: "clear",
|
|
937
|
-
"aria-label":
|
|
938
|
-
onClick:
|
|
914
|
+
"aria-label": n.cancelButtonLabel,
|
|
915
|
+
onClick: n.onCancel
|
|
939
916
|
}, {
|
|
940
917
|
default: a(() => [
|
|
941
|
-
m("p", null, T(
|
|
918
|
+
m("p", null, T(n.cancelButtonLabel), 1)
|
|
942
919
|
]),
|
|
943
920
|
_: 1
|
|
944
|
-
}, 8, ["aria-label", "onClick"]))
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
921
|
+
}, 8, ["aria-label", "onClick"])), [
|
|
922
|
+
[k, n.cancelButtonLabel]
|
|
923
|
+
]) : h("", !0),
|
|
924
|
+
p(t.$slots, "sendButton", {}, () => [
|
|
925
|
+
i.showSend ? f((r(), d(g, {
|
|
926
|
+
key: 0,
|
|
927
|
+
"data-qa": "dt-recipe-message-input-send-btn",
|
|
928
|
+
size: "sm",
|
|
929
|
+
kind: "default",
|
|
930
|
+
importance: "primary",
|
|
931
|
+
class: oe([
|
|
932
|
+
"d-recipe-message-input__button d-recipe-message-input__send-button",
|
|
933
|
+
{
|
|
934
|
+
"d-recipe-message-input__send-button--disabled": n.isSendDisabled,
|
|
935
|
+
"d-btn--icon-only": n.showSendIcon
|
|
936
|
+
}
|
|
937
|
+
]),
|
|
938
|
+
"aria-label": n.sendButtonLabel,
|
|
939
|
+
"aria-disabled": n.isSendDisabled,
|
|
940
|
+
onClick: n.onSend
|
|
941
|
+
}, se({
|
|
942
|
+
default: a(() => [
|
|
943
|
+
i.showSend.text ? (r(), y("p", ve, T(i.showSend.text), 1)) : h("", !0)
|
|
944
|
+
]),
|
|
945
|
+
_: 2
|
|
946
|
+
}, [
|
|
947
|
+
n.showSendIcon ? {
|
|
948
|
+
name: "icon",
|
|
949
|
+
fn: a(() => [
|
|
950
|
+
p(t.$slots, "sendIcon", { iconSize: n.sendIconSize }, () => [
|
|
951
|
+
c(N, { size: n.sendIconSize }, null, 8, ["size"])
|
|
952
|
+
])
|
|
967
953
|
]),
|
|
968
|
-
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
c(A, { size: o.sendIconSize }, null, 8, ["size"])
|
|
975
|
-
])
|
|
976
|
-
]),
|
|
977
|
-
key: "0"
|
|
978
|
-
} : void 0
|
|
979
|
-
]), 1032, ["class", "aria-label", "aria-disabled", "onClick"])), [
|
|
980
|
-
[C, (l = i.showSend) == null ? void 0 : l.tooltipLabel, "top-end"]
|
|
981
|
-
]) : h("", !0)
|
|
982
|
-
];
|
|
983
|
-
})
|
|
954
|
+
key: "0"
|
|
955
|
+
} : void 0
|
|
956
|
+
]), 1032, ["class", "aria-label", "aria-disabled", "onClick"])), [
|
|
957
|
+
[k, n.sendButtonLabel, "top-end"]
|
|
958
|
+
]) : h("", !0)
|
|
959
|
+
])
|
|
984
960
|
]),
|
|
985
961
|
_: 3
|
|
986
962
|
})
|
|
@@ -988,8 +964,8 @@ function Pe(t, e, i, d, n, o) {
|
|
|
988
964
|
])
|
|
989
965
|
], 16);
|
|
990
966
|
}
|
|
991
|
-
const
|
|
967
|
+
const Ze = /* @__PURE__ */ v(ye, [["render", Pe]]);
|
|
992
968
|
export {
|
|
993
|
-
|
|
969
|
+
Ze as default
|
|
994
970
|
};
|
|
995
971
|
//# sourceMappingURL=message-input.js.map
|