@dialpad/dialtone-vue 3.150.0 → 3.150.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1152) hide show
  1. package/dist/{chunks/_plugin-vue_export-helper-fhnQq0tA.js → _virtual/_plugin-vue_export-helper.cjs} +2 -2
  2. package/dist/_virtual/_plugin-vue_export-helper.cjs.map +1 -0
  3. package/dist/{chunks/_plugin-vue_export-helper-caHeSgYY.js → _virtual/_plugin-vue_export-helper.js} +2 -2
  4. package/dist/_virtual/_plugin-vue_export-helper.js.map +1 -0
  5. package/dist/common/dates.cjs +0 -2
  6. package/dist/common/dates.cjs.map +1 -1
  7. package/dist/common/dates.js +0 -2
  8. package/dist/common/dates.js.map +1 -1
  9. package/dist/common/emoji.cjs +163 -40
  10. package/dist/common/emoji.cjs.map +1 -1
  11. package/dist/common/emoji.js +145 -2
  12. package/dist/common/emoji.js.map +1 -1
  13. package/dist/common/mixins/dom.cjs +101 -0
  14. package/dist/common/mixins/dom.cjs.map +1 -0
  15. package/dist/common/mixins/dom.js +102 -0
  16. package/dist/common/mixins/dom.js.map +1 -0
  17. package/dist/{chunks/input-ttnte8zB.js → common/mixins/input.cjs} +5 -4
  18. package/dist/common/mixins/input.cjs.map +1 -0
  19. package/dist/{chunks/input-NmYDD5bn.js → common/mixins/input.js} +4 -4
  20. package/dist/common/mixins/input.js.map +1 -0
  21. package/dist/{chunks/input_group-M-D25pOJ.js → common/mixins/input_group.cjs} +6 -5
  22. package/dist/common/mixins/input_group.cjs.map +1 -0
  23. package/dist/{chunks/input_group-jWnq2DJT.js → common/mixins/input_group.js} +4 -4
  24. package/dist/common/mixins/input_group.js.map +1 -0
  25. package/dist/{chunks/keyboard_list_navigation-fJnl_Iox.js → common/mixins/keyboard_list_navigation.cjs} +4 -101
  26. package/dist/common/mixins/keyboard_list_navigation.cjs.map +1 -0
  27. package/dist/{chunks/keyboard_list_navigation-ScXhrxya.js → common/mixins/keyboard_list_navigation.js} +3 -100
  28. package/dist/common/mixins/keyboard_list_navigation.js.map +1 -0
  29. package/dist/{chunks/modal-VgxXAQFP.js → common/mixins/modal.cjs} +3 -4
  30. package/dist/common/mixins/modal.cjs.map +1 -0
  31. package/dist/{chunks/modal-XOr4kiNZ.js → common/mixins/modal.js} +3 -4
  32. package/dist/common/mixins/modal.js.map +1 -0
  33. package/dist/common/mixins/skeleton.cjs +27 -0
  34. package/dist/common/mixins/skeleton.cjs.map +1 -0
  35. package/dist/common/mixins/skeleton.js +28 -0
  36. package/dist/common/mixins/skeleton.js.map +1 -0
  37. package/dist/common/mixins/sr_only_close_button.cjs +45 -0
  38. package/dist/common/mixins/sr_only_close_button.cjs.map +1 -0
  39. package/dist/common/mixins/sr_only_close_button.js +46 -0
  40. package/dist/common/mixins/sr_only_close_button.js.map +1 -0
  41. package/dist/common/mixins.cjs +4 -10
  42. package/dist/common/mixins.cjs.map +1 -1
  43. package/dist/common/mixins.js +4 -10
  44. package/dist/common/mixins.js.map +1 -1
  45. package/dist/common/sr_only_close_button.vue.cjs +48 -0
  46. package/dist/common/sr_only_close_button.vue.cjs.map +1 -0
  47. package/dist/common/sr_only_close_button.vue.js +49 -0
  48. package/dist/common/sr_only_close_button.vue.js.map +1 -0
  49. package/dist/common/storybook_utils.cjs +8 -0
  50. package/dist/common/storybook_utils.cjs.map +1 -0
  51. package/dist/common/storybook_utils.js +8 -0
  52. package/dist/common/storybook_utils.js.map +1 -0
  53. package/dist/common/utils.cjs +6 -12
  54. package/dist/common/utils.cjs.map +1 -1
  55. package/dist/common/utils.js +6 -12
  56. package/dist/common/utils.js.map +1 -1
  57. package/dist/components/avatar/avatar.vue.cjs +378 -0
  58. package/dist/components/avatar/avatar.vue.cjs.map +1 -0
  59. package/dist/components/avatar/avatar.vue.js +379 -0
  60. package/dist/components/avatar/avatar.vue.js.map +1 -0
  61. package/dist/components/avatar/avatar_constants.cjs +64 -0
  62. package/dist/components/avatar/avatar_constants.cjs.map +1 -0
  63. package/dist/components/avatar/avatar_constants.js +64 -0
  64. package/dist/components/avatar/avatar_constants.js.map +1 -0
  65. package/dist/components/avatar/utils.cjs +9 -0
  66. package/dist/components/avatar/utils.cjs.map +1 -0
  67. package/dist/components/avatar/utils.js +9 -0
  68. package/dist/components/avatar/utils.js.map +1 -0
  69. package/dist/components/badge/badge.vue.cjs +183 -0
  70. package/dist/components/badge/badge.vue.cjs.map +1 -0
  71. package/dist/components/badge/badge.vue.js +184 -0
  72. package/dist/components/badge/badge.vue.js.map +1 -0
  73. package/dist/components/badge/badge_constants.cjs +43 -0
  74. package/dist/components/badge/badge_constants.cjs.map +1 -0
  75. package/dist/components/badge/badge_constants.js +43 -0
  76. package/dist/components/badge/badge_constants.js.map +1 -0
  77. package/dist/components/banner/banner.vue.cjs +236 -0
  78. package/dist/components/banner/banner.vue.cjs.map +1 -0
  79. package/dist/components/banner/banner.vue.js +237 -0
  80. package/dist/components/banner/banner.vue.js.map +1 -0
  81. package/dist/components/breadcrumbs/breadcrumb_item.vue.cjs +79 -0
  82. package/dist/components/breadcrumbs/breadcrumb_item.vue.cjs.map +1 -0
  83. package/dist/components/breadcrumbs/breadcrumb_item.vue.js +80 -0
  84. package/dist/components/breadcrumbs/breadcrumb_item.vue.js.map +1 -0
  85. package/dist/components/breadcrumbs/breadcrumbs.vue.cjs +77 -0
  86. package/dist/components/breadcrumbs/breadcrumbs.vue.cjs.map +1 -0
  87. package/dist/components/breadcrumbs/breadcrumbs.vue.js +78 -0
  88. package/dist/components/breadcrumbs/breadcrumbs.vue.js.map +1 -0
  89. package/dist/components/breadcrumbs/breadcrumbs_constants.cjs +7 -0
  90. package/dist/components/breadcrumbs/breadcrumbs_constants.cjs.map +1 -0
  91. package/dist/components/breadcrumbs/breadcrumbs_constants.js +7 -0
  92. package/dist/components/breadcrumbs/breadcrumbs_constants.js.map +1 -0
  93. package/dist/components/button/button.vue.cjs +290 -0
  94. package/dist/components/button/button.vue.cjs.map +1 -0
  95. package/dist/components/button/button.vue.js +291 -0
  96. package/dist/components/button/button.vue.js.map +1 -0
  97. package/dist/components/button/button_constants.cjs +71 -0
  98. package/dist/components/button/button_constants.cjs.map +1 -0
  99. package/dist/components/button/button_constants.js +71 -0
  100. package/dist/components/button/button_constants.js.map +1 -0
  101. package/dist/components/button_group/button_group.vue.cjs +36 -0
  102. package/dist/components/button_group/button_group.vue.cjs.map +1 -0
  103. package/dist/components/button_group/button_group.vue.js +37 -0
  104. package/dist/components/button_group/button_group.vue.js.map +1 -0
  105. package/dist/components/button_group/button_group_constants.cjs +9 -0
  106. package/dist/components/button_group/button_group_constants.cjs.map +1 -0
  107. package/dist/components/button_group/button_group_constants.js +9 -0
  108. package/dist/components/button_group/button_group_constants.js.map +1 -0
  109. package/dist/components/card/card.vue.cjs +90 -0
  110. package/dist/components/card/card.vue.cjs.map +1 -0
  111. package/dist/components/card/card.vue.js +91 -0
  112. package/dist/components/card/card.vue.js.map +1 -0
  113. package/dist/components/checkbox/checkbox.vue.cjs +149 -0
  114. package/dist/components/checkbox/checkbox.vue.cjs.map +1 -0
  115. package/dist/components/checkbox/checkbox.vue.js +150 -0
  116. package/dist/components/checkbox/checkbox.vue.js.map +1 -0
  117. package/dist/components/checkbox/checkbox_constants.cjs +9 -0
  118. package/dist/components/checkbox/checkbox_constants.cjs.map +1 -0
  119. package/dist/components/checkbox/checkbox_constants.js +9 -0
  120. package/dist/components/checkbox/checkbox_constants.js.map +1 -0
  121. package/dist/components/checkbox_group/checkbox_group.vue.cjs +110 -0
  122. package/dist/components/checkbox_group/checkbox_group.vue.cjs.map +1 -0
  123. package/dist/components/checkbox_group/checkbox_group.vue.js +111 -0
  124. package/dist/components/checkbox_group/checkbox_group.vue.js.map +1 -0
  125. package/dist/components/chip/chip.vue.cjs +212 -0
  126. package/dist/components/chip/chip.vue.cjs.map +1 -0
  127. package/dist/components/chip/chip.vue.js +213 -0
  128. package/dist/components/chip/chip.vue.js.map +1 -0
  129. package/dist/components/chip/chip_constants.cjs +21 -0
  130. package/dist/components/chip/chip_constants.cjs.map +1 -0
  131. package/dist/components/chip/chip_constants.js +21 -0
  132. package/dist/components/chip/chip_constants.js.map +1 -0
  133. package/dist/components/codeblock/codeblock.vue.cjs +23 -0
  134. package/dist/components/codeblock/codeblock.vue.cjs.map +1 -0
  135. package/dist/components/codeblock/codeblock.vue.js +24 -0
  136. package/dist/components/codeblock/codeblock.vue.js.map +1 -0
  137. package/dist/components/collapsible/collapsible.vue.cjs +250 -0
  138. package/dist/components/collapsible/collapsible.vue.cjs.map +1 -0
  139. package/dist/components/collapsible/collapsible.vue.js +251 -0
  140. package/dist/components/collapsible/collapsible.vue.js.map +1 -0
  141. package/dist/components/collapsible/collapsible_lazy_show.vue.cjs +149 -0
  142. package/dist/components/collapsible/collapsible_lazy_show.vue.cjs.map +1 -0
  143. package/dist/components/collapsible/collapsible_lazy_show.vue.js +150 -0
  144. package/dist/components/collapsible/collapsible_lazy_show.vue.js.map +1 -0
  145. package/dist/{chunks/index-4qgKeErp.js → components/combobox/combobox.vue.cjs} +19 -109
  146. package/dist/components/combobox/combobox.vue.cjs.map +1 -0
  147. package/dist/{chunks/index-b_MgDylR.js → components/combobox/combobox.vue.js} +15 -105
  148. package/dist/components/combobox/combobox.vue.js.map +1 -0
  149. package/dist/components/combobox/combobox_constants.cjs +11 -0
  150. package/dist/components/combobox/combobox_constants.cjs.map +1 -0
  151. package/dist/components/combobox/combobox_constants.js +11 -0
  152. package/dist/components/combobox/combobox_constants.js.map +1 -0
  153. package/dist/components/combobox/combobox_empty-list.vue.cjs +52 -0
  154. package/dist/components/combobox/combobox_empty-list.vue.cjs.map +1 -0
  155. package/dist/components/combobox/combobox_empty-list.vue.js +53 -0
  156. package/dist/components/combobox/combobox_empty-list.vue.js.map +1 -0
  157. package/dist/components/combobox/combobox_loading-list.vue.cjs +37 -0
  158. package/dist/components/combobox/combobox_loading-list.vue.cjs.map +1 -0
  159. package/dist/components/combobox/combobox_loading-list.vue.js +38 -0
  160. package/dist/components/combobox/combobox_loading-list.vue.js.map +1 -0
  161. package/dist/components/datepicker/composables/useCalendar.cjs +116 -0
  162. package/dist/components/datepicker/composables/useCalendar.cjs.map +1 -0
  163. package/dist/components/datepicker/composables/useCalendar.js +116 -0
  164. package/dist/components/datepicker/composables/useCalendar.js.map +1 -0
  165. package/dist/components/datepicker/composables/useMonthYearPicker.cjs +109 -0
  166. package/dist/components/datepicker/composables/useMonthYearPicker.cjs.map +1 -0
  167. package/dist/components/datepicker/composables/useMonthYearPicker.js +109 -0
  168. package/dist/components/datepicker/composables/useMonthYearPicker.js.map +1 -0
  169. package/dist/components/datepicker/datepicker.vue.cjs +153 -0
  170. package/dist/components/datepicker/datepicker.vue.cjs.map +1 -0
  171. package/dist/components/datepicker/datepicker.vue.js +154 -0
  172. package/dist/components/datepicker/datepicker.vue.js.map +1 -0
  173. package/dist/components/datepicker/datepicker_constants.cjs +9 -0
  174. package/dist/components/datepicker/datepicker_constants.cjs.map +1 -0
  175. package/dist/components/datepicker/datepicker_constants.js +9 -0
  176. package/dist/components/datepicker/datepicker_constants.js.map +1 -0
  177. package/dist/components/datepicker/formatUtils.cjs +25 -0
  178. package/dist/components/datepicker/formatUtils.cjs.map +1 -0
  179. package/dist/components/datepicker/formatUtils.js +25 -0
  180. package/dist/components/datepicker/formatUtils.js.map +1 -0
  181. package/dist/components/datepicker/modules/calendar.vue.cjs +137 -0
  182. package/dist/components/datepicker/modules/calendar.vue.cjs.map +1 -0
  183. package/dist/components/datepicker/modules/calendar.vue.js +138 -0
  184. package/dist/components/datepicker/modules/calendar.vue.js.map +1 -0
  185. package/dist/components/datepicker/modules/month-year-picker.vue.cjs +258 -0
  186. package/dist/components/datepicker/modules/month-year-picker.vue.cjs.map +1 -0
  187. package/dist/components/datepicker/modules/month-year-picker.vue.js +259 -0
  188. package/dist/components/datepicker/modules/month-year-picker.vue.js.map +1 -0
  189. package/dist/components/datepicker/utils.cjs +84 -0
  190. package/dist/components/datepicker/utils.cjs.map +1 -0
  191. package/dist/components/datepicker/utils.js +84 -0
  192. package/dist/components/datepicker/utils.js.map +1 -0
  193. package/dist/components/description_list/description_list.vue.cjs +88 -0
  194. package/dist/components/description_list/description_list.vue.cjs.map +1 -0
  195. package/dist/components/description_list/description_list.vue.js +89 -0
  196. package/dist/components/description_list/description_list.vue.js.map +1 -0
  197. package/dist/components/description_list/description_list_constants.cjs +5 -0
  198. package/dist/components/description_list/description_list_constants.cjs.map +1 -0
  199. package/dist/components/description_list/description_list_constants.js +5 -0
  200. package/dist/components/description_list/description_list_constants.js.map +1 -0
  201. package/dist/components/description_list/description_list_validators.cjs +33 -0
  202. package/dist/components/description_list/description_list_validators.cjs.map +1 -0
  203. package/dist/components/description_list/description_list_validators.js +33 -0
  204. package/dist/components/description_list/description_list_validators.js.map +1 -0
  205. package/dist/{chunks/dropdown-p-Azgwov.js → components/dropdown/dropdown.vue.cjs} +18 -16
  206. package/dist/components/dropdown/dropdown.vue.cjs.map +1 -0
  207. package/dist/{chunks/dropdown-oA-_Gotg.js → components/dropdown/dropdown.vue.js} +13 -11
  208. package/dist/components/dropdown/dropdown.vue.js.map +1 -0
  209. package/dist/{chunks/dropdown_constants-2pGCXy7m.js → components/dropdown/dropdown_constants.cjs} +2 -1
  210. package/dist/components/dropdown/dropdown_constants.cjs.map +1 -0
  211. package/dist/{chunks/dropdown_constants-w1MXGC3Z.js → components/dropdown/dropdown_constants.js} +1 -1
  212. package/dist/components/dropdown/dropdown_constants.js.map +1 -0
  213. package/dist/components/dropdown/dropdown_separator.vue.cjs +17 -0
  214. package/dist/components/dropdown/dropdown_separator.vue.cjs.map +1 -0
  215. package/dist/components/dropdown/dropdown_separator.vue.js +18 -0
  216. package/dist/components/dropdown/dropdown_separator.vue.js.map +1 -0
  217. package/dist/components/emoji/emoji.vue.cjs +155 -0
  218. package/dist/components/emoji/emoji.vue.cjs.map +1 -0
  219. package/dist/components/emoji/emoji.vue.js +156 -0
  220. package/dist/components/emoji/emoji.vue.js.map +1 -0
  221. package/dist/components/emoji_picker/composables/useKeyboardNavigation.cjs +153 -0
  222. package/dist/components/emoji_picker/composables/useKeyboardNavigation.cjs.map +1 -0
  223. package/dist/components/emoji_picker/composables/useKeyboardNavigation.js +153 -0
  224. package/dist/components/emoji_picker/composables/useKeyboardNavigation.js.map +1 -0
  225. package/dist/components/emoji_picker/emoji_picker.vue.cjs +233 -0
  226. package/dist/components/emoji_picker/emoji_picker.vue.cjs.map +1 -0
  227. package/dist/components/emoji_picker/emoji_picker.vue.js +234 -0
  228. package/dist/components/emoji_picker/emoji_picker.vue.js.map +1 -0
  229. package/dist/components/emoji_picker/emoji_picker_constants.cjs +35 -0
  230. package/dist/components/emoji_picker/emoji_picker_constants.cjs.map +1 -0
  231. package/dist/components/emoji_picker/emoji_picker_constants.js +35 -0
  232. package/dist/components/emoji_picker/emoji_picker_constants.js.map +1 -0
  233. package/dist/components/emoji_picker/modules/emoji_description.vue.cjs +37 -0
  234. package/dist/components/emoji_picker/modules/emoji_description.vue.cjs.map +1 -0
  235. package/dist/components/emoji_picker/modules/emoji_description.vue.js +38 -0
  236. package/dist/components/emoji_picker/modules/emoji_description.vue.js.map +1 -0
  237. package/dist/components/emoji_picker/modules/emoji_search.vue.cjs +84 -0
  238. package/dist/components/emoji_picker/modules/emoji_search.vue.cjs.map +1 -0
  239. package/dist/components/emoji_picker/modules/emoji_search.vue.js +85 -0
  240. package/dist/components/emoji_picker/modules/emoji_search.vue.js.map +1 -0
  241. package/dist/components/emoji_picker/modules/emoji_selector.vue.cjs +428 -0
  242. package/dist/components/emoji_picker/modules/emoji_selector.vue.cjs.map +1 -0
  243. package/dist/components/emoji_picker/modules/emoji_selector.vue.js +429 -0
  244. package/dist/components/emoji_picker/modules/emoji_selector.vue.js.map +1 -0
  245. package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.cjs +198 -0
  246. package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.cjs.map +1 -0
  247. package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.js +199 -0
  248. package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.js.map +1 -0
  249. package/dist/components/emoji_picker/modules/emoji_tabset.vue.cjs +166 -0
  250. package/dist/components/emoji_picker/modules/emoji_tabset.vue.cjs.map +1 -0
  251. package/dist/components/emoji_picker/modules/emoji_tabset.vue.js +167 -0
  252. package/dist/components/emoji_picker/modules/emoji_tabset.vue.js.map +1 -0
  253. package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs +95 -0
  254. package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs.map +1 -0
  255. package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.js +96 -0
  256. package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.js.map +1 -0
  257. package/dist/components/empty_state/empty_state.vue.cjs +171 -0
  258. package/dist/components/empty_state/empty_state.vue.cjs.map +1 -0
  259. package/dist/components/empty_state/empty_state.vue.js +172 -0
  260. package/dist/components/empty_state/empty_state.vue.js.map +1 -0
  261. package/dist/components/empty_state/empty_state_constants.cjs +9 -0
  262. package/dist/components/empty_state/empty_state_constants.cjs.map +1 -0
  263. package/dist/components/empty_state/empty_state_constants.js +9 -0
  264. package/dist/components/empty_state/empty_state_constants.js.map +1 -0
  265. package/dist/components/hovercard/hovercard.vue.cjs +166 -0
  266. package/dist/components/hovercard/hovercard.vue.cjs.map +1 -0
  267. package/dist/components/hovercard/hovercard.vue.js +167 -0
  268. package/dist/components/hovercard/hovercard.vue.js.map +1 -0
  269. package/dist/components/hovercard/timer.cjs +59 -0
  270. package/dist/components/hovercard/timer.cjs.map +1 -0
  271. package/dist/components/hovercard/timer.js +60 -0
  272. package/dist/components/hovercard/timer.js.map +1 -0
  273. package/dist/components/icon/icon.vue.cjs +55 -0
  274. package/dist/components/icon/icon.vue.cjs.map +1 -0
  275. package/dist/components/icon/icon.vue.js +56 -0
  276. package/dist/components/icon/icon.vue.js.map +1 -0
  277. package/dist/{chunks/icon_constants-da57m7BZ.js → components/icon/icon_constants.cjs} +2 -1
  278. package/dist/components/icon/icon_constants.cjs.map +1 -0
  279. package/dist/{chunks/icon_constants-H9ahUVCG.js → components/icon/icon_constants.js} +1 -1
  280. package/dist/components/icon/icon_constants.js.map +1 -0
  281. package/dist/components/illustration/illustration.vue.cjs +30 -0
  282. package/dist/components/illustration/illustration.vue.cjs.map +1 -0
  283. package/dist/components/illustration/illustration.vue.js +31 -0
  284. package/dist/components/illustration/illustration.vue.js.map +1 -0
  285. package/dist/components/illustration/illustration_constants.cjs +6 -0
  286. package/dist/components/illustration/illustration_constants.cjs.map +1 -0
  287. package/dist/components/illustration/illustration_constants.js +6 -0
  288. package/dist/components/illustration/illustration_constants.js.map +1 -0
  289. package/dist/components/image_viewer/image_viewer.vue.cjs +248 -0
  290. package/dist/components/image_viewer/image_viewer.vue.cjs.map +1 -0
  291. package/dist/components/image_viewer/image_viewer.vue.js +249 -0
  292. package/dist/components/image_viewer/image_viewer.vue.js.map +1 -0
  293. package/dist/components/input/input.vue.cjs +505 -0
  294. package/dist/components/input/input.vue.cjs.map +1 -0
  295. package/dist/components/input/input.vue.js +506 -0
  296. package/dist/components/input/input.vue.js.map +1 -0
  297. package/dist/components/input/input_constants.cjs +65 -0
  298. package/dist/components/input/input_constants.cjs.map +1 -0
  299. package/dist/components/input/input_constants.js +65 -0
  300. package/dist/components/input/input_constants.js.map +1 -0
  301. package/dist/components/input_group/input_group.vue.cjs +89 -0
  302. package/dist/components/input_group/input_group.vue.cjs.map +1 -0
  303. package/dist/components/input_group/input_group.vue.js +90 -0
  304. package/dist/components/input_group/input_group.vue.js.map +1 -0
  305. package/dist/components/item_layout/item_layout.vue.cjs +90 -0
  306. package/dist/components/item_layout/item_layout.vue.cjs.map +1 -0
  307. package/dist/components/item_layout/item_layout.vue.js +91 -0
  308. package/dist/components/item_layout/item_layout.vue.js.map +1 -0
  309. package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.cjs +102 -0
  310. package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.cjs.map +1 -0
  311. package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.js +103 -0
  312. package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.js.map +1 -0
  313. package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.cjs +18 -0
  314. package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.cjs.map +1 -0
  315. package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.js +18 -0
  316. package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.js.map +1 -0
  317. package/dist/components/lazy_show/lazy_show.vue.cjs +81 -0
  318. package/dist/components/lazy_show/lazy_show.vue.cjs.map +1 -0
  319. package/dist/components/lazy_show/lazy_show.vue.js +82 -0
  320. package/dist/components/lazy_show/lazy_show.vue.js.map +1 -0
  321. package/dist/components/link/link.vue.cjs +55 -0
  322. package/dist/components/link/link.vue.cjs.map +1 -0
  323. package/dist/components/link/link.vue.js +56 -0
  324. package/dist/components/link/link.vue.js.map +1 -0
  325. package/dist/{chunks/link_constants-x8NwdqmA.js → components/link/link_constants.cjs} +6 -1
  326. package/dist/components/link/link_constants.cjs.map +1 -0
  327. package/dist/{chunks/link_constants-AfTWrr-n.js → components/link/link_constants.js} +5 -1
  328. package/dist/components/link/link_constants.js.map +1 -0
  329. package/dist/components/list_item/list_item.vue.cjs +211 -0
  330. package/dist/components/list_item/list_item.vue.cjs.map +1 -0
  331. package/dist/components/list_item/list_item.vue.js +212 -0
  332. package/dist/components/list_item/list_item.vue.js.map +1 -0
  333. package/dist/{chunks/list_item_constants-EiqkqZvP.js → components/list_item/list_item_constants.cjs} +2 -1
  334. package/dist/components/list_item/list_item_constants.cjs.map +1 -0
  335. package/dist/{chunks/list_item_constants-u1xcN9Dd.js → components/list_item/list_item_constants.js} +1 -1
  336. package/dist/components/list_item/list_item_constants.js.map +1 -0
  337. package/dist/components/list_item_group/list_item_group.vue.cjs +66 -0
  338. package/dist/components/list_item_group/list_item_group.vue.cjs.map +1 -0
  339. package/dist/components/list_item_group/list_item_group.vue.js +67 -0
  340. package/dist/components/list_item_group/list_item_group.vue.js.map +1 -0
  341. package/dist/components/modal/modal.vue.cjs +423 -0
  342. package/dist/components/modal/modal.vue.cjs.map +1 -0
  343. package/dist/components/modal/modal.vue.js +424 -0
  344. package/dist/components/modal/modal.vue.js.map +1 -0
  345. package/dist/components/modal/modal_constants.cjs +21 -0
  346. package/dist/components/modal/modal_constants.cjs.map +1 -0
  347. package/dist/components/modal/modal_constants.js +21 -0
  348. package/dist/components/modal/modal_constants.js.map +1 -0
  349. package/dist/components/notice/notice.vue.cjs +195 -0
  350. package/dist/components/notice/notice.vue.cjs.map +1 -0
  351. package/dist/components/notice/notice.vue.js +196 -0
  352. package/dist/components/notice/notice.vue.js.map +1 -0
  353. package/dist/components/notice/notice_action.vue.cjs +105 -0
  354. package/dist/components/notice/notice_action.vue.cjs.map +1 -0
  355. package/dist/components/notice/notice_action.vue.js +106 -0
  356. package/dist/components/notice/notice_action.vue.js.map +1 -0
  357. package/dist/{chunks/notice_constants-UXo9e3bS.js → components/notice/notice_constants.cjs} +2 -1
  358. package/dist/components/notice/notice_constants.cjs.map +1 -0
  359. package/dist/{chunks/notice_constants-7Qt2CQEY.js → components/notice/notice_constants.js} +1 -1
  360. package/dist/components/notice/notice_constants.js.map +1 -0
  361. package/dist/components/notice/notice_content.vue.cjs +67 -0
  362. package/dist/components/notice/notice_content.vue.cjs.map +1 -0
  363. package/dist/components/notice/notice_content.vue.js +68 -0
  364. package/dist/components/notice/notice_content.vue.js.map +1 -0
  365. package/dist/components/notice/notice_icon.vue.cjs +61 -0
  366. package/dist/components/notice/notice_icon.vue.cjs.map +1 -0
  367. package/dist/components/notice/notice_icon.vue.js +62 -0
  368. package/dist/components/notice/notice_icon.vue.js.map +1 -0
  369. package/dist/components/pagination/pagination.vue.cjs +199 -0
  370. package/dist/components/pagination/pagination.vue.cjs.map +1 -0
  371. package/dist/components/pagination/pagination.vue.js +200 -0
  372. package/dist/components/pagination/pagination.vue.js.map +1 -0
  373. package/dist/components/popover/popover.vue.cjs +1014 -0
  374. package/dist/components/popover/popover.vue.cjs.map +1 -0
  375. package/dist/components/popover/popover.vue.js +1015 -0
  376. package/dist/components/popover/popover.vue.js.map +1 -0
  377. package/dist/components/popover/popover_constants.cjs +34 -0
  378. package/dist/components/popover/popover_constants.cjs.map +1 -0
  379. package/dist/components/popover/popover_constants.js +34 -0
  380. package/dist/components/popover/popover_constants.js.map +1 -0
  381. package/dist/components/popover/popover_header_footer.vue.cjs +114 -0
  382. package/dist/components/popover/popover_header_footer.vue.cjs.map +1 -0
  383. package/dist/components/popover/popover_header_footer.vue.js +115 -0
  384. package/dist/components/popover/popover_header_footer.vue.js.map +1 -0
  385. package/dist/{chunks/popover_constants-XnGWXaxX.js → components/popover/tippy_utils.cjs} +6 -52
  386. package/dist/components/popover/tippy_utils.cjs.map +1 -0
  387. package/dist/{chunks/popover_constants-WsOUIY-m.js → components/popover/tippy_utils.js} +5 -52
  388. package/dist/components/popover/tippy_utils.js.map +1 -0
  389. package/dist/components/presence/presence.vue.cjs +57 -0
  390. package/dist/components/presence/presence.vue.cjs.map +1 -0
  391. package/dist/components/presence/presence.vue.js +58 -0
  392. package/dist/components/presence/presence.vue.js.map +1 -0
  393. package/dist/components/presence/presence_constants.cjs +17 -0
  394. package/dist/components/presence/presence_constants.cjs.map +1 -0
  395. package/dist/components/presence/presence_constants.js +17 -0
  396. package/dist/components/presence/presence_constants.js.map +1 -0
  397. package/dist/components/radio/radio.vue.cjs +155 -0
  398. package/dist/components/radio/radio.vue.cjs.map +1 -0
  399. package/dist/components/radio/radio.vue.js +156 -0
  400. package/dist/components/radio/radio.vue.js.map +1 -0
  401. package/dist/components/radio/radio_constants.cjs +9 -0
  402. package/dist/components/radio/radio_constants.cjs.map +1 -0
  403. package/dist/components/radio/radio_constants.js +9 -0
  404. package/dist/components/radio/radio_constants.js.map +1 -0
  405. package/dist/components/radio_group/radio_group.vue.cjs +82 -0
  406. package/dist/components/radio_group/radio_group.vue.cjs.map +1 -0
  407. package/dist/components/radio_group/radio_group.vue.js +83 -0
  408. package/dist/components/radio_group/radio_group.vue.js.map +1 -0
  409. package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs +36 -0
  410. package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs.map +1 -0
  411. package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js +37 -0
  412. package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js.map +1 -0
  413. package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs +49 -0
  414. package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs.map +1 -0
  415. package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js +50 -0
  416. package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js.map +1 -0
  417. package/dist/components/rich_text_editor/extensions/channels/channel.cjs +46 -0
  418. package/dist/components/rich_text_editor/extensions/channels/channel.cjs.map +1 -0
  419. package/dist/components/rich_text_editor/extensions/channels/channel.js +46 -0
  420. package/dist/components/rich_text_editor/extensions/channels/channel.js.map +1 -0
  421. package/dist/components/rich_text_editor/extensions/channels/suggestion.cjs +81 -0
  422. package/dist/components/rich_text_editor/extensions/channels/suggestion.cjs.map +1 -0
  423. package/dist/components/rich_text_editor/extensions/channels/suggestion.js +82 -0
  424. package/dist/components/rich_text_editor/extensions/channels/suggestion.js.map +1 -0
  425. package/dist/components/rich_text_editor/extensions/custom_link/autolink.cjs +49 -0
  426. package/dist/components/rich_text_editor/extensions/custom_link/autolink.cjs.map +1 -0
  427. package/dist/components/rich_text_editor/extensions/custom_link/autolink.js +49 -0
  428. package/dist/components/rich_text_editor/extensions/custom_link/autolink.js.map +1 -0
  429. package/dist/components/rich_text_editor/extensions/custom_link/custom_link.cjs +31 -0
  430. package/dist/components/rich_text_editor/extensions/custom_link/custom_link.cjs.map +1 -0
  431. package/dist/components/rich_text_editor/extensions/custom_link/custom_link.js +31 -0
  432. package/dist/components/rich_text_editor/extensions/custom_link/custom_link.js.map +1 -0
  433. package/dist/components/rich_text_editor/extensions/custom_link/index.cjs +4 -0
  434. package/dist/components/rich_text_editor/extensions/custom_link/index.cjs.map +1 -0
  435. package/dist/components/rich_text_editor/extensions/custom_link/index.js +5 -0
  436. package/dist/components/rich_text_editor/extensions/custom_link/index.js.map +1 -0
  437. package/dist/components/rich_text_editor/extensions/custom_link/utils.cjs +105 -0
  438. package/dist/components/rich_text_editor/extensions/custom_link/utils.cjs.map +1 -0
  439. package/dist/components/rich_text_editor/extensions/custom_link/utils.js +105 -0
  440. package/dist/components/rich_text_editor/extensions/custom_link/utils.js.map +1 -0
  441. package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs +29 -0
  442. package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs.map +1 -0
  443. package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js +30 -0
  444. package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js.map +1 -0
  445. package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs +38 -0
  446. package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs.map +1 -0
  447. package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js +39 -0
  448. package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js.map +1 -0
  449. package/dist/components/rich_text_editor/extensions/emoji/emoji.cjs +136 -0
  450. package/dist/components/rich_text_editor/extensions/emoji/emoji.cjs.map +1 -0
  451. package/dist/components/rich_text_editor/extensions/emoji/emoji.js +136 -0
  452. package/dist/components/rich_text_editor/extensions/emoji/emoji.js.map +1 -0
  453. package/dist/components/rich_text_editor/extensions/emoji/index.cjs +4 -0
  454. package/dist/components/rich_text_editor/extensions/emoji/index.cjs.map +1 -0
  455. package/dist/components/rich_text_editor/extensions/emoji/index.js +5 -0
  456. package/dist/components/rich_text_editor/extensions/emoji/index.js.map +1 -0
  457. package/dist/components/rich_text_editor/extensions/emoji/suggestion.cjs +109 -0
  458. package/dist/components/rich_text_editor/extensions/emoji/suggestion.cjs.map +1 -0
  459. package/dist/components/rich_text_editor/extensions/emoji/suggestion.js +110 -0
  460. package/dist/components/rich_text_editor/extensions/emoji/suggestion.js.map +1 -0
  461. package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs +36 -0
  462. package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs.map +1 -0
  463. package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js +37 -0
  464. package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js.map +1 -0
  465. package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs +50 -0
  466. package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs.map +1 -0
  467. package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js +51 -0
  468. package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js.map +1 -0
  469. package/dist/components/rich_text_editor/extensions/mentions/mention.cjs +45 -0
  470. package/dist/components/rich_text_editor/extensions/mentions/mention.cjs.map +1 -0
  471. package/dist/components/rich_text_editor/extensions/mentions/mention.js +45 -0
  472. package/dist/components/rich_text_editor/extensions/mentions/mention.js.map +1 -0
  473. package/dist/components/rich_text_editor/extensions/mentions/suggestion.cjs +81 -0
  474. package/dist/components/rich_text_editor/extensions/mentions/suggestion.cjs.map +1 -0
  475. package/dist/components/rich_text_editor/extensions/mentions/suggestion.js +82 -0
  476. package/dist/components/rich_text_editor/extensions/mentions/suggestion.js.map +1 -0
  477. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs +32 -0
  478. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs.map +1 -0
  479. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js +33 -0
  480. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js.map +1 -0
  481. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs +38 -0
  482. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs.map +1 -0
  483. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js +39 -0
  484. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js.map +1 -0
  485. package/dist/components/rich_text_editor/extensions/slash_command/slash_command.cjs +88 -0
  486. package/dist/components/rich_text_editor/extensions/slash_command/slash_command.cjs.map +1 -0
  487. package/dist/components/rich_text_editor/extensions/slash_command/slash_command.js +88 -0
  488. package/dist/components/rich_text_editor/extensions/slash_command/slash_command.js.map +1 -0
  489. package/dist/components/rich_text_editor/extensions/slash_command/suggestion.cjs +83 -0
  490. package/dist/components/rich_text_editor/extensions/slash_command/suggestion.cjs.map +1 -0
  491. package/dist/components/rich_text_editor/extensions/slash_command/suggestion.js +84 -0
  492. package/dist/components/rich_text_editor/extensions/slash_command/suggestion.js.map +1 -0
  493. package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs +128 -0
  494. package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs.map +1 -0
  495. package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js +129 -0
  496. package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js.map +1 -0
  497. package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.cjs +22 -0
  498. package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.cjs.map +1 -0
  499. package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.js +23 -0
  500. package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.js.map +1 -0
  501. package/dist/components/rich_text_editor/rich_text_editor.vue.cjs +520 -0
  502. package/dist/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -0
  503. package/dist/components/rich_text_editor/rich_text_editor.vue.js +521 -0
  504. package/dist/components/rich_text_editor/rich_text_editor.vue.js.map +1 -0
  505. package/dist/components/rich_text_editor/rich_text_editor_constants.cjs +24 -0
  506. package/dist/components/rich_text_editor/rich_text_editor_constants.cjs.map +1 -0
  507. package/dist/components/rich_text_editor/rich_text_editor_constants.js +24 -0
  508. package/dist/components/rich_text_editor/rich_text_editor_constants.js.map +1 -0
  509. package/dist/components/root_layout/root_layout.vue.cjs +152 -0
  510. package/dist/components/root_layout/root_layout.vue.cjs.map +1 -0
  511. package/dist/components/root_layout/root_layout.vue.js +153 -0
  512. package/dist/components/root_layout/root_layout.vue.js.map +1 -0
  513. package/dist/components/root_layout/root_layout_constants.cjs +10 -0
  514. package/dist/components/root_layout/root_layout_constants.cjs.map +1 -0
  515. package/dist/components/root_layout/root_layout_constants.js +10 -0
  516. package/dist/components/root_layout/root_layout_constants.js.map +1 -0
  517. package/dist/components/scroller/DtScroller.vue.cjs +185 -0
  518. package/dist/components/scroller/DtScroller.vue.cjs.map +1 -0
  519. package/dist/components/scroller/DtScroller.vue.js +186 -0
  520. package/dist/components/scroller/DtScroller.vue.js.map +1 -0
  521. package/dist/components/scroller/modules/core_scroller.vue.cjs +462 -0
  522. package/dist/components/scroller/modules/core_scroller.vue.cjs.map +1 -0
  523. package/dist/components/scroller/modules/core_scroller.vue.js +463 -0
  524. package/dist/components/scroller/modules/core_scroller.vue.js.map +1 -0
  525. package/dist/components/scroller/modules/dynamic_scroller.vue.cjs +246 -0
  526. package/dist/components/scroller/modules/dynamic_scroller.vue.cjs.map +1 -0
  527. package/dist/components/scroller/modules/dynamic_scroller.vue.js +247 -0
  528. package/dist/components/scroller/modules/dynamic_scroller.vue.js.map +1 -0
  529. package/dist/components/scroller/modules/scroller_item.vue.cjs +196 -0
  530. package/dist/components/scroller/modules/scroller_item.vue.cjs.map +1 -0
  531. package/dist/components/scroller/modules/scroller_item.vue.js +197 -0
  532. package/dist/components/scroller/modules/scroller_item.vue.js.map +1 -0
  533. package/dist/components/select_menu/select_menu.vue.cjs +269 -0
  534. package/dist/components/select_menu/select_menu.vue.cjs.map +1 -0
  535. package/dist/components/select_menu/select_menu.vue.js +270 -0
  536. package/dist/components/select_menu/select_menu.vue.js.map +1 -0
  537. package/dist/components/select_menu/select_menu_constants.cjs +17 -0
  538. package/dist/components/select_menu/select_menu_constants.cjs.map +1 -0
  539. package/dist/components/select_menu/select_menu_constants.js +17 -0
  540. package/dist/components/select_menu/select_menu_constants.js.map +1 -0
  541. package/dist/components/select_menu/select_menu_validators.cjs +34 -0
  542. package/dist/components/select_menu/select_menu_validators.cjs.map +1 -0
  543. package/dist/components/select_menu/select_menu_validators.js +34 -0
  544. package/dist/components/select_menu/select_menu_validators.js.map +1 -0
  545. package/dist/components/skeleton/skeleton-list-item.vue.cjs +116 -0
  546. package/dist/components/skeleton/skeleton-list-item.vue.cjs.map +1 -0
  547. package/dist/components/skeleton/skeleton-list-item.vue.js +117 -0
  548. package/dist/components/skeleton/skeleton-list-item.vue.js.map +1 -0
  549. package/dist/components/skeleton/skeleton-paragraph.vue.cjs +147 -0
  550. package/dist/components/skeleton/skeleton-paragraph.vue.cjs.map +1 -0
  551. package/dist/components/skeleton/skeleton-paragraph.vue.js +148 -0
  552. package/dist/components/skeleton/skeleton-paragraph.vue.js.map +1 -0
  553. package/dist/components/skeleton/skeleton-shape.vue.cjs +97 -0
  554. package/dist/components/skeleton/skeleton-shape.vue.cjs.map +1 -0
  555. package/dist/components/skeleton/skeleton-shape.vue.js +98 -0
  556. package/dist/components/skeleton/skeleton-shape.vue.js.map +1 -0
  557. package/dist/components/skeleton/skeleton-text.vue.cjs +114 -0
  558. package/dist/components/skeleton/skeleton-text.vue.cjs.map +1 -0
  559. package/dist/components/skeleton/skeleton-text.vue.js +115 -0
  560. package/dist/components/skeleton/skeleton-text.vue.js.map +1 -0
  561. package/dist/components/skeleton/skeleton.vue.cjs +143 -0
  562. package/dist/components/skeleton/skeleton.vue.cjs.map +1 -0
  563. package/dist/components/skeleton/skeleton.vue.js +144 -0
  564. package/dist/components/skeleton/skeleton.vue.js.map +1 -0
  565. package/dist/components/skeleton/skeleton_constants.cjs +27 -0
  566. package/dist/components/skeleton/skeleton_constants.cjs.map +1 -0
  567. package/dist/components/skeleton/skeleton_constants.js +27 -0
  568. package/dist/components/skeleton/skeleton_constants.js.map +1 -0
  569. package/dist/components/split_button/split_button-alpha.vue.cjs +129 -0
  570. package/dist/components/split_button/split_button-alpha.vue.cjs.map +1 -0
  571. package/dist/components/split_button/split_button-alpha.vue.js +130 -0
  572. package/dist/components/split_button/split_button-alpha.vue.js.map +1 -0
  573. package/dist/components/split_button/split_button-omega.vue.cjs +110 -0
  574. package/dist/components/split_button/split_button-omega.vue.cjs.map +1 -0
  575. package/dist/components/split_button/split_button-omega.vue.js +111 -0
  576. package/dist/components/split_button/split_button-omega.vue.js.map +1 -0
  577. package/dist/components/split_button/split_button.vue.cjs +297 -0
  578. package/dist/components/split_button/split_button.vue.cjs.map +1 -0
  579. package/dist/components/split_button/split_button.vue.js +298 -0
  580. package/dist/components/split_button/split_button.vue.js.map +1 -0
  581. package/dist/components/split_button/split_button_constants.cjs +11 -0
  582. package/dist/components/split_button/split_button_constants.cjs.map +1 -0
  583. package/dist/components/split_button/split_button_constants.js +11 -0
  584. package/dist/components/split_button/split_button_constants.js.map +1 -0
  585. package/dist/components/stack/stack.vue.cjs +80 -0
  586. package/dist/components/stack/stack.vue.cjs.map +1 -0
  587. package/dist/components/stack/stack.vue.js +81 -0
  588. package/dist/components/stack/stack.vue.js.map +1 -0
  589. package/dist/{chunks/stack_constants-SMzMWnAQ.js → components/stack/stack_constants.cjs} +2 -1
  590. package/dist/components/stack/stack_constants.cjs.map +1 -0
  591. package/dist/{chunks/stack_constants-HraCekPm.js → components/stack/stack_constants.js} +1 -1
  592. package/dist/components/stack/stack_constants.js.map +1 -0
  593. package/dist/components/stack/utils.cjs +68 -0
  594. package/dist/components/stack/utils.cjs.map +1 -0
  595. package/dist/components/stack/utils.js +68 -0
  596. package/dist/components/stack/utils.js.map +1 -0
  597. package/dist/components/stack/validators.cjs +26 -0
  598. package/dist/components/stack/validators.cjs.map +1 -0
  599. package/dist/components/stack/validators.js +26 -0
  600. package/dist/components/stack/validators.js.map +1 -0
  601. package/dist/components/tabs/tab.vue.cjs +141 -0
  602. package/dist/components/tabs/tab.vue.cjs.map +1 -0
  603. package/dist/components/tabs/tab.vue.js +142 -0
  604. package/dist/components/tabs/tab.vue.js.map +1 -0
  605. package/dist/{chunks/tab-qc3f42Yp.js → components/tabs/tab_group.vue.cjs} +15 -171
  606. package/dist/components/tabs/tab_group.vue.cjs.map +1 -0
  607. package/dist/{chunks/tab-RTDgnD9-.js → components/tabs/tab_group.vue.js} +12 -168
  608. package/dist/components/tabs/tab_group.vue.js.map +1 -0
  609. package/dist/components/tabs/tab_panel.vue.cjs +91 -0
  610. package/dist/components/tabs/tab_panel.vue.cjs.map +1 -0
  611. package/dist/components/tabs/tab_panel.vue.js +92 -0
  612. package/dist/components/tabs/tab_panel.vue.js.map +1 -0
  613. package/dist/components/tabs/tabs_constants.cjs +21 -0
  614. package/dist/components/tabs/tabs_constants.cjs.map +1 -0
  615. package/dist/components/tabs/tabs_constants.js +21 -0
  616. package/dist/components/tabs/tabs_constants.js.map +1 -0
  617. package/dist/components/toast/toast.vue.cjs +273 -0
  618. package/dist/components/toast/toast.vue.cjs.map +1 -0
  619. package/dist/components/toast/toast.vue.js +274 -0
  620. package/dist/components/toast/toast.vue.js.map +1 -0
  621. package/dist/components/toast/toast_constants.cjs +7 -0
  622. package/dist/components/toast/toast_constants.cjs.map +1 -0
  623. package/dist/components/toast/toast_constants.js +7 -0
  624. package/dist/components/toast/toast_constants.js.map +1 -0
  625. package/dist/components/toggle/toggle.vue.cjs +185 -0
  626. package/dist/components/toggle/toggle.vue.cjs.map +1 -0
  627. package/dist/components/toggle/toggle.vue.js +186 -0
  628. package/dist/components/toggle/toggle.vue.js.map +1 -0
  629. package/dist/components/toggle/toggle_constants.cjs +10 -0
  630. package/dist/components/toggle/toggle_constants.cjs.map +1 -0
  631. package/dist/components/toggle/toggle_constants.js +10 -0
  632. package/dist/components/toggle/toggle_constants.js.map +1 -0
  633. package/dist/components/tooltip/tooltip.vue.cjs +441 -0
  634. package/dist/components/tooltip/tooltip.vue.cjs.map +1 -0
  635. package/dist/components/tooltip/tooltip.vue.js +442 -0
  636. package/dist/components/tooltip/tooltip.vue.js.map +1 -0
  637. package/dist/components/tooltip/tooltip_constants.cjs +23 -0
  638. package/dist/components/tooltip/tooltip_constants.cjs.map +1 -0
  639. package/dist/components/tooltip/tooltip_constants.js +23 -0
  640. package/dist/components/tooltip/tooltip_constants.js.map +1 -0
  641. package/dist/components/validation_messages/validation_messages.vue.cjs +88 -0
  642. package/dist/components/validation_messages/validation_messages.vue.cjs.map +1 -0
  643. package/dist/components/validation_messages/validation_messages.vue.js +89 -0
  644. package/dist/components/validation_messages/validation_messages.vue.js.map +1 -0
  645. package/dist/dialtone-vue.cjs +323 -315
  646. package/dist/dialtone-vue.cjs.map +1 -1
  647. package/dist/dialtone-vue.js +220 -212
  648. package/dist/dialtone-vue.js.map +1 -1
  649. package/dist/directives/scrollbar/scrollbar.cjs +31 -0
  650. package/dist/directives/scrollbar/scrollbar.cjs.map +1 -0
  651. package/dist/directives/scrollbar/scrollbar.js +31 -0
  652. package/dist/directives/scrollbar/scrollbar.js.map +1 -0
  653. package/dist/directives/tooltip/tooltip.cjs +83 -0
  654. package/dist/directives/tooltip/tooltip.cjs.map +1 -0
  655. package/dist/directives/tooltip/tooltip.js +83 -0
  656. package/dist/directives/tooltip/tooltip.js.map +1 -0
  657. package/dist/lib/attachment-carousel.cjs +1 -342
  658. package/dist/lib/attachment-carousel.cjs.map +1 -1
  659. package/dist/lib/attachment-carousel.js +2 -343
  660. package/dist/lib/attachment-carousel.js.map +1 -1
  661. package/dist/lib/avatar.cjs +11 -448
  662. package/dist/lib/avatar.cjs.map +1 -1
  663. package/dist/lib/avatar.js +3 -440
  664. package/dist/lib/avatar.js.map +1 -1
  665. package/dist/lib/badge.cjs +6 -224
  666. package/dist/lib/badge.cjs.map +1 -1
  667. package/dist/lib/badge.js +3 -221
  668. package/dist/lib/badge.js.map +1 -1
  669. package/dist/lib/banner.cjs +1 -239
  670. package/dist/lib/banner.cjs.map +1 -1
  671. package/dist/lib/banner.js +2 -240
  672. package/dist/lib/banner.js.map +1 -1
  673. package/dist/lib/breadcrumbs.cjs +6 -151
  674. package/dist/lib/breadcrumbs.cjs.map +1 -1
  675. package/dist/lib/breadcrumbs.js +5 -150
  676. package/dist/lib/breadcrumbs.js.map +1 -1
  677. package/dist/lib/button-group.cjs +3 -38
  678. package/dist/lib/button-group.cjs.map +1 -1
  679. package/dist/lib/button-group.js +3 -38
  680. package/dist/lib/button-group.js.map +1 -1
  681. package/dist/lib/button.cjs +10 -357
  682. package/dist/lib/button.cjs.map +1 -1
  683. package/dist/lib/button.js +3 -350
  684. package/dist/lib/button.js.map +1 -1
  685. package/dist/lib/callbar-button-with-popover.cjs +1 -334
  686. package/dist/lib/callbar-button-with-popover.cjs.map +1 -1
  687. package/dist/lib/callbar-button-with-popover.js +2 -335
  688. package/dist/lib/callbar-button-with-popover.js.map +1 -1
  689. package/dist/lib/callbar-button.cjs +4 -197
  690. package/dist/lib/callbar-button.cjs.map +1 -1
  691. package/dist/lib/callbar-button.js +3 -196
  692. package/dist/lib/callbar-button.js.map +1 -1
  693. package/dist/lib/callbox.cjs +4 -214
  694. package/dist/lib/callbox.cjs.map +1 -1
  695. package/dist/lib/callbox.js +3 -213
  696. package/dist/lib/callbox.js.map +1 -1
  697. package/dist/lib/card.cjs +2 -89
  698. package/dist/lib/card.cjs.map +1 -1
  699. package/dist/lib/card.js +2 -89
  700. package/dist/lib/card.js.map +1 -1
  701. package/dist/lib/checkbox-group.cjs +2 -113
  702. package/dist/lib/checkbox-group.cjs.map +1 -1
  703. package/dist/lib/checkbox-group.js +2 -113
  704. package/dist/lib/checkbox-group.js.map +1 -1
  705. package/dist/lib/checkbox.cjs +1 -153
  706. package/dist/lib/checkbox.cjs.map +1 -1
  707. package/dist/lib/checkbox.js +2 -154
  708. package/dist/lib/checkbox.js.map +1 -1
  709. package/dist/lib/chip.cjs +6 -233
  710. package/dist/lib/chip.cjs.map +1 -1
  711. package/dist/lib/chip.js +3 -230
  712. package/dist/lib/chip.js.map +1 -1
  713. package/dist/lib/codeblock.cjs +1 -20
  714. package/dist/lib/codeblock.cjs.map +1 -1
  715. package/dist/lib/codeblock.js +2 -21
  716. package/dist/lib/codeblock.js.map +1 -1
  717. package/dist/lib/collapsible.cjs +2 -396
  718. package/dist/lib/collapsible.cjs.map +1 -1
  719. package/dist/lib/collapsible.js +2 -396
  720. package/dist/lib/collapsible.js.map +1 -1
  721. package/dist/lib/combobox-multi-select.cjs +5 -651
  722. package/dist/lib/combobox-multi-select.cjs.map +1 -1
  723. package/dist/lib/combobox-multi-select.js +3 -649
  724. package/dist/lib/combobox-multi-select.js.map +1 -1
  725. package/dist/lib/combobox-with-popover.cjs +2 -450
  726. package/dist/lib/combobox-with-popover.cjs.map +1 -1
  727. package/dist/lib/combobox-with-popover.js +2 -450
  728. package/dist/lib/combobox-with-popover.js.map +1 -1
  729. package/dist/lib/combobox.cjs +4 -16
  730. package/dist/lib/combobox.cjs.map +1 -1
  731. package/dist/lib/combobox.js +3 -15
  732. package/dist/lib/combobox.js.map +1 -1
  733. package/dist/lib/contact-centers-row.cjs +1 -235
  734. package/dist/lib/contact-centers-row.cjs.map +1 -1
  735. package/dist/lib/contact-centers-row.js +2 -236
  736. package/dist/lib/contact-centers-row.js.map +1 -1
  737. package/dist/lib/contact-info.cjs +1 -210
  738. package/dist/lib/contact-info.cjs.map +1 -1
  739. package/dist/lib/contact-info.js +2 -211
  740. package/dist/lib/contact-info.js.map +1 -1
  741. package/dist/lib/contact-row.cjs +1 -249
  742. package/dist/lib/contact-row.cjs.map +1 -1
  743. package/dist/lib/contact-row.js +2 -250
  744. package/dist/lib/contact-row.js.map +1 -1
  745. package/dist/lib/datepicker.cjs +8 -855
  746. package/dist/lib/datepicker.cjs.map +1 -1
  747. package/dist/lib/datepicker.js +3 -850
  748. package/dist/lib/datepicker.js.map +1 -1
  749. package/dist/lib/description-list.cjs +3 -113
  750. package/dist/lib/description-list.cjs.map +1 -1
  751. package/dist/lib/description-list.js +3 -113
  752. package/dist/lib/description-list.js.map +1 -1
  753. package/dist/lib/dropdown.cjs +5 -33
  754. package/dist/lib/dropdown.cjs.map +1 -1
  755. package/dist/lib/dropdown.js +5 -33
  756. package/dist/lib/dropdown.js.map +1 -1
  757. package/dist/lib/editor.cjs +1 -710
  758. package/dist/lib/editor.cjs.map +1 -1
  759. package/dist/lib/editor.js +2 -711
  760. package/dist/lib/editor.js.map +1 -1
  761. package/dist/lib/emoji-picker.cjs +8 -1307
  762. package/dist/lib/emoji-picker.cjs.map +1 -1
  763. package/dist/lib/emoji-picker.js +3 -1302
  764. package/dist/lib/emoji-picker.js.map +1 -1
  765. package/dist/lib/emoji-row.cjs +3 -123
  766. package/dist/lib/emoji-row.cjs.map +1 -1
  767. package/dist/lib/emoji-row.js +3 -123
  768. package/dist/lib/emoji-row.js.map +1 -1
  769. package/dist/lib/emoji-text-wrapper.cjs +2 -101
  770. package/dist/lib/emoji-text-wrapper.cjs.map +1 -1
  771. package/dist/lib/emoji-text-wrapper.js +2 -101
  772. package/dist/lib/emoji-text-wrapper.js.map +1 -1
  773. package/dist/lib/emoji.cjs +2 -155
  774. package/dist/lib/emoji.cjs.map +1 -1
  775. package/dist/lib/emoji.js +2 -155
  776. package/dist/lib/emoji.js.map +1 -1
  777. package/dist/lib/empty-state.cjs +4 -178
  778. package/dist/lib/empty-state.cjs.map +1 -1
  779. package/dist/lib/empty-state.js +3 -177
  780. package/dist/lib/empty-state.js.map +1 -1
  781. package/dist/lib/feed-item-row.cjs +4 -304
  782. package/dist/lib/feed-item-row.cjs.map +1 -1
  783. package/dist/lib/feed-item-row.js +3 -303
  784. package/dist/lib/feed-item-row.js.map +1 -1
  785. package/dist/lib/feed-pill.cjs +3 -170
  786. package/dist/lib/feed-pill.cjs.map +1 -1
  787. package/dist/lib/feed-pill.js +3 -170
  788. package/dist/lib/feed-pill.js.map +1 -1
  789. package/dist/lib/general-row.cjs +8 -570
  790. package/dist/lib/general-row.cjs.map +1 -1
  791. package/dist/lib/general-row.js +3 -565
  792. package/dist/lib/general-row.js.map +1 -1
  793. package/dist/lib/group-row.cjs +1 -111
  794. package/dist/lib/group-row.cjs.map +1 -1
  795. package/dist/lib/group-row.js +2 -112
  796. package/dist/lib/group-row.js.map +1 -1
  797. package/dist/lib/grouped-chip.cjs +1 -93
  798. package/dist/lib/grouped-chip.cjs.map +1 -1
  799. package/dist/lib/grouped-chip.js +2 -94
  800. package/dist/lib/grouped-chip.js.map +1 -1
  801. package/dist/lib/hovercard.cjs +2 -229
  802. package/dist/lib/hovercard.cjs.map +1 -1
  803. package/dist/lib/hovercard.js +2 -229
  804. package/dist/lib/hovercard.js.map +1 -1
  805. package/dist/lib/icon.cjs +3 -54
  806. package/dist/lib/icon.cjs.map +1 -1
  807. package/dist/lib/icon.js +3 -54
  808. package/dist/lib/icon.js.map +1 -1
  809. package/dist/lib/illustration.cjs +4 -29
  810. package/dist/lib/illustration.cjs.map +1 -1
  811. package/dist/lib/illustration.js +3 -28
  812. package/dist/lib/illustration.js.map +1 -1
  813. package/dist/lib/image-viewer.cjs +2 -251
  814. package/dist/lib/image-viewer.cjs.map +1 -1
  815. package/dist/lib/image-viewer.js +2 -251
  816. package/dist/lib/image-viewer.js.map +1 -1
  817. package/dist/lib/input-group.cjs +2 -89
  818. package/dist/lib/input-group.cjs.map +1 -1
  819. package/dist/lib/input-group.js +2 -89
  820. package/dist/lib/input-group.js.map +1 -1
  821. package/dist/lib/input.cjs +5 -560
  822. package/dist/lib/input.cjs.map +1 -1
  823. package/dist/lib/input.js +3 -558
  824. package/dist/lib/input.js.map +1 -1
  825. package/dist/lib/item-layout.cjs +2 -89
  826. package/dist/lib/item-layout.cjs.map +1 -1
  827. package/dist/lib/item-layout.js +2 -89
  828. package/dist/lib/item-layout.js.map +1 -1
  829. package/dist/lib/ivr-node.cjs +13 -265
  830. package/dist/lib/ivr-node.cjs.map +1 -1
  831. package/dist/lib/ivr-node.js +3 -255
  832. package/dist/lib/ivr-node.js.map +1 -1
  833. package/dist/lib/keyboard-shortcut.cjs +5 -116
  834. package/dist/lib/keyboard-shortcut.cjs.map +1 -1
  835. package/dist/lib/keyboard-shortcut.js +3 -114
  836. package/dist/lib/keyboard-shortcut.js.map +1 -1
  837. package/dist/lib/lazy-show.cjs +2 -80
  838. package/dist/lib/lazy-show.cjs.map +1 -1
  839. package/dist/lib/lazy-show.js +2 -80
  840. package/dist/lib/lazy-show.js.map +1 -1
  841. package/dist/lib/link.cjs +3 -53
  842. package/dist/lib/link.cjs.map +1 -1
  843. package/dist/lib/link.js +3 -53
  844. package/dist/lib/link.js.map +1 -1
  845. package/dist/lib/list-item-group.cjs +1 -64
  846. package/dist/lib/list-item-group.cjs.map +1 -1
  847. package/dist/lib/list-item-group.js +2 -65
  848. package/dist/lib/list-item-group.js.map +1 -1
  849. package/dist/lib/list-item.cjs +3 -212
  850. package/dist/lib/list-item.cjs.map +1 -1
  851. package/dist/lib/list-item.js +3 -212
  852. package/dist/lib/list-item.js.map +1 -1
  853. package/dist/lib/message-input.cjs +1 -830
  854. package/dist/lib/message-input.cjs.map +1 -1
  855. package/dist/lib/message-input.js +2 -831
  856. package/dist/lib/message-input.js.map +1 -1
  857. package/dist/lib/modal.cjs +5 -441
  858. package/dist/lib/modal.cjs.map +1 -1
  859. package/dist/lib/modal.js +3 -439
  860. package/dist/lib/modal.js.map +1 -1
  861. package/dist/lib/notice.cjs +9 -202
  862. package/dist/lib/notice.cjs.map +1 -1
  863. package/dist/lib/notice.js +9 -202
  864. package/dist/lib/notice.js.map +1 -1
  865. package/dist/lib/pagination.cjs +1 -202
  866. package/dist/lib/pagination.cjs.map +1 -1
  867. package/dist/lib/pagination.js +2 -203
  868. package/dist/lib/pagination.js.map +1 -1
  869. package/dist/lib/popover.cjs +3 -1138
  870. package/dist/lib/popover.cjs.map +1 -1
  871. package/dist/lib/popover.js +3 -1139
  872. package/dist/lib/popover.js.map +1 -1
  873. package/dist/lib/presence.cjs +5 -68
  874. package/dist/lib/presence.cjs.map +1 -1
  875. package/dist/lib/presence.js +3 -66
  876. package/dist/lib/presence.js.map +1 -1
  877. package/dist/lib/radio-group.cjs +2 -86
  878. package/dist/lib/radio-group.cjs.map +1 -1
  879. package/dist/lib/radio-group.js +2 -86
  880. package/dist/lib/radio-group.js.map +1 -1
  881. package/dist/lib/radio.cjs +3 -159
  882. package/dist/lib/radio.cjs.map +1 -1
  883. package/dist/lib/radio.js +3 -159
  884. package/dist/lib/radio.js.map +1 -1
  885. package/dist/lib/rich-text-editor.cjs +5 -1702
  886. package/dist/lib/rich-text-editor.cjs.map +1 -1
  887. package/dist/lib/rich-text-editor.js +3 -1700
  888. package/dist/lib/rich-text-editor.js.map +1 -1
  889. package/dist/lib/root-layout.cjs +4 -155
  890. package/dist/lib/root-layout.cjs.map +1 -1
  891. package/dist/lib/root-layout.js +3 -154
  892. package/dist/lib/root-layout.js.map +1 -1
  893. package/dist/lib/scrollbar-directive.cjs +2 -2438
  894. package/dist/lib/scrollbar-directive.cjs.map +1 -1
  895. package/dist/lib/scrollbar-directive.js +2 -2438
  896. package/dist/lib/scrollbar-directive.js.map +1 -1
  897. package/dist/lib/scroller.cjs +2 -1088
  898. package/dist/lib/scroller.cjs.map +1 -1
  899. package/dist/lib/scroller.js +2 -1088
  900. package/dist/lib/scroller.js.map +1 -1
  901. package/dist/lib/select-menu.cjs +4 -309
  902. package/dist/lib/select-menu.cjs.map +1 -1
  903. package/dist/lib/select-menu.js +3 -308
  904. package/dist/lib/select-menu.js.map +1 -1
  905. package/dist/lib/settings-menu-button.cjs +1 -74
  906. package/dist/lib/settings-menu-button.cjs.map +1 -1
  907. package/dist/lib/settings-menu-button.js +2 -75
  908. package/dist/lib/settings-menu-button.js.map +1 -1
  909. package/dist/lib/skeleton.cjs +16 -633
  910. package/dist/lib/skeleton.cjs.map +1 -1
  911. package/dist/lib/skeleton.js +11 -628
  912. package/dist/lib/skeleton.js.map +1 -1
  913. package/dist/lib/split-button.cjs +3 -540
  914. package/dist/lib/split-button.cjs.map +1 -1
  915. package/dist/lib/split-button.js +3 -540
  916. package/dist/lib/split-button.js.map +1 -1
  917. package/dist/lib/stack.cjs +3 -155
  918. package/dist/lib/stack.cjs.map +1 -1
  919. package/dist/lib/stack.js +3 -155
  920. package/dist/lib/stack.js.map +1 -1
  921. package/dist/lib/tabs.cjs +10 -99
  922. package/dist/lib/tabs.cjs.map +1 -1
  923. package/dist/lib/tabs.js +7 -96
  924. package/dist/lib/tabs.js.map +1 -1
  925. package/dist/lib/time-pill.cjs +1 -38
  926. package/dist/lib/time-pill.cjs.map +1 -1
  927. package/dist/lib/time-pill.js +2 -39
  928. package/dist/lib/time-pill.js.map +1 -1
  929. package/dist/lib/toast.cjs +4 -278
  930. package/dist/lib/toast.cjs.map +1 -1
  931. package/dist/lib/toast.js +3 -277
  932. package/dist/lib/toast.js.map +1 -1
  933. package/dist/lib/toggle.cjs +4 -189
  934. package/dist/lib/toggle.cjs.map +1 -1
  935. package/dist/lib/toggle.js +3 -188
  936. package/dist/lib/toggle.js.map +1 -1
  937. package/dist/lib/tooltip-directive.cjs +2 -82
  938. package/dist/lib/tooltip-directive.cjs.map +1 -1
  939. package/dist/lib/tooltip-directive.js +2 -82
  940. package/dist/lib/tooltip-directive.js.map +1 -1
  941. package/dist/lib/tooltip.cjs +8 -447
  942. package/dist/lib/tooltip.cjs.map +1 -1
  943. package/dist/lib/tooltip.js +3 -443
  944. package/dist/lib/tooltip.js.map +1 -1
  945. package/dist/lib/top-banner-info.cjs +3 -68
  946. package/dist/lib/top-banner-info.cjs.map +1 -1
  947. package/dist/lib/top-banner-info.js +3 -68
  948. package/dist/lib/top-banner-info.js.map +1 -1
  949. package/dist/lib/unread-pill.cjs +4 -70
  950. package/dist/lib/unread-pill.cjs.map +1 -1
  951. package/dist/lib/unread-pill.js +3 -69
  952. package/dist/lib/unread-pill.js.map +1 -1
  953. package/dist/lib/validation-messages.cjs +2 -87
  954. package/dist/lib/validation-messages.cjs.map +1 -1
  955. package/dist/lib/validation-messages.js +2 -87
  956. package/dist/lib/validation-messages.js.map +1 -1
  957. package/dist/recipes/buttons/callbar_button/callbar_button.vue.cjs +195 -0
  958. package/dist/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -0
  959. package/dist/recipes/buttons/callbar_button/callbar_button.vue.js +196 -0
  960. package/dist/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -0
  961. package/dist/recipes/buttons/callbar_button/callbar_button_constants.cjs +5 -0
  962. package/dist/recipes/buttons/callbar_button/callbar_button_constants.cjs.map +1 -0
  963. package/dist/recipes/buttons/callbar_button/callbar_button_constants.js +5 -0
  964. package/dist/recipes/buttons/callbar_button/callbar_button_constants.js.map +1 -0
  965. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +328 -0
  966. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -0
  967. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +329 -0
  968. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -0
  969. package/dist/recipes/cards/ivr_node/ivr_node.vue.cjs +188 -0
  970. package/dist/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -0
  971. package/dist/recipes/cards/ivr_node/ivr_node.vue.js +189 -0
  972. package/dist/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -0
  973. package/dist/recipes/cards/ivr_node/ivr_node_constants.cjs +71 -0
  974. package/dist/recipes/cards/ivr_node/ivr_node_constants.cjs.map +1 -0
  975. package/dist/recipes/cards/ivr_node/ivr_node_constants.js +71 -0
  976. package/dist/recipes/cards/ivr_node/ivr_node_constants.js.map +1 -0
  977. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.cjs +90 -0
  978. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -0
  979. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.js +91 -0
  980. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -0
  981. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +610 -0
  982. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -0
  983. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +611 -0
  984. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -0
  985. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.cjs +22 -0
  986. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.cjs.map +1 -0
  987. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.js +22 -0
  988. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.js.map +1 -0
  989. package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs +437 -0
  990. package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs.map +1 -0
  991. package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js +438 -0
  992. package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js.map +1 -0
  993. package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs +190 -0
  994. package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs.map +1 -0
  995. package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js +191 -0
  996. package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js.map +1 -0
  997. package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs +99 -0
  998. package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs.map +1 -0
  999. package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js +100 -0
  1000. package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js.map +1 -0
  1001. package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs +66 -0
  1002. package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs.map +1 -0
  1003. package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js +67 -0
  1004. package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js.map +1 -0
  1005. package/dist/recipes/conversation_view/editor/editor.vue.cjs +658 -0
  1006. package/dist/recipes/conversation_view/editor/editor.vue.cjs.map +1 -0
  1007. package/dist/recipes/conversation_view/editor/editor.vue.js +659 -0
  1008. package/dist/recipes/conversation_view/editor/editor.vue.js.map +1 -0
  1009. package/dist/recipes/conversation_view/editor/editor_constants.cjs +14 -0
  1010. package/dist/recipes/conversation_view/editor/editor_constants.cjs.map +1 -0
  1011. package/dist/recipes/conversation_view/editor/editor_constants.js +14 -0
  1012. package/dist/recipes/conversation_view/editor/editor_constants.js.map +1 -0
  1013. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +109 -0
  1014. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -0
  1015. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.js +110 -0
  1016. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -0
  1017. package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.cjs +11 -0
  1018. package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.cjs.map +1 -0
  1019. package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.js +11 -0
  1020. package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.js.map +1 -0
  1021. package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +292 -0
  1022. package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +1 -0
  1023. package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +293 -0
  1024. package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +1 -0
  1025. package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs +11 -0
  1026. package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs.map +1 -0
  1027. package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.js +11 -0
  1028. package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.js.map +1 -0
  1029. package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.cjs +160 -0
  1030. package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.cjs.map +1 -0
  1031. package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.js +161 -0
  1032. package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.js.map +1 -0
  1033. package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.cjs +9 -0
  1034. package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.cjs.map +1 -0
  1035. package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.js +9 -0
  1036. package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.js.map +1 -0
  1037. package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.cjs +76 -0
  1038. package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.cjs.map +1 -0
  1039. package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.js +77 -0
  1040. package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.js.map +1 -0
  1041. package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.cjs +35 -0
  1042. package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.cjs.map +1 -0
  1043. package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.js +36 -0
  1044. package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.js.map +1 -0
  1045. package/dist/recipes/conversation_view/message_input/message_input.vue.cjs +690 -0
  1046. package/dist/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -0
  1047. package/dist/recipes/conversation_view/message_input/message_input.vue.js +691 -0
  1048. package/dist/recipes/conversation_view/message_input/message_input.vue.js.map +1 -0
  1049. package/dist/recipes/conversation_view/time_pill/time_pill.vue.cjs +42 -0
  1050. package/dist/recipes/conversation_view/time_pill/time_pill.vue.cjs.map +1 -0
  1051. package/dist/recipes/conversation_view/time_pill/time_pill.vue.js +43 -0
  1052. package/dist/recipes/conversation_view/time_pill/time_pill.vue.js.map +1 -0
  1053. package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.cjs +72 -0
  1054. package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.cjs.map +1 -0
  1055. package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.js +73 -0
  1056. package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.js.map +1 -0
  1057. package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs +207 -0
  1058. package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -0
  1059. package/dist/recipes/item_layout/contact_info/contact_info.vue.js +208 -0
  1060. package/dist/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -0
  1061. package/dist/recipes/leftbar/callbox/callbox.vue.cjs +201 -0
  1062. package/dist/recipes/leftbar/callbox/callbox.vue.cjs.map +1 -0
  1063. package/dist/recipes/leftbar/callbox/callbox.vue.js +202 -0
  1064. package/dist/recipes/leftbar/callbox/callbox.vue.js.map +1 -0
  1065. package/dist/recipes/leftbar/callbox/callbox_constants.cjs +13 -0
  1066. package/dist/recipes/leftbar/callbox/callbox_constants.cjs.map +1 -0
  1067. package/dist/recipes/leftbar/callbox/callbox_constants.js +13 -0
  1068. package/dist/recipes/leftbar/callbox/callbox_constants.js.map +1 -0
  1069. package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs +229 -0
  1070. package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs.map +1 -0
  1071. package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js +230 -0
  1072. package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js.map +1 -0
  1073. package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs +236 -0
  1074. package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -0
  1075. package/dist/recipes/leftbar/contact_row/contact_row.vue.js +237 -0
  1076. package/dist/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -0
  1077. package/dist/recipes/leftbar/general_row/general_row.vue.cjs +441 -0
  1078. package/dist/recipes/leftbar/general_row/general_row.vue.cjs.map +1 -0
  1079. package/dist/recipes/leftbar/general_row/general_row.vue.js +442 -0
  1080. package/dist/recipes/leftbar/general_row/general_row.vue.js.map +1 -0
  1081. package/dist/recipes/leftbar/general_row/general_row_constants.cjs +58 -0
  1082. package/dist/recipes/leftbar/general_row/general_row_constants.cjs.map +1 -0
  1083. package/dist/recipes/leftbar/general_row/general_row_constants.js +58 -0
  1084. package/dist/recipes/leftbar/general_row/general_row_constants.js.map +1 -0
  1085. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +73 -0
  1086. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -0
  1087. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +74 -0
  1088. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -0
  1089. package/dist/recipes/leftbar/group_row/group_row.vue.cjs +99 -0
  1090. package/dist/recipes/leftbar/group_row/group_row.vue.cjs.map +1 -0
  1091. package/dist/recipes/leftbar/group_row/group_row.vue.js +100 -0
  1092. package/dist/recipes/leftbar/group_row/group_row.vue.js.map +1 -0
  1093. package/dist/recipes/leftbar/unread_pill/unread_pill.vue.cjs +68 -0
  1094. package/dist/recipes/leftbar/unread_pill/unread_pill.vue.cjs.map +1 -0
  1095. package/dist/recipes/leftbar/unread_pill/unread_pill.vue.js +69 -0
  1096. package/dist/recipes/leftbar/unread_pill/unread_pill.vue.js.map +1 -0
  1097. package/dist/recipes/leftbar/unread_pill/unread_pill_constants.cjs +7 -0
  1098. package/dist/recipes/leftbar/unread_pill/unread_pill_constants.cjs.map +1 -0
  1099. package/dist/recipes/leftbar/unread_pill/unread_pill_constants.js +7 -0
  1100. package/dist/recipes/leftbar/unread_pill/unread_pill_constants.js.map +1 -0
  1101. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.cjs +62 -0
  1102. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -0
  1103. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.js +63 -0
  1104. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -0
  1105. package/dist/recipes/notices/top_banner_info/top_banner_info_constants.cjs +14 -0
  1106. package/dist/recipes/notices/top_banner_info/top_banner_info_constants.cjs.map +1 -0
  1107. package/dist/recipes/notices/top_banner_info/top_banner_info_constants.js +14 -0
  1108. package/dist/recipes/notices/top_banner_info/top_banner_info_constants.js.map +1 -0
  1109. package/dist/style.css +1093 -1736
  1110. package/package.json +8 -6
  1111. package/dist/chunks/_plugin-vue_export-helper-caHeSgYY.js.map +0 -1
  1112. package/dist/chunks/_plugin-vue_export-helper-fhnQq0tA.js.map +0 -1
  1113. package/dist/chunks/dropdown-oA-_Gotg.js.map +0 -1
  1114. package/dist/chunks/dropdown-p-Azgwov.js.map +0 -1
  1115. package/dist/chunks/dropdown_constants-2pGCXy7m.js.map +0 -1
  1116. package/dist/chunks/dropdown_constants-w1MXGC3Z.js.map +0 -1
  1117. package/dist/chunks/icon_constants-H9ahUVCG.js.map +0 -1
  1118. package/dist/chunks/icon_constants-da57m7BZ.js.map +0 -1
  1119. package/dist/chunks/index-4qgKeErp.js.map +0 -1
  1120. package/dist/chunks/index-GVD15GIB.js +0 -175
  1121. package/dist/chunks/index-GVD15GIB.js.map +0 -1
  1122. package/dist/chunks/index-b_MgDylR.js.map +0 -1
  1123. package/dist/chunks/index-lu2o2f4r.js +0 -169
  1124. package/dist/chunks/index-lu2o2f4r.js.map +0 -1
  1125. package/dist/chunks/input-NmYDD5bn.js.map +0 -1
  1126. package/dist/chunks/input-ttnte8zB.js.map +0 -1
  1127. package/dist/chunks/input_group-M-D25pOJ.js.map +0 -1
  1128. package/dist/chunks/input_group-jWnq2DJT.js.map +0 -1
  1129. package/dist/chunks/keyboard_list_navigation-ScXhrxya.js.map +0 -1
  1130. package/dist/chunks/keyboard_list_navigation-fJnl_Iox.js.map +0 -1
  1131. package/dist/chunks/link_constants-AfTWrr-n.js.map +0 -1
  1132. package/dist/chunks/link_constants-x8NwdqmA.js.map +0 -1
  1133. package/dist/chunks/list_item_constants-EiqkqZvP.js.map +0 -1
  1134. package/dist/chunks/list_item_constants-u1xcN9Dd.js.map +0 -1
  1135. package/dist/chunks/modal-VgxXAQFP.js.map +0 -1
  1136. package/dist/chunks/modal-XOr4kiNZ.js.map +0 -1
  1137. package/dist/chunks/notice_action-WTucGhvr.js +0 -222
  1138. package/dist/chunks/notice_action-WTucGhvr.js.map +0 -1
  1139. package/dist/chunks/notice_action-p-ePanW_.js +0 -223
  1140. package/dist/chunks/notice_action-p-ePanW_.js.map +0 -1
  1141. package/dist/chunks/notice_constants-7Qt2CQEY.js.map +0 -1
  1142. package/dist/chunks/notice_constants-UXo9e3bS.js.map +0 -1
  1143. package/dist/chunks/popover_constants-WsOUIY-m.js.map +0 -1
  1144. package/dist/chunks/popover_constants-XnGWXaxX.js.map +0 -1
  1145. package/dist/chunks/sr_only_close_button-3EdsV-dH.js +0 -92
  1146. package/dist/chunks/sr_only_close_button-3EdsV-dH.js.map +0 -1
  1147. package/dist/chunks/sr_only_close_button-xGrHFjwA.js +0 -91
  1148. package/dist/chunks/sr_only_close_button-xGrHFjwA.js.map +0 -1
  1149. package/dist/chunks/stack_constants-HraCekPm.js.map +0 -1
  1150. package/dist/chunks/stack_constants-SMzMWnAQ.js.map +0 -1
  1151. package/dist/chunks/tab-RTDgnD9-.js.map +0 -1
  1152. package/dist/chunks/tab-qc3f42Yp.js.map +0 -1
