@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.
Files changed (333) hide show
  1. package/README.md +9 -2
  2. package/dist/tokens/doc.json +24416 -24416
  3. package/dist/vue2/common/mixins/index.cjs +1 -1
  4. package/dist/vue2/common/mixins/index.js +10 -10
  5. package/dist/vue2/common/mixins/localization.cjs +2 -0
  6. package/dist/vue2/common/mixins/localization.cjs.map +1 -0
  7. package/dist/vue2/common/mixins/localization.js +10 -0
  8. package/dist/vue2/common/mixins/localization.js.map +1 -0
  9. package/dist/vue2/common/utils/index.cjs +1 -1
  10. package/dist/vue2/common/utils/index.cjs.map +1 -1
  11. package/dist/vue2/common/utils/index.js +43 -39
  12. package/dist/vue2/common/utils/index.js.map +1 -1
  13. package/dist/vue2/component-documentation.json +1 -1
  14. package/dist/vue2/dialtone-vue.cjs +1 -1
  15. package/dist/vue2/dialtone-vue.js +341 -340
  16. package/dist/vue2/dialtone-vue.js.map +1 -1
  17. package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs +1 -1
  18. package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
  19. package/dist/vue2/lib/attachment-carousel/attachment-carousel.js +61 -86
  20. package/dist/vue2/lib/attachment-carousel/attachment-carousel.js.map +1 -1
  21. package/dist/vue2/lib/banner/banner.cjs +2 -2
  22. package/dist/vue2/lib/banner/banner.cjs.map +1 -1
  23. package/dist/vue2/lib/banner/banner.js +25 -33
  24. package/dist/vue2/lib/banner/banner.js.map +1 -1
  25. package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs +1 -1
  26. package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
  27. package/dist/vue2/lib/breadcrumbs/breadcrumbs.js +14 -12
  28. package/dist/vue2/lib/breadcrumbs/breadcrumbs.js.map +1 -1
  29. package/dist/vue2/lib/button/button.cjs +1 -1
  30. package/dist/vue2/lib/button/button.cjs.map +1 -1
  31. package/dist/vue2/lib/button/button.js +11 -9
  32. package/dist/vue2/lib/button/button.js.map +1 -1
  33. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  34. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  35. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +19 -25
  36. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  37. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  38. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  39. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +18 -21
  40. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  41. package/dist/vue2/lib/chip/chip.cjs +1 -1
  42. package/dist/vue2/lib/chip/chip.cjs.map +1 -1
  43. package/dist/vue2/lib/chip/chip.js +24 -29
  44. package/dist/vue2/lib/chip/chip.js.map +1 -1
  45. package/dist/vue2/lib/combobox/combobox-constants.cjs +1 -1
  46. package/dist/vue2/lib/combobox/combobox-constants.cjs.map +1 -1
  47. package/dist/vue2/lib/combobox/combobox-constants.js +2 -2
  48. package/dist/vue2/lib/combobox/combobox-constants.js.map +1 -1
  49. package/dist/vue2/lib/combobox/combobox-empty-list.cjs.map +1 -1
  50. package/dist/vue2/lib/combobox/combobox-empty-list.js.map +1 -1
  51. package/dist/vue2/lib/combobox/combobox-loading-list.cjs.map +1 -1
  52. package/dist/vue2/lib/combobox/combobox-loading-list.js.map +1 -1
  53. package/dist/vue2/lib/combobox/combobox.cjs +2 -2
  54. package/dist/vue2/lib/combobox/combobox.cjs.map +1 -1
  55. package/dist/vue2/lib/combobox/combobox.js +12 -12
  56. package/dist/vue2/lib/combobox/combobox.js.map +1 -1
  57. package/dist/vue2/lib/combobox/index.cjs +1 -1
  58. package/dist/vue2/lib/combobox/index.js +3 -3
  59. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
  60. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
  61. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js +16 -18
  62. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
  63. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
  64. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
  65. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.js +22 -24
  66. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
  67. package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs +1 -1
  68. package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
  69. package/dist/vue2/lib/contact-centers-row/contact-centers-row.js +40 -36
  70. package/dist/vue2/lib/contact-centers-row/contact-centers-row.js.map +1 -1
  71. package/dist/vue2/lib/contact-row/contact-row.cjs +1 -1
  72. package/dist/vue2/lib/contact-row/contact-row.cjs.map +1 -1
  73. package/dist/vue2/lib/contact-row/contact-row.js +11 -25
  74. package/dist/vue2/lib/contact-row/contact-row.js.map +1 -1
  75. package/dist/vue2/lib/datepicker/datepicker-constants.cjs +1 -1
  76. package/dist/vue2/lib/datepicker/datepicker-constants.cjs.map +1 -1
  77. package/dist/vue2/lib/datepicker/datepicker-constants.js +2 -3
  78. package/dist/vue2/lib/datepicker/datepicker-constants.js.map +1 -1
  79. package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
  80. package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
  81. package/dist/vue2/lib/datepicker/datepicker.js +143 -229
  82. package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
  83. package/dist/vue2/lib/datepicker/utils.cjs +1 -1
  84. package/dist/vue2/lib/datepicker/utils.cjs.map +1 -1
  85. package/dist/vue2/lib/datepicker/utils.js +12 -11
  86. package/dist/vue2/lib/datepicker/utils.js.map +1 -1
  87. package/dist/vue2/lib/description-list/description-list.cjs +1 -1
  88. package/dist/vue2/lib/description-list/description-list.cjs.map +1 -1
  89. package/dist/vue2/lib/description-list/description-list.js +8 -8
  90. package/dist/vue2/lib/description-list/description-list.js.map +1 -1
  91. package/dist/vue2/lib/dropdown/dropdown.cjs +1 -1
  92. package/dist/vue2/lib/dropdown/dropdown.cjs.map +1 -1
  93. package/dist/vue2/lib/dropdown/dropdown.js +48 -50
  94. package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
  95. package/dist/vue2/lib/editor/editor.cjs +1 -1
  96. package/dist/vue2/lib/editor/editor.cjs.map +1 -1
  97. package/dist/vue2/lib/editor/editor.js +78 -87
  98. package/dist/vue2/lib/editor/editor.js.map +1 -1
  99. package/dist/vue2/lib/emoji-picker/emoji-picker-constants.cjs +1 -1
  100. package/dist/vue2/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
  101. package/dist/vue2/lib/emoji-picker/emoji-picker-constants.js +6 -19
  102. package/dist/vue2/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
  103. package/dist/vue2/lib/emoji-picker/emoji-picker.cjs +1 -1
  104. package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  105. package/dist/vue2/lib/emoji-picker/emoji-picker.js +106 -145
  106. package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
  107. package/dist/vue2/lib/emoji-picker/index.cjs +1 -1
  108. package/dist/vue2/lib/emoji-picker/index.js +6 -7
  109. package/dist/vue2/lib/emoji-row/emoji-row-constants.cjs +1 -1
  110. package/dist/vue2/lib/emoji-row/emoji-row-constants.cjs.map +1 -1
  111. package/dist/vue2/lib/emoji-row/emoji-row-constants.js +5 -7
  112. package/dist/vue2/lib/emoji-row/emoji-row-constants.js.map +1 -1
  113. package/dist/vue2/lib/emoji-row/emoji-row.cjs +1 -1
  114. package/dist/vue2/lib/emoji-row/emoji-row.cjs.map +1 -1
  115. package/dist/vue2/lib/emoji-row/emoji-row.js +31 -22
  116. package/dist/vue2/lib/emoji-row/emoji-row.js.map +1 -1
  117. package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs +1 -1
  118. package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
  119. package/dist/vue2/lib/feed-item-pill/feed-item-pill.js +20 -22
  120. package/dist/vue2/lib/feed-item-pill/feed-item-pill.js.map +1 -1
  121. package/dist/vue2/lib/general-row/general-row.cjs +1 -1
  122. package/dist/vue2/lib/general-row/general-row.cjs.map +1 -1
  123. package/dist/vue2/lib/general-row/general-row.js +63 -52
  124. package/dist/vue2/lib/general-row/general-row.js.map +1 -1
  125. package/dist/vue2/lib/group-row/group-row.cjs +1 -1
  126. package/dist/vue2/lib/group-row/group-row.cjs.map +1 -1
  127. package/dist/vue2/lib/group-row/group-row.js +43 -32
  128. package/dist/vue2/lib/group-row/group-row.js.map +1 -1
  129. package/dist/vue2/lib/icon/icon-constants.cjs.map +1 -1
  130. package/dist/vue2/lib/icon/icon-constants.js.map +1 -1
  131. package/dist/vue2/lib/icon/icon.cjs +1 -1
  132. package/dist/vue2/lib/icon/icon.cjs.map +1 -1
  133. package/dist/vue2/lib/icon/icon.js +12 -8
  134. package/dist/vue2/lib/icon/icon.js.map +1 -1
  135. package/dist/vue2/lib/image-viewer/image-viewer.cjs +1 -1
  136. package/dist/vue2/lib/image-viewer/image-viewer.cjs.map +1 -1
  137. package/dist/vue2/lib/image-viewer/image-viewer.js +30 -31
  138. package/dist/vue2/lib/image-viewer/image-viewer.js.map +1 -1
  139. package/dist/vue2/lib/ivr-node/ivr-node-constants.cjs +1 -1
  140. package/dist/vue2/lib/ivr-node/ivr-node-constants.cjs.map +1 -1
  141. package/dist/vue2/lib/ivr-node/ivr-node-constants.js +24 -24
  142. package/dist/vue2/lib/ivr-node/ivr-node-constants.js.map +1 -1
  143. package/dist/vue2/lib/ivr-node/ivr-node.cjs +1 -1
  144. package/dist/vue2/lib/ivr-node/ivr-node.cjs.map +1 -1
  145. package/dist/vue2/lib/ivr-node/ivr-node.js +38 -36
  146. package/dist/vue2/lib/ivr-node/ivr-node.js.map +1 -1
  147. package/dist/vue2/lib/message-input/message-input-link.cjs +1 -1
  148. package/dist/vue2/lib/message-input/message-input-link.cjs.map +1 -1
  149. package/dist/vue2/lib/message-input/message-input-link.js +48 -23
  150. package/dist/vue2/lib/message-input/message-input-link.js.map +1 -1
  151. package/dist/vue2/lib/message-input/message-input-topbar.cjs +1 -1
  152. package/dist/vue2/lib/message-input/message-input-topbar.cjs.map +1 -1
  153. package/dist/vue2/lib/message-input/message-input-topbar.js +50 -22
  154. package/dist/vue2/lib/message-input/message-input-topbar.js.map +1 -1
  155. package/dist/vue2/lib/message-input/message-input.cjs +1 -1
  156. package/dist/vue2/lib/message-input/message-input.cjs.map +1 -1
  157. package/dist/vue2/lib/message-input/message-input.js +112 -143
  158. package/dist/vue2/lib/message-input/message-input.js.map +1 -1
  159. package/dist/vue2/lib/modal/modal.cjs +1 -2
  160. package/dist/vue2/lib/modal/modal.cjs.map +1 -1
  161. package/dist/vue2/lib/modal/modal.js +25 -42
  162. package/dist/vue2/lib/modal/modal.js.map +1 -1
  163. package/dist/vue2/lib/notice/notice-action.cjs +1 -1
  164. package/dist/vue2/lib/notice/notice-action.cjs.map +1 -1
  165. package/dist/vue2/lib/notice/notice-action.js +19 -26
  166. package/dist/vue2/lib/notice/notice-action.js.map +1 -1
  167. package/dist/vue2/lib/notice/notice.cjs +1 -1
  168. package/dist/vue2/lib/notice/notice.cjs.map +1 -1
  169. package/dist/vue2/lib/notice/notice.js +18 -27
  170. package/dist/vue2/lib/notice/notice.js.map +1 -1
  171. package/dist/vue2/lib/pagination/pagination.cjs +1 -1
  172. package/dist/vue2/lib/pagination/pagination.cjs.map +1 -1
  173. package/dist/vue2/lib/pagination/pagination.js +49 -58
  174. package/dist/vue2/lib/pagination/pagination.js.map +1 -1
  175. package/dist/vue2/lib/popover/popover-header-footer.cjs +1 -1
  176. package/dist/vue2/lib/popover/popover-header-footer.cjs.map +1 -1
  177. package/dist/vue2/lib/popover/popover-header-footer.js +24 -26
  178. package/dist/vue2/lib/popover/popover-header-footer.js.map +1 -1
  179. package/dist/vue2/lib/popover/popover.cjs +1 -1
  180. package/dist/vue2/lib/popover/popover.cjs.map +1 -1
  181. package/dist/vue2/lib/popover/popover.js +26 -35
  182. package/dist/vue2/lib/popover/popover.js.map +1 -1
  183. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +5 -5
  184. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  185. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +330 -320
  186. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  187. package/dist/vue2/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
  188. package/dist/vue2/lib/settings-menu-button/settings-menu-button.js.map +1 -1
  189. package/dist/vue2/lib/time-pill/time-pill.cjs.map +1 -1
  190. package/dist/vue2/lib/time-pill/time-pill.js.map +1 -1
  191. package/dist/vue2/lib/toast/toast.cjs +1 -1
  192. package/dist/vue2/lib/toast/toast.cjs.map +1 -1
  193. package/dist/vue2/lib/toast/toast.js +64 -97
  194. package/dist/vue2/lib/toast/toast.js.map +1 -1
  195. package/dist/vue2/lib/unread-pill/unread-pill.cjs +1 -1
  196. package/dist/vue2/lib/unread-pill/unread-pill.cjs.map +1 -1
  197. package/dist/vue2/lib/unread-pill/unread-pill.js +27 -18
  198. package/dist/vue2/lib/unread-pill/unread-pill.js.map +1 -1
  199. package/dist/vue2/localization/en-US.cjs +185 -0
  200. package/dist/vue2/localization/en-US.cjs.map +1 -0
  201. package/dist/vue2/localization/en-US.js +188 -0
  202. package/dist/vue2/localization/en-US.js.map +1 -0
  203. package/dist/vue2/localization/es-LA.cjs +169 -0
  204. package/dist/vue2/localization/es-LA.cjs.map +1 -0
  205. package/dist/vue2/localization/es-LA.js +172 -0
  206. package/dist/vue2/localization/es-LA.js.map +1 -0
  207. package/dist/vue2/localization/index.cjs +1176 -0
  208. package/dist/vue2/localization/index.cjs.map +1 -0
  209. package/dist/vue2/localization/index.js +1239 -0
  210. package/dist/vue2/localization/index.js.map +1 -0
  211. package/dist/vue2/node_modules/@tiptap/vue-2.cjs.map +1 -1
  212. package/dist/vue2/node_modules/@tiptap/vue-2.js.map +1 -1
  213. package/dist/vue2/shared/sr_only_close_button.cjs +1 -1
  214. package/dist/vue2/shared/sr_only_close_button.cjs.map +1 -1
  215. package/dist/vue2/shared/sr_only_close_button.js +19 -22
  216. package/dist/vue2/shared/sr_only_close_button.js.map +1 -1
  217. package/dist/vue2/types/common/mixins/index.d.ts +1 -1
  218. package/dist/vue2/types/common/mixins/localization.d.ts +8 -0
  219. package/dist/vue2/types/common/mixins/localization.d.ts.map +1 -0
  220. package/dist/vue2/types/common/sr_only_close_button.vue.d.ts +7 -13
  221. package/dist/vue2/types/common/sr_only_close_button.vue.d.ts.map +1 -1
  222. package/dist/vue2/types/common/utils/index.d.ts +1 -0
  223. package/dist/vue2/types/common/utils/index.d.ts.map +1 -1
  224. package/dist/vue2/types/components/banner/banner.vue.d.ts +0 -33
  225. package/dist/vue2/types/components/banner/banner.vue.d.ts.map +1 -1
  226. package/dist/vue2/types/components/breadcrumbs/breadcrumbs.vue.d.ts +5 -1
  227. package/dist/vue2/types/components/button/button.vue.d.ts +6 -2
  228. package/dist/vue2/types/components/chip/chip.vue.d.ts +8 -18
  229. package/dist/vue2/types/components/combobox/combobox_constants.d.ts +2 -2
  230. package/dist/vue2/types/components/combobox/index.d.ts +1 -1
  231. package/dist/vue2/types/components/datepicker/datepicker.vue.d.ts.map +1 -1
  232. package/dist/vue2/types/components/datepicker/datepicker_constants.d.ts +0 -1
  233. package/dist/vue2/types/components/datepicker/datepicker_constants.d.ts.map +1 -1
  234. package/dist/vue2/types/components/datepicker/modules/calendar.vue.d.ts +5 -17
  235. package/dist/vue2/types/components/datepicker/modules/month-year-picker.vue.d.ts +8 -48
  236. package/dist/vue2/types/components/datepicker/utils.d.ts +1 -0
  237. package/dist/vue2/types/components/datepicker/utils.d.ts.map +1 -1
  238. package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts +0 -24
  239. package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
  240. package/dist/vue2/types/components/emoji_picker/emoji_picker.vue.d.ts +5 -1
  241. package/dist/vue2/types/components/emoji_picker/emoji_picker_constants.d.ts +0 -13
  242. package/dist/vue2/types/components/icon/icon.vue.d.ts +1 -0
  243. package/dist/vue2/types/components/icon/icon_constants.d.ts.map +1 -1
  244. package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts +5 -8
  245. package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  246. package/dist/vue2/types/components/modal/modal.vue.d.ts +3 -33
  247. package/dist/vue2/types/components/notice/notice.vue.d.ts +1 -34
  248. package/dist/vue2/types/components/notice/notice.vue.d.ts.map +1 -1
  249. package/dist/vue2/types/components/notice/notice_action.vue.d.ts +3 -31
  250. package/dist/vue2/types/components/notice/notice_action.vue.d.ts.map +1 -1
  251. package/dist/vue2/types/components/pagination/pagination.vue.d.ts +9 -26
  252. package/dist/vue2/types/components/pagination/pagination.vue.d.ts.map +1 -1
  253. package/dist/vue2/types/components/popover/popover.vue.d.ts +0 -33
  254. package/dist/vue2/types/components/popover/popover.vue.d.ts.map +1 -1
  255. package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts +8 -11
  256. package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
  257. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +15 -2
  258. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  259. package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +1 -43
  260. package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
  261. package/dist/vue2/types/components/toast/layouts/toast_layout_default.vue.d.ts +1 -34
  262. package/dist/vue2/types/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -1
  263. package/dist/vue2/types/components/toast/toast.vue.d.ts +3 -111
  264. package/dist/vue2/types/components/toast/toast.vue.d.ts.map +1 -1
  265. package/dist/vue2/types/index.d.ts +1 -0
  266. package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +7 -13
  267. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +7 -12
  268. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +8 -10
  269. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  270. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +7 -7
  271. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node_constants.d.ts.map +1 -1
  272. package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +1 -25
  273. package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  274. package/dist/vue2/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -25
  275. package/dist/vue2/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
  276. package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +5 -41
  277. package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
  278. package/dist/vue2/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +8 -26
  279. package/dist/vue2/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +2 -2
  280. package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts +20 -61
  281. package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  282. package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +6 -1
  283. package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row_constants.d.ts.map +1 -1
  284. package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +9 -12
  285. package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
  286. package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +8 -2
  287. package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
  288. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +15 -90
  289. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  290. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +14 -2
  291. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +14 -1
  292. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
  293. package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +10 -11
  294. package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
  295. package/dist/vue2/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +0 -18
  296. package/dist/vue2/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
  297. package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +21 -37
  298. package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  299. package/dist/vue2/types/recipes/leftbar/group_row/group_row.vue.d.ts +9 -18
  300. package/dist/vue2/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
  301. package/dist/vue2/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +7 -1
  302. package/dist/vue2/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
  303. package/package.json +4 -3
  304. package/dist/vue2/common/mixins/sr-only-close-button.cjs +0 -3
  305. package/dist/vue2/common/mixins/sr-only-close-button.cjs.map +0 -1
  306. package/dist/vue2/common/mixins/sr-only-close-button.js +0 -44
  307. package/dist/vue2/common/mixins/sr-only-close-button.js.map +0 -1
  308. package/dist/vue2/lib/contact-row/contact-row-constants.cjs +0 -2
  309. package/dist/vue2/lib/contact-row/contact-row-constants.cjs.map +0 -1
  310. package/dist/vue2/lib/contact-row/contact-row-constants.js +0 -5
  311. package/dist/vue2/lib/contact-row/contact-row-constants.js.map +0 -1
  312. package/dist/vue2/lib/emoji/emoji-constants.cjs +0 -2
  313. package/dist/vue2/lib/emoji/emoji-constants.cjs.map +0 -1
  314. package/dist/vue2/lib/emoji/emoji-constants.js +0 -5
  315. package/dist/vue2/lib/emoji/emoji-constants.js.map +0 -1
  316. package/dist/vue2/lib/group-row/group-row-constants.cjs +0 -2
  317. package/dist/vue2/lib/group-row/group-row-constants.cjs.map +0 -1
  318. package/dist/vue2/lib/group-row/group-row-constants.js +0 -8
  319. package/dist/vue2/lib/group-row/group-row-constants.js.map +0 -1
  320. package/dist/vue2/lib/time-pill/time-pill-constants.cjs +0 -2
  321. package/dist/vue2/lib/time-pill/time-pill-constants.cjs.map +0 -1
  322. package/dist/vue2/lib/time-pill/time-pill-constants.js +0 -8
  323. package/dist/vue2/lib/time-pill/time-pill-constants.js.map +0 -1
  324. package/dist/vue2/types/common/mixins/sr_only_close_button.d.ts +0 -30
  325. package/dist/vue2/types/common/mixins/sr_only_close_button.d.ts.map +0 -1
  326. package/dist/vue2/types/components/emoji/emoji_constants.d.ts +0 -3
  327. package/dist/vue2/types/components/emoji/emoji_constants.d.ts.map +0 -1
  328. package/dist/vue2/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts +0 -6
  329. package/dist/vue2/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts.map +0 -1
  330. package/dist/vue2/types/recipes/leftbar/contact_row/contact_row_constants.d.ts +0 -3
  331. package/dist/vue2/types/recipes/leftbar/contact_row/contact_row_constants.d.ts.map +0 -1
  332. package/dist/vue2/types/recipes/leftbar/group_row/group_row_constants.d.ts +0 -6
  333. package/dist/vue2/types/recipes/leftbar/group_row/group_row_constants.d.ts.map +0 -1
