@dialpad/dialtone 9.126.6 → 9.127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/README.md +1 -1
  2. package/dist/tokens/doc.json +23168 -23168
  3. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  4. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  5. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +7 -7
  6. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  7. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  8. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  9. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +5 -5
  10. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  11. package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
  12. package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
  13. package/dist/vue2/lib/datepicker/datepicker.js +10 -10
  14. package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
  15. package/dist/vue2/lib/dropdown/dropdown.cjs +1 -1
  16. package/dist/vue2/lib/dropdown/dropdown.cjs.map +1 -1
  17. package/dist/vue2/lib/dropdown/dropdown.js +24 -26
  18. package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
  19. package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  20. package/dist/vue2/lib/emoji-picker/emoji-picker.js +1 -0
  21. package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
  22. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +2 -2
  23. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  24. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +33 -29
  25. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  26. package/dist/vue2/lib/toast/toast.cjs.map +1 -1
  27. package/dist/vue2/lib/toast/toast.js.map +1 -1
  28. package/dist/vue2/localization/de-DE.cjs +1 -13
  29. package/dist/vue2/localization/de-DE.cjs.map +1 -1
  30. package/dist/vue2/localization/de-DE.js +1 -13
  31. package/dist/vue2/localization/de-DE.js.map +1 -1
  32. package/dist/vue2/localization/es-LA.cjs +1 -13
  33. package/dist/vue2/localization/es-LA.cjs.map +1 -1
  34. package/dist/vue2/localization/es-LA.js +1 -13
  35. package/dist/vue2/localization/es-LA.js.map +1 -1
  36. package/dist/vue2/localization/fr-FR.cjs +1 -13
  37. package/dist/vue2/localization/fr-FR.cjs.map +1 -1
  38. package/dist/vue2/localization/fr-FR.js +1 -13
  39. package/dist/vue2/localization/fr-FR.js.map +1 -1
  40. package/dist/vue2/localization/it-IT.cjs +1 -13
  41. package/dist/vue2/localization/it-IT.cjs.map +1 -1
  42. package/dist/vue2/localization/it-IT.js +1 -13
  43. package/dist/vue2/localization/it-IT.js.map +1 -1
  44. package/dist/vue2/localization/ja-JP.cjs +1 -8
  45. package/dist/vue2/localization/ja-JP.cjs.map +1 -1
  46. package/dist/vue2/localization/ja-JP.js +1 -8
  47. package/dist/vue2/localization/ja-JP.js.map +1 -1
  48. package/dist/vue2/localization/nl-NL.cjs +1 -13
  49. package/dist/vue2/localization/nl-NL.cjs.map +1 -1
  50. package/dist/vue2/localization/nl-NL.js +1 -13
  51. package/dist/vue2/localization/nl-NL.js.map +1 -1
  52. package/dist/vue2/localization/pt-BR.cjs +1 -13
  53. package/dist/vue2/localization/pt-BR.cjs.map +1 -1
  54. package/dist/vue2/localization/pt-BR.js +1 -13
  55. package/dist/vue2/localization/pt-BR.js.map +1 -1
  56. package/dist/vue2/localization/ru-RU.cjs +1 -23
  57. package/dist/vue2/localization/ru-RU.cjs.map +1 -1
  58. package/dist/vue2/localization/ru-RU.js +1 -23
  59. package/dist/vue2/localization/ru-RU.js.map +1 -1
  60. package/dist/vue2/localization/zh-CN.cjs +1 -8
  61. package/dist/vue2/localization/zh-CN.cjs.map +1 -1
  62. package/dist/vue2/localization/zh-CN.js +1 -8
  63. package/dist/vue2/localization/zh-CN.js.map +1 -1
  64. package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
  65. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  66. package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
  67. package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +1 -1
  68. package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
  69. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +1 -1
  70. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  71. package/dist/vue3/common/mixins/index.cjs +1 -1
  72. package/dist/vue3/common/mixins/index.js +8 -10
  73. package/dist/vue3/common/mixins/index.js.map +1 -1
  74. package/dist/vue3/common/utils/index.cjs +1 -1
  75. package/dist/vue3/common/utils/index.cjs.map +1 -1
  76. package/dist/vue3/common/utils/index.js +42 -38
  77. package/dist/vue3/common/utils/index.js.map +1 -1
  78. package/dist/vue3/component-documentation.json +1 -1
  79. package/dist/vue3/dialtone-vue.cjs +1 -1
  80. package/dist/vue3/dialtone-vue.js +298 -299
  81. package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs +1 -1
  82. package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
  83. package/dist/vue3/lib/attachment-carousel/attachment-carousel.js +86 -110
  84. package/dist/vue3/lib/attachment-carousel/attachment-carousel.js.map +1 -1
  85. package/dist/vue3/lib/banner/banner.cjs +2 -2
  86. package/dist/vue3/lib/banner/banner.cjs.map +1 -1
  87. package/dist/vue3/lib/banner/banner.js +27 -38
  88. package/dist/vue3/lib/banner/banner.js.map +1 -1
  89. package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs +1 -1
  90. package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
  91. package/dist/vue3/lib/breadcrumbs/breadcrumbs.js +20 -18
  92. package/dist/vue3/lib/breadcrumbs/breadcrumbs.js.map +1 -1
  93. package/dist/vue3/lib/button/button.cjs +1 -1
  94. package/dist/vue3/lib/button/button.cjs.map +1 -1
  95. package/dist/vue3/lib/button/button.js +26 -24
  96. package/dist/vue3/lib/button/button.js.map +1 -1
  97. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  98. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  99. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +36 -41
  100. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  101. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  102. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  103. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js +35 -37
  104. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  105. package/dist/vue3/lib/chip/chip.cjs +1 -1
  106. package/dist/vue3/lib/chip/chip.cjs.map +1 -1
  107. package/dist/vue3/lib/chip/chip.js +54 -57
  108. package/dist/vue3/lib/chip/chip.js.map +1 -1
  109. package/dist/vue3/lib/combobox/combobox-constants.cjs +1 -1
  110. package/dist/vue3/lib/combobox/combobox-constants.cjs.map +1 -1
  111. package/dist/vue3/lib/combobox/combobox-constants.js +2 -2
  112. package/dist/vue3/lib/combobox/combobox-constants.js.map +1 -1
  113. package/dist/vue3/lib/combobox/combobox-empty-list.cjs.map +1 -1
  114. package/dist/vue3/lib/combobox/combobox-empty-list.js.map +1 -1
  115. package/dist/vue3/lib/combobox/combobox-loading-list.cjs.map +1 -1
  116. package/dist/vue3/lib/combobox/combobox-loading-list.js.map +1 -1
  117. package/dist/vue3/lib/combobox/combobox.cjs +2 -2
  118. package/dist/vue3/lib/combobox/combobox.cjs.map +1 -1
  119. package/dist/vue3/lib/combobox/combobox.js +20 -20
  120. package/dist/vue3/lib/combobox/combobox.js.map +1 -1
  121. package/dist/vue3/lib/combobox/index.cjs +1 -1
  122. package/dist/vue3/lib/combobox/index.js +3 -3
  123. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
  124. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
  125. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js +119 -124
  126. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
  127. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
  128. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
  129. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js +76 -80
  130. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
  131. package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs +1 -1
  132. package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
  133. package/dist/vue3/lib/contact-centers-row/contact-centers-row.js +68 -63
  134. package/dist/vue3/lib/contact-centers-row/contact-centers-row.js.map +1 -1
  135. package/dist/vue3/lib/contact-row/contact-row.cjs +1 -1
  136. package/dist/vue3/lib/contact-row/contact-row.cjs.map +1 -1
  137. package/dist/vue3/lib/contact-row/contact-row.js +32 -48
  138. package/dist/vue3/lib/contact-row/contact-row.js.map +1 -1
  139. package/dist/vue3/lib/datepicker/datepicker-constants.cjs +1 -1
  140. package/dist/vue3/lib/datepicker/datepicker-constants.cjs.map +1 -1
  141. package/dist/vue3/lib/datepicker/datepicker-constants.js +2 -3
  142. package/dist/vue3/lib/datepicker/datepicker-constants.js.map +1 -1
  143. package/dist/vue3/lib/datepicker/datepicker.cjs +1 -1
  144. package/dist/vue3/lib/datepicker/datepicker.cjs.map +1 -1
  145. package/dist/vue3/lib/datepicker/datepicker.js +264 -349
  146. package/dist/vue3/lib/datepicker/datepicker.js.map +1 -1
  147. package/dist/vue3/lib/datepicker/formatUtils.cjs +1 -1
  148. package/dist/vue3/lib/datepicker/formatUtils.cjs.map +1 -1
  149. package/dist/vue3/lib/datepicker/formatUtils.js +21 -20
  150. package/dist/vue3/lib/datepicker/formatUtils.js.map +1 -1
  151. package/dist/vue3/lib/datepicker/utils.cjs +1 -1
  152. package/dist/vue3/lib/datepicker/utils.cjs.map +1 -1
  153. package/dist/vue3/lib/datepicker/utils.js +12 -11
  154. package/dist/vue3/lib/datepicker/utils.js.map +1 -1
  155. package/dist/vue3/lib/description-list/description-list.cjs +1 -1
  156. package/dist/vue3/lib/description-list/description-list.cjs.map +1 -1
  157. package/dist/vue3/lib/description-list/description-list.js +10 -10
  158. package/dist/vue3/lib/description-list/description-list.js.map +1 -1
  159. package/dist/vue3/lib/dropdown/dropdown.cjs +1 -1
  160. package/dist/vue3/lib/dropdown/dropdown.cjs.map +1 -1
  161. package/dist/vue3/lib/dropdown/dropdown.js +36 -46
  162. package/dist/vue3/lib/dropdown/dropdown.js.map +1 -1
  163. package/dist/vue3/lib/editor/editor.cjs +1 -1
  164. package/dist/vue3/lib/editor/editor.cjs.map +1 -1
  165. package/dist/vue3/lib/editor/editor.js +169 -186
  166. package/dist/vue3/lib/editor/editor.js.map +1 -1
  167. package/dist/vue3/lib/editor/index.cjs +1 -1
  168. package/dist/vue3/lib/editor/index.js +2 -2
  169. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs +1 -1
  170. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
  171. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js +7 -20
  172. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
  173. package/dist/vue3/lib/emoji-picker/emoji-picker.cjs +1 -1
  174. package/dist/vue3/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  175. package/dist/vue3/lib/emoji-picker/emoji-picker.js +419 -477
  176. package/dist/vue3/lib/emoji-picker/emoji-picker.js.map +1 -1
  177. package/dist/vue3/lib/emoji-picker/index.cjs +1 -1
  178. package/dist/vue3/lib/emoji-picker/index.js +3 -4
  179. package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs +1 -1
  180. package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs.map +1 -1
  181. package/dist/vue3/lib/emoji-row/emoji-row-constants.js +6 -7
  182. package/dist/vue3/lib/emoji-row/emoji-row-constants.js.map +1 -1
  183. package/dist/vue3/lib/emoji-row/emoji-row.cjs +1 -1
  184. package/dist/vue3/lib/emoji-row/emoji-row.cjs.map +1 -1
  185. package/dist/vue3/lib/emoji-row/emoji-row.js +53 -43
  186. package/dist/vue3/lib/emoji-row/emoji-row.js.map +1 -1
  187. package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs +1 -1
  188. package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
  189. package/dist/vue3/lib/feed-item-pill/feed-item-pill.js +52 -53
  190. package/dist/vue3/lib/feed-item-pill/feed-item-pill.js.map +1 -1
  191. package/dist/vue3/lib/general-row/general-row.cjs +1 -1
  192. package/dist/vue3/lib/general-row/general-row.cjs.map +1 -1
  193. package/dist/vue3/lib/general-row/general-row.js +133 -118
  194. package/dist/vue3/lib/general-row/general-row.js.map +1 -1
  195. package/dist/vue3/lib/group-row/group-row.cjs +1 -1
  196. package/dist/vue3/lib/group-row/group-row.cjs.map +1 -1
  197. package/dist/vue3/lib/group-row/group-row.js +53 -39
  198. package/dist/vue3/lib/group-row/group-row.js.map +1 -1
  199. package/dist/vue3/lib/icon/icon-constants.cjs.map +1 -1
  200. package/dist/vue3/lib/icon/icon-constants.js.map +1 -1
  201. package/dist/vue3/lib/icon/icon.cjs +1 -1
  202. package/dist/vue3/lib/icon/icon.cjs.map +1 -1
  203. package/dist/vue3/lib/icon/icon.js +15 -11
  204. package/dist/vue3/lib/icon/icon.js.map +1 -1
  205. package/dist/vue3/lib/image-viewer/image-viewer.cjs +1 -1
  206. package/dist/vue3/lib/image-viewer/image-viewer.cjs.map +1 -1
  207. package/dist/vue3/lib/image-viewer/image-viewer.js +51 -47
  208. package/dist/vue3/lib/image-viewer/image-viewer.js.map +1 -1
  209. package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs +1 -1
  210. package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs.map +1 -1
  211. package/dist/vue3/lib/ivr-node/ivr-node-constants.js +24 -24
  212. package/dist/vue3/lib/ivr-node/ivr-node-constants.js.map +1 -1
  213. package/dist/vue3/lib/ivr-node/ivr-node.cjs +1 -1
  214. package/dist/vue3/lib/ivr-node/ivr-node.cjs.map +1 -1
  215. package/dist/vue3/lib/ivr-node/ivr-node.js +80 -76
  216. package/dist/vue3/lib/ivr-node/ivr-node.js.map +1 -1
  217. package/dist/vue3/lib/message-input/message-input-link.cjs +1 -1
  218. package/dist/vue3/lib/message-input/message-input-link.cjs.map +1 -1
  219. package/dist/vue3/lib/message-input/message-input-link.js +100 -77
  220. package/dist/vue3/lib/message-input/message-input-link.js.map +1 -1
  221. package/dist/vue3/lib/message-input/message-input-topbar.cjs +1 -1
  222. package/dist/vue3/lib/message-input/message-input-topbar.cjs.map +1 -1
  223. package/dist/vue3/lib/message-input/message-input-topbar.js +126 -94
  224. package/dist/vue3/lib/message-input/message-input-topbar.js.map +1 -1
  225. package/dist/vue3/lib/message-input/message-input.cjs +1 -1
  226. package/dist/vue3/lib/message-input/message-input.cjs.map +1 -1
  227. package/dist/vue3/lib/message-input/message-input.js +272 -296
  228. package/dist/vue3/lib/message-input/message-input.js.map +1 -1
  229. package/dist/vue3/lib/modal/modal.cjs +1 -2
  230. package/dist/vue3/lib/modal/modal.cjs.map +1 -1
  231. package/dist/vue3/lib/modal/modal.js +64 -79
  232. package/dist/vue3/lib/modal/modal.js.map +1 -1
  233. package/dist/vue3/lib/notice/notice-action.cjs +1 -1
  234. package/dist/vue3/lib/notice/notice-action.cjs.map +1 -1
  235. package/dist/vue3/lib/notice/notice-action.js +38 -39
  236. package/dist/vue3/lib/notice/notice-action.js.map +1 -1
  237. package/dist/vue3/lib/notice/notice.cjs +1 -1
  238. package/dist/vue3/lib/notice/notice.cjs.map +1 -1
  239. package/dist/vue3/lib/notice/notice.js +37 -49
  240. package/dist/vue3/lib/notice/notice.js.map +1 -1
  241. package/dist/vue3/lib/pagination/pagination.cjs +1 -1
  242. package/dist/vue3/lib/pagination/pagination.cjs.map +1 -1
  243. package/dist/vue3/lib/pagination/pagination.js +72 -81
  244. package/dist/vue3/lib/pagination/pagination.js.map +1 -1
  245. package/dist/vue3/lib/popover/popover-header-footer.cjs +1 -1
  246. package/dist/vue3/lib/popover/popover-header-footer.cjs.map +1 -1
  247. package/dist/vue3/lib/popover/popover-header-footer.js +44 -45
  248. package/dist/vue3/lib/popover/popover-header-footer.js.map +1 -1
  249. package/dist/vue3/lib/popover/popover.cjs +1 -1
  250. package/dist/vue3/lib/popover/popover.cjs.map +1 -1
  251. package/dist/vue3/lib/popover/popover.js +26 -37
  252. package/dist/vue3/lib/popover/popover.js.map +1 -1
  253. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +3 -3
  254. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  255. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +187 -181
  256. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  257. package/dist/vue3/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
  258. package/dist/vue3/lib/settings-menu-button/settings-menu-button.js.map +1 -1
  259. package/dist/vue3/lib/time-pill/time-pill.cjs.map +1 -1
  260. package/dist/vue3/lib/time-pill/time-pill.js.map +1 -1
  261. package/dist/vue3/lib/toast/toast.cjs +1 -1
  262. package/dist/vue3/lib/toast/toast.cjs.map +1 -1
  263. package/dist/vue3/lib/toast/toast.js +83 -127
  264. package/dist/vue3/lib/toast/toast.js.map +1 -1
  265. package/dist/vue3/lib/unread-pill/unread-pill.cjs +1 -1
  266. package/dist/vue3/lib/unread-pill/unread-pill.cjs.map +1 -1
  267. package/dist/vue3/lib/unread-pill/unread-pill.js +25 -14
  268. package/dist/vue3/lib/unread-pill/unread-pill.js.map +1 -1
  269. package/dist/vue3/localization/de-DE.cjs +157 -0
  270. package/dist/vue3/localization/de-DE.cjs.map +1 -0
  271. package/dist/vue3/localization/de-DE.js +160 -0
  272. package/dist/vue3/localization/de-DE.js.map +1 -0
  273. package/dist/vue3/localization/en-US.cjs +175 -0
  274. package/dist/vue3/localization/en-US.cjs.map +1 -0
  275. package/dist/vue3/localization/en-US.js +178 -0
  276. package/dist/vue3/localization/en-US.js.map +1 -0
  277. package/dist/vue3/localization/es-LA.cjs +157 -0
  278. package/dist/vue3/localization/es-LA.cjs.map +1 -0
  279. package/dist/vue3/localization/es-LA.js +160 -0
  280. package/dist/vue3/localization/es-LA.js.map +1 -0
  281. package/dist/vue3/localization/fr-FR.cjs +157 -0
  282. package/dist/vue3/localization/fr-FR.cjs.map +1 -0
  283. package/dist/vue3/localization/fr-FR.js +160 -0
  284. package/dist/vue3/localization/fr-FR.js.map +1 -0
  285. package/dist/vue3/localization/index.cjs +2 -0
  286. package/dist/vue3/localization/index.cjs.map +1 -0
  287. package/dist/vue3/localization/index.js +82 -0
  288. package/dist/vue3/localization/index.js.map +1 -0
  289. package/dist/vue3/localization/it-IT.cjs +157 -0
  290. package/dist/vue3/localization/it-IT.cjs.map +1 -0
  291. package/dist/vue3/localization/it-IT.js +160 -0
  292. package/dist/vue3/localization/it-IT.js.map +1 -0
  293. package/dist/vue3/localization/ja-JP.cjs +157 -0
  294. package/dist/vue3/localization/ja-JP.cjs.map +1 -0
  295. package/dist/vue3/localization/ja-JP.js +160 -0
  296. package/dist/vue3/localization/ja-JP.js.map +1 -0
  297. package/dist/vue3/localization/nl-NL.cjs +157 -0
  298. package/dist/vue3/localization/nl-NL.cjs.map +1 -0
  299. package/dist/vue3/localization/nl-NL.js +160 -0
  300. package/dist/vue3/localization/nl-NL.js.map +1 -0
  301. package/dist/vue3/localization/pt-BR.cjs +157 -0
  302. package/dist/vue3/localization/pt-BR.cjs.map +1 -0
  303. package/dist/vue3/localization/pt-BR.js +160 -0
  304. package/dist/vue3/localization/pt-BR.js.map +1 -0
  305. package/dist/vue3/localization/ru-RU.cjs +157 -0
  306. package/dist/vue3/localization/ru-RU.cjs.map +1 -0
  307. package/dist/vue3/localization/ru-RU.js +160 -0
  308. package/dist/vue3/localization/ru-RU.js.map +1 -0
  309. package/dist/vue3/localization/zh-CN.cjs +157 -0
  310. package/dist/vue3/localization/zh-CN.cjs.map +1 -0
  311. package/dist/vue3/localization/zh-CN.js +160 -0
  312. package/dist/vue3/localization/zh-CN.js.map +1 -0
  313. package/dist/vue3/shared/sr_only_close_button.cjs +1 -1
  314. package/dist/vue3/shared/sr_only_close_button.cjs.map +1 -1
  315. package/dist/vue3/shared/sr_only_close_button.js +27 -25
  316. package/dist/vue3/shared/sr_only_close_button.js.map +1 -1
  317. package/dist/vue3/types/common/mixins/index.d.ts +0 -1
  318. package/dist/vue3/types/common/sr_only_close_button.vue.d.ts +8 -15
  319. package/dist/vue3/types/common/sr_only_close_button.vue.d.ts.map +1 -1
  320. package/dist/vue3/types/common/utils/index.d.ts +1 -0
  321. package/dist/vue3/types/common/utils/index.d.ts.map +1 -1
  322. package/dist/vue3/types/components/banner/banner.vue.d.ts +0 -33
  323. package/dist/vue3/types/components/banner/banner.vue.d.ts.map +1 -1
  324. package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts +2 -0
  325. package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts.map +1 -1
  326. package/dist/vue3/types/components/button/button.vue.d.ts +2 -0
  327. package/dist/vue3/types/components/button/button.vue.d.ts.map +1 -1
  328. package/dist/vue3/types/components/chip/chip.vue.d.ts +3 -15
  329. package/dist/vue3/types/components/chip/chip.vue.d.ts.map +1 -1
  330. package/dist/vue3/types/components/combobox/combobox.vue.d.ts.map +1 -1
  331. package/dist/vue3/types/components/combobox/combobox_constants.d.ts +2 -2
  332. package/dist/vue3/types/components/combobox/index.d.ts +1 -1
  333. package/dist/vue3/types/components/datepicker/composables/useCalendar.d.ts.map +1 -1
  334. package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts +5 -1
  335. package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts.map +1 -1
  336. package/dist/vue3/types/components/datepicker/datepicker.vue.d.ts.map +1 -1
  337. package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts +0 -1
  338. package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts.map +1 -1
  339. package/dist/vue3/types/components/datepicker/formatUtils.d.ts +5 -5
  340. package/dist/vue3/types/components/datepicker/formatUtils.d.ts.map +1 -1
  341. package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts +0 -4
  342. package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts.map +1 -1
  343. package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts +0 -12
  344. package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
  345. package/dist/vue3/types/components/datepicker/utils.d.ts +1 -0
  346. package/dist/vue3/types/components/datepicker/utils.d.ts.map +1 -1
  347. package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts +0 -24
  348. package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
  349. package/dist/vue3/types/components/emoji_picker/emoji_picker_constants.d.ts +0 -13
  350. package/dist/vue3/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
  351. package/dist/vue3/types/components/icon/icon.vue.d.ts +1 -0
  352. package/dist/vue3/types/components/icon/icon_constants.d.ts.map +1 -1
  353. package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts +3 -8
  354. package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  355. package/dist/vue3/types/components/modal/modal.vue.d.ts +3 -35
  356. package/dist/vue3/types/components/modal/modal.vue.d.ts.map +1 -1
  357. package/dist/vue3/types/components/notice/notice.vue.d.ts +1 -34
  358. package/dist/vue3/types/components/notice/notice.vue.d.ts.map +1 -1
  359. package/dist/vue3/types/components/notice/notice_action.vue.d.ts +7 -35
  360. package/dist/vue3/types/components/notice/notice_action.vue.d.ts.map +1 -1
  361. package/dist/vue3/types/components/pagination/pagination.vue.d.ts +5 -24
  362. package/dist/vue3/types/components/pagination/pagination.vue.d.ts.map +1 -1
  363. package/dist/vue3/types/components/popover/popover.vue.d.ts +0 -33
  364. package/dist/vue3/types/components/popover/popover.vue.d.ts.map +1 -1
  365. package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts +5 -10
  366. package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
  367. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +2 -0
  368. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  369. package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +2 -46
  370. package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
  371. package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts +1 -34
  372. package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -1
  373. package/dist/vue3/types/components/toast/toast.vue.d.ts +4 -115
  374. package/dist/vue3/types/components/toast/toast.vue.d.ts.map +1 -1
  375. package/dist/vue3/types/index.d.ts +1 -0
  376. package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +3 -11
  377. package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
  378. package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +3 -10
  379. package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  380. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +4 -8
  381. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  382. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +7 -7
  383. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts.map +1 -1
  384. package/dist/vue3/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  385. package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -25
  386. package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
  387. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +3 -41
  388. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
  389. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +6 -25
  390. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
  391. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +2 -2
  392. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts +6 -49
  393. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  394. package/dist/vue3/types/recipes/conversation_view/editor/index.d.ts +1 -1
  395. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +6 -2
  396. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  397. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row_constants.d.ts.map +1 -1
  398. package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +3 -8
  399. package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
  400. package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -1
  401. package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +6 -1
  402. package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
  403. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +12 -88
  404. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  405. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +11 -1
  406. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
  407. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +13 -1
  408. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
  409. package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +5 -8
  410. package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
  411. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +0 -18
  412. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
  413. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +9 -27
  414. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  415. package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts +11 -21
  416. package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
  417. package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +6 -2
  418. package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
  419. package/package.json +4 -4
  420. package/dist/vue3/common/mixins/sr-only-close-button.cjs +0 -3
  421. package/dist/vue3/common/mixins/sr-only-close-button.cjs.map +0 -1
  422. package/dist/vue3/common/mixins/sr-only-close-button.js +0 -44
  423. package/dist/vue3/common/mixins/sr-only-close-button.js.map +0 -1
  424. package/dist/vue3/lib/contact-row/contact-row-constants.cjs +0 -2
  425. package/dist/vue3/lib/contact-row/contact-row-constants.cjs.map +0 -1
  426. package/dist/vue3/lib/contact-row/contact-row-constants.js +0 -5
  427. package/dist/vue3/lib/contact-row/contact-row-constants.js.map +0 -1
  428. package/dist/vue3/lib/emoji/emoji-constants.cjs +0 -2
  429. package/dist/vue3/lib/emoji/emoji-constants.cjs.map +0 -1
  430. package/dist/vue3/lib/emoji/emoji-constants.js +0 -5
  431. package/dist/vue3/lib/emoji/emoji-constants.js.map +0 -1
  432. package/dist/vue3/lib/group-row/group-row-constants.cjs +0 -2
  433. package/dist/vue3/lib/group-row/group-row-constants.cjs.map +0 -1
  434. package/dist/vue3/lib/group-row/group-row-constants.js +0 -8
  435. package/dist/vue3/lib/group-row/group-row-constants.js.map +0 -1
  436. package/dist/vue3/lib/time-pill/time-pill-constants.cjs +0 -2
  437. package/dist/vue3/lib/time-pill/time-pill-constants.cjs.map +0 -1
  438. package/dist/vue3/lib/time-pill/time-pill-constants.js +0 -8
  439. package/dist/vue3/lib/time-pill/time-pill-constants.js.map +0 -1
  440. package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts +0 -30
  441. package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts.map +0 -1
  442. package/dist/vue3/types/components/emoji/emoji_constants.d.ts +0 -3
  443. package/dist/vue3/types/components/emoji/emoji_constants.d.ts.map +0 -1
  444. package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts +0 -6
  445. package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts.map +0 -1
  446. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts +0 -3
  447. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts.map +0 -1
  448. package/dist/vue3/types/recipes/leftbar/group_row/group_row_constants.d.ts +0 -6
  449. package/dist/vue3/types/recipes/leftbar/group_row/group_row_constants.d.ts.map +0 -1
