@vc-shell/framework 2.0.0-alpha.16 → 2.0.0-alpha.18

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 (272) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/ai-agent/index.js +2 -2
  3. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-TbiwLbMa.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-D8HSEumV.js} +1230 -1253
  4. package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-BOwMgTtB.js → VcTableAdapter.vue_vue_type_style_index_0_lang-BBV3uTdi.js} +2526 -2488
  5. package/dist/chunks/{index-CE4_3UE1.js → index-BNE1zizw.js} +4 -2
  6. package/dist/chunks/{index-ChV43Tba.js → index-BfOiCZwO.js} +4 -9
  7. package/dist/chunks/{index-BIt6l9n8.js → index-BuTo_Lx8.js} +2 -6
  8. package/dist/chunks/{vc-toast.vue_vue_type_style_index_0_lang-DDo1qTlS.js → vc-toast.vue_vue_type_style_index_0_lang-DHCQ1-ud.js} +2 -4
  9. package/dist/chunks/{vendor-prosemirror-gapcursor-S3ikcYX6.js → vendor-prosemirror-gapcursor-D3tpkzBp.js} +1 -1
  10. package/dist/chunks/{vendor-prosemirror-tables-zVUKdbdQ.js → vendor-prosemirror-tables-DIAkeGRL.js} +1 -1
  11. package/dist/chunks/{vendor-prosemirror-view-DFpBkGRq.js → vendor-prosemirror-view-Chu67Jpw.js} +9 -3
  12. package/dist/chunks/{vendor-tiptap-core-CDScflP1.js → vendor-tiptap-core-BWgKs47g.js} +44 -40
  13. package/dist/chunks/{vendor-tiptap-extension-blockquote-ChRAwuus.js → vendor-tiptap-extension-blockquote-B1RV9c0W.js} +16 -11
  14. package/dist/chunks/{vendor-tiptap-extension-bold-BwoVpOFS.js → vendor-tiptap-extension-bold-BdAf6fWQ.js} +11 -5
  15. package/dist/chunks/{vendor-tiptap-extension-code-DOlgG3ih.js → vendor-tiptap-extension-code-_cv4EOBy.js} +1 -1
  16. package/dist/chunks/{vendor-tiptap-extension-code-block-CMeTs87s.js → vendor-tiptap-extension-code-block-CT5P4x0D.js} +1 -1
  17. package/dist/chunks/{vendor-tiptap-extension-document-DO8oly70.js → vendor-tiptap-extension-document-C41wXth1.js} +1 -1
  18. package/dist/chunks/{vendor-tiptap-extension-hard-break-BgDl2sHf.js → vendor-tiptap-extension-hard-break-Ds2hA4at.js} +1 -1
  19. package/dist/chunks/{vendor-tiptap-extension-heading-DFuYlwHi.js → vendor-tiptap-extension-heading-DvnqoCO-.js} +1 -1
  20. package/dist/chunks/{vendor-tiptap-extension-horizontal-rule-uyfttMp9.js → vendor-tiptap-extension-horizontal-rule-BceRNOIu.js} +1 -1
  21. package/dist/chunks/{vendor-tiptap-extension-image-DPeBaTE3.js → vendor-tiptap-extension-image-DLERQS1u.js} +1 -1
  22. package/dist/chunks/{vendor-tiptap-extension-italic-C9-3jNxO.js → vendor-tiptap-extension-italic-BGv0ktjJ.js} +20 -14
  23. package/dist/chunks/{vendor-tiptap-extension-link-B57VzStq.js → vendor-tiptap-extension-link-BAzgztbX.js} +1 -1
  24. package/dist/chunks/{vendor-tiptap-extension-list-spvOF7Mz.js → vendor-tiptap-extension-list-rFRwhCY_.js} +128 -126
  25. package/dist/chunks/vendor-tiptap-extension-paragraph-EwqudBl5.js +49 -0
  26. package/dist/chunks/vendor-tiptap-extension-placeholder-WyhAnzy7.js +1 -0
  27. package/dist/chunks/{vendor-tiptap-extension-strike-yj6UvnkO.js → vendor-tiptap-extension-strike-Cqq1i9pe.js} +1 -1
  28. package/dist/chunks/vendor-tiptap-extension-table-cell-odWoHoTv.js +1 -0
  29. package/dist/chunks/vendor-tiptap-extension-table-header-odWoHoTv.js +1 -0
  30. package/dist/chunks/vendor-tiptap-extension-table-row-odWoHoTv.js +1 -0
  31. package/dist/chunks/{vendor-tiptap-extension-table-ex1kZQ-9.js → vendor-tiptap-extension-table-tNWQInwa.js} +2 -2
  32. package/dist/chunks/{vendor-tiptap-extension-text-C8FG4KnI.js → vendor-tiptap-extension-text-BaLQc3hC.js} +1 -1
  33. package/dist/chunks/{vendor-tiptap-extension-text-style-DsQDXowp.js → vendor-tiptap-extension-text-style-BDbT1PMb.js} +1 -1
  34. package/dist/chunks/{vendor-tiptap-extension-underline-HB3fg6Dc.js → vendor-tiptap-extension-underline-CiUEdG6D.js} +1 -1
  35. package/dist/chunks/{vendor-tiptap-extensions-CUGwjzl5.js → vendor-tiptap-extensions-CqOFzZAS.js} +11 -9
  36. package/dist/chunks/{vendor-tiptap-markdown-BHy-gUA1.js → vendor-tiptap-markdown-D0feGfKk.js} +1 -1
  37. package/dist/chunks/vendor-tiptap-pm-CG4ksPkF.js +1 -0
  38. package/dist/chunks/{vendor-tiptap-starter-kit-C42PcJ7J.js → vendor-tiptap-starter-kit-DcsDv0Wg.js} +17 -17
  39. package/dist/chunks/{vendor-tiptap-vue-3-BxWCzu9Z.js → vendor-tiptap-vue-3-CdIBiRMV.js} +1 -1
  40. package/dist/core/blade-navigation/bladeConfigRegistry.d.ts +21 -0
  41. package/dist/core/blade-navigation/bladeConfigRegistry.d.ts.map +1 -0
  42. package/dist/core/blade-navigation/index.d.ts +1 -0
  43. package/dist/core/blade-navigation/index.d.ts.map +1 -1
  44. package/dist/core/blade-navigation/types/index.d.ts +36 -1
  45. package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
  46. package/dist/core/blade-navigation/useBladeMessaging.d.ts.map +1 -1
  47. package/dist/core/blade-navigation/utils/bladeRouterGuard.d.ts.map +1 -1
  48. package/dist/core/blade-navigation/utils/restoreFromUrl.d.ts.map +1 -1
  49. package/dist/core/composables/useAppBarMobileButtons/index.d.ts.map +1 -1
  50. package/dist/core/composables/useAssets/index.d.ts.map +1 -1
  51. package/dist/core/composables/useAsync/index.d.ts.map +1 -1
  52. package/dist/core/composables/useBlade/index.d.ts.map +1 -1
  53. package/dist/core/composables/useBladeContext.d.ts.map +1 -1
  54. package/dist/core/composables/useBladeNavigationAdapter/index.d.ts.map +1 -1
  55. package/dist/core/composables/useBladeRegistry/index.d.ts.map +1 -1
  56. package/dist/core/composables/useConnectionStatus/index.d.ts.map +1 -1
  57. package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
  58. package/dist/core/composables/useFunctions/debounce.d.ts.map +1 -1
  59. package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
  60. package/dist/core/composables/useSidebarState/index.d.ts.map +1 -1
  61. package/dist/core/composables/useSlowNetworkDetection/index.d.ts.map +1 -1
  62. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  63. package/dist/core/interceptors/index.d.ts.map +1 -1
  64. package/dist/core/notifications/composables/index.d.ts +1 -0
  65. package/dist/core/notifications/composables/index.d.ts.map +1 -1
  66. package/dist/core/notifications/composables/useNotificationContext.d.ts +4 -0
  67. package/dist/core/notifications/composables/useNotificationContext.d.ts.map +1 -0
  68. package/dist/core/notifications/index.d.ts +2 -1
  69. package/dist/core/notifications/index.d.ts.map +1 -1
  70. package/dist/core/notifications/store.d.ts.map +1 -1
  71. package/dist/core/notifications/toast-controller.d.ts.map +1 -1
  72. package/dist/core/notifications/toast-types.d.ts.map +1 -1
  73. package/dist/core/notifications/types.d.ts +2 -1
  74. package/dist/core/notifications/types.d.ts.map +1 -1
  75. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue.d.ts.map +1 -1
  76. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue.d.ts.map +1 -1
  77. package/dist/core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue.d.ts.map +1 -1
  78. package/dist/core/plugins/ai-agent/composables/index.d.ts +1 -1
  79. package/dist/core/plugins/ai-agent/composables/index.d.ts.map +1 -1
  80. package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts.map +1 -1
  81. package/dist/core/plugins/ai-agent/index.d.ts +2 -2
  82. package/dist/core/plugins/ai-agent/index.d.ts.map +1 -1
  83. package/dist/core/plugins/extension-points/ExtensionPoint.vue.d.ts.map +1 -1
  84. package/dist/core/plugins/extension-points/store.d.ts.map +1 -1
  85. package/dist/core/plugins/modularity/index.d.ts.map +1 -1
  86. package/dist/core/plugins/validation/rules.d.ts.map +1 -1
  87. package/dist/core/services/_internal/index.d.ts +3 -3
  88. package/dist/core/services/_internal/index.d.ts.map +1 -1
  89. package/dist/core/types/index.d.ts.map +1 -1
  90. package/dist/core/utilities/date/formatDate.d.ts.map +1 -1
  91. package/dist/core/utilities/error.d.ts.map +1 -1
  92. package/dist/extensions/index.js +1 -1
  93. package/dist/framework.js +617 -642
  94. package/dist/index.d.ts +1 -1
  95. package/dist/index.d.ts.map +1 -1
  96. package/dist/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
  97. package/dist/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
  98. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -1
  99. package/dist/shell/_internal/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts.map +1 -1
  100. package/dist/shell/_internal/notifications/components/notification-container/index.d.ts.map +1 -1
  101. package/dist/shell/_internal/notifications/composables/useContainer/index.d.ts.map +1 -1
  102. package/dist/shell/_internal/popup/components/vc-popup-container/vc-popup-container.vue.d.ts.map +1 -1
  103. package/dist/shell/_internal/popup/composables/usePopup/index.d.ts.map +1 -1
  104. package/dist/shell/auth/sign-in/useExternalProvider.d.ts.map +1 -1
  105. package/dist/shell/components/notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -1
  106. package/dist/shell/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -1
  107. package/dist/shell/components/notification-template/notification-template.vue.d.ts.map +1 -1
  108. package/dist/shell/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
  109. package/dist/shell/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
  110. package/dist/shell/dashboard/dashboard-charts/DashboardBarChart.vue.d.ts.map +1 -1
  111. package/dist/shell/dashboard/dashboard-charts/DashboardDonutChart.vue.d.ts.map +1 -1
  112. package/dist/shell/dashboard/dashboard-charts/DashboardLineChart.vue.d.ts.map +1 -1
  113. package/dist/shell/dashboard/dashboard-charts/chart-utils.d.ts +1 -1
  114. package/dist/shell/dashboard/dashboard-charts/chart-utils.d.ts.map +1 -1
  115. package/dist/shell/dashboard/draggable-dashboard/GridstackDashboard.vue.d.ts.map +1 -1
  116. package/dist/shell/dashboard/draggable-dashboard/composables/useGridstack.d.ts.map +1 -1
  117. package/dist/shell/dashboard/draggable-dashboard/composables/useGridstackAdapter.d.ts.map +1 -1
  118. package/dist/shell/dashboard/draggable-dashboard/index.d.ts +1 -1
  119. package/dist/shell/dashboard/draggable-dashboard/index.d.ts.map +1 -1
  120. package/dist/test-helpers.d.ts.map +1 -1
  121. package/dist/tsconfig.tsbuildinfo +1 -1
  122. package/dist/ui/components/atoms/vc-banner/vc-banner.vue.d.ts.map +1 -1
  123. package/dist/ui/components/atoms/vc-button/index.d.ts +1 -1
  124. package/dist/ui/components/atoms/vc-button/index.d.ts.map +1 -1
  125. package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts.map +1 -1
  126. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts.map +1 -1
  127. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts.map +1 -1
  128. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
  129. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
  130. package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts.map +1 -1
  131. package/dist/ui/components/atoms/vc-scrollable-container/vc-scrollable-container.vue.d.ts.map +1 -1
  132. package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -1
  133. package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
  134. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
  135. package/dist/ui/components/molecules/vc-accordion/index.d.ts +1 -1
  136. package/dist/ui/components/molecules/vc-accordion/index.d.ts.map +1 -1
  137. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -1
  138. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts.map +1 -1
  139. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  140. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts.map +1 -1
  141. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
  142. package/dist/ui/components/molecules/vc-dropdown/index.d.ts +1 -1
  143. package/dist/ui/components/molecules/vc-dropdown/index.d.ts.map +1 -1
  144. package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -1
  145. package/dist/ui/components/molecules/vc-editor/_internal/extensions/font-size.d.ts +3 -3
  146. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue.d.ts.map +1 -1
  147. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-font-selector.vue.d.ts.map +1 -1
  148. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts.map +1 -1
  149. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +1 -1
  150. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  151. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
  152. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  153. package/dist/ui/components/molecules/vc-image-tile/vc-image-tile.vue.d.ts.map +1 -1
  154. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  155. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  156. package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +1 -1
  157. package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts.map +1 -1
  158. package/dist/ui/components/molecules/vc-input-group/vc-input-group.vue.d.ts.map +1 -1
  159. package/dist/ui/components/molecules/vc-menu/index.d.ts +1 -1
  160. package/dist/ui/components/molecules/vc-menu/index.d.ts.map +1 -1
  161. package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts.map +1 -1
  162. package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueDropdown.vue.d.ts.map +1 -1
  163. package/dist/ui/components/molecules/vc-multivalue/composables/index.d.ts +1 -1
  164. package/dist/ui/components/molecules/vc-multivalue/composables/index.d.ts.map +1 -1
  165. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
  166. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
  167. package/dist/ui/components/molecules/vc-select/_internal/SelectDropdown.vue.d.ts.map +1 -1
  168. package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts.map +1 -1
  169. package/dist/ui/components/molecules/vc-select/composables/index.d.ts +1 -1
  170. package/dist/ui/components/molecules/vc-select/composables/index.d.ts.map +1 -1
  171. package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts.map +1 -1
  172. package/dist/ui/components/molecules/vc-select/composables/useSelectSelection.d.ts.map +1 -1
  173. package/dist/ui/components/molecules/vc-select/composables/useSelectValueMapping.d.ts.map +1 -1
  174. package/dist/ui/components/molecules/vc-select/composables/useSelectVisibility.d.ts.map +1 -1
  175. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  176. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
  177. package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts.map +1 -1
  178. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  179. package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts.map +1 -1
  180. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarOverlay.vue.d.ts.map +1 -1
  181. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue.d.ts.map +1 -1
  182. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
  183. package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts.map +1 -1
  184. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts.map +1 -1
  185. package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts +1 -1
  186. package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts.map +1 -1
  187. package/dist/ui/components/organisms/vc-app/composition/state/index.d.ts +1 -1
  188. package/dist/ui/components/organisms/vc-app/composition/state/index.d.ts.map +1 -1
  189. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  190. package/dist/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue.d.ts.map +1 -1
  191. package/dist/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.d.ts.map +1 -1
  192. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue.d.ts.map +1 -1
  193. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue.d.ts.map +1 -1
  194. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts.map +1 -1
  195. package/dist/ui/components/organisms/vc-blade/utils.d.ts.map +1 -1
  196. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  197. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  198. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryPreview.d.ts.map +1 -1
  199. package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts.map +1 -1
  200. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
  201. package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts.map +1 -1
  202. package/dist/ui/components/organisms/vc-table/VcTableAdapter.vue.d.ts.map +1 -1
  203. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
  204. package/dist/ui/components/organisms/vc-table/base/BaseVcDataTable.d.ts.map +1 -1
  205. package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts.map +1 -1
  206. package/dist/ui/components/organisms/vc-table/components/ColumnSwitcherButton.vue.d.ts.map +1 -1
  207. package/dist/ui/components/organisms/vc-table/components/DataTableBody.vue.d.ts.map +1 -1
  208. package/dist/ui/components/organisms/vc-table/components/DataTableHeader.vue.d.ts.map +1 -1
  209. package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts.map +1 -1
  210. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts.map +1 -1
  211. package/dist/ui/components/organisms/vc-table/components/Table.vue.d.ts.map +1 -1
  212. package/dist/ui/components/organisms/vc-table/components/TableActions.vue.d.ts.map +1 -1
  213. package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts.map +1 -1
  214. package/dist/ui/components/organisms/vc-table/components/TableBody.vue.d.ts.map +1 -1
  215. package/dist/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue.d.ts.map +1 -1
  216. package/dist/ui/components/organisms/vc-table/components/TableEmpty.vue.d.ts.map +1 -1
  217. package/dist/ui/components/organisms/vc-table/components/TableHead.vue.d.ts.map +1 -1
  218. package/dist/ui/components/organisms/vc-table/components/TableHeader.vue.d.ts.map +1 -1
  219. package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts.map +1 -1
  220. package/dist/ui/components/organisms/vc-table/components/TableSelectAllBar.vue.d.ts.map +1 -1
  221. package/dist/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue.d.ts.map +1 -1
  222. package/dist/ui/components/organisms/vc-table/components/cells/CellDate.vue.d.ts.map +1 -1
  223. package/dist/ui/components/organisms/vc-table/components/cells/CellDateAgo.vue.d.ts.map +1 -1
  224. package/dist/ui/components/organisms/vc-table/components/cells/CellDefault.vue.d.ts.map +1 -1
  225. package/dist/ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue.d.ts.map +1 -1
  226. package/dist/ui/components/organisms/vc-table/components/cells/CellHtml.vue.d.ts.map +1 -1
  227. package/dist/ui/components/organisms/vc-table/components/cells/CellMoney.vue.d.ts.map +1 -1
  228. package/dist/ui/components/organisms/vc-table/components/cells/CellNumber.vue.d.ts.map +1 -1
  229. package/dist/ui/components/organisms/vc-table/components/cells/CellStatusIcon.vue.d.ts.map +1 -1
  230. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts.map +1 -1
  231. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts.map +1 -1
  232. package/dist/ui/components/organisms/vc-table/composables/index.d.ts +9 -9
  233. package/dist/ui/components/organisms/vc-table/composables/index.d.ts.map +1 -1
  234. package/dist/ui/components/organisms/vc-table/composables/useDataProcessing.d.ts.map +1 -1
  235. package/dist/ui/components/organisms/vc-table/composables/useDataTableState.d.ts.map +1 -1
  236. package/dist/ui/components/organisms/vc-table/composables/useTableColumns.d.ts.map +1 -1
  237. package/dist/ui/components/organisms/vc-table/composables/useTableColumnsReorder.d.ts.map +1 -1
  238. package/dist/ui/components/organisms/vc-table/composables/useTableEditing.d.ts.map +1 -1
  239. package/dist/ui/components/organisms/vc-table/composables/useTableExpansion.d.ts.map +1 -1
  240. package/dist/ui/components/organisms/vc-table/composables/useTableInlineEdit.d.ts.map +1 -1
  241. package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts.map +1 -1
  242. package/dist/ui/components/organisms/vc-table/composables/useTableSelectionV2.d.ts.map +1 -1
  243. package/dist/ui/components/organisms/vc-table/composables/useTableSort.d.ts.map +1 -1
  244. package/dist/ui/components/organisms/vc-table/composables/useVirtualScroll.d.ts.map +1 -1
  245. package/dist/ui/components/organisms/vc-table/index.d.ts +1 -1
  246. package/dist/ui/components/organisms/vc-table/index.d.ts.map +1 -1
  247. package/dist/ui/components/organisms/vc-table/types.d.ts +1 -1
  248. package/dist/ui/components/organisms/vc-table/types.d.ts.map +1 -1
  249. package/dist/ui/components/organisms/vc-table/utils/ColumnCollector.d.ts.map +1 -1
  250. package/dist/ui/composables/index.d.ts +1 -0
  251. package/dist/ui/composables/index.d.ts.map +1 -1
  252. package/dist/ui/composables/useCollapsible.d.ts.map +1 -1
  253. package/dist/ui/composables/useDataTableSort.d.ts +24 -0
  254. package/dist/ui/composables/useDataTableSort.d.ts.map +1 -0
  255. package/dist/ui/composables/useScrollArrows.d.ts.map +1 -1
  256. package/dist/ui/composables/useTableSelection.d.ts.map +1 -1
  257. package/dist/ui/composables/useTableSort.d.ts.map +1 -1
  258. package/dist/ui/index.js +42 -41
  259. package/dist/ui/types/global-components.d.ts.map +1 -1
  260. package/dist/ui/utilities/vueUtils.d.ts.map +1 -1
  261. package/dist/vitest-axe.setup.d.ts.map +1 -1
  262. package/globals-augments.d.ts +0 -2
  263. package/globals.d.ts +1 -2
  264. package/package.json +5 -4
  265. package/shims-vue.d.ts +0 -2
  266. package/typings/blade-macros.d.ts +25 -0
  267. package/dist/chunks/vendor-tiptap-extension-paragraph-Cj7auQB7.js +0 -44
  268. package/dist/chunks/vendor-tiptap-extension-placeholder-DhwvmZ6Y.js +0 -1
  269. package/dist/chunks/vendor-tiptap-extension-table-cell-CQpTPSvF.js +0 -1
  270. package/dist/chunks/vendor-tiptap-extension-table-header-CQpTPSvF.js +0 -1
  271. package/dist/chunks/vendor-tiptap-extension-table-row-CQpTPSvF.js +0 -1
  272. package/dist/chunks/vendor-tiptap-pm-DSHuSumV.js +0 -1