@@ -2,63 +2,69 @@ import l from "./last-active-nodes.js";
2
2
  import { Node as c, mergeAttributes as u } from "@tiptap/core";
3
3
  import { NodeViewWrapper as d, nodeViewProps as p, VueNodeViewRenderer as m } from "../../node_modules/@tiptap/vue-2.js";
4
4
  import { DtIconClose as h, DtIconVideo as f, DtIconImage as g, DtIconVerySatisfied as b, DtIconSatisfied as k, DtIconSend as _ } from "@dialpad/dialtone-icons/vue2";
5
- import { n as a } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
6
- import x from "../item-layout/item-layout.js";
7
- import r from "../button/button.js";
8
- import T from "./message-input-topbar.js";
9
- import v from "./message-input-link.js";
10
- import { EDITOR_SUPPORTED_LINK_PROTOCOLS as L, EDITOR_DEFAULT_LINK_PREFIX as y } from "../editor/editor-constants.js";
11
- import S from "../emoji-picker/emoji-picker.js";
12
- import w from "../input/input.js";
13
- import O from "../popover/popover.js";
14
- import I from "../rich-text-editor/rich-text-editor.js";
15
- import C from "../tooltip/tooltip.js";
16
- import j from "../stack/stack.js";
17
- import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as B, RICH_TEXT_EDITOR_OUTPUT_FORMATS as P } from "../rich-text-editor/rich-text-editor-constants.js";
18
- const D = {
5
+ import { n as s } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
6
+ import T from "../item-layout/item-layout.js";
7
+ import a from "../button/button.js";
8
+ import r from "../../common/mixins/localization.js";
9
+ import v from "./message-input-topbar.js";
10
+ import L from "./message-input-link.js";
11
+ import { EDITOR_SUPPORTED_LINK_PROTOCOLS as S, EDITOR_DEFAULT_LINK_PREFIX as x } from "../editor/editor-constants.js";
12
+ import y from "../emoji-picker/emoji-picker.js";
13
+ import O from "../input/input.js";
14
+ import I from "../popover/popover.js";
15
+ import B from "../rich-text-editor/rich-text-editor.js";
16
+ import E from "../tooltip/tooltip.js";
17
+ import P from "../stack/stack.js";
18
+ import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as w, RICH_TEXT_EDITOR_OUTPUT_FORMATS as C } from "../rich-text-editor/rich-text-editor-constants.js";
19
+ const j = {
19
20
  name: "MeetingPill",
20
21
  components: {
21
22
  NodeViewWrapper: d,
22
- DtItemLayout: x,
23
+ DtItemLayout: T,
23
24
  DtIconClose: h,
24
- DtButton: r,
25
+ DtButton: a,
25
26
  DtIconVideo: f
26
27
  },
28
+ mixins: [r],
27
29
  props: p,
28
30
  emits: ["meeting-pill-close"],
31
+ computed: {
32
+ closeButtonTitle() {
33
+ return this.i18n.$t("DIALTONE_CLOSE_BUTTON");
34
+ }
35
+ },
29
36
  methods: {
30
37
  close(t) {
31
38
  this.$parent.$emit("meeting-pill-close", t);
32
39
  }
33
40
  }
34
41
  };
