@dialpad/dialtone 9.126.5 → 9.127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/README.md +1 -1
  2. package/dist/tokens/doc.json +29906 -29906
  3. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  4. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  5. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +7 -7
  6. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  7. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  8. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  9. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +5 -5
  10. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  11. package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
  12. package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
  13. package/dist/vue2/lib/datepicker/datepicker.js +10 -10
  14. package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
  15. package/dist/vue2/lib/dropdown/dropdown.cjs +1 -1
  16. package/dist/vue2/lib/dropdown/dropdown.cjs.map +1 -1
  17. package/dist/vue2/lib/dropdown/dropdown.js +24 -26
  18. package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
  19. package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  20. package/dist/vue2/lib/emoji-picker/emoji-picker.js +1 -0
  21. package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
  22. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +3 -3
  23. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  24. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +65 -65
  25. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  26. package/dist/vue2/lib/toast/toast.cjs.map +1 -1
  27. package/dist/vue2/lib/toast/toast.js.map +1 -1
  28. package/dist/vue2/localization/de-DE.cjs +1 -13
  29. package/dist/vue2/localization/de-DE.cjs.map +1 -1
  30. package/dist/vue2/localization/de-DE.js +1 -13
  31. package/dist/vue2/localization/de-DE.js.map +1 -1
  32. package/dist/vue2/localization/es-LA.cjs +1 -13
  33. package/dist/vue2/localization/es-LA.cjs.map +1 -1
  34. package/dist/vue2/localization/es-LA.js +1 -13
  35. package/dist/vue2/localization/es-LA.js.map +1 -1
  36. package/dist/vue2/localization/fr-FR.cjs +1 -13
  37. package/dist/vue2/localization/fr-FR.cjs.map +1 -1
  38. package/dist/vue2/localization/fr-FR.js +1 -13
  39. package/dist/vue2/localization/fr-FR.js.map +1 -1
  40. package/dist/vue2/localization/it-IT.cjs +1 -13
  41. package/dist/vue2/localization/it-IT.cjs.map +1 -1
  42. package/dist/vue2/localization/it-IT.js +1 -13
  43. package/dist/vue2/localization/it-IT.js.map +1 -1
  44. package/dist/vue2/localization/ja-JP.cjs +1 -8
  45. package/dist/vue2/localization/ja-JP.cjs.map +1 -1
  46. package/dist/vue2/localization/ja-JP.js +1 -8
  47. package/dist/vue2/localization/ja-JP.js.map +1 -1
  48. package/dist/vue2/localization/nl-NL.cjs +1 -13
  49. package/dist/vue2/localization/nl-NL.cjs.map +1 -1
  50. package/dist/vue2/localization/nl-NL.js +1 -13
  51. package/dist/vue2/localization/nl-NL.js.map +1 -1
  52. package/dist/vue2/localization/pt-BR.cjs +1 -13
  53. package/dist/vue2/localization/pt-BR.cjs.map +1 -1
  54. package/dist/vue2/localization/pt-BR.js +1 -13
  55. package/dist/vue2/localization/pt-BR.js.map +1 -1
  56. package/dist/vue2/localization/ru-RU.cjs +1 -23
  57. package/dist/vue2/localization/ru-RU.cjs.map +1 -1
  58. package/dist/vue2/localization/ru-RU.js +1 -23
  59. package/dist/vue2/localization/ru-RU.js.map +1 -1
  60. package/dist/vue2/localization/zh-CN.cjs +1 -8
  61. package/dist/vue2/localization/zh-CN.cjs.map +1 -1
  62. package/dist/vue2/localization/zh-CN.js +1 -8
  63. package/dist/vue2/localization/zh-CN.js.map +1 -1
  64. package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
  65. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  66. package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
  67. package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +1 -1
  68. package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
  69. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +1 -1
  70. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  71. package/dist/vue3/common/mixins/index.cjs +1 -1
  72. package/dist/vue3/common/mixins/index.js +8 -10
  73. package/dist/vue3/common/mixins/index.js.map +1 -1
  74. package/dist/vue3/common/utils/index.cjs +1 -1
  75. package/dist/vue3/common/utils/index.cjs.map +1 -1
  76. package/dist/vue3/common/utils/index.js +42 -38
  77. package/dist/vue3/common/utils/index.js.map +1 -1
  78. package/dist/vue3/component-documentation.json +1 -1
  79. package/dist/vue3/dialtone-vue.cjs +1 -1
  80. package/dist/vue3/dialtone-vue.js +298 -299
  81. package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs +1 -1
  82. package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
  83. package/dist/vue3/lib/attachment-carousel/attachment-carousel.js +86 -110
  84. package/dist/vue3/lib/attachment-carousel/attachment-carousel.js.map +1 -1
  85. package/dist/vue3/lib/banner/banner.cjs +2 -2
  86. package/dist/vue3/lib/banner/banner.cjs.map +1 -1
  87. package/dist/vue3/lib/banner/banner.js +27 -38
  88. package/dist/vue3/lib/banner/banner.js.map +1 -1
  89. package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs +1 -1
  90. package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
  91. package/dist/vue3/lib/breadcrumbs/breadcrumbs.js +20 -18
  92. package/dist/vue3/lib/breadcrumbs/breadcrumbs.js.map +1 -1
  93. package/dist/vue3/lib/button/button.cjs +1 -1
  94. package/dist/vue3/lib/button/button.cjs.map +1 -1
  95. package/dist/vue3/lib/button/button.js +26 -24
  96. package/dist/vue3/lib/button/button.js.map +1 -1
  97. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  98. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  99. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +36 -41
  100. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  101. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  102. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  103. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js +35 -37
  104. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  105. package/dist/vue3/lib/chip/chip.cjs +1 -1
  106. package/dist/vue3/lib/chip/chip.cjs.map +1 -1
  107. package/dist/vue3/lib/chip/chip.js +54 -57
  108. package/dist/vue3/lib/chip/chip.js.map +1 -1
  109. package/dist/vue3/lib/combobox/combobox-constants.cjs +1 -1
  110. package/dist/vue3/lib/combobox/combobox-constants.cjs.map +1 -1
  111. package/dist/vue3/lib/combobox/combobox-constants.js +2 -2
  112. package/dist/vue3/lib/combobox/combobox-constants.js.map +1 -1
  113. package/dist/vue3/lib/combobox/combobox-empty-list.cjs.map +1 -1
  114. package/dist/vue3/lib/combobox/combobox-empty-list.js.map +1 -1
  115. package/dist/vue3/lib/combobox/combobox-loading-list.cjs.map +1 -1
  116. package/dist/vue3/lib/combobox/combobox-loading-list.js.map +1 -1
  117. package/dist/vue3/lib/combobox/combobox.cjs +2 -2
  118. package/dist/vue3/lib/combobox/combobox.cjs.map +1 -1
  119. package/dist/vue3/lib/combobox/combobox.js +20 -20
  120. package/dist/vue3/lib/combobox/combobox.js.map +1 -1
  121. package/dist/vue3/lib/combobox/index.cjs +1 -1
  122. package/dist/vue3/lib/combobox/index.js +3 -3
  123. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
  124. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
  125. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js +119 -124
  126. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
  127. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
  128. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
  129. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js +76 -80
  130. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
  131. package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs +1 -1
  132. package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
  133. package/dist/vue3/lib/contact-centers-row/contact-centers-row.js +68 -63
  134. package/dist/vue3/lib/contact-centers-row/contact-centers-row.js.map +1 -1
  135. package/dist/vue3/lib/contact-row/contact-row.cjs +1 -1
  136. package/dist/vue3/lib/contact-row/contact-row.cjs.map +1 -1
  137. package/dist/vue3/lib/contact-row/contact-row.js +32 -48
  138. package/dist/vue3/lib/contact-row/contact-row.js.map +1 -1
  139. package/dist/vue3/lib/datepicker/datepicker-constants.cjs +1 -1
  140. package/dist/vue3/lib/datepicker/datepicker-constants.cjs.map +1 -1
  141. package/dist/vue3/lib/datepicker/datepicker-constants.js +2 -3
  142. package/dist/vue3/lib/datepicker/datepicker-constants.js.map +1 -1
  143. package/dist/vue3/lib/datepicker/datepicker.cjs +1 -1
  144. package/dist/vue3/lib/datepicker/datepicker.cjs.map +1 -1
  145. package/dist/vue3/lib/datepicker/datepicker.js +264 -349
  146. package/dist/vue3/lib/datepicker/datepicker.js.map +1 -1
  147. package/dist/vue3/lib/datepicker/formatUtils.cjs +1 -1
  148. package/dist/vue3/lib/datepicker/formatUtils.cjs.map +1 -1
  149. package/dist/vue3/lib/datepicker/formatUtils.js +21 -20
  150. package/dist/vue3/lib/datepicker/formatUtils.js.map +1 -1
  151. package/dist/vue3/lib/datepicker/utils.cjs +1 -1
  152. package/dist/vue3/lib/datepicker/utils.cjs.map +1 -1
  153. package/dist/vue3/lib/datepicker/utils.js +12 -11
  154. package/dist/vue3/lib/datepicker/utils.js.map +1 -1
  155. package/dist/vue3/lib/description-list/description-list.cjs +1 -1
  156. package/dist/vue3/lib/description-list/description-list.cjs.map +1 -1
  157. package/dist/vue3/lib/description-list/description-list.js +10 -10
  158. package/dist/vue3/lib/description-list/description-list.js.map +1 -1
  159. package/dist/vue3/lib/dropdown/dropdown.cjs +1 -1
  160. package/dist/vue3/lib/dropdown/dropdown.cjs.map +1 -1
  161. package/dist/vue3/lib/dropdown/dropdown.js +36 -46
  162. package/dist/vue3/lib/dropdown/dropdown.js.map +1 -1
  163. package/dist/vue3/lib/editor/editor.cjs +1 -1
  164. package/dist/vue3/lib/editor/editor.cjs.map +1 -1
  165. package/dist/vue3/lib/editor/editor.js +169 -186
  166. package/dist/vue3/lib/editor/editor.js.map +1 -1
  167. package/dist/vue3/lib/editor/index.cjs +1 -1
  168. package/dist/vue3/lib/editor/index.js +2 -2
  169. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs +1 -1
  170. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
  171. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js +7 -20
  172. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
  173. package/dist/vue3/lib/emoji-picker/emoji-picker.cjs +1 -1
  174. package/dist/vue3/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  175. package/dist/vue3/lib/emoji-picker/emoji-picker.js +419 -477
  176. package/dist/vue3/lib/emoji-picker/emoji-picker.js.map +1 -1
  177. package/dist/vue3/lib/emoji-picker/index.cjs +1 -1
  178. package/dist/vue3/lib/emoji-picker/index.js +3 -4
  179. package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs +1 -1
  180. package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs.map +1 -1
  181. package/dist/vue3/lib/emoji-row/emoji-row-constants.js +6 -7
  182. package/dist/vue3/lib/emoji-row/emoji-row-constants.js.map +1 -1
  183. package/dist/vue3/lib/emoji-row/emoji-row.cjs +1 -1
  184. package/dist/vue3/lib/emoji-row/emoji-row.cjs.map +1 -1
  185. package/dist/vue3/lib/emoji-row/emoji-row.js +53 -43
  186. package/dist/vue3/lib/emoji-row/emoji-row.js.map +1 -1
  187. package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs +1 -1
  188. package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
  189. package/dist/vue3/lib/feed-item-pill/feed-item-pill.js +52 -53
  190. package/dist/vue3/lib/feed-item-pill/feed-item-pill.js.map +1 -1
  191. package/dist/vue3/lib/general-row/general-row.cjs +1 -1
  192. package/dist/vue3/lib/general-row/general-row.cjs.map +1 -1
  193. package/dist/vue3/lib/general-row/general-row.js +133 -118
  194. package/dist/vue3/lib/general-row/general-row.js.map +1 -1
  195. package/dist/vue3/lib/group-row/group-row.cjs +1 -1
  196. package/dist/vue3/lib/group-row/group-row.cjs.map +1 -1
  197. package/dist/vue3/lib/group-row/group-row.js +53 -39
  198. package/dist/vue3/lib/group-row/group-row.js.map +1 -1
  199. package/dist/vue3/lib/icon/icon-constants.cjs.map +1 -1
  200. package/dist/vue3/lib/icon/icon-constants.js.map +1 -1
  201. package/dist/vue3/lib/icon/icon.cjs +1 -1
  202. package/dist/vue3/lib/icon/icon.cjs.map +1 -1
  203. package/dist/vue3/lib/icon/icon.js +15 -11
  204. package/dist/vue3/lib/icon/icon.js.map +1 -1
  205. package/dist/vue3/lib/image-viewer/image-viewer.cjs +1 -1
  206. package/dist/vue3/lib/image-viewer/image-viewer.cjs.map +1 -1
  207. package/dist/vue3/lib/image-viewer/image-viewer.js +51 -47
  208. package/dist/vue3/lib/image-viewer/image-viewer.js.map +1 -1
  209. package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs +1 -1
  210. package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs.map +1 -1
  211. package/dist/vue3/lib/ivr-node/ivr-node-constants.js +24 -24
  212. package/dist/vue3/lib/ivr-node/ivr-node-constants.js.map +1 -1
  213. package/dist/vue3/lib/ivr-node/ivr-node.cjs +1 -1
  214. package/dist/vue3/lib/ivr-node/ivr-node.cjs.map +1 -1
  215. package/dist/vue3/lib/ivr-node/ivr-node.js +80 -76
  216. package/dist/vue3/lib/ivr-node/ivr-node.js.map +1 -1
  217. package/dist/vue3/lib/message-input/message-input-link.cjs +1 -1
  218. package/dist/vue3/lib/message-input/message-input-link.cjs.map +1 -1
  219. package/dist/vue3/lib/message-input/message-input-link.js +100 -77
  220. package/dist/vue3/lib/message-input/message-input-link.js.map +1 -1
  221. package/dist/vue3/lib/message-input/message-input-topbar.cjs +1 -1
  222. package/dist/vue3/lib/message-input/message-input-topbar.cjs.map +1 -1
  223. package/dist/vue3/lib/message-input/message-input-topbar.js +126 -94
  224. package/dist/vue3/lib/message-input/message-input-topbar.js.map +1 -1
  225. package/dist/vue3/lib/message-input/message-input.cjs +1 -1
  226. package/dist/vue3/lib/message-input/message-input.cjs.map +1 -1
  227. package/dist/vue3/lib/message-input/message-input.js +272 -296
  228. package/dist/vue3/lib/message-input/message-input.js.map +1 -1
  229. package/dist/vue3/lib/modal/modal.cjs +1 -2
  230. package/dist/vue3/lib/modal/modal.cjs.map +1 -1
  231. package/dist/vue3/lib/modal/modal.js +64 -79
  232. package/dist/vue3/lib/modal/modal.js.map +1 -1
  233. package/dist/vue3/lib/notice/notice-action.cjs +1 -1
  234. package/dist/vue3/lib/notice/notice-action.cjs.map +1 -1
  235. package/dist/vue3/lib/notice/notice-action.js +38 -39
  236. package/dist/vue3/lib/notice/notice-action.js.map +1 -1
  237. package/dist/vue3/lib/notice/notice.cjs +1 -1
  238. package/dist/vue3/lib/notice/notice.cjs.map +1 -1
  239. package/dist/vue3/lib/notice/notice.js +37 -49
  240. package/dist/vue3/lib/notice/notice.js.map +1 -1
  241. package/dist/vue3/lib/pagination/pagination.cjs +1 -1
  242. package/dist/vue3/lib/pagination/pagination.cjs.map +1 -1
  243. package/dist/vue3/lib/pagination/pagination.js +72 -81
  244. package/dist/vue3/lib/pagination/pagination.js.map +1 -1
  245. package/dist/vue3/lib/popover/popover-header-footer.cjs +1 -1
  246. package/dist/vue3/lib/popover/popover-header-footer.cjs.map +1 -1
  247. package/dist/vue3/lib/popover/popover-header-footer.js +44 -45
  248. package/dist/vue3/lib/popover/popover-header-footer.js.map +1 -1
  249. package/dist/vue3/lib/popover/popover.cjs +1 -1
  250. package/dist/vue3/lib/popover/popover.cjs.map +1 -1
  251. package/dist/vue3/lib/popover/popover.js +26 -37
  252. package/dist/vue3/lib/popover/popover.js.map +1 -1
  253. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +4 -4
  254. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  255. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +187 -185
  256. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  257. package/dist/vue3/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
  258. package/dist/vue3/lib/settings-menu-button/settings-menu-button.js.map +1 -1
  259. package/dist/vue3/lib/time-pill/time-pill.cjs.map +1 -1
  260. package/dist/vue3/lib/time-pill/time-pill.js.map +1 -1
  261. package/dist/vue3/lib/toast/toast.cjs +1 -1
  262. package/dist/vue3/lib/toast/toast.cjs.map +1 -1
  263. package/dist/vue3/lib/toast/toast.js +83 -127
  264. package/dist/vue3/lib/toast/toast.js.map +1 -1
  265. package/dist/vue3/lib/unread-pill/unread-pill.cjs +1 -1
  266. package/dist/vue3/lib/unread-pill/unread-pill.cjs.map +1 -1
  267. package/dist/vue3/lib/unread-pill/unread-pill.js +25 -14
  268. package/dist/vue3/lib/unread-pill/unread-pill.js.map +1 -1
  269. package/dist/vue3/localization/de-DE.cjs +157 -0
  270. package/dist/vue3/localization/de-DE.cjs.map +1 -0
  271. package/dist/vue3/localization/de-DE.js +160 -0
  272. package/dist/vue3/localization/de-DE.js.map +1 -0
  273. package/dist/vue3/localization/en-US.cjs +175 -0
  274. package/dist/vue3/localization/en-US.cjs.map +1 -0
  275. package/dist/vue3/localization/en-US.js +178 -0
  276. package/dist/vue3/localization/en-US.js.map +1 -0
  277. package/dist/vue3/localization/es-LA.cjs +157 -0
  278. package/dist/vue3/localization/es-LA.cjs.map +1 -0
  279. package/dist/vue3/localization/es-LA.js +160 -0
  280. package/dist/vue3/localization/es-LA.js.map +1 -0
  281. package/dist/vue3/localization/fr-FR.cjs +157 -0
  282. package/dist/vue3/localization/fr-FR.cjs.map +1 -0
  283. package/dist/vue3/localization/fr-FR.js +160 -0
  284. package/dist/vue3/localization/fr-FR.js.map +1 -0
  285. package/dist/vue3/localization/index.cjs +2 -0
  286. package/dist/vue3/localization/index.cjs.map +1 -0
  287. package/dist/vue3/localization/index.js +82 -0
  288. package/dist/vue3/localization/index.js.map +1 -0
  289. package/dist/vue3/localization/it-IT.cjs +157 -0
  290. package/dist/vue3/localization/it-IT.cjs.map +1 -0
  291. package/dist/vue3/localization/it-IT.js +160 -0
  292. package/dist/vue3/localization/it-IT.js.map +1 -0
  293. package/dist/vue3/localization/ja-JP.cjs +157 -0
  294. package/dist/vue3/localization/ja-JP.cjs.map +1 -0
  295. package/dist/vue3/localization/ja-JP.js +160 -0
  296. package/dist/vue3/localization/ja-JP.js.map +1 -0
  297. package/dist/vue3/localization/nl-NL.cjs +157 -0
  298. package/dist/vue3/localization/nl-NL.cjs.map +1 -0
  299. package/dist/vue3/localization/nl-NL.js +160 -0
  300. package/dist/vue3/localization/nl-NL.js.map +1 -0
  301. package/dist/vue3/localization/pt-BR.cjs +157 -0
  302. package/dist/vue3/localization/pt-BR.cjs.map +1 -0
  303. package/dist/vue3/localization/pt-BR.js +160 -0
  304. package/dist/vue3/localization/pt-BR.js.map +1 -0
  305. package/dist/vue3/localization/ru-RU.cjs +157 -0
  306. package/dist/vue3/localization/ru-RU.cjs.map +1 -0
  307. package/dist/vue3/localization/ru-RU.js +160 -0
  308. package/dist/vue3/localization/ru-RU.js.map +1 -0
  309. package/dist/vue3/localization/zh-CN.cjs +157 -0
  310. package/dist/vue3/localization/zh-CN.cjs.map +1 -0
  311. package/dist/vue3/localization/zh-CN.js +160 -0
  312. package/dist/vue3/localization/zh-CN.js.map +1 -0
  313. package/dist/vue3/shared/sr_only_close_button.cjs +1 -1
  314. package/dist/vue3/shared/sr_only_close_button.cjs.map +1 -1
  315. package/dist/vue3/shared/sr_only_close_button.js +27 -25
  316. package/dist/vue3/shared/sr_only_close_button.js.map +1 -1
  317. package/dist/vue3/types/common/mixins/index.d.ts +0 -1
  318. package/dist/vue3/types/common/sr_only_close_button.vue.d.ts +8 -15
  319. package/dist/vue3/types/common/sr_only_close_button.vue.d.ts.map +1 -1
  320. package/dist/vue3/types/common/utils/index.d.ts +1 -0
  321. package/dist/vue3/types/common/utils/index.d.ts.map +1 -1
  322. package/dist/vue3/types/components/banner/banner.vue.d.ts +0 -33
  323. package/dist/vue3/types/components/banner/banner.vue.d.ts.map +1 -1
  324. package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts +2 -0
  325. package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts.map +1 -1
  326. package/dist/vue3/types/components/button/button.vue.d.ts +2 -0
  327. package/dist/vue3/types/components/button/button.vue.d.ts.map +1 -1
  328. package/dist/vue3/types/components/chip/chip.vue.d.ts +3 -15
  329. package/dist/vue3/types/components/chip/chip.vue.d.ts.map +1 -1
  330. package/dist/vue3/types/components/combobox/combobox.vue.d.ts.map +1 -1
  331. package/dist/vue3/types/components/combobox/combobox_constants.d.ts +2 -2
  332. package/dist/vue3/types/components/combobox/index.d.ts +1 -1
  333. package/dist/vue3/types/components/datepicker/composables/useCalendar.d.ts.map +1 -1
  334. package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts +5 -1
  335. package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts.map +1 -1
  336. package/dist/vue3/types/components/datepicker/datepicker.vue.d.ts.map +1 -1
  337. package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts +0 -1
  338. package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts.map +1 -1
  339. package/dist/vue3/types/components/datepicker/formatUtils.d.ts +5 -5
  340. package/dist/vue3/types/components/datepicker/formatUtils.d.ts.map +1 -1
  341. package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts +0 -4
  342. package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts.map +1 -1
  343. package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts +0 -12
  344. package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
  345. package/dist/vue3/types/components/datepicker/utils.d.ts +1 -0
  346. package/dist/vue3/types/components/datepicker/utils.d.ts.map +1 -1
  347. package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts +0 -24
  348. package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
  349. package/dist/vue3/types/components/emoji_picker/emoji_picker_constants.d.ts +0 -13
  350. package/dist/vue3/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
  351. package/dist/vue3/types/components/icon/icon.vue.d.ts +1 -0
  352. package/dist/vue3/types/components/icon/icon_constants.d.ts.map +1 -1
  353. package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts +3 -8
  354. package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  355. package/dist/vue3/types/components/modal/modal.vue.d.ts +3 -35
  356. package/dist/vue3/types/components/modal/modal.vue.d.ts.map +1 -1
  357. package/dist/vue3/types/components/notice/notice.vue.d.ts +1 -34
  358. package/dist/vue3/types/components/notice/notice.vue.d.ts.map +1 -1
  359. package/dist/vue3/types/components/notice/notice_action.vue.d.ts +7 -35
  360. package/dist/vue3/types/components/notice/notice_action.vue.d.ts.map +1 -1
  361. package/dist/vue3/types/components/pagination/pagination.vue.d.ts +5 -24
  362. package/dist/vue3/types/components/pagination/pagination.vue.d.ts.map +1 -1
  363. package/dist/vue3/types/components/popover/popover.vue.d.ts +0 -33
  364. package/dist/vue3/types/components/popover/popover.vue.d.ts.map +1 -1
  365. package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts +5 -10
  366. package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
  367. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +2 -0
  368. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  369. package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +2 -46
  370. package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
  371. package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts +1 -34
  372. package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -1
  373. package/dist/vue3/types/components/toast/toast.vue.d.ts +4 -115
  374. package/dist/vue3/types/components/toast/toast.vue.d.ts.map +1 -1
  375. package/dist/vue3/types/index.d.ts +1 -0
  376. package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +3 -11
  377. package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
  378. package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +3 -10
  379. package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  380. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +4 -8
  381. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  382. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +7 -7
  383. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts.map +1 -1
  384. package/dist/vue3/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  385. package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -25
  386. package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
  387. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +3 -41
  388. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
  389. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +6 -25
  390. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
  391. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +2 -2
  392. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts +6 -49
  393. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  394. package/dist/vue3/types/recipes/conversation_view/editor/index.d.ts +1 -1
  395. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +6 -2
  396. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  397. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row_constants.d.ts.map +1 -1
  398. package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +3 -8
  399. package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
  400. package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -1
  401. package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +6 -1
  402. package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
  403. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +12 -88
  404. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  405. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +11 -1
  406. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
  407. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +13 -1
  408. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
  409. package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +5 -8
  410. package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
  411. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +0 -18
  412. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
  413. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +9 -27
  414. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  415. package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts +11 -21
  416. package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
  417. package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +6 -2
  418. package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
  419. package/package.json +2 -2
  420. package/dist/vue3/common/mixins/sr-only-close-button.cjs +0 -3
  421. package/dist/vue3/common/mixins/sr-only-close-button.cjs.map +0 -1
  422. package/dist/vue3/common/mixins/sr-only-close-button.js +0 -44
  423. package/dist/vue3/common/mixins/sr-only-close-button.js.map +0 -1
  424. package/dist/vue3/lib/contact-row/contact-row-constants.cjs +0 -2
  425. package/dist/vue3/lib/contact-row/contact-row-constants.cjs.map +0 -1
  426. package/dist/vue3/lib/contact-row/contact-row-constants.js +0 -5
  427. package/dist/vue3/lib/contact-row/contact-row-constants.js.map +0 -1
  428. package/dist/vue3/lib/emoji/emoji-constants.cjs +0 -2
  429. package/dist/vue3/lib/emoji/emoji-constants.cjs.map +0 -1
  430. package/dist/vue3/lib/emoji/emoji-constants.js +0 -5
  431. package/dist/vue3/lib/emoji/emoji-constants.js.map +0 -1
  432. package/dist/vue3/lib/group-row/group-row-constants.cjs +0 -2
  433. package/dist/vue3/lib/group-row/group-row-constants.cjs.map +0 -1
  434. package/dist/vue3/lib/group-row/group-row-constants.js +0 -8
  435. package/dist/vue3/lib/group-row/group-row-constants.js.map +0 -1
  436. package/dist/vue3/lib/time-pill/time-pill-constants.cjs +0 -2
  437. package/dist/vue3/lib/time-pill/time-pill-constants.cjs.map +0 -1
  438. package/dist/vue3/lib/time-pill/time-pill-constants.js +0 -8
  439. package/dist/vue3/lib/time-pill/time-pill-constants.js.map +0 -1
  440. package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts +0 -30
  441. package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts.map +0 -1
  442. package/dist/vue3/types/components/emoji/emoji_constants.d.ts +0 -3
  443. package/dist/vue3/types/components/emoji/emoji_constants.d.ts.map +0 -1
  444. package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts +0 -6
  445. package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts.map +0 -1
  446. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts +0 -3
  447. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts.map +0 -1
  448. package/dist/vue3/types/recipes/leftbar/group_row/group_row_constants.d.ts +0 -6
  449. package/dist/vue3/types/recipes/leftbar/group_row/group_row_constants.d.ts.map +0 -1
