File renamings
This commit is contained in:
@@ -3,7 +3,7 @@ import {RouterModule, Routes} from '@angular/router';
|
||||
import {PdfViewerComponent} from './book/component/pdf-viewer/pdf-viewer.component';
|
||||
import {DashboardComponent} from './book/component/dashboard/dashboard.component';
|
||||
import {BookMetadataComponent} from './book/component/book-metadata/book-metadata.component';
|
||||
import {BooksBrowserComponent} from './book/component/books-browser/books-browser.component';
|
||||
import {BookBrowserComponent} from './book/component/book-browser/book-browser.component';
|
||||
import {AppLayoutComponent} from './book/component/layout/app.layout.component';
|
||||
|
||||
const routes: Routes = [
|
||||
@@ -14,10 +14,10 @@ const routes: Routes = [
|
||||
path: '', component: DashboardComponent,
|
||||
},
|
||||
{
|
||||
path: 'library/:libraryId/books', component: BooksBrowserComponent,
|
||||
path: 'library/:libraryId/books', component: BookBrowserComponent,
|
||||
},
|
||||
{
|
||||
path: 'shelf/:shelfId/books', component: BooksBrowserComponent,
|
||||
path: 'shelf/:shelfId/books', component: BookBrowserComponent,
|
||||
},
|
||||
{
|
||||
path: 'library/:libraryId/book/:bookId/info', component: BookMetadataComponent,
|
||||
|
||||
@@ -30,7 +30,7 @@ import {ShelfAssignerComponent} from './book/component/shelf-assigner/shelf-assi
|
||||
import {CheckboxModule} from 'primeng/checkbox';
|
||||
import {DividerModule} from 'primeng/divider';
|
||||
import {DialogModule} from 'primeng/dialog';
|
||||
import {BooksBrowserComponent} from './book/component/books-browser/books-browser.component';
|
||||
import {BookBrowserComponent} from './book/component/book-browser/book-browser.component';
|
||||
import {BookCardComponent} from './book/component/book-card/book-card.component';
|
||||
import {SpeedDialModule} from 'primeng/speeddial';
|
||||
import {RouteReuseStrategy} from '@angular/router';
|
||||
@@ -48,7 +48,7 @@ import Aura from '@primeng/themes/aura';
|
||||
DirectoryPickerComponent,
|
||||
LibraryCreatorComponent,
|
||||
ShelfAssignerComponent,
|
||||
BooksBrowserComponent
|
||||
BookBrowserComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ import {Book} from '../../model/book.model';
|
||||
templateUrl: './books-browser.component.html',
|
||||
styleUrls: ['./books-browser.component.scss']
|
||||
})
|
||||
export class BooksBrowserComponent implements OnInit {
|
||||
export class BookBrowserComponent implements OnInit {
|
||||
bookState$: Observable<BookState> | undefined;
|
||||
entity$: Observable<Library | Shelf | null> | undefined;
|
||||
entityType$: Observable<string | null> | undefined;
|
||||
+1
-1
@@ -18,7 +18,7 @@ import {BookService} from '../../service/book.service';
|
||||
],
|
||||
styleUrls: ['./books-metadata-dialog.component.scss']
|
||||
})
|
||||
export class BooksMetadataDialogComponent implements OnInit {
|
||||
export class BookMetadataDialogComponent implements OnInit {
|
||||
bookMetadataList: BookMetadata[] = [];
|
||||
isLoading = true;
|
||||
errorMessage: string | null = null;
|
||||
@@ -3,7 +3,7 @@ import {ActivatedRoute, Router} from '@angular/router';
|
||||
import {Book} from '../../model/book.model';
|
||||
import {Button} from 'primeng/button';
|
||||
import {NgForOf, NgIf} from '@angular/common';
|
||||
import {BooksMetadataDialogComponent} from '../books-metadata-dialog/books-metadata-dialog.component';
|
||||
import {BookMetadataDialogComponent} from '../book-metadata-dialog/book-metadata-dialog.component';
|
||||
import {DialogService, DynamicDialogRef} from 'primeng/dynamicdialog';
|
||||
import {Subscription} from 'rxjs';
|
||||
import {TagModule} from 'primeng/tag';
|
||||
@@ -76,7 +76,7 @@ export class BookMetadataComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
openEditDialog(bookId: number | undefined, libraryId: number | undefined) {
|
||||
this.dialogRef = this.dialogService.open(BooksMetadataDialogComponent, {
|
||||
this.dialogRef = this.dialogService.open(BookMetadataDialogComponent, {
|
||||
header: 'Metadata: Google Books',
|
||||
modal: true,
|
||||
width: '65%',
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import {InputSwitchModule} from 'primeng/inputswitch';
|
||||
import {RadioButtonModule} from 'primeng/radiobutton';
|
||||
import {SelectButton} from 'primeng/selectbutton';
|
||||
import {ToggleSwitchModule} from 'primeng/toggleswitch';
|
||||
import {AppConfigService} from '../book/service/app-config.service';
|
||||
import {AppConfigService} from '../../service/app-config.service';
|
||||
|
||||
interface ColorPalette {
|
||||
[key: string]: string;
|
||||
@@ -13,7 +13,7 @@ import {NgIf} from '@angular/common';
|
||||
import {EventService} from '../../service/event.service';
|
||||
import {LogNotification} from '../../model/log-notification.model';
|
||||
import {Button} from 'primeng/button';
|
||||
import {AppConfiguratorComponent} from '../../../configurator/configurator.component';
|
||||
import {AppConfiguratorComponent} from '../configurator/configurator.component';
|
||||
import {StyleClass} from 'primeng/styleclass';
|
||||
|
||||
@Component({
|
||||
|
||||
Reference in New Issue
Block a user