@vc-shell/framework 2.0.0-alpha.33 → 2.0.0-alpha.34
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 +258 -207
- package/dist/ai-agent/index.js +4 -4
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D0kWIlz3.js +4485 -0
- package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-D71wkuIU.js +22109 -0
- package/dist/chunks/{index-HNCQdWHc.js → index-CDUdOax4.js} +2 -2
- package/dist/chunks/{vendor-boolbase-Cyd7_957.js → vendor-boolbase-DYkUBG-P.js} +1 -1
- package/dist/chunks/{vendor-cheerio-DKt5ox2U.js → vendor-cheerio-DE71XQ9x.js} +1 -1
- package/dist/chunks/{vendor-cheerio-select-B8BTSEdK.js → vendor-cheerio-select-D-qK1Cpo.js} +2 -2
- package/dist/chunks/{vendor-css-select-C4b9igDP.js → vendor-css-select-DqoO1-RK.js} +2 -2
- package/dist/chunks/{vendor-dompurify-BIuh5IAZ.js → vendor-dompurify-DpIUMBYC.js} +228 -221
- package/dist/chunks/{vendor-gridstack-Dkfw452e.js → vendor-gridstack-Beau2jQ7.js} +230 -160
- package/dist/chunks/{vendor-intlify-core-base-BfDxYEHM.js → vendor-intlify-core-base-Cf8V01l9.js} +260 -260
- package/dist/chunks/{vendor-intlify-message-compiler-B2Y3gZDu.js → vendor-intlify-message-compiler-h1txdYa8.js} +2 -2
- package/dist/chunks/{vendor-intlify-shared-Drx6AmQ9.js → vendor-intlify-shared-D4BJYR57.js} +3 -3
- package/dist/chunks/{vendor-iso-639-1-ig8i9Svg.js → vendor-iso-639-1-BEjYyfKo.js} +17 -14
- package/dist/chunks/{vendor-lodash-es-BB-IQCna.js → vendor-lodash-es-CfnUOh0o.js} +364 -371
- package/dist/chunks/vendor-markdown-it-task-lists-CHKeJZfk.js +69 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-analytics-js-ufpnHxNR.js +1142 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-cfgsync-js-BmGq5cEx.js +247 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-channel-js-BdtUi1l8.js +1907 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js +8406 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-dependencies-js-DXmYt4tG.js +1441 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-properties-js-CLbNzgkN.js +610 -0
- package/dist/chunks/{vendor-microsoft-applicationinsights-shims-Ds7KyOsR.js → vendor-microsoft-applicationinsights-shims-CGX8KXgN.js} +13 -12
- package/dist/chunks/vendor-microsoft-applicationinsights-web-DzgnK2Mn.js +970 -0
- package/dist/chunks/{vendor-microsoft-dynamicproto-js-CMXJqDx1.js → vendor-microsoft-dynamicproto-js-D7567TLZ.js} +15 -15
- package/dist/chunks/vendor-nevware21-ts-async-BxN_lmkD.js +271 -0
- package/dist/chunks/vendor-nevware21-ts-utils-Dr-hD3q9.js +973 -0
- package/dist/chunks/{vendor-nth-check-CuyQT_ny.js → vendor-nth-check-D0N1qpsw.js} +1 -1
- package/dist/chunks/{vendor-prettier-B0zlh-ye.js → vendor-prettier-2Sf6a5jB.js} +876 -782
- package/dist/chunks/{vendor-prosemirror-commands-Bv4ChObl.js → vendor-prosemirror-commands-BaRVaTVO.js} +2 -2
- package/dist/chunks/{vendor-prosemirror-dropcursor-kF5UKNFM.js → vendor-prosemirror-dropcursor-PuLxL9JM.js} +2 -2
- package/dist/chunks/{vendor-prosemirror-gapcursor-D3tpkzBp.js → vendor-prosemirror-gapcursor-C7MEx13L.js} +3 -3
- package/dist/chunks/{vendor-prosemirror-history-CQYKHz3u.js → vendor-prosemirror-history-_AfZxoMt.js} +2 -2
- package/dist/chunks/{vendor-prosemirror-keymap-CAfQyvJ7.js → vendor-prosemirror-keymap-tvZqK1zZ.js} +1 -1
- package/dist/chunks/{vendor-prosemirror-schema-list-BNJkECdS.js → vendor-prosemirror-schema-list-qDgvFydE.js} +1 -1
- package/dist/chunks/{vendor-prosemirror-state-IeimrELV.js → vendor-prosemirror-state-BvFA7AjG.js} +1 -1
- package/dist/chunks/{vendor-prosemirror-tables-DIAkeGRL.js → vendor-prosemirror-tables-CbmHRq4G.js} +4 -4
- package/dist/chunks/{vendor-prosemirror-transform-BUjWd5Tb.js → vendor-prosemirror-transform-DVGD47fI.js} +118 -102
- package/dist/chunks/{vendor-prosemirror-view-Chu67Jpw.js → vendor-prosemirror-view-BW4UqvjQ.js} +7 -5
- package/dist/chunks/{vendor-striptags--4dtoP3u.js → vendor-striptags-DtlgQudQ.js} +1 -1
- package/dist/chunks/{vendor-tiptap-core-BWgKs47g.js → vendor-tiptap-core-CZbeo7XQ.js} +722 -703
- package/dist/chunks/{vendor-tiptap-extension-blockquote-B1RV9c0W.js → vendor-tiptap-extension-blockquote-B8uwrgnZ.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-bold-BdAf6fWQ.js → vendor-tiptap-extension-bold-Ch9pbrZY.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-code-_cv4EOBy.js → vendor-tiptap-extension-code-CVh_mZgz.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-code-block-CT5P4x0D.js → vendor-tiptap-extension-code-block-CfoUSR2N.js} +2 -2
- package/dist/chunks/{vendor-tiptap-extension-document-C41wXth1.js → vendor-tiptap-extension-document-C4tn-v0L.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-hard-break-Ds2hA4at.js → vendor-tiptap-extension-hard-break-CbK1eM89.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-heading-DvnqoCO-.js → vendor-tiptap-extension-heading-BlkYF-RD.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-horizontal-rule-BceRNOIu.js → vendor-tiptap-extension-horizontal-rule-DjMOsQCA.js} +2 -2
- package/dist/chunks/{vendor-tiptap-extension-image-DLERQS1u.js → vendor-tiptap-extension-image-BpqLcXdw.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-italic-BGv0ktjJ.js → vendor-tiptap-extension-italic-YDdh6jEW.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-link-BAzgztbX.js → vendor-tiptap-extension-link-CETrc0Mo.js} +2 -2
- package/dist/chunks/{vendor-tiptap-extension-list-rFRwhCY_.js → vendor-tiptap-extension-list-DsiDvJxK.js} +209 -180
- package/dist/chunks/vendor-tiptap-extension-paragraph-Bcss4jc0.js +49 -0
- package/dist/chunks/vendor-tiptap-extension-placeholder-ClNjQXk_.js +1 -0
- package/dist/chunks/{vendor-tiptap-extension-strike-Cqq1i9pe.js → vendor-tiptap-extension-strike-BZiBed9b.js} +1 -1
- package/dist/chunks/vendor-tiptap-extension-table-QVjcLO_H.js +409 -0
- package/dist/chunks/vendor-tiptap-extension-table-cell-CuXZTKj8.js +1 -0
- package/dist/chunks/vendor-tiptap-extension-table-header-CuXZTKj8.js +1 -0
- package/dist/chunks/vendor-tiptap-extension-table-row-CuXZTKj8.js +1 -0
- package/dist/chunks/{vendor-tiptap-extension-text-BaLQc3hC.js → vendor-tiptap-extension-text-Wofhchrp.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-text-style-BDbT1PMb.js → vendor-tiptap-extension-text-style-Bc6nvmn0.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-underline-CiUEdG6D.js → vendor-tiptap-extension-underline-Bo1pXXDN.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extensions-pwHVUzkb.js → vendor-tiptap-extensions-D7eaegpB.js} +6 -6
- package/dist/chunks/{vendor-tiptap-markdown-D0feGfKk.js → vendor-tiptap-markdown-18K1hcU0.js} +3 -3
- package/dist/chunks/vendor-tiptap-pm-yqZPZQMU.js +1 -0
- package/dist/chunks/{vendor-tiptap-starter-kit-BEsLVJ4Q.js → vendor-tiptap-starter-kit-ny-AoaO_.js} +17 -17
- package/dist/chunks/{vendor-tiptap-vue-3-CdIBiRMV.js → vendor-tiptap-vue-3-BNAw8onj.js} +1 -1
- package/dist/chunks/{vendor-truncate-html-DDVwXwPl.js → vendor-truncate-html-ChA1T5zy.js} +1 -1
- package/dist/chunks/{vendor-unovis-ts-D3MmJ11i.js → vendor-unovis-ts-stSsHr9j.js} +1 -1
- package/dist/chunks/{vendor-unovis-vue-CMGNLXsC.js → vendor-unovis-vue-CZWGT3-0.js} +1 -1
- package/dist/chunks/{vendor-vue-i18n-BSCeQYoP.js → vendor-vue-i18n-LO-EJStU.js} +27 -27
- package/dist/chunks/{vendor-vue3-application-insights-Cq46Q3rj.js → vendor-vue3-application-insights-CAgbt8pk.js} +2 -2
- package/dist/chunks/{vendor-vueuse-components-DRdTsx6e.js → vendor-vueuse-components-BW7i7Uhb.js} +1 -1
- package/dist/chunks/{vendor-vueuse-core-D4-2M4AW.js → vendor-vueuse-core-CEdpDfzx.js} +9 -9
- package/dist/chunks/{vendor-vueuse-shared-PQ04AyOW.js → vendor-vueuse-shared-BlCOXw5g.js} +8 -8
- package/dist/core/api/platform.d.ts +5 -5
- package/dist/core/api/platform.d.ts.map +1 -1
- package/dist/core/blade-navigation/types/index.d.ts +1 -1
- package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/core/composables/useAppInsights/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeRegistry/index.d.ts.map +1 -1
- package/dist/core/composables/usePlatformLocaleSync/index.d.ts +17 -0
- package/dist/core/composables/usePlatformLocaleSync/index.d.ts.map +1 -0
- package/dist/core/composables/useTheme/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +1 -0
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
- package/dist/core/directives/index.d.ts +2 -0
- package/dist/core/directives/index.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts +2 -2
- package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.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/composables/useAiAgentContext.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +1 -1
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/services/widget-service.d.ts.map +1 -1
- package/dist/core/types/menu-types.d.ts.map +1 -1
- package/dist/framework.js +3188 -3934
- package/dist/index.css +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/modules/assets/index.d.ts +0 -5
- package/dist/modules/assets/index.d.ts.map +1 -1
- package/dist/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
- package/dist/modules/assets-manager/index.d.ts +0 -6
- package/dist/modules/assets-manager/index.d.ts.map +1 -1
- package/dist/scripts/check-locales.cjs +3 -0
- package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts +0 -6
- package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts.map +1 -1
- package/dist/shell/_internal/notifications/components/notification-container/index.d.ts +2 -2
- package/dist/shell/_internal/notifications/composables/useInstance/index.d.ts.map +1 -1
- package/dist/shell/_internal/popup/common/vc-popup-base.vue.d.ts +1 -1
- package/dist/shell/_internal/popup/common/vc-popup-base.vue.d.ts.map +1 -1
- package/dist/shell/_internal/popup/index.d.ts +0 -4
- package/dist/shell/_internal/popup/index.d.ts.map +1 -1
- package/dist/shell/auth/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +1 -1
- package/dist/shell/auth/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue.d.ts.map +1 -1
- package/dist/shell/auth/InvitePage/components/invite/Invite.vue.d.ts +2 -2
- package/dist/shell/auth/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shell/auth/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/shell/auth/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +2 -2
- package/dist/shell/auth/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/shell/auth/_test-utils/shared-dependency-mocks.d.ts +8 -0
- package/dist/shell/auth/_test-utils/shared-dependency-mocks.d.ts.map +1 -0
- package/dist/shell/auth/_test-utils/shared-mock-factories.d.ts +13 -0
- package/dist/shell/auth/_test-utils/shared-mock-factories.d.ts.map +1 -0
- package/dist/shell/auth/_test-utils/shared-stubs.d.ts +33 -0
- package/dist/shell/auth/_test-utils/shared-stubs.d.ts.map +1 -0
- package/dist/shell/auth/utils.d.ts +25 -0
- package/dist/shell/auth/utils.d.ts.map +1 -0
- package/dist/shell/components/change-password/change-password.vue.d.ts.map +1 -1
- package/dist/shell/components/change-password/index.d.ts +0 -5
- package/dist/shell/components/change-password/index.d.ts.map +1 -1
- package/dist/shell/components/error-interceptor/index.d.ts +0 -5
- package/dist/shell/components/error-interceptor/index.d.ts.map +1 -1
- package/dist/shell/components/language-selector/index.d.ts +0 -5
- package/dist/shell/components/language-selector/index.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/index.d.ts +0 -5
- package/dist/shell/components/notification-dropdown/index.d.ts.map +1 -1
- package/dist/shell/components/notification-template/index.d.ts +0 -5
- package/dist/shell/components/notification-template/index.d.ts.map +1 -1
- package/dist/shell/components/sidebar/index.d.ts +3 -3
- package/dist/shell/components/sidebar/sidebar.vue.d.ts +1 -1
- package/dist/shell/components/sidebar/sidebar.vue.d.ts.map +1 -1
- package/dist/shell/components/user-dropdown-button/index.d.ts +0 -5
- package/dist/shell/components/user-dropdown-button/index.d.ts.map +1 -1
- package/dist/shell/dashboard/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
- package/dist/test-helpers.d.ts +6 -18
- package/dist/test-helpers.d.ts.map +1 -1
- package/dist/test-mock-factories.d.ts +48 -0
- package/dist/test-mock-factories.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +3 -3
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/index.d.ts +1 -0
- package/dist/ui/components/molecules/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/multilanguage-selector/multilanguage-selector.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +3 -3
- 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 +3 -3
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts +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/vc-editor-toolbar.vue.d.ts +2 -2
- 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.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 +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-input/vc-input.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +10 -27
- 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/organisms/vc-app/_internal/app-bar/components/AppBarWidgetItem.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useToggleableContent.d.ts +3 -3
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useToggleableContent.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.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/BladeHeader.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts +19 -17
- package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcTableAdapter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcTableAdapter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/ColumnFilter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/ColumnFilter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableBody.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableCell.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableCheckbox.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/components/TableHead.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +7 -7
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileView.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileView.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileActionSheet.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/components/mobile/PullToRefresh.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useColumnWidthEngine.d.ts +46 -0
- package/dist/ui/components/organisms/vc-data-table/composables/useColumnWidthEngine.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts +6 -5
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts +6 -6
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts +24 -11
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts +6 -9
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts +18 -13
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableSort.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/keys.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/keys.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/types.d.ts +26 -0
- package/dist/ui/components/organisms/vc-data-table/types.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/utils/ColumnCollector.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/utils/columnHelpers.d.ts +30 -0
- package/dist/ui/components/organisms/vc-data-table/utils/columnHelpers.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-data-table/utils/index.d.ts +1 -0
- package/dist/ui/components/organisms/vc-data-table/utils/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +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/useGalleryUpload.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +2 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts +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-popup/vc-popup.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +8 -8
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
- package/dist/ui/composables/useCollapsible.d.ts.map +1 -1
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +87 -81
- package/dist/vitest-axe.setup.d.ts.map +1 -1
- package/dist/vitest-mocks.setup.d.ts +2 -0
- package/dist/vitest-mocks.setup.d.ts.map +1 -0
- package/package.json +8 -6
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CrmX4_5C.js +0 -4256
- package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-D9BrIj43.js +0 -21552
- package/dist/chunks/vendor-markdown-it-task-lists-xwqUBSah.js +0 -72
- package/dist/chunks/vendor-microsoft-applicationinsights-analytics-js-Dvbvo5Dl.js +0 -1207
- package/dist/chunks/vendor-microsoft-applicationinsights-cfgsync-js-9wxxo7yB.js +0 -261
- package/dist/chunks/vendor-microsoft-applicationinsights-channel-js-c-UYe0ly.js +0 -1822
- package/dist/chunks/vendor-microsoft-applicationinsights-common-DgFOCv6a.js +0 -1921
- package/dist/chunks/vendor-microsoft-applicationinsights-core-js-DYtaESwI.js +0 -4276
- package/dist/chunks/vendor-microsoft-applicationinsights-dependencies-js-BoRkSVPF.js +0 -1407
- package/dist/chunks/vendor-microsoft-applicationinsights-properties-js-Ymy9TFDL.js +0 -572
- package/dist/chunks/vendor-microsoft-applicationinsights-web-gIbMmGYP.js +0 -487
- package/dist/chunks/vendor-nevware21-ts-async-CP171WHM.js +0 -261
- package/dist/chunks/vendor-nevware21-ts-utils-Dl8msUu_.js +0 -853
- package/dist/chunks/vendor-tiptap-extension-paragraph-EwqudBl5.js +0 -49
- package/dist/chunks/vendor-tiptap-extension-placeholder-D1_k7Sra.js +0 -1
- package/dist/chunks/vendor-tiptap-extension-table-cell-odWoHoTv.js +0 -1
- package/dist/chunks/vendor-tiptap-extension-table-header-odWoHoTv.js +0 -1
- package/dist/chunks/vendor-tiptap-extension-table-row-odWoHoTv.js +0 -1
- package/dist/chunks/vendor-tiptap-extension-table-tNWQInwa.js +0 -374
- package/dist/chunks/vendor-tiptap-pm-CG4ksPkF.js +0 -1
- package/dist/ui/types/global-components.d.ts +0 -10
- package/dist/ui/types/global-components.d.ts.map +0 -1
|
@@ -9,7 +9,7 @@ function H(s) {
|
|
|
9
9
|
function he(s) {
|
|
10
10
|
return (s - (s & Q)) / U;
|
|
11
11
|
}
|
|
12
|
-
const V = 1, X = 2,
|
|
12
|
+
const V = 1, X = 2, A = 4, Y = 8;
|
|
13
13
|
class L {
|
|
14
14
|
/**
|
|
15
15
|
@internal
|
|
@@ -29,13 +29,13 @@ class L {
|
|
|
29
29
|
Tells you whether the token before the mapped position was deleted.
|
|
30
30
|
*/
|
|
31
31
|
get deletedBefore() {
|
|
32
|
-
return (this.delInfo & (V |
|
|
32
|
+
return (this.delInfo & (V | A)) > 0;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
True when the token after the mapped position was deleted.
|
|
36
36
|
*/
|
|
37
37
|
get deletedAfter() {
|
|
38
|
-
return (this.delInfo & (X |
|
|
38
|
+
return (this.delInfo & (X | A)) > 0;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
Tells whether any of the steps mapped through deletes across the
|
|
@@ -43,7 +43,7 @@ class L {
|
|
|
43
43
|
position).
|
|
44
44
|
*/
|
|
45
45
|
get deletedAcross() {
|
|
46
|
-
return (this.delInfo &
|
|
46
|
+
return (this.delInfo & A) > 0;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
class S {
|
|
@@ -86,7 +86,7 @@ class S {
|
|
|
86
86
|
let f = h ? e == a ? -1 : e == c ? 1 : t : t, d = a + n + (f < 0 ? 0 : p);
|
|
87
87
|
if (r)
|
|
88
88
|
return d;
|
|
89
|
-
let u = e == (t < 0 ? a : c) ? null : ae(l / 3, e - a), m = e == a ? X : e == c ? V :
|
|
89
|
+
let u = e == (t < 0 ? a : c) ? null : ae(l / 3, e - a), m = e == a ? X : e == c ? V : A;
|
|
90
90
|
return (t < 0 ? e != a : e != c) && (m |= Y), new L(d, m, u);
|
|
91
91
|
}
|
|
92
92
|
n += p - h;
|
|
@@ -143,7 +143,7 @@ class S {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
S.empty = new S([]);
|
|
146
|
-
class
|
|
146
|
+
class J {
|
|
147
147
|
/**
|
|
148
148
|
Create a new mapping with the given position maps.
|
|
149
149
|
*/
|
|
@@ -160,7 +160,7 @@ class A {
|
|
|
160
160
|
Create a mapping that maps only through a part of this one.
|
|
161
161
|
*/
|
|
162
162
|
slice(e = 0, t = this.maps.length) {
|
|
163
|
-
return new
|
|
163
|
+
return new J(this._maps, this.mirror, e, t);
|
|
164
164
|
}
|
|
165
165
|
/**
|
|
166
166
|
Add a step map to the end of this mapping. If `mirrors` is
|
|
@@ -211,7 +211,7 @@ class A {
|
|
|
211
211
|
Create an inverted version of this mapping.
|
|
212
212
|
*/
|
|
213
213
|
invert() {
|
|
214
|
-
let e = new
|
|
214
|
+
let e = new J();
|
|
215
215
|
return e.appendMappingInverted(this), e;
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
@@ -251,7 +251,7 @@ class A {
|
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
const B = /* @__PURE__ */ Object.create(null);
|
|
254
|
-
class
|
|
254
|
+
class v {
|
|
255
255
|
/**
|
|
256
256
|
Get the step map that represents the changes made by this step,
|
|
257
257
|
and which can be used to transform between positions in the old
|
|
@@ -326,15 +326,15 @@ class y {
|
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function q(s, e, t) {
|
|
330
330
|
let r = [];
|
|
331
331
|
for (let n = 0; n < s.childCount; n++) {
|
|
332
332
|
let i = s.child(n);
|
|
333
|
-
i.content.size && (i = i.copy(
|
|
333
|
+
i.content.size && (i = i.copy(q(i.content, e, i))), i.isInline && (i = e(i, t, n)), r.push(i);
|
|
334
334
|
}
|
|
335
335
|
return w.fromArray(r);
|
|
336
336
|
}
|
|
337
|
-
class C extends
|
|
337
|
+
class C extends v {
|
|
338
338
|
/**
|
|
339
339
|
Create a mark step.
|
|
340
340
|
*/
|
|
@@ -342,7 +342,7 @@ class C extends k {
|
|
|
342
342
|
super(), this.from = e, this.to = t, this.mark = r;
|
|
343
343
|
}
|
|
344
344
|
apply(e) {
|
|
345
|
-
let t = e.slice(this.from, this.to), r = e.resolve(this.from), n = r.node(r.sharedDepth(this.to)), i = new g(
|
|
345
|
+
let t = e.slice(this.from, this.to), r = e.resolve(this.from), n = r.node(r.sharedDepth(this.to)), i = new g(q(t.content, (o, l) => !o.isAtom || !l.type.allowsMarkType(this.mark.type) ? o : o.mark(this.mark.addToSet(o.marks)), n), t.openStart, t.openEnd);
|
|
346
346
|
return y.fromReplace(e, this.from, this.to, i);
|
|
347
347
|
}
|
|
348
348
|
invert() {
|
|
@@ -372,8 +372,8 @@ class C extends k {
|
|
|
372
372
|
return new C(t.from, t.to, e.markFromJSON(t.mark));
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
|
|
376
|
-
class b extends
|
|
375
|
+
v.jsonID("addMark", C);
|
|
376
|
+
class b extends v {
|
|
377
377
|
/**
|
|
378
378
|
Create a mark-removing step.
|
|
379
379
|
*/
|
|
@@ -381,7 +381,7 @@ class b extends k {
|
|
|
381
381
|
super(), this.from = e, this.to = t, this.mark = r;
|
|
382
382
|
}
|
|
383
383
|
apply(e) {
|
|
384
|
-
let t = e.slice(this.from, this.to), r = new g(
|
|
384
|
+
let t = e.slice(this.from, this.to), r = new g(q(t.content, (n) => n.mark(this.mark.removeFromSet(n.marks)), e), t.openStart, t.openEnd);
|
|
385
385
|
return y.fromReplace(e, this.from, this.to, r);
|
|
386
386
|
}
|
|
387
387
|
invert() {
|
|
@@ -411,8 +411,8 @@ class b extends k {
|
|
|
411
411
|
return new b(t.from, t.to, e.markFromJSON(t.mark));
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
|
|
415
|
-
class
|
|
414
|
+
v.jsonID("removeMark", b);
|
|
415
|
+
class I extends v {
|
|
416
416
|
/**
|
|
417
417
|
Create a node mark step.
|
|
418
418
|
*/
|
|
@@ -433,15 +433,15 @@ class N extends k {
|
|
|
433
433
|
if (r.length == t.marks.length) {
|
|
434
434
|
for (let n = 0; n < t.marks.length; n++)
|
|
435
435
|
if (!t.marks[n].isInSet(r))
|
|
436
|
-
return new
|
|
437
|
-
return new
|
|
436
|
+
return new I(this.pos, t.marks[n]);
|
|
437
|
+
return new I(this.pos, this.mark);
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
-
return new
|
|
440
|
+
return new R(this.pos, this.mark);
|
|
441
441
|
}
|
|
442
442
|
map(e) {
|
|
443
443
|
let t = e.mapResult(this.pos, 1);
|
|
444
|
-
return t.deletedAfter ? null : new
|
|
444
|
+
return t.deletedAfter ? null : new I(t.pos, this.mark);
|
|
445
445
|
}
|
|
446
446
|
toJSON() {
|
|
447
447
|
return { stepType: "addNodeMark", pos: this.pos, mark: this.mark.toJSON() };
|
|
@@ -452,11 +452,11 @@ class N extends k {
|
|
|
452
452
|
static fromJSON(e, t) {
|
|
453
453
|
if (typeof t.pos != "number")
|
|
454
454
|
throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");
|
|
455
|
-
return new
|
|
455
|
+
return new I(t.pos, e.markFromJSON(t.mark));
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
|
-
|
|
459
|
-
class
|
|
458
|
+
v.jsonID("addNodeMark", I);
|
|
459
|
+
class R extends v {
|
|
460
460
|
/**
|
|
461
461
|
Create a mark-removing step.
|
|
462
462
|
*/
|
|
@@ -472,11 +472,11 @@ class I extends k {
|
|
|
472
472
|
}
|
|
473
473
|
invert(e) {
|
|
474
474
|
let t = e.nodeAt(this.pos);
|
|
475
|
-
return !t || !this.mark.isInSet(t.marks) ? this : new
|
|
475
|
+
return !t || !this.mark.isInSet(t.marks) ? this : new I(this.pos, this.mark);
|
|
476
476
|
}
|
|
477
477
|
map(e) {
|
|
478
478
|
let t = e.mapResult(this.pos, 1);
|
|
479
|
-
return t.deletedAfter ? null : new
|
|
479
|
+
return t.deletedAfter ? null : new R(t.pos, this.mark);
|
|
480
480
|
}
|
|
481
481
|
toJSON() {
|
|
482
482
|
return { stepType: "removeNodeMark", pos: this.pos, mark: this.mark.toJSON() };
|
|
@@ -487,11 +487,11 @@ class I extends k {
|
|
|
487
487
|
static fromJSON(e, t) {
|
|
488
488
|
if (typeof t.pos != "number")
|
|
489
489
|
throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");
|
|
490
|
-
return new
|
|
490
|
+
return new R(t.pos, e.markFromJSON(t.mark));
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
|
|
494
|
-
class
|
|
493
|
+
v.jsonID("removeNodeMark", R);
|
|
494
|
+
class k extends v {
|
|
495
495
|
/**
|
|
496
496
|
The given `slice` should fit the 'gap' between `from` and
|
|
497
497
|
`to`—the depths must line up, and the surrounding nodes must be
|
|
@@ -505,27 +505,27 @@ class v extends k {
|
|
|
505
505
|
super(), this.from = e, this.to = t, this.slice = r, this.structure = n;
|
|
506
506
|
}
|
|
507
507
|
apply(e) {
|
|
508
|
-
return this.structure &&
|
|
508
|
+
return this.structure && P(e, this.from, this.to) ? y.fail("Structure replace would overwrite content") : y.fromReplace(e, this.from, this.to, this.slice);
|
|
509
509
|
}
|
|
510
510
|
getMap() {
|
|
511
511
|
return new S([this.from, this.to - this.from, this.slice.size]);
|
|
512
512
|
}
|
|
513
513
|
invert(e) {
|
|
514
|
-
return new
|
|
514
|
+
return new k(this.from, this.from + this.slice.size, e.slice(this.from, this.to));
|
|
515
515
|
}
|
|
516
516
|
map(e) {
|
|
517
|
-
let t = e.mapResult(this.
|
|
518
|
-
return
|
|
517
|
+
let t = e.mapResult(this.to, -1), r = this.from == this.to && k.MAP_BIAS < 0 ? t : e.mapResult(this.from, 1);
|
|
518
|
+
return r.deletedAcross && t.deletedAcross ? null : new k(r.pos, Math.max(r.pos, t.pos), this.slice, this.structure);
|
|
519
519
|
}
|
|
520
520
|
merge(e) {
|
|
521
|
-
if (!(e instanceof
|
|
521
|
+
if (!(e instanceof k) || e.structure || this.structure)
|
|
522
522
|
return null;
|
|
523
523
|
if (this.from + this.slice.size == e.from && !this.slice.openEnd && !e.slice.openStart) {
|
|
524
524
|
let t = this.slice.size + e.slice.size == 0 ? g.empty : new g(this.slice.content.append(e.slice.content), this.slice.openStart, e.slice.openEnd);
|
|
525
|
-
return new
|
|
525
|
+
return new k(this.from, this.to + (e.to - e.from), t, this.structure);
|
|
526
526
|
} else if (e.to == this.from && !this.slice.openStart && !e.slice.openEnd) {
|
|
527
527
|
let t = this.slice.size + e.slice.size == 0 ? g.empty : new g(e.slice.content.append(this.slice.content), e.slice.openStart, this.slice.openEnd);
|
|
528
|
-
return new
|
|
528
|
+
return new k(e.from, this.to, t, this.structure);
|
|
529
529
|
} else
|
|
530
530
|
return null;
|
|
531
531
|
}
|
|
@@ -539,11 +539,12 @@ class v extends k {
|
|
|
539
539
|
static fromJSON(e, t) {
|
|
540
540
|
if (typeof t.from != "number" || typeof t.to != "number")
|
|
541
541
|
throw new RangeError("Invalid input for ReplaceStep.fromJSON");
|
|
542
|
-
return new
|
|
542
|
+
return new k(t.from, t.to, g.fromJSON(e, t.slice), !!t.structure);
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
|
-
k.
|
|
546
|
-
|
|
545
|
+
k.MAP_BIAS = 1;
|
|
546
|
+
v.jsonID("replace", k);
|
|
547
|
+
class M extends v {
|
|
547
548
|
/**
|
|
548
549
|
Create a replace-around step with the given range and gap.
|
|
549
550
|
`insert` should be the point in the slice into which the content
|
|
@@ -554,7 +555,7 @@ class M extends k {
|
|
|
554
555
|
super(), this.from = e, this.to = t, this.gapFrom = r, this.gapTo = n, this.slice = i, this.insert = o, this.structure = l;
|
|
555
556
|
}
|
|
556
557
|
apply(e) {
|
|
557
|
-
if (this.structure && (
|
|
558
|
+
if (this.structure && (P(e, this.from, this.gapFrom) || P(e, this.gapTo, this.to)))
|
|
558
559
|
return y.fail("Structure gap-replace would overwrite content");
|
|
559
560
|
let t = e.slice(this.gapFrom, this.gapTo);
|
|
560
561
|
if (t.openStart || t.openEnd)
|
|
@@ -600,8 +601,8 @@ class M extends k {
|
|
|
600
601
|
return new M(t.from, t.to, t.gapFrom, t.gapTo, g.fromJSON(e, t.slice), t.insert, !!t.structure);
|
|
601
602
|
}
|
|
602
603
|
}
|
|
603
|
-
|
|
604
|
-
function
|
|
604
|
+
v.jsonID("replaceAround", M);
|
|
605
|
+
function P(s, e, t) {
|
|
605
606
|
let r = s.resolve(e), n = t - e, i = r.depth;
|
|
606
607
|
for (; n > 0 && i > 0 && r.indexAfter(i) == r.node(i).childCount; )
|
|
607
608
|
i--, n--;
|
|
@@ -659,7 +660,7 @@ function $(s, e, t, r = t.contentMatch, n = !0) {
|
|
|
659
660
|
for (let a = 0; a < i.childCount; a++) {
|
|
660
661
|
let h = i.child(a), p = l + h.nodeSize, c = r.matchType(h.type);
|
|
661
662
|
if (!c)
|
|
662
|
-
o.push(new
|
|
663
|
+
o.push(new k(l, p, g.empty));
|
|
663
664
|
else {
|
|
664
665
|
r = c;
|
|
665
666
|
for (let f = 0; f < h.marks.length; f++)
|
|
@@ -667,7 +668,7 @@ function $(s, e, t, r = t.contentMatch, n = !0) {
|
|
|
667
668
|
if (n && h.isText && t.whitespace != "pre") {
|
|
668
669
|
let f, d = /\r?\n|\r/g, u;
|
|
669
670
|
for (; f = d.exec(h.text); )
|
|
670
|
-
u || (u = new g(w.from(t.schema.text(" ", t.allowedMarks(h.marks))), 0, 0)), o.push(new
|
|
671
|
+
u || (u = new g(w.from(t.schema.text(" ", t.allowedMarks(h.marks))), 0, 0)), o.push(new k(l + f.index, l + f.index + f[0].length, u));
|
|
671
672
|
}
|
|
672
673
|
}
|
|
673
674
|
l = p;
|
|
@@ -793,7 +794,7 @@ function ke(s, e, t, r, n) {
|
|
|
793
794
|
throw new RangeError("Invalid content for node type " + t.name);
|
|
794
795
|
s.step(new M(e, e + i.nodeSize, e + 1, e + i.nodeSize - 1, new g(w.from(o), 0, 0), 1, !0));
|
|
795
796
|
}
|
|
796
|
-
function
|
|
797
|
+
function Ae(s, e, t = 1, r) {
|
|
797
798
|
let n = s.resolve(e), i = n.depth - t, o = r && r[r.length - 1] || n.parent;
|
|
798
799
|
if (i < 0 || n.parent.type.spec.isolating || !n.parent.canReplace(n.index(), n.parent.childCount) || !o.type.validContent(n.parent.content.cutByIndex(n.index(), n.parent.childCount)))
|
|
799
800
|
return !1;
|
|
@@ -817,9 +818,9 @@ function ve(s, e, t = 1, r) {
|
|
|
817
818
|
let p = r && r[h];
|
|
818
819
|
o = w.from(p ? p.type.create(p.attrs, o) : n.node(l).copy(o));
|
|
819
820
|
}
|
|
820
|
-
s.step(new
|
|
821
|
+
s.step(new k(e, e, new g(i.append(o), t, t), !0));
|
|
821
822
|
}
|
|
822
|
-
function
|
|
823
|
+
function Je(s, e) {
|
|
823
824
|
let t = s.resolve(e), r = t.index();
|
|
824
825
|
return j(t.nodeBefore, t.nodeAfter) && t.parent.canReplace(r, r + 1);
|
|
825
826
|
}
|
|
@@ -860,7 +861,7 @@ function Se(s, e, t) {
|
|
|
860
861
|
}
|
|
861
862
|
o.inlineContent && $(s, e + t - 1, o, i.node().contentMatchAt(i.index()), r == null);
|
|
862
863
|
let a = s.mapping.slice(l), h = a.map(e - t);
|
|
863
|
-
if (s.step(new
|
|
864
|
+
if (s.step(new k(h, a.map(e + t, -1), g.empty, !0)), r === !0) {
|
|
864
865
|
let p = s.doc.resolve(h);
|
|
865
866
|
Z(s, p.node(), p.before(), s.steps.length);
|
|
866
867
|
}
|
|
@@ -888,7 +889,7 @@ function be(s, e, t) {
|
|
|
888
889
|
}
|
|
889
890
|
return null;
|
|
890
891
|
}
|
|
891
|
-
function
|
|
892
|
+
function De(s, e, t) {
|
|
892
893
|
let r = s.resolve(e);
|
|
893
894
|
if (!t.content.size)
|
|
894
895
|
return e;
|
|
@@ -913,7 +914,7 @@ function Me(s, e, t = e, r = g.empty) {
|
|
|
913
914
|
if (e == t && !r.size)
|
|
914
915
|
return null;
|
|
915
916
|
let n = s.resolve(e), i = s.resolve(t);
|
|
916
|
-
return ee(n, i, r) ? new
|
|
917
|
+
return ee(n, i, r) ? new k(e, t, r) : new Ce(n, i, r).fit();
|
|
917
918
|
}
|
|
918
919
|
function ee(s, e, t) {
|
|
919
920
|
return !t.openStart && !t.openEnd && s.start() == e.start() && s.parent.canReplace(s.index(), e.index(), t.content);
|
|
@@ -946,7 +947,7 @@ class Ce {
|
|
|
946
947
|
for (; o && l && i.childCount == 1; )
|
|
947
948
|
i = i.firstChild.content, o--, l--;
|
|
948
949
|
let a = new g(i, o, l);
|
|
949
|
-
return e > -1 ? new M(r.pos, e, this.$to.pos, this.$to.end(), a, t) : a.size || r.pos != this.$to.pos ? new
|
|
950
|
+
return e > -1 ? new M(r.pos, e, this.$to.pos, this.$to.end(), a, t) : a.size || r.pos != this.$to.pos ? new k(r.pos, n.pos, a) : null;
|
|
950
951
|
}
|
|
951
952
|
// Find a position on the start spine of `this.unplaced` that has
|
|
952
953
|
// content that can be moved somewhere on the frontier. Returns two
|
|
@@ -964,7 +965,7 @@ class Ce {
|
|
|
964
965
|
for (let t = 1; t <= 2; t++)
|
|
965
966
|
for (let r = t == 1 ? e : this.unplaced.openStart; r >= 0; r--) {
|
|
966
967
|
let n, i = null;
|
|
967
|
-
r ? (i =
|
|
968
|
+
r ? (i = D(this.unplaced.content, r - 1).firstChild, n = i.content) : n = this.unplaced.content;
|
|
968
969
|
let o = n.firstChild;
|
|
969
970
|
for (let l = this.depth; l >= 0; l--) {
|
|
970
971
|
let { type: a, match: h } = this.frontier[l], p, c = null;
|
|
@@ -978,11 +979,11 @@ class Ce {
|
|
|
978
979
|
}
|
|
979
980
|
}
|
|
980
981
|
openMore() {
|
|
981
|
-
let { content: e, openStart: t, openEnd: r } = this.unplaced, n =
|
|
982
|
+
let { content: e, openStart: t, openEnd: r } = this.unplaced, n = D(e, t);
|
|
982
983
|
return !n.childCount || n.firstChild.isLeaf ? !1 : (this.unplaced = new g(e, t + 1, Math.max(r, n.size + t >= e.size - r ? t + 1 : 0)), !0);
|
|
983
984
|
}
|
|
984
985
|
dropNode() {
|
|
985
|
-
let { content: e, openStart: t, openEnd: r } = this.unplaced, n =
|
|
986
|
+
let { content: e, openStart: t, openEnd: r } = this.unplaced, n = D(e, t);
|
|
986
987
|
if (n.childCount <= 1 && t > 0) {
|
|
987
988
|
let i = e.size - t <= t + n.size;
|
|
988
989
|
this.unplaced = new g(O(e, t - 1, 1), t - 1, i ? t - 1 : r);
|
|
@@ -1014,8 +1015,8 @@ class Ce {
|
|
|
1014
1015
|
let u = h == l.childCount;
|
|
1015
1016
|
u || (d = -1), this.placed = F(this.placed, t, w.from(p)), this.frontier[t].match = c, u && d < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
|
|
1016
1017
|
for (let m = 0, x = l; m < d; m++) {
|
|
1017
|
-
let
|
|
1018
|
-
this.frontier.push({ type:
|
|
1018
|
+
let N = x.lastChild;
|
|
1019
|
+
this.frontier.push({ type: N.type, match: N.contentMatchAt(N.childCount) }), x = N.content;
|
|
1019
1020
|
}
|
|
1020
1021
|
this.unplaced = u ? e == 0 ? g.empty : new g(O(o.content, e - 1, 1), e - 1, d < 0 ? o.openEnd : e - 1) : new g(O(o.content, e, h), o.openStart, o.openEnd);
|
|
1021
1022
|
}
|
|
@@ -1023,7 +1024,7 @@ class Ce {
|
|
|
1023
1024
|
if (!this.$to.parent.isTextblock)
|
|
1024
1025
|
return -1;
|
|
1025
1026
|
let e = this.frontier[this.depth], t;
|
|
1026
|
-
if (!e.type.isTextblock || !
|
|
1027
|
+
if (!e.type.isTextblock || !W(this.$to, this.$to.depth, e.type, e.match, !1) || this.$to.depth == this.depth && (t = this.findCloseLevel(this.$to)) && t.depth == this.depth)
|
|
1027
1028
|
return -1;
|
|
1028
1029
|
let { depth: r } = this.$to, n = this.$to.after(r);
|
|
1029
1030
|
for (; r > 1 && n == this.$to.end(--r); )
|
|
@@ -1032,10 +1033,10 @@ class Ce {
|
|
|
1032
1033
|
}
|
|
1033
1034
|
findCloseLevel(e) {
|
|
1034
1035
|
e: for (let t = Math.min(this.depth, e.depth); t >= 0; t--) {
|
|
1035
|
-
let { match: r, type: n } = this.frontier[t], i = t < e.depth && e.end(t + 1) == e.pos + (e.depth - (t + 1)), o =
|
|
1036
|
+
let { match: r, type: n } = this.frontier[t], i = t < e.depth && e.end(t + 1) == e.pos + (e.depth - (t + 1)), o = W(e, t, n, r, i);
|
|
1036
1037
|
if (o) {
|
|
1037
1038
|
for (let l = t - 1; l >= 0; l--) {
|
|
1038
|
-
let { match: a, type: h } = this.frontier[l], p =
|
|
1039
|
+
let { match: a, type: h } = this.frontier[l], p = W(e, l, h, a, !0);
|
|
1039
1040
|
if (!p || p.childCount)
|
|
1040
1041
|
continue e;
|
|
1041
1042
|
}
|
|
@@ -1071,7 +1072,7 @@ function O(s, e, t) {
|
|
|
1071
1072
|
function F(s, e, t) {
|
|
1072
1073
|
return e == 0 ? s.append(t) : s.replaceChild(s.childCount - 1, s.lastChild.copy(F(s.lastChild.content, e - 1, t)));
|
|
1073
1074
|
}
|
|
1074
|
-
function
|
|
1075
|
+
function D(s, e) {
|
|
1075
1076
|
for (let t = 0; t < e; t++)
|
|
1076
1077
|
s = s.firstChild.content;
|
|
1077
1078
|
return s;
|
|
@@ -1082,28 +1083,28 @@ function te(s, e, t) {
|
|
|
1082
1083
|
let r = s.content;
|
|
1083
1084
|
return e > 1 && (r = r.replaceChild(0, te(r.firstChild, e - 1, r.childCount == 1 ? t - 1 : 0))), e > 0 && (r = s.type.contentMatch.fillBefore(r).append(r), t <= 0 && (r = r.append(s.type.contentMatch.matchFragment(r).fillBefore(w.empty, !0)))), s.copy(r);
|
|
1084
1085
|
}
|
|
1085
|
-
function
|
|
1086
|
+
function W(s, e, t, r, n) {
|
|
1086
1087
|
let i = s.node(e), o = n ? s.indexAfter(e) : s.index(e);
|
|
1087
1088
|
if (o == i.childCount && !t.compatibleContent(i.type))
|
|
1088
1089
|
return null;
|
|
1089
1090
|
let l = r.fillBefore(i.content, !0, o);
|
|
1090
|
-
return l && !
|
|
1091
|
+
return l && !Ie(t, i.content, o) ? l : null;
|
|
1091
1092
|
}
|
|
1092
|
-
function
|
|
1093
|
+
function Ie(s, e, t) {
|
|
1093
1094
|
for (let r = t; r < e.childCount; r++)
|
|
1094
1095
|
if (!s.allowsMarks(e.child(r).marks))
|
|
1095
1096
|
return !0;
|
|
1096
1097
|
return !1;
|
|
1097
1098
|
}
|
|
1098
|
-
function
|
|
1099
|
+
function Ne(s) {
|
|
1099
1100
|
return s.spec.defining || s.spec.definingForContent;
|
|
1100
1101
|
}
|
|
1101
|
-
function
|
|
1102
|
+
function Re(s, e, t, r) {
|
|
1102
1103
|
if (!r.size)
|
|
1103
1104
|
return s.deleteRange(e, t);
|
|
1104
1105
|
let n = s.doc.resolve(e), i = s.doc.resolve(t);
|
|
1105
1106
|
if (ee(n, i, r))
|
|
1106
|
-
return s.step(new
|
|
1107
|
+
return s.step(new k(e, t, r));
|
|
1107
1108
|
let o = ne(n, i);
|
|
1108
1109
|
o[o.length - 1] == 0 && o.pop();
|
|
1109
1110
|
let l = -(n.depth + 1);
|
|
@@ -1122,7 +1123,7 @@ function Ie(s, e, t, r) {
|
|
|
1122
1123
|
f = u.content;
|
|
1123
1124
|
}
|
|
1124
1125
|
for (let f = p - 1; f >= 0; f--) {
|
|
1125
|
-
let d = h[f], u =
|
|
1126
|
+
let d = h[f], u = Ne(d.type);
|
|
1126
1127
|
if (u && !d.sameMarkup(n.node(Math.abs(l) - 1)))
|
|
1127
1128
|
p = f;
|
|
1128
1129
|
else if (u || !d.type.isTextblock)
|
|
@@ -1132,11 +1133,11 @@ function Ie(s, e, t, r) {
|
|
|
1132
1133
|
let d = (f + p + 1) % (r.openStart + 1), u = h[d];
|
|
1133
1134
|
if (u)
|
|
1134
1135
|
for (let m = 0; m < o.length; m++) {
|
|
1135
|
-
let x = o[(m + a) % o.length],
|
|
1136
|
-
x < 0 && (
|
|
1136
|
+
let x = o[(m + a) % o.length], N = !0;
|
|
1137
|
+
x < 0 && (N = !1, x = -x);
|
|
1137
1138
|
let ie = n.node(x - 1), G = n.index(x - 1);
|
|
1138
1139
|
if (ie.canReplaceWith(G, G, u.type, u.marks))
|
|
1139
|
-
return s.replace(n.before(x),
|
|
1140
|
+
return s.replace(n.before(x), N ? i.after(x) : t, new g(re(r.content, 0, r.openStart, d), d, r.openEnd));
|
|
1140
1141
|
}
|
|
1141
1142
|
}
|
|
1142
1143
|
let c = s.steps.length;
|
|
@@ -1156,15 +1157,30 @@ function re(s, e, t, r, n) {
|
|
|
1156
1157
|
}
|
|
1157
1158
|
return s;
|
|
1158
1159
|
}
|
|
1159
|
-
function
|
|
1160
|
+
function Te(s, e, t, r) {
|
|
1160
1161
|
if (!r.isInline && e == t && s.doc.resolve(e).parent.content.size) {
|
|
1161
1162
|
let n = be(s.doc, e, r.type);
|
|
1162
1163
|
n != null && (e = t = n);
|
|
1163
1164
|
}
|
|
1164
1165
|
s.replaceRange(e, t, new g(w.from(r), 0, 0));
|
|
1165
1166
|
}
|
|
1166
|
-
function
|
|
1167
|
-
let r = s.doc.resolve(e), n = s.doc.resolve(t)
|
|
1167
|
+
function Ee(s, e, t) {
|
|
1168
|
+
let r = s.doc.resolve(e), n = s.doc.resolve(t);
|
|
1169
|
+
if (r.parent.isTextblock && n.parent.isTextblock && r.start() != n.start() && r.parentOffset == 0 && n.parentOffset == 0) {
|
|
1170
|
+
let o = r.sharedDepth(t), l = !1;
|
|
1171
|
+
for (let a = r.depth; a > o; a--)
|
|
1172
|
+
r.node(a).type.spec.isolating && (l = !0);
|
|
1173
|
+
for (let a = n.depth; a > o; a--)
|
|
1174
|
+
n.node(a).type.spec.isolating && (l = !0);
|
|
1175
|
+
if (!l) {
|
|
1176
|
+
for (let a = r.depth; a > 0 && e == r.start(a); a--)
|
|
1177
|
+
e = r.before(a);
|
|
1178
|
+
for (let a = n.depth; a > 0 && t == n.start(a); a--)
|
|
1179
|
+
t = n.before(a);
|
|
1180
|
+
r = s.doc.resolve(e), n = s.doc.resolve(t);
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
let i = ne(r, n);
|
|
1168
1184
|
for (let o = 0; o < i.length; o++) {
|
|
1169
1185
|
let l = i[o], a = o == i.length - 1;
|
|
1170
1186
|
if (a && l == 0 || r.node(l).type.contentMatch.validEnd)
|
|
@@ -1187,7 +1203,7 @@ function ne(s, e) {
|
|
|
1187
1203
|
}
|
|
1188
1204
|
return t;
|
|
1189
1205
|
}
|
|
1190
|
-
class
|
|
1206
|
+
class T extends v {
|
|
1191
1207
|
/**
|
|
1192
1208
|
Construct an attribute step.
|
|
1193
1209
|
*/
|
|
@@ -1209,11 +1225,11 @@ class E extends k {
|
|
|
1209
1225
|
return S.empty;
|
|
1210
1226
|
}
|
|
1211
1227
|
invert(e) {
|
|
1212
|
-
return new
|
|
1228
|
+
return new T(this.pos, this.attr, e.nodeAt(this.pos).attrs[this.attr]);
|
|
1213
1229
|
}
|
|
1214
1230
|
map(e) {
|
|
1215
1231
|
let t = e.mapResult(this.pos, 1);
|
|
1216
|
-
return t.deletedAfter ? null : new
|
|
1232
|
+
return t.deletedAfter ? null : new T(t.pos, this.attr, this.value);
|
|
1217
1233
|
}
|
|
1218
1234
|
toJSON() {
|
|
1219
1235
|
return { stepType: "attr", pos: this.pos, attr: this.attr, value: this.value };
|
|
@@ -1221,11 +1237,11 @@ class E extends k {
|
|
|
1221
1237
|
static fromJSON(e, t) {
|
|
1222
1238
|
if (typeof t.pos != "number" || typeof t.attr != "string")
|
|
1223
1239
|
throw new RangeError("Invalid input for AttrStep.fromJSON");
|
|
1224
|
-
return new
|
|
1240
|
+
return new T(t.pos, t.attr, t.value);
|
|
1225
1241
|
}
|
|
1226
1242
|
}
|
|
1227
|
-
|
|
1228
|
-
class z extends
|
|
1243
|
+
v.jsonID("attr", T);
|
|
1244
|
+
class z extends v {
|
|
1229
1245
|
/**
|
|
1230
1246
|
Construct an attribute step.
|
|
1231
1247
|
*/
|
|
@@ -1258,22 +1274,22 @@ class z extends k {
|
|
|
1258
1274
|
return new z(t.attr, t.value);
|
|
1259
1275
|
}
|
|
1260
1276
|
}
|
|
1261
|
-
|
|
1262
|
-
let
|
|
1277
|
+
v.jsonID("docAttr", z);
|
|
1278
|
+
let E = class extends Error {
|
|
1263
1279
|
};
|
|
1264
|
-
|
|
1280
|
+
E = function s(e) {
|
|
1265
1281
|
let t = Error.call(this, e);
|
|
1266
1282
|
return t.__proto__ = s.prototype, t;
|
|
1267
1283
|
};
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
class
|
|
1284
|
+
E.prototype = Object.create(Error.prototype);
|
|
1285
|
+
E.prototype.constructor = E;
|
|
1286
|
+
E.prototype.name = "TransformError";
|
|
1287
|
+
class We {
|
|
1272
1288
|
/**
|
|
1273
1289
|
Create a transform that starts with the given document.
|
|
1274
1290
|
*/
|
|
1275
1291
|
constructor(e) {
|
|
1276
|
-
this.doc = e, this.steps = [], this.docs = [], this.mapping = new
|
|
1292
|
+
this.doc = e, this.steps = [], this.docs = [], this.mapping = new J();
|
|
1277
1293
|
}
|
|
1278
1294
|
/**
|
|
1279
1295
|
The starting document.
|
|
@@ -1288,7 +1304,7 @@ class De {
|
|
|
1288
1304
|
step(e) {
|
|
1289
1305
|
let t = this.maybeStep(e);
|
|
1290
1306
|
if (t.failed)
|
|
1291
|
-
throw new
|
|
1307
|
+
throw new E(t.failed);
|
|
1292
1308
|
return this;
|
|
1293
1309
|
}
|
|
1294
1310
|
/**
|
|
@@ -1375,7 +1391,7 @@ class De {
|
|
|
1375
1391
|
control over what happens.
|
|
1376
1392
|
*/
|
|
1377
1393
|
replaceRange(e, t, r) {
|
|
1378
|
-
return
|
|
1394
|
+
return Re(this, e, t, r), this;
|
|
1379
1395
|
}
|
|
1380
1396
|
/**
|
|
1381
1397
|
Replace the given range with a node, but use `from` and `to` as
|
|
@@ -1387,14 +1403,14 @@ class De {
|
|
|
1387
1403
|
that parent node.
|
|
1388
1404
|
*/
|
|
1389
1405
|
replaceRangeWith(e, t, r) {
|
|
1390
|
-
return
|
|
1406
|
+
return Te(this, e, t, r), this;
|
|
1391
1407
|
}
|
|
1392
1408
|
/**
|
|
1393
1409
|
Delete the given range, expanding it to cover fully covered
|
|
1394
1410
|
parent nodes until a valid replace is found.
|
|
1395
1411
|
*/
|
|
1396
1412
|
deleteRange(e, t) {
|
|
1397
|
-
return
|
|
1413
|
+
return Ee(this, e, t), this;
|
|
1398
1414
|
}
|
|
1399
1415
|
/**
|
|
1400
1416
|
Split the content in the given range off from its parent, if there
|
|
@@ -1441,7 +1457,7 @@ class De {
|
|
|
1441
1457
|
to set attributes on the document itself.
|
|
1442
1458
|
*/
|
|
1443
1459
|
setNodeAttribute(e, t, r) {
|
|
1444
|
-
return this.step(new
|
|
1460
|
+
return this.step(new T(e, t, r)), this;
|
|
1445
1461
|
}
|
|
1446
1462
|
/**
|
|
1447
1463
|
Set a single attribute on the document to a new value.
|
|
@@ -1453,7 +1469,7 @@ class De {
|
|
|
1453
1469
|
Add a mark to the node at position `pos`.
|
|
1454
1470
|
*/
|
|
1455
1471
|
addNodeMark(e, t) {
|
|
1456
|
-
return this.step(new
|
|
1472
|
+
return this.step(new I(e, t)), this;
|
|
1457
1473
|
}
|
|
1458
1474
|
/**
|
|
1459
1475
|
Remove a mark (or all marks of the given type) from the node at
|
|
@@ -1464,11 +1480,11 @@ class De {
|
|
|
1464
1480
|
if (!r)
|
|
1465
1481
|
throw new RangeError("No node at position " + e);
|
|
1466
1482
|
if (t instanceof oe)
|
|
1467
|
-
t.isInSet(r.marks) && this.step(new
|
|
1483
|
+
t.isInSet(r.marks) && this.step(new R(e, t));
|
|
1468
1484
|
else {
|
|
1469
1485
|
let n = r.marks, i, o = [];
|
|
1470
1486
|
for (; i = t.isInSet(n); )
|
|
1471
|
-
o.push(new
|
|
1487
|
+
o.push(new R(e, i)), n = i.removeFromSet(n);
|
|
1472
1488
|
for (let l = o.length - 1; l >= 0; l--)
|
|
1473
1489
|
this.step(o[l]);
|
|
1474
1490
|
}
|
|
@@ -1510,13 +1526,13 @@ class De {
|
|
|
1510
1526
|
}
|
|
1511
1527
|
}
|
|
1512
1528
|
export {
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1529
|
+
J as M,
|
|
1530
|
+
k as R,
|
|
1531
|
+
We as T,
|
|
1516
1532
|
M as a,
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1533
|
+
Ae as b,
|
|
1534
|
+
Je as c,
|
|
1535
|
+
De as d,
|
|
1520
1536
|
b as e,
|
|
1521
1537
|
ze as f,
|
|
1522
1538
|
Be as j,
|
package/dist/chunks/{vendor-prosemirror-view-Chu67Jpw.js → vendor-prosemirror-view-BW4UqvjQ.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N as D, S as be, T as k, A as Sn } from "./vendor-prosemirror-state-
|
|
1
|
+
import { N as D, S as be, T as k, A as Sn } from "./vendor-prosemirror-state-BvFA7AjG.js";
|
|
2
2
|
import { S as se, D as Ve, F as j, c as $t, M as Cn } from "./vendor-prosemirror-model-DAA3avbR.js";
|
|
3
|
-
import { d as On } from "./vendor-prosemirror-transform-
|
|
3
|
+
import { d as On } from "./vendor-prosemirror-transform-DVGD47fI.js";
|
|
4
4
|
const C = function(t) {
|
|
5
5
|
for (var e = 0; ; e++)
|
|
6
6
|
if (t = t.previousSibling, !t)
|
|
@@ -2211,7 +2211,7 @@ class Ro {
|
|
|
2211
2211
|
const l = i ? null : o.target, a = l ? e.docView.nearestDesc(l, !0) : null;
|
|
2212
2212
|
this.target = a && a.nodeDOM.nodeType == 1 ? a.nodeDOM : null;
|
|
2213
2213
|
let { selection: c } = e.state;
|
|
2214
|
-
|
|
2214
|
+
o.button == 0 && (s.type.spec.draggable && s.type.spec.selectable !== !1 || c instanceof D && c.from <= r && c.to > r) && (this.mightDrag = {
|
|
2215
2215
|
node: s,
|
|
2216
2216
|
pos: r,
|
|
2217
2217
|
addAttr: !!(this.target && !this.target.draggable),
|
|
@@ -2389,8 +2389,10 @@ class mn {
|
|
|
2389
2389
|
}
|
|
2390
2390
|
const qo = V ? "altKey" : "ctrlKey";
|
|
2391
2391
|
function gn(t, e) {
|
|
2392
|
-
let n
|
|
2393
|
-
return
|
|
2392
|
+
let n;
|
|
2393
|
+
return t.someProp("dragCopies", (o) => {
|
|
2394
|
+
n = n || o(e);
|
|
2395
|
+
}), n != null ? !n : !e[qo];
|
|
2394
2396
|
}
|
|
2395
2397
|
T.dragstart = (t, e) => {
|
|
2396
2398
|
let n = e, o = t.input.mouseDown;
|