@dialpad/dialtone 9.86.0 → 9.86.2

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 (624) hide show
  1. package/README.md +0 -16
  2. package/dist/css/dialtone-default-theme.css +1157 -10
  3. package/dist/css/dialtone-default-theme.min.css +1 -1
  4. package/dist/css/dialtone.css +1151 -4
  5. package/dist/css/dialtone.min.css +1 -1
  6. package/dist/css/tokens/tokens-base-dark.css +6 -6
  7. package/dist/css/tokens/tokens-base-light.css +6 -6
  8. package/dist/css/tokens/tokens-debug-base.css +6 -6
  9. package/dist/css/tokens/tokens-expressive-dark.css +6 -6
  10. package/dist/css/tokens/tokens-expressive-light.css +6 -6
  11. package/dist/css/tokens/tokens-expressive-sm-dark.css +6 -6
  12. package/dist/css/tokens/tokens-expressive-sm-light.css +6 -6
  13. package/dist/tokens/css/tokens-base-dark.css +6 -6
  14. package/dist/tokens/css/tokens-base-light.css +6 -6
  15. package/dist/tokens/css/tokens-debug-base.css +6 -6
  16. package/dist/tokens/css/tokens-expressive-dark.css +6 -6
  17. package/dist/tokens/css/tokens-expressive-light.css +6 -6
  18. package/dist/tokens/css/tokens-expressive-sm-dark.css +6 -6
  19. package/dist/tokens/css/tokens-expressive-sm-light.css +6 -6
  20. package/dist/tokens/doc.json +13006 -13006
  21. package/dist/tokens/themes/chunks/{tokens-base-dark-DhC8-lWj.js → tokens-base-dark-BnTEKGxK.js} +1 -1
  22. package/dist/tokens/themes/chunks/{tokens-base-dark-B5huG27C.js → tokens-base-dark-Ch4dTh7V.js} +1 -1
  23. package/dist/tokens/themes/chunks/{tokens-base-light-B2RDBIfm.js → tokens-base-light-BLxKOiup.js} +1 -1
  24. package/dist/tokens/themes/chunks/{tokens-base-light-y7MK4fBY.js → tokens-base-light-DWLxg2cD.js} +1 -1
  25. package/dist/tokens/themes/debug.cjs +1 -1
  26. package/dist/tokens/themes/debug.js +1 -1
  27. package/dist/tokens/themes/dp-dark.cjs +1 -1
  28. package/dist/tokens/themes/dp-dark.js +1 -1
  29. package/dist/tokens/themes/dp-light.cjs +1 -1
  30. package/dist/tokens/themes/dp-light.js +1 -1
  31. package/dist/tokens/themes/expressive-dark.cjs +1 -1
  32. package/dist/tokens/themes/expressive-dark.js +2 -2
  33. package/dist/tokens/themes/expressive-light.cjs +1 -1
  34. package/dist/tokens/themes/expressive-light.js +2 -2
  35. package/dist/tokens/themes/expressive-sm-dark.cjs +1 -1
  36. package/dist/tokens/themes/expressive-sm-dark.js +2 -2
  37. package/dist/tokens/themes/expressive-sm-light.cjs +1 -1
  38. package/dist/tokens/themes/expressive-sm-light.js +2 -2
  39. package/dist/tokens/themes/tmo-dark.cjs +1 -1
  40. package/dist/tokens/themes/tmo-dark.js +1 -1
  41. package/dist/tokens/themes/tmo-light.cjs +1 -1
  42. package/dist/tokens/themes/tmo-light.js +1 -1
  43. package/dist/vue2/_virtual/_plugin-vue2_normalizer.cjs +0 -3
  44. package/dist/vue2/_virtual/_plugin-vue2_normalizer.cjs.map +1 -1
  45. package/dist/vue2/_virtual/_plugin-vue2_normalizer.js +0 -3
  46. package/dist/vue2/_virtual/_plugin-vue2_normalizer.js.map +1 -1
  47. package/dist/vue2/common/sr_only_close_button.vue.cjs +1 -4
  48. package/dist/vue2/common/sr_only_close_button.vue.cjs.map +1 -1
  49. package/dist/vue2/common/sr_only_close_button.vue.js +1 -4
  50. package/dist/vue2/common/sr_only_close_button.vue.js.map +1 -1
  51. package/dist/vue2/component-documentation.json +1 -1
  52. package/dist/vue2/components/avatar/avatar.vue.cjs +1 -4
  53. package/dist/vue2/components/avatar/avatar.vue.cjs.map +1 -1
  54. package/dist/vue2/components/avatar/avatar.vue.js +1 -4
  55. package/dist/vue2/components/avatar/avatar.vue.js.map +1 -1
  56. package/dist/vue2/components/badge/badge.vue.cjs +1 -4
  57. package/dist/vue2/components/badge/badge.vue.cjs.map +1 -1
  58. package/dist/vue2/components/badge/badge.vue.js +1 -4
  59. package/dist/vue2/components/badge/badge.vue.js.map +1 -1
  60. package/dist/vue2/components/banner/banner.vue.cjs +1 -4
  61. package/dist/vue2/components/banner/banner.vue.cjs.map +1 -1
  62. package/dist/vue2/components/banner/banner.vue.js +1 -4
  63. package/dist/vue2/components/banner/banner.vue.js.map +1 -1
  64. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.cjs +1 -4
  65. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.cjs.map +1 -1
  66. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.js +1 -4
  67. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.js.map +1 -1
  68. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.cjs +1 -4
  69. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.cjs.map +1 -1
  70. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.js +1 -4
  71. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.js.map +1 -1
  72. package/dist/vue2/components/button/button.vue.cjs +1 -4
  73. package/dist/vue2/components/button/button.vue.cjs.map +1 -1
  74. package/dist/vue2/components/button/button.vue.js +1 -4
  75. package/dist/vue2/components/button/button.vue.js.map +1 -1
  76. package/dist/vue2/components/button_group/button_group.vue.cjs +1 -4
  77. package/dist/vue2/components/button_group/button_group.vue.cjs.map +1 -1
  78. package/dist/vue2/components/button_group/button_group.vue.js +1 -4
  79. package/dist/vue2/components/button_group/button_group.vue.js.map +1 -1
  80. package/dist/vue2/components/card/card.vue.cjs +1 -4
  81. package/dist/vue2/components/card/card.vue.cjs.map +1 -1
  82. package/dist/vue2/components/card/card.vue.js +1 -4
  83. package/dist/vue2/components/card/card.vue.js.map +1 -1
  84. package/dist/vue2/components/checkbox/checkbox.vue.cjs +1 -4
  85. package/dist/vue2/components/checkbox/checkbox.vue.cjs.map +1 -1
  86. package/dist/vue2/components/checkbox/checkbox.vue.js +1 -4
  87. package/dist/vue2/components/checkbox/checkbox.vue.js.map +1 -1
  88. package/dist/vue2/components/checkbox_group/checkbox_group.vue.cjs +1 -4
  89. package/dist/vue2/components/checkbox_group/checkbox_group.vue.cjs.map +1 -1
  90. package/dist/vue2/components/checkbox_group/checkbox_group.vue.js +1 -4
  91. package/dist/vue2/components/checkbox_group/checkbox_group.vue.js.map +1 -1
  92. package/dist/vue2/components/chip/chip.vue.cjs +1 -4
  93. package/dist/vue2/components/chip/chip.vue.cjs.map +1 -1
  94. package/dist/vue2/components/chip/chip.vue.js +1 -4
  95. package/dist/vue2/components/chip/chip.vue.js.map +1 -1
  96. package/dist/vue2/components/codeblock/codeblock.vue.cjs +1 -4
  97. package/dist/vue2/components/codeblock/codeblock.vue.cjs.map +1 -1
  98. package/dist/vue2/components/codeblock/codeblock.vue.js +1 -4
  99. package/dist/vue2/components/codeblock/codeblock.vue.js.map +1 -1
  100. package/dist/vue2/components/collapsible/collapsible.vue.cjs +1 -4
  101. package/dist/vue2/components/collapsible/collapsible.vue.cjs.map +1 -1
  102. package/dist/vue2/components/collapsible/collapsible.vue.js +1 -4
  103. package/dist/vue2/components/collapsible/collapsible.vue.js.map +1 -1
  104. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.cjs +1 -4
  105. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.cjs.map +1 -1
  106. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.js +1 -4
  107. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.js.map +1 -1
  108. package/dist/vue2/components/combobox/combobox.vue.cjs +1 -4
  109. package/dist/vue2/components/combobox/combobox.vue.cjs.map +1 -1
  110. package/dist/vue2/components/combobox/combobox.vue.js +1 -4
  111. package/dist/vue2/components/combobox/combobox.vue.js.map +1 -1
  112. package/dist/vue2/components/combobox/combobox_empty-list.vue.cjs +1 -4
  113. package/dist/vue2/components/combobox/combobox_empty-list.vue.cjs.map +1 -1
  114. package/dist/vue2/components/combobox/combobox_empty-list.vue.js +1 -4
  115. package/dist/vue2/components/combobox/combobox_empty-list.vue.js.map +1 -1
  116. package/dist/vue2/components/combobox/combobox_loading-list.vue.cjs +1 -4
  117. package/dist/vue2/components/combobox/combobox_loading-list.vue.cjs.map +1 -1
  118. package/dist/vue2/components/combobox/combobox_loading-list.vue.js +1 -4
  119. package/dist/vue2/components/combobox/combobox_loading-list.vue.js.map +1 -1
  120. package/dist/vue2/components/datepicker/datepicker.vue.cjs +1 -4
  121. package/dist/vue2/components/datepicker/datepicker.vue.cjs.map +1 -1
  122. package/dist/vue2/components/datepicker/datepicker.vue.js +1 -4
  123. package/dist/vue2/components/datepicker/datepicker.vue.js.map +1 -1
  124. package/dist/vue2/components/datepicker/modules/calendar.vue.cjs +1 -4
  125. package/dist/vue2/components/datepicker/modules/calendar.vue.cjs.map +1 -1
  126. package/dist/vue2/components/datepicker/modules/calendar.vue.js +1 -4
  127. package/dist/vue2/components/datepicker/modules/calendar.vue.js.map +1 -1
  128. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.cjs +1 -4
  129. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.cjs.map +1 -1
  130. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.js +1 -4
  131. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.js.map +1 -1
  132. package/dist/vue2/components/description_list/description_list.vue.cjs +1 -4
  133. package/dist/vue2/components/description_list/description_list.vue.cjs.map +1 -1
  134. package/dist/vue2/components/description_list/description_list.vue.js +1 -4
  135. package/dist/vue2/components/description_list/description_list.vue.js.map +1 -1
  136. package/dist/vue2/components/dropdown/dropdown.vue.cjs +1 -4
  137. package/dist/vue2/components/dropdown/dropdown.vue.cjs.map +1 -1
  138. package/dist/vue2/components/dropdown/dropdown.vue.js +1 -4
  139. package/dist/vue2/components/dropdown/dropdown.vue.js.map +1 -1
  140. package/dist/vue2/components/dropdown/dropdown_separator.vue.cjs +1 -4
  141. package/dist/vue2/components/dropdown/dropdown_separator.vue.cjs.map +1 -1
  142. package/dist/vue2/components/dropdown/dropdown_separator.vue.js +1 -4
  143. package/dist/vue2/components/dropdown/dropdown_separator.vue.js.map +1 -1
  144. package/dist/vue2/components/emoji/emoji.vue.cjs +1 -4
  145. package/dist/vue2/components/emoji/emoji.vue.cjs.map +1 -1
  146. package/dist/vue2/components/emoji/emoji.vue.js +1 -4
  147. package/dist/vue2/components/emoji/emoji.vue.js.map +1 -1
  148. package/dist/vue2/components/emoji_picker/emoji_picker.vue.cjs +1 -4
  149. package/dist/vue2/components/emoji_picker/emoji_picker.vue.cjs.map +1 -1
  150. package/dist/vue2/components/emoji_picker/emoji_picker.vue.js +1 -4
  151. package/dist/vue2/components/emoji_picker/emoji_picker.vue.js.map +1 -1
  152. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.cjs +1 -4
  153. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.cjs.map +1 -1
  154. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.js +1 -4
  155. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.js.map +1 -1
  156. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.cjs +1 -4
  157. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.cjs.map +1 -1
  158. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.js +1 -4
  159. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.js.map +1 -1
  160. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.cjs +1 -4
  161. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.cjs.map +1 -1
  162. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.js +1 -4
  163. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.js.map +1 -1
  164. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.cjs +1 -4
  165. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.cjs.map +1 -1
  166. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.js +1 -4
  167. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.js.map +1 -1
  168. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.cjs +1 -4
  169. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.cjs.map +1 -1
  170. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.js +1 -4
  171. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.js.map +1 -1
  172. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs +1 -4
  173. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs.map +1 -1
  174. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.js +1 -4
  175. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.js.map +1 -1
  176. package/dist/vue2/components/empty_state/empty_state.vue.cjs +1 -4
  177. package/dist/vue2/components/empty_state/empty_state.vue.cjs.map +1 -1
  178. package/dist/vue2/components/empty_state/empty_state.vue.js +1 -4
  179. package/dist/vue2/components/empty_state/empty_state.vue.js.map +1 -1
  180. package/dist/vue2/components/hovercard/hovercard.vue.cjs +1 -4
  181. package/dist/vue2/components/hovercard/hovercard.vue.cjs.map +1 -1
  182. package/dist/vue2/components/hovercard/hovercard.vue.js +1 -4
  183. package/dist/vue2/components/hovercard/hovercard.vue.js.map +1 -1
  184. package/dist/vue2/components/icon/icon.vue.cjs +1 -4
  185. package/dist/vue2/components/icon/icon.vue.cjs.map +1 -1
  186. package/dist/vue2/components/icon/icon.vue.js +1 -4
  187. package/dist/vue2/components/icon/icon.vue.js.map +1 -1
  188. package/dist/vue2/components/illustration/illustration.vue.cjs +1 -4
  189. package/dist/vue2/components/illustration/illustration.vue.cjs.map +1 -1
  190. package/dist/vue2/components/illustration/illustration.vue.js +1 -4
  191. package/dist/vue2/components/illustration/illustration.vue.js.map +1 -1
  192. package/dist/vue2/components/image_viewer/image_viewer.vue.cjs +1 -4
  193. package/dist/vue2/components/image_viewer/image_viewer.vue.cjs.map +1 -1
  194. package/dist/vue2/components/image_viewer/image_viewer.vue.js +1 -4
  195. package/dist/vue2/components/image_viewer/image_viewer.vue.js.map +1 -1
  196. package/dist/vue2/components/input/input.vue.cjs +1 -4
  197. package/dist/vue2/components/input/input.vue.cjs.map +1 -1
  198. package/dist/vue2/components/input/input.vue.js +1 -4
  199. package/dist/vue2/components/input/input.vue.js.map +1 -1
  200. package/dist/vue2/components/input_group/input_group.vue.cjs +1 -4
  201. package/dist/vue2/components/input_group/input_group.vue.cjs.map +1 -1
  202. package/dist/vue2/components/input_group/input_group.vue.js +1 -4
  203. package/dist/vue2/components/input_group/input_group.vue.js.map +1 -1
  204. package/dist/vue2/components/item_layout/item_layout.vue.cjs +1 -4
  205. package/dist/vue2/components/item_layout/item_layout.vue.cjs.map +1 -1
  206. package/dist/vue2/components/item_layout/item_layout.vue.js +1 -4
  207. package/dist/vue2/components/item_layout/item_layout.vue.js.map +1 -1
  208. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.cjs +1 -4
  209. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.cjs.map +1 -1
  210. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.js +1 -4
  211. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.js.map +1 -1
  212. package/dist/vue2/components/lazy_show/lazy_show.vue.cjs +1 -4
  213. package/dist/vue2/components/lazy_show/lazy_show.vue.cjs.map +1 -1
  214. package/dist/vue2/components/lazy_show/lazy_show.vue.js +1 -4
  215. package/dist/vue2/components/lazy_show/lazy_show.vue.js.map +1 -1
  216. package/dist/vue2/components/link/link.vue.cjs +1 -4
  217. package/dist/vue2/components/link/link.vue.cjs.map +1 -1
  218. package/dist/vue2/components/link/link.vue.js +1 -4
  219. package/dist/vue2/components/link/link.vue.js.map +1 -1
  220. package/dist/vue2/components/list_item/list_item.vue.cjs +1 -4
  221. package/dist/vue2/components/list_item/list_item.vue.cjs.map +1 -1
  222. package/dist/vue2/components/list_item/list_item.vue.js +1 -4
  223. package/dist/vue2/components/list_item/list_item.vue.js.map +1 -1
  224. package/dist/vue2/components/list_item_group/list_item_group.vue.cjs +1 -4
  225. package/dist/vue2/components/list_item_group/list_item_group.vue.cjs.map +1 -1
  226. package/dist/vue2/components/list_item_group/list_item_group.vue.js +1 -4
  227. package/dist/vue2/components/list_item_group/list_item_group.vue.js.map +1 -1
  228. package/dist/vue2/components/modal/modal.vue.cjs +1 -4
  229. package/dist/vue2/components/modal/modal.vue.cjs.map +1 -1
  230. package/dist/vue2/components/modal/modal.vue.js +1 -4
  231. package/dist/vue2/components/modal/modal.vue.js.map +1 -1
  232. package/dist/vue2/components/notice/notice.vue.cjs +1 -4
  233. package/dist/vue2/components/notice/notice.vue.cjs.map +1 -1
  234. package/dist/vue2/components/notice/notice.vue.js +1 -4
  235. package/dist/vue2/components/notice/notice.vue.js.map +1 -1
  236. package/dist/vue2/components/notice/notice_action.vue.cjs +1 -4
  237. package/dist/vue2/components/notice/notice_action.vue.cjs.map +1 -1
  238. package/dist/vue2/components/notice/notice_action.vue.js +1 -4
  239. package/dist/vue2/components/notice/notice_action.vue.js.map +1 -1
  240. package/dist/vue2/components/notice/notice_content.vue.cjs +1 -4
  241. package/dist/vue2/components/notice/notice_content.vue.cjs.map +1 -1
  242. package/dist/vue2/components/notice/notice_content.vue.js +1 -4
  243. package/dist/vue2/components/notice/notice_content.vue.js.map +1 -1
  244. package/dist/vue2/components/notice/notice_icon.vue.cjs +1 -4
  245. package/dist/vue2/components/notice/notice_icon.vue.cjs.map +1 -1
  246. package/dist/vue2/components/notice/notice_icon.vue.js +1 -4
  247. package/dist/vue2/components/notice/notice_icon.vue.js.map +1 -1
  248. package/dist/vue2/components/pagination/pagination.vue.cjs +1 -4
  249. package/dist/vue2/components/pagination/pagination.vue.cjs.map +1 -1
  250. package/dist/vue2/components/pagination/pagination.vue.js +1 -4
  251. package/dist/vue2/components/pagination/pagination.vue.js.map +1 -1
  252. package/dist/vue2/components/popover/popover.vue.cjs +1 -4
  253. package/dist/vue2/components/popover/popover.vue.cjs.map +1 -1
  254. package/dist/vue2/components/popover/popover.vue.js +1 -4
  255. package/dist/vue2/components/popover/popover.vue.js.map +1 -1
  256. package/dist/vue2/components/popover/popover_header_footer.vue.cjs +1 -4
  257. package/dist/vue2/components/popover/popover_header_footer.vue.cjs.map +1 -1
  258. package/dist/vue2/components/popover/popover_header_footer.vue.js +1 -4
  259. package/dist/vue2/components/popover/popover_header_footer.vue.js.map +1 -1
  260. package/dist/vue2/components/presence/presence.vue.cjs +1 -4
  261. package/dist/vue2/components/presence/presence.vue.cjs.map +1 -1
  262. package/dist/vue2/components/presence/presence.vue.js +1 -4
  263. package/dist/vue2/components/presence/presence.vue.js.map +1 -1
  264. package/dist/vue2/components/radio/radio.vue.cjs +1 -4
  265. package/dist/vue2/components/radio/radio.vue.cjs.map +1 -1
  266. package/dist/vue2/components/radio/radio.vue.js +1 -4
  267. package/dist/vue2/components/radio/radio.vue.js.map +1 -1
  268. package/dist/vue2/components/radio_group/radio_group.vue.cjs +1 -4
  269. package/dist/vue2/components/radio_group/radio_group.vue.cjs.map +1 -1
  270. package/dist/vue2/components/radio_group/radio_group.vue.js +1 -4
  271. package/dist/vue2/components/radio_group/radio_group.vue.js.map +1 -1
  272. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs +1 -4
  273. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs.map +1 -1
  274. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js +1 -4
  275. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js.map +1 -1
  276. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs +1 -4
  277. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs.map +1 -1
  278. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js +1 -4
  279. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js.map +1 -1
  280. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs +1 -4
  281. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs.map +1 -1
  282. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js +1 -4
  283. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js.map +1 -1
  284. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs +1 -4
  285. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs.map +1 -1
  286. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js +1 -4
  287. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js.map +1 -1
  288. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs +1 -4
  289. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs.map +1 -1
  290. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js +1 -4
  291. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js.map +1 -1
  292. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs +1 -4
  293. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs.map +1 -1
  294. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js +1 -4
  295. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js.map +1 -1
  296. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs +1 -4
  297. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs.map +1 -1
  298. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js +1 -4
  299. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js.map +1 -1
  300. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs +1 -4
  301. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs.map +1 -1
  302. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js +1 -4
  303. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js.map +1 -1
  304. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs +1 -4
  305. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs.map +1 -1
  306. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js +1 -4
  307. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js.map +1 -1
  308. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.cjs +1 -4
  309. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -1
  310. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.js +1 -4
  311. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.js.map +1 -1
  312. package/dist/vue2/components/root_layout/root_layout.vue.cjs +1 -4
  313. package/dist/vue2/components/root_layout/root_layout.vue.cjs.map +1 -1
  314. package/dist/vue2/components/root_layout/root_layout.vue.js +1 -4
  315. package/dist/vue2/components/root_layout/root_layout.vue.js.map +1 -1
  316. package/dist/vue2/components/select_menu/select_menu.vue.cjs +1 -4
  317. package/dist/vue2/components/select_menu/select_menu.vue.cjs.map +1 -1
  318. package/dist/vue2/components/select_menu/select_menu.vue.js +1 -4
  319. package/dist/vue2/components/select_menu/select_menu.vue.js.map +1 -1
  320. package/dist/vue2/components/skeleton/skeleton-list-item.vue.cjs +1 -4
  321. package/dist/vue2/components/skeleton/skeleton-list-item.vue.cjs.map +1 -1
  322. package/dist/vue2/components/skeleton/skeleton-list-item.vue.js +1 -4
  323. package/dist/vue2/components/skeleton/skeleton-list-item.vue.js.map +1 -1
  324. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.cjs +1 -4
  325. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.cjs.map +1 -1
  326. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.js +1 -4
  327. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.js.map +1 -1
  328. package/dist/vue2/components/skeleton/skeleton-shape.vue.cjs +1 -4
  329. package/dist/vue2/components/skeleton/skeleton-shape.vue.cjs.map +1 -1
  330. package/dist/vue2/components/skeleton/skeleton-shape.vue.js +1 -4
  331. package/dist/vue2/components/skeleton/skeleton-shape.vue.js.map +1 -1
  332. package/dist/vue2/components/skeleton/skeleton-text.vue.cjs +1 -4
  333. package/dist/vue2/components/skeleton/skeleton-text.vue.cjs.map +1 -1
  334. package/dist/vue2/components/skeleton/skeleton-text.vue.js +1 -4
  335. package/dist/vue2/components/skeleton/skeleton-text.vue.js.map +1 -1
  336. package/dist/vue2/components/skeleton/skeleton.vue.cjs +1 -4
  337. package/dist/vue2/components/skeleton/skeleton.vue.cjs.map +1 -1
  338. package/dist/vue2/components/skeleton/skeleton.vue.js +1 -4
  339. package/dist/vue2/components/skeleton/skeleton.vue.js.map +1 -1
  340. package/dist/vue2/components/split_button/split_button-alpha.vue.cjs +1 -4
  341. package/dist/vue2/components/split_button/split_button-alpha.vue.cjs.map +1 -1
  342. package/dist/vue2/components/split_button/split_button-alpha.vue.js +1 -4
  343. package/dist/vue2/components/split_button/split_button-alpha.vue.js.map +1 -1
  344. package/dist/vue2/components/split_button/split_button-omega.vue.cjs +1 -4
  345. package/dist/vue2/components/split_button/split_button-omega.vue.cjs.map +1 -1
  346. package/dist/vue2/components/split_button/split_button-omega.vue.js +1 -4
  347. package/dist/vue2/components/split_button/split_button-omega.vue.js.map +1 -1
  348. package/dist/vue2/components/split_button/split_button.vue.cjs +1 -4
  349. package/dist/vue2/components/split_button/split_button.vue.cjs.map +1 -1
  350. package/dist/vue2/components/split_button/split_button.vue.js +1 -4
  351. package/dist/vue2/components/split_button/split_button.vue.js.map +1 -1
  352. package/dist/vue2/components/stack/stack.vue.cjs +1 -4
  353. package/dist/vue2/components/stack/stack.vue.cjs.map +1 -1
  354. package/dist/vue2/components/stack/stack.vue.js +1 -4
  355. package/dist/vue2/components/stack/stack.vue.js.map +1 -1
  356. package/dist/vue2/components/tab/tab.vue.cjs +1 -4
  357. package/dist/vue2/components/tab/tab.vue.cjs.map +1 -1
  358. package/dist/vue2/components/tab/tab.vue.js +1 -4
  359. package/dist/vue2/components/tab/tab.vue.js.map +1 -1
  360. package/dist/vue2/components/tab/tab_group.vue.cjs +1 -4
  361. package/dist/vue2/components/tab/tab_group.vue.cjs.map +1 -1
  362. package/dist/vue2/components/tab/tab_group.vue.js +1 -4
  363. package/dist/vue2/components/tab/tab_group.vue.js.map +1 -1
  364. package/dist/vue2/components/tab/tab_panel.vue.cjs +1 -4
  365. package/dist/vue2/components/tab/tab_panel.vue.cjs.map +1 -1
  366. package/dist/vue2/components/tab/tab_panel.vue.js +1 -4
  367. package/dist/vue2/components/tab/tab_panel.vue.js.map +1 -1
  368. package/dist/vue2/components/toast/toast.vue.cjs +1 -4
  369. package/dist/vue2/components/toast/toast.vue.cjs.map +1 -1
  370. package/dist/vue2/components/toast/toast.vue.js +1 -4
  371. package/dist/vue2/components/toast/toast.vue.js.map +1 -1
  372. package/dist/vue2/components/toggle/toggle.vue.cjs +1 -4
  373. package/dist/vue2/components/toggle/toggle.vue.cjs.map +1 -1
  374. package/dist/vue2/components/toggle/toggle.vue.js +1 -4
  375. package/dist/vue2/components/toggle/toggle.vue.js.map +1 -1
  376. package/dist/vue2/components/tooltip/tooltip.vue.cjs +1 -4
  377. package/dist/vue2/components/tooltip/tooltip.vue.cjs.map +1 -1
  378. package/dist/vue2/components/tooltip/tooltip.vue.js +1 -4
  379. package/dist/vue2/components/tooltip/tooltip.vue.js.map +1 -1
  380. package/dist/vue2/components/validation_messages/validation_messages.vue.cjs +1 -4
  381. package/dist/vue2/components/validation_messages/validation_messages.vue.cjs.map +1 -1
  382. package/dist/vue2/components/validation_messages/validation_messages.vue.js +1 -4
  383. package/dist/vue2/components/validation_messages/validation_messages.vue.js.map +1 -1
  384. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.cjs +1 -5
  385. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -1
  386. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.js +1 -5
  387. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -1
  388. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +7 -11
  389. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -1
  390. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +7 -11
  391. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -1
  392. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.cjs +6 -10
  393. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -1
  394. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.js +6 -10
  395. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -1
  396. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.cjs +3 -7
  397. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -1
  398. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.js +3 -7
  399. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -1
  400. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +9 -10
  401. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -1
  402. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +9 -10
  403. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -1
  404. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs +1 -4
  405. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs.map +1 -1
  406. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js +1 -4
  407. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js.map +1 -1
  408. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs +4 -8
  409. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs.map +1 -1
  410. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js +4 -8
  411. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js.map +1 -1
  412. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs +2 -6
  413. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs.map +1 -1
  414. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js +2 -6
  415. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js.map +1 -1
  416. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs +2 -6
  417. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs.map +1 -1
  418. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js +2 -6
  419. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js.map +1 -1
  420. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs +22 -26
  421. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  422. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js +22 -26
  423. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  424. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +8 -9
  425. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -1
  426. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.js +8 -9
  427. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -1
  428. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs +1 -5
  429. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs.map +1 -1
  430. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js +1 -5
  431. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js.map +1 -1
  432. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs +3 -3
  433. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs.map +1 -1
  434. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js +3 -3
  435. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js.map +1 -1
  436. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +10 -14
  437. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +1 -1
  438. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +10 -14
  439. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +1 -1
  440. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs +2 -2
  441. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs.map +1 -1
  442. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.js +2 -2
  443. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.js.map +1 -1
  444. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs +4 -8
  445. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs.map +1 -1
  446. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js +4 -8
  447. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js.map +1 -1
  448. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.cjs +13 -17
  449. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
  450. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.js +13 -17
  451. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
  452. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.cjs +2 -6
  453. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.cjs.map +1 -1
  454. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.js +2 -6
  455. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.js.map +1 -1
  456. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.cjs +3 -7
  457. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.cjs.map +1 -1
  458. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.js +3 -7
  459. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.js.map +1 -1
  460. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.cjs +3 -7
  461. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -1
  462. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.js +3 -7
  463. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -1
  464. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.cjs +4 -8
  465. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.cjs.map +1 -1
  466. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.js +4 -8
  467. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.js.map +1 -1
  468. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.cjs +3 -3
  469. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.cjs.map +1 -1
  470. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.js +3 -3
  471. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.js.map +1 -1
  472. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs +12 -16
  473. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs.map +1 -1
  474. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js +12 -16
  475. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js.map +1 -1
  476. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.cjs +2 -5
  477. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -1
  478. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.js +2 -5
  479. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -1
  480. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.cjs +28 -32
  481. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.cjs.map +1 -1
  482. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.js +28 -32
  483. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.js.map +1 -1
  484. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +2 -5
  485. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -1
  486. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +2 -5
  487. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -1
  488. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.cjs +1 -4
  489. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.cjs.map +1 -1
  490. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.js +1 -4
  491. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.js.map +1 -1
  492. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.cjs +2 -6
  493. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.cjs.map +1 -1
  494. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.js +2 -6
  495. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.js.map +1 -1
  496. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.cjs +2 -6
  497. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -1
  498. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.js +2 -6
  499. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -1
  500. package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  501. package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  502. package/dist/vue2/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +4 -4
  503. package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +2 -2
  504. package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +6 -6
  505. package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  506. package/dist/vue3/component-documentation.json +1 -1
  507. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.cjs +0 -1
  508. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -1
  509. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.js +0 -1
  510. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -1
  511. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +7 -8
  512. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -1
  513. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +7 -8
  514. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -1
  515. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.cjs +7 -8
  516. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -1
  517. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.js +7 -8
  518. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -1
  519. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.cjs +3 -4
  520. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -1
  521. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.js +3 -4
  522. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -1
  523. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +13 -11
  524. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -1
  525. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +13 -11
  526. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -1
  527. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs +4 -5
  528. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs.map +1 -1
  529. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js +4 -5
  530. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js.map +1 -1
  531. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs +5 -6
  532. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs.map +1 -1
  533. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js +5 -6
  534. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js.map +1 -1
  535. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs +3 -4
  536. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs.map +1 -1
  537. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js +3 -4
  538. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js.map +1 -1
  539. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs +22 -23
  540. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  541. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js +22 -23
  542. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  543. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +8 -6
  544. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -1
  545. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.js +8 -6
  546. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -1
  547. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs +7 -8
  548. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs.map +1 -1
  549. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js +7 -8
  550. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js.map +1 -1
  551. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs +3 -3
  552. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs.map +1 -1
  553. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js +3 -3
  554. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js.map +1 -1
  555. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +28 -29
  556. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +1 -1
  557. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +28 -29
  558. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +1 -1
  559. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs +2 -2
  560. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs.map +1 -1
  561. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.js +2 -2
  562. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.js.map +1 -1
  563. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs +4 -5
  564. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs.map +1 -1
  565. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js +4 -5
  566. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js.map +1 -1
  567. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.cjs +21 -22
  568. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
  569. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.js +21 -22
  570. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
  571. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.cjs +2 -3
  572. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.cjs.map +1 -1
  573. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.js +2 -3
  574. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.js.map +1 -1
  575. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.cjs +4 -5
  576. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.cjs.map +1 -1
  577. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.js +4 -5
  578. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.js.map +1 -1
  579. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.cjs +10 -11
  580. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -1
  581. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.js +10 -11
  582. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -1
  583. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.cjs +23 -24
  584. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.cjs.map +1 -1
  585. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.js +23 -24
  586. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.js.map +1 -1
  587. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.cjs +3 -3
  588. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.cjs.map +1 -1
  589. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.js +3 -3
  590. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.js.map +1 -1
  591. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs +26 -27
  592. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs.map +1 -1
  593. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js +26 -27
  594. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js.map +1 -1
  595. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.cjs +7 -7
  596. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -1
  597. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.js +7 -7
  598. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -1
  599. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.cjs +41 -43
  600. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.cjs.map +1 -1
  601. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.js +42 -44
  602. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.js.map +1 -1
  603. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +1 -1
  604. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -1
  605. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +1 -1
  606. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -1
  607. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.cjs +3 -4
  608. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.cjs.map +1 -1
  609. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.js +3 -4
  610. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.js.map +1 -1
  611. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.cjs +4 -5
  612. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -1
  613. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.js +4 -5
  614. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -1
  615. package/dist/vue3/types/recipes/chips/grouped_chip/grouped_chip.vue.d.ts.map +1 -1
  616. package/dist/vue3/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  617. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  618. package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +4 -4
  619. package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +2 -2
  620. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +6 -6
  621. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  622. package/package.json +5 -7
  623. package/dist/vue2/style.css +0 -1424
  624. package/dist/vue3/style.css +0 -1427
