@vc-shell/framework 1.1.99-alpha.2 → 1.2.0
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/core/api/platform.ts +9883 -9883
- package/core/composables/useDynamicProperties/index.ts +16 -10
- package/core/composables/useNotifications/index.ts +1 -32
- package/core/composables/useSettings/index.ts +3 -8
- package/core/composables/useUser/index.ts +171 -74
- package/core/composables/useUserManagement/index.ts +25 -67
- package/core/interceptors/index.ts +56 -19
- package/core/plugins/signalR/index.ts +1 -27
- package/core/types/index.ts +0 -2
- package/dist/core/api/platform.d.ts +1 -1
- package/dist/core/api/platform.d.ts.map +1 -1
- package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/useSettings/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +9 -18
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/composables/useUserManagement/index.d.ts +7 -7
- package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
- package/dist/core/interceptors/index.d.ts +1 -2
- package/dist/core/interceptors/index.d.ts.map +1 -1
- package/dist/core/plugins/signalR/index.d.ts +0 -2
- package/dist/core/plugins/signalR/index.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +1 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/injection-keys.d.ts +1 -2
- package/dist/injection-keys.d.ts.map +1 -1
- package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts.map +1 -1
- package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +10 -10
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/sign-in/useExternalProvider.d.ts +1 -1
- package/dist/shared/components/sign-in/useExternalProvider.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.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/molecules/index.d.ts +1 -0
- package/dist/ui/components/molecules/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts +34 -0
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-accordion/index.d.ts +7 -0
- package/dist/ui/components/molecules/vc-accordion/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +42 -0
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +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-multivalue/vc-multivalue.vue.d.ts +1 -1
- 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/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.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/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.backupsb.d.ts +3 -3
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.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-item/vc-gallery-item.vue.d.ts +2 -2
- 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/vc-gallery.vue.d.ts +5 -5
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +1 -1
- package/package.json +5 -7
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +2 -2
- package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +1 -15
- package/shared/components/sign-in/useExternalProvider.ts +1 -11
- package/shared/modules/dynamic/helpers/nodeBuilder.ts +3 -11
- package/ui/components/atoms/vc-badge/vc-badge.stories.ts +1 -1
- package/ui/components/atoms/vc-button/vc-button.stories.ts +1 -1
- package/ui/components/atoms/vc-card/vc-card.stories.ts +1 -1
- package/ui/components/atoms/vc-col/vc-col.stories.ts +1 -1
- package/ui/components/atoms/vc-container/vc-container.stories.ts +1 -1
- package/ui/components/atoms/vc-hint/vc-hint.stories.ts +1 -1
- package/ui/components/atoms/vc-icon/vc-icon.stories.ts +1 -1
- package/ui/components/atoms/vc-image/vc-image.stories.ts +1 -1
- package/ui/components/atoms/vc-label/vc-label.stories.ts +1 -1
- package/ui/components/atoms/vc-link/vc-link.stories.ts +1 -1
- package/ui/components/atoms/vc-progress/vc-progress.stories.ts +1 -1
- package/ui/components/atoms/vc-row/vc-row.stories.ts +1 -1
- package/ui/components/atoms/vc-skeleton/vc-skeleton.stories.ts +1 -1
- package/ui/components/atoms/vc-status/vc-status.stories.ts +1 -1
- package/ui/components/atoms/vc-status-icon/vc-status-icon.stories.ts +1 -1
- package/ui/components/atoms/vc-tooltip/vc-tooltip.stories.ts +1 -1
- package/ui/components/atoms/vc-video/vc-video.stories.ts +1 -1
- package/ui/components/atoms/vc-widget/vc-widget.stories.ts +1 -1
- package/ui/components/molecules/index.ts +1 -0
- package/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue +251 -0
- package/ui/components/molecules/vc-accordion/index.ts +11 -0
- package/ui/components/molecules/vc-accordion/vc-accordion.stories.ts +526 -0
- package/ui/components/molecules/vc-accordion/vc-accordion.vue +176 -0
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +1 -1
- package/ui/components/molecules/vc-checkbox/vc-checkbox.stories.ts +1 -1
- package/ui/components/molecules/vc-editor/vc-editor.stories.ts +1 -1
- package/ui/components/molecules/vc-field/vc-field.stories.ts +1 -1
- package/ui/components/molecules/vc-file-upload/vc-file-upload.stories.ts +1 -1
- package/ui/components/molecules/vc-form/vc-form.stories.ts +1 -1
- package/ui/components/molecules/vc-input/vc-input.stories.ts +1 -1
- package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +1 -1
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.stories.ts +1 -1
- package/ui/components/molecules/vc-multivalue/vc-multivalue.stories.ts +1 -1
- package/ui/components/molecules/vc-pagination/vc-pagination.stories.ts +1 -1
- package/ui/components/molecules/vc-radio-button/vc-radio-button.stories.ts +1 -1
- package/ui/components/molecules/vc-rating/vc-rating.stories.ts +1 -1
- package/ui/components/molecules/vc-select/vc-select.stories.ts +1 -1
- package/ui/components/molecules/vc-slider/vc-slider.stories.ts +1 -1
- package/ui/components/molecules/vc-switch/vc-switch.stories.ts +1 -1
- package/ui/components/molecules/vc-textarea/vc-textarea.stories.ts +1 -1
- package/ui/components/molecules/vc-toast/vc-toast.stories.ts +1 -1
- package/ui/components/organisms/vc-app/vc-app.vue +2 -20
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +4 -0
- package/ui/components/organisms/vc-gallery/vc-gallery.stories.ts +1 -1
- package/ui/components/organisms/vc-popup/vc-popup.stories.ts +1 -1
- package/core/providers/README.md +0 -176
- package/core/providers/auth-provider-manager.ts +0 -74
- package/core/providers/auth-provider-utils.ts +0 -26
- package/core/providers/example-custom-auth-provider.ts +0 -162
- package/core/providers/index.ts +0 -3
- package/core/providers/platform-auth-provider.ts +0 -207
- package/core/types/auth-provider.ts +0 -40
- package/dist/assets/042c75b764bc78a7.svg +0 -1
- package/dist/assets/0ba156439a339f2a.svg +0 -1
- package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
- package/dist/assets/0f590f8a94577092.svg +0 -1
- package/dist/assets/0fc5820f8be53a1b.svg +0 -1
- package/dist/assets/105efd028edc1dfe.woff +0 -0
- package/dist/assets/10768e2cc79fc60b.svg +0 -1
- package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
- package/dist/assets/154365acf3010d96.woff2 +0 -0
- package/dist/assets/157b8721e0600ea8.svg +0 -1
- package/dist/assets/15e91cdd649cde9a.svg +0 -1
- package/dist/assets/19275e398ae57130.woff2 +0 -0
- package/dist/assets/1a3e84b2457f709a.woff +0 -0
- package/dist/assets/1de63eb118636cce.svg +0 -1
- package/dist/assets/1ea01de36eb5491b.svg +0 -1
- package/dist/assets/204eaf512fde2023.svg +0 -1
- package/dist/assets/2088983edf42e153.svg +0 -1
- package/dist/assets/208f810a9321a327.svg +0 -1
- package/dist/assets/21220a9d10e6c558.svg +0 -1
- package/dist/assets/220db345a102045d.woff2 +0 -0
- package/dist/assets/225da11d23968333.svg +0 -1
- package/dist/assets/226f862dd81bdc13.woff2 +0 -0
- package/dist/assets/23a2d53395ddb14f.woff +0 -0
- package/dist/assets/259e6ad461a52ad7.svg +0 -1
- package/dist/assets/261e6dec4d53b9ac.woff +0 -0
- package/dist/assets/262f46a0b6d94bb6.svg +0 -1
- package/dist/assets/2857c513073467da.svg +0 -1
- package/dist/assets/2b3be7889467d98f.woff +0 -0
- package/dist/assets/2d4e6190eec72737.svg +0 -1
- package/dist/assets/2eba973185078bc8.woff +0 -0
- package/dist/assets/334d3f6bc766c516.woff +0 -0
- package/dist/assets/34ff7dd0c2285956.svg +0 -1
- package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
- package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
- package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
- package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
- package/dist/assets/41275bcb979cb650.svg +0 -1
- package/dist/assets/434f7982590e462f.woff +0 -0
- package/dist/assets/475937116ee3314a.woff2 +0 -0
- package/dist/assets/489710fb710e73f0.woff +0 -0
- package/dist/assets/49791943b3872376.woff2 +0 -0
- package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
- package/dist/assets/4d7a77b0e5373992.svg +0 -1
- package/dist/assets/4e43c74354534fb3.svg +0 -1
- package/dist/assets/4fe75f5117100705.svg +0 -1
- package/dist/assets/52e261a005074e1b.woff +0 -0
- package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
- package/dist/assets/54cda5482c6c9218.woff +0 -0
- package/dist/assets/550f52072e8ccafe.woff2 +0 -0
- package/dist/assets/572bb1bb4156a9c1.svg +0 -1
- package/dist/assets/6075995d7e74da46.woff2 +0 -0
- package/dist/assets/617c4736236e199e.woff +0 -0
- package/dist/assets/67230f05dc94a265.svg +0 -1
- package/dist/assets/6798e4dd4add9b48.svg +0 -1
- package/dist/assets/686d4077c1e26876.woff2 +0 -0
- package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
- package/dist/assets/6a3e73faf406cf33.svg +0 -1
- package/dist/assets/72de3a63bc0b70dd.svg +0 -1
- package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
- package/dist/assets/74ed5f8a78e71106.svg +0 -1
- package/dist/assets/7a5aa5abd625137f.ttf +0 -0
- package/dist/assets/7ce0c166fd6a1204.woff +0 -0
- package/dist/assets/7d55399c2a7bc985.svg +0 -1
- package/dist/assets/7d970675c69fca1d.woff +0 -0
- package/dist/assets/7eda727273fd98d3.svg +0 -1
- package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
- package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
- package/dist/assets/861e6b7192b3b6c7.woff +0 -0
- package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
- package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
- package/dist/assets/910b0d99b9e26568.svg +0 -1
- package/dist/assets/91fe94e424323d61.woff +0 -0
- package/dist/assets/92508f8707159b51.svg +0 -1
- package/dist/assets/9392bf1d591e1abb.svg +0 -1
- package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
- package/dist/assets/9cb83236f6bb7ab1.svg +0 -1
- package/dist/assets/9d37314695c0b68d.woff +0 -0
- package/dist/assets/a03cdcd8da5bb987.woff +0 -0
- package/dist/assets/a18404194e3f9047.svg +0 -1
- package/dist/assets/a2017fe7f0a26510.svg +0 -1
- package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
- package/dist/assets/abf88f301a0730f4.svg +0 -1
- package/dist/assets/ac1a99b3d05d8232.woff +0 -0
- package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
- package/dist/assets/b1a596e31ad1185a.svg +0 -1
- package/dist/assets/b27767411c8427be.woff +0 -0
- package/dist/assets/b325adcae33bbe7a.svg +0 -1
- package/dist/assets/b372390551ca2fa1.svg +0 -1
- package/dist/assets/b5bb1e8fc975decd.svg +0 -1
- package/dist/assets/b645a4a2181b9dc1.svg +0 -1
- package/dist/assets/b6499ddce0a4ef7d.svg +0 -1
- package/dist/assets/b94421fadd23b0f2.svg +0 -1
- package/dist/assets/bb28fb0f27f1c11b.svg +0 -1
- package/dist/assets/c9191b638a10f67b.woff2 +0 -0
- package/dist/assets/ca791c5ca5848a03.svg +0 -1
- package/dist/assets/cb32840ce330103f.woff +0 -0
- package/dist/assets/ccc878931d74181b.woff2 +0 -0
- package/dist/assets/d084bda16abe8a56.svg +0 -1
- package/dist/assets/d32b129cae2fffd6.svg +0 -1
- package/dist/assets/d35a4c7113315758.woff2 +0 -0
- package/dist/assets/d3f792f54ae4c307.svg +0 -1
- package/dist/assets/d5a5b8630120073d.svg +0 -1
- package/dist/assets/d5f9664ebbfb104b.svg +0 -1
- package/dist/assets/d84247b59449dd88.woff2 +0 -0
- package/dist/assets/dceaf3b39091e6a4.woff +0 -0
- package/dist/assets/dd05d43ff0df2fc7.svg +0 -1
- package/dist/assets/e2ad5b3428289141.woff +0 -0
- package/dist/assets/e38acaa1757232e0.svg +0 -1
- package/dist/assets/e4a8550f1c7ffe36.svg +0 -1
- package/dist/assets/e5adb5ae3a3698f6.svg +0 -1
- package/dist/assets/e61a1889bac955f4.woff2 +0 -0
- package/dist/assets/e72bb11356af94c7.svg +0 -1
- package/dist/assets/e98196a9f8dcb2f0.svg +0 -1
- package/dist/assets/ebec912a42ad49ff.woff +0 -0
- package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
- package/dist/assets/f09d89268e4c0317.svg +0 -1
- package/dist/assets/f239394367fcf005.woff2 +0 -0
- package/dist/assets/f5722262b6e7214e.woff2 +0 -0
- package/dist/assets/f7fc8bf46089d8b2.svg +0 -1
- package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
- package/dist/assets/fe141d99763f5d2b.woff +0 -0
- package/dist/assets/fed13b0d59903483.svg +0 -1
- package/dist/assets/fed757d2c2344ead.woff2 +0 -0
- package/dist/assets/ffc438f20e79ce73.woff +0 -0
- package/dist/core/providers/auth-provider-manager.d.ts +0 -34
- package/dist/core/providers/auth-provider-manager.d.ts.map +0 -1
- package/dist/core/providers/auth-provider-utils.d.ts +0 -17
- package/dist/core/providers/auth-provider-utils.d.ts.map +0 -1
- package/dist/core/providers/example-custom-auth-provider.d.ts +0 -45
- package/dist/core/providers/example-custom-auth-provider.d.ts.map +0 -1
- package/dist/core/providers/index.d.ts +0 -3
- package/dist/core/providers/index.d.ts.map +0 -1
- package/dist/core/providers/platform-auth-provider.d.ts +0 -34
- package/dist/core/providers/platform-auth-provider.d.ts.map +0 -1
- package/dist/core/types/auth-provider.d.ts +0 -27
- package/dist/core/types/auth-provider.d.ts.map +0 -1
- package/dist/framework.js +0 -25048
- package/dist/index.css +0 -9
- package/dist/vendor-boolbase-A_-Pp38P.js +0 -23
- package/dist/vendor-cheerio-C46iBpCu.js +0 -1053
- package/dist/vendor-cheerio-select-C8emRZsx.js +0 -191
- package/dist/vendor-core-js-DDuR6YMQ.js +0 -1206
- package/dist/vendor-css-select-DR9bp36p.js +0 -622
- package/dist/vendor-css-what-CZZaquJM.js +0 -267
- package/dist/vendor-cypress-signalr-mock-DjBxJHA6.js +0 -769
- package/dist/vendor-date-fns-sZ1zMzTH.js +0 -3008
- package/dist/vendor-dom-serializer-Sk3xHhQk.js +0 -213
- package/dist/vendor-domelementtype-B3sFIGaC.js +0 -21
- package/dist/vendor-domhandler-CL40eeX9.js +0 -311
- package/dist/vendor-dompurify-BuxjWxA2.js +0 -553
- package/dist/vendor-domutils-BiVCXO8c.js +0 -386
- package/dist/vendor-entities-CCReaWqU.js +0 -364
- package/dist/vendor-floating-ui-core-Cl9nBI4j.js +0 -349
- package/dist/vendor-floating-ui-dom-3z44E4mf.js +0 -395
- package/dist/vendor-floating-ui-utils-D2sT7feD.js +0 -259
- package/dist/vendor-floating-ui-vue-ClrgkeO5.js +0 -107
- package/dist/vendor-headlessui-vue-D7tzx4PC.js +0 -961
- package/dist/vendor-htmlparser2-CpQu33io.js +0 -735
- package/dist/vendor-intlify-core-base-Da62SG4M.js +0 -1130
- package/dist/vendor-intlify-message-compiler-CHvGSH2u.js +0 -952
- package/dist/vendor-intlify-shared-jWBPd9WB.js +0 -144
- package/dist/vendor-iso-639-1-BJO6WZAt.js +0 -781
- package/dist/vendor-linkify-it-LzoUhj6C.js +0 -199
- package/dist/vendor-linkifyjs-dCH9UYes.js +0 -701
- package/dist/vendor-lodash-es-BqkGj3Jl.js +0 -4816
- package/dist/vendor-lucide-vue-next-m0L4DzUL.js +0 -29780
- package/dist/vendor-markdown-it-Czg9qJTh.js +0 -2263
- package/dist/vendor-markdown-it-task-lists-BxLwscWK.js +0 -69
- package/dist/vendor-mdurl-DZFDNdqC.js +0 -192
- package/dist/vendor-microsoft-applicationinsights-analytics-js-C1Yxuzwg.js +0 -1207
- package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DArHD4Dn.js +0 -261
- package/dist/vendor-microsoft-applicationinsights-channel-js-Dbs0XRes.js +0 -1822
- package/dist/vendor-microsoft-applicationinsights-common-OjU3Zs6r.js +0 -1921
- package/dist/vendor-microsoft-applicationinsights-core-js-DWRvqBek.js +0 -4276
- package/dist/vendor-microsoft-applicationinsights-dependencies-js-BxTNw-Sk.js +0 -1407
- package/dist/vendor-microsoft-applicationinsights-properties-js-Gfhpu-At.js +0 -572
- package/dist/vendor-microsoft-applicationinsights-shims-CxtPYiwp.js +0 -43
- package/dist/vendor-microsoft-applicationinsights-web-9yeJ0EZv.js +0 -487
- package/dist/vendor-microsoft-dynamicproto-js-DSkQkH3T.js +0 -147
- package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +0 -1761
- package/dist/vendor-moment-DMLRxgRE.js +0 -2589
- package/dist/vendor-nevware21-ts-async-CdMc_sGt.js +0 -261
- package/dist/vendor-nevware21-ts-utils-Dy41wRhA.js +0 -853
- package/dist/vendor-nth-check-CS1D-zr5.js +0 -45
- package/dist/vendor-orderedmap-B3SOk52B.js +0 -103
- package/dist/vendor-parse5-htmlparser2-tree-adapter-BWywtwol.js +0 -143
- package/dist/vendor-parse5-zq5Hn0y9.js +0 -5749
- package/dist/vendor-prettier-cZc5sCiS.js +0 -4875
- package/dist/vendor-prosemirror-commands-Cu1q5ZDk.js +0 -385
- package/dist/vendor-prosemirror-dropcursor-BuGmFgFS.js +0 -86
- package/dist/vendor-prosemirror-gapcursor-CyYcCWVK.js +0 -203
- package/dist/vendor-prosemirror-history-DzRcbrCw.js +0 -248
- package/dist/vendor-prosemirror-keymap-KfbdOEJw.js +0 -62
- package/dist/vendor-prosemirror-markdown-OyxRuawK.js +0 -650
- package/dist/vendor-prosemirror-model-DFp4ML7B.js +0 -2730
- package/dist/vendor-prosemirror-schema-list-CwCUArvx.js +0 -87
- package/dist/vendor-prosemirror-state-DHaVEu5h.js +0 -821
- package/dist/vendor-prosemirror-tables-mYok4vGT.js +0 -1711
- package/dist/vendor-prosemirror-transform-CAHmg-qG.js +0 -1508
- package/dist/vendor-prosemirror-view-CspJa44O.js +0 -3751
- package/dist/vendor-punycode-js-CgGegfA_.js +0 -133
- package/dist/vendor-rope-sequence-BWC2FSrq.js +0 -100
- package/dist/vendor-semver-Dar8oU3V.js +0 -1023
- package/dist/vendor-swiper-1bp0oJwt.js +0 -3387
- package/dist/vendor-tanstack-virtual-core-l0sNRNKZ.js +0 -1
- package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +0 -1
- package/dist/vendor-tiptap-core-ClsTgaMv.js +0 -3699
- package/dist/vendor-tiptap-extension-blockquote-r1MBx4hD.js +0 -54
- package/dist/vendor-tiptap-extension-bold-BjLI4i8b.js +0 -74
- package/dist/vendor-tiptap-extension-code-D5-kDnMW.js +0 -52
- package/dist/vendor-tiptap-extension-code-block-RjEb0zPA.js +0 -215
- package/dist/vendor-tiptap-extension-document--PLOxIdq.js +0 -12
- package/dist/vendor-tiptap-extension-hard-break-9cxC2YOS.js +0 -59
- package/dist/vendor-tiptap-extension-heading-2w0TutHn.js +0 -63
- package/dist/vendor-tiptap-extension-horizontal-rule-CFowa_lc.js +0 -56
- package/dist/vendor-tiptap-extension-image-aWn-na6j.js +0 -127
- package/dist/vendor-tiptap-extension-italic-Bn-6saY0.js +0 -73
- package/dist/vendor-tiptap-extension-link-BmcG1_k-.js +0 -298
- package/dist/vendor-tiptap-extension-list-BrNBJ45n.js +0 -707
- package/dist/vendor-tiptap-extension-paragraph-DAiYhwUB.js +0 -41
- package/dist/vendor-tiptap-extension-placeholder-9tURDKy-.js +0 -1
- package/dist/vendor-tiptap-extension-strike-DqbXPfos.js +0 -64
- package/dist/vendor-tiptap-extension-table-DQwPaR7v.js +0 -374
- package/dist/vendor-tiptap-extension-table-cell-C0tEP_0i.js +0 -1
- package/dist/vendor-tiptap-extension-table-header-C0tEP_0i.js +0 -1
- package/dist/vendor-tiptap-extension-table-row-C0tEP_0i.js +0 -1
- package/dist/vendor-tiptap-extension-text-BFnfj70b.js +0 -13
- package/dist/vendor-tiptap-extension-text-style-Darua3qr.js +0 -235
- package/dist/vendor-tiptap-extension-underline-QyVnBqQZ.js +0 -65
- package/dist/vendor-tiptap-extensions-CU-D7bfm.js +0 -290
- package/dist/vendor-tiptap-markdown-BwATYN5A.js +0 -826
- package/dist/vendor-tiptap-pm-d91nGny8.js +0 -1
- package/dist/vendor-tiptap-starter-kit-5luf7zzS.js +0 -28
- package/dist/vendor-tiptap-vue-3-CFBErZGb.js +0 -157
- package/dist/vendor-truncate-html-DYC0Lj9o.js +0 -145
- package/dist/vendor-uc-micro-4lbSaZOs.js +0 -17
- package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +0 -93
- package/dist/vendor-vee-validate-rules-4oWUZPpG.js +0 -316
- package/dist/vendor-vue-currency-input-BqaYAdhD.js +0 -317
- package/dist/vendor-vue-demi-CD9yLWd7.js +0 -1
- package/dist/vendor-vue-devtools-api-aVYGocXp.js +0 -93
- package/dist/vendor-vue-i18n-CO5LWKE0.js +0 -1370
- package/dist/vendor-vue3-application-insights-BKiiWnf2.js +0 -69
- package/dist/vendor-vue3-touch-events-DqysuuWh.js +0 -169
- package/dist/vendor-vuepic-vue-datepicker-CaY_xSnG.js +0 -4998
- package/dist/vendor-vueuse-components-sgKpNzof.js +0 -542
- package/dist/vendor-vueuse-core-D0cN7FqY.js +0 -5130
- package/dist/vendor-vueuse-shared-Pt0UEStA.js +0 -1169
- package/dist/vendor-w3c-keyname-CLxH8j-f.js +0 -92
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
import { T as d, a as u, S as m, b as g, C as h, c as p, D as x, d as M, R as C } from "./vendor-domelementtype-B3sFIGaC.js";
|
|
2
|
-
import { e as l, a as b, b as T } from "./vendor-entities-CCReaWqU.js";
|
|
3
|
-
const v = new Map([
|
|
4
|
-
"altGlyph",
|
|
5
|
-
"altGlyphDef",
|
|
6
|
-
"altGlyphItem",
|
|
7
|
-
"animateColor",
|
|
8
|
-
"animateMotion",
|
|
9
|
-
"animateTransform",
|
|
10
|
-
"clipPath",
|
|
11
|
-
"feBlend",
|
|
12
|
-
"feColorMatrix",
|
|
13
|
-
"feComponentTransfer",
|
|
14
|
-
"feComposite",
|
|
15
|
-
"feConvolveMatrix",
|
|
16
|
-
"feDiffuseLighting",
|
|
17
|
-
"feDisplacementMap",
|
|
18
|
-
"feDistantLight",
|
|
19
|
-
"feDropShadow",
|
|
20
|
-
"feFlood",
|
|
21
|
-
"feFuncA",
|
|
22
|
-
"feFuncB",
|
|
23
|
-
"feFuncG",
|
|
24
|
-
"feFuncR",
|
|
25
|
-
"feGaussianBlur",
|
|
26
|
-
"feImage",
|
|
27
|
-
"feMerge",
|
|
28
|
-
"feMergeNode",
|
|
29
|
-
"feMorphology",
|
|
30
|
-
"feOffset",
|
|
31
|
-
"fePointLight",
|
|
32
|
-
"feSpecularLighting",
|
|
33
|
-
"feSpotLight",
|
|
34
|
-
"feTile",
|
|
35
|
-
"feTurbulence",
|
|
36
|
-
"foreignObject",
|
|
37
|
-
"glyphRef",
|
|
38
|
-
"linearGradient",
|
|
39
|
-
"radialGradient",
|
|
40
|
-
"textPath"
|
|
41
|
-
].map((e) => [e.toLowerCase(), e])), A = new Map([
|
|
42
|
-
"definitionURL",
|
|
43
|
-
"attributeName",
|
|
44
|
-
"attributeType",
|
|
45
|
-
"baseFrequency",
|
|
46
|
-
"baseProfile",
|
|
47
|
-
"calcMode",
|
|
48
|
-
"clipPathUnits",
|
|
49
|
-
"diffuseConstant",
|
|
50
|
-
"edgeMode",
|
|
51
|
-
"filterUnits",
|
|
52
|
-
"glyphRef",
|
|
53
|
-
"gradientTransform",
|
|
54
|
-
"gradientUnits",
|
|
55
|
-
"kernelMatrix",
|
|
56
|
-
"kernelUnitLength",
|
|
57
|
-
"keyPoints",
|
|
58
|
-
"keySplines",
|
|
59
|
-
"keyTimes",
|
|
60
|
-
"lengthAdjust",
|
|
61
|
-
"limitingConeAngle",
|
|
62
|
-
"markerHeight",
|
|
63
|
-
"markerUnits",
|
|
64
|
-
"markerWidth",
|
|
65
|
-
"maskContentUnits",
|
|
66
|
-
"maskUnits",
|
|
67
|
-
"numOctaves",
|
|
68
|
-
"pathLength",
|
|
69
|
-
"patternContentUnits",
|
|
70
|
-
"patternTransform",
|
|
71
|
-
"patternUnits",
|
|
72
|
-
"pointsAtX",
|
|
73
|
-
"pointsAtY",
|
|
74
|
-
"pointsAtZ",
|
|
75
|
-
"preserveAlpha",
|
|
76
|
-
"preserveAspectRatio",
|
|
77
|
-
"primitiveUnits",
|
|
78
|
-
"refX",
|
|
79
|
-
"refY",
|
|
80
|
-
"repeatCount",
|
|
81
|
-
"repeatDur",
|
|
82
|
-
"requiredExtensions",
|
|
83
|
-
"requiredFeatures",
|
|
84
|
-
"specularConstant",
|
|
85
|
-
"specularExponent",
|
|
86
|
-
"spreadMethod",
|
|
87
|
-
"startOffset",
|
|
88
|
-
"stdDeviation",
|
|
89
|
-
"stitchTiles",
|
|
90
|
-
"surfaceScale",
|
|
91
|
-
"systemLanguage",
|
|
92
|
-
"tableValues",
|
|
93
|
-
"targetX",
|
|
94
|
-
"targetY",
|
|
95
|
-
"textLength",
|
|
96
|
-
"viewBox",
|
|
97
|
-
"viewTarget",
|
|
98
|
-
"xChannelSelector",
|
|
99
|
-
"yChannelSelector",
|
|
100
|
-
"zoomAndPan"
|
|
101
|
-
].map((e) => [e.toLowerCase(), e])), y = /* @__PURE__ */ new Set([
|
|
102
|
-
"style",
|
|
103
|
-
"script",
|
|
104
|
-
"xmp",
|
|
105
|
-
"iframe",
|
|
106
|
-
"noembed",
|
|
107
|
-
"noframes",
|
|
108
|
-
"plaintext",
|
|
109
|
-
"noscript"
|
|
110
|
-
]);
|
|
111
|
-
function S(e) {
|
|
112
|
-
return e.replace(/"/g, """);
|
|
113
|
-
}
|
|
114
|
-
function w(e, t) {
|
|
115
|
-
var a;
|
|
116
|
-
if (!e)
|
|
117
|
-
return;
|
|
118
|
-
const n = ((a = t.encodeEntities) !== null && a !== void 0 ? a : t.decodeEntities) === !1 ? S : t.xmlMode || t.encodeEntities !== "utf8" ? l : T;
|
|
119
|
-
return Object.keys(e).map((r) => {
|
|
120
|
-
var i, s;
|
|
121
|
-
const o = (i = e[r]) !== null && i !== void 0 ? i : "";
|
|
122
|
-
return t.xmlMode === "foreign" && (r = (s = A.get(r)) !== null && s !== void 0 ? s : r), !t.emptyAttrs && !t.xmlMode && o === "" ? r : `${r}="${n(o)}"`;
|
|
123
|
-
}).join(" ");
|
|
124
|
-
}
|
|
125
|
-
const f = /* @__PURE__ */ new Set([
|
|
126
|
-
"area",
|
|
127
|
-
"base",
|
|
128
|
-
"basefont",
|
|
129
|
-
"br",
|
|
130
|
-
"col",
|
|
131
|
-
"command",
|
|
132
|
-
"embed",
|
|
133
|
-
"frame",
|
|
134
|
-
"hr",
|
|
135
|
-
"img",
|
|
136
|
-
"input",
|
|
137
|
-
"isindex",
|
|
138
|
-
"keygen",
|
|
139
|
-
"link",
|
|
140
|
-
"meta",
|
|
141
|
-
"param",
|
|
142
|
-
"source",
|
|
143
|
-
"track",
|
|
144
|
-
"wbr"
|
|
145
|
-
]);
|
|
146
|
-
function c(e, t = {}) {
|
|
147
|
-
const a = "length" in e ? e : [e];
|
|
148
|
-
let n = "";
|
|
149
|
-
for (let r = 0; r < a.length; r++)
|
|
150
|
-
n += D(a[r], t);
|
|
151
|
-
return n;
|
|
152
|
-
}
|
|
153
|
-
function D(e, t) {
|
|
154
|
-
switch (e.type) {
|
|
155
|
-
case C:
|
|
156
|
-
return c(e.children, t);
|
|
157
|
-
// @ts-expect-error We don't use `Doctype` yet
|
|
158
|
-
case M:
|
|
159
|
-
case x:
|
|
160
|
-
return k(e);
|
|
161
|
-
case p:
|
|
162
|
-
return F(e);
|
|
163
|
-
case h:
|
|
164
|
-
return $(e);
|
|
165
|
-
case g:
|
|
166
|
-
case m:
|
|
167
|
-
case u:
|
|
168
|
-
return E(e, t);
|
|
169
|
-
case d:
|
|
170
|
-
return P(e, t);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
const L = /* @__PURE__ */ new Set([
|
|
174
|
-
"mi",
|
|
175
|
-
"mo",
|
|
176
|
-
"mn",
|
|
177
|
-
"ms",
|
|
178
|
-
"mtext",
|
|
179
|
-
"annotation-xml",
|
|
180
|
-
"foreignObject",
|
|
181
|
-
"desc",
|
|
182
|
-
"title"
|
|
183
|
-
]), U = /* @__PURE__ */ new Set(["svg", "math"]);
|
|
184
|
-
function E(e, t) {
|
|
185
|
-
var a;
|
|
186
|
-
t.xmlMode === "foreign" && (e.name = (a = v.get(e.name)) !== null && a !== void 0 ? a : e.name, e.parent && L.has(e.parent.name) && (t = { ...t, xmlMode: !1 })), !t.xmlMode && U.has(e.name) && (t = { ...t, xmlMode: "foreign" });
|
|
187
|
-
let n = `<${e.name}`;
|
|
188
|
-
const r = w(e.attribs, t);
|
|
189
|
-
return r && (n += ` ${r}`), e.children.length === 0 && (t.xmlMode ? (
|
|
190
|
-
// In XML mode or foreign mode, and user hasn't explicitly turned off self-closing tags
|
|
191
|
-
t.selfClosingTags !== !1
|
|
192
|
-
) : (
|
|
193
|
-
// User explicitly asked for self-closing tags, even in HTML mode
|
|
194
|
-
t.selfClosingTags && f.has(e.name)
|
|
195
|
-
)) ? (t.xmlMode || (n += " "), n += "/>") : (n += ">", e.children.length > 0 && (n += c(e.children, t)), (t.xmlMode || !f.has(e.name)) && (n += `</${e.name}>`)), n;
|
|
196
|
-
}
|
|
197
|
-
function k(e) {
|
|
198
|
-
return `<${e.data}>`;
|
|
199
|
-
}
|
|
200
|
-
function P(e, t) {
|
|
201
|
-
var a;
|
|
202
|
-
let n = e.data || "";
|
|
203
|
-
return ((a = t.encodeEntities) !== null && a !== void 0 ? a : t.decodeEntities) !== !1 && !(!t.xmlMode && e.parent && y.has(e.parent.name)) && (n = t.xmlMode || t.encodeEntities !== "utf8" ? l(n) : b(n)), n;
|
|
204
|
-
}
|
|
205
|
-
function $(e) {
|
|
206
|
-
return `<![CDATA[${e.children[0].data}]]>`;
|
|
207
|
-
}
|
|
208
|
-
function F(e) {
|
|
209
|
-
return `<!--${e.data}-->`;
|
|
210
|
-
}
|
|
211
|
-
export {
|
|
212
|
-
c as r
|
|
213
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
var t;
|
|
2
|
-
(function(o) {
|
|
3
|
-
o.Root = "root", o.Text = "text", o.Directive = "directive", o.Comment = "comment", o.Script = "script", o.Style = "style", o.Tag = "tag", o.CDATA = "cdata", o.Doctype = "doctype";
|
|
4
|
-
})(t || (t = {}));
|
|
5
|
-
function c(o) {
|
|
6
|
-
return o.type === t.Tag || o.type === t.Script || o.type === t.Style;
|
|
7
|
-
}
|
|
8
|
-
const s = t.Root, a = t.Text, i = t.Directive, r = t.Comment, n = t.Script, D = t.Style, S = t.Tag, C = t.CDATA, g = t.Doctype;
|
|
9
|
-
export {
|
|
10
|
-
C,
|
|
11
|
-
i as D,
|
|
12
|
-
t as E,
|
|
13
|
-
s as R,
|
|
14
|
-
D as S,
|
|
15
|
-
a as T,
|
|
16
|
-
S as a,
|
|
17
|
-
n as b,
|
|
18
|
-
r as c,
|
|
19
|
-
g as d,
|
|
20
|
-
c as i
|
|
21
|
-
};
|
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
import { E as r, i as y } from "./vendor-domelementtype-B3sFIGaC.js";
|
|
2
|
-
class p {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
|
|
5
|
-
}
|
|
6
|
-
// Read-write aliases for properties
|
|
7
|
-
/**
|
|
8
|
-
* Same as {@link parent}.
|
|
9
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
10
|
-
*/
|
|
11
|
-
get parentNode() {
|
|
12
|
-
return this.parent;
|
|
13
|
-
}
|
|
14
|
-
set parentNode(t) {
|
|
15
|
-
this.parent = t;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Same as {@link prev}.
|
|
19
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
20
|
-
*/
|
|
21
|
-
get previousSibling() {
|
|
22
|
-
return this.prev;
|
|
23
|
-
}
|
|
24
|
-
set previousSibling(t) {
|
|
25
|
-
this.prev = t;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Same as {@link next}.
|
|
29
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
30
|
-
*/
|
|
31
|
-
get nextSibling() {
|
|
32
|
-
return this.next;
|
|
33
|
-
}
|
|
34
|
-
set nextSibling(t) {
|
|
35
|
-
this.next = t;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Clone this node, and optionally its children.
|
|
39
|
-
*
|
|
40
|
-
* @param recursive Clone child nodes as well.
|
|
41
|
-
* @returns A clone of the node.
|
|
42
|
-
*/
|
|
43
|
-
cloneNode(t = !1) {
|
|
44
|
-
return N(this, t);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
class c extends p {
|
|
48
|
-
/**
|
|
49
|
-
* @param data The content of the data node
|
|
50
|
-
*/
|
|
51
|
-
constructor(t) {
|
|
52
|
-
super(), this.data = t;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Same as {@link data}.
|
|
56
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
57
|
-
*/
|
|
58
|
-
get nodeValue() {
|
|
59
|
-
return this.data;
|
|
60
|
-
}
|
|
61
|
-
set nodeValue(t) {
|
|
62
|
-
this.data = t;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
class o extends c {
|
|
66
|
-
constructor() {
|
|
67
|
-
super(...arguments), this.type = r.Text;
|
|
68
|
-
}
|
|
69
|
-
get nodeType() {
|
|
70
|
-
return 3;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
class f extends c {
|
|
74
|
-
constructor() {
|
|
75
|
-
super(...arguments), this.type = r.Comment;
|
|
76
|
-
}
|
|
77
|
-
get nodeType() {
|
|
78
|
-
return 8;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
class x extends c {
|
|
82
|
-
constructor(t, s) {
|
|
83
|
-
super(s), this.name = t, this.type = r.Directive;
|
|
84
|
-
}
|
|
85
|
-
get nodeType() {
|
|
86
|
-
return 1;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
class d extends p {
|
|
90
|
-
/**
|
|
91
|
-
* @param children Children of the node. Only certain node types can have children.
|
|
92
|
-
*/
|
|
93
|
-
constructor(t) {
|
|
94
|
-
super(), this.children = t;
|
|
95
|
-
}
|
|
96
|
-
// Aliases
|
|
97
|
-
/** First child of the node. */
|
|
98
|
-
get firstChild() {
|
|
99
|
-
var t;
|
|
100
|
-
return (t = this.children[0]) !== null && t !== void 0 ? t : null;
|
|
101
|
-
}
|
|
102
|
-
/** Last child of the node. */
|
|
103
|
-
get lastChild() {
|
|
104
|
-
return this.children.length > 0 ? this.children[this.children.length - 1] : null;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Same as {@link children}.
|
|
108
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
109
|
-
*/
|
|
110
|
-
get childNodes() {
|
|
111
|
-
return this.children;
|
|
112
|
-
}
|
|
113
|
-
set childNodes(t) {
|
|
114
|
-
this.children = t;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
class m extends d {
|
|
118
|
-
constructor() {
|
|
119
|
-
super(...arguments), this.type = r.CDATA;
|
|
120
|
-
}
|
|
121
|
-
get nodeType() {
|
|
122
|
-
return 4;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
class h extends d {
|
|
126
|
-
constructor() {
|
|
127
|
-
super(...arguments), this.type = r.Root;
|
|
128
|
-
}
|
|
129
|
-
get nodeType() {
|
|
130
|
-
return 9;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
class g extends d {
|
|
134
|
-
/**
|
|
135
|
-
* @param name Name of the tag, eg. `div`, `span`.
|
|
136
|
-
* @param attribs Object mapping attribute names to attribute values.
|
|
137
|
-
* @param children Children of the node.
|
|
138
|
-
*/
|
|
139
|
-
constructor(t, s, n = [], i = t === "script" ? r.Script : t === "style" ? r.Style : r.Tag) {
|
|
140
|
-
super(n), this.name = t, this.attribs = s, this.type = i;
|
|
141
|
-
}
|
|
142
|
-
get nodeType() {
|
|
143
|
-
return 1;
|
|
144
|
-
}
|
|
145
|
-
// DOM Level 1 aliases
|
|
146
|
-
/**
|
|
147
|
-
* Same as {@link name}.
|
|
148
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
149
|
-
*/
|
|
150
|
-
get tagName() {
|
|
151
|
-
return this.name;
|
|
152
|
-
}
|
|
153
|
-
set tagName(t) {
|
|
154
|
-
this.name = t;
|
|
155
|
-
}
|
|
156
|
-
get attributes() {
|
|
157
|
-
return Object.keys(this.attribs).map((t) => {
|
|
158
|
-
var s, n;
|
|
159
|
-
return {
|
|
160
|
-
name: t,
|
|
161
|
-
value: this.attribs[t],
|
|
162
|
-
namespace: (s = this["x-attribsNamespace"]) === null || s === void 0 ? void 0 : s[t],
|
|
163
|
-
prefix: (n = this["x-attribsPrefix"]) === null || n === void 0 ? void 0 : n[t]
|
|
164
|
-
};
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
function b(e) {
|
|
169
|
-
return y(e);
|
|
170
|
-
}
|
|
171
|
-
function I(e) {
|
|
172
|
-
return e.type === r.CDATA;
|
|
173
|
-
}
|
|
174
|
-
function w(e) {
|
|
175
|
-
return e.type === r.Text;
|
|
176
|
-
}
|
|
177
|
-
function C(e) {
|
|
178
|
-
return e.type === r.Comment;
|
|
179
|
-
}
|
|
180
|
-
function T(e) {
|
|
181
|
-
return e.type === r.Directive;
|
|
182
|
-
}
|
|
183
|
-
function v(e) {
|
|
184
|
-
return e.type === r.Root;
|
|
185
|
-
}
|
|
186
|
-
function D(e) {
|
|
187
|
-
return Object.prototype.hasOwnProperty.call(e, "children");
|
|
188
|
-
}
|
|
189
|
-
function N(e, t = !1) {
|
|
190
|
-
let s;
|
|
191
|
-
if (w(e))
|
|
192
|
-
s = new o(e.data);
|
|
193
|
-
else if (C(e))
|
|
194
|
-
s = new f(e.data);
|
|
195
|
-
else if (b(e)) {
|
|
196
|
-
const n = t ? l(e.children) : [], i = new g(e.name, { ...e.attribs }, n);
|
|
197
|
-
n.forEach((a) => a.parent = i), e.namespace != null && (i.namespace = e.namespace), e["x-attribsNamespace"] && (i["x-attribsNamespace"] = { ...e["x-attribsNamespace"] }), e["x-attribsPrefix"] && (i["x-attribsPrefix"] = { ...e["x-attribsPrefix"] }), s = i;
|
|
198
|
-
} else if (I(e)) {
|
|
199
|
-
const n = t ? l(e.children) : [], i = new m(n);
|
|
200
|
-
n.forEach((a) => a.parent = i), s = i;
|
|
201
|
-
} else if (v(e)) {
|
|
202
|
-
const n = t ? l(e.children) : [], i = new h(n);
|
|
203
|
-
n.forEach((a) => a.parent = i), e["x-mode"] && (i["x-mode"] = e["x-mode"]), s = i;
|
|
204
|
-
} else if (T(e)) {
|
|
205
|
-
const n = new x(e.name, e.data);
|
|
206
|
-
e["x-name"] != null && (n["x-name"] = e["x-name"], n["x-publicId"] = e["x-publicId"], n["x-systemId"] = e["x-systemId"]), s = n;
|
|
207
|
-
} else
|
|
208
|
-
throw new Error(`Not implemented yet: ${e.type}`);
|
|
209
|
-
return s.startIndex = e.startIndex, s.endIndex = e.endIndex, e.sourceCodeLocation != null && (s.sourceCodeLocation = e.sourceCodeLocation), s;
|
|
210
|
-
}
|
|
211
|
-
function l(e) {
|
|
212
|
-
const t = e.map((s) => N(s, !0));
|
|
213
|
-
for (let s = 1; s < t.length; s++)
|
|
214
|
-
t[s].prev = t[s - 1], t[s - 1].next = t[s];
|
|
215
|
-
return t;
|
|
216
|
-
}
|
|
217
|
-
const u = {
|
|
218
|
-
withStartIndices: !1,
|
|
219
|
-
withEndIndices: !1,
|
|
220
|
-
xmlMode: !1
|
|
221
|
-
};
|
|
222
|
-
class E {
|
|
223
|
-
/**
|
|
224
|
-
* @param callback Called once parsing has completed.
|
|
225
|
-
* @param options Settings for the handler.
|
|
226
|
-
* @param elementCB Callback whenever a tag is closed.
|
|
227
|
-
*/
|
|
228
|
-
constructor(t, s, n) {
|
|
229
|
-
this.dom = [], this.root = new h(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof s == "function" && (n = s, s = u), typeof t == "object" && (s = t, t = void 0), this.callback = t ?? null, this.options = s ?? u, this.elementCB = n ?? null;
|
|
230
|
-
}
|
|
231
|
-
onparserinit(t) {
|
|
232
|
-
this.parser = t;
|
|
233
|
-
}
|
|
234
|
-
// Resets the handler back to starting state
|
|
235
|
-
onreset() {
|
|
236
|
-
this.dom = [], this.root = new h(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null;
|
|
237
|
-
}
|
|
238
|
-
// Signals the handler that parsing is done
|
|
239
|
-
onend() {
|
|
240
|
-
this.done || (this.done = !0, this.parser = null, this.handleCallback(null));
|
|
241
|
-
}
|
|
242
|
-
onerror(t) {
|
|
243
|
-
this.handleCallback(t);
|
|
244
|
-
}
|
|
245
|
-
onclosetag() {
|
|
246
|
-
this.lastNode = null;
|
|
247
|
-
const t = this.tagStack.pop();
|
|
248
|
-
this.options.withEndIndices && (t.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(t);
|
|
249
|
-
}
|
|
250
|
-
onopentag(t, s) {
|
|
251
|
-
const n = this.options.xmlMode ? r.Tag : void 0, i = new g(t, s, void 0, n);
|
|
252
|
-
this.addNode(i), this.tagStack.push(i);
|
|
253
|
-
}
|
|
254
|
-
ontext(t) {
|
|
255
|
-
const { lastNode: s } = this;
|
|
256
|
-
if (s && s.type === r.Text)
|
|
257
|
-
s.data += t, this.options.withEndIndices && (s.endIndex = this.parser.endIndex);
|
|
258
|
-
else {
|
|
259
|
-
const n = new o(t);
|
|
260
|
-
this.addNode(n), this.lastNode = n;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
oncomment(t) {
|
|
264
|
-
if (this.lastNode && this.lastNode.type === r.Comment) {
|
|
265
|
-
this.lastNode.data += t;
|
|
266
|
-
return;
|
|
267
|
-
}
|
|
268
|
-
const s = new f(t);
|
|
269
|
-
this.addNode(s), this.lastNode = s;
|
|
270
|
-
}
|
|
271
|
-
oncommentend() {
|
|
272
|
-
this.lastNode = null;
|
|
273
|
-
}
|
|
274
|
-
oncdatastart() {
|
|
275
|
-
const t = new o(""), s = new m([t]);
|
|
276
|
-
this.addNode(s), t.parent = s, this.lastNode = t;
|
|
277
|
-
}
|
|
278
|
-
oncdataend() {
|
|
279
|
-
this.lastNode = null;
|
|
280
|
-
}
|
|
281
|
-
onprocessinginstruction(t, s) {
|
|
282
|
-
const n = new x(t, s);
|
|
283
|
-
this.addNode(n);
|
|
284
|
-
}
|
|
285
|
-
handleCallback(t) {
|
|
286
|
-
if (typeof this.callback == "function")
|
|
287
|
-
this.callback(t, this.dom);
|
|
288
|
-
else if (t)
|
|
289
|
-
throw t;
|
|
290
|
-
}
|
|
291
|
-
addNode(t) {
|
|
292
|
-
const s = this.tagStack[this.tagStack.length - 1], n = s.children[s.children.length - 1];
|
|
293
|
-
this.options.withStartIndices && (t.startIndex = this.parser.startIndex), this.options.withEndIndices && (t.endIndex = this.parser.endIndex), s.children.push(t), n && (t.prev = n, n.next = t), t.parent = s, this.lastNode = null;
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
export {
|
|
297
|
-
f as C,
|
|
298
|
-
h as D,
|
|
299
|
-
g as E,
|
|
300
|
-
x as P,
|
|
301
|
-
o as T,
|
|
302
|
-
v as a,
|
|
303
|
-
C as b,
|
|
304
|
-
N as c,
|
|
305
|
-
w as d,
|
|
306
|
-
I as e,
|
|
307
|
-
E as f,
|
|
308
|
-
T as g,
|
|
309
|
-
D as h,
|
|
310
|
-
b as i
|
|
311
|
-
};
|