{"_id":"@advanced-rest-client/environment-selector","_rev":"13-909b822661e67fb3654e15e606d00c45","name":"@advanced-rest-client/environment-selector","dist-tags":{"latest":"3.0.2"},"versions":{"3.0.0-preview.1":{"name":"@advanced-rest-client/environment-selector","version":"3.0.0-preview.1","keywords":["web-components","polymer"],"license":"Apache-2.0","_id":"@advanced-rest-client/environment-selector@3.0.0-preview.1","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/environment-selector#readme","bugs":{"url":"https://github.com/advanced-rest-client/environment-selector/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"ef06ddfb5f14032a9c65bfe0bec7df6a7d8fefa3","tarball":"https://registry.npmjs.org/@advanced-rest-client/environment-selector/-/environment-selector-3.0.0-preview.1.tgz","fileCount":6,"integrity":"sha512-tb3UwD7jUSUV/2c63gAuQ5Xi5gcVMy1KdyxKbkgNkuJv9mjQGXpBigTRpGp9n9ZDomacY1qsZ0wWk+vR4YT88Q==","signatures":[{"sig":"MEUCIFh7ywsMc0IAaz4M/K3WfVJNSHrbXnB7ZwtDACSYPgyuAiEAmUbP4ujDntv6vvXtNUWCTZfd2T9bjYcfFH702Ed7aHI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnxFQCRA9TVsSAnZWagAAR3YP/1KiVegGWpS+ZhabWJzK\nFwYlHF3+5m5TschfvY2t0fa6kjard9MAk40BD+OizCjbAY5L7scRQbq7KZLr\n7DgU7bUs6hnEmziB0D/h/Q99cI8ZOhoOgEoEiMbgWULq1j/vTGy2I1FgDovJ\ndzTsde/QOIXvcrLENDqzhGSTh4Z+h2eE/b3Zc/EOZrAbwkajS/I6NjIazCkU\noiJYIUYehPuVA3AUutmpy8bCbtLvC3LH6qJdEgwKLUd87WUBGnADvoqnpFpB\nW5pRJ/zIrA9ysg1SbxIaGhpTsrQ+qX7XlppZNF/hP+FqBjYMjlBfOZOcAJUx\nZH9GSLjhXX0Dm8/YiNQ7RWxdaRIdTEnyLGuNqJ5csDzwRnRRdCNnn5ngv+5A\nRVYIeAOOnqmtYw8vDkhEIIvIetjuIgtbhjp2xFWd1Uud2ZNkJ/rKvW+fRcDo\nrs/O03wosYfvT2ohQ5Ur25LvVkJcZ/Aq+z5jLtil6WOiyj/ojYmu2bxKfVeR\nxX9UyAVIxQsuzneMNOqt4OEL//EYYNEyezwwom4uhoW/p9Yk2V0bpN+ORaM7\nUpoz9ae5KxKoArS6+/4yBFY1GG8p5kL8ltfPEXfVj4webTHcofKVCtL3mCx2\nBqTSAJUoV5ywdj08dsqht7DkDzCYD+U/EKR0FHF7su2iJthdxMjVB333As74\n1HdA\r\n=ceDG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"environment-selector.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"fea2b360a6575bf6f1eb3d998146c792b0e1f581","scripts":{"lint":"polymer lint environment-selector.html","test":"polymer test --plugin local","test-sauce":"polymer test --plugin sauce --job-name \"environment-selector:local-test\"","update-types":"gen-typescript-declarations --deleteExisting --outDir ."},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git://github.com/advanced-rest-client/environment-selector.git","type":"git"},"_npmVersion":"6.9.0","description":"An element to select current variables environment","directories":{},"_nodeVersion":"10.15.3","dependencies":{"@polymer/polymer":"^3.0.0","@polymer/paper-item":"^3.0.0","@polymer/paper-listbox":"^3.0.0","@polymer/paper-dropdown-menu":"^3.0.0","@advanced-rest-client/variables-consumer-mixin":"^3.0.0-preview.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^5.2.0","sinon":"^7.2.3","pouchdb":"^7.0.0","wct-mocha":"^1.0.0","web-animations-js":"^2.3.1","@polymer/test-fixture":"^4.0.2","@polymer/iron-demo-helpers":"^3.0.0","@polymer/iron-test-helpers":"^3.0.0","@polymer/iron-component-page":"^4.0.0","@webcomponents/webcomponentsjs":"^2.0.0","@advanced-rest-client/arc-models":"^3.0.0-preview.2","@polymer/gen-typescript-declarations":"^1.6.0","@advanced-rest-client/variables-manager":"^3.0.0-preview.1"},"_npmOperationalInternal":{"tmp":"tmp/environment-selector_3.0.0-preview.1_1553928528146_0.5717555444605451","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@advanced-rest-client/environment-selector","version":"3.0.0","keywords":["web-components","advanced-rest-clinet","environment","selector"],"license":"Apache-2.0","_id":"@advanced-rest-client/environment-selector@3.0.0","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/environment-selector#readme","bugs":{"url":"https://github.com/advanced-rest-client/environment-selector/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"ecdbb2fdf3c0088255252b58d689ab58bee7fc03","tarball":"https://registry.npmjs.org/@advanced-rest-client/environment-selector/-/environment-selector-3.0.0.tgz","fileCount":6,"integrity":"sha512-/YyEnsuBniLxPganexoAAZ9z1ZqPg186Uc0ATrdldVytuRc50y6dtYAKLNOZAJjgFx9MDDQs7fg+bJAFjrojGQ==","signatures":[{"sig":"MEUCIQCcdLIs0vSypEFI/3q/HYM5CY+dlFy+3lHSerlNdP2YngIgXfxhGByc7ftjzajDuQHMVSidcelfqfn1/mDzrXTnkJY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdRIrYCRA9TVsSAnZWagAAvbgQAIqM2i9j7SrCBs2yEbYo\ntXUczNk9WnWRdrm4yUunW3vqRK8Xg+k3BAkIKhklYRL44N9WxA3yDyXu/VkV\n4r+Q6el8qmW4Xyj1mJolt1p/x/diziRxkNNLa+v7KHr0Fu/EJuTfRmRV8q8f\nfkmkZMWWTomU4fudcYRsX3+lu4IxcdzSge1+ZdXs26wzSDc6iHrBKIn2lXRn\nV9lA/iPoJcmum15clEQNbc5BS3c+sUz4scjiYFxtHyJpjAFXGOcAmrH/wrxR\n4sJr09RuJWLLxe0lLo3hgWcLM5IV7xykdOGymxnv6F6hKv4eZIdOF3s80pr1\nd5qG2OaunOYyfNRQb+XgXyYNSbr/jC9L7vtQzuptNzKk4ExrjYnzMXXTyfC2\njIG+cZgtSlpdNnTOje89ttf0QeTH1ElkW38MExh4LUIJKLJY9NmjKZQC8AFY\nHp0yofPI58gx/yVz2FWpb/4NtXHZ6H1WamJgrBx7pc+HPztrwngnuvRAJ0Zo\nedmZPrPU1Mo8BMFrnfmT7yrbZ/d3Totytw+4qlbMe1LDaIyoKCN0n/OlCTlK\nXKO+Qmt7jt5r6WkRkbbL3WvYI5hGFUJ8qfXIvL/yRdJfAzWhK6GmMT++QdcT\nkhPgyjATabOILrDnXbN5SeoDMDXOQlKmXlntD/M6IxMztpj8ZQIEkZpkDI82\navRD\r\n=EG3h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"environment-selector.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"43c55c18c674312bd56cc470917b6078c9ae9f2b","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","test:sl":"karma start karma.sl.config.js --legacy --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","test:legacy":"karma start --legacy --coverage","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","generate-model":"node demo/model.js","format:prettier":"prettier \"**/*.js\" --write","test:legacy:watch":"karma start --legacy --auto-watch=true --single-run=false","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"deprecated":"This component is deprecated","repository":{"url":"git://github.com/advanced-rest-client/environment-selector.git","type":"git"},"_npmVersion":"6.10.2","description":"An element to select current variables environment","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"10.15.3","dependencies":{"lit-element":"^2.2.1","@polymer/paper-item":"^3.0.0","@polymer/paper-listbox":"^3.0.0","@polymer/paper-dropdown-menu":"^3.0.0","@advanced-rest-client/variables-consumer-mixin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^1.0.0","karma":"^4.2.0","sinon":"^7.3.2","deepmerge":"^4.0.0","lint-staged":"^9.2.1","es-dev-server":"^1.8.3","@commitlint/cli":"^8.1.0","@open-wc/testing":"^2.2.1","web-animations-js":"^2.3.2","@open-wc/testing-karma":"^3.1.5","@commitlint/config-conventional":"^7.0.0","@advanced-rest-client/arc-models":"^3.0.0-preview.7","@advanced-rest-client/eslint-config":"^1.0.6","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.9","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.0.3","@advanced-rest-client/variables-manager":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-selector_3.0.0_1564773079837_0.20386804513851664","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@advanced-rest-client/environment-selector","version":"3.0.1","keywords":["web-components","advanced-rest-clinet","environment","selector"],"license":"Apache-2.0","_id":"@advanced-rest-client/environment-selector@3.0.1","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/environment-selector#readme","bugs":{"url":"https://github.com/advanced-rest-client/environment-selector/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"a4938cbe4f6332da122f69204701cb0725f46a50","tarball":"https://registry.npmjs.org/@advanced-rest-client/environment-selector/-/environment-selector-3.0.1.tgz","fileCount":6,"integrity":"sha512-Y0TUIbRMbdrCGwFaPLYkRxMGcOpy90HK+hVN1lf8PmuocFHU/VKdLoXynKoafV0coOfdUHgNglBlW0odOWxBzg==","signatures":[{"sig":"MEQCICPOLdbOUmkMDUXO93/Ce4aZiqJbGp42wDjHXrWLaE0+AiB/gAds5gLdsQmPnC+r11Omc1q00EIUXYvTVxnMw8GSfg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44411,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdemUUCRA9TVsSAnZWagAAAhoP+wR9m7giAnIBwjf3VaeO\ncWKAsk4nlVZq2RABVEs0Fi58/WdmcThcZulFPH1npDHiNg4WTxOQ2zEj/udX\ny8yB9GchIFWV+s8kE+9RqB0NwNwL1Eqh415RL3pyfjLYq7+WPjZg9eDe2i7Z\npoBeKKqWrB/ad47M36Nc5HCibZbRgEPlNU1u/cin2sbkDCReA1edRZB8nAro\nIZSN6MwdNE7BbakrYviLvmtnpx3LC7vv6OupAkwiPCbfjUGtCcKz4pXZjK1I\nvI8opuIzbs5VslvDtiUaakX64TkNLEwNrIdQ3HclVF8FWQJIfsnlWu5YulbF\nkw2pHWhkF8D/NuA8u6alORhggs0wHAj0ikBenn5+Yu41MN72Do1bJjBspOgs\nhXVFuWIjXgLLcUVSus2g3gK6ZDWy4YflEj7N7NOVC4YrHevja5bcoSqSU51d\n58WhSd377oyT0dHBJKmLGYpvoGhL2QfVoA8GF34W0Dnf5ZVmb7GenFqVCJcq\nKjfAFwJjUTOyxxKd54QlNWUS0uG+4Lj1tC4hhskXAhqxHOQQgEtpXTK0qCB4\nA9YzJMHMZjpfW+prfVvzMjMRGpw3XeiR0+pGtXh0/t22D7eegqf7CTLuV4UO\ng0iYGcZ5+eObbdMzW4hGVRTivJXI4yo+K/2HnjBJWm6ZLoyh7gbOgjH2u2vH\n2QvH\r\n=p2OO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"environment-selector.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"6896fd7f517c74e507bc9ad07bc77c51a0bec930","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","test:sl":"karma start karma.sl.config.js --compatibility all --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","test:legacy":"karma start --compatibility all --coverage","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","format:prettier":"prettier \"**/*.js\" --write","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"deprecated":"This component is deprecated","repository":{"url":"git://github.com/advanced-rest-client/environment-selector.git","type":"git"},"_npmVersion":"6.11.3","description":"An element to select current variables environment","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"10.15.3","dependencies":{"lit-element":"^2.2.1","@anypoint-web-components/anypoint-item":"^1.0.4","@anypoint-web-components/anypoint-listbox":"^1.0.3","@advanced-rest-client/variables-consumer-mixin":"^3.0.3","@anypoint-web-components/anypoint-dropdown-menu":"^0.1.10"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^1.0.0","karma":"^4.3.0","sinon":"^7.4.1","deepmerge":"^4.0.0","lint-staged":"^9.2.5","es-dev-server":"^1.17.1","@commitlint/cli":"^8.1.0","@open-wc/testing":"^2.3.3","web-animations-js":"^2.3.2","@open-wc/testing-karma":"^3.1.31","@commitlint/config-conventional":"^7.0.0","@advanced-rest-client/arc-models":"^3.0.0-preview.11","@advanced-rest-client/eslint-config":"^1.1.2","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.14","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.0.4","@advanced-rest-client/variables-manager":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-selector_3.0.1_1568302355613_0.4421560096865247","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@advanced-rest-client/environment-selector","version":"3.0.2","keywords":["web-components","advanced-rest-clinet","environment","selector"],"license":"Apache-2.0","_id":"@advanced-rest-client/environment-selector@3.0.2","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/environment-selector#readme","bugs":{"url":"https://github.com/advanced-rest-client/environment-selector/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"0f713d1f708463a97a5925b8760f9df145437676","tarball":"https://registry.npmjs.org/@advanced-rest-client/environment-selector/-/environment-selector-3.0.2.tgz","fileCount":6,"integrity":"sha512-wWifjHyppkx9sZ94NW9D0yDs5cqEFA0Cq0wkQ3IzDn+87Hu81E57PXSJSODrQiNT4CCHzL9ajVW3G9uptE2+xw==","signatures":[{"sig":"MEYCIQCIsoeCngcJ+nEmRL+nwjYuUzrTJCiRjqq1fpVXs14v0AIhAPwZbXTC5n0syBBbm2HEqA9ER+wYOt7uS32AtpvZZSM9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk9rwCRA9TVsSAnZWagAASYsP/1jbe4SyYxAZ8E23Y7nF\nkB2YlZhyHt2GCA1abhWivewk7Umug6+Aiihw5mczhBs2fWJ3GGQPIU9cWWID\nJ4fG/32On2nxY3WWHkMf3uIdAGO1NHDDs3mUh5hQL6EXvDykezOcF73DBbUx\n1j1oDZurOqJNJRtoTDcV92WIcH93nQIYyYu5LIMNPoVBagyXfCZWJg2hb0Gb\nPI77zf+UFUwcnwy82bcYr1iAye6KJ8p6qjZwVTsOC4GBqvJ1A3bk8WbTdY2X\nZyp3kBna7KoxPzHzmsnmLRSSiwfhM7orYXDR9ARQgauJhXFSSXn/UOpUtV3J\nK5gcuX1ySnJhAomwLphQWmmaxbKR9sd8sVmlHBhpEq1EDbqTxCH9YjCtqu/L\nWpwwQK7EFU5BTTSPamHFV8HXqPZ3v4qiwUCoKVCJNPhC0JId9q5ptjDAYumY\nOX04B8SwhVUmaWaLnjPnnpLucMYR8LL7/ll98d52sZQ/7stCjXfkBLFZ2LIq\nJNBc08LuepLzQ/HWCotkqDKI3ZgJiYGFuhU8uuRyNVK75eHQgg6NvzYeMxWa\nvYfg80ebbADk8Bs5OXdjhainl7A+TbEc90INdIBEvQ/2OxfxuaOC2GpkiI2F\n9yc2RcU4FUzGDeUoSys9Tettwywiw9ZAsVmXwJmBP3whvddUH7LzeKMKUCR3\nT2+6\r\n=CqpA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"environment-selector.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"12953dced1ab2e2fa937c30c0daeb42c8e35b3d4","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","test:sl":"karma start karma.sl.config.js --compatibility all --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","test:legacy":"karma start --compatibility all --coverage","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","format:prettier":"prettier \"**/*.js\" --write","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"deprecated":"This component is deprecated","repository":{"url":"git://github.com/advanced-rest-client/environment-selector.git","type":"git"},"_npmVersion":"6.11.3","description":"An element to select current variables environment","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"12.10.0","dependencies":{"lit-element":"^2.2.1","@anypoint-web-components/anypoint-item":"^1.0.4","@anypoint-web-components/anypoint-listbox":"^1.0.3","@advanced-rest-client/variables-consumer-mixin":"^3.0.4","@anypoint-web-components/anypoint-dropdown-menu":"^0.1.11"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^1.0.0","karma":"^4.3.0","sinon":"^7.5.0","deepmerge":"^4.0.0","lint-staged":"^9.4.1","es-dev-server":"^1.18.3","@commitlint/cli":"^8.2.0","@open-wc/testing":"^2.3.4","web-animations-js":"^2.3.2","@open-wc/testing-karma":"^3.1.38","@commitlint/config-conventional":"^7.0.0","@advanced-rest-client/arc-models":"^3.0.0-preview.14","@advanced-rest-client/eslint-config":"^1.1.3","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.14","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.0.4","@advanced-rest-client/variables-manager":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-selector_3.0.2_1569970927881_0.08902807096909071","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-03-30T06:48:47.955Z","modified":"2026-04-07T19:24:32.805Z","3.0.0-preview.1":"2019-03-30T06:48:48.377Z","3.0.0":"2019-08-02T19:11:20.015Z","3.0.1":"2019-09-12T15:32:35.760Z","3.0.2":"2019-10-01T23:02:08.017Z"},"bugs":{"url":"https://github.com/advanced-rest-client/environment-selector/issues","email":"arc@mulesoft.com"},"license":"Apache-2.0","homepage":"https://github.com/advanced-rest-client/environment-selector#readme","keywords":["web-components","advanced-rest-clinet","environment","selector"],"repository":{"url":"git://github.com/advanced-rest-client/environment-selector.git","type":"git"},"description":"An element to select current variables environment","contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"maintainers":[{"email":"jarrodek@gmail.com","name":"jarrodek"},{"email":"alexperez@mulesoft.com","name":"alexperez_march_2024"},{"email":"elmellidiego@gmail.com","name":"dmacias"}],"readme":"[![Published on NPM](https://img.shields.io/npm/v/@advanced-rest-client/environment-selector.svg)](https://www.npmjs.com/package/@advanced-rest-client/environment-selector)\n\n[![Build Status](https://travis-ci.org/advanced-rest-client/environment-selector.svg?branch=stage)](https://travis-ci.org/advanced-rest-client/environment-selector)\n\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/advanced-rest-client/environment-selector)\n\nAn element to select current variables environment. Used with Advanced REST Client.\n\nRenders a material design dropdown with list of available environments. It always renders `default` environment.\n\nIt should be used with combination of:\n\n-   [variables-manager](https://github.com/advanced-rest-client/variables-manager)\n-   [arc-models/variables-model](https://github.com/advanced-rest-client/arc-models)\n\nto handle `environment-list` and `environment-current` custom events.\n\nNote, it is more convenient to listen on change events on the manager instead of this element. The selector announces new environment to the manager and the manager refreshes the state.\n\n### API components\n\nThis components is a part of [API components ecosystem](https://elements.advancedrestclient.com/)\n\n## Usage\n\n### Installation\n```\nnpm install --save @advanced-rest-client/environment-selector\n```\n\n### In an html file\n\n```html\n<html>\n  <head>\n    <script type=\"module\">\n      import '@advanced-rest-client/environment-selector/environment-selector.js';\n      import '@advanced-rest-client/variables-manager/variables-manager.js';\n    </script>\n  </head>\n  <body>\n    <variables-manager></variables-manager>\n    <environment-selector></environment-selector>\n    <script>\n    document.queryElement('environment-selector').onenvironment = (e) => {\n      console.log(e.detail.value); // Selected environment\n    };\n    </script>\n  </body>\n</html>\n```\n\n### In a LitElement template\n\n```javascript\nimport { LitElement, html } from 'lit-element';\nimport '@advanced-rest-client/environment-selector/environment-selector.js';\nimport '@advanced-rest-client/variables-manager/variables-manager.js';\n\nclass SampleElement extends LitElement {\n  render() {\n    return html`\n    <variables-manager></variables-manager>\n    <environment-selector @selected-environment-changed=\"${this._envChanged}\"></environment-selector>\n    `;\n  }\n\n  _envChanged(e) {\n    this.currentEnvironment = e.detail.environment;\n  }\n}\ncustomElements.define('sample-element', SampleElement);\n```\n\n### Development\n\n```sh\ngit clone https://github.com/advanced-rest-client/environment-selector\ncd environment-selector\nnpm install\n```\n\n### Running the demo locally\n\n```sh\nnpm start\n```\n\n### Running the tests\n\n```sh\nnpm test\n```\n","readmeFilename":"README.md"}