@@ -19,10 +19,7 @@ var _sfc_staticRenderFns = [];
19
19
  var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.default(
20
20
  _sfc_main,
21
21
  _sfc_render,
22
- _sfc_staticRenderFns,
23
- false,
24
- null,
25
- null
22
+ _sfc_staticRenderFns
26
23
  );
27
24
  const EmojiComponent = __component__.exports;
28
25
  exports.default = EmojiComponent;
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiComponent.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/emoji/EmojiComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block d-va-bottom d-lh0\"\n >\n <dt-emoji\n size=\"500\"\n :code=\"node.attrs.code\"\n />\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nimport { DtEmoji } from '@/components/emoji';\n\nexport default {\n name: 'EmojiComponent',\n components: {\n NodeViewWrapper,\n DtEmoji,\n },\n\n props: nodeViewProps,\n};\n</script>\n"],"names":["NodeViewWrapper","DtEmoji","nodeViewProps"],"mappings":";;;;;AAiBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,iBAAAA,KAAA;AAAA,IACA,SAAAC,MAAA;AAAA,EACA;AAAA,EAEA,OAAAC,KAAA;AACA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"EmojiComponent.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/emoji/EmojiComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block d-va-bottom d-lh0\"\n >\n <dt-emoji\n size=\"500\"\n :code=\"node.attrs.code\"\n />\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nimport { DtEmoji } from '@/components/emoji';\n\nexport default {\n name: 'EmojiComponent',\n components: {\n NodeViewWrapper,\n DtEmoji,\n },\n\n props: nodeViewProps,\n};\n</script>\n"],"names":["NodeViewWrapper","DtEmoji","nodeViewProps"],"mappings":";;;;;AAiBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,iBAAAA,KAAA;AAAA,IACA,SAAAC,MAAA;AAAA,EACA;AAAA,EAEA,OAAAC,KAAA;AACA;;;;;;;;;;;;;"}
@@ -17,10 +17,7 @@ var _sfc_staticRenderFns = [];
17
17
  var __component__ = /* @__PURE__ */ normalizeComponent(
18
18
  _sfc_main,
19
19
  _sfc_render,
20
- _sfc_staticRenderFns,
21
- false,
22
- null,
23
- null
20
+ _sfc_staticRenderFns
24
21
  );
