@dialpad/dialtone 9.122.0 → 9.123.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/dist/css/dialtone-default-theme.css +28 -28
  2. package/dist/css/dialtone-default-theme.min.css +1 -1
  3. package/dist/css/dialtone-docs.json +1 -1
  4. package/dist/css/dialtone.css +28 -28
  5. package/dist/css/dialtone.min.css +1 -1
  6. package/dist/tokens/doc.json +30809 -30809
  7. package/dist/vue2/_plugin-vue2_normalizer-CeySl7Fu.js +11 -0
  8. package/dist/vue2/_plugin-vue2_normalizer-CeySl7Fu.js.map +1 -0
  9. package/dist/vue2/_plugin-vue2_normalizer-yXi3ZRRD.cjs +2 -0
  10. package/dist/vue2/_plugin-vue2_normalizer-yXi3ZRRD.cjs.map +1 -0
  11. package/dist/vue2/component-documentation.json +1 -1
  12. package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs +1 -1
  13. package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
  14. package/dist/vue2/lib/attachment-carousel/attachment-carousel.js +17 -8
  15. package/dist/vue2/lib/attachment-carousel/attachment-carousel.js.map +1 -1
  16. package/dist/vue2/lib/avatar/avatar.cjs +1 -1
  17. package/dist/vue2/lib/avatar/avatar.js +5 -2
  18. package/dist/vue2/lib/avatar/avatar.js.map +1 -1
  19. package/dist/vue2/lib/badge/badge.cjs +1 -1
  20. package/dist/vue2/lib/badge/badge.js +7 -4
  21. package/dist/vue2/lib/badge/badge.js.map +1 -1
  22. package/dist/vue2/lib/banner/banner.cjs +2 -2
  23. package/dist/vue2/lib/banner/banner.js +9 -6
  24. package/dist/vue2/lib/banner/banner.js.map +1 -1
  25. package/dist/vue2/lib/breadcrumbs/breadcrumb-item.cjs +1 -1
  26. package/dist/vue2/lib/breadcrumbs/breadcrumb-item.js +7 -4
  27. package/dist/vue2/lib/breadcrumbs/breadcrumb-item.js.map +1 -1
  28. package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs +1 -1
  29. package/dist/vue2/lib/breadcrumbs/breadcrumbs.js +5 -2
  30. package/dist/vue2/lib/breadcrumbs/breadcrumbs.js.map +1 -1
  31. package/dist/vue2/lib/button/button.cjs +1 -1
  32. package/dist/vue2/lib/button/button.js +5 -2
  33. package/dist/vue2/lib/button/button.js.map +1 -1
  34. package/dist/vue2/lib/button-group/button-group.cjs +1 -1
  35. package/dist/vue2/lib/button-group/button-group.js +11 -8
  36. package/dist/vue2/lib/button-group/button-group.js.map +1 -1
  37. package/dist/vue2/lib/button-group/buttons-decorator.cjs +1 -1
  38. package/dist/vue2/lib/button-group/buttons-decorator.js +7 -4
  39. package/dist/vue2/lib/button-group/buttons-decorator.js.map +1 -1
  40. package/dist/vue2/lib/callbar-button/callbar-button.cjs +1 -1
  41. package/dist/vue2/lib/callbar-button/callbar-button.js +10 -7
  42. package/dist/vue2/lib/callbar-button/callbar-button.js.map +1 -1
  43. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  44. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +5 -2
  45. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  46. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  47. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +12 -9
  48. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  49. package/dist/vue2/lib/callbox/callbox.cjs +1 -1
  50. package/dist/vue2/lib/callbox/callbox.js +5 -2
  51. package/dist/vue2/lib/callbox/callbox.js.map +1 -1
  52. package/dist/vue2/lib/card/card.cjs +1 -1
  53. package/dist/vue2/lib/card/card.js +7 -4
  54. package/dist/vue2/lib/card/card.js.map +1 -1
  55. package/dist/vue2/lib/checkbox/checkbox.cjs +1 -1
  56. package/dist/vue2/lib/checkbox/checkbox.js +5 -2
  57. package/dist/vue2/lib/checkbox/checkbox.js.map +1 -1
  58. package/dist/vue2/lib/checkbox-group/checkbox-group.cjs +1 -1
  59. package/dist/vue2/lib/checkbox-group/checkbox-group.js +8 -5
  60. package/dist/vue2/lib/checkbox-group/checkbox-group.js.map +1 -1
  61. package/dist/vue2/lib/checkbox-group/checkboxes-decorator.cjs +1 -1
  62. package/dist/vue2/lib/checkbox-group/checkboxes-decorator.js +12 -9
  63. package/dist/vue2/lib/checkbox-group/checkboxes-decorator.js.map +1 -1
  64. package/dist/vue2/lib/chip/chip.cjs +1 -1
  65. package/dist/vue2/lib/chip/chip.js +11 -8
  66. package/dist/vue2/lib/chip/chip.js.map +1 -1
  67. package/dist/vue2/lib/codeblock/codeblock.cjs +2 -2
  68. package/dist/vue2/lib/codeblock/codeblock.js +11 -8
  69. package/dist/vue2/lib/codeblock/codeblock.js.map +1 -1
  70. package/dist/vue2/lib/collapsible/collapsible-lazy-show.cjs +1 -1
  71. package/dist/vue2/lib/collapsible/collapsible-lazy-show.js +5 -2
  72. package/dist/vue2/lib/collapsible/collapsible-lazy-show.js.map +1 -1
  73. package/dist/vue2/lib/collapsible/collapsible.cjs +1 -1
  74. package/dist/vue2/lib/collapsible/collapsible.js +7 -4
  75. package/dist/vue2/lib/collapsible/collapsible.js.map +1 -1
  76. package/dist/vue2/lib/combobox/combobox-empty-list.cjs +1 -1
  77. package/dist/vue2/lib/combobox/combobox-empty-list.js +10 -7
  78. package/dist/vue2/lib/combobox/combobox-empty-list.js.map +1 -1
  79. package/dist/vue2/lib/combobox/combobox-loading-list.cjs +1 -1
  80. package/dist/vue2/lib/combobox/combobox-loading-list.js +10 -7
  81. package/dist/vue2/lib/combobox/combobox-loading-list.js.map +1 -1
  82. package/dist/vue2/lib/combobox/combobox.cjs +2 -2
  83. package/dist/vue2/lib/combobox/combobox.js +5 -2
  84. package/dist/vue2/lib/combobox/combobox.js.map +1 -1
  85. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
  86. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js +9 -6
  87. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
  88. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
  89. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.js +5 -2
  90. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
  91. package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs +1 -1
  92. package/dist/vue2/lib/contact-centers-row/contact-centers-row.js +9 -6
  93. package/dist/vue2/lib/contact-centers-row/contact-centers-row.js.map +1 -1
  94. package/dist/vue2/lib/contact-info/contact-info.cjs +1 -1
  95. package/dist/vue2/lib/contact-info/contact-info.js +8 -5
  96. package/dist/vue2/lib/contact-info/contact-info.js.map +1 -1
  97. package/dist/vue2/lib/contact-row/contact-row.cjs +1 -1
  98. package/dist/vue2/lib/contact-row/contact-row.js +5 -2
  99. package/dist/vue2/lib/contact-row/contact-row.js.map +1 -1
  100. package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
  101. package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
  102. package/dist/vue2/lib/datepicker/datepicker.js +13 -4
  103. package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
  104. package/dist/vue2/lib/description-list/description-list.cjs +1 -1
  105. package/dist/vue2/lib/description-list/description-list.js +13 -10
  106. package/dist/vue2/lib/description-list/description-list.js.map +1 -1
  107. package/dist/vue2/lib/dropdown/dropdown-list.cjs +1 -1
  108. package/dist/vue2/lib/dropdown/dropdown-list.js +8 -5
  109. package/dist/vue2/lib/dropdown/dropdown-list.js.map +1 -1
  110. package/dist/vue2/lib/dropdown/dropdown-separator.cjs +1 -1
  111. package/dist/vue2/lib/dropdown/dropdown-separator.js +7 -4
  112. package/dist/vue2/lib/dropdown/dropdown-separator.js.map +1 -1
  113. package/dist/vue2/lib/dropdown/dropdown.cjs +1 -1
  114. package/dist/vue2/lib/dropdown/dropdown.js +5 -2
  115. package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
  116. package/dist/vue2/lib/editor/editor.cjs +1 -1
  117. package/dist/vue2/lib/editor/editor.js +49 -46
  118. package/dist/vue2/lib/editor/editor.js.map +1 -1
  119. package/dist/vue2/lib/emoji/emoji.cjs +1 -1
  120. package/dist/vue2/lib/emoji/emoji.js +10 -7
  121. package/dist/vue2/lib/emoji/emoji.js.map +1 -1
  122. package/dist/vue2/lib/emoji-picker/emoji-picker.cjs +1 -1
  123. package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  124. package/dist/vue2/lib/emoji-picker/emoji-picker.js +34 -13
  125. package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
  126. package/dist/vue2/lib/emoji-row/emoji-row.cjs +1 -1
  127. package/dist/vue2/lib/emoji-row/emoji-row.js +6 -3
  128. package/dist/vue2/lib/emoji-row/emoji-row.js.map +1 -1
  129. package/dist/vue2/lib/emoji-text-wrapper/emoji-text-wrapper.cjs +1 -1
  130. package/dist/vue2/lib/emoji-text-wrapper/emoji-text-wrapper.js +9 -6
  131. package/dist/vue2/lib/emoji-text-wrapper/emoji-text-wrapper.js.map +1 -1
  132. package/dist/vue2/lib/empty-state/empty-state.cjs +1 -1
  133. package/dist/vue2/lib/empty-state/empty-state.js +9 -6
  134. package/dist/vue2/lib/empty-state/empty-state.js.map +1 -1
  135. package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs +1 -1
  136. package/dist/vue2/lib/feed-item-pill/feed-item-pill.js +14 -11
  137. package/dist/vue2/lib/feed-item-pill/feed-item-pill.js.map +1 -1
  138. package/dist/vue2/lib/feed-item-row/feed-item-row.cjs +1 -1
  139. package/dist/vue2/lib/feed-item-row/feed-item-row.js +9 -6
  140. package/dist/vue2/lib/feed-item-row/feed-item-row.js.map +1 -1
  141. package/dist/vue2/lib/general-row/general-row.cjs +1 -1
  142. package/dist/vue2/lib/general-row/general-row.js +5 -2
  143. package/dist/vue2/lib/general-row/general-row.js.map +1 -1
  144. package/dist/vue2/lib/general-row/leftbar-general-row-icon.cjs +1 -1
  145. package/dist/vue2/lib/general-row/leftbar-general-row-icon.js +10 -7
  146. package/dist/vue2/lib/general-row/leftbar-general-row-icon.js.map +1 -1
  147. package/dist/vue2/lib/group-row/group-row.cjs +1 -1
  148. package/dist/vue2/lib/group-row/group-row.js +7 -4
  149. package/dist/vue2/lib/group-row/group-row.js.map +1 -1
  150. package/dist/vue2/lib/grouped-chip/grouped-chip.cjs +1 -1
  151. package/dist/vue2/lib/grouped-chip/grouped-chip.js +7 -4
  152. package/dist/vue2/lib/grouped-chip/grouped-chip.js.map +1 -1
  153. package/dist/vue2/lib/hovercard/hovercard.cjs +1 -1
  154. package/dist/vue2/lib/hovercard/hovercard.js +9 -6
  155. package/dist/vue2/lib/hovercard/hovercard.js.map +1 -1
  156. package/dist/vue2/lib/icon/icon.cjs +1 -1
  157. package/dist/vue2/lib/icon/icon.js +12 -9
  158. package/dist/vue2/lib/icon/icon.js.map +1 -1
  159. package/dist/vue2/lib/illustration/illustration.cjs +1 -1
  160. package/dist/vue2/lib/illustration/illustration.js +13 -10
  161. package/dist/vue2/lib/illustration/illustration.js.map +1 -1
  162. package/dist/vue2/lib/image-viewer/image-viewer.cjs +1 -1
  163. package/dist/vue2/lib/image-viewer/image-viewer.js +9 -6
  164. package/dist/vue2/lib/image-viewer/image-viewer.js.map +1 -1
  165. package/dist/vue2/lib/input/input.cjs +1 -1
  166. package/dist/vue2/lib/input/input.js +5 -2
  167. package/dist/vue2/lib/input/input.js.map +1 -1
  168. package/dist/vue2/lib/input-group/input-group.cjs +1 -1
  169. package/dist/vue2/lib/input-group/input-group.js +9 -6
  170. package/dist/vue2/lib/input-group/input-group.js.map +1 -1
  171. package/dist/vue2/lib/item-layout/item-layout.cjs +2 -2
  172. package/dist/vue2/lib/item-layout/item-layout.js +7 -4
  173. package/dist/vue2/lib/item-layout/item-layout.js.map +1 -1
  174. package/dist/vue2/lib/ivr-node/ivr-node.cjs +1 -1
  175. package/dist/vue2/lib/ivr-node/ivr-node.js +14 -11
  176. package/dist/vue2/lib/ivr-node/ivr-node.js.map +1 -1
  177. package/dist/vue2/lib/keyboard-shortcut/keyboard-shortcut.cjs +1 -1
  178. package/dist/vue2/lib/keyboard-shortcut/keyboard-shortcut.js +13 -10
  179. package/dist/vue2/lib/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  180. package/dist/vue2/lib/lazy-show/lazy-show.cjs +1 -1
  181. package/dist/vue2/lib/lazy-show/lazy-show.js +5 -2
  182. package/dist/vue2/lib/lazy-show/lazy-show.js.map +1 -1
  183. package/dist/vue2/lib/link/link.cjs +1 -1
  184. package/dist/vue2/lib/link/link.js +9 -6
  185. package/dist/vue2/lib/link/link.js.map +1 -1
  186. package/dist/vue2/lib/list-item/list-item.cjs +1 -1
  187. package/dist/vue2/lib/list-item/list-item.js +25 -22
  188. package/dist/vue2/lib/list-item/list-item.js.map +1 -1
  189. package/dist/vue2/lib/list-item-group/list-item-group.cjs +1 -1
  190. package/dist/vue2/lib/list-item-group/list-item-group.js +11 -8
  191. package/dist/vue2/lib/list-item-group/list-item-group.js.map +1 -1
  192. package/dist/vue2/lib/message-input/message-input-button.cjs +1 -1
  193. package/dist/vue2/lib/message-input/message-input-button.js +7 -4
  194. package/dist/vue2/lib/message-input/message-input-button.js.map +1 -1
  195. package/dist/vue2/lib/message-input/message-input-link.cjs +1 -1
  196. package/dist/vue2/lib/message-input/message-input-link.js +5 -2
  197. package/dist/vue2/lib/message-input/message-input-link.js.map +1 -1
  198. package/dist/vue2/lib/message-input/message-input-topbar.cjs +1 -1
  199. package/dist/vue2/lib/message-input/message-input-topbar.js +5 -2
  200. package/dist/vue2/lib/message-input/message-input-topbar.js.map +1 -1
  201. package/dist/vue2/lib/message-input/message-input.cjs +1 -1
  202. package/dist/vue2/lib/message-input/message-input.cjs.map +1 -1
  203. package/dist/vue2/lib/message-input/message-input.js +23 -9
  204. package/dist/vue2/lib/message-input/message-input.js.map +1 -1
  205. package/dist/vue2/lib/modal/modal.cjs +2 -2
  206. package/dist/vue2/lib/modal/modal.js +5 -2
  207. package/dist/vue2/lib/modal/modal.js.map +1 -1
  208. package/dist/vue2/lib/notice/notice-action.cjs +1 -1
  209. package/dist/vue2/lib/notice/notice-action.js +7 -4
  210. package/dist/vue2/lib/notice/notice-action.js.map +1 -1
  211. package/dist/vue2/lib/notice/notice-content.cjs +1 -1
  212. package/dist/vue2/lib/notice/notice-content.js +5 -2
  213. package/dist/vue2/lib/notice/notice-content.js.map +1 -1
  214. package/dist/vue2/lib/notice/notice-icon.cjs +1 -1
  215. package/dist/vue2/lib/notice/notice-icon.js +16 -13
  216. package/dist/vue2/lib/notice/notice-icon.js.map +1 -1
  217. package/dist/vue2/lib/notice/notice.cjs +1 -1
  218. package/dist/vue2/lib/notice/notice.js +10 -7
  219. package/dist/vue2/lib/notice/notice.js.map +1 -1
  220. package/dist/vue2/lib/pagination/pagination.cjs +1 -1
  221. package/dist/vue2/lib/pagination/pagination.js +9 -6
  222. package/dist/vue2/lib/pagination/pagination.js.map +1 -1
  223. package/dist/vue2/lib/popover/popover-header-footer.cjs +1 -1
  224. package/dist/vue2/lib/popover/popover-header-footer.js +8 -5
  225. package/dist/vue2/lib/popover/popover-header-footer.js.map +1 -1
  226. package/dist/vue2/lib/popover/popover.cjs +1 -1
  227. package/dist/vue2/lib/popover/popover.js +5 -2
  228. package/dist/vue2/lib/popover/popover.js.map +1 -1
  229. package/dist/vue2/lib/presence/presence.cjs +1 -1
  230. package/dist/vue2/lib/presence/presence.js +7 -4
  231. package/dist/vue2/lib/presence/presence.js.map +1 -1
  232. package/dist/vue2/lib/radio/radio.cjs +1 -1
  233. package/dist/vue2/lib/radio/radio.js +8 -5
  234. package/dist/vue2/lib/radio/radio.js.map +1 -1
  235. package/dist/vue2/lib/radio-group/radio-group.cjs +1 -1
  236. package/dist/vue2/lib/radio-group/radio-group.js +5 -2
  237. package/dist/vue2/lib/radio-group/radio-group.js.map +1 -1
  238. package/dist/vue2/lib/radio-group/radios-decorator.cjs +1 -1
  239. package/dist/vue2/lib/radio-group/radios-decorator.js +9 -6
  240. package/dist/vue2/lib/radio-group/radios-decorator.js.map +1 -1
  241. package/dist/vue2/lib/rich-text-editor/mention-suggestion.cjs +1 -1
  242. package/dist/vue2/lib/rich-text-editor/mention-suggestion.cjs.map +1 -1
  243. package/dist/vue2/lib/rich-text-editor/mention-suggestion.js +33 -14
  244. package/dist/vue2/lib/rich-text-editor/mention-suggestion.js.map +1 -1
  245. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +4 -4
  246. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  247. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +364 -315
  248. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  249. package/dist/vue2/lib/root-layout/root-layout.cjs +1 -1
  250. package/dist/vue2/lib/root-layout/root-layout.js +8 -5
  251. package/dist/vue2/lib/root-layout/root-layout.js.map +1 -1
  252. package/dist/vue2/lib/select-menu/select-menu.cjs +1 -1
  253. package/dist/vue2/lib/select-menu/select-menu.js +5 -2
  254. package/dist/vue2/lib/select-menu/select-menu.js.map +1 -1
  255. package/dist/vue2/lib/settings-menu-button/settings-menu-button.cjs +1 -1
  256. package/dist/vue2/lib/settings-menu-button/settings-menu-button.js +7 -4
  257. package/dist/vue2/lib/settings-menu-button/settings-menu-button.js.map +1 -1
  258. package/dist/vue2/lib/skeleton/skeleton-list-item.cjs +1 -1
  259. package/dist/vue2/lib/skeleton/skeleton-list-item.js +5 -2
  260. package/dist/vue2/lib/skeleton/skeleton-list-item.js.map +1 -1
  261. package/dist/vue2/lib/skeleton/skeleton-paragraph.cjs +1 -1
  262. package/dist/vue2/lib/skeleton/skeleton-paragraph.js +8 -5
  263. package/dist/vue2/lib/skeleton/skeleton-paragraph.js.map +1 -1
  264. package/dist/vue2/lib/skeleton/skeleton-shape.cjs +1 -1
  265. package/dist/vue2/lib/skeleton/skeleton-shape.js +7 -4
  266. package/dist/vue2/lib/skeleton/skeleton-shape.js.map +1 -1
  267. package/dist/vue2/lib/skeleton/skeleton-text.cjs +1 -1
  268. package/dist/vue2/lib/skeleton/skeleton-text.js +14 -11
  269. package/dist/vue2/lib/skeleton/skeleton-text.js.map +1 -1
  270. package/dist/vue2/lib/skeleton/skeleton.cjs +1 -1
  271. package/dist/vue2/lib/skeleton/skeleton.js +9 -6
  272. package/dist/vue2/lib/skeleton/skeleton.js.map +1 -1
  273. package/dist/vue2/lib/split-button/split-button-alpha.cjs +1 -1
  274. package/dist/vue2/lib/split-button/split-button-alpha.js +12 -9
  275. package/dist/vue2/lib/split-button/split-button-alpha.js.map +1 -1
  276. package/dist/vue2/lib/split-button/split-button-omega.cjs +1 -1
  277. package/dist/vue2/lib/split-button/split-button-omega.js +9 -6
  278. package/dist/vue2/lib/split-button/split-button-omega.js.map +1 -1
  279. package/dist/vue2/lib/split-button/split-button.cjs +1 -1
  280. package/dist/vue2/lib/split-button/split-button.js +9 -6
  281. package/dist/vue2/lib/split-button/split-button.js.map +1 -1
  282. package/dist/vue2/lib/stack/stack.cjs +1 -1
  283. package/dist/vue2/lib/stack/stack.js +15 -12
  284. package/dist/vue2/lib/stack/stack.js.map +1 -1
  285. package/dist/vue2/lib/tab/tab-group.cjs +1 -1
  286. package/dist/vue2/lib/tab/tab-group.js +5 -2
  287. package/dist/vue2/lib/tab/tab-group.js.map +1 -1
  288. package/dist/vue2/lib/tab/tab-panel.cjs +1 -1
  289. package/dist/vue2/lib/tab/tab-panel.js +11 -8
  290. package/dist/vue2/lib/tab/tab-panel.js.map +1 -1
  291. package/dist/vue2/lib/tab/tab.cjs +1 -1
  292. package/dist/vue2/lib/tab/tab.js +10 -7
  293. package/dist/vue2/lib/tab/tab.js.map +1 -1
  294. package/dist/vue2/lib/time-pill/time-pill.cjs +1 -1
  295. package/dist/vue2/lib/time-pill/time-pill.js +8 -5
  296. package/dist/vue2/lib/time-pill/time-pill.js.map +1 -1
  297. package/dist/vue2/lib/toast/toast.cjs +1 -1
  298. package/dist/vue2/lib/toast/toast.cjs.map +1 -1
  299. package/dist/vue2/lib/toast/toast.js +17 -5
  300. package/dist/vue2/lib/toast/toast.js.map +1 -1
  301. package/dist/vue2/lib/toggle/toggle.cjs +1 -1
  302. package/dist/vue2/lib/toggle/toggle.js +5 -2
  303. package/dist/vue2/lib/toggle/toggle.js.map +1 -1
  304. package/dist/vue2/lib/tooltip/tooltip.cjs +1 -1
  305. package/dist/vue2/lib/tooltip/tooltip.js +9 -6
  306. package/dist/vue2/lib/tooltip/tooltip.js.map +1 -1
  307. package/dist/vue2/lib/top-banner-info/top-banner-info.cjs +1 -1
  308. package/dist/vue2/lib/top-banner-info/top-banner-info.js +5 -2
  309. package/dist/vue2/lib/top-banner-info/top-banner-info.js.map +1 -1
  310. package/dist/vue2/lib/unread-pill/unread-pill.cjs +1 -1
  311. package/dist/vue2/lib/unread-pill/unread-pill.js +8 -5
  312. package/dist/vue2/lib/unread-pill/unread-pill.js.map +1 -1
  313. package/dist/vue2/lib/validation-messages/validation-messages.cjs +1 -1
  314. package/dist/vue2/lib/validation-messages/validation-messages.js +10 -7
  315. package/dist/vue2/lib/validation-messages/validation-messages.js.map +1 -1
  316. package/dist/vue2/node_modules/@tiptap/vue-2.cjs +1 -1
  317. package/dist/vue2/node_modules/@tiptap/vue-2.cjs.map +1 -1
  318. package/dist/vue2/node_modules/@tiptap/vue-2.js +191 -149
  319. package/dist/vue2/node_modules/@tiptap/vue-2.js.map +1 -1
  320. package/dist/vue2/shared/sr_only_close_button.cjs +1 -1
  321. package/dist/vue2/shared/sr_only_close_button.js +12 -9
  322. package/dist/vue2/shared/sr_only_close_button.js.map +1 -1
  323. package/dist/vue2/style.css +1 -0
  324. package/dist/vue2/types/components/emoji_picker/emoji_picker.vue.d.ts.map +1 -1
  325. package/dist/vue2/types/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts +16 -16
  326. package/dist/vue2/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +16 -16
  327. package/dist/vue2/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +16 -16
  328. package/dist/vue2/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts +5 -0
  329. package/dist/vue2/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts.map +1 -1
  330. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.d.ts +16 -16
  331. package/dist/vue2/types/components/rich_text_editor/mention_suggestion.d.ts +23 -3
  332. package/dist/vue2/types/components/rich_text_editor/mention_suggestion.d.ts.map +1 -1
  333. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  334. package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +16 -16
  335. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +1 -1
  336. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  337. package/dist/vue2/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +1 -1
  338. package/dist/vue3/component-documentation.json +1 -1
  339. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs +1 -1
  340. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
  341. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js +4 -3
  342. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
  343. package/dist/vue3/lib/emoji-picker/emoji-picker.cjs +1 -1
  344. package/dist/vue3/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  345. package/dist/vue3/lib/emoji-picker/emoji-picker.js +518 -415
  346. package/dist/vue3/lib/emoji-picker/emoji-picker.js.map +1 -1
  347. package/dist/vue3/lib/rich-text-editor/mention-suggestion.cjs +1 -1
  348. package/dist/vue3/lib/rich-text-editor/mention-suggestion.cjs.map +1 -1
  349. package/dist/vue3/lib/rich-text-editor/mention-suggestion.js +34 -15
  350. package/dist/vue3/lib/rich-text-editor/mention-suggestion.js.map +1 -1
  351. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +3 -3
  352. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  353. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +264 -212
  354. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  355. package/dist/vue3/node_modules/@tiptap/vue-3.cjs +1 -1
  356. package/dist/vue3/node_modules/@tiptap/vue-3.cjs.map +1 -1
  357. package/dist/vue3/node_modules/@tiptap/vue-3.js +165 -115
  358. package/dist/vue3/node_modules/@tiptap/vue-3.js.map +1 -1
  359. package/dist/vue3/style.css +1 -0
  360. package/dist/vue3/types/components/emoji_picker/emoji_picker.vue.d.ts +1 -1
  361. package/dist/vue3/types/components/emoji_picker/emoji_picker.vue.d.ts.map +1 -1
  362. package/dist/vue3/types/components/emoji_picker/emoji_picker_constants.d.ts +1 -0
  363. package/dist/vue3/types/components/emoji_picker/modules/emoji_selector.vue.d.ts +1 -1
  364. package/dist/vue3/types/components/emoji_picker/modules/emoji_selector.vue.d.ts.map +1 -1
  365. package/dist/vue3/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
  366. package/dist/vue3/types/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts +26 -2
  367. package/dist/vue3/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +26 -2
  368. package/dist/vue3/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +26 -2
  369. package/dist/vue3/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts +5 -0
  370. package/dist/vue3/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts.map +1 -1
  371. package/dist/vue3/types/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.d.ts +26 -2
  372. package/dist/vue3/types/components/rich_text_editor/mention_suggestion.d.ts +23 -3
  373. package/dist/vue3/types/components/rich_text_editor/mention_suggestion.d.ts.map +1 -1
  374. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  375. package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +26 -2
  376. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +1 -1
  377. package/package.json +32 -32
  378. package/dist/vue2/_plugin-vue2_normalizer-DSLOjnn3.js +0 -11
  379. package/dist/vue2/_plugin-vue2_normalizer-DSLOjnn3.js.map +0 -1
  380. package/dist/vue2/_plugin-vue2_normalizer-e_CkxkSV.cjs +0 -2
  381. package/dist/vue2/_plugin-vue2_normalizer-e_CkxkSV.cjs.map +0 -1
