@dialpad/dialtone-vue 3.218.3 → 3.219.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (763) hide show
  1. package/dist/common/constants/index.cjs +1 -1
  2. package/dist/common/constants/index.cjs.map +1 -1
  3. package/dist/common/constants/index.js +37 -20
  4. package/dist/common/constants/index.js.map +1 -1
  5. package/dist/common/constants/sizes.cjs +2 -0
  6. package/dist/common/constants/sizes.cjs.map +1 -0
  7. package/dist/common/constants/sizes.js +20 -0
  8. package/dist/common/constants/sizes.js.map +1 -0
  9. package/dist/common/mixins/index.cjs +1 -1
  10. package/dist/common/mixins/index.js +9 -7
  11. package/dist/common/mixins/index.js.map +1 -1
  12. package/dist/common/mixins/mode.cjs +2 -0
  13. package/dist/common/mixins/mode.cjs.map +1 -0
  14. package/dist/common/mixins/mode.js +82 -0
  15. package/dist/common/mixins/mode.js.map +1 -0
  16. package/dist/component-documentation.json +1 -1
  17. package/dist/dialtone-vue.cjs +1 -1
  18. package/dist/dialtone-vue.js +464 -408
  19. package/dist/dialtone-vue.js.map +1 -1
  20. package/dist/lib/attachment-carousel/attachment-carousel.cjs +1 -1
  21. package/dist/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
  22. package/dist/lib/attachment-carousel/attachment-carousel.js +8 -8
  23. package/dist/lib/attachment-carousel/attachment-carousel.js.map +1 -1
  24. package/dist/lib/avatar/avatar-constants.cjs +1 -1
  25. package/dist/lib/avatar/avatar-constants.cjs.map +1 -1
  26. package/dist/lib/avatar/avatar-constants.js +169 -43
  27. package/dist/lib/avatar/avatar-constants.js.map +1 -1
  28. package/dist/lib/avatar/avatar.cjs +1 -1
  29. package/dist/lib/avatar/avatar.cjs.map +1 -1
  30. package/dist/lib/avatar/avatar.js +186 -100
  31. package/dist/lib/avatar/avatar.js.map +1 -1
  32. package/dist/lib/avatar/index.cjs +1 -1
  33. package/dist/lib/avatar/index.js +16 -10
  34. package/dist/lib/badge/badge.cjs +1 -1
  35. package/dist/lib/badge/badge.cjs.map +1 -1
  36. package/dist/lib/badge/badge.js +47 -35
  37. package/dist/lib/badge/badge.js.map +1 -1
  38. package/dist/lib/banner/banner.cjs +1 -1
  39. package/dist/lib/banner/banner.cjs.map +1 -1
  40. package/dist/lib/banner/banner.js +19 -18
  41. package/dist/lib/banner/banner.js.map +1 -1
  42. package/dist/lib/breadcrumbs/breadcrumb-item.cjs +1 -1
  43. package/dist/lib/breadcrumbs/breadcrumb-item.cjs.map +1 -1
  44. package/dist/lib/breadcrumbs/breadcrumb-item.js +4 -1
  45. package/dist/lib/breadcrumbs/breadcrumb-item.js.map +1 -1
  46. package/dist/lib/breadcrumbs/breadcrumbs.cjs +1 -1
  47. package/dist/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
  48. package/dist/lib/breadcrumbs/breadcrumbs.js +22 -18
  49. package/dist/lib/breadcrumbs/breadcrumbs.js.map +1 -1
  50. package/dist/lib/button/button-constants.cjs +1 -1
  51. package/dist/lib/button/button-constants.cjs.map +1 -1
  52. package/dist/lib/button/button-constants.js +33 -15
  53. package/dist/lib/button/button-constants.js.map +1 -1
  54. package/dist/lib/button/button.cjs +1 -1
  55. package/dist/lib/button/button.cjs.map +1 -1
  56. package/dist/lib/button/button.js +195 -78
  57. package/dist/lib/button/button.js.map +1 -1
  58. package/dist/lib/button-group/button-group.cjs.map +1 -1
  59. package/dist/lib/button-group/button-group.js +1 -0
  60. package/dist/lib/button-group/button-group.js.map +1 -1
  61. package/dist/lib/callbar-button/callbar-button.cjs +1 -1
  62. package/dist/lib/callbar-button/callbar-button.cjs.map +1 -1
  63. package/dist/lib/callbar-button/callbar-button.js +14 -15
  64. package/dist/lib/callbar-button/callbar-button.js.map +1 -1
  65. package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  66. package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  67. package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +44 -32
  68. package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  69. package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  70. package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  71. package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.js +40 -28
  72. package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  73. package/dist/lib/callbox/callbox.cjs +1 -1
  74. package/dist/lib/callbox/callbox.cjs.map +1 -1
  75. package/dist/lib/callbox/callbox.js +48 -48
  76. package/dist/lib/callbox/callbox.js.map +1 -1
  77. package/dist/lib/checkbox/checkbox.cjs +1 -1
  78. package/dist/lib/checkbox/checkbox.cjs.map +1 -1
  79. package/dist/lib/checkbox/checkbox.js +97 -43
  80. package/dist/lib/checkbox/checkbox.js.map +1 -1
  81. package/dist/lib/chip/chip-constants.cjs +1 -1
  82. package/dist/lib/chip/chip-constants.cjs.map +1 -1
  83. package/dist/lib/chip/chip-constants.js +17 -2
  84. package/dist/lib/chip/chip-constants.js.map +1 -1
  85. package/dist/lib/chip/chip.cjs +1 -1
  86. package/dist/lib/chip/chip.cjs.map +1 -1
  87. package/dist/lib/chip/chip.js +17 -17
  88. package/dist/lib/chip/chip.js.map +1 -1
  89. package/dist/lib/codeblock/codeblock-constants.cjs +2 -0
  90. package/dist/lib/codeblock/codeblock-constants.cjs.map +1 -0
  91. package/dist/lib/codeblock/codeblock-constants.js +12 -0
  92. package/dist/lib/codeblock/codeblock-constants.js.map +1 -0
  93. package/dist/lib/codeblock/codeblock.cjs +1 -2
  94. package/dist/lib/codeblock/codeblock.cjs.map +1 -1
  95. package/dist/lib/codeblock/codeblock.js +38 -12
  96. package/dist/lib/codeblock/codeblock.js.map +1 -1
  97. package/dist/lib/collapsible/collapsible.cjs +1 -1
  98. package/dist/lib/collapsible/collapsible.cjs.map +1 -1
  99. package/dist/lib/collapsible/collapsible.js +1 -1
  100. package/dist/lib/collapsible/collapsible.js.map +1 -1
  101. package/dist/lib/combobox/combobox.cjs +2 -2
  102. package/dist/lib/combobox/combobox.cjs.map +1 -1
  103. package/dist/lib/combobox/combobox.js +22 -21
  104. package/dist/lib/combobox/combobox.js.map +1 -1
  105. package/dist/lib/combobox-multi-select/combobox-multi-select-constants.cjs +1 -1
  106. package/dist/lib/combobox-multi-select/combobox-multi-select-constants.cjs.map +1 -1
  107. package/dist/lib/combobox-multi-select/combobox-multi-select-constants.js +16 -6
  108. package/dist/lib/combobox-multi-select/combobox-multi-select-constants.js.map +1 -1
  109. package/dist/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
  110. package/dist/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
  111. package/dist/lib/combobox-multi-select/combobox-multi-select.js +48 -46
  112. package/dist/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
  113. package/dist/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
  114. package/dist/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
  115. package/dist/lib/combobox-with-popover/combobox-with-popover.js +37 -29
  116. package/dist/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
  117. package/dist/lib/contact-centers-row/contact-centers-row.cjs +1 -1
  118. package/dist/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
  119. package/dist/lib/contact-centers-row/contact-centers-row.js +36 -36
  120. package/dist/lib/contact-centers-row/contact-centers-row.js.map +1 -1
  121. package/dist/lib/contact-info/contact-info.cjs +1 -1
  122. package/dist/lib/contact-info/contact-info.cjs.map +1 -1
  123. package/dist/lib/contact-info/contact-info.js +56 -56
  124. package/dist/lib/contact-info/contact-info.js.map +1 -1
  125. package/dist/lib/contact-row/contact-row.cjs +1 -1
  126. package/dist/lib/contact-row/contact-row.cjs.map +1 -1
  127. package/dist/lib/contact-row/contact-row.js +3 -3
  128. package/dist/lib/contact-row/contact-row.js.map +1 -1
  129. package/dist/lib/datepicker/datepicker.cjs +1 -1
  130. package/dist/lib/datepicker/datepicker.cjs.map +1 -1
  131. package/dist/lib/datepicker/datepicker.js +93 -95
  132. package/dist/lib/datepicker/datepicker.js.map +1 -1
  133. package/dist/lib/description-list/description-list.cjs +1 -1
  134. package/dist/lib/description-list/description-list.cjs.map +1 -1
  135. package/dist/lib/description-list/description-list.js +2 -2
  136. package/dist/lib/description-list/description-list.js.map +1 -1
  137. package/dist/lib/dropdown/dropdown-constants.cjs +1 -1
  138. package/dist/lib/dropdown/dropdown-constants.cjs.map +1 -1
  139. package/dist/lib/dropdown/dropdown-constants.js +2 -2
  140. package/dist/lib/dropdown/dropdown-constants.js.map +1 -1
  141. package/dist/lib/dropdown/dropdown-list.cjs +1 -1
  142. package/dist/lib/dropdown/dropdown-list.cjs.map +1 -1
  143. package/dist/lib/dropdown/dropdown-list.js +29 -18
  144. package/dist/lib/dropdown/dropdown-list.js.map +1 -1
  145. package/dist/lib/dropdown/dropdown.cjs +1 -1
  146. package/dist/lib/dropdown/dropdown.cjs.map +1 -1
  147. package/dist/lib/dropdown/dropdown.js +27 -19
  148. package/dist/lib/dropdown/dropdown.js.map +1 -1
  149. package/dist/lib/editor/EditorToolbarButton.cjs +1 -1
  150. package/dist/lib/editor/EditorToolbarButton.cjs.map +1 -1
  151. package/dist/lib/editor/EditorToolbarButton.js +6 -6
  152. package/dist/lib/editor/EditorToolbarButton.js.map +1 -1
  153. package/dist/lib/editor/EditorToolbarDropdownButton.cjs +1 -1
  154. package/dist/lib/editor/EditorToolbarDropdownButton.cjs.map +1 -1
  155. package/dist/lib/editor/EditorToolbarDropdownButton.js +3 -3
  156. package/dist/lib/editor/EditorToolbarDropdownButton.js.map +1 -1
  157. package/dist/lib/editor/EditorToolbarPopoverButton.cjs +1 -1
  158. package/dist/lib/editor/EditorToolbarPopoverButton.cjs.map +1 -1
  159. package/dist/lib/editor/EditorToolbarPopoverButton.js +3 -3
  160. package/dist/lib/editor/EditorToolbarPopoverButton.js.map +1 -1
  161. package/dist/lib/editor/editor.cjs +1 -1
  162. package/dist/lib/editor/editor.cjs.map +1 -1
  163. package/dist/lib/editor/editor.js +48 -48
  164. package/dist/lib/editor/editor.js.map +1 -1
  165. package/dist/lib/emoji-picker/emoji-picker.cjs +1 -1
  166. package/dist/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  167. package/dist/lib/emoji-picker/emoji-picker.js +62 -59
  168. package/dist/lib/emoji-picker/emoji-picker.js.map +1 -1
  169. package/dist/lib/emoji-row/emoji-row.cjs +1 -1
  170. package/dist/lib/emoji-row/emoji-row.cjs.map +1 -1
  171. package/dist/lib/emoji-row/emoji-row.js +10 -10
  172. package/dist/lib/emoji-row/emoji-row.js.map +1 -1
  173. package/dist/lib/emoji-text-wrapper/emoji-text-wrapper.cjs.map +1 -1
  174. package/dist/lib/emoji-text-wrapper/emoji-text-wrapper.js +2 -1
  175. package/dist/lib/emoji-text-wrapper/emoji-text-wrapper.js.map +1 -1
  176. package/dist/lib/empty-state/empty-state-constants.cjs +1 -1
  177. package/dist/lib/empty-state/empty-state-constants.cjs.map +1 -1
  178. package/dist/lib/empty-state/empty-state-constants.js +54 -12
  179. package/dist/lib/empty-state/empty-state-constants.js.map +1 -1
  180. package/dist/lib/empty-state/empty-state.cjs +1 -1
  181. package/dist/lib/empty-state/empty-state.cjs.map +1 -1
  182. package/dist/lib/empty-state/empty-state.js +60 -36
  183. package/dist/lib/empty-state/empty-state.js.map +1 -1
  184. package/dist/lib/feed-item-pill/feed-item-pill.cjs +1 -1
  185. package/dist/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
  186. package/dist/lib/feed-item-pill/feed-item-pill.js +56 -53
  187. package/dist/lib/feed-item-pill/feed-item-pill.js.map +1 -1
  188. package/dist/lib/feed-item-row/feed-item-row.cjs +1 -1
  189. package/dist/lib/feed-item-row/feed-item-row.cjs.map +1 -1
  190. package/dist/lib/feed-item-row/feed-item-row.js +12 -12
  191. package/dist/lib/feed-item-row/feed-item-row.js.map +1 -1
  192. package/dist/lib/filter-pill/filter-pill.cjs +2 -0
  193. package/dist/lib/filter-pill/filter-pill.cjs.map +1 -0
  194. package/dist/lib/filter-pill/filter-pill.js +569 -0
  195. package/dist/lib/filter-pill/filter-pill.js.map +1 -0
  196. package/dist/lib/filter-pill/index.cjs +2 -0
  197. package/dist/lib/filter-pill/index.cjs.map +1 -0
  198. package/dist/lib/filter-pill/index.js +5 -0
  199. package/dist/lib/filter-pill/index.js.map +1 -0
  200. package/dist/lib/general-row/general-row.cjs +1 -1
  201. package/dist/lib/general-row/general-row.cjs.map +1 -1
  202. package/dist/lib/general-row/general-row.js +154 -100
  203. package/dist/lib/general-row/general-row.js.map +1 -1
  204. package/dist/lib/general-row/leftbar-general-row-icon.cjs +1 -1
  205. package/dist/lib/general-row/leftbar-general-row-icon.cjs.map +1 -1
  206. package/dist/lib/general-row/leftbar-general-row-icon.js +1 -1
  207. package/dist/lib/general-row/leftbar-general-row-icon.js.map +1 -1
  208. package/dist/lib/group-row/group-row.cjs +1 -1
  209. package/dist/lib/group-row/group-row.cjs.map +1 -1
  210. package/dist/lib/group-row/group-row.js +2 -2
  211. package/dist/lib/group-row/group-row.js.map +1 -1
  212. package/dist/lib/grouped-chip/grouped-chip.cjs +1 -1
  213. package/dist/lib/grouped-chip/grouped-chip.cjs.map +1 -1
  214. package/dist/lib/grouped-chip/grouped-chip.js +33 -33
  215. package/dist/lib/grouped-chip/grouped-chip.js.map +1 -1
  216. package/dist/lib/hovercard/hovercard.cjs +1 -1
  217. package/dist/lib/hovercard/hovercard.cjs.map +1 -1
  218. package/dist/lib/hovercard/hovercard.js +37 -28
  219. package/dist/lib/hovercard/hovercard.js.map +1 -1
  220. package/dist/lib/icon/icon.cjs +1 -1
  221. package/dist/lib/icon/icon.cjs.map +1 -1
  222. package/dist/lib/icon/icon.js +1 -1
  223. package/dist/lib/icon/icon.js.map +1 -1
  224. package/dist/lib/illustration/illustration.cjs +1 -1
  225. package/dist/lib/illustration/illustration.cjs.map +1 -1
  226. package/dist/lib/illustration/illustration.js +1 -1
  227. package/dist/lib/illustration/illustration.js.map +1 -1
  228. package/dist/lib/image-viewer/image-viewer.cjs +1 -1
  229. package/dist/lib/image-viewer/image-viewer.cjs.map +1 -1
  230. package/dist/lib/image-viewer/image-viewer.js +28 -27
  231. package/dist/lib/image-viewer/image-viewer.js.map +1 -1
  232. package/dist/lib/input/input-constants.cjs +1 -1
  233. package/dist/lib/input/input-constants.cjs.map +1 -1
  234. package/dist/lib/input/input-constants.js +43 -22
  235. package/dist/lib/input/input-constants.js.map +1 -1
  236. package/dist/lib/input/input.cjs +1 -1
  237. package/dist/lib/input/input.cjs.map +1 -1
  238. package/dist/lib/input/input.js +165 -79
  239. package/dist/lib/input/input.js.map +1 -1
  240. package/dist/lib/input-group/input-group.cjs +1 -1
  241. package/dist/lib/input-group/input-group.cjs.map +1 -1
  242. package/dist/lib/input-group/input-group.js +35 -28
  243. package/dist/lib/input-group/input-group.js.map +1 -1
  244. package/dist/lib/item-layout/item-layout.cjs +3 -3
  245. package/dist/lib/item-layout/item-layout.cjs.map +1 -1
  246. package/dist/lib/item-layout/item-layout.js +74 -39
  247. package/dist/lib/item-layout/item-layout.js.map +1 -1
  248. package/dist/lib/ivr-node/ivr-node.cjs +1 -1
  249. package/dist/lib/ivr-node/ivr-node.cjs.map +1 -1
  250. package/dist/lib/ivr-node/ivr-node.js +1 -1
  251. package/dist/lib/ivr-node/ivr-node.js.map +1 -1
  252. package/dist/lib/keyboard-shortcut/keyboard-shortcut.cjs +1 -1
  253. package/dist/lib/keyboard-shortcut/keyboard-shortcut.cjs.map +1 -1
  254. package/dist/lib/keyboard-shortcut/keyboard-shortcut.js +57 -43
  255. package/dist/lib/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  256. package/dist/lib/kitchen-sink/kitchen-sink-view.cjs +2 -0
  257. package/dist/lib/kitchen-sink/kitchen-sink-view.cjs.map +1 -0
  258. package/dist/lib/kitchen-sink/kitchen-sink-view.js +263 -0
  259. package/dist/lib/kitchen-sink/kitchen-sink-view.js.map +1 -0
  260. package/dist/lib/link/link.cjs +1 -1
  261. package/dist/lib/link/link.cjs.map +1 -1
  262. package/dist/lib/link/link.js +22 -12
  263. package/dist/lib/link/link.js.map +1 -1
  264. package/dist/lib/list-item/list-item.cjs +1 -1
  265. package/dist/lib/list-item/list-item.cjs.map +1 -1
  266. package/dist/lib/list-item/list-item.js +27 -16
  267. package/dist/lib/list-item/list-item.js.map +1 -1
  268. package/dist/lib/message-input/message-input-button.cjs +1 -1
  269. package/dist/lib/message-input/message-input-button.cjs.map +1 -1
  270. package/dist/lib/message-input/message-input-button.js +4 -4
  271. package/dist/lib/message-input/message-input-button.js.map +1 -1
  272. package/dist/lib/message-input/message-input-link.cjs +1 -1
  273. package/dist/lib/message-input/message-input-link.cjs.map +1 -1
  274. package/dist/lib/message-input/message-input-link.js +12 -12
  275. package/dist/lib/message-input/message-input-link.js.map +1 -1
  276. package/dist/lib/message-input/message-input-topbar.cjs +1 -1
  277. package/dist/lib/message-input/message-input-topbar.cjs.map +1 -1
  278. package/dist/lib/message-input/message-input-topbar.js +2 -2
  279. package/dist/lib/message-input/message-input-topbar.js.map +1 -1
  280. package/dist/lib/message-input/message-input.cjs +1 -1
  281. package/dist/lib/message-input/message-input.cjs.map +1 -1
  282. package/dist/lib/message-input/message-input.js +52 -52
  283. package/dist/lib/message-input/message-input.js.map +1 -1
  284. package/dist/lib/modal/modal.cjs +1 -1
  285. package/dist/lib/modal/modal.cjs.map +1 -1
  286. package/dist/lib/modal/modal.js +120 -106
  287. package/dist/lib/modal/modal.js.map +1 -1
  288. package/dist/lib/mode-directive/index.cjs +2 -0
  289. package/dist/lib/mode-directive/index.cjs.map +1 -0
  290. package/dist/lib/mode-directive/index.js +5 -0
  291. package/dist/lib/mode-directive/index.js.map +1 -0
  292. package/dist/lib/mode-directive/mode.cjs +2 -0
  293. package/dist/lib/mode-directive/mode.cjs.map +1 -0
  294. package/dist/lib/mode-directive/mode.js +75 -0
  295. package/dist/lib/mode-directive/mode.js.map +1 -0
  296. package/dist/lib/mode-island/index.cjs +2 -0
  297. package/dist/lib/mode-island/index.cjs.map +1 -0
  298. package/dist/lib/mode-island/index.js +7 -0
  299. package/dist/lib/mode-island/index.js.map +1 -0
  300. package/dist/lib/mode-island/mode-island-constants.cjs +2 -0
  301. package/dist/lib/mode-island/mode-island-constants.cjs.map +1 -0
  302. package/dist/lib/mode-island/mode-island-constants.js +12 -0
  303. package/dist/lib/mode-island/mode-island-constants.js.map +1 -0
  304. package/dist/lib/mode-island/mode-island.cjs +2 -0
  305. package/dist/lib/mode-island/mode-island.cjs.map +1 -0
  306. package/dist/lib/mode-island/mode-island.js +130 -0
  307. package/dist/lib/mode-island/mode-island.js.map +1 -0
  308. package/dist/lib/mode-island/utils.cjs +2 -0
  309. package/dist/lib/mode-island/utils.cjs.map +1 -0
  310. package/dist/lib/mode-island/utils.js +32 -0
  311. package/dist/lib/mode-island/utils.js.map +1 -0
  312. package/dist/lib/mode-island/validators.cjs +2 -0
  313. package/dist/lib/mode-island/validators.cjs.map +1 -0
  314. package/dist/lib/mode-island/validators.js +12 -0
  315. package/dist/lib/mode-island/validators.js.map +1 -0
  316. package/dist/lib/motion-text/motion-text-constants.cjs +1 -1
  317. package/dist/lib/motion-text/motion-text-constants.cjs.map +1 -1
  318. package/dist/lib/motion-text/motion-text-constants.js +18 -8
  319. package/dist/lib/motion-text/motion-text-constants.js.map +1 -1
  320. package/dist/lib/motion-text/motion-text.cjs +1 -1
  321. package/dist/lib/motion-text/motion-text.cjs.map +1 -1
  322. package/dist/lib/motion-text/motion-text.js +17 -17
  323. package/dist/lib/motion-text/motion-text.js.map +1 -1
  324. package/dist/lib/notice/notice-action.cjs +1 -1
  325. package/dist/lib/notice/notice-action.cjs.map +1 -1
  326. package/dist/lib/notice/notice-action.js +9 -9
  327. package/dist/lib/notice/notice-action.js.map +1 -1
  328. package/dist/lib/notice/notice-content.cjs +1 -1
  329. package/dist/lib/notice/notice-content.cjs.map +1 -1
  330. package/dist/lib/notice/notice-content.js +38 -21
  331. package/dist/lib/notice/notice-content.js.map +1 -1
  332. package/dist/lib/notice/notice-icon.cjs +1 -1
  333. package/dist/lib/notice/notice-icon.cjs.map +1 -1
  334. package/dist/lib/notice/notice-icon.js +1 -1
  335. package/dist/lib/notice/notice-icon.js.map +1 -1
  336. package/dist/lib/notice/notice.cjs +1 -1
  337. package/dist/lib/notice/notice.cjs.map +1 -1
  338. package/dist/lib/notice/notice.js +20 -19
  339. package/dist/lib/notice/notice.js.map +1 -1
  340. package/dist/lib/pagination/pagination.cjs +1 -1
  341. package/dist/lib/pagination/pagination.cjs.map +1 -1
  342. package/dist/lib/pagination/pagination.js +16 -15
  343. package/dist/lib/pagination/pagination.js.map +1 -1
  344. package/dist/lib/popover/popover-constants.cjs +1 -1
  345. package/dist/lib/popover/popover-constants.cjs.map +1 -1
  346. package/dist/lib/popover/popover-constants.js +16 -16
  347. package/dist/lib/popover/popover-constants.js.map +1 -1
  348. package/dist/lib/popover/popover-header-footer.cjs +1 -1
  349. package/dist/lib/popover/popover-header-footer.cjs.map +1 -1
  350. package/dist/lib/popover/popover-header-footer.js +19 -12
  351. package/dist/lib/popover/popover-header-footer.js.map +1 -1
  352. package/dist/lib/popover/popover.cjs +1 -1
  353. package/dist/lib/popover/popover.cjs.map +1 -1
  354. package/dist/lib/popover/popover.js +80 -62
  355. package/dist/lib/popover/popover.js.map +1 -1
  356. package/dist/lib/radio/radio.cjs +1 -1
  357. package/dist/lib/radio/radio.cjs.map +1 -1
  358. package/dist/lib/radio/radio.js +103 -41
  359. package/dist/lib/radio/radio.js.map +1 -1
  360. package/dist/lib/rich-text-editor/rich-text-editor.cjs +3 -3
  361. package/dist/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  362. package/dist/lib/rich-text-editor/rich-text-editor.js +637 -590
  363. package/dist/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  364. package/dist/lib/root-layout/root-layout-constants.cjs +1 -1
  365. package/dist/lib/root-layout/root-layout-constants.cjs.map +1 -1
  366. package/dist/lib/root-layout/root-layout-constants.js +4 -2
  367. package/dist/lib/root-layout/root-layout-constants.js.map +1 -1
  368. package/dist/lib/root-layout/root-layout.cjs +1 -1
  369. package/dist/lib/root-layout/root-layout.cjs.map +1 -1
  370. package/dist/lib/root-layout/root-layout.js +15 -13
  371. package/dist/lib/root-layout/root-layout.js.map +1 -1
  372. package/dist/lib/segmented-control/index.cjs +2 -0
  373. package/dist/lib/segmented-control/index.cjs.map +1 -0
  374. package/dist/lib/segmented-control/index.js +20 -0
  375. package/dist/lib/segmented-control/index.js.map +1 -0
  376. package/dist/lib/segmented-control/segmented-control-constants.cjs +2 -0
  377. package/dist/lib/segmented-control/segmented-control-constants.cjs.map +1 -0
  378. package/dist/lib/segmented-control/segmented-control-constants.js +45 -0
  379. package/dist/lib/segmented-control/segmented-control-constants.js.map +1 -0
  380. package/dist/lib/segmented-control/segmented-control-item.cjs +2 -0
  381. package/dist/lib/segmented-control/segmented-control-item.cjs.map +1 -0
  382. package/dist/lib/segmented-control/segmented-control-item.js +124 -0
  383. package/dist/lib/segmented-control/segmented-control-item.js.map +1 -0
  384. package/dist/lib/segmented-control/segmented-control.cjs +2 -0
  385. package/dist/lib/segmented-control/segmented-control.cjs.map +1 -0
  386. package/dist/lib/segmented-control/segmented-control.js +236 -0
  387. package/dist/lib/segmented-control/segmented-control.js.map +1 -0
  388. package/dist/lib/select-menu/select-menu-constants.cjs +1 -1
  389. package/dist/lib/select-menu/select-menu-constants.cjs.map +1 -1
  390. package/dist/lib/select-menu/select-menu-constants.js +13 -6
  391. package/dist/lib/select-menu/select-menu-constants.js.map +1 -1
  392. package/dist/lib/select-menu/select-menu.cjs +1 -1
  393. package/dist/lib/select-menu/select-menu.cjs.map +1 -1
  394. package/dist/lib/select-menu/select-menu.js +133 -67
  395. package/dist/lib/select-menu/select-menu.js.map +1 -1
  396. package/dist/lib/settings-menu-button/settings-menu-button.cjs +1 -1
  397. package/dist/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
  398. package/dist/lib/settings-menu-button/settings-menu-button.js +20 -20
  399. package/dist/lib/settings-menu-button/settings-menu-button.js.map +1 -1
  400. package/dist/lib/skeleton/skeleton-constants.cjs +1 -1
  401. package/dist/lib/skeleton/skeleton-constants.cjs.map +1 -1
  402. package/dist/lib/skeleton/skeleton-constants.js +26 -14
  403. package/dist/lib/skeleton/skeleton-constants.js.map +1 -1
  404. package/dist/lib/skeleton/skeleton-list-item.cjs +1 -1
  405. package/dist/lib/skeleton/skeleton-list-item.cjs.map +1 -1
  406. package/dist/lib/skeleton/skeleton-list-item.js +3 -3
  407. package/dist/lib/skeleton/skeleton-list-item.js.map +1 -1
  408. package/dist/lib/skeleton/skeleton-shape.cjs +1 -1
  409. package/dist/lib/skeleton/skeleton-shape.cjs.map +1 -1
  410. package/dist/lib/skeleton/skeleton-shape.js +11 -11
  411. package/dist/lib/skeleton/skeleton-shape.js.map +1 -1
  412. package/dist/lib/split-button/split-button-constants.cjs +1 -1
  413. package/dist/lib/split-button/split-button-constants.cjs.map +1 -1
  414. package/dist/lib/split-button/split-button-constants.js +7 -0
  415. package/dist/lib/split-button/split-button-constants.js.map +1 -1
  416. package/dist/lib/split-button/split-button-end.cjs +2 -0
  417. package/dist/lib/split-button/split-button-end.cjs.map +1 -0
  418. package/dist/lib/split-button/{split-button-omega.js → split-button-end.js} +16 -16
  419. package/dist/lib/split-button/split-button-end.js.map +1 -0
  420. package/dist/lib/split-button/split-button-start.cjs +2 -0
  421. package/dist/lib/split-button/split-button-start.cjs.map +1 -0
  422. package/dist/lib/split-button/split-button-start.js +231 -0
  423. package/dist/lib/split-button/split-button-start.js.map +1 -0
  424. package/dist/lib/split-button/split-button.cjs +1 -1
  425. package/dist/lib/split-button/split-button.cjs.map +1 -1
  426. package/dist/lib/split-button/split-button.js +337 -101
  427. package/dist/lib/split-button/split-button.js.map +1 -1
  428. package/dist/lib/stack/stack-constants.cjs +1 -1
  429. package/dist/lib/stack/stack-constants.cjs.map +1 -1
  430. package/dist/lib/stack/stack-constants.js +1 -1
  431. package/dist/lib/stack/stack-constants.js.map +1 -1
  432. package/dist/lib/stack/stack.cjs.map +1 -1
  433. package/dist/lib/stack/stack.js +5 -3
  434. package/dist/lib/stack/stack.js.map +1 -1
  435. package/dist/lib/tab/index.cjs +1 -1
  436. package/dist/lib/tab/index.js +14 -11
  437. package/dist/lib/tab/tab-group.cjs +1 -1
  438. package/dist/lib/tab/tab-group.cjs.map +1 -1
  439. package/dist/lib/tab/tab-group.js +171 -56
  440. package/dist/lib/tab/tab-group.js.map +1 -1
  441. package/dist/lib/tab/tab.cjs +1 -1
  442. package/dist/lib/tab/tab.cjs.map +1 -1
  443. package/dist/lib/tab/tab.js +105 -31
  444. package/dist/lib/tab/tab.js.map +1 -1
  445. package/dist/lib/tab/tabs-constants.cjs +1 -1
  446. package/dist/lib/tab/tabs-constants.cjs.map +1 -1
  447. package/dist/lib/tab/tabs-constants.js +31 -10
  448. package/dist/lib/tab/tabs-constants.js.map +1 -1
  449. package/dist/lib/text/index.cjs +2 -0
  450. package/dist/lib/text/index.cjs.map +1 -0
  451. package/dist/lib/text/index.js +20 -0
  452. package/dist/lib/text/index.js.map +1 -0
  453. package/dist/lib/text/text-constants.cjs +2 -0
  454. package/dist/lib/text/text-constants.cjs.map +1 -0
  455. package/dist/lib/text/text-constants.js +78 -0
  456. package/dist/lib/text/text-constants.js.map +1 -0
  457. package/dist/lib/text/text-tone-tokens.cjs +2 -0
  458. package/dist/lib/text/text-tone-tokens.cjs.map +1 -0
  459. package/dist/lib/text/text-tone-tokens.js +33 -0
  460. package/dist/lib/text/text-tone-tokens.js.map +1 -0
  461. package/dist/lib/text/text.cjs +2 -0
  462. package/dist/lib/text/text.cjs.map +1 -0
  463. package/dist/lib/text/text.js +206 -0
  464. package/dist/lib/text/text.js.map +1 -0
  465. package/dist/lib/toast/toast.cjs +1 -1
  466. package/dist/lib/toast/toast.cjs.map +1 -1
  467. package/dist/lib/toast/toast.js +12 -11
  468. package/dist/lib/toast/toast.js.map +1 -1
  469. package/dist/lib/toggle/toggle-constants.cjs +1 -1
  470. package/dist/lib/toggle/toggle-constants.cjs.map +1 -1
  471. package/dist/lib/toggle/toggle-constants.js +6 -2
  472. package/dist/lib/toggle/toggle-constants.js.map +1 -1
  473. package/dist/lib/toggle/toggle.cjs +1 -1
  474. package/dist/lib/toggle/toggle.cjs.map +1 -1
  475. package/dist/lib/toggle/toggle.js +39 -35
  476. package/dist/lib/toggle/toggle.js.map +1 -1
  477. package/dist/lib/tooltip/tooltip.cjs +2 -2
  478. package/dist/lib/tooltip/tooltip.cjs.map +1 -1
  479. package/dist/lib/tooltip/tooltip.js +31 -26
  480. package/dist/lib/tooltip/tooltip.js.map +1 -1
  481. package/dist/lib/tooltip-directive/tooltip.cjs +1 -1
  482. package/dist/lib/tooltip-directive/tooltip.cjs.map +1 -1
  483. package/dist/lib/tooltip-directive/tooltip.js +40 -39
  484. package/dist/lib/tooltip-directive/tooltip.js.map +1 -1
  485. package/dist/lib/top-banner-info/top-banner-info.cjs +1 -1
  486. package/dist/lib/top-banner-info/top-banner-info.cjs.map +1 -1
  487. package/dist/lib/top-banner-info/top-banner-info.js +16 -16
  488. package/dist/lib/top-banner-info/top-banner-info.js.map +1 -1
  489. package/dist/lib/unread-pill/unread-pill.cjs +1 -1
  490. package/dist/lib/unread-pill/unread-pill.cjs.map +1 -1
  491. package/dist/lib/unread-pill/unread-pill.js +1 -1
  492. package/dist/lib/unread-pill/unread-pill.js.map +1 -1
  493. package/dist/localization/en-US.cjs +5 -0
  494. package/dist/localization/en-US.cjs.map +1 -1
  495. package/dist/localization/en-US.js +5 -0
  496. package/dist/localization/en-US.js.map +1 -1
  497. package/dist/mode_constants-C1GFodVj.js +14 -0
  498. package/dist/mode_constants-C1GFodVj.js.map +1 -0
  499. package/dist/mode_constants-DeLSnTcQ.cjs +2 -0
  500. package/dist/mode_constants-DeLSnTcQ.cjs.map +1 -0
  501. package/dist/node_modules/@tiptap/vue-3.cjs.map +1 -1
  502. package/dist/node_modules/@tiptap/vue-3.js.map +1 -1
  503. package/dist/shared/sr_only_close_button.cjs +1 -1
  504. package/dist/shared/sr_only_close_button.cjs.map +1 -1
  505. package/dist/shared/sr_only_close_button.js +1 -1
  506. package/dist/shared/sr_only_close_button.js.map +1 -1
  507. package/dist/style.css +1 -1
  508. package/dist/types/common/constants/index.d.ts +25 -19
  509. package/dist/types/common/constants/index.d.ts.map +1 -1
  510. package/dist/types/common/constants/sizes.d.ts +22 -0
  511. package/dist/types/common/constants/sizes.d.ts.map +1 -0
  512. package/dist/types/common/mixins/index.d.ts +1 -0
  513. package/dist/types/common/mixins/mode.d.ts +25 -0
  514. package/dist/types/common/mixins/mode.d.ts.map +1 -0
  515. package/dist/types/common/mode_constants.d.ts +37 -0
  516. package/dist/types/common/mode_constants.d.ts.map +1 -0
  517. package/dist/types/common/sr_only_close_button.vue.d.ts +53 -7
  518. package/dist/types/common/sr_only_close_button.vue.d.ts.map +1 -1
  519. package/dist/types/components/avatar/avatar.vue.d.ts +71 -25
  520. package/dist/types/components/avatar/avatar.vue.d.ts.map +1 -1
  521. package/dist/types/components/avatar/avatar_constants.d.ts +86 -29
  522. package/dist/types/components/avatar/avatar_constants.d.ts.map +1 -1
  523. package/dist/types/components/avatar/index.d.ts +1 -1
  524. package/dist/types/components/badge/badge.vue.d.ts.map +1 -1
  525. package/dist/types/components/banner/banner.vue.d.ts +246 -15
  526. package/dist/types/components/banner/banner.vue.d.ts.map +1 -1
  527. package/dist/types/components/breadcrumbs/breadcrumb_item.vue.d.ts +9 -0
  528. package/dist/types/components/breadcrumbs/breadcrumb_item.vue.d.ts.map +1 -1
  529. package/dist/types/components/breadcrumbs/breadcrumbs.vue.d.ts +9 -0
  530. package/dist/types/components/button/button.vue.d.ts +53 -7
  531. package/dist/types/components/button/button.vue.d.ts.map +1 -1
  532. package/dist/types/components/button/button_constants.d.ts +28 -19
  533. package/dist/types/components/button/button_constants.d.ts.map +1 -1
  534. package/dist/types/components/checkbox/checkbox.vue.d.ts +178 -4
  535. package/dist/types/components/checkbox/checkbox.vue.d.ts.map +1 -1
  536. package/dist/types/components/checkbox_group/checkbox_group.vue.d.ts +138 -0
  537. package/dist/types/components/chip/chip.vue.d.ts +58 -12
  538. package/dist/types/components/chip/chip.vue.d.ts.map +1 -1
  539. package/dist/types/components/chip/chip_constants.d.ts +24 -21
  540. package/dist/types/components/chip/chip_constants.d.ts.map +1 -1
  541. package/dist/types/components/codeblock/codeblock.vue.d.ts +25 -2
  542. package/dist/types/components/codeblock/codeblock.vue.d.ts.map +1 -1
  543. package/dist/types/components/codeblock/codeblock_constants.d.ts +9 -0
  544. package/dist/types/components/codeblock/codeblock_constants.d.ts.map +1 -0
  545. package/dist/types/components/collapsible/collapsible.vue.d.ts +53 -7
  546. package/dist/types/components/collapsible/collapsible.vue.d.ts.map +1 -1
  547. package/dist/types/components/combobox/combobox.vue.d.ts +109 -34
  548. package/dist/types/components/combobox/combobox.vue.d.ts.map +1 -1
  549. package/dist/types/components/combobox/combobox_empty-list.vue.d.ts +40 -7
  550. package/dist/types/components/combobox/combobox_empty-list.vue.d.ts.map +1 -1
  551. package/dist/types/components/combobox/combobox_loading-list.vue.d.ts +64 -22
  552. package/dist/types/components/combobox/combobox_loading-list.vue.d.ts.map +1 -1
  553. package/dist/types/components/combobox_multi_select/combobox_multi_select_constants.d.ts +16 -13
  554. package/dist/types/components/combobox_multi_select/combobox_multi_select_constants.d.ts.map +1 -1
  555. package/dist/types/components/combobox_with_popover/combobox_with_popover.vue.d.ts +388 -82
  556. package/dist/types/components/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
  557. package/dist/types/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
  558. package/dist/types/components/dropdown/dropdown.vue.d.ts +170 -14
  559. package/dist/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
  560. package/dist/types/components/emoji/emoji.vue.d.ts +24 -15
  561. package/dist/types/components/emoji_picker/emoji_picker.vue.d.ts +196 -6
  562. package/dist/types/components/emoji_picker/modules/emoji_search.vue.d.ts +196 -6
  563. package/dist/types/components/emoji_picker/modules/emoji_search.vue.d.ts.map +1 -1
  564. package/dist/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
  565. package/dist/types/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts +24 -15
  566. package/dist/types/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts.map +1 -1
  567. package/dist/types/components/empty_state/empty_state.vue.d.ts.map +1 -1
  568. package/dist/types/components/empty_state/empty_state_constants.d.ts +52 -31
  569. package/dist/types/components/empty_state/empty_state_constants.d.ts.map +1 -1
  570. package/dist/types/components/filter_pill/filter_pill.vue.d.ts +4487 -0
  571. package/dist/types/components/filter_pill/filter_pill.vue.d.ts.map +1 -0
  572. package/dist/types/components/filter_pill/index.d.ts +2 -0
  573. package/dist/types/components/filter_pill/index.d.ts.map +1 -0
  574. package/dist/types/components/hovercard/hovercard.vue.d.ts +368 -29
  575. package/dist/types/components/hovercard/hovercard.vue.d.ts.map +1 -1
  576. package/dist/types/components/image_viewer/image_viewer.vue.d.ts +131 -14
  577. package/dist/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  578. package/dist/types/components/input/input.vue.d.ts +187 -5
  579. package/dist/types/components/input/input.vue.d.ts.map +1 -1
  580. package/dist/types/components/input/input_constants.d.ts +44 -46
  581. package/dist/types/components/input/input_constants.d.ts.map +1 -1
  582. package/dist/types/components/input_group/input_group.vue.d.ts +138 -0
  583. package/dist/types/components/input_group/input_group.vue.d.ts.map +1 -1
  584. package/dist/types/components/item_layout/item_layout.vue.d.ts +37 -6
  585. package/dist/types/components/item_layout/item_layout.vue.d.ts.map +1 -1
  586. package/dist/types/components/keyboard_shortcut/keyboard_shortcut.vue.d.ts +138 -0
  587. package/dist/types/components/keyboard_shortcut/keyboard_shortcut.vue.d.ts.map +1 -1
  588. package/dist/types/components/link/link.vue.d.ts +9 -0
  589. package/dist/types/components/list_item/list_item.vue.d.ts +40 -7
  590. package/dist/types/components/list_item/list_item.vue.d.ts.map +1 -1
  591. package/dist/types/components/modal/modal.vue.d.ts +271 -16
  592. package/dist/types/components/modal/modal.vue.d.ts.map +1 -1
  593. package/dist/types/components/mode_island/index.d.ts +3 -0
  594. package/dist/types/components/mode_island/index.d.ts.map +1 -0
  595. package/dist/types/components/mode_island/mode_island.vue.d.ts +3 -0
  596. package/dist/types/components/mode_island/mode_island.vue.d.ts.map +1 -0
  597. package/dist/types/components/mode_island/mode_island_constants.d.ts +10 -0
  598. package/dist/types/components/mode_island/mode_island_constants.d.ts.map +1 -0
  599. package/dist/types/components/mode_island/utils.d.ts +12 -0
  600. package/dist/types/components/mode_island/utils.d.ts.map +1 -0
  601. package/dist/types/components/mode_island/validators.d.ts +6 -0
  602. package/dist/types/components/mode_island/validators.d.ts.map +1 -0
  603. package/dist/types/components/motion_text/motion_text_constants.d.ts +27 -23
  604. package/dist/types/components/motion_text/motion_text_constants.d.ts.map +1 -1
  605. package/dist/types/components/notice/notice.vue.d.ts +246 -15
  606. package/dist/types/components/notice/notice.vue.d.ts.map +1 -1
  607. package/dist/types/components/notice/notice_action.vue.d.ts +106 -14
  608. package/dist/types/components/notice/notice_action.vue.d.ts.map +1 -1
  609. package/dist/types/components/notice/notice_content.vue.d.ts +140 -1
  610. package/dist/types/components/notice/notice_content.vue.d.ts.map +1 -1
  611. package/dist/types/components/notice/notice_icon.vue.d.ts.map +1 -1
  612. package/dist/types/components/pagination/pagination.vue.d.ts +53 -7
  613. package/dist/types/components/pagination/pagination.vue.d.ts.map +1 -1
  614. package/dist/types/components/popover/popover.vue.d.ts +159 -14
  615. package/dist/types/components/popover/popover.vue.d.ts.map +1 -1
  616. package/dist/types/components/popover/popover_header_footer.vue.d.ts +62 -7
  617. package/dist/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
  618. package/dist/types/components/radio/radio.vue.d.ts +173 -0
  619. package/dist/types/components/radio/radio.vue.d.ts.map +1 -1
  620. package/dist/types/components/radio_group/radio_group.vue.d.ts +138 -0
  621. package/dist/types/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts +9 -0
  622. package/dist/types/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts.map +1 -1
  623. package/dist/types/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.d.ts.map +1 -1
  624. package/dist/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +24 -15
  625. package/dist/types/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.d.ts +24 -15
  626. package/dist/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +9 -0
  627. package/dist/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts +209 -25
  628. package/dist/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts.map +1 -1
  629. package/dist/types/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.d.ts +140 -1
  630. package/dist/types/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.d.ts.map +1 -1
  631. package/dist/types/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.d.ts +40 -7
  632. package/dist/types/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.d.ts.map +1 -1
  633. package/dist/types/components/rich_text_editor/extensions/variable/VariableComponent.vue.d.ts +399 -26
  634. package/dist/types/components/rich_text_editor/extensions/variable/VariableComponent.vue.d.ts.map +1 -1
  635. package/dist/types/components/root_layout/root_layout_constants.d.ts +2 -0
  636. package/dist/types/components/root_layout/root_layout_constants.d.ts.map +1 -1
  637. package/dist/types/components/segmented_control/index.d.ts +4 -0
  638. package/dist/types/components/segmented_control/index.d.ts.map +1 -0
  639. package/dist/types/components/segmented_control/segmented_control.vue.d.ts +224 -0
  640. package/dist/types/components/segmented_control/segmented_control.vue.d.ts.map +1 -0
  641. package/dist/types/components/segmented_control/segmented_control_constants.d.ts +41 -0
  642. package/dist/types/components/segmented_control/segmented_control_constants.d.ts.map +1 -0
  643. package/dist/types/components/segmented_control/segmented_control_item.vue.d.ts +35 -0
  644. package/dist/types/components/segmented_control/segmented_control_item.vue.d.ts.map +1 -0
  645. package/dist/types/components/select_menu/select_menu.vue.d.ts +182 -18
  646. package/dist/types/components/select_menu/select_menu.vue.d.ts.map +1 -1
  647. package/dist/types/components/select_menu/select_menu_constants.d.ts +12 -7
  648. package/dist/types/components/select_menu/select_menu_constants.d.ts.map +1 -1
  649. package/dist/types/components/skeleton/skeleton-list-item.vue.d.ts +13 -10
  650. package/dist/types/components/skeleton/skeleton-paragraph.vue.d.ts +3 -0
  651. package/dist/types/components/skeleton/skeleton-shape.vue.d.ts +5 -5
  652. package/dist/types/components/skeleton/skeleton-text.vue.d.ts +3 -0
  653. package/dist/types/components/skeleton/skeleton.vue.d.ts +24 -15
  654. package/dist/types/components/skeleton/skeleton_constants.d.ts +18 -13
  655. package/dist/types/components/skeleton/skeleton_constants.d.ts.map +1 -1
  656. package/dist/types/components/split_button/{split_button-omega.vue.d.ts → split_button-end.vue.d.ts} +64 -13
  657. package/dist/types/components/split_button/{split_button-omega.vue.d.ts.map → split_button-end.vue.d.ts.map} +1 -1
  658. package/dist/types/components/split_button/{split_button-alpha.vue.d.ts → split_button-start.vue.d.ts} +125 -11
  659. package/dist/types/components/split_button/split_button-start.vue.d.ts.map +1 -0
  660. package/dist/types/components/split_button/split_button.vue.d.ts +589 -66
  661. package/dist/types/components/split_button/split_button.vue.d.ts.map +1 -1
  662. package/dist/types/components/split_button/split_button_constants.d.ts +12 -7
  663. package/dist/types/components/split_button/split_button_constants.d.ts.map +1 -1
  664. package/dist/types/components/stack/stack_constants.d.ts.map +1 -1
  665. package/dist/types/components/tab/index.d.ts +1 -1
  666. package/dist/types/components/tab/tab.vue.d.ts +85 -11
  667. package/dist/types/components/tab/tab.vue.d.ts.map +1 -1
  668. package/dist/types/components/tab/tab_group.vue.d.ts +91 -5
  669. package/dist/types/components/tab/tab_group.vue.d.ts.map +1 -1
  670. package/dist/types/components/tab/tabs_constants.d.ts +23 -5
  671. package/dist/types/components/tab/tabs_constants.d.ts.map +1 -1
  672. package/dist/types/components/text/index.d.ts +3 -0
  673. package/dist/types/components/text/index.d.ts.map +1 -0
  674. package/dist/types/components/text/scripts/update-text-tone-tokens.d.cts +3 -0
  675. package/dist/types/components/text/scripts/update-text-tone-tokens.d.cts.map +1 -0
  676. package/dist/types/components/text/scripts/update_text_tone_tokens.d.cts +3 -0
  677. package/dist/types/components/text/scripts/update_text_tone_tokens.d.cts.map +1 -0
  678. package/dist/types/components/text/scripts/update_text_tone_tokens.d.ts +1 -0
  679. package/dist/types/components/text/scripts/update_text_tone_tokens.d.ts.map +1 -0
  680. package/dist/types/components/text/text.vue.d.ts +141 -0
  681. package/dist/types/components/text/text.vue.d.ts.map +1 -0
  682. package/dist/types/components/text/text_constants.d.ts +82 -0
  683. package/dist/types/components/text/text_constants.d.ts.map +1 -0
  684. package/dist/types/components/text/text_tone_tokens.d.ts +3 -0
  685. package/dist/types/components/text/text_tone_tokens.d.ts.map +1 -0
  686. package/dist/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +246 -15
  687. package/dist/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
  688. package/dist/types/components/toast/layouts/toast_layout_alternate_icon.vue.d.ts.map +1 -1
  689. package/dist/types/components/toast/layouts/toast_layout_default.vue.d.ts +246 -15
  690. package/dist/types/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -1
  691. package/dist/types/components/toast/toast.vue.d.ts +1033 -109
  692. package/dist/types/components/toast/toast.vue.d.ts.map +1 -1
  693. package/dist/types/components/toggle/toggle.vue.d.ts +14 -6
  694. package/dist/types/components/toggle/toggle.vue.d.ts.map +1 -1
  695. package/dist/types/components/toggle/toggle_constants.d.ts +6 -4
  696. package/dist/types/components/toggle/toggle_constants.d.ts.map +1 -1
  697. package/dist/types/components/tooltip/tooltip.vue.d.ts +27 -1
  698. package/dist/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  699. package/dist/types/directives/mode_directive/index.d.ts +2 -0
  700. package/dist/types/directives/mode_directive/index.d.ts.map +1 -0
  701. package/dist/types/directives/mode_directive/mode.d.ts +6 -0
  702. package/dist/types/directives/mode_directive/mode.d.ts.map +1 -0
  703. package/dist/types/directives/tooltip_directive/tooltip.d.ts.map +1 -1
  704. package/dist/types/index.d.ts +5 -0
  705. package/dist/types/recipes/buttons/callbar_button/callbar_button.vue.d.ts +80 -8
  706. package/dist/types/recipes/buttons/callbar_button/callbar_button.vue.d.ts.map +1 -1
  707. package/dist/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +303 -29
  708. package/dist/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
  709. package/dist/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +293 -30
  710. package/dist/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  711. package/dist/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +223 -21
  712. package/dist/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  713. package/dist/types/recipes/chips/grouped_chip/grouped_chip.vue.d.ts +58 -12
  714. package/dist/types/recipes/chips/grouped_chip/grouped_chip.vue.d.ts.map +1 -1
  715. package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +237 -28
  716. package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
  717. package/dist/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +184 -21
  718. package/dist/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
  719. package/dist/types/recipes/conversation_view/editor/EditorToolbarButton.vue.d.ts +53 -7
  720. package/dist/types/recipes/conversation_view/editor/EditorToolbarDropdownButton.vue.d.ts +223 -21
  721. package/dist/types/recipes/conversation_view/editor/EditorToolbarDropdownButton.vue.d.ts.map +1 -1
  722. package/dist/types/recipes/conversation_view/editor/EditorToolbarPopoverButton.vue.d.ts +212 -21
  723. package/dist/types/recipes/conversation_view/editor/EditorToolbarPopoverButton.vue.d.ts.map +1 -1
  724. package/dist/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +128 -38
  725. package/dist/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  726. package/dist/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +90 -13
  727. package/dist/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
  728. package/dist/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +111 -32
  729. package/dist/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts.map +1 -1
  730. package/dist/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +90 -13
  731. package/dist/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
  732. package/dist/types/recipes/conversation_view/message_input/message_input_button.vue.d.ts +218 -8
  733. package/dist/types/recipes/conversation_view/message_input/message_input_button.vue.d.ts.map +1 -1
  734. package/dist/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +617 -34
  735. package/dist/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
  736. package/dist/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +218 -8
  737. package/dist/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
  738. package/dist/types/recipes/header/settings_menu_button/settings_menu_button.vue.d.ts +53 -7
  739. package/dist/types/recipes/header/settings_menu_button/settings_menu_button.vue.d.ts.map +1 -1
  740. package/dist/types/recipes/item_layout/contact_info/contact_info.vue.d.ts +108 -31
  741. package/dist/types/recipes/item_layout/contact_info/contact_info.vue.d.ts.map +1 -1
  742. package/dist/types/recipes/leftbar/callbox/callbox.vue.d.ts +71 -25
  743. package/dist/types/recipes/leftbar/callbox/callbox.vue.d.ts.map +1 -1
  744. package/dist/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +77 -22
  745. package/dist/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
  746. package/dist/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +557 -64
  747. package/dist/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
  748. package/dist/types/recipes/leftbar/general_row/general_row.vue.d.ts +462 -24
  749. package/dist/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  750. package/dist/types/recipes/leftbar/general_row/leftbar_general_row_icon.vue.d.ts.map +1 -1
  751. package/dist/types/recipes/leftbar/group_row/group_row.vue.d.ts +462 -24
  752. package/dist/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
  753. package/dist/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
  754. package/dist/types/recipes/notices/top_banner_info/top_banner_info.vue.d.ts.map +1 -1
  755. package/package.json +6 -5
  756. package/dist/lib/split-button/split-button-alpha.cjs +0 -2
  757. package/dist/lib/split-button/split-button-alpha.cjs.map +0 -1
  758. package/dist/lib/split-button/split-button-alpha.js +0 -138
  759. package/dist/lib/split-button/split-button-alpha.js.map +0 -1
  760. package/dist/lib/split-button/split-button-omega.cjs +0 -2
  761. package/dist/lib/split-button/split-button-omega.cjs.map +0 -1
  762. package/dist/lib/split-button/split-button-omega.js.map +0 -1
  763. package/dist/types/components/split_button/split_button-alpha.vue.d.ts.map +0 -1
