{"id":17095253,"url":"https://github.com/happytodev/vuejs-weekpicker","last_synced_at":"2026-05-17T03:33:07.024Z","repository":{"id":65519553,"uuid":"180584061","full_name":"happytodev/vuejs-weekpicker","owner":"happytodev","description":"A simple weekpicker component for vuejs","archived":false,"fork":false,"pushed_at":"2019-04-14T20:31:30.000Z","size":352,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-03T14:29:17.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/happytodev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-10T13:07:58.000Z","updated_at":"2019-04-14T20:31:31.000Z","dependencies_parsed_at":"2023-01-27T02:16:04.999Z","dependency_job_id":null,"html_url":"https://github.com/happytodev/vuejs-weekpicker","commit_stats":null,"previous_names":["itanea/vuejs-weekpicker"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/happytodev/vuejs-weekpicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happytodev%2Fvuejs-weekpicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happytodev%2Fvuejs-weekpicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happytodev%2Fvuejs-weekpicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happytodev%2Fvuejs-weekpicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/happytodev","download_url":"https://codeload.github.com/happytodev/vuejs-weekpicker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happytodev%2Fvuejs-weekpicker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33126474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"online","status_checked_at":"2026-05-17T02:00:05.366Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-10-14T14:42:19.411Z","updated_at":"2026-05-17T03:33:06.983Z","avatar_url":"https://github.com/happytodev.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vuejs-weekpicker\n\nThis is a vue.js weekpicker component. It implements Vuex to share datas with other components or parent app.\n\nShared datas  are :\n\n- Year\n- Week number\n- From and to infos corresponding to year and week choosed by user\n\nHere is what this component looks like\n\n![vuejs-weekpicker](https://user-images.githubusercontent.com/425998/56010974-fe95b100-5ce5-11e9-8136-180d7535e352.png)\n\n\n## How to configure it\n\nIn your main file app.js, add these lines :\n\n```\nimport WeekPicker from 'vuejs-weekpicker'\nimport store from './store/store'\n\nVue.use(WeekPicker)\n\n\nVue.config.productionTip = false\n\n```\n\nIn your new Vue instance, add call to store : \n\n```\nnew Vue({\n  store,\n  render: h =\u003e h(App)\n}).$mount('#app')\n```\n\nIn your src folder add a folder named 'store'.\n\nIn this folder add a file store.js\n\nIn this file, you can copy the code you can found [here](https://github.com/itanea/vuejs-weekpicker/blob/master/src/store/store.js)\n\n## How to use it \n\nJust call the week-picker tag :\n\n```\n\u003cweek-picker\u003e\u003c/week-picker\u003e\n```\n\nor like this \n\n```\n\u003cweek-picker /\u003e\n```\n\nBy default, the locale is english 'en'\n\nYou can change the locale with this syntax :\n\n```\n\u003cweek-picker week-picker-locale='fr'\u003e\u003c/week-picker\u003e\n```\n\nFor now, only english and french are supported.\n\nNota : param week-picker-locale is not required.\n\n## Roadmap\n\nTo do list for this component :\n\n- [X] Add under week selector the from date and to date. Example : for the week 2019/15, the result will be 'From 20190408 To 20190414'\n- [ ] Add ability to hide from/to information\n- [X] Add VueX implementation to help to communicate with parent and others components\n- [ ] Add ability to change component color to match with others components\n\n## Changelog\n- 20190414 v0.3.2 Fix #1 From / to does not appears at page loading\n- 20190414 v0.3.0 Add Vuex implementation\n- 20190412 v0.2.0 Add 'from/to' functionnality\n- 20190412 v0.1.8 First functionnal version \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappytodev%2Fvuejs-weekpicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhappytodev%2Fvuejs-weekpicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappytodev%2Fvuejs-weekpicker/lists"}