25
22
  const EmojiComponent = __component__.exports;
26
23
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiComponent.vue.js","sources":["../../../../../components/rich_text_editor/extensions/emoji/EmojiComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block d-va-bottom d-lh0\"\n >\n <dt-emoji\n size=\"500\"\n :code=\"node.attrs.code\"\n />\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nimport { DtEmoji } from '@/components/emoji';\n\nexport default {\n name: 'EmojiComponent',\n components: {\n NodeViewWrapper,\n DtEmoji,\n },\n\n props: nodeViewProps,\n};\n</script>\n"],"names":[],"mappings":";;;AAiBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AACA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"EmojiComponent.vue.js","sources":["../../../../../components/rich_text_editor/extensions/emoji/EmojiComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block d-va-bottom d-lh0\"\n >\n <dt-emoji\n size=\"500\"\n :code=\"node.attrs.code\"\n />\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nimport { DtEmoji } from '@/components/emoji';\n\nexport default {\n name: 'EmojiComponent',\n components: {\n NodeViewWrapper,\n DtEmoji,\n },\n\n props: nodeViewProps,\n};\n</script>\n"],"names":[],"mappings":";;;AAiBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AACA;;;;;;;;;;;;"}
@@ -24,10 +24,7 @@ var _sfc_staticRenderFns = [];
24
24
  var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.default(
25
25
  _sfc_main,
26
26
  _sfc_render,
27
- _sfc_staticRenderFns,
28
- false,
29
- null,
30
- null
27
+ _sfc_staticRenderFns
31
28
  );
32
29
  const EmojiSuggestion = __component__.exports;
33
30
  exports.default = EmojiSuggestion;
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiSuggestion.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue"],"sourcesContent":["<template>\n <dt-stack\n direction=\"row\"\n gap=\"400\"\n >\n <dt-emoji\n size=\"200\"\n :code=\"item.code\"\n />\n {{ item.code }}\n </dt-stack>\n</template>\n\n<script>\nimport { DtEmoji } from '@/components/emoji';\nimport { DtStack } from '@/components/stack';\n\nexport default {\n name: 'EmojiSuggestion',\n components: {\n DtEmoji,\n DtStack,\n },\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n};\n</script>\n"],"names":["DtEmoji","DtStack"],"mappings":";;;;;AAiBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,SAAAA,MAAA;AAAA,IACA,SAAAC,MAAA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"EmojiSuggestion.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue"],"sourcesContent":["<template>\n <dt-stack\n direction=\"row\"\n gap=\"400\"\n >\n <dt-emoji\n size=\"200\"\n :code=\"item.code\"\n />\n {{ item.code }}\n </dt-stack>\n</template>\n\n<script>\nimport { DtEmoji } from '@/components/emoji';\nimport { DtStack } from '@/components/stack';\n\nexport default {\n name: 'EmojiSuggestion',\n components: {\n DtEmoji,\n DtStack,\n },\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n};\n</script>\n"],"names":["DtEmoji","DtStack"],"mappings":";;;;;AAiBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,SAAAA,MAAA;AAAA,IACA,SAAAC,MAAA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;"}
@@ -22,10 +22,7 @@ var _sfc_staticRenderFns = [];
22
22
  var __component__ = /* @__PURE__ */ normalizeComponent(
23
23
  _sfc_main,
24
24
  _sfc_render,
25
- _sfc_staticRenderFns,
26
- false,
27
- null,
28
- null
25
+ _sfc_staticRenderFns
29
26
  );
30
27
  const EmojiSuggestion = __component__.exports;