@@ -1,11 +1,11 @@
1
- import { NodeViewWrapper as L, nodeViewProps as v, VueRenderer as R, 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 b, InputRule as te, nodePasteRule as D, getMarksBetween as ne, combineTransactionSteps as oe, getChangedRanges as re, findChildrenInRange as ie, Mark as se, nodeInputRule as ae, Extension as le } from "@tiptap/core";
1
+ import { NodeViewWrapper as L, nodeViewProps as R, VueRenderer as v, VueNodeViewRenderer as I, EditorContent as G, BubbleMenu as Q, Editor as Z } from "../../node_modules/@tiptap/vue-3.js";
2
+ import { Node as ee, mergeAttributes as b, InputRule as te, nodePasteRule as P, getMarksBetween as ne, combineTransactionSteps as oe, getChangedRanges as re, findChildrenInRange as ie, Mark as se, nodeInputRule as ae, Extension as le } from "@tiptap/core";
3
3
  import ce from "@tiptap/extension-blockquote";
4
4
  import de from "@tiptap/extension-code-block";
5
5
  import ue from "@tiptap/extension-code";
6
6
  import me from "@tiptap/extension-document";
7
7
  import he from "@tiptap/extension-hard-break";
8
- import U from "@tiptap/extension-paragraph";
8
+ import q from "@tiptap/extension-paragraph";
9
9
  import fe from "@tiptap/extension-placeholder";
