{"id":13674111,"url":"https://github.com/mikemajesty/Chocobo-Date-Range-Picker","last_synced_at":"2025-04-28T14:30:38.800Z","repository":{"id":57198166,"uuid":"73019629","full_name":"mikemajesty/Chocobo-Date-Range-Picker","owner":"mikemajesty","description":"🗓️ Component - The Date Range Picker easier to use in AngularJS.","archived":false,"fork":false,"pushed_at":"2019-01-30T16:30:43.000Z","size":180,"stargazers_count":23,"open_issues_count":2,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T02:12:02.678Z","etag":null,"topics":["angular","calendar","chocobo-range","date","daterange","daterangepicker","daterangepickerinangular","dual","dualcalendar","picker","range","range-picker","rangedate","tooltip"],"latest_commit_sha":null,"homepage":"https://chocobo-date-range-picker.herokuapp.com/","language":"JavaScript","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/mikemajesty.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-11-06T21:18:52.000Z","updated_at":"2019-01-30T16:30:45.000Z","dependencies_parsed_at":"2022-09-11T06:51:43.320Z","dependency_job_id":null,"html_url":"https://github.com/mikemajesty/Chocobo-Date-Range-Picker","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikemajesty%2FChocobo-Date-Range-Picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikemajesty%2FChocobo-Date-Range-Picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikemajesty%2FChocobo-Date-Range-Picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikemajesty%2FChocobo-Date-Range-Picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikemajesty","download_url":"https://codeload.github.com/mikemajesty/Chocobo-Date-Range-Picker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251330127,"owners_count":21572234,"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","calendar","chocobo-range","date","daterange","daterangepicker","daterangepickerinangular","dual","dualcalendar","picker","range","range-picker","rangedate","tooltip"],"created_at":"2024-08-02T11:00:41.042Z","updated_at":"2025-04-28T14:30:38.543Z","avatar_url":"https://github.com/mikemajesty.png","language":"JavaScript","funding_links":[],"categories":["UI Components"],"sub_categories":["Tooltip"],"readme":"# Chocobo Date Range Picker - The Date Range Picker easier to use in angular\n\n\n[![chocobo.png](https://i.postimg.cc/6prFpRSt/chocobo.png)](https://postimg.cc/MnG9scqF)\n\n## Try it yourself.\n[click here](https://chocobo-date-range-picker.herokuapp.com/)\n\n# How to install\n\n```shell\nbower install chocoborangepicker\n```\n\n# How to use\n\n##### Import to your project the chocobo-range-picker.min.js and chocobo-range-picker.min.css files in bower_components folder\n```html\n \u003clink href=\"/bower_components/chocoborangepicker/dist/css/chocobo-range-picker.min.css\" rel=\"stylesheet\"\u003e\n \u003cscript type=\"text/javascript\" src=\"/bower_components/chocoborangepicker/dist/js/chocobo-range-picker.min.js\"\u003e\u003c/script\u003e\n```\n\n Then refer to your module\n```javascript\n angular.module('yourModule', ['chocoboRangePicker']);\n```\n\n##### In your controller use the code below\n\n```javascript\n  // Here is your property that you want to be populated with date range.\n  $scope.demo = { searchDate: null };  \n\n  $scope.options = {\n    txtDateInit: 'Demo: Date',\n    buttons: {\n      btnYear: { txt: 'Demo: Year', tooltip: \"Choose Year\" },\n      btnSemester: { txt: 'Demo: Semester', tooltip: \"Choose Semester\" },\n      btnTrimester: { txt: 'Demo: Trimester', tooltip: \"Choose Trimester\" },\n      btnMonth: { txt: 'Demo: Month', tooltip: \"Choose Month\" },\n      btnWeek: { txt: 'Demo: Week', tooltip: \"Choose Week\" },\n      btnToday: { txt: 'Demo: Today', tooltip: \"Choose Today\" },\n      btnLastDay: { txt: 'Demo: Last Day', tooltip: \"Choose Last Day\" }\n    },\n    inputConfig: {\n      showIcon: true,\n      iconPath: \"http://www.racedepartment.com/images/rd_calext/calendar.png\"\n    } ,\n    minDate: new Date(2017, 1, 3),\n    maxDate: new Date(2017, 3, 12)\n  };\n```\n\n\n### $scope.options\n\n* **txtDateInit**(optional): Label of input text that will show the date interval. If you remove this property it will not shown.;\n* **buttons**(required): Where you will configure a buttons properties.;\n* **buttons: {btnYear}**(optional): Where you will configure a each button properties. If you do not use this property the related button will not be displayed;\n* **buttons: {btnYear.txt}**(optional): Text that will apear in button;\n* **buttons: {btnYear.tooltip}**(optional): Tooltip that will appear when user mouseover on button.;\n* **inputConfig**(optional): Without this property the default icon will be displayed;\n* **inputConfig: {showIcon}**(required): This property indicate if you want show icon. If the property is false, the icon will not be displayed;\n* **inputConfig: {iconPath}**(optional): This property indicate if you want show icon. This property indicate the path to his own icon;\n* **minDate**(optional): Indicates the minimun possible date for a user to select;\n* **maxDate**(optional): Indicates the maximum possible date for a user to select.\n\n##### In your page use\n\n```html\n  \u003cchocobo-range-picker bindRange='false'\n                        blockWeekDay='0,6'\n                        locale='pt-BR'\n                        options='options'\n                        ng-model=\"demo.searchDate\"\u003e\n  \u003c/chocobo-range-picker\u003e\n```\n\n\n### chocobo-Range-Picker\n\n* **bindRange**(required)\n  * *true*: All date in the range will be assigned to the model;\n  * *false*: The first and last date will be assigned to the model.\n\n* **blockWeekDay**(optional)\\*: Property that represent a weekday to be blocked (`0-6`), where:\n  * \"Sunday\": 0;\n  * \"Monday\": 1;\n  * \"Tuesday\": 2;\n  * \"Wednesday\": 3;\n  * \"Thursday\": 4;\n  * \"Friday\": 5;\n  * \"Saturday\": 6.\n\n#### Attention these locales have been tested.\n\n* **Spain**: `es-ES`\n* **Brazil**: `pt-BR`\n* **United States**: `en-US`\n* **Great Britain**: `en-GB`\n* **Germany**: `de-DE`\n\n#### Used versions\n\n* **Angular**\n  * version: `1.2.32`\n\n***\n\n### License\n\nIt is available under the MIT license.\n[License](https://opensource.org/licenses/mit-license.php)\n\n\u003chr\u003e\n\n### Collaborators\n\n* [mikemajesty](https://github.com/mikemajesty) - \n**Mike Lima** \u0026lt;mikee_2008@hotmail.com\u0026gt;\n* [celso-wo](https://github.com/celso-wo) -\n**Celso Wo** \u0026lt;celsowo@gmail.com\u0026gt; Special thank you.\n* [jeanvitor06](https://github.com/jeanvitor06) -\n**Jean Vitor** \u0026lt;jeanvitor06@gmail.com\u0026gt;\n* [danieloprado](https://github.com/danieloprado) -\n**Daniel Prado** \u0026lt;danielprado.ad@gmail.com\u0026gt;\n* [GabrielJacquier](https://github.com/GabrielJacquier) -\n**Gabriel Jacquier** \u0026lt;gabrieljacquierme@gmail.com\u0026gt;\n* [Mateus-Oli](https://github.com/Mateus-Oli) -\n**Mateus Oli** \u0026lt;mateus.oli.car@gmail.com\u0026gt;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikemajesty%2FChocobo-Date-Range-Picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikemajesty%2FChocobo-Date-Range-Picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikemajesty%2FChocobo-Date-Range-Picker/lists"}