31
28
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiSuggestion.vue.js","sources":["../../../../../components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue"],"sourcesContent":["<template>\n <dt-stack\n direction=\"row\"\n gap=\"400\"\n >\n <dt-emoji\n size=\"200\"\n :code=\"item.code\"\n />\n {{ item.code }}\n </dt-stack>\n</template>\n\n<script>\nimport { DtEmoji } from '@/components/emoji';\nimport { DtStack } from '@/components/stack';\n\nexport default {\n name: 'EmojiSuggestion',\n components: {\n DtEmoji,\n DtStack,\n },\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;AAiBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"EmojiSuggestion.vue.js","sources":["../../../../../components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue"],"sourcesContent":["<template>\n <dt-stack\n direction=\"row\"\n gap=\"400\"\n >\n <dt-emoji\n size=\"200\"\n :code=\"item.code\"\n />\n {{ item.code }}\n </dt-stack>\n</template>\n\n<script>\nimport { DtEmoji } from '@/components/emoji';\nimport { DtStack } from '@/components/stack';\n\nexport default {\n name: 'EmojiSuggestion',\n components: {\n DtEmoji,\n DtStack,\n },\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;AAiBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;"}
@@ -24,10 +24,7 @@ var _sfc_staticRenderFns = [];
24
24
  var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.default(
25
25
  _sfc_main,
26
26
  _sfc_render,
27
- _sfc_staticRenderFns,
28
- false,
29
- null,
30
- null
27
+ _sfc_staticRenderFns
31
28
  );
32
29
  const MentionComponent = __component__.exports;
33
30
  exports.default = MentionComponent;
@@ -1 +1 @@
1
- {"version":3,"file":"MentionComponent.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/mentions/MentionComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block\"\n >\n <dt-link\n kind=\"mention\"\n >\n {{ text }}\n </dt-link>\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nimport { DtLink } from '@/components/link';\n\nexport default {\n name: 'MentionComponent',\n components: {\n NodeViewWrapper,\n DtLink,\n },\n\n props: nodeViewProps,\n\n computed: {\n text () {\n return '@' + this.$props.node.attrs.name;\n },\n },\n};\n</script>\n"],"names":["NodeViewWrapper","DtLink","nodeViewProps"],"mappings":";;;;;AAkBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,iBAAAA,KAAA;AAAA,IACA,QAAAC,KAAA;AAAA,EACA;AAAA,EAEA,OAAAC,KAAA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,MAAA,KAAA,OAAA,KAAA,MAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"MentionComponent.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/mentions/MentionComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block\"\n >\n <dt-link\n kind=\"mention\"\n >\n {{ text }}\n </dt-link>\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nimport { DtLink } from '@/components/link';\n\nexport default {\n name: 'MentionComponent',\n components: {\n NodeViewWrapper,\n DtLink,\n },\n\n props: nodeViewProps,\n\n computed: {\n text () {\n return '@' + this.$props.node.attrs.name;\n },\n },\n};\n</script>\n"],"names":["NodeViewWrapper","DtLink","nodeViewProps"],"mappings":";;;;;AAkBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,iBAAAA,KAAA;AAAA,IACA,QAAAC,KAAA;AAAA,EACA;AAAA,EAEA,OAAAC,KAAA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,MAAA,KAAA,OAAA,KAAA,MAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;"}
@@ -22,10 +22,7 @@ var _sfc_staticRenderFns = [];
22
22
  var __component__ = /* @__PURE__ */ normalizeComponent(
23
23
  _sfc_main,
24
24
  _sfc_render,
25
- _sfc_staticRenderFns,
26
- false,
27
- null,
28
- null
25
+ _sfc_staticRenderFns
29
26
  );
30
27
  const MentionComponent = __component__.exports;
31
28
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"MentionComponent.vue.js","sources":["../../../../../components/rich_text_editor/extensions/mentions/MentionComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block\"\n >\n <dt-link\n kind=\"mention\"\n >\n {{ text }}\n </dt-link>\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nimport { DtLink } from '@/components/link';\n\nexport default {\n name: 'MentionComponent',\n components: {\n NodeViewWrapper,\n DtLink,\n },\n\n props: nodeViewProps,\n\n computed: {\n text () {\n return '@' + this.$props.node.attrs.name;\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;AAkBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,MAAA,KAAA,OAAA,KAAA,MAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"MentionComponent.vue.js","sources":["../../../../../components/rich_text_editor/extensions/mentions/MentionComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block\"\n >\n <dt-link\n kind=\"mention\"\n >\n {{ text }}\n </dt-link>\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nimport { DtLink } from '@/components/link';\n\nexport default {\n name: 'MentionComponent',\n components: {\n NodeViewWrapper,\n DtLink,\n },\n\n props: nodeViewProps,\n\n computed: {\n text () {\n return '@' + this.$props.node.attrs.name;\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;AAkBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,MAAA,KAAA,OAAA,KAAA,MAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;"}
@@ -32,10 +32,7 @@ var _sfc_staticRenderFns = [];
32
32
  var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.default(
33
33
  _sfc_main,
34
34
  _sfc_render,
35
- _sfc_staticRenderFns,
36
- false,
37
- null,
38
- null
35
+ _sfc_staticRenderFns
39
36
  );
40
37
  const MentionSuggestion = __component__.exports;
41
38
  exports.default = MentionSuggestion;
@@ -1 +1 @@
1
- {"version":3,"file":"MentionSuggestion.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/mentions/MentionSuggestion.vue"],"sourcesContent":["<template>\n <dt-stack\n direction=\"row\"\n gap=\"400\"\n >\n <dt-avatar\n :full-name=\"name\"\n :image-src=\"avatarSrc\"\n :image-alt=\"name\"\n size=\"xs\"\n />\n <span class=\"d-mention-suggestion__name\">\n {{ name }}\n </span>\n </dt-stack>\n</template>\n\n<script>\nimport { DtAvatar } from '@/components/avatar';\nimport { DtStack } from '@/components/stack';\n\nexport default {\n name: 'MentionSuggestion',\n components: {\n DtAvatar,\n DtStack,\n },\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n\n computed: {\n name () {\n return this.item.name;\n },\n\n avatarSrc () {\n return this.item.avatarSrc;\n },\n },\n};\n</script>\n"],"names":["DtAvatar","DtStack"],"mappings":";;;;;AAqBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,UAAAA,OAAA;AAAA,IACA,SAAAC,MAAA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,YAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"MentionSuggestion.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/mentions/MentionSuggestion.vue"],"sourcesContent":["<template>\n <dt-stack\n direction=\"row\"\n gap=\"400\"\n >\n <dt-avatar\n :full-name=\"name\"\n :image-src=\"avatarSrc\"\n :image-alt=\"name\"\n size=\"xs\"\n />\n <span class=\"d-mention-suggestion__name\">\n {{ name }}\n </span>\n </dt-stack>\n</template>\n\n<script>\nimport { DtAvatar } from '@/components/avatar';\nimport { DtStack } from '@/components/stack';\n\nexport default {\n name: 'MentionSuggestion',\n components: {\n DtAvatar,\n DtStack,\n },\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n\n computed: {\n name () {\n return this.item.name;\n },\n\n avatarSrc () {\n return this.item.avatarSrc;\n },\n },\n};\n</script>\n"],"names":["DtAvatar","DtStack"],"mappings":";;;;;AAqBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,UAAAA,OAAA;AAAA,IACA,SAAAC,MAAA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,YAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;"}
@@ -30,10 +30,7 @@ var _sfc_staticRenderFns = [];
30
30
  var __component__ = /* @__PURE__ */ normalizeComponent(
31
31
  _sfc_main,
32
32
  _sfc_render,
33
- _sfc_staticRenderFns,
34
- false,
35
- null,
36
- null
33
+ _sfc_staticRenderFns
37
34
  );
38
35
  const MentionSuggestion = __component__.exports;
39
36
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"MentionSuggestion.vue.js","sources":["../../../../../components/rich_text_editor/extensions/mentions/MentionSuggestion.vue"],"sourcesContent":["<template>\n <dt-stack\n direction=\"row\"\n gap=\"400\"\n >\n <dt-avatar\n :full-name=\"name\"\n :image-src=\"avatarSrc\"\n :image-alt=\"name\"\n size=\"xs\"\n />\n <span class=\"d-mention-suggestion__name\">\n {{ name }}\n </span>\n </dt-stack>\n</template>\n\n<script>\nimport { DtAvatar } from '@/components/avatar';\nimport { DtStack } from '@/components/stack';\n\nexport default {\n name: 'MentionSuggestion',\n components: {\n DtAvatar,\n DtStack,\n },\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n\n computed: {\n name () {\n return this.item.name;\n },\n\n avatarSrc () {\n return this.item.avatarSrc;\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;AAqBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,YAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"MentionSuggestion.vue.js","sources":["../../../../../components/rich_text_editor/extensions/mentions/MentionSuggestion.vue"],"sourcesContent":["<template>\n <dt-stack\n direction=\"row\"\n gap=\"400\"\n >\n <dt-avatar\n :full-name=\"name\"\n :image-src=\"avatarSrc\"\n :image-alt=\"name\"\n size=\"xs\"\n />\n <span class=\"d-mention-suggestion__name\">\n {{ name }}\n </span>\n </dt-stack>\n</template>\n\n<script>\nimport { DtAvatar } from '@/components/avatar';\nimport { DtStack } from '@/components/stack';\n\nexport default {\n name: 'MentionSuggestion',\n components: {\n DtAvatar,\n DtStack,\n },\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n\n computed: {\n name () {\n return this.item.name;\n },\n\n avatarSrc () {\n return this.item.avatarSrc;\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;AAqBA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,YAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;"}
@@ -26,10 +26,7 @@ var _sfc_staticRenderFns = [];
26
26
  var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.default(
27
27
  _sfc_main,
28
28
  _sfc_render,
29
- _sfc_staticRenderFns,
30
- false,
31
- null,
32
- null
29
+ _sfc_staticRenderFns
33
30
  );
34
31
  const SlashCommandComponent = __component__.exports;
35
32
  exports.default = SlashCommandComponent;
@@ -1 +1 @@
1
- {"version":3,"file":"SlashCommandComponent.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block\"\n >\n {{ text }}\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nexport default {\n name: 'SlashCommandsComponent',\n components: {\n NodeViewWrapper,\n },\n\n props: nodeViewProps,\n\n emits: ['selected-command'],\n\n computed: {\n text () {\n return '/' + this.$props.node.attrs.command;\n },\n },\n\n created () {\n this.$parent.$emit('selected-command', this.$props.node.attrs.command);\n },\n};\n</script>\n"],"names":["NodeViewWrapper","nodeViewProps"],"mappings":";;;;AAYA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,iBAAAA,KAAA;AAAA,EACA;AAAA,EAEA,OAAAC,KAAA;AAAA,EAEA,OAAA,CAAA,kBAAA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,MAAA,KAAA,OAAA,KAAA,MAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,SAAA,QAAA,MAAA,oBAAA,KAAA,OAAA,KAAA,MAAA,OAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SlashCommandComponent.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block\"\n >\n {{ text }}\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nexport default {\n name: 'SlashCommandsComponent',\n components: {\n NodeViewWrapper,\n },\n\n props: nodeViewProps,\n\n emits: ['selected-command'],\n\n computed: {\n text () {\n return '/' + this.$props.node.attrs.command;\n },\n },\n\n created () {\n this.$parent.$emit('selected-command', this.$props.node.attrs.command);\n },\n};\n</script>\n"],"names":["NodeViewWrapper","nodeViewProps"],"mappings":";;;;AAYA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,iBAAAA,KAAA;AAAA,EACA;AAAA,EAEA,OAAAC,KAAA;AAAA,EAEA,OAAA,CAAA,kBAAA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,MAAA,KAAA,OAAA,KAAA,MAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,SAAA,QAAA,MAAA,oBAAA,KAAA,OAAA,KAAA,MAAA,OAAA;AAAA,EACA;AACA;;;;;;;;;;;;;"}
@@ -24,10 +24,7 @@ var _sfc_staticRenderFns = [];
24
24
  var __component__ = /* @__PURE__ */ normalizeComponent(
25
25
  _sfc_main,
26
26
  _sfc_render,
27
- _sfc_staticRenderFns,
28
- false,
29
- null,
30
- null
27
+ _sfc_staticRenderFns
31
28
  );
32
29
  const SlashCommandComponent = __component__.exports;
33
30
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"SlashCommandComponent.vue.js","sources":["../../../../../components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block\"\n >\n {{ text }}\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nexport default {\n name: 'SlashCommandsComponent',\n components: {\n NodeViewWrapper,\n },\n\n props: nodeViewProps,\n\n emits: ['selected-command'],\n\n computed: {\n text () {\n return '/' + this.$props.node.attrs.command;\n },\n },\n\n created () {\n this.$parent.$emit('selected-command', this.$props.node.attrs.command);\n },\n};\n</script>\n"],"names":[],"mappings":";;AAYA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,EAEA,OAAA,CAAA,kBAAA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,MAAA,KAAA,OAAA,KAAA,MAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,SAAA,QAAA,MAAA,oBAAA,KAAA,OAAA,KAAA,MAAA,OAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SlashCommandComponent.vue.js","sources":["../../../../../components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <node-view-wrapper\n class=\"d-d-inline-block\"\n >\n {{ text }}\n </node-view-wrapper>\n</template>\n\n<script>\nimport { nodeViewProps, NodeViewWrapper } from '@tiptap/vue-2';\n\nexport default {\n name: 'SlashCommandsComponent',\n components: {\n NodeViewWrapper,\n },\n\n props: nodeViewProps,\n\n emits: ['selected-command'],\n\n computed: {\n text () {\n return '/' + this.$props.node.attrs.command;\n },\n },\n\n created () {\n this.$parent.$emit('selected-command', this.$props.node.attrs.command);\n },\n};\n</script>\n"],"names":[],"mappings":";;AAYA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,EAEA,OAAA,CAAA,kBAAA;AAAA,EAEA,UAAA;AAAA,IACA,OAAA;AACA,aAAA,MAAA,KAAA,OAAA,KAAA,MAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,SAAA,QAAA,MAAA,oBAAA,KAAA,OAAA,KAAA,MAAA,OAAA;AAAA,EACA;AACA;;;;;;;;;;;;"}
@@ -29,10 +29,7 @@ var _sfc_staticRenderFns = [];
29
29
  var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.default(
30
30
  _sfc_main,
31
31
  _sfc_render,
32
- _sfc_staticRenderFns,
33
- false,
34
- null,
35
- null
32
+ _sfc_staticRenderFns
36
33
  );
