@elgap/edukaai 0.1.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/.output/nitro.json +15 -0
- package/.output/public/_nuxt/BHDzAs85.js +1 -0
- package/.output/public/_nuxt/BJzbfdL_.js +1 -0
- package/.output/public/_nuxt/BKGLlKXk.js +6 -0
- package/.output/public/_nuxt/BLuXzJk3.js +1 -0
- package/.output/public/_nuxt/BNOzzLI3.js +1 -0
- package/.output/public/_nuxt/BO5GMwXh.js +1 -0
- package/.output/public/_nuxt/BQRbsFGy.js +1 -0
- package/.output/public/_nuxt/Be4MVdOg.js +1 -0
- package/.output/public/_nuxt/Bu4d3Z1T.js +1 -0
- package/.output/public/_nuxt/BwpBBNv4.js +1 -0
- package/.output/public/_nuxt/C1Og9-6n.js +97 -0
- package/.output/public/_nuxt/C3CjAhtj.js +1 -0
- package/.output/public/_nuxt/C6E3Ty3z.js +1 -0
- package/.output/public/_nuxt/COct4B42.js +1 -0
- package/.output/public/_nuxt/CQ6g2dtj.js +1 -0
- package/.output/public/_nuxt/CURSW5TV.js +246 -0
- package/.output/public/_nuxt/CW57JW4s.js +1 -0
- package/.output/public/_nuxt/Cg2fM61o.js +18 -0
- package/.output/public/_nuxt/CgGOeWta.js +1 -0
- package/.output/public/_nuxt/CoyYbT7u.js +1 -0
- package/.output/public/_nuxt/D11MHbGc.js +133 -0
- package/.output/public/_nuxt/D24dz0S8.js +1 -0
- package/.output/public/_nuxt/D3EFPr8x.js +1 -0
- package/.output/public/_nuxt/Dvt4ZHil.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/ab87ba0e-6d0d-4466-8b12-00d44f8fb9d3.json +1 -0
- package/.output/public/_nuxt/default.C1K1-g4D.css +1 -0
- package/.output/public/_nuxt/entry.CH8k-Mga.css +1 -0
- package/.output/public/_nuxt/error-404.C-Ezrlz-.css +1 -0
- package/.output/public/_nuxt/error-500.DBWf9FGj.css +1 -0
- package/.output/public/_nuxt/first-training.wFDD65zm.css +1 -0
- package/.output/public/_nuxt/import.cUKYdCrq.css +1 -0
- package/.output/public/_nuxt/index.D-2VHyHA.css +1 -0
- package/.output/public/_nuxt/index.D4J_vHmL.css +1 -0
- package/.output/public/_nuxt/mPJeLIz7.js +1 -0
- package/.output/server/chunks/_/error-500.mjs +19 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/build/ExampleCard-styles.BUOJhEg0.mjs +8 -0
- package/.output/server/chunks/build/ExampleCard-styles.BUOJhEg0.mjs.map +1 -0
- package/.output/server/chunks/build/ExampleForm-Bcpl0CfL.mjs +238 -0
- package/.output/server/chunks/build/ExampleForm-Bcpl0CfL.mjs.map +1 -0
- package/.output/server/chunks/build/ImportPreview-styles.CFmMl5Ok.mjs +8 -0
- package/.output/server/chunks/build/ImportPreview-styles.CFmMl5Ok.mjs.map +1 -0
- package/.output/server/chunks/build/_id_-BUSGcL-H.mjs +113 -0
- package/.output/server/chunks/build/_id_-BUSGcL-H.mjs.map +1 -0
- package/.output/server/chunks/build/axolotl-C-EXGgM8.mjs +112 -0
- package/.output/server/chunks/build/axolotl-C-EXGgM8.mjs.map +1 -0
- package/.output/server/chunks/build/best-practices-DsadorHb.mjs +38 -0
- package/.output/server/chunks/build/best-practices-DsadorHb.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +4 -0
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
- package/.output/server/chunks/build/default-DPkqqHOE.mjs +354 -0
- package/.output/server/chunks/build/default-DPkqqHOE.mjs.map +1 -0
- package/.output/server/chunks/build/default-styles.DsqVVS7k.mjs +8 -0
- package/.output/server/chunks/build/default-styles.DsqVVS7k.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-K4UfZNck.mjs +97 -0
- package/.output/server/chunks/build/error-404-K4UfZNck.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-styles.DuDrf-v0.mjs +8 -0
- package/.output/server/chunks/build/error-404-styles.DuDrf-v0.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-CA7TEPNg.mjs +79 -0
- package/.output/server/chunks/build/error-500-CA7TEPNg.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-styles.8IYEHzz6.mjs +8 -0
- package/.output/server/chunks/build/error-500-styles.8IYEHzz6.mjs.map +1 -0
- package/.output/server/chunks/build/examples-BHK8MDrs.mjs +134 -0
- package/.output/server/chunks/build/examples-BHK8MDrs.mjs.map +1 -0
- package/.output/server/chunks/build/export-BzxFqqfP.mjs +233 -0
- package/.output/server/chunks/build/export-BzxFqqfP.mjs.map +1 -0
- package/.output/server/chunks/build/faq-DKch73dS.mjs +112 -0
- package/.output/server/chunks/build/faq-DKch73dS.mjs.map +1 -0
- package/.output/server/chunks/build/field-guide-qbukT8F0.mjs +38 -0
- package/.output/server/chunks/build/field-guide-qbukT8F0.mjs.map +1 -0
- package/.output/server/chunks/build/first-training-BbEOBcEW.mjs +343 -0
- package/.output/server/chunks/build/first-training-BbEOBcEW.mjs.map +1 -0
- package/.output/server/chunks/build/first-training-styles.BzOa_KRD.mjs +8 -0
- package/.output/server/chunks/build/first-training-styles.BzOa_KRD.mjs.map +1 -0
- package/.output/server/chunks/build/glossary-CxSGCJoH.mjs +397 -0
- package/.output/server/chunks/build/glossary-CxSGCJoH.mjs.map +1 -0
- package/.output/server/chunks/build/huggingface-TSmyUzZU.mjs +128 -0
- package/.output/server/chunks/build/huggingface-TSmyUzZU.mjs.map +1 -0
- package/.output/server/chunks/build/import-C0kYhRv9.mjs +247 -0
- package/.output/server/chunks/build/import-C0kYhRv9.mjs.map +1 -0
- package/.output/server/chunks/build/index-C1ntBEWd.mjs +235 -0
- package/.output/server/chunks/build/index-C1ntBEWd.mjs.map +1 -0
- package/.output/server/chunks/build/index-D3CxihcX.mjs +320 -0
- package/.output/server/chunks/build/index-D3CxihcX.mjs.map +1 -0
- package/.output/server/chunks/build/index-DgKa1cy0.mjs +360 -0
- package/.output/server/chunks/build/index-DgKa1cy0.mjs.map +1 -0
- package/.output/server/chunks/build/index-cG54gaKX.mjs +513 -0
- package/.output/server/chunks/build/index-cG54gaKX.mjs.map +1 -0
- package/.output/server/chunks/build/index-styles.BX2SZiiS.mjs +8 -0
- package/.output/server/chunks/build/index-styles.BX2SZiiS.mjs.map +1 -0
- package/.output/server/chunks/build/llm-training-DIqc0eiM.mjs +91 -0
- package/.output/server/chunks/build/llm-training-DIqc0eiM.mjs.map +1 -0
- package/.output/server/chunks/build/new-b3338aLF.mjs +92 -0
- package/.output/server/chunks/build/new-b3338aLF.mjs.map +1 -0
- package/.output/server/chunks/build/nuxt-link-Ceyd90PQ.mjs +290 -0
- package/.output/server/chunks/build/nuxt-link-Ceyd90PQ.mjs.map +1 -0
- package/.output/server/chunks/build/sample-datasets-CVLWMQUA.mjs +45 -0
- package/.output/server/chunks/build/sample-datasets-CVLWMQUA.mjs.map +1 -0
- package/.output/server/chunks/build/server.mjs +1979 -0
- package/.output/server/chunks/build/server.mjs.map +1 -0
- package/.output/server/chunks/build/styles.mjs +20 -0
- package/.output/server/chunks/build/styles.mjs.map +1 -0
- package/.output/server/chunks/build/test-router-BYM6Cpst.mjs +105 -0
- package/.output/server/chunks/build/test-router-BYM6Cpst.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +5800 -0
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +481 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/index.mjs +12 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/api.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/app.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/component.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/context.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/hooks.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/index.js +22 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/util.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/const.js +5 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/env.js +17 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/index.js +45 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/plugin.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/proxy.js +111 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/time.js +28 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/package.json +37 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.9/dist/index.cjs +42 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.9/package.json +32 -0
- package/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.cjs +299 -0
- package/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +49 -0
- package/.output/server/node_modules/.nitro/hookable@6.0.1/dist/index.mjs +266 -0
- package/.output/server/node_modules/.nitro/hookable@6.0.1/package.json +52 -0
- package/.output/server/node_modules/.nitro/perfect-debounce@1.0.0/dist/index.cjs +59 -0
- package/.output/server/node_modules/.nitro/perfect-debounce@1.0.0/package.json +44 -0
- package/.output/server/node_modules/.nitro/perfect-debounce@2.1.0/dist/index.mjs +89 -0
- package/.output/server/node_modules/.nitro/perfect-debounce@2.1.0/package.json +41 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14582 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +292 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +702 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/common.js +76 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/format.js +40 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +52 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +133 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +20 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +15 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +18 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +18 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +31 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +80 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +102 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +29 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +60 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +204 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +35 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +134 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +167 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +81 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +94 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +78 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +68 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +47 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +105 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +38 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +94 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +64 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +18 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +58 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +34 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +13 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +126 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +21 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +38 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +93 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +48 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +24 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +44 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +125 -0
- package/.output/server/node_modules/@iconify/utils/lib/index.js +53 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +32 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +42 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +63 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +10 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +115 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +32 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +15 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +10 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +42 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +69 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +55 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +8 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +9 -0
- package/.output/server/node_modules/@iconify/utils/package.json +118 -0
- package/.output/server/node_modules/@iconify/vue/dist/iconify.mjs +1893 -0
- package/.output/server/node_modules/@iconify/vue/package.json +64 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6763 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/devtools-kit/dist/index.cjs +6850 -0
- package/.output/server/node_modules/@vue/devtools-kit/package.json +44 -0
- package/.output/server/node_modules/@vue/devtools-shared/dist/index.cjs +378 -0
- package/.output/server/node_modules/@vue/devtools-shared/package.json +34 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1870 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6810 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1750 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +883 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/birpc/dist/index.cjs +296 -0
- package/.output/server/node_modules/birpc/package.json +57 -0
- package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/.output/server/node_modules/consola/dist/core.mjs +512 -0
- package/.output/server/node_modules/consola/dist/index.mjs +651 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/.output/server/node_modules/consola/package.json +136 -0
- package/.output/server/node_modules/devalue/index.js +4 -0
- package/.output/server/node_modules/devalue/package.json +37 -0
- package/.output/server/node_modules/devalue/src/base64.js +110 -0
- package/.output/server/node_modules/devalue/src/constants.js +7 -0
- package/.output/server/node_modules/devalue/src/parse.js +246 -0
- package/.output/server/node_modules/devalue/src/stringify.js +350 -0
- package/.output/server/node_modules/devalue/src/uneval.js +490 -0
- package/.output/server/node_modules/devalue/src/utils.js +148 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/entities/package.json +120 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/pinia/dist/pinia.prod.cjs +719 -0
- package/.output/server/node_modules/pinia/package.json +94 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs +1 -0
- package/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
- package/.output/server/node_modules/tailwindcss/package.json +89 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/.output/server/node_modules/ufo/package.json +48 -0
- package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
- package/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
- package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +180 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BPM0-cfG.mjs +44 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BnoAbrHA.mjs +269 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.D_nrZZPH.mjs +182 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.ckV6dpEQ.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.fVVqDC1O.mjs +203 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/.output/server/node_modules/unhead/package.json +105 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +301 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +55 -0
- package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
- package/.output/server/node_modules/vue-router/package.json +153 -0
- package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
- package/.output/server/package.json +37 -0
- package/LICENSE +21 -0
- package/README.md +132 -0
- package/bin/cli.js +75 -0
- package/package.json +71 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { U as UniqueTags, T as TagsWithInnerContent, M as MetaTagsArrayable, a as TagConfigKeys, D as DupeableTags } from './unhead.yem5I2v_.mjs';
|
|
2
|
+
|
|
3
|
+
const allowedMetaProperties = ["name", "property", "http-equiv"];
|
|
4
|
+
const StandardSingleMetaTags = /* @__PURE__ */ new Set([
|
|
5
|
+
"viewport",
|
|
6
|
+
"description",
|
|
7
|
+
"keywords",
|
|
8
|
+
"robots"
|
|
9
|
+
]);
|
|
10
|
+
function isMetaArrayDupeKey(v) {
|
|
11
|
+
const parts = v.split(":");
|
|
12
|
+
if (!parts.length)
|
|
13
|
+
return false;
|
|
14
|
+
return MetaTagsArrayable.has(parts[1]);
|
|
15
|
+
}
|
|
16
|
+
function dedupeKey(tag) {
|
|
17
|
+
const { props, tag: name } = tag;
|
|
18
|
+
if (UniqueTags.has(name))
|
|
19
|
+
return name;
|
|
20
|
+
if (name === "link" && props.rel === "canonical")
|
|
21
|
+
return "canonical";
|
|
22
|
+
if (name === "link" && props.rel === "alternate") {
|
|
23
|
+
const altKey = props.hreflang || props.type;
|
|
24
|
+
if (altKey) {
|
|
25
|
+
return `alternate:${altKey}`;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
if (props.charset)
|
|
29
|
+
return "charset";
|
|
30
|
+
if (tag.tag === "meta") {
|
|
31
|
+
for (const n of allowedMetaProperties) {
|
|
32
|
+
if (props[n] !== void 0) {
|
|
33
|
+
const propValue = props[n];
|
|
34
|
+
const isStructured = propValue && typeof propValue === "string" && propValue.includes(":");
|
|
35
|
+
const isStandardSingle = propValue && StandardSingleMetaTags.has(propValue);
|
|
36
|
+
const shouldAlwaysDedupe = isStructured || isStandardSingle;
|
|
37
|
+
const keyPart = !shouldAlwaysDedupe && tag.key ? `:key:${tag.key}` : "";
|
|
38
|
+
return `${name}:${propValue}${keyPart}`;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
if (tag.key) {
|
|
43
|
+
return `${name}:key:${tag.key}`;
|
|
44
|
+
}
|
|
45
|
+
if (props.id) {
|
|
46
|
+
return `${name}:id:${props.id}`;
|
|
47
|
+
}
|
|
48
|
+
if (name === "link" && props.rel === "alternate") {
|
|
49
|
+
return `alternate:${props.href || ""}`;
|
|
50
|
+
}
|
|
51
|
+
if (TagsWithInnerContent.has(name)) {
|
|
52
|
+
const v = tag.textContent || tag.innerHTML;
|
|
53
|
+
if (v) {
|
|
54
|
+
return `${name}:content:${v}`;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function hashTag(tag) {
|
|
59
|
+
const dedupe = tag._h || tag._d;
|
|
60
|
+
if (dedupe)
|
|
61
|
+
return dedupe;
|
|
62
|
+
const inner = tag.textContent || tag.innerHTML;
|
|
63
|
+
if (inner)
|
|
64
|
+
return inner;
|
|
65
|
+
return `${tag.tag}:${Object.entries(tag.props).map(([k, v]) => `${k}:${String(v)}`).join(",")}`;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function walkResolver(val, resolve, key) {
|
|
69
|
+
const type = typeof val;
|
|
70
|
+
if (type === "function") {
|
|
71
|
+
if (!key || key !== "titleTemplate" && !(key[0] === "o" && key[1] === "n")) {
|
|
72
|
+
val = val();
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
const v = resolve ? resolve(key, val) : val;
|
|
76
|
+
if (Array.isArray(v)) {
|
|
77
|
+
return v.map((r) => walkResolver(r, resolve));
|
|
78
|
+
}
|
|
79
|
+
if (v?.constructor === Object) {
|
|
80
|
+
const next = {};
|
|
81
|
+
for (const k of Object.keys(v)) {
|
|
82
|
+
next[k] = walkResolver(v[k], resolve, k);
|
|
83
|
+
}
|
|
84
|
+
return next;
|
|
85
|
+
}
|
|
86
|
+
return v;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function normalizeStyleClassProps(key, value) {
|
|
90
|
+
const store = key === "style" ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set();
|
|
91
|
+
function processValue(rawValue) {
|
|
92
|
+
if (rawValue == null || rawValue === void 0)
|
|
93
|
+
return;
|
|
94
|
+
const value2 = String(rawValue).trim();
|
|
95
|
+
if (!value2)
|
|
96
|
+
return;
|
|
97
|
+
if (key === "style") {
|
|
98
|
+
const [k, ...v] = value2.split(":").map((s) => s ? s.trim() : "");
|
|
99
|
+
if (k && v.length)
|
|
100
|
+
store.set(k, v.join(":"));
|
|
101
|
+
} else {
|
|
102
|
+
value2.split(" ").filter(Boolean).forEach((c) => store.add(c));
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
if (typeof value === "string") {
|
|
106
|
+
key === "style" ? value.split(";").forEach(processValue) : processValue(value);
|
|
107
|
+
} else if (Array.isArray(value)) {
|
|
108
|
+
value.forEach((item) => processValue(item));
|
|
109
|
+
} else if (value && typeof value === "object") {
|
|
110
|
+
Object.entries(value).forEach(([k, v]) => {
|
|
111
|
+
if (v && v !== "false") {
|
|
112
|
+
key === "style" ? store.set(String(k).trim(), String(v)) : processValue(k);
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
return store;
|
|
117
|
+
}
|
|
118
|
+
function normalizeProps(tag, input) {
|
|
119
|
+
tag.props = tag.props || {};
|
|
120
|
+
if (!input) {
|
|
121
|
+
return tag;
|
|
122
|
+
}
|
|
123
|
+
if (tag.tag === "templateParams") {
|
|
124
|
+
tag.props = input;
|
|
125
|
+
return tag;
|
|
126
|
+
}
|
|
127
|
+
Object.entries(input).forEach(([key, value]) => {
|
|
128
|
+
if (value === null) {
|
|
129
|
+
tag.props[key] = null;
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
if (key === "class" || key === "style") {
|
|
133
|
+
tag.props[key] = normalizeStyleClassProps(key, value);
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
if (TagConfigKeys.has(key)) {
|
|
137
|
+
if (["textContent", "innerHTML"].includes(key) && typeof value === "object") {
|
|
138
|
+
let type = input.type;
|
|
139
|
+
if (!input.type) {
|
|
140
|
+
type = "application/json";
|
|
141
|
+
}
|
|
142
|
+
if (!type?.endsWith("json") && type !== "speculationrules") {
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
input.type = type;
|
|
146
|
+
tag.props.type = type;
|
|
147
|
+
tag[key] = JSON.stringify(value);
|
|
148
|
+
} else {
|
|
149
|
+
tag[key] = value;
|
|
150
|
+
}
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
const strValue = String(value);
|
|
154
|
+
const isDataKey = key.startsWith("data-");
|
|
155
|
+
const isMetaContentKey = tag.tag === "meta" && key === "content";
|
|
156
|
+
if (strValue === "true" || strValue === "") {
|
|
157
|
+
tag.props[key] = isDataKey || isMetaContentKey ? strValue : true;
|
|
158
|
+
} else if (!value && isDataKey && strValue === "false") {
|
|
159
|
+
tag.props[key] = "false";
|
|
160
|
+
} else if (value !== void 0) {
|
|
161
|
+
tag.props[key] = value;
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
return tag;
|
|
165
|
+
}
|
|
166
|
+
function normalizeTag(tagName, _input) {
|
|
167
|
+
const input = typeof _input === "object" && typeof _input !== "function" ? _input : { [tagName === "script" || tagName === "noscript" || tagName === "style" ? "innerHTML" : "textContent"]: _input };
|
|
168
|
+
const tag = normalizeProps({ tag: tagName, props: {} }, input);
|
|
169
|
+
if (tag.key && DupeableTags.has(tag.tag)) {
|
|
170
|
+
tag.props["data-hid"] = tag._h = tag.key;
|
|
171
|
+
}
|
|
172
|
+
if (tag.tag === "script" && typeof tag.innerHTML === "object") {
|
|
173
|
+
tag.innerHTML = JSON.stringify(tag.innerHTML);
|
|
174
|
+
tag.props.type = tag.props.type || "application/json";
|
|
175
|
+
}
|
|
176
|
+
return Array.isArray(tag.props.content) ? tag.props.content.map((v) => ({ ...tag, props: { ...tag.props, content: v } })) : tag;
|
|
177
|
+
}
|
|
178
|
+
function normalizeEntryToTags(input, propResolvers) {
|
|
179
|
+
if (!input) {
|
|
180
|
+
return [];
|
|
181
|
+
}
|
|
182
|
+
if (typeof input === "function") {
|
|
183
|
+
input = input();
|
|
184
|
+
}
|
|
185
|
+
const resolvers = (key, val) => {
|
|
186
|
+
for (let i = 0; i < propResolvers.length; i++) {
|
|
187
|
+
val = propResolvers[i](key, val);
|
|
188
|
+
}
|
|
189
|
+
return val;
|
|
190
|
+
};
|
|
191
|
+
input = resolvers(void 0, input);
|
|
192
|
+
const tags = [];
|
|
193
|
+
input = walkResolver(input, resolvers);
|
|
194
|
+
Object.entries(input || {}).forEach(([key, value]) => {
|
|
195
|
+
if (value === void 0)
|
|
196
|
+
return;
|
|
197
|
+
for (const v of Array.isArray(value) ? value : [value])
|
|
198
|
+
tags.push(normalizeTag(key, v));
|
|
199
|
+
});
|
|
200
|
+
return tags.flat();
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export { normalizeProps as a, dedupeKey as d, hashTag as h, isMetaArrayDupeKey as i, normalizeEntryToTags as n, walkResolver as w };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const SelfClosingTags = /* @__PURE__ */ new Set(["meta", "link", "base"]);
|
|
2
|
+
const DupeableTags = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]);
|
|
3
|
+
const TagsWithInnerContent = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]);
|
|
4
|
+
const HasElementTags = /* @__PURE__ */ new Set([
|
|
5
|
+
"base",
|
|
6
|
+
"meta",
|
|
7
|
+
"link",
|
|
8
|
+
"style",
|
|
9
|
+
"script",
|
|
10
|
+
"noscript"
|
|
11
|
+
]);
|
|
12
|
+
const ValidHeadTags = /* @__PURE__ */ new Set([
|
|
13
|
+
"title",
|
|
14
|
+
"base",
|
|
15
|
+
"htmlAttrs",
|
|
16
|
+
"bodyAttrs",
|
|
17
|
+
"meta",
|
|
18
|
+
"link",
|
|
19
|
+
"style",
|
|
20
|
+
"script",
|
|
21
|
+
"noscript"
|
|
22
|
+
]);
|
|
23
|
+
const UniqueTags = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]);
|
|
24
|
+
const TagConfigKeys = /* @__PURE__ */ new Set(["key", "tagPosition", "tagPriority", "tagDuplicateStrategy", "innerHTML", "textContent", "processTemplateParams"]);
|
|
25
|
+
const ScriptNetworkEvents = /* @__PURE__ */ new Set(["onload", "onerror"]);
|
|
26
|
+
const UsesMergeStrategy = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"]);
|
|
27
|
+
const MetaTagsArrayable = /* @__PURE__ */ new Set([
|
|
28
|
+
"theme-color",
|
|
29
|
+
"google-site-verification",
|
|
30
|
+
"og",
|
|
31
|
+
"article",
|
|
32
|
+
"book",
|
|
33
|
+
"profile",
|
|
34
|
+
"twitter",
|
|
35
|
+
"author"
|
|
36
|
+
]);
|
|
37
|
+
|
|
38
|
+
export { DupeableTags as D, HasElementTags as H, MetaTagsArrayable as M, SelfClosingTags as S, TagsWithInnerContent as T, UniqueTags as U, ValidHeadTags as V, TagConfigKeys as a, ScriptNetworkEvents as b, UsesMergeStrategy as c };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { D as DupeableTags, H as HasElementTags, M as MetaTagsArrayable, b as ScriptNetworkEvents, S as SelfClosingTags, a as TagConfigKeys, T as TagsWithInnerContent, U as UniqueTags, c as UsesMergeStrategy, V as ValidHeadTags } from './shared/unhead.yem5I2v_.mjs';
|
|
2
|
+
export { d as dedupeKey, h as hashTag, i as isMetaArrayDupeKey, n as normalizeEntryToTags, a as normalizeProps, w as walkResolver } from './shared/unhead.fVVqDC1O.mjs';
|
|
3
|
+
export { r as resolveMetaKeyType, a as resolveMetaKeyValue, b as resolvePackedMetaObjectValue, u as unpackMeta } from './shared/unhead.DQc16pHI.mjs';
|
|
4
|
+
export { s as sortTags, t as tagWeight } from './shared/unhead.CbpEuj3y.mjs';
|
|
5
|
+
export { p as processTemplateParams } from './shared/unhead.BYvz9V1x.mjs';
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "unhead",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "2.1.10",
|
|
5
|
+
"description": "Full-stack <head> manager built for any framework.",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Harlan Wilton",
|
|
8
|
+
"email": "harlan@harlanzw.com",
|
|
9
|
+
"url": "https://harlanzw.com/"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public",
|
|
13
|
+
"tag": "next"
|
|
14
|
+
},
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"funding": "https://github.com/sponsors/harlan-zw",
|
|
17
|
+
"homepage": "https://unhead.unjs.io",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/unjs/unhead.git",
|
|
21
|
+
"directory": "packages/unhead"
|
|
22
|
+
},
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/unjs/unhead/issues"
|
|
25
|
+
},
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"default": "./dist/index.mjs"
|
|
31
|
+
},
|
|
32
|
+
"./plugins": {
|
|
33
|
+
"types": "./dist/plugins.d.ts",
|
|
34
|
+
"default": "./dist/plugins.mjs"
|
|
35
|
+
},
|
|
36
|
+
"./server": {
|
|
37
|
+
"types": "./dist/server.d.ts",
|
|
38
|
+
"default": "./dist/server.mjs"
|
|
39
|
+
},
|
|
40
|
+
"./client": {
|
|
41
|
+
"types": "./dist/client.d.ts",
|
|
42
|
+
"default": "./dist/client.mjs"
|
|
43
|
+
},
|
|
44
|
+
"./legacy": {
|
|
45
|
+
"types": "./dist/legacy.d.ts",
|
|
46
|
+
"default": "./dist/legacy.mjs"
|
|
47
|
+
},
|
|
48
|
+
"./utils": {
|
|
49
|
+
"types": "./dist/utils.d.ts",
|
|
50
|
+
"default": "./dist/utils.mjs"
|
|
51
|
+
},
|
|
52
|
+
"./types": {
|
|
53
|
+
"types": "./dist/types.d.ts",
|
|
54
|
+
"default": "./dist/types.mjs"
|
|
55
|
+
},
|
|
56
|
+
"./scripts": {
|
|
57
|
+
"types": "./dist/scripts.d.ts",
|
|
58
|
+
"default": "./dist/scripts.mjs"
|
|
59
|
+
},
|
|
60
|
+
"./parser": {
|
|
61
|
+
"types": "./dist/parser.d.ts",
|
|
62
|
+
"default": "./dist/parser.mjs"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"main": "dist/index.mjs",
|
|
66
|
+
"module": "dist/index.mjs",
|
|
67
|
+
"types": "dist/index.d.ts",
|
|
68
|
+
"optionalPlugins": {
|
|
69
|
+
"*": {
|
|
70
|
+
"plugins": [
|
|
71
|
+
"dist/plugins"
|
|
72
|
+
],
|
|
73
|
+
"server": [
|
|
74
|
+
"dist/server"
|
|
75
|
+
],
|
|
76
|
+
"client": [
|
|
77
|
+
"dist/client"
|
|
78
|
+
],
|
|
79
|
+
"legacy": [
|
|
80
|
+
"dist/legacy"
|
|
81
|
+
],
|
|
82
|
+
"types": [
|
|
83
|
+
"dist/types"
|
|
84
|
+
],
|
|
85
|
+
"utils": [
|
|
86
|
+
"dist/utils"
|
|
87
|
+
],
|
|
88
|
+
"scripts": [
|
|
89
|
+
"dist/scripts"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"files": [
|
|
94
|
+
"*.d.ts",
|
|
95
|
+
"dist"
|
|
96
|
+
],
|
|
97
|
+
"dependencies": {
|
|
98
|
+
"hookable": "^6.0.1"
|
|
99
|
+
},
|
|
100
|
+
"scripts": {
|
|
101
|
+
"build": "unbuild",
|
|
102
|
+
"stub": "unbuild --stub",
|
|
103
|
+
"test:attw": "attw --pack"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* vue v3.5.29
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
+
|
|
10
|
+
var compilerDom = require('@vue/compiler-dom');
|
|
11
|
+
var runtimeDom = require('@vue/runtime-dom');
|
|
12
|
+
var shared = require('@vue/shared');
|
|
13
|
+
|
|
14
|
+
function _interopNamespaceDefault(e) {
|
|
15
|
+
var n = Object.create(null);
|
|
16
|
+
if (e) {
|
|
17
|
+
for (var k in e) {
|
|
18
|
+
n[k] = e[k];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
n.default = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var runtimeDom__namespace = /*#__PURE__*/_interopNamespaceDefault(runtimeDom);
|
|
26
|
+
|
|
27
|
+
const compileCache = /* @__PURE__ */ Object.create(null);
|
|
28
|
+
function compileToFunction(template, options) {
|
|
29
|
+
if (!shared.isString(template)) {
|
|
30
|
+
if (template.nodeType) {
|
|
31
|
+
template = template.innerHTML;
|
|
32
|
+
} else {
|
|
33
|
+
runtimeDom.warn(`invalid template option: `, template);
|
|
34
|
+
return shared.NOOP;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const key = shared.genCacheKey(template, options);
|
|
38
|
+
const cached = compileCache[key];
|
|
39
|
+
if (cached) {
|
|
40
|
+
return cached;
|
|
41
|
+
}
|
|
42
|
+
if (template[0] === "#") {
|
|
43
|
+
const el = document.querySelector(template);
|
|
44
|
+
if (!el) {
|
|
45
|
+
runtimeDom.warn(`Template element not found or is empty: ${template}`);
|
|
46
|
+
}
|
|
47
|
+
template = el ? el.innerHTML : ``;
|
|
48
|
+
}
|
|
49
|
+
const opts = shared.extend(
|
|
50
|
+
{
|
|
51
|
+
hoistStatic: true,
|
|
52
|
+
onError: onError ,
|
|
53
|
+
onWarn: (e) => onError(e, true)
|
|
54
|
+
},
|
|
55
|
+
options
|
|
56
|
+
);
|
|
57
|
+
if (!opts.isCustomElement && typeof customElements !== "undefined") {
|
|
58
|
+
opts.isCustomElement = (tag) => !!customElements.get(tag);
|
|
59
|
+
}
|
|
60
|
+
const { code } = compilerDom.compile(template, opts);
|
|
61
|
+
function onError(err, asWarning = false) {
|
|
62
|
+
const message = asWarning ? err.message : `Template compilation error: ${err.message}`;
|
|
63
|
+
const codeFrame = err.loc && shared.generateCodeFrame(
|
|
64
|
+
template,
|
|
65
|
+
err.loc.start.offset,
|
|
66
|
+
err.loc.end.offset
|
|
67
|
+
);
|
|
68
|
+
runtimeDom.warn(codeFrame ? `${message}
|
|
69
|
+
${codeFrame}` : message);
|
|
70
|
+
}
|
|
71
|
+
const render = new Function("Vue", code)(runtimeDom__namespace);
|
|
72
|
+
render._rc = true;
|
|
73
|
+
return compileCache[key] = render;
|
|
74
|
+
}
|
|
75
|
+
runtimeDom.registerRuntimeCompiler(compileToFunction);
|
|
76
|
+
|
|
77
|
+
exports.compile = compileToFunction;
|
|
78
|
+
Object.keys(runtimeDom).forEach(function (k) {
|
|
79
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = runtimeDom[k];
|
|
80
|
+
});
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* vue v3.5.29
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
+
|
|
10
|
+
var compilerDom = require('@vue/compiler-dom');
|
|
11
|
+
var runtimeDom = require('@vue/runtime-dom');
|
|
12
|
+
var shared = require('@vue/shared');
|
|
13
|
+
|
|
14
|
+
function _interopNamespaceDefault(e) {
|
|
15
|
+
var n = Object.create(null);
|
|
16
|
+
if (e) {
|
|
17
|
+
for (var k in e) {
|
|
18
|
+
n[k] = e[k];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
n.default = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var runtimeDom__namespace = /*#__PURE__*/_interopNamespaceDefault(runtimeDom);
|
|
26
|
+
|
|
27
|
+
const compileCache = /* @__PURE__ */ Object.create(null);
|
|
28
|
+
function compileToFunction(template, options) {
|
|
29
|
+
if (!shared.isString(template)) {
|
|
30
|
+
if (template.nodeType) {
|
|
31
|
+
template = template.innerHTML;
|
|
32
|
+
} else {
|
|
33
|
+
return shared.NOOP;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
const key = shared.genCacheKey(template, options);
|
|
37
|
+
const cached = compileCache[key];
|
|
38
|
+
if (cached) {
|
|
39
|
+
return cached;
|
|
40
|
+
}
|
|
41
|
+
if (template[0] === "#") {
|
|
42
|
+
const el = document.querySelector(template);
|
|
43
|
+
template = el ? el.innerHTML : ``;
|
|
44
|
+
}
|
|
45
|
+
const opts = shared.extend(
|
|
46
|
+
{
|
|
47
|
+
hoistStatic: true,
|
|
48
|
+
onError: void 0,
|
|
49
|
+
onWarn: shared.NOOP
|
|
50
|
+
},
|
|
51
|
+
options
|
|
52
|
+
);
|
|
53
|
+
if (!opts.isCustomElement && typeof customElements !== "undefined") {
|
|
54
|
+
opts.isCustomElement = (tag) => !!customElements.get(tag);
|
|
55
|
+
}
|
|
56
|
+
const { code } = compilerDom.compile(template, opts);
|
|
57
|
+
const render = new Function("Vue", code)(runtimeDom__namespace);
|
|
58
|
+
render._rc = true;
|
|
59
|
+
return compileCache[key] = render;
|
|
60
|
+
}
|
|
61
|
+
runtimeDom.registerRuntimeCompiler(compileToFunction);
|
|
62
|
+
|
|
63
|
+
exports.compile = compileToFunction;
|
|
64
|
+
Object.keys(runtimeDom).forEach(function (k) {
|
|
65
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = runtimeDom[k];
|
|
66
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './index.js'
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vue",
|
|
3
|
+
"version": "3.5.29",
|
|
4
|
+
"description": "The progressive JavaScript framework for building modern web UI.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"module": "dist/vue.runtime.esm-bundler.js",
|
|
7
|
+
"types": "dist/vue.d.ts",
|
|
8
|
+
"unpkg": "dist/vue.global.js",
|
|
9
|
+
"jsdelivr": "dist/vue.global.js",
|
|
10
|
+
"files": [
|
|
11
|
+
"index.js",
|
|
12
|
+
"index.mjs",
|
|
13
|
+
"dist",
|
|
14
|
+
"compiler-sfc",
|
|
15
|
+
"server-renderer",
|
|
16
|
+
"jsx-runtime",
|
|
17
|
+
"jsx.d.ts"
|
|
18
|
+
],
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/vue.d.mts",
|
|
23
|
+
"node": "./index.mjs",
|
|
24
|
+
"default": "./dist/vue.runtime.esm-bundler.js"
|
|
25
|
+
},
|
|
26
|
+
"require": {
|
|
27
|
+
"types": "./dist/vue.d.ts",
|
|
28
|
+
"node": {
|
|
29
|
+
"production": "./dist/vue.cjs.prod.js",
|
|
30
|
+
"development": "./dist/vue.cjs.js",
|
|
31
|
+
"default": "./dist/vue.cjs.prod.js"
|
|
32
|
+
},
|
|
33
|
+
"default": "./index.js"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"./server-renderer": {
|
|
37
|
+
"import": {
|
|
38
|
+
"types": "./server-renderer/index.d.mts",
|
|
39
|
+
"default": "./server-renderer/index.mjs"
|
|
40
|
+
},
|
|
41
|
+
"require": {
|
|
42
|
+
"types": "./server-renderer/index.d.ts",
|
|
43
|
+
"default": "./server-renderer/index.js"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"./compiler-sfc": {
|
|
47
|
+
"import": {
|
|
48
|
+
"types": "./compiler-sfc/index.d.mts",
|
|
49
|
+
"browser": "./compiler-sfc/index.browser.mjs",
|
|
50
|
+
"default": "./compiler-sfc/index.mjs"
|
|
51
|
+
},
|
|
52
|
+
"require": {
|
|
53
|
+
"types": "./compiler-sfc/index.d.ts",
|
|
54
|
+
"browser": "./compiler-sfc/index.browser.js",
|
|
55
|
+
"default": "./compiler-sfc/index.js"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"./jsx-runtime": {
|
|
59
|
+
"types": "./jsx-runtime/index.d.ts",
|
|
60
|
+
"import": "./jsx-runtime/index.mjs",
|
|
61
|
+
"require": "./jsx-runtime/index.js"
|
|
62
|
+
},
|
|
63
|
+
"./jsx-dev-runtime": {
|
|
64
|
+
"types": "./jsx-runtime/index.d.ts",
|
|
65
|
+
"import": "./jsx-runtime/index.mjs",
|
|
66
|
+
"require": "./jsx-runtime/index.js"
|
|
67
|
+
},
|
|
68
|
+
"./jsx": "./jsx.d.ts",
|
|
69
|
+
"./dist/*": "./dist/*",
|
|
70
|
+
"./package.json": "./package.json"
|
|
71
|
+
},
|
|
72
|
+
"buildOptions": {
|
|
73
|
+
"name": "Vue",
|
|
74
|
+
"formats": [
|
|
75
|
+
"esm-bundler",
|
|
76
|
+
"esm-bundler-runtime",
|
|
77
|
+
"cjs",
|
|
78
|
+
"global",
|
|
79
|
+
"global-runtime",
|
|
80
|
+
"esm-browser",
|
|
81
|
+
"esm-browser-runtime"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"repository": {
|
|
85
|
+
"type": "git",
|
|
86
|
+
"url": "git+https://github.com/vuejs/core.git"
|
|
87
|
+
},
|
|
88
|
+
"keywords": [
|
|
89
|
+
"vue"
|
|
90
|
+
],
|
|
91
|
+
"author": "Evan You",
|
|
92
|
+
"license": "MIT",
|
|
93
|
+
"bugs": {
|
|
94
|
+
"url": "https://github.com/vuejs/core/issues"
|
|
95
|
+
},
|
|
96
|
+
"homepage": "https://github.com/vuejs/core/tree/main/packages/vue#readme",
|
|
97
|
+
"dependencies": {
|
|
98
|
+
"@vue/shared": "3.5.29",
|
|
99
|
+
"@vue/runtime-dom": "3.5.29",
|
|
100
|
+
"@vue/compiler-sfc": "3.5.29",
|
|
101
|
+
"@vue/server-renderer": "3.5.29",
|
|
102
|
+
"@vue/compiler-dom": "3.5.29"
|
|
103
|
+
},
|
|
104
|
+
"peerDependencies": {
|
|
105
|
+
"typescript": "*"
|
|
106
|
+
},
|
|
107
|
+
"peerDependenciesMeta": {
|
|
108
|
+
"typescript": {
|
|
109
|
+
"optional": true
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@vue/server-renderer'
|