@vc-shell/framework 1.2.0 → 1.2.2
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/composables/useDynamicProperties/index.ts +5 -9
- package/dist/assets/042c75b764bc78a7.svg +1 -0
- package/dist/assets/0ba156439a339f2a.svg +1 -0
- package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
- package/dist/assets/0f590f8a94577092.svg +1 -0
- package/dist/assets/0fc5820f8be53a1b.svg +1 -0
- package/dist/assets/105efd028edc1dfe.woff +0 -0
- package/dist/assets/10768e2cc79fc60b.svg +1 -0
- package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
- package/dist/assets/154365acf3010d96.woff2 +0 -0
- package/dist/assets/157b8721e0600ea8.svg +1 -0
- package/dist/assets/15e91cdd649cde9a.svg +1 -0
- package/dist/assets/19275e398ae57130.woff2 +0 -0
- package/dist/assets/1a3e84b2457f709a.woff +0 -0
- package/dist/assets/1de63eb118636cce.svg +1 -0
- package/dist/assets/1ea01de36eb5491b.svg +1 -0
- package/dist/assets/204eaf512fde2023.svg +1 -0
- package/dist/assets/2088983edf42e153.svg +1 -0
- package/dist/assets/208f810a9321a327.svg +1 -0
- package/dist/assets/21220a9d10e6c558.svg +1 -0
- package/dist/assets/220db345a102045d.woff2 +0 -0
- package/dist/assets/225da11d23968333.svg +1 -0
- package/dist/assets/226f862dd81bdc13.woff2 +0 -0
- package/dist/assets/23a2d53395ddb14f.woff +0 -0
- package/dist/assets/259e6ad461a52ad7.svg +1 -0
- package/dist/assets/261e6dec4d53b9ac.woff +0 -0
- package/dist/assets/262f46a0b6d94bb6.svg +1 -0
- package/dist/assets/2857c513073467da.svg +1 -0
- package/dist/assets/2b3be7889467d98f.woff +0 -0
- package/dist/assets/2d4e6190eec72737.svg +1 -0
- package/dist/assets/2eba973185078bc8.woff +0 -0
- package/dist/assets/334d3f6bc766c516.woff +0 -0
- package/dist/assets/34ff7dd0c2285956.svg +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/assets/4e43c74354534fb3.svg +1 -0
- package/dist/assets/4fe75f5117100705.svg +1 -0
- 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 +1 -0
- package/dist/assets/6075995d7e74da46.woff2 +0 -0
- package/dist/assets/617c4736236e199e.woff +0 -0
- package/dist/assets/67230f05dc94a265.svg +1 -0
- package/dist/assets/6798e4dd4add9b48.svg +1 -0
- package/dist/assets/686d4077c1e26876.woff2 +0 -0
- package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
- package/dist/assets/6a3e73faf406cf33.svg +1 -0
- package/dist/assets/72de3a63bc0b70dd.svg +1 -0
- package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
- package/dist/assets/74ed5f8a78e71106.svg +1 -0
- package/dist/assets/7a5aa5abd625137f.ttf +0 -0
- package/dist/assets/7ce0c166fd6a1204.woff +0 -0
- package/dist/assets/7d55399c2a7bc985.svg +1 -0
- package/dist/assets/7d970675c69fca1d.woff +0 -0
- package/dist/assets/7eda727273fd98d3.svg +1 -0
- 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 +1 -0
- package/dist/assets/91fe94e424323d61.woff +0 -0
- package/dist/assets/92508f8707159b51.svg +1 -0
- package/dist/assets/9392bf1d591e1abb.svg +1 -0
- package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
- package/dist/assets/9cb83236f6bb7ab1.svg +1 -0
- package/dist/assets/9d37314695c0b68d.woff +0 -0
- package/dist/assets/a03cdcd8da5bb987.woff +0 -0
- package/dist/assets/a18404194e3f9047.svg +1 -0
- package/dist/assets/a2017fe7f0a26510.svg +1 -0
- package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
- package/dist/assets/abf88f301a0730f4.svg +1 -0
- package/dist/assets/ac1a99b3d05d8232.woff +0 -0
- package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
- package/dist/assets/b1a596e31ad1185a.svg +1 -0
- package/dist/assets/b27767411c8427be.woff +0 -0
- package/dist/assets/b325adcae33bbe7a.svg +1 -0
- package/dist/assets/b372390551ca2fa1.svg +1 -0
- package/dist/assets/b5bb1e8fc975decd.svg +1 -0
- package/dist/assets/b645a4a2181b9dc1.svg +1 -0
- package/dist/assets/b6499ddce0a4ef7d.svg +1 -0
- package/dist/assets/b94421fadd23b0f2.svg +1 -0
- package/dist/assets/bb28fb0f27f1c11b.svg +1 -0
- package/dist/assets/c9191b638a10f67b.woff2 +0 -0
- package/dist/assets/ca791c5ca5848a03.svg +1 -0
- package/dist/assets/cb32840ce330103f.woff +0 -0
- package/dist/assets/ccc878931d74181b.woff2 +0 -0
- package/dist/assets/d084bda16abe8a56.svg +1 -0
- package/dist/assets/d32b129cae2fffd6.svg +1 -0
- package/dist/assets/d35a4c7113315758.woff2 +0 -0
- package/dist/assets/d3f792f54ae4c307.svg +1 -0
- package/dist/assets/d5a5b8630120073d.svg +1 -0
- package/dist/assets/d5f9664ebbfb104b.svg +1 -0
- package/dist/assets/d84247b59449dd88.woff2 +0 -0
- package/dist/assets/dceaf3b39091e6a4.woff +0 -0
- package/dist/assets/dd05d43ff0df2fc7.svg +1 -0
- package/dist/assets/e2ad5b3428289141.woff +0 -0
- package/dist/assets/e38acaa1757232e0.svg +1 -0
- package/dist/assets/e4a8550f1c7ffe36.svg +1 -0
- package/dist/assets/e5adb5ae3a3698f6.svg +1 -0
- package/dist/assets/e61a1889bac955f4.woff2 +0 -0
- package/dist/assets/e72bb11356af94c7.svg +1 -0
- package/dist/assets/e98196a9f8dcb2f0.svg +1 -0
- package/dist/assets/ebec912a42ad49ff.woff +0 -0
- package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
- package/dist/assets/f09d89268e4c0317.svg +1 -0
- package/dist/assets/f239394367fcf005.woff2 +0 -0
- package/dist/assets/f5722262b6e7214e.woff2 +0 -0
- package/dist/assets/f7fc8bf46089d8b2.svg +1 -0
- package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
- package/dist/assets/fe141d99763f5d2b.woff +0 -0
- package/dist/assets/fed13b0d59903483.svg +1 -0
- package/dist/assets/fed757d2c2344ead.woff2 +0 -0
- package/dist/assets/ffc438f20e79ce73.woff +0 -0
- package/dist/core/composables/useDynamicProperties/index.d.ts +1 -1
- package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
- package/dist/framework.js +25035 -0
- package/dist/index.css +9 -0
- 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/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +4 -4
- 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/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-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-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/dist/vendor-boolbase-A_-Pp38P.js +23 -0
- package/dist/vendor-cheerio-C46iBpCu.js +1053 -0
- package/dist/vendor-cheerio-select-C8emRZsx.js +191 -0
- package/dist/vendor-core-js-DDuR6YMQ.js +1206 -0
- package/dist/vendor-css-select-DR9bp36p.js +622 -0
- package/dist/vendor-css-what-CZZaquJM.js +267 -0
- package/dist/vendor-cypress-signalr-mock-DjBxJHA6.js +769 -0
- package/dist/vendor-date-fns-sZ1zMzTH.js +3008 -0
- package/dist/vendor-dom-serializer-Sk3xHhQk.js +213 -0
- package/dist/vendor-domelementtype-B3sFIGaC.js +21 -0
- package/dist/vendor-domhandler-CL40eeX9.js +311 -0
- package/dist/vendor-dompurify-BuxjWxA2.js +553 -0
- package/dist/vendor-domutils-BiVCXO8c.js +386 -0
- package/dist/vendor-entities-CCReaWqU.js +364 -0
- package/dist/vendor-floating-ui-core-Cl9nBI4j.js +349 -0
- package/dist/vendor-floating-ui-dom-3z44E4mf.js +395 -0
- package/dist/vendor-floating-ui-utils-D2sT7feD.js +259 -0
- package/dist/vendor-floating-ui-vue-ClrgkeO5.js +107 -0
- package/dist/vendor-headlessui-vue-D7tzx4PC.js +961 -0
- package/dist/vendor-htmlparser2-CpQu33io.js +735 -0
- package/dist/vendor-intlify-core-base-Da62SG4M.js +1130 -0
- package/dist/vendor-intlify-message-compiler-CHvGSH2u.js +952 -0
- package/dist/vendor-intlify-shared-jWBPd9WB.js +144 -0
- package/dist/vendor-iso-639-1-BJO6WZAt.js +781 -0
- package/dist/vendor-linkify-it-LzoUhj6C.js +199 -0
- package/dist/vendor-linkifyjs-dCH9UYes.js +701 -0
- package/dist/vendor-lodash-es-BqkGj3Jl.js +4816 -0
- package/dist/vendor-lucide-vue-next-m0L4DzUL.js +29780 -0
- package/dist/vendor-markdown-it-Czg9qJTh.js +2263 -0
- package/dist/vendor-markdown-it-task-lists-BxLwscWK.js +69 -0
- package/dist/vendor-mdurl-DZFDNdqC.js +192 -0
- package/dist/vendor-microsoft-applicationinsights-analytics-js-C1Yxuzwg.js +1207 -0
- package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DArHD4Dn.js +261 -0
- package/dist/vendor-microsoft-applicationinsights-channel-js-Dbs0XRes.js +1822 -0
- package/dist/vendor-microsoft-applicationinsights-common-OjU3Zs6r.js +1921 -0
- package/dist/vendor-microsoft-applicationinsights-core-js-DWRvqBek.js +4276 -0
- package/dist/vendor-microsoft-applicationinsights-dependencies-js-BxTNw-Sk.js +1407 -0
- package/dist/vendor-microsoft-applicationinsights-properties-js-Gfhpu-At.js +572 -0
- package/dist/vendor-microsoft-applicationinsights-shims-CxtPYiwp.js +43 -0
- package/dist/vendor-microsoft-applicationinsights-web-9yeJ0EZv.js +487 -0
- package/dist/vendor-microsoft-dynamicproto-js-DSkQkH3T.js +147 -0
- package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +1761 -0
- package/dist/vendor-moment-DMLRxgRE.js +2589 -0
- package/dist/vendor-nevware21-ts-async-CdMc_sGt.js +261 -0
- package/dist/vendor-nevware21-ts-utils-Dy41wRhA.js +853 -0
- package/dist/vendor-nth-check-CS1D-zr5.js +45 -0
- package/dist/vendor-orderedmap-B3SOk52B.js +103 -0
- package/dist/vendor-parse5-htmlparser2-tree-adapter-BWywtwol.js +143 -0
- package/dist/vendor-parse5-zq5Hn0y9.js +5749 -0
- package/dist/vendor-prettier-cZc5sCiS.js +4875 -0
- package/dist/vendor-prosemirror-commands-Cu1q5ZDk.js +385 -0
- package/dist/vendor-prosemirror-dropcursor-BuGmFgFS.js +86 -0
- package/dist/vendor-prosemirror-gapcursor-CyYcCWVK.js +203 -0
- package/dist/vendor-prosemirror-history-DzRcbrCw.js +248 -0
- package/dist/vendor-prosemirror-keymap-KfbdOEJw.js +62 -0
- package/dist/vendor-prosemirror-markdown-OyxRuawK.js +650 -0
- package/dist/vendor-prosemirror-model-DFp4ML7B.js +2730 -0
- package/dist/vendor-prosemirror-schema-list-CwCUArvx.js +87 -0
- package/dist/vendor-prosemirror-state-DHaVEu5h.js +821 -0
- package/dist/vendor-prosemirror-tables-mYok4vGT.js +1711 -0
- package/dist/vendor-prosemirror-transform-CAHmg-qG.js +1508 -0
- package/dist/vendor-prosemirror-view-CspJa44O.js +3751 -0
- package/dist/vendor-punycode-js-CgGegfA_.js +133 -0
- package/dist/vendor-rope-sequence-BWC2FSrq.js +100 -0
- package/dist/vendor-semver-Dar8oU3V.js +1023 -0
- package/dist/vendor-swiper-1bp0oJwt.js +3387 -0
- package/dist/vendor-tanstack-virtual-core-l0sNRNKZ.js +1 -0
- package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +1 -0
- package/dist/vendor-tiptap-core-8RGSOCZs.js +3442 -0
- package/dist/vendor-tiptap-extension-blockquote-BVmAuV7o.js +54 -0
- package/dist/vendor-tiptap-extension-bold-BOh8AIRZ.js +74 -0
- package/dist/vendor-tiptap-extension-code-R4pc2wFE.js +52 -0
- package/dist/vendor-tiptap-extension-code-block-DibKlZFG.js +215 -0
- package/dist/vendor-tiptap-extension-document-BwORJR1k.js +12 -0
- package/dist/vendor-tiptap-extension-hard-break-DH36OfVk.js +55 -0
- package/dist/vendor-tiptap-extension-heading-oMLORiPI.js +63 -0
- package/dist/vendor-tiptap-extension-horizontal-rule-BMHSoB_Y.js +56 -0
- package/dist/vendor-tiptap-extension-image-DF1ZJ94q.js +80 -0
- package/dist/vendor-tiptap-extension-italic-BzqrUuB0.js +73 -0
- package/dist/vendor-tiptap-extension-link-hMFZ0hfl.js +298 -0
- package/dist/vendor-tiptap-extension-list-Bj5AK6Pq.js +707 -0
- package/dist/vendor-tiptap-extension-paragraph-Bs1wl42E.js +41 -0
- package/dist/vendor-tiptap-extension-placeholder-CupUGaI_.js +1 -0
- package/dist/vendor-tiptap-extension-strike-C4YpGyzc.js +64 -0
- package/dist/vendor-tiptap-extension-table-D8RFr_6X.js +368 -0
- package/dist/vendor-tiptap-extension-table-cell-k9uLwyL6.js +1 -0
- package/dist/vendor-tiptap-extension-table-header-k9uLwyL6.js +1 -0
- package/dist/vendor-tiptap-extension-table-row-k9uLwyL6.js +1 -0
- package/dist/vendor-tiptap-extension-text-C4dQW13r.js +13 -0
- package/dist/vendor-tiptap-extension-text-style-a_NYjXT6.js +235 -0
- package/dist/vendor-tiptap-extension-underline-DthCaPX3.js +65 -0
- package/dist/vendor-tiptap-extensions-C8rF1qdq.js +290 -0
- package/dist/vendor-tiptap-markdown-DRc3qhBU.js +826 -0
- package/dist/vendor-tiptap-pm-d91nGny8.js +1 -0
- package/dist/vendor-tiptap-starter-kit-BfUUblkP.js +28 -0
- package/dist/vendor-tiptap-vue-3-DYxT2sf6.js +157 -0
- package/dist/vendor-truncate-html-DYC0Lj9o.js +145 -0
- package/dist/vendor-uc-micro-4lbSaZOs.js +17 -0
- package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +93 -0
- package/dist/vendor-vee-validate-rules-4oWUZPpG.js +316 -0
- package/dist/vendor-vue-currency-input-BqaYAdhD.js +317 -0
- package/dist/vendor-vue-demi-CD9yLWd7.js +1 -0
- package/dist/vendor-vue-devtools-api-aVYGocXp.js +93 -0
- package/dist/vendor-vue-i18n-CO5LWKE0.js +1370 -0
- package/dist/vendor-vue3-application-insights-BKiiWnf2.js +69 -0
- package/dist/vendor-vue3-touch-events-DqysuuWh.js +169 -0
- package/dist/vendor-vuepic-vue-datepicker-CaY_xSnG.js +4998 -0
- package/dist/vendor-vueuse-components-B0zqjNRW.js +542 -0
- package/dist/vendor-vueuse-core-CYgwn-B2.js +5130 -0
- package/dist/vendor-vueuse-shared-B_uDJJ6V.js +1169 -0
- package/dist/vendor-w3c-keyname-CLxH8j-f.js +92 -0
- package/package.json +5 -5
|
@@ -0,0 +1,213 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,311 @@
|
|
|
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
|
+
};
|