[monitor-admin-library | DONE | CHANGED]: Move general in library
This commit is contained in:
parent
d54ecec5e6
commit
1710819fb9
|
@ -1,21 +1,21 @@
|
||||||
import {Component, Input, OnDestroy, ViewChild} from "@angular/core";
|
import {Component, Input, OnDestroy, ViewChild} from "@angular/core";
|
||||||
import {Stakeholder} from "../../openaireLibrary/monitor/entities/stakeholder";
|
import {Stakeholder} from "../../../monitor/entities/stakeholder";
|
||||||
import {UntypedFormBuilder, UntypedFormGroup, Validators} from "@angular/forms";
|
import {UntypedFormBuilder, UntypedFormGroup, Validators} from "@angular/forms";
|
||||||
import {StakeholderUtils} from "../../openaireLibrary/monitor-admin/utils/indicator-utils";
|
import {StakeholderUtils} from "../../utils/indicator-utils";
|
||||||
import {Option} from "../../openaireLibrary/sharedComponents/input/input.component";
|
import {Option} from "../../../sharedComponents/input/input.component";
|
||||||
import {Subscription} from "rxjs";
|
import {Subscription} from "rxjs";
|
||||||
import {EnvProperties} from "../../openaireLibrary/utils/properties/env-properties";
|
import {EnvProperties} from "../../../utils/properties/env-properties";
|
||||||
import {properties} from "../../../environments/environment";
|
import {properties} from "src/environments/environment";
|
||||||
import {StakeholderService} from "../../openaireLibrary/monitor/services/stakeholder.service";
|
import {StakeholderService} from "../../../monitor/services/stakeholder.service";
|
||||||
import {UtilitiesService} from "../../openaireLibrary/services/utilities.service";
|
import {UtilitiesService} from "../../../services/utilities.service";
|
||||||
import {Role, Session, User} from "../../openaireLibrary/login/utils/helper.class";
|
import {Role, Session, User} from "../../../login/utils/helper.class";
|
||||||
import {UserManagementService} from "../../openaireLibrary/services/user-management.service";
|
import {UserManagementService} from "../../../services/user-management.service";
|
||||||
import {StringUtils} from "../../openaireLibrary/utils/string-utils.class";
|
import {StringUtils} from "../../../utils/string-utils.class";
|
||||||
import {NotifyFormComponent} from "../../openaireLibrary/notifications/notify-form/notify-form.component";
|
import {NotifyFormComponent} from "../../../notifications/notify-form/notify-form.component";
|
||||||
import {NotificationUtils} from "../../openaireLibrary/notifications/notification-utils";
|
import {NotificationUtils} from "../../../notifications/notification-utils";
|
||||||
import {Notification} from "../../openaireLibrary/notifications/notifications";
|
import {Notification} from "../../../notifications/notifications";
|
||||||
import {NotificationHandler} from "../../openaireLibrary/utils/notification-handler";
|
import {NotificationHandler} from "../../../utils/notification-handler";
|
||||||
import {StatsProfilesService} from "../../openaireLibrary/monitor-admin/utils/services/stats-profiles.service";
|
import {StatsProfilesService} from "../../utils/services/stats-profiles.service";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'edit-stakeholder',
|
selector: 'edit-stakeholder',
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {NgModule} from "@angular/core";
|
import {NgModule} from "@angular/core";
|
||||||
import {EditStakeholderComponent} from "./edit-stakeholder.component";
|
import {EditStakeholderComponent} from "./edit-stakeholder.component";
|
||||||
import {CommonModule} from "@angular/common";
|
import {CommonModule} from "@angular/common";
|
||||||
import {InputModule} from "../../openaireLibrary/sharedComponents/input/input.module";
|
import {InputModule} from "../../../sharedComponents/input/input.module";
|
||||||
import {ReactiveFormsModule} from "@angular/forms";
|
import {ReactiveFormsModule} from "@angular/forms";
|
||||||
import {IconsModule} from "../../openaireLibrary/utils/icons/icons.module";
|
import {IconsModule} from "../../../utils/icons/icons.module";
|
||||||
import {NotifyFormModule} from "../../openaireLibrary/notifications/notify-form/notify-form.module";
|
import {NotifyFormModule} from "../../../notifications/notify-form/notify-form.module";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [CommonModule, InputModule, ReactiveFormsModule, IconsModule, NotifyFormModule],
|
imports: [CommonModule, InputModule, ReactiveFormsModule, IconsModule, NotifyFormModule],
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {NgModule} from '@angular/core';
|
import {NgModule} from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
import {RouterModule} from '@angular/router';
|
||||||
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
import {PreviousRouteRecorder} from '../../utils/piwik/previousRouteRecorder.guard';
|
||||||
import {GeneralComponent} from "./general.component";
|
import {GeneralComponent} from "./general.component";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {ChangeDetectorRef, Component, OnDestroy, OnInit, ViewChild} from "@angular/core";
|
import {ChangeDetectorRef, Component, OnDestroy, OnInit, ViewChild} from "@angular/core";
|
||||||
import {StakeholderService} from "../openaireLibrary/monitor/services/stakeholder.service";
|
import {StakeholderService} from "../../monitor/services/stakeholder.service";
|
||||||
import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties";
|
import {EnvProperties} from "../../utils/properties/env-properties";
|
||||||
import {Stakeholder} from "../openaireLibrary/monitor/entities/stakeholder";
|
import {Stakeholder} from "../../monitor/entities/stakeholder";
|
||||||
import { Subscription, zip} from "rxjs";
|
import { Subscription, zip} from "rxjs";
|
||||||
import {EditStakeholderComponent} from "./edit-stakeholder/edit-stakeholder.component";
|
import {EditStakeholderComponent} from "./edit-stakeholder/edit-stakeholder.component";
|
||||||
import {properties} from "../../environments/environment";
|
import {properties} from "src/environments/environment";
|
||||||
import {Title} from "@angular/platform-browser";
|
import {Title} from "@angular/platform-browser";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
import {NgModule} from "@angular/core";
|
import {NgModule} from "@angular/core";
|
||||||
import {GeneralComponent} from "./general.component";
|
import {GeneralComponent} from "./general.component";
|
||||||
import {GeneralRoutingModule} from "./general-routing.module";
|
import {GeneralRoutingModule} from "./general-routing.module";
|
||||||
import {PreviousRouteRecorder} from "../openaireLibrary/utils/piwik/previousRouteRecorder.guard";
|
import {PreviousRouteRecorder} from "../../utils/piwik/previousRouteRecorder.guard";
|
||||||
import {CommonModule} from "@angular/common";
|
import {CommonModule} from "@angular/common";
|
||||||
import {RouterModule} from "@angular/router";
|
import {RouterModule} from "@angular/router";
|
||||||
import {InputModule} from "../openaireLibrary/sharedComponents/input/input.module";
|
import {InputModule} from "../../sharedComponents/input/input.module";
|
||||||
import {LoadingModule} from "../openaireLibrary/utils/loading/loading.module";
|
import {LoadingModule} from "../../utils/loading/loading.module";
|
||||||
import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module";
|
import {AlertModalModule} from "../../utils/modal/alertModal.module";
|
||||||
import {ReactiveFormsModule} from "@angular/forms";
|
import {ReactiveFormsModule} from "@angular/forms";
|
||||||
import {EditStakeholderModule} from "./edit-stakeholder/edit-stakeholder.module";
|
import {EditStakeholderModule} from "./edit-stakeholder/edit-stakeholder.module";
|
||||||
import {PageContentModule} from "../openaireLibrary/dashboard/sharedComponents/page-content/page-content.module";
|
import {PageContentModule} from "../../dashboard/sharedComponents/page-content/page-content.module";
|
||||||
import {LogoUrlPipeModule} from "../openaireLibrary/utils/pipes/logoUrlPipe.module";
|
import {LogoUrlPipeModule} from "../../utils/pipes/logoUrlPipe.module";
|
||||||
import {
|
import {
|
||||||
SidebarMobileToggleModule
|
SidebarMobileToggleModule
|
||||||
} from "../openaireLibrary/dashboard/sharedComponents/sidebar/sidebar-mobile-toggle/sidebar-mobile-toggle.module";
|
} from "../../dashboard/sharedComponents/sidebar/sidebar-mobile-toggle/sidebar-mobile-toggle.module";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [GeneralComponent],
|
declarations: [GeneralComponent],
|
||||||
|
|
Loading…
Reference in New Issue