@@ -1,42 +1,42 @@
1
- import { NodeViewWrapper as T, nodeViewProps as R, VueRenderer as L, VueNodeViewRenderer as $, EditorContent as Y, BubbleMenu as G, Editor as Q } from "../../node_modules/@tiptap/vue-3.js";
2
- import { Node as Z, mergeAttributes as k, InputRule as ee, nodePasteRule as B, getMarksBetween as te, combineTransactionSteps as ne, getChangedRanges as oe, findChildrenInRange as ie, Mark as re, nodeInputRule as se, Extension as ae } from "@tiptap/core";
3
- import le from "@tiptap/extension-blockquote";
1
+ import { NodeViewWrapper as R, nodeViewProps as L, VueRenderer as v, VueNodeViewRenderer as $, EditorContent as G, BubbleMenu as Q, Editor as Z } from "../../node_modules/@tiptap/vue-3.js";
2
+ import { Node as ee, mergeAttributes as x, InputRule as te, nodePasteRule as B, getMarksBetween as ne, combineTransactionSteps as oe, getChangedRanges as ie, findChildrenInRange as re, Mark as se, nodeInputRule as ae, Extension as le } from "@tiptap/core";
3
+ import ce from "@tiptap/extension-blockquote";
4
4
  import de from "@tiptap/extension-code-block";