35
- var $ = function() {
42
+ var D = function() {
36
43
  var e = this, i = e._self._c;
37
44
  return i("node-view-wrapper", { staticClass: "d-recipe-message-input-meeting-pill" }, [i("dt-item-layout", { staticClass: "d-recipe-message-input-meeting-pill__layout", attrs: { unstyled: "" }, scopedSlots: e._u([{ key: "left", fn: function() {
38
45
  return [i("div", { staticClass: "d-recipe-message-input-meeting-pill__icon" }, [i("dt-icon-video", { attrs: { size: "400" } })], 1)];
39
46
  }, proxy: !0 }, { key: "right", fn: function() {
40
- return [i("div", { staticClass: "d-recipe-message-input-meeting-pill__close" }, [i("dt-button", { attrs: { circle: "", "aria-label": e.node.attrs["close-button-aria-label"], size: "xs", importance: "clear" }, on: { click: e.close }, scopedSlots: e._u([{ key: "icon", fn: function() {
47
+ return [i("div", { staticClass: "d-recipe-message-input-meeting-pill__close" }, [i("dt-button", { attrs: { circle: "", importance: "clear", size: "xs", "aria-label": e.closeButtonTitle, title: e.closeButtonTitle }, on: { click: e.close }, scopedSlots: e._u([{ key: "icon", fn: function() {
41
48
  return [i("dt-icon-close", { attrs: { size: "300" } })];
42
49
  }, proxy: !0 }]) })], 1)];
43
50
  }, proxy: !0 }]) }, [e._v(" " + e._s(e.node.attrs.text) + " ")])], 1);
44
- }, E = [], M = /* @__PURE__ */ a(
51
+ }, $ = [], A = /* @__PURE__ */ s(
52
+ j,
45
53
  D,
46
- $,
47
- E
54
+ $
48
55
  );
49
- const F = M.exports, A = c.create({
56
+ const M = A.exports, N = c.create({
50
57
  atom: !0,
51
58
  group: "inline",
52
59
  inline: !0,
53
60
  addNodeView() {
54
- return m(F);
61
+ return m(M);
55
62
  },
56
63
  addAttributes() {
57
64
  return {
58
65
  text: {
59
66
  default: 'Please pass in "text" attribute'
60
- },
61
- "close-button-aria-label": {}
67
+ }
62
68
  };
63
69
  },
64
70
  parseHTML() {
@@ -74,24 +80,24 @@ const F = M.exports, A = c.create({
74
80
  renderHTML({ HTMLAttributes: t }) {
75
81
  return ["meeting-pill", u(t)];
76
82
  }
77
- }), R = {
83
+ }), F = {
78
84
  name: "DtRecipeMessageInput",
79
85
  components: {
80
- DtButton: r,
81
- DtEmojiPicker: S,
82
- DtInput: w,
83
- DtPopover: O,
84
- DtRecipeMessageInputTopbar: T,
85
- DtRecipeMessageInputLink: v,
86
- DtRichTextEditor: I,
87
- DtTooltip: C,
88
- DtStack: j,
86
+ DtButton: a,
87
+ DtEmojiPicker: y,
88
+ DtInput: O,
89
+ DtPopover: I,
90
+ DtRecipeMessageInputTopbar: v,
91
+ DtRecipeMessageInputLink: L,
92
+ DtRichTextEditor: B,
93
+ DtTooltip: E,
94
+ DtStack: P,
89
95
  DtIconImage: g,
90
96
  DtIconVerySatisfied: b,
91
97
  DtIconSatisfied: k,
92
98
  DtIconSend: _
93
99
  },
94
- mixins: [],
100
+ mixins: [r],
95
101
  inheritAttrs: !1,
96
102
  props: {
97
103
  /**
@@ -160,7 +166,7 @@ const F = M.exports, A = c.create({
160
166
  type: [Boolean, String, Number],
161
167
  default: !1,
162
168
  validator(t) {
163
- return typeof t == "string" ? B.includes(t) : !0;
169
+ return typeof t == "string" ? w.includes(t) : !0;
164
170
  }
165
171
  },
166
172
  /**
@@ -173,7 +179,7 @@ const F = M.exports, A = c.create({
173
179
  type: String,
174
180
  default: "json",
175
181
  validator(t) {
176
- return P.includes(t);
182
+ return C.includes(t);
177
183
  }
178
184
  },
179
185
  /**
@@ -208,31 +214,7 @@ const F = M.exports, A = c.create({
208
214
  */
209
215
  emojiPickerProps: {
210
216
  type: Object,
211
- default: () => ({}),
212
- validate(t) {
213
- return [
214
- "searchNoResultsLabel",
215
- "searchResultsLabel",
216
- "searchPlaceholderLabel",
217
- "skinSelectorButtonTooltipLabel",
218
- "tabSetLabels"
219
- ].every((e) => t[e] != null);
220
- }
221
- },
222
- /**
223
- * Emoji button tooltip label
224
- */
225
- emojiTooltipMessage: {
226
- type: String,
227
- default: "Emoji"
228
- },
229
- // Aria label for buttons
230
- /**
231
- * Emoji button aria label
232
- */
233
- emojiButtonAriaLabel: {
234
- type: String,
235
- default: "emoji button"
217
+ default: () => ({})
236
218
  },
237
219
  /**
238
220
  * Enable character Limit warning
@@ -243,21 +225,28 @@ const F = M.exports, A = c.create({
243
225
  },
244
226
  showImagePicker: {
245
227
  type: [Boolean, Object],
246
- default: () => ({ tooltipLabel: "Attach Image", ariaLabel: "image button" })
228
+ default: () => ({})
247
229
  },
248
230
  /**
249
231
  * Send button defaults.
232
+ * TODO (Dialtone 10):
233
+ * - Change to `showSendButton`, boolean only.
250
234
  */
251
235
  showSend: {
252
236
  type: [Boolean, Object],
253
237
  default: () => ({})
254
238
  },
239
+ /**
240
+ * TODO (Dialtone 10):
241
+ * - Add a prop `iconOnly` default: true to control if localized send button text should be shown
242
+ */
255
243
  /**
256
244
  * Cancel button defaults.
245
+ * TODO (Dialtone 10): Change to `showCancelButton`, boolean only.
257
246
  */
258
247
  showCancel: {
259
248
  type: [Boolean, Object],
260
- default: () => ({ text: "Cancel" })
249
+ default: () => ({})
261
250
  },
262
251
  /**
263
252
  * suggestion object containing the items query function.
@@ -310,13 +299,11 @@ const F = M.exports, A = c.create({
310
299
  * descriptive text fields for the bold button
311
300
  *
312
301
  * object format:
313
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
302
+ * { keyboardShortcutText: string }
314
303
  */
315
304
  boldButtonOptions: {
316
305
  type: Object,
317
306
  default: () => ({
318
- ariaLabel: "Toggle bold on selected text",
319
- tooltipText: "Bold",
320
307
  keyboardShortcutText: "Mod + B"
321
308
  })
322
309
  },
@@ -324,13 +311,11 @@ const F = M.exports, A = c.create({
324
311
  * descriptive text fields for the italic button
325
312
  *
326
313
  * object format:
327
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
314
+ * { keyboardShortcutText: string }
328
315
  */
329
316
  italicButtonOptions: {
330
317
  type: Object,
331
318
  default: () => ({
332
- ariaLabel: "Toggle italic on selected text",
333
- tooltipText: "Italic",
334
319
  keyboardShortcutText: "Mod + I"
335
320
  })
336
321
  },
@@ -338,13 +323,11 @@ const F = M.exports, A = c.create({
338
323
  * descriptive text fields for the strikethrough button
339
324
  *
340
325
  * object format:
341
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
326
+ * { keyboardShortcutText: string }
342
327
  */
343
328
  strikeButtonOptions: {
344
329
  type: Object,
345
330
  default: () => ({
346
- ariaLabel: "Toggle strikethrough on selected text",
347
- tooltipText: "Strikethrough",
348
331
  keyboardShortcutText: "Mod + Shift + S"
349
332
  })
350
333
  },
@@ -352,36 +335,25 @@ const F = M.exports, A = c.create({
352
335
  * descriptive text fields for the link button
353
336
  *
354
337
  * object format:
355
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
338
+ * { keyboardShortcutText: string }
356
339
  */
357
340
  linkButtonOptions: {
358
341
  type: Object,
359
342
  default: () => ({
360
- ariaLabel: "Create or edit link on selected text",
361
- tooltipText: "Link",
362
343
  // TODO: implement mod k
363
344
  keyboardShortcutText: "Mod + K",
364
- dialogTitle: "Add a link",
365
- textLabel: "Text to display (optional)",
366
- linkLabel: "Link",
367
- linkPlaceholder: "e.g. https://www.dialpad.com",
368
- removeLabel: "Remove",
369
- cancelLabel: "Cancel",
370
- confirmLabel: "Done",
371
- visuallyHiddenCloseText: "Close link dialog"
345
+ linkPlaceholder: "e.g. https://www.dialpad.com"
372
346
  })
373
347
  },
374
348
  /**
375
349
  * descriptive text fields for the bullet list button
376
350
  *
377
351
  * object format:
378
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
352
+ * { keyboardShortcutText: string }
379
353
  */
380
354
  bulletListButtonOptions: {
381
355
  type: Object,
382
356
  default: () => ({
383
- ariaLabel: "Toggle bullet list on selected text",
384
- tooltipText: "Bullet list",
385
357
  keyboardShortcutText: "Mod + Shift + 8"
386
358
  })
387
359
  },
@@ -389,13 +361,11 @@ const F = M.exports, A = c.create({
389
361
  * descriptive text fields for the ordered list button
390
362
  *
391
363
  * object format:
392
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
364
+ * { keyboardShortcutText: string }
393
365
  */
394
366
  orderedListButtonOptions: {
395
367
  type: Object,
396
368
  default: () => ({
397
- ariaLabel: "Toggle ordered list on selected text",
398
- tooltipText: "Ordered list",
399
369
  keyboardShortcutText: "Mod + Shift + 7"
400
370
  })
401
371
  },
@@ -403,13 +373,11 @@ const F = M.exports, A = c.create({
403
373
  * descriptive text fields for the italic button
404
374
  *
405
375
  * object format:
406
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
376
+ * { keyboardShortcutText: string }
407
377
  */
408
378
  blockQuoteButtonOptions: {
409
379
  type: Object,
410
380
  default: () => ({
411
- ariaLabel: "Toggle Blockquote on selected text",
412
- tooltipText: "Blockquote",
413
381
  keyboardShortcutText: "Mod + Shift + B"
414
382
  })
415
383
  },
@@ -417,13 +385,11 @@ const F = M.exports, A = c.create({
417
385
  * descriptive text fields for the code button
418
386
  *
419
387
  * object format:
420
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
388
+ * { keyboardShortcutText: string }
421
389
  */
422
390
  codeButtonOptions: {
423
391
  type: Object,
424
392
  default: () => ({
425
- ariaLabel: "Toggle code tag on selected text",
426
- tooltipText: "Code",
427
393
  keyboardShortcutText: "Mod + E"
428
394
  })
429
395
  },
@@ -431,13 +397,11 @@ const F = M.exports, A = c.create({
431
397
  * descriptive text fields for the code block button
432
398
  *
433
399
  * object format:
434
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
400
+ * { keyboardShortcutText: string }
435
401
  */
436
402
  codeBlockButtonOptions: {
437
403
  type: Object,
438
404
  default: () => ({
439
- ariaLabel: "Toggle code block on selected text",
440
- tooltipText: "Code block",
441
405
  keyboardShortcutText: "Mod + Alt + C"
442
406
  })
443
407
  }
@@ -530,7 +494,7 @@ const F = M.exports, A = c.create({
530
494
  // If an ordered list is nested within an unordered list, we only want to show the currently selected list as
531
495
  // active. This function performs the logic to determine the farthest active node from the root.
532
496
  lastActiveNodes: l,
533
- additionalExtensions: [A],
497
+ additionalExtensions: [N],
534
498
  internalInputValue: this.value,
535
499
  // internal input content
536
500
  imagePickerFocus: !1,
@@ -562,16 +526,23 @@ const F = M.exports, A = c.create({
562
526
  isSendDisabled() {
563
527
  return this.disableSend || this.showCharacterLimit && this.inputLength > this.showCharacterLimit.count;
564
528
  },
565
- computedCloseButtonProps() {
566
- return {
567
- ariaLabel: "Close"
568
- };
569
- },
570
529
  emojiPickerHovered() {
571
530
  return this.emojiPickerFocus || this.emojiPickerOpened;
572
531
  },
573
532
  sendIconSize() {
574
533
  return "300";
534
+ },
535
+ sendButtonLabel() {
536
+ return this.i18n.$t("DIALTONE_MESSAGE_INPUT_SEND_BUTTON_ARIA_LABEL");
537
+ },
538
+ imagePickerButtonLabel() {
539
+ return this.i18n.$t("DIALTONE_MESSAGE_INPUT_IMAGE_PICKER_BUTTON_ARIA_LABEL");
540
+ },
541
+ emojiPickerButtonLabel() {
542
+ return this.i18n.$t("DIALTONE_MESSAGE_INPUT_EMOJI_PICKER_BUTTON_ARIA_LABEL");
543
+ },
544
+ cancelButtonLabel() {
545
+ return this.i18n.$t("DIALTONE_MESSAGE_INPUT_CANCEL_BUTTON_ARIA_LABEL");
575
546
  }
576
547
  },
577
548
  watch: {
@@ -624,8 +595,8 @@ const F = M.exports, A = c.create({
624
595
  e,
625
596
  t,
626
597
  this.linkOptions,
627
- L,
628
- y
598
+ S,
599
+ x
629
600
  ), this.linkDialogOpen = !1;
630
601
  },
631
602
  // Mousedown instead of click because it fires before the blur event.
@@ -677,72 +648,70 @@ const F = M.exports, A = c.create({
677
648
  }
678
649
  }
679
650
  };
680
- var q = function() {
681
- var n;
651
+ var R = function() {
682
652
  var e = this, i = e._self._c;
683
- return i("div", { staticClass: "d-recipe-message-input", attrs: { "data-qa": "dt-recipe-message-input", role: "presentation" }, on: { dragover: function(o) {
684
- o.preventDefault();
685
- }, drop: function(o) {
686
- return o.preventDefault(), e.onDrop.apply(null, arguments);
653
+ return i("div", { staticClass: "d-recipe-message-input", attrs: { "data-qa": "dt-recipe-message-input", role: "presentation" }, on: { dragover: function(n) {
654
+ n.preventDefault();
655
+ }, drop: function(n) {
656
+ return n.preventDefault(), e.onDrop.apply(null, arguments);
687
657
  }, paste: e.onPaste, mousedown: e.onMousedown } }, [e._t("top"), e.richText ? i("dt-recipe-message-input-topbar", { key: e.selectedText, attrs: { "bold-button-options": e.boldButtonOptions, "italic-button-options": e.italicButtonOptions, "strike-button-options": e.strikeButtonOptions, "bullet-list-button-options": e.bulletListButtonOptions, "ordered-list-button-options": e.orderedListButtonOptions, "block-quote-button-options": e.blockQuoteButtonOptions, "code-button-options": e.codeButtonOptions, "code-block-button-options": e.codeBlockButtonOptions, "is-selection-active": e.isSelectionActive }, on: { click: e.handleTopbarClick }, scopedSlots: e._u([{ key: "link", fn: function() {
688
658
  return [i("dt-recipe-message-input-link", { ref: "link", attrs: { open: e.linkDialogOpen, "link-button-options": e.linkButtonOptions, "is-selection-active": e.isSelectionActive }, on: { opened: e.linkDialogOpened, "set-link": e.setLink, "remove-link": e.removeLink } })];
689
- }, proxy: !0 }], null, !1, 1527282285) }) : e._e(), i("div", { directives: [{ name: "dt-scrollbar", rawName: "v-dt-scrollbar" }], staticClass: "d-recipe-message-input__editor-wrapper", style: { "max-height": e.maxHeight } }, [i("dt-rich-text-editor", e._g(e._b({ ref: "richTextEditor", attrs: { editable: e.editable, "input-aria-label": e.inputAriaLabel, "input-class": e.inputClass, "output-format": e.outputFormat, "auto-focus": e.autoFocus, link: e.richText, placeholder: e.placeholder, "prevent-typing": e.preventTyping, "mention-suggestion": e.mentionSuggestion, "channel-suggestion": e.channelSuggestion, "slash-command-suggestion": e.slashCommandSuggestion, "allow-blockquote": e.richText, "allow-bold": e.richText, "allow-bullet-list": e.richText, "allow-code": e.richText, "allow-codeblock": e.richText, "allow-italic": e.richText, "allow-strike": e.richText, "allow-underline": e.richText, "additional-extensions": e.additionalExtensions, "hide-link-bubble-menu": e.hideLinkBubbleMenu }, on: { input: e.onInput, "text-input": e.onTextInput, enter: e.onSend, selected: function(o) {
690
- e.selectedText = o;
691
- }, "edit-link": e.initLinkDialog, focus: function(o) {
659
+ }, proxy: !0 }], null, !1, 1527282285) }) : e._e(), i("div", { directives: [{ name: "dt-scrollbar", rawName: "v-dt-scrollbar" }], staticClass: "d-recipe-message-input__editor-wrapper", style: { "max-height": e.maxHeight } }, [i("dt-rich-text-editor", e._g(e._b({ ref: "richTextEditor", attrs: { editable: e.editable, "input-aria-label": e.inputAriaLabel, "input-class": e.inputClass, "output-format": e.outputFormat, "auto-focus": e.autoFocus, link: e.richText, placeholder: e.placeholder, "prevent-typing": e.preventTyping, "mention-suggestion": e.mentionSuggestion, "channel-suggestion": e.channelSuggestion, "slash-command-suggestion": e.slashCommandSuggestion, "paste-rich-text": e.richText, "allow-blockquote": e.richText, "allow-bold": e.richText, "allow-bullet-list": e.richText, "allow-code": e.richText, "allow-codeblock": e.richText, "allow-italic": e.richText, "allow-strike": e.richText, "allow-underline": e.richText, "additional-extensions": e.additionalExtensions, "hide-link-bubble-menu": e.hideLinkBubbleMenu }, on: { input: e.onInput, "text-input": e.onTextInput, enter: e.onSend, selected: function(n) {
660
+ e.selectedText = n;
661
+ }, "edit-link": e.initLinkDialog, focus: function(n) {
692
662
  e.isFocused = !0;
693
- }, blur: function(o) {
663
+ }, blur: function(n) {
694
664
  e.isFocused = !1;
695
- } }, model: { value: e.internalInputValue, callback: function(o) {
696
- e.internalInputValue = o;
697
- }, expression: "internalInputValue" } }, "dt-rich-text-editor", e.$attrs, !1), e.$listeners))], 1), e._t("middle"), i("section", { staticClass: "d-recipe-message-input__bottom-section" }, [i("div", { staticClass: "d-recipe-message-input__bottom-section-left" }, [i("dt-stack", { attrs: { direction: "row", gap: "200" } }, [e.showImagePicker ? i("dt-button", { directives: [{ name: "dt-tooltip", rawName: "v-dt-tooltip:top-start", value: (n = e.showImagePicker) == null ? void 0 : n.tooltipLabel, expression: "showImagePicker?.tooltipLabel", arg: "top-start" }], staticClass: "d-recipe-message-input__button", attrs: { "data-qa": "dt-recipe-message-input-image-btn", size: "sm", kind: "muted", importance: "clear", "aria-label": e.showImagePicker.ariaLabel }, on: { click: e.onSelectImage, mouseenter: function(o) {
665
+ } }, model: { value: e.internalInputValue, callback: function(n) {
666
+ e.internalInputValue = n;
667
+ }, expression: "internalInputValue" } }, "dt-rich-text-editor", e.$attrs, !1), e.$listeners))], 1), e._t("middle"), i("section", { staticClass: "d-recipe-message-input__bottom-section" }, [i("div", { staticClass: "d-recipe-message-input__bottom-section-left" }, [i("dt-stack", { attrs: { direction: "row", gap: "200" } }, [e.showImagePicker ? i("dt-button", { directives: [{ name: "dt-tooltip", rawName: "v-dt-tooltip:top-start", value: e.imagePickerButtonLabel, expression: "imagePickerButtonLabel", arg: "top-start" }], staticClass: "d-recipe-message-input__button", attrs: { "data-qa": "dt-recipe-message-input-image-btn", size: "sm", kind: "muted", importance: "clear", "aria-label": e.imagePickerButtonLabel }, on: { click: e.onSelectImage, mouseenter: function(n) {
698
668
  e.imagePickerFocus = !0;
699
- }, mouseleave: function(o) {
669
+ }, mouseleave: function(n) {
700
670
  e.imagePickerFocus = !1;
701
- }, focus: function(o) {
671
+ }, focus: function(n) {
702
672
  e.imagePickerFocus = !0;
703
- }, blur: function(o) {
673
+ }, blur: function(n) {
704
674
  e.imagePickerFocus = !1;
705
675
  } }, scopedSlots: e._u([{ key: "icon", fn: function() {
706
676
  return [i("dt-icon-image", { attrs: { size: "300" } })];
707
- }, proxy: !0 }], null, !1, 4195307205) }) : e._e(), i("dt-input", { ref: "messageInputImageUpload", staticClass: "d-recipe-message-input__image-input", attrs: { "data-qa": "dt-recipe-message-input-image-input", accept: "image/*, video/*", type: "file", multiple: "", hidden: "" }, on: { input: e.onImageUpload } }), e.showEmojiPicker ? i("dt-popover", { attrs: { "open.sync": "emojiPickerOpened", "data-qa": "dt-recipe-message-input-emoji-picker-popover", "initial-focus-element": "#searchInput", padding: "none" }, scopedSlots: e._u([{ key: "anchor", fn: function({ attrs: o }) {
708
- return [i("dt-button", e._b({ directives: [{ name: "dt-tooltip", rawName: "v-dt-tooltip", value: e.emojiTooltipMessage, expression: "emojiTooltipMessage" }], staticClass: "d-recipe-message-input__button", attrs: { "data-qa": "dt-recipe-message-input-emoji-picker-btn", size: "sm", kind: "muted", importance: "clear", "aria-label": e.emojiButtonAriaLabel }, on: { click: e.toggleEmojiPicker, mouseenter: function(s) {
677
+ }, proxy: !0 }], null, !1, 4195307205) }) : e._e(), i("dt-input", { ref: "messageInputImageUpload", staticClass: "d-recipe-message-input__image-input", attrs: { "data-qa": "dt-recipe-message-input-image-input", accept: "image/*, video/*", type: "file", multiple: "", hidden: "" }, on: { input: e.onImageUpload } }), e.showEmojiPicker ? i("dt-popover", { attrs: { "open.sync": "emojiPickerOpened", "data-qa": "dt-recipe-message-input-emoji-picker-popover", "initial-focus-element": "#searchInput", padding: "none" }, scopedSlots: e._u([{ key: "anchor", fn: function({ attrs: n }) {
678
+ return [i("dt-button", e._b({ directives: [{ name: "dt-tooltip", rawName: "v-dt-tooltip", value: e.emojiPickerButtonLabel, expression: "emojiPickerButtonLabel" }], staticClass: "d-recipe-message-input__button", attrs: { "data-qa": "dt-recipe-message-input-emoji-picker-btn", size: "sm", kind: "muted", importance: "clear", "aria-label": e.emojiPickerButtonLabel }, on: { click: e.toggleEmojiPicker, mouseenter: function(o) {
709
679
  e.emojiPickerFocus = !0;
710
- }, mouseleave: function(s) {
680
+ }, mouseleave: function(o) {
711
681
  e.emojiPickerFocus = !1;
712
- }, focus: function(s) {
682
+ }, focus: function(o) {
713
683
  e.emojiPickerFocus = !0;
714
- }, blur: function(s) {
684
+ }, blur: function(o) {
715
685
  e.emojiPickerFocus = !1;
716
686
  } }, scopedSlots: e._u([{ key: "icon", fn: function() {
717
687
  return [e.emojiPickerHovered ? i("dt-icon-very-satisfied", { attrs: { size: "300" } }) : i("dt-icon-satisfied", { attrs: { size: "300" } })];
718
- }, proxy: !0 }], null, !0) }, "dt-button", o, !1))];
719
- } }, { key: "content", fn: function({ close: o }) {
720
- return [i("dt-emoji-picker", e._b({ on: { "add-emoji": function(s) {
688
+ }, proxy: !0 }], null, !0) }, "dt-button", n, !1))];
689
+ } }, { key: "content", fn: function({ close: n }) {
690
+ return [i("dt-emoji-picker", e._b({ on: { "add-emoji": function(o) {
721
691
  return e.$emit("add-emoji");
722
- }, "skin-tone": e.onSkinTone, "selected-emoji": (s) => e.onSelectEmoji(s, o) } }, "dt-emoji-picker", e.emojiPickerProps, !1))];
723
- } }], null, !1, 4220830595) }) : e._e(), e._t("emojiGiphyPicker"), e._t("customActionIcons")], 2)], 1), i("div", { staticClass: "d-recipe-message-input__bottom-section-right" }, [i("dt-stack", { attrs: { direction: "row", gap: "300" } }, [i("div", { staticClass: "d-recipe-message-input__sms-count" }, [e._t("smsCount")], 2), e.showCharacterLimit ? i("dt-tooltip", { staticClass: "d-recipe-message-input__remaining-char-tooltip", attrs: { placement: "top-end", enabled: e.characterLimitTooltipEnabled, message: e.showCharacterLimit.message, offset: [10, 8] }, scopedSlots: e._u([{ key: "anchor", fn: function() {
692
+ }, "skin-tone": e.onSkinTone, "selected-emoji": (o) => e.onSelectEmoji(o, n) } }, "dt-emoji-picker", e.emojiPickerProps, !1))];
693
+ } }], null, !1, 2292511006) }) : e._e(), e._t("emojiGiphyPicker"), e._t("customActionIcons")], 2)], 1), i("div", { staticClass: "d-recipe-message-input__bottom-section-right" }, [i("dt-stack", { attrs: { direction: "row", gap: "300" } }, [i("div", { staticClass: "d-recipe-message-input__sms-count" }, [e._t("smsCount")], 2), e.showCharacterLimit ? i("dt-tooltip", { staticClass: "d-recipe-message-input__remaining-char-tooltip", attrs: { placement: "top-end", enabled: e.characterLimitTooltipEnabled, message: e.showCharacterLimit.message, offset: [10, 8] }, scopedSlots: e._u([{ key: "anchor", fn: function() {
724
694
  return [i("p", { directives: [{ name: "show", rawName: "v-show", value: e.displayCharacterLimitWarning, expression: "displayCharacterLimitWarning" }], staticClass: "d-recipe-message-input__remaining-char", attrs: { "data-qa": "dt-recipe-message-input-character-limit" } }, [e._v(" " + e._s(e.showCharacterLimit.count - e.inputLength) + " ")])];
725
- }, proxy: !0 }], null, !1, 1021505058) }) : e._e(), e.showCancel ? i("dt-button", { staticClass: "d-recipe-message-input__button d-recipe-message-input__cancel-button", attrs: { "data-qa": "dt-recipe-message-input-cancel-button", size: "sm", kind: "muted", importance: "clear", "aria-label": e.showCancel.ariaLabel }, on: { click: e.onCancel } }, [i("p", [e._v(e._s(e.showCancel.text))])]) : e._e(), e._t("sendButton", function() {
726
- var o;
727
- return [e.showSend ? i("dt-button", { directives: [{ name: "dt-tooltip", rawName: "v-dt-tooltip:top-end", value: (o = e.showSend) == null ? void 0 : o.tooltipLabel, expression: "showSend?.tooltipLabel", arg: "top-end" }], class: [
695
+ }, proxy: !0 }], null, !1, 1021505058) }) : e._e(), e.showCancel ? i("dt-button", { directives: [{ name: "dt-tooltip", rawName: "v-dt-tooltip", value: e.cancelButtonLabel, expression: "cancelButtonLabel" }], staticClass: "d-recipe-message-input__button d-recipe-message-input__cancel-button", attrs: { "data-qa": "dt-recipe-message-input-cancel-button", size: "sm", kind: "muted", importance: "clear", "aria-label": e.cancelButtonLabel }, on: { click: e.onCancel } }, [i("p", [e._v(e._s(e.cancelButtonLabel))])]) : e._e(), e._t("sendButton", function() {
696
+ return [e.showSend ? i("dt-button", { directives: [{ name: "dt-tooltip", rawName: "v-dt-tooltip:top-end", value: e.sendButtonLabel, expression: "sendButtonLabel", arg: "top-end" }], class: [
728
697
  "d-recipe-message-input__button d-recipe-message-input__send-button",
729
698
  {
730
699
  "d-recipe-message-input__send-button--disabled": e.isSendDisabled,
731
700
  "d-btn--icon-only": e.showSendIcon
732
701
  }
733
- ], attrs: { "data-qa": "dt-recipe-message-input-send-btn", size: "sm", kind: "default", importance: "primary", "aria-label": e.showSend.ariaLabel, "aria-disabled": e.isSendDisabled }, on: { click: e.onSend }, scopedSlots: e._u([e.showSendIcon ? { key: "icon", fn: function() {
702
+ ], attrs: { "data-qa": "dt-recipe-message-input-send-btn", size: "sm", kind: "default", importance: "primary", "aria-label": e.sendButtonLabel, "aria-disabled": e.isSendDisabled }, on: { click: e.onSend }, scopedSlots: e._u([e.showSendIcon ? { key: "icon", fn: function() {
734
703
  return [e._t("sendIcon", function() {
735
704
  return [i("dt-icon-send", { attrs: { size: e.sendIconSize } })];
736
705
  }, { iconSize: e.sendIconSize })];
737
706
  }, proxy: !0 } : null], null, !0) }, [e.showSend.text ? [i("p", [e._v(e._s(e.showSend.text))])] : e._e()], 2) : e._e()];
738
707
  })], 2)], 1)])], 2);
739
- }, z = [], V = /* @__PURE__ */ a(
708
+ }, U = [], z = /* @__PURE__ */ s(
709
+ F,
740
710
  R,
741
- q,
742
- z
711
+ U
743
712
  );
744
- const ae = V.exports;
713
+ const re = z.exports;
745
714
  export {
746
- ae as default
715
+ re as default
747
716
  };
748
717
  //# sourceMappingURL=message-input.js.map