@@ -1,46 +1,57 @@
1
- import q from "./last-active-nodes.js";
2
- import { removeClassStyleAttrs as z, addClassStyleAttrs as N, returnFirstEl as U } from "../../common/utils/index.js";
3
- import { Node as H, mergeAttributes as W } from "@tiptap/core";
4
- import { NodeViewWrapper as K, nodeViewProps as X, VueNodeViewRenderer as Q } from "../../node_modules/@tiptap/vue-3.js";
5
- import { DtIconClose as G, DtIconVideo as Y, DtIconImage as J, DtIconVerySatisfied as Z, DtIconSatisfied as $, DtIconSend as ee } from "@dialpad/dialtone-icons/vue3";
6
- import { resolveComponent as s, openBlock as r, createBlock as u, withCtx as a, createVNode as c, createElementVNode as m, createTextVNode as te, toDisplayString as T, resolveDirective as O, createElementBlock as w, mergeProps as _, withModifiers as I, renderSlot as g, createCommentVNode as h, withDirectives as f, normalizeStyle as ie, vShow as oe, normalizeClass as ne, createSlots as le } from "vue";
7
- import { _ as B } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
8
- import se from "../item-layout/item-layout.js";
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 de } from "../editor/editor-constants.js";
13
- import ue from "../emoji-picker/emoji-picker.js";
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 ge from "../rich-text-editor/rich-text-editor.js";
17
- import he from "../tooltip/tooltip.js";
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 ke, RICH_TEXT_EDITOR_OUTPUT_FORMATS as fe } from "../rich-text-editor/rich-text-editor-constants.js";
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: se,
25
- DtIconClose: G,
25
+ DtItemLayout: le,
26
+ DtIconClose: Q,
26
27
  DtButton: P,
