{"_id":"@craydel/craydel-phone-field","_rev":"2-2ed09ec75e96e9e6087225d4d3a66f9f","name":"@craydel/craydel-phone-field","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@craydel/craydel-phone-field","version":"1.0.0","description":"A custom phone field component for Craydel based on vue-phone-number-input.","author":{"name":"Wasim Al-Haddad"},"keywords":["phone number","vue","nuxt"],"dependencies":{"awesome-phonenumber":"^3.4.0","vue-phone-number-input":"^1.12.13","vuelidate":"^0.7.7"},"publishConfig":{"access":"public"},"gitHead":"213482221638f777057d1835a3fadd9d6b421ede","_id":"@craydel/craydel-phone-field@1.0.0","_nodeVersion":"16.14.0","_npmVersion":"lerna/7.3.0/node@v16.14.0+x64 (win32)","dist":{"integrity":"sha512-ccTpORttBkc5PBfSZOCeTgOO3EgK+fcAFb8KBl65dB3Ord9VYgvix6CrjfIntS1TvzBaUEDy1GnrGCBXwttAYw==","shasum":"0b1b951e08db777c6c5e99b07c786901f8b28176","tarball":"https://registry.npmjs.org/@craydel/craydel-phone-field/-/craydel-phone-field-1.0.0.tgz","fileCount":4,"unpackedSize":13197,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJPI7a33ncTj060Z/IfF/OFDxuEtaPnVh18Zp+zBYlQAiB3pewhWR7fKpc2F9zyFWayg1hR/Q+D7G5s6aKMVElHhQ=="}]},"_npmUser":{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"},"directories":{},"maintainers":[{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craydel-phone-field_1.0.0_1695125711779_0.9378023037614882"},"_hasShrinkwrap":false},"1.0.1":{"name":"@craydel/craydel-phone-field","version":"1.0.1","description":"A custom phone field component for Craydel based on vue-phone-number-input.","author":{"name":"Wasim Al-Haddad"},"license":"MIT","keywords":["phone number","vue","nuxt"],"dependencies":{"awesome-phonenumber":"^3.4.0","vue-phone-number-input":"^1.12.13","vuelidate":"^0.7.7"},"publishConfig":{"access":"public"},"gitHead":"dcab0c7dceab40486e8eab7a571b75fdce0e93e5","_id":"@craydel/craydel-phone-field@1.0.1","_nodeVersion":"16.14.0","_npmVersion":"lerna/7.3.0/node@v16.14.0+x64 (win32)","dist":{"integrity":"sha512-vl+iIC50wSFg30rX/+hmtPHhTfCWqGc0jKCMCDziVtJFhPMwgeHmBEeA9wD8joYCrkCkKqoQKca52tH4xwGE4Q==","shasum":"8bcd7745e145eb8c03e04d0af70d3db5fc85e0a7","tarball":"https://registry.npmjs.org/@craydel/craydel-phone-field/-/craydel-phone-field-1.0.1.tgz","fileCount":5,"unpackedSize":14270,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAR5uOrw8QmClfy1SrqvQyrlRseWF6rfzVSskvTL0uUnAiAB4FVlNUPmrWA273bi8ncPon/ZHJ8Ct9BOOUD8ipwMKw=="}]},"_npmUser":{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"},"directories":{},"maintainers":[{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craydel-phone-field_1.0.1_1695211465278_0.18151303474109848"},"_hasShrinkwrap":false},"1.0.2":{"name":"@craydel/craydel-phone-field","version":"1.0.2","description":"A custom phone field component for Craydel based on vue-phone-number-input.","author":{"name":"Wasim Al-Haddad"},"license":"MIT","keywords":["phone number","vue","nuxt"],"dependencies":{"awesome-phonenumber":"^3.4.0","vue-phone-number-input":"^1.12.13","vuelidate":"^0.7.7"},"publishConfig":{"access":"public"},"gitHead":"67229e5ab91854011544856d1937610dfbb80f53","_id":"@craydel/craydel-phone-field@1.0.2","_nodeVersion":"16.14.0","_npmVersion":"lerna/7.3.0/node@v16.14.0+x64 (win32)","dist":{"integrity":"sha512-Oqp/k9A6uGAFiKZuLE0hghJmZN9B5h8VheeyZjS/0U1pvJSmahSOMgJ1mqNKd9xr29nSVlNvaSbH1DQW8iYLlw==","shasum":"455f25484195b125188ec06a92b221b399ebcdb8","tarball":"https://registry.npmjs.org/@craydel/craydel-phone-field/-/craydel-phone-field-1.0.2.tgz","fileCount":5,"unpackedSize":14219,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8GtRGQ/8TVcZQZEJxo6EejUzGiSMBAWqKu5bnXnUcIwIgA3VvkAyKzCZC56oE6ZTFGv+WLsKAcXpFOHmCGIF5jDE="}]},"_npmUser":{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"},"directories":{},"maintainers":[{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craydel-phone-field_1.0.2_1695823232688_0.9200196623287271"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-19T12:15:11.664Z","1.0.0":"2023-09-19T12:15:11.968Z","modified":"2023-09-27T14:00:33.142Z","1.0.1":"2023-09-20T12:04:25.479Z","1.0.2":"2023-09-27T14:00:32.948Z"},"maintainers":[{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"}],"description":"A custom phone field component for Craydel based on vue-phone-number-input.","keywords":["phone number","vue","nuxt"],"author":{"name":"Wasim Al-Haddad"},"readme":"# CraydelPhoneField\n\n## Installation\n\nGet the latest version by NPM:\n\n```bash\n$ npm i @craydel/craydel-phone-field\n```\n\n## Register Plugin\n\nIf you use the plugin API, the component will be registered as a global component just like when\nincluding it with the script tag, but you won't need to re-register it through the `components` property in your own\ncomponents.\n\nCreate the plugin file e.g `craydel-components.js` file.\n\n```javascript\n// craydel-components.js\nimport Vue from 'vue'\nimport CraydelPhoneField from '@craydel/craydel-phone-field/src/CraydelPhoneField.vue'\n\nconst Components = {\n  CraydelPhoneField,\n};\n\nObject.keys(Components).forEach(name => {\n  Vue.component(name, Components[name]);\n});\n\nexport default Components;\n```\n\nNext reference the plugin file in your nuxt.config.js\n\n```javascript\n// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins\nplugins: [\n  '~/plugins/craydel-components.js'\n]\n```\n\n## Props\n\n| Name                 | Type              | Default             | Description                                                                                                                                                                                                                                                                |\n|----------------------|-------------------|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| id                   | string            | random ID           | Sets the DOM id on the component.                                                                                                                                                                                                                                          |\n| is-required          | boolean           | false               | Puts component in a required state.                                                                                                                                                                                                                                        |\n| required-error       | string            | 'Phone is required' | Puts the component in an error state and passes through the custom required error message.                                                                                                                                                                                 |\n| hint                 | string            | undefined           | Hint text.                                                                                                                                                                                                                                                                 |\n| default-country-code | string            | undefined           | Sets the default country code.                                                                                                                                                                                                                                             |\n\n&emsp;\n\n## Usage\n\nAn example showing a phone field with the default country code set to Kenya.\n\n```html\n<craydel-phone-field default-country-code=\"KE\"></craydel-phone-field>\n```","readmeFilename":"README.md","license":"MIT"}