37
34
  const SlashCommandSuggestion = __component__.exports;
38
35
  exports.default = SlashCommandSuggestion;
@@ -1 +1 @@
1
- {"version":3,"file":"SlashCommandSuggestion.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <div>\n <div class=\"d-body--md-compact\">\n <span>/{{ command }}</span><span v-if=\"parametersExample\"> {{ parametersExample }}</span>\n </div>\n <div class=\"d-body--sm d-fc-tertiary\">\n {{ description }}\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'SlashCommandSuggestion',\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n\n computed: {\n command () {\n return this.item.command;\n },\n\n description () {\n return this.item.description;\n },\n\n parametersExample () {\n return this.item.parametersExample;\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;AAaA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,UAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,cAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,oBAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SlashCommandSuggestion.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <div>\n <div class=\"d-body--md-compact\">\n <span>/{{ command }}</span><span v-if=\"parametersExample\"> {{ parametersExample }}</span>\n </div>\n <div class=\"d-body--sm d-fc-tertiary\">\n {{ description }}\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'SlashCommandSuggestion',\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n\n computed: {\n command () {\n return this.item.command;\n },\n\n description () {\n return this.item.description;\n },\n\n parametersExample () {\n return this.item.parametersExample;\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;AAaA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,UAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,cAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,oBAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;"}
@@ -27,10 +27,7 @@ var _sfc_staticRenderFns = [];
27
27
  var __component__ = /* @__PURE__ */ normalizeComponent(
28
28
  _sfc_main,
29
29
  _sfc_render,
30
- _sfc_staticRenderFns,
31
- false,
32
- null,
33
- null
30
+ _sfc_staticRenderFns
34
31
  );
35
32
  const SlashCommandSuggestion = __component__.exports;
36
33
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"SlashCommandSuggestion.vue.js","sources":["../../../../../components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <div>\n <div class=\"d-body--md-compact\">\n <span>/{{ command }}</span><span v-if=\"parametersExample\"> {{ parametersExample }}</span>\n </div>\n <div class=\"d-body--sm d-fc-tertiary\">\n {{ description }}\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'SlashCommandSuggestion',\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n\n computed: {\n command () {\n return this.item.command;\n },\n\n description () {\n return this.item.description;\n },\n\n parametersExample () {\n return this.item.parametersExample;\n },\n },\n};\n</script>\n"],"names":[],"mappings":";AAaA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,UAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,cAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,oBAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SlashCommandSuggestion.vue.js","sources":["../../../../../components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <div>\n <div class=\"d-body--md-compact\">\n <span>/{{ command }}</span><span v-if=\"parametersExample\"> {{ parametersExample }}</span>\n </div>\n <div class=\"d-body--sm d-fc-tertiary\">\n {{ description }}\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'SlashCommandSuggestion',\n\n props: {\n item: {\n type: Object,\n required: true,\n },\n },\n\n computed: {\n command () {\n return this.item.command;\n },\n\n description () {\n return this.item.description;\n },\n\n parametersExample () {\n return this.item.parametersExample;\n },\n },\n};\n</script>\n"],"names":[],"mappings":";AAaA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,UAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,cAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,IAEA,oBAAA;AACA,aAAA,KAAA,KAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;"}
@@ -109,10 +109,7 @@ var _sfc_staticRenderFns = [];
109
109
  var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.default(
110
110
  _sfc_main,
111
111
  _sfc_render,
112
- _sfc_staticRenderFns,
113
- false,
114
- null,
115
- null
112
+ _sfc_staticRenderFns
116
113
  );
117
114
  const SuggestionList = __component__.exports;
118
115
  exports.default = SuggestionList;
