@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,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vue/shared",
|
|
3
|
+
"version": "3.5.29",
|
|
4
|
+
"description": "internal utils shared across @vue packages",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"module": "dist/shared.esm-bundler.js",
|
|
7
|
+
"types": "dist/shared.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"index.js",
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/shared.d.ts",
|
|
15
|
+
"node": {
|
|
16
|
+
"production": "./dist/shared.cjs.prod.js",
|
|
17
|
+
"development": "./dist/shared.cjs.js",
|
|
18
|
+
"default": "./dist/shared.cjs.prod.js"
|
|
19
|
+
},
|
|
20
|
+
"module": "./dist/shared.esm-bundler.js",
|
|
21
|
+
"import": "./dist/shared.esm-bundler.js",
|
|
22
|
+
"require": "./index.js"
|
|
23
|
+
},
|
|
24
|
+
"./*": "./*"
|
|
25
|
+
},
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"buildOptions": {
|
|
28
|
+
"formats": [
|
|
29
|
+
"esm-bundler",
|
|
30
|
+
"cjs"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/vuejs/core.git",
|
|
36
|
+
"directory": "packages/shared"
|
|
37
|
+
},
|
|
38
|
+
"keywords": [
|
|
39
|
+
"vue"
|
|
40
|
+
],
|
|
41
|
+
"author": "Evan You",
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/vuejs/core/issues"
|
|
45
|
+
},
|
|
46
|
+
"homepage": "https://github.com/vuejs/core/tree/main/packages/shared#readme"
|
|
47
|
+
}
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const TYPE_REQUEST = "q";
|
|
4
|
+
const TYPE_RESPONSE = "s";
|
|
5
|
+
const DEFAULT_TIMEOUT = 6e4;
|
|
6
|
+
function defaultSerialize(i) {
|
|
7
|
+
return i;
|
|
8
|
+
}
|
|
9
|
+
const defaultDeserialize = defaultSerialize;
|
|
10
|
+
const { clearTimeout, setTimeout } = globalThis;
|
|
11
|
+
const random = Math.random.bind(Math);
|
|
12
|
+
function createBirpc($functions, options) {
|
|
13
|
+
const {
|
|
14
|
+
post,
|
|
15
|
+
on,
|
|
16
|
+
off = () => {
|
|
17
|
+
},
|
|
18
|
+
eventNames = [],
|
|
19
|
+
serialize = defaultSerialize,
|
|
20
|
+
deserialize = defaultDeserialize,
|
|
21
|
+
resolver,
|
|
22
|
+
bind = "rpc",
|
|
23
|
+
timeout = DEFAULT_TIMEOUT
|
|
24
|
+
} = options;
|
|
25
|
+
let $closed = false;
|
|
26
|
+
const _rpcPromiseMap = /* @__PURE__ */ new Map();
|
|
27
|
+
let _promiseInit;
|
|
28
|
+
let rpc;
|
|
29
|
+
async function _call(method, args, event, optional) {
|
|
30
|
+
if ($closed)
|
|
31
|
+
throw new Error(`[birpc] rpc is closed, cannot call "${method}"`);
|
|
32
|
+
const req = { m: method, a: args, t: TYPE_REQUEST };
|
|
33
|
+
if (optional)
|
|
34
|
+
req.o = true;
|
|
35
|
+
const send = async (_req) => post(serialize(_req));
|
|
36
|
+
if (event) {
|
|
37
|
+
await send(req);
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
if (_promiseInit) {
|
|
41
|
+
try {
|
|
42
|
+
await _promiseInit;
|
|
43
|
+
} finally {
|
|
44
|
+
_promiseInit = void 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
let { promise, resolve, reject } = createPromiseWithResolvers();
|
|
48
|
+
const id = nanoid();
|
|
49
|
+
req.i = id;
|
|
50
|
+
let timeoutId;
|
|
51
|
+
async function handler(newReq = req) {
|
|
52
|
+
if (timeout >= 0) {
|
|
53
|
+
timeoutId = setTimeout(() => {
|
|
54
|
+
try {
|
|
55
|
+
const handleResult = options.onTimeoutError?.call(rpc, method, args);
|
|
56
|
+
if (handleResult !== true)
|
|
57
|
+
throw new Error(`[birpc] timeout on calling "${method}"`);
|
|
58
|
+
} catch (e) {
|
|
59
|
+
reject(e);
|
|
60
|
+
}
|
|
61
|
+
_rpcPromiseMap.delete(id);
|
|
62
|
+
}, timeout);
|
|
63
|
+
if (typeof timeoutId === "object")
|
|
64
|
+
timeoutId = timeoutId.unref?.();
|
|
65
|
+
}
|
|
66
|
+
_rpcPromiseMap.set(id, { resolve, reject, timeoutId, method });
|
|
67
|
+
await send(newReq);
|
|
68
|
+
return promise;
|
|
69
|
+
}
|
|
70
|
+
try {
|
|
71
|
+
if (options.onRequest)
|
|
72
|
+
await options.onRequest.call(rpc, req, handler, resolve);
|
|
73
|
+
else
|
|
74
|
+
await handler();
|
|
75
|
+
} catch (e) {
|
|
76
|
+
if (options.onGeneralError?.call(rpc, e) !== true)
|
|
77
|
+
throw e;
|
|
78
|
+
return;
|
|
79
|
+
} finally {
|
|
80
|
+
clearTimeout(timeoutId);
|
|
81
|
+
_rpcPromiseMap.delete(id);
|
|
82
|
+
}
|
|
83
|
+
return promise;
|
|
84
|
+
}
|
|
85
|
+
const $call = (method, ...args) => _call(method, args, false);
|
|
86
|
+
const $callOptional = (method, ...args) => _call(method, args, false, true);
|
|
87
|
+
const $callEvent = (method, ...args) => _call(method, args, true);
|
|
88
|
+
const $callRaw = (options2) => _call(options2.method, options2.args, options2.event, options2.optional);
|
|
89
|
+
const builtinMethods = {
|
|
90
|
+
$call,
|
|
91
|
+
$callOptional,
|
|
92
|
+
$callEvent,
|
|
93
|
+
$callRaw,
|
|
94
|
+
$rejectPendingCalls,
|
|
95
|
+
get $closed() {
|
|
96
|
+
return $closed;
|
|
97
|
+
},
|
|
98
|
+
get $meta() {
|
|
99
|
+
return options.meta;
|
|
100
|
+
},
|
|
101
|
+
$close,
|
|
102
|
+
$functions
|
|
103
|
+
};
|
|
104
|
+
rpc = new Proxy({}, {
|
|
105
|
+
get(_, method) {
|
|
106
|
+
if (Object.prototype.hasOwnProperty.call(builtinMethods, method))
|
|
107
|
+
return builtinMethods[method];
|
|
108
|
+
if (method === "then" && !eventNames.includes("then") && !("then" in $functions))
|
|
109
|
+
return void 0;
|
|
110
|
+
const sendEvent = (...args) => _call(method, args, true);
|
|
111
|
+
if (eventNames.includes(method)) {
|
|
112
|
+
sendEvent.asEvent = sendEvent;
|
|
113
|
+
return sendEvent;
|
|
114
|
+
}
|
|
115
|
+
const sendCall = (...args) => _call(method, args, false);
|
|
116
|
+
sendCall.asEvent = sendEvent;
|
|
117
|
+
return sendCall;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
function $close(customError) {
|
|
121
|
+
$closed = true;
|
|
122
|
+
_rpcPromiseMap.forEach(({ reject, method }) => {
|
|
123
|
+
const error = new Error(`[birpc] rpc is closed, cannot call "${method}"`);
|
|
124
|
+
if (customError) {
|
|
125
|
+
customError.cause ??= error;
|
|
126
|
+
return reject(customError);
|
|
127
|
+
}
|
|
128
|
+
reject(error);
|
|
129
|
+
});
|
|
130
|
+
_rpcPromiseMap.clear();
|
|
131
|
+
off(onMessage);
|
|
132
|
+
}
|
|
133
|
+
function $rejectPendingCalls(handler) {
|
|
134
|
+
const entries = Array.from(_rpcPromiseMap.values());
|
|
135
|
+
const handlerResults = entries.map(({ method, reject }) => {
|
|
136
|
+
if (!handler) {
|
|
137
|
+
return reject(new Error(`[birpc]: rejected pending call "${method}".`));
|
|
138
|
+
}
|
|
139
|
+
return handler({ method, reject });
|
|
140
|
+
});
|
|
141
|
+
_rpcPromiseMap.clear();
|
|
142
|
+
return handlerResults;
|
|
143
|
+
}
|
|
144
|
+
async function onMessage(data, ...extra) {
|
|
145
|
+
let msg;
|
|
146
|
+
try {
|
|
147
|
+
msg = deserialize(data);
|
|
148
|
+
} catch (e) {
|
|
149
|
+
if (options.onGeneralError?.call(rpc, e) !== true)
|
|
150
|
+
throw e;
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
if (msg.t === TYPE_REQUEST) {
|
|
154
|
+
const { m: method, a: args, o: optional } = msg;
|
|
155
|
+
let result, error;
|
|
156
|
+
let fn = await (resolver ? resolver.call(rpc, method, $functions[method]) : $functions[method]);
|
|
157
|
+
if (optional)
|
|
158
|
+
fn ||= () => void 0;
|
|
159
|
+
if (!fn) {
|
|
160
|
+
error = new Error(`[birpc] function "${method}" not found`);
|
|
161
|
+
} else {
|
|
162
|
+
try {
|
|
163
|
+
result = await fn.apply(bind === "rpc" ? rpc : $functions, args);
|
|
164
|
+
} catch (e) {
|
|
165
|
+
error = e;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
if (msg.i) {
|
|
169
|
+
if (error && options.onError)
|
|
170
|
+
options.onError.call(rpc, error, method, args);
|
|
171
|
+
if (error && options.onFunctionError) {
|
|
172
|
+
if (options.onFunctionError.call(rpc, error, method, args) === true)
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
if (!error) {
|
|
176
|
+
try {
|
|
177
|
+
await post(serialize({ t: TYPE_RESPONSE, i: msg.i, r: result }), ...extra);
|
|
178
|
+
return;
|
|
179
|
+
} catch (e) {
|
|
180
|
+
error = e;
|
|
181
|
+
if (options.onGeneralError?.call(rpc, e, method, args) !== true)
|
|
182
|
+
throw e;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
try {
|
|
186
|
+
await post(serialize({ t: TYPE_RESPONSE, i: msg.i, e: error }), ...extra);
|
|
187
|
+
} catch (e) {
|
|
188
|
+
if (options.onGeneralError?.call(rpc, e, method, args) !== true)
|
|
189
|
+
throw e;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
} else {
|
|
193
|
+
const { i: ack, r: result, e: error } = msg;
|
|
194
|
+
const promise = _rpcPromiseMap.get(ack);
|
|
195
|
+
if (promise) {
|
|
196
|
+
clearTimeout(promise.timeoutId);
|
|
197
|
+
if (error)
|
|
198
|
+
promise.reject(error);
|
|
199
|
+
else
|
|
200
|
+
promise.resolve(result);
|
|
201
|
+
}
|
|
202
|
+
_rpcPromiseMap.delete(ack);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
_promiseInit = on(onMessage);
|
|
206
|
+
return rpc;
|
|
207
|
+
}
|
|
208
|
+
const cacheMap = /* @__PURE__ */ new WeakMap();
|
|
209
|
+
function cachedMap(items, fn) {
|
|
210
|
+
return items.map((i) => {
|
|
211
|
+
let r = cacheMap.get(i);
|
|
212
|
+
if (!r) {
|
|
213
|
+
r = fn(i);
|
|
214
|
+
cacheMap.set(i, r);
|
|
215
|
+
}
|
|
216
|
+
return r;
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
function createBirpcGroup(functions, channels, options = {}) {
|
|
220
|
+
const getChannels = () => typeof channels === "function" ? channels() : channels;
|
|
221
|
+
const getClients = (channels2 = getChannels()) => cachedMap(channels2, (s) => createBirpc(functions, { ...options, ...s }));
|
|
222
|
+
function _boardcast(method, args, event, optional) {
|
|
223
|
+
const clients = getClients();
|
|
224
|
+
return Promise.all(clients.map((c) => c.$callRaw({ method, args, event, optional })));
|
|
225
|
+
}
|
|
226
|
+
function $call(method, ...args) {
|
|
227
|
+
return _boardcast(method, args, false);
|
|
228
|
+
}
|
|
229
|
+
function $callOptional(method, ...args) {
|
|
230
|
+
return _boardcast(method, args, false, true);
|
|
231
|
+
}
|
|
232
|
+
function $callEvent(method, ...args) {
|
|
233
|
+
return _boardcast(method, args, true);
|
|
234
|
+
}
|
|
235
|
+
const broadcastBuiltin = {
|
|
236
|
+
$call,
|
|
237
|
+
$callOptional,
|
|
238
|
+
$callEvent
|
|
239
|
+
};
|
|
240
|
+
const broadcastProxy = new Proxy({}, {
|
|
241
|
+
get(_, method) {
|
|
242
|
+
if (Object.prototype.hasOwnProperty.call(broadcastBuiltin, method))
|
|
243
|
+
return broadcastBuiltin[method];
|
|
244
|
+
const client = getClients();
|
|
245
|
+
const callbacks = client.map((c) => c[method]);
|
|
246
|
+
const sendCall = (...args) => {
|
|
247
|
+
return Promise.all(callbacks.map((i) => i(...args)));
|
|
248
|
+
};
|
|
249
|
+
sendCall.asEvent = async (...args) => {
|
|
250
|
+
await Promise.all(callbacks.map((i) => i.asEvent(...args)));
|
|
251
|
+
};
|
|
252
|
+
return sendCall;
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
function updateChannels(fn) {
|
|
256
|
+
const channels2 = getChannels();
|
|
257
|
+
fn?.(channels2);
|
|
258
|
+
return getClients(channels2);
|
|
259
|
+
}
|
|
260
|
+
getClients();
|
|
261
|
+
return {
|
|
262
|
+
get clients() {
|
|
263
|
+
return getClients();
|
|
264
|
+
},
|
|
265
|
+
functions,
|
|
266
|
+
updateChannels,
|
|
267
|
+
broadcast: broadcastProxy,
|
|
268
|
+
/**
|
|
269
|
+
* @deprecated use `broadcast`
|
|
270
|
+
*/
|
|
271
|
+
// @ts-expect-error deprecated
|
|
272
|
+
boardcast: broadcastProxy
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
function createPromiseWithResolvers() {
|
|
276
|
+
let resolve;
|
|
277
|
+
let reject;
|
|
278
|
+
const promise = new Promise((res, rej) => {
|
|
279
|
+
resolve = res;
|
|
280
|
+
reject = rej;
|
|
281
|
+
});
|
|
282
|
+
return { promise, resolve, reject };
|
|
283
|
+
}
|
|
284
|
+
const urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
285
|
+
function nanoid(size = 21) {
|
|
286
|
+
let id = "";
|
|
287
|
+
let i = size;
|
|
288
|
+
while (i--)
|
|
289
|
+
id += urlAlphabet[random() * 64 | 0];
|
|
290
|
+
return id;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
exports.DEFAULT_TIMEOUT = DEFAULT_TIMEOUT;
|
|
294
|
+
exports.cachedMap = cachedMap;
|
|
295
|
+
exports.createBirpc = createBirpc;
|
|
296
|
+
exports.createBirpcGroup = createBirpcGroup;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "birpc",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "2.9.0",
|
|
5
|
+
"description": "Message based Two-way remote procedure call",
|
|
6
|
+
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"funding": "https://github.com/sponsors/antfu",
|
|
9
|
+
"homepage": "https://github.com/antfu-collective/birpc#readme",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/antfu-collective/birpc.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/antfu-collective/birpc/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"rpc",
|
|
19
|
+
"messages"
|
|
20
|
+
],
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"import": "./dist/index.mjs",
|
|
26
|
+
"require": "./dist/index.cjs"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"main": "./dist/index.cjs",
|
|
30
|
+
"module": "./dist/index.mjs",
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"files": [
|
|
33
|
+
"dist"
|
|
34
|
+
],
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@antfu/eslint-config": "^6.3.0",
|
|
37
|
+
"@antfu/ni": "^28.0.0",
|
|
38
|
+
"@types/node": "^24.10.1",
|
|
39
|
+
"@vitest/coverage-v8": "3.0.9",
|
|
40
|
+
"bumpp": "^10.3.2",
|
|
41
|
+
"eslint": "^9.39.1",
|
|
42
|
+
"tsx": "^4.21.0",
|
|
43
|
+
"typescript": "^5.9.3",
|
|
44
|
+
"unbuild": "^3.6.1",
|
|
45
|
+
"vite": "^7.2.6",
|
|
46
|
+
"vitest": "^4.0.15"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "unbuild",
|
|
50
|
+
"dev": "unbuild --stub",
|
|
51
|
+
"lint": "eslint .",
|
|
52
|
+
"release": "bumpp",
|
|
53
|
+
"start": "tsx src/index.ts",
|
|
54
|
+
"typecheck": "tsc --noEmit",
|
|
55
|
+
"test": "vitest"
|
|
56
|
+
}
|
|
57
|
+
}
|