Compare commits

..

No commits in common. 'e6541acd078681cde0f7f90b16f1979a4eb42cd3' and '747e345494eb6d94ecbda49a1b88cfe00d0742dc' have entirely different histories.

  1. 19
      Dockerfile
  2. 18
      angular.json
  3. 13400
      package-lock.json
  4. 43
      package.json
  5. 8
      src/app/app-routing.module.ts
  6. 6
      src/app/app.component.ts
  7. 37
      src/app/app.module.ts
  8. 94
      src/app/app.theme.scss
  9. 3
      src/app/collaborateurs/collaborateurs.component.ts
  10. 18
      src/app/collaborateurs/collaborateurs.module.ts
  11. 8
      src/app/collaborateurs/collaborateurs.routing.module.ts
  12. 34
      src/app/commun/commun-api.module.ts
  13. 166
      src/app/commun/commun-ui.module.ts
  14. 24
      src/app/commun/filter/filter.module.ts
  15. 6
      src/app/demandes-delegation/demandes-delegation.component.ts
  16. 11
      src/app/demandes-delegation/demandes-delegation.module.ts
  17. 4
      src/app/demandes-delegation/demandes-delegation.routing.module.ts
  18. 5
      src/app/demandes-delegation/details-demande-delegation/demande-delegation.component.ts
  19. 2
      src/app/demandes-formation/demandes-formation.component.ts
  20. 9
      src/app/demandes-formation/demandes-formation.module.ts
  21. 5
      src/app/demandes-formation/demandes-formation.routing.module.ts
  22. 3
      src/app/demandes-formation/mat-dialog/dialog-demande-formation.component.ts
  23. 7
      src/app/demandes-formation/new-demande-formation/new-demande-formation.component.ts
  24. 6
      src/app/engagements/engagements.component.ts
  25. 14
      src/app/engagements/engagements.module.ts
  26. 4
      src/app/engagements/engagements.routing.module.ts
  27. 9
      src/app/ep-saisie/ep-saisie.module.ts
  28. 6
      src/app/ep-saisie/ep-saisie.routing.module.ts
  29. 9
      src/app/ep/details-ep/details-ep.component.ts
  30. 2
      src/app/ep/details-ep/ep-choix-date/ep-choix-date.component.ts
  31. 5
      src/app/ep/details-ep/ep-commentaires-assistant/ep-commentaires-assistant.component.ts
  32. 3
      src/app/ep/details-ep/ep-demande-delegation/ep-demande-delegation.component.ts
  33. 2
      src/app/ep/details-ep/ep-demandes-formation/ep-demandes-formation.component.ts
  34. 2
      src/app/ep/details-ep/ep-engagements/ep-engagements.component.ts
  35. 3
      src/app/ep/details-ep/ep-objectifs/ep-objectifs.component.ts
  36. 2
      src/app/ep/details-ep/ep-participants/ep-participants.component.ts
  37. 2
      src/app/ep/details-ep/ep-propositions-dates/ep-propositions-dates.component.ts
  38. 2
      src/app/ep/ep-signes/ep-signes.component.ts
  39. 8
      src/app/ep/ep.component.ts
  40. 31
      src/app/ep/ep.module.ts
  41. 4
      src/app/ep/ep.routing.module.ts
  42. 4
      src/app/formations/details-formation/formation.component.ts
  43. 5
      src/app/formations/edit-formation/edit-formation.component.ts
  44. 10
      src/app/formations/formations.module.ts
  45. 5
      src/app/formations/formations.routing.module.ts
  46. 5
      src/app/formations/new-formation/new-formation.component.ts
  47. 2
      src/app/home/home-assistante/home-assistante.component.ts
  48. 5
      src/app/home/home-collaborateur/home-collaborateur.component.ts
  49. 5
      src/app/home/home-commercial/home-commercial.component.ts
  50. 5
      src/app/home/home.component.ts
  51. 16
      src/app/home/home.module.ts
  52. 3
      src/app/notes/details-note/details-note.component.ts
  53. 3
      src/app/notes/modifier-note/modifier-note.component.ts
  54. 5
      src/app/notes/notes.component.ts
  55. 21
      src/app/notes/notes.module.ts
  56. 5
      src/app/notes/notes.routing.module.ts
  57. 5
      src/app/notes/nouvelle-note/nouvelle-note.component.ts
  58. 6
      src/app/referents/assignation-referent/assignation-referent.component.ts
  59. 2
      src/app/referents/referents.component.ts
  60. 21
      src/app/referents/referents.module.ts
  61. 5
      src/app/referents/referents.routing.module.ts
  62. 0
      src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.html
  63. 11
      src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.module.ts
  64. 7
      src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.ts
  65. 0
      src/app/shared/affichage-details-collaboarteur/dialog-assignation-rapide/dialog-assignation-rapide-collaborateurs.html
  66. 0
      src/app/shared/affichage-details-collaboarteur/dialog-assignation-rapide/dialog-assignation-rapide-referent.html
  67. 7
      src/app/shared/affichage-details-collaboarteur/dialog-assignation-rapide/dialog-assignation-rapide.component.ts
  68. 0
      src/app/shared/affichage-details-collaboarteur/prochain-ep/prochain-ep.component.html
  69. 3
      src/app/shared/affichage-details-collaboarteur/prochain-ep/prochain-ep.component.ts
  70. 59
      src/app/shared/angular-material/angular-material.module.ts
  71. 5
      src/app/shared/api-swagger/.npmignore
  72. 23
      src/app/shared/api-swagger/.swagger-codegen-ignore
  73. 1
      src/app/shared/api-swagger/.swagger-codegen/VERSION
  74. 51
      src/app/shared/api-swagger/api.module.ts
  75. 21
      src/app/shared/api-swagger/api/api.ts
  76. 6
      src/app/shared/api-swagger/api/collaborateurs.service.ts
  77. 6
      src/app/shared/api-swagger/api/demandesDelegation.service.ts
  78. 6
      src/app/shared/api-swagger/api/demandesEPI.service.ts
  79. 6
      src/app/shared/api-swagger/api/demandesformation.service.ts
  80. 6
      src/app/shared/api-swagger/api/engagements.service.ts
  81. 6
      src/app/shared/api-swagger/api/ep.service.ts
  82. 6
      src/app/shared/api-swagger/api/formations.service.ts
  83. 6
      src/app/shared/api-swagger/api/notes.service.ts
  84. 6
      src/app/shared/api-swagger/api/participationsFormations.service.ts
  85. 6
      src/app/shared/api-swagger/api/referentsEP.service.ts
  86. 0
      src/app/shared/api-swagger/configuration.ts
  87. 0
      src/app/shared/api-swagger/encoder.ts
  88. 5
      src/app/shared/api-swagger/index.ts
  89. 0
      src/app/shared/api-swagger/model/affichageNoteDTO.ts
  90. 0
      src/app/shared/api-swagger/model/agenceDTO.ts
  91. 0
      src/app/shared/api-swagger/model/augmentationSalaireDTO.ts
  92. 0
      src/app/shared/api-swagger/model/businessUnitDTO.ts
  93. 0
      src/app/shared/api-swagger/model/champDTO.ts
  94. 0
      src/app/shared/api-swagger/model/collaborateurDTO.ts
  95. 0
      src/app/shared/api-swagger/model/commentaireAssistantDTO.ts
  96. 0
      src/app/shared/api-swagger/model/demandeDelegationDTO.ts
  97. 0
      src/app/shared/api-swagger/model/demandeEPIDTO.ts
  98. 0
      src/app/shared/api-swagger/model/demandeFormationDTO.ts
  99. 0
      src/app/shared/api-swagger/model/detailsNoteDTO.ts
  100. 0
      src/app/shared/api-swagger/model/documentDTO.ts
  101. Some files were not shown because too many files have changed in this diff Show More

@ -1,25 +1,20 @@
## STEP 1 BUILD ##
FROM node:16.13-alpine AS build
FROM node:17.0.1-alpine AS build
RUN mkdir -p /app
WORKDIR /app
WORKDIR /dist/src/app
RUN npm cache clean --force
COPY package*.json /app
RUN npm install --only=prod
RUN npm install @angular/cli@12.2.12
COPY . .
COPY . /app
RUN npm install
RUN npm run build-prod
RUN npm run build --prod
## STEP 2 DEPLOY ##
FROM nginx:1.21.3 AS ngi
COPY --from=build /app/dist/EPAClient /usr/share/nginx/html
COPY --from=build /dist/src/app/dist/EPAClient /usr/share/nginx/html
COPY /nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 4200 49153
EXPOSE 80

@ -18,6 +18,7 @@
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
@ -25,13 +26,7 @@
"styles": [
"src/styles.scss"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"scripts": []
},
"configurations": {
"production": {
@ -61,8 +56,7 @@
}
]
}
},
"defaultConfiguration": ""
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
@ -128,9 +122,9 @@
}
},
"schematics": {
"@schematics/angular:application": {
"strict": true
}
"@schematics/angular:component": {
"styleext": "scss"
}
},
"defaultProject": "EPAClient"
}