@@ -1,4 +1,4 @@
1
- import { N as g, w as b, m as L, r as $, k as O, l as K, p as x, o as I, q as V, s as X, u as S, v as z } from "./vendor-tiptap-core-CDScflP1.js";
1
+ import { N as g, w as b, m as L, r as $, k as O, l as K, p as x, o as I, q as V, s as X, u as S, v as z } from "./vendor-tiptap-core-BWgKs47g.js";
2
2
  var F = Object.defineProperty, q = (t, e) => {
3
3
  for (var s in e)
4
4
  F(t, s, { get: e[s], enumerable: !0 });
@@ -79,43 +79,45 @@ var F = Object.defineProperty, q = (t, e) => {
79
79
  },
80
80
  markdownTokenName: "list_item",
81
81
  parseMarkdown: (t, e) => {
82
+ var s;
82
83
  if (t.type !== "list_item")
83
84
  return [];
84
- let s = [];
85
+ const n = (s = e.parseBlockChildren) != null ? s : e.parseChildren;
86
+ let r = [];
85
87
  if (t.tokens && t.tokens.length > 0)
86
- if (t.tokens.some((n) => n.type === "paragraph"))
87
- s = e.parseChildren(t.tokens);
88
+ if (t.tokens.some((l) => l.type === "paragraph"))
89
+ r = n(t.tokens);
88
90
  else {
89
- const n = t.tokens[0];
90
- if (n && n.type === "text" && n.tokens && n.tokens.length > 0) {
91
- if (s = [
91
+ const l = t.tokens[0];
92
+ if (l && l.type === "text" && l.tokens && l.tokens.length > 0) {
93
+ if (r = [
92
94
  {
93
95
  type: "paragraph",
94
- content: e.parseInline(n.tokens)
96
+ content: e.parseInline(l.tokens)
95
97
  }
96
98
  ], t.tokens.length > 1) {
97
- const l = t.tokens.slice(1), a = e.parseChildren(l);
98
- s.push(...a);
99
+ const d = t.tokens.slice(1), p = n(d);
100
+ r.push(...p);
99
101
  }
100
102
  } else
101
- s = e.parseChildren(t.tokens);
103
+ r = n(t.tokens);
102
104
  }
103
- return s.length === 0 && (s = [
105
+ return r.length === 0 && (r = [
104
106
  {
105
107
  type: "paragraph",
106
108
  content: []
107
109
  }
108
110
  ]), {
109
111
  type: "listItem",
110
- content: s
112
+ content: r
111
113
  };
112
114
  },
113
115
  renderMarkdown: (t, e, s) => $(
114
116
  t,
115
117
  e,
116
- (r) => {
117
- var n, i;
118
- return r.parentType === "bulletList" ? "- " : r.parentType === "orderedList" ? `${(((i = (n = r.meta) == null ? void 0 : n.parentAttrs) == null ? void 0 : i.start) || 1) + r.index}. ` : "- ";
118
+ (n) => {
119
+ var r, i;
120
+ return n.parentType === "bulletList" ? "- " : n.parentType === "orderedList" ? `${(((i = (r = n.meta) == null ? void 0 : r.parentAttrs) == null ? void 0 : i.start) || 1) + n.index}. ` : "- ";
119
121
  },
120
122
  s
121
123
  ),
@@ -137,73 +139,73 @@ q(J, {
137
139
  hasListItemBefore: () => P,
138
140
  listItemHasSubList: () => D,
139
141
  nextListIsDeeper: () => R,
140
- nextListIsHigher: () => j
142
+ nextListIsHigher: () => B
141
143
  });
142
144
  var y = (t, e) => {
143
- const { $from: s } = e.selection, r = S(t, e.schema);
144
- let n = null, i = s.depth, l = s.pos, a = null;
145
+ const { $from: s } = e.selection, n = S(t, e.schema);
146
+ let r = null, i = s.depth, l = s.pos, a = null;
145
147
  for (; i > 0 && a === null; )
146
- n = s.node(i), n.type === r ? a = i : (i -= 1, l -= 1);
148
+ r = s.node(i), r.type === n ? a = i : (i -= 1, l -= 1);
147
149
  return a === null ? null : { $pos: e.doc.resolve(l), depth: a };
148
150
  }, A = (t, e) => {
149
151
  const s = y(t, e);
150
152
  if (!s)
151
153
  return !1;
152
- const [, r] = z(e, t, s.$pos.pos + 4);
153
- return r;
154
+ const [, n] = z(e, t, s.$pos.pos + 4);
155
+ return n;
154
156
  }, _ = (t, e, s) => {
155
- const { $anchor: r } = t.selection, n = Math.max(0, r.pos - 2), i = t.doc.resolve(n).node();
157
+ const { $anchor: n } = t.selection, r = Math.max(0, n.pos - 2), i = t.doc.resolve(r).node();
156
158
  return !(!i || !s.includes(i.type.name));
157
159
  }, P = (t, e) => {
158
160
  var s;
159
- const { $anchor: r } = e.selection, n = e.doc.resolve(r.pos - 2);
160
- return !(n.index() === 0 || ((s = n.nodeBefore) == null ? void 0 : s.type.name) !== t);
161
+ const { $anchor: n } = e.selection, r = e.doc.resolve(n.pos - 2);
162
+ return !(r.index() === 0 || ((s = r.nodeBefore) == null ? void 0 : s.type.name) !== t);
161
163
  }, D = (t, e, s) => {
162
164
  if (!s)
163
165
  return !1;
164
- const r = S(t, e.schema);
165
- let n = !1;
166
+ const n = S(t, e.schema);
167
+ let r = !1;
166
168
  return s.descendants((i) => {
167
- i.type === r && (n = !0);
168
- }), n;
169
+ i.type === n && (r = !0);
170
+ }), r;
169
171
  }, T = (t, e, s) => {
170
172
  if (t.commands.undoInputRule())
171
173
  return !0;
172
174
  if (t.state.selection.from !== t.state.selection.to)
173
175
  return !1;
174
176
  if (!I(t.state, e) && _(t.state, e, s)) {
175
- const { $anchor: a } = t.state.selection, u = t.state.doc.resolve(a.before() - 1), p = [];
176
- u.node().descendants((c, d) => {
177
- c.type.name === e && p.push({ node: c, pos: d });
177
+ const { $anchor: a } = t.state.selection, d = t.state.doc.resolve(a.before() - 1), p = [];
178
+ d.node().descendants((c, u) => {
179
+ c.type.name === e && p.push({ node: c, pos: u });
178
180
  });
179
181
  const h = p.at(-1);
180
182
  if (!h)
181
183
  return !1;
182
- const o = t.state.doc.resolve(u.start() + h.pos + 1);
184
+ const o = t.state.doc.resolve(d.start() + h.pos + 1);
183
185
  return t.chain().cut({ from: a.start() - 1, to: a.end() + 1 }, o.end()).joinForward().run();
184
186
  }
185
187
  if (!I(t.state, e) || !V(t.state))
186
188
  return !1;
187
- const r = y(e, t.state);
188
- if (!r)
189
+ const n = y(e, t.state);
190
+ if (!n)
189
191
  return !1;
190
- const i = t.state.doc.resolve(r.$pos.pos - 2).node(r.depth), l = D(e, t.state, i);
192
+ const i = t.state.doc.resolve(n.$pos.pos - 2).node(n.depth), l = D(e, t.state, i);
191
193
  return P(e, t.state) && !l ? t.commands.joinItemBackward() : t.chain().liftListItem(e).run();
192
194
  }, R = (t, e) => {
193
- const s = A(t, e), r = y(t, e);
194
- return !r || !s ? !1 : s > r.depth;
195
- }, j = (t, e) => {
196
- const s = A(t, e), r = y(t, e);
197
- return !r || !s ? !1 : s < r.depth;
195
+ const s = A(t, e), n = y(t, e);
196
+ return !n || !s ? !1 : s > n.depth;
197
+ }, B = (t, e) => {
198
+ const s = A(t, e), n = y(t, e);
199
+ return !n || !s ? !1 : s < n.depth;
198
200
  }, M = (t, e) => {
199
201
  if (!I(t.state, e) || !X(t.state, e))
200
202
  return !1;
201
- const { selection: s } = t.state, { $from: r, $to: n } = s;
202
- return !s.empty && r.sameParent(n) ? !1 : R(e, t.state) ? t.chain().focus(t.state.selection.from + 4).lift(e).joinBackward().run() : j(e, t.state) ? t.chain().joinForward().joinBackward().run() : t.commands.joinItemForward();
203
+ const { selection: s } = t.state, { $from: n, $to: r } = s;
204
+ return !s.empty && n.sameParent(r) ? !1 : R(e, t.state) ? t.chain().focus(t.state.selection.from + 4).lift(e).joinBackward().run() : B(e, t.state) ? t.chain().joinForward().joinBackward().run() : t.commands.joinItemForward();
203
205
  }, Q = (t, e) => {
204
206
  var s;
205
- const { $anchor: r } = e.selection, n = e.doc.resolve(r.pos - r.parentOffset - 2);
206
- return !(n.index() === n.parent.childCount - 1 || ((s = n.nodeAfter) == null ? void 0 : s.type.name) !== t);
207
+ const { $anchor: n } = e.selection, r = e.doc.resolve(n.pos - n.parentOffset - 2);
208
+ return !(r.index() === r.parent.childCount - 1 || ((s = r.nodeAfter) == null ? void 0 : s.type.name) !== t);
207
209
  }, U = O.create({
208
210
  name: "listKeymap",
209
211
  addOptions() {
@@ -236,14 +238,14 @@ var y = (t, e) => {
236
238
  },
237
239
  Backspace: ({ editor: t }) => {
238
240
  let e = !1;
239
- return this.options.listTypes.forEach(({ itemName: s, wrapperNames: r }) => {
240
- t.state.schema.nodes[s] !== void 0 && T(t, s, r) && (e = !0);
241
+ return this.options.listTypes.forEach(({ itemName: s, wrapperNames: n }) => {
242
+ t.state.schema.nodes[s] !== void 0 && T(t, s, n) && (e = !0);
241
243
  }), e;
242
244
  },
243
245
  "Mod-Backspace": ({ editor: t }) => {
244
246
  let e = !1;
245
- return this.options.listTypes.forEach(({ itemName: s, wrapperNames: r }) => {
246
- t.state.schema.nodes[s] !== void 0 && T(t, s, r) && (e = !0);
247
+ return this.options.listTypes.forEach(({ itemName: s, wrapperNames: n }) => {
248
+ t.state.schema.nodes[s] !== void 0 && T(t, s, n) && (e = !0);
247
249
  }), e;
248
250
  }
249
251
  };
@@ -251,24 +253,24 @@ var y = (t, e) => {
251
253
  }), N = /^(\s*)(\d+)\.\s+(.*)$/, Z = /^\s/;
252
254
  function tt(t) {
253
255
  const e = [];
254
- let s = 0, r = 0;
256
+ let s = 0, n = 0;
255
257
  for (; s < t.length; ) {
256
- const n = t[s], i = n.match(N);
258
+ const r = t[s], i = r.match(N);
257
259
  if (!i)
258
260
  break;
259
- const [, l, a, u] = i, p = l.length;
260
- let h = u, o = s + 1;
261
- const c = [n];
261
+ const [, l, a, d] = i, p = l.length;
262
+ let h = d, o = s + 1;
263
+ const c = [r];
262
264
  for (; o < t.length; ) {
263
- const d = t[o];
264
- if (d.match(N))
265
+ const u = t[o];
266
+ if (u.match(N))
265
267
  break;
266
- if (d.trim() === "")
267
- c.push(d), h += `
268
+ if (u.trim() === "")
269
+ c.push(u), h += `
268
270
  `, o += 1;
269
- else if (d.match(Z))
270
- c.push(d), h += `
271
- ${d.slice(p + 2)}`, o += 1;
271
+ else if (u.match(Z))
272
+ c.push(u), h += `
273
+ ${u.slice(p + 2)}`, o += 1;
272
274
  else
273
275
  break;
274
276
  }
@@ -278,36 +280,36 @@ ${d.slice(p + 2)}`, o += 1;
278
280
  content: h.trim(),
279
281
  raw: c.join(`
280
282
  `)
281
- }), r = o, s = o;
283
+ }), n = o, s = o;
282
284
  }
283
- return [e, r];
285
+ return [e, n];
284
286
  }
285
- function B(t, e, s) {
286
- var r;
287
- const n = [];
287
+ function j(t, e, s) {
288
+ var n;
289
+ const r = [];
288
290
  let i = 0;
289
291
  for (; i < t.length; ) {
290
292
  const l = t[i];
291
293
  if (l.indent === e) {
292
294
  const a = l.content.split(`
293
- `), u = ((r = a[0]) == null ? void 0 : r.trim()) || "", p = [];
294
- u && p.push({
295
+ `), d = ((n = a[0]) == null ? void 0 : n.trim()) || "", p = [];
296
+ d && p.push({
295
297
  type: "paragraph",
296
- raw: u,
297
- tokens: s.inlineTokens(u)
298
+ raw: d,
299
+ tokens: s.inlineTokens(d)
298
300
  });
299
301
  const h = a.slice(1).join(`
300
302
  `).trim();
301
303
  if (h) {
302
- const d = s.blockTokens(h);
303
- p.push(...d);
304
+ const u = s.blockTokens(h);
305
+ p.push(...u);
304
306
  }
305
307
  let o = i + 1;
306
308
  const c = [];
307
309
  for (; o < t.length && t[o].indent > e; )
308
310
  c.push(t[o]), o += 1;
309
311
  if (c.length > 0) {
310
- const d = Math.min(...c.map((m) => m.indent)), k = B(c, d, s);
312
+ const u = Math.min(...c.map((m) => m.indent)), k = j(c, u, s);
311
313
  p.push({
312
314
  type: "list",
313
315
  ordered: !0,
@@ -317,7 +319,7 @@ function B(t, e, s) {
317
319
  `)
318
320
  });
319
321
  }
320
- n.push({
322
+ r.push({
321
323
  type: "list_item",
322
324
  raw: l.raw,
323
325
  tokens: p
@@ -325,29 +327,29 @@ function B(t, e, s) {
325
327
  } else
326
328
  i += 1;
327
329
  }
328
- return n;
330
+ return r;
329
331
  }
330
332
  function et(t, e) {
331
333
  return t.map((s) => {
332
334
  if (s.type !== "list_item")
333
335
  return e.parseChildren([s])[0];
334
- const r = [];
335
- return s.tokens && s.tokens.length > 0 && s.tokens.forEach((n) => {
336
- if (n.type === "paragraph" || n.type === "list" || n.type === "blockquote" || n.type === "code")
337
- r.push(...e.parseChildren([n]));
338
- else if (n.type === "text" && n.tokens) {
339
- const i = e.parseChildren([n]);
340
- r.push({
336
+ const n = [];
337
+ return s.tokens && s.tokens.length > 0 && s.tokens.forEach((r) => {
338
+ if (r.type === "paragraph" || r.type === "list" || r.type === "blockquote" || r.type === "code")
339
+ n.push(...e.parseChildren([r]));
340
+ else if (r.type === "text" && r.tokens) {
341
+ const i = e.parseChildren([r]);
342
+ n.push({
341
343
  type: "paragraph",
342
344
  content: i
343
345
  });
344
346
  } else {
345
- const i = e.parseChildren([n]);
346
- i.length > 0 && r.push(...i);
347
+ const i = e.parseChildren([r]);
348
+ i.length > 0 && n.push(...i);
347
349
  }
348
350
  }), {
349
351
  type: "listItem",
350
- content: r
352
+ content: n
351
353
  };
352
354
  });
353
355
  }
@@ -392,14 +394,14 @@ var st = "listItem", E = "textStyle", H = /^(\d+)\.\s$/, nt = g.create({
392
394
  parseMarkdown: (t, e) => {
393
395
  if (t.type !== "list" || !t.ordered)
394
396
  return [];
395
- const s = t.start || 1, r = t.items ? et(t.items, e) : [];
397
+ const s = t.start || 1, n = t.items ? et(t.items, e) : [];
396
398
  return s !== 1 ? {
397
399
  type: "orderedList",
398
400
  attrs: { start: s },
399
- content: r
401
+ content: n
400
402
  } : {
401
403
  type: "orderedList",
402
- content: r
404
+ content: n
403
405
  };
404
406
  },
405
407
  renderMarkdown: (t, e) => t.content ? e.renderChildren(t.content, `
@@ -412,18 +414,18 @@ var st = "listItem", E = "textStyle", H = /^(\d+)\.\s$/, nt = g.create({
412
414
  return s !== void 0 ? s : -1;
413
415
  },
414
416
  tokenize: (t, e, s) => {
415
- var r;
416
- const n = t.split(`
417
- `), [i, l] = tt(n);
417
+ var n;
418
+ const r = t.split(`
419
+ `), [i, l] = tt(r);
418
420
  if (i.length === 0)
419
421
  return;
420
- const a = B(i, 0, s);
422
+ const a = j(i, 0, s);
421
423
  return a.length === 0 ? void 0 : {
422
424
  type: "list",
423
425
  ordered: !0,
424
- start: ((r = i[0]) == null ? void 0 : r.number) || 1,
426
+ start: ((n = i[0]) == null ? void 0 : n.number) || 1,
425
427
  items: a,
426
- raw: n.slice(0, l).join(`
428
+ raw: r.slice(0, l).join(`
427
429
  `)
428
430
  };
429
431
  }
@@ -518,15 +520,15 @@ var st = "listItem", E = "textStyle", H = /^(\d+)\.\s$/, nt = g.create({
518
520
  parseMarkdown: (t, e) => {
519
521
  const s = [];
520
522
  if (t.tokens && t.tokens.length > 0 ? s.push(e.createNode("paragraph", {}, e.parseInline(t.tokens))) : t.text ? s.push(e.createNode("paragraph", {}, [e.createNode("text", { text: t.text })])) : s.push(e.createNode("paragraph", {}, [])), t.nestedTokens && t.nestedTokens.length > 0) {
521
- const r = e.parseChildren(t.nestedTokens);
522
- s.push(...r);
523
+ const n = e.parseChildren(t.nestedTokens);
524
+ s.push(...n);
523
525
  }
524
526
  return e.createNode("taskItem", { checked: t.checked || !1 }, s);
525
527
  },
526
528
  renderMarkdown: (t, e) => {
527
529
  var s;
528
- const n = `- [${(s = t.attrs) != null && s.checked ? "x" : " "}] `;
529
- return $(t, e, n);
530
+ const r = `- [${(s = t.attrs) != null && s.checked ? "x" : " "}] `;
531
+ return $(t, e, r);
530
532
  },
531
533
  addKeyboardShortcuts() {
532
534
  const t = {
@@ -539,45 +541,45 @@ var st = "listItem", E = "textStyle", H = /^(\d+)\.\s$/, nt = g.create({
539
541
  } : t;
540
542
  },
541
543
  addNodeView() {
542
- return ({ node: t, HTMLAttributes: e, getPos: s, editor: r }) => {
543
- const n = document.createElement("li"), i = document.createElement("label"), l = document.createElement("span"), a = document.createElement("input"), u = document.createElement("div"), p = (o) => {
544
- var c, d;
545
- a.ariaLabel = ((d = (c = this.options.a11y) == null ? void 0 : c.checkboxLabel) == null ? void 0 : d.call(c, o, a.checked)) || `Task item checkbox for ${o.textContent || "empty task item"}`;
544
+ return ({ node: t, HTMLAttributes: e, getPos: s, editor: n }) => {
545
+ const r = document.createElement("li"), i = document.createElement("label"), l = document.createElement("span"), a = document.createElement("input"), d = document.createElement("div"), p = (o) => {
546
+ var c, u;
547
+ a.ariaLabel = ((u = (c = this.options.a11y) == null ? void 0 : c.checkboxLabel) == null ? void 0 : u.call(c, o, a.checked)) || `Task item checkbox for ${o.textContent || "empty task item"}`;
546
548
  };
547
549
  p(t), i.contentEditable = "false", a.type = "checkbox", a.addEventListener("mousedown", (o) => o.preventDefault()), a.addEventListener("change", (o) => {
548
- if (!r.isEditable && !this.options.onReadOnlyChecked) {
550
+ if (!n.isEditable && !this.options.onReadOnlyChecked) {
549
551
  a.checked = !a.checked;
550
552
  return;
551
553
  }
552
554
  const { checked: c } = o.target;
553
- r.isEditable && typeof s == "function" && r.chain().focus(void 0, { scrollIntoView: !1 }).command(({ tr: d }) => {
555
+ n.isEditable && typeof s == "function" && n.chain().focus(void 0, { scrollIntoView: !1 }).command(({ tr: u }) => {
554
556
  const k = s();
555
557
  if (typeof k != "number")
556
558
  return !1;
557
- const m = d.doc.nodeAt(k);
558
- return d.setNodeMarkup(k, void 0, {
559
+ const m = u.doc.nodeAt(k);
560
+ return u.setNodeMarkup(k, void 0, {
559
561
  ...m?.attrs,
560
562
  checked: c
561
563
  }), !0;
562
- }).run(), !r.isEditable && this.options.onReadOnlyChecked && (this.options.onReadOnlyChecked(t, c) || (a.checked = !a.checked));
564
+ }).run(), !n.isEditable && this.options.onReadOnlyChecked && (this.options.onReadOnlyChecked(t, c) || (a.checked = !a.checked));
563
565
  }), Object.entries(this.options.HTMLAttributes).forEach(([o, c]) => {
564
- n.setAttribute(o, c);
565
- }), n.dataset.checked = t.attrs.checked, a.checked = t.attrs.checked, i.append(a, l), n.append(i, u), Object.entries(e).forEach(([o, c]) => {
566
- n.setAttribute(o, c);
566
+ r.setAttribute(o, c);
567
+ }), r.dataset.checked = t.attrs.checked, a.checked = t.attrs.checked, i.append(a, l), r.append(i, d), Object.entries(e).forEach(([o, c]) => {
568
+ r.setAttribute(o, c);
567
569
  });
568
570
  let h = new Set(Object.keys(e));
569
571
  return {
570
- dom: n,
571
- contentDOM: u,
572
+ dom: r,
573
+ contentDOM: d,
572
574
  update: (o) => {
573
575
  if (o.type !== this.type)
574
576
  return !1;
575
- n.dataset.checked = o.attrs.checked, a.checked = o.attrs.checked, p(o);
576
- const c = r.extensionManager.attributes, d = K(o, c), k = new Set(Object.keys(d)), m = this.options.HTMLAttributes;
577
+ r.dataset.checked = o.attrs.checked, a.checked = o.attrs.checked, p(o);
578
+ const c = n.extensionManager.attributes, u = K(o, c), k = new Set(Object.keys(u)), m = this.options.HTMLAttributes;
577
579
  return h.forEach((f) => {
578
- k.has(f) || (f in m ? n.setAttribute(f, m[f]) : n.removeAttribute(f));
579
- }), Object.entries(d).forEach(([f, v]) => {
580
- v == null ? f in m ? n.setAttribute(f, m[f]) : n.removeAttribute(f) : n.setAttribute(f, v);
580
+ k.has(f) || (f in m ? r.setAttribute(f, m[f]) : r.removeAttribute(f));
581
+ }), Object.entries(u).forEach(([f, v]) => {
582
+ v == null ? f in m ? r.setAttribute(f, m[f]) : r.removeAttribute(f) : r.setAttribute(f, v);
581
583
  }), h = k, !0;
582
584
  }
583
585
  };
@@ -629,7 +631,7 @@ var st = "listItem", E = "textStyle", H = /^(\d+)\.\s$/, nt = g.create({
629
631
  return s !== void 0 ? s : -1;
630
632
  },
631
633
  tokenize(t, e, s) {
632
- const r = (i) => {
634
+ const n = (i) => {
633
635
  const l = x(
634
636
  i,
635
637
  {
@@ -639,7 +641,7 @@ var st = "listItem", E = "textStyle", H = /^(\d+)\.\s$/, nt = g.create({
639
641
  mainContent: a[4],
640
642
  checked: a[3].toLowerCase() === "x"
641
643
  }),
642
- createToken: (a, u) => ({
644
+ createToken: (a, d) => ({
643
645
  type: "taskItem",
644
646
  raw: "",
645
647
  mainContent: a.mainContent,
@@ -647,10 +649,10 @@ var st = "listItem", E = "textStyle", H = /^(\d+)\.\s$/, nt = g.create({
647
649
  checked: a.checked,
648
650
  text: a.mainContent,
649
651
  tokens: s.inlineTokens(a.mainContent),
650
- nestedTokens: u
652
+ nestedTokens: d
651
653
  }),
652
654
  // Allow recursive nesting
653
- customNestedParser: r
655
+ customNestedParser: n
654
656
  },
655
657
  s
656
658
  );
@@ -661,7 +663,7 @@ var st = "listItem", E = "textStyle", H = /^(\d+)\.\s$/, nt = g.create({
661
663
  items: l.items
662
664
  }
663
665
  ] : s.blockTokens(i);
664
- }, n = x(
666
+ }, r = x(
665
667
  t,
666
668
  {
667
669
  itemPattern: /^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,
@@ -681,15 +683,15 @@ var st = "listItem", E = "textStyle", H = /^(\d+)\.\s$/, nt = g.create({
681
683
  nestedTokens: l
682
684
  }),
683
685
  // Use the recursive parser for nested content
684
- customNestedParser: r
686
+ customNestedParser: n
685
687
  },
686
688
  s
687
689
  );
688
- if (n)
690
+ if (r)
689
691
  return {
690
692
  type: "taskList",
691
- raw: n.raw,
692
- items: n.items
693
+ raw: r.raw,
694
+ items: r.items
693
695
  };
694
696
  }
695
697
  },
@@ -0,0 +1,49 @@
1
+ import { N as p, m as d } from "./vendor-tiptap-core-BWgKs47g.js";
2
+ var i = "&nbsp;", u = " ", v = p.create({
3
+ name: "paragraph",
4
+ priority: 1e3,
5
+ addOptions() {
6
+ return {
7
+ HTMLAttributes: {}
8
+ };
9
+ },
10
+ group: "block",
11
+ content: "inline*",
12
+ parseHTML() {
13
+ return [{ tag: "p" }];
14
+ },
15
+ renderHTML({ HTMLAttributes: e }) {
16
+ return ["p", d(this.options.HTMLAttributes, e), 0];
17
+ },
18
+ parseMarkdown: (e, n) => {
19
+ const r = e.tokens || [];
20
+ if (r.length === 1 && r[0].type === "image")
21
+ return n.parseChildren([r[0]]);
22
+ const t = n.parseInline(r);
23
+ return t.length === 1 && t[0].type === "text" && (t[0].text === i || t[0].text === u) ? n.createNode("paragraph", void 0, []) : n.createNode("paragraph", void 0, t);
24
+ },
25
+ renderMarkdown: (e, n, r) => {
26
+ var t, a;
27
+ if (!e)
28
+ return "";
29
+ const o = Array.isArray(e.content) ? e.content : [];
30
+ if (o.length === 0) {
31
+ const s = Array.isArray((t = r?.previousNode) == null ? void 0 : t.content) ? r.previousNode.content : [];
32
+ return ((a = r?.previousNode) == null ? void 0 : a.type) === "paragraph" && s.length === 0 ? i : "";
33
+ }
34
+ return n.renderChildren(o);
35
+ },
36
+ addCommands() {
37
+ return {
38
+ setParagraph: () => ({ commands: e }) => e.setNode(this.name)
39
+ };
40
+ },
41
+ addKeyboardShortcuts() {
42
+ return {
43
+ "Mod-Alt-0": () => this.editor.commands.setParagraph()
44
+ };
45
+ }
46
+ });
47
+ export {
48
+ v as P
49
+ };
@@ -0,0 +1 @@
1
+ import "./vendor-tiptap-extensions-CqOFzZAS.js";
@@ -1,4 +1,4 @@
1
- import { M as r, a as s, b as a, m as n } from "./vendor-tiptap-core-CDScflP1.js";
1
+ import { M as r, a as s, b as a, m as n } from "./vendor-tiptap-core-BWgKs47g.js";
2
2
  var i = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, d = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, o = r.create({
3
3
  name: "strike",
4
4
  addOptions() {
@@ -0,0 +1 @@
1
+ import "./vendor-tiptap-extension-table-tNWQInwa.js";
@@ -0,0 +1 @@
1
+ import "./vendor-tiptap-extension-table-tNWQInwa.js";
@@ -0,0 +1 @@
1
+ import "./vendor-tiptap-extension-table-tNWQInwa.js";
@@ -1,6 +1,6 @@
1
- import { N as x, m as M, x as $, y as k, k as _, A as O } from "./vendor-tiptap-core-CDScflP1.js";
1
+ import { N as x, m as M, x as $, y as k, k as _, A as O } from "./vendor-tiptap-core-BWgKs47g.js";
2
2
  import { T as I } from "./vendor-prosemirror-state-IeimrELV.js";
3
- import { c as P, t as j, C as N, f as z, g as H, s as D, m as W, a as v, b as V, d as S, e as B, h as K, i as F, j as U, k as q, l as G, n as J } from "./vendor-prosemirror-tables-zVUKdbdQ.js";
3
+ import { c as P, t as j, C as N, f as z, g as H, s as D, m as W, a as v, b as V, d as S, e as B, h as K, i as F, j as U, k as q, l as G, n as J } from "./vendor-prosemirror-tables-DIAkeGRL.js";
4
4
  var Q = x.create({
5
5
  name: "tableCell",
6
6
  addOptions() {
@@ -1,4 +1,4 @@
1
- import { N as t } from "./vendor-tiptap-core-CDScflP1.js";
1
+ import { N as t } from "./vendor-tiptap-core-BWgKs47g.js";
2
2
  var a = t.create({
3
3
  name: "text",
4
4
  group: "inline",
@@ -1,4 +1,4 @@
1
- import { M as y, m as p, k as l } from "./vendor-tiptap-core-CDScflP1.js";
1
+ import { M as y, m as p, k as l } from "./vendor-tiptap-core-BWgKs47g.js";
2
2
  var d = 20, u = (t, e = 0) => {
3
3
  const r = [];
4
4
  return !t.children.length || e > d || Array.from(t.children).forEach((o) => {
@@ -1,4 +1,4 @@
1
- import { M as s, m as a } from "./vendor-tiptap-core-CDScflP1.js";
1
+ import { M as s, m as a } from "./vendor-tiptap-core-BWgKs47g.js";
2
2
  var u = s.create({
3
3
  name: "underline",
4
4
  addOptions() {