{"_id":"@coveops/no-results-message","_rev":"39-9112f0645f3062a38e65061696cf7104","name":"@coveops/no-results-message","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.0":{"name":"@coveops/no-results-message","version":"1.1.0","author":"","license":"Apache-2.0","_id":"@coveops/no-results-message@1.1.0","maintainers":[{"name":"coveoit","email":"itaccounts@coveo.com"},{"name":"yass1408","email":"yassine_lakhdar@hotmail.com"},{"name":"gfoumbi","email":"gfoumbi@coveo.com"},{"name":"rvundavalli","email":"rvundavalli@coveo.com"},{"name":"jwolfe-coveo","email":"jwolfe@coveo.com"},{"name":"sfecteau","email":"sfecteau@coveo.com"},{"name":"mthusscoveo","email":"mthuss@coveo.com"},{"name":"jfleurent","email":"jfleurent@coveo.com"},{"name":"eqcoveo","email":"equinn@coveo.com"},{"name":"jmdro","email":"jmdrolet@coveo.com"},{"name":"davebouffard","email":"dbouffard@coveo.com"},{"name":"jfallaire","email":"jeanfrancois.allaire@gmail.com"},{"name":"achouan","email":"achouan@coveo.com"},{"name":"hsinghcoveo","email":"hsingh@coveo.com"},{"name":"wnijmeijer","email":"wnijmeijer@coveo.com"},{"name":"lgcarrierbedard","email":"lgcarrier@coveo.com"},{"name":"elafleur_coveo","email":"elafleur@coveo.com"},{"name":"plavigueur","email":"plavigueur@coveo.com"},{"name":"eaubin","email":"eaubin@coveo.com"}],"dist":{"shasum":"6c499e49cb7bdd54c5efbad85a5a3940459beec0","tarball":"https://registry.npmjs.org/@coveops/no-results-message/-/no-results-message-1.1.0.tgz","fileCount":9,"integrity":"sha512-OxgutweWa0NlXysyefEjZ2h1lG0ojg2yJtV41NlTcba5eGXTXBQ0jGza8PCgFqd5tVW5PNlYcOdzpGtHec+USQ==","signatures":[{"sig":"MEUCIQD2ngZldqS2Hsv/fmAW0B7Z+FKN0f0+Nz/m/Dn2ulDx9wIgTn0w2oxT7Uo86xZ3CXwaUk2UaDVBlF22yK67+5zEsyA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJfDbCRA9TVsSAnZWagAACvsP/igT587j44uK7A1e8Brl\n54GmEYmUiyrE1Juwms2P5b6a8ZUGftcAMRqIw9mstBA2pA1NENXq9AWO4OnH\nen0Bd9mJ8JoXE7/IZbdfid4c2Y2D+PwzmkblOBWpQn1HuXLVBO95+NV/H3hs\nO+nDD0qEcIwZk6HS8I0dOB/gmLF7zWHMJ8pXfSVyb/PddVNdAfrAWBRmvK5m\neYB0kCtw2DSNnEl7aTQiGqRmY78QjUFPyUSv3ko9RDp97oUvwJw7JDd2Hykz\n4r7xRTgvg2/mS1GLegsu4Kz9awZKodu1nbQ+MsoRAtP0dbUuu2PmYrdvHDuo\nSQMrROOkANeixaNoYWKNaiCEXLTgz6HESddb1ICaWl1juts6R7kRIUcGi/Tj\niaEXJmvTJMKeHSJz2MKK3I4uMvIfe85FP8djSEWGr3iDIY/0wQGKm8u7ulGA\n4EKpi99mUfX/TX7gwkqU0JL4GZ4p08k1LlqEd8i2Dd17stIWi6nkTbiZOTSB\nD6QWKt5w7mWddPOKL/XPl1vU+xqdiiUvYo4Rz9CvZoBy0l6IPmFZtqHlHZV0\n/Tx41CVWBHdUZKTS2yagiB3WP2RdBtByjD2k9dBmOD45RBV9RAhn5QywaU8Z\nPkQOFFvcWfjW2FnWvNnG4Mo7v7wL+47URHLJFvYAEmUz+LqWIP/eConYOlJ+\n9e6p\r\n=I2bW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"fb00f4a9abbf607d03553ca7710433bb564953a4","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"coveops build NoResultsMessage --template typescript","serve":"coveops serve","watch":"coveops build NoResultsMessage --template typescript --watch","precompile":"npm run build"},"_npmUser":{"name":"jwolfe-coveo","email":"jwolfe@coveo.com"},"_npmVersion":"6.10.2","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":"12.9.1","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/no-results-message_1.1.0_1613099226682_0.5121721368448369","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@coveops/no-results-message","version":"1.1.1","author":"","license":"Apache-2.0","_id":"@coveops/no-results-message@1.1.1","maintainers":[{"name":"cricha","email":"cricha@coveo.com"},{"name":"jpdery26","email":"jpdery@coveo.com"},{"name":"lpblais-coveo","email":"lpblais@coveo.com"},{"name":"coveoit","email":"itaccounts@coveo.com"},{"name":"gfoumbi","email":"gfoumbi@coveo.com"},{"name":"rvundavalli","email":"rvundavalli@coveo.com"},{"name":"jwolfe-coveo","email":"jwolfe@coveo.com"},{"name":"sfecteau","email":"sfecteau@coveo.com"},{"name":"mthusscoveo","email":"mthuss@coveo.com"},{"name":"jfleurent","email":"jfleurent@coveo.com"},{"name":"eqcoveo","email":"equinn@coveo.com"},{"name":"jmdro","email":"jmdrolet@coveo.com"},{"name":"davebouffard","email":"dbouffard@coveo.com"},{"name":"jfallaire","email":"jeanfrancois.allaire@gmail.com"},{"name":"achouan","email":"achouan@coveo.com"},{"name":"hsinghcoveo","email":"hsingh@coveo.com"},{"name":"wnijmeijer","email":"wnijmeijer@coveo.com"},{"name":"lgcarrierbedard","email":"lgcarrier@coveo.com"},{"name":"elafleur_coveo","email":"elafleur@coveo.com"},{"name":"plavigueur","email":"plavigueur@coveo.com"},{"name":"eaubin","email":"eaubin@coveo.com"}],"dist":{"shasum":"f9b2b7877ccbe22c5572c9058017839171f57cb6","tarball":"https://registry.npmjs.org/@coveops/no-results-message/-/no-results-message-1.1.1.tgz","fileCount":9,"integrity":"sha512-MZ7w1oGe+sh3PGRSJKrbEPVHLRDkBa4ImINSfLlN3Ki0HCENaSjFNiSPmCIjrYik1XpGdqCFp/yBeCEYCAL5hQ==","signatures":[{"sig":"MEUCIDiz6HNX4nocwDVgASt7pa4LQCjdx6TQWgDXHeO6YHqgAiEAwTCUD6g6nJ+bu29mGPI0+SJVoG27jgm/guDmCrU/b7E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggZj7CRA9TVsSAnZWagAAGSMQAIqcKrQyAFuwrLX+xjc9\no6v2uyEWbaMxn+JJiPKVUtwxL164Rwd9+6ZVXCwNoo19uxBMf1NiY8TCux79\noH0+cZnbxUHrcjyPrJbAMHasu/r86936OA9Lt9eaG0ew3alBm41Fp1KX3qXn\ncMzPjBPIROurkDFb8Yb+mNralaeEZpQ6y6LoDnAqLz+XiDgK6w8yTdQ+k620\nvkQfCPPRmtsGExrp3xCxD3GQxA8sQKw07LlGfIxnyg+xkJfQGCZPedX4UnLw\nccZGmCiLBIYFRNebPuRbPRpSGo5J/fTs+z4OWAkeillIuTrtZIe/UR1xAAPN\nN2yf1TG7amOSfY7Jz3b/EUrkA867QOpXsMPCiiId/U9RqXe4VfQ/DfTFN2i4\nEiIVqIomZcTix4g1TGzocrcx/f99w6vyLVZYOp6XFejybeqTxNW6Zefw9azA\nvr617aXg31e6lA+7+7IvxID2rX1+s5lIyx0xpchd/t3ksrW3d/DLa47hva60\ny6RJghzhuofcq9U/6gf/D9sep99l9fVPRsRPIVJob+EyRdygK0Jnr0/yU50T\nY7aww5x4s2R5IqXvCpzsijtpTvb2hPL1SaOLgnVoZhuykqdTy8Qg9XcRy0+o\nGyt4iMRIUYuMM0A7lpBJVdRkHKgo/Ft2uMsMJGV4pruo8Ta6fZn6XGJJXyot\nKVBF\r\n=nQq8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"1c20d73f670af01d024c8a87781360135ff18af0","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"coveops build NoResultsMessage --template typescript","serve":"coveops serve","watch":"coveops build NoResultsMessage --template typescript --watch","precompile":"npm run build"},"_npmUser":{"name":"jfallaire","email":"jeanfrancois.allaire@gmail.com"},"_npmVersion":"7.6.0","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":"15.11.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/no-results-message_1.1.1_1619106042881_0.07446133161911872","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-02-12T03:07:06.489Z","modified":"2026-05-13T17:46:23.995Z","1.1.0":"2021-02-12T03:07:06.833Z","1.1.1":"2021-04-22T15:40:43.008Z"},"license":"Apache-2.0","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":"# NoResultsMessage\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\nThe NoResultsMessage simply displays a message when no results are present. To modify the message displayed, just use the `data-text` option as such:\n\n```html\n <div class=\"CoveoNoResultsMessage\" data-text=\"My Custom message here\"></div>\n```\n\nA different message can also be specified for a list of tabs or exluded for a list of tabs. To specify different messages by tabs, just use the `tabs` and `notTabs` options as follows.\n\nThe message will only show when there are no results on Tab1 or Tab2.\n\n```html\n <div class=\"CoveoNoResultsMessage\" data-text=\"My Custom message here\" data-tabs=\"Tab1, Tab2\"></div>\n```\n\nThe message will show on all tabs except on Tab1 and Tab2.\n\n```html\n <div class=\"CoveoNoResultsMessage\" data-text=\"My Custom message here\" data-not-tabs=\"Tab1, Tab2\"></div>\n```\n\n## Getting Started\n\n1. Install the component into your project.\n\n```\nnpm i @coveops/no-results-message\n```\n\n2. Use the Component or extend it\n\nTypescript:\n\n```javascript\nimport { NoResultsMessage, INoResultsMessageOptions } from '@coveops/no-results-message';\n```\n\nJavascript\n\n```javascript\nconst NoResultsMessage = require('@coveops/no-results-message').NoResultsMessage;\n```\n\n3. You can also expose the component alongside other components being built in your project.\n\n```javascript\nexport * from '@coveops/no-results-message'\n```\n\n4. Or for quick testing, you can add the script from unpkg\n\n```html\n<script src=\"https://unpkg.com/@coveops/no-results-message@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=\"CoveoNoResultsMessage\"></div>\n```\n\n## Extending\n\nExtending the component can be done as follows:\n\n```javascript\nimport { NoResultsMessage, INoResultsMessageOptions } from \"@coveops/no-results-message\";\n\nexport interface IExtendedNoResultsMessageOptions extends INoResultsMessageOptions {}\n\nexport class ExtendedNoResultsMessage extends NoResultsMessage {}\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`\n","readmeFilename":"README.md"}