{"_id":"@ctgh/a2ui-custom-catalog","name":"@ctgh/a2ui-custom-catalog","dist-tags":{"latest":"0.3.1"},"versions":{"0.3.1":{"name":"@ctgh/a2ui-custom-catalog","version":"0.3.1","description":"UI-library-neutral Custom Catalog registry and parameterized assembly runtime for A2UI Vue applications.","license":"MIT","repository":{"type":"git","url":"https://git.ctgh.com/git/shuo.yang5/npm-star.git","directory":"packages/a2ui-custom-catalog"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"peerDependencies":{"vue":"^3.5.39"},"dependencies":{"@ctgh/a2ui-vue":"0.3.1","@ctgh/a2ui-vue-editor":"0.3.1","@ctgh/a2ui-web-core":"0.3.1","zod":"^3.25.76"},"scripts":{"build":"vite build","typecheck":"vue-tsc --noEmit -p tsconfig.json","lint":"eslint src","test":"vitest run --config vitest.config.ts","prepack":"npm run build"},"gitHead":"75b9f8f769c5a7ef3e03cc0f900347d427dc9c55","_id":"@ctgh/a2ui-custom-catalog@0.3.1","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-ts7FwMrOQ3iXHDi78H4uzmXbNgEtbUi0ux1aTu+IsRddzukcWxg7UOFHRfLfiT28002YBfShFDxnQB+bq/1VXw==","shasum":"99458bd74ffc4ee7028f59cbda70aebd474af791","tarball":"https://registry.npmjs.org/@ctgh/a2ui-custom-catalog/-/a2ui-custom-catalog-0.3.1.tgz","fileCount":8,"unpackedSize":34886,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDEiqtMmVOSMJaGU9XlxLruKMUNUEDprpE9MeAh1PBVBwIgJXD9Yj6r1VZJeUCuEggS4+THZwkvP8Kx8sViWktJypg="}]},"_npmUser":{"name":"lindaxujin","email":"jinlei.xu1@ctg.cn"},"directories":{},"maintainers":[{"name":"shuoka","email":"15811519008@163.com"},{"name":"lindaxujin","email":"jinlei.xu1@ctg.cn"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/a2ui-custom-catalog_0.3.1_1788935411905_0.889149991495616"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-09T06:30:11.650Z","0.3.1":"2026-09-09T06:30:12.059Z","modified":"2026-09-09T06:30:12.817Z"},"maintainers":[{"name":"shuoka","email":"15811519008@163.com"},{"name":"lindaxujin","email":"jinlei.xu1@ctg.cn"}],"description":"UI-library-neutral Custom Catalog registry and parameterized assembly runtime for A2UI Vue applications.","repository":{"type":"git","url":"https://git.ctgh.com/git/shuo.yang5/npm-star.git","directory":"packages/a2ui-custom-catalog"},"license":"MIT","readme":"# @ctgh/a2ui-custom-catalog\n\nApplication-owned Custom Catalog registry for A2UI Vue projects. It provides local renderer registration, Catalog validation, import/export, and reusable parameterized assemblies without depending on a UI component library.\n\n```ts\nimport { CustomCatalogRegistry } from '@ctgh/a2ui-custom-catalog';\n\nconst registry = new CustomCatalogRegistry(document, localRenderers, {\n  storage: window.localStorage,\n  storageKey: 'my-app.catalog.v1',\n});\n\nregistry.updateAssembly('customer-page', {\n  parameters: [\n    {\n      name: 'customerId',\n      label: '客户 ID',\n      type: 'string',\n      required: true,\n      targetPath: '/page/customerId',\n    },\n  ],\n});\nregistry.publishAssembly('customer-page', 'CustomerPage');\n```\n","readmeFilename":"README.md","_rev":"1-309515cbcf9819449993e39215df50e3"}