{"_id":"@allinpanel-ag/meteor-admin-sdk","_rev":"2-f7eff5196f183e16c12874180a95225a","name":"@allinpanel-ag/meteor-admin-sdk","dist-tags":{"latest":"6.1.1"},"versions":{"6.1.0":{"name":"@allinpanel-ag/meteor-admin-sdk","version":"6.1.0","keywords":["iframe","admin","bridge","app","sdk"],"license":"MIT","_id":"@allinpanel-ag/meteor-admin-sdk@6.1.0","maintainers":[{"name":"xiaosong66","email":"1596363735@qq.com"}],"homepage":"https://github.com/allinpanel-org/meteor#readme","bugs":{"url":"https://github.com/allinpanel-org/meteor/issues"},"dist":{"shasum":"9f6ca6f7bfa749deebd63f7398002b80c56ebf4c","tarball":"https://registry.npmjs.org/@allinpanel-ag/meteor-admin-sdk/-/meteor-admin-sdk-6.1.0.tgz","fileCount":388,"integrity":"sha512-x/LGUD6BBeXC3PXW3N/XlATMhUwRGqi4sX9tWOEz4clixNTd20JzLkU0cTKFNqbaMCv95fOH7HjvBNmS8mVTxw==","signatures":[{"sig":"MEUCIBNUHQy+bUtpLXEWNXEyrOHaYmgR/JxCjMtFiK/UJntnAiEAoyLTbjJg/lBpixFfCx+tr7lPI0HBApeTLiUFP682MXM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@allinpanel-ag%2fmeteor-admin-sdk@6.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1192542},"main":"./umd/index.js","_from":"file:allinpanel-ag-meteor-admin-sdk-6.1.0.tgz","types":"./es/index.d.ts","module":"./es/index.js","exports":{".":{"import":"./es/index.js","require":"./umd/index.js"},"./es/data":{"import":"./es/data/index.js","require":"./umd/data/index.js"},"./es/channel":{"import":"./es/channel.js","require":"./umd/channel.js"},"./es/location":{"import":"./es/location/index.js","require":"./umd/location/index.js"},"./es/data/Criteria":{"import":"./es/data/Criteria.js","require":"./umd/data/Criteria.js"},"./es/data/repository":{"import":"./es/data/repository.js","require":"./umd/data/repository.js"},"./es/data/composables":{"import":"./es/data/composables/index.js","require":"./umd/data/composables/index.js"},"./es/_internals/data/Entity":{"import":"./es/_internals/data/Entity.js","require":"./umd/_internals/data/Entity.js"},"./es/_internals/data/selectData":{"import":"./es/_internals/data/selectData.js","require":"./umd/_internals/data/selectData.js"},"./es/data/data-table-filter.helper":{"import":"./es/data/data-table-filter.helper.js","require":"./umd/data/data-table-filter.helper.js"},"./es/data/composables/getRepository":{"import":"./es/data/composables/getRepository.js","require":"./umd/data/composables/getRepository.js"},"./es/data/composables/useRepository":{"import":"./es/data/composables/useRepository.js","require":"./umd/data/composables/useRepository.js"},"./es/data/composables/useSharedState":{"import":"./es/data/composables/useSharedState.js","require":"./umd/data/composables/useSharedState.js"},"./es/_internals/data/EntityCollection":{"import":"./es/_internals/data/EntityCollection.js","require":"./umd/_internals/data/EntityCollection.js"},"./es/_internals/privileges/missing-privileges-error":{"import":"./es/_internals/privileges/missing-privileges-error.js","require":"./umd/_internals/privileges/missing-privileges-error.js"}},"scripts":{"dev":"concurrently \"npm run dev:build-watch\" \"npm run dev:serve -- --port=8181\" \"npm run dev:serve -- --port=8182\"","build":"rm -rf es && rm -rf umd && rm -rf cdn && npm run build:umd && npm run build:es && npm run build:cdn","build:es":"tsc --project tsconfig.json --outDir \"./es\"","docs:env":"[ -d \"../../../developer-portal\" ] && ../../../developer-portal/docs-cli.cjs pull || (git clone git@github.com:shopware/developer-portal.git ../../../developer-portal && pnpm i -C ../../../developer-portal)","lint:all":"npm run lint:types && npm run lint:eslint","test:e2e":"concurrently --handle-input --kill-others --success first \"npm run dev\" \"wait-on http://127.0.0.1:8181 && wait-on http://127.0.0.1:8182 && playwright test\"","build:cdn":"vite build --mode cdn","build:umd":"tsc --project tsconfig.json --module umd --outDir \"./umd\"","dev:serve":"http-server testpageDist --silent","docs:link":"../../../developer-portal/docs-cli.cjs link --src ../../docs/admin-sdk --dst resources/admin-extension-sdk --symlink","test:unit":"jest --collectCoverage","lint:types":"tsc --noEmit","prepublish":"npm run build","lint:eslint":"eslint ./src --ext .ts","docs:preview":"../../../developer-portal/docs-cli.cjs preview","test:e2e:dev":"playwright test --project=chromium --reporter=list","dev:build-watch":"vite build --watch --mode example --emptyOutDir","test:unit:watch":"npm run circular-dependencies && jest --watch","test:e2e:dev-debug":"PWDEBUG=1 npm run test:e2e:dev","test:e2e:dev-watch":"chokidar \"{e2e,src}/**/*.{js,ts}\" -c 'clear && npm run test:e2e:dev' --initial","circular-dependencies":"madge --circular --warning src","circular-dependencies:image":"madge --circular --warning --image ./dependency-graph.png src"},"_npmUser":{"name":"xiaosong66","email":"1596363735@qq.com"},"_resolved":"/tmp/853c2f124eb768ffd0cbeb91908914a8/allinpanel-ag-meteor-admin-sdk-6.1.0.tgz","_integrity":"sha512-x/LGUD6BBeXC3PXW3N/XlATMhUwRGqi4sX9tWOEz4clixNTd20JzLkU0cTKFNqbaMCv95fOH7HjvBNmS8mVTxw==","repository":{"url":"git+ssh://git@github.com/allinpanel-org/meteor.git","type":"git"},"_npmVersion":"10.8.2","description":"The Meteor SDK for the AllinPanel Administration.","directories":{},"_nodeVersion":"20.19.2","dependencies":{"lodash":"^4.17.21","semver":"^7.7.1","localforage":"^1.10.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^2.7.14","jest":"^27.5.1","vite":"^2.8.6","madge":"^5.0.1","eslint":"^8.11.0","ts-jest":"^27.1.3","wait-on":"^6.0.1","typescript":"^4.9.4","@types/jest":"^27.4.1","@types/node":"^18.11.17","http-server":"^14.1.0","chokidar-cli":"^3.0.0","concurrently":"^7.0.0","@types/lodash":"^4.14.191","flush-promises":"^1.0.2","vite-plugin-dts":"^0.9.10","@playwright/test":"^1.45.0","vite-tsconfig-paths":"^3.4.1","eslint-plugin-import":"^2.31.0","jest-fail-on-console":"^2.2.3","eslint-plugin-check-file":"^2.7.0","@typescript-eslint/parser":"^5.47.0","@typescript-eslint/eslint-plugin":"^5.47.0"},"_npmOperationalInternal":{"tmp":"tmp/meteor-admin-sdk_6.1.0_1749807423008_0.1940177394977618","host":"s3://npm-registry-packages-npm-production"}},"6.1.1":{"name":"@allinpanel-ag/meteor-admin-sdk","version":"6.1.1","description":"The Meteor SDK for the AllinPanel Administration.","keywords":["iframe","admin","bridge","app","sdk"],"repository":{"type":"git","url":"git+ssh://git@github.com/allinpanel-org/meteor.git"},"license":"MIT","exports":{"./es/channel":{"import":"./es/channel.js","require":"./umd/channel.js"},"./es/data":{"import":"./es/data/index.js","require":"./umd/data/index.js"},"./es/location":{"import":"./es/location/index.js","require":"./umd/location/index.js"},"./es/_internals/privileges/missing-privileges-error":{"import":"./es/_internals/privileges/missing-privileges-error.js","require":"./umd/_internals/privileges/missing-privileges-error.js"},"./es/_internals/data/selectData":{"import":"./es/_internals/data/selectData.js","require":"./umd/_internals/data/selectData.js"},"./es/data/Criteria":{"import":"./es/data/Criteria.js","require":"./umd/data/Criteria.js"},"./es/_internals/data/Entity":{"import":"./es/_internals/data/Entity.js","require":"./umd/_internals/data/Entity.js"},"./es/_internals/data/EntityCollection":{"import":"./es/_internals/data/EntityCollection.js","require":"./umd/_internals/data/EntityCollection.js"},"./es/data/repository":{"import":"./es/data/repository.js","require":"./umd/data/repository.js"},"./es/data/data-table-filter.helper":{"import":"./es/data/data-table-filter.helper.js","require":"./umd/data/data-table-filter.helper.js"},"./es/data/composables":{"import":"./es/data/composables/index.js","require":"./umd/data/composables/index.js"},"./es/data/composables/useSharedState":{"import":"./es/data/composables/useSharedState.js","require":"./umd/data/composables/useSharedState.js"},"./es/data/composables/useRepository":{"import":"./es/data/composables/useRepository.js","require":"./umd/data/composables/useRepository.js"},"./es/data/composables/getRepository":{"import":"./es/data/composables/getRepository.js","require":"./umd/data/composables/getRepository.js"},".":{"import":"./es/index.js","require":"./umd/index.js"}},"main":"./umd/index.js","module":"./es/index.js","types":"./es/index.d.ts","dependencies":{"localforage":"^1.10.0","lodash":"^4.17.21","semver":"^7.7.1"},"devDependencies":{"@playwright/test":"^1.45.0","@types/jest":"^27.4.1","@types/lodash":"^4.14.191","@types/node":"^18.11.17","@typescript-eslint/eslint-plugin":"^5.47.0","@typescript-eslint/parser":"^5.47.0","chokidar-cli":"^3.0.0","concurrently":"^7.0.0","eslint":"^8.11.0","eslint-plugin-check-file":"^2.7.0","eslint-plugin-import":"^2.31.0","flush-promises":"^1.0.2","http-server":"^14.1.0","jest":"^27.5.1","jest-fail-on-console":"^2.2.3","madge":"^5.0.1","ts-jest":"^27.1.3","typescript":"^4.9.4","vite":"^2.8.6","vite-plugin-dts":"^0.9.10","vite-tsconfig-paths":"^3.4.1","vue":"^2.7.14","wait-on":"^6.0.1"},"scripts":{"build":"rm -rf es && rm -rf umd && rm -rf cdn && npm run build:umd && npm run build:es && npm run build:cdn","build:cdn":"vite build --mode cdn","build:es":"tsc --project tsconfig.json --outDir \"./es\"","build:umd":"tsc --project tsconfig.json --module umd --outDir \"./umd\"","circular-dependencies":"madge --circular --warning src","circular-dependencies:image":"madge --circular --warning --image ./dependency-graph.png src","dev":"concurrently \"npm run dev:build-watch\" \"npm run dev:serve -- --port=8181\" \"npm run dev:serve -- --port=8182\"","dev:build-watch":"vite build --watch --mode example --emptyOutDir","dev:serve":"http-server testpageDist --silent","docs:env":"[ -d \"../../../developer-portal\" ] && ../../../developer-portal/docs-cli.cjs pull || (git clone git@github.com:shopware/developer-portal.git ../../../developer-portal && pnpm i -C ../../../developer-portal)","docs:link":"../../../developer-portal/docs-cli.cjs link --src ../../docs/admin-sdk --dst resources/admin-extension-sdk --symlink","docs:preview":"../../../developer-portal/docs-cli.cjs preview","lint:all":"npm run lint:types && npm run lint:eslint","lint:eslint":"eslint ./src --ext .ts","lint:types":"tsc --noEmit","prepublish":"npm run build","test:e2e":"concurrently --handle-input --kill-others --success first \"npm run dev\" \"wait-on http://127.0.0.1:8181 && wait-on http://127.0.0.1:8182 && playwright test\"","test:e2e:dev":"playwright test --project=chromium --reporter=list","test:e2e:dev-debug":"PWDEBUG=1 npm run test:e2e:dev","test:e2e:dev-watch":"chokidar \"{e2e,src}/**/*.{js,ts}\" -c 'clear && npm run test:e2e:dev' --initial","test:unit":"jest --collectCoverage","test:unit:watch":"npm run circular-dependencies && jest --watch"},"_id":"@allinpanel-ag/meteor-admin-sdk@6.1.1","bugs":{"url":"https://github.com/allinpanel-org/meteor/issues"},"homepage":"https://github.com/allinpanel-org/meteor#readme","_integrity":"sha512-W6EGylJ4whobOECyhhKGoCLTrQCvU1qyQxYYA2S4SPEMW9sY9+hfqrBmK5X8GSp+0Ygub+exW2Hu4WIj/71ipA==","_resolved":"/tmp/1b63ec1f746cdf3b4e87f76e9e6ee923/allinpanel-ag-meteor-admin-sdk-6.1.1.tgz","_from":"file:allinpanel-ag-meteor-admin-sdk-6.1.1.tgz","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-W6EGylJ4whobOECyhhKGoCLTrQCvU1qyQxYYA2S4SPEMW9sY9+hfqrBmK5X8GSp+0Ygub+exW2Hu4WIj/71ipA==","shasum":"876e3fcef1784c867b40e4cb818230e6de43131d","tarball":"https://registry.npmjs.org/@allinpanel-ag/meteor-admin-sdk/-/meteor-admin-sdk-6.1.1.tgz","fileCount":382,"unpackedSize":1188705,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@allinpanel-ag%2fmeteor-admin-sdk@6.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF2q2P8etsNcuOGsYNnBIBpeAcDBp/RJvPFr2AtwKe5MAiEAjWQ/k5GPHFRPD8AkAkCQBS5lL1TfQqW8ZKStC/s42ww="}]},"_npmUser":{"name":"xiaosong66","email":"1596363735@qq.com"},"directories":{},"maintainers":[{"name":"xiaosong66","email":"1596363735@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/meteor-admin-sdk_6.1.1_1749897649876_0.9738752807993265"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-13T09:37:02.890Z","modified":"2025-06-14T10:40:50.581Z","6.1.0":"2025-06-13T09:37:03.230Z","6.1.1":"2025-06-14T10:40:50.087Z"},"bugs":{"url":"https://github.com/allinpanel-org/meteor/issues"},"license":"MIT","homepage":"https://github.com/allinpanel-org/meteor#readme","keywords":["iframe","admin","bridge","app","sdk"],"repository":{"type":"git","url":"git+ssh://git@github.com/allinpanel-org/meteor.git"},"description":"The Meteor SDK for the AllinPanel Administration.","maintainers":[{"name":"xiaosong66","email":"1596363735@qq.com"}],"readme":"  # meteor-admin-sdk\n[![Tests](https://github.com/shopware/meteor-admin-sdk/actions/workflows/tests.yml/badge.svg)](https://github.com/shopware/meteor-admin-sdk/actions/workflows/tests.yml)\n[![NPM Package](https://img.shields.io/npm/v/@allinpanel-ag/meteor-admin-sdk)](https://www.npmjs.com/package/@allinpanel-ag/meteor-admin-sdk)\n\nThe `meteor-admin-sdk` is a JavaScript library for all [Shopware 6](https://github.com/shopware/platform) App and Plugin developer which want an easy way to extend and customize the administration.\n\n[See Documentation](https://developer.shopware.com/resources/admin-extension-sdk/)\n\n## Installation\n#### Using NPM:\nInstall it to your `package.json`\n```\nnpm i --save @allinpanel-ag/meteor-admin-sdk\n```\n\nand import it in your app:\n```js\n// import everything\nimport * as sw from '@allinpanel-ag/meteor-admin-sdk';\n\n// or import only needed functionality\nimport { notification }  from '@allinpanel-ag/meteor-admin-sdk';\n```\n\n#### Using CDN:\nImport the source from the CDN\n\n```js\n// use the latest version available\n<script src=\"https://unpkg.com/@allinpanel-ag/meteor-admin-sdk/cdn\"></script>\n\n// use a fix version (example here: 1.2.3)\n<script src=\"https://unpkg.com/@allinpanel-ag/meteor-admin-sdk@1.2.3/cdn\"></script>\n```\n\nand then you can access it with the global variable `sw`.\n\n```js\nsw.notification.dispatch({\n  title: 'My first notification',\n  message: 'This was really easy to do'\n})\n```\n\n## Features\n- 🏗  **Works with Shopware 6 Apps and Plugins:** you can use the SDK for your plugins or apps. API usage is identical.\n- 🎢  **Shallow learning curve:** you don't need to have extensive knowledge about the internals of the Shopware 6 Administration. Our SDK hides the complicated stuff behind a beautiful API.\n- 🧰  **Many extension capabilities:** from throwing notifications, accessing context information or extending the current UI. The feature set of the SDK will gradually be extended, providing more possibilities and flexibility for your ideas and solutions.\n- 🪨  **A stable API with great backwards compatibility:** don't fear Shopware updates anymore. Breaking changes in this SDK are an exception. If you use the SDK, your apps and plugins will stay stable for a longer time, without any need for code maintenance.\n- 🧭  **Type safety:** the whole SDK is written in TypeScript which provides great autocompletion support and more safety for your apps and plugins.\n- 💙  **Developer experience:** have a great development experience right from the start. And it will become better and better in the future.\n- 🪶  **Lightweight:** the whole library is completely tree-shakable and dependency-free. Every functionality can be imported granularly to keep your bundle as small and fast as possible.\n\n## Examples\n\nThrow a notification:\n```js\nsw.notification.dispatch({\n  title: 'My first notification',\n  message: 'This was really easy to do'\n})\n```\n\nGet the system currency:\n```js\nconst currency = await sw.context.getCurrency();\n```\n\nSubscribe for UI locale changes:\n```js\nlet currentLocale = 'en-GB';\n\nsw.context.subscribeLocale(({ locale }) => {\n  currentLocale = locale;\n})\n```\n\nSee more examples in the [Documentation](https://developer.shopware.com/resources/admin-extension-sdk/).\n","readmeFilename":"README.md"}