@dialpad/dialtone 9.126.5 → 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 +29906 -29906
  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 +3 -3
  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 +65 -65
  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 +4 -4
  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 -185
  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 +2 -2
  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,14 +1,15 @@
1
- import { ref as k, onMounted as ue, openBlock as h, createElementBlock as R, createVNode as O, unref as $, withKeys as P, withModifiers as ce, createSlots as Re, withCtx as U, computed as M, watch as N, Fragment as W, renderList as J, createBlock as Z, resolveDynamicComponent as we, nextTick as x, onBeforeUnmount as Te, createElementVNode as _, toDisplayString as H, withDirectives as oe, createCommentVNode as Y, vShow as le, normalizeClass as fe, watchEffect as re, createTextVNode as de } from "vue";
2
- import { DtIconSearch as $e, DtIconClose as _e, DtIconClock as Le, DtIconSatisfied as Ie, DtIconLivingThing as Fe, DtIconFood as Ae, DtIconObject as Ce, DtIconTransportation as De, DtIconLightbulb as Oe, DtIconHeart as Ke, DtIconFlag as Ne, DtIconTiktok as Ue } from "@dialpad/dialtone-icons/vue3";
3
- import Me from "../input/input.js";
4
- import me from "../button/button.js";
5
- import { returnFirstEl as Be } from "../../common/utils/index.js";
6
- import { EMOJI_PICKER_CATEGORIES as D, ARROW_KEYS as z, EMOJIS_PER_ROW as L, CDN_URL as Q, EMOJI_PICKER_SKIN_TONE_MODIFIERS as V } from "./emoji-picker-constants.js";
7
- import qe from "../tab/tab-group.js";
8
- import Pe from "../tab/tab.js";
9
- import { emojisGrouped as F } from "@dialpad/dialtone-emojis";
10
- import Ve from "../tooltip/tooltip.js";
11
- const ze = { class: "d-emoji-picker__search d-emoji-picker__alignment" }, He = {
1
+ import { ref as S, onMounted as re, openBlock as E, createElementBlock as j, createVNode as B, unref as k, withKeys as J, withModifiers as ue, createSlots as ye, withCtx as N, computed as M, watch as K, Fragment as W, renderList as G, createBlock as Z, resolveDynamicComponent as Le, nextTick as x, onBeforeUnmount as Te, createElementVNode as A, toDisplayString as z, withDirectives as te, createCommentVNode as Y, vShow as oe, normalizeClass as ce, watchEffect as ae, createTextVNode as fe } from "vue";
2
+ import { DtIconSearch as Ie, DtIconClose as je, DtIconClock as Re, DtIconSatisfied as Ae, DtIconLivingThing as $e, DtIconFood as we, DtIconObject as Oe, DtIconTransportation as Ce, DtIconLightbulb as De, DtIconHeart as Fe, DtIconFlag as Be, DtIconTiktok as Ke } from "@dialpad/dialtone-icons/vue3";
3
+ import Ne from "../input/input.js";
4
+ import de from "../button/button.js";
5
+ import { returnFirstEl as Me } from "../../common/utils/index.js";
6
+ import Pe from "../tab/tab-group.js";
7
+ import Ue from "../tab/tab.js";
8
+ import { emojisGrouped as C } from "@dialpad/dialtone-emojis";
9
+ import { ARROW_KEYS as H, EMOJIS_PER_ROW as $, CDN_URL as Q, EMOJI_PICKER_SKIN_TONE_MODIFIERS as V } from "./emoji-picker-constants.js";
10
+ import Je from "../tooltip/tooltip.js";
11
+ import { DialtoneLocalization as Ve } from "../../localization/index.js";
12
+ const He = { class: "d-emoji-picker__search d-emoji-picker__alignment" }, ze = {
12
13
  __name: "emoji_search",
13
14
  props: {
14
15
  searchPlaceholderLabel: {
@@ -22,49 +23,49 @@ const ze = { class: "d-emoji-picker__search d-emoji-picker__alignment" }, He = {
22
23
  },
23
24
  emits: ["update:modelValue", "focus-emoji-selector", "focus-tabset", "select-first-emoji"],
24
25
  setup(o, { expose: g, emit: y }) {
25
- const n = y, u = k(null);
26
- function T() {
27
- n("update:modelValue", ""), p();
26
+ const l = y, f = S(null);
27
+ function R() {
28
+ l("update:modelValue", ""), L();
28
29
  }
29
- function p() {
30
- u.value.focus();
30
+ function L() {
31
+ f.value.focus();
31
32
  }
32
- return ue(() => {
33
- p();
33
+ return re(() => {
34
+ L();
34
35
  }), g({
35
- focusSearchInput: p
36
- }), (j, f) => (h(), R("div", ze, [
37
- O($(Me), {
36
+ focusSearchInput: L
37
+ }), (I, m) => (E(), j("div", He, [
38
+ B(k(Ne), {
38
39
  id: "searchInput",
39
40
  ref_key: "searchInput",
40
- ref: u,
41
+ ref: f,
41
42
  placeholder: o.searchPlaceholderLabel,
42
43
  "model-value": o.modelValue,
43
- "onUpdate:modelValue": f[0] || (f[0] = (i) => j.$emit("update:modelValue", i)),
44
+ "onUpdate:modelValue": m[0] || (m[0] = (a) => I.$emit("update:modelValue", a)),
44
45
  onKeydown: [
45
- f[1] || (f[1] = P((i) => j.$emit("focus-tabset"), ["up"])),
46
- f[2] || (f[2] = P(ce((i) => j.$emit("focus-emoji-selector"), ["prevent"]), ["down"])),
47
- f[3] || (f[3] = P((i) => j.$emit("select-first-emoji"), ["enter"]))
46
+ m[1] || (m[1] = J((a) => I.$emit("focus-tabset"), ["up"])),
47
+ m[2] || (m[2] = J(ue((a) => I.$emit("focus-emoji-selector"), ["prevent"]), ["down"])),
48
+ m[3] || (m[3] = J((a) => I.$emit("select-first-emoji"), ["enter"]))
48
49
  ]
49
- }, Re({
50
- leftIcon: U(() => [
51
- O($($e), { size: "200" })
50
+ }, ye({
51
+ leftIcon: N(() => [
52
+ B(k(Ie), { size: "200" })
52
53
  ]),
53
54
  _: 2
54
55
  }, [
55
56
  o.modelValue.length > 0 ? {
56
57
  name: "rightIcon",
57
- fn: U(() => [
58
- O($(me), {
58
+ fn: N(() => [
59
+ B(k(de), {
59
60
  importance: "clear",
60
61
  size: "xs",
61
62
  class: "d-emoji-picker__search-x-button",
62
63
  circle: "",
63
64
  kind: "muted",
64
- onClick: T
65
+ onClick: R
65
66
  }, {
66
- icon: U(() => [
67
- O($(_e), { size: "200" })
67
+ icon: N(() => [
68
+ B(k(je), { size: "200" })
68
69
  ]),
69
70
  _: 1
70
71
  })
@@ -74,7 +75,7 @@ const ze = { class: "d-emoji-picker__search d-emoji-picker__alignment" }, He = {
74
75
  ]), 1032, ["placeholder", "model-value"])
75
76
  ]));
76
77
  }
77
- }, Ge = { class: "d-emoji-picker__tabset" }, We = {
78
+ }, qe = { class: "d-emoji-picker__tabset" }, We = {
78
79
  __name: "emoji_tabset",
79
80
  props: {
80
81
  /**
@@ -108,7 +109,7 @@ const ze = { class: "d-emoji-picker__search d-emoji-picker__alignment" }, He = {
108
109
  * @type {Array}
109
110
  * @required
110
111
  */
111
- tabsetLabels: {
112
+ tabSetLabels: {
112
113
  type: Array,
113
114
  required: !0
114
115
  }
@@ -124,157 +125,156 @@ const ze = { class: "d-emoji-picker__search d-emoji-picker__alignment" }, He = {
124
125
  "focus-skin-selector"
125
126
  ],
126
127
  setup(o, { expose: g, emit: y }) {
127
- const n = o, u = y, T = [
128
- { label: D.MOST_RECENTLY_USED, icon: Le },
129
- { label: D.SMILEYS_AND_PEOPLE, icon: Ie },
130
- { label: D.NATURE, icon: Fe },
131
- { label: D.FOOD, icon: Ae },
132
- { label: D.ACTIVITY, icon: Ce },
133
- { label: D.TRAVEL, icon: De },
134
- { label: D.OBJECTS, icon: Oe },
135
- { label: D.SYMBOLS, icon: Ke },
136
- { label: D.FLAGS, icon: Ne },
137
- { label: D.CUSTOM, icon: Ue }
138
- ], p = M(() => {
139
- const e = n.showRecentlyUsedTab ? T : T.slice(1);
140
- return n.showCustomEmojisTab || e.pop(), e.map((t, s) => ({
141
- ...t,
142
- label: n.tabsetLabels[s],
128
+ const l = o, f = y, R = [
129
+ { label: l.tabSetLabels[0], icon: Re },
130
+ { label: l.tabSetLabels[1], icon: Ae },
131
+ { label: l.tabSetLabels[2], icon: $e },
132
+ { label: l.tabSetLabels[3], icon: we },
133
+ { label: l.tabSetLabels[4], icon: Oe },
134
+ { label: l.tabSetLabels[5], icon: Ce },
135
+ { label: l.tabSetLabels[6], icon: De },
136
+ { label: l.tabSetLabels[7], icon: Fe },
137
+ { label: l.tabSetLabels[8], icon: Be },
138
+ { label: l.tabSetLabels[9], icon: Ke }
139
+ ], L = M(() => {
140
+ const t = l.showRecentlyUsedTab ? R : R.slice(1);
141
+ return l.showCustomEmojisTab || t.pop(), t.map((e, n) => ({
142
+ ...e,
143
143
  // IDs on dt-tab component need to be on string
144
- id: (s + 1).toString(),
145
- panelId: (s + 1).toString()
144
+ id: (n + 1).toString(),
145
+ panelId: (n + 1).toString()
146
146
  }));
147
- }), j = M(() => n.emojiFilter.length > 0), f = k("1"), i = k([]);
148
- N(
149
- () => n.scrollIntoTab,
147
+ }), I = M(() => l.emojiFilter.length > 0), m = S("1"), a = S([]);
148
+ K(
149
+ () => l.scrollIntoTab,
150
150
  () => {
151
- j.value || (f.value = (n.scrollIntoTab + 1).toString());
151
+ I.value || (m.value = (l.scrollIntoTab + 1).toString());
152
152
  }
153
- ), N(
154
- j,
153
+ ), K(
154
+ I,
155
155
  () => {
156
- j.value && (f.value = null);
156
+ I.value && (m.value = null);
157
157
  }
158
158
  );
159
- function S(e) {
160
- const t = parseInt(e);
161
- f.value = e, u("selected-tabset", t);
159
+ function d(t) {
160
+ const e = parseInt(t);
161
+ m.value = t, f("selected-tabset", e);
162
162
  }
163
- function K(e) {
164
- i.value.push(Be(e.$el));
163
+ function D(t) {
164
+ a.value.push(Me(t.$el));
165
165
  }
166
- function A() {
167
- i.value[0].focus();
166
+ function F() {
167
+ a.value[0].focus();
168
168
  }
169
- function r(e, t) {
170
- e.key === "Enter" && (S(t), i.value[t - 1].blur()), e.key === "Tab" && (e.preventDefault(), e.shiftKey ? u("focus-skin-selector") : u("focus-search-input")), e.key === "ArrowDown" && u("focus-search-input");
169
+ function w(t, e) {
170
+ t.key === "Enter" && (d(e), a.value[e - 1].blur()), t.key === "Tab" && (t.preventDefault(), t.shiftKey ? f("focus-skin-selector") : f("focus-search-input")), t.key === "ArrowDown" && f("focus-search-input");
171
171
  }
172
172
  return g({
173
- focusTabset: A
174
- }), (e, t) => (h(), R("div", Ge, [
175
- O($(qe), {
173
+ focusTabset: F
174
+ }), (t, e) => (E(), j("div", qe, [
175
+ B(k(Pe), {
176
+ selected: m.value,
176
177
  size: "sm",
177
- "tab-list-class": "d-emoji-picker__tabset-list",
178
- selected: f.value
178
+ "tab-list-class": "d-emoji-picker__tabset-list"
179
179
  }, {
180
- tabs: U(() => [
181
- (h(!0), R(W, null, J(p.value, (s, m) => (h(), Z($(Pe), {
182
- id: s.id,
180
+ tabs: N(() => [
181
+ (E(!0), j(W, null, G(L.value, (n, v) => (E(), Z(k(Ue), {
182
+ id: n.id,
183
+ key: n.id,
183
184
  ref_for: !0,
184
185
  ref: (c) => {
185
- c && K(c);
186
+ c && D(c);
186
187
  },
187
- key: s.id,
188
- "panel-id": s.panelId,
189
- label: s.label,
188
+ label: n.label,
189
+ "panel-id": n.panelId,
190
+ tabindex: v + 1,
190
191
  "aria-controls": "d-emoji-picker-list",
191
- tabindex: m + 1,
192
- onClickCapture: ce((c) => S(s.id), ["stop"]),
193
- onKeydown: (c) => r(c, s.id)
192
+ onKeydown: (c) => w(c, n.id),
193
+ onClickCapture: ue((c) => d(n.id), ["stop"])
194
194
  }, {
195
- default: U(() => [
196
- (h(), Z(we(s.icon), { size: "400" }))
195
+ default: N(() => [
196
+ (E(), Z(Le(n.icon), { size: "400" }))
197
197
  ]),
198
198
  _: 2
199
- }, 1032, ["id", "panel-id", "label", "tabindex", "onClickCapture", "onKeydown"]))), 128))
199
+ }, 1032, ["id", "label", "panel-id", "tabindex", "onKeydown", "onClickCapture"]))), 128))
200
200
  ]),
201
201
  _: 1
202
202
  }, 8, ["selected"])
203
203
  ]));
204
204
  }
205
205
  };
206
- function Je() {
207
- const o = k([]), g = k([]), y = k(!1), n = k(!0);
208
- function u(e, t) {
209
- i(e, t - 1) || (o.value[e - 1] ? i(e - 1, o.value[e - 1].length - 1) : i(o.value.length - 1, o.value[o.value.length - 1].length - 1));
206
+ function Ge() {
207
+ const o = S([]), g = S([]), y = S(!1), l = S(!0);
208
+ function f(t, e) {
209
+ a(t, e - 1) || (o.value[t - 1] ? a(t - 1, o.value[t - 1].length - 1) : a(o.value.length - 1, o.value[o.value.length - 1].length - 1));
210
210
  }
211
- function T(e, t) {
212
- i(e, t + 1) || i(e + 1, 0) || i(0, 0);
211
+ function R(t, e) {
212
+ a(t, e + 1) || a(t + 1, 0) || a(0, 0);
213
213
  }
214
- function p(e, t) {
215
- i(0, t - 1) || i(0, g.value.length - 1);
214
+ function L(t, e) {
215
+ a(0, e - 1) || a(0, g.value.length - 1);
216
216
  }
217
- function j(e, t) {
218
- i(0, t + 1) || i(0, 0);
217
+ function I(t, e) {
218
+ a(0, e + 1) || a(0, 0);
219
219
  }
220
- function f(e, t, s) {
221
- y.value ? e === "left" ? p(t, s) : e === "right" && j(t, s) : e === "left" ? u(t, s) : e === "right" && T(t, s);
220
+ function m(t, e, n) {
221
+ y.value ? t === "left" ? L(e, n) : t === "right" && I(e, n) : t === "left" ? f(e, n) : t === "right" && R(e, n);
222
222
  }
223
- function i(e, t) {
224
- var m, c, E;
225
- const s = y.value ? (m = g.value) == null ? void 0 : m[t] : (E = (c = o.value) == null ? void 0 : c[e]) == null ? void 0 : E[t];
226
- return s ? (s.focus(), !0) : !1;
223
+ function a(t, e) {
224
+ var v, c, T;
225
+ const n = y.value ? (v = g.value) == null ? void 0 : v[e] : (T = (c = o.value) == null ? void 0 : c[t]) == null ? void 0 : T[e];
226
+ return n ? (n.focus(), !0) : !1;
227
227
  }
228
- function S(e, t, s) {
229
- o.value[t] || (o.value[t] = []), o.value[t][s] = e;
228
+ function d(t, e, n) {
229
+ o.value[e] || (o.value[e] = []), o.value[e][n] = t;
230
230
  }
231
- function K(e, t) {
232
- g.value[t] = e;
231
+ function D(t, e) {
232
+ g.value[e] = t;
233
233
  }
234
- function A(e, t) {
235
- var s;
236
- if (n.value = !1, e === z.ARROW_UP) {
237
- const m = t % L;
238
- if (!i(0, t - L)) {
239
- const c = g.value.length - g.value.length % L + m;
240
- i(0, c), i(0, c) || i(0, g.value.length - 1);
234
+ function F(t, e) {
235
+ var n;
236
+ if (l.value = !1, t === H.ARROW_UP) {
237
+ const v = e % $;
238
+ if (!a(0, e - $)) {
239
+ const c = g.value.length - g.value.length % $ + v;
240
+ a(0, c), a(0, c) || a(0, g.value.length - 1);
241
241
  }
242
242
  }
243
- if (e === z.ARROW_DOWN && !i(0, t + L)) {
244
- const m = t % L;
245
- (s = g.value) != null && s[t + (L - m)] ? i(0, g.value.length - 1) : i(0, m);
243
+ if (t === H.ARROW_DOWN && !a(0, e + $)) {
244
+ const v = e % $;
245
+ (n = g.value) != null && n[e + ($ - v)] ? a(0, g.value.length - 1) : a(0, v);
246
246
  }
247
- e === z.ARROW_LEFT && f("left", 0, t), e === z.ARROW_RIGHT && f("right", 0, t);
247
+ t === H.ARROW_LEFT && m("left", 0, e), t === H.ARROW_RIGHT && m("right", 0, e);
248
248
  }
249
- function r(e, t, s) {
250
- var m, c;
251
- if (e === "ArrowUp") {
252
- const E = s % L;
253
- if (t === 0) {
254
- const w = L - o.value[o.value.length - 1].length % L, C = o.value[o.value.length - 1].length + w - (L - E);
255
- i(o.value.length - 1, C) || i(o.value.length - 1, o.value[o.value.length - 1].length - 1);
249
+ function w(t, e, n) {
250
+ var v, c;
251
+ if (t === "ArrowUp") {
252
+ const T = n % $;
253
+ if (e === 0) {
254
+ const r = $ - o.value[o.value.length - 1].length % $, i = o.value[o.value.length - 1].length + r - ($ - T);
255
+ a(o.value.length - 1, i) || a(o.value.length - 1, o.value[o.value.length - 1].length - 1);
256
256
  return;
257
257
  }
258
- if (!i(t, s - L)) {
259
- const w = t - 1 < 0 ? 0 : t - 1, C = o.value[w].length, ee = C - C % L + E;
260
- i(w, ee) || i(t - 1, o.value[t - 1].length - 1);
258
+ if (!a(e, n - $)) {
259
+ const r = e - 1 < 0 ? 0 : e - 1, i = o.value[r].length, _ = i - i % $ + T;
260
+ a(r, _) || a(e - 1, o.value[e - 1].length - 1);
261
261
  }
262
262
  }
263
- if (e === "ArrowDown" && !i(t, s + L)) {
264
- const E = s % L;
265
- (c = (m = o.value) == null ? void 0 : m[t]) != null && c[s + (L - E)] ? i(t, o.value[t].length - 1) : i(t + 1, E) || i(0, E) || i(0, o.value[0].length - 1);
263
+ if (t === "ArrowDown" && !a(e, n + $)) {
264
+ const T = n % $;
265
+ (c = (v = o.value) == null ? void 0 : v[e]) != null && c[n + ($ - T)] ? a(e, o.value[e].length - 1) : a(e + 1, T) || a(0, T) || a(0, o.value[0].length - 1);
266
266
  }
267
- e === "ArrowLeft" && f("left", t, s), e === "ArrowRight" && f("right", t, s);
267
+ t === "ArrowLeft" && m("left", e, n), t === "ArrowRight" && m("right", e, n);
268
268
  }
269
269
  return {
270
270
  emojiFilteredRefs: g,
271
271
  isFiltering: y,
272
- hoverFirstEmoji: n,
273
- setEmojiRef: S,
274
- setFilteredRef: K,
275
- focusEmoji: i,
276
- handleArrowNavigationFiltered: A,
277
- handleArrowNavigation: r
272
+ hoverFirstEmoji: l,
273
+ setEmojiRef: d,
274
+ setFilteredRef: D,
275
+ focusEmoji: a,
276
+ handleArrowNavigationFiltered: F,
277
+ handleArrowNavigation: w
278
278
  };
279
279
  }
280
280
  const Ye = { class: "d-emoji-picker__selector" }, Qe = {
@@ -387,231 +387,231 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
387
387
  "focus-search-input"
388
388
  ],
389
389
  setup(o, { expose: g, emit: y }) {
390
- const n = o, u = y, {
391
- emojiFilteredRefs: T,
392
- isFiltering: p,
393
- hoverFirstEmoji: j,
394
- setEmojiRef: f,
395
- setFilteredRef: i,
396
- focusEmoji: S,
397
- handleArrowNavigationFiltered: K,
398
- handleArrowNavigation: A
399
- } = Je(), r = k(null), e = k(null), t = k(null), s = ["Recently used", "People", "Nature", "Food", "Activity", "Travel", "Objects", "Symbols", "Flags", "Custom"], m = M(() => {
400
- let l = n.tabsetLabels.map((a) => ({ label: a, ref: k(null) }));
401
- return n.recentlyUsedEmojis && !n.recentlyUsedEmojis.length && (l = n.tabsetLabels.slice(1).map((a) => ({ label: a, ref: k(null) }))), n.customEmojis && !n.customEmojis.length && l.pop(), l;
402
- }), c = k(m.value[0].label), E = M(() => {
403
- const l = n.recentlyUsedEmojis.length ? s.slice() : s.slice(1);
404
- return n.customEmojis && !n.customEmojis.length && l.pop(), l;
405
- }), w = k([]), C = M(() => [
406
- ...F[`People${n.skinTone}`],
407
- ...F.Nature,
408
- ...F.Food,
409
- ...F[`Activity${n.skinTone}`],
410
- ...F.Travel,
411
- ...F[`Objects${n.skinTone}`],
412
- ...F.Symbols,
413
- ...F.Flags
414
- ]), ee = ve(() => {
415
- T.value = [], ne();
416
- }), se = () => {
417
- const l = e.value;
418
- l.scrollTop + l.clientHeight >= l.scrollHeight && u("scroll-bottom-reached");
390
+ const l = o, f = y, {
391
+ emojiFilteredRefs: R,
392
+ isFiltering: L,
393
+ hoverFirstEmoji: I,
394
+ setEmojiRef: m,
395
+ setFilteredRef: a,
396
+ focusEmoji: d,
397
+ handleArrowNavigationFiltered: D,
398
+ handleArrowNavigation: F
399
+ } = Ge(), w = S(null), t = S(null), e = S(null), n = ["Recently used", "People", "Nature", "Food", "Activity", "Travel", "Objects", "Symbols", "Flags", "Custom"], v = M(() => {
400
+ let s = l.tabsetLabels.map((u) => ({ label: u, ref: S(null) }));
401
+ return l.recentlyUsedEmojis && !l.recentlyUsedEmojis.length && (s = l.tabsetLabels.slice(1).map((u) => ({ label: u, ref: S(null) }))), l.customEmojis && !l.customEmojis.length && s.pop(), s;
402
+ }), c = S(v.value[0].label), T = M(() => {
403
+ const s = l.recentlyUsedEmojis.length ? n.slice() : n.slice(1);
404
+ return l.customEmojis && !l.customEmojis.length && s.pop(), s;
405
+ }), r = S([]), i = M(() => [
406
+ ...C[`People${l.skinTone}`],
407
+ ...C.Nature,
408
+ ...C.Food,
409
+ ...C[`Activity${l.skinTone}`],
410
+ ...C.Travel,
411
+ ...C[`Objects${l.skinTone}`],
412
+ ...C.Symbols,
413
+ ...C.Flags
414
+ ]), _ = me(() => {
415
+ R.value = [], se();
416
+ }), le = () => {
417
+ const s = t.value;
418
+ s.scrollTop + s.clientHeight >= s.scrollHeight && f("scroll-bottom-reached");
419
419
  };
420
- N(C, () => {
421
- ne();
422
- }, { immediate: !0 }), N(
423
- () => n.recentlyUsedEmojis,
420
+ K(i, () => {
421
+ se();
422
+ }, { immediate: !0 }), K(
423
+ () => l.recentlyUsedEmojis,
424
424
  () => {
425
- F["Recently used"] = n.recentlyUsedEmojis;
425
+ C["Recently used"] = l.recentlyUsedEmojis;
426
426
  },
427
427
  { immediate: !0 }
428
- ), N(
429
- () => n.customEmojis,
428
+ ), K(
429
+ () => l.customEmojis,
430
430
  () => {
431
- F.Custom = n.customEmojis;
431
+ C.Custom = l.customEmojis;
432
432
  },
433
433
  { immediate: !0 }
434
- ), N(() => n.emojiFilter, () => {
435
- pe(), n.emojiFilter ? p.value = !0 : (p.value = !1, B(null)), ee();
436
- }), N(
437
- () => n.selectedTabset,
438
- (l) => {
439
- G(l.tabId);
434
+ ), K(() => l.emojiFilter, () => {
435
+ he(), l.emojiFilter ? L.value = !0 : (L.value = !1, P(null)), _();
436
+ }), K(
437
+ () => l.selectedTabset,
438
+ (s) => {
439
+ q(s.tabId);
440
440
  },
441
441
  { deep: !0 }
442
442
  );
443
- function te(l, a = !1) {
444
- j.value = a, u("highlighted-emoji", l);
445
- }
446
- function ne() {
447
- const l = n.emojiFilter.toLowerCase();
448
- w.value = C.value.filter((a) => {
449
- const v = a.name.toLowerCase().includes(l), b = a.keywords.some((d) => d.toLowerCase().includes(l));
450
- return v || b;
443
+ function ee(s, u = !1) {
444
+ I.value = u, f("highlighted-emoji", s);
445
+ }
446
+ function se() {
447
+ const s = l.emojiFilter.toLowerCase();
448
+ r.value = i.value.filter((u) => {
449
+ const h = u.name.toLowerCase().includes(s), p = u.keywords.some((b) => b.toLowerCase().includes(s));
450
+ return h || p;
451
451
  }), x(() => {
452
- l && te(w.value[0], !0);
452
+ s && ee(r.value[0], !0);
453
453
  });
454
454
  }
455
- function ve(l, a = 300) {
456
- let v;
457
- return (...b) => {
458
- clearTimeout(v), v = setTimeout(() => l(...b), a);
455
+ function me(s, u = 300) {
456
+ let h;
457
+ return (...p) => {
458
+ clearTimeout(h), h = setTimeout(() => s(...p), u);
459
459
  };
460
460
  }
461
- function be(l) {
462
- return l.date_added ? l.image : Q + l.unicode_character + ".png";
461
+ function ve(s) {
462
+ return s.date_added ? s.image : Q + s.unicode_character + ".png";
463
463
  }
464
- function he(l) {
465
- l.target.parentNode.style.display = "none";
464
+ function be(s) {
465
+ s.target.parentNode.style.display = "none";
466
466
  }
467
- function G(l, a = !0) {
468
- const b = m.value[l - 1].ref.value[0];
467
+ function q(s, u = !0) {
468
+ const p = v.value[s - 1].ref.value[0];
469
469
  x(() => {
470
- const d = e.value, q = l === 1 ? 0 : b.offsetTop - 15;
471
- d.scrollTop = q, a && S(l - 1, 0);
470
+ const b = t.value, U = s === 1 ? 0 : p.offsetTop - 15;
471
+ b.scrollTop = U, u && d(s - 1, 0);
472
472
  });
473
473
  }
474
- function pe() {
475
- const l = e.value;
476
- l.scrollTop = 0;
477
- }
478
- function ke() {
479
- e.value.addEventListener("scroll", se);
474
+ function he() {
475
+ const s = t.value;
476
+ s.scrollTop = 0;
480
477
  }
481
- function ge() {
482
- t.value = new IntersectionObserver(async (l) => {
483
- l.forEach((a) => {
484
- var d, q, I, ie, ae;
485
- const { target: v } = a, b = parseInt(v.dataset.index);
486
- a.isIntersecting && v.offsetTop <= r.value.offsetTop + 50 ? (c.value = ((d = m.value[b - 1]) == null ? void 0 : d.label) ?? ((q = m.value[0]) == null ? void 0 : q.label), u("scroll-into-tab", b - 1)) : a.boundingClientRect.bottom <= ((I = r.value) == null ? void 0 : I.getBoundingClientRect().bottom) ? (u("scroll-into-tab", b), c.value = (ie = m.value[b]) == null ? void 0 : ie.label) : b === 1 && (u("scroll-into-tab", b), c.value = (ae = m.value[0]) == null ? void 0 : ae.label);
478
+ function pe() {
479
+ t.value.addEventListener("scroll", le);
480
+ }
481
+ function _e() {
482
+ e.value = new IntersectionObserver(async (s) => {
483
+ s.forEach((u) => {
484
+ var b, U, O, ne, ie;
485
+ const { target: h } = u, p = parseInt(h.dataset.index);
486
+ u.isIntersecting && h.offsetTop <= w.value.offsetTop + 50 ? (c.value = ((b = v.value[p - 1]) == null ? void 0 : b.label) ?? ((U = v.value[0]) == null ? void 0 : U.label), f("scroll-into-tab", p - 1)) : u.boundingClientRect.bottom <= ((O = w.value) == null ? void 0 : O.getBoundingClientRect().bottom) ? (f("scroll-into-tab", p), c.value = (ne = v.value[p]) == null ? void 0 : ne.label) : p === 1 && (f("scroll-into-tab", p), c.value = (ie = v.value[0]) == null ? void 0 : ie.label);
487
487
  });
488
- }), t.value.observe(r.value), Array.from(e.value.children).forEach((l, a) => {
489
- t.value.observe(l), l.dataset.index = a;
488
+ }), e.value.observe(w.value), Array.from(t.value.children).forEach((s, u) => {
489
+ e.value.observe(s), s.dataset.index = u;
490
490
  });
491
491
  }
492
- const ye = (l, a, v) => {
493
- if (l.preventDefault(), Object.values(z).includes(l.key)) {
494
- K(l.key, a);
492
+ const Ee = (s, u, h) => {
493
+ if (s.preventDefault(), Object.values(H).includes(s.key)) {
494
+ D(s.key, u);
495
495
  return;
496
496
  }
497
- switch (l.key) {
497
+ switch (s.key) {
498
498
  case "Tab":
499
- u("focus-skin-selector");
499
+ f("focus-skin-selector");
500
500
  break;
501
501
  case "Enter":
502
- X(v, l);
502
+ X(h, s);
503
503
  break;
504
504
  }
505
- }, je = (l, a, v, b) => {
506
- if (l.preventDefault(), Object.values(z).includes(l.key)) {
507
- A(l.key, a, v);
505
+ }, ke = (s, u, h, p) => {
506
+ if (s.preventDefault(), Object.values(H).includes(s.key)) {
507
+ F(s.key, u, h);
508
508
  return;
509
509
  }
510
- switch (l.key) {
510
+ switch (s.key) {
511
511
  case "Tab":
512
- l.shiftKey ? S(a, 0) && a > 0 ? G(a, !0) : (G(1, !1), u("focus-search-input")) : S(a + 1, 0) ? G(a + 1 + 1, !1) : u("focus-skin-selector");
512
+ s.shiftKey ? d(u, 0) && u > 0 ? q(u, !0) : (q(1, !1), f("focus-search-input")) : d(u + 1, 0) ? q(u + 1 + 1, !1) : f("focus-skin-selector");
513
513
  break;
514
514
  case "Enter":
515
- X(b, l);
515
+ X(p, s);
516
516
  break;
517
517
  }
518
518
  };
519
- function X(l, a) {
520
- u("selected-emoji", { ...l, shift_key: a.shiftKey });
519
+ function X(s, u) {
520
+ f("selected-emoji", { ...s, shift_key: u.shiftKey });
521
521
  }
522
- function B(l) {
523
- u("highlighted-emoji", l);
522
+ function P(s) {
523
+ f("highlighted-emoji", s);
524
524
  }
525
525
  function Se() {
526
- S(0, 0);
526
+ d(0, 0);
527
527
  }
528
- function Ee() {
529
- G(E.value.length, !0);
528
+ function ge() {
529
+ q(T.value.length, !0);
530
530
  }
531
- return ue(() => {
532
- ge(), ke();
531
+ return re(() => {
532
+ _e(), pe();
533
533
  }), Te(() => {
534
- t.value.disconnect(), e.value.removeEventListener("scroll", se);
534
+ e.value.disconnect(), t.value.removeEventListener("scroll", le);
535
535
  }), g({
536
536
  focusEmojiSelector: Se,
537
- focusLastEmoji: Ee
538
- }), (l, a) => (h(), R("div", Ye, [
539
- _("div", {
537
+ focusLastEmoji: ge
538
+ }), (s, u) => (E(), j("div", Ye, [
539
+ A("div", {
540
540
  id: "d-emoji-picker-list",
541
541
  ref_key: "listRef",
542
- ref: e,
542
+ ref: t,
543
543
  class: "d-emoji-picker__list"
544
544
  }, [
545
- o.emojiFilter ? (h(), R("p", Qe, H(w.value.length > 0 ? o.searchResultsLabel : o.searchNoResultsLabel), 1)) : (h(), R("div", {
545
+ o.emojiFilter ? (E(), j("p", Qe, z(r.value.length > 0 ? o.searchResultsLabel : o.searchNoResultsLabel), 1)) : (E(), j("div", {
546
546
  key: 1,
547
547
  ref_key: "tabCategoryRef",
548
- ref: r,
548
+ ref: w,
549
549
  class: "d-emoji-picker__category d-emoji-picker__alignment"
550
550
  }, [
551
- _("p", null, H(c.value), 1)
551
+ A("p", null, z(c.value), 1)
552
552
  ], 512)),
553
- (h(!0), R(W, null, J(m.value, (v, b) => oe((h(), R("div", {
554
- key: b,
553
+ (E(!0), j(W, null, G(v.value, (h, p) => te((E(), j("div", {
554
+ key: p,
555
555
  ref_for: !0,
556
- ref: v.ref,
556
+ ref: h.ref,
557
557
  class: "d-emoji-picker__alignment"
558
558
  }, [
559
- b ? (h(), R("p", Xe, H(v.label), 1)) : Y("", !0),
560
- _("div", Ze, [
561
- (h(!0), R(W, null, J($(F)[E.value[b] + o.skinTone] ? $(F)[E.value[b] + o.skinTone] : $(F)[E.value[b]], (d, q) => (h(), R("button", {
562
- key: d.shortname,
559
+ p ? (E(), j("p", Xe, z(h.label), 1)) : Y("", !0),
560
+ A("div", Ze, [
561
+ (E(!0), j(W, null, G(k(C)[T.value[p] + o.skinTone] ? k(C)[T.value[p] + o.skinTone] : k(C)[T.value[p]], (b, U) => (E(), j("button", {
562
+ key: b.shortname,
563
563
  ref_for: !0,
564
- ref: (I) => {
565
- I && $(f)(I, b, q);
564
+ ref: (O) => {
565
+ O && k(m)(O, p, U);
566
566
  },
567
567
  type: "button",
568
- "aria-label": d.name,
569
- onClick: (I) => X(d, I),
570
- onFocusin: (I) => B(d),
571
- onFocusout: a[0] || (a[0] = (I) => B(null)),
572
- onMouseover: (I) => B(d),
573
- onMouseleave: a[1] || (a[1] = (I) => B(null)),
574
- onKeydown: (I) => je(I, b, q, d)
568
+ "aria-label": b.name,
569
+ onClick: (O) => X(b, O),
570
+ onFocusin: (O) => P(b),
571
+ onFocusout: u[0] || (u[0] = (O) => P(null)),
572
+ onMouseover: (O) => P(b),
573
+ onMouseleave: u[1] || (u[1] = (O) => P(null)),
574
+ onKeydown: (O) => ke(O, p, U, b)
575
575
  }, [
576
- _("img", {
576
+ A("img", {
577
577
  class: "d-icon d-icon--size-500",
578
- alt: d.name,
579
- "aria-label": d.name,
580
- title: d.name,
581
- src: be(d),
582
- onError: he
578
+ alt: b.name,
579
+ "aria-label": b.name,
580
+ title: b.name,
581
+ src: ve(b),
582
+ onError: be
583
583
  }, null, 40, et)
584
584
  ], 40, xe))), 128))
585
585
  ])
586
586
  ])), [
587
- [le, !o.emojiFilter]
587
+ [oe, !o.emojiFilter]
588
588
  ])), 128)),
589
- o.emojiFilter ? (h(), R("div", tt, [
590
- _("div", ot, [
591
- (h(!0), R(W, null, J(w.value, (v, b) => (h(), R("button", {
592
- key: v.shortname,
589
+ o.emojiFilter ? (E(), j("div", tt, [
590
+ A("div", ot, [
591
+ (E(!0), j(W, null, G(r.value, (h, p) => (E(), j("button", {
592
+ key: h.shortname,
593
593
  ref_for: !0,
594
- ref: (d) => {
595
- d && $(i)(d, b);
594
+ ref: (b) => {
595
+ b && k(a)(b, p);
596
596
  },
597
597
  type: "button",
598
- "aria-label": v.name,
599
- class: fe({
600
- "hover-emoji": b === 0 && $(j)
598
+ "aria-label": h.name,
599
+ class: ce({
600
+ "hover-emoji": p === 0 && k(I)
601
601
  }),
602
- onClick: (d) => X(v, d),
603
- onFocusin: (d) => B(v),
604
- onFocusout: a[2] || (a[2] = (d) => B(null)),
605
- onMouseover: (d) => te(v),
606
- onMouseleave: a[3] || (a[3] = (d) => te(null)),
607
- onKeydown: (d) => ye(d, b, v)
602
+ onClick: (b) => X(h, b),
603
+ onFocusin: (b) => P(h),
604
+ onFocusout: u[2] || (u[2] = (b) => P(null)),
605
+ onMouseover: (b) => ee(h),
606
+ onMouseleave: u[3] || (u[3] = (b) => ee(null)),
607
+ onKeydown: (b) => Ee(b, p, h)
608
608
  }, [
609
- _("img", {
609
+ A("img", {
610
610
  class: "d-icon d-icon--size-500",
611
- alt: v.name,
612
- "aria-label": v.name,
613
- title: v.name,
614
- src: `${$(Q) + v.unicode_character}.png`
611
+ alt: h.name,
612
+ "aria-label": h.name,
613
+ title: h.name,
614
+ src: `${k(Q) + h.unicode_character}.png`
615
615
  }, null, 8, st)
616
616
  ], 42, lt))), 128))
617
617
  ])
@@ -651,7 +651,7 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
651
651
  "focus-last-emoji"
652
652
  ],
653
653
  setup(o, { expose: g, emit: y }) {
654
- const n = o, u = y, T = [
654
+ const l = o, f = y, R = [
655
655
  {
656
656
  name: ":wave_tone1:",
657
657
  unicode_output: "1f44b-1f3fb",
@@ -688,82 +688,82 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
688
688
  skinTone: V.DEFAULT,
689
689
  skinCode: ""
690
690
  }
691
- ], p = k(!1), j = k(null), f = k([]);
692
- re(
693
- () => n.isHovering && (p.value = !1)
691
+ ], L = S(!1), I = S(null), m = S([]);
692
+ ae(
693
+ () => l.isHovering && (L.value = !1)
694
694
  );
695
- const i = M(() => T.find((s) => s.skinTone === n.skinTone)), S = k(i.value);
696
- re(() => i.value && (S.value = i.value));
697
- function K(s) {
698
- f.value.push(s);
695
+ const a = M(() => R.find((n) => n.skinTone === l.skinTone)), d = S(a.value);
696
+ ae(() => a.value && (d.value = a.value));
697
+ function D(n) {
698
+ m.value.push(n);
699
699
  }
700
- function A() {
701
- j.value.focus();
700
+ function F() {
701
+ I.value.focus();
702
702
  }
703
- function r(s) {
704
- S.value = s, p.value = !1, u("skin-tone", s.skinTone), x(() => A());
703
+ function w(n) {
704
+ d.value = n, L.value = !1, f("skin-tone", n.skinTone), x(() => F());
705
705
  }
706
- const e = (s, m, c) => {
707
- var E, w, C;
708
- s.preventDefault(), s.key === "ArrowLeft" && (c === 0 && ((E = f.value[f.value.length - 1]) == null || E.focus()), (w = f.value[c - 1]) == null || w.focus()), s.key === "ArrowRight" && ((C = f.value[c + 1]) == null || C.focus()), s.key === "Enter" && (m ? r(m) : t()), s.key === "Tab" && (s.shiftKey ? u("focus-last-emoji") : u("focus-tabset"));
706
+ const t = (n, v, c) => {
707
+ var T, r, i;
708
+ n.preventDefault(), n.key === "ArrowLeft" && (c === 0 && ((T = m.value[m.value.length - 1]) == null || T.focus()), (r = m.value[c - 1]) == null || r.focus()), n.key === "ArrowRight" && ((i = m.value[c + 1]) == null || i.focus()), n.key === "Enter" && (v ? w(v) : e()), n.key === "Tab" && (n.shiftKey ? f("focus-last-emoji") : f("focus-tabset"));
709
709
  };
710
- function t() {
711
- p.value = !p.value, x(() => f.value[0].focus());
710
+ function e() {
711
+ L.value = !L.value, x(() => m.value[0].focus());
712
712
  }
713
713
  return g({
714
- focusSkinSelector: A
715
- }), (s, m) => (h(), R("div", it, [
716
- oe(_("div", at, [
717
- (h(), R(W, null, J(T, (c, E) => _("button", {
714
+ focusSkinSelector: F
715
+ }), (n, v) => (E(), j("div", it, [
716
+ te(A("div", at, [
717
+ (E(), j(W, null, G(R, (c, T) => A("button", {
718
718
  ref_for: !0,
719
- ref: (w) => {
720
- w && K(w);
719
+ ref: (r) => {
720
+ r && D(r);
721
721
  },
722
722
  key: c.name,
723
- class: fe({
724
- selected: S.value.skinCode === c.skinCode
723
+ class: ce({
724
+ selected: d.value.skinCode === c.skinCode
725
725
  }),
726
- onKeydown: (w) => e(w, c, E),
727
- onClick: (w) => r(c)
726
+ onKeydown: (r) => t(r, c, T),
727
+ onClick: (r) => w(c)
728
728
  }, [
729
- _("img", {
729
+ A("img", {
730
730
  class: "d-icon d-icon--size-500",
731
731
  alt: c.name,
732
732
  "aria-label": c.name,
733
733
  title: c.name,
734
- src: `${$(Q) + c.unicode_output}.png`
734
+ src: `${k(Q) + c.unicode_output}.png`
735
735
  }, null, 8, ut)
736
736
  ], 42, rt)), 64))
737
737
  ], 512), [
738
- [le, p.value]
738
+ [oe, L.value]
739
739
  ]),
740
- oe(_("div", ct, [
741
- O($(Ve), { placement: "top-end" }, {
742
- anchor: U(() => [
743
- _("button", {
740
+ te(A("div", ct, [
741
+ B(k(Je), { placement: "top-end" }, {
742
+ anchor: N(() => [
743
+ A("button", {
744
744
  ref_key: "skinSelectorRef",
745
- ref: j,
745
+ ref: I,
746
746
  "aria-label": o.skinSelectorButtonTooltipLabel,
747
747
  tabindex: "-1",
748
- onClick: t,
749
- onKeydown: m[0] || (m[0] = (c) => e(c))
748
+ onClick: e,
749
+ onKeydown: v[0] || (v[0] = (c) => t(c))
750
750
  }, [
751
- _("img", {
751
+ A("img", {
752
752
  class: "d-icon d-icon--size-500",
753
- alt: S.value.name,
754
- "aria-label": S.value.name,
755
- title: S.value.name,
756
- src: `${$(Q) + S.value.unicode_output}.png`
753
+ alt: d.value.name,
754
+ "aria-label": d.value.name,
755
+ title: d.value.name,
756
+ src: `${k(Q) + d.value.unicode_output}.png`
757
757
  }, null, 8, dt)
758
758
  ], 40, ft)
759
759
  ]),
760
- default: U(() => [
761
- de(H(o.skinSelectorButtonTooltipLabel) + " ", 1)
760
+ default: N(() => [
761
+ fe(z(o.skinSelectorButtonTooltipLabel) + " ", 1)
762
762
  ]),
763
763
  _: 1
764
764
  })
765
765
  ], 512), [
766
- [le, !p.value]
766
+ [oe, !L.value]
767
767
  ])
768
768
  ]));
769
769
  }
@@ -784,10 +784,10 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
784
784
  function g(y) {
785
785
  return y.date_added ? y.image : `${Q + y.unicode_character}.png`;
786
786
  }
787
- return (y, n) => {
788
- var u;
789
- return h(), R("div", vt, [
790
- o.emoji ? (h(), R("img", {
787
+ return (y, l) => {
788
+ var f;
789
+ return E(), j("div", vt, [
790
+ o.emoji ? (E(), j("img", {
791
791
  key: 0,
792
792
  class: "d-icon d-icon--size-500",
793
793
  alt: o.emoji.name,
@@ -795,11 +795,11 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
795
795
  title: o.emoji.name,
796
796
  src: g(o.emoji)
797
797
  }, null, 8, bt)) : Y("", !0),
798
- _("div", null, H((u = o.emoji) == null ? void 0 : u.name), 1)
798
+ A("div", null, z((f = o.emoji) == null ? void 0 : f.name), 1)
799
799
  ]);
800
800
  };
801
801
  }
802
- }, pt = { class: "d-emoji-picker" }, kt = { class: "d-emoji-picker--header" }, gt = { class: "d-emoji-picker--body" }, yt = { class: "d-emoji-picker--footer" }, Ft = {
802
+ }, pt = { class: "d-emoji-picker" }, _t = { class: "d-emoji-picker--header" }, Et = { class: "d-emoji-picker--body" }, kt = { class: "d-emoji-picker--footer" }, Ot = {
803
803
  __name: "emoji_picker",
804
804
  props: {
805
805
  /**
@@ -826,65 +826,6 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
826
826
  customEmojis: {
827
827
  type: Array
828
828
  },
829
- /**
830
- * The label for the add emoji button
831
- * required false because it is still experimental
832
- * @type {String}
833
- * @example
834
- * <dt-emoji-picker :addEmojiLabel="'Add emoji'" />
835
- */
836
- addEmojiLabel: {
837
- type: String,
838
- required: !1,
839
- default: "Add emoji"
840
- },
841
- /**
842
- * The placeholder text for the search input
843
- * @type {String}
844
- * @required
845
- * @example
846
- * <dt-emoji-picker :searchPlaceholderLabel="'Search...'" />
847
- */
848
- searchPlaceholderLabel: {
849
- type: String,
850
- required: !0
851
- },
852
- /**
853
- * The label for the search results tab
854
- * @type {String}
855
- * @required
856
- * @example
857
- * <dt-emoji-picker :searchResultsLabel="'Search results'" />
858
- */
859
- searchResultsLabel: {
860
- type: String,
861
- required: !0
862
- },
863
- /**
864
- * The label for the search no results
865
- * @type {String}
866
- * @required
867
- * @example
868
- * <dt-emoji-picker :searchNoResultsLabel="'No results'" />
869
- */
870
- searchNoResultsLabel: {
871
- type: String,
872
- required: !0
873
- },
874
- /**
875
- * The list of tabsets to show, it is necessary to be updated with the correct language
876
- * It must respect the provided order.
877
- * @type {Array}
878
- * @required
879
- * @example
880
- * <dt-emoji-picker
881
- * :tabSetLabels="['Most recently used', 'Smileys and people', 'Nature',
882
- * 'Food', 'Activity', 'Travel', 'Objects', 'Symbols', 'Flags', 'Custom']" />
883
- */
884
- tabSetLabels: {
885
- type: Array,
886
- required: !0
887
- },
888
829
  /**
889
830
  * The skin tone to show the emojis
890
831
  * This prop gives the possibility to use the skin tone selected by the user previously
@@ -899,22 +840,12 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
899
840
  default: "Default"
900
841
  },
901
842
  /**
902
- * Tooltip shown when skin selector button is hovered.
903
- * @type {String}
904
- * @required
905
- * @example
906
- * <dt-emoji-picker :skin-selector-button-tooltip-label="'Change default skin tone'" />
907
- */
908
- skinSelectorButtonTooltipLabel: {
909
- type: String,
910
- required: !0
911
- },
912
- /**
913
- * Sets the search query that filters emojis.
914
- * @type {String}
915
- * @example
916
- * <dt-emoji-picker search-query="smile" />
917
- */
843
+
844
+ * Sets the search query that filters emojis.
845
+ * @type {String}
846
+ * @example
847
+ * <dt-emoji-picker search-query="smile" />
848
+ */
918
849
  searchQuery: {
919
850
  type: String,
920
851
  default: ""
@@ -961,103 +892,114 @@ const Ye = { class: "d-emoji-picker__selector" }, Qe = {
961
892
  "add-emoji"
962
893
  ],
963
894
  setup(o, { emit: g }) {
964
- const y = o, n = g, u = k(y.searchQuery.value), T = k(null), p = k({}), j = k(0), f = M(() => {
895
+ const y = o, l = g, f = S(y.searchQuery.value), R = S(null), L = S({}), I = S(0), m = M(() => {
965
896
  var r;
966
897
  return ((r = y.recentlyUsedEmojis) == null ? void 0 : r.length) > 0;
967
- }), i = M(() => {
898
+ }), a = M(() => {
968
899
  var r;
969
900
  return ((r = y.customEmojis) == null ? void 0 : r.length) > 0;
970
- });
971
- N(
901
+ }), d = new Ve(), D = [
902
+ d.$t("DIALTONE_EMOJI_PICKER_TABSET_RECENTLY_USED_LABEL"),
903
+ d.$t("DIALTONE_EMOJI_PICKER_TABSET_SMILEYS_AND_PEOPLE_LABEL"),
904
+ d.$t("DIALTONE_EMOJI_PICKER_TABSET_NATURE_LABEL"),
905
+ d.$t("DIALTONE_EMOJI_PICKER_TABSET_FOOD_LABEL"),
906
+ d.$t("DIALTONE_EMOJI_PICKER_TABSET_ACTIVITY_LABEL"),
907
+ d.$t("DIALTONE_EMOJI_PICKER_TABSET_TRAVEL_LABEL"),
908
+ d.$t("DIALTONE_EMOJI_PICKER_TABSET_OBJECTS_LABEL"),
909
+ d.$t("DIALTONE_EMOJI_PICKER_TABSET_SYMBOLS_LABEL"),
910
+ d.$t("DIALTONE_EMOJI_PICKER_TABSET_FLAGS_LABEL"),
911
+ d.$t("DIALTONE_EMOJI_PICKER_TABSET_CUSTOM_LABEL")
912
+ ], F = d.$t("DIALTONE_EMOJI_PICKER_SEARCH_PLACEHOLDER_LABEL"), w = d.$t("DIALTONE_EMOJI_PICKER_SEARCH_RESULTS_LABEL"), t = d.$t("DIALTONE_EMOJI_PICKER_SEARCH_NO_RESULTS_LABEL"), e = d.$t("DIALTONE_EMOJI_PICKER_SKIN_SELECTOR_BUTTON_TOOLTIP_LABEL"), n = d.$t("DIALTONE_EMOJI_PICKER_ADD_EMOJI_LABEL");
913
+ K(
972
914
  () => y.searchQuery,
973
915
  (r) => {
974
- u.value = r;
916
+ f.value = r;
975
917
  }
976
918
  );
977
- function S(r) {
978
- u.value = "", p.value = r, p.value = { ...p.value, tabId: r };
919
+ function v(r) {
920
+ f.value = "", L.value = { ...L.value, tabId: r };
979
921
  }
980
- function K(r) {
981
- j.value = r;
922
+ function c(r) {
923
+ I.value = r;
982
924
  }
983
- function A(r) {
984
- T.value = r;
925
+ function T(r) {
926
+ R.value = r;
985
927
  }
986
- return (r, e) => (h(), R("div", pt, [
987
- _("div", kt, [
988
- O(We, {
928
+ return (r, i) => (E(), j("div", pt, [
929
+ A("div", _t, [
930
+ B(We, {
989
931
  ref: "tabsetRef",
990
- "emoji-filter": u.value,
991
- "show-custom-emojis-tab": i.value,
992
- "show-recently-used-tab": f.value,
993
- "scroll-into-tab": j.value,
994
- "tabset-labels": o.tabSetLabels,
995
- onFocusSkinSelector: e[0] || (e[0] = (t) => r.$refs.skinSelectorRef.focusSkinSelector()),
996
- onFocusSearchInput: e[1] || (e[1] = (t) => o.showSearch ? r.$refs.searchInputRef.focusSearchInput() : r.$refs.emojiSelectorRef.focusEmojiSelector()),
997
- onSelectedTabset: S,
998
- onKeydown: e[2] || (e[2] = P((t) => n("close"), ["esc"]))
999
- }, null, 8, ["emoji-filter", "show-custom-emojis-tab", "show-recently-used-tab", "scroll-into-tab", "tabset-labels"])
932
+ "emoji-filter": f.value,
933
+ "show-custom-emojis-tab": a.value,
934
+ "show-recently-used-tab": m.value,
935
+ "scroll-into-tab": I.value,
936
+ "tab-set-labels": D,
937
+ onFocusSkinSelector: i[0] || (i[0] = (_) => r.$refs.skinSelectorRef.focusSkinSelector()),
938
+ onFocusSearchInput: i[1] || (i[1] = (_) => o.showSearch ? r.$refs.searchInputRef.focusSearchInput() : r.$refs.emojiSelectorRef.focusEmojiSelector()),
939
+ onSelectedTabset: v,
940
+ onKeydown: i[2] || (i[2] = J((_) => l("close"), ["esc"]))
941
+ }, null, 8, ["emoji-filter", "show-custom-emojis-tab", "show-recently-used-tab", "scroll-into-tab"])
1000
942
  ]),
1001
- _("div", gt, [
1002
- o.showSearch ? (h(), Z(He, {
943
+ A("div", Et, [
944
+ o.showSearch ? (E(), Z(ze, {
1003
945
  key: 0,
1004
946
  ref: "searchInputRef",
1005
- modelValue: u.value,
1006
- "onUpdate:modelValue": e[3] || (e[3] = (t) => u.value = t),
1007
- "search-placeholder-label": o.searchPlaceholderLabel,
1008
- onSelectFirstEmoji: e[4] || (e[4] = (t) => n("selected-emoji", T.value)),
1009
- onFocusTabset: e[5] || (e[5] = (t) => r.$refs.tabsetRef.focusTabset()),
1010
- onFocusEmojiSelector: e[6] || (e[6] = (t) => r.$refs.emojiSelectorRef.focusEmojiSelector()),
1011
- onKeydown: e[7] || (e[7] = P((t) => n("close"), ["esc"]))
947
+ modelValue: f.value,
948
+ "onUpdate:modelValue": i[3] || (i[3] = (_) => f.value = _),
949
+ "search-placeholder-label": k(F),
950
+ onSelectFirstEmoji: i[4] || (i[4] = (_) => l("selected-emoji", R.value)),
951
+ onFocusTabset: i[5] || (i[5] = (_) => r.$refs.tabsetRef.focusTabset()),
952
+ onFocusEmojiSelector: i[6] || (i[6] = (_) => r.$refs.emojiSelectorRef.focusEmojiSelector()),
953
+ onKeydown: i[7] || (i[7] = J((_) => l("close"), ["esc"]))
1012
954
  }, null, 8, ["modelValue", "search-placeholder-label"])) : Y("", !0),
1013
- O(nt, {
955
+ B(nt, {
1014
956
  ref: "emojiSelectorRef",
1015
- "emoji-filter": u.value,
957
+ "emoji-filter": f.value,
1016
958
  "skin-tone": o.skinTone,
1017
- "tabset-labels": o.tabSetLabels,
1018
- "search-results-label": o.searchResultsLabel,
1019
- "search-no-results-label": o.searchNoResultsLabel,
959
+ "tabset-labels": D,
960
+ "search-results-label": k(w),
961
+ "search-no-results-label": k(t),
1020
962
  "recently-used-emojis": o.recentlyUsedEmojis,
1021
963
  "custom-emojis": o.customEmojis,
1022
- "selected-tabset": p.value,
1023
- onScrollIntoTab: K,
1024
- onHighlightedEmoji: A,
1025
- onSelectedEmoji: e[8] || (e[8] = (t) => n("selected-emoji", t)),
1026
- onFocusSkinSelector: e[9] || (e[9] = (t) => r.$refs.skinSelectorRef.focusSkinSelector()),
1027
- onFocusSearchInput: e[10] || (e[10] = (t) => o.showSearch ? r.$refs.searchInputRef.focusSearchInput() : r.$refs.tabsetRef.focusTabset()),
1028
- onKeydown: e[11] || (e[11] = P((t) => n("close"), ["esc"])),
1029
- onScrollBottomReached: e[12] || (e[12] = (t) => n("scroll-bottom-reached"))
1030
- }, null, 8, ["emoji-filter", "skin-tone", "tabset-labels", "search-results-label", "search-no-results-label", "recently-used-emojis", "custom-emojis", "selected-tabset"])
964
+ "selected-tabset": L.value,
965
+ onScrollIntoTab: c,
966
+ onHighlightedEmoji: T,
967
+ onSelectedEmoji: i[8] || (i[8] = (_) => l("selected-emoji", _)),
968
+ onFocusSkinSelector: i[9] || (i[9] = (_) => r.$refs.skinSelectorRef.focusSkinSelector()),
969
+ onFocusSearchInput: i[10] || (i[10] = (_) => o.showSearch ? r.$refs.searchInputRef.focusSearchInput() : r.$refs.tabsetRef.focusTabset()),
970
+ onKeydown: i[11] || (i[11] = J((_) => l("close"), ["esc"])),
971
+ onScrollBottomReached: i[12] || (i[12] = (_) => l("scroll-bottom-reached"))
972
+ }, null, 8, ["emoji-filter", "skin-tone", "search-results-label", "search-no-results-label", "recently-used-emojis", "custom-emojis", "selected-tabset"])
1031
973
  ]),
1032
- _("div", yt, [
1033
- i.value && !T.value ? (h(), Z($(me), {
974
+ A("div", kt, [
975
+ a.value && !R.value ? (E(), Z(k(de), {
1034
976
  key: 0,
1035
977
  importance: "outlined",
1036
- "aria-label": o.addEmojiLabel,
978
+ "aria-label": k(n),
1037
979
  class: "d-emoji-picker__add-emoji",
1038
- onClick: e[13] || (e[13] = (t) => n("add-emoji"))
980
+ onClick: i[13] || (i[13] = (_) => l("add-emoji"))
1039
981
  }, {
1040
- default: U(() => [
1041
- de(H(o.addEmojiLabel), 1)
982
+ default: N(() => [
983
+ fe(z(k(n)), 1)
1042
984
  ]),
1043
985
  _: 1
1044
986
  }, 8, ["aria-label"])) : Y("", !0),
1045
- O(ht, { emoji: T.value }, null, 8, ["emoji"]),
1046
- O(mt, {
987
+ B(ht, { emoji: R.value }, null, 8, ["emoji"]),
988
+ B(mt, {
1047
989
  ref: "skinSelectorRef",
1048
- "is-hovering": !!T.value,
1049
- "skin-selector-button-tooltip-label": o.skinSelectorButtonTooltipLabel,
990
+ "is-hovering": !!R.value,
991
+ "skin-selector-button-tooltip-label": k(e),
1050
992
  "skin-tone": o.skinTone,
1051
- onSkinTone: e[14] || (e[14] = (t) => n("skin-tone", t)),
1052
- onFocusTabset: e[15] || (e[15] = (t) => r.$refs.tabsetRef.focusTabset()),
1053
- onFocusLastEmoji: e[16] || (e[16] = (t) => r.$refs.emojiSelectorRef.focusLastEmoji()),
1054
- onKeydown: e[17] || (e[17] = P((t) => n("close"), ["esc"]))
993
+ onSkinTone: i[14] || (i[14] = (_) => l("skin-tone", _)),
994
+ onFocusTabset: i[15] || (i[15] = (_) => r.$refs.tabsetRef.focusTabset()),
995
+ onFocusLastEmoji: i[16] || (i[16] = (_) => r.$refs.emojiSelectorRef.focusLastEmoji()),
996
+ onKeydown: i[17] || (i[17] = J((_) => l("close"), ["esc"]))
1055
997
  }, null, 8, ["is-hovering", "skin-selector-button-tooltip-label", "skin-tone"])
1056
998
  ])
1057
999
  ]));
1058
1000
  }
1059
1001
  };
1060
1002
  export {
1061
- Ft as default
1003
+ Ot as default
1062
1004
  };
1063
1005
  //# sourceMappingURL=emoji-picker.js.map