diff --git a/src/Squidex/app/app.module.ts b/src/Squidex/app/app.module.ts index af053e141..b65f53064 100644 --- a/src/Squidex/app/app.module.ts +++ b/src/Squidex/app/app.module.ts @@ -5,13 +5,13 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { ApplicationRef, NgModule } from '@angular/core'; -import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { CommonModule } from '@angular/common'; -import { RouterModule } from '@angular/router'; import { HttpClientModule } from '@angular/common/http'; +import { ApplicationRef, NgModule } from '@angular/core'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { RouterModule } from '@angular/router'; import { DndModule } from 'ng2-dnd'; import { AppComponent } from './app.component'; diff --git a/src/Squidex/app/features/administration/module.ts b/src/Squidex/app/features/administration/module.ts index 12de77ff8..c2d23b6b3 100644 --- a/src/Squidex/app/features/administration/module.ts +++ b/src/Squidex/app/features/administration/module.ts @@ -9,8 +9,8 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { - SqxSharedModule, - SqxFrameworkModule + SqxFrameworkModule, + SqxSharedModule } from '@app/shared'; import { diff --git a/src/Squidex/app/features/administration/pages/event-consumers/event-consumers-page.component.ts b/src/Squidex/app/features/administration/pages/event-consumers/event-consumers-page.component.ts index 810746d2f..0fc9c0391 100644 --- a/src/Squidex/app/features/administration/pages/event-consumers/event-consumers-page.component.ts +++ b/src/Squidex/app/features/administration/pages/event-consumers/event-consumers-page.component.ts @@ -10,8 +10,8 @@ import { Observable, Subscription } from 'rxjs'; import { ImmutableArray, ModalView } from '@app/shared'; -import { EventConsumerDto } from './../../services/event-consumers.service'; import { EventConsumersState } from '@appfeatures/administration/declarations'; +import { EventConsumerDto } from './../../services/event-consumers.service'; @Component({ selector: 'sqx-event-consumers-page', diff --git a/src/Squidex/app/features/administration/pages/users/users-page.component.ts b/src/Squidex/app/features/administration/pages/users/users-page.component.ts index 68c7232ea..5991cbb10 100644 --- a/src/Squidex/app/features/administration/pages/users/users-page.component.ts +++ b/src/Squidex/app/features/administration/pages/users/users-page.component.ts @@ -53,8 +53,8 @@ export class UsersPageComponent implements OnInit { this.usersState.unlock(user).onErrorResumeNext().subscribe(); } - public trackByUser(index: number, user: { user: UserDto }) { - return user.user.id; + public trackByUser(index: number, userInfo: { user: UserDto }) { + return userInfo.user.id; } } diff --git a/src/Squidex/app/features/administration/state/users.state.ts b/src/Squidex/app/features/administration/state/users.state.ts index 3a5493e0e..4ed8ffd5f 100644 --- a/src/Squidex/app/features/administration/state/users.state.ts +++ b/src/Squidex/app/features/administration/state/users.state.ts @@ -6,7 +6,7 @@ */ import { Injectable } from '@angular/core'; -import { FormBuilder, Validators, FormGroup } from '@angular/forms'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Observable } from 'rxjs'; import '@app/framework/utils/rxjs-extensions'; @@ -14,18 +14,18 @@ import '@app/framework/utils/rxjs-extensions'; import { AuthService, DialogService, + Form, ImmutableArray, Pager, - Form, State, ValidatorsEx } from '@app/shared'; import { CreateUserDto, + UpdateUserDto, UserDto, - UsersService, - UpdateUserDto + UsersService } from './../services/users.service'; export class UserForm extends Form { diff --git a/src/Squidex/app/features/content/module.ts b/src/Squidex/app/features/content/module.ts index 698d167eb..c7694c2f2 100644 --- a/src/Squidex/app/features/content/module.ts +++ b/src/Squidex/app/features/content/module.ts @@ -22,8 +22,8 @@ import { AssetsEditorComponent, ContentFieldComponent, ContentHistoryComponent, - ContentPageComponent, ContentItemComponent, + ContentPageComponent, ContentsPageComponent, ContentsSelectorComponent, ReferencesEditorComponent, diff --git a/src/Squidex/app/features/content/pages/content/content-page.component.ts b/src/Squidex/app/features/content/pages/content/content-page.component.ts index 5fb9faa5d..11fc82119 100644 --- a/src/Squidex/app/features/content/pages/content/content-page.component.ts +++ b/src/Squidex/app/features/content/pages/content/content-page.component.ts @@ -13,9 +13,9 @@ import { Observable, Subscription } from 'rxjs'; import { ContentVersionSelected } from './../messages'; import { + allData, AppContext, AppLanguageDto, - allData, CanComponentDeactivate, ContentDto, ContentsService, diff --git a/src/Squidex/app/features/content/pages/contents/contents-page.component.ts b/src/Squidex/app/features/content/pages/contents/contents-page.component.ts index 844131e39..2dca65482 100644 --- a/src/Squidex/app/features/content/pages/contents/contents-page.component.ts +++ b/src/Squidex/app/features/content/pages/contents/contents-page.component.ts @@ -18,8 +18,8 @@ import { ImmutableArray, ModalView, Pager, - SchemasState, SchemaDetailsDto, + SchemasState, Versioned } from '@app/shared'; diff --git a/src/Squidex/app/features/content/shared/assets-editor.component.ts b/src/Squidex/app/features/content/shared/assets-editor.component.ts index b4213a353..3fcf685f0 100644 --- a/src/Squidex/app/features/content/shared/assets-editor.component.ts +++ b/src/Squidex/app/features/content/shared/assets-editor.component.ts @@ -14,8 +14,8 @@ import { AppsState, AssetDto, AssetsService, - ModalView, ImmutableArray, + ModalView, Types } from '@app/shared'; diff --git a/src/Squidex/app/features/content/shared/contents-selector.component.ts b/src/Squidex/app/features/content/shared/contents-selector.component.ts index bc5b1dc1f..e10511fbd 100644 --- a/src/Squidex/app/features/content/shared/contents-selector.component.ts +++ b/src/Squidex/app/features/content/shared/contents-selector.component.ts @@ -13,10 +13,10 @@ import { ContentsService, DialogService, ImmutableArray, + LanguageDto, ModalView, Pager, - SchemaDetailsDto, - LanguageDto + SchemaDetailsDto } from '@app/shared'; @Component({ diff --git a/src/Squidex/app/features/rules/pages/rules/rule-wizard.component.ts b/src/Squidex/app/features/rules/pages/rules/rule-wizard.component.ts index 4fbb143c0..ff7ae5127 100644 --- a/src/Squidex/app/features/rules/pages/rules/rule-wizard.component.ts +++ b/src/Squidex/app/features/rules/pages/rules/rule-wizard.component.ts @@ -13,9 +13,9 @@ import { Form, ImmutableArray, ruleActions, - ruleTriggers, RuleDto, RulesState, + ruleTriggers, SchemaDto } from '@app/shared'; diff --git a/src/Squidex/app/features/schemas/module.ts b/src/Squidex/app/features/schemas/module.ts index 9174b3136..53583eab9 100644 --- a/src/Squidex/app/features/schemas/module.ts +++ b/src/Squidex/app/features/schemas/module.ts @@ -16,13 +16,13 @@ import { } from '@app/shared'; import { - FieldComponent, AssetsUIComponent, AssetsValidationComponent, BooleanUIComponent, BooleanValidationComponent, DateTimeUIComponent, DateTimeValidationComponent, + FieldComponent, FieldFormCommonComponent, FieldFormUIComponent, FieldFormValidationComponent, @@ -38,8 +38,8 @@ import { SchemaEditFormComponent, SchemaFormComponent, SchemaPageComponent, - SchemasPageComponent, SchemaScriptsFormComponent, + SchemasPageComponent, StringUIComponent, StringValidationComponent, TagsUIComponent, diff --git a/src/Squidex/app/features/schemas/pages/schema/schema-page.component.ts b/src/Squidex/app/features/schemas/pages/schema/schema-page.component.ts index 66b86af93..e041d69d7 100644 --- a/src/Squidex/app/features/schemas/pages/schema/schema-page.component.ts +++ b/src/Squidex/app/features/schemas/pages/schema/schema-page.component.ts @@ -10,7 +10,6 @@ import { ActivatedRoute, Router } from '@angular/router'; import { Subscription } from 'rxjs'; import { - AppPatternDto, AppsState, fadeAnimation, FieldDto, diff --git a/src/Squidex/app/features/schemas/pages/schema/types/geolocation-ui.component.ts b/src/Squidex/app/features/schemas/pages/schema/types/geolocation-ui.component.ts index 8ef0850e5..9bbdb3cdb 100644 --- a/src/Squidex/app/features/schemas/pages/schema/types/geolocation-ui.component.ts +++ b/src/Squidex/app/features/schemas/pages/schema/types/geolocation-ui.component.ts @@ -6,7 +6,7 @@ */ import { Component, Input, OnInit } from '@angular/core'; -import { FormGroup, FormControl, Validators } from '@angular/forms'; +import { FormControl, FormGroup, Validators } from '@angular/forms'; import { GeolocationFieldPropertiesDto } from '@app/shared'; diff --git a/src/Squidex/app/features/schemas/pages/schemas/schema-form.component.ts b/src/Squidex/app/features/schemas/pages/schemas/schema-form.component.ts index acc6a5297..2bfa367dc 100644 --- a/src/Squidex/app/features/schemas/pages/schemas/schema-form.component.ts +++ b/src/Squidex/app/features/schemas/pages/schemas/schema-form.component.ts @@ -12,8 +12,8 @@ import { ApiUrlConfig, AppsState, CreateSchemaForm, - SchemasState, - SchemaDto + SchemaDto, + SchemasState } from '@app/shared'; @Component({ diff --git a/src/Squidex/app/features/settings/pages/backups/backups-page.component.ts b/src/Squidex/app/features/settings/pages/backups/backups-page.component.ts index ba040e01e..0268e050f 100644 --- a/src/Squidex/app/features/settings/pages/backups/backups-page.component.ts +++ b/src/Squidex/app/features/settings/pages/backups/backups-page.component.ts @@ -5,7 +5,7 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { Component, OnInit, OnDestroy } from '@angular/core'; +import { Component, OnDestroy, OnInit } from '@angular/core'; import { Observable, Subscription } from 'rxjs'; import { diff --git a/src/Squidex/app/features/settings/pages/contributors/contributors-page.component.ts b/src/Squidex/app/features/settings/pages/contributors/contributors-page.component.ts index 1cedcc468..8cf39a75b 100644 --- a/src/Squidex/app/features/settings/pages/contributors/contributors-page.component.ts +++ b/src/Squidex/app/features/settings/pages/contributors/contributors-page.component.ts @@ -100,7 +100,7 @@ export class ContributorsPageComponent implements OnInit { } } - public trackByContributor(index: number, contributor: { contributor: AppContributorDto }) { - return contributor.contributor.contributorId; + public trackByContributor(index: number, contributorInfo: { contributor: AppContributorDto }) { + return contributorInfo.contributor.contributorId; } } diff --git a/src/Squidex/app/features/settings/pages/languages/language.component.ts b/src/Squidex/app/features/settings/pages/languages/language.component.ts index 28e8ff01f..ef3ce7454 100644 --- a/src/Squidex/app/features/settings/pages/languages/language.component.ts +++ b/src/Squidex/app/features/settings/pages/languages/language.component.ts @@ -5,7 +5,7 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { Component, EventEmitter, Input, OnChanges, OnDestroy, Output, OnInit } from '@angular/core'; +import { Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output } from '@angular/core'; import { FormBuilder } from '@angular/forms'; import { Subscription } from 'rxjs'; diff --git a/src/Squidex/app/features/settings/pages/patterns/pattern.component.ts b/src/Squidex/app/features/settings/pages/patterns/pattern.component.ts index c860b9781..713ff495d 100644 --- a/src/Squidex/app/features/settings/pages/patterns/pattern.component.ts +++ b/src/Squidex/app/features/settings/pages/patterns/pattern.component.ts @@ -10,8 +10,8 @@ import { FormBuilder } from '@angular/forms'; import { AppPatternDto, - PatternsState, - EditPatternForm + EditPatternForm, + PatternsState } from '@app/shared'; @Component({ diff --git a/src/Squidex/app/features/settings/pages/plans/plans-page.component.ts b/src/Squidex/app/features/settings/pages/plans/plans-page.component.ts index 062180288..6222cb148 100644 --- a/src/Squidex/app/features/settings/pages/plans/plans-page.component.ts +++ b/src/Squidex/app/features/settings/pages/plans/plans-page.component.ts @@ -11,8 +11,8 @@ import { ActivatedRoute } from '@angular/router'; import { ApiUrlConfig, AppsState, - PlansState, - PlanDto + PlanDto, + PlansState } from '@app/shared'; @Component({ @@ -49,8 +49,8 @@ export class PlansPageComponent implements OnInit { this.plansState.change(planId).onErrorResumeNext().subscribe(); } - public trackByPlan(index: number, plan: PlanDto) { - return plan.id; + public trackByPlan(index: number, planInfo: { plan: PlanDto }) { + return planInfo.plan.id; } } diff --git a/src/Squidex/app/framework/angular/forms/date-time-editor.component.ts b/src/Squidex/app/framework/angular/forms/date-time-editor.component.ts index fd2424964..0d8c02c3f 100644 --- a/src/Squidex/app/framework/angular/forms/date-time-editor.component.ts +++ b/src/Squidex/app/framework/angular/forms/date-time-editor.component.ts @@ -5,10 +5,10 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { AfterViewInit, Component, forwardRef, ElementRef, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'; +import { AfterViewInit, Component, ElementRef, forwardRef, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'; import { ControlValueAccessor, FormControl, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { Subscription } from 'rxjs'; import * as moment from 'moment'; +import { Subscription } from 'rxjs'; import { Types } from '@app/framework/internal'; diff --git a/src/Squidex/app/framework/angular/forms/indeterminate-value.directive.ts b/src/Squidex/app/framework/angular/forms/indeterminate-value.directive.ts index ffed96be0..bbe7d7d7e 100644 --- a/src/Squidex/app/framework/angular/forms/indeterminate-value.directive.ts +++ b/src/Squidex/app/framework/angular/forms/indeterminate-value.directive.ts @@ -5,7 +5,7 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { Directive, forwardRef, ElementRef, HostListener, Renderer } from '@angular/core'; +import { Directive, ElementRef, forwardRef, HostListener, Renderer } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { Types } from '@app/framework/internal'; diff --git a/src/Squidex/app/framework/angular/forms/jscript-editor.component.ts b/src/Squidex/app/framework/angular/forms/jscript-editor.component.ts index a87171c9a..98334d94d 100644 --- a/src/Squidex/app/framework/angular/forms/jscript-editor.component.ts +++ b/src/Squidex/app/framework/angular/forms/jscript-editor.component.ts @@ -5,7 +5,7 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { AfterViewInit, Component, forwardRef, ElementRef, ViewChild } from '@angular/core'; +import { AfterViewInit, Component, ElementRef, forwardRef, ViewChild } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { Subject } from 'rxjs'; diff --git a/src/Squidex/app/framework/angular/forms/json-editor.component.ts b/src/Squidex/app/framework/angular/forms/json-editor.component.ts index 5ae69dbb9..c6a45f350 100644 --- a/src/Squidex/app/framework/angular/forms/json-editor.component.ts +++ b/src/Squidex/app/framework/angular/forms/json-editor.component.ts @@ -5,7 +5,7 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { AfterViewInit, Component, forwardRef, ElementRef, ViewChild } from '@angular/core'; +import { AfterViewInit, Component, ElementRef, forwardRef, ViewChild } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { Subject } from 'rxjs'; diff --git a/src/Squidex/app/framework/angular/forms/lowercase-input.directive.ts b/src/Squidex/app/framework/angular/forms/lowercase-input.directive.ts index a83cf8bdd..982ddc703 100644 --- a/src/Squidex/app/framework/angular/forms/lowercase-input.directive.ts +++ b/src/Squidex/app/framework/angular/forms/lowercase-input.directive.ts @@ -5,7 +5,7 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { Directive, forwardRef, ElementRef, HostListener, Renderer } from '@angular/core'; +import { Directive, ElementRef, forwardRef, HostListener, Renderer } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { Types } from '@app/framework/internal'; diff --git a/src/Squidex/app/framework/angular/forms/slugify-input.directive.ts b/src/Squidex/app/framework/angular/forms/slugify-input.directive.ts index 44a4d5395..0a77d763d 100644 --- a/src/Squidex/app/framework/angular/forms/slugify-input.directive.ts +++ b/src/Squidex/app/framework/angular/forms/slugify-input.directive.ts @@ -5,7 +5,7 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { Directive, forwardRef, ElementRef, HostListener, Renderer } from '@angular/core'; +import { Directive, ElementRef, forwardRef, HostListener, Renderer } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import slugify from 'slugify'; diff --git a/src/Squidex/app/framework/angular/sorted.directive.ts b/src/Squidex/app/framework/angular/sorted.directive.ts index 25f29cc5a..9a2f573af 100644 --- a/src/Squidex/app/framework/angular/sorted.directive.ts +++ b/src/Squidex/app/framework/angular/sorted.directive.ts @@ -9,9 +9,9 @@ import { Directive, EventEmitter, Output } from '@angular/core'; import { + DragDropSortableService, SortableComponent, - SortableContainer, - DragDropSortableService + SortableContainer } from 'ng2-dnd'; @Directive({ diff --git a/src/Squidex/app/framework/angular/user-report.component.ts b/src/Squidex/app/framework/angular/user-report.component.ts index 621ef46a5..497a4b56f 100644 --- a/src/Squidex/app/framework/angular/user-report.component.ts +++ b/src/Squidex/app/framework/angular/user-report.component.ts @@ -7,8 +7,8 @@ import { ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core'; -import { ResourceLoaderService } from './../services/resource-loader.service'; import { UserReportConfig } from './../configurations'; +import { ResourceLoaderService } from './../services/resource-loader.service'; @Component({ selector: 'sqx-user-report', diff --git a/src/Squidex/app/framework/module.ts b/src/Squidex/app/framework/module.ts index 8c1c138b8..db3753c92 100644 --- a/src/Squidex/app/framework/module.ts +++ b/src/Squidex/app/framework/module.ts @@ -21,8 +21,8 @@ import { DateTimeEditorComponent, DayOfWeekPipe, DayPipe, - DialogService, DialogRendererComponent, + DialogService, DisplayNamePipe, DropdownComponent, DurationPipe, @@ -51,8 +51,8 @@ import { OnboardingService, OnboardingTooltipComponent, PagerComponent, - PanelContainerDirective, PanelComponent, + PanelContainerDirective, ParentLinkDirective, PopupLinkDirective, ProgressBarComponent, @@ -69,8 +69,8 @@ import { StarsComponent, TagEditorComponent, TemplateWrapperDirective, - TitleService, TitleComponent, + TitleService, ToggleComponent, TooltipComponent, UserReportComponent diff --git a/src/Squidex/app/shared/components/app-context.ts b/src/Squidex/app/shared/components/app-context.ts index 1fc3b9b36..b83730fae 100644 --- a/src/Squidex/app/shared/components/app-context.ts +++ b/src/Squidex/app/shared/components/app-context.ts @@ -6,8 +6,8 @@ */ import { Injectable } from '@angular/core'; -import { Observable } from 'rxjs'; import { ActivatedRoute } from '@angular/router'; +import { Observable } from 'rxjs'; import { MessageBus } from '@app/framework'; diff --git a/src/Squidex/app/shared/components/assets-list.component.ts b/src/Squidex/app/shared/components/assets-list.component.ts index 9cebeea06..9cd164448 100644 --- a/src/Squidex/app/shared/components/assets-list.component.ts +++ b/src/Squidex/app/shared/components/assets-list.component.ts @@ -10,8 +10,8 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { - AssetsState, AssetDto, + AssetsState, ImmutableArray } from '@app/shared/internal'; diff --git a/src/Squidex/app/shared/components/rich-editor.component.ts b/src/Squidex/app/shared/components/rich-editor.component.ts index 354a3b33a..476d5d611 100644 --- a/src/Squidex/app/shared/components/rich-editor.component.ts +++ b/src/Squidex/app/shared/components/rich-editor.component.ts @@ -5,8 +5,8 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { AfterViewInit, Component, forwardRef, ElementRef, EventEmitter, OnDestroy, Output, ViewChild } from '@angular/core'; -import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; +import { AfterViewInit, Component, ElementRef, EventEmitter, forwardRef, OnDestroy, Output, ViewChild } from '@angular/core'; +import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { AssetDto, diff --git a/src/Squidex/app/shared/interceptors/auth.interceptor.ts b/src/Squidex/app/shared/interceptors/auth.interceptor.ts index edd3236c8..b5e40ec40 100644 --- a/src/Squidex/app/shared/interceptors/auth.interceptor.ts +++ b/src/Squidex/app/shared/interceptors/auth.interceptor.ts @@ -5,13 +5,14 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest, HttpErrorResponse } from '@angular/common/http'; +import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { Injectable} from '@angular/core'; import { Observable } from 'rxjs'; -import { AuthService, Profile } from './../services/auth.service'; import { ApiUrlConfig } from '@app/framework'; +import { AuthService, Profile } from './../services/auth.service'; + @Injectable() export class AuthInterceptor implements HttpInterceptor { private baseUrl: string; diff --git a/src/Squidex/app/shared/module.ts b/src/Squidex/app/shared/module.ts index ef72f77ef..c53048149 100644 --- a/src/Squidex/app/shared/module.ts +++ b/src/Squidex/app/shared/module.ts @@ -13,21 +13,21 @@ import { DndModule } from 'ng2-dnd'; import { SqxFrameworkModule } from '@app/framework'; import { - AppFormComponent, AppClientsService, AppContributorsService, + AppFormComponent, AppLanguagesService, AppMustExistGuard, AppPatternsService, - AppsState, AppsService, + AppsState, AssetComponent, AssetPreviewUrlPipe, AssetsDialogState, AssetsListComponent, AssetsSelectorComponent, - AssetsState, AssetsService, + AssetsState, AssetUrlPipe, AuthInterceptor, AuthService, @@ -65,9 +65,9 @@ import { UnsetAppGuard, UsagesService, UserDtoPicture, + UserIdPicturePipe, UserNamePipe, UserNameRefPipe, - UserIdPicturePipe, UserPicturePipe, UserPictureRefPipe, UsersProviderService, diff --git a/src/Squidex/app/shared/services/history.service.ts b/src/Squidex/app/shared/services/history.service.ts index 8ed3ebf9f..d13a36d7a 100644 --- a/src/Squidex/app/shared/services/history.service.ts +++ b/src/Squidex/app/shared/services/history.service.ts @@ -15,8 +15,8 @@ import { UsersProviderService } from './users-provider.service'; import { ApiUrlConfig, - HTTP, - DateTime + DateTime, + HTTP } from '@app/framework'; export class HistoryEventDto { diff --git a/src/Squidex/app/shared/state/assets.state.ts b/src/Squidex/app/shared/state/assets.state.ts index 18e86d279..333569bf9 100644 --- a/src/Squidex/app/shared/state/assets.state.ts +++ b/src/Squidex/app/shared/state/assets.state.ts @@ -6,21 +6,21 @@ */ import { Injectable } from '@angular/core'; -import { FormBuilder, Validators, FormGroup } from '@angular/forms'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Observable } from 'rxjs'; import '@app/framework/utils/rxjs-extensions'; import { DialogService, + Form, ImmutableArray, Pager, - Form, State } from '@app/framework'; -import { AppsState } from './apps.state'; import { AssetDto, AssetsService} from './../services/assets.service'; +import { AppsState } from './apps.state'; export class RenameAssetForm extends Form { constructor(formBuilder: FormBuilder) { diff --git a/src/Squidex/app/shared/state/clients.state.ts b/src/Squidex/app/shared/state/clients.state.ts index 44dcb54b5..e68007522 100644 --- a/src/Squidex/app/shared/state/clients.state.ts +++ b/src/Squidex/app/shared/state/clients.state.ts @@ -6,15 +6,15 @@ */ import { Injectable } from '@angular/core'; -import { FormBuilder, Validators, FormGroup } from '@angular/forms'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Observable } from 'rxjs'; import '@app/framework/utils/rxjs-extensions'; import { DialogService, - ImmutableArray, Form, + ImmutableArray, State, ValidatorsEx, Version diff --git a/src/Squidex/app/shared/state/contributors.state.ts b/src/Squidex/app/shared/state/contributors.state.ts index 1fa276fff..d6e90d72e 100644 --- a/src/Squidex/app/shared/state/contributors.state.ts +++ b/src/Squidex/app/shared/state/contributors.state.ts @@ -6,22 +6,22 @@ */ import { Injectable } from '@angular/core'; -import { FormBuilder, Validators, FormGroup } from '@angular/forms'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Observable } from 'rxjs'; import '@app/framework/utils/rxjs-extensions'; import { DialogService, - ImmutableArray, Form, + ImmutableArray, State, Version } from '@app/framework'; +import { AppContributorDto, AppContributorsService } from './../services/app-contributors.service'; import { AuthService } from './../services/auth.service'; import { AppsState } from './apps.state'; -import { AppContributorDto, AppContributorsService } from './../services/app-contributors.service'; export class AssignContributorForm extends Form { public hasNoUser = diff --git a/src/Squidex/app/shared/state/patterns.state.ts b/src/Squidex/app/shared/state/patterns.state.ts index e3a66f91d..32dc5fbd2 100644 --- a/src/Squidex/app/shared/state/patterns.state.ts +++ b/src/Squidex/app/shared/state/patterns.state.ts @@ -6,15 +6,15 @@ */ import { Injectable } from '@angular/core'; -import { FormBuilder, Validators, FormGroup } from '@angular/forms'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Observable } from 'rxjs'; import '@app/framework/utils/rxjs-extensions'; import { DialogService, - ImmutableArray, Form, + ImmutableArray, State, ValidatorsEx, Version diff --git a/src/Squidex/app/shared/state/plans.state.ts b/src/Squidex/app/shared/state/plans.state.ts index fa50d33d5..0e8fbe897 100644 --- a/src/Squidex/app/shared/state/plans.state.ts +++ b/src/Squidex/app/shared/state/plans.state.ts @@ -17,8 +17,8 @@ import { Version } from '@app/framework'; -import { AppsState } from './apps.state'; import { AuthService } from './../services/auth.service'; +import { AppsState } from './apps.state'; import { ChangePlanDto, diff --git a/src/Squidex/app/shared/state/rules.state.ts b/src/Squidex/app/shared/state/rules.state.ts index cb72e78e9..4c1ef5de2 100644 --- a/src/Squidex/app/shared/state/rules.state.ts +++ b/src/Squidex/app/shared/state/rules.state.ts @@ -18,8 +18,8 @@ import { Version } from '@app/framework'; -import { AppsState } from './apps.state'; import { AuthService} from './../services/auth.service'; +import { AppsState } from './apps.state'; import { CreateRuleDto, diff --git a/src/Squidex/app/shared/state/schemas.state.ts b/src/Squidex/app/shared/state/schemas.state.ts index 09f0cbd45..197eb8d03 100644 --- a/src/Squidex/app/shared/state/schemas.state.ts +++ b/src/Squidex/app/shared/state/schemas.state.ts @@ -21,22 +21,22 @@ import { Version } from '@app/framework'; -import { AppsState } from './apps.state'; import { AuthService } from './../services/auth.service'; +import { AppsState } from './apps.state'; import { AddFieldDto, createProperties, CreateSchemaDto, FieldDto, - SchemaDto, + FieldPropertiesDto, SchemaDetailsDto, + SchemaDto, + SchemaPropertiesDto, SchemasService, UpdateFieldDto, - UpdateSchemaScriptsDto, UpdateSchemaDto, - SchemaPropertiesDto, - FieldPropertiesDto + UpdateSchemaScriptsDto } from './../services/schemas.service'; const FALLBACK_NAME = 'my-schema'; diff --git a/src/Squidex/app/shell/pages/not-found/not-found-page.component.ts b/src/Squidex/app/shell/pages/not-found/not-found-page.component.ts index 705375f70..4df1b1a22 100644 --- a/src/Squidex/app/shell/pages/not-found/not-found-page.component.ts +++ b/src/Squidex/app/shell/pages/not-found/not-found-page.component.ts @@ -5,8 +5,8 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { Component } from '@angular/core'; import { Location } from '@angular/common'; +import { Component } from '@angular/core'; @Component({ selector: 'sqx-not-found-page', diff --git a/src/Squidex/tslint.json b/src/Squidex/tslint.json index 2c629c93a..1dff2ae30 100644 --- a/src/Squidex/tslint.json +++ b/src/Squidex/tslint.json @@ -84,7 +84,7 @@ "allow-declarations" ], "ordered-imports": [ - false + true ], "pipe-naming": [ true,