13400
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -3,9 +3,8 @@
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --Host 0.0.0.0 --poll",
"start": "ng serve",
"build": "ng build",
"build-prod": "ng build --configuration production",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
@ -13,34 +12,34 @@
},
"private": true,
"dependencies": {
"@angular-material-components/datetime-picker": "^6.0.3",
"@angular/animations": "~12.2.12",
"@angular/cdk": "^12.2.12",
"@angular/common": "~12.2.12",
"@angular/compiler": "~12.2.12",
"@angular/core": "~12.2.12",
"@angular/forms": "~12.2.12",
"@angular/material": "^12.2.12",
"@angular/platform-browser": "~12.2.12",
"@angular/platform-browser-dynamic": "~12.2.12",
"@angular/router": "~12.2.12",
"@angular-material-components/datetime-picker": "^5.0.3",
"@angular/animations": "~11.1.2",
"@angular/cdk": "^11.1.2",
"@angular/common": "~11.1.2",
"@angular/compiler": "~11.1.2",
"@angular/core": "~11.1.2",
"@angular/forms": "~11.1.2",
"@angular/material": "^11.1.2",
"@angular/platform-browser": "~11.1.2",
"@angular/platform-browser-dynamic": "~11.1.2",
"@angular/router": "~11.1.2",
"angular-oauth2-oidc": "^10.0.3",
"rxjs": "~6.6.3",
"tslib": "^2.3.1",
"zone.js": "~0.11.4"
"tslib": "^2.1.0",
"zone.js": "~0.11.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~12.2.12",
"@angular/cli": "~12.2.12",
"@angular/compiler-cli": "~12.2.12",
"@compodoc/compodoc": "^1.1.15",
"@angular-devkit/build-angular": "~0.1101.4",
"@angular/cli": "~11.1.4",
"@angular/compiler-cli": "~11.1.2",
"@compodoc/compodoc": "^1.1.11",
"@types/jasmine": "~3.6.3",
"@types/jasminewd2": "~2.0.8",
"@types/node": "^14.14.25",
"codelyzer": "^6.0.1",
"jasmine-core": "~3.10.1",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~6.0.0",
"karma": "~6.3.7",
"karma": "~6.1.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~4.0.1",
@ -48,6 +47,6 @@
"protractor": "~7.0.0",
"ts-node": "~9.1.1",
"tslint": "^6.1.3",
"typescript": "~4.3.5"
"typescript": "~4.1.3"
}
}