@@ -1,64 +1,65 @@
1
- import { nodeViewProps as pt, NodeViewWrapper as mt, VueRenderer as We, VueNodeViewRenderer as gt, EditorContent as Ke, Editor as qe } from "../../node_modules/@tiptap/vue-3.js";
2
- import { isTextSelection as Xe, posToDOMRect as le, getText as Ye, getTextSerializersFromSchema as Ge, mergeAttributes as st, Node as ce, nodePasteRule as St, InputRule as Je, getMarksBetween as Ze, combineTransactionSteps as Qe, getChangedRanges as tn, findChildrenInRange as en, Mark as nn, nodeInputRule as on, Extension as sn } from "@tiptap/core";
3
- import { Plugin as It, PluginKey as at, NodeSelection as rn } from "@tiptap/pm/state";
4
- import { CellSelection as an } from "@tiptap/pm/tables";
5
- import { defineComponent as de, ref as ue, onMounted as he, nextTick as ln, onBeforeUnmount as fe, h as pe, resolveComponent as T, openBlock as _, createBlock as A, withCtx as C, createVNode as M, createElementBlock as et, withDirectives as cn, createElementVNode as nt, Fragment as dn, renderList as un, withModifiers as Dt, normalizeClass as me, resolveDynamicComponent as hn, vShow as fn, markRaw as pn, createTextVNode as lt, toDisplayString as B, createCommentVNode as rt, withKeys as mn, mergeProps as ge } from "vue";
6
- import gn from "@tiptap/extension-blockquote";
7
- import yn from "@tiptap/extension-code-block";
8
- import wn from "@tiptap/extension-code";
9
- import bn from "@tiptap/extension-document";
10
- import { UndoRedo as vn, Placeholder as xn, Gapcursor as Tn } from "@tiptap/extensions";
11
- import _n from "@tiptap/extension-hard-break";
1
+ import { nodeViewProps as pt, NodeViewWrapper as mt, VueRenderer as Ke, VueNodeViewRenderer as gt, EditorContent as qe, Editor as Xe } from "../../node_modules/@tiptap/vue-3.js";
2
+ import { isTextSelection as Ye, posToDOMRect as le, getText as Ge, getTextSerializersFromSchema as Je, mergeAttributes as ot, Node as ce, nodePasteRule as St, InputRule as Ze, getMarksBetween as Qe, combineTransactionSteps as tn, getChangedRanges as en, findChildrenInRange as nn, Mark as on, nodeInputRule as sn, Extension as rn } from "@tiptap/core";
3
+ import { Plugin as It, PluginKey as rt, NodeSelection as an } from "@tiptap/pm/state";
4
+ import { CellSelection as ln } from "@tiptap/pm/tables";
5
+ import { defineComponent as de, ref as ue, onMounted as he, nextTick as cn, onBeforeUnmount as fe, h as pe, resolveComponent as x, openBlock as O, createBlock as E, withCtx as T, createVNode as I, createElementBlock as ht, withDirectives as dn, createElementVNode as dt, Fragment as un, renderList as hn, withModifiers as Dt, normalizeClass as me, resolveDynamicComponent as fn, vShow as pn, markRaw as mn, createTextVNode as Y, toDisplayString as B, createCommentVNode as st, withKeys as gn, mergeProps as ge } from "vue";
6
+ import yn from "@tiptap/extension-blockquote";
7
+ import wn from "@tiptap/extension-code-block";
8
+ import bn from "@tiptap/extension-code";
9
+ import vn from "@tiptap/extension-document";
10
+ import { UndoRedo as xn, Placeholder as Tn, Gapcursor as _n } from "@tiptap/extensions";
11
+ import On from "@tiptap/extension-hard-break";
12
12
  import ye from "@tiptap/extension-paragraph";
