mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 01:10:42 +08:00
Fix spacing/indent
This commit is contained in:
parent
2e56029e71
commit
12bb2f8ead
42 changed files with 76 additions and 96 deletions
|
@ -37,7 +37,6 @@ import {
|
|||
ScreenSizeObserverService
|
||||
} from '../../services/ui/screen-size-observer/screen-size-observer.service';
|
||||
import {LanguageStore, LanguageStrings} from '../../store/language/language.store';
|
||||
import {sign} from "mathjs";
|
||||
|
||||
export interface ActionGroupMenuViewModel {
|
||||
actions: Action[];
|
||||
|
|
|
@ -29,7 +29,6 @@ import {CUSTOM_ELEMENTS_SCHEMA} from '@angular/core';
|
|||
import {FormsModule} from '@angular/forms';
|
||||
import {RouterTestingModule} from '@angular/router/testing';
|
||||
import {provideHttpClientTesting} from '@angular/common/http/testing';
|
||||
|
||||
import {FooterUiComponent} from './footer.component';
|
||||
import {ApolloTestingModule} from 'apollo-angular/testing';
|
||||
import {provideHttpClient, withInterceptorsFromDi} from '@angular/common/http';
|
||||
|
|
|
@ -27,9 +27,7 @@
|
|||
import { ComponentFixture, TestBed, inject, waitForAsync } from '@angular/core/testing';
|
||||
import {CUSTOM_ELEMENTS_SCHEMA} from '@angular/core';
|
||||
import {RouterTestingModule} from '@angular/router/testing';
|
||||
import { HttpTestingController, provideHttpClientTesting } from '@angular/common/http/testing';
|
||||
|
||||
|
||||
import {provideHttpClientTesting} from '@angular/common/http/testing';
|
||||
import {LogoUiComponent} from './logo.component';
|
||||
import {provideHttpClient, withInterceptorsFromDi} from '@angular/common/http';
|
||||
|
||||
|
|
|
@ -31,14 +31,14 @@ import { provideHttpClientTesting } from '@angular/common/http/testing';
|
|||
|
||||
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
|
||||
|
||||
import {NavbarUiComponent} from './navbar.component';
|
||||
import {NavbarUiComponent} from '../navbar.component';
|
||||
import {ApolloTestingModule} from 'apollo-angular/testing';
|
||||
import {navigationMock} from '../../store/navigation/navigation.store.spec.mock';
|
||||
import {NavigationStore} from '../../store/navigation/navigation.store';
|
||||
import {UserPreferenceStore} from '../../store/user-preference/user-preference.store';
|
||||
import {languageStoreMock} from '../../store/language/language.store.spec.mock';
|
||||
import {LanguageStore} from '../../store/language/language.store';
|
||||
import {userPreferenceStoreMock} from '../../store/user-preference/user-preference.store.spec.mock';
|
||||
import {navigationMock} from '../../../store/navigation/navigation.store.spec.mock';
|
||||
import {NavigationStore} from '../../../store/navigation/navigation.store';
|
||||
import {UserPreferenceStore} from '../../../store/user-preference/user-preference.store';
|
||||
import {languageStoreMock} from '../../../store/language/language.store.spec.mock';
|
||||
import {LanguageStore} from '../../../store/language/language.store';
|
||||
import {userPreferenceStoreMock} from '../../../store/user-preference/user-preference.store.spec.mock';
|
||||
import {provideHttpClient, withInterceptorsFromDi} from '@angular/common/http';
|
||||
|
||||
describe('NavbarUiComponent', () => {
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
*/
|
||||
|
||||
import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
|
||||
|
||||
import {TableFooterComponent} from './table-footer.component';
|
||||
import {AngularSvgIconModule} from 'angular-svg-icon';
|
||||
import {provideHttpClientTesting} from '@angular/common/http/testing';
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
*/
|
||||
|
||||
import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
|
||||
|
||||
import {TableHeaderComponent} from './table-header.component';
|
||||
import {AngularSvgIconModule} from 'angular-svg-icon';
|
||||
import {provideHttpClientTesting} from '@angular/common/http/testing';
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
*/
|
||||
|
||||
import {Type} from '@angular/core';
|
||||
|
||||
import {BaseFieldComponent} from './base/base-field.component';
|
||||
import {FieldComponentMap} from './field.model';
|
||||
import {OverridableMap} from "../common/types/overridable-map";
|
||||
|
|
|
@ -39,7 +39,6 @@ import {LocalStorageService} from '../local-storage/local-storage.service';
|
|||
import {SystemConfigStore} from '../../store/system-config/system-config.store';
|
||||
import {BaseRouteService} from "../base-route/base-route.service";
|
||||
import {NotificationStore} from '../../store/notification/notification.store';
|
||||
import {AsyncActionInput} from "../process/processes/async-action/async-action";
|
||||
|
||||
export interface SessionStatus {
|
||||
appStatus?: AppStatus;
|
||||
|
|
|
@ -37,8 +37,6 @@ import {ModuleNameMapper} from '../module-name-mapper/module-name-mapper.service
|
|||
import {ActionNameMapper} from '../action-name-mapper/action-name-mapper.service';
|
||||
import {SystemConfigStore} from '../../../store/system-config/system-config.store';
|
||||
|
||||
const ROUTE_PREFIX = './#';
|
||||
|
||||
export interface RouteInfo {
|
||||
module?: string;
|
||||
action?: string;
|
||||
|
|
|
@ -29,7 +29,6 @@ import {map} from 'rxjs/operators';
|
|||
import {InstallActionsAdapter} from '../../adapters/actions.adapter';
|
||||
import {ActionContext} from '../../../../common/actions/action.model';
|
||||
import {Record} from '../../../../common/record/record.model';
|
||||
|
||||
import {InstallViewStore} from '../../store/install-view/install-view.store';
|
||||
|
||||
@Component({
|
||||
|
|
|
@ -30,7 +30,6 @@ import {take} from 'rxjs/operators';
|
|||
import {of} from 'rxjs';
|
||||
import {provideHttpClientTesting} from '@angular/common/http/testing';
|
||||
import {ApolloTestingModule} from 'apollo-angular/testing';
|
||||
|
||||
import {ListHeaderComponent} from './list-header.component';
|
||||
import {RouterTestingModule} from '@angular/router/testing';
|
||||
import {AngularSvgIconModule} from 'angular-svg-icon';
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
*/
|
||||
|
||||
import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
|
||||
|
||||
import {SettingsMenuComponent} from './settings-menu.component';
|
||||
import {provideHttpClientTesting} from '@angular/common/http/testing';
|
||||
import {ApolloTestingModule} from 'apollo-angular/testing';
|
||||
|
|
|
@ -29,7 +29,6 @@ import {CUSTOM_ELEMENTS_SCHEMA} from '@angular/core';
|
|||
import {FormsModule} from '@angular/forms';
|
||||
import {RouterTestingModule} from '@angular/router/testing';
|
||||
import {provideHttpClientTesting} from '@angular/common/http/testing';
|
||||
|
||||
import {NoopAnimationsModule} from '@angular/platform-browser/animations';
|
||||
import {LoginUiComponent} from './login.component';
|
||||
import {By} from '@angular/platform-browser';
|
||||
|
|
|
@ -29,7 +29,6 @@ import {CUSTOM_ELEMENTS_SCHEMA} from '@angular/core';
|
|||
import {FormsModule} from '@angular/forms';
|
||||
import {RouterTestingModule} from '@angular/router/testing';
|
||||
import {provideHttpClientTesting} from '@angular/common/http/testing';
|
||||
|
||||
import {AppComponent} from './app.component';
|
||||
import {provideHttpClient, withInterceptorsFromDi} from '@angular/common/http';
|
||||
|
||||
|
|
|
@ -38,10 +38,8 @@ import {HttpLink} from 'apollo-angular/http';
|
|||
import {ApolloLink, InMemoryCache} from '@apollo/client/core';
|
||||
import {FetchPolicy} from '@apollo/client/core/watchQueryOptions';
|
||||
import {onError} from '@apollo/client/link/error';
|
||||
|
||||
import {AppRoutingModule} from './app-routing.module';
|
||||
import {AppComponent} from './app.component';
|
||||
|
||||
import {
|
||||
AppStateStore,
|
||||
AuthService,
|
||||
|
@ -69,14 +67,12 @@ import {
|
|||
|
||||
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
||||
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
|
||||
|
||||
import {environment} from '../environments/environment';
|
||||
import {RouteReuseStrategy} from '@angular/router';
|
||||
import {AppRouteReuseStrategy} from './app-router-reuse-strategy';
|
||||
import {AppInit} from './app-initializer';
|
||||
import {GraphQLError} from 'graphql';
|
||||
import {AngularSvgIconModule} from 'angular-svg-icon';
|
||||
import {APP_BASE_HREF} from "@angular/common";
|
||||
|
||||
export const initializeApp = (appInitService: AppInit) => (): Promise<any> => appInitService.init();
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import {BrowserModule} from '@angular/platform-browser';
|
||||
import {NgModule} from '@angular/core';
|
||||
|
||||
import {AppComponent} from './app.component';
|
||||
import {ExtensionModule} from '../extension.module';
|
||||
import {provideHttpClient, withInterceptorsFromDi} from '@angular/common/http';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue