@dialpad/dialtone-vue 3.145.1 → 3.146.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 (398) hide show
  1. package/dist/chunks/{dropdown-oA-_Gotg.js → dropdown-6HXkh24e.js} +40 -45
  2. package/dist/chunks/{dropdown-oA-_Gotg.js.map → dropdown-6HXkh24e.js.map} +1 -1
  3. package/dist/chunks/{dropdown-p-Azgwov.js → dropdown-QNvAb160.js} +40 -45
  4. package/dist/chunks/{dropdown-p-Azgwov.js.map → dropdown-QNvAb160.js.map} +1 -1
  5. package/dist/chunks/dropdown_constants-2pGCXy7m.js.map +1 -1
  6. package/dist/chunks/dropdown_constants-w1MXGC3Z.js.map +1 -1
  7. package/dist/chunks/{icon_constants-QYpmdE0R.js → icon_constants-bvhFNOPu.js} +3 -2
  8. package/dist/chunks/icon_constants-bvhFNOPu.js.map +1 -0
  9. package/dist/chunks/{icon_constants-Dy4MEUJL.js → icon_constants-gIQj4mf7.js} +3 -2
  10. package/dist/chunks/icon_constants-gIQj4mf7.js.map +1 -0
  11. package/dist/chunks/{index-b_MgDylR.js → index-T15rAIdX.js} +71 -84
  12. package/dist/chunks/{index-4qgKeErp.js.map → index-T15rAIdX.js.map} +1 -1
  13. package/dist/chunks/{index-GVD15GIB.js → index-dfdrE-3M.js} +3 -12
  14. package/dist/chunks/{index-GVD15GIB.js.map → index-dfdrE-3M.js.map} +1 -1
  15. package/dist/chunks/{index-lu2o2f4r.js → index-fEp0B-5Z.js} +3 -12
  16. package/dist/chunks/{index-lu2o2f4r.js.map → index-fEp0B-5Z.js.map} +1 -1
  17. package/dist/chunks/{index-4qgKeErp.js → index-ouh7Bvm-.js} +71 -84
  18. package/dist/chunks/{index-b_MgDylR.js.map → index-ouh7Bvm-.js.map} +1 -1
  19. package/dist/chunks/{input-NmYDD5bn.js → input-HIysg24t.js} +3 -9
  20. package/dist/chunks/{input-ttnte8zB.js.map → input-HIysg24t.js.map} +1 -1
  21. package/dist/chunks/{input-ttnte8zB.js → input-dLLo3Wtg.js} +3 -9
  22. package/dist/chunks/{input-NmYDD5bn.js.map → input-dLLo3Wtg.js.map} +1 -1
  23. package/dist/chunks/{input_group-jWnq2DJT.js → input_group-hV1WT2it.js} +4 -2
  24. package/dist/chunks/{input_group-M-D25pOJ.js.map → input_group-hV1WT2it.js.map} +1 -1
  25. package/dist/chunks/{input_group-M-D25pOJ.js → input_group-rE6nhye8.js} +4 -2
  26. package/dist/chunks/{input_group-jWnq2DJT.js.map → input_group-rE6nhye8.js.map} +1 -1
  27. package/dist/chunks/{keyboard_list_navigation-ScXhrxya.js → keyboard_list_navigation-YIqTuw1W.js} +6 -5
  28. package/dist/chunks/{keyboard_list_navigation-fJnl_Iox.js.map → keyboard_list_navigation-YIqTuw1W.js.map} +1 -1
  29. package/dist/chunks/{keyboard_list_navigation-fJnl_Iox.js → keyboard_list_navigation-x3D6RcC7.js} +6 -5
  30. package/dist/chunks/{keyboard_list_navigation-ScXhrxya.js.map → keyboard_list_navigation-x3D6RcC7.js.map} +1 -1
  31. package/dist/chunks/link_constants-AfTWrr-n.js.map +1 -1
  32. package/dist/chunks/link_constants-x8NwdqmA.js.map +1 -1
  33. package/dist/chunks/list_item_constants-EiqkqZvP.js.map +1 -1
  34. package/dist/chunks/list_item_constants-u1xcN9Dd.js.map +1 -1
  35. package/dist/chunks/{modal-XOr4kiNZ.js → modal-8X6poIZW.js} +4 -2
  36. package/dist/chunks/{modal-XOr4kiNZ.js.map → modal-8X6poIZW.js.map} +1 -1
  37. package/dist/chunks/{modal-VgxXAQFP.js → modal-OaWxzqNt.js} +4 -2
  38. package/dist/chunks/{modal-VgxXAQFP.js.map → modal-OaWxzqNt.js.map} +1 -1
  39. package/dist/chunks/{notice_action-WTucGhvr.js → notice_action-3ed0uIMN.js} +40 -61
  40. package/dist/chunks/{notice_action-p-ePanW_.js.map → notice_action-3ed0uIMN.js.map} +1 -1
  41. package/dist/chunks/{notice_action-p-ePanW_.js → notice_action-e08Lw5W6.js} +40 -61
  42. package/dist/chunks/{notice_action-WTucGhvr.js.map → notice_action-e08Lw5W6.js.map} +1 -1
  43. package/dist/chunks/notice_constants-7Qt2CQEY.js.map +1 -1
  44. package/dist/chunks/notice_constants-UXo9e3bS.js.map +1 -1
  45. package/dist/chunks/{popover_constants-WsOUIY-m.js → popover_constants-6YkPPbnk.js} +26 -47
  46. package/dist/chunks/{popover_constants-XnGWXaxX.js.map → popover_constants-6YkPPbnk.js.map} +1 -1
  47. package/dist/chunks/{popover_constants-XnGWXaxX.js → popover_constants-h9MD6WUt.js} +26 -47
  48. package/dist/chunks/{popover_constants-WsOUIY-m.js.map → popover_constants-h9MD6WUt.js.map} +1 -1
  49. package/dist/chunks/{sr_only_close_button-3EdsV-dH.js → sr_only_close_button-Ji3Zlts6.js} +4 -4
  50. package/dist/chunks/{sr_only_close_button-3EdsV-dH.js.map → sr_only_close_button-Ji3Zlts6.js.map} +1 -1
  51. package/dist/chunks/{sr_only_close_button-xGrHFjwA.js → sr_only_close_button-gKr0Vlbz.js} +4 -4
  52. package/dist/chunks/{sr_only_close_button-xGrHFjwA.js.map → sr_only_close_button-gKr0Vlbz.js.map} +1 -1
  53. package/dist/chunks/stack_constants-HraCekPm.js.map +1 -1
  54. package/dist/chunks/stack_constants-SMzMWnAQ.js.map +1 -1
  55. package/dist/chunks/{tab-qc3f42Yp.js → tab-X7IvNGTl.js} +46 -49
  56. package/dist/chunks/{tab-qc3f42Yp.js.map → tab-X7IvNGTl.js.map} +1 -1
  57. package/dist/chunks/{tab-RTDgnD9-.js → tab-aD6t0MNo.js} +46 -49
  58. package/dist/chunks/{tab-RTDgnD9-.js.map → tab-aD6t0MNo.js.map} +1 -1
  59. package/dist/common/constants.cjs.map +1 -1
  60. package/dist/common/constants.js.map +1 -1
  61. package/dist/common/dates.cjs +3 -1
  62. package/dist/common/dates.cjs.map +1 -1
  63. package/dist/common/dates.js +3 -1
  64. package/dist/common/dates.js.map +1 -1
  65. package/dist/common/emoji.cjs +1 -1
  66. package/dist/common/emoji.js +1 -1
  67. package/dist/common/mixins.cjs +3 -3
  68. package/dist/common/mixins.js +3 -3
  69. package/dist/common/utils.cjs +11 -45
  70. package/dist/common/utils.cjs.map +1 -1
  71. package/dist/common/utils.js +11 -45
  72. package/dist/common/utils.js.map +1 -1
  73. package/dist/common/validators.cjs.map +1 -1
  74. package/dist/common/validators.js.map +1 -1
  75. package/dist/component-documentation.json +1 -1
  76. package/dist/dialtone-vue.cjs +12 -12
  77. package/dist/dialtone-vue.js +12 -12
  78. package/dist/lib/attachment-carousel.cjs +87 -108
  79. package/dist/lib/attachment-carousel.cjs.map +1 -1
  80. package/dist/lib/attachment-carousel.js +87 -108
  81. package/dist/lib/attachment-carousel.js.map +1 -1
  82. package/dist/lib/avatar.cjs +56 -88
  83. package/dist/lib/avatar.cjs.map +1 -1
  84. package/dist/lib/avatar.js +56 -88
  85. package/dist/lib/avatar.js.map +1 -1
  86. package/dist/lib/badge.cjs +15 -31
  87. package/dist/lib/badge.cjs.map +1 -1
  88. package/dist/lib/badge.js +15 -31
  89. package/dist/lib/badge.js.map +1 -1
  90. package/dist/lib/banner.cjs +38 -56
  91. package/dist/lib/banner.cjs.map +1 -1
  92. package/dist/lib/banner.js +38 -56
  93. package/dist/lib/banner.js.map +1 -1
  94. package/dist/lib/breadcrumbs.cjs +25 -36
  95. package/dist/lib/breadcrumbs.cjs.map +1 -1
  96. package/dist/lib/breadcrumbs.js +25 -36
  97. package/dist/lib/breadcrumbs.js.map +1 -1
  98. package/dist/lib/button-group.cjs +2 -7
  99. package/dist/lib/button-group.cjs.map +1 -1
  100. package/dist/lib/button-group.js +2 -7
  101. package/dist/lib/button-group.js.map +1 -1
  102. package/dist/lib/button.cjs +44 -69
  103. package/dist/lib/button.cjs.map +1 -1
  104. package/dist/lib/button.js +44 -69
  105. package/dist/lib/button.js.map +1 -1
  106. package/dist/lib/callbar-button-with-popover.cjs +68 -81
  107. package/dist/lib/callbar-button-with-popover.cjs.map +1 -1
  108. package/dist/lib/callbar-button-with-popover.js +68 -81
  109. package/dist/lib/callbar-button-with-popover.js.map +1 -1
  110. package/dist/lib/callbar-button.cjs +32 -45
  111. package/dist/lib/callbar-button.cjs.map +1 -1
  112. package/dist/lib/callbar-button.js +32 -45
  113. package/dist/lib/callbar-button.js.map +1 -1
  114. package/dist/lib/callbox.cjs +38 -57
  115. package/dist/lib/callbox.cjs.map +1 -1
  116. package/dist/lib/callbox.js +38 -57
  117. package/dist/lib/callbox.js.map +1 -1
  118. package/dist/lib/card.cjs +13 -33
  119. package/dist/lib/card.cjs.map +1 -1
  120. package/dist/lib/card.js +13 -33
  121. package/dist/lib/card.js.map +1 -1
  122. package/dist/lib/checkbox-group.cjs +2 -5
  123. package/dist/lib/checkbox-group.cjs.map +1 -1
  124. package/dist/lib/checkbox-group.js +2 -5
  125. package/dist/lib/checkbox-group.js.map +1 -1
  126. package/dist/lib/checkbox.cjs +41 -45
  127. package/dist/lib/checkbox.cjs.map +1 -1
  128. package/dist/lib/checkbox.js +41 -45
  129. package/dist/lib/checkbox.js.map +1 -1
  130. package/dist/lib/chip.cjs +38 -53
  131. package/dist/lib/chip.cjs.map +1 -1
  132. package/dist/lib/chip.js +38 -53
  133. package/dist/lib/chip.js.map +1 -1
  134. package/dist/lib/codeblock.cjs +4 -6
  135. package/dist/lib/codeblock.cjs.map +1 -1
  136. package/dist/lib/codeblock.js +4 -6
  137. package/dist/lib/codeblock.js.map +1 -1
  138. package/dist/lib/collapsible.cjs +62 -76
  139. package/dist/lib/collapsible.cjs.map +1 -1
  140. package/dist/lib/collapsible.js +62 -76
  141. package/dist/lib/collapsible.js.map +1 -1
  142. package/dist/lib/combobox-multi-select.cjs +75 -88
  143. package/dist/lib/combobox-multi-select.cjs.map +1 -1
  144. package/dist/lib/combobox-multi-select.js +75 -88
  145. package/dist/lib/combobox-multi-select.js.map +1 -1
  146. package/dist/lib/combobox-with-popover.cjs +77 -85
  147. package/dist/lib/combobox-with-popover.cjs.map +1 -1
  148. package/dist/lib/combobox-with-popover.js +77 -85
  149. package/dist/lib/combobox-with-popover.js.map +1 -1
  150. package/dist/lib/combobox.cjs +3 -3
  151. package/dist/lib/combobox.js +3 -3
  152. package/dist/lib/contact-centers-row.cjs +65 -89
  153. package/dist/lib/contact-centers-row.cjs.map +1 -1
  154. package/dist/lib/contact-centers-row.js +65 -89
  155. package/dist/lib/contact-centers-row.js.map +1 -1
  156. package/dist/lib/contact-info.cjs +58 -73
  157. package/dist/lib/contact-info.cjs.map +1 -1
  158. package/dist/lib/contact-info.js +58 -73
  159. package/dist/lib/contact-info.js.map +1 -1
  160. package/dist/lib/contact-row.cjs +37 -47
  161. package/dist/lib/contact-row.cjs.map +1 -1
  162. package/dist/lib/contact-row.js +37 -47
  163. package/dist/lib/contact-row.js.map +1 -1
  164. package/dist/lib/datepicker.cjs +267 -263
  165. package/dist/lib/datepicker.cjs.map +1 -1
  166. package/dist/lib/datepicker.js +267 -263
  167. package/dist/lib/datepicker.js.map +1 -1
  168. package/dist/lib/description-list.cjs +9 -14
  169. package/dist/lib/description-list.cjs.map +1 -1
  170. package/dist/lib/description-list.js +9 -14
  171. package/dist/lib/description-list.js.map +1 -1
  172. package/dist/lib/dropdown.cjs +6 -6
  173. package/dist/lib/dropdown.cjs.map +1 -1
  174. package/dist/lib/dropdown.js +6 -6
  175. package/dist/lib/dropdown.js.map +1 -1
  176. package/dist/lib/editor.cjs +312 -249
  177. package/dist/lib/editor.cjs.map +1 -1
  178. package/dist/lib/editor.js +312 -249
  179. package/dist/lib/editor.js.map +1 -1
  180. package/dist/lib/emoji-picker.cjs +387 -419
  181. package/dist/lib/emoji-picker.cjs.map +1 -1
  182. package/dist/lib/emoji-picker.js +387 -419
  183. package/dist/lib/emoji-picker.js.map +1 -1
  184. package/dist/lib/emoji-row.cjs +59 -69
  185. package/dist/lib/emoji-row.cjs.map +1 -1
  186. package/dist/lib/emoji-row.js +59 -69
  187. package/dist/lib/emoji-row.js.map +1 -1
  188. package/dist/lib/emoji-text-wrapper.cjs +13 -12
  189. package/dist/lib/emoji-text-wrapper.cjs.map +1 -1
  190. package/dist/lib/emoji-text-wrapper.js +13 -12
  191. package/dist/lib/emoji-text-wrapper.js.map +1 -1
  192. package/dist/lib/emoji.cjs +19 -23
  193. package/dist/lib/emoji.cjs.map +1 -1
  194. package/dist/lib/emoji.js +19 -23
  195. package/dist/lib/emoji.js.map +1 -1
  196. package/dist/lib/empty-state.cjs +20 -30
  197. package/dist/lib/empty-state.cjs.map +1 -1
  198. package/dist/lib/empty-state.js +20 -30
  199. package/dist/lib/empty-state.js.map +1 -1
  200. package/dist/lib/feed-item-row.cjs +43 -74
  201. package/dist/lib/feed-item-row.cjs.map +1 -1
  202. package/dist/lib/feed-item-row.js +43 -74
  203. package/dist/lib/feed-item-row.js.map +1 -1
  204. package/dist/lib/feed-pill.cjs +45 -55
  205. package/dist/lib/feed-pill.cjs.map +1 -1
  206. package/dist/lib/feed-pill.js +45 -55
  207. package/dist/lib/feed-pill.js.map +1 -1
  208. package/dist/lib/general-row.cjs +115 -165
  209. package/dist/lib/general-row.cjs.map +1 -1
  210. package/dist/lib/general-row.js +115 -165
  211. package/dist/lib/general-row.js.map +1 -1
  212. package/dist/lib/group-row.cjs +7 -9
  213. package/dist/lib/group-row.cjs.map +1 -1
  214. package/dist/lib/group-row.js +7 -9
  215. package/dist/lib/group-row.js.map +1 -1
  216. package/dist/lib/grouped-chip.cjs +27 -48
  217. package/dist/lib/grouped-chip.cjs.map +1 -1
  218. package/dist/lib/grouped-chip.js +27 -48
  219. package/dist/lib/grouped-chip.js.map +1 -1
  220. package/dist/lib/hovercard.cjs +25 -33
  221. package/dist/lib/hovercard.cjs.map +1 -1
  222. package/dist/lib/hovercard.js +25 -33
  223. package/dist/lib/hovercard.js.map +1 -1
  224. package/dist/lib/icon.cjs +1 -1
  225. package/dist/lib/icon.cjs.map +1 -1
  226. package/dist/lib/icon.js +1 -1
  227. package/dist/lib/icon.js.map +1 -1
  228. package/dist/lib/illustration.cjs +2 -1
  229. package/dist/lib/illustration.cjs.map +1 -1
  230. package/dist/lib/illustration.js +2 -1
  231. package/dist/lib/illustration.js.map +1 -1
  232. package/dist/lib/image-viewer.cjs +62 -66
  233. package/dist/lib/image-viewer.cjs.map +1 -1
  234. package/dist/lib/image-viewer.js +62 -66
  235. package/dist/lib/image-viewer.js.map +1 -1
  236. package/dist/lib/input-group.cjs +15 -19
  237. package/dist/lib/input-group.cjs.map +1 -1
  238. package/dist/lib/input-group.js +15 -19
  239. package/dist/lib/input-group.js.map +1 -1
  240. package/dist/lib/input.cjs +76 -104
  241. package/dist/lib/input.cjs.map +1 -1
  242. package/dist/lib/input.js +76 -104
  243. package/dist/lib/input.js.map +1 -1
  244. package/dist/lib/item-layout.cjs +10 -27
  245. package/dist/lib/item-layout.cjs.map +1 -1
  246. package/dist/lib/item-layout.js +10 -27
  247. package/dist/lib/item-layout.js.map +1 -1
  248. package/dist/lib/ivr-node.cjs +80 -89
  249. package/dist/lib/ivr-node.cjs.map +1 -1
  250. package/dist/lib/ivr-node.js +80 -89
  251. package/dist/lib/ivr-node.js.map +1 -1
  252. package/dist/lib/keyboard-shortcut.cjs +26 -31
  253. package/dist/lib/keyboard-shortcut.cjs.map +1 -1
  254. package/dist/lib/keyboard-shortcut.js +26 -31
  255. package/dist/lib/keyboard-shortcut.js.map +1 -1
  256. package/dist/lib/lazy-show.cjs +6 -8
  257. package/dist/lib/lazy-show.cjs.map +1 -1
  258. package/dist/lib/lazy-show.js +6 -8
  259. package/dist/lib/lazy-show.js.map +1 -1
  260. package/dist/lib/link.cjs +2 -7
  261. package/dist/lib/link.cjs.map +1 -1
  262. package/dist/lib/link.js +2 -7
  263. package/dist/lib/link.js.map +1 -1
  264. package/dist/lib/list-item-group.cjs +7 -14
  265. package/dist/lib/list-item-group.cjs.map +1 -1
  266. package/dist/lib/list-item-group.js +7 -14
  267. package/dist/lib/list-item-group.js.map +1 -1
  268. package/dist/lib/list-item.cjs +24 -25
  269. package/dist/lib/list-item.cjs.map +1 -1
  270. package/dist/lib/list-item.js +24 -25
  271. package/dist/lib/list-item.js.map +1 -1
  272. package/dist/lib/message-input.cjs +227 -264
  273. package/dist/lib/message-input.cjs.map +1 -1
  274. package/dist/lib/message-input.js +227 -264
  275. package/dist/lib/message-input.js.map +1 -1
  276. package/dist/lib/modal.cjs +59 -99
  277. package/dist/lib/modal.cjs.map +1 -1
  278. package/dist/lib/modal.js +59 -99
  279. package/dist/lib/modal.js.map +1 -1
  280. package/dist/lib/notice.cjs +33 -46
  281. package/dist/lib/notice.cjs.map +1 -1
  282. package/dist/lib/notice.js +33 -46
  283. package/dist/lib/notice.js.map +1 -1
  284. package/dist/lib/pagination.cjs +49 -61
  285. package/dist/lib/pagination.cjs.map +1 -1
  286. package/dist/lib/pagination.js +49 -61
  287. package/dist/lib/pagination.js.map +1 -1
  288. package/dist/lib/popover.cjs +133 -156
  289. package/dist/lib/popover.cjs.map +1 -1
  290. package/dist/lib/popover.js +134 -157
  291. package/dist/lib/popover.js.map +1 -1
  292. package/dist/lib/presence.cjs +9 -17
  293. package/dist/lib/presence.cjs.map +1 -1
  294. package/dist/lib/presence.js +9 -17
  295. package/dist/lib/presence.js.map +1 -1
  296. package/dist/lib/radio-group.cjs +1 -1
  297. package/dist/lib/radio-group.cjs.map +1 -1
  298. package/dist/lib/radio-group.js +1 -1
  299. package/dist/lib/radio-group.js.map +1 -1
  300. package/dist/lib/radio.cjs +34 -41
  301. package/dist/lib/radio.cjs.map +1 -1
  302. package/dist/lib/radio.js +34 -41
  303. package/dist/lib/radio.js.map +1 -1
  304. package/dist/lib/rich-text-editor.cjs +292 -288
  305. package/dist/lib/rich-text-editor.cjs.map +1 -1
  306. package/dist/lib/rich-text-editor.js +292 -288
  307. package/dist/lib/rich-text-editor.js.map +1 -1
  308. package/dist/lib/root-layout.cjs +24 -39
  309. package/dist/lib/root-layout.cjs.map +1 -1
  310. package/dist/lib/root-layout.js +24 -39
  311. package/dist/lib/root-layout.js.map +1 -1
  312. package/dist/lib/scrollbar-directive.cjs.map +1 -1
  313. package/dist/lib/scrollbar-directive.js.map +1 -1
  314. package/dist/lib/scroller.cjs +100 -83
  315. package/dist/lib/scroller.cjs.map +1 -1
  316. package/dist/lib/scroller.js +100 -83
  317. package/dist/lib/scroller.js.map +1 -1
  318. package/dist/lib/select-menu.cjs +40 -67
  319. package/dist/lib/select-menu.cjs.map +1 -1
  320. package/dist/lib/select-menu.js +40 -67
  321. package/dist/lib/select-menu.js.map +1 -1
  322. package/dist/lib/settings-menu-button.cjs +10 -16
  323. package/dist/lib/settings-menu-button.cjs.map +1 -1
  324. package/dist/lib/settings-menu-button.js +10 -16
  325. package/dist/lib/settings-menu-button.js.map +1 -1
  326. package/dist/lib/skeleton.cjs +74 -93
  327. package/dist/lib/skeleton.cjs.map +1 -1
  328. package/dist/lib/skeleton.js +74 -93
  329. package/dist/lib/skeleton.js.map +1 -1
  330. package/dist/lib/split-button.cjs +68 -74
  331. package/dist/lib/split-button.cjs.map +1 -1
  332. package/dist/lib/split-button.js +68 -74
  333. package/dist/lib/split-button.js.map +1 -1
  334. package/dist/lib/stack.cjs +18 -26
  335. package/dist/lib/stack.cjs.map +1 -1
  336. package/dist/lib/stack.js +18 -26
  337. package/dist/lib/stack.js.map +1 -1
  338. package/dist/lib/tabs.cjs +3 -7
  339. package/dist/lib/tabs.cjs.map +1 -1
  340. package/dist/lib/tabs.js +3 -7
  341. package/dist/lib/tabs.js.map +1 -1
  342. package/dist/lib/time-pill.cjs.map +1 -1
  343. package/dist/lib/time-pill.js.map +1 -1
  344. package/dist/lib/toast.cjs +35 -51
  345. package/dist/lib/toast.cjs.map +1 -1
  346. package/dist/lib/toast.js +35 -51
  347. package/dist/lib/toast.js.map +1 -1
  348. package/dist/lib/toggle.cjs +24 -34
  349. package/dist/lib/toggle.cjs.map +1 -1
  350. package/dist/lib/toggle.js +24 -34
  351. package/dist/lib/toggle.js.map +1 -1
  352. package/dist/lib/tooltip-directive.cjs +26 -19
  353. package/dist/lib/tooltip-directive.cjs.map +1 -1
  354. package/dist/lib/tooltip-directive.js +26 -19
  355. package/dist/lib/tooltip-directive.js.map +1 -1
  356. package/dist/lib/tooltip.cjs +21 -32
  357. package/dist/lib/tooltip.cjs.map +1 -1
  358. package/dist/lib/tooltip.js +22 -33
  359. package/dist/lib/tooltip.js.map +1 -1
  360. package/dist/lib/top-banner-info.cjs +8 -23
  361. package/dist/lib/top-banner-info.cjs.map +1 -1
  362. package/dist/lib/top-banner-info.js +8 -23
  363. package/dist/lib/top-banner-info.js.map +1 -1
  364. package/dist/lib/unread-pill.cjs +8 -11
  365. package/dist/lib/unread-pill.cjs.map +1 -1
  366. package/dist/lib/unread-pill.js +8 -11
  367. package/dist/lib/unread-pill.js.map +1 -1
  368. package/dist/lib/validation-messages.cjs +14 -17
  369. package/dist/lib/validation-messages.cjs.map +1 -1
  370. package/dist/lib/validation-messages.js +14 -17
  371. package/dist/lib/validation-messages.js.map +1 -1
  372. package/dist/types/components/button/button.vue.d.ts +1 -1
  373. package/dist/types/components/chip/chip.vue.d.ts +1 -1
  374. package/dist/types/components/combobox/combobox.vue.d.ts +1 -1
  375. package/dist/types/components/datepicker/modules/month-year-picker.vue.d.ts +1 -1
  376. package/dist/types/components/icon/icon.vue.d.ts +2 -2
  377. package/dist/types/components/icon/icon_constants.d.ts +1 -1
  378. package/dist/types/components/icon/icon_constants.d.ts.map +1 -1
  379. package/dist/types/components/illustration/illustration_constants.d.ts +1 -1
  380. package/dist/types/components/illustration/illustration_constants.d.ts.map +1 -1
  381. package/dist/types/components/image_viewer/image_viewer.vue.d.ts +21 -0
  382. package/dist/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  383. package/dist/types/components/input/input.vue.d.ts +1 -1
  384. package/dist/types/components/modal/modal.vue.d.ts +1 -1
  385. package/dist/types/components/notice/notice.vue.d.ts +1 -1
  386. package/dist/types/components/radio/radio.vue.d.ts +1 -1
  387. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +1 -1
  388. package/dist/types/components/scroller/modules/scroller_item.vue.d.ts +1 -1
  389. package/dist/types/components/split_button/split_button-alpha.vue.d.ts +1 -1
  390. package/dist/types/components/tabs/tab.vue.d.ts +1 -1
  391. package/dist/types/components/toast/toast.vue.d.ts +2 -2
  392. package/dist/types/components/tooltip/tooltip.vue.d.ts +1 -1
  393. package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -1
  394. package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts +1 -1
  395. package/dist/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -1
  396. package/package.json +3 -2
  397. package/dist/chunks/icon_constants-Dy4MEUJL.js.map +0 -1
  398. package/dist/chunks/icon_constants-QYpmdE0R.js.map +0 -1