@@ -1 +1 @@
1
- {"version":3,"file":"SuggestionList.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/suggestion/SuggestionList.vue"],"sourcesContent":["<template>\n <div class=\"d-popover__dialog d-suggestion-list__container\">\n <ul\n v-show=\"items.length\"\n ref=\"suggestionList\"\n class=\"d-suggestion-list\"\n >\n <dt-list-item\n v-for=\"(item, index) in items\"\n :key=\"item.id\"\n :class=\"[\n 'd-suggestion-list__item',\n { 'd-list-item--highlighted': index === selectedIndex },\n ]\"\n navigation-type=\"arrow-keys\"\n @click=\"selectItem(index)\"\n @keydown.prevent=\"onKeyDown\"\n >\n <component\n :is=\"itemComponent\"\n :item=\"item\"\n />\n </dt-list-item>\n </ul>\n </div>\n</template>\n\n<script>\nimport { DtListItem } from '@/components/list_item';\n\nexport default {\n name: 'SuggestionList',\n components: {\n DtListItem,\n },\n\n props: {\n items: {\n type: Array,\n required: true,\n },\n\n command: {\n type: Function,\n required: true,\n },\n\n itemComponent: {\n type: Object,\n required: true,\n },\n\n itemType: {\n type: String,\n required: true,\n },\n },\n\n data () {\n return {\n selectedIndex: 0,\n };\n },\n\n watch: {\n items () {\n this.selectedIndex = 0;\n },\n },\n\n methods: {\n onKeyDown ({ event }) {\n if (event.key === 'ArrowUp') {\n this.upHandler();\n return true;\n }\n\n if (event.key === 'ArrowDown') {\n this.downHandler();\n return true;\n }\n\n if (event.key === 'Enter' || event.key === 'Tab') {\n this.selectHandler();\n return true;\n }\n\n return false;\n },\n\n upHandler () {\n this.selectedIndex = ((this.selectedIndex + this.items.length) - 1) % this.items.length;\n\n this.scrollActiveElementIntoView();\n },\n\n downHandler () {\n this.selectedIndex = (this.selectedIndex + 1) % this.items.length;\n\n this.scrollActiveElementIntoView();\n },\n\n async scrollActiveElementIntoView () {\n await this.$nextTick();\n const activeElement = this.$refs.suggestionList.querySelector('.d-list-item--highlighted');\n if (activeElement) {\n activeElement.scrollIntoView({\n behaviour: 'smooth',\n block: 'center',\n });\n }\n },\n\n selectHandler () {\n this.selectItem(this.selectedIndex);\n },\n\n selectItem (index) {\n const item = this.items[index];\n\n switch (this.itemType) {\n case 'emoji':\n this.command(item);\n return;\n case 'mention':\n this.command({ name: item.name, id: item.id, avatarSrc: item.avatarSrc });\n break;\n case 'channel':\n this.command({ name: item.name, id: item.id });\n break;\n case 'slash-command':\n this.command({ command: item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AAA,QACA,CAAA;AAAA,MACA;AAAA,IACA;AAAA,IAEA,gBAAA;AACA,WAAA,WAAA,KAAA,aAAA;AAAA,IACA;AAAA,IAEA,WAAA,OAAA;AACA,YAAA,OAAA,KAAA,MAAA,KAAA;AAEA,cAAA,KAAA,UAAA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,IAAA;AACA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,EAAA,MAAA,KAAA,MAAA,IAAA,KAAA,IAAA,WAAA,KAAA,UAAA,CAAA;AACA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,EAAA,MAAA,KAAA,MAAA,IAAA,KAAA,GAAA,CAAA;AACA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,EAAA,SAAA,KAAA,QAAA,CAAA;AACA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SuggestionList.vue.cjs","sources":["../../../../../components/rich_text_editor/extensions/suggestion/SuggestionList.vue"],"sourcesContent":["<template>\n <div class=\"d-popover__dialog d-suggestion-list__container\">\n <ul\n v-show=\"items.length\"\n ref=\"suggestionList\"\n class=\"d-suggestion-list\"\n >\n <dt-list-item\n v-for=\"(item, index) in items\"\n :key=\"item.id\"\n :class=\"[\n 'd-suggestion-list__item',\n { 'd-list-item--highlighted': index === selectedIndex },\n ]\"\n navigation-type=\"arrow-keys\"\n @click=\"selectItem(index)\"\n @keydown.prevent=\"onKeyDown\"\n >\n <component\n :is=\"itemComponent\"\n :item=\"item\"\n />\n </dt-list-item>\n </ul>\n </div>\n</template>\n\n<script>\nimport { DtListItem } from '@/components/list_item';\n\nexport default {\n name: 'SuggestionList',\n components: {\n DtListItem,\n },\n\n props: {\n items: {\n type: Array,\n required: true,\n },\n\n command: {\n type: Function,\n required: true,\n },\n\n itemComponent: {\n type: Object,\n required: true,\n },\n\n itemType: {\n type: String,\n required: true,\n },\n },\n\n data () {\n return {\n selectedIndex: 0,\n };\n },\n\n watch: {\n items () {\n this.selectedIndex = 0;\n },\n },\n\n methods: {\n onKeyDown ({ event }) {\n if (event.key === 'ArrowUp') {\n this.upHandler();\n return true;\n }\n\n if (event.key === 'ArrowDown') {\n this.downHandler();\n return true;\n }\n\n if (event.key === 'Enter' || event.key === 'Tab') {\n this.selectHandler();\n return true;\n }\n\n return false;\n },\n\n upHandler () {\n this.selectedIndex = ((this.selectedIndex + this.items.length) - 1) % this.items.length;\n\n this.scrollActiveElementIntoView();\n },\n\n downHandler () {\n this.selectedIndex = (this.selectedIndex + 1) % this.items.length;\n\n this.scrollActiveElementIntoView();\n },\n\n async scrollActiveElementIntoView () {\n await this.$nextTick();\n const activeElement = this.$refs.suggestionList.querySelector('.d-list-item--highlighted');\n if (activeElement) {\n activeElement.scrollIntoView({\n behaviour: 'smooth',\n block: 'center',\n });\n }\n },\n\n selectHandler () {\n this.selectItem(this.selectedIndex);\n },\n\n selectItem (index) {\n const item = this.items[index];\n\n switch (this.itemType) {\n case 'emoji':\n this.command(item);\n return;\n case 'mention':\n this.command({ name: item.name, id: item.id, avatarSrc: item.avatarSrc });\n break;\n case 'channel':\n this.command({ name: item.name, id: item.id });\n break;\n case 'slash-command':\n this.command({ command: item.command });\n break;\n }\n },\n },\n};\n</script>\n"],"names":["DtListItem"],"mappings":";;;;AA8BA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA,YAAAA,UAAA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,IAEA,SAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,IAEA,eAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,IAEA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AACA,WAAA;AAAA,MACA,eAAA;AAAA,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AA;AACA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -107,10 +107,7 @@ var _sfc_staticRenderFns = [];
107
107
  var __component__ = /* @__PURE__ */ normalizeComponent(
108
108
  _sfc_main,
109
109
  _sfc_render,
110
- _sfc_staticRenderFns,
111
- false,
112
- null,
113
- null
110
+ _sfc_staticRenderFns
114
111
  );
115
112
  const SuggestionList = __component__.exports;
116
113
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"SuggestionList.vue.js","sources":["../../../../../components/rich_text_editor/extensions/suggestion/SuggestionList.vue"],"sourcesContent":["<template>\n <div class=\"d-popover__dialog d-suggestion-list__container\">\n <ul\n v-show=\"items.length\"\n ref=\"suggestionList\"\n class=\"d-suggestion-list\"\n >\n <dt-list-item\n v-for=\"(item, index) in items\"\n :key=\"item.id\"\n :class=\"[\n 'd-suggestion-list__item',\n { 'd-list-item--highlighted': index === selectedIndex },\n ]\"\n navigation-type=\"arrow-keys\"\n @click=\"selectItem(index)\"\n @keydown.prevent=\"onKeyDown\"\n >\n <component\n :is=\"itemComponent\"\n :item=\"item\"\n />\n </dt-list-item>\n </ul>\n </div>\n</template>\n\n<script>\nimport { DtListItem } from '@/components/list_item';\n\nexport default {\n name: 'SuggestionList',\n components: {\n DtListItem,\n },\n\n props: {\n items: {\n type: Array,\n required: true,\n },\n\n command: {\n type: Function,\n required: true,\n },\n\n itemComponent: {\n type: Object,\n required: true,\n },\n\n itemType: {\n type: String,\n required: true,\n },\n },\n\n data () {\n return {\n selectedIndex: 0,\n };\n },\n\n watch: {\n items () {\n this.selectedIndex = 0;\n },\n },\n\n methods: {\n onKeyDown ({ event }) {\n if (event.key === 'ArrowUp') {\n this.upHandler();\n return true;\n }\n\n if (event.key === 'ArrowDown') {\n this.downHandler();\n return true;\n }\n\n if (event.key === 'Enter' || event.key === 'Tab') {\n this.selectHandler();\n return true;\n }\n\n return false;\n },\n\n upHandler () {\n this.selectedIndex = ((this.selectedIndex + this.items.length) - 1) % this.items.length;\n\n this.scrollActiveElementIntoView();\n },\n\n downHandler () {\n this.selectedIndex = (this.selectedIndex + 1) % this.items.length;\n\n this.scrollActiveElementIntoView();\n },\n\n async scrollActiveElementIntoView () {\n await this.$nextTick();\n const activeElement = this.$refs.suggestionList.querySelector('.d-list-item--highlighted');\n if (activeElement) {\n activeElement.scrollIntoView({\n behaviour: 'smooth',\n block: 'center',\n });\n }\n },\n\n selectHandler () {\n this.selectItem(this.selectedIndex);\n },\n\n selectItem (index) {\n const item = this.items[index];\n\n switch (this.itemType) {\n case 'emoji':\n this.command(item);\n return;\n case 'mention':\n this.command({ name: item.name, id: item.id, avatarSrc: item.avatarSrc });\n break;\n case 'channel':\n this.command({ name: item.name, id: item.id });\n break;\n case 'slash-command':\n this.command({ command: item.command });\n break;\n }\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;AA8BA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,IAEA,SAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,IAEA,eAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,IAEA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AACA,WAAA;AAAA,MACA,eAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,QAAA;AACA,WAAA,gBAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,UAAA,EAAA,SAAA;AACA,UAAA,MAAA,QAAA,WAAA;AACA,aAAA,UAAA;AACA,eAAA;AAAA,MACA;AAEA,UAAA,MAAA,QAAA,aAAA;AACA,aAAA,YAAA;AACA,eAAA;AAAA,MACA;AAEA,UAAA,MAAA,QAAA,WAAA,MAAA,QAAA,OAAA;AACA,aAAA,cAAA;AACA,eAAA;AAAA,MACA;AAEA,aAAA;AAAA,IACA;AAAA,IAEA,YAAA;AACA,WAAA,iBAAA,KAAA,gBAAA,KAAA,MAAA,SAAA,KAAA,KAAA,MAAA;AAEA,WAAA,4BAAA;AAAA,IACA;AAAA,IAEA,cAAA;AACA,WAAA,iBAAA,KAAA,gBAAA,KAAA,KAAA,MAAA;AAEA,WAAA,4BAAA;AAAA,IACA;AAAA,IAEA,MAAA,8BAAA;AACA,YAAA,KAAA;AACA,YAAA,gBAAA,KAAA,MAAA,eAAA,cAAA,2BAAA;AACA,UAAA,eAAA;AACA,sBAAA,eAAA;AAAA,UACA,WAAA;AAAA,UACA,OAAA;AAAA,QACA,CAAA;AAAA,MACA;AAAA,IACA;AAAA,IAEA,gBAAA;AACA,WAAA,WAAA,KAAA,aAAA;AAAA,IACA;AAAA,IAEA,WAAA,OAAA;AACA,YAAA,OAAA,KAAA,MAAA,KAAA;AAEA,cAAA,KAAA,UAAA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,IAAA;AACA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,EAAA,MAAA,KAAA,MAAA,IAAA,KAAA,IAAA,WAAA,KAAA,UAAA,CAAA;AACA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,EAAA,MAAA,KAAA,MAAA,IAAA,KAAA,GAAA,CAAA;AACA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,EAAA,SAAA,KAAA,QAAA,CAAA;AACA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SuggestionList.vue.js","sources":["../../../../../components/rich_text_editor/extensions/suggestion/SuggestionList.vue"],"sourcesContent":["<template>\n <div class=\"d-popover__dialog d-suggestion-list__container\">\n <ul\n v-show=\"items.length\"\n ref=\"suggestionList\"\n class=\"d-suggestion-list\"\n >\n <dt-list-item\n v-for=\"(item, index) in items\"\n :key=\"item.id\"\n :class=\"[\n 'd-suggestion-list__item',\n { 'd-list-item--highlighted': index === selectedIndex },\n ]\"\n navigation-type=\"arrow-keys\"\n @click=\"selectItem(index)\"\n @keydown.prevent=\"onKeyDown\"\n >\n <component\n :is=\"itemComponent\"\n :item=\"item\"\n />\n </dt-list-item>\n </ul>\n </div>\n</template>\n\n<script>\nimport { DtListItem } from '@/components/list_item';\n\nexport default {\n name: 'SuggestionList',\n components: {\n DtListItem,\n },\n\n props: {\n items: {\n type: Array,\n required: true,\n },\n\n command: {\n type: Function,\n required: true,\n },\n\n itemComponent: {\n type: Object,\n required: true,\n },\n\n itemType: {\n type: String,\n required: true,\n },\n },\n\n data () {\n return {\n selectedIndex: 0,\n };\n },\n\n watch: {\n items () {\n this.selectedIndex = 0;\n },\n },\n\n methods: {\n onKeyDown ({ event }) {\n if (event.key === 'ArrowUp') {\n this.upHandler();\n return true;\n }\n\n if (event.key === 'ArrowDown') {\n this.downHandler();\n return true;\n }\n\n if (event.key === 'Enter' || event.key === 'Tab') {\n this.selectHandler();\n return true;\n }\n\n return false;\n },\n\n upHandler () {\n this.selectedIndex = ((this.selectedIndex + this.items.length) - 1) % this.items.length;\n\n this.scrollActiveElementIntoView();\n },\n\n downHandler () {\n this.selectedIndex = (this.selectedIndex + 1) % this.items.length;\n\n this.scrollActiveElementIntoView();\n },\n\n async scrollActiveElementIntoView () {\n await this.$nextTick();\n const activeElement = this.$refs.suggestionList.querySelector('.d-list-item--highlighted');\n if (activeElement) {\n activeElement.scrollIntoView({\n behaviour: 'smooth',\n block: 'center',\n });\n }\n },\n\n selectHandler () {\n this.selectItem(this.selectedIndex);\n },\n\n selectItem (index) {\n const item = this.items[index];\n\n switch (this.itemType) {\n case 'emoji':\n this.command(item);\n return;\n case 'mention':\n this.command({ name: item.name, id: item.id, avatarSrc: item.avatarSrc });\n break;\n case 'channel':\n this.command({ name: item.name, id: item.id });\n break;\n case 'slash-command':\n this.command({ command: item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ACA;AAAA,IACA;AAAA,IAEA,gBAAA;AACA,WAAA,WAAA,KAAA,aAAA;AAAA,IACA;AAAA,IAEA,WAAA,OAAA;AACA,YAAA,OAAA,KAAA,MAAA,KAAA;AAEA,cAAA,KAAA,UAAA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,IAAA;AACA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,EAAA,MAAA,KAAA,MAAA,IAAA,KAAA,IAAA,WAAA,KAAA,UAAA,CAAA;AACA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,EAAA,MAAA,KAAA,MAAA,IAAA,KAAA,GAAA,CAAA;AACA;AAAA,QACA,KAAA;AACA,eAAA,QAAA,EAAA,SAAA,KAAA,QAAA,CAAA;AACA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;"}
@@ -538,10 +538,7 @@ var _sfc_staticRenderFns = [];
538
538
  var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.default(
539
539
  _sfc_main,
540
540
  _sfc_render,
541
- _sfc_staticRenderFns,
542
- false,
543
- null,
544
- null
541
+ _sfc_staticRenderFns
545
542
  );
546
543
  const DtRichTextEditor = __component__.exports;
547
544
  exports.default = DtRichTextEditor;
@@ -1 +1 @@
1
- {"version":3,"file":"rich_text_editor.vue.cjs","sources":["../../../components/rich_text_editor/rich_text_editor.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <editor-content\n :editor=\"editor\"\n class=\"d-rich-text-editor\"\n data-qa=\"dt-rich-text-editor\"\n v-on=\"editorListeners\"\n />\n</template>\n\n<script>\n/* eslint-disable max-lines */\nimport { Editor, EditorContent } from '@tiptap/vue-2';\nimport Blockquote from '@tiptap/extension-blockquote';\nimport CodeBlock from '@tiptap/extension-code-block';\nimport Document from '@tiptap/extension-document';\nimport HardBreak from '@tiptap/extension-hard-break';\nimport Paragraph from '@tiptap/extension-paragraph';\nimport Placeholder from '@tiptap/extension-placeholder';\nimport Bold from '@tiptap/extension-bold';\nimport BulletList from '@tiptap/extension-bullet-list';\nimport Italic from '@tiptap/extension-italic';\nimport TipTapLink from '@tiptap/extension-link';\nimport ListItem from '@tiptap/extension-list-item';\nimport OrderedList from '@tiptap/extension-ordered-list';\nimport Strike from '@tiptap/extension-strike';\nimport Underline from '@tiptap/extension-underline';\nimport Text from '@tiptap/extension-text';\nimport TextAlign from '@tiptap/extension-text-align';\nimport History from '@tiptap/extension-history';\nimport Emoji from './extensions/emoji';\nimport CustomLink from './extensions/custom_link';\nimport { MentionPlugin } from './extensions/mentions/mention';\nimport { ChannelPlugin } from './extensions/channels/channel';\nimport { SlashCommandPlugin } from './extensions/slash_command/slash_command';\nimport {\n RICH_TEXT_EDITOR_OUTPUT_FORMATS,\n RICH_TEXT_EDITOR_AUTOFOCUS_TYPES,\n RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS,\n} from './rich_text_editor_constants';\nimport { emojiPattern } from 'regex-combined-emojis';\n\nimport mentionSuggestion from './extensions/mentions/suggestion';\nimport channelSuggestion from './extensions/channels/suggestion';\nimport slashCommandSuggestion from './extensions/slash_command/suggestion';\nimport { warnIfUnmounted } from '@/common/utils';\n\nexport default {\n name: 'DtRichTextEditor',\n\n components: {\n EditorContent,\n },\n\n props: {\n /**\n * Value of the input. The object format should match TipTap's JSON\n * document structure: https://tiptap.dev/guide/output#option-1-json\n */\n value: {\n type: [Object, String],\n default: '',\n },\n\n /**\n * Whether the input is editable\n */\n editable: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Prevents the user from typing any further. Deleting text will still work.\n */\n preventTyping: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the input allows for line breaks to be introduced in the text by pressing enter. If this is disabled,\n * line breaks can still be entered by pressing shift+enter.\n */\n allowLineBreaks: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Descriptive label for the input element\n */\n inputAriaLabel: {\n type: String,\n required: true,\n },\n\n /**\n * Additional class name for the input element. Only accepts a String value\n * because this is passed to the editor via options. For multiple classes,\n * join them into one string, e.g. \"d-p8 d-hmx96\"\n */\n inputClass: {\n type: String,\n default: '',\n },\n\n /**\n * Whether the input should receive focus after the component has been\n * mounted. Either one of `start`, `end`, `all` or a Boolean or a Number.\n * - `start` Sets the focus to the beginning of the input\n * - `end` Sets the focus to the end of the input\n * - `all` Selects the whole contents of the input\n * - `Number` Sets the focus to a specific position in the input\n * - `true` Defaults to `start`\n * - `false` Disables autofocus\n * @values true, false, start, end, all, number\n */\n autoFocus: {\n type: [Boolean, String, Number],\n default: false,\n validator (autoFocus) {\n if (typeof autoFocus === 'string') {\n return RICH_TEXT_EDITOR_AUTOFOCUS_TYPES.includes(autoFocus);\n }\n return true;\n },\n },\n\n /**\n * The output format that the editor uses when emitting the \"@input\" event.\n * One of `text`, `json`, `html`. See https://tiptap.dev/guide/output for\n * examples.\n * @values text, json, html\n */\n outputFormat: {\n type: String,\n default: 'html',\n validator (outputFormat) {\n return RICH_TEXT_EDITOR_OUTPUT_FORMATS.includes(outputFormat);\n },\n },\n\n /**\n * Placeholder text\n */\n placeholder: {\n type: String,\n default: '',\n },\n\n /**\n * Enables the TipTap Link extension and optionally passes configurations to it\n *\n * It is not recommended to use this and the custom link extension at the same time.\n */\n link: {\n type: [Boolean, Object],\n default: false,\n },\n\n /**\n * Enables the Custom Link extension and optionally passes configurations to it\n *\n * It is not recommended to use this and the built in TipTap link extension at the same time.\n *\n * The custom link does some additional things on top of the built in TipTap link\n * extension such as styling phone numbers and IP adresses as links, and allows you\n * to linkify text without having to type a space after the link. Currently it is missing some\n * functionality such as editing links and will likely require more work to be fully usable,\n * so it is recommended to use the built in TipTap link for now.\n */\n customLink: {\n type: [Boolean, Object],\n default: false,\n },\n\n /**\n * suggestion object containing the items query function.\n * The valid keys passed into this object can be found here: https://tiptap.dev/api/utilities/suggestion\n *\n * The only required key is the items function which is used to query the contacts for suggestion.\n * items({ query }) => { return [ContactObject]; }\n * ContactObject format:\n * { name: string, avatarSrc: string, id: string }\n *\n * When null, it does not add the plugin.\n */\n mentionSuggestion: {\n type: Object,\n default: null,\n },\n\n /**\n * suggestion object containing the items query function.\n * The valid keys passed into this object can be found here: https://tiptap.dev/api/utilities/suggestion\n *\n * The only required key is the items function which is used to query the channels for suggestion.\n * items({ query }) => { return [ChannelObject]; }\n * ChannelObject format:\n * { name: string, id: string, locked: boolean }\n *\n * When null, it does not add the plugin. Setting locked to true will display a lock rather than hash.\n */\n channelSuggestion: {\n type: Object,\n default: null,\n },\n\n /**\n * suggestion object containing the items query function.\n * The valid keys passed into this object can be found here: https://tiptap.dev/api/utilities/suggestion\n *\n * The only required key is the items function which is used to query the slash commands for suggestion.\n * items({ query }) => { return [SlashCommandObject]; }\n * SlashCommandObject format:\n * { command: string, description: string, parametersExample?: string }\n * The \"parametersExample\" parameter is optional, and describes an example\n * of the parameters that command can take.\n *\n * When null, it does not add the plugin.\n * Note that slash commands only work when they are the first word in the input.\n */\n slashCommandSuggestion: {\n type: Object,\n default: null,\n },\n\n /**\n * Whether the input allows for block quote.\n */\n allowBlockquote: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows for bold to be introduced in the text.\n */\n allowBold: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows for bullet list to be introduced in the text.\n */\n allowBulletList: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows for italic to be introduced in the text.\n */\n allowItalic: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows for strike to be introduced in the text.\n */\n allowStrike: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows for underline to be introduced in the text.\n */\n allowUnderline: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows codeblock to be introduced in the text.\n */\n allowCodeblock: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Additional TipTap extensions to be added to the editor.\n */\n additionalExtensions: {\n type: Array,\n default: () => [],\n },\n },\n\n emits: [\n /**\n * Editor input event\n * @event input\n * @type {String|JSON}\n */\n 'input',\n\n /**\n * Event to sync the value with the parent\n * @event update:value\n * @type {String|JSON}\n */\n 'update:value',\n\n /**\n * Editor blur event\n * @event blur\n * @type {FocusEvent}\n */\n 'blur',\n\n /**\n * Editor focus event\n * @event focus\n * @type {FocusEvent}\n */\n 'focus',\n\n /**\n * Enter was pressed. Note that shift enter must be pressed to line break the input.\n * @event enter\n * @type {String}\n */\n 'enter',\n ],\n\n data () {\n return {\n editor: null,\n };\n },\n\n computed: {\n editorListeners () {\n return {\n ...this.$listeners,\n input: () => {},\n focus: () => {},\n blur: () => {},\n };\n },\n\n // eslint-disable-next-line complexity\n extensions () {\n // These are the default extensions needed just for plain text.\n const extensions = [Document, Paragraph, Text, History];\n if (this.link) {\n extensions.push(TipTapLink.extend({ inclusive: false }).configure({\n HTMLAttributes: {\n class: 'd-link d-wb-break-all',\n },\n autolink: true,\n protocols: RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS,\n }));\n }\n if (this.customLink) {\n extensions.push(this.getExtension(CustomLink, this.customLink));\n }\n if (this.allowBlockquote) {\n extensions.push(Blockquote);\n }\n if (this.allowBold) {\n extensions.push(Bold);\n }\n if (this.allowBulletList) {\n extensions.push(BulletList);\n extensions.push(ListItem);\n extensions.push(OrderedList);\n }\n if (this.allowItalic) {\n extensions.push(Italic);\n }\n if (this.allowStrike) {\n extensions.push(Strike);\n }\n if (this.allowUnderline) {\n extensions.push(Underline);\n }\n\n // Enable placeholderText\n if (this.placeholder) {\n extensions.push(\n Placeholder.configure({ placeholder: this.placeholder }),\n );\n }\n\n // make sure that this is defined before any other extensions\n // where Enter and Shift+Enter should have its own interaction. otherwise it will be ignored\n if (!this.allowLineBreaks) {\n const self = this;\n extensions.push(\n HardBreak.extend({\n addKeyboardShortcuts () {\n return {\n Enter: () => {\n self.$emit('enter');\n return true;\n },\n 'Shift-Enter': () => {\n this.editor.commands.setHardBreak();\n return true;\n },\n };\n },\n }),\n );\n } else {\n extensions.push(HardBreak);\n }\n\n if (this.mentionSuggestion) {\n // Add both the suggestion plugin as well as means for user to add suggestion items to the plugin\n const suggestionObject = { ...this.mentionSuggestion, ...mentionSuggestion };\n extensions.push(MentionPlugin.configure({ suggestion: suggestionObject }));\n }\n\n if (this.channelSuggestion) {\n // Add both the suggestion plugin as well as means for user to add suggestion items to the plugin\n const suggestionObject = { ...this.channelSuggestion, ...channelSuggestion };\n extensions.push(ChannelPlugin.configure({ suggestion: suggestionObject }));\n }\n\n if (this.slashCommandSuggestion) {\n // Add both the suggestion plugin as well as means for user to add suggestion items to the plugin\n const suggestionObject = { ...this.slashCommandSuggestion, ...slashCommandSuggestion };\n extensions.push(SlashCommandPlugin.configure({ suggestion: suggestionObject }));\n }\n\n // Emoji has some interactions with Enter key\n // hence this should be done last otherwise the enter wont add a emoji.\n extensions.push(Emoji);\n\n extensions.push(TextAlign.configure({\n types: ['paragraph'],\n defaultAlignment: 'left',\n }));\n\n if (this.allowCodeblock) {\n extensions.push(CodeBlock.configure({\n HTMLAttributes: {\n class: 'd-rich-text-editor__code-block',\n },\n }));\n }\n\n if (this.additionalExtensions.length) {\n extensions.push(...this.additionalExtensions);\n }\n\n return extensions;\n },\n\n inputAttrs () {\n const attrs = {\n 'aria-label': this.inputAriaLabel,\n 'aria-multiline': true,\n role: 'textbox',\n };\n if (!this.editable) {\n attrs['aria-readonly'] = true;\n }\n return attrs;\n },\n },\n\n /**\n * Because the Editor instance is initialized when mounted it does not get\n * updated props automatically, so the ones that can change after mount have\n * to be hooked up to the Editor's own API.\n */\n watch: {\n editable (isEditable) {\n this.editor.setEditable(isEditable);\n this.updateEditorAttributes({ 'aria-readonly': !isEditable });\n },\n\n inputClass (newClass) {\n this.updateEditorAttributes({ class: newClass });\n },\n\n inputAriaLabel (newLabel) {\n this.updateEditorAttributes({ 'aria-label': newLabel });\n },\n\n extensions () {\n // Extensions can't be registered on the fly, so just recreate the editor.\n // https://github.com/ueberdosis/tiptap/issues/1044\n this.destroyEditor();\n this.createEditor();\n },\n\n value (newValue) {\n this.processValue(newValue);\n },\n },\n\n created () {\n this.createEditor();\n },\n\n beforeUnmount () {\n this.destroyEditor();\n },\n\n mounted () {\n warnIfUnmounted(this.$el, this.$options.name);\n this.processValue(this.value, false);\n },\n\n methods: {\n\n createEditor () {\n // For all available options, see https://tiptap.dev/api/editor#settings\n this.editor = new Editor({\n autofocus: this.autoFocus,\n content: this.value,\n editable: this.editable,\n extensions: this.extensions,\n editorProps: {\n attributes: {\n ...this.inputAttrs,\n class: this.inputClass,\n },\n\n // Moves the <br /> tags inside the previous closing tag to avoid\n // Prosemirror wrapping them within another </p> tag.\n transformPastedHTML (html) {\n return html.replace(/(<\\/\\w+>)((<br \\/>)+)/g, '$2$3$1');\n },\n },\n });\n this.addEditorListeners();\n },\n\n processValue (newValue, returnIfEqual = true) {\n let currentValue = this.getOutput();\n if (this.outputFormat === 'json') {\n newValue = JSON.stringify(newValue);\n currentValue = JSON.stringify(currentValue);\n }\n\n if (returnIfEqual && newValue === currentValue) {\n // The new value came from this component and was passed back down\n // through the parent, so don't do anything here.\n return;\n }\n\n const inputUnicodeRegex = new RegExp(`(${emojiPattern})`, 'g');\n\n // If the text contains emoji characters convert them to emoji component tags\n newValue = newValue.replace(inputUnicodeRegex, '<emoji-component code=\"$1\"></emoji-component>');\n\n // Otherwise replace the content (resets the cursor position).\n this.editor.commands.setContent(newValue, false);\n },\n\n destroyEditor () {\n this.editor.destroy();\n },\n\n /**\n * The Editor exposes event hooks that we have to map our emits into. See\n * https://tiptap.dev/api/events for all events.\n */\n addEditorListeners () {\n // The content has changed.\n this.editor.on('update', () => {\n const value = this.getOutput();\n // When preventTyping is true and user wants to type, we revert to last value\n // If Backspace (keyCode = 8) is pressed, we allow updating the text\n if (this.preventTyping && this.editor.view?.input?.lastKeyCode !== 8) {\n this.editor.commands.setContent(this.value, false);\n return;\n }\n this.$emit('input', value);\n this.$emit('update:value', value);\n });\n\n // The editor is focused.\n this.editor.on('focus', ({ event }) => {\n this.$emit('focus', event);\n });\n\n // The editor isn’t focused anymore.\n this.editor.on('blur', ({ event }) => {\n this.$emit('blur', event);\n });\n },\n\n getOutput () {\n switch (this.outputFormat) {\n case 'json':\n return this.editor.getJSON();\n case 'html':\n return this.editor.getHTML();\n case 'text':\n default:\n return this.editor.getText({ blockSeparator: '\\n' });\n }\n },\n\n getExtension (extension, options) {\n if (typeof options === 'boolean') {\n return extension;\n }\n return extension.configure?.(options);\n },\n\n updateEditorAttributes (attributes) {\n this.editor.setOptions({\n editorProps: {\n attributes: {\n ...this.inputAttrs,\n class: this.inputClass,\n ...attributes,\n },\n },\n });\n },\n\n focusEditor () {\n this.editor.commands.focus();\n },\n },\n};\n</script>\n"],"names":["EditorContent","RICH_TEXT_EDITOR_AUTOFOCUS_TYPES","RICH_TEXT_EDITOR_OUTPUT_FORMATS","RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS","CustomLink","mentionSuggestion","MentionPlugin","channelSuggestion","ChannelPlugin","slashCommandSuggestion","SlashCommandPlugin","Emoji","warnIfUnmounted","Editor","emojiPattern"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,eAAAA,KAAA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA,OAAA;AAAA,MACA,MAAA,CAAA,QAAA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,eAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,iBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,gBAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AA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":"rich_text_editor.vue.cjs","sources":["../../../components/rich_text_editor/rich_text_editor.vue"],"sourcesContent":["<!-- eslint-disable vue/no-restricted-class -->\n<template>\n <editor-content\n :editor=\"editor\"\n class=\"d-rich-text-editor\"\n data-qa=\"dt-rich-text-editor\"\n v-on=\"editorListeners\"\n />\n</template>\n\n<script>\n/* eslint-disable max-lines */\nimport { Editor, EditorContent } from '@tiptap/vue-2';\nimport Blockquote from '@tiptap/extension-blockquote';\nimport CodeBlock from '@tiptap/extension-code-block';\nimport Document from '@tiptap/extension-document';\nimport HardBreak from '@tiptap/extension-hard-break';\nimport Paragraph from '@tiptap/extension-paragraph';\nimport Placeholder from '@tiptap/extension-placeholder';\nimport Bold from '@tiptap/extension-bold';\nimport BulletList from '@tiptap/extension-bullet-list';\nimport Italic from '@tiptap/extension-italic';\nimport TipTapLink from '@tiptap/extension-link';\nimport ListItem from '@tiptap/extension-list-item';\nimport OrderedList from '@tiptap/extension-ordered-list';\nimport Strike from '@tiptap/extension-strike';\nimport Underline from '@tiptap/extension-underline';\nimport Text from '@tiptap/extension-text';\nimport TextAlign from '@tiptap/extension-text-align';\nimport History from '@tiptap/extension-history';\nimport Emoji from './extensions/emoji';\nimport CustomLink from './extensions/custom_link';\nimport { MentionPlugin } from './extensions/mentions/mention';\nimport { ChannelPlugin } from './extensions/channels/channel';\nimport { SlashCommandPlugin } from './extensions/slash_command/slash_command';\nimport {\n RICH_TEXT_EDITOR_OUTPUT_FORMATS,\n RICH_TEXT_EDITOR_AUTOFOCUS_TYPES,\n RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS,\n} from './rich_text_editor_constants';\nimport { emojiPattern } from 'regex-combined-emojis';\n\nimport mentionSuggestion from './extensions/mentions/suggestion';\nimport channelSuggestion from './extensions/channels/suggestion';\nimport slashCommandSuggestion from './extensions/slash_command/suggestion';\nimport { warnIfUnmounted } from '@/common/utils';\n\nexport default {\n name: 'DtRichTextEditor',\n\n components: {\n EditorContent,\n },\n\n props: {\n /**\n * Value of the input. The object format should match TipTap's JSON\n * document structure: https://tiptap.dev/guide/output#option-1-json\n */\n value: {\n type: [Object, String],\n default: '',\n },\n\n /**\n * Whether the input is editable\n */\n editable: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Prevents the user from typing any further. Deleting text will still work.\n */\n preventTyping: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the input allows for line breaks to be introduced in the text by pressing enter. If this is disabled,\n * line breaks can still be entered by pressing shift+enter.\n */\n allowLineBreaks: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Descriptive label for the input element\n */\n inputAriaLabel: {\n type: String,\n required: true,\n },\n\n /**\n * Additional class name for the input element. Only accepts a String value\n * because this is passed to the editor via options. For multiple classes,\n * join them into one string, e.g. \"d-p8 d-hmx96\"\n */\n inputClass: {\n type: String,\n default: '',\n },\n\n /**\n * Whether the input should receive focus after the component has been\n * mounted. Either one of `start`, `end`, `all` or a Boolean or a Number.\n * - `start` Sets the focus to the beginning of the input\n * - `end` Sets the focus to the end of the input\n * - `all` Selects the whole contents of the input\n * - `Number` Sets the focus to a specific position in the input\n * - `true` Defaults to `start`\n * - `false` Disables autofocus\n * @values true, false, start, end, all, number\n */\n autoFocus: {\n type: [Boolean, String, Number],\n default: false,\n validator (autoFocus) {\n if (typeof autoFocus === 'string') {\n return RICH_TEXT_EDITOR_AUTOFOCUS_TYPES.includes(autoFocus);\n }\n return true;\n },\n },\n\n /**\n * The output format that the editor uses when emitting the \"@input\" event.\n * One of `text`, `json`, `html`. See https://tiptap.dev/guide/output for\n * examples.\n * @values text, json, html\n */\n outputFormat: {\n type: String,\n default: 'html',\n validator (outputFormat) {\n return RICH_TEXT_EDITOR_OUTPUT_FORMATS.includes(outputFormat);\n },\n },\n\n /**\n * Placeholder text\n */\n placeholder: {\n type: String,\n default: '',\n },\n\n /**\n * Enables the TipTap Link extension and optionally passes configurations to it\n *\n * It is not recommended to use this and the custom link extension at the same time.\n */\n link: {\n type: [Boolean, Object],\n default: false,\n },\n\n /**\n * Enables the Custom Link extension and optionally passes configurations to it\n *\n * It is not recommended to use this and the built in TipTap link extension at the same time.\n *\n * The custom link does some additional things on top of the built in TipTap link\n * extension such as styling phone numbers and IP adresses as links, and allows you\n * to linkify text without having to type a space after the link. Currently it is missing some\n * functionality such as editing links and will likely require more work to be fully usable,\n * so it is recommended to use the built in TipTap link for now.\n */\n customLink: {\n type: [Boolean, Object],\n default: false,\n },\n\n /**\n * suggestion object containing the items query function.\n * The valid keys passed into this object can be found here: https://tiptap.dev/api/utilities/suggestion\n *\n * The only required key is the items function which is used to query the contacts for suggestion.\n * items({ query }) => { return [ContactObject]; }\n * ContactObject format:\n * { name: string, avatarSrc: string, id: string }\n *\n * When null, it does not add the plugin.\n */\n mentionSuggestion: {\n type: Object,\n default: null,\n },\n\n /**\n * suggestion object containing the items query function.\n * The valid keys passed into this object can be found here: https://tiptap.dev/api/utilities/suggestion\n *\n * The only required key is the items function which is used to query the channels for suggestion.\n * items({ query }) => { return [ChannelObject]; }\n * ChannelObject format:\n * { name: string, id: string, locked: boolean }\n *\n * When null, it does not add the plugin. Setting locked to true will display a lock rather than hash.\n */\n channelSuggestion: {\n type: Object,\n default: null,\n },\n\n /**\n * suggestion object containing the items query function.\n * The valid keys passed into this object can be found here: https://tiptap.dev/api/utilities/suggestion\n *\n * The only required key is the items function which is used to query the slash commands for suggestion.\n * items({ query }) => { return [SlashCommandObject]; }\n * SlashCommandObject format:\n * { command: string, description: string, parametersExample?: string }\n * The \"parametersExample\" parameter is optional, and describes an example\n * of the parameters that command can take.\n *\n * When null, it does not add the plugin.\n * Note that slash commands only work when they are the first word in the input.\n */\n slashCommandSuggestion: {\n type: Object,\n default: null,\n },\n\n /**\n * Whether the input allows for block quote.\n */\n allowBlockquote: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows for bold to be introduced in the text.\n */\n allowBold: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows for bullet list to be introduced in the text.\n */\n allowBulletList: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows for italic to be introduced in the text.\n */\n allowItalic: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows for strike to be introduced in the text.\n */\n allowStrike: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows for underline to be introduced in the text.\n */\n allowUnderline: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the input allows codeblock to be introduced in the text.\n */\n allowCodeblock: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Additional TipTap extensions to be added to the editor.\n */\n additionalExtensions: {\n type: Array,\n default: () => [],\n },\n },\n\n emits: [\n /**\n * Editor input event\n * @event input\n * @type {String|JSON}\n */\n 'input',\n\n /**\n * Event to sync the value with the parent\n * @event update:value\n * @type {String|JSON}\n */\n 'update:value',\n\n /**\n * Editor blur event\n * @event blur\n * @type {FocusEvent}\n */\n 'blur',\n\n /**\n * Editor focus event\n * @event focus\n * @type {FocusEvent}\n */\n 'focus',\n\n /**\n * Enter was pressed. Note that shift enter must be pressed to line break the input.\n * @event enter\n * @type {String}\n */\n 'enter',\n ],\n\n data () {\n return {\n editor: null,\n };\n },\n\n computed: {\n editorListeners () {\n return {\n ...this.$listeners,\n input: () => {},\n focus: () => {},\n blur: () => {},\n };\n },\n\n // eslint-disable-next-line complexity\n extensions () {\n // These are the default extensions needed just for plain text.\n const extensions = [Document, Paragraph, Text, History];\n if (this.link) {\n extensions.push(TipTapLink.extend({ inclusive: false }).configure({\n HTMLAttributes: {\n class: 'd-link d-wb-break-all',\n },\n autolink: true,\n protocols: RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS,\n }));\n }\n if (this.customLink) {\n extensions.push(this.getExtension(CustomLink, this.customLink));\n }\n if (this.allowBlockquote) {\n extensions.push(Blockquote);\n }\n if (this.allowBold) {\n extensions.push(Bold);\n }\n if (this.allowBulletList) {\n extensions.push(BulletList);\n extensions.push(ListItem);\n extensions.push(OrderedList);\n }\n if (this.allowItalic) {\n extensions.push(Italic);\n }\n if (this.allowStrike) {\n extensions.push(Strike);\n }\n if (this.allowUnderline) {\n extensions.push(Underline);\n }\n\n // Enable placeholderText\n if (this.placeholder) {\n extensions.push(\n Placeholder.configure({ placeholder: this.placeholder }),\n );\n }\n\n // make sure that this is defined before any other extensions\n // where Enter and Shift+Enter should have its own interaction. otherwise it will be ignored\n if (!this.allowLineBreaks) {\n const self = this;\n extensions.push(\n HardBreak.extend({\n addKeyboardShortcuts () {\n return {\n Enter: () => {\n self.$emit('enter');\n return true;\n },\n 'Shift-Enter': () => {\n this.editor.commands.setHardBreak();\n return true;\n },\n };\n },\n }),\n );\n } else {\n extensions.push(HardBreak);\n }\n\n if (this.mentionSuggestion) {\n // Add both the suggestion plugin as well as means for user to add suggestion items to the plugin\n const suggestionObject = { ...this.mentionSuggestion, ...mentionSuggestion };\n extensions.push(MentionPlugin.configure({ suggestion: suggestionObject }));\n }\n\n if (this.channelSuggestion) {\n // Add both the suggestion plugin as well as means for user to add suggestion items to the plugin\n const suggestionObject = { ...this.channelSuggestion, ...channelSuggestion };\n extensions.push(ChannelPlugin.configure({ suggestion: suggestionObject }));\n }\n\n if (this.slashCommandSuggestion) {\n // Add both the suggestion plugin as well as means for user to add suggestion items to the plugin\n const suggestionObject = { ...this.slashCommandSuggestion, ...slashCommandSuggestion };\n extensions.push(SlashCommandPlugin.configure({ suggestion: suggestionObject }));\n }\n\n // Emoji has some interactions with Enter key\n // hence this should be done last otherwise the enter wont add a emoji.\n extensions.push(Emoji);\n\n extensions.push(TextAlign.configure({\n types: ['paragraph'],\n defaultAlignment: 'left',\n }));\n\n if (this.allowCodeblock) {\n extensions.push(CodeBlock.configure({\n HTMLAttributes: {\n class: 'd-rich-text-editor__code-block',\n },\n }));\n }\n\n if (this.additionalExtensions.length) {\n extensions.push(...this.additionalExtensions);\n }\n\n return extensions;\n },\n\n inputAttrs () {\n const attrs = {\n 'aria-label': this.inputAriaLabel,\n 'aria-multiline': true,\n role: 'textbox',\n };\n if (!this.editable) {\n attrs['aria-readonly'] = true;\n }\n return attrs;\n },\n },\n\n /**\n * Because the Editor instance is initialized when mounted it does not get\n * updated props automatically, so the ones that can change after mount have\n * to be hooked up to the Editor's own API.\n */\n watch: {\n editable (isEditable) {\n this.editor.setEditable(isEditable);\n this.updateEditorAttributes({ 'aria-readonly': !isEditable });\n },\n\n inputClass (newClass) {\n this.updateEditorAttributes({ class: newClass });\n },\n\n inputAriaLabel (newLabel) {\n this.updateEditorAttributes({ 'aria-label': newLabel });\n },\n\n extensions () {\n // Extensions can't be registered on the fly, so just recreate the editor.\n // https://github.com/ueberdosis/tiptap/issues/1044\n this.destroyEditor();\n this.createEditor();\n },\n\n value (newValue) {\n this.processValue(newValue);\n },\n },\n\n created () {\n this.createEditor();\n },\n\n beforeUnmount () {\n this.destroyEditor();\n },\n\n mounted () {\n warnIfUnmounted(this.$el, this.$options.name);\n this.processValue(this.value, false);\n },\n\n methods: {\n\n createEditor () {\n // For all available options, see https://tiptap.dev/api/editor#settings\n this.editor = new Editor({\n autofocus: this.autoFocus,\n content: this.value,\n editable: this.editable,\n extensions: this.extensions,\n editorProps: {\n attributes: {\n ...this.inputAttrs,\n class: this.inputClass,\n },\n\n // Moves the <br /> tags inside the previous closing tag to avoid\n // Prosemirror wrapping them within another </p> tag.\n transformPastedHTML (html) {\n return html.replace(/(<\\/\\w+>)((<br \\/>)+)/g, '$2$3$1');\n },\n },\n });\n this.addEditorListeners();\n },\n\n processValue (newValue, returnIfEqual = true) {\n let currentValue = this.getOutput();\n if (this.outputFormat === 'json') {\n newValue = JSON.stringify(newValue);\n currentValue = JSON.stringify(currentValue);\n }\n\n if (returnIfEqual && newValue === currentValue) {\n // The new value came from this component and was passed back down\n // through the parent, so don't do anything here.\n return;\n }\n\n const inputUnicodeRegex = new RegExp(`(${emojiPattern})`, 'g');\n\n // If the text contains emoji characters convert them to emoji component tags\n newValue = newValue.replace(inputUnicodeRegex, '<emoji-component code=\"$1\"></emoji-component>');\n\n // Otherwise replace the content (resets the cursor position).\n this.editor.commands.setContent(newValue, false);\n },\n\n destroyEditor () {\n this.editor.destroy();\n },\n\n /**\n * The Editor exposes event hooks that we have to map our emits into. See\n * https://tiptap.dev/api/events for all events.\n */\n addEditorListeners () {\n // The content has changed.\n this.editor.on('update', () => {\n const value = this.getOutput();\n // When preventTyping is true and user wants to type, we revert to last value\n // If Backspace (keyCode = 8) is pressed, we allow updating the text\n if (this.preventTyping && this.editor.view?.input?.lastKeyCode !== 8) {\n this.editor.commands.setContent(this.value, false);\n return;\n }\n this.$emit('input', value);\n this.$emit('update:value', value);\n });\n\n // The editor is focused.\n this.editor.on('focus', ({ event }) => {\n this.$emit('focus', event);\n });\n\n // The editor isn’t focused anymore.\n this.editor.on('blur', ({ event }) => {\n this.$emit('blur', event);\n });\n },\n\n getOutput () {\n switch (this.outputFormat) {\n case 'json':\n return this.editor.getJSON();\n case 'html':\n return this.editor.getHTML();\n case 'text':\n default:\n return this.editor.getText({ blockSeparator: '\\n' });\n }\n },\n\n getExtension (extension, options) {\n if (typeof options === 'boolean') {\n return extension;\n }\n return extension.configure?.(options);\n },\n\n updateEditorAttributes (attributes) {\n this.editor.setOptions({\n editorProps: {\n attributes: {\n ...this.inputAttrs,\n class: this.inputClass,\n ...attributes,\n },\n },\n });\n },\n\n focusEditor () {\n this.editor.commands.focus();\n },\n },\n};\n</script>\n"],"names":["EditorContent","RICH_TEXT_EDITOR_AUTOFOCUS_TYPES","RICH_TEXT_EDITOR_OUTPUT_FORMATS","RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS","CustomLink","mentionSuggestion","MentionPlugin","channelSuggestion","ChannelPlugin","slashCommandSuggestion","SlashCommandPlugin","Emoji","warnIfUnmounted","Editor","emojiPattern"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,eAAAA,KAAA;AAAA,EACA;AAAA,EA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;AAAA,MACA;AAAA,IACA;AAAA,IAEA,aAAA,WAAA,SAAA;;AACA,UAAA,OAAA,YAAA,WAAA;AACA,eAAA;AAAA,MACA;AACA,cAAA,eAAA,cAAA,mCAAA;AAAA,IACA;AAAA,IAEA,uBAAA,YAAA;AACA,WAAA,OAAA,WAAA;AAAA,QACA,aAAA;AAAA,UACA,YAAA;AAAA,YACA,GAAA,KAAA;AAAA,YACA,OAAA,KAAA;AAAA,YACA,GAAA;AAAA,UACA;AAAA,QACA;AAAA,MACA,CAAA;AAAA,IACA;AAAA,IAEA,cAAA;AACA,WAAA,OAAA,SAAA;IACA;AAAA,EACA;AACA;;;;;;;;;;;;;"}
@@ -536,10 +536,7 @@ var _sfc_staticRenderFns = [];
536
536
  var __component__ = /* @__PURE__ */ normalizeComponent(
537
537
  _sfc_main,
538
538
  _sfc_render,
539
- _sfc_staticRenderFns,
540
- false,
541
- null,
542
- null
539
+ _sfc_staticRenderFns
543
540
  );
544
541
  const DtRichTextEditor = __component__.exports;
545
542
  export {