@dialpad/dialtone-vue 3.219.0 → 3.220.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 (970) hide show
  1. package/dist/{attachment_carousel-CouFqFMw.js → attachment_carousel-1qxTI-NN.js} +5 -5
  2. package/dist/attachment_carousel-1qxTI-NN.js.map +1 -0
  3. package/dist/attachment_carousel-wnZS3vEt.cjs +2 -0
  4. package/dist/attachment_carousel-wnZS3vEt.cjs.map +1 -0
  5. package/dist/{combobox-DgClbLOg.js → combobox-BQBKrDTW.js} +36 -35
  6. package/dist/combobox-BQBKrDTW.js.map +1 -0
  7. package/dist/combobox-Da7wBh3G.cjs +3 -0
  8. package/dist/combobox-Da7wBh3G.cjs.map +1 -0
  9. package/dist/common/composables/useIndicatorAnimation.cjs +2 -0
  10. package/dist/common/composables/useIndicatorAnimation.cjs.map +1 -0
  11. package/dist/common/composables/useIndicatorAnimation.d.ts +18 -0
  12. package/dist/common/composables/useIndicatorAnimation.d.ts.map +1 -0
  13. package/dist/common/composables/useIndicatorAnimation.js +78 -0
  14. package/dist/common/composables/useIndicatorAnimation.js.map +1 -0
  15. package/dist/common/constants/index.cjs +1 -1
  16. package/dist/common/constants/index.cjs.map +1 -1
  17. package/dist/common/constants/index.d.ts +27 -21
  18. package/dist/common/constants/index.d.ts.map +1 -1
  19. package/dist/common/constants/index.js +25 -14
  20. package/dist/common/constants/index.js.map +1 -1
  21. package/dist/common/constants/sizes.cjs +2 -0
  22. package/dist/common/constants/sizes.cjs.map +1 -0
  23. package/dist/common/constants/sizes.d.ts +22 -0
  24. package/dist/common/constants/sizes.d.ts.map +1 -0
  25. package/dist/common/constants/sizes.js +19 -0
  26. package/dist/common/constants/sizes.js.map +1 -0
  27. package/dist/common/mixins/index.cjs +1 -1
  28. package/dist/common/mixins/index.d.ts +1 -0
  29. package/dist/common/mixins/index.js +2 -1
  30. package/dist/common/mixins/input.cjs +1 -1
  31. package/dist/common/mixins/input.cjs.map +1 -1
  32. package/dist/common/mixins/input.d.ts +27 -33
  33. package/dist/common/mixins/input.d.ts.map +1 -1
  34. package/dist/common/mixins/input.js +0 -8
  35. package/dist/common/mixins/input.js.map +1 -1
  36. package/dist/common/mixins/mode.cjs +2 -0
  37. package/dist/common/mixins/mode.cjs.map +1 -0
  38. package/dist/common/mixins/mode.d.ts +25 -0
  39. package/dist/common/mixins/mode.d.ts.map +1 -0
  40. package/dist/common/mixins/mode.js +62 -0
  41. package/dist/common/mixins/mode.js.map +1 -0
  42. package/dist/common/mode_constants.d.ts +37 -0
  43. package/dist/common/mode_constants.d.ts.map +1 -0
  44. package/dist/common/sr_only_close_button.vue.d.ts +53 -7
  45. package/dist/common/sr_only_close_button.vue.d.ts.map +1 -1
  46. package/dist/common/utils/index.cjs +1 -1
  47. package/dist/common/utils/index.cjs.map +1 -1
  48. package/dist/common/utils/index.d.ts +2 -8
  49. package/dist/common/utils/index.d.ts.map +1 -1
  50. package/dist/common/utils/index.js +79 -88
  51. package/dist/common/utils/index.js.map +1 -1
  52. package/dist/component-documentation.json +1 -1
  53. package/dist/components/avatar/avatar.vue.d.ts +85 -27
  54. package/dist/components/avatar/avatar.vue.d.ts.map +1 -1
  55. package/dist/components/avatar/avatar_constants.d.ts +86 -29
  56. package/dist/components/avatar/avatar_constants.d.ts.map +1 -1
  57. package/dist/components/avatar/index.d.ts +1 -1
  58. package/dist/components/badge/badge.vue.d.ts +1 -1
  59. package/dist/components/badge/badge.vue.d.ts.map +1 -1
  60. package/dist/components/badge/badge_constants.d.ts +1 -1
  61. package/dist/components/banner/banner.vue.d.ts +269 -34
  62. package/dist/components/banner/banner.vue.d.ts.map +1 -1
  63. package/dist/components/box/box.vue.d.ts +73 -0
  64. package/dist/components/box/box.vue.d.ts.map +1 -0
  65. package/dist/components/box/box_constants.d.ts +11 -0
  66. package/dist/components/box/box_constants.d.ts.map +1 -0
  67. package/dist/components/box/index.d.ts +3 -0
  68. package/dist/components/box/index.d.ts.map +1 -0
  69. package/dist/components/box/validators.d.ts +11 -0
  70. package/dist/components/box/validators.d.ts.map +1 -0
  71. package/dist/components/breadcrumbs/breadcrumb_item.vue.d.ts +26 -17
  72. package/dist/components/breadcrumbs/breadcrumb_item.vue.d.ts.map +1 -1
  73. package/dist/components/breadcrumbs/breadcrumbs.vue.d.ts +25 -16
  74. package/dist/components/button/button.vue.d.ts +53 -7
  75. package/dist/components/button/button.vue.d.ts.map +1 -1
  76. package/dist/components/button/button_constants.d.ts +29 -20
  77. package/dist/components/button/button_constants.d.ts.map +1 -1
  78. package/dist/components/card/card.vue.d.ts +0 -9
  79. package/dist/components/card/card.vue.d.ts.map +1 -1
  80. package/dist/components/checkbox/checkbox.vue.d.ts +183 -10
  81. package/dist/components/checkbox/checkbox.vue.d.ts.map +1 -1
  82. package/dist/components/checkbox/checkbox_constants.d.ts +2 -2
  83. package/dist/components/checkbox_group/checkbox_group.vue.d.ts +142 -0
  84. package/dist/components/chip/chip.vue.d.ts +62 -16
  85. package/dist/components/chip/chip.vue.d.ts.map +1 -1
  86. package/dist/components/chip/chip_constants.d.ts +24 -21
  87. package/dist/components/chip/chip_constants.d.ts.map +1 -1
  88. package/dist/components/codeblock/codeblock.vue.d.ts +25 -2
  89. package/dist/components/codeblock/codeblock.vue.d.ts.map +1 -1
  90. package/dist/components/codeblock/codeblock_constants.d.ts +9 -0
  91. package/dist/components/codeblock/codeblock_constants.d.ts.map +1 -0
  92. package/dist/components/collapsible/collapsible.vue.d.ts +53 -7
  93. package/dist/components/collapsible/collapsible.vue.d.ts.map +1 -1
  94. package/dist/components/combobox/combobox.vue.d.ts +113 -38
  95. package/dist/components/combobox/combobox.vue.d.ts.map +1 -1
  96. package/dist/components/combobox/combobox_empty-list.vue.d.ts +40 -7
  97. package/dist/components/combobox/combobox_empty-list.vue.d.ts.map +1 -1
  98. package/dist/components/combobox/combobox_loading-list.vue.d.ts +64 -22
  99. package/dist/components/combobox/combobox_loading-list.vue.d.ts.map +1 -1
  100. package/dist/components/combobox_multi_select/combobox_multi_select_constants.d.ts +16 -13
  101. package/dist/components/combobox_multi_select/combobox_multi_select_constants.d.ts.map +1 -1
  102. package/dist/components/combobox_with_popover/combobox_with_popover.vue.d.ts +399 -93
  103. package/dist/components/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
  104. package/dist/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
  105. package/dist/components/dropdown/dropdown.vue.d.ts +175 -19
  106. package/dist/components/dropdown/dropdown.vue.d.ts.map +1 -1
  107. package/dist/components/emoji/emoji.vue.d.ts +24 -15
  108. package/dist/components/emoji_picker/emoji_picker.vue.d.ts +204 -22
  109. package/dist/components/emoji_picker/modules/emoji_search.vue.d.ts +204 -22
  110. package/dist/components/emoji_picker/modules/emoji_search.vue.d.ts.map +1 -1
  111. package/dist/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
  112. package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts +24 -15
  113. package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts.map +1 -1
  114. package/dist/components/empty_state/empty_state.vue.d.ts.map +1 -1
  115. package/dist/components/empty_state/empty_state_constants.d.ts +52 -31
  116. package/dist/components/empty_state/empty_state_constants.d.ts.map +1 -1
  117. package/dist/components/filter_pill/filter_pill.vue.d.ts +4491 -0
  118. package/dist/components/filter_pill/filter_pill.vue.d.ts.map +1 -0
  119. package/dist/components/filter_pill/index.d.ts +2 -0
  120. package/dist/components/filter_pill/index.d.ts.map +1 -0
  121. package/dist/components/hovercard/hovercard.vue.d.ts +380 -41
  122. package/dist/components/hovercard/hovercard.vue.d.ts.map +1 -1
  123. package/dist/components/image_viewer/image_viewer.vue.d.ts +131 -14
  124. package/dist/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  125. package/dist/components/input/input.vue.d.ts +195 -19
  126. package/dist/components/input/input.vue.d.ts.map +1 -1
  127. package/dist/components/input/input_constants.d.ts +46 -48
  128. package/dist/components/input/input_constants.d.ts.map +1 -1
  129. package/dist/components/input_group/input_group.vue.d.ts +142 -0
  130. package/dist/components/input_group/input_group.vue.d.ts.map +1 -1
  131. package/dist/components/item_layout/item_layout.vue.d.ts +37 -6
  132. package/dist/components/item_layout/item_layout.vue.d.ts.map +1 -1
  133. package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.d.ts +142 -0
  134. package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.d.ts.map +1 -1
  135. package/dist/components/link/index.d.ts +1 -1
  136. package/dist/components/link/link.vue.d.ts +25 -6
  137. package/dist/components/link/link_constants.d.ts +4 -4
  138. package/dist/components/link/link_constants.d.ts.map +1 -1
  139. package/dist/components/list_item/list_item.vue.d.ts +40 -7
  140. package/dist/components/list_item/list_item.vue.d.ts.map +1 -1
  141. package/dist/components/modal/modal.vue.d.ts +292 -97
  142. package/dist/components/modal/modal.vue.d.ts.map +1 -1
  143. package/dist/components/modal/modal_constants.d.ts +7 -6
  144. package/dist/components/mode_island/index.d.ts +3 -0
  145. package/dist/components/mode_island/index.d.ts.map +1 -0
  146. package/dist/components/mode_island/mode_island.vue.d.ts +3 -0
  147. package/dist/components/mode_island/mode_island.vue.d.ts.map +1 -0
  148. package/dist/components/mode_island/mode_island_constants.d.ts +10 -0
  149. package/dist/components/mode_island/mode_island_constants.d.ts.map +1 -0
  150. package/dist/components/mode_island/utils.d.ts +12 -0
  151. package/dist/components/mode_island/utils.d.ts.map +1 -0
  152. package/dist/components/mode_island/validators.d.ts +6 -0
  153. package/dist/components/mode_island/validators.d.ts.map +1 -0
  154. package/dist/components/motion_text/motion_text_constants.d.ts +27 -23
  155. package/dist/components/motion_text/motion_text_constants.d.ts.map +1 -1
  156. package/dist/components/notice/notice.vue.d.ts +269 -34
  157. package/dist/components/notice/notice.vue.d.ts.map +1 -1
  158. package/dist/components/notice/notice_action.vue.d.ts +112 -20
  159. package/dist/components/notice/notice_action.vue.d.ts.map +1 -1
  160. package/dist/components/notice/notice_constants.d.ts.map +1 -1
  161. package/dist/components/notice/notice_content.vue.d.ts +144 -1
  162. package/dist/components/notice/notice_content.vue.d.ts.map +1 -1
  163. package/dist/components/notice/notice_icon.vue.d.ts +2 -2
  164. package/dist/components/notice/notice_icon.vue.d.ts.map +1 -1
  165. package/dist/components/pagination/pagination.vue.d.ts +56 -10
  166. package/dist/components/pagination/pagination.vue.d.ts.map +1 -1
  167. package/dist/components/popover/popover.vue.d.ts +163 -18
  168. package/dist/components/popover/popover.vue.d.ts.map +1 -1
  169. package/dist/components/popover/popover_header_footer.vue.d.ts +62 -7
  170. package/dist/components/popover/popover_header_footer.vue.d.ts.map +1 -1
  171. package/dist/components/radio/radio.vue.d.ts +178 -6
  172. package/dist/components/radio/radio.vue.d.ts.map +1 -1
  173. package/dist/components/radio/radio_constants.d.ts +2 -2
  174. package/dist/components/radio_group/radio_group.vue.d.ts +142 -0
  175. package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts +25 -6
  176. package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts.map +1 -1
  177. package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.d.ts.map +1 -1
  178. package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +24 -15
  179. package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.d.ts +24 -15
  180. package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +25 -6
  181. package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts +227 -27
  182. package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts.map +1 -1
  183. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.d.ts +144 -1
  184. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.d.ts.map +1 -1
  185. package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.d.ts +40 -7
  186. package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.d.ts.map +1 -1
  187. package/dist/components/rich_text_editor/extensions/variable/VariableComponent.vue.d.ts +411 -44
  188. package/dist/components/rich_text_editor/extensions/variable/VariableComponent.vue.d.ts.map +1 -1
  189. package/dist/components/rich_text_editor/rich_text_editor.vue.d.ts +59 -13
  190. package/dist/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  191. package/dist/components/root_layout/root_layout_constants.d.ts +2 -0
  192. package/dist/components/root_layout/root_layout_constants.d.ts.map +1 -1
  193. package/dist/components/scroller/modules/core_scroller.vue.d.ts +2 -2
  194. package/dist/components/scroller/modules/dynamic_scroller.vue.d.ts +12 -12
  195. package/dist/components/scroller/scroller.vue.d.ts +18 -18
  196. package/dist/components/segmented_control/index.d.ts +4 -0
  197. package/dist/components/segmented_control/index.d.ts.map +1 -0
  198. package/dist/components/segmented_control/segmented_control.vue.d.ts +226 -0
  199. package/dist/components/segmented_control/segmented_control.vue.d.ts.map +1 -0
  200. package/dist/components/segmented_control/segmented_control_constants.d.ts +41 -0
  201. package/dist/components/segmented_control/segmented_control_constants.d.ts.map +1 -0
  202. package/dist/components/segmented_control/segmented_control_item.vue.d.ts +35 -0
  203. package/dist/components/segmented_control/segmented_control_item.vue.d.ts.map +1 -0
  204. package/dist/components/select_menu/select_menu.vue.d.ts +189 -31
  205. package/dist/components/select_menu/select_menu.vue.d.ts.map +1 -1
  206. package/dist/components/select_menu/select_menu_constants.d.ts +14 -9
  207. package/dist/components/select_menu/select_menu_constants.d.ts.map +1 -1
  208. package/dist/components/skeleton/skeleton-list-item.vue.d.ts +13 -10
  209. package/dist/components/skeleton/skeleton-paragraph.vue.d.ts +3 -0
  210. package/dist/components/skeleton/skeleton-shape.vue.d.ts +5 -5
  211. package/dist/components/skeleton/skeleton-text.vue.d.ts +3 -0
  212. package/dist/components/skeleton/skeleton.vue.d.ts +24 -15
  213. package/dist/components/skeleton/skeleton_constants.d.ts +18 -13
  214. package/dist/components/skeleton/skeleton_constants.d.ts.map +1 -1
  215. package/dist/components/split_button/{split_button-omega.vue.d.ts → split_button-end.vue.d.ts} +64 -13
  216. package/dist/components/split_button/{split_button-omega.vue.d.ts.map → split_button-end.vue.d.ts.map} +1 -1
  217. package/dist/components/split_button/{split_button-alpha.vue.d.ts → split_button-start.vue.d.ts} +125 -11
  218. package/dist/components/split_button/split_button-start.vue.d.ts.map +1 -0
  219. package/dist/components/split_button/split_button.vue.d.ts +602 -78
  220. package/dist/components/split_button/split_button.vue.d.ts.map +1 -1
  221. package/dist/components/split_button/split_button_constants.d.ts +12 -7
  222. package/dist/components/split_button/split_button_constants.d.ts.map +1 -1
  223. package/dist/components/stack/stack_constants.d.ts.map +1 -1
  224. package/dist/components/tab/index.d.ts +1 -1
  225. package/dist/components/tab/tab.vue.d.ts +86 -11
  226. package/dist/components/tab/tab.vue.d.ts.map +1 -1
  227. package/dist/components/tab/tab_group.vue.d.ts +125 -10
  228. package/dist/components/tab/tab_group.vue.d.ts.map +1 -1
  229. package/dist/components/tab/tabs_constants.d.ts +23 -5
  230. package/dist/components/tab/tabs_constants.d.ts.map +1 -1
  231. package/dist/components/text/index.d.ts +3 -0
  232. package/dist/components/text/index.d.ts.map +1 -0
  233. package/dist/components/text/text.vue.d.ts +145 -0
  234. package/dist/components/text/text.vue.d.ts.map +1 -0
  235. package/dist/components/text/text_constants.d.ts +93 -0
  236. package/dist/components/text/text_constants.d.ts.map +1 -0
  237. package/dist/components/toast/layouts/toast_layout_alternate.vue.d.ts +264 -29
  238. package/dist/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
  239. package/dist/components/toast/layouts/toast_layout_alternate_icon.vue.d.ts +2 -2
  240. package/dist/components/toast/layouts/toast_layout_alternate_icon.vue.d.ts.map +1 -1
  241. package/dist/components/toast/layouts/toast_layout_default.vue.d.ts +267 -32
  242. package/dist/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -1
  243. package/dist/components/toast/toast.vue.d.ts +1125 -185
  244. package/dist/components/toast/toast.vue.d.ts.map +1 -1
  245. package/dist/components/toggle/toggle.vue.d.ts +19 -19
  246. package/dist/components/toggle/toggle.vue.d.ts.map +1 -1
  247. package/dist/components/toggle/toggle_constants.d.ts +6 -4
  248. package/dist/components/toggle/toggle_constants.d.ts.map +1 -1
  249. package/dist/components/tooltip/tooltip.vue.d.ts +31 -5
  250. package/dist/components/tooltip/tooltip.vue.d.ts.map +1 -1
  251. package/dist/{datepicker-LVDRC6Lf.js → datepicker-B2nhxiCg.js} +20 -24
  252. package/dist/datepicker-B2nhxiCg.js.map +1 -0
  253. package/dist/datepicker-CZrNL0Yn.cjs +2 -0
  254. package/dist/datepicker-CZrNL0Yn.cjs.map +1 -0
  255. package/dist/dialtone-vue.cjs +1 -1
  256. package/dist/dialtone-vue.css +1 -1
  257. package/dist/dialtone-vue.js +170 -150
  258. package/dist/directives/focusgroup_directive/focusgroup.d.ts +6 -0
  259. package/dist/directives/focusgroup_directive/focusgroup.d.ts.map +1 -0
  260. package/dist/directives/focusgroup_directive/focusgroup_constants.d.ts +74 -0
  261. package/dist/directives/focusgroup_directive/focusgroup_constants.d.ts.map +1 -0
  262. package/dist/directives/focusgroup_directive/focusgroup_utils.d.ts +15 -0
  263. package/dist/directives/focusgroup_directive/focusgroup_utils.d.ts.map +1 -0
  264. package/dist/directives/focusgroup_directive/index.d.ts +2 -0
  265. package/dist/directives/focusgroup_directive/index.d.ts.map +1 -0
  266. package/dist/directives/focustrap_directive/focustrap.d.ts +6 -0
  267. package/dist/directives/focustrap_directive/focustrap.d.ts.map +1 -0
  268. package/dist/directives/focustrap_directive/focustrap_constants.d.ts +7 -0
  269. package/dist/directives/focustrap_directive/focustrap_constants.d.ts.map +1 -0
  270. package/dist/directives/focustrap_directive/focustrap_utils.d.ts +5 -0
  271. package/dist/directives/focustrap_directive/focustrap_utils.d.ts.map +1 -0
  272. package/dist/directives/focustrap_directive/index.d.ts +2 -0
  273. package/dist/directives/focustrap_directive/index.d.ts.map +1 -0
  274. package/dist/directives/mode_directive/index.d.ts +2 -0
  275. package/dist/directives/mode_directive/index.d.ts.map +1 -0
  276. package/dist/directives/mode_directive/mode.d.ts +6 -0
  277. package/dist/directives/mode_directive/mode.d.ts.map +1 -0
  278. package/dist/directives/tooltip_directive/tooltip.d.ts.map +1 -1
  279. package/dist/emoji_picker-BQW4qRFg.cjs +2 -0
  280. package/dist/emoji_picker-BQW4qRFg.cjs.map +1 -0
  281. package/dist/{emoji_picker-tVHfpHDk.js → emoji_picker-BjgAohQy.js} +9 -8
  282. package/dist/emoji_picker-BjgAohQy.js.map +1 -0
  283. package/dist/index.d.ts +8 -0
  284. package/dist/lib/attachment-carousel/attachment-carousel.cjs +1 -1
  285. package/dist/lib/attachment-carousel/attachment-carousel.js +1 -1
  286. package/dist/lib/attachment-carousel/index.cjs +1 -1
  287. package/dist/lib/attachment-carousel/index.js +1 -1
  288. package/dist/lib/avatar/avatar-constants.cjs +1 -1
  289. package/dist/lib/avatar/avatar-constants.cjs.map +1 -1
  290. package/dist/lib/avatar/avatar-constants.js +111 -24
  291. package/dist/lib/avatar/avatar-constants.js.map +1 -1
  292. package/dist/lib/avatar/avatar.cjs +1 -1
  293. package/dist/lib/avatar/avatar.cjs.map +1 -1
  294. package/dist/lib/avatar/avatar.js +145 -84
  295. package/dist/lib/avatar/avatar.js.map +1 -1
  296. package/dist/lib/avatar/index.cjs +1 -1
  297. package/dist/lib/avatar/index.js +3 -3
  298. package/dist/lib/badge/badge-constants.cjs +1 -1
  299. package/dist/lib/badge/badge-constants.cjs.map +1 -1
  300. package/dist/lib/badge/badge-constants.js +1 -1
  301. package/dist/lib/badge/badge-constants.js.map +1 -1
  302. package/dist/lib/badge/badge.cjs +1 -1
  303. package/dist/lib/badge/badge.cjs.map +1 -1
  304. package/dist/lib/badge/badge.js +26 -14
  305. package/dist/lib/badge/badge.js.map +1 -1
  306. package/dist/lib/banner/banner.cjs +2 -2
  307. package/dist/lib/banner/banner.cjs.map +1 -1
  308. package/dist/lib/banner/banner.js +17 -16
  309. package/dist/lib/banner/banner.js.map +1 -1
  310. package/dist/lib/box/box-constants.cjs +2 -0
  311. package/dist/lib/box/box-constants.cjs.map +1 -0
  312. package/dist/lib/box/box-constants.js +103 -0
  313. package/dist/lib/box/box-constants.js.map +1 -0
  314. package/dist/lib/box/box.cjs +2 -0
  315. package/dist/lib/box/box.cjs.map +1 -0
  316. package/dist/lib/box/box.js +229 -0
  317. package/dist/lib/box/box.js.map +1 -0
  318. package/dist/lib/box/index.cjs +1 -0
  319. package/dist/lib/box/index.js +3 -0
  320. package/dist/lib/box/validators.cjs +2 -0
  321. package/dist/lib/box/validators.cjs.map +1 -0
  322. package/dist/lib/box/validators.js +7 -0
  323. package/dist/lib/box/validators.js.map +1 -0
  324. package/dist/lib/breadcrumbs/breadcrumb-item.cjs +1 -1
  325. package/dist/lib/breadcrumbs/breadcrumb-item.cjs.map +1 -1
  326. package/dist/lib/breadcrumbs/breadcrumb-item.js +29 -38
  327. package/dist/lib/breadcrumbs/breadcrumb-item.js.map +1 -1
  328. package/dist/lib/breadcrumbs/breadcrumbs.cjs +1 -1
  329. package/dist/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
  330. package/dist/lib/breadcrumbs/breadcrumbs.js +6 -6
  331. package/dist/lib/breadcrumbs/breadcrumbs.js.map +1 -1
  332. package/dist/lib/button/button-constants.cjs +1 -1
  333. package/dist/lib/button/button-constants.cjs.map +1 -1
  334. package/dist/lib/button/button-constants.js +17 -3
  335. package/dist/lib/button/button-constants.js.map +1 -1
  336. package/dist/lib/button/button.cjs +1 -1
  337. package/dist/lib/button/button.cjs.map +1 -1
  338. package/dist/lib/button/button.js +98 -15
  339. package/dist/lib/button/button.js.map +1 -1
  340. package/dist/lib/button-group/button-group.cjs.map +1 -1
  341. package/dist/lib/button-group/button-group.js.map +1 -1
  342. package/dist/lib/callbar-button/callbar-button.cjs +1 -1
  343. package/dist/lib/callbar-button/callbar-button.cjs.map +1 -1
  344. package/dist/lib/callbar-button/callbar-button.js +26 -27
  345. package/dist/lib/callbar-button/callbar-button.js.map +1 -1
  346. package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  347. package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  348. package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +45 -36
  349. package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  350. package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  351. package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  352. package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.js +47 -38
  353. package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  354. package/dist/lib/callbox/callbox.cjs +1 -1
  355. package/dist/lib/callbox/callbox.cjs.map +1 -1
  356. package/dist/lib/callbox/callbox.js +4 -4
  357. package/dist/lib/callbox/callbox.js.map +1 -1
  358. package/dist/lib/card/card.cjs +1 -1
  359. package/dist/lib/card/card.cjs.map +1 -1
  360. package/dist/lib/card/card.js +10 -18
  361. package/dist/lib/card/card.js.map +1 -1
  362. package/dist/lib/checkbox/checkbox-constants.cjs +1 -1
  363. package/dist/lib/checkbox/checkbox-constants.cjs.map +1 -1
  364. package/dist/lib/checkbox/checkbox-constants.js +2 -2
  365. package/dist/lib/checkbox/checkbox-constants.js.map +1 -1
  366. package/dist/lib/checkbox/checkbox.cjs +1 -1
  367. package/dist/lib/checkbox/checkbox.cjs.map +1 -1
  368. package/dist/lib/checkbox/checkbox.js +79 -28
  369. package/dist/lib/checkbox/checkbox.js.map +1 -1
  370. package/dist/lib/checkbox-group/checkboxes-decorator.cjs +1 -1
  371. package/dist/lib/checkbox-group/checkboxes-decorator.cjs.map +1 -1
  372. package/dist/lib/checkbox-group/checkboxes-decorator.js +0 -1
  373. package/dist/lib/checkbox-group/checkboxes-decorator.js.map +1 -1
  374. package/dist/lib/chip/chip-constants.cjs +1 -1
  375. package/dist/lib/chip/chip-constants.cjs.map +1 -1
  376. package/dist/lib/chip/chip-constants.js +9 -0
  377. package/dist/lib/chip/chip-constants.js.map +1 -1
  378. package/dist/lib/chip/chip.cjs +1 -1
  379. package/dist/lib/chip/chip.cjs.map +1 -1
  380. package/dist/lib/chip/chip.js +13 -13
  381. package/dist/lib/chip/chip.js.map +1 -1
  382. package/dist/lib/codeblock/codeblock-constants.cjs +2 -0
  383. package/dist/lib/codeblock/codeblock-constants.cjs.map +1 -0
  384. package/dist/lib/codeblock/codeblock-constants.js +20 -0
  385. package/dist/lib/codeblock/codeblock-constants.js.map +1 -0
  386. package/dist/lib/codeblock/codeblock.cjs +1 -2
  387. package/dist/lib/codeblock/codeblock.cjs.map +1 -1
  388. package/dist/lib/codeblock/codeblock.js +25 -14
  389. package/dist/lib/codeblock/codeblock.js.map +1 -1
  390. package/dist/lib/collapsible/collapsible.cjs +1 -1
  391. package/dist/lib/collapsible/collapsible.cjs.map +1 -1
  392. package/dist/lib/collapsible/collapsible.js +1 -1
  393. package/dist/lib/collapsible/collapsible.js.map +1 -1
  394. package/dist/lib/combobox/combobox.cjs +1 -1
  395. package/dist/lib/combobox/combobox.js +1 -1
  396. package/dist/lib/combobox/index.cjs +1 -1
  397. package/dist/lib/combobox/index.js +1 -1
  398. package/dist/lib/combobox-multi-select/combobox-multi-select-constants.cjs +1 -1
  399. package/dist/lib/combobox-multi-select/combobox-multi-select-constants.cjs.map +1 -1
  400. package/dist/lib/combobox-multi-select/combobox-multi-select-constants.js +6 -0
  401. package/dist/lib/combobox-multi-select/combobox-multi-select-constants.js.map +1 -1
  402. package/dist/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
  403. package/dist/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
  404. package/dist/lib/combobox-multi-select/combobox-multi-select.js +34 -33
  405. package/dist/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
  406. package/dist/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
  407. package/dist/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
  408. package/dist/lib/combobox-with-popover/combobox-with-popover.js +51 -46
  409. package/dist/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
  410. package/dist/lib/contact-centers-row/contact-centers-row.cjs +1 -1
  411. package/dist/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
  412. package/dist/lib/contact-centers-row/contact-centers-row.js +51 -45
  413. package/dist/lib/contact-centers-row/contact-centers-row.js.map +1 -1
  414. package/dist/lib/contact-info/contact-info.cjs +1 -1
  415. package/dist/lib/contact-info/contact-info.cjs.map +1 -1
  416. package/dist/lib/contact-info/contact-info.js +8 -8
  417. package/dist/lib/contact-info/contact-info.js.map +1 -1
  418. package/dist/lib/contact-row/contact-row.cjs +1 -1
  419. package/dist/lib/contact-row/contact-row.cjs.map +1 -1
  420. package/dist/lib/contact-row/contact-row.js +3 -3
  421. package/dist/lib/contact-row/contact-row.js.map +1 -1
  422. package/dist/lib/datepicker/datepicker.cjs +1 -1
  423. package/dist/lib/datepicker/datepicker.js +1 -1
  424. package/dist/lib/datepicker/index.cjs +1 -1
  425. package/dist/lib/datepicker/index.js +1 -1
  426. package/dist/lib/description-list/description-list.cjs +1 -1
  427. package/dist/lib/description-list/description-list.cjs.map +1 -1
  428. package/dist/lib/description-list/description-list.js +1 -1
  429. package/dist/lib/description-list/description-list.js.map +1 -1
  430. package/dist/lib/dropdown/dropdown-constants.cjs +1 -1
  431. package/dist/lib/dropdown/dropdown-constants.cjs.map +1 -1
  432. package/dist/lib/dropdown/dropdown-constants.js +2 -2
  433. package/dist/lib/dropdown/dropdown-constants.js.map +1 -1
  434. package/dist/lib/dropdown/dropdown-list.cjs +1 -1
  435. package/dist/lib/dropdown/dropdown-list.cjs.map +1 -1
  436. package/dist/lib/dropdown/dropdown-list.js +28 -16
  437. package/dist/lib/dropdown/dropdown-list.js.map +1 -1
  438. package/dist/lib/dropdown/dropdown.cjs +1 -1
  439. package/dist/lib/dropdown/dropdown.cjs.map +1 -1
  440. package/dist/lib/dropdown/dropdown.js +30 -26
  441. package/dist/lib/dropdown/dropdown.js.map +1 -1
  442. package/dist/lib/editor/EditorToolbarButton.cjs +1 -1
  443. package/dist/lib/editor/EditorToolbarButton.cjs.map +1 -1
  444. package/dist/lib/editor/EditorToolbarButton.js +1 -1
  445. package/dist/lib/editor/EditorToolbarButton.js.map +1 -1
  446. package/dist/lib/editor/EditorToolbarDropdownButton.cjs +1 -1
  447. package/dist/lib/editor/EditorToolbarDropdownButton.cjs.map +1 -1
  448. package/dist/lib/editor/EditorToolbarDropdownButton.js +1 -1
  449. package/dist/lib/editor/EditorToolbarDropdownButton.js.map +1 -1
  450. package/dist/lib/editor/EditorToolbarPopoverButton.cjs +1 -1
  451. package/dist/lib/editor/EditorToolbarPopoverButton.cjs.map +1 -1
  452. package/dist/lib/editor/EditorToolbarPopoverButton.js +1 -1
  453. package/dist/lib/editor/EditorToolbarPopoverButton.js.map +1 -1
  454. package/dist/lib/editor/editor.cjs +1 -1
  455. package/dist/lib/editor/editor.cjs.map +1 -1
  456. package/dist/lib/editor/editor.js +134 -135
  457. package/dist/lib/editor/editor.js.map +1 -1
  458. package/dist/lib/emoji-picker/emoji-picker.cjs +1 -1
  459. package/dist/lib/emoji-picker/emoji-picker.js +1 -1
  460. package/dist/lib/emoji-picker/index.cjs +1 -1
  461. package/dist/lib/emoji-picker/index.js +1 -1
  462. package/dist/lib/emoji-row/emoji-row.cjs +1 -1
  463. package/dist/lib/emoji-row/emoji-row.cjs.map +1 -1
  464. package/dist/lib/emoji-row/emoji-row.js +1 -1
  465. package/dist/lib/emoji-row/emoji-row.js.map +1 -1
  466. package/dist/lib/emoji-text-wrapper/emoji-text-wrapper.cjs.map +1 -1
  467. package/dist/lib/emoji-text-wrapper/emoji-text-wrapper.js.map +1 -1
  468. package/dist/lib/empty-state/empty-state-constants.cjs +1 -1
  469. package/dist/lib/empty-state/empty-state-constants.cjs.map +1 -1
  470. package/dist/lib/empty-state/empty-state-constants.js +37 -9
  471. package/dist/lib/empty-state/empty-state-constants.js.map +1 -1
  472. package/dist/lib/empty-state/empty-state.cjs +1 -1
  473. package/dist/lib/empty-state/empty-state.cjs.map +1 -1
  474. package/dist/lib/empty-state/empty-state.js +46 -26
  475. package/dist/lib/empty-state/empty-state.js.map +1 -1
  476. package/dist/lib/feed-item-pill/feed-item-pill.cjs +1 -1
  477. package/dist/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
  478. package/dist/lib/feed-item-pill/feed-item-pill.js +40 -42
  479. package/dist/lib/feed-item-pill/feed-item-pill.js.map +1 -1
  480. package/dist/lib/feed-item-row/feed-item-row.cjs +1 -1
  481. package/dist/lib/feed-item-row/feed-item-row.cjs.map +1 -1
  482. package/dist/lib/feed-item-row/feed-item-row.js +3 -3
  483. package/dist/lib/feed-item-row/feed-item-row.js.map +1 -1
  484. package/dist/lib/filter-pill/filter-pill.cjs +2 -0
  485. package/dist/lib/filter-pill/filter-pill.cjs.map +1 -0
  486. package/dist/lib/filter-pill/filter-pill.js +433 -0
  487. package/dist/lib/filter-pill/filter-pill.js.map +1 -0
  488. package/dist/lib/filter-pill/index.cjs +1 -0
  489. package/dist/lib/filter-pill/index.js +2 -0
  490. package/dist/lib/focusgroup-directive/focusgroup-constants.cjs +2 -0
  491. package/dist/lib/focusgroup-directive/focusgroup-constants.cjs.map +1 -0
  492. package/dist/lib/focusgroup-directive/focusgroup-constants.js +77 -0
  493. package/dist/lib/focusgroup-directive/focusgroup-constants.js.map +1 -0
  494. package/dist/lib/focusgroup-directive/focusgroup-utils.cjs +2 -0
  495. package/dist/lib/focusgroup-directive/focusgroup-utils.cjs.map +1 -0
  496. package/dist/lib/focusgroup-directive/focusgroup-utils.js +33 -0
  497. package/dist/lib/focusgroup-directive/focusgroup-utils.js.map +1 -0
  498. package/dist/lib/focusgroup-directive/focusgroup.cjs +2 -0
  499. package/dist/lib/focusgroup-directive/focusgroup.cjs.map +1 -0
  500. package/dist/lib/focusgroup-directive/focusgroup.js +143 -0
  501. package/dist/lib/focusgroup-directive/focusgroup.js.map +1 -0
  502. package/dist/lib/focusgroup-directive/index.cjs +1 -0
  503. package/dist/lib/focusgroup-directive/index.js +2 -0
  504. package/dist/lib/focustrap-directive/focustrap-constants.cjs +2 -0
  505. package/dist/lib/focustrap-directive/focustrap-constants.cjs.map +1 -0
  506. package/dist/lib/focustrap-directive/focustrap-constants.js +10 -0
  507. package/dist/lib/focustrap-directive/focustrap-constants.js.map +1 -0
  508. package/dist/lib/focustrap-directive/focustrap-utils.cjs +2 -0
  509. package/dist/lib/focustrap-directive/focustrap-utils.cjs.map +1 -0
  510. package/dist/lib/focustrap-directive/focustrap-utils.js +19 -0
  511. package/dist/lib/focustrap-directive/focustrap-utils.js.map +1 -0
  512. package/dist/lib/focustrap-directive/focustrap.cjs +2 -0
  513. package/dist/lib/focustrap-directive/focustrap.cjs.map +1 -0
  514. package/dist/lib/focustrap-directive/focustrap.js +96 -0
  515. package/dist/lib/focustrap-directive/focustrap.js.map +1 -0
  516. package/dist/lib/focustrap-directive/index.cjs +1 -0
  517. package/dist/lib/focustrap-directive/index.js +2 -0
  518. package/dist/lib/general-row/general-row.cjs +1 -1
  519. package/dist/lib/general-row/general-row.cjs.map +1 -1
  520. package/dist/lib/general-row/general-row.js +105 -61
  521. package/dist/lib/general-row/general-row.js.map +1 -1
  522. package/dist/lib/general-row/leftbar-general-row-icon.cjs +1 -1
  523. package/dist/lib/general-row/leftbar-general-row-icon.cjs.map +1 -1
  524. package/dist/lib/general-row/leftbar-general-row-icon.js +1 -1
  525. package/dist/lib/general-row/leftbar-general-row-icon.js.map +1 -1
  526. package/dist/lib/group-row/group-row.cjs +1 -1
  527. package/dist/lib/group-row/group-row.cjs.map +1 -1
  528. package/dist/lib/group-row/group-row.js +2 -2
  529. package/dist/lib/group-row/group-row.js.map +1 -1
  530. package/dist/lib/grouped-chip/grouped-chip.cjs +1 -1
  531. package/dist/lib/grouped-chip/grouped-chip.cjs.map +1 -1
  532. package/dist/lib/grouped-chip/grouped-chip.js +9 -9
  533. package/dist/lib/grouped-chip/grouped-chip.js.map +1 -1
  534. package/dist/lib/hovercard/hovercard.cjs +1 -1
  535. package/dist/lib/hovercard/hovercard.cjs.map +1 -1
  536. package/dist/lib/hovercard/hovercard.js +28 -24
  537. package/dist/lib/hovercard/hovercard.js.map +1 -1
  538. package/dist/lib/icon/icon.cjs +1 -1
  539. package/dist/lib/icon/icon.cjs.map +1 -1
  540. package/dist/lib/icon/icon.js +1 -1
  541. package/dist/lib/icon/icon.js.map +1 -1
  542. package/dist/lib/illustration/illustration.cjs +1 -1
  543. package/dist/lib/illustration/illustration.cjs.map +1 -1
  544. package/dist/lib/illustration/illustration.js +1 -1
  545. package/dist/lib/illustration/illustration.js.map +1 -1
  546. package/dist/lib/image-viewer/image-viewer.cjs +1 -1
  547. package/dist/lib/image-viewer/image-viewer.cjs.map +1 -1
  548. package/dist/lib/image-viewer/image-viewer.js +32 -31
  549. package/dist/lib/image-viewer/image-viewer.js.map +1 -1
  550. package/dist/lib/input/input-constants.cjs +1 -1
  551. package/dist/lib/input/input-constants.cjs.map +1 -1
  552. package/dist/lib/input/input-constants.js +25 -11
  553. package/dist/lib/input/input-constants.js.map +1 -1
  554. package/dist/lib/input/input.cjs +1 -1
  555. package/dist/lib/input/input.cjs.map +1 -1
  556. package/dist/lib/input/input.js +161 -79
  557. package/dist/lib/input/input.js.map +1 -1
  558. package/dist/lib/input-group/input-group.cjs +1 -1
  559. package/dist/lib/input-group/input-group.cjs.map +1 -1
  560. package/dist/lib/input-group/input-group.js +25 -15
  561. package/dist/lib/input-group/input-group.js.map +1 -1
  562. package/dist/lib/item-layout/item-layout.cjs +3 -3
  563. package/dist/lib/item-layout/item-layout.cjs.map +1 -1
  564. package/dist/lib/item-layout/item-layout.js +35 -12
  565. package/dist/lib/item-layout/item-layout.js.map +1 -1
  566. package/dist/lib/ivr-node/ivr-node.cjs +1 -1
  567. package/dist/lib/ivr-node/ivr-node.cjs.map +1 -1
  568. package/dist/lib/ivr-node/ivr-node.js +1 -1
  569. package/dist/lib/ivr-node/ivr-node.js.map +1 -1
  570. package/dist/lib/keyboard-shortcut/keyboard-shortcut.cjs +1 -1
  571. package/dist/lib/keyboard-shortcut/keyboard-shortcut.cjs.map +1 -1
  572. package/dist/lib/keyboard-shortcut/keyboard-shortcut.js +48 -38
  573. package/dist/lib/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  574. package/dist/lib/kitchen-sink/kitchen-sink-view.cjs +2 -0
  575. package/dist/lib/kitchen-sink/kitchen-sink-view.cjs.map +1 -0
  576. package/dist/lib/kitchen-sink/kitchen-sink-view.js +205 -0
  577. package/dist/lib/kitchen-sink/kitchen-sink-view.js.map +1 -0
  578. package/dist/lib/link/index.cjs +1 -1
  579. package/dist/lib/link/index.js +2 -2
  580. package/dist/lib/link/link-constants.cjs +1 -1
  581. package/dist/lib/link/link-constants.cjs.map +1 -1
  582. package/dist/lib/link/link-constants.js +7 -7
  583. package/dist/lib/link/link-constants.js.map +1 -1
  584. package/dist/lib/link/link.cjs +1 -1
  585. package/dist/lib/link/link.cjs.map +1 -1
  586. package/dist/lib/link/link.js +17 -2
  587. package/dist/lib/link/link.js.map +1 -1
  588. package/dist/lib/list-item/list-item.cjs +1 -1
  589. package/dist/lib/list-item/list-item.cjs.map +1 -1
  590. package/dist/lib/list-item/list-item.js +9 -5
  591. package/dist/lib/list-item/list-item.js.map +1 -1
  592. package/dist/lib/list-item-group/list-item-group.cjs +1 -1
  593. package/dist/lib/list-item-group/list-item-group.cjs.map +1 -1
  594. package/dist/lib/list-item-group/list-item-group.js +1 -1
  595. package/dist/lib/list-item-group/list-item-group.js.map +1 -1
  596. package/dist/lib/message-input/index.cjs +1 -1
  597. package/dist/lib/message-input/index.js +1 -1
  598. package/dist/lib/message-input/message-input-button.cjs +1 -1
  599. package/dist/lib/message-input/message-input-button.cjs.map +1 -1
  600. package/dist/lib/message-input/message-input-button.js +1 -1
  601. package/dist/lib/message-input/message-input-button.js.map +1 -1
  602. package/dist/lib/message-input/message-input-link.cjs +1 -1
  603. package/dist/lib/message-input/message-input-link.cjs.map +1 -1
  604. package/dist/lib/message-input/message-input-link.js +9 -9
  605. package/dist/lib/message-input/message-input-link.js.map +1 -1
  606. package/dist/lib/message-input/message-input-topbar.cjs +1 -1
  607. package/dist/lib/message-input/message-input-topbar.cjs.map +1 -1
  608. package/dist/lib/message-input/message-input-topbar.js +2 -2
  609. package/dist/lib/message-input/message-input-topbar.js.map +1 -1
  610. package/dist/lib/message-input/message-input.cjs +1 -1
  611. package/dist/lib/message-input/message-input.js +1 -1
  612. package/dist/lib/modal/modal-constants.cjs +1 -1
  613. package/dist/lib/modal/modal-constants.cjs.map +1 -1
  614. package/dist/lib/modal/modal-constants.js +3 -3
  615. package/dist/lib/modal/modal-constants.js.map +1 -1
  616. package/dist/lib/modal/modal.cjs +1 -1
  617. package/dist/lib/modal/modal.cjs.map +1 -1
  618. package/dist/lib/modal/modal.js +158 -157
  619. package/dist/lib/modal/modal.js.map +1 -1
  620. package/dist/lib/mode-directive/index.cjs +1 -0
  621. package/dist/lib/mode-directive/index.js +2 -0
  622. package/dist/lib/mode-directive/mode.cjs +2 -0
  623. package/dist/lib/mode-directive/mode.cjs.map +1 -0
  624. package/dist/lib/mode-directive/mode.js +67 -0
  625. package/dist/lib/mode-directive/mode.js.map +1 -0
  626. package/dist/lib/mode-island/index.cjs +1 -0
  627. package/dist/lib/mode-island/index.js +3 -0
  628. package/dist/lib/mode-island/mode-island-constants.cjs +2 -0
  629. package/dist/lib/mode-island/mode-island-constants.cjs.map +1 -0
  630. package/dist/lib/mode-island/mode-island-constants.js +10 -0
  631. package/dist/lib/mode-island/mode-island-constants.js.map +1 -0
  632. package/dist/lib/mode-island/mode-island.cjs +2 -0
  633. package/dist/lib/mode-island/mode-island.cjs.map +1 -0
  634. package/dist/lib/mode-island/mode-island.js +102 -0
  635. package/dist/lib/mode-island/mode-island.js.map +1 -0
  636. package/dist/lib/mode-island/utils.cjs +2 -0
  637. package/dist/lib/mode-island/utils.cjs.map +1 -0
  638. package/dist/lib/mode-island/utils.js +28 -0
  639. package/dist/lib/mode-island/utils.js.map +1 -0
  640. package/dist/lib/mode-island/validators.cjs +2 -0
  641. package/dist/lib/mode-island/validators.cjs.map +1 -0
  642. package/dist/lib/mode-island/validators.js +10 -0
  643. package/dist/lib/mode-island/validators.js.map +1 -0
  644. package/dist/lib/motion-text/motion-text-constants.cjs +1 -1
  645. package/dist/lib/motion-text/motion-text-constants.cjs.map +1 -1
  646. package/dist/lib/motion-text/motion-text-constants.js +18 -6
  647. package/dist/lib/motion-text/motion-text-constants.js.map +1 -1
  648. package/dist/lib/motion-text/motion-text.cjs +1 -1
  649. package/dist/lib/motion-text/motion-text.cjs.map +1 -1
  650. package/dist/lib/motion-text/motion-text.js +5 -7
  651. package/dist/lib/motion-text/motion-text.js.map +1 -1
  652. package/dist/lib/notice/notice-action.cjs +1 -1
  653. package/dist/lib/notice/notice-action.cjs.map +1 -1
  654. package/dist/lib/notice/notice-action.js +14 -14
  655. package/dist/lib/notice/notice-action.js.map +1 -1
  656. package/dist/lib/notice/notice-constants.cjs +1 -1
  657. package/dist/lib/notice/notice-constants.cjs.map +1 -1
  658. package/dist/lib/notice/notice-constants.js +2 -2
  659. package/dist/lib/notice/notice-constants.js.map +1 -1
  660. package/dist/lib/notice/notice-content.cjs +1 -1
  661. package/dist/lib/notice/notice-content.cjs.map +1 -1
  662. package/dist/lib/notice/notice-content.js +29 -12
  663. package/dist/lib/notice/notice-content.js.map +1 -1
  664. package/dist/lib/notice/notice-icon.cjs +1 -1
  665. package/dist/lib/notice/notice-icon.cjs.map +1 -1
  666. package/dist/lib/notice/notice-icon.js +4 -4
  667. package/dist/lib/notice/notice-icon.js.map +1 -1
  668. package/dist/lib/notice/notice.cjs +1 -1
  669. package/dist/lib/notice/notice.cjs.map +1 -1
  670. package/dist/lib/notice/notice.js +17 -16
  671. package/dist/lib/notice/notice.js.map +1 -1
  672. package/dist/lib/pagination/pagination.cjs +1 -1
  673. package/dist/lib/pagination/pagination.cjs.map +1 -1
  674. package/dist/lib/pagination/pagination.js +13 -12
  675. package/dist/lib/pagination/pagination.js.map +1 -1
  676. package/dist/lib/popover/popover-constants.cjs +1 -1
  677. package/dist/lib/popover/popover-constants.cjs.map +1 -1
  678. package/dist/lib/popover/popover-constants.js +6 -6
  679. package/dist/lib/popover/popover-constants.js.map +1 -1
  680. package/dist/lib/popover/popover-header-footer.cjs +1 -1
  681. package/dist/lib/popover/popover-header-footer.cjs.map +1 -1
  682. package/dist/lib/popover/popover-header-footer.js +11 -3
  683. package/dist/lib/popover/popover-header-footer.js.map +1 -1
  684. package/dist/lib/popover/popover.cjs +1 -1
  685. package/dist/lib/popover/popover.cjs.map +1 -1
  686. package/dist/lib/popover/popover.js +78 -58
  687. package/dist/lib/popover/popover.js.map +1 -1
  688. package/dist/lib/radio/radio-constants.cjs +1 -1
  689. package/dist/lib/radio/radio-constants.cjs.map +1 -1
  690. package/dist/lib/radio/radio-constants.js +2 -2
  691. package/dist/lib/radio/radio-constants.js.map +1 -1
  692. package/dist/lib/radio/radio.cjs +1 -1
  693. package/dist/lib/radio/radio.cjs.map +1 -1
  694. package/dist/lib/radio/radio.js +94 -31
  695. package/dist/lib/radio/radio.js.map +1 -1
  696. package/dist/lib/resizable/index.cjs +1 -1
  697. package/dist/lib/resizable/index.js +3 -3
  698. package/dist/lib/resizable/resizable-handle.cjs +1 -1
  699. package/dist/lib/resizable/resizable-handle.js +1 -1
  700. package/dist/lib/resizable/resizable-panel.cjs +1 -1
  701. package/dist/lib/resizable/resizable-panel.js +1 -1
  702. package/dist/lib/resizable/resizable.cjs +1 -1
  703. package/dist/lib/resizable/resizable.js +1 -1
  704. package/dist/lib/rich-text-editor/index.cjs +1 -1
  705. package/dist/lib/rich-text-editor/index.js +1 -1
  706. package/dist/lib/rich-text-editor/markdownRenderer.cjs +1 -1
  707. package/dist/lib/rich-text-editor/markdownRenderer.js +1 -1
  708. package/dist/lib/rich-text-editor/rich-text-editor.cjs +1 -1
  709. package/dist/lib/rich-text-editor/rich-text-editor.js +1 -1
  710. package/dist/lib/root-layout/root-layout-constants.cjs +1 -1
  711. package/dist/lib/root-layout/root-layout-constants.cjs.map +1 -1
  712. package/dist/lib/root-layout/root-layout-constants.js +2 -0
  713. package/dist/lib/root-layout/root-layout-constants.js.map +1 -1
  714. package/dist/lib/root-layout/root-layout.cjs +1 -1
  715. package/dist/lib/root-layout/root-layout.cjs.map +1 -1
  716. package/dist/lib/root-layout/root-layout.js +2 -2
  717. package/dist/lib/root-layout/root-layout.js.map +1 -1
  718. package/dist/lib/scroller/index.cjs +1 -1
  719. package/dist/lib/scroller/index.js +1 -1
  720. package/dist/lib/scroller/scroller.cjs +1 -1
  721. package/dist/lib/scroller/scroller.js +1 -1
  722. package/dist/lib/segmented-control/index.cjs +1 -0
  723. package/dist/lib/segmented-control/index.js +4 -0
  724. package/dist/lib/segmented-control/segmented-control-constants.cjs +2 -0
  725. package/dist/lib/segmented-control/segmented-control-constants.cjs.map +1 -0
  726. package/dist/lib/segmented-control/segmented-control-constants.js +41 -0
  727. package/dist/lib/segmented-control/segmented-control-constants.js.map +1 -0
  728. package/dist/lib/segmented-control/segmented-control-item.cjs +2 -0
  729. package/dist/lib/segmented-control/segmented-control-item.cjs.map +1 -0
  730. package/dist/lib/segmented-control/segmented-control-item.js +104 -0
  731. package/dist/lib/segmented-control/segmented-control-item.js.map +1 -0
  732. package/dist/lib/segmented-control/segmented-control.cjs +2 -0
  733. package/dist/lib/segmented-control/segmented-control.cjs.map +1 -0
  734. package/dist/lib/segmented-control/segmented-control.js +204 -0
  735. package/dist/lib/segmented-control/segmented-control.js.map +1 -0
  736. package/dist/lib/select-menu/select-menu-constants.cjs +1 -1
  737. package/dist/lib/select-menu/select-menu-constants.cjs.map +1 -1
  738. package/dist/lib/select-menu/select-menu-constants.js +7 -2
  739. package/dist/lib/select-menu/select-menu-constants.js.map +1 -1
  740. package/dist/lib/select-menu/select-menu.cjs +1 -1
  741. package/dist/lib/select-menu/select-menu.cjs.map +1 -1
  742. package/dist/lib/select-menu/select-menu.js +117 -58
  743. package/dist/lib/select-menu/select-menu.js.map +1 -1
  744. package/dist/lib/settings-menu-button/settings-menu-button.cjs +1 -1
  745. package/dist/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
  746. package/dist/lib/settings-menu-button/settings-menu-button.js +5 -5
  747. package/dist/lib/settings-menu-button/settings-menu-button.js.map +1 -1
  748. package/dist/lib/skeleton/skeleton-constants.cjs +1 -1
  749. package/dist/lib/skeleton/skeleton-constants.cjs.map +1 -1
  750. package/dist/lib/skeleton/skeleton-constants.js +10 -2
  751. package/dist/lib/skeleton/skeleton-constants.js.map +1 -1
  752. package/dist/lib/skeleton/skeleton-list-item.cjs +1 -1
  753. package/dist/lib/skeleton/skeleton-list-item.cjs.map +1 -1
  754. package/dist/lib/skeleton/skeleton-list-item.js +2 -2
  755. package/dist/lib/skeleton/skeleton-list-item.js.map +1 -1
  756. package/dist/lib/skeleton/skeleton-shape.cjs +1 -1
  757. package/dist/lib/skeleton/skeleton-shape.cjs.map +1 -1
  758. package/dist/lib/skeleton/skeleton-shape.js +3 -3
  759. package/dist/lib/skeleton/skeleton-shape.js.map +1 -1
  760. package/dist/lib/split-button/split-button-constants.cjs +1 -1
  761. package/dist/lib/split-button/split-button-constants.cjs.map +1 -1
  762. package/dist/lib/split-button/split-button-constants.js +5 -0
  763. package/dist/lib/split-button/split-button-constants.js.map +1 -1
  764. package/dist/lib/split-button/split-button-end.cjs +2 -0
  765. package/dist/lib/split-button/split-button-end.cjs.map +1 -0
  766. package/dist/lib/split-button/{split-button-omega.js → split-button-end.js} +9 -9
  767. package/dist/lib/split-button/split-button-end.js.map +1 -0
  768. package/dist/lib/split-button/split-button-start.cjs +2 -0
  769. package/dist/lib/split-button/split-button-start.cjs.map +1 -0
  770. package/dist/lib/split-button/split-button-start.js +182 -0
  771. package/dist/lib/split-button/split-button-start.js.map +1 -0
  772. package/dist/lib/split-button/split-button.cjs +1 -1
  773. package/dist/lib/split-button/split-button.cjs.map +1 -1
  774. package/dist/lib/split-button/split-button.js +246 -71
  775. package/dist/lib/split-button/split-button.js.map +1 -1
  776. package/dist/lib/stack/stack-constants.cjs +1 -1
  777. package/dist/lib/stack/stack-constants.cjs.map +1 -1
  778. package/dist/lib/stack/stack-constants.js +10 -2
  779. package/dist/lib/stack/stack-constants.js.map +1 -1
  780. package/dist/lib/stack/stack.cjs.map +1 -1
  781. package/dist/lib/stack/stack.js.map +1 -1
  782. package/dist/lib/tab/index.cjs +1 -1
  783. package/dist/lib/tab/index.js +5 -5
  784. package/dist/lib/tab/tab-group.cjs +1 -1
  785. package/dist/lib/tab/tab-group.cjs.map +1 -1
  786. package/dist/lib/tab/tab-group.js +173 -50
  787. package/dist/lib/tab/tab-group.js.map +1 -1
  788. package/dist/lib/tab/tab.cjs +1 -1
  789. package/dist/lib/tab/tab.cjs.map +1 -1
  790. package/dist/lib/tab/tab.js +108 -23
  791. package/dist/lib/tab/tab.js.map +1 -1
  792. package/dist/lib/tab/tabs-constants.cjs +1 -1
  793. package/dist/lib/tab/tabs-constants.cjs.map +1 -1
  794. package/dist/lib/tab/tabs-constants.js +33 -2
  795. package/dist/lib/tab/tabs-constants.js.map +1 -1
  796. package/dist/lib/text/index.cjs +1 -0
  797. package/dist/lib/text/index.js +3 -0
  798. package/dist/lib/text/text-constants.cjs +2 -0
  799. package/dist/lib/text/text-constants.cjs.map +1 -0
  800. package/dist/lib/text/text-constants.js +126 -0
  801. package/dist/lib/text/text-constants.js.map +1 -0
  802. package/dist/lib/text/text.cjs +2 -0
  803. package/dist/lib/text/text.cjs.map +1 -0
  804. package/dist/lib/text/text.js +150 -0
  805. package/dist/lib/text/text.js.map +1 -0
  806. package/dist/lib/toast/index.cjs +1 -1
  807. package/dist/lib/toast/index.js +1 -1
  808. package/dist/lib/toast/toast.cjs +1 -1
  809. package/dist/lib/toast/toast.js +1 -1
  810. package/dist/lib/toggle/toggle-constants.cjs +1 -1
  811. package/dist/lib/toggle/toggle-constants.cjs.map +1 -1
  812. package/dist/lib/toggle/toggle-constants.js +2 -0
  813. package/dist/lib/toggle/toggle-constants.js.map +1 -1
  814. package/dist/lib/toggle/toggle.cjs +1 -1
  815. package/dist/lib/toggle/toggle.cjs.map +1 -1
  816. package/dist/lib/toggle/toggle.js +24 -29
  817. package/dist/lib/toggle/toggle.js.map +1 -1
  818. package/dist/lib/tooltip/tooltip.cjs +1 -4
  819. package/dist/lib/tooltip/tooltip.cjs.map +1 -1
  820. package/dist/lib/tooltip/tooltip.js +36 -31
  821. package/dist/lib/tooltip/tooltip.js.map +1 -1
  822. package/dist/lib/tooltip-directive/tooltip.cjs +1 -1
  823. package/dist/lib/tooltip-directive/tooltip.cjs.map +1 -1
  824. package/dist/lib/tooltip-directive/tooltip.js +36 -35
  825. package/dist/lib/tooltip-directive/tooltip.js.map +1 -1
  826. package/dist/lib/top-banner-info/top-banner-info.cjs +1 -1
  827. package/dist/lib/top-banner-info/top-banner-info.cjs.map +1 -1
  828. package/dist/lib/top-banner-info/top-banner-info.js +4 -4
  829. package/dist/lib/top-banner-info/top-banner-info.js.map +1 -1
  830. package/dist/lib/unread-pill/unread-pill.cjs +1 -1
  831. package/dist/lib/unread-pill/unread-pill.cjs.map +1 -1
  832. package/dist/lib/unread-pill/unread-pill.js +1 -1
  833. package/dist/lib/unread-pill/unread-pill.js.map +1 -1
  834. package/dist/lib/validation-messages/validation-messages.cjs +1 -1
  835. package/dist/lib/validation-messages/validation-messages.cjs.map +1 -1
  836. package/dist/lib/validation-messages/validation-messages.js +2 -2
  837. package/dist/lib/validation-messages/validation-messages.js.map +1 -1
  838. package/dist/localization/en-US.cjs +5 -0
  839. package/dist/localization/en-US.cjs.map +1 -1
  840. package/dist/localization/en-US.js +1 -1
  841. package/dist/localization/en-US.js.map +1 -1
  842. package/dist/{markdownRenderer-DCgGQseq.cjs → markdownRenderer-Dsq-CiH9.cjs} +1 -1
  843. package/dist/{markdownRenderer-DCgGQseq.cjs.map → markdownRenderer-Dsq-CiH9.cjs.map} +1 -1
  844. package/dist/{markdownRenderer-D_P94RyM.js → markdownRenderer-k7_rQkox.js} +1 -1
  845. package/dist/{markdownRenderer-D_P94RyM.js.map → markdownRenderer-k7_rQkox.js.map} +1 -1
  846. package/dist/{message_input-CHlTsBGK.js → message_input-BYy1xKCy.js} +129 -130
  847. package/dist/message_input-BYy1xKCy.js.map +1 -0
  848. package/dist/message_input-sSCHhaeC.cjs +2 -0
  849. package/dist/message_input-sSCHhaeC.cjs.map +1 -0
  850. package/dist/mode_constants-CzYJW9ua.cjs +2 -0
  851. package/dist/mode_constants-CzYJW9ua.cjs.map +1 -0
  852. package/dist/mode_constants-tb7TL85q.js +14 -0
  853. package/dist/mode_constants-tb7TL85q.js.map +1 -0
  854. package/dist/recipes/buttons/callbar_button/callbar_button.vue.d.ts +85 -14
  855. package/dist/recipes/buttons/callbar_button/callbar_button.vue.d.ts.map +1 -1
  856. package/dist/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +313 -41
  857. package/dist/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
  858. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +302 -41
  859. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  860. package/dist/recipes/cards/ivr_node/ivr_node.vue.d.ts +228 -35
  861. package/dist/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  862. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.d.ts +62 -16
  863. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.d.ts.map +1 -1
  864. package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +237 -28
  865. package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
  866. package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +184 -21
  867. package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
  868. package/dist/recipes/conversation_view/editor/EditorToolbarButton.vue.d.ts +53 -7
  869. package/dist/recipes/conversation_view/editor/EditorToolbarDropdownButton.vue.d.ts +228 -26
  870. package/dist/recipes/conversation_view/editor/EditorToolbarDropdownButton.vue.d.ts.map +1 -1
  871. package/dist/recipes/conversation_view/editor/EditorToolbarPopoverButton.vue.d.ts +216 -25
  872. package/dist/recipes/conversation_view/editor/EditorToolbarPopoverButton.vue.d.ts.map +1 -1
  873. package/dist/recipes/conversation_view/editor/editor.vue.d.ts +1163 -178
  874. package/dist/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  875. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +132 -42
  876. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  877. package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +91 -23
  878. package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
  879. package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +126 -35
  880. package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts.map +1 -1
  881. package/dist/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +90 -13
  882. package/dist/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
  883. package/dist/recipes/conversation_view/message_input/message_input.vue.d.ts +1622 -207
  884. package/dist/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  885. package/dist/recipes/conversation_view/message_input/message_input_button.vue.d.ts +226 -12
  886. package/dist/recipes/conversation_view/message_input/message_input_button.vue.d.ts.map +1 -1
  887. package/dist/recipes/conversation_view/message_input/message_input_link.vue.d.ts +636 -55
  888. package/dist/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
  889. package/dist/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +226 -12
  890. package/dist/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
  891. package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.d.ts +53 -7
  892. package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.d.ts.map +1 -1
  893. package/dist/recipes/item_layout/contact_info/contact_info.vue.d.ts +122 -33
  894. package/dist/recipes/item_layout/contact_info/contact_info.vue.d.ts.map +1 -1
  895. package/dist/recipes/leftbar/callbox/callbox.vue.d.ts +87 -29
  896. package/dist/recipes/leftbar/callbox/callbox.vue.d.ts.map +1 -1
  897. package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +82 -28
  898. package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
  899. package/dist/recipes/leftbar/contact_row/contact_row.vue.d.ts +588 -72
  900. package/dist/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
  901. package/dist/recipes/leftbar/general_row/general_row.vue.d.ts +480 -31
  902. package/dist/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  903. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.d.ts.map +1 -1
  904. package/dist/recipes/leftbar/group_row/group_row.vue.d.ts +479 -30
  905. package/dist/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
  906. package/dist/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
  907. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.d.ts.map +1 -1
  908. package/dist/{resizable-aOVGO_Os.cjs → resizable-DhowneUp.cjs} +2 -2
  909. package/dist/{resizable-aOVGO_Os.cjs.map → resizable-DhowneUp.cjs.map} +1 -1
  910. package/dist/{resizable-D4-peBOl.js → resizable-xcOu-0_w.js} +3 -3
  911. package/dist/{resizable-D4-peBOl.js.map → resizable-xcOu-0_w.js.map} +1 -1
  912. package/dist/{resizable_handle-BlKBiWnx.js → resizable_handle-BAZzCA_i.js} +3 -3
  913. package/dist/{resizable_handle-BlKBiWnx.js.map → resizable_handle-BAZzCA_i.js.map} +1 -1
  914. package/dist/{resizable_handle-RIKS8frB.cjs → resizable_handle-fjKg48eY.cjs} +2 -2
  915. package/dist/{resizable_handle-RIKS8frB.cjs.map → resizable_handle-fjKg48eY.cjs.map} +1 -1
  916. package/dist/{resizable_utils-DhuzXRdP.cjs → resizable_utils-BE4lK07_.cjs} +1 -1
  917. package/dist/{resizable_utils-DhuzXRdP.cjs.map → resizable_utils-BE4lK07_.cjs.map} +1 -1
  918. package/dist/{resizable_utils-BComtrMV.js → resizable_utils-DsKnGHKW.js} +1 -1
  919. package/dist/{resizable_utils-BComtrMV.js.map → resizable_utils-DsKnGHKW.js.map} +1 -1
  920. package/dist/{rich_text_editor-Ba67C4Uk.js → rich_text_editor-CEW74QNe.js} +637 -598
  921. package/dist/{rich_text_editor-Ba67C4Uk.js.map → rich_text_editor-CEW74QNe.js.map} +1 -1
  922. package/dist/rich_text_editor-immDiKq_.cjs +10 -0
  923. package/dist/{rich_text_editor-DMP5eTlf.cjs.map → rich_text_editor-immDiKq_.cjs.map} +1 -1
  924. package/dist/scroller-C15VLKNK.cjs +2 -0
  925. package/dist/scroller-C15VLKNK.cjs.map +1 -0
  926. package/dist/{scroller-BGVDh3sq.js → scroller-DPqcc_Wl.js} +6 -6
  927. package/dist/scroller-DPqcc_Wl.js.map +1 -0
  928. package/dist/shared/sr_only_close_button.cjs +1 -1
  929. package/dist/shared/sr_only_close_button.cjs.map +1 -1
  930. package/dist/shared/sr_only_close_button.js +1 -1
  931. package/dist/shared/sr_only_close_button.js.map +1 -1
  932. package/dist/toast-B1WZNMAm.cjs +2 -0
  933. package/dist/toast-B1WZNMAm.cjs.map +1 -0
  934. package/dist/{toast-DvPN-bCi.js → toast-DaH2KF7B.js} +52 -51
  935. package/dist/toast-DaH2KF7B.js.map +1 -0
  936. package/dist/{useResizableCalculations-DAajatT4.js → useResizableCalculations-2UpEXvfY.js} +2 -2
  937. package/dist/{useResizableCalculations-DAajatT4.js.map → useResizableCalculations-2UpEXvfY.js.map} +1 -1
  938. package/dist/{useResizableCalculations-BDITle3Q.cjs → useResizableCalculations-DPBjAFWQ.cjs} +2 -2
  939. package/dist/{useResizableCalculations-BDITle3Q.cjs.map → useResizableCalculations-DPBjAFWQ.cjs.map} +1 -1
  940. package/package.json +9 -7
  941. package/dist/attachment_carousel-BHxR7A76.cjs +0 -2
  942. package/dist/attachment_carousel-BHxR7A76.cjs.map +0 -1
  943. package/dist/attachment_carousel-CouFqFMw.js.map +0 -1
  944. package/dist/combobox-DgClbLOg.js.map +0 -1
  945. package/dist/combobox-DhjZxfUw.cjs +0 -3
  946. package/dist/combobox-DhjZxfUw.cjs.map +0 -1
  947. package/dist/components/split_button/split_button-alpha.vue.d.ts.map +0 -1
  948. package/dist/datepicker-DprRX9AH.cjs +0 -2
  949. package/dist/datepicker-DprRX9AH.cjs.map +0 -1
  950. package/dist/datepicker-LVDRC6Lf.js.map +0 -1
  951. package/dist/emoji_picker-Cl-T4BXK.cjs +0 -2
  952. package/dist/emoji_picker-Cl-T4BXK.cjs.map +0 -1
  953. package/dist/emoji_picker-tVHfpHDk.js.map +0 -1
  954. package/dist/lib/split-button/split-button-alpha.cjs +0 -2
  955. package/dist/lib/split-button/split-button-alpha.cjs.map +0 -1
  956. package/dist/lib/split-button/split-button-alpha.js +0 -107
  957. package/dist/lib/split-button/split-button-alpha.js.map +0 -1
  958. package/dist/lib/split-button/split-button-omega.cjs +0 -2
  959. package/dist/lib/split-button/split-button-omega.cjs.map +0 -1
  960. package/dist/lib/split-button/split-button-omega.js.map +0 -1
  961. package/dist/message_input-AWgvtwMV.cjs +0 -2
  962. package/dist/message_input-AWgvtwMV.cjs.map +0 -1
  963. package/dist/message_input-CHlTsBGK.js.map +0 -1
  964. package/dist/rich_text_editor-DMP5eTlf.cjs +0 -10
  965. package/dist/scroller-BGVDh3sq.js.map +0 -1
  966. package/dist/scroller-CjAsgjl9.cjs +0 -2
  967. package/dist/scroller-CjAsgjl9.cjs.map +0 -1
  968. package/dist/toast-DvPN-bCi.js.map +0 -1
  969. package/dist/toast-d8_zmgkL.cjs +0 -2
  970. package/dist/toast-d8_zmgkL.cjs.map +0 -1
