{"id":19716449,"url":"https://github.com/ysakmrkm/available-time-slots","last_synced_at":"2025-04-29T20:30:45.668Z","repository":{"id":37770087,"uuid":"460688373","full_name":"ysakmrkm/available-time-slots","owner":"ysakmrkm","description":"UI library of selectable available time slots","archived":false,"fork":false,"pushed_at":"2023-01-01T07:41:02.000Z","size":728,"stargazers_count":8,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T13:51:57.352Z","etag":null,"topics":["javascript","js","library","reservation","time-slot-booking","time-slot-service","time-slots","ui","user-interface"],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","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/ysakmrkm.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":"2022-02-18T02:56:54.000Z","updated_at":"2023-08-29T18:38:55.000Z","dependencies_parsed_at":"2023-01-31T21:00:37.818Z","dependency_job_id":null,"html_url":"https://github.com/ysakmrkm/available-time-slots","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysakmrkm%2Favailable-time-slots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysakmrkm%2Favailable-time-slots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysakmrkm%2Favailable-time-slots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysakmrkm%2Favailable-time-slots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysakmrkm","download_url":"https://codeload.github.com/ysakmrkm/available-time-slots/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251578279,"owners_count":21612009,"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":["javascript","js","library","reservation","time-slot-booking","time-slot-service","time-slots","ui","user-interface"],"created_at":"2024-11-11T22:42:13.623Z","updated_at":"2025-04-29T20:30:45.284Z","avatar_url":"https://github.com/ysakmrkm.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# available-time-slots\n\n[![Build](https://github.com/ysakmrkm/available-time-slots/actions/workflows/test.yml/badge.svg)](https://github.com/ysakmrkm/available-time-slots/actions/workflows/test.yml)\n\n![gif](https://github.com/ysakmrkm/available-time-slots/blob/main/image/screenshot.gif)\n\n## Overview\n\nUI library of selectable available time slots\n\n## Usage\n\n```html\n\u003clink rel=\"stylesheet\" href=\"../dist/css/styles.css\"\u003e\n\n\u003cdiv id=\"app\"\u003e\u003c/div\u003e\n\n\u003cscript src=\"../dist/js/main.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"../dist/js/locales.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n\ttarget = document.getElementById('app');\n\n\tAvailableTimeSlots = new AvailableTimeSlots(target);\n\n\tAvailableTimeSlots.init();\n\u003c/script\u003e\n```\n\n## Options\n\nDefault options are following.\n\n```javascript\nprevHtml = '\u003cdiv id=\"ats-prev-week\" class=\"ats-nav__item ats-nav__item__prev\"\u003e\u003c\u003c/div\u003e';\nnextHtml = '\u003cdiv id=\"ats-next-week\" class=\"ats-nav__item ats-nav__item__next\"\u003e\u003e\u003c/div\u003e';\n{\n\tavailabileTimeSlotResource: '',\n\tavailabileTimeSlots: [[], [], [], [], [], [], []],\n\tisMultiple: false,\n\tnavigation: true,\n\tprevElem: '',\n\tnextElem: '',\n\tselectedDates: [],\n\tstartDate: new Date(),\n\tslotMinTime: '00:00',\n\tslotMaxTime: '24:00',\n\tslotSpan: 30,\n\tbusinessHours: [0,  23],\n\tlocale: 'en',\n\tscrollable: false,\n\tcalendar: false,\n\ticonFilePath: './image/',\n\ticonCalendar: {\n\t\tfileName: 'calendar.svg',\n\t\twidth: 40,\n\t\theight: 40\n\t},\n\ticonCross: {\n\t\tfileName: 'cross.svg',\n\t\twidth: 20,\n\t\theight: 20\n\t},\n\ticonCircle: {\n\t\tfileName: 'circle.svg',\n\t\twidth: 20,\n\t\theight: 20\n\t},\n\tdisplayAvailableCount: false,\n\tonClickTimeSlot: function(selectedDateArray){},\n\tonClickNavigator: function(clickNavigationDirection){}\n}\n```\n\n## More information\n\nOfficial Site is [here](https://ysakmrkm.github.io/available-time-slots/)\n\n## Author\n\n[twitter](https://twitter.com/ysakmrkm)\n\n## Licence\n\n[MIT](https://github.com/ysakmrkm/available-time-slots/blob/main/LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysakmrkm%2Favailable-time-slots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysakmrkm%2Favailable-time-slots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysakmrkm%2Favailable-time-slots/lists"}