@vc-shell/framework 2.0.0-alpha.0 → 2.0.0-alpha.10

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 (703) hide show
  1. package/CHANGELOG.md +4552 -0
  2. package/dist/core/composables/useBlade/index.d.ts +21 -24
  3. package/dist/core/composables/useBlade/index.d.ts.map +1 -1
  4. package/dist/core/composables/useNotifications/index.d.ts +3 -8
  5. package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
  6. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  7. package/dist/core/notifications/composables/index.d.ts +3 -0
  8. package/dist/core/notifications/composables/index.d.ts.map +1 -0
  9. package/dist/core/notifications/composables/useBladeNotifications.d.ts +13 -0
  10. package/dist/core/notifications/composables/useBladeNotifications.d.ts.map +1 -0
  11. package/dist/core/notifications/composables/useNotificationStore.d.ts +8 -0
  12. package/dist/core/notifications/composables/useNotificationStore.d.ts.map +1 -0
  13. package/dist/core/notifications/index.d.ts +7 -0
  14. package/dist/core/notifications/index.d.ts.map +1 -0
  15. package/dist/core/notifications/store.d.ts +27 -0
  16. package/dist/core/notifications/store.d.ts.map +1 -0
  17. package/dist/core/notifications/toast-controller.d.ts +7 -0
  18. package/dist/core/notifications/toast-controller.d.ts.map +1 -0
  19. package/dist/core/notifications/types.d.ts +46 -0
  20. package/dist/core/notifications/types.d.ts.map +1 -0
  21. package/dist/core/plugins/ai-agent/components/VcAiAgentPanel.vue.d.ts +2 -1
  22. package/dist/core/plugins/ai-agent/components/VcAiAgentPanel.vue.d.ts.map +1 -1
  23. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts +4 -3
  24. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts.map +1 -1
  25. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue.d.ts +2 -1
  26. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue.d.ts.map +1 -1
  27. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue.d.ts +2 -1
  28. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue.d.ts.map +1 -1
  29. package/dist/core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue.d.ts +2 -1
  30. package/dist/core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue.d.ts.map +1 -1
  31. package/dist/core/plugins/extension-points/ExtensionPoint.vue.d.ts +3 -2
  32. package/dist/core/plugins/extension-points/ExtensionPoint.vue.d.ts.map +1 -1
  33. package/dist/core/plugins/modularity/index.d.ts +43 -31
  34. package/dist/core/plugins/modularity/index.d.ts.map +1 -1
  35. package/dist/core/plugins/signalR/index.d.ts.map +1 -1
  36. package/dist/core/types/index.d.ts +2 -79
  37. package/dist/core/types/index.d.ts.map +1 -1
  38. package/dist/core/types/menu-types.d.ts +80 -0
  39. package/dist/core/types/menu-types.d.ts.map +1 -0
  40. package/dist/framework.css +1 -1
  41. package/dist/framework.js +30573 -34793
  42. package/dist/index.d.ts +2 -0
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/injection-keys.d.ts +2 -21
  45. package/dist/injection-keys.d.ts.map +1 -1
  46. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +2 -1
  47. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
  48. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts +2 -1
  49. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts.map +1 -1
  50. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts +2 -1
  51. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -1
  52. package/dist/shared/components/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts +2 -1
  53. package/dist/shared/components/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts.map +1 -1
  54. package/dist/shared/components/blade-navigation/composables/useBladeStack.d.ts.map +1 -1
  55. package/dist/shared/components/blade-navigation/plugin-v2.d.ts.map +1 -1
  56. package/dist/shared/components/blade-navigation/types/index.d.ts +3 -1
  57. package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
  58. package/dist/shared/components/blade-navigation/utils/bladeRouterGuard.d.ts +31 -0
  59. package/dist/shared/components/blade-navigation/utils/bladeRouterGuard.d.ts.map +1 -0
  60. package/dist/shared/components/change-password/change-password.vue.d.ts +2 -1
  61. package/dist/shared/components/change-password/change-password.vue.d.ts.map +1 -1
  62. package/dist/shared/components/change-password-button/change-password-button.vue.d.ts +2 -1
  63. package/dist/shared/components/change-password-button/change-password-button.vue.d.ts.map +1 -1
  64. package/dist/shared/components/common/popup/vc-popup-base.vue.d.ts +3 -2
  65. package/dist/shared/components/common/popup/vc-popup-base.vue.d.ts.map +1 -1
  66. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts +3 -2
  67. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +1 -1
  68. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts +3 -2
  69. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts.map +1 -1
  70. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts +3 -2
  71. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +1 -1
  72. package/dist/shared/components/dashboard-charts/ChartContainer.vue.d.ts +3 -2
  73. package/dist/shared/components/dashboard-charts/ChartContainer.vue.d.ts.map +1 -1
  74. package/dist/shared/components/dashboard-charts/ChartLegend.vue.d.ts +2 -1
  75. package/dist/shared/components/dashboard-charts/ChartLegend.vue.d.ts.map +1 -1
  76. package/dist/shared/components/dashboard-charts/ChartTooltip.vue.d.ts +2 -1
  77. package/dist/shared/components/dashboard-charts/ChartTooltip.vue.d.ts.map +1 -1
  78. package/dist/shared/components/dashboard-charts/DashboardBarChart.vue.d.ts +10 -5
  79. package/dist/shared/components/dashboard-charts/DashboardBarChart.vue.d.ts.map +1 -1
  80. package/dist/shared/components/dashboard-charts/DashboardDonutChart.vue.d.ts +11 -6
  81. package/dist/shared/components/dashboard-charts/DashboardDonutChart.vue.d.ts.map +1 -1
  82. package/dist/shared/components/dashboard-charts/DashboardLineChart.vue.d.ts +10 -5
  83. package/dist/shared/components/dashboard-charts/DashboardLineChart.vue.d.ts.map +1 -1
  84. package/dist/shared/components/dashboard-widget-card/dashboard-feed-list.vue.d.ts +3 -2
  85. package/dist/shared/components/dashboard-widget-card/dashboard-feed-list.vue.d.ts.map +1 -1
  86. package/dist/shared/components/dashboard-widget-card/dashboard-feed-row.vue.d.ts +3 -2
  87. package/dist/shared/components/dashboard-widget-card/dashboard-feed-row.vue.d.ts.map +1 -1
  88. package/dist/shared/components/dashboard-widget-card/dashboard-stat-item.vue.d.ts +2 -1
  89. package/dist/shared/components/dashboard-widget-card/dashboard-stat-item.vue.d.ts.map +1 -1
  90. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts +3 -2
  91. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
  92. package/dist/shared/components/draggable-dashboard/DraggableDashboard.vue.d.ts +2 -1
  93. package/dist/shared/components/draggable-dashboard/DraggableDashboard.vue.d.ts.map +1 -1
  94. package/dist/shared/components/draggable-dashboard/GridstackDashboard.vue.d.ts +2 -1
  95. package/dist/shared/components/draggable-dashboard/GridstackDashboard.vue.d.ts.map +1 -1
  96. package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts +13 -8
  97. package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts.map +1 -1
  98. package/dist/shared/components/generic-dropdown/index.d.ts +8 -6
  99. package/dist/shared/components/generic-dropdown/index.d.ts.map +1 -1
  100. package/dist/shared/components/index.d.ts +0 -1
  101. package/dist/shared/components/index.d.ts.map +1 -1
  102. package/dist/shared/components/language-selector/language-selector.vue.d.ts +2 -1
  103. package/dist/shared/components/language-selector/language-selector.vue.d.ts.map +1 -1
  104. package/dist/shared/components/logout-button/logout-button.vue.d.ts +2 -1
  105. package/dist/shared/components/logout-button/logout-button.vue.d.ts.map +1 -1
  106. package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts +2 -1
  107. package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts.map +1 -1
  108. package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts +2 -3
  109. package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -1
  110. package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts +2 -1
  111. package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -1
  112. package/dist/shared/components/notification-template/notification-template.vue.d.ts +8 -4
  113. package/dist/shared/components/notification-template/notification-template.vue.d.ts.map +1 -1
  114. package/dist/shared/components/notifications/components/notification-container/index.d.ts +1 -1
  115. package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
  116. package/dist/shared/components/notifications/composables/useContainer/index.d.ts.map +1 -1
  117. package/dist/shared/components/notifications/types/index.d.ts +9 -1
  118. package/dist/shared/components/notifications/types/index.d.ts.map +1 -1
  119. package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts +2 -1
  120. package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts.map +1 -1
  121. package/dist/shared/components/popup-handler/plugin.d.ts.map +1 -1
  122. package/dist/shared/components/settings-menu/settings-menu.vue.d.ts +2 -1
  123. package/dist/shared/components/settings-menu/settings-menu.vue.d.ts.map +1 -1
  124. package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts +3 -2
  125. package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
  126. package/dist/shared/components/sidebar/sidebar.vue.d.ts +3 -2
  127. package/dist/shared/components/sidebar/sidebar.vue.d.ts.map +1 -1
  128. package/dist/shared/components/sign-in/external-provider.vue.d.ts +2 -1
  129. package/dist/shared/components/sign-in/external-provider.vue.d.ts.map +1 -1
  130. package/dist/shared/components/sign-in/external-providers.vue.d.ts +2 -1
  131. package/dist/shared/components/sign-in/external-providers.vue.d.ts.map +1 -1
  132. package/dist/shared/components/theme-selector/theme-selector.vue.d.ts +2 -1
  133. package/dist/shared/components/theme-selector/theme-selector.vue.d.ts.map +1 -1
  134. package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts +2 -1
  135. package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -1
  136. package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts +2 -1
  137. package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts.map +1 -1
  138. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts +2 -1
  139. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
  140. package/dist/shared/index.d.ts.map +1 -1
  141. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +2 -1
  142. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
  143. package/dist/shared/modules/assets/index.d.ts +1 -3
  144. package/dist/shared/modules/assets/index.d.ts.map +1 -1
  145. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -1
  146. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
  147. package/dist/shared/modules/assets-manager/index.d.ts +1 -3
  148. package/dist/shared/modules/assets-manager/index.d.ts.map +1 -1
  149. package/dist/shared/modules/index.d.ts +0 -1
  150. package/dist/shared/modules/index.d.ts.map +1 -1
  151. package/dist/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts +2 -1
  152. package/dist/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +1 -1
  153. package/dist/shared/pages/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue.d.ts +2 -1
  154. package/dist/shared/pages/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue.d.ts.map +1 -1
  155. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +2 -1
  156. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
  157. package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts +2 -1
  158. package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
  159. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +2 -1
  160. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
  161. package/dist/test-helpers.d.ts +103 -10
  162. package/dist/test-helpers.d.ts.map +1 -1
  163. package/dist/tsconfig.tsbuildinfo +1 -1
  164. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +3 -2
  165. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  166. package/dist/ui/components/atoms/vc-banner/vc-banner.vue.d.ts +3 -2
  167. package/dist/ui/components/atoms/vc-banner/vc-banner.vue.d.ts.map +1 -1
  168. package/dist/ui/components/atoms/vc-button/vc-button-group.vue.d.ts +3 -2
  169. package/dist/ui/components/atoms/vc-button/vc-button-group.vue.d.ts.map +1 -1
  170. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +3 -2
  171. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
  172. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +3 -2
  173. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts.map +1 -1
  174. package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts +3 -2
  175. package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts.map +1 -1
  176. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +5 -4
  177. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts.map +1 -1
  178. package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts +3 -2
  179. package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts.map +1 -1
  180. package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts +2 -1
  181. package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts.map +1 -1
  182. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts +2 -1
  183. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts.map +1 -1
  184. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts +3 -2
  185. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts.map +1 -1
  186. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +3 -2
  187. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  188. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts +2 -1
  189. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -1
  190. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +2 -1
  191. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
  192. package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts +2 -1
  193. package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts.map +1 -1
  194. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +2 -1
  195. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
  196. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +3 -2
  197. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
  198. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts +3 -2
  199. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts.map +1 -1
  200. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts +2 -1
  201. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
  202. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +2 -1
  203. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  204. package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts +3 -2
  205. package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts.map +1 -1
  206. package/dist/ui/components/atoms/vc-scrollable-container/vc-scrollable-container.vue.d.ts +6 -5
  207. package/dist/ui/components/atoms/vc-scrollable-container/vc-scrollable-container.vue.d.ts.map +1 -1
  208. package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts +2 -1
  209. package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -1
  210. package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts +3 -2
  211. package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
  212. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts +2 -1
  213. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts.map +1 -1
  214. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +3 -2
  215. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
  216. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts +2 -1
  217. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts.map +1 -1
  218. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +2 -1
  219. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
  220. package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts +3 -2
  221. package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -1
  222. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +4 -3
  223. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -1
  224. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts +2 -1
  225. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts.map +1 -1
  226. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +3 -2
  227. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
  228. package/dist/ui/components/molecules/vc-checkbox/index.d.ts +1 -2
  229. package/dist/ui/components/molecules/vc-checkbox/index.d.ts.map +1 -1
  230. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +31 -34
  231. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  232. package/dist/ui/components/molecules/vc-checkbox-group/index.d.ts +1 -1
  233. package/dist/ui/components/molecules/vc-checkbox-group/index.d.ts.map +1 -1
  234. package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue.d.ts +28 -31
  235. package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue.d.ts.map +1 -1
  236. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +4 -3
  237. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts.map +1 -1
  238. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +4 -3
  239. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
  240. package/dist/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue.d.ts +2 -1
  241. package/dist/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue.d.ts.map +1 -1
  242. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +15 -10
  243. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
  244. package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts +9 -8
  245. package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -1
  246. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts +2 -1
  247. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts.map +1 -1
  248. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue.d.ts +2 -1
  249. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue.d.ts.map +1 -1
  250. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-font-selector.vue.d.ts +2 -1
  251. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-font-selector.vue.d.ts.map +1 -1
  252. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts +2 -1
  253. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts.map +1 -1
  254. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +5 -4
  255. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  256. package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts +3 -2
  257. package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts.map +1 -1
  258. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +2 -1
  259. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
  260. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +3 -2
  261. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  262. package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts +3 -2
  263. package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts.map +1 -1
  264. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +32 -54
  265. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  266. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +2 -1
  267. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  268. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +3 -2
  269. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
  270. package/dist/ui/components/molecules/vc-input-group/vc-input-group.vue.d.ts +7 -6
  271. package/dist/ui/components/molecules/vc-input-group/vc-input-group.vue.d.ts.map +1 -1
  272. package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts +3 -2
  273. package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts.map +1 -1
  274. package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts +3 -2
  275. package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts.map +1 -1
  276. package/dist/ui/components/molecules/vc-menu/vc-menu.vue.d.ts +4 -3
  277. package/dist/ui/components/molecules/vc-menu/vc-menu.vue.d.ts.map +1 -1
  278. package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueDropdown.vue.d.ts +3 -2
  279. package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueDropdown.vue.d.ts.map +1 -1
  280. package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts +5 -4
  281. package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts.map +1 -1
  282. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +15 -10
  283. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
  284. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +2 -1
  285. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
  286. package/dist/ui/components/molecules/vc-radio-button/index.d.ts +0 -1
  287. package/dist/ui/components/molecules/vc-radio-button/index.d.ts.map +1 -1
  288. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +27 -39
  289. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
  290. package/dist/ui/components/molecules/vc-radio-group/index.d.ts +1 -1
  291. package/dist/ui/components/molecules/vc-radio-group/index.d.ts.map +1 -1
  292. package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.vue.d.ts +27 -28
  293. package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.vue.d.ts.map +1 -1
  294. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +4 -3
  295. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  296. package/dist/ui/components/molecules/vc-select/_internal/SelectDropdown.vue.d.ts +3 -2
  297. package/dist/ui/components/molecules/vc-select/_internal/SelectDropdown.vue.d.ts.map +1 -1
  298. package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts +3 -2
  299. package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts.map +1 -1
  300. package/dist/ui/components/molecules/vc-select/composables/index.d.ts +1 -3
  301. package/dist/ui/components/molecules/vc-select/composables/index.d.ts.map +1 -1
  302. package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts +30 -0
  303. package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts.map +1 -0
  304. package/dist/ui/components/molecules/vc-select/composables/useSelectSelection.d.ts +3 -2
  305. package/dist/ui/components/molecules/vc-select/composables/useSelectSelection.d.ts.map +1 -1
  306. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +30 -19
  307. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  308. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +8 -7
  309. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
  310. package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts +3 -2
  311. package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts.map +1 -1
  312. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +3 -2
  313. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  314. package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts +3 -2
  315. package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts.map +1 -1
  316. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarMobileActions.vue.d.ts +2 -1
  317. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarMobileActions.vue.d.ts.map +1 -1
  318. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarOverlay.vue.d.ts +5 -4
  319. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarOverlay.vue.d.ts.map +1 -1
  320. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetContent.vue.d.ts +2 -1
  321. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetContent.vue.d.ts.map +1 -1
  322. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetItem.vue.d.ts +3 -2
  323. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetItem.vue.d.ts.map +1 -1
  324. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetsMenu.vue.d.ts +2 -1
  325. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetsMenu.vue.d.ts.map +1 -1
  326. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue.d.ts +3 -2
  327. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue.d.ts.map +1 -1
  328. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue.d.ts +3 -2
  329. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue.d.ts.map +1 -1
  330. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/MenuSidebar.vue.d.ts +3 -2
  331. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/MenuSidebar.vue.d.ts.map +1 -1
  332. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts +3 -2
  333. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
  334. package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts +3 -2
  335. package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts.map +1 -1
  336. package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts +2 -1
  337. package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts.map +1 -1
  338. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarCollapseButton.vue.d.ts +2 -1
  339. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarCollapseButton.vue.d.ts.map +1 -1
  340. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts +3 -2
  341. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts.map +1 -1
  342. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts +6 -5
  343. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts.map +1 -1
  344. package/dist/ui/components/organisms/vc-app/composables/useShellNavigation.d.ts.map +1 -1
  345. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +3 -2
  346. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  347. package/dist/ui/components/organisms/vc-auth-layout/vc-auth-layout.vue.d.ts +3 -2
  348. package/dist/ui/components/organisms/vc-auth-layout/vc-auth-layout.vue.d.ts.map +1 -1
  349. package/dist/ui/components/organisms/vc-blade/_internal/BladeContentSkeleton.vue.d.ts +2 -1
  350. package/dist/ui/components/organisms/vc-blade/_internal/BladeContentSkeleton.vue.d.ts.map +1 -1
  351. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts +7 -6
  352. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
  353. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeaderSkeleton.vue.d.ts +2 -1
  354. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeaderSkeleton.vue.d.ts.map +1 -1
  355. package/dist/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue.d.ts +2 -1
  356. package/dist/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue.d.ts.map +1 -1
  357. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts +5 -4
  358. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts.map +1 -1
  359. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue.d.ts +2 -1
  360. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue.d.ts.map +1 -1
  361. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts +3 -2
  362. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts.map +1 -1
  363. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarCircleButton.vue.d.ts +3 -2
  364. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarCircleButton.vue.d.ts.map +1 -1
  365. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue.d.ts +2 -1
  366. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue.d.ts.map +1 -1
  367. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue.d.ts +2 -1
  368. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue.d.ts.map +1 -1
  369. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainer.vue.d.ts +2 -1
  370. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainer.vue.d.ts.map +1 -1
  371. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts +2 -1
  372. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts.map +1 -1
  373. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts +2 -1
  374. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts.map +1 -1
  375. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.vue.d.ts +2 -1
  376. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.vue.d.ts.map +1 -1
  377. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +5 -32
  378. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  379. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +20 -15
  380. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  381. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +4 -3
  382. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
  383. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +2 -1
  384. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  385. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +10 -9
  386. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  387. package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts +4 -3
  388. package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts.map +1 -1
  389. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +6 -5
  390. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  391. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +6 -5
  392. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
  393. package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts +65 -60
  394. package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts.map +1 -1
  395. package/dist/ui/components/organisms/vc-table/VcTableAdapter.vue.d.ts +36 -31
  396. package/dist/ui/components/organisms/vc-table/VcTableAdapter.vue.d.ts.map +1 -1
  397. package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts +7 -6
  398. package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts.map +1 -1
  399. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +2 -1
  400. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
  401. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +2 -1
  402. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
  403. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +2 -1
  404. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  405. package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts +3 -2
  406. package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +1 -1
  407. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +5 -4
  408. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
  409. package/dist/ui/components/organisms/vc-table/base/BaseVcDataTable.d.ts +4 -4
  410. package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts +6 -5
  411. package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts.map +1 -1
  412. package/dist/ui/components/organisms/vc-table/components/ColumnSwitcherButton.vue.d.ts +2 -1
  413. package/dist/ui/components/organisms/vc-table/components/ColumnSwitcherButton.vue.d.ts.map +1 -1
  414. package/dist/ui/components/organisms/vc-table/components/DataTableBody.vue.d.ts +12 -11
  415. package/dist/ui/components/organisms/vc-table/components/DataTableBody.vue.d.ts.map +1 -1
  416. package/dist/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue.d.ts +20 -15
  417. package/dist/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue.d.ts.map +1 -1
  418. package/dist/ui/components/organisms/vc-table/components/DataTableHeader.vue.d.ts +2 -1
  419. package/dist/ui/components/organisms/vc-table/components/DataTableHeader.vue.d.ts.map +1 -1
  420. package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts +31 -26
  421. package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts.map +1 -1
  422. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersButton.vue.d.ts +2 -1
  423. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersButton.vue.d.ts.map +1 -1
  424. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts +9 -8
  425. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts.map +1 -1
  426. package/dist/ui/components/organisms/vc-table/components/Table.vue.d.ts +11 -6
  427. package/dist/ui/components/organisms/vc-table/components/Table.vue.d.ts.map +1 -1
  428. package/dist/ui/components/organisms/vc-table/components/TableActions.vue.d.ts +2 -1
  429. package/dist/ui/components/organisms/vc-table/components/TableActions.vue.d.ts.map +1 -1
  430. package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts +2 -1
  431. package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts.map +1 -1
  432. package/dist/ui/components/organisms/vc-table/components/TableBody.vue.d.ts +3 -2
  433. package/dist/ui/components/organisms/vc-table/components/TableBody.vue.d.ts.map +1 -1
  434. package/dist/ui/components/organisms/vc-table/components/TableCell.vue.d.ts +3 -2
  435. package/dist/ui/components/organisms/vc-table/components/TableCell.vue.d.ts.map +1 -1
  436. package/dist/ui/components/organisms/vc-table/components/TableCheckbox.vue.d.ts +4 -3
  437. package/dist/ui/components/organisms/vc-table/components/TableCheckbox.vue.d.ts.map +1 -1
  438. package/dist/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue.d.ts +2 -1
  439. package/dist/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue.d.ts.map +1 -1
  440. package/dist/ui/components/organisms/vc-table/components/TableEmpty.vue.d.ts +6 -5
  441. package/dist/ui/components/organisms/vc-table/components/TableEmpty.vue.d.ts.map +1 -1
  442. package/dist/ui/components/organisms/vc-table/components/TableFooter.vue.d.ts +3 -2
  443. package/dist/ui/components/organisms/vc-table/components/TableFooter.vue.d.ts.map +1 -1
  444. package/dist/ui/components/organisms/vc-table/components/TableGroupRow.vue.d.ts +3 -2
  445. package/dist/ui/components/organisms/vc-table/components/TableGroupRow.vue.d.ts.map +1 -1
  446. package/dist/ui/components/organisms/vc-table/components/TableHead.vue.d.ts +3 -2
  447. package/dist/ui/components/organisms/vc-table/components/TableHead.vue.d.ts.map +1 -1
  448. package/dist/ui/components/organisms/vc-table/components/TableHeader.vue.d.ts +3 -2
  449. package/dist/ui/components/organisms/vc-table/components/TableHeader.vue.d.ts.map +1 -1
  450. package/dist/ui/components/organisms/vc-table/components/TableResizeHandle.vue.d.ts +2 -1
  451. package/dist/ui/components/organisms/vc-table/components/TableResizeHandle.vue.d.ts.map +1 -1
  452. package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts +8 -7
  453. package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts.map +1 -1
  454. package/dist/ui/components/organisms/vc-table/components/TableRowActions.vue.d.ts +3 -2
  455. package/dist/ui/components/organisms/vc-table/components/TableRowActions.vue.d.ts.map +1 -1
  456. package/dist/ui/components/organisms/vc-table/components/TableSearchHeader.vue.d.ts +7 -6
  457. package/dist/ui/components/organisms/vc-table/components/TableSearchHeader.vue.d.ts.map +1 -1
  458. package/dist/ui/components/organisms/vc-table/components/TableSelectAllBar.vue.d.ts +2 -1
  459. package/dist/ui/components/organisms/vc-table/components/TableSelectAllBar.vue.d.ts.map +1 -1
  460. package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts +14 -13
  461. package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts.map +1 -1
  462. package/dist/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue.d.ts +2 -1
  463. package/dist/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue.d.ts.map +1 -1
  464. package/dist/ui/components/organisms/vc-table/components/cells/CellDate.vue.d.ts +2 -1
  465. package/dist/ui/components/organisms/vc-table/components/cells/CellDate.vue.d.ts.map +1 -1
  466. package/dist/ui/components/organisms/vc-table/components/cells/CellDateAgo.vue.d.ts +2 -1
  467. package/dist/ui/components/organisms/vc-table/components/cells/CellDateAgo.vue.d.ts.map +1 -1
  468. package/dist/ui/components/organisms/vc-table/components/cells/CellDefault.vue.d.ts +2 -1
  469. package/dist/ui/components/organisms/vc-table/components/cells/CellDefault.vue.d.ts.map +1 -1
  470. package/dist/ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue.d.ts +5 -4
  471. package/dist/ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue.d.ts.map +1 -1
  472. package/dist/ui/components/organisms/vc-table/components/cells/CellHtml.vue.d.ts +2 -1
  473. package/dist/ui/components/organisms/vc-table/components/cells/CellHtml.vue.d.ts.map +1 -1
  474. package/dist/ui/components/organisms/vc-table/components/cells/CellImage.vue.d.ts +2 -1
  475. package/dist/ui/components/organisms/vc-table/components/cells/CellImage.vue.d.ts.map +1 -1
  476. package/dist/ui/components/organisms/vc-table/components/cells/CellLink.vue.d.ts +2 -1
  477. package/dist/ui/components/organisms/vc-table/components/cells/CellLink.vue.d.ts.map +1 -1
  478. package/dist/ui/components/organisms/vc-table/components/cells/CellMoney.vue.d.ts +2 -1
  479. package/dist/ui/components/organisms/vc-table/components/cells/CellMoney.vue.d.ts.map +1 -1
  480. package/dist/ui/components/organisms/vc-table/components/cells/CellNumber.vue.d.ts +2 -1
  481. package/dist/ui/components/organisms/vc-table/components/cells/CellNumber.vue.d.ts.map +1 -1
  482. package/dist/ui/components/organisms/vc-table/components/cells/CellStatus.vue.d.ts +2 -1
  483. package/dist/ui/components/organisms/vc-table/components/cells/CellStatus.vue.d.ts.map +1 -1
  484. package/dist/ui/components/organisms/vc-table/components/cells/CellStatusIcon.vue.d.ts +2 -1
  485. package/dist/ui/components/organisms/vc-table/components/cells/CellStatusIcon.vue.d.ts.map +1 -1
  486. package/dist/ui/components/organisms/vc-table/components/cells/DynamicCellRenderer.vue.d.ts +2 -1
  487. package/dist/ui/components/organisms/vc-table/components/cells/DynamicCellRenderer.vue.d.ts.map +1 -1
  488. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts +15 -10
  489. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts.map +1 -1
  490. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts +17 -12
  491. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts.map +1 -1
  492. package/dist/ui/components/organisms/vc-table/components/mobile/MobileActionSheet.vue.d.ts +15 -10
  493. package/dist/ui/components/organisms/vc-table/components/mobile/MobileActionSheet.vue.d.ts.map +1 -1
  494. package/dist/ui/components/organisms/vc-table/components/mobile/MobileCellRenderer.vue.d.ts +11 -6
  495. package/dist/ui/components/organisms/vc-table/components/mobile/MobileCellRenderer.vue.d.ts.map +1 -1
  496. package/dist/ui/components/organisms/vc-table/components/mobile/PullToRefresh.vue.d.ts +6 -5
  497. package/dist/ui/components/organisms/vc-table/components/mobile/PullToRefresh.vue.d.ts.map +1 -1
  498. package/dist/ui/components/organisms/vc-table/composables/useTableContext.d.ts +2 -6
  499. package/dist/ui/components/organisms/vc-table/composables/useTableContext.d.ts.map +1 -1
  500. package/dist/ui/components/organisms/vc-table/keys.d.ts +5 -1
  501. package/dist/ui/components/organisms/vc-table/keys.d.ts.map +1 -1
  502. package/dist/ui/components/organisms/vc-table/types.d.ts +12 -9
  503. package/dist/ui/components/organisms/vc-table/types.d.ts.map +1 -1
  504. package/dist/ui/components/organisms/vc-table/utils/ColumnCollector.d.ts +2 -6
  505. package/dist/ui/components/organisms/vc-table/utils/ColumnCollector.d.ts.map +1 -1
  506. package/dist/ui/types/global-components.d.ts +10 -0
  507. package/dist/ui/types/global-components.d.ts.map +1 -0
  508. package/dist/ui/types/index.d.ts +0 -8
  509. package/dist/ui/types/index.d.ts.map +1 -1
  510. package/dist/{vendor-boolbase-D2i1C8XR.js → vendor-boolbase-DYkUBG-P.js} +1 -1
  511. package/dist/{vendor-cheerio-DrsWhxJH.js → vendor-cheerio-DE71XQ9x.js} +1 -1
  512. package/dist/{vendor-cheerio-select-jw4C2SiT.js → vendor-cheerio-select-D-qK1Cpo.js} +2 -2
  513. package/dist/{vendor-css-select-BwGMmTuc.js → vendor-css-select-DqoO1-RK.js} +2 -2
  514. package/dist/{vendor-dompurify-M2Bspgo5.js → vendor-dompurify-BIuh5IAZ.js} +2 -2
  515. package/dist/vendor-intlify-core-base-BmIo1dK4.js +1141 -0
  516. package/dist/{vendor-intlify-message-compiler-C5QaCXcF.js → vendor-intlify-message-compiler-D9VOavkL.js} +315 -307
  517. package/dist/{vendor-intlify-shared-BrKs3jCC.js → vendor-intlify-shared-SCAs3ybf.js} +2 -2
  518. package/dist/{vendor-iso-639-1-rPqx9HMT.js → vendor-iso-639-1-BEjYyfKo.js} +7 -9
  519. package/dist/vendor-lodash-es-CWnYz7RK.js +1497 -0
  520. package/dist/{vendor-markdown-it-task-lists-CHCnS7dl.js → vendor-markdown-it-task-lists-CHKeJZfk.js} +1 -1
  521. package/dist/{vendor-nth-check-CGMdQf59.js → vendor-nth-check-D0N1qpsw.js} +1 -1
  522. package/dist/{vendor-prettier-CoRReRqw.js → vendor-prettier-DeqUTTnE.js} +1 -1
  523. package/dist/{vendor-prosemirror-gapcursor-BAwEBHgE.js → vendor-prosemirror-gapcursor-S3ikcYX6.js} +14 -14
  524. package/dist/{vendor-striptags-BrHtQQiF.js → vendor-striptags-DtlgQudQ.js} +1 -1
  525. package/dist/{vendor-tiptap-core-BfrE48R3.js → vendor-tiptap-core-CDScflP1.js} +665 -628
  526. package/dist/{vendor-tiptap-extension-blockquote-DG5eEgV_.js → vendor-tiptap-extension-blockquote-ChRAwuus.js} +1 -1
  527. package/dist/{vendor-tiptap-extension-bold-CqPrSfgB.js → vendor-tiptap-extension-bold-BwoVpOFS.js} +1 -1
  528. package/dist/{vendor-tiptap-extension-code-Dj9HfL9x.js → vendor-tiptap-extension-code-DOlgG3ih.js} +1 -1
  529. package/dist/{vendor-tiptap-extension-code-block-YnlbQcbJ.js → vendor-tiptap-extension-code-block-CMeTs87s.js} +29 -29
  530. package/dist/{vendor-tiptap-extension-document-DyG2LNKD.js → vendor-tiptap-extension-document-DO8oly70.js} +1 -1
  531. package/dist/{vendor-tiptap-extension-hard-break-mzhqFFEq.js → vendor-tiptap-extension-hard-break-BgDl2sHf.js} +1 -1
  532. package/dist/{vendor-tiptap-extension-heading-DGnriW33.js → vendor-tiptap-extension-heading-DFuYlwHi.js} +1 -1
  533. package/dist/{vendor-tiptap-extension-horizontal-rule-pR7MlJHI.js → vendor-tiptap-extension-horizontal-rule-uyfttMp9.js} +1 -1
  534. package/dist/{vendor-tiptap-extension-image-BsXHNscz.js → vendor-tiptap-extension-image-DPeBaTE3.js} +1 -1
  535. package/dist/{vendor-tiptap-extension-italic-aoCbIXRj.js → vendor-tiptap-extension-italic-C9-3jNxO.js} +1 -1
  536. package/dist/{vendor-tiptap-extension-link-DiV7DqnY.js → vendor-tiptap-extension-link-B57VzStq.js} +1 -1
  537. package/dist/{vendor-tiptap-extension-list-BGYRWOyu.js → vendor-tiptap-extension-list-spvOF7Mz.js} +1 -1
  538. package/dist/{vendor-tiptap-extension-paragraph-BEBEvW1W.js → vendor-tiptap-extension-paragraph-Cj7auQB7.js} +1 -1
  539. package/dist/vendor-tiptap-extension-placeholder-DhwvmZ6Y.js +1 -0
  540. package/dist/{vendor-tiptap-extension-strike-6vob8J1A.js → vendor-tiptap-extension-strike-yj6UvnkO.js} +1 -1
  541. package/dist/vendor-tiptap-extension-table-cell-CQpTPSvF.js +1 -0
  542. package/dist/{vendor-tiptap-extension-table-CH-0UqG-.js → vendor-tiptap-extension-table-ex1kZQ-9.js} +1 -1
  543. package/dist/vendor-tiptap-extension-table-header-CQpTPSvF.js +1 -0
  544. package/dist/vendor-tiptap-extension-table-row-CQpTPSvF.js +1 -0
  545. package/dist/{vendor-tiptap-extension-text-CnqQVbB2.js → vendor-tiptap-extension-text-C8FG4KnI.js} +1 -1
  546. package/dist/{vendor-tiptap-extension-text-style-Bj4bCZI1.js → vendor-tiptap-extension-text-style-DsQDXowp.js} +1 -1
  547. package/dist/{vendor-tiptap-extension-underline-CVBZMhrs.js → vendor-tiptap-extension-underline-HB3fg6Dc.js} +1 -1
  548. package/dist/{vendor-tiptap-extensions-2ZbpCG7T.js → vendor-tiptap-extensions-CUGwjzl5.js} +2 -2
  549. package/dist/{vendor-tiptap-markdown-B7Wvo0s5.js → vendor-tiptap-markdown-BTXJw7Bt.js} +2 -2
  550. package/dist/{vendor-tiptap-starter-kit-ipneJHYV.js → vendor-tiptap-starter-kit-C42PcJ7J.js} +17 -17
  551. package/dist/{vendor-tiptap-vue-3-IfJcIOl5.js → vendor-tiptap-vue-3-BxWCzu9Z.js} +1 -1
  552. package/dist/{vendor-truncate-html-r2r8GKvW.js → vendor-truncate-html-ChA1T5zy.js} +1 -1
  553. package/dist/{vendor-unovis-ts-Bue71Kwt.js → vendor-unovis-ts-stSsHr9j.js} +1 -1
  554. package/dist/{vendor-unovis-vue-C_K1g5KH.js → vendor-unovis-vue-CZWGT3-0.js} +1 -1
  555. package/dist/{vendor-vue-i18n-BguHiJqH.js → vendor-vue-i18n-DfoSKa-v.js} +456 -468
  556. package/dist/{vendor-vue3-application-insights-BmJCYUcp.js → vendor-vue3-application-insights-BLGgC5YQ.js} +25 -25
  557. package/dist/vendor-vueuse-components-BQDr5uOZ.js +219 -0
  558. package/dist/vendor-vueuse-core-BFg8Ys-l.js +530 -0
  559. package/dist/vendor-vueuse-shared-ZhCFpkF2.js +149 -0
  560. package/package.json +9 -10
  561. package/LICENSE +0 -12
  562. package/dist/core/plugins/modularity/loader-mf.d.ts +0 -17
  563. package/dist/core/plugins/modularity/loader-mf.d.ts.map +0 -1
  564. package/dist/shared/components/app-switcher/index.d.ts +0 -14
  565. package/dist/shared/components/app-switcher/index.d.ts.map +0 -1
  566. package/dist/shared/modules/dynamic/components/FIELD_MAP.d.ts +0 -6
  567. package/dist/shared/modules/dynamic/components/FIELD_MAP.d.ts.map +0 -1
  568. package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +0 -54
  569. package/dist/shared/modules/dynamic/components/SchemaRender.d.ts.map +0 -1
  570. package/dist/shared/modules/dynamic/components/factories.d.ts +0 -23
  571. package/dist/shared/modules/dynamic/components/factories.d.ts.map +0 -1
  572. package/dist/shared/modules/dynamic/components/fields/Button.d.ts +0 -47
  573. package/dist/shared/modules/dynamic/components/fields/Button.d.ts.map +0 -1
  574. package/dist/shared/modules/dynamic/components/fields/Card.d.ts +0 -47
  575. package/dist/shared/modules/dynamic/components/fields/Card.d.ts.map +0 -1
  576. package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts +0 -47
  577. package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts.map +0 -1
  578. package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts +0 -47
  579. package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts.map +0 -1
  580. package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts +0 -47
  581. package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts.map +0 -1
  582. package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts +0 -48
  583. package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts.map +0 -1
  584. package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts +0 -47
  585. package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts.map +0 -1
  586. package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts +0 -47
  587. package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts.map +0 -1
  588. package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts +0 -47
  589. package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts.map +0 -1
  590. package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts +0 -47
  591. package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts.map +0 -1
  592. package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts +0 -47
  593. package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +0 -1
  594. package/dist/shared/modules/dynamic/components/fields/InputField.d.ts +0 -47
  595. package/dist/shared/modules/dynamic/components/fields/InputField.d.ts.map +0 -1
  596. package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts +0 -47
  597. package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts.map +0 -1
  598. package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts +0 -51
  599. package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts.map +0 -1
  600. package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts +0 -47
  601. package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts.map +0 -1
  602. package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts +0 -47
  603. package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts.map +0 -1
  604. package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts +0 -47
  605. package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts.map +0 -1
  606. package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts +0 -47
  607. package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts.map +0 -1
  608. package/dist/shared/modules/dynamic/components/fields/Table.d.ts +0 -47
  609. package/dist/shared/modules/dynamic/components/fields/Table.d.ts.map +0 -1
  610. package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts +0 -47
  611. package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts.map +0 -1
  612. package/dist/shared/modules/dynamic/components/fields/ValidationField.d.ts +0 -13
  613. package/dist/shared/modules/dynamic/components/fields/ValidationField.d.ts.map +0 -1
  614. package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts +0 -47
  615. package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts.map +0 -1
  616. package/dist/shared/modules/dynamic/components/fields/props.d.ts +0 -40
  617. package/dist/shared/modules/dynamic/components/fields/props.d.ts.map +0 -1
  618. package/dist/shared/modules/dynamic/components/index.d.ts +0 -4
  619. package/dist/shared/modules/dynamic/components/index.d.ts.map +0 -1
  620. package/dist/shared/modules/dynamic/composables/index.d.ts +0 -5
  621. package/dist/shared/modules/dynamic/composables/index.d.ts.map +0 -1
  622. package/dist/shared/modules/dynamic/composables/useDynamicViewsUtils/index.d.ts +0 -10
  623. package/dist/shared/modules/dynamic/composables/useDynamicViewsUtils/index.d.ts.map +0 -1
  624. package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts +0 -22
  625. package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts.map +0 -1
  626. package/dist/shared/modules/dynamic/composables/useTableTemplates/index.d.ts +0 -14
  627. package/dist/shared/modules/dynamic/composables/useTableTemplates/index.d.ts.map +0 -1
  628. package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts +0 -11
  629. package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts.map +0 -1
  630. package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts +0 -10
  631. package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts.map +0 -1
  632. package/dist/shared/modules/dynamic/factories/base/useListFactory.d.ts +0 -22
  633. package/dist/shared/modules/dynamic/factories/base/useListFactory.d.ts.map +0 -1
  634. package/dist/shared/modules/dynamic/factories/index.d.ts +0 -4
  635. package/dist/shared/modules/dynamic/factories/index.d.ts.map +0 -1
  636. package/dist/shared/modules/dynamic/factories/types/index.d.ts +0 -186
  637. package/dist/shared/modules/dynamic/factories/types/index.d.ts.map +0 -1
  638. package/dist/shared/modules/dynamic/helpers/getters.d.ts +0 -2
  639. package/dist/shared/modules/dynamic/helpers/getters.d.ts.map +0 -1
  640. package/dist/shared/modules/dynamic/helpers/methodHandler.d.ts +0 -4
  641. package/dist/shared/modules/dynamic/helpers/methodHandler.d.ts.map +0 -1
  642. package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts +0 -14
  643. package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts.map +0 -1
  644. package/dist/shared/modules/dynamic/helpers/override.d.ts +0 -8
  645. package/dist/shared/modules/dynamic/helpers/override.d.ts.map +0 -1
  646. package/dist/shared/modules/dynamic/helpers/safeIn.d.ts +0 -5
  647. package/dist/shared/modules/dynamic/helpers/safeIn.d.ts.map +0 -1
  648. package/dist/shared/modules/dynamic/helpers/setters.d.ts +0 -9
  649. package/dist/shared/modules/dynamic/helpers/setters.d.ts.map +0 -1
  650. package/dist/shared/modules/dynamic/helpers/unrefNested.d.ts +0 -3
  651. package/dist/shared/modules/dynamic/helpers/unrefNested.d.ts.map +0 -1
  652. package/dist/shared/modules/dynamic/helpers/unwrapInterpolation.d.ts +0 -3
  653. package/dist/shared/modules/dynamic/helpers/unwrapInterpolation.d.ts.map +0 -1
  654. package/dist/shared/modules/dynamic/index.d.ts +0 -39
  655. package/dist/shared/modules/dynamic/index.d.ts.map +0 -1
  656. package/dist/shared/modules/dynamic/keys.d.ts +0 -3
  657. package/dist/shared/modules/dynamic/keys.d.ts.map +0 -1
  658. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +0 -131
  659. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +0 -1
  660. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +0 -77
  661. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +0 -1
  662. package/dist/shared/modules/dynamic/pages/index.d.ts +0 -4
  663. package/dist/shared/modules/dynamic/pages/index.d.ts.map +0 -1
  664. package/dist/shared/modules/dynamic/types/index.d.ts +0 -1137
  665. package/dist/shared/modules/dynamic/types/index.d.ts.map +0 -1
  666. package/dist/shared/modules/dynamic/types/models.d.ts +0 -131
  667. package/dist/shared/modules/dynamic/types/models.d.ts.map +0 -1
  668. package/dist/shared/pages/ChangePasswordPage/plugin.d.ts +0 -6
  669. package/dist/shared/pages/ChangePasswordPage/plugin.d.ts.map +0 -1
  670. package/dist/shared/pages/ForgotPasswordPage/plugin.d.ts +0 -6
  671. package/dist/shared/pages/ForgotPasswordPage/plugin.d.ts.map +0 -1
  672. package/dist/shared/pages/InvitePage/plugin.d.ts +0 -6
  673. package/dist/shared/pages/InvitePage/plugin.d.ts.map +0 -1
  674. package/dist/shared/pages/LoginPage/plugin.d.ts +0 -6
  675. package/dist/shared/pages/LoginPage/plugin.d.ts.map +0 -1
  676. package/dist/shared/pages/ResetPasswordPage/plugin.d.ts +0 -6
  677. package/dist/shared/pages/ResetPasswordPage/plugin.d.ts.map +0 -1
  678. package/dist/shared/pages/plugin.d.ts +0 -6
  679. package/dist/shared/pages/plugin.d.ts.map +0 -1
  680. package/dist/ui/components/molecules/vc-select/composables/useSelectDefaultValue.d.ts +0 -16
  681. package/dist/ui/components/molecules/vc-select/composables/useSelectDefaultValue.d.ts.map +0 -1
  682. package/dist/ui/components/molecules/vc-select/composables/useSelectOptions.d.ts +0 -19
  683. package/dist/ui/components/molecules/vc-select/composables/useSelectOptions.d.ts.map +0 -1
  684. package/dist/ui/components/molecules/vc-select/composables/useSelectSearch.d.ts +0 -23
  685. package/dist/ui/components/molecules/vc-select/composables/useSelectSearch.d.ts.map +0 -1
  686. package/dist/vendor-core-js-Do_NZFHx.js +0 -880
  687. package/dist/vendor-intlify-core-base-YZqJSEvl.js +0 -1130
  688. package/dist/vendor-lodash-es-BtnfG6xF.js +0 -4829
  689. package/dist/vendor-module-federation-enhanced-CV1CNdJy.js +0 -22
  690. package/dist/vendor-module-federation-error-codes-DdVwX11j.js +0 -55
  691. package/dist/vendor-module-federation-runtime-CVH_lWgu.js +0 -91
  692. package/dist/vendor-module-federation-runtime-core-D5G-s9nP.js +0 -2202
  693. package/dist/vendor-module-federation-runtime-tools-CQbtw-RJ.js +0 -18
  694. package/dist/vendor-module-federation-sdk-DM4AJRa7.js +0 -683
  695. package/dist/vendor-semver-Dar8oU3V.js +0 -1023
  696. package/dist/vendor-tiptap-extension-placeholder-ZfoeEW0T.js +0 -1
  697. package/dist/vendor-tiptap-extension-table-cell-_uzaJkJG.js +0 -1
  698. package/dist/vendor-tiptap-extension-table-header-_uzaJkJG.js +0 -1
  699. package/dist/vendor-tiptap-extension-table-row-_uzaJkJG.js +0 -1
  700. package/dist/vendor-vue-router-R3V0tq8_.js +0 -6
  701. package/dist/vendor-vueuse-components-Be490f6P.js +0 -542
  702. package/dist/vendor-vueuse-core-BW8bO6-j.js +0 -5135
  703. package/dist/vendor-vueuse-shared-bmkWEEYZ.js +0 -1169