5
- import ce from "@tiptap/extension-code";
6
- import ue from "@tiptap/extension-document";
7
- import me from "@tiptap/extension-hard-break";
8
- import N from "@tiptap/extension-paragraph";
9
- import he from "@tiptap/extension-placeholder";
10
- import fe from "@tiptap/extension-bold";
11
- import pe from "@tiptap/extension-bullet-list";
12
- import ge from "@tiptap/extension-italic";
13
- import _e from "@tiptap/extension-link";
5
+ import ue from "@tiptap/extension-code";
6
+ import me from "@tiptap/extension-document";
7
+ import he from "@tiptap/extension-hard-break";
8
+ import U from "@tiptap/extension-paragraph";
9
+ import fe from "@tiptap/extension-placeholder";
10
+ import pe from "@tiptap/extension-bold";
11
+ import ge from "@tiptap/extension-bullet-list";
12
+ import _e from "@tiptap/extension-italic";
13
+ import we from "@tiptap/extension-link";
14
14
  import ye from "@tiptap/extension-list-item";
15
- import we from "@tiptap/extension-ordered-list";
16
- import ke from "@tiptap/extension-strike";
17
- import be from "@tiptap/extension-underline";
18
- import xe from "@tiptap/extension-text";
19
- import Ce from "@tiptap/extension-text-align";
20
- import Ee from "@tiptap/extension-history";
21
- import Se from "@tiptap/extension-text-style";
22
- import Te from "@tiptap/extension-color";
23
- import Re from "@tiptap/extension-font-family";
24
- import { PluginKey as C, Plugin as Le } from "@tiptap/pm/state";
15
+ import ke from "@tiptap/extension-ordered-list";
16
+ import be from "@tiptap/extension-strike";
17
+ import xe from "@tiptap/extension-underline";
18
+ import Ce from "@tiptap/extension-text";
19
+ import Ee from "@tiptap/extension-text-align";
20
+ import Se from "@tiptap/extension-history";
21
+ import Te from "@tiptap/extension-text-style";
22
+ import Re from "@tiptap/extension-color";
23
+ import Le from "@tiptap/extension-font-family";
24
+ import { PluginKey as E, Plugin as ve } from "@tiptap/pm/state";
25
25
  import $e from "@tiptap/suggestion";
