Move sidebar components to separate module
Signed-off-by: trivernis <trivernis@protonmail.com>pull/4/head
parent
823628e5bd
commit
4c1c13d4cd
@ -1,5 +1,5 @@
|
||||
@use 'sass:map';
|
||||
@use '../../../../../node_modules/@angular/material/index' as mat;
|
||||
@use '../../../../../../node_modules/@angular/material/index' as mat;
|
||||
|
||||
@mixin color($theme) {
|
||||
$color-config: mat.get-color-config($theme);
|
@ -1,6 +1,6 @@
|
||||
import {Component, Inject} from "@angular/core";
|
||||
import {MAT_DIALOG_DATA, MatDialogRef} from "@angular/material/dialog";
|
||||
import {SortKey} from "../../../../models/SortKey";
|
||||
import {SortKey} from "../../../../../models/SortKey";
|
||||
import {CdkDragDrop, moveItemInArray} from "@angular/cdk/drag-drop";
|
||||
|
||||
@Component({
|
@ -0,0 +1,51 @@
|
||||
import {NgModule} from "@angular/core";
|
||||
import {CommonModule} from "@angular/common";
|
||||
import {FileEditComponent} from "./file-edit/file-edit.component";
|
||||
import {FileSearchComponent} from "./file-search/file-search.component";
|
||||
import {NgIconsModule} from "@ng-icons/core";
|
||||
import {MatRemove, MatChangeCircle, MatAddCircle, MatRemoveCircle, MatDeleteSweep, MatFilterAlt} from "@ng-icons/material-icons";
|
||||
import {MatRippleModule} from "@angular/material/core";
|
||||
import {MatButtonModule} from "@angular/material/button";
|
||||
import {InputModule} from "../input/input.module";
|
||||
import {ScrollingModule} from "@angular/cdk/scrolling";
|
||||
import {MatFormFieldModule} from "@angular/material/form-field";
|
||||
import {SharedModule} from "../shared.module";
|
||||
import {MatDividerModule} from "@angular/material/divider";
|
||||
import {FlexModule} from "@angular/flex-layout";
|
||||
import {MatSelectModule} from "@angular/material/select";
|
||||
import {MatInputModule} from "@angular/material/input";
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
FileEditComponent,
|
||||
FileSearchComponent,
|
||||
],
|
||||
exports: [
|
||||
FileEditComponent,
|
||||
FileSearchComponent
|
||||
],
|
||||
imports: [
|
||||
CommonModule,
|
||||
NgIconsModule.withIcons({
|
||||
MatRemove,
|
||||
MatChangeCircle,
|
||||
MatAddCircle,
|
||||
MatRemoveCircle,
|
||||
MatDeleteSweep,
|
||||
MatFilterAlt
|
||||
}),
|
||||
MatRippleModule,
|
||||
MatButtonModule,
|
||||
InputModule,
|
||||
ScrollingModule,
|
||||
MatFormFieldModule,
|
||||
SharedModule,
|
||||
MatDividerModule,
|
||||
FlexModule,
|
||||
MatSelectModule,
|
||||
MatInputModule,
|
||||
]
|
||||
})
|
||||
export class SidebarModule {
|
||||
}
|
Loading…
Reference in New Issue