{"_id":"@wesib/generic","_rev":"240-a10d6012bbc445a5336bdb0a575d18a4","name":"@wesib/generic","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"@wesib/generic","version":"1.0.0","description":"Wesib: Generic Components","keywords":["web-components"],"homepage":"https://github.com/wesib/generic","repository":{"type":"git","url":"git+ssh://git@github.com/wesib/generic.git"},"license":"MIT","author":{"name":"Ruslan Lopatin","email":"ruslan.lopatin@gmail.com"},"bugs":{"url":"https://github.com/wesib/generic/issues"},"type":"module","main":"./dist/wesib.generic.js","types":"./index.d.ts","exports":"./dist/wesib.generic.js","peerDependencies":{"@proc7ts/context-values":"^6.1.0","@proc7ts/fun-events":"^10.4.0","@wesib/wesib":"^1.0.0"},"dependencies":{"@frontmeans/dom-events":"^1.2.0","@frontmeans/dom-primitives":"^1.1.0","@frontmeans/drek":"^1.2.0","@frontmeans/namespace-aliaser":"^2.5.0","@frontmeans/render-scheduler":"^1.7.0","@proc7ts/amend":"^1.0.0","@proc7ts/primitives":"^3.0.0","@proc7ts/supply":"^1.1.0"},"devDependencies":{"@frontmeans/render-scheduler":"^1.5.0","@jest/globals":"^27.0.3","@proc7ts/context-values":"^6.2.0","@proc7ts/fun-events":"^10.5.0","@rollup/plugin-node-resolve":"^13.0.0","@run-z/eslint-config":"^1.2.1","@run-z/rollup-helpers":"^1.1.1","@types/jsdom":"^16.2.10","@typescript-eslint/eslint-plugin":"^4.25.0","@typescript-eslint/parser":"^4.25.0","@wesib/wesib":"^1.0.0","cross-fetch":"^3.1.4","eslint":"^7.27.0","eslint-plugin-jest":"^24.3.6","gh-pages":"^3.2.0","jest":"^27.0.3","jest-junit":"^12.1.0","jest-mock":"^27.0.3","remark-cli":"^9.0.0","remark-preset-lint-recommended":"^5.0.0","rollup":"^2.50.5","rollup-plugin-flat-dts":"^1.2.2","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","run-z":"^1.8.0","shx":"^0.3.3","ts-jest":"^27.0.2","tslib":"^2.2.0","typedoc":"^0.20.36","typescript":"^4.3.2"},"scripts":{"all":"run-z build,lint,test","build":"run-z +z --then rollup -c","ci:all":"run-z all +test/--ci/--runInBand","clean":"run-z +z --then shx rm -rf 'index.d.ts?(.map)' '*/index.d.ts?(.map)' dist target","doc":"run-z +z --then typedoc","doc:publish":"run-z doc --then gh-pages --dist target/typedoc --dotfiles","lint":"run-z + lint:md --and eslint .","lint:md":"run-z +z --then remark .","test":"run-z +z env:NODE_OPTIONS='--experimental-vm-modules --no-warnings' --then jest","z":"run-z +cmd:rollup,+cmd:typedoc,+cmd:eslint,+cmd:remark,+cmd:jest"},"gitHead":"470bb593076eeb0517dc26795284b697c65bcad2","_id":"@wesib/generic@1.0.0","_nodeVersion":"14.16.0","_npmVersion":"7.15.0","dist":{"integrity":"sha512-89nBLZ1Z2jZkM6iJZIUPljB4tlsS+YLtsv2yOq1vMeKoJkbOUdiQWKLkhmX2qmAUyRS2TomnMBV/oRYqgiwTBw==","shasum":"080535f07091efecbe367c7b255f978b6cbfa7fa","tarball":"https://registry.npmjs.org/@wesib/generic/-/generic-1.0.0.tgz","fileCount":8,"unpackedSize":173125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtQuxCRA9TVsSAnZWagAA9MQP/0NVlbyinvMWohQFVBcr\nNVd2Qs4iz1eiryeKAmcN27oZW+YPHiWG2Ynk+k2vYA03P8SdTYbF3p1fRVts\n+NwseuktsxtrM6Xw/ielSv1mOMLjEXKJzpAQ9DMBhQoWNfLCc7ZPXIGlUhjS\n4MbPe3TU0VfVvw/wMgfwFCRwqYflOV1hyPJglXSRP4xeH/wW3gR7xepkN9hO\ncruTGqyQB/km5Q2vW2GZe8zJPkObb6zqxWyWFMg6w62IUsGcvoaluqshrfBF\nvrdDZdDV/fP5CWCTYhFbRyxEpeYOQdWexY4skoclPN5rdQdKrwy9m10+KBKh\nXIS3j2LlZXT9Hdc5x0/uKNr2YY9gYPPemepuYHZiZeIIRmcIFJ0MuUSkwuxr\nOKLOb6bZm5yxFQYSdFGdQSXeWb+yPz6I9HB39LGexRDV4PVvUe+zu3x8FZwy\nLVXwm1iWVkuFIDmtfK3jWKZy51IhECb/tDSROzpxGxdQyk8mDGs5+yOccaWA\nItX+k54cw0zw4O9qonS4zMtlJ15RKsCL3ewKnJfFPbdnVwcdvKnPB+uho+kB\nezWqxtzPoTM0TeriDn0natDxunLCdLU99kV5NbwZdxEtLCh52fl78gxML677\nmEpHozRCcWFA8/a1+Kelm/4I1BAcwa3QyFpRuejuFnGGc+x+nXJtnowP3Fyi\nIXId\r\n=MhZ+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3xVmi8pYfMLUtgBVqofChmccyOzrbr0cZUKp9T3vMNAiBafUzqAjUE9ix9qtPfogxstOmkWVP4gUsKSuz+R3slhA=="}]},"_npmUser":{"name":"lorus","email":"ruslan.lopatin@gmail.com"},"directories":{},"maintainers":[{"name":"lorus","email":"ruslan.lopatin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic_1.0.0_1622477745383_0.41958077594172827"},"_hasShrinkwrap":false},"2.0.0":{"name":"@wesib/generic","version":"2.0.0","description":"Wesib: Generic Components","keywords":["web-components"],"homepage":"https://github.com/wesib/generic","repository":{"type":"git","url":"git+ssh://git@github.com/wesib/generic.git"},"license":"MIT","author":{"name":"Ruslan Lopatin","email":"ruslan.lopatin@gmail.com"},"bugs":{"url":"https://github.com/wesib/generic/issues"},"type":"module","main":"./dist/wesib.generic.js","types":"./index.d.ts","exports":"./dist/wesib.generic.js","peerDependencies":{"@proc7ts/fun-events":"^10.5.0","@wesib/wesib":"^2.0.0"},"dependencies":{"@frontmeans/dom-events":"^1.2.0","@frontmeans/dom-primitives":"^1.1.0","@frontmeans/drek":"^1.3.1","@frontmeans/namespace-aliaser":"^2.6.2","@frontmeans/render-scheduler":"^1.8.1","@proc7ts/amend":"^1.0.0","@proc7ts/context-builder":"^7.0.0","@proc7ts/context-values":"^7.0.0","@proc7ts/primitives":"^3.0.2","@proc7ts/supply":"^1.2.3"},"devDependencies":{"@jest/globals":"^27.0.6","@proc7ts/fun-events":"^10.5.0","@rollup/plugin-node-resolve":"^13.0.0","@run-z/eslint-config":"^1.3.0","@run-z/rollup-helpers":"^1.1.1","@types/jsdom":"^16.2.13","@typescript-eslint/eslint-plugin":"^4.28.2","@typescript-eslint/parser":"^4.28.2","@wesib/wesib":"^2.0.0","cross-fetch":"^3.1.4","eslint":"^7.30.0","eslint-plugin-jest":"^24.3.6","gh-pages":"^3.2.3","jest":"^27.0.6","jest-junit":"^12.2.0","jest-mock":"^27.0.6","remark-cli":"^9.0.0","remark-preset-lint-recommended":"^5.0.0","rollup":"^2.53.1","rollup-plugin-flat-dts":"^1.2.2","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","run-z":"^1.9.1","shx":"^0.3.3","ts-jest":"^27.0.3","tslib":"^2.3.0","typedoc":"^0.21.4","typescript":"^4.3.5"},"scripts":{"all":"run-z build,lint,test","build":"run-z +z --then rollup -c","ci:all":"run-z all +test/--ci/--runInBand","clean":"run-z +z --then shx rm -rf 'index.d.ts?(.map)' '*/index.d.ts?(.map)' dist target","doc":"run-z +z --then typedoc","doc:publish":"run-z doc --then gh-pages --dist target/typedoc --dotfiles","lint":"run-z + lint:md --and eslint .","lint:md":"run-z +z --then remark .","test":"run-z +z env:NODE_OPTIONS='--experimental-vm-modules --no-warnings' --then jest","z":"run-z +cmd:rollup,+cmd:typedoc,+cmd:eslint,+cmd:remark,+cmd:jest"},"gitHead":"57e5875d152c904a001a3ec236669ac20be76983","_id":"@wesib/generic@2.0.0","_nodeVersion":"14.16.0","_npmVersion":"7.17.0","dist":{"integrity":"sha512-H2CNkYv2gZGvlI9p1BE6tRX9GXRWezl1+kYmPvlpw3cMbtLf1oa/XH9S0Vosol/77R5NqoaXjn8h1LMIZHrvFQ==","shasum":"83a1caccb4c713ba913ba06b92723dff5fe7936b","tarball":"https://registry.npmjs.org/@wesib/generic/-/generic-2.0.0.tgz","fileCount":8,"unpackedSize":163326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7A+7CRA9TVsSAnZWagAABPkQAIBSpjtx9E5RTAD4X4Wu\nfvrCbA8KnFLYRDnRCc6LEWim3GCUce4vxMyT2etgZIt5skUqyhcWm+mPBpDU\nhTMt1JLPQFHo1ypNUyZNCxrkqsrf97JwEZ8+BYkfuyUw3/pCTfCI0a7jW5Xr\nMAY7wJbLrBwFugqf0DUOGRI0CRIb/rtUVWuFges0/3OV+d6NKkUkB2CDTqcG\nX4UFKrTL7x357WlkNkxVQLYxkpNib9gA1rSf8RjBtUIpgE3b6gjA/uPqBKsl\nMQ8VD5BKBJkkoLomuLMHAWhpcFxOjqfx1Bi4JOdT8/z5T/CEgg9QBzMLMCvN\nY7RmukajH7ei1WVIbGZppenUBGN3cw8iyNhCzWVG61bxQZPMSAqI7xUf2jxS\n26NoP2pVvU/IQaUy/fq5ZeCI5ZSY5xMtWX6pOYNaoYjVowgKz4NRn/+angcP\ngw8Z5ke35QSaqQOii4K5Mk+70KKARgqnshy9VyN3kQuuzFHwSSpp6ePg0UC8\n/IpOZus1U6wyn5L7L6XeNlaJexjrlkxfm3SlMoqEFhVxBSYBkToSmVTQWQlo\nxmzaianvk+AeDaGsSqQN6rE0YrHx6InWLPMc6DvstNcbN4SBZZI4xUIbrQ9z\nhEdcHHyM2SfsfCIB5mXw+/yqZjnHXrh9cH3efLQCGuCjCGDo4GPUY5wisZJN\nlDIU\r\n=ViXh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVLpFCIum0y8y3oxHROqUtoQtxE2ql01/XafvdWBmmswIhAIovEuqb9FgVCVqWYUj+pzGyi4oi9ViqIyDf5OUH4oBA"}]},"_npmUser":{"name":"lorus","email":"ruslan.lopatin@gmail.com"},"directories":{},"maintainers":[{"name":"lorus","email":"ruslan.lopatin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic_2.0.0_1626083258755_0.027647940470667542"},"_hasShrinkwrap":false},"2.0.1":{"name":"@wesib/generic","version":"2.0.1","description":"Wesib: Generic Components","keywords":["web-components"],"homepage":"https://github.com/wesib/generic","repository":{"type":"git","url":"git+ssh://git@github.com/wesib/generic.git"},"license":"MIT","author":{"name":"Ruslan Lopatin","email":"ruslan.lopatin@gmail.com"},"bugs":{"url":"https://github.com/wesib/generic/issues"},"type":"module","main":"./dist/wesib.generic.js","types":"./index.d.ts","exports":"./dist/wesib.generic.js","peerDependencies":{"@proc7ts/fun-events":"^10.5.0","@wesib/wesib":"^2.0.1"},"dependencies":{"@frontmeans/dom-events":"^1.2.0","@frontmeans/dom-primitives":"^1.1.0","@frontmeans/drek":"^1.3.1","@frontmeans/namespace-aliaser":"^2.6.2","@frontmeans/render-scheduler":"^1.8.1","@proc7ts/amend":"^1.0.0","@proc7ts/context-builder":"^7.0.1","@proc7ts/context-values":"^7.0.0","@proc7ts/primitives":"^3.0.2","@proc7ts/supply":"^1.2.3"},"devDependencies":{"@jest/globals":"^27.0.6","@proc7ts/fun-events":"^10.5.0","@rollup/plugin-node-resolve":"^13.0.0","@run-z/eslint-config":"^1.3.0","@run-z/rollup-helpers":"^1.1.1","@types/jsdom":"^16.2.13","@typescript-eslint/eslint-plugin":"^4.28.3","@typescript-eslint/parser":"^4.28.3","@wesib/wesib":"^2.0.1","cross-fetch":"^3.1.4","eslint":"^7.30.0","eslint-plugin-jest":"^24.3.6","gh-pages":"^3.2.3","jest":"^27.0.6","jest-junit":"^12.2.0","jest-mock":"^27.0.6","remark-cli":"^9.0.0","remark-preset-lint-recommended":"^5.0.0","rollup":"^2.53.2","rollup-plugin-flat-dts":"^1.2.2","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","run-z":"^1.9.1","shx":"^0.3.3","ts-jest":"^27.0.3","tslib":"^2.3.0","typedoc":"^0.21.4","typescript":"^4.3.5"},"scripts":{"all":"run-z build,lint,test","build":"run-z +z --then rollup -c","ci:all":"run-z all +test/--ci/--runInBand","clean":"run-z +z --then shx rm -rf 'index.d.ts?(.map)' '*/index.d.ts?(.map)' dist target","doc":"run-z +z --then typedoc","doc:publish":"run-z doc --then gh-pages --dist target/typedoc --dotfiles","lint":"run-z + lint:md --and eslint .","lint:md":"run-z +z --then remark .","test":"run-z +z env:NODE_OPTIONS='--experimental-vm-modules --no-warnings' --then jest","z":"run-z +cmd:rollup,+cmd:typedoc,+cmd:eslint,+cmd:remark,+cmd:jest"},"gitHead":"a17aba27def1cb3f71fcc9db33ae5d862f38ef7f","_id":"@wesib/generic@2.0.1","_nodeVersion":"14.16.0","_npmVersion":"7.17.0","dist":{"integrity":"sha512-8KbieVJzW48UUn2UE7/SHJiDNkIx811qkAete1AKU5mWyHiJkLcqrCgfY2rzypQMqm1IJJJxYJebjlgLjbVukQ==","shasum":"337326a63a68daa06d7cc2392df01dc29fd45790","tarball":"https://registry.npmjs.org/@wesib/generic/-/generic-2.0.1.tgz","fileCount":8,"unpackedSize":163326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8EhgCRA9TVsSAnZWagAA9+0P/3xObE4fSxD/McDmw1D0\nujpqtLY1B07L05JmmQAj6JT6V2MwMXtv0/DAJfD0H7U9vkCXkGH1c6+Qojzw\nDTC4NCaRVG3fvi3zrgT3BRdcm9NF1THHZy3euo2KQaK3EuxF5jpjizbC4a+j\niwjTUkG3dfxgj4NCDdJ5aErFlO+Uga/32QwIA1jgPPhM7ppdII+y2yemeMYx\ndNbYyevp62QaHnVKCQblS0dIhBdRXQyE+MK6y+4RIJmfE9BrfWuaNyFKys+q\nfbBMa4SisdLqhaGeN0lpi6EF1UuEmXMgyp9yaWEN6WtvwqnzOjEOIcGdOqw9\ndb+ldBznLbcXvNQzREb1Kv3Wg/TeA0/Kz28Kvvhc+YqJsX44Kg9zEFVaF/Qg\ns9LEuWn/tgeNZ8yUSl6i5tXmavaXKaZlt8xClc7hPbh6+ROV2EsPaBa0lILu\nv8wvedsG/bUpCaThafYtJa9P5gYoS9v1E0CdP6tbOlxO80iKmxekjTksA06g\nFKtVDtkADFh7IVymyh6d7kdlMnekV9dHwiBGw0v2vRzv63/iMJCqcCEtpXQv\ng/S6CUX+WB1DaAL2ohp9Hlxe1k3N/GsmIS/BHIHY+8atLVFELoG/qgrzt40u\nwKRc2QXnQeffDYNHx6IEVsIPOwU4MR1keGPmsNF68xwSjqM0ZR/tT4FAffjz\n54BQ\r\n=IsbJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHIcTiYdORZOGBkfDr/MhGCgy/aZzA7hGAe5i83PDXtlAiB+6FXkyi5l9WLi3EQg6BV2i1gpMZUOlZxGDNH6Q55NWA=="}]},"_npmUser":{"name":"lorus","email":"ruslan.lopatin@gmail.com"},"directories":{},"maintainers":[{"name":"lorus","email":"ruslan.lopatin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic_2.0.1_1626359904395_0.9987824507910572"},"_hasShrinkwrap":false},"2.0.2":{"name":"@wesib/generic","version":"2.0.2","description":"Wesib: Generic Components","keywords":["web-components"],"homepage":"https://github.com/wesib/generic","repository":{"type":"git","url":"git+ssh://git@github.com/wesib/generic.git"},"license":"MIT","author":{"name":"Ruslan Lopatin","email":"ruslan.lopatin@gmail.com"},"bugs":{"url":"https://github.com/wesib/generic/issues"},"type":"module","types":"./dist/wesib-generic.d.ts","exports":{"types":"./dist/wesib-generic.d.ts","default":"./dist/wesib-generic.js"},"peerDependencies":{"@proc7ts/fun-events":"^10.5.2","@wesib/wesib":"^2.0.2"},"dependencies":{"@frontmeans/dom-events":"^1.2.0","@frontmeans/dom-primitives":"^1.1.0","@frontmeans/drek":"^1.3.1","@frontmeans/namespace-aliaser":"^2.6.2","@frontmeans/render-scheduler":"^1.8.1","@proc7ts/amend":"^1.0.0","@proc7ts/context-builder":"^7.0.1","@proc7ts/context-values":"^7.1.0","@proc7ts/primitives":"^3.0.2","@proc7ts/supply":"^1.2.3"},"devDependencies":{"@jest/globals":"^29.4.1","@proc7ts/fun-events":"^10.5.2","@run-z/eslint-config":"^3.3.1","@run-z/prettier-config":"^2.0.0","@run-z/project-config":"^0.15.0","@swc/core":"^1.3.29","@swc/jest":"^0.2.24","@typescript-eslint/eslint-plugin":"^5.49.0","@typescript-eslint/parser":"^5.49.0","@wesib/wesib":"^2.0.2","cross-fetch":"^3.1.5","eslint":"^8.32.0","eslint-plugin-jest":"^27.2.1","gh-pages":"^5.0.0","jest":"^29.4.1","jest-environment-jsdom":"^29.4.1","jest-junit":"^15.0.0","jest-mock":"^29.4.1","prettier":"^2.8.3","prettier-eslint-cli":"^7.1.0","rollup":"^3.11.0","run-z":"^1.11.0","ts-jest":"^29.0.5","tslib":"^2.5.0","typedoc":"^0.23.24","typescript":"~4.9.4"},"scripts":{"all":"run-z build,lint,test","build":"run-z +z --then build-z","ci:all":"run-z all +test/--ci/--runInBand","clean":"run-z +z --then clean-z","doc":"run-z +z --then typedoc","doc:publish":"run-z doc --then gh-pages --dist target/typedoc --dotfiles","format":"run-z +z --then prettier-eslint --write --include-dot-files \"src/**/*.*\" \"*.{js,cjs,json,md}\"","lint":"run-z +z --then eslint .","test":"run-z +z env:NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" --then test-z","z":"run-z +cmd:build-z,+cmd:typedoc,+cmd:eslint,+cmd:test-z"},"_id":"@wesib/generic@2.0.2","_integrity":"sha512-IhGWQlXAFTki8LjSRp3vNs0eFpjgAZzV26zMuK18+TIm6jgae0galG+mkZg+sA2ntUAoFOiuyf0Kfydv5PV5yw==","_resolved":"/tmp/8bc1eb397e8c9ce11a72f2ca021a45c9/wesib-generic-2.0.2.tgz","_from":"file:wesib-generic-2.0.2.tgz","_nodeVersion":"18.13.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-IhGWQlXAFTki8LjSRp3vNs0eFpjgAZzV26zMuK18+TIm6jgae0galG+mkZg+sA2ntUAoFOiuyf0Kfydv5PV5yw==","shasum":"62de4fe4bb17c66a241f08080c171ba2dfdc1d15","tarball":"https://registry.npmjs.org/@wesib/generic/-/generic-2.0.2.tgz","fileCount":7,"unpackedSize":107731,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICFVcwvEB4jouCEZRGoccx9l8Q3onWcpn0eypmTJalSHAiBWwj8/71mOm86pdJwsAgPBglPlcTqfPodfm1M78agCdw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj07CtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqR7Q/+PgpiXBkMcGLXqgPlXJ4Na1e3/AtXHZdRrY37ENQXb+11FQ+q\r\nfLykpPuL39fivg3agIou/x6ds85dyI+iPrMcXe+IEj0Kwf0PQ9XIjbeUO2aW\r\nvXhCHHbm+nA5QK8x6Is7+cURcPBPqjN9pd9YXi1VDuLA82r/IztUKOtMGEn5\r\nwBhY+x5a8MOLDlG2XRwqvsDXDGkljGNBPYN+1vHeCAyBMF0R/khNKw1LGBUv\r\n+upae7FXu44pmoSerwvCykMk+O7GChHF3YY1L7a8S9igMi2kysDA8+6O1jQv\r\nODYFYWxXETqz44toFMjozS2V5fPnd4f9Ddbs+DHablcastkVHAFXfzkzZopC\r\ne2zanFFItAqLW+nrT29Y4aPCjT0rGbh9FwpyrPzkOsLTkTVGifWrpmstMdMN\r\nJPLPwIjeGQTjEJO3XSyUHBpn9NIudnqcMCioW1q8lYot8ugkBVCI7bZ+QF2S\r\n6XMLFyeWd3ynL0RzGTKUpt9nbwRGKYg5ixsxawHvOyPhQ9zEzxzu+yI1WVEj\r\nDETs6PAIXagRdoP+paFZ1SWrn7NkTkfgrS02X8nWInQdmauvWba+poiN5JO/\r\nnhdmdE8gRoKMrAZHT30w/L9pyiT2Z4YjpbSsiMVyXIfXbw7tuOWkDFY/oPsw\r\njW662Wgjr0ZQVAZldjZ4VaRlVedBaMgTm8U=\r\n=l5G+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"lorus","email":"ruslan.lopatin@gmail.com"},"directories":{},"maintainers":[{"name":"lorus","email":"ruslan.lopatin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic_2.0.2_1674817709135_0.3904918350366935"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-23T04:56:51.065Z","1.0.0-alpha.4":"2018-12-23T04:56:51.377Z","modified":"2023-01-27T11:08:29.454Z","1.0.0-alpha.6":"2019-01-01T08:58:24.912Z","1.0.0-alpha.7":"2019-01-10T05:28:43.171Z","1.0.0-alpha.8":"2019-01-11T09:47:49.415Z","1.0.0-alpha.9":"2019-01-19T10:54:31.494Z","1.0.0-alpha.11":"2019-02-17T10:14:50.827Z","1.0.0-alpha.12":"2019-02-26T07:02:08.263Z","1.0.0-alpha.13":"2019-03-05T09:12:02.364Z","1.0.0-alpha.14":"2019-03-06T06:09:09.801Z","1.0.0-alpha.15":"2019-03-12T10:58:23.730Z","1.0.0-alpha.16":"2019-03-18T04:36:28.752Z","1.0.0-alpha.17":"2019-03-30T07:30:39.216Z","1.0.0-alpha.18":"2019-03-31T04:34:35.826Z","1.0.0-alpha.19":"2019-04-28T09:03:08.442Z","1.0.0-alpha.20":"2019-04-29T08:03:52.174Z","1.0.0-alpha.21":"2019-04-30T14:42:11.232Z","1.0.0-alpha.22":"2019-04-30T14:48:59.962Z","1.0.0-alpha.23":"2019-05-01T13:34:39.807Z","1.0.0-alpha.25":"2019-05-17T10:13:05.284Z","1.0.0-alpha.26":"2019-05-18T05:03:04.020Z","1.0.0-alpha.27":"2019-05-31T07:03:07.757Z","1.0.0-alpha.28":"2019-06-10T04:21:32.823Z","1.0.0-alpha.29":"2019-07-15T12:34:31.821Z","1.0.0-alpha.30":"2019-08-05T06:26:11.958Z","1.0.0-alpha.31":"2019-08-13T07:01:16.524Z","1.0.0-alpha.32":"2019-08-22T07:09:44.513Z","1.0.0-alpha.33":"2019-09-03T10:16:44.697Z","1.0.0-alpha.35":"2019-09-07T08:07:41.012Z","1.0.0-alpha.36":"2019-09-08T03:56:13.576Z","1.0.0-alpha.37":"2019-09-28T04:53:26.373Z","1.0.0-alpha.39":"2019-10-28T12:02:12.962Z","1.0.0-alpha.40":"2019-11-06T09:53:00.770Z","1.0.0-alpha.41":"2019-11-13T09:03:18.042Z","1.0.0-alpha.42":"2019-11-14T11:16:46.720Z","1.0.0-alpha.43":"2019-11-14T11:35:44.041Z","1.0.0-alpha.44":"2019-11-20T08:02:08.667Z","1.0.0-alpha.45":"2019-11-24T07:20:22.075Z","1.0.0-alpha.46":"2019-11-25T09:57:49.285Z","1.0.0-alpha.47":"2019-12-02T02:51:38.353Z","1.0.0-alpha.48":"2019-12-02T07:05:35.172Z","1.0.0-alpha.49":"2019-12-02T10:40:16.489Z","1.0.0-alpha.50":"2019-12-02T11:10:19.359Z","1.0.0-alpha.51":"2019-12-03T04:36:11.333Z","1.0.0-alpha.52":"2019-12-08T11:11:41.919Z","1.0.0-alpha.53":"2019-12-09T02:49:35.392Z","1.0.0-alpha.54":"2019-12-15T09:15:47.936Z","1.0.0-alpha.55":"2019-12-24T06:09:36.214Z","1.0.0-alpha.56":"2019-12-26T10:45:26.692Z","1.0.0-alpha.59":"2019-12-30T06:36:58.875Z","1.0.0-alpha.60":"2019-12-31T08:12:19.990Z","1.0.0-alpha.61":"2020-01-01T10:29:19.707Z","1.0.0-alpha.62":"2020-01-07T09:20:44.001Z","1.0.0-alpha.63":"2020-01-07T11:08:42.434Z","1.0.0-alpha.64":"2020-01-07T14:50:56.144Z","1.0.0-alpha.65":"2020-01-14T07:06:53.668Z","1.0.0-alpha.66":"2020-01-18T05:28:39.905Z","1.0.0-alpha.67":"2020-01-19T09:09:23.872Z","1.0.0-alpha.68":"2020-01-24T07:14:35.308Z","1.0.0-alpha.69":"2020-01-24T07:43:06.993Z","1.0.0-alpha.70":"2020-01-24T09:18:22.297Z","1.0.0-alpha.71":"2020-01-28T08:21:22.542Z","1.0.0-alpha.72":"2020-01-29T05:08:56.515Z","1.0.0-alpha.75":"2020-02-05T07:19:29.432Z","1.0.0-alpha.76":"2020-02-05T07:43:35.131Z","1.0.0-alpha.77":"2020-02-05T07:59:12.284Z","1.0.0-alpha.78":"2020-02-07T11:06:00.065Z","1.0.0-alpha.79":"2020-02-16T03:48:20.800Z","1.0.0-alpha.80":"2020-02-16T04:13:17.545Z","1.0.0-alpha.81":"2020-02-16T10:07:50.812Z","1.0.0-alpha.82":"2020-02-16T10:27:27.076Z","1.0.0-alpha.83":"2020-02-18T04:34:10.675Z","1.0.0-alpha.84":"2020-02-21T03:39:24.106Z","1.0.0-alpha.88":"2020-02-27T09:31:33.400Z","1.0.0-alpha.90":"2020-03-02T09:03:38.129Z","1.0.0-alpha.91":"2020-03-03T10:22:04.221Z","1.0.0-alpha.96":"2020-03-07T13:19:19.375Z","1.0.0-alpha.97":"2020-03-14T06:59:17.954Z","1.0.0-alpha.98":"2020-03-15T07:16:27.048Z","1.0.0-alpha.99":"2020-03-22T06:48:21.484Z","1.0.0-alpha.100":"2020-03-31T07:33:19.397Z","1.0.0-beta.0":"2020-04-11T07:03:55.416Z","1.0.0-beta.1":"2020-04-21T11:55:23.529Z","1.0.0-beta.2":"2020-05-05T05:54:37.505Z","1.0.0-beta.3":"2020-05-07T05:51:17.429Z","1.0.0-beta.7":"2020-05-10T11:28:53.950Z","1.0.0-beta.8":"2020-05-11T10:14:28.832Z","1.0.0-beta.9":"2020-05-13T04:15:37.979Z","1.0.0-beta.10":"2020-05-19T05:25:27.659Z","1.0.0-beta.11":"2020-05-23T13:03:43.101Z","1.0.0-beta.12":"2020-05-26T07:38:36.825Z","1.0.0-beta.15":"2020-05-31T08:06:08.374Z","1.0.0-beta.16":"2020-08-26T06:08:55.534Z","1.0.0-beta.17":"2020-10-01T08:12:07.607Z","1.0.0-beta.18":"2020-10-10T09:56:28.903Z","1.0.0-beta.19":"2020-10-11T07:22:03.764Z","1.0.0-beta.20":"2020-11-10T09:18:33.438Z","1.0.0-beta.22":"2020-11-26T10:15:39.373Z","1.0.0-beta.23":"2020-12-01T05:41:04.224Z","1.0.0-beta.24":"2020-12-02T09:43:27.801Z","1.0.0-beta.25":"2020-12-20T09:41:37.752Z","1.0.0-beta.26":"2021-01-10T10:12:24.009Z","1.0.0-beta.27":"2021-01-12T05:11:23.338Z","1.0.0-beta.28":"2021-01-16T08:12:48.860Z","1.0.0-beta.30":"2021-02-13T09:45:32.934Z","1.0.0-beta.32":"2021-02-21T11:32:14.876Z","1.0.0-beta.33":"2021-02-26T12:12:13.222Z","1.0.0-beta.34":"2021-03-02T11:14:14.593Z","1.0.0-beta.35":"2021-03-05T09:31:27.926Z","1.0.0-beta.36":"2021-03-11T13:15:47.686Z","1.0.0-beta.37":"2021-03-22T11:02:58.775Z","1.0.0-beta.38":"2021-04-05T11:10:03.785Z","1.0.0-beta.39":"2021-04-15T10:46:52.545Z","1.0.0-beta.40":"2021-04-21T10:48:25.286Z","1.0.0-beta.41":"2021-04-25T06:13:39.498Z","1.0.0-beta.42":"2021-05-19T15:12:16.570Z","1.0.0-beta.43":"2021-05-21T08:12:30.442Z","1.0.0-beta.44":"2021-05-27T12:34:52.364Z","1.0.0":"2021-05-31T16:15:45.529Z","2.0.0-dev.0":"2021-07-11T11:05:28.353Z","2.0.0":"2021-07-12T09:47:38.873Z","2.0.1":"2021-07-15T14:38:24.546Z","2.0.2":"2023-01-27T11:08:29.345Z"},"maintainers":[{"name":"lorus","email":"ruslan.lopatin@gmail.com"}],"description":"Wesib: Generic Components","homepage":"https://github.com/wesib/generic","keywords":["web-components"],"repository":{"type":"git","url":"git+ssh://git@github.com/wesib/generic.git"},"author":{"name":"Ruslan Lopatin","email":"ruslan.lopatin@gmail.com"},"bugs":{"url":"https://github.com/wesib/generic/issues"},"license":"MIT","readme":"# Wesib: Generic Components\n\n[![NPM][npm-image]][npm-url]\n[![Build Status][build-status-img]][build-status-link]\n[![Code Quality][quality-img]][quality-link]\n[![Coverage][coverage-img]][coverage-link]\n[![GitHub Project][github-image]][github-url]\n[![API Documentation][api-docs-image]][api-docs-url]\n\n[npm-image]: https://img.shields.io/npm/v/@wesib/generic.svg?logo=npm\n[npm-url]: https://www.npmjs.com/package/@wesib/generic\n[build-status-img]: https://github.com/wesib/generic/workflows/Build/badge.svg\n[build-status-link]: https://github.com/wesib/generic/actions?query=workflow:Build\n[quality-img]: https://app.codacy.com/project/badge/Grade/0fe115c6ca67457dbf8abfa5f2376ab4\n[quality-link]: https://www.codacy.com/gh/wesib/generic/dashboard?utm_source=github.com&utm_medium=referral&utm_content=wesib/generic&utm_campaign=Badge_Grade\n[coverage-img]: https://app.codacy.com/project/badge/Coverage/0fe115c6ca67457dbf8abfa5f2376ab4\n[coverage-link]: https://www.codacy.com/gh/wesib/generic/dashboard?utm_source=github.com&utm_medium=referral&utm_content=wesib/generic&utm_campaign=Badge_Coverage\n[github-image]: https://img.shields.io/static/v1?logo=github&label=GitHub&message=project&color=informational\n[github-url]: https://github.com/wesib/generic\n[api-docs-image]: https://img.shields.io/static/v1?logo=typescript&label=API&message=docs&color=informational\n[api-docs-url]: https://wesib.github.io/generic/\n\n## Component Shares\n\nShares allow enclosing component to share and update some data with nested ones.\n\nTo share something:\n\n1. Create a `Share` class (or its subclass) instance.\n\n   ```typescript\n   import { Share } from '@wesib/generic';\n\n   const MyShare = new Share<MyData>('my-share');\n   ```\n\n2. Amend enclosing component's property containing a data to share with `@Shared()` decorator:\n\n   ```typescript\n   import { Shared } from '@wesib/generic';\n   import { Component } from '@wesib/wesib';\n\n   @Component('my-container')\n   class MyContainerComponent {\n     @Shared(MyShare)\n     mySharedData?: MyData;\n\n     // Update the `mySharedData` property when the data is ready to be shared.\n   }\n   ```\n\n3. Consume the shared data in nested component.\n\n   ```typescript\n   import { AfterEvent } from '@proc7ts/fun-events';\n   import { Component, ComponentContext } from '@wesib/wesib';\n\n   @Component('my-nested')\n   class MyNestedComponent {\n     readonly myContainerData: AfterEvent<[MyShare?]>;\n\n     constructor(context: ComponentContext) {\n       this.myContainerData = MyShare.valueFor(context);\n     }\n\n     // Consume shared data when it is reported by `myContainerData`.\n   }\n   ```\n\nThe sharing mechanism works despite sharer and consumer components instantiation order.\n\n## Buffered Fragment Rendering\n\nBuffered rendering is useful when there is a lot of content to add to the page. This content may even contain nested\ncomponents.\n\nFor the sake of performance, it is reasonable to add such content to [DocumentFragment] first, initialize nested\ncomponents, and then add already rendered fragment to the document. E.g. using [requestAnimationFrame].\n\nA `@RenderFragment()` amendment (and decorator) handle this:\n\n```typescript\nimport { Attribute, Component } from '@wesib/wesib';\nimport { FragmentRendererExecution, RenderFragment } from '@wesib/generic';\n\n@Component('my-list')\nclass MyList {\n  /**\n   * Declares `item-list` attribute.\n   *\n   * Contains comma-separated `name=value` pairs.\n   */\n  @Attribute()\n  itemList: string = '';\n\n  /**\n   * Renders item list.\n   *\n   * This method will be called each time the `item-list` attribute updated.\n   */\n  @RenderFragment()\n  render({ content }: FragmentRendererExecution) {\n    // `content` is a `DocumentFragment` instance.\n    // This method fills this `content` on each call.\n    // The `content` will be added to the document at proper time.\n    const ul = content.appendChild(document.createElement('ul'));\n\n    for (const item of this.itemList.split(',')) {\n      const [name, value] = item.split(item, '=');\n      const li = ul.appendChild(document.createElement('li'));\n\n      // Each `my-item` component will be settled after this method call, and _before_ it is added to the document.\n      // If `my-item` renders its own content, this content will be added to this component's `content` fragment,\n      // rather directly to document.\n      const link = li.appendChild(document.createelement('my-item'));\n\n      link.setAttribute('name', name);\n      link.setAttribute('value', value);\n    }\n  }\n}\n```\n\n[documentfragment]: https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment\n[requestanimationframe]: https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame\n\n## HTTP Fetch\n\nAn `HttpFetch` is a function available is bootstrap context. It resembles the [Fetch API], but returns an `OnEvent`\nevent sender, that sends a `Response` event(s), rather a promise resolving to the one.\n\nAn `HttpFetchAgent` can be provided in bootstrap context to intercept HTTP requests. E.g. to modify the request and/or\nresponse.\n\n[fetch api]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API\n","readmeFilename":"README.md"}