@@ -22,7 +22,7 @@ const core = require("@tiptap/core");
22
22
  const vue = require("vue");
23
23
  const _pluginVue_exportHelper = require("../chunks/_plugin-vue_export-helper-fhnQq0tA.js");
24
24
  const lib_emoji = require("./emoji.cjs");
25
- const common_emoji = require("../chunks/index-lu2o2f4r.js");
25
+ const common_emoji = require("../chunks/index-fEp0B-5Z.js");
26
26
  const state = require("@tiptap/pm/state");
27
27
  const Suggestion = require("@tiptap/suggestion");
28
28
  const dialtoneEmojis = require("@dialpad/dialtone-emojis");
@@ -36,7 +36,7 @@ const lib_avatar = require("./avatar.cjs");
36
36
  const DtIconHash = require("@dialpad/dialtone-icons/vue3/hash");
37
37
  const DtIconLock = require("@dialpad/dialtone-icons/vue3/lock");
38
38
  require("./skeleton.cjs");
39
- require("../chunks/icon_constants-QYpmdE0R.js");
39
+ require("../chunks/icon_constants-bvhFNOPu.js");
40
40
  require("@dialpad/dialtone-icons/icons.json");
41
41
  require("../chunks/list_item_constants-EiqkqZvP.js");
42
42
  require("./item-layout.cjs");
