Skip to content

Commit

Permalink
chore(*): format all files to sort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pelord committed Oct 2, 2023
1 parent 8892488 commit dfed3f2
Show file tree
Hide file tree
Showing 34 changed files with 255 additions and 239 deletions.
15 changes: 9 additions & 6 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
import { Component, Inject, OnInit } from '@angular/core';
import { DOCUMENT } from '@angular/common';
import { Title, Meta } from '@angular/platform-browser';
import { DomUtils, userAgent } from '@igo2/utils';
import { LanguageService, ConfigService, MessageService } from '@igo2/core';
import { Component, Inject, OnInit } from '@angular/core';
import { Meta, Title } from '@angular/platform-browser';
import { NavigationEnd, Router } from '@angular/router';

import { AuthOptions } from '@igo2/auth';
import { ConfigService, LanguageService, MessageService } from '@igo2/core';
import { AnalyticsListenerService } from '@igo2/integration';
import { PwaService } from './services/pwa.service';
import { NavigationEnd, Router } from '@angular/router';
import { DomUtils, userAgent } from '@igo2/utils';

import { delay, first } from 'rxjs';

import { PwaService } from './services/pwa.service';

@Component({
selector: 'app-root',
templateUrl: './app.component.html',
Expand Down
57 changes: 29 additions & 28 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,51 +1,52 @@
import { BrowserModule } from '@angular/platform-browser';
import { DOCUMENT } from '@angular/common';
import {
APP_INITIALIZER,
ApplicationRef,
Injector,
NgModule
} from '@angular/core';
import { RouterModule } from '@angular/router';
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
import {
MAT_TOOLTIP_DEFAULT_OPTIONS,
MatTooltipDefaultOptions
} from '@angular/material/tooltip';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterModule } from '@angular/router';
import { ServiceWorkerModule } from '@angular/service-worker';

import { IgoAuthModule } from '@igo2/auth';
import { IgoSpinnerModule, IgoStopPropagationModule } from '@igo2/common';
import {
provideConfigOptions,
IgoMessageModule,
ConfigService,
IgoGestureModule,
RouteService,
IgoMessageModule,
LanguageService,
ConfigService
RouteService,
provideConfigOptions
} from '@igo2/core';
import { IgoSpinnerModule, IgoStopPropagationModule } from '@igo2/common';
import { IgoAuthModule } from '@igo2/auth';
import {
provideWorkspaceSearchSource,
provideIChercheSearchSource,
provideIChercheReverseSearchSource,
provideNominatimSearchSource,
provideCadastreSearchSource,
provideCoordinatesReverseSearchSource,
provideIChercheReverseSearchSource,
provideIChercheSearchSource,
provideILayerSearchSource,
provideStoredQueriesSearchSource,
provideOsrmDirectionsSource,
provideNominatimSearchSource,
provideOptionsApi,
provideCadastreSearchSource,
provideStyleListOptions
provideOsrmDirectionsSource,
provideStoredQueriesSearchSource,
provideStyleListOptions,
provideWorkspaceSearchSource
} from '@igo2/geo';
import { loadTheme } from '@igo2/utils';

import { concatMap, first } from 'rxjs';

import { environment } from '../environments/environment';
import { PortalModule } from './pages';
import { AppComponent } from './app.component';
import { HeaderModule } from './pages/header/header.module';
import { PortalModule } from './pages';
import { FooterModule } from './pages/footer/footer.module';
import { ServiceWorkerModule } from '@angular/service-worker';

import {
MAT_TOOLTIP_DEFAULT_OPTIONS,
MatTooltipDefaultOptions
} from '@angular/material/tooltip';
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
import { concatMap, first } from 'rxjs';
import { loadTheme } from '@igo2/utils';
import { DOCUMENT } from '@angular/common';
import { HeaderModule } from './pages/header/header.module';

const DEFAULT_THEME: string = 'blue-theme';

Expand Down
1 change: 1 addition & 0 deletions src/app/pages/footer/footer.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Component } from '@angular/core';

import { LanguageService } from '@igo2/core';

@Component({
Expand Down
6 changes: 4 additions & 2 deletions src/app/pages/footer/footer.module.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FooterComponent } from './footer.component';
import { NgModule } from '@angular/core';

import { IgoLanguageModule } from '@igo2/core';

import { FooterComponent } from './footer.component';

@NgModule({
declarations: [FooterComponent],
imports: [CommonModule, IgoLanguageModule],
Expand Down
1 change: 1 addition & 0 deletions src/app/pages/header/header.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Component } from '@angular/core';

import { ConfigService, LanguageService } from '@igo2/core';

@Component({
Expand Down
8 changes: 5 additions & 3 deletions src/app/pages/header/header.module.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HeaderComponent } from './header.component';
import { IgoLanguageModule } from '@igo2/core';
import { NgModule } from '@angular/core';
import { MatToolbarModule } from '@angular/material/toolbar';

import { IgoLanguageModule } from '@igo2/core';

import { HeaderComponent } from './header.component';

@NgModule({
declarations: [HeaderComponent],
imports: [CommonModule, IgoLanguageModule, MatToolbarModule],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {
ChangeDetectionStrategy,
Component,
Input,
Output,
EventEmitter,
HostBinding,
ChangeDetectionStrategy
Input,
Output
} from '@angular/core';

@Component({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {
trigger,
AnimationTriggerMetadata,
animate,
state,
style,
transition,
animate,
AnimationTriggerMetadata
trigger
} from '@angular/animations';

export function showContent(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {
ChangeDetectionStrategy,
Component,
Input,
Output,
EventEmitter,
HostBinding,
ChangeDetectionStrategy
Input,
Output
} from '@angular/core';

import { showContent } from './expansion-panel.animations';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { NgModule } from '@angular/core';
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { MatListModule } from '@angular/material/list';
import { MatMenuModule } from '@angular/material/menu';
import { MatSelectModule } from '@angular/material/select';
import { MatTooltipModule } from '@angular/material/tooltip';

import { IgoLanguageModule } from '@igo2/core';
import { IgoBackdropModule } from '@igo2/common';
import { IgoLanguageModule } from '@igo2/core';

import { ExpansionPanelComponent } from './expansion-panel.component';
import { ExpansionPanelHeaderComponent } from './expansion-panel-header.component';
import { MatTooltipModule } from '@angular/material/tooltip';
import { ExpansionPanelComponent } from './expansion-panel.component';

@NgModule({
imports: [
Expand Down
9 changes: 6 additions & 3 deletions src/app/pages/portal/map-overlay/map-overlay.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { Component, AfterViewInit, OnDestroy } from '@angular/core';
import { Subscription } from 'rxjs';
import { AfterViewInit, Component, OnDestroy } from '@angular/core';

import { Context, ContextService } from '@igo2/context';
import { MediaService, ConfigService } from '@igo2/core';
import { ConfigService, MediaService } from '@igo2/core';

import { Subscription } from 'rxjs';

import { MapOverlay } from './map-overlay.interface';

@Component({
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/portal/map-overlay/map-overlay.module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';

import { MapOverlayComponent } from './map-overlay.component';

Expand Down
10 changes: 5 additions & 5 deletions src/app/pages/portal/portal.animation.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import './portal.variables.scss';

import {
trigger,
AnimationTriggerMetadata,
animate,
state,
style,
transition,
animate,
AnimationTriggerMetadata
trigger
} from '@angular/animations';

import './portal.variables.scss';

export function expansionPanelAnimation(): AnimationTriggerMetadata[] {
return [
trigger('expansionPanelSize', [
Expand Down
Loading

0 comments on commit dfed3f2

Please sign in to comment.