@@ -1,1308 +1,9 @@
1
- import { ref, onMounted, openBlock, createElementBlock, createVNode, unref, withKeys, withModifiers, createSlots, withCtx, computed, toRefs, watch, Fragment, renderList, createBlock, nextTick, onUnmounted, createElementVNode, toDisplayString, withDirectives, createCommentVNode, vShow, normalizeClass, watchEffect, createTextVNode } from "vue";
2
- import { DtInput } from "./input.js";
3
- import { DtIcon } from "./icon.js";
4
- import { DtButton } from "./button.js";
5
- import { DtTabGroup, DtTab } from "../chunks/tab-RTDgnD9-.js";
6
- import { emojisGrouped } from "@dialpad/dialtone-emojis";
7
- import { DtTooltip } from "./tooltip.js";
8
- import "../common/constants.js";
9
- import "../common/utils.js";
10
- import "../chunks/input-NmYDD5bn.js";
11
- import "../common/validators.js";
12
- import "../chunks/_plugin-vue_export-helper-caHeSgYY.js";
13
- import "./validation-messages.js";
14
- import "@dialpad/dialtone-icons/vue3";
15
- import "../chunks/icon_constants-H9ahUVCG.js";
16
- import "@dialpad/dialtone-icons/icons.js";
17
- import "../chunks/link_constants-AfTWrr-n.js";
18
- import "../chunks/popover_constants-WsOUIY-m.js";
19
- import "tippy.js";
20
- const _hoisted_1$5 = { class: "d-emoji-picker__search d-emoji-picker__alignment" };
21
- const _sfc_main$5 = {
22
- __name: "emoji_search",
23
- props: {
24
- searchPlaceholderLabel: {
25
- type: String,
26
- required: true
27
- },
28
- modelValue: {
29
- type: String,
30
- default: ""
31
- }
32
- },
33
- emits: ["update:modelValue", "focus-emoji-selector", "focus-tabset", "select-first-emoji"],
34
- setup(__props, { expose: __expose, emit: __emit }) {
35
- const emits = __emit;
36
- const searchInput = ref(null);
37
- function clearSearch() {
38
- emits("update:modelValue", "");
39
- focusSearchInput();
40
- }
41
- function focusSearchInput() {
42
- searchInput.value.focus();
43
- }
44
- onMounted(() => {
45
- focusSearchInput();
46
- });
47
- __expose({
48
- focusSearchInput
49
- });
50
- return (_ctx, _cache) => {
51
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
52
- createVNode(unref(DtInput), {
53
- id: "searchInput",
54
- ref_key: "searchInput",
55
- ref: searchInput,
56
- placeholder: __props.searchPlaceholderLabel,
57
- "model-value": __props.modelValue,
58
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event)),
59
- onKeydown: [
60
- _cache[1] || (_cache[1] = withKeys(($event) => _ctx.$emit("focus-tabset"), ["up"])),
61
- _cache[2] || (_cache[2] = withKeys(withModifiers(($event) => _ctx.$emit("focus-emoji-selector"), ["prevent"]), ["down"])),
62
- _cache[3] || (_cache[3] = withKeys(($event) => _ctx.$emit("select-first-emoji"), ["enter"]))
63
- ]
64
- }, createSlots({
65
- leftIcon: withCtx(() => [
66
- createVNode(unref(DtIcon), {
67
- name: "search",
68
- size: "200"
69
- })
70
- ]),
71
- _: 2
72
- }, [
73
- __props.modelValue.length > 0 ? {
74
- name: "rightIcon",
75
- fn: withCtx(() => [
76
- createVNode(unref(DtButton), {
77
- importance: "clear",
78
- kind: "muted",
79
- onClick: clearSearch
80
- }, {
81
- icon: withCtx(() => [
82
- createVNode(unref(DtIcon), {
83
- name: "x-circle",
84
- size: "200"
85
- })
86
- ]),
87
- _: 1
88
- })
89
- ]),
90
- key: "0"
91
- } : void 0
92
- ]), 1032, ["placeholder", "model-value"])
93
- ]);
94
- };
95
- }
96
- };
97
- const _hoisted_1$4 = { class: "d-emoji-picker__tabset" };
98
- const _sfc_main$4 = {
99
- __name: "emoji_tabset",
100
- props: {
101
- /**
102
- * Whether to show the recently used tab or not
103
- * @type {Boolean}
104
- * @default false
105
- */
106
- showRecentlyUsedTab: {
107
- type: Boolean,
108
- default: false
109
- },
110
- scrollIntoTab: {
111
- type: Number,
112
- required: true
113
- },
114
- isScrolling: {
115
- type: Boolean,
116
- default: false
117
- },
118
- emojiFilter: {
119
- type: String,
120
- default: ""
121
- },
122
- /**
123
- * The labels for the aria-label
124
- * @type {Array}
125
- * @required
126
- */
127
- tabsetLabels: {
128
- type: Array,
129
- required: true
130
- }
131
- },
132
- emits: [
133
- /**
134
- * Emitted when a tab is selected
135
- * @event selected-tabset
136
- * @param {String} tabId - The name of the tab that was selected
137
- */
138
- "selected-tabset",
139
- "focus-search-input",
140
- "focus-skin-selector"
141
- ],
142
- setup(__props, { expose: __expose, emit: __emit }) {
143
- const props = __props;
144
- const emits = __emit;
145
- const TABS_DATA = [
146
- { label: EMOJI_PICKER_CATEGORIES.MOST_RECENTLY_USED, icon: "clock" },
147
- { label: EMOJI_PICKER_CATEGORIES.SMILEYS_AND_PEOPLE, icon: "satisfied" },
148
- { label: EMOJI_PICKER_CATEGORIES.NATURE, icon: "living-thing" },
149
- { label: EMOJI_PICKER_CATEGORIES.FOOD, icon: "food" },
150
- { label: EMOJI_PICKER_CATEGORIES.ACTIVITY, icon: "object" },
151
- { label: EMOJI_PICKER_CATEGORIES.TRAVEL, icon: "transportation" },
152
- { label: EMOJI_PICKER_CATEGORIES.OBJECTS, icon: "lightbulb" },
153
- { label: EMOJI_PICKER_CATEGORIES.SYMBOLS, icon: "heart" },
154
- { label: EMOJI_PICKER_CATEGORIES.FLAGS, icon: "flag" }
155
- ];
156
- const tabs = computed(() => {
157
- const tabsData = props.showRecentlyUsedTab ? TABS_DATA : TABS_DATA.slice(1);
158
- return tabsData.map((tab, index) => ({
159
- ...tab,
160
- label: props.tabsetLabels[index],
161
- id: (index + 1).toString(),
162
- panelId: (index + 1).toString()
163
- }));
164
- });
165
- const isSearching = computed(() => props.emojiFilter.length > 0);
166
- const selectedTab = ref("1");
167
- const { isScrolling } = toRefs(props);
168
- const tabsetRef = ref([]);
169
- watch(
170
- () => props.scrollIntoTab,
171
- () => {
172
- if (!isScrolling.value && !isSearching.value) {
173
- selectedTab.value = (props.scrollIntoTab + 1).toString();
174
- }
175
- }
176
- );
177
- watch(
178
- isSearching,
179
- () => {
180
- if (isSearching.value) {
181
- selectedTab.value = null;
182
- }
183
- }
184
- );
185
- function selectTabset(id) {
186
- if (!isScrolling.value) {
187
- selectedTab.value = id;
188
- }
189
- emits("selected-tabset", id);
190
- }
191
- function setTabsetRef(ref2) {
192
- tabsetRef.value.push(ref2.$el);
193
- }
194
- function focusTabset() {
195
- tabsetRef.value[0].focus();
196
- }
197
- function handleKeyDown(event, tabId) {
198
- if (event.key === "Enter") {
199
- selectTabset(tabId);
200
- tabsetRef.value[tabId - 1].blur();
201
- }
202
- if (event.key === "Tab") {
203
- event.preventDefault();
204
- if (event.shiftKey) {
205
- emits("focus-skin-selector");
206
- } else {
207
- emits("focus-search-input");
208
- }
209
- }
210
- if (event.key === "ArrowDown") {
211
- emits("focus-search-input");
212
- }
213
- }
214
- __expose({
215
- focusTabset
216
- });
217
- return (_ctx, _cache) => {
218
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
219
- createVNode(unref(DtTabGroup), {
220
- "tab-list-class": "d-emoji-picker__tabset-list",
221
- selected: selectedTab.value
222
- }, {
223
- tabs: withCtx(() => [
224
- (openBlock(true), createElementBlock(Fragment, null, renderList(tabs.value, (tab, index) => {
225
- return openBlock(), createBlock(unref(DtTab), {
226
- id: tab.id,
227
- ref_for: true,
228
- ref: (el) => {
229
- if (el)
230
- setTabsetRef(el);
231
- },
232
- key: tab.id,
233
- "panel-id": tab.panelId,
234
- label: tab.label,
235
- "aria-controls": "d-emoji-picker-list",
236
- tabindex: index + 1,
237
- onClickCapture: withModifiers(($event) => selectTabset(tab.id), ["stop"]),
238
- onKeydown: ($event) => handleKeyDown($event, tab.id)
239
- }, {
240
- default: withCtx(() => [
241
- createVNode(unref(DtIcon), {
242
- size: "400",
243
- name: tab.icon
244
- }, null, 8, ["name"])
245
- ]),
246
- _: 2
247
- }, 1032, ["id", "panel-id", "label", "tabindex", "onClickCapture", "onKeydown"]);
248
- }), 128))
249
- ]),
250
- _: 1
251
- }, 8, ["selected"])
252
- ]);
253
- };
254
- }
255
- };
256
- const ARROW_KEYS = {
257
- ARROW_UP: "ArrowUp",
258
- ARROW_DOWN: "ArrowDown",
259
- ARROW_LEFT: "ArrowLeft",
260
- ARROW_RIGHT: "ArrowRight"
261
- };
262
- const CDN_URL = "https://static.dialpadcdn.com/joypixels/png/unicode/32/";
263
- const EMOJIS_PER_ROW = 9;
264
- const EMOJI_PICKER_SKIN_TONE_MODIFIERS = {
265
- DEFAULT: "Default",
266
- LIGHT: "Light",
267
- MEDIUM_LIGHT: "MediumLight",
268
- MEDIUM: "Medium",
269
- MEDIUM_DARK: "MediumDark",
270
- DARK: "Dark"
271
- };
272
- const EMOJI_PICKER_CATEGORIES = {
273
- MOST_RECENTLY_USED: "Most recently used",
274
- SMILEYS_AND_PEOPLE: "Smileys and people",
275
- NATURE: "Nature",
276
- FOOD: "Food",
277
- ACTIVITY: "Activity",
278
- TRAVEL: "Travel",
279
- OBJECTS: "Objects",
280
- SYMBOLS: "Symbols",
281
- FLAGS: "Flags"
282
- };
283
- function useKeyboardNavigation() {
284
- const emojiRefs = ref([]);
285
- const emojiFilteredRefs = ref([]);
286
- const isFiltering = ref(false);
287
- const hoverFirstEmoji = ref(true);
288
- function _handleArrowLeft(indexTab, indexEmoji) {
289
- if (!focusEmoji(indexTab, indexEmoji - 1)) {
290
- if (emojiRefs.value[indexTab - 1]) {
291
- focusEmoji(indexTab - 1, emojiRefs.value[indexTab - 1].length - 1);
292
- } else {
293
- focusEmoji(emojiRefs.value.length - 1, emojiRefs.value[emojiRefs.value.length - 1].length - 1);
294
- }
295
- }
296
- }
297
- function _handleArrowRight(indexTab, indexEmoji) {
298
- if (!focusEmoji(indexTab, indexEmoji + 1)) {
299
- if (!focusEmoji(indexTab + 1, 0)) {
300
- focusEmoji(0, 0);
301
- }
302
- }
303
- }
304
- function _handleArrowLeftFiltered(indexTab, indexEmoji) {
305
- if (!focusEmoji(0, indexEmoji - 1)) {
306
- focusEmoji(0, emojiFilteredRefs.value.length - 1);
307
- }
308
- }
309
- function _handleArrowRightFiltered(indexTab, indexEmoji) {
310
- if (!focusEmoji(0, indexEmoji + 1)) {
311
- focusEmoji(0, 0);
312
- }
313
- }
314
- function _handleHorizontalNavigation(direction, indexTab, indexEmoji) {
315
- if (isFiltering.value) {
316
- if (direction === "left") {
317
- _handleArrowLeftFiltered(indexTab, indexEmoji);
318
- } else if (direction === "right") {
319
- _handleArrowRightFiltered(indexTab, indexEmoji);
320
- }
321
- } else {
322
- if (direction === "left") {
323
- _handleArrowLeft(indexTab, indexEmoji);
324
- } else if (direction === "right") {
325
- _handleArrowRight(indexTab, indexEmoji);
326
- }
327
- }
328
- }
329
- function focusEmoji(indexTab, indexEmoji) {
330
- var _a, _b, _c;
331
- const emojiRef = isFiltering.value ? (_a = emojiFilteredRefs.value) == null ? void 0 : _a[indexEmoji] : (_c = (_b = emojiRefs.value) == null ? void 0 : _b[indexTab]) == null ? void 0 : _c[indexEmoji];
332
- if (emojiRef) {
333
- emojiRef.focus();
334
- return true;
335
- }
336
- return false;
337
- }
338
- function setEmojiRef(el, indexTab, indexEmoji) {
339
- if (!emojiRefs.value[indexTab]) {
340
- emojiRefs.value[indexTab] = [];
341
- }
342
- emojiRefs.value[indexTab][indexEmoji] = el;
343
- }
344
- function setFilteredRef(el, index) {
345
- emojiFilteredRefs.value[index] = el;
346
- }
347
- function handleArrowNavigationFiltered(key, indexEmoji) {
348
- var _a;
349
- hoverFirstEmoji.value = false;
350
- if (key === ARROW_KEYS.ARROW_UP) {
351
- const position = indexEmoji % EMOJIS_PER_ROW;
352
- if (!focusEmoji(0, indexEmoji - EMOJIS_PER_ROW)) {
353
- const lastEmojiPosition = emojiFilteredRefs.value.length - emojiFilteredRefs.value.length % EMOJIS_PER_ROW + position;
354
- focusEmoji(0, lastEmojiPosition);
355
- if (!focusEmoji(0, lastEmojiPosition)) {
356
- focusEmoji(0, emojiFilteredRefs.value.length - 1);
357
- }
358
- }
359
- }
360
- if (key === ARROW_KEYS.ARROW_DOWN) {
361
- if (!focusEmoji(0, indexEmoji + EMOJIS_PER_ROW)) {
362
- const position = indexEmoji % EMOJIS_PER_ROW;
363
- if ((_a = emojiFilteredRefs.value) == null ? void 0 : _a[indexEmoji + (EMOJIS_PER_ROW - position)]) {
364
- focusEmoji(0, emojiFilteredRefs.value.length - 1);
365
- } else {
366
- focusEmoji(0, position);
367
- }
368
- }
369
- }
370
- if (key === ARROW_KEYS.ARROW_LEFT) {
371
- _handleHorizontalNavigation("left", 0, indexEmoji);
372
- }
373
- if (key === ARROW_KEYS.ARROW_RIGHT) {
374
- _handleHorizontalNavigation("right", 0, indexEmoji);
375
- }
376
- }
377
- function handleArrowNavigation(key, indexTab, indexEmoji) {
378
- var _a, _b;
379
- if (key === "ArrowUp") {
380
- const position = indexEmoji % EMOJIS_PER_ROW;
381
- if (indexTab === 0) {
382
- const numberOfMissingEmojis = EMOJIS_PER_ROW - emojiRefs.value[emojiRefs.value.length - 1].length % EMOJIS_PER_ROW;
383
- const emojiToJump = emojiRefs.value[emojiRefs.value.length - 1].length + numberOfMissingEmojis - (EMOJIS_PER_ROW - position);
384
- if (!focusEmoji(emojiRefs.value.length - 1, emojiToJump)) {
385
- focusEmoji(emojiRefs.value.length - 1, emojiRefs.value[emojiRefs.value.length - 1].length - 1);
386
- }
387
- return;
388
- }
389
- if (!focusEmoji(indexTab, indexEmoji - EMOJIS_PER_ROW)) {
390
- const previousTab = indexTab - 1 < 0 ? 0 : indexTab - 1;
391
- const emojisInPreviousTab = emojiRefs.value[previousTab].length;
392
- const lastEmojiPosition = emojisInPreviousTab - emojisInPreviousTab % EMOJIS_PER_ROW + position;
393
- if (!focusEmoji(previousTab, lastEmojiPosition)) {
394
- focusEmoji(indexTab - 1, emojiRefs.value[indexTab - 1].length - 1);
395
- }
396
- }
397
- }
398
- if (key === "ArrowDown") {
399
- if (!focusEmoji(indexTab, indexEmoji + EMOJIS_PER_ROW)) {
400
- const position = indexEmoji % EMOJIS_PER_ROW;
401
- if ((_b = (_a = emojiRefs.value) == null ? void 0 : _a[indexTab]) == null ? void 0 : _b[indexEmoji + (EMOJIS_PER_ROW - position)]) {
402
- focusEmoji(indexTab, emojiRefs.value[indexTab].length - 1);
403
- } else {
404
- if (!focusEmoji(indexTab + 1, position)) {
405
- if (!focusEmoji(0, position)) {
406
- focusEmoji(0, emojiRefs.value[0].length - 1);
407
- }
408
- }
409
- }
410
- }
411
- }
412
- if (key === "ArrowLeft") {
413
- _handleHorizontalNavigation("left", indexTab, indexEmoji);
414
- }
415
- if (key === "ArrowRight") {
416
- _handleHorizontalNavigation("right", indexTab, indexEmoji);
417
- }
418
- }
419
- return {
420
- emojiFilteredRefs,
421
- isFiltering,
422
- hoverFirstEmoji,
423
- setEmojiRef,
424
- setFilteredRef,
425
- focusEmoji,
426
- handleArrowNavigationFiltered,
427
- handleArrowNavigation
428
- };
429
- }
430
- const _hoisted_1$3 = { class: "d-emoji-picker__selector" };
431
- const _hoisted_2$3 = {
432
- key: 0,
433
- class: "d-emoji-picker__search-label d-emoji-picker__alignment"
434
- };
435
- const _hoisted_3$2 = { key: 0 };
436
- const _hoisted_4$2 = { class: "d-emoji-picker__tab" };
437
- const _hoisted_5$1 = ["aria-label", "onClick", "onFocusin", "onMouseover", "onKeydown"];
438
- const _hoisted_6$1 = ["alt", "aria-label", "title", "src"];
439
- const _hoisted_7$1 = {
440
- key: 2,
441
- class: "d-emoji-picker__alignment"
442
- };
443
- const _hoisted_8 = {
444
- class: "d-emoji-picker__tab",
445
- "data-qa": "filtered-emojis"
446
- };
447
- const _hoisted_9 = ["aria-label", "onClick", "onFocusin", "onMouseover", "onKeydown"];
448
- const _hoisted_10 = ["alt", "aria-label", "title", "src"];
449
- const _sfc_main$3 = {
450
- __name: "emoji_selector",
451
- props: {
452
- /**
453
- * The filter to apply to the emoji list
454
- * @type {String}
455
- * @default ''
456
- */
457
- emojiFilter: {
458
- type: String,
459
- default: ""
460
- },
461
- /**
462
- * The skin tone to apply to the emoji list
463
- * @type {String}
464
- * @required
465
- */
466
- skinTone: {
467
- type: String,
468
- required: true
469
- },
470
- /**
471
- * The labels for the tabset
472
- * @type {Array}
473
- * @required
474
- */
475
- tabsetLabels: {
476
- type: Array,
477
- required: true
478
- },
479
- selectedTabset: {
480
- type: Object,
481
- required: true
482
- },
483
- /**
484
- * The label for the search results tab
485
- * @type {String}
486
- * @required
487
- */
488
- searchResultsLabel: {
489
- type: String,
490
- required: true
491
- },
492
- searchNoResultsLabel: {
493
- type: String,
494
- required: true
495
- },
496
- /**
497
- * The list of recently used emojis
498
- * @type {Array}
499
- */
500
- recentlyUsedEmojis: {
501
- type: Array,
502
- default: () => []
503
- }
504
- },
505
- emits: [
506
- /**
507
- * Emitted when the user hover over an emoji
508
- * @event highlighted-emoji
509
- * @param {Object} emoji - The emoji data that was hovered
510
- */
511
- "highlighted-emoji",
512
- /**
513
- * Emitted when the user select an emoji
514
- * @event selected-emoji
515
- * @param {Object} emoji - The emoji data that was selected
516
- */
517
- "selected-emoji",
518
- /**
519
- * Emitted when the user scroll into an emoji tab
520
- * @event scroll-into-tab
521
- * @param {Number} tab-index - The tab that was scrolled into
522
- */
523
- "scroll-into-tab",
524
- /**
525
- * Emitted when the scrollTo function starts scrolling and stops scrolling
526
- * @event is-scrolling
527
- * @param {Boolean} is-scrolling - Whether the user is scrolling with the scroll-to
528
- */
529
- "is-scrolling",
530
- /**
531
- * Emitted when the user reach the end of the emoji list
532
- * @event focus-skin-selector
533
- */
534
- "focus-skin-selector",
535
- /**
536
- * Emitted when the user shift tab in first tab of emoji selector
537
- * @event focus-search-input
538
- */
539
- "focus-search-input"
540
- ],
541
- setup(__props, { expose: __expose, emit: __emit }) {
542
- const props = __props;
543
- const emits = __emit;
544
- const {
545
- emojiFilteredRefs,
546
- isFiltering,
547
- hoverFirstEmoji,
548
- setEmojiRef,
549
- setFilteredRef,
550
- focusEmoji,
551
- handleArrowNavigationFiltered,
552
- handleArrowNavigation
553
- } = useKeyboardNavigation();
554
- const tabCategoryRef = ref(null);
555
- const listRef = ref(null);
556
- const tabLabelObserver = ref(null);
557
- const TABS_DATA = ["Recently used", "People", "Nature", "Food", "Activity", "Travel", "Objects", "Symbols", "Flags"];
558
- const tabLabels = computed(() => {
559
- return props.recentlyUsedEmojis.length ? props.tabsetLabels.map((label) => ({ label, ref: ref(null) })) : props.tabsetLabels.slice(1).map((label) => ({ label, ref: ref(null) }));
560
- });
561
- const fixedLabel = ref(tabLabels.value[0].label);
562
- const tabs = computed(() => {
563
- return props.recentlyUsedEmojis.length ? TABS_DATA : TABS_DATA.slice(1);
564
- });
565
- const filteredEmojis = ref([]);
566
- const currentEmojis = computed(() => {
567
- return [
568
- ...emojisGrouped[`People${props.skinTone}`],
569
- ...emojisGrouped.Nature,
570
- ...emojisGrouped.Food,
571
- ...emojisGrouped[`Activity${props.skinTone}`],
572
- ...emojisGrouped.Travel,
573
- ...emojisGrouped[`Objects${props.skinTone}`],
574
- ...emojisGrouped.Symbols,
575
- ...emojisGrouped.Flags
576
- ];
577
- });
578
- const debouncedSearch = debounce(() => {
579
- emojiFilteredRefs.value = [];
580
- searchByNameAndKeywords();
581
- });
582
- watch(currentEmojis, () => {
583
- searchByNameAndKeywords();
584
- }, { immediate: true });
585
- watch(
586
- () => props.recentlyUsedEmojis,
587
- () => {
588
- emojisGrouped["Recently used"] = props.recentlyUsedEmojis;
589
- },
590
- { immediate: true }
591
- );
592
- watch(() => props.emojiFilter, () => {
593
- resetScroll();
594
- if (props.emojiFilter) {
595
- isFiltering.value = true;
596
- } else {
597
- isFiltering.value = false;
598
- highlightEmoji(null);
599
- }
600
- debouncedSearch();
601
- });
602
- watch(
603
- () => props.selectedTabset,
604
- (tab) => {
605
- scrollToTab(tab.tabId);
606
- },
607
- { deep: true }
608
- );
609
- function hoverEmoji(emoji, isFirst = false) {
610
- hoverFirstEmoji.value = isFirst;
611
- emits("highlighted-emoji", emoji);
612
- }
613
- function searchByNameAndKeywords() {
614
- const searchStr = props.emojiFilter.toLowerCase();
615
- filteredEmojis.value = currentEmojis.value.filter((obj) => {
616
- const nameIncludesSearchStr = obj.name.toLowerCase().includes(searchStr);
617
- const keywordsIncludeSearchStr = obj.keywords.some((keyword) => keyword.toLowerCase().includes(searchStr));
618
- return nameIncludesSearchStr || keywordsIncludeSearchStr;
619
- });
620
- nextTick(() => {
621
- if (searchStr) {
622
- hoverEmoji(filteredEmojis.value[0], true);
623
- }
624
- });
625
- }
626
- function debounce(fn, delay = 300) {
627
- let timeout;
628
- return (...args) => {
629
- clearTimeout(timeout);
630
- timeout = setTimeout(() => fn(...args), delay);
631
- };
632
- }
633
- function getImgSrc(emoji) {
634
- return `${CDN_URL + emoji}.png`;
635
- }
636
- function handleImageError(event) {
637
- event.target.parentNode.style.display = "none";
638
- }
639
- function scrollToTab(tabIndex, focusFirstEmoji = true) {
640
- const tabLabel = tabLabels.value[tabIndex - 1];
641
- const tabElement = tabLabel.ref.value[0];
642
- nextTick(() => {
643
- const container = listRef.value;
644
- const offsetTop = tabIndex === "1" ? 0 : tabElement.offsetTop - 20;
645
- let isScrolling = true;
646
- let prevScrollTop = container.scrollTop;
647
- emits("is-scrolling", true);
648
- container.addEventListener("scroll", () => {
649
- if (isScrolling) {
650
- const scrollTop = container.scrollTop;
651
- if (prevScrollTop < scrollTop && scrollTop >= offsetTop || prevScrollTop > scrollTop && scrollTop <= offsetTop) {
652
- isScrolling = false;
653
- emits("is-scrolling", false);
654
- }
655
- prevScrollTop = scrollTop;
656
- }
657
- });
658
- container.scrollTop = offsetTop;
659
- if (focusFirstEmoji) {
660
- focusEmoji(tabIndex - 1, 0);
661
- }
662
- });
663
- }
664
- function resetScroll() {
665
- const container = listRef.value;
666
- container.scrollTop = 0;
667
- }
668
- function setTabLabelObserver() {
669
- tabLabelObserver.value = new IntersectionObserver(async (entries) => {
670
- emits("is-scrolling", false);
671
- entries.forEach((entry) => {
672
- var _a, _b, _c, _d, _e;
673
- const { target } = entry;
674
- const index = parseInt(target.dataset.index);
675
- if (entry.isIntersecting && target.offsetTop <= tabCategoryRef.value.offsetTop + 50) {
676
- fixedLabel.value = ((_a = tabLabels.value[index - 1]) == null ? void 0 : _a.label) ?? ((_b = tabLabels.value[0]) == null ? void 0 : _b.label);
677
- emits("scroll-into-tab", index - 1);
678
- } else if (entry.boundingClientRect.bottom <= ((_c = tabCategoryRef.value) == null ? void 0 : _c.getBoundingClientRect().bottom)) {
679
- emits("scroll-into-tab", index);
680
- fixedLabel.value = (_d = tabLabels.value[index]) == null ? void 0 : _d.label;
681
- } else if (index === 1) {
682
- emits("scroll-into-tab", index);
683
- fixedLabel.value = (_e = tabLabels.value[0]) == null ? void 0 : _e.label;
684
- }
685
- });
686
- });
687
- tabLabelObserver.value.observe(tabCategoryRef.value);
688
- Array.from(listRef.value.children).forEach((child, index) => {
689
- tabLabelObserver.value.observe(child);
690
- child.dataset.index = index;
691
- });
692
- }
693
- const handleKeyDownFilteredEmojis = (event, indexEmoji, emoji) => {
694
- event.preventDefault();
695
- if (Object.values(ARROW_KEYS).includes(event.key)) {
696
- handleArrowNavigationFiltered(event.key, indexEmoji);
697
- return;
698
- }
699
- switch (event.key) {
700
- case "Tab":
701
- emits("focus-skin-selector");
702
- break;
703
- case "Enter":
704
- selectEmoji(emoji);
705
- break;
706
- }
707
- };
708
- const handleKeyDown = (event, indexTab, indexEmoji, emoji) => {
709
- event.preventDefault();
710
- if (Object.values(ARROW_KEYS).includes(event.key)) {
711
- handleArrowNavigation(event.key, indexTab, indexEmoji);
712
- return;
713
- }
714
- switch (event.key) {
715
- case "Tab":
716
- if (event.shiftKey) {
717
- if (focusEmoji(indexTab, 0) && indexTab > 0) {
718
- scrollToTab(indexTab, true);
719
- } else {
720
- scrollToTab(1, false);
721
- emits("focus-search-input");
722
- }
723
- } else {
724
- if (focusEmoji(indexTab + 1, 0)) {
725
- scrollToTab(indexTab + 1 + 1, false);
726
- } else {
727
- emits("focus-skin-selector");
728
- }
729
- }
730
- break;
731
- case "Enter":
732
- selectEmoji(emoji);
733
- break;
734
- }
735
- };
736
- function selectEmoji(emoji) {
737
- emits("selected-emoji", emoji);
738
- }
739
- function highlightEmoji(emoji) {
740
- emits("highlighted-emoji", emoji);
741
- }
742
- function focusEmojiSelector() {
743
- focusEmoji(0, 0);
744
- }
745
- function focusLastEmoji() {
746
- focusEmoji(tabs.value.length - 1, 0);
747
- }
748
- onMounted(() => {
749
- setTabLabelObserver();
750
- });
751
- onUnmounted(() => {
752
- tabLabelObserver.value.disconnect();
753
- });
754
- __expose({
755
- focusEmojiSelector,
756
- focusLastEmoji
757
- });
758
- return (_ctx, _cache) => {
759
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
760
- createElementVNode("div", {
761
- id: "d-emoji-picker-list",
762
- ref_key: "listRef",
763
- ref: listRef,
764
- class: "d-emoji-picker__list"
765
- }, [
766
- __props.emojiFilter ? (openBlock(), createElementBlock("p", _hoisted_2$3, toDisplayString(filteredEmojis.value.length > 0 ? __props.searchResultsLabel : __props.searchNoResultsLabel), 1)) : (openBlock(), createElementBlock("div", {
767
- key: 1,
768
- ref_key: "tabCategoryRef",
769
- ref: tabCategoryRef,
770
- class: "d-emoji-picker__category d-emoji-picker__alignment"
771
- }, [
772
- createElementVNode("p", null, toDisplayString(fixedLabel.value), 1)
773
- ], 512)),
774
- (openBlock(true), createElementBlock(Fragment, null, renderList(tabLabels.value, (tabLabel, indexTab) => {
775
- return withDirectives((openBlock(), createElementBlock("div", {
776
- key: indexTab,
777
- ref_for: true,
778
- ref: tabLabel.ref,
779
- class: "d-emoji-picker__alignment"
780
- }, [
781
- indexTab ? (openBlock(), createElementBlock("p", _hoisted_3$2, toDisplayString(tabLabel.label), 1)) : createCommentVNode("", true),
782
- createElementVNode("div", _hoisted_4$2, [
783
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(emojisGrouped)[tabs.value[indexTab] + __props.skinTone] ? unref(emojisGrouped)[tabs.value[indexTab] + __props.skinTone] : unref(emojisGrouped)[tabs.value[indexTab]], (emoji, indexEmoji) => {
784
- return openBlock(), createElementBlock("button", {
785
- key: emoji.shortname,
786
- ref_for: true,
787
- ref: (el) => {
788
- if (el)
789
- unref(setEmojiRef)(el, indexTab, indexEmoji);
790
- },
791
- type: "button",
792
- "aria-label": emoji.name,
793
- onClick: ($event) => selectEmoji(emoji),
794
- onFocusin: ($event) => highlightEmoji(emoji),
795
- onFocusout: _cache[0] || (_cache[0] = ($event) => highlightEmoji(null)),
796
- onMouseover: ($event) => highlightEmoji(emoji),
797
- onMouseleave: _cache[1] || (_cache[1] = ($event) => highlightEmoji(null)),
798
- onKeydown: (event) => handleKeyDown(event, indexTab, indexEmoji, emoji)
799
- }, [
800
- createElementVNode("img", {
801
- class: "d-icon d-icon--size-500",
802
- alt: emoji.name,
803
- "aria-label": emoji.name,
804
- title: emoji.name,
805
- src: getImgSrc(emoji.unicode_character),
806
- onError: handleImageError
807
- }, null, 40, _hoisted_6$1)
808
- ], 40, _hoisted_5$1);
809
- }), 128))
810
- ])
811
- ])), [
812
- [vShow, !__props.emojiFilter]
813
- ]);
814
- }), 128)),
815
- __props.emojiFilter ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
816
- createElementVNode("div", _hoisted_8, [
817
- (openBlock(true), createElementBlock(Fragment, null, renderList(filteredEmojis.value, (emoji, index) => {
818
- return openBlock(), createElementBlock("button", {
819
- key: emoji.shortname,
820
- ref_for: true,
821
- ref: (el) => {
822
- if (el)
823
- unref(setFilteredRef)(el, index);
824
- },
825
- type: "button",
826
- "aria-label": emoji.name,
827
- class: normalizeClass({
828
- "hover-emoji": index === 0 && unref(hoverFirstEmoji)
829
- }),
830
- onClick: ($event) => selectEmoji(emoji),
831
- onFocusin: ($event) => highlightEmoji(emoji),
832
- onFocusout: _cache[2] || (_cache[2] = ($event) => highlightEmoji(null)),
833
- onMouseover: ($event) => hoverEmoji(emoji),
834
- onMouseleave: _cache[3] || (_cache[3] = ($event) => hoverEmoji(null)),
835
- onKeydown: (event) => handleKeyDownFilteredEmojis(event, index, emoji)
836
- }, [
837
- createElementVNode("img", {
838
- class: "d-icon d-icon--size-500",
839
- alt: emoji.name,
840
- "aria-label": emoji.name,
841
- title: emoji.name,
842
- src: `${unref(CDN_URL) + emoji.unicode_character}.png`
843
- }, null, 8, _hoisted_10)
844
- ], 42, _hoisted_9);
845
- }), 128))
846
- ])
847
- ])) : createCommentVNode("", true)
848
- ], 512)
849
- ]);
850
- };
851
- }
852
- };
853
- const _hoisted_1$2 = { "data-qa": "skin-selector" };
854
- const _hoisted_2$2 = { class: "d-emoji-picker__skin-list" };
855
- const _hoisted_3$1 = ["onKeydown", "onClick"];
856
- const _hoisted_4$1 = ["alt", "aria-label", "title", "src"];
857
- const _hoisted_5 = { class: "d-emoji-picker__skin-selected" };
858
- const _hoisted_6 = ["aria-label"];
859
- const _hoisted_7 = ["alt", "aria-label", "title", "src"];
860
- const _sfc_main$2 = {
861
- __name: "emoji_skin_selector",
862
- props: {
863
- /**
864
- * The skin tone to apply to the emoji list
865
- * @type {String}
866
- * @required
867
- */
868
- skinTone: {
869
- type: String,
870
- required: true
871
- },
872
- isHovering: {
873
- type: Boolean,
874
- default: false
875
- },
876
- skinSelectorButtonTooltipLabel: {
877
- type: String,
878
- required: true
879
- }
880
- },
881
- emits: [
882
- /**
883
- * The skin tone that was selected
884
- * @event skin-tone
885
- * @type {Number}
886
- */
887
- "skin-tone",
888
- "focus-tabset",
889
- "focus-last-emoji"
890
- ],
891
- setup(__props, { expose: __expose, emit: __emit }) {
892
- const props = __props;
893
- const emits = __emit;
894
- const skinList = [
895
- {
896
- name: ":wave_tone1:",
897
- unicode_output: "1f44b-1f3fb",
898
- skinTone: EMOJI_PICKER_SKIN_TONE_MODIFIERS.LIGHT,
899
- skinCode: "_tone1"
900
- },
901
- {
902
- name: ":wave_tone2:",
903
- unicode_output: "1f44b-1f3fc",
904
- skinTone: EMOJI_PICKER_SKIN_TONE_MODIFIERS.MEDIUM_LIGHT,
905
- skinCode: "_tone2"
906
- },
907
- {
908
- name: ":wave_tone3:",
909
- unicode_output: "1f44b-1f3fd",
910
- skinTone: EMOJI_PICKER_SKIN_TONE_MODIFIERS.MEDIUM,
911
- skinCode: "_tone3"
912
- },
913
- {
914
- name: ":wave_tone4:",
915
- unicode_output: "1f44b-1f3fe",
916
- skinTone: EMOJI_PICKER_SKIN_TONE_MODIFIERS.MEDIUM_DARK,
917
- skinCode: "_tone4"
918
- },
919
- {
920
- name: ":wave_tone5:",
921
- unicode_output: "1f44b-1f3ff",
922
- skinTone: EMOJI_PICKER_SKIN_TONE_MODIFIERS.DARK,
923
- skinCode: "_tone5"
924
- },
925
- {
926
- name: ":wave:",
927
- unicode_output: "1f44b",
928
- skinTone: EMOJI_PICKER_SKIN_TONE_MODIFIERS.DEFAULT,
929
- skinCode: ""
930
- }
931
- ];
932
- const isOpen = ref(false);
933
- const skinSelectorRef = ref(null);
934
- const skinsRef = ref([]);
935
- watchEffect(
936
- () => props.isHovering && (isOpen.value = false)
937
- );
938
- const skinPassedIn = computed(() => skinList.find((skin) => skin.skinTone === props.skinTone));
939
- const skinSelected = ref(skinPassedIn.value);
940
- watchEffect(() => skinPassedIn.value && (skinSelected.value = skinPassedIn.value));
941
- function setSkinsRef(ref2) {
942
- skinsRef.value.push(ref2);
943
- }
944
- function focusSkinSelector() {
945
- skinSelectorRef.value.focus();
946
- }
947
- function selectSkin(skin) {
948
- skinSelected.value = skin;
949
- isOpen.value = false;
950
- emits("skin-tone", skin.skinTone);
951
- nextTick(() => focusSkinSelector());
952
- }
953
- const handleKeyDown = (event, skin, index) => {
954
- var _a, _b, _c;
955
- event.preventDefault();
956
- if (event.key === "ArrowLeft") {
957
- if (index === 0)
958
- (_a = skinsRef.value[skinsRef.value.length - 1]) == null ? void 0 : _a.focus();
959
- (_b = skinsRef.value[index - 1]) == null ? void 0 : _b.focus();
960
- }
961
- if (event.key === "ArrowRight") {
962
- (_c = skinsRef.value[index + 1]) == null ? void 0 : _c.focus();
963
- }
964
- if (event.key === "Enter") {
965
- if (skin) {
966
- selectSkin(skin);
967
- } else {
968
- toggleSkinList();
969
- }
970
- }
971
- if (event.key === "Tab") {
972
- if (event.shiftKey) {
973
- emits("focus-last-emoji");
974
- } else {
975
- emits("focus-tabset");
976
- }
977
- }
978
- };
979
- function toggleSkinList() {
980
- isOpen.value = !isOpen.value;
981
- nextTick(() => skinsRef.value[0].focus());
982
- }
983
- __expose({
984
- focusSkinSelector
985
- });
986
- return (_ctx, _cache) => {
987
- return openBlock(), createElementBlock("div", _hoisted_1$2, [
988
- withDirectives(createElementVNode("div", _hoisted_2$2, [
989
- (openBlock(), createElementBlock(Fragment, null, renderList(skinList, (skin, index) => {
990
- return createElementVNode("button", {
991
- ref_for: true,
992
- ref: (el) => {
993
- if (el)
994
- setSkinsRef(el);
995
- },
996
- key: skin.name,
997
- class: normalizeClass({
998
- "selected": skinSelected.value.skinCode === skin.skinCode
999
- }),
1000
- onKeydown: (event) => handleKeyDown(event, skin, index),
1001
- onClick: ($event) => selectSkin(skin)
1002
- }, [
1003
- createElementVNode("img", {
1004
- class: "d-icon d-icon--size-500",
1005
- alt: skin.name,
1006
- "aria-label": skin.name,
1007
- title: skin.name,
1008
- src: `${unref(CDN_URL) + skin.unicode_output}.png`
1009
- }, null, 8, _hoisted_4$1)
1010
- ], 42, _hoisted_3$1);
1011
- }), 64))
1012
- ], 512), [
1013
- [vShow, isOpen.value]
1014
- ]),
1015
- withDirectives(createElementVNode("div", _hoisted_5, [
1016
- createVNode(unref(DtTooltip), { placement: "top-end" }, {
1017
- anchor: withCtx(() => [
1018
- createElementVNode("button", {
1019
- ref_key: "skinSelectorRef",
1020
- ref: skinSelectorRef,
1021
- "aria-label": __props.skinSelectorButtonTooltipLabel,
1022
- tabindex: "-1",
1023
- onClick: toggleSkinList,
1024
- onKeydown: _cache[0] || (_cache[0] = (event) => handleKeyDown(event))
1025
- }, [
1026
- createElementVNode("img", {
1027
- class: "d-icon d-icon--size-500",
1028
- alt: skinSelected.value.name,
1029
- "aria-label": skinSelected.value.name,
1030
- title: skinSelected.value.name,
1031
- src: `${unref(CDN_URL) + skinSelected.value.unicode_output}.png`
1032
- }, null, 8, _hoisted_7)
1033
- ], 40, _hoisted_6)
1034
- ]),
1035
- default: withCtx(() => [
1036
- createTextVNode(toDisplayString(__props.skinSelectorButtonTooltipLabel) + " ", 1)
1037
- ]),
1038
- _: 1
1039
- })
1040
- ], 512), [
1041
- [vShow, !isOpen.value]
1042
- ])
1043
- ]);
1044
- };
1045
- }
1046
- };
1047
- const _hoisted_1$1 = { class: "d-emoji-picker__data" };
1048
- const _hoisted_2$1 = ["alt", "aria-label", "title", "src"];
1049
- const _sfc_main$1 = {
1050
- __name: "emoji_description",
1051
- props: {
1052
- /**
1053
- * Emoji data
1054
- * @type {Object}
1055
- * @default null
1056
- */
1057
- emoji: {
1058
- type: Object,
1059
- default: null
1060
- }
1061
- },
1062
- setup(__props) {
1063
- return (_ctx, _cache) => {
1064
- var _a;
1065
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
1066
- __props.emoji ? (openBlock(), createElementBlock("img", {
1067
- key: 0,
1068
- class: "d-icon d-icon--size-500",
1069
- alt: __props.emoji.name,
1070
- "aria-label": __props.emoji.name,
1071
- title: __props.emoji.name,
1072
- src: `${unref(CDN_URL) + __props.emoji.unicode_character}.png`
1073
- }, null, 8, _hoisted_2$1)) : createCommentVNode("", true),
1074
- createElementVNode("div", null, toDisplayString((_a = __props.emoji) == null ? void 0 : _a.name), 1)
1075
- ]);
1076
- };
1077
- }
1078
- };
1079
- const _hoisted_1 = { class: "d-emoji-picker" };
1080
- const _hoisted_2 = { class: "d-emoji-picker--header" };
1081
- const _hoisted_3 = { class: "d-emoji-picker--body" };
1082
- const _hoisted_4 = { class: "d-emoji-picker--footer" };
1083
- const _sfc_main = {
1084
- __name: "emoji_picker",
1085
- props: {
1086
- /**
1087
- * The array with recently used emoji object
1088
- * This list is necessary to fill the recently used tab
1089
- * @type {Array}
1090
- * @default []
1091
- * @example
1092
- * <dt-emoji-picker :recentlyUsedEmojis="[emojiObject, emojiObject]" />
1093
- */
1094
- // TODO try to simplify this to achieve an array of unicode characters and not an entire emoji data object
1095
- recentlyUsedEmojis: {
1096
- type: Array,
1097
- default: () => []
1098
- },
1099
- /**
1100
- * The placeholder text for the search input
1101
- * @type {String}
1102
- * @required
1103
- * @example
1104
- * <dt-emoji-picker :searchPlaceholderLabel="'Search...'" />
1105
- */
1106
- searchPlaceholderLabel: {
1107
- type: String,
1108
- required: true
1109
- },
1110
- /**
1111
- * The label for the search results tab
1112
- * @type {String}
1113
- * @required
1114
- * @example
1115
- * <dt-emoji-picker :searchResultsLabel="'Search results'" />
1116
- */
1117
- searchResultsLabel: {
1118
- type: String,
1119
- required: true
1120
- },
1121
- /**
1122
- * The label for the search no results
1123
- * @type {String}
1124
- * @required
1125
- * @example
1126
- * <dt-emoji-picker :searchNoResultsLabel="'No results'" />
1127
- */
1128
- searchNoResultsLabel: {
1129
- type: String,
1130
- required: true
1131
- },
1132
- /**
1133
- * The list of tabsets to show, it is necessary to be updated with the correct language
1134
- * It must respect the provided order.
1135
- * @type {Array}
1136
- * @required
1137
- * @example
1138
- * <dt-emoji-picker
1139
- * :tabSetLabels="['Most recently used', 'Smileys and people', 'Nature',
1140
- * 'Food', 'Activity', 'Travel', 'Objects', 'Symbols', 'Flags']" />
1141
- */
1142
- tabSetLabels: {
1143
- type: Array,
1144
- required: true
1145
- },
1146
- /**
1147
- * The skin tone to show the emojis
1148
- * This prop gives the possibility to use the skin tone selected by the user previously
1149
- * @type {String}
1150
- * @default 'Default'
1151
- * @values 'Default', 'Light', 'MediumLight', 'Medium', 'MediumDark', 'Dark'
1152
- * @example
1153
- * <dt-emoji-picker :skinTone="'Default'" />
1154
- */
1155
- skinTone: {
1156
- type: String,
1157
- default: "Default"
1158
- },
1159
- /**
1160
- * Tooltip shown when skin selector button is hovered.
1161
- * @type {String}
1162
- * @required
1163
- * @example
1164
- * <dt-emoji-picker :skin-selector-button-tooltip-label="'Change default skin tone'" />
1165
- */
1166
- skinSelectorButtonTooltipLabel: {
1167
- type: String,
1168
- required: true
1169
- },
1170
- /**
1171
- * Sets the search query that filters emojis.
1172
- * @type {String}
1173
- * @example
1174
- * <dt-emoji-picker search-query="smile" />
1175
- */
1176
- searchQuery: {
1177
- type: String,
1178
- default: ""
1179
- },
1180
- /**
1181
- * Shows the search input
1182
- * @type {Boolean}
1183
- * @example
1184
- * <dt-emoji-picker :show-search="false" />
1185
- */
1186
- showSearch: {
1187
- type: Boolean,
1188
- default: true
1189
- }
1190
- },
1191
- emits: [
1192
- /**
1193
- * It will emit the selected emoji
1194
- * @event selected-emoji
1195
- * @param {Object} emoji - The selected emoji from the emoji selector
1196
- */
1197
- "selected-emoji",
1198
- /**
1199
- * It will emit the selected skin tone
1200
- * @event skin-tone
1201
- * @param {String} skin - The selected skin tone from the skin selector
1202
- */
1203
- "skin-tone",
1204
- /**
1205
- * Since the keyboard events are encapsulated, we emit this event to close the picker
1206
- * @event close
1207
- */
1208
- "close"
1209
- ],
1210
- setup(__props, { emit: __emit }) {
1211
- const props = __props;
1212
- const emits = __emit;
1213
- const internalSearchQuery = ref(props.searchQuery.value);
1214
- const highlightedEmoji = ref(null);
1215
- const selectedTabset = ref({});
1216
- const scrollIntoTab = ref(0);
1217
- const isScrolling = ref(false);
1218
- const showRecentlyUsedTab = computed(() => props.recentlyUsedEmojis.length > 0);
1219
- watch(
1220
- () => props.searchQuery,
1221
- (newValue) => {
1222
- internalSearchQuery.value = newValue;
1223
- }
1224
- );
1225
- function scrollToSelectedTabset(tabId) {
1226
- internalSearchQuery.value = "";
1227
- selectedTabset.value = tabId;
1228
- selectedTabset.value = { ...selectedTabset.value, tabId };
1229
- }
1230
- function updateScrollIntoTab(value) {
1231
- scrollIntoTab.value = value;
1232
- }
1233
- function updateIsScrolling(value) {
1234
- isScrolling.value = value;
1235
- }
1236
- function updateHighlightedEmoji(emoji) {
1237
- highlightedEmoji.value = emoji;
1238
- }
1239
- return (_ctx, _cache) => {
1240
- return openBlock(), createElementBlock("div", _hoisted_1, [
1241
- createElementVNode("div", _hoisted_2, [
1242
- createVNode(_sfc_main$4, {
1243
- ref: "tabsetRef",
1244
- "emoji-filter": internalSearchQuery.value,
1245
- "show-recently-used-tab": showRecentlyUsedTab.value,
1246
- "scroll-into-tab": scrollIntoTab.value,
1247
- "tabset-labels": __props.tabSetLabels,
1248
- "is-scrolling": isScrolling.value,
1249
- onFocusSkinSelector: _cache[0] || (_cache[0] = ($event) => _ctx.$refs.skinSelectorRef.focusSkinSelector()),
1250
- onFocusSearchInput: _cache[1] || (_cache[1] = ($event) => __props.showSearch ? _ctx.$refs.searchInputRef.focusSearchInput() : _ctx.$refs.emojiSelectorRef.focusEmojiSelector()),
1251
- onSelectedTabset: scrollToSelectedTabset,
1252
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => emits("close"), ["esc"]))
1253
- }, null, 8, ["emoji-filter", "show-recently-used-tab", "scroll-into-tab", "tabset-labels", "is-scrolling"])
1254
- ]),
1255
- createElementVNode("div", _hoisted_3, [
1256
- __props.showSearch ? (openBlock(), createBlock(_sfc_main$5, {
1257
- key: 0,
1258
- ref: "searchInputRef",
1259
- modelValue: internalSearchQuery.value,
1260
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => internalSearchQuery.value = $event),
1261
- "search-placeholder-label": __props.searchPlaceholderLabel,
1262
- onSelectFirstEmoji: _cache[4] || (_cache[4] = ($event) => emits("selected-emoji", highlightedEmoji.value)),
1263
- onFocusTabset: _cache[5] || (_cache[5] = ($event) => _ctx.$refs.tabsetRef.focusTabset()),
1264
- onFocusEmojiSelector: _cache[6] || (_cache[6] = ($event) => _ctx.$refs.emojiSelectorRef.focusEmojiSelector()),
1265
- onKeydown: _cache[7] || (_cache[7] = withKeys(($event) => emits("close"), ["esc"]))
1266
- }, null, 8, ["modelValue", "search-placeholder-label"])) : createCommentVNode("", true),
1267
- createVNode(_sfc_main$3, {
1268
- ref: "emojiSelectorRef",
1269
- "emoji-filter": internalSearchQuery.value,
1270
- "skin-tone": __props.skinTone,
1271
- "tabset-labels": __props.tabSetLabels,
1272
- "search-results-label": __props.searchResultsLabel,
1273
- "search-no-results-label": __props.searchNoResultsLabel,
1274
- "recently-used-emojis": __props.recentlyUsedEmojis,
1275
- "selected-tabset": selectedTabset.value,
1276
- onScrollIntoTab: updateScrollIntoTab,
1277
- onIsScrolling: updateIsScrolling,
1278
- onHighlightedEmoji: updateHighlightedEmoji,
1279
- onSelectedEmoji: _cache[8] || (_cache[8] = ($event) => emits("selected-emoji", $event)),
1280
- onFocusSkinSelector: _cache[9] || (_cache[9] = ($event) => _ctx.$refs.skinSelectorRef.focusSkinSelector()),
1281
- onFocusSearchInput: _cache[10] || (_cache[10] = ($event) => __props.showSearch ? _ctx.$refs.searchInputRef.focusSearchInput() : _ctx.$refs.tabsetRef.focusTabset()),
1282
- onKeydown: _cache[11] || (_cache[11] = withKeys(($event) => emits("close"), ["esc"]))
1283
- }, null, 8, ["emoji-filter", "skin-tone", "tabset-labels", "search-results-label", "search-no-results-label", "recently-used-emojis", "selected-tabset"])
1284
- ]),
1285
- createElementVNode("div", _hoisted_4, [
1286
- createVNode(_sfc_main$1, { emoji: highlightedEmoji.value }, null, 8, ["emoji"]),
1287
- createVNode(_sfc_main$2, {
1288
- ref: "skinSelectorRef",
1289
- "is-hovering": !!highlightedEmoji.value,
1290
- "skin-selector-button-tooltip-label": __props.skinSelectorButtonTooltipLabel,
1291
- "skin-tone": __props.skinTone,
1292
- onSkinTone: _cache[12] || (_cache[12] = ($event) => emits("skin-tone", $event)),
1293
- onFocusTabset: _cache[13] || (_cache[13] = ($event) => _ctx.$refs.tabsetRef.focusTabset()),
1294
- onFocusLastEmoji: _cache[14] || (_cache[14] = ($event) => _ctx.$refs.emojiSelectorRef.focusLastEmoji()),
1295
- onKeydown: _cache[15] || (_cache[15] = withKeys(($event) => emits("close"), ["esc"]))
1296
- }, null, 8, ["is-hovering", "skin-selector-button-tooltip-label", "skin-tone"])
1297
- ])
1298
- ]);
1299
- };
1300
- }
1301
- };
1
+ import { default as default2 } from "../components/emoji_picker/emoji_picker.vue.js";
2
+ import { ARROW_KEYS, CDN_URL, EMOJIS_PER_ROW, EMOJI_PICKER_CATEGORIES, EMOJI_PICKER_SKIN_TONE_MODIFIERS } from "../components/emoji_picker/emoji_picker_constants.js";
1302
3
  export {
1303
4
  ARROW_KEYS,
1304
5
  CDN_URL,
1305
- _sfc_main as DtEmojiPicker,
6
+ default2 as DtEmojiPicker,
1306
7
  EMOJIS_PER_ROW,
1307
8
  EMOJI_PICKER_CATEGORIES,
1308
9
  EMOJI_PICKER_SKIN_TONE_MODIFIERS