@@ -57,13 +57,13 @@ const _sfc_main$9 = {
57
57
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
58
58
  const _component_dt_emoji = vue.resolveComponent("dt-emoji");
59
59
  const _component_node_view_wrapper = vue.resolveComponent("node-view-wrapper");
60
- return vue.openBlock(), vue.createBlock(_component_node_view_wrapper, { class: "d-d-inline-block d-va-bottom d-lh0" }, {
61
- default: vue.withCtx(() => [
62
- vue.createVNode(_component_dt_emoji, {
63
- size: "500",
64
- code: _ctx.node.attrs.code
65
- }, null, 8, ["code"])
66
- ]),
60
+ return vue.openBlock(), vue.createBlock(_component_node_view_wrapper, {
61
+ class: "d-d-inline-block d-va-bottom d-lh0"
62
+ }, {
63
+ default: vue.withCtx(() => [vue.createVNode(_component_dt_emoji, {
64
+ size: "500",
65
+ code: _ctx.node.attrs.code
66
+ }, null, 8, ["code"])]),
67
67
  _: 1
68
68
  });
69
69
  }
@@ -102,7 +102,9 @@ const _sfc_main$8 = {
102
102
  }
103
103
  },
104
104
  methods: {
105
- onKeyDown({ event }) {
105
+ onKeyDown({
106
+ event
107
+ }) {
106
108
  if (event.key === "ArrowUp") {
107
109
  this.upHandler();
108
110
  return true;
@@ -145,48 +147,52 @@ const _sfc_main$8 = {
145
147
  this.command(item);
146
148
  return;
147
149
  case "mention":
148
- this.command({ name: item.name, id: item.id, avatarSrc: item.avatarSrc });
150
+ this.command({
151
+ name: item.name,
152
+ id: item.id,
153
+ avatarSrc: item.avatarSrc
154
+ });
149
155
  break;
150
156
  case "channel":
151
- this.command({ name: item.name, id: item.id });
157
+ this.command({
158
+ name: item.name,
159
+ id: item.id
160
+ });
152
161
  break;
153
162
  case "slash-command":
154
- this.command({ command: item.command });
163
+ this.command({
164
+ command: item.command
165
+ });
155
166
  break;
156
167
  }
157
168
  }
158
169
  }
159
170
  };
160
- const _hoisted_1$2 = { class: "d-popover__dialog dt-suggestion-list__container" };
171
+ const _hoisted_1$2 = {
172
+ class: "d-popover__dialog dt-suggestion-list__container"
173
+ };
161
174
  const _hoisted_2$1 = {
162
175
  ref: "suggestionList",
163
176
  class: "dt-suggestion-list"
164
177
  };
165
178
  function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
166
179
  const _component_dt_list_item = vue.resolveComponent("dt-list-item");
167
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
168
- vue.withDirectives(vue.createElementVNode("ul", _hoisted_2$1, [
169
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.items, (item, index) => {
170
- return vue.openBlock(), vue.createBlock(_component_dt_list_item, {
171
- key: item.id,
172
- class: vue.normalizeClass([
173
- "dt-suggestion-list--item",
174
- { "dt-list-item--highlighted": index === $data.selectedIndex }
175
- ]),
176
- "navigation-type": "arrow-keys",
177
- onClick: ($event) => $options.selectItem(index),
178
- onKeydown: vue.withModifiers($options.onKeyDown, ["prevent"])
179
- }, {
180
- default: vue.withCtx(() => [
181
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.itemComponent), { item }, null, 8, ["item"]))
182
- ]),
183
- _: 2
184
- }, 1032, ["class", "onClick", "onKeydown"]);
185
- }), 128))
186
- ], 512), [
187
- [vue.vShow, $props.items.length]
188
- ])
189
- ]);
180
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [vue.withDirectives(vue.createElementVNode("ul", _hoisted_2$1, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.items, (item, index) => {
181
+ return vue.openBlock(), vue.createBlock(_component_dt_list_item, {
182
+ key: item.id,
183
+ class: vue.normalizeClass(["dt-suggestion-list--item", {
184
+ "dt-list-item--highlighted": index === $data.selectedIndex
185
+ }]),
186
+ "navigation-type": "arrow-keys",
187
+ onClick: ($event) => $options.selectItem(index),
188
+ onKeydown: vue.withModifiers($options.onKeyDown, ["prevent"])
189
+ }, {
190
+ default: vue.withCtx(() => [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.itemComponent), {
191
+ item
192
+ }, null, 8, ["item"]))]),
193
+ _: 2
194
+ }, 1032, ["class", "onClick", "onKeydown"]);
195
+ }), 128))], 512), [[vue.vShow, $props.items.length]])]);
190
196
  }
