{"_id":"@160over90/vue-form-fetch","_rev":"7-7b560f91333c22b73e4e72ef854c8e8d","name":"@160over90/vue-form-fetch","dist-tags":{"latest":"0.3.0"},"versions":{"0.2.0":{"name":"@160over90/vue-form-fetch","version":"0.2.0","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","build-bundle":"vue-cli-service build --target lib --name @160over90/vue-form-fetch ./src/components/index.js"},"dependencies":{"vue":"^2.5.17"},"license":"MIT","description":"Allows you to use the HTTP methods to send or get data gathered from any number of form fields.","main":"./dist/@160over90/vue-form-fetch.common.js","repository":{"type":"git","url":"https://github.com/160over90/vue-form-fetch"},"bugs":{"url":"https://github.com/160over90/vue-form-fetch/issues"},"devDependencies":{"@vue/cli-plugin-babel":"^3.0.0","@vue/cli-plugin-eslint":"^3.0.0","@vue/cli-service":"^3.0.0","@vue/eslint-config-airbnb":"^3.0.3","vue-template-compiler":"^2.5.17"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","@vue/airbnb"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions","not ie <= 8"],"licenseText":"MIT License\n\nCopyright (c) 2018 160over90\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@160over90/vue-form-fetch@0.2.0","dist":{"shasum":"f6622cb09a5f54ace0e522638b58ae5c9ebc5cb2","tarball":"https://registry.npmjs.org/@160over90/vue-form-fetch/-/vue-form-fetch-0.2.0.tgz","integrity":"sha512-PCJrAOkDbslJ0solzYLWYkoTUkouxhO9YUOphc3PM1fvJfr/5Sdn5yz0onR5FkaNly8EZ/wpwrDJi6SyjIBlLw==","fileCount":25,"unpackedSize":328469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu4hrCRA9TVsSAnZWagAATRAP/1GemzCEqU4xOJgg24N6\nr5/JQxhvqES+5UnZL0cWcT8o1ynK4NrG6zrfjoV/xtFejOvlp9FIkJxgIXOZ\nQcpmra7SFVkEfVVlJdSI3KjMffYJ5Ns8iXHBytVnbom3AvbokIwxFAzpw4Km\ngCgFc0vOfbIkZUhfWDlB/mEFcXYj2XAQ127wby1OPYcvfQHVVJ3l8aW6S9es\nvvk2ovV2GN2BCpVQ3S8Jp7C+GShGeHDXnii3xmH9pIZCM2nTnLpBmE2OK42U\naBf3mYAZol5Lqp0C4WW5I7hgXOheIPLbB8TiFfvSszi3R5zEP8oG6FyZThk4\n8Eill9B0kH7tw2HDLR8QnnZye+uZ3/CHqP/0MHW0hdBtwFKrwMEbacCTEOGK\nDVWHVeHEahXAVTvvPz1uhOZRHG3rxLaa+Ch7e5Nd9etNcTGkcOFTW4K2YXfh\n4/Yw855a2Hf2az/2Y3cgnMrEP4CTuTPcA2BfnGy4spJ4Uuutk/AYbd3upUwG\nYNs/Qe7wJOp5GKBSv7o4fU3QCg0MXWDxBAEyHHKwpCTumVUGKYwYh7VBPX0D\nAZOu8CNYBFDCARDa1mbpPbh2GGF7IwzecOCiWVeLcghyEJtYZGEybKLYJDAx\n+zlMKAi6Tgo6MXz/9bRhPMrMKNN1txozv3B+majeyuOI2HdINfZbiK8hAZ07\n71d+\r\n=pOXH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9jqTeBL4UyGuMZoMBR11430aTqb3ihD82JEUL3Dv+6wIgRleZbxAr/JAyaV7b1A4DFVSt4JPAX1LCy4F/BEyomiY="}]},"maintainers":[{"name":"160over90user","email":"interactive@160over90.com"},{"name":"breyell","email":"breyell@gmail.com"},{"name":"caseyjoneal","email":"caseyjoneal@gmail.com"},{"name":"mrcsmcln","email":"marcus@mclean.digital"}],"_npmUser":{"name":"caseyjoneal","email":"caseyjoneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-form-fetch_0.2.0_1539016810870_0.9808401777148126"},"_hasShrinkwrap":false},"0.3.0":{"name":"@160over90/vue-form-fetch","version":"0.3.0","scripts":{"build":"vue-cli-service build --target lib --name @160over90/vue-form-fetch src/main.js"},"dependencies":{"vue":"^2.5.17"},"license":"MIT","description":"Allows you to use the HTTP methods to send or get data gathered from any number of form fields.","main":"./dist/@160over90/vue-form-fetch.common.js","unpkg":"dist/@160over90/vue-form-fetch.umd.js","repository":{"type":"git","url":"git+https://github.com/160over90/vue-form-fetch.git"},"bugs":{"url":"https://github.com/160over90/vue-form-fetch/issues"},"devDependencies":{"@vue/cli-plugin-babel":"^3.0.0","@vue/cli-plugin-eslint":"^3.0.0","@vue/cli-service":"^3.0.0","@vue/eslint-config-airbnb":"^3.0.3","vue-template-compiler":"^2.5.17"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","@vue/airbnb"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions","not ie <= 8"],"gitHead":"020f43ede6ea7cdf44df8d6a3cafab131c608379","homepage":"https://github.com/160over90/vue-form-fetch#readme","_id":"@160over90/vue-form-fetch@0.3.0","_npmVersion":"6.4.1","_nodeVersion":"11.3.0","_npmUser":{"name":"rlandman","email":"ryan.landman@gmail.com"},"dist":{"integrity":"sha512-PdMBKwNZXKTop6F4x+3lOZVLNBXS/0YGaB3zeDvbSPpWAP5Bh8m1+dBTMu4RtP3Ru3BvRH1HEs7xl5473RuGpA==","shasum":"3a1b402a7c27d93dc48fd1c242750388d93ea248","tarball":"https://registry.npmjs.org/@160over90/vue-form-fetch/-/vue-form-fetch-0.3.0.tgz","fileCount":18,"unpackedSize":576699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBaLHCRA9TVsSAnZWagAArDEP/3XRZGu4oOd7vlV0BZyc\nh83MsknRQxxbaeKSiuo+uIyWX9JCcW3RbsVYTLcwoJc9YFhR9G9gR6zxlxNt\nGj+In8gJwC4w8xBX+0CqucjZViqeGju0UU3mcmV+sgChdDuBcrR5tA9AGg5Z\nWZKWXLIP5oXojMiBHo1iSDm8BscHSJ5hE/HFvLftv+53btBvpaVMdAeMYkAL\nPcrq14PaalEsFOCqKKKNDmHxVTftM+3Ml70+NVNBGZ9/RL0opGnOHLy1XKeP\nkLnuDR1VBrGBcA2qfEp7mEh7syU5D0a3F20dbmOKP5LomJR9ss4o4Esm6Ef5\nPGT3N1MZOX4Uiks+a726y0Ob73Bc27n3w5eT7M2zozvGAJJ3dv3aVjhk0G07\nr7V4Bm2XH1MX4Xyp1wO3+R06hS4ekriRAe96kY8DP7IhAdeTEqxkd3FRlAss\n3Du16g5KDD81vEhCbnswOEHaLLvTyWiM6m0uskC1ECjOCFOPQ7tR+UWapNWP\nQmfeURyvqkadkW4QQUwjm4x2Wr3vZi7Icepuyy1XjWTlP6/z6BY/LXxa2hFh\nCxPawOhAwitPSUQSIQK/CzE9DyV7EbzHJTt5f1Li2xOipDbihuqZMtukouEs\nXD3GXRDJQcgEBZEdRMJACVKgOPDNANjCykjSS81zsTxMK6X4y+JHVCezV2BI\nimyg\r\n=DHPM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLwiV8BtFRsUB0DVaRlQpalX4SAFtGVDID57Zpu2643AiEAj8wc/NUli/v7K/520XBa4EicvaBQQlAJmxbyv1q+Lro="}]},"maintainers":[{"email":"breyell@gmail.com","name":"breyell"},{"email":"caseyjoneal@gmail.com","name":"caseyjoneal"},{"email":"jfriedman139@gmail.com","name":"jfriedman139"},{"email":"marcus@mclean.digital","name":"mrcsmcln"},{"email":"ryan.landman@gmail.com","name":"rlandman"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-form-fetch_0.3.0_1543873223233_0.032007156132903614"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-08T16:40:10.704Z","0.2.0":"2018-10-08T16:40:10.987Z","modified":"2022-04-04T10:32:01.533Z","0.3.0":"2018-12-03T21:40:23.350Z"},"maintainers":[{"email":"ryan.landman@gmail.com","name":"rlandman"},{"email":"caseyjoneal@gmail.com","name":"caseyjoneal"}],"description":"Allows you to use the HTTP methods to send or get data gathered from any number of form fields.","repository":{"type":"git","url":"git+https://github.com/160over90/vue-form-fetch.git"},"bugs":{"url":"https://github.com/160over90/vue-form-fetch/issues"},"license":"MIT","readme":"\n# FormFetch\n\n## Features\nAllows you to use the HTTP methods [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET) and [POST](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST) to send or get data gathered from any number of form fields.\n\n>If you do not have `yarn` you can download it [here](https://yarnpkg.com/en/docs/install#mac-stable).\n\n## Instructions for global registration\n```\nyarn add @160over90/vue-form-fetch\n```\nInclude in main.js (app entry point)\n```\nimport FormFetch from '@160over90/vue-form-fetch';\n\nVue.use(FormFetch);\n```\n\n## Instructions for editing this package\n\n```\nyarn install\n```\n\n### Compiles and hot-reloads for development\n```\nyarn run serve\n```\n\n## Attributes\n**method**\nthe method attribute excepts the \"GET\" or \"POST\" HTTP methods.\n\n**action**\nthe action attribute excepts your API endpoint or path to PHP middleware.\n\nExample\n```\n<FormFetch\n  method=\"POST\"\n  action=\"/submit-form.php\"\n>\n  <template slot-scope=\"{ state, response }\">\n    <div>\n      <label>\n        <div>First Name</div>\n        <input name=\"firstName\">\n      </label>\n    </div>\n    <div>\n      <label>\n        <div>Last Name</div>\n        <input name=\"lastName\">\n      </label>\n      </div>\n      <button v-text=\"'Submit'\"/>\n      <p v-if=\"state === 'pending'>\n        Submitting your request...\n      </p>\n      <p v-else-if=\"state === 'rejected'\">\n        Sorry, that didn't work!\n      </p>\n      <p v-else-if=\"state === 'fulfilled'\">\n        {{ response.ok\n          ? \"You're good to go!\"\n          : \"Sorry, that didn't work!\"\n        }}\n      </p>\n  </template>\n</FormFetch>\n```\n\n## Props\n**init** (Object, Default: null)\nAllows you to pass a configuration object.\n\nExample\n```\n<FormFetch\n  method=\"POST\"\n  action=\"/submit-form.php\"\n  :init=\"{\n    mode: 'cors',\n    cache: 'no-cache',\n  }\"\n>\n...\n```\nFor request properties, refer to: https://developer.mozilla.org/en-US/docs/Web/API/Request.\n\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n","readmeFilename":"README.md","homepage":"https://github.com/160over90/vue-form-fetch#readme"}