27
- DtIconVideo: Y
28
+ DtIconVideo: J
28
29
  },
29
- props: X,
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, d, n;
34
- const e = (n = (d = (i = this.editor) == null ? void 0 : i.storage) == null ? void 0 : d.meetingPill) == null ? void 0 : n.onClose;
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, d, n, o) {
40
- const S = s("dt-icon-video"), L = s("dt-icon-close"), x = s("dt-button"), y = s("dt-item-layout"), b = s("node-view-wrapper");
41
- return r(), u(b, { class: "d-recipe-message-input-meeting-pill" }, {
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(y, {
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(x, {
65
+ c(I, {
55
66
  circle: "",
56
- "aria-label": t.node.attrs["close-button-aria-label"],
57
- size: "xs",
58
67
  importance: "clear",
59
- onClick: o.close
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 xe = /* @__PURE__ */ B(_e, [["render", Le]]), ye = H.create({
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 Q(xe);
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", W(t)];
126
+ return ["meeting-pill", G(t)];
116
127
  }
117
- }), Ce = {
128
+ }), ye = {
118
129
  compatConfig: { MODE: 3 },
119
130
  name: "DtRecipeMessageInput",
120
131
  components: {
121
132
  DtButton: P,
122
- DtEmojiPicker: ue,
133
+ DtEmojiPicker: de,
123
134
  DtInput: me,
124
135
  DtPopover: pe,
125
136
  DtRecipeMessageInputTopbar: ae,
126
137
  DtRecipeMessageInputLink: re,
127
- DtRichTextEditor: ge,
128
- DtTooltip: he,
138
+ DtRichTextEditor: he,
139
+ DtTooltip: ge,
129
140
  DtStack: be,
130
- DtIconImage: J,
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" ? ke.includes(t) : !0;
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 fe.includes(t);
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: () => ({ text: "Cancel" })
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
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
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
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
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
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
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
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
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
- dialogTitle: "Add a link",
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
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
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
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
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
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
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
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
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
- * { ariaLabel: string, tooltipText: string, keyboardShortcutText: string }
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: q,
541
+ lastActiveNodes: R,
571
542
  additionalExtensions: [
572
- ye.configure({
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: z,
635
- addClassStyleAttrs: N,
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 d;
643
- const e = (d = this.$refs.richTextEditor) == null ? void 0 : d.editor, i = {
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, d, n;
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 : ((n = (d = this.$refs.richTextEditor) == null ? void 0 : d.editor) == null ? void 0 : n.isActive(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
- de
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
- U(this.$refs.richTextEditor.$el).querySelector(".tiptap").contains(t.target) || (t.preventDefault(), this.$refs.richTextEditor.focusEditor());
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
- }, we = { class: "d-recipe-message-input__bottom-section" }, ve = { class: "d-recipe-message-input__bottom-section-left" }, Oe = { class: "d-recipe-message-input__bottom-section-right" }, Ie = { class: "d-recipe-message-input__sms-count" }, Be = { key: 0 };
729
- function Pe(t, e, i, d, n, o) {
730
- const S = s("dt-recipe-message-input-link"), L = s("dt-recipe-message-input-topbar"), x = s("dt-rich-text-editor"), y = s("dt-icon-image"), b = s("dt-button"), j = s("dt-input"), D = s("dt-icon-very-satisfied"), E = s("dt-icon-satisfied"), M = s("dt-emoji-picker"), V = s("dt-popover"), v = s("dt-stack"), F = s("dt-tooltip"), A = s("dt-icon-send"), R = O("dt-scrollbar"), C = O("dt-tooltip");
731
- return r(), w("div", _({
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
- }, o.addClassStyleAttrs(t.$attrs), {
736
- onDragover: e[13] || (e[13] = I(() => {
714
+ }, n.addClassStyleAttrs(t.$attrs), {
715
+ onDragover: e[14] || (e[14] = w(() => {
737
716
  }, ["prevent"])),
738
- onDrop: e[14] || (e[14] = I((...l) => o.onDrop && o.onDrop(...l), ["prevent"])),
739
- onPaste: e[15] || (e[15] = (...l) => o.onPaste && o.onPaste(...l)),
740
- onMousedown: e[16] || (e[16] = (...l) => o.onMousedown && o.onMousedown(...l))
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
- g(t.$slots, "top"),
743
- i.richText ? (r(), u(L, {
744
- key: n.selectedText,
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": o.isSelectionActive,
754
- onClick: o.handleTopbarClick
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: n.linkDialogOpen,
738
+ open: o.linkDialogOpen,
760
739
  "link-button-options": i.linkButtonOptions,
761
- "is-selection-active": o.isSelectionActive,
762
- onOpened: o.linkDialogOpened,
763
- onSetLink: o.setLink,
764
- onRemoveLink: o.removeLink
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(), w("div", {
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(x, _({
752
+ c(I, _({
774
753
  ref: "richTextEditor",
775
- modelValue: n.internalInputValue,
776
- "onUpdate:modelValue": e[0] || (e[0] = (l) => n.internalInputValue = l),
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": n.additionalExtensions,
798
- "hide-link-bubble-menu": n.hideLinkBubbleMenu
799
- }, o.removeClassStyleAttrs(t.$attrs), {
800
- onInput: o.onInput,
801
- onTextInput: o.onTextInput,
802
- onEnter: o.onSend,
803
- onSelected: e[1] || (e[1] = (l) => n.selectedText = l),
804
- onSelectedCommand: e[2] || (e[2] = (l) => t.$emit("selected-command", l)),
805
- onEditLink: o.initLinkDialog,
806
- onFocus: e[3] || (e[3] = (l) => n.isFocused = !0),
807
- onBlur: e[4] || (e[4] = (l) => n.isFocused = !1)
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
- [R]
789
+ [F]
811
790
  ]),
812
- g(t.$slots, "middle"),
813
- m("section", we, [
814
- m("div", ve, [
815
- c(v, {
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
- var l;
821
- return [
822
- i.showImagePicker ? f((r(), u(b, {
823
- key: 0,
824
- "data-qa": "dt-recipe-message-input-image-btn",
825
- size: "sm",
826
- class: "d-recipe-message-input__button",
827
- kind: "muted",
828
- importance: "clear",
829
- "aria-label": i.showImagePicker.ariaLabel,
830
- onClick: o.onSelectImage,
831
- onMouseenter: e[5] || (e[5] = (p) => n.imagePickerFocus = !0),
832
- onMouseleave: e[6] || (e[6] = (p) => n.imagePickerFocus = !1),
833
- onFocus: e[7] || (e[7] = (p) => n.imagePickerFocus = !0),
834
- onBlur: e[8] || (e[8] = (p) => n.imagePickerFocus = !1)
835
- }, {
836
- icon: a(() => [
837
- c(y, { size: "300" })
838
- ]),
839
- _: 1
840
- }, 8, ["aria-label", "onClick"])), [
841
- [C, (l = i.showImagePicker) == null ? void 0 : l.tooltipLabel, "top-start"]
842
- ]) : h("", !0),
843
- c(j, {
844
- ref: "messageInputImageUpload",
845
- "data-qa": "dt-recipe-message-input-image-input",
846
- accept: "image/*, video/*",
847
- type: "file",
848
- class: "d-recipe-message-input__image-input",
849
- multiple: "",
850
- hidden: "",
851
- onInput: o.onImageUpload
852
- }, null, 8, ["onInput"]),
853
- i.showEmojiPicker ? (r(), u(V, {
854
- key: 1,
855
- "open.sync": "emojiPickerOpened",
856
- "data-qa": "dt-recipe-message-input-emoji-picker-popover",
857
- "initial-focus-element": "#searchInput",
858
- padding: "none"
859
- }, {
860
- anchor: a(({ attrs: p }) => [
861
- f((r(), u(b, _(p, {
862
- "data-qa": "dt-recipe-message-input-emoji-picker-btn",
863
- size: "sm",
864
- class: "d-recipe-message-input__button",
865
- kind: "muted",
866
- importance: "clear",
867
- "aria-label": i.emojiButtonAriaLabel,
868
- onClick: o.toggleEmojiPicker,
869
- onMouseenter: e[9] || (e[9] = (k) => n.emojiPickerFocus = !0),
870
- onMouseleave: e[10] || (e[10] = (k) => n.emojiPickerFocus = !1),
871
- onFocus: e[11] || (e[11] = (k) => n.emojiPickerFocus = !0),
872
- onBlur: e[12] || (e[12] = (k) => n.emojiPickerFocus = !1)
873
- }), {
874
- icon: a(() => [
875
- o.emojiPickerHovered ? (r(), u(D, {
876
- key: 0,
877
- size: "300"
878
- })) : (r(), u(E, {
879
- key: 1,
880
- size: "300"
881
- }))
882
- ]),
883
- _: 2
884
- }, 1040, ["aria-label", "onClick"])), [
885
- [C, i.emojiTooltipMessage]
886
- ])
887
- ]),
888
- content: a(({ close: p }) => [
889
- c(M, _(i.emojiPickerProps, {
890
- onSkinTone: o.onSkinTone,
891
- onSelectedEmoji: (k) => o.onSelectEmoji(k, p)
892
- }), null, 16, ["onSkinTone", "onSelectedEmoji"])
893
- ]),
894
- _: 1
895
- })) : h("", !0),
896
- g(t.$slots, "emojiGiphyPicker"),
897
- g(t.$slots, "customActionIcons")
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", Oe, [
904
- c(v, {
880
+ m("div", we, [
881
+ c(B, {
905
882
  direction: "row",
906
883
  gap: "300"
907
884
  }, {
908
885
  default: a(() => [
909
- m("div", Ie, [
910
- g(t.$slots, "smsCount")
886
+ m("div", Ce, [
887
+ p(t.$slots, "smsCount")
911
888
  ]),
912
- i.showCharacterLimit ? (r(), u(F, {
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: o.characterLimitTooltipEnabled,
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 - o.inputLength), 513), [
925
- [oe, o.displayCharacterLimitWarning]
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(), u(b, {
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": i.showCancel.ariaLabel,
938
- onClick: o.onCancel
914
+ "aria-label": n.cancelButtonLabel,
915
+ onClick: n.onCancel
939
916
  }, {
940
917
  default: a(() => [
941
- m("p", null, T(i.showCancel.text), 1)
918
+ m("p", null, T(n.cancelButtonLabel), 1)
942
919
  ]),
943
920
  _: 1
944
- }, 8, ["aria-label", "onClick"])) : h("", !0),
945
- g(t.$slots, "sendButton", {}, () => {
946
- var l;
947
- return [
948
- i.showSend ? f((r(), u(b, {
949
- key: 0,
950
- "data-qa": "dt-recipe-message-input-send-btn",
951
- size: "sm",
952
- kind: "default",
953
- importance: "primary",
954
- class: ne([
955
- "d-recipe-message-input__button d-recipe-message-input__send-button",
956
- {
957
- "d-recipe-message-input__send-button--disabled": o.isSendDisabled,
958
- "d-btn--icon-only": o.showSendIcon
959
- }
960
- ]),
961
- "aria-label": i.showSend.ariaLabel,
962
- "aria-disabled": o.isSendDisabled,
963
- onClick: o.onSend
964
- }, le({
965
- default: a(() => [
966
- i.showSend.text ? (r(), w("p", Be, T(i.showSend.text), 1)) : h("", !0)
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
- _: 2
969
- }, [
970
- o.showSendIcon ? {
971
- name: "icon",
972
- fn: a(() => [
973
- g(t.$slots, "sendIcon", { iconSize: o.sendIconSize }, () => [
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 Je = /* @__PURE__ */ B(Ce, [["render", Pe]]);
967
+ const Ze = /* @__PURE__ */ v(ye, [["render", Pe]]);
992
968
  export {
993
- Je as default
969
+ Ze as default
994
970
  };
995
971
  //# sourceMappingURL=message-input.js.map