Commit 581cd2b7 authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

refactor: optimize import

parent 57c2bf3f
......@@ -17,9 +17,9 @@ import {
Select,
Store,
} from "@ngxs/store";
import {StateEnum} from "@shared/enums/state.enum";
import {Observable} from "rxjs";
import {AbstractDetailEditCommonRoutable} from "solidify-frontend";
import {StateEnum} from "@shared/enums/state.enum";
@Component({
selector: "dlcm-admin-archive-acl-detail-edit-routable",
......
......@@ -20,6 +20,7 @@ import {
} from "@ngxs/store";
import {DataTableComponentEnum} from "@shared/enums/data-table-component.enum";
import {LabelTranslateEnum} from "@shared/enums/label-translate.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {DataTableComponentHelper} from "@shared/helpers/data-table-component.helper";
import {sharedArchiveActionNameSpace} from "@shared/stores/archive/shared-archive.action";
import {
......@@ -38,7 +39,6 @@ import {
RouterExtensionService,
Sort,
} from "solidify-frontend";
import {StateEnum} from "@shared/enums/state.enum";
@Component({
selector: "dlcm-admin-archive-acl-list-routable",
......
......@@ -7,14 +7,12 @@ import {
State,
Store,
} from "@ngxs/store";
import {
ApiEnum
} from "@shared/enums/api.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {ApiEnum} from "@shared/enums/api.enum";
import {
RoutesEnum,
urlSeparator,
} from "@shared/enums/routes.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
ApiService,
defaultResourceStateInitValue,
......
......@@ -7,20 +7,20 @@ import {
Store,
} from "@ngxs/store";
import {ApiEnum} from "@shared/enums/api.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
RoutesEnum,
urlSeparator,
} from "@shared/enums/routes.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
ApiService,
defaultResourceStateInitValue,
isNullOrUndefined,
MARK_AS_TRANSLATABLE,
NotificationService,
ResourceState,
ResourceStateModel,
StoreUtil,
MARK_AS_TRANSLATABLE,
} from "solidify-frontend";
import {adminDisseminationPolicyActionNameSpace} from "./admin-dissemination-policy.action";
......
......@@ -14,13 +14,13 @@ import {
Store,
} from "@ngxs/store";
import {LabelTranslateEnum} from "@shared/enums/label-translate.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
AbstractListRoutable,
DataTableFieldTypeEnum,
OrderEnum,
RouterExtensionService,
} from "solidify-frontend";
import {StateEnum} from "@shared/enums/state.enum";
@Component({
selector: "dlcm-admin-submission-policy-list-routable",
......
......@@ -21,6 +21,7 @@ import {
} from "@ngxs/store";
import {StateEnum} from "@shared/enums/state.enum";
import {sharedIndexFieldAliasActionNameSpace} from "@shared/stores/index-field-alias/shared-index-field-alias.action";
import {SharedLanguageState} from "@shared/stores/language/shared-language.state";
import {SharedOrganizationalUnitState} from "@shared/stores/organizational-unit/shared-organizational-unit.state";
import {Observable} from "rxjs";
import {
......@@ -29,7 +30,6 @@ import {
OverrideProperty,
ResourceNameSpace,
} from "solidify-frontend";
import {SharedLanguageState} from "@shared/stores/language/shared-language.state";
@Component({
selector: "dlcm-admin-index-field-alias-create-routable",
......
......@@ -14,13 +14,13 @@ import {
Store,
} from "@ngxs/store";
import {LabelTranslateEnum} from "@shared/enums/label-translate.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
AbstractListRoutable,
DataTableFieldTypeEnum,
OrderEnum,
RouterExtensionService,
} from "solidify-frontend";
import {StateEnum} from "@shared/enums/state.enum";
@Component({
selector: "dlcm-admin-index-field-alias-list-routable",
......
import {AdminIndexFieldAliasAction, adminIndexFieldAliasActionNameSpace} from "@admin/index-field-alias/stores/admin-index-field-alias.action";
import {
AdminIndexFieldAliasAction,
adminIndexFieldAliasActionNameSpace,
} from "@admin/index-field-alias/stores/admin-index-field-alias.action";
import {Injectable} from "@angular/core";
import {AppSystemPropertyAction} from "@app/stores/system-property/app-system-property.action";
import {AppSystemPropertyStateModel} from "@app/stores/system-property/app-system-property.state";
import {IndexFieldAlias} from "@models";
import {
Action,
Actions,
Selector,
State, StateContext,
State,
StateContext,
Store,
} from "@ngxs/store";
import {ApiEnum} from "@shared/enums/api.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
RoutesEnum,
urlSeparator,
} from "@shared/enums/routes.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {Observable} from "rxjs";
import {
ApiService,
defaultResourceStateInitValue,
......@@ -24,11 +31,6 @@ import {
ResourceStateModel,
StoreUtil,
} from "solidify-frontend";
import {AdminLanguageAction} from "@admin/language/stores/admin-language.action";
import {DepositStateModel} from "@deposit/stores/deposit.state";
import {Observable} from "rxjs";
import {AppSystemPropertyStateModel} from "@app/stores/system-property/app-system-property.state";
import {AppSystemPropertyAction} from "@app/stores/system-property/app-system-property.action";
export interface AdminIndexFieldAliasStateModel extends ResourceStateModel<IndexFieldAlias> {
}
......
......@@ -14,13 +14,13 @@ import {
Store,
} from "@ngxs/store";
import {LabelTranslateEnum} from "@shared/enums/label-translate.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
AbstractListRoutable,
DataTableFieldTypeEnum,
OrderEnum,
RouterExtensionService,
} from "solidify-frontend";
import {StateEnum} from "@shared/enums/state.enum";
@Component({
selector: "dlcm-admin-institution-list-routable",
......
......@@ -14,11 +14,11 @@ import {
Store,
} from "@ngxs/store";
import {ApiEnum} from "@shared/enums/api.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
RoutesEnum,
urlSeparator,
} from "@shared/enums/routes.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {ResourceLogoStateModel} from "@shared/stores/resource-logo/resource-logo-state.model";
import {
defaultResourceLogoStateInitValue,
......
......@@ -14,8 +14,8 @@ import {
Store,
} from "@ngxs/store";
import {ApiEnum} from "@shared/enums/api.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {RoutesEnum} from "@shared/enums/routes.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {SharedLanguageAction} from "@shared/stores/language/shared-language.action";
import {Observable} from "rxjs";
import {tap} from "rxjs/operators";
......
......@@ -14,13 +14,13 @@ import {
Store,
} from "@ngxs/store";
import {LabelTranslateEnum} from "@shared/enums/label-translate.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
AbstractListRoutable,
DataTableFieldTypeEnum,
OrderEnum,
RouterExtensionService,
} from "solidify-frontend";
import {StateEnum} from "@shared/enums/state.enum";
@Component({
selector: "dlcm-admin-license-list-routable",
......
......@@ -8,20 +8,20 @@ import {
Store,
} from "@ngxs/store";
import {ApiEnum} from "@shared/enums/api.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
RoutesEnum,
urlSeparator,
} from "@shared/enums/routes.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
ApiService,
defaultResourceStateInitValue,
isNullOrUndefined,
MARK_AS_TRANSLATABLE,
NotificationService,
ResourceState,
ResourceStateModel,
StoreUtil,
MARK_AS_TRANSLATABLE,
} from "solidify-frontend";
export interface AdminLicenseStateModel extends ResourceStateModel<License> {
......
......@@ -15,13 +15,13 @@ import {
Store,
} from "@ngxs/store";
import {LabelTranslateEnum} from "@shared/enums/label-translate.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
AbstractListRoutable,
DataTableFieldTypeEnum,
OrderEnum,
RouterExtensionService,
} from "solidify-frontend";
import {StateEnum} from "@shared/enums/state.enum";
@Component({
selector: "dlcm-admin-metadata-type-list-routable",
......
......@@ -18,8 +18,9 @@ import {
Store,
} from "@ngxs/store";
import {DataTableComponentEnum} from "@shared/enums/data-table-component.enum";
import {DataTableComponentHelper} from "@shared/helpers/data-table-component.helper";
import {LabelTranslateEnum} from "@shared/enums/label-translate.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {DataTableComponentHelper} from "@shared/helpers/data-table-component.helper";
import {sharedOrganizationalUnitActionNameSpace} from "@shared/stores/organizational-unit/shared-organizational-unit.action";
import {SharedOrganizationalUnitState} from "@shared/stores/organizational-unit/shared-organizational-unit.state";
import {
......@@ -30,7 +31,6 @@ import {
RouterExtensionService,
Sort,
} from "solidify-frontend";
import {StateEnum} from "@shared/enums/state.enum";
@Component({
selector: "dlcm-admin-notification-list-routable",
......
......@@ -17,11 +17,11 @@ import {
Store,
} from "@ngxs/store";
import {ApiEnum} from "@shared/enums/api.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
RoutesEnum,
urlSeparator,
} from "@shared/enums/routes.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {SharedRoleAction} from "@shared/stores/role/shared-role.action";
import {defaultStatusHistoryInitValue} from "@shared/stores/status-history/status-history.state";
import {Observable} from "rxjs";
......
import {Injectable} from "@angular/core";
import {
ApiEnum,
} from "@app/shared/enums/api.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
NotificationDlcm,
} from "@models";
import {adminNotificationStatusHistoryActionnNameSpace} from "@app/features/admin/notification/stores/status-history/admin-notification-status-history.action";
import {ApiEnum} from "@app/shared/enums/api.enum";
import {NotificationDlcm} from "@models";
import {
Actions,
State,
Store,
} from "@ngxs/store";
import {StateEnum} from "@shared/enums/state.enum";
import {
defaultStatusHistoryInitValue,
StatusHistoryState,
......@@ -21,7 +18,6 @@ import {
ApiService,
NotificationService,
} from "solidify-frontend";
import {adminNotificationStatusHistoryActionnNameSpace} from "@app/features/admin/notification/stores/status-history/admin-notification-status-history.action";
export interface AdminNotificationStatusHistoryStateModel extends StatusHistoryStateModel<NotificationDlcm> {
}
......
......@@ -17,6 +17,7 @@ import {
Select,
Store,
} from "@ngxs/store";
import {StateEnum} from "@shared/enums/state.enum";
import {sharedOaiSetActionNameSpace} from "@shared/stores/oai-set/shared-oai-set.action";
import {Observable} from "rxjs";
import {
......@@ -24,7 +25,6 @@ import {
OverrideProperty,
ResourceNameSpace,
} from "solidify-frontend";
import {StateEnum} from "@shared/enums/state.enum";
@Component({
selector: "dlcm-admin-oai-set-detail-edit-routable",
......
......@@ -17,6 +17,7 @@ import {
import {IconNameEnum} from "@shared/enums/icon-name.enum";
import {LabelTranslateEnum} from "@shared/enums/label-translate.enum";
import {RoutesEnum} from "@shared/enums/routes.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
AbstractListRoutable,
DataTableFieldTypeEnum,
......@@ -24,7 +25,6 @@ import {
OrderEnum,
RouterExtensionService,
} from "solidify-frontend";
import {StateEnum} from "@shared/enums/state.enum";
@Component({
selector: "dlcm-admin-oai-set-list-routable",
......
......@@ -13,11 +13,11 @@ import {
Store,
} from "@ngxs/store";
import {ApiEnum} from "@shared/enums/api.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {
RoutesEnum,
urlSeparator,
} from "@shared/enums/routes.enum";
import {StateEnum} from "@shared/enums/state.enum";
import {SharedOrgUnitAction} from "@shared/stores/organizational-unit/shared-organizational-unit.action";
import {Observable} from "rxjs";
import {tap} from "rxjs/operators";
......
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