@@ -3,121 +3,122 @@ import { t as i } from "./_plugin-vue_export-helper-BTgDAbhb.js";
3
3
  import { codeToEmojiData as a, emojiRegex as o, emojiShortCodeRegex as s, getEmojiData as c, stringToUnicode as l } from "./common/emoji/index.js";
4
4
  import u from "./lib/avatar/avatar.js";
5
5
  import d from "./lib/badge/badge.js";
6
- import f from "./lib/link/link.js";
7
- import { DialtoneLocalization as p } from "./localization/index.js";
8
- import m from "./lib/button/button.js";
9
- import h from "./lib/list-item/list-item.js";
10
- import g from "./lib/stack/stack.js";
11
- import _ from "./lib/popover/popover.js";
12
- import v from "./lib/emoji/emoji.js";
13
- import y from "./lib/input/input.js";
14
- import { Editor as b, EditorContent as x, NodeViewWrapper as S, VueNodeViewRenderer as C, VueRenderer as w, nodeViewProps as T } from "./node_modules/@tiptap/vue-3.js";
15
- import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as ee, RICH_TEXT_EDITOR_OUTPUT_FORMATS as te, RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS as E } from "./lib/rich-text-editor/rich-text-editor-constants.js";
16
- import { t as ne } from "./markdownRenderer-D_P94RyM.js";
17
- import { Fragment as D, createBlock as O, createCommentVNode as k, createElementBlock as A, createElementVNode as j, createTextVNode as re, createVNode as M, defineComponent as ie, h as ae, markRaw as oe, mergeProps as se, nextTick as ce, normalizeClass as le, onBeforeUnmount as ue, onMounted as de, openBlock as N, ref as fe, renderList as pe, resolveComponent as P, resolveDynamicComponent as me, toDisplayString as F, vShow as he, withCtx as I, withDirectives as ge, withKeys as _e, withModifiers as ve } from "vue";
18
- import { emojiPattern as ye } from "regex-combined-emojis";
19
- import { DtIconLock as be } from "@dialpad/dialtone-icons/vue3";
20
- import { Extension as xe, InputRule as Se, Mark as Ce, Node as we, combineTransactionSteps as Te, findChildrenInRange as Ee, getChangedRanges as De, getMarksBetween as Oe, getText as ke, getTextSerializersFromSchema as Ae, isTextSelection as je, mergeAttributes as L, nodeInputRule as Me, nodePasteRule as Ne, posToDOMRect as Pe } from "@tiptap/core";
21
- import { NodeSelection as Fe, Plugin as Ie, PluginKey as R } from "@tiptap/pm/state";
22
- import { CellSelection as Le } from "@tiptap/pm/tables";
23
- import Re from "@tiptap/extension-blockquote";
24
- import ze from "@tiptap/extension-code-block";
25
- import Be from "@tiptap/extension-code";
26
- import Ve from "@tiptap/extension-document";
27
- import { Gapcursor as He, Placeholder as Ue, UndoRedo as We } from "@tiptap/extensions";
28
- import Ge from "@tiptap/extension-hard-break";
29
- import Ke from "@tiptap/extension-paragraph";
30
- import qe from "@tiptap/extension-bold";
31
- import { BulletList as Je, ListItem as Ye, OrderedList as Xe } from "@tiptap/extension-list";
32
- import Ze from "@tiptap/extension-italic";
33
- import Qe from "@tiptap/extension-link";
34
- import $e from "@tiptap/extension-strike";
35
- import et from "@tiptap/extension-underline";
36
- import tt from "@tiptap/extension-text";
37
- import nt from "@tiptap/extension-text-align";
38
- import { Table as rt, TableCell as it, TableHeader as at, TableRow as ot } from "@tiptap/extension-table";
39
- import { TextStyle as st, TextStyleKit as ct } from "@tiptap/extension-text-style";
40
- import lt from "@tiptap/suggestion";
41
- import ut from "@tiptap/extension-image";
42
- import dt from "@tiptap/extension-mention";
43
- import ft from "@dialpad/dialtone-icons/vue3/hash";
44
- import pt from "@dialpad/dialtone-icons/vue3/lock";
45
- import mt from "deep-equal";
6
+ import f from "./lib/text/text.js";
7
+ import p from "./lib/link/link.js";
8
+ import { DialtoneLocalization as m } from "./localization/index.js";
9
+ import h from "./lib/button/button.js";
10
+ import g from "./lib/list-item/list-item.js";
11
+ import _ from "./lib/stack/stack.js";
12
+ import v from "./lib/popover/popover.js";
13
+ import y from "./lib/emoji/emoji.js";
14
+ import b from "./lib/input/input.js";
15
+ import { Editor as x, EditorContent as ee, NodeViewWrapper as S, VueNodeViewRenderer as C, VueRenderer as w, nodeViewProps as T } from "./node_modules/@tiptap/vue-3.js";
16
+ import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as te, RICH_TEXT_EDITOR_OUTPUT_FORMATS as ne, RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS as re } from "./lib/rich-text-editor/rich-text-editor-constants.js";
17
+ import { t as E } from "./markdownRenderer-k7_rQkox.js";
18
+ import { Fragment as ie, createBlock as D, createCommentVNode as O, createElementBlock as ae, createElementVNode as oe, createTextVNode as k, createVNode as A, defineComponent as se, h as ce, markRaw as le, mergeProps as ue, nextTick as de, normalizeClass as fe, onBeforeUnmount as pe, onMounted as me, openBlock as j, ref as he, renderList as ge, resolveComponent as M, resolveDynamicComponent as _e, toDisplayString as N, vShow as ve, withCtx as P, withDirectives as ye, withKeys as be, withModifiers as xe } from "vue";
19
+ import { emojiPattern as Se } from "regex-combined-emojis";
20
+ import { DtIconLock as Ce } from "@dialpad/dialtone-icons/vue";
21
+ import { Extension as we, InputRule as Te, Mark as Ee, Node as De, combineTransactionSteps as Oe, findChildrenInRange as ke, getChangedRanges as Ae, getMarksBetween as je, getText as Me, getTextSerializersFromSchema as Ne, isTextSelection as Pe, mergeAttributes as F, nodeInputRule as Fe, nodePasteRule as Ie, posToDOMRect as Le } from "@tiptap/core";
22
+ import { NodeSelection as Re, Plugin as ze, PluginKey as I } from "@tiptap/pm/state";
23
+ import { CellSelection as Be } from "@tiptap/pm/tables";
24
+ import Ve from "@tiptap/extension-blockquote";
25
+ import He from "@tiptap/extension-code-block";
26
+ import Ue from "@tiptap/extension-code";
27
+ import We from "@tiptap/extension-document";
28
+ import { Gapcursor as Ge, Placeholder as Ke, UndoRedo as qe } from "@tiptap/extensions";
29
+ import Je from "@tiptap/extension-hard-break";
30
+ import Ye from "@tiptap/extension-paragraph";
31
+ import Xe from "@tiptap/extension-bold";
32
+ import { BulletList as Ze, ListItem as Qe, OrderedList as $e } from "@tiptap/extension-list";
33
+ import et from "@tiptap/extension-italic";
34
+ import tt from "@tiptap/extension-link";
35
+ import nt from "@tiptap/extension-strike";
36
+ import rt from "@tiptap/extension-underline";
37
+ import it from "@tiptap/extension-text";
38
+ import at from "@tiptap/extension-text-align";
39
+ import { Table as ot, TableCell as st, TableHeader as ct, TableRow as lt } from "@tiptap/extension-table";
40
+ import { TextStyle as ut, TextStyleKit as dt } from "@tiptap/extension-text-style";
41
+ import ft from "@tiptap/suggestion";
42
+ import pt from "@tiptap/extension-image";
43
+ import mt from "@tiptap/extension-mention";
44
+ import ht from "@dialpad/dialtone-icons/vue/hash";
45
+ import gt from "@dialpad/dialtone-icons/vue/lock";
46
+ import _t from "deep-equal";
46
47
  //#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