26
- import { emojiPattern as U } from "regex-combined-emojis";
27
- import { resolveComponent as d, openBlock as c, createBlock as m, withCtx as u, createVNode as f, createElementBlock as x, withDirectives as ve, createElementVNode as y, Fragment as Ie, renderList as Me, normalizeClass as Oe, withModifiers as Ae, resolveDynamicComponent as je, vShow as Be, createTextVNode as w, toDisplayString as g, markRaw as v, createCommentVNode as z, mergeProps as De } from "vue";
28
- import { _ as p } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
29
- import W from "../emoji/emoji.js";
30
- import { stringToUnicode as Pe, codeToEmojiData as P, emojiRegex as He, emojiShortCodeRegex as Ve } from "../../common/emoji/index.js";
31
- import { emojisIndexed as Fe } from "@dialpad/dialtone-emojis";
26
+ import { emojiPattern as z } from "regex-combined-emojis";
27
+ import { resolveComponent as d, openBlock as l, createBlock as m, withCtx as u, createVNode as f, createElementBlock as _, withDirectives as Ie, createElementVNode as y, Fragment as Me, renderList as Oe, normalizeClass as W, withModifiers as Ae, resolveDynamicComponent as De, vShow as je, createTextVNode as k, toDisplayString as p, markRaw as I, createCommentVNode as b, mergeProps as Be } from "vue";
28
+ import { _ as g } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
29
+ import X from "../emoji/emoji.js";
30
+ import { stringToUnicode as Pe, codeToEmojiData as H, emojiRegex as He, emojiShortCodeRegex as Fe } from "../../common/emoji/index.js";
31
+ import { emojisIndexed as Ve } from "@dialpad/dialtone-emojis";
32
32
  import Ke from "../list-item/list-item.js";
33
- import I from "../stack/stack.js";
34
- import M from "tippy.js";
33
+ import M from "../stack/stack.js";
34
+ import O from "tippy.js";
35
35
  import { linkRegex as qe, getPhoneNumberRegex as Ne, returnFirstEl as V, warnIfUnmounted as Ue } from "../../common/utils/index.js";
36
36
  import ze from "@tiptap/extension-image";
37
- import H from "@tiptap/extension-mention";
38
- import X from "../link/link.js";
39
- import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as We, RICH_TEXT_EDITOR_OUTPUT_FORMATS as Xe, RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS as F } from "./rich-text-editor-constants.js";
37
+ import F from "@tiptap/extension-mention";
38
+ import J from "../link/link.js";
39
+ import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as We, RICH_TEXT_EDITOR_OUTPUT_FORMATS as Xe, RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS as K } from "./rich-text-editor-constants.js";
40
40
  import Je from "../avatar/avatar.js";
41
41
  import Ye from "@dialpad/dialtone-icons/vue3/hash";
42
42
  import Ge from "@dialpad/dialtone-icons/vue3/lock";
@@ -46,14 +46,14 @@ const et = {
46
46
  compatConfig: { MODE: 3 },
47
47
  name: "EmojiComponent",
48
48
  components: {
49
- NodeViewWrapper: T,
50
- DtEmoji: W
49
+ NodeViewWrapper: R,
50
+ DtEmoji: X
51
51
  },
52
- props: R
52
+ props: L
53
53
  };
