{"_id":"@acrossthecloud/survey-react","_rev":"1-65c361fa171cd7a86ef6fbc100ae7acf","name":"@acrossthecloud/survey-react","dist-tags":{"latest":"1.8.20"},"versions":{"1.8.20":{"name":"@acrossthecloud/survey-react","version":"1.8.20","description":"survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.","keywords":["Survey","JavaScript","Bootstrap","Library","react","react-component"],"homepage":"https://surveyjs.io/","license":"MIT","main":"survey.react.js","repository":{"type":"git","url":"git+https://github.com/surveyjs/surveyjs.git"},"typings":"survey.react.d.ts","peerDependencies":{"react":"^16.5.0","react-dom":"^16.5.0"},"bugs":{"url":"https://github.com/surveyjs/surveyjs/issues"},"_id":"@acrossthecloud/survey-react@1.8.20","_nodeVersion":"15.4.0","_npmVersion":"6.14.9","dist":{"integrity":"sha512-vvyYZDwwkC6S1cjBBNV1LTP0G6UhbMLUEwCMexa5IXBWdJ8DhekGHcdVjv9s8PsEAvW7dy/RCoT5u29HHeFutA==","shasum":"a2f70ad6f2e00f6e08bced1fd7e65883c0e63a6a","tarball":"https://registry.npmjs.org/@acrossthecloud/survey-react/-/survey-react-1.8.20.tgz","fileCount":9,"unpackedSize":9817350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1ve2CRA9TVsSAnZWagAAAlYP/jloLLKNuq6NV8HpwEk8\n2g6xHCtYAQBfRORNsB17ibqC7Zyz5gmf9BfshTfMc9ITonW1VscUv8cMzDie\nq9mNzl1hMUpqo8n3H8+ecUMDO5CVd9NDRt8dbwsjCVAepyKUSiGRA8/0lAih\nqYhzmglYbtiCAdE2hJSO/yUAZK6cXdCRo4lenxLKyx3RZacLUlz0Z2YoA+Xr\n+CWERHV04oEZSqF/tuYCeWy365X+o5B1uMjEIZbOZ0BNlGnARDV5bccxEWzQ\ntNmFBmeSegIMm2QGd8s1x5KvrCnJ0JVtyMCXgueBVtqyjiCn8k5K34r3wNLD\nNehA+Jvb7jfawS+8F6wRgZpUjLSPg6fNG50ASA7QF+X2YGV7a823N9r5WeZJ\nkma54X3O6dAFArOhFjF9+oFMJG6X7Xiwgf+6ndPB1XOoGrFfnRZX4Tkvgitv\nJns2h9hNNYrShgEhMAuMYrcuHmbZ7OCPAvZaXVqJepsTjhlGCF0Ln3SjCSda\nDnurpC3YKmuuVyV9ey2q2Rjgvi3b0SXyBgrmC1iA6cFNI5Thqb2ychuaK917\nWWh6eNZSbEDgDXSCZGX6Be7wlEIoj1nF1pLsR5EqQtQh8hY3mxZpsoKn1hCG\nYFBcirfMqn4PDUvkvuugce3cNT2smjwkxbr1BCCbUTM802DwQLcRxbwi9CED\nBUZm\r\n=n0KW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9rq9rGrMdqBYqo+5qLGWV1o2VsB0fFm7d/FFcd1E3JAIge1vQAqx2VuRDffQCVVC50gKm1CwpWcQqYcFBL0iHF4Q="}]},"_npmUser":{"name":"matthewberryman","email":"matthew@acrossthecloud.net"},"directories":{},"maintainers":[{"name":"matthewberryman","email":"matthew@acrossthecloud.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/survey-react_1.8.20_1607923637665_0.46181696597168176"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-14T05:27:17.498Z","1.8.20":"2020-12-14T05:27:17.921Z","modified":"2022-04-04T11:16:30.035Z"},"maintainers":[{"name":"matthewberryman","email":"matthew@acrossthecloud.net"}],"description":"survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.","homepage":"https://surveyjs.io/","keywords":["Survey","JavaScript","Bootstrap","Library","react","react-component"],"repository":{"type":"git","url":"git+https://github.com/surveyjs/surveyjs.git"},"bugs":{"url":"https://github.com/surveyjs/surveyjs/issues"},"license":"MIT","readme":"## **SurveyJS** is a JavaScript Survey and Form Library.\n\n**SurveyJS** is a modern way to add surveys and forms to your website. It has versions for angular2+, jQuery, knockout, react and vue.\n\n[![Build Status](https://dev.azure.com/SurveyJS/SurveyJS%20Integration%20Tests/_apis/build/status/SurveyJS%20Library?branchName=master)](https://dev.azure.com/SurveyJS/SurveyJS%20Integration%20Tests/_build/latest?definitionId=7&branchName=master)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE)\n<a href=\"https://github.com/DevExpress/testcafe\">\n<img alt=\"Tested with TestCafe\" src=\"https://img.shields.io/badge/tested%20with-TestCafe-2fa4cf.svg\">\n</a>\n<a href=\"https://github.com/surveyjs/survey-library/issues\">\n<img alt=\"Issues\" title=\"Open Issues\" src=\"https://img.shields.io/github/issues/surveyjs/survey-library.svg\">\n</a>\n<a href=\"https://github.com/surveyjs/survey-library/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed+\">\n<img alt=\"Closed issues\" title=\"Closed Issues\" src=\"https://img.shields.io/github/issues-closed/surveyjs/survey-library.svg\">\n</a>\n\n## Documentation\n\n[SurveyJS Library Documentation](https://surveyjs.io/Documentation/Library)\n\n## Live Examples\n\n[SurveyJS Library Live Examples](https://surveyjs.io/Examples/Library)\n\n## Survey Creator / Form Builder\n\n[Create your Survey or Form now](https://surveyjs.io/create-survey)\n\nSurvey Creator sources are [here](https://github.com/surveyjs/survey-creator)\n\n## Export Survey to PDF\n\n[Export to pdf overview](https://surveyjs.io/Overview/Survey-Pdf-Export)\n\nExport to PDF sources are [here](https://github.com/surveyjs/survey-pdf)\n\n## More info about SurveyJS\n\n![alt tag](https://cloud.githubusercontent.com/assets/22315929/22462339/ed33f60a-e7bd-11e6-942b-72882e6bf1db.gif)\n\n**SurveyJS** is the most feature-rich Survey / Form Library available at the current moment. It can be easily customized and extended to suit your needs.\n\n## Main Features\n\n### A lot of question types with a lot of built-in functionalities.\n\n* [Text Question](https://surveyjs.io/Examples/Library/?id=questiontype-text)\n* [Radigroup Question](https://surveyjs.io/Examples/Library/?id=questiontype-radiogroup)\n* [Dropdown Question](https://surveyjs.io/Examples/Library/?id=questiontype-dropdown)\n* [Checkboxes Question](https://surveyjs.io/Examples/Library/?id=questiontype-checkbox)\n* [Boolean Question](https://surveyjs.io/Examples/Library/?id=questiontype-boolean)\n* [Matrix Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrix)\n* [Matrix Rubric Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrix-rubric)\n* [Matrix Dropdown Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrixdropdown)\n* [Matrix Dynamic Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrixdynamic)\n* [Multiple Text Question](https://surveyjs.io/Examples/Library/?id=questiontype-multipletext)\n* [Rating Question](https://surveyjs.io/Examples/Library/?id=questiontype-rating)\n* [Comment Question](https://surveyjs.io/Examples/Library/?id=questiontype-comment)\n* [Html Question](https://surveyjs.io/Examples/Library/?id=questiontype-html)\n* [Files uploading Question](https://surveyjs.io/Examples/Library/?id=questiontype-file)\n* [Panel Container](https://surveyjs.io/Examples/Library/?id=questiontype-panel)\n* [Panel Dynamic Question](https://surveyjs.io/Examples/Library/?id=questiontype-paneldynamic)\n* [Expression Question](https://surveyjs.io/Examples/Library/?id=questiontype-expression)\n* [Image Picker Question](https://surveyjs.io/Examples/Library/?id=questiontype-imagepicker)\n* [Support for third-party popular UI widgets](https://surveyjs.io/Examples/Library/?id=custom-widget-select2). The custom widgets [GitHub repo](https://github.com/surveyjs/widgets)\n\n### Multiple Pages Support\n\nYou may create a very complex forms with a lot of pages, like [this one](https://surveyjs.io/Examples/Library/?id=real-patient-history).\n\n### Dynamically change survey logic and questions content\n\n* [Change questions visibility using logical expressions](https://surveyjs.io/Examples/Library/?id=condition-kids)\n* [Create custom functions to use it in expression](https://surveyjs.io/Examples/Library/?id=condition-customfunctions)\n* [Filter choices in checkbox, radiogroup and dropdown questions](https://surveyjs.io/Examples/Library/?id=condition-choicesVisibleIf)\n* [Filter rows and columns in matrix question](https://surveyjs.io/Examples/Library/?id=condition-matrixVisibleIf)\n* [Disabled/enabled questions based on logical expressions](https://surveyjs.io/Examples/Library/?id=condition-enable-kids)\n* [Questions value validation](https://surveyjs.io/Examples/Library/?id=validators-standard)\n\n### Localization and Multiple language support\n\n* [Localization for over 20 languages](https://surveyjs.io/Examples/Library/?id=survey-localization&platform)\n* [Multiple language support in one survey](https://surveyjs.io/Examples/Library/?id=survey-multilanguages)\n\n### Appearance and custom Rendering\n\n* [Seven built-in Themes](https://surveyjs.io/Examples/Library/?id=darkblue-theme)\n* [Bootstrap support](https://surveyjs.io/Examples/Library/?id=bootstrap-theme)\n* [CSS styles customization](https://surveyjs.io/Examples/Library/?id=survey-cssclasses)\n* [API for adding new or changing existing HTML elements](https://surveyjs.io/Examples/Library/?id=survey-afterrender)\n* [Render Questions in one line](https://surveyjs.io/Examples/Library/?id=survey-startwithnewline)\n* [Markdown support](https://surveyjs.io/Examples/Library/?id=survey-markdown-radiogroup)\n\n### Frequently used functionalities\n\n* [Quiz creating](https://surveyjs.io/Examples/Library/?id=survey-quiz)\n* [Show survey or form in the popup window](https://surveyjs.io/Examples/Library/?id=survey-window)\n* [Display mode](https://surveyjs.io/Examples/Library/?id=survey-displaymode)\n* [Custom navigation](https://surveyjs.io/Examples/Library/?id=survey-customnavigation)\n* [Sharing same data between questions](https://surveyjs.io/Examples/Library/?id=survey-shareddata)\n\n### To find out more about the library go\n\n* to the [SurveyJS Library Site](https://surveyjs.io/Library)\n* explore the live [Examples](https://www.surveyjs.io/Examples/Library)\n* and create a survey or form using [Survey Creator](https://surveyjs.io/survey/Builder/)\n\n#### You can use our quickstart repos:\n\n* [Angular CLI](https://github.com/surveyjs/surveyjs_angular_cli)\n* [React](https://github.com/surveyjs/surveyjs_react_quickstart)\n* [Vue](https://github.com/surveyjs/surveyjs_vue_quickstart)\n\n## Getting started\n\nInstall the library using npm.\n\nAngular2 version:\n\n```\nnpm install survey-angular\n```\n\njQuery version:\n\n```\nnpm install survey-jquery\n```\n\nKnockout version:\n\n```\nnpm install survey-knockout\n```\n\nReact version:\n\n```\nnpm install survey-react\n```\n\nVue version:\n\n```\nnpm install survey-vue\n```\n\nOr use Azure CDN:\n\n* https://surveyjs.azureedge.net/{version-number}/survey.angular.min.js\n* https://surveyjs.azureedge.net/{version-number}/survey.ko.min.js\n* https://surveyjs.azureedge.net/{version-number}/survey.react.min.js\n* https://surveyjs.azureedge.net/{version-number}/survey.jquery.min.js\n* https://surveyjs.azureedge.net/{version-number}/survey.vue.min.js\n\nYou find all versions/builds in the [surveyjs/build repo](https://github.com/surveyjs/builds).\n\nOr dowload a version as zip file from [Releases](https://github.com/surveyjs/survey-library/releases)\n\nIf you want to import it in another script:\n\n```javascript\nimport * as Survey from \"survey-jquery\";\n```\n\n## Building survey.js from sources\n\nTo build library yourself:\n\n1.  **Clone the repo from GitHub**\n\n    ```\n    git clone https://github.com/surveyjs/survey-library.git\n    cd survey-library\n    ```\n\n2.  **Acquire build dependencies.** Make sure you have [Node.js](http://nodejs.org/) installed on your workstation. You need a version of Node.js greater than 6.0.0 and npm greater than 2.7.0. This is only needed to _build_ surveyjs from sources.\n\n    ```\n    npm install -g karma-cli\n    npm install\n    ```\n\n3.  **Build the library**\n\n    ```\n    npm run build_prod\n    ```\n\n    After that you should have the libraries (angular, jquery, knockout, react and vue) at 'packages' directory.\n\n4.  **Run samples**\n\n    ```\n    npm start\n    ```\n\n    This command will run local http server at the http://localhost:7777\n    You can open http://localhost:7777/examples/knockout to view KnockoutJS samples, http://localhost:7777/examples/react to view ReactJS samples and so on\n\n5.  **Run unit tests**\n    ```\n    karma start\n    ```\n    This command will run unit tests using [Karma](https://karma-runner.github.io/0.13/index.html)\n\n### WordPress integration\n\n[SurveyJS WordPress plugin](https://wordpress.org/plugins/surveyjs/)\n\n## License\n\n[MIT license](https://github.com/surveyjs/survey-library/blob/master/LICENSE)\n","readmeFilename":"README.md"}