mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-01-27 22:27:09 -05:00
* Implemented a new role "Change Password". This role allows you to change your own password. By default, all users will have it. A user can have it removed arbitrarliy. Removed components that are no longer going to be used. * Cleaned up some code
57 lines
2.3 KiB
TypeScript
57 lines
2.3 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { AdminRoutingModule } from './admin-routing.module';
|
|
import { DashboardComponent } from './dashboard/dashboard.component';
|
|
import { NgbDropdownModule, NgbNavModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
|
|
import { ManageLibraryComponent } from './manage-library/manage-library.component';
|
|
import { ManageUsersComponent } from './manage-users/manage-users.component';
|
|
import { LibraryEditorModalComponent } from './_modals/library-editor-modal/library-editor-modal.component';
|
|
import { SharedModule } from '../shared/shared.module';
|
|
import { LibraryAccessModalComponent } from './_modals/library-access-modal/library-access-modal.component';
|
|
import { DirectoryPickerComponent } from './_modals/directory-picker/directory-picker.component';
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
import { ResetPasswordModalComponent } from './_modals/reset-password-modal/reset-password-modal.component';
|
|
import { ManageSettingsComponent } from './manage-settings/manage-settings.component';
|
|
import { ManageSystemComponent } from './manage-system/manage-system.component';
|
|
import { ChangelogComponent } from './changelog/changelog.component';
|
|
import { PipeModule } from '../pipe/pipe.module';
|
|
import { InviteUserComponent } from './invite-user/invite-user.component';
|
|
import { RoleSelectorComponent } from './role-selector/role-selector.component';
|
|
import { LibrarySelectorComponent } from './library-selector/library-selector.component';
|
|
import { EditUserComponent } from './edit-user/edit-user.component';
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
ManageUsersComponent,
|
|
DashboardComponent,
|
|
ManageLibraryComponent,
|
|
LibraryEditorModalComponent,
|
|
LibraryAccessModalComponent,
|
|
DirectoryPickerComponent,
|
|
ResetPasswordModalComponent,
|
|
ManageSettingsComponent,
|
|
ManageSystemComponent,
|
|
ChangelogComponent,
|
|
InviteUserComponent,
|
|
RoleSelectorComponent,
|
|
LibrarySelectorComponent,
|
|
EditUserComponent,
|
|
],
|
|
imports: [
|
|
CommonModule,
|
|
AdminRoutingModule,
|
|
ReactiveFormsModule,
|
|
FormsModule,
|
|
NgbNavModule,
|
|
NgbTooltipModule,
|
|
NgbDropdownModule,
|
|
SharedModule,
|
|
PipeModule
|
|
],
|
|
providers: []
|
|
})
|
|
export class AdminModule { }
|