47
- var ht = [
48
+ var vt = [
48
49
  "top",
49
50
  "right",
50
51
  "bottom",
51
52
  "left"
52
- ], gt = ["start", "end"], _t = /* @__PURE__ */ ht.reduce((e, t) => e.concat(t, t + "-" + gt[0], t + "-" + gt[1]), []), z = Math.min, B = Math.max, vt = Math.round, V = (e) => ({
53
+ ], yt = ["start", "end"], bt = /* @__PURE__ */ vt.reduce((e, t) => e.concat(t, t + "-" + yt[0], t + "-" + yt[1]), []), L = Math.min, R = Math.max, xt = Math.round, z = (e) => ({
53
54
  x: e,
54
55
  y: e
55
- }), yt = {
56
+ }), St = {
56
57
  left: "right",
57
58
  right: "left",
58
59
  bottom: "top",
59
60
  top: "bottom"
60
61
  };
61
- function bt(e, t, n) {
62
- return B(e, z(t, n));
62
+ function Ct(e, t, n) {
63
+ return R(e, L(t, n));
63
64
  }
64
- function H(e, t) {
65
+ function B(e, t) {
65
66
  return typeof e == "function" ? e(t) : e;
66
67
  }
67
- function U(e) {
68
+ function V(e) {
68
69
  return e.split("-")[0];
69
70
  }
70
- function W(e) {
71
+ function H(e) {
71
72
  return e.split("-")[1];
72
73
  }
73
- function xt(e) {
74
+ function wt(e) {
74
75
  return e === "x" ? "y" : "x";
75
76
  }
76
- function St(e) {
77
+ function Tt(e) {
77
78
  return e === "y" ? "height" : "width";
78
79
  }
79
- function G(e) {
80
+ function U(e) {
80
81
  let t = e[0];
81
82
  return t === "t" || t === "b" ? "y" : "x";
82
83
  }
83
- function Ct(e) {
84
- return xt(G(e));
84
+ function Et(e) {
85
+ return wt(U(e));
85
86
  }
86
- function wt(e, t, n) {
87
+ function Dt(e, t, n) {
87
88
  n === void 0 && (n = !1);
88
- let r = W(e), i = Ct(e), a = St(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
89
- return t.reference[a] > t.floating[a] && (o = Nt(o)), [o, Nt(o)];
89
+ let r = H(e), i = Et(e), a = Tt(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
90
+ return t.reference[a] > t.floating[a] && (o = It(o)), [o, It(o)];
90
91
  }
91
- function Tt(e) {
92
- let t = Nt(e);
92
+ function Ot(e) {
93
+ let t = It(e);
93
94
  return [
94
- Et(e),
95
+ kt(e),
95
96
  t,
96
- Et(t)
97
+ kt(t)
97
98
  ];
98
99
  }
99
- function Et(e) {
100
+ function kt(e) {
100
101
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
101
102
  }
102
- var Dt = ["left", "right"], Ot = ["right", "left"], kt = ["top", "bottom"], At = ["bottom", "top"];
103
- function jt(e, t, n) {
103
+ var At = ["left", "right"], jt = ["right", "left"], Mt = ["top", "bottom"], Nt = ["bottom", "top"];
104
+ function Pt(e, t, n) {
104
105
  switch (e) {
105
106
  case "top":
106
- case "bottom": return n ? t ? Ot : Dt : t ? Dt : Ot;
107
+ case "bottom": return n ? t ? jt : At : t ? At : jt;
107
108
  case "left":
108
- case "right": return t ? kt : At;
109
+ case "right": return t ? Mt : Nt;
109
110
  default: return [];
110
111
  }
111
112
  }
112
- function Mt(e, t, n, r) {
113
- let i = W(e), a = jt(U(e), n === "start", r);
114
- return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Et)))), a;
113
+ function Ft(e, t, n, r) {
114
+ let i = H(e), a = Pt(V(e), n === "start", r);
115
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(kt)))), a;
115
116
  }
116
- function Nt(e) {
117
- let t = U(e);
118
- return yt[t] + e.slice(t.length);
117
+ function It(e) {
118
+ let t = V(e);
119
+ return St[t] + e.slice(t.length);
119
120
  }
120
- function Pt(e) {
121
+ function Lt(e) {
121
122
  return {
122
123
  top: 0,
123
124
  right: 0,
@@ -126,15 +127,15 @@ function Pt(e) {
126
127
  ...e
127
128
  };
128
129
  }
129
- function Ft(e) {
130
+ function Rt(e) {
130
131
  return typeof e == "number" ? {
131
132
  top: e,
132
133
  right: e,
133
134
  bottom: e,
134
135
  left: e
135
- } : Pt(e);
136
+ } : Lt(e);
136
137
  }
137
- function It(e) {
138
+ function W(e) {
138
139
  let { x: t, y: n, width: r, height: i } = e;
139
140
  return {
140
141
  width: r,
@@ -149,8 +150,8 @@ function It(e) {
149
150
  }
150
151
  //#endregion
151
152
  //#region ../../node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
152
- function Lt(e, t, n) {
153
- let { reference: r, floating: i } = e, a = G(t), o = Ct(t), s = St(o), c = U(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
153
+ function zt(e, t, n) {
154
+ let { reference: r, floating: i } = e, a = U(t), o = Et(t), s = Tt(o), c = V(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
154
155
  switch (c) {
155
156
  case "top":
156
157
  p = {
@@ -181,7 +182,7 @@ function Lt(e, t, n) {
181
182
  y: r.y
182
183
  };
183
184
  }
184
- switch (W(t)) {
185
+ switch (H(t)) {
185
186
  case "start":
186
187
  p[o] -= f * (n && l ? -1 : 1);
187
188
  break;
@@ -191,9 +192,9 @@ function Lt(e, t, n) {
191
192
  }
192
193
  return p;
193
194
  }
194
- async function Rt(e, t) {
195
+ async function Bt(e, t) {
195
196
  t === void 0 && (t = {});
196
- let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = H(t, e), p = Ft(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = It(await i.getClippingRect({
197
+ let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = B(t, e), p = Rt(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = W(await i.getClippingRect({
197
198
  element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
198
199
  boundary: c,
199
200
  rootBoundary: l,
@@ -206,7 +207,7 @@ async function Rt(e, t) {
206
207
  } : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
207
208
  x: 1,
208
209
  y: 1
209
- }, y = It(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
210
+ }, y = W(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
210
211
  elements: o,
211
212
  rect: g,
212
213
  offsetParent: _,
@@ -219,15 +220,15 @@ async function Rt(e, t) {
219
220
  right: (y.right - h.right + p.right) / v.x
220
221
  };
221
222
  }
222
- var zt = 50, Bt = async (e, t, n) => {
223
+ var Vt = 50, Ht = async (e, t, n) => {
223
224
  let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
224
225
  ...o,
225
- detectOverflow: Rt
226
+ detectOverflow: Bt
226
227
  }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
227
228
  reference: e,
228
229
  floating: t,
229
230
  strategy: i
230
- }), { x: u, y: d } = Lt(l, r, c), f = r, p = 0, m = {};
231
+ }), { x: u, y: d } = zt(l, r, c), f = r, p = 0, m = {};
231
232
  for (let n = 0; n < a.length; n++) {
232
233
  let h = a[n];
233
234
  if (!h) continue;
@@ -248,11 +249,11 @@ var zt = 50, Bt = async (e, t, n) => {
248
249
  u = v ?? u, d = y ?? d, m[g] = {
249
250
  ...m[g],
250
251
  ...b
251
- }, x && p < zt && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
252
+ }, x && p < Vt && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
252
253
  reference: e,
253
254
  floating: t,
254
255
  strategy: i
255
- }) : x.rects), {x: u, y: d} = Lt(l, f, c)), n = -1);
256
+ }) : x.rects), {x: u, y: d} = zt(l, f, c)), n = -1);
256
257
  }
257
258
  return {
258
259
  x: u,
@@ -261,43 +262,43 @@ var zt = 50, Bt = async (e, t, n) => {
261
262
  strategy: i,
262
263
  middlewareData: m
263
264
  };
264
- }, Vt = (e) => ({
265
+ }, Ut = (e) => ({
265
266
  name: "arrow",
266
267
  options: e,
267
268
  async fn(t) {
268
- let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = H(e, t) || {};
269
+ let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = B(e, t) || {};
269
270
  if (l == null) return {};
270
- let d = Ft(u), f = {
271
+ let d = Rt(u), f = {
271
272
  x: n,
272
273
  y: r
273
- }, p = Ct(i), m = St(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
274
- (!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
275
- let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = z(d[_], T), te = z(d[v], T), E = ee, ne = C - h[m] - te, D = C / 2 - h[m] / 2 + w, O = bt(E, D, ne), k = !c.arrow && W(i) != null && D !== O && a.reference[m] / 2 - (D < E ? ee : te) - h[m] / 2 < 0, A = k ? D < E ? D - E : D - ne : 0;
274
+ }, p = Et(i), m = Tt(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], ee = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), S = ee ? ee[y] : 0;
275
+ (!S || !await (o.isElement == null ? void 0 : o.isElement(ee))) && (S = s.floating[y] || a.floating[m]);
276
+ let C = b / 2 - x / 2, w = S / 2 - h[m] / 2 - 1, T = L(d[_], w), te = L(d[v], w), ne = T, re = S - h[m] - te, E = S / 2 - h[m] / 2 + C, ie = Ct(ne, E, re), D = !c.arrow && H(i) != null && E !== ie && a.reference[m] / 2 - (E < ne ? T : te) - h[m] / 2 < 0, O = D ? E < ne ? E - ne : E - re : 0;
276
277
  return {
277
- [p]: f[p] + A,
278
+ [p]: f[p] + O,
278
279
  data: {
279
- [p]: O,
280
- centerOffset: D - O - A,
281
- ...k && { alignmentOffset: A }
280
+ [p]: ie,
281
+ centerOffset: E - ie - O,
282
+ ...D && { alignmentOffset: O }
282
283
  },
283
- reset: k
284
+ reset: D
284
285
  };
285
286
  }
286
287
  });
287
- function Ht(e, t, n) {
288
- return (e ? [...n.filter((t) => W(t) === e), ...n.filter((t) => W(t) !== e)] : n.filter((e) => U(e) === e)).filter((n) => e ? W(n) === e || (t ? Et(n) !== n : !1) : !0);
288
+ function Wt(e, t, n) {
289
+ return (e ? [...n.filter((t) => H(t) === e), ...n.filter((t) => H(t) !== e)] : n.filter((e) => V(e) === e)).filter((n) => e ? H(n) === e || (t ? kt(n) !== n : !1) : !0);
289
290
  }
290
- var Ut = function(e) {
291
+ var Gt = function(e) {
291
292
  return e === void 0 && (e = {}), {
292
293
  name: "autoPlacement",
293
294
  options: e,
294
295
  async fn(t) {
295
- let { rects: n, middlewareData: r, placement: i, platform: a, elements: o } = t, { crossAxis: s = !1, alignment: c, allowedPlacements: l = _t, autoAlignment: u = !0, ...d } = H(e, t), f = c !== void 0 || l === _t ? Ht(c || null, u, l) : l, p = await a.detectOverflow(t, d), m = r.autoPlacement?.index || 0, h = f[m];
296
+ let { rects: n, middlewareData: r, placement: i, platform: a, elements: o } = t, { crossAxis: s = !1, alignment: c, allowedPlacements: l = bt, autoAlignment: u = !0, ...d } = B(e, t), f = c !== void 0 || l === bt ? Wt(c || null, u, l) : l, p = await a.detectOverflow(t, d), m = r.autoPlacement?.index || 0, h = f[m];
296
297
  if (h == null) return {};
297
- let g = wt(h, n, await (a.isRTL == null ? void 0 : a.isRTL(o.floating)));
298
+ let g = Dt(h, n, await (a.isRTL == null ? void 0 : a.isRTL(o.floating)));
298
299
  if (i !== h) return { reset: { placement: f[0] } };
299
300
  let _ = [
300
- p[U(h)],
301
+ p[V(h)],
301
302
  p[g[0]],
302
303
  p[g[1]]
303
304
  ], v = [...r.autoPlacement?.overflows || [], {
@@ -312,13 +313,13 @@ var Ut = function(e) {
312
313
  reset: { placement: y }
313
314
  };
314
315
  let b = v.map((e) => {
315
- let t = W(e.placement);
316
+ let t = H(e.placement);
316
317
  return [
317
318
  e.placement,
318
319
  t && s ? e.overflows.slice(0, 2).reduce((e, t) => e + t, 0) : e.overflows[0],
319
320
  e.overflows
320
321
  ];
321
- }).sort((e, t) => e[1] - t[1]), x = b.filter((e) => e[2].slice(0, W(e[0]) ? 2 : 3).every((e) => e <= 0))[0]?.[0] || b[0][0];
322
+ }).sort((e, t) => e[1] - t[1]), x = b.filter((e) => e[2].slice(0, H(e[0]) ? 2 : 3).every((e) => e <= 0))[0]?.[0] || b[0][0];
322
323
  return x === i ? {} : {
323
324
  data: {
324
325
  index: m + 1,
@@ -328,39 +329,39 @@ var Ut = function(e) {
328
329
  };
329
330
  }
330
331
  };
331
- }, Wt = function(e) {
332
+ }, Kt = function(e) {
332
333
  return e === void 0 && (e = {}), {
333
334
  name: "flip",
334
335
  options: e,
335
336
  async fn(t) {
336
337
  var n;
337
- let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = H(e, t);
338
+ let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = B(e, t);
338
339
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
339
- let g = U(r), _ = G(o), v = U(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Nt(o)] : Tt(o)), x = p !== "none";
340
- !d && x && b.push(...Mt(o, m, p, y));
341
- let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
342
- if (l && w.push(C[g]), u) {
343
- let e = wt(r, a, y);
344
- w.push(C[e[0]], C[e[1]]);
340
+ let g = V(r), _ = U(o), v = V(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [It(o)] : Ot(o)), x = p !== "none";
341
+ !d && x && b.push(...Ft(o, m, p, y));
342
+ let ee = [o, ...b], S = await s.detectOverflow(t, h), C = [], w = i.flip?.overflows || [];
343
+ if (l && C.push(S[g]), u) {
344
+ let e = Dt(r, a, y);
345
+ C.push(S[e[0]], S[e[1]]);
345
346
  }
346
- if (T = [...T, {
347
+ if (w = [...w, {
347
348
  placement: r,
348
- overflows: w
349
- }], !w.every((e) => e <= 0)) {
350
- let e = (i.flip?.index || 0) + 1, t = S[e];
351
- if (t && (!(u === "alignment" && _ !== G(t)) || T.every((e) => G(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
349
+ overflows: C
350
+ }], !C.every((e) => e <= 0)) {
351
+ let e = (i.flip?.index || 0) + 1, t = ee[e];
352
+ if (t && (!(u === "alignment" && _ !== U(t)) || w.every((e) => U(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
352
353
  data: {
353
354
  index: e,
354
- overflows: T
355
+ overflows: w
355
356
  },
356
357
  reset: { placement: t }
357
358
  };
358
- let n = T.filter((e) => e.overflows[0] <= 0).sort((e, t) => e.overflows[1] - t.overflows[1])[0]?.placement;
359
+ let n = w.filter((e) => e.overflows[0] <= 0).sort((e, t) => e.overflows[1] - t.overflows[1])[0]?.placement;
359
360
  if (!n) switch (f) {
360
361
  case "bestFit": {
361
- let e = T.filter((e) => {
362
+ let e = w.filter((e) => {
362
363
  if (x) {
363
- let t = G(e.placement);
364
+ let t = U(e.placement);
364
365
  return t === _ || t === "y";
365
366
  }
366
367
  return !0;
@@ -378,7 +379,7 @@ var Ut = function(e) {
378
379
  }
379
380
  };
380
381
  };
381
- function Gt(e, t) {
382
+ function qt(e, t) {
382
383
  return {
383
384
  top: e.top - t.height,
384
385
  right: e.right - t.width,
@@ -386,34 +387,34 @@ function Gt(e, t) {
386
387
  left: e.left - t.width
387
388
  };
388
389
  }
389
- function Kt(e) {
390
- return ht.some((t) => e[t] >= 0);
390
+ function Jt(e) {
391
+ return vt.some((t) => e[t] >= 0);
391
392
  }
392
- var qt = function(e) {
393
+ var Yt = function(e) {
393
394
  return e === void 0 && (e = {}), {
394
395
  name: "hide",
395
396
  options: e,
396
397
  async fn(t) {
397
- let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = H(e, t);
398
+ let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = B(e, t);
398
399
  switch (i) {
399
400
  case "referenceHidden": {
400
- let e = Gt(await r.detectOverflow(t, {
401
+ let e = qt(await r.detectOverflow(t, {
401
402
  ...a,
402
403
  elementContext: "reference"
403
404
  }), n.reference);
404
405
  return { data: {
405
406
  referenceHiddenOffsets: e,
406
- referenceHidden: Kt(e)
407
+ referenceHidden: Jt(e)
407
408
  } };
408
409
  }
409
410
  case "escaped": {
410
- let e = Gt(await r.detectOverflow(t, {
411
+ let e = qt(await r.detectOverflow(t, {
411
412
  ...a,
412
413
  altBoundary: !0
413
414
  }), n.floating);
414
415
  return { data: {
415
416
  escapedOffsets: e,
416
- escaped: Kt(e)
417
+ escaped: Jt(e)
417
418
  } };
418
419
  }
419
420
  default: return {};
@@ -421,8 +422,8 @@ var qt = function(e) {
421
422
  }
422
423
  };
423
424
  };
424
- function Jt(e) {
425
- let t = z(...e.map((e) => e.left)), n = z(...e.map((e) => e.top)), r = B(...e.map((e) => e.right)), i = B(...e.map((e) => e.bottom));
425
+ function Xt(e) {
426
+ let t = L(...e.map((e) => e.left)), n = L(...e.map((e) => e.top)), r = R(...e.map((e) => e.right)), i = R(...e.map((e) => e.bottom));
426
427
  return {
427
428
  x: t,
428
429
  y: n,
@@ -430,25 +431,25 @@ function Jt(e) {
430
431
  height: i - n
431
432
  };
432
433
  }
433
- function Yt(e) {
434
+ function Zt(e) {
434
435
  let t = e.slice().sort((e, t) => e.y - t.y), n = [], r = null;
435
436
  for (let e = 0; e < t.length; e++) {
436
437
  let i = t[e];
437
438
  !r || i.y - r.y > r.height / 2 ? n.push([i]) : n[n.length - 1].push(i), r = i;
438
439
  }
439
- return n.map((e) => It(Jt(e)));
440
+ return n.map((e) => W(Xt(e)));
440
441
  }
441
- var Xt = function(e) {
442
+ var Qt = function(e) {
442
443
  return e === void 0 && (e = {}), {
443
444
  name: "inline",
444
445
  options: e,
445
446
  async fn(t) {
446
- let { placement: n, elements: r, rects: i, platform: a, strategy: o } = t, { padding: s = 2, x: c, y: l } = H(e, t), u = Array.from(await (a.getClientRects == null ? void 0 : a.getClientRects(r.reference)) || []), d = Yt(u), f = It(Jt(u)), p = Ft(s);
447
+ let { placement: n, elements: r, rects: i, platform: a, strategy: o } = t, { padding: s = 2, x: c, y: l } = B(e, t), u = Array.from(await (a.getClientRects == null ? void 0 : a.getClientRects(r.reference)) || []), d = Zt(u), f = W(Xt(u)), p = Rt(s);
447
448
  function m() {
448
449
  if (d.length === 2 && d[0].left > d[1].right && c != null && l != null) return d.find((e) => c > e.left - p.left && c < e.right + p.right && l > e.top - p.top && l < e.bottom + p.bottom) || f;
449
450
  if (d.length >= 2) {
450
- if (G(n) === "y") {
451
- let e = d[0], t = d[d.length - 1], r = U(n) === "top", i = e.top, a = t.bottom, o = r ? e.left : t.left, s = r ? e.right : t.right;
451
+ if (U(n) === "y") {
452
+ let e = d[0], t = d[d.length - 1], r = V(n) === "top", i = e.top, a = t.bottom, o = r ? e.left : t.left, s = r ? e.right : t.right;
452
453
  return {
453
454
  top: i,
454
455
  bottom: a,
@@ -460,7 +461,7 @@ var Xt = function(e) {
460
461
  y: i
461
462
  };
462
463
  }
463
- let e = U(n) === "left", t = B(...d.map((e) => e.right)), r = z(...d.map((e) => e.left)), i = d.filter((n) => e ? n.left === r : n.right === t), a = i[0].top, o = i[i.length - 1].bottom, s = r, c = t;
464
+ let e = V(n) === "left", t = R(...d.map((e) => e.right)), r = L(...d.map((e) => e.left)), i = d.filter((n) => e ? n.left === r : n.right === t), a = i[0].top, o = i[i.length - 1].bottom, s = r, c = t;
464
465
  return {
465
466
  top: a,
466
467
  bottom: o,
@@ -482,9 +483,9 @@ var Xt = function(e) {
482
483
  return i.reference.x !== h.reference.x || i.reference.y !== h.reference.y || i.reference.width !== h.reference.width || i.reference.height !== h.reference.height ? { reset: { rects: h } } : {};
483
484
  }
484
485
  };
485
- }, Zt = /* @__PURE__ */ new Set(["left", "top"]);
486
- async function Qt(e, t) {
487
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = U(n), s = W(n), c = G(n) === "y", l = Zt.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = H(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
486
+ }, $t = /* @__PURE__ */ new Set(["left", "top"]);
487
+ async function en(e, t) {
488
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = V(n), s = H(n), c = U(n) === "y", l = $t.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = B(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
488
489
  mainAxis: d,
489
490
  crossAxis: 0,
490
491
  alignmentAxis: null
@@ -501,13 +502,13 @@ async function Qt(e, t) {
501
502
  y: p * u
502
503
  };
503
504
  }
504
- var $t = function(e) {
505
+ var tn = function(e) {
505
506
  return e === void 0 && (e = 0), {
506
507
  name: "offset",
507
508
  options: e,
508
509
  async fn(t) {
509
510
  var n;
510
- let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Qt(t, e);
511
+ let { x: r, y: i, placement: a, middlewareData: o } = t, s = await en(t, e);
511
512
  return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
512
513
  x: r + s.x,
513
514
  y: i + s.y,
@@ -518,7 +519,7 @@ var $t = function(e) {
518
519
  };
519
520
  }
520
521
  };
521
- }, en = function(e) {
522
+ }, nn = function(e) {
522
523
  return e === void 0 && (e = {}), {
523
524
  name: "shift",
524
525
  options: e,
@@ -529,17 +530,17 @@ var $t = function(e) {
529
530
  x: t,
530
531
  y: n
531
532
  };
532
- } }, ...l } = H(e, t), u = {
533
+ } }, ...l } = B(e, t), u = {
533
534
  x: n,
534
535
  y: r
535
- }, d = await a.detectOverflow(t, l), f = G(U(i)), p = xt(f), m = u[p], h = u[f];
536
+ }, d = await a.detectOverflow(t, l), f = U(V(i)), p = wt(f), m = u[p], h = u[f];
536
537
  if (o) {
537
538
  let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
538
- m = bt(n, m, r);
539
+ m = Ct(n, m, r);
539
540
  }
540
541
  if (s) {
541
542
  let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
542
- h = bt(n, h, r);
543
+ h = Ct(n, h, r);
543
544
  }
544
545
  let g = c.fn({
545
546
  ...t,
@@ -559,64 +560,64 @@ var $t = function(e) {
559
560
  };
560
561
  }
561
562
  };
562
- }, tn = function(e) {
563
+ }, rn = function(e) {
563
564
  return e === void 0 && (e = {}), {
564
565
  name: "size",
565
566
  options: e,
566
567
  async fn(t) {
567
568
  var n, r;
568
- let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = H(e, t), u = await o.detectOverflow(t, l), d = U(i), f = W(i), p = G(i) === "y", { width: m, height: h } = a.floating, g, _;
569
+ let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = B(e, t), u = await o.detectOverflow(t, l), d = V(i), f = H(i), p = U(i) === "y", { width: m, height: h } = a.floating, g, _;
569
570
  d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
570
- let v = h - u.top - u.bottom, y = m - u.left - u.right, b = z(h - u[g], v), x = z(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
571
- if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
572
- let e = B(u.left, 0), t = B(u.right, 0), n = B(u.top, 0), r = B(u.bottom, 0);
573
- p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : B(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : B(u.top, u.bottom));
571
+ let v = h - u.top - u.bottom, y = m - u.left - u.right, b = L(h - u[g], v), x = L(m - u[_], y), ee = !t.middlewareData.shift, S = b, C = x;
572
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && (C = y), (r = t.middlewareData.shift) != null && r.enabled.y && (S = v), ee && !f) {
573
+ let e = R(u.left, 0), t = R(u.right, 0), n = R(u.top, 0), r = R(u.bottom, 0);
574
+ p ? C = m - 2 * (e !== 0 || t !== 0 ? e + t : R(u.left, u.right)) : S = h - 2 * (n !== 0 || r !== 0 ? n + r : R(u.top, u.bottom));
574
575
  }
575
576
  await c({
576
577
  ...t,
577
- availableWidth: w,
578
- availableHeight: C
578
+ availableWidth: C,
579
+ availableHeight: S
579
580
  });
580
- let T = await o.getDimensions(s.floating);
581
- return m !== T.width || h !== T.height ? { reset: { rects: !0 } } : {};
581
+ let w = await o.getDimensions(s.floating);
582
+ return m !== w.width || h !== w.height ? { reset: { rects: !0 } } : {};
582
583
  }
583
584
  };
584
585
  };
585
586
  //#endregion
586
587
  //#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
587
- function nn() {
588
+ function an() {
588
589
  return typeof window < "u";
589
590
  }
590
- function rn(e) {
591
- return an(e) ? (e.nodeName || "").toLowerCase() : "#document";
591
+ function G(e) {
592
+ return on(e) ? (e.nodeName || "").toLowerCase() : "#document";
592
593
  }
593
594
  function K(e) {
594
595
  var t;
595
596
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
596
597
  }
597
598
  function q(e) {
598
- return ((an(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
599
+ return ((on(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
599
600
  }
600
- function an(e) {
601
- return nn() ? e instanceof Node || e instanceof K(e).Node : !1;
601
+ function on(e) {
602
+ return an() ? e instanceof Node || e instanceof K(e).Node : !1;
602
603
  }
603
604
  function J(e) {
604
- return nn() ? e instanceof Element || e instanceof K(e).Element : !1;
605
+ return an() ? e instanceof Element || e instanceof K(e).Element : !1;
605
606
  }
606
607
  function Y(e) {
607
- return nn() ? e instanceof HTMLElement || e instanceof K(e).HTMLElement : !1;
608
- }
609
- function on(e) {
610
- return !nn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof K(e).ShadowRoot;
608
+ return an() ? e instanceof HTMLElement || e instanceof K(e).HTMLElement : !1;
611
609
  }
612
610
  function sn(e) {
613
- let { overflow: t, overflowX: n, overflowY: r, display: i } = Z(e);
614
- return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
611
+ return !an() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof K(e).ShadowRoot;
615
612
  }
616
613
  function cn(e) {
617
- return /^(table|td|th)$/.test(rn(e));
614
+ let { overflow: t, overflowX: n, overflowY: r, display: i } = Z(e);
615
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
618
616
  }
619
617
  function ln(e) {
618
+ return /^(table|td|th)$/.test(G(e));
619
+ }
620
+ function un(e) {
620
621
  try {
621
622
  if (e.matches(":popover-open")) return !0;
622
623
  } catch {}
@@ -626,30 +627,30 @@ function ln(e) {
626
627
  return !1;
627
628
  }
628
629
  }
629
- var un = /transform|translate|scale|rotate|perspective|filter/, dn = /paint|layout|strict|content/, X = (e) => !!e && e !== "none", fn;
630
- function pn(e) {
630
+ var dn = /transform|translate|scale|rotate|perspective|filter/, fn = /paint|layout|strict|content/, X = (e) => !!e && e !== "none", pn;
631
+ function mn(e) {
631
632
  let t = J(e) ? Z(e) : e;
632
- return X(t.transform) || X(t.translate) || X(t.scale) || X(t.rotate) || X(t.perspective) || !hn() && (X(t.backdropFilter) || X(t.filter)) || un.test(t.willChange || "") || dn.test(t.contain || "");
633
+ return X(t.transform) || X(t.translate) || X(t.scale) || X(t.rotate) || X(t.perspective) || !gn() && (X(t.backdropFilter) || X(t.filter)) || dn.test(t.willChange || "") || fn.test(t.contain || "");
633
634
  }
634
- function mn(e) {
635
+ function hn(e) {
635
636
  let t = Q(e);
636
- for (; Y(t) && !gn(t);) {
637
- if (pn(t)) return t;
638
- if (ln(t)) return null;
637
+ for (; Y(t) && !_n(t);) {
638
+ if (mn(t)) return t;
639
+ if (un(t)) return null;
639
640
  t = Q(t);
640
641
  }
641
642
  return null;
642
643
  }
643
- function hn() {
644
- return fn ?? (fn = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), fn;
644
+ function gn() {
645
+ return pn ?? (pn = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), pn;
645
646
  }
646
- function gn(e) {
647
- return /^(html|body|#document)$/.test(rn(e));
647
+ function _n(e) {
648
+ return /^(html|body|#document)$/.test(G(e));
648
649
  }
649
650
  function Z(e) {
650
651
  return K(e).getComputedStyle(e);
651
652
  }
652
- function _n(e) {
653
+ function vn(e) {
653
654
  return J(e) ? {
654
655
  scrollLeft: e.scrollLeft,
655
656
  scrollTop: e.scrollTop
@@ -659,100 +660,100 @@ function _n(e) {
659
660
  };
660
661
  }
661
662
  function Q(e) {
662
- if (rn(e) === "html") return e;
663
- let t = e.assignedSlot || e.parentNode || on(e) && e.host || q(e);
664
- return on(t) ? t.host : t;
663
+ if (G(e) === "html") return e;
664
+ let t = e.assignedSlot || e.parentNode || sn(e) && e.host || q(e);
665
+ return sn(t) ? t.host : t;
665
666
  }
666
- function vn(e) {
667
+ function yn(e) {
667
668
  let t = Q(e);
668
- return gn(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Y(t) && sn(t) ? t : vn(t);
669
+ return _n(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Y(t) && cn(t) ? t : yn(t);
669
670
  }
670
- function yn(e, t, n) {
671
+ function bn(e, t, n) {
671
672
  t === void 0 && (t = []), n === void 0 && (n = !0);
672
- let r = vn(e), i = r === e.ownerDocument?.body, a = K(r);
673
+ let r = yn(e), i = r === e.ownerDocument?.body, a = K(r);
673
674
  if (i) {
674
- let e = bn(a);
675
- return t.concat(a, a.visualViewport || [], sn(r) ? r : [], e && n ? yn(e) : []);
676
- } else return t.concat(r, yn(r, [], n));
675
+ let e = xn(a);
676
+ return t.concat(a, a.visualViewport || [], cn(r) ? r : [], e && n ? bn(e) : []);
677
+ } else return t.concat(r, bn(r, [], n));
677
678
  }
678
- function bn(e) {
679
+ function xn(e) {
679
680
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
680
681
  }
681
682
  //#endregion
682
683
  //#region ../../node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
683
- function xn(e) {
684
- let t = Z(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Y(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = vt(n) !== a || vt(r) !== o;
684
+ function Sn(e) {
685
+ let t = Z(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Y(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = xt(n) !== a || xt(r) !== o;
685
686
  return s && (n = a, r = o), {
686
687
  width: n,
687
688
  height: r,
688
689
  $: s
689
690
  };
690
691
  }
691
- function Sn(e) {
692
+ function Cn(e) {
692
693
  return J(e) ? e : e.contextElement;
693
694
  }
694
- function Cn(e) {
695
- let t = Sn(e);
696
- if (!Y(t)) return V(1);
697
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = xn(t), o = (a ? vt(n.width) : n.width) / r, s = (a ? vt(n.height) : n.height) / i;
695
+ function wn(e) {
696
+ let t = Cn(e);
697
+ if (!Y(t)) return z(1);
698
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Sn(t), o = (a ? xt(n.width) : n.width) / r, s = (a ? xt(n.height) : n.height) / i;
698
699
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
699
700
  x: o,
700
701
  y: s
701
702
  };
702
703
  }
703
- var wn = /* @__PURE__ */ V(0);
704
- function Tn(e) {
704
+ var Tn = /* @__PURE__ */ z(0);
705
+ function En(e) {
705
706
  let t = K(e);
706
- return !hn() || !t.visualViewport ? wn : {
707
+ return !gn() || !t.visualViewport ? Tn : {
707
708
  x: t.visualViewport.offsetLeft,
708
709
  y: t.visualViewport.offsetTop
709
710
  };
710
711
  }
711
- function En(e, t, n) {
712
+ function Dn(e, t, n) {
712
713
  return t === void 0 && (t = !1), !n || t && n !== K(e) ? !1 : t;
713
714
  }
714
- function Dn(e, t, n, r) {
715
+ function On(e, t, n, r) {
715
716
  t === void 0 && (t = !1), n === void 0 && (n = !1);
716
- let i = e.getBoundingClientRect(), a = Sn(e), o = V(1);
717
- t && (r ? J(r) && (o = Cn(r)) : o = Cn(e));
718
- let s = En(a, n, r) ? Tn(a) : V(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
717
+ let i = e.getBoundingClientRect(), a = Cn(e), o = z(1);
718
+ t && (r ? J(r) && (o = wn(r)) : o = wn(e));
719
+ let s = Dn(a, n, r) ? En(a) : z(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
719
720
  if (a) {
720
- let e = K(a), t = r && J(r) ? K(r) : r, n = e, i = bn(n);
721
+ let e = K(a), t = r && J(r) ? K(r) : r, n = e, i = xn(n);
721
722
  for (; i && r && t !== n;) {
722
- let e = Cn(i), t = i.getBoundingClientRect(), r = Z(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
723
- c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = K(i), i = bn(n);
723
+ let e = wn(i), t = i.getBoundingClientRect(), r = Z(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
724
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = K(i), i = xn(n);
724
725
  }
725
726
  }
726
- return It({
727
+ return W({
727
728
  width: u,
728
729
  height: d,
729
730
  x: c,
730
731
  y: l
731
732
  });
732
733
  }
733
- function On(e, t) {
734
- let n = _n(e).scrollLeft;
735
- return t ? t.left + n : Dn(q(e)).left + n;
736
- }
737
734
  function kn(e, t) {
735
+ let n = vn(e).scrollLeft;
736
+ return t ? t.left + n : On(q(e)).left + n;
737
+ }
738
+ function An(e, t) {
738
739
  let n = e.getBoundingClientRect();
739
740
  return {
740
- x: n.left + t.scrollLeft - On(e, n),
741
+ x: n.left + t.scrollLeft - kn(e, n),
741
742
  y: n.top + t.scrollTop
742
743
  };
743
744
  }
744
- function An(e) {
745
- let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = q(r), s = t ? ln(t.floating) : !1;
745
+ function jn(e) {
746
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = q(r), s = t ? un(t.floating) : !1;
746
747
  if (r === o || s && a) return n;
747
748
  let c = {
748
749
  scrollLeft: 0,
749
750
  scrollTop: 0
750
- }, l = V(1), u = V(0), d = Y(r);
751
- if ((d || !d && !a) && ((rn(r) !== "body" || sn(o)) && (c = _n(r)), d)) {
752
- let e = Dn(r);
753
- l = Cn(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
751
+ }, l = z(1), u = z(0), d = Y(r);
752
+ if ((d || !d && !a) && ((G(r) !== "body" || cn(o)) && (c = vn(r)), d)) {
753
+ let e = On(r);
754
+ l = wn(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
754
755
  }
755
- let f = o && !d && !a ? kn(o, c) : V(0);
756
+ let f = o && !d && !a ? An(o, c) : z(0);
756
757
  return {
757
758
  width: n.width * l.x,
758
759
  height: n.height * l.y,
@@ -760,31 +761,31 @@ function An(e) {
760
761
  y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
761
762
  };
762
763
  }
763
- function jn(e) {
764
+ function Mn(e) {
764
765
  return Array.from(e.getClientRects());
765
766
  }
766
- function Mn(e) {
767
- let t = q(e), n = _n(e), r = e.ownerDocument.body, i = B(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = B(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + On(e), s = -n.scrollTop;
768
- return Z(r).direction === "rtl" && (o += B(t.clientWidth, r.clientWidth) - i), {
767
+ function Nn(e) {
768
+ let t = q(e), n = vn(e), r = e.ownerDocument.body, i = R(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = R(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + kn(e), s = -n.scrollTop;
769
+ return Z(r).direction === "rtl" && (o += R(t.clientWidth, r.clientWidth) - i), {
769
770
  width: i,
770
771
  height: a,
771
772
  x: o,
772
773
  y: s
773
774
  };
774
775
  }
775
- var Nn = 25;
776
- function Pn(e, t) {
776
+ var Pn = 25;
777
+ function Fn(e, t) {
777
778
  let n = K(e), r = q(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
778
779
  if (i) {
779
780
  a = i.width, o = i.height;
780
- let e = hn();
781
+ let e = gn();
781
782
  (!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
782
783
  }
783
- let l = On(r);
784
+ let l = kn(r);
784
785
  if (l <= 0) {
785
786
  let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
786
- o <= Nn && (a -= o);
787
- } else l <= Nn && (a += l);
787
+ o <= Pn && (a -= o);
788
+ } else l <= Pn && (a += l);
788
789
  return {
789
790
  width: a,
790
791
  height: o,
@@ -792,8 +793,8 @@ function Pn(e, t) {
792
793
  y: c
793
794
  };
794
795
  }
795
- function Fn(e, t) {
796
- let n = Dn(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Y(e) ? Cn(e) : V(1);
796
+ function In(e, t) {
797
+ let n = On(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Y(e) ? wn(e) : z(1);
797
798
  return {
798
799
  width: e.clientWidth * a.x,
799
800
  height: e.clientHeight * a.y,
@@ -801,13 +802,13 @@ function Fn(e, t) {
801
802
  y: r * a.y
802
803
  };
803
804
  }
804
- function In(e, t, n) {
805
+ function Ln(e, t, n) {
805
806
  let r;
806
- if (t === "viewport") r = Pn(e, n);
807
- else if (t === "document") r = Mn(q(e));
808
- else if (J(t)) r = Fn(t, n);
807
+ if (t === "viewport") r = Fn(e, n);
808
+ else if (t === "document") r = Nn(q(e));
809
+ else if (J(t)) r = In(t, n);
809
810
  else {
810
- let n = Tn(e);
811
+ let n = En(e);
811
812
  r = {
812
813
  x: t.x - n.x,
813
814
  y: t.y - n.y,
@@ -815,27 +816,27 @@ function In(e, t, n) {
815
816
  height: t.height
816
817
  };
817
818
  }
818
- return It(r);
819
+ return W(r);
819
820
  }
820
- function Ln(e, t) {
821
+ function Rn(e, t) {
821
822
  let n = Q(e);
822
- return n === t || !J(n) || gn(n) ? !1 : Z(n).position === "fixed" || Ln(n, t);
823
+ return n === t || !J(n) || _n(n) ? !1 : Z(n).position === "fixed" || Rn(n, t);
823
824
  }
824
- function Rn(e, t) {
825
+ function zn(e, t) {
825
826
  let n = t.get(e);
826
827
  if (n) return n;
827
- let r = yn(e, [], !1).filter((e) => J(e) && rn(e) !== "body"), i = null, a = Z(e).position === "fixed", o = a ? Q(e) : e;
828
- for (; J(o) && !gn(o);) {
829
- let t = Z(o), n = pn(o);
830
- !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || sn(o) && !n && Ln(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Q(o);
828
+ let r = bn(e, [], !1).filter((e) => J(e) && G(e) !== "body"), i = null, a = Z(e).position === "fixed", o = a ? Q(e) : e;
829
+ for (; J(o) && !_n(o);) {
830
+ let t = Z(o), n = mn(o);
831
+ !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || cn(o) && !n && Rn(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Q(o);
831
832
  }
832
833
  return t.set(e, r), r;
833
834
  }
834
- function zn(e) {
835
- let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ln(t) ? [] : Rn(t, this._c) : [].concat(n), r], o = In(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
835
+ function Bn(e) {
836
+ let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? un(t) ? [] : zn(t, this._c) : [].concat(n), r], o = Ln(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
836
837
  for (let e = 1; e < a.length; e++) {
837
- let n = In(t, a[e], i);
838
- s = B(n.top, s), c = z(n.right, c), l = z(n.bottom, l), u = B(n.left, u);
838
+ let n = Ln(t, a[e], i);
839
+ s = R(n.top, s), c = L(n.right, c), l = L(n.bottom, l), u = R(n.left, u);
839
840
  }
840
841
  return {
841
842
  width: c - u,
@@ -844,27 +845,27 @@ function zn(e) {
844
845
  y: s
845
846
  };
846
847
  }
847
- function Bn(e) {
848
- let { width: t, height: n } = xn(e);
848
+ function Vn(e) {
849
+ let { width: t, height: n } = Sn(e);
849
850
  return {
850
851
  width: t,
851
852
  height: n
852
853
  };
853
854
  }
854
- function Vn(e, t, n) {
855
- let r = Y(t), i = q(t), a = n === "fixed", o = Dn(e, !0, a, t), s = {
855
+ function Hn(e, t, n) {
856
+ let r = Y(t), i = q(t), a = n === "fixed", o = On(e, !0, a, t), s = {
856
857
  scrollLeft: 0,
857
858
  scrollTop: 0
858
- }, c = V(0);
859
+ }, c = z(0);
859
860
  function l() {
860
- c.x = On(i);
861
+ c.x = kn(i);
861
862
  }
862
- if (r || !r && !a) if ((rn(t) !== "body" || sn(i)) && (s = _n(t)), r) {
863
- let e = Dn(t, !0, a, t);
863
+ if (r || !r && !a) if ((G(t) !== "body" || cn(i)) && (s = vn(t)), r) {
864
+ let e = On(t, !0, a, t);
864
865
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
865
866
  } else i && l();
866
867
  a && !r && i && l();
867
- let u = i && !r && !a ? kn(i, s) : V(0);
868
+ let u = i && !r && !a ? An(i, s) : z(0);
868
869
  return {
869
870
  x: o.left + s.scrollLeft - c.x - u.x,
870
871
  y: o.top + s.scrollTop - c.y - u.y,
@@ -872,34 +873,34 @@ function Vn(e, t, n) {
872
873
  height: o.height
873
874
  };
874
875
  }
875
- function Hn(e) {
876
+ function Un(e) {
876
877
  return Z(e).position === "static";
877
878
  }
878
- function Un(e, t) {
879
+ function Wn(e, t) {
879
880
  if (!Y(e) || Z(e).position === "fixed") return null;
880
881
  if (t) return t(e);
881
882
  let n = e.offsetParent;
882
883
  return q(e) === n && (n = n.ownerDocument.body), n;
883
884
  }
884
- function Wn(e, t) {
885
+ function Gn(e, t) {
885
886
  let n = K(e);
886
- if (ln(e)) return n;
887
+ if (un(e)) return n;
887
888
  if (!Y(e)) {
888
889
  let t = Q(e);
889
- for (; t && !gn(t);) {
890
- if (J(t) && !Hn(t)) return t;
890
+ for (; t && !_n(t);) {
891
+ if (J(t) && !Un(t)) return t;
891
892
  t = Q(t);
892
893
  }
893
894
  return n;
894
895
  }
895
- let r = Un(e, t);
896
- for (; r && cn(r) && Hn(r);) r = Un(r, t);
897
- return r && gn(r) && Hn(r) && !pn(r) ? n : r || mn(e) || n;
896
+ let r = Wn(e, t);
897
+ for (; r && ln(r) && Un(r);) r = Wn(r, t);
898
+ return r && _n(r) && Un(r) && !mn(r) ? n : r || hn(e) || n;
898
899
  }
899
- var Gn = async function(e) {
900
- let t = this.getOffsetParent || Wn, n = this.getDimensions, r = await n(e.floating);
900
+ var Kn = async function(e) {
901
+ let t = this.getOffsetParent || Gn, n = this.getDimensions, r = await n(e.floating);
901
902
  return {
902
- reference: Vn(e.reference, await t(e.floating), e.strategy),
903
+ reference: Hn(e.reference, await t(e.floating), e.strategy),
903
904
  floating: {
904
905
  x: 0,
905
906
  y: 0,
@@ -908,40 +909,40 @@ var Gn = async function(e) {
908
909
  }
909
910
  };
910
911
  };
911
- function Kn(e) {
912
+ function qn(e) {
912
913
  return Z(e).direction === "rtl";
913
914
  }
914
- var qn = {
915
- convertOffsetParentRelativeRectToViewportRelativeRect: An,
915
+ var Jn = {
916
+ convertOffsetParentRelativeRectToViewportRelativeRect: jn,
916
917
  getDocumentElement: q,
917
- getClippingRect: zn,
918
- getOffsetParent: Wn,
919
- getElementRects: Gn,
920
- getClientRects: jn,
921
- getDimensions: Bn,
922
- getScale: Cn,
918
+ getClippingRect: Bn,
919
+ getOffsetParent: Gn,
920
+ getElementRects: Kn,
921
+ getClientRects: Mn,
922
+ getDimensions: Vn,
923
+ getScale: wn,
923
924
  isElement: J,
924
- isRTL: Kn
925
- }, Jn = $t, Yn = Ut, Xn = en, Zn = Wt, Qn = tn, $n = qt, er = Vt, tr = Xt, nr = (e, t, n) => {
925
+ isRTL: qn
926
+ }, Yn = tn, Xn = Gt, Zn = nn, Qn = Kt, $n = rn, er = Yt, tr = Ut, nr = Qt, rr = (e, t, n) => {
926
927
  let r = /* @__PURE__ */ new Map(), i = {
927
- platform: qn,
928
+ platform: Jn,
928
929
  ...n
929
930
  }, a = {
930
931
  ...i.platform,
931
932
  _c: r
932
933
  };
933
- return Bt(e, t, {
934
+ return Ht(e, t, {
934
935
  ...i,
935
936
  platform: a
936
937
  });
937
938
  };
938
939
  //#endregion
939
940
  //#region ../../node_modules/.pnpm/@tiptap+vue-3@3.19.0_patch_hash=hlk524tqy4svh2bbayevihx324_@floating-ui+dom@1.7.6_@tiptap+cor_kpexihlfm3sl2tcft5dydpfypm/node_modules/@tiptap/vue-3/dist/menus/index.js
940
- function rr(e, t) {
941
+ function ir(e, t) {
941
942
  let n = Math.min(e.top, t.top), r = Math.max(e.bottom, t.bottom), i = Math.min(e.left, t.left), a = Math.max(e.right, t.right) - i, o = r - n;
942
943
  return new DOMRect(i, n, a, o);
943
944
  }
944
- var ir = class {
945
+ var ar = class {
945
946
  constructor({ editor: e, element: t, view: n, updateDelay: r = 250, resizeDelay: i = 60, shouldShow: a, appendTo: o, getReferencedVirtualElement: s, options: c }) {
946
947
  this.preventHide = !1, this.isVisible = !1, this.scrollTarget = window, this.floatingUIOptions = {
947
948
  strategy: "absolute",
@@ -959,7 +960,7 @@ var ir = class {
959
960
  onUpdate: void 0,
960
961
  onDestroy: void 0
961
962
  }, this.shouldShow = ({ view: e, state: t, from: n, to: r }) => {
962
- let { doc: i, selection: a } = t, { empty: o } = a, s = !i.textBetween(n, r).length && je(t.selection), c = this.element.contains(document.activeElement);
963
+ let { doc: i, selection: a } = t, { empty: o } = a, s = !i.textBetween(n, r).length && Pe(t.selection), c = this.element.contains(document.activeElement);
963
964
  return !(!(e.hasFocus() || c) || o || s || !this.editor.isEditable);
964
965
  }, this.mousedownHandler = () => {
965
966
  this.preventHide = !0;
@@ -1005,27 +1006,27 @@ var ir = class {
1005
1006
  }
1006
1007
  get middlewares() {
1007
1008
  let e = [];
1008
- return this.floatingUIOptions.flip && e.push(Zn(typeof this.floatingUIOptions.flip == "boolean" ? void 0 : this.floatingUIOptions.flip)), this.floatingUIOptions.shift && e.push(Xn(typeof this.floatingUIOptions.shift == "boolean" ? void 0 : this.floatingUIOptions.shift)), this.floatingUIOptions.offset && e.push(Jn(typeof this.floatingUIOptions.offset == "boolean" ? void 0 : this.floatingUIOptions.offset)), this.floatingUIOptions.arrow && e.push(er(this.floatingUIOptions.arrow)), this.floatingUIOptions.size && e.push(Qn(typeof this.floatingUIOptions.size == "boolean" ? void 0 : this.floatingUIOptions.size)), this.floatingUIOptions.autoPlacement && e.push(Yn(typeof this.floatingUIOptions.autoPlacement == "boolean" ? void 0 : this.floatingUIOptions.autoPlacement)), this.floatingUIOptions.hide && e.push($n(typeof this.floatingUIOptions.hide == "boolean" ? void 0 : this.floatingUIOptions.hide)), this.floatingUIOptions.inline && e.push(tr(typeof this.floatingUIOptions.inline == "boolean" ? void 0 : this.floatingUIOptions.inline)), e;
1009
+ return this.floatingUIOptions.flip && e.push(Qn(typeof this.floatingUIOptions.flip == "boolean" ? void 0 : this.floatingUIOptions.flip)), this.floatingUIOptions.shift && e.push(Zn(typeof this.floatingUIOptions.shift == "boolean" ? void 0 : this.floatingUIOptions.shift)), this.floatingUIOptions.offset && e.push(Yn(typeof this.floatingUIOptions.offset == "boolean" ? void 0 : this.floatingUIOptions.offset)), this.floatingUIOptions.arrow && e.push(tr(this.floatingUIOptions.arrow)), this.floatingUIOptions.size && e.push($n(typeof this.floatingUIOptions.size == "boolean" ? void 0 : this.floatingUIOptions.size)), this.floatingUIOptions.autoPlacement && e.push(Xn(typeof this.floatingUIOptions.autoPlacement == "boolean" ? void 0 : this.floatingUIOptions.autoPlacement)), this.floatingUIOptions.hide && e.push(er(typeof this.floatingUIOptions.hide == "boolean" ? void 0 : this.floatingUIOptions.hide)), this.floatingUIOptions.inline && e.push(nr(typeof this.floatingUIOptions.inline == "boolean" ? void 0 : this.floatingUIOptions.inline)), e;
1009
1010
  }
1010
1011
  get virtualElement() {
1011
1012
  let { selection: e } = this.editor.state, t = this.getReferencedVirtualElement?.call(this);
1012
1013
  if (t) return t;
1013
1014
  if (!this.view?.dom?.parentNode) return;
1014
- let n = Pe(this.view, e.from, e.to), r = {
1015
+ let n = Le(this.view, e.from, e.to), r = {
1015
1016
  getBoundingClientRect: () => n,
1016
1017
  getClientRects: () => [n]
1017
1018
  };
1018
- if (e instanceof Fe) {
1019
+ if (e instanceof Re) {
1019
1020
  let t = this.view.nodeDOM(e.from), n = t.dataset.nodeViewWrapper ? t : t.querySelector("[data-node-view-wrapper]");
1020
1021
  n && (t = n), t && (r = {
1021
1022
  getBoundingClientRect: () => t.getBoundingClientRect(),
1022
1023
  getClientRects: () => [t.getBoundingClientRect()]
1023
1024
  });
1024
1025
  }
1025
- if (e instanceof Le) {
1026
+ if (e instanceof Be) {
1026
1027
  let { $anchorCell: t, $headCell: n } = e, i = t ? t.pos : n.pos, a = n ? n.pos : t.pos, o = this.view.nodeDOM(i), s = this.view.nodeDOM(a);
1027
1028
  if (!o || !s) return;
1028
- let c = o === s ? o.getBoundingClientRect() : rr(o.getBoundingClientRect(), s.getBoundingClientRect());
1029
+ let c = o === s ? o.getBoundingClientRect() : ir(o.getBoundingClientRect(), s.getBoundingClientRect());
1029
1030
  r = {
1030
1031
  getBoundingClientRect: () => c,
1031
1032
  getClientRects: () => [c]
@@ -1035,7 +1036,7 @@ var ir = class {
1035
1036
  }
1036
1037
  updatePosition() {
1037
1038
  let e = this.virtualElement;
1038
- e && nr(e, this.element, {
1039
+ e && rr(e, this.element, {
1039
1040
  placement: this.floatingUIOptions.placement,
1040
1041
  strategy: this.floatingUIOptions.strategy,
1041
1042
  middleware: this.middlewares
@@ -1087,13 +1088,13 @@ var ir = class {
1087
1088
  destroy() {
1088
1089
  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();
1089
1090
  }
1090
- }, ar = (e) => new Ie({
1091
- key: typeof e.pluginKey == "string" ? new R(e.pluginKey) : e.pluginKey,
1092
- view: (t) => new ir({
1091
+ }, or = (e) => new ze({
1092
+ key: typeof e.pluginKey == "string" ? new I(e.pluginKey) : e.pluginKey,
1093
+ view: (t) => new ar({
1093
1094
  view: t,
1094
1095
  ...e
1095
1096
  })
1096
- }), or = ie({
1097
+ }), sr = se({
1097
1098
  name: "BubbleMenu",
1098
1099
  inheritAttrs: !1,
1099
1100
  props: {
@@ -1131,11 +1132,11 @@ var ir = class {
1131
1132
  }
1132
1133
  },
1133
1134
  setup(e, { slots: t, attrs: n }) {
1134
- let r = fe(null);
1135
- return de(() => {
1135
+ let r = he(null);
1136
+ return me(() => {
1136
1137
  let { editor: t, options: n, pluginKey: i, resizeDelay: a, appendTo: o, shouldShow: s, getReferencedVirtualElement: c, updateDelay: l } = e, u = r.value;
1137
- u && (u.style.visibility = "hidden", u.style.position = "absolute", u.remove(), ce(() => {
1138
- t.registerPlugin(ar({
1138
+ u && (u.style.visibility = "hidden", u.style.position = "absolute", u.remove(), de(() => {
1139
+ t.registerPlugin(or({
1139
1140
  editor: t,
1140
1141
  element: u,
1141
1142
  options: n,
@@ -1147,15 +1148,15 @@ var ir = class {
1147
1148
  updateDelay: l
1148
1149
  }));
1149
1150
  }));
1150
- }), ue(() => {
1151
+ }), pe(() => {
1151
1152
  let { pluginKey: t, editor: n } = e;
1152
1153
  n.unregisterPlugin(t);
1153
- }), () => ae("div", {
1154
+ }), () => ce("div", {
1154
1155
  ref: r,
1155
1156
  ...n
1156
1157
  }, t.default?.call(t));
1157
1158
  }
1158
- }), sr = class {
1159
+ }), cr = class {
1159
1160
  constructor({ editor: e, element: t, view: n, updateDelay: r = 250, resizeDelay: i = 60, options: a, appendTo: o, shouldShow: s }) {
1160
1161
  this.preventHide = !1, this.isVisible = !1, this.scrollTarget = window, this.shouldShow = ({ view: e, state: t }) => {
1161
1162
  let { selection: n } = t, { $anchor: r, empty: i } = n, a = r.depth === 1, o = r.parent.isTextblock && !r.parent.type.spec.code && !r.parent.textContent && r.parent.childCount === 0 && !this.getTextContent(r.parent);
@@ -1203,11 +1204,11 @@ var ir = class {
1203
1204
  }, this.element.tabIndex = 0, s && (this.shouldShow = s), 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());
1204
1205
  }
1205
1206
  getTextContent(e) {
1206
- return ke(e, { textSerializers: Ae(this.editor.schema) });
1207
+ return Me(e, { textSerializers: Ne(this.editor.schema) });
1207
1208
  }
1208
1209
  get middlewares() {
1209
1210
  let e = [];
1210
- return this.floatingUIOptions.flip && e.push(Zn(typeof this.floatingUIOptions.flip == "boolean" ? void 0 : this.floatingUIOptions.flip)), this.floatingUIOptions.shift && e.push(Xn(typeof this.floatingUIOptions.shift == "boolean" ? void 0 : this.floatingUIOptions.shift)), this.floatingUIOptions.offset && e.push(Jn(typeof this.floatingUIOptions.offset == "boolean" ? void 0 : this.floatingUIOptions.offset)), this.floatingUIOptions.arrow && e.push(er(this.floatingUIOptions.arrow)), this.floatingUIOptions.size && e.push(Qn(typeof this.floatingUIOptions.size == "boolean" ? void 0 : this.floatingUIOptions.size)), this.floatingUIOptions.autoPlacement && e.push(Yn(typeof this.floatingUIOptions.autoPlacement == "boolean" ? void 0 : this.floatingUIOptions.autoPlacement)), this.floatingUIOptions.hide && e.push($n(typeof this.floatingUIOptions.hide == "boolean" ? void 0 : this.floatingUIOptions.hide)), this.floatingUIOptions.inline && e.push(tr(typeof this.floatingUIOptions.inline == "boolean" ? void 0 : this.floatingUIOptions.inline)), e;
1211
+ return this.floatingUIOptions.flip && e.push(Qn(typeof this.floatingUIOptions.flip == "boolean" ? void 0 : this.floatingUIOptions.flip)), this.floatingUIOptions.shift && e.push(Zn(typeof this.floatingUIOptions.shift == "boolean" ? void 0 : this.floatingUIOptions.shift)), this.floatingUIOptions.offset && e.push(Yn(typeof this.floatingUIOptions.offset == "boolean" ? void 0 : this.floatingUIOptions.offset)), this.floatingUIOptions.arrow && e.push(tr(this.floatingUIOptions.arrow)), this.floatingUIOptions.size && e.push($n(typeof this.floatingUIOptions.size == "boolean" ? void 0 : this.floatingUIOptions.size)), this.floatingUIOptions.autoPlacement && e.push(Xn(typeof this.floatingUIOptions.autoPlacement == "boolean" ? void 0 : this.floatingUIOptions.autoPlacement)), this.floatingUIOptions.hide && e.push(er(typeof this.floatingUIOptions.hide == "boolean" ? void 0 : this.floatingUIOptions.hide)), this.floatingUIOptions.inline && e.push(nr(typeof this.floatingUIOptions.inline == "boolean" ? void 0 : this.floatingUIOptions.inline)), e;
1211
1212
  }
1212
1213
  getShouldShow(e) {
1213
1214
  let { state: t } = this.view, { selection: n } = t, { ranges: r } = n, i = Math.min(...r.map((e) => e.$from.pos)), a = Math.max(...r.map((e) => e.$to.pos));
@@ -1230,8 +1231,8 @@ var ir = class {
1230
1231
  }
1231
1232
  }
1232
1233
  updatePosition() {
1233
- let { selection: e } = this.editor.state, t = Pe(this.view, e.from, e.to);
1234
- nr({
1234
+ let { selection: e } = this.editor.state, t = Le(this.view, e.from, e.to);
1235
+ rr({
1235
1236
  getBoundingClientRect: () => t,
1236
1237
  getClientRects: () => [t]
1237
1238
  }, this.element, {
@@ -1260,14 +1261,14 @@ var ir = class {
1260
1261
  destroy() {
1261
1262
  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();
1262
1263
  }
1263
- }, cr = (e) => new Ie({
1264
- key: typeof e.pluginKey == "string" ? new R(e.pluginKey) : e.pluginKey,
1265
- view: (t) => new sr({
1264
+ }, lr = (e) => new ze({
1265
+ key: typeof e.pluginKey == "string" ? new I(e.pluginKey) : e.pluginKey,
1266
+ view: (t) => new cr({
1266
1267
  view: t,
1267
1268
  ...e
1268
1269
  })
1269
1270
  });
1270
- ie({
1271
+ se({
1271
1272
  name: "FloatingMenu",
1272
1273
  inheritAttrs: !1,
1273
1274
  props: {
@@ -1301,10 +1302,10 @@ ie({
1301
1302
  }
1302
1303
  },
1303
1304
  setup(e, { slots: t, attrs: n }) {
1304
- let r = fe(null);
1305
- return de(() => {
1305
+ let r = he(null);
1306
+ return me(() => {
1306
1307
  let { pluginKey: t, editor: n, updateDelay: i, resizeDelay: a, options: o, appendTo: s, shouldShow: c } = e, l = r.value;
1307
- l && (l.style.visibility = "hidden", l.style.position = "absolute", l.remove(), n.registerPlugin(cr({
1308
+ l && (l.style.visibility = "hidden", l.style.position = "absolute", l.remove(), n.registerPlugin(lr({
1308
1309
  pluginKey: t,
1309
1310
  editor: n,
1310
1311
  element: l,
@@ -1314,10 +1315,10 @@ ie({
1314
1315
  appendTo: s,
1315
1316
  shouldShow: c
1316
1317
  })));
1317
- }), ue(() => {
1318
+ }), pe(() => {
1318
1319
  let { pluginKey: t, editor: n } = e;
1319
1320
  n.unregisterPlugin(t);
1320
- }), () => ae("div", {
1321
+ }), () => ce("div", {
1321
1322
  ref: r,
1322
1323
  ...n
1323
1324
  }, t.default?.call(t));
@@ -1329,50 +1330,50 @@ var $ = (e) => ({
1329
1330
  default: null,
1330
1331
  parseHTML: (t) => t.getAttribute(e),
1331
1332
  renderHTML: (t) => t[e] ? { [e]: t[e] } : {}
1332
- }), lr = () => {
1333
+ }), ur = () => {
1333
1334
  let e = $("style");
1334
- return e.renderHTML = (e) => e.style ? { style: ur(e.style) } : {}, e;
1335
+ return e.renderHTML = (e) => e.style ? { style: dr(e.style) } : {}, e;
1335
1336
  };
1336
- function ur(e) {
1337
+ function dr(e) {
1337
1338
  return e.replace(/(?<![a-z-])width\s*:\s*([^;]+);?/gi, (e, t) => /^\s*0\s*[a-z%]*\s*(!important)?\s*$/i.test(t) ? "width: 100%;" : e);
1338
1339
  }
1339
- var dr = rt.extend({
1340
+ var fr = ot.extend({
1340
1341
  addAttributes() {
1341
1342
  return {
1342
1343
  ...this.parent?.(),
1343
1344
  border: $("border"),
1344
1345
  cellpadding: $("cellpadding"),
1345
1346
  cellspacing: $("cellspacing"),
1346
- style: lr()
1347
+ style: ur()
1347
1348
  };
1348
1349
  },
1349
1350
  renderHTML({ HTMLAttributes: e }) {
1350
1351
  return [
1351
1352
  "table",
1352
- L(this.options.HTMLAttributes, e),
1353
+ F(this.options.HTMLAttributes, e),
1353
1354
  ["tbody", 0]
1354
1355
  ];
1355
1356
  }
1356
- }), fr = ot.extend({ addAttributes() {
1357
+ }), pr = lt.extend({ addAttributes() {
1357
1358
  return {
1358
1359
  ...this.parent?.(),
1359
1360
  style: $("style")
1360
1361
  };
1361
- } }), pr = {
1362
+ } }), mr = {
1362
1363
  style: $("style"),
1363
1364
  valign: $("valign"),
1364
1365
  width: $("width")
1365
- }, mr = it.extend({ addAttributes() {
1366
+ }, hr = st.extend({ addAttributes() {
1366
1367
  return {
1367
1368
  ...this.parent?.(),
1368
- ...pr
1369
+ ...mr
1369
1370
  };
1370
- } }), hr = at.extend({ addAttributes() {
1371
+ } }), gr = ct.extend({ addAttributes() {
1371
1372
  return {
1372
1373
  ...this.parent?.(),
1373
- ...pr
1374
+ ...mr
1374
1375
  };
1375
- } }), gr = st.extend({ parseHTML() {
1376
+ } }), _r = ut.extend({ parseHTML() {
1376
1377
  return [
1377
1378
  ...this.parent?.() || [],
1378
1379
  {
@@ -1386,29 +1387,29 @@ var dr = rt.extend({
1386
1387
  getAttrs: (e) => e.hasAttribute("style") ? {} : !1
1387
1388
  }
1388
1389
  ];
1389
- } }), _r = {
1390
+ } }), vr = {
1390
1391
  compatConfig: { MODE: 3 },
1391
1392
  name: "EmojiComponent",
1392
1393
  components: {
1393
1394
  NodeViewWrapper: S,
1394
- DtEmoji: v
1395
+ DtEmoji: y
1395
1396
  },
1396
1397
  props: T
1397
1398
  };
1398
- function vr(e, t, n, r, i, a) {
1399
- let o = P("dt-emoji"), s = P("node-view-wrapper");
1400
- return N(), O(s, { class: "d-d-inline-block d-va-bottom d-lh0" }, {
1401
- default: I(() => [M(o, {
1399
+ function yr(e, t, n, r, i, a) {
1400
+ let o = M("dt-emoji"), s = M("node-view-wrapper");
1401
+ return j(), D(s, { class: "d-d-inline-block d-va-bottom d-lh0" }, {
1402
+ default: P(() => [A(o, {
1402
1403
  size: "500",
1403
1404
  code: e.node.attrs.code
1404
1405
  }, null, 8, ["code"])]),
1405
1406
  _: 1
1406
1407
  });
1407
1408
  }
1408
- var yr = /* @__PURE__ */ i(_r, [["render", vr]]), br = {
1409
+ var br = /* @__PURE__ */ i(vr, [["render", yr]]), xr = {
1409
1410
  compatConfig: { MODE: 3 },
1410
1411
  name: "SuggestionList",
1411
- components: { DtListItem: h },
1412
+ components: { DtListItem: g },
1412
1413
  props: {
1413
1414
  items: {
1414
1415
  type: Array,
@@ -1482,29 +1483,29 @@ var yr = /* @__PURE__ */ i(_r, [["render", vr]]), br = {
1482
1483
  }
1483
1484
  }
1484
1485
  }
1485
- }, xr = { class: "d-popover__dialog d-suggestion-list__container" }, Sr = {
1486
+ }, Sr = { class: "d-popover__dialog d-suggestion-list__container" }, Cr = {
1486
1487
  ref: "suggestionList",
1487
1488
  class: "d-suggestion-list"
1488
1489
  };
1489
- function Cr(e, t, n, r, i, a) {
1490
- let o = P("dt-list-item");
1491
- return N(), A("div", xr, [ge(j("ul", Sr, [(N(!0), A(D, null, pe(n.items, (e, t) => (N(), O(o, {
1490
+ function wr(e, t, n, r, i, a) {
1491
+ let o = M("dt-list-item");
1492
+ return j(), ae("div", Sr, [ye(oe("ul", Cr, [(j(!0), ae(ie, null, ge(n.items, (e, t) => (j(), D(o, {
1492
1493
  key: e.id,
1493
- class: le(["d-suggestion-list__item", { "d-list-item--highlighted": t === i.selectedIndex }]),
1494
+ class: fe(["d-suggestion-list__item", { "d-list-item--highlighted": t === i.selectedIndex }]),
1494
1495
  "navigation-type": "arrow-keys",
1495
1496
  onClick: (e) => a.selectItem(t),
1496
- onKeydown: ve(a.onKeyDown, ["prevent"])
1497
+ onKeydown: xe(a.onKeyDown, ["prevent"])
1497
1498
  }, {
1498
- default: I(() => [(N(), O(me(n.itemComponent), { item: e }, null, 8, ["item"]))]),
1499
+ default: P(() => [(j(), D(_e(n.itemComponent), { item: e }, null, 8, ["item"]))]),
1499
1500
  _: 2
1500
1501
  }, 1032, [
1501
1502
  "class",
1502
1503
  "onClick",
1503
1504
  "onKeydown"
1504
- ]))), 128))], 512), [[he, n.items.length]])]);
1505
+ ]))), 128))], 512), [[ve, n.items.length]])]);
1505
1506
  }
1506
- var wr = /* @__PURE__ */ i(br, [["render", Cr]]), Tr = "top-start";
1507
- function Er() {
1507
+ var Tr = /* @__PURE__ */ i(xr, [["render", wr]]), Er = "top-start";
1508
+ function Dr() {
1508
1509
  return { getBoundingClientRect: () => ({
1509
1510
  width: 0,
1510
1511
  height: 0,
@@ -1516,16 +1517,16 @@ function Er() {
1516
1517
  bottom: 0
1517
1518
  }) };
1518
1519
  }
1519
- function Dr(e) {
1520
+ function Or(e) {
1520
1521
  return { getBoundingClientRect: e };
1521
1522
  }
1522
- async function Or(e, t, n = {}) {
1523
+ async function kr(e, t, n = {}) {
1523
1524
  if (!e || !t?.getBoundingClientRect) return;
1524
- let { placement: r = Tr, middleware: i = [
1525
- Jn(0),
1526
- Zn(),
1527
- Xn({ padding: 8 })
1528
- ] } = n, { x: a, y: o } = await nr(t, e, {
1525
+ let { placement: r = Er, middleware: i = [
1526
+ Yn(0),
1527
+ Qn(),
1528
+ Zn({ padding: 8 })
1529
+ ] } = n, { x: a, y: o } = await rr(t, e, {
1529
1530
  placement: r,
1530
1531
  middleware: i
1531
1532
  });
@@ -1534,65 +1535,65 @@ async function Or(e, t, n = {}) {
1534
1535
  top: `${o}px`
1535
1536
  });
1536
1537
  }
1537
- function kr(e, t = {}) {
1538
+ function Ar(e, t = {}) {
1538
1539
  let { zIndex: n = "650" } = t;
1539
1540
  e.style.position = "absolute", e.style.zIndex = n, e.style.display = "none";
1540
1541
  }
1541
- function Ar(e) {
1542
+ function jr(e) {
1542
1543
  e && (e.style.display = "block");
1543
1544
  }
1544
- function jr(e) {
1545
+ function Mr(e) {
1545
1546
  e && (e.style.display = "none");
1546
1547
  }
1547
- function Mr(e, t) {
1548
+ function Nr(e, t) {
1548
1549
  return (n) => {
1549
1550
  n.key === "Escape" && t() && e();
1550
1551
  };
1551
1552
  }
1552
- function Nr(e) {
1553
+ function Pr(e) {
1553
1554
  document.addEventListener("keydown", e);
1554
1555
  }
1555
- function Pr(e) {
1556
+ function Fr(e) {
1556
1557
  document.removeEventListener("keydown", e);
1557
1558
  }
1558
- function Fr(e, t, n, r) {
1559
+ function Ir(e, t, n, r) {
1559
1560
  return new w(e, {
1560
1561
  props: {
1561
- itemComponent: oe(t),
1562
+ itemComponent: le(t),
1562
1563
  itemType: n,
1563
1564
  ...r
1564
1565
  },
1565
1566
  editor: r.editor
1566
1567
  });
1567
1568
  }
1568
- function Ir(e) {
1569
- e.escHandler && Pr(e.escHandler), e.floatingEl?.remove(), e.component?.destroy();
1569
+ function Lr(e) {
1570
+ e.escHandler && Fr(e.escHandler), e.floatingEl?.remove(), e.component?.destroy();
1570
1571
  }
1571
- function Lr(e, t, n = {}) {
1572
- let { listComponent: r = wr, placement: i = Tr, zIndex: a = "650" } = n;
1572
+ function Rr(e, t, n = {}) {
1573
+ let { listComponent: r = Tr, placement: i = Er, zIndex: a = "650" } = n;
1573
1574
  return () => {
1574
- let n = null, o = null, s = !1, c = Er(), l = null;
1575
+ let n = null, o = null, s = !1, c = Dr(), l = null;
1575
1576
  function u() {
1576
- Or(o, c, { placement: i });
1577
+ kr(o, c, { placement: i });
1577
1578
  }
1578
1579
  function d() {
1579
- o && (Ar(o), s = !0, u());
1580
+ o && (jr(o), s = !0, u());
1580
1581
  }
1581
1582
  function f() {
1582
- o && (jr(o), s = !1);
1583
+ o && (Mr(o), s = !1);
1583
1584
  }
1584
1585
  return {
1585
1586
  onStart: (i) => {
1586
- n = Fr(r, e, t, i), i.clientRect && (o = n.element, kr(o, { zIndex: a }), document.body.appendChild(o), c = Dr(i.clientRect), l = Mr(f, () => s), Nr(l), i.items.length > 0 && d());
1587
+ n = Ir(r, e, t, i), i.clientRect && (o = n.element, Ar(o, { zIndex: a }), document.body.appendChild(o), c = Or(i.clientRect), l = Nr(f, () => s), Pr(l), i.items.length > 0 && d());
1587
1588
  },
1588
1589
  onUpdate(e) {
1589
- n?.updateProps(e), e.items.length > 0 ? d() : f(), e.clientRect && (c = Dr(e.clientRect), u());
1590
+ n?.updateProps(e), e.items.length > 0 ? d() : f(), e.clientRect && (c = Or(e.clientRect), u());
1590
1591
  },
1591
1592
  onKeyDown(e) {
1592
1593
  if (s) return n?.ref?.onKeyDown(e);
1593
1594
  },
1594
1595
  onExit() {
1595
- Ir({
1596
+ Lr({
1596
1597
  escHandler: l,
1597
1598
  floatingEl: o,
1598
1599
  component: n
@@ -1603,35 +1604,35 @@ function Lr(e, t, n = {}) {
1603
1604
  }
1604
1605
  //#endregion
1605
1606
  //#region components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue
1606
- var Rr = {
1607
+ var zr = {
1607
1608
  compatConfig: { MODE: 3 },
1608
1609
  name: "EmojiSuggestion",
1609
1610
  components: {
1610
- DtEmoji: v,
1611
- DtStack: g
1611
+ DtEmoji: y,
1612
+ DtStack: _
1612
1613
  },
1613
1614
  props: { item: {
1614
1615
  type: Object,
1615
1616
  required: !0
1616
1617
  } }
1617
1618
  };
1618
- function zr(e, t, n, r, i, a) {
1619
- let o = P("dt-emoji"), s = P("dt-stack");
1620
- return N(), O(s, {
1619
+ function Br(e, t, n, r, i, a) {
1620
+ let o = M("dt-emoji"), s = M("dt-stack");
1621
+ return j(), D(s, {
1621
1622
  direction: "row",
1622
- gap: "400"
1623
+ gap: "100"
1623
1624
  }, {
1624
- default: I(() => [M(o, {
1625
+ default: P(() => [A(o, {
1625
1626
  size: "200",
1626
1627
  code: n.item.code
1627
- }, null, 8, ["code"]), re(" " + F(n.item.code), 1)]),
1628
+ }, null, 8, ["code"]), k(" " + N(n.item.code), 1)]),
1628
1629
  _: 1
1629
1630
  });
1630
1631
  }
1631
- var Br = /* @__PURE__ */ i(Rr, [["render", zr]]), Vr = 20, Hr = (e, t, n) => {
1632
+ var Vr = /* @__PURE__ */ i(zr, [["render", Br]]), Hr = 20, Ur = (e, t, n) => {
1632
1633
  let r = e.shortname?.replaceAll(":", ""), i = t.shortname?.replaceAll(":", ""), a = r.startsWith(n), o = i.startsWith(n);
1633
1634
  return a && !o ? -1 : !a && o ? 1 : r.localeCompare(i);
1634
- }, Ur = {
1635
+ }, Wr = {
1635
1636
  items: ({ query: e }) => {
1636
1637
  if (e.length < 2) return [];
1637
1638
  let t = Object.values(c());
@@ -1639,7 +1640,7 @@ var Br = /* @__PURE__ */ i(Rr, [["render", zr]]), Vr = 20, Hr = (e, t, n) => {
1639
1640
  t.name,
1640
1641
  t.shortname?.replaceAll(":", ""),
1641
1642
  ...t.keywords || []
1642
- ].some((t) => t && t.startsWith(e))).splice(0, Vr).sort((t, n) => Hr(t, n, e)).map((e) => ({ code: e.shortname }));
1643
+ ].some((t) => t && t.startsWith(e))).splice(0, Hr).sort((t, n) => Ur(t, n, e)).map((e) => ({ code: e.shortname }));
1643
1644
  },
1644
1645
  command: ({ editor: e, range: t, props: n }) => {
1645
1646
  e.view.state.selection.$to.nodeAfter?.text?.startsWith(" ") && (t.to += 1), e.chain().focus().insertContentAt(t, [{
@@ -1647,14 +1648,14 @@ var Br = /* @__PURE__ */ i(Rr, [["render", zr]]), Vr = 20, Hr = (e, t, n) => {
1647
1648
  attrs: n
1648
1649
  }]).run(), window.getSelection()?.collapseToEnd();
1649
1650
  },
1650
- render: Lr(Br, "emoji")
1651
- }, Wr = /(:\w+:)$/, Gr = RegExp(ye + "$"), Kr = (e) => {
1651
+ render: Rr(Vr, "emoji")
1652
+ }, Gr = /(:\w+:)$/, Kr = RegExp(Se + "$"), qr = (e) => {
1652
1653
  if (e && a(e[0])) return { text: e[2] || e[0] };
1653
- }, qr = (e) => [...e.matchAll(s)].filter((e) => a(e[0])).map((e) => ({
1654
+ }, Jr = (e) => [...e.matchAll(s)].filter((e) => a(e[0])).map((e) => ({
1654
1655
  index: e.index,
1655
1656
  text: e[0],
1656
1657
  match: e
1657
- })), Jr = we.create({
1658
+ })), Yr = De.create({
1658
1659
  name: "emoji",
1659
1660
  addOptions() {
1660
1661
  return { HTMLAttributes: {} };
@@ -1664,7 +1665,7 @@ var Br = /* @__PURE__ */ i(Rr, [["render", zr]]), Vr = 20, Hr = (e, t, n) => {
1664
1665
  selectable: !1,
1665
1666
  atom: !0,
1666
1667
  addNodeView() {
1667
- return C(yr);
1668
+ return C(br);
1668
1669
  },
1669
1670
  addAttributes() {
1670
1671
  return { code: { default: null } };
@@ -1676,13 +1677,13 @@ var Br = /* @__PURE__ */ i(Rr, [["render", zr]]), Vr = 20, Hr = (e, t, n) => {
1676
1677
  return l(a(e.attrs.code).unicode_output);
1677
1678
  },
1678
1679
  renderHTML({ HTMLAttributes: e }) {
1679
- return ["emoji-component", L(this.options.HTMLAttributes, e)];
1680
+ return ["emoji-component", F(this.options.HTMLAttributes, e)];
1680
1681
  },
1681
1682
  addInputRules() {
1682
- return [new Se({
1683
+ return [new Te({
1683
1684
  find: (e) => {
1684
- let t = e.match(Wr) || e.match(Gr);
1685
- if (t) return Kr(t);
1685
+ let t = e.match(Gr) || e.match(Kr);
1686
+ if (t) return qr(t);
1686
1687
  },
1687
1688
  handler: ({ state: e, range: t, match: n }) => {
1688
1689
  let { tr: r } = e, i = t.from, a = t.to;
@@ -1691,13 +1692,13 @@ var Br = /* @__PURE__ */ i(Rr, [["render", zr]]), Vr = 20, Hr = (e, t, n) => {
1691
1692
  })];
1692
1693
  },
1693
1694
  addPasteRules() {
1694
- return [Ne({
1695
- find: qr,
1695
+ return [Ie({
1696
+ find: Jr,
1696
1697
  type: this.type,
1697
1698
  getAttributes(e) {
1698
1699
  return { code: e[0] };
1699
1700
  }
1700
- }), Ne({
1701
+ }), Ie({
1701
1702
  find: o,
1702
1703
  type: this.type,
1703
1704
  getAttributes(e) {
@@ -1706,12 +1707,12 @@ var Br = /* @__PURE__ */ i(Rr, [["render", zr]]), Vr = 20, Hr = (e, t, n) => {
1706
1707
  })];
1707
1708
  },
1708
1709
  addProseMirrorPlugins() {
1709
- return [lt({
1710
+ return [ft({
1710
1711
  char: ":",
1711
- pluginKey: new R("emoji"),
1712
+ pluginKey: new I("emoji"),
1712
1713
  editor: this.editor,
1713
1714
  ...this.options.suggestion,
1714
- ...Ur
1715
+ ...Wr
1715
1716
  })];
1716
1717
  },
1717
1718
  addKeyboardShortcuts() {
@@ -1725,21 +1726,21 @@ var Br = /* @__PURE__ */ i(Rr, [["render", zr]]), Vr = 20, Hr = (e, t, n) => {
1725
1726
  });
1726
1727
  //#endregion
1727
1728
  //#region components/rich_text_editor/extensions/custom_link/utils.js
1728
- function Yr(e, t, n = () => !0) {
1729
+ function Xr(e, t, n = () => !0) {
1729
1730
  let r = [];
1730
1731
  t.lastIndex = 0;
1731
1732
  let i;
1732
1733
  for (; i = t.exec(e);) n(e, i) && r.push(i);
1733
1734
  return r;
1734
1735
  }
1735
- function Xr(e, t) {
1736
+ function Zr(e, t) {
1736
1737
  return !["#", "@"].includes(e.charAt(t.index)) && !["#", "@"].includes(e.charAt(t.index - 1));
1737
1738
  }
1738
- function Zr(e) {
1739
+ function Qr(e) {
1739
1740
  let t = RegExp("(?:" + ["[!?.,:;'\"]", "(?:&|&amp;)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)+$"].join("|"), "g");
1740
1741
  return e.replace(t, "");
1741
1742
  }
1742
- function Qr(e, t) {
1743
+ function $r(e, t) {
1743
1744
  let n = e.slice(0, t + 1).search(/\S+\s*$/), r = e.slice(t).search(/\s/);
1744
1745
  if (r < 0) {
1745
1746
  let t = e.slice(n);
@@ -1755,40 +1756,40 @@ function Qr(e, t) {
1755
1756
  to: r + t
1756
1757
  };
1757
1758
  }
1758
- function $r(e, t, n, r) {
1759
- let i = Qr(e, t);
1759
+ function ei(e, t, n, r) {
1760
+ let i = $r(e, t);
1760
1761
  if (r.lastIndex = 0, !r.test(i.text)) return i;
1761
1762
  let a = n === "left" ? i.from - 1 : i.to + 1;
1762
- return a <= 0 || a >= e.length || a === t ? i : $r(e, a, n, r);
1763
+ return a <= 0 || a >= e.length || a === t ? i : ei(e, a, n, r);
1763
1764
  }
1764
- function ei(e, t, n, r) {
1765
- let i = Oe(Math.max(e.from - 1, 0), Math.min(e.to + 1, t.content.size), t);
1765
+ function ti(e, t, n, r) {
1766
+ let i = je(Math.max(e.from - 1, 0), Math.min(e.to + 1, t.content.size), t);
1766
1767
  for (let e of i) e.mark.type === r && n.removeMark(e.from, e.to, r);
1767
1768
  }
1768
- var ti = e(1, 15);
1769
- function ni(e, n, r, i, a, o) {
1769
+ var ni = e(1, 15);
1770
+ function ri(e, n, r, i, a, o) {
1770
1771
  if (!e) return;
1771
1772
  let s = r - n - 1;
1772
1773
  s = s < 0 ? 0 : s;
1773
- let c = i - n, l = $r(e, s, "left", ti), u = $r(e, c, "right", ti);
1774
- Yr(e.slice(l.from, u.to), t, Xr).forEach((e) => {
1775
- let t = Zr(e[0]), r = n + l.from + e.index + 1, i = r + t.length;
1774
+ let c = i - n, l = ei(e, s, "left", ni), u = ei(e, c, "right", ni);
1775
+ Xr(e.slice(l.from, u.to), t, Zr).forEach((e) => {
1776
+ let t = Qr(e[0]), r = n + l.from + e.index + 1, i = r + t.length;
1776
1777
  a.addMark(r, i, o.create());
1777
1778
  });
1778
1779
  }
1779
1780
  //#endregion
1780
1781
  //#region components/rich_text_editor/extensions/custom_link/autolink.js
1781
- function ri(e) {
1782
+ function ii(e) {
1782
1783
  let t = !1;
1783
- return new Ie({
1784
- key: new R("autolink"),
1784
+ return new ze({
1785
+ key: new I("autolink"),
1785
1786
  appendTransaction: (n, r, i) => {
1786
1787
  let a = n.some((e) => e.docChanged) && !r.doc.eq(i.doc);
1787
1788
  if (t && !a) return;
1788
1789
  let { tr: o } = i, { textContent: s } = i.doc;
1789
- return t || ni(s, 0, 0, s.length, o, e.type), t = !0, De(Te(r.doc, [...n])).forEach(({ oldRange: t, newRange: n }) => {
1790
- ei(n, i.doc, o, e.type), Ee(i.doc, n, (e) => e.isTextblock).forEach(({ node: r, pos: i }) => {
1791
- ni(r.textContent, i, t.from, n.to, o, e.type);
1790
+ return t || ri(s, 0, 0, s.length, o, e.type), t = !0, Ae(Oe(r.doc, [...n])).forEach(({ oldRange: t, newRange: n }) => {
1791
+ ti(n, i.doc, o, e.type), ke(i.doc, n, (e) => e.isTextblock).forEach(({ node: r, pos: i }) => {
1792
+ ri(r.textContent, i, t.from, n.to, o, e.type);
1792
1793
  });
1793
1794
  }), o;
1794
1795
  }
@@ -1796,21 +1797,21 @@ function ri(e) {
1796
1797
  }
1797
1798
  //#endregion
1798
1799
  //#region components/rich_text_editor/extensions/custom_link/custom_link.js
1799
- var ii = {
1800
+ var ai = {
1800
1801
  class: "d-link d-c-text d-d-inline-block d-wb-break-all",
1801
1802
  rel: "noopener noreferrer nofollow"
1802
- }, ai = Ce.create({
1803
+ }, oi = Ee.create({
1803
1804
  name: "CustomLink",
1804
1805
  renderHTML({ HTMLAttributes: e }) {
1805
- return ["a", L(this.options.HTMLAttributes, e, ii)];
1806
+ return ["a", F(this.options.HTMLAttributes, e, ai)];
1806
1807
  },
1807
1808
  renderText({ node: e }) {
1808
1809
  return e.attrs.text;
1809
1810
  },
1810
1811
  addProseMirrorPlugins() {
1811
- return [ri({ type: this.type })];
1812
+ return [ii({ type: this.type })];
1812
1813
  }
1813
- }), oi = ut.extend({
1814
+ }), si = pt.extend({
1814
1815
  name: "ConfigurableImage",
1815
1816
  addAttributes() {
1816
1817
  return {
@@ -1825,12 +1826,12 @@ var ii = {
1825
1826
  }).configure({
1826
1827
  inline: !0,
1827
1828
  allowBase64: !0
1828
- }), si = new Set(/* @__PURE__ */ "address.article.aside.blockquote.dd.details.dialog.div.dl.dt.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.li.main.nav.ol.p.pre.section.table.ul".split(".")), ci = Ke.extend({
1829
+ }), ci = new Set(/* @__PURE__ */ "address.article.aside.blockquote.dd.details.dialog.div.dl.dt.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.li.main.nav.ol.p.pre.section.table.ul".split(".")), li = Ye.extend({
1829
1830
  parseHTML() {
1830
1831
  return [{
1831
1832
  tag: "div",
1832
1833
  getAttrs: (e) => {
1833
- for (let t of e.children) if (si.has(t.tagName.toLowerCase())) return !1;
1834
+ for (let t of e.children) if (ci.has(t.tagName.toLowerCase())) return !1;
1834
1835
  return null;
1835
1836
  }
1836
1837
  }];
@@ -1838,16 +1839,16 @@ var ii = {
1838
1839
  renderHTML({ HTMLAttributes: e }) {
1839
1840
  return [
1840
1841
  "div",
1841
- L(this.options.HTMLAttributes, e),
1842
+ F(this.options.HTMLAttributes, e),
1842
1843
  0
1843
1844
  ];
1844
1845
  }
1845
- }), li = {
1846
+ }), ui = {
1846
1847
  compatConfig: { MODE: 3 },
1847
1848
  name: "MentionComponent",
1848
1849
  components: {
1849
1850
  NodeViewWrapper: S,
1850
- DtLink: f
1851
+ DtLink: p
1851
1852
  },
1852
1853
  props: T,
1853
1854
  computed: { text() {
@@ -1879,18 +1880,18 @@ var ii = {
1879
1880
  }
1880
1881
  }
1881
1882
  };
1882
- function ui(e, t, n, r, i, a) {
1883
- let o = P("dt-link"), s = P("node-view-wrapper");
1884
- return N(), O(s, { class: "d-d-inline-block" }, {
1885
- default: I(() => [M(o, {
1883
+ function di(e, t, n, r, i, a) {
1884
+ let o = M("dt-link"), s = M("node-view-wrapper");
1885
+ return j(), D(s, { class: "d-d-inline-block" }, {
1886
+ default: P(() => [A(o, {
1886
1887
  kind: "mention",
1887
- onClick: ve(a.handleClick, ["prevent"]),
1888
+ onClick: xe(a.handleClick, ["prevent"]),
1888
1889
  onMouseenter: a.handleMouseEnter,
1889
1890
  onMouseleave: a.handleMouseLeave,
1890
1891
  onFocusin: a.handleMouseEnter,
1891
1892
  onFocusout: a.handleMouseLeave
1892
1893
  }, {
1893
- default: I(() => [re(F(a.text), 1)]),
1894
+ default: P(() => [k(N(a.text), 1)]),
1894
1895
  _: 1
1895
1896
  }, 8, [
1896
1897
  "onClick",
@@ -1902,9 +1903,9 @@ function ui(e, t, n, r, i, a) {
1902
1903
  _: 1
1903
1904
  });
1904
1905
  }
1905
- var di = /* @__PURE__ */ i(li, [["render", ui]]), fi = dt.extend({
1906
+ var fi = /* @__PURE__ */ i(ui, [["render", di]]), pi = mt.extend({
1906
1907
  addNodeView() {
1907
- return C(di);
1908
+ return C(fi);
1908
1909
  },
1909
1910
  parseHTML() {
1910
1911
  return [{ tag: "mention-component" }];
@@ -1921,19 +1922,19 @@ var di = /* @__PURE__ */ i(li, [["render", ui]]), fi = dt.extend({
1921
1922
  return `@${e.attrs.id}`;
1922
1923
  },
1923
1924
  renderHTML({ HTMLAttributes: e }) {
1924
- return ["mention-component", L(this.options.HTMLAttributes, e)];
1925
+ return ["mention-component", F(this.options.HTMLAttributes, e)];
1925
1926
  }
1926
1927
  }).configure({ suggestion: {
1927
1928
  char: "@",
1928
- pluginKey: new R("mentionSuggestion")
1929
- } }), pi = {
1929
+ pluginKey: new I("mentionSuggestion")
1930
+ } }), mi = {
1930
1931
  compatConfig: { MODE: 3 },
1931
1932
  name: "ChannelComponent",
1932
1933
  components: {
1933
1934
  NodeViewWrapper: S,
1934
- DtLink: f,
1935
- DtIconLock: be,
1936
- DtStack: g
1935
+ DtLink: p,
1936
+ DtIconLock: Ce,
1937
+ DtStack: _
1937
1938
  },
1938
1939
  props: T,
1939
1940
  computed: { text() {
@@ -1949,21 +1950,21 @@ var di = /* @__PURE__ */ i(li, [["render", ui]]), fi = dt.extend({
1949
1950
  this.$props.editor.emit("channel-click", e);
1950
1951
  } }
1951
1952
  };
1952
- function mi(e, t, n, r, i, a) {
1953
- let o = P("dt-icon-lock"), s = P("dt-stack"), c = P("dt-link"), l = P("node-view-wrapper");
1954
- return N(), O(l, { class: "d-d-inline-block" }, {
1955
- default: I(() => [M(c, {
1953
+ function hi(e, t, n, r, i, a) {
1954
+ let o = M("dt-icon-lock"), s = M("dt-stack"), c = M("dt-link"), l = M("node-view-wrapper");
1955
+ return j(), D(l, { class: "d-d-inline-block" }, {
1956
+ default: P(() => [A(c, {
1956
1957
  kind: "mention",
1957
- onClick: ve(a.handleClick, ["prevent"])
1958
+ onClick: xe(a.handleClick, ["prevent"])
1958
1959
  }, {
1959
- default: I(() => [M(s, {
1960
+ default: P(() => [A(s, {
1960
1961
  direction: "row",
1961
1962
  gap: "0"
1962
1963
  }, {
1963
- default: I(() => [e.$props.node.attrs.locked ? (N(), O(o, {
1964
+ default: P(() => [e.$props.node.attrs.locked ? (j(), D(o, {
1964
1965
  key: 0,
1965
1966
  size: "200"
1966
- })) : k("", !0), j("span", null, F(a.text), 1)]),
1967
+ })) : O("", !0), oe("span", null, N(a.text), 1)]),
1967
1968
  _: 1
1968
1969
  })]),
1969
1970
  _: 1
@@ -1971,10 +1972,10 @@ function mi(e, t, n, r, i, a) {
1971
1972
  _: 1
1972
1973
  });
1973
1974
  }
1974
- var hi = /* @__PURE__ */ i(pi, [["render", mi]]), gi = dt.extend({
1975
+ var gi = /* @__PURE__ */ i(mi, [["render", hi]]), _i = mt.extend({
1975
1976
  name: "channel",
1976
1977
  addNodeView() {
1977
- return C(hi);
1978
+ return C(gi);
1978
1979
  },
1979
1980
  parseHTML() {
1980
1981
  return [{ tag: "channel-component" }];
@@ -1991,12 +1992,12 @@ var hi = /* @__PURE__ */ i(pi, [["render", mi]]), gi = dt.extend({
1991
1992
  return `#${e.attrs.id}`;
1992
1993
  },
1993
1994
  renderHTML({ HTMLAttributes: e }) {
1994
- return ["channel-component", L(this.options.HTMLAttributes, e)];
1995
+ return ["channel-component", F(this.options.HTMLAttributes, e)];
1995
1996
  }
1996
1997
  }).configure({ suggestion: {
1997
1998
  char: "#",
1998
- pluginKey: new R("channelSuggestion")
1999
- } }), _i = {
1999
+ pluginKey: new I("channelSuggestion")
2000
+ } }), vi = {
2000
2001
  compatConfig: { MODE: 3 },
2001
2002
  name: "SlashCommandsComponent",
2002
2003
  components: { NodeViewWrapper: S },
@@ -2012,21 +2013,21 @@ var hi = /* @__PURE__ */ i(pi, [["render", mi]]), gi = dt.extend({
2012
2013
  t && typeof t == "function" && t(e);
2013
2014
  }
2014
2015
  };
2015
- function vi(e, t, n, r, i, a) {
2016
- let o = P("node-view-wrapper");
2017
- return N(), O(o, { class: "d-d-inline-block" }, {
2018
- default: I(() => [re(F(a.text), 1)]),
2016
+ function yi(e, t, n, r, i, a) {
2017
+ let o = M("node-view-wrapper");
2018
+ return j(), D(o, { class: "d-d-inline-block" }, {
2019
+ default: P(() => [k(N(a.text), 1)]),
2019
2020
  _: 1
2020
2021
  });
2021
2022
  }
2022
- var yi = /* @__PURE__ */ i(_i, [["render", vi]]), bi = (e, t) => [...e.matchAll(t)].map((e) => {
2023
+ var bi = /* @__PURE__ */ i(vi, [["render", yi]]), xi = (e, t) => [...e.matchAll(t)].map((e) => {
2023
2024
  let t = e[2];
2024
2025
  return t.endsWith(" ") || (t += " "), {
2025
2026
  index: e.index,
2026
2027
  text: t,
2027
2028
  match: e
2028
2029
  };
2029
- }), xi = dt.extend({
2030
+ }), Si = mt.extend({
2030
2031
  name: "slash-commands",
2031
2032
  group: "inline",
2032
2033
  inline: !0,
@@ -2040,7 +2041,7 @@ var yi = /* @__PURE__ */ i(_i, [["render", vi]]), bi = (e, t) => [...e.matchAll(
2040
2041
  return { onSelectedCommand: this.options.onSelectedCommand };
2041
2042
  },
2042
2043
  addNodeView() {
2043
- return C(yi);
2044
+ return C(bi);
2044
2045
  },
2045
2046
  parseHTML() {
2046
2047
  return [{ tag: "command-component" }];
@@ -2056,11 +2057,11 @@ var yi = /* @__PURE__ */ i(_i, [["render", vi]]), bi = (e, t) => [...e.matchAll(
2056
2057
  return `/${e.attrs.command}`;
2057
2058
  },
2058
2059
  renderHTML({ HTMLAttributes: e }) {
2059
- return ["command-component", L(this.options.HTMLAttributes, e)];
2060
+ return ["command-component", F(this.options.HTMLAttributes, e)];
2060
2061
  },
2061
2062
  addInputRules() {
2062
2063
  let e = this.options.suggestion?.items({ query: "" }).map((e) => e.command);
2063
- return [Me({
2064
+ return [Fe({
2064
2065
  find: RegExp(`^((?:\\/)(${e.join("|")})) $`),
2065
2066
  type: this.type,
2066
2067
  getAttributes(e) {
@@ -2070,8 +2071,8 @@ var yi = /* @__PURE__ */ i(_i, [["render", vi]]), bi = (e, t) => [...e.matchAll(
2070
2071
  },
2071
2072
  addPasteRules() {
2072
2073
  let e = this.options.suggestion?.items({ query: "" }).map((e) => e.command), t = RegExp(`^((?:\\/)(${e.join("|")})) ?$`, "g");
2073
- return [Ne({
2074
- find: (e) => bi(e, t),
2074
+ return [Ie({
2075
+ find: (e) => xi(e, t),
2075
2076
  type: this.type,
2076
2077
  getAttributes(e) {
2077
2078
  return { command: e[0].trim() };
@@ -2080,21 +2081,21 @@ var yi = /* @__PURE__ */ i(_i, [["render", vi]]), bi = (e, t) => [...e.matchAll(
2080
2081
  }
2081
2082
  }).configure({ suggestion: {
2082
2083
  char: "/",
2083
- pluginKey: new R("slashCommandSuggestion")
2084
- } }), Si = 100, Ci = {
2084
+ pluginKey: new I("slashCommandSuggestion")
2085
+ } }), Ci = 100, wi = {
2085
2086
  name: "VariableComponent",
2086
2087
  components: {
2087
2088
  DtBadge: d,
2088
- DtButton: m,
2089
- DtPopover: _,
2090
- DtInput: y,
2089
+ DtButton: h,
2090
+ DtPopover: v,
2091
+ DtInput: b,
2091
2092
  NodeViewWrapper: S
2092
2093
  },
2093
2094
  props: T,
2094
2095
  data() {
2095
2096
  return {
2096
- i18n: new p(),
2097
- MAX_VARIABLE_ALT_LENGTH: Si
2097
+ i18n: new m(),
2098
+ MAX_VARIABLE_ALT_LENGTH: Ci
2098
2099
  };
2099
2100
  },
2100
2101
  computed: {
@@ -2129,27 +2130,27 @@ var yi = /* @__PURE__ */ i(_i, [["render", vi]]), bi = (e, t) => [...e.matchAll(
2129
2130
  }
2130
2131
  }
2131
2132
  };
2132
- function wi(e, t, n, r, i, a) {
2133
- let o = P("dt-badge"), s = P("dt-button"), c = P("dt-input"), l = P("dt-popover"), u = P("node-view-wrapper");
2134
- return N(), O(u, { class: "d-d-inline-block" }, {
2135
- default: I(() => [a.enableAltText ? (N(), O(l, {
2133
+ function Ti(e, t, n, r, i, a) {
2134
+ let o = M("dt-badge"), s = M("dt-button"), c = M("dt-input"), l = M("dt-popover"), u = M("node-view-wrapper");
2135
+ return j(), D(u, { class: "d-d-inline-block" }, {
2136
+ default: P(() => [a.enableAltText ? (j(), D(l, {
2136
2137
  key: 0,
2137
2138
  padding: "small",
2138
2139
  "navigation-type": "arrow-keys",
2139
2140
  placement: "top-start",
2140
2141
  modal: !1
2141
2142
  }, {
2142
- anchor: I(({ attrs: e }) => [M(s, se(e, { kind: "unstyled" }), {
2143
- default: I(() => [M(o, {
2143
+ anchor: P(({ attrs: e }) => [A(s, ue(e, { kind: "unstyled" }), {
2144
+ default: P(() => [A(o, {
2144
2145
  text: a.badgeLabel,
2145
2146
  contenteditable: "false"
2146
2147
  }, null, 8, ["text"])]),
2147
2148
  _: 1
2148
2149
  }, 16)]),
2149
- content: I(({ close: e }) => [M(c, {
2150
+ content: P(({ close: e }) => [A(c, {
2150
2151
  modelValue: a.altText,
2151
2152
  "onUpdate:modelValue": t[0] || (t[0] = (e) => a.altText = e),
2152
- "root-class": "d-p8 d-w332",
2153
+ class: "d-p-100 d-w332",
2153
2154
  label: i.i18n.$t("DIALTONE_EDITOR_VARIABLE_LABEL"),
2154
2155
  placeholder: a.placeholderText,
2155
2156
  validate: { length: {
@@ -2159,7 +2160,7 @@ function wi(e, t, n, r, i, a) {
2159
2160
  warn: i.MAX_VARIABLE_ALT_LENGTH,
2160
2161
  limitMaxLength: !0
2161
2162
  } },
2162
- onKeyup: _e((t) => e(), ["enter"])
2163
+ onKeyup: be((t) => e(), ["enter"])
2163
2164
  }, null, 8, [
2164
2165
  "modelValue",
2165
2166
  "label",
@@ -2168,7 +2169,7 @@ function wi(e, t, n, r, i, a) {
2168
2169
  "onKeyup"
2169
2170
  ])]),
2170
2171
  _: 1
2171
- })) : (N(), O(o, {
2172
+ })) : (j(), D(o, {
2172
2173
  key: 1,
2173
2174
  text: a.badgeLabel,
2174
2175
  contenteditable: "false"
@@ -2176,7 +2177,7 @@ function wi(e, t, n, r, i, a) {
2176
2177
  _: 1
2177
2178
  });
2178
2179
  }
2179
- var Ti = /* @__PURE__ */ i(Ci, [["render", wi]]), Ei = we.create({
2180
+ var Ei = /* @__PURE__ */ i(wi, [["render", Ti]]), Di = De.create({
2180
2181
  name: "variable",
2181
2182
  group: "inline",
2182
2183
  inline: !0,
@@ -2189,7 +2190,7 @@ var Ti = /* @__PURE__ */ i(Ci, [["render", wi]]), Ei = we.create({
2189
2190
  };
2190
2191
  },
2191
2192
  addNodeView() {
2192
- return C(Ti);
2193
+ return C(Ei);
2193
2194
  },
2194
2195
  addAttributes() {
2195
2196
  return {
@@ -2217,7 +2218,7 @@ var Ti = /* @__PURE__ */ i(Ci, [["render", wi]]), Ei = we.create({
2217
2218
  return e.attrs.altText;
2218
2219
  },
2219
2220
  renderHTML({ node: e, HTMLAttributes: t }) {
2220
- return ["variable", L(this.options.HTMLAttributes, t, {
2221
+ return ["variable", F(this.options.HTMLAttributes, t, {
2221
2222
  "data-variable-id": e.attrs.id,
2222
2223
  "data-alt-text": e.attrs.altText,
2223
2224
  "data-enable-alt-text": String(e.attrs.enableAltText)
@@ -2233,12 +2234,13 @@ var Ti = /* @__PURE__ */ i(Ci, [["render", wi]]), Ei = we.create({
2233
2234
  }
2234
2235
  }) };
2235
2236
  }
2236
- }), Di = {
2237
+ }), Oi = {
2237
2238
  compatConfig: { MODE: 3 },
2238
2239
  name: "MentionSuggestion",
2239
2240
  components: {
2240
2241
  DtAvatar: u,
2241
- DtStack: g
2242
+ DtStack: _,
2243
+ DtText: f
2242
2244
  },
2243
2245
  props: { item: {
2244
2246
  type: Object,
@@ -2272,53 +2274,72 @@ var Ti = /* @__PURE__ */ i(Ci, [["render", wi]]), Ei = we.create({
2272
2274
  return this.item.showDetails;
2273
2275
  }
2274
2276
  }
2275
- }, Oi = { class: "d-mention-suggestion__name" }, ki = {
2276
- key: 1,
2277
- class: "d-mention-suggestion__divider"
2278
- }, Ai = {
2279
- key: 2,
2280
- class: "d-mention-suggestion__status"
2281
- };
2282
- function ji(e, t, n, r, i, a) {
2283
- let o = P("dt-avatar"), s = P("dt-stack");
2284
- return N(), O(s, {
2277
+ }, ki = { class: "d-mention-suggestion__name" };
2278
+ function Ai(e, t, n, r, i, a) {
2279
+ let o = M("dt-avatar"), s = M("dt-text"), c = M("dt-stack");
2280
+ return j(), D(c, {
2285
2281
  direction: "row",
2286
2282
  class: "d-mention-suggestion__container",
2287
- gap: "400"
2283
+ gap: "100"
2288
2284
  }, {
2289
- default: I(() => [M(o, {
2285
+ default: P(() => [A(o, {
2290
2286
  "full-name": a.name,
2291
2287
  "image-src": a.avatarSrc,
2292
2288
  "image-alt": a.name,
2293
2289
  "show-presence": a.showDetails,
2294
2290
  presence: a.presence,
2295
- size: "sm"
2291
+ size: 200
2296
2292
  }, null, 8, [
2297
2293
  "full-name",
2298
2294
  "image-src",
2299
2295
  "image-alt",
2300
2296
  "show-presence",
2301
2297
  "presence"
2302
- ]), M(s, {
2298
+ ]), A(c, {
2303
2299
  class: "d-mention-suggestion__details-container",
2304
- gap: "100"
2300
+ gap: "1"
2305
2301
  }, {
2306
- default: I(() => [j("span", Oi, F(a.name), 1), a.showDetails ? (N(), O(s, {
2302
+ default: P(() => [oe("span", ki, N(a.name), 1), a.showDetails ? (j(), D(c, {
2307
2303
  key: 0,
2308
2304
  direction: "row",
2309
- gap: "300",
2310
- class: "d-label--sm-plain"
2305
+ gap: "50"
2311
2306
  }, {
2312
- default: I(() => [
2313
- a.presenceText ? (N(), A("span", {
2307
+ default: P(() => [
2308
+ a.presenceText ? (j(), D(s, {
2314
2309
  key: 0,
2315
- class: le(["d-mention-suggestion__presence", [a.presenceFontColorClass]])
2316
- }, F(a.presenceText), 3)) : k("", !0),
2317
- a.status && a.presenceText ? (N(), A("div", ki, " • ")) : k("", !0),
2318
- a.status ? (N(), A("div", Ai, F(a.status), 1)) : k("", !0)
2310
+ kind: "label",
2311
+ size: 200,
2312
+ strength: "normal",
2313
+ class: fe(["d-mention-suggestion__presence", [a.presenceFontColorClass]])
2314
+ }, {
2315
+ default: P(() => [k(N(a.presenceText), 1)]),
2316
+ _: 1
2317
+ }, 8, ["class"])) : O("", !0),
2318
+ a.status && a.presenceText ? (j(), D(s, {
2319
+ key: 1,
2320
+ kind: "label",
2321
+ size: 200,
2322
+ strength: "normal",
2323
+ as: "div",
2324
+ class: "d-mention-suggestion__divider"
2325
+ }, {
2326
+ default: P(() => [...t[0] || (t[0] = [k(" • ", -1)])]),
2327
+ _: 1
2328
+ })) : O("", !0),
2329
+ a.status ? (j(), D(s, {
2330
+ key: 2,
2331
+ kind: "label",
2332
+ size: 200,
2333
+ strength: "normal",
2334
+ as: "div",
2335
+ class: "d-mention-suggestion__status"
2336
+ }, {
2337
+ default: P(() => [k(N(a.status), 1)]),
2338
+ _: 1
2339
+ })) : O("", !0)
2319
2340
  ]),
2320
2341
  _: 1
2321
- })) : k("", !0)]),
2342
+ })) : O("", !0)]),
2322
2343
  _: 1
2323
2344
  })]),
2324
2345
  _: 1
@@ -2326,16 +2347,16 @@ function ji(e, t, n, r, i, a) {
2326
2347
  }
2327
2348
  //#endregion
2328
2349
  //#region components/rich_text_editor/extensions/mentions/suggestion.js
2329
- var Mi = {
2350
+ var ji = {
2330
2351
  allowSpaces: !0,
2331
- render: Lr(/* @__PURE__ */ i(Di, [["render", ji]]), "mention")
2332
- }, Ni = {
2352
+ render: Rr(/* @__PURE__ */ i(Oi, [["render", Ai]]), "mention")
2353
+ }, Mi = {
2333
2354
  compatConfig: { MODE: 3 },
2334
2355
  name: "ChannelSuggestion",
2335
2356
  components: {
2336
- DtStack: g,
2337
- DtIconHash: ft,
2338
- DtIconLock: pt
2357
+ DtStack: _,
2358
+ DtIconHash: ht,
2359
+ DtIconLock: gt
2339
2360
  },
2340
2361
  props: { item: {
2341
2362
  type: Object,
@@ -2345,30 +2366,31 @@ var Mi = {
2345
2366
  return this.item.name;
2346
2367
  } }
2347
2368
  };
2348
- function Pi(e, t, n, r, i, a) {
2349
- let o = P("dt-icon-hash"), s = P("dt-icon-lock"), c = P("dt-stack");
2350
- return N(), O(c, {
2369
+ function Ni(e, t, n, r, i, a) {
2370
+ let o = M("dt-icon-hash"), s = M("dt-icon-lock"), c = M("dt-stack");
2371
+ return j(), D(c, {
2351
2372
  direction: "row",
2352
2373
  gap: "400"
2353
2374
  }, {
2354
- default: I(() => [n.item.locked ? (N(), O(s, {
2375
+ default: P(() => [n.item.locked ? (j(), D(s, {
2355
2376
  key: 1,
2356
2377
  size: "300"
2357
- })) : (N(), O(o, {
2378
+ })) : (j(), D(o, {
2358
2379
  key: 0,
2359
2380
  size: "300"
2360
- })), j("span", null, F(a.name), 1)]),
2381
+ })), oe("span", null, N(a.name), 1)]),
2361
2382
  _: 1
2362
2383
  });
2363
2384
  }
2364
2385
  //#endregion
2365
2386
  //#region components/rich_text_editor/extensions/channels/suggestion.js
2366
- var Fi = {
2387
+ var Pi = {
2367
2388
  allowSpaces: !0,
2368
- render: Lr(/* @__PURE__ */ i(Ni, [["render", Pi]]), "channel")
2369
- }, Ii = {
2389
+ render: Rr(/* @__PURE__ */ i(Mi, [["render", Ni]]), "channel")
2390
+ }, Fi = {
2370
2391
  compatConfig: { MODE: 3 },
2371
2392
  name: "SlashCommandSuggestion",
2393
+ components: { DtText: f },
2372
2394
  props: { item: {
2373
2395
  type: Object,
2374
2396
  required: !0
@@ -2384,24 +2406,41 @@ var Fi = {
2384
2406
  return this.item.parametersExample;
2385
2407
  }
2386
2408
  }
2387
- }, Li = { class: "d-body--md-compact" }, Ri = { key: 0 }, zi = { class: "d-body--sm d-fc-tertiary" };
2388
- function Bi(e, t, n, r, i, a) {
2389
- return N(), A("div", null, [j("div", Li, [j("span", null, "/" + F(a.command), 1), a.parametersExample ? (N(), A("span", Ri, F(a.parametersExample), 1)) : k("", !0)]), j("div", zi, F(a.description), 1)]);
2409
+ }, Ii = { key: 0 };
2410
+ function Li(e, t, n, r, i, a) {
2411
+ let o = M("dt-text");
2412
+ return j(), ae("div", null, [A(o, {
2413
+ kind: "body",
2414
+ size: 300,
2415
+ density: 300,
2416
+ as: "div"
2417
+ }, {
2418
+ default: P(() => [oe("span", null, "/" + N(a.command), 1), a.parametersExample ? (j(), ae("span", Ii, N(a.parametersExample), 1)) : O("", !0)]),
2419
+ _: 1
2420
+ }), A(o, {
2421
+ kind: "body",
2422
+ size: 200,
2423
+ tone: "tertiary",
2424
+ as: "div"
2425
+ }, {
2426
+ default: P(() => [k(N(a.description), 1)]),
2427
+ _: 1
2428
+ })]);
2390
2429
  }
2391
2430
  //#endregion
2392
2431
  //#region components/rich_text_editor/extensions/slash_command/suggestion.js
2393
- var Vi = {
2432
+ var Ri = {
2394
2433
  allowSpaces: !0,
2395
2434
  startOfLine: !0,
2396
- render: Lr(/* @__PURE__ */ i(Ii, [["render", Bi]]), "slash-command")
2397
- }, Hi = {
2435
+ render: Rr(/* @__PURE__ */ i(Fi, [["render", Li]]), "slash-command")
2436
+ }, zi = {
2398
2437
  compatConfig: { MODE: 3 },
2399
2438
  name: "DtRichTextEditor",
2400
2439
  components: {
2401
- EditorContent: x,
2402
- BubbleMenu: or,
2403
- DtButton: m,
2404
- DtStack: g
2440
+ EditorContent: ee,
2441
+ BubbleMenu: sr,
2442
+ DtButton: h,
2443
+ DtStack: _
2405
2444
  },
2406
2445
  props: {
2407
2446
  modelValue: {
@@ -2412,9 +2451,9 @@ var Vi = {
2412
2451
  type: Boolean,
2413
2452
  default: !0
2414
2453
  },
2415
- preventTyping: {
2454
+ allowTyping: {
2416
2455
  type: Boolean,
2417
- default: !1
2456
+ default: !0
2418
2457
  },
2419
2458
  pasteRichText: {
2420
2459
  type: Boolean,
@@ -2440,14 +2479,14 @@ var Vi = {
2440
2479
  ],
2441
2480
  default: !1,
2442
2481
  validator(e) {
2443
- return typeof e == "string" ? ee.includes(e) : !0;
2482
+ return typeof e == "string" ? te.includes(e) : !0;
2444
2483
  }
2445
2484
  },
2446
2485
  outputFormat: {
2447
2486
  type: String,
2448
2487
  default: "html",
2449
2488
  validator(e) {
2450
- return te.includes(e);
2489
+ return ne.includes(e);
2451
2490
  }
2452
2491
  },
2453
2492
  placeholder: {
@@ -2542,9 +2581,9 @@ var Vi = {
2542
2581
  type: Array,
2543
2582
  default: () => []
2544
2583
  },
2545
- hideLinkBubbleMenu: {
2584
+ showLinkBubbleMenu: {
2546
2585
  type: Boolean,
2547
- default: !1
2586
+ default: !0
2548
2587
  },
2549
2588
  preserveWhitespace: {
2550
2589
  type: [Boolean, String],
@@ -2586,7 +2625,7 @@ var Vi = {
2586
2625
  editor: null,
2587
2626
  appendTo: () => n(this.$refs.editor.$el).getRootNode()?.querySelector("body"),
2588
2627
  floatingOptions: { placement: "top-start" },
2589
- i18n: new p()
2628
+ i18n: new m()
2590
2629
  };
2591
2630
  },
2592
2631
  computed: {
@@ -2600,15 +2639,15 @@ var Vi = {
2600
2639
  },
2601
2640
  extensions() {
2602
2641
  let e = [
2603
- Ve,
2604
- tt,
2605
2642
  We,
2606
- Ge
2643
+ it,
2644
+ qe,
2645
+ Je
2607
2646
  ];
2608
- e.push(this.useDivTags ? ci : Ke), this.allowBold && e.push(qe), this.allowBlockquote && e.push(Re), this.allowBulletList && (e.push(Je), e.push(Ye.extend({ renderText({ node: e }) {
2647
+ e.push(this.useDivTags ? li : Ye), this.allowBold && e.push(Xe), this.allowBlockquote && e.push(Ve), this.allowBulletList && (e.push(Ze), e.push(Qe.extend({ renderText({ node: e }) {
2609
2648
  return e.textContent;
2610
- } })), e.push(Xe)), this.allowItalic && e.push(Ze), this.allowStrike && e.push($e), this.allowUnderline && e.push(et), this.placeholder && e.push(Ue.configure({ placeholder: this.placeholder }));
2611
- let t = this, n = xe.create({ addKeyboardShortcuts() {
2649
+ } })), e.push($e)), this.allowItalic && e.push(et), this.allowStrike && e.push(nt), this.allowUnderline && e.push(rt), this.placeholder && e.push(Ke.configure({ placeholder: this.placeholder }));
2650
+ let t = this, n = we.create({ addKeyboardShortcuts() {
2612
2651
  return {
2613
2652
  "Shift-Enter": ({ editor: e }) => t.allowLineBreaks ? !1 : (e.commands.first(({ commands: e }) => [
2614
2653
  () => e.newlineInCode(),
@@ -2620,7 +2659,7 @@ var Vi = {
2620
2659
  Enter: () => t.allowLineBreaks ? !1 : (t.$emit("enter"), !0)
2621
2660
  };
2622
2661
  } });
2623
- if (e.push(n), this.link && e.push(Qe.extend({
2662
+ if (e.push(n), this.link && e.push(tt.extend({
2624
2663
  inclusive: !1,
2625
2664
  addKeyboardShortcuts() {
2626
2665
  return { "Mod-k": () => (t.$emit("edit-link"), !0) };
@@ -2629,45 +2668,45 @@ var Vi = {
2629
2668
  HTMLAttributes: { class: "d-link d-wb-break-all" },
2630
2669
  openOnClick: !1,
2631
2670
  autolink: !0,
2632
- protocols: E
2633
- })), this.customLink && e.push(this.getExtension(ai, this.customLink)), this.mentionSuggestion) {
2671
+ protocols: re
2672
+ })), this.customLink && e.push(this.getExtension(oi, this.customLink)), this.mentionSuggestion) {
2634
2673
  let t = {
2635
2674
  ...this.mentionSuggestion,
2636
- ...Mi
2675
+ ...ji
2637
2676
  };
2638
- e.push(fi.configure({ suggestion: t }));
2677
+ e.push(pi.configure({ suggestion: t }));
2639
2678
  }
2640
2679
  if (this.channelSuggestion) {
2641
2680
  let t = {
2642
2681
  ...this.channelSuggestion,
2643
- ...Fi
2682
+ ...Pi
2644
2683
  };
2645
- e.push(gi.configure({ suggestion: t }));
2684
+ e.push(_i.configure({ suggestion: t }));
2646
2685
  }
2647
2686
  if (this.slashCommandSuggestion) {
2648
2687
  let t = {
2649
2688
  ...this.slashCommandSuggestion,
2650
- ...Vi
2689
+ ...Ri
2651
2690
  };
2652
- e.push(xi.configure({
2691
+ e.push(Si.configure({
2653
2692
  suggestion: t,
2654
2693
  onSelectedCommand: (e) => {
2655
2694
  this.$emit("selected-command", e);
2656
2695
  }
2657
2696
  }));
2658
2697
  }
2659
- return this.allowVariable && e.push(Ei.configure({ variableItems: this.variableItems })), e.push(Jr), e.push(nt.configure({ types: ["paragraph"] })), this.allowCode && e.push(Be), this.allowCodeblock && e.push(ze.extend({ renderText({ node: e }) {
2698
+ return this.allowVariable && e.push(Di.configure({ variableItems: this.variableItems })), e.push(Yr), e.push(at.configure({ types: ["paragraph"] })), this.allowCode && e.push(Ue), this.allowCodeblock && e.push(He.extend({ renderText({ node: e }) {
2660
2699
  return `\`\`\`\n${e.textContent}\n\`\`\``;
2661
- } }).configure({ HTMLAttributes: { class: "d-rich-text-editor__code-block" } })), this.allowInlineImages && e.push(oi.configure({ resize: {
2700
+ } }).configure({ HTMLAttributes: { class: "d-rich-text-editor__code-block" } })), this.allowInlineImages && e.push(si.configure({ resize: {
2662
2701
  enabled: this.allowImageResize,
2663
2702
  alwaysPreserveAspectRatio: !0
2664
- } })), (this.allowFontFamily || this.allowFontColor || this.allowFontSize || this.allowBackgroundColor || this.allowLineHeight) && (e.push(ct.configure({
2703
+ } })), (this.allowFontFamily || this.allowFontColor || this.allowFontSize || this.allowBackgroundColor || this.allowLineHeight) && (e.push(dt.configure({
2665
2704
  color: this.allowFontColor,
2666
2705
  backgroundColor: this.allowBackgroundColor,
2667
2706
  fontFamily: this.allowFontFamily,
2668
2707
  fontSize: this.allowFontSize,
2669
2708
  lineHeight: this.allowLineHeight
2670
- })), e.push(gr)), this.additionalExtensions.length && e.push(...this.additionalExtensions), this.allowTables && e.push(dr.configure({ resizable: !0 }), fr, hr, mr, He), e;
2709
+ })), e.push(_r)), this.additionalExtensions.length && e.push(...this.additionalExtensions), this.allowTables && e.push(fr.configure({ resizable: !0 }), pr, gr, hr, Ge), e;
2671
2710
  },
2672
2711
  inputAttrs() {
2673
2712
  let e = {
@@ -2706,7 +2745,7 @@ var Vi = {
2706
2745
  },
2707
2746
  methods: {
2708
2747
  createEditor() {
2709
- this.editor = new b({
2748
+ this.editor = new x({
2710
2749
  autofocus: this.autoFocus,
2711
2750
  content: this.modelValue,
2712
2751
  editable: this.editable,
@@ -2719,7 +2758,7 @@ var Vi = {
2719
2758
  class: this.inputClass
2720
2759
  },
2721
2760
  handleKeyDown: (e, t) => {
2722
- if (!this.preventTyping) return !1;
2761
+ if (this.allowTyping) return !1;
2723
2762
  let n = ["Backspace"];
2724
2763
  return !this.allowLineBreaks && !t.shiftKey && n.push("Enter"), !n.includes(t.key);
2725
2764
  },
@@ -2755,7 +2794,7 @@ var Vi = {
2755
2794
  let e = this.editor.getAttributes("link").href;
2756
2795
  window.open(e, "_blank");
2757
2796
  },
2758
- setLink(e, t, n, r = E, i) {
2797
+ setLink(e, t, n, r = re, i) {
2759
2798
  if (!e) {
2760
2799
  this.removeLink();
2761
2800
  return;
@@ -2773,9 +2812,9 @@ var Vi = {
2773
2812
  processValue(e, t = !0) {
2774
2813
  if (!this.editor) return;
2775
2814
  let n = this.getOutput();
2776
- if (!(t && mt(e, n))) {
2815
+ if (!(t && _t(e, n))) {
2777
2816
  if (typeof e == "string" && this.outputFormat === "text") {
2778
- let t = RegExp(`(${ye})`, "g");
2817
+ let t = RegExp(`(${Se})`, "g");
2779
2818
  e = e?.replace(t, "<emoji-component code=\"$1\"></emoji-component>");
2780
2819
  }
2781
2820
  this.editor.commands.setContent(e, {
@@ -2846,7 +2885,7 @@ var Vi = {
2846
2885
  this.$emit("html-input", n);
2847
2886
  let r = this.editor.getText({ blockSeparator: "\n" });
2848
2887
  this.$emit("text-input", r);
2849
- let i = ne(t, this.extensions);
2888
+ let i = E(t, this.extensions);
2850
2889
  this.$emit("markdown-input", i);
2851
2890
  },
2852
2891
  addEditorListeners() {
@@ -2874,7 +2913,7 @@ var Vi = {
2874
2913
  switch (this.outputFormat) {
2875
2914
  case "json": return this.editor.getJSON();
2876
2915
  case "html": return this.editor.getHTML();
2877
- case "markdown": return ne(this.editor.getJSON(), this.extensions);
2916
+ case "markdown": return E(this.editor.getJSON(), this.extensions);
2878
2917
  default: return this.editor.getText({ blockSeparator: "\n" });
2879
2918
  }
2880
2919
  },
@@ -2892,10 +2931,10 @@ var Vi = {
2892
2931
  this.editor.commands.focus();
2893
2932
  }
2894
2933
  }
2895
- }, Ui = { class: "d-popover__dialog" };
2896
- function Wi(e, t, n, r, i, a) {
2897
- let o = P("dt-button"), s = P("dt-stack"), c = P("bubble-menu"), l = P("editor-content");
2898
- return N(), A("div", null, [i.editor && n.link && !n.hideLinkBubbleMenu ? (N(), O(c, {
2934
+ }, Bi = { class: "d-popover__dialog" };
2935
+ function Vi(e, t, n, r, i, a) {
2936
+ let o = M("dt-button"), s = M("dt-stack"), c = M("bubble-menu"), l = M("editor-content");
2937
+ return j(), ae("div", null, [i.editor && n.link && n.showLinkBubbleMenu ? (j(), D(c, {
2899
2938
  key: 0,
2900
2939
  editor: i.editor,
2901
2940
  "should-show": a.bubbleMenuShouldShow,
@@ -2903,34 +2942,34 @@ function Wi(e, t, n, r, i, a) {
2903
2942
  "append-to": i.appendTo,
2904
2943
  style: { visibility: "visible" }
2905
2944
  }, {
2906
- default: I(() => [j("div", Ui, [M(s, {
2945
+ default: P(() => [oe("div", Bi, [A(s, {
2907
2946
  direction: "row",
2908
2947
  class: "d-rich-text-editor-bubble-menu__button-stack",
2909
2948
  gap: "0"
2910
2949
  }, {
2911
- default: I(() => [
2912
- M(o, {
2950
+ default: P(() => [
2951
+ A(o, {
2913
2952
  kind: "muted",
2914
2953
  importance: "clear",
2915
2954
  onClick: a.editLink
2916
2955
  }, {
2917
- default: I(() => [re(F(i.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL")), 1)]),
2956
+ default: P(() => [k(N(i.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_EDIT_BUTTON_LABEL")), 1)]),
2918
2957
  _: 1
2919
2958
  }, 8, ["onClick"]),
2920
- M(o, {
2959
+ A(o, {
2921
2960
  kind: "muted",
2922
2961
  importance: "clear",
2923
2962
  onClick: a.openLink
2924
2963
  }, {
2925
- default: I(() => [re(F(i.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL")), 1)]),
2964
+ default: P(() => [k(N(i.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_OPEN_LINK_BUTTON_LABEL")), 1)]),
2926
2965
  _: 1
2927
2966
  }, 8, ["onClick"]),
2928
- M(o, {
2929
- kind: "danger",
2967
+ A(o, {
2968
+ kind: "critical",
2930
2969
  importance: "clear",
2931
2970
  onClick: a.removeLink
2932
2971
  }, {
2933
- default: I(() => [re(F(i.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL")), 1)]),
2972
+ default: P(() => [k(N(i.i18n.$t("DIALTONE_RICH_TEXT_EDITOR_REMOVE_BUTTON_LABEL")), 1)]),
2934
2973
  _: 1
2935
2974
  }, 8, ["onClick"])
2936
2975
  ]),
@@ -2942,15 +2981,15 @@ function Wi(e, t, n, r, i, a) {
2942
2981
  "should-show",
2943
2982
  "options",
2944
2983
  "append-to"
2945
- ])) : k("", !0), M(l, se({
2984
+ ])) : O("", !0), A(l, ue({
2946
2985
  ref: "editor",
2947
2986
  editor: i.editor,
2948
2987
  class: "d-rich-text-editor",
2949
2988
  "data-qa": "dt-rich-text-editor"
2950
2989
  }, a.attrs), null, 16, ["editor"])]);
2951
2990
  }
2952
- var Gi = /* @__PURE__ */ i(Hi, [["render", Wi]]);
2991
+ var Hi = /* @__PURE__ */ i(zi, [["render", Vi]]);
2953
2992
  //#endregion
2954
- export { Gi as t };
2993
+ export { Hi as t };
2955
2994
 
2956
- //# sourceMappingURL=rich_text_editor-Ba67C4Uk.js.map
2995
+ //# sourceMappingURL=rich_text_editor-CEW74QNe.js.map