10
10
  import pe from "@tiptap/extension-bold";
11
11
  import ge from "@tiptap/extension-bullet-list";
@@ -20,42 +20,43 @@ import Te from "@tiptap/extension-text-align";
20
20
  import Ee from "@tiptap/extension-history";
21
21
  import Se from "@tiptap/extension-text-style";
22
22
  import Le from "@tiptap/extension-color";
23
- import ve from "@tiptap/extension-font-family";
24
- import { PluginKey as T, Plugin as Re } from "@tiptap/pm/state";
25
- import $e from "@tiptap/suggestion";
23
+ import Re from "@tiptap/extension-font-family";
24
+ import { PluginKey as T, Plugin as ve } from "@tiptap/pm/state";
25
+ import Ie from "@tiptap/suggestion";
26
26
  import { emojiPattern as W } 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 Me, createElementVNode as w, Fragment as Oe, renderList as Ie, normalizeClass as z, withModifiers as Pe, resolveDynamicComponent as Be, vShow as Ae, createTextVNode as k, toDisplayString as p, markRaw as M, createCommentVNode as x, mergeProps as De } from "vue";
27
+ import { resolveComponent as d, openBlock as l, createBlock as h, withCtx as u, createVNode as p, createElementBlock as _, withDirectives as Oe, createElementVNode as w, Fragment as Be, renderList as Me, normalizeClass as z, withModifiers as $e, resolveDynamicComponent as Ae, vShow as De, createTextVNode as k, toDisplayString as m, markRaw as O, createCommentVNode as x, mergeProps as Pe } from "vue";
28
28
  import { _ as g } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