54
54
  function tt(e, t, o, n, i, r) {
55
55
  const s = d("dt-emoji"), a = d("node-view-wrapper");
56
- return c(), m(a, { class: "d-d-inline-block d-va-bottom d-lh0" }, {
56
+ return l(), m(a, { class: "d-d-inline-block d-va-bottom d-lh0" }, {
57
57
  default: u(() => [
58
58
  f(s, {
59
59
  size: "500",
@@ -63,7 +63,7 @@ function tt(e, t, o, n, i, r) {
63
63
  _: 1
64
64
  });
65
65
  }
66
- const nt = /* @__PURE__ */ p(et, [["render", tt]]), ot = {
66
+ const nt = /* @__PURE__ */ g(et, [["render", tt]]), ot = {
67
67
  compatConfig: { MODE: 3 },
68
68
  name: "SuggestionList",
69
69
  components: {
@@ -142,34 +142,34 @@ const nt = /* @__PURE__ */ p(et, [["render", tt]]), ot = {
142
142
  };
143
143
  function st(e, t, o, n, i, r) {
144
144
  const s = d("dt-list-item");
145
- return c(), x("div", it, [
146
- ve(y("ul", rt, [
147
- (c(!0), x(Ie, null, Me(o.items, (a, l) => (c(), m(s, {
145
+ return l(), _("div", it, [
146
+ Ie(y("ul", rt, [
147
+ (l(!0), _(Me, null, Oe(o.items, (a, c) => (l(), m(s, {
148
148
  key: a.id,
149
- class: Oe([
149
+ class: W([
150
150
  "d-suggestion-list__item",
151
- { "d-list-item--highlighted": l === i.selectedIndex }
151
+ { "d-list-item--highlighted": c === i.selectedIndex }
152
152
  ]),
153
153
  "navigation-type": "arrow-keys",
154
- onClick: (h) => r.selectItem(l),
154
+ onClick: (h) => r.selectItem(c),
155
155
  onKeydown: Ae(r.onKeyDown, ["prevent"])
156
156
  }, {
157
157
  default: u(() => [
158
- (c(), m(je(o.itemComponent), { item: a }, null, 8, ["item"]))
158
+ (l(), m(De(o.itemComponent), { item: a }, null, 8, ["item"]))
159
159
  ]),
160
160
  _: 2
161
161
  }, 1032, ["class", "onClick", "onKeydown"]))), 128))
162
162
  ], 512), [
163
- [Be, o.items.length]
163
+ [je, o.items.length]
164
164
  ])
165
165
  ]);
166
166
  }
167
- const O = /* @__PURE__ */ p(ot, [["render", st]]), at = {
167
+ const A = /* @__PURE__ */ g(ot, [["render", st]]), at = {
168
168
  compatConfig: { MODE: 3 },
169
169
  name: "EmojiSuggestion",
170
170
  components: {
171
- DtEmoji: W,
172
- DtStack: I
171
+ DtEmoji: X,
172
+ DtStack: M
173
173
  },
174
174
  props: {
175
175
  item: {
@@ -180,7 +180,7 @@ const O = /* @__PURE__ */ p(ot, [["render", st]]), at = {
180
180
  };
181
181
  function lt(e, t, o, n, i, r) {
182
182
  const s = d("dt-emoji"), a = d("dt-stack");
183
- return c(), m(a, {
183
+ return l(), m(a, {
184
184
  direction: "row",
185
185
  gap: "400"
186
186
  }, {
@@ -189,12 +189,12 @@ function lt(e, t, o, n, i, r) {
189
189
  size: "200",
190
190
  code: o.item.code
191
191
  }, null, 8, ["code"]),
192
- w(" " + g(o.item.code), 1)
192
+ k(" " + p(o.item.code), 1)
193
193
  ]),
194
194
  _: 1
195
195
  });
196
196
  }
197
- const dt = /* @__PURE__ */ p(at, [["render", lt]]), A = {
197
+ const ct = /* @__PURE__ */ g(at, [["render", lt]]), D = {
198
198
  name: "hideOnEsc",
199
199
  defaultValue: !0,
200
200
  fn({ hide: e }) {
@@ -210,18 +210,18 @@ const dt = /* @__PURE__ */ p(at, [["render", lt]]), A = {
210
210
  }
211
211
  };
212
212
  }
213
- }, ct = 20, ut = {
213
+ }, dt = 20, ut = {
214
214
  items: ({ query: e }) => {
215
215
  if (e.length < 2)
216
216
  return [];
217
- const t = Object.values(Fe);
217
+ const t = Object.values(Ve);
218
218
  return e = e.toLowerCase(), t.filter(
219
219
  (n) => [
220
220
  n.name,
221
221
  n.shortname.replaceAll(":", ""),
222
222
  ...n.keywords
223
223
  ].some((i) => i.startsWith(e))
224
- ).splice(0, ct).map((n) => ({ code: n.shortname }));
224
+ ).splice(0, dt).map((n) => ({ code: n.shortname }));
225
225
  },
226
226
  command: ({ editor: e, range: t, props: o }) => {
227
227
  var r, s;
@@ -237,14 +237,14 @@ const dt = /* @__PURE__ */ p(at, [["render", lt]]), A = {
237
237
  let e, t, o = !1;
238
238
  return {
239
239
  onStart: (n) => {
240
- e = new L(O, {
240
+ e = new v(A, {
241
241
  props: {
242
- itemComponent: v(dt),
242
+ itemComponent: I(ct),
243
243
  itemType: "emoji",
244
244
  ...n
245
245
  },
246
246
  editor: n.editor
247
- }), n.clientRect && (t = M("body", {
247
+ }), n.clientRect && (t = O("body", {
248
248
  getReferenceClientRect: n.clientRect,
249
249
  appendTo: () => document.body,
250
250
  content: e.element,
@@ -259,7 +259,7 @@ const dt = /* @__PURE__ */ p(at, [["render", lt]]), A = {
259
259
  trigger: "manual",
260
260
  placement: "top-start",
261
261
  zIndex: 650,
262
- plugins: [A]
262
+ plugins: [D]
263
263
  }), n.items.length > 0 && (t == null || t[0].show()));
264
264
  },
265
265
  onUpdate(n) {
@@ -277,14 +277,14 @@ const dt = /* @__PURE__ */ p(at, [["render", lt]]), A = {
277
277
  }
278
278
  };
279
279
  }
280
- }, mt = /(:\w+:)$/, ht = new RegExp(U + "$"), ft = (e) => {
281
- if (e && P(e[0]))
280
+ }, mt = /(:\w+:)$/, ht = new RegExp(z + "$"), ft = (e) => {
281
+ if (e && H(e[0]))
282
282
  return { text: e[2] || e[0] };
283
- }, pt = (e) => [...e.matchAll(Ve)].filter((o) => P(o[0])).map((o) => ({
283
+ }, pt = (e) => [...e.matchAll(Fe)].filter((o) => H(o[0])).map((o) => ({
284
284
  index: o.index,
285
285
  text: o[0],
286
286
  match: o
287
- })), gt = Z.create({
287
+ })), gt = ee.create({
288
288
  name: "emoji",
289
289
  addOptions() {
290
290
  return {
@@ -313,22 +313,22 @@ const dt = /* @__PURE__ */ p(at, [["render", lt]]), A = {
313
313
  ];
314
314
  },
315
315
  renderText({ node: e }) {
316
- return Pe(P(e.attrs.code).unicode_output);
316
+ return Pe(H(e.attrs.code).unicode_output);
317
317
  },
318
318
  renderHTML({ HTMLAttributes: e }) {
319
- return ["emoji-component", k(this.options.HTMLAttributes, e)];
319
+ return ["emoji-component", x(this.options.HTMLAttributes, e)];
320
320
  },
321
321
  addInputRules() {
322
322
  return [
323
- new ee({
323
+ new te({
324
324
  find: (e) => {
325
325
  const t = e.match(mt) || e.match(ht);
326
326
  if (t)
327
327
  return ft(t);
328
328
  },
329
329
  handler: ({ state: e, range: t, match: o, commands: n, chain: i, can: r }) => {
330
- const { tr: s } = e, a = t.from, l = t.to;
331
- s.replaceWith(a, l, this.type.create({ code: o[0] }));
330
+ const { tr: s } = e, a = t.from, c = t.to;
331
+ s.replaceWith(a, c, this.type.create({ code: o[0] }));
332
332
  }
333
333
  })
334
334
  ];
@@ -359,7 +359,7 @@ const dt = /* @__PURE__ */ p(at, [["render", lt]]), A = {
359
359
  return [
360
360
  $e({
361
361
  char: ":",
362
- pluginKey: new C("emoji"),
362
+ pluginKey: new E("emoji"),
363
363
  editor: this.editor,
364
364
  ...this.options.suggestion,
365
365
  ...ut
@@ -387,10 +387,10 @@ function _t(e, t, o = () => !0) {
387
387
  o(e, i) && n.push(i);
388
388
  return n;
389
389
  }
390
- function yt(e, t) {
390
+ function wt(e, t) {
391
391
  return !["#", "@"].includes(e.charAt(t.index)) && !["#", "@"].includes(e.charAt(t.index - 1));
392
392
  }
393
- function wt(e) {
393
+ function yt(e) {
394
394
  const t = new RegExp(
395
395
  "(?:" + [
396
396
  `[!?.,:;'"]`,
@@ -416,65 +416,65 @@ function kt(e, t) {
416
416
  to: n + t
417
417
  };
418
418
  }
419
- function D(e, t, o, n) {
419
+ function P(e, t, o, n) {
420
420
  const i = kt(e, t);
421
421
  if (n.lastIndex = 0, !n.test(i.text))
422
422
  return i;
423
423
  const r = o === "left" ? i.from - 1 : i.to + 1;
424
- return r <= 0 || r >= e.length || r === t ? i : D(e, r, o, n);
424
+ return r <= 0 || r >= e.length || r === t ? i : P(e, r, o, n);
425
425
  }
426
426
  function bt(e, t, o, n) {
427
- const i = Math.max(e.from - 1, 0), r = Math.min(e.to + 1, t.content.size), s = te(i, r, t);
427
+ const i = Math.max(e.from - 1, 0), r = Math.min(e.to + 1, t.content.size), s = ne(i, r, t);
428
428
  for (const a of s)
429
429
  a.mark.type === n && o.removeMark(a.from, a.to, n);
430
430
  }
431
- const K = Ne(1, 15);
432
- function q(e, t, o, n, i, r) {
431
+ const q = Ne(1, 15);
432
+ function N(e, t, o, n, i, r) {
433
433
  if (!e)
434
434
  return;
435
435
  let s = o - t - 1;
436
436
  s = s < 0 ? 0 : s;
437
- const a = n - t, l = D(
437
+ const a = n - t, c = P(
438
438
  e,
439
439
  s,
440
440
  "left",
441
- K
442
- ), h = D(
441
+ q
442
+ ), h = P(
443
443
  e,
444
444
  a,
445
445
  "right",
446
- K
447
- ), _ = e.slice(l.from, h.to);
448
- _t(_, qe, yt).forEach((j) => {
449
- const b = wt(j[0]), S = t + l.from + j.index + 1, J = S + b.length;
450
- i.addMark(S, J, r.create());
446
+ q
447
+ ), w = e.slice(c.from, h.to);
448
+ _t(w, qe, wt).forEach((j) => {
449
+ const C = yt(j[0]), T = t + c.from + j.index + 1, Y = T + C.length;
450
+ i.addMark(T, Y, r.create());
451
451
  });
452
452
  }
453
453
  function xt(e) {
454
454
  let t = !1;
455
- return new Le({
456
- key: new C("autolink"),
455
+ return new ve({
456
+ key: new E("autolink"),
457
457
  appendTransaction: (o, n, i) => {
458
- const r = o.some((_) => _.docChanged) && !n.doc.eq(i.doc);
458
+ const r = o.some((w) => w.docChanged) && !n.doc.eq(i.doc);
459
459
  if (t && !r)
460
460
  return;
461
461
  const { tr: s } = i, { textContent: a } = i.doc;
462
- t || q(a, 0, 0, a.length, s, e.type), t = !0;
463
- const l = ne(
462
+ t || N(a, 0, 0, a.length, s, e.type), t = !0;
463
+ const c = oe(
464
464
  n.doc,
465
465
  [...o]
466
466
  );
467
- return oe(l).forEach(({ oldRange: _, newRange: E }) => {
468
- bt(E, i.doc, s, e.type), ie(
467
+ return ie(c).forEach(({ oldRange: w, newRange: S }) => {
468
+ bt(S, i.doc, s, e.type), re(
469
469
  i.doc,
470
- E,
471
- (b) => b.isTextblock
472
- ).forEach(({ node: b, pos: S }) => {
473
- q(
474
- b.textContent,
475
- S,
476
- _.from,
477
- E.to,
470
+ S,
471
+ (C) => C.isTextblock
472
+ ).forEach(({ node: C, pos: T }) => {
473
+ N(
474
+ C.textContent,
475
+ T,
476
+ w.from,
477
+ S.to,
478
478
  s,
479
479
  e.type
480
480
  );
@@ -486,12 +486,12 @@ function xt(e) {
486
486
  const Ct = {
487
487
  class: "d-link d-c-text d-d-inline-block d-wb-break-all",
488
488
  rel: "noopener noreferrer nofollow"
489
- }, Et = re.create({
489
+ }, Et = se.create({
490
490
  name: "CustomLink",
491
491
  renderHTML({ HTMLAttributes: e }) {
492
492
  return [
493
493
  "a",
494
- k(
494
+ x(
495
495
  this.options.HTMLAttributes,
496
496
  e,
497
497
  Ct
@@ -530,21 +530,21 @@ const Ct = {
530
530
  }
531
531
  };
532
532
  }
533
- }).configure({ inline: !0, allowBase64: !0 }), Tt = N.extend({
533
+ }).configure({ inline: !0, allowBase64: !0 }), Tt = U.extend({
534
534
  parseHTML() {
535
535
  return [{ tag: "div" }];
536
536
  },
537
537
  renderHTML({ HTMLAttributes: e }) {
538
- return ["div", k(this.options.HTMLAttributes, e), 0];
538
+ return ["div", x(this.options.HTMLAttributes, e), 0];
539
539
  }
540
540
  }), Rt = {
541
541
  compatConfig: { MODE: 3 },
542
542
  name: "MentionComponent",
543
543
  components: {
544
- NodeViewWrapper: T,
545
- DtLink: X
544
+ NodeViewWrapper: R,
545
+ DtLink: J
546
546
  },
547
- props: R,
547
+ props: L,
548
548
  computed: {
549
549
  text() {
550
550
  return "@" + this.$props.node.attrs.name;
@@ -553,11 +553,11 @@ const Ct = {
553
553
  };
554
554
  function Lt(e, t, o, n, i, r) {
555
555
  const s = d("dt-link"), a = d("node-view-wrapper");
556
- return c(), m(a, { class: "d-d-inline-block" }, {
556
+ return l(), m(a, { class: "d-d-inline-block" }, {
557
557
  default: u(() => [
558
558
  f(s, { kind: "mention" }, {
559
559
  default: u(() => [
560
- w(g(r.text), 1)
560
+ k(p(r.text), 1)
561
561
  ]),
562
562
  _: 1
563
563
  })
@@ -565,9 +565,9 @@ function Lt(e, t, o, n, i, r) {
565
565
  _: 1
566
566
  });
567
567
  }
568
- const $t = /* @__PURE__ */ p(Rt, [["render", Lt]]), vt = H.extend({
568
+ const vt = /* @__PURE__ */ g(Rt, [["render", Lt]]), $t = F.extend({
569
569
  addNodeView() {
570
- return $($t);
570
+ return $(vt);
571
571
  },
572
572
  parseHTML() {
573
573
  return [
@@ -593,21 +593,21 @@ const $t = /* @__PURE__ */ p(Rt, [["render", Lt]]), vt = H.extend({
593
593
  return `@${e.attrs.id}`;
594
594
  },
595
595
  renderHTML({ HTMLAttributes: e }) {
596
- return ["mention-component", k(this.options.HTMLAttributes, e)];
596
+ return ["mention-component", x(this.options.HTMLAttributes, e)];
597
597
  }
598
598
  }).configure({
599
599
  suggestion: {
600
600
  char: "@",
601
- pluginKey: new C("mentionSuggestion")
601
+ pluginKey: new E("mentionSuggestion")
602
602
  }
603
603
  }), It = {
604
604
  compatConfig: { MODE: 3 },
605
605
  name: "ChannelComponent",
606
606
  components: {
607
- NodeViewWrapper: T,
608
- DtLink: X
607
+ NodeViewWrapper: R,
608
+ DtLink: J
609
609
  },
610
- props: R,
610
+ props: L,
611
611
  computed: {
612
612
  text() {
613
613
  return "#" + this.$props.node.attrs.name;
@@ -616,11 +616,11 @@ const $t = /* @__PURE__ */ p(Rt, [["render", Lt]]), vt = H.extend({
616
616
  };
617
617
  function Mt(e, t, o, n, i, r) {
618
618
  const s = d("dt-link"), a = d("node-view-wrapper");
619
- return c(), m(a, { class: "d-d-inline-block" }, {
619
+ return l(), m(a, { class: "d-d-inline-block" }, {
620
620
  default: u(() => [
621
621
  f(s, { kind: "mention" }, {
622
622
  default: u(() => [
623
- w(g(r.text), 1)
623
+ k(p(r.text), 1)
624
624
  ]),
625
625
  _: 1
626
626
  })
@@ -628,7 +628,7 @@ function Mt(e, t, o, n, i, r) {
628
628
  _: 1
629
629
  });
630
630
  }
631
- const Ot = /* @__PURE__ */ p(It, [["render", Mt]]), At = H.extend({
631
+ const Ot = /* @__PURE__ */ g(It, [["render", Mt]]), At = F.extend({
632
632
  name: "channel",
633
633
  addNodeView() {
634
634
  return $(Ot);
@@ -657,20 +657,20 @@ const Ot = /* @__PURE__ */ p(It, [["render", Mt]]), At = H.extend({
657
657
  return `#${e.attrs.id}`;
658
658
  },
659
659
  renderHTML({ HTMLAttributes: e }) {
660
- return ["channel-component", k(this.options.HTMLAttributes, e)];
660
+ return ["channel-component", x(this.options.HTMLAttributes, e)];
661
661
  }
662
662
  }).configure({
663
663
  suggestion: {
664
664
  char: "#",
665
- pluginKey: new C("channelSuggestion")
665
+ pluginKey: new E("channelSuggestion")
666
666
  }
667
- }), jt = {
667
+ }), Dt = {
668
668
  compatConfig: { MODE: 3 },
669
669
  name: "SlashCommandsComponent",
670
670
  components: {
671
- NodeViewWrapper: T
671
+ NodeViewWrapper: R
672
672
  },
673
- props: R,
673
+ props: L,
674
674
  emits: ["selected-command"],
675
675
  computed: {
676
676
  text() {
@@ -681,28 +681,28 @@ const Ot = /* @__PURE__ */ p(It, [["render", Mt]]), At = H.extend({
681
681
  this.$parent.$emit("selected-command", this.$props.node.attrs.command);
682
682
  }
683
683
  };
684
- function Bt(e, t, o, n, i, r) {
684
+ function jt(e, t, o, n, i, r) {
685
685
  const s = d("node-view-wrapper");
686
- return c(), m(s, { class: "d-d-inline-block" }, {
686
+ return l(), m(s, { class: "d-d-inline-block" }, {
687
687
  default: u(() => [
688
- w(g(r.text), 1)
688
+ k(p(r.text), 1)
689
689
  ]),
690
690
  _: 1
691
691
  });
692
692
  }
693
- const Dt = /* @__PURE__ */ p(jt, [["render", Bt]]), Pt = (e, t) => [...e.matchAll(t)].map((n) => {
693
+ const Bt = /* @__PURE__ */ g(Dt, [["render", jt]]), Pt = (e, t) => [...e.matchAll(t)].map((n) => {
694
694
  let i = n[2];
695
695
  return i.endsWith(" ") || (i += " "), {
696
696
  index: n.index,
697
697
  text: i,
698
698
  match: n
699
699
  };
700
- }), Ht = H.extend({
700
+ }), Ht = F.extend({
701
701
  name: "slash-commands",
702
702
  group: "inline",
703
703
  inline: !0,
704
704
  addNodeView() {
705
- return $(Dt);
705
+ return $(Bt);
706
706
  },
707
707
  parseHTML() {
708
708
  return [
@@ -728,13 +728,13 @@ const Dt = /* @__PURE__ */ p(jt, [["render", Bt]]), Pt = (e, t) => [...e.matchAl
728
728
  return `/${e.attrs.command}`;
729
729
  },
730
730
  renderHTML({ HTMLAttributes: e }) {
731
- return ["command-component", k(this.options.HTMLAttributes, e)];
731
+ return ["command-component", x(this.options.HTMLAttributes, e)];
732
732
  },
733
733
  addInputRules() {
734
734
  var o;
735
735
  const e = (o = this.options.suggestion) == null ? void 0 : o.items({ query: "" }).map((n) => n.command), t = new RegExp(`^((?:\\/)(${e.join("|")})) $`);
736
736
  return [
737
- se({
737
+ ae({
738
738
  find: t,
739
739
  type: this.type,
740
740
  getAttributes(n) {
@@ -759,14 +759,14 @@ const Dt = /* @__PURE__ */ p(jt, [["render", Bt]]), Pt = (e, t) => [...e.matchAl
759
759
  }).configure({
760
760
  suggestion: {
761
761
  char: "/",
762
- pluginKey: new C("slashCommandSuggestion")
762
+ pluginKey: new E("slashCommandSuggestion")
763
763
  }
764
- }), Vt = {
764
+ }), Ft = {
765
765
  compatConfig: { MODE: 3 },
766
766
  name: "MentionSuggestion",
767
767
  components: {
768
768
  DtAvatar: Je,
769
- DtStack: I
769
+ DtStack: M
770
770
  },
771
771
  props: {
772
772
  item: {
@@ -780,13 +780,40 @@ const Dt = /* @__PURE__ */ p(jt, [["render", Bt]]), Pt = (e, t) => [...e.matchAl
780
780
  },
781
781
  avatarSrc() {
782
782
  return this.item.avatarSrc;
783
+ },
784
+ presence() {
785
+ return this.item.presence;
786
+ },
787
+ status() {
788
+ return this.item.status;
789
+ },
790
+ presenceText() {
791
+ return this.item.presenceText;
792
+ },
793
+ presenceFontColorClass() {
794
+ return {
795
+ active: "d-recipe-contact-row--active",
796
+ busy: "d-recipe-contact-row--busy",
797
+ away: "d-recipe-contact-row--away",
798
+ offline: "d-recipe-contact-row--busy"
799
+ }[this.presence];
800
+ },
801
+ showDetails() {
802
+ return this.item.showDetails;
783
803
  }
784
804
  }
785
- }, Ft = { class: "d-mention-suggestion__name" };
786
- function Kt(e, t, o, n, i, r) {
805
+ }, Vt = { class: "d-mention-suggestion__name" }, Kt = {
806
+ key: 1,
807
+ class: "d-mention-suggestion__divider"
808
+ }, qt = {
809
+ key: 2,
810
+ class: "d-mention-suggestion__status"
811
+ };
812
+ function Nt(e, t, o, n, i, r) {
787
813
  const s = d("dt-avatar"), a = d("dt-stack");
788
- return c(), m(a, {
814
+ return l(), m(a, {
789
815
  direction: "row",
816
+ class: "d-mention-suggestion__container",
790
817
  gap: "400"
791
818
  }, {
792
819
  default: u(() => [
@@ -794,14 +821,40 @@ function Kt(e, t, o, n, i, r) {
794
821
  "full-name": r.name,
795
822
  "image-src": r.avatarSrc,
796
823
  "image-alt": r.name,
797
- size: "xs"
798
- }, null, 8, ["full-name", "image-src", "image-alt"]),
799
- y("span", Ft, g(r.name), 1)
824
+ "show-presence": r.showDetails,
825
+ presence: r.presence,
826
+ size: "sm"
827
+ }, null, 8, ["full-name", "image-src", "image-alt", "show-presence", "presence"]),
828
+ f(a, {
829
+ class: "d-mention-suggestion__details-container",
830
+ gap: "100"
831
+ }, {
832
+ default: u(() => [
833
+ y("span", Vt, p(r.name), 1),
834
+ r.showDetails ? (l(), m(a, {
835
+ key: 0,
836
+ direction: "row",
837
+ gap: "300",
838
+ class: "d-label--sm-plain"
839
+ }, {
840
+ default: u(() => [
841
+ r.presenceText ? (l(), _("span", {
842
+ key: 0,
843
+ class: W(["d-mention-suggestion__presence", [r.presenceFontColorClass]])
844
+ }, p(r.presenceText), 3)) : b("", !0),
845
+ r.status && r.presenceText ? (l(), _("div", Kt, " • ")) : b("", !0),
846
+ r.status ? (l(), _("div", qt, p(r.status), 1)) : b("", !0)
847
+ ]),
848
+ _: 1
849
+ })) : b("", !0)
850
+ ]),
851
+ _: 1
852
+ })
800
853
  ]),
801
854
  _: 1
802
855
  });
803
856
  }
804
- const qt = /* @__PURE__ */ p(Vt, [["render", Kt]]), Nt = {
857
+ const Ut = /* @__PURE__ */ g(Ft, [["render", Nt], ["__scopeId", "data-v-19e00c7c"]]), zt = {
805
858
  // This function comes from the user and passed to the editor directly.
806
859
  // This will also activate the mention plugin on the editor
807
860
  // items: ({ query }) => { return [] },
@@ -810,14 +863,14 @@ const qt = /* @__PURE__ */ p(Vt, [["render", Kt]]), Nt = {
810
863
  let e, t, o = !1;
811
864
  return {
812
865
  onStart: (n) => {
813
- e = new L(O, {
866
+ e = new v(A, {
814
867
  props: {
815
- itemComponent: v(qt),
868
+ itemComponent: I(Ut),
816
869
  itemType: "mention",
817
870
  ...n
818
871
  },
819
872
  editor: n.editor
820
- }), n.clientRect && (t = M("body", {
873
+ }), n.clientRect && (t = O("body", {
821
874
  getReferenceClientRect: n.clientRect,
822
875
  appendTo: () => document.body,
823
876
  content: e.element,
@@ -832,7 +885,7 @@ const qt = /* @__PURE__ */ p(Vt, [["render", Kt]]), Nt = {
832
885
  trigger: "manual",
833
886
  placement: "top-start",
834
887
  zIndex: 650,
835
- plugins: [A]
888
+ plugins: [D]
836
889
  }), n.items.length > 0 && (t == null || t[0].show()));
837
890
  },
838
891
  onUpdate(n) {
@@ -850,11 +903,11 @@ const qt = /* @__PURE__ */ p(Vt, [["render", Kt]]), Nt = {
850
903
  }
851
904
  };
852
905
  }
853
- }, Ut = {
906
+ }, Wt = {
854
907
  compatConfig: { MODE: 3 },
855
908
  name: "ChannelSuggestion",
856
909
  components: {
857
- DtStack: I,
910
+ DtStack: M,
858
911
  DtIconHash: Ye,
859
912
  DtIconLock: Ge
860
913
  },
@@ -870,26 +923,26 @@ const qt = /* @__PURE__ */ p(Vt, [["render", Kt]]), Nt = {
870
923
  }
871
924
  }
872
925
  };
873
- function zt(e, t, o, n, i, r) {
874
- const s = d("dt-icon-hash"), a = d("dt-icon-lock"), l = d("dt-stack");
875
- return c(), m(l, {
926
+ function Xt(e, t, o, n, i, r) {
927
+ const s = d("dt-icon-hash"), a = d("dt-icon-lock"), c = d("dt-stack");
928
+ return l(), m(c, {
876
929
  direction: "row",
877
930
  gap: "400"
878
931
  }, {
879
932
  default: u(() => [
880
- o.item.locked ? (c(), m(a, {
933
+ o.item.locked ? (l(), m(a, {
881
934
  key: 1,
882
935
  size: "300"
883
- })) : (c(), m(s, {
936
+ })) : (l(), m(s, {
884
937
  key: 0,
885
938
  size: "300"
886
939
  })),
887
- y("span", null, g(r.name), 1)
940
+ y("span", null, p(r.name), 1)
888
941
  ]),
889
942
  _: 1
890
943
  });
891
944
  }
892
- const Wt = /* @__PURE__ */ p(Ut, [["render", zt]]), Xt = {
945
+ const Jt = /* @__PURE__ */ g(Wt, [["render", Xt]]), Yt = {
893
946
  // This function comes from the user and passed to the editor directly.
894
947
  // This will also activate the mention plugin on the editor
895
948
  // items: ({ query }) => { return [] },
@@ -898,14 +951,14 @@ const Wt = /* @__PURE__ */ p(Ut, [["render", zt]]), Xt = {
898
951
  let e, t, o = !1;
899
952
  return {
900
953
  onStart: (n) => {
901
- e = new L(O, {
954
+ e = new v(A, {
902
955
  props: {
903
- itemComponent: v(Wt),
956
+ itemComponent: I(Jt),
904
957
  itemType: "channel",
905
958
  ...n
906
959
  },
907
960
  editor: n.editor
908
- }), n.clientRect && (t = M("body", {
961
+ }), n.clientRect && (t = O("body", {
909
962
  getReferenceClientRect: n.clientRect,
910
963
  appendTo: () => document.body,
911
964
  content: e.element,
@@ -920,7 +973,7 @@ const Wt = /* @__PURE__ */ p(Ut, [["render", zt]]), Xt = {
920
973
  trigger: "manual",
921
974
  placement: "top-start",
922
975
  zIndex: 650,
923
- plugins: [A]
976
+ plugins: [D]
924
977
  }), n.items.length > 0 && (t == null || t[0].show()));
925
978
  },
926
979
  onUpdate(n) {
@@ -938,7 +991,7 @@ const Wt = /* @__PURE__ */ p(Ut, [["render", zt]]), Xt = {
938
991
  }
939
992
  };
940
993
  }
941
- }, Jt = {
994
+ }, Gt = {
942
995
  compatConfig: { MODE: 3 },
943
996
  name: "SlashCommandSuggestion",
944
997
  props: {
@@ -958,17 +1011,17 @@ const Wt = /* @__PURE__ */ p(Ut, [["render", zt]]), Xt = {
958
1011
  return this.item.parametersExample;
959
1012
  }
960
1013
  }
961
- }, Yt = { class: "d-body--md-compact" }, Gt = { key: 0 }, Qt = { class: "d-body--sm d-fc-tertiary" };
962
- function Zt(e, t, o, n, i, r) {
963
- return c(), x("div", null, [
964
- y("div", Yt, [
965
- y("span", null, "/" + g(r.command), 1),
966
- r.parametersExample ? (c(), x("span", Gt, g(r.parametersExample), 1)) : z("", !0)
1014
+ }, Qt = { class: "d-body--md-compact" }, Zt = { key: 0 }, en = { class: "d-body--sm d-fc-tertiary" };
1015
+ function tn(e, t, o, n, i, r) {
1016
+ return l(), _("div", null, [
1017
+ y("div", Qt, [
1018
+ y("span", null, "/" + p(r.command), 1),
1019
+ r.parametersExample ? (l(), _("span", Zt, p(r.parametersExample), 1)) : b("", !0)
967
1020
  ]),
968
- y("div", Qt, g(r.description), 1)
1021
+ y("div", en, p(r.description), 1)
969
1022
  ]);
970
1023
  }
971
- const en = /* @__PURE__ */ p(Jt, [["render", Zt]]), tn = {
1024
+ const nn = /* @__PURE__ */ g(Gt, [["render", tn]]), on = {
972
1025
  // This function comes from the user and passed to the editor directly.
973
1026
  // This will also activate the mention plugin on the editor
974
1027
  // items: ({ query }) => { return [] },
@@ -978,15 +1031,15 @@ const en = /* @__PURE__ */ p(Jt, [["render", Zt]]), tn = {
978
1031
  let e, t, o = !1;
979
1032
  return {
980
1033
  onStart: (n) => {
981
- e = new L(O, {
1034
+ e = new v(A, {
982
1035
  parent: void 0,
983
1036
  props: {
984
- itemComponent: v(en),
1037
+ itemComponent: I(nn),
985
1038
  itemType: "slash-command",
986
1039
  ...n
987
1040
  },
988
1041
  editor: n.editor
989
- }), n.clientRect && (t = M("body", {
1042
+ }), n.clientRect && (t = O("body", {
990
1043
  getReferenceClientRect: n.clientRect,
991
1044
  appendTo: () => document.body,
992
1045
  content: e.element,
@@ -1001,7 +1054,7 @@ const en = /* @__PURE__ */ p(Jt, [["render", Zt]]), tn = {
1001
1054
  trigger: "manual",
1002
1055
  placement: "top-start",
1003
1056
  zIndex: 650,
1004
- plugins: [A]
1057
+ plugins: [D]
1005
1058
  }), n.items.length > 0 && (t == null || t[0].show()));
1006
1059
  },
1007
1060
  onUpdate(n) {
@@ -1019,14 +1072,14 @@ const en = /* @__PURE__ */ p(Jt, [["render", Zt]]), tn = {
1019
1072
  }
1020
1073
  };
1021
1074
  }
1022
- }, nn = {
1075
+ }, rn = {
1023
1076
  compatConfig: { MODE: 3 },
1024
1077
  name: "DtRichTextEditor",
1025
1078
  components: {
1026
- EditorContent: Y,
1027
- BubbleMenu: G,
1079
+ EditorContent: G,
1080
+ BubbleMenu: Q,
1028
1081
  DtButton: Ze,
1029
- DtStack: I
1082
+ DtStack: M
1030
1083
  },
1031
1084
  props: {
1032
1085
  /**
@@ -1376,15 +1429,15 @@ const en = /* @__PURE__ */ p(Jt, [["render", Zt]]), tn = {
1376
1429
  },
1377
1430
  // eslint-disable-next-line complexity
1378
1431
  extensions() {
1379
- const e = [ue, xe, Ee, me];
1380
- e.push(this.useDivTags ? Tt : N), this.allowBlockquote && e.push(le), this.allowBold && e.push(fe), this.allowBulletList && (e.push(pe), e.push(ye.extend({
1432
+ const e = [me, Ce, Se, he];
1433
+ e.push(this.useDivTags ? Tt : U), this.allowBlockquote && e.push(ce), this.allowBold && e.push(pe), this.allowBulletList && (e.push(ge), e.push(ye.extend({
1381
1434
  renderText({ node: n }) {
1382
1435
  return n.textContent;
1383
1436
  }
1384
- })), e.push(we)), this.allowItalic && e.push(ge), this.allowStrike && e.push(ke), this.allowUnderline && e.push(be), this.placeholder && e.push(
1385
- he.configure({ placeholder: this.placeholder })
1437
+ })), e.push(ke)), this.allowItalic && e.push(_e), this.allowStrike && e.push(be), this.allowUnderline && e.push(xe), this.placeholder && e.push(
1438
+ fe.configure({ placeholder: this.placeholder })
1386
1439
  );
1387
- const t = this, o = ae.create({
1440
+ const t = this, o = le.create({
1388
1441
  addKeyboardShortcuts() {
1389
1442
  return {
1390
1443
  "Shift-Enter": ({ editor: n }) => t.allowLineBreaks ? !1 : (n.commands.first(({ commands: i }) => [
@@ -1398,29 +1451,28 @@ const en = /* @__PURE__ */ p(Jt, [["render", Zt]]), tn = {
1398
1451
  };
1399
1452
  }
1400
1453
  });
1401
- if (e.push(o), this.link && e.push(_e.extend({ inclusive: !1 }).configure({
1454
+ if (e.push(o), this.link && e.push(we.extend({ inclusive: !1 }).configure({
1402
1455
  HTMLAttributes: {
1403
1456
  class: "d-link d-wb-break-all"
1404
1457
  },
1405
1458
  openOnClick: !1,
1406
1459
  autolink: !0,
1407
- protocols: F
1460
+ protocols: K
1408
1461
  })), this.customLink && e.push(this.getExtension(Et, this.customLink)), this.mentionSuggestion) {
1409
- const n = { ...this.mentionSuggestion, ...Nt };
1410
- e.push(vt.configure({ suggestion: n }));
1462
+ const n = { ...this.mentionSuggestion, ...zt };
1463
+ e.push($t.configure({ suggestion: n }));
1411
1464
  }
1412
1465
  if (this.channelSuggestion) {
1413
- const n = { ...this.channelSuggestion, ...Xt };
1466
+ const n = { ...this.channelSuggestion, ...Yt };
1414
1467
  e.push(At.configure({ suggestion: n }));
1415
1468
  }
1416
1469
  if (this.slashCommandSuggestion) {
1417
- const n = { ...this.slashCommandSuggestion, ...tn };
1470
+ const n = { ...this.slashCommandSuggestion, ...on };
1418
1471
  e.push(Ht.configure({ suggestion: n }));
1419
1472
  }
1420
- return e.push(gt), e.push(Ce.configure({
1421
- types: ["paragraph"],
1422
- defaultAlignment: "left"
1423
- })), this.allowCode && e.push(ce), this.allowCodeblock && e.push(de.extend({
1473
+ return e.push(gt), e.push(Ee.configure({
1474
+ types: ["paragraph"]
1475
+ })), this.allowCode && e.push(ue), this.allowCodeblock && e.push(de.extend({
1424
1476
  renderText({ node: n }) {
1425
1477
  return `\`\`\`
1426
1478
  ${n.textContent}
@@ -1430,7 +1482,7 @@ ${n.textContent}
1430
1482
  HTMLAttributes: {
1431
1483
  class: "d-rich-text-editor__code-block"
1432
1484
  }
1433
- })), this.allowInlineImages && e.push(St), (this.allowFontFamily || this.allowFontColor) && (e.push(Se), this.allowFontColor && e.push(Te), this.allowFontFamily && e.push(Re)), this.additionalExtensions.length && e.push(...this.additionalExtensions), e;
1485
+ })), this.allowInlineImages && e.push(St), (this.allowFontFamily || this.allowFontColor) && (e.push(Te), this.allowFontColor && e.push(Re), this.allowFontFamily && e.push(Le)), this.additionalExtensions.length && e.push(...this.additionalExtensions), e;
1434
1486
  },
1435
1487
  inputAttrs() {
1436
1488
  const e = {
@@ -1474,7 +1526,7 @@ ${n.textContent}
1474
1526
  },
1475
1527
  methods: {
1476
1528
  createEditor() {
1477
- this.editor = new Q({
1529
+ this.editor = new Z({
1478
1530
  autofocus: this.autoFocus,
1479
1531
  content: this.modelValue,
1480
1532
  editable: this.editable,
@@ -1514,9 +1566,9 @@ ${n.textContent}
1514
1566
  * @param editor the editor instance.
1515
1567
  */
1516
1568
  getSelectedLinkText(e) {
1517
- var a, l, h;
1569
+ var a, c, h;
1518
1570
  const { view: t, state: o } = e, { from: n, to: i } = t.state.selection, r = o.doc.textBetween(n, i, ""), s = this.editor.state.doc.nodeAt(n);
1519
- return s && ((h = (l = (a = s.marks) == null ? void 0 : a.at(0)) == null ? void 0 : l.type) == null ? void 0 : h.name) === "link" ? s.textContent : r;
1571
+ return s && ((h = (c = (a = s.marks) == null ? void 0 : a.at(0)) == null ? void 0 : c.type) == null ? void 0 : h.name) === "link" ? s.textContent : r;
1520
1572
  },
1521
1573
  editLink() {
1522
1574
  const e = this.getSelectedLinkText(this.editor), t = {
@@ -1536,14 +1588,14 @@ ${n.textContent}
1536
1588
  window.open(e, "_blank");
1537
1589
  },
1538
1590
  // eslint-disable-next-line complexity
1539
- setLink(e, t, o, n = F, i) {
1540
- var a, l, h;
1591
+ setLink(e, t, o, n = K, i) {
1592
+ var a, c, h;
1541
1593
  if (!e) {
1542
1594
  this.removeLink();
1543
1595
  return;
1544
1596
  }
1545
- n.find((_) => _.test(e)) || (e = `${i}${e}`), this.editor.chain().focus().extendMarkRange("link").run();
1546
- const s = (h = (l = (a = this.editor) == null ? void 0 : a.view) == null ? void 0 : l.state) == null ? void 0 : h.selection;
1597
+ n.find((w) => w.test(e)) || (e = `${i}${e}`), this.editor.chain().focus().extendMarkRange("link").run();
1598
+ const s = (h = (c = (a = this.editor) == null ? void 0 : a.view) == null ? void 0 : c.state) == null ? void 0 : h.selection;
1547
1599
  this.editor.chain().focus().insertContent(t).setTextSelection({ from: s.from, to: s.from + t.length }).setLink({ href: e, class: o.class }).run();
1548
1600
  },
1549
1601
  // eslint-disable-next-line complexity
@@ -1551,7 +1603,7 @@ ${n.textContent}
1551
1603
  const o = this.getOutput();
1552
1604
  if (!(t && Qe(e, o))) {
1553
1605
  if (typeof e == "string" && this.outputFormat === "text") {
1554
- const n = new RegExp(`(${U})`, "g");
1606
+ const n = new RegExp(`(${z})`, "g");
1555
1607
  e = e == null ? void 0 : e.replace(n, '<emoji-component code="$1"></emoji-component>');
1556
1608
  }
1557
1609
  this.editor.commands.setContent(e, !1);
@@ -1624,11 +1676,11 @@ ${n.textContent}
1624
1676
  this.editor.commands.focus();
1625
1677
  }
1626
1678
  }
1627
- }, on = { class: "d-popover__dialog" };
1628
- function rn(e, t, o, n, i, r) {
1629
- const s = d("dt-button"), a = d("dt-stack"), l = d("bubble-menu"), h = d("editor-content");
1630
- return c(), x("div", null, [
1631
- i.editor && o.link && !o.hideLinkBubbleMenu ? (c(), m(l, {
1679
+ }, sn = { class: "d-popover__dialog" };
1680
+ function an(e, t, o, n, i, r) {
1681
+ const s = d("dt-button"), a = d("dt-stack"), c = d("bubble-menu"), h = d("editor-content");
1682
+ return l(), _("div", null, [
1683
+ i.editor && o.link && !o.hideLinkBubbleMenu ? (l(), m(c, {
1632
1684
  key: 0,
1633
1685
  editor: i.editor,
1634
1686
  "should-show": r.bubbleMenuShouldShow,
@@ -1636,7 +1688,7 @@ function rn(e, t, o, n, i, r) {
1636
1688
  style: { visibility: "visible" }
1637
1689
  }, {
1638
1690
  default: u(() => [
1639
- y("div", on, [
1691
+ y("div", sn, [
1640
1692
  f(a, {
1641
1693
  direction: "row",
1642
1694
  class: "d-rich-text-editor-bubble-menu__button-stack",
@@ -1649,7 +1701,7 @@ function rn(e, t, o, n, i, r) {
1649
1701
  onClick: r.editLink
1650
1702
  }, {
1651
1703
  default: u(() => [
1652
- w(" Edit ")
1704
+ k(" Edit ")
1653
1705
  ]),
1654
1706
  _: 1
1655
1707
  }, 8, ["onClick"]),
@@ -1659,7 +1711,7 @@ function rn(e, t, o, n, i, r) {
1659
1711
  onClick: r.openLink
1660
1712
  }, {
1661
1713
  default: u(() => [
1662
- w(" Open link ")
1714
+ k(" Open link ")
1663
1715
  ]),
1664
1716
  _: 1
1665
1717
  }, 8, ["onClick"]),
@@ -1669,7 +1721,7 @@ function rn(e, t, o, n, i, r) {
1669
1721
  onClick: r.removeLink
1670
1722
  }, {
1671
1723
  default: u(() => [
1672
- w(" Remove ")
1724
+ k(" Remove ")
1673
1725
  ]),
1674
1726
  _: 1
1675
1727
  }, 8, ["onClick"])
@@ -1679,8 +1731,8 @@ function rn(e, t, o, n, i, r) {
1679
1731
  ])
1680
1732
  ]),
1681
1733
  _: 1
1682
- }, 8, ["editor", "should-show", "tippy-options"])) : z("", !0),
1683
- f(h, De({
1734
+ }, 8, ["editor", "should-show", "tippy-options"])) : b("", !0),
1735
+ f(h, Be({
1684
1736
  ref: "editor",
1685
1737
  editor: i.editor,
1686
1738
  class: "d-rich-text-editor",
@@ -1688,8 +1740,8 @@ function rn(e, t, o, n, i, r) {
1688
1740
  }, r.attrs), null, 16, ["editor"])
1689
1741
  ]);
1690
1742
  }
1691
- const Yn = /* @__PURE__ */ p(nn, [["render", rn]]);
1743
+ const Qn = /* @__PURE__ */ g(rn, [["render", an]]);
1692
1744
  export {
1693
- Yn as default
1745
+ Qn as default
1694
1746
  };
1695
1747
  //# sourceMappingURL=rich-text-editor.js.map