From 4f624bf33f0b638b466f95f7b81374d4e970c121 Mon Sep 17 00:00:00 2001 From: Hedi Date: Fri, 18 Feb 2022 16:08:47 +0100 Subject: [PATCH] initialisation du calendrier --- package-lock.json | 21 +++++++++++++++++++++ package.json | 1 + src/app/app.module.ts | 2 ++ 3 files changed, 24 insertions(+) diff --git a/package-lock.json b/package-lock.json index 3a59d04..fb625c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,7 @@ "@angular/platform-browser": "~13.0.0", "@angular/platform-browser-dynamic": "~13.0.0", "@angular/router": "~13.0.0", + "@daypilot/daypilot-lite-angular": "^3.2.0", "@ng-bootstrap/ng-bootstrap": "^12.0.0", "bootstrap": "^5.1.3", "bootstrap-icons": "^1.8.1", @@ -2371,6 +2372,18 @@ "postcss": "^8.3" } }, + "node_modules/@daypilot/daypilot-lite-angular": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@daypilot/daypilot-lite-angular/-/daypilot-lite-angular-3.2.0.tgz", + "integrity": "sha512-tpxwGZOL7Jdm4ACvuHIdWUkEu0iMk4gKznRB+8BUsNeo+gfP+Wx4xEgoeuKEFdA4lSxsrufjjPjK3B6azgZUOg==", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/common": ">=12.0.0", + "@angular/core": ">=12.0.0" + } + }, "node_modules/@discoveryjs/json-ext": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.6.tgz", @@ -12943,6 +12956,14 @@ "postcss-value-parser": "^4.2.0" } }, + "@daypilot/daypilot-lite-angular": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@daypilot/daypilot-lite-angular/-/daypilot-lite-angular-3.2.0.tgz", + "integrity": "sha512-tpxwGZOL7Jdm4ACvuHIdWUkEu0iMk4gKznRB+8BUsNeo+gfP+Wx4xEgoeuKEFdA4lSxsrufjjPjK3B6azgZUOg==", + "requires": { + "tslib": "^2.3.0" + } + }, "@discoveryjs/json-ext": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.6.tgz", diff --git a/package.json b/package.json index c17bf17..ecaf75d 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "@angular/platform-browser": "~13.0.0", "@angular/platform-browser-dynamic": "~13.0.0", "@angular/router": "~13.0.0", + "@daypilot/daypilot-lite-angular": "^3.2.0", "@ng-bootstrap/ng-bootstrap": "^12.0.0", "bootstrap": "^5.1.3", "bootstrap-icons": "^1.8.1", diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 92d674d..3f6ed7b 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -39,6 +39,7 @@ import { PageHumeurComponent } from './pages/page-humeur/page-humeur.component'; import { FooterComponent } from './components/footer/footer.component'; import { PageDeleteAccountComponent } from './pages/page-delete-account/page-delete-account.component'; import { PageUpdateAccountComponent } from './pages/page-update-account/page-update-account.component'; +import { DayPilot, DayPilotModule } from "@daypilot/daypilot-lite-angular"; @NgModule({ declarations: [ @@ -85,6 +86,7 @@ import { PageUpdateAccountComponent } from './pages/page-update-account/page-upd HttpClientModule, FormsModule, AutofocusFixModule.forRoot(), + DayPilotModule ], providers: [