29
29
  import X from "../emoji/emoji.js";
30
30
  import { stringToUnicode as je, codeToEmojiData as H, emojiRegex as He, emojiShortCodeRegex as Ne } from "../../common/emoji/index.js";
31
31
  import { emojisIndexed as Fe } from "@dialpad/dialtone-emojis";
32
- import Ve from "../list-item/list-item.js";
33
- import O from "../stack/stack.js";
34
- import I from "tippy.js";
35
- import { linkRegex as qe, getPhoneNumberRegex as Ke, returnFirstEl as F, warnIfUnmounted as Ue } from "../../common/utils/index.js";
32
+ import Ke from "../list-item/list-item.js";
33
+ import B from "../stack/stack.js";
34
+ import M from "tippy.js";
35
+ import { linkRegex as Ve, getPhoneNumberRegex as Ue, returnFirstEl as F, warnIfUnmounted as qe } from "../../common/utils/index.js";
36
36
  import We from "@tiptap/extension-image";
37
37
  import N from "@tiptap/extension-mention";
38
38
  import J from "../link/link.js";
39
- import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as ze, RICH_TEXT_EDITOR_OUTPUT_FORMATS as Xe, RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS as V } from "./rich-text-editor-constants.js";
39
+ import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as ze, 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";
43
43
  import Qe from "deep-equal";
