{"_id":"@craydel/craydel-date-picker","_rev":"4-069bbb25cb7e5bd81603918005d20f87","name":"@craydel/craydel-date-picker","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@craydel/craydel-date-picker","version":"1.0.0","description":"A custom Vuetify date picker component for Craydel.","author":{"name":"Wasim Al-Haddad"},"keywords":["vuetify","date picker","vue","nuxt"],"publishConfig":{"access":"public"},"gitHead":"bcf71e066bc35cd1a581de2c18c4c302901d853f","_id":"@craydel/craydel-date-picker@1.0.0","_nodeVersion":"16.14.0","_npmVersion":"lerna/7.3.0/node@v16.14.0+x64 (win32)","dist":{"integrity":"sha512-UC4qRwjkJucqC7P9HxZN/r4hmaviuvH63R5pukFdThg/VVr6YBNcwersXgs4VjBrTEHUfgRFQOENgpuPgzYtlQ==","shasum":"757fcb5146bc2f365be667bf4bd2c485de0fde6d","tarball":"https://registry.npmjs.org/@craydel/craydel-date-picker/-/craydel-date-picker-1.0.0.tgz","fileCount":4,"unpackedSize":14473,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKfYft1LHJgYnBr91JoQk4/zfWwko51LjuDfcnDr3QDAIhAMjQVTjBl6zfxRhSY7E5RHHHZ5Ro56017B2psF9vI1ZO"}]},"_npmUser":{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"},"directories":{},"maintainers":[{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craydel-date-picker_1.0.0_1695046133568_0.1776642911129256"},"_hasShrinkwrap":false},"1.0.1":{"name":"@craydel/craydel-date-picker","version":"1.0.1","description":"A custom Vuetify date picker component for Craydel.","author":{"name":"Wasim Al-Haddad"},"keywords":["vuetify","date picker","vue","nuxt"],"publishConfig":{"access":"public"},"gitHead":"40b04a916f35fd01e15d1af3885acccbcad81ae0","_id":"@craydel/craydel-date-picker@1.0.1","_nodeVersion":"16.14.0","_npmVersion":"lerna/7.3.0/node@v16.14.0+x64 (win32)","dist":{"integrity":"sha512-qKwL8TbMDFUEvt4W1Fcpuy59MjWaiu2LU1BhQCWSEz1JQLRxIUS+HL74tqWc8grTa65te/DwXpry7AdwB7BVHw==","shasum":"3f7b2a5907f41ed493356708cabf09220b40a259","tarball":"https://registry.npmjs.org/@craydel/craydel-date-picker/-/craydel-date-picker-1.0.1.tgz","fileCount":4,"unpackedSize":14190,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrHi8M0l5sAWt/oKlhLwZvhMPAE7y+Mw7oWNXBQb/I1wIhAKGvnokRucAmdFwXKaJCCHZGBHCzH1dB9tbkcItD+VD0"}]},"_npmUser":{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"},"directories":{},"maintainers":[{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craydel-date-picker_1.0.1_1695048283263_0.4204863696041139"},"_hasShrinkwrap":false},"1.0.2":{"name":"@craydel/craydel-date-picker","version":"1.0.2","description":"A custom Vuetify date picker component for Craydel.","author":{"name":"Wasim Al-Haddad"},"keywords":["vuetify","date picker","vue","nuxt"],"dependencies":{"vuelidate":"^0.7.7"},"publishConfig":{"access":"public"},"gitHead":"861c6439f769c99f9a4bd0c123fe19f8171ec050","_id":"@craydel/craydel-date-picker@1.0.2","_nodeVersion":"16.14.0","_npmVersion":"lerna/7.3.0/node@v16.14.0+x64 (win32)","dist":{"integrity":"sha512-G4LHKcLLzMMgG8+I9sVj2fDg87Tm5PixfhR0Bv0svKgx8bUkKOnB3DzhjEhNqxrkGB/6ckU4YEU0yfXAj+PTWg==","shasum":"604a1e57080b0ccb831425e97792065f9b1d5820","tarball":"https://registry.npmjs.org/@craydel/craydel-date-picker/-/craydel-date-picker-1.0.2.tgz","fileCount":4,"unpackedSize":14241,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHH6FhkBkrBZqq7Gs7EafI93mWl+U9zUxivhb1ay/ohVAiEAtQjSjcF+p4OiFDdU0dAhGL21g/KIowc2NlwNL5qa1Fw="}]},"_npmUser":{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"},"directories":{},"maintainers":[{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craydel-date-picker_1.0.2_1695106934381_0.06959735139278167"},"_hasShrinkwrap":false},"1.0.3":{"name":"@craydel/craydel-date-picker","version":"1.0.3","description":"A custom Vuetify date picker component for Craydel.","author":{"name":"Wasim Al-Haddad"},"license":"MIT","keywords":["vuetify","date picker","vue","nuxt"],"dependencies":{"vuelidate":"^0.7.7"},"publishConfig":{"access":"public"},"gitHead":"dcab0c7dceab40486e8eab7a571b75fdce0e93e5","_id":"@craydel/craydel-date-picker@1.0.3","_nodeVersion":"16.14.0","_npmVersion":"lerna/7.3.0/node@v16.14.0+x64 (win32)","dist":{"integrity":"sha512-fOPEwVGlJdeliBM/A9i6/R6+jAJUpEGNPEdqeYtcdaCsFOo/pi3fyYMvi9F/2LGAb/KDaoP8WnUAnyV/isl5cQ==","shasum":"0a8a88c3309cbcad4059b08d61e981e0e87afbc0","tarball":"https://registry.npmjs.org/@craydel/craydel-date-picker/-/craydel-date-picker-1.0.3.tgz","fileCount":5,"unpackedSize":15314,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0Al6CeSqlwskaSsd2qYOrqVfrQSv2SU/ZRcrAJE/YcwIgaIy7uv9yc9uDjumdZJtIZFQsnFCKH53vwTUhiMdfKtM="}]},"_npmUser":{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"},"directories":{},"maintainers":[{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craydel-date-picker_1.0.3_1695211461913_0.6960299009464581"},"_hasShrinkwrap":false},"1.0.4":{"name":"@craydel/craydel-date-picker","version":"1.0.4","description":"A custom Vuetify date picker component for Craydel.","author":{"name":"Wasim Al-Haddad"},"license":"MIT","keywords":["vuetify","date picker","vue","nuxt"],"dependencies":{"vuelidate":"^0.7.7"},"publishConfig":{"access":"public"},"gitHead":"67229e5ab91854011544856d1937610dfbb80f53","_id":"@craydel/craydel-date-picker@1.0.4","_nodeVersion":"16.14.0","_npmVersion":"lerna/7.3.0/node@v16.14.0+x64 (win32)","dist":{"integrity":"sha512-FBXf2T8Kn3TTD35XiFQ+BhKow0VJdRhru+LUMvY6c/Df08rn2WHPJVloAoD7O5LVi2HCAyvVCPjSLMf/tY8Aag==","shasum":"e2a7a57ab84dfbaf35bf398d2fc37e104b9e2001","tarball":"https://registry.npmjs.org/@craydel/craydel-date-picker/-/craydel-date-picker-1.0.4.tgz","fileCount":5,"unpackedSize":15263,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAam8UQU2VXooM7YNIUDlFVzHVOHd1LgRUnleD0HQKPAiBRoOTNra/nwcCYz7lajXZ6CFgzP3qrvDbFLETACnm6Dg=="}]},"_npmUser":{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"},"directories":{},"maintainers":[{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/craydel-date-picker_1.0.4_1695823232685_0.2428069988584418"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-18T14:08:53.434Z","1.0.0":"2023-09-18T14:08:53.693Z","modified":"2023-09-27T14:00:33.060Z","1.0.1":"2023-09-18T14:44:43.422Z","1.0.2":"2023-09-19T07:02:14.661Z","1.0.3":"2023-09-20T12:04:22.070Z","1.0.4":"2023-09-27T14:00:32.876Z"},"maintainers":[{"name":"sayedwasim","email":"wasimalhaddad@gmail.com"}],"description":"A custom Vuetify date picker component for Craydel.","keywords":["vuetify","date picker","vue","nuxt"],"author":{"name":"Wasim Al-Haddad"},"readme":"# CraydelDatePicker\n\n## Installation\n\nGet the latest version by NPM:\n\n```bash\n$ npm i @craydel/craydel-date-picker\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 CraydelDatePicker from '@craydel/craydel-date-picker/src/CraydelDatePicker.vue'\n\nconst Components = {\n  CraydelDatePicker,\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| placeholder    | string  | 'DD/MM/YYYY'        | Sets the component's placeholder text.                                                                                                                            |\n| is-required    | boolean | false               | Puts component in a required state.                                                                                                                               |\n| required-error | string  | 'Field is required' | Puts the component in an error state and passes through the custom required error message.                                                                        |\n| min            | string  | undefined           | Minimum allowed date/month (ISO 8601 format)                                                                                                                      |\n| max            | string  | undefined           | Maximum allowed date/month (ISO 8601 format)                                                                                                                      |\n| hint           | string  | undefined           | Hint text.                                                                                                                                                        |\n| attach         | string  | undefined           | Specifies which DOM element that this component should detach to. String can be any valid querySelector. This will attach to the root v-app component by default. |\n| no-validation  | boolean | false               | Removes the validation styling from the component.                                                                                                                |\n| disabled       | boolean | false               | Disables the component.                                                                                                                                           |\n\n&emsp;\n\n## Events\n\n| Name    | Description                                                                                        |\n|---------|:---------------------------------------------------------------------------------------------------|\n| change  | Change event is emitted only when the day (for date pickers) or month (for month pickers) changes. |\n\n&emsp;\n\n## Usage\n\nAn example showing a date picker for a birthday, restricting dates range.\n\n```html\n<craydel-date-picker\n        placeholder=\"Date of birth\"\n        min=\"1950-01-01\"\n        :max=\"(new Date(Date.now() - (new Date()).getTimezoneOffset() * 60000)).toISOString().substring(0, 10)\"\n></craydel-date-picker>\n```","readmeFilename":"README.md","license":"MIT"}