@ -2,13 +2,15 @@ import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { Routes } from '@angular/router';
import { AuthGuard } from './commun/auth/auth.guard';
import { paths_collaborateurs, paths_demandes_delegation, paths_demandes_formation, paths_ep, paths_saisie_ep, paths_formation, paths_referents, paths_engagements, paths_notes, paths_home } from './commun/utils/paths';
import { Role } from './commun/utils/roles';
import { HomeComponent } from './home/';
import { AuthGuard } from './shared/auth/auth.guard';
import { paths_collaborateurs, paths_demandes_delegation, paths_demandes_formation,
paths_ep, paths_saisie_ep, paths_formation, paths_home, paths_referents, paths_engagements, paths_notes } from './shared/utils/paths';
import { Role } from './shared/utils/roles';
/**
* L'ensemble des routes du client Angular

@ -1,9 +1,9 @@
import { Component, OnInit } from '@angular/core';
import { CollaborateursService } from '@shared/api-swagger/api/api'
import { AuthService } from '@shared/auth/auth.service';
import { Subscription } from 'rxjs';
import { AuthService } from './commun/auth/auth.service';
import { CollaborateursService } from './commun/services/collaborateurs.service';
import { cles } from './commun/utils/cles';
import { cles } from "@shared/utils/cles"
@Component({
selector: 'app-root',

@ -1,6 +1,6 @@
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { NgModule, DoBootstrap } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
import { registerLocaleData } from '@angular/common';
@ -11,25 +11,38 @@ registerLocaleData(localeFr, 'fr');
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';
import { ApiModule } from '@shared/api-swagger'
import { HomeModule } from './home';
import { CollaborateursModule } from './collaborateurs';
import { CommunModule } from './commun/commun-api.module';
import { CommunUiModule } from './commun/commun-ui.module';
import { ReferentsModule } from './referents';
import { FormationsModule } from './formations';
import { DemandesFormationModule } from './demandes-formation';
import { DemandesDelegationModule } from './demandes-delegation';
import { EpSaisieModule } from "./ep-saisie";
import { AffichageDetailsCollaborateurModule } from "@shared/affichage-details-collaboarteur/affichage-details-collaborateur.module";
import { EpModule } from "./ep"
import { AuthModule } from '@shared/auth/auth.module';
import { MatTablesModule } from "@shared/mat-tables/mat-tables.module";
import { EngagementsModule } from './engagements';
import { NotesModule } from './notes';
import { FilterModule } from "@shared/filter/filter.module";
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
AppRoutingModule,
HttpClientModule,
CollaborateursModule,
CommunModule,
CommunUiModule
BrowserModule, BrowserAnimationsModule,
AuthModule.forRoot(), AppRoutingModule,
HttpClientModule, ApiModule,
HomeModule, CollaborateursModule,
ReferentsModule, FormationsModule,
DemandesFormationModule, DemandesDelegationModule,
EpSaisieModule, NotesModule, EpModule,
MatTablesModule, FilterModule,
AffichageDetailsCollaborateurModule, EngagementsModule
],
providers: [],
bootstrap: [AppComponent]

@ -1,11 +1,6 @@
// -----------------------------------------------------------------------------------------------------
@use '~@angular/material' as mat;
// @ Custom color maps
// -----------------------------------------------------------------------------------------------------
$black-87-opacity: rgba(black, 0.87);
$white-87-opacity: rgba(white, 0.87);
$navy-app-theme: (
50: #ECECEE,
100: #C5C6CB,
@ -22,20 +17,20 @@ $navy-app-theme: (
A400: #5C616F,
A700: #2D323E,
contrast: (
50: $black-87-opacity,
100: $black-87-opacity,
200: $black-87-opacity,
300: $black-87-opacity,
400: white,
500: white,
600: $white-87-opacity,
700: $white-87-opacity,
800: $white-87-opacity,
900: $white-87-opacity,
A100: $black-87-opacity,
A200: $black-87-opacity,
A400: white,
A700: $white-87-opacity,
50: $dark-primary-text,
100: $dark-primary-text,
200: $dark-primary-text,
300: $light-primary-text,
400: $light-primary-text,
500: $light-primary-text,
600: $light-primary-text,
700: $light-primary-text,
800: $light-primary-text,
900: $light-primary-text,
A100: $dark-primary-text,
A200: $light-primary-text,
A400: $light-primary-text,
A700: $light-primary-text,
)
);
@ -55,21 +50,20 @@ $apside-primary-app-theme: (
A400: #5C616F,
A700: #2D323E,
contrast: (
0: $black-87-opacity,
50: $black-87-opacity,
100: $black-87-opacity,
200: $black-87-opacity,
300: $black-87-opacity,
400: $black-87-opacity,
500: $black-87-opacity,
600: $white-87-opacity,
700: $white-87-opacity,
800: $white-87-opacity,
900: $white-87-opacity,
A100: $black-87-opacity,
A200: $black-87-opacity,
A400: $black-87-opacity,
A700: $white-87-opacity,
50: $dark-primary-text,
100: $dark-primary-text,
200: $dark-primary-text,
300: $light-primary-text,
400: $light-primary-text,
500: $light-primary-text,
600: $light-primary-text,
700: $light-primary-text,
800: $light-primary-text,
900: $light-primary-text,
A100: $dark-primary-text,
A200: $light-primary-text,
A400: $light-primary-text,
A700: $light-primary-text,
)
);
@ -78,19 +72,19 @@ $apside-primary-app-theme: (
// -----------------------------------------------------------------------------------------------------
// Define the primary, accent and warn palettes
$default-primary-palette: mat.define-palette($navy-app-theme);
$default-accent-palette: mat.define-palette(mat.$light-blue-palette, 600, 400, 700);
$default-warn-palette: mat.define-palette(mat.$red-palette);
$default-primary-palette: mat-palette($navy-app-theme);
$default-accent-palette: mat-palette($mat-light-blue, 600, 400, 700);
$default-warn-palette: mat-palette($mat-red);
// Create the Material theme object
$theme: mat.define-light-theme($default-primary-palette, $default-accent-palette, $default-warn-palette);
$theme: mat-light-theme($default-primary-palette, $default-accent-palette, $default-warn-palette);
// Add ".theme-default" class to the body to activate this theme.
// Class name must start with "theme-" !!!
.theme-default {
// Create an Angular Material theme from the $theme map
@include mat.all-component-themes($theme);
@include angular-material-theme($theme);
}
// -----------------------------------------------------------------------------------------------------
@ -98,19 +92,19 @@ $theme: mat.define-light-theme($default-primary-palette, $default-accent-palette
// -----------------------------------------------------------------------------------------------------
// Define the primary, accent and warn palettes
$blue-gray-dark-theme-primary-palette: mat.define-palette($navy-app-theme);
$blue-gray-dark-theme-accent-palette: mat.define-palette(mat.$blue-gray-palette);
$blue-gray-dark-theme-warn-palette: mat.define-palette(mat.$red-palette);
$blue-gray-dark-theme-primary-palette: mat-palette($navy-app-theme);
$blue-gray-dark-theme-accent-palette: mat-palette($mat-blue-gray);
$blue-gray-dark-theme-warn-palette: mat-palette($mat-red);
// Create the Material theme object
$blue-gray-dark-theme: mat.define-dark-theme($blue-gray-dark-theme-primary-palette, $blue-gray-dark-theme-accent-palette, $blue-gray-dark-theme-warn-palette);
$blue-gray-dark-theme: mat-dark-theme($blue-gray-dark-theme-primary-palette, $blue-gray-dark-theme-accent-palette, $blue-gray-dark-theme-warn-palette);
// Add ".theme-blue-gray-dark" class to the body to activate this theme.
// Class name must start with "theme-" !!!
.theme-blue-gray-dark {
// Generate the Angular Material theme
@include mat.all-component-themes($blue-gray-dark-theme);
@include angular-material-theme($blue-gray-dark-theme);
}
@ -119,13 +113,13 @@ $blue-gray-dark-theme: mat.define-dark-theme($blue-gray-dark-theme-primary-palet
// -----------------------------------------------------------------------------------------------------
// Angular Material typography
$typography: mat.define-typography-config(
$typography: mat-typography-config(
$font-family: 'Muli, Helvetica Neue, Arial, sans-serif',
$title: mat.define-typography-level(20px, 32px, 600),
$body-2: mat.define-typography-level(14px, 24px, 600),
$button: mat.define-typography-level(14px, 14px, 600),
$input: mat.define-typography-level(16px, 1.125, 400) // line-height must be unitless !!!
$title: mat-typography-level(20px, 32px, 600),
$body-2: mat-typography-level(14px, 24px, 600),
$button: mat-typography-level(14px, 14px, 600),
$input: mat-typography-level(16px, 1.125, 400) // line-height must be unitless !!!
);
// Setup the typography
@include mat.all-component-typographies($typography);
@include angular-material-typography($typography);

@ -1,7 +1,8 @@
import { Component } from '@angular/core';
import { collaborateurTypeRecherche } from "@shared/utils/cles";
import { Router } from '@angular/router';
import { collaborateurTypeRecherche } from 'app/commun/utils/cles';
/**
* Composant qui sert à l'affichage de la liste des collaborateurs en fonction de l'agence de son utilitateur.

@ -3,6 +3,9 @@ import { CommonModule } from "@angular/common";
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { MaterialModule } from "@shared/angular-material/angular-material.module";
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module';
import { CollaborateursComponent } from "./collaborateurs.component";
import { DetailsCollaborateurComponent } from "./details-collaborateur/details-collaborateur.component";
@ -10,17 +13,15 @@ import { EvaluationComponent } from "./formations-collaborateur/details-evaluati
import { EditEvaluationComponent } from "./formations-collaborateur/edit-evaluation/edit-evaluation.component";
import { FormationsCollaboateurComponent } from "./formations-collaborateur/formations-collaborateur.component";
import { MatTablesModule } from "@shared/mat-tables/mat-tables.module";
import { CollaborateursRoutingModule } from "./collaborateurs.routing.module";
import { CommunUiModule } from "app/commun/commun-ui.module";
import { AffichageDetailsCollaborateurModule } from "@shared/affichage-details-collaboarteur/affichage-details-collaborateur.module";
@NgModule({
declarations: [
CollaborateursComponent,
DetailsCollaborateurComponent,
DetailsCollaborateurComponent,
EvaluationComponent,
EditEvaluationComponent,
CollaborateursComponent, DetailsCollaborateurComponent,
DetailsCollaborateurComponent, EvaluationComponent, EditEvaluationComponent,
FormationsCollaboateurComponent
],
exports: [
@ -29,9 +30,12 @@ import { CommunUiModule } from "app/commun/commun-ui.module";
imports: [
//FormsModule,
CommonModule,
CommunUiModule,
FormsModule,
ReactiveFormsModule,
MaterialModule,
NavMenuModule,
MatTablesModule,
AffichageDetailsCollaborateurModule,
CollaborateursRoutingModule,
RouterModule
],

@ -6,9 +6,11 @@ import { DetailsCollaborateurComponent } from "./details-collaborateur/details-c
import { FormationsCollaboateurComponent } from "./formations-collaborateur/formations-collaborateur.component";
import { EvaluationComponent } from './formations-collaborateur/details-evaluation/evaluation.component';
import { EditEvaluationComponent } from './formations-collaborateur/edit-evaluation/edit-evaluation.component';
import { AuthGuard } from 'app/commun/auth/auth.guard';
import { paths_collaborateurs } from 'app/commun/utils/paths';
import { Role } from 'app/commun/utils/roles';
import { paths_collaborateurs } from '../shared/utils/paths';
import { AuthGuard } from '../shared/auth/auth.guard';
import { Role } from '../shared/utils/roles';
const routes: Routes = [

@ -1,34 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DemandesFormationService } from './services/demandesformation.service';
import { CollaborateursService } from './services/collaborateurs.service';
import { DemandesDelegationService } from './services/demandesDelegation.service';
import { DemandesEPIService } from './services/demandesEPI.service';
import { EngagementsService } from './services/engagements.service';
import { EpService } from './services/ep.service';
import { FormationsService } from './services/formations.service';
import { NotesService } from './services/notes.service';
import { ParticipationsFormationsService } from './services/participationsFormations.service';
import { ReferentsEPService } from './services/referentsEP.service';
@NgModule({
declarations: [],
imports: [
CommonModule
],
providers: [
CollaborateursService,
DemandesDelegationService,
DemandesEPIService,
DemandesFormationService,
EngagementsService,
EpService,
FormationsService,
NotesService,
ParticipationsFormationsService,
ReferentsEPService
]
})
export class CommunModule {}

@ -1,166 +0,0 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { MatCardModule } from '@angular/material/card';
import { MatButtonModule } from '@angular/material/button';
import { MatMenuModule } from '@angular/material/menu';
import { MatPaginatorModule } from '@angular/material/paginator';
import { MatIconModule } from '@angular/material/icon';
import { MatSortModule } from '@angular/material/sort';
import { MatInputModule } from '@angular/material/input';
import { MatTableModule } from '@angular/material/table';
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatTabsModule } from '@angular/material/tabs';
import { NgxMatDatetimePickerModule, NgxMatNativeDateModule } from '@angular-material-components/datetime-picker';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatListModule } from '@angular/material/list';
import { MatNativeDateModule, MatOption, MatOptionModule } from '@angular/material/core';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatSelectModule } from '@angular/material/select';
import { MatStepperModule } from '@angular/material/stepper';
import { MatChipsModule } from '@angular/material/chips';
import { MatSnackBarModule } from '@angular/material/snack-bar';
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
import { MatRadioModule } from '@angular/material/radio';
import { CollaborateursTableComponent } from './mat-tables/collaborateurs-table/collaborateurs.table';
import { DemandesFormationTableComponent } from './mat-tables/demandes-formation-table/demandes-formation.table';
import { EngagementTableComponent } from './mat-tables/engagements-table/engagements-table';
import { EpTableComponent } from './mat-tables/ep-table/ep-table';
import { FormationsTableComponent } from './mat-tables/formations-table/formations.table';
import { ParticipationsFormationTableComponent } from './mat-tables/participations-formation-table/participations-formation.table';
import { FilterModule } from './filter/filter.module';
import { AuthModule } from './auth/auth.module';
import { NavMenuComponent } from './nav-menu/nav-menu.component';
import { NavMenuAssistanteComponent } from './nav-menu/nav-menu-assistante/nav-menu-assistante.component';
import { NavMenuCollaborateurComponent } from './nav-menu/nav-menu-collaborateur/nav-menu-collaborateur.component';
import { NavMenuCommercialComponent } from './nav-menu/nav-menu-commercial/nav-menu-commercial.component';
import { NavMenuRHComponent } from './nav-menu/nav-menu-rh/nav-menu-rh.component';
import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { CheckboxFilterComponent } from './filter/checkbox-filter/checkbox-filter';
import { SelectFilterComponent } from './filter/select-filter/select-filter';
import { AffichageDetailsCollaborateurComponent } from './affichage-details-collaboarteur/affichage-details-collaborateur';
import { DialogAssignationRapideReferentComponent, DialogAssignationRapideCollaborateursComponent } from './affichage-details-collaboarteur/dialog-assignation-rapide/dialog-assignation-rapide.component';
import { ProchainEpComponent } from './affichage-details-collaboarteur/prochain-ep/prochain-ep.component';
@NgModule({
imports: [
// Materials
MatCardModule,
MatButtonModule,
MatMenuModule,
MatIconModule,
MatPaginatorModule,
MatSortModule,
MatTableModule,
MatInputModule,
MatProgressSpinnerModule,
MatTabsModule,
MatFormFieldModule,
NgxMatDatetimePickerModule,
MatDatepickerModule,
NgxMatNativeDateModule,
MatNativeDateModule,
MatListModule,
MatCheckboxModule,
MatSelectModule,
MatStepperModule,
MatChipsModule,
MatSnackBarModule,
MatSlideToggleModule,
MatRadioModule,
MatOptionModule,
// Forms Angular
FormsModule,
ReactiveFormsModule,
// Common angular
CommonModule,
// Module commun
FilterModule,
RouterModule,
AuthModule.forRoot()
],
exports: [
// Materials
MatCardModule,
MatButtonModule,
MatMenuModule,
MatIconModule,
MatPaginatorModule,
MatSortModule,
MatTableModule,
MatInputModule,
MatProgressSpinnerModule,
MatTabsModule,
MatFormFieldModule,
NgxMatDatetimePickerModule,
MatDatepickerModule,
NgxMatNativeDateModule,
MatNativeDateModule,
MatListModule,
MatCheckboxModule,
MatSelectModule,
MatStepperModule,
MatChipsModule,
MatSnackBarModule,
MatSlideToggleModule,
MatRadioModule,
MatOptionModule,
// Module commun
FilterModule,
// Component commun
NavMenuComponent,
ProchainEpComponent,
DialogAssignationRapideReferentComponent,
AffichageDetailsCollaborateurComponent,
// Table commun
CollaborateursTableComponent,
EngagementTableComponent,
FormationsTableComponent,
EpTableComponent,
ParticipationsFormationTableComponent,
DemandesFormationTableComponent
],
declarations: [
// Component commun
/// Filter
CheckboxFilterComponent,
SelectFilterComponent,
/// Nav menu
NavMenuComponent,
NavMenuAssistanteComponent,
NavMenuCollaborateurComponent,
NavMenuCommercialComponent,
NavMenuRHComponent,
/// Affichage collab
AffichageDetailsCollaborateurComponent,
DialogAssignationRapideReferentComponent,
DialogAssignationRapideCollaborateursComponent,
ProchainEpComponent,
// Table commun
CollaborateursTableComponent,
EngagementTableComponent,
FormationsTableComponent,
EpTableComponent,
ParticipationsFormationTableComponent,
DemandesFormationTableComponent,
],
entryComponents: [
NavMenuComponent,
DialogAssignationRapideReferentComponent
]
})
export class CommunUiModule { }

@ -1,24 +0,0 @@
import { NgModule } from "@angular/core";
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule} from '@angular/forms';
import { RouterModule } from '@angular/router';
import { SelectFilterComponent } from "./select-filter/select-filter";
import { CheckboxFilterComponent } from "./checkbox-filter/checkbox-filter";
@NgModule({
declarations: [
],
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
RouterModule
],
exports: [
]
})
export class FilterModule {}

@ -1,9 +1,7 @@
import { Component, Inject, OnInit } from '@angular/core';
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { DemandeDelegationDTO } from 'app/commun/model/demandeDelegationDTO';
import { CollaborateurDTO, EtatDemande } from 'app/commun/model/models';
import { DemandesDelegationService } from 'app/commun/services/demandesDelegation.service';
import { cles } from 'app/commun/utils/cles';
import { CollaborateurDTO, DemandeDelegationDTO, DemandesDelegationService, EtatDemande } from '@shared/api-swagger';
import { cles } from '@shared/utils/cles';
import { Subscription } from 'rxjs';
/**

@ -3,10 +3,14 @@ import { CommonModule } from "@angular/common";
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { MaterialModule } from "@shared/angular-material/angular-material.module";
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module';
import { DemandesDelegationComponent, DialogValidationReponse } from './demandes-delegation.component';
import { DemandeDelegationComponent, DialogReponseDemandeDelegation } from './details-demande-delegation/demande-delegation.component';
import { DemandesDelegationRoutingModule } from './demandes-delegation.routing.module';
import { CommunUiModule } from "app/commun/commun-ui.module";
@NgModule({
@ -17,11 +21,12 @@ import { CommunUiModule } from "app/commun/commun-ui.module";
exports: [ DemandesDelegationComponent
],
imports: [
MaterialModule,
NavMenuModule,
DemandesDelegationRoutingModule,
RouterModule,
FormsModule,
CommonModule,
CommunUiModule
CommonModule
],
})
export class DemandesDelegationModule {}

@ -1,10 +1,12 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AuthGuard } from 'app/commun/auth/auth.guard';
import { DemandesDelegationComponent } from "./demandes-delegation.component";
import { AuthGuard } from '@shared/auth/auth.guard';
/**
* Routes du module demandes delegation
*/

