{"_id":"@anil-labs/select-vue","name":"@anil-labs/select-vue","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@anil-labs/select-vue","version":"0.1.0","description":"Vue 3 components for @anil-labs/select — accessible single, multi, tags, async, grouped and tree select.","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json","./nuxt":{"import":{"types":"./dist/nuxt.d.ts","default":"./dist/nuxt.js"},"require":{"types":"./dist/nuxt.d.cts","default":"./dist/nuxt.cjs"}}},"sideEffects":false,"keywords":["vue","vue3","nuxt","tree-select","select","combobox","multiselect","tags","autocomplete","a11y","typescript"],"engines":{"node":">=20"},"license":"MIT","author":"Er. Anil Kumar Thakur <anilkumarthakur60@gmail.com>","repository":{"type":"git","url":"git+https://github.com/anilkumarthakur60/select.git","directory":"packages/vue"},"homepage":"https://github.com/anilkumarthakur60/select/tree/main/packages/vue#readme","bugs":"https://github.com/anilkumarthakur60/select/issues","publishConfig":{"access":"public"},"dependencies":{"@anil-labs/select-core":"^0.1.0"},"devDependencies":{"@vitest/coverage-v8":"^4.1.5","tsup":"^8.5.1","typescript":"~6.0.0","vitest":"^4.1.5","vue":"^3.5.32","@vue/test-utils":"^2.4.8","@vitejs/plugin-vue":"^6.0.6","@vitejs/plugin-vue-jsx":"^5.1.5","@nuxt/kit":"^4.4.2","jsdom":"^29.0.2","@types/node":"^24.12.2"},"peerDependencies":{"vue":"^3.3.0","@nuxt/kit":"^3.0.0 || ^4.0.0","nuxt":"^3.0.0 || ^4.0.0"},"peerDependenciesMeta":{"@nuxt/kit":{"optional":true},"nuxt":{"optional":true}},"scripts":{"clean":"rm -rf dist coverage","build":"tsup && node scripts/check-dist.mjs","dev":"tsup --watch","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","typecheck":"tsc --noEmit","lint":"eslint ."},"_nodeVersion":"24.18.0","_id":"@anil-labs/select-vue@0.1.0","dist":{"integrity":"sha512-n5MpCo6b77V48amb/w0jDHVxopKp4Ihgr7adVTY0WKhMsphv3Cn7QvYIiE/eueO9zTUh5ihGxT3nHLio1ADXdQ==","shasum":"cea080eadf236222cc95c390aaa868fd0ae6933b","tarball":"https://registry.npmjs.org/@anil-labs/select-vue/-/select-vue-0.1.0.tgz","fileCount":11,"unpackedSize":261503,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDUbEH9wxvy3kDRcxNIOOX+C9SrCWWkaVkVaUnW2nfGEwIgRPseXw9qf2HcTT2So82S7b20OYASLPdnMVNzfpL5D0Y="}]},"_npmUser":{"name":"anilkumarthakur","email":"anilkumarthakur60@gmail.com"},"directories":{},"maintainers":[{"name":"anilkumarthakur","email":"anilkumarthakur60@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/select-vue_0.1.0_1784650666367_0.24420868843628818"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-21T16:17:46.199Z","0.1.0":"2026-07-21T16:17:46.543Z","modified":"2026-07-21T16:17:46.799Z"},"maintainers":[{"name":"anilkumarthakur","email":"anilkumarthakur60@gmail.com"}],"description":"Vue 3 components for @anil-labs/select — accessible single, multi, tags, async, grouped and tree select.","homepage":"https://github.com/anilkumarthakur60/select/tree/main/packages/vue#readme","keywords":["vue","vue3","nuxt","tree-select","select","combobox","multiselect","tags","autocomplete","a11y","typescript"],"repository":{"type":"git","url":"git+https://github.com/anilkumarthakur60/select.git","directory":"packages/vue"},"author":"Er. Anil Kumar Thakur <anilkumarthakur60@gmail.com>","bugs":"https://github.com/anilkumarthakur60/select/issues","license":"MIT","readme":"# @anil-labs/select-vue\n\nVue 3 components for [`@anil-labs/select`](https://github.com/anilkumarthakur60/select):\nsingle, multiple, tags, async, grouped and tree select, driven by the shared\n[`@anil-labs/select-core`](https://github.com/anilkumarthakur60/select/tree/main/packages/core)\nstate machine.\n\n## Install\n\n```sh\nnpm install @anil-labs/select-vue @anil-labs/select-core\n```\n\n## Usage\n\n```vue\n<script setup lang=\"ts\">\nimport { ref } from 'vue'\nimport { VSelect } from '@anil-labs/select-vue'\nimport '@anil-labs/select-core/styles.css'\n\nconst value = ref<string | null>(null)\nconst options = ['apple', 'banana', 'cherry']\n</script>\n\n<template>\n  <VSelect v-model=\"value\" :options=\"options\" placeholder=\"Pick a fruit\" />\n</template>\n```\n\nThe stylesheet lives in `@anil-labs/select-core` so every adapter shares one\ncopy — importing it from this package will not work.\n\n### Modes\n\n```vue\n<VSelect v-model=\"many\" :options=\"options\" mode=\"multiple\" />\n<VSelect v-model=\"tags\" :options=\"options\" mode=\"tags\" />\n<VTreeSelect v-model=\"node\" :options=\"tree\" />\n```\n\n### Object options\n\n```vue\n<VSelect v-model=\"userId\" :options=\"users\" option-label=\"name\" option-value=\"id\" />\n```\n\n## Nuxt\n\nAn opt-in module registers every component and composable globally:\n\n```ts\n// nuxt.config.ts\nexport default defineNuxtConfig({\n  modules: ['@anil-labs/select-vue/nuxt'],\n})\n```\n\n## Exports\n\nComponents `VSelect`, `VTreeSelect`, `VSelectOption`, `VSelectTag`,\n`VTreeSelectNode`; the `VueSelectPlugin` for global registration; the\ncomposables the components are built from; and a re-export of the core machine\nand its types.\n\n## Documentation\n\nFull API reference and guides: <https://github.com/anilkumarthakur60/select>\n\n## License\n\nMIT © [Er. Anil Kumar Thakur](https://github.com/anilkumarthakur60)\n","readmeFilename":"","_rev":"1-756a9518cb2fab55e00b538ffefe63c6"}