191
197
  const SuggestionList = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main$8, [["render", _sfc_render$8]]);
192
198
  const _sfc_main$7 = {
@@ -209,13 +215,10 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
209
215
  direction: "row",
210
216
  gap: "400"
211
217
  }, {
212
- default: vue.withCtx(() => [
213
- vue.createVNode(_component_dt_emoji, {
214
- size: "200",
215
- code: $props.item.code
216
- }, null, 8, ["code"]),
217
- vue.createTextVNode(" " + vue.toDisplayString($props.item.code), 1)
218
- ]),
218
+ default: vue.withCtx(() => [vue.createVNode(_component_dt_emoji, {
219
+ size: "200",
220
+ code: $props.item.code
221
+ }, null, 8, ["code"]), vue.createTextVNode(" " + vue.toDisplayString($props.item.code), 1)]),
219
222
  _: 1
220
223
  });
221
224
  }
@@ -223,7 +226,9 @@ const EmojiSuggestion = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc
223
226
  const hideOnEsc = {
224
227
  name: "hideOnEsc",
225
228
  defaultValue: true,
226
- fn({ hide }) {
229
+ fn({
230
+ hide
231
+ }) {
227
232
  function onKeyDown(event) {
228
233
  if (event.keyCode === 27) {
229
234
  hide();
@@ -240,7 +245,9 @@ const hideOnEsc = {
240
245
  }
241
246
  };
242
247
  const suggestionOptions = {
243
- items: ({ query }) => {
248
+ items: ({
249
+ query
250
+ }) => {
244
251
  if (query.length < 2) {
245
252
  return [];
246
253
  }
@@ -252,26 +259,29 @@ const suggestionOptions = {
252
259
  return false;
253
260
  });
254
261
  return filteredEmoji.map((item) => {
255
- return { code: item.shortname };
262
+ return {
263
+ code: item.shortname
264
+ };
256
265
  });
257
266
  },
258
- command: ({ editor, range, props }) => {
267
+ command: ({
268
+ editor,
269
+ range,
270
+ props
271
+ }) => {
259
272
  var _a, _b;
260
273
  const nodeAfter = editor.view.state.selection.$to.nodeAfter;
261
274
  const overrideSpace = (_a = nodeAfter == null ? void 0 : nodeAfter.text) == null ? void 0 : _a.startsWith(" ");
262
275
  if (overrideSpace) {
263
276
  range.to += 1;
264
277
  }
265
- editor.chain().focus().insertContentAt(range, [
266
- {
267
- type: "emoji",
268
- attrs: props
269
- },
270
- {
271
- type: "text",
272
- text: " "
273
- }
274
- ]).run();
278
+ editor.chain().focus().insertContentAt(range, [{
279
+ type: "emoji",
280
+ attrs: props
281
+ }, {
282
+ type: "text",
283
+ text: " "
284
+ }]).run();
275
285
  (_b = window.getSelection()) == null ? void 0 : _b.collapseToEnd();
276
286
  },
277
287
  render: () => {
@@ -384,17 +394,19 @@ const Emoji = core.Node.create({
384
394
  };
385
395
  },
386
396
  parseHTML() {
387
- return [
388
- {
389
- tag: "emoji-component"
390
- }
391
- ];
397
+ return [{
398
+ tag: "emoji-component"
399
+ }];
392
400
  },
393
- renderText({ node }) {
401
+ renderText({
402
+ node
403
+ }) {
394
404
  const unicodeEmoji = common_emoji.stringToUnicode(common_emoji.codeToEmojiData(node.attrs.code).unicode_output);
395
405
  return unicodeEmoji;
396
406
  },
397
- renderHTML({ HTMLAttributes }) {
407
+ renderHTML({
408
+ HTMLAttributes
409
+ }) {
398
410
  return ["emoji-component", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
399
411
  },
400
412
  addInputRules() {
@@ -432,35 +444,30 @@ const Emoji = core.Node.create({
432
444
  ];
433
445
  },
434
446
  addPasteRules() {
435
- return [
436
- core.nodePasteRule({
437
- find: shortCodePasteMatch,
438
- type: this.type,
439
- getAttributes(attrs) {
440
- return {
441
- code: attrs[0]
442
- };
443
- }
444
- }),
445
- core.nodePasteRule({
446
- find: common_emoji.emojiRegex,
447
- type: this.type,
448
- getAttributes(attrs) {
449
- return {
450
- code: attrs[0]
451
- };
452
- }
453
- })
454
- ];
447
+ return [core.nodePasteRule({
448
+ find: shortCodePasteMatch,
449
+ type: this.type,
450
+ getAttributes(attrs) {
451
+ return {
452
+ code: attrs[0]
453
+ };
454
+ }
455
+ }), core.nodePasteRule({
456
+ find: common_emoji.emojiRegex,
457
+ type: this.type,
458
+ getAttributes(attrs) {
459
+ return {
460
+ code: attrs[0]
461
+ };
462
+ }
463
+ })];
455
464
  },
456
465
  addProseMirrorPlugins() {
457
- return [
458
- Suggestion({
459
- editor: this.editor,
460
- ...this.options.suggestion,
461
- ...suggestionOptions
462
- })
463
- ];
466
+ return [Suggestion({
467
+ editor: this.editor,
468
+ ...this.options.suggestion,
469
+ ...suggestionOptions
470
+ })];
464
471
  }
465
472
  });
466
473
  function getRegexMatches(text, regex, validator = () => true) {
@@ -478,13 +485,7 @@ function hasValidPrefix(text, match) {
478
485
  return !["#", "@"].includes(text.charAt(match.index)) && !["#", "@"].includes(text.charAt(match.index - 1));
479
486
  }
480
487
  function trimEndPunctiation(string) {
481
- const endPunctuationRegex = new RegExp(
482
- "(?:" + [
483
- `[!?.,:;'"]`,
484
- "(?:&|&amp;)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)+$"
485
- ].join("|"),
486
- "g"
487
- );
488
+ const endPunctuationRegex = new RegExp("(?:" + [`[!?.,:;'"]`, "(?:&|&amp;)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)+$"].join("|"), "g");
488
489
  return string.replace(endPunctuationRegex, "");
489
490
  }
490
491
  function getWordAt(text, index) {
@@ -535,18 +536,8 @@ function addMarks(text, pos, from, to, tr, type) {
535
536
  let rangeFrom = from - pos - 1;
536
537
  rangeFrom = rangeFrom < 0 ? 0 : rangeFrom;
537
538
  const rangeTo = to - pos;
538
- const firstWordInRange = getWordAtUntil(
539
- text,
540
- rangeFrom,
541
- "left",
542
- partialPhoneNumberRegex
543
- );
544
- const lastWordInRange = getWordAtUntil(
545
- text,
546
- rangeTo,
547
- "right",
548
- partialPhoneNumberRegex
549
- );
539
+ const firstWordInRange = getWordAtUntil(text, rangeFrom, "left", partialPhoneNumberRegex);
540
+ const lastWordInRange = getWordAtUntil(text, rangeTo, "right", partialPhoneNumberRegex);
550
541
  const wordsInRange = text.slice(firstWordInRange.from, lastWordInRange.to);
551
542
  const matches = getRegexMatches(wordsInRange, common_utils.linkRegex, hasValidPrefix);
552
543
  matches.forEach((match) => {
@@ -565,33 +556,29 @@ function autolink(options) {
565
556
  if (hasInitialized && !contentChanged) {
566
557
  return;
567
558
  }
568
- const { tr } = newState;
569
- const { textContent } = newState.doc;
559
+ const {
560
+ tr
561
+ } = newState;
562
+ const {
563
+ textContent
564
+ } = newState.doc;
570
565
  if (!hasInitialized) {
571
566
  addMarks(textContent, 0, 0, textContent.length, tr, options.type);
572
567
  }
573
568
  hasInitialized = true;
574
- const transform = core.combineTransactionSteps(
575
- oldState.doc,
576
- [...transactions]
577
- );
569
+ const transform = core.combineTransactionSteps(oldState.doc, [...transactions]);
578
570
  const changes = core.getChangedRanges(transform);
579
- changes.forEach(({ oldRange, newRange }) => {
571
+ changes.forEach(({
572
+ oldRange,
573
+ newRange
574
+ }) => {
580
575
  removeMarks(newRange, newState.doc, tr, options.type);
581
- const paragraphs = core.findChildrenInRange(
582
- newState.doc,
583
- newRange,
584
- (node) => node.isTextblock
585
- );
586
- paragraphs.forEach(({ node, pos }) => {
587
- addMarks(
588
- node.textContent,
589
- pos,
590
- oldRange.from,
591
- newRange.to,
592
- tr,
593
- options.type
594
- );
576
+ const paragraphs = core.findChildrenInRange(newState.doc, newRange, (node) => node.isTextblock);
577
+ paragraphs.forEach(({
578
+ node,
579
+ pos
580
+ }) => {
581
+ addMarks(node.textContent, pos, oldRange.from, newRange.to, tr, options.type);
595
582
  });
596
583
  });
597
584
  return tr;
@@ -604,23 +591,20 @@ const defaultAttributes = {
604
591
  };
605
592
  const CustomLink = core.Mark.create({
606
593
  name: "CustomLink",
607
- renderHTML({ HTMLAttributes }) {
608
- return [
609
- "a",
610
- core.mergeAttributes(
611
- this.options.HTMLAttributes,
612
- HTMLAttributes,
613
- defaultAttributes
614
- )
615
- ];
594
+ renderHTML({
595
+ HTMLAttributes
596
+ }) {
597
+ return ["a", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes, defaultAttributes)];
616
598
  },
617
- renderText({ node }) {
599
+ renderText({
600
+ node
601
+ }) {
618
602
  return node.attrs.text;
619
603
  },
620
604
  addProseMirrorPlugins() {
621
- return [
622
- autolink({ type: this.type })
623
- ];
605
+ return [autolink({
606
+ type: this.type
607
+ })];
624
608
  }
625
609
  });
626
610
  const _sfc_main$6 = {
@@ -639,15 +623,15 @@ const _sfc_main$6 = {
639
623
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
640
624
  const _component_dt_link = vue.resolveComponent("dt-link");
641
625
  const _component_node_view_wrapper = vue.resolveComponent("node-view-wrapper");
642
- return vue.openBlock(), vue.createBlock(_component_node_view_wrapper, { class: "d-d-inline-block" }, {
643
- default: vue.withCtx(() => [
644
- vue.createVNode(_component_dt_link, { kind: "mention" }, {
645
- default: vue.withCtx(() => [
646
- vue.createTextVNode(vue.toDisplayString($options.text), 1)
647
- ]),
648
- _: 1
649
- })
650
- ]),
626
+ return vue.openBlock(), vue.createBlock(_component_node_view_wrapper, {
627
+ class: "d-d-inline-block"
628
+ }, {
629
+ default: vue.withCtx(() => [vue.createVNode(_component_dt_link, {
630
+ kind: "mention"
631
+ }, {
632
+ default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString($options.text), 1)]),
633
+ _: 1
634
+ })]),
651
635
  _: 1
652
636
  });
653
637
  }
@@ -657,11 +641,9 @@ const MentionPlugin = Mention.extend({
657
641
  return vue3.VueNodeViewRenderer(MentionComponent);
658
642
  },
659
643
  parseHTML() {
660
- return [
661
- {
662
- tag: "mention-component"
663
- }
664
- ];
644
+ return [{
645
+ tag: "mention-component"
646
+ }];
665
647
  },
666
648
  addAttributes() {
667
649
  return {
@@ -676,10 +658,14 @@ const MentionPlugin = Mention.extend({
676
658
  }
677
659
  };
678
660
  },
679
- renderText({ node }) {
661
+ renderText({
662
+ node
663
+ }) {
680
664
  return `@${node.attrs.id}`;
681
665
  },
682
- renderHTML({ HTMLAttributes }) {
666
+ renderHTML({
667
+ HTMLAttributes
668
+ }) {
683
669
  return ["mention-component", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
684
670
  }
685
671
  }).configure({
@@ -704,15 +690,15 @@ const _sfc_main$5 = {
704
690
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
705
691
  const _component_dt_link = vue.resolveComponent("dt-link");
706
692
  const _component_node_view_wrapper = vue.resolveComponent("node-view-wrapper");
707
- return vue.openBlock(), vue.createBlock(_component_node_view_wrapper, { class: "d-d-inline-block" }, {
708
- default: vue.withCtx(() => [
709
- vue.createVNode(_component_dt_link, { kind: "mention" }, {
710
- default: vue.withCtx(() => [
711
- vue.createTextVNode(vue.toDisplayString($options.text), 1)
712
- ]),
713
- _: 1
714
- })
715
- ]),
693
+ return vue.openBlock(), vue.createBlock(_component_node_view_wrapper, {
694
+ class: "d-d-inline-block"
695
+ }, {
696
+ default: vue.withCtx(() => [vue.createVNode(_component_dt_link, {
697
+ kind: "mention"
698
+ }, {
699
+ default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString($options.text), 1)]),
700
+ _: 1
701
+ })]),
716
702
  _: 1
717
703
  });
718
704
  }
@@ -723,11 +709,9 @@ const ChannelPlugin = Mention.extend({
723
709
  return vue3.VueNodeViewRenderer(ChannelComponent);
724
710
  },
725
711
  parseHTML() {
726
- return [
727
- {
728
- tag: "channel-component"
729
- }
730
- ];
712
+ return [{
713
+ tag: "channel-component"
714
+ }];
731
715
  },
732
716
  addAttributes() {
733
717
  return {
@@ -742,10 +726,14 @@ const ChannelPlugin = Mention.extend({
742
726
  }
743
727
  };
744
728
  },
745
- renderText({ node }) {
729
+ renderText({
730
+ node
731
+ }) {
746
732
  return `#${node.attrs.id}`;
747
733
  },
748
- renderHTML({ HTMLAttributes }) {
734
+ renderHTML({
735
+ HTMLAttributes
736
+ }) {
749
737
  return ["channel-component", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
750
738
  }
751
739
  }).configure({
@@ -772,10 +760,10 @@ const _sfc_main$4 = {
772
760
  };
773
761
  function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
774
762
  const _component_node_view_wrapper = vue.resolveComponent("node-view-wrapper");
775
- return vue.openBlock(), vue.createBlock(_component_node_view_wrapper, { class: "d-d-inline-block" }, {
776
- default: vue.withCtx(() => [
777
- vue.createTextVNode(vue.toDisplayString($options.text), 1)
778
- ]),
763
+ return vue.openBlock(), vue.createBlock(_component_node_view_wrapper, {
764
+ class: "d-d-inline-block"
765
+ }, {
766
+ default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString($options.text), 1)]),
779
767
  _: 1
780
768
  });
781
769
  }
@@ -801,11 +789,9 @@ const SlashCommandPlugin = Mention.extend({
801
789
  return vue3.VueNodeViewRenderer(SlashCommandComponent);
802
790
  },
803
791
  parseHTML() {
804
- return [
805
- {
806
- tag: "command-component"
807
- }
808
- ];
792
+ return [{
793
+ tag: "command-component"
794
+ }];
809
795
  },
810
796
  addAttributes() {
811
797
  return {
@@ -820,39 +806,47 @@ const SlashCommandPlugin = Mention.extend({
820
806
  }
821
807
  };
822
808
  },
823
- renderText({ node }) {
809
+ renderText({
810
+ node
811
+ }) {
824
812
  return `/${node.attrs.command}`;
825
813
  },
826
- renderHTML({ HTMLAttributes }) {
814
+ renderHTML({
815
+ HTMLAttributes
816
+ }) {
827
817
  return ["command-component", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
828
818
  },
829
819
  addInputRules() {
830
820
  var _a;
831
- const suggestions = (_a = this.options.suggestion) == null ? void 0 : _a.items({ query: "" }).map((suggestion) => suggestion.command);
821
+ const suggestions = (_a = this.options.suggestion) == null ? void 0 : _a.items({
822
+ query: ""
823
+ }).map((suggestion) => suggestion.command);
832
824
  const slashCommandRegex = new RegExp(`^((?:\\/)(${suggestions.join("|")})) $`);
833
- return [
834
- core.nodeInputRule({
835
- find: slashCommandRegex,
836
- type: this.type,
837
- getAttributes(attrs) {
838
- return { command: attrs[2] };
839
- }
840
- })
841
- ];
825
+ return [core.nodeInputRule({
826
+ find: slashCommandRegex,
827
+ type: this.type,
828
+ getAttributes(attrs) {
829
+ return {
830
+ command: attrs[2]
831
+ };
832
+ }
833
+ })];
842
834
  },
843
835
  addPasteRules() {
844
836
  var _a;
845
- const suggestions = (_a = this.options.suggestion) == null ? void 0 : _a.items({ query: "" }).map((suggestion) => suggestion.command);
837
+ const suggestions = (_a = this.options.suggestion) == null ? void 0 : _a.items({
838
+ query: ""
839
+ }).map((suggestion) => suggestion.command);
846
840
  const slashCommandRegex = new RegExp(`^((?:\\/)(${suggestions.join("|")})) ?$`, "g");
847
- return [
848
- core.nodePasteRule({
849
- find: (text) => slashCommandPasteMatch(text, slashCommandRegex),
850
- type: this.type,
851
- getAttributes(attrs) {
852
- return { command: attrs[0].trim() };
853
- }
854
- })
855
- ];
841
+ return [core.nodePasteRule({
842
+ find: (text) => slashCommandPasteMatch(text, slashCommandRegex),
843
+ type: this.type,
844
+ getAttributes(attrs) {
845
+ return {
846
+ command: attrs[0].trim()
847
+ };
848
+ }
849
+ })];
856
850
  }
857
851
  }).configure({
858
852
  suggestion: {
@@ -860,24 +854,9 @@ const SlashCommandPlugin = Mention.extend({
860
854
  pluginKey: new state.PluginKey("slashCommandSuggestion")
861
855
  }
862
856
  });
863
- const RICH_TEXT_EDITOR_OUTPUT_FORMATS = [
864
- "text",
865
- "json",
866
- "html"
867
- ];
868
- const RICH_TEXT_EDITOR_AUTOFOCUS_TYPES = [
869
- "start",
870
- "end",
871
- "all"
872
- ];
873
- const RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS = [
874
- "https",
875
- "http",
876
- "ftp",
877
- "ftps",
878
- "sftp",
879
- "mailto"
880
- ];
857
+ const RICH_TEXT_EDITOR_OUTPUT_FORMATS = ["text", "json", "html"];
858
+ const RICH_TEXT_EDITOR_AUTOFOCUS_TYPES = ["start", "end", "all"];
859
+ const RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS = ["https", "http", "ftp", "ftps", "sftp", "mailto"];
881
860
  const _sfc_main$3 = {
882
861
  name: "MentionSuggestion",
883
862
  components: {
@@ -899,7 +878,9 @@ const _sfc_main$3 = {
899
878
  }
900
879
  }
901
880
  };
902
- const _hoisted_1$1 = { class: "mention-suggestion-name" };
881
+ const _hoisted_1$1 = {
882
+ class: "mention-suggestion-name"
883
+ };
903
884
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
904
885
  const _component_dt_avatar = vue.resolveComponent("dt-avatar");
905
886
  const _component_dt_stack = vue.resolveComponent("dt-stack");
@@ -907,15 +888,12 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
907
888
  direction: "row",
908
889
  gap: "400"
909
890
  }, {
910
- default: vue.withCtx(() => [
911
- vue.createVNode(_component_dt_avatar, {
912
- "full-name": $options.name,
913
- "image-src": $options.avatarSrc,
914
- "image-alt": $options.name,
915
- size: "xs"
916
- }, null, 8, ["full-name", "image-src", "image-alt"]),
917
- vue.createElementVNode("span", _hoisted_1$1, vue.toDisplayString($options.name), 1)
918
- ]),
891
+ default: vue.withCtx(() => [vue.createVNode(_component_dt_avatar, {
892
+ "full-name": $options.name,
893
+ "image-src": $options.avatarSrc,
894
+ "image-alt": $options.name,
895
+ size: "xs"
896
+ }, null, 8, ["full-name", "image-src", "image-alt"]), vue.createElementVNode("span", _hoisted_1$1, vue.toDisplayString($options.name), 1)]),
919
897
  _: 1
920
898
  });
921
899
  }
@@ -1019,16 +997,13 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
1019
997
  direction: "row",
1020
998
  gap: "400"
1021
999
  }, {
1022
- default: vue.withCtx(() => [
1023
- !$props.item.locked ? (vue.openBlock(), vue.createBlock(_component_dt_icon_hash, {
1024
- key: 0,
1025
- size: "300"
1026
- })) : (vue.openBlock(), vue.createBlock(_component_dt_icon_lock, {
1027
- key: 1,
1028
- size: "300"
1029
- })),
1030
- vue.createElementVNode("span", null, vue.toDisplayString($options.name), 1)
1031
- ]),
1000
+ default: vue.withCtx(() => [!$props.item.locked ? (vue.openBlock(), vue.createBlock(_component_dt_icon_hash, {
1001
+ key: 0,
1002
+ size: "300"
1003
+ })) : (vue.openBlock(), vue.createBlock(_component_dt_icon_lock, {
1004
+ key: 1,
1005
+ size: "300"
1006
+ })), vue.createElementVNode("span", null, vue.toDisplayString($options.name), 1)]),
1032
1007
  _: 1
1033
1008
  });
1034
1009
  }
@@ -1125,17 +1100,17 @@ const _sfc_main$1 = {
1125
1100
  }
1126
1101
  }
1127
1102
  };
1128
- const _hoisted_1 = { class: "d-body--md-compact" };
1129
- const _hoisted_2 = { key: 0 };
1130
- const _hoisted_3 = { class: "d-body--sm d-fc-tertiary" };
1103
+ const _hoisted_1 = {
1104
+ class: "d-body--md-compact"
1105
+ };
1106
+ const _hoisted_2 = {
1107
+ key: 0
1108
+ };
1109
+ const _hoisted_3 = {
1110
+ class: "d-body--sm d-fc-tertiary"
1111
+ };
1131
1112
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1132
- return vue.openBlock(), vue.createElementBlock("div", null, [
1133
- vue.createElementVNode("div", _hoisted_1, [
1134
- vue.createElementVNode("span", null, "/" + vue.toDisplayString($options.command), 1),
1135
- $options.parametersExample ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString($options.parametersExample), 1)) : vue.createCommentVNode("", true)
1136
- ]),
1137
- vue.createElementVNode("div", _hoisted_3, vue.toDisplayString($options.description), 1)
1138
- ]);
1113
+ return vue.openBlock(), vue.createElementBlock("div", null, [vue.createElementVNode("div", _hoisted_1, [vue.createElementVNode("span", null, "/" + vue.toDisplayString($options.command), 1), $options.parametersExample ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString($options.parametersExample), 1)) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_3, vue.toDisplayString($options.description), 1)]);
1139
1114
  }
1140
1115
  const SlashCommandSuggestion = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
1141
1116
  const slashCommandSuggestion = {
@@ -1487,7 +1462,9 @@ const _sfc_main = {
1487
1462
  extensions() {
1488
1463
  const extensions = [Document, Paragraph, Text, History];
1489
1464
  if (this.link) {
1490
- extensions.push(TipTapLink.extend({ inclusive: false }).configure({
1465
+ extensions.push(TipTapLink.extend({
1466
+ inclusive: false
1467
+ }).configure({
1491
1468
  HTMLAttributes: {
1492
1469
  class: "d-link d-wb-break-all"
1493
1470
  },
@@ -1519,42 +1496,55 @@ const _sfc_main = {
1519
1496
  extensions.push(Underline);
1520
1497
  }
1521
1498
  if (this.placeholder) {
1522
- extensions.push(
1523
- Placeholder.configure({ placeholder: this.placeholder })
1524
- );
1499
+ extensions.push(Placeholder.configure({
1500
+ placeholder: this.placeholder
1501
+ }));
1525
1502
  }
1526
1503
  if (!this.allowLineBreaks) {
1527
1504
  const self = this;
1528
- extensions.push(
1529
- HardBreak.extend({
1530
- addKeyboardShortcuts() {
1531
- return {
1532
- Enter: () => {
1533
- self.$emit("enter");
1534
- return true;
1535
- },
1536
- "Shift-Enter": () => {
1537
- this.editor.commands.setHardBreak();
1538
- return true;
1539
- }
1540
- };
1541
- }
1542
- })
1543
- );
1505
+ extensions.push(HardBreak.extend({
1506
+ addKeyboardShortcuts() {
1507
+ return {
1508
+ Enter: () => {
1509
+ self.$emit("enter");
1510
+ return true;
1511
+ },
1512
+ "Shift-Enter": () => {
1513
+ this.editor.commands.setHardBreak();
1514
+ return true;
1515
+ }
1516
+ };
1517
+ }
1518
+ }));
1544
1519
  } else {
1545
1520
  extensions.push(HardBreak);
1546
1521
  }
1547
1522
  if (this.mentionSuggestion) {
1548
- const suggestionObject = { ...this.mentionSuggestion, ...mentionSuggestion };
1549
- extensions.push(MentionPlugin.configure({ suggestion: suggestionObject }));
1523
+ const suggestionObject = {
1524
+ ...this.mentionSuggestion,
1525
+ ...mentionSuggestion
1526
+ };
1527
+ extensions.push(MentionPlugin.configure({
1528
+ suggestion: suggestionObject
1529
+ }));
1550
1530
  }
1551
1531
  if (this.channelSuggestion) {
1552
- const suggestionObject = { ...this.channelSuggestion, ...channelSuggestion };
1553
- extensions.push(ChannelPlugin.configure({ suggestion: suggestionObject }));
1532
+ const suggestionObject = {
1533
+ ...this.channelSuggestion,
1534
+ ...channelSuggestion
1535
+ };
1536
+ extensions.push(ChannelPlugin.configure({
1537
+ suggestion: suggestionObject
1538
+ }));
1554
1539
  }
1555
1540
  if (this.slashCommandSuggestion) {
1556
- const suggestionObject = { ...this.slashCommandSuggestion, ...slashCommandSuggestion };
1557
- extensions.push(SlashCommandPlugin.configure({ suggestion: suggestionObject }));
1541
+ const suggestionObject = {
1542
+ ...this.slashCommandSuggestion,
1543
+ ...slashCommandSuggestion
1544
+ };
1545
+ extensions.push(SlashCommandPlugin.configure({
1546
+ suggestion: suggestionObject
1547
+ }));
1558
1548
  }
1559
1549
  extensions.push(Emoji);
1560
1550
  extensions.push(TextAlign.configure({
@@ -1593,13 +1583,19 @@ const _sfc_main = {
1593
1583
  watch: {
1594
1584
  editable(isEditable) {
1595
1585
  this.editor.setEditable(isEditable);
1596
- this.updateEditorAttributes({ "aria-readonly": !isEditable });
1586
+ this.updateEditorAttributes({
1587
+ "aria-readonly": !isEditable
1588
+ });
1597
1589
  },
1598
1590
  inputClass(newClass) {
1599
- this.updateEditorAttributes({ class: newClass });
1591
+ this.updateEditorAttributes({
1592
+ class: newClass
1593
+ });
1600
1594
  },
1601
1595
  inputAriaLabel(newLabel) {
1602
- this.updateEditorAttributes({ "aria-label": newLabel });
1596
+ this.updateEditorAttributes({
1597
+ "aria-label": newLabel
1598
+ });
1603
1599
  },
1604
1600
  extensions() {
1605
1601
  this.destroyEditor();
@@ -1657,10 +1653,14 @@ const _sfc_main = {
1657
1653
  this.$emit("input", value);
1658
1654
  this.$emit("update:modelValue", value);
1659
1655
  });
1660
- this.editor.on("focus", ({ event }) => {
1656
+ this.editor.on("focus", ({
1657
+ event
1658
+ }) => {
1661
1659
  this.$emit("focus", event);
1662
1660
  });
1663
- this.editor.on("blur", ({ event }) => {
1661
+ this.editor.on("blur", ({
1662
+ event
1663
+ }) => {
1664
1664
  this.$emit("blur", event);
1665
1665
  });
1666
1666
  },
@@ -1683,7 +1683,11 @@ const _sfc_main = {
1683
1683
  return (_a = extension.configure) == null ? void 0 : _a.call(extension, options);
1684
1684
  },
1685
1685
  updateEditorAttributes(attributes) {
1686
- this.editor.setOptions({ editorProps: { attributes } });
1686
+ this.editor.setOptions({
1687
+ editorProps: {
1688
+ attributes
1689
+ }
1690
+ });
1687
1691
  },
1688
1692
  focusEditor() {
1689
1693
  this.editor.commands.focus();