{"id":18008532,"url":"https://github.com/gurov/work-time","last_synced_at":"2025-08-08T04:35:31.690Z","repository":{"id":22579790,"uuid":"96735865","full_name":"gurov/work-time","owner":"gurov","description":"Work time schedule on the Angular 7+","archived":false,"fork":false,"pushed_at":"2023-01-07T05:09:40.000Z","size":5150,"stargazers_count":4,"open_issues_count":31,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T02:44:37.669Z","etag":null,"topics":["angular","angular7","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/work-time","language":"TypeScript","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/gurov.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":"2017-07-10T04:31:10.000Z","updated_at":"2020-01-25T17:21:31.000Z","dependencies_parsed_at":"2023-01-13T22:04:45.060Z","dependency_job_id":null,"html_url":"https://github.com/gurov/work-time","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gurov%2Fwork-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gurov%2Fwork-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gurov%2Fwork-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gurov%2Fwork-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gurov","download_url":"https://codeload.github.com/gurov/work-time/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245654353,"owners_count":20650852,"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","angular7","typescript"],"created_at":"2024-10-30T01:19:03.750Z","updated_at":"2025-03-26T12:32:09.231Z","avatar_url":"https://github.com/gurov.png","language":"TypeScript","readme":"# work-time\nIt's small component for change work time scheduler. Preview:\n![work-time preview](https://gurov.github.io/work-time/work-time-example.png)\n\nSee and try example [here](https://gurov.github.io/work-time/).\n\n## Required libs\n* angular 7+\n* bootstrap 4+\n\n## Installation\n\nTo install this library, run:\n\n```bash\n$ npm install work-time --save\n```\n\nIn your Angular `AppModule`:\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { AppComponent } from './app.component';\n\n// Import \nimport { WorkTimeModule } from 'work-time';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    WorkTimeModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n## Using\nOnce WorkTimeModule is imported, you can use `\u003cwork-time\u003e` component:\n\n###### Component\n```typescript\nimport { WorkTimeType } from \"work-time\";\n// ...\npublic data = [];\npublic workTimeType = WorkTimeType.REGULAR;\npublic readOnly = false;\n```\n\n###### Template\n```html\n\u003cwork-time\n      [(ngModel)]=\"data\"\n      [workTimeType]=\"workTimeType\"\n      [readonly]=\"readOnly\"\u003e\u003c/work-time\u003e\n\n```\n\n\n## License\n\nMIT © [Pavel Gurov](mailto:lucius.gu@ya.ru)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurov%2Fwork-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgurov%2Fwork-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurov%2Fwork-time/lists"}