Make components standalone
This commit is contained in:
+1
-6
@@ -1,6 +1 @@
|
||||
/*
|
||||
.p-datatable-flex-scrollable .p-datatable-wrapper {
|
||||
flex-basis: auto !important;
|
||||
height: 0 !important;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ import {Book} from '../../../model/book.model';
|
||||
import {SortOption} from '../../../model/sort.model';
|
||||
import {MetadataDialogService} from '../../../../metadata/service/metadata-dialog.service';
|
||||
import {UrlHelperService} from '../../../../utilities/service/url-helper.service';
|
||||
import {BookService} from '../../../service/book.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-book-table',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="search-container">
|
||||
<div class="search-input-wrapper">
|
||||
<div class="ml-5 relative">
|
||||
<div class="w-[400px] relative">
|
||||
<i class="pi pi-search search-icon"></i>
|
||||
<input
|
||||
style="width: 400px;"
|
||||
|
||||
@@ -1,13 +1,3 @@
|
||||
.search-container {
|
||||
margin-left: 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.search-input-wrapper {
|
||||
position: relative;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
||||
@@ -20,6 +20,7 @@ import {MessageService} from 'primeng/api';
|
||||
FormsModule
|
||||
],
|
||||
templateUrl: './shelf-edit-dialog.component.html',
|
||||
standalone: true,
|
||||
styleUrl: './shelf-edit-dialog.component.scss'
|
||||
})
|
||||
export class ShelfEditDialogComponent implements OnInit{
|
||||
|
||||
@@ -17,6 +17,7 @@ import {MetadataRefreshOptions} from '../../../metadata/model/request/metadata-r
|
||||
selector: 'app-settings',
|
||||
templateUrl: './settings.component.html',
|
||||
imports: [Select, FormsModule, NgForOf, ToggleSwitch, RadioButton, Divider, Button, Tooltip, MetadataAdvancedFetchOptionsComponent],
|
||||
standalone: true,
|
||||
styleUrls: ['./settings.component.scss']
|
||||
})
|
||||
export class SettingsComponent implements OnInit {
|
||||
|
||||
+1
@@ -16,6 +16,7 @@ import {Book} from '../../../book/model/book.model';
|
||||
BookCardComponent,
|
||||
ProgressSpinnerModule
|
||||
],
|
||||
standalone: true
|
||||
})
|
||||
export class DashboardScrollerComponent implements OnInit {
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ import {Divider} from 'primeng/divider';
|
||||
Divider
|
||||
],
|
||||
providers: [DialogService],
|
||||
standalone: true
|
||||
})
|
||||
export class MainDashboardComponent implements OnInit {
|
||||
ref: DynamicDialogRef | undefined;
|
||||
|
||||
+2
-2
@@ -4,9 +4,9 @@
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.5); /* Dimmed background */
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 9999; /* Ensure it stays on top of all content */
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@ import {NgIf} from '@angular/common';
|
||||
ProgressSpinner,
|
||||
NgIf
|
||||
],
|
||||
standalone: true,
|
||||
styleUrls: ['./loading-overlay.component.scss']
|
||||
})
|
||||
export class LoadingOverlayComponent implements OnInit, OnDestroy {
|
||||
|
||||
@@ -23,6 +23,7 @@ import {API_CONFIG} from '../../../config/api-config';
|
||||
Select
|
||||
],
|
||||
templateUrl: './book-uploader.component.html',
|
||||
standalone: true,
|
||||
styleUrl: './book-uploader.component.scss'
|
||||
})
|
||||
export class BookUploaderComponent {
|
||||
|
||||
@@ -12,6 +12,7 @@ import {FormsModule} from '@angular/forms';
|
||||
NgForOf,
|
||||
FormsModule
|
||||
],
|
||||
standalone: true
|
||||
})
|
||||
export class IconPickerComponent {
|
||||
iconCategories: string[] = [
|
||||
|
||||
Reference in New Issue
Block a user