Commit 8367a314 authored by descamps's avatar descamps
Browse files

KDE - Finalisation du merge - correction create notice

parent 8a6d05ef
......@@ -5,8 +5,7 @@
<span class="pastis-dialog-title">{{data.titleDialog}}</span>
</h2>
<pastis-generic-popup class="conteneur"[firstChoice]="firstChoice" [secondChoice]="secondChoice" [title]="title" (changeStatusEvent)="changeChoiceCreateProfile($event)">
<pastis-generic-popup class="conteneur" [firstChoice]="firstChoice" [secondChoice]="secondChoice" [title]="title" (changeStatusEvent)="changeChoiceCreateProfile($event)">
</pastis-generic-popup>
......
......@@ -35,7 +35,7 @@ same conditions as regards security.
The fact that you are presently reading this means that you have had
knowledge of the CeCILL-C license and that you accept its terms.
*/
import {Component, Input, OnDestroy, OnInit, Pipe, PipeTransform, ViewChild} from '@angular/core';
import {Component, Input, OnDestroy, OnInit, ViewChild} from '@angular/core';
import {MatDialog} from '@angular/material/dialog';
import {MatTableDataSource} from '@angular/material/table';
import {ActivatedRoute, Router} from '@angular/router';
......@@ -45,19 +45,21 @@ import {Subscription} from 'rxjs';
import {Direction, GlobalEventService, SidenavPage, StartupService} from 'ui-frontend-common';
import {environment} from '../../../environments/environment';
import {PastisConfiguration} from '../../core/classes/pastis-configuration';
import { NoticeService } from '../../core/services/notice.service';
import {NoticeService} from '../../core/services/notice.service';
import {ProfileService} from '../../core/services/profile.service';
import { ToggleSidenavService } from '../../core/services/toggle-sidenav.service';
import { ArchivalProfileUnit } from '../../models/archival-profile-unit';
import {ToggleSidenavService} from '../../core/services/toggle-sidenav.service';
import {ArchivalProfileUnit} from '../../models/archival-profile-unit';
import {BreadcrumbDataTop} from '../../models/breadcrumb';
import {MetadataHeaders} from '../../models/models';
import { Profile } from '../../models/profile';
import {Profile} from '../../models/profile';
import {ProfileDescription} from '../../models/profile-description.model';
import {ProfileResponse} from '../../models/profile-response';
import {DataGeneriquePopupService} from '../../shared/data-generique-popup.service';
import {PastisDialogData} from '../../shared/pastis-dialog/classes/pastis-dialog-data';
import {CreateProfileComponent} from '../create-profile/create-profile.component';
import {ProfileInformationTabComponent} from '../profile-preview/profile-information-tab/profile-information-tab/profile-information-tab.component';
import {
ProfileInformationTabComponent
} from '../profile-preview/profile-information-tab/profile-information-tab/profile-information-tab.component';
const POPUP_CREATION_PATH = 'PROFILE.POP_UP_CREATION';
......@@ -143,7 +145,7 @@ export class ListProfileComponent extends SidenavPage<ProfileDescription> implem
constructor(private profileService: ProfileService, private noticeService: NoticeService,
private router: Router, private dialog: MatDialog,
private startupService: StartupService, private pastisConfig: PastisConfiguration,
route: ActivatedRoute, globalEventService: GlobalEventService,
private route: ActivatedRoute, globalEventService: GlobalEventService,
private dataGeneriquePopupService: DataGeneriquePopupService, private translateService: TranslateService,
private toggleService: ToggleSidenavService) {
super(route, globalEventService);
......
......@@ -56,13 +56,12 @@ import {PastisMaterialModule} from '../material.module';
import {UserActionsModule} from '../user-actions/user-actions.module';
import {CreateProfileComponent} from './create-profile/create-profile.component';
import {EditProfileComponent} from './edit-profile/edit-profile.component';
import {
FilterByStringNamePipe,
FilterByTypePipe,
ListProfileComponent
} from './list-profile/list-profile.component';
import {ListProfileComponent} from './list-profile/list-profile.component';
import {ProfilePreviewModule} from './profile-preview/profile-preview.module';
import {ProfileComponent} from './profile.component';
import {FilterByStringNamePipe} from './list-profile/pipes/filterByStringName.pipe';
import {FilterByTypePipe} from './list-profile/pipes/filterByType.pipe';
import {ProfileComponent} from "../../../../identity/src/app/profile/profile.component";
import {CreateNoticeChoiceComponent} from "./create-notice-choice/create-notice-choice.component";
@NgModule({
......@@ -83,9 +82,9 @@ import {ProfileComponent} from './profile.component';
NgxUiLoaderModule,
ProfilePreviewModule
],
exports: [CreateProfileComponent, EditProfileComponent, ListProfileComponent, FilterByTypePipe, FilterByStringNamePipe],
exports: [CreateNoticeChoiceComponent, CreateProfileComponent, EditProfileComponent, ListProfileComponent, FilterByStringNamePipe, FilterByTypePipe],
providers: [],
declarations: [ProfileComponent, CreateProfileComponent, EditProfileComponent, ListProfileComponent, FilterByTypePipe, FilterByStringNamePipe],
declarations: [CreateNoticeChoiceComponent, ProfileComponent, CreateProfileComponent, EditProfileComponent, ListProfileComponent, FilterByStringNamePipe, FilterByTypePipe],
})
export class ProfileModule {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment