@dialpad/dialtone 9.124.0 → 9.126.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 (389) hide show
  1. package/README.md +9 -2
  2. package/dist/css/dialtone-default-theme.css +4 -0
  3. package/dist/css/dialtone-default-theme.min.css +1 -1
  4. package/dist/css/dialtone.css +4 -0
  5. package/dist/css/dialtone.min.css +1 -1
  6. package/dist/tokens/doc.json +12021 -12021
  7. package/dist/vue2/common/mixins/index.cjs +1 -1
  8. package/dist/vue2/common/mixins/index.js +10 -10
  9. package/dist/vue2/common/mixins/localization.cjs +2 -0
  10. package/dist/vue2/common/mixins/localization.cjs.map +1 -0
  11. package/dist/vue2/common/mixins/localization.js +10 -0
  12. package/dist/vue2/common/mixins/localization.js.map +1 -0
  13. package/dist/vue2/common/utils/index.cjs +1 -1
  14. package/dist/vue2/common/utils/index.cjs.map +1 -1
  15. package/dist/vue2/common/utils/index.js +43 -39
  16. package/dist/vue2/common/utils/index.js.map +1 -1
  17. package/dist/vue2/component-documentation.json +1 -1
  18. package/dist/vue2/dialtone-vue.cjs +1 -1
  19. package/dist/vue2/dialtone-vue.js +361 -358
  20. package/dist/vue2/dialtone-vue.js.map +1 -1
  21. package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs +1 -1
  22. package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
  23. package/dist/vue2/lib/attachment-carousel/attachment-carousel.js +61 -86
  24. package/dist/vue2/lib/attachment-carousel/attachment-carousel.js.map +1 -1
  25. package/dist/vue2/lib/banner/banner.cjs +2 -2
  26. package/dist/vue2/lib/banner/banner.cjs.map +1 -1
  27. package/dist/vue2/lib/banner/banner.js +25 -33
  28. package/dist/vue2/lib/banner/banner.js.map +1 -1
  29. package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs +1 -1
  30. package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
  31. package/dist/vue2/lib/breadcrumbs/breadcrumbs.js +14 -12
  32. package/dist/vue2/lib/breadcrumbs/breadcrumbs.js.map +1 -1
  33. package/dist/vue2/lib/button/button.cjs +1 -1
  34. package/dist/vue2/lib/button/button.cjs.map +1 -1
  35. package/dist/vue2/lib/button/button.js +9 -7
  36. package/dist/vue2/lib/button/button.js.map +1 -1
  37. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  38. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  39. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +19 -25
  40. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  41. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  42. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  43. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +18 -21
  44. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  45. package/dist/vue2/lib/chip/chip.cjs +1 -1
  46. package/dist/vue2/lib/chip/chip.cjs.map +1 -1
  47. package/dist/vue2/lib/chip/chip.js +24 -29
  48. package/dist/vue2/lib/chip/chip.js.map +1 -1
  49. package/dist/vue2/lib/combobox/combobox-constants.cjs +1 -1
  50. package/dist/vue2/lib/combobox/combobox-constants.cjs.map +1 -1
  51. package/dist/vue2/lib/combobox/combobox-constants.js +2 -2
  52. package/dist/vue2/lib/combobox/combobox-constants.js.map +1 -1
  53. package/dist/vue2/lib/combobox/combobox-empty-list.cjs.map +1 -1
  54. package/dist/vue2/lib/combobox/combobox-empty-list.js.map +1 -1
  55. package/dist/vue2/lib/combobox/combobox-loading-list.cjs.map +1 -1
  56. package/dist/vue2/lib/combobox/combobox-loading-list.js.map +1 -1
  57. package/dist/vue2/lib/combobox/combobox.cjs +2 -2
  58. package/dist/vue2/lib/combobox/combobox.cjs.map +1 -1
  59. package/dist/vue2/lib/combobox/combobox.js +12 -12
  60. package/dist/vue2/lib/combobox/combobox.js.map +1 -1
  61. package/dist/vue2/lib/combobox/index.cjs +1 -1
  62. package/dist/vue2/lib/combobox/index.js +3 -3
  63. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
  64. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
  65. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js +16 -18
  66. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
  67. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
  68. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
  69. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.js +22 -24
  70. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
  71. package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs +1 -1
  72. package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
  73. package/dist/vue2/lib/contact-centers-row/contact-centers-row.js +40 -36
  74. package/dist/vue2/lib/contact-centers-row/contact-centers-row.js.map +1 -1
  75. package/dist/vue2/lib/contact-row/contact-row.cjs +1 -1
  76. package/dist/vue2/lib/contact-row/contact-row.cjs.map +1 -1
  77. package/dist/vue2/lib/contact-row/contact-row.js +11 -25
  78. package/dist/vue2/lib/contact-row/contact-row.js.map +1 -1
  79. package/dist/vue2/lib/datepicker/datepicker-constants.cjs +1 -1
  80. package/dist/vue2/lib/datepicker/datepicker-constants.cjs.map +1 -1
  81. package/dist/vue2/lib/datepicker/datepicker-constants.js +2 -3
  82. package/dist/vue2/lib/datepicker/datepicker-constants.js.map +1 -1
  83. package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
  84. package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
  85. package/dist/vue2/lib/datepicker/datepicker.js +143 -229
  86. package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
  87. package/dist/vue2/lib/datepicker/utils.cjs +1 -1
  88. package/dist/vue2/lib/datepicker/utils.cjs.map +1 -1
  89. package/dist/vue2/lib/datepicker/utils.js +12 -11
  90. package/dist/vue2/lib/datepicker/utils.js.map +1 -1
  91. package/dist/vue2/lib/description-list/description-list.cjs +1 -1
  92. package/dist/vue2/lib/description-list/description-list.cjs.map +1 -1
  93. package/dist/vue2/lib/description-list/description-list.js +8 -8
  94. package/dist/vue2/lib/description-list/description-list.js.map +1 -1
  95. package/dist/vue2/lib/dropdown/dropdown.cjs +1 -1
  96. package/dist/vue2/lib/dropdown/dropdown.cjs.map +1 -1
  97. package/dist/vue2/lib/dropdown/dropdown.js +48 -50
  98. package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
  99. package/dist/vue2/lib/editor/editor.cjs +1 -1
  100. package/dist/vue2/lib/editor/editor.cjs.map +1 -1
  101. package/dist/vue2/lib/editor/editor.js +78 -87
  102. package/dist/vue2/lib/editor/editor.js.map +1 -1
  103. package/dist/vue2/lib/emoji-picker/emoji-picker-constants.cjs +1 -1
  104. package/dist/vue2/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
  105. package/dist/vue2/lib/emoji-picker/emoji-picker-constants.js +6 -19
  106. package/dist/vue2/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
  107. package/dist/vue2/lib/emoji-picker/emoji-picker.cjs +1 -1
  108. package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  109. package/dist/vue2/lib/emoji-picker/emoji-picker.js +106 -145
  110. package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
  111. package/dist/vue2/lib/emoji-picker/index.cjs +1 -1
  112. package/dist/vue2/lib/emoji-picker/index.js +6 -7
  113. package/dist/vue2/lib/emoji-row/emoji-row-constants.cjs +1 -1
  114. package/dist/vue2/lib/emoji-row/emoji-row-constants.cjs.map +1 -1
  115. package/dist/vue2/lib/emoji-row/emoji-row-constants.js +5 -7
  116. package/dist/vue2/lib/emoji-row/emoji-row-constants.js.map +1 -1
  117. package/dist/vue2/lib/emoji-row/emoji-row.cjs +1 -1
  118. package/dist/vue2/lib/emoji-row/emoji-row.cjs.map +1 -1
  119. package/dist/vue2/lib/emoji-row/emoji-row.js +31 -22
  120. package/dist/vue2/lib/emoji-row/emoji-row.js.map +1 -1
  121. package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs +1 -1
  122. package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
  123. package/dist/vue2/lib/feed-item-pill/feed-item-pill.js +20 -22
  124. package/dist/vue2/lib/feed-item-pill/feed-item-pill.js.map +1 -1
  125. package/dist/vue2/lib/general-row/general-row.cjs +1 -1
  126. package/dist/vue2/lib/general-row/general-row.cjs.map +1 -1
  127. package/dist/vue2/lib/general-row/general-row.js +63 -52
  128. package/dist/vue2/lib/general-row/general-row.js.map +1 -1
  129. package/dist/vue2/lib/group-row/group-row.cjs +1 -1
  130. package/dist/vue2/lib/group-row/group-row.cjs.map +1 -1
  131. package/dist/vue2/lib/group-row/group-row.js +43 -32
  132. package/dist/vue2/lib/group-row/group-row.js.map +1 -1
  133. package/dist/vue2/lib/icon/icon-constants.cjs.map +1 -1
  134. package/dist/vue2/lib/icon/icon-constants.js.map +1 -1
  135. package/dist/vue2/lib/icon/icon.cjs +1 -1
  136. package/dist/vue2/lib/icon/icon.cjs.map +1 -1
  137. package/dist/vue2/lib/icon/icon.js +12 -8
  138. package/dist/vue2/lib/icon/icon.js.map +1 -1
  139. package/dist/vue2/lib/image-viewer/image-viewer.cjs +1 -1
  140. package/dist/vue2/lib/image-viewer/image-viewer.cjs.map +1 -1
  141. package/dist/vue2/lib/image-viewer/image-viewer.js +30 -31
  142. package/dist/vue2/lib/image-viewer/image-viewer.js.map +1 -1
  143. package/dist/vue2/lib/ivr-node/ivr-node-constants.cjs +1 -1
  144. package/dist/vue2/lib/ivr-node/ivr-node-constants.cjs.map +1 -1
  145. package/dist/vue2/lib/ivr-node/ivr-node-constants.js +24 -24
  146. package/dist/vue2/lib/ivr-node/ivr-node-constants.js.map +1 -1
  147. package/dist/vue2/lib/ivr-node/ivr-node.cjs +1 -1
  148. package/dist/vue2/lib/ivr-node/ivr-node.cjs.map +1 -1
  149. package/dist/vue2/lib/ivr-node/ivr-node.js +38 -36
  150. package/dist/vue2/lib/ivr-node/ivr-node.js.map +1 -1
  151. package/dist/vue2/lib/list-item/list-item.cjs +1 -1
  152. package/dist/vue2/lib/list-item/list-item.cjs.map +1 -1
  153. package/dist/vue2/lib/list-item/list-item.js +21 -11
  154. package/dist/vue2/lib/list-item/list-item.js.map +1 -1
  155. package/dist/vue2/lib/loader/index.cjs +2 -0
  156. package/dist/vue2/lib/loader/index.cjs.map +1 -0
  157. package/dist/vue2/lib/loader/index.js +5 -0
  158. package/dist/vue2/lib/loader/index.js.map +1 -0
  159. package/dist/vue2/lib/loader/loader.cjs +2 -0
  160. package/dist/vue2/lib/loader/loader.cjs.map +1 -0
  161. package/dist/vue2/lib/loader/loader.js +48 -0
  162. package/dist/vue2/lib/loader/loader.js.map +1 -0
  163. package/dist/vue2/lib/message-input/message-input-link.cjs +1 -1
  164. package/dist/vue2/lib/message-input/message-input-link.cjs.map +1 -1
  165. package/dist/vue2/lib/message-input/message-input-link.js +48 -23
  166. package/dist/vue2/lib/message-input/message-input-link.js.map +1 -1
  167. package/dist/vue2/lib/message-input/message-input-topbar.cjs +1 -1
  168. package/dist/vue2/lib/message-input/message-input-topbar.cjs.map +1 -1
  169. package/dist/vue2/lib/message-input/message-input-topbar.js +50 -22
  170. package/dist/vue2/lib/message-input/message-input-topbar.js.map +1 -1
  171. package/dist/vue2/lib/message-input/message-input.cjs +1 -1
  172. package/dist/vue2/lib/message-input/message-input.cjs.map +1 -1
  173. package/dist/vue2/lib/message-input/message-input.js +112 -143
  174. package/dist/vue2/lib/message-input/message-input.js.map +1 -1
  175. package/dist/vue2/lib/modal/modal.cjs +1 -2
  176. package/dist/vue2/lib/modal/modal.cjs.map +1 -1
  177. package/dist/vue2/lib/modal/modal.js +25 -42
  178. package/dist/vue2/lib/modal/modal.js.map +1 -1
  179. package/dist/vue2/lib/notice/notice-action.cjs +1 -1
  180. package/dist/vue2/lib/notice/notice-action.cjs.map +1 -1
  181. package/dist/vue2/lib/notice/notice-action.js +19 -26
  182. package/dist/vue2/lib/notice/notice-action.js.map +1 -1
  183. package/dist/vue2/lib/notice/notice.cjs +1 -1
  184. package/dist/vue2/lib/notice/notice.cjs.map +1 -1
  185. package/dist/vue2/lib/notice/notice.js +18 -27
  186. package/dist/vue2/lib/notice/notice.js.map +1 -1
  187. package/dist/vue2/lib/pagination/pagination.cjs +1 -1
  188. package/dist/vue2/lib/pagination/pagination.cjs.map +1 -1
  189. package/dist/vue2/lib/pagination/pagination.js +49 -58
  190. package/dist/vue2/lib/pagination/pagination.js.map +1 -1
  191. package/dist/vue2/lib/popover/popover-header-footer.cjs +1 -1
  192. package/dist/vue2/lib/popover/popover-header-footer.cjs.map +1 -1
  193. package/dist/vue2/lib/popover/popover-header-footer.js +24 -26
  194. package/dist/vue2/lib/popover/popover-header-footer.js.map +1 -1
  195. package/dist/vue2/lib/popover/popover.cjs +1 -1
  196. package/dist/vue2/lib/popover/popover.cjs.map +1 -1
  197. package/dist/vue2/lib/popover/popover.js +26 -35
  198. package/dist/vue2/lib/popover/popover.js.map +1 -1
  199. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +9 -5
  200. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  201. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +543 -475
  202. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  203. package/dist/vue2/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
  204. package/dist/vue2/lib/settings-menu-button/settings-menu-button.js.map +1 -1
  205. package/dist/vue2/lib/time-pill/time-pill.cjs.map +1 -1
  206. package/dist/vue2/lib/time-pill/time-pill.js.map +1 -1
  207. package/dist/vue2/lib/toast/toast.cjs +1 -1
  208. package/dist/vue2/lib/toast/toast.cjs.map +1 -1
  209. package/dist/vue2/lib/toast/toast.js +64 -97
  210. package/dist/vue2/lib/toast/toast.js.map +1 -1
  211. package/dist/vue2/lib/unread-pill/unread-pill.cjs +1 -1
  212. package/dist/vue2/lib/unread-pill/unread-pill.cjs.map +1 -1
  213. package/dist/vue2/lib/unread-pill/unread-pill.js +27 -18
  214. package/dist/vue2/lib/unread-pill/unread-pill.js.map +1 -1
  215. package/dist/vue2/localization/en-US.cjs +185 -0
  216. package/dist/vue2/localization/en-US.cjs.map +1 -0
  217. package/dist/vue2/localization/en-US.js +188 -0
  218. package/dist/vue2/localization/en-US.js.map +1 -0
  219. package/dist/vue2/localization/es-LA.cjs +169 -0
  220. package/dist/vue2/localization/es-LA.cjs.map +1 -0
  221. package/dist/vue2/localization/es-LA.js +172 -0
  222. package/dist/vue2/localization/es-LA.js.map +1 -0
  223. package/dist/vue2/localization/index.cjs +1322 -0
  224. package/dist/vue2/localization/index.cjs.map +1 -0
  225. package/dist/vue2/localization/index.js +1385 -0
  226. package/dist/vue2/localization/index.js.map +1 -0
  227. package/dist/vue2/node_modules/@tiptap/vue-2.cjs.map +1 -1
  228. package/dist/vue2/node_modules/@tiptap/vue-2.js.map +1 -1
  229. package/dist/vue2/shared/sr_only_close_button.cjs +1 -1
  230. package/dist/vue2/shared/sr_only_close_button.cjs.map +1 -1
  231. package/dist/vue2/shared/sr_only_close_button.js +19 -22
  232. package/dist/vue2/shared/sr_only_close_button.js.map +1 -1
  233. package/dist/vue2/types/common/mixins/index.d.ts +1 -1
  234. package/dist/vue2/types/common/mixins/localization.d.ts +8 -0
  235. package/dist/vue2/types/common/mixins/localization.d.ts.map +1 -0
  236. package/dist/vue2/types/common/sr_only_close_button.vue.d.ts +7 -13
  237. package/dist/vue2/types/common/sr_only_close_button.vue.d.ts.map +1 -1
  238. package/dist/vue2/types/common/utils/index.d.ts +1 -0
  239. package/dist/vue2/types/common/utils/index.d.ts.map +1 -1
  240. package/dist/vue2/types/components/banner/banner.vue.d.ts +0 -33
  241. package/dist/vue2/types/components/banner/banner.vue.d.ts.map +1 -1
  242. package/dist/vue2/types/components/breadcrumbs/breadcrumbs.vue.d.ts +5 -1
  243. package/dist/vue2/types/components/button/button.vue.d.ts +6 -2
  244. package/dist/vue2/types/components/chip/chip.vue.d.ts +8 -18
  245. package/dist/vue2/types/components/combobox/combobox_constants.d.ts +2 -2
  246. package/dist/vue2/types/components/combobox/index.d.ts +1 -1
  247. package/dist/vue2/types/components/datepicker/datepicker.vue.d.ts.map +1 -1
  248. package/dist/vue2/types/components/datepicker/datepicker_constants.d.ts +0 -1
  249. package/dist/vue2/types/components/datepicker/datepicker_constants.d.ts.map +1 -1
  250. package/dist/vue2/types/components/datepicker/modules/calendar.vue.d.ts +5 -17
  251. package/dist/vue2/types/components/datepicker/modules/month-year-picker.vue.d.ts +8 -48
  252. package/dist/vue2/types/components/datepicker/utils.d.ts +1 -0
  253. package/dist/vue2/types/components/datepicker/utils.d.ts.map +1 -1
  254. package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts +0 -24
  255. package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
  256. package/dist/vue2/types/components/emoji_picker/emoji_picker.vue.d.ts +5 -1
  257. package/dist/vue2/types/components/emoji_picker/emoji_picker_constants.d.ts +0 -13
  258. package/dist/vue2/types/components/icon/icon.vue.d.ts +1 -0
  259. package/dist/vue2/types/components/icon/icon_constants.d.ts.map +1 -1
  260. package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts +5 -8
  261. package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  262. package/dist/vue2/types/components/list_item/list_item.vue.d.ts +9 -0
  263. package/dist/vue2/types/components/list_item/list_item.vue.d.ts.map +1 -1
  264. package/dist/vue2/types/components/loader/index.d.ts +2 -0
  265. package/dist/vue2/types/components/loader/index.d.ts.map +1 -0
  266. package/dist/vue2/types/components/loader/loader.vue.d.ts +32 -0
  267. package/dist/vue2/types/components/loader/loader.vue.d.ts.map +1 -0
  268. package/dist/vue2/types/components/modal/modal.vue.d.ts +3 -33
  269. package/dist/vue2/types/components/notice/notice.vue.d.ts +1 -34
  270. package/dist/vue2/types/components/notice/notice.vue.d.ts.map +1 -1
  271. package/dist/vue2/types/components/notice/notice_action.vue.d.ts +3 -31
  272. package/dist/vue2/types/components/notice/notice_action.vue.d.ts.map +1 -1
  273. package/dist/vue2/types/components/pagination/pagination.vue.d.ts +9 -26
  274. package/dist/vue2/types/components/pagination/pagination.vue.d.ts.map +1 -1
  275. package/dist/vue2/types/components/popover/popover.vue.d.ts +0 -33
  276. package/dist/vue2/types/components/popover/popover.vue.d.ts.map +1 -1
  277. package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts +8 -11
  278. package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
  279. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +25 -2
  280. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  281. package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +1 -43
  282. package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
  283. package/dist/vue2/types/components/toast/layouts/toast_layout_default.vue.d.ts +1 -34
  284. package/dist/vue2/types/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -1
  285. package/dist/vue2/types/components/toast/toast.vue.d.ts +3 -111
  286. package/dist/vue2/types/components/toast/toast.vue.d.ts.map +1 -1
  287. package/dist/vue2/types/index.d.ts +2 -0
  288. package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +7 -13
  289. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +7 -12
  290. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +8 -10
  291. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  292. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +7 -7
  293. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node_constants.d.ts.map +1 -1
  294. package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +1 -25
  295. package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  296. package/dist/vue2/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -25
  297. package/dist/vue2/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
  298. package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +5 -41
  299. package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
  300. package/dist/vue2/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +8 -26
  301. package/dist/vue2/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +2 -2
  302. package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts +20 -61
  303. package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  304. package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +6 -1
  305. package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row_constants.d.ts.map +1 -1
  306. package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +10 -13
  307. package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
  308. package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +8 -2
  309. package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
  310. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +15 -90
  311. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  312. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +14 -2
  313. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +14 -1
  314. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
  315. package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +10 -11
  316. package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
  317. package/dist/vue2/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +0 -18
  318. package/dist/vue2/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
  319. package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +21 -37
  320. package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  321. package/dist/vue2/types/recipes/leftbar/group_row/group_row.vue.d.ts +9 -18
  322. package/dist/vue2/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
  323. package/dist/vue2/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +7 -1
  324. package/dist/vue2/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
  325. package/dist/vue3/component-documentation.json +1 -1
  326. package/dist/vue3/dialtone-vue.cjs +1 -1
  327. package/dist/vue3/dialtone-vue.js +208 -206
  328. package/dist/vue3/dialtone-vue.js.map +1 -1
  329. package/dist/vue3/lib/list-item/list-item.cjs +1 -1
  330. package/dist/vue3/lib/list-item/list-item.cjs.map +1 -1
  331. package/dist/vue3/lib/list-item/list-item.js +35 -30
  332. package/dist/vue3/lib/list-item/list-item.js.map +1 -1
  333. package/dist/vue3/lib/loader/index.cjs +2 -0
  334. package/dist/vue3/lib/loader/index.cjs.map +1 -0
  335. package/dist/vue3/lib/loader/index.js +5 -0
  336. package/dist/vue3/lib/loader/index.js.map +1 -0
  337. package/dist/vue3/lib/loader/loader.cjs +2 -0
  338. package/dist/vue3/lib/loader/loader.cjs.map +1 -0
  339. package/dist/vue3/lib/loader/loader.js +48 -0
  340. package/dist/vue3/lib/loader/loader.js.map +1 -0
  341. package/dist/vue3/lib/message-input/message-input.cjs +1 -1
  342. package/dist/vue3/lib/message-input/message-input.cjs.map +1 -1
  343. package/dist/vue3/lib/message-input/message-input.js +2 -1
  344. package/dist/vue3/lib/message-input/message-input.js.map +1 -1
  345. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +8 -4
  346. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  347. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +301 -235
  348. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  349. package/dist/vue3/types/components/list_item/list_item.vue.d.ts +10 -2
  350. package/dist/vue3/types/components/loader/index.d.ts +2 -0
  351. package/dist/vue3/types/components/loader/index.d.ts.map +1 -0
  352. package/dist/vue3/types/components/loader/loader.vue.d.ts +26 -0
  353. package/dist/vue3/types/components/loader/loader.vue.d.ts.map +1 -0
  354. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +19 -0
  355. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  356. package/dist/vue3/types/components/toggle/toggle.vue.d.ts +1 -1
  357. package/dist/vue3/types/index.d.ts +1 -0
  358. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  359. package/package.json +4 -3
  360. package/dist/vue2/common/mixins/sr-only-close-button.cjs +0 -3
  361. package/dist/vue2/common/mixins/sr-only-close-button.cjs.map +0 -1
  362. package/dist/vue2/common/mixins/sr-only-close-button.js +0 -44
  363. package/dist/vue2/common/mixins/sr-only-close-button.js.map +0 -1
  364. package/dist/vue2/lib/contact-row/contact-row-constants.cjs +0 -2
  365. package/dist/vue2/lib/contact-row/contact-row-constants.cjs.map +0 -1
  366. package/dist/vue2/lib/contact-row/contact-row-constants.js +0 -5
  367. package/dist/vue2/lib/contact-row/contact-row-constants.js.map +0 -1
  368. package/dist/vue2/lib/emoji/emoji-constants.cjs +0 -2
  369. package/dist/vue2/lib/emoji/emoji-constants.cjs.map +0 -1
  370. package/dist/vue2/lib/emoji/emoji-constants.js +0 -5
  371. package/dist/vue2/lib/emoji/emoji-constants.js.map +0 -1
  372. package/dist/vue2/lib/group-row/group-row-constants.cjs +0 -2
  373. package/dist/vue2/lib/group-row/group-row-constants.cjs.map +0 -1
  374. package/dist/vue2/lib/group-row/group-row-constants.js +0 -8
  375. package/dist/vue2/lib/group-row/group-row-constants.js.map +0 -1
  376. package/dist/vue2/lib/time-pill/time-pill-constants.cjs +0 -2
  377. package/dist/vue2/lib/time-pill/time-pill-constants.cjs.map +0 -1
  378. package/dist/vue2/lib/time-pill/time-pill-constants.js +0 -8
  379. package/dist/vue2/lib/time-pill/time-pill-constants.js.map +0 -1
  380. package/dist/vue2/types/common/mixins/sr_only_close_button.d.ts +0 -30
  381. package/dist/vue2/types/common/mixins/sr_only_close_button.d.ts.map +0 -1
  382. package/dist/vue2/types/components/emoji/emoji_constants.d.ts +0 -3
  383. package/dist/vue2/types/components/emoji/emoji_constants.d.ts.map +0 -1
  384. package/dist/vue2/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts +0 -6
  385. package/dist/vue2/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts.map +0 -1
  386. package/dist/vue2/types/recipes/leftbar/contact_row/contact_row_constants.d.ts +0 -3
  387. package/dist/vue2/types/recipes/leftbar/contact_row/contact_row_constants.d.ts.map +0 -1
  388. package/dist/vue2/types/recipes/leftbar/group_row/group_row_constants.d.ts +0 -6
  389. package/dist/vue2/types/recipes/leftbar/group_row/group_row_constants.d.ts.map +0 -1
@@ -1,17 +1,18 @@
1
- import { EMOJI_PICKER_CATEGORIES as c, CDN_URL as d, EMOJIS_PER_ROW as a, EMOJI_PICKER_SKIN_TONE_MODIFIERS as h } from "./emoji-picker-constants.js";
2
- import { DtIconClock as b, DtIconSatisfied as j, DtIconLivingThing as k, DtIconFood as _, DtIconObject as y, DtIconTransportation as g, DtIconLightbulb as S, DtIconHeart as R, DtIconFlag as E, DtIconTiktok as $, DtIconSearch as T, DtIconClose as v } from "@dialpad/dialtone-icons/vue2";
3
- import { n as u } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
4
- import L from "../tab/tab-group.js";
5
- import w from "../tab/tab.js";
6
- import I from "../input/input.js";
7
- import p from "../button/button.js";
8
- import { emojisGrouped as C } from "@dialpad/dialtone-emojis";
9
- import D from "../tooltip/tooltip.js";
10
- const A = {
1
+ import { DtIconClock as _, DtIconSatisfied as b, DtIconLivingThing as p, DtIconFood as E, DtIconObject as j, DtIconTransportation as k, DtIconLightbulb as S, DtIconHeart as g, DtIconFlag as y, DtIconTiktok as R, DtIconSearch as L, DtIconClose as T } from "@dialpad/dialtone-icons/vue2";
2
+ import { n as h } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
3
+ import $ from "../tab/tab-group.js";
4
+ import I from "../tab/tab.js";
5
+ import v from "../input/input.js";
6
+ import d from "../button/button.js";
7
+ import { emojisGrouped as A } from "@dialpad/dialtone-emojis";
8
+ import { CDN_URL as m, EMOJIS_PER_ROW as a, EMOJI_PICKER_SKIN_TONE_MODIFIERS as f } from "./emoji-picker-constants.js";
9
+ import w from "../tooltip/tooltip.js";
10
+ import C from "../../common/mixins/localization.js";
11
+ const O = {
11
12
  name: "EmojiTabset",
12
13
  components: {
13
- DtTabGroup: L,
14
- DtTab: w
14
+ DtTabGroup: $,
15
+ DtTab: I
15
16
  },
16
17
  props: {
17
18
  /**
@@ -50,16 +51,16 @@ const A = {
50
51
  selectedTab: "1",
51
52
  tabsetRef: [],
52
53
  TABS_DATA: [
53
- { label: c.MOST_RECENTLY_USED, icon: b },
54
- { label: c.SMILEYS_AND_PEOPLE, icon: j },
55
- { label: c.NATURE, icon: k },
56
- { label: c.FOOD, icon: _ },
57
- { label: c.ACTIVITY, icon: y },
58
- { label: c.TRAVEL, icon: g },
59
- { label: c.OBJECTS, icon: S },
60
- { label: c.SYMBOLS, icon: R },
61
- { label: c.FLAGS, icon: E },
62
- { label: c.CUSTOM, icon: $ }
54
+ { label: this.tabSetLabels[0], icon: _ },
55
+ { label: this.tabSetLabels[1], icon: b },
56
+ { label: this.tabSetLabels[2], icon: p },
57
+ { label: this.tabSetLabels[3], icon: E },
58
+ { label: this.tabSetLabels[4], icon: j },
59
+ { label: this.tabSetLabels[5], icon: k },
60
+ { label: this.tabSetLabels[6], icon: S },
61
+ { label: this.tabSetLabels[7], icon: g },
62
+ { label: this.tabSetLabels[8], icon: y },
63
+ { label: this.tabSetLabels[9], icon: R }
63
64
  ]
64
65
  };
65
66
  },
@@ -68,7 +69,6 @@ const A = {
68
69
  const t = this.showRecentlyUsedTab ? this.TABS_DATA : this.TABS_DATA.slice(1);
69
70
  return this.showCustomEmojisTab || t.pop(), t.map((e, i) => ({
70
71
  ...e,
71
- label: this.tabSetLabels[i],
72
72
  // IDs on dt-tab component need to be on string
73
73
  id: (i + 1).toString(),
74
74
  panelId: (i + 1).toString()
@@ -111,29 +111,29 @@ const A = {
111
111
  }
112
112
  }
113
113
  };
114
- var F = function() {
114
+ var D = function() {
115
115
  var e = this, i = e._self._c;
116
- return i("div", { staticClass: "d-emoji-picker__tabset" }, [i("dt-tab-group", { attrs: { size: "sm", "tab-list-class": "d-emoji-picker__tabset-list", selected: e.selectedTab }, scopedSlots: e._u([{ key: "tabs", fn: function() {
116
+ return i("div", { staticClass: "d-emoji-picker__tabset" }, [i("dt-tab-group", { attrs: { selected: e.selectedTab, size: "sm", "tab-list-class": "d-emoji-picker__tabset-list" }, scopedSlots: e._u([{ key: "tabs", fn: function() {
117
117
  return e._l(e.tabs, function(s, o) {
118
- return i("dt-tab", { key: s.id, ref: `tabsetRef-${o}`, refInFor: !0, attrs: { id: s.id, "panel-id": s.panelId, label: s.label, "aria-controls": "d-emoji-picker-list", tabindex: o + 1 }, on: { "!click": function(r) {
119
- return r.stopPropagation(), e.selectTabset(s.id);
120
- }, keydown: function(r) {
118
+ return i("dt-tab", { key: s.id, ref: `tabsetRef-${o}`, refInFor: !0, attrs: { id: s.id, label: s.label, "panel-id": s.panelId, tabindex: o + 1, "aria-controls": "d-emoji-picker-list" }, on: { keydown: function(r) {
121
119
  return e.handleKeyDown(r, s.id);
120
+ }, "!click": function(r) {
121
+ return r.stopPropagation(), e.selectTabset(s.id);
122
122
  } } }, [i(s.icon, { tag: "component", attrs: { size: "400" } })], 1);
123
123
  });
124
124
  }, proxy: !0 }]) })], 1);
125
- }, O = [], U = /* @__PURE__ */ u(
126
- A,
127
- F,
128
- O
125
+ }, F = [], B = /* @__PURE__ */ h(
126
+ O,
127
+ D,
128
+ F
129
129
  );
130
- const N = U.exports, K = {
130
+ const N = B.exports, K = {
131
131
  name: "EmojiSearch",
132
132
  components: {
133
- DtInput: I,
134
- DtIconSearch: T,
135
- DtIconClose: v,
136
- DtButton: p
133
+ DtInput: v,
134
+ DtIconSearch: L,
135
+ DtIconClose: T,
136
+ DtButton: d
137
137
  },
138
138
  props: {
139
139
  searchPlaceholderLabel: {
@@ -169,7 +169,7 @@ const N = U.exports, K = {
169
169
  }
170
170
  }
171
171
  };
172
- var B = function() {
172
+ var P = function() {
173
173
  var e = this, i = e._self._c;
174
174
  return i("div", { staticClass: "d-emoji-picker__search d-emoji-picker__alignment" }, [i("dt-input", { ref: "searchInputRef", attrs: { id: "searchInput", placeholder: e.searchPlaceholderLabel, value: e.modelValue }, on: { input: e.updateModelValue, keydown: [function(s) {
175
175
  return !s.type.indexOf("key") && e._k(s.keyCode, "up", 38, s.key, ["Up", "ArrowUp"]) ? null : e.focusTabset.apply(null, arguments);
@@ -184,12 +184,12 @@ var B = function() {
184
184
  return [i("dt-icon-close", { attrs: { size: "200" } })];
185
185
  }, proxy: !0 }], null, !1, 4156074325) })];
186
186
  }, proxy: !0 } : null], null, !0) })], 1);
187
- }, P = [], q = /* @__PURE__ */ u(
187
+ }, M = [], U = /* @__PURE__ */ h(
188
188
  K,
189
- B,
190
- P
189
+ P,
190
+ M
191
191
  );
192
- const M = q.exports, z = {
192
+ const J = U.exports, H = {
193
193
  name: "EmojiSelector",
194
194
  props: {
195
195
  emojiFilter: {
@@ -253,10 +253,10 @@ const M = q.exports, z = {
253
253
  ];
254
254
  },
255
255
  emojis() {
256
- return C;
256
+ return A;
257
257
  },
258
258
  CDN_URL() {
259
- return d;
259
+ return m;
260
260
  },
261
261
  tabLabels() {
262
262
  let t = this.tabSetLabels.map((e) => ({ label: e }));
@@ -396,13 +396,13 @@ const M = q.exports, z = {
396
396
  if (t.preventDefault(), t.key === "ArrowUp") {
397
397
  const n = i % a;
398
398
  if (e === 0) {
399
- const l = a - this.emojiRefs[this.emojiRefs.length - 1].length % a, f = this.emojiRefs[this.emojiRefs.length - 1].length + l - (a - n);
400
- this.focusEmoji(this.emojiRefs.length - 1, f) || this.focusEmoji(this.emojiRefs.length - 1, this.emojiRefs[this.emojiRefs.length - 1].length - 1);
399
+ const l = a - this.emojiRefs[this.emojiRefs.length - 1].length % a, c = this.emojiRefs[this.emojiRefs.length - 1].length + l - (a - n);
400
+ this.focusEmoji(this.emojiRefs.length - 1, c) || this.focusEmoji(this.emojiRefs.length - 1, this.emojiRefs[this.emojiRefs.length - 1].length - 1);
401
401
  return;
402
402
  }
403
403
  if (!this.focusEmoji(e, i - a)) {
404
- const l = e - 1 < 0 ? 0 : e - 1, f = this.emojiRefs[l].length, m = f - f % a + n;
405
- this.focusEmoji(l, m) || this.focusEmoji(e - 1, this.emojiRefs[e - 1].length - 1);
404
+ const l = e - 1 < 0 ? 0 : e - 1, c = this.emojiRefs[l].length, u = c - c % a + n;
405
+ this.focusEmoji(l, u) || this.focusEmoji(e - 1, this.emojiRefs[e - 1].length - 1);
406
406
  }
407
407
  }
408
408
  if (t.key === "ArrowDown" && !this.focusEmoji(e, i + a)) {
@@ -455,9 +455,9 @@ const M = q.exports, z = {
455
455
  setTabLabelObserver() {
456
456
  this.tabLabelObserver = new IntersectionObserver((t) => {
457
457
  t.forEach((e) => {
458
- var o, r, n, l, f, m;
458
+ var o, r, n, l, c, u;
459
459
  const { target: i } = e, s = parseInt(i.dataset.index);
460
- e.isIntersecting && i.offsetTop <= ((o = this.$refs.tabCategoryRef) == null ? void 0 : o.offsetTop) + 50 ? (this.fixedLabel = ((r = this.tabLabels[s - 1]) == null ? void 0 : r.label) ?? ((n = this.tabLabels[0]) == null ? void 0 : n.label), this.$emit("scroll-into-tab", s - 1)) : e.boundingClientRect.bottom <= ((l = this.$refs.tabCategoryRef) == null ? void 0 : l.getBoundingClientRect().bottom) ? (this.$emit("scroll-into-tab", s), this.fixedLabel = (f = this.tabLabels[s]) == null ? void 0 : f.label) : s === 1 && (this.$emit("scroll-into-tab", s), this.fixedLabel = (m = this.tabLabels[0]) == null ? void 0 : m.label);
460
+ e.isIntersecting && i.offsetTop <= ((o = this.$refs.tabCategoryRef) == null ? void 0 : o.offsetTop) + 50 ? (this.fixedLabel = ((r = this.tabLabels[s - 1]) == null ? void 0 : r.label) ?? ((n = this.tabLabels[0]) == null ? void 0 : n.label), this.$emit("scroll-into-tab", s - 1)) : e.boundingClientRect.bottom <= ((l = this.$refs.tabCategoryRef) == null ? void 0 : l.getBoundingClientRect().bottom) ? (this.$emit("scroll-into-tab", s), this.fixedLabel = (c = this.tabLabels[s]) == null ? void 0 : c.label) : s === 1 && (this.$emit("scroll-into-tab", s), this.fixedLabel = (u = this.tabLabels[0]) == null ? void 0 : u.label);
461
461
  });
462
462
  }), this.tabLabelObserver.observe(this.$refs.tabCategoryRef), Array.from(this.$refs.listRef.children).forEach((t, e) => {
463
463
  this.tabLabelObserver.observe(t), t.dataset.index = e;
@@ -468,7 +468,7 @@ const M = q.exports, z = {
468
468
  }
469
469
  }
470
470
  };
471
- var H = function() {
471
+ var z = function() {
472
472
  var e = this, i = e._self._c;
473
473
  return i("div", { staticClass: "d-emoji-picker__selector" }, [i("div", { ref: "listRef", staticClass: "d-emoji-picker__list", attrs: { id: "d-emoji-picker-list" } }, [e.emojiFilter ? i("p", { staticClass: "d-emoji-picker__search-label d-emoji-picker__alignment" }, [e._v(" " + e._s(e.filteredEmojis.length > 0 ? e.searchResultsLabel : e.searchNoResultsLabel) + " ")]) : i("div", { ref: "tabCategoryRef", staticClass: "d-emoji-picker__category d-emoji-picker__alignment" }, [i("p", [e._v(" " + e._s(e.fixedLabel) + " ")])]), e._l(e.tabLabels, function(s, o) {
474
474
  return i("div", { directives: [{ name: "show", rawName: "v-show", value: !e.emojiFilter, expression: "!emojiFilter" }], key: o, ref: `tabLabelRef-${o}`, refInFor: !0, staticClass: "d-emoji-picker__alignment" }, [o ? i("p", [e._v(" " + e._s(s.label) + " ")]) : e._e(), i("div", { staticClass: "d-emoji-picker__tab" }, e._l(e.emojis[e.tabs[o] + e.skinTone] ? e.emojis[e.tabs[o] + e.skinTone] : e.emojis[e.tabs[o]], function(r, n) {
@@ -495,12 +495,12 @@ var H = function() {
495
495
  return e.hoverEmoji(null);
496
496
  }, keydown: (r) => e.handleKeyDownFilteredEmojis(r, o, s) } }, [i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: s.name, "aria-label": s.name, title: s.name, src: `${e.CDN_URL + s.unicode_character}.png` } })]);
497
497
  }), 0)]) : e._e()], 2)]);
498
- }, Q = [], V = /* @__PURE__ */ u(
499
- z,
498
+ }, q = [], Q = /* @__PURE__ */ h(
500
499
  H,
501
- Q
500
+ z,
501
+ q
502
502
  );
503
- const G = V.exports, J = {
503
+ const V = Q.exports, G = {
504
504
  name: "EmojiDescription",
505
505
  props: {
506
506
  /**
@@ -515,12 +515,12 @@ const G = V.exports, J = {
515
515
  },
516
516
  data() {
517
517
  return {
518
- CDN_URL: d
518
+ CDN_URL: m
519
519
  };
520
520
  },
521
521
  methods: {
522
522
  getImgSrc(t) {
523
- return t.date_added ? t.image : `${d + t.unicode_character}.png`;
523
+ return t.date_added ? t.image : `${m + t.unicode_character}.png`;
524
524
  }
525
525
  }
526
526
  };
@@ -528,15 +528,15 @@ var Y = function() {
528
528
  var s;
529
529
  var e = this, i = e._self._c;
530
530
  return i("div", { staticClass: "d-emoji-picker__data" }, [e.emoji ? i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: e.emoji.name, "aria-label": e.emoji.name, title: e.emoji.name, src: e.getImgSrc(e.emoji) } }) : e._e(), i("div", [e._v(e._s((s = e.emoji) == null ? void 0 : s.name))])]);
531
- }, W = [], X = /* @__PURE__ */ u(
532
- J,
531
+ }, W = [], X = /* @__PURE__ */ h(
532
+ G,
533
533
  Y,
534
534
  W
535
535
  );
536
536
  const Z = X.exports, x = {
537
537
  name: "EmojiSkinSelector",
538
538
  components: {
539
- DtTooltip: D
539
+ DtTooltip: w
540
540
  },
541
541
  props: {
542
542
  skinTone: {
@@ -557,7 +557,7 @@ const Z = X.exports, x = {
557
557
  isOpen: !1,
558
558
  skinSelected: null,
559
559
  skinsRef: [],
560
- cdnUrl: d
560
+ cdnUrl: m
561
561
  };
562
562
  },
563
563
  computed: {
@@ -569,37 +569,37 @@ const Z = X.exports, x = {
569
569
  {
570
570
  name: ":wave_tone1:",
571
571
  unicode_output: "1f44b-1f3fb",
572
- skinTone: h.LIGHT,
572
+ skinTone: f.LIGHT,
573
573
  skinCode: "_tone1"
574
574
  },
575
575
  {
576
576
  name: ":wave_tone2:",
577
577
  unicode_output: "1f44b-1f3fc",
578
- skinTone: h.MEDIUM_LIGHT,
578
+ skinTone: f.MEDIUM_LIGHT,
579
579
  skinCode: "_tone2"
580
580
  },
581
581
  {
582
582
  name: ":wave_tone3:",
583
583
  unicode_output: "1f44b-1f3fd",
584
- skinTone: h.MEDIUM,
584
+ skinTone: f.MEDIUM,
585
585
  skinCode: "_tone3"
586
586
  },
587
587
  {
588
588
  name: ":wave_tone4:",
589
589
  unicode_output: "1f44b-1f3fe",
590
- skinTone: h.MEDIUM_DARK,
590
+ skinTone: f.MEDIUM_DARK,
591
591
  skinCode: "_tone4"
592
592
  },
593
593
  {
594
594
  name: ":wave_tone5:",
595
595
  unicode_output: "1f44b-1f3ff",
596
- skinTone: h.DARK,
596
+ skinTone: f.DARK,
597
597
  skinCode: "_tone5"
598
598
  },
599
599
  {
600
600
  name: ":wave:",
601
601
  unicode_output: "1f44b",
602
- skinTone: h.DEFAULT,
602
+ skinTone: f.DEFAULT,
603
603
  skinCode: ""
604
604
  }
605
605
  ];
@@ -657,7 +657,7 @@ var ee = function() {
657
657
  var s, o, r, n;
658
658
  return [i("button", { ref: "skinSelectorRef", attrs: { "aria-label": e.skinSelectorButtonTooltipLabel, tabindex: "-1" }, on: { click: e.toggleSkinList, keydown: (l) => e.handleKeyDown(l) } }, [i("img", { staticClass: "d-icon d-icon--size-500", attrs: { alt: (s = e.skinSelected) == null ? void 0 : s.name, "aria-label": (o = e.skinSelected) == null ? void 0 : o.name, title: (r = e.skinSelected) == null ? void 0 : r.name, src: `${e.cdnUrl + ((n = e.skinSelected) == null ? void 0 : n.unicode_output)}.png` } })])];
659
659
  }, proxy: !0 }]) }, [e._v(" " + e._s(e.skinSelectorButtonTooltipLabel) + " ")])], 1)]);
660
- }, te = [], se = /* @__PURE__ */ u(
660
+ }, te = [], se = /* @__PURE__ */ h(
661
661
  x,
662
662
  ee,
663
663
  te
@@ -666,12 +666,13 @@ const ie = se.exports, oe = {
666
666
  name: "DtEmojiPicker",
667
667
  components: {
668
668
  EmojiTabset: N,
669
- EmojiSearch: M,
670
- EmojiSelector: G,
669
+ EmojiSearch: J,
670
+ EmojiSelector: V,
671
671
  EmojiDescription: Z,
672
672
  EmojiSkinSelector: ie,
673
- DtButton: p
673
+ DtButton: d
674
674
  },
675
+ mixins: [C],
675
676
  props: {
676
677
  /**
677
678
  * The array with recently used emoji object
@@ -683,7 +684,8 @@ const ie = se.exports, oe = {
683
684
  */
684
685
  // TODO try to simplify this to achieve an array of unicode characters and not an entire emoji data object
685
686
  recentlyUsedEmojis: {
686
- type: Array
687
+ type: Array,
688
+ default: () => []
687
689
  },
688
690
  /**
689
691
  * The array with custom emojis object
@@ -696,65 +698,6 @@ const ie = se.exports, oe = {
696
698
  customEmojis: {
697
699
  type: Array
698
700
  },
699
- /**
700
- * The label for the add emoji button
701
- * required false because it is still experimental
702
- * @type {String}
703
- * @example
704
- * <dt-emoji-picker :addEmojiLabel="'Add emoji'" />
705
- */
706
- addEmojiLabel: {
707
- type: String,
708
- required: !1,
709
- default: "Add emoji"
710
- },
711
- /**
712
- * The placeholder text for the search input
713
- * @type {String}
714
- * @required
715
- * @example
716
- * <dt-emoji-picker :searchPlaceholderLabel="'Search...'" />
717
- */
718
- searchPlaceholderLabel: {
719
- type: String,
720
- required: !0
721
- },
722
- /**
723
- * The label for the search results tab
724
- * @type {String}
725
- * @required
726
- * @example
727
- * <dt-emoji-picker :searchResultsLabel="'Search results'" />
728
- */
729
- searchResultsLabel: {
730
- type: String,
731
- required: !0
732
- },
733
- /**
734
- * The label for the search no results
735
- * @type {String}
736
- * @required
737
- * @example
738
- * <dt-emoji-picker :searchNoResultsLabel="'No results'" />
739
- */
740
- searchNoResultsLabel: {
741
- type: String,
742
- required: !0
743
- },
744
- /**
745
- * The list of tabsets to show, it is necessary to be updated with the correct language
746
- * It must respect the provided order.
747
- * @type {Array}
748
- * @required
749
- * @example
750
- * <dt-emoji-picker
751
- * :tabSetLabels="['Most recently used', 'Smileys and people', 'Nature',
752
- * 'Food', 'Activity', 'Travel', 'Objects', 'Symbols', 'Flags', 'Custom']" />
753
- */
754
- tabSetLabels: {
755
- type: Array,
756
- required: !0
757
- },
758
701
  /**
759
702
  * The skin tone to show the emojis
760
703
  * This prop gives the possibility to use the skin tone selected by the user previously
@@ -768,17 +711,6 @@ const ie = se.exports, oe = {
768
711
  type: String,
769
712
  default: "Default"
770
713
  },
771
- /**
772
- * Tooltip shown when skin selector button is hovered.
773
- * @type {String}
774
- * @required
775
- * @example
776
- * <dt-emoji-picker :skin-selector-button-tooltip-label="'Change default skin tone'" />
777
- */
778
- skinSelectorButtonTooltipLabel: {
779
- type: String,
780
- required: !0
781
- },
782
714
  /**
783
715
  * Sets the search query that filters emojis.
784
716
  * @type {String}
@@ -816,6 +748,35 @@ const ie = se.exports, oe = {
816
748
  showRecentlyUsedTab() {
817
749
  var t;
818
750
  return ((t = this.recentlyUsedEmojis) == null ? void 0 : t.length) > 0;
751
+ },
752
+ tabSetLabels() {
753
+ return [
754
+ this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL"),
755
+ this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL"),
756
+ this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL"),
757
+ this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL"),
758
+ this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL"),
759
+ this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL"),
760
+ this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL"),
761
+ this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL"),
762
+ this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL"),
763
+ this.i18n.$t("DIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL")
764
+ ];
765
+ },
766
+ searchPlaceholderLabel() {
767
+ return this.i18n.$t("DIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL");
768
+ },
769
+ searchResultsLabel() {
770
+ return this.i18n.$t("DIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL");
771
+ },
772
+ searchNoResultsLabel() {
773
+ return this.i18n.$t("DIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL");
774
+ },
775
+ skinSelectorButtonTooltipLabel() {
776
+ return this.i18n.$t("DIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL");
777
+ },
778
+ addEmojiLabel() {
779
+ return this.i18n.$t("DIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL");
819
780
  }
820
781
  },
821
782
  watch: {
@@ -872,13 +833,13 @@ var re = function() {
872
833
  } }, nativeOn: { keydown: function(s) {
873
834
  return !s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]) ? null : e.$emit("close");
874
835
  } } })], 1)]);
875
- }, ne = [], le = /* @__PURE__ */ u(
836
+ }, ne = [], le = /* @__PURE__ */ h(
876
837
  oe,
877
838
  re,
878
839
  ne
879
840
  );
880
- const je = le.exports;
841
+ const Ee = le.exports;
881
842
  export {
882
- je as default
843
+ Ee as default
883
844
  };
884
845
  //# sourceMappingURL=emoji-picker.js.map