{"_id":"@lollipope/alarm-helper","_rev":"99-e5f6c0c2ef64117f0556edff2cc623be","name":"@lollipope/alarm-helper","dist-tags":{"latest":"0.2.33"},"versions":{"0.2.30":{"name":"@lollipope/alarm-helper","version":"0.2.30","license":"MIT","_id":"@lollipope/alarm-helper@0.2.30","maintainers":[{"name":"lollipope","email":"qinye5@qq.com"}],"homepage":"https://github.com/Lollipope/alarm-helper/blob/main/README.md","bugs":{"url":"https://github.com/Lollipope/alarm-helper/issues"},"dist":{"shasum":"af810f3075388c1205dff6a38f1fee92faab0e5e","tarball":"https://registry.npmjs.org/@lollipope/alarm-helper/-/alarm-helper-0.2.30.tgz","fileCount":119,"integrity":"sha512-Qo9lJ43EDuZgNaP3BDHX15mtc1RdNNT1YBANBB3CnaMtqGFHv+T4X4EK2J1hzJoRRXucQu3WiWn7oNZplGg6Ow==","signatures":[{"sig":"MEUCIB1SyWJBrLDeBt39DNQRhBOdj81skR3cXV+eJnsCaZs7AiEAuh6bkYRDo20voE35k+TTibYkdLVBrpfodQid8OkzrU8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@lollipope%2falarm-helper@0.2.30","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16489567},"main":"dist/alarm-helper.umd.cjs","type":"module","_from":"file:lollipope-alarm-helper-0.2.30.tgz","types":"types/lib/index.d.ts","config":{"commitizen":{"path":"node_modules/cz-customizable"},"cz-customizable":{"config":"./.cz-config.js.json"}},"module":"dist/alarm-helper.js","exports":{".":{"types":"./types/alarm-helper.d.ts","import":"./dist/alarm-helper.js","require":"./dist/alarm-helper.umd.cjs"},"./*":"./*"},"private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","build":"run-p type-check \"build-only {@}\" --","commit":"node ./node_modules/cz-customizable/standalone.js","format":"prettier --write lib/","preview":"vite preview","coverage":"vitest run --coverage","changelog":"pnpm run changelog:gen && pnpm run changelog:commit","test:unit":"vitest","build-only":"vite build","type-check":"vue-tsc --build","changelog:gen":"conventional-changelog --config changelog.config.js -i CHANGELOG.md -s -r 0 ","changelog:commit":"git add . && git commit -m \"chore(release): update changelog\" --no-verify"},"_npmUser":{"name":"lollipope","email":"qinye5@qq.com"},"_resolved":"/tmp/634bb1d9661cb7904df49c3fb15c86c8/lollipope-alarm-helper-0.2.30.tgz","_integrity":"sha512-Qo9lJ43EDuZgNaP3BDHX15mtc1RdNNT1YBANBB3CnaMtqGFHv+T4X4EK2J1hzJoRRXucQu3WiWn7oNZplGg6Ow==","repository":{"url":"git+https://github.com/Lollipope/alarm-helper.git","type":"git"},"_npmVersion":"10.8.2","description":"A Vue 3 component library for alarm management.","directories":{},"_nodeVersion":"18.20.8","dependencies":{"mitt":"^3.0.1","js-cookie":"^3.0.5","mpegts.js":"1.7.3","flv-extend":"^0.3.0","sortablejs":"^1.15.6"},"_hasShrinkwrap":false,"devDependencies":{"qs":"^6.12.1","vue":"^3.5.13","jiti":"^2.4.2","sass":"^1.69.7","vite":"^6.2.1","axios":"^1.6.5","dayjs":"^1.11.11","husky":"^8.0.3","jsdom":"^26.1.0","eslint":"^9.21.0","swiper":"^11.2.8","vitest":"^3.2.4","vue-tsc":"^2.2.8","prettier":"3.5.3","@types/qs":"^6.9.15","commitizen":"^4.3.1","typescript":"~5.8.0","vue-router":"^4.2.5","@types/node":"^22.13.9","@types/jsdom":"^21.1.7","@vueuse/core":"^10.7.1","element-plus":"2.8.0","npm-run-all2":"^7.0.2","@vue/tsconfig":"^0.7.0","@commitlint/cli":"^19.8.1","@vue/test-utils":"^2.4.6","cz-customizable":"^7.5.0","vite-plugin-dts":"^4.5.3","@tsconfig/node22":"^22.0.0","@types/js-cookie":"^3.0.6","@types/sortablejs":"^1.15.7","eslint-plugin-vue":"~10.0.0","@vitejs/plugin-vue":"^5.2.1","@vitest/coverage-v8":"^3.2.4","rollup-plugin-delete":"^3.0.1","unplugin-auto-import":"^0.15.3","@vitejs/plugin-vue-jsx":"^3.1.0","unplugin-vue-components":"^0.24.1","vite-plugin-vue-devtools":"^7.7.2","conventional-changelog-cli":"^5.0.0","@vue/eslint-config-prettier":"^10.2.0","@vue/eslint-config-typescript":"^14.5.0","@commitlint/config-conventional":"^19.8.1"},"peerDependencies":{"qs":"^6.12.1","vue":"^3.5.13","axios":"^1.6.5","dayjs":"^1.11.11","swiper":"^11.2.8","vue-router":"^4.2.5","@vueuse/core":"^10.7.1","element-plus":"2.8.0"},"_npmOperationalInternal":{"tmp":"tmp/alarm-helper_0.2.30_1763454357602_0.6411525149121031","host":"s3://npm-registry-packages-npm-production"},"deprecated":"该包后续功能将添加在@leatop/alarm-helper,请及时切换."},"0.2.31":{"name":"@lollipope/alarm-helper","version":"0.2.31","license":"MIT","_id":"@lollipope/alarm-helper@0.2.31","maintainers":[{"name":"lollipope","email":"qinye5@qq.com"}],"homepage":"https://github.com/Lollipope/alarm-helper/blob/main/README.md","bugs":{"url":"https://github.com/Lollipope/alarm-helper/issues"},"dist":{"shasum":"37296459a49c48c7f57fde50d326222b13b61383","tarball":"https://registry.npmjs.org/@lollipope/alarm-helper/-/alarm-helper-0.2.31.tgz","fileCount":123,"integrity":"sha512-3bOZ7J1UgUXKjAcupqxvowsPlUvUHZZ7dD+6ZcPFgz4W5pJ7cJEfD4Y3dRe8ECl74Gr223fJElxMpUwhMnkCxw==","signatures":[{"sig":"MEQCIBHr76PHKnv/DfVoO7/t9DgwT7dI2VE+z2E9miXgfrEcAiAA9Dowm9z5MtgWnzrvkUhgqahq5FJ/TONrtJKNogJZ4w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":231813675},"main":"dist/alarm-helper.umd.cjs","type":"module","types":"types/lib/index.d.ts","config":{"commitizen":{"path":"node_modules/cz-customizable"},"cz-customizable":{"config":"./.cz-config.js.json"}},"module":"dist/alarm-helper.js","exports":{".":{"types":"./types/alarm-helper.d.ts","import":"./dist/alarm-helper.js","require":"./dist/alarm-helper.umd.cjs"},"./*":"./*"},"gitHead":"22c92c756662f21fb0cb9f5e60feab6b3f849ccc","private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","build":"run-p type-check \"build-only {@}\" --","commit":"node ./node_modules/cz-customizable/standalone.js","format":"prettier --write lib/","prepare":"husky install","preview":"vite preview","coverage":"vitest run --coverage","changelog":"pnpm run changelog:gen && pnpm run changelog:commit","test:unit":"vitest","build-only":"vite build","type-check":"vue-tsc --build","postpublish":"node build/post.mjs","changelog:gen":"conventional-changelog --config changelog.config.js -i CHANGELOG.md -s -r 0 ","changelog:commit":"git add . && git commit -m \"chore(release): update changelog\" --no-verify"},"_npmUser":{"name":"lollipope","email":"qinye5@qq.com"},"deprecated":"该包后续功能将添加在@leatop/alarm-helper,请及时切换.","repository":{"url":"git+https://github.com/Lollipope/alarm-helper.git","type":"git"},"_npmVersion":"9.8.1","description":"A Vue 3 component library for alarm management.","directories":{},"_nodeVersion":"18.18.0","dependencies":{"mitt":"^3.0.1","js-cookie":"^3.0.5","mpegts.js":"1.7.3","flv-extend":"^0.3.0","sortablejs":"^1.15.6"},"_hasShrinkwrap":false,"devDependencies":{"qs":"^6.12.1","vue":"^3.5.13","jiti":"^2.4.2","sass":"^1.69.7","vite":"^6.2.1","axios":"^1.6.5","dayjs":"^1.11.11","husky":"^8.0.3","jsdom":"^26.1.0","eslint":"^9.21.0","swiper":"^11.2.8","vitest":"^3.2.4","vue-tsc":"^2.2.8","prettier":"3.5.3","@types/qs":"^6.9.15","commitizen":"^4.3.1","typescript":"~5.8.0","vue-router":"^4.2.5","@types/node":"^22.13.9","@types/jsdom":"^21.1.7","@vueuse/core":"^10.7.1","element-plus":"2.8.0","npm-run-all2":"^7.0.2","@vue/tsconfig":"^0.7.0","@commitlint/cli":"^19.8.1","@vue/test-utils":"^2.4.6","cz-customizable":"^7.5.0","vite-plugin-dts":"^4.5.3","@tsconfig/node22":"^22.0.0","@types/js-cookie":"^3.0.6","@types/sortablejs":"^1.15.7","eslint-plugin-vue":"~10.0.0","@vitejs/plugin-vue":"^5.2.1","@vitest/coverage-v8":"^3.2.4","rollup-plugin-delete":"^3.0.1","unplugin-auto-import":"^0.15.3","@vitejs/plugin-vue-jsx":"^3.1.0","unplugin-vue-components":"^0.24.1","vite-plugin-vue-devtools":"^7.7.2","conventional-changelog-cli":"^5.0.0","@vue/eslint-config-prettier":"^10.2.0","@vue/eslint-config-typescript":"^14.5.0","@commitlint/config-conventional":"^19.8.1"},"peerDependencies":{"qs":"^6.12.1","vue":"^3.5.13","axios":"^1.6.5","dayjs":"^1.11.11","swiper":"^11.2.8","vue-router":"^4.2.5","@vueuse/core":"^10.7.1","element-plus":"2.8.0"},"_npmOperationalInternal":{"tmp":"tmp/alarm-helper_0.2.31_1768446308508_0.8169694090674486","host":"s3://npm-registry-packages-npm-production"}},"0.2.32":{"name":"@lollipope/alarm-helper","version":"0.2.32","license":"MIT","_id":"@lollipope/alarm-helper@0.2.32","maintainers":[{"name":"lollipope","email":"qinye5@qq.com"}],"homepage":"https://github.com/Lollipope/alarm-helper/blob/main/README.md","bugs":{"url":"https://github.com/Lollipope/alarm-helper/issues"},"dist":{"shasum":"e0e3df1434f976fccd53e267e018c25bef54ce8b","tarball":"https://registry.npmjs.org/@lollipope/alarm-helper/-/alarm-helper-0.2.32.tgz","fileCount":123,"integrity":"sha512-DsglYg/6NjYXMYeXbIBrOjXKs8gURIrplX+06Jop/fXvLvK1Ulg72VtrcJCtZfZ72Tfh+66IvmzuskPcO5KpvA==","signatures":[{"sig":"MEYCIQDqOjGzeHepa9wGKlXMzItXq6yb5v1sJ8QqeKpbNzG/UQIhAP5RrGS23qD9P9d8mQIbr0GHcoJTInPCLAjf/9uPR7VW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@lollipope%2falarm-helper@0.2.32","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":231806831},"main":"dist/alarm-helper.umd.cjs","type":"module","_from":"file:lollipope-alarm-helper-0.2.32.tgz","types":"types/lib/index.d.ts","config":{"commitizen":{"path":"node_modules/cz-customizable"},"cz-customizable":{"config":"./.cz-config.js.json"}},"module":"dist/alarm-helper.js","exports":{".":{"types":"./types/alarm-helper.d.ts","import":"./dist/alarm-helper.js","require":"./dist/alarm-helper.umd.cjs"},"./*":"./*"},"private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","build":"run-p type-check \"build-only {@}\" --","commit":"node ./node_modules/cz-customizable/standalone.js","format":"prettier --write lib/","preview":"vite preview","coverage":"vitest run --coverage","changelog":"pnpm run changelog:gen && pnpm run changelog:commit","test:unit":"vitest","build-only":"vite build","type-check":"vue-tsc --build","changelog:gen":"conventional-changelog --config changelog.config.js -i CHANGELOG.md -s -r 0 ","changelog:commit":"git add . && git commit -m \"chore(release): update changelog\" --no-verify"},"_npmUser":{"name":"lollipope","email":"qinye5@qq.com"},"_resolved":"/tmp/a469d4eecccd12b8deac18b1ac2be73a/lollipope-alarm-helper-0.2.32.tgz","_integrity":"sha512-DsglYg/6NjYXMYeXbIBrOjXKs8gURIrplX+06Jop/fXvLvK1Ulg72VtrcJCtZfZ72Tfh+66IvmzuskPcO5KpvA==","deprecated":"该包后续功能将添加在@leatop/alarm-helper,请及时切换.","repository":{"url":"git+https://github.com/Lollipope/alarm-helper.git","type":"git"},"_npmVersion":"10.8.2","description":"A Vue 3 component library for alarm management.","directories":{},"_nodeVersion":"18.20.8","dependencies":{"mitt":"^3.0.1","js-cookie":"^3.0.5","mpegts.js":"1.7.3","flv-extend":"^0.3.0","sortablejs":"^1.15.6"},"_hasShrinkwrap":false,"devDependencies":{"qs":"^6.12.1","vue":"^3.5.13","jiti":"^2.4.2","sass":"^1.69.7","vite":"^6.2.1","axios":"^1.6.5","dayjs":"^1.11.11","husky":"^8.0.3","jsdom":"^26.1.0","eslint":"^9.21.0","swiper":"^11.2.8","vitest":"^3.2.4","vue-tsc":"^2.2.8","prettier":"3.5.3","@types/qs":"^6.9.15","commitizen":"^4.3.1","typescript":"~5.8.0","vue-router":"^4.2.5","@types/node":"^22.13.9","@types/jsdom":"^21.1.7","@vueuse/core":"^10.7.1","element-plus":"2.8.0","npm-run-all2":"^7.0.2","@vue/tsconfig":"^0.7.0","@commitlint/cli":"^19.8.1","@vue/test-utils":"^2.4.6","cz-customizable":"^7.5.0","vite-plugin-dts":"^4.5.3","@tsconfig/node22":"^22.0.0","@types/js-cookie":"^3.0.6","@types/sortablejs":"^1.15.7","eslint-plugin-vue":"~10.0.0","@vitejs/plugin-vue":"^5.2.1","@vitest/coverage-v8":"^3.2.4","rollup-plugin-delete":"^3.0.1","unplugin-auto-import":"^0.15.3","@vitejs/plugin-vue-jsx":"^3.1.0","unplugin-vue-components":"^0.24.1","vite-plugin-vue-devtools":"^7.7.2","conventional-changelog-cli":"^5.0.0","@vue/eslint-config-prettier":"^10.2.0","@vue/eslint-config-typescript":"^14.5.0","@commitlint/config-conventional":"^19.8.1"},"peerDependencies":{"qs":"^6.12.1","vue":"^3.5.13","axios":"^1.6.5","dayjs":"^1.11.11","swiper":"^11.2.8","vue-router":"^4.2.5","@vueuse/core":"^10.7.1","element-plus":"2.8.0"},"_npmOperationalInternal":{"tmp":"tmp/alarm-helper_0.2.32_1768456696413_0.6013452799944399","host":"s3://npm-registry-packages-npm-production"}},"0.2.33":{"name":"@lollipope/alarm-helper","version":"0.2.33","license":"MIT","_id":"@lollipope/alarm-helper@0.2.33","maintainers":[{"name":"lollipope","email":"qinye5@qq.com"}],"homepage":"https://github.com/Lollipope/alarm-helper/blob/main/README.md","bugs":{"url":"https://github.com/Lollipope/alarm-helper/issues"},"dist":{"shasum":"cf2baf84d5d0b17e2ea4e1a2ee1fd98850ae6fcc","tarball":"https://registry.npmjs.org/@lollipope/alarm-helper/-/alarm-helper-0.2.33.tgz","fileCount":127,"integrity":"sha512-GBR+tXSrPEDoHem0YAkTdgb6dGghSEUKQJFlXpWFrnactnRaeqIHtASzNCWVJycZoH5/RZ0Cu7aGVff2q2Q0+g==","signatures":[{"sig":"MEYCIQCWcgS3M0cvvFDDvHUGtauXpbOlOZTRNGsSKEUPcRqylAIhAL2drAcAbMXLWmnJ8SLrSeF4+VgA/6Gj6eXjHX3qHp0s","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@lollipope%2falarm-helper@0.2.33","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":231848313},"main":"dist/alarm-helper.umd.cjs","type":"module","_from":"file:lollipope-alarm-helper-0.2.33.tgz","types":"types/lib/index.d.ts","config":{"commitizen":{"path":"node_modules/cz-customizable"},"cz-customizable":{"config":"./.cz-config.js.json"}},"module":"dist/alarm-helper.js","exports":{".":{"types":"./types/alarm-helper.d.ts","import":"./dist/alarm-helper.js","require":"./dist/alarm-helper.umd.cjs"},"./*":"./*"},"private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","build":"run-p type-check \"build-only {@}\" --","commit":"node ./node_modules/cz-customizable/standalone.js","format":"prettier --write lib/","preview":"vite preview","coverage":"vitest run --coverage","changelog":"pnpm run changelog:gen && pnpm run changelog:commit","test:unit":"vitest","build-only":"vite build","type-check":"vue-tsc --build","changelog:gen":"conventional-changelog --config changelog.config.js -i CHANGELOG.md -s -r 0 ","changelog:commit":"git add . && git commit -m \"chore(release): update changelog\" --no-verify"},"_npmUser":{"name":"lollipope","email":"qinye5@qq.com"},"_resolved":"/tmp/2e20ae041f1c955223b62b0b391e7ad5/lollipope-alarm-helper-0.2.33.tgz","_integrity":"sha512-GBR+tXSrPEDoHem0YAkTdgb6dGghSEUKQJFlXpWFrnactnRaeqIHtASzNCWVJycZoH5/RZ0Cu7aGVff2q2Q0+g==","repository":{"url":"git+https://github.com/Lollipope/alarm-helper.git","type":"git"},"_npmVersion":"10.8.2","description":"A Vue 3 component library for alarm management.","directories":{},"_nodeVersion":"18.20.8","dependencies":{"mitt":"^3.0.1","js-cookie":"^3.0.5","mpegts.js":"1.7.3","flv-extend":"^0.3.0","sortablejs":"^1.15.6"},"_hasShrinkwrap":false,"devDependencies":{"qs":"^6.12.1","vue":"^3.5.13","jiti":"^2.4.2","sass":"^1.69.7","vite":"^6.2.1","axios":"^1.6.5","dayjs":"^1.11.11","husky":"^8.0.3","jsdom":"^26.1.0","eslint":"^9.21.0","swiper":"^11.2.8","vitest":"^3.2.4","vue-tsc":"^2.2.8","prettier":"3.5.3","@types/qs":"^6.9.15","commitizen":"^4.3.1","typescript":"~5.8.0","vue-router":"^4.2.5","@types/node":"^22.13.9","@types/jsdom":"^21.1.7","@vueuse/core":"^10.7.1","element-plus":"2.8.0","npm-run-all2":"^7.0.2","@vue/tsconfig":"^0.7.0","@commitlint/cli":"^19.8.1","@vue/test-utils":"^2.4.6","cz-customizable":"^7.5.0","vite-plugin-dts":"^4.5.3","@tsconfig/node22":"^22.0.0","@types/js-cookie":"^3.0.6","@types/sortablejs":"^1.15.7","eslint-plugin-vue":"~10.0.0","@vitejs/plugin-vue":"^5.2.1","@vitest/coverage-v8":"^3.2.4","rollup-plugin-delete":"^3.0.1","unplugin-auto-import":"^0.15.3","@vitejs/plugin-vue-jsx":"^3.1.0","unplugin-vue-components":"^0.24.1","vite-plugin-vue-devtools":"^7.7.2","conventional-changelog-cli":"^5.0.0","@vue/eslint-config-prettier":"^10.2.0","@vue/eslint-config-typescript":"^14.5.0","@commitlint/config-conventional":"^19.8.1"},"peerDependencies":{"qs":"^6.12.1","vue":"^3.5.13","axios":"^1.6.5","dayjs":"^1.11.11","swiper":"^11.2.8","vue-router":"^4.2.5","@vueuse/core":"^10.7.1","element-plus":"2.8.0"},"_npmOperationalInternal":{"tmp":"tmp/alarm-helper_0.2.33_1768980658011_0.2030114155289553","host":"s3://npm-registry-packages-npm-production"},"deprecated":"该包后续功能将添加在@leatop/alarm-helper,请及时切换."}},"time":{"created":"2025-11-18T06:03:31.891Z","modified":"2026-06-26T02:57:20.920Z","0.0.1":"2025-04-01T08:44:48.741Z","0.0.2":"2025-04-16T07:49:18.064Z","0.0.3":"2025-04-16T08:13:16.342Z","0.0.4":"2025-04-16T08:40:34.832Z","0.0.5":"2025-04-16T09:06:16.177Z","0.0.6":"2025-04-23T03:03:55.497Z","0.0.7":"2025-04-23T03:17:38.666Z","0.0.8":"2025-04-23T03:24:25.917Z","0.0.9":"2025-04-23T03:59:08.118Z","0.1.0":"2025-04-23T05:49:18.206Z","0.1.1":"2025-04-23T05:55:29.233Z","0.1.2":"2025-04-23T07:00:15.437Z","0.1.3":"2025-04-23T07:28:37.428Z","0.1.4":"2025-04-23T09:01:48.466Z","0.1.5":"2025-04-23T09:13:36.074Z","0.1.6":"2025-04-23T09:24:21.806Z","0.1.7":"2025-04-28T06:58:13.917Z","0.1.8":"2025-04-28T07:17:17.871Z","0.1.9":"2025-04-28T07:40:08.756Z","0.2.0":"2025-04-28T08:00:15.542Z","0.2.1":"2025-05-13T02:25:15.272Z","0.2.2":"2025-05-13T03:26:11.649Z","0.2.3":"2025-06-09T03:06:02.262Z","0.2.4":"2025-06-09T06:49:57.188Z","0.2.5":"2025-07-03T04:53:54.127Z","0.2.6":"2025-07-03T06:39:46.415Z","0.2.7":"2025-07-03T06:56:47.429Z","0.2.8":"2025-07-07T07:00:08.563Z","0.2.9":"2025-07-08T07:36:40.658Z","0.2.10":"2025-07-14T02:29:22.103Z","0.2.11":"2025-07-14T03:28:26.264Z","0.2.12":"2025-07-15T03:46:23.380Z","0.2.13":"2025-07-17T12:20:37.989Z","0.2.14":"2025-07-21T04:08:44.938Z","0.2.15":"2025-07-23T09:23:43.586Z","0.2.16":"2025-07-23T09:39:28.565Z","0.2.17":"2025-07-23T09:43:23.009Z","0.2.18":"2025-08-12T14:33:15.530Z","0.2.19":"2025-08-12T14:57:04.097Z","0.2.20":"2025-08-18T02:21:42.495Z","0.2.21":"2025-08-18T06:00:59.541Z","0.2.22":"2025-11-11T06:22:45.976Z","0.2.23":"2025-11-18T03:45:40.964Z","0.2.24":"2025-11-18T06:03:32.366Z","0.2.25":"2025-11-18T06:25:11.171Z","0.2.27":"2025-11-18T06:40:38.642Z","0.2.28":"2025-11-18T06:46:38.472Z","0.2.29":"2025-11-18T07:06:31.356Z","0.2.30":"2025-11-18T08:25:57.971Z","0.2.31":"2026-01-15T03:05:12.662Z","0.2.32":"2026-01-15T05:58:20.553Z","0.2.33":"2026-01-21T07:31:02.097Z"},"bugs":{"url":"https://github.com/Lollipope/alarm-helper/issues"},"license":"MIT","homepage":"https://github.com/Lollipope/alarm-helper/blob/main/README.md","repository":{"url":"git+https://github.com/Lollipope/alarm-helper.git","type":"git"},"description":"A Vue 3 component library for alarm management.","maintainers":[{"name":"lollipope","email":"qinye5@qq.com"}],"readme":"<p align=\"center\"><img src='./logo.png' style='width:300px;height:100px;margin:0 auto;display:block'></img></p>\n<p align=\"center\">\n  <a href=\"https://github.com/Lollipope/alarm-helper\">\n    <img src=\"https://img.shields.io/badge/vue-3.x-green?color=47c219\" />\n  </a>\n  <a href=\"https://github.com/Lollipope/alarm-helper\">\n    <img src=\"https://img.shields.io/npm/l/%40lollipope%2Falarm-helper?color=47c219\" />\n  </a>\n  <a href=\"https://github.com/Lollipope/alarm-helper\">\n    <img src=\"https://img.shields.io/badge/node-%3E%3D18.16-47c219\" />\n  </a>\n  <a href=\"https://codecov.io/gh/Lollipope/alarm-helper\">\n    <img src=\"https://img.shields.io/codecov/c/github/lollipope/alarm-helper/main?logo=codecov&color=47c219\"/>\n  </a>\n  <br>\n</p>\n\n<h2 style=\"text-align: center;font-weight:bold\">智慧版告警中心小助手</h1>\n\n### 写在前面的话\n\n:warning: **`此库只适用于Vue3项目集成`**:exclamation::exclamation::exclamation:\n\n> 如果是Vue2项目(cdp版) ,请使用 [**@lollipope/alarm-helper-compat**](https://www.npmjs.com/package/@lollipope/alarm-helper-compat)\n\n> 如果是vue2项目(msdp版),请使用 [**@lollipope/alarm-robot**](https://www.npmjs.com/package/alarm-robot)\n\n### 集成文档\n\n##### 1.安装依赖(建议使用 pnpm 下载)\n\n```bash\n# 安装 pnpm\nnpm install pnpm -g\n\n# 安装依赖\npnpm i @lollipope/alarm-helper\n```\n\n#### 2.添加配置文件\n\n```js\n//public/config/config.js:\n\n//全局配置项\n;(function (window) {\n  window.globalConfig = {\n    // 添加以下配置\n    AlarmCenterWsUrl: `128.23.13.125:28082`, // 告警中心Socket地址\n    AlarmRobotApiContext: '/api/', //告警弹窗接口前缀\n    AlarmWebPath: '告警中心前端首页', //暂时不用配置\n    AlarmStreamPath: `http://xxxx/api/GetCameraPlayURL`, //流媒体服务接口\n    AlarmStreamDomain: `private`, //外网（public）还是内网（private）\n    AlarmStreamRate: `slaver`, //获取主码流（master）或者副码流（slaver）\n    AlarmStreamMode: '1', //  1:视频一体机 0:流媒体\n    LinkedControlUrl: 'http:128.xxx/device-chain', //联动管控地址配置\n    AlarmUAV:{  // 无人机临时配置\n      // 收费路段Id\n      sectionId:'G0004440040' , //惠河路段 G0025440060\n       // 国家高速\n      nationalRoadNo:{\n        // 长深高速 G25\n        G25:{\n          start:'K3514+432',\n          end:'K3595+506'\n        },\n        // 济广高速 G35\n        G35:{\n          start:'K3480+100',\n          end:'K3594+077'\n        }\n      },\n      direction:1 // 上行\n    }\n  }\n})(window)\n```\n\n配置说明:\n| 参数 | 说明 | 类型 | <div style='width:100px'>是否必要</div> | <div style='width:80px'>默认值</div> |\n| :----|:----| :----: |:----: |:----: |\n| AlarmCenterWsUrl | 告警中心Socket地址<br> eg:`127.0.0.1:9527` | String | 是 | - |\n| AlarmRobotApiContext | 告警弹窗接口前缀,需要拦截该前缀转发到对应后端地址 <br> eg:`/api/`| String | 是 | - |\n| AlarmWebPath | 告警中心首页地址(外部系统集成需要配置,配置该项会新开页签并跳转) <br> eg:`http://localhost:9527/`| String | 否 | - |\n| AlarmStreamPath | 流媒体服务接口Uri <br> eg:`http://ip:port/api/GetCameraPlayURL`| String | 是 | - |\n| AlarmStreamDomain | 流媒体取流来源 | String | 否 | private |\n| AlarmStreamRate | 流媒体码流 | String | 否 | slaver |\n| AlarmStreamMode`(v0.2.13+)` | 流媒体码流取流方式, `1:视频一体机 0:流媒体` | String | 否 | - |\n| LinkedControlUrl`(v0.2.23+)` | 联动管控地址配置 | String | 否 | - |\n| AlarmUAV`(v0.2.33+)` | 无人机配置 | [UAVConf](#uavconf) | 否 | - |\n\n\n相关参数说明\n<h4 id='uavconf'></h4>\n\n| UAVConf | 说明 | 类型 | <div style='width:100px'>是否必要</div> | <div style='width:80px'>默认值</div> |\n| :----|:----| :----: |:----: |:----: |\n| sectionId | 收费路段Id | string | 是 | - |\n| nationalRoadNo | 国家高速 | {[key: string]: [NationalRoad](#nation)} | 是 | - |\n| direction | 方向 | number | 是 | 1|\n\n\n<h4 id='nation'></h4>\n\n| NationalRoad | 说明 | 类型 | <div style='width:100px'>是否必要</div> | <div style='width:80px'>默认值</div> |\n| :----|:----| :----: |:----: |:----: |\n|start | 开始桩号 | string | 是 | - |\n| end| 结束桩号 | string | 是 | - |\n\n示例:\n```js\n//  NationalRoad 示例\n{\n  start:'K3514+432',\n  end:'K3595+506'\n}\n```\n\n#### 3.组件引入:\n\n- 使用组件的地方\n\n```html\n<script setup lang=\"ts\">\n  // 引入组件\n  import '@lollipope/alarm-helper/dist/index.css'\n  import AlarmHelper from '@lollipope/alarm-helper'\n\n  const userInfo = ref({ userId: '用户id' })\n  const tokenId = ref('登录的token') //v0.2.17+ 新增\n</script>\n\n<template>\n  <div class=\"cdp-base-container\">\n    <!-- 使用组件 -->\n    <AlarmHelper :user-info=\"userInfo\" :token-id=\"tokenId\" />\n  </div>\n</template>\n```\n\n- 组件属性说明:\n\n| 属性名   | 说明         |          类型          | <div style='width:100px'>是否必要</div> | <div style='width:80px'>默认值</div> | <div style='width:80px'>备注</div> |\n| :------- | :----------- | :--------------------: | :-------------------------------------: | :----------------------------------: | :--------------------------------: |\n| userInfo | 用户信息对象 | Object&{userId:String} |                   是                    |                  -                   |                 -                  |\n| tokenId  | 登录的token  |         String         |                   是                    |                  -                   |          `v0.2.17+ 新增`           |\n\n- 组件事件说明:\n\n| 事件名     | 说明         |   回调参数    |      备注       |\n| :--------- | :----------- | :-----------: | :-------------: |\n| onApiError | 接口异常触发 | AlarmApiError | `v0.2.12+ 新增` |\n\n#### 4.集成效果:\n<div>\n<img src='./docs/dev/image-3.png'/>\n<img src='./docs/dev/image-4.png'/>\n</div>\n","readmeFilename":"README.md"}