@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,320 @@
|
|
|
1
|
+
import { _ as __nuxt_component_0$1 } from './nuxt-link-Ceyd90PQ.mjs';
|
|
2
|
+
import { mergeProps, defineComponent, ref, reactive, computed, withCtx, createTextVNode, openBlock, createBlock, createVNode, useSSRContext } from 'vue';
|
|
3
|
+
import { ssrRenderAttrs, ssrRenderComponent, ssrInterpolate, ssrRenderStyle, ssrRenderAttr, ssrIncludeBooleanAttr, ssrLooseContain, ssrLooseEqual, ssrRenderList, ssrRenderClass } from 'vue/server-renderer';
|
|
4
|
+
import { _ as _export_sfc } from './server.mjs';
|
|
5
|
+
import '../nitro/nitro.mjs';
|
|
6
|
+
import 'node:http';
|
|
7
|
+
import 'node:https';
|
|
8
|
+
import 'node:events';
|
|
9
|
+
import 'node:buffer';
|
|
10
|
+
import 'node:fs';
|
|
11
|
+
import 'node:path';
|
|
12
|
+
import 'node:crypto';
|
|
13
|
+
import 'node:url';
|
|
14
|
+
import '@iconify/utils';
|
|
15
|
+
import 'consola';
|
|
16
|
+
import 'pinia';
|
|
17
|
+
import 'vue-router';
|
|
18
|
+
import 'tailwindcss/colors';
|
|
19
|
+
import '@iconify/vue';
|
|
20
|
+
import '../routes/renderer.mjs';
|
|
21
|
+
import 'vue-bundle-renderer/runtime';
|
|
22
|
+
import 'unhead/server';
|
|
23
|
+
import 'devalue';
|
|
24
|
+
import 'unhead/utils';
|
|
25
|
+
|
|
26
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
27
|
+
__name: "ExampleCard",
|
|
28
|
+
__ssrInlineRender: true,
|
|
29
|
+
props: {
|
|
30
|
+
example: {},
|
|
31
|
+
isSelected: { type: Boolean }
|
|
32
|
+
},
|
|
33
|
+
emits: ["refresh", "toggleSelect"],
|
|
34
|
+
setup(__props, { emit: __emit }) {
|
|
35
|
+
const props = __props;
|
|
36
|
+
const actionLoading = ref(false);
|
|
37
|
+
const sourceClass = computed(() => {
|
|
38
|
+
const classes = {
|
|
39
|
+
"manual": "bg-gray-100 text-gray-700",
|
|
40
|
+
"claude": "bg-purple-100 text-purple-700",
|
|
41
|
+
"cursor": "bg-blue-100 text-blue-700",
|
|
42
|
+
"opencode": "bg-green-100 text-green-700"
|
|
43
|
+
};
|
|
44
|
+
return classes[props.example.source] || "bg-gray-100 text-gray-700";
|
|
45
|
+
});
|
|
46
|
+
const statusClass = computed(() => {
|
|
47
|
+
const classes = {
|
|
48
|
+
"draft": "bg-yellow-100 text-yellow-700",
|
|
49
|
+
"review": "bg-blue-100 text-blue-700",
|
|
50
|
+
"approved": "bg-green-100 text-green-700",
|
|
51
|
+
"rejected": "bg-red-100 text-red-700"
|
|
52
|
+
};
|
|
53
|
+
return classes[props.example.status] || "bg-gray-100 text-gray-700";
|
|
54
|
+
});
|
|
55
|
+
const formatSource = (source) => {
|
|
56
|
+
const sources = {
|
|
57
|
+
"manual": "Manual",
|
|
58
|
+
"claude": "Claude",
|
|
59
|
+
"cursor": "Cursor",
|
|
60
|
+
"opencode": "OpenCode"
|
|
61
|
+
};
|
|
62
|
+
return sources[source] || source;
|
|
63
|
+
};
|
|
64
|
+
const formatStatus = (status) => {
|
|
65
|
+
const statuses = {
|
|
66
|
+
"draft": "Draft",
|
|
67
|
+
"review": "In Review",
|
|
68
|
+
"approved": "Approved",
|
|
69
|
+
"rejected": "Rejected"
|
|
70
|
+
};
|
|
71
|
+
return statuses[status] || status;
|
|
72
|
+
};
|
|
73
|
+
const formatCategory = (category) => {
|
|
74
|
+
const categories = {
|
|
75
|
+
"general": "General",
|
|
76
|
+
"coding": "Coding",
|
|
77
|
+
"analysis": "Analysis",
|
|
78
|
+
"explanation": "Explanation",
|
|
79
|
+
"writing": "Writing",
|
|
80
|
+
"math": "Math",
|
|
81
|
+
"science": "Science"
|
|
82
|
+
};
|
|
83
|
+
return categories[category] || category;
|
|
84
|
+
};
|
|
85
|
+
const formatDifficulty = (difficulty) => {
|
|
86
|
+
const difficulties = {
|
|
87
|
+
"beginner": "Beginner",
|
|
88
|
+
"intermediate": "Intermediate",
|
|
89
|
+
"advanced": "Advanced"
|
|
90
|
+
};
|
|
91
|
+
return difficulties[difficulty] || difficulty;
|
|
92
|
+
};
|
|
93
|
+
const formatDate = (date) => {
|
|
94
|
+
return new Date(date).toLocaleDateString("en-US", {
|
|
95
|
+
month: "short",
|
|
96
|
+
day: "numeric",
|
|
97
|
+
year: "numeric"
|
|
98
|
+
});
|
|
99
|
+
};
|
|
100
|
+
const truncate = (text, length) => {
|
|
101
|
+
if (text.length <= length) return text;
|
|
102
|
+
return text.substring(0, length) + "...";
|
|
103
|
+
};
|
|
104
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
105
|
+
const _component_NuxtLink = __nuxt_component_0$1;
|
|
106
|
+
_push(`<div${ssrRenderAttrs(mergeProps({
|
|
107
|
+
class: ["card hover:shadow-md transition-shadow", { "ring-2 ring-blue-400": __props.isSelected }]
|
|
108
|
+
}, _attrs))} data-v-06fe6586><div class="flex items-start justify-between mb-3" data-v-06fe6586><div class="flex items-center gap-3" data-v-06fe6586>`);
|
|
109
|
+
if (__props.isSelected !== void 0) {
|
|
110
|
+
_push(`<input type="checkbox"${ssrIncludeBooleanAttr(__props.isSelected) ? " checked" : ""} class="w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500" data-v-06fe6586>`);
|
|
111
|
+
} else {
|
|
112
|
+
_push(`<!---->`);
|
|
113
|
+
}
|
|
114
|
+
_push(`<span class="text-lg font-bold text-gray-400" data-v-06fe6586>#${ssrInterpolate(__props.example.id)}</span><span class="${ssrRenderClass([sourceClass.value, "px-2 py-1 text-xs rounded-full font-medium"])}" data-v-06fe6586>${ssrInterpolate(formatSource(__props.example.source))}</span><div class="flex items-center gap-1" data-v-06fe6586><!--[-->`);
|
|
115
|
+
ssrRenderList(__props.example.qualityRating, (i) => {
|
|
116
|
+
_push(`<span class="text-yellow-400" data-v-06fe6586>⭐</span>`);
|
|
117
|
+
});
|
|
118
|
+
_push(`<!--]--></div><span class="${ssrRenderClass([statusClass.value, "px-2 py-1 text-xs rounded-full font-medium"])}" data-v-06fe6586>${ssrInterpolate(formatStatus(__props.example.status))}</span></div><div class="flex gap-2" data-v-06fe6586>`);
|
|
119
|
+
if (__props.example.status !== "approved") {
|
|
120
|
+
_push(`<button${ssrIncludeBooleanAttr(actionLoading.value) ? " disabled" : ""} class="text-green-600 hover:text-green-700 p-1" title="Approve" data-v-06fe6586><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-06fe6586><polyline points="20 6 9 17 4 12" data-v-06fe6586></polyline></svg></button>`);
|
|
121
|
+
} else {
|
|
122
|
+
_push(`<!---->`);
|
|
123
|
+
}
|
|
124
|
+
_push(ssrRenderComponent(_component_NuxtLink, {
|
|
125
|
+
to: `/examples/${__props.example.id}`,
|
|
126
|
+
class: "text-blue-600 hover:text-blue-700 p-1",
|
|
127
|
+
title: "View/Edit"
|
|
128
|
+
}, {
|
|
129
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
130
|
+
if (_push2) {
|
|
131
|
+
_push2(`<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-06fe6586${_scopeId}><path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" data-v-06fe6586${_scopeId}></path></svg>`);
|
|
132
|
+
} else {
|
|
133
|
+
return [
|
|
134
|
+
(openBlock(), createBlock("svg", {
|
|
135
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
136
|
+
width: "18",
|
|
137
|
+
height: "18",
|
|
138
|
+
viewBox: "0 0 24 24",
|
|
139
|
+
fill: "none",
|
|
140
|
+
stroke: "currentColor",
|
|
141
|
+
"stroke-width": "2",
|
|
142
|
+
"stroke-linecap": "round",
|
|
143
|
+
"stroke-linejoin": "round"
|
|
144
|
+
}, [
|
|
145
|
+
createVNode("path", { d: "M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" })
|
|
146
|
+
]))
|
|
147
|
+
];
|
|
148
|
+
}
|
|
149
|
+
}),
|
|
150
|
+
_: 1
|
|
151
|
+
}, _parent));
|
|
152
|
+
_push(`<button${ssrIncludeBooleanAttr(actionLoading.value) ? " disabled" : ""} class="text-red-600 hover:text-red-700 p-1" title="Delete" data-v-06fe6586><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-06fe6586><path d="M3 6h18" data-v-06fe6586></path><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" data-v-06fe6586></path><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" data-v-06fe6586></path></svg></button></div></div><div class="mb-3" data-v-06fe6586><p class="text-gray-900 font-medium line-clamp-2" data-v-06fe6586> "${ssrInterpolate(truncate(__props.example.instruction, 100))}" </p></div><div class="flex flex-wrap gap-4 text-sm text-gray-500" data-v-06fe6586><span class="flex items-center gap-1" data-v-06fe6586><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-06fe6586><rect width="18" height="18" x="3" y="3" rx="2" data-v-06fe6586></rect><path d="M3 9h18" data-v-06fe6586></path><path d="M9 21V9" data-v-06fe6586></path></svg> ${ssrInterpolate(formatCategory(__props.example.category))}</span><span class="flex items-center gap-1" data-v-06fe6586><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-06fe6586><path d="M12 20h9" data-v-06fe6586></path><path d="M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z" data-v-06fe6586></path></svg> ${ssrInterpolate(formatDifficulty(__props.example.difficulty))}</span><span class="flex items-center gap-1" data-v-06fe6586><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-06fe6586><circle cx="12" cy="12" r="10" data-v-06fe6586></circle><polyline points="12 6 12 12 16 14" data-v-06fe6586></polyline></svg> ${ssrInterpolate(formatDate(__props.example.createdAt))}</span></div></div>`);
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
const _sfc_setup$2 = _sfc_main$2.setup;
|
|
157
|
+
_sfc_main$2.setup = (props, ctx) => {
|
|
158
|
+
const ssrContext = useSSRContext();
|
|
159
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/ExampleCard.vue");
|
|
160
|
+
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
161
|
+
};
|
|
162
|
+
const __nuxt_component_1 = /* @__PURE__ */ Object.assign(_export_sfc(_sfc_main$2, [["__scopeId", "data-v-06fe6586"]]), { __name: "ExampleCard" });
|
|
163
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
164
|
+
__name: "DatasetList",
|
|
165
|
+
__ssrInlineRender: true,
|
|
166
|
+
setup(__props) {
|
|
167
|
+
const loading = ref(true);
|
|
168
|
+
const examples = ref([]);
|
|
169
|
+
const stats = ref({ total: 0, approved: 0, draft: 0 });
|
|
170
|
+
const pagination = ref({ total: 0, limit: 20, offset: 0, hasMore: false });
|
|
171
|
+
const filters = reactive({
|
|
172
|
+
search: "",
|
|
173
|
+
status: "",
|
|
174
|
+
source: "",
|
|
175
|
+
category: "",
|
|
176
|
+
sort: "newest"
|
|
177
|
+
});
|
|
178
|
+
const selectedIds = ref([]);
|
|
179
|
+
const applyingBulk = ref(false);
|
|
180
|
+
const bulkAction = reactive({
|
|
181
|
+
category: "",
|
|
182
|
+
status: ""
|
|
183
|
+
});
|
|
184
|
+
const progressPercentage = computed(() => {
|
|
185
|
+
return Math.round(stats.value.total / 1e3 * 100);
|
|
186
|
+
});
|
|
187
|
+
const toggleSelect = (id) => {
|
|
188
|
+
const index = selectedIds.value.indexOf(id);
|
|
189
|
+
if (index > -1) {
|
|
190
|
+
selectedIds.value.splice(index, 1);
|
|
191
|
+
} else {
|
|
192
|
+
selectedIds.value.push(id);
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
const loadExamples = async () => {
|
|
196
|
+
loading.value = true;
|
|
197
|
+
try {
|
|
198
|
+
const query = {
|
|
199
|
+
limit: String(pagination.value.limit),
|
|
200
|
+
offset: String(pagination.value.offset),
|
|
201
|
+
sort: filters.sort
|
|
202
|
+
};
|
|
203
|
+
if (filters.status) query.status = filters.status;
|
|
204
|
+
if (filters.source) query.source = filters.source;
|
|
205
|
+
if (filters.category) query.category = filters.category;
|
|
206
|
+
if (filters.search) query.search = filters.search;
|
|
207
|
+
const response = await $fetch("/api/examples", { query });
|
|
208
|
+
examples.value = response.examples;
|
|
209
|
+
pagination.value = response.pagination;
|
|
210
|
+
await loadStats();
|
|
211
|
+
} catch (error) {
|
|
212
|
+
console.error("Error loading examples:", error);
|
|
213
|
+
} finally {
|
|
214
|
+
loading.value = false;
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
const loadStats = async () => {
|
|
218
|
+
try {
|
|
219
|
+
const response = await $fetch("/api/stats/overview");
|
|
220
|
+
stats.value = response;
|
|
221
|
+
} catch (error) {
|
|
222
|
+
console.error("Error loading stats:", error);
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
226
|
+
const _component_NuxtLink = __nuxt_component_0$1;
|
|
227
|
+
const _component_ExampleCard = __nuxt_component_1;
|
|
228
|
+
_push(`<div${ssrRenderAttrs(mergeProps({ class: "space-y-6" }, _attrs))}><div class="card"><div class="flex items-center justify-between mb-4"><div><h1 class="text-2xl font-bold text-gray-900">Dataset</h1><p class="text-gray-600">Manage your training examples</p></div>`);
|
|
229
|
+
_push(ssrRenderComponent(_component_NuxtLink, {
|
|
230
|
+
to: "/examples/new",
|
|
231
|
+
class: "btn-primary"
|
|
232
|
+
}, {
|
|
233
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
234
|
+
if (_push2) {
|
|
235
|
+
_push2(` + New Example `);
|
|
236
|
+
} else {
|
|
237
|
+
return [
|
|
238
|
+
createTextVNode(" + New Example ")
|
|
239
|
+
];
|
|
240
|
+
}
|
|
241
|
+
}),
|
|
242
|
+
_: 1
|
|
243
|
+
}, _parent));
|
|
244
|
+
_push(`</div><div class="mb-4"><div class="flex justify-between text-sm mb-1"><span class="font-medium">🎯 Goal: First Fine-Tuning</span><span class="text-gray-600">${ssrInterpolate(stats.value.total)} / 1000 (${ssrInterpolate(progressPercentage.value)}%)</span></div><div class="w-full bg-gray-200 rounded-full h-4"><div class="bg-gradient-to-r from-blue-500 to-purple-500 h-4 rounded-full transition-all duration-500" style="${ssrRenderStyle({ width: `${Math.min(progressPercentage.value, 100)}%` })}"></div></div></div></div><div class="card py-4"><div class="flex flex-wrap gap-4 items-center"><div class="flex items-center gap-2"><label class="text-sm font-medium text-gray-700">Search:</label><input${ssrRenderAttr("value", filters.search)} type="text" class="form-input w-64" placeholder="Search instruction or output..."></div><div class="flex items-center gap-2"><label class="text-sm font-medium text-gray-700">Status:</label><select class="form-input"><option value=""${ssrIncludeBooleanAttr(Array.isArray(filters.status) ? ssrLooseContain(filters.status, "") : ssrLooseEqual(filters.status, "")) ? " selected" : ""}>All</option><option value="draft"${ssrIncludeBooleanAttr(Array.isArray(filters.status) ? ssrLooseContain(filters.status, "draft") : ssrLooseEqual(filters.status, "draft")) ? " selected" : ""}>Draft</option><option value="review"${ssrIncludeBooleanAttr(Array.isArray(filters.status) ? ssrLooseContain(filters.status, "review") : ssrLooseEqual(filters.status, "review")) ? " selected" : ""}>In Review</option><option value="approved"${ssrIncludeBooleanAttr(Array.isArray(filters.status) ? ssrLooseContain(filters.status, "approved") : ssrLooseEqual(filters.status, "approved")) ? " selected" : ""}>Approved</option><option value="rejected"${ssrIncludeBooleanAttr(Array.isArray(filters.status) ? ssrLooseContain(filters.status, "rejected") : ssrLooseEqual(filters.status, "rejected")) ? " selected" : ""}>Rejected</option></select></div><div class="flex items-center gap-2"><label class="text-sm font-medium text-gray-700">Source:</label><select class="form-input"><option value=""${ssrIncludeBooleanAttr(Array.isArray(filters.source) ? ssrLooseContain(filters.source, "") : ssrLooseEqual(filters.source, "")) ? " selected" : ""}>All</option><option value="manual"${ssrIncludeBooleanAttr(Array.isArray(filters.source) ? ssrLooseContain(filters.source, "manual") : ssrLooseEqual(filters.source, "manual")) ? " selected" : ""}>Manual</option><option value="claude"${ssrIncludeBooleanAttr(Array.isArray(filters.source) ? ssrLooseContain(filters.source, "claude") : ssrLooseEqual(filters.source, "claude")) ? " selected" : ""}>Claude</option><option value="cursor"${ssrIncludeBooleanAttr(Array.isArray(filters.source) ? ssrLooseContain(filters.source, "cursor") : ssrLooseEqual(filters.source, "cursor")) ? " selected" : ""}>Cursor</option><option value="opencode"${ssrIncludeBooleanAttr(Array.isArray(filters.source) ? ssrLooseContain(filters.source, "opencode") : ssrLooseEqual(filters.source, "opencode")) ? " selected" : ""}>OpenCode</option></select></div><div class="flex items-center gap-2"><label class="text-sm font-medium text-gray-700">Category:</label><select class="form-input"><option value=""${ssrIncludeBooleanAttr(Array.isArray(filters.category) ? ssrLooseContain(filters.category, "") : ssrLooseEqual(filters.category, "")) ? " selected" : ""}>All</option><option value="general"${ssrIncludeBooleanAttr(Array.isArray(filters.category) ? ssrLooseContain(filters.category, "general") : ssrLooseEqual(filters.category, "general")) ? " selected" : ""}>General</option><option value="coding"${ssrIncludeBooleanAttr(Array.isArray(filters.category) ? ssrLooseContain(filters.category, "coding") : ssrLooseEqual(filters.category, "coding")) ? " selected" : ""}>Coding</option><option value="analysis"${ssrIncludeBooleanAttr(Array.isArray(filters.category) ? ssrLooseContain(filters.category, "analysis") : ssrLooseEqual(filters.category, "analysis")) ? " selected" : ""}>Analysis</option><option value="explanation"${ssrIncludeBooleanAttr(Array.isArray(filters.category) ? ssrLooseContain(filters.category, "explanation") : ssrLooseEqual(filters.category, "explanation")) ? " selected" : ""}>Explanation</option><option value="writing"${ssrIncludeBooleanAttr(Array.isArray(filters.category) ? ssrLooseContain(filters.category, "writing") : ssrLooseEqual(filters.category, "writing")) ? " selected" : ""}>Writing</option><option value="math"${ssrIncludeBooleanAttr(Array.isArray(filters.category) ? ssrLooseContain(filters.category, "math") : ssrLooseEqual(filters.category, "math")) ? " selected" : ""}>Math</option><option value="science"${ssrIncludeBooleanAttr(Array.isArray(filters.category) ? ssrLooseContain(filters.category, "science") : ssrLooseEqual(filters.category, "science")) ? " selected" : ""}>Science</option></select></div><div class="flex items-center gap-2"><label class="text-sm font-medium text-gray-700">Sort:</label><select class="form-input"><option value="newest"${ssrIncludeBooleanAttr(Array.isArray(filters.sort) ? ssrLooseContain(filters.sort, "newest") : ssrLooseEqual(filters.sort, "newest")) ? " selected" : ""}>Newest First</option><option value="oldest"${ssrIncludeBooleanAttr(Array.isArray(filters.sort) ? ssrLooseContain(filters.sort, "oldest") : ssrLooseEqual(filters.sort, "oldest")) ? " selected" : ""}>Oldest First</option><option value="quality"${ssrIncludeBooleanAttr(Array.isArray(filters.sort) ? ssrLooseContain(filters.sort, "quality") : ssrLooseEqual(filters.sort, "quality")) ? " selected" : ""}>Quality (High to Low)</option></select></div></div></div>`);
|
|
245
|
+
if (loading.value) {
|
|
246
|
+
_push(`<div class="text-center py-12"><div class="inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600"></div><p class="mt-2 text-gray-600">Loading examples...</p></div>`);
|
|
247
|
+
} else if (examples.value.length === 0) {
|
|
248
|
+
_push(`<div class="card text-center py-12"><div class="text-6xl mb-4">📝</div><h3 class="text-xl font-semibold mb-2">No examples yet</h3><p class="text-gray-600 mb-4">Start building your dataset by creating your first training example.</p>`);
|
|
249
|
+
_push(ssrRenderComponent(_component_NuxtLink, {
|
|
250
|
+
to: "/examples/new",
|
|
251
|
+
class: "btn-primary"
|
|
252
|
+
}, {
|
|
253
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
254
|
+
if (_push2) {
|
|
255
|
+
_push2(` Create First Example `);
|
|
256
|
+
} else {
|
|
257
|
+
return [
|
|
258
|
+
createTextVNode(" Create First Example ")
|
|
259
|
+
];
|
|
260
|
+
}
|
|
261
|
+
}),
|
|
262
|
+
_: 1
|
|
263
|
+
}, _parent));
|
|
264
|
+
_push(`</div>`);
|
|
265
|
+
} else {
|
|
266
|
+
_push(`<div class="space-y-4">`);
|
|
267
|
+
if (selectedIds.value.length > 0) {
|
|
268
|
+
_push(`<div class="card bg-blue-50 border-blue-300 sticky top-4 z-20"><div class="flex flex-wrap items-center justify-between gap-4"><div class="flex items-center gap-3"><input type="checkbox"${ssrIncludeBooleanAttr(selectedIds.value.length === examples.value.length) ? " checked" : ""} class="w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500"><span class="font-medium text-blue-900">${ssrInterpolate(selectedIds.value.length)} selected </span></div><div class="flex flex-wrap items-center gap-2"><span class="text-sm text-blue-700">Bulk actions:</span><select class="form-input text-sm py-1"><option value=""${ssrIncludeBooleanAttr(Array.isArray(bulkAction.category) ? ssrLooseContain(bulkAction.category, "") : ssrLooseEqual(bulkAction.category, "")) ? " selected" : ""}>Change Category...</option><option value="general"${ssrIncludeBooleanAttr(Array.isArray(bulkAction.category) ? ssrLooseContain(bulkAction.category, "general") : ssrLooseEqual(bulkAction.category, "general")) ? " selected" : ""}>General</option><option value="coding"${ssrIncludeBooleanAttr(Array.isArray(bulkAction.category) ? ssrLooseContain(bulkAction.category, "coding") : ssrLooseEqual(bulkAction.category, "coding")) ? " selected" : ""}>Coding</option><option value="analysis"${ssrIncludeBooleanAttr(Array.isArray(bulkAction.category) ? ssrLooseContain(bulkAction.category, "analysis") : ssrLooseEqual(bulkAction.category, "analysis")) ? " selected" : ""}>Analysis</option><option value="explanation"${ssrIncludeBooleanAttr(Array.isArray(bulkAction.category) ? ssrLooseContain(bulkAction.category, "explanation") : ssrLooseEqual(bulkAction.category, "explanation")) ? " selected" : ""}>Explanation</option><option value="writing"${ssrIncludeBooleanAttr(Array.isArray(bulkAction.category) ? ssrLooseContain(bulkAction.category, "writing") : ssrLooseEqual(bulkAction.category, "writing")) ? " selected" : ""}>Writing</option><option value="math"${ssrIncludeBooleanAttr(Array.isArray(bulkAction.category) ? ssrLooseContain(bulkAction.category, "math") : ssrLooseEqual(bulkAction.category, "math")) ? " selected" : ""}>Math</option><option value="science"${ssrIncludeBooleanAttr(Array.isArray(bulkAction.category) ? ssrLooseContain(bulkAction.category, "science") : ssrLooseEqual(bulkAction.category, "science")) ? " selected" : ""}>Science</option></select><select class="form-input text-sm py-1"><option value=""${ssrIncludeBooleanAttr(Array.isArray(bulkAction.status) ? ssrLooseContain(bulkAction.status, "") : ssrLooseEqual(bulkAction.status, "")) ? " selected" : ""}>Change Status...</option><option value="draft"${ssrIncludeBooleanAttr(Array.isArray(bulkAction.status) ? ssrLooseContain(bulkAction.status, "draft") : ssrLooseEqual(bulkAction.status, "draft")) ? " selected" : ""}>Draft</option><option value="review"${ssrIncludeBooleanAttr(Array.isArray(bulkAction.status) ? ssrLooseContain(bulkAction.status, "review") : ssrLooseEqual(bulkAction.status, "review")) ? " selected" : ""}>In Review</option><option value="approved"${ssrIncludeBooleanAttr(Array.isArray(bulkAction.status) ? ssrLooseContain(bulkAction.status, "approved") : ssrLooseEqual(bulkAction.status, "approved")) ? " selected" : ""}>Approved</option><option value="rejected"${ssrIncludeBooleanAttr(Array.isArray(bulkAction.status) ? ssrLooseContain(bulkAction.status, "rejected") : ssrLooseEqual(bulkAction.status, "rejected")) ? " selected" : ""}>Rejected</option></select><button class="btn-primary text-sm py-1 px-3"${ssrIncludeBooleanAttr(applyingBulk.value) ? " disabled" : ""}> ✅ Approve All </button><button class="btn-secondary text-sm py-1 px-3"> Clear </button></div></div></div>`);
|
|
269
|
+
} else {
|
|
270
|
+
_push(`<!---->`);
|
|
271
|
+
}
|
|
272
|
+
_push(`<div class="grid gap-4"><!--[-->`);
|
|
273
|
+
ssrRenderList(examples.value, (example) => {
|
|
274
|
+
_push(ssrRenderComponent(_component_ExampleCard, {
|
|
275
|
+
key: example.id,
|
|
276
|
+
example,
|
|
277
|
+
"is-selected": selectedIds.value.includes(example.id),
|
|
278
|
+
onToggleSelect: ($event) => toggleSelect(example.id),
|
|
279
|
+
onRefresh: loadExamples
|
|
280
|
+
}, null, _parent));
|
|
281
|
+
});
|
|
282
|
+
_push(`<!--]--></div></div>`);
|
|
283
|
+
}
|
|
284
|
+
if (examples.value.length > 0) {
|
|
285
|
+
_push(`<div class="flex justify-between items-center card"><span class="text-sm text-gray-600"> Showing ${ssrInterpolate(examples.value.length)} of ${ssrInterpolate(pagination.value.total)} examples </span><div class="flex gap-2"><button${ssrIncludeBooleanAttr(pagination.value.offset === 0) ? " disabled" : ""} class="${ssrRenderClass([{ "opacity-50 cursor-not-allowed": pagination.value.offset === 0 }, "btn-secondary"])}"> Previous </button><button${ssrIncludeBooleanAttr(!pagination.value.hasMore) ? " disabled" : ""} class="${ssrRenderClass([{ "opacity-50 cursor-not-allowed": !pagination.value.hasMore }, "btn-secondary"])}"> Next </button></div></div>`);
|
|
286
|
+
} else {
|
|
287
|
+
_push(`<!---->`);
|
|
288
|
+
}
|
|
289
|
+
_push(`</div>`);
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
const _sfc_setup$1 = _sfc_main$1.setup;
|
|
294
|
+
_sfc_main$1.setup = (props, ctx) => {
|
|
295
|
+
const ssrContext = useSSRContext();
|
|
296
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/DatasetList.vue");
|
|
297
|
+
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
298
|
+
};
|
|
299
|
+
const __nuxt_component_0 = Object.assign(_sfc_main$1, { __name: "DatasetList" });
|
|
300
|
+
const _sfc_main = {
|
|
301
|
+
__name: "index",
|
|
302
|
+
__ssrInlineRender: true,
|
|
303
|
+
setup(__props) {
|
|
304
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
305
|
+
const _component_DatasetList = __nuxt_component_0;
|
|
306
|
+
_push(`<div${ssrRenderAttrs(mergeProps({ class: "max-w-6xl mx-auto" }, _attrs))}>`);
|
|
307
|
+
_push(ssrRenderComponent(_component_DatasetList, null, null, _parent));
|
|
308
|
+
_push(`</div>`);
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
const _sfc_setup = _sfc_main.setup;
|
|
313
|
+
_sfc_main.setup = (props, ctx) => {
|
|
314
|
+
const ssrContext = useSSRContext();
|
|
315
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/examples/index.vue");
|
|
316
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
export { _sfc_main as default };
|
|
320
|
+
//# sourceMappingURL=index-D3CxihcX.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-D3CxihcX.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/index-D3CxihcX.js"],"names":[],"mappings":"","x_google_ignoreList":[0]}
|