|
|
@ -1,12 +1,12 @@
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import {BrowserModule} from '@angular/platform-browser';
|
|
|
|
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import {AppRoutingModule} from './app-routing.module';
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import {AppComponent} from './app.component';
|
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
|
|
|
import { RepositoriesComponent } from './pages/repositories/repositories.component';
|
|
|
|
import {RepositoriesComponent} from './pages/repositories/repositories.component';
|
|
|
|
import { HomeComponent } from './pages/home/home.component';
|
|
|
|
import {HomeComponent} from './pages/home/home.component';
|
|
|
|
import { RepositoryCardComponent } from './pages/repositories/repository-card/repository-card.component';
|
|
|
|
import {RepositoryCardComponent} from './pages/repositories/repository-card/repository-card.component';
|
|
|
|
import {MatCardModule} from "@angular/material/card";
|
|
|
|
import {MatCardModule} from "@angular/material/card";
|
|
|
|
import {MatListModule} from "@angular/material/list";
|
|
|
|
import {MatListModule} from "@angular/material/list";
|
|
|
|
import {MatButtonModule} from "@angular/material/button";
|
|
|
|
import {MatButtonModule} from "@angular/material/button";
|
|
|
@ -15,11 +15,11 @@ import {MatSnackBarModule} from "@angular/material/snack-bar";
|
|
|
|
import {MatFormFieldModule} from "@angular/material/form-field";
|
|
|
|
import {MatFormFieldModule} from "@angular/material/form-field";
|
|
|
|
import {MatInputModule} from "@angular/material/input";
|
|
|
|
import {MatInputModule} from "@angular/material/input";
|
|
|
|
import {ReactiveFormsModule} from "@angular/forms";
|
|
|
|
import {ReactiveFormsModule} from "@angular/forms";
|
|
|
|
import { RepoFormComponent } from './pages/repositories/repo-form/repo-form.component';
|
|
|
|
import {RepoFormComponent} from './pages/repositories/repo-form/repo-form.component';
|
|
|
|
import { FileGridComponent } from './components/file-grid/file-grid.component';
|
|
|
|
import {FileGridComponent} from './components/file-grid/file-grid.component';
|
|
|
|
import {MatSidenavModule} from "@angular/material/sidenav";
|
|
|
|
import {MatSidenavModule} from "@angular/material/sidenav";
|
|
|
|
import {MatGridListModule} from "@angular/material/grid-list";
|
|
|
|
import {MatGridListModule} from "@angular/material/grid-list";
|
|
|
|
import { FileGridEntryComponent } from './components/file-grid/file-grid-entry/file-grid-entry.component';
|
|
|
|
import {FileGridEntryComponent} from './components/file-grid/file-grid-entry/file-grid-entry.component';
|
|
|
|
import {MatProgressBarModule} from "@angular/material/progress-bar";
|
|
|
|
import {MatProgressBarModule} from "@angular/material/progress-bar";
|
|
|
|
import {MatPaginatorModule} from "@angular/material/paginator";
|
|
|
|
import {MatPaginatorModule} from "@angular/material/paginator";
|
|
|
|
import {ScrollingModule} from "@angular/cdk/scrolling";
|
|
|
|
import {ScrollingModule} from "@angular/cdk/scrolling";
|
|
|
@ -27,11 +27,14 @@ import {LightboxModule} from "ngx-lightbox";
|
|
|
|
import {MatChipsModule} from "@angular/material/chips";
|
|
|
|
import {MatChipsModule} from "@angular/material/chips";
|
|
|
|
import {MatIconModule} from "@angular/material/icon";
|
|
|
|
import {MatIconModule} from "@angular/material/icon";
|
|
|
|
import {MatAutocompleteModule} from "@angular/material/autocomplete";
|
|
|
|
import {MatAutocompleteModule} from "@angular/material/autocomplete";
|
|
|
|
import { FileSearchComponent } from './components/file-search/file-search.component';
|
|
|
|
import {FileSearchComponent} from './components/file-search/file-search.component';
|
|
|
|
import {MatTabsModule} from "@angular/material/tabs";
|
|
|
|
import {MatTabsModule} from "@angular/material/tabs";
|
|
|
|
import { SearchPageComponent } from './pages/home/search-page/search-page.component';
|
|
|
|
import {SearchPageComponent} from './pages/home/search-page/search-page.component';
|
|
|
|
import {FlexModule, GridModule} from "@angular/flex-layout";
|
|
|
|
import {FlexModule, GridModule} from "@angular/flex-layout";
|
|
|
|
import {MatRippleModule} from "@angular/material/core";
|
|
|
|
import {MatRippleModule} from "@angular/material/core";
|
|
|
|
|
|
|
|
import {FilterDialogComponent} from './components/file-search/filter-dialog/filter-dialog.component';
|
|
|
|
|
|
|
|
import {MatDialogModule} from "@angular/material/dialog";
|
|
|
|
|
|
|
|
import {MatSelectModule} from "@angular/material/select";
|
|
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
declarations: [
|
|
|
@ -44,6 +47,7 @@ import {MatRippleModule} from "@angular/material/core";
|
|
|
|
FileGridEntryComponent,
|
|
|
|
FileGridEntryComponent,
|
|
|
|
FileSearchComponent,
|
|
|
|
FileSearchComponent,
|
|
|
|
SearchPageComponent,
|
|
|
|
SearchPageComponent,
|
|
|
|
|
|
|
|
FilterDialogComponent,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
BrowserModule,
|
|
|
@ -69,9 +73,12 @@ import {MatRippleModule} from "@angular/material/core";
|
|
|
|
MatTabsModule,
|
|
|
|
MatTabsModule,
|
|
|
|
FlexModule,
|
|
|
|
FlexModule,
|
|
|
|
GridModule,
|
|
|
|
GridModule,
|
|
|
|
MatRippleModule
|
|
|
|
MatRippleModule,
|
|
|
|
|
|
|
|
MatDialogModule,
|
|
|
|
|
|
|
|
MatSelectModule,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
providers: [],
|
|
|
|
providers: [],
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
})
|
|
|
|
export class AppModule { }
|
|
|
|
export class AppModule {
|
|
|
|
|
|
|
|
}
|
|
|
|