@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.
- package/CHANGELOG.md +26 -0
- package/dist/ai-agent/index.js +2 -2
- 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
- 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
- package/dist/chunks/{index-CE4_3UE1.js → index-BNE1zizw.js} +4 -2
- package/dist/chunks/{index-ChV43Tba.js → index-BfOiCZwO.js} +4 -9
- package/dist/chunks/{index-BIt6l9n8.js → index-BuTo_Lx8.js} +2 -6
- 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
- package/dist/chunks/{vendor-prosemirror-gapcursor-S3ikcYX6.js → vendor-prosemirror-gapcursor-D3tpkzBp.js} +1 -1
- package/dist/chunks/{vendor-prosemirror-tables-zVUKdbdQ.js → vendor-prosemirror-tables-DIAkeGRL.js} +1 -1
- package/dist/chunks/{vendor-prosemirror-view-DFpBkGRq.js → vendor-prosemirror-view-Chu67Jpw.js} +9 -3
- package/dist/chunks/{vendor-tiptap-core-CDScflP1.js → vendor-tiptap-core-BWgKs47g.js} +44 -40
- package/dist/chunks/{vendor-tiptap-extension-blockquote-ChRAwuus.js → vendor-tiptap-extension-blockquote-B1RV9c0W.js} +16 -11
- package/dist/chunks/{vendor-tiptap-extension-bold-BwoVpOFS.js → vendor-tiptap-extension-bold-BdAf6fWQ.js} +11 -5
- package/dist/chunks/{vendor-tiptap-extension-code-DOlgG3ih.js → vendor-tiptap-extension-code-_cv4EOBy.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-code-block-CMeTs87s.js → vendor-tiptap-extension-code-block-CT5P4x0D.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-document-DO8oly70.js → vendor-tiptap-extension-document-C41wXth1.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-hard-break-BgDl2sHf.js → vendor-tiptap-extension-hard-break-Ds2hA4at.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-heading-DFuYlwHi.js → vendor-tiptap-extension-heading-DvnqoCO-.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-horizontal-rule-uyfttMp9.js → vendor-tiptap-extension-horizontal-rule-BceRNOIu.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-image-DPeBaTE3.js → vendor-tiptap-extension-image-DLERQS1u.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-italic-C9-3jNxO.js → vendor-tiptap-extension-italic-BGv0ktjJ.js} +20 -14
- package/dist/chunks/{vendor-tiptap-extension-link-B57VzStq.js → vendor-tiptap-extension-link-BAzgztbX.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-list-spvOF7Mz.js → vendor-tiptap-extension-list-rFRwhCY_.js} +128 -126
- package/dist/chunks/vendor-tiptap-extension-paragraph-EwqudBl5.js +49 -0
- package/dist/chunks/vendor-tiptap-extension-placeholder-WyhAnzy7.js +1 -0
- package/dist/chunks/{vendor-tiptap-extension-strike-yj6UvnkO.js → vendor-tiptap-extension-strike-Cqq1i9pe.js} +1 -1
- package/dist/chunks/vendor-tiptap-extension-table-cell-odWoHoTv.js +1 -0
- package/dist/chunks/vendor-tiptap-extension-table-header-odWoHoTv.js +1 -0
- package/dist/chunks/vendor-tiptap-extension-table-row-odWoHoTv.js +1 -0
- package/dist/chunks/{vendor-tiptap-extension-table-ex1kZQ-9.js → vendor-tiptap-extension-table-tNWQInwa.js} +2 -2
- package/dist/chunks/{vendor-tiptap-extension-text-C8FG4KnI.js → vendor-tiptap-extension-text-BaLQc3hC.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-text-style-DsQDXowp.js → vendor-tiptap-extension-text-style-BDbT1PMb.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-underline-HB3fg6Dc.js → vendor-tiptap-extension-underline-CiUEdG6D.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extensions-CUGwjzl5.js → vendor-tiptap-extensions-CqOFzZAS.js} +11 -9
- package/dist/chunks/{vendor-tiptap-markdown-BHy-gUA1.js → vendor-tiptap-markdown-D0feGfKk.js} +1 -1
- package/dist/chunks/vendor-tiptap-pm-CG4ksPkF.js +1 -0
- package/dist/chunks/{vendor-tiptap-starter-kit-C42PcJ7J.js → vendor-tiptap-starter-kit-DcsDv0Wg.js} +17 -17
- package/dist/chunks/{vendor-tiptap-vue-3-BxWCzu9Z.js → vendor-tiptap-vue-3-CdIBiRMV.js} +1 -1
- package/dist/core/blade-navigation/bladeConfigRegistry.d.ts +21 -0
- package/dist/core/blade-navigation/bladeConfigRegistry.d.ts.map +1 -0
- package/dist/core/blade-navigation/index.d.ts +1 -0
- package/dist/core/blade-navigation/index.d.ts.map +1 -1
- package/dist/core/blade-navigation/types/index.d.ts +36 -1
- package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/core/blade-navigation/useBladeMessaging.d.ts.map +1 -1
- package/dist/core/blade-navigation/utils/bladeRouterGuard.d.ts.map +1 -1
- package/dist/core/blade-navigation/utils/restoreFromUrl.d.ts.map +1 -1
- package/dist/core/composables/useAppBarMobileButtons/index.d.ts.map +1 -1
- package/dist/core/composables/useAssets/index.d.ts.map +1 -1
- package/dist/core/composables/useAsync/index.d.ts.map +1 -1
- package/dist/core/composables/useBlade/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeContext.d.ts.map +1 -1
- package/dist/core/composables/useBladeNavigationAdapter/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeRegistry/index.d.ts.map +1 -1
- package/dist/core/composables/useConnectionStatus/index.d.ts.map +1 -1
- package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
- package/dist/core/composables/useFunctions/debounce.d.ts.map +1 -1
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/useSidebarState/index.d.ts.map +1 -1
- package/dist/core/composables/useSlowNetworkDetection/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/interceptors/index.d.ts.map +1 -1
- package/dist/core/notifications/composables/index.d.ts +1 -0
- package/dist/core/notifications/composables/index.d.ts.map +1 -1
- package/dist/core/notifications/composables/useNotificationContext.d.ts +4 -0
- package/dist/core/notifications/composables/useNotificationContext.d.ts.map +1 -0
- package/dist/core/notifications/index.d.ts +2 -1
- package/dist/core/notifications/index.d.ts.map +1 -1
- package/dist/core/notifications/store.d.ts.map +1 -1
- package/dist/core/notifications/toast-controller.d.ts.map +1 -1
- package/dist/core/notifications/toast-types.d.ts.map +1 -1
- package/dist/core/notifications/types.d.ts +2 -1
- package/dist/core/notifications/types.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/composables/index.d.ts +1 -1
- package/dist/core/plugins/ai-agent/composables/index.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/index.d.ts +2 -2
- package/dist/core/plugins/ai-agent/index.d.ts.map +1 -1
- package/dist/core/plugins/extension-points/ExtensionPoint.vue.d.ts.map +1 -1
- package/dist/core/plugins/extension-points/store.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/plugins/validation/rules.d.ts.map +1 -1
- package/dist/core/services/_internal/index.d.ts +3 -3
- package/dist/core/services/_internal/index.d.ts.map +1 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/core/utilities/date/formatDate.d.ts.map +1 -1
- package/dist/core/utilities/error.d.ts.map +1 -1
- package/dist/extensions/index.js +1 -1
- package/dist/framework.js +617 -642
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
- package/dist/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
- package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -1
- package/dist/shell/_internal/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts.map +1 -1
- package/dist/shell/_internal/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shell/_internal/notifications/composables/useContainer/index.d.ts.map +1 -1
- package/dist/shell/_internal/popup/components/vc-popup-container/vc-popup-container.vue.d.ts.map +1 -1
- package/dist/shell/_internal/popup/composables/usePopup/index.d.ts.map +1 -1
- package/dist/shell/auth/sign-in/useExternalProvider.d.ts.map +1 -1
- package/dist/shell/components/notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -1
- package/dist/shell/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -1
- package/dist/shell/components/notification-template/notification-template.vue.d.ts.map +1 -1
- package/dist/shell/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
- package/dist/shell/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
- package/dist/shell/dashboard/dashboard-charts/DashboardBarChart.vue.d.ts.map +1 -1
- package/dist/shell/dashboard/dashboard-charts/DashboardDonutChart.vue.d.ts.map +1 -1
- package/dist/shell/dashboard/dashboard-charts/DashboardLineChart.vue.d.ts.map +1 -1
- package/dist/shell/dashboard/dashboard-charts/chart-utils.d.ts +1 -1
- package/dist/shell/dashboard/dashboard-charts/chart-utils.d.ts.map +1 -1
- package/dist/shell/dashboard/draggable-dashboard/GridstackDashboard.vue.d.ts.map +1 -1
- package/dist/shell/dashboard/draggable-dashboard/composables/useGridstack.d.ts.map +1 -1
- package/dist/shell/dashboard/draggable-dashboard/composables/useGridstackAdapter.d.ts.map +1 -1
- package/dist/shell/dashboard/draggable-dashboard/index.d.ts +1 -1
- package/dist/shell/dashboard/draggable-dashboard/index.d.ts.map +1 -1
- package/dist/test-helpers.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-banner/vc-banner.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-button/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-scrollable-container/vc-scrollable-container.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-accordion/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-dropdown/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/_internal/extensions/font-size.d.ts +3 -3
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-font-selector.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-image-tile/vc-image-tile.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-group/vc-input-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-menu/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-menu/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueDropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/composables/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-multivalue/composables/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/_internal/SelectDropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/composables/index.d.ts +1 -1
- package/dist/ui/components/molecules/vc-select/composables/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/composables/useSelectSelection.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/composables/useSelectValueMapping.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/composables/useSelectVisibility.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarOverlay.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/composition/menu/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composition/state/index.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/composition/state/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/utils.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryPreview.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/VcTableAdapter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/base/BaseVcDataTable.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/ColumnSwitcherButton.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableBody.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/Table.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableActions.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableBody.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableEmpty.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableHead.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableSelectAllBar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/cells/CellDate.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/cells/CellDateAgo.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/cells/CellDefault.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/cells/CellHtml.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/cells/CellMoney.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/cells/CellNumber.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/cells/CellStatusIcon.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/index.d.ts +9 -9
- package/dist/ui/components/organisms/vc-table/composables/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useDataProcessing.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useDataTableState.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumns.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnsReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableEditing.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableExpansion.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableInlineEdit.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableSelectionV2.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableSort.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useVirtualScroll.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/index.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/types.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/types.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/utils/ColumnCollector.d.ts.map +1 -1
- package/dist/ui/composables/index.d.ts +1 -0
- package/dist/ui/composables/index.d.ts.map +1 -1
- package/dist/ui/composables/useCollapsible.d.ts.map +1 -1
- package/dist/ui/composables/useDataTableSort.d.ts +24 -0
- package/dist/ui/composables/useDataTableSort.d.ts.map +1 -0
- package/dist/ui/composables/useScrollArrows.d.ts.map +1 -1
- package/dist/ui/composables/useTableSelection.d.ts.map +1 -1
- package/dist/ui/composables/useTableSort.d.ts.map +1 -1
- package/dist/ui/index.js +42 -41
- package/dist/ui/types/global-components.d.ts.map +1 -1
- package/dist/ui/utilities/vueUtils.d.ts.map +1 -1
- package/dist/vitest-axe.setup.d.ts.map +1 -1
- package/globals-augments.d.ts +0 -2
- package/globals.d.ts +1 -2
- package/package.json +5 -4
- package/shims-vue.d.ts +0 -2
- package/typings/blade-macros.d.ts +25 -0
- package/dist/chunks/vendor-tiptap-extension-paragraph-Cj7auQB7.js +0 -44
- package/dist/chunks/vendor-tiptap-extension-placeholder-DhwvmZ6Y.js +0 -1
- package/dist/chunks/vendor-tiptap-extension-table-cell-CQpTPSvF.js +0 -1
- package/dist/chunks/vendor-tiptap-extension-table-header-CQpTPSvF.js +0 -1
- package/dist/chunks/vendor-tiptap-extension-table-row-CQpTPSvF.js +0 -1
- package/dist/chunks/vendor-tiptap-pm-DSHuSumV.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject as A, computed as g, ref as y, watch as R, onUnmounted as j } from "vue";
|
|
2
|
-
import { j as D, k as S, l as C, D as T, A as F } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { j as D, k as S, l as C, D as T, A as F } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-D8HSEumV.js";
|
|
3
3
|
import { m as N, i as m } from "./vendor-lodash-es-QnNVqiqU.js";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
import "./ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
|
|
@@ -100,7 +100,9 @@ const _ = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, h =
|
|
|
100
100
|
const { config: d = {}, addGlobalToolbarButton: i = !0 } = r;
|
|
101
101
|
let a = d.url || "";
|
|
102
102
|
if (!a && typeof import.meta < "u" && _ && (a = _[F] || ""), !a) {
|
|
103
|
-
h.info(
|
|
103
|
+
h.info(
|
|
104
|
+
"AI Agent plugin skipped: no URL configured. Set APP_AI_AGENT_URL env variable or pass config.url option."
|
|
105
|
+
);
|
|
104
106
|
return;
|
|
105
107
|
}
|
|
106
108
|
const e = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ } from "./vc-toast.vue_vue_type_style_index_0_lang-
|
|
2
|
-
import { N as E, d as F } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ } from "./vc-toast.vue_vue_type_style_index_0_lang-DHCQ1-ud.js";
|
|
2
|
+
import { N as E, d as F } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-D8HSEumV.js";
|
|
3
3
|
import { defineComponent as L, inject as G, computed as T, ref as w, reactive as K, h as a, toRaw as V } from "vue";
|
|
4
4
|
const f = 14, H = 3, Q = L({
|
|
5
5
|
name: "NotificationContainer",
|
|
@@ -46,7 +46,6 @@ const f = 14, H = 3, Q = L({
|
|
|
46
46
|
default: void 0
|
|
47
47
|
},
|
|
48
48
|
payload: {
|
|
49
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
50
49
|
type: [String, Object],
|
|
51
50
|
required: !1,
|
|
52
51
|
default: () => ({})
|
|
@@ -74,8 +73,7 @@ const f = 14, H = 3, Q = L({
|
|
|
74
73
|
o.get(t) !== i && o.set(t, i);
|
|
75
74
|
}
|
|
76
75
|
function j(t) {
|
|
77
|
-
return typeof t == "object" &&
|
|
78
|
-
(!!t?.render || !!t?.setup);
|
|
76
|
+
return typeof t == "object" && (!!t?.render || !!t?.setup);
|
|
79
77
|
}
|
|
80
78
|
function k(t) {
|
|
81
79
|
t && (o.delete(t), y.remove(t));
|
|
@@ -135,10 +133,7 @@ const f = 14, H = 3, Q = L({
|
|
|
135
133
|
type: "button",
|
|
136
134
|
onClick: B
|
|
137
135
|
},
|
|
138
|
-
[
|
|
139
|
-
a(F, { icon: "lucide-x", size: "xs", "aria-hidden": "true" }),
|
|
140
|
-
"Clear all"
|
|
141
|
-
]
|
|
136
|
+
[a(F, { icon: "lucide-x", size: "xs", "aria-hidden": "true" }), "Clear all"]
|
|
142
137
|
)
|
|
143
138
|
]
|
|
144
139
|
));
|
|
@@ -31,12 +31,8 @@ const z = /* @__PURE__ */ E({
|
|
|
31
31
|
const e = o, { components: l } = B(e.name), r = i(() => {
|
|
32
32
|
if (!e.filter) return l.value;
|
|
33
33
|
const c = Object.entries(e.filter);
|
|
34
|
-
return l.value.filter(
|
|
35
|
-
|
|
36
|
-
);
|
|
37
|
-
}), t = i(() => r.value.length > 0), n = i(
|
|
38
|
-
() => e.separator || e.separatorClass || e.wrapperClass || e.gap
|
|
39
|
-
), a = i(() => {
|
|
34
|
+
return l.value.filter((m) => m.meta && c.every(([s, k]) => m.meta[s] === k));
|
|
35
|
+
}), t = i(() => r.value.length > 0), n = i(() => e.separator || e.separatorClass || e.wrapperClass || e.gap), a = i(() => {
|
|
40
36
|
if (e.gap)
|
|
41
37
|
return {
|
|
42
38
|
display: "flex",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as q, toRefs as K, ref as s, computed as g, watch as B, onMounted as L, onBeforeUnmount as j, openBlock as y, createElementBlock as b, normalizeClass as G, createElementVNode as C, createVNode as O, unref as S, normalizeStyle as J, toDisplayString as Q, createBlock as Z, resolveDynamicComponent as ee, withKeys as te, withModifiers as oe } from "vue";
|
|
2
|
-
import { d as k } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { d as k } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-D8HSEumV.js";
|
|
3
3
|
const ne = ["id", "data-mounted", "data-removed", "data-y-position", "data-front", "data-expanded", "data-visible", "data-swiping", "data-swiped-out", "role"], ie = { class: "vc-notification__content-wrapper" }, ae = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "vc-notification__content"
|
|
@@ -113,9 +113,7 @@ const ne = ["id", "data-mounted", "data-removed", "data-y-position", "data-front
|
|
|
113
113
|
i.value?.style.setProperty("--swipe-amount-x", "0px"), r.value = 0, c.value = 0;
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
|
-
const n = parseFloat(
|
|
117
|
-
i.value?.style.getPropertyValue("--swipe-amount-x")?.replace("px", "") || "0"
|
|
118
|
-
), m = Date.now() - T.value, v = Math.abs(n) / m;
|
|
116
|
+
const n = parseFloat(i.value?.style.getPropertyValue("--swipe-amount-x")?.replace("px", "") || "0"), m = Date.now() - T.value, v = Math.abs(n) / m;
|
|
119
117
|
if (Math.abs(n) >= le || v > 0.11) {
|
|
120
118
|
u.value = !0, l.value?.clear(), p.value = !0;
|
|
121
119
|
const h = n > 0 ? 1 : -1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as S } from "./vendor-prosemirror-keymap-CAfQyvJ7.js";
|
|
2
2
|
import { P as v, T as m, N as g, S as u } from "./vendor-prosemirror-state-IeimrELV.js";
|
|
3
3
|
import { F as h, S as x } from "./vendor-prosemirror-model-DAA3avbR.js";
|
|
4
|
-
import { D as w, a as A } from "./vendor-prosemirror-view-
|
|
4
|
+
import { D as w, a as A } from "./vendor-prosemirror-view-Chu67Jpw.js";
|
|
5
5
|
class i extends u {
|
|
6
6
|
/**
|
|
7
7
|
Create a gap cursor.
|
package/dist/chunks/{vendor-prosemirror-tables-zVUKdbdQ.js → vendor-prosemirror-tables-DIAkeGRL.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as Z, S as M, T as E, b as ye, P as fe, N as Se } from "./vendor-prosemirror-state-IeimrELV.js";
|
|
2
2
|
import { F as R, S as z } from "./vendor-prosemirror-model-DAA3avbR.js";
|
|
3
|
-
import { D as X, a as q } from "./vendor-prosemirror-view-
|
|
3
|
+
import { D as X, a as q } from "./vendor-prosemirror-view-Chu67Jpw.js";
|
|
4
4
|
import { a as Ae } from "./vendor-prosemirror-keymap-CAfQyvJ7.js";
|
|
5
5
|
import { T as Re } from "./vendor-prosemirror-transform-BUjWd5Tb.js";
|
|
6
6
|
let U, J;
|
package/dist/chunks/{vendor-prosemirror-view-DFpBkGRq.js → vendor-prosemirror-view-Chu67Jpw.js}
RENAMED
|
@@ -3109,7 +3109,13 @@ class Go {
|
|
|
3109
3109
|
for (let d of a)
|
|
3110
3110
|
if (d.nodeName == "BR" && d.parentNode) {
|
|
3111
3111
|
let f = d.nextSibling;
|
|
3112
|
-
f && f.nodeType == 1
|
|
3112
|
+
for (; f && f.nodeType == 1; ) {
|
|
3113
|
+
if (f.contentEditable == "false") {
|
|
3114
|
+
d.parentNode.removeChild(d);
|
|
3115
|
+
break;
|
|
3116
|
+
}
|
|
3117
|
+
f = f.firstChild;
|
|
3118
|
+
}
|
|
3113
3119
|
}
|
|
3114
3120
|
} else if (B && a.length) {
|
|
3115
3121
|
let d = a.filter((f) => f.nodeName == "BR");
|
|
@@ -3529,11 +3535,11 @@ class si {
|
|
|
3529
3535
|
}
|
|
3530
3536
|
updateDraggedNode(e, n) {
|
|
3531
3537
|
let o = e.node, i = -1;
|
|
3532
|
-
if (this.state.doc.nodeAt(o.from) == o.node)
|
|
3538
|
+
if (o.from < this.state.doc.content.size && this.state.doc.nodeAt(o.from) == o.node)
|
|
3533
3539
|
i = o.from;
|
|
3534
3540
|
else {
|
|
3535
3541
|
let s = o.from + (this.state.doc.content.size - n.doc.content.size);
|
|
3536
|
-
(s > 0 && this.state.doc.nodeAt(s)) == o.node && (i = s);
|
|
3542
|
+
(s > 0 && s < this.state.doc.content.size && this.state.doc.nodeAt(s)) == o.node && (i = s);
|
|
3537
3543
|
}
|
|
3538
3544
|
this.dragging = new mn(e.slice, e.move, i < 0 ? void 0 : D.create(this.state.doc, i));
|
|
3539
3545
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as me, c as gt, T as ge, e as ve, l as ye, j as
|
|
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
|
|
3
|
-
import { N as nt, E as je, S as j, T as P, P as $, a as
|
|
1
|
+
import { f as me, c as gt, T as ge, e as ve, l as ye, j as Ot, 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 _e, p as Oe, 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 _, A as Le } from "./vendor-prosemirror-state-IeimrELV.js";
|
|
4
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
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-
|
|
6
|
+
import { E as qe } from "./vendor-prosemirror-view-Chu67Jpw.js";
|
|
7
7
|
import { k as Je } from "./vendor-prosemirror-keymap-CAfQyvJ7.js";
|
|
8
8
|
var Xe = Object.defineProperty, vt = (e, t) => {
|
|
9
9
|
for (var n in t)
|
|
@@ -138,8 +138,8 @@ vt(jt, {
|
|
|
138
138
|
scrollIntoView: () => zn,
|
|
139
139
|
selectAll: () => In,
|
|
140
140
|
selectNodeBackward: () => Dn,
|
|
141
|
-
selectNodeForward: () =>
|
|
142
|
-
selectParentNode: () =>
|
|
141
|
+
selectNodeForward: () => _n,
|
|
142
|
+
selectParentNode: () => On,
|
|
143
143
|
selectTextblockEnd: () => Bn,
|
|
144
144
|
selectTextblockStart: () => jn,
|
|
145
145
|
setContent: () => Ln,
|
|
@@ -479,14 +479,14 @@ var gn = (e) => !("type" in e), vn = (e, t, n) => ({ tr: r, dispatch: s, editor:
|
|
|
479
479
|
return !0;
|
|
480
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 =
|
|
482
|
+
const r = Ot(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
487
|
}, xn = () => ({ state: e, dispatch: t, tr: n }) => {
|
|
488
488
|
try {
|
|
489
|
-
const r =
|
|
489
|
+
const r = Ot(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;
|
|
@@ -586,7 +586,7 @@ var Rn = (e, t) => ({ tr: n, state: r, dispatch: s }) => {
|
|
|
586
586
|
e.setSelection(n);
|
|
587
587
|
}
|
|
588
588
|
return !0;
|
|
589
|
-
}, Dn = () => ({ state: e, dispatch: t }) => ze(e, t),
|
|
589
|
+
}, Dn = () => ({ state: e, dispatch: t }) => ze(e, t), _n = () => ({ state: e, dispatch: t }) => Ie(e, t), On = () => ({ state: e, dispatch: t }) => De(e, t), Bn = () => ({ state: e, dispatch: t }) => _e(e, t), jn = () => ({ state: e, dispatch: t }) => Oe(e, t);
|
|
590
590
|
function ht(e, t, n = {}, r = {}) {
|
|
591
591
|
return W(e, t, {
|
|
592
592
|
slice: !1,
|
|
@@ -1162,7 +1162,7 @@ function Mt(e, {
|
|
|
1162
1162
|
if (e.type.name === "hardBreak")
|
|
1163
1163
|
return !0;
|
|
1164
1164
|
if (e.isText)
|
|
1165
|
-
return
|
|
1165
|
+
return !/\S/.test((r = e.text) != null ? r : "");
|
|
1166
1166
|
}
|
|
1167
1167
|
if (e.isText)
|
|
1168
1168
|
return !e.text;
|
|
@@ -1290,7 +1290,7 @@ var ar = (e, t = {}) => ({ tr: n, state: r, dispatch: s }) => {
|
|
|
1290
1290
|
const r = T(e, t.schema);
|
|
1291
1291
|
return Ue(r)(t, n);
|
|
1292
1292
|
};
|
|
1293
|
-
function
|
|
1293
|
+
function _t(e, t) {
|
|
1294
1294
|
const n = e.storedMarks || e.selection.$to.parentOffset && e.selection.$from.marks();
|
|
1295
1295
|
if (n) {
|
|
1296
1296
|
const r = n.filter((s) => t?.includes(s.type.name));
|
|
@@ -1300,7 +1300,7 @@ function Ot(e, t) {
|
|
|
1300
1300
|
var hr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor: s }) => {
|
|
1301
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);
|
|
1302
1302
|
if (o instanceof nt && o.node.isBlock)
|
|
1303
|
-
return !a.parentOffset || !Q(i, a.pos) ? !1 : (r && (e &&
|
|
1303
|
+
return !a.parentOffset || !Q(i, a.pos) ? !1 : (r && (e && _t(n, s.extensionManager.splittableMarks), t.split(a.pos).scrollIntoView()), !0);
|
|
1304
1304
|
if (!a.parent.isBlock)
|
|
1305
1305
|
return !1;
|
|
1306
1306
|
const d = c.parentOffset === c.parent.content.size, p = a.depth === 0 ? void 0 : Fn(a.node(-1).contentMatchAt(a.indexAfter(-1)));
|
|
@@ -1320,7 +1320,7 @@ var hr = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor
|
|
|
1320
1320
|
const m = t.mapping.map(a.before()), g = t.doc.resolve(m);
|
|
1321
1321
|
a.node(-1).canReplaceWith(g.index(), g.index() + 1, p) && t.setNodeMarkup(t.mapping.map(a.before()), p);
|
|
1322
1322
|
}
|
|
1323
|
-
e &&
|
|
1323
|
+
e && _t(n, s.extensionManager.splittableMarks), t.scrollIntoView();
|
|
1324
1324
|
}
|
|
1325
1325
|
return h;
|
|
1326
1326
|
}, mr = (e, t = {}) => ({ tr: n, state: r, dispatch: s, editor: o }) => {
|
|
@@ -1792,8 +1792,8 @@ function Dr(e) {
|
|
|
1792
1792
|
Ir(E, o.find, i).forEach((C) => {
|
|
1793
1793
|
if (C.index === void 0)
|
|
1794
1794
|
return;
|
|
1795
|
-
const
|
|
1796
|
-
from: n.tr.mapping.map(
|
|
1795
|
+
const O = w + C.index + 1, lt = O + C[0].length, K = {
|
|
1796
|
+
from: n.tr.mapping.map(O),
|
|
1797
1797
|
to: n.tr.mapping.map(lt)
|
|
1798
1798
|
}, dt = o.handler({
|
|
1799
1799
|
state: n,
|
|
@@ -1809,14 +1809,14 @@ function Dr(e) {
|
|
|
1809
1809
|
});
|
|
1810
1810
|
}), d.every((f) => f !== null);
|
|
1811
1811
|
}
|
|
1812
|
-
var Y = null,
|
|
1812
|
+
var Y = null, _r = (e) => {
|
|
1813
1813
|
var t;
|
|
1814
1814
|
const n = new ClipboardEvent("paste", {
|
|
1815
1815
|
clipboardData: new DataTransfer()
|
|
1816
1816
|
});
|
|
1817
1817
|
return (t = n.clipboardData) == null || t.setData("text/html", e), n;
|
|
1818
1818
|
};
|
|
1819
|
-
function
|
|
1819
|
+
function Or(e) {
|
|
1820
1820
|
const { editor: t, rules: n } = e;
|
|
1821
1821
|
let r = null, s = !1, o = !1, i = typeof ClipboardEvent < "u" ? new ClipboardEvent("paste") : null, a;
|
|
1822
1822
|
try {
|
|
@@ -1893,7 +1893,7 @@ function _r(e) {
|
|
|
1893
1893
|
if (b) {
|
|
1894
1894
|
let { text: w } = v;
|
|
1895
1895
|
typeof w == "string" ? w = w : w = kt(D.from(w), f.schema);
|
|
1896
|
-
const { from: S } = v, E = S + w.length, A =
|
|
1896
|
+
const { from: S } = v, E = S + w.length, A = _r(w);
|
|
1897
1897
|
return c({
|
|
1898
1898
|
rule: u,
|
|
1899
1899
|
state: f,
|
|
@@ -1979,7 +1979,7 @@ var ct = class {
|
|
|
1979
1979
|
if (It(r, e.options.enablePasteRules) && u) {
|
|
1980
1980
|
const p = u();
|
|
1981
1981
|
if (p && p.length) {
|
|
1982
|
-
const f =
|
|
1982
|
+
const f = Or({ editor: e, rules: p });
|
|
1983
1983
|
o.push(...f);
|
|
1984
1984
|
}
|
|
1985
1985
|
}
|
|
@@ -2199,7 +2199,7 @@ var N = class ne extends xt {
|
|
|
2199
2199
|
addProseMirrorPlugins() {
|
|
2200
2200
|
return [
|
|
2201
2201
|
new $({
|
|
2202
|
-
key: new
|
|
2202
|
+
key: new _("clipboardTextSerializer"),
|
|
2203
2203
|
props: {
|
|
2204
2204
|
clipboardTextSerializer: () => {
|
|
2205
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);
|
|
@@ -2280,7 +2280,7 @@ var N = class ne extends xt {
|
|
|
2280
2280
|
addProseMirrorPlugins() {
|
|
2281
2281
|
return [
|
|
2282
2282
|
new $({
|
|
2283
|
-
key: new
|
|
2283
|
+
key: new _("tiptapDrop"),
|
|
2284
2284
|
props: {
|
|
2285
2285
|
handleDrop: (e, t, n, r) => {
|
|
2286
2286
|
this.editor.emit("drop", {
|
|
@@ -2299,14 +2299,14 @@ var N = class ne extends xt {
|
|
|
2299
2299
|
addProseMirrorPlugins() {
|
|
2300
2300
|
return [
|
|
2301
2301
|
new $({
|
|
2302
|
-
key: new
|
|
2302
|
+
key: new _("editable"),
|
|
2303
2303
|
props: {
|
|
2304
2304
|
editable: () => this.editor.options.editable
|
|
2305
2305
|
}
|
|
2306
2306
|
})
|
|
2307
2307
|
];
|
|
2308
2308
|
}
|
|
2309
|
-
}), ce = new
|
|
2309
|
+
}), ce = new _("focusEvents"), le = N.create({
|
|
2310
2310
|
name: "focusEvents",
|
|
2311
2311
|
addProseMirrorPlugins() {
|
|
2312
2312
|
const { editor: e } = this;
|
|
@@ -2385,7 +2385,7 @@ var N = class ne extends xt {
|
|
|
2385
2385
|
// This is an alternative to ProseMirror's `AllSelection`, which doesn’t work well
|
|
2386
2386
|
// with many other commands.
|
|
2387
2387
|
new $({
|
|
2388
|
-
key: new
|
|
2388
|
+
key: new _("clearDocument"),
|
|
2389
2389
|
appendTransaction: (e, t, n) => {
|
|
2390
2390
|
if (e.some((m) => m.getMeta("composition")))
|
|
2391
2391
|
return;
|
|
@@ -2413,7 +2413,7 @@ var N = class ne extends xt {
|
|
|
2413
2413
|
addProseMirrorPlugins() {
|
|
2414
2414
|
return [
|
|
2415
2415
|
new $({
|
|
2416
|
-
key: new
|
|
2416
|
+
key: new _("tiptapPaste"),
|
|
2417
2417
|
props: {
|
|
2418
2418
|
handlePaste: (e, t, n) => {
|
|
2419
2419
|
this.editor.emit("paste", {
|
|
@@ -2431,7 +2431,7 @@ var N = class ne extends xt {
|
|
|
2431
2431
|
addProseMirrorPlugins() {
|
|
2432
2432
|
return [
|
|
2433
2433
|
new $({
|
|
2434
|
-
key: new
|
|
2434
|
+
key: new _("tabindex"),
|
|
2435
2435
|
props: {
|
|
2436
2436
|
attributes: () => this.editor.isEditable ? { tabindex: "0" } : {}
|
|
2437
2437
|
}
|
|
@@ -2470,7 +2470,7 @@ var N = class ne extends xt {
|
|
|
2470
2470
|
addProseMirrorPlugins() {
|
|
2471
2471
|
return [
|
|
2472
2472
|
new $({
|
|
2473
|
-
key: new
|
|
2473
|
+
key: new _("textDirection"),
|
|
2474
2474
|
props: {
|
|
2475
2475
|
attributes: () => {
|
|
2476
2476
|
const e = this.options.direction;
|
|
@@ -3613,14 +3613,14 @@ function Ur(e) {
|
|
|
3613
3613
|
const C = E.exec(A);
|
|
3614
3614
|
if (C === null)
|
|
3615
3615
|
break;
|
|
3616
|
-
const
|
|
3616
|
+
const O = C.index, lt = C[1];
|
|
3617
3617
|
if (!((h = C[2]) != null && h.endsWith(":::"))) {
|
|
3618
3618
|
if (lt)
|
|
3619
3619
|
M += 1;
|
|
3620
3620
|
else if (M -= 1, M === 0) {
|
|
3621
|
-
const K = A.slice(0,
|
|
3621
|
+
const K = A.slice(0, O);
|
|
3622
3622
|
S = K.trim();
|
|
3623
|
-
const dt = d.slice(0, w +
|
|
3623
|
+
const dt = d.slice(0, w + O + C[0].length);
|
|
3624
3624
|
let I = [];
|
|
3625
3625
|
if (S)
|
|
3626
3626
|
if (a === "block")
|
|
@@ -3766,7 +3766,7 @@ function Xr(e, t, n) {
|
|
|
3766
3766
|
for (u += 1; u < a.length; ) {
|
|
3767
3767
|
const w = a[u];
|
|
3768
3768
|
if (w.trim() === "") {
|
|
3769
|
-
const E = a.slice(u + 1).findIndex((
|
|
3769
|
+
const E = a.slice(u + 1).findIndex((O) => O.trim() !== "");
|
|
3770
3770
|
if (E === -1)
|
|
3771
3771
|
break;
|
|
3772
3772
|
if ((((s = (r = a[u + 1 + E].match(/^(\s*)/)) == null ? void 0 : r[1]) == null ? void 0 : s.length) || 0) > m) {
|
|
@@ -3801,17 +3801,21 @@ function Xr(e, t, n) {
|
|
|
3801
3801
|
function Yr(e, t, n, r) {
|
|
3802
3802
|
if (!e || !Array.isArray(e.content))
|
|
3803
3803
|
return "";
|
|
3804
|
-
const s = typeof n == "function" ? n(r) : n, [o, ...i] = e.content, a = t.renderChildren([o])
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3804
|
+
const s = typeof n == "function" ? n(r) : n, [o, ...i] = e.content, a = t.renderChildren([o]);
|
|
3805
|
+
let c = `${s}${a}`;
|
|
3806
|
+
return i && i.length > 0 && i.forEach((l, u) => {
|
|
3807
|
+
var d, p;
|
|
3808
|
+
const f = (p = (d = t.renderChild) == null ? void 0 : d.call(t, l, u + 1)) != null ? p : t.renderChildren([l]);
|
|
3809
|
+
if (f != null) {
|
|
3810
|
+
const h = f.split(`
|
|
3811
|
+
`).map((m) => m ? t.indent(m) : t.indent("")).join(`
|
|
3810
3812
|
`);
|
|
3811
|
-
c.
|
|
3813
|
+
c += l.type === "paragraph" ? `
|
|
3814
|
+
|
|
3815
|
+
${h}` : `
|
|
3816
|
+
${h}`;
|
|
3812
3817
|
}
|
|
3813
|
-
}), c
|
|
3814
|
-
`);
|
|
3818
|
+
}), c;
|
|
3815
3819
|
}
|
|
3816
3820
|
function Qr(e, t, n = {}) {
|
|
3817
3821
|
const { state: r } = t, { doc: s, tr: o } = r, i = e;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as
|
|
2
|
-
var
|
|
1
|
+
import { N as c, w as p, h as a, m as k } from "./vendor-tiptap-core-BWgKs47g.js";
|
|
2
|
+
var h = /^\s*>\s$/, f = c.create({
|
|
3
3
|
name: "blockquote",
|
|
4
4
|
addOptions() {
|
|
5
5
|
return {
|
|
@@ -13,17 +13,22 @@ var l = /^\s*>\s$/, m = a.create({
|
|
|
13
13
|
return [{ tag: "blockquote" }];
|
|
14
14
|
},
|
|
15
15
|
renderHTML({ HTMLAttributes: t }) {
|
|
16
|
-
return /* @__PURE__ */
|
|
16
|
+
return /* @__PURE__ */ a("blockquote", { ...k(this.options.HTMLAttributes, t), children: /* @__PURE__ */ a("slot", {}) });
|
|
17
|
+
},
|
|
18
|
+
parseMarkdown: (t, e) => {
|
|
19
|
+
var r;
|
|
20
|
+
const n = (r = e.parseBlockChildren) != null ? r : e.parseChildren;
|
|
21
|
+
return e.createNode("blockquote", void 0, n(t.tokens || []));
|
|
17
22
|
},
|
|
18
|
-
parseMarkdown: (t, e) => e.createNode("blockquote", void 0, e.parseChildren(t.tokens || [])),
|
|
19
23
|
renderMarkdown: (t, e) => {
|
|
20
24
|
if (!t.content)
|
|
21
25
|
return "";
|
|
22
26
|
const r = ">", n = [];
|
|
23
|
-
return t.content.forEach((
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
return t.content.forEach((o, l) => {
|
|
28
|
+
var i, s;
|
|
29
|
+
const d = ((s = (i = e.renderChild) == null ? void 0 : i.call(e, o, l)) != null ? s : e.renderChildren([o])).split(`
|
|
30
|
+
`).map((u) => u.trim() === "" ? r : `${r} ${u}`);
|
|
31
|
+
n.push(d.join(`
|
|
27
32
|
`));
|
|
28
33
|
}), n.join(`
|
|
29
34
|
${r}
|
|
@@ -43,13 +48,13 @@ ${r}
|
|
|
43
48
|
},
|
|
44
49
|
addInputRules() {
|
|
45
50
|
return [
|
|
46
|
-
|
|
47
|
-
find:
|
|
51
|
+
p({
|
|
52
|
+
find: h,
|
|
48
53
|
type: this.type
|
|
49
54
|
})
|
|
50
55
|
];
|
|
51
56
|
}
|
|
52
57
|
});
|
|
53
58
|
export {
|
|
54
|
-
|
|
59
|
+
f as B
|
|
55
60
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as a, a as r, b as s, h as n, m as o } from "./vendor-tiptap-core-
|
|
2
|
-
var d = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, l = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,
|
|
1
|
+
import { M as a, a as r, b as s, h as n, m as o } from "./vendor-tiptap-core-BWgKs47g.js";
|
|
2
|
+
var d = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, l = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, i = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, u = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, p = a.create({
|
|
3
3
|
name: "bold",
|
|
4
4
|
addOptions() {
|
|
5
5
|
return {
|
|
@@ -30,6 +30,12 @@ var d = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, l = /(?:^|\s)(\*
|
|
|
30
30
|
},
|
|
31
31
|
markdownTokenName: "strong",
|
|
32
32
|
parseMarkdown: (t, e) => e.applyMark("bold", e.parseInline(t.tokens || [])),
|
|
33
|
+
markdownOptions: {
|
|
34
|
+
htmlReopen: {
|
|
35
|
+
open: "<strong>",
|
|
36
|
+
close: "</strong>"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
33
39
|
renderMarkdown: (t, e) => `**${e.renderChildren(t)}**`,
|
|
34
40
|
addCommands() {
|
|
35
41
|
return {
|
|
@@ -51,7 +57,7 @@ var d = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, l = /(?:^|\s)(\*
|
|
|
51
57
|
type: this.type
|
|
52
58
|
}),
|
|
53
59
|
s({
|
|
54
|
-
find:
|
|
60
|
+
find: i,
|
|
55
61
|
type: this.type
|
|
56
62
|
})
|
|
57
63
|
];
|
|
@@ -63,12 +69,12 @@ var d = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, l = /(?:^|\s)(\*
|
|
|
63
69
|
type: this.type
|
|
64
70
|
}),
|
|
65
71
|
r({
|
|
66
|
-
find:
|
|
72
|
+
find: u,
|
|
67
73
|
type: this.type
|
|
68
74
|
})
|
|
69
75
|
];
|
|
70
76
|
}
|
|
71
77
|
});
|
|
72
78
|
export {
|
|
73
|
-
|
|
79
|
+
p as B
|
|
74
80
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as r, a, b as n, m as d } from "./vendor-tiptap-core-
|
|
1
|
+
import { M as r, a, b as n, m as d } from "./vendor-tiptap-core-BWgKs47g.js";
|
|
2
2
|
var s = /(^|[^`])`([^`]+)`(?!`)$/, o = /(^|[^`])`([^`]+)`(?!`)/g, i = r.create({
|
|
3
3
|
name: "code",
|
|
4
4
|
addOptions() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as C, t as S, m as k } from "./vendor-tiptap-core-
|
|
1
|
+
import { N as C, t as S, m as k } from "./vendor-tiptap-core-BWgKs47g.js";
|
|
2
2
|
import { P as w, a as B, T, S as L } from "./vendor-prosemirror-state-IeimrELV.js";
|
|
3
3
|
var y = 4, M = /^```([a-z]+)?[\s\n]$/, N = /^~~~([a-z]+)?[\s\n]$/, _ = C.create({
|
|
4
4
|
name: "codeBlock",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as m, n as f, c as h, i as T, m as N } from "./vendor-tiptap-core-
|
|
1
|
+
import { N as m, n as f, c as h, i as T, m as N } from "./vendor-tiptap-core-BWgKs47g.js";
|
|
2
2
|
import { T as s, N as y } from "./vendor-prosemirror-state-IeimrELV.js";
|
|
3
3
|
var H = m.create({
|
|
4
4
|
name: "horizontalRule",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as m, n as f, R as g, m as b } from "./vendor-tiptap-core-
|
|
1
|
+
import { N as m, n as f, R as g, m as b } from "./vendor-tiptap-core-BWgKs47g.js";
|
|
2
2
|
var w = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, v = m.create({
|
|
3
3
|
name: "image",
|
|
4
4
|
addOptions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as s, a as r, b as a, m as n } from "./vendor-tiptap-core-
|
|
2
|
-
var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,
|
|
1
|
+
import { M as s, a as r, b as a, m as n } from "./vendor-tiptap-core-BWgKs47g.js";
|
|
2
|
+
var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, o = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, d = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, l = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, u = s.create({
|
|
3
3
|
name: "italic",
|
|
4
4
|
addOptions() {
|
|
5
5
|
return {
|
|
@@ -13,30 +13,36 @@ var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, d = /(?:^|\s)(\*(?!\s+\*
|
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
tag: "i",
|
|
16
|
-
getAttrs: (
|
|
16
|
+
getAttrs: (e) => e.style.fontStyle !== "normal" && null
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
style: "font-style=normal",
|
|
20
|
-
clearMark: (
|
|
20
|
+
clearMark: (e) => e.type.name === this.name
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
style: "font-style=italic"
|
|
24
24
|
}
|
|
25
25
|
];
|
|
26
26
|
},
|
|
27
|
-
renderHTML({ HTMLAttributes:
|
|
28
|
-
return ["em", n(this.options.HTMLAttributes,
|
|
27
|
+
renderHTML({ HTMLAttributes: e }) {
|
|
28
|
+
return ["em", n(this.options.HTMLAttributes, e), 0];
|
|
29
29
|
},
|
|
30
30
|
addCommands() {
|
|
31
31
|
return {
|
|
32
|
-
setItalic: () => ({ commands:
|
|
33
|
-
toggleItalic: () => ({ commands:
|
|
34
|
-
unsetItalic: () => ({ commands:
|
|
32
|
+
setItalic: () => ({ commands: e }) => e.setMark(this.name),
|
|
33
|
+
toggleItalic: () => ({ commands: e }) => e.toggleMark(this.name),
|
|
34
|
+
unsetItalic: () => ({ commands: e }) => e.unsetMark(this.name)
|
|
35
35
|
};
|
|
36
36
|
},
|
|
37
37
|
markdownTokenName: "em",
|
|
38
|
-
parseMarkdown: (
|
|
39
|
-
|
|
38
|
+
parseMarkdown: (e, t) => t.applyMark("italic", t.parseInline(e.tokens || [])),
|
|
39
|
+
markdownOptions: {
|
|
40
|
+
htmlReopen: {
|
|
41
|
+
open: "<em>",
|
|
42
|
+
close: "</em>"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
renderMarkdown: (e, t) => `*${t.renderChildren(e)}*`,
|
|
40
46
|
addKeyboardShortcuts() {
|
|
41
47
|
return {
|
|
42
48
|
"Mod-i": () => this.editor.commands.toggleItalic(),
|
|
@@ -50,7 +56,7 @@ var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, d = /(?:^|\s)(\*(?!\s+\*
|
|
|
50
56
|
type: this.type
|
|
51
57
|
}),
|
|
52
58
|
a({
|
|
53
|
-
find:
|
|
59
|
+
find: d,
|
|
54
60
|
type: this.type
|
|
55
61
|
})
|
|
56
62
|
];
|
|
@@ -58,7 +64,7 @@ var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, d = /(?:^|\s)(\*(?!\s+\*
|
|
|
58
64
|
addPasteRules() {
|
|
59
65
|
return [
|
|
60
66
|
r({
|
|
61
|
-
find:
|
|
67
|
+
find: o,
|
|
62
68
|
type: this.type
|
|
63
69
|
}),
|
|
64
70
|
r({
|
|
@@ -69,5 +75,5 @@ var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, d = /(?:^|\s)(\*(?!\s+\*
|
|
|
69
75
|
}
|
|
70
76
|
});
|
|
71
77
|
export {
|
|
72
|
-
|
|
78
|
+
u as I
|
|
73
79
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as x, a as b, m as v, d as w, g as T, f as _, e as O, j as R } from "./vendor-tiptap-core-
|
|
1
|
+
import { M as x, a as b, m as v, d as w, g as T, f as _, e as O, j as R } from "./vendor-tiptap-core-BWgKs47g.js";
|
|
2
2
|
import { f as M, r as C, t as H, a as U } from "./vendor-linkifyjs-dCH9UYes.js";
|
|
3
3
|
import { P as g, a as A } from "./vendor-prosemirror-state-IeimrELV.js";
|
|
4
4
|
var P = "[\0- -\u2029 ]", B = new RegExp(P), I = new RegExp(`${P}$`), W = new RegExp(P, "g");
|