13
- import On from "@tiptap/extension-bold";
14
- import { BulletList as Cn, ListItem as En, OrderedList as kn } from "@tiptap/extension-list";
15
- import Sn from "@tiptap/extension-italic";
16
- import Ln from "@tiptap/extension-link";
17
- import An from "@tiptap/extension-strike";
18
- import In from "@tiptap/extension-underline";
19
- import Dn from "@tiptap/extension-text";
20
- import Rn from "@tiptap/extension-text-align";
21
- import { Table as Mn, TableRow as Hn, TableHeader as Bn, TableCell as $n } from "@tiptap/extension-table";
22
- import { TextStyle as Pn, TextStyleKit as Un } from "@tiptap/extension-text-style";
23
- import Vn from "@tiptap/suggestion";
13
+ import Cn from "@tiptap/extension-bold";
14
+ import { BulletList as kn, ListItem as En, OrderedList as Sn } from "@tiptap/extension-list";
15
+ import Ln from "@tiptap/extension-italic";
16
+ import An from "@tiptap/extension-link";
17
+ import In from "@tiptap/extension-strike";
18
+ import Dn from "@tiptap/extension-underline";
19
+ import Rn from "@tiptap/extension-text";
20
+ import Mn from "@tiptap/extension-text-align";
21
+ import { Table as Hn, TableRow as Bn, TableHeader as $n, TableCell as Pn } from "@tiptap/extension-table";
22
+ import { TextStyle as Un, TextStyleKit as Vn } from "@tiptap/extension-text-style";
23
+ import zn from "@tiptap/suggestion";
24
24
  import { emojiPattern as we } from "regex-combined-emojis";
25
25
  import { _ as q } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
26
26
  import be from "../emoji/emoji.js";
27
- import { getEmojiData as zn, emojiRegex as Fn, stringToUnicode as Nn, codeToEmojiData as Rt, emojiShortCodeRegex as jn } from "../../common/emoji/index.js";
28
- import Wn from "../list-item/list-item.js";
27
+ import { getEmojiData as Fn, emojiRegex as Nn, stringToUnicode as jn, codeToEmojiData as Rt, emojiShortCodeRegex as Wn } from "../../common/emoji/index.js";
28
+ import Kn from "../list-item/list-item.js";
29
29
  import yt from "../stack/stack.js";
30
- import { linkRegex as Kn, getPhoneNumberRegex as qn, warnIfUnmounted as Xn, returnFirstEl as jt } from "../../common/utils/index.js";
31
- import Yn from "@tiptap/extension-image";
30
+ import { linkRegex as qn, getPhoneNumberRegex as Xn, warnIfUnmounted as Yn, returnFirstEl as jt } from "../../common/utils/index.js";
31
+ import Gn from "@tiptap/extension-image";
32
32
  import Mt from "@tiptap/extension-mention";
33
33
  import ve from "../link/link.js";
34
- import { DtIconLock as Gn } from "@dialpad/dialtone-icons/vue3";
34
+ import { DtIconLock as Jn } from "@dialpad/dialtone-icons/vue";
35
35
  import { DialtoneLocalization as xe } from "../../localization/index.js";
36
- import Jn from "../input/input.js";
37
- import Zn from "../popover/popover.js";
36
+ import Zn from "../input/input.js";
37
+ import Qn from "../popover/popover.js";
38
38
  import Te from "../button/button.js";
39
- import Qn from "../badge/badge.js";
40
- import { RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS as Wt, RICH_TEXT_EDITOR_OUTPUT_FORMATS as ti, RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as ei } from "./rich-text-editor-constants.js";
41
- import ni from "../avatar/avatar.js";
42
- import ii from "@dialpad/dialtone-icons/vue3/hash";
43
- import oi from "@dialpad/dialtone-icons/vue3/lock";
39
+ import ti from "../badge/badge.js";
40
+ import { RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS as Wt, RICH_TEXT_EDITOR_OUTPUT_FORMATS as ei, RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as ni } from "./rich-text-editor-constants.js";
41
+ import _e from "../text/text.js";
42
+ import ii from "../avatar/avatar.js";
43
+ import oi from "@dialpad/dialtone-icons/vue/hash";
44
+ import si from "@dialpad/dialtone-icons/vue/lock";
44
45
  import { renderEditorToMarkdown as Kt } from "./markdownRenderer.js";
