{"_id":"@coveops/hide-when-no-results","_rev":"39-3c47df487309709fd6dd2a9ed7e6a89d","name":"@coveops/hide-when-no-results","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@coveops/hide-when-no-results","version":"1.0.0","keywords":[],"author":"","license":"Apache-2.0","_id":"@coveops/hide-when-no-results@1.0.0","maintainers":[{"name":"alavigne81","email":"alavigne@coveo.com"},{"name":"eaubin","email":"eaubin@coveo.com"},{"name":"plavigueur","email":"plavigueur@coveo.com"},{"name":"elafleur_coveo","email":"elafleur@coveo.com"},{"name":"lgcarrierbedard","email":"lgcarrier@coveo.com"},{"name":"wnijmeijer","email":"wnijmeijer@coveo.com"},{"name":"hsinghcoveo","email":"hsingh@coveo.com"},{"name":"achouan","email":"achouan@coveo.com"},{"name":"jfallaire","email":"jeanfrancois.allaire@gmail.com"},{"name":"davebouffard","email":"dbouffard@coveo.com"},{"name":"jmdro","email":"jmdrolet@coveo.com"},{"name":"eqcoveo","email":"equinn@coveo.com"},{"name":"jfleurent","email":"jfleurent@coveo.com"},{"name":"mthusscoveo","email":"mthuss@coveo.com"},{"name":"sfecteau","email":"sfecteau@coveo.com"},{"name":"jwolfe-coveo","email":"jwolfe@coveo.com"},{"name":"rvundavalli","email":"rvundavalli@coveo.com"},{"name":"gfoumbi","email":"gfoumbi@coveo.com"},{"name":"yass1408","email":"yassine_lakhdar@hotmail.com"},{"name":"coveoit","email":"itaccounts@coveo.com"}],"dist":{"shasum":"e28cf7ce4cc9c9834e2737b8cf8fb544533d178d","tarball":"https://registry.npmjs.org/@coveops/hide-when-no-results/-/hide-when-no-results-1.0.0.tgz","fileCount":7,"integrity":"sha512-bkJcRYJeZbhO/EE+zoL6gzD34RbZgiGHA5MJhiuqCmybB4plYJZFj8M3wEYTtgDk6MjJc1rPKqA7QCIlcpMgKQ==","signatures":[{"sig":"MEUCIQC26OMjaV6aAKzF1Yu6+jFCe+agE1IipsSg5Vnut1SZ7wIgMqUbqOZkgkeveSNX9kHkosqJJR1Mz3wJTnyB5Wf+CXM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrfuCCRA9TVsSAnZWagAAGBoQAJCnXb1r/0tPniIptS+K\nPvTOG3JR81qQGgeQIf4EQYzqn4Ln8CqejtPSUqDgOMpre+WNpCqhYSPYekaK\nucq4YFl5tDQv8XXfCLXr59/BKnuCk1rn78olKJDZ6GQaZTKKgp5IPq4XpKRl\nidTDhMqtThjN94BAywvQBdQQKeUcGL4O4hBKshlm0eIHx5yDgB+iC7MSw4X3\nilNQTTen9HVt+8fI18u//yrsa+7hkaHTqtThjdHvItwkOQXX5A2HzdIOsSzY\nXGyoypKf9F4ZDYbftG71UEW8+cxjycCIjBXtE0XwyGH1GpoJn9lPzM9RrzgS\nax8pCBpJU9DAR3j6LEJIXodTs/UXv/Txa1+LeW63pddPzyX0ztSEOScmdak3\nVu5ewBhEeyXeAPQmrtU7Nlw1rlHRYcRB8Jji1rJK+KLlmb2GIhcLq0wAj63T\n+AmjTHwJcTz+GLdwp98w9t2AwpyCMi2xEU+fQ4t+ALci5YjDkNtrWrcEJhGQ\nPX4IcEAqSO8+LpkN8iD2WeKPy6MJ2dQYFc1EpeRx+HPSuDRHhxEwDirDfF4S\nYhNdw8IvpCb5f70jFSPhyLW3cAkPZhKESiumllvmywlfELHOMGh+qkXaq9kQ\nMt+CKJPwnUIm+XggQUulo5xrswoynUg+1oWVS6z0i0mew0ebC88BJRDsizSh\nUbdr\r\n=IlbG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"29fb39153d8b8b8670ce7cd9d2cd860ddb201412","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"coveops build HideWhenNoResults --template typescript","serve":"coveops serve","watch":"coveops build HideWhenNoResults --template typescript --watch","precompile":"npm run build"},"_npmUser":{"name":"lgcarrierbedard","email":"lgcarrier@coveo.com"},"_npmVersion":"6.14.8","description":"Disclaimer: This component was built by the community at large and is not an official Coveo JSUI Component. Use this component at your own risk.","directories":{},"_nodeVersion":"14.8.0","dependencies":{"coveo-search-ui":"^2.10081.5","@coveops/turbo-core":"^1.1.1","@coveops/localization-manager":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@coveops/cli":"^0.13.2"},"_npmOperationalInternal":{"tmp":"tmp/hide-when-no-results_1.0.0_1605237633876_0.9691364782359944","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-11-13T03:20:33.604Z","modified":"2026-05-13T17:46:19.427Z","1.0.0":"2020-11-13T03:20:34.023Z"},"license":"Apache-2.0","keywords":[],"description":"Disclaimer: This component was built by the community at large and is not an official Coveo JSUI Component. Use this component at your own risk.","maintainers":[{"email":"jfleurent@coveo.com","name":"jfleurent"},{"email":"jmdrolet@coveo.com","name":"jmdro"},{"email":"jeanfrancois.allaire@gmail.com","name":"jfallaire"},{"email":"achouan@coveo.com","name":"achouan"},{"email":"lpblais@coveo.com","name":"lpblais-coveo"},{"email":"watallah@coveo.com","name":"watallah"},{"email":"eshahneh@coveo.com","name":"ehsanshahneh"},{"email":"belbizri@coveo.com","name":"belbizri"},{"email":"jpurohit@coveo.com","name":"jpurohit_coveo"},{"email":"acherney2@coveo.com","name":"acherney2c"},{"email":"jcharron@coveo.com","name":"jcharron-coveo"},{"email":"oa-npmcoveops@oacvo.com","name":"oa-npmcoveops"}],"readme":"# HideWhenNoResults\n\nDisclaimer: This component was built by the community at large and is not an official Coveo JSUI Component. Use this component at your own risk.\n\n## Getting Started\n\n1. Install the component into your project.\n\n```\nnpm i @coveops/hide-when-no-results\n```\n\n2. Use the Component or extend it\n\nTypescript:\n\n```javascript\nimport { HideWhenNoResults, IHideWhenNoResultsOptions } from '@coveops/hide-when-no-results';\n```\n\nJavascript\n\n```javascript\nconst HideWhenNoResults = require('@coveops/hide-when-no-results').HideWhenNoResults;\n```\n\n3. You can also expose the component alongside other components being built in your project.\n\n```javascript\nexport * from '@coveops/hide-when-no-results'\n```\n\n4. Or for quick testing, you can add the script from unpkg\n\n```html\n<script src=\"https://unpkg.com/@coveops/hide-when-no-results@latest/dist/index.min.js\"></script>\n```\n\n> Disclaimer: Unpkg should be used for testing but not for production.\n\n5. Include the component in your template as follows:\n\nPlace the component in your markup:\n\n```html\n<div class=\"CoveoHideWhenNoResults\"></div>\n```\n\n## Extending\n\nExtending the component can be done as follows:\n\n```javascript\nimport { HideWhenNoResults, IHideWhenNoResultsOptions } from \"@coveops/hide-when-no-results\";\n\nexport interface IExtendedHideWhenNoResultsOptions extends IHideWhenNoResultsOptions {}\n\nexport class ExtendedHideWhenNoResults extends HideWhenNoResults {}\n```\n\n## Contribute\n\n1. Clone the project\n2. Copy `.env.dist` to `.env` and update the COVEO_ORG_ID and COVEO_TOKEN fields in the `.env` file to use your Coveo credentials and SERVER_PORT to configure the port of the sandbox - it will use 8080 by default.\n3. Build the code base: `npm run build`\n4. Serve the sandbox for live development `npm run serve`","readmeFilename":"README.md"}