@ -1,7 +1,8 @@
import { i18nMetaToJSDoc } from '@angular/compiler/src/render3/view/i18n/meta';
import { Component, EventEmitter, Inject, Input, OnInit, Output } from '@angular/core';
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { DemandeDelegationDTO } from 'app/commun/model/demandeDelegationDTO';
import { EtatDemande } from 'app/commun/model/etatDemande';
import { DemandeDelegationDTO, DemandeEPIDTO, EtatDemande } from '@shared/api-swagger';
import { BrowserStack } from 'protractor/built/driverProviders';
import { Subscription } from 'rxjs';

@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core';
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { DemandeFormationDTO } from 'app/commun/model/models';
import { DemandeFormationDTO } from '@shared/api-swagger';
import { DialogDemandeFormationComponent } from './mat-dialog/dialog-demande-formation.component';
/**

@ -5,13 +5,16 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { MaterialModule } from "@shared/angular-material/angular-material.module";
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module';
import { DemandesFormationComponent } from './demandes-formation.component';
import { DialogDemandeFormationComponent } from './mat-dialog/dialog-demande-formation.component';
import { DemandeFormationComponent } from './details-demande-formation/demande-formation.component'
import { NewDemandeFormationComponent } from './new-demande-formation/new-demande-formation.component'
import { DemandesFormationsRoutingModule } from './demandes-formation.routing.module';
import { CommunUiModule } from 'app/commun/commun-ui.module';
import { MatTablesModule } from "@shared/mat-tables/mat-tables.module";
/**
* Module demandes formation
@ -25,8 +28,10 @@ import { CommunUiModule } from 'app/commun/commun-ui.module';
],
imports: [
CommonModule,
CommunUiModule,
MaterialModule,
NavMenuModule,
DemandesFormationsRoutingModule,
MatTablesModule,
RouterModule,
FormsModule,
ReactiveFormsModule

@ -1,13 +1,14 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AuthGuard } from 'app/commun/auth/auth.guard';
import { paths_demandes_formation } from 'app/commun/utils/paths';
import { DemandesFormationComponent } from "./demandes-formation.component";
import { DemandeFormationComponent } from "./details-demande-formation/demande-formation.component";
import { NewDemandeFormationComponent } from "./new-demande-formation/new-demande-formation.component";
import { AuthGuard } from '../shared/auth/auth.guard';
import { paths_demandes_formation } from "../shared/utils/paths";
/**
* Routes du module demandes formation

@ -1,8 +1,7 @@
import { Component, Inject } from "@angular/core";
import { MatDialogRef, MAT_DIALOG_DATA } from "@angular/material/dialog";
import { MatSnackBar } from "@angular/material/snack-bar";
import { CollaborateurDTO, DemandeFormationDTO, EpInformationDTO, EtatDemande, afficherEtatDemande } from "app/commun/model/models";
import { DemandesFormationService } from "app/commun/services/demandesformation.service";
import { CollaborateurDTO, EpInformationDTO, DemandesFormationService, DemandeFormationDTO, EtatDemande, afficherEtatDemande } from "@shared/api-swagger";
import { Subscription } from "rxjs";

@ -2,9 +2,10 @@ import { Component, OnInit } from '@angular/core';
import { Observable, Subscription } from 'rxjs';
import { Router } from '@angular/router';
import { FormBuilder, FormGroup, FormControl, } from '@angular/forms';
import { EtatDemande } from 'app/commun/model/etatDemande';
import { OrigineDemandeFormationDTO } from 'app/commun/model/origineDemandeFormationDTO';
import { DemandesFormationService } from 'app/commun/services/demandesformation.service';
import { OrigineDemandeFormationDTO, EtatDemande } from "@shared/api-swagger/model/models";
import { DemandesFormationService } from "@shared/api-swagger/api/api";
/**
* Composant qui sert à créer une demande de formation pour un collaborateur.

@ -1,11 +1,7 @@
import { Component, Inject } from "@angular/core";
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from "@angular/material/dialog";
import { MatSnackBar } from "@angular/material/snack-bar";
import { CollaborateurDTO } from "app/commun/model/collaborateurDTO";
import { EngagementDTO } from "app/commun/model/engagementDTO";
import { EpInformationDTO } from "app/commun/model/epInformationDTO";
import { EtatEngagement, afficherEtatEngagement } from "app/commun/model/etatEngagement";
import { EngagementsService } from "app/commun/services/engagements.service";
import { CollaborateurDTO, EngagementDTO, EngagementsService, EpInformationDTO, EtatEngagement, afficherEtatEngagement } from "@shared/api-swagger";
import { Subscription } from "rxjs";
/**

@ -2,25 +2,29 @@ import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { RouterModule } from '@angular/router';
import { MaterialModule } from "@shared/angular-material/angular-material.module";
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module';
import { DialogEngagementsComponent, EngagementsComponent } from "./engagements.component";
import { EngagementsRoutingModule } from "./engagements.routing.module";
import { MatTablesModule } from "@shared/mat-tables/mat-tables.module";
import { FormsModule } from "@angular/forms";
import { CommunUiModule } from "app/commun/commun-ui.module";
@NgModule({
declarations: [
EngagementsComponent,
DialogEngagementsComponent
EngagementsComponent, DialogEngagementsComponent
],
exports: [],
imports: [
CommonModule,
RouterModule,
NavMenuModule,
EngagementsRoutingModule,
FormsModule,
CommunUiModule
MatTablesModule,
MaterialModule,
FormsModule
],
})
export class EngagementsModule {}

@ -1,10 +1,12 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AuthGuard } from 'app/commun/auth/auth.guard';
import { EngagementsComponent } from "./engagements.component";
import { AuthGuard } from '@shared/auth/auth.guard';
const routes: Routes = [
{ path: '', component: EngagementsComponent, pathMatch: 'full', canActivate: [AuthGuard]}

@ -3,13 +3,16 @@ import { CommonModule } from "@angular/common";
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router'
import { MaterialModule } from "@shared/angular-material/angular-material.module";
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module';
import { EpSaisieComponent } from './ep-saisie.component';
import { EpaSaisieComponent } from './epa-saisie/epa-saisie.component';
import { EpsSaisieComponent } from './eps-saisie/eps-saisie.component';
import { EpaSixAnsSaisieComponent } from './epa-six-ans-saisie/epa-six-ans-saisie.component';
import { EpSaisieRoutingModule } from './ep-saisie.routing.module';
import { CommunUiModule } from "app/commun/commun-ui.module";
/**
* Module de la saisie de l'EP
@ -23,8 +26,8 @@ import { CommunUiModule } from "app/commun/commun-ui.module";
imports: [
//BrowserAnimationsModule,
//FormsModule,
CommonModule,
CommunUiModule,
MaterialModule,
NavMenuModule,
EpSaisieRoutingModule,
RouterModule
],

@ -6,8 +6,10 @@ import { EpSaisieComponent } from "./ep-saisie.component";
import { EpsSaisieComponent } from "./eps-saisie/eps-saisie.component";
import { EpaSaisieComponent } from "./epa-saisie/epa-saisie.component";
import { EpaSixAnsSaisieComponent } from "./epa-six-ans-saisie/epa-six-ans-saisie.component";
import { AuthGuard } from 'app/commun/auth/auth.guard';
import { paths_saisie_ep } from 'app/commun/utils/paths';
import { AuthGuard } from '../shared/auth/auth.guard';
import { paths_saisie_ep } from "../shared/utils/paths";
/**
* Routes du module saisie ep

@ -1,10 +1,9 @@
import { Component, OnInit } from "@angular/core";
import { ActivatedRoute } from "@angular/router";
import { AuthService } from "app/commun/auth/auth.service";
import { affichageStatut, CollaborateurDTO, EpDTO, estEPEffectue, estEPEnAttenteSignatureCollaborateur, estEPEnCours, estEPSigne, StatutEp } from "app/commun/model/models";
import { EpService } from "app/commun/services/ep.service";
import { cles } from "app/commun/utils/cles";
import { Role } from "app/commun/utils/roles";
import { affichageStatut, EpDTO, EpService, StatutEp, estEPEnCours, estEPSigne, estEPEnAttenteSignatureCollaborateur, estEPEffectue, CollaborateurDTO } from "@shared/api-swagger";
import { AuthService } from "@shared/auth/auth.service";
import { cles } from "@shared/utils/cles";
import { Role } from "@shared/utils/roles";
import { Subscription } from "rxjs";
/**

@ -1,5 +1,5 @@
import { Component, Input } from '@angular/core';
import { RDVEntretienDTO } from 'app/commun/model/rDVEntretienDTO';
import { RDVEntretienDTO } from '@shared/api-swagger';
/**
* Composant qui permet au collaborateur de faire un choix parmi les date proposées

@ -1,9 +1,8 @@
import { analyzeAndValidateNgModules } from '@angular/compiler';
import { Component, Inject, Input } from '@angular/core';
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { CollaborateurDTO } from 'app/commun/model/collaborateurDTO';
import { CommentaireAssistantDTO } from 'app/commun/model/commentaireAssistantDTO';
import { EpDTO } from 'app/commun/model/epDTO';
import { CollaborateurDTO, CommentaireAssistantDTO, EpDTO } from '@shared/api-swagger';
import { AuthService } from '@shared/auth/auth.service';
import { Subscription } from 'rxjs';
/**

@ -1,6 +1,5 @@
import { Component, Input} from '@angular/core';
import { DemandeDelegationDTO } from 'app/commun/model/demandeDelegationDTO';
import { EtatDemande, AfficherEtatDemandeDelegation } from 'app/commun/model/etatDemande';
import { AfficherEtatDemandeDelegation, DemandeDelegationDTO, EpDTO, EtatDemande } from '@shared/api-swagger';
/**
* Composant pour faire une demande de délégation et voir la dernière en cours

@ -1,5 +1,5 @@
import { Component, Input } from '@angular/core';
import { DemandeFormationDTO } from 'app/commun/model/models';
import { DemandeFormationDTO } from '@shared/api-swagger';
/**
* Composant pour ajouter et voir les demandes de formation

@ -1,5 +1,5 @@
import { Component, Input } from "@angular/core";
import { EngagementDTO } from "app/commun/model/models";
import { EngagementDTO } from "@shared/api-swagger";
@Component({
selector: "ep-engagements",

@ -1,6 +1,5 @@
import { Component, Input } from "@angular/core";
import { EpDTO } from "app/commun/model/epDTO";
import { StatutObjectif, afficherStatutObjectif } from "app/commun/model/statutObjectif";
import { afficherStatutObjectif, EpDTO, StatutObjectif } from "@shared/api-swagger";
@Component({

@ -1,5 +1,5 @@
import { Component, Input, OnInit } from '@angular/core';
import { EpDTO } from 'app/commun/model/models';
import { EpDTO } from '@shared/api-swagger';
/**
* Composant pour afficher la liste des participants de l'EP

@ -1,5 +1,5 @@
import { Component, Input } from '@angular/core';
import { RDVEntretienDTO, TypeEntretienDTO } from 'app/commun/model/models';
import { RDVEntretienDTO, TypeEntretienDTO } from '@shared/api-swagger';
/**
* Composant permettant au référent de proposer ses dates d'EP à partir des préférences de lieu d'entretien du collaborateur

@ -1,6 +1,6 @@
import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { epTypeRecherche } from 'app/commun/utils/cles';
import { epTypeRecherche } from '@shared/utils/cles';
/**
* Composant qui permet la consultation de la liste des EP signés

@ -1,9 +1,9 @@
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { AuthService } from 'app/commun/auth/auth.service';
import { CollaborateurDTO } from 'app/commun/model/models';
import { cles, epTypeRecherche } from 'app/commun/utils/cles';
import { Role } from 'app/commun/utils/roles';
import { CollaborateurDTO } from '@shared/api-swagger';
import { AuthService } from '@shared/auth/auth.service';
import { cles, epTypeRecherche } from '@shared/utils/cles';
import { Role } from '@shared/utils/roles';
/**

@ -3,9 +3,14 @@ import { CommonModule } from "@angular/common";
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { MaterialModule } from "@shared/angular-material/angular-material.module";
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module';
import { EpComponent } from './ep.component';
import { EpRoutingModule } from './ep.routing.module';
import { MatTablesModule } from "@shared/mat-tables/mat-tables.module";
import { EpSignesComponent } from "./ep-signes/ep-signes.component";
import { DetailsEPComponent } from "./details-ep/details-ep.component";
import { EpObjectifsComponent } from "./details-ep/ep-objectifs/ep-objectifs.component";
@ -16,7 +21,6 @@ import { EpEngagementsCompenent } from "./details-ep/ep-engagements/ep-engagemen
import { EpPropositionsDatesComponent } from "./details-ep/ep-propositions-dates/ep-propositions-dates.component";
import { EpChoixDateComponent } from "./details-ep/ep-choix-date/ep-choix-date.component";
import { EpDemandesFormationComponent } from "./details-ep/ep-demandes-formation/ep-demandes-formation.component";
import { CommunUiModule } from "app/commun/commun-ui.module";
@ -25,29 +29,20 @@ import { CommunUiModule } from "app/commun/commun-ui.module";
*/
@NgModule({
declarations: [
EpComponent,
EpSignesComponent,
DetailsEPComponent,
EpObjectifsComponent,
EpParticipantsComponent,
EpDemandeDelegationComponent,
EpCommentairesAssistantComponent,
EpEngagementsCompenent,
EpPropositionsDatesComponent,
EpChoixDateComponent,
EpDemandesFormationComponent,
DialogEPAjouterCommentaireAssistant,
DialogEPSupprimerCommentaireAssistant
EpComponent, EpSignesComponent, DetailsEPComponent, EpObjectifsComponent,
EpParticipantsComponent, EpDemandeDelegationComponent, EpCommentairesAssistantComponent,
EpEngagementsCompenent, EpPropositionsDatesComponent, EpChoixDateComponent,
EpDemandesFormationComponent, DialogEPAjouterCommentaireAssistant, DialogEPSupprimerCommentaireAssistant
],
exports: [
EpComponent,
DetailsEPComponent
exports: [EpComponent, DetailsEPComponent
],
imports: [
MaterialModule,
NavMenuModule,
EpRoutingModule,
RouterModule,
MatTablesModule,
CommonModule,
CommunUiModule,
FormsModule,
ReactiveFormsModule
],

@ -4,10 +4,10 @@ import { Routes, RouterModule } from '@angular/router';
import { EpComponent } from "./ep.component";
import { AuthGuard } from '../shared/auth/auth.guard';
import { paths_ep } from "../shared/utils/paths";
import { EpSignesComponent } from './ep-signes/ep-signes.component';
import { DetailsEPComponent } from './details-ep/details-ep.component';
import { AuthGuard } from 'app/commun/auth/auth.guard';
import { paths_ep } from 'app/commun/utils/paths';
/**
* Routes du module ep

@ -2,9 +2,9 @@ import { Component, OnInit } from '@angular/core';
import { Subscription } from 'rxjs';
import {ActivatedRoute} from '@angular/router';
import { FormationDTO } from 'app/commun/model/models';
import { FormationsService } from 'app/commun/services/formations.service';
import { FormationsService } from '@shared/api-swagger/api/api';
import { FormationDTO } from "@shared/api-swagger/model/models";
/**
* Composant qui permet l'affichage des détails d'une formation ainsi que de sa liste de participants.

@ -8,10 +8,11 @@ import { FormBuilder, FormGroup, FormControl, Validators } from '@angular/forms'
import {MatTableDataSource} from '@angular/material/table';
import {MatPaginator} from '@angular/material/paginator';
import {MatSort} from '@angular/material/sort';
import { FormationDTO, ModeFormationDTO, OrigineFormationDTO, StatutFormationDTO, TypeFormationDTO } from 'app/commun/model/models';
import { FormationsService } from 'app/commun/services/formations.service';
import { FormationDTO, ModeFormationDTO, TypeFormationDTO, StatutFormationDTO, OrigineFormationDTO } from '@shared/api-swagger/model/models';
import { FormationsService } from '@shared/api-swagger/api/api';
/**
* Composant pour modifier une formation
*/

@ -4,6 +4,11 @@ import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MaterialModule } from "@shared/angular-material/angular-material.module";
import { MatTablesModule } from "@shared/mat-tables/mat-tables.module";
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module';
import { FormationsComponent } from './formations.component';
import { NewFormationComponent } from './new-formation/new-formation.component';
import { FormationComponent } from './details-formation/formation.component';
@ -13,7 +18,6 @@ import { EditFormationComponent } from './edit-formation/edit-formation.componen
* Module des formations
*/
import { FormationsRoutingModule } from './formations.routing.module';
import { CommunUiModule } from "app/commun/commun-ui.module";
@NgModule({
declarations: [ FormationsComponent, FormationComponent,
@ -24,7 +28,9 @@ import { CommunUiModule } from "app/commun/commun-ui.module";
],
imports: [
CommonModule,
CommunUiModule,
MaterialModule,
NavMenuModule,
MatTablesModule,
RouterModule,
FormationsRoutingModule,
ReactiveFormsModule

@ -6,9 +6,10 @@ import { FormationsComponent } from "./formations.component";
import { FormationComponent } from "./details-formation/formation.component";
import { NewFormationComponent } from "./new-formation/new-formation.component";
import { EditFormationComponent } from "./edit-formation/edit-formation.component";
import { AuthGuard } from 'app/commun/auth/auth.guard';
import { paths_formation } from 'app/commun/utils/paths';
import { AuthGuard } from '../shared/auth/auth.guard';
import { paths_formation } from "../shared/utils/paths";
/**
* Routes du module formation
*/

@ -2,9 +2,10 @@ import { Component, OnInit } from '@angular/core';
import { Observable, Subscription } from 'rxjs';
import { Router } from '@angular/router';
import { FormBuilder, FormGroup, FormControl, Validators } from '@angular/forms';
import { ModeFormationDTO, OrigineFormationDTO, StatutFormationDTO, TypeFormationDTO } from 'app/commun/model/models';
import { FormationsService } from 'app/commun/services/formations.service';
import { FormationDTO, ModeFormationDTO, TypeFormationDTO, StatutFormationDTO, OrigineFormationDTO } from "@shared/api-swagger/model/models";
import { FormationsService } from "@shared/api-swagger/api/api";
/**
* Composant pour ajotuer une nouvelle formation

@ -1,6 +1,6 @@
import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { epTypeRecherche } from 'app/commun/utils/cles';
import { epTypeRecherche } from '@shared/utils/cles';

@ -1,8 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { affichageStatut, CollaborateurDTO, EpInformationDTO, StatutEp } from 'app/commun/model/models';
import { EpService } from 'app/commun/services/ep.service';
import { cles, epTypeRecherche } from 'app/commun/utils/cles';
import { affichageStatut, CollaborateurDTO, EpInformationDTO, EpService, StatutEp } from '@shared/api-swagger';
import { cles, epTypeRecherche } from '@shared/utils/cles';
import { Subscription } from 'rxjs';

@ -1,8 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { CollaborateurDTO } from 'app/commun/model/models';
import { EpService } from 'app/commun/services/ep.service';
import { epTypeRecherche, cles } from 'app/commun/utils/cles';
import { CollaborateurDTO, EpService } from '@shared/api-swagger';
import { cles, epTypeRecherche } from '@shared/utils/cles';
import { Subscription } from 'rxjs';

@ -1,9 +1,10 @@
import { Component, OnInit } from '@angular/core';
import { AuthService } from '@shared/auth/auth.service';
import { Role } from '@shared/utils/roles';
import { environment } from '@env'
import { AuthService } from 'app/commun/auth/auth.service';
import { Role } from 'app/commun/utils/roles';
/**
* Home principale qui fera affiché le home correspondant au rôle de l'utilisateur connecté.

@ -3,6 +3,9 @@ import { CommonModule } from "@angular/common";
import { RouterModule } from '@angular/router';
import { FormsModule } from '@angular/forms';
import { MaterialModule } from "@shared/angular-material/angular-material.module";
import { MatTablesModule } from "@shared/mat-tables/mat-tables.module";
import {HomeAssistanteComponent} from './home-assistante/home-assistante.component';
import {HomeRHComponent} from './home-rh/home-rh.component';
@ -10,26 +13,25 @@ import {HomeCollaborateurComponent} from './home-collaborateur/home-collaborateu
import {HomeCommercialComponent} from './home-commercial/home-commercial.component';
import {HomeComponent} from './home.component';
import { CommunUiModule } from "app/commun/commun-ui.module";
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module';
/**
* Module des différents homes
*/
@NgModule({
declarations: [
HomeComponent,
HomeAssistanteComponent,
HomeRHComponent,
HomeCollaborateurComponent,
HomeCommercialComponent
HomeComponent, HomeAssistanteComponent, HomeRHComponent,
HomeCollaborateurComponent, HomeCommercialComponent
],
exports: [
HomeComponent
],
imports: [
CommonModule,
CommunUiModule,
FormsModule,
MaterialModule,
NavMenuModule,
MatTablesModule,
RouterModule
],
})

@ -1,8 +1,7 @@
import { Component, Inject, OnInit } from "@angular/core";
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from "@angular/material/dialog";
import { ActivatedRoute, Router } from "@angular/router";
import { DetailsNoteDTO } from "app/commun/model/models";
import { NotesService } from "app/commun/services/notes.service";
import { DetailsNoteDTO, NotesService } from "@shared/api-swagger";
import { Subscription } from "rxjs";
/**

@ -3,8 +3,7 @@ import { Component, OnInit } from "@angular/core";
import { FormBuilder, FormGroup } from "@angular/forms";
import { MatDialog } from "@angular/material/dialog";
import { ActivatedRoute, Router } from "@angular/router";
import { CollaborateurDTO, DetailsNoteDTO } from "app/commun/model/models";
import { NotesService } from "app/commun/services/notes.service";
import { CollaborateurDTO, DetailsNoteDTO, NotesService } from "@shared/api-swagger";
import { Subscription } from "rxjs";

@ -1,8 +1,7 @@
import { Component, OnInit } from "@angular/core";
import { MatTableDataSource } from "@angular/material/table";
import { AffichageNoteDTO, CollaborateurDTO } from "app/commun/model/models";
import { NotesService } from "app/commun/services/notes.service";
import { cles } from "app/commun/utils/cles";
import { AffichageNoteDTO, CollaborateurDTO, NotesService } from "@shared/api-swagger";
import { cles } from "@shared/utils/cles";
import { Subscription } from "rxjs";
@Component({

@ -2,33 +2,32 @@ import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { RouterModule } from '@angular/router';
import { NotesRoutingModule } from "./notes.routing.module";
import { MaterialModule } from "@shared/angular-material/angular-material.module";
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module';
import { NotesComponent } from "./notes.component";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { DialogChoixCollaborateurNoteComponent, NouvelleNoteComponent } from "./nouvelle-note/nouvelle-note.component";
import { MatTablesModule } from "@shared/mat-tables/mat-tables.module";
import { DetailsNoteComponent, DialogSuppressionNoteComponent } from "./details-note/details-note.component";
import { ModifierNoteComponent } from "./modifier-note/modifier-note.component";
import { CommunUiModule } from "app/commun/commun-ui.module";
@NgModule({
declarations: [
NotesComponent,
NouvelleNoteComponent,
NotesComponent, NouvelleNoteComponent,
DialogChoixCollaborateurNoteComponent,
DetailsNoteComponent,
ModifierNoteComponent,
DetailsNoteComponent, ModifierNoteComponent,
DialogSuppressionNoteComponent
],
imports: [
CommonModule,
CommunUiModule,
MaterialModule,
NavMenuModule,
RouterModule,
NotesRoutingModule,
FormsModule,
ReactiveFormsModule
FormsModule, ReactiveFormsModule,
MatTablesModule
],
exports: [
NotesComponent
]
})
export class NotesModule {}

@ -3,12 +3,13 @@ import { Routes, RouterModule } from '@angular/router';
import { NotesComponent } from "./notes.component";
import { AuthGuard } from "../shared/auth/auth.guard";
import { paths_notes } from "../shared/utils/paths";
import { NouvelleNoteComponent } from './nouvelle-note/nouvelle-note.component';
import { DetailsNoteComponent } from './details-note/details-note.component';
import { ModifierNoteComponent } from './modifier-note/modifier-note.component';
import { paths_notes } from 'app/commun/utils/paths';
import { AuthGuard } from 'app/commun/auth/auth.guard';
const routes: Routes = [
{ path: paths_notes.ajoutNote, component: NouvelleNoteComponent, canActivate: [AuthGuard]},

@ -2,9 +2,8 @@ import { Component, Inject, OnInit } from "@angular/core";
import { FormBuilder } from "@angular/forms";
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from "@angular/material/dialog";
import { Router } from "@angular/router";
import { CollaborateurDTO, DetailsNoteDTO } from "app/commun/model/models";
import { NotesService } from "app/commun/services/notes.service";
import { cles, collaborateurTypeRecherche } from "app/commun/utils/cles";
import { CollaborateurDTO, DetailsNoteDTO, NotesService } from "@shared/api-swagger";
import { cles, collaborateurTypeRecherche } from "@shared/utils/cles";
import { Subscription } from "rxjs";

@ -1,4 +1,6 @@
import { Component, Inject } from "@angular/core";
import { CollaborateurDTO, CollaborateursService, ReferentsEPService, ReferentEPDTO } from "@shared/api-swagger";
import { collaborateurTypeRecherche } from "@shared/utils/cles";
import {MatDialog, MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';
import { MatSnackBar } from '@angular/material/snack-bar';
@ -6,10 +8,6 @@ import { MatSnackBar } from '@angular/material/snack-bar';
import { Subscription } from "rxjs";
import { Router } from "@angular/router";
import { CollaborateurDTO, ReferentEPDTO } from "app/commun/model/models";
import { CollaborateursService } from "app/commun/services/collaborateurs.service";
import { ReferentsEPService } from "app/commun/services/referentsEP.service";
import { collaborateurTypeRecherche } from "app/commun/utils/cles";

@ -1,7 +1,7 @@
import { Component } from '@angular/core';
import { collaborateurTypeRecherche } from "@shared/utils/cles";
import { Router } from '@angular/router';
import { collaborateurTypeRecherche } from 'app/commun/utils/cles';
/**
*/

@ -2,31 +2,34 @@ import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MaterialModule } from "@shared/angular-material/angular-material.module";
import {NavMenuModule} from '@shared/nav-menu/nav-menu.module';
import { MatTablesModule } from "@shared/mat-tables/mat-tables.module";
import { ReferentsComponent } from './referents.component';
import { DetailsReferentComponent } from './details-referent/details-referent.component';
import { ReferentsRoutingModule } from './referents.routing.module';
import { AssignationReferentComponent, DialogAssignationReferentComponent } from "./assignation-referent/assignation-referent.component";
import { CommunUiModule } from "app/commun/commun-ui.module";
import { AffichageDetailsCollaborateurModule } from "@shared/affichage-details-collaboarteur/affichage-details-collaborateur.module";
@NgModule({
declarations: [
DetailsReferentComponent,
ReferentsComponent,
AssignationReferentComponent,
declarations: [ DetailsReferentComponent,
ReferentsComponent, AssignationReferentComponent,
DialogAssignationReferentComponent
],
exports: [
ReferentsComponent
exports: [ ReferentsComponent
],
imports: [
CommonModule,
MaterialModule,
NavMenuModule,
FormsModule,
RouterModule,
ReactiveFormsModule,
AffichageDetailsCollaborateurModule,
ReferentsRoutingModule,
CommunUiModule
MatTablesModule
],
})
export class ReferentsModule {}

@ -5,9 +5,10 @@ import { Routes, RouterModule } from '@angular/router';
import { ReferentsComponent } from "./referents.component";
import { DetailsReferentComponent } from "./details-referent/details-referent.component";
import { paths_referents } from "../shared/utils/paths";
import { AuthGuard } from '../shared/auth/auth.guard';
import { AssignationReferentComponent } from './assignation-referent/assignation-referent.component';
import { AuthGuard } from 'app/commun/auth/auth.guard';
import { paths_referents } from 'app/commun/utils/paths';
/**
* Routes du module référents

@ -2,7 +2,9 @@ import { NgModule } from "@angular/core";
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { AffichageDetailsCollaborateurComponent } from "app/commun/affichage-details-collaboarteur/affichage-details-collaborateur";
import { MaterialModule } from "../angular-material/angular-material.module";
import { AffichageDetailsCollaborateurComponent } from "@shared/affichage-details-collaboarteur/affichage-details-collaborateur";
import { MatTablesModule } from '@shared/mat-tables/mat-tables.module';
import { DialogAssignationRapideReferentComponent, DialogAssignationRapideCollaborateursComponent } from "./dialog-assignation-rapide/dialog-assignation-rapide.component";
import { ProchainEpComponent } from "./prochain-ep/prochain-ep.component";
import { RouterModule } from "@angular/router";
@ -10,13 +12,16 @@ import { RouterModule } from "@angular/router";
@NgModule({
declarations: [
AffichageDetailsCollaborateurComponent, DialogAssignationRapideReferentComponent,
DialogAssignationRapideCollaborateursComponent, ProchainEpComponent
],
imports: [
MaterialModule,
CommonModule,
FormsModule,
MatTablesModule,
RouterModule
],
exports: []
exports: [AffichageDetailsCollaborateurComponent]
})
export class AffichageDetailsCollaborateurModule {}

@ -1,13 +1,10 @@
import { Component, Input, OnInit } from "@angular/core";
import { CollaborateurDTO, CollaborateursService, ParticipationFormationDTO, ParticipationsFormationsService } from "@shared/api-swagger";
import { Subscription } from "rxjs";
import { collaborateurTypeRecherche, epTypeRecherche } from "@shared/utils/cles";
import { MatDialog } from "@angular/material/dialog";
import { DialogAssignationRapideReferentComponent, DialogAssignationRapideCollaborateursComponent } from "./dialog-assignation-rapide/dialog-assignation-rapide.component";
import { Router } from "@angular/router";
import { CollaborateurDTO } from "../model/collaborateurDTO";
import { ParticipationFormationDTO } from "../model/participationFormationDTO";
import { CollaborateursService } from "../services/collaborateurs.service";
import { ParticipationsFormationsService } from "../services/participationsFormations.service";
import { collaborateurTypeRecherche, epTypeRecherche } from "../utils/cles";
@Component({

@ -1,11 +1,8 @@
import {Component, Inject, OnInit } from "@angular/core";
import {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';
import { MatSnackBar } from "@angular/material/snack-bar";
import { CollaborateurDTO } from "app/commun/model/collaborateurDTO";
import { ReferentEPDTO } from "app/commun/model/referentEPDTO";
import { CollaborateursService } from "app/commun/services/collaborateurs.service";
import { ReferentsEPService } from "app/commun/services/referentsEP.service";
import { collaborateurTypeRecherche } from "app/commun/utils/cles";
import { CollaborateurDTO, CollaborateursService, ReferentEPDTO, ReferentsEPService } from "@shared/api-swagger";
import { collaborateurTypeRecherche, } from "@shared/utils/cles";
import { Subscription } from "rxjs";
@Component({

@ -1,6 +1,5 @@
import { Component, Input, OnInit } from "@angular/core"
import { affichageStatut, EpInformationDTO, StatutEp } from "app/commun/model/models";
import { EpService } from "app/commun/services/ep.service";
import { affichageStatut, EpInformationDTO, EpService, StatutEp } from "@shared/api-swagger";
import { Subscription } from "rxjs";

@ -0,0 +1,59 @@
import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import {MatCardModule} from '@angular/material/card';
import { MatButtonModule } from '@angular/material/button';
import {MatInputModule} from '@angular/material/input';
import {MatIconModule} from '@angular/material/icon';
import {MatMenuModule} from '@angular/material/menu';
import {MatPaginatorModule} from '@angular/material/paginator';
import {MatTableModule} from '@angular/material/table';
import {MatSortModule} from '@angular/material/sort';
import {MatListModule} from '@angular/material/list';
import {MatProgressSpinnerModule} from '@angular/material/progress-spinner';
import {MatTabsModule} from '@angular/material/tabs';
import {MatRadioModule} from '@angular/material/radio';
import {MatFormFieldModule} from '@angular/material/form-field';
import {MatDatepickerModule} from '@angular/material/datepicker';
import {MatNativeDateModule} from '@angular/material/core';
import {MatCheckboxModule} from '@angular/material/checkbox';
import {MatSelectModule} from '@angular/material/select';
import {MatStepperModule} from '@angular/material/stepper';
import {MatChipsModule} from '@angular/material/chips';
import {MatSnackBarModule} from '@angular/material/snack-bar';
import {MatSlideToggleModule} from '@angular/material/slide-toggle';
import { NgxMatDatetimePickerModule, NgxMatTimepickerModule, NgxMatNativeDateModule } from '@angular-material-components/datetime-picker';
/**
* Module qui va faire l'import et l'export de tous les componsants material design qui seront utilisés dans les différents modules.
*/
@NgModule({
imports : [MatCardModule,
MatButtonModule, MatMenuModule,
MatIconModule, MatPaginatorModule,
MatSortModule, MatTableModule,
MatInputModule, MatProgressSpinnerModule,
MatTabsModule, MatFormFieldModule,
NgxMatDatetimePickerModule, MatDatepickerModule,
NgxMatNativeDateModule, MatNativeDateModule, MatListModule,
MatCheckboxModule, MatSelectModule, MatStepperModule,
MatChipsModule, MatSnackBarModule, MatSlideToggleModule,
MatRadioModule
],
exports : [MatCardModule,
MatButtonModule, MatMenuModule,
MatIconModule, MatPaginatorModule,
MatSortModule, MatTableModule,
MatInputModule, MatProgressSpinnerModule,
MatTabsModule, MatFormFieldModule,
NgxMatDatetimePickerModule, MatDatepickerModule,
NgxMatNativeDateModule, MatNativeDateModule, MatListModule,
MatCheckboxModule, MatSelectModule, MatStepperModule,
MatChipsModule, MatSnackBarModule, MatSlideToggleModule,
MatRadioModule
]
})
export class MaterialModule {}

@ -0,0 +1,5 @@
wwwroot/*.js
node
node_modules
typings
dist

@ -0,0 +1,23 @@
# Swagger Codegen Ignore
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.
# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
#ApiClient.cs
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md

@ -0,0 +1,51 @@
import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';
import { Configuration } from './configuration';
import { HttpClient } from '@angular/common/http';
import { CollaborateursService } from './api/collaborateurs.service';
import { DemandesDelegationService } from './api/demandesDelegation.service';
import { DemandesEPIService } from './api/demandesEPI.service';
import { DemandesFormationService } from './api/demandesFormation.service';
import { EngagementsService } from './api/engagements.service';
import { EpService } from './api/ep.service';
import { FormationsService } from './api/formations.service';
import { NotesService } from './api/notes.service';
import { ParticipationsFormationsService } from './api/participationsFormations.service';
import { ReferentsEPService } from './api/referentsEP.service';
@NgModule({
imports: [],
declarations: [],
exports: [],
providers: [
CollaborateursService,
DemandesDelegationService,
DemandesEPIService,
DemandesFormationService,
EngagementsService,
EpService,
FormationsService,
NotesService,
ParticipationsFormationsService,
ReferentsEPService ]
})
export class ApiModule {
public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule> {
return {
ngModule: ApiModule,
providers: [ { provide: Configuration, useFactory: configurationFactory } ]
};
}
constructor( @Optional() @SkipSelf() parentModule: ApiModule,
@Optional() http: HttpClient) {
if (parentModule) {
throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
}
if (!http) {
throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
'See also https://github.com/angular/angular/issues/20575');
}
}
}

@ -0,0 +1,21 @@
export * from './collaborateurs.service';
import { CollaborateursService } from './collaborateurs.service';
export * from './demandesDelegation.service';
import { DemandesDelegationService } from './demandesDelegation.service';
export * from './demandesEPI.service';
import { DemandesEPIService } from './demandesEPI.service';
export * from './demandesFormation.service';
import { DemandesFormationService } from './demandesFormation.service';
export * from './engagements.service';
import { EngagementsService } from './engagements.service';
export * from './ep.service';
import { EpService } from './ep.service';
export * from './formations.service';
import { FormationsService } from './formations.service';
export * from './notes.service';
import { NotesService } from './notes.service';
export * from './participationsFormations.service';
import { ParticipationsFormationsService } from './participationsFormations.service';
export * from './referentsEP.service';
import { ReferentsEPService } from './referentsEP.service';
export const APIS = [CollaborateursService, DemandesDelegationService, DemandesEPIService, DemandesFormationService, EngagementsService, EpService, FormationsService, NotesService, ParticipationsFormationsService, ReferentsEPService];

@ -13,15 +13,15 @@
import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../config/encoder';
import { CustomHttpUrlEncodingCodec } from '../encoder';
import { Observable } from 'rxjs';
import { CollaborateurDTO } from '../model/collaborateurDTO';
import { ErreurDTO } from '../model/erreurDTO';
import { BASE_PATH, COLLECTION_FORMATS } from '../config/variables';
import { Configuration } from '../config/configuration';
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
import { Configuration } from '../configuration';
@Injectable()

@ -13,15 +13,15 @@
import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../config/encoder';
import { CustomHttpUrlEncodingCodec } from '../encoder';
import { Observable } from 'rxjs';
import { DemandeDelegationDTO } from '../model/demandeDelegationDTO';
import { ErreurDTO } from '../model/erreurDTO';
import { BASE_PATH, COLLECTION_FORMATS } from '../config/variables';
import { Configuration } from '../config/configuration';
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
import { Configuration } from '../configuration';
@Injectable()

@ -13,7 +13,7 @@
import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../config/encoder';
import { CustomHttpUrlEncodingCodec } from '../encoder';
import { Observable } from 'rxjs';
@ -21,8 +21,8 @@ import { DemandeEPIDTO } from '../model/demandeEPIDTO';
import { ErreurDTO } from '../model/erreurDTO';
import { EtatDemande } from '../model/etatDemande';
import { BASE_PATH, COLLECTION_FORMATS } from '../config/variables';
import { Configuration } from '../config/configuration';
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
import { Configuration } from '../configuration';
@Injectable()

@ -13,7 +13,7 @@
import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../config/encoder';
import { CustomHttpUrlEncodingCodec } from '../encoder';
import { Observable } from 'rxjs';
@ -22,8 +22,8 @@ import { ErreurDTO } from '../model/erreurDTO';
import { EtatDemande } from '../model/etatDemande';
import { OrigineDemandeFormationDTO } from '../model/origineDemandeFormationDTO';
import { BASE_PATH, COLLECTION_FORMATS } from '../config/variables';
import { Configuration } from '../config/configuration';
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
import { Configuration } from '../configuration';
import { StatutEp } from '../model/statutEp';

@ -13,7 +13,7 @@
import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../config/encoder';
import { CustomHttpUrlEncodingCodec } from '../encoder';
import { Observable } from 'rxjs';
@ -21,8 +21,8 @@ import { EngagementDTO } from '../model/engagementDTO';
import { ErreurDTO } from '../model/erreurDTO';
import { EtatEngagement } from '../model/etatEngagement';
import { BASE_PATH, COLLECTION_FORMATS } from '../config/variables';
import { Configuration } from '../config/configuration';
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
import { Configuration } from '../configuration';
@Injectable()

@ -13,7 +13,7 @@
import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../config/encoder';
import { CustomHttpUrlEncodingCodec } from '../encoder';
import { Observable } from 'rxjs';
@ -23,8 +23,8 @@
import { ErreurDTO } from '../model/erreurDTO';
import { TypeEntretienDTO } from '../model/typeEntretienDTO';
import { BASE_PATH, COLLECTION_FORMATS } from '../config/variables';
import { Configuration } from '../config/configuration';
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
import { Configuration } from '../configuration';
@Injectable()

@ -13,7 +13,7 @@
import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../config/encoder';
import { CustomHttpUrlEncodingCodec } from '../encoder';
import { Observable } from 'rxjs';
@ -25,8 +25,8 @@ import { OrigineFormationDTO } from '../model/origineFormationDTO';
import { StatutFormationDTO } from '../model/statutFormationDTO';
import { TypeFormationDTO } from '../model/typeFormationDTO';
import { BASE_PATH, COLLECTION_FORMATS } from '../config/variables';
import { Configuration } from '../config/configuration';
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
import { Configuration } from '../configuration';
@Injectable()

@ -13,7 +13,7 @@
import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../config/encoder';
import { CustomHttpUrlEncodingCodec } from '../encoder';
import { Observable } from 'rxjs';
@ -21,8 +21,8 @@ import { AffichageNoteDTO } from '../model/affichageNoteDTO';
import { DetailsNoteDTO } from '../model/detailsNoteDTO';
import { ErreurDTO } from '../model/erreurDTO';
import { BASE_PATH, COLLECTION_FORMATS } from '../config/variables';
import { Configuration } from '../config/configuration';
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
import { Configuration } from '../configuration';
@Injectable()

@ -13,7 +13,7 @@
import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../config/encoder';
import { CustomHttpUrlEncodingCodec } from '../encoder';
import { Observable } from 'rxjs';
@ -21,8 +21,8 @@ import { ErreurDTO } from '../model/erreurDTO';
import { EvaluationDTO } from '../model/evaluationDTO';
import { ParticipationFormationDTO } from '../model/participationFormationDTO';
import { BASE_PATH, COLLECTION_FORMATS } from '../config/variables';
import { Configuration } from '../config/configuration';
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
import { Configuration } from '../configuration';
@Injectable()

@ -13,15 +13,15 @@
import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../config/encoder';
import { CustomHttpUrlEncodingCodec } from '../encoder';
import { Observable } from 'rxjs';
import { ErreurDTO } from '../model/erreurDTO';
import { ReferentEPDTO } from '../model/referentEPDTO';
import { BASE_PATH, COLLECTION_FORMATS } from '../config/variables';
import { Configuration } from '../config/configuration';
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
import { Configuration } from '../configuration';
@Injectable()

@ -0,0 +1,5 @@
export * from './api/api';
export * from './model/models';
export * from './variables';
export * from './configuration';
export * from './api.module';

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save