{"id":27834541,"url":"https://github.com/Bubblings/vue-date-picker","last_synced_at":"2025-05-02T13:01:10.086Z","repository":{"id":42187737,"uuid":"50108198","full_name":"8788/vue-date-picker","owner":"8788","description":"datepicker component for Vue 2.x","archived":false,"fork":false,"pushed_at":"2019-10-24T04:36:42.000Z","size":236,"stargazers_count":99,"open_issues_count":4,"forks_count":48,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-28T18:02:06.181Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/8788.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-21T13:07:49.000Z","updated_at":"2024-10-17T08:24:30.000Z","dependencies_parsed_at":"2022-09-06T05:00:55.842Z","dependency_job_id":null,"html_url":"https://github.com/8788/vue-date-picker","commit_stats":null,"previous_names":["bubblings/vue-date-picker"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8788%2Fvue-date-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8788%2Fvue-date-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8788%2Fvue-date-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8788%2Fvue-date-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/8788","download_url":"https://codeload.github.com/8788/vue-date-picker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252043563,"owners_count":21685464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-02T13:00:41.909Z","updated_at":"2025-05-02T13:01:10.077Z","avatar_url":"https://github.com/8788.png","language":"Vue","funding_links":[],"categories":["UI组件","Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)","Awesome Vue.js"],"sub_categories":["Libraries \u0026 Plugins"],"readme":"# vue-date-picker\n\n[![npm version][npm-image]][npm-url] [![david deps][david-image]][david-url] [![npm license][license-image]][download-url]\n\ndatepicker component for Vue 2.x\n\n## Screenshot\n\n![screenshot](screenshot.png)\n\n## Instllation\n\n```bash\n$ npm install vue-date-picker --save\n```\n\n## Usage\n\n```html\n\u003ctemplate\u003e\n  \u003cdiv class=\"demo\"\u003e\n    \u003cdatepicker :readonly=\"true\" format=\"YYYY-MM-DD\" name=\"date1\"\u003e\u003c/datepicker\u003e\n    \u003cdatepicker value=\"2018-9-5\" format=\"YYYY-M-D\" name=\"date2\" :input-attr=\"{ 'data-test': 'value' }\"\u003e\u003c/datepicker\u003e\n    \u003cdatepicker :readonly=\"true\" format=\"MMM/D/YYYY\" name=\"date3\" :disabled-date=\"disabledDate\"\u003e\u003c/datepicker\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport datepicker from 'vue-date-picker'\n\nexport default {\n  components: {\n    datepicker\n  },\n  methods: {\n    disabledDate (date) {\n      return date.getTime() \u003c Date.now()\n    }\n  }\n}\n\u003c/script\u003e\n```\n\n## Prop\n\n| Prop                          | Type               | Default     | Description                              |\n|-------------------------------|--------------------|:-----------:|------------------------------------------|\n| value                         | String             | --          | Date value of the datepicker             |\n| name                          | String             | --          | Input name property                      |\n| format                        | String             | YYYY-MM-DD  | Date formatting string                   |\n| readonly                      | String             | false       | Input readonly property                  |\n| input-class                   | Array \\| Object    | --          | Binding class for input                  |\n| input-style                   | Array \\| Object    | --          | Binding inline style for input           |\n| input-attr                    | Object             | --          | Binding attribute for input              |\n| calendar-class                | Array \\| Object    | --          | Binding class for calendar               |\n| calendar-style                | Array \\| Object    | --          | Binding inline style for calendar        |\n| calendar-attr                 | Object             | --          | Binding attribute for calendar           |\n| disabled-date                 | Function           | --          | A function that determines if you want to disable dates |\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\n[npm-image]: https://img.shields.io/npm/v/vue-date-picker.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/vue-date-picker\n[david-image]: https://img.shields.io/david/8788/vue-date-picker.svg?style=flat-square\n[david-url]: https://david-dm.org/8788/vue-date-picker\n[download-url]: https://npmjs.org/package/vue-date-picker\n[license-image]: https://img.shields.io/npm/l/vue-date-picker.svg","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBubblings%2Fvue-date-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBubblings%2Fvue-date-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBubblings%2Fvue-date-picker/lists"}