45
- import si from "deep-equal";
46
- const _e = ["top", "right", "bottom", "left"], qt = ["start", "end"], Xt = /* @__PURE__ */ _e.reduce((t, e) => t.concat(e, e + "-" + qt[0], e + "-" + qt[1]), []), G = Math.min, R = Math.max, bt = Math.round, Y = (t) => ({
46
+ import ri from "deep-equal";
47
+ const Oe = ["top", "right", "bottom", "left"], qt = ["start", "end"], Xt = /* @__PURE__ */ Oe.reduce((t, e) => t.concat(e, e + "-" + qt[0], e + "-" + qt[1]), []), J = Math.min, M = Math.max, bt = Math.round, G = (t) => ({
47
48
  x: t,
48
49
  y: t
49
- }), ri = {
50
+ }), ai = {
50
51
  left: "right",
51
52
  right: "left",
52
53
  bottom: "top",
53
54
  top: "bottom"
54
- }, ai = {
55
+ }, li = {
55
56
  start: "end",
56
57
  end: "start"
57
58
  };
58
59
  function Lt(t, e, n) {
59
- return R(t, G(e, n));
60
+ return M(t, J(e, n));
60
61
  }
61
- function Z(t, e) {
62
+ function Q(t, e) {
62
63
  return typeof t == "function" ? t(e) : t;
63
64
  }
64
65
  function F(t) {
@@ -67,54 +68,54 @@ function F(t) {
67
68
  function j(t) {
68
69
  return t.split("-")[1];
69
70
  }
70
- function Oe(t) {
71
+ function Ce(t) {
71
72
  return t === "x" ? "y" : "x";
72
73
  }
73
74
  function Ht(t) {
74
75
  return t === "y" ? "height" : "width";
75
76
  }
76
- const li = /* @__PURE__ */ new Set(["top", "bottom"]);
77
+ const ci = /* @__PURE__ */ new Set(["top", "bottom"]);
77
78
  function X(t) {
78
- return li.has(F(t)) ? "y" : "x";
79
+ return ci.has(F(t)) ? "y" : "x";
79
80
  }
80
81
  function Bt(t) {
81
- return Oe(X(t));
82
+ return Ce(X(t));
82
83
  }
83
- function Ce(t, e, n) {
84
+ function ke(t, e, n) {
84
85
  n === void 0 && (n = !1);
85
86
  const i = j(t), o = Bt(t), s = Ht(o);
86
87
  let r = o === "x" ? i === (n ? "end" : "start") ? "right" : "left" : i === "start" ? "bottom" : "top";
87
88
  return e.reference[s] > e.floating[s] && (r = xt(r)), [r, xt(r)];
88
89
  }
89
- function ci(t) {
90
+ function di(t) {
90
91
  const e = xt(t);
91
92
  return [vt(t), e, vt(e)];
92
93
  }
93
94
  function vt(t) {
94
- return t.replace(/start|end/g, (e) => ai[e]);
95
+ return t.replace(/start|end/g, (e) => li[e]);
95
96
  }
96
- const Yt = ["left", "right"], Gt = ["right", "left"], di = ["top", "bottom"], ui = ["bottom", "top"];
97
- function hi(t, e, n) {
97
+ const Yt = ["left", "right"], Gt = ["right", "left"], ui = ["top", "bottom"], hi = ["bottom", "top"];
98
+ function fi(t, e, n) {
98
99
  switch (t) {
99
100
  case "top":
100
101
  case "bottom":
101
102
  return n ? e ? Gt : Yt : e ? Yt : Gt;
102
103
  case "left":
103
104
  case "right":
104
- return e ? di : ui;
105
+ return e ? ui : hi;
105
106
  default:
106
107
  return [];
107
108
  }
108
109
  }
109
- function fi(t, e, n, i) {
110
+ function pi(t, e, n, i) {
110
111
  const o = j(t);
111
- let s = hi(F(t), n === "start", i);
112
+ let s = fi(F(t), n === "start", i);
112
113
  return o && (s = s.map((r) => r + "-" + o), e && (s = s.concat(s.map(vt)))), s;
113
114
  }
114
115
  function xt(t) {
115
- return t.replace(/left|right|bottom|top/g, (e) => ri[e]);
116
+ return t.replace(/left|right|bottom|top/g, (e) => ai[e]);
116
117
  }
117
- function pi(t) {
118
+ function mi(t) {
118
119
  return {
119
120
  top: 0,
120
121
  right: 0,
@@ -124,14 +125,14 @@ function pi(t) {
124
125
  };
125
126
  }
126
127
  function $t(t) {
127
- return typeof t != "number" ? pi(t) : {
128
+ return typeof t != "number" ? mi(t) : {
128
129
  top: t,
129
130
  right: t,
130
131
  bottom: t,
131
132
  left: t
132
133
  };
133
134
  }
134
- function dt(t) {
135
+ function lt(t) {
135
136
  const {
136
137
  x: e,
137
138
  y: n,
@@ -197,7 +198,7 @@ function Jt(t, e, n) {
197
198
  }
198
199
  return f;
199
200
  }
200
- async function mi(t, e) {
201
+ async function gi(t, e) {
201
202
  var n;
202
203
  e === void 0 && (e = {});
203
204
  const {
@@ -213,7 +214,7 @@ async function mi(t, e) {
213
214
  elementContext: c = "floating",
214
215
  altBoundary: h = !1,
215
216
  padding: f = 0
216
- } = Z(e, t), p = $t(f), g = a[h ? c === "floating" ? "reference" : "floating" : c], y = dt(await s.getClippingRect({
217
+ } = Q(e, t), p = $t(f), g = a[h ? c === "floating" ? "reference" : "floating" : c], y = lt(await s.getClippingRect({
217
218
  element: (n = await (s.isElement == null ? void 0 : s.isElement(g))) == null || n ? g : g.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(a.floating)),
218
219
  boundary: u,
219
220
  rootBoundary: d,
@@ -223,26 +224,26 @@ async function mi(t, e) {
223
224
  y: o,
224
225
  width: r.floating.width,
225
226
  height: r.floating.height
226
- } : r.reference, v = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(a.floating)), x = await (s.isElement == null ? void 0 : s.isElement(v)) ? await (s.getScale == null ? void 0 : s.getScale(v)) || {
227
+ } : r.reference, v = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(a.floating)), _ = await (s.isElement == null ? void 0 : s.isElement(v)) ? await (s.getScale == null ? void 0 : s.getScale(v)) || {
227
228
  x: 1,
228
229
  y: 1
229
230
  } : {
230
231
  x: 1,
231
232
  y: 1
232
- }, E = dt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
233
+ }, k = lt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
233
234
  elements: a,
234
235
  rect: b,
235
236
  offsetParent: v,
236
237
  strategy: l
237
238
  }) : b);
238
239
  return {
239
- top: (y.top - E.top + p.top) / x.y,
240
- bottom: (E.bottom - y.bottom + p.bottom) / x.y,
241
- left: (y.left - E.left + p.left) / x.x,
242
- right: (E.right - y.right + p.right) / x.x
240
+ top: (y.top - k.top + p.top) / _.y,
241
+ bottom: (k.bottom - y.bottom + p.bottom) / _.y,
242
+ left: (y.left - k.left + p.left) / _.x,
243
+ right: (k.right - y.right + p.right) / _.x
243
244
  };
244
245
  }
245
- const gi = async (t, e, n) => {
246
+ const yi = async (t, e, n) => {
246
247
  const {
247
248
  placement: i = "bottom",
248
249
  strategy: o = "absolute",
@@ -264,9 +265,9 @@ const gi = async (t, e, n) => {
264
265
  fn: b
265
266
  } = a[g], {
266
267
  x: v,
267
- y: x,
268
- data: E,
269
- reset: O
268
+ y: _,
269
+ data: k,
270
+ reset: C
270
271
  } = await b({
271
272
  x: d,
272
273
  y: c,
@@ -277,24 +278,24 @@ const gi = async (t, e, n) => {
277
278
  rects: u,
278
279
  platform: {
279
280
  ...r,
280
- detectOverflow: (m = r.detectOverflow) != null ? m : mi
281
+ detectOverflow: (m = r.detectOverflow) != null ? m : gi
281
282
  },
282
283
  elements: {
283
284
  reference: t,
284
285
  floating: e
285
286
  }
286
287
  });
287
- d = v ?? d, c = x ?? c, f = {
288
+ d = v ?? d, c = _ ?? c, f = {
288
289
  ...f,
289
290
  [y]: {
290
291
  ...f[y],
291
- ...E
292
+ ...k
292
293
  }
293
- }, O && p <= 50 && (p++, typeof O == "object" && (O.placement && (h = O.placement), O.rects && (u = O.rects === !0 ? await r.getElementRects({
294
+ }, C && p <= 50 && (p++, typeof C == "object" && (C.placement && (h = C.placement), C.rects && (u = C.rects === !0 ? await r.getElementRects({
294
295
  reference: t,
295
296
  floating: e,
296
297
  strategy: o
297
- }) : O.rects), {
298
+ }) : C.rects), {
298
299
  x: d,
299
300
  y: c
300
301
  } = Jt(u, h, l)), g = -1);
@@ -306,7 +307,7 @@ const gi = async (t, e, n) => {
306
307
  strategy: o,
307
308
  middlewareData: f
308
309
  };
309
- }, yi = (t) => ({
310
+ }, wi = (t) => ({
310
311
  name: "arrow",
311
312
  options: t,
312
313
  async fn(e) {
@@ -321,21 +322,21 @@ const gi = async (t, e, n) => {
321
322
  } = e, {
322
323
  element: u,
323
324
  padding: d = 0
324
- } = Z(t, e) || {};
325
+ } = Q(t, e) || {};
325
326
  if (u == null)
326
327
  return {};
327
328
  const c = $t(d), h = {
328
329
  x: n,
329
330
  y: i
330
- }, f = Bt(o), p = Ht(f), m = await r.getDimensions(u), g = f === "y", y = g ? "top" : "left", b = g ? "bottom" : "right", v = g ? "clientHeight" : "clientWidth", x = s.reference[p] + s.reference[f] - h[f] - s.floating[p], E = h[f] - s.reference[f], O = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(u));
331
- let L = O ? O[v] : 0;
332
- (!L || !await (r.isElement == null ? void 0 : r.isElement(O))) && (L = a.floating[v] || s.floating[p]);
333
- const V = x / 2 - E / 2, I = L / 2 - m[p] / 2 - 1, w = G(c[y], I), k = G(c[b], I), D = w, H = L - m[p] - k, S = L / 2 - m[p] / 2 + V, N = Lt(D, S, H), z = !l.arrow && j(o) != null && S !== N && s.reference[p] / 2 - (S < D ? w : k) - m[p] / 2 < 0, $ = z ? S < D ? S - D : S - H : 0;
331
+ }, f = Bt(o), p = Ht(f), m = await r.getDimensions(u), g = f === "y", y = g ? "top" : "left", b = g ? "bottom" : "right", v = g ? "clientHeight" : "clientWidth", _ = s.reference[p] + s.reference[f] - h[f] - s.floating[p], k = h[f] - s.reference[f], C = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(u));
332
+ let A = C ? C[v] : 0;
333
+ (!A || !await (r.isElement == null ? void 0 : r.isElement(C))) && (A = a.floating[v] || s.floating[p]);
334
+ const V = _ / 2 - k / 2, D = A / 2 - m[p] / 2 - 1, w = J(c[y], D), S = J(c[b], D), R = w, H = A - m[p] - S, L = A / 2 - m[p] / 2 + V, N = Lt(R, L, H), z = !l.arrow && j(o) != null && L !== N && s.reference[p] / 2 - (L < R ? w : S) - m[p] / 2 < 0, $ = z ? L < R ? L - R : L - H : 0;
334
335
  return {
335
336
  [f]: h[f] + $,
336
337
  data: {
337
338
  [f]: N,
338
- centerOffset: S - N - $,
339
+ centerOffset: L - N - $,
339
340
  ...z && {
340
341
  alignmentOffset: $
341
342
  }
@@ -344,10 +345,10 @@ const gi = async (t, e, n) => {
344
345
  };
345
346
  }
346
347
  });
347
- function wi(t, e, n) {
348
+ function bi(t, e, n) {
348
349
  return (t ? [...n.filter((o) => j(o) === t), ...n.filter((o) => j(o) !== t)] : n.filter((o) => F(o) === o)).filter((o) => t ? j(o) === t || (e ? vt(o) !== o : !1) : !0);
349
350
  }
350
- const bi = function(t) {
351
+ const vi = function(t) {
351
352
  return t === void 0 && (t = {}), {
352
353
  name: "autoPlacement",
353
354
  options: t,
@@ -365,57 +366,57 @@ const bi = function(t) {
365
366
  allowedPlacements: h = Xt,
366
367
  autoAlignment: f = !0,
367
368
  ...p
368
- } = Z(t, e), m = c !== void 0 || h === Xt ? wi(c || null, f, h) : h, g = await l.detectOverflow(e, p), y = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, b = m[y];
369
+ } = Q(t, e), m = c !== void 0 || h === Xt ? bi(c || null, f, h) : h, g = await l.detectOverflow(e, p), y = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, b = m[y];
369
370
  if (b == null)
370
371
  return {};
371
- const v = Ce(b, s, await (l.isRTL == null ? void 0 : l.isRTL(u.floating)));
372
+ const v = ke(b, s, await (l.isRTL == null ? void 0 : l.isRTL(u.floating)));
372
373
  if (a !== b)
373
374
  return {
374
375
  reset: {
375
376
  placement: m[0]
376
377
  }
377
378
  };
378
- const x = [g[F(b)], g[v[0]], g[v[1]]], E = [...((i = r.autoPlacement) == null ? void 0 : i.overflows) || [], {
379
+ const _ = [g[F(b)], g[v[0]], g[v[1]]], k = [...((i = r.autoPlacement) == null ? void 0 : i.overflows) || [], {
379
380
  placement: b,
380
- overflows: x
381
- }], O = m[y + 1];
382
- if (O)
381
+ overflows: _
382
+ }], C = m[y + 1];
383
+ if (C)
383
384
  return {
384
385
  data: {
385
386
  index: y + 1,
386
- overflows: E
387
+ overflows: k
387
388
  },
388
389
  reset: {
389
- placement: O
390
+ placement: C
390
391
  }
391
392
  };
392
- const L = E.map((w) => {
393
- const k = j(w.placement);
394
- return [w.placement, k && d ? (
393
+ const A = k.map((w) => {
394
+ const S = j(w.placement);
395
+ return [w.placement, S && d ? (
395
396
  // Check along the mainAxis and main crossAxis side.
396
- w.overflows.slice(0, 2).reduce((D, H) => D + H, 0)
397
+ w.overflows.slice(0, 2).reduce((R, H) => R + H, 0)
397
398
  ) : (
398
399
  // Check only the mainAxis.
399
400
  w.overflows[0]
400
401
  ), w.overflows];
401
- }).sort((w, k) => w[1] - k[1]), I = ((o = L.filter((w) => w[2].slice(
402
+ }).sort((w, S) => w[1] - S[1]), D = ((o = A.filter((w) => w[2].slice(
402
403
  0,
403
404
  // Aligned placements should not check their opposite crossAxis
404
405
  // side.
405
406
  j(w[0]) ? 2 : 3
406
- ).every((k) => k <= 0))[0]) == null ? void 0 : o[0]) || L[0][0];
407
- return I !== a ? {
407
+ ).every((S) => S <= 0))[0]) == null ? void 0 : o[0]) || A[0][0];
408
+ return D !== a ? {
408
409
  data: {
409
410
  index: y + 1,
410
- overflows: E
411
+ overflows: k
411
412
  },
412
413
  reset: {
413
- placement: I
414
+ placement: D
414
415
  }
415
416
  } : {};
416
417
  }
417
418
  };
418
- }, vi = function(t) {
419
+ }, xi = function(t) {
419
420
  return t === void 0 && (t = {}), {
420
421
  name: "flip",
421
422
  options: t,
@@ -436,49 +437,49 @@ const bi = function(t) {
436
437
  fallbackAxisSideDirection: p = "none",
437
438
  flipAlignment: m = !0,
438
439
  ...g
439
- } = Z(t, e);
440
+ } = Q(t, e);
440
441
  if ((n = s.arrow) != null && n.alignmentOffset)
441
442
  return {};
442
- const y = F(o), b = X(a), v = F(a) === a, x = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), E = h || (v || !m ? [xt(a)] : ci(a)), O = p !== "none";
443
- !h && O && E.push(...fi(a, m, p, x));
444
- const L = [a, ...E], V = await l.detectOverflow(e, g), I = [];
443
+ const y = F(o), b = X(a), v = F(a) === a, _ = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), k = h || (v || !m ? [xt(a)] : di(a)), C = p !== "none";
444
+ !h && C && k.push(...pi(a, m, p, _));
445
+ const A = [a, ...k], V = await l.detectOverflow(e, g), D = [];
445
446
  let w = ((i = s.flip) == null ? void 0 : i.overflows) || [];
446
- if (d && I.push(V[y]), c) {
447
- const S = Ce(o, r, x);
448
- I.push(V[S[0]], V[S[1]]);
447
+ if (d && D.push(V[y]), c) {
448
+ const L = ke(o, r, _);
449
+ D.push(V[L[0]], V[L[1]]);
449
450
  }
450
451
  if (w = [...w, {
451
452
  placement: o,
452
- overflows: I
453
- }], !I.every((S) => S <= 0)) {
454
- var k, D;
455
- const S = (((k = s.flip) == null ? void 0 : k.index) || 0) + 1, N = L[S];
453
+ overflows: D
454
+ }], !D.every((L) => L <= 0)) {
455
+ var S, R;
456
+ const L = (((S = s.flip) == null ? void 0 : S.index) || 0) + 1, N = A[L];
456
457
  if (N && (!(c === "alignment" ? b !== X(N) : !1) || // We leave the current main axis only if every placement on that axis
457
458
  // overflows the main axis.
458
459
  w.every((P) => X(P.placement) === b ? P.overflows[0] > 0 : !0)))
459
460
  return {
460
461
  data: {
461
- index: S,
462
+ index: L,
462
463
  overflows: w
463
464
  },
464
465
  reset: {
465
466
  placement: N
466
467
  }
467
468
  };
468
- let z = (D = w.filter(($) => $.overflows[0] <= 0).sort(($, P) => $.overflows[1] - P.overflows[1])[0]) == null ? void 0 : D.placement;
469
+ let z = (R = w.filter(($) => $.overflows[0] <= 0).sort(($, P) => $.overflows[1] - P.overflows[1])[0]) == null ? void 0 : R.placement;
469
470
  if (!z)
470
471
  switch (f) {
471
472
  case "bestFit": {
472
473
  var H;
473
474
  const $ = (H = w.filter((P) => {
474
- if (O) {
475
- const tt = X(P.placement);
476
- return tt === b || // Create a bias to the `y` side axis due to horizontal
475
+ if (C) {
476
+ const et = X(P.placement);
477
+ return et === b || // Create a bias to the `y` side axis due to horizontal
477
478
  // reading directions favoring greater width.
478
- tt === "y";
479
+ et === "y";
479
480
  }
480
481
  return !0;
481
- }).map((P) => [P.placement, P.overflows.filter((tt) => tt > 0).reduce((tt, je) => tt + je, 0)]).sort((P, tt) => P[1] - tt[1])[0]) == null ? void 0 : H[0];
482
+ }).map((P) => [P.placement, P.overflows.filter((et) => et > 0).reduce((et, We) => et + We, 0)]).sort((P, et) => P[1] - et[1])[0]) == null ? void 0 : H[0];
482
483
  $ && (z = $);
483
484
  break;
484
485
  }
@@ -506,9 +507,9 @@ function Zt(t, e) {
506
507
  };
507
508
  }
508
509
  function Qt(t) {
509
- return _e.some((e) => t[e] >= 0);
510
+ return Oe.some((e) => t[e] >= 0);
510
511
  }
511
- const xi = function(t) {
512
+ const Ti = function(t) {
512
513
  return t === void 0 && (t = {}), {
513
514
  name: "hide",
514
515
  options: t,
@@ -519,7 +520,7 @@ const xi = function(t) {
519
520
  } = e, {
520
521
  strategy: o = "referenceHidden",
521
522
  ...s
522
- } = Z(t, e);
523
+ } = Q(t, e);
523
524
  switch (o) {
524
525
  case "referenceHidden": {
525
526
  const r = await i.detectOverflow(e, {
@@ -552,7 +553,7 @@ const xi = function(t) {
552
553
  };
553
554
  };
554
555
  function Ee(t) {
555
- const e = G(...t.map((s) => s.left)), n = G(...t.map((s) => s.top)), i = R(...t.map((s) => s.right)), o = R(...t.map((s) => s.bottom));
556
+ const e = J(...t.map((s) => s.left)), n = J(...t.map((s) => s.top)), i = M(...t.map((s) => s.right)), o = M(...t.map((s) => s.bottom));
556
557
  return {
557
558
  x: e,
558
559
  y: n,
@@ -560,16 +561,16 @@ function Ee(t) {
560
561
  height: o - n
561
562
  };
562
563
  }
563
- function Ti(t) {
564
+ function _i(t) {
564
565
  const e = t.slice().sort((o, s) => o.y - s.y), n = [];
565
566
  let i = null;
566
567
  for (let o = 0; o < e.length; o++) {
567
568
  const s = e[o];
568
569
  !i || s.y - i.y > i.height / 2 ? n.push([s]) : n[n.length - 1].push(s), i = s;
569
570
  }
570
- return n.map((o) => dt(Ee(o)));
571
+ return n.map((o) => lt(Ee(o)));
571
572
  }
572
- const _i = function(t) {
573
+ const Oi = function(t) {
573
574
  return t === void 0 && (t = {}), {
574
575
  name: "inline",
575
576
  options: t,
@@ -584,16 +585,16 @@ const _i = function(t) {
584
585
  padding: a = 2,
585
586
  x: l,
586
587
  y: u
587
- } = Z(t, e), d = Array.from(await (s.getClientRects == null ? void 0 : s.getClientRects(i.reference)) || []), c = Ti(d), h = dt(Ee(d)), f = $t(a);
588
+ } = Q(t, e), d = Array.from(await (s.getClientRects == null ? void 0 : s.getClientRects(i.reference)) || []), c = _i(d), h = lt(Ee(d)), f = $t(a);
588
589
  function p() {
589
590
  if (c.length === 2 && c[0].left > c[1].right && l != null && u != null)
590
591
  return c.find((g) => l > g.left - f.left && l < g.right + f.right && u > g.top - f.top && u < g.bottom + f.bottom) || h;
591
592
  if (c.length >= 2) {
592
593
  if (X(n) === "y") {
593
- const w = c[0], k = c[c.length - 1], D = F(n) === "top", H = w.top, S = k.bottom, N = D ? w.left : k.left, z = D ? w.right : k.right, $ = z - N, P = S - H;
594
+ const w = c[0], S = c[c.length - 1], R = F(n) === "top", H = w.top, L = S.bottom, N = R ? w.left : S.left, z = R ? w.right : S.right, $ = z - N, P = L - H;
594
595
  return {
595
596
  top: H,
596
- bottom: S,
597
+ bottom: L,
597
598
  left: N,
598
599
  right: z,
599
600
  width: $,
@@ -602,16 +603,16 @@ const _i = function(t) {
602
603
  y: H
603
604
  };
604
605
  }
605
- const g = F(n) === "left", y = R(...c.map((w) => w.right)), b = G(...c.map((w) => w.left)), v = c.filter((w) => g ? w.left === b : w.right === y), x = v[0].top, E = v[v.length - 1].bottom, O = b, L = y, V = L - O, I = E - x;
606
+ const g = F(n) === "left", y = M(...c.map((w) => w.right)), b = J(...c.map((w) => w.left)), v = c.filter((w) => g ? w.left === b : w.right === y), _ = v[0].top, k = v[v.length - 1].bottom, C = b, A = y, V = A - C, D = k - _;
606
607
  return {
607
- top: x,
608
- bottom: E,
609
- left: O,
610
- right: L,
608
+ top: _,
609
+ bottom: k,
610
+ left: C,
611
+ right: A,
611
612
  width: V,
612
- height: I,
613
- x: O,
614
- y: x
613
+ height: D,
614
+ x: C,
615
+ y: _
615
616
  };
616
617
  }
617
618
  return h;
@@ -630,13 +631,13 @@ const _i = function(t) {
630
631
  } : {};
631
632
  }
632
633
  };
633
- }, Oi = /* @__PURE__ */ new Set(["left", "top"]);
634
- async function Ci(t, e) {
634
+ }, Ci = /* @__PURE__ */ new Set(["left", "top"]);
635
+ async function ki(t, e) {
635
636
  const {
636
637
  placement: n,
637
638
  platform: i,
638
639
  elements: o
639
- } = t, s = await (i.isRTL == null ? void 0 : i.isRTL(o.floating)), r = F(n), a = j(n), l = X(n) === "y", u = Oi.has(r) ? -1 : 1, d = s && l ? -1 : 1, c = Z(e, t);
640
+ } = t, s = await (i.isRTL == null ? void 0 : i.isRTL(o.floating)), r = F(n), a = j(n), l = X(n) === "y", u = Ci.has(r) ? -1 : 1, d = s && l ? -1 : 1, c = Q(e, t);
640
641
  let {
641
642
  mainAxis: h,
642
643
  crossAxis: f,
@@ -669,7 +670,7 @@ const Ei = function(t) {
669
670
  y: s,
670
671
  placement: r,
671
672
  middlewareData: a
672
- } = e, l = await Ci(e, t);
673
+ } = e, l = await ki(e, t);
673
674
  return r === ((n = a.offset) == null ? void 0 : n.placement) && (i = a.arrow) != null && i.alignmentOffset ? {} : {
674
675
  x: o + l.x,
675
676
  y: s + l.y,
@@ -680,7 +681,7 @@ const Ei = function(t) {
680
681
  };
681
682
  }
682
683
  };
683
- }, ki = function(t) {
684
+ }, Si = function(t) {
684
685
  return t === void 0 && (t = {}), {
685
686
  name: "shift",
686
687
  options: t,
@@ -706,18 +707,18 @@ const Ei = function(t) {
706
707
  }
707
708
  },
708
709
  ...u
709
- } = Z(t, e), d = {
710
+ } = Q(t, e), d = {
710
711
  x: n,
711
712
  y: i
712
- }, c = await s.detectOverflow(e, u), h = X(F(o)), f = Oe(h);
713
+ }, c = await s.detectOverflow(e, u), h = X(F(o)), f = Ce(h);
713
714
  let p = d[f], m = d[h];
714
715
  if (r) {
715
- const y = f === "y" ? "top" : "left", b = f === "y" ? "bottom" : "right", v = p + c[y], x = p - c[b];
716
- p = Lt(v, p, x);
716
+ const y = f === "y" ? "top" : "left", b = f === "y" ? "bottom" : "right", v = p + c[y], _ = p - c[b];
717
+ p = Lt(v, p, _);
717
718
  }
718
719
  if (a) {
719
- const y = h === "y" ? "top" : "left", b = h === "y" ? "bottom" : "right", v = m + c[y], x = m - c[b];
720
- m = Lt(v, m, x);
720
+ const y = h === "y" ? "top" : "left", b = h === "y" ? "bottom" : "right", v = m + c[y], _ = m - c[b];
721
+ m = Lt(v, m, _);
721
722
  }
722
723
  const g = l.fn({
723
724
  ...e,
@@ -737,7 +738,7 @@ const Ei = function(t) {
737
738
  };
738
739
  }
739
740
  };
740
- }, Si = function(t) {
741
+ }, Li = function(t) {
741
742
  return t === void 0 && (t = {}), {
742
743
  name: "size",
743
744
  options: t,
@@ -752,25 +753,25 @@ const Ei = function(t) {
752
753
  apply: l = () => {
753
754
  },
754
755
  ...u
755
- } = Z(t, e), d = await r.detectOverflow(e, u), c = F(o), h = j(o), f = X(o) === "y", {
756
+ } = Q(t, e), d = await r.detectOverflow(e, u), c = F(o), h = j(o), f = X(o) === "y", {
756
757
  width: p,
757
758
  height: m
758
759
  } = s.floating;
759
760
  let g, y;
760
761
  c === "top" || c === "bottom" ? (g = c, y = h === (await (r.isRTL == null ? void 0 : r.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (y = c, g = h === "end" ? "top" : "bottom");
761
- const b = m - d.top - d.bottom, v = p - d.left - d.right, x = G(m - d[g], b), E = G(p - d[y], v), O = !e.middlewareData.shift;
762
- let L = x, V = E;
763
- if ((n = e.middlewareData.shift) != null && n.enabled.x && (V = v), (i = e.middlewareData.shift) != null && i.enabled.y && (L = b), O && !h) {
764
- const w = R(d.left, 0), k = R(d.right, 0), D = R(d.top, 0), H = R(d.bottom, 0);
765
- f ? V = p - 2 * (w !== 0 || k !== 0 ? w + k : R(d.left, d.right)) : L = m - 2 * (D !== 0 || H !== 0 ? D + H : R(d.top, d.bottom));
762
+ const b = m - d.top - d.bottom, v = p - d.left - d.right, _ = J(m - d[g], b), k = J(p - d[y], v), C = !e.middlewareData.shift;
763
+ let A = _, V = k;
764
+ if ((n = e.middlewareData.shift) != null && n.enabled.x && (V = v), (i = e.middlewareData.shift) != null && i.enabled.y && (A = b), C && !h) {
765
+ const w = M(d.left, 0), S = M(d.right, 0), R = M(d.top, 0), H = M(d.bottom, 0);
766
+ f ? V = p - 2 * (w !== 0 || S !== 0 ? w + S : M(d.left, d.right)) : A = m - 2 * (R !== 0 || H !== 0 ? R + H : M(d.top, d.bottom));
766
767
  }
767
768
  await l({
768
769
  ...e,
769
770
  availableWidth: V,
770
- availableHeight: L
771
+ availableHeight: A
771
772
  });
772
- const I = await r.getDimensions(a.floating);
773
- return p !== I.width || m !== I.height ? {
773
+ const D = await r.getDimensions(a.floating);
774
+ return p !== D.width || m !== D.height ? {
774
775
  reset: {
775
776
  rects: !0
776
777
  }
@@ -781,30 +782,30 @@ const Ei = function(t) {
781
782
  function Tt() {
782
783
  return typeof window < "u";
783
784
  }
784
- function ht(t) {
785
- return ke(t) ? (t.nodeName || "").toLowerCase() : "#document";
785
+ function ut(t) {
786
+ return Se(t) ? (t.nodeName || "").toLowerCase() : "#document";
786
787
  }
787
788
  function U(t) {
788
789
  var e;
789
790
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
790
791
  }
791
- function Q(t) {
792
+ function tt(t) {
792
793
  var e;
793
- return (e = (ke(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
794
+ return (e = (Se(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
794
795
  }
795
- function ke(t) {
796
+ function Se(t) {
796
797
  return Tt() ? t instanceof Node || t instanceof U(t).Node : !1;
797
798
  }
798
799
  function W(t) {
799
800
  return Tt() ? t instanceof Element || t instanceof U(t).Element : !1;
800
801
  }
801
- function J(t) {
802
+ function Z(t) {
802
803
  return Tt() ? t instanceof HTMLElement || t instanceof U(t).HTMLElement : !1;
803
804
  }
804
805
  function te(t) {
805
806
  return !Tt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof U(t).ShadowRoot;
806
807
  }
807
- const Li = /* @__PURE__ */ new Set(["inline", "contents"]);
808
+ const Ai = /* @__PURE__ */ new Set(["inline", "contents"]);
808
809
  function wt(t) {
809
810
  const {
810
811
  overflow: e,
@@ -812,15 +813,15 @@ function wt(t) {
812
813
  overflowY: i,
813
814
  display: o
814
815
  } = K(t);
815
- return /auto|scroll|overlay|hidden|clip/.test(e + i + n) && !Li.has(o);
816
+ return /auto|scroll|overlay|hidden|clip/.test(e + i + n) && !Ai.has(o);
816
817
  }
817
- const Ai = /* @__PURE__ */ new Set(["table", "td", "th"]);
818
- function Ii(t) {
819
- return Ai.has(ht(t));
818
+ const Ii = /* @__PURE__ */ new Set(["table", "td", "th"]);
819
+ function Di(t) {
820
+ return Ii.has(ut(t));
820
821
  }
821
- const Di = [":popover-open", ":modal"];
822
+ const Ri = [":popover-open", ":modal"];
822
823
  function _t(t) {
823
- return Di.some((e) => {
824
+ return Ri.some((e) => {
824
825
  try {
825
826
  return t.matches(e);
826
827
  } catch {
@@ -828,28 +829,28 @@ function _t(t) {
828
829
  }
829
830
  });
830
831
  }
831
- const Ri = ["transform", "translate", "scale", "rotate", "perspective"], Mi = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Hi = ["paint", "layout", "strict", "content"];
832
+ const Mi = ["transform", "translate", "scale", "rotate", "perspective"], Hi = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Bi = ["paint", "layout", "strict", "content"];
832
833
  function Pt(t) {
833
834
  const e = Ut(), n = W(t) ? K(t) : t;
834
- return Ri.some((i) => n[i] ? n[i] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || Mi.some((i) => (n.willChange || "").includes(i)) || Hi.some((i) => (n.contain || "").includes(i));
835
+ return Mi.some((i) => n[i] ? n[i] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || Hi.some((i) => (n.willChange || "").includes(i)) || Bi.some((i) => (n.contain || "").includes(i));
835
836
  }
836
- function Bi(t) {
837
- let e = ot(t);
838
- for (; J(e) && !ut(e); ) {
837
+ function $i(t) {
838
+ let e = it(t);
839
+ for (; Z(e) && !ct(e); ) {
839
840
  if (Pt(e))
840
841
  return e;
841
842
  if (_t(e))
842
843
  return null;
843
- e = ot(e);
844
+ e = it(e);
844
845
  }
845
846
  return null;
846
847
  }
847
848
  function Ut() {
848
849
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
849
850
  }
850
- const $i = /* @__PURE__ */ new Set(["html", "body", "#document"]);
851
- function ut(t) {
852
- return $i.has(ht(t));
851
+ const Pi = /* @__PURE__ */ new Set(["html", "body", "#document"]);
852
+ function ct(t) {
853
+ return Pi.has(ut(t));
853
854
  }
854
855
  function K(t) {
855
856
  return U(t).getComputedStyle(t);
@@ -863,86 +864,86 @@ function Ot(t) {
863
864
  scrollTop: t.scrollY
864
865
  };
865
866
  }
866
- function ot(t) {
867
- if (ht(t) === "html")
867
+ function it(t) {
868
+ if (ut(t) === "html")
868
869
  return t;
869
870
  const e = (
870
871
  // Step into the shadow DOM of the parent of a slotted node.
871
872
  t.assignedSlot || // DOM Element detected.
872
873
  t.parentNode || // ShadowRoot detected.
873
874
  te(t) && t.host || // Fallback.
874
- Q(t)
875
+ tt(t)
875
876
  );
876
877
  return te(e) ? e.host : e;
877
878
  }
878
- function Se(t) {
879
- const e = ot(t);
880
- return ut(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : J(e) && wt(e) ? e : Se(e);
879
+ function Le(t) {
880
+ const e = it(t);
881
+ return ct(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Z(e) && wt(e) ? e : Le(e);
881
882
  }
882
- function Le(t, e, n) {
883
+ function Ae(t, e, n) {
883
884
  var i;
884
885
  e === void 0 && (e = []);
885
- const o = Se(t), s = o === ((i = t.ownerDocument) == null ? void 0 : i.body), r = U(o);
886
- return s ? e.concat(r, r.visualViewport || [], wt(o) ? o : [], []) : e.concat(o, Le(o, []));
886
+ const o = Le(t), s = o === ((i = t.ownerDocument) == null ? void 0 : i.body), r = U(o);
887
+ return s ? e.concat(r, r.visualViewport || [], wt(o) ? o : [], []) : e.concat(o, Ae(o, []));
887
888
  }
888
889
  function ee(t) {
889
890
  return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
890
891
  }
891
- function Ae(t) {
892
+ function Ie(t) {
892
893
  const e = K(t);
893
894
  let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
894
- const o = J(t), s = o ? t.offsetWidth : n, r = o ? t.offsetHeight : i, a = bt(n) !== s || bt(i) !== r;
895
+ const o = Z(t), s = o ? t.offsetWidth : n, r = o ? t.offsetHeight : i, a = bt(n) !== s || bt(i) !== r;
895
896
  return a && (n = s, i = r), {
896
897
  width: n,
897
898
  height: i,
898
899
  $: a
899
900
  };
900
901
  }
901
- function Ie(t) {
902
+ function De(t) {
902
903
  return W(t) ? t : t.contextElement;
903
904
  }
904
- function ct(t) {
905
- const e = Ie(t);
906
- if (!J(e))
907
- return Y(1);
905
+ function at(t) {
906
+ const e = De(t);
907
+ if (!Z(e))
908
+ return G(1);
908
909
  const n = e.getBoundingClientRect(), {
909
910
  width: i,
910
911
  height: o,
911
912
  $: s
912
- } = Ae(e);
913
+ } = Ie(e);
913
914
  let r = (s ? bt(n.width) : n.width) / i, a = (s ? bt(n.height) : n.height) / o;
914
915
  return (!r || !Number.isFinite(r)) && (r = 1), (!a || !Number.isFinite(a)) && (a = 1), {
915
916
  x: r,
916
917
  y: a
917
918
  };
918
919
  }
919
- const Pi = /* @__PURE__ */ Y(0);
920
- function De(t) {
920
+ const Ui = /* @__PURE__ */ G(0);
921
+ function Re(t) {
921
922
  const e = U(t);
922
- return !Ut() || !e.visualViewport ? Pi : {
923
+ return !Ut() || !e.visualViewport ? Ui : {
923
924
  x: e.visualViewport.offsetLeft,
924
925
  y: e.visualViewport.offsetTop
925
926
  };
926
927
  }
927
- function Ui(t, e, n) {
928
+ function Vi(t, e, n) {
928
929
  return e === void 0 && (e = !1), !n || e && n !== U(t) ? !1 : e;
929
930
  }
930
931
  function ft(t, e, n, i) {
931
932
  e === void 0 && (e = !1), n === void 0 && (n = !1);
932
- const o = t.getBoundingClientRect(), s = Ie(t);
933
- let r = Y(1);
934
- e && (i ? W(i) && (r = ct(i)) : r = ct(t));
935
- const a = Ui(s, n, i) ? De(s) : Y(0);
933
+ const o = t.getBoundingClientRect(), s = De(t);
934
+ let r = G(1);
935
+ e && (i ? W(i) && (r = at(i)) : r = at(t));
936
+ const a = Vi(s, n, i) ? Re(s) : G(0);
936
937
  let l = (o.left + a.x) / r.x, u = (o.top + a.y) / r.y, d = o.width / r.x, c = o.height / r.y;
937
938
  if (s) {
938
939
  const h = U(s), f = i && W(i) ? U(i) : i;
939
940
  let p = h, m = ee(p);
940
941
  for (; m && i && f !== p; ) {
941
- const g = ct(m), y = m.getBoundingClientRect(), b = K(m), v = y.left + (m.clientLeft + parseFloat(b.paddingLeft)) * g.x, x = y.top + (m.clientTop + parseFloat(b.paddingTop)) * g.y;
942
- l *= g.x, u *= g.y, d *= g.x, c *= g.y, l += v, u += x, p = U(m), m = ee(p);
942
+ const g = at(m), y = m.getBoundingClientRect(), b = K(m), v = y.left + (m.clientLeft + parseFloat(b.paddingLeft)) * g.x, _ = y.top + (m.clientTop + parseFloat(b.paddingTop)) * g.y;
943
+ l *= g.x, u *= g.y, d *= g.x, c *= g.y, l += v, u += _, p = U(m), m = ee(p);
943
944
  }
944
945
  }
945
- return dt({
946
+ return lt({
946
947
  width: d,
947
948
  height: c,
948
949
  x: l,
@@ -951,35 +952,35 @@ function ft(t, e, n, i) {
951
952
  }
952
953
  function Ct(t, e) {
953
954
  const n = Ot(t).scrollLeft;
954
- return e ? e.left + n : ft(Q(t)).left + n;
955
+ return e ? e.left + n : ft(tt(t)).left + n;
955
956
  }
956
- function Re(t, e) {
957
+ function Me(t, e) {
957
958
  const n = t.getBoundingClientRect(), i = n.left + e.scrollLeft - Ct(t, n), o = n.top + e.scrollTop;
958
959
  return {
959
960
  x: i,
960
961
  y: o
961
962
  };
962
963
  }
963
- function Vi(t) {
964
+ function zi(t) {
964
965
  let {
965
966
  elements: e,
966
967
  rect: n,
967
968
  offsetParent: i,
968
969
  strategy: o
969
970
  } = t;
970
- const s = o === "fixed", r = Q(i), a = e ? _t(e.floating) : !1;
971
+ const s = o === "fixed", r = tt(i), a = e ? _t(e.floating) : !1;
971
972
  if (i === r || a && s)
972
973
  return n;
973
974
  let l = {
974
975
  scrollLeft: 0,
975
976
  scrollTop: 0
976
- }, u = Y(1);
977
- const d = Y(0), c = J(i);
978
- if ((c || !c && !s) && ((ht(i) !== "body" || wt(r)) && (l = Ot(i)), J(i))) {
977
+ }, u = G(1);
978
+ const d = G(0), c = Z(i);
979
+ if ((c || !c && !s) && ((ut(i) !== "body" || wt(r)) && (l = Ot(i)), Z(i))) {
979
980
  const f = ft(i);
980
- u = ct(i), d.x = f.x + i.clientLeft, d.y = f.y + i.clientTop;
981
+ u = at(i), d.x = f.x + i.clientLeft, d.y = f.y + i.clientTop;
981
982
  }
982
- const h = r && !c && !s ? Re(r, l) : Y(0);
983
+ const h = r && !c && !s ? Me(r, l) : G(0);
983
984
  return {
984
985
  width: n.width * u.x,
985
986
  height: n.height * u.y,
@@ -987,14 +988,14 @@ function Vi(t) {
987
988
  y: n.y * u.y - l.scrollTop * u.y + d.y + h.y
988
989
  };
989
990
  }
990
- function zi(t) {
991
+ function Fi(t) {
991
992
  return Array.from(t.getClientRects());
992
993
  }
993
- function Fi(t) {
994
- const e = Q(t), n = Ot(t), i = t.ownerDocument.body, o = R(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), s = R(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
994
+ function Ni(t) {
995
+ const e = tt(t), n = Ot(t), i = t.ownerDocument.body, o = M(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), s = M(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
995
996
  let r = -n.scrollLeft + Ct(t);
996
997
  const a = -n.scrollTop;
997
- return K(i).direction === "rtl" && (r += R(e.clientWidth, i.clientWidth) - o), {
998
+ return K(i).direction === "rtl" && (r += M(e.clientWidth, i.clientWidth) - o), {
998
999
  width: o,
999
1000
  height: s,
1000
1001
  x: r,
@@ -1002,8 +1003,8 @@ function Fi(t) {
1002
1003
  };
1003
1004
  }
1004
1005
  const ne = 25;
1005
- function Ni(t, e) {
1006
- const n = U(t), i = Q(t), o = n.visualViewport;
1006
+ function ji(t, e) {
1007
+ const n = U(t), i = tt(t), o = n.visualViewport;
1007
1008
  let s = i.clientWidth, r = i.clientHeight, a = 0, l = 0;
1008
1009
  if (o) {
1009
1010
  s = o.width, r = o.height;
@@ -1022,9 +1023,9 @@ function Ni(t, e) {
1022
1023
  y: l
1023
1024
  };
1024
1025
  }
1025
- const ji = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1026
- function Wi(t, e) {
1027
- const n = ft(t, !0, e === "fixed"), i = n.top + t.clientTop, o = n.left + t.clientLeft, s = J(t) ? ct(t) : Y(1), r = t.clientWidth * s.x, a = t.clientHeight * s.y, l = o * s.x, u = i * s.y;
1026
+ const Wi = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1027
+ function Ki(t, e) {
1028
+ const n = ft(t, !0, e === "fixed"), i = n.top + t.clientTop, o = n.left + t.clientLeft, s = Z(t) ? at(t) : G(1), r = t.clientWidth * s.x, a = t.clientHeight * s.y, l = o * s.x, u = i * s.y;
1028
1029
  return {
1029
1030
  width: r,
1030
1031
  height: a,
@@ -1035,13 +1036,13 @@ function Wi(t, e) {
1035
1036
  function ie(t, e, n) {
1036
1037
  let i;
1037
1038
  if (e === "viewport")
1038
- i = Ni(t, n);
1039
+ i = ji(t, n);
1039
1040
  else if (e === "document")
1040
- i = Fi(Q(t));
1041
+ i = Ni(tt(t));
1041
1042
  else if (W(e))
1042
- i = Wi(e, n);
1043
+ i = Ki(e, n);
1043
1044
  else {
1044
- const o = De(t);
1045
+ const o = Re(t);
1045
1046
  i = {
1046
1047
  x: e.x - o.x,
1047
1048
  y: e.y - o.y,
@@ -1049,35 +1050,35 @@ function ie(t, e, n) {
1049
1050
  height: e.height
1050
1051
  };
1051
1052
  }
1052
- return dt(i);
1053
+ return lt(i);
1053
1054
  }
1054
- function Me(t, e) {
1055
- const n = ot(t);
1056
- return n === e || !W(n) || ut(n) ? !1 : K(n).position === "fixed" || Me(n, e);
1055
+ function He(t, e) {
1056
+ const n = it(t);
1057
+ return n === e || !W(n) || ct(n) ? !1 : K(n).position === "fixed" || He(n, e);
1057
1058
  }
1058
- function Ki(t, e) {
1059
+ function qi(t, e) {
1059
1060
  const n = e.get(t);
1060
1061
  if (n)
1061
1062
  return n;
1062
- let i = Le(t, []).filter((a) => W(a) && ht(a) !== "body"), o = null;
1063
+ let i = Ae(t, []).filter((a) => W(a) && ut(a) !== "body"), o = null;
1063
1064
  const s = K(t).position === "fixed";
1064
- let r = s ? ot(t) : t;
1065
- for (; W(r) && !ut(r); ) {
1065
+ let r = s ? it(t) : t;
1066
+ for (; W(r) && !ct(r); ) {
1066
1067
  const a = K(r), l = Pt(r);
1067
- !l && a.position === "fixed" && (o = null), (s ? !l && !o : !l && a.position === "static" && !!o && ji.has(o.position) || wt(r) && !l && Me(t, r)) ? i = i.filter((d) => d !== r) : o = a, r = ot(r);
1068
+ !l && a.position === "fixed" && (o = null), (s ? !l && !o : !l && a.position === "static" && !!o && Wi.has(o.position) || wt(r) && !l && He(t, r)) ? i = i.filter((d) => d !== r) : o = a, r = it(r);
1068
1069
  }
1069
1070
  return e.set(t, i), i;
1070
1071
  }
1071
- function qi(t) {
1072
+ function Xi(t) {
1072
1073
  let {
1073
1074
  element: e,
1074
1075
  boundary: n,
1075
1076
  rootBoundary: i,
1076
1077
  strategy: o
1077
1078
  } = t;
1078
- const r = [...n === "clippingAncestors" ? _t(e) ? [] : Ki(e, this._c) : [].concat(n), i], a = r[0], l = r.reduce((u, d) => {
1079
+ const r = [...n === "clippingAncestors" ? _t(e) ? [] : qi(e, this._c) : [].concat(n), i], a = r[0], l = r.reduce((u, d) => {
1079
1080
  const c = ie(e, d, o);
1080
- return u.top = R(c.top, u.top), u.right = G(c.right, u.right), u.bottom = G(c.bottom, u.bottom), u.left = R(c.left, u.left), u;
1081
+ return u.top = M(c.top, u.top), u.right = J(c.right, u.right), u.bottom = J(c.bottom, u.bottom), u.left = M(c.left, u.left), u;
1081
1082
  }, ie(e, a, o));
1082
1083
  return {
1083
1084
  width: l.right - l.left,
@@ -1086,33 +1087,33 @@ function qi(t) {
1086
1087
  y: l.top
1087
1088
  };
1088
1089
  }
1089
- function Xi(t) {
1090
+ function Yi(t) {
1090
1091
  const {
1091
1092
  width: e,
1092
1093
  height: n
1093
- } = Ae(t);
1094
+ } = Ie(t);
1094
1095
  return {
1095
1096
  width: e,
1096
1097
  height: n
1097
1098
  };
1098
1099
  }
1099
- function Yi(t, e, n) {
1100
- const i = J(e), o = Q(e), s = n === "fixed", r = ft(t, !0, s, e);
1100
+ function Gi(t, e, n) {
1101
+ const i = Z(e), o = tt(e), s = n === "fixed", r = ft(t, !0, s, e);
1101
1102
  let a = {
1102
1103
  scrollLeft: 0,
1103
1104
  scrollTop: 0
1104
1105
  };
1105
- const l = Y(0);
1106
+ const l = G(0);
1106
1107
  function u() {
1107
1108
  l.x = Ct(o);
1108
1109
  }
1109
1110
  if (i || !i && !s)
1110
- if ((ht(e) !== "body" || wt(o)) && (a = Ot(e)), i) {
1111
+ if ((ut(e) !== "body" || wt(o)) && (a = Ot(e)), i) {
1111
1112
  const f = ft(e, !0, s, e);
1112
1113
  l.x = f.x + e.clientLeft, l.y = f.y + e.clientTop;
1113
1114
  } else o && u();
1114
1115
  s && !i && o && u();
1115
- const d = o && !i && !s ? Re(o, a) : Y(0), c = r.left + a.scrollLeft - l.x - d.x, h = r.top + a.scrollTop - l.y - d.y;
1116
+ const d = o && !i && !s ? Me(o, a) : G(0), c = r.left + a.scrollLeft - l.x - d.x, h = r.top + a.scrollTop - l.y - d.y;
1116
1117
  return {
1117
1118
  x: c,
1118
1119
  y: h,
@@ -1120,39 +1121,39 @@ function Yi(t, e, n) {
1120
1121
  height: r.height
1121
1122
  };
1122
1123
  }
1123
- function kt(t) {
1124
+ function Et(t) {
1124
1125
  return K(t).position === "static";
1125
1126
  }
1126
1127
  function oe(t, e) {
1127
- if (!J(t) || K(t).position === "fixed")
1128
+ if (!Z(t) || K(t).position === "fixed")
1128
1129
  return null;
1129
1130
  if (e)
1130
1131
  return e(t);
1131
1132
  let n = t.offsetParent;
1132
- return Q(t) === n && (n = n.ownerDocument.body), n;
1133
+ return tt(t) === n && (n = n.ownerDocument.body), n;
1133
1134
  }
1134
- function He(t, e) {
1135
+ function Be(t, e) {
1135
1136
  const n = U(t);
1136
1137
  if (_t(t))
1137
1138
  return n;
1138
- if (!J(t)) {
1139
- let o = ot(t);
1140
- for (; o && !ut(o); ) {
1141
- if (W(o) && !kt(o))
1139
+ if (!Z(t)) {
1140
+ let o = it(t);
1141
+ for (; o && !ct(o); ) {
1142
+ if (W(o) && !Et(o))
1142
1143
  return o;
1143
- o = ot(o);
1144
+ o = it(o);
1144
1145
  }
1145
1146
  return n;
1146
1147
  }
1147
1148
  let i = oe(t, e);
1148
- for (; i && Ii(i) && kt(i); )
1149
+ for (; i && Di(i) && Et(i); )
1149
1150
  i = oe(i, e);
1150
- return i && ut(i) && kt(i) && !Pt(i) ? n : i || Bi(t) || n;
1151
+ return i && ct(i) && Et(i) && !Pt(i) ? n : i || $i(t) || n;
1151
1152
  }
1152
- const Gi = async function(t) {
1153
- const e = this.getOffsetParent || He, n = this.getDimensions, i = await n(t.floating);
1153
+ const Ji = async function(t) {
1154
+ const e = this.getOffsetParent || Be, n = this.getDimensions, i = await n(t.floating);
1154
1155
  return {
1155
- reference: Yi(t.reference, await e(t.floating), t.strategy),
1156
+ reference: Gi(t.reference, await e(t.floating), t.strategy),
1156
1157
  floating: {
1157
1158
  x: 0,
1158
1159
  y: 0,
@@ -1161,38 +1162,38 @@ const Gi = async function(t) {
1161
1162
  }
1162
1163
  };
1163
1164
  };
1164
- function Ji(t) {
1165
+ function Zi(t) {
1165
1166
  return K(t).direction === "rtl";
1166
1167
  }
1167
- const Zi = {
1168
- convertOffsetParentRelativeRectToViewportRelativeRect: Vi,
1169
- getDocumentElement: Q,
1170
- getClippingRect: qi,
1171
- getOffsetParent: He,
1172
- getElementRects: Gi,
1173
- getClientRects: zi,
1174
- getDimensions: Xi,
1175
- getScale: ct,
1168
+ const Qi = {
1169
+ convertOffsetParentRelativeRectToViewportRelativeRect: zi,
1170
+ getDocumentElement: tt,
1171
+ getClippingRect: Xi,
1172
+ getOffsetParent: Be,
1173
+ getElementRects: Ji,
1174
+ getClientRects: Fi,
1175
+ getDimensions: Yi,
1176
+ getScale: at,
1176
1177
  isElement: W,
1177
- isRTL: Ji
1178
- }, Vt = Ei, Be = bi, zt = ki, Ft = vi, $e = Si, Pe = xi, Ue = yi, Ve = _i, Nt = (t, e, n) => {
1178
+ isRTL: Zi
1179
+ }, Vt = Ei, $e = vi, zt = Si, Ft = xi, Pe = Li, Ue = Ti, Ve = wi, ze = Oi, Nt = (t, e, n) => {
1179
1180
  const i = /* @__PURE__ */ new Map(), o = {
1180
- platform: Zi,
1181
+ platform: Qi,
1181
1182
  ...n
1182
1183
  }, s = {
1183
1184
  ...o.platform,
1184
1185
  _c: i
1185
1186
  };
1186
- return gi(t, e, {
1187
+ return yi(t, e, {
1187
1188
  ...o,
1188
1189
  platform: s
1189
1190
  });
1190
1191
  };
1191
- function Qi(t, e) {
1192
+ function to(t, e) {
1192
1193
  const n = Math.min(t.top, e.top), i = Math.max(t.bottom, e.bottom), o = Math.min(t.left, e.left), r = Math.max(t.right, e.right) - o, a = i - n, l = o, u = n;
1193
1194
  return new DOMRect(l, u, r, a);
1194
1195
  }
1195
- var to = class {
1196
+ var eo = class {
1196
1197
  constructor({
1197
1198
  editor: t,
1198
1199
  element: e,
@@ -1220,7 +1221,7 @@ var to = class {
1220
1221
  onUpdate: void 0,
1221
1222
  onDestroy: void 0
1222
1223
  }, this.shouldShow = ({ view: d, state: c, from: h, to: f }) => {
1223
- const { doc: p, selection: m } = c, { empty: g } = m, y = !p.textBetween(h, f).length && Xe(c.selection), b = this.element.contains(document.activeElement);
1224
+ const { doc: p, selection: m } = c, { empty: g } = m, y = !p.textBetween(h, f).length && Ye(c.selection), b = this.element.contains(document.activeElement);
1224
1225
  return !(!(d.hasFocus() || b) || g || y || !this.editor.isEditable);
1225
1226
  }, this.mousedownHandler = () => {
1226
1227
  this.preventHide = !0;
@@ -1273,12 +1274,12 @@ var to = class {
1273
1274
  zt(typeof this.floatingUIOptions.shift != "boolean" ? this.floatingUIOptions.shift : void 0)
1274
1275
  ), this.floatingUIOptions.offset && t.push(
1275
1276
  Vt(typeof this.floatingUIOptions.offset != "boolean" ? this.floatingUIOptions.offset : void 0)
1276
- ), this.floatingUIOptions.arrow && t.push(Ue(this.floatingUIOptions.arrow)), this.floatingUIOptions.size && t.push($e(typeof this.floatingUIOptions.size != "boolean" ? this.floatingUIOptions.size : void 0)), this.floatingUIOptions.autoPlacement && t.push(
1277
- Be(
1277
+ ), this.floatingUIOptions.arrow && t.push(Ve(this.floatingUIOptions.arrow)), this.floatingUIOptions.size && t.push(Pe(typeof this.floatingUIOptions.size != "boolean" ? this.floatingUIOptions.size : void 0)), this.floatingUIOptions.autoPlacement && t.push(
1278
+ $e(
1278
1279
  typeof this.floatingUIOptions.autoPlacement != "boolean" ? this.floatingUIOptions.autoPlacement : void 0
1279
1280
  )
1280
- ), this.floatingUIOptions.hide && t.push(Pe(typeof this.floatingUIOptions.hide != "boolean" ? this.floatingUIOptions.hide : void 0)), this.floatingUIOptions.inline && t.push(
1281
- Ve(typeof this.floatingUIOptions.inline != "boolean" ? this.floatingUIOptions.inline : void 0)
1281
+ ), this.floatingUIOptions.hide && t.push(Ue(typeof this.floatingUIOptions.hide != "boolean" ? this.floatingUIOptions.hide : void 0)), this.floatingUIOptions.inline && t.push(
1282
+ ze(typeof this.floatingUIOptions.inline != "boolean" ? this.floatingUIOptions.inline : void 0)
1282
1283
  ), t;
1283
1284
  }
1284
1285
  get virtualElement() {
@@ -1293,7 +1294,7 @@ var to = class {
1293
1294
  getBoundingClientRect: () => s,
1294
1295
  getClientRects: () => [s]
1295
1296
  };
1296
- if (i instanceof rn) {
1297
+ if (i instanceof an) {
1297
1298
  let a = this.view.nodeDOM(i.from);
1298
1299
  const l = a.dataset.nodeViewWrapper ? a : a.querySelector("[data-node-view-wrapper]");
1299
1300
  l && (a = l), a && (r = {
@@ -1301,11 +1302,11 @@ var to = class {
1301
1302
  getClientRects: () => [a.getBoundingClientRect()]
1302
1303
  });
1303
1304
  }
1304
- if (i instanceof an) {
1305
+ if (i instanceof ln) {
1305
1306
  const { $anchorCell: a, $headCell: l } = i, u = a ? a.pos : l.pos, d = l ? l.pos : a.pos, c = this.view.nodeDOM(u), h = this.view.nodeDOM(d);
1306
1307
  if (!c || !h)
1307
1308
  return;
1308
- const f = c === h ? c.getBoundingClientRect() : Qi(
1309
+ const f = c === h ? c.getBoundingClientRect() : to(
1309
1310
  c.getBoundingClientRect(),
1310
1311
  h.getBoundingClientRect()
1311
1312
  );
@@ -1377,10 +1378,10 @@ var to = class {
1377
1378
  destroy() {
1378
1379
  this.hide(), this.element.removeEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.view.dom.removeEventListener("dragstart", this.dragstartHandler), window.removeEventListener("resize", this.resizeHandler), this.scrollTarget.removeEventListener("scroll", this.resizeHandler), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler), this.editor.off("transaction", this.transactionHandler), this.floatingUIOptions.onDestroy && this.floatingUIOptions.onDestroy();
1379
1380
  }
1380
- }, eo = (t) => new It({
1381
- key: typeof t.pluginKey == "string" ? new at(t.pluginKey) : t.pluginKey,
1382
- view: (e) => new to({ view: e, ...t })
1383
- }), no = de({
1381
+ }, no = (t) => new It({
1382
+ key: typeof t.pluginKey == "string" ? new rt(t.pluginKey) : t.pluginKey,
1383
+ view: (e) => new eo({ view: e, ...t })
1384
+ }), io = de({
1384
1385
  name: "BubbleMenu",
1385
1386
  inheritAttrs: !1,
1386
1387
  props: {
@@ -1430,9 +1431,9 @@ var to = class {
1430
1431
  getReferencedVirtualElement: d,
1431
1432
  updateDelay: c
1432
1433
  } = t, h = i.value;
1433
- h && (h.style.visibility = "hidden", h.style.position = "absolute", h.remove(), ln(() => {
1434
+ h && (h.style.visibility = "hidden", h.style.position = "absolute", h.remove(), cn(() => {
1434
1435
  o.registerPlugin(
1435
- eo({
1436
+ no({
1436
1437
  editor: o,
1437
1438
  element: h,
1438
1439
  options: s,
@@ -1453,7 +1454,7 @@ var to = class {
1453
1454
  return pe("div", { ref: i, ...n }, (o = e.default) == null ? void 0 : o.call(e));
1454
1455
  };
1455
1456
  }
1456
- }), io = class {
1457
+ }), oo = class {
1457
1458
  constructor({
1458
1459
  editor: t,
1459
1460
  element: e,
@@ -1513,7 +1514,7 @@ var to = class {
1513
1514
  }, this.element.tabIndex = 0, a && (this.shouldShow = a), this.element.addEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.editor.on("focus", this.focusHandler), this.editor.on("blur", this.blurHandler), this.editor.on("transaction", this.transactionHandler), window.addEventListener("resize", this.resizeHandler), this.scrollTarget.addEventListener("scroll", this.resizeHandler), this.update(n, n.state), this.getShouldShow() && (this.show(), this.updatePosition());
1514
1515
  }
1515
1516
  getTextContent(t) {
1516
- return Ye(t, { textSerializers: Ge(this.editor.schema) });
1517
+ return Ge(t, { textSerializers: Je(this.editor.schema) });
1517
1518
  }
1518
1519
  get middlewares() {
1519
1520
  const t = [];
@@ -1521,12 +1522,12 @@ var to = class {
1521
1522
  zt(typeof this.floatingUIOptions.shift != "boolean" ? this.floatingUIOptions.shift : void 0)
1522
1523
  ), this.floatingUIOptions.offset && t.push(
1523
1524
  Vt(typeof this.floatingUIOptions.offset != "boolean" ? this.floatingUIOptions.offset : void 0)
1524
- ), this.floatingUIOptions.arrow && t.push(Ue(this.floatingUIOptions.arrow)), this.floatingUIOptions.size && t.push($e(typeof this.floatingUIOptions.size != "boolean" ? this.floatingUIOptions.size : void 0)), this.floatingUIOptions.autoPlacement && t.push(
1525
- Be(
1525
+ ), this.floatingUIOptions.arrow && t.push(Ve(this.floatingUIOptions.arrow)), this.floatingUIOptions.size && t.push(Pe(typeof this.floatingUIOptions.size != "boolean" ? this.floatingUIOptions.size : void 0)), this.floatingUIOptions.autoPlacement && t.push(
1526
+ $e(
1526
1527
  typeof this.floatingUIOptions.autoPlacement != "boolean" ? this.floatingUIOptions.autoPlacement : void 0
1527
1528
  )
1528
- ), this.floatingUIOptions.hide && t.push(Pe(typeof this.floatingUIOptions.hide != "boolean" ? this.floatingUIOptions.hide : void 0)), this.floatingUIOptions.inline && t.push(
1529
- Ve(typeof this.floatingUIOptions.inline != "boolean" ? this.floatingUIOptions.inline : void 0)
1529
+ ), this.floatingUIOptions.hide && t.push(Ue(typeof this.floatingUIOptions.hide != "boolean" ? this.floatingUIOptions.hide : void 0)), this.floatingUIOptions.inline && t.push(
1530
+ ze(typeof this.floatingUIOptions.inline != "boolean" ? this.floatingUIOptions.inline : void 0)
1530
1531
  ), t;
1531
1532
  }
1532
1533
  getShouldShow(t) {
@@ -1587,9 +1588,9 @@ var to = class {
1587
1588
  destroy() {
1588
1589
  this.hide(), this.element.removeEventListener("mousedown", this.mousedownHandler, { capture: !0 }), window.removeEventListener("resize", this.resizeHandler), this.scrollTarget.removeEventListener("scroll", this.resizeHandler), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler), this.editor.off("transaction", this.transactionHandler), this.floatingUIOptions.onDestroy && this.floatingUIOptions.onDestroy();
1589
1590
  }
1590
- }, oo = (t) => new It({
1591
- key: typeof t.pluginKey == "string" ? new at(t.pluginKey) : t.pluginKey,
1592
- view: (e) => new io({ view: e, ...t })
1591
+ }, so = (t) => new It({
1592
+ key: typeof t.pluginKey == "string" ? new rt(t.pluginKey) : t.pluginKey,
1593
+ view: (e) => new oo({ view: e, ...t })
1593
1594
  });
1594
1595
  de({
1595
1596
  name: "FloatingMenu",
@@ -1631,7 +1632,7 @@ de({
1631
1632
  return he(() => {
1632
1633
  const { pluginKey: o, editor: s, updateDelay: r, resizeDelay: a, options: l, appendTo: u, shouldShow: d } = t, c = i.value;
1633
1634
  c && (c.style.visibility = "hidden", c.style.position = "absolute", c.remove(), s.registerPlugin(
1634
- oo({
1635
+ so({
1635
1636
  pluginKey: o,
1636
1637
  editor: s,
1637
1638
  element: c,
@@ -1651,60 +1652,60 @@ de({
1651
1652
  };
1652
1653
  }
1653
1654
  });
1654
- const it = (t) => ({
1655
+ const nt = (t) => ({
1655
1656
  default: null,
1656
1657
  parseHTML: (e) => e.getAttribute(t),
1657
1658
  renderHTML: (e) => e[t] ? { [t]: e[t] } : {}
1658
- }), so = () => {
1659
- let t = it("style");
1660
- return t.renderHTML = (e) => e.style ? { style: ro(e.style) } : {}, t;
1659
+ }), ro = () => {
1660
+ let t = nt("style");
1661
+ return t.renderHTML = (e) => e.style ? { style: ao(e.style) } : {}, t;
1661
1662
  };
1662
- function ro(t) {
1663
+ function ao(t) {
1663
1664
  return t.replace(new RegExp("(?<![a-z-])width\\s*:\\s*([^;]+);?", "gi"), (e, n) => /^\s*0\s*[a-z%]*\s*(!important)?\s*$/i.test(n) ? "width: 100%;" : e);
1664
1665
  }
1665
- const ao = Mn.extend({
1666
+ const lo = Hn.extend({
1666
1667
  addAttributes() {
1667
1668
  var t;
1668
1669
  return {
1669
1670
  ...(t = this.parent) == null ? void 0 : t.call(this),
1670
- border: it("border"),
1671
- cellpadding: it("cellpadding"),
1672
- cellspacing: it("cellspacing"),
1673
- style: so()
1671
+ border: nt("border"),
1672
+ cellpadding: nt("cellpadding"),
1673
+ cellspacing: nt("cellspacing"),
1674
+ style: ro()
1674
1675
  };
1675
1676
  },
1676
1677
  renderHTML({ HTMLAttributes: t }) {
1677
- return ["table", st(this.options.HTMLAttributes, t), ["tbody", 0]];
1678
+ return ["table", ot(this.options.HTMLAttributes, t), ["tbody", 0]];
1678
1679
  }
1679
- }), lo = Hn.extend({
1680
+ }), co = Bn.extend({
1680
1681
  addAttributes() {
1681
1682
  var t;
1682
1683
  return {
1683
1684
  ...(t = this.parent) == null ? void 0 : t.call(this),
1684
- style: it("style")
1685
+ style: nt("style")
1685
1686
  };
1686
1687
  }
1687
- }), ze = {
1688
- style: it("style"),
1689
- valign: it("valign"),
1690
- width: it("width")
1691
- }, co = $n.extend({
1688
+ }), Fe = {
1689
+ style: nt("style"),
1690
+ valign: nt("valign"),
1691
+ width: nt("width")
1692
+ }, uo = Pn.extend({
1692
1693
  addAttributes() {
1693
1694
  var t;
1694
1695
  return {
1695
1696
  ...(t = this.parent) == null ? void 0 : t.call(this),
1696
- ...ze
1697
+ ...Fe
1697
1698
  };
1698
1699
  }
1699
- }), uo = Bn.extend({
1700
+ }), ho = $n.extend({
1700
1701
  addAttributes() {
1701
1702
  var t;
1702
1703
  return {
1703
1704
  ...(t = this.parent) == null ? void 0 : t.call(this),
1704
- ...ze
1705
+ ...Fe
1705
1706
  };
1706
1707
  }
1707
- }), ho = Pn.extend({
1708
+ }), fo = Un.extend({
1708
1709
  parseHTML() {
1709
1710
  var t;
1710
1711
  return [
@@ -1721,7 +1722,7 @@ const ao = Mn.extend({
1721
1722
  }
1722
1723
  ];
1723
1724
  }
1724
- }), fo = {
1725
+ }), po = {
1725
1726
  compatConfig: { MODE: 3 },
1726
1727
  name: "EmojiComponent",
1727
1728
  components: {
@@ -1730,11 +1731,11 @@ const ao = Mn.extend({
1730
1731
  },
1731
1732
  props: pt
1732
1733
  };
1733
- function po(t, e, n, i, o, s) {
1734
- const r = T("dt-emoji"), a = T("node-view-wrapper");
1735
- return _(), A(a, { class: "d-d-inline-block d-va-bottom d-lh0" }, {
1736
- default: C(() => [
1737
- M(r, {
1734
+ function mo(t, e, n, i, o, s) {
1735
+ const r = x("dt-emoji"), a = x("node-view-wrapper");
1736
+ return O(), E(a, { class: "d-d-inline-block d-va-bottom d-lh0" }, {
1737
+ default: T(() => [
1738
+ I(r, {
1738
1739
  size: "500",
1739
1740
  code: t.node.attrs.code
1740
1741
  }, null, 8, ["code"])
@@ -1742,11 +1743,11 @@ function po(t, e, n, i, o, s) {
1742
1743
  _: 1
1743
1744
  });
1744
1745
  }
1745
- const mo = /* @__PURE__ */ q(fo, [["render", po]]), go = {
1746
+ const go = /* @__PURE__ */ q(po, [["render", mo]]), yo = {
1746
1747
  compatConfig: { MODE: 3 },
1747
1748
  name: "SuggestionList",
1748
1749
  components: {
1749
- DtListItem: Wn
1750
+ DtListItem: Kn
1750
1751
  },
1751
1752
  props: {
1752
1753
  items: {
@@ -1815,15 +1816,15 @@ const mo = /* @__PURE__ */ q(fo, [["render", po]]), go = {
1815
1816
  }
1816
1817
  }
1817
1818
  }
1818
- }, yo = { class: "d-popover__dialog d-suggestion-list__container" }, wo = {
1819
+ }, wo = { class: "d-popover__dialog d-suggestion-list__container" }, bo = {
1819
1820
  ref: "suggestionList",
1820
1821
  class: "d-suggestion-list"
1821
1822
  };
1822
- function bo(t, e, n, i, o, s) {
1823
- const r = T("dt-list-item");
1824
- return _(), et("div", yo, [
1825
- cn(nt("ul", wo, [
1826
- (_(!0), et(dn, null, un(n.items, (a, l) => (_(), A(r, {
1823
+ function vo(t, e, n, i, o, s) {
1824
+ const r = x("dt-list-item");
1825
+ return O(), ht("div", wo, [
1826
+ dn(dt("ul", bo, [
1827
+ (O(!0), ht(un, null, hn(n.items, (a, l) => (O(), E(r, {
1827
1828
  key: a.id,
1828
1829
  class: me([
1829
1830
  "d-suggestion-list__item",
@@ -1833,18 +1834,18 @@ function bo(t, e, n, i, o, s) {
1833
1834
  onClick: (u) => s.selectItem(l),
1834
1835
  onKeydown: Dt(s.onKeyDown, ["prevent"])
1835
1836
  }, {
1836
- default: C(() => [
1837
- (_(), A(hn(n.itemComponent), { item: a }, null, 8, ["item"]))
1837
+ default: T(() => [
1838
+ (O(), E(fn(n.itemComponent), { item: a }, null, 8, ["item"]))
1838
1839
  ]),
1839
1840
  _: 2
1840
1841
  }, 1032, ["class", "onClick", "onKeydown"]))), 128))
1841
1842
  ], 512), [
1842
- [fn, n.items.length]
1843
+ [pn, n.items.length]
1843
1844
  ])
1844
1845
  ]);
1845
1846
  }
1846
- const vo = /* @__PURE__ */ q(go, [["render", bo]]), Fe = "top-start", Ne = "650";
1847
- function xo() {
1847
+ const xo = /* @__PURE__ */ q(yo, [["render", vo]]), Ne = "top-start", je = "650";
1848
+ function To() {
1848
1849
  return {
1849
1850
  getBoundingClientRect: () => ({
1850
1851
  width: 0,
@@ -1861,10 +1862,10 @@ function xo() {
1861
1862
  function se(t) {
1862
1863
  return { getBoundingClientRect: t };
1863
1864
  }
1864
- async function To(t, e, n = {}) {
1865
+ async function _o(t, e, n = {}) {
1865
1866
  if (!t || !(e != null && e.getBoundingClientRect)) return;
1866
1867
  const {
1867
- placement: i = Fe,
1868
+ placement: i = Ne,
1868
1869
  middleware: o = [Vt(0), Ft(), zt({ padding: 8 })]
1869
1870
  } = n, { x: s, y: r } = await Nt(e, t, {
1870
1871
  placement: i,
@@ -1875,14 +1876,14 @@ async function To(t, e, n = {}) {
1875
1876
  top: `${r}px`
1876
1877
  });
1877
1878
  }
1878
- function _o(t, e = {}) {
1879
- const { zIndex: n = Ne } = e;
1879
+ function Oo(t, e = {}) {
1880
+ const { zIndex: n = je } = e;
1880
1881
  t.style.position = "absolute", t.style.zIndex = n, t.style.display = "none";
1881
1882
  }
1882
- function Oo(t) {
1883
+ function Co(t) {
1883
1884
  t && (t.style.display = "block");
1884
1885
  }
1885
- function Co(t) {
1886
+ function ko(t) {
1886
1887
  t && (t.style.display = "none");
1887
1888
  }
1888
1889
  function Eo(t, e) {
@@ -1890,46 +1891,46 @@ function Eo(t, e) {
1890
1891
  n.key === "Escape" && e() && t();
1891
1892
  };
1892
1893
  }
1893
- function ko(t) {
1894
+ function So(t) {
1894
1895
  document.addEventListener("keydown", t);
1895
1896
  }
1896
- function So(t) {
1897
+ function Lo(t) {
1897
1898
  document.removeEventListener("keydown", t);
1898
1899
  }
1899
- function Lo(t, e, n, i) {
1900
- return new We(t, {
1900
+ function Ao(t, e, n, i) {
1901
+ return new Ke(t, {
1901
1902
  props: {
1902
- itemComponent: pn(e),
1903
+ itemComponent: mn(e),
1903
1904
  itemType: n,
1904
1905
  ...i
1905
1906
  },
1906
1907
  editor: i.editor
1907
1908
  });
1908
1909
  }
1909
- function Ao(t) {
1910
+ function Io(t) {
1910
1911
  var e, n;
1911
- t.escHandler && So(t.escHandler), (e = t.floatingEl) == null || e.remove(), (n = t.component) == null || n.destroy();
1912
+ t.escHandler && Lo(t.escHandler), (e = t.floatingEl) == null || e.remove(), (n = t.component) == null || n.destroy();
1912
1913
  }
1913
- function Et(t, e, n = {}) {
1914
+ function kt(t, e, n = {}) {
1914
1915
  const {
1915
- listComponent: i = vo,
1916
- placement: o = Fe,
1917
- zIndex: s = Ne
1916
+ listComponent: i = xo,
1917
+ placement: o = Ne,
1918
+ zIndex: s = je
1918
1919
  } = n;
1919
1920
  return () => {
1920
- let r = null, a = null, l = !1, u = xo(), d = null;
1921
+ let r = null, a = null, l = !1, u = To(), d = null;
1921
1922
  function c() {
1922
- To(a, u, { placement: o });
1923
+ _o(a, u, { placement: o });
1923
1924
  }
1924
1925
  function h() {
1925
- a && (Oo(a), l = !0, c());
1926
+ a && (Co(a), l = !0, c());
1926
1927
  }
1927
1928
  function f() {
1928
- a && (Co(a), l = !1);
1929
+ a && (ko(a), l = !1);
1929
1930
  }
1930
1931
  return {
1931
1932
  onStart: (p) => {
1932
- r = Lo(i, t, e, p), p.clientRect && (a = r.element, _o(a, { zIndex: s }), document.body.appendChild(a), u = se(p.clientRect), d = Eo(f, () => l), ko(d), p.items.length > 0 && h());
1933
+ r = Ao(i, t, e, p), p.clientRect && (a = r.element, Oo(a, { zIndex: s }), document.body.appendChild(a), u = se(p.clientRect), d = Eo(f, () => l), So(d), p.items.length > 0 && h());
1933
1934
  },
1934
1935
  onUpdate(p) {
1935
1936
  r == null || r.updateProps(p), p.items.length > 0 ? h() : f(), p.clientRect && (u = se(p.clientRect), c());
@@ -1940,12 +1941,12 @@ function Et(t, e, n = {}) {
1940
1941
  return (m = r == null ? void 0 : r.ref) == null ? void 0 : m.onKeyDown(p);
1941
1942
  },
1942
1943
  onExit() {
1943
- Ao({ escHandler: d, floatingEl: a, component: r }), d = null, a = null, r = null;
1944
+ Io({ escHandler: d, floatingEl: a, component: r }), d = null, a = null, r = null;
1944
1945
  }
1945
1946
  };
1946
1947
  };
1947
1948
  }
1948
- const Io = {
1949
+ const Do = {
1949
1950
  compatConfig: { MODE: 3 },
1950
1951
  name: "EmojiSuggestion",
1951
1952
  components: {
@@ -1959,31 +1960,31 @@ const Io = {
1959
1960
  }
1960
1961
  }
1961
1962
  };
1962
- function Do(t, e, n, i, o, s) {
1963
- const r = T("dt-emoji"), a = T("dt-stack");
1964
- return _(), A(a, {
1963
+ function Ro(t, e, n, i, o, s) {
1964
+ const r = x("dt-emoji"), a = x("dt-stack");
1965
+ return O(), E(a, {
1965
1966
  direction: "row",
1966
- gap: "400"
1967
+ gap: "100"
1967
1968
  }, {
1968
- default: C(() => [
1969
- M(r, {
1969
+ default: T(() => [
1970
+ I(r, {
1970
1971
  size: "200",
1971
1972
  code: n.item.code
1972
1973
  }, null, 8, ["code"]),
1973
- lt(" " + B(n.item.code), 1)
1974
+ Y(" " + B(n.item.code), 1)
1974
1975
  ]),
1975
1976
  _: 1
1976
1977
  });
1977
1978
  }
1978
- const Ro = /* @__PURE__ */ q(Io, [["render", Do]]), Mo = 20, Ho = (t, e, n) => {
1979
+ const Mo = /* @__PURE__ */ q(Do, [["render", Ro]]), Ho = 20, Bo = (t, e, n) => {
1979
1980
  var a, l;
1980
1981
  const i = (a = t.shortname) == null ? void 0 : a.replaceAll(":", ""), o = (l = e.shortname) == null ? void 0 : l.replaceAll(":", ""), s = i.startsWith(n), r = o.startsWith(n);
1981
1982
  return s && !r ? -1 : !s && r ? 1 : i.localeCompare(o);
1982
- }, Bo = {
1983
+ }, $o = {
1983
1984
  items: ({ query: t }) => {
1984
1985
  if (t.length < 2)
1985
1986
  return [];
1986
- const e = Object.values(zn());
1987
+ const e = Object.values(Fn());
1987
1988
  return t = t.toLowerCase(), e.filter(
1988
1989
  (i) => {
1989
1990
  var o;
@@ -1993,7 +1994,7 @@ const Ro = /* @__PURE__ */ q(Io, [["render", Do]]), Mo = 20, Ho = (t, e, n) => {
1993
1994
  ...i.keywords || []
1994
1995
  ].some((s) => s && s.startsWith(t));
1995
1996
  }
1996
- ).splice(0, Mo).sort((i, o) => Ho(i, o, t)).map((i) => ({ code: i.shortname }));
1997
+ ).splice(0, Ho).sort((i, o) => Bo(i, o, t)).map((i) => ({ code: i.shortname }));
1997
1998
  },
1998
1999
  command: ({ editor: t, range: e, props: n }) => {
1999
2000
  var s, r;
@@ -2005,15 +2006,15 @@ const Ro = /* @__PURE__ */ q(Io, [["render", Do]]), Mo = 20, Ho = (t, e, n) => {
2005
2006
  }
2006
2007
  ]).run(), (r = window.getSelection()) == null || r.collapseToEnd();
2007
2008
  },
2008
- render: Et(Ro, "emoji")
2009
- }, $o = /(:\w+:)$/, Po = new RegExp(we + "$"), Uo = (t) => {
2009
+ render: kt(Mo, "emoji")
2010
+ }, Po = /(:\w+:)$/, Uo = new RegExp(we + "$"), Vo = (t) => {
2010
2011
  if (t && Rt(t[0]))
2011
2012
  return { text: t[2] || t[0] };
2012
- }, Vo = (t) => [...t.matchAll(jn)].filter((n) => Rt(n[0])).map((n) => ({
2013
+ }, zo = (t) => [...t.matchAll(Wn)].filter((n) => Rt(n[0])).map((n) => ({
2013
2014
  index: n.index,
2014
2015
  text: n[0],
2015
2016
  match: n
2016
- })), zo = ce.create({
2017
+ })), Fo = ce.create({
2017
2018
  name: "emoji",
2018
2019
  addOptions() {
2019
2020
  return {
@@ -2025,7 +2026,7 @@ const Ro = /* @__PURE__ */ q(Io, [["render", Do]]), Mo = 20, Ho = (t, e, n) => {
2025
2026
  selectable: !1,
2026
2027
  atom: !0,
2027
2028
  addNodeView() {
2028
- return gt(mo);
2029
+ return gt(go);
2029
2030
  },
2030
2031
  addAttributes() {
2031
2032
  return {
@@ -2042,18 +2043,18 @@ const Ro = /* @__PURE__ */ q(Io, [["render", Do]]), Mo = 20, Ho = (t, e, n) => {
2042
2043
  ];
2043
2044
  },
2044
2045
  renderText({ node: t }) {
2045
- return Nn(Rt(t.attrs.code).unicode_output);
2046
+ return jn(Rt(t.attrs.code).unicode_output);
2046
2047
  },
2047
2048
  renderHTML({ HTMLAttributes: t }) {
2048
- return ["emoji-component", st(this.options.HTMLAttributes, t)];
2049
+ return ["emoji-component", ot(this.options.HTMLAttributes, t)];
2049
2050
  },
2050
2051
  addInputRules() {
2051
2052
  return [
2052
- new Je({
2053
+ new Ze({
2053
2054
  find: (t) => {
2054
- const e = t.match($o) || t.match(Po);
2055
+ const e = t.match(Po) || t.match(Uo);
2055
2056
  if (e)
2056
- return Uo(e);
2057
+ return Vo(e);
2057
2058
  },
2058
2059
  handler: ({ state: t, range: e, match: n }) => {
2059
2060
  const { tr: i } = t, o = e.from, s = e.to;
@@ -2065,7 +2066,7 @@ const Ro = /* @__PURE__ */ q(Io, [["render", Do]]), Mo = 20, Ho = (t, e, n) => {
2065
2066
  addPasteRules() {
2066
2067
  return [
2067
2068
  St({
2068
- find: Vo,
2069
+ find: zo,
2069
2070
  type: this.type,
2070
2071
  getAttributes(t) {
2071
2072
  return {
@@ -2074,7 +2075,7 @@ const Ro = /* @__PURE__ */ q(Io, [["render", Do]]), Mo = 20, Ho = (t, e, n) => {
2074
2075
  }
2075
2076
  }),
2076
2077
  St({
2077
- find: Fn,
2078
+ find: Nn,
2078
2079
  type: this.type,
2079
2080
  getAttributes(t) {
2080
2081
  return {
@@ -2086,12 +2087,12 @@ const Ro = /* @__PURE__ */ q(Io, [["render", Do]]), Mo = 20, Ho = (t, e, n) => {
2086
2087
  },
2087
2088
  addProseMirrorPlugins() {
2088
2089
  return [
2089
- Vn({
2090
+ zn({
2090
2091
  char: ":",
2091
- pluginKey: new at("emoji"),
2092
+ pluginKey: new rt("emoji"),
2092
2093
  editor: this.editor,
2093
2094
  ...this.options.suggestion,
2094
- ...Bo
2095
+ ...$o
2095
2096
  })
2096
2097
  ];
2097
2098
  },
@@ -2108,7 +2109,7 @@ const Ro = /* @__PURE__ */ q(Io, [["render", Do]]), Mo = 20, Ho = (t, e, n) => {
2108
2109
  };
2109
2110
  }
2110
2111
  });
2111
- function Fo(t, e, n = () => !0) {
2112
+ function No(t, e, n = () => !0) {
2112
2113
  const i = [];
2113
2114
  e.lastIndex = 0;
2114
2115
  let o;
@@ -2116,10 +2117,10 @@ function Fo(t, e, n = () => !0) {
2116
2117
  n(t, o) && i.push(o);
2117
2118
  return i;
2118
2119
  }
2119
- function No(t, e) {
2120
+ function jo(t, e) {
2120
2121
  return !["#", "@"].includes(t.charAt(e.index)) && !["#", "@"].includes(t.charAt(e.index - 1));
2121
2122
  }
2122
- function jo(t) {
2123
+ function Wo(t) {
2123
2124
  const e = new RegExp(
2124
2125
  "(?:" + [
2125
2126
  `[!?.,:;'"]`,
@@ -2129,7 +2130,7 @@ function jo(t) {
2129
2130
  );
2130
2131
  return t.replace(e, "");
2131
2132
  }
2132
- function Wo(t, e) {
2133
+ function Ko(t, e) {
2133
2134
  const n = t.slice(0, e + 1).search(/\S+\s*$/), i = t.slice(e).search(/\s/);
2134
2135
  if (i < 0) {
2135
2136
  const o = t.slice(n);
@@ -2146,18 +2147,18 @@ function Wo(t, e) {
2146
2147
  };
2147
2148
  }
2148
2149
  function At(t, e, n, i) {
2149
- const o = Wo(t, e);
2150
+ const o = Ko(t, e);
2150
2151
  if (i.lastIndex = 0, !i.test(o.text))
2151
2152
  return o;
2152
2153
  const s = n === "left" ? o.from - 1 : o.to + 1;
2153
2154
  return s <= 0 || s >= t.length || s === e ? o : At(t, s, n, i);
2154
2155
  }
2155
- function Ko(t, e, n, i) {
2156
- const o = Math.max(t.from - 1, 0), s = Math.min(t.to + 1, e.content.size), r = Ze(o, s, e);
2156
+ function qo(t, e, n, i) {
2157
+ const o = Math.max(t.from - 1, 0), s = Math.min(t.to + 1, e.content.size), r = Qe(o, s, e);
2157
2158
  for (const a of r)
2158
2159
  a.mark.type === i && n.removeMark(a.from, a.to, i);
2159
2160
  }
2160
- const re = qn(1, 15);
2161
+ const re = Xn(1, 15);
2161
2162
  function ae(t, e, n, i, o, s) {
2162
2163
  if (!t)
2163
2164
  return;
@@ -2174,27 +2175,27 @@ function ae(t, e, n, i, o, s) {
2174
2175
  "right",
2175
2176
  re
2176
2177
  ), d = t.slice(l.from, u.to);
2177
- Fo(d, Kn, No).forEach((h) => {
2178
- const f = jo(h[0]), p = e + l.from + h.index + 1, m = p + f.length;
2178
+ No(d, qn, jo).forEach((h) => {
2179
+ const f = Wo(h[0]), p = e + l.from + h.index + 1, m = p + f.length;
2179
2180
  o.addMark(p, m, s.create());
2180
2181
  });
2181
2182
  }
2182
- function qo(t) {
2183
+ function Xo(t) {
2183
2184
  let e = !1;
2184
2185
  return new It({
2185
- key: new at("autolink"),
2186
+ key: new rt("autolink"),
2186
2187
  appendTransaction: (n, i, o) => {
2187
2188
  const s = n.some((d) => d.docChanged) && !i.doc.eq(o.doc);
2188
2189
  if (e && !s)
2189
2190
  return;
2190
2191
  const { tr: r } = o, { textContent: a } = o.doc;
2191
2192
  e || ae(a, 0, 0, a.length, r, t.type), e = !0;
2192
- const l = Qe(
2193
+ const l = tn(
2193
2194
  i.doc,
2194
2195
  [...n]
2195
2196
  );
2196
- return tn(l).forEach(({ oldRange: d, newRange: c }) => {
2197
- Ko(c, o.doc, r, t.type), en(
2197
+ return en(l).forEach(({ oldRange: d, newRange: c }) => {
2198
+ qo(c, o.doc, r, t.type), nn(
2198
2199
  o.doc,
2199
2200
  c,
2200
2201
  (f) => f.isTextblock
@@ -2212,18 +2213,18 @@ function qo(t) {
2212
2213
  }
2213
2214
  });
2214
2215
  }
2215
- const Xo = {
2216
+ const Yo = {
2216
2217
  class: "d-link d-c-text d-d-inline-block d-wb-break-all",
2217
2218
  rel: "noopener noreferrer nofollow"
2218
- }, Yo = nn.create({
2219
+ }, Go = on.create({
2219
2220
  name: "CustomLink",
2220
2221
  renderHTML({ HTMLAttributes: t }) {
2221
2222
  return [
2222
2223
  "a",
2223
- st(
2224
+ ot(
2224
2225
  this.options.HTMLAttributes,
2225
2226
  t,
2226
- Xo
2227
+ Yo
2227
2228
  )
2228
2229
  ];
2229
2230
  },
@@ -2232,10 +2233,10 @@ const Xo = {
2232
2233
  },
2233
2234
  addProseMirrorPlugins() {
2234
2235
  return [
2235
- qo({ type: this.type })
2236
+ Xo({ type: this.type })
2236
2237
  ];
2237
2238
  }
2238
- }), Go = Yn.extend({
2239
+ }), Jo = Gn.extend({
2239
2240
  name: "ConfigurableImage",
2240
2241
  addAttributes() {
2241
2242
  return {
@@ -2259,7 +2260,7 @@ const Xo = {
2259
2260
  }
2260
2261
  };
2261
2262
  }
2262
- }).configure({ inline: !0, allowBase64: !0 }), Jo = /* @__PURE__ */ new Set([
2263
+ }).configure({ inline: !0, allowBase64: !0 }), Zo = /* @__PURE__ */ new Set([
2263
2264
  "address",
2264
2265
  "article",
2265
2266
  "aside",
@@ -2293,22 +2294,22 @@ const Xo = {
2293
2294
  "section",
2294
2295
  "table",
2295
2296
  "ul"
2296
- ]), Zo = ye.extend({
2297
+ ]), Qo = ye.extend({
2297
2298
  parseHTML() {
2298
2299
  return [{
2299
2300
  tag: "div",
2300
2301
  getAttrs: (t) => {
2301
2302
  for (const e of t.children)
2302
- if (Jo.has(e.tagName.toLowerCase()))
2303
+ if (Zo.has(e.tagName.toLowerCase()))
2303
2304
  return !1;
2304
2305
  return null;
2305
2306
  }
2306
2307
  }];
2307
2308
  },
2308
2309
  renderHTML({ HTMLAttributes: t }) {
2309
- return ["div", st(this.options.HTMLAttributes, t), 0];
2310
+ return ["div", ot(this.options.HTMLAttributes, t), 0];
2310
2311
  }
2311
- }), Qo = {
2312
+ }), ts = {
2312
2313
  compatConfig: { MODE: 3 },
2313
2314
  name: "MentionComponent",
2314
2315
  components: {
@@ -2341,11 +2342,11 @@ const Xo = {
2341
2342
  }
2342
2343
  }
2343
2344
  };
2344
- function ts(t, e, n, i, o, s) {
2345
- const r = T("dt-link"), a = T("node-view-wrapper");
2346
- return _(), A(a, { class: "d-d-inline-block" }, {
2347
- default: C(() => [
2348
- M(r, {
2345
+ function es(t, e, n, i, o, s) {
2346
+ const r = x("dt-link"), a = x("node-view-wrapper");
2347
+ return O(), E(a, { class: "d-d-inline-block" }, {
2348
+ default: T(() => [
2349
+ I(r, {
2349
2350
  kind: "mention",
2350
2351
  onClick: Dt(s.handleClick, ["prevent"]),
2351
2352
  onMouseenter: s.handleMouseEnter,
@@ -2353,8 +2354,8 @@ function ts(t, e, n, i, o, s) {
2353
2354
  onFocusin: s.handleMouseEnter,
2354
2355
  onFocusout: s.handleMouseLeave
2355
2356
  }, {
2356
- default: C(() => [
2357
- lt(B(s.text), 1)
2357
+ default: T(() => [
2358
+ Y(B(s.text), 1)
2358
2359
  ]),
2359
2360
  _: 1
2360
2361
  }, 8, ["onClick", "onMouseenter", "onMouseleave", "onFocusin", "onFocusout"])
@@ -2362,9 +2363,9 @@ function ts(t, e, n, i, o, s) {
2362
2363
  _: 1
2363
2364
  });
2364
2365
  }
2365
- const es = /* @__PURE__ */ q(Qo, [["render", ts]]), ns = Mt.extend({
2366
+ const ns = /* @__PURE__ */ q(ts, [["render", es]]), is = Mt.extend({
2366
2367
  addNodeView() {
2367
- return gt(es);
2368
+ return gt(ns);
2368
2369
  },
2369
2370
  parseHTML() {
2370
2371
  return [
@@ -2393,20 +2394,20 @@ const es = /* @__PURE__ */ q(Qo, [["render", ts]]), ns = Mt.extend({
2393
2394
  return `@${t.attrs.id}`;
2394
2395
  },
2395
2396
  renderHTML({ HTMLAttributes: t }) {
2396
- return ["mention-component", st(this.options.HTMLAttributes, t)];
2397
+ return ["mention-component", ot(this.options.HTMLAttributes, t)];
2397
2398
  }
2398
2399
  }).configure({
2399
2400
  suggestion: {
2400
2401
  char: "@",
2401
- pluginKey: new at("mentionSuggestion")
2402
+ pluginKey: new rt("mentionSuggestion")
2402
2403
  }
2403
- }), is = {
2404
+ }), os = {
2404
2405
  compatConfig: { MODE: 3 },
2405
2406
  name: "ChannelComponent",
2406
2407
  components: {
2407
2408
  NodeViewWrapper: mt,
2408
2409
  DtLink: ve,
2409
- DtIconLock: Gn,
2410
+ DtIconLock: Jn,
2410
2411
  DtStack: yt
2411
2412
  },
2412
2413
  props: pt,
@@ -2427,25 +2428,25 @@ const es = /* @__PURE__ */ q(Qo, [["render", ts]]), ns = Mt.extend({
2427
2428
  }
2428
2429
  }
2429
2430
  };
2430
- function os(t, e, n, i, o, s) {
2431
- const r = T("dt-icon-lock"), a = T("dt-stack"), l = T("dt-link"), u = T("node-view-wrapper");
2432
- return _(), A(u, { class: "d-d-inline-block" }, {
2433
- default: C(() => [
2434
- M(l, {
2431
+ function ss(t, e, n, i, o, s) {
2432
+ const r = x("dt-icon-lock"), a = x("dt-stack"), l = x("dt-link"), u = x("node-view-wrapper");
2433
+ return O(), E(u, { class: "d-d-inline-block" }, {
2434
+ default: T(() => [
2435
+ I(l, {
2435
2436
  kind: "mention",
2436
2437
  onClick: Dt(s.handleClick, ["prevent"])
2437
2438
  }, {
2438
- default: C(() => [
2439
- M(a, {
2439
+ default: T(() => [
2440
+ I(a, {
2440
2441
  direction: "row",
2441
2442
  gap: "0"
2442
2443
  }, {
2443
- default: C(() => [
2444
- t.$props.node.attrs.locked ? (_(), A(r, {
2444
+ default: T(() => [
2445
+ t.$props.node.attrs.locked ? (O(), E(r, {
2445
2446
  key: 0,
2446
2447
  size: "200"
2447
- })) : rt("", !0),
2448
- nt("span", null, B(s.text), 1)
2448
+ })) : st("", !0),
2449
+ dt("span", null, B(s.text), 1)
2449
2450
  ]),
2450
2451
  _: 1
2451
2452
  })
@@ -2456,10 +2457,10 @@ function os(t, e, n, i, o, s) {
2456
2457
  _: 1
2457
2458
  });
2458
2459
  }
2459
- const ss = /* @__PURE__ */ q(is, [["render", os]]), rs = Mt.extend({
2460
+ const rs = /* @__PURE__ */ q(os, [["render", ss]]), as = Mt.extend({
2460
2461
  name: "channel",
2461
2462
  addNodeView() {
2462
- return gt(ss);
2463
+ return gt(rs);
2463
2464
  },
2464
2465
  parseHTML() {
2465
2466
  return [
@@ -2488,14 +2489,14 @@ const ss = /* @__PURE__ */ q(is, [["render", os]]), rs = Mt.extend({
2488
2489
  return `#${t.attrs.id}`;
2489
2490
  },
2490
2491
  renderHTML({ HTMLAttributes: t }) {
2491
- return ["channel-component", st(this.options.HTMLAttributes, t)];
2492
+ return ["channel-component", ot(this.options.HTMLAttributes, t)];
2492
2493
  }
2493
2494
  }).configure({
2494
2495
  suggestion: {
2495
2496
  char: "#",
2496
- pluginKey: new at("channelSuggestion")
2497
+ pluginKey: new rt("channelSuggestion")
2497
2498
  }
2498
- }), as = {
2499
+ }), ls = {
2499
2500
  compatConfig: { MODE: 3 },
2500
2501
  name: "SlashCommandsComponent",
2501
2502
  components: {
@@ -2518,23 +2519,23 @@ const ss = /* @__PURE__ */ q(is, [["render", os]]), rs = Mt.extend({
2518
2519
  e && typeof e == "function" && e(t);
2519
2520
  }
2520
2521
  };
2521
- function ls(t, e, n, i, o, s) {
2522
- const r = T("node-view-wrapper");
2523
- return _(), A(r, { class: "d-d-inline-block" }, {
2524
- default: C(() => [
2525
- lt(B(s.text), 1)
2522
+ function cs(t, e, n, i, o, s) {
2523
+ const r = x("node-view-wrapper");
2524
+ return O(), E(r, { class: "d-d-inline-block" }, {
2525
+ default: T(() => [
2526
+ Y(B(s.text), 1)
2526
2527
  ]),
2527
2528
  _: 1
2528
2529
  });
2529
2530
  }
2530
- const cs = /* @__PURE__ */ q(as, [["render", ls]]), ds = (t, e) => [...t.matchAll(e)].map((i) => {
2531
+ const ds = /* @__PURE__ */ q(ls, [["render", cs]]), us = (t, e) => [...t.matchAll(e)].map((i) => {
2531
2532
  let o = i[2];
2532
2533
  return o.endsWith(" ") || (o += " "), {
2533
2534
  index: i.index,
2534
2535
  text: o,
2535
2536
  match: i
2536
2537
  };
2537
- }), us = Mt.extend({
2538
+ }), hs = Mt.extend({
2538
2539
  name: "slash-commands",
2539
2540
  group: "inline",
2540
2541
  inline: !0,
@@ -2551,7 +2552,7 @@ const cs = /* @__PURE__ */ q(as, [["render", ls]]), ds = (t, e) => [...t.matchAl
2551
2552
  };
2552
2553
  },
2553
2554
  addNodeView() {
2554
- return gt(cs);
2555
+ return gt(ds);
2555
2556
  },
2556
2557
  parseHTML() {
2557
2558
  return [
@@ -2577,13 +2578,13 @@ const cs = /* @__PURE__ */ q(as, [["render", ls]]), ds = (t, e) => [...t.matchAl
2577
2578
  return `/${t.attrs.command}`;
2578
2579
  },
2579
2580
  renderHTML({ HTMLAttributes: t }) {
2580
- return ["command-component", st(this.options.HTMLAttributes, t)];
2581
+ return ["command-component", ot(this.options.HTMLAttributes, t)];
2581
2582
  },
2582
2583
  addInputRules() {
2583
2584
  var n;
2584
2585
  const t = (n = this.options.suggestion) == null ? void 0 : n.items({ query: "" }).map((i) => i.command), e = new RegExp(`^((?:\\/)(${t.join("|")})) $`);
2585
2586
  return [
2586
- on({
2587
+ sn({
2587
2588
  find: e,
2588
2589
  type: this.type,
2589
2590
  getAttributes(i) {
@@ -2597,7 +2598,7 @@ const cs = /* @__PURE__ */ q(as, [["render", ls]]), ds = (t, e) => [...t.matchAl
2597
2598
  const t = (n = this.options.suggestion) == null ? void 0 : n.items({ query: "" }).map((i) => i.command), e = new RegExp(`^((?:\\/)(${t.join("|")})) ?$`, "g");
2598
2599
  return [
2599
2600
  St({
2600
- find: (i) => ds(i, e),
2601
+ find: (i) => us(i, e),
2601
2602
  type: this.type,
2602
2603
  getAttributes(i) {
2603
2604
  return { command: i[0].trim() };
@@ -2608,22 +2609,22 @@ const cs = /* @__PURE__ */ q(as, [["render", ls]]), ds = (t, e) => [...t.matchAl
2608
2609
  }).configure({
2609
2610
  suggestion: {
2610
2611
  char: "/",
2611
- pluginKey: new at("slashCommandSuggestion")
2612
+ pluginKey: new rt("slashCommandSuggestion")
2612
2613
  }
2613
- }), hs = 100, fs = {
2614
+ }), fs = 100, ps = {
2614
2615
  name: "VariableComponent",
2615
2616
  components: {
2616
- DtBadge: Qn,
2617
+ DtBadge: ti,
2617
2618
  DtButton: Te,
2618
- DtPopover: Zn,
2619
- DtInput: Jn,
2619
+ DtPopover: Qn,
2620
+ DtInput: Zn,
2620
2621
  NodeViewWrapper: mt
2621
2622
  },
2622
2623
  props: pt,
2623
2624
  data() {
2624
2625
  return {
2625
2626
  i18n: new xe(),
2626
- MAX_VARIABLE_ALT_LENGTH: hs
2627
+ MAX_VARIABLE_ALT_LENGTH: fs
2627
2628
  };
2628
2629
  },
2629
2630
  computed: {
@@ -2663,21 +2664,21 @@ const cs = /* @__PURE__ */ q(as, [["render", ls]]), ds = (t, e) => [...t.matchAl
2663
2664
  }
2664
2665
  }
2665
2666
  };
2666
- function ps(t, e, n, i, o, s) {
2667
- const r = T("dt-badge"), a = T("dt-button"), l = T("dt-input"), u = T("dt-popover"), d = T("node-view-wrapper");
2668
- return _(), A(d, { class: "d-d-inline-block" }, {
2669
- default: C(() => [
2670
- s.enableAltText ? (_(), A(u, {
2667
+ function ms(t, e, n, i, o, s) {
2668
+ const r = x("dt-badge"), a = x("dt-button"), l = x("dt-input"), u = x("dt-popover"), d = x("node-view-wrapper");
2669
+ return O(), E(d, { class: "d-d-inline-block" }, {
2670
+ default: T(() => [
2671
+ s.enableAltText ? (O(), E(u, {
2671
2672
  key: 0,
2672
2673
  padding: "small",
2673
2674
  "navigation-type": "arrow-keys",
2674
2675
  placement: "top-start",
2675
2676
  modal: !1
2676
2677
  }, {
2677
- anchor: C(({ attrs: c }) => [
2678
- M(a, ge(c, { kind: "unstyled" }), {
2679
- default: C(() => [
2680
- M(r, {
2678
+ anchor: T(({ attrs: c }) => [
2679
+ I(a, ge(c, { kind: "unstyled" }), {
2680
+ default: T(() => [
2681
+ I(r, {
2681
2682
  text: s.badgeLabel,
2682
2683
  contenteditable: "false"
2683
2684
  }, null, 8, ["text"])
@@ -2685,11 +2686,11 @@ function ps(t, e, n, i, o, s) {
2685
2686
  _: 1
2686
2687
  }, 16)
2687
2688
  ]),
2688
- content: C(({ close: c }) => [
2689
- M(l, {
2689
+ content: T(({ close: c }) => [
2690
+ I(l, {
2690
2691
  modelValue: s.altText,
2691
2692
  "onUpdate:modelValue": e[0] || (e[0] = (h) => s.altText = h),
2692
- "root-class": "d-p8 d-w332",
2693
+ "root-class": "d-p-100 d-w332",
2693
2694
  label: o.i18n.$t("DIALTONE_EDITOR_VARIABLE_LABEL"),
2694
2695
  placeholder: s.placeholderText,
2695
2696
  validate: {
@@ -2701,11 +2702,11 @@ function ps(t, e, n, i, o, s) {
2701
2702
  limitMaxLength: !0
2702
2703
  }
2703
2704
  },
2704
- onKeyup: mn((h) => c(), ["enter"])
2705
+ onKeyup: gn((h) => c(), ["enter"])
2705
2706
  }, null, 8, ["modelValue", "label", "placeholder", "validate", "onKeyup"])
2706
2707
  ]),
2707
2708
  _: 1
2708
- })) : (_(), A(r, {
2709
+ })) : (O(), E(r, {
2709
2710
  key: 1,
2710
2711
  text: s.badgeLabel,
2711
2712
  contenteditable: "false"
@@ -2714,7 +2715,7 @@ function ps(t, e, n, i, o, s) {
2714
2715
  _: 1
2715
2716
  });
2716
2717
  }
2717
- const ms = /* @__PURE__ */ q(fs, [["render", ps]]), gs = ce.create({
2718
+ const gs = /* @__PURE__ */ q(ps, [["render", ms]]), ys = ce.create({
2718
2719
  name: "variable",
2719
2720
  group: "inline",
2720
2721
  inline: !0,
@@ -2727,7 +2728,7 @@ const ms = /* @__PURE__ */ q(fs, [["render", ps]]), gs = ce.create({
2727
2728
  };
2728
2729
  },
2729
2730
  addNodeView() {
2730
- return gt(ms);
2731
+ return gt(gs);
2731
2732
  },
2732
2733
  addAttributes() {
2733
2734
  return {
@@ -2767,7 +2768,7 @@ const ms = /* @__PURE__ */ q(fs, [["render", ps]]), gs = ce.create({
2767
2768
  renderHTML({ node: t, HTMLAttributes: e }) {
2768
2769
  return [
2769
2770
  "variable",
2770
- st(this.options.HTMLAttributes, e, {
2771
+ ot(this.options.HTMLAttributes, e, {
2771
2772
  "data-variable-id": t.attrs.id,
2772
2773
  "data-alt-text": t.attrs.altText,
2773
2774
  "data-enable-alt-text": String(t.attrs.enableAltText)
@@ -2786,12 +2787,13 @@ const ms = /* @__PURE__ */ q(fs, [["render", ps]]), gs = ce.create({
2786
2787
  })
2787
2788
  };
2788
2789
  }
2789
- }), ys = {
2790
+ }), ws = {
2790
2791
  compatConfig: { MODE: 3 },
2791
2792
  name: "MentionSuggestion",
2792
2793
  components: {
2793
- DtAvatar: ni,
2794
- DtStack: yt
2794
+ DtAvatar: ii,
2795
+ DtStack: yt,
2796
+ DtText: _e
2795
2797
  },
2796
2798
  props: {
2797
2799
  item: {
@@ -2827,51 +2829,76 @@ const ms = /* @__PURE__ */ q(fs, [["render", ps]]), gs = ce.create({
2827
2829
  return this.item.showDetails;
2828
2830
  }
2829
2831
  }
2830
- }, ws = { class: "d-mention-suggestion__name" }, bs = {
2831
- key: 1,
2832
- class: "d-mention-suggestion__divider"
2833
- }, vs = {
2834
- key: 2,
2835
- class: "d-mention-suggestion__status"
2836
- };
2837
- function xs(t, e, n, i, o, s) {
2838
- const r = T("dt-avatar"), a = T("dt-stack");
2839
- return _(), A(a, {
2832
+ }, bs = { class: "d-mention-suggestion__name" };
2833
+ function vs(t, e, n, i, o, s) {
2834
+ const r = x("dt-avatar"), a = x("dt-text"), l = x("dt-stack");
2835
+ return O(), E(l, {
2840
2836
  direction: "row",
2841
2837
  class: "d-mention-suggestion__container",
2842
- gap: "400"
2838
+ gap: "100"
2843
2839
  }, {
2844
- default: C(() => [
2845
- M(r, {
2840
+ default: T(() => [
2841
+ I(r, {
2846
2842
  "full-name": s.name,
2847
2843
  "image-src": s.avatarSrc,
2848
2844
  "image-alt": s.name,
2849
2845
  "show-presence": s.showDetails,
2850
2846
  presence: s.presence,
2851
- size: "sm"
2847
+ size: 200
2852
2848
  }, null, 8, ["full-name", "image-src", "image-alt", "show-presence", "presence"]),
2853
- M(a, {
2849
+ I(l, {
2854
2850
  class: "d-mention-suggestion__details-container",
2855
- gap: "100"
2851
+ gap: "1"
2856
2852
  }, {
2857
- default: C(() => [
2858
- nt("span", ws, B(s.name), 1),
2859
- s.showDetails ? (_(), A(a, {
2853
+ default: T(() => [
2854
+ dt("span", bs, B(s.name), 1),
2855
+ s.showDetails ? (O(), E(l, {
2860
2856
  key: 0,
2861
2857
  direction: "row",
2862
- gap: "300",
2863
- class: "d-label--sm-plain"
2858
+ gap: "50"
2864
2859
  }, {
2865
- default: C(() => [
2866
- s.presenceText ? (_(), et("span", {
2860
+ default: T(() => [
2861
+ s.presenceText ? (O(), E(a, {
2867
2862
  key: 0,
2863
+ kind: "label",
2864
+ size: 200,
2865
+ strength: "normal",
2868
2866
  class: me(["d-mention-suggestion__presence", [s.presenceFontColorClass]])
2869
- }, B(s.presenceText), 3)) : rt("", !0),
2870
- s.status && s.presenceText ? (_(), et("div", bs, " • ")) : rt("", !0),
2871
- s.status ? (_(), et("div", vs, B(s.status), 1)) : rt("", !0)
2867
+ }, {
2868
+ default: T(() => [
2869
+ Y(B(s.presenceText), 1)
2870
+ ]),
2871
+ _: 1
2872
+ }, 8, ["class"])) : st("", !0),
2873
+ s.status && s.presenceText ? (O(), E(a, {
2874
+ key: 1,
2875
+ kind: "label",
2876
+ size: 200,
2877
+ strength: "normal",
2878
+ as: "div",
2879
+ class: "d-mention-suggestion__divider"
2880
+ }, {
2881
+ default: T(() => [...e[0] || (e[0] = [
2882
+ Y(" • ", -1)
2883
+ ])]),
2884
+ _: 1
2885
+ })) : st("", !0),
2886
+ s.status ? (O(), E(a, {
2887
+ key: 2,
2888
+ kind: "label",
2889
+ size: 200,
2890
+ strength: "normal",
2891
+ as: "div",
2892
+ class: "d-mention-suggestion__status"
2893
+ }, {
2894
+ default: T(() => [
2895
+ Y(B(s.status), 1)
2896
+ ]),
2897
+ _: 1
2898
+ })) : st("", !0)
2872
2899
  ]),
2873
2900
  _: 1
2874
- })) : rt("", !0)
2901
+ })) : st("", !0)
2875
2902
  ]),
2876
2903
  _: 1
2877
2904
  })
@@ -2879,19 +2906,19 @@ function xs(t, e, n, i, o, s) {
2879
2906
  _: 1
2880
2907
  });
2881
2908
  }
2882
- const Ts = /* @__PURE__ */ q(ys, [["render", xs]]), _s = {
2909
+ const xs = /* @__PURE__ */ q(ws, [["render", vs]]), Ts = {
2883
2910
  // This function comes from the user and passed to the editor directly.
2884
2911
  // This will also activate the mention plugin on the editor
2885
2912
  // items: ({ query }) => { return [] },
2886
2913
  allowSpaces: !0,
2887
- render: Et(Ts, "mention")
2888
- }, Os = {
2914
+ render: kt(xs, "mention")
2915
+ }, _s = {
2889
2916
  compatConfig: { MODE: 3 },
2890
2917
  name: "ChannelSuggestion",
2891
2918
  components: {
2892
2919
  DtStack: yt,
2893
- DtIconHash: ii,
2894
- DtIconLock: oi
2920
+ DtIconHash: oi,
2921
+ DtIconLock: si
2895
2922
  },
2896
2923
  props: {
2897
2924
  item: {
@@ -2905,34 +2932,35 @@ const Ts = /* @__PURE__ */ q(ys, [["render", xs]]), _s = {
2905
2932
  }
2906
2933
  }
2907
2934
  };
2908
- function Cs(t, e, n, i, o, s) {
2909
- const r = T("dt-icon-hash"), a = T("dt-icon-lock"), l = T("dt-stack");
2910
- return _(), A(l, {
2935
+ function Os(t, e, n, i, o, s) {
2936
+ const r = x("dt-icon-hash"), a = x("dt-icon-lock"), l = x("dt-stack");
2937
+ return O(), E(l, {
2911
2938
  direction: "row",
2912
2939
  gap: "400"
2913
2940
  }, {
2914
- default: C(() => [
2915
- n.item.locked ? (_(), A(a, {
2941
+ default: T(() => [
2942
+ n.item.locked ? (O(), E(a, {
2916
2943
  key: 1,
2917
2944
  size: "300"
2918
- })) : (_(), A(r, {
2945
+ })) : (O(), E(r, {
2919
2946
  key: 0,
2920
2947
  size: "300"
2921
2948
  })),
2922
- nt("span", null, B(s.name), 1)
2949
+ dt("span", null, B(s.name), 1)
2923
2950
  ]),
2924
2951
  _: 1
2925
2952
  });
2926
2953
  }
2927
- const Es = /* @__PURE__ */ q(Os, [["render", Cs]]), ks = {
2954
+ const Cs = /* @__PURE__ */ q(_s, [["render", Os]]), ks = {
2928
2955
  // This function comes from the user and passed to the editor directly.
2929
2956
  // This will also activate the mention plugin on the editor
2930
2957
  // items: ({ query }) => { return [] },
2931
2958
  allowSpaces: !0,
2932
- render: Et(Es, "channel")
2933
- }, Ss = {
2959
+ render: kt(Cs, "channel")
2960
+ }, Es = {
2934
2961
  compatConfig: { MODE: 3 },
2935
2962
  name: "SlashCommandSuggestion",
2963
+ components: { DtText: _e },
2936
2964
  props: {
2937
2965
  item: {
2938
2966
  type: Object,
@@ -2950,29 +2978,48 @@ const Es = /* @__PURE__ */ q(Os, [["render", Cs]]), ks = {
2950
2978
  return this.item.parametersExample;
2951
2979
  }
2952
2980
  }
2953
- }, Ls = { class: "d-body--md-compact" }, As = { key: 0 }, Is = { class: "d-body--sm d-fc-tertiary" };
2954
- function Ds(t, e, n, i, o, s) {
2955
- return _(), et("div", null, [
2956
- nt("div", Ls, [
2957
- nt("span", null, "/" + B(s.command), 1),
2958
- s.parametersExample ? (_(), et("span", As, B(s.parametersExample), 1)) : rt("", !0)
2959
- ]),
2960
- nt("div", Is, B(s.description), 1)
2981
+ }, Ss = { key: 0 };
2982
+ function Ls(t, e, n, i, o, s) {
2983
+ const r = x("dt-text");
2984
+ return O(), ht("div", null, [
2985
+ I(r, {
2986
+ kind: "body",
2987
+ size: 300,
2988
+ density: 300,
2989
+ as: "div"
2990
+ }, {
2991
+ default: T(() => [
2992
+ dt("span", null, "/" + B(s.command), 1),
2993
+ s.parametersExample ? (O(), ht("span", Ss, B(s.parametersExample), 1)) : st("", !0)
2994
+ ]),
2995
+ _: 1
2996
+ }),
2997
+ I(r, {
2998
+ kind: "body",
2999
+ size: 200,
3000
+ tone: "tertiary",
3001
+ as: "div"
3002
+ }, {
3003
+ default: T(() => [
3004
+ Y(B(s.description), 1)
3005
+ ]),
3006
+ _: 1
3007
+ })
2961
3008
  ]);
2962
3009
  }
2963
- const Rs = /* @__PURE__ */ q(Ss, [["render", Ds]]), Ms = {
3010
+ const As = /* @__PURE__ */ q(Es, [["render", Ls]]), Is = {
2964
3011
  // This function comes from the user and passed to the editor directly.
2965
3012
  // This will also activate the mention plugin on the editor
2966
3013
  // items: ({ query }) => { return [] },
2967
3014
  allowSpaces: !0,
2968
3015
  startOfLine: !0,
2969
- render: Et(Rs, "slash-command")
2970
- }, Hs = {
3016
+ render: kt(As, "slash-command")
3017
+ }, Ds = {
2971
3018
  compatConfig: { MODE: 3 },
2972
3019
  name: "DtRichTextEditor",
2973
3020
  components: {
2974
- EditorContent: Ke,
2975
- BubbleMenu: no,
3021
+ EditorContent: qe,
3022
+ BubbleMenu: io,
2976
3023
  DtButton: Te,
2977
3024
  DtStack: yt
2978
3025
  },
@@ -3025,7 +3072,7 @@ const Rs = /* @__PURE__ */ q(Ss, [["render", Ds]]), Ms = {
3025
3072
  /**
3026
3073
  * Additional class name for the input element. Only accepts a String value
3027
3074
  * because this is passed to the editor via options. For multiple classes,
3028
- * join them into one string, e.g. "d-p8 d-hmx96"
3075
+ * join them into one string, e.g. "d-p-100 d-hmx-150"
3029
3076
  */
3030
3077
  inputClass: {
3031
3078
  type: String,
@@ -3046,7 +3093,7 @@ const Rs = /* @__PURE__ */ q(Ss, [["render", Ds]]), Ms = {
3046
3093
  type: [Boolean, String, Number],
3047
3094
  default: !1,
3048
3095
  validator(t) {
3049
- return typeof t == "string" ? ei.includes(t) : !0;
3096
+ return typeof t == "string" ? ni.includes(t) : !0;
3050
3097
  }
3051
3098
  },
3052
3099
  /**
@@ -3059,7 +3106,7 @@ const Rs = /* @__PURE__ */ q(Ss, [["render", Ds]]), Ms = {
3059
3106
  type: String,
3060
3107
  default: "html",
3061
3108
  validator(t) {
3062
- return ti.includes(t);
3109
+ return ei.includes(t);
3063
3110
  }
3064
3111
  },
3065
3112
  /**
@@ -3433,15 +3480,15 @@ const Rs = /* @__PURE__ */ q(Ss, [["render", Ds]]), Ms = {
3433
3480
  },
3434
3481
  // eslint-disable-next-line complexity
3435
3482
  extensions() {
3436
- const t = [bn, Dn, vn, _n];
3437
- t.push(this.useDivTags ? Zo : ye), this.allowBold && t.push(On), this.allowBlockquote && t.push(gn), this.allowBulletList && (t.push(Cn), t.push(En.extend({
3483
+ const t = [vn, Rn, xn, On];
3484
+ t.push(this.useDivTags ? Qo : ye), this.allowBold && t.push(Cn), this.allowBlockquote && t.push(yn), this.allowBulletList && (t.push(kn), t.push(En.extend({
3438
3485
  renderText({ node: i }) {
3439
3486
  return i.textContent;
3440
3487
  }
3441
- })), t.push(kn)), this.allowItalic && t.push(Sn), this.allowStrike && t.push(An), this.allowUnderline && t.push(In), this.placeholder && t.push(
3442
- xn.configure({ placeholder: this.placeholder })
3488
+ })), t.push(Sn)), this.allowItalic && t.push(Ln), this.allowStrike && t.push(In), this.allowUnderline && t.push(Dn), this.placeholder && t.push(
3489
+ Tn.configure({ placeholder: this.placeholder })
3443
3490
  );
3444
- const e = this, n = sn.create({
3491
+ const e = this, n = rn.create({
3445
3492
  addKeyboardShortcuts() {
3446
3493
  return {
3447
3494
  "Shift-Enter": ({ editor: i }) => e.allowLineBreaks ? !1 : (i.commands.first(({ commands: o }) => [
@@ -3455,7 +3502,7 @@ const Rs = /* @__PURE__ */ q(Ss, [["render", Ds]]), Ms = {
3455
3502
  };
3456
3503
  }
3457
3504
  });
3458
- if (t.push(n), this.link && t.push(Ln.extend({
3505
+ if (t.push(n), this.link && t.push(An.extend({
3459
3506
  inclusive: !1,
3460
3507
  addKeyboardShortcuts() {
3461
3508
  return {
@@ -3469,28 +3516,28 @@ const Rs = /* @__PURE__ */ q(Ss, [["render", Ds]]), Ms = {
3469
3516
  openOnClick: !1,
3470
3517
  autolink: !0,
3471
3518
  protocols: Wt
3472
- })), this.customLink && t.push(this.getExtension(Yo, this.customLink)), this.mentionSuggestion) {
3473
- const i = { ...this.mentionSuggestion, ..._s };
3474
- t.push(ns.configure({ suggestion: i }));
3519
+ })), this.customLink && t.push(this.getExtension(Go, this.customLink)), this.mentionSuggestion) {
3520
+ const i = { ...this.mentionSuggestion, ...Ts };
3521
+ t.push(is.configure({ suggestion: i }));
3475
3522
  }
3476
3523
  if (this.channelSuggestion) {
3477
3524
  const i = { ...this.channelSuggestion, ...ks };
3478
- t.push(rs.configure({ suggestion: i }));
3525
+ t.push(as.configure({ suggestion: i }));
3479
3526
  }
3480
3527
  if (this.slashCommandSuggestion) {
3481
- const i = { ...this.slashCommandSuggestion, ...Ms };
3482
- t.push(us.configure({
3528
+ const i = { ...this.slashCommandSuggestion, ...Is };
3529
+ t.push(hs.configure({
3483
3530
  suggestion: i,
3484
3531
  onSelectedCommand: (o) => {
3485
3532
  this.$emit("selected-command", o);
3486
3533
  }
3487
3534
  }));
3488
3535
  }
3489
- return this.allowVariable && t.push(gs.configure({
3536
+ return this.allowVariable && t.push(ys.configure({
3490
3537
  variableItems: this.variableItems
3491
- })), t.push(zo), t.push(Rn.configure({
3538
+ })), t.push(Fo), t.push(Mn.configure({
3492
3539
  types: ["paragraph"]
3493
- })), this.allowCode && t.push(wn), this.allowCodeblock && t.push(yn.extend({
3540
+ })), this.allowCode && t.push(bn), this.allowCodeblock && t.push(wn.extend({
3494
3541
  renderText({ node: i }) {
3495
3542
  return `\`\`\`
3496
3543
  ${i.textContent}
@@ -3500,23 +3547,23 @@ ${i.textContent}
3500
3547
  HTMLAttributes: {
3501
3548
  class: "d-rich-text-editor__code-block"
3502
3549
  }
3503
- })), this.allowInlineImages && t.push(Go.configure({
3550
+ })), this.allowInlineImages && t.push(Jo.configure({
3504
3551
  resize: {
3505
3552
  enabled: this.allowImageResize,
3506
3553
  alwaysPreserveAspectRatio: !0
3507
3554
  }
3508
- })), (this.allowFontFamily || this.allowFontColor || this.allowFontSize || this.allowBackgroundColor || this.allowLineHeight) && (t.push(Un.configure({
3555
+ })), (this.allowFontFamily || this.allowFontColor || this.allowFontSize || this.allowBackgroundColor || this.allowLineHeight) && (t.push(Vn.configure({
3509
3556
  color: this.allowFontColor,
3510
3557
  backgroundColor: this.allowBackgroundColor,
3511
3558
  fontFamily: this.allowFontFamily,
3512
3559
  fontSize: this.allowFontSize,
3513
3560
  lineHeight: this.allowLineHeight
3514
- })), t.push(ho)), this.additionalExtensions.length && t.push(...this.additionalExtensions), this.allowTables && t.push(
3515
- ao.configure({ resizable: !0 }),
3516
- lo,
3517
- uo,
3561
+ })), t.push(fo)), this.additionalExtensions.length && t.push(...this.additionalExtensions), this.allowTables && t.push(
3562
+ lo.configure({ resizable: !0 }),
3518
3563
  co,
3519
- Tn
3564
+ ho,
3565
+ uo,
3566
+ _n
3520
3567
  ), t;
3521
3568
  },
3522
3569
  inputAttrs() {
@@ -3557,11 +3604,11 @@ ${i.textContent}
3557
3604
  this.destroyEditor();
3558
3605
  },
3559
3606
  mounted() {
3560
- Xn(jt(this.$el), this.$options.name), this.processValue(this.modelValue, !1);
3607
+ Yn(jt(this.$el), this.$options.name), this.processValue(this.modelValue, !1);
3561
3608
  },
3562
3609
  methods: {
3563
3610
  createEditor() {
3564
- this.editor = new qe({
3611
+ this.editor = new Xe({
3565
3612
  autofocus: this.autoFocus,
3566
3613
  content: this.modelValue,
3567
3614
  editable: this.editable,
@@ -3635,7 +3682,7 @@ ${i.textContent}
3635
3682
  processValue(t, e = !0) {
3636
3683
  if (!this.editor) return;
3637
3684
  const n = this.getOutput();
3638
- if (!(e && si(t, n))) {
3685
+ if (!(e && ri(t, n))) {
3639
3686
  if (typeof t == "string" && this.outputFormat === "text") {
3640
3687
  const i = new RegExp(`(${we})`, "g");
3641
3688
  t = t == null ? void 0 : t.replace(i, '<emoji-component code="$1"></emoji-component>');
@@ -3783,11 +3830,11 @@ ${i.textContent}
3783
3830
  this.editor.commands.focus();
3784
3831
  }
3785
3832
  }
3786
- }, Bs = { class: "d-popover__dialog" };
3787
- function $s(t, e, n, i, o, s) {
3788
- const r = T("dt-button"), a = T("dt-stack"), l = T("bubble-menu"), u = T("editor-content");
3789
- return _(), et("div", null, [
3790
- o.editor && n.link && !n.hideLinkBubbleMenu ? (_(), A(l, {
3833
+ }, Rs = { class: "d-popover__dialog" };
3834
+ function Ms(t, e, n, i, o, s) {
3835
+ const r = x("dt-button"), a = x("dt-stack"), l = x("bubble-menu"), u = x("editor-content");
3836
+ return O(), ht("div", null, [
3837
+ o.editor && n.link && !n.hideLinkBubbleMenu ? (O(), E(l, {
3791
3838
  key: 0,
3792
3839
  editor: o.editor,
3793
3840
  "should-show": s.bubbleMenuShouldShow,
@@ -3795,41 +3842,41 @@ function $s(t, e, n, i, o, s) {
3795
3842
  "append-to": o.appendTo,
3796
3843
  style: { visibility: "visible" }
3797
3844
  }, {
3798
- default: C(() => [
3799
- nt("div", Bs, [
3800
- M(a, {
3845
+ default: T(() => [
3846
+ dt("div", Rs, [
3847
+ I(a, {
3801
3848
  direction: "row",
3802
3849
  class: "d-rich-text-editor-bubble-menu__button-stack",
3803
3850
  gap: "0"
3804
3851
  }, {
3805
- default: C(() => [
3806
- M(r, {
3852
+ default: T(() => [
3853
+ I(r, {
3807
3854
  kind: "muted",
3808
3855
  importance: "clear",
3809
3856
  onClick: s.editLink
3810
3857
  }, {
3811
- default: C(() => [
3812
- lt(B(o.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL")), 1)
3858
+ default: T(() => [
3859
+ Y(B(o.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL")), 1)
3813
3860
  ]),
3814
3861
  _: 1
3815
3862
  }, 8, ["onClick"]),
3816
- M(r, {
3863
+ I(r, {
3817
3864
  kind: "muted",
3818
3865
  importance: "clear",
3819
3866
  onClick: s.openLink
3820
3867
  }, {
3821
- default: C(() => [
3822
- lt(B(o.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL")), 1)
3868
+ default: T(() => [
3869
+ Y(B(o.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL")), 1)
3823
3870
  ]),
3824
3871
  _: 1
3825
3872
  }, 8, ["onClick"]),
3826
- M(r, {
3873
+ I(r, {
3827
3874
  kind: "danger",
3828
3875
  importance: "clear",
3829
3876
  onClick: s.removeLink
3830
3877
  }, {
3831
- default: C(() => [
3832
- lt(B(o.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL")), 1)
3878
+ default: T(() => [
3879
+ Y(B(o.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL")), 1)
3833
3880
  ]),
3834
3881
  _: 1
3835
3882
  }, 8, ["onClick"])
@@ -3839,8 +3886,8 @@ function $s(t, e, n, i, o, s) {
3839
3886
  ])
3840
3887
  ]),
3841
3888
  _: 1
3842
- }, 8, ["editor", "should-show", "options", "append-to"])) : rt("", !0),
3843
- M(u, ge({
3889
+ }, 8, ["editor", "should-show", "options", "append-to"])) : st("", !0),
3890
+ I(u, ge({
3844
3891
  ref: "editor",
3845
3892
  editor: o.editor,
3846
3893
  class: "d-rich-text-editor",
@@ -3848,8 +3895,8 @@ function $s(t, e, n, i, o, s) {
3848
3895
  }, s.attrs), null, 16, ["editor"])
3849
3896
  ]);
3850
3897
  }
3851
- const Lr = /* @__PURE__ */ q(Hs, [["render", $s]]);
3898
+ const Er = /* @__PURE__ */ q(Ds, [["render", Ms]]);
3852
3899
  export {
3853
- Lr as default
3900
+ Er as default
3854
3901
  };
3855
3902
  //# sourceMappingURL=rich-text-editor.js.map