{"id":15573245,"url":"https://github.com/polo2ro/angular-teleperiod","last_synced_at":"2025-04-24T02:28:38.138Z","repository":{"id":28467913,"uuid":"31983760","full_name":"polo2ro/angular-teleperiod","owner":"polo2ro","description":"period picker on a time line with working hours embeded in an angular directive","archived":false,"fork":false,"pushed_at":"2020-09-19T12:32:26.000Z","size":61,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T05:26:48.108Z","etag":null,"topics":["angular","interval","period-picker","ui"],"latest_commit_sha":null,"homepage":null,"language":null,"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/polo2ro.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":"2015-03-10T21:51:37.000Z","updated_at":"2020-09-19T12:30:27.000Z","dependencies_parsed_at":"2022-08-30T16:11:08.252Z","dependency_job_id":null,"html_url":"https://github.com/polo2ro/angular-teleperiod","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polo2ro%2Fangular-teleperiod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polo2ro%2Fangular-teleperiod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polo2ro%2Fangular-teleperiod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polo2ro%2Fangular-teleperiod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polo2ro","download_url":"https://codeload.github.com/polo2ro/angular-teleperiod/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249381001,"owners_count":21261227,"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":["angular","interval","period-picker","ui"],"created_at":"2024-10-02T18:11:29.134Z","updated_at":"2025-04-17T21:32:10.688Z","avatar_url":"https://github.com/polo2ro.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular-teleperiod\nA period picker on a time line with working hours embeded in an Angular directive.\nThis project is an Angular wrapper for the main projet [teleperiod](https://github.com/polo2ro/teleperiod)\n\n![Preview](/examples/screenshot.png?raw=true)\n\n\nInstall\n----------\n\nBower:\n\n```shell\nbower install angular-teleperiod --save\n```\n\n\nDirectives\n----------\n\n```html\n\u003cdiv tp-teleperiod\u003e\n    \u003ctp-period-picker workingtimes=\"loadWorkingTimes\" events=\"loadEvents\" dtstart=\"selected.dtstart\" dtend=\"selected.dtend\"\u003e\u003c/tp-period-picker\u003e\n    \u003ctp-timeline name=\"Scholar holidays\" events=\"loadVacationsPreview\"\u003e\u003c/tp-timeline\u003e\n\u003c/div\u003e\n```\n\nthe `tp-teleperiod` attribute will display a sliding calendar view with one period picker and optional timelines.\n\n\nAttributes\n----------\n\n__On the tp-period-picker tag__\n\n`workingtimes`:\nA scope function used to create the working times periods, the function will be called while browsing the calendar view with an interval object as parameter\n\n`loadEvents`:\nA scope function used to create additional events on the calendar view, the function will be called while browsing the calendar view with an interval object as parameter\n\n`dtstart`:\nA scope property to update with the start date of the selection\n\n`dtend`:\nA scope property to update with the end date of the selection\n\n`ready`:\nIf attribute is set, draw the period picker when ready=true\n\n`periods`:\nOptional property to update with the list of selected periods\n\n`selectedevents`:\nOptional list of events to replace with a selection\n\n`refreshevents`:\nSet this value to \"true\" to force a reload of all events\n\n`dayFirstMinute`:\nSet the first minute of the day, default is 7x60 and day start at 7:00am\n\n`dayLastMinute`:\nSet the last minute of the day, default is 20x60 and day end at 8:00pm\n\n`options`:\nThe attribute can be used to change options from [teleperiod](https://github.com/polo2ro/teleperiod) \n\n__On a tp-timeline tag__\n\n`name`:\nThe name displayed on the timeline.\n\n`events`:\nA scope function used to create the events on the timeline\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolo2ro%2Fangular-teleperiod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolo2ro%2Fangular-teleperiod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolo2ro%2Fangular-teleperiod/lists"}