@@ -1,13 +1,13 @@
1
- import { f as he, c as gt, T as me, e as ge, l as ve, j as Bt, b as Z, R as ye, a as be } from "./vendor-prosemirror-transform-BUjWd5Tb.js";
2
- import { c as we, d as ke, e as Me, j as xe, a as Se, b as Ee, f as Te, g as Ae, h as Ce, l as Pe, i as $e, n as Ne, s as Re, k as ze, m as Ie, o as De, p as Be, q as Tt, w as _e } from "./vendor-prosemirror-commands-Bv4ChObl.js";
3
- import { N as nt, E as Oe, S as j, T as P, P as $, a as B, A as je } from "./vendor-prosemirror-state-IeimrELV.js";
4
- import { D as Le, d as _t, F as D, N as He, c as ut, S as Fe } from "./vendor-prosemirror-model-DAA3avbR.js";
5
- import { l as Ve, s as We, w as Ue } from "./vendor-prosemirror-schema-list-BNJkECdS.js";
6
- import { E as Ke } from "./vendor-prosemirror-view-DFpBkGRq.js";
7
- import { k as qe } from "./vendor-prosemirror-keymap-CAfQyvJ7.js";
8
- var Je = Object.defineProperty, vt = (e, t) => {
1
+ import { f as me, c as gt, T as ge, e as ve, l as ye, j as _t, b as Q, R as be, a as we } from "./vendor-prosemirror-transform-BUjWd5Tb.js";
2
+ import { c as ke, d as Me, e as xe, j as Se, a as Ee, b as Te, f as Ae, g as Ce, h as Pe, l as $e, i as Ne, n as Re, s as ze, k as Ie, m as De, o as Oe, p as _e, q as Tt, w as Be } from "./vendor-prosemirror-commands-Bv4ChObl.js";
3
+ import { N as nt, E as je, S as j, T as P, P as $, a as O, A as Le } from "./vendor-prosemirror-state-IeimrELV.js";
4
+ import { D as He, d as Bt, F as D, N as Fe, c as ut, S as Ve } from "./vendor-prosemirror-model-DAA3avbR.js";
5
+ import { l as We, s as Ue, w as Ke } from "./vendor-prosemirror-schema-list-BNJkECdS.js";
6
+ import { E as qe } from "./vendor-prosemirror-view-DFpBkGRq.js";
7
+ import { k as Je } from "./vendor-prosemirror-keymap-CAfQyvJ7.js";
8
+ var Xe = Object.defineProperty, vt = (e, t) => {
9
9
  for (var n in t)
10
- Je(e, n, { get: t[n], enumerable: !0 });
10
+ Xe(e, n, { get: t[n], enumerable: !0 });
11
11
  };
12
12
  function rt(e) {
13
13
  const { state: t, transaction: n } = e;
@@ -48,8 +48,8 @@ var st = class {
48
48
  const { rawCommands: e, editor: t, state: n } = this, { view: r } = t, { tr: s } = n, o = this.buildProps(s);
49
49
  return Object.fromEntries(
50
50
  Object.entries(e).map(([i, a]) => [i, (...l) => {
51
- const d = a(...l)(o);
52
- return !s.getMeta("preventDispatch") && !this.hasCustomState && r.dispatch(s), d;
51
+ const u = a(...l)(o);
52
+ return !s.getMeta("preventDispatch") && !this.hasCustomState && r.dispatch(s), u;
53
53
  }])
54
54
  );
55
55
  }
@@ -60,16 +60,16 @@ var st = class {
60
60
  return () => this.createCan();
61
61
  }
62
62
  createChain(e, t = !0) {
63
- const { rawCommands: n, editor: r, state: s } = this, { view: o } = r, i = [], a = !!e, c = e || s.tr, l = () => (!a && t && !c.getMeta("preventDispatch") && !this.hasCustomState && o.dispatch(c), i.every((u) => u === !0)), d = {
63
+ const { rawCommands: n, editor: r, state: s } = this, { view: o } = r, i = [], a = !!e, c = e || s.tr, l = () => (!a && t && !c.getMeta("preventDispatch") && !this.hasCustomState && o.dispatch(c), i.every((d) => d === !0)), u = {
64
64
  ...Object.fromEntries(
65
- Object.entries(n).map(([u, p]) => [u, (...h) => {
65
+ Object.entries(n).map(([d, p]) => [d, (...h) => {
66
66
  const m = this.buildProps(c, t), g = p(...h)(m);
67
- return i.push(g), d;
67
+ return i.push(g), u;
68
68
  }])
69
69
  ),
70
70
  run: l
71
71
  };
72
- return d;
72
+ return u;
73
73
  }
74
74
  createCan(e) {
75
75
  const { rawCommands: t, state: n } = this, r = !1, s = e || n.tr, o = this.buildProps(s, r);
@@ -101,95 +101,95 @@ var st = class {
101
101
  };
102
102
  return i;
103
103
  }
104
- }, Ot = {};
105
- vt(Ot, {
106
- blur: () => Xe,
107
- clearContent: () => Ye,
104
+ }, jt = {};
105
+ vt(jt, {
106
+ blur: () => Ye,
107
+ clearContent: () => Qe,
108
108
  clearNodes: () => Ze,
109
- command: () => Qe,
110
- createParagraphNear: () => Ge,
111
- cut: () => tn,
112
- deleteCurrentNode: () => en,
113
- deleteNode: () => nn,
114
- deleteRange: () => rn,
115
- deleteSelection: () => sn,
116
- enter: () => on,
117
- exitCode: () => an,
118
- extendMarkRange: () => cn,
119
- first: () => ln,
120
- focus: () => un,
121
- forEach: () => fn,
122
- insertContent: () => pn,
123
- insertContentAt: () => gn,
124
- joinBackward: () => bn,
125
- joinDown: () => yn,
126
- joinForward: () => wn,
127
- joinItemBackward: () => kn,
128
- joinItemForward: () => Mn,
129
- joinTextblockBackward: () => xn,
130
- joinTextblockForward: () => Sn,
131
- joinUp: () => vn,
132
- keyboardShortcut: () => Tn,
133
- lift: () => An,
134
- liftEmptyBlock: () => Cn,
135
- liftListItem: () => Pn,
136
- newlineInCode: () => $n,
137
- resetAttributes: () => Nn,
138
- scrollIntoView: () => Rn,
139
- selectAll: () => zn,
140
- selectNodeBackward: () => In,
141
- selectNodeForward: () => Dn,
142
- selectParentNode: () => Bn,
143
- selectTextblockEnd: () => _n,
144
- selectTextblockStart: () => On,
145
- setContent: () => jn,
146
- setMark: () => or,
147
- setMeta: () => ir,
148
- setNode: () => ar,
149
- setNodeSelection: () => cr,
150
- setTextDirection: () => lr,
151
- setTextSelection: () => dr,
152
- sinkListItem: () => ur,
153
- splitBlock: () => fr,
154
- splitListItem: () => pr,
155
- toggleList: () => hr,
156
- toggleMark: () => mr,
157
- toggleNode: () => gr,
158
- toggleWrap: () => vr,
159
- undoInputRule: () => yr,
160
- unsetAllMarks: () => br,
161
- unsetMark: () => wr,
162
- unsetTextDirection: () => kr,
163
- updateAttributes: () => Mr,
164
- wrapIn: () => xr,
165
- wrapInList: () => Sr
109
+ command: () => Ge,
110
+ createParagraphNear: () => tn,
111
+ cut: () => en,
112
+ deleteCurrentNode: () => nn,
113
+ deleteNode: () => rn,
114
+ deleteRange: () => sn,
115
+ deleteSelection: () => on,
116
+ enter: () => an,
117
+ exitCode: () => cn,
118
+ extendMarkRange: () => ln,
119
+ first: () => dn,
120
+ focus: () => fn,
121
+ forEach: () => pn,
122
+ insertContent: () => hn,
123
+ insertContentAt: () => vn,
124
+ joinBackward: () => wn,
125
+ joinDown: () => bn,
126
+ joinForward: () => kn,
127
+ joinItemBackward: () => Mn,
128
+ joinItemForward: () => xn,
129
+ joinTextblockBackward: () => Sn,
130
+ joinTextblockForward: () => En,
131
+ joinUp: () => yn,
132
+ keyboardShortcut: () => An,
133
+ lift: () => Cn,
134
+ liftEmptyBlock: () => Pn,
135
+ liftListItem: () => $n,
136
+ newlineInCode: () => Nn,
137
+ resetAttributes: () => Rn,
138
+ scrollIntoView: () => zn,
139
+ selectAll: () => In,
140
+ selectNodeBackward: () => Dn,
141
+ selectNodeForward: () => On,
142
+ selectParentNode: () => _n,
143
+ selectTextblockEnd: () => Bn,
144
+ selectTextblockStart: () => jn,
145
+ setContent: () => Ln,
146
+ setMark: () => ar,
147
+ setMeta: () => cr,
148
+ setNode: () => lr,
149
+ setNodeSelection: () => dr,
150
+ setTextDirection: () => ur,
151
+ setTextSelection: () => fr,
152
+ sinkListItem: () => pr,
153
+ splitBlock: () => hr,
154
+ splitListItem: () => mr,
155
+ toggleList: () => gr,
156
+ toggleMark: () => vr,
157
+ toggleNode: () => yr,
158
+ toggleWrap: () => br,
159
+ undoInputRule: () => wr,
160
+ unsetAllMarks: () => kr,
161
+ unsetMark: () => Mr,
162
+ unsetTextDirection: () => xr,
163
+ updateAttributes: () => Sr,
164
+ wrapIn: () => Er,
165
+ wrapInList: () => Tr
166
166
  });
167
- var Xe = () => ({ editor: e, view: t }) => (requestAnimationFrame(() => {
167
+ var Ye = () => ({ editor: e, view: t }) => (requestAnimationFrame(() => {
168
168
  var n;
169
169
  e.isDestroyed || (t.dom.blur(), (n = window?.getSelection()) == null || n.removeAllRanges());
170
- }), !0), Ye = (e = !0) => ({ commands: t }) => t.setContent("", { emitUpdate: e }), Ze = () => ({ state: e, tr: t, dispatch: n }) => {
170
+ }), !0), Qe = (e = !0) => ({ commands: t }) => t.setContent("", { emitUpdate: e }), Ze = () => ({ state: e, tr: t, dispatch: n }) => {
171
171
  const { selection: r } = t, { ranges: s } = r;
172
172
  return n && s.forEach(({ $from: o, $to: i }) => {
173
173
  e.doc.nodesBetween(o.pos, i.pos, (a, c) => {
174
174
  if (a.type.isText)
175
175
  return;
176
- const { doc: l, mapping: d } = t, u = l.resolve(d.map(c)), p = l.resolve(d.map(c + a.nodeSize)), f = u.blockRange(p);
176
+ const { doc: l, mapping: u } = t, d = l.resolve(u.map(c)), p = l.resolve(u.map(c + a.nodeSize)), f = d.blockRange(p);
177
177
  if (!f)
178
178
  return;
179
- const h = ve(f);
179
+ const h = ye(f);
180
180
  if (a.type.isTextblock) {
181
- const { defaultType: m } = u.parent.contentMatchAt(u.index());
181
+ const { defaultType: m } = d.parent.contentMatchAt(d.index());
182
182
  t.setNodeMarkup(f.start, m);
183
183
  }
184
184
  (h || h === 0) && t.lift(f, h);
185
185
  });
186
186
  }), !0;
187
- }, Qe = (e) => (t) => e(t), Ge = () => ({ state: e, dispatch: t }) => we(e, t), tn = (e, t) => ({ editor: n, tr: r }) => {
187
+ }, Ge = (e) => (t) => e(t), tn = () => ({ state: e, dispatch: t }) => ke(e, t), en = (e, t) => ({ editor: n, tr: r }) => {
188
188
  const { state: s } = n, o = s.doc.slice(e.from, e.to);
189
189
  r.deleteRange(e.from, e.to);
190
190
  const i = r.mapping.map(t);
191
191
  return r.insert(i, o.content), r.setSelection(new P(r.doc.resolve(Math.max(i - 1, 0)))), !0;
192
- }, en = () => ({ tr: e, dispatch: t }) => {
192
+ }, nn = () => ({ tr: e, dispatch: t }) => {
193
193
  const { selection: n } = e, r = n.$anchor.node();
194
194
  if (r.content.size > 0)
195
195
  return !1;
@@ -212,7 +212,7 @@ function T(e, t) {
212
212
  }
213
213
  return e;
214
214
  }
215
- var nn = (e) => ({ tr: t, state: n, dispatch: r }) => {
215
+ var rn = (e) => ({ tr: t, state: n, dispatch: r }) => {
216
216
  const s = T(e, n.schema), o = t.selection.$anchor;
217
217
  for (let i = o.depth; i > 0; i -= 1)
218
218
  if (o.node(i).type === s) {
@@ -223,10 +223,10 @@ var nn = (e) => ({ tr: t, state: n, dispatch: r }) => {
223
223
  return !0;
224
224
  }
225
225
  return !1;
226
- }, rn = (e) => ({ tr: t, dispatch: n }) => {
226
+ }, sn = (e) => ({ tr: t, dispatch: n }) => {
227
227
  const { from: r, to: s } = e;
228
228
  return n && t.delete(r, s), !0;
229
- }, sn = () => ({ state: e, dispatch: t }) => ke(e, t), on = () => ({ commands: e }) => e.keyboardShortcut("Enter"), an = () => ({ state: e, dispatch: t }) => Me(e, t);
229
+ }, on = () => ({ state: e, dispatch: t }) => Me(e, t), an = () => ({ commands: e }) => e.keyboardShortcut("Enter"), cn = () => ({ state: e, dispatch: t }) => xe(e, t);
230
230
  function yt(e) {
231
231
  return Object.prototype.toString.call(e) === "[object RegExp]";
232
232
  }
@@ -234,7 +234,7 @@ function G(e, t, n = { strict: !0 }) {
234
234
  const r = Object.keys(t);
235
235
  return r.length ? r.every((s) => n.strict ? t[s] === e[s] : yt(t[s]) ? t[s].test(e[s]) : t[s] === e[s]) : !0;
236
236
  }
237
- function jt(e, t, n = {}) {
237
+ function Lt(e, t, n = {}) {
238
238
  return e.find((r) => r.type === t && G(
239
239
  // Only check equality for the attributes that are provided
240
240
  Object.fromEntries(Object.keys(n).map((s) => [s, r.attrs[s]])),
@@ -242,14 +242,14 @@ function jt(e, t, n = {}) {
242
242
  ));
243
243
  }
244
244
  function At(e, t, n = {}) {
245
- return !!jt(e, t, n);
245
+ return !!Lt(e, t, n);
246
246
  }
247
247
  function bt(e, t, n) {
248
248
  var r;
249
249
  if (!e || !t)
250
250
  return;
251
251
  let s = e.parent.childAfter(e.parentOffset);
252
- if ((!s.node || !s.node.marks.some((d) => d.type === t)) && (s = e.parent.childBefore(e.parentOffset)), !s.node || !s.node.marks.some((d) => d.type === t) || (n = n || ((r = s.node.marks[0]) == null ? void 0 : r.attrs), !jt([...s.node.marks], t, n)))
252
+ if ((!s.node || !s.node.marks.some((u) => u.type === t)) && (s = e.parent.childBefore(e.parentOffset)), !s.node || !s.node.marks.some((u) => u.type === t) || (n = n || ((r = s.node.marks[0]) == null ? void 0 : r.attrs), !Lt([...s.node.marks], t, n)))
253
253
  return;
254
254
  let i = s.index, a = e.start() + s.offset, c = i + 1, l = a + s.node.nodeSize;
255
255
  for (; i > 0 && At([...e.parent.child(i - 1).marks], t, n); )
@@ -269,30 +269,30 @@ function z(e, t) {
269
269
  }
270
270
  return e;
271
271
  }
272
- var cn = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
273
- const o = z(e, r.schema), { doc: i, selection: a } = n, { $from: c, from: l, to: d } = a;
272
+ var ln = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
273
+ const o = z(e, r.schema), { doc: i, selection: a } = n, { $from: c, from: l, to: u } = a;
274
274
  if (s) {
275
- const u = bt(c, o, t);
276
- if (u && u.from <= l && u.to >= d) {
277
- const p = P.create(i, u.from, u.to);
275
+ const d = bt(c, o, t);
276
+ if (d && d.from <= l && d.to >= u) {
277
+ const p = P.create(i, d.from, d.to);
278
278
  n.setSelection(p);
279
279
  }
280
280
  }
281
281
  return !0;
282
- }, ln = (e) => (t) => {
282
+ }, dn = (e) => (t) => {
283
283
  const n = typeof e == "function" ? e(t) : e;
284
284
  for (let r = 0; r < n.length; r += 1)
285
285
  if (n[r](t))
286
286
  return !0;
287
287
  return !1;
288
288
  };
289
- function Lt(e) {
289
+ function Ht(e) {
290
290
  return e instanceof P;
291
291
  }
292
- function O(e = 0, t = 0, n = 0) {
292
+ function B(e = 0, t = 0, n = 0) {
293
293
  return Math.min(Math.max(e, t), n);
294
294
  }
295
- function Ht(e, t = null) {
295
+ function Ft(e, t = null) {
296
296
  if (!t)
297
297
  return null;
298
298
  const n = j.atStart(e), r = j.atEnd(e);
@@ -301,7 +301,7 @@ function Ht(e, t = null) {
301
301
  if (t === "end")
302
302
  return r;
303
303
  const s = n.from, o = r.to;
304
- return t === "all" ? P.create(e, O(0, s, o), O(e.content.size, s, o)) : P.create(e, O(t, s, o), O(t, s, o));
304
+ return t === "all" ? P.create(e, B(0, s, o), B(e.content.size, s, o)) : P.create(e, B(t, s, o), B(t, s, o));
305
305
  }
306
306
  function Ct() {
307
307
  return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
@@ -310,16 +310,16 @@ function tt() {
310
310
  return ["iPad Simulator", "iPhone Simulator", "iPod Simulator", "iPad", "iPhone", "iPod"].includes(navigator.platform) || // iPad on iOS 13 detection
311
311
  navigator.userAgent.includes("Mac") && "ontouchend" in document;
312
312
  }
313
- function dn() {
313
+ function un() {
314
314
  return typeof navigator < "u" ? /^((?!chrome|android).)*safari/i.test(navigator.userAgent) : !1;
315
315
  }
316
- var un = (e = null, t = {}) => ({ editor: n, view: r, tr: s, dispatch: o }) => {
316
+ var fn = (e = null, t = {}) => ({ editor: n, view: r, tr: s, dispatch: o }) => {
317
317
  t = {
318
318
  scrollIntoView: !0,
319
319
  ...t
320
320
  };
321
321
  const i = () => {
322
- (tt() || Ct()) && r.dom.focus(), dn() && !tt() && !Ct() && r.dom.focus({ preventScroll: !0 }), requestAnimationFrame(() => {
322
+ (tt() || Ct()) && r.dom.focus(), un() && !tt() && !Ct() && r.dom.focus({ preventScroll: !0 }), requestAnimationFrame(() => {
323
323
  n.isDestroyed || (r.focus(), t?.scrollIntoView && n.commands.scrollIntoView());
324
324
  });
325
325
  };
@@ -329,15 +329,15 @@ var un = (e = null, t = {}) => ({ editor: n, view: r, tr: s, dispatch: o }) => {
329
329
  } catch {
330
330
  return !1;
331
331
  }
332
- if (o && e === null && !Lt(n.state.selection))
332
+ if (o && e === null && !Ht(n.state.selection))
333
333
  return i(), !0;
334
- const a = Ht(s.doc, e) || n.state.selection, c = n.state.selection.eq(a);
334
+ const a = Ft(s.doc, e) || n.state.selection, c = n.state.selection.eq(a);
335
335
  return o && (c || s.setSelection(a), c && s.storedMarks && s.setStoredMarks(s.storedMarks), i()), !0;
336
- }, fn = (e, t) => (n) => e.every((r, s) => t(r, { ...n, index: s })), pn = (e, t) => ({ tr: n, commands: r }) => r.insertContentAt({ from: n.selection.from, to: n.selection.to }, e, t), Ft = (e) => {
336
+ }, pn = (e, t) => (n) => e.every((r, s) => t(r, { ...n, index: s })), hn = (e, t) => ({ tr: n, commands: r }) => r.insertContentAt({ from: n.selection.from, to: n.selection.to }, e, t), Vt = (e) => {
337
337
  const t = e.childNodes;
338
338
  for (let n = t.length - 1; n >= 0; n -= 1) {
339
339
  const r = t[n];
340
- r.nodeType === 3 && r.nodeValue && /^(\n\s\s|\n)$/.test(r.nodeValue) ? e.removeChild(r) : r.nodeType === 1 && Ft(r);
340
+ r.nodeType === 3 && r.nodeValue && /^(\n\s\s|\n)$/.test(r.nodeValue) ? e.removeChild(r) : r.nodeType === 1 && Vt(r);
341
341
  }
342
342
  return e;
343
343
  };
@@ -345,10 +345,10 @@ function q(e) {
345
345
  if (typeof window > "u")
346
346
  throw new Error("[tiptap error]: there is no window object available, so this function cannot be used");
347
347
  const t = `<body>${e}</body>`, n = new window.DOMParser().parseFromString(t, "text/html").body;
348
- return Ft(n);
348
+ return Vt(n);
349
349
  }
350
350
  function W(e, t, n) {
351
- if (e instanceof He || e instanceof D)
351
+ if (e instanceof Fe || e instanceof D)
352
352
  return e;
353
353
  n = {
354
354
  slice: !0,
@@ -370,7 +370,7 @@ function W(e, t, n) {
370
370
  if (s) {
371
371
  if (n.errorOnInvalidContent) {
372
372
  let i = !1, a = "";
373
- const c = new _t({
373
+ const c = new Bt({
374
374
  topNode: t.spec.topNode,
375
375
  marks: t.spec.marks,
376
376
  // Prosemirror's schemas are executed such that: the last to execute, matches last
@@ -398,20 +398,20 @@ function W(e, t, n) {
398
398
  }
399
399
  return W("", t, n);
400
400
  }
401
- function hn(e, t, n) {
401
+ function mn(e, t, n) {
402
402
  const r = e.steps.length - 1;
403
403
  if (r < t)
404
404
  return;
405
405
  const s = e.steps[r];
406
- if (!(s instanceof ye || s instanceof be))
406
+ if (!(s instanceof be || s instanceof we))
407
407
  return;
408
408
  const o = e.mapping.maps[r];
409
409
  let i = 0;
410
- o.forEach((a, c, l, d) => {
411
- i === 0 && (i = d);
410
+ o.forEach((a, c, l, u) => {
411
+ i === 0 && (i = u);
412
412
  }), e.setSelection(j.near(e.doc.resolve(i), n));
413
413
  }
414
- var mn = (e) => !("type" in e), gn = (e, t, n) => ({ tr: r, dispatch: s, editor: o }) => {
414
+ var gn = (e) => !("type" in e), vn = (e, t, n) => ({ tr: r, dispatch: s, editor: o }) => {
415
415
  var i;
416
416
  if (s) {
417
417
  n = {
@@ -451,12 +451,12 @@ var mn = (e) => !("type" in e), gn = (e, t, n) => ({ tr: r, dispatch: s, editor:
451
451
  } catch (g) {
452
452
  return c(g), !1;
453
453
  }
454
- let { from: d, to: u } = typeof e == "number" ? { from: e, to: e } : { from: e.from, to: e.to }, p = !0, f = !0;
455
- if ((mn(a) ? a : [a]).forEach((g) => {
454
+ let { from: u, to: d } = typeof e == "number" ? { from: e, to: e } : { from: e.from, to: e.to }, p = !0, f = !0;
455
+ if ((gn(a) ? a : [a]).forEach((g) => {
456
456
  g.check(), p = p ? g.isText && g.marks.length === 0 : !1, f = f ? g.isBlock : !1;
457
- }), d === u && f) {
458
- const { parent: g } = r.doc.resolve(d);
459
- g.isTextblock && !g.type.spec.code && !g.childCount && (d -= 1, u += 1);
457
+ }), u === d && f) {
458
+ const { parent: g } = r.doc.resolve(u);
459
+ g.isTextblock && !g.type.spec.code && !g.childCount && (u -= 1, d += 1);
460
460
  }
461
461
  let m;
462
462
  if (p) {
@@ -468,34 +468,34 @@ var mn = (e) => !("type" in e), gn = (e, t, n) => ({ tr: r, dispatch: s, editor:
468
468
  v.text && (g += v.text);
469
469
  }), m = g;
470
470
  } else typeof t == "object" && t && t.text ? m = t.text : m = t;
471
- r.insertText(m, d, u);
471
+ r.insertText(m, u, d);
472
472
  } else {
473
473
  m = a;
474
- const g = r.doc.resolve(d), v = g.node(), b = g.parentOffset === 0, k = v.isText || v.isTextblock, M = v.content.size > 0;
475
- b && k && M && (d = Math.max(0, d - 1)), r.replaceWith(d, u, m);
474
+ const g = r.doc.resolve(u), v = g.node(), b = g.parentOffset === 0, k = v.isText || v.isTextblock, M = v.content.size > 0;
475
+ b && k && M && (u = Math.max(0, u - 1)), r.replaceWith(u, d, m);
476
476
  }
477
- n.updateSelection && hn(r, r.steps.length - 1, -1), n.applyInputRules && r.setMeta("applyInputRules", { from: d, text: m }), n.applyPasteRules && r.setMeta("applyPasteRules", { from: d, text: m });
477
+ n.updateSelection && mn(r, r.steps.length - 1, -1), n.applyInputRules && r.setMeta("applyInputRules", { from: u, text: m }), n.applyPasteRules && r.setMeta("applyPasteRules", { from: u, text: m });
478
478
  }
479
479
  return !0;
480
- }, vn = () => ({ state: e, dispatch: t }) => xe(e, t), yn = () => ({ state: e, dispatch: t }) => Se(e, t), bn = () => ({ state: e, dispatch: t }) => Ee(e, t), wn = () => ({ state: e, dispatch: t }) => Te(e, t), kn = () => ({ state: e, dispatch: t, tr: n }) => {
480
+ }, yn = () => ({ state: e, dispatch: t }) => Se(e, t), bn = () => ({ state: e, dispatch: t }) => Ee(e, t), wn = () => ({ state: e, dispatch: t }) => Te(e, t), kn = () => ({ state: e, dispatch: t }) => Ae(e, t), Mn = () => ({ state: e, dispatch: t, tr: n }) => {
481
481
  try {
482
- const r = Bt(e.doc, e.selection.$from.pos, -1);
482
+ const r = _t(e.doc, e.selection.$from.pos, -1);
483
483
  return r == null ? !1 : (n.join(r, 2), t && t(n), !0);
484
484
  } catch {
485
485
  return !1;
486
486
  }
487
- }, Mn = () => ({ state: e, dispatch: t, tr: n }) => {
487
+ }, xn = () => ({ state: e, dispatch: t, tr: n }) => {
488
488
  try {
489
- const r = Bt(e.doc, e.selection.$from.pos, 1);
489
+ const r = _t(e.doc, e.selection.$from.pos, 1);
490
490
  return r == null ? !1 : (n.join(r, 2), t && t(n), !0);
491
491
  } catch {
492
492
  return !1;
493
493
  }
494
- }, xn = () => ({ state: e, dispatch: t }) => Ae(e, t), Sn = () => ({ state: e, dispatch: t }) => Ce(e, t);
495
- function Vt() {
494
+ }, Sn = () => ({ state: e, dispatch: t }) => Ce(e, t), En = () => ({ state: e, dispatch: t }) => Pe(e, t);
495
+ function Wt() {
496
496
  return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1;
497
497
  }
498
- function En(e) {
498
+ function Tn(e) {
499
499
  const t = e.split(/-(?!$)/);
500
500
  let n = t[t.length - 1];
501
501
  n === "Space" && (n = " ");
@@ -511,14 +511,14 @@ function En(e) {
511
511
  else if (/^s(hift)?$/i.test(c))
512
512
  o = !0;
513
513
  else if (/^mod$/i.test(c))
514
- tt() || Vt() ? i = !0 : s = !0;
514
+ tt() || Wt() ? i = !0 : s = !0;
515
515
  else
516
516
  throw new Error(`Unrecognized modifier name: ${c}`);
517
517
  }
518
518
  return r && (n = `Alt-${n}`), s && (n = `Ctrl-${n}`), i && (n = `Meta-${n}`), o && (n = `Shift-${n}`), n;
519
519
  }
520
- var Tn = (e) => ({ editor: t, view: n, tr: r, dispatch: s }) => {
521
- const o = En(e).split(/-(?!$)/), i = o.find((l) => !["Alt", "Ctrl", "Meta", "Shift"].includes(l)), a = new KeyboardEvent("keydown", {
520
+ var An = (e) => ({ editor: t, view: n, tr: r, dispatch: s }) => {
521
+ const o = Tn(e).split(/-(?!$)/), i = o.find((l) => !["Alt", "Ctrl", "Meta", "Shift"].includes(l)), a = new KeyboardEvent("keydown", {
522
522
  key: i === "Space" ? " " : i,
523
523
  altKey: o.includes("Alt"),
524
524
  ctrlKey: o.includes("Ctrl"),
@@ -530,32 +530,32 @@ var Tn = (e) => ({ editor: t, view: n, tr: r, dispatch: s }) => {
530
530
  n.someProp("handleKeyDown", (l) => l(n, a));
531
531
  });
532
532
  return c?.steps.forEach((l) => {
533
- const d = l.map(r.mapping);
534
- d && s && r.maybeStep(d);
533
+ const u = l.map(r.mapping);
534
+ u && s && r.maybeStep(u);
535
535
  }), !0;
536
536
  };
537
537
  function U(e, t, n = {}) {
538
538
  const { from: r, to: s, empty: o } = e.selection, i = t ? T(t, e.schema) : null, a = [];
539
- e.doc.nodesBetween(r, s, (u, p) => {
540
- if (u.isText)
539
+ e.doc.nodesBetween(r, s, (d, p) => {
540
+ if (d.isText)
541
541
  return;
542
- const f = Math.max(r, p), h = Math.min(s, p + u.nodeSize);
542
+ const f = Math.max(r, p), h = Math.min(s, p + d.nodeSize);
543
543
  a.push({
544
- node: u,
544
+ node: d,
545
545
  from: f,
546
546
  to: h
547
547
  });
548
548
  });
549
- const c = s - r, l = a.filter((u) => i ? i.name === u.node.type.name : !0).filter((u) => G(u.node.attrs, n, { strict: !1 }));
550
- return o ? !!l.length : l.reduce((u, p) => u + p.to - p.from, 0) >= c;
549
+ const c = s - r, l = a.filter((d) => i ? i.name === d.node.type.name : !0).filter((d) => G(d.node.attrs, n, { strict: !1 }));
550
+ return o ? !!l.length : l.reduce((d, p) => d + p.to - p.from, 0) >= c;
551
551
  }
552
- var An = (e, t = {}) => ({ state: n, dispatch: r }) => {
552
+ var Cn = (e, t = {}) => ({ state: n, dispatch: r }) => {
553
553
  const s = T(e, n.schema);
554
- return U(n, s, t) ? Pe(n, r) : !1;
555
- }, Cn = () => ({ state: e, dispatch: t }) => $e(e, t), Pn = (e) => ({ state: t, dispatch: n }) => {
554
+ return U(n, s, t) ? $e(n, r) : !1;
555
+ }, Pn = () => ({ state: e, dispatch: t }) => Ne(e, t), $n = (e) => ({ state: t, dispatch: n }) => {
556
556
  const r = T(e, t.schema);
557
- return Ve(r)(t, n);
558
- }, $n = () => ({ state: e, dispatch: t }) => Ne(e, t);
557
+ return We(r)(t, n);
558
+ }, Nn = () => ({ state: e, dispatch: t }) => Re(e, t);
559
559
  function ot(e, t) {
560
560
  return t.nodes[e] ? "node" : t.marks[e] ? "mark" : null;
561
561
  }
@@ -563,7 +563,7 @@ function Pt(e, t) {
563
563
  const n = typeof t == "string" ? [t] : t;
564
564
  return Object.keys(e).reduce((r, s) => (n.includes(s) || (r[s] = e[s]), r), {});
565
565
  }
566
- var Nn = (e, t) => ({ tr: n, state: r, dispatch: s }) => {
566
+ var Rn = (e, t) => ({ tr: n, state: r, dispatch: s }) => {
567
567
  let o = null, i = null;
568
568
  const a = ot(
569
569
  typeof e == "string" ? e : e.name,
@@ -574,19 +574,19 @@ var Nn = (e, t) => ({ tr: n, state: r, dispatch: s }) => {
574
574
  a === "node" && (o = T(e, r.schema)), a === "mark" && (i = z(e, r.schema));
575
575
  let c = !1;
576
576
  return n.selection.ranges.forEach((l) => {
577
- r.doc.nodesBetween(l.$from.pos, l.$to.pos, (d, u) => {
578
- o && o === d.type && (c = !0, s && n.setNodeMarkup(u, void 0, Pt(d.attrs, t))), i && d.marks.length && d.marks.forEach((p) => {
579
- i === p.type && (c = !0, s && n.addMark(u, u + d.nodeSize, i.create(Pt(p.attrs, t))));
577
+ r.doc.nodesBetween(l.$from.pos, l.$to.pos, (u, d) => {
578
+ o && o === u.type && (c = !0, s && n.setNodeMarkup(d, void 0, Pt(u.attrs, t))), i && u.marks.length && u.marks.forEach((p) => {
579
+ i === p.type && (c = !0, s && n.addMark(d, d + u.nodeSize, i.create(Pt(p.attrs, t))));
580
580
  });
581
581
  });
582
582
  }), c;
583
- }, Rn = () => ({ tr: e, dispatch: t }) => (t && e.scrollIntoView(), !0), zn = () => ({ tr: e, dispatch: t }) => {
583
+ }, zn = () => ({ tr: e, dispatch: t }) => (t && e.scrollIntoView(), !0), In = () => ({ tr: e, dispatch: t }) => {
584
584
  if (t) {
585
- const n = new je(e.doc);
585
+ const n = new Le(e.doc);
586
586
  e.setSelection(n);
587
587
  }
588
588
  return !0;
589
- }, In = () => ({ state: e, dispatch: t }) => Re(e, t), Dn = () => ({ state: e, dispatch: t }) => ze(e, t), Bn = () => ({ state: e, dispatch: t }) => Ie(e, t), _n = () => ({ state: e, dispatch: t }) => De(e, t), On = () => ({ state: e, dispatch: t }) => Be(e, t);
589
+ }, Dn = () => ({ state: e, dispatch: t }) => ze(e, t), On = () => ({ state: e, dispatch: t }) => Ie(e, t), _n = () => ({ state: e, dispatch: t }) => De(e, t), Bn = () => ({ state: e, dispatch: t }) => Oe(e, t), jn = () => ({ state: e, dispatch: t }) => _e(e, t);
590
590
  function ht(e, t, n = {}, r = {}) {
591
591
  return W(e, t, {
592
592
  slice: !1,
@@ -594,7 +594,7 @@ function ht(e, t, n = {}, r = {}) {
594
594
  errorOnInvalidContent: r.errorOnInvalidContent
595
595
  });
596
596
  }
597
- var jn = (e, { errorOnInvalidContent: t, emitUpdate: n = !0, parseOptions: r = {} } = {}) => ({ editor: s, tr: o, dispatch: i, commands: a }) => {
597
+ var Ln = (e, { errorOnInvalidContent: t, emitUpdate: n = !0, parseOptions: r = {} } = {}) => ({ editor: s, tr: o, dispatch: i, commands: a }) => {
598
598
  const { doc: c } = o;
599
599
  if (r.preserveWhitespace !== "full") {
600
600
  const l = ht(e, s.schema, r, {
@@ -607,7 +607,7 @@ var jn = (e, { errorOnInvalidContent: t, emitUpdate: n = !0, parseOptions: r = {
607
607
  errorOnInvalidContent: t ?? s.options.enableContentCheck
608
608
  });
609
609
  };
610
- function Wt(e, t) {
610
+ function Ut(e, t) {
611
611
  const n = z(t, e.schema), { from: r, to: s, empty: o } = e.selection, i = [];
612
612
  o ? (e.storedMarks && i.push(...e.storedMarks), i.push(...e.selection.$head.marks())) : e.doc.nodesBetween(r, s, (c) => {
613
613
  i.push(...c.marks);
@@ -615,15 +615,15 @@ function Wt(e, t) {
615
615
  const a = i.find((c) => c.type.name === n.name);
616
616
  return a ? { ...a.attrs } : {};
617
617
  }
618
- function Ln(e, t) {
619
- const n = new me(e);
618
+ function Hn(e, t) {
619
+ const n = new ge(e);
620
620
  return t.forEach((r) => {
621
621
  r.steps.forEach((s) => {
622
622
  n.step(s);
623
623
  });
624
624
  }), n;
625
625
  }
626
- function Hn(e) {
626
+ function Fn(e) {
627
627
  for (let t = 0; t < e.edgeCount; t += 1) {
628
628
  const { type: n } = e.edge(t);
629
629
  if (n.isTextblock && !n.hasRequiredAttrs())
@@ -631,7 +631,7 @@ function Hn(e) {
631
631
  }
632
632
  return null;
633
633
  }
634
- function rs(e, t, n) {
634
+ function os(e, t, n) {
635
635
  const r = [];
636
636
  return e.nodesBetween(t.from, t.to, (s, o) => {
637
637
  n(s) && r.push({
@@ -640,7 +640,7 @@ function rs(e, t, n) {
640
640
  });
641
641
  }), r;
642
642
  }
643
- function Fn(e, t) {
643
+ function Vn(e, t) {
644
644
  for (let n = e.depth; n > 0; n -= 1) {
645
645
  const r = e.node(n);
646
646
  if (t(r))
@@ -653,7 +653,7 @@ function Fn(e, t) {
653
653
  }
654
654
  }
655
655
  function it(e) {
656
- return (t) => Fn(t.$from, e);
656
+ return (t) => Vn(t.$from, e);
657
657
  }
658
658
  function y(e, t, n) {
659
659
  return e.config[t] === void 0 && e.parent ? y(e.parent, t, n) : typeof e.config[t] == "function" ? e.config[t].bind({
@@ -672,16 +672,16 @@ function wt(e) {
672
672
  }).flat(10);
673
673
  }
674
674
  function kt(e, t) {
675
- const n = Le.fromSchema(t).serializeFragment(e), s = document.implementation.createHTMLDocument().createElement("div");
675
+ const n = He.fromSchema(t).serializeFragment(e), s = document.implementation.createHTMLDocument().createElement("div");
676
676
  return s.appendChild(n), s.innerHTML;
677
677
  }
678
- function Ut(e) {
678
+ function Kt(e) {
679
679
  return typeof e == "function";
680
680
  }
681
681
  function x(e, t = void 0, ...n) {
682
- return Ut(e) ? t ? e.bind(t)(...n) : e(...n) : e;
682
+ return Kt(e) ? t ? e.bind(t)(...n) : e(...n) : e;
683
683
  }
684
- function Vn(e = {}) {
684
+ function Wn(e = {}) {
685
685
  return Object.keys(e).length === 0 && e.constructor === Object;
686
686
  }
687
687
  function L(e) {
@@ -692,7 +692,7 @@ function L(e) {
692
692
  markExtensions: r
693
693
  };
694
694
  }
695
- function Kt(e) {
695
+ function qt(e) {
696
696
  const t = [], { nodeExtensions: n, markExtensions: r } = L(e), s = [...n, ...r], o = {
697
697
  default: null,
698
698
  validate: void 0,
@@ -703,19 +703,19 @@ function Kt(e) {
703
703
  isRequired: !1
704
704
  }, i = n.filter((l) => l.name !== "text").map((l) => l.name), a = r.map((l) => l.name), c = [...i, ...a];
705
705
  return e.forEach((l) => {
706
- const d = {
706
+ const u = {
707
707
  name: l.name,
708
708
  options: l.options,
709
709
  storage: l.storage,
710
710
  extensions: s
711
- }, u = y(
711
+ }, d = y(
712
712
  l,
713
713
  "addGlobalAttributes",
714
- d
714
+ u
715
715
  );
716
- if (!u)
716
+ if (!d)
717
717
  return;
718
- u().forEach((f) => {
718
+ d().forEach((f) => {
719
719
  let h;
720
720
  Array.isArray(f.types) ? h = f.types : f.types === "*" ? h = c : f.types === "nodes" ? h = i : f.types === "marks" ? h = a : h = [], h.forEach((m) => {
721
721
  Object.entries(f.attributes).forEach(([g, v]) => {
@@ -731,18 +731,18 @@ function Kt(e) {
731
731
  });
732
732
  });
733
733
  }), s.forEach((l) => {
734
- const d = {
734
+ const u = {
735
735
  name: l.name,
736
736
  options: l.options,
737
737
  storage: l.storage
738
- }, u = y(
738
+ }, d = y(
739
739
  l,
740
740
  "addAttributes",
741
- d
741
+ u
742
742
  );
743
- if (!u)
743
+ if (!d)
744
744
  return;
745
- const p = u();
745
+ const p = d();
746
746
  Object.entries(p).forEach(([f, h]) => {
747
747
  const m = {
748
748
  ...o,
@@ -756,7 +756,50 @@ function Kt(e) {
756
756
  });
757
757
  }), t;
758
758
  }
759
- function Wn(...e) {
759
+ function Un(e) {
760
+ const t = [];
761
+ let n = "", r = !1, s = !1, o = 0;
762
+ const i = e.length;
763
+ for (let a = 0; a < i; a += 1) {
764
+ const c = e[a];
765
+ if (c === "'" && !s) {
766
+ r = !r, n += c;
767
+ continue;
768
+ }
769
+ if (c === '"' && !r) {
770
+ s = !s, n += c;
771
+ continue;
772
+ }
773
+ if (!r && !s) {
774
+ if (c === "(") {
775
+ o += 1, n += c;
776
+ continue;
777
+ }
778
+ if (c === ")" && o > 0) {
779
+ o -= 1, n += c;
780
+ continue;
781
+ }
782
+ if (c === ";" && o === 0) {
783
+ t.push(n), n = "";
784
+ continue;
785
+ }
786
+ }
787
+ n += c;
788
+ }
789
+ return n && t.push(n), t;
790
+ }
791
+ function $t(e) {
792
+ const t = [], n = Un(e || ""), r = n.length;
793
+ for (let s = 0; s < r; s += 1) {
794
+ const o = n[s], i = o.indexOf(":");
795
+ if (i === -1)
796
+ continue;
797
+ const a = o.slice(0, i).trim(), c = o.slice(i + 1).trim();
798
+ a && c && t.push([a, c]);
799
+ }
800
+ return t;
801
+ }
802
+ function Kn(...e) {
760
803
  return e.filter((t) => !!t).reduce((t, n) => {
761
804
  const r = { ...t };
762
805
  return Object.entries(n).forEach(([s, o]) => {
@@ -765,17 +808,11 @@ function Wn(...e) {
765
808
  return;
766
809
  }
767
810
  if (s === "class") {
768
- const a = o ? String(o).split(" ") : [], c = r[s] ? r[s].split(" ") : [], l = a.filter((d) => !c.includes(d));
811
+ const a = o ? String(o).split(" ") : [], c = r[s] ? r[s].split(" ") : [], l = a.filter((u) => !c.includes(u));
769
812
  r[s] = [...c, ...l].join(" ");
770
813
  } else if (s === "style") {
771
- const a = o ? o.split(";").map((d) => d.trim()).filter(Boolean) : [], c = r[s] ? r[s].split(";").map((d) => d.trim()).filter(Boolean) : [], l = /* @__PURE__ */ new Map();
772
- c.forEach((d) => {
773
- const [u, p] = d.split(":").map((f) => f.trim());
774
- l.set(u, p);
775
- }), a.forEach((d) => {
776
- const [u, p] = d.split(":").map((f) => f.trim());
777
- l.set(u, p);
778
- }), r[s] = Array.from(l.entries()).map(([d, u]) => `${d}: ${u}`).join("; ");
814
+ const a = new Map([...$t(r[s]), ...$t(o)]);
815
+ r[s] = Array.from(a.entries()).map(([c, l]) => `${c}: ${l}`).join("; ");
779
816
  } else
780
817
  r[s] = o;
781
818
  }), r;
@@ -784,12 +821,12 @@ function Wn(...e) {
784
821
  function et(e, t) {
785
822
  return t.filter((n) => n.type === e.type.name).filter((n) => n.attribute.rendered).map((n) => n.attribute.renderHTML ? n.attribute.renderHTML(e.attrs) || {} : {
786
823
  [n.name]: e.attrs[n.name]
787
- }).reduce((n, r) => Wn(n, r), {});
824
+ }).reduce((n, r) => Kn(n, r), {});
788
825
  }
789
- function Un(e) {
826
+ function qn(e) {
790
827
  return typeof e != "string" ? e : e.match(/^[+-]?(?:\d*\.)?\d+$/) ? Number(e) : e === "true" ? !0 : e === "false" ? !1 : e;
791
828
  }
792
- function $t(e, t) {
829
+ function Nt(e, t) {
793
830
  return "style" in e ? e : {
794
831
  ...e,
795
832
  getAttrs: (n) => {
@@ -797,7 +834,7 @@ function $t(e, t) {
797
834
  if (r === !1)
798
835
  return !1;
799
836
  const s = t.reduce((o, i) => {
800
- const a = i.attribute.parseHTML ? i.attribute.parseHTML(n) : Un(n.getAttribute(i.name));
837
+ const a = i.attribute.parseHTML ? i.attribute.parseHTML(n) : qn(n.getAttribute(i.name));
801
838
  return a == null ? o : {
802
839
  ...o,
803
840
  [i.name]: a
@@ -807,100 +844,100 @@ function $t(e, t) {
807
844
  }
808
845
  };
809
846
  }
810
- function Nt(e) {
847
+ function Rt(e) {
811
848
  return Object.fromEntries(
812
849
  // @ts-ignore
813
- Object.entries(e).filter(([t, n]) => t === "attrs" && Vn(n) ? !1 : n != null)
850
+ Object.entries(e).filter(([t, n]) => t === "attrs" && Wn(n) ? !1 : n != null)
814
851
  );
815
852
  }
816
- function Rt(e) {
853
+ function zt(e) {
817
854
  var t, n;
818
855
  const r = {};
819
856
  return !((t = e?.attribute) != null && t.isRequired) && "default" in (e?.attribute || {}) && (r.default = e.attribute.default), ((n = e?.attribute) == null ? void 0 : n.validate) !== void 0 && (r.validate = e.attribute.validate), [e.name, r];
820
857
  }
821
- function Kn(e, t) {
858
+ function Jn(e, t) {
822
859
  var n;
823
- const r = Kt(e), { nodeExtensions: s, markExtensions: o } = L(e), i = (n = s.find((l) => y(l, "topNode"))) == null ? void 0 : n.name, a = Object.fromEntries(
860
+ const r = qt(e), { nodeExtensions: s, markExtensions: o } = L(e), i = (n = s.find((l) => y(l, "topNode"))) == null ? void 0 : n.name, a = Object.fromEntries(
824
861
  s.map((l) => {
825
- const d = r.filter((v) => v.type === l.name), u = {
862
+ const u = r.filter((v) => v.type === l.name), d = {
826
863
  name: l.name,
827
864
  options: l.options,
828
865
  storage: l.storage,
829
866
  editor: t
830
867
  }, p = e.reduce((v, b) => {
831
- const k = y(b, "extendNodeSchema", u);
868
+ const k = y(b, "extendNodeSchema", d);
832
869
  return {
833
870
  ...v,
834
871
  ...k ? k(l) : {}
835
872
  };
836
- }, {}), f = Nt({
873
+ }, {}), f = Rt({
837
874
  ...p,
838
- content: x(y(l, "content", u)),
839
- marks: x(y(l, "marks", u)),
840
- group: x(y(l, "group", u)),
841
- inline: x(y(l, "inline", u)),
842
- atom: x(y(l, "atom", u)),
843
- selectable: x(y(l, "selectable", u)),
844
- draggable: x(y(l, "draggable", u)),
845
- code: x(y(l, "code", u)),
846
- whitespace: x(y(l, "whitespace", u)),
875
+ content: x(y(l, "content", d)),
876
+ marks: x(y(l, "marks", d)),
877
+ group: x(y(l, "group", d)),
878
+ inline: x(y(l, "inline", d)),
879
+ atom: x(y(l, "atom", d)),
880
+ selectable: x(y(l, "selectable", d)),
881
+ draggable: x(y(l, "draggable", d)),
882
+ code: x(y(l, "code", d)),
883
+ whitespace: x(y(l, "whitespace", d)),
847
884
  linebreakReplacement: x(
848
- y(l, "linebreakReplacement", u)
885
+ y(l, "linebreakReplacement", d)
849
886
  ),
850
- defining: x(y(l, "defining", u)),
851
- isolating: x(y(l, "isolating", u)),
852
- attrs: Object.fromEntries(d.map(Rt))
853
- }), h = x(y(l, "parseHTML", u));
887
+ defining: x(y(l, "defining", d)),
888
+ isolating: x(y(l, "isolating", d)),
889
+ attrs: Object.fromEntries(u.map(zt))
890
+ }), h = x(y(l, "parseHTML", d));
854
891
  h && (f.parseDOM = h.map(
855
- (v) => $t(v, d)
892
+ (v) => Nt(v, u)
856
893
  ));
857
- const m = y(l, "renderHTML", u);
894
+ const m = y(l, "renderHTML", d);
858
895
  m && (f.toDOM = (v) => m({
859
896
  node: v,
860
- HTMLAttributes: et(v, d)
897
+ HTMLAttributes: et(v, u)
861
898
  }));
862
- const g = y(l, "renderText", u);
899
+ const g = y(l, "renderText", d);
863
900
  return g && (f.toText = g), [l.name, f];
864
901
  })
865
902
  ), c = Object.fromEntries(
866
903
  o.map((l) => {
867
- const d = r.filter((g) => g.type === l.name), u = {
904
+ const u = r.filter((g) => g.type === l.name), d = {
868
905
  name: l.name,
869
906
  options: l.options,
870
907
  storage: l.storage,
871
908
  editor: t
872
909
  }, p = e.reduce((g, v) => {
873
- const b = y(v, "extendMarkSchema", u);
910
+ const b = y(v, "extendMarkSchema", d);
874
911
  return {
875
912
  ...g,
876
913
  ...b ? b(l) : {}
877
914
  };
878
- }, {}), f = Nt({
915
+ }, {}), f = Rt({
879
916
  ...p,
880
- inclusive: x(y(l, "inclusive", u)),
881
- excludes: x(y(l, "excludes", u)),
882
- group: x(y(l, "group", u)),
883
- spanning: x(y(l, "spanning", u)),
884
- code: x(y(l, "code", u)),
885
- attrs: Object.fromEntries(d.map(Rt))
886
- }), h = x(y(l, "parseHTML", u));
917
+ inclusive: x(y(l, "inclusive", d)),
918
+ excludes: x(y(l, "excludes", d)),
919
+ group: x(y(l, "group", d)),
920
+ spanning: x(y(l, "spanning", d)),
921
+ code: x(y(l, "code", d)),
922
+ attrs: Object.fromEntries(u.map(zt))
923
+ }), h = x(y(l, "parseHTML", d));
887
924
  h && (f.parseDOM = h.map(
888
- (g) => $t(g, d)
925
+ (g) => Nt(g, u)
889
926
  ));
890
- const m = y(l, "renderHTML", u);
927
+ const m = y(l, "renderHTML", d);
891
928
  return m && (f.toDOM = (g) => m({
892
929
  mark: g,
893
- HTMLAttributes: et(g, d)
930
+ HTMLAttributes: et(g, u)
894
931
  })), [l.name, f];
895
932
  })
896
933
  );
897
- return new _t({
934
+ return new Bt({
898
935
  topNode: i,
899
936
  nodes: a,
900
937
  marks: c
901
938
  });
902
939
  }
903
- function qn(e) {
940
+ function Xn(e) {
904
941
  const t = e.filter((n, r) => e.indexOf(n) !== r);
905
942
  return Array.from(new Set(t));
906
943
  }
@@ -910,45 +947,45 @@ function V(e) {
910
947
  return s > o ? -1 : s < o ? 1 : 0;
911
948
  });
912
949
  }
913
- function qt(e) {
914
- const t = V(wt(e)), n = qn(t.map((r) => r.name));
950
+ function Jt(e) {
951
+ const t = V(wt(e)), n = Xn(t.map((r) => r.name));
915
952
  return n.length && console.warn(
916
953
  `[tiptap warn]: Duplicate extension names found: [${n.map((r) => `'${r}'`).join(", ")}]. This can lead to issues.`
917
954
  ), t;
918
955
  }
919
- function Jt(e, t, n) {
956
+ function Xt(e, t, n) {
920
957
  const { from: r, to: s } = t, { blockSeparator: o = `
921
958
 
922
959
  `, textSerializers: i = {} } = n || {};
923
960
  let a = "";
924
- return e.nodesBetween(r, s, (c, l, d, u) => {
961
+ return e.nodesBetween(r, s, (c, l, u, d) => {
925
962
  var p;
926
963
  c.isBlock && l > r && (a += o);
927
964
  const f = i?.[c.type.name];
928
965
  if (f)
929
- return d && (a += f({
966
+ return u && (a += f({
930
967
  node: c,
931
968
  pos: l,
932
- parent: d,
933
- index: u,
969
+ parent: u,
970
+ index: d,
934
971
  range: t
935
972
  })), !1;
936
973
  c.isText && (a += (p = c?.text) == null ? void 0 : p.slice(Math.max(r, l) - l, s - l));
937
974
  }), a;
938
975
  }
939
- function Jn(e, t) {
976
+ function Yn(e, t) {
940
977
  const n = {
941
978
  from: 0,
942
979
  to: e.content.size
943
980
  };
944
- return Jt(e, n, t);
981
+ return Xt(e, n, t);
945
982
  }
946
- function Xt(e) {
983
+ function Yt(e) {
947
984
  return Object.fromEntries(
948
985
  Object.entries(e.nodes).filter(([, t]) => t.spec.toText).map(([t, n]) => [t, n.spec.toText])
949
986
  );
950
987
  }
951
- function Xn(e, t) {
988
+ function Qn(e, t) {
952
989
  const n = T(t, e.schema), { from: r, to: s } = e.selection, o = [];
953
990
  e.doc.nodesBetween(r, s, (a) => {
954
991
  o.push(a);
@@ -956,25 +993,25 @@ function Xn(e, t) {
956
993
  const i = o.reverse().find((a) => a.type.name === n.name);
957
994
  return i ? { ...i.attrs } : {};
958
995
  }
959
- function Yn(e, t) {
996
+ function Zn(e, t) {
960
997
  const n = ot(
961
998
  typeof t == "string" ? t : t.name,
962
999
  e.schema
963
1000
  );
964
- return n === "node" ? Xn(e, t) : n === "mark" ? Wt(e, t) : {};
1001
+ return n === "node" ? Qn(e, t) : n === "mark" ? Ut(e, t) : {};
965
1002
  }
966
- function Zn(e, t = JSON.stringify) {
1003
+ function Gn(e, t = JSON.stringify) {
967
1004
  const n = {};
968
1005
  return e.filter((r) => {
969
1006
  const s = t(r);
970
1007
  return Object.prototype.hasOwnProperty.call(n, s) ? !1 : n[s] = !0;
971
1008
  });
972
1009
  }
973
- function Qn(e) {
974
- const t = Zn(e);
1010
+ function tr(e) {
1011
+ const t = Gn(e);
975
1012
  return t.length === 1 ? t : t.filter((n, r) => !t.filter((o, i) => i !== r).some((o) => n.oldRange.from >= o.oldRange.from && n.oldRange.to <= o.oldRange.to && n.newRange.from >= o.newRange.from && n.newRange.to <= o.newRange.to));
976
1013
  }
977
- function Gn(e) {
1014
+ function er(e) {
978
1015
  const { mapping: t, steps: n } = e, r = [];
979
1016
  return t.maps.forEach((s, o) => {
980
1017
  const i = [];
@@ -989,21 +1026,21 @@ function Gn(e) {
989
1026
  i.push({ from: a, to: c });
990
1027
  }
991
1028
  i.forEach(({ from: a, to: c }) => {
992
- const l = t.slice(o).map(a, -1), d = t.slice(o).map(c), u = t.invert().map(l, -1), p = t.invert().map(d);
1029
+ const l = t.slice(o).map(a, -1), u = t.slice(o).map(c), d = t.invert().map(l, -1), p = t.invert().map(u);
993
1030
  r.push({
994
1031
  oldRange: {
995
- from: u,
1032
+ from: d,
996
1033
  to: p
997
1034
  },
998
1035
  newRange: {
999
1036
  from: l,
1000
- to: d
1037
+ to: u
1001
1038
  }
1002
1039
  });
1003
1040
  });
1004
- }), Qn(r);
1041
+ }), tr(r);
1005
1042
  }
1006
- function Yt(e, t, n) {
1043
+ function Qt(e, t, n) {
1007
1044
  const r = [];
1008
1045
  return e === t ? n.resolve(e).marks().forEach((s) => {
1009
1046
  const o = n.resolve(e), i = bt(o, s.type);
@@ -1021,7 +1058,7 @@ function Yt(e, t, n) {
1021
1058
  );
1022
1059
  }), r;
1023
1060
  }
1024
- var ss = (e, t, n, r = 20) => {
1061
+ var is = (e, t, n, r = 20) => {
1025
1062
  const s = e.doc.resolve(n);
1026
1063
  let o = r, i = null;
1027
1064
  for (; o > 0 && i === null; ) {
@@ -1033,7 +1070,7 @@ var ss = (e, t, n, r = 20) => {
1033
1070
  function H(e, t) {
1034
1071
  return t.nodes[e] || t.marks[e] || null;
1035
1072
  }
1036
- function Q(e, t, n) {
1073
+ function Z(e, t, n) {
1037
1074
  return Object.fromEntries(
1038
1075
  Object.entries(n).filter(([r]) => {
1039
1076
  const s = e.find((o) => o.type === t && o.name === r);
@@ -1041,28 +1078,28 @@ function Q(e, t, n) {
1041
1078
  })
1042
1079
  );
1043
1080
  }
1044
- var tr = (e, t = 500) => {
1081
+ var nr = (e, t = 500) => {
1045
1082
  let n = "";
1046
1083
  const r = e.parentOffset;
1047
1084
  return e.parent.nodesBetween(Math.max(0, r - t), r, (s, o, i, a) => {
1048
1085
  var c, l;
1049
- const d = ((l = (c = s.type.spec).toText) == null ? void 0 : l.call(c, {
1086
+ const u = ((l = (c = s.type.spec).toText) == null ? void 0 : l.call(c, {
1050
1087
  node: s,
1051
1088
  pos: o,
1052
1089
  parent: i,
1053
1090
  index: a
1054
1091
  })) || s.textContent || "%leaf%";
1055
- n += s.isAtom && !s.isText ? d : d.slice(0, Math.max(0, r - o));
1092
+ n += s.isAtom && !s.isText ? u : u.slice(0, Math.max(0, r - o));
1056
1093
  }), n;
1057
1094
  };
1058
1095
  function mt(e, t, n = {}) {
1059
1096
  const { empty: r, ranges: s } = e.selection, o = t ? z(t, e.schema) : null;
1060
1097
  if (r)
1061
- return !!(e.storedMarks || e.selection.$from.marks()).filter((u) => o ? o.name === u.type.name : !0).find((u) => G(u.attrs, n, { strict: !1 }));
1098
+ return !!(e.storedMarks || e.selection.$from.marks()).filter((d) => o ? o.name === d.type.name : !0).find((d) => G(d.attrs, n, { strict: !1 }));
1062
1099
  let i = 0;
1063
1100
  const a = [];
1064
- if (s.forEach(({ $from: u, $to: p }) => {
1065
- const f = u.pos, h = p.pos;
1101
+ if (s.forEach(({ $from: d, $to: p }) => {
1102
+ const f = d.pos, h = p.pos;
1066
1103
  e.doc.nodesBetween(f, h, (m, g) => {
1067
1104
  if (o && m.inlineContent && !m.type.allowsMarkType(o))
1068
1105
  return !1;
@@ -1079,16 +1116,16 @@ function mt(e, t, n = {}) {
1079
1116
  });
1080
1117
  }), i === 0)
1081
1118
  return !1;
1082
- const c = a.filter((u) => o ? o.name === u.mark.type.name : !0).filter((u) => G(u.mark.attrs, n, { strict: !1 })).reduce((u, p) => u + p.to - p.from, 0), l = a.filter((u) => o ? u.mark.type !== o && u.mark.type.excludes(o) : !0).reduce((u, p) => u + p.to - p.from, 0);
1119
+ const c = a.filter((d) => o ? o.name === d.mark.type.name : !0).filter((d) => G(d.mark.attrs, n, { strict: !1 })).reduce((d, p) => d + p.to - p.from, 0), l = a.filter((d) => o ? d.mark.type !== o && d.mark.type.excludes(o) : !0).reduce((d, p) => d + p.to - p.from, 0);
1083
1120
  return (c > 0 ? c + l : c) >= i;
1084
1121
  }
1085
- function er(e, t, n = {}) {
1122
+ function rr(e, t, n = {}) {
1086
1123
  if (!t)
1087
1124
  return U(e, null, n) || mt(e, null, n);
1088
1125
  const r = ot(t, e.schema);
1089
1126
  return r === "node" ? U(e, t, n) : r === "mark" ? mt(e, t, n) : !1;
1090
1127
  }
1091
- var os = (e, t) => {
1128
+ var as = (e, t) => {
1092
1129
  const { $from: n, $to: r, $anchor: s } = e.selection;
1093
1130
  if (t) {
1094
1131
  const o = it((a) => a.type.name === t)(e.selection);
@@ -1098,14 +1135,14 @@ var os = (e, t) => {
1098
1135
  return s.pos + 1 === i.end();
1099
1136
  }
1100
1137
  return !(r.parentOffset < r.parent.nodeSize - 2 || n.pos !== r.pos);
1101
- }, is = (e) => {
1138
+ }, cs = (e) => {
1102
1139
  const { $from: t, $to: n } = e.selection;
1103
1140
  return !(t.parentOffset > 0 || t.pos !== n.pos);
1104
1141
  };
1105
- function zt(e, t) {
1142
+ function It(e, t) {
1106
1143
  return Array.isArray(t) ? t.some((n) => (typeof n == "string" ? n : n.name) === e.name) : t;
1107
1144
  }
1108
- function It(e, t) {
1145
+ function Dt(e, t) {
1109
1146
  const { nodeExtensions: n } = L(t), r = n.find((i) => i.name === e);
1110
1147
  if (!r)
1111
1148
  return !1;
@@ -1141,10 +1178,10 @@ function Mt(e, {
1141
1178
  }
1142
1179
  return !1;
1143
1180
  }
1144
- function as(e) {
1181
+ function ls(e) {
1145
1182
  return e instanceof nt;
1146
1183
  }
1147
- var Zt = class Qt {
1184
+ var Zt = class Gt {
1148
1185
  constructor(t) {
1149
1186
  this.position = t;
1150
1187
  }
@@ -1152,7 +1189,7 @@ var Zt = class Qt {
1152
1189
  * Creates a MappablePosition from a JSON object.
1153
1190
  */
1154
1191
  static fromJSON(t) {
1155
- return new Qt(t.position);
1192
+ return new Gt(t.position);
1156
1193
  }
1157
1194
  /**
1158
1195
  * Converts the MappablePosition to a JSON object.
@@ -1163,43 +1200,43 @@ var Zt = class Qt {
1163
1200
  };
1164
1201
  }
1165
1202
  };
1166
- function nr(e, t) {
1203
+ function sr(e, t) {
1167
1204
  const n = t.mapping.mapResult(e.position);
1168
1205
  return {
1169
1206
  position: new Zt(n.pos),
1170
1207
  mapResult: n
1171
1208
  };
1172
1209
  }
1173
- function rr(e) {
1210
+ function or(e) {
1174
1211
  return new Zt(e);
1175
1212
  }
1176
- function sr(e, t, n) {
1213
+ function ir(e, t, n) {
1177
1214
  var r;
1178
1215
  const { selection: s } = t;
1179
1216
  let o = null;
1180
- if (Lt(s) && (o = s.$cursor), o) {
1217
+ if (Ht(s) && (o = s.$cursor), o) {
1181
1218
  const a = (r = e.storedMarks) != null ? r : o.marks();
1182
1219
  return o.parent.type.allowsMarkType(n) && (!!n.isInSet(a) || !a.some((l) => l.type.excludes(n)));
1183
1220
  }
1184
1221
  const { ranges: i } = s;
1185
1222
  return i.some(({ $from: a, $to: c }) => {
1186
1223
  let l = a.depth === 0 ? e.doc.inlineContent && e.doc.type.allowsMarkType(n) : !1;
1187
- return e.doc.nodesBetween(a.pos, c.pos, (d, u, p) => {
1224
+ return e.doc.nodesBetween(a.pos, c.pos, (u, d, p) => {
1188
1225
  if (l)
1189
1226
  return !1;
1190
- if (d.isInline) {
1191
- const f = !p || p.type.allowsMarkType(n), h = !!n.isInSet(d.marks) || !d.marks.some((m) => m.type.excludes(n));
1227
+ if (u.isInline) {
1228
+ const f = !p || p.type.allowsMarkType(n), h = !!n.isInSet(u.marks) || !u.marks.some((m) => m.type.excludes(n));
1192
1229
  l = f && h;
1193
1230
  }
1194
1231
  return !l;
1195
1232
  }), l;
1196
1233
  });
1197
1234
  }
1198
- var or = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
1235
+ var ar = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
1199
1236
  const { selection: o } = n, { empty: i, ranges: a } = o, c = z(e, r.schema);
1200
1237
  if (s)
1201
1238
  if (i) {
1202
- const l = Wt(r, c);
1239
+ const l = Ut(r, c);
1203
1240
  n.addStoredMark(
1204
1241
  c.create({
1205
1242
  ...l,
@@ -1208,9 +1245,9 @@ var or = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
1208
1245
  );
1209
1246
  } else
1210
1247
  a.forEach((l) => {
1211
- const d = l.$from.pos, u = l.$to.pos;
1212
- r.doc.nodesBetween(d, u, (p, f) => {
1213
- const h = Math.max(f, d), m = Math.min(f + p.nodeSize, u);
1248
+ const u = l.$from.pos, d = l.$to.pos;
1249
+ r.doc.nodesBetween(u, d, (p, f) => {
1250
+ const h = Math.max(f, u), m = Math.min(f + p.nodeSize, d);
1214
1251
  p.marks.find((v) => v.type === c) ? p.marks.forEach((v) => {
1215
1252
  c === v.type && n.addMark(
1216
1253
  h,
@@ -1223,18 +1260,18 @@ var or = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
1223
1260
  }) : n.addMark(h, m, c.create(t));
1224
1261
  });
1225
1262
  });
1226
- return sr(r, n, c);
1227
- }, ir = (e, t) => ({ tr: n }) => (n.setMeta(e, t), !0), ar = (e, t = {}) => ({ state: n, dispatch: r, chain: s }) => {
1263
+ return ir(r, n, c);
1264
+ }, cr = (e, t) => ({ tr: n }) => (n.setMeta(e, t), !0), lr = (e, t = {}) => ({ state: n, dispatch: r, chain: s }) => {
1228
1265
  const o = T(e, n.schema);
1229
1266
  let i;
1230
1267
  return n.selection.$anchor.sameParent(n.selection.$head) && (i = n.selection.$anchor.parent.attrs), o.isTextblock ? s().command(({ commands: a }) => Tt(o, { ...i, ...t })(n) ? !0 : a.clearNodes()).command(({ state: a }) => Tt(o, { ...i, ...t })(a, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
1231
- }, cr = (e) => ({ tr: t, dispatch: n }) => {
1268
+ }, dr = (e) => ({ tr: t, dispatch: n }) => {
1232
1269
  if (n) {
1233
- const { doc: r } = t, s = O(e, 0, r.content.size), o = nt.create(r, s);
1270
+ const { doc: r } = t, s = B(e, 0, r.content.size), o = nt.create(r, s);
1234
1271
  t.setSelection(o);
1235
1272
  }
1236
1273
  return !0;
1237
- }, lr = (e, t) => ({ tr: n, state: r, dispatch: s }) => {
1274
+ }, ur = (e, t) => ({ tr: n, state: r, dispatch: s }) => {
1238
1275
  const { selection: o } = r;
1239
1276
  let i, a;
1240
1277
  return typeof t == "number" ? (i = t, a = t) : t && "from" in t && "to" in t ? (i = t.from, a = t.to) : (i = o.from, a = o.to), s && n.doc.nodesBetween(i, a, (c, l) => {
@@ -1243,56 +1280,56 @@ var or = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
1243
1280
  dir: e
1244
1281
  });
1245
1282
  }), !0;
1246
- }, dr = (e) => ({ tr: t, dispatch: n }) => {
1283
+ }, fr = (e) => ({ tr: t, dispatch: n }) => {
1247
1284
  if (n) {
1248
- const { doc: r } = t, { from: s, to: o } = typeof e == "number" ? { from: e, to: e } : e, i = P.atStart(r).from, a = P.atEnd(r).to, c = O(s, i, a), l = O(o, i, a), d = P.create(r, c, l);
1249
- t.setSelection(d);
1285
+ const { doc: r } = t, { from: s, to: o } = typeof e == "number" ? { from: e, to: e } : e, i = P.atStart(r).from, a = P.atEnd(r).to, c = B(s, i, a), l = B(o, i, a), u = P.create(r, c, l);
1286
+ t.setSelection(u);
1250
1287
  }
1251
1288
  return !0;
1252
- }, ur = (e) => ({ state: t, dispatch: n }) => {
1289
+ }, pr = (e) => ({ state: t, dispatch: n }) => {
1253
1290
  const r = T(e, t.schema);
1254
- return We(r)(t, n);
1291
+ return Ue(r)(t, n);
1255
1292
  };
1256
- function Dt(e, t) {
1293
+ function Ot(e, t) {
1257
1294
  const n = e.storedMarks || e.selection.$to.parentOffset && e.selection.$from.marks();
1258
1295
  if (n) {
1259
1296
  const r = n.filter((s) => t?.includes(s.type.name));
1260
1297
  e.tr.ensureMarks(r);
1261
1298
  }
1262
1299
  }
1263
- var fr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor: s }) => {
1264
- const { selection: o, doc: i } = t, { $from: a, $to: c } = o, l = s.extensionManager.attributes, d = Q(l, a.node().type.name, a.node().attrs);
1300
+ var hr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor: s }) => {
1301
+ const { selection: o, doc: i } = t, { $from: a, $to: c } = o, l = s.extensionManager.attributes, u = Z(l, a.node().type.name, a.node().attrs);
1265
1302
  if (o instanceof nt && o.node.isBlock)
1266
- return !a.parentOffset || !Z(i, a.pos) ? !1 : (r && (e && Dt(n, s.extensionManager.splittableMarks), t.split(a.pos).scrollIntoView()), !0);
1303
+ return !a.parentOffset || !Q(i, a.pos) ? !1 : (r && (e && Ot(n, s.extensionManager.splittableMarks), t.split(a.pos).scrollIntoView()), !0);
1267
1304
  if (!a.parent.isBlock)
1268
1305
  return !1;
1269
- const u = c.parentOffset === c.parent.content.size, p = a.depth === 0 ? void 0 : Hn(a.node(-1).contentMatchAt(a.indexAfter(-1)));
1270
- let f = u && p ? [
1306
+ const d = c.parentOffset === c.parent.content.size, p = a.depth === 0 ? void 0 : Fn(a.node(-1).contentMatchAt(a.indexAfter(-1)));
1307
+ let f = d && p ? [
1271
1308
  {
1272
1309
  type: p,
1273
- attrs: d
1310
+ attrs: u
1274
1311
  }
1275
- ] : void 0, h = Z(t.doc, t.mapping.map(a.pos), 1, f);
1276
- if (!f && !h && Z(t.doc, t.mapping.map(a.pos), 1, p ? [{ type: p }] : void 0) && (h = !0, f = p ? [
1312
+ ] : void 0, h = Q(t.doc, t.mapping.map(a.pos), 1, f);
1313
+ if (!f && !h && Q(t.doc, t.mapping.map(a.pos), 1, p ? [{ type: p }] : void 0) && (h = !0, f = p ? [
1277
1314
  {
1278
1315
  type: p,
1279
- attrs: d
1316
+ attrs: u
1280
1317
  }
1281
1318
  ] : void 0), r) {
1282
- if (h && (o instanceof P && t.deleteSelection(), t.split(t.mapping.map(a.pos), 1, f), p && !u && !a.parentOffset && a.parent.type !== p)) {
1319
+ if (h && (o instanceof P && t.deleteSelection(), t.split(t.mapping.map(a.pos), 1, f), p && !d && !a.parentOffset && a.parent.type !== p)) {
1283
1320
  const m = t.mapping.map(a.before()), g = t.doc.resolve(m);
1284
1321
  a.node(-1).canReplaceWith(g.index(), g.index() + 1, p) && t.setNodeMarkup(t.mapping.map(a.before()), p);
1285
1322
  }
1286
- e && Dt(n, s.extensionManager.splittableMarks), t.scrollIntoView();
1323
+ e && Ot(n, s.extensionManager.splittableMarks), t.scrollIntoView();
1287
1324
  }
1288
1325
  return h;
1289
- }, pr = (e, t = {}) => ({ tr: n, state: r, dispatch: s, editor: o }) => {
1326
+ }, mr = (e, t = {}) => ({ tr: n, state: r, dispatch: s, editor: o }) => {
1290
1327
  var i;
1291
- const a = T(e, r.schema), { $from: c, $to: l } = r.selection, d = r.selection.node;
1292
- if (d && d.isBlock || c.depth < 2 || !c.sameParent(l))
1328
+ const a = T(e, r.schema), { $from: c, $to: l } = r.selection, u = r.selection.node;
1329
+ if (u && u.isBlock || c.depth < 2 || !c.sameParent(l))
1293
1330
  return !1;
1294
- const u = c.node(-1);
1295
- if (u.type !== a)
1331
+ const d = c.node(-1);
1332
+ if (d.type !== a)
1296
1333
  return !1;
1297
1334
  const p = o.extensionManager.attributes;
1298
1335
  if (c.parent.content.size === 0 && c.node(-1).childCount === c.indexAfter(-1)) {
@@ -1307,12 +1344,12 @@ var fr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor
1307
1344
  // eslint-disable-next-line no-nested-ternary
1308
1345
  c.indexAfter(-1) < c.node(-2).childCount ? 1 : c.indexAfter(-2) < c.node(-3).childCount ? 2 : 3
1309
1346
  ), M = {
1310
- ...Q(p, c.node().type.name, c.node().attrs),
1347
+ ...Z(p, c.node().type.name, c.node().attrs),
1311
1348
  ...t
1312
1349
  }, w = ((i = a.contentMatch.defaultType) == null ? void 0 : i.createAndFill(M)) || void 0;
1313
1350
  v = v.append(D.from(a.createAndFill(null, w) || void 0));
1314
1351
  const S = c.before(c.depth - (b - 1));
1315
- n.replace(S, c.after(-k), new Fe(v, 4 - b, 0));
1352
+ n.replace(S, c.after(-k), new Ve(v, 4 - b, 0));
1316
1353
  let E = -1;
1317
1354
  n.doc.nodesBetween(S, n.doc.content.size, (A, C) => {
1318
1355
  if (E > -1)
@@ -1322,11 +1359,11 @@ var fr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor
1322
1359
  }
1323
1360
  return !0;
1324
1361
  }
1325
- const f = l.pos === c.end() ? u.contentMatchAt(0).defaultType : null, h = {
1326
- ...Q(p, u.type.name, u.attrs),
1362
+ const f = l.pos === c.end() ? d.contentMatchAt(0).defaultType : null, h = {
1363
+ ...Z(p, d.type.name, d.attrs),
1327
1364
  ...t
1328
1365
  }, m = {
1329
- ...Q(p, c.node().type.name, c.node().attrs),
1366
+ ...Z(p, c.node().type.name, c.node().attrs),
1330
1367
  ...t
1331
1368
  };
1332
1369
  n.delete(c.pos, l.pos);
@@ -1334,7 +1371,7 @@ var fr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor
1334
1371
  { type: a, attrs: h },
1335
1372
  { type: f, attrs: m }
1336
1373
  ] : [{ type: a, attrs: h }];
1337
- if (!Z(n.doc, c.pos, 2))
1374
+ if (!Q(n.doc, c.pos, 2))
1338
1375
  return !1;
1339
1376
  if (s) {
1340
1377
  const { selection: v, storedMarks: b } = r, { splittableMarks: k } = o.extensionManager, M = b || v.$to.parentOffset && v.$from.marks();
@@ -1362,32 +1399,32 @@ var fr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor
1362
1399
  return !0;
1363
1400
  const s = e.doc.nodeAt(r);
1364
1401
  return n.node.type === s?.type && gt(e.doc, r) && e.join(r), !0;
1365
- }, hr = (e, t, n, r = {}) => ({ editor: s, tr: o, state: i, dispatch: a, chain: c, commands: l, can: d }) => {
1366
- const { extensions: u, splittableMarks: p } = s.extensionManager, f = T(e, i.schema), h = T(t, i.schema), { selection: m, storedMarks: g } = i, { $from: v, $to: b } = m, k = v.blockRange(b), M = g || m.$to.parentOffset && m.$from.marks();
1402
+ }, gr = (e, t, n, r = {}) => ({ editor: s, tr: o, state: i, dispatch: a, chain: c, commands: l, can: u }) => {
1403
+ const { extensions: d, splittableMarks: p } = s.extensionManager, f = T(e, i.schema), h = T(t, i.schema), { selection: m, storedMarks: g } = i, { $from: v, $to: b } = m, k = v.blockRange(b), M = g || m.$to.parentOffset && m.$from.marks();
1367
1404
  if (!k)
1368
1405
  return !1;
1369
- const w = it((S) => It(S.type.name, u))(m);
1406
+ const w = it((S) => Dt(S.type.name, d))(m);
1370
1407
  if (k.depth >= 1 && w && k.depth - w.depth <= 1) {
1371
1408
  if (w.node.type === f)
1372
1409
  return l.liftListItem(h);
1373
- if (It(w.node.type.name, u) && f.validContent(w.node.content) && a)
1410
+ if (Dt(w.node.type.name, d) && f.validContent(w.node.content) && a)
1374
1411
  return c().command(() => (o.setNodeMarkup(w.pos, f), !0)).command(() => ft(o, f)).command(() => pt(o, f)).run();
1375
1412
  }
1376
- return !n || !M || !a ? c().command(() => d().wrapInList(f, r) ? !0 : l.clearNodes()).wrapInList(f, r).command(() => ft(o, f)).command(() => pt(o, f)).run() : c().command(() => {
1377
- const S = d().wrapInList(f, r), E = M.filter((A) => p.includes(A.type.name));
1413
+ return !n || !M || !a ? c().command(() => u().wrapInList(f, r) ? !0 : l.clearNodes()).wrapInList(f, r).command(() => ft(o, f)).command(() => pt(o, f)).run() : c().command(() => {
1414
+ const S = u().wrapInList(f, r), E = M.filter((A) => p.includes(A.type.name));
1378
1415
  return o.ensureMarks(E), S ? !0 : l.clearNodes();
1379
1416
  }).wrapInList(f, r).command(() => ft(o, f)).command(() => pt(o, f)).run();
1380
- }, mr = (e, t = {}, n = {}) => ({ state: r, commands: s }) => {
1417
+ }, vr = (e, t = {}, n = {}) => ({ state: r, commands: s }) => {
1381
1418
  const { extendEmptyMarkRange: o = !1 } = n, i = z(e, r.schema);
1382
1419
  return mt(r, i, t) ? s.unsetMark(i, { extendEmptyMarkRange: o }) : s.setMark(i, t);
1383
- }, gr = (e, t, n = {}) => ({ state: r, commands: s }) => {
1420
+ }, yr = (e, t, n = {}) => ({ state: r, commands: s }) => {
1384
1421
  const o = T(e, r.schema), i = T(t, r.schema), a = U(r, o, n);
1385
1422
  let c;
1386
1423
  return r.selection.$anchor.sameParent(r.selection.$head) && (c = r.selection.$anchor.parent.attrs), a ? s.setNode(i, c) : s.setNode(o, { ...c, ...n });
1387
- }, vr = (e, t = {}) => ({ state: n, commands: r }) => {
1424
+ }, br = (e, t = {}) => ({ state: n, commands: r }) => {
1388
1425
  const s = T(e, n.schema);
1389
1426
  return U(n, s, t) ? r.lift(s) : r.wrapIn(s, t);
1390
- }, yr = () => ({ state: e, dispatch: t }) => {
1427
+ }, wr = () => ({ state: e, dispatch: t }) => {
1391
1428
  const n = e.plugins;
1392
1429
  for (let r = 0; r < n.length; r += 1) {
1393
1430
  const s = n[r];
@@ -1407,26 +1444,26 @@ var fr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor
1407
1444
  }
1408
1445
  }
1409
1446
  return !1;
1410
- }, br = () => ({ tr: e, dispatch: t }) => {
1447
+ }, kr = () => ({ tr: e, dispatch: t }) => {
1411
1448
  const { selection: n } = e, { empty: r, ranges: s } = n;
1412
1449
  return r || t && s.forEach((o) => {
1413
1450
  e.removeMark(o.$from.pos, o.$to.pos);
1414
1451
  }), !0;
1415
- }, wr = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
1452
+ }, Mr = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
1416
1453
  var o;
1417
- const { extendEmptyMarkRange: i = !1 } = t, { selection: a } = n, c = z(e, r.schema), { $from: l, empty: d, ranges: u } = a;
1454
+ const { extendEmptyMarkRange: i = !1 } = t, { selection: a } = n, c = z(e, r.schema), { $from: l, empty: u, ranges: d } = a;
1418
1455
  if (!s)
1419
1456
  return !0;
1420
- if (d && i) {
1457
+ if (u && i) {
1421
1458
  let { from: p, to: f } = a;
1422
1459
  const h = (o = l.marks().find((g) => g.type === c)) == null ? void 0 : o.attrs, m = bt(l, c, h);
1423
1460
  m && (p = m.from, f = m.to), n.removeMark(p, f, c);
1424
1461
  } else
1425
- u.forEach((p) => {
1462
+ d.forEach((p) => {
1426
1463
  n.removeMark(p.$from.pos, p.$to.pos, c);
1427
1464
  });
1428
1465
  return n.removeStoredMark(c), !0;
1429
- }, kr = (e) => ({ tr: t, state: n, dispatch: r }) => {
1466
+ }, xr = (e) => ({ tr: t, state: n, dispatch: r }) => {
1430
1467
  const { selection: s } = n;
1431
1468
  let o, i;
1432
1469
  return typeof e == "number" ? (o = e, i = e) : e && "from" in e && "to" in e ? (o = e.from, i = e.to) : (o = s.from, i = s.to), r && t.doc.nodesBetween(o, i, (a, c) => {
@@ -1435,7 +1472,7 @@ var fr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor
1435
1472
  const l = { ...a.attrs };
1436
1473
  delete l.dir, t.setNodeMarkup(c, void 0, l);
1437
1474
  }), !0;
1438
- }, Mr = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
1475
+ }, Sr = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
1439
1476
  let o = null, i = null;
1440
1477
  const a = ot(
1441
1478
  typeof e == "string" ? e : e.name,
@@ -1446,17 +1483,17 @@ var fr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor
1446
1483
  a === "node" && (o = T(e, r.schema)), a === "mark" && (i = z(e, r.schema));
1447
1484
  let c = !1;
1448
1485
  return n.selection.ranges.forEach((l) => {
1449
- const d = l.$from.pos, u = l.$to.pos;
1486
+ const u = l.$from.pos, d = l.$to.pos;
1450
1487
  let p, f, h, m;
1451
- n.selection.empty ? r.doc.nodesBetween(d, u, (g, v) => {
1452
- o && o === g.type && (c = !0, h = Math.max(v, d), m = Math.min(v + g.nodeSize, u), p = v, f = g);
1453
- }) : r.doc.nodesBetween(d, u, (g, v) => {
1454
- v < d && o && o === g.type && (c = !0, h = Math.max(v, d), m = Math.min(v + g.nodeSize, u), p = v, f = g), v >= d && v <= u && (o && o === g.type && (c = !0, s && n.setNodeMarkup(v, void 0, {
1488
+ n.selection.empty ? r.doc.nodesBetween(u, d, (g, v) => {
1489
+ o && o === g.type && (c = !0, h = Math.max(v, u), m = Math.min(v + g.nodeSize, d), p = v, f = g);
1490
+ }) : r.doc.nodesBetween(u, d, (g, v) => {
1491
+ v < u && o && o === g.type && (c = !0, h = Math.max(v, u), m = Math.min(v + g.nodeSize, d), p = v, f = g), v >= u && v <= d && (o && o === g.type && (c = !0, s && n.setNodeMarkup(v, void 0, {
1455
1492
  ...g.attrs,
1456
1493
  ...t
1457
1494
  })), i && g.marks.length && g.marks.forEach((b) => {
1458
1495
  if (i === b.type && (c = !0, s)) {
1459
- const k = Math.max(v, d), M = Math.min(v + g.nodeSize, u);
1496
+ const k = Math.max(v, u), M = Math.min(v + g.nodeSize, d);
1460
1497
  n.addMark(
1461
1498
  k,
1462
1499
  M,
@@ -1481,13 +1518,13 @@ var fr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor
1481
1518
  );
1482
1519
  }));
1483
1520
  }), c;
1484
- }, xr = (e, t = {}) => ({ state: n, dispatch: r }) => {
1521
+ }, Er = (e, t = {}) => ({ state: n, dispatch: r }) => {
1485
1522
  const s = T(e, n.schema);
1486
- return _e(s, t)(n, r);
1487
- }, Sr = (e, t = {}) => ({ state: n, dispatch: r }) => {
1523
+ return Be(s, t)(n, r);
1524
+ }, Tr = (e, t = {}) => ({ state: n, dispatch: r }) => {
1488
1525
  const s = T(e, n.schema);
1489
- return Ue(s, t)(n, r);
1490
- }, Er = class {
1526
+ return Ke(s, t)(n, r);
1527
+ }, Ar = class {
1491
1528
  constructor() {
1492
1529
  this.callbacks = {};
1493
1530
  }
@@ -1516,7 +1553,7 @@ var fr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor
1516
1553
  var t;
1517
1554
  this.find = e.find, this.handler = e.handler, this.undoable = (t = e.undoable) != null ? t : !0;
1518
1555
  }
1519
- }, Tr = (e, t) => {
1556
+ }, Cr = (e, t) => {
1520
1557
  if (yt(t))
1521
1558
  return t.exec(e);
1522
1559
  const n = t(e);
@@ -1536,12 +1573,12 @@ function J(e) {
1536
1573
  l.parent.type.spec.code || (t = l.nodeBefore || l.nodeAfter) != null && t.marks.find((p) => p.type.spec.code)
1537
1574
  )
1538
1575
  return !1;
1539
- let d = !1;
1540
- const u = tr(l) + o;
1576
+ let u = !1;
1577
+ const d = nr(l) + o;
1541
1578
  return i.forEach((p) => {
1542
- if (d)
1579
+ if (u)
1543
1580
  return;
1544
- const f = Tr(u, p.find);
1581
+ const f = Cr(d, p.find);
1545
1582
  if (!f)
1546
1583
  return;
1547
1584
  const h = c.state.tr, m = rt({
@@ -1566,10 +1603,10 @@ function J(e) {
1566
1603
  from: r,
1567
1604
  to: s,
1568
1605
  text: o
1569
- }), c.dispatch(h), d = !0);
1570
- }), d;
1606
+ }), c.dispatch(h), u = !0);
1607
+ }), u;
1571
1608
  }
1572
- function Ar(e) {
1609
+ function Pr(e) {
1573
1610
  const { editor: t, rules: n } = e, r = new $({
1574
1611
  state: {
1575
1612
  init() {
@@ -1581,14 +1618,14 @@ function Ar(e) {
1581
1618
  return a;
1582
1619
  const c = s.getMeta("applyInputRules");
1583
1620
  return !!c && setTimeout(() => {
1584
- let { text: d } = c;
1585
- typeof d == "string" ? d = d : d = kt(D.from(d), i.schema);
1586
- const { from: u } = c, p = u + d.length;
1621
+ let { text: u } = c;
1622
+ typeof u == "string" ? u = u : u = kt(D.from(u), i.schema);
1623
+ const { from: d } = c, p = d + u.length;
1587
1624
  J({
1588
1625
  editor: t,
1589
- from: u,
1626
+ from: d,
1590
1627
  to: p,
1591
- text: d,
1628
+ text: u,
1592
1629
  rules: n,
1593
1630
  plugin: r
1594
1631
  });
@@ -1641,16 +1678,16 @@ function Ar(e) {
1641
1678
  });
1642
1679
  return r;
1643
1680
  }
1644
- function Cr(e) {
1681
+ function $r(e) {
1645
1682
  return Object.prototype.toString.call(e).slice(8, -1);
1646
1683
  }
1647
1684
  function X(e) {
1648
- return Cr(e) !== "Object" ? !1 : e.constructor === Object && Object.getPrototypeOf(e) === Object.prototype;
1685
+ return $r(e) !== "Object" ? !1 : e.constructor === Object && Object.getPrototypeOf(e) === Object.prototype;
1649
1686
  }
1650
- function Gt(e, t) {
1687
+ function te(e, t) {
1651
1688
  const n = { ...e };
1652
1689
  return X(e) && X(t) && Object.keys(t).forEach((r) => {
1653
- X(t[r]) && X(e[r]) ? n[r] = Gt(e[r], t[r]) : n[r] = t[r];
1690
+ X(t[r]) && X(e[r]) ? n[r] = te(e[r], t[r]) : n[r] = t[r];
1654
1691
  }), n;
1655
1692
  }
1656
1693
  var xt = class {
@@ -1684,7 +1721,7 @@ var xt = class {
1684
1721
  configure(e = {}) {
1685
1722
  const t = this.extend({
1686
1723
  ...this.config,
1687
- addOptions: () => Gt(this.options, e)
1724
+ addOptions: () => te(this.options, e)
1688
1725
  });
1689
1726
  return t.name = this.name, t.parent = this.parent, t;
1690
1727
  }
@@ -1692,7 +1729,7 @@ var xt = class {
1692
1729
  const t = new this.constructor({ ...this.config, ...e });
1693
1730
  return t.parent = this, this.child = t, t.name = "name" in e ? e.name : t.parent.name, t;
1694
1731
  }
1695
- }, Pr = class te extends xt {
1732
+ }, Nr = class ee extends xt {
1696
1733
  constructor() {
1697
1734
  super(...arguments), this.type = "mark";
1698
1735
  }
@@ -1702,7 +1739,7 @@ var xt = class {
1702
1739
  */
1703
1740
  static create(t = {}) {
1704
1741
  const n = typeof t == "function" ? t() : t;
1705
- return new te(n);
1742
+ return new ee(n);
1706
1743
  }
1707
1744
  static handleExit({ editor: t, mark: n }) {
1708
1745
  const { tr: r } = t.state, s = t.state.selection.$from;
@@ -1723,14 +1760,14 @@ var xt = class {
1723
1760
  return super.extend(n);
1724
1761
  }
1725
1762
  };
1726
- function $r(e) {
1763
+ function Rr(e) {
1727
1764
  return typeof e == "number";
1728
1765
  }
1729
- var Nr = class {
1766
+ var zr = class {
1730
1767
  constructor(e) {
1731
1768
  this.find = e.find, this.handler = e.handler;
1732
1769
  }
1733
- }, Rr = (e, t, n) => {
1770
+ }, Ir = (e, t, n) => {
1734
1771
  if (yt(t))
1735
1772
  return [...e.matchAll(t)];
1736
1773
  const r = t(e, n);
@@ -1739,11 +1776,11 @@ var Nr = class {
1739
1776
  return o.index = s.index, o.input = e, o.data = s.data, s.replaceWith && (s.text.includes(s.replaceWith) || console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'), o.push(s.replaceWith)), o;
1740
1777
  }) : [];
1741
1778
  };
1742
- function zr(e) {
1743
- const { editor: t, state: n, from: r, to: s, rule: o, pasteEvent: i, dropEvent: a } = e, { commands: c, chain: l, can: d } = new st({
1779
+ function Dr(e) {
1780
+ const { editor: t, state: n, from: r, to: s, rule: o, pasteEvent: i, dropEvent: a } = e, { commands: c, chain: l, can: u } = new st({
1744
1781
  editor: t,
1745
1782
  state: n
1746
- }), u = [];
1783
+ }), d = [];
1747
1784
  return n.doc.nodesBetween(r, s, (f, h) => {
1748
1785
  var m, g, v, b, k;
1749
1786
  if ((g = (m = f.type) == null ? void 0 : m.spec) != null && g.code || !(f.isText || f.isTextblock || f.isInline))
@@ -1752,7 +1789,7 @@ function zr(e) {
1752
1789
  if (w >= S)
1753
1790
  return;
1754
1791
  const E = f.isText ? f.text || "" : f.textBetween(w - h, S - h, void 0, "");
1755
- Rr(E, o.find, i).forEach((C) => {
1792
+ Ir(E, o.find, i).forEach((C) => {
1756
1793
  if (C.index === void 0)
1757
1794
  return;
1758
1795
  const _ = w + C.index + 1, lt = _ + C[0].length, K = {
@@ -1764,22 +1801,22 @@ function zr(e) {
1764
1801
  match: C,
1765
1802
  commands: c,
1766
1803
  chain: l,
1767
- can: d,
1804
+ can: u,
1768
1805
  pasteEvent: i,
1769
1806
  dropEvent: a
1770
1807
  });
1771
- u.push(dt);
1808
+ d.push(dt);
1772
1809
  });
1773
- }), u.every((f) => f !== null);
1810
+ }), d.every((f) => f !== null);
1774
1811
  }
1775
- var Y = null, Ir = (e) => {
1812
+ var Y = null, Or = (e) => {
1776
1813
  var t;
1777
1814
  const n = new ClipboardEvent("paste", {
1778
1815
  clipboardData: new DataTransfer()
1779
1816
  });
1780
1817
  return (t = n.clipboardData) == null || t.setData("text/html", e), n;
1781
1818
  };
1782
- function Dr(e) {
1819
+ function _r(e) {
1783
1820
  const { editor: t, rules: n } = e;
1784
1821
  let r = null, s = !1, o = !1, i = typeof ClipboardEvent < "u" ? new ClipboardEvent("paste") : null, a;
1785
1822
  try {
@@ -1788,20 +1825,20 @@ function Dr(e) {
1788
1825
  a = null;
1789
1826
  }
1790
1827
  const c = ({
1791
- state: d,
1792
- from: u,
1828
+ state: u,
1829
+ from: d,
1793
1830
  to: p,
1794
1831
  rule: f,
1795
1832
  pasteEvt: h
1796
1833
  }) => {
1797
- const m = d.tr, g = rt({
1798
- state: d,
1834
+ const m = u.tr, g = rt({
1835
+ state: u,
1799
1836
  transaction: m
1800
1837
  });
1801
- if (!(!zr({
1838
+ if (!(!Dr({
1802
1839
  editor: t,
1803
1840
  state: g,
1804
- from: Math.max(u - 1, 0),
1841
+ from: Math.max(d - 1, 0),
1805
1842
  to: p.b - 1,
1806
1843
  rule: f,
1807
1844
  pasteEvent: h,
@@ -1815,12 +1852,12 @@ function Dr(e) {
1815
1852
  return i = typeof ClipboardEvent < "u" ? new ClipboardEvent("paste") : null, m;
1816
1853
  }
1817
1854
  };
1818
- return n.map((d) => new $({
1855
+ return n.map((u) => new $({
1819
1856
  // we register a global drag handler to track the current drag source element
1820
- view(u) {
1857
+ view(d) {
1821
1858
  const p = (h) => {
1822
1859
  var m;
1823
- r = (m = u.dom.parentElement) != null && m.contains(h.target) ? u.dom.parentElement : null, r && (Y = t);
1860
+ r = (m = d.dom.parentElement) != null && m.contains(h.target) ? d.dom.parentElement : null, r && (Y = t);
1824
1861
  }, f = () => {
1825
1862
  Y && (Y = null);
1826
1863
  };
@@ -1832,8 +1869,8 @@ function Dr(e) {
1832
1869
  },
1833
1870
  props: {
1834
1871
  handleDOMEvents: {
1835
- drop: (u, p) => {
1836
- if (o = r === u.dom.parentElement, a = p, !o) {
1872
+ drop: (d, p) => {
1873
+ if (o = r === d.dom.parentElement, a = p, !o) {
1837
1874
  const f = Y;
1838
1875
  f?.isEditable && setTimeout(() => {
1839
1876
  const h = f.state.selection;
@@ -1842,23 +1879,23 @@ function Dr(e) {
1842
1879
  }
1843
1880
  return !1;
1844
1881
  },
1845
- paste: (u, p) => {
1882
+ paste: (d, p) => {
1846
1883
  var f;
1847
1884
  const h = (f = p.clipboardData) == null ? void 0 : f.getData("text/html");
1848
1885
  return i = p, s = !!h?.includes("data-pm-slice"), !1;
1849
1886
  }
1850
1887
  }
1851
1888
  },
1852
- appendTransaction: (u, p, f) => {
1853
- const h = u[0], m = h.getMeta("uiEvent") === "paste" && !s, g = h.getMeta("uiEvent") === "drop" && !o, v = h.getMeta("applyPasteRules"), b = !!v;
1889
+ appendTransaction: (d, p, f) => {
1890
+ const h = d[0], m = h.getMeta("uiEvent") === "paste" && !s, g = h.getMeta("uiEvent") === "drop" && !o, v = h.getMeta("applyPasteRules"), b = !!v;
1854
1891
  if (!m && !g && !b)
1855
1892
  return;
1856
1893
  if (b) {
1857
1894
  let { text: w } = v;
1858
1895
  typeof w == "string" ? w = w : w = kt(D.from(w), f.schema);
1859
- const { from: S } = v, E = S + w.length, A = Ir(w);
1896
+ const { from: S } = v, E = S + w.length, A = Or(w);
1860
1897
  return c({
1861
- rule: d,
1898
+ rule: u,
1862
1899
  state: f,
1863
1900
  from: S,
1864
1901
  to: { b: E },
@@ -1866,9 +1903,9 @@ function Dr(e) {
1866
1903
  });
1867
1904
  }
1868
1905
  const k = p.doc.content.findDiffStart(f.doc.content), M = p.doc.content.findDiffEnd(f.doc.content);
1869
- if (!(!$r(k) || !M || k === M.b))
1906
+ if (!(!Rr(k) || !M || k === M.b))
1870
1907
  return c({
1871
- rule: d,
1908
+ rule: u,
1872
1909
  state: f,
1873
1910
  from: k,
1874
1911
  to: M,
@@ -1879,7 +1916,7 @@ function Dr(e) {
1879
1916
  }
1880
1917
  var ct = class {
1881
1918
  constructor(e, t) {
1882
- this.splittableMarks = [], this.editor = t, this.baseExtensions = e, this.extensions = qt(e), this.schema = Kn(this.extensions, t), this.setupExtensions();
1919
+ this.splittableMarks = [], this.editor = t, this.baseExtensions = e, this.extensions = Jt(e), this.schema = Jn(this.extensions, t), this.setupExtensions();
1883
1920
  }
1884
1921
  /**
1885
1922
  * Get all commands from the extensions.
@@ -1919,40 +1956,40 @@ var ct = class {
1919
1956
  s
1920
1957
  );
1921
1958
  let a = {};
1922
- if (r.type === "mark" && y(r, "exitable", s) && (a.ArrowRight = () => Pr.handleExit({ editor: e, mark: r })), i) {
1959
+ if (r.type === "mark" && y(r, "exitable", s) && (a.ArrowRight = () => Nr.handleExit({ editor: e, mark: r })), i) {
1923
1960
  const p = Object.fromEntries(
1924
1961
  Object.entries(i()).map(([f, h]) => [f, () => h({ editor: e })])
1925
1962
  );
1926
1963
  a = { ...a, ...p };
1927
1964
  }
1928
- const c = qe(a);
1965
+ const c = Je(a);
1929
1966
  o.push(c);
1930
1967
  const l = y(r, "addInputRules", s);
1931
- if (zt(r, e.options.enableInputRules) && l) {
1968
+ if (It(r, e.options.enableInputRules) && l) {
1932
1969
  const p = l();
1933
1970
  if (p && p.length) {
1934
- const f = Ar({
1971
+ const f = Pr({
1935
1972
  editor: e,
1936
1973
  rules: p
1937
1974
  }), h = Array.isArray(f) ? f : [f];
1938
1975
  o.push(...h);
1939
1976
  }
1940
1977
  }
1941
- const d = y(r, "addPasteRules", s);
1942
- if (zt(r, e.options.enablePasteRules) && d) {
1943
- const p = d();
1978
+ const u = y(r, "addPasteRules", s);
1979
+ if (It(r, e.options.enablePasteRules) && u) {
1980
+ const p = u();
1944
1981
  if (p && p.length) {
1945
- const f = Dr({ editor: e, rules: p });
1982
+ const f = _r({ editor: e, rules: p });
1946
1983
  o.push(...f);
1947
1984
  }
1948
1985
  }
1949
- const u = y(
1986
+ const d = y(
1950
1987
  r,
1951
1988
  "addProseMirrorPlugins",
1952
1989
  s
1953
1990
  );
1954
- if (u) {
1955
- const p = u();
1991
+ if (d) {
1992
+ const p = d();
1956
1993
  o.push(...p);
1957
1994
  }
1958
1995
  return o;
@@ -1963,7 +2000,7 @@ var ct = class {
1963
2000
  * @returns An array of attributes
1964
2001
  */
1965
2002
  get attributes() {
1966
- return Kt(this.extensions);
2003
+ return qt(this.extensions);
1967
2004
  }
1968
2005
  /**
1969
2006
  * Get all node views from the extensions.
@@ -1985,14 +2022,14 @@ var ct = class {
1985
2022
  const i = o();
1986
2023
  if (!i)
1987
2024
  return [];
1988
- const a = (c, l, d, u, p) => {
2025
+ const a = (c, l, u, d, p) => {
1989
2026
  const f = et(c, r);
1990
2027
  return i({
1991
2028
  // pass-through
1992
2029
  node: c,
1993
2030
  view: l,
1994
- getPos: d,
1995
- decorations: u,
2031
+ getPos: u,
2032
+ decorations: d,
1996
2033
  innerDecorations: p,
1997
2034
  // tiptap-specific
1998
2035
  editor: e,
@@ -2070,7 +2107,7 @@ var ct = class {
2070
2107
  if (!o)
2071
2108
  return [];
2072
2109
  const i = (a, c, l) => {
2073
- const d = et(a, r);
2110
+ const u = et(a, r);
2074
2111
  return o()({
2075
2112
  // pass-through
2076
2113
  mark: a,
@@ -2079,9 +2116,9 @@ var ct = class {
2079
2116
  // tiptap-specific
2080
2117
  editor: e,
2081
2118
  extension: n,
2082
- HTMLAttributes: d,
2083
- updateAttributes: (u) => {
2084
- Xr(a, e, u);
2119
+ HTMLAttributes: u,
2120
+ updateAttributes: (d) => {
2121
+ Qr(a, e, d);
2085
2122
  }
2086
2123
  });
2087
2124
  };
@@ -2111,29 +2148,29 @@ var ct = class {
2111
2148
  t,
2112
2149
  "onSelectionUpdate",
2113
2150
  r
2114
- ), c = y(t, "onTransaction", r), l = y(t, "onFocus", r), d = y(t, "onBlur", r), u = y(t, "onDestroy", r);
2115
- s && this.editor.on("beforeCreate", s), o && this.editor.on("create", o), i && this.editor.on("update", i), a && this.editor.on("selectionUpdate", a), c && this.editor.on("transaction", c), l && this.editor.on("focus", l), d && this.editor.on("blur", d), u && this.editor.on("destroy", u);
2151
+ ), c = y(t, "onTransaction", r), l = y(t, "onFocus", r), u = y(t, "onBlur", r), d = y(t, "onDestroy", r);
2152
+ s && this.editor.on("beforeCreate", s), o && this.editor.on("create", o), i && this.editor.on("update", i), a && this.editor.on("selectionUpdate", a), c && this.editor.on("transaction", c), l && this.editor.on("focus", l), u && this.editor.on("blur", u), d && this.editor.on("destroy", d);
2116
2153
  });
2117
2154
  }
2118
2155
  };
2119
- ct.resolve = qt;
2156
+ ct.resolve = Jt;
2120
2157
  ct.sort = V;
2121
2158
  ct.flatten = wt;
2122
2159
  var Br = {};
2123
2160
  vt(Br, {
2124
- ClipboardTextSerializer: () => ne,
2125
- Commands: () => re,
2126
- Delete: () => se,
2127
- Drop: () => oe,
2128
- Editable: () => ie,
2129
- FocusEvents: () => ce,
2130
- Keymap: () => le,
2131
- Paste: () => de,
2132
- Tabindex: () => ue,
2133
- TextDirection: () => fe,
2134
- focusEventsPluginKey: () => ae
2161
+ ClipboardTextSerializer: () => re,
2162
+ Commands: () => se,
2163
+ Delete: () => oe,
2164
+ Drop: () => ie,
2165
+ Editable: () => ae,
2166
+ FocusEvents: () => le,
2167
+ Keymap: () => de,
2168
+ Paste: () => ue,
2169
+ Tabindex: () => fe,
2170
+ TextDirection: () => pe,
2171
+ focusEventsPluginKey: () => ce
2135
2172
  });
2136
- var N = class ee extends xt {
2173
+ var N = class ne extends xt {
2137
2174
  constructor() {
2138
2175
  super(...arguments), this.type = "extension";
2139
2176
  }
@@ -2143,7 +2180,7 @@ var N = class ee extends xt {
2143
2180
  */
2144
2181
  static create(t = {}) {
2145
2182
  const n = typeof t == "function" ? t() : t;
2146
- return new ee(n);
2183
+ return new ne(n);
2147
2184
  }
2148
2185
  configure(t) {
2149
2186
  return super.configure(t);
@@ -2152,7 +2189,7 @@ var N = class ee extends xt {
2152
2189
  const n = typeof t == "function" ? t() : t;
2153
2190
  return super.extend(n);
2154
2191
  }
2155
- }, ne = N.create({
2192
+ }, re = N.create({
2156
2193
  name: "clipboardTextSerializer",
2157
2194
  addOptions() {
2158
2195
  return {
@@ -2162,11 +2199,11 @@ var N = class ee extends xt {
2162
2199
  addProseMirrorPlugins() {
2163
2200
  return [
2164
2201
  new $({
2165
- key: new B("clipboardTextSerializer"),
2202
+ key: new O("clipboardTextSerializer"),
2166
2203
  props: {
2167
2204
  clipboardTextSerializer: () => {
2168
- const { editor: e } = this, { state: t, schema: n } = e, { doc: r, selection: s } = t, { ranges: o } = s, i = Math.min(...o.map((d) => d.$from.pos)), a = Math.max(...o.map((d) => d.$to.pos)), c = Xt(n);
2169
- return Jt(r, { from: i, to: a }, {
2205
+ const { editor: e } = this, { state: t, schema: n } = e, { doc: r, selection: s } = t, { ranges: o } = s, i = Math.min(...o.map((u) => u.$from.pos)), a = Math.max(...o.map((u) => u.$to.pos)), c = Yt(n);
2206
+ return Xt(r, { from: i, to: a }, {
2170
2207
  ...this.options.blockSeparator !== void 0 ? { blockSeparator: this.options.blockSeparator } : {},
2171
2208
  textSerializers: c
2172
2209
  });
@@ -2175,14 +2212,14 @@ var N = class ee extends xt {
2175
2212
  })
2176
2213
  ];
2177
2214
  }
2178
- }), re = N.create({
2215
+ }), se = N.create({
2179
2216
  name: "commands",
2180
2217
  addCommands() {
2181
2218
  return {
2182
- ...Ot
2219
+ ...jt
2183
2220
  };
2184
2221
  }
2185
- }), se = N.create({
2222
+ }), oe = N.create({
2186
2223
  name: "delete",
2187
2224
  onUpdate({ transaction: e, appendedTransactions: t }) {
2188
2225
  var n, r, s;
@@ -2190,31 +2227,31 @@ var N = class ee extends xt {
2190
2227
  var i, a, c, l;
2191
2228
  if ((l = (c = (a = (i = this.editor.options.coreExtensionOptions) == null ? void 0 : i.delete) == null ? void 0 : a.filterTransaction) == null ? void 0 : c.call(a, e)) != null ? l : e.getMeta("y-sync$"))
2192
2229
  return;
2193
- const d = Ln(e.before, [e, ...t]);
2194
- Gn(d).forEach((f) => {
2195
- d.mapping.mapResult(f.oldRange.from).deletedAfter && d.mapping.mapResult(f.oldRange.to).deletedBefore && d.before.nodesBetween(f.oldRange.from, f.oldRange.to, (h, m) => {
2230
+ const u = Hn(e.before, [e, ...t]);
2231
+ er(u).forEach((f) => {
2232
+ u.mapping.mapResult(f.oldRange.from).deletedAfter && u.mapping.mapResult(f.oldRange.to).deletedBefore && u.before.nodesBetween(f.oldRange.from, f.oldRange.to, (h, m) => {
2196
2233
  const g = m + h.nodeSize - 2, v = f.oldRange.from <= m && g <= f.oldRange.to;
2197
2234
  this.editor.emit("delete", {
2198
2235
  type: "node",
2199
2236
  node: h,
2200
2237
  from: m,
2201
2238
  to: g,
2202
- newFrom: d.mapping.map(m),
2203
- newTo: d.mapping.map(g),
2239
+ newFrom: u.mapping.map(m),
2240
+ newTo: u.mapping.map(g),
2204
2241
  deletedRange: f.oldRange,
2205
2242
  newRange: f.newRange,
2206
2243
  partial: !v,
2207
2244
  editor: this.editor,
2208
2245
  transaction: e,
2209
- combinedTransform: d
2246
+ combinedTransform: u
2210
2247
  });
2211
2248
  });
2212
2249
  });
2213
- const p = d.mapping;
2214
- d.steps.forEach((f, h) => {
2250
+ const p = u.mapping;
2251
+ u.steps.forEach((f, h) => {
2215
2252
  var m, g;
2216
- if (f instanceof ge) {
2217
- const v = p.slice(h).map(f.from, -1), b = p.slice(h).map(f.to), k = p.invert().map(v, -1), M = p.invert().map(b), w = (m = d.doc.nodeAt(v - 1)) == null ? void 0 : m.marks.some((E) => E.eq(f.mark)), S = (g = d.doc.nodeAt(b)) == null ? void 0 : g.marks.some((E) => E.eq(f.mark));
2253
+ if (f instanceof ve) {
2254
+ const v = p.slice(h).map(f.from, -1), b = p.slice(h).map(f.to), k = p.invert().map(v, -1), M = p.invert().map(b), w = (m = u.doc.nodeAt(v - 1)) == null ? void 0 : m.marks.some((E) => E.eq(f.mark)), S = (g = u.doc.nodeAt(b)) == null ? void 0 : g.marks.some((E) => E.eq(f.mark));
2218
2255
  this.editor.emit("delete", {
2219
2256
  type: "mark",
2220
2257
  mark: f.mark,
@@ -2231,19 +2268,19 @@ var N = class ee extends xt {
2231
2268
  partial: !!(S || w),
2232
2269
  editor: this.editor,
2233
2270
  transaction: e,
2234
- combinedTransform: d
2271
+ combinedTransform: u
2235
2272
  });
2236
2273
  }
2237
2274
  });
2238
2275
  };
2239
2276
  (s = (r = (n = this.editor.options.coreExtensionOptions) == null ? void 0 : n.delete) == null ? void 0 : r.async) == null || s ? setTimeout(o, 0) : o();
2240
2277
  }
2241
- }), oe = N.create({
2278
+ }), ie = N.create({
2242
2279
  name: "drop",
2243
2280
  addProseMirrorPlugins() {
2244
2281
  return [
2245
2282
  new $({
2246
- key: new B("tiptapDrop"),
2283
+ key: new O("tiptapDrop"),
2247
2284
  props: {
2248
2285
  handleDrop: (e, t, n, r) => {
2249
2286
  this.editor.emit("drop", {
@@ -2257,25 +2294,25 @@ var N = class ee extends xt {
2257
2294
  })
2258
2295
  ];
2259
2296
  }
2260
- }), ie = N.create({
2297
+ }), ae = N.create({
2261
2298
  name: "editable",
2262
2299
  addProseMirrorPlugins() {
2263
2300
  return [
2264
2301
  new $({
2265
- key: new B("editable"),
2302
+ key: new O("editable"),
2266
2303
  props: {
2267
2304
  editable: () => this.editor.options.editable
2268
2305
  }
2269
2306
  })
2270
2307
  ];
2271
2308
  }
2272
- }), ae = new B("focusEvents"), ce = N.create({
2309
+ }), ce = new O("focusEvents"), le = N.create({
2273
2310
  name: "focusEvents",
2274
2311
  addProseMirrorPlugins() {
2275
2312
  const { editor: e } = this;
2276
2313
  return [
2277
2314
  new $({
2278
- key: ae,
2315
+ key: ce,
2279
2316
  props: {
2280
2317
  handleDOMEvents: {
2281
2318
  focus: (t, n) => {
@@ -2293,15 +2330,15 @@ var N = class ee extends xt {
2293
2330
  })
2294
2331
  ];
2295
2332
  }
2296
- }), le = N.create({
2333
+ }), de = N.create({
2297
2334
  name: "keymap",
2298
2335
  addKeyboardShortcuts() {
2299
2336
  const e = () => this.editor.commands.first(({ commands: i }) => [
2300
2337
  () => i.undoInputRule(),
2301
2338
  // maybe convert first text block node to default node
2302
2339
  () => i.command(({ tr: a }) => {
2303
- const { selection: c, doc: l } = a, { empty: d, $anchor: u } = c, { pos: p, parent: f } = u, h = u.parent.isTextblock && p > 0 ? a.doc.resolve(p - 1) : u, m = h.parent.type.spec.isolating, g = u.pos - u.parentOffset, v = m && h.parent.childCount === 1 ? g === u.pos : j.atStart(l).from === p;
2304
- return !d || !f.type.isTextblock || f.textContent.length || !v || v && u.parent.type.name === "paragraph" ? !1 : i.clearNodes();
2340
+ const { selection: c, doc: l } = a, { empty: u, $anchor: d } = c, { pos: p, parent: f } = d, h = d.parent.isTextblock && p > 0 ? a.doc.resolve(p - 1) : d, m = h.parent.type.spec.isolating, g = d.pos - d.parentOffset, v = m && h.parent.childCount === 1 ? g === d.pos : j.atStart(l).from === p;
2341
+ return !u || !f.type.isTextblock || f.textContent.length || !v || v && d.parent.type.name === "paragraph" ? !1 : i.clearNodes();
2305
2342
  }),
2306
2343
  () => i.deleteSelection(),
2307
2344
  () => i.joinBackward(),
@@ -2338,7 +2375,7 @@ var N = class ee extends xt {
2338
2375
  "Ctrl-a": () => this.editor.commands.selectTextblockStart(),
2339
2376
  "Ctrl-e": () => this.editor.commands.selectTextblockEnd()
2340
2377
  };
2341
- return tt() || Vt() ? o : s;
2378
+ return tt() || Wt() ? o : s;
2342
2379
  },
2343
2380
  addProseMirrorPlugins() {
2344
2381
  return [
@@ -2348,7 +2385,7 @@ var N = class ee extends xt {
2348
2385
  // This is an alternative to ProseMirror's `AllSelection`, which doesn’t work well
2349
2386
  // with many other commands.
2350
2387
  new $({
2351
- key: new B("clearDocument"),
2388
+ key: new O("clearDocument"),
2352
2389
  appendTransaction: (e, t, n) => {
2353
2390
  if (e.some((m) => m.getMeta("composition")))
2354
2391
  return;
@@ -2371,12 +2408,12 @@ var N = class ee extends xt {
2371
2408
  })
2372
2409
  ];
2373
2410
  }
2374
- }), de = N.create({
2411
+ }), ue = N.create({
2375
2412
  name: "paste",
2376
2413
  addProseMirrorPlugins() {
2377
2414
  return [
2378
2415
  new $({
2379
- key: new B("tiptapPaste"),
2416
+ key: new O("tiptapPaste"),
2380
2417
  props: {
2381
2418
  handlePaste: (e, t, n) => {
2382
2419
  this.editor.emit("paste", {
@@ -2389,19 +2426,19 @@ var N = class ee extends xt {
2389
2426
  })
2390
2427
  ];
2391
2428
  }
2392
- }), ue = N.create({
2429
+ }), fe = N.create({
2393
2430
  name: "tabindex",
2394
2431
  addProseMirrorPlugins() {
2395
2432
  return [
2396
2433
  new $({
2397
- key: new B("tabindex"),
2434
+ key: new O("tabindex"),
2398
2435
  props: {
2399
2436
  attributes: () => this.editor.isEditable ? { tabindex: "0" } : {}
2400
2437
  }
2401
2438
  })
2402
2439
  ];
2403
2440
  }
2404
- }), fe = N.create({
2441
+ }), pe = N.create({
2405
2442
  name: "textDirection",
2406
2443
  addOptions() {
2407
2444
  return {
@@ -2433,7 +2470,7 @@ var N = class ee extends xt {
2433
2470
  addProseMirrorPlugins() {
2434
2471
  return [
2435
2472
  new $({
2436
- key: new B("textDirection"),
2473
+ key: new O("textDirection"),
2437
2474
  props: {
2438
2475
  attributes: () => {
2439
2476
  const e = this.options.direction;
@@ -2445,7 +2482,7 @@ var N = class ee extends xt {
2445
2482
  })
2446
2483
  ];
2447
2484
  }
2448
- }), _r = class F {
2485
+ }), jr = class F {
2449
2486
  constructor(t, n, r = !1, s = null) {
2450
2487
  this.currentNode = null, this.actualDepth = null, this.isBlock = r, this.resolvedPos = t, this.editor = n, this.currentNode = s;
2451
2488
  }
@@ -2570,7 +2607,7 @@ var N = class ee extends xt {
2570
2607
  ...t
2571
2608
  }), this.editor.view.dispatch(n);
2572
2609
  }
2573
- }, Or = `.ProseMirror {
2610
+ }, Lr = `.ProseMirror {
2574
2611
  position: relative;
2575
2612
  }
2576
2613
 
@@ -2641,14 +2678,14 @@ img.ProseMirror-separator {
2641
2678
  .ProseMirror-focused .ProseMirror-gapcursor {
2642
2679
  display: block;
2643
2680
  }`;
2644
- function jr(e, t, n) {
2681
+ function Hr(e, t, n) {
2645
2682
  const r = document.querySelector("style[data-tiptap-style]");
2646
2683
  if (r !== null)
2647
2684
  return r;
2648
2685
  const s = document.createElement("style");
2649
2686
  return t && s.setAttribute("nonce", t), s.setAttribute("data-tiptap-style", ""), s.innerHTML = e, document.getElementsByTagName("head")[0].appendChild(s), s;
2650
2687
  }
2651
- var cs = class extends Er {
2688
+ var ds = class extends Ar {
2652
2689
  constructor(t = {}) {
2653
2690
  super(), this.css = null, this.className = "tiptap", this.editorView = null, this.isFocused = !1, this.isInitialized = !1, this.extensionStorage = {}, this.instanceId = Math.random().toString(36).slice(2, 9), this.options = {
2654
2691
  element: typeof document < "u" ? document.createElement("div") : null,
@@ -2685,11 +2722,11 @@ var cs = class extends Er {
2685
2722
  onDelete: () => null,
2686
2723
  enableExtensionDispatchTransaction: !0
2687
2724
  }, this.isCapturingTransaction = !1, this.capturedTransaction = null, this.utils = {
2688
- getUpdatedPosition: nr,
2689
- createMappablePosition: rr
2725
+ getUpdatedPosition: sr,
2726
+ createMappablePosition: or
2690
2727
  }, this.setOptions(t), this.createExtensionManager(), this.createCommandManager(), this.createSchema(), this.on("beforeCreate", this.options.onBeforeCreate), this.emit("beforeCreate", { editor: this }), this.on("mount", this.options.onMount), this.on("unmount", this.options.onUnmount), this.on("contentError", this.options.onContentError), this.on("create", this.options.onCreate), this.on("update", this.options.onUpdate), this.on("selectionUpdate", this.options.onSelectionUpdate), this.on("transaction", this.options.onTransaction), this.on("focus", this.options.onFocus), this.on("blur", this.options.onBlur), this.on("destroy", this.options.onDestroy), this.on("drop", ({ event: s, slice: o, moved: i }) => this.options.onDrop(s, o, i)), this.on("paste", ({ event: s, slice: o }) => this.options.onPaste(s, o)), this.on("delete", this.options.onDelete);
2691
- const n = this.createDoc(), r = Ht(n, this.options.autofocus);
2692
- this.editorState = Oe.create({
2728
+ const n = this.createDoc(), r = Ft(n, this.options.autofocus);
2729
+ this.editorState = je.create({
2693
2730
  doc: n,
2694
2731
  schema: this.schema,
2695
2732
  selection: r || void 0
@@ -2751,7 +2788,7 @@ var cs = class extends Er {
2751
2788
  * Inject CSS styles.
2752
2789
  */
2753
2790
  injectCSS() {
2754
- this.options.injectCSS && typeof document < "u" && (this.css = jr(Or, this.options.injectNonce));
2791
+ this.options.injectCSS && typeof document < "u" && (this.css = Hr(Lr, this.options.injectNonce));
2755
2792
  }
2756
2793
  /**
2757
2794
  * Update editor options.
@@ -2824,7 +2861,7 @@ var cs = class extends Er {
2824
2861
  * @returns The new editor state
2825
2862
  */
2826
2863
  registerPlugin(t, n) {
2827
- const r = Ut(n) ? n(t, [...this.state.plugins]) : [...this.state.plugins, t], s = this.state.reconfigure({ plugins: r });
2864
+ const r = Kt(n) ? n(t, [...this.state.plugins]) : [...this.state.plugins, t], s = this.state.reconfigure({ plugins: r });
2828
2865
  return this.view.updateState(s), s;
2829
2866
  }
2830
2867
  /**
@@ -2854,18 +2891,18 @@ var cs = class extends Er {
2854
2891
  createExtensionManager() {
2855
2892
  var t, n;
2856
2893
  const s = [...this.options.enableCoreExtensions ? [
2857
- ie,
2858
- ne.configure({
2894
+ ae,
2895
+ re.configure({
2859
2896
  blockSeparator: (n = (t = this.options.coreExtensionOptions) == null ? void 0 : t.clipboardTextSerializer) == null ? void 0 : n.blockSeparator
2860
2897
  }),
2861
- re,
2862
- ce,
2898
+ se,
2863
2899
  le,
2900
+ de,
2901
+ fe,
2902
+ ie,
2864
2903
  ue,
2865
2904
  oe,
2866
- de,
2867
- se,
2868
- fe.configure({
2905
+ pe.configure({
2869
2906
  direction: this.options.textDirection
2870
2907
  })
2871
2908
  ].filter((o) => typeof this.options.enableCoreExtensions == "object" ? this.options.enableCoreExtensions[o.name] !== !1 : !0) : [], ...this.options.extensions].filter((o) => ["extension", "node", "mark"].includes(o?.type));
@@ -2914,7 +2951,7 @@ var cs = class extends Er {
2914
2951
  */
2915
2952
  createView(t) {
2916
2953
  const { editorProps: n, enableExtensionDispatchTransaction: r } = this.options, s = n.dispatchTransaction || this.dispatchTransaction.bind(this), o = r ? this.extensionManager.dispatchTransaction(s) : s, i = n.transformPastedHTML, a = this.extensionManager.transformPastedHTML(i);
2917
- this.editorView = new Ke(t, {
2954
+ this.editorView = new qe(t, {
2918
2955
  ...n,
2919
2956
  attributes: {
2920
2957
  // add `role="textbox"` to the editor element
@@ -2967,9 +3004,9 @@ var cs = class extends Er {
2967
3004
  this.capturedTransaction = t;
2968
3005
  return;
2969
3006
  }
2970
- t.steps.forEach((d) => {
2971
- var u;
2972
- return (u = this.capturedTransaction) == null ? void 0 : u.step(d);
3007
+ t.steps.forEach((u) => {
3008
+ var d;
3009
+ return (d = this.capturedTransaction) == null ? void 0 : d.step(u);
2973
3010
  });
2974
3011
  return;
2975
3012
  }
@@ -2988,7 +3025,7 @@ var cs = class extends Er {
2988
3025
  editor: this,
2989
3026
  transaction: t
2990
3027
  });
2991
- const a = r.findLast((d) => d.getMeta("focus") || d.getMeta("blur")), c = a?.getMeta("focus"), l = a?.getMeta("blur");
3028
+ const a = r.findLast((u) => u.getMeta("focus") || u.getMeta("blur")), c = a?.getMeta("focus"), l = a?.getMeta("blur");
2992
3029
  c && this.emit("focus", {
2993
3030
  editor: this,
2994
3031
  event: c.event,
@@ -2999,7 +3036,7 @@ var cs = class extends Er {
2999
3036
  event: l.event,
3000
3037
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3001
3038
  transaction: a
3002
- }), !(t.getMeta("preventUpdate") || !r.some((d) => d.docChanged) || i.doc.eq(n.doc)) && this.emit("update", {
3039
+ }), !(t.getMeta("preventUpdate") || !r.some((u) => u.docChanged) || i.doc.eq(n.doc)) && this.emit("update", {
3003
3040
  editor: this,
3004
3041
  transaction: t,
3005
3042
  appendedTransactions: r.slice(1)
@@ -3009,11 +3046,11 @@ var cs = class extends Er {
3009
3046
  * Get attributes of the currently selected node or mark.
3010
3047
  */
3011
3048
  getAttributes(t) {
3012
- return Yn(this.state, t);
3049
+ return Zn(this.state, t);
3013
3050
  }
3014
3051
  isActive(t, n) {
3015
3052
  const r = typeof t == "string" ? t : null, s = typeof t == "string" ? n : t;
3016
- return er(this.state, r, s);
3053
+ return rr(this.state, r, s);
3017
3054
  }
3018
3055
  /**
3019
3056
  * Get the document as JSON.
@@ -3034,10 +3071,10 @@ var cs = class extends Er {
3034
3071
  const { blockSeparator: n = `
3035
3072
 
3036
3073
  `, textSerializers: r = {} } = t || {};
3037
- return Jn(this.state.doc, {
3074
+ return Yn(this.state.doc, {
3038
3075
  blockSeparator: n,
3039
3076
  textSerializers: {
3040
- ...Xt(this.schema),
3077
+ ...Yt(this.schema),
3041
3078
  ...r
3042
3079
  }
3043
3080
  });
@@ -3071,13 +3108,13 @@ var cs = class extends Er {
3071
3108
  }
3072
3109
  $pos(t) {
3073
3110
  const n = this.state.doc.resolve(t);
3074
- return new _r(n, this);
3111
+ return new jr(n, this);
3075
3112
  }
3076
3113
  get $doc() {
3077
3114
  return this.$pos(0);
3078
3115
  }
3079
3116
  };
3080
- function ds(e) {
3117
+ function fs(e) {
3081
3118
  return new at({
3082
3119
  find: e.find,
3083
3120
  handler: ({ state: t, range: n, match: r }) => {
@@ -3086,10 +3123,10 @@ function ds(e) {
3086
3123
  return null;
3087
3124
  const { tr: o } = t, i = r[r.length - 1], a = r[0];
3088
3125
  if (i) {
3089
- const c = a.search(/\S/), l = n.from + a.indexOf(i), d = l + i.length;
3090
- if (Yt(n.from, n.to, t.doc).filter((f) => f.mark.type.excluded.find((m) => m === e.type && m !== f.mark.type)).filter((f) => f.to > l).length)
3126
+ const c = a.search(/\S/), l = n.from + a.indexOf(i), u = l + i.length;
3127
+ if (Qt(n.from, n.to, t.doc).filter((f) => f.mark.type.excluded.find((m) => m === e.type && m !== f.mark.type)).filter((f) => f.to > l).length)
3091
3128
  return null;
3092
- d < n.to && o.delete(d, n.to), l > n.from && o.delete(n.from + c, l);
3129
+ u < n.to && o.delete(u, n.to), l > n.from && o.delete(n.from + c, l);
3093
3130
  const p = n.from + c + i.length;
3094
3131
  o.addMark(n.from + c, p, e.type.create(s || {})), o.removeStoredMark(e.type);
3095
3132
  }
@@ -3097,7 +3134,7 @@ function ds(e) {
3097
3134
  undoable: e.undoable
3098
3135
  });
3099
3136
  }
3100
- function us(e) {
3137
+ function ps(e) {
3101
3138
  return new at({
3102
3139
  find: e.find,
3103
3140
  handler: ({ state: t, range: n, match: r }) => {
@@ -3106,10 +3143,10 @@ function us(e) {
3106
3143
  const c = e.type.create(s);
3107
3144
  if (r[1]) {
3108
3145
  const l = r[0].lastIndexOf(r[1]);
3109
- let d = i + l;
3110
- d > a ? d = a : a = d + r[1].length;
3111
- const u = r[0][r[0].length - 1];
3112
- o.insertText(u, i + r[0].length - 1), o.replaceWith(d, a, c);
3146
+ let u = i + l;
3147
+ u > a ? u = a : a = u + r[1].length;
3148
+ const d = r[0][r[0].length - 1];
3149
+ o.insertText(d, i + r[0].length - 1), o.replaceWith(u, a, c);
3113
3150
  } else if (r[0]) {
3114
3151
  const l = e.type.isInline ? i : i - 1;
3115
3152
  o.insert(l, e.type.create(s)).delete(o.mapping.map(i), o.mapping.map(a));
@@ -3119,7 +3156,7 @@ function us(e) {
3119
3156
  undoable: e.undoable
3120
3157
  });
3121
3158
  }
3122
- function fs(e) {
3159
+ function hs(e) {
3123
3160
  return new at({
3124
3161
  find: e.find,
3125
3162
  handler: ({ state: t, range: n, match: r }) => {
@@ -3131,31 +3168,31 @@ function fs(e) {
3131
3168
  undoable: e.undoable
3132
3169
  });
3133
3170
  }
3134
- function ps(e) {
3171
+ function ms(e) {
3135
3172
  return new at({
3136
3173
  find: e.find,
3137
3174
  handler: ({ state: t, range: n, match: r, chain: s }) => {
3138
- const o = x(e.getAttributes, void 0, r) || {}, i = t.tr.delete(n.from, n.to), c = i.doc.resolve(n.from).blockRange(), l = c && he(c, e.type, o);
3175
+ const o = x(e.getAttributes, void 0, r) || {}, i = t.tr.delete(n.from, n.to), c = i.doc.resolve(n.from).blockRange(), l = c && me(c, e.type, o);
3139
3176
  if (!l)
3140
3177
  return null;
3141
3178
  if (i.wrap(c, l), e.keepMarks && e.editor) {
3142
- const { selection: u, storedMarks: p } = t, { splittableMarks: f } = e.editor.extensionManager, h = p || u.$to.parentOffset && u.$from.marks();
3179
+ const { selection: d, storedMarks: p } = t, { splittableMarks: f } = e.editor.extensionManager, h = p || d.$to.parentOffset && d.$from.marks();
3143
3180
  if (h) {
3144
3181
  const m = h.filter((g) => f.includes(g.type.name));
3145
3182
  i.ensureMarks(m);
3146
3183
  }
3147
3184
  }
3148
3185
  if (e.keepAttributes) {
3149
- const u = e.type.name === "bulletList" || e.type.name === "orderedList" ? "listItem" : "taskList";
3150
- s().updateAttributes(u, o).run();
3186
+ const d = e.type.name === "bulletList" || e.type.name === "orderedList" ? "listItem" : "taskList";
3187
+ s().updateAttributes(d, o).run();
3151
3188
  }
3152
- const d = i.doc.resolve(n.from - 1).nodeBefore;
3153
- d && d.type === e.type && gt(i.doc, n.from - 1) && (!e.joinPredicate || e.joinPredicate(r, d)) && i.join(n.from - 1);
3189
+ const u = i.doc.resolve(n.from - 1).nodeBefore;
3190
+ u && u.type === e.type && gt(i.doc, n.from - 1) && (!e.joinPredicate || e.joinPredicate(r, u)) && i.join(n.from - 1);
3154
3191
  },
3155
3192
  undoable: e.undoable
3156
3193
  });
3157
3194
  }
3158
- var Lr = (e) => "touches" in e, hs = class {
3195
+ var Fr = (e) => "touches" in e, gs = class {
3159
3196
  /**
3160
3197
  * Creates a new ResizableNodeView instance.
3161
3198
  *
@@ -3184,8 +3221,8 @@ var Lr = (e) => "touches" in e, hs = class {
3184
3221
  const c = a.touches[0];
3185
3222
  if (!c)
3186
3223
  return;
3187
- const l = c.clientX - this.startX, d = c.clientY - this.startY;
3188
- this.handleResize(l, d);
3224
+ const l = c.clientX - this.startX, u = c.clientY - this.startY;
3225
+ this.handleResize(l, u);
3189
3226
  }, this.handleMouseUp = () => {
3190
3227
  if (!this.isResizing)
3191
3228
  return;
@@ -3346,7 +3383,7 @@ var Lr = (e) => "touches" in e, hs = class {
3346
3383
  * @param direction - The direction of the handle being dragged
3347
3384
  */
3348
3385
  handleResizeStart(e, t) {
3349
- e.preventDefault(), e.stopPropagation(), this.isResizing = !0, this.activeHandle = t, Lr(e) ? (this.startX = e.touches[0].clientX, this.startY = e.touches[0].clientY) : (this.startX = e.clientX, this.startY = e.clientY), this.startWidth = this.element.offsetWidth, this.startHeight = this.element.offsetHeight, this.startWidth > 0 && this.startHeight > 0 && (this.aspectRatio = this.startWidth / this.startHeight), this.getPos(), this.container.dataset.resizeState = "true", this.classNames.resizing && this.container.classList.add(this.classNames.resizing), document.addEventListener("mousemove", this.handleMouseMove), document.addEventListener("touchmove", this.handleTouchMove), document.addEventListener("mouseup", this.handleMouseUp), document.addEventListener("keydown", this.handleKeyDown), document.addEventListener("keyup", this.handleKeyUp);
3386
+ e.preventDefault(), e.stopPropagation(), this.isResizing = !0, this.activeHandle = t, Fr(e) ? (this.startX = e.touches[0].clientX, this.startY = e.touches[0].clientY) : (this.startX = e.clientX, this.startY = e.clientY), this.startWidth = this.element.offsetWidth, this.startHeight = this.element.offsetHeight, this.startWidth > 0 && this.startHeight > 0 && (this.aspectRatio = this.startWidth / this.startHeight), this.getPos(), this.container.dataset.resizeState = "true", this.classNames.resizing && this.container.classList.add(this.classNames.resizing), document.addEventListener("mousemove", this.handleMouseMove), document.addEventListener("touchmove", this.handleTouchMove), document.addEventListener("mouseup", this.handleMouseUp), document.addEventListener("keydown", this.handleKeyDown), document.addEventListener("keyup", this.handleKeyUp);
3350
3387
  }
3351
3388
  handleResize(e, t) {
3352
3389
  if (!this.activeHandle)
@@ -3390,8 +3427,8 @@ var Lr = (e) => "touches" in e, hs = class {
3390
3427
  applyConstraints(e, t, n) {
3391
3428
  var r, s, o, i;
3392
3429
  if (!n) {
3393
- let l = Math.max(this.minSize.width, e), d = Math.max(this.minSize.height, t);
3394
- return (r = this.maxSize) != null && r.width && (l = Math.min(this.maxSize.width, l)), (s = this.maxSize) != null && s.height && (d = Math.min(this.maxSize.height, d)), { width: l, height: d };
3430
+ let l = Math.max(this.minSize.width, e), u = Math.max(this.minSize.height, t);
3431
+ return (r = this.maxSize) != null && r.width && (l = Math.min(this.maxSize.width, l)), (s = this.maxSize) != null && s.height && (u = Math.min(this.maxSize.height, u)), { width: l, height: u };
3395
3432
  }
3396
3433
  let a = e, c = t;
3397
3434
  return a < this.minSize.width && (a = this.minSize.width, c = a / this.aspectRatio), c < this.minSize.height && (c = this.minSize.height, a = c * this.aspectRatio), (o = this.maxSize) != null && o.width && a > this.maxSize.width && (a = this.maxSize.width, c = a / this.aspectRatio), (i = this.maxSize) != null && i.height && c > this.maxSize.height && (c = this.maxSize.height, a = c * this.aspectRatio), { width: a, height: c };
@@ -3423,7 +3460,7 @@ var Lr = (e) => "touches" in e, hs = class {
3423
3460
  };
3424
3461
  }
3425
3462
  };
3426
- function ms(e, t) {
3463
+ function vs(e, t) {
3427
3464
  const { selection: n } = e, { $from: r } = n;
3428
3465
  if (n instanceof nt) {
3429
3466
  const o = r.index();
@@ -3438,14 +3475,14 @@ function ms(e, t) {
3438
3475
  }
3439
3476
  return !1;
3440
3477
  }
3441
- var Hr = {};
3442
- vt(Hr, {
3443
- createAtomBlockMarkdownSpec: () => Fr,
3444
- createBlockMarkdownSpec: () => Vr,
3445
- createInlineMarkdownSpec: () => Kr,
3478
+ var Vr = {};
3479
+ vt(Vr, {
3480
+ createAtomBlockMarkdownSpec: () => Wr,
3481
+ createBlockMarkdownSpec: () => Ur,
3482
+ createInlineMarkdownSpec: () => Jr,
3446
3483
  parseAttributes: () => St,
3447
- parseIndentedBlocks: () => qr,
3448
- renderNestedMarkdownContent: () => Jr,
3484
+ parseIndentedBlocks: () => Xr,
3485
+ renderNestedMarkdownContent: () => Yr,
3449
3486
  serializeAttributes: () => Et
3450
3487
  });
3451
3488
  function St(e) {
@@ -3453,20 +3490,20 @@ function St(e) {
3453
3490
  return {};
3454
3491
  const t = {}, n = [], r = e.replace(/["']([^"']*)["']/g, (l) => (n.push(l), `__QUOTED_${n.length - 1}__`)), s = r.match(/(?:^|\s)\.([a-zA-Z][\w-]*)/g);
3455
3492
  if (s) {
3456
- const l = s.map((d) => d.trim().slice(1));
3493
+ const l = s.map((u) => u.trim().slice(1));
3457
3494
  t.class = l.join(" ");
3458
3495
  }
3459
3496
  const o = r.match(/(?:^|\s)#([a-zA-Z][\w-]*)/);
3460
3497
  o && (t.id = o[1]);
3461
3498
  const i = /([a-zA-Z][\w-]*)\s*=\s*(__QUOTED_\d+__)/g;
3462
- Array.from(r.matchAll(i)).forEach(([, l, d]) => {
3463
- var u;
3464
- const p = parseInt(((u = d.match(/__QUOTED_(\d+)__/)) == null ? void 0 : u[1]) || "0", 10), f = n[p];
3499
+ Array.from(r.matchAll(i)).forEach(([, l, u]) => {
3500
+ var d;
3501
+ const p = parseInt(((d = u.match(/__QUOTED_(\d+)__/)) == null ? void 0 : d[1]) || "0", 10), f = n[p];
3465
3502
  f && (t[l] = f.slice(1, -1));
3466
3503
  });
3467
3504
  const c = r.replace(/(?:^|\s)\.([a-zA-Z][\w-]*)/g, "").replace(/(?:^|\s)#([a-zA-Z][\w-]*)/g, "").replace(/([a-zA-Z][\w-]*)\s*=\s*__QUOTED_\d+__/g, "").trim();
3468
- return c && c.split(/\s+/).filter(Boolean).forEach((d) => {
3469
- d.match(/^[a-zA-Z][\w-]*$/) && (t[d] = !0);
3505
+ return c && c.split(/\s+/).filter(Boolean).forEach((u) => {
3506
+ u.match(/^[a-zA-Z][\w-]*$/) && (t[u] = !0);
3470
3507
  }), t;
3471
3508
  }
3472
3509
  function Et(e) {
@@ -3477,7 +3514,7 @@ function Et(e) {
3477
3514
  n === "class" || n === "id" || (r === !0 ? t.push(n) : r !== !1 && r != null && t.push(`${n}="${String(r)}"`));
3478
3515
  }), t.join(" ");
3479
3516
  }
3480
- function Fr(e) {
3517
+ function Wr(e) {
3481
3518
  const {
3482
3519
  nodeName: t,
3483
3520
  name: n,
@@ -3486,29 +3523,29 @@ function Fr(e) {
3486
3523
  defaultAttributes: o = {},
3487
3524
  requiredAttributes: i = [],
3488
3525
  allowedAttributes: a
3489
- } = e, c = n || t, l = (d) => {
3526
+ } = e, c = n || t, l = (u) => {
3490
3527
  if (!a)
3491
- return d;
3492
- const u = {};
3528
+ return u;
3529
+ const d = {};
3493
3530
  return a.forEach((p) => {
3494
- p in d && (u[p] = d[p]);
3495
- }), u;
3531
+ p in u && (d[p] = u[p]);
3532
+ }), d;
3496
3533
  };
3497
3534
  return {
3498
- parseMarkdown: (d, u) => {
3499
- const p = { ...o, ...d.attributes };
3500
- return u.createNode(t, p, []);
3535
+ parseMarkdown: (u, d) => {
3536
+ const p = { ...o, ...u.attributes };
3537
+ return d.createNode(t, p, []);
3501
3538
  },
3502
3539
  markdownTokenizer: {
3503
3540
  name: t,
3504
3541
  level: "block",
3505
- start(d) {
3506
- var u;
3507
- const p = new RegExp(`^:::${c}(?:\\s|$)`, "m"), f = (u = d.match(p)) == null ? void 0 : u.index;
3542
+ start(u) {
3543
+ var d;
3544
+ const p = new RegExp(`^:::${c}(?:\\s|$)`, "m"), f = (d = u.match(p)) == null ? void 0 : d.index;
3508
3545
  return f !== void 0 ? f : -1;
3509
3546
  },
3510
- tokenize(d, u, p) {
3511
- const f = new RegExp(`^:::${c}(?:\\s+\\{([^}]*)\\})?\\s*:::(?:\\n|$)`), h = d.match(f);
3547
+ tokenize(u, d, p) {
3548
+ const f = new RegExp(`^:::${c}(?:\\s+\\{([^}]*)\\})?\\s*:::(?:\\n|$)`), h = u.match(f);
3512
3549
  if (!h)
3513
3550
  return;
3514
3551
  const m = h[1] || "", g = r(m);
@@ -3520,13 +3557,13 @@ function Fr(e) {
3520
3557
  };
3521
3558
  }
3522
3559
  },
3523
- renderMarkdown: (d) => {
3524
- const u = l(d.attrs || {}), p = s(u), f = p ? ` {${p}}` : "";
3560
+ renderMarkdown: (u) => {
3561
+ const d = l(u.attrs || {}), p = s(d), f = p ? ` {${p}}` : "";
3525
3562
  return `:::${c}${f} :::`;
3526
3563
  }
3527
3564
  };
3528
3565
  }
3529
- function Vr(e) {
3566
+ function Ur(e) {
3530
3567
  const {
3531
3568
  nodeName: t,
3532
3569
  name: n,
@@ -3536,42 +3573,42 @@ function Vr(e) {
3536
3573
  defaultAttributes: i = {},
3537
3574
  content: a = "block",
3538
3575
  allowedAttributes: c
3539
- } = e, l = n || t, d = (u) => {
3576
+ } = e, l = n || t, u = (d) => {
3540
3577
  if (!c)
3541
- return u;
3578
+ return d;
3542
3579
  const p = {};
3543
3580
  return c.forEach((f) => {
3544
- f in u && (p[f] = u[f]);
3581
+ f in d && (p[f] = d[f]);
3545
3582
  }), p;
3546
3583
  };
3547
3584
  return {
3548
- parseMarkdown: (u, p) => {
3585
+ parseMarkdown: (d, p) => {
3549
3586
  let f;
3550
3587
  if (r) {
3551
- const m = r(u);
3588
+ const m = r(d);
3552
3589
  f = typeof m == "string" ? [{ type: "text", text: m }] : m;
3553
- } else a === "block" ? f = p.parseChildren(u.tokens || []) : f = p.parseInline(u.tokens || []);
3554
- const h = { ...i, ...u.attributes };
3590
+ } else a === "block" ? f = p.parseChildren(d.tokens || []) : f = p.parseInline(d.tokens || []);
3591
+ const h = { ...i, ...d.attributes };
3555
3592
  return p.createNode(t, h, f);
3556
3593
  },
3557
3594
  markdownTokenizer: {
3558
3595
  name: t,
3559
3596
  level: "block",
3560
- start(u) {
3597
+ start(d) {
3561
3598
  var p;
3562
- const f = new RegExp(`^:::${l}`, "m"), h = (p = u.match(f)) == null ? void 0 : p.index;
3599
+ const f = new RegExp(`^:::${l}`, "m"), h = (p = d.match(f)) == null ? void 0 : p.index;
3563
3600
  return h !== void 0 ? h : -1;
3564
3601
  },
3565
- tokenize(u, p, f) {
3602
+ tokenize(d, p, f) {
3566
3603
  var h;
3567
- const m = new RegExp(`^:::${l}(?:\\s+\\{([^}]*)\\})?\\s*\\n`), g = u.match(m);
3604
+ const m = new RegExp(`^:::${l}(?:\\s+\\{([^}]*)\\})?\\s*\\n`), g = d.match(m);
3568
3605
  if (!g)
3569
3606
  return;
3570
3607
  const [v, b = ""] = g, k = s(b);
3571
3608
  let M = 1;
3572
3609
  const w = v.length;
3573
3610
  let S = "";
3574
- const E = /^:::([\w-]*)(\s.*)?/gm, A = u.slice(w);
3611
+ const E = /^:::([\w-]*)(\s.*)?/gm, A = d.slice(w);
3575
3612
  for (E.lastIndex = 0; ; ) {
3576
3613
  const C = E.exec(A);
3577
3614
  if (C === null)
@@ -3583,7 +3620,7 @@ function Vr(e) {
3583
3620
  else if (M -= 1, M === 0) {
3584
3621
  const K = A.slice(0, _);
3585
3622
  S = K.trim();
3586
- const dt = u.slice(0, w + _ + C[0].length);
3623
+ const dt = d.slice(0, w + _ + C[0].length);
3587
3624
  let I = [];
3588
3625
  if (S)
3589
3626
  if (a === "block")
@@ -3610,8 +3647,8 @@ function Vr(e) {
3610
3647
  }
3611
3648
  }
3612
3649
  },
3613
- renderMarkdown: (u, p) => {
3614
- const f = d(u.attrs || {}), h = o(f), m = h ? ` {${h}}` : "", g = p.renderChildren(u.content || [], `
3650
+ renderMarkdown: (d, p) => {
3651
+ const f = u(d.attrs || {}), h = o(f), m = h ? ` {${h}}` : "", g = p.renderChildren(d.content || [], `
3615
3652
 
3616
3653
  `);
3617
3654
  return `:::${l}${m}
@@ -3622,7 +3659,7 @@ ${g}
3622
3659
  }
3623
3660
  };
3624
3661
  }
3625
- function Wr(e) {
3662
+ function Kr(e) {
3626
3663
  if (!e.trim())
3627
3664
  return {};
3628
3665
  const t = {}, n = /(\w+)=(?:"([^"]*)"|'([^']*)')/g;
@@ -3633,20 +3670,20 @@ function Wr(e) {
3633
3670
  }
3634
3671
  return t;
3635
3672
  }
3636
- function Ur(e) {
3673
+ function qr(e) {
3637
3674
  return Object.entries(e).filter(([, t]) => t != null).map(([t, n]) => `${t}="${n}"`).join(" ");
3638
3675
  }
3639
- function Kr(e) {
3676
+ function Jr(e) {
3640
3677
  const {
3641
3678
  nodeName: t,
3642
3679
  name: n,
3643
3680
  getContent: r,
3644
- parseAttributes: s = Wr,
3645
- serializeAttributes: o = Ur,
3681
+ parseAttributes: s = Kr,
3682
+ serializeAttributes: o = qr,
3646
3683
  defaultAttributes: i = {},
3647
3684
  selfClosing: a = !1,
3648
3685
  allowedAttributes: c
3649
- } = e, l = n || t, d = (p) => {
3686
+ } = e, l = n || t, u = (p) => {
3650
3687
  if (!c)
3651
3688
  return p;
3652
3689
  const f = {};
@@ -3659,7 +3696,7 @@ function Kr(e) {
3659
3696
  f[m] = v;
3660
3697
  }
3661
3698
  }), f;
3662
- }, u = l.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
3699
+ }, d = l.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
3663
3700
  return {
3664
3701
  parseMarkdown: (p, f) => {
3665
3702
  const h = { ...i, ...p.attributes };
@@ -3672,11 +3709,11 @@ function Kr(e) {
3672
3709
  name: t,
3673
3710
  level: "inline",
3674
3711
  start(p) {
3675
- const f = a ? new RegExp(`\\[${u}\\s*[^\\]]*\\]`) : new RegExp(`\\[${u}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${u}\\]`), h = p.match(f), m = h?.index;
3712
+ const f = a ? new RegExp(`\\[${d}\\s*[^\\]]*\\]`) : new RegExp(`\\[${d}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${d}\\]`), h = p.match(f), m = h?.index;
3676
3713
  return m !== void 0 ? m : -1;
3677
3714
  },
3678
3715
  tokenize(p, f, h) {
3679
- const m = a ? new RegExp(`^\\[${u}\\s*([^\\]]*)\\]`) : new RegExp(`^\\[${u}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${u}\\]`), g = p.match(m);
3716
+ const m = a ? new RegExp(`^\\[${d}\\s*([^\\]]*)\\]`) : new RegExp(`^\\[${d}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${d}\\]`), g = p.match(m);
3680
3717
  if (!g)
3681
3718
  return;
3682
3719
  let v = "", b = "";
@@ -3699,24 +3736,24 @@ function Kr(e) {
3699
3736
  renderMarkdown: (p) => {
3700
3737
  let f = "";
3701
3738
  r ? f = r(p) : p.content && p.content.length > 0 && (f = p.content.filter((v) => v.type === "text").map((v) => v.text).join(""));
3702
- const h = d(p.attrs || {}), m = o(h), g = m ? ` ${m}` : "";
3739
+ const h = u(p.attrs || {}), m = o(h), g = m ? ` ${m}` : "";
3703
3740
  return a ? `[${l}${g}]` : `[${l}${g}]${f}[/${l}]`;
3704
3741
  }
3705
3742
  };
3706
3743
  }
3707
- function qr(e, t, n) {
3744
+ function Xr(e, t, n) {
3708
3745
  var r, s, o, i;
3709
3746
  const a = e.split(`
3710
3747
  `), c = [];
3711
- let l = "", d = 0;
3712
- const u = t.baseIndentSize || 2;
3713
- for (; d < a.length; ) {
3714
- const p = a[d], f = p.match(t.itemPattern);
3748
+ let l = "", u = 0;
3749
+ const d = t.baseIndentSize || 2;
3750
+ for (; u < a.length; ) {
3751
+ const p = a[u], f = p.match(t.itemPattern);
3715
3752
  if (!f) {
3716
3753
  if (c.length > 0)
3717
3754
  break;
3718
3755
  if (p.trim() === "") {
3719
- d += 1, l = `${l}${p}
3756
+ u += 1, l = `${l}${p}
3720
3757
  `;
3721
3758
  continue;
3722
3759
  } else
@@ -3726,29 +3763,29 @@ function qr(e, t, n) {
3726
3763
  l = `${l}${p}
3727
3764
  `;
3728
3765
  const v = [g];
3729
- for (d += 1; d < a.length; ) {
3730
- const w = a[d];
3766
+ for (u += 1; u < a.length; ) {
3767
+ const w = a[u];
3731
3768
  if (w.trim() === "") {
3732
- const E = a.slice(d + 1).findIndex((_) => _.trim() !== "");
3769
+ const E = a.slice(u + 1).findIndex((_) => _.trim() !== "");
3733
3770
  if (E === -1)
3734
3771
  break;
3735
- if ((((s = (r = a[d + 1 + E].match(/^(\s*)/)) == null ? void 0 : r[1]) == null ? void 0 : s.length) || 0) > m) {
3772
+ if ((((s = (r = a[u + 1 + E].match(/^(\s*)/)) == null ? void 0 : r[1]) == null ? void 0 : s.length) || 0) > m) {
3736
3773
  v.push(w), l = `${l}${w}
3737
- `, d += 1;
3774
+ `, u += 1;
3738
3775
  continue;
3739
3776
  } else
3740
3777
  break;
3741
3778
  }
3742
3779
  if ((((i = (o = w.match(/^(\s*)/)) == null ? void 0 : o[1]) == null ? void 0 : i.length) || 0) > m)
3743
3780
  v.push(w), l = `${l}${w}
3744
- `, d += 1;
3781
+ `, u += 1;
3745
3782
  else
3746
3783
  break;
3747
3784
  }
3748
3785
  let b;
3749
3786
  const k = v.slice(1);
3750
3787
  if (k.length > 0) {
3751
- const w = k.map((S) => S.slice(m + u)).join(`
3788
+ const w = k.map((S) => S.slice(m + d)).join(`
3752
3789
  `);
3753
3790
  w.trim() && (t.customNestedParser ? b = t.customNestedParser(w) : b = n.blockTokens(w));
3754
3791
  }
@@ -3761,45 +3798,45 @@ function qr(e, t, n) {
3761
3798
  raw: l
3762
3799
  };
3763
3800
  }
3764
- function Jr(e, t, n, r) {
3801
+ function Yr(e, t, n, r) {
3765
3802
  if (!e || !Array.isArray(e.content))
3766
3803
  return "";
3767
3804
  const s = typeof n == "function" ? n(r) : n, [o, ...i] = e.content, a = t.renderChildren([o]), c = [`${s}${a}`];
3768
3805
  return i && i.length > 0 && i.forEach((l) => {
3769
- const d = t.renderChildren([l]);
3770
- if (d) {
3771
- const u = d.split(`
3806
+ const u = t.renderChildren([l]);
3807
+ if (u) {
3808
+ const d = u.split(`
3772
3809
  `).map((p) => p ? t.indent(p) : "").join(`
3773
3810
  `);
3774
- c.push(u);
3811
+ c.push(d);
3775
3812
  }
3776
3813
  }), c.join(`
3777
3814
  `);
3778
3815
  }
3779
- function Xr(e, t, n = {}) {
3816
+ function Qr(e, t, n = {}) {
3780
3817
  const { state: r } = t, { doc: s, tr: o } = r, i = e;
3781
3818
  s.descendants((a, c) => {
3782
- const l = o.mapping.map(c), d = o.mapping.map(c) + a.nodeSize;
3783
- let u = null;
3819
+ const l = o.mapping.map(c), u = o.mapping.map(c) + a.nodeSize;
3820
+ let d = null;
3784
3821
  if (a.marks.forEach((f) => {
3785
3822
  if (f !== i)
3786
3823
  return !1;
3787
- u = f;
3788
- }), !u)
3824
+ d = f;
3825
+ }), !d)
3789
3826
  return;
3790
3827
  let p = !1;
3791
3828
  if (Object.keys(n).forEach((f) => {
3792
- n[f] !== u.attrs[f] && (p = !0);
3829
+ n[f] !== d.attrs[f] && (p = !0);
3793
3830
  }), p) {
3794
3831
  const f = e.type.create({
3795
3832
  ...e.attrs,
3796
3833
  ...n
3797
3834
  });
3798
- o.removeMark(l, d, e.type), o.addMark(l, d, f);
3835
+ o.removeMark(l, u, e.type), o.addMark(l, u, f);
3799
3836
  }
3800
3837
  }), o.docChanged && t.view.dispatch(o);
3801
3838
  }
3802
- var gs = class pe extends xt {
3839
+ var ys = class he extends xt {
3803
3840
  constructor() {
3804
3841
  super(...arguments), this.type = "node";
3805
3842
  }
@@ -3809,7 +3846,7 @@ var gs = class pe extends xt {
3809
3846
  */
3810
3847
  static create(t = {}) {
3811
3848
  const n = typeof t == "function" ? t() : t;
3812
- return new pe(n);
3849
+ return new he(n);
3813
3850
  }
3814
3851
  configure(t) {
3815
3852
  return super.configure(t);
@@ -3819,8 +3856,8 @@ var gs = class pe extends xt {
3819
3856
  return super.extend(n);
3820
3857
  }
3821
3858
  };
3822
- function vs(e) {
3823
- return new Nr({
3859
+ function bs(e) {
3860
+ return new zr({
3824
3861
  find: e.find,
3825
3862
  handler: ({ state: t, range: n, match: r, pasteEvent: s }) => {
3826
3863
  const o = x(e.getAttributes, void 0, r, s);
@@ -3829,15 +3866,15 @@ function vs(e) {
3829
3866
  const { tr: i } = t, a = r[r.length - 1], c = r[0];
3830
3867
  let l = n.to;
3831
3868
  if (a) {
3832
- const d = c.search(/\S/), u = n.from + c.indexOf(a), p = u + a.length;
3833
- if (Yt(n.from, n.to, t.doc).filter((h) => h.mark.type.excluded.find((g) => g === e.type && g !== h.mark.type)).filter((h) => h.to > u).length)
3869
+ const u = c.search(/\S/), d = n.from + c.indexOf(a), p = d + a.length;
3870
+ if (Qt(n.from, n.to, t.doc).filter((h) => h.mark.type.excluded.find((g) => g === e.type && g !== h.mark.type)).filter((h) => h.to > d).length)
3834
3871
  return null;
3835
- p < n.to && i.delete(p, n.to), u > n.from && i.delete(n.from + d, u), l = n.from + d + a.length, i.addMark(n.from + d, l, e.type.create(o || {})), i.removeStoredMark(e.type);
3872
+ p < n.to && i.delete(p, n.to), d > n.from && i.delete(n.from + u, d), l = n.from + u + a.length, i.addMark(n.from + u, l, e.type.create(o || {})), i.removeStoredMark(e.type);
3836
3873
  }
3837
3874
  }
3838
3875
  });
3839
3876
  }
3840
- var ys = (e, t) => {
3877
+ var ws = (e, t) => {
3841
3878
  if (e === "slot")
3842
3879
  return 0;
3843
3880
  if (e instanceof Function)
@@ -3848,36 +3885,36 @@ var ys = (e, t) => {
3848
3885
  return [e, r, n];
3849
3886
  };
3850
3887
  export {
3851
- Fn as A,
3888
+ Vn as A,
3852
3889
  Br as B,
3853
3890
  kt as C,
3854
- cs as E,
3855
- Pr as M,
3856
- gs as N,
3857
- hs as R,
3858
- vs as a,
3859
- ds as b,
3860
- ms as c,
3861
- Ln as d,
3862
- Yt as e,
3863
- rs as f,
3864
- Gn as g,
3865
- ys as h,
3866
- as as i,
3867
- Yn as j,
3891
+ ds as E,
3892
+ Nr as M,
3893
+ ys as N,
3894
+ gs as R,
3895
+ bs as a,
3896
+ fs as b,
3897
+ vs as c,
3898
+ Hn as d,
3899
+ Qt as e,
3900
+ os as f,
3901
+ er as g,
3902
+ ws as h,
3903
+ ls as i,
3904
+ Zn as j,
3868
3905
  N as k,
3869
3906
  et as l,
3870
- Wn as m,
3871
- us as n,
3907
+ Kn as m,
3908
+ ps as n,
3872
3909
  U as o,
3873
- qr as p,
3874
- is as q,
3875
- Jr as r,
3876
- os as s,
3877
- fs as t,
3910
+ Xr as p,
3911
+ cs as q,
3912
+ Yr as r,
3913
+ as as s,
3914
+ hs as t,
3878
3915
  T as u,
3879
- ss as v,
3880
- ps as w,
3916
+ is as v,
3917
+ ms as w,
3881
3918
  x,
3882
3919
  y,
3883
3920
  Mt as z