44
- import Ze from "../button/button.js";
45
- const et = {
44
+ import { DialtoneLocalization as Ze } from "../../localization/index.js";
45
+ import et from "../button/button.js";
46
+ const tt = {
46
47
  compatConfig: { MODE: 3 },
47
48
  name: "EmojiComponent",
48
49
  components: {
49
50
  NodeViewWrapper: L,
50
51
  DtEmoji: X
51
52
  },
52
- props: v
53
+ props: R
53
54
  };
54
- function tt(e, t, o, n, r, i) {
55
+ function nt(e, t, o, n, r, i) {
55
56
  const s = d("dt-emoji"), a = d("node-view-wrapper");
56
- return l(), m(a, { class: "d-d-inline-block d-va-bottom d-lh0" }, {
57
+ return l(), h(a, { class: "d-d-inline-block d-va-bottom d-lh0" }, {
57
58
  default: u(() => [
58
- f(s, {
59
+ p(s, {
59
60
  size: "500",
60
61
  code: e.node.attrs.code
61
62
  }, null, 8, ["code"])
@@ -63,11 +64,11 @@ function tt(e, t, o, n, r, i) {
63
64
  _: 1
64
65
  });
65
66
  }
66
- const nt = /* @__PURE__ */ g(et, [["render", tt]]), ot = {
67
+ const ot = /* @__PURE__ */ g(tt, [["render", nt]]), rt = {
67
68
  compatConfig: { MODE: 3 },
68
69
  name: "SuggestionList",
69
70
  components: {
70
- DtListItem: Ve
71
+ DtListItem: Ke
71
72
  },
72
73
  props: {
73
74
  items: {
@@ -136,40 +137,40 @@ const nt = /* @__PURE__ */ g(et, [["render", tt]]), ot = {
136
137
  }
137
138
  }
138
139
  }
139
- }, rt = { class: "d-popover__dialog d-suggestion-list__container" }, it = {
140
+ }, it = { class: "d-popover__dialog d-suggestion-list__container" }, st = {
140
141
  ref: "suggestionList",
141
142
  class: "d-suggestion-list"
142
143
  };
143
- function st(e, t, o, n, r, i) {
144
+ function at(e, t, o, n, r, i) {
144
145
  const s = d("dt-list-item");
145
- return l(), _("div", rt, [
146
- Me(w("ul", it, [
147
- (l(!0), _(Oe, null, Ie(o.items, (a, c) => (l(), m(s, {
146
+ return l(), _("div", it, [
147
+ Oe(w("ul", st, [
148
+ (l(!0), _(Be, null, Me(o.items, (a, c) => (l(), h(s, {
148
149
  key: a.id,
149
150
  class: z([
150
151
  "d-suggestion-list__item",
151
152
  { "d-list-item--highlighted": c === r.selectedIndex }
152
153
  ]),
153
154
  "navigation-type": "arrow-keys",
154
- onClick: (h) => i.selectItem(c),
155
- onKeydown: Pe(i.onKeyDown, ["prevent"])
155
+ onClick: (f) => i.selectItem(c),
156
+ onKeydown: $e(i.onKeyDown, ["prevent"])
156
157
  }, {
157
158
  default: u(() => [
158
- (l(), m(Be(o.itemComponent), { item: a }, null, 8, ["item"]))
159
+ (l(), h(Ae(o.itemComponent), { item: a }, null, 8, ["item"]))
159
160
  ]),
160
161
  _: 2
161
162
  }, 1032, ["class", "onClick", "onKeydown"]))), 128))
162
163
  ], 512), [
163
- [Ae, o.items.length]
164
+ [De, o.items.length]
164
165
  ])
165
166
  ]);
166
167
  }
167
- const P = /* @__PURE__ */ g(ot, [["render", st]]), at = {
168
+ const $ = /* @__PURE__ */ g(rt, [["render", at]]), lt = {
168
169
  compatConfig: { MODE: 3 },
169
170
  name: "EmojiSuggestion",
170
171
  components: {
171
172
  DtEmoji: X,
172
- DtStack: O
173
+ DtStack: B
173
174
  },
174
175
  props: {
175
176
  item: {
@@ -178,23 +179,23 @@ const P = /* @__PURE__ */ g(ot, [["render", st]]), at = {
178
179
  }
179
180
  }
180
181
  };
181
- function lt(e, t, o, n, r, i) {
182
+ function ct(e, t, o, n, r, i) {
182
183
  const s = d("dt-emoji"), a = d("dt-stack");
183
- return l(), m(a, {
184
+ return l(), h(a, {
184
185
  direction: "row",
185
186
  gap: "400"
186
187
  }, {
187
188
  default: u(() => [
188
- f(s, {
189
+ p(s, {
189
190
  size: "200",
190
191
  code: o.item.code
191
192
  }, null, 8, ["code"]),
192
- k(" " + p(o.item.code), 1)
193
+ k(" " + m(o.item.code), 1)
193
194
  ]),
194
195
  _: 1
195
196
  });
196
197
  }
197
- const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
198
+ const dt = /* @__PURE__ */ g(lt, [["render", ct]]), A = {
198
199
  name: "hideOnEsc",
199
200
  defaultValue: !0,
200
201
  fn({ hide: e }) {
@@ -210,7 +211,7 @@ const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
210
211
  }
211
212
  };
212
213
  }
213
- }, dt = 20, ut = {
214
+ }, ut = 20, mt = {
214
215
  items: ({ query: e }) => {
215
216
  if (e.length < 2)
216
217
  return [];
@@ -221,7 +222,7 @@ const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
221
222
  n.shortname.replaceAll(":", ""),
222
223
  ...n.keywords
223
224
  ].some((r) => r.startsWith(e))
224
- ).splice(0, dt).map((n) => ({ code: n.shortname }));
225
+ ).splice(0, ut).map((n) => ({ code: n.shortname }));
225
226
  },
226
227
  command: ({ editor: e, range: t, props: o }) => {
227
228
  var i, s;
@@ -237,14 +238,14 @@ const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
237
238
  let e, t, o = !1;
238
239
  return {
239
240
  onStart: (n) => {
240
- e = new R(P, {
241
+ e = new v($, {
241
242
  props: {
242
- itemComponent: M(ct),
243
+ itemComponent: O(dt),
243
244
  itemType: "emoji",
244
245
  ...n
245
246
  },
246
247
  editor: n.editor
247
- }), n.clientRect && (t = I("body", {
248
+ }), n.clientRect && (t = M("body", {
248
249
  getReferenceClientRect: n.clientRect,
249
250
  appendTo: () => document.body,
250
251
  content: e.element,
@@ -259,7 +260,7 @@ const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
259
260
  trigger: "manual",
260
261
  placement: "top-start",
261
262
  zIndex: 650,
262
- plugins: [B]
263
+ plugins: [A]
263
264
  }), n.items.length > 0 && (t == null || t[0].show()));
264
265
  },
265
266
  onUpdate(n) {
@@ -277,14 +278,14 @@ const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
277
278
  }
278
279
  };
279
280
  }
280
- }, mt = /(:\w+:)$/, ht = new RegExp(W + "$"), ft = (e) => {
281
+ }, ht = /(:\w+:)$/, ft = new RegExp(W + "$"), pt = (e) => {
281
282
  if (e && H(e[0]))
282
283
  return { text: e[2] || e[0] };
283
- }, pt = (e) => [...e.matchAll(Ne)].filter((o) => H(o[0])).map((o) => ({
284
+ }, gt = (e) => [...e.matchAll(Ne)].filter((o) => H(o[0])).map((o) => ({
284
285
  index: o.index,
285
286
  text: o[0],
286
287
  match: o
287
- })), gt = ee.create({
288
+ })), _t = ee.create({
288
289
  name: "emoji",
289
290
  addOptions() {
290
291
  return {
@@ -296,7 +297,7 @@ const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
296
297
  selectable: !1,
297
298
  atom: !0,
298
299
  addNodeView() {
299
- return $(nt);
300
+ return I(ot);
300
301
  },
301
302
  addAttributes() {
302
303
  return {
@@ -322,9 +323,9 @@ const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
322
323
  return [
323
324
  new te({
324
325
  find: (e) => {
325
- const t = e.match(mt) || e.match(ht);
326
+ const t = e.match(ht) || e.match(ft);
326
327
  if (t)
327
- return ft(t);
328
+ return pt(t);
328
329
  },
329
330
  handler: ({ state: e, range: t, match: o, commands: n, chain: r, can: i }) => {
330
331
  const { tr: s } = e, a = t.from, c = t.to;
@@ -335,8 +336,8 @@ const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
335
336
  },
336
337
  addPasteRules() {
337
338
  return [
338
- D({
339
- find: pt,
339
+ P({
340
+ find: gt,
340
341
  type: this.type,
341
342
  getAttributes(e) {
342
343
  return {
@@ -344,7 +345,7 @@ const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
344
345
  };
345
346
  }
346
347
  }),
347
- D({
348
+ P({
348
349
  find: He,
349
350
  type: this.type,
350
351
  getAttributes(e) {
@@ -357,12 +358,12 @@ const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
357
358
  },
358
359
  addProseMirrorPlugins() {
359
360
  return [
360
- $e({
361
+ Ie({
361
362
  char: ":",
362
363
  pluginKey: new T("emoji"),
363
364
  editor: this.editor,
364
365
  ...this.options.suggestion,
365
- ...ut
366
+ ...mt
366
367
  })
367
368
  ];
368
369
  },
@@ -379,7 +380,7 @@ const ct = /* @__PURE__ */ g(at, [["render", lt]]), B = {
379
380
  };
380
381
  }
381
382
  });
382
- function _t(e, t, o = () => !0) {
383
+ function yt(e, t, o = () => !0) {
383
384
  const n = [];
384
385
  t.lastIndex = 0;
385
386
  let r;
@@ -387,10 +388,10 @@ function _t(e, t, o = () => !0) {
387
388
  o(e, r) && n.push(r);
388
389
  return n;
389
390
  }
390
- function yt(e, t) {
391
+ function wt(e, t) {
391
392
  return !["#", "@"].includes(e.charAt(t.index)) && !["#", "@"].includes(e.charAt(t.index - 1));
392
393
  }
393
- function wt(e) {
394
+ function kt(e) {
394
395
  const t = new RegExp(
395
396
  "(?:" + [
396
397
  `[!?.,:;'"]`,
@@ -400,7 +401,7 @@ function wt(e) {
400
401
  );
401
402
  return e.replace(t, "");
402
403
  }
403
- function kt(e, t) {
404
+ function xt(e, t) {
404
405
  const o = e.slice(0, t + 1).search(/\S+\s*$/), n = e.slice(t).search(/\s/);
405
406
  if (n < 0) {
406
407
  const r = e.slice(o);
@@ -417,19 +418,19 @@ function kt(e, t) {
417
418
  };
418
419
  }
419
420
  function j(e, t, o, n) {
420
- const r = kt(e, t);
421
+ const r = xt(e, t);
421
422
  if (n.lastIndex = 0, !n.test(r.text))
422
423
  return r;
423
424
  const i = o === "left" ? r.from - 1 : r.to + 1;
424
425
  return i <= 0 || i >= e.length || i === t ? r : j(e, i, o, n);
425
426
  }
426
- function xt(e, t, o, n) {
427
+ function bt(e, t, o, n) {
427
428
  const r = Math.max(e.from - 1, 0), i = Math.min(e.to + 1, t.content.size), s = ne(r, i, t);
428
429
  for (const a of s)
429
430
  a.mark.type === n && o.removeMark(a.from, a.to, n);
430
431
  }
431
- const q = Ke(1, 15);
432
- function K(e, t, o, n, r, i) {
432
+ const V = Ue(1, 15);
433
+ function U(e, t, o, n, r, i) {
433
434
  if (!e)
434
435
  return;
435
436
  let s = o - t - 1;
@@ -438,39 +439,39 @@ function K(e, t, o, n, r, i) {
438
439
  e,
439
440
  s,
440
441
  "left",
441
- q
442
- ), h = j(
442
+ V
443
+ ), f = j(
443
444
  e,
444
445
  a,
445
446
  "right",
446
- q
447
- ), y = e.slice(c.from, h.to);
448
- _t(y, qe, yt).forEach((A) => {
449
- const C = wt(A[0]), S = t + c.from + A.index + 1, Y = S + C.length;
447
+ V
448
+ ), y = e.slice(c.from, f.to);
449
+ yt(y, Ve, wt).forEach((D) => {
450
+ const C = kt(D[0]), S = t + c.from + D.index + 1, Y = S + C.length;
450
451
  r.addMark(S, Y, i.create());
451
452
  });
452
453
  }
453
- function bt(e) {
454
+ function Ct(e) {
454
455
  let t = !1;
455
- return new Re({
456
+ return new ve({
456
457
  key: new T("autolink"),
457
458
  appendTransaction: (o, n, r) => {
458
459
  const i = o.some((y) => y.docChanged) && !n.doc.eq(r.doc);
459
460
  if (t && !i)
460
461
  return;
461
462
  const { tr: s } = r, { textContent: a } = r.doc;
462
- t || K(a, 0, 0, a.length, s, e.type), t = !0;
463
+ t || U(a, 0, 0, a.length, s, e.type), t = !0;
463
464
  const c = oe(
464
465
  n.doc,
465
466
  [...o]
466
467
  );
467
468
  return re(c).forEach(({ oldRange: y, newRange: E }) => {
468
- xt(E, r.doc, s, e.type), ie(
469
+ bt(E, r.doc, s, e.type), ie(
469
470
  r.doc,
470
471
  E,
471
472
  (C) => C.isTextblock
472
473
  ).forEach(({ node: C, pos: S }) => {
473
- K(
474
+ U(
474
475
  C.textContent,
475
476
  S,
476
477
  y.from,
@@ -483,10 +484,10 @@ function bt(e) {
483
484
  }
484
485
  });
485
486
  }
486
- const Ct = {
487
+ const Tt = {
487
488
  class: "d-link d-c-text d-d-inline-block d-wb-break-all",
488
489
  rel: "noopener noreferrer nofollow"
489
- }, Tt = se.create({
490
+ }, Et = se.create({
490
491
  name: "CustomLink",
491
492
  renderHTML({ HTMLAttributes: e }) {
492
493
  return [
@@ -494,7 +495,7 @@ const Ct = {
494
495
  b(
495
496
  this.options.HTMLAttributes,
496
497
  e,
497
- Ct
498
+ Tt
498
499
  )
499
500
  ];
500
501
  },
@@ -503,10 +504,10 @@ const Ct = {
503
504
  },
504
505
  addProseMirrorPlugins() {
505
506
  return [
506
- bt({ type: this.type })
507
+ Ct({ type: this.type })
507
508
  ];
508
509
  }
509
- }), Et = We.extend({
510
+ }), St = We.extend({
510
511
  name: "ConfigurableImage",
511
512
  addAttributes() {
512
513
  return {
@@ -530,21 +531,21 @@ const Ct = {
530
531
  }
531
532
  };
532
533
  }
533
- }).configure({ inline: !0, allowBase64: !0 }), St = U.extend({
534
+ }).configure({ inline: !0, allowBase64: !0 }), Lt = q.extend({
534
535
  parseHTML() {
535
536
  return [{ tag: "div" }];
536
537
  },
537
538
  renderHTML({ HTMLAttributes: e }) {
538
539
  return ["div", b(this.options.HTMLAttributes, e), 0];
539
540
  }
540
- }), Lt = {
541
+ }), Rt = {
541
542
  compatConfig: { MODE: 3 },
542
543
  name: "MentionComponent",
543
544
  components: {
544
545
  NodeViewWrapper: L,
545
546
  DtLink: J
546
547
  },
547
- props: v,
548
+ props: R,
548
549
  computed: {
549
550
  text() {
550
551
  return "@" + this.$props.node.attrs.name;
@@ -553,11 +554,11 @@ const Ct = {
553
554
  };
554
555
  function vt(e, t, o, n, r, i) {
555
556
  const s = d("dt-link"), a = d("node-view-wrapper");
556
- return l(), m(a, { class: "d-d-inline-block" }, {
557
+ return l(), h(a, { class: "d-d-inline-block" }, {
557
558
  default: u(() => [
558
- f(s, { kind: "mention" }, {
559
+ p(s, { kind: "mention" }, {
559
560
  default: u(() => [
560
- k(p(i.text), 1)
561
+ k(m(i.text), 1)
561
562
  ]),
562
563
  _: 1
563
564
  })
@@ -565,9 +566,9 @@ function vt(e, t, o, n, r, i) {
565
566
  _: 1
566
567
  });
567
568
  }
568
- const Rt = /* @__PURE__ */ g(Lt, [["render", vt]]), $t = N.extend({
569
+ const It = /* @__PURE__ */ g(Rt, [["render", vt]]), Ot = N.extend({
569
570
  addNodeView() {
570
- return $(Rt);
571
+ return I(It);
571
572
  },
572
573
  parseHTML() {
573
574
  return [
@@ -600,27 +601,27 @@ const Rt = /* @__PURE__ */ g(Lt, [["render", vt]]), $t = N.extend({
600
601
  char: "@",
601
602
  pluginKey: new T("mentionSuggestion")
602
603
  }
603
- }), Mt = {
604
+ }), Bt = {
604
605
  compatConfig: { MODE: 3 },
605
606
  name: "ChannelComponent",
606
607
  components: {
607
608
  NodeViewWrapper: L,
608
609
  DtLink: J
609
610
  },
610
- props: v,
611
+ props: R,
611
612
  computed: {
612
613
  text() {
613
614
  return "#" + this.$props.node.attrs.name;
614
615
  }
615
616
  }
616
617
  };
617
- function Ot(e, t, o, n, r, i) {
618
+ function Mt(e, t, o, n, r, i) {
618
619
  const s = d("dt-link"), a = d("node-view-wrapper");
619
- return l(), m(a, { class: "d-d-inline-block" }, {
620
+ return l(), h(a, { class: "d-d-inline-block" }, {
620
621
  default: u(() => [
621
- f(s, { kind: "mention" }, {
622
+ p(s, { kind: "mention" }, {
622
623
  default: u(() => [
623
- k(p(i.text), 1)
624
+ k(m(i.text), 1)
624
625
  ]),
625
626
  _: 1
626
627
  })
@@ -628,10 +629,10 @@ function Ot(e, t, o, n, r, i) {
628
629
  _: 1
629
630
  });
630
631
  }
631
- const It = /* @__PURE__ */ g(Mt, [["render", Ot]]), Pt = N.extend({
632
+ const $t = /* @__PURE__ */ g(Bt, [["render", Mt]]), At = N.extend({
632
633
  name: "channel",
633
634
  addNodeView() {
634
- return $(It);
635
+ return I($t);
635
636
  },
636
637
  parseHTML() {
637
638
  return [
@@ -664,14 +665,14 @@ const It = /* @__PURE__ */ g(Mt, [["render", Ot]]), Pt = N.extend({
664
665
  char: "#",
665
666
  pluginKey: new T("channelSuggestion")
666
667
  }
667
- }), Bt = {
668
+ }), Dt = {
668
669
  compatConfig: { MODE: 3 },
669
670
  name: "SlashCommandsComponent",
670
671
  components: {
671
672
  NodeViewWrapper: L
672
673
  },
673
674
  props: {
674
- ...v
675
+ ...R
675
676
  },
676
677
  emits: ["selected-command"],
677
678
  computed: {
@@ -687,23 +688,23 @@ const It = /* @__PURE__ */ g(Mt, [["render", Ot]]), Pt = N.extend({
687
688
  t && typeof t == "function" && t(e);
688
689
  }
689
690
  };
690
- function At(e, t, o, n, r, i) {
691
+ function Pt(e, t, o, n, r, i) {
691
692
  const s = d("node-view-wrapper");
692
- return l(), m(s, { class: "d-d-inline-block" }, {
693
+ return l(), h(s, { class: "d-d-inline-block" }, {
693
694
  default: u(() => [
694
- k(p(i.text), 1)
695
+ k(m(i.text), 1)
695
696
  ]),
696
697
  _: 1
697
698
  });
698
699
  }
699
- const Dt = /* @__PURE__ */ g(Bt, [["render", At]]), jt = (e, t) => [...e.matchAll(t)].map((n) => {
700
+ const jt = /* @__PURE__ */ g(Dt, [["render", Pt]]), Ht = (e, t) => [...e.matchAll(t)].map((n) => {
700
701
  let r = n[2];
701
702
  return r.endsWith(" ") || (r += " "), {
702
703
  index: n.index,
703
704
  text: r,
704
705
  match: n
705
706
  };
706
- }), Ht = N.extend({
707
+ }), Nt = N.extend({
707
708
  name: "slash-commands",
708
709
  group: "inline",
709
710
  inline: !0,
@@ -720,7 +721,7 @@ const Dt = /* @__PURE__ */ g(Bt, [["render", At]]), jt = (e, t) => [...e.matchAl
720
721
  };
721
722
  },
722
723
  addNodeView() {
723
- return $(Dt);
724
+ return I(jt);
724
725
  },
725
726
  parseHTML() {
726
727
  return [
@@ -765,8 +766,8 @@ const Dt = /* @__PURE__ */ g(Bt, [["render", At]]), jt = (e, t) => [...e.matchAl
765
766
  var o;
766
767
  const e = (o = this.options.suggestion) == null ? void 0 : o.items({ query: "" }).map((n) => n.command), t = new RegExp(`^((?:\\/)(${e.join("|")})) ?$`, "g");
767
768
  return [
768
- D({
769
- find: (n) => jt(n, t),
769
+ P({
770
+ find: (n) => Ht(n, t),
770
771
  type: this.type,
771
772
  getAttributes(n) {
772
773
  return { command: n[0].trim() };
@@ -779,12 +780,12 @@ const Dt = /* @__PURE__ */ g(Bt, [["render", At]]), jt = (e, t) => [...e.matchAl
779
780
  char: "/",
780
781
  pluginKey: new T("slashCommandSuggestion")
781
782
  }
782
- }), Nt = {
783
+ }), Ft = {
783
784
  compatConfig: { MODE: 3 },
784
785
  name: "MentionSuggestion",
785
786
  components: {
786
787
  DtAvatar: Je,
787
- DtStack: O
788
+ DtStack: B
788
789
  },
789
790
  props: {
790
791
  item: {
@@ -820,22 +821,22 @@ const Dt = /* @__PURE__ */ g(Bt, [["render", At]]), jt = (e, t) => [...e.matchAl
820
821
  return this.item.showDetails;
821
822
  }
822
823
  }
823
- }, Ft = { class: "d-mention-suggestion__name" }, Vt = {
824
+ }, Kt = { class: "d-mention-suggestion__name" }, Vt = {
824
825
  key: 1,
825
826
  class: "d-mention-suggestion__divider"
826
- }, qt = {
827
+ }, Ut = {
827
828
  key: 2,
828
829
  class: "d-mention-suggestion__status"
829
830
  };
830
- function Kt(e, t, o, n, r, i) {
831
+ function qt(e, t, o, n, r, i) {
831
832
  const s = d("dt-avatar"), a = d("dt-stack");
832
- return l(), m(a, {
833
+ return l(), h(a, {
833
834
  direction: "row",
834
835
  class: "d-mention-suggestion__container",
835
836
  gap: "400"
836
837
  }, {
837
838
  default: u(() => [
838
- f(s, {
839
+ p(s, {
839
840
  "full-name": i.name,
840
841
  "image-src": i.avatarSrc,
841
842
  "image-alt": i.name,
@@ -843,13 +844,13 @@ function Kt(e, t, o, n, r, i) {
843
844
  presence: i.presence,
844
845
  size: "sm"
845
846
  }, null, 8, ["full-name", "image-src", "image-alt", "show-presence", "presence"]),
846
- f(a, {
847
+ p(a, {
847
848
  class: "d-mention-suggestion__details-container",
848
849
  gap: "100"
849
850
  }, {
850
851
  default: u(() => [
851
- w("span", Ft, p(i.name), 1),
852
- i.showDetails ? (l(), m(a, {
852
+ w("span", Kt, m(i.name), 1),
853
+ i.showDetails ? (l(), h(a, {
853
854
  key: 0,
854
855
  direction: "row",
855
856
  gap: "300",
@@ -859,9 +860,9 @@ function Kt(e, t, o, n, r, i) {
859
860
  i.presenceText ? (l(), _("span", {
860
861
  key: 0,
861
862
  class: z(["d-mention-suggestion__presence", [i.presenceFontColorClass]])
862
- }, p(i.presenceText), 3)) : x("", !0),
863
+ }, m(i.presenceText), 3)) : x("", !0),
863
864
  i.status && i.presenceText ? (l(), _("div", Vt, " • ")) : x("", !0),
864
- i.status ? (l(), _("div", qt, p(i.status), 1)) : x("", !0)
865
+ i.status ? (l(), _("div", Ut, m(i.status), 1)) : x("", !0)
865
866
  ]),
866
867
  _: 1
867
868
  })) : x("", !0)
@@ -872,7 +873,7 @@ function Kt(e, t, o, n, r, i) {
872
873
  _: 1
873
874
  });
874
875
  }
875
- const Ut = /* @__PURE__ */ g(Nt, [["render", Kt]]), Wt = {
876
+ const Wt = /* @__PURE__ */ g(Ft, [["render", qt]]), zt = {
876
877
  // This function comes from the user and passed to the editor directly.
877
878
  // This will also activate the mention plugin on the editor
878
879
  // items: ({ query }) => { return [] },
@@ -881,14 +882,14 @@ const Ut = /* @__PURE__ */ g(Nt, [["render", Kt]]), Wt = {
881
882
  let e, t, o = !1;
882
883
  return {
883
884
  onStart: (n) => {
884
- e = new R(P, {
885
+ e = new v($, {
885
886
  props: {
886
- itemComponent: M(Ut),
887
+ itemComponent: O(Wt),
887
888
  itemType: "mention",
888
889
  ...n
889
890
  },
890
891
  editor: n.editor
891
- }), n.clientRect && (t = I("body", {
892
+ }), n.clientRect && (t = M("body", {
892
893
  getReferenceClientRect: n.clientRect,
893
894
  appendTo: () => document.body,
894
895
  content: e.element,
@@ -903,7 +904,7 @@ const Ut = /* @__PURE__ */ g(Nt, [["render", Kt]]), Wt = {
903
904
  trigger: "manual",
904
905
  placement: "top-start",
905
906
  zIndex: 650,
906
- plugins: [B]
907
+ plugins: [A]
907
908
  }), n.items.length > 0 && (t == null || t[0].show()));
908
909
  },
909
910
  onUpdate(n) {
@@ -921,11 +922,11 @@ const Ut = /* @__PURE__ */ g(Nt, [["render", Kt]]), Wt = {
921
922
  }
922
923
  };
923
924
  }
924
- }, zt = {
925
+ }, Xt = {
925
926
  compatConfig: { MODE: 3 },
926
927
  name: "ChannelSuggestion",
927
928
  components: {
928
- DtStack: O,
929
+ DtStack: B,
929
930
  DtIconHash: Ye,
930
931
  DtIconLock: Ge
931
932
  },
@@ -941,26 +942,26 @@ const Ut = /* @__PURE__ */ g(Nt, [["render", Kt]]), Wt = {
941
942
  }
942
943
  }
943
944
  };
944
- function Xt(e, t, o, n, r, i) {
945
+ function Jt(e, t, o, n, r, i) {
945
946
  const s = d("dt-icon-hash"), a = d("dt-icon-lock"), c = d("dt-stack");
946
- return l(), m(c, {
947
+ return l(), h(c, {
947
948
  direction: "row",
948
949
  gap: "400"
949
950
  }, {
950
951
  default: u(() => [
951
- o.item.locked ? (l(), m(a, {
952
+ o.item.locked ? (l(), h(a, {
952
953
  key: 1,
953
954
  size: "300"
954
- })) : (l(), m(s, {
955
+ })) : (l(), h(s, {
955
956
  key: 0,
956
957
  size: "300"
957
958
  })),
958
- w("span", null, p(i.name), 1)
959
+ w("span", null, m(i.name), 1)
959
960
  ]),
960
961
  _: 1
961
962
  });
962
963
  }
963
- const Jt = /* @__PURE__ */ g(zt, [["render", Xt]]), Yt = {
964
+ const Yt = /* @__PURE__ */ g(Xt, [["render", Jt]]), Gt = {
964
965
  // This function comes from the user and passed to the editor directly.
965
966
  // This will also activate the mention plugin on the editor
966
967
  // items: ({ query }) => { return [] },
@@ -969,14 +970,14 @@ const Jt = /* @__PURE__ */ g(zt, [["render", Xt]]), Yt = {
969
970
  let e, t, o = !1;
970
971
  return {
971
972
  onStart: (n) => {
972
- e = new R(P, {
973
+ e = new v($, {
973
974
  props: {
974
- itemComponent: M(Jt),
975
+ itemComponent: O(Yt),
975
976
  itemType: "channel",
976
977
  ...n
977
978
  },
978
979
  editor: n.editor
979
- }), n.clientRect && (t = I("body", {
980
+ }), n.clientRect && (t = M("body", {
980
981
  getReferenceClientRect: n.clientRect,
981
982
  appendTo: () => document.body,
982
983
  content: e.element,
@@ -991,7 +992,7 @@ const Jt = /* @__PURE__ */ g(zt, [["render", Xt]]), Yt = {
991
992
  trigger: "manual",
992
993
  placement: "top-start",
993
994
  zIndex: 650,
994
- plugins: [B]
995
+ plugins: [A]
995
996
  }), n.items.length > 0 && (t == null || t[0].show()));
996
997
  },
997
998
  onUpdate(n) {
@@ -1009,7 +1010,7 @@ const Jt = /* @__PURE__ */ g(zt, [["render", Xt]]), Yt = {
1009
1010
  }
1010
1011
  };
1011
1012
  }
1012
- }, Gt = {
1013
+ }, Qt = {
1013
1014
  compatConfig: { MODE: 3 },
1014
1015
  name: "SlashCommandSuggestion",
1015
1016
  props: {
@@ -1029,17 +1030,17 @@ const Jt = /* @__PURE__ */ g(zt, [["render", Xt]]), Yt = {
1029
1030
  return this.item.parametersExample;
1030
1031
  }
1031
1032
  }
1032
- }, Qt = { class: "d-body--md-compact" }, Zt = { key: 0 }, en = { class: "d-body--sm d-fc-tertiary" };
1033
- function tn(e, t, o, n, r, i) {
1033
+ }, Zt = { class: "d-body--md-compact" }, en = { key: 0 }, tn = { class: "d-body--sm d-fc-tertiary" };
1034
+ function nn(e, t, o, n, r, i) {
1034
1035
  return l(), _("div", null, [
1035
- w("div", Qt, [
1036
- w("span", null, "/" + p(i.command), 1),
1037
- i.parametersExample ? (l(), _("span", Zt, p(i.parametersExample), 1)) : x("", !0)
1036
+ w("div", Zt, [
1037
+ w("span", null, "/" + m(i.command), 1),
1038
+ i.parametersExample ? (l(), _("span", en, m(i.parametersExample), 1)) : x("", !0)
1038
1039
  ]),
1039
- w("div", en, p(i.description), 1)
1040
+ w("div", tn, m(i.description), 1)
1040
1041
  ]);
1041
1042
  }
1042
- const nn = /* @__PURE__ */ g(Gt, [["render", tn]]), on = {
1043
+ const on = /* @__PURE__ */ g(Qt, [["render", nn]]), rn = {
1043
1044
  // This function comes from the user and passed to the editor directly.
1044
1045
  // This will also activate the mention plugin on the editor
1045
1046
  // items: ({ query }) => { return [] },
@@ -1049,15 +1050,15 @@ const nn = /* @__PURE__ */ g(Gt, [["render", tn]]), on = {
1049
1050
  let e, t, o = !1;
1050
1051
  return {
1051
1052
  onStart: (n) => {
1052
- e = new R(P, {
1053
+ e = new v($, {
1053
1054
  parent: void 0,
1054
1055
  props: {
1055
- itemComponent: M(nn),
1056
+ itemComponent: O(on),
1056
1057
  itemType: "slash-command",
1057
1058
  ...n
1058
1059
  },
1059
1060
  editor: n.editor
1060
- }), n.clientRect && (t = I("body", {
1061
+ }), n.clientRect && (t = M("body", {
1061
1062
  getReferenceClientRect: n.clientRect,
1062
1063
  appendTo: () => document.body,
1063
1064
  content: e.element,
@@ -1072,7 +1073,7 @@ const nn = /* @__PURE__ */ g(Gt, [["render", tn]]), on = {
1072
1073
  trigger: "manual",
1073
1074
  placement: "top-start",
1074
1075
  zIndex: 650,
1075
- plugins: [B]
1076
+ plugins: [A]
1076
1077
  }), n.items.length > 0 && (t == null || t[0].show()));
1077
1078
  },
1078
1079
  onUpdate(n) {
@@ -1090,14 +1091,14 @@ const nn = /* @__PURE__ */ g(Gt, [["render", tn]]), on = {
1090
1091
  }
1091
1092
  };
1092
1093
  }
1093
- }, rn = {
1094
+ }, sn = {
1094
1095
  compatConfig: { MODE: 3 },
1095
1096
  name: "DtRichTextEditor",
1096
1097
  components: {
1097
1098
  EditorContent: G,
1098
1099
  BubbleMenu: Q,
1099
- DtButton: Ze,
1100
- DtStack: O
1100
+ DtButton: et,
1101
+ DtStack: B
1101
1102
  },
1102
1103
  props: {
1103
1104
  /**
@@ -1444,7 +1445,8 @@ const nn = /* @__PURE__ */ g(Gt, [["render", tn]]), on = {
1444
1445
  return (e = F(this.$refs.editor.$el).getRootNode()) == null ? void 0 : e.querySelector("body");
1445
1446
  },
1446
1447
  placement: "top-start"
1447
- }
1448
+ },
1449
+ i18n: new Ze()
1448
1450
  };
1449
1451
  },
1450
1452
  computed: {
@@ -1462,7 +1464,7 @@ const nn = /* @__PURE__ */ g(Gt, [["render", tn]]), on = {
1462
1464
  // eslint-disable-next-line complexity
1463
1465
  extensions() {
1464
1466
  const e = [me, Ce, Ee, he];
1465
- e.push(this.useDivTags ? St : U), this.allowBlockquote && e.push(ce), this.allowBold && e.push(pe), this.allowBulletList && (e.push(ge), e.push(we.extend({
1467
+ e.push(this.useDivTags ? Lt : q), this.allowBlockquote && e.push(ce), this.allowBold && e.push(pe), this.allowBulletList && (e.push(ge), e.push(we.extend({
1466
1468
  renderText({ node: n }) {
1467
1469
  return n.textContent;
1468
1470
  }
@@ -1489,25 +1491,25 @@ const nn = /* @__PURE__ */ g(Gt, [["render", tn]]), on = {
1489
1491
  },
1490
1492
  openOnClick: !1,
1491
1493
  autolink: !0,
1492
- protocols: V
1493
- })), this.customLink && e.push(this.getExtension(Tt, this.customLink)), this.mentionSuggestion) {
1494
- const n = { ...this.mentionSuggestion, ...Wt };
1495
- e.push($t.configure({ suggestion: n }));
1494
+ protocols: K
1495
+ })), this.customLink && e.push(this.getExtension(Et, this.customLink)), this.mentionSuggestion) {
1496
+ const n = { ...this.mentionSuggestion, ...zt };
1497
+ e.push(Ot.configure({ suggestion: n }));
1496
1498
  }
1497
1499
  if (this.channelSuggestion) {
1498
- const n = { ...this.channelSuggestion, ...Yt };
1499
- e.push(Pt.configure({ suggestion: n }));
1500
+ const n = { ...this.channelSuggestion, ...Gt };
1501
+ e.push(At.configure({ suggestion: n }));
1500
1502
  }
1501
1503
  if (this.slashCommandSuggestion) {
1502
- const n = { ...this.slashCommandSuggestion, ...on };
1503
- e.push(Ht.configure({
1504
+ const n = { ...this.slashCommandSuggestion, ...rn };
1505
+ e.push(Nt.configure({
1504
1506
  suggestion: n,
1505
1507
  onSelectedCommand: (r) => {
1506
1508
  this.$emit("selected-command", r);
1507
1509
  }
1508
1510
  }));
1509
1511
  }
1510
- return e.push(gt), e.push(Te.configure({
1512
+ return e.push(_t), e.push(Te.configure({
1511
1513
  types: ["paragraph"]
1512
1514
  })), this.allowCode && e.push(ue), this.allowCodeblock && e.push(de.extend({
1513
1515
  renderText({ node: n }) {
@@ -1519,7 +1521,7 @@ ${n.textContent}
1519
1521
  HTMLAttributes: {
1520
1522
  class: "d-rich-text-editor__code-block"
1521
1523
  }
1522
- })), this.allowInlineImages && e.push(Et), (this.allowFontFamily || this.allowFontColor) && (e.push(Se), this.allowFontColor && e.push(Le), this.allowFontFamily && e.push(ve)), this.additionalExtensions.length && e.push(...this.additionalExtensions), e;
1524
+ })), this.allowInlineImages && e.push(St), (this.allowFontFamily || this.allowFontColor) && (e.push(Se), this.allowFontColor && e.push(Le), this.allowFontFamily && e.push(Re)), this.additionalExtensions.length && e.push(...this.additionalExtensions), e;
1523
1525
  },
1524
1526
  inputAttrs() {
1525
1527
  const e = {
@@ -1559,7 +1561,7 @@ ${n.textContent}
1559
1561
  this.destroyEditor();
1560
1562
  },
1561
1563
  mounted() {
1562
- Ue(F(this.$el), this.$options.name), this.processValue(this.modelValue, !1);
1564
+ qe(F(this.$el), this.$options.name), this.processValue(this.modelValue, !1);
1563
1565
  },
1564
1566
  methods: {
1565
1567
  createEditor() {
@@ -1576,6 +1578,11 @@ ${n.textContent}
1576
1578
  ...this.inputAttrs,
1577
1579
  class: this.inputClass
1578
1580
  },
1581
+ handleKeyDown: (e, t) => {
1582
+ if (!this.preventTyping) return !1;
1583
+ const o = ["Backspace"];
1584
+ return !this.allowLineBreaks && !t.shiftKey && o.push("Enter"), !o.includes(t.key);
1585
+ },
1579
1586
  handlePaste: (e, t, o) => {
1580
1587
  const n = t.clipboardData || window.clipboardData, r = n.getData("text/plain"), i = n.getData("text/html");
1581
1588
  return this.processPasteData(e, r, i);
@@ -1597,9 +1604,9 @@ ${n.textContent}
1597
1604
  * @param editor the editor instance.
1598
1605
  */
1599
1606
  getSelectedLinkText(e) {
1600
- var a, c, h;
1607
+ var a, c, f;
1601
1608
  const { view: t, state: o } = e, { from: n, to: r } = t.state.selection, i = o.doc.textBetween(n, r, ""), s = this.editor.state.doc.nodeAt(n);
1602
- 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 : i;
1609
+ return s && ((f = (c = (a = s.marks) == null ? void 0 : a.at(0)) == null ? void 0 : c.type) == null ? void 0 : f.name) === "link" ? s.textContent : i;
1603
1610
  },
1604
1611
  editLink() {
1605
1612
  const e = this.getSelectedLinkText(this.editor), t = {
@@ -1619,14 +1626,14 @@ ${n.textContent}
1619
1626
  window.open(e, "_blank");
1620
1627
  },
1621
1628
  // eslint-disable-next-line complexity
1622
- setLink(e, t, o, n = V, r) {
1623
- var a, c, h;
1629
+ setLink(e, t, o, n = K, r) {
1630
+ var a, c, f;
1624
1631
  if (!e) {
1625
1632
  this.removeLink();
1626
1633
  return;
1627
1634
  }
1628
1635
  n.find((y) => y.test(e)) || (e = `${r}${e}`), this.editor.chain().focus().extendMarkRange("link").run();
1629
- const s = (h = (c = (a = this.editor) == null ? void 0 : a.view) == null ? void 0 : c.state) == null ? void 0 : h.selection;
1636
+ const s = (f = (c = (a = this.editor) == null ? void 0 : a.view) == null ? void 0 : c.state) == null ? void 0 : f.selection;
1630
1637
  this.editor.chain().focus().insertContent(t).setTextSelection({ from: s.from, to: s.from + t.length }).setLink({ href: e, class: o.class }).run();
1631
1638
  },
1632
1639
  // eslint-disable-next-line complexity
@@ -1726,11 +1733,6 @@ ${n.textContent}
1726
1733
  this.editor.on("create", () => {
1727
1734
  this.triggerInputChangeEvents();
1728
1735
  }), this.editor.on("update", () => {
1729
- var e, t;
1730
- if (this.preventTyping && ((t = (e = this.editor.view) == null ? void 0 : e.input) == null ? void 0 : t.lastKeyCode) !== 8) {
1731
- this.editor.commands.setContent(this.modelValue, !1);
1732
- return;
1733
- }
1734
1736
  this.triggerInputChangeEvents();
1735
1737
  }), this.editor.on("selectionUpdate", ({ editor: e }) => {
1736
1738
  this.$emit("selected", this.getSelectedLinkText(e));
@@ -1771,11 +1773,11 @@ ${n.textContent}
1771
1773
  this.editor.commands.focus();
1772
1774
  }
1773
1775
  }
1774
- }, sn = { class: "d-popover__dialog" };
1775
- function an(e, t, o, n, r, i) {
1776
- const s = d("dt-button"), a = d("dt-stack"), c = d("bubble-menu"), h = d("editor-content");
1776
+ }, an = { class: "d-popover__dialog" };
1777
+ function ln(e, t, o, n, r, i) {
1778
+ const s = d("dt-button"), a = d("dt-stack"), c = d("bubble-menu"), f = d("editor-content");
1777
1779
  return l(), _("div", null, [
1778
- r.editor && o.link && !o.hideLinkBubbleMenu ? (l(), m(c, {
1780
+ r.editor && o.link && !o.hideLinkBubbleMenu ? (l(), h(c, {
1779
1781
  key: 0,
1780
1782
  editor: r.editor,
1781
1783
  "should-show": i.bubbleMenuShouldShow,
@@ -1783,40 +1785,40 @@ function an(e, t, o, n, r, i) {
1783
1785
  style: { visibility: "visible" }
1784
1786
  }, {
1785
1787
  default: u(() => [
1786
- w("div", sn, [
1787
- f(a, {
1788
+ w("div", an, [
1789
+ p(a, {
1788
1790
  direction: "row",
1789
1791
  class: "d-rich-text-editor-bubble-menu__button-stack",
1790
1792
  gap: "0"
1791
1793
  }, {
1792
1794
  default: u(() => [
1793
- f(s, {
1795
+ p(s, {
1794
1796
  kind: "muted",
1795
1797
  importance: "clear",
1796
1798
  onClick: i.editLink
1797
1799
  }, {
1798
1800
  default: u(() => [
1799
- k(" Edit ")
1801
+ k(m(r.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL")), 1)
1800
1802
  ]),
1801
1803
  _: 1
1802
1804
  }, 8, ["onClick"]),
1803
- f(s, {
1805
+ p(s, {
1804
1806
  kind: "muted",
1805
1807
  importance: "clear",
1806
1808
  onClick: i.openLink
1807
1809
  }, {
1808
1810
  default: u(() => [
1809
- k(" Open link ")
1811
+ k(m(r.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL")), 1)
1810
1812
  ]),
1811
1813
  _: 1
1812
1814
  }, 8, ["onClick"]),
1813
- f(s, {
1815
+ p(s, {
1814
1816
  kind: "danger",
1815
1817
  importance: "clear",
1816
1818
  onClick: i.removeLink
1817
1819
  }, {
1818
1820
  default: u(() => [
1819
- k(" Remove ")
1821
+ k(m(r.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL")), 1)
1820
1822
  ]),
1821
1823
  _: 1
1822
1824
  }, 8, ["onClick"])
@@ -1827,7 +1829,7 @@ function an(e, t, o, n, r, i) {
1827
1829
  ]),
1828
1830
  _: 1
1829
1831
  }, 8, ["editor", "should-show", "tippy-options"])) : x("", !0),
1830
- f(h, De({
1832
+ p(f, Pe({
1831
1833
  ref: "editor",
1832
1834
  editor: r.editor,
1833
1835
  class: "d-rich-text-editor",
@@ -1835,8 +1837,8 @@ function an(e, t, o, n, r, i) {
1835
1837
  }, i.attrs), null, 16, ["editor"])
1836
1838
  ]);
1837
1839
  }
1838
- const Qn = /* @__PURE__ */ g(rn, [["render", an]]);
1840
+ const eo = /* @__PURE__ */ g(sn, [["render", ln]]);
1839
1841
  export {
1840
- Qn as default
1842
+ eo as default
1841
1843
  };
1842
1844
  //# sourceMappingURL=rich-text-editor.js.map