{"_id":"@asdeporte/asdeporte-inscription-questions","_rev":"4-693c877af76dfb09d665ff1c28424010","name":"@asdeporte/asdeporte-inscription-questions","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@asdeporte/asdeporte-inscription-questions","version":"0.0.1","description":"Asdeporte inscription questions","main":"build/index.js","dependencies":{"react":"^16.0.0","axios":"^0.18.0","classnames":"^2.2.5","prop-types":"^15.6.1","react-dom":"^16.0.0","react-input-mask":"^2.0.1","react-rangeslider":"^2.2.0","react-select":"^1.2.1","react-validation":"^3.0.7","validator":"^10.2.0","webpack":"^2.6.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"webpack --watch","build":"webpack"},"author":{"name":"Carlos Cuevas","email":"cea.karlos@gmail.com"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.5.1","css-loader":"^0.28.11","style-loader":"^0.21.0"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/asdeporte/asdeporte-inscription-questions.git"},"license":"ISC","bugs":{"url":"https://gitlab.com/asdeporte/asdeporte-inscription-questions/issues"},"homepage":"https://gitlab.com/asdeporte/asdeporte-inscription-questions#README","gitHead":"7001a4c0f00e3deab7ebc3b4809e58ea1a14287b","_id":"@asdeporte/asdeporte-inscription-questions@0.0.1","_npmVersion":"5.2.0","_nodeVersion":"8.6.0","_npmUser":{"name":"karloeduardo","email":"cea.karlos@gmail.com"},"dist":{"integrity":"sha512-wxDk7gANNvvY92pVj+DkzFLF4Otb1r4H1HcTsEvOfnr/NIv01Wntta9CYg3seHzaTw0GXcHjC2c1XsWStA7A6Q==","shasum":"145bc081a70938e3973bed047be2120a966eb82f","tarball":"https://registry.npmjs.org/@asdeporte/asdeporte-inscription-questions/-/asdeporte-inscription-questions-0.0.1.tgz","fileCount":19,"unpackedSize":1368142,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFw4FCRA9TVsSAnZWagAA1nAP/3JwIjEFv/J5Jy/KA7YM\nj715mCqWuESILNaKSFdbqrYKuQMOmszsNN1gk8YM5D/vm5CnInXTRX9m0BX6\n0iONuybdVtWeryPKXI4ttrfZkyxCLNCZ+bXeheoB8p+UaweJlGXLoNjJcLL0\nrZ31cD5ekTjXhUPEvGOSDhW78HyTfJV/lrCw1IGO2bmLQNr7hAtinSqixPdU\nTFh7FUqAi5Se0nRXUWvfbINLCUUNDpaIBf6Hd6lXWFMlIPjaQ/pXzrmn45ak\nVSjEOt0V6968P4tJy87iqVCiT9vxOx2650qv8J5gTlYjJAfrYZWfAb9U4Rwv\n/Fh2lCXXLRLC6q3xjBYN2+d8Jie0cXBQY5mwqeAz79KnXwXl2wuEe3WJmvnu\nrVyzKB4gRnNty0bBvUvTG9fLix3UZTFEISkDI3duxku/qhtfyAiPysZlty3Q\nNpW4BZ4lFCG4sIf+x6BFcMBT/aZ5Tzp7AIgJ82XXtyO2IBvZ2pwBdMTB7f8V\nsqNp4yBy6F7QZBuqSM0lCm95UoehL1umiaisaevPCCzukPIlzF86nQCtNsN5\nYFzcF7qgktk+9dBCvjgklJmyHtFHRTve1D9XkrCIINlvnGiR9st6kLVR3gAc\n5MjNt2x1Oc27L5yLPITjClVE0Un4TK1AW89FcM2NgyyWsYWtiQ58P2zSnFKa\n9Uov\r\n=s4NR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDsbaYWgRtYuV1T+latiToTfrnG/2wtqsHS7De9DOf9uAiEA/H0VGtz/qSdJ7sbWPM5v9/GLnmmPB9Nmenew4i7kG2k="}]},"maintainers":[{"name":"fetusz","email":"farid.herrera@gmail.com"},{"name":"karloeduardo","email":"cea.karlos@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/asdeporte-inscription-questions_0.0.1_1528237571454_0.2927737110690547"},"_hasShrinkwrap":false},"0.0.3":{"name":"@asdeporte/asdeporte-inscription-questions","version":"0.0.3","description":"Asdeporte inscription questions","main":"build/index.js","dependencies":{"react":"^16.0.0","axios":"^0.18.0","classnames":"^2.2.5","prop-types":"^15.6.1","react-dom":"^16.0.0","react-input-mask":"^2.0.1","react-rangeslider":"^2.2.0","react-select":"^1.2.1","react-validation":"^3.0.7","validator":"^10.2.0","webpack":"^2.6.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"webpack --watch","build":"webpack"},"author":{"name":"Carlos Cuevas","email":"cea.karlos@gmail.com"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.5.1","css-loader":"^0.28.11","style-loader":"^0.21.0"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/asdeporte/asdeporte-inscription-questions.git"},"license":"ISC","bugs":{"url":"https://gitlab.com/asdeporte/asdeporte-inscription-questions/issues"},"homepage":"https://gitlab.com/asdeporte/asdeporte-inscription-questions#README","gitHead":"cadd9f3740831e2fcd61c87df60ca9d51fd46dbd","_id":"@asdeporte/asdeporte-inscription-questions@0.0.3","_npmVersion":"5.2.0","_nodeVersion":"8.6.0","_npmUser":{"name":"karloeduardo","email":"cea.karlos@gmail.com"},"dist":{"integrity":"sha512-EFe/n6/YGfoslzpHLdoacwibneaw7DilhIQYaxSM84mTYYzoZ8OFl4MlgMyCBkEFKaElBj7z5+pGUcZrrXnA/g==","shasum":"9185a4d2b168d369f2592f5e488b41738b1b8f08","tarball":"https://registry.npmjs.org/@asdeporte/asdeporte-inscription-questions/-/asdeporte-inscription-questions-0.0.3.tgz","fileCount":18,"unpackedSize":1348959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGCqkCRA9TVsSAnZWagAAvAcQAIou6QfG1dQ5uJzxgzUt\nfAZCEfk7eWbhKHfdzygsbE8bodfaXOfUL+sBLJqkx4XUkZQwfXB31MXpBIrv\npPVoV3wbJW2rsSGMD5X5w6X5XiKYCkpHOL4av4tFZw6/dtHL1/Wi73LkuvYC\nbInYVZgpbspvYiQ9Y2MEVtn/irYNaziyE9tPQCm/p1rZ96W6RF7TDUxqSDbp\nEe2L1mDCiUT2SV8tQXQSQXdifJY2gZWOQs4zyG4SpF3Jn5VN49WKO7ahiR46\ngntHcpJycm+pF6g+le6qr0xUxEWqMpO4pnX2Q6+PNgA2+bGha3fryw78W4dN\ni7XB/EtlNA60aElUBm+79x/mjeRrGJasxgk9nYmvtXZwXSBp/zjknBslR9yH\n4xiSjcHTAoKUMrotW8C2BwKNyku7WNazMSuwywhKW2zjIBpB9hS8axxd5ZVD\nmYQfximfHk2WD0KYNFtFhvO3xLS9xQqe63sELCIkYzt5M5llX49aXagnqtXD\nhxvle3aHXae1LRe/nE1WLMCQNdUjp+kOGiN+/hVG6ziYyfO2FqkAAjItNO6H\nZfLE9rE4f/MEXopaOwxZQqKU6vFFePIG/axL6AYrMeDkabvP8LD45s57koJh\n5NSoMulLIw2xFfgPUwG+iKzJbroSPIUPVKSaEM6jorMU8PzdMGY3bbK1e0f5\nqSxP\r\n=TV4v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFr1NK3fS5biagWXeJrKGPmsDJuPN+7xsI/EccFLx+y5AiASJISRS3m3VtufH55mf8/558hSyCQnEd5xO3Z6iv1O2w=="}]},"maintainers":[{"name":"fetusz","email":"farid.herrera@gmail.com"},{"name":"karloeduardo","email":"cea.karlos@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/asdeporte-inscription-questions_0.0.3_1528310435912_0.22861264491389965"},"_hasShrinkwrap":false},"0.0.4":{"name":"@asdeporte/asdeporte-inscription-questions","version":"0.0.4","description":"Asdeporte inscription questions","main":"build/index.js","dependencies":{"react":"^16.0.0","axios":"^0.18.0","classnames":"^2.2.5","prop-types":"^15.6.1","react-dom":"^16.0.0","react-input-mask":"^2.0.1","react-rangeslider":"^2.2.0","react-select":"^1.2.1","react-validation":"^3.0.7","validator":"^10.2.0","webpack":"^2.6.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"webpack --watch","build":"webpack"},"author":{"name":"Carlos Cuevas","email":"cea.karlos@gmail.com"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.5.1","css-loader":"^0.28.11","style-loader":"^0.21.0"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/asdeporte/asdeporte-inscription-questions.git"},"license":"ISC","bugs":{"url":"https://gitlab.com/asdeporte/asdeporte-inscription-questions/issues"},"homepage":"https://gitlab.com/asdeporte/asdeporte-inscription-questions#README","gitHead":"406c9223b93b9f264fd8ddb12de1117482491094","_id":"@asdeporte/asdeporte-inscription-questions@0.0.4","_npmVersion":"5.2.0","_nodeVersion":"8.6.0","_npmUser":{"name":"karloeduardo","email":"cea.karlos@gmail.com"},"dist":{"integrity":"sha512-YzRX6t0izig6vzXNYspRqEr0a+eZ6LVC+B9sBvBQ36hfv6FbeXhAZo7bTZwDYUXIEBgQCWj5aKdXBWvscPyvRQ==","shasum":"1af42c0d8fa973961761b8829a053f6b35c4299d","tarball":"https://registry.npmjs.org/@asdeporte/asdeporte-inscription-questions/-/asdeporte-inscription-questions-0.0.4.tgz","fileCount":18,"unpackedSize":1350473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHgeNCRA9TVsSAnZWagAAm50P/27sA5FWkwJwRklyiqGu\n96ltyY+F0RR79LCRUjt/XscYwYXGY91LJgZ3ZHPmIBUzSW5jvzR42V0PG8Ub\nqvQr2hgPbMX6E/TaRBGgi3MPXBbRAjhODIq9qI5rj8AxZ/AfOPZOiY/9tKID\nrfc2xcIipX1HteyWP57Ex/ndTkAdxH/6I07zHu4sN9odaS/UxQV1+QKGXPKF\nllJEPDFq1A2jOUnPhZHyPlAeTQA9SC5hY42ZaAFB5tSVDS+/sxIve8b8uOf8\nowC82V++gew2WFD+LbXj9MXZ864lsCNP+ydO2vP3HlFORq8FMEE0KGxJCppI\nXof2YIN6XNUopt3H+gvH7C8L7sePVTJ47SqQJMEpzqbcMFIeHyl6gkPNA0UQ\nznwMG6J4cO28ZDgFe20O6ET10ZiKi9GSX41QiY+lrUHYA0ESaH4jeLLwOflh\nMO5QDtbWout7GrJHNg/RVYsY6fbAyA51SYbtJN2/d4FPSq/3h/MtrUFlafwj\n8bK52HyUSqWhmv/Rp2uepAt+GaZWKZTa9BfkKuyZnVjb6Kj5abE1pWd8KIiu\n5NRb+Ui+bcvTy7wqNsURSvG91jRihbMIpOyAjKkUzF+VWMR9n3/6qmsqoE6k\nmQS/n55VKMIMitAwrH9/pKbpDwOyjWpwO+rCTtyTOsspTgMujqWJmmcgJmjL\nTX8Q\r\n=WREL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1jylrnZL5W2A7/lpZmb21ZN8FVgjegQNsN0r+vQRsvgIhAKGbRhbI6QzcfrTOkS1ZG63+IZfcIjVvpbULZvAOhUL+"}]},"maintainers":[{"name":"fetusz","email":"farid.herrera@gmail.com"},{"name":"karloeduardo","email":"cea.karlos@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/asdeporte-inscription-questions_0.0.4_1528694668103_0.19035866312071925"},"_hasShrinkwrap":false}},"time":{"created":"2018-06-05T22:26:11.293Z","0.0.1":"2018-06-05T22:26:12.310Z","modified":"2022-04-04T15:44:20.888Z","0.0.3":"2018-06-06T18:40:36.021Z","0.0.4":"2018-06-11T05:24:28.464Z"},"maintainers":[],"description":"Asdeporte inscription questions","homepage":"https://gitlab.com/asdeporte/asdeporte-inscription-questions#README","repository":{"type":"git","url":"git+ssh://git@gitlab.com/asdeporte/asdeporte-inscription-questions.git"},"author":{"name":"Carlos Cuevas","email":"cea.karlos@gmail.com"},"bugs":{"url":"https://gitlab.com/asdeporte/asdeporte-inscription-questions/issues"},"license":"ISC","readme":"# Preguntas dinamicas para usuario y generales\n\n\nRecibe como parametros un arreglo de objetos ( el arreglo que ya viene en payload de inscripciones), puede ser user o general.\n\nEjemplo de parametros que recibe:\n\n\n```js\n<Questions \n  userid={this.props.userid}\n  questions={this.props.user_questions }\n  questiontype='user'\n  onValidateData={this.onValidateData} \n  validate={this.state.validate}  \n  />\n```\n\n## userid={this.props.userid}\n\nEs el uuid del usuario\n\n```diff\n  \"d95654c5-45eb-4a8d-bcde-79268b995f4f\"\n```\n\n## questions\n\nEs el Arreglo que devuelve la api de incripciones dentro del objeto questions: user[] o general[], \n\n```diff\n    [\n        {\n          \"deleted\":false\n          \"disabled\":true\n          \"eventid\":\"77bb6a87-4fb1-48ab-9a9c-240a479907d5\"\n          \"global\":false\n          \"placeholder\":\"placeholder\"\n          \"question\":\"Pregunta de prueba number one. test disable\"\n          \"questionid\":\"01d0b703-537b-418a-8828-48cc5952a92d\"\n          \"range_end\":null\n          \"range_start\":null\n          \"range_unity\":null\n          \"type\":\"text\"\n        },{\n          \"deleted\":false\n          \"disabled\":true\n          \"eventid\":\"77bb6a87-4fb1-48ab-9a9c-240a479907d5\"\n          \"global\":false\n          \"placeholder\":\"placeholder\"\n          \"question\":\"Pregunta de prueba number two. test\"\n          \"questionid\":\"01d0b703-537b-418a-8828-48cc5952a92d\"\n          \"range_end\":null\n          \"range_start\":null\n          \"range_unity\":null\n          \"type\":\"text\"\n        }\n    ]\n```\n\nLos arreglos pueden ir vacios.\n\n## questiontype\n\nEl questontype es un string, puede ser `'user'` o `'general'` dependiendo del tipo de pregunta.\n\n## onValidateData\n\nonValidateData es una funcion que te va a retornar dos parametros.\n1.- Un arreglo de objetos *n*, siendo *n* un objeto con los campos *questionid*, *answer* y *userid* en caso de ser una pregunta de usuario.\n\n```diff\n    [\n        {\n            answer:\"Opcion 2\"\n            questionid:\"013e40f7-2ee7-4ddb-9dae-c7129f8cc63a\"\n            questionoptionid:\"545bb1bf-edc4-49bd-9edc-a2c7315f9261\"\n            userid:\"a49be111-2710-4bb8-b256-8452dca08cbd\"\n        },{\n            answer:76\n            questionid:\"d95654c5-45eb-4a8d-bcde-79268b995f4f\"\n            userid:\"a49be111-2710-4bb8-b256-8452dca08cbd\"\n        },{\n            answer:91\n            questionid:\"d4537bd9-88da-4eb7-86f5-fd6fa1cb9931\"\n            userid:\"a49be111-2710-4bb8-b256-8452dca08cbd\"\n        }\n    ]\n```\n\n2.- False en caso de que todavia quede alguna pregunta sin responder o True en caso de que todas las preguntas esten respondidas.\n\n## validate\nSe debe pasar un booleano. *true* para retornar la informacion en